@zeniai/web-cockpit-ui 1.15.23-dev → 1.15.24-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 (317) hide show
  1. package/dist/assets/{ACHDetailsPage-BOZmOJHO-DA9D4iJH.js → ACHDetailsPage-DsLMYxB2-DiWdTxEX.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-ZVCJizP9-D55hw0l8.js → AIPerformancePage-Do1Jme84-DdOnxVtL.js} +45 -45
  3. package/dist/assets/AccountInfoPage-DBm3kSeD-C0VOOR62.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-D0wuuzMd-YMtVFfpn.js → AccountInfoPageContent-DLxvkpvG-BfQIWLZb.js} +23 -23
  5. package/dist/assets/AccountLockedInfoModal-Dbzdjjk6-DxFx-N4r.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DbHX6rPG-BwmWp-T3.js → AccountReconDetailsDrawerPage-BMhGA2Nw-3sJH1EqF.js} +11 -11
  7. package/dist/assets/{AccountRow-Bk_25FCy-D03inSab.js → AccountRow-D5S7-AKx-CMAenaIW.js} +28 -28
  8. package/dist/assets/{AccountsPromoCardStack-DAXRwY1f-DegwS44K.js → AccountsPromoCardStack-Cq1lsoaV-ClvHGp3M.js} +27 -27
  9. package/dist/assets/AddAddressForCardDrawer-Cfd3TMpf-DJjbOnkw.js +6 -0
  10. package/dist/assets/{AddToWalletPage-CzziHgi7-j3gMOtad.js → AddToWalletPage-CEhxUk5V-D1aSu8HU.js} +32 -32
  11. package/dist/assets/{AgingReportsPage-Bdi3krKK-Bf-4bvXh.js → AgingReportsPage-CYrw-ffE-CLFSHLPA.js} +5 -5
  12. package/dist/assets/{AllUserItems-XWDuiug6-DkHHRN56.js → AllUserItems-CUPJzOon-ClzFTm8l.js} +7 -7
  13. package/dist/assets/{ApAgingDetailPage-CaM_AzrU-DCtFqylK.js → ApAgingDetailPage-BHfoAgPL-9OKwbRzK.js} +3 -3
  14. package/dist/assets/AppBasePage-BhcC9bkH-DtCArmcZ.js +71 -0
  15. package/dist/assets/{AppDrawerContent-DSX1364T-CNP-B7uf.js → AppDrawerContent-CxmXgxbq-C_5ysSm0.js} +5 -5
  16. package/dist/assets/{ApprovalRulesSettingsPage-DrjPOeyp-BrhLSwXJ.js → ApprovalRulesSettingsPage-gu0Fjo8W-B6qPc807.js} +2 -2
  17. package/dist/assets/{ArAgingChart-M7KUNA4G-DKIpaPUv.js → ArAgingChart-CxGoJ-eL-BTrpq4ll.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-7lby5mXn-BtLBFlEX.js → ArAgingDetailPage-CNKe5FGf-DnsMVnO9.js} +4 -4
  19. package/dist/assets/{AttachmentView-Bsa0u92o-BEQFOxXv.js → AttachmentView-BNb1kv2i-A0kL4eNc.js} +6 -6
  20. package/dist/assets/{BankAccountSection-BkOlwayA-DP864Lrq.js → BankAccountSection-nxf2HgVE-CszdswjK.js} +7 -7
  21. package/dist/assets/BankAccountWarningSection-b7VJzhDr-C9lI5R8O.js +51 -0
  22. package/dist/assets/{BankConnectionsSettingsPage-C_YytTke-B8k-pddW.js → BankConnectionsSettingsPage-Dj5RPseY-BsNJb4MV.js} +26 -26
  23. package/dist/assets/{BillDetailPage-DvU5_Rsp-C9dpUiI6.js → BillDetailPage-B8vxUUjs-wCDXpcbd.js} +8 -8
  24. package/dist/assets/BillPayApprovalRuleDetailPage-RxCSuM7j-Cm0UAXUf.js +27 -0
  25. package/dist/assets/{BillPayApprovalRulesPage-CA9eufjt-BNyCnVeE.js → BillPayApprovalRulesPage-qB8FSNxF-CXWPxuvt.js} +16 -16
  26. package/dist/assets/{BillPayPromoPage-DsXPWKAf-BqLcGJ_H.js → BillPayPromoPage-C-MLRBwj-rVTQLPGI.js} +11 -11
  27. package/dist/assets/{BillPaySetUpPage-CeMhzZ_3-BI9-weFw.js → BillPaySetUpPage-DUcVwFf0-BSesdKGQ.js} +4 -4
  28. package/dist/assets/BillingSettingsPage-Br6yvoDv-TW6U52nf.js +44 -0
  29. package/dist/assets/{BillsBulkReviewDrawerPage-WrR46NRa-CKI5pK1F.js → BillsBulkReviewDrawerPage-Cm2iOzT8-r_BIf6ms.js} +1 -1
  30. package/dist/assets/{BoxItem-C0M4PSXY-D0kSlmNN.js → BoxItem-BIGbJrpV-DWBd9dMt.js} +1 -1
  31. package/dist/assets/BusinessVerificationPage-orZNuqPA-7wUdhrYB.js +138 -0
  32. package/dist/assets/{CardNumberSubText-B4dAoYDE-B1SbTgmV.js → CardNumberSubText-lCdVj97_-CYJ5QkWc.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-B6xvn-y3-CO89J05d.js → CashbackDetailPage-DyqE-V7x-CRCR9nS0.js} +27 -27
  34. package/dist/assets/{ChargeCardDetailPage-eJJ4MEE6-BXMqrqi9.js → ChargeCardDetailPage-0a7KVsQ4-hN8gCQtG.js} +40 -40
  35. package/dist/assets/{ChargeCardListPage-BYI2HIjA-B0giUbEV.js → ChargeCardListPage-DZgzRmUt-Do_X95aE.js} +16 -16
  36. package/dist/assets/{ChargeCardListTable-DAVYmKCK-DEY8KXB2.js → ChargeCardListTable-CrPIqCYY-D8irt-gE.js} +51 -51
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-BX5HtOxd-BV2ugIHB.js → ChargeCardPaymentHistoryPage-BenEXh0n-DNZruLon.js} +27 -27
  38. package/dist/assets/ChargeCardPromoPage-Dv8vSGMv-DpjOjqBE.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-DG1eKhYR-BVTvcCk1.js → ChargeCardSetupPage-BQdagLKY-25EtnZAG.js} +6 -6
  40. package/dist/assets/ChargeCardStatementsPage-1ntqN8-C-D2mSHxbe.js +60 -0
  41. package/dist/assets/{CheckDepositDrawerPage-BdacGDpy-CN6aGowb.js → CheckDepositDrawerPage-Bbe3YMhk-CO2Q4-ZB.js} +23 -23
  42. package/dist/assets/{CollapsableReportTable-UADp1m_8-C887iUXZ.js → CollapsableReportTable-Bjp9ufA3-Dgphs2fm.js} +84 -84
  43. package/dist/assets/CompanyOfficerDetailsSection-DQYR5DxB-DWkkLcmn.js +260 -0
  44. package/dist/assets/{CompanyPassportCard-BJN2GEVm-LlIc7P9q.js → CompanyPassportCard-B9yLuYoV-D8pOY5Pg.js} +6 -6
  45. package/dist/assets/CompanyPassportPage-DrNN8V93-BS2z_ZGy.js +574 -0
  46. package/dist/assets/{CompleteProfile-C8X8Z3C2-Bzf6-WNu.js → CompleteProfile-DlDJUF9s-CdsViPGP.js} +1 -1
  47. package/dist/assets/ConfettiBurst-arWK85ba-Nctx98GV.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-D4MBpZa1.js → ConstrainedInnerElement-BeIpAPjB-CUj8qilg.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-y-COpdhs-CywEWB6a.js → CreateOrEditVendorPage-C0zQBkip-U8NfTx7v.js} +13 -13
  50. package/dist/assets/{CreditCardPaymentDrawerPage-CntYJJ8v-CZ68p-k6.js → CreditCardPaymentDrawerPage-BonuuJrp-5J05qwGb.js} +14 -14
  51. package/dist/assets/{CurrencySelectField-Dn-hE2az-n1RHeHxE.js → CurrencySelectField-CcwMU19m-DhJ7GYyu.js} +3 -3
  52. package/dist/assets/{CustomerOnboardingActivationPage-B9MZHJVc-BxzBFrW0.js → CustomerOnboardingActivationPage-CnLIuUI_-CZ-HlIwz.js} +5 -5
  53. package/dist/assets/CustomerOnboardingContainerPage-_uAzzeQT-CG5sXasi.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BCe8BvQF-DaEKstx7.js → CustomerOnboardingDetailPageSkeleton-DFnaf7ny-CPvnX2LA.js} +14 -14
  55. package/dist/assets/CustomerOnboardingNoStepsPage-Dabc1DIn-BjBCiSR-.js +66 -0
  56. package/dist/assets/CustomerOnboardingPage-Dt4u_Cnq-BSCcv5Lh.js +107 -0
  57. package/dist/assets/CustomerOnboardingProductSuitePage-DrUE-f0H-oFUJaNSz.js +202 -0
  58. package/dist/assets/{Dashboard-CCV0_aCP-BoBmH13Z.js → Dashboard-Cgrcdi17-CUBT5krQ.js} +497 -478
  59. package/dist/assets/{DashboardReportPage-CmoH9Vrc-CzA5O7KO.js → DashboardReportPage-DbhRTdc4-CQqal3HB.js} +17 -17
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-hw3einS7-DUVXWx2a.js → DashboardSidebarBackgroundAnimation-C8g6lMFj-B53Xk9C1.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-DgdkYGjP-BkMVZWVv.js → DepositAccTransactionItem-D1o4IBkT-CKPRK6dd.js} +8 -8
  62. package/dist/assets/{DepositAccTransactionListPage-CF0WJn9M-DlPgp9dm.js → DepositAccTransactionListPage-xxNjjtT--2BN6hfkm.js} +6 -6
  63. package/dist/assets/{DomesticWireDetailsPage-B12tNa6e-DRCqor_l.js → DomesticWireDetailsPage-CwJaUAl--Cj9x82UD.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-Dt9yt4Fz-OGiiWSIN.js → DownloadOverlay-DQhWlo3j-Bh86wxNB.js} +18 -18
  65. package/dist/assets/{DrawerPage-Clki97FA-CqA84wbo.js → DrawerPage-Cy3cU-ts-D2TKFfD6.js} +18 -18
  66. package/dist/assets/EditPeoplePage-XMLOGiwc-fvqHi7F-.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-CXy2ZWfZ-BrOpTSUf.js → EditReimbursementDetailPage-CPtNF3lE-CQCoSlzQ.js} +70 -70
  68. package/dist/assets/EntityDetailPage-CtIcsfb_-JOBkNq01.js +18 -0
  69. package/dist/assets/{EntitySummarySection-D_YLsP_P-CSh4l-FA.js → EntitySummarySection-DKVe_auH-CeBDnO_D.js} +11 -11
  70. package/dist/assets/{ExpenseAutomationOverviewPage-4z3yzHEA-ChRwE60S.js → ExpenseAutomationOverviewPage-BerWhvvC-CSjoH80E.js} +16 -16
  71. package/dist/assets/{ExpenseAutomationPage-BJ4H_c2z-FgmOcOvc.js → ExpenseAutomationPage-ZFDuZKVx-B83nArlS.js} +133 -133
  72. package/dist/assets/{ExpressPayPage-CTBD4y1v-NYjAlIxO.js → ExpressPayPage-DWGFzFY1-Cbs-ZH6I.js} +19 -19
  73. package/dist/assets/{FeaturePreviewPage-CYuTQWpP-Bl8VAq6v.js → FeaturePreviewPage-CTROYslk-B5_k_VjC.js} +3 -3
  74. package/dist/assets/{FollowStepsSection-BrpI2HyW-DNSECr6B.js → FollowStepsSection-Cdw8tftg-CoRfWAMh.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-BcvxLqIL-CD9rfA0-.js → GlobalReviewListPage-FIiMWDt4-C-FGlEih.js} +47 -47
  76. package/dist/assets/{InformationCardStack-CU4Moqky-Bc_PhxNK.js → InformationCardStack-DRM_CrnR-CyxIUlsK.js} +5 -5
  77. package/dist/assets/{InsightsCardStack-D8UQiuXZ-DRkswx9n.js → InsightsCardStack-B6KSNBOO-BsTECKaL.js} +10 -10
  78. package/dist/assets/{InsightsSection-C3X6ZNEt-CSaE3QjL.js → InsightsSection-CwYXRQBN-CI3Avgr4.js} +6 -6
  79. package/dist/assets/{IntegrationsSettingsPage-CsLv00HW-c8_zALL5.js → IntegrationsSettingsPage-VPy6IQco-D5f0_wQb.js} +12 -12
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-DgrN5Xg7-ik2bKR2J.js → InternationalWireSwiftDetailsPage-CbztUTOk-DKKJSiFP.js} +19 -19
  81. package/dist/assets/InternationalWireVerificationPage-YuglosZT-hHWwb4SL.js +292 -0
  82. package/dist/assets/{InviteFormPage-B3KmRWXd-DZboWDF0.js → InviteFormPage-BBHD1wv7-BsXiZ5Av.js} +38 -38
  83. package/dist/assets/{InvitePageListView-DfpJBZru-8z8nAtFG.js → InvitePageListView-Gpf4q2HF-Cgrh3Brc.js} +33 -33
  84. package/dist/assets/InvitePeoplePage-C0n05Aw5-BiEQhiP1.js +12 -0
  85. package/dist/assets/InvoiceUploadSection-UXlA1jqD-DKu4SBzN.js +140 -0
  86. package/dist/assets/{IssueChargeCardPage-mPsxt52d-PfQTvSAJ.js → IssueChargeCardPage-CiL8yWbI-TIPP0zPK.js} +17 -17
  87. package/dist/assets/{LabeledAddressValue-C4fnQSyi-BYyUYLsR.js → LabeledAddressValue-DGEHzZ-x-CpMYU-xP.js} +2 -2
  88. package/dist/assets/{LabeledAddressValueField-D6dEaI69-DANZLTzI.js → LabeledAddressValueField-ClBxKhYQ-BPwdblj0.js} +2 -2
  89. package/dist/assets/{LabeledControlledCheckBoxField-B1QdZmvd-DW7Mu6XT.js → LabeledControlledCheckBoxField-B8sC2eqF--fXqIBCr.js} +3 -3
  90. package/dist/assets/{LabeledCreatableSingleSelectField-BPX2Nrlf-VQgMHUfl.js → LabeledCreatableSingleSelectField-BzOLZcSy-pPeiMm4m.js} +17 -21
  91. package/dist/assets/LabeledDocumentField-D520KMMj-BWBkZsyZ.js +41 -0
  92. package/dist/assets/{LabeledDropDownFormattedTextField-A-rgip1E-DXyiM_iz.js → LabeledDropDownFormattedTextField-BwoAMxs1-UIy7_mYn.js} +8 -8
  93. package/dist/assets/{LabeledText-38fqkkE--BV0pTSSz.js → LabeledText-CYRn3LhA-DMSyV-Kr.js} +2 -2
  94. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BbF25dUP-Bm5BEKWh.js → LabeledUserSingleSelectWithSubtitlesField-BzsLAAeQ-B2HtQzCh.js} +15 -15
  95. package/dist/assets/{LabeledZeniRolesDropDownField-Dg9_Ww-A-6LCZnv3_.js → LabeledZeniRolesDropDownField-UiY4N_NF-DAzbxXzi.js} +28 -28
  96. package/dist/assets/{LinkJETransactionPage-66mQ4nrK-Blq1QPxg.js → LinkJETransactionPage-PvLzGCy_-BrMsOKhb.js} +10 -10
  97. package/dist/assets/{LockCardPage-BCqN4K17-BFhQlELS.js → LockCardPage-Cv1mXAE9-9__dgVHz.js} +58 -58
  98. package/dist/assets/{LowBalancePopup-BPk1-eAb-DPKxi1xa.js → LowBalancePopup-go-1GM2R-DD-JSJCf.js} +5 -5
  99. package/dist/assets/MagicLinkACHDetailsPage-C7hjYeuM-BHqLoDUK.js +1 -0
  100. package/dist/assets/MagicLinkDomesticWireDetailsPage-Cv6pT3w6-pHplq2If.js +1 -0
  101. package/dist/assets/MagicLinkInternationalWireDetailsPage-CfMDImmz-BFiTy8N6.js +1 -0
  102. package/dist/assets/MagicLinkSuccessPage-D9Xys0GC-BWFMi_8X.js +31 -0
  103. package/dist/assets/{MagicLinkTitleSection-77rxhjLm-DuK-hJU3.js → MagicLinkTitleSection-CPs72o7_-B260haOm.js} +4 -4
  104. package/dist/assets/MailingDetailsSection-wmwBSANL-jxA64fnZ.js +21 -0
  105. package/dist/assets/{MyBankConnectionsSettingsPage-z0tHaSl1-D8NpXmDe.js → MyBankConnectionsSettingsPage-Xo-zsUV_-Cbo1qVHj.js} +11 -11
  106. package/dist/assets/{MyPendingActivationChargeCardListPage-CwGYwufd-BhPm_tq1.js → MyPendingActivationChargeCardListPage-pMnrYxHt-D7bLZ8M3.js} +1 -1
  107. package/dist/assets/MyProfileSettingsPage-BKCzLBD9-DJbKBDYL.js +85 -0
  108. package/dist/assets/NavBarWithPicker-DFywcKz8-CSP4toa_.js +30 -0
  109. package/dist/assets/{NavigationArrow-NuJEpE7O-BsQF0lUP.js → NavigationArrow-BiYMk3Wz-DV9laMt6.js} +7 -7
  110. package/dist/assets/{NavigationDots-C7Na64B9-CHGprwD5.js → NavigationDots-CCLpxuwG-stH2nUIP.js} +3 -3
  111. package/dist/assets/{NewGlobalMerchantPage-Cus6zYV_-DyfxnG1c.js → NewGlobalMerchantPage-C48VzTEf-Rej0eQZY.js} +7 -7
  112. package/dist/assets/NoDataChart-sGr0o2BN-Bsuwo3YM.js +26 -0
  113. package/dist/assets/NoDataTable-0l_09Wxn-YZLcmEEn.js +8 -0
  114. package/dist/assets/{NotFoundPage-RjXioqc8-DMQ0F7IL.js → NotFoundPage-DFw9HBCT-CpQg4_TB.js} +6 -6
  115. package/dist/assets/{NotificationSettingsPage-DrDW_LU_-mWZ117zO.js → NotificationSettingsPage-D1rRNeRj-BoZjctkd.js} +33 -33
  116. package/dist/assets/{NotificationsListConfig-C6_ap0JT-D0MspRwp.js → NotificationsListConfig-LrfChZUx-DIWHkHKZ.js} +1 -1
  117. package/dist/assets/{NotificationsPage-DOM-Gf5P-BRdHJwOp.js → NotificationsPage-Cx4eb-l6-Tv8h6IrX.js} +35 -35
  118. package/dist/assets/{OpExByVendorPage-CTuBB827-Bbt1veu8.js → OpExByVendorPage-LpdEEb1U-C_zXpayd.js} +20 -20
  119. package/dist/assets/OverlayContainerPage-D4QU0p4o-DVuvwnps.js +11 -0
  120. package/dist/assets/{PandLWithForecastPage-BXaENYdR-DDSkVfM3.js → PandLWithForecastPage-DwaVCK2R-B3ldDrVm.js} +7 -7
  121. package/dist/assets/PaymentAccountSetupBillingAddressSection-CBVazVlJ-Cj6aYWOl.js +107 -0
  122. package/dist/assets/{PeoplePage-BlyVVthI-fFVSXzpH.js → PeoplePage-z8ZDLJp4-CzfsOL8l.js} +31 -31
  123. package/dist/assets/{Preview-DuIVCswF.js → Preview-CYHE6ojy.js} +1 -1
  124. package/dist/assets/{ProductsCarousel-CAcPH--E-BIuBBeKB.js → ProductsCarousel-Dp5Of83--DVU-QMP8.js} +6 -6
  125. package/dist/assets/{PromoBaseCards-BVwZMVeE-DstwmvWv.js → PromoBaseCards-Bpmi7do2-BJmFgVqa.js} +14 -14
  126. package/dist/assets/{QBOConnectionDialog-C3OYyhYO-5hTjd5-l.js → QBOConnectionDialog-BCOigpzW-42XztANC.js} +6 -6
  127. package/dist/assets/QBOSetupSection-Blf2QxYu-XsjB6fpI.js +79 -0
  128. package/dist/assets/ReimbursementApprovalRuleDetailPage-D4G5Zc8u-xW6pbKuW.js +32 -0
  129. package/dist/assets/{ReimbursementApprovalRulesPage-Cx0gs7sS-B-krQa99.js → ReimbursementApprovalRulesPage-Cq3lTD4B-tMr-F7DV.js} +5 -5
  130. package/dist/assets/{ReimbursementDetailPage-Cs_rmkS8-DW1o_189.js → ReimbursementDetailPage-CxP7ZEyW-B6qTtbOy.js} +18 -18
  131. package/dist/assets/{ReimbursementPromoPage-CCFl0kQK-B9O9Pssf.js → ReimbursementPromoPage-tSycJK9l-Ckl5RC8p.js} +13 -13
  132. package/dist/assets/{ReimbursementSetUpPage-lf3xTVFh-COXeJ33g.js → ReimbursementSetUpPage-iGjNkC8E-CCqGUnkA.js} +11 -11
  133. package/dist/assets/ReimbursementsBulkReviewDrawerPage-HrLSNRHq-MRocYFws.js +1 -0
  134. package/dist/assets/{ReloadCard-V_tv6YLR-pIKKLA9H.js → ReloadCard-CuRTghCv-1vd5kIoI.js} +5 -5
  135. package/dist/assets/{ReportTableViewSelector-CWEvGn8L-CcECbGsj.js → ReportTableViewSelector-C2oaqgZL-DxS4YP70.js} +29 -29
  136. package/dist/assets/{ReportsPage-BJOH1wgv-CXqYsJPZ.js → ReportsPage-D5DDZHox-DJ4p-I_l.js} +5 -5
  137. package/dist/assets/{RevenueChart-C_tSBw_N-Cwj-E2UP.js → RevenueChart-Na7paK3w-C9jLX88S.js} +15 -15
  138. package/dist/assets/{ReviewDetailsPage-CScPf4w3-Cz00WVXv.js → ReviewDetailsPage-BFj3ZJyp-DV2ASgwc.js} +30 -30
  139. package/dist/assets/{ReviewOverlay-BQVwPzKa-BxRw_iSk.js → ReviewOverlay-Cz8LqkKC-CAVeDnHw.js} +25 -25
  140. package/dist/assets/RoleWithToolTip-CSC65531-LXNMc-YZ.js +22 -0
  141. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Cgqgn7nk-B00K9FnO.js → ScheduleDetailsFixedAssetsPage-UVIM7eda-BD3KjhgE.js} +8 -8
  142. package/dist/assets/ScheduleDetailsPage-_mUOLW28-DoX9vWxb.js +37 -0
  143. package/dist/assets/{ScheduleSequenceTable-DDhoyPGX-CcxwU9B1.js → ScheduleSequenceTable-DQlMdMO0-r5LBclLE.js} +24 -24
  144. package/dist/assets/{ScreenRoutes-CbhRMGYb.js → ScreenRoutes-IDjhPTpz.js} +1 -1
  145. package/dist/assets/{SetUpAccountSection-AVL_16HQ-CfJdXpM8.js → SetUpAccountSection-C_DCt5R8-BxiVSyFQ.js} +5 -5
  146. package/dist/assets/{SignIn-BLUwTp1l-Diu2Dl0P.js → SignIn-1fhq5RCV-BLtoe96T.js} +24 -24
  147. package/dist/assets/{SignInScreen-BAFcpgXM.js → SignInScreen-Bt9k9qpu.js} +1 -1
  148. package/dist/assets/{SpendManagementListViewPage-DJbNFHvP-HVPQNsga.js → SpendManagementListViewPage-Cxe5movK-Q_tVVASy.js} +8 -8
  149. package/dist/assets/{SpendManagementPerTabPage-J5pIRm-Q-zn5Z_C9i.js → SpendManagementPerTabPage-Dj9VrJCp-yGVPTW-t.js} +54 -54
  150. package/dist/assets/{SpendManagementSection-DZaP5ai6-BivazJAu.js → SpendManagementSection-DGGqh0xs-CpnXaxhL.js} +25 -25
  151. package/dist/assets/{StatementItem-D2Fx65LN-DEt1HHDA.js → StatementItem-ChfKUse--BISxQzB7.js} +7 -7
  152. package/dist/assets/{StatementsPage-BCh51lDW-DEzdN4yP.js → StatementsPage-BAg2GA58-6dBp6JN9.js} +2 -2
  153. package/dist/assets/{StatusSwitcher-C5ZrzI8Y-RGx-Rq5m.js → StatusSwitcher-DsSflF9D-B-QsB0QQ.js} +4 -4
  154. package/dist/assets/{SubTabSwitcher-BXZxKeq9-N3T4zPQn.js → SubTabSwitcher-DxUZTJB0-xCwGWu4u.js} +1 -1
  155. package/dist/assets/{SummaryCard-194UToy6-ZSyhRMcE.js → SummaryCard-B1mg84fd-GbF-N-vY.js} +1 -1
  156. package/dist/assets/{TaskManagementPage-zcxDUo0t-CfkgE02v.js → TaskManagementPage-Z40FApxJ-CMQHa1zS.js} +15 -15
  157. package/dist/assets/{TimeRangeSwitcher-Bsv7zQmN-0uKzxEGk.js → TimeRangeSwitcher-B4sHEx1F-C3HNMT2K.js} +11 -11
  158. package/dist/assets/{TimeframeSwitcher-DtxsNy1Z-Dpwd2ynA.js → TimeframeSwitcher-D8zfgEX_-Bal85V7i.js} +6 -6
  159. package/dist/assets/{TimeframeSwitcherWithToggle-B5bFhbvL-C0I_F7ow.js → TimeframeSwitcherWithToggle-CD1f2F9o-B2FZN44A.js} +2 -2
  160. package/dist/assets/{TopExCard-CBua66Cj-CBuXuQOS.js → TopExCard-BpicN73M-DINSiiqz.js} +6 -6
  161. package/dist/assets/{TopExDetailPage-DtMA-XMp-EMAyiYoo.js → TopExDetailPage-iw-7HulH-DXnd8BHg.js} +17 -17
  162. package/dist/assets/{TransactionActivityLogPage-C3BPL8hi-rjH_p-06.js → TransactionActivityLogPage-D7oH2hs_-vzUEThxA.js} +16 -16
  163. package/dist/assets/{TransactionDetailPage-CeKaduBe-gc3Brzcv.js → TransactionDetailPage-DLiA4XLe-BY8d6fwg.js} +28 -28
  164. package/dist/assets/{TransactionList-CSx8ZCZ--BfPEmkgj.js → TransactionList-CFz4Gf7Z-BRDY3-q0.js} +11 -11
  165. package/dist/assets/{TransactionListBig-B4cNQY2d-xUQ7gipo.js → TransactionListBig-BYHLJtlB-BgEsroqF.js} +17 -17
  166. package/dist/assets/TransactionListPage-BxtVNNib-CNsq76WM.js +35 -0
  167. package/dist/assets/{TransactionVendorDetailPage-DsxI8U5b-BIfZV2Ct.js → TransactionVendorDetailPage-CEAFUrTl-DeNvS775.js} +7 -7
  168. package/dist/assets/{TransferDrawerPage-C91TQwZi-B3ongtBQ.js → TransferDrawerPage-C6hdavbT-DrJHkT7i.js} +34 -34
  169. package/dist/assets/{TreasuryOverviewPage-BoBn_gtF-1-z_98qx.js → TreasuryOverviewPage-BP26JP5_-CP8HfxZ3.js} +47 -47
  170. package/dist/assets/{TreasuryPromoPage-CQ-VYEQC-DBZ3Ca-z.js → TreasuryPromoPage-DjVR20gs-wVmMwzp-.js} +131 -131
  171. package/dist/assets/TreasuryStatementsPage-Beixz0Ou-tCIgJGtT.js +58 -0
  172. package/dist/assets/{TreasuryTaxLetterPage-Cxhr51TD-DSRIuJm4.js → TreasuryTaxLetterPage-BW2fTHN--mfzNiBgO.js} +3 -3
  173. package/dist/assets/{TrendChart-DATgAEKG-BGhvWXdf.js → TrendChart-sup0F9JZ-BygEThKD.js} +5 -5
  174. package/dist/assets/{TrendWithTransactions-DqPFuOvC-Bu3TdK3s.js → TrendWithTransactions-C7azwT25-C5kNS0ZN.js} +3 -3
  175. package/dist/assets/{UncategorizedAccountsMappingPage-BQjXazj4-BOpLaunW.js → UncategorizedAccountsMappingPage-Etkl_fAG-DXRnm2d5.js} +9 -9
  176. package/dist/assets/{UnitIntegrationPage-BiRGRtpI-DxaSFD1H.js → UnitIntegrationPage-ZsJHRr7Z-BSAHu-Ly.js} +10 -10
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-DCldWCol-B3iVz4fI.js → UploadAdditionalDocumentOverlay-Z5AuwaDQ-BUBRAJWb.js} +1 -1
  178. package/dist/assets/Vendor2FAPopup-BcnPzCr1-DSeMdCqS.js +1 -0
  179. package/dist/assets/VendorACHDetailsPage-D5SdrDy6-N4lQNnE6.js +1 -0
  180. package/dist/assets/{VendorDetailPage-DY4iaLtz-AjIptjjy.js → VendorDetailPage-Dnr8_eWj-07Hixr6q.js} +91 -91
  181. package/dist/assets/VendorDomesticWireDetailsPage-Bv2OKF0M-DAfdk4lz.js +1 -0
  182. package/dist/assets/{VendorFiling1099EditablePage-Dep7O8Uz-Do-rxCWR.js → VendorFiling1099EditablePage-C7SK3oAX-sJjp-Qba.js} +32 -32
  183. package/dist/assets/{VendorFirstReviewPage-CJQIZn8g-DkET_08K.js → VendorFirstReviewPage-sMOzaFlZ-Bd_oFyDy.js} +49 -49
  184. package/dist/assets/{VendorInternationalWireDetailsPage-CJG5RIa2-DsTS-Uh9.js → VendorInternationalWireDetailsPage-B2c1Rev--BIjFP46u.js} +9 -9
  185. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CRpoKTWj-B3s-WEz1.js +1 -0
  186. package/dist/assets/{VendorsAccountsSection-D65ewlO6-DU6ZIrZA.js → VendorsAccountsSection-Df4nOfCb-CW1ZNQaH.js} +2 -2
  187. package/dist/assets/{VerifyDevice-B1_jgwgY-DAz-KAtd.js → VerifyDevice-ogibIJ0s-DAh6OFj7.js} +12 -12
  188. package/dist/assets/{VideoPlayer-vWSXteQ6-D5qS5__p.js → VideoPlayer-C5JZyeyT-D8KcGBDj.js} +2 -2
  189. package/dist/assets/{VideoPopup-CdsmU6H4-Du7UVtqu.js → VideoPopup-Dw-9lQNK-0rd-UPIe.js} +2 -2
  190. package/dist/assets/{WarningsDrawerPage-CjgOsD00-Denf4Sio.js → WarningsDrawerPage-CR9wWm5g-e4J9Pag3.js} +11 -11
  191. package/dist/assets/{ZeniAccountDetailPage-DiLnoonB-DZ1tpmUL.js → ZeniAccountDetailPage-CP6XbPoi-BnZudMg6.js} +20 -20
  192. package/dist/assets/{ZeniAccountListViewPage-YfPsO8ls-CfUQiafE.js → ZeniAccountListViewPage-B-8rvc59-BisABJW0.js} +25 -25
  193. package/dist/assets/ZeniAccountNavBarPieces-D_Jdtql7-D0896al8.js +14 -0
  194. package/dist/assets/{ZeniAccountPromoPage-cEfW88p8-BvUDgJZp.js → ZeniAccountPromoPage-DmXuuPc3-BsixtEBb.js} +28 -28
  195. package/dist/assets/ZeniAccountSetupPage-CiLrh0yu-B_DH4YUU.js +36 -0
  196. package/dist/assets/{ZeniCopyright-BROHmszx-VivYqHvz.js → ZeniCopyright-DIzbP27w-D1bPi2Em.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-DZZrrFXf-DAQs85Xb.js → ZeniTransferAmountSlider-CYZYkuN_-Bs-AxRga.js} +7 -7
  198. package/dist/assets/{add-to-wallet-DgdBD8_G-DBbMptVC.js → add-to-wallet-DgdBD8_G-DgwTOiTb.js} +1 -1
  199. package/dist/assets/{analytics-DH2FWXQR.js → analytics-BVR-nkdQ.js} +1 -1
  200. package/dist/assets/analyticsHelper-CeSpIREf.js +1 -0
  201. package/dist/assets/{analyticsHelper-FJ-cS8qS-Bs47KEMI.js → analyticsHelper-CirorDP7-BWRCY1oT.js} +1 -1
  202. package/dist/assets/{arrow-south-east-round-PEovUgvH-DzFpwdLa.js → arrow-south-east-round-PEovUgvH-DTABdjGY.js} +1 -1
  203. package/dist/assets/{auto-transfer-rule-mbafm5D3-C9AIqfs3.js → auto-transfer-rule-mbafm5D3-uZ4hnV5g.js} +1 -1
  204. package/dist/assets/{chartTypes-DJdbX13L-BnqLcj4-.js → chartTypes-B9iWOG3r-C4s2YMo6.js} +1 -1
  205. package/dist/assets/{commonDimensions-BpYNnQtf-BVrF2eSg.js → commonDimensions-SFn2jHVc-CTDxaBd-.js} +1 -1
  206. package/dist/assets/{constants-nz8RVtEp.js → constants-CZu969tQ.js} +1 -1
  207. package/dist/assets/{core-Be77t6wT.js → core-BCC1NfcO.js} +1 -1
  208. package/dist/assets/{dash.all.min-1JaBh8EA.js → dash.all.min-BRxR-4km.js} +1 -1
  209. package/dist/assets/{detailCommon-BRja9H93-BgDpKJS8.js → detailCommon-BTjqps8N-BwbXd0VD.js} +5 -5
  210. package/dist/assets/downloadPdf-CqjEwKR5-CVBCWVbb.js +1 -0
  211. package/dist/assets/{empty-DqMX1iak.js → empty-BjP_AR0Y.js} +1 -1
  212. package/dist/assets/{empty-CVHCqPg8.js → empty-CN6lL5vr.js} +1 -1
  213. package/dist/assets/epic-CYfuPaR1.js +2 -0
  214. package/dist/assets/{gift-box-Cmt9OgIZ-hRxp85e2.js → gift-box-Cmt9OgIZ-jp2GTx_l.js} +1 -1
  215. package/dist/assets/{graphic-no-data-l-DU4J8fDt-DdG5b35f.js → graphic-no-data-l-DU4J8fDt-CoNwe8F7.js} +1 -1
  216. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CRLCiMSY.js → graphic-no-data-net-burn-l-CzmycA0m-Blfk9v0F.js} +1 -1
  217. package/dist/assets/{handshake-BPg58FML-Ts-GBzII.js → handshake-BPg58FML-BZVWd-R4.js} +1 -1
  218. package/dist/assets/{index-CNJQ6T57.js → index-BJwUmr6X.js} +4654 -4680
  219. package/dist/assets/{index-gGz0-y9K.js → index-CDawrAV5.js} +1 -1
  220. package/dist/assets/{index-BIQvGH1Z.js → index-DOGKWCNR.js} +1 -1
  221. package/dist/assets/{index-CHDWslZ9.js → index-Dc-8bDa8.js} +1 -1
  222. package/dist/assets/{index-Cyi12XGG.js → index-DdlMyYMd.js} +1 -1
  223. package/dist/assets/{index-WLQ2kK4T.js → index-klyQo3c-.js} +1 -1
  224. package/dist/assets/{index-Q1D5afUf.js → index-oIMKLk8g.js} +1 -1
  225. package/dist/assets/{lexical-4qH-Yr6_.js → lexical-D1A0yBcv.js} +1 -1
  226. package/dist/assets/{liveblocks-CUDrE-0X.js → liveblocks-gc1Zpgue.js} +1 -1
  227. package/dist/assets/{lottie-C5G-hUN3.js → lottie-PDiRMFOU.js} +1 -1
  228. package/dist/assets/mapLoadingInProgressToTreeNode-DkhO3K0B-BF8CClXj.js +1 -0
  229. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BlrJTKah-BOJoZ8nO.js → mapSectionWithAcOnlyToTreeNode-BywQAVX8-CBoe52_o.js} +1 -1
  230. package/dist/assets/{mapSpacerToTreeNode-DvdWKHfX-D62umWzQ.js → mapSpacerToTreeNode-nn83cq1C-a5kCwrR8.js} +1 -1
  231. package/dist/assets/{mapTimeframeBalancesToTreeNode-88qIN3FA-CB8prKZU.js → mapTimeframeBalancesToTreeNode-CKjqanKd-DfEyG-Ny.js} +1 -1
  232. package/dist/assets/mapTimeframeBalancesToTreeNode-CmXuntuz-4PcA3DEd.js +1 -0
  233. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-B5MDTbLz-BEBQ7_uD.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Bs8iGys9-D6oy7HtW.js} +1 -1
  234. package/dist/assets/{mui-DsjrNjDe.js → mui-BPiKl8lE.js} +1 -1
  235. package/dist/assets/{page-detail-CWX5S47F--SwzhZlk.js → page-detail-CWX5S47F-GD7pPHSX.js} +1 -1
  236. package/dist/assets/{panelSelectedMixin-CzfD5-Zs-Cev-MiVu.js → panelSelectedMixin-CzfD5-Zs-DK9S-4A7.js} +1 -1
  237. package/dist/assets/{radio-default-CiSgisfh-YvmWy399.js → radio-default-CiSgisfh-BDa9leTw.js} +1 -1
  238. package/dist/assets/{react-eUpxlpRg.js → react-BmSXOB2V.js} +1 -1
  239. package/dist/assets/{react-BWkra2hE.js → react-CVwAo7aZ.js} +1 -1
  240. package/dist/assets/{react-CSCeF-Sb.js → react-Chs2CyCz.js} +1 -1
  241. package/dist/assets/{react-XG3-S5t1.js → react-Ck-O1ppd.js} +1 -1
  242. package/dist/assets/{react-Ci_HLnoa.js → react-DZxKpeyN.js} +2 -2
  243. package/dist/assets/{react-Bqp70D_u.js → react-DtUvZi19.js} +1 -1
  244. package/dist/assets/{react-BCXSKYRr.js → react-T0X5kbJf.js} +1 -1
  245. package/dist/assets/{react-DL4wn98u.js → react-kH3wqLZe.js} +2 -2
  246. package/dist/assets/{recharts-CmZa-egc.js → recharts-CTVVh_-r.js} +1 -1
  247. package/dist/assets/{sentry-9b1mvxJ5.js → sentry-Dozbf0xW.js} +1 -1
  248. package/dist/assets/{shield-DOlUxcFf-B8zzGKQS.js → shield-DOlUxcFf-BXU_wIp-.js} +1 -1
  249. package/dist/assets/toCOABalancesWithID-DvC1wuTC-B-3HfOc_.js +1 -0
  250. package/dist/assets/{toChartData-B3ouXKAd-thMI2fiV.js → toChartData-mAeXlYNV-B69xO8vw.js} +1 -1
  251. package/dist/assets/{uploadAttachment-DNNG-CMy-D87O59Xy.js → uploadAttachment-BAVcYsOo-CTVw7Tly.js} +16 -16
  252. package/dist/assets/uploadReceipts-Dge0cNF1-1wHJJfDu.js +1 -0
  253. package/dist/assets/{url-RTB-DW5V.js → url-AR2JoXnJ.js} +1 -1
  254. package/dist/assets/{url-BiBhYcFe.js → url-D26ZSNVT.js} +1 -1
  255. package/dist/assets/{useLongPress-GCK2COYQ-CsE5mUiU.js → useLongPress-GCK2COYQ-DajesI1J.js} +1 -1
  256. package/dist/assets/{usp-line-BBd1wKwW-5m5uF-Rf.js → usp-line-BBd1wKwW-CY_8hROo.js} +1 -1
  257. package/dist/assets/{utils-VcZ1Xqjg.js → utils-CJtHQQTa.js} +1 -1
  258. package/dist/assets/{zeni-epic-state-DJX8u9R8.js → zeni-epic-state-DD2IEaUq.js} +17 -17
  259. package/dist/index.html +1 -1
  260. package/package.json +4 -4
  261. package/dist/assets/AccountInfoPage-DF6IU0EG-CK0AD-ot.js +0 -18
  262. package/dist/assets/AccountLockedInfoModal-Cfx-lPAZ-B55UQ1W3.js +0 -59
  263. package/dist/assets/AddAddressForCardDrawer-DNGQGGYg-AmBvQD8m.js +0 -6
  264. package/dist/assets/AppBasePage-B7_L4R6d-DSvQT3A9.js +0 -71
  265. package/dist/assets/BankAccountWarningSection-uMOXLH0B-ZXC_xQuj.js +0 -51
  266. package/dist/assets/BillPayApprovalRuleDetailPage-UeVxIxfF-CFPoQw5A.js +0 -27
  267. package/dist/assets/BillingSettingsPage-BygJjDSp-C0Ia6obD.js +0 -44
  268. package/dist/assets/BusinessVerificationPage-C63pUk4d-C1yyAjbf.js +0 -138
  269. package/dist/assets/ChargeCardPromoPage-DuQe7BpX-B1bYsTBb.js +0 -222
  270. package/dist/assets/ChargeCardStatementsPage-CvtZtuVC-BbTDMJQ9.js +0 -60
  271. package/dist/assets/CompanyOfficerDetailsSection-CaAR0Wvk-CmXyx64P.js +0 -331
  272. package/dist/assets/CompanyPassportPage-D2ALJDF_-B0BzydTg.js +0 -417
  273. package/dist/assets/ConfettiBurst-DxHzdDPp-BHPKFQrr.js +0 -1
  274. package/dist/assets/CustomerOnboardingContainerPage-eR0yY2uX-CZ-wHAQI.js +0 -1
  275. package/dist/assets/CustomerOnboardingNoStepsPage-BHk7rDAg-B5ZKgZir.js +0 -66
  276. package/dist/assets/CustomerOnboardingPage-1LvpVpHC-Cr4NP9fC.js +0 -107
  277. package/dist/assets/CustomerOnboardingProductSuitePage-DMYHMJXg-DeyKCfXK.js +0 -202
  278. package/dist/assets/EditPeoplePage-CKS_aEZm-B7Tw7FjE.js +0 -55
  279. package/dist/assets/EntityDetailPage-B3TQ5hCP-IVMsCeoo.js +0 -18
  280. package/dist/assets/InternationalWireVerificationPage-CvysJNBQ-Q67xp-Zv.js +0 -65
  281. package/dist/assets/InvitePeoplePage-C5Qgk24s-U6BHBwDh.js +0 -12
  282. package/dist/assets/InvoiceUploadSection-BO1i-e_D-S9qpWOlw.js +0 -140
  283. package/dist/assets/LabeledCountryMultiSelectField-XeBih_-f-O6Y-iu_1.js +0 -237
  284. package/dist/assets/LabeledDocumentField-Bjg8sNsg-C-PR2ZST.js +0 -41
  285. package/dist/assets/LabeledMultiSelectField-Di9Wnifv-CqQm8lOX.js +0 -223
  286. package/dist/assets/MagicLinkACHDetailsPage-DM7EUUU7-6n4CruRX.js +0 -1
  287. package/dist/assets/MagicLinkDomesticWireDetailsPage-DKrGgFTu-DYmL1ff3.js +0 -1
  288. package/dist/assets/MagicLinkInternationalWireDetailsPage-B3OpSWB3-BbCH3bCn.js +0 -1
  289. package/dist/assets/MagicLinkSuccessPage-CphaJa4k-C1L3trsn.js +0 -31
  290. package/dist/assets/MailingDetailsSection-BJfZvT0b-Cqv93bBS.js +0 -21
  291. package/dist/assets/MyProfileSettingsPage-8yBXAre6-Bs5xqc-e.js +0 -85
  292. package/dist/assets/NavBarWithPicker-C3LVyiC9-QHhc6aBd.js +0 -30
  293. package/dist/assets/NoDataChart-B3s_7m2n-DuPBFXV2.js +0 -26
  294. package/dist/assets/NoDataTable-CMpypnTw-C6S_V6d0.js +0 -8
  295. package/dist/assets/OverlayContainerPage-D4QU0p4o-Bbmz6FH4.js +0 -11
  296. package/dist/assets/PaymentAccountSetupBillingAddressSection-DSnQX90O-Dx1jHuZ7.js +0 -107
  297. package/dist/assets/QBOSetupSection-DQjol-D0-05cxakPz.js +0 -79
  298. package/dist/assets/ReimbursementApprovalRuleDetailPage-llw4ONPo-DjqdHx3S.js +0 -32
  299. package/dist/assets/ReimbursementsBulkReviewDrawerPage-C5MTFJLG-CJIWqV-7.js +0 -1
  300. package/dist/assets/RoleWithToolTip-GCV_l8Ly-GZKD9YbI.js +0 -22
  301. package/dist/assets/ScheduleDetailsPage-D1EJbzxN-l7ivTR2t.js +0 -37
  302. package/dist/assets/TransactionListPage-DHr64V-b-DDnZn40X.js +0 -35
  303. package/dist/assets/TreasuryStatementsPage-taTRE54D-s03VARjq.js +0 -58
  304. package/dist/assets/Vendor2FAPopup-BpkAiYTA-99TJd7nU.js +0 -1
  305. package/dist/assets/VendorACHDetailsPage-tUuZzJnN-BFUuaQ6q.js +0 -1
  306. package/dist/assets/VendorDomesticWireDetailsPage-B5Nym5J9-CpOxRXxZ.js +0 -1
  307. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DZabfieM-a851bv0Y.js +0 -1
  308. package/dist/assets/ZeniAccountNavBarPieces-CHStBvRa-5ll2dkEQ.js +0 -14
  309. package/dist/assets/ZeniAccountSetupPage-B20DHYex-DsTq1nG1.js +0 -36
  310. package/dist/assets/analyticsHelper-CeC4SQzK.js +0 -1
  311. package/dist/assets/commonTypes-BVbA7QjV-rrrVgiRE.js +0 -1
  312. package/dist/assets/downloadPdf-WDHjFv79-x1y7Noz9.js +0 -1
  313. package/dist/assets/epic-upTynnWU.js +0 -2
  314. package/dist/assets/mapLoadingInProgressToTreeNode-C_5Bb47i-KSj20Sfu.js +0 -1
  315. package/dist/assets/mapTimeframeBalancesToTreeNode-AkxvYRty-Dd11welj.js +0 -1
  316. package/dist/assets/toCOABalancesWithID-Bq4Xe7az-D4N9dB70.js +0 -1
  317. package/dist/assets/uploadReceipts-Dge0cNF1-C_Z21T_D.js +0 -1
