@zeniai/web-cockpit-ui 1.15.48-dev → 1.15.49-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 (344) hide show
  1. package/dist/assets/ACHDetailsPage-CXIFSMnN-Coq6wI87.js +21 -0
  2. package/dist/assets/{AIPerformancePage-DlTdGosv-C-O0nWEk.js → AIPerformancePage-DgrMh-mY-Bylt20RS.js} +104 -104
  3. package/dist/assets/AccountInfoPage-WkSEcWJL-CkOnNoKS.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-BS2TBUSE-yixZKJJd.js → AccountInfoPageContent-DeptuP1q-CsYE_k70.js} +20 -20
  5. package/dist/assets/{AccountLockedInfoModal-aukulrV7-BghUJRSx.js → AccountLockedInfoModal-CYYkjr3Y-BcAzzzM4.js} +11 -11
  6. package/dist/assets/{AccountReconDetailsDrawerPage-kQJld6_N-CTXzE170.js → AccountReconDetailsDrawerPage-jN8KgM4V-yAl3_OHe.js} +19 -19
  7. package/dist/assets/AccountRow-C7_pSX9U-C_uj4ob-.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-DBQnDPXQ-BsmcJo7C.js → AccountsPromoCardStack-CB2gPVUw-D3B_FWzu.js} +32 -32
  9. package/dist/assets/AddAddressForCardDrawer-BiaLjcnj-DwcRtJ6c.js +6 -0
  10. package/dist/assets/{AddToWalletPage-C4EwdLZJ-DPPfaq4h.js → AddToWalletPage-BlExjuu4-B196FBl9.js} +18 -18
  11. package/dist/assets/{AgingReportsPage-vAvkUfOS-eLupiUU4.js → AgingReportsPage-D9UyMHCS-CUKIok_T.js} +7 -7
  12. package/dist/assets/{AllUserItems-qrYg6Gdx-CexfoJXZ.js → AllUserItems-DGGAZCTH-DA8Osx0t.js} +11 -11
  13. package/dist/assets/ApAgingDetailPage-C-whdj9K-JXlpGLx8.js +46 -0
  14. package/dist/assets/{AppBasePage-DrE-W6d7-Bq2ai-ng.js → AppBasePage-ANWa38-v-Dui1Sxci.js} +8 -8
  15. package/dist/assets/{AppDrawerContent-ATbZG_cu-C_LUaX21.js → AppDrawerContent-UhQJdUmA-CkRUhLQ3.js} +5 -5
  16. package/dist/assets/ApprovalRulesSettingsPage-BdNNS-TS-C1VrdMxf.js +47 -0
  17. package/dist/assets/{ArAgingChart-CuzG9AZY-CBzkLPD8.js → ArAgingChart-CuFQTCRF-BBoOHiTE.js} +6 -6
  18. package/dist/assets/ArAgingDetailPage-CQRhI5Z_-Db-Z6Fvw.js +46 -0
  19. package/dist/assets/{AttachmentView-BrQRChzc-gMo83IaQ.js → AttachmentView-D6K3YHdZ-Bap3B_dh.js} +6 -6
  20. package/dist/assets/{BankAccountSection-hcKEMs80-C67in8I4.js → BankAccountSection-B51-Hpnt-BDzmY8Fy.js} +6 -6
  21. package/dist/assets/BankAccountWarningSection-Bqrm3j-y-DAe6VsjZ.js +51 -0
  22. package/dist/assets/{BankConnectionsSettingsPage-Bdw1K00m-CZPCyWyx.js → BankConnectionsSettingsPage-BeTdU1D7-CvYt_ADS.js} +30 -30
  23. package/dist/assets/BillDetailPage-GenRHQg3-fgN7wk2K.js +266 -0
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-DkpCvYvo-D8q32jGy.js → BillPayApprovalRuleDetailPage-CVBTvKC--CjXFb5TX.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-BEqZD0GU-CAnnaIQP.js → BillPayApprovalRulesPage-COiOi09y-D-B4gYTJ.js} +19 -19
  26. package/dist/assets/BillPayPromoPage-C-lZ36kT-Cmn31Ydv.js +84 -0
  27. package/dist/assets/{BillPaySetUpPage-WdEdbf16-BT3nFT0U.js → BillPaySetUpPage-3O1UBtgm-Dsg0n8rt.js} +9 -9
  28. package/dist/assets/BillingSettingsPage-ButDt4sV-CDAA93m9.js +44 -0
  29. package/dist/assets/BillsBulkReviewDrawerPage-DngjFR3H-BSt2ez3P.js +1 -0
  30. package/dist/assets/{BoxItem-CACRFWG2-ByiTZQgF.js → BoxItem-C-VST523-DMPXmLe8.js} +1 -1
  31. package/dist/assets/BusinessVerificationPage-CnF2Rkda-BxUtCmxb.js +138 -0
  32. package/dist/assets/{CardNumberSubText-C-oVdziK-Cq3VPImW.js → CardNumberSubText-BUvXykSn-DR27wA6E.js} +3 -3
  33. package/dist/assets/{CashbackDetailPage-BhFKSl4p-ewrE6dWH.js → CashbackDetailPage-BhHWEtnP-BIMVCNfp.js} +27 -27
  34. package/dist/assets/{ChargeCardDetailPage-D8J6HINu-CzxUCqhO.js → ChargeCardDetailPage-BGqaGwV3-AFT-HAkP.js} +20 -20
  35. package/dist/assets/{ChargeCardListPage-tdUKyHdz--1Qr1SRx.js → ChargeCardListPage-D5H9U0h8-DeNsZOzv.js} +16 -16
  36. package/dist/assets/{ChargeCardListTable-CByk3iqX-BeCD5LdA.js → ChargeCardListTable-Byme0rAu-ych_Qx-x.js} +55 -55
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-B8zRcrjo-CkVYMc70.js → ChargeCardPaymentHistoryPage-DKW98ipI-DfncT-JI.js} +34 -34
  38. package/dist/assets/{ChargeCardPromoPage-C4cgx2gm-CkQvUCt_.js → ChargeCardPromoPage-VSqN0247-7AKJMP0k.js} +30 -30
  39. package/dist/assets/{ChargeCardSetupPage-DtwiTNKA-WssSZZMh.js → ChargeCardSetupPage-BMitkkOv-DqB6_gbE.js} +4 -4
  40. package/dist/assets/{ChargeCardStatementsPage-B0KPw52e-CjOL8QcR.js → ChargeCardStatementsPage-C_iQ5kBD-CzlgcFfP.js} +8 -8
  41. package/dist/assets/{CheckDepositDrawerPage-DKNAXI77-CwWWbDuR.js → CheckDepositDrawerPage-BaRz0MD0-fXpFUSD5.js} +15 -15
  42. package/dist/assets/{CollapsableReportTable-Cq8bhaYC-sMsxrigZ.js → CollapsableReportTable-C4hqC6Uj-CeOhK0qJ.js} +272 -272
  43. package/dist/assets/{CompanyOfficerDetailsSection-Rk0B5cB5-JGxyR29X.js → CompanyOfficerDetailsSection-DA62JWZF-28wXvrh9.js} +32 -32
  44. package/dist/assets/{CompanyPassportCard-CHaKk74P-B2_ZiFli.js → CompanyPassportCard-CDQgqgtJ-Cs-zlaQi.js} +12 -12
  45. package/dist/assets/{CompanyPassportPage-DXWXFFKM-BSWnHzV_.js → CompanyPassportPage-DoOtHRwj-7bnAHUeu.js} +20 -20
  46. package/dist/assets/{CompleteProfile-ChaWsK6t-BWU7y1Ur.js → CompleteProfile-DsEoizlG-DOegmHNH.js} +2 -2
  47. package/dist/assets/ConfettiBurst-D_bNA5jm-AxnjtqGp.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-DNicMQ8z.js → ConstrainedInnerElement-BeIpAPjB-yhWFdRSc.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-C_8Jqubo-Dp_EGm5j.js → CreateOrEditVendorPage-CQGF8m1c-Km9d2S1Z.js} +11 -11
  50. package/dist/assets/{CreditCardPaymentDrawerPage-lOjOtk28-DUDc8hji.js → CreditCardPaymentDrawerPage-DK_T0qbN-Bvmfy85N.js} +15 -15
  51. package/dist/assets/CurrencySelectField-7to_rmTp-D1r0SB0Y.js +139 -0
  52. package/dist/assets/{CustomerOnboardingActivationPage-DO6NCakm-DJ0wwxyO.js → CustomerOnboardingActivationPage-DCQ_KqzB-DJtTHAcy.js} +29 -29
  53. package/dist/assets/CustomerOnboardingContainerPage-DMF9BtF3-COJ-Wyve.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-DzZiwltK.js → CustomerOnboardingDetailPageSkeleton-ZTBIaml1-DBfEZVdM.js} +17 -17
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-CbG5WshV-Ih9fR2Ck.js → CustomerOnboardingNoStepsPage-DEq1Mm1I-Dp_05KKK.js} +6 -6
  56. package/dist/assets/{CustomerOnboardingPage-DyVyf8oK-BPk9Ux7h.js → CustomerOnboardingPage-BXch3GVe-Ba_gMD_F.js} +16 -16
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-1F3JfCRp-8xZH_qGW.js → CustomerOnboardingProductSuitePage-D7PFi42F-C_seXYMG.js} +8 -8
  58. package/dist/assets/{Dashboard-Csggwob0-BEFQIWvp.js → Dashboard-BcjA6DTL-B8wtUrMY.js} +66 -66
  59. package/dist/assets/{DashboardReportPage-DFIdi_I0-CkaE8ALl.js → DashboardReportPage-Ce-jnQbs-CfmLV1Yt.js} +22 -22
  60. package/dist/assets/DashboardSidebarBackgroundAnimation-JT601qzy-CkG1z_mx.js +12 -0
  61. package/dist/assets/{DepositAccTransactionItem-CZ7v1T4S-DmLfirr4.js → DepositAccTransactionItem-COgr8Xw5-NWAgf7bV.js} +6 -6
  62. package/dist/assets/{DepositAccTransactionListPage-FldPGX6K-B5JNFWiD.js → DepositAccTransactionListPage-zhPDzJoK-AejpnIWF.js} +4 -4
  63. package/dist/assets/{DomesticWireDetailsPage-C--eZ-UG-UT6ULanE.js → DomesticWireDetailsPage-2MqIFQbM-BGwsfDe-.js} +2 -2
  64. package/dist/assets/{DownloadOverlay-4f9deyJS-BVIQGklQ.js → DownloadOverlay-CfWDWIbC-DcGZOT8A.js} +26 -26
  65. package/dist/assets/{DrawerPage-roO3xvRT-BOp9n67_.js → DrawerPage-CfIhiBhn-A5CC3xdl.js} +11 -11
  66. package/dist/assets/EditPeoplePage-D25vo51x-BKCEnPp5.js +55 -0
  67. package/dist/assets/EditReimbursementDetailPage-DnFC_tCw-Cr7fsauQ.js +865 -0
  68. package/dist/assets/EntityDetailPage-C9vgxsh4-Dg0LhTdP.js +18 -0
  69. package/dist/assets/{EntitySummarySection-fBL4TZpT-Do-s3IXr.js → EntitySummarySection-Bie5ZOV3-BZu2b-HP.js} +32 -32
  70. package/dist/assets/{ExpenseAutomationOverviewPage-CnhNINCc-kjQ2nbJ0.js → ExpenseAutomationOverviewPage-BEKF8mo3-DI5Un6My.js} +47 -47
  71. package/dist/assets/ExpenseAutomationPage-DiJoZGeD-lfenglhX.js +3001 -0
  72. package/dist/assets/{ExpressPayPage-c8oTCnBR-B1eI11Un.js → ExpressPayPage-C6Jb6WrN-BeqBD08K.js} +19 -19
  73. package/dist/assets/{FeaturePreviewPage-DkiAajs2-DbJCCTbJ.js → FeaturePreviewPage-ev9V1Riy-BV3fE1G1.js} +3 -3
  74. package/dist/assets/{FollowStepsSection-GaWu1kt9-BRvlMtUk.js → FollowStepsSection-BlgHPyvL-BhwHykaB.js} +44 -44
  75. package/dist/assets/GlobalReviewListPage-Ck-LItUj-B8rLujq7.js +291 -0
  76. package/dist/assets/{InformationCardStack-dMFbHUWM-C-FgUaQe.js → InformationCardStack-BkuCjydF-ClSDOapP.js} +6 -6
  77. package/dist/assets/{InsightsCardStack-BlXkyuyz-DfwZenu8.js → InsightsCardStack-BFrwV0PC-CZ45PRa1.js} +10 -10
  78. package/dist/assets/InsightsSection-BdLDesVF-oVNFlqx0.js +27 -0
  79. package/dist/assets/IntegrationsSettingsPage-skBb_52w-D47eLHv2.js +57 -0
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-DxdKE300-Cc24FhVA.js → InternationalWireSwiftDetailsPage-DUNu57zU-B6FHq7_F.js} +20 -20
  81. package/dist/assets/InternationalWireVerificationPage-D1_fj0MG-Bu9SiBen.js +65 -0
  82. package/dist/assets/{InviteFormPage-BCdalqtP-CWNB58up.js → InviteFormPage-D8zySzlG-B662YNtS.js} +21 -21
  83. package/dist/assets/{InvitePageListView-B88FW48q-DLYg-1DF.js → InvitePageListView-DUng4fOl-Bw5RtSsX.js} +63 -63
  84. package/dist/assets/InvitePeoplePage-C0bQFMoO-C-nWyYL8.js +12 -0
  85. package/dist/assets/InvoiceUploadSection-CVOHcfdx-FSNHIS5V.js +140 -0
  86. package/dist/assets/{IssueChargeCardPage-B6wmvbEr-VuO_1ug1.js → IssueChargeCardPage-Vzj9appY-09K43VT7.js} +18 -18
  87. package/dist/assets/{LabeledAddressValue-CQrDCgNs-DLETXjJP.js → LabeledAddressValue-inaQliHs-Dg9xTHiz.js} +2 -2
  88. package/dist/assets/LabeledAddressValueField-B6IDZIGK-SXi-bQ86.js +45 -0
  89. package/dist/assets/{LabeledControlledCheckBoxField-BsFqjCpn-Drc3Qnd9.js → LabeledControlledCheckBoxField-DNMqJzBC-BPs_pf7S.js} +1 -1
  90. package/dist/assets/{LabeledCountryMultiSelectField-D1fVDYR_-Bj5X4vuH.js → LabeledCountryMultiSelectField--JYMnWIw-Dm5jwrCs.js} +12 -12
  91. package/dist/assets/{LabeledCreatableSingleSelectField-Bhka-Faj-BL3DwXW8.js → LabeledCreatableSingleSelectField-C5A14hjp-Dp3zoxD2.js} +8 -8
  92. package/dist/assets/LabeledDocumentField-DXd7BAH7-EzfLYbDV.js +41 -0
  93. package/dist/assets/{LabeledDropDownFormattedTextField-ChgtJqPr-BuWBYrn7.js → LabeledDropDownFormattedTextField-BVtRyAo1-706o2HXB.js} +7 -7
  94. package/dist/assets/LabeledText-B0bwznDi-CbaJVeOz.js +42 -0
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-QFZXJ5Cv.js → LabeledUserSingleSelectWithSubtitlesField-DXTzXLuP-C7ZxqrMf.js} +19 -19
  96. package/dist/assets/{LabeledZeniRolesDropDownField-CpH0eDWO-CJTlz3Mt.js → LabeledZeniRolesDropDownField-C0AamFZX-DtH7B1QB.js} +28 -28
  97. package/dist/assets/{LinkJETransactionPage-BhV2MnCY-OOF2_Kqe.js → LinkJETransactionPage-DWjs72Wp-CUQI1Z1j.js} +16 -16
  98. package/dist/assets/{LockCardPage-CHv1xi2J-CdU6oKR8.js → LockCardPage-CPUbpfrv-3LEgf1Eq.js} +217 -217
  99. package/dist/assets/{LowBalancePopup-Cb55PGLc-D5jF-boV.js → LowBalancePopup-Cg-JRo7A-zj6pzOkP.js} +6 -6
  100. package/dist/assets/MagicLinkACHDetailsPage-CUhe4LF8-C2tbOI9Z.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-DRiOxSts-fgdDLLEw.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-DwCrgk9X-BJyrM3xf.js +1 -0
  103. package/dist/assets/MagicLinkSuccessPage-UOywm1sp-BBCToRwV.js +31 -0
  104. package/dist/assets/{MagicLinkTitleSection-BA-i6vzA-CcuMLSrK.js → MagicLinkTitleSection-D5RIlimx-5X1vjx5k.js} +5 -5
  105. package/dist/assets/MailingDetailsSection-OYOVCPaq-B5APfdaG.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-Aer6AWxY-ImakKrC1.js → MyBankConnectionsSettingsPage-D55M4Yo6-DWI72gIp.js} +14 -14
  107. package/dist/assets/MyPendingActivationChargeCardListPage-SxpMobOC-QJU8xHLH.js +6 -0
  108. package/dist/assets/MyProfileSettingsPage-DLvCW9dl-3UYEbBEM.js +85 -0
  109. package/dist/assets/NavBarWithPicker-zd1BopIw-dYFUtFeu.js +30 -0
  110. package/dist/assets/{NavigationArrow-kQWS5Pzb-CpYsSVtE.js → NavigationArrow-CqK2Gxhj-JoTM067o.js} +7 -7
  111. package/dist/assets/{NavigationDots-BQb_Fodq-C4MvpAYN.js → NavigationDots-C7DGhAsk-BigsWf2H.js} +4 -4
  112. package/dist/assets/{NewGlobalMerchantPage-z86XZorn-MrP90led.js → NewGlobalMerchantPage-BH4SIY-b-IspkGBWL.js} +40 -40
  113. package/dist/assets/NoDataChart-Vz2Z_iIL-BHz7pPoV.js +26 -0
  114. package/dist/assets/{NoDataTable-DVe7sQhD-B4Won1bo.js → NoDataTable-B355xDAT-DcAZ4j4d.js} +1 -1
  115. package/dist/assets/{NotFoundPage-B1XCmhSe-BbSR46rN.js → NotFoundPage-Bfp9Pyxw-DVJn2b4k.js} +1 -1
  116. package/dist/assets/{NotificationSettingsPage-BaN20EGV-BApCLVwG.js → NotificationSettingsPage-1OEolmCL-DbOSpAhH.js} +20 -20
  117. package/dist/assets/NotificationsListConfig-B5Ei8fVY-6YLjvq8F.js +1 -0
  118. package/dist/assets/NotificationsPage-ChGr8-XF-VM1F0z8s.js +685 -0
  119. package/dist/assets/OpExByVendorPage-ae4FK1p6-CuNG361W.js +100 -0
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-ZCgtvNt_.js → OverlayContainerPage-D4QU0p4o-CR2TYg0o.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-CXtJhnA_-BuxPvuJl.js → PandLWithForecastPage-ChIPvp4R-qyv7RUis.js} +11 -11
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-Deb_ngk6-D78UP0fJ.js → PaymentAccountSetupBillingAddressSection-CnpmZxaM-COq_RoPw.js} +13 -13
  123. package/dist/assets/PeoplePage-D8pfeVRK-n6UzH76T.js +727 -0
  124. package/dist/assets/{Preview-D0sjWWj-.js → Preview-qBYtkSAF.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-ufZlh7Rx-CeYUIWta.js → ProductsCarousel-eVPl5t0I-BGcfqmV6.js} +7 -7
  126. package/dist/assets/{PromoBaseCards-D2UbhBhT-Bd7EQvVS.js → PromoBaseCards-HrcAWM4W-BKT0vHPP.js} +4 -4
  127. package/dist/assets/{QBOConnectionDialog-BrQ71F06-SmKPuRPN.js → QBOConnectionDialog-DgyYkEYY-Cpn7NAss.js} +6 -6
  128. package/dist/assets/QBOSetupSection-C4KJ5iyA-DQVhDTXa.js +79 -0
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-C-HPI4Ng-BAJOw6TG.js → ReimbursementApprovalRuleDetailPage-BbEMTVlp-CzXU9rgb.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRulesPage-CMpYn5y_-DkCRmTkh.js → ReimbursementApprovalRulesPage-B_1m9CBx-CabMdysS.js} +18 -18
  131. package/dist/assets/ReimbursementDetailPage-8i30hIr0-Dsm2Dpy8.js +314 -0
  132. package/dist/assets/{ReimbursementPromoPage-DXTAY8c7-DX5gy_0D.js → ReimbursementPromoPage-C4bxCDcc-yn3a9m-2.js} +32 -32
  133. package/dist/assets/{ReimbursementSetUpPage-KrGPXTCb-B1V8RiyF.js → ReimbursementSetUpPage-BkJ1-eNw-DtguijtQ.js} +12 -12
  134. package/dist/assets/ReimbursementsBulkReviewDrawerPage-CYZGBUms--1POKdZc.js +1 -0
  135. package/dist/assets/{ReloadCard-vAhL7B8U-t1zAQv25.js → ReloadCard-DrAfrMOy-Dp01MRiJ.js} +8 -8
  136. package/dist/assets/ReportTableViewSelector-DM_Em4lI-DVoP-nO6.js +150 -0
  137. package/dist/assets/{ReportsPage-DKM0gVzR-Bx9Ahq8r.js → ReportsPage-E9MU25NS-BG-K0aaI.js} +4 -4
  138. package/dist/assets/{RevenueChart-BEjDS1u4-CJFUFXPf.js → RevenueChart-CzVs6lFB-CetzZFOl.js} +13 -13
  139. package/dist/assets/{ReviewDetailsPage-BlQLrN9z-Dd93PdNx.js → ReviewDetailsPage-DR0MCIgO-DeTv48zq.js} +53 -53
  140. package/dist/assets/{ReviewOverlay-Bn3TFqfi-Cm7uPP59.js → ReviewOverlay-jDgQyzfL-CrHwzWa9.js} +24 -24
  141. package/dist/assets/RoleWithToolTip-zLU58xb1-CSAiI1iT.js +22 -0
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BMkFjf9Y-BeDlaHIk.js → ScheduleDetailsFixedAssetsPage-D47R-Lyr-CZpPEcr2.js} +13 -13
  143. package/dist/assets/{ScheduleDetailsPage-BP0wdtoP-DST5i2IG.js → ScheduleDetailsPage-DYNnVOEv-D18lxUWs.js} +3 -3
  144. package/dist/assets/ScheduleSequenceTable-CCHqmNhS-C5vei5ej.js +324 -0
  145. package/dist/assets/{ScreenRoutes-B2hsHPEr.js → ScreenRoutes-CyJpBFvr.js} +48 -48
  146. package/dist/assets/{SetUpAccountSection-CoVrSSYL-7U497n--.js → SetUpAccountSection-Bq2qSGml-DouG9J1c.js} +7 -7
  147. package/dist/assets/SignIn-Lqp6Uw4I--saqLsOx.js +491 -0
  148. package/dist/assets/SignInScreen-Crh_lnSg.js +1 -0
  149. package/dist/assets/SpendManagementListViewPage-DUBWXnF--DVg116ep.js +134 -0
  150. package/dist/assets/{SpendManagementPerTabPage-BWDjZyLp-VDOF69nw.js → SpendManagementPerTabPage-RLv6LS-z-CYo8kes0.js} +114 -114
  151. package/dist/assets/{SpendManagementSection-D8rBpC-y-FHAIQmms.js → SpendManagementSection-DJfAJzAL-ig4GL1ZT.js} +22 -22
  152. package/dist/assets/StatementItem-DWaejUx_-C8v9F3EQ.js +31 -0
  153. package/dist/assets/{StatementsPage-DiY2BOcu-APBz42WN.js → StatementsPage-BgYeg1T4-C88dmgbV.js} +5 -5
  154. package/dist/assets/{StatusSwitcher-B9MARTyR-P7RIwFRO.js → StatusSwitcher-C4MmXvmy-xYxIiuBt.js} +4 -4
  155. package/dist/assets/{SubTabSwitcher-C3rtSwro-DGcZkDgz.js → SubTabSwitcher-UW2b0f3g-Dn63h3aS.js} +2 -2
  156. package/dist/assets/{SummaryCard-CShVbqhj-D8ckNEht.js → SummaryCard-BLqrfWMN-BoOQqfaJ.js} +1 -1
  157. package/dist/assets/TaskManagementPage-BmOv6jb0-DMzDUJnW.js +508 -0
  158. package/dist/assets/{TimeRangeSwitcher-DFnX6_WT-CF5mv12I.js → TimeRangeSwitcher-NHpll2Zg-Dr20odtf.js} +4 -4
  159. package/dist/assets/TimeframeSwitcher-DR4B6ENA-CD0Ac63k.js +31 -0
  160. package/dist/assets/TimeframeSwitcherWithToggle-DlZ34Erl-BkLOXZy3.js +31 -0
  161. package/dist/assets/{TopExCard-dI_WEGWb-Dg0iyuar.js → TopExCard-BKUm1fVu-CdS4qfxw.js} +6 -6
  162. package/dist/assets/{TopExDetailPage-BWy5E8Lp-z65VL4y3.js → TopExDetailPage-BpaKGiXB-_eDwMn8-.js} +18 -18
  163. package/dist/assets/TransactionActivityLogPage-C4oS0b8d-5ZoA1pgW.js +195 -0
  164. package/dist/assets/TransactionDetailPage-Dz5UCI7c-DCbRyu-c.js +903 -0
  165. package/dist/assets/TransactionList-7sC4Vvux-BdQNJsG3.js +153 -0
  166. package/dist/assets/{TransactionListBig-DWQXH4ID-BXeSpaXE.js → TransactionListBig-C1i2HOEm-BoHPxhV4.js} +18 -18
  167. package/dist/assets/TransactionListPage-CTzZTWJh-rMP8UEHn.js +35 -0
  168. package/dist/assets/{TransactionVendorDetailPage-CzfJ5b_3-5A99k1pe.js → TransactionVendorDetailPage-BhEUsSHE-DWkVZWnN.js} +15 -15
  169. package/dist/assets/{TransferDrawerPage-6z-MoZZP-BDrE92fY.js → TransferDrawerPage-enFS8KsH-pWKe3GIV.js} +29 -29
  170. package/dist/assets/{TreasuryOverviewPage-CF_ter0o-C1Xt_81i.js → TreasuryOverviewPage-BT--Br6F-DZD_F62z.js} +36 -36
  171. package/dist/assets/{TreasuryPromoPage-Do-PTcjI-CNI9ltkm.js → TreasuryPromoPage-DsUxXGv2-CbCXpGfI.js} +27 -27
  172. package/dist/assets/{TreasuryStatementsPage-l_HC4zsb-B6l_d1_x.js → TreasuryStatementsPage-D7NeRKLM-FnJOs5A5.js} +3 -3
  173. package/dist/assets/{TreasuryTaxLetterPage-B8YxWytK-4a2peJ00.js → TreasuryTaxLetterPage-Cj6nJmhq-eRbAIBG9.js} +3 -3
  174. package/dist/assets/{TrendChart-C6B61CAm-DSOogQNb.js → TrendChart-CWaL1-sD-jHXMg1Jt.js} +4 -4
  175. package/dist/assets/{TrendWithTransactions-Bp3vhaPa-ltcNaAHT.js → TrendWithTransactions-ULrBa2b0-DV504Izy.js} +3 -3
  176. package/dist/assets/{UncategorizedAccountsMappingPage-cbFqKAv4-CYzZB7up.js → UncategorizedAccountsMappingPage-D8b01XUy-DqqC0SGI.js} +18 -18
  177. package/dist/assets/{UnitIntegrationPage-DZ0ZpE5p-DeFm36Ch.js → UnitIntegrationPage-KbEwifey-DfbiDH3c.js} +5 -5
  178. package/dist/assets/UploadAdditionalDocumentOverlay-Cxxuws-w-q1izSlj8.js +38 -0
  179. package/dist/assets/Vendor2FAPopup-Dm6Ot_5k-CeyePLNN.js +1 -0
  180. package/dist/assets/VendorACHDetailsPage-DMhwUboX-DW77y7-e.js +1 -0
  181. package/dist/assets/{VendorDetailPage-C4g_Gfsl-PDTA30fp.js → VendorDetailPage-BwbESVFq-BHZW_2ez.js} +89 -89
  182. package/dist/assets/VendorDomesticWireDetailsPage-DU47133D-BNz0vLWP.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-Ckt2MiVN-DkK-z8t4.js → VendorFiling1099EditablePage-Dycvl3IG-DtHtcSbL.js} +15 -15
  184. package/dist/assets/VendorFirstReviewPage-COk5-4Mm-BUPA8fWX.js +730 -0
  185. package/dist/assets/{VendorInternationalWireDetailsPage-Dz8mMD8d-gzpiXQNr.js → VendorInternationalWireDetailsPage-Di0TU5Db-B1HiqwDL.js} +22 -22
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Do345R_v-M_TSksW9.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-BT-RADSV-DmS6BFzF.js → VendorsAccountsSection-BPuqPLC8-CD6vaKdE.js} +4 -4
  188. package/dist/assets/{VerifyDevice-Cxc9CVMi-Brvk1hge.js → VerifyDevice-BRCRNTf1-Dw4vKeVk.js} +11 -11
  189. package/dist/assets/{VideoPlayer-9UkKMhGy-QE0dUH77.js → VideoPlayer-BgWCDJp3-CbPNc--2.js} +2 -2
  190. package/dist/assets/{VideoPopup-rfiYmtio-CZD9BvVe.js → VideoPopup-ckAw3yZZ-CPBR9ffY.js} +2 -2
  191. package/dist/assets/{WarningsDrawerPage-DrUA4asI-BplyTtEg.js → WarningsDrawerPage-D0VOjlPL-Cmk9Gclc.js} +7 -7
  192. package/dist/assets/{ZeniAccountDetailPage-K016HgQt-AvGfMJEL.js → ZeniAccountDetailPage-DxdKUJ_i-8Rps5gMW.js} +24 -24
  193. package/dist/assets/{ZeniAccountListViewPage-1oZZynB1-i09iw6my.js → ZeniAccountListViewPage-DxCB40sG-D7wpBJpb.js} +17 -17
  194. package/dist/assets/{ZeniAccountNavBarPieces-C6Oicpue-BKtADLa5.js → ZeniAccountNavBarPieces-D7o4_8jk-DU75NHos.js} +3 -3
  195. package/dist/assets/{ZeniAccountPromoPage-BCgys-YM-COB-XAgg.js → ZeniAccountPromoPage-BlfBjcVV-D8slteBQ.js} +22 -22
  196. package/dist/assets/ZeniAccountSetupPage-akgqrbmw-xtslv-BN.js +36 -0
  197. package/dist/assets/ZeniCopyright-BrtqzLbb-BE2v7OcH.js +1 -0
  198. package/dist/assets/{ZeniTransferAmountSlider-DVJ0puXA-eVW41JkY.js → ZeniTransferAmountSlider-yfG_RSE5-Chw30zZt.js} +11 -11
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-Cs3ZFbTn.js → add-to-wallet-DgdBD8_G-DgloNLoG.js} +1 -1
  200. package/dist/assets/{analytics-hCfYtzJT.js → analytics-BxsZVqMD.js} +30 -30
  201. package/dist/assets/{analyticsHelper-DKGNBdrX.js → analyticsHelper-BROaWFlP.js} +1 -1
  202. package/dist/assets/{analyticsHelper-CT5zOInj-Du0DTPF_.js → analyticsHelper-YXL3oVeL-st_q3oRE.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-CzrrwgSg.js → arrow-south-east-round-PEovUgvH-Cgw5LgRs.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-B_xw5P5j.js → auto-transfer-rule-mbafm5D3-DEP8Cseu.js} +1 -1
  205. package/dist/assets/{chartTypes-Ddw_3-6f-BMc10nJG.js → chartTypes-BPQ65VEE-6yZpeJsO.js} +1 -1
  206. package/dist/assets/commonDimensions-DY0eA-Tl-D8wklKVF.js +1 -0
  207. package/dist/assets/{commonTypes-B-foaEwJ-DqsczfuL.js → commonTypes-WZYufpaN-dYh7B5Qi.js} +1 -1
  208. package/dist/assets/{constants-y09M8DFT.js → constants-cBgt-jnp.js} +1 -1
  209. package/dist/assets/{core-Ce1HnmCU.js → core-CCdM5htn.js} +1 -1
  210. package/dist/assets/{dash.all.min-BLN3VaU-.js → dash.all.min-BhdX5A-b.js} +1 -1
  211. package/dist/assets/{detailCommon-Cpgf9GLg-CC3Vv-5k.js → detailCommon-cqZF9ZV8-CcqFhiCw.js} +6 -6
  212. package/dist/assets/downloadPdf-3uDsBfRK-CGEKdVDQ.js +1 -0
  213. package/dist/assets/{empty-BjLibp41.js → empty-21UCvCWa.js} +1 -1
  214. package/dist/assets/{empty-CHvpDZ25.js → empty-Ci7PTPdn.js} +1 -1
  215. package/dist/assets/epic-DjY7Y3Uv.js +2 -0
  216. package/dist/assets/{gift-box-Cmt9OgIZ-tPfmdYN9.js → gift-box-Cmt9OgIZ-fL_gav59.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-DgWqYmly.js → graphic-no-data-l-DU4J8fDt-CsPk6hIb.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-X9wgEFDB.js → graphic-no-data-net-burn-l-CzmycA0m-CK0OnqK_.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-CvblpTUh.js → handshake-BPg58FML-CJV_gJfO.js} +1 -1
  220. package/dist/assets/{helper-DP3YY99s-D6TxHUGT.js → helper-GwFcgf4f-QTj7P4Bk.js} +3 -3
  221. package/dist/assets/{index-Dwr9jsgf.js → index-8HE4yJ5t.js} +1 -1
  222. package/dist/assets/{index-DV0-LoHG.js → index-BsaB-Va2.js} +1 -1
  223. package/dist/assets/{index-BWlQ-rZN.js → index-C96UtQPZ.js} +1 -1
  224. package/dist/assets/{index-CbBDw148.js → index-Cq3X29cS.js} +4594 -4589
  225. package/dist/assets/{index-DXatjVel.js → index-D2yPgh5G.js} +1 -1
  226. package/dist/assets/{index-BMSo18eq.js → index-DBail5F5.js} +1 -1
  227. package/dist/assets/{index-CnMDhZ-z.js → index-DQtDqiLj.js} +1 -1
  228. package/dist/assets/{lexical-Dk2CPrxk.js → lexical-BfjdJw9p.js} +1 -1
  229. package/dist/assets/{liveblocks-ivZsDCw2.js → liveblocks-hPir54fv.js} +1 -1
  230. package/dist/assets/{lottie-solWV_WO.js → lottie-B9oE3WTk.js} +1 -1
  231. package/dist/assets/mapLoadingInProgressToTreeNode-CkbJ6R1I-DIVOAa5P.js +1 -0
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-QJI_OYzu-DfVKFmO9.js → mapSectionWithAcOnlyToTreeNode-BR34hkWh-Dcg0Ex62.js} +1 -1
  233. package/dist/assets/mapSpacerToTreeNode-BDHpjDEs-DAaIJCY0.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-B-58xc9r-DNQTilLS.js +1 -0
  235. package/dist/assets/mapTimeframeBalancesToTreeNode-DNryKtmS-D24Y9ZFz.js +1 -0
  236. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-6kNSnV0m-BkRLjeRM.js +1 -0
  237. package/dist/assets/{mui-BLUOobNq.js → mui-DzE-7sTl.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-mLiSYxOb.js → page-detail-CWX5S47F-CU2PSbaV.js} +1 -1
  239. package/dist/assets/panelSelectedMixin-Cddsb26L-CcYFb3nR.js +3 -0
  240. package/dist/assets/{radio-default-CiSgisfh-BwLFYKqj.js → radio-default-CiSgisfh-Bxc-V1Pu.js} +1 -1
  241. package/dist/assets/{react-gwEklu5z.js → react-BZ8J0jw1.js} +2 -2
  242. package/dist/assets/{react-DiVyX7it.js → react-BldneNt8.js} +1 -1
  243. package/dist/assets/{react-DwW_czRA.js → react-CCRxUGC8.js} +3 -3
  244. package/dist/assets/{react-nPRE2jd8.js → react-CI8KeqtZ.js} +1 -1
  245. package/dist/assets/{react-BR1Eke5i.js → react-CrnvOta1.js} +1 -1
  246. package/dist/assets/{react-ChJntTSM.js → react-DukPPAPu.js} +1 -1
  247. package/dist/assets/{react-BZ0TRoDf.js → react-IwpftXW_.js} +1 -1
  248. package/dist/assets/{react-OybbRboE.js → react-iFe9VXnX.js} +1 -1
  249. package/dist/assets/{recharts-J8hRG6fl.js → recharts-CiLmNGsl.js} +1 -1
  250. package/dist/assets/{sentry-ClS5bwGc.js → sentry-DQ_HstYV.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-DyyzcGvz.js → shield-DOlUxcFf-B21f1_cN.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-CU-N01Ne-BfeZ-0De.js +1 -0
  253. package/dist/assets/toChartData-BIERIIE--CxJg6nKe.js +1 -0
  254. package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-DWftVCta.js +1 -0
  255. package/dist/assets/{uploadAttachment-DUpHzqMe-BojPE85u.js → uploadAttachment-htF-2xC2-BK-WmHcD.js} +21 -21
  256. package/dist/assets/uploadReceipts-Dge0cNF1-DNapZCC1.js +1 -0
  257. package/dist/assets/{url-VN-yF4_H.js → url-D8jqtRfm.js} +1 -1
  258. package/dist/assets/{url-ckMdLfnk.js → url-vYaM0QEj.js} +1 -1
  259. package/dist/assets/{useLongPress-GCK2COYQ-BBsdk_o7.js → useLongPress-GCK2COYQ-BEGNcNvC.js} +1 -1
  260. package/dist/assets/{usp-line-BBd1wKwW-DYPeqq64.js → usp-line-BBd1wKwW-R5RCG5WU.js} +1 -1
  261. package/dist/assets/{utils-DG8PAOHO.js → utils-wDk5ojg7.js} +1 -1
  262. package/dist/assets/{zeni-epic-state-W0HMFHDj.js → zeni-epic-state-B4gyGBI3.js} +34 -34
  263. package/dist/index.html +1 -1
  264. package/package.json +4 -4
  265. package/dist/assets/ACHDetailsPage-D2Xav-UW-Bfz777OP.js +0 -21
  266. package/dist/assets/AccountInfoPage-B8-8kUGD-BK55XEFQ.js +0 -18
  267. package/dist/assets/AccountRow-BiEYR4Y1-CNf1wUw2.js +0 -298
  268. package/dist/assets/AddAddressForCardDrawer-DTnfk8K7-BnQvSUBa.js +0 -6
  269. package/dist/assets/ApAgingDetailPage-BRYQMwo2-s_dBzDV6.js +0 -46
  270. package/dist/assets/ApprovalRulesSettingsPage-5MYC1I6k-BnQPq9AM.js +0 -47
  271. package/dist/assets/ArAgingDetailPage-DwRkcLEu-BW0txT0n.js +0 -46
  272. package/dist/assets/BankAccountWarningSection-CpxVDMSZ-Ch8LfSH9.js +0 -51
  273. package/dist/assets/BillDetailPage-D0NLFZXA-B588FQUy.js +0 -266
  274. package/dist/assets/BillPayPromoPage-BMcP4EU5-Bsnvs3ku.js +0 -84
  275. package/dist/assets/BillingSettingsPage-GtRUqSZm-C4t1HRnl.js +0 -44
  276. package/dist/assets/BillsBulkReviewDrawerPage-DAUoo9pq-DtA8Ct8E.js +0 -1
  277. package/dist/assets/BusinessVerificationPage-9gZbBDL6-CHA00m4Y.js +0 -138
  278. package/dist/assets/ConfettiBurst-CdB5fRMt-BpKzQcdE.js +0 -1
  279. package/dist/assets/CurrencySelectField-BDqU4HVy-C2JVgM83.js +0 -139
  280. package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-3rxX8yl4.js +0 -1
  281. package/dist/assets/DashboardSidebarBackgroundAnimation-C3Ovv-ob-BQ7iP2W9.js +0 -12
  282. package/dist/assets/EditPeoplePage-pi5RclAj-aeWIx4uA.js +0 -55
  283. package/dist/assets/EditReimbursementDetailPage-CIUcImns-mFlw6SLO.js +0 -865
  284. package/dist/assets/EntityDetailPage-OTKTVNMD-D-mJ3GEZ.js +0 -18
  285. package/dist/assets/ExpenseAutomationPage-BDLCJbFw-CupfErQE.js +0 -1703
  286. package/dist/assets/GlobalReviewListPage-DEzj0RVG-BBBmhZlV.js +0 -291
  287. package/dist/assets/InsightsSection-D-oCmrir-wvwFdRQ1.js +0 -27
  288. package/dist/assets/IntegrationsSettingsPage-D-hfghuq-2m6MIXGG.js +0 -57
  289. package/dist/assets/InternationalWireVerificationPage-CkSmhOrS-CaFCfg4n.js +0 -65
  290. package/dist/assets/InvitePeoplePage-Z-2L7lWc-1iMjMN9Y.js +0 -12
  291. package/dist/assets/InvoiceUploadSection-C8hytmay-CTpYBdkI.js +0 -140
  292. package/dist/assets/LabeledAddressValueField-BoHS44YO-35DxIth1.js +0 -45
  293. package/dist/assets/LabeledDocumentField-CnRk5aKZ-DcxblEUp.js +0 -41
  294. package/dist/assets/LabeledText-2EDpuXZ4-BVmqJGFx.js +0 -42
  295. package/dist/assets/MagicLinkACHDetailsPage-Dnp01hnF-BFHG0jRe.js +0 -1
  296. package/dist/assets/MagicLinkDomesticWireDetailsPage-B36rsikS-DcnN13AA.js +0 -1
  297. package/dist/assets/MagicLinkInternationalWireDetailsPage-Zo4oNZez-BAtejZPN.js +0 -1
  298. package/dist/assets/MagicLinkSuccessPage-09NLbjFG-DFIfT_H_.js +0 -31
  299. package/dist/assets/MailingDetailsSection-EwtoQ2TZ-BHY-JTcx.js +0 -21
  300. package/dist/assets/MyPendingActivationChargeCardListPage-Ddy4bAEY-fdzETguQ.js +0 -6
  301. package/dist/assets/MyProfileSettingsPage-DMz-6h9F-IpwM4wHQ.js +0 -85
  302. package/dist/assets/NavBarWithPicker-D8WNahg--CFu9mkBL.js +0 -30
  303. package/dist/assets/NoDataChart-CyYJ6icu-CuklCFBU.js +0 -26
  304. package/dist/assets/NotificationsListConfig-BOW_TmPC-BGtwKQH4.js +0 -1
  305. package/dist/assets/NotificationsPage-C9efAgjo-CFPf0lT0.js +0 -685
  306. package/dist/assets/OpExByVendorPage-DXeBU3-z-F-6uCCSP.js +0 -100
  307. package/dist/assets/PeoplePage-DXC2CtOt-DkUGvRPZ.js +0 -675
  308. package/dist/assets/QBOSetupSection-EOFscEW--B1BK3OKQ.js +0 -79
  309. package/dist/assets/ReimbursementDetailPage-CfmICHZb-Cf4HY_lZ.js +0 -314
  310. package/dist/assets/ReimbursementsBulkReviewDrawerPage-l2mYNEKn-wbpm_uz3.js +0 -1
  311. package/dist/assets/ReportTableViewSelector-Y97ney3W-Dg_MzkQZ.js +0 -150
  312. package/dist/assets/RoleWithToolTip-DhBFvJea-kKwCSQso.js +0 -22
  313. package/dist/assets/ScheduleSequenceTable-D-rZ4ftr-C0RmvNPI.js +0 -324
  314. package/dist/assets/SignIn-BoAejo7r-n6KjQ5Ul.js +0 -491
  315. package/dist/assets/SignInScreen-DeJvfsin.js +0 -1
  316. package/dist/assets/SpendManagementListViewPage-D3eISFuA-BPINZ7i2.js +0 -134
  317. package/dist/assets/StatementItem-Cu6dlAsl-DRYmB2mf.js +0 -31
  318. package/dist/assets/TaskManagementPage-RVS8nv0n-B2vVJK8U.js +0 -508
  319. package/dist/assets/TimeframeSwitcher-CW08yYgo-kAXguHFR.js +0 -31
  320. package/dist/assets/TimeframeSwitcherWithToggle-DJOCWqpZ-BsIrdDc5.js +0 -31
  321. package/dist/assets/TransactionActivityLogPage-DjhEIUYm-BaKCdH85.js +0 -195
  322. package/dist/assets/TransactionDetailPage-CuxqQd8U-CcjegigH.js +0 -903
  323. package/dist/assets/TransactionList-80KjM8Kg-CGTGojKw.js +0 -153
  324. package/dist/assets/TransactionListPage-DC08rCC9-DlnDb8ev.js +0 -35
  325. package/dist/assets/UploadAdditionalDocumentOverlay-BKY6hK51-EpFUtbZq.js +0 -38
  326. package/dist/assets/Vendor2FAPopup-DezpDfp8-Y9jdKibf.js +0 -1
  327. package/dist/assets/VendorACHDetailsPage-C8TWKYfc-uTPUEvcG.js +0 -1
  328. package/dist/assets/VendorDomesticWireDetailsPage-BhJQ-Vmn-CVY3V18u.js +0 -1
  329. package/dist/assets/VendorFirstReviewPage-CIKRaTax-DYL9Vnpu.js +0 -730
  330. package/dist/assets/VendorInternationalWireSwiftDetailsPage-XcV7Ot44-BeZ-zVI3.js +0 -1
  331. package/dist/assets/ZeniAccountSetupPage-BubBgkoa-CqgM5g3P.js +0 -36
  332. package/dist/assets/ZeniCopyright-BxIwmms--CqjNcAjr.js +0 -1
  333. package/dist/assets/commonDimensions-ClmbdehE-KHSo1WEP.js +0 -1
  334. package/dist/assets/downloadPdf-DfRYmfsd-0BtHMfPn.js +0 -1
  335. package/dist/assets/epic-CIKGU6HT.js +0 -2
  336. package/dist/assets/mapLoadingInProgressToTreeNode-C0YIUOnb-CktDojF3.js +0 -1
  337. package/dist/assets/mapSpacerToTreeNode-DKDsz0vw-NSXq93HU.js +0 -1
  338. package/dist/assets/mapTimeframeBalancesToTreeNode-DqDJAeAj-qlQ8jZsM.js +0 -1
  339. package/dist/assets/mapTimeframeBalancesToTreeNode-J3b1nb_T-BWh1BdCI.js +0 -1
  340. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-BsKSlOwq.js +0 -1
  341. package/dist/assets/panelSelectedMixin-CzfD5-Zs-BwkAFvgw.js +0 -4
  342. package/dist/assets/toCOABalancesWithID-AzKAZ-Cv-B-XUgDD0.js +0 -1
  343. package/dist/assets/toChartData-BEjMhb7--BmOva86j.js +0 -1
  344. package/dist/assets/uploadReceipts-Dge0cNF1-B2u8Ku84.js +0 -1
@@ -1,4 +1,4 @@
1
- import{J as _,d as St,aR as jt,a9 as Dt,cG as vt,F as E,V as t,bD as Ft,ac as Ct,cH as Tt,aS as Nt,y as b,cI as ot,cJ as kt,x as Lt,o as a,al as be,cK as lt,cL as P,cM as Re,cN as W,cO as ee,p as N,cP as ge,b2 as ue,cQ as st,cR as Pt,cS as Et,cT as it,aw as zt,cU as Vt,cV as nt,cW as At,cX as _t,cY as Mt,cZ as Wt,c_ as Bt,bt as Rt,aU as Yt,ba as Q,ai as xe,u as I,i as Ye,c$ as Ut,aE as qt,d0 as Gt,cj as Ht,d1 as Xt,am as Zt,d2 as Jt}from"./index-CbBDw148.js";import{a as q,P as Qt}from"./sentry-ClS5bwGc.js";import{n as i,a as Kt,k as ea}from"./mui-BLUOobNq.js";import{Fk as ta,Fl as rt,Fm as dt,Fn as ct,Fo as pt,Fp as ut,bj as mt,Fq as Te,bL as aa,bh as Ne,bC as oa,Fr as la}from"./zeni-epic-state-W0HMFHDj.js";import{I as ft}from"./LabeledCreatableSingleSelectField-Bhka-Faj-BL3DwXW8.js";import{Y as ht}from"./LabeledDocumentField-CnRk5aKZ-DcxblEUp.js";import{p as sa,i as ia,t as na}from"./commonTypes-B-foaEwJ-DqsczfuL.js";import{b as ra}from"./LabeledCountryMultiSelectField-D1fVDYR_-Bj5X4vuH.js";import{x as da,f as ca,p as pa,h as ua,m as yt,b as ma,g as fa}from"./helper-DP3YY99s-D6TxHUGT.js";import{$ as gt}from"./LabeledAddressValue-CQrDCgNs-DLETXjJP.js";import"./liveblocks-ivZsDCw2.js";import"./core-Ce1HnmCU.js";import"./recharts-J8hRG6fl.js";import"./lottie-solWV_WO.js";import"./analytics-hCfYtzJT.js";import"./lexical-Dk2CPrxk.js";import"./utils-DG8PAOHO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="ef687baf-c5ca-4486-ae66-317bc19afb30",e._sentryDebugIdIdentifier="sentry-dbid-ef687baf-c5ca-4486-ae66-317bc19afb30")}catch{}})();const bt={maxWidth:new b(280,340),contentMaxWidth:new b(200,255)},ha=ea`
1
+ import{J as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct,cJ as Nt,aT as Tt,x as b,cK as ot,cL as kt,d as Lt,o as a,an as be,cM as lt,cN as P,cO as Re,cP as W,cQ as ee,p as T,cR as ge,b3 as ue,cS as st,cT as Pt,cU as Et,cV as it,ay as zt,cW as Vt,cX as nt,cY as At,cZ as _t,c_ as Mt,c$ as Wt,d0 as Bt,bu as Rt,aV as Yt,bb as Q,ak as xe,u as I,a as Ye,d1 as Ut,aG as qt,d2 as Gt,ck as Ht,d3 as Xt,ao as Zt,d4 as Jt}from"./index-Cq3X29cS.js";import{a as q,P as Qt}from"./sentry-DQ_HstYV.js";import{n as i,a as Kt,k as ea}from"./mui-DzE-7sTl.js";import{G1 as ta,G2 as rt,G3 as dt,G4 as ct,G5 as pt,G6 as ut,bj as mt,G7 as Ne,bL as aa,bh as Te,bC as oa,G8 as la}from"./zeni-epic-state-B4gyGBI3.js";import{I as ft}from"./LabeledCreatableSingleSelectField-C5A14hjp-Dp3zoxD2.js";import{Y as ht}from"./LabeledDocumentField-DXd7BAH7-EzfLYbDV.js";import{p as sa,i as ia,t as na}from"./commonTypes-WZYufpaN-dYh7B5Qi.js";import{b as ra}from"./LabeledCountryMultiSelectField--JYMnWIw-Dm5jwrCs.js";import{x as da,f as ca,p as pa,h as ua,m as yt,b as ma,g as fa}from"./helper-GwFcgf4f-QTj7P4Bk.js";import{$ as gt}from"./LabeledAddressValue-inaQliHs-Dg9xTHiz.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="11b78b84-3db2-42f7-929d-e9355f54054d",e._sentryDebugIdIdentifier="sentry-dbid-11b78b84-3db2-42f7-929d-e9355f54054d")}catch{}})();const bt={maxWidth:new b(280,340),contentMaxWidth:new b(200,255)},ha=ea`
2
2
  0% {
3
3
  transform: translateX(100%)
4
4
  }
@@ -24,30 +24,30 @@ import{J as _,d as St,aR as jt,a9 as Dt,cG as vt,F as E,V as t,bD as Ft,ac as Ct
24
24
  margin-top: 2px;
25
25
  width: ${a.sp4};
26
26
  height: ${a.sp4};
27
- color: ${N.successDark};
27
+ color: ${T.successDark};
28
28
  `,ba=i(Bt)`
29
29
  margin-top: 2px;
30
30
  width: ${a.sp4};
31
31
  height: ${a.sp4};
32
- color: ${N.important};
32
+ color: ${T.important};
33
33
  `,xa=i.div`
34
34
  margin-top: ${a.sp1};
35
35
  `,wa=i(Yt)`
36
- color: ${N.neutralGrey2Light};
36
+ color: ${T.neutralGrey2Light};
37
37
  `,Ia=i.div`
38
38
  max-width: ${e=>bt.contentMaxWidth.valuePx(e.windowSize)};
39
39
  margin: ${a.sp0} ${a.sp3};
40
40
  `,$a=i(Rt)`
41
- color: ${e=>e.isSuccess?N.success:N.important};
41
+ color: ${e=>e.isSuccess?T.success:T.important};
42
42
  `,Oa=i.div`
43
43
  width: ${a.sp3};
44
44
  height: ${a.sp3};
45
45
  cursor: pointer;
46
46
  color: ${e=>e.theme.colors.hero};
47
47
  &:hover {
48
- color: ${N.primaryDark};
48
+ color: ${T.primaryDark};
49
49
  }
50
- `,Sa=e=>{const l=E.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?l.failedText:l.successText};function ja(e){const l=_(),{fetchState:u,onRemoveSnackbar:s}=e;q.useEffect(()=>{setTimeout(s,5e3)});const d=E.getLocalizedStrings().companyPassport.snackBar,o=u==="Completed";return t.jsxs(ya,{windowSize:l,children:[o?t.jsx(ga,{}):t.jsx(ba,{}),t.jsxs(Ia,{windowSize:l,children:[t.jsx($a,{isSuccess:o,children:o?d.success:d.error}),t.jsx(xa,{children:t.jsx(wa,{children:Sa(u)})})]}),t.jsx(Oa,{onClick:s,children:t.jsx(Lt,{})})]})}const me={labelWidth:new b(110,145,180),largeLabelWidth:new b(150,215,215),largeLabelDocumentWidth:new b(150,210,252),paddingBottom:new b(I[3],I[2])};function Da(e){const l=_(),[u,s]=q.useState(!1),{companyPassport:d,commonSetUp:{businessVerification:o},common:{documents:n}}=E.getLocalizedStrings(),{fileProps:m,companyFiles:f,deleteFileStatusById:p,updateFileStatusById:r,sectionId:x,isDisabled:S,companyIncInfo:w,style:F}=e,O=me.labelWidth.value(l),j=me.largeLabelWidth.value(l),$=me.largeLabelDocumentWidth.value(l),{dateFormat:{visual:c},companyPassport:v}=E.getLocalizedStrings(),h=f.find(G=>G.documentType==="certificate_of_incorporation"),M=l==="small"?d.companyIncInfo.stateOfIncPlaceholderSmall:d.companyIncInfo.stateOfIncPlaceholder,oe=l==="small"?d.companyIncInfo.typeOfIncPlaceholderSmall:d.companyIncInfo.typeOfIncPlaceholder;return t.jsxs(va,{style:F,children:[t.jsx(Ca,{children:d.companyIncInfo.title}),t.jsxs(Fa,{children:[t.jsx(ft,{label:{label:v.companyIncInfo.typeOfInc,width:j},isDisabled:S,creatableSingleSelectField:{name:fe(x,"typeOfInc"),placeholder:oe,defaultValue:{selectedOption:w?.typeOfInc,allOptions:d.companyIncInfo.allTypesOfIncorporation}}}),t.jsx(je,{}),t.jsx(Pt,{label:{label:v.companyIncInfo.stateOfInc,width:j},isDisabled:S,singleSelectField:{name:fe(x,"stateOfInc"),placeholder:M,defaultValue:{selectedOption:w?.stateOfInc,allOptions:d.companyIncInfo.allStatesOfIncorporation}}}),t.jsx(je,{}),t.jsx(Et,{isDisabled:S,label:{label:d.companyIncInfo.incDate,width:O},style:{paddingBottom:me.paddingBottom.valuePx(l)},dateField:{name:fe(x,"incDate"),placeholder:W(d.companyIncInfo.incDate),defaultValue:w?.incDate,dateFormat:c.defaultInput,maxDate:Ne(),minDate:aa("01 Jan 1900"),autoComplete:"off"}}),t.jsx(je,{}),t.jsx(ht,{name:fe(x,"certificateOfIncorporation"),isDisabled:S,sizeLimit:it,deleteFileStatusById:p,updateFileStatusById:r,filesEndPoint:m.filesEndPoint,authParams:m.authParams,label:{label:o.certificateOfIncorporation,width:$},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:h,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:u,updateFilesEntity:m.updateFilesEntity,onEditFileName:m.onEditFileName,onDeleteFile:m.onDeleteFile,onFileSizeError:G=>s(G)}),t.jsx(Ta,{windowSize:l,isError:u,children:n.formatDocumentText10MB})]})]})}const fe=(e,l)=>`${e}.${l}`,va=i.div`
50
+ `,Sa=e=>{const l=E.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?l.failedText:l.successText};function ja(e){const l=_(),{fetchState:u,onRemoveSnackbar:s}=e;q.useEffect(()=>{setTimeout(s,5e3)});const d=E.getLocalizedStrings().companyPassport.snackBar,o=u==="Completed";return t.jsxs(ya,{windowSize:l,children:[o?t.jsx(ga,{}):t.jsx(ba,{}),t.jsxs(Ia,{windowSize:l,children:[t.jsx($a,{isSuccess:o,children:o?d.success:d.error}),t.jsx(xa,{children:t.jsx(wa,{children:Sa(u)})})]}),t.jsx(Oa,{onClick:s,children:t.jsx(Lt,{})})]})}const me={labelWidth:new b(110,145,180),largeLabelWidth:new b(150,215,215),largeLabelDocumentWidth:new b(150,210,252),paddingBottom:new b(I[3],I[2])};function Da(e){const l=_(),[u,s]=q.useState(!1),{companyPassport:d,commonSetUp:{businessVerification:o},common:{documents:n}}=E.getLocalizedStrings(),{fileProps:m,companyFiles:f,deleteFileStatusById:p,updateFileStatusById:r,sectionId:x,isDisabled:S,companyIncInfo:w,style:F}=e,O=me.labelWidth.value(l),j=me.largeLabelWidth.value(l),$=me.largeLabelDocumentWidth.value(l),{dateFormat:{visual:c},companyPassport:v}=E.getLocalizedStrings(),h=f.find(G=>G.documentType==="certificate_of_incorporation"),M=l==="small"?d.companyIncInfo.stateOfIncPlaceholderSmall:d.companyIncInfo.stateOfIncPlaceholder,oe=l==="small"?d.companyIncInfo.typeOfIncPlaceholderSmall:d.companyIncInfo.typeOfIncPlaceholder;return t.jsxs(va,{style:F,children:[t.jsx(Ca,{children:d.companyIncInfo.title}),t.jsxs(Fa,{children:[t.jsx(ft,{label:{label:v.companyIncInfo.typeOfInc,width:j},isDisabled:S,creatableSingleSelectField:{name:fe(x,"typeOfInc"),placeholder:oe,defaultValue:{selectedOption:w?.typeOfInc,allOptions:d.companyIncInfo.allTypesOfIncorporation}}}),t.jsx(je,{}),t.jsx(Pt,{label:{label:v.companyIncInfo.stateOfInc,width:j},isDisabled:S,singleSelectField:{name:fe(x,"stateOfInc"),placeholder:M,defaultValue:{selectedOption:w?.stateOfInc,allOptions:d.companyIncInfo.allStatesOfIncorporation}}}),t.jsx(je,{}),t.jsx(Et,{isDisabled:S,label:{label:d.companyIncInfo.incDate,width:O},style:{paddingBottom:me.paddingBottom.valuePx(l)},dateField:{name:fe(x,"incDate"),placeholder:W(d.companyIncInfo.incDate),defaultValue:w?.incDate,dateFormat:c.defaultInput,maxDate:Te(),minDate:aa("01 Jan 1900"),autoComplete:"off"}}),t.jsx(je,{}),t.jsx(ht,{name:fe(x,"certificateOfIncorporation"),isDisabled:S,sizeLimit:it,deleteFileStatusById:p,updateFileStatusById:r,filesEndPoint:m.filesEndPoint,authParams:m.authParams,label:{label:o.certificateOfIncorporation,width:$},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:h,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:u,updateFilesEntity:m.updateFilesEntity,onEditFileName:m.onEditFileName,onDeleteFile:m.onDeleteFile,onFileSizeError:G=>s(G)}),t.jsx(Na,{windowSize:l,isError:u,children:n.formatDocumentText10MB})]})]})}const fe=(e,l)=>`${e}.${l}`,va=i.div`
51
51
  display: flex;
52
52
  flex-direction: column;
53
53
  padding-top: ${a.sp3};
@@ -68,13 +68,13 @@ import{J as _,d as St,aR as jt,a9 as Dt,cG as vt,F as E,V as t,bD as Ft,ac as Ct
68
68
  background-color: ${e=>e.theme.colors.grey3};
69
69
  min-height: 1px;
70
70
  max-height: 1px;
71
- `,Ta=i(xe)`
71
+ `,Na=i(xe)`
72
72
  padding: ${a.sp1} ${a.sp4};
73
73
  background: ${e=>e.theme.colors.grey4};
74
74
  border-radius: ${a.sp0} ${a.sp0} ${a.sp2} ${a.sp2};
75
75
  text-align: ${e=>e.windowSize==="small"?"initial":"right"};
76
- color: ${e=>e.isError?N.important:e.theme.colors.grey1};
77
- `,Na=i(Xt)`
76
+ color: ${e=>e.isError?T.important:e.theme.colors.grey1};
77
+ `,Ta=i(Xt)`
78
78
  color: ${e=>e.theme.colors.primary};
79
79
  margin-block-start: ${a.sp0};
80
80
  margin-block-end: ${a.sp0};
@@ -91,7 +91,7 @@ import{J as _,d as St,aR as jt,a9 as Dt,cG as vt,F as E,V as t,bD as Ft,ac as Ct
91
91
  width: fit-content;
92
92
  margin-left: auto;
93
93
  margin-bottom: ${a.sp2};
94
- `,Pa=e=>{const{labels:l,style:u,listStyleType:s="disc"}=e;return t.jsx(Na,{style:{...u,listStyleType:s},children:l.filter(d=>d!=null&&d.text!="").map((d,o)=>t.jsxs(ka,{isCancelled:d.status==="cancelled",children:[d.text,d.subText!=null?t.jsxs(La,{children:["Started: ",d.subText]}):null]},`${d.text}_${o}`))})},ae={width:new b(343,580,726),paddingTopBottom:new b(I[3],I[3]),marginRight:new b(I[2],I[2]),labelMarginLeft:new b(I[3],I[4]),labelMarginRight:new b(I[3],I[4])};function ye({isDisabled:e,label:l,bullettedLabels:u,style:s}){const d=_();return u.labels.length>0?t.jsxs(Ea,{size:d,style:s,children:[t.jsx(ge,{isDisabled:e,label:l.label,style:{marginLeft:ae.labelMarginLeft.value(d),marginRight:ae.labelMarginRight.value(d),width:l.width??"auto"}}),t.jsx(Pa,{...u,style:{maxWidth:l.width!=null?`calc(100% - ${l.width}px)`:"auto"}})]}):null}const Ea=i.div`
94
+ `,Pa=e=>{const{labels:l,style:u,listStyleType:s="disc"}=e;return t.jsx(Ta,{style:{...u,listStyleType:s},children:l.filter(d=>d!=null&&d.text!="").map((d,o)=>t.jsxs(ka,{isCancelled:d.status==="cancelled",children:[d.text,d.subText!=null?t.jsxs(La,{children:["Started: ",d.subText]}):null]},`${d.text}_${o}`))})},ae={width:new b(343,580,726),paddingTopBottom:new b(I[3],I[3]),marginRight:new b(I[2],I[2]),labelMarginLeft:new b(I[3],I[4]),labelMarginRight:new b(I[3],I[4])};function ye({isDisabled:e,label:l,bullettedLabels:u,style:s}){const d=_();return u.labels.length>0?t.jsxs(Ea,{size:d,style:s,children:[t.jsx(ge,{isDisabled:e,label:l.label,style:{marginLeft:ae.labelMarginLeft.value(d),marginRight:ae.labelMarginRight.value(d),width:l.width??"auto"}}),t.jsx(Pa,{...u,style:{maxWidth:l.width!=null?`calc(100% - ${l.width}px)`:"auto"}})]}):null}const Ea=i.div`
95
95
  display: flex;
96
96
  flex-direction: row;
97
97
  align-items: flex-start;
@@ -112,7 +112,7 @@ import{J as _,d as St,aR as jt,a9 as Dt,cG as vt,F as E,V as t,bD as Ft,ac as Ct
112
112
  border-bottom-left-radius: inherit;
113
113
  border-bottom-right-radius: inherit;
114
114
  }
115
- `,se={labelWidth:new b(110,110,140),mediumLabelWidth:new b(140,140,160),largeLabelWidth:new b(170,170,180),extraLargeLabelWidth:new b(200,250,300),regulatedStatusMaxWidth:new b(343,580,726)},xt=E.getLocalizedStrings(),y=xt.commonSetUp.businessVerification,{companyPassport:T,dateFormat:{analytics:Ue},common:{yes:qe,no:Ge}}=xt;function za({companyViewData:e,allIndustries:l,allNationalityCountries:u,companyInfo:s,companyAddress:d,sectionId:o,isDisabled:n,isCompanyVerified:m,onCompanyAddressClick:f,style:p}){const r=_(),x=se.labelWidth.value(r),S=se.mediumLabelWidth.value(r),w=se.largeLabelWidth.value(r),F=se.extraLargeLabelWidth.value(r),O=Kt(),{watch:j,setValue:$,formState:{errors:c}}=lt(),v=e.company.company.companyInfo,h=C=>{const V=s?.[C];return V==null?!1:typeof V=="string"&&V===""||Array.isArray(V)&&V.length===0?m===!1:!0},M=h("companySubIndustry"),oe=h("countriesOfOperations"),G=h("transactionVolume"),we=h("regulatedStatus"),Ie=h("usNexus"),H=h("purposeOfAccount"),Y=h("companySourceOfFunds"),ie=j(g(o,"companySourceOfFunds")),ne=j(g(o,"transactionVolume")),K=j(g(o,"regulatedStatus")),re=j(g(o,"usNexus")),X=j(g(o,"purposeOfAccount")),Z=j(g(o,"companyIndustryType")),de=Z?.selectedOption??s?.companyIndustryType,$e=r==="small"?T.companyInfo.businessModelPlaceholderSmall:T.companyInfo.businessModelPlaceholder,Oe=C=>l.find(V=>V.code===C)?.name??C,B=C=>{$(g(o,"subIndustry"),{selectedOption:void 0,allOptions:Te(C)})};return t.jsxs(Aa,{style:p,children:[t.jsx(Ma,{children:T.companyInfo.title}),t.jsxs(_a,{children:[t.jsx(P,{isDisabled:n,label:{label:T.companyInfo.companyName,width:w},text:{type:"text",name:g(o,"companyName"),placeholder:W(T.companyInfo.companyName),defaultValue:s?.companyName,autoComplete:"new-password",options:{required:!!v.name,pattern:Re}}}),t.jsx(z,{}),t.jsx(P,{isDisabled:n,label:{label:T.companyInfo.legalName,width:S},text:{type:"text",name:g(o,"legalName"),placeholder:W(T.companyInfo.legalName),defaultValue:s?.legalName,autoComplete:"new-password",options:{required:!!v.companyLegalName,pattern:Re}}}),t.jsx(z,{}),t.jsx(P,{isDisabled:n,label:{label:T.companyInfo.website,width:x},text:{type:"url",name:g(o,"website"),placeholder:W(T.companyInfo.website),defaultValue:s?.website?.toString()??"",autoComplete:"new-password"}}),t.jsx(z,{}),M?t.jsx(t.Fragment,{children:t.jsxs(Wa,{"data-suppress-hover":n!=null?!0:void 0,children:[t.jsx(ee,{label:{label:y.companyIndustryLabel,width:x},singleSelectField:{singleSelect:{name:g(o,"companyIndustryType"),placeholder:y.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:da,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.companyIndustryType,allOptions:[...ut]},onSelectChange:B},isFunctional:!0,errorInfoLabel:y.companyIndustryError.replace("_product_type_","company"),style:{padding:0,margin:0,outline:"none",paddingRight:a.sp2}}),de!=null&&t.jsx(ee,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:g(o,"subIndustry"),placeholder:y.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:C=>ca(C,de),isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.companySubIndustry,allOptions:Te(Z?.selectedOption)}},isFunctional:!0,keepFocusedStyle:!0,errorInfoLabel:y.companySubIndustryError.replace("_product_type_","company"),additionalInfoLabel:n==null?y.companyIndustryAdditionalInfo:void 0,additionalInfoStyle:{color:O.colors.hero},style:{outline:"none",paddingBottom:a.sp0,width:"100%"}})]})}):t.jsx(ee,{label:{label:T.companyInfo.industry,width:x},singleSelectField:{singleSelect:{name:g(o,"industry"),placeholder:T.companyInfo.industryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:Oe,isDisabled:n,showTickMark:!0},defaultValue:{selectedOption:s?.industry,allOptions:l?.map(C=>C.code)??[]}},isFunctional:!0}),t.jsx(z,{}),t.jsx(ft,{isDisabled:n,label:{label:T.companyInfo.businessModel,width:w},creatableSingleSelectField:{name:g(o,"businessModel"),placeholder:$e,defaultValue:{selectedOption:s?.businessModel,allOptions:T.companyInfo.allBusinessModels}}}),oe&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(ra,{label:{label:y.countriesOfOperationsLabel,width:w},isDisabled:n,additionalInfoLabel:n==null?y.countriesOfOperationsAdditionalInfo:void 0,multiSelectField:{name:g(o,"countriesOfOperations"),placeholder:y.countriesOfOperationsPlaceholder,defaultValue:ot(s?.countriesOfOperations,(u??[]).map(C=>C.countryCode))}})]}),Y&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(ee,{label:{label:y.companySourceOfFundsLabel,width:w},singleSelectField:{singleSelect:{name:g(o,"companySourceOfFunds"),placeholder:y.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:pa,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.companySourceOfFunds,allOptions:[...pt]}},isFunctional:!0,additionalContent:sa.includes(ie?.selectedOption)?t.jsx(P,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:g(o,"companySourceOfFundsDescription"),placeholder:y.descriptionPlaceholder,style:{backgroundColor:c[o]!=null&&c[o]?.companySourceOfFundsDescription!=null?N.importantLight:O.colors.background},options:{}},additionalInfoLabel:y.companySourceOfFundsDescriptionError,style:{position:"relative",top:0,left:-w,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||c[o]!=null&&c[o]?.companySourceOfFundsDescription!=null?void 0:y.companySourceOfFundsAdditionalInfo,additionalInfoStyle:{color:O.colors.hero}})]}),G&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(ee,{label:{label:y.transactionVolumeLabel,width:F},singleSelectField:{singleSelect:{name:g(o,"transactionVolume"),placeholder:y.transactionVolumePlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ua,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.transactionVolume,allOptions:[...ct]}},isFunctional:!0,additionalContent:ia.includes(ne?.selectedOption)?t.jsx(P,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:g(o,"transactionVolumeDescription"),placeholder:y.descriptionPlaceholder,style:{backgroundColor:c[o]!=null&&c[o]?.transactionVolumeDescription!=null?N.importantLight:O.colors.background},options:{}},additionalInfoLabel:y.transactionVolumeDescriptionError,style:{position:"relative",top:0,left:-F,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||c[o]!=null&&c[o]?.transactionVolumeDescription!=null?void 0:y.transactionVolumeAdditionalInfo,additionalInfoStyle:{color:O.colors.hero}})]}),we&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsxs(He,{windowSize:r,"data-suppress-hover":n!=null?!0:void 0,children:[t.jsxs(Xe,{children:[t.jsx(ge,{label:y.regulatedStatusLabel,htmlFor:g(o,"regulatedStatus"),isDisabled:n,style:{width:w,color:n==="disabled"?O.colors.grey1:O.colors.hero}}),t.jsxs(Ze,{labelWidth:w,windowSize:r,children:[t.jsx(ue,{label:{label:qe},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:g(o,"regulatedStatus"),id:`${g(o,"regulatedStatus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0}),t.jsx(ue,{label:{label:Ge},style:{width:"auto"},radioField:{name:g(o,"regulatedStatus"),id:`${g(o,"regulatedStatus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0})]})]}),K==="yes"&&t.jsx(P,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},text:{type:"text",name:g(o,"regulatedStatusDescription"),placeholder:y.regulatedStatusDescriptionPlaceholder,style:{backgroundColor:c[o]!=null&&c[o]?.regulatedStatusDescription!=null?N.importantLight:O.colors.background},options:{}},additionalInfoLabel:y.regulatedStatusDescriptionError,style:{outline:"none",width:"100%",padding:0}}),c[o]!=null&&c[o]?.regulatedStatus!=null?t.jsx(De,{windowSize:r,children:y.regulatedStatusError.replace("_product_type_","company details")}):c[o]!=null&&c[o]?.regulatedStatusDescription!=null?null:n==null?t.jsx(Je,{windowSize:r,children:y.regulatedStatusAdditionalInfo}):null]})]}),Ie&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsxs(He,{windowSize:r,"data-suppress-hover":n!=null?!0:void 0,children:[t.jsxs(Xe,{children:[t.jsx(ge,{label:y.usNexusLabel,htmlFor:g(o,"usNexus"),isDisabled:n,style:{width:w,color:n==="disabled"?O.colors.grey1:O.colors.hero}}),t.jsxs(Ze,{labelWidth:w,windowSize:r,children:[t.jsx(ue,{label:{label:qe},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:g(o,"usNexus"),id:`${g(o,"usNexus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0}),t.jsx(ue,{label:{label:Ge},style:{width:"auto"},radioField:{name:g(o,"usNexus"),id:`${g(o,"usNexus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0})]})]}),re==="yes"&&t.jsxs(t.Fragment,{children:[t.jsx(Ba,{hasError:c[o]!=null&&c[o]?.usNexusTypes!=null,children:t.jsx(yt,{isDisabled:n,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},multiSelectField:{name:g(o,"usNexusTypes"),placeholder:y.usNexusPlaceholder,getOptionLabel:ma,defaultValue:{selectedOptions:s?.usNexusTypes??[],allOptions:[...dt]},registerOptions:{required:n==null,shouldUnregister:!0,validate:C=>{const V=C?.selectedOptions;return V!=null&&V.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),c[o]!=null&&c[o]?.usNexusTypes!=null&&t.jsx(De,{windowSize:r,children:y.usNexusTypesError})]}),c[o]!=null&&c[o]?.usNexus!=null?t.jsx(De,{windowSize:r,children:y.usNexusError.replace("_product_type_","company details")}):c[o]!=null&&c[o]?.usNexusTypes!=null?null:n==null?t.jsx(Je,{windowSize:r,children:y.usNexusAdditionalInfo}):null]})]}),H&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(ee,{label:{label:y.purposeOfAccountLabel,width:F},singleSelectField:{singleSelect:{name:g(o,"purposeOfAccount"),placeholder:y.purposeOfAccountPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:fa,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.purposeOfAccount,allOptions:[...rt]}},isFunctional:!0,additionalContent:na.includes(X?.selectedOption)?t.jsx(P,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:g(o,"purposeOfAccountDescription"),placeholder:y.descriptionPlaceholder,style:{backgroundColor:c[o]!=null&&c[o]?.purposeOfAccountDescription!=null?N.importantLight:O.colors.background},options:{}},additionalInfoLabel:y.purposeOfAccountDescriptionError,style:{position:"relative",top:0,left:-F,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||c[o]!=null&&c[o]?.purposeOfAccountDescription!=null?void 0:y.purposeOfAccountAdditionalInfo,additionalInfoStyle:{color:O.colors.hero}})]}),t.jsx(z,{}),t.jsx(gt,{isDisabled:n,label:{label:T.companyInfo.address,width:x},addressValue:{placeholder:W(T.companyInfo.address),address:d?.addressToCreate,onClick:()=>f("company_address")}}),t.jsx(z,{}),t.jsx(st,{isDisabled:n,label:{label:T.companyInfo.phone,width:x},text:{name:g(o,"phone"),placeholder:W(T.companyInfo.phone),defaultValue:s?.phone,autoComplete:"new-password"}}),t.jsx(z,{}),t.jsx(ye,{label:{label:T.companyInfo.fiscalYear,width:x},bullettedLabels:{labels:[{text:Va(s?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const Va=e=>{const{fiscalYearMonths:l}=la(e);return`${Ne().month(l[0]-1).format(Ue.MMMFormat)} to ${Ne().month(l[11]-1).format(Ue.MMMFormat)}`},g=(e,l)=>`${e}.${l}`,Aa=i.div`
115
+ `,se={labelWidth:new b(110,110,140),mediumLabelWidth:new b(140,140,160),largeLabelWidth:new b(170,170,180),extraLargeLabelWidth:new b(200,250,300),regulatedStatusMaxWidth:new b(343,580,726)},xt=E.getLocalizedStrings(),y=xt.commonSetUp.businessVerification,{companyPassport:N,dateFormat:{analytics:Ue},common:{yes:qe,no:Ge}}=xt;function za({companyViewData:e,allIndustries:l,allNationalityCountries:u,companyInfo:s,companyAddress:d,sectionId:o,isDisabled:n,isCompanyVerified:m,onCompanyAddressClick:f,style:p}){const r=_(),x=se.labelWidth.value(r),S=se.mediumLabelWidth.value(r),w=se.largeLabelWidth.value(r),F=se.extraLargeLabelWidth.value(r),O=Kt(),{watch:j,setValue:$,formState:{errors:c}}=lt(),v=e.company.company.companyInfo,h=C=>{const V=s?.[C];return V==null?!1:typeof V=="string"&&V===""||Array.isArray(V)&&V.length===0?m===!1:!0},M=h("companySubIndustry"),oe=h("countriesOfOperations"),G=h("transactionVolume"),we=h("regulatedStatus"),Ie=h("usNexus"),H=h("purposeOfAccount"),Y=h("companySourceOfFunds"),ie=j(g(o,"companySourceOfFunds")),ne=j(g(o,"transactionVolume")),K=j(g(o,"regulatedStatus")),re=j(g(o,"usNexus")),X=j(g(o,"purposeOfAccount")),Z=j(g(o,"companyIndustryType")),de=Z?.selectedOption??s?.companyIndustryType,$e=r==="small"?N.companyInfo.businessModelPlaceholderSmall:N.companyInfo.businessModelPlaceholder,Oe=C=>l.find(V=>V.code===C)?.name??C,B=C=>{$(g(o,"subIndustry"),{selectedOption:void 0,allOptions:Ne(C)})};return t.jsxs(Aa,{style:p,children:[t.jsx(Ma,{children:N.companyInfo.title}),t.jsxs(_a,{children:[t.jsx(P,{isDisabled:n,label:{label:N.companyInfo.companyName,width:w},text:{type:"text",name:g(o,"companyName"),placeholder:W(N.companyInfo.companyName),defaultValue:s?.companyName,autoComplete:"new-password",options:{required:!!v.name,pattern:Re}}}),t.jsx(z,{}),t.jsx(P,{isDisabled:n,label:{label:N.companyInfo.legalName,width:S},text:{type:"text",name:g(o,"legalName"),placeholder:W(N.companyInfo.legalName),defaultValue:s?.legalName,autoComplete:"new-password",options:{required:!!v.companyLegalName,pattern:Re}}}),t.jsx(z,{}),t.jsx(P,{isDisabled:n,label:{label:N.companyInfo.website,width:x},text:{type:"url",name:g(o,"website"),placeholder:W(N.companyInfo.website),defaultValue:s?.website?.toString()??"",autoComplete:"new-password"}}),t.jsx(z,{}),M?t.jsx(t.Fragment,{children:t.jsxs(Wa,{"data-suppress-hover":n!=null?!0:void 0,children:[t.jsx(ee,{label:{label:y.companyIndustryLabel,width:x},singleSelectField:{singleSelect:{name:g(o,"companyIndustryType"),placeholder:y.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:da,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.companyIndustryType,allOptions:[...ut]},onSelectChange:B},isFunctional:!0,errorInfoLabel:y.companyIndustryError.replace("_product_type_","company"),style:{padding:0,margin:0,outline:"none",paddingRight:a.sp2}}),de!=null&&t.jsx(ee,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:g(o,"subIndustry"),placeholder:y.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:C=>ca(C,de),isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.companySubIndustry,allOptions:Ne(Z?.selectedOption)}},isFunctional:!0,keepFocusedStyle:!0,errorInfoLabel:y.companySubIndustryError.replace("_product_type_","company"),additionalInfoLabel:n==null?y.companyIndustryAdditionalInfo:void 0,additionalInfoStyle:{color:O.colors.hero},style:{outline:"none",paddingBottom:a.sp0,width:"100%"}})]})}):t.jsx(ee,{label:{label:N.companyInfo.industry,width:x},singleSelectField:{singleSelect:{name:g(o,"industry"),placeholder:N.companyInfo.industryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:Oe,isDisabled:n,showTickMark:!0},defaultValue:{selectedOption:s?.industry,allOptions:l?.map(C=>C.code)??[]}},isFunctional:!0}),t.jsx(z,{}),t.jsx(ft,{isDisabled:n,label:{label:N.companyInfo.businessModel,width:w},creatableSingleSelectField:{name:g(o,"businessModel"),placeholder:$e,defaultValue:{selectedOption:s?.businessModel,allOptions:N.companyInfo.allBusinessModels}}}),oe&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(ra,{label:{label:y.countriesOfOperationsLabel,width:w},isDisabled:n,additionalInfoLabel:n==null?y.countriesOfOperationsAdditionalInfo:void 0,multiSelectField:{name:g(o,"countriesOfOperations"),placeholder:y.countriesOfOperationsPlaceholder,defaultValue:ot(s?.countriesOfOperations,(u??[]).map(C=>C.countryCode))}})]}),Y&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(ee,{label:{label:y.companySourceOfFundsLabel,width:w},singleSelectField:{singleSelect:{name:g(o,"companySourceOfFunds"),placeholder:y.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:pa,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.companySourceOfFunds,allOptions:[...pt]}},isFunctional:!0,additionalContent:sa.includes(ie?.selectedOption)?t.jsx(P,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:g(o,"companySourceOfFundsDescription"),placeholder:y.descriptionPlaceholder,style:{backgroundColor:c[o]!=null&&c[o]?.companySourceOfFundsDescription!=null?T.importantLight:O.colors.background},options:{}},additionalInfoLabel:y.companySourceOfFundsDescriptionError,style:{position:"relative",top:0,left:-w,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||c[o]!=null&&c[o]?.companySourceOfFundsDescription!=null?void 0:y.companySourceOfFundsAdditionalInfo,additionalInfoStyle:{color:O.colors.hero}})]}),G&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(ee,{label:{label:y.transactionVolumeLabel,width:F},singleSelectField:{singleSelect:{name:g(o,"transactionVolume"),placeholder:y.transactionVolumePlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ua,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.transactionVolume,allOptions:[...ct]}},isFunctional:!0,additionalContent:ia.includes(ne?.selectedOption)?t.jsx(P,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:g(o,"transactionVolumeDescription"),placeholder:y.descriptionPlaceholder,style:{backgroundColor:c[o]!=null&&c[o]?.transactionVolumeDescription!=null?T.importantLight:O.colors.background},options:{}},additionalInfoLabel:y.transactionVolumeDescriptionError,style:{position:"relative",top:0,left:-F,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||c[o]!=null&&c[o]?.transactionVolumeDescription!=null?void 0:y.transactionVolumeAdditionalInfo,additionalInfoStyle:{color:O.colors.hero}})]}),we&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsxs(He,{windowSize:r,"data-suppress-hover":n!=null?!0:void 0,children:[t.jsxs(Xe,{children:[t.jsx(ge,{label:y.regulatedStatusLabel,htmlFor:g(o,"regulatedStatus"),isDisabled:n,style:{width:w,color:n==="disabled"?O.colors.grey1:O.colors.hero}}),t.jsxs(Ze,{labelWidth:w,windowSize:r,children:[t.jsx(ue,{label:{label:qe},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:g(o,"regulatedStatus"),id:`${g(o,"regulatedStatus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0}),t.jsx(ue,{label:{label:Ge},style:{width:"auto"},radioField:{name:g(o,"regulatedStatus"),id:`${g(o,"regulatedStatus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0})]})]}),K==="yes"&&t.jsx(P,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},text:{type:"text",name:g(o,"regulatedStatusDescription"),placeholder:y.regulatedStatusDescriptionPlaceholder,style:{backgroundColor:c[o]!=null&&c[o]?.regulatedStatusDescription!=null?T.importantLight:O.colors.background},options:{}},additionalInfoLabel:y.regulatedStatusDescriptionError,style:{outline:"none",width:"100%",padding:0}}),c[o]!=null&&c[o]?.regulatedStatus!=null?t.jsx(De,{windowSize:r,children:y.regulatedStatusError.replace("_product_type_","company details")}):c[o]!=null&&c[o]?.regulatedStatusDescription!=null?null:n==null?t.jsx(Je,{windowSize:r,children:y.regulatedStatusAdditionalInfo}):null]})]}),Ie&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsxs(He,{windowSize:r,"data-suppress-hover":n!=null?!0:void 0,children:[t.jsxs(Xe,{children:[t.jsx(ge,{label:y.usNexusLabel,htmlFor:g(o,"usNexus"),isDisabled:n,style:{width:w,color:n==="disabled"?O.colors.grey1:O.colors.hero}}),t.jsxs(Ze,{labelWidth:w,windowSize:r,children:[t.jsx(ue,{label:{label:qe},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:g(o,"usNexus"),id:`${g(o,"usNexus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0}),t.jsx(ue,{label:{label:Ge},style:{width:"auto"},radioField:{name:g(o,"usNexus"),id:`${g(o,"usNexus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0})]})]}),re==="yes"&&t.jsxs(t.Fragment,{children:[t.jsx(Ba,{hasError:c[o]!=null&&c[o]?.usNexusTypes!=null,children:t.jsx(yt,{isDisabled:n,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},multiSelectField:{name:g(o,"usNexusTypes"),placeholder:y.usNexusPlaceholder,getOptionLabel:ma,defaultValue:{selectedOptions:s?.usNexusTypes??[],allOptions:[...dt]},registerOptions:{required:n==null,shouldUnregister:!0,validate:C=>{const V=C?.selectedOptions;return V!=null&&V.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),c[o]!=null&&c[o]?.usNexusTypes!=null&&t.jsx(De,{windowSize:r,children:y.usNexusTypesError})]}),c[o]!=null&&c[o]?.usNexus!=null?t.jsx(De,{windowSize:r,children:y.usNexusError.replace("_product_type_","company details")}):c[o]!=null&&c[o]?.usNexusTypes!=null?null:n==null?t.jsx(Je,{windowSize:r,children:y.usNexusAdditionalInfo}):null]})]}),H&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(ee,{label:{label:y.purposeOfAccountLabel,width:F},singleSelectField:{singleSelect:{name:g(o,"purposeOfAccount"),placeholder:y.purposeOfAccountPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:fa,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.purposeOfAccount,allOptions:[...rt]}},isFunctional:!0,additionalContent:na.includes(X?.selectedOption)?t.jsx(P,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:g(o,"purposeOfAccountDescription"),placeholder:y.descriptionPlaceholder,style:{backgroundColor:c[o]!=null&&c[o]?.purposeOfAccountDescription!=null?T.importantLight:O.colors.background},options:{}},additionalInfoLabel:y.purposeOfAccountDescriptionError,style:{position:"relative",top:0,left:-F,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||c[o]!=null&&c[o]?.purposeOfAccountDescription!=null?void 0:y.purposeOfAccountAdditionalInfo,additionalInfoStyle:{color:O.colors.hero}})]}),t.jsx(z,{}),t.jsx(gt,{isDisabled:n,label:{label:N.companyInfo.address,width:x},addressValue:{placeholder:W(N.companyInfo.address),address:d?.addressToCreate,onClick:()=>f("company_address")}}),t.jsx(z,{}),t.jsx(st,{isDisabled:n,label:{label:N.companyInfo.phone,width:x},text:{name:g(o,"phone"),placeholder:W(N.companyInfo.phone),defaultValue:s?.phone,autoComplete:"new-password"}}),t.jsx(z,{}),t.jsx(ye,{label:{label:N.companyInfo.fiscalYear,width:x},bullettedLabels:{labels:[{text:Va(s?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const Va=e=>{const{fiscalYearMonths:l}=la(e);return`${Te().month(l[0]-1).format(Ue.MMMFormat)} to ${Te().month(l[11]-1).format(Ue.MMMFormat)}`},g=(e,l)=>`${e}.${l}`,Aa=i.div`
116
116
  display: flex;
117
117
  flex-direction: column;
118
118
  padding-top: ${a.sp3};
@@ -192,18 +192,18 @@ import{J as _,d as St,aR as jt,a9 as Dt,cG as vt,F as E,V as t,bD as Ft,ac as Ct
192
192
  text-align: right;
193
193
  padding-right: ${a.sp3};
194
194
  `,De=i(xe)`
195
- color: ${N.important};
195
+ color: ${T.important};
196
196
  text-align: right;
197
197
  padding-right: ${a.sp3};
198
198
  `,Ba=i.div`
199
199
  width: 100%;
200
200
  & > div {
201
- background-color: ${e=>e.hasError===!0?N.importantLight:e.theme.colors.background};
201
+ background-color: ${e=>e.hasError===!0?T.importantLight:e.theme.colors.background};
202
202
  }
203
203
  & .select-control {
204
- background-color: ${e=>e.hasError===!0?N.importantLight:e.theme.colors.background} !important;
204
+ background-color: ${e=>e.hasError===!0?T.importantLight:e.theme.colors.background} !important;
205
205
  }
206
- `,ke={labelWidth:new b(110,110,140),buttonWidth:new b(70,70)};function Ra({sectionId:e,isDisabled:l,style:u,officer:s,officerAddress:d,isEmptyCompanyOfficerSection:o,onOfficerAddressClick:n}){const m=_(),f=E.getLocalizedStrings().companyPassport,p=ke.labelWidth.value(m),r=o&&(s==null||!s.firstName&&!s.lastName&&!s.phone&&!s.email&&!d),x=s?.userId==null||s?.userId==="";return t.jsxs(Ha,{style:u,children:[t.jsx(nt,{isDisabled:l,label:{label:f.companyOfficer.name,width:p},nameField:{name:ve(e,"name"),placeHolder:{firstName:f.companyOfficer.firstNamePlaceholder,lastName:f.companyOfficer.lastNamePlaceholder,name:f.companyOfficer.namePlaceholder},defaultValue:{firstName:s?.firstName??"",lastName:s?.lastName??""},autoComplete:"new-password",registerOptions:{required:r!==!0},showFullNameError:!0}}),t.jsx(Fe,{}),t.jsx(P,{isDisabled:x?l:"readonly",label:{label:f.companyOfficer.email,width:p},text:{type:"email",name:ve(e,"email"),placeholder:W(f.companyOfficer.email),options:{required:r===!0?!1:x},defaultValue:s?.email,autoComplete:"new-password"}}),t.jsx(Fe,{}),t.jsx(gt,{isDisabled:l,label:{label:f.companyInfo.address,width:p},addressValue:{placeholder:W(f.companyOfficer.address),address:d?.addressToCreate,onClick:()=>{n(s?.officerType.toLocaleLowerCase().concat("_address"))}}}),t.jsx(Fe,{}),t.jsx(st,{isDisabled:l,label:{label:f.companyOfficer.phone,width:p},text:{name:ve(e,"phone"),placeholder:W(f.companyOfficer.phone),defaultValue:s?.phone,autoComplete:"new-password"}})]})}function Ya({companyOfficers:e,sectionId:l,style:u,isDisabled:s,onOfficerAddressClick:d}){const{setValue:o,getValues:n}=lt(),[m,f]=q.useState(-1),p=E.getLocalizedStrings().companyPassport,r=e.length,x=e.length===1&&e[0].localData?.userId==null,S=n(l),w=()=>{const $={userId:void 0,officerType:`Officer_${r+1}`,name:{firstName:"",lastName:""},email:"",phone:""};o(l,[...S,$])},F=$=>{if(e[$].localData==null||!e[$].localData?.firstName&&!e[$].localData?.lastName&&!e[$].localData?.phone&&!e[$].localData?.email&&!e[$].addressStatus?.addressToCreate){const c=S.filter((v,h)=>h!==m);o(l,c),f(-1)}else f($)},O=()=>{f(-1)},j=()=>{const $=S.filter((c,v)=>v!==m);o(l,$),f(-1)};return t.jsxs(Ga,{style:u,children:[t.jsx(Xa,{children:p.companyOfficer.title}),e.map(($,c)=>{const v=$.localData,h=$.addressStatus,M=v?.userId==null||v?.userId==="";return t.jsxs(Za,{children:[(r>1||M)&&!x?t.jsx(Ua,{curIndex:c,isNewUser:M,numberOfOfficers:r,deleteConfirmationIndex:m,isDisabled:s,onDeleteClick:F,onCancelClick:O,onRemoveOfficerSection:j}):null,t.jsx(Ra,{sectionId:`${l}.${c}`,officer:v,officerAddress:h,isDisabled:s,isEmptyCompanyOfficerSection:x,onOfficerAddressClick:d})]},v?.officerType)}),r<=9&&!x?t.jsx(qa,{isSectionDisabled:s,onAddOfficerSection:w}):t.jsx(Le,{})]})}const Ua=({curIndex:e,isNewUser:l,numberOfOfficers:u,deleteConfirmationIndex:s,isDisabled:d,onDeleteClick:o,onCancelClick:n,onRemoveOfficerSection:m})=>{const f=_(),p=E.getLocalizedStrings().companyPassport;return t.jsxs(Ja,{children:[t.jsx(Qa,{children:u>1?`${p.companyOfficer.officer} ${e+1}`:""}),l&&d==null?s===e?t.jsx(oo,{children:t.jsxs(lo,{children:[p.companyOfficer.deleteConfirmation,t.jsx(Ye,{label:p.cancel,onClick:n,style:{width:ke.buttonWidth.value(f),marginLeft:a.sp4,marginRight:a.sp3},size:"small",variant:"secondary"}),t.jsx(Ye,{label:p.remove,onClick:m,style:{width:ke.buttonWidth.value(f)},size:"small",variant:"danger"})]})}):t.jsx(ao,{className:"delete-icon-wrapper",onClick:()=>o(e),children:t.jsx(Ut,{width:I[3],height:I[3],color:N.important})}):null]})},qa=({isSectionDisabled:e,onAddOfficerSection:l})=>{const u=E.getLocalizedStrings().companyPassport;return e!=null?t.jsx(Le,{}):t.jsxs(t.Fragment,{children:[t.jsxs(Ka,{onClick:l,children:[t.jsx(eo,{}),t.jsx(to,{children:u.companyOfficer.addOfficer})]}),t.jsx(Le,{})]})},ve=(e,l)=>`${e}.${l}`,Ga=i.div`
206
+ `,ke={labelWidth:new b(110,110,140),buttonWidth:new b(70,70)};function Ra({sectionId:e,isDisabled:l,style:u,officer:s,officerAddress:d,isEmptyCompanyOfficerSection:o,onOfficerAddressClick:n}){const m=_(),f=E.getLocalizedStrings().companyPassport,p=ke.labelWidth.value(m),r=o&&(s==null||!s.firstName&&!s.lastName&&!s.phone&&!s.email&&!d),x=s?.userId==null||s?.userId==="";return t.jsxs(Ha,{style:u,children:[t.jsx(nt,{isDisabled:l,label:{label:f.companyOfficer.name,width:p},nameField:{name:ve(e,"name"),placeHolder:{firstName:f.companyOfficer.firstNamePlaceholder,lastName:f.companyOfficer.lastNamePlaceholder,name:f.companyOfficer.namePlaceholder},defaultValue:{firstName:s?.firstName??"",lastName:s?.lastName??""},autoComplete:"new-password",registerOptions:{required:r!==!0},showFullNameError:!0}}),t.jsx(Fe,{}),t.jsx(P,{isDisabled:x?l:"readonly",label:{label:f.companyOfficer.email,width:p},text:{type:"email",name:ve(e,"email"),placeholder:W(f.companyOfficer.email),options:{required:r===!0?!1:x},defaultValue:s?.email,autoComplete:"new-password"}}),t.jsx(Fe,{}),t.jsx(gt,{isDisabled:l,label:{label:f.companyInfo.address,width:p},addressValue:{placeholder:W(f.companyOfficer.address),address:d?.addressToCreate,onClick:()=>{n(s?.officerType.toLocaleLowerCase().concat("_address"))}}}),t.jsx(Fe,{}),t.jsx(st,{isDisabled:l,label:{label:f.companyOfficer.phone,width:p},text:{name:ve(e,"phone"),placeholder:W(f.companyOfficer.phone),defaultValue:s?.phone,autoComplete:"new-password"}})]})}function Ya({companyOfficers:e,sectionId:l,style:u,isDisabled:s,onOfficerAddressClick:d}){const{setValue:o,getValues:n}=lt(),[m,f]=q.useState(-1),p=E.getLocalizedStrings().companyPassport,r=e.length,x=e.length===1&&e[0].localData?.userId==null,S=n(l),w=()=>{const $={userId:void 0,officerType:`Officer_${r+1}`,name:{firstName:"",lastName:""},email:"",phone:""};o(l,[...S,$])},F=$=>{if(e[$].localData==null||!e[$].localData?.firstName&&!e[$].localData?.lastName&&!e[$].localData?.phone&&!e[$].localData?.email&&!e[$].addressStatus?.addressToCreate){const c=S.filter((v,h)=>h!==m);o(l,c),f(-1)}else f($)},O=()=>{f(-1)},j=()=>{const $=S.filter((c,v)=>v!==m);o(l,$),f(-1)};return t.jsxs(Ga,{style:u,children:[t.jsx(Xa,{children:p.companyOfficer.title}),e.map(($,c)=>{const v=$.localData,h=$.addressStatus,M=v?.userId==null||v?.userId==="";return t.jsxs(Za,{children:[(r>1||M)&&!x?t.jsx(Ua,{curIndex:c,isNewUser:M,numberOfOfficers:r,deleteConfirmationIndex:m,isDisabled:s,onDeleteClick:F,onCancelClick:O,onRemoveOfficerSection:j}):null,t.jsx(Ra,{sectionId:`${l}.${c}`,officer:v,officerAddress:h,isDisabled:s,isEmptyCompanyOfficerSection:x,onOfficerAddressClick:d})]},v?.officerType)}),r<=9&&!x?t.jsx(qa,{isSectionDisabled:s,onAddOfficerSection:w}):t.jsx(Le,{})]})}const Ua=({curIndex:e,isNewUser:l,numberOfOfficers:u,deleteConfirmationIndex:s,isDisabled:d,onDeleteClick:o,onCancelClick:n,onRemoveOfficerSection:m})=>{const f=_(),p=E.getLocalizedStrings().companyPassport;return t.jsxs(Ja,{children:[t.jsx(Qa,{children:u>1?`${p.companyOfficer.officer} ${e+1}`:""}),l&&d==null?s===e?t.jsx(oo,{children:t.jsxs(lo,{children:[p.companyOfficer.deleteConfirmation,t.jsx(Ye,{label:p.cancel,onClick:n,style:{width:ke.buttonWidth.value(f),marginLeft:a.sp4,marginRight:a.sp3},size:"small",variant:"secondary"}),t.jsx(Ye,{label:p.remove,onClick:m,style:{width:ke.buttonWidth.value(f)},size:"small",variant:"danger"})]})}):t.jsx(ao,{className:"delete-icon-wrapper",onClick:()=>o(e),children:t.jsx(Ut,{width:I[3],height:I[3],color:T.important})}):null]})},qa=({isSectionDisabled:e,onAddOfficerSection:l})=>{const u=E.getLocalizedStrings().companyPassport;return e!=null?t.jsx(Le,{}):t.jsxs(t.Fragment,{children:[t.jsxs(Ka,{onClick:l,children:[t.jsx(eo,{}),t.jsx(to,{children:u.companyOfficer.addOfficer})]}),t.jsx(Le,{})]})},ve=(e,l)=>`${e}.${l}`,Ga=i.div`
207
207
  display: flex;
208
208
  flex-direction: column;
209
209
  padding-top: ${a.sp3};
@@ -305,7 +305,7 @@ import{J as _,d as St,aR as jt,a9 as Dt,cG as vt,F as E,V as t,bD as Ft,ac as Ct
305
305
  background: ${e=>e.theme.colors.grey4};
306
306
  border-radius: ${a.sp0} ${a.sp0} ${a.sp2} ${a.sp2};
307
307
  text-align: ${e=>e.windowSize==="small"?"initial":"right"};
308
- color: ${e=>e.isError?N.important:e.theme.colors.grey1};
308
+ color: ${e=>e.isError?T.important:e.theme.colors.grey1};
309
309
  `,po={labelWidth:new b(100,100,140)};function uo({sectionId:e,isDisabled:l,primaryContact:u,style:s}){const d=_(),o=E.getLocalizedStrings().companyPassport,n=po.labelWidth.value(d),m=u==null;return t.jsxs(mo,{style:s,children:[t.jsx(ho,{children:o.primaryContact.title}),t.jsxs(fo,{children:[t.jsx(nt,{isDisabled:l,label:{label:o.primaryContact.name,width:n},nameField:{name:Ke(e,"name"),placeHolder:{firstName:o.primaryContact.firstNamePlaceholder,lastName:o.primaryContact.lastNamePlaceholder,name:o.primaryContact.namePlaceholder},defaultValue:{firstName:u?.firstName??"",lastName:u?.lastName??""},autoComplete:"new-password",registerOptions:{required:m!==!0},showFullNameError:!0}}),t.jsx(yo,{}),t.jsx(P,{isDisabled:l,label:{label:o.primaryContact.email,width:n},text:{type:"email",name:Ke(e,"email"),placeholder:W(o.primaryContact.email),defaultValue:u?.email,autoComplete:"new-password",options:{required:m!==!0}}})]})]})}const Ke=(e,l)=>`${e}.${l}`,mo=i.div`
310
310
  display: flex;
311
311
  flex-direction: column;
@@ -372,7 +372,7 @@ import{J as _,d as St,aR as jt,a9 as Dt,cG as vt,F as E,V as t,bD as Ft,ac as Ct
372
372
  border-bottom-left-radius: inherit;
373
373
  border-bottom-right-radius: inherit;
374
374
  }
375
- `,Ce={labelWidth:new b(100,100,140),mediumLabelWidth:new b(140,150,160),largeLabelWidth:new b(160,180,180)};function Do({data:e,companyInfo:l,sectionId:u,isDisabled:s,isZeniUser:d,onScheduleClick:o}){const n=_(),{companyPassport:m,dateFormat:{visual:f}}=E.getLocalizedStrings(),p=Ce.labelWidth.value(n),r=Ce.mediumLabelWidth.value(n),x=Ce.largeLabelWidth.value(n),S=e.company.company,{controllers:w,subscriptions:F}=e,{managementInfo:O}=S,j=n==="small"?m.zeniFinanceTeam.scheduleCallPlaceholderSmall:m.zeniFinanceTeam.scheduleCallPlaceholder,$=F.filter(h=>h.plan?.plan.name!=null).map(h=>({text:h.plan?.plan.name,subText:h.subscription.subscription.startDate.format(f.MMMDCommaYYYYformat)})),c=At(F.map(h=>h.addOns.map(M=>({text:M.addOn.name,subText:h.subscription.subscription.startDate.format(f.MMMDCommaYYYYformat)})))),v=O.receiverEmails.map(h=>({text:h}));return t.jsxs(Fo,{children:[t.jsx(To,{children:m.zeniFinanceTeam.title}),t.jsxs(Co,{children:[t.jsx(So,{label:{label:m.zeniFinanceTeam.controller,width:r},avatarLabels:{users:w.map(h=>h.user)}}),t.jsx(he,{}),d===!0?t.jsx(P,{isDisabled:s,label:{label:m.zeniFinanceTeam.scheduleCall,width:r},text:{type:"text",name:vo(u,"meetingLink"),placeholder:j,defaultValue:l?.meetingLink?.toString()??"",autoComplete:"new-password",options:{pattern:_t}}}):l?.meetingLink!=null?t.jsx(Mt,{label:{label:m.zeniFinanceTeam.scheduleCall,width:r},button:{buttonTitle:m.zeniFinanceTeam.schedule,onClick:()=>o(l.meetingLink)}}):null,v.length>0?t.jsxs(t.Fragment,{children:[t.jsx(he,{}),t.jsx(ye,{label:{label:m.zeniFinanceTeam.emailUs,width:p},bullettedLabels:{labels:v,listStyleType:"none"}})]}):null,$.length>0?t.jsxs(t.Fragment,{children:[t.jsx(he,{}),t.jsx(ye,{label:{label:m.zeniFinanceTeam.subscriptionPlans,width:x},bullettedLabels:{labels:$,listStyleType:"none"}})]}):null,c.length>0?t.jsxs(t.Fragment,{children:[t.jsx(he,{}),t.jsx(ye,{label:{label:m.zeniFinanceTeam.addons,width:r},bullettedLabels:{labels:c,listStyleType:"none"}})]}):null]})]})}const vo=(e,l)=>`${e}.${l}`,Fo=i.div`
375
+ `,Ce={labelWidth:new b(100,100,140),mediumLabelWidth:new b(140,150,160),largeLabelWidth:new b(160,180,180)};function Do({data:e,companyInfo:l,sectionId:u,isDisabled:s,isZeniUser:d,onScheduleClick:o}){const n=_(),{companyPassport:m,dateFormat:{visual:f}}=E.getLocalizedStrings(),p=Ce.labelWidth.value(n),r=Ce.mediumLabelWidth.value(n),x=Ce.largeLabelWidth.value(n),S=e.company.company,{controllers:w,subscriptions:F}=e,{managementInfo:O}=S,j=n==="small"?m.zeniFinanceTeam.scheduleCallPlaceholderSmall:m.zeniFinanceTeam.scheduleCallPlaceholder,$=F.filter(h=>h.plan?.plan.name!=null).map(h=>({text:h.plan?.plan.name,subText:h.subscription.subscription.startDate.format(f.MMMDCommaYYYYformat)})),c=At(F.map(h=>h.addOns.map(M=>({text:M.addOn.name,subText:h.subscription.subscription.startDate.format(f.MMMDCommaYYYYformat)})))),v=O.receiverEmails.map(h=>({text:h}));return t.jsxs(Fo,{children:[t.jsx(No,{children:m.zeniFinanceTeam.title}),t.jsxs(Co,{children:[t.jsx(So,{label:{label:m.zeniFinanceTeam.controller,width:r},avatarLabels:{users:w.map(h=>h.user)}}),t.jsx(he,{}),d===!0?t.jsx(P,{isDisabled:s,label:{label:m.zeniFinanceTeam.scheduleCall,width:r},text:{type:"text",name:vo(u,"meetingLink"),placeholder:j,defaultValue:l?.meetingLink?.toString()??"",autoComplete:"new-password",options:{pattern:_t}}}):l?.meetingLink!=null?t.jsx(Mt,{label:{label:m.zeniFinanceTeam.scheduleCall,width:r},button:{buttonTitle:m.zeniFinanceTeam.schedule,onClick:()=>o(l.meetingLink)}}):null,v.length>0?t.jsxs(t.Fragment,{children:[t.jsx(he,{}),t.jsx(ye,{label:{label:m.zeniFinanceTeam.emailUs,width:p},bullettedLabels:{labels:v,listStyleType:"none"}})]}):null,$.length>0?t.jsxs(t.Fragment,{children:[t.jsx(he,{}),t.jsx(ye,{label:{label:m.zeniFinanceTeam.subscriptionPlans,width:x},bullettedLabels:{labels:$,listStyleType:"none"}})]}):null,c.length>0?t.jsxs(t.Fragment,{children:[t.jsx(he,{}),t.jsx(ye,{label:{label:m.zeniFinanceTeam.addons,width:r},bullettedLabels:{labels:c,listStyleType:"none"}})]}):null]})]})}const vo=(e,l)=>`${e}.${l}`,Fo=i.div`
376
376
  display: flex;
377
377
  flex-direction: column;
378
378
  padding-top: ${a.sp3};
@@ -384,7 +384,7 @@ import{J as _,d as St,aR as jt,a9 as Dt,cG as vt,F as E,V as t,bD as Ft,ac as Ct
384
384
  border: 1px solid ${e=>e.theme.colors.grey3};
385
385
  box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
386
386
  border-radius: ${a.sp2};
387
- `,To=i(Q)`
387
+ `,No=i(Q)`
388
388
  color: ${e=>e.theme.colors.champion};
389
389
  margin-bottom: ${a.sp3};
390
390
  `,he=i.div`
@@ -393,7 +393,7 @@ import{J as _,d as St,aR as jt,a9 as Dt,cG as vt,F as E,V as t,bD as Ft,ac as Ct
393
393
  background-color: ${e=>e.theme.colors.grey3};
394
394
  min-height: 1px;
395
395
  max-height: 1px;
396
- `,Pe={width:new b(343,580,726),buttonWidth:new b(85,85)},et="companyPassportPage",Ee="companyInfo",ze="companyIncInfo",Ve="companyTaxInfo",Ae="primaryContact",_e="companyOfficer",Me="zeniFinanceTeam";function Jo(e){const l=_(),u=St(),{companyPassportView:s,isZeniUser:d,filesEndPoint:o,authParams:n,allIndustries:m,allNationalityCountries:f,isCompanyVerified:p,isDisabled:r,isSettings:x=!1,onCompanyDetailsChanged:S,onCompanyOfficerUpdated:w,onNewCompanyOfficerAdded:F,onPrimaryContactDetailsUpdated:O,onNewCompanyOfficerRemoved:j,onSaveAll:$,onAddressClick:c,onScheduleClick:v,onBackClick:h,onResetClick:M,onEditFileName:oe,updateFilesEntity:G,onDeleteFile:we,onClickMenuIcon:Ie}=e,{companyView:H,localData:Y,deleteFileStatusById:ie,updateFileStatusById:ne}=s,{companyFiles:K}=Y,re={authParams:n,filesEndPoint:o,onEditFileName:oe,onDeleteFile:we,updateFilesEntity:G},[X,Z]=q.useState(void 0),{companyDetails:de,primaryContact:$e,companyOfficerUpdateStatus:Oe,updateStatus:B}=Y,{localData:C,addressStatus:V}=de,We=jt(B.fetchState),ce=Object.values(Oe).filter(A=>A.localData!=null),U=Dt({mode:"all",defaultValues:at(Y,m,f)});q.useEffect(()=>()=>{Z(void 0)},[]),q.useEffect(()=>{We==="In-Progress"&&(B.fetchState==="Completed"||B.fetchState==="Error")&&(U.reset(at(Y,m,f)),X!==B.fetchState&&Z(B.fetchState))},[X,U,We,B,Y,H,m,f,K]);const wt=async(A,D)=>{if(A.includes(Ee)||A.includes(ze)||A.includes(Ve)||A.includes(Me)){const{companyInfo:k,companyIncInfo:L,companyTaxInfo:J,zeniFinanceTeam:Se}=D;S({companyInfo:k,incInfo:L,taxDetails:J,zeniFinanceTeam:Se})}else if(A.includes(Ae)){O(D.primaryContact);const k=D.companyOfficer.map(L=>L.userId);if(D.primaryContact.userId!=null&&k.includes(D.primaryContact.userId)){const L=k.findIndex(J=>J===D.primaryContact.userId);L>=0&&w({...D.companyOfficer[L],name:D.primaryContact.name,officerType:`Officer_${L+1}`})}}else if(A.includes(_e)){const k=parseInt(A.split(".")[1]);if(k>=0)w({...D.companyOfficer[k],officerType:`Officer_${k+1}`}),D.companyOfficer[k].userId!=null&&D.companyOfficer[k].userId===D.primaryContact.userId&&O({...D.primaryContact,name:D.companyOfficer[k].name});else if(D.companyOfficer.length>ce.length){const L=D.companyOfficer[D.companyOfficer.length-1];F(L)}else{const L=D.companyOfficer.filter(J=>J.officerType!=null);if(L.length<ce.length){const J=L.map((Se,Ot)=>{const Be={...Se,officerType:`Officer_${Ot+1}`};return w(Be),Be});L.length<ce.length&&(j(`Officer_${L.length+1}`),U.reset({companyOfficer:J}))}}}};q.useEffect(()=>{const A=U.watch((D,{name:k})=>{k!=null&&D!=null&&vt(()=>wt(k,D))});return()=>{A.unsubscribe()}});const It=U.handleSubmit(A=>{X!=null&&Z(void 0),$()}),{companyPassport:pe,common:{settings:$t}}=E.getLocalizedStrings();if(H==null)throw new Error("Company View is null");return t.jsxs(No,{children:[t.jsx(Ft,{title:pe.title,backgroundColor:u.colors.grey4,style:{zIndex:3},onBackClick:h,showBackButton:!x,showMenuIcon:x?l==="medium-compact"||l==="small":!1,source:"CompanyPassportPage",onClickMenuIcon:Ie}),X!=null?t.jsx(ja,{fetchState:X,onRemoveSnackbar:()=>Z(void 0)}):null,t.jsxs(ko,{children:[t.jsx(Lo,{windowSize:l,children:x?$t.infoText.companyDetails:pe.quickAccessInfo}),t.jsx(Ct,{...U,children:t.jsxs("form",{id:tt(et),onSubmit:It,children:[t.jsx(za,{sectionId:Ee,companyInfo:C?.companyInfo,companyViewData:H,companyAddress:V,isDisabled:r,isCompanyVerified:p,onCompanyAddressClick:c,allIndustries:m,allNationalityCountries:f}),t.jsx(Da,{sectionId:ze,updateFileStatusById:ne,deleteFileStatusById:ie,companyFiles:K,companyIncInfo:C?.incInfo,fileProps:re,isDisabled:r}),t.jsx(so,{sectionId:Ve,updateFileStatusById:ne,deleteFileStatusById:ie,companyFiles:K,companyTaxInfo:C?.taxDetails,fileProps:re,isDisabled:r}),t.jsx(uo,{sectionId:Ae,primaryContact:$e.localData,isDisabled:r}),t.jsx(Ya,{companyOfficers:ce,sectionId:_e,isDisabled:r,onOfficerAddressClick:c}),t.jsx(Do,{data:H,companyInfo:C?.companyInfo,isDisabled:r,isZeniUser:d,sectionId:Me,onScheduleClick:v})]})})]}),Tt(U.formState.dirtyFields)||ta(Y,H,K)?t.jsx(Nt,{formId:tt(et),primaryBtn:{label:pe.save,isLoading:B.fetchState==="In-Progress",style:{width:Pe.buttonWidth.value(l)},isDisabled:e.isDisabled!=null},cancelBtn:{label:pe.cancel,style:{width:Pe.buttonWidth.value(l)},onClick:()=>{U.reset(),M()}}}):null]})}const tt=e=>`${e}_form`,at=(e,l,u)=>{const{companyDetails:s,primaryContact:d,companyOfficerUpdateStatus:o}=e,n=E.getLocalizedStrings().companyPassport,m=s.localData?.incInfo.fileId!=null?[s.localData?.incInfo.fileId]:[],f=s.localData?.taxDetails.fileId!=null?[s.localData?.taxDetails.fileId]:[],p=s.localData?.companyInfo;return{[Ee]:{...kt(s.localData?.companyInfo??{},["meetingLink","companySourceOfFunds","companySourceOfFundsDescription","countriesOfOperations","transactionVolume","transactionVolumeDescription","regulatedStatus","regulatedStatusDescription","usNexus","usNexusTypes","purposeOfAccount","purposeOfAccountDescription","companyIndustryType","companySubIndustry"]),businessModel:{selectedOption:p?.businessModel,allOptions:n.companyInfo.allBusinessModels},website:p?.website?.toString()??"",industry:{selectedOption:p?.industry,allOptions:l?.map(r=>r.code)},companyIndustryType:{selectedOption:p?.companyIndustryType,allOptions:[...ut]},subIndustry:{selectedOption:p?.companySubIndustry,allOptions:Te(p?.companyIndustryType)},firstMonthOfFY:p?.firstMonthOfFY,companySourceOfFunds:{selectedOption:p?.companySourceOfFunds,allOptions:[...pt]},companySourceOfFundsDescription:p?.companySourceOfFundsDescription,countriesOfOperations:ot(p?.countriesOfOperations,(u??[]).map(r=>r.countryCode)),transactionVolume:{selectedOption:p?.transactionVolume,allOptions:[...ct]},transactionVolumeDescription:p?.transactionVolumeDescription,regulatedStatus:p?.regulatedStatus??"",regulatedStatusDescription:p?.regulatedStatusDescription,usNexus:p?.usNexus??"",usNexusTypes:{selectedOptions:p?.usNexusTypes??[],allOptions:[...dt]},purposeOfAccount:{selectedOption:p?.purposeOfAccount,allOptions:[...rt]},purposeOfAccountDescription:p?.purposeOfAccountDescription},[Ve]:{...s.localData?.taxDetails,taxesFiledYears:{selectedOptions:s.localData?.taxDetails.taxesFiledYears.map(r=>r.toString())??[],allOptions:mt().map(r=>r.toString())},einDocument:e.companyFiles.find(r=>r.documentType==="tax_ein"),fileIds:f},[ze]:{typeOfInc:{selectedOption:s.localData?.incInfo?.typeOfInc,allOptions:n.companyIncInfo.allTypesOfIncorporation},stateOfInc:{selectedOption:s.localData?.incInfo?.stateOfInc,allOptions:n.companyIncInfo.allStatesOfIncorporation},incDate:s.localData?.incInfo.incDate?.toDate(),certificateOfIncorporation:e.companyFiles.find(r=>r.documentType==="certificate_of_incorporation"),fileIds:m},[Ae]:{userId:d.localData?.userId,name:{firstName:d.localData?.firstName,lastName:d.localData?.lastName},email:d.localData?.email},[_e]:Object.values(o).filter(r=>r.localData!=null).map(r=>{const x=r.localData;return{userId:x.userId,officerType:x.officerType,name:{firstName:x.firstName,lastName:x.lastName},email:x.email,phone:x.phone}}),[Me]:{meetingLink:s.localData?.companyInfo.meetingLink?.toString()??""}}},No=i.div`
396
+ `,Pe={width:new b(343,580,726),buttonWidth:new b(85,85)},et="companyPassportPage",Ee="companyInfo",ze="companyIncInfo",Ve="companyTaxInfo",Ae="primaryContact",_e="companyOfficer",Me="zeniFinanceTeam";function Jo(e){const l=_(),u=St(),{companyPassportView:s,isZeniUser:d,filesEndPoint:o,authParams:n,allIndustries:m,allNationalityCountries:f,isCompanyVerified:p,isDisabled:r,isSettings:x=!1,onCompanyDetailsChanged:S,onCompanyOfficerUpdated:w,onNewCompanyOfficerAdded:F,onPrimaryContactDetailsUpdated:O,onNewCompanyOfficerRemoved:j,onSaveAll:$,onAddressClick:c,onScheduleClick:v,onBackClick:h,onResetClick:M,onEditFileName:oe,updateFilesEntity:G,onDeleteFile:we,onClickMenuIcon:Ie}=e,{companyView:H,localData:Y,deleteFileStatusById:ie,updateFileStatusById:ne}=s,{companyFiles:K}=Y,re={authParams:n,filesEndPoint:o,onEditFileName:oe,onDeleteFile:we,updateFilesEntity:G},[X,Z]=q.useState(void 0),{companyDetails:de,primaryContact:$e,companyOfficerUpdateStatus:Oe,updateStatus:B}=Y,{localData:C,addressStatus:V}=de,We=jt(B.fetchState),ce=Object.values(Oe).filter(A=>A.localData!=null),U=Dt({mode:"all",defaultValues:at(Y,m,f)});q.useEffect(()=>()=>{Z(void 0)},[]),q.useEffect(()=>{We==="In-Progress"&&(B.fetchState==="Completed"||B.fetchState==="Error")&&(U.reset(at(Y,m,f)),X!==B.fetchState&&Z(B.fetchState))},[X,U,We,B,Y,H,m,f,K]);const wt=async(A,D)=>{if(A.includes(Ee)||A.includes(ze)||A.includes(Ve)||A.includes(Me)){const{companyInfo:k,companyIncInfo:L,companyTaxInfo:J,zeniFinanceTeam:Se}=D;S({companyInfo:k,incInfo:L,taxDetails:J,zeniFinanceTeam:Se})}else if(A.includes(Ae)){O(D.primaryContact);const k=D.companyOfficer.map(L=>L.userId);if(D.primaryContact.userId!=null&&k.includes(D.primaryContact.userId)){const L=k.findIndex(J=>J===D.primaryContact.userId);L>=0&&w({...D.companyOfficer[L],name:D.primaryContact.name,officerType:`Officer_${L+1}`})}}else if(A.includes(_e)){const k=parseInt(A.split(".")[1]);if(k>=0)w({...D.companyOfficer[k],officerType:`Officer_${k+1}`}),D.companyOfficer[k].userId!=null&&D.companyOfficer[k].userId===D.primaryContact.userId&&O({...D.primaryContact,name:D.companyOfficer[k].name});else if(D.companyOfficer.length>ce.length){const L=D.companyOfficer[D.companyOfficer.length-1];F(L)}else{const L=D.companyOfficer.filter(J=>J.officerType!=null);if(L.length<ce.length){const J=L.map((Se,Ot)=>{const Be={...Se,officerType:`Officer_${Ot+1}`};return w(Be),Be});L.length<ce.length&&(j(`Officer_${L.length+1}`),U.reset({companyOfficer:J}))}}}};q.useEffect(()=>{const A=U.watch((D,{name:k})=>{k!=null&&D!=null&&vt(()=>wt(k,D))});return()=>{A.unsubscribe()}});const It=U.handleSubmit(A=>{X!=null&&Z(void 0),$()}),{companyPassport:pe,common:{settings:$t}}=E.getLocalizedStrings();if(H==null)throw new Error("Company View is null");return t.jsxs(To,{children:[t.jsx(Ft,{title:pe.title,backgroundColor:u.colors.grey4,style:{zIndex:3},onBackClick:h,showBackButton:!x,showMenuIcon:x?l==="medium-compact"||l==="small":!1,source:"CompanyPassportPage",onClickMenuIcon:Ie}),X!=null?t.jsx(ja,{fetchState:X,onRemoveSnackbar:()=>Z(void 0)}):null,t.jsxs(ko,{children:[t.jsx(Lo,{windowSize:l,children:x?$t.infoText.companyDetails:pe.quickAccessInfo}),t.jsx(Ct,{...U,children:t.jsxs("form",{id:tt(et),onSubmit:It,children:[t.jsx(za,{sectionId:Ee,companyInfo:C?.companyInfo,companyViewData:H,companyAddress:V,isDisabled:r,isCompanyVerified:p,onCompanyAddressClick:c,allIndustries:m,allNationalityCountries:f}),t.jsx(Da,{sectionId:ze,updateFileStatusById:ne,deleteFileStatusById:ie,companyFiles:K,companyIncInfo:C?.incInfo,fileProps:re,isDisabled:r}),t.jsx(so,{sectionId:Ve,updateFileStatusById:ne,deleteFileStatusById:ie,companyFiles:K,companyTaxInfo:C?.taxDetails,fileProps:re,isDisabled:r}),t.jsx(uo,{sectionId:Ae,primaryContact:$e.localData,isDisabled:r}),t.jsx(Ya,{companyOfficers:ce,sectionId:_e,isDisabled:r,onOfficerAddressClick:c}),t.jsx(Do,{data:H,companyInfo:C?.companyInfo,isDisabled:r,isZeniUser:d,sectionId:Me,onScheduleClick:v})]})})]}),Nt(U.formState.dirtyFields)||ta(Y,H,K)?t.jsx(Tt,{formId:tt(et),primaryBtn:{label:pe.save,isLoading:B.fetchState==="In-Progress",style:{width:Pe.buttonWidth.value(l)},isDisabled:e.isDisabled!=null},cancelBtn:{label:pe.cancel,style:{width:Pe.buttonWidth.value(l)},onClick:()=>{U.reset(),M()}}}):null]})}const tt=e=>`${e}_form`,at=(e,l,u)=>{const{companyDetails:s,primaryContact:d,companyOfficerUpdateStatus:o}=e,n=E.getLocalizedStrings().companyPassport,m=s.localData?.incInfo.fileId!=null?[s.localData?.incInfo.fileId]:[],f=s.localData?.taxDetails.fileId!=null?[s.localData?.taxDetails.fileId]:[],p=s.localData?.companyInfo;return{[Ee]:{...kt(s.localData?.companyInfo??{},["meetingLink","companySourceOfFunds","companySourceOfFundsDescription","countriesOfOperations","transactionVolume","transactionVolumeDescription","regulatedStatus","regulatedStatusDescription","usNexus","usNexusTypes","purposeOfAccount","purposeOfAccountDescription","companyIndustryType","companySubIndustry"]),businessModel:{selectedOption:p?.businessModel,allOptions:n.companyInfo.allBusinessModels},website:p?.website?.toString()??"",industry:{selectedOption:p?.industry,allOptions:l?.map(r=>r.code)},companyIndustryType:{selectedOption:p?.companyIndustryType,allOptions:[...ut]},subIndustry:{selectedOption:p?.companySubIndustry,allOptions:Ne(p?.companyIndustryType)},firstMonthOfFY:p?.firstMonthOfFY,companySourceOfFunds:{selectedOption:p?.companySourceOfFunds,allOptions:[...pt]},companySourceOfFundsDescription:p?.companySourceOfFundsDescription,countriesOfOperations:ot(p?.countriesOfOperations,(u??[]).map(r=>r.countryCode)),transactionVolume:{selectedOption:p?.transactionVolume,allOptions:[...ct]},transactionVolumeDescription:p?.transactionVolumeDescription,regulatedStatus:p?.regulatedStatus??"",regulatedStatusDescription:p?.regulatedStatusDescription,usNexus:p?.usNexus??"",usNexusTypes:{selectedOptions:p?.usNexusTypes??[],allOptions:[...dt]},purposeOfAccount:{selectedOption:p?.purposeOfAccount,allOptions:[...rt]},purposeOfAccountDescription:p?.purposeOfAccountDescription},[Ve]:{...s.localData?.taxDetails,taxesFiledYears:{selectedOptions:s.localData?.taxDetails.taxesFiledYears.map(r=>r.toString())??[],allOptions:mt().map(r=>r.toString())},einDocument:e.companyFiles.find(r=>r.documentType==="tax_ein"),fileIds:f},[ze]:{typeOfInc:{selectedOption:s.localData?.incInfo?.typeOfInc,allOptions:n.companyIncInfo.allTypesOfIncorporation},stateOfInc:{selectedOption:s.localData?.incInfo?.stateOfInc,allOptions:n.companyIncInfo.allStatesOfIncorporation},incDate:s.localData?.incInfo.incDate?.toDate(),certificateOfIncorporation:e.companyFiles.find(r=>r.documentType==="certificate_of_incorporation"),fileIds:m},[Ae]:{userId:d.localData?.userId,name:{firstName:d.localData?.firstName,lastName:d.localData?.lastName},email:d.localData?.email},[_e]:Object.values(o).filter(r=>r.localData!=null).map(r=>{const x=r.localData;return{userId:x.userId,officerType:x.officerType,name:{firstName:x.firstName,lastName:x.lastName},email:x.email,phone:x.phone}}),[Me]:{meetingLink:s.localData?.companyInfo.meetingLink?.toString()??""}}},To=i.div`
397
397
  display: flex;
398
398
  min-height: 100%;
399
399
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{a9 as V,gV as v,F as S,V as g,gW as $,aa as l,al as q,ac as J,cL as _,cV as W,cS as T,o as E,gX as Z,cQ as z,aS as X,R as AA,c3 as gA,gY as BA}from"./index-CbBDw148.js";import{a as B,P as c}from"./sentry-ClS5bwGc.js";import{n as o}from"./mui-BLUOobNq.js";import{bh as eA}from"./zeni-epic-state-W0HMFHDj.js";import{$ as EA}from"./LabeledAddressValue-CQrDCgNs-DLETXjJP.js";import"./liveblocks-ivZsDCw2.js";import"./core-Ce1HnmCU.js";import"./recharts-J8hRG6fl.js";import"./lottie-solWV_WO.js";import"./analytics-hCfYtzJT.js";import"./lexical-Dk2CPrxk.js";import"./utils-DG8PAOHO.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new A.Error().stack;i&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[i]="cf2d771e-19c8-4f72-9e5a-7c8360f27471",A._sentryDebugIdIdentifier="sentry-dbid-cf2d771e-19c8-4f72-9e5a-7c8360f27471")}catch{}})();const CA=A=>B.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...A},B.createElement("path",{opacity:.2,d:"M26.3252 5H51.6377C51.6377 5 57.2627 5 57.2627 10.625V64.0625C57.2627 64.0625 57.2627 69.6875 51.6377 69.6875H26.3252C26.3252 69.6875 20.7002 69.6875 20.7002 64.0625V10.625C20.7002 10.625 20.7002 5 26.3252 5Z",fill:"#97C3B9"}),B.createElement("path",{d:"M23.3252 2H48.6377C48.6377 2 54.2627 2 54.2627 7.625V61.0625C54.2627 61.0625 54.2627 66.6875 48.6377 66.6875H23.3252C23.3252 66.6875 17.7002 66.6875 17.7002 61.0625V7.625C17.7002 7.625 17.7002 2 23.3252 2Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.0127 2V4.8125C43.0127 5.55842 42.7164 6.27379 42.1889 6.80124C41.6615 7.32868 40.9461 7.625 40.2002 7.625H31.7627C31.0168 7.625 30.3014 7.32868 29.774 6.80124C29.2465 6.27379 28.9502 5.55842 28.9502 4.8125V2",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("g",{style:{mixBlendMode:"darken"}},B.createElement("rect",{width:26,height:26,transform:"translate(22 12)",fill:"url(#pattern0_2225_11447)"}),B.createElement("circle",{cx:42,cy:32,r:12,fill:"url(#pattern1_2225_11447)"})),B.createElement("path",{d:"M39.625 57.875H67.125C67.4565 57.875 67.7745 57.7433 68.0089 57.5089C68.2433 57.2745 68.375 56.9565 68.375 56.625V47.875C68.375 47.5435 68.2433 47.2255 68.0089 46.9911C67.7745 46.7567 67.4565 46.625 67.125 46.625H40.875C40.5435 46.625 40.2255 46.7567 39.9911 46.9911C39.7567 47.2255 39.625 47.5435 39.625 47.875V57.875Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M62.1543 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0629 50.9288L64.2441 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0744 53.6874L64.2344 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M53.9727 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8812 50.9288L56.0625 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8927 53.6874L56.0527 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M45.792 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7006 50.9288L47.8818 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7121 53.6874L47.8721 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("defs",null,B.createElement("pattern",{id:"pattern0_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"scale(0.002)"})),B.createElement("pattern",{id:"pattern1_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"translate(-0.332832 -0.331172) scale(0.00333133)"})),B.createElement("image",{id:"image0_2225_11447",width:500,height:500,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAYAAADL1t+KAAAAAXNSR0IArs4c6QAAFQVJREFUeF7t1cENwCAQA0Hov1s+yS+R6OJWQwV4fJL3ed5veQQIECBAgMBogW3QR/fn8wQIECBA4AoYdIdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAo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3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDgB7iZk96LOSbbAAAAAElFTkSuQmCC"}))),QA=A=>B.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},B.createElement("path",{d:"M1.33333 6.16693H2.52343C2.68125 6.16693 2.8326 6.22962 2.94419 6.34122C3.05579 6.45281 3.11848 6.60416 3.11848 6.76198V13.9026C3.11848 14.0604 3.05579 14.2118 2.94419 14.3233C2.8326 14.4349 2.68125 14.4976 2.52343 14.4976H1.33333",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M3.11848 12.7125C7.48556 14.9296 7.27253 14.6374 11.0118 14.6374C12.578 14.6374 13.367 13.6169 13.8276 12.1216V12.1121L14.9624 8.30373V8.29659C15.016 8.11929 15.0275 7.93192 14.9959 7.74939C14.9644 7.56686 14.8907 7.39421 14.7807 7.24519C14.6707 7.09617 14.5274 6.97488 14.3622 6.89099C14.1971 6.8071 14.0146 6.76292 13.8294 6.76196H10.9136C10.7315 6.76197 10.5518 6.72017 10.3883 6.63977C10.2249 6.55937 10.082 6.44253 9.97086 6.29824C9.85968 6.15395 9.7831 5.98606 9.74704 5.80751C9.71097 5.62896 9.71637 5.44452 9.76281 5.26838L10.2876 3.27854C10.3485 3.04716 10.326 2.80175 10.2241 2.58528C10.1223 2.36881 9.94748 2.19507 9.73041 2.09448C9.51334 1.99388 9.2678 1.97285 9.03679 2.03506C8.80577 2.09727 8.604 2.23876 8.4668 2.43475L5.55819 6.55548C5.44832 6.7112 5.30266 6.83826 5.13345 6.92597C4.96425 7.01368 4.77646 7.05947 4.58588 7.05948H3.11848",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),e=S.getLocalizedStrings(),p="completeProfilePage",Q="basicDetailsSection",m="addressSection",n=(A,i)=>`${A}.${i}`,MA=({userEmail:A,googleAPIKey:i,twoFactorAuthenticationView:r,saveStatus:G,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:f,onVerifyOtp:M,onResendOtp:y})=>{const[t,a]=B.useState(!1),[k,Y]=B.useState(!1),I=V({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=v({control:I.control,name:`${Q}.address`}),{dateFormat:F}=S.getLocalizedStrings(),h=()=>{const C=I.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&f(C)},L=(C,d)=>{M(C,d)},R=C=>{C!=null&&C.trim().length>0&&y(C)},K=()=>{a(!0)},U=()=>{a(!1)},b=()=>{const C=I.getValues(`${m}`);if(C!=null){const d=BA(C);I.setValue(`${Q}.address`,d)}a(!1)},P=I.handleSubmit(C=>{if(C[Q].phone!=null&&r.otpVerificationStatus.fetchState!=="Completed"||r.otpVerificationStatus.fetchState==="Completed"&&C[Q].phone!=r.phone){h();return}D&&D(C)}),{sendOtpStatus:O,otpVerificationStatus:s,otpChallenge:H,phone:j}=r,N=g.jsxs(rA,{children:[g.jsx(CA,{}),g.jsxs(sA,{children:[g.jsxs(lA,{children:[g.jsx($,{children:s.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),g.jsx(l,{controller:s.fetchState==="Completed",children:g.jsx(nA,{})})]}),g.jsx(q,{children:e.completeProfile.enableTwoFADescription})]})]});return g.jsxs(oA,{children:[g.jsxs(tA,{children:[g.jsxs(IA,{children:[t&&g.jsx(iA,{onClick:U}),e.completeProfile.title]}),g.jsx(J,{...I,children:g.jsxs("form",{id:`${p}_form`,onSubmit:P,children:[g.jsx(l,{controller:w===!1,children:g.jsxs(u,{children:[g.jsx(l,{controller:t===!1,children:g.jsxs(c.Fragment,{children:[g.jsx(_,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:n(Q,"email")}}),g.jsx(W,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:n(Q,"name"),placeHolder:{firstName:e.common.placeholder.firstNamePlaceholder,lastName:e.common.placeholder.lastNamePlaceholder,name:e.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),g.jsx(T,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:n(Q,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:F.visual.defaultInput,autoComplete:"off",maxDate:eA().subtract(18,"year")}}),g.jsx(EA,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:x,onClick:K},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),g.jsx(l,{controller:t===!0,children:g.jsx(c.Fragment,{children:g.jsx(Z,{sectionId:m,googleAPIKey:i,isSubPage:!0})})})]})}),g.jsx(u,{children:g.jsx(z,{infoBox:N,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:n(Q,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:I.getValues(`${Q}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:k,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:H,showOtpButton:!0,onGetOtp:h,onVerifyOtp:L,onResendOtp:R,isPhoneVerified:s.fetchState==="Completed",phoneVerificationStatus:s,getOtpStatus:O,verifiedPhoneNumber:s.fetchState==="Completed"?j:void 0,openPopup:()=>{Y(!0)},focusNotRequired:!0},bottomText:s.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),g.jsx(X,{formId:t?void 0:`${p}_form`,primaryBtn:{label:t?e.companyPassport.address.saveAddress:e.common.footer.save,type:t?"button":"submit",onClick:t?b:void 0,isLoading:G.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},oA=o.div`
1
+ import{aa as $,g$ as V,b as S,V as g,h0 as v,ab as l,an as q,ae as J,cN as _,cX as W,cU as T,o as E,h1 as Z,cS as z,aT as X,e as AA,c4 as gA,h2 as BA}from"./index-Cq3X29cS.js";import{a as B,P as c}from"./sentry-DQ_HstYV.js";import{n as o}from"./mui-DzE-7sTl.js";import{bh as eA}from"./zeni-epic-state-B4gyGBI3.js";import{$ as EA}from"./LabeledAddressValue-inaQliHs-Dg9xTHiz.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new A.Error().stack;i&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[i]="e8054e63-6678-4f83-96ce-a79f0ab03a98",A._sentryDebugIdIdentifier="sentry-dbid-e8054e63-6678-4f83-96ce-a79f0ab03a98")}catch{}})();const CA=A=>B.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...A},B.createElement("path",{opacity:.2,d:"M26.3252 5H51.6377C51.6377 5 57.2627 5 57.2627 10.625V64.0625C57.2627 64.0625 57.2627 69.6875 51.6377 69.6875H26.3252C26.3252 69.6875 20.7002 69.6875 20.7002 64.0625V10.625C20.7002 10.625 20.7002 5 26.3252 5Z",fill:"#97C3B9"}),B.createElement("path",{d:"M23.3252 2H48.6377C48.6377 2 54.2627 2 54.2627 7.625V61.0625C54.2627 61.0625 54.2627 66.6875 48.6377 66.6875H23.3252C23.3252 66.6875 17.7002 66.6875 17.7002 61.0625V7.625C17.7002 7.625 17.7002 2 23.3252 2Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.0127 2V4.8125C43.0127 5.55842 42.7164 6.27379 42.1889 6.80124C41.6615 7.32868 40.9461 7.625 40.2002 7.625H31.7627C31.0168 7.625 30.3014 7.32868 29.774 6.80124C29.2465 6.27379 28.9502 5.55842 28.9502 4.8125V2",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("g",{style:{mixBlendMode:"darken"}},B.createElement("rect",{width:26,height:26,transform:"translate(22 12)",fill:"url(#pattern0_2225_11447)"}),B.createElement("circle",{cx:42,cy:32,r:12,fill:"url(#pattern1_2225_11447)"})),B.createElement("path",{d:"M39.625 57.875H67.125C67.4565 57.875 67.7745 57.7433 68.0089 57.5089C68.2433 57.2745 68.375 56.9565 68.375 56.625V47.875C68.375 47.5435 68.2433 47.2255 68.0089 46.9911C67.7745 46.7567 67.4565 46.625 67.125 46.625H40.875C40.5435 46.625 40.2255 46.7567 39.9911 46.9911C39.7567 47.2255 39.625 47.5435 39.625 47.875V57.875Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M62.1543 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0629 50.9288L64.2441 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0744 53.6874L64.2344 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M53.9727 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8812 50.9288L56.0625 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8927 53.6874L56.0527 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M45.792 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7006 50.9288L47.8818 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7121 53.6874L47.8721 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("defs",null,B.createElement("pattern",{id:"pattern0_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"scale(0.002)"})),B.createElement("pattern",{id:"pattern1_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"translate(-0.332832 -0.331172) scale(0.00333133)"})),B.createElement("image",{id:"image0_2225_11447",width:500,height:500,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAYAAADL1t+KAAAAAXNSR0IArs4c6QAAFQVJREFUeF7t1cENwCAQA0Hov1s+yS+R6OJWQwV4fJL3ed5veQQIECBAgMBogW3QR/fn8wQIECBA4AoYdIdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQED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GPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDgB7iZk96LOSbbAAAAAElFTkSuQmCC"}))),QA=A=>B.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},B.createElement("path",{d:"M1.33333 6.16693H2.52343C2.68125 6.16693 2.8326 6.22962 2.94419 6.34122C3.05579 6.45281 3.11848 6.60416 3.11848 6.76198V13.9026C3.11848 14.0604 3.05579 14.2118 2.94419 14.3233C2.8326 14.4349 2.68125 14.4976 2.52343 14.4976H1.33333",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M3.11848 12.7125C7.48556 14.9296 7.27253 14.6374 11.0118 14.6374C12.578 14.6374 13.367 13.6169 13.8276 12.1216V12.1121L14.9624 8.30373V8.29659C15.016 8.11929 15.0275 7.93192 14.9959 7.74939C14.9644 7.56686 14.8907 7.39421 14.7807 7.24519C14.6707 7.09617 14.5274 6.97488 14.3622 6.89099C14.1971 6.8071 14.0146 6.76292 13.8294 6.76196H10.9136C10.7315 6.76197 10.5518 6.72017 10.3883 6.63977C10.2249 6.55937 10.082 6.44253 9.97086 6.29824C9.85968 6.15395 9.7831 5.98606 9.74704 5.80751C9.71097 5.62896 9.71637 5.44452 9.76281 5.26838L10.2876 3.27854C10.3485 3.04716 10.326 2.80175 10.2241 2.58528C10.1223 2.36881 9.94748 2.19507 9.73041 2.09448C9.51334 1.99388 9.2678 1.97285 9.03679 2.03506C8.80577 2.09727 8.604 2.23876 8.4668 2.43475L5.55819 6.55548C5.44832 6.7112 5.30266 6.83826 5.13345 6.92597C4.96425 7.01368 4.77646 7.05947 4.58588 7.05948H3.11848",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),e=S.getLocalizedStrings(),p="completeProfilePage",Q="basicDetailsSection",m="addressSection",n=(A,i)=>`${A}.${i}`,fA=({userEmail:A,googleAPIKey:i,twoFactorAuthenticationView:r,saveStatus:G,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:M,onVerifyOtp:f,onResendOtp:y})=>{const[t,a]=B.useState(!1),[k,Y]=B.useState(!1),I=$({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=V({control:I.control,name:`${Q}.address`}),{dateFormat:F}=S.getLocalizedStrings(),h=()=>{const C=I.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&M(C)},L=(C,d)=>{f(C,d)},R=C=>{C!=null&&C.trim().length>0&&y(C)},U=()=>{a(!0)},K=()=>{a(!1)},b=()=>{const C=I.getValues(`${m}`);if(C!=null){const d=BA(C);I.setValue(`${Q}.address`,d)}a(!1)},P=I.handleSubmit(C=>{if(C[Q].phone!=null&&r.otpVerificationStatus.fetchState!=="Completed"||r.otpVerificationStatus.fetchState==="Completed"&&C[Q].phone!=r.phone){h();return}D&&D(C)}),{sendOtpStatus:O,otpVerificationStatus:s,otpChallenge:H,phone:j}=r,N=g.jsxs(rA,{children:[g.jsx(CA,{}),g.jsxs(sA,{children:[g.jsxs(lA,{children:[g.jsx(v,{children:s.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),g.jsx(l,{controller:s.fetchState==="Completed",children:g.jsx(nA,{})})]}),g.jsx(q,{children:e.completeProfile.enableTwoFADescription})]})]});return g.jsxs(oA,{children:[g.jsxs(tA,{children:[g.jsxs(IA,{children:[t&&g.jsx(iA,{onClick:K}),e.completeProfile.title]}),g.jsx(J,{...I,children:g.jsxs("form",{id:`${p}_form`,onSubmit:P,children:[g.jsx(l,{controller:w===!1,children:g.jsxs(u,{children:[g.jsx(l,{controller:t===!1,children:g.jsxs(c.Fragment,{children:[g.jsx(_,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:n(Q,"email")}}),g.jsx(W,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:n(Q,"name"),placeHolder:{firstName:e.common.placeholder.firstNamePlaceholder,lastName:e.common.placeholder.lastNamePlaceholder,name:e.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),g.jsx(T,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:n(Q,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:F.visual.defaultInput,autoComplete:"off",maxDate:eA().subtract(18,"year")}}),g.jsx(EA,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:x,onClick:U},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),g.jsx(l,{controller:t===!0,children:g.jsx(c.Fragment,{children:g.jsx(Z,{sectionId:m,googleAPIKey:i,isSubPage:!0})})})]})}),g.jsx(u,{children:g.jsx(z,{infoBox:N,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:n(Q,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:I.getValues(`${Q}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:k,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:H,showOtpButton:!0,onGetOtp:h,onVerifyOtp:L,onResendOtp:R,isPhoneVerified:s.fetchState==="Completed",phoneVerificationStatus:s,getOtpStatus:O,verifiedPhoneNumber:s.fetchState==="Completed"?j:void 0,openPopup:()=>{Y(!0)},focusNotRequired:!0},bottomText:s.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),g.jsx(X,{formId:t?void 0:`${p}_form`,primaryBtn:{label:t?e.companyPassport.address.saveAddress:e.common.footer.save,type:t?"button":"submit",onClick:t?b:void 0,isLoading:G.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},oA=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-height: 100vh;
@@ -49,4 +49,4 @@ import{a9 as V,gV as v,F as S,V as g,gW as $,aa as l,al as q,ac as J,cL as _,cV
49
49
  width: ${E.sp3};
50
50
  height: ${E.sp3};
51
51
  color: ${A=>A.theme.colors.success};
52
- `;export{MA as default};
52
+ `;export{fA as default};
@@ -0,0 +1 @@
1
+ import{d9 as d,ax as f,V as a,b7 as l,o as p}from"./index-Cq3X29cS.js";import{a as r}from"./sentry-DQ_HstYV.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./zeni-epic-state-B4gyGBI3.js";import"./mui-DzE-7sTl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.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]="0ab9578d-7d13-415e-88a6-96a8d43360ff",e._sentryDebugIdIdentifier="sentry-dbid-0ab9578d-7d13-415e-88a6-96a8d43360ff")}catch{}})();const u="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",E=({showConfetti:e})=>{const[t,o]=r.useState(e),[s,i]=d(u,e),[n]=f("ConfettiSuccess");return r.useEffect(()=>{e&&o(!0)},[e]),r.useEffect(()=>{t&&s===!1&&i(!0)},[t,s,i]),a.jsx(a.Fragment,{children:t&&s&&n!=null?a.jsx(l,{style:{position:"absolute",width:"100%",height:"100vh",top:p.sp0,left:p.sp0,zIndex:5},onComplete:()=>{i(!1),o(!1)},animationData:n,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{E as default};
@@ -1,4 +1,4 @@
1
- import{V as n}from"./index-CbBDw148.js";import{a as r}from"./sentry-ClS5bwGc.js";import{n as s}from"./mui-BLUOobNq.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]="8c117742-f646-4198-bee3-9e4fd8a5d2d7",e._sentryDebugIdIdentifier="sentry-dbid-8c117742-f646-4198-bee3-9e4fd8a5d2d7")}catch{}})();const i=s.div`
1
+ import{V as n}from"./index-Cq3X29cS.js";import{a as r}from"./sentry-DQ_HstYV.js";import{n as s}from"./mui-DzE-7sTl.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]="8c117742-f646-4198-bee3-9e4fd8a5d2d7",e._sentryDebugIdIdentifier="sentry-dbid-8c117742-f646-4198-bee3-9e4fd8a5d2d7")}catch{}})();const i=s.div`
2
2
  width: auto;
3
3
  max-width: var(--side-panel-list-width, 100%);
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{d as He,J as v,aE as Y,cJ as Ye,V as t,bD as Je,aQ as $,T as qe,cq as ie,cr as se,cs as le,d3 as Ge,aS as Ke,y as J,F as x,c3 as Qe,o,d4 as Ze,bU as S,cj as de,u as w,b8 as ce,ai as pe,al as G,bu as Xe,d0 as me,d5 as et,p as B,d6 as ue,c$ as he}from"./index-CbBDw148.js";import{a as g}from"./sentry-ClS5bwGc.js";import{n as r}from"./mui-BLUOobNq.js";import"./liveblocks-ivZsDCw2.js";import"./core-Ce1HnmCU.js";import"./recharts-J8hRG6fl.js";import"./zeni-epic-state-W0HMFHDj.js";import"./lottie-solWV_WO.js";import"./analytics-hCfYtzJT.js";import"./lexical-Dk2CPrxk.js";import"./utils-DG8PAOHO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9eff6bfd-355f-4e6a-a2de-ed081e32d09a",e._sentryDebugIdIdentifier="sentry-dbid-9eff6bfd-355f-4e6a-a2de-ed081e32d09a")}catch{}})();const tt=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:n,accountTypeLabel:s,accountType:l,bankName:m,routingNumberOrSwiftCode:p,accountName:f,routingNumberOrSwiftCodeLabel:j,onDeleteClick:u})=>{const b=v(),h=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,C=t.jsxs(ot,{children:[t.jsxs(I,{children:[t.jsx(N,{children:j}),t.jsx(T,{children:p})]}),t.jsxs(I,{children:[t.jsx(N,{children:h.achDetails.bankName}),t.jsx(T,{children:m})]}),t.jsxs(I,{children:[t.jsx(N,{children:n}),t.jsx(T,{children:e})]}),t.jsxs(I,{children:[t.jsx(N,{children:s}),t.jsx(T,{children:typeof l=="string"&&l!==""?et(l.toLowerCase()):l??""})]})]});return t.jsxs(it,{size:b,children:[t.jsxs(nt,{children:[t.jsxs(G,{children:[`${m} ${h.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(S,{title:C,placement:"top",children:t.jsx(lt,{children:t.jsx(dt,{})})})]}),t.jsx(rt,{children:f??h.emptyPlaceholderString})]}),t.jsx(at,{children:t.jsx(S,{enterDelay:600,display:"flex",title:h.deleteAccountTooltip,placement:"top",children:t.jsx(st,{onClick:k=>{k.stopPropagation(),u()},"data-testid":$("delete-vendor-account-section",f),children:t.jsx(ct,{})})})})]})},ot=r.div`
1
+ import{y as He,J as v,aG as Y,cL as Ye,V as t,bE as Je,ac as $,L as Ge,cs as ie,ct as se,cu as le,d5 as qe,aT as Ke,x as J,b as x,c4 as Ze,o,d6 as Qe,bV as D,ck as de,u as w,b9 as ce,ak as pe,an as q,bv as Xe,d2 as me,d7 as et,p as B,d8 as ue,d1 as he}from"./index-Cq3X29cS.js";import{a as g}from"./sentry-DQ_HstYV.js";import{n as r}from"./mui-DzE-7sTl.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./zeni-epic-state-B4gyGBI3.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="4daf8a8b-d10c-407f-861c-d23d235589e9",e._sentryDebugIdIdentifier="sentry-dbid-4daf8a8b-d10c-407f-861c-d23d235589e9")}catch{}})();const tt=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:n,accountTypeLabel:s,accountType:l,bankName:m,routingNumberOrSwiftCode:p,accountName:f,routingNumberOrSwiftCodeLabel:j,onDeleteClick:u})=>{const b=v(),h=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,k=t.jsxs(ot,{children:[t.jsxs(I,{children:[t.jsx(N,{children:j}),t.jsx(T,{children:p})]}),t.jsxs(I,{children:[t.jsx(N,{children:h.achDetails.bankName}),t.jsx(T,{children:m})]}),t.jsxs(I,{children:[t.jsx(N,{children:n}),t.jsx(T,{children:e})]}),t.jsxs(I,{children:[t.jsx(N,{children:s}),t.jsx(T,{children:typeof l=="string"&&l!==""?et(l.toLowerCase()):l??""})]})]});return t.jsxs(it,{size:b,children:[t.jsxs(nt,{children:[t.jsxs(q,{children:[`${m} ${h.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(D,{title:k,placement:"top",children:t.jsx(lt,{children:t.jsx(dt,{})})})]}),t.jsx(rt,{children:f??h.emptyPlaceholderString})]}),t.jsx(at,{children:t.jsx(D,{enterDelay:600,display:"flex",title:h.deleteAccountTooltip,placement:"top",children:t.jsx(st,{onClick:C=>{C.stopPropagation(),u()},"data-testid":$("delete-vendor-account-section",f),children:t.jsx(ct,{})})})})]})},ot=r.div`
2
2
  display: flex;
3
3
  flex-wrap: wrap;
4
4
  gap: ${o.sp1};
@@ -70,7 +70,7 @@ import{d as He,J as v,aE as Y,cJ as Ye,V as t,bD as Je,aQ as $,T as qe,cq as ie,
70
70
  &:hover {
71
71
  color: ${B.important};
72
72
  }
73
- `,pt=({paymentInstrument:e,onDeleteClick:n})=>{const s=v(),l=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,m=t.jsx(mt,{children:e.piLabels.map(p=>t.jsxs(ut,{children:[t.jsxs(ht,{children:[p.name,l.colon]}),t.jsx(xt,{children:p.value})]},p.name))});return t.jsxs(yt,{size:s,children:[t.jsx(gt,{children:t.jsxs(G,{children:[e.displayText,t.jsx(S,{title:m,placement:"top",children:t.jsx(ft,{children:t.jsx(wt,{})})})]})}),t.jsx(bt,{children:t.jsx(S,{enterDelay:600,display:"flex",title:l.deleteAccountTooltip,placement:"top",children:t.jsx($t,{onClick:p=>{p.stopPropagation(),n()},"data-testid":$("delete-vendor-international-account-section",e.paymentInstrumentId),children:t.jsx(vt,{})})})})]})},mt=r.div`
73
+ `,pt=({paymentInstrument:e,onDeleteClick:n})=>{const s=v(),l=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,m=t.jsx(mt,{children:e.piLabels.map(p=>t.jsxs(ut,{children:[t.jsxs(ht,{children:[p.name,l.colon]}),t.jsx(xt,{children:p.value})]},p.name))});return t.jsxs(yt,{size:s,children:[t.jsx(gt,{children:t.jsxs(q,{children:[e.displayText,t.jsx(D,{title:m,placement:"top",children:t.jsx(ft,{children:t.jsx(wt,{})})})]})}),t.jsx(bt,{children:t.jsx(D,{enterDelay:600,display:"flex",title:l.deleteAccountTooltip,placement:"top",children:t.jsx($t,{onClick:p=>{p.stopPropagation(),n()},"data-testid":$("delete-vendor-international-account-section",e.paymentInstrumentId),children:t.jsx(vt,{})})})})]})},mt=r.div`
74
74
  display: flex;
75
75
  flex-wrap: wrap;
76
76
  gap: ${o.sp1};
@@ -140,11 +140,11 @@ import{d as He,J as v,aE as Y,cJ as Ye,V as t,bD as Je,aQ as $,T as qe,cq as ie,
140
140
  &:hover {
141
141
  color: ${B.important};
142
142
  }
143
- `,xe=(e,n)=>{const s=x.getLocalizedStrings().spendManagement.billPay.vendorCreation;switch(e){case"ach":return s.achDetails.ach;case"wire":switch(n){case"us-domestic":return s.wireDetails.domestic.domestic;case"international":return s.wireDetails.international.international;default:return""}default:return""}},q=({type:e,subType:n,vendorAccountDetails:s,vendorAccountDetailsInternational:l,onRemoveBankAccount:m,onAddNewAccountDetailClick:p})=>{const f=v(),[j,u]=g.useState(!1),[b,h]=g.useState(""),[C,k]=g.useState(!1),c=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,A=i=>{h(i),u(!0)},z={onOkClick:()=>{u(!1),m(b,C)},onCancelClick:()=>{u(!1),h("")}},V=i=>e==="ach"||e==="wire"&&n==="us-domestic"?i.bankAccountNumber:e==="wire"&&n==="international"?i.bankAccountIban??"":"",F=i=>e==="ach"?i.bankRoutingNumberAch:e==="wire"&&n==="us-domestic"?i.bankRoutingNumberWireTransfer:e==="wire"&&n==="international"?i.bankSwiftCode??"":"",O=()=>e==="ach"?c.achDetails.bankRoutingNumber:e==="wire"&&n==="us-domestic"?c.wireDetails.bankRoutingNumber:e==="wire"&&n==="international"?c.wireDetails.international.swiftCode:"",R=()=>e==="ach"?c.achDetails.bankAccountNumber:e==="wire"&&n==="us-domestic"?c.wireDetails.accountNumber:e==="wire"&&n==="international"?c.wireDetails.international.iban:"",E=()=>e==="ach"||e==="wire"&&n==="us-domestic"?c.achDetails.accountTypeLabel:"";return t.jsxs(St,{children:[j===!0?t.jsx(ie,{titleComponent:t.jsx(le,{children:c.areYOuSure}),descriptionComponent:t.jsx(se,{children:c.ifYouSubmit}),primaryButtonText:c.delete,secondaryButtonText:c.cancel,action:z,isEditPopup:!0,proceedButtonVariant:"danger"}):null,t.jsx(Dt,{windowSize:f,children:`${xe(e,n)} ${c.accountsLabel}`}),s?.map(i=>t.jsx(oe,{children:t.jsx(tt,{bankName:i.bankName,accountType:i.bankAccountType??"",bankAccountNumberOrIban:V(i),routingNumberOrSwiftCode:F(i),routingNumberOrSwiftCodeLabel:O(),accountNumberOrIbanLabel:R(),accountTypeLabel:E(),accountName:i.bankAccountName,onDeleteClick:()=>A(i.bankAccountId)})},i.bankAccountId)),l?.map(i=>t.jsx(oe,{children:t.jsx(pt,{paymentInstrument:i,onDeleteClick:()=>{k(!0),A(i.paymentInstrumentId)}})},i.paymentInstrumentId)),t.jsx(jt,{onAddAccountDetailsSection:p,type:e,subType:n})]})},jt=({onAddAccountDetailsSection:e,type:n,subType:s})=>{const l=v(),m=x.getLocalizedStrings().spendManagement.billPay;return t.jsx(t.Fragment,{children:t.jsxs(kt,{windowSize:l,onClick:e,"data-testid":$("add-vendor-account",n),children:[t.jsx(Ct,{}),t.jsx(de,{children:`${m.vendorCreation.addPrefix} ${xe(n,s)}`})]})})},Ct=r(me)`
143
+ `,xe=(e,n)=>{const s=x.getLocalizedStrings().spendManagement.billPay.vendorCreation;switch(e){case"ach":return s.achDetails.ach;case"wire":switch(n){case"us-domestic":return s.wireDetails.domestic.domestic;case"international":return s.wireDetails.international.international;default:return""}default:return""}},G=({type:e,subType:n,vendorAccountDetails:s,vendorAccountDetailsInternational:l,onRemoveBankAccount:m,onAddNewAccountDetailClick:p})=>{const f=v(),[j,u]=g.useState(!1),[b,h]=g.useState(""),[k,C]=g.useState(!1),c=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,A=i=>{h(i),u(!0)},z={onOkClick:()=>{u(!1),m(b,k)},onCancelClick:()=>{u(!1),h("")}},V=i=>e==="ach"||e==="wire"&&n==="us-domestic"?i.bankAccountNumber:e==="wire"&&n==="international"?i.bankAccountIban??"":"",F=i=>e==="ach"?i.bankRoutingNumberAch:e==="wire"&&n==="us-domestic"?i.bankRoutingNumberWireTransfer:e==="wire"&&n==="international"?i.bankSwiftCode??"":"",O=()=>e==="ach"?c.achDetails.bankRoutingNumber:e==="wire"&&n==="us-domestic"?c.wireDetails.bankRoutingNumber:e==="wire"&&n==="international"?c.wireDetails.international.swiftCode:"",R=()=>e==="ach"?c.achDetails.bankAccountNumber:e==="wire"&&n==="us-domestic"?c.wireDetails.accountNumber:e==="wire"&&n==="international"?c.wireDetails.international.iban:"",E=()=>e==="ach"||e==="wire"&&n==="us-domestic"?c.achDetails.accountTypeLabel:"";return t.jsxs(Dt,{children:[j===!0?t.jsx(ie,{titleComponent:t.jsx(le,{children:c.areYOuSure}),descriptionComponent:t.jsx(se,{children:c.ifYouSubmit}),primaryButtonText:c.delete,secondaryButtonText:c.cancel,action:z,isEditPopup:!0,proceedButtonVariant:"danger"}):null,t.jsx(St,{windowSize:f,children:`${xe(e,n)} ${c.accountsLabel}`}),s?.map(i=>t.jsx(oe,{children:t.jsx(tt,{bankName:i.bankName,accountType:i.bankAccountType??"",bankAccountNumberOrIban:V(i),routingNumberOrSwiftCode:F(i),routingNumberOrSwiftCodeLabel:O(),accountNumberOrIbanLabel:R(),accountTypeLabel:E(),accountName:i.bankAccountName,onDeleteClick:()=>A(i.bankAccountId)})},i.bankAccountId)),l?.map(i=>t.jsx(oe,{children:t.jsx(pt,{paymentInstrument:i,onDeleteClick:()=>{C(!0),A(i.paymentInstrumentId)}})},i.paymentInstrumentId)),t.jsx(jt,{onAddAccountDetailsSection:p,type:e,subType:n})]})},jt=({onAddAccountDetailsSection:e,type:n,subType:s})=>{const l=v(),m=x.getLocalizedStrings().spendManagement.billPay;return t.jsx(t.Fragment,{children:t.jsxs(Ct,{windowSize:l,onClick:e,"data-testid":$("add-vendor-account",n),children:[t.jsx(kt,{}),t.jsx(de,{children:`${m.vendorCreation.addPrefix} ${xe(n,s)}`})]})})},kt=r(me)`
144
144
  margin-right: ${o.sp2};
145
145
  width: ${o.sp3};
146
146
  height: ${o.sp3};
147
- `,kt=r.div`
147
+ `,Ct=r.div`
148
148
  padding: ${o.sp3};
149
149
  display: flex;
150
150
  align-items: center;
@@ -160,17 +160,17 @@ import{d as He,J as v,aE as Y,cJ as Ye,V as t,bD as Je,aQ as $,T as qe,cq as ie,
160
160
  color: ${e=>e.theme.colors.primary};
161
161
  border: 1px solid ${e=>e.theme.colors.primary};
162
162
  }
163
- `,Dt=r(ce)`
163
+ `,St=r(ce)`
164
164
  color: ${e=>e.theme.colors.primary};
165
165
  margin-bottom: ${o.sp2};
166
- `,oe=r.div``,St=r.div`
166
+ `,oe=r.div``,Dt=r.div`
167
167
  display: flex;
168
168
  flex-direction: column;
169
169
  padding-top: ${o.sp2};
170
170
  padding-bottom: ${o.sp2};
171
171
  margin-top: ${o.sp3};
172
172
  margin-bottom: ${o.sp3};
173
- `,At=({addressState:e,onUpdateMailingAddress:n})=>{const s=v(),l=x.getLocalizedStrings().spendManagement.billPay.vendorCreation;return t.jsxs(Ft,{children:[t.jsxs(Vt,{windowSize:s,children:[`${l.mailingAddressLabel}`,t.jsx(zt,{children:`${l.mailingAddressPlaceholder}`})]}),e!=null?t.jsxs(Bt,{children:[Lt(e),t.jsx(S,{enterDelay:600,display:"flex",title:l.editMailingAddressTooltip,placement:"top",children:t.jsx(It,{"data-testid":$("edit-vendor-mailing-address"),onClick:()=>n("vendor_address"),children:t.jsx(Nt,{})})})]}):t.jsx(t.Fragment,{children:t.jsxs(Pt,{windowSize:s,"data-testid":$("add-vendor-mailing-address"),onClick:()=>n("vendor_address"),children:[t.jsx(Tt,{}),t.jsx(de,{children:l.addMailingAddress})]})})]})},Lt=e=>[e.street[2],e.street[0],e.street[1],e.city,`${e.state} ${e.postalCode}`.trim(),e.countryCode??e.country].filter(Boolean).join(", "),It=r.div`
173
+ `,At=({addressState:e,onUpdateMailingAddress:n})=>{const s=v(),l=x.getLocalizedStrings().spendManagement.billPay.vendorCreation;return t.jsxs(Ft,{children:[t.jsxs(Vt,{windowSize:s,children:[`${l.mailingAddressLabel}`,t.jsx(zt,{children:`${l.mailingAddressPlaceholder}`})]}),e!=null?t.jsxs(Bt,{children:[Lt(e),t.jsx(D,{enterDelay:600,display:"flex",title:l.editMailingAddressTooltip,placement:"top",children:t.jsx(It,{"data-testid":$("edit-vendor-mailing-address"),onClick:()=>n("vendor_address"),children:t.jsx(Nt,{})})})]}):t.jsx(t.Fragment,{children:t.jsxs(Pt,{windowSize:s,"data-testid":$("add-vendor-mailing-address"),onClick:()=>n("vendor_address"),children:[t.jsx(Tt,{}),t.jsx(de,{children:l.addMailingAddress})]})})]})},Lt=e=>[e.street[2],e.street[0],e.street[1],e.city,`${e.state} ${e.postalCode}`.trim(),e.countryCode??e.country].filter(Boolean).join(", "),It=r.div`
174
174
  width: ${o.sp3};
175
175
  svg {
176
176
  display: none;
@@ -203,7 +203,7 @@ import{d as He,J as v,aE as Y,cJ as Ye,V as t,bD as Je,aQ as $,T as qe,cq as ie,
203
203
  color: ${e=>e.theme.colors.primary};
204
204
  border: 1px solid ${e=>e.theme.colors.primary};
205
205
  }
206
- `,Bt=r(G)`
206
+ `,Bt=r(q)`
207
207
  margin-top: ${o.sp2};
208
208
  padding: ${o.sp3} ${o.sp4};
209
209
  background-color: ${e=>e.theme.colors.grey5};
@@ -262,11 +262,11 @@ import{d as He,J as v,aE as Y,cJ as Ye,V as t,bD as Je,aQ as $,T as qe,cq as ie,
262
262
  justify-content: center;
263
263
  align-items: center;
264
264
  box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
265
- `,Mt=r(Ze)`
265
+ `,Mt=r(Qe)`
266
266
  color: ${e=>e.theme.colors.primary};
267
267
  margin-bottom: ${o.sp3};
268
268
  margin-top: ${o.sp3};
269
- `,Ut=r(Qe)`
269
+ `,Ut=r(Ze)`
270
270
  cursor: pointer;
271
271
  color: ${e=>e.theme.colors.hero};
272
272
  width: 20px;
@@ -278,4 +278,4 @@ import{d as He,J as v,aE as Y,cJ as Ye,V as t,bD as Je,aQ as $,T as qe,cq as ie,
278
278
  display: flex;
279
279
  flex-direction: column;
280
280
  padding-top: ${o.sp11};
281
- `,y=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,_t=x.getLocalizedStrings().common.footer,ae=x.getLocalizedStrings().common.currency,oo=({vendorViewDetails:e,vendorId:n,screenType:s,analytics:l,filesEndPoint:m,authParams:p,vendorSearchAutoCompleteData:f,vendorSearchAutoCompleteActions:j,isLocalCurrencyEnabled:u,onBackClick:b,onVendorSelected:h,navigateToBankDetailPage:C,updateSelectedVendorForCreate:k,onRemoveBankAccount:c,updateSaveFetchState:A,onSaveVendor:z,navigateToMailingAddressPage:V,saveVendorDetailLocalData:F,resetVendorDetailLocalData:O,saveContactsInVendorDetailLocalData:R,updateFilesEntity:E,onEditFileName:i,onFetchAndUpdateVendorRecommendations:ge})=>{const{accountList:{accounts:be},classList:{classes:ye},vendorTypeList:$e,ownerList:fe,editVendorState:K,newVendorState:Q,fetchState:we,hasWireTransfer:Z,hasInternationalWireTransfer:M,deleteFileStatusById:ve,updateFileStatusById:je,accountsHierarchyList:Ce,classHierarchyList:ke}=e,L=n!=null?K?.vendorDetailLocalData:Q?.vendorDetailLocalData,d=Object.assign({},K??Q),De=He(),D=v(),[Se,U]=g.useState(!1),[Ae,W]=g.useState(!1),X=s==="create"?y.newVendorTitle:y.editVendor,Le=(d.bankAccountsUpdated??[]).map(a=>a.bankAccountId).sort(),Ie=(d.vendorBasic?.bankAccounts??[]).map(a=>a.bankAccountId).sort(),Ne=!Y(Le,Ie),Te=(d.paymentInstrumentsUpdated??[]).map(a=>a.paymentInstrumentId).sort(),Pe=(d.vendorBasic?.paymentInstruments??[]).map(a=>a.paymentInstrumentId).sort(),Be=!Y(Te,Pe),ze=(L?.contacts??[]).filter(a=>a.email!==""||a.fullName!==""||a.phone!=="").map(a=>Ye(a,"contactInfoType")),Ve=d.vendorBasic?.contacts??[],Fe=!Y(ze,Ve),Oe=d.bankAccountsUpdated.filter(a=>!!a.bankRoutingNumberAch),Re=d.bankAccountsUpdated.filter(a=>!!a.bankRoutingNumberWireTransfer),Ee=d.paymentInstrumentsUpdated.filter(a=>!!a.piNumber),ee=()=>{W(!0)},Me=a=>{U(a)},Ue={onOkClick:()=>{W(!1),U(!1),O?.(),b()},onCancelClick:()=>{W(!1),U(!1)}},_=g.useRef(null),We=a=>{_.current?.syncFormData(),V(a)},H=(a,_e)=>{_.current?.syncFormData(),C(a,_e)};g.useEffect(()=>{d?.saveStatus?.fetchState==="Completed"&&(A(),b())},[d]);const te=g.useRef(null);return t.jsxs(Ot,{windowSize:D,children:[t.jsx(Je,{"data-testid":$("vendor-detail-container-nav-bar"),title:X,backgroundColor:De.colors.grey4,leftSideComponent:t.jsx(Ut,{onClick:ee,"data-testid":$("create-edit-vendor-nav-bar-back")}),enableTitleOnScroll:!0,scrollableContent:te,source:"CreateOrEditVendorPage"}),t.jsxs(Rt,{windowSize:D,ref:te,children:[we==="In-Progress"?t.jsx(Et,{children:t.jsx(qe,{size:"ExtraLarge",start:!0})}):t.jsxs(t.Fragment,{children:[Se===!0?t.jsx(ie,{titleComponent:t.jsx(le,{children:y.discardTitle}),descriptionComponent:t.jsx(se,{children:y.discardDescription}),primaryButtonText:y.discard,secondaryButtonText:y.cancel,action:Ue}):null,D!=="small"?t.jsx(Mt,{children:X}):null,t.jsx(Ge,{ref:_,id:ne(re),allAccounts:be,allClasses:ye,accountsHierarchyList:Ce,classHierarchyList:ke,vendorTypeList:$e,allOwners:fe,vendorSearchAutoCompleteData:f,vendorSearchAutoCompleteActions:j,onVendorSelected:h,screenType:s,hasInternationalWireTransfer:M,selectedVendor:d,formLocalData:L,isBankAccountChanged:Ne,isContactListChanged:Fe,isPaymentInstrumentChanged:Be,analytics:l,pageBackBtnClicked:Ae,onBackClick:b,onSaveVendor:z,saveContactsInVendorDetailLocalData:R,updateSelectedVendorForCreate:k,saveVendorDetailLocalData:F,updateFilesEntity:E,toggleConfirmationPopup:Me,filesEndPoint:m,authParams:p,onEditFileName:i,deleteFileStatusById:ve,updateFileStatusById:je,onFetchAndUpdateVendorRecommendations:ge,isLocalCurrencyEnabled:u}),Z||M?t.jsx(At,{addressState:d.vendorNewAddressStatus?.addressToCreate,onUpdateMailingAddress:We}):null,d.vendorDetailLocalData?.currencyCode==null||d.vendorDetailLocalData?.currencyCode===ae.currencyCode?t.jsx(q,{type:"ach",vendorAccountDetails:Oe,onAddNewAccountDetailClick:()=>H("ach","standard"),onRemoveBankAccount:c}):null,Z&&(d.vendorDetailLocalData?.currencyCode==null||d.vendorDetailLocalData?.currencyCode===ae.currencyCode)?t.jsx(q,{type:"wire",subType:"us-domestic",vendorAccountDetails:Re,onAddNewAccountDetailClick:()=>H("wire","us-domestic"),onRemoveBankAccount:c}):null,M&&(L?.countryCode!=null&&L.countryCode!=="US"||u)?t.jsx(q,{type:"wire",subType:"international",vendorAccountDetailsInternational:Ee,isLocalCurrencyEnabled:u,onAddNewAccountDetailClick:()=>H("wire","international"),onRemoveBankAccount:c}):null]}),t.jsx(Wt,{})]}),t.jsx(Ke,{formId:ne(re),primaryBtn:{label:y.saveDetails,isLoading:d.saveStatus?.fetchState==="In-Progress",style:{width:P.buttonWidth.value(D)},isDisabled:!1},cancelBtn:{label:_t.cancel,style:{width:P.buttonWidth.value(D)},shouldResetOnCancel:!1,onClick:ee}})]})};export{oo as default,ne as formUniqueName};
281
+ `,y=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,_t=x.getLocalizedStrings().common.footer,ae=x.getLocalizedStrings().common.currency,oo=({vendorViewDetails:e,vendorId:n,screenType:s,analytics:l,filesEndPoint:m,authParams:p,vendorSearchAutoCompleteData:f,vendorSearchAutoCompleteActions:j,isLocalCurrencyEnabled:u,onBackClick:b,onVendorSelected:h,navigateToBankDetailPage:k,updateSelectedVendorForCreate:C,onRemoveBankAccount:c,updateSaveFetchState:A,onSaveVendor:z,navigateToMailingAddressPage:V,saveVendorDetailLocalData:F,resetVendorDetailLocalData:O,saveContactsInVendorDetailLocalData:R,updateFilesEntity:E,onEditFileName:i,onFetchAndUpdateVendorRecommendations:ge})=>{const{accountList:{accounts:be},classList:{classes:ye},vendorTypeList:$e,ownerList:fe,editVendorState:K,newVendorState:Z,fetchState:we,hasWireTransfer:Q,hasInternationalWireTransfer:M,deleteFileStatusById:ve,updateFileStatusById:je,accountsHierarchyList:ke,classHierarchyList:Ce}=e,L=n!=null?K?.vendorDetailLocalData:Z?.vendorDetailLocalData,d=Object.assign({},K??Z),Se=He(),S=v(),[De,U]=g.useState(!1),[Ae,W]=g.useState(!1),X=s==="create"?y.newVendorTitle:y.editVendor,Le=(d.bankAccountsUpdated??[]).map(a=>a.bankAccountId).sort(),Ie=(d.vendorBasic?.bankAccounts??[]).map(a=>a.bankAccountId).sort(),Ne=!Y(Le,Ie),Te=(d.paymentInstrumentsUpdated??[]).map(a=>a.paymentInstrumentId).sort(),Pe=(d.vendorBasic?.paymentInstruments??[]).map(a=>a.paymentInstrumentId).sort(),Be=!Y(Te,Pe),ze=(L?.contacts??[]).filter(a=>a.email!==""||a.fullName!==""||a.phone!=="").map(a=>Ye(a,"contactInfoType")),Ve=d.vendorBasic?.contacts??[],Fe=!Y(ze,Ve),Oe=d.bankAccountsUpdated.filter(a=>!!a.bankRoutingNumberAch),Re=d.bankAccountsUpdated.filter(a=>!!a.bankRoutingNumberWireTransfer),Ee=d.paymentInstrumentsUpdated.filter(a=>!!a.piNumber),ee=()=>{W(!0)},Me=a=>{U(a)},Ue={onOkClick:()=>{W(!1),U(!1),O?.(),b()},onCancelClick:()=>{W(!1),U(!1)}},_=g.useRef(null),We=a=>{_.current?.syncFormData(),V(a)},H=(a,_e)=>{_.current?.syncFormData(),k(a,_e)};g.useEffect(()=>{d?.saveStatus?.fetchState==="Completed"&&(A(),b())},[d]);const te=g.useRef(null);return t.jsxs(Ot,{windowSize:S,children:[t.jsx(Je,{"data-testid":$("vendor-detail-container-nav-bar"),title:X,backgroundColor:Se.colors.grey4,leftSideComponent:t.jsx(Ut,{onClick:ee,"data-testid":$("create-edit-vendor-nav-bar-back")}),enableTitleOnScroll:!0,scrollableContent:te,source:"CreateOrEditVendorPage"}),t.jsxs(Rt,{windowSize:S,ref:te,children:[we==="In-Progress"?t.jsx(Et,{children:t.jsx(Ge,{size:"ExtraLarge",start:!0})}):t.jsxs(t.Fragment,{children:[De===!0?t.jsx(ie,{titleComponent:t.jsx(le,{children:y.discardTitle}),descriptionComponent:t.jsx(se,{children:y.discardDescription}),primaryButtonText:y.discard,secondaryButtonText:y.cancel,action:Ue}):null,S!=="small"?t.jsx(Mt,{children:X}):null,t.jsx(qe,{ref:_,id:ne(re),allAccounts:be,allClasses:ye,accountsHierarchyList:ke,classHierarchyList:Ce,vendorTypeList:$e,allOwners:fe,vendorSearchAutoCompleteData:f,vendorSearchAutoCompleteActions:j,onVendorSelected:h,screenType:s,hasInternationalWireTransfer:M,selectedVendor:d,formLocalData:L,isBankAccountChanged:Ne,isContactListChanged:Fe,isPaymentInstrumentChanged:Be,analytics:l,pageBackBtnClicked:Ae,onBackClick:b,onSaveVendor:z,saveContactsInVendorDetailLocalData:R,updateSelectedVendorForCreate:C,saveVendorDetailLocalData:F,updateFilesEntity:E,toggleConfirmationPopup:Me,filesEndPoint:m,authParams:p,onEditFileName:i,deleteFileStatusById:ve,updateFileStatusById:je,onFetchAndUpdateVendorRecommendations:ge,isLocalCurrencyEnabled:u}),Q||M?t.jsx(At,{addressState:d.vendorNewAddressStatus?.addressToCreate,onUpdateMailingAddress:We}):null,d.vendorDetailLocalData?.currencyCode==null||d.vendorDetailLocalData?.currencyCode===ae.currencyCode?t.jsx(G,{type:"ach",vendorAccountDetails:Oe,onAddNewAccountDetailClick:()=>H("ach","standard"),onRemoveBankAccount:c}):null,Q&&(d.vendorDetailLocalData?.currencyCode==null||d.vendorDetailLocalData?.currencyCode===ae.currencyCode)?t.jsx(G,{type:"wire",subType:"us-domestic",vendorAccountDetails:Re,onAddNewAccountDetailClick:()=>H("wire","us-domestic"),onRemoveBankAccount:c}):null,M&&(L?.countryCode!=null&&L.countryCode!=="US"||u)?t.jsx(G,{type:"wire",subType:"international",vendorAccountDetailsInternational:Ee,isLocalCurrencyEnabled:u,onAddNewAccountDetailClick:()=>H("wire","international"),onRemoveBankAccount:c}):null]}),t.jsx(Wt,{})]}),t.jsx(Ke,{formId:ne(re),primaryBtn:{label:y.saveDetails,isLoading:d.saveStatus?.fetchState==="In-Progress",style:{width:P.buttonWidth.value(S)},isDisabled:!1},cancelBtn:{label:_t.cancel,style:{width:P.buttonWidth.value(S)},shouldResetOnCancel:!1,onClick:ee}})]})};export{oo as default,ne as formUniqueName};