@adyen/kyc-components 3.71.3 → 3.72.0

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 (131) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-Dsv4mY-k.js → AcceptTermsOfServiceComponent-Bt8sRAoc.js} +2 -2
  2. package/dist/{AccountSetupRejected-Cz2iWdPE.js → AccountSetupRejected-BwL6Q3-7.js} +3 -3
  3. package/dist/{BusinessDetailsDropin-CxJ7Ga0q.js → BusinessDetailsDropin-z-LBYatN.js} +195 -98
  4. package/dist/BusinessFinancingPage-BZ0ukckI.js +35 -0
  5. package/dist/{BusinessTypeSelection-wbCak0Us.js → BusinessTypeSelectionPage-Bl0fkgrq.js} +46 -40
  6. package/dist/{CXEL7IU7-B9HOZi-H.js → CXEL7IU7-BDgMbrmd.js} +3 -3
  7. package/dist/{CreateIndividualComponent-C3uFsTUT.js → CreateIndividualComponent-BYcoaXRs.js} +257 -370
  8. package/dist/{CustomerSupport-BuxhbwRm.js → CustomerSupport-C1aqVIO5.js} +3 -3
  9. package/dist/{DebugModal-B_DAGmya.js → DebugModal-sw85K_ur.js} +10 -10
  10. package/dist/DecisionMakerDetailsPage-uOytW22H.js +80 -0
  11. package/dist/{DecisionMakers-L6oYW0-J.js → DecisionMakers-CCWH6S3m.js} +5 -5
  12. package/dist/{EmbedShell-DpZpuM-4.js → EmbedShell-n61dt-oX.js} +3 -3
  13. package/dist/{EventEmitter-DTdpTyY7.js → EventEmitter-D4j8YPMw.js} +977 -1226
  14. package/dist/{HASRA6WW-CBmvzSwj.js → HASRA6WW-c_NjaqBL.js} +2 -2
  15. package/dist/{I3HPI4QX-9ko0FQd6.js → I3HPI4QX-7hHBw-hy.js} +3 -3
  16. package/dist/{Introduction-C16zT64A.js → Introduction-BIciUCV2.js} +14 -6
  17. package/dist/LegalRepresentativeDetailsPage-B5NB1_0c.js +55 -0
  18. package/dist/PayoutDetailsPage-csmuS7XY.js +57 -0
  19. package/dist/{Review-BbsJ9Iv_.js → Review-OUouKkBK.js} +3 -3
  20. package/dist/RootBusinessDetailsPage-8GCh8CZ9.js +43 -0
  21. package/dist/RootIndividualDetailsPage-zZl4WLcr.js +71 -0
  22. package/dist/{SingpassSelection-Biuh42TV.js → SingpassSelection-DZx1cQy-.js} +2 -2
  23. package/dist/SoleProprietorshipPage-WVtWeQL6.js +45 -0
  24. package/dist/{SourceOfFunds.module-CwVf62zO.js → SourceOfFunds.module-3s3uanVF.js} +2 -2
  25. package/dist/{SourceOfFundsDropin-Bz8cTP4R.js → SourceOfFundsPage-6mejBSsi.js} +38 -20
  26. package/dist/{TaskItemStatus-DzTphBn7.js → TaskItemStatus-BTND6V1w.js} +2 -2
  27. package/dist/{TaxReportingDropin-xDar-7mC.js → TaxReportingDropin-Canpx2fK.js} +5 -5
  28. package/dist/{TrustOuter-2GEllVo3.js → TrustDetailsPage-DSDYwyW0.js} +17 -29
  29. package/dist/TrustMemberCompanyPage-D7V4OAf4.js +55 -0
  30. package/dist/TrustMemberIndividualPage-C9zoI3NZ.js +60 -0
  31. package/dist/UnincorporatedPartnershipIndividualPage-BKEuBPUD.js +60 -0
  32. package/dist/UnincorporatedPartnershipMemberCompanyPage-Ij6N40YA.js +58 -0
  33. package/dist/adyen-kyc-components.js +1 -1
  34. package/dist/adyenConfig.js +2 -2
  35. package/dist/{bg-BG-CzEF3tzV.js → bg-BG-CZRQZyXO.js} +12 -5
  36. package/dist/{core-BsRrVyKB.js → core-C1rJ5Pjl.js} +681 -559
  37. package/dist/{cs-CZ-TMjslGp_.js → cs-CZ-BbUFgifZ.js} +12 -5
  38. package/dist/{css-CypmaTn8.js → css-FlY03KiS.js} +2 -2
  39. package/dist/{da-DK-DWzvDWZJ.js → da-DK-CP71BFS7.js} +12 -5
  40. package/dist/{de-DE-BtIL-7gp.js → de-DE-DY56JGZt.js} +12 -5
  41. package/dist/{el-GR-DHSSlqbw.js → el-GR-CnENEp5c.js} +12 -5
  42. package/dist/{es-ES-OwkE9-Cu.js → es-ES-dV62vQcV.js} +28 -21
  43. package/dist/{et-EE-DvixWnLd.js → et-EE-BBgAN3Wc.js} +12 -5
  44. package/dist/{fi-FI-DZiXWe_g.js → fi-FI-DVmGWIxn.js} +12 -5
  45. package/dist/{fr-FR-BBwiWhiT.js → fr-FR-VwG8Rg7R.js} +12 -5
  46. package/dist/{hr-HR-DJYofWKU.js → hr-HR-Bs_lxjxQ.js} +12 -5
  47. package/dist/{hu-HU-k9c6wZld.js → hu-HU-8dVSiOZM.js} +12 -5
  48. package/dist/individual.js +4 -4
  49. package/dist/{it-IT-oOwbWW3K.js → it-IT-DvwWMDl1.js} +12 -5
  50. package/dist/{ja-JP-CT3g8Hhn.js → ja-JP-BB6zzyEg.js} +12 -5
  51. package/dist/{json-DDReVYSW.js → json-C0fKu7KI.js} +2 -2
  52. package/dist/{lt-LT-CVHIsEF8.js → lt-LT-BQtNojlb.js} +12 -5
  53. package/dist/{lv-LV-BFx0cvZ2.js → lv-LV-BpEw5uN5.js} +12 -5
  54. package/dist/{nl-NL-rmSZu4Rf.js → nl-NL-vBEBXTP-.js} +12 -5
  55. package/dist/{no-NO-BOnQvimN.js → no-NO-BFhTqUoD.js} +12 -5
  56. package/dist/{pl-PL-5j22An4E.js → pl-PL-dsGZvzVf.js} +12 -5
  57. package/dist/{plaintext-Cjcgjaqv.js → plaintext-VVpKsKsN.js} +2 -2
  58. package/dist/{pt-PT-DP8U1qyu.js → pt-PT-BB38pZbh.js} +12 -5
  59. package/dist/{ro-RO-BTdtoC6P.js → ro-RO-BgxNxoxJ.js} +12 -5
  60. package/dist/{sk-SK-DYTx4mOB.js → sk-SK-rtDeCztl.js} +12 -5
  61. package/dist/{sl-SI-D8CiUN69.js → sl-SI-qoGCwUdU.js} +12 -5
  62. package/dist/style.css +175 -223
  63. package/dist/styles-CLV89_hH.js +175 -223
  64. package/dist/{sv-SE-Daslxeqr.js → sv-SE-f1T7PBSW.js} +12 -5
  65. package/dist/terms-of-service.js +4 -4
  66. package/dist/types/api/transferInstruments/useTransferInstrument.d.ts +2 -1
  67. package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +2 -0
  68. package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +2 -5
  69. package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/types.d.ts +1 -11
  70. package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +14 -0
  71. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +1 -1
  72. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/payoutDetailsFormConfig.d.ts +12 -1
  73. package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +14 -0
  74. package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +1 -0
  75. package/dist/types/components/Business/forms/ProofOfOwnershipDocument/ProofOfOwnershipDocument.d.ts +2 -0
  76. package/dist/types/components/Business/forms/ProofOfOwnershipDocument/types.d.ts +8 -0
  77. package/dist/types/components/Business/forms/rules.d.ts +0 -1
  78. package/dist/types/components/Business/mapping/businessDetails/businessDetailsKeyMappings.d.ts +1 -1
  79. package/dist/types/components/Business/mapping/businessDetails/solePropBusinessDetailsKeyMappings.d.ts +1 -1
  80. package/dist/types/components/Business/pages/RootBusinessDetailsPage.d.ts +8 -0
  81. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +1 -3
  82. package/dist/types/components/EFP/pages/BusinessFinancingPage.d.ts +7 -0
  83. package/dist/types/components/EFP/pages/SourceOfFundsPage.d.ts +7 -0
  84. package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/DropinComposer.d.ts +1 -1
  85. package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/types.d.ts +1 -0
  86. package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/IdVerificationMethod.d.ts +0 -1
  87. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationMethod.types.d.ts +0 -2
  88. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +2 -1
  89. package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +20 -0
  90. package/dist/types/components/Individual/pages/LegalRepresentativeDetailsPage.d.ts +12 -0
  91. package/dist/types/components/Individual/pages/RootIndividualDetailsPage.d.ts +16 -0
  92. package/dist/types/components/Individual/tasks/DecisionMakers/types.d.ts +0 -2
  93. package/dist/types/components/Shared/Introduction/Introduction.d.ts +4 -2
  94. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  95. package/dist/types/components/Shared/forms/BusinessTypeSelection/BusinessTypeSelection.d.ts +1 -1
  96. package/dist/types/components/Shared/forms/BusinessTypeSelection/types.d.ts +3 -5
  97. package/dist/types/components/Shared/forms/DocumentUpload/DocumentUpload.d.ts +1 -1
  98. package/dist/types/components/Shared/forms/DocumentUpload/types.d.ts +5 -0
  99. package/dist/types/components/Shared/pages/BusinessTypeSelectionPage.d.ts +2 -0
  100. package/dist/types/components/Shared/tasks/TaskList/TaskList.d.ts +7 -1
  101. package/dist/types/components/Shared/tasks/TaskList/types.d.ts +0 -6
  102. package/dist/types/components/Shared/tasks/TaskList/utils.d.ts +1 -0
  103. package/dist/types/components/SoleProprietorship/pages/SoleProprietorshipPage.d.ts +8 -0
  104. package/dist/types/components/Trust/pages/TrustDetailsPage.d.ts +10 -0
  105. package/dist/types/components/Trust/pages/TrustMemberCompanyPage.d.ts +11 -0
  106. package/dist/types/components/Trust/pages/TrustMemberIndividualPage.d.ts +16 -0
  107. package/dist/types/components/Trust/pages/TrustMemberRoleAndTypePage.d.ts +9 -0
  108. package/dist/types/components/Trust/tasks/TrustMembers/TrustMembersOverview.d.ts +4 -7
  109. package/dist/types/components/UnincorporatedPartnership/hooks/useUnincorporatedPartnershipNavigation.d.ts +0 -2
  110. package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipIndividualPage.d.ts +16 -0
  111. package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberCompanyPage.d.ts +11 -0
  112. package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberRoleAndTypePage.d.ts +8 -0
  113. package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipMembers/UnincorporatedPartnershipMembersOverview.d.ts +1 -5
  114. package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/UnincorporatedPartnershipRoleAndType.d.ts +1 -1
  115. package/dist/types/components/ui/molecules/Dropzone/types.d.ts +1 -0
  116. package/dist/types/context/ExperimentContext/types.d.ts +6 -6
  117. package/dist/types/core/models/api/document.d.ts +1 -1
  118. package/dist/types/hooks/useDataConflicts.d.ts +1 -5
  119. package/dist/types/stores/globalStore/taskTypes.d.ts +0 -1
  120. package/dist/types/utils/country.d.ts +3 -2
  121. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  122. package/dist/types/utils/getDisplayErrorMessage.d.ts +3 -0
  123. package/dist/{utils-Du6OO4ZK.js → utils-DD_s-Xlo.js} +1 -1
  124. package/dist/{utils-Fkk087z-.js → utils-UcNoMAHV.js} +4 -4
  125. package/dist/{yaml-GnQQmt7i.js → yaml-BipFvPsw.js} +2 -2
  126. package/package.json +1 -1
  127. package/dist/types/components/BankAccount/forms/PayoutDetails/utils.d.ts +0 -2
  128. package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/PreferInstantVerificationMethod/PreferInstantVerificationMethod.d.ts +0 -22
  129. package/dist/types/components/Individual/forms/Individual/IndividualOuter.d.ts +0 -26
  130. package/dist/types/components/Trust/tasks/TrustDropin/TrustOuter.d.ts +0 -10
  131. package/dist/types/components/ui/atoms/List/List.d.ts +0 -9
@@ -19,7 +19,7 @@ var _focused, _cleanup, _setup, _a, _online, _cleanup2, _setup2, _b, _gcTimeout,
19
19
  {
20
20
  try {
21
21
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
22
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "88ddc8b9-fefc-4dd3-b845-2650ec3820f9", e._sentryDebugIdIdentifier = "sentry-dbid-88ddc8b9-fefc-4dd3-b845-2650ec3820f9");
22
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "2aa52d3a-2111-4998-9a9c-3987ae764f5c", e._sentryDebugIdIdentifier = "sentry-dbid-2aa52d3a-2111-4998-9a9c-3987ae764f5c");
23
23
  } catch (e) {
24
24
  }
25
25
  }