@@ -1,417 +0,0 @@
1
- import{J as B,d as gt,aQ as bt,a9 as wt,cF as $t,F as T,V as t,bC as It,ac as Ot,cG as St,aR as jt,y as g,cH as nt,cI as Dt,x as vt,o,al as Ie,cJ as st,cK as E,cL as qe,cM as Y,cN as ae,p as L,cO as $e,b1 as ye,cP as rt,cQ as Ft,cR as Ct,cS as dt,aw as kt,cT as Nt,cU as ct,cV as Lt,cW as Tt,cX as Pt,cY as zt,cZ as Vt,bs as Et,aT as At,b9 as K,ai as Oe,u as I,r as Ue,c_ as Mt,aD as Wt,c$ as Bt,ci as _t,d0 as Rt,am as Yt,d1 as qt}from"./index-CNJQ6T57.js";import{a as Z,P as Ut}from"./sentry-9b1mvxJ5.js";import{n as s,a as Zt,k as Ht}from"./mui-DsjrNjDe.js";import{Fk as Jt,bj as pt,bL as Gt,bh as Pe,bC as Qt,Fl as Kt}from"./zeni-epic-state-DJX8u9R8.js";import{I as ut}from"./LabeledCreatableSingleSelectField-BPX2Nrlf-VQgMHUfl.js";import{Y as mt}from"./LabeledDocumentField-Bjg8sNsg-C-PR2ZST.js";import{p as Xt,i as eo,t as to}from"./commonTypes-BVbA7QjV-rrrVgiRE.js";import{b as oo}from"./LabeledCountryMultiSelectField-XeBih_-f-O6Y-iu_1.js";import{d as ft}from"./LabeledMultiSelectField-Di9Wnifv-CqQm8lOX.js";import{$ as ht}from"./LabeledAddressValue-C4fnQSyi-BYyUYLsR.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="b389e9cd-5038-4e67-8773-a81b36fafd75",e._sentryDebugIdIdentifier="sentry-dbid-b389e9cd-5038-4e67-8773-a81b36fafd75")}catch{}})();const yt={maxWidth:new g(280,340),contentMaxWidth:new g(200,255)},lo=Ht`
2
- 0% {
3
- transform: translateX(100%)
4
- }
5
- 100% {
6
- transform: translateX(0)
7
- }
8
- `,ao=s.div`
9
- position: fixed;
10
- top: ${o.sp3};
11
- right: ${o.sp3};
12
- z-index: 1400;
13
- padding: ${o.sp3} ${o.sp4};
14
- max-width: ${e=>yt.maxWidth.valuePx(e.windowSize)};
15
- background: ${e=>e.theme.colors.black};
16
- border-radius: 12px;
17
- box-shadow: ${e=>`${o.sp0} ${o.sp1} ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
18
- display: flex;
19
- flex-direction: row;
20
- justify-content: center;
21
- align-items: flex-start;
22
- animation: ${lo} 0.4s;
23
- `,io=s(zt)`
24
- margin-top: 2px;
25
- width: ${o.sp4};
26
- height: ${o.sp4};
27
- color: ${L.successDark};
28
- `,no=s(Vt)`
29
- margin-top: 2px;
30
- width: ${o.sp4};
31
- height: ${o.sp4};
32
- color: ${L.important};
33
- `,so=s.div`
34
- margin-top: ${o.sp1};
35
- `,ro=s(At)`
36
- color: ${L.neutralGrey2Light};
37
- `,co=s.div`
38
- max-width: ${e=>yt.contentMaxWidth.valuePx(e.windowSize)};
39
- margin: ${o.sp0} ${o.sp3};
40
- `,po=s(Et)`
41
- color: ${e=>e.isSuccess?L.success:L.important};
42
- `,uo=s.div`
43
- width: ${o.sp3};
44
- height: ${o.sp3};
45
- cursor: pointer;
46
- color: ${e=>e.theme.colors.hero};
47
- &:hover {
48
- color: ${L.primaryDark};
49
- }
50
- `,mo=e=>{const i=T.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?i.failedText:i.successText};function fo(e){const i=B(),{fetchState:h,onRemoveSnackbar:a}=e;Z.useEffect(()=>{setTimeout(a,5e3)});const d=T.getLocalizedStrings().companyPassport.snackBar,l=h==="Completed";return t.jsxs(ao,{windowSize:i,children:[l?t.jsx(io,{}):t.jsx(no,{}),t.jsxs(co,{windowSize:i,children:[t.jsx(po,{isSuccess:l,children:l?d.success:d.error}),t.jsx(so,{children:t.jsx(ro,{children:mo(h)})})]}),t.jsx(uo,{onClick:a,children:t.jsx(vt,{})})]})}const xe={labelWidth:new g(110,145,180),largeLabelWidth:new g(150,215,215),largeLabelDocumentWidth:new g(150,210,252),paddingBottom:new g(I[3],I[2])};function ho(e){const i=B(),[h,a]=Z.useState(!1),{companyPassport:d,commonSetUp:{businessVerification:l},common:{documents:n}}=T.getLocalizedStrings(),{fileProps:p,companyFiles:y,deleteFileStatusById:$,updateFileStatusById:r,sectionId:c,isDisabled:b,companyIncInfo:j,style:u}=e,A=xe.labelWidth.value(i),C=xe.largeLabelWidth.value(i),O=xe.largeLabelDocumentWidth.value(i),{dateFormat:{visual:v},companyPassport:D}=T.getLocalizedStrings(),w=y.find(H=>H.documentType==="certificate_of_incorporation"),_=i==="small"?d.companyIncInfo.stateOfIncPlaceholderSmall:d.companyIncInfo.stateOfIncPlaceholder,se=i==="small"?d.companyIncInfo.typeOfIncPlaceholderSmall:d.companyIncInfo.typeOfIncPlaceholder;return t.jsxs(yo,{style:u,children:[t.jsx(go,{children:d.companyIncInfo.title}),t.jsxs(xo,{children:[t.jsx(ut,{label:{label:D.companyIncInfo.typeOfInc,width:C},isDisabled:b,creatableSingleSelectField:{name:ge(c,"typeOfInc"),placeholder:se,defaultValue:{selectedOption:j?.typeOfInc,allOptions:d.companyIncInfo.allTypesOfIncorporation}}}),t.jsx(Ce,{}),t.jsx(Ft,{label:{label:D.companyIncInfo.stateOfInc,width:C},isDisabled:b,singleSelectField:{name:ge(c,"stateOfInc"),placeholder:_,defaultValue:{selectedOption:j?.stateOfInc,allOptions:d.companyIncInfo.allStatesOfIncorporation}}}),t.jsx(Ce,{}),t.jsx(Ct,{isDisabled:b,label:{label:d.companyIncInfo.incDate,width:A},style:{paddingBottom:xe.paddingBottom.valuePx(i)},dateField:{name:ge(c,"incDate"),placeholder:Y(d.companyIncInfo.incDate),defaultValue:j?.incDate,dateFormat:v.defaultInput,maxDate:Pe(),minDate:Gt("01 Jan 1900"),autoComplete:"off"}}),t.jsx(Ce,{}),t.jsx(mt,{name:ge(c,"certificateOfIncorporation"),isDisabled:b,sizeLimit:dt,deleteFileStatusById:$,updateFileStatusById:r,filesEndPoint:p.filesEndPoint,authParams:p.authParams,label:{label:l.certificateOfIncorporation,width:O},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:w,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:h,updateFilesEntity:p.updateFilesEntity,onEditFileName:p.onEditFileName,onDeleteFile:p.onDeleteFile,onFileSizeError:H=>a(H)}),t.jsx(bo,{windowSize:i,isError:h,children:n.formatDocumentText10MB})]})]})}const ge=(e,i)=>`${e}.${i}`,yo=s.div`
51
- display: flex;
52
- flex-direction: column;
53
- padding-top: ${o.sp3};
54
- padding-bottom: ${o.sp9};
55
- `,xo=s.div`
56
- display: flex;
57
- flex-direction: column;
58
- background-color: ${e=>e.theme.colors.grey5};
59
- border: 1px solid ${e=>e.theme.colors.grey3};
60
- box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
61
- border-radius: ${o.sp2};
62
- `,go=s(K)`
63
- color: ${e=>e.theme.colors.champion};
64
- margin-bottom: ${o.sp3};
65
- `,Ce=s.div`
66
- display: flex;
67
- flex: 1;
68
- background-color: ${e=>e.theme.colors.grey3};
69
- min-height: 1px;
70
- max-height: 1px;
71
- `,bo=s(Oe)`
72
- padding: ${o.sp1} ${o.sp4};
73
- background: ${e=>e.theme.colors.grey4};
74
- border-radius: ${o.sp0} ${o.sp0} ${o.sp2} ${o.sp2};
75
- text-align: ${e=>e.windowSize==="small"?"initial":"right"};
76
- color: ${e=>e.isError?L.important:e.theme.colors.grey1};
77
- `,wo=s(Rt)`
78
- color: ${e=>e.theme.colors.primary};
79
- margin-block-start: ${o.sp0};
80
- margin-block-end: ${o.sp0};
81
- padding: 0 ${o.sp3};
82
- text-align: right;
83
- list-style-position: inside;
84
- `,$o=s.li`
85
- text-decoration: ${e=>e.isCancelled?"line-through":"unset"};
86
- `,Io=s(Yt)`
87
- color: ${e=>e.theme.colors.grey1};
88
- border-radius: ${o.sp1};
89
- border: 1px solid ${e=>e.theme.colors.grey2};
90
- padding: 1px 6px 1px 6px;
91
- width: fit-content;
92
- margin-left: auto;
93
- margin-bottom: ${o.sp2};
94
- `,Oo=e=>{const{labels:i,style:h,listStyleType:a="disc"}=e;return t.jsx(wo,{style:{...h,listStyleType:a},children:i.filter(d=>d!=null&&d.text!="").map((d,l)=>t.jsxs($o,{isCancelled:d.status==="cancelled",children:[d.text,d.subText!=null?t.jsxs(Io,{children:["Started: ",d.subText]}):null]},`${d.text}_${l}`))})},ne={width:new g(343,580,726),paddingTopBottom:new g(I[3],I[3]),marginRight:new g(I[2],I[2]),labelMarginLeft:new g(I[3],I[4]),labelMarginRight:new g(I[3],I[4])};function we({isDisabled:e,label:i,bullettedLabels:h,style:a}){const d=B();return h.labels.length>0?t.jsxs(So,{size:d,style:a,children:[t.jsx($e,{isDisabled:e,label:i.label,style:{marginLeft:ne.labelMarginLeft.value(d),marginRight:ne.labelMarginRight.value(d),width:i.width??"auto"}}),t.jsx(Oo,{...h,style:{maxWidth:i.width!=null?`calc(100% - ${i.width}px)`:"auto"}})]}):null}const So=s.div`
95
- display: flex;
96
- flex-direction: row;
97
- align-items: flex-start;
98
- justify-content: space-between;
99
- background-color: ${e=>e.theme.colors.grey5};
100
- width: ${e=>ne.width.valuePx(e.size)};
101
- height: auto;
102
- padding-right: ${e=>ne.marginRight.valuePx(e.size)};
103
- padding-top: ${e=>ne.paddingTopBottom.valuePx(e.size)};
104
- padding-bottom: ${e=>ne.paddingTopBottom.valuePx(e.size)};
105
-
106
- :first-of-type {
107
- border-top-left-radius: inherit;
108
- border-top-right-radius: inherit;
109
- }
110
-
111
- :last-of-type {
112
- border-bottom-left-radius: inherit;
113
- border-bottom-right-radius: inherit;
114
- }
115
- `,ue={labelWidth:new g(110,110,140),mediumLabelWidth:new g(140,140,160),largeLabelWidth:new g(170,170,180),extraLargeLabelWidth:new g(200,250,300),regulatedStatusMaxWidth:new g(343,580,726)},f=T.getLocalizedStrings().commonSetUp.businessVerification,Ze=f.companySourceOfFundOptions,jo=T.getLocalizedStrings(),{companyPassport:F,dateFormat:{analytics:He},common:{yes:Je,no:Ge}}=jo;function Do({companyViewData:e,allIndustries:i,allNationalityCountries:h,companyInfo:a,companyAddress:d,sectionId:l,isDisabled:n,isCompanyVerified:p,onCompanyAddressClick:y,style:$}){const r=B(),c=Zt(),{watch:b,setValue:j,formState:{errors:u}}=st(),A=e.company.company.companyInfo,C=!(p===!0&&a?.companySubIndustry==null)&&!(n!=null&&a?.companySubIndustry==null),O=!(p===!0&&(a?.countriesOfOperations==null||a?.countriesOfOperations.length===0))&&!(n!=null&&a?.countriesOfOperations==null),v=!(p===!0&&a?.transactionVolume==null)&&!(n!=null&&a?.transactionVolume==null),D=!(p===!0&&a?.regulatedStatus==null)&&!(n!=null&&a?.regulatedStatus==null),w=!(p===!0&&a?.usNexus==null)&&!(n!=null&&a?.usNexus==null),_=!(p===!0&&(a?.purposeOfAccount==null||a?.purposeOfAccount.length===0))&&!(n!=null&&a?.purposeOfAccount==null),se=!(p===!0&&(a?.companySourceOfFunds==null||a?.companySourceOfFunds.length===0))&&!(n!=null&&a?.companySourceOfFunds==null),H=b(x(l,"companySourceOfFunds")),Se=b(x(l,"transactionVolume")),je=b(x(l,"regulatedStatus")),J=b(x(l,"usNexus")),U=b(x(l,"purposeOfAccount")),me=m=>Ze[m]??m,re=f.transactionVolumeOptions,X=m=>re[m]??m,de=f.usNexusOptions,G=m=>de[m]??m,ee=Object.values(de),De=(a?.usNexusTypes??[]).map(G),fe=f.purposeOfAccountOptions,ve=m=>fe[m]??m,V=ue.labelWidth.value(r),te=ue.mediumLabelWidth.value(r),W=ue.largeLabelWidth.value(r),Q=ue.extraLargeLabelWidth.value(r),oe=r==="small"?F.companyInfo.businessModelPlaceholderSmall:F.companyInfo.businessModelPlaceholder,R=m=>i.find(z=>z.code===m)?.name??m,ce=b(x(l,"industry")),Fe=f.companyIndustryOptions??{},le=m=>Fe[m]??m,he=f.companySubIndustryOptions??{},P=m=>{if(m==null||m==="")return[];const z=he[m];return z!=null?Object.keys(z):[]},S=m=>{const z=ce?.selectedOption;return z==null||z===""?m:he[z]?.[m]??m},k=m=>{j(x(l,"subIndustry"),{selectedOption:void 0,allOptions:P(m)})},N=ce?.selectedOption??a?.industry;return t.jsxs(Fo,{style:$,children:[t.jsx(ko,{children:F.companyInfo.title}),t.jsxs(Co,{children:[t.jsx(E,{isDisabled:n,label:{label:F.companyInfo.companyName,width:W},text:{type:"text",name:x(l,"companyName"),placeholder:Y(F.companyInfo.companyName),defaultValue:a?.companyName,autoComplete:"new-password",options:{required:!!A.name,pattern:qe}}}),t.jsx(M,{}),t.jsx(E,{isDisabled:n,label:{label:F.companyInfo.legalName,width:te},text:{type:"text",name:x(l,"legalName"),placeholder:Y(F.companyInfo.legalName),defaultValue:a?.legalName,autoComplete:"new-password",options:{required:!!A.companyLegalName,pattern:qe}}}),t.jsx(M,{}),t.jsx(E,{isDisabled:n,label:{label:F.companyInfo.website,width:V},text:{type:"url",name:x(l,"website"),placeholder:Y(F.companyInfo.website),defaultValue:a?.website?.toString()??"",autoComplete:"new-password"}}),t.jsx(M,{}),C?t.jsx(t.Fragment,{children:t.jsxs(No,{"data-suppress-hover":n!=null?!0:void 0,children:[t.jsx(ae,{label:{label:f.companyIndustryLabel,width:V},singleSelectField:{singleSelect:{name:x(l,"industry"),placeholder:f.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:le,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.industry,allOptions:Object.keys(f.companyIndustryOptions)},onSelectChange:k},isFunctional:!0,errorInfoLabel:f.companyIndustryError.replace("_product_type_","company"),style:{padding:0,margin:0,outline:"none",paddingRight:o.sp2}}),N!=null&&t.jsx(ae,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:x(l,"subIndustry"),placeholder:f.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:S,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.companySubIndustry,allOptions:P(ce?.selectedOption)}},isFunctional:!0,keepFocusedStyle:!0,errorInfoLabel:f.companySubIndustryError.replace("_product_type_","company"),additionalInfoLabel:n==null?f.companyIndustryAdditionalInfo:void 0,additionalInfoStyle:{color:c.colors.hero},style:{outline:"none",paddingBottom:o.sp0,width:"100%"}})]})}):t.jsx(ae,{label:{label:F.companyInfo.industry,width:V},singleSelectField:{singleSelect:{name:x(l,"industry"),placeholder:F.companyInfo.industryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:R,isDisabled:n,showTickMark:!0},defaultValue:{selectedOption:a?.industry,allOptions:i?.map(m=>m.code)??[]}},isFunctional:!0}),t.jsx(M,{}),t.jsx(ut,{isDisabled:n,label:{label:F.companyInfo.businessModel,width:W},creatableSingleSelectField:{name:x(l,"businessModel"),placeholder:oe,defaultValue:{selectedOption:a?.businessModel,allOptions:F.companyInfo.allBusinessModels}}}),O&&t.jsxs(t.Fragment,{children:[t.jsx(M,{}),t.jsx(oo,{label:{label:f.countriesOfOperationsLabel,width:W},isDisabled:n,additionalInfoLabel:n==null?f.countriesOfOperationsAdditionalInfo:void 0,multiSelectField:{name:x(l,"countriesOfOperations"),placeholder:f.countriesOfOperationsPlaceholder,defaultValue:nt(a?.countriesOfOperations,(h??[]).map(m=>m.countryCode))}})]}),se&&t.jsxs(t.Fragment,{children:[t.jsx(M,{}),t.jsx(ae,{label:{label:f.companySourceOfFundsLabel,width:W},singleSelectField:{singleSelect:{name:x(l,"companySourceOfFunds"),placeholder:f.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:me,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.companySourceOfFunds,allOptions:Object.keys(Ze)}},isFunctional:!0,additionalContent:Xt.includes(H?.selectedOption)?t.jsx(E,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:x(l,"companySourceOfFundsDescription"),placeholder:f.descriptionPlaceholder,style:{backgroundColor:u[l]!=null&&u[l]?.companySourceOfFundsDescription!=null?L.importantLight:c.colors.background},options:{}},additionalInfoLabel:f.companySourceOfFundsDescriptionError,style:{position:"relative",top:0,left:-W,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||u[l]!=null&&u[l]?.companySourceOfFundsDescription!=null?void 0:f.companySourceOfFundsAdditionalInfo,additionalInfoStyle:{color:c.colors.hero}})]}),v&&t.jsxs(t.Fragment,{children:[t.jsx(M,{}),t.jsx(ae,{label:{label:f.transactionVolumeLabel,width:Q},singleSelectField:{singleSelect:{name:x(l,"transactionVolume"),placeholder:f.transactionVolumePlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:X,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.transactionVolume,allOptions:Object.keys(re)}},isFunctional:!0,additionalContent:eo.includes(Se?.selectedOption)?t.jsx(E,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:x(l,"transactionVolumeDescription"),placeholder:f.descriptionPlaceholder,style:{backgroundColor:u[l]!=null&&u[l]?.transactionVolumeDescription!=null?L.importantLight:c.colors.background},options:{}},additionalInfoLabel:f.transactionVolumeDescriptionError,style:{position:"relative",top:0,left:-Q,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||u[l]!=null&&u[l]?.transactionVolumeDescription!=null?void 0:f.transactionVolumeAdditionalInfo,additionalInfoStyle:{color:c.colors.hero}})]}),D&&t.jsxs(t.Fragment,{children:[t.jsx(M,{}),t.jsxs(Qe,{windowSize:r,"data-suppress-hover":n!=null?!0:void 0,children:[t.jsxs(Ke,{children:[t.jsx($e,{label:f.regulatedStatusLabel,htmlFor:x(l,"regulatedStatus"),isDisabled:n,style:{width:W,color:n==="disabled"?c.colors.grey1:c.colors.hero}}),t.jsxs(Xe,{labelWidth:W,windowSize:r,children:[t.jsx(ye,{label:{label:Je},style:{paddingRight:`${o.sp4}`,width:"auto"},radioField:{name:x(l,"regulatedStatus"),id:`${x(l,"regulatedStatus")}.yes`,value:"yes",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0}),t.jsx(ye,{label:{label:Ge},style:{width:"auto"},radioField:{name:x(l,"regulatedStatus"),id:`${x(l,"regulatedStatus")}.no`,value:"no",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0})]})]}),je==="yes"&&t.jsx(E,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},text:{type:"text",name:x(l,"regulatedStatusDescription"),placeholder:f.regulatedStatusDescriptionPlaceholder,style:{backgroundColor:u[l]!=null&&u[l]?.regulatedStatusDescription!=null?L.importantLight:c.colors.background},options:{}},additionalInfoLabel:f.regulatedStatusDescriptionError,style:{outline:"none",width:"100%",padding:0}}),u[l]!=null&&u[l]?.regulatedStatus!=null?t.jsx(ke,{windowSize:r,children:f.regulatedStatusError.replace("_product_type_","company details")}):u[l]!=null&&u[l]?.regulatedStatusDescription!=null?null:n==null?t.jsx(et,{windowSize:r,children:f.regulatedStatusAdditionalInfo}):null]})]}),w&&t.jsxs(t.Fragment,{children:[t.jsx(M,{}),t.jsxs(Qe,{windowSize:r,"data-suppress-hover":n!=null?!0:void 0,children:[t.jsxs(Ke,{children:[t.jsx($e,{label:f.usNexusLabel,htmlFor:x(l,"usNexus"),isDisabled:n,style:{width:W,color:n==="disabled"?c.colors.grey1:c.colors.hero}}),t.jsxs(Xe,{labelWidth:W,windowSize:r,children:[t.jsx(ye,{label:{label:Je},style:{paddingRight:`${o.sp4}`,width:"auto"},radioField:{name:x(l,"usNexus"),id:`${x(l,"usNexus")}.yes`,value:"yes",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0}),t.jsx(ye,{label:{label:Ge},style:{width:"auto"},radioField:{name:x(l,"usNexus"),id:`${x(l,"usNexus")}.no`,value:"no",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0})]})]}),J==="yes"&&t.jsxs(t.Fragment,{children:[t.jsx(Lo,{hasError:u[l]!=null&&u[l]?.usNexusTypes!=null,children:t.jsx(ft,{isDisabled:n,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},multiSelectField:{name:x(l,"usNexusTypes"),placeholder:f.usNexusPlaceholder,defaultValue:{selectedOptions:De,allOptions:ee},registerOptions:{required:n==null,shouldUnregister:!0,validate:m=>{const z=m?.selectedOptions;return z!=null&&z.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),u[l]!=null&&u[l]?.usNexusTypes!=null&&t.jsx(ke,{windowSize:r,children:f.usNexusTypesError})]}),u[l]!=null&&u[l]?.usNexus!=null?t.jsx(ke,{windowSize:r,children:f.usNexusError.replace("_product_type_","company details")}):u[l]!=null&&u[l]?.usNexusTypes!=null?null:n==null?t.jsx(et,{windowSize:r,children:f.usNexusAdditionalInfo}):null]})]}),_&&t.jsxs(t.Fragment,{children:[t.jsx(M,{}),t.jsx(ae,{label:{label:f.purposeOfAccountLabel,width:Q},singleSelectField:{singleSelect:{name:x(l,"purposeOfAccount"),placeholder:f.purposeOfAccountPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ve,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.purposeOfAccount,allOptions:Object.keys(fe)}},isFunctional:!0,additionalContent:to.includes(U?.selectedOption)?t.jsx(E,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:x(l,"purposeOfAccountDescription"),placeholder:f.descriptionPlaceholder,style:{backgroundColor:u[l]!=null&&u[l]?.purposeOfAccountDescription!=null?L.importantLight:c.colors.background},options:{}},additionalInfoLabel:f.purposeOfAccountDescriptionError,style:{position:"relative",top:0,left:-Q,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||u[l]!=null&&u[l]?.purposeOfAccountDescription!=null?void 0:f.purposeOfAccountAdditionalInfo,additionalInfoStyle:{color:c.colors.hero}})]}),t.jsx(M,{}),t.jsx(ht,{isDisabled:n,label:{label:F.companyInfo.address,width:V},addressValue:{placeholder:Y(F.companyInfo.address),address:d?.addressToCreate,onClick:()=>y("company_address")}}),t.jsx(M,{}),t.jsx(rt,{isDisabled:n,label:{label:F.companyInfo.phone,width:V},text:{name:x(l,"phone"),placeholder:Y(F.companyInfo.phone),defaultValue:a?.phone,autoComplete:"new-password"}}),t.jsx(M,{}),t.jsx(we,{label:{label:F.companyInfo.fiscalYear,width:V},bullettedLabels:{labels:[{text:vo(a?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const vo=e=>{const{fiscalYearMonths:i}=Kt(e);return`${Pe().month(i[0]-1).format(He.MMMFormat)} to ${Pe().month(i[11]-1).format(He.MMMFormat)}`},x=(e,i)=>`${e}.${i}`,Fo=s.div`
116
- display: flex;
117
- flex-direction: column;
118
- padding-top: ${o.sp3};
119
- padding-bottom: ${o.sp9};
120
- `,Co=s.div`
121
- display: flex;
122
- flex-direction: column;
123
- background-color: ${e=>e.theme.colors.grey5};
124
- border: 1px solid ${e=>e.theme.colors.grey3};
125
- box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
126
- border-radius: ${o.sp2};
127
- `,ko=s(K)`
128
- color: ${e=>e.theme.colors.champion};
129
- margin-bottom: ${o.sp3};
130
- `,M=s.div`
131
- display: flex;
132
- flex: 1;
133
- background-color: ${e=>e.theme.colors.grey3};
134
- min-height: 1px;
135
- max-height: 1px;
136
- `,No=s.div`
137
- display: flex;
138
- flex-direction: column;
139
- padding: ${o.sp2} ${o.sp0} ${o.sp2} ${o.sp0};
140
- background-color: inherit;
141
- &:hover {
142
- z-index: 1;
143
- outline: 1px solid ${e=>e.theme.colors.primary};
144
- }
145
-
146
- &[data-suppress-hover="true"]:hover {
147
- outline: none;
148
- }
149
- &[data-suppress-hover="true"] .select-control:hover {
150
- background-color: ${e=>e.theme.colors.grey5};
151
- }
152
- &[data-suppress-hover="true"] > div:hover {
153
- outline: none;
154
- background-color: inherit;
155
- }
156
- `,Qe=s.div`
157
- display: flex;
158
- flex-direction: column;
159
- width: ${e=>ue.regulatedStatusMaxWidth.valuePx(e.windowSize)};
160
- background-color: ${e=>e.theme.colors.grey5};
161
- padding: ${o.sp2} ${o.sp2} ${o.sp2} ${o.sp4};
162
- &:hover {
163
- z-index: 1;
164
- outline: 1px solid ${e=>e.theme.colors.primary};
165
- }
166
- &[data-suppress-hover="true"]:hover {
167
- outline: none;
168
- }
169
- &[data-suppress-hover="true"] .select-control:hover {
170
- background-color: ${e=>e.theme.colors.grey5};
171
- }
172
- &[data-suppress-hover="true"] > div:hover {
173
- outline: none;
174
- background-color: inherit;
175
- }
176
- `,Ke=s.div`
177
- display: flex;
178
- flex-direction: row;
179
- align-items: center;
180
- margin-top: ${o.sp2};
181
- margin-bottom: ${o.sp2};
182
- `,Xe=s.div`
183
- display: flex;
184
- flex-direction: row;
185
- width: ${e=>`calc(100% - ${e.labelWidth}px)`};
186
- align-items: center;
187
- justify-content: flex-end;
188
- flex-grow: 1;
189
- padding-right: ${o.sp3};
190
- `,et=s(Oe)`
191
- color: ${e=>e.theme.colors.hero};
192
- text-align: right;
193
- padding-right: ${o.sp3};
194
- `,ke=s(Oe)`
195
- color: ${L.important};
196
- text-align: right;
197
- padding-right: ${o.sp3};
198
- `,Lo=s.div`
199
- width: 100%;
200
- & > div {
201
- background-color: ${e=>e.hasError===!0?L.importantLight:e.theme.colors.background};
202
- }
203
- & .select-control {
204
- background-color: ${e=>e.hasError===!0?L.importantLight:e.theme.colors.background} !important;
205
- }
206
- `,ze={labelWidth:new g(110,110,140),buttonWidth:new g(70,70)};function To({sectionId:e,isDisabled:i,style:h,officer:a,officerAddress:d,isEmptyCompanyOfficerSection:l,onOfficerAddressClick:n}){const p=B(),y=T.getLocalizedStrings().companyPassport,$=ze.labelWidth.value(p),r=l&&(a==null||!a.firstName&&!a.lastName&&!a.phone&&!a.email&&!d),c=a?.userId==null||a?.userId==="";return t.jsxs(Ao,{style:h,children:[t.jsx(ct,{isDisabled:i,label:{label:y.companyOfficer.name,width:$},nameField:{name:Ne(e,"name"),placeHolder:{firstName:y.companyOfficer.firstNamePlaceholder,lastName:y.companyOfficer.lastNamePlaceholder,name:y.companyOfficer.namePlaceholder},defaultValue:{firstName:a?.firstName??"",lastName:a?.lastName??""},autoComplete:"new-password",registerOptions:{required:r!==!0},showFullNameError:!0}}),t.jsx(Le,{}),t.jsx(E,{isDisabled:c?i:"readonly",label:{label:y.companyOfficer.email,width:$},text:{type:"email",name:Ne(e,"email"),placeholder:Y(y.companyOfficer.email),options:{required:r===!0?!1:c},defaultValue:a?.email,autoComplete:"new-password"}}),t.jsx(Le,{}),t.jsx(ht,{isDisabled:i,label:{label:y.companyInfo.address,width:$},addressValue:{placeholder:Y(y.companyOfficer.address),address:d?.addressToCreate,onClick:()=>{n(a?.officerType.toLocaleLowerCase().concat("_address"))}}}),t.jsx(Le,{}),t.jsx(rt,{isDisabled:i,label:{label:y.companyOfficer.phone,width:$},text:{name:Ne(e,"phone"),placeholder:Y(y.companyOfficer.phone),defaultValue:a?.phone,autoComplete:"new-password"}})]})}function Po({companyOfficers:e,sectionId:i,style:h,isDisabled:a,onOfficerAddressClick:d}){const{setValue:l,getValues:n}=st(),[p,y]=Z.useState(-1),$=T.getLocalizedStrings().companyPassport,r=e.length,c=e.length===1&&e[0].localData?.userId==null,b=n(i),j=()=>{const O={userId:void 0,officerType:`Officer_${r+1}`,name:{firstName:"",lastName:""},email:"",phone:""};l(i,[...b,O])},u=O=>{if(e[O].localData==null||!e[O].localData?.firstName&&!e[O].localData?.lastName&&!e[O].localData?.phone&&!e[O].localData?.email&&!e[O].addressStatus?.addressToCreate){const v=b.filter((D,w)=>w!==p);l(i,v),y(-1)}else y(O)},A=()=>{y(-1)},C=()=>{const O=b.filter((v,D)=>D!==p);l(i,O),y(-1)};return t.jsxs(Eo,{style:h,children:[t.jsx(Mo,{children:$.companyOfficer.title}),e.map((O,v)=>{const D=O.localData,w=O.addressStatus,_=D?.userId==null||D?.userId==="";return t.jsxs(Wo,{children:[(r>1||_)&&!c?t.jsx(zo,{curIndex:v,isNewUser:_,numberOfOfficers:r,deleteConfirmationIndex:p,isDisabled:a,onDeleteClick:u,onCancelClick:A,onRemoveOfficerSection:C}):null,t.jsx(To,{sectionId:`${i}.${v}`,officer:D,officerAddress:w,isDisabled:a,isEmptyCompanyOfficerSection:c,onOfficerAddressClick:d})]},D?.officerType)}),r<=9&&!c?t.jsx(Vo,{isSectionDisabled:a,onAddOfficerSection:j}):t.jsx(Ve,{})]})}const zo=({curIndex:e,isNewUser:i,numberOfOfficers:h,deleteConfirmationIndex:a,isDisabled:d,onDeleteClick:l,onCancelClick:n,onRemoveOfficerSection:p})=>{const y=B(),$=T.getLocalizedStrings().companyPassport;return t.jsxs(Bo,{children:[t.jsx(_o,{children:h>1?`${$.companyOfficer.officer} ${e+1}`:""}),i&&d==null?a===e?t.jsx(Zo,{children:t.jsxs(Ho,{children:[$.companyOfficer.deleteConfirmation,t.jsx(Ue,{label:$.cancel,onClick:n,style:{width:ze.buttonWidth.value(y),marginLeft:o.sp4,marginRight:o.sp3},size:"small",variant:"secondary"}),t.jsx(Ue,{label:$.remove,onClick:p,style:{width:ze.buttonWidth.value(y)},size:"small",variant:"danger"})]})}):t.jsx(Uo,{className:"delete-icon-wrapper",onClick:()=>l(e),children:t.jsx(Mt,{width:I[3],height:I[3],color:L.important})}):null]})},Vo=({isSectionDisabled:e,onAddOfficerSection:i})=>{const h=T.getLocalizedStrings().companyPassport;return e!=null?t.jsx(Ve,{}):t.jsxs(t.Fragment,{children:[t.jsxs(Ro,{onClick:i,children:[t.jsx(Yo,{}),t.jsx(qo,{children:h.companyOfficer.addOfficer})]}),t.jsx(Ve,{})]})},Ne=(e,i)=>`${e}.${i}`,Eo=s.div`
207
- display: flex;
208
- flex-direction: column;
209
- padding-top: ${o.sp3};
210
- width: 100%;
211
- `,Ao=s.div`
212
- display: flex;
213
- flex-direction: column;
214
- background-color: ${e=>e.theme.colors.grey5};
215
- border: 1px solid ${e=>e.theme.colors.grey3};
216
- box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
217
- border-radius: ${o.sp2};
218
- margin-bottom: ${o.sp4};
219
- `,Ve=s.div`
220
- padding-bottom: ${o.sp6};
221
- `,Mo=s(K)`
222
- color: ${e=>e.theme.colors.champion};
223
- margin-bottom: ${o.sp4};
224
- `,Wo=s.div`
225
- &:hover {
226
- .delete-icon-wrapper {
227
- display: flex;
228
- }
229
- }
230
- `,Bo=s(K)`
231
- display: flex;
232
- align-items: center;
233
- justify-content: space-between;
234
- color: ${e=>e.theme.colors.champion};
235
- margin-bottom: ${o.sp2};
236
- height: 31px;
237
-
238
- .delete-icon-wrapper {
239
- display: none;
240
- }
241
- `,_o=s(Ie)``,Ro=s.div`
242
- padding: ${o.sp3};
243
- display: flex;
244
- align-items: center;
245
- justify-content: center;
246
- background-color: ${e=>e.theme.colors.grey5};
247
- border: 1px solid ${e=>e.theme.colors.grey3};
248
- border-radius: ${o.sp2};
249
- box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
250
- color: ${e=>e.theme.colors.hero};
251
- margin-bottom: ${o.sp4};
252
- cursor: pointer;
253
-
254
- &:hover {
255
- svg {
256
- color: ${e=>e.theme.colors.primary};
257
- }
258
- color: ${e=>e.theme.colors.primary};
259
- border: 1px solid ${e=>e.theme.colors.primary};
260
- }
261
- `,Yo=s(Bt)`
262
- margin-right: ${o.sp2};
263
- width: ${o.sp4};
264
- height: ${o.sp4};
265
- color: ${e=>e.theme.colors.grey1};
266
- `,qo=s(_t)`
267
- color: inherit;
268
- `,Uo=s.div`
269
- width: ${o.sp4};
270
- height: ${o.sp4};
271
- cursor: pointer;
272
- `,Zo=s.div`
273
- display: flex;
274
- `,Ho=s(Ie)`
275
- color: ${e=>e.theme.colors.hero};
276
- `,Le=s.div`
277
- display: flex;
278
- flex: 1;
279
- background-color: ${e=>e.theme.colors.grey3};
280
- min-height: 1px;
281
- max-height: 1px;
282
- `,tt={labelWidth:new g(160,160,160),largeLabelWidth:new g(150,215,215)};function Jo(e){const i=B(),h=kt(),[a,d]=Z.useState(!1),{companyPassport:l,commonSetUp:{businessVerification:n},common:{documents:p}}=T.getLocalizedStrings(),{fileProps:y,companyFiles:$,deleteFileStatusById:r,updateFileStatusById:c,sectionId:b,isDisabled:j,companyTaxInfo:u,style:A}=e,C=tt.labelWidth.value(i),O=tt.largeLabelWidth.value(i),v=!Qt(h.loggedInUserRole??[]),D=$.find(w=>w.documentType==="tax_ein");return t.jsxs(Go,{style:A,children:[t.jsx(Ko,{children:l.companyTaxInfo.title}),t.jsxs(Qo,{children:[t.jsx(E,{isDisabled:j,label:{label:l.companyTaxInfo.taxIdOrEIN,width:C},text:{type:"text",name:ie(b,"taxIdOrEIN"),placeholder:l.companyTaxInfo.taxIdOrEINPlaceholder,defaultValue:v===!0?l.protectedContent:u?.taxIdOrEIN,options:{pattern:Nt},autoComplete:"new-password"},protectedInfoText:v===!0?l.companyTaxInfo.adminPrivilegeRequired:void 0}),t.jsx(pe,{}),t.jsx(E,{isDisabled:j,label:{label:l.companyTaxInfo.dunsNumber,width:C},text:{type:"text",name:ie(b,"dunsNumber"),placeholder:l.companyTaxInfo.dunsNumberPlaceholder,defaultValue:u?.dunsNumber,options:{pattern:/^\d{9}$/},autoComplete:"new-password"}}),t.jsx(pe,{}),t.jsx(E,{isDisabled:j,label:{label:l.companyTaxInfo.naicsCode,width:C},text:{type:"text",name:ie(b,"naicsCode"),placeholder:l.companyTaxInfo.naicsCodePlaceholder,defaultValue:u?.naicsCode,options:{pattern:/^([2-9]{1}[0-9]{1}|[1-9]{1}[1-9]{1})\d{0,4}$/},autoComplete:"new-password"}}),t.jsx(pe,{}),t.jsx(E,{isDisabled:j,label:{label:l.companyTaxInfo.sicCode,width:C},text:{type:"text",name:ie(b,"sicCode"),placeholder:l.companyTaxInfo.sicCodePlaceholder,defaultValue:u?.sicCode,options:{pattern:/^\d{2,4}$/},autoComplete:"new-password"}}),t.jsx(pe,{}),t.jsx(ft,{isDisabled:j,label:{label:l.companyTaxInfo.taxesFiledYears,width:C},multiSelectField:{name:ie(b,"taxesFiledYears"),placeholder:l.companyTaxInfo.taxesFiledYearsPlaceholder,defaultValue:{selectedOptions:u?.taxesFiledYears.map(w=>w.toString())??[],allOptions:pt().map(w=>w.toString())}}}),t.jsx(pe,{}),t.jsx(mt,{name:ie(b,"einDocument"),isDisabled:j,sizeLimit:dt,deleteFileStatusById:r,updateFileStatusById:c,filesEndPoint:y.filesEndPoint,authParams:y.authParams,label:{label:n.einDocument,width:O},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:D,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:a,updateFilesEntity:y.updateFilesEntity,onEditFileName:y.onEditFileName,onDeleteFile:y.onDeleteFile,onFileSizeError:w=>d(w)}),t.jsx(Xo,{windowSize:i,isError:a,children:p.formatDocumentText10MB})]})]})}const ie=(e,i)=>`${e}.${i}`,Go=s.div`
283
- display: flex;
284
- flex-direction: column;
285
- padding-top: ${o.sp3};
286
- padding-bottom: ${o.sp9};
287
- `,Qo=s.div`
288
- display: flex;
289
- flex-direction: column;
290
- background-color: ${e=>e.theme.colors.grey5};
291
- border: 1px solid ${e=>e.theme.colors.grey3};
292
- box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
293
- border-radius: ${o.sp2};
294
- `,Ko=s(K)`
295
- color: ${e=>e.theme.colors.champion};
296
- margin-bottom: ${o.sp3};
297
- `,pe=s.div`
298
- display: flex;
299
- flex: 1;
300
- background-color: ${e=>e.theme.colors.grey3};
301
- min-height: 1px;
302
- max-height: 1px;
303
- `,Xo=s(Oe)`
304
- padding: ${o.sp1} ${o.sp4};
305
- background: ${e=>e.theme.colors.grey4};
306
- border-radius: ${o.sp0} ${o.sp0} ${o.sp2} ${o.sp2};
307
- text-align: ${e=>e.windowSize==="small"?"initial":"right"};
308
- color: ${e=>e.isError?L.important:e.theme.colors.grey1};
309
- `,el={labelWidth:new g(100,100,140)};function tl({sectionId:e,isDisabled:i,primaryContact:h,style:a}){const d=B(),l=T.getLocalizedStrings().companyPassport,n=el.labelWidth.value(d),p=h==null;return t.jsxs(ol,{style:a,children:[t.jsx(al,{children:l.primaryContact.title}),t.jsxs(ll,{children:[t.jsx(ct,{isDisabled:i,label:{label:l.primaryContact.name,width:n},nameField:{name:ot(e,"name"),placeHolder:{firstName:l.primaryContact.firstNamePlaceholder,lastName:l.primaryContact.lastNamePlaceholder,name:l.primaryContact.namePlaceholder},defaultValue:{firstName:h?.firstName??"",lastName:h?.lastName??""},autoComplete:"new-password",registerOptions:{required:p!==!0},showFullNameError:!0}}),t.jsx(il,{}),t.jsx(E,{isDisabled:i,label:{label:l.primaryContact.email,width:n},text:{type:"email",name:ot(e,"email"),placeholder:Y(l.primaryContact.email),defaultValue:h?.email,autoComplete:"new-password",options:{required:p!==!0}}})]})]})}const ot=(e,i)=>`${e}.${i}`,ol=s.div`
310
- display: flex;
311
- flex-direction: column;
312
- padding-top: ${o.sp3};
313
- padding-bottom: ${o.sp9};
314
- `,ll=s.div`
315
- display: flex;
316
- flex-direction: column;
317
- background-color: ${e=>e.theme.colors.grey5};
318
- border: 1px solid ${e=>e.theme.colors.grey3};
319
- box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
320
- border-radius: ${o.sp2};
321
- `,al=s(K)`
322
- color: ${e=>e.theme.colors.champion};
323
- margin-bottom: ${o.sp3};
324
- `,il=s.div`
325
- display: flex;
326
- flex: 1;
327
- background-color: ${e=>e.theme.colors.grey3};
328
- min-height: 1px;
329
- max-height: 1px;
330
- `,nl=s.div`
331
- display: flex;
332
- flex-direction: row;
333
- justify-content: flex-end;
334
- align-items: center;
335
- :not(:first-of-type) {
336
- margin-left: ${o.sp3};
337
- }
338
- `,sl=s.div`
339
- display: flex;
340
- flex-direction: row;
341
- justify-content: flex-end;
342
- align-items: center;
343
- color: ${e=>e.theme.colors.primary};
344
- `,rl=()=>t.jsx(sl,{children:"–"}),dl=s.div`
345
- padding: 6px ${o.sp2};
346
- white-space: nowrap;
347
- overflow: hidden;
348
- text-overflow: ellipsis;
349
- `,cl=s(Ie)`
350
- color: ${e=>e.theme.colors.primary};
351
- align-items: center;
352
- justify-content: flex-end;
353
- display: flex;
354
- padding: 0 ${o.sp3};
355
- `,pl=e=>{const{users:i,style:h}=e;return t.jsx(cl,{style:h,children:i.length!==0?i.filter(a=>!!a.firstName||!!a.lastName).map(a=>t.jsxs(nl,{children:[t.jsx(dl,{children:`${a.firstName} ${a.lastName}`}),t.jsx(qt,{name:`${a.firstName} ${a.lastName}`,size:o.sp4})]},a.userId)):t.jsx(rl,{})})},q={width:new g(343,580,726),height:new g(I[6],I[6]),controlHeight:new g(I[6],I[6]),paddingTopBottom:new g(I[2],I[2]),marginRight:new g(I[2],I[2]),labelMarginLeft:new g(I[3],I[4]),labelMarginRight:new g(I[3],I[4]),labelMarginTop:new g(I[2],I[2])};function ul({isDisabled:e,label:i,avatarLabels:h,style:a}){const d=B();return t.jsxs(fl,{size:d,style:a,children:[t.jsx($e,{isDisabled:e,label:i.label,style:{marginLeft:q.labelMarginLeft.value(d),marginRight:q.labelMarginRight.value(d),marginTop:q.labelMarginTop.value(d),width:i.width??"auto"}}),t.jsx(pl,{users:h.users,style:{minHeight:q.controlHeight.value(d),display:"flex",flexGrow:1,flexFlow:"row wrap",maxWidth:i.width!=null?`calc(100% - ${i.width}px)`:"auto",...h.style}})]})}const ml=Ut.memo(ul,Wt),fl=s.div`
356
- display: flex;
357
- flex-direction: row;
358
- align-items: flex-start;
359
- background-color: ${e=>e.theme.colors.grey5};
360
- width: ${e=>q.width.valuePx(e.size)};
361
- min-height: ${e=>q.height.valuePx(e.size)};
362
- padding-right: ${e=>q.marginRight.valuePx(e.size)};
363
- padding-top: ${e=>q.paddingTopBottom.valuePx(e.size)};
364
- padding-bottom: ${e=>q.paddingTopBottom.valuePx(e.size)};
365
-
366
- :first-of-type {
367
- border-top-left-radius: inherit;
368
- border-top-right-radius: inherit;
369
- }
370
-
371
- :last-of-type {
372
- border-bottom-left-radius: inherit;
373
- border-bottom-right-radius: inherit;
374
- }
375
- `,Te={labelWidth:new g(100,100,140),mediumLabelWidth:new g(140,150,160),largeLabelWidth:new g(160,180,180)};function hl({data:e,companyInfo:i,sectionId:h,isDisabled:a,isZeniUser:d,onScheduleClick:l}){const n=B(),{companyPassport:p,dateFormat:{visual:y}}=T.getLocalizedStrings(),$=Te.labelWidth.value(n),r=Te.mediumLabelWidth.value(n),c=Te.largeLabelWidth.value(n),b=e.company.company,{controllers:j,subscriptions:u}=e,{managementInfo:A}=b,C=n==="small"?p.zeniFinanceTeam.scheduleCallPlaceholderSmall:p.zeniFinanceTeam.scheduleCallPlaceholder,O=u.filter(w=>w.plan?.plan.name!=null).map(w=>({text:w.plan?.plan.name,subText:w.subscription.subscription.startDate.format(y.MMMDCommaYYYYformat)})),v=Lt(u.map(w=>w.addOns.map(_=>({text:_.addOn.name,subText:w.subscription.subscription.startDate.format(y.MMMDCommaYYYYformat)})))),D=A.receiverEmails.map(w=>({text:w}));return t.jsxs(xl,{children:[t.jsx(bl,{children:p.zeniFinanceTeam.title}),t.jsxs(gl,{children:[t.jsx(ml,{label:{label:p.zeniFinanceTeam.controller,width:r},avatarLabels:{users:j.map(w=>w.user)}}),t.jsx(be,{}),d===!0?t.jsx(E,{isDisabled:a,label:{label:p.zeniFinanceTeam.scheduleCall,width:r},text:{type:"text",name:yl(h,"meetingLink"),placeholder:C,defaultValue:i?.meetingLink?.toString()??"",autoComplete:"new-password",options:{pattern:Tt}}}):i?.meetingLink!=null?t.jsx(Pt,{label:{label:p.zeniFinanceTeam.scheduleCall,width:r},button:{buttonTitle:p.zeniFinanceTeam.schedule,onClick:()=>l(i.meetingLink)}}):null,D.length>0?t.jsxs(t.Fragment,{children:[t.jsx(be,{}),t.jsx(we,{label:{label:p.zeniFinanceTeam.emailUs,width:$},bullettedLabels:{labels:D,listStyleType:"none"}})]}):null,O.length>0?t.jsxs(t.Fragment,{children:[t.jsx(be,{}),t.jsx(we,{label:{label:p.zeniFinanceTeam.subscriptionPlans,width:c},bullettedLabels:{labels:O,listStyleType:"none"}})]}):null,v.length>0?t.jsxs(t.Fragment,{children:[t.jsx(be,{}),t.jsx(we,{label:{label:p.zeniFinanceTeam.addons,width:r},bullettedLabels:{labels:v,listStyleType:"none"}})]}):null]})]})}const yl=(e,i)=>`${e}.${i}`,xl=s.div`
376
- display: flex;
377
- flex-direction: column;
378
- padding-top: ${o.sp3};
379
- padding-bottom: ${o.sp9};
380
- `,gl=s.div`
381
- display: flex;
382
- flex-direction: column;
383
- background-color: ${e=>e.theme.colors.grey5};
384
- border: 1px solid ${e=>e.theme.colors.grey3};
385
- box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
386
- border-radius: ${o.sp2};
387
- `,bl=s(K)`
388
- color: ${e=>e.theme.colors.champion};
389
- margin-bottom: ${o.sp3};
390
- `,be=s.div`
391
- display: flex;
392
- flex: 1;
393
- background-color: ${e=>e.theme.colors.grey3};
394
- min-height: 1px;
395
- max-height: 1px;
396
- `,Ee={width:new g(343,580,726),buttonWidth:new g(85,85)},lt="companyPassportPage",Ae="companyInfo",Me="companyIncInfo",We="companyTaxInfo",Be="primaryContact",_e="companyOfficer",Re="zeniFinanceTeam";function Wl(e){const i=B(),h=gt(),{companyPassportView:a,isZeniUser:d,filesEndPoint:l,authParams:n,allIndustries:p,allNationalityCountries:y,isCompanyVerified:$,isDisabled:r,isSettings:c=!1,onCompanyDetailsChanged:b,onCompanyOfficerUpdated:j,onNewCompanyOfficerAdded:u,onPrimaryContactDetailsUpdated:A,onNewCompanyOfficerRemoved:C,onSaveAll:O,onAddressClick:v,onScheduleClick:D,onBackClick:w,onResetClick:_,onEditFileName:se,updateFilesEntity:H,onDeleteFile:Se,onClickMenuIcon:je}=e,{companyView:J,localData:U,deleteFileStatusById:me,updateFileStatusById:re}=a,{companyFiles:X}=U,de={authParams:n,filesEndPoint:l,onEditFileName:se,onDeleteFile:Se,updateFilesEntity:H},[G,ee]=Z.useState(void 0),{companyDetails:De,primaryContact:fe,companyOfficerUpdateStatus:ve,updateStatus:V}=U,{localData:te,addressStatus:W}=De,Q=bt(V.fetchState),oe=Object.values(ve).filter(P=>P.localData!=null),R=wt({mode:"all",defaultValues:it(U,p,y)});Z.useEffect(()=>()=>{ee(void 0)},[]),Z.useEffect(()=>{Q==="In-Progress"&&(V.fetchState==="Completed"||V.fetchState==="Error")&&(R.reset(it(U,p,y)),G!==V.fetchState&&ee(V.fetchState))},[G,R,Q,V,U,J,p,y,X]);const ce=async(P,S)=>{if(P.includes(Ae)||P.includes(Me)||P.includes(We)||P.includes(Re)){const{companyInfo:k,companyIncInfo:N,companyTaxInfo:m,zeniFinanceTeam:z}=S;b({companyInfo:k,incInfo:N,taxDetails:m,zeniFinanceTeam:z})}else if(P.includes(Be)){A(S.primaryContact);const k=S.companyOfficer.map(N=>N.userId);if(S.primaryContact.userId!=null&&k.includes(S.primaryContact.userId)){const N=k.findIndex(m=>m===S.primaryContact.userId);N>=0&&j({...S.companyOfficer[N],name:S.primaryContact.name,officerType:`Officer_${N+1}`})}}else if(P.includes(_e)){const k=parseInt(P.split(".")[1]);if(k>=0)j({...S.companyOfficer[k],officerType:`Officer_${k+1}`}),S.companyOfficer[k].userId!=null&&S.companyOfficer[k].userId===S.primaryContact.userId&&A({...S.primaryContact,name:S.companyOfficer[k].name});else if(S.companyOfficer.length>oe.length){const N=S.companyOfficer[S.companyOfficer.length-1];u(N)}else{const N=S.companyOfficer.filter(m=>m.officerType!=null);if(N.length<oe.length){const m=N.map((z,xt)=>{const Ye={...z,officerType:`Officer_${xt+1}`};return j(Ye),Ye});N.length<oe.length&&(C(`Officer_${N.length+1}`),R.reset({companyOfficer:m}))}}}};Z.useEffect(()=>{const P=R.watch((S,{name:k})=>{k!=null&&S!=null&&$t(()=>ce(k,S))});return()=>{P.unsubscribe()}});const Fe=R.handleSubmit(P=>{G!=null&&ee(void 0),O()}),{companyPassport:le,common:{settings:he}}=T.getLocalizedStrings();if(J==null)throw new Error("Company View is null");return t.jsxs(wl,{children:[t.jsx(It,{title:le.title,backgroundColor:h.colors.grey4,style:{zIndex:3},onBackClick:w,showBackButton:!c,showMenuIcon:c?i==="medium-compact"||i==="small":!1,source:"CompanyPassportPage",onClickMenuIcon:je}),G!=null?t.jsx(fo,{fetchState:G,onRemoveSnackbar:()=>ee(void 0)}):null,t.jsxs($l,{children:[t.jsx(Il,{windowSize:i,children:c?he.infoText.companyDetails:le.quickAccessInfo}),t.jsx(Ot,{...R,children:t.jsxs("form",{id:at(lt),onSubmit:Fe,children:[t.jsx(Do,{sectionId:Ae,companyInfo:te?.companyInfo,companyViewData:J,companyAddress:W,isDisabled:r,isCompanyVerified:$,onCompanyAddressClick:v,allIndustries:p,allNationalityCountries:y}),t.jsx(ho,{sectionId:Me,updateFileStatusById:re,deleteFileStatusById:me,companyFiles:X,companyIncInfo:te?.incInfo,fileProps:de,isDisabled:r}),t.jsx(Jo,{sectionId:We,updateFileStatusById:re,deleteFileStatusById:me,companyFiles:X,companyTaxInfo:te?.taxDetails,fileProps:de,isDisabled:r}),t.jsx(tl,{sectionId:Be,primaryContact:fe.localData,isDisabled:r}),t.jsx(Po,{companyOfficers:oe,sectionId:_e,isDisabled:r,onOfficerAddressClick:v}),t.jsx(hl,{data:J,companyInfo:te?.companyInfo,isDisabled:r,isZeniUser:d,sectionId:Re,onScheduleClick:D})]})})]}),St(R.formState.dirtyFields)||Jt(U,J,X)?t.jsx(jt,{formId:at(lt),primaryBtn:{label:le.save,isLoading:V.fetchState==="In-Progress",style:{width:Ee.buttonWidth.value(i)},isDisabled:e.isDisabled!=null},cancelBtn:{label:le.cancel,style:{width:Ee.buttonWidth.value(i)},onClick:()=>{R.reset(),_()}}}):null]})}const at=e=>`${e}_form`,it=(e,i,h)=>{const{companyDetails:a,primaryContact:d,companyOfficerUpdateStatus:l}=e,n=T.getLocalizedStrings().companyPassport,p=a.localData?.incInfo.fileId!=null?[a.localData?.incInfo.fileId]:[],y=a.localData?.taxDetails.fileId!=null?[a.localData?.taxDetails.fileId]:[],$=T.getLocalizedStrings().commonSetUp.businessVerification,r=a.localData?.companyInfo;return{[Ae]:{...Dt(a.localData?.companyInfo??{},["meetingLink","companySourceOfFunds","companySourceOfFundsDescription","countriesOfOperations","transactionVolume","transactionVolumeDescription","regulatedStatus","regulatedStatusDescription","usNexus","usNexusTypes","purposeOfAccount","purposeOfAccountDescription"]),businessModel:{selectedOption:r?.businessModel,allOptions:n.companyInfo.allBusinessModels},website:r?.website?.toString()??"",industry:{selectedOption:r?.industry,allOptions:i?.map(c=>c.code)},firstMonthOfFY:r?.firstMonthOfFY,companySourceOfFunds:{selectedOption:r?.companySourceOfFunds,allOptions:Object.keys($.companySourceOfFundOptions)},companySourceOfFundsDescription:r?.companySourceOfFundsDescription,countriesOfOperations:nt(r?.countriesOfOperations,(h??[]).map(c=>c.countryCode)),transactionVolume:{selectedOption:r?.transactionVolume,allOptions:Object.keys($.transactionVolumeOptions??{})},transactionVolumeDescription:r?.transactionVolumeDescription,regulatedStatus:r?.regulatedStatus??"",regulatedStatusDescription:r?.regulatedStatusDescription,usNexus:r?.usNexus??"",usNexusTypes:{selectedOptions:r?.usNexusTypes??[],allOptions:Object.values($.usNexusOptions??{})},purposeOfAccount:{selectedOption:r?.purposeOfAccount,allOptions:Object.keys($.purposeOfAccountOptions??{})},purposeOfAccountDescription:r?.purposeOfAccountDescription},[We]:{...a.localData?.taxDetails,taxesFiledYears:{selectedOptions:a.localData?.taxDetails.taxesFiledYears.map(c=>c.toString())??[],allOptions:pt().map(c=>c.toString())},einDocument:e.companyFiles.find(c=>c.documentType==="tax_ein"),fileIds:y},[Me]:{typeOfInc:{selectedOption:a.localData?.incInfo?.typeOfInc,allOptions:n.companyIncInfo.allTypesOfIncorporation},stateOfInc:{selectedOption:a.localData?.incInfo?.stateOfInc,allOptions:n.companyIncInfo.allStatesOfIncorporation},incDate:a.localData?.incInfo.incDate?.toDate(),certificateOfIncorporation:e.companyFiles.find(c=>c.documentType==="certificate_of_incorporation"),fileIds:p},[Be]:{userId:d.localData?.userId,name:{firstName:d.localData?.firstName,lastName:d.localData?.lastName},email:d.localData?.email},[_e]:Object.values(l).filter(c=>c.localData!=null).map(c=>{const b=c.localData;return{userId:b.userId,officerType:b.officerType,name:{firstName:b.firstName,lastName:b.lastName},email:b.email,phone:b.phone}}),[Re]:{meetingLink:a.localData?.companyInfo.meetingLink?.toString()??""}}},wl=s.div`
397
- display: flex;
398
- min-height: 100%;
399
- flex-direction: column;
400
- width: 100%;
401
- background-color: ${e=>e.theme.colors.grey4};
402
- `,$l=s.div`
403
- display: flex;
404
- flex-wrap: wrap;
405
- justify-content: center;
406
- height: 100%;
407
- overflow-y: auto;
408
- flex-direction: column;
409
- align-items: center;
410
- `,Il=s(Ie)`
411
- color: ${e=>e.theme.colors.hero};
412
- display: flex;
413
- justify-content: center;
414
- width: ${e=>Ee.width.valuePx(e.windowSize)};
415
- margin-top: ${o.sp3};
416
- margin-bottom: ${o.sp4};
417
- `;export{Wl as default,at as uniqueName};
@@ -1 +0,0 @@
1
- import{d6 as p,av as f,V as r,b5 as l,o as d}from"./index-CNJQ6T57.js";import{a}from"./sentry-9b1mvxJ5.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./zeni-epic-state-DJX8u9R8.js";import"./mui-DsjrNjDe.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5d74312c-5679-4e4e-814b-430dfd097a0d",e._sentryDebugIdIdentifier="sentry-dbid-5d74312c-5679-4e4e-814b-430dfd097a0d")}catch{}})();const u="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",v=({showConfetti:e})=>{const[t,o]=a.useState(e),[s,i]=p(u,e),[n]=f("ConfettiSuccess");return a.useEffect(()=>{e&&o(!0)},[e]),a.useEffect(()=>{t&&s===!1&&i(!0)},[t,s,i]),r.jsx(r.Fragment,{children:t&&s&&n!=null?r.jsx(l,{style:{position:"absolute",width:"100%",height:"100vh",top:d.sp0,left:d.sp0,zIndex:5},onComplete:()=>{i(!1),o(!1)},animationData:n,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{v as default};
@@ -1 +0,0 @@
1
- import{V as o}from"./index-CNJQ6T57.js";import e from"./CustomerOnboardingNoStepsPage-BHk7rDAg-B5ZKgZir.js";import i from"./CustomerOnboardingPage-1LvpVpHC-Cr4NP9fC.js";import"./sentry-9b1mvxJ5.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./zeni-epic-state-DJX8u9R8.js";import"./mui-DsjrNjDe.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.js";import"./PaymentAccountSetupBillingAddressSection-DSnQX90O-Dx1jHuZ7.js";import"./commonTypes-BVbA7QjV-rrrVgiRE.js";import"./SetUpAccountSection-AVL_16HQ-CfJdXpM8.js";import"./CustomerOnboardingDetailPageSkeleton-BCe8BvQF-DaEKstx7.js";import"./CompanyOfficerDetailsSection-CaAR0Wvk-CmXyx64P.js";import"./LabeledAddressValueField-D6dEaI69-DANZLTzI.js";import"./LabeledCountryMultiSelectField-XeBih_-f-O6Y-iu_1.js";import"./LabeledCreatableSingleSelectField-BPX2Nrlf-VQgMHUfl.js";import"./LabeledDocumentField-Bjg8sNsg-C-PR2ZST.js";import"./LabeledMultiSelectField-Di9Wnifv-CqQm8lOX.js";import"./QBOSetupSection-DQjol-D0-05cxakPz.js";import"./QBOConnectionDialog-C3OYyhYO-5hTjd5-l.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="aa361f52-5eb6-48d2-ae60-e5ebefd81496",t._sentryDebugIdIdentifier="sentry-dbid-aa361f52-5eb6-48d2-ae60-e5ebefd81496")}catch{}})();const P=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?o.jsx(e,{...t}):o.jsx(i,{...t});export{P as default};
@@ -1,66 +0,0 @@
1
- import{a8 as se,V as o,fz as Ce,J as Pe,d as be,a9 as we,aQ as xe,cF as ke,bC as Ie,o as i,aP as Ae,ac as $e,aR as Oe,bn as ve,hO as Ve,F as Te,e$ as je,f0 as oe,af as ze,y as J,al as Le,u as A}from"./index-CNJQ6T57.js";import{n as c}from"./mui-DsjrNjDe.js";import{a as $}from"./sentry-9b1mvxJ5.js";import{r as Ue,t as _e}from"./PaymentAccountSetupBillingAddressSection-DSnQX90O-Dx1jHuZ7.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-BCe8BvQF-DaEKstx7.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./zeni-epic-state-DJX8u9R8.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.js";import"./commonTypes-BVbA7QjV-rrrVgiRE.js";import"./SetUpAccountSection-AVL_16HQ-CfJdXpM8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="2a6276f7-cc70-486d-a87f-3ed8c73bc61e",e._sentryDebugIdIdentifier="sentry-dbid-2a6276f7-cc70-486d-a87f-3ed8c73bc61e")}catch{}})();const q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",Q={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J(A[3],A[3]),subTitlePaddingBottom:new J(A[3],A[3])},Ee=e=>`${e}_form`,De=Te.getLocalizedStrings(),Fe=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:v,googleAPIKey:V,signedInUser:P,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:z,handleConfirmCardSetupIntent:L,updateCardPaymentModalState:b,handleAddCardPaymentSource:U,resetCardPaymentViewState:_,handleResetCardPaymentErrorStatuses:B,redirectToProductSuitePage:w,onUpdateCustomerView:E,...D})=>{const m=Pe(),F=se(),{analytics:h}=F,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:W,onZeniLogoClick:G,onAddressEditHandler:x}=D,Z=be(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:O(e),values:O(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:g,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:y}=e,{customerOnboardingPage:ce,common:f}=De,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=xe(g.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,C=je(l?.country);d={street:a[n].street??f.strings.empty,city:l?.locality??f.strings.empty,state:l?.administrativeAreaLevel1??f.strings.empty,country:C,countryCode:l?.countryCode??f.strings.empty,postalCode:l?.postalCode??f.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==C.selectedOption&&(d={...d,country:C})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};$.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset(O(e),{keepDirtyValues:!1})},[r,e,I,g.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??f.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=p.cardsList.length>0,d=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function fe(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=y?.street.join("").trim(),s=y?.city,d=y?.state,l=y?.country,C=y?.postalCode!=null&&y.postalCode||t.postalCode||f.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!C}const he=async()=>{const t=await r.trigger(n),a=await r.trigger(q);t&&a&&(ye(),j("link_payment_account"),E(me,!1,!0))};$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset(O(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,Y,w]);const[ae,Se]=$.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:m,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:m!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(Ge,{children:o.jsx(Ze,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:G})})}),o.jsx($e,{...r,children:o.jsx(Ne,{id:Ee(ie),children:o.jsxs(Re,{children:[o.jsx(He,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(Ue,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:q,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:N,updateCardPaymentModalState:b,cardPaymentView:p,resetCardPaymentViewState:_,cardSetupInProgress:ae,googleAPIKey:V,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(Oe,{formId:`${ie}`,leftSideComponent:o.jsx(We,{windowSize:m,children:o.jsx(ve,{signedInUser:P,currentTenant:T,onLogOutClick:W})}),style:{width:m==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:he,label:H.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(_e,{handleConfirmCardSetupIntent:L,updateCardPaymentModalState:b,handleCreateCardSetupIntent:z,handleAddCardPaymentSource:U,cardPaymentView:p,stripeKey:v,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:B,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Ke=c.div`
2
- display: flex;
3
- flex-direction: column;
4
- align-items: center;
5
- min-width: 100% ${e=>e.theme.breakpoints.down("md")} {
6
- width: 100%;
7
- padding-left: ${i.sp0};
8
- }
9
- `,Me=c.div`
10
- display: flex;
11
- flex-direction: column;
12
- align-items: center;
13
- flex: 1;
14
- width: 100%;
15
- height: 100%;
16
- background-image: ${e=>`url(https://storage.googleapis.com/zeni-apis.appspot.com/images/signin-background-${e.windowSize==="small"?"m":"w"}-${e.theme.mode==="dark"?"d":"l"}.svg)`};
17
- background-color: ${e=>e.theme.colors.grey4};
18
- background-size: inherit;
19
- background-attachment: fixed;
20
- background-position: ${e=>e.windowSize==="small"?"center center":"right center"};
21
- background-repeat: no-repeat;
22
-
23
- ${e=>e.theme.breakpoints.down("lg")} {
24
- background-size: cover;
25
- }
26
- `,Re=c.div`
27
- display: flex;
28
- height: 100%;
29
- flex-direction: column;
30
- padding-bottom: ${i.sp0};
31
- `,Ne=c.form`
32
- padding-top: ${i.sp0};
33
- flex: 1;
34
- `,We=c.div`
35
- display: flex;
36
- height: ${i.sp7};
37
- left: ${i.sp4};
38
- bottom: ${i.sp3};
39
- position: fixed;
40
- justify-content: center;
41
- align-items: center;
42
- cursor: default;
43
- `,Ge=c.div`
44
- display: flex;
45
- `,Ze=c(ze)`
46
- height: ${i.sp4};
47
- width: 102px;
48
- color: ${e=>e.theme.colors.primary};
49
- cursor: pointer;
50
- flex-shrink: 0;
51
- margin-left: -${i.sp4};
52
- `,He=c(Le)`
53
- color: ${e=>e.theme.colors.hero};
54
- display: flex;
55
- justify-content: center;
56
- width: ${e=>Q.titleWidth.valuePx(e.windowSize)};
57
- padding-top: ${e=>Q.subTitlePaddingTop.valuePx(e.windowSize)};
58
- padding-bottom: ${e=>Q.subTitlePaddingBottom.valuePx(e.windowSize)};
59
- text-align: ${e=>e.windowSize==="small"?"initial":"center"};
60
- width: 100%;
61
- `,O=e=>({[q]:{account:{allOptions:[],selectedOption:void 0}},[n]:Ve(n,e?.subscriptionBillingAddress)[n]}),ut=e=>{const{onboardingCustomerView:u,cardPaymentView:p,signedInUser:v,currentTenant:V,isOnAddressPage:P,stripeKey:T,googleAPIKey:j,meetingUrl:z,onUpdateStep:L,onZeniLogoClick:b,handleLogOutClick:U,handleCockpitClick:_,handleCreateCardSetupIntent:B,handleConfirmCardSetupIntent:w,handleFetchPaymentSources:E,updateCardPaymentModalState:D,resetCardPaymentViewState:m,handleResetCardPaymentErrorStatuses:F,redirectToProductSuitePage:h,...K}=e,{allSteps:M,currentStep:R,fetchStatus:S}=u,N=se(),{analytics:W}=N,G={allSteps:M,isOnAddressPage:P,currentStep:R,fetchStatus:S,signedInUser:v,currentTenant:V,onUpdateStep:Z=>{L(Z)},onZeniLogoClick:b,handleLogOutClick:U,handleCockpitClick:_,redirectToProductSuitePage:h},x=S.fetchState==="In-Progress"||S.fetchState==="Not-Started";return o.jsxs(Je,{isOnAddressPage:P,children:[x?o.jsx(Be,{isNoStepsPage:!0}):o.jsx(Fe,{...G,onboardingCustomerView:u,handleCreateCardSetupIntent:B,handleConfirmCardSetupIntent:w,updateCardPaymentModalState:D,handleFetchPaymentSources:E,cardPaymentView:p,resetCardPaymentViewState:m,stripeKey:T,googleAPIKey:j,handleResetCardPaymentErrorStatuses:F,redirectToProductSuitePage:h,...K}),x?null:o.jsx(Ce,{isFooterRendered:!0,meetingUrl:z,analytics:W,productType:"onboarding"})]})},Je=c.div`
62
- display: flex;
63
- flex-direction: column;
64
- width: ${e=>e.isOnAddressPage?"fit-content":"100%"};
65
- height: 100vh;
66
- `;export{ut as default};