@@ -50,6 +50,7 @@ const defaultLocaleTranslations = {
50
50
  accountDetailsDescription: "Provide a few details about you to start accepting live payments.",
51
51
  accountHolder: "Account holder",
52
52
  accountHolderTerms: "Account Holder Terms",
53
+ accountMustBeInTheNameOfUnincorporatedPartnership: "Account must be in the name of %{partnerNames}, as partners for %{partnershipName}.",
53
54
  accountName: "Account name",
54
55
  accountNumber: "Account number",
55
56
  accountNumberFullOrPartialVisible: "Includes your full or partial account number",
@@ -85,10 +86,11 @@ const defaultLocaleTranslations = {
85
86
  addManually: "Add manually",
86
87
  addMissingBankDetails: "We are missing your bank details in order to perform payouts, please add your bank account.",
87
88
  addOwnerToTrustMember: "Add owner of %{trustMember}",
88
- addPartner: "Add partner",
89
+ addPartner: "Add another partner",
89
90
  addPayoutAccount: "Add a payout account",
90
91
  address: "Address",
91
92
  address__placeHolder: "Start typing an address for suggestions...",
93
+ addressDetails: "Address details",
92
94
  addresses: "Addresses",
93
95
  addressPoBoxError: "PO Box addresses aren't allowed. Enter a physical address.",
94
96
  addressRegisteredWithSecretaryOfState: "Address registered with the Secretary of State for this company.",
@@ -111,7 +113,9 @@ const defaultLocaleTranslations = {
111
113
  and: "and",
112
114
  andResubmit: "and submit again.",
113
115
  anLEIIsAUniqueCode: "An LEI is a unique code that identifies legal entities, including companies, who engage in financial transactions.",
114
- annualReport: "Annual Report",
116
+ annualReport: "Annual report",
117
+ annualReports: "Annual reports",
118
+ annualReturns: "Annual returns",
115
119
  annualStatements: "Annual statements",
116
120
  annualTurnover: "Annual turnover",
117
121
  annualTurnoverHelper: "The annual sales revenue minus all discounts and sales taxes. Also known as net sales.",
@@ -132,6 +136,7 @@ const defaultLocaleTranslations = {
132
136
  arithmosEngraphes: "Αριθμός Εγγραφής Φ.Π.Α.",
133
137
  articlesOfIncorporation: "Articles of incorporation",
134
138
  arvonlisaveronumeroMervardesskattenummer: "Arvonlisäveronumero Mervärdesskattenummer",
139
+ assignmentAgreements: "Assignment agreements",
135
140
  association: "Association",
136
141
  associationIncorporated: "Incorporated association",
137
142
  associationIncorporatedDescription: "A registered entity without profit that's organized around a purpose such as recreation, culture, or charity.",
@@ -151,15 +156,15 @@ const defaultLocaleTranslations = {
151
156
  bankAccountFormat: "Bank account format",
152
157
  bankAccountHasToBeInYourCompanyName: "The bank account has to be in your company's name",
153
158
  bankAccountHasToBeInYourName: "The bank account has to be in your name",
154
- bankAccountNameIndividual: "Bank account must be in your name (<strong>%{individualLegalName}</strong>)",
155
- bankAccountNameOrganization: "Bank account must be in your company's name (<strong>%{companyLegalName}</strong>)",
156
- bankAccountNameWithSoleProprietor: "Bank account must be in your name (<strong>%{individualLegalName}</strong>) or sole proprietorship's name (<strong>%{soleProprietorshipName}</strong>)",
157
- bankAccountNameWithTrust: "The bank account must be in your trust's name (<strong>%{trusteeName} as trustee for %{trustLegalName} trading as %{trustTradingName}</strong>)",
158
- bankAccountNameWithTrust_US: "The bank account must be in your trust's name (<strong>%{trusteeName} as trustee for %{trustLegalName} doing business as %{trustTradingName}</strong>)",
159
+ bankAccountNameIndividual: "Bank account must be in your name, %{individualLegalName}",
160
+ bankAccountNameOrganization: "Bank account must be in your company's name, %{companyLegalName}",
161
+ bankAccountNameWithSoleProprietor: "Bank account must be in your name, %{individualLegalName}, or sole proprietorship's name, %{soleProprietorshipName}",
162
+ bankAccountNameWithTrust: "The bank account must be in your trust's name, %{trusteeName}, as trustee for %{trustLegalName} trading as %{trustTradingName}",
163
+ bankAccountNameWithTrust_US: "The bank account must be in your trust's name, %{trusteeName}, as trustee for %{trustLegalName} doing business as %{trustTradingName}",
159
164
  bankAccountNeeded: "A bank account is needed.",
160
165
  bankAccountNumber: "Account number",
161
166
  bankAccountToHaveSameNameAsTrust: "The bank account holder has to have the same name as your trust",
162
- bankAccountToHaveSameNameAsUnincorporatedPartnership: "The bank account holder has to have the same name as ",
167
+ bankAccountToHaveSameNameAsUnincorporatedPartnership: "The bank account holder has to have the same name as %{partnerNames}, as partners for %{partnershipName}.",
163
168
  bankAccountVerification: "Bank account verification",
164
169
  bankCityTown: "Bank city/town",
165
170
  bankCode: "Bank code",
@@ -200,6 +205,7 @@ const defaultLocaleTranslations = {
200
205
  bicSwift: "BIC / SWIFT",
201
206
  birthCertificate: "Birth certificate",
202
207
  birthDate: "Date of birth",
208
+ boardOfDirectorsMeetingRecords: "Board of directors' meeting records of decisions",
203
209
  branchCode: "Branch code",
204
210
  branchNumber: "Branch Number",
205
211
  brokerStatements: "Broker statements",
@@ -256,11 +262,13 @@ const defaultLocaleTranslations = {
256
262
  cardUserTerms: "Card User Terms",
257
263
  cashManagementTrust: "Cash management trust",
258
264
  CCIAA: "CCIAA Number",
265
+ certificateOfCorporateStatus: "Certificate of Corporate Status",
259
266
  certificateOfFormation: "Certificate of formation",
260
267
  certificateOfIncorporation: "Certificate of incorporation",
261
268
  certificateOfIncumbency: "Certificate of incumbency",
262
269
  certificateOfInheritance: "Certificate of inheritance",
263
270
  certificateOfVoterRegistration: "Certificate of voter registration",
271
+ certifiedOrganizationalChart: "Certified Organizational chart",
264
272
  chamberOfCommerceExtract: "Chamber of Commerce extract",
265
273
  chamberOfCommerceRegistrationNumber: "Chamber of Commerce registration number",
266
274
  changeAnswers: "Change answers",
@@ -293,6 +301,7 @@ const defaultLocaleTranslations = {
293
301
  companyFinancialInformationFormDescription: "Financial information",
294
302
  companyFinancialInformationFormHeading: "Financial Details",
295
303
  companyLegalName: "Company legal name",
304
+ companyMember: "A business entity",
296
305
  companyName: "Company name",
297
306
  companyNumber: "Company number",
298
307
  companyNumberNZ: "Company Number",
@@ -317,7 +326,7 @@ const defaultLocaleTranslations = {
317
326
  completeAddingAccount: "Complete adding account",
318
327
  confirm: "Confirm",
319
328
  confirmationOfGrantOrSubsidy: "Confirmation of grant or subsidy",
320
- confirmPersonalInformation: "Confirm personal information",
329
+ confirmPersonalDetails: "Confirm personal details",
321
330
  constitutionalDocument: "Constitutional document",
322
331
  constitutionalDocumentHeader: "Upload a constitutional document",
323
332
  constitutionalDocumentHeaderDescription: "This helps to verify your details.",
@@ -332,7 +341,7 @@ const defaultLocaleTranslations = {
332
341
  continueIndividual: "Continue as individual",
333
342
  contractSpecifyingDividends: "Contract specifying dividends",
334
343
  contributionBelowThreshold: "My settlor's material asset contribution to the trust was less than AUD 10,000 at the time of establishing the trust",
335
- controllerDescriptionAsPartner: "Does this partner have more control over the partnership than others? For example, through additional voting rights.",
344
+ controllerDescriptionAsPartner: "Does this partner have more control over the partnership than others? For example, through additional voting rights. Choose 'No' if all partners have equal control.",
336
345
  controllingPerson: "Controlling person",
337
346
  controllingPersonDescription: "Authorized to make major business decisions (may or may not be an owner)",
338
347
  controllingPersonGuideDescription: "A <strong>controlling person</strong> is someone authorized to make major business decisions. They may or may not be an owner.",
@@ -390,13 +399,13 @@ const defaultLocaleTranslations = {
390
399
  deleteInvestorDetails: "Delete investor details",
391
400
  depositSlip: "Deposit slip",
392
401
  describeWhoIsABeneficiaryInYourTrust: "Describe in open format who is set to be a beneficiary in your trust deed",
402
+ describingTheOrganizationAndItsUBOSignedWithinTheLast6Months: "describing the organization and its Ultimate Beneficial Owners, signed within the last 6 months.",
393
403
  description: "Description",
394
404
  descriptionOfIntellectualProperty: "Description of (intellectual) property",
395
405
  descriptionOfProperty: "Description of property",
396
406
  descriptionOptional: "Description (optional)",
397
407
  descriptionUndefinedBeneficiary: "Undefined beneficiary description",
398
408
  detCentralePersonregister: "Det Centrale Personregister (CPR)",
399
- detected: "Detected",
400
409
  DIC: "Daňové identifikační číslo (DIČ)",
401
410
  director: "Director",
402
411
  directorDescription: "Someone appointed to manage a company's business and affairs",
@@ -456,6 +465,7 @@ const defaultLocaleTranslations = {
456
465
  driving_licence: "Driving license",
457
466
  drivinglicenseBack: "Driving license (back)",
458
467
  drivinglicenseFront: "Driving license (front)",
468
+ dropFilesToUpload: "Drop files to upload",
459
469
  dropFileToUpload: "Drop file to upload",
460
470
  duplicatedFiles: "Duplicated files",
461
471
  edit: "Edit",
@@ -474,6 +484,7 @@ const defaultLocaleTranslations = {
474
484
  enter1CharactersAndThenUpToXDigitsForExample: "Enter 1 character and then up to %{maxDigits} digits. For example, %{example}",
475
485
  enter1LetterAndThenNDigitsForExample: "Enter 1 letter and then %{numDigits} digits. For example, %{example}",
476
486
  enter1LetterAndThenXToYDigitsForExample: "Enter 1 letter and then %{minDigits} to %{maxDigits} digits. For example, %{example}",
487
+ enterAccountNumberWithBranchCodeForExample: "Enter a %{minDigits}-%{maxDigits} digit account number, starting with a 3-digit branch code. For example, %{example}",
477
488
  enterAMaximumOfNCharactersForExample: "Enter a maximum of %{maxChars} characters. For example, %{example}",
478
489
  enterAMaximumOfNCharactersWithAMixForExample: "Enter a maximum of %{maxChars} characters, with a mix of letters and numbers. For example, %{example}",
479
490
  enterAMaximumOfNDigitsForExample: "Enter a maximum of %{maxDigits} digits. For example, %{example}",
@@ -500,11 +511,14 @@ const defaultLocaleTranslations = {
500
511
  enterThreeDifferingOptionsForExample: "Enter %{firstOption}, %{secondOption}, or %{thirdOption}. For example, %{firstExample}, %{secondExample}, or %{thirdExample}",
501
512
  enterValid_: "Please enter valid: %{fieldNames}",
502
513
  enterValidAccountDetails: "Please enter valid account details",
514
+ enterXDigitsThenXToYLettersForExample: "Enter %{numDigits} digits and then %{minLetters} to %{maxLetters} letters. For example, %{example}",
503
515
  enterXOrYCharactersForExample: "Enter %{xChars} or %{yChars} characters. For example, %{example}",
504
516
  enterXOrYDigitsForExample: "Enter %{xDigits} or %{yDigits} digits. For example, %{example}",
505
517
  enterXToYCharactersForExample: "Enter %{minChars} to %{maxChars} characters. For example, %{example}",
506
518
  enterXToYCharactersWithAMixForExample: "Enter %{minChars} to %{maxChars} characters, with a mix of letters and numbers. For example, %{example}",
507
519
  enterXToYDigitsForExample: "Enter %{minDigits} to %{maxDigits} digits. For example, %{example}",
520
+ entitiesMustIncludeANameLegalStructureAndCountryRegionOfRegistration: "Entities must include a name, legal structure, and country/region of registration.",
521
+ entityDecisionMakers: "Entity decision-makers",
508
522
  entityEstablishingTrust: "The entity that establishes a trust.",
509
523
  entityType: "Entity type",
510
524
  errorMessage_1_10: "Information couldn't be verified",
@@ -940,13 +954,14 @@ const defaultLocaleTranslations = {
940
954
  includeFrontAndBack: "Include both the front and back side, each in separate file",
941
955
  includesEIN: "Includes your EIN (Employer Identification Number)",
942
956
  includesEvidenceOfTheIndividualsRole: "Includes evidence of the individual's role as director",
943
- includesEvidenceOfTheIndividualsRoleSignatory: "Includes evidence of the individuals role as signatory",
957
+ includesEvidenceOfTheIndividualsRoleSignatory: "Includes evidence of the individual's role as signatory",
944
958
  includesLegalCompanyName: "Includes the legal name of your company",
945
959
  includesTheDirectorsFullName: "Includes the director's full name",
946
960
  includesTheSignatorysFullName: "Includes the signatory's full name",
947
961
  incorporatedAssociationRegistrationNumber: "Incorporated association registration number",
948
962
  individual: "Individual",
949
963
  individualDetails: "Individual details",
964
+ individualMember: "An individual",
950
965
  individualTrustee: "Individual trustee",
951
966
  individualTrusteeDetails: "Individual trustee details",
952
967
  industryAndNaceCode: "Industry and NACE code",
@@ -1054,6 +1069,7 @@ const defaultLocaleTranslations = {
1054
1069
  isCompanyOwnedByAnotherCompany: "Is %{company} owned by a parent company?",
1055
1070
  isOurTrustedPartnerHelpingSpeedUpSetup: "%{provider} is our trusted partner helping speed up your account setup by instantly verifying your bank account.",
1056
1071
  isParentOwnedByAnotherCompany: "Is your parent company owned by another company?",
1072
+ isPartnershipOperationAddressSame: "Is there a different address for your partnership’s operations?",
1057
1073
  issueDate: "Issue date",
1058
1074
  issueDateWithinTheLast3Months: "Issue date within the last 3 months",
1059
1075
  issueDateWithinTheLast12Months: "Issue date within the last 12 months",
@@ -1236,6 +1252,9 @@ const defaultLocaleTranslations = {
1236
1252
  onboardingRedirectUnsuccessfulCtaButton: "Update details",
1237
1253
  onboardingRedirectUnsuccessfulDescriptionP1: "We couldn't verify some details. Check if they're correct and make any updates needed.",
1238
1254
  onboardingRedirectVerifiedDescriptionP1: "Your details are verified.",
1255
+ one: "One",
1256
+ oneOrganizationalChartAndOneSupportingDocument: "1 organizational chart and 1 supporting document are required",
1257
+ oneOrganizationalChartShowingOwnershipAndControllingRelations: "One organizational chart showing ownership and controlling relationships between the organization and its Ultimate Beneficial Owners, including exact ownership percentages in a visual diagram.",
1239
1258
  onfido: "Onfido.",
1240
1259
  onfidoIsOurTrustedPartner: "Onfido is our trusted partner helping speed up your account setup by verifying your identity in real-time. ",
1241
1260
  onfidoPrivacyPolicy: "Onfido Privacy Policy",
@@ -1250,9 +1269,9 @@ const defaultLocaleTranslations = {
1250
1269
  organisasjonsnummer: "Organisasjonsnummer",
1251
1270
  organisationsnummer: "Organisationsnummer",
1252
1271
  organization: "Organization",
1272
+ organizationalChartAndSupportingDocument: "Organizational chart and supporting document",
1253
1273
  organizationsCountryOfOperation: "Organization's country/region of operation",
1254
1274
  organizationsLegalName: "Organization's legal name",
1255
- original: "Original",
1256
1275
  originatorType: "Originator type",
1257
1276
  orSoleProprietorshipName: "or sole proprietorship's name",
1258
1277
  other: "Other",
@@ -1273,16 +1292,18 @@ const defaultLocaleTranslations = {
1273
1292
  parentCompany: "Parent company",
1274
1293
  parentCompanyInformation: "Parent company information",
1275
1294
  partitaIVA: "Partita IVA",
1276
- partnerAsPartnersForUnincorporatedPartnership: "%{partnerNames}, as partners for %{partnershipName}.",
1277
1295
  partnerIsABusiness: "This partner is a sole proprietor, private company, public corporation, non-profit, or other business entity.",
1278
1296
  partnerNotABusiness: "This partner is not a business",
1279
1297
  partnerRoleDescription: "Tell us more about this partner’s role in the partnership.",
1280
1298
  partnership: "Partnership",
1281
1299
  partnershipAgreement: "Partnership agreement, constitution, or rules",
1282
1300
  partnerShipAgreement: "Partnership agreement",
1301
+ partnershipAgreements: "Partnership agreements",
1283
1302
  partnershipIncorporated: "Incorporated partnership",
1284
1303
  partnershipIncorporatedDescription: "You and your partners have limited liability for business debts.",
1285
1304
  partnershipMemberDetails: "Partnership member details",
1305
+ partnershipMembers: "Partnership members",
1306
+ partnershipMembersDescription: "We need to know some information about all members of this partnership, including both individuals and entities.",
1286
1307
  partnershipOrAssociation: "Partnership or association",
1287
1308
  partnershipsUnincorporated: "Unincorporated partnerships",
1288
1309
  partnershipUnincorporated: "Unincorporated partnership",
@@ -1318,7 +1339,8 @@ const defaultLocaleTranslations = {
1318
1339
  pensionStatement: "Pension statement",
1319
1340
  personalDetails: "Personal details",
1320
1341
  personalIdentityDetails: "Personal identity details",
1321
- personalIdentityDetailsDescription: "We only use these details for identity verification. Learn about how your data is managed in our Privacy Statement.",
1342
+ personalIdentityDetailsDescription: "We only use these details for identity verification. Learn about how your data is managed in our",
1343
+ personalIdentityDetailsDescriptionLink: "Privacy Statement.",
1322
1344
  personalInfoNotNeeded: "Personal information not needed",
1323
1345
  personAppointmentUnderTrustInstrument: "The person appointed under the trust instrument to direct or restrain the trustees in relation to their administration of the trust.",
1324
1346
  personnummer: "Personnummer",
@@ -1346,6 +1368,7 @@ const defaultLocaleTranslations = {
1346
1368
  previous: "Previous",
1347
1369
  previousEmployersName: "Previous employer's name",
1348
1370
  primaryPartner: "Primary partner",
1371
+ primaryPartnerDetails: "Primary partner details",
1349
1372
  principalAmount: "Principal amount",
1350
1373
  principalPlaceOfBusiness: "Principal place of business",
1351
1374
  principalPlaceOfBusinessDescription: "The physical location where a business's key officers oversee and manage its operations: this is usually the main office or headquarters.",
@@ -1483,17 +1506,17 @@ const defaultLocaleTranslations = {
1483
1506
  remediationMessage_1_805: "Update director details",
1484
1507
  remediationMessage_2_117: "Add 'organization.registrationNumber' to legal entity.",
1485
1508
  remediationMessage_2_118: "Add 'organization.taxId' to legal entity.",
1486
- remediationMessage_2_123: "You haven't added an owner",
1487
- remediationMessage_2_124: "You haven't added a signatory",
1509
+ remediationMessage_2_123: "We need to know about all beneficial owners who own at least 25% of the business.",
1510
+ remediationMessage_2_124: "We need to know about at least one signatory who can sign contracts on behalf of the business.",
1488
1511
  remediationMessage_2_125: "Add 'organization.type' to legal entity.",
1489
1512
  remediationMessage_2_133: "Add 'organization.doingBusinessAs' to legal entity.",
1490
- remediationMessage_2_151: "You haven't added a controlling person",
1513
+ remediationMessage_2_151: "We need to know about at least one beneficial owner who controls the strategic direction of the business.",
1491
1514
  remediationMessage_2_153: "Add 'phone.number' to legal entity",
1492
1515
  remediationMessage_2_158: "Provide a VAT number or exemption reason.",
1493
1516
  remediationMessage_2_170: "Add tax information to legal entity.",
1494
1517
  remediationMessage_2_178: "Add 'webAddress' to business line.",
1495
1518
  remediationMessage_2_184: "Add constitutional document for verification to legal entity.",
1496
- remediationMessage_2_185: "You haven't added your directors",
1519
+ remediationMessage_2_185: "We need to know about at least one director appointed to oversee the business.",
1497
1520
  remediationMessage_2_188: "Add proofOfOwnership document document for verification to legal entity",
1498
1521
  remediationMessage_2_194: "Add 'organization.registeredAddress.postalCode' to legal entity.",
1499
1522
  remediationMessage_2_206: "Add 'organization.registeredAddress.street' to legal entity.",
@@ -1567,6 +1590,7 @@ const defaultLocaleTranslations = {
1567
1590
  secretaryOfStateRegDoc: "Registration document from Secretary of State",
1568
1591
  secretaryOfStateRegDoc__PR: "Registration document from Department of State",
1569
1592
  securelyUseYourBanksWebsite: "Securely use your bank's website or mobile app to get verified in minutes.",
1593
+ securitiesRegister: "Securities register",
1570
1594
  select: "Select",
1571
1595
  selectAllTheRolesThatThisDecisionMakerHolds: "Select all the roles that this decision-maker holds.",
1572
1596
  selectASourceOfFunding: "Select a source of funding for %{type}",
@@ -1589,11 +1613,14 @@ const defaultLocaleTranslations = {
1589
1613
  settlorExemptionReason: "Settlor exemption reasons",
1590
1614
  settlorGuideDescription: "<strong>Settlor</strong> is the natural person that created the trust. A settlor is also known as a grantor or founder.",
1591
1615
  setUpYourAccount: "Set up your account",
1616
+ shareholderAgreements: "Shareholder agreements",
1592
1617
  shareholderDocument: "Shareholder document",
1618
+ shareholderRegister: "Shareholder register",
1593
1619
  showAddressStateCountry: "Shows address, state, and country of residence",
1594
1620
  showDetails: "Show details",
1595
1621
  showOnMap: "Show on map",
1596
1622
  showsCountryOfBankAccount: "Includes the country/region of the bank account",
1623
+ showsOwnershipAndControllingRelations: "Shows ownership and controlling relationships between the organization and its Ultimate Beneficial Owners, including exact ownership percentages in a visual diagram.",
1597
1624
  showsTheNameOfTheCoins: "Shows the name of the coin(s)",
1598
1625
  showsTheNameOfTheCryptocurrencyExchange: "Shows the name of the cryptocurrency exchange",
1599
1626
  showsYourBusinessName: "Shows your business's name",
@@ -1606,6 +1633,7 @@ const defaultLocaleTranslations = {
1606
1633
  signatoryQuestionnaireHeader: "To start, let’s find out if this individual is an authorized signatory",
1607
1634
  signatureAndDateWithinTheLast12Months: "Signature and date within the last 12 months",
1608
1635
  signed: "Signed",
1636
+ signedByALawyerAccountantAuditorWithinTheLast6Months: "Signed by a lawyer, accountant, or auditor within the last 6 months.",
1609
1637
  signedByOn: "Signed on %{date} by %{signer}",
1610
1638
  signedCopyOfTheWill: "Signed copy of the will",
1611
1639
  signer: "Signer",
@@ -1689,6 +1717,7 @@ const defaultLocaleTranslations = {
1689
1717
  summaryTaxExemptionLegalCaption_3: "You are an authorized representative and signatory on behalf of the legal entity for which the VAT information was provided.",
1690
1718
  summaryTaxExemptionLegalCaptionTitle: "You have stated you are exempt from VAT/GST, therefore you agree that:",
1691
1719
  supportedFileTypes: "Supported file types: %{fileTypes}",
1720
+ supportingDocument: "Supporting document",
1692
1721
  supportingDocuments: "Supporting documents",
1693
1722
  swiftCode: "Swift code",
1694
1723
  takeOrUploadAPhoto: "Use a photo or scan of an ID document to capture and automatically fill personal details combined with faster, secure identity verification by our trusted partner,",
@@ -1732,6 +1761,7 @@ const defaultLocaleTranslations = {
1732
1761
  taxReportingClassification: "Tax reporting classification",
1733
1762
  taxStatus: "Tax status",
1734
1763
  taxStatusSelfCertification: "Tax status self-certification",
1764
+ tellUsMoreAboutPrimaryPartner: "Tell us about a primary partner in the partnership",
1735
1765
  tellUsMoreAboutTheCryptocurrency: "Tell us more about the cryptocurrency earnings that will be used with our financial products.",
1736
1766
  tellUsMoreAboutTheGamblingProceeds: "Tell us more about the gambling proceeds that will be used with our financial products.",
1737
1767
  tellUsMoreAboutTheGiftOrDonationProceeds: "Tell us more about the gift or donation proceeds that will be used with our financial products.",
@@ -1749,9 +1779,10 @@ const defaultLocaleTranslations = {
1749
1779
  theBusinessName: "The business's name",
1750
1780
  theCityAndCountryRegion: "The city and country/region where is this person is currently located",
1751
1781
  theCompanyIWorkFor: "The company I work for",
1782
+ theDetailsYouEnteredDontMatch: "The details you entered don't match what we detected on the ID document. Select each correct option to continue.",
1783
+ theDocumentsWeCanAcceptToProveOwnershipAre: "The documents we can accept to prove a business’s ownership and control structure are:",
1752
1784
  theIdCheckWillBeAutomaticallyValidated: "With the right capture, the ID check will be automatically validated",
1753
1785
  thenResubmit: "then resubmit.",
1754
- thereAreDifferencesBetweenYourEntryAndWhatWeDetectedInYourIdDocument: "There are differences between your entry and what we detected in your ID document. Select the correct information to continue.",
1755
1786
  thereAreNoSigners: "There are no signers, please add yourself to make sure you can accept the terms and get the funds.",
1756
1787
  thereWasAnErrorTryAgain: "There was an error, please try again",
1757
1788
  thirdPartyInvestmentDetails: "Third-party investment details",
@@ -1806,6 +1837,7 @@ const defaultLocaleTranslations = {
1806
1837
  uboThroughControlGuideDescription: "<strong>UBO through control</strong> is any other individual who controls the trust to make financial and operating decisions on behalf of the trust.",
1807
1838
  uboThroughOwnershipGuideDescription: "<strong>UBO through ownership</strong> is an individual who directly or indirectly own 25% or more of the total shares, voting rights, or other equity in the organization.",
1808
1839
  uen: "Unique Entity Number (UEN)",
1840
+ ultimateBeneficialOwnerRegister: "Ultimate Beneficial Owner register",
1809
1841
  ultimateParentCompany: "Ultimate parent company",
1810
1842
  ultimateParentCompanyInformation: "Ultimate parent company information",
1811
1843
  unableToDeleteDocument: "Unable to delete document",
@@ -1818,8 +1850,7 @@ const defaultLocaleTranslations = {
1818
1850
  undoWithTimer: "Undo... %{secondsLeft}",
1819
1851
  unfortunatelyAnInstantProvider: "Unfortunately an instant provider isn’t available for this country.",
1820
1852
  unincorporatedDetails: "Unincorporated partnership details",
1821
- unincorporatedPartnershipMembers: "Unincorporated partnership members",
1822
- unincorporatedPartnershipMembersDescription: "Tell us about all individuals or entities who are listed in the partnership agreement.",
1853
+ unincorporatedPartnershipMembers: "Unincorporated Partnership members",
1823
1854
  unincorporatedPartnershipType: "Unincorporated Partnership Type",
1824
1855
  uniqueIdentificationCode: "Unique identification code (ЕИК/UIC)",
1825
1856
  unknown: "Unknown",
@@ -1837,7 +1868,9 @@ const defaultLocaleTranslations = {
1837
1868
  uploadedOn: "Uploaded on %{date}",
1838
1869
  uploadOneOfTheseDocuments: "Upload one of these documents:",
1839
1870
  uploadTheFollowingDocuments: "Upload the following documents:",
1871
+ uploadYourDocuments: "Upload your documents",
1840
1872
  uploadYourOrganizationProofOfDirector: "Upload your organization's proof of director",
1873
+ uploadYourOrganizationProofOfOwnership: "Upload your organization's proof of ownership",
1841
1874
  uploadYourOrganizationProofOfSignatory: "Upload your organization’s proof of signatory",
1842
1875
  upToFiles: "Up to %{maxFiles} file(s).",
1843
1876
  useFiguresFromTheMostRecentYearAvailable: "Use figures from the most recent year available",
@@ -1886,10 +1919,12 @@ const defaultLocaleTranslations = {
1886
1919
  weCouldntCompleteTheAccountCheck: "We couldn't complete the account check. Please try again later or provide account details manually.",
1887
1920
  weCouldntConnectToMyinfo: "We couldn't connect to Myinfo",
1888
1921
  weCouldntConnectToMyinfoBusiness: "We couldn't connect to Myinfo Business",
1922
+ weDetected: "We detected",
1889
1923
  weDoNotYetSupportInstantVerificationForBankAccountsIn_: "We do not yet support instant verification for bank accounts in %{countryName}. Therefore, you must provide your account details manually.",
1890
1924
  weDontSupportOnboardingInCountry: "We don't support onboarding in %{country}. To find out more, reach out to customer support.",
1891
1925
  weFoundTheFollowingIssues: "We found the following issues:",
1892
1926
  weNeedAnOfficialDocument: "We need an official document to verify your organization's director.",
1927
+ weNeedAnOfficialDocumentForOwnership: "We need official documentation to verify your organization’s ownership and control structure.",
1893
1928
  weNeedAnOfficialDocumentSignatory: "We need an official document to verify your organization’s signatory.",
1894
1929
  weNeedProofOfFunding: "We need proof of funding sources for %{category_name}. This helps use better understand how you will use these products.",
1895
1930
  weNeedProofOfFundingPlural: "We need proof of funding sources for %{category1_name} and %{category2_name}. This helps use better understand how you will use these products.",
@@ -1903,7 +1938,8 @@ const defaultLocaleTranslations = {
1903
1938
  whatIsTheDifferenceBetweenTheseRoles: "What is the difference between these roles?",
1904
1939
  whatTypeOfCompanyDoYouHave: "What type of company do you have?",
1905
1940
  whatTypeOfEntityIsPartner: "What type of entity is this partner?",
1906
- whatTypeOfOPartnershipAreYou: "What type of partner are you?",
1941
+ whatTypeOfPartnershipAreYou: "What type of entity is the first (primary) partner?",
1942
+ whatTypeOfPartnershipAreYouGuidance: "We'll start by collecting information about one partner. You will be asked to provide details about all other partnership members later.",
1907
1943
  whatTypeOfTrusteeAreYou: "What type of trustee are you?",
1908
1944
  whatTypeOfYourMembersEntity: "What's the type of your member's entity?",
1909
1945
  whereCanIFindTheseNumbersOnMyDriversLicense: "Where can I find these numbers on my driver's license?",
@@ -1911,6 +1947,7 @@ const defaultLocaleTranslations = {
1911
1947
  whereDidThisInheritanceComeFrom: "Where did this inheritance come from?",
1912
1948
  whereToFindNumbersOnDriversLicense: "Depending on the issuing state the position of these numbers might differ, but the license number is always on the front side of the card and the card number is in most cases located on the back of the license.",
1913
1949
  whereToFindNumbersOnDriversLicense__NZ: "The license number and version number are always on the front side of the card.",
1950
+ whichDocumentsQualifyToProveOwnership: "Which documents qualify to prove ownership?",
1914
1951
  whichLegalArrangementDoesYourBusinessHave: "Which legal arrangement does your business have?",
1915
1952
  whichOfTheseApplyToTheSettlor: "Which of these apply to the settlor? Select all that apply.",
1916
1953
  whichTypeOfIdNumberDoYouHave: "Which type of identification number do you have?",
@@ -1939,6 +1976,7 @@ const defaultLocaleTranslations = {
1939
1976
  youAreTrusteeManagingTheTrustForBeneficiaries: "You're a trustee managing the trust for beneficiaries.",
1940
1977
  youCanOnlyUseABankAccountInTheCountryRegionWhereYouLive: "You can only use a bank account in the country/region where you live.",
1941
1978
  youCanOnlyUseABankAccountInTheCountryRegionWhereYourCompanyIsRegistered: "You can only use a bank account in the country/region where your company is registered.",
1979
+ youEntered: "You entered",
1942
1980
  youHaveSuccessfullyProvidedTheIdDocument: "You've successfully provided the ID document.",
1943
1981
  youMayBeAskedToReUpload: "You may be asked to re-upload another identity document in the future.",
1944
1982
  youMustXYearsOldToContinue: "You must be at least %{minimumAge} years old to continue",
@@ -1999,7 +2037,7 @@ const createLogger = () => {
1999
2037
  };
2000
2038
  let sdkToken;
2001
2039
  let fetchSdkToken;
2002
- const logger$i = createLogger();
2040
+ const logger$j = createLogger();
2003
2041
  const setSdkToken = (token) => {
2004
2042
  sdkToken = token;
2005
2043
  };
@@ -2024,7 +2062,7 @@ const refreshSession = async () => {
2024
2062
  setSdkToken(token);
2025
2063
  isSessionRefreshed = true;
2026
2064
  } catch (e) {
2027
- logger$i.error("Failed to fetch sdk token", e);
2065
+ logger$j.error("Failed to fetch sdk token", e);
2028
2066
  }
2029
2067
  return isSessionRefreshed;
2030
2068
  };
@@ -5025,7 +5063,7 @@ const useLegalEntities = (ids, options) => {
5025
5063
  }))
5026
5064
  });
5027
5065
  };
5028
- const logger$h = createLogger();
5066
+ const logger$i = createLogger();
5029
5067
  const QUERIES_TO_INVALIDATE_WHEN_ROOT_LE_IS_INVALIDATED = [
5030
5068
  "businessLines",
5031
5069
  "onboardingStatus",
@@ -5050,7 +5088,7 @@ const useInvalidateRootLegalEntity = () => {
5050
5088
  queryClient.invalidateQueries({
5051
5089
  predicate: ({ queryKey }) => QUERIES_TO_INVALIDATE_WHEN_ROOT_LE_IS_INVALIDATED.includes(queryKey[0])
5052
5090
  })
5053
- ]).catch(logger$h.error),
5091
+ ]).catch(logger$i.error),
5054
5092
  [rootLegalEntityId.value, queryClient]
5055
5093
  );
5056
5094
  };
@@ -5062,7 +5100,7 @@ const loaderSmall = "adyen-kyc-loader-small";
5062
5100
  const loaderMedium = "adyen-kyc-loader-medium";
5063
5101
  const loaderXsmall = "adyen-kyc-loader-xsmall";
5064
5102
  const loaderDot = "adyen-kyc-loader-dot";
5065
- const styles$j = {
5103
+ const styles$f = {
5066
5104
  loaderWrapper,
5067
5105
  loaderWrapperInline,
5068
5106
  loader,
@@ -5073,16 +5111,16 @@ const styles$j = {
5073
5111
  loaderDot
5074
5112
  };
5075
5113
  const sizeMap = {
5076
- xsmall: styles$j.loaderXsmall,
5077
- small: styles$j.loaderSmall,
5078
- medium: styles$j.loaderMedium,
5079
- large: styles$j.loaderLarge
5114
+ xsmall: styles$f.loaderXsmall,
5115
+ small: styles$f.loaderSmall,
5116
+ medium: styles$f.loaderMedium,
5117
+ large: styles$f.loaderLarge
5080
5118
  };
5081
- const Loader = ({ inline = false, size = "large", dot = false }) => /* @__PURE__ */ jsx$1("div", { className: cx(styles$j.loaderWrapper, { [styles$j.loaderWrapperInline]: inline }), children: /* @__PURE__ */ jsx$1(
5119
+ const Loader = ({ inline = false, size = "large", dot = false }) => /* @__PURE__ */ jsx$1("div", { className: cx(styles$f.loaderWrapper, { [styles$f.loaderWrapperInline]: inline }), children: /* @__PURE__ */ jsx$1(
5082
5120
  "div",
5083
5121
  {
5084
5122
  role: "progressbar",
5085
- className: cx(styles$j.loader, sizeMap[size], { [styles$j.loaderDot]: dot })
5123
+ className: cx(styles$f.loader, sizeMap[size], { [styles$f.loaderDot]: dot })
5086
5124
  }
5087
5125
  ) });
5088
5126
  var TaskStatus = /* @__PURE__ */ ((TaskStatus2) => {
@@ -5105,7 +5143,6 @@ var TaskTypes = /* @__PURE__ */ ((TaskTypes2) => {
5105
5143
  TaskTypes2["TASKS_OVERVIEW"] = "TASKS_OVERVIEW";
5106
5144
  TaskTypes2["REVIEW"] = "REVIEW";
5107
5145
  TaskTypes2["INDIVIDUAL"] = "INDIVIDUAL";
5108
- TaskTypes2["COMPANY"] = "COMPANY";
5109
5146
  TaskTypes2["BUSINESS_DETAILS"] = "BUSINESS_DETAILS";
5110
5147
  TaskTypes2["CUSTOMER_SUPPORT"] = "CUSTOMER_SUPPORT";
5111
5148
  TaskTypes2["PAYOUT"] = "PAYOUT";
@@ -5342,12 +5379,12 @@ const unscalableIconNames = [
5342
5379
  "upload",
5343
5380
  "warning"
5344
5381
  ];
5345
- const logger$g = createLogger();
5382
+ const logger$h = createLogger();
5346
5383
  const Svg = ({ className: className2, name, testId, title, type }) => {
5347
5384
  const LazyLoadedSvg = svgs[name];
5348
5385
  const viewBox = unscalableIconNames.includes(name) ? "0 0 16 16" : void 0;
5349
5386
  if (!LazyLoadedSvg) {
5350
- logger$g.error(`No such svg: "${name}"`);
5387
+ logger$h.error(`No such svg: "${name}"`);
5351
5388
  return null;
5352
5389
  }
5353
5390
  return /* @__PURE__ */ jsx$1("span", { className: cx(`adyen-kyc-${type}`, className2), "data-testid": testId, children: /* @__PURE__ */ jsx$1(Suspense, { fallback: null, children: viewBox ? /* @__PURE__ */ jsx$1(LazyLoadedSvg, { "aria-hidden": type === "icon", viewBox, title: title || name }) : /* @__PURE__ */ jsx$1(LazyLoadedSvg, { "aria-hidden": type === "icon", title: title || name }) }) });
@@ -5366,7 +5403,7 @@ const buttonVariantCritical = "adyen-kyc-button-variant-critical";
5366
5403
  const buttonVariantLink = "adyen-kyc-button-variant-link";
5367
5404
  const buttonVariantSurface = "adyen-kyc-button-variant-surface";
5368
5405
  const buttonSpinner = "adyen-kyc-button-spinner";
5369
- const styles$i = {
5406
+ const styles$e = {
5370
5407
  button,
5371
5408
  buttonFullWidth,
5372
5409
  buttonLabel,
@@ -5395,17 +5432,17 @@ const ButtonBase = ({
5395
5432
  }) => {
5396
5433
  const isDisabled = disabled || loading;
5397
5434
  const buttonVariantStyle = {
5398
- primary: styles$i.buttonVariantPrimary,
5399
- secondary: styles$i.buttonVariantSecondary,
5400
- tertiary: styles$i.buttonVariantTertiary,
5401
- critical: styles$i.buttonVariantCritical,
5402
- link: styles$i.buttonVariantLink,
5403
- surface: styles$i.buttonVariantSurface
5435
+ primary: styles$e.buttonVariantPrimary,
5436
+ secondary: styles$e.buttonVariantSecondary,
5437
+ tertiary: styles$e.buttonVariantTertiary,
5438
+ critical: styles$e.buttonVariantCritical,
5439
+ link: styles$e.buttonVariantLink,
5440
+ surface: styles$e.buttonVariantSurface
5404
5441
  };
5405
- const rootClassName = cx(styles$i.button, buttonVariantStyle[variant], {
5406
- [styles$i.buttonShapeRectangle]: circle === false,
5407
- [styles$i.buttonShapeCircle]: circle === true,
5408
- [styles$i.buttonFullWidth]: fullWidth
5442
+ const rootClassName = cx(styles$e.button, buttonVariantStyle[variant], {
5443
+ [styles$e.buttonShapeRectangle]: circle === false,
5444
+ [styles$e.buttonShapeCircle]: circle === true,
5445
+ [styles$e.buttonFullWidth]: fullWidth
5409
5446
  });
5410
5447
  const handleOnClick = (event) => {
5411
5448
  event.preventDefault();
@@ -5423,7 +5460,7 @@ const ButtonBase = ({
5423
5460
  onClick: handleOnClick,
5424
5461
  type,
5425
5462
  children: [
5426
- loading && /* @__PURE__ */ jsx$1("div", { className: styles$i.buttonSpinner, children: /* @__PURE__ */ jsx$1(Loader, { size: "small" }) }),
5463
+ loading && /* @__PURE__ */ jsx$1("div", { className: styles$e.buttonSpinner, children: /* @__PURE__ */ jsx$1(Loader, { size: "small" }) }),
5427
5464
  children2
5428
5465
  ]
5429
5466
  }
@@ -5450,8 +5487,8 @@ const Button = ({
5450
5487
  type,
5451
5488
  variant
5452
5489
  };
5453
- const labelClassname = cx(styles$i.buttonLabel, {
5454
- [styles$i.buttonLabelPadding]: variant !== "link"
5490
+ const labelClassname = cx(styles$e.buttonLabel, {
5491
+ [styles$e.buttonLabelPadding]: variant !== "link"
5455
5492
  });
5456
5493
  return /* @__PURE__ */ jsx$1(ButtonBase, { ...buttonProps, children: /* @__PURE__ */ jsxs("div", { className: labelClassname, children: [
5457
5494
  icon && /* @__PURE__ */ jsx$1(Icon, { name: icon }),
@@ -5477,7 +5514,7 @@ const IconButton = ({
5477
5514
  testId,
5478
5515
  variant
5479
5516
  };
5480
- return /* @__PURE__ */ jsx$1(ButtonBase, { ...buttonProps, children: /* @__PURE__ */ jsx$1("div", { className: styles$i.buttonLabel, children: /* @__PURE__ */ jsx$1(Icon, { name: icon }) }) });
5517
+ return /* @__PURE__ */ jsx$1(ButtonBase, { ...buttonProps, children: /* @__PURE__ */ jsx$1("div", { className: styles$e.buttonLabel, children: /* @__PURE__ */ jsx$1(Icon, { name: icon }) }) });
5481
5518
  };
5482
5519
  const entriesOf = (object) => Object.entries(object);
5483
5520
  const valuesOf = (object) => Object.values(object);
@@ -5884,7 +5921,7 @@ const Field = ({
5884
5921
  };
5885
5922
  const loaderWrapperLoader = "adyen-kyc-loader-wrapper-loader";
5886
5923
  const loaderWrapperLoaderActive = "adyen-kyc-loader-wrapper-loader-active";
5887
- const styles$h = {
5924
+ const styles$d = {
5888
5925
  loaderWrapperLoader,
5889
5926
  loaderWrapperLoaderActive
5890
5927
  };
@@ -5899,13 +5936,13 @@ const LoaderWrapper = ({
5899
5936
  const opacitySyle = status === "loading" ? {
5900
5937
  opacity: formOpacityWhenLoading
5901
5938
  } : { opacity: 1 };
5902
- const loaderWrapperClass = cx(styles$h.loaderWrapperLoader, {
5903
- [styles$h.loaderWrapperLoaderActive]: status === "loading" && showSpinner
5939
+ const loaderWrapperClass = cx(styles$d.loaderWrapperLoader, {
5940
+ [styles$d.loaderWrapperLoaderActive]: status === "loading" && showSpinner
5904
5941
  });
5905
- const overlayClass = cx(styles$h.loaderWrapper, className2);
5942
+ const overlayClass = cx(styles$d.loaderWrapper, className2);
5906
5943
  return /* @__PURE__ */ jsxs("div", { className: overlayClass, style: { position: "relative" }, children: [
5907
5944
  /* @__PURE__ */ jsx$1("div", { className: loaderWrapperClass, children: /* @__PURE__ */ jsx$1(Loader, { size: loaderSize }) }),
5908
- /* @__PURE__ */ jsx$1("div", { className: styles$h.loaderWrapperForm, style: opacitySyle, children: children2 })
5945
+ /* @__PURE__ */ jsx$1("div", { className: styles$d.loaderWrapperForm, style: opacitySyle, children: children2 })
5909
5946
  ] });
5910
5947
  };
5911
5948
  const toast = "adyen-kyc-toast";
@@ -5915,7 +5952,7 @@ const toastImageError = "adyen-kyc-toast-image-error";
5915
5952
  const toastLabel = "adyen-kyc-toast-label";
5916
5953
  const toastActions = "adyen-kyc-toast-actions";
5917
5954
  const toastActionClose = "adyen-kyc-toast-action-close";
5918
- const styles$g = {
5955
+ const styles$c = {
5919
5956
  toast,
5920
5957
  toastImage,
5921
5958
  toastImageSuccess,
@@ -5932,9 +5969,9 @@ const Toast = ({ action, duration = 1e4, label, onDismiss, variant = "info" }) =
5932
5969
  error: "field-error",
5933
5970
  success: "checkmark"
5934
5971
  };
5935
- const imageClassname = cx(styles$g.toastImage, {
5936
- [styles$g.toastImageSuccess]: variant === "success",
5937
- [styles$g.toastImageError]: variant === "error"
5972
+ const imageClassname = cx(styles$c.toastImage, {
5973
+ [styles$c.toastImageSuccess]: variant === "success",
5974
+ [styles$c.toastImageError]: variant === "error"
5938
5975
  });
5939
5976
  useEffect(() => {
5940
5977
  let dismissToastTimer;
@@ -5947,14 +5984,14 @@ const Toast = ({ action, duration = 1e4, label, onDismiss, variant = "info" }) =
5947
5984
  clearTimeout(dismissToastTimer);
5948
5985
  };
5949
5986
  }, [duration, onDismiss]);
5950
- return /* @__PURE__ */ jsxs("div", { "aria-label": label, className: styles$g.toast, role, children: [
5951
- /* @__PURE__ */ jsxs("div", { className: styles$g.toastLabel, children: [
5987
+ return /* @__PURE__ */ jsxs("div", { "aria-label": label, className: styles$c.toast, role, children: [
5988
+ /* @__PURE__ */ jsxs("div", { className: styles$c.toastLabel, children: [
5952
5989
  hasIcon && /* @__PURE__ */ jsx$1("div", { className: imageClassname, "data-testId": iconNames[variant], children: /* @__PURE__ */ jsx$1(Icon, { name: iconNames[variant] }) }),
5953
5990
  label
5954
5991
  ] }),
5955
- /* @__PURE__ */ jsxs("div", { className: styles$g.toastActions, children: [
5992
+ /* @__PURE__ */ jsxs("div", { className: styles$c.toastActions, children: [
5956
5993
  hasAction && /* @__PURE__ */ jsx$1(Button, { onClick: action.onClick, children: action.label }),
5957
- /* @__PURE__ */ jsx$1("div", { className: styles$g.toastActionClose, children: /* @__PURE__ */ jsx$1(IconButton, { icon: "cross", ariaLabel: "Close", onClick: onDismiss }) })
5994
+ /* @__PURE__ */ jsx$1("div", { className: styles$c.toastActionClose, children: /* @__PURE__ */ jsx$1(IconButton, { icon: "cross", ariaLabel: "Close", onClick: onDismiss }) })
5958
5995
  ] })
5959
5996
  ] });
5960
5997
  };
@@ -6015,7 +6052,7 @@ const modalButton = "adyen-kyc-modal-button";
6015
6052
  const modalHeader = "adyen-kyc-modal-header";
6016
6053
  const modalContent = "adyen-kyc-modal-content";
6017
6054
  const modalFooter = "adyen-kyc-modal-footer";
6018
- const styles$f = {
6055
+ const styles$b = {
6019
6056
  modal,
6020
6057
  modalBody,
6021
6058
  modalBodyHeight,
@@ -6073,19 +6110,19 @@ const Modal = ({
6073
6110
  };
6074
6111
  }, []);
6075
6112
  const transitionStyle = {
6076
- slideIn: styles$f.modalTransitionSlideIn,
6077
- dropIn: styles$f.modalTransitionDropIn
6113
+ slideIn: styles$b.modalTransitionSlideIn,
6114
+ dropIn: styles$b.modalTransitionDropIn
6078
6115
  };
6079
6116
  const sizeStyle = {
6080
- small: styles$f.modalSmall,
6081
- medium: styles$f.modalMedium,
6082
- large: styles$f.modalLarge,
6083
- fullscreen: styles$f.modalFullscreen
6117
+ small: styles$b.modalSmall,
6118
+ medium: styles$b.modalMedium,
6119
+ large: styles$b.modalLarge,
6120
+ fullscreen: styles$b.modalFullscreen
6084
6121
  };
6085
- const rootClassname = cx(styles$f.modal, transitionStyle[transition], sizeStyle[size]);
6086
- const bodyClassname = cx(styles$f.modalBody, {
6087
- [styles$f.modalInset]: inset === true,
6088
- [styles$f.modalBodyHeight]: size !== "small"
6122
+ const rootClassname = cx(styles$b.modal, transitionStyle[transition], sizeStyle[size]);
6123
+ const bodyClassname = cx(styles$b.modalBody, {
6124
+ [styles$b.modalInset]: inset === true,
6125
+ [styles$b.modalBodyHeight]: size !== "small"
6089
6126
  });
6090
6127
  return /* @__PURE__ */ jsxs(Fragment, { children: [
6091
6128
  /* @__PURE__ */ jsx$1("style", { children: `html,body { overflow: hidden !important; }` }),
@@ -6098,7 +6135,7 @@ const Modal = ({
6098
6135
  onClose,
6099
6136
  ref: dialogRef,
6100
6137
  children: [
6101
- shouldShowCloseButton && /* @__PURE__ */ jsx$1("div", { className: styles$f.modalButton, children: /* @__PURE__ */ jsx$1(
6138
+ shouldShowCloseButton && /* @__PURE__ */ jsx$1("div", { className: styles$b.modalButton, children: /* @__PURE__ */ jsx$1(
6102
6139
  IconButton,
6103
6140
  {
6104
6141
  ariaLabel: "Close",
@@ -6114,9 +6151,9 @@ const Modal = ({
6114
6151
  )
6115
6152
  ] });
6116
6153
  };
6117
- const ModalHeader = ({ children: children2 }) => /* @__PURE__ */ jsx$1("header", { className: styles$f.modalHeader, children: children2 });
6118
- const ModalContent = ({ children: children2 }) => /* @__PURE__ */ jsx$1("section", { className: styles$f.modalContent, children: children2 });
6119
- const ModalFooter = ({ children: children2 }) => /* @__PURE__ */ jsx$1("footer", { className: styles$f.modalFooter, children: children2 });
6154
+ const ModalHeader = ({ children: children2 }) => /* @__PURE__ */ jsx$1("header", { className: styles$b.modalHeader, children: children2 });
6155
+ const ModalContent = ({ children: children2 }) => /* @__PURE__ */ jsx$1("section", { className: styles$b.modalContent, children: children2 });
6156
+ const ModalFooter = ({ children: children2 }) => /* @__PURE__ */ jsx$1("footer", { className: styles$b.modalFooter, children: children2 });
6120
6157
  const MaybeModal = ({ ariaLabel, children: children2, inline = false, onClose }) => {
6121
6158
  return inline ? /* @__PURE__ */ jsx$1(Fragment, { children: children2 }) : /* @__PURE__ */ jsx$1(Modal, { onClose, ariaLabel, children: /* @__PURE__ */ jsx$1(ToastContextProvider, { children: children2 }) });
6122
6159
  };
@@ -6417,7 +6454,7 @@ const selectInputNonFilterable = "adyen-kyc-select-input--non-filterable";
6417
6454
  const selectInputPlaceholder = "adyen-kyc-select-input--placeholder";
6418
6455
  const ignorePointerEvents = "adyen-kyc-ignore-pointer-events";
6419
6456
  const handlePointerEvents = "adyen-kyc-handle-pointer-events";
6420
- const styles$e = {
6457
+ const styles$a = {
6421
6458
  selectInputWrapper,
6422
6459
  selectInputActive,
6423
6460
  selectInputReadonly,
@@ -6516,17 +6553,17 @@ function SelectButton({
6516
6553
  "div",
6517
6554
  {
6518
6555
  className: cx({
6519
- [styles$e.selectInputWrapper]: true,
6520
- [styles$e.selectInputMinimal]: minimal,
6521
- [styles$e.selectInputReadonly]: readonly,
6522
- [styles$e.selectInputActive]: isFocused,
6523
- [styles$e.selectInputListOpen]: showList,
6524
- [styles$e.selectInputInvalid]: isInvalid,
6525
- [styles$e.selectInputSearch]: filterable === "prefiltered",
6526
- [styles$e.selectInputWrapperFilterable]: filterable,
6527
- [styles$e.selectInputWrapperNonFilterable]: !filterable,
6556
+ [styles$a.selectInputWrapper]: true,
6557
+ [styles$a.selectInputMinimal]: minimal,
6558
+ [styles$a.selectInputReadonly]: readonly,
6559
+ [styles$a.selectInputActive]: isFocused,
6560
+ [styles$a.selectInputListOpen]: showList,
6561
+ [styles$a.selectInputInvalid]: isInvalid,
6562
+ [styles$a.selectInputSearch]: filterable === "prefiltered",
6563
+ [styles$a.selectInputWrapperFilterable]: filterable,
6564
+ [styles$a.selectInputWrapperNonFilterable]: !filterable,
6528
6565
  // To resolve a bug where filterable select `<input>`s weren't focusable on iOS
6529
- [styles$e.ignorePointerEvents]: isAppleMobile
6566
+ [styles$a.ignorePointerEvents]: isAppleMobile
6530
6567
  }),
6531
6568
  ref: wrapperRef,
6532
6569
  onClick: handleClick,
@@ -6553,13 +6590,13 @@ function SelectButton({
6553
6590
  "aria-autocomplete": filterable ? "list" : void 0,
6554
6591
  autoComplete: "off",
6555
6592
  className: cx({
6556
- [styles$e.selectInput]: true,
6557
- [styles$e.selectInputFilterable]: filterable,
6558
- [styles$e.selectInputNonFilterable]: !filterable,
6559
- [styles$e.selectInputMinimal]: minimal,
6560
- [styles$e.selectInputReadonly]: readonly,
6593
+ [styles$a.selectInput]: true,
6594
+ [styles$a.selectInputFilterable]: filterable,
6595
+ [styles$a.selectInputNonFilterable]: !filterable,
6596
+ [styles$a.selectInputMinimal]: minimal,
6597
+ [styles$a.selectInputReadonly]: readonly,
6561
6598
  // To resolve a bug where filterable select `<input>`s weren't focusable on iOS
6562
- [styles$e.handlePointerEvents]: isAppleMobile
6599
+ [styles$a.handlePointerEvents]: isAppleMobile
6563
6600
  }),
6564
6601
  placeholder,
6565
6602
  value,
@@ -6569,7 +6606,7 @@ function SelectButton({
6569
6606
  onKeyDown: handleKeyDown
6570
6607
  }
6571
6608
  ),
6572
- !filterable && !value ? /* @__PURE__ */ jsx$1("span", { className: styles$e.selectInputPlaceholder, children: placeholder }) : void 0,
6609
+ !filterable && !value ? /* @__PURE__ */ jsx$1("span", { className: styles$a.selectInputPlaceholder, children: placeholder }) : void 0,
6573
6610
  loading && /* @__PURE__ */ jsx$1(Loader, { size: "small", dot: true })
6574
6611
  ]
6575
6612
  }
@@ -6673,7 +6710,7 @@ const SelectListItem = ({
6673
6710
  ] })
6674
6711
  }
6675
6712
  );
6676
- const logger$f = createLogger();
6713
+ const logger$g = createLogger();
6677
6714
  const DEFAULT_ITEM_HEIGHT = 36;
6678
6715
  function SelectList({
6679
6716
  selectListId,
@@ -6762,7 +6799,7 @@ function SelectList({
6762
6799
  if (itemEl) {
6763
6800
  itemEl.focus();
6764
6801
  } else {
6765
- logger$f.warn("[SelectList] still cannot see the option", item.name);
6802
+ logger$g.warn("[SelectList] still cannot see the option", item.name);
6766
6803
  }
6767
6804
  }, 20);
6768
6805
  },
@@ -6827,17 +6864,17 @@ function SelectList({
6827
6864
  const allItemsVisible = totalItems <= maxVisibleItems;
6828
6865
  const [showAbove, setShowAbove] = useState(false);
6829
6866
  useEffect(() => {
6830
- const list2 = listRef.current;
6867
+ const list = listRef.current;
6831
6868
  const input = inputRef.current;
6832
6869
  const resizeObserver = new ResizeObserver(() => {
6833
- const dropdownHeight = list2.offsetHeight;
6870
+ const dropdownHeight = list.offsetHeight;
6834
6871
  const windowHeight = window.innerHeight;
6835
6872
  const position = input.getBoundingClientRect().bottom;
6836
6873
  const isSpaceBelow = windowHeight - position > dropdownHeight;
6837
6874
  const isSpaceAbove = position > dropdownHeight;
6838
6875
  setShowAbove(!isSpaceBelow && isSpaceAbove);
6839
6876
  });
6840
- resizeObserver.observe(list2);
6877
+ resizeObserver.observe(list);
6841
6878
  return () => resizeObserver.disconnect();
6842
6879
  }, [inputRef, listRef]);
6843
6880
  return /* @__PURE__ */ jsx$1(
@@ -7152,10 +7189,10 @@ const Select = ({
7152
7189
  );
7153
7190
  };
7154
7191
  const spacer$1 = "adyen-kyc-spacer";
7155
- const styles$d = {
7192
+ const styles$9 = {
7156
7193
  spacer: spacer$1
7157
7194
  };
7158
- const Spacer = () => /* @__PURE__ */ jsx$1("div", { className: styles$d.spacer });
7195
+ const Spacer = () => /* @__PURE__ */ jsx$1("div", { className: styles$9.spacer });
7159
7196
  const ExperimentsContext = createContext$1({
7160
7197
  isExperimentEnabled: () => false,
7161
7198
  enableVersionExperiment: () => {
@@ -7208,7 +7245,7 @@ class ValidationResult {
7208
7245
  return this.validationResults;
7209
7246
  }
7210
7247
  }
7211
- const logger$e = createLogger();
7248
+ const logger$f = createLogger();
7212
7249
  const useAsyncValidator = (asyncRules) => {
7213
7250
  const [asyncValidationResults, setAsyncValidationResults] = useState({});
7214
7251
  const clearAsyncValidationResults = useCallback(
@@ -7237,7 +7274,7 @@ const useAsyncValidator = (asyncRules) => {
7237
7274
  }
7238
7275
  ])
7239
7276
  }));
7240
- }).catch(logger$e.error);
7277
+ }).catch(logger$f.error);
7241
7278
  },
7242
7279
  [asyncRules, clearAsyncValidationResults]
7243
7280
  );
@@ -7873,7 +7910,7 @@ function useForm({
7873
7910
  const skeleton = "adyen-kyc-skeleton";
7874
7911
  const skeletonCircle = "adyen-kyc-skeleton-circle";
7875
7912
  const skeletonText = "adyen-kyc-skeleton-text";
7876
- const styles$c = {
7913
+ const styles$8 = {
7877
7914
  skeleton,
7878
7915
  skeletonCircle,
7879
7916
  skeletonText
@@ -7884,9 +7921,9 @@ const Skeleton = ({
7884
7921
  height = "1em",
7885
7922
  width
7886
7923
  }) => {
7887
- const classNames = cx(styles$c.skeleton, {
7888
- [styles$c.skeletonCircle]: circle,
7889
- [styles$c.skeletonText]: text
7924
+ const classNames = cx(styles$8.skeleton, {
7925
+ [styles$8.skeletonCircle]: circle,
7926
+ [styles$8.skeletonText]: text
7890
7927
  });
7891
7928
  return /* @__PURE__ */ jsx$1("div", { className: classNames, style: { height, width } });
7892
7929
  };
@@ -7902,7 +7939,7 @@ const accordionContent = "adyen-kyc-accordion-content";
7902
7939
  const accordionWithIcon = "adyen-kyc-accordion-with-icon";
7903
7940
  const accordionArrow = "adyen-kyc-accordion-arrow";
7904
7941
  const accordionArrowRight = "adyen-kyc-accordion-arrow-right";
7905
- const styles$b = {
7942
+ const styles$7 = {
7906
7943
  accordion,
7907
7944
  accordionSummary,
7908
7945
  accordionBasic,
@@ -7930,34 +7967,34 @@ const Accordion = ({
7930
7967
  onToggle(e.newState === "closed" ? "close" : "open");
7931
7968
  };
7932
7969
  const variantMap2 = {
7933
- basic: styles$b.accordionBasic,
7934
- info: styles$b.accordionInfo,
7935
- error: styles$b.accordionError,
7936
- warning: styles$b.accordionWarning,
7937
- success: styles$b.accordionSuccess
7970
+ basic: styles$7.accordionBasic,
7971
+ info: styles$7.accordionInfo,
7972
+ error: styles$7.accordionError,
7973
+ warning: styles$7.accordionWarning,
7974
+ success: styles$7.accordionSuccess
7938
7975
  };
7939
7976
  return /* @__PURE__ */ jsxs(
7940
7977
  "details",
7941
7978
  {
7942
7979
  onToggle: handleToggle,
7943
- className: cx(className2, styles$b.accordion, variantMap2[variant], {
7944
- [styles$b.accordionWithIcon]: expandOnLeft,
7945
- [styles$b.accordionNarrow]: narrow
7980
+ className: cx(className2, styles$7.accordion, variantMap2[variant], {
7981
+ [styles$7.accordionWithIcon]: expandOnLeft,
7982
+ [styles$7.accordionNarrow]: narrow
7946
7983
  }),
7947
7984
  children: [
7948
- /* @__PURE__ */ jsxs("summary", { className: styles$b.accordionSummary, children: [
7949
- expandOnLeft && /* @__PURE__ */ jsx$1(Icon, { name: "chevron-down", className: styles$b.accordionArrow }),
7985
+ /* @__PURE__ */ jsxs("summary", { className: styles$7.accordionSummary, children: [
7986
+ expandOnLeft && /* @__PURE__ */ jsx$1(Icon, { name: "chevron-down", className: styles$7.accordionArrow }),
7950
7987
  /* @__PURE__ */ jsx$1(Slot, { name: "icon" }),
7951
7988
  /* @__PURE__ */ jsx$1(Typography, { el: "h3", variant: "body-strongest", children: /* @__PURE__ */ jsx$1(Slot, { name: "title", children: /* @__PURE__ */ jsx$1(Skeleton, {}) }) }),
7952
7989
  !expandOnLeft && /* @__PURE__ */ jsx$1(
7953
7990
  Icon,
7954
7991
  {
7955
7992
  name: "chevron-down",
7956
- className: cx(styles$b.accordionArrow, styles$b.accordionArrowRight)
7993
+ className: cx(styles$7.accordionArrow, styles$7.accordionArrowRight)
7957
7994
  }
7958
7995
  )
7959
7996
  ] }),
7960
- /* @__PURE__ */ jsx$1("div", { className: styles$b.accordionContent, children: /* @__PURE__ */ jsx$1(Slot, { name: "content", children: /* @__PURE__ */ jsx$1(Skeleton, {}) }) })
7997
+ /* @__PURE__ */ jsx$1("div", { className: styles$7.accordionContent, children: /* @__PURE__ */ jsx$1(Slot, { name: "content", children: /* @__PURE__ */ jsx$1(Skeleton, {}) }) })
7961
7998
  ]
7962
7999
  }
7963
8000
  );
@@ -7978,7 +8015,7 @@ const alertIconError = "adyen-kyc-alert-icon-error";
7978
8015
  const alertIconWarning = "adyen-kyc-alert-icon-warning";
7979
8016
  const alertIconSuccess = "adyen-kyc-alert-icon-success";
7980
8017
  const alertTitle = "adyen-kyc-alert-title";
7981
- const styles$a = {
8018
+ const styles$6 = {
7982
8019
  alert,
7983
8020
  alertWithoutIcon,
7984
8021
  alertExplanation,
@@ -7997,19 +8034,19 @@ const styles$a = {
7997
8034
  alertTitle
7998
8035
  };
7999
8036
  const variantMap = {
8000
- basic: styles$a.alertBasic,
8001
- info: styles$a.alertInfo,
8002
- error: styles$a.alertError,
8003
- warning: styles$a.alertWarning,
8004
- success: styles$a.alertSuccess
8037
+ basic: styles$6.alertBasic,
8038
+ info: styles$6.alertInfo,
8039
+ error: styles$6.alertError,
8040
+ warning: styles$6.alertWarning,
8041
+ success: styles$6.alertSuccess
8005
8042
  };
8006
8043
  const iconVariantMap = {
8007
8044
  basic: "",
8008
8045
  // does not exist
8009
- info: styles$a.alertIconInfo,
8010
- error: styles$a.alertIconError,
8011
- warning: styles$a.alertIconWarning,
8012
- success: styles$a.alertIconSuccess
8046
+ info: styles$6.alertIconInfo,
8047
+ error: styles$6.alertIconError,
8048
+ warning: styles$6.alertIconWarning,
8049
+ success: styles$6.alertIconSuccess
8013
8050
  };
8014
8051
  const Alert = ({
8015
8052
  title,
@@ -8035,7 +8072,7 @@ const Alert = ({
8035
8072
  if (isValidElement(icon)) {
8036
8073
  return icon;
8037
8074
  }
8038
- return /* @__PURE__ */ jsx$1("span", { className: cx(styles$a.alertIcon, iconVariantMap[variant]), children: /* @__PURE__ */ jsx$1(AlertIcon, { variant }) });
8075
+ return /* @__PURE__ */ jsx$1("span", { className: cx(styles$6.alertIcon, iconVariantMap[variant]), children: /* @__PURE__ */ jsx$1(AlertIcon, { variant }) });
8039
8076
  };
8040
8077
  const renderedIcon = renderIcon();
8041
8078
  if (type === "collapsible") {
@@ -8044,7 +8081,7 @@ const Alert = ({
8044
8081
  /* @__PURE__ */ jsx$1("template", { slot: "icon", children: renderedIcon }),
8045
8082
  /* @__PURE__ */ jsxs("template", { slot: "content", children: [
8046
8083
  children2,
8047
- !!actions && /* @__PURE__ */ jsx$1("div", { className: styles$a.alertActions, children: actions })
8084
+ !!actions && /* @__PURE__ */ jsx$1("div", { className: styles$6.alertActions, children: actions })
8048
8085
  ] })
8049
8086
  ] });
8050
8087
  }
@@ -8052,18 +8089,18 @@ const Alert = ({
8052
8089
  return /* @__PURE__ */ jsxs(
8053
8090
  "div",
8054
8091
  {
8055
- className: cx(styles$a.alert, className2, variantMap[variant], {
8056
- [styles$a.alertWithoutIcon]: !renderedIcon
8092
+ className: cx(styles$6.alert, className2, variantMap[variant], {
8093
+ [styles$6.alertWithoutIcon]: !renderedIcon
8057
8094
  }),
8058
8095
  role: "alert",
8059
8096
  "data-testid": testId,
8060
8097
  children: [
8061
- /* @__PURE__ */ jsxs("div", { className: styles$a.alertHeader, children: [
8098
+ /* @__PURE__ */ jsxs("div", { className: styles$6.alertHeader, children: [
8062
8099
  renderedIcon,
8063
- title && /* @__PURE__ */ jsx$1(Typography, { el: "h3", variant: "body-strongest", className: styles$a.alertTitle, children: title }),
8064
- !!actions && /* @__PURE__ */ jsx$1("div", { className: styles$a.alertActions, children: actions })
8100
+ title && /* @__PURE__ */ jsx$1(Typography, { el: "h3", variant: "body-strongest", className: styles$6.alertTitle, children: title }),
8101
+ !!actions && /* @__PURE__ */ jsx$1("div", { className: styles$6.alertActions, children: actions })
8065
8102
  ] }),
8066
- !!children2 && /* @__PURE__ */ jsx$1("div", { className: styles$a.alertExplanation, children: children2 })
8103
+ !!children2 && /* @__PURE__ */ jsx$1("div", { className: styles$6.alertExplanation, children: children2 })
8067
8104
  ]
8068
8105
  }
8069
8106
  );
@@ -8071,19 +8108,19 @@ const Alert = ({
8071
8108
  return /* @__PURE__ */ jsxs(
8072
8109
  "div",
8073
8110
  {
8074
- className: cx(styles$a.alert, className2, variantMap[variant], {
8075
- [styles$a.alertWithoutIcon]: !renderedIcon
8111
+ className: cx(styles$6.alert, className2, variantMap[variant], {
8112
+ [styles$6.alertWithoutIcon]: !renderedIcon
8076
8113
  }),
8077
8114
  role: "alert",
8078
8115
  "data-testid": testId,
8079
8116
  children: [
8080
- /* @__PURE__ */ jsxs("div", { className: styles$a.alertHeader, children: [
8117
+ /* @__PURE__ */ jsxs("div", { className: styles$6.alertHeader, children: [
8081
8118
  renderedIcon,
8082
- title && /* @__PURE__ */ jsx$1(Typography, { el: "h3", variant: "body-strongest", className: styles$a.alertTitle, children: title }),
8119
+ title && /* @__PURE__ */ jsx$1(Typography, { el: "h3", variant: "body-strongest", className: styles$6.alertTitle, children: title }),
8083
8120
  type === "dismissible" && /* @__PURE__ */ jsx$1(Button, { variant: "tertiary", icon: "cross", onClick: closeAlert, children: i18n.get("close") })
8084
8121
  ] }),
8085
- !!children2 && /* @__PURE__ */ jsx$1("div", { className: styles$a.alertExplanation, children: children2 }),
8086
- !!actions && /* @__PURE__ */ jsx$1("div", { className: styles$a.alertActions, children: actions })
8122
+ !!children2 && /* @__PURE__ */ jsx$1("div", { className: styles$6.alertExplanation, children: children2 }),
8123
+ !!actions && /* @__PURE__ */ jsx$1("div", { className: styles$6.alertActions, children: actions })
8087
8124
  ]
8088
8125
  }
8089
8126
  );
@@ -8882,10 +8919,8 @@ const invalidInputRemediationActionMappings = {
8882
8919
  "1_504": [{ key: "vatDocument" }],
8883
8920
  "1_505": [{ key: "proofOfAddress" }],
8884
8921
  "1_506": [{ key: "proofOfAddress" }],
8885
- "1_507": [],
8886
- // [{ key: 'documents', type: ['proofOfOwnership'] }] // <---- See DEV-50768,
8887
- "1_508": [],
8888
- // [{ key: 'documents', type: ['proofOfOwnership'] }] // <---- See DEV-50768
8922
+ "1_507": [{ key: "proofOfOwnership" }],
8923
+ "1_508": [{ key: "proofOfOwnership" }],
8889
8924
  "1_512": [{ key: "vatDocument" }, { key: "organization.vatNumber" }],
8890
8925
  "1_513": [{ key: "vatDocument" }, { key: "organization.vatNumber" }],
8891
8926
  "1_524": [{ key: "organization.registeredAddress.street" }],
@@ -8921,6 +8956,7 @@ const dataMissingRemediationsToFieldsMap = {
8921
8956
  "2_158": ["vatNumber", "exemptedFromVat", "vatAbsenceReason"],
8922
8957
  "2_170": ["organization.taxInformation"],
8923
8958
  "2_184": ["constitutionalDocument"],
8959
+ "2_188": ["proofOfOwnership"],
8924
8960
  "2_194": ["organization.registeredAddress.postalCode"],
8925
8961
  "2_206": ["organization.registeredAddress.street"],
8926
8962
  "2_208": ["organization.registeredAddress.city"],
@@ -9166,10 +9202,10 @@ function useResetGlobalData(caller) {
9166
9202
  );
9167
9203
  }
9168
9204
  const divider = "adyen-kyc-divider";
9169
- const styles$9 = {
9205
+ const styles$5 = {
9170
9206
  divider
9171
9207
  };
9172
- const Divider = () => /* @__PURE__ */ jsx$1("hr", { className: styles$9.divider });
9208
+ const Divider = () => /* @__PURE__ */ jsx$1("hr", { className: styles$5.divider });
9173
9209
  function FormHeader({
9174
9210
  heading,
9175
9211
  description,
@@ -9258,25 +9294,6 @@ function ServerValidationErrors({
9258
9294
  )) })
9259
9295
  ] }) });
9260
9296
  }
9261
- const list = "adyen-kyc-list";
9262
- const listNoMarkers = "adyen-kyc-list-no-markers";
9263
- const listItem = "adyen-kyc-list-item";
9264
- const listOrdered = "adyen-kyc-list-ordered";
9265
- const styles$8 = {
9266
- list,
9267
- listNoMarkers,
9268
- listItem,
9269
- listOrdered
9270
- };
9271
- function List({ className: className2, ordered, noMarkers, items }) {
9272
- const classNames = cx([
9273
- styles$8.list,
9274
- ordered && styles$8.listOrdered,
9275
- noMarkers && styles$8.listNoMarkers,
9276
- className2
9277
- ]);
9278
- return /* @__PURE__ */ jsx$1("ul", { className: classNames, children: items.map((item, idx) => /* @__PURE__ */ jsx$1("li", { className: styles$8.listItem, children: item }, idx)) });
9279
- }
9280
9297
  function VerificationErrors({
9281
9298
  verificationErrors,
9282
9299
  formUtils
@@ -9308,7 +9325,7 @@ function VerificationErrors({
9308
9325
  });
9309
9326
  uploadFilesCopy = /* @__PURE__ */ jsxs(Fragment, { children: [
9310
9327
  formUtils.getLabel("uploadTheFollowingDocuments"),
9311
- /* @__PURE__ */ jsx$1(List, { items: uploadFieldListItems })
9328
+ /* @__PURE__ */ jsx$1("ul", { children: uploadFieldListItems.map((item, i) => /* @__PURE__ */ jsx$1("li", { children: item }, i)) })
9312
9329
  ] });
9313
9330
  } else {
9314
9331
  const firstUploadField = uploadFields[0];
@@ -9989,7 +10006,7 @@ const useAsyncAccountDetailsValidationRules = (payload, hasEmptyFields2, isAccou
9989
10006
  }, [mutateAsync, hasEmptyFields2, payload]);
9990
10007
  return accountValidationData;
9991
10008
  };
9992
- const logger$d = createLogger();
10009
+ const logger$e = createLogger();
9993
10010
  const getAccountIdentificationFromPayoutAccountSchema = (payoutAccount, bankCountry) => {
9994
10011
  var _a2;
9995
10012
  if ("iban" in payoutAccount && payoutAccount.iban)
@@ -10077,7 +10094,7 @@ const getAccountIdentificationFromPayoutAccountSchema = (payoutAccount, bankCoun
10077
10094
  routingNumber: payoutAccount.branchCode
10078
10095
  };
10079
10096
  default:
10080
- logger$d.log(`${bankCountry.toLowerCase()}Local is not a configured region`);
10097
+ logger$e.log(`${bankCountry.toLowerCase()}Local is not a configured region`);
10081
10098
  return {
10082
10099
  type: `${bankCountry.toLowerCase()}Local`,
10083
10100
  accountNumber: payoutAccount.bankAccountNumber
@@ -10093,7 +10110,7 @@ const mapPayoutAccountSchemaToApiBankAccount = (payoutAccount, bankCountry) => (
10093
10110
  bankName: payoutAccount.bankName
10094
10111
  });
10095
10112
  const convertFullToHalf = (str) => str.replace(/[!-~]/g, (r) => String.fromCharCode(r.charCodeAt(0) - 65248));
10096
- const logger$c = createLogger();
10113
+ const logger$d = createLogger();
10097
10114
  function TextArea(props) {
10098
10115
  const {
10099
10116
  autoCorrect,
@@ -10115,7 +10132,7 @@ function TextArea(props) {
10115
10132
  const userEvents2 = useAnalyticsContext();
10116
10133
  const [value, setValue] = useState("");
10117
10134
  if (Object.prototype.hasOwnProperty.call(props, "onChange")) {
10118
- logger$c.error("Error: Form fields that rely on InputBase may not have an onChange property");
10135
+ logger$d.error("Error: Form fields that rely on InputBase may not have an onChange property");
10119
10136
  }
10120
10137
  const handleInput = (e) => {
10121
10138
  var _a2;
@@ -10194,6 +10211,134 @@ function StateContextSetter({ stateRef }) {
10194
10211
  return null;
10195
10212
  } });
10196
10213
  }
10214
+ const logger$c = createLogger();
10215
+ function useAssociatedLegalEntity(parentLegalEntity, associationType) {
10216
+ const matchingAssociation = useMemo(() => {
10217
+ var _a2;
10218
+ if (!parentLegalEntity) return void 0;
10219
+ const typesToFind = Array.isArray(associationType) ? associationType : [associationType];
10220
+ const matchingAssociations = ((_a2 = parentLegalEntity.entityAssociations) == null ? void 0 : _a2.filter((entity) => typesToFind.includes(entity.type))) ?? [];
10221
+ if (matchingAssociations.length > 1) {
10222
+ logger$c.warn(
10223
+ `Multiple matching associations found for types: ${typesToFind.join(", ")} - returning the first.
10224
+ ${matchingAssociations.map((ass) => JSON.stringify(ass, null, 2)).join("\n")}`
10225
+ );
10226
+ }
10227
+ return matchingAssociations[0];
10228
+ }, [parentLegalEntity, associationType]);
10229
+ const { data, refetch, isLoading } = useLegalEntity(
10230
+ (matchingAssociation == null ? void 0 : matchingAssociation.legalEntityId) ?? skipToken
10231
+ );
10232
+ return { data, refetch, isLoading };
10233
+ }
10234
+ const getLegalEntityNameBasedOnType = (legalEntityResponse) => {
10235
+ var _a2, _b2, _c2, _d2, _e2;
10236
+ if (legalEntityResponse.type === LegalEntityType.INDIVIDUAL) {
10237
+ return `${((_b2 = (_a2 = legalEntityResponse.individual) == null ? void 0 : _a2.name) == null ? void 0 : _b2.firstName) ?? ""} ${((_d2 = (_c2 = legalEntityResponse.individual) == null ? void 0 : _c2.name) == null ? void 0 : _d2.lastName) ?? ""}`;
10238
+ }
10239
+ return ((_e2 = legalEntityResponse.organization) == null ? void 0 : _e2.legalName) ?? "";
10240
+ };
10241
+ const getPayoutAccountHolderName = (legalEntity, i18n) => {
10242
+ const ownAssociations = getOwnEntityAssociations(legalEntity);
10243
+ const trustAssociation = ownAssociations.find(({ type }) => type === LegalEntityType.TRUST);
10244
+ if (trustAssociation == null ? void 0 : trustAssociation.name) {
10245
+ const trustName = trustAssociation.name;
10246
+ const trusteeName = getLegalEntityNameBasedOnType(legalEntity);
10247
+ return i18n.get("trusteeAsTrusteeForTrust", { values: { trustName, trusteeName } });
10248
+ }
10249
+ const solePropAssociation = ownAssociations.find(
10250
+ ({ type }) => type === LegalEntityType.SOLE_PROPRIETORSHIP
10251
+ );
10252
+ if (solePropAssociation == null ? void 0 : solePropAssociation.name) {
10253
+ return solePropAssociation.name;
10254
+ }
10255
+ return getLegalEntityNameBasedOnType(legalEntity);
10256
+ };
10257
+ const getMemberOwnerId = (memberId, entityAssociations) => {
10258
+ var _a2;
10259
+ return (_a2 = entityAssociations.find((association) => association.associatorId === memberId)) == null ? void 0 : _a2.legalEntityId;
10260
+ };
10261
+ const convertEntityAssociationIntoUnincorporatedPartnershipMember = (association) => {
10262
+ if (association.entityType === LegalEntityType.INDIVIDUAL || association.entityType === LegalEntityType.ORGANIZATION)
10263
+ return {
10264
+ memberType: association.type,
10265
+ roles: [],
10266
+ legalEntityType: association.entityType,
10267
+ legalEntityId: association.legalEntityId || "",
10268
+ name: association.name || ""
10269
+ };
10270
+ throw new Error(`Not a valid member: ${JSON.stringify(association)}`);
10271
+ };
10272
+ const mapEntityAssociationsToUnincorporatedPartnershipMembers = (entityId, entityAssociations, rootLegalEntity) => {
10273
+ var _a2;
10274
+ const mappedUnincorporatedPartnershipMembers = entityAssociations.reduce(
10275
+ (acc, entityAssociation) => {
10276
+ if (!Object.values(UnincorporatedPartnershipMemberTypes).includes(
10277
+ entityAssociation.type
10278
+ ) || entityAssociation.associatorId !== entityId || !entityAssociation.legalEntityId) {
10279
+ return acc;
10280
+ }
10281
+ const unincorporatedPartnershipMember = acc[entityAssociation.legalEntityId] ?? convertEntityAssociationIntoUnincorporatedPartnershipMember(entityAssociation);
10282
+ const unincorporatedPartnershipMemberType = entityAssociation.type;
10283
+ const memberOwnerId = getMemberOwnerId(entityAssociation.legalEntityId, entityAssociations);
10284
+ if (memberOwnerId) {
10285
+ unincorporatedPartnershipMember.ownerId = memberOwnerId;
10286
+ }
10287
+ acc[entityAssociation.legalEntityId] = {
10288
+ ...unincorporatedPartnershipMember,
10289
+ roles: [
10290
+ .../* @__PURE__ */ new Set([
10291
+ ...unincorporatedPartnershipMember.roles,
10292
+ unincorporatedPartnershipMemberType
10293
+ ])
10294
+ ]
10295
+ };
10296
+ return acc;
10297
+ },
10298
+ {}
10299
+ );
10300
+ if (rootLegalEntity) {
10301
+ mappedUnincorporatedPartnershipMembers[rootLegalEntity.id] = {
10302
+ legalEntityId: rootLegalEntity.id,
10303
+ legalEntityType: rootLegalEntity.type,
10304
+ name: getLegalEntityNameBasedOnType(rootLegalEntity),
10305
+ memberType: UnincorporatedPartnershipMemberTypes.SECONDARY_PARTNER,
10306
+ // Overriding role as primaryPartner to display in the UI, but type does not exist in the backend
10307
+ roles: ["primaryPartner"]
10308
+ };
10309
+ }
10310
+ return (_a2 = Object.values(mappedUnincorporatedPartnershipMembers)) == null ? void 0 : _a2.sort(
10311
+ (member) => (member == null ? void 0 : member.legalEntityId) !== (rootLegalEntity == null ? void 0 : rootLegalEntity.id) ? 1 : -1
10312
+ );
10313
+ };
10314
+ const deleteUnincorporatedPartnershipMember = async ({
10315
+ associatedMember,
10316
+ unincorporatedPartnership,
10317
+ updateLegalEntity
10318
+ }) => {
10319
+ const ownEntityAssociations = getOwnEntityAssociations(unincorporatedPartnership);
10320
+ await updateLegalEntity({
10321
+ id: unincorporatedPartnership.id,
10322
+ entityAssociations: ownEntityAssociations.filter(
10323
+ (entityAssociation) => entityAssociation.legalEntityId !== associatedMember.legalEntityId
10324
+ )
10325
+ });
10326
+ };
10327
+ function useUnincorporatedPartnershipMembers() {
10328
+ const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
10329
+ const { data: unincorporatedPartnership } = useAssociatedLegalEntity(
10330
+ rootLegalEntity,
10331
+ LegalEntityType.UNINCORPORATED_PARTNERSHIP
10332
+ );
10333
+ return useMemo(() => {
10334
+ if (!rootLegalEntity || !(unincorporatedPartnership == null ? void 0 : unincorporatedPartnership.unincorporatedPartnership)) return [];
10335
+ return mapEntityAssociationsToUnincorporatedPartnershipMembers(
10336
+ unincorporatedPartnership.id,
10337
+ unincorporatedPartnership.entityAssociations ?? [],
10338
+ rootLegalEntity
10339
+ );
10340
+ }, [rootLegalEntity, unincorporatedPartnership]);
10341
+ }
10197
10342
  const getDocumentGuidancePrefix = (documentType) => {
10198
10343
  switch (documentType) {
10199
10344
  case "passport":
@@ -10214,12 +10359,13 @@ function DocumentGuidance({ type, className: className2 }) {
10214
10359
  const { i18n } = useI18nContext();
10215
10360
  const documentGuidanceItems = useMemo(() => {
10216
10361
  const guidancePrefix = getDocumentGuidancePrefix(type);
10217
- return [
10362
+ const guidanceItems = [
10218
10363
  { svgName: `${guidancePrefix}-front`, translationKey: "good", valid: true },
10219
10364
  { svgName: `${guidancePrefix}-cutoff`, translationKey: "notCutOff" },
10220
10365
  { svgName: `${guidancePrefix}-blurred`, translationKey: "notBlurry" },
10221
10366
  guidancePrefix === "document" ? { svgName: `document-expired`, translationKey: "notExpired" } : { svgName: `${guidancePrefix}-glare`, translationKey: "noGlare" }
10222
10367
  ];
10368
+ return type === "constitutionalDocument" ? guidanceItems.filter((item) => item.svgName !== "document-expired") : guidanceItems;
10223
10369
  }, [type]);
10224
10370
  return /* @__PURE__ */ jsx$1("div", { className: cx("adyen-kyc-document-guidance", className2), children: /* @__PURE__ */ jsx$1("div", { className: "adyen-kyc-document-guidance__container", children: documentGuidanceItems.map((item) => /* @__PURE__ */ jsxs("figure", { className: "adyen-kyc-document-guidance__item", children: [
10225
10371
  /* @__PURE__ */ jsx$1(Svg, { type: "image", name: item.svgName }),
@@ -10510,29 +10656,6 @@ const fileValidationRules = ({
10510
10656
  modes: ["blur", "input"]
10511
10657
  }
10512
10658
  ];
10513
- const getLegalEntityNameBasedOnType = (legalEntityResponse) => {
10514
- var _a2, _b2, _c2, _d2, _e2;
10515
- if (legalEntityResponse.type === LegalEntityType.INDIVIDUAL) {
10516
- return `${((_b2 = (_a2 = legalEntityResponse.individual) == null ? void 0 : _a2.name) == null ? void 0 : _b2.firstName) ?? ""} ${((_d2 = (_c2 = legalEntityResponse.individual) == null ? void 0 : _c2.name) == null ? void 0 : _d2.lastName) ?? ""}`;
10517
- }
10518
- return ((_e2 = legalEntityResponse.organization) == null ? void 0 : _e2.legalName) ?? "";
10519
- };
10520
- const getPayoutAccountHolderName = (legalEntity, i18n) => {
10521
- const ownAssociations = getOwnEntityAssociations(legalEntity);
10522
- const trustAssociation = ownAssociations.find(({ type }) => type === LegalEntityType.TRUST);
10523
- if (trustAssociation == null ? void 0 : trustAssociation.name) {
10524
- const trustName = trustAssociation.name;
10525
- const trusteeName = getLegalEntityNameBasedOnType(legalEntity);
10526
- return i18n.get("trusteeAsTrusteeForTrust", { values: { trustName, trusteeName } });
10527
- }
10528
- const solePropAssociation = ownAssociations.find(
10529
- ({ type }) => type === LegalEntityType.SOLE_PROPRIETORSHIP
10530
- );
10531
- if (solePropAssociation == null ? void 0 : solePropAssociation.name) {
10532
- return solePropAssociation.name;
10533
- }
10534
- return getLegalEntityNameBasedOnType(legalEntity);
10535
- };
10536
10659
  var BankDocumentTypes = /* @__PURE__ */ ((BankDocumentTypes2) => {
10537
10660
  BankDocumentTypes2["BANK_STATEMENT"] = "bankStatement";
10538
10661
  BankDocumentTypes2["DEPOSIT_SLIP"] = "depositSlip";
@@ -10553,6 +10676,7 @@ var BankDocumentRequirement = /* @__PURE__ */ ((BankDocumentRequirement2) => {
10553
10676
  BankDocumentRequirement2["ACCOUNT_NAME_ORGANIZATION"] = "bankAccountNameOrganization";
10554
10677
  BankDocumentRequirement2["ACCOUNT_NAME_WITH_SOLE_PROP"] = "bankAccountNameWithSoleProprietor";
10555
10678
  BankDocumentRequirement2["ACCOUNT_NAME_WITH_TRUST"] = "bankAccountNameWithTrust";
10679
+ BankDocumentRequirement2["ACCOUNT_NAME_WITH_UNINCORPORATED_PARTNERSHIP"] = "accountMustBeInTheNameOfUnincorporatedPartnership";
10556
10680
  BankDocumentRequirement2["ACCOUNT_NUMBER_OR_IBAN"] = "accountNumberOrIbanVisible";
10557
10681
  BankDocumentRequirement2["ACCOUNT_NUMBER"] = "accountNumberVisible";
10558
10682
  BankDocumentRequirement2["ACCOUNT_NUMBER_FULL_OR_PARTIAL"] = "accountNumberFullOrPartialVisible";
@@ -10579,17 +10703,23 @@ const accountNameRequirementWithLegalArrangement = {
10579
10703
  [LegalEntityType.TRUST]: {
10580
10704
  [CountryCodes.UnitedStates]: "bankAccountNameWithTrust_US",
10581
10705
  default: BankDocumentRequirement.ACCOUNT_NAME_WITH_TRUST
10706
+ },
10707
+ [LegalEntityType.UNINCORPORATED_PARTNERSHIP]: {
10708
+ default: BankDocumentRequirement.ACCOUNT_NAME_WITH_UNINCORPORATED_PARTNERSHIP
10582
10709
  }
10583
10710
  },
10584
10711
  [LegalEntityType.ORGANIZATION]: {
10585
10712
  [LegalEntityType.TRUST]: {
10586
10713
  [CountryCodes.UnitedStates]: "bankAccountNameWithTrust_US",
10587
10714
  default: BankDocumentRequirement.ACCOUNT_NAME_WITH_TRUST
10715
+ },
10716
+ [LegalEntityType.UNINCORPORATED_PARTNERSHIP]: {
10717
+ default: BankDocumentRequirement.ACCOUNT_NAME_WITH_UNINCORPORATED_PARTNERSHIP
10588
10718
  }
10589
10719
  }
10590
10720
  };
10591
10721
  const applyNamedModifiers = (country, documentModifiers) => {
10592
- var _a2, _b2, _c2, _d2, _e2;
10722
+ var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2;
10593
10723
  if (!documentModifiers.associatedEntityType || !documentModifiers.associatedEntityLegalName) {
10594
10724
  switch (documentModifiers.rootEntityType) {
10595
10725
  case LegalEntityType.INDIVIDUAL:
@@ -10619,10 +10749,20 @@ const applyNamedModifiers = (country, documentModifiers) => {
10619
10749
  }
10620
10750
  }
10621
10751
  };
10752
+ case LegalEntityType.UNINCORPORATED_PARTNERSHIP:
10753
+ return {
10754
+ key: ((_c2 = accountNameRequirementWithLegalArrangement[LegalEntityType.INDIVIDUAL][LegalEntityType.UNINCORPORATED_PARTNERSHIP]) == null ? void 0 : _c2[country]) ?? ((_d2 = accountNameRequirementWithLegalArrangement[LegalEntityType.INDIVIDUAL][LegalEntityType.UNINCORPORATED_PARTNERSHIP]) == null ? void 0 : _d2.default),
10755
+ options: {
10756
+ values: {
10757
+ partnerNames: documentModifiers.unincorporatedPartnershipMembers || "",
10758
+ partnershipName: documentModifiers.associatedEntityLegalName
10759
+ }
10760
+ }
10761
+ };
10622
10762
  case LegalEntityType.SOLE_PROPRIETORSHIP:
10623
10763
  default:
10624
10764
  return {
10625
- key: (_c2 = accountNameRequirementWithLegalArrangement[LegalEntityType.INDIVIDUAL][LegalEntityType.SOLE_PROPRIETORSHIP]) == null ? void 0 : _c2.default,
10765
+ key: (_e2 = accountNameRequirementWithLegalArrangement[LegalEntityType.INDIVIDUAL][LegalEntityType.SOLE_PROPRIETORSHIP]) == null ? void 0 : _e2.default,
10626
10766
  options: {
10627
10767
  values: {
10628
10768
  individualLegalName: documentModifiers.rootEntityLegalName,
@@ -10636,7 +10776,7 @@ const applyNamedModifiers = (country, documentModifiers) => {
10636
10776
  switch (documentModifiers.associatedEntityType) {
10637
10777
  case LegalEntityType.TRUST:
10638
10778
  return {
10639
- key: ((_d2 = accountNameRequirementWithLegalArrangement[LegalEntityType.ORGANIZATION][LegalEntityType.TRUST]) == null ? void 0 : _d2[country]) ?? ((_e2 = accountNameRequirementWithLegalArrangement[LegalEntityType.ORGANIZATION][LegalEntityType.TRUST]) == null ? void 0 : _e2.default),
10779
+ key: ((_f2 = accountNameRequirementWithLegalArrangement[LegalEntityType.ORGANIZATION][LegalEntityType.TRUST]) == null ? void 0 : _f2[country]) ?? ((_g2 = accountNameRequirementWithLegalArrangement[LegalEntityType.ORGANIZATION][LegalEntityType.TRUST]) == null ? void 0 : _g2.default),
10640
10780
  options: {
10641
10781
  values: {
10642
10782
  trusteeName: documentModifiers.rootEntityLegalName,
@@ -10645,6 +10785,16 @@ const applyNamedModifiers = (country, documentModifiers) => {
10645
10785
  }
10646
10786
  }
10647
10787
  };
10788
+ case LegalEntityType.UNINCORPORATED_PARTNERSHIP:
10789
+ return {
10790
+ key: ((_h2 = accountNameRequirementWithLegalArrangement[LegalEntityType.ORGANIZATION][LegalEntityType.UNINCORPORATED_PARTNERSHIP]) == null ? void 0 : _h2[country]) ?? ((_i2 = accountNameRequirementWithLegalArrangement[LegalEntityType.ORGANIZATION][LegalEntityType.UNINCORPORATED_PARTNERSHIP]) == null ? void 0 : _i2.default),
10791
+ options: {
10792
+ values: {
10793
+ partnerNames: documentModifiers.unincorporatedPartnershipMembers || "",
10794
+ partnershipName: documentModifiers.associatedEntityLegalName
10795
+ }
10796
+ }
10797
+ };
10648
10798
  default:
10649
10799
  return { key: accountNameRequirement[LegalEntityType.ORGANIZATION].default };
10650
10800
  }
@@ -10684,25 +10834,14 @@ const BankDocumentRequirements = ({
10684
10834
  documentModifiers
10685
10835
  }) => {
10686
10836
  const { i18n } = useI18nContext();
10837
+ const documentRequirements = getBankDocumentRequirements(
10838
+ country,
10839
+ documentType,
10840
+ documentModifiers
10841
+ );
10687
10842
  return /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-document-requirements", children: [
10688
10843
  /* @__PURE__ */ jsx$1("strong", { className: "adyen-kyc-document-requirements__subtitle", children: i18n.get("documentRequirements") }),
10689
- /* @__PURE__ */ jsx$1(
10690
- List,
10691
- {
10692
- items: getBankDocumentRequirements(country, documentType, documentModifiers).map(
10693
- ({ key, options }) => /* @__PURE__ */ jsx$1(
10694
- "span",
10695
- {
10696
- "data-testid": key,
10697
- dangerouslySetInnerHTML: {
10698
- __html: i18n.get(key, options)
10699
- }
10700
- },
10701
- key
10702
- )
10703
- )
10704
- }
10705
- )
10844
+ /* @__PURE__ */ jsx$1("ul", { children: documentRequirements.map(({ key, options }, i) => /* @__PURE__ */ jsx$1("li", { "data-testid": key, children: i18n.get(key, options) }, i)) })
10706
10845
  ] });
10707
10846
  };
10708
10847
  const emailPattern = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;
@@ -10793,18 +10932,20 @@ function BankDocument(props) {
10793
10932
  });
10794
10933
  }, [data, valid, errors, fieldProblems, id]);
10795
10934
  const getBankDocumentOptions = () => bankDocumentOptions.map(({ id: id2, name }) => ({ id: id2, name: i18n.get(name) }));
10935
+ const unincorporatedPartnershipMembers = useUnincorporatedPartnershipMembers();
10796
10936
  const documentsModifiers = useMemo(
10797
10937
  () => {
10798
- var _a2, _b2;
10938
+ var _a2, _b2, _c2;
10799
10939
  return {
10800
10940
  rootEntityType: legalEntity.type,
10801
10941
  rootEntityLegalName: getLegalEntityNameBasedOnType(legalEntity),
10802
10942
  associatedEntityType: associatedLegalArrangement == null ? void 0 : associatedLegalArrangement.type,
10803
10943
  associatedEntityLegalName: (_a2 = associatedLegalArrangement == null ? void 0 : associatedLegalArrangement[associatedLegalArrangement == null ? void 0 : associatedLegalArrangement.type]) == null ? void 0 : _a2.name,
10804
- associatedEntityTradingName: (_b2 = associatedLegalArrangement == null ? void 0 : associatedLegalArrangement[associatedLegalArrangement == null ? void 0 : associatedLegalArrangement.type]) == null ? void 0 : _b2.doingBusinessAs
10944
+ associatedEntityTradingName: (_b2 = associatedLegalArrangement == null ? void 0 : associatedLegalArrangement[associatedLegalArrangement == null ? void 0 : associatedLegalArrangement.type]) == null ? void 0 : _b2.doingBusinessAs,
10945
+ unincorporatedPartnershipMembers: (_c2 = unincorporatedPartnershipMembers == null ? void 0 : unincorporatedPartnershipMembers.map((member) => member == null ? void 0 : member.name)) == null ? void 0 : _c2.join(", ")
10805
10946
  };
10806
10947
  },
10807
- [legalEntity, associatedLegalArrangement]
10948
+ [legalEntity, associatedLegalArrangement, unincorporatedPartnershipMembers]
10808
10949
  );
10809
10950
  return /* @__PURE__ */ jsxs("form", { className: "adyen-kyc-bank-document", children: [
10810
10951
  /* @__PURE__ */ jsx$1(StateContextSetter, { owner: id, stateRef }),
@@ -11042,8 +11183,6 @@ const addAnimationStartListener = (element, listener) => {
11042
11183
  const removeAnimationStartListener = (element, listener) => {
11043
11184
  element.removeEventListener("animationstart", listener, false);
11044
11185
  };
11045
- const isProviderPlaidEmbedded = (redirectUrl) => !!(redirectUrl == null ? void 0 : redirectUrl.includes("/plaid/embedded-search/sdk?")) || !!(redirectUrl == null ? void 0 : redirectUrl.includes("/plaidEmbeddedSearch"));
11046
- const isProviderWidgetInline = (providerName) => !providerName ? true : ["PayWithMyBank"].includes(providerName);
11047
11186
  const removeElementSiblings = (element) => {
11048
11187
  const parent = element.parentNode;
11049
11188
  if (!parent) return;
@@ -11446,9 +11585,6 @@ function BankVerificationWidget({
11446
11585
  if (fullscreen) {
11447
11586
  container.classList.add(`${WIDGET_CONTAINER_CLASS}--fullscreen`);
11448
11587
  }
11449
- if (isProviderPlaidEmbedded(url)) {
11450
- container.classList.add(`${WIDGET_CONTAINER_CLASS}--plaid-institutions`);
11451
- }
11452
11588
  return () => {
11453
11589
  iFrameWidget == null ? void 0 : iFrameWidget.unmount();
11454
11590
  iFrame == null ? void 0 : iFrame.remove();
@@ -12619,7 +12755,21 @@ const defaultFieldConfig$9 = {
12619
12755
  [CountryCodes.Australia]: simpleBankAccountNumberMetadata("0001234", 5, 10),
12620
12756
  [CountryCodes.Brazil]: simpleBankAccountNumberMetadata("0009795493", 4, 12),
12621
12757
  [CountryCodes.Canada]: simpleBankAccountNumberMetadata("10220001111", 5, 12),
12622
- [CountryCodes.HongKong]: simpleBankAccountNumberMetadata("123456789001", 6, 18),
12758
+ [CountryCodes.HongKong]: {
12759
+ label: "bankAccountNumber",
12760
+ validators: validatePatternOnBlur(new RegExp(`^\\d{${6},${18}}$`)),
12761
+ mask: {
12762
+ mask: makeMask(...numericInputs(6), ...numericInputs(12, true))
12763
+ },
12764
+ guidanceText: {
12765
+ key: "enterAccountNumberWithBranchCodeForExample",
12766
+ values: {
12767
+ minDigits: "9",
12768
+ maxDigits: "15",
12769
+ example: "790000000"
12770
+ }
12771
+ }
12772
+ },
12623
12773
  [CountryCodes.Singapore]: simpleBankAccountNumberMetadata("0052312891876", 4, 19),
12624
12774
  [CountryCodes.Sweden]: simpleBankAccountNumberMetadata("123456789", 7, 10),
12625
12775
  [CountryCodes.UnitedStates]: simpleBankAccountNumberMetadata("10220001111", 3, 17),
@@ -12789,7 +12939,7 @@ const defaultFieldConfig$8 = {
12789
12939
  [CountryCodes.Brazil]: simpleBankCodeMetadata(3, "123"),
12790
12940
  [CountryCodes.Canada]: simpleBankCodeMetadata(3, "100", "institutionNumber"),
12791
12941
  [CountryCodes.Denmark]: simpleBankCodeMetadata(4, "5051"),
12792
- [CountryCodes.HongKong]: simpleBankCodeMetadata(3, "321", "clearingCode"),
12942
+ [CountryCodes.HongKong]: simpleBankCodeMetadata(3, "250", "bankCode"),
12793
12943
  [CountryCodes.Norway]: simpleBankCodeMetadata(4, "8601"),
12794
12944
  // Not yet implemented
12795
12945
  [CountryCodes.Ecuador]: simpleBankCodeMetadata(4, "1234"),
@@ -13543,76 +13693,6 @@ const useAccountHolder = () => {
13543
13693
  setAccountHolder: setAccountHolderIntoLocalStorage
13544
13694
  };
13545
13695
  };
13546
- const getMemberOwnerId = (memberId, entityAssociations) => {
13547
- var _a2;
13548
- return (_a2 = entityAssociations.find((association) => association.associatorId === memberId)) == null ? void 0 : _a2.legalEntityId;
13549
- };
13550
- const convertEntityAssociationIntoUnincorporatedPartnershipMember = (association) => {
13551
- if (association.entityType === LegalEntityType.INDIVIDUAL || association.entityType === LegalEntityType.ORGANIZATION)
13552
- return {
13553
- memberType: association.type,
13554
- roles: [],
13555
- legalEntityType: association.entityType,
13556
- legalEntityId: association.legalEntityId || "",
13557
- name: association.name || ""
13558
- };
13559
- throw new Error(`Not a valid member: ${JSON.stringify(association)}`);
13560
- };
13561
- const mapEntityAssociationsToUnincorporatedPartnershipMembers = (entityId, entityAssociations, rootLegalEntity) => {
13562
- var _a2;
13563
- const mappedUnincorporatedPartnershipMembers = entityAssociations.reduce(
13564
- (acc, entityAssociation) => {
13565
- if (!Object.values(UnincorporatedPartnershipMemberTypes).includes(
13566
- entityAssociation.type
13567
- ) || entityAssociation.associatorId !== entityId || !entityAssociation.legalEntityId) {
13568
- return acc;
13569
- }
13570
- const unincorporatedPartnershipMember = acc[entityAssociation.legalEntityId] ?? convertEntityAssociationIntoUnincorporatedPartnershipMember(entityAssociation);
13571
- const unincorporatedPartnershipMemberType = entityAssociation.type;
13572
- const memberOwnerId = getMemberOwnerId(entityAssociation.legalEntityId, entityAssociations);
13573
- if (memberOwnerId) {
13574
- unincorporatedPartnershipMember.ownerId = memberOwnerId;
13575
- }
13576
- acc[entityAssociation.legalEntityId] = {
13577
- ...unincorporatedPartnershipMember,
13578
- roles: [
13579
- .../* @__PURE__ */ new Set([
13580
- ...unincorporatedPartnershipMember.roles,
13581
- unincorporatedPartnershipMemberType
13582
- ])
13583
- ]
13584
- };
13585
- return acc;
13586
- },
13587
- {}
13588
- );
13589
- if (rootLegalEntity) {
13590
- mappedUnincorporatedPartnershipMembers[rootLegalEntity.id] = {
13591
- legalEntityId: rootLegalEntity.id,
13592
- legalEntityType: rootLegalEntity.type,
13593
- name: getLegalEntityNameBasedOnType(rootLegalEntity),
13594
- memberType: UnincorporatedPartnershipMemberTypes.SECONDARY_PARTNER,
13595
- // Overriding role as primaryPartner to display in the UI, but type does not exist in the backend
13596
- roles: ["primaryPartner"]
13597
- };
13598
- }
13599
- return (_a2 = Object.values(mappedUnincorporatedPartnershipMembers)) == null ? void 0 : _a2.sort(
13600
- (member) => (member == null ? void 0 : member.legalEntityId) !== (rootLegalEntity == null ? void 0 : rootLegalEntity.id) ? 1 : -1
13601
- );
13602
- };
13603
- const deleteUnincorporatedPartnershipMember = async ({
13604
- associatedMember,
13605
- unincorporatedPartnership,
13606
- updateLegalEntity
13607
- }) => {
13608
- const ownEntityAssociations = getOwnEntityAssociations(unincorporatedPartnership);
13609
- await updateLegalEntity({
13610
- id: unincorporatedPartnership.id,
13611
- entityAssociations: ownEntityAssociations.filter(
13612
- (entityAssociation) => entityAssociation.legalEntityId !== associatedMember.legalEntityId
13613
- )
13614
- });
13615
- };
13616
13696
  const AccountHolderDescriptionFragment = ({
13617
13697
  legalEntityResponse
13618
13698
  }) => {
@@ -13624,6 +13704,7 @@ const AccountHolderDescriptionFragment = ({
13624
13704
  legalEntityResponse.id
13625
13705
  );
13626
13706
  const { accountHolder } = useAccountHolder();
13707
+ const unincorporatedPartnershipMembers = useUnincorporatedPartnershipMembers();
13627
13708
  if (accountHolder === "mySoleProprietorName" || hasSolePropEntityAssociations) {
13628
13709
  const soleProp = (_a2 = legalEntityResponse.entityAssociations) == null ? void 0 : _a2.find(
13629
13710
  (ea) => ea.entityType === "soleProprietorship"
@@ -13688,21 +13769,13 @@ const AccountHolderDescriptionFragment = ({
13688
13769
  const unincorporatedPartnership = (_j2 = legalEntityResponse == null ? void 0 : legalEntityResponse.entityAssociations) == null ? void 0 : _j2.find(
13689
13770
  (ea) => ea.entityType === "unincorporatedPartnership"
13690
13771
  );
13691
- const members = mapEntityAssociationsToUnincorporatedPartnershipMembers(
13692
- (unincorporatedPartnership == null ? void 0 : unincorporatedPartnership.legalEntityId) || "",
13693
- (legalEntityResponse == null ? void 0 : legalEntityResponse.entityAssociations) ?? [],
13694
- legalEntityResponse
13695
- );
13696
- const partnerNames = members == null ? void 0 : members.map((member) => member == null ? void 0 : member.name);
13697
- return /* @__PURE__ */ jsxs(Typography, { children: [
13698
- `${i18n.get("bankAccountToHaveSameNameAsUnincorporatedPartnership")} `,
13699
- /* @__PURE__ */ jsx$1(Typography, { el: "span", variant: "body-stronger", children: i18n.get("partnerAsPartnersForUnincorporatedPartnership", {
13700
- values: {
13701
- partnerNames: `${partnerNames == null ? void 0 : partnerNames.join(", ")}`,
13702
- partnershipName: (unincorporatedPartnership == null ? void 0 : unincorporatedPartnership.name) ?? ""
13703
- }
13704
- }) })
13705
- ] });
13772
+ const partnerNames = unincorporatedPartnershipMembers == null ? void 0 : unincorporatedPartnershipMembers.map((member) => member == null ? void 0 : member.name);
13773
+ return /* @__PURE__ */ jsx$1(Typography, { children: `${i18n.get("bankAccountToHaveSameNameAsUnincorporatedPartnership", {
13774
+ values: {
13775
+ partnerNames: `${partnerNames == null ? void 0 : partnerNames.join(", ")}`,
13776
+ partnershipName: (unincorporatedPartnership == null ? void 0 : unincorporatedPartnership.name) ?? ""
13777
+ }
13778
+ })} ` });
13706
13779
  }
13707
13780
  if (legalEntityResponse.type === LegalEntityType.ORGANIZATION) {
13708
13781
  return /* @__PURE__ */ jsxs(Typography, { children: [
@@ -13874,7 +13947,7 @@ function PayoutAccount(props) {
13874
13947
  const link = "adyen-kyc-link";
13875
13948
  const linkDefault = "adyen-kyc-link-default";
13876
13949
  const linkInline = "adyen-kyc-link-inline";
13877
- const styles$7 = {
13950
+ const styles$4 = {
13878
13951
  link,
13879
13952
  linkDefault,
13880
13953
  linkInline
@@ -13882,9 +13955,9 @@ const styles$7 = {
13882
13955
  const Link = ({ children: children2, external = false, href, inline = false }) => {
13883
13956
  const rel = external ? "external noopener noreferrer" : void 0;
13884
13957
  const target = external ? "_blank" : "_self";
13885
- const className2 = cx(styles$7.link, {
13886
- [styles$7.linkInline]: inline,
13887
- [styles$7.linkDefault]: !inline
13958
+ const className2 = cx(styles$4.link, {
13959
+ [styles$4.linkInline]: inline,
13960
+ [styles$4.linkDefault]: !inline
13888
13961
  });
13889
13962
  return /* @__PURE__ */ jsxs("a", { className: className2, href, rel, target, children: [
13890
13963
  children2,
@@ -14251,346 +14324,53 @@ const EEA_Countries = [
14251
14324
  CountryCodes.Poland,
14252
14325
  CountryCodes.Portugal,
14253
14326
  CountryCodes.Romania,
14254
- CountryCodes.Slovakia,
14255
- CountryCodes.Slovenia,
14256
- CountryCodes.Spain,
14257
- CountryCodes.Sweden
14258
- ];
14259
- const regions = {
14260
- europe: [
14261
- ...EEA_Countries,
14262
- CountryCodes.Switzerland,
14263
- CountryCodes.UnitedKingdom,
14264
- CountryCodes.Gibraltar
14265
- ],
14266
- apac: [CountryCodes.NewZealand, CountryCodes.Australia]
14267
- };
14268
- const getAllowedBankCountries = (country) => Object.values(regions).find((countriesInARegion) => countriesInARegion.includes(country)) ?? [
14269
- country
14270
- ];
14271
- const getProviderIconName = (providerName) => {
14272
- switch (providerName == null ? void 0 : providerName.toLowerCase()) {
14273
- case "tink":
14274
- return "tink-logo";
14275
- case "plaid":
14276
- return "plaid-logo";
14277
- case "yapily":
14278
- return "yapily-logo";
14279
- default:
14280
- return void 0;
14281
- }
14282
- };
14283
- const makePayoutVerificationMethodsMetadata = (instantVerificationProviderName) => ({
14284
- instantVerification: {
14285
- name: "verifyViaMobileBankingAppOrWebsite",
14286
- subtitle: "instant",
14287
- description: "instantVerificationDescription",
14288
- svgName: "payout-verification-instant",
14289
- provider: instantVerificationProviderName ? {
14290
- name: instantVerificationProviderName,
14291
- svgName: getProviderIconName(instantVerificationProviderName)
14292
- } : void 0
14293
- },
14294
- manualVerification: {
14295
- name: "uploadABankStatement",
14296
- subtitle: "mayTakeAFewDays",
14297
- description: "manualVerificationDescription",
14298
- svgName: "payout-verification-manual"
14299
- }
14300
- });
14301
- const providerButton = "adyen-kyc-provider-button";
14302
- const providerButtonDisplayName = "adyen-kyc-provider-button-display-name";
14303
- const styles$6 = {
14304
- providerButton,
14305
- providerButtonDisplayName
14306
- };
14307
- const ProviderButton = ({
14308
- provider,
14309
- disabled = false,
14310
- fullWidth,
14311
- loading = false,
14312
- onClick,
14313
- testId
14314
- }) => {
14315
- const isSingpass = provider.includes("singpassMyInfo");
14316
- const buttonVariant = isSingpass ? "secondary" : "primary";
14317
- const { i18n } = useI18nContext();
14318
- const buttonProps = {
14319
- disabled,
14320
- fullWidth,
14321
- loading,
14322
- onClick,
14323
- testId
14324
- };
14325
- const providerLogo = {
14326
- tink: "tink-logo",
14327
- yapily: "yapily-logo",
14328
- plaid: "plaid-logo",
14329
- onfido: "onfido-logo",
14330
- singpassMyInfo: "singpass-logo",
14331
- singpassMyInfoBusiness: "singpass-logo"
14332
- };
14333
- const providerDisplayName = {
14334
- tink: "Tink",
14335
- yapily: "Yapily",
14336
- plaid: "Plaid",
14337
- onfido: "Onfido",
14338
- singpassMyInfo: "Singpass",
14339
- singpassMyInfoBusiness: "Singpass"
14340
- };
14341
- const buttonLabel2 = {
14342
- tink: i18n.get("addAccountWith"),
14343
- yapily: i18n.get("addAccountWith"),
14344
- plaid: i18n.get("addAccountWith"),
14345
- onfido: i18n.get("addDetailsWith"),
14346
- singpassMyInfo: i18n.get("retrieveMyinfoWith"),
14347
- singpassMyInfoBusiness: i18n.get("retrieveMyinfoBusinessWith")
14348
- };
14349
- return /* @__PURE__ */ jsx$1(Button, { ...buttonProps, variant: buttonVariant, children: /* @__PURE__ */ jsxs("div", { className: styles$6.providerButton, children: [
14350
- buttonLabel2[provider],
14351
- /* @__PURE__ */ jsx$1("span", { className: styles$6.providerButtonDisplayName, children: providerDisplayName[provider] }),
14352
- /* @__PURE__ */ jsx$1(Svg, { name: providerLogo[provider], type: "image" })
14353
- ] }) });
14354
- };
14355
- function Card({
14356
- className: className2,
14357
- headerClassName,
14358
- bodyClassName,
14359
- children: children2,
14360
- stateful,
14361
- active,
14362
- disabled,
14363
- fetching,
14364
- warningMessage,
14365
- title,
14366
- subTitle,
14367
- headerButton,
14368
- background = "primary",
14369
- onClick,
14370
- onKeyDown
14371
- }) {
14372
- const classNames = cx("adyen-kyc-card", className2, {
14373
- "adyen-kyc-card--stateful": stateful,
14374
- "adyen-kyc-card--active": stateful && active,
14375
- "adyen-kyc-card--disabled": disabled,
14376
- "adyen-kyc-card--fetching": fetching,
14377
- "adyen-kyc-card--secondary": background === "secondary"
14378
- });
14379
- const headerClassNames = cx("adyen-kyc-card__header", headerClassName, {
14380
- "adyen-kyc-card__header--button": headerButton
14381
- });
14382
- const bodyClassNames = cx("adyen-kyc-card__body", bodyClassName);
14383
- const tabIndex = stateful ? 0 : void 0;
14384
- const role = stateful ? "button" : "region";
14385
- const onClickHandler = (e) => {
14386
- if (disabled) {
14387
- return;
14388
- }
14389
- onClick == null ? void 0 : onClick(e);
14390
- };
14391
- const onKeyDownHandler = (e) => {
14392
- if (onKeyDown) {
14393
- onKeyDown(e);
14394
- }
14395
- };
14396
- return /* @__PURE__ */ jsxs(
14397
- "div",
14398
- {
14399
- className: classNames,
14400
- tabIndex,
14401
- role,
14402
- onClick: onClickHandler,
14403
- onKeyDown: onKeyDownHandler,
14404
- "aria-disabled": disabled,
14405
- children: [
14406
- title && /* @__PURE__ */ jsxs("header", { className: headerClassNames, children: [
14407
- /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-card-title", children: [
14408
- /* @__PURE__ */ jsx$1(Typography, { el: "h4", variant: "title", children: title }),
14409
- subTitle && /* @__PURE__ */ jsx$1(Typography, { el: "p", variant: "body", children: subTitle })
14410
- ] }),
14411
- headerButton && headerButton
14412
- ] }),
14413
- children2 && /* @__PURE__ */ jsx$1("div", { role: "region", className: bodyClassNames, children: children2 }),
14414
- !!warningMessage && /* @__PURE__ */ jsx$1(Alert, { className: "adyen-kyc-card__warning", title: warningMessage, variant: "warning" })
14415
- ]
14416
- }
14417
- );
14418
- }
14419
- const confirm = "adyen-kyc-confirm";
14420
- const confirmMessage = "adyen-kyc-confirm-message";
14421
- const confirmActions = "adyen-kyc-confirm-actions";
14422
- const styles$5 = {
14423
- confirm,
14424
- confirmMessage,
14425
- confirmActions
14426
- };
14427
- const Confirm = ({
14428
- description,
14429
- cancelText,
14430
- confirmText,
14431
- critical = false,
14432
- onCancel,
14433
- onConfirm,
14434
- title
14435
- }) => {
14436
- const { i18n } = useI18nContext();
14437
- const [isInFlight, setIsInFlight] = useState(false);
14438
- const showCancelButton = onCancel !== void 0;
14439
- const buttonVariant = critical ? "critical" : "primary";
14440
- const handleConfirm = async () => {
14441
- setIsInFlight(true);
14442
- try {
14443
- await onConfirm();
14444
- } finally {
14445
- setIsInFlight(false);
14446
- }
14447
- };
14448
- return /* @__PURE__ */ jsx$1(Modal, { size: "small", transition: "dropIn", showCloseButton: false, ariaLabel: title, children: /* @__PURE__ */ jsxs("div", { className: styles$5.confirm, children: [
14449
- /* @__PURE__ */ jsxs("div", { className: styles$5.confirmMessage, children: [
14450
- /* @__PURE__ */ jsx$1(Typography, { variant: "title", el: "h3", children: title }),
14451
- description && /* @__PURE__ */ jsx$1(Typography, { variant: "body", el: "p", children: description })
14452
- ] }),
14453
- /* @__PURE__ */ jsxs("div", { className: styles$5.confirmActions, children: [
14454
- showCancelButton && /* @__PURE__ */ jsx$1(Button, { onClick: onCancel, variant: "secondary", disabled: isInFlight, children: cancelText ?? i18n.get("cancel") }),
14455
- /* @__PURE__ */ jsx$1(Button, { onClick: handleConfirm, variant: buttonVariant, loading: isInFlight, children: confirmText ?? i18n.get("confirm") })
14456
- ] })
14457
- ] }) });
14458
- };
14459
- const preferInstantVerificationMethod = "adyen-kyc-prefer-instant-verification-method";
14460
- const preferInstantVerificationMethodCard = "adyen-kyc-prefer-instant-verification-method-card";
14461
- const preferInstantVerificationMethodActions = "adyen-kyc-prefer-instant-verification-method-actions";
14462
- const styles$4 = {
14463
- preferInstantVerificationMethod,
14464
- preferInstantVerificationMethodCard,
14465
- preferInstantVerificationMethodActions
14466
- };
14467
- const PreferInstantVerificationMethod = ({
14468
- loadingStatus,
14469
- provider,
14470
- bankInfoValidated,
14471
- instantVerificationAvailable,
14472
- selectVerificationMethod,
14473
- createTrustedTransferInstrument,
14474
- setBankInfoValidated,
14475
- setBankVerificationError,
14476
- handleChangeFor,
14477
- handleNextClick,
14478
- triggerValidation
14479
- }) => {
14480
- const { i18n } = useI18nContext();
14481
- const userEvents2 = useAnalyticsContext();
14482
- const invalidateRootLegalEntity = useInvalidateRootLegalEntity();
14483
- const [hideVerificationWidget, setHideVerificationWidget] = useState(true);
14484
- const [isModalOpen, setIsModalOpen] = useState(false);
14485
- const [moveToNextStep, setMoveToNextStep] = useState(false);
14486
- const retrieveBankAccountInfo = async ({
14487
- realLastFour,
14488
- number,
14489
- bankName
14490
- }) => {
14491
- handleChangeFor("payoutVerificationMethod")("instantVerification");
14492
- handleChangeFor("verifiedBankAccountNumber")(realLastFour ? `*******${realLastFour}` : number);
14493
- handleChangeFor("verifiedBankName")(bankName);
14494
- setBankInfoValidated == null ? void 0 : setBankInfoValidated(true);
14495
- triggerValidation();
14496
- setMoveToNextStep(true);
14497
- await invalidateRootLegalEntity();
14498
- };
14499
- useEffect(() => {
14500
- if (moveToNextStep) {
14501
- handleNextClick();
14502
- setMoveToNextStep(false);
14503
- }
14504
- }, [moveToNextStep, handleNextClick]);
14505
- const handleClickInstantButton = () => {
14506
- userEvents2.addPageEvent("Clicked button", {
14507
- actionType: "add",
14508
- label: "addAccountWith"
14509
- });
14510
- if (!isProviderWidgetInline(provider == null ? void 0 : provider.name)) {
14511
- setHideVerificationWidget(false);
14512
- }
14513
- selectVerificationMethod("instantVerification");
14514
- };
14515
- const handleClickManualButton = () => {
14516
- if (!provider) {
14517
- selectVerificationMethod("manualVerification");
14518
- } else {
14519
- setIsModalOpen(true);
14520
- userEvents2.addPageEvent("Opened modal", {
14521
- actionType: "open",
14522
- label: "manuallyAddAccount"
14523
- });
14524
- }
14525
- };
14526
- const handleClickContinue = () => {
14527
- setIsModalOpen(false);
14528
- selectVerificationMethod("manualVerification");
14529
- };
14530
- const handleClickCancel = () => {
14531
- userEvents2.addPageEvent("Clicked button", {
14532
- actionType: "cancel",
14533
- label: "cancel"
14534
- });
14535
- setIsModalOpen(false);
14536
- };
14537
- const InstantButton = instantVerificationAvailable ? /* @__PURE__ */ jsx$1(
14538
- ProviderButton,
14539
- {
14540
- provider: provider == null ? void 0 : provider.name.toLowerCase(),
14541
- fullWidth: true,
14542
- onClick: handleClickInstantButton,
14543
- disabled: bankInfoValidated,
14544
- loading: !hideVerificationWidget
14545
- }
14546
- ) : /* @__PURE__ */ jsx$1(Card, { background: "secondary", className: styles$4.preferInstantVerificationMethodCard, children: i18n.get("unfortunatelyAnInstantProvider") });
14547
- return /* @__PURE__ */ jsxs("div", { className: styles$4.preferInstantVerificationMethod, children: [
14548
- /* @__PURE__ */ jsxs("div", { className: styles$4.preferInstantVerificationMethodActions, children: [
14549
- loadingStatus === "pending" ? /* @__PURE__ */ jsx$1("div", { className: "adyen-kyc-u-margin-bottom-8", children: /* @__PURE__ */ jsx$1(Skeleton, { height: "2.5rem" }) }) : InstantButton,
14550
- /* @__PURE__ */ jsx$1(
14551
- Button,
14552
- {
14553
- variant: instantVerificationAvailable ? "secondary" : "primary",
14554
- onClick: handleClickManualButton,
14555
- disabled: bankInfoValidated,
14556
- fullWidth: true,
14557
- children: instantVerificationAvailable ? i18n.get("manuallyAddAccountSlower") : i18n.get("manuallyAddAccount")
14558
- }
14559
- )
14560
- ] }),
14561
- !hideVerificationWidget && instantVerificationAvailable && /* @__PURE__ */ jsxs(Fragment, { children: [
14562
- /* @__PURE__ */ jsx$1(
14563
- BankVerificationWidget,
14564
- {
14565
- url: provider.redirectUrl,
14566
- vendor: provider.name,
14567
- createTrustedTransferInstrument,
14568
- setBankVerificationError,
14569
- setHideVerificationWidget,
14570
- retrieveBankAccountInfo,
14571
- fullscreen: true
14572
- }
14573
- ),
14574
- isProviderWidgetInline(provider.name) ? /* @__PURE__ */ jsx$1(
14575
- ActionBar,
14576
- {
14577
- onBack: () => setHideVerificationWidget(true),
14578
- backButtonLabel: i18n.get("goBack")
14579
- }
14580
- ) : void 0
14581
- ] }),
14582
- isModalOpen && /* @__PURE__ */ jsx$1(
14583
- Confirm,
14584
- {
14585
- title: i18n.get("manuallyAddAccountQuestion"),
14586
- description: i18n.get("addingAndVerifiyingABankAccount"),
14587
- onConfirm: handleClickContinue,
14588
- confirmText: i18n.get("yesContinue"),
14589
- onCancel: handleClickCancel
14590
- }
14591
- )
14592
- ] });
14327
+ CountryCodes.Slovakia,
14328
+ CountryCodes.Slovenia,
14329
+ CountryCodes.Spain,
14330
+ CountryCodes.Sweden
14331
+ ];
14332
+ const regions = {
14333
+ europe: [
14334
+ ...EEA_Countries,
14335
+ CountryCodes.Switzerland,
14336
+ CountryCodes.UnitedKingdom,
14337
+ CountryCodes.Gibraltar
14338
+ ],
14339
+ apac: [CountryCodes.NewZealand, CountryCodes.Australia]
14340
+ };
14341
+ const getAllowedBankCountries = (country) => Object.values(regions).find((countriesInARegion) => countriesInARegion.includes(country)) ?? [
14342
+ country
14343
+ ];
14344
+ const getProviderIconName = (providerName) => {
14345
+ switch (providerName == null ? void 0 : providerName.toLowerCase()) {
14346
+ case "tink":
14347
+ return "tink-logo";
14348
+ case "plaid":
14349
+ return "plaid-logo";
14350
+ case "yapily":
14351
+ return "yapily-logo";
14352
+ default:
14353
+ return void 0;
14354
+ }
14593
14355
  };
14356
+ const makePayoutVerificationMethodsMetadata = (instantVerificationProviderName) => ({
14357
+ instantVerification: {
14358
+ name: "verifyViaMobileBankingAppOrWebsite",
14359
+ subtitle: "instant",
14360
+ description: "instantVerificationDescription",
14361
+ svgName: "payout-verification-instant",
14362
+ provider: instantVerificationProviderName ? {
14363
+ name: instantVerificationProviderName,
14364
+ svgName: getProviderIconName(instantVerificationProviderName)
14365
+ } : void 0
14366
+ },
14367
+ manualVerification: {
14368
+ name: "uploadABankStatement",
14369
+ subtitle: "mayTakeAFewDays",
14370
+ description: "manualVerificationDescription",
14371
+ svgName: "payout-verification-manual"
14372
+ }
14373
+ });
14594
14374
  const payoutVerificationMethods = ["instantVerification", "manualVerification"];
14595
14375
  const PayoutVerificationMethodOptionIcon = ({
14596
14376
  method,
@@ -14644,29 +14424,20 @@ function PayoutVerificationMethod(props) {
14644
14424
  bankVendorsLoadingStatus,
14645
14425
  instantVerificationAvailable,
14646
14426
  legalEntityResponse,
14647
- forms,
14648
14427
  validators,
14649
- isActiveForm,
14650
14428
  bankInfoValidated,
14651
- setBankInfoValidated,
14652
- handleNextClick,
14653
- createTrustedTransferInstrument,
14654
- setBankVerificationError,
14655
- setHideFooter,
14656
14429
  data: payoutVerificationMethodData
14657
14430
  } = props;
14658
14431
  const { type: legalEntityType } = legalEntityResponse;
14659
14432
  const { i18n } = useI18nContext();
14660
14433
  const instantVerificationError = useContext$1(InstantVerificationErrorContext);
14661
14434
  const { isSettingEnabled } = useSettingsContext();
14662
- const { isExperimentEnabled } = useExperimentsContext();
14663
14435
  const canChangeEntityType = isSettingEnabled(SettingNames.AllowLegalEntityTypeChange);
14664
- const enableEmphasizedCredentialBankingFlow = isExperimentEnabled("CredentialBankingWeightage_EmphasizeCredentialBankingFlow") || isExperimentEnabled("EnablePreferInstantVerificationFlow");
14665
14436
  const intraRegionCrossBorderPayoutsAllowed = isSettingEnabled(
14666
14437
  SettingNames.AllowIntraRegionCrossBorderPayout
14667
14438
  );
14668
14439
  const [hasSelectedMethod, setHasSelectedMethod] = useState(false);
14669
- const { handleChangeFor, data, valid, errors, fieldProblems, triggerValidation } = useForm({
14440
+ const { handleChangeFor, data, valid, errors, fieldProblems } = useForm({
14670
14441
  ...props,
14671
14442
  schema: payoutVerificationMethodFields,
14672
14443
  defaultData: {
@@ -14685,17 +14456,13 @@ function PayoutVerificationMethod(props) {
14685
14456
  () => updateStateSlice({ data: { ...sliceData, ...data }, errors, valid, fieldProblems }),
14686
14457
  [data, errors, fieldProblems, valid]
14687
14458
  );
14688
- useEffect(() => {
14689
- if (!enableEmphasizedCredentialBankingFlow) return;
14690
- setHideFooter == null ? void 0 : setHideFooter(isActiveForm && !bankInfoValidated);
14691
- }, [enableEmphasizedCredentialBankingFlow, isActiveForm, bankInfoValidated, setHideFooter]);
14692
14459
  const methodsMetadata = makePayoutVerificationMethodsMetadata(provider == null ? void 0 : provider.name);
14693
14460
  const selectVerificationMethod = (method) => {
14694
14461
  setHasSelectedMethod(true);
14695
14462
  handleChangeFor("payoutVerificationMethod")(method);
14696
14463
  };
14697
14464
  useEffect(() => {
14698
- if (enableEmphasizedCredentialBankingFlow || bankInfoValidated) return;
14465
+ if (bankInfoValidated) return;
14699
14466
  if (!hasSelectedMethod && instantVerificationAvailable && data.payoutVerificationMethod !== "instantVerification") {
14700
14467
  handleChangeFor("payoutVerificationMethod")("instantVerification");
14701
14468
  }
@@ -14707,31 +14474,8 @@ function PayoutVerificationMethod(props) {
14707
14474
  handleChangeFor,
14708
14475
  instantVerificationAvailable,
14709
14476
  hasSelectedMethod,
14710
- enableEmphasizedCredentialBankingFlow,
14711
14477
  bankInfoValidated
14712
14478
  ]);
14713
- useEffect(() => {
14714
- if (!enableEmphasizedCredentialBankingFlow || !isActiveForm) return;
14715
- if (hasSelectedMethod && (forms == null ? void 0 : forms.find(
14716
- (val) => val.formId === (data.payoutVerificationMethod === "instantVerification" ? "payoutAccountVerification" : "payoutAccountDetails")
14717
- ))) {
14718
- setTimeout(() => handleNextClick(), 50);
14719
- setHasSelectedMethod(false);
14720
- }
14721
- }, [
14722
- forms,
14723
- hasSelectedMethod,
14724
- data.payoutVerificationMethod,
14725
- handleNextClick,
14726
- isActiveForm,
14727
- enableEmphasizedCredentialBankingFlow
14728
- ]);
14729
- useEffect(() => {
14730
- if (!enableEmphasizedCredentialBankingFlow || bankVendorsLoadingStatus === "pending") return;
14731
- if (!(provider == null ? void 0 : provider.redirectUrl)) {
14732
- selectVerificationMethod("manualVerification");
14733
- }
14734
- }, [provider, bankVendorsLoadingStatus, enableEmphasizedCredentialBankingFlow]);
14735
14479
  const { dataset: countries } = useDataset(datasetIdentifier.country);
14736
14480
  const bankCountryName = ((_b2 = countries.find((country2) => country2.id === data.bankCountry)) == null ? void 0 : _b2.name) ?? data.bankCountry;
14737
14481
  const allowedBankCountries = getAllowedBankCountries(country);
@@ -14769,22 +14513,7 @@ function PayoutVerificationMethod(props) {
14769
14513
  )
14770
14514
  ] }) });
14771
14515
  return /* @__PURE__ */ jsxs("form", { className: "adyen-kyc-payout-verification-method", children: [
14772
- !enableEmphasizedCredentialBankingFlow ? /* @__PURE__ */ jsx$1(FormHeader, { heading, descriptionComponent: description }) : /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-payout-verification-method__header", children: [
14773
- /* @__PURE__ */ jsx$1(
14774
- Svg,
14775
- {
14776
- name: "instant-verification-method",
14777
- type: "image",
14778
- title: i18n.get("instantVerification"),
14779
- className: "adyen-kyc-payout-verification-method__image"
14780
- }
14781
- ),
14782
- /* @__PURE__ */ jsx$1(Typography, { variant: "title-l", el: "h2", children: i18n.get("instantlyAddAndVerifyABankAccount") }),
14783
- /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-payout-verification-method__description", children: [
14784
- /* @__PURE__ */ jsx$1(Typography, { children: i18n.get("securelyUseYourBanksWebsite") }),
14785
- description
14786
- ] })
14787
- ] }),
14516
+ /* @__PURE__ */ jsx$1(FormHeader, { heading, descriptionComponent: description }),
14788
14517
  instantVerificationError && /* @__PURE__ */ jsx$1(
14789
14518
  Alert,
14790
14519
  {
@@ -14794,70 +14523,52 @@ function PayoutVerificationMethod(props) {
14794
14523
  children: instantVerificationError.content && /* @__PURE__ */ jsx$1("p", { className: "adyen-kyc-u-margin-0", children: instantVerificationError.content })
14795
14524
  }
14796
14525
  ),
14797
- !enableEmphasizedCredentialBankingFlow || intraRegionCrossBorderPayoutsAllowed && allowedBankCountries.length > 1 ? countryField : void 0,
14798
- enableEmphasizedCredentialBankingFlow ? /* @__PURE__ */ jsx$1(
14799
- PreferInstantVerificationMethod,
14800
- {
14801
- loadingStatus: bankVendorsLoadingStatus,
14802
- provider,
14803
- instantVerificationAvailable,
14804
- bankInfoValidated,
14805
- selectVerificationMethod,
14806
- handleChangeFor,
14807
- handleNextClick,
14808
- setBankInfoValidated,
14809
- createTrustedTransferInstrument,
14810
- setBankVerificationError,
14811
- triggerValidation
14812
- }
14813
- ) : /* @__PURE__ */ jsx$1(
14526
+ countryField,
14527
+ /* @__PURE__ */ jsx$1(
14814
14528
  Field,
14815
14529
  {
14816
- el: "fieldset",
14817
14530
  name: "verificationMethods",
14818
14531
  label: formUtils.getLabel("payoutVerificationMethod", "verificationMethod"),
14819
- errorMessage: formUtils.getErrorMessage(
14820
- "payoutVerificationMethod",
14821
- errors,
14822
- fieldProblems
14823
- ),
14824
- helper: !instantVerificationAvailable ? /* @__PURE__ */ jsx$1("span", { className: "adyen-kyc-helper-text", children: i18n.get("weDoNotYetSupportInstantVerificationForBankAccountsIn_", {
14825
- values: { countryName: bankCountryName }
14826
- }) }) : void 0,
14827
- children: (childProps) => /* @__PURE__ */ jsx$1(
14828
- RadioGroupCard,
14829
- {
14830
- ...childProps,
14831
- name: "verificationMethod",
14832
- options: payoutVerificationMethods,
14833
- onSelect: selectVerificationMethod,
14834
- selected: data.payoutVerificationMethod,
14835
- optionId: (method) => method,
14836
- optionName: (method) => methodsMetadata[method].name,
14837
- optionDescription: (method) => methodsMetadata[method].description,
14838
- optionSubtitle: (method) => methodsMetadata[method].subtitle,
14839
- className: "adyen-kyc-field-verification-methods",
14840
- optionClassNames: () => ({
14841
- label: "adyen-kyc-field-verification-methods__card"
14842
- }),
14843
- isOptionDisabled: (option) => bankInfoValidated || option === "instantVerification" && !instantVerificationAvailable,
14844
- renderOptionIcon: (method) => /* @__PURE__ */ jsx$1(
14845
- PayoutVerificationMethodOptionIcon,
14846
- {
14847
- method,
14848
- methodsMetadata
14849
- }
14850
- ),
14851
- renderOptionFooter: (method) => /* @__PURE__ */ jsx$1(
14852
- PayoutVerificationMethodOptionFooter,
14853
- {
14854
- method,
14855
- methodsMetadata
14856
- }
14857
- ),
14858
- floatingRadio: true
14859
- }
14860
- )
14532
+ errorMessage: formUtils.getErrorMessage("payoutVerificationMethod", errors, fieldProblems),
14533
+ children: (childProps) => /* @__PURE__ */ jsxs(Fragment, { children: [
14534
+ !instantVerificationAvailable && /* @__PURE__ */ jsx$1("span", { className: "adyen-kyc-helper-text", children: i18n.get("weDoNotYetSupportInstantVerificationForBankAccountsIn_", {
14535
+ values: { countryName: bankCountryName }
14536
+ }) }),
14537
+ /* @__PURE__ */ jsx$1(
14538
+ RadioGroupCard,
14539
+ {
14540
+ ...childProps,
14541
+ name: "verificationMethod",
14542
+ options: payoutVerificationMethods,
14543
+ onSelect: selectVerificationMethod,
14544
+ selected: data.payoutVerificationMethod,
14545
+ optionId: (method) => method,
14546
+ optionName: (method) => methodsMetadata[method].name,
14547
+ optionDescription: (method) => methodsMetadata[method].description,
14548
+ optionSubtitle: (method) => methodsMetadata[method].subtitle,
14549
+ className: "adyen-kyc-field-verification-methods",
14550
+ optionClassNames: () => ({
14551
+ label: "adyen-kyc-field-verification-methods__card"
14552
+ }),
14553
+ isOptionDisabled: (option) => bankInfoValidated || option === "instantVerification" && !instantVerificationAvailable,
14554
+ renderOptionIcon: (method) => /* @__PURE__ */ jsx$1(
14555
+ PayoutVerificationMethodOptionIcon,
14556
+ {
14557
+ method,
14558
+ methodsMetadata
14559
+ }
14560
+ ),
14561
+ renderOptionFooter: (method) => /* @__PURE__ */ jsx$1(
14562
+ PayoutVerificationMethodOptionFooter,
14563
+ {
14564
+ method,
14565
+ methodsMetadata
14566
+ }
14567
+ ),
14568
+ floatingRadio: true
14569
+ }
14570
+ )
14571
+ ] })
14861
14572
  }
14862
14573
  ),
14863
14574
  /* @__PURE__ */ jsx$1(
@@ -14869,7 +14580,7 @@ function PayoutVerificationMethod(props) {
14869
14580
  id: "ariaErrorField"
14870
14581
  }
14871
14582
  ),
14872
- !enableEmphasizedCredentialBankingFlow && provider && bankVendorsLoadingStatus === "success" ? /* @__PURE__ */ jsx$1(
14583
+ provider && bankVendorsLoadingStatus === "success" ? /* @__PURE__ */ jsx$1(
14873
14584
  ContextGuidance,
14874
14585
  {
14875
14586
  titleId: "howDoesVerificationWithOurPartnerWorks",
@@ -14881,16 +14592,11 @@ function PayoutVerificationMethod(props) {
14881
14592
  /* @__PURE__ */ jsx$1(Typography, { children: i18n.get("isOurTrustedPartnerHelpingSpeedUpSetup", {
14882
14593
  values: { provider: provider.name }
14883
14594
  }) }),
14884
- /* @__PURE__ */ jsx$1(
14885
- List,
14886
- {
14887
- items: [
14888
- i18n.get("selectTheBankToReceivePayouts"),
14889
- i18n.get("loginIntoYourBankingEnvironment"),
14890
- i18n.get("yourBankWillConfirmYourAccountDetails")
14891
- ]
14892
- }
14893
- ),
14595
+ /* @__PURE__ */ jsxs("ul", { children: [
14596
+ /* @__PURE__ */ jsx$1("li", { children: i18n.get("selectTheBankToReceivePayouts") }),
14597
+ /* @__PURE__ */ jsx$1("li", { children: i18n.get("loginIntoYourBankingEnvironment") }),
14598
+ /* @__PURE__ */ jsx$1("li", { children: i18n.get("yourBankWillConfirmYourAccountDetails") })
14599
+ ] }),
14894
14600
  /* @__PURE__ */ jsx$1(Typography, { children: i18n.get("adyenWillOnlyGetTemporaryAccess") }),
14895
14601
  /* @__PURE__ */ jsx$1(Typography, { variant: "caption", children: /* @__PURE__ */ jsx$1(Link, { href: "https://www.adyen.com/policies-and-disclaimer/privacy-policy", external: true, children: i18n.get("adyenPrivacyPolicy") }) })
14896
14602
  ] })
@@ -14936,14 +14642,11 @@ function PayoutDetails(props) {
14936
14642
  bankVendorsLoadingStatus,
14937
14643
  instantVerificationAvailable,
14938
14644
  setHideSidebar,
14939
- setHideFooter,
14940
14645
  setSkipSubmit,
14941
14646
  createTrustedTransferInstrument,
14942
14647
  accountDetailsFromInput,
14943
- handleNextClick,
14944
14648
  country,
14945
14649
  accountHolder,
14946
- forms,
14947
14650
  data: propData,
14948
14651
  onBack,
14949
14652
  trustedTransferInstrumentId
@@ -14961,10 +14664,7 @@ function PayoutDetails(props) {
14961
14664
  const globalData = useGlobalData();
14962
14665
  const data = isEmpty$1(globalData) || ((_a2 = propData == null ? void 0 : propData.payoutAccountDetails) == null ? void 0 : _a2.transferInstrumentId) ? propData : globalData;
14963
14666
  const resetData = useResetGlobalData();
14964
- const { isExperimentEnabled } = useExperimentsContext();
14965
- const enableEmphasizedCredentialBankingFlow = isExperimentEnabled("CredentialBankingWeightage_EmphasizeCredentialBankingFlow") || isExperimentEnabled("EnablePreferInstantVerificationFlow");
14966
14667
  const verifyInstantly = ((_b2 = data == null ? void 0 : data.payoutVerificationMethod) == null ? void 0 : _b2.payoutVerificationMethod) === "instantVerification";
14967
- const showBankVerification = !enableEmphasizedCredentialBankingFlow || isProviderWidgetInline(provider == null ? void 0 : provider.name);
14968
14668
  const bankCountry = ((_c2 = data == null ? void 0 : data.payoutVerificationMethod) == null ? void 0 : _c2.bankCountry) ?? country;
14969
14669
  const bankDocumentDescription = i18n.get(
14970
14670
  legalEntityResponse.type === "individual" ? "bankStatementIndividualDescription" : "bankStatementNonIndividualDescription"
@@ -15001,13 +14701,6 @@ function PayoutDetails(props) {
15001
14701
  resetInvalidFieldState();
15002
14702
  }
15003
14703
  }, [i18n, validateAccountDetails]);
15004
- const shouldHideFooter = useMemo(
15005
- () => (activeForm == null ? void 0 : activeForm.formId) === "payoutVerificationMethod" && enableEmphasizedCredentialBankingFlow,
15006
- [activeForm == null ? void 0 : activeForm.formId, enableEmphasizedCredentialBankingFlow]
15007
- );
15008
- useEffect(() => {
15009
- setHideFooter == null ? void 0 : setHideFooter(shouldHideFooter);
15010
- }, [shouldHideFooter]);
15011
14704
  return /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-payout", children: [
15012
14705
  /* @__PURE__ */ jsx$1(
15013
14706
  "div",
@@ -15020,23 +14713,17 @@ function PayoutDetails(props) {
15020
14713
  id: PayoutVerificationMethodFormID,
15021
14714
  heading: taskHeading,
15022
14715
  country,
15023
- forms,
15024
- isActiveForm: (activeForm == null ? void 0 : activeForm.formId) === PayoutVerificationMethodFormID,
15025
14716
  accountHolder,
15026
14717
  legalEntityResponse,
15027
14718
  provider,
15028
14719
  bankVendorsLoadingStatus,
15029
14720
  bankInfoValidated,
15030
- setBankInfoValidated,
15031
- handleNextClick,
15032
- instantVerificationAvailable,
15033
- createTrustedTransferInstrument,
15034
- setBankVerificationError: setInstantVerificationError
14721
+ instantVerificationAvailable
15035
14722
  }
15036
14723
  ) })
15037
14724
  }
15038
14725
  ),
15039
- verifyInstantly ? showBankVerification && /* @__PURE__ */ jsx$1(
14726
+ verifyInstantly ? /* @__PURE__ */ jsx$1(
15040
14727
  "div",
15041
14728
  {
15042
14729
  className: (activeForm == null ? void 0 : activeForm.formId) !== PayoutAccountVerificationFormID ? "adyen-kyc-form-wrapper adyen-kyc-form-wrapper--hidden" : "adyen-kyc-form-wrapper",
@@ -16312,11 +15999,6 @@ const rules = ({
16312
15999
  if (taskType !== TaskTypes.SOLE_PROPRIETOR_COMPANY) {
16313
16000
  return "REQUIRED";
16314
16001
  }
16315
- },
16316
- canadaOverrideTaxInfo: () => {
16317
- if (country === CountryCodes.Canada && taskType === TaskTypes.BUSINESS_DETAILS) {
16318
- return "REQUIRED";
16319
- }
16320
16002
  }
16321
16003
  });
16322
16004
  function TaxIdNumberTypeSelector({
@@ -17182,7 +16864,8 @@ const businessRegistrationNumberMasks = {
17182
16864
  spacer,
17183
16865
  ...nonInputs("-", { includeInValue: true }),
17184
16866
  spacer,
17185
- ...numericInputs(9)
16867
+ ...numericInputs(9),
16868
+ ...numericInputs(1, true)
17186
16869
  )
17187
16870
  }
17188
16871
  },
@@ -17288,7 +16971,7 @@ const businessRegistrationNumberMasks = {
17288
16971
  }
17289
16972
  },
17290
16973
  [CountryCodes.Ireland]: {
17291
- default: { mask: makeMask(...numericInputs(1), ...numericInputs(6, true)) }
16974
+ default: { mask: makeMask(...numericInputs(1), ...numericInputs(7, true)) }
17292
16975
  },
17293
16976
  [CountryCodes.IsleOfMan]: {
17294
16977
  default: { mask: makeMask(...numericInputs(6), ...alphaInputs(1)), transformOnType: uppercase }
@@ -18143,7 +17826,7 @@ const businessRegistrationNumberPatterns = {
18143
17826
  [CountryCodes.Australia]: { default: /^\d{9}$/, associationIncorporated: /^[a-zA-Z0-9]{3,20}$/ },
18144
17827
  [CountryCodes.Austria]: {
18145
17828
  firmenbuchnummer: /^(FN|T)\d{3,6}[a-z]$/,
18146
- ZVR: /^(AT-ZVR-)\d{9}$/
17829
+ ZVR: /^(AT-ZVR-)\d{9,10}$/
18147
17830
  },
18148
17831
  [CountryCodes.Belgium]: { default: /^\d{10}$/ },
18149
17832
  [CountryCodes.Brazil]: { default: /^\d{14}$/ },
@@ -18168,7 +17851,7 @@ const businessRegistrationNumberPatterns = {
18168
17851
  [CountryCodes.Iceland]: { default: /^\d{10}$/ },
18169
17852
  [CountryCodes.India]: { default: /^\d{21}$/ },
18170
17853
  [CountryCodes.Indonesia]: { default: /^\d{12}$/ },
18171
- [CountryCodes.Ireland]: { default: /^[1-9]\d{1,6}$/ },
17854
+ [CountryCodes.Ireland]: { default: /^[1-9]\d{1,7}$/ },
18172
17855
  [CountryCodes.IsleOfMan]: { default: /^\d{6}[A-Z]$/ },
18173
17856
  [CountryCodes.Italy]: { partitaIVA: /^\d{11}$/, CCIAA: /^[a-zA-Z]{2}\d{6,7}$/ },
18174
17857
  [CountryCodes.Japan]: { default: /^\d{13}$/ },
@@ -18306,7 +17989,7 @@ const defaultFieldConfig$5 = {
18306
17989
  guidanceText: {
18307
17990
  key: "enterTheRemainingNDigitsForExample",
18308
17991
  values: {
18309
- numDigits: "9",
17992
+ numDigits: "9-10",
18310
17993
  example: "AT-ZVR-555769679"
18311
17994
  }
18312
17995
  }
@@ -18607,8 +18290,8 @@ const defaultFieldConfig$5 = {
18607
18290
  guidanceText: {
18608
18291
  key: "enterAMaximumOfNDigitsForExample",
18609
18292
  values: {
18610
- maxDigits: "7",
18611
- example: "1012345"
18293
+ maxDigits: "8",
18294
+ example: "10123456"
18612
18295
  }
18613
18296
  }
18614
18297
  },
@@ -19561,6 +19244,25 @@ const defaultFieldConfig$4 = {
19561
19244
  }
19562
19245
  }
19563
19246
  },
19247
+ [CountryCodes.Ireland]: {
19248
+ label: "trnNumber",
19249
+ validators: mapValidators(
19250
+ [validatePatternOnBlur(/^(\d{7})([a-zA-Z])([a-zA-Z]?)$/)],
19251
+ CountryCodes.Ireland
19252
+ ),
19253
+ mask: {
19254
+ mask: makeMask(...numericInputs(7), ...alphaInputs(1), ...alphaInputs(1, true))
19255
+ },
19256
+ guidanceText: {
19257
+ key: "enterXDigitsThenXToYLettersForExample",
19258
+ values: {
19259
+ numDigits: "7",
19260
+ minLetters: "1",
19261
+ maxLetters: "2",
19262
+ example: "1497955KA"
19263
+ }
19264
+ }
19265
+ },
19564
19266
  [CountryCodes.IsleOfMan]: {
19565
19267
  label: "taxReferenceNumber",
19566
19268
  validators: mapValidators([validatePatternOnBlur(/^[HCX]\d{8}$/)], CountryCodes.IsleOfMan),
@@ -22920,6 +22622,70 @@ function CardGroup({ className: className2, children: children2, spaced = false
22920
22622
  const baseClass = spaced ? "adyen-kyc-card-group-spaced" : "adyen-kyc-card-group";
22921
22623
  return /* @__PURE__ */ jsx$1("section", { className: cx(baseClass, className2), children: children2 });
22922
22624
  }
22625
+ function Card({
22626
+ className: className2,
22627
+ headerClassName,
22628
+ bodyClassName,
22629
+ children: children2,
22630
+ stateful,
22631
+ active,
22632
+ disabled,
22633
+ fetching,
22634
+ warningMessage,
22635
+ title,
22636
+ subTitle,
22637
+ headerButton,
22638
+ background = "primary",
22639
+ onClick,
22640
+ onKeyDown
22641
+ }) {
22642
+ const classNames = cx("adyen-kyc-card", className2, {
22643
+ "adyen-kyc-card--stateful": stateful,
22644
+ "adyen-kyc-card--active": stateful && active,
22645
+ "adyen-kyc-card--disabled": disabled,
22646
+ "adyen-kyc-card--fetching": fetching,
22647
+ "adyen-kyc-card--secondary": background === "secondary"
22648
+ });
22649
+ const headerClassNames = cx("adyen-kyc-card__header", headerClassName, {
22650
+ "adyen-kyc-card__header--button": headerButton
22651
+ });
22652
+ const bodyClassNames = cx("adyen-kyc-card__body", bodyClassName);
22653
+ const tabIndex = stateful ? 0 : void 0;
22654
+ const role = stateful ? "button" : "region";
22655
+ const onClickHandler = (e) => {
22656
+ if (disabled) {
22657
+ return;
22658
+ }
22659
+ onClick == null ? void 0 : onClick(e);
22660
+ };
22661
+ const onKeyDownHandler = (e) => {
22662
+ if (onKeyDown) {
22663
+ onKeyDown(e);
22664
+ }
22665
+ };
22666
+ return /* @__PURE__ */ jsxs(
22667
+ "div",
22668
+ {
22669
+ className: classNames,
22670
+ tabIndex,
22671
+ role,
22672
+ onClick: onClickHandler,
22673
+ onKeyDown: onKeyDownHandler,
22674
+ "aria-disabled": disabled,
22675
+ children: [
22676
+ title && /* @__PURE__ */ jsxs("header", { className: headerClassNames, children: [
22677
+ /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-card-title", children: [
22678
+ /* @__PURE__ */ jsx$1(Typography, { el: "h4", variant: "title", children: title }),
22679
+ subTitle && /* @__PURE__ */ jsx$1(Typography, { el: "p", variant: "body", children: subTitle })
22680
+ ] }),
22681
+ headerButton && headerButton
22682
+ ] }),
22683
+ children2 && /* @__PURE__ */ jsx$1("div", { role: "region", className: bodyClassNames, children: children2 }),
22684
+ !!warningMessage && /* @__PURE__ */ jsx$1(Alert, { className: "adyen-kyc-card__warning", title: warningMessage, variant: "warning" })
22685
+ ]
22686
+ }
22687
+ );
22688
+ }
22923
22689
  const handleKeys = (keys, callback, propagationMode = "stopIfMatches") => (event) => {
22924
22690
  if (propagationMode === "stop") event.stopPropagation();
22925
22691
  if (keys.includes(event.key)) {
@@ -23899,6 +23665,13 @@ const staticBusinessDetailsForms = {
23899
23665
  formDescription: "weNeedAnOfficialDocumentSignatory",
23900
23666
  fields: ["proofOfSignatory"]
23901
23667
  },
23668
+ companyProofOfOwnershipDocument: {
23669
+ formId: "companyProofOfOwnershipDocument",
23670
+ formName: "proofOfOwnership",
23671
+ formHeading: "uploadYourOrganizationProofOfOwnership",
23672
+ formDescription: "weNeedAnOfficialDocumentForOwnership",
23673
+ fields: ["proofOfOwnership"]
23674
+ },
23902
23675
  companyConstitutionalDocument: {
23903
23676
  formId: "companyConstitutionalDocument",
23904
23677
  formName: "constitutionalDocument",
@@ -23928,6 +23701,7 @@ const getForms = (country) => ({
23928
23701
  companyTaxDocument: staticBusinessDetailsForms.companyTaxDocument,
23929
23702
  companyProofOfDirectorDocument: staticBusinessDetailsForms.companyProofOfDirectorDocument,
23930
23703
  companyProofOfSignatoryDocument: staticBusinessDetailsForms.companyProofOfSignatoryDocument,
23704
+ companyProofOfOwnershipDocument: staticBusinessDetailsForms.companyProofOfOwnershipDocument,
23931
23705
  companyFinancialInformation: {
23932
23706
  formId: "companyFinancialInformation",
23933
23707
  formName: "financialInformation",
@@ -23942,7 +23716,8 @@ const documentFormsIds = [
23942
23716
  "companyTaxDocument",
23943
23717
  "companyProofOfDirectorDocument",
23944
23718
  "companyProofOfSignatoryDocument",
23945
- "companyConstitutionalDocument"
23719
+ "companyConstitutionalDocument",
23720
+ "companyProofOfOwnershipDocument"
23946
23721
  ];
23947
23722
  function reverseMapping(mapping) {
23948
23723
  return Object.fromEntries(Object.entries(mapping).map(([key, value]) => [value, key]));
@@ -23993,7 +23768,8 @@ const businessDetailsDocumentMapping = {
23993
23768
  ["vatDocument"]: "companyTaxDocument.taxDocument",
23994
23769
  ["proofOfOrganizationTaxInfo"]: "companyTaxDocument.taxDocument",
23995
23770
  ["proofOfDirector"]: "companyProofOfDirectorDocument.proofOfDirector",
23996
- ["proofOfSignatory"]: "companyProofOfSignatoryDocument.proofOfSignatory"
23771
+ ["proofOfSignatory"]: "companyProofOfSignatoryDocument.proofOfSignatory",
23772
+ ["proofOfOwnership"]: "companyProofOfOwnershipDocument.proofOfOwnership"
23997
23773
  };
23998
23774
  const remediationBusinessDetailsApiKeyMapping = {
23999
23775
  ...businessDetailsApiKeyMapping,
@@ -24070,7 +23846,8 @@ function Dropzone(props) {
24070
23846
  errors: errorProp,
24071
23847
  fieldValidationErrors,
24072
23848
  valid: validProp,
24073
- enableTracking = false
23849
+ enableTracking = false,
23850
+ extraDropzoneDescription
24074
23851
  } = props;
24075
23852
  const { i18n } = useI18nContext();
24076
23853
  const userEvents2 = useAnalyticsContext();
@@ -24190,7 +23967,8 @@ function Dropzone(props) {
24190
23967
  ] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
24191
23968
  /* @__PURE__ */ jsx$1("div", { className: "adyen-kyc-dropzone__icon", children: /* @__PURE__ */ jsx$1(Icon, { name: "upload" }) }),
24192
23969
  /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-dropzone__labels", children: [
24193
- /* @__PURE__ */ jsx$1(Typography, { el: "h4", variant: "body-strongest", children: i18n.get("dropFileToUpload") }),
23970
+ /* @__PURE__ */ jsx$1(Typography, { el: "h4", variant: "body-strongest", children: i18n.get(multiple ? "dropFilesToUpload" : "dropFileToUpload") }),
23971
+ extraDropzoneDescription && /* @__PURE__ */ jsx$1(Typography, { color: "secondary", children: extraDropzoneDescription }),
24194
23972
  /* @__PURE__ */ jsx$1(Typography, { color: "secondary", children: i18n.get("supportedFileTypes", { values: { fileTypes: allowedFiletypes } }) }),
24195
23973
  /* @__PURE__ */ jsx$1(Typography, { color: "secondary", children: i18n.get(hidePageCount ? "maxFileSizeOnly" : "maxFileSize", {
24196
23974
  values: { maxSize: bytesToSize(maxSize) }
@@ -24275,6 +24053,11 @@ function DocumentUpload({
24275
24053
  valid: validProp,
24276
24054
  errors: errorProp,
24277
24055
  fieldValidationErrors: propFieldValidationErrors,
24056
+ supportsMultipleUploads,
24057
+ maxNumberOfFiles = 1,
24058
+ label,
24059
+ extraDropzoneDescription,
24060
+ hidePageCount,
24278
24061
  ...props
24279
24062
  }) {
24280
24063
  var _a2;
@@ -24371,7 +24154,12 @@ function DocumentUpload({
24371
24154
  handleFieldChange,
24372
24155
  errors,
24373
24156
  fieldValidationErrors: fieldProblems,
24374
- valid
24157
+ valid,
24158
+ multiple: supportsMultipleUploads,
24159
+ maxNumberOfFiles: maxNumberOfFiles ?? 1,
24160
+ label,
24161
+ extraDropzoneDescription,
24162
+ hidePageCount
24375
24163
  }
24376
24164
  )
24377
24165
  ] }),
@@ -24534,18 +24322,12 @@ function IdDocumentManualUpload(props) {
24534
24322
  " ",
24535
24323
  i18n.get("requirements")
24536
24324
  ] }),
24537
- /* @__PURE__ */ jsx$1(
24538
- List,
24539
- {
24540
- className: "adyen-kyc-document-upload__requirements",
24541
- items: [
24542
- i18n.get("documentNotExpiredOrDamaged"),
24543
- hasBackPage(data == null ? void 0 : data.idDocumentType) ? i18n.get("includeFrontAndBack") : i18n.get("providePageWithPhotoAndCode"),
24544
- i18n.get("fullDocumentVisible"),
24545
- i18n.get("imagesInColor")
24546
- ]
24547
- }
24548
- ),
24325
+ /* @__PURE__ */ jsxs("ul", { children: [
24326
+ /* @__PURE__ */ jsx$1("li", { children: i18n.get("documentNotExpiredOrDamaged") }),
24327
+ /* @__PURE__ */ jsx$1("li", { children: hasBackPage(data == null ? void 0 : data.idDocumentType) ? i18n.get("includeFrontAndBack") : i18n.get("providePageWithPhotoAndCode") }),
24328
+ /* @__PURE__ */ jsx$1("li", { children: i18n.get("fullDocumentVisible") }),
24329
+ /* @__PURE__ */ jsx$1("li", { children: i18n.get("imagesInColor") })
24330
+ ] }),
24549
24331
  (data == null ? void 0 : data.idDocumentType) && /* @__PURE__ */ jsxs(Fragment, { children: [
24550
24332
  /* @__PURE__ */ jsx$1(DocumentGuidance, { type: data == null ? void 0 : data.idDocumentType, className: "adyen-kyc-u-margin-y-16" }),
24551
24333
  /* @__PURE__ */ jsx$1(
@@ -24895,17 +24677,11 @@ function IdVerificationMethod(props) {
24895
24677
  title: i18n.get("howVerificationWithOnfidoWork"),
24896
24678
  content: /* @__PURE__ */ jsxs(Fragment, { children: [
24897
24679
  /* @__PURE__ */ jsx$1(Typography, { className: "adyen-kyc-u-margin-bottom-8", children: i18n.get("onfidoIsOurTrustedPartner") }),
24898
- /* @__PURE__ */ jsx$1(
24899
- List,
24900
- {
24901
- className: "adyen-kyc-id-verification-method__guidance",
24902
- items: [
24903
- i18n.get("usePhoneToScanId"),
24904
- i18n.get("onfidoWillGiveFeedbackInRealTime"),
24905
- i18n.get("theIdCheckWillBeAutomaticallyValidated")
24906
- ]
24907
- }
24908
- ),
24680
+ /* @__PURE__ */ jsxs("ul", { children: [
24681
+ /* @__PURE__ */ jsx$1("li", { children: i18n.get("usePhoneToScanId") }),
24682
+ /* @__PURE__ */ jsx$1("li", { children: i18n.get("onfidoWillGiveFeedbackInRealTime") }),
24683
+ /* @__PURE__ */ jsx$1("li", { children: i18n.get("theIdCheckWillBeAutomaticallyValidated") })
24684
+ ] }),
24909
24685
  /* @__PURE__ */ jsx$1(Typography, { className: "adyen-kyc-u-margin-bottom-8", children: i18n.get("adyenKeepsDataAsLongAsLegallyRequired") }),
24910
24686
  /* @__PURE__ */ jsx$1(Link, { href: "https://www.adyen.com/policies-and-disclaimer/privacy-policy", external: true, children: i18n.get("adyenPrivacyPolicy") })
24911
24687
  ] }),
@@ -27188,18 +26964,12 @@ function ProofOfRelationship({ id, ...props }) {
27188
26964
  " ",
27189
26965
  i18n.get("requirements")
27190
26966
  ] }),
27191
- /* @__PURE__ */ jsx$1(
27192
- List,
27193
- {
27194
- className: "adyen-kyc-upload-field__requirements",
27195
- items: [
27196
- i18n.get("documentAddressedToName", { values: { name: props.name } }),
27197
- i18n.get("showAddressStateCountry"),
27198
- i18n.get("fullDocumentVisibleWithReadableText"),
27199
- i18n.get("documentCannotBeDamaged")
27200
- ]
27201
- }
27202
- )
26967
+ /* @__PURE__ */ jsxs("ul", { children: [
26968
+ /* @__PURE__ */ jsx$1("li", { children: i18n.get("documentAddressedToName", { values: { name: props.name } }) }),
26969
+ /* @__PURE__ */ jsx$1("li", { children: i18n.get("showAddressStateCountry") }),
26970
+ /* @__PURE__ */ jsx$1("li", { children: i18n.get("fullDocumentVisibleWithReadableText") }),
26971
+ /* @__PURE__ */ jsx$1("li", { children: i18n.get("documentCannotBeDamaged") })
26972
+ ] })
27203
26973
  ] });
27204
26974
  return /* @__PURE__ */ jsx$1("div", { children: /* @__PURE__ */ jsx$1(
27205
26975
  MemoizedDocumentUpload,
@@ -27264,19 +27034,13 @@ function ProofOfResidency({ id, ...props }) {
27264
27034
  " ",
27265
27035
  i18n.get("requirements")
27266
27036
  ] }),
27267
- /* @__PURE__ */ jsx$1(
27268
- List,
27269
- {
27270
- className: "adyen-kyc-upload-field__requirements",
27271
- items: [
27272
- i18n.get("documentAddressedToName", { values: { name: props.name } }),
27273
- i18n.get("showAddressStateCountry"),
27274
- isMortgageOrVoterRegistration ? i18n.get("dateOnDocumentNoOlderThanXMonths", { values: { numberOfMonths: 12 } }) : i18n.get("dateOnDocumentNoOlderThanXMonths", { values: { numberOfMonths: 3 } }),
27275
- i18n.get("fullDocumentVisibleWithReadableText"),
27276
- i18n.get("documentCannotBeDamaged")
27277
- ]
27278
- }
27279
- )
27037
+ /* @__PURE__ */ jsxs("ul", { children: [
27038
+ /* @__PURE__ */ jsx$1("li", { children: i18n.get("documentAddressedToName", { values: { name: props.name } }) }),
27039
+ /* @__PURE__ */ jsx$1("li", { children: i18n.get("showAddressStateCountry") }),
27040
+ /* @__PURE__ */ jsx$1("li", { children: isMortgageOrVoterRegistration ? i18n.get("dateOnDocumentNoOlderThanXMonths", { values: { numberOfMonths: 12 } }) : i18n.get("dateOnDocumentNoOlderThanXMonths", { values: { numberOfMonths: 3 } }) }),
27041
+ /* @__PURE__ */ jsx$1("li", { children: i18n.get("fullDocumentVisibleWithReadableText") }),
27042
+ /* @__PURE__ */ jsx$1("li", { children: i18n.get("documentCannotBeDamaged") })
27043
+ ] })
27280
27044
  ] });
27281
27045
  return /* @__PURE__ */ jsx$1("div", { children: /* @__PURE__ */ jsx$1(
27282
27046
  MemoizedDocumentUpload,
@@ -27672,31 +27436,18 @@ function ConstitutionalDocumentUpload({
27672
27436
  legalEntityType,
27673
27437
  ...props
27674
27438
  }) {
27675
- var _a2;
27676
27439
  const { i18n } = useI18nContext();
27677
27440
  const isUnincorporatedPartnership = legalEntityType === LegalEntityType.UNINCORPORATED_PARTNERSHIP;
27441
+ const constitutionalDocumentRequirements = getConstitutionDocumentTypeOptionsMapping(
27442
+ legalEntityType,
27443
+ props.country
27444
+ );
27678
27445
  const guidanceContent = /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-upload-field__guidance adyen-kyc-u-margin-bottom-24", children: [
27679
27446
  /* @__PURE__ */ jsx$1("strong", { children: i18n.get("uploadOneOfTheseDocuments") }),
27680
- /* @__PURE__ */ jsx$1(
27681
- List,
27682
- {
27683
- className: "adyen-kyc-u-margin-left-8 adyen-kyc-u-margin-top-8 adyen-kyc-u-margin-bottom-16",
27684
- items: (_a2 = getConstitutionDocumentTypeOptionsMapping(legalEntityType, props.country)) == null ? void 0 : _a2.map(
27685
- ({ name }) => i18n.get(name)
27686
- )
27687
- }
27688
- ),
27447
+ /* @__PURE__ */ jsx$1("ul", { children: constitutionalDocumentRequirements == null ? void 0 : constitutionalDocumentRequirements.map(({ name }, i) => /* @__PURE__ */ jsx$1("li", { children: i18n.get(name) }, i)) }),
27689
27448
  isUnincorporatedPartnership && /* @__PURE__ */ jsxs(Fragment, { children: [
27690
27449
  /* @__PURE__ */ jsx$1("strong", { children: i18n.get("documentRequirements") }),
27691
- /* @__PURE__ */ jsx$1(
27692
- List,
27693
- {
27694
- className: "adyen-kyc-u-margin-left-8 adyen-kyc-u-margin-top-8",
27695
- items: unincorporatedPartnershipRequirementsVariants.map(
27696
- (name) => i18n.get(`documentRequirementsUnincorporatedPartnership${name}`)
27697
- )
27698
- }
27699
- )
27450
+ /* @__PURE__ */ jsx$1("ul", { children: unincorporatedPartnershipRequirementsVariants.map((item, i) => /* @__PURE__ */ jsx$1("li", { children: i18n.get(`documentRequirementsUnincorporatedPartnership${item}`) }, i)) })
27700
27451
  ] }),
27701
27452
  props.country !== "US" && !isUnincorporatedPartnership && /* @__PURE__ */ jsx$1("div", { className: "adyen-kyc-u-margin-y-16", children: /* @__PURE__ */ jsxs("span", { children: [
27702
27453
  i18n.get("infoInUploadedDocumentIsTrue"),
@@ -27771,13 +27522,11 @@ const UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL = [
27771
27522
  ];
27772
27523
  const UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED = [
27773
27524
  CountryCodes.Australia,
27774
- CountryCodes.Belgium,
27775
27525
  CountryCodes.Germany,
27776
27526
  CountryCodes.HongKong,
27777
27527
  CountryCodes.Ireland,
27778
27528
  CountryCodes.Netherlands,
27779
27529
  CountryCodes.NewZealand,
27780
- CountryCodes.Poland,
27781
27530
  CountryCodes.UnitedKingdom
27782
27531
  ];
27783
27532
  const UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL = [
@@ -27785,13 +27534,11 @@ const UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL = [
27785
27534
  ];
27786
27535
  const UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL = [
27787
27536
  CountryCodes.Belgium,
27788
- CountryCodes.France,
27789
27537
  CountryCodes.Germany,
27790
27538
  CountryCodes.Ireland,
27791
27539
  CountryCodes.Netherlands,
27792
27540
  CountryCodes.Poland,
27793
27541
  CountryCodes.Spain,
27794
- CountryCodes.Switzerland,
27795
27542
  CountryCodes.UnitedKingdom
27796
27543
  ];
27797
27544
  const nzSpecificTrustTypes = [
@@ -28317,7 +28064,7 @@ const trustForms = {
28317
28064
  },
28318
28065
  trustRegistrationAddress: {
28319
28066
  formId: "trustRegistrationAddress",
28320
- formName: "registeredAddress",
28067
+ formName: "addressDetails",
28321
28068
  fields: registrationAddressFields
28322
28069
  },
28323
28070
  trustConstitutionalDocument: {
@@ -28361,12 +28108,14 @@ function Trust(props) {
28361
28108
  RegistrationAddress,
28362
28109
  {
28363
28110
  ...trustRegistrationAddressFormProps,
28364
- heading: i18n.get("registeredAddress"),
28111
+ heading: i18n.get("addressDetails"),
28365
28112
  description: !isUnincorporatedPartnership ? i18n.get("registeredAddressTrustHeaderDescription") : i18n.get("registeredAddressUnincorporatedPartnershipHeaderDescription"),
28366
28113
  id: trustRegistrationAddressFormId,
28367
28114
  country,
28368
28115
  problems: props == null ? void 0 : props.problems,
28369
- labels: { operationalAddressIsSame: "isTrustOperationAddressSame" }
28116
+ labels: {
28117
+ operationalAddressIsSame: !isUnincorporatedPartnership ? "isTrustOperationAddressSame" : "isPartnershipOperationAddressSame"
28118
+ }
28370
28119
  }
28371
28120
  )
28372
28121
  }
@@ -28700,7 +28449,7 @@ function getCapabilityProblems(entity, country) {
28700
28449
  const remediationHasFileUploadField = (remediation) => {
28701
28450
  var _a2;
28702
28451
  return (_a2 = remediation == null ? void 0 : remediation.forms) == null ? void 0 : _a2.some(
28703
- (form) => form === individualForms.idVerificationMethod.formId || form === individualForms.idDocument.formId || form === individualForms.proofOfResidency.formId || form === individualForms.proofOfNationalId.formId || form === staticBusinessDetailsForms.companyRegistrationDocument.formId || form === staticBusinessDetailsForms.companyTaxDocument.formId || form === staticBusinessDetailsForms.companyProofOfDirectorDocument.formId || form === staticBusinessDetailsForms.companyProofOfSignatoryDocument.formId || form === staticBusinessDetailsForms.companyConstitutionalDocument.formId || form === payoutSteps.payoutAccountDocuments.formId || form === trustForms.trustConstitutionalDocument.formId
28452
+ (form) => form === individualForms.idVerificationMethod.formId || form === individualForms.idDocument.formId || form === individualForms.proofOfResidency.formId || form === individualForms.proofOfNationalId.formId || form === staticBusinessDetailsForms.companyRegistrationDocument.formId || form === staticBusinessDetailsForms.companyTaxDocument.formId || form === staticBusinessDetailsForms.companyProofOfDirectorDocument.formId || form === staticBusinessDetailsForms.companyProofOfSignatoryDocument.formId || form === staticBusinessDetailsForms.companyProofOfOwnershipDocument.formId || form === staticBusinessDetailsForms.companyConstitutionalDocument.formId || form === payoutSteps.payoutAccountDocuments.formId || form === trustForms.trustConstitutionalDocument.formId
28704
28453
  );
28705
28454
  };
28706
28455
  const getEntityType = (baseEntityType, legalEntity, legalEntityId) => {
@@ -29824,11 +29573,11 @@ var FALLBACK = Symbol("fallback");
29824
29573
  function dispose(d) {
29825
29574
  for (let i = 0; i < d.length; i++) d[i]();
29826
29575
  }
29827
- function mapArray(list2, mapFn, options = {}) {
29576
+ function mapArray(list, mapFn, options = {}) {
29828
29577
  let items = [], mapped = [], disposers = [], len = 0, indexes = mapFn.length > 1 ? [] : null;
29829
29578
  onCleanup(() => dispose(disposers));
29830
29579
  return () => {
29831
- let newItems = list2() || [], newLen = newItems.length, i, j;
29580
+ let newItems = list() || [], newLen = newItems.length, i, j;
29832
29581
  newItems[$TRACK];
29833
29582
  return untrack(() => {
29834
29583
  let newIndices, newIndicesNext, temp, tempdisposers, tempIndexes, start, end, newEnd, item;
@@ -29911,11 +29660,11 @@ function mapArray(list2, mapFn, options = {}) {
29911
29660
  }
29912
29661
  };
29913
29662
  }
29914
- function indexArray(list2, mapFn, options = {}) {
29663
+ function indexArray(list, mapFn, options = {}) {
29915
29664
  let items = [], mapped = [], disposers = [], signals = [], len = 0, i;
29916
29665
  onCleanup(() => dispose(disposers));
29917
29666
  return () => {
29918
- const newItems = list2() || [], newLen = newItems.length;
29667
+ const newItems = list() || [], newLen = newItems.length;
29919
29668
  newItems[$TRACK];
29920
29669
  return untrack(() => {
29921
29670
  if (newLen === 0) {
@@ -31909,7 +31658,7 @@ var TanstackQueryDevtools = (_l = class {
31909
31658
  if (__privateGet(this, _Component)) {
31910
31659
  Devtools = __privateGet(this, _Component);
31911
31660
  } else {
31912
- Devtools = lazy(() => import("./I3HPI4QX-9ko0FQd6.js"));
31661
+ Devtools = lazy(() => import("./I3HPI4QX-7hHBw-hy.js"));
31913
31662
  __privateSet(this, _Component, Devtools);
31914
31663
  }
31915
31664
  setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
@@ -32031,7 +31780,7 @@ var TanstackQueryDevtoolsPanel = (_m = class {
32031
31780
  if (__privateGet(this, _Component2)) {
32032
31781
  Devtools = __privateGet(this, _Component2);
32033
31782
  } else {
32034
- Devtools = lazy(() => import("./CXEL7IU7-B9HOZi-H.js"));
31783
+ Devtools = lazy(() => import("./CXEL7IU7-BDgMbrmd.js"));
32035
31784
  __privateSet(this, _Component2, Devtools);
32036
31785
  }
32037
31786
  setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
@@ -32238,7 +31987,7 @@ const convertToEmbeddedEvent = (eventQueueItem, sessionData) => {
32238
31987
  };
32239
31988
  };
32240
31989
  const useAnalytics = ({ userEvents: userEvents2, sessionId, sessionData }) => {
32241
- const sdkVersion = "3.71.3";
31990
+ const sdkVersion = "3.72.0";
32242
31991
  const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
32243
31992
  const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
32244
31993
  useEffect(() => {
@@ -32284,13 +32033,18 @@ const useVersionConfiguration = (options) => {
32284
32033
  });
32285
32034
  };
32286
32035
  const useVersion = () => {
32287
- var _a2, _b2;
32288
32036
  const { enableVersionExperiment } = useExperimentsContext();
32289
32037
  const { data, isError: isError2, isLoading } = useVersionConfiguration();
32290
32038
  const onboardingVersion = isLoading ? void 0 : isError2 ? 1 : data == null ? void 0 : data.version;
32291
- if (data) {
32292
- (_b2 = (_a2 = data == null ? void 0 : data.features) == null ? void 0 : _a2.forEach) == null ? void 0 : _b2.call(_a2, (feature) => enableVersionExperiment(feature));
32293
- }
32039
+ useEffect(() => {
32040
+ var _a2;
32041
+ (_a2 = data == null ? void 0 : data.features) == null ? void 0 : _a2.forEach(
32042
+ (feature) => enableVersionExperiment(
32043
+ feature
32044
+ /* TODO(OpenApi mismatch) */
32045
+ )
32046
+ );
32047
+ }, [data, enableVersionExperiment]);
32294
32048
  return { onboardingVersion };
32295
32049
  };
32296
32050
  const AnalyticsProvider = ({
@@ -32301,7 +32055,7 @@ const AnalyticsProvider = ({
32301
32055
  const { onboardingVersion } = useVersion();
32302
32056
  const userEvents2 = useMemo(() => createUserEvents(), []);
32303
32057
  const sessionData = {
32304
- sdkVersion: "3.71.3",
32058
+ sdkVersion: "3.72.0",
32305
32059
  componentName,
32306
32060
  userAgent: navigator.userAgent,
32307
32061
  legalEntityId,
@@ -32334,7 +32088,7 @@ function ExperimentsContextProvider({
32334
32088
  );
32335
32089
  return /* @__PURE__ */ jsx$1(ExperimentsContext.Provider, { value: contextValue, children: children2 });
32336
32090
  }
32337
- const localeImports = /* @__PURE__ */ Object.assign({ "./locales/bg-BG.json": () => import("./bg-BG-CzEF3tzV.js"), "./locales/cs-CZ.json": () => import("./cs-CZ-TMjslGp_.js"), "./locales/da-DK.json": () => import("./da-DK-DWzvDWZJ.js"), "./locales/de-DE.json": () => import("./de-DE-BtIL-7gp.js"), "./locales/el-GR.json": () => import("./el-GR-DHSSlqbw.js"), "./locales/en-US.json": () => Promise.resolve().then(() => enUS), "./locales/es-ES.json": () => import("./es-ES-OwkE9-Cu.js"), "./locales/et-EE.json": () => import("./et-EE-DvixWnLd.js"), "./locales/fi-FI.json": () => import("./fi-FI-DZiXWe_g.js"), "./locales/fr-FR.json": () => import("./fr-FR-BBwiWhiT.js"), "./locales/hr-HR.json": () => import("./hr-HR-DJYofWKU.js"), "./locales/hu-HU.json": () => import("./hu-HU-k9c6wZld.js"), "./locales/it-IT.json": () => import("./it-IT-oOwbWW3K.js"), "./locales/ja-JP.json": () => import("./ja-JP-CT3g8Hhn.js"), "./locales/lt-LT.json": () => import("./lt-LT-CVHIsEF8.js"), "./locales/lv-LV.json": () => import("./lv-LV-BFx0cvZ2.js"), "./locales/nl-NL.json": () => import("./nl-NL-rmSZu4Rf.js"), "./locales/no-NO.json": () => import("./no-NO-BOnQvimN.js"), "./locales/pl-PL.json": () => import("./pl-PL-5j22An4E.js"), "./locales/pt-PT.json": () => import("./pt-PT-DP8U1qyu.js"), "./locales/ro-RO.json": () => import("./ro-RO-BTdtoC6P.js"), "./locales/sk-SK.json": () => import("./sk-SK-DYTx4mOB.js"), "./locales/sl-SI.json": () => import("./sl-SI-D8CiUN69.js"), "./locales/sv-SE.json": () => import("./sv-SE-Daslxeqr.js") });
32091
+ const localeImports = /* @__PURE__ */ Object.assign({ "./locales/bg-BG.json": () => import("./bg-BG-CZRQZyXO.js"), "./locales/cs-CZ.json": () => import("./cs-CZ-BbUFgifZ.js"), "./locales/da-DK.json": () => import("./da-DK-CP71BFS7.js"), "./locales/de-DE.json": () => import("./de-DE-DY56JGZt.js"), "./locales/el-GR.json": () => import("./el-GR-CnENEp5c.js"), "./locales/en-US.json": () => Promise.resolve().then(() => enUS), "./locales/es-ES.json": () => import("./es-ES-dV62vQcV.js"), "./locales/et-EE.json": () => import("./et-EE-BBgAN3Wc.js"), "./locales/fi-FI.json": () => import("./fi-FI-DVmGWIxn.js"), "./locales/fr-FR.json": () => import("./fr-FR-VwG8Rg7R.js"), "./locales/hr-HR.json": () => import("./hr-HR-Bs_lxjxQ.js"), "./locales/hu-HU.json": () => import("./hu-HU-8dVSiOZM.js"), "./locales/it-IT.json": () => import("./it-IT-DvwWMDl1.js"), "./locales/ja-JP.json": () => import("./ja-JP-BB6zzyEg.js"), "./locales/lt-LT.json": () => import("./lt-LT-BQtNojlb.js"), "./locales/lv-LV.json": () => import("./lv-LV-BpEw5uN5.js"), "./locales/nl-NL.json": () => import("./nl-NL-vBEBXTP-.js"), "./locales/no-NO.json": () => import("./no-NO-BFhTqUoD.js"), "./locales/pl-PL.json": () => import("./pl-PL-dsGZvzVf.js"), "./locales/pt-PT.json": () => import("./pt-PT-BB38pZbh.js"), "./locales/ro-RO.json": () => import("./ro-RO-BgxNxoxJ.js"), "./locales/sk-SK.json": () => import("./sk-SK-rtDeCztl.js"), "./locales/sl-SI.json": () => import("./sl-SI-qoGCwUdU.js"), "./locales/sv-SE.json": () => import("./sv-SE-f1T7PBSW.js") });
32338
32092
  const loadLocale = async (locale) => {
32339
32093
  const importForLocale = localeImports[`./locales/${locale}.json`];
32340
32094
  if (!importForLocale) {
@@ -32686,7 +32440,7 @@ function StateProvider({
32686
32440
  );
32687
32441
  return /* @__PURE__ */ jsx$1(StateContext.Provider, { value: contextValue, children: children2 });
32688
32442
  }
32689
- const DebugModal = lazy$1(async () => (await import("./DebugModal-B_DAGmya.js").then((n) => n.D)).DebugModal);
32443
+ const DebugModal = lazy$1(async () => (await import("./DebugModal-sw85K_ur.js").then((n) => n.D)).DebugModal);
32690
32444
  const DebugListener = () => {
32691
32445
  const [debugUiOpen, setDebugUiOpen] = useState(false);
32692
32446
  const { isSettingEnabled } = useSettingsContext();
@@ -32744,23 +32498,23 @@ export {
32744
32498
  Button as B,
32745
32499
  Currency as C,
32746
32500
  useForm as D,
32747
- EEA_Countries as E,
32501
+ useGlobalDataSlice as E,
32748
32502
  Field as F,
32749
- useGlobalDataSlice as G,
32750
- ErrorPanel as H,
32503
+ ErrorPanel as G,
32504
+ createFormUtils as H,
32751
32505
  InputText as I,
32752
- createFormUtils as J,
32753
- useGlobalData as K,
32506
+ useGlobalData as J,
32507
+ getAddressSchemaForCountry as K,
32754
32508
  LoaderWrapper as L,
32755
32509
  MaybeModal as M,
32756
- getAddressSchemaForCountry as N,
32757
- COUNTRIES_WITH_STATES_DATASET as O,
32758
- Address as P,
32759
- getAddressSchemaLabelsByCountry as Q,
32510
+ COUNTRIES_WITH_STATES_DATASET as N,
32511
+ Address as O,
32512
+ getAddressSchemaLabelsByCountry as P,
32513
+ useInvalidateRootLegalEntity as Q,
32760
32514
  RadioGroup as R,
32761
32515
  Spacer as S,
32762
32516
  Typography as T,
32763
- useInvalidateRootLegalEntity as U,
32517
+ useAssociatedLegalEntity as U,
32764
32518
  datasetUtilities as V,
32765
32519
  useToastContext as W,
32766
32520
  useStateContext as X,
@@ -32768,324 +32522,321 @@ export {
32768
32522
  SettingNames as Z,
32769
32523
  getAssociatedLeAnalyticsPayload as _,
32770
32524
  useAnalyticsContext as a,
32771
- defaultFieldMetadata$3 as a$,
32525
+ defaultFieldConfig$2 as a$,
32772
32526
  Loader as a0,
32773
32527
  Icon as a1,
32774
32528
  useLegalEntity as a2,
32775
32529
  getLegalEntityCountry as a3,
32776
32530
  httpPost as a4,
32777
32531
  useMutation as a5,
32778
- useQueryClient as a6,
32779
- createFormRules as a7,
32780
- mapPayoutAccountSchemaToApiBankAccount as a8,
32781
- payoutComponentKeyMapping as a9,
32782
- doesLegalEntityRequiresLegalRepresentative as aA,
32783
- ProviderButton as aB,
32784
- isPartOfTrustFromLegalEntity as aC,
32785
- hasSolePropInLegalEntity as aD,
32786
- hasOwnEntityAssociationOfType as aE,
32787
- isEmptyEntity as aF,
32788
- CompanyTypesValue as aG,
32789
- useAccountHolder as aH,
32790
- EntityType as aI,
32791
- DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING as aJ,
32792
- handleKeys as aK,
32793
- noop as aL,
32794
- getObscuredAccountNumber as aM,
32795
- useGetTaskStatus as aN,
32796
- CardGroup as aO,
32797
- useSetting as aP,
32798
- useSignalValue as aQ,
32799
- useGlobalStore as aR,
32800
- isPartOfUnincorporatedPartnership as aS,
32801
- getOwnSignatories as aT,
32802
- getOwnDecisionMakersLegalEntityIds as aU,
32803
- getOwnSolePropProblems as aV,
32804
- getOwnTrustProblems as aW,
32805
- getOwnUnincorporatedPartnershipProblems as aX,
32806
- TrustMemberTypes as aY,
32807
- mergeFieldMetadataIntoProps as aZ,
32808
- resolveFieldMetadata as a_,
32809
- keysOf as aa,
32810
- summaryItem as ab,
32811
- CountryCodes as ac,
32812
- getLegalEntityNameBasedOnType as ad,
32813
- TaskTypes as ae,
32814
- isInstantVerifiedAccount as af,
32815
- getCapabilityProblems as ag,
32816
- isProviderWidgetInline as ah,
32817
- payoutSteps as ai,
32818
- Modal as aj,
32819
- PayoutDetails as ak,
32820
- TaskStatus as al,
32821
- Skeleton as am,
32822
- ROOT_LE as an,
32823
- httpDelete as ao,
32824
- Alert as ap,
32825
- Card as aq,
32826
- StructuredList as ar,
32827
- IconButton as as,
32828
- Confirm as at,
32532
+ skipToken as a6,
32533
+ useQueryClient as a7,
32534
+ createFormRules as a8,
32535
+ mapPayoutAccountSchemaToApiBankAccount as a9,
32536
+ isPartOfTrustFromLegalEntity as aA,
32537
+ hasSolePropInLegalEntity as aB,
32538
+ hasOwnEntityAssociationOfType as aC,
32539
+ isEmptyEntity as aD,
32540
+ CompanyTypesValue as aE,
32541
+ useAccountHolder as aF,
32542
+ EntityType as aG,
32543
+ DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING as aH,
32544
+ handleKeys as aI,
32545
+ noop as aJ,
32546
+ getObscuredAccountNumber as aK,
32547
+ useGetTaskStatus as aL,
32548
+ CardGroup as aM,
32549
+ useSetting as aN,
32550
+ useSignalValue as aO,
32551
+ useGlobalStore as aP,
32552
+ isPartOfUnincorporatedPartnership as aQ,
32553
+ getOwnSignatories as aR,
32554
+ getOwnDecisionMakersLegalEntityIds as aS,
32555
+ getOwnSolePropProblems as aT,
32556
+ getOwnTrustProblems as aU,
32557
+ getOwnUnincorporatedPartnershipProblems as aV,
32558
+ TrustMemberTypes as aW,
32559
+ getOwnEntityAssociations as aX,
32560
+ mergeFieldMetadataIntoProps as aY,
32561
+ resolveFieldMetadata as aZ,
32562
+ defaultFieldMetadata$3 as a_,
32563
+ payoutComponentKeyMapping as aa,
32564
+ keysOf as ab,
32565
+ summaryItem as ac,
32566
+ CountryCodes as ad,
32567
+ payoutSteps as ae,
32568
+ getPayoutAccountHolderName as af,
32569
+ getLegalEntityNameBasedOnType as ag,
32570
+ TaskTypes as ah,
32571
+ isInstantVerifiedAccount as ai,
32572
+ getCapabilityProblems as aj,
32573
+ Modal as ak,
32574
+ PayoutDetails as al,
32575
+ TaskStatus as am,
32576
+ Skeleton as an,
32577
+ ROOT_LE as ao,
32578
+ httpDelete as ap,
32579
+ Alert as aq,
32580
+ Card as ar,
32581
+ StructuredList as as,
32582
+ IconButton as at,
32829
32583
  createLogger as au,
32830
32584
  useDataset as av,
32831
32585
  datasetIdentifier as aw,
32832
32586
  useLocalStorage as ax,
32833
32587
  getLegalRepresentative as ay,
32834
- skipToken as az,
32588
+ doesLegalEntityRequiresLegalRepresentative as az,
32835
32589
  useExperimentsContext as b,
32836
- ValidationResult as b$,
32837
- defaultFieldConfig$2 as b0,
32838
- getFieldProps as b1,
32839
- nameFields as b2,
32840
- FormHeader as b3,
32841
- MultiSelectList as b4,
32842
- makeSelectItemForRole as b5,
32843
- RadioGroupCard as b6,
32844
- TextArea as b7,
32845
- Name as b8,
32846
- CountryField as b9,
32847
- SettingsProvider as bA,
32848
- ExperimentsContextProvider as bB,
32849
- ApiProvider as bC,
32850
- QueryClientProvider as bD,
32851
- StoreProvider as bE,
32852
- AnalyticsProvider as bF,
32853
- I18nProvider as bG,
32854
- DebugListener as bH,
32855
- ToastContextProvider as bI,
32856
- StateProvider as bJ,
32857
- ReactQueryDevtools2 as bK,
32858
- FALLBACK_LOCALE as bL,
32859
- setSdkToken as bM,
32860
- setSdkTokenHandler as bN,
32861
- businessDetailsApiKeyMapping as bO,
32862
- individualApiKeyMapping as bP,
32863
- remediationHasFileUploadField as bQ,
32864
- dataMissingRemediationsToFieldsMap as bR,
32865
- AdyenKycSdkError as bS,
32866
- payoutAccountFormat as bT,
32867
- FormRouterContext as bU,
32868
- remediationPayoutApiKeyMapping as bV,
32869
- remediationBusinessDetailsApiKeyMapping as bW,
32870
- remediationIndividualApiKeyMapping as bX,
32871
- FormContext as bY,
32872
- individualComponentsKeyMapping as bZ,
32873
- businessDetailsComponentsKeyMapping as b_,
32874
- COUNTRY_FIELD as ba,
32875
- LegalCompanyNameField as bb,
32876
- LEGAL_COMPANY_NAME_FIELD as bc,
32877
- getOwnEntityAssociations as bd,
32878
- getRoleName as be,
32879
- ActionBar as bf,
32880
- UnincorporatedPartnershipMemberTypes as bg,
32881
- getDecisionMakerDescriptionMap as bh,
32882
- TRUST_DEFAULT_DESCRIPTIONS_MAP as bi,
32883
- getRoleTagVariant as bj,
32884
- DEFAULT_TRUST_MEMBER_REQUIREMENTS as bk,
32885
- ContextGuidance as bl,
32886
- deleteUnincorporatedPartnershipMember as bm,
32887
- mapEntityAssociationsToUnincorporatedPartnershipMembers as bn,
32888
- hasAllCapabilitiesResolved as bo,
32889
- hasRejectedCapabilities as bp,
32890
- getPayoutAccountHolderName as bq,
32891
- TrustedFieldsProvider as br,
32892
- getOwnDecisionMakers as bs,
32893
- Checkbox as bt,
32894
- listify as bu,
32895
- isUndefinedOrNull as bv,
32896
- useAllowedCountries as bw,
32897
- AlertIcon as bx,
32898
- uuidv4 as by,
32899
- EventEmitter as bz,
32590
+ hasText as b$,
32591
+ getFieldProps as b0,
32592
+ nameFields as b1,
32593
+ FormHeader as b2,
32594
+ MultiSelectList as b3,
32595
+ makeSelectItemForRole as b4,
32596
+ RadioGroupCard as b5,
32597
+ TextArea as b6,
32598
+ Name as b7,
32599
+ CountryField as b8,
32600
+ COUNTRY_FIELD as b9,
32601
+ QueryClientProvider as bA,
32602
+ StoreProvider as bB,
32603
+ AnalyticsProvider as bC,
32604
+ I18nProvider as bD,
32605
+ DebugListener as bE,
32606
+ ToastContextProvider as bF,
32607
+ StateProvider as bG,
32608
+ ReactQueryDevtools2 as bH,
32609
+ FALLBACK_LOCALE as bI,
32610
+ setSdkToken as bJ,
32611
+ setSdkTokenHandler as bK,
32612
+ businessDetailsApiKeyMapping as bL,
32613
+ individualApiKeyMapping as bM,
32614
+ remediationHasFileUploadField as bN,
32615
+ dataMissingRemediationsToFieldsMap as bO,
32616
+ AdyenKycSdkError as bP,
32617
+ payoutAccountFormat as bQ,
32618
+ FormRouterContext as bR,
32619
+ remediationPayoutApiKeyMapping as bS,
32620
+ remediationBusinessDetailsApiKeyMapping as bT,
32621
+ remediationIndividualApiKeyMapping as bU,
32622
+ EEA_Countries as bV,
32623
+ FormContext as bW,
32624
+ individualComponentsKeyMapping as bX,
32625
+ businessDetailsComponentsKeyMapping as bY,
32626
+ ValidationResult as bZ,
32627
+ isNotEmptyValidator as b_,
32628
+ LegalCompanyNameField as ba,
32629
+ LEGAL_COMPANY_NAME_FIELD as bb,
32630
+ getRoleName as bc,
32631
+ ActionBar as bd,
32632
+ UnincorporatedPartnershipMemberTypes as be,
32633
+ getDecisionMakerDescriptionMap as bf,
32634
+ TRUST_DEFAULT_DESCRIPTIONS_MAP as bg,
32635
+ getRoleTagVariant as bh,
32636
+ DEFAULT_TRUST_MEMBER_REQUIREMENTS as bi,
32637
+ ContextGuidance as bj,
32638
+ useUnincorporatedPartnershipMembers as bk,
32639
+ deleteUnincorporatedPartnershipMember as bl,
32640
+ hasAllCapabilitiesResolved as bm,
32641
+ hasRejectedCapabilities as bn,
32642
+ TrustedFieldsProvider as bo,
32643
+ getOwnDecisionMakers as bp,
32644
+ Checkbox as bq,
32645
+ listify as br,
32646
+ isUndefinedOrNull as bs,
32647
+ useAllowedCountries as bt,
32648
+ AlertIcon as bu,
32649
+ uuidv4 as bv,
32650
+ EventEmitter as bw,
32651
+ SettingsProvider as bx,
32652
+ ExperimentsContextProvider as by,
32653
+ ApiProvider as bz,
32900
32654
  ModalContent as c,
32901
- PatriotActDisclosure as c$,
32902
- isNotEmptyValidator as c0,
32903
- hasText as c1,
32904
- matchesRegex as c2,
32905
- trimValWithOneSpace as c3,
32906
- NO_ALPHABET_REGEX as c4,
32907
- EMOJI_REGEX as c5,
32908
- hasRepeatedCharacters as c6,
32909
- isInvalidName as c7,
32910
- INDIVIDUAL_VALID_CHAR_REGEX as c8,
32911
- getFormattingRegEx as c9,
32912
- individualDocumentMapping as cA,
32913
- individualForms as cB,
32914
- showIndividualMotionCapture as cC,
32915
- getAllowedDecisionMakerRoles as cD,
32916
- Individual as cE,
32917
- individualObscuredFields as cF,
32918
- filterOutUnwantedAssociationsIfRootLE as cG,
32919
- mapAddressLabels as cH,
32920
- individualDocumentForms as cI,
32921
- hasNomineesChanged as cJ,
32922
- attachNomineeToRole as cK,
32923
- idVerificationProviderId as cL,
32924
- doArraysMatch as cM,
32925
- getAvailableDecisionMakerRoleTypes as cN,
32926
- licenseCardNumberDefaultMetadata as cO,
32927
- licenseCardNumberDefaultConfig as cP,
32928
- useFormContext as cQ,
32929
- idNumberFields as cR,
32930
- IdentityNumber as cS,
32931
- additionallIdNumberOptions as cT,
32932
- MaskedInput as cU,
32933
- formatDateObj as cV,
32934
- DriversLicense as cW,
32935
- addressFields as cX,
32936
- getDefaultTaxIdNumberType as cY,
32937
- IndividualIdNumberTypeSelector as cZ,
32938
- TaxInformationField as c_,
32939
- SPECIAL_CHARS as ca,
32940
- getLocalizedIdDocumentTypeOptions as cb,
32941
- isNewlyUploadedFile as cc,
32942
- getNestedPropertyKeys as cd,
32943
- isValueObscured as ce,
32944
- isTruthyValidator as cf,
32945
- emailPattern as cg,
32946
- getSSNType as ch,
32947
- defaultFieldMetadata as ci,
32948
- defaultFieldConfig as cj,
32949
- defaultFieldMetadata$1 as ck,
32950
- fieldConfig as cl,
32951
- defaultFieldMetadata$5 as cm,
32952
- defaultFieldConfig$4 as cn,
32953
- getAgeToday as co,
32954
- euCountries as cp,
32955
- DecisionMakerType as cq,
32956
- allowedCountriesForNominee as cr,
32957
- Scenarios as cs,
32958
- getNomineeFromAssociation as ct,
32959
- useProviderStatus as cu,
32960
- addressValidators as cv,
32961
- getAsyncIdNumberValidationRule as cw,
32962
- getAsyncPhoneValidationRules as cx,
32963
- addressFormatters as cy,
32964
- setHasMotionCaptureScenario as cz,
32655
+ nomineeFields as c$,
32656
+ matchesRegex as c0,
32657
+ trimValWithOneSpace as c1,
32658
+ NO_ALPHABET_REGEX as c2,
32659
+ EMOJI_REGEX as c3,
32660
+ hasRepeatedCharacters as c4,
32661
+ isInvalidName as c5,
32662
+ INDIVIDUAL_VALID_CHAR_REGEX as c6,
32663
+ getFormattingRegEx as c7,
32664
+ SPECIAL_CHARS as c8,
32665
+ getLocalizedIdDocumentTypeOptions as c9,
32666
+ getAllowedDecisionMakerRoles as cA,
32667
+ Individual as cB,
32668
+ filterOutUnwantedAssociationsIfRootLE as cC,
32669
+ mapAddressLabels as cD,
32670
+ individualDocumentForms as cE,
32671
+ individualDocumentMapping as cF,
32672
+ individualObscuredFields as cG,
32673
+ hasNomineesChanged as cH,
32674
+ attachNomineeToRole as cI,
32675
+ idVerificationProviderId as cJ,
32676
+ doArraysMatch as cK,
32677
+ getAvailableDecisionMakerRoleTypes as cL,
32678
+ licenseCardNumberDefaultMetadata as cM,
32679
+ licenseCardNumberDefaultConfig as cN,
32680
+ useFormContext as cO,
32681
+ idNumberFields as cP,
32682
+ IdentityNumber as cQ,
32683
+ additionallIdNumberOptions as cR,
32684
+ MaskedInput as cS,
32685
+ formatDateObj as cT,
32686
+ DriversLicense as cU,
32687
+ addressFields as cV,
32688
+ getDefaultTaxIdNumberType as cW,
32689
+ IndividualIdNumberTypeSelector as cX,
32690
+ TaxInformationField as cY,
32691
+ PatriotActDisclosure as cZ,
32692
+ decisionMakerRoleFields as c_,
32693
+ isNewlyUploadedFile as ca,
32694
+ getNestedPropertyKeys as cb,
32695
+ isValueObscured as cc,
32696
+ isTruthyValidator as cd,
32697
+ emailPattern as ce,
32698
+ getSSNType as cf,
32699
+ defaultFieldMetadata as cg,
32700
+ defaultFieldConfig as ch,
32701
+ defaultFieldMetadata$1 as ci,
32702
+ fieldConfig as cj,
32703
+ defaultFieldMetadata$5 as ck,
32704
+ defaultFieldConfig$4 as cl,
32705
+ getAgeToday as cm,
32706
+ euCountries as cn,
32707
+ DecisionMakerType as co,
32708
+ allowedCountriesForNominee as cp,
32709
+ Scenarios as cq,
32710
+ getNomineeFromAssociation as cr,
32711
+ useProviderStatus as cs,
32712
+ addressValidators as ct,
32713
+ getAsyncIdNumberValidationRule as cu,
32714
+ getAsyncPhoneValidationRules as cv,
32715
+ addressFormatters as cw,
32716
+ setHasMotionCaptureScenario as cx,
32717
+ individualForms as cy,
32718
+ showIndividualMotionCapture as cz,
32965
32719
  ModalHeader as d,
32966
- UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL as d$,
32967
- decisionMakerRoleFields as d0,
32968
- nomineeFields as d1,
32969
- contactDetailFields as d2,
32970
- DecisionMakerRole as d3,
32971
- NomineeDecisionMakerRole as d4,
32972
- ContactDetails as d5,
32973
- isEmpty as d6,
32974
- RadioWithLabel as d7,
32975
- Svg as d8,
32976
- pick as d9,
32977
- MemoizedConstitutionalDocument as dA,
32978
- FinancialInformation as dB,
32979
- StateCodesUS as dC,
32980
- solePropBusinessDetailsKeyMapping as dD,
32981
- operationalAddressIsSameIds as dE,
32982
- COUNTRIES_USING_COMPANY_SEARCH as dF,
32983
- FIELDS_NEEDED_FOR_COMPANY_SEARCH as dG,
32984
- solePropBusinessDetailsApiKeyMapping as dH,
32985
- COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT as dI,
32986
- companyTypeMetadata as dJ,
32987
- documentFormsIds as dK,
32988
- defaultFieldMetadata$6 as dL,
32989
- inferCompanyRegistrationNumberType as dM,
32990
- getCompanyRegistrationNumberOptions as dN,
32991
- defaultFieldConfig$5 as dO,
32992
- countryToTaxInfoTypeMap as dP,
32993
- getKeyForField as dQ,
32994
- setIsBankAccountRequestedForOrganization as dR,
32995
- rules as dS,
32996
- solePropBusinessDetailsDocumentMapping as dT,
32997
- businessDetailsDocumentMapping as dU,
32998
- ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES as dV,
32999
- updateTaxInformation as dW,
33000
- UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL as dX,
33001
- UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED as dY,
33002
- UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL as dZ,
33003
- UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED as d_,
33004
- IdVerification as da,
33005
- IdDocumentManualUpload as db,
33006
- useId as dc,
33007
- KEYBOARD_KEYS as dd,
33008
- idDocumentUploadFields as de,
33009
- useFormRouterContext as df,
33010
- useCapabilities as dg,
33011
- setShowIndividualMotionCapture as dh,
33012
- shouldShowMotionCapture as di,
33013
- hasMotionCaptureScenario as dj,
33014
- MemoizedProofOfRelationship as dk,
33015
- MemoizedDocumentUpload as dl,
33016
- MemoizedProofOfResidencyUpload as dm,
33017
- refreshSession as dn,
33018
- globalStyles as dp,
33019
- splitTaskIdentifier as dq,
33020
- valuesOf as dr,
33021
- getTranslationKeysByPrefix as ds,
33022
- getCapabilities as dt,
33023
- EntityTypeRadioGroupCard as du,
33024
- List as dv,
33025
- getForms as dw,
33026
- BasicInformation as dx,
33027
- CompanyStructure as dy,
33028
- AdditionalInformation as dz,
32720
+ trustForms as d$,
32721
+ contactDetailFields as d0,
32722
+ DecisionMakerRole as d1,
32723
+ NomineeDecisionMakerRole as d2,
32724
+ ContactDetails as d3,
32725
+ Svg as d4,
32726
+ isEmpty as d5,
32727
+ RadioWithLabel as d6,
32728
+ pick as d7,
32729
+ IdVerification as d8,
32730
+ IdDocumentManualUpload as d9,
32731
+ solePropBusinessDetailsKeyMapping as dA,
32732
+ operationalAddressIsSameIds as dB,
32733
+ COUNTRIES_USING_COMPANY_SEARCH as dC,
32734
+ FIELDS_NEEDED_FOR_COMPANY_SEARCH as dD,
32735
+ solePropBusinessDetailsApiKeyMapping as dE,
32736
+ COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT as dF,
32737
+ companyTypeMetadata as dG,
32738
+ documentFormsIds as dH,
32739
+ defaultFieldMetadata$6 as dI,
32740
+ inferCompanyRegistrationNumberType as dJ,
32741
+ getCompanyRegistrationNumberOptions as dK,
32742
+ defaultFieldConfig$5 as dL,
32743
+ countryToTaxInfoTypeMap as dM,
32744
+ getKeyForField as dN,
32745
+ setIsBankAccountRequestedForOrganization as dO,
32746
+ rules as dP,
32747
+ solePropBusinessDetailsDocumentMapping as dQ,
32748
+ businessDetailsDocumentMapping as dR,
32749
+ ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES as dS,
32750
+ UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL as dT,
32751
+ UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED as dU,
32752
+ UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL as dV,
32753
+ UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED as dW,
32754
+ UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL as dX,
32755
+ trustComponentsKeyMapping as dY,
32756
+ trustApiKeyMapping as dZ,
32757
+ updateTaxInformation as d_,
32758
+ useId as da,
32759
+ KEYBOARD_KEYS as db,
32760
+ idDocumentUploadFields as dc,
32761
+ useFormRouterContext as dd,
32762
+ useCapabilities as de,
32763
+ setShowIndividualMotionCapture as df,
32764
+ shouldShowMotionCapture as dg,
32765
+ hasMotionCaptureScenario as dh,
32766
+ MemoizedProofOfRelationship as di,
32767
+ MemoizedDocumentUpload as dj,
32768
+ MemoizedProofOfResidencyUpload as dk,
32769
+ refreshSession as dl,
32770
+ globalStyles as dm,
32771
+ splitTaskIdentifier as dn,
32772
+ valuesOf as dp,
32773
+ getTranslationKeysByPrefix as dq,
32774
+ getCapabilities as dr,
32775
+ EntityTypeRadioGroupCard as ds,
32776
+ getForms as dt,
32777
+ BasicInformation as du,
32778
+ CompanyStructure as dv,
32779
+ AdditionalInformation as dw,
32780
+ MemoizedConstitutionalDocument as dx,
32781
+ FinancialInformation as dy,
32782
+ StateCodesUS as dz,
33029
32783
  entriesOf as e,
33030
- trustComponentsKeyMapping as e0,
33031
- trustApiKeyMapping as e1,
33032
- trustDocumentMapping as e2,
33033
- trustForms as e3,
33034
- Trust as e4,
33035
- trustConstitutionalDocumentFormId as e5,
33036
- Currencies as e6,
33037
- InputGroup as e7,
33038
- Dropzone as e8,
33039
- useLegalEntities as e9,
33040
- getMutationStatusColor as eA,
33041
- getQueryStatusColor as eB,
33042
- getQueryStatusColorByLabel as eC,
33043
- displayValue as eD,
33044
- For as eE,
33045
- convertRemToPixels as eF,
33046
- untrack as eG,
33047
- $TRACK as eH,
33048
- useTransition as eI,
33049
- spread as eJ,
33050
- mergeProps as eK,
33051
- createRoot as eL,
33052
- serialize as eM,
33053
- Index as eN,
33054
- updateNestedDataByPath as eO,
33055
- addEventListener as eP,
33056
- stringify as eQ,
33057
- Match as eR,
33058
- Switch as eS,
33059
- deleteNestedDataByPath as eT,
33060
- splitProps as eU,
33061
- Dynamic as eV,
33062
- createComputed as eW,
33063
- getPreferredColorScheme as ea,
33064
- createMemo as eb,
33065
- createComponent as ec,
33066
- createContext as ed,
33067
- createSignal as ee,
33068
- onMount as ef,
33069
- createEffect as eg,
33070
- Portal as eh,
33071
- Show as ei,
33072
- template as ej,
33073
- insert as ek,
33074
- createRenderEffect as el,
33075
- className as em,
33076
- clearDelegatedEvents as en,
33077
- delegateEvents as eo,
33078
- useContext as ep,
33079
- onCleanup as eq,
33080
- sortFns as er,
33081
- mutationSortFns as es,
33082
- on as et,
33083
- setAttribute as eu,
33084
- getSidedProp as ev,
33085
- use as ew,
33086
- createUniqueId as ex,
33087
- batch as ey,
33088
- getQueryStatusLabel as ez,
32784
+ Trust as e0,
32785
+ trustDocumentMapping as e1,
32786
+ trustConstitutionalDocumentFormId as e2,
32787
+ Currencies as e3,
32788
+ InputGroup as e4,
32789
+ Dropzone as e5,
32790
+ useLegalEntities as e6,
32791
+ getPreferredColorScheme as e7,
32792
+ createMemo as e8,
32793
+ createComponent as e9,
32794
+ displayValue as eA,
32795
+ For as eB,
32796
+ convertRemToPixels as eC,
32797
+ untrack as eD,
32798
+ $TRACK as eE,
32799
+ useTransition as eF,
32800
+ spread as eG,
32801
+ mergeProps as eH,
32802
+ createRoot as eI,
32803
+ serialize as eJ,
32804
+ Index as eK,
32805
+ updateNestedDataByPath as eL,
32806
+ addEventListener as eM,
32807
+ stringify as eN,
32808
+ Match as eO,
32809
+ Switch as eP,
32810
+ deleteNestedDataByPath as eQ,
32811
+ splitProps as eR,
32812
+ Dynamic as eS,
32813
+ createComputed as eT,
32814
+ createContext as ea,
32815
+ createSignal as eb,
32816
+ onMount as ec,
32817
+ createEffect as ed,
32818
+ Portal as ee,
32819
+ Show as ef,
32820
+ template as eg,
32821
+ insert as eh,
32822
+ createRenderEffect as ei,
32823
+ className as ej,
32824
+ clearDelegatedEvents as ek,
32825
+ delegateEvents as el,
32826
+ useContext as em,
32827
+ onCleanup as en,
32828
+ sortFns as eo,
32829
+ mutationSortFns as ep,
32830
+ on as eq,
32831
+ setAttribute as er,
32832
+ getSidedProp as es,
32833
+ use as et,
32834
+ createUniqueId as eu,
32835
+ batch as ev,
32836
+ getQueryStatusLabel as ew,
32837
+ getMutationStatusColor as ex,
32838
+ getQueryStatusColor as ey,
32839
+ getQueryStatusColorByLabel as ez,
33089
32840
  ModalFooter as f,
33090
32841
  Summary as g,
33091
32842
  drop as h,