@adyen/kyc-components 4.5.0 → 4.6.0-beta.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 (268) hide show
  1. package/README.md +31 -43
  2. package/dist/{AcceptTermsOfServiceComponent-Bo8nB0Eb.js → AcceptTermsOfServiceComponent-DTURkN9O.js} +17 -20
  3. package/dist/{AccountSetupRejected-DQcFbIXL.js → AccountSetupRejected-D7yqqcm_.js} +2 -2
  4. package/dist/{ActionBar-Bj1Km-LP.js → ActionBar-CdFYb-7S.js} +2 -2
  5. package/dist/{Address-C0rbmhQL.js → Address-BkeFTMl-.js} +16 -16
  6. package/dist/{Avatar-Cl1-jo6c.js → Avatar-BpQFX0rJ.js} +2 -2
  7. package/dist/{BusinessFinancingComponent-Bk0PbC9m.js → BusinessFinancingComponent-CshEgNjO.js} +5 -5
  8. package/dist/{BusinessFinancingDropin-BAYyFYt9.js → BusinessFinancingDropin-B2kKDCNB.js} +31 -34
  9. package/dist/{BusinessFinancingPage-Cc--qt48.js → BusinessFinancingPage-96zTF7BJ.js} +4 -4
  10. package/dist/{BusinessTypeSelectionPage-C63ujxOo.js → BusinessTypeSelectionPage-BVucjw8H.js} +9 -14
  11. package/dist/{Checkbox-DnP0i74G.js → Checkbox-Dwf4zXgj.js} +2 -2
  12. package/dist/{Confirm-Bf4Pjkty.js → Confirm-DOjzHnlC.js} +3 -3
  13. package/dist/{ConstitutionalDocument-CddO3OSY.js → ConstitutionalDocument-C4HWFtJ-.js} +336 -92
  14. package/dist/{ContactDetails-BZ7dqNuH.js → ContactDetails-ByrH32Jo.js} +12 -7
  15. package/dist/{ContextGuidance-0XKaQ9Ba.js → ContextGuidance-BUczCMV3.js} +2 -2
  16. package/dist/{CountryField-BTwq-LdM.js → CountryField-C9nbUmpe.js} +3 -3
  17. package/dist/{CreateIndividualComponent-B0RfIm2Q.js → CreateIndividualComponent-AOb8RP8N.js} +6 -6
  18. package/dist/{CreateTransferInstrumentComponent-XiVVyTGX.js → CreateTransferInstrumentComponent-BBytn3E3.js} +5 -5
  19. package/dist/{Currency-COs4cPiC.js → Currency-B1ApVUnP.js} +7 -7
  20. package/dist/{CustomerSupport-WsGepkci.js → CustomerSupport-DDtZA5jI.js} +11 -16
  21. package/dist/{DebugModal-BG-xZugG.js → DebugModal-wXFq4cg1.js} +127 -98
  22. package/dist/DecisionMakerDetails-Up9HU_qy.js +275 -0
  23. package/dist/{DecisionMakerDetailsPage-BNDJ4G9u.js → DecisionMakerDetailsPage-OeI7y1aX.js} +10 -10
  24. package/dist/{DecisionMakers-BkgGDV_d.js → DecisionMakers-5bUJ4S4V.js} +22 -259
  25. package/dist/{Dropzone-1307mgIt.js → Dropzone-Bf8v-4iJ.js} +4 -4
  26. package/dist/{EmbeddedStatus-C9Scvouz.js → EmbeddedStatus-DQmqyOzv.js} +3 -3
  27. package/dist/{EndStateLayout-D8bTvH_H.js → EndStateLayout-DZgYKmw6.js} +2 -2
  28. package/dist/{EntityAssociation-CFtBLGS6.js → EntityAssociation-Dc8O6xJv.js} +5 -5
  29. package/dist/{EntityGuidanceStatus-5wNdPvGh.js → EntityGuidanceStatus-DhCqUWGF.js} +4 -4
  30. package/dist/{ErrorPanel-DNuuMh-W.js → ErrorPanel-4HIDH4sr.js} +11 -12
  31. package/dist/{Field-DhgxtDHi.js → Field-CWq5XOh3.js} +2 -2
  32. package/dist/{FormNavigation-CNUCAuSA.js → FormNavigation-CDlQZRNb.js} +3 -3
  33. package/dist/{Individual.rules-BMayKVCw.js → Individual.rules-BhSXCdTl.js} +12 -12
  34. package/dist/{IndividualDropin-CNYG1UJb.js → IndividualDropin-DS8kUrXB.js} +252 -97
  35. package/dist/{InputDate-UU6golKr.js → InputDate-C2NEOpK4.js} +1 -1
  36. package/dist/{InputText-B_Dy6ooB.js → InputText-20pWI3ja.js} +2 -2
  37. package/dist/{Introduction-Dal7p5Mk.js → Introduction-D6x5z2oe.js} +4 -9
  38. package/dist/InvitedDecisionMakerComponent-Bg-DMehe.js +211 -0
  39. package/dist/{JpAddress-DEzR_98l.js → JpAddress-CX4IfNRB.js} +11 -11
  40. package/dist/{LandingLayout-CHRI270t.js → LandingLayout-y-X0NrR1.js} +2 -2
  41. package/dist/{LegalCompanyNameField-BtcoTH2A.js → LegalCompanyNameField-lEerISaT.js} +16 -16
  42. package/dist/{LegalRepresentativeDetailsPage-DkeUe4ta.js → LegalRepresentativeDetailsPage-C6dOsu1g.js} +5 -5
  43. package/dist/{Link-Bl_GjNYw.js → Link-DeFoaStC.js} +2 -2
  44. package/dist/{ListItem-DvSwwjUU.js → ListItem-BFxtRiVb.js} +3 -3
  45. package/dist/{LoaderWrapper-Coambg3s.js → LoaderWrapper-Bh1b67kY.js} +2 -2
  46. package/dist/{ManageIndividualComponent-Cg7imjd5.js → ManageIndividualComponent-DHYNg_KN.js} +5 -5
  47. package/dist/{ManageTermsOfServiceComponent-DIblbnOJ.js → ManageTermsOfServiceComponent-BNzELB7A.js} +4 -4
  48. package/dist/{ManageTransferInstrumentComponent-COucevgP.js → ManageTransferInstrumentComponent-9r84TFsu.js} +11 -11
  49. package/dist/{MaskedInput-CFPRK30D.js → MaskedInput-DPSvsK95.js} +5 -5
  50. package/dist/{MaybeModal-BBBJD1jn.js → MaybeModal-BbrppFfg.js} +3 -3
  51. package/dist/{Modal-DJLTbW4Y.js → Modal-CAVcW_pH.js} +2 -2
  52. package/dist/{Name-Bu38kdOA.js → Name-eQhc9Vta.js} +4 -4
  53. package/dist/{NewSummary-oIcQyhuq.js → NewSummary-B_xfd8vG.js} +5 -5
  54. package/dist/{OnboardingDropinComponent-DqQmqcO8.js → OnboardingDropinComponent-BRZuLCE8.js} +145 -218
  55. package/dist/{PayoutDetailsDropin-D7AR5BSQ.js → PayoutDetailsDropin-B6ZMIVid.js} +183 -1065
  56. package/dist/{PayoutDetailsPage-BCBGGB28.js → PayoutDetailsPage-BSzf6sev.js} +6 -6
  57. package/dist/{RadioGroup-DCmqcl_S.js → RadioGroup-BZ-EfNXM.js} +2 -2
  58. package/dist/{Review-DQA1vIzH.js → Review-BVeMAC7t.js} +6 -6
  59. package/dist/{RootBusinessDetailsPage--bsR-yKt.js → RootBusinessDetailsPage-OlgTozou.js} +6 -6
  60. package/dist/{RootBusinessLinesPage-DIYKqsLt.js → RootBusinessLinesPage-CUwKkzZU.js} +93 -91
  61. package/dist/{RootIndividualDetailsPage-CXKr1vhL.js → RootIndividualDetailsPage-CqP8gdvk.js} +7 -6
  62. package/dist/{Select-CyK-d8L8.js → Select-DSLn5CCG.js} +4 -4
  63. package/dist/{SignPCIComponent-BvAt735T.js → SignPCIComponent-CT6GL442.js} +12 -19
  64. package/dist/{SingpassSelection-Cidszm4a.js → SingpassSelection-BORgM-de.js} +144 -7
  65. package/dist/{SoleProprietorshipPage-CgAHjrJh.js → SoleProprietorshipPage-BylQa2F1.js} +5 -5
  66. package/dist/{SourceOfFundsPage-Rh40Ip6D.js → SourceOfFundsPage-Br-FaeUd.js} +270 -98
  67. package/dist/{StepProgressIndicator-C38x_hKs.js → StepProgressIndicator-ZZsrHrtb.js} +2 -2
  68. package/dist/{StoreProvider-o79GZkUo.js → StoreProvider-lJLpl6iE.js} +155 -148
  69. package/dist/{Summary-DbPdEnQi.js → Summary-DdFh8LL0.js} +25 -22
  70. package/dist/{TaxInformationField-C6DdzDTL.js → TaxInformationField-5nazrzc4.js} +568 -795
  71. package/dist/{TaxReportingDropin-Dc75TUYl.js → TaxReportingDropin-DAeAPOI5.js} +26 -26
  72. package/dist/{TextArea-XLgx9WmG.js → TextArea-D0eJRv8v.js} +2 -2
  73. package/dist/{TileGroup-DsYUn_bt.js → TileGroup-C8YY0Xwv.js} +3 -3
  74. package/dist/{TrustDetailsPage-B_QUEYM5.js → TrustDetailsPage-BHo4SFbD.js} +64 -65
  75. package/dist/{TrustMemberCompanyPage-aBW14Thb.js → TrustMemberCompanyPage-CZMF952c.js} +7 -7
  76. package/dist/{TrustMemberIndividualPage-DNgZI75l.js → TrustMemberIndividualPage-RSIXbPaf.js} +6 -6
  77. package/dist/{TrustMemberRoleAndTypePage-CbOyf3oB.js → TrustMemberRoleAndTypePage-BehlWyo7.js} +27 -27
  78. package/dist/{TrustMembersOverview-7waB6Dud.js → TrustMembersOverview-KI0J7peC.js} +16 -18
  79. package/dist/{UnincorporatedPartnershipIndividualPage-DFvESJUR.js → UnincorporatedPartnershipIndividualPage-CNf-sPP4.js} +5 -5
  80. package/dist/{UnincorporatedPartnershipMemberCompanyPage-j2xmgM94.js → UnincorporatedPartnershipMemberCompanyPage-OyKeY30-.js} +6 -6
  81. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-BlJsglW1.js → UnincorporatedPartnershipMemberRoleAndTypePage-Bt21JX-F.js} +11 -11
  82. package/dist/{UnincorporatedPartnershipMembersOverview-1-yK01Ox.js → UnincorporatedPartnershipMembersOverview-DdTGn8QH.js} +7 -7
  83. package/dist/{VerificationErrorAlert-BsJqccUV.js → VerificationErrorAlert-ChGZqC_p.js} +3 -3
  84. package/dist/{ViewVerificationStatusComponent-Bx3tJek7.js → ViewVerificationStatusComponent-9RUetbsi.js} +3 -3
  85. package/dist/adyen-business-financing.js +4 -4
  86. package/dist/adyen-individual-configuration.js +4 -4
  87. package/dist/adyen-individual-status.js +4 -4
  88. package/dist/adyen-invited-decision-maker.js +4 -117
  89. package/dist/adyen-kyc-components.js +17 -17
  90. package/dist/adyen-onboarding.js +4 -4
  91. package/dist/adyen-terms-of-service-management.js +4 -4
  92. package/dist/adyen-terms-of-service-status.js +4 -4
  93. package/dist/adyen-transfer-instrument-configuration.js +4 -4
  94. package/dist/adyen-transfer-instrument-management.js +4 -4
  95. package/dist/adyen-verification-status.js +4 -4
  96. package/dist/{bafinUtils-sfpUKqEq.js → bafinUtils-m56sOqio.js} +2 -2
  97. package/dist/{commonValidators-h59h4U6_.js → commonValidators-cEWuPs2I.js} +1 -1
  98. package/dist/{dropinUtils-C78qUFNH.js → dropinUtils-B-qE8vvG.js} +53 -9
  99. package/dist/en-US-CJDkXFZ6.js +13 -0
  100. package/dist/en-US-CTbVLoNF.js +13 -0
  101. package/dist/en-US-CfazE4ht.js +13 -0
  102. package/dist/{en-US-G607HIyo.js → en-US-DPoDE0uz.js} +7 -7
  103. package/dist/en-US-DrUYyPhF.js +13 -0
  104. package/dist/{formUtils-D9HJXrvu.js → formUtils-DjInEErz.js} +3 -3
  105. package/dist/{getName-C1Pp12yX.js → getName-CzAV6RHp.js} +2 -2
  106. package/dist/{getProblemsForEntity-CyQdh7Lw.js → getProblemsForEntity-CVzYoCCC.js} +2 -2
  107. package/dist/getTrustedFields-BeaCYGD7.js +104 -0
  108. package/dist/{isEmpty-Dxhg5YWQ.js → isEmpty-CRqBruDc.js} +1 -1
  109. package/dist/japanSupportUtils-BK4rTASp.js +16 -0
  110. package/dist/{localizeDateString-ltj3KR-p.js → localizeDateString-BSZiJcEb.js} +2 -2
  111. package/dist/{mapExistingFile-J5xtIyOp.js → mapExistingFile-BcvOzQNH.js} +3 -76
  112. package/dist/{mapJpAddressSchemaToAddressLocalizations-BCTFanCP.js → mapJpAddressSchemaToAddressLocalizations-BgHjkrJG.js} +2 -36
  113. package/dist/{mapLegalEntityToIndividualSchema-fUEX0pyE.js → mapLegalEntityToIndividualSchema-_HlywUjg.js} +4 -4
  114. package/dist/{mapTransferInstrumentToPayoutAccount-BxS7kMUd.js → mapTransferInstrumentToPayoutAccount-69DkBhXm.js} +2 -2
  115. package/dist/omitObscuredFieldsIfUnchanged-tsdNkCyN.js +29 -0
  116. package/dist/{patternValidators-DmtoCjEe.js → patternValidators-DuOaKe_S.js} +2 -2
  117. package/dist/{process-field-configurations-Bo_HZH3p.js → process-field-configurations-DcWH0t4d.js} +2 -2
  118. package/dist/{resolveEnvironment-9pYwfLRr.js → resolveEnvironment-Bs-ygpN1.js} +17 -24
  119. package/dist/{roleMetadata-ZbDuZjur.js → roleMetadata-B-2OBUCV.js} +3 -3
  120. package/dist/style.css +230 -275
  121. package/dist/styles-CLV89_hH.js +230 -275
  122. package/dist/types/api/toggles/useToggles.d.ts +2 -1
  123. package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentClassification.d.ts +2 -1
  124. package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +0 -29
  125. package/dist/types/components/BankAccount/forms/BankVerification/BankVerification.d.ts +1 -1
  126. package/dist/types/components/BankAccount/forms/BankVerification/verification/{widget → overlay}/types.d.ts +4 -14
  127. package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +1 -1
  128. package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +4 -5
  129. package/dist/types/components/Business/forms/rules.d.ts +1 -1
  130. package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +2 -2
  131. package/dist/types/components/Business/tasks/BusinessDetailsDropin/BusinessDetailsGettingStarted.d.ts +6 -0
  132. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +2 -2
  133. package/dist/types/components/Business/tasks/BusinessDetailsDropin/validate.d.ts +7 -5
  134. package/dist/types/components/Business/utils/companyUtil.d.ts +2 -2
  135. package/dist/types/components/Business/utils/formatDataForSummary.d.ts +3 -2
  136. package/dist/types/components/Business/utils/submit.d.ts +1 -1
  137. package/dist/types/components/Business/utils/useCompanySearchFeature.d.ts +5 -0
  138. package/dist/types/components/BusinessLines/forms/SalesChannelsForm/types.d.ts +1 -1
  139. package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLinesDropin.d.ts +1 -1
  140. package/dist/types/components/Contract/tasks/PciDropin/PciDropin.d.ts +1 -1
  141. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +9 -9
  142. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +11 -0
  143. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +15 -0
  144. package/dist/types/components/Individual/forms/AdditionalPersonalDetails/validate.d.ts +5 -4
  145. package/dist/types/components/Individual/forms/BasicDetails/validate.d.ts +3 -3
  146. package/dist/types/components/Individual/forms/IdNowVerificationModal/IFrameWidget.d.ts +9 -0
  147. package/dist/types/components/Individual/forms/Individual.rules.d.ts +1 -1
  148. package/dist/types/components/Individual/mapping/mapIndividualSchemaToLegalEntity.d.ts +2 -2
  149. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.types.d.ts +2 -2
  150. package/dist/types/components/Individual/tasks/DecisionMakers/InvitedDecisionMaker/InvitedDecisionMakerSubmitSuccess/InvitedDecisionMakerSubmitSuccess.d.ts +6 -1
  151. package/dist/types/components/Individual/tasks/DecisionMakers/hooks/useTaskStatusWithTimeout.d.ts +15 -0
  152. package/dist/types/components/Individual/tasks/DecisionMakers/utils.d.ts +14 -0
  153. package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
  154. package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +1 -0
  155. package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +2 -1
  156. package/dist/types/components/Shared/devex/DebugListener/DebugTogglesAndSettings.d.ts +8 -0
  157. package/dist/types/components/Shared/devex/DebugListener/debugInfo.d.ts +2 -1
  158. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +12 -0
  159. package/dist/types/components/Shared/fields/{IdFieldTypeSelector → BusinessRegistrationNumberField/RegistrationNumberTypeSelector}/getDefaultRegistrationNumberType.d.ts +4 -4
  160. package/dist/types/components/Shared/fields/{IdFieldTypeSelector → BusinessRegistrationNumberField/RegistrationNumberTypeSelector}/inferCompanyRegistrationNumberType.d.ts +3 -3
  161. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +1 -1
  162. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/registrationNumberTypes.d.ts +92 -0
  163. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +8 -1
  164. package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +0 -483
  165. package/dist/types/components/Shared/fields/LegalCompanyNameField/LegalCompanyNameField.d.ts +1 -1
  166. package/dist/types/components/Shared/fields/LegalCompanyNameField/fieldConfig.d.ts +2 -2
  167. package/dist/types/components/Shared/fields/LegalCompanyNameField/types.d.ts +1 -1
  168. package/dist/types/components/Shared/fields/LocalizedNameFields/validate.d.ts +2 -2
  169. package/dist/types/components/Shared/fields/PhoneField/PhoneField.d.ts +1 -1
  170. package/dist/types/components/Shared/fields/PhoneField/types.d.ts +2 -0
  171. package/dist/types/components/Shared/fields/{IdFieldTypeSelector → TaxInformationField/TaxIdNumberTypeSelector}/TaxIdNumberTypeSelector.d.ts +5 -5
  172. package/dist/types/components/Shared/fields/{IdFieldTypeSelector → TaxInformationField/TaxIdNumberTypeSelector}/getDefaultTaxIdNumberType.d.ts +5 -5
  173. package/dist/types/components/Shared/fields/{IdFieldTypeSelector → TaxInformationField/TaxIdNumberTypeSelector}/inferTaxIdNumberType.d.ts +5 -5
  174. package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +1 -2
  175. package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +232 -0
  176. package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +8 -0
  177. package/dist/types/components/Shared/fields/VatNumberField/VatNumberTypeSelector/VatNumberTypeSelector.d.ts +14 -0
  178. package/dist/types/components/Shared/fields/{IdFieldTypeSelector → VatNumberField/VatNumberTypeSelector}/getDefaultVatNumberType.d.ts +2 -2
  179. package/dist/types/components/Shared/fields/VatNumberField/VatNumberTypeSelector/inferVatNumberType.d.ts +3 -0
  180. package/dist/types/components/Shared/fields/VatNumberField/fieldConfig.d.ts +1 -2
  181. package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +10 -1
  182. package/dist/types/components/Shared/fields/VatNumberField/vatNumberTypes.d.ts +149 -0
  183. package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSummary.d.ts +5 -0
  184. package/dist/types/components/Shared/forms/Address/utils.d.ts +6 -1
  185. package/dist/types/components/Shared/forms/Address/validate.d.ts +3 -3
  186. package/dist/types/components/Trust/mapping/mapLegalEntityToTrust.d.ts +2 -2
  187. package/dist/types/components/Trust/mapping/mapTrustToLegalEntity.d.ts +2 -2
  188. package/dist/types/components/Trust/tasks/TrustDropin/validate.d.ts +2 -2
  189. package/dist/types/components/UnincorporatedPartnership/mapping/mapLegalEntityToUnincorporatedPartnership.d.ts +2 -2
  190. package/dist/types/components/UnincorporatedPartnership/mapping/mapUnincorporatedPartnershipToLegalEntity.d.ts +2 -2
  191. package/dist/types/components/index.d.ts +2 -2
  192. package/dist/types/context/FormRouterContext/FormRouterContext.d.ts +5 -0
  193. package/dist/types/context/FormRouterContext/FormRouterContextProvider.d.ts +1 -1
  194. package/dist/types/context/FormRouterContext/types.d.ts +1 -0
  195. package/dist/types/context/FormRouterContext/useFormRouterContext.d.ts +4 -0
  196. package/dist/types/context/SettingsContext/types.d.ts +2 -0
  197. package/dist/types/context/ToggleContext/ToggleContext.d.ts +2 -0
  198. package/dist/types/context/ToggleContext/ToggleContextProvider.d.ts +9 -0
  199. package/dist/types/context/{ExperimentContext → ToggleContext}/types.d.ts +42 -32
  200. package/dist/types/context/ToggleContext/useToggleContext.d.ts +1 -0
  201. package/dist/types/core/EmbedShell/EmbedShell.d.ts +3 -3
  202. package/dist/types/core/UIElement/UIElement.d.ts +3 -2
  203. package/dist/types/core/models/api/organization.d.ts +1 -1
  204. package/dist/types/embeds/baseEmbedProps.d.ts +3 -3
  205. package/dist/types/hooks/useFormComposer.d.ts +1 -0
  206. package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +1 -1
  207. package/dist/types/hooks/useTaskLandedEvent.d.ts +7 -0
  208. package/dist/types/language/types.d.ts +2 -9
  209. package/dist/types/language/utils.d.ts +2 -2
  210. package/dist/types/router/routeConfig.d.ts +1 -0
  211. package/dist/types/stores/globalStore/taskTypes.d.ts +1 -0
  212. package/dist/types/types/form-rules.d.ts +2 -2
  213. package/dist/types/utils/api/processCapabilitites.d.ts +1 -1
  214. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  215. package/dist/types/utils/japanSupportUtils.d.ts +2 -2
  216. package/dist/{types-Bbb9XYx7.js → types-C4u-zy-W.js} +2 -2
  217. package/dist/{types-_ugkpUNx.js → types-CTwBMnPB.js} +46 -37
  218. package/dist/{types-Dz6L62GR.js → types-Cop44iUw.js} +2 -2
  219. package/dist/{types-CQ2p58-6.js → types-Dv0COrvY.js} +3 -2
  220. package/dist/{types-C4ieOutZ.js → types-QKgg5_IB.js} +2 -2
  221. package/dist/{unincorporated-partnership-BC2PWEgm.js → unincorporated-partnership-DCtqSVs0.js} +2 -2
  222. package/dist/{useAssociatedLegalEntity-BSvkLl8Y.js → useAssociatedLegalEntity-COa3bZhe.js} +2 -2
  223. package/dist/{useBusinessDetailsData-BMzgGX4d.js → useBusinessDetailsData-DslnLoRz.js} +443 -397
  224. package/dist/{useCreateLegalEntity-i6pKh0i4.js → useCreateLegalEntity-CO7qV3Sc.js} +2 -2
  225. package/dist/{useForm-CdWcC_Oh.js → useForm-F0hPmSqd.js} +3 -3
  226. package/dist/{useFormContext-DGfVqoR2.js → useFormContext-EeYo1zte.js} +17 -8
  227. package/dist/{useGlobalData-B6jCg1Ek.js → useGlobalData-DKxTj6bo.js} +24 -15
  228. package/dist/{useMultiForm-Cmp2wrss.js → useMultiForm-CR9pqYjq.js} +4 -4
  229. package/dist/{useOnboardingStatus-Dm_xuWC2.js → useOnboardingStatus-D2I19RDh.js} +2 -2
  230. package/dist/{useScenarios-ho-q4vGs.js → useScenarios-BvV1t76w.js} +2 -2
  231. package/dist/{useTermsOfServiceStatus-Dof1-HII.js → useTermsOfServiceStatus-C0uqYCFG.js} +2 -2
  232. package/dist/{useToastContext-CflZZ_Su.js → useToastContext-Dl59lP3Q.js} +2 -2
  233. package/dist/{useUnincorporatedPartnershipMembers-rfHqZZWF.js → useUnincorporatedPartnershipMembers-BRQxcrvc.js} +5 -5
  234. package/dist/{useUpdateBusinessLines-vNF2Y_nP.js → useUpdateBusinessLines-FG7FE2l9.js} +6 -6
  235. package/dist/{useUpdateLegalEntity-CtdSLVIW.js → useUpdateLegalEntity-Dr3e1mG2.js} +3 -3
  236. package/dist/{utils-CPWcV5kL.js → utils-2-VlpJvY.js} +2 -2
  237. package/dist/{utils-DHB6YxqA.js → utils-Bmx7w6cI.js} +6 -6
  238. package/dist/{utils-CXn7BO_7.js → utils-CCjjhUUz.js} +53 -6
  239. package/dist/{utils-CF18b8u8.js → utils-CWrDCmo5.js} +22 -2
  240. package/dist/{utils-DXCw1aJK.js → utils-DCXRR-sY.js} +1 -1
  241. package/dist/{validate-DPhS2sGf.js → validate-B--uGfCw.js} +1 -1
  242. package/dist/{validate-BH9M6gvx.js → validate-DdW_lr56.js} +3 -3
  243. package/dist/{validationError-BDDYiyYy.js → validationError-DmyvOY60.js} +2 -2
  244. package/package.json +1 -5
  245. package/dist/RadioGroupCard-nQz2Uhca.js +0 -152
  246. package/dist/en-US--1W760fR.js +0 -13
  247. package/dist/en-US-CKLQU2sJ.js +0 -13
  248. package/dist/en-US-CozY33On.js +0 -13
  249. package/dist/en-US-DLY20x1O.js +0 -13
  250. package/dist/iframeWidget-D-vHGFmR.js +0 -234
  251. package/dist/instant-verification-UrnuHTYn.js +0 -40
  252. package/dist/japanSupportUtils-C5HeKRQ7.js +0 -16
  253. package/dist/manual-verification-BO8zgAYT.js +0 -41
  254. package/dist/types/components/BankAccount/forms/BankDocument/BankDocument.d.ts +0 -5
  255. package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirements.d.ts +0 -9
  256. package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirementsModal.d.ts +0 -6
  257. package/dist/types/components/BankAccount/forms/BankVerification/verification/widget/BankVerificationWidget.d.ts +0 -3
  258. package/dist/types/components/BankAccount/forms/BankVerification/verification/widget/iframeWidget.d.ts +0 -32
  259. package/dist/types/components/Business/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +0 -4
  260. package/dist/types/components/Business/utils/useCompanySearchExperiments.d.ts +0 -5
  261. package/dist/types/components/Shared/devex/DebugListener/DebugExperimentsAndSettings.d.ts +0 -7
  262. package/dist/types/components/Shared/fields/IdFieldTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +0 -20
  263. package/dist/types/components/Shared/fields/IdFieldTypeSelector/VatNumberTypeSelector.d.ts +0 -21
  264. package/dist/types/components/Shared/fields/IdFieldTypeSelector/inferVatNumberType.d.ts +0 -3
  265. package/dist/types/context/ExperimentContext/ExperimentsContext.d.ts +0 -2
  266. package/dist/types/context/ExperimentContext/ExperimentsContextProvider.d.ts +0 -8
  267. package/dist/types/context/ExperimentContext/useExperimentsContext.d.ts +0 -1
  268. package/dist/types/utils/bankVerification/dom.d.ts +0 -1
package/README.md CHANGED
@@ -1,59 +1,47 @@
1
- # Adyen KYC Components (Onboarding Components)
1
+ # Quick start
2
2
 
3
- `adyen-kyc-components` provides the required pieces to build an onboarding flow based on a legal entity. To onboard and verify users, you need to create a user interface (UI) to collect user data. To speed up building your integration, Adyen offers onboarding components. You can integrate these components into your UI to let your users enter their data. The component then uses the entered data to create the relevant resource. This means you don't need to implement the API call to create the resource yourself.
3
+ This guide assumes that you have already an account with Adyen. A legalEntity needs to be created, and you need to have a `legalEntityId` to instatiate a Component.
4
4
 
5
- ## Setup
5
+ ## Installing
6
6
 
7
- 1. Install and import the npm package
7
+ Install the library
8
8
 
9
- - Install the node package
9
+ ```sh
10
+ npm install @adyen/kyc-components
11
+ ```
10
12
 
11
- ```
12
- npm install @adyen/kyc-components --save
13
- ```
13
+ ## Available Adyen Components
14
14
 
15
- - Import the package and the style sheet in your application
15
+ - [Transfer Instrument Configuration](https://docs.adyen.com/platforms/onboard-users/components?component=Transfer+Instrument&integration=components&version=4.0.x#transfer-instrument-configuration-component) for adding, editing and linking bank accounts.
16
+ - [Transfer Instrument Management](https://docs.adyen.com/platforms/onboard-users/components?component=Transfer+Instrument&integration=components&version=4.0.x#transfer-instrument-management-component), a UI for the above.
16
17
 
17
- ```
18
- import AdyenKyc from '@adyen/kyc-components';
19
- import '@adyen/kyc-components/styles.css';
20
- ```
18
+ ## Usage
21
19
 
22
- 2. Initializing the sdk
20
+ Import the component you need, and use it as a custom-element.
23
21
 
24
- ```js
25
- const adyenKycHandler = new AdyenKyc({
26
- locale: 'en-US',
27
- country: 'US',
28
- environment: 'https://test.adyen.com',
29
- sdkToken: token,
30
- getSdkToken,
31
- });
32
- ```
22
+ Check [component properties](https://docs.adyen.com/platforms/onboard-users/components?component=Transfer+Instrument&integration=components&version=4.0.x#configure-component-properties) for details on what the properties are.
33
23
 
34
- 3. Including createTransferInstrument component
24
+ ```jsx
25
+ import "@adyen/kyc-components/transfer-instrument-configuration";
35
26
 
36
- ```js
37
- const createTransferInstrumentComponent = adyenKycHandler
38
- .create('createTransferInstrumentComponent', {
39
- legalEntityId,
40
- transferInstrumentId, // Optional
41
- openBankingPartnerConfigId: 'YourBrandOBConfigId',
42
- settings: {
43
- allowIntraRegionCrossBorderPayout: true, // Optional
44
- allowBankAccountFormatSelection: true, // Optional
45
- },
46
- onSubmitSuccess: (submittedData) => {},
47
- })
48
- .mount('#create-transfer-instrument-container'); // Mount to the container you created
49
- ```
27
+ // in your HTML (or JSX, templating, etc.)
50
28
 
51
- See our [Onboarding components documentation](https://docs.adyen.com/platforms/onboard-users/onboarding-components/) for more details.
29
+ <adyen-transfer-instrument-configuration
30
+ locale="en-US"
31
+ environment="test"
32
+ rootlegalentityid="myLegalEntityId"
33
+ transferinstrumentid="testTransferInstrumentId"
34
+ fetchToken="fetchToken"
35
+ ></adyen-transfer-instrument-configuration>
36
+ ```
52
37
 
53
- ## Supported countries/regions
38
+ > [!WARNING]
39
+ > Custom elements need closing tags, which means you need to have the closing `</adyen-transfer-instrument-configuration>`
54
40
 
55
- You can use the Onboarding components to onboard users operating in countries listed [here](https://docs.adyen.com/platforms/onboard-users/onboarding-components/#supported-countries-regions).
41
+ ## FetchToken and Authentication
56
42
 
57
- ## Supported languages
43
+ The [fetchToken](https://docs.adyen.com/platforms/onboard-users/components?component=Transfer+Instrument&integration=components&version=4.0.x#id732020335) function needs to return a token. You will need to have an endpoint set up in your backend that returns `{ token: 'adyenValidToken' }`. An endpoint is needed on your side in order to not expose your Adyen credentials in the frontend, and to be able to get a token with more granular permissions.
58
44
 
59
- You can localize the Onboarding components by setting `locale` parameter to one of the supported languages listed [here](https://docs.adyen.com/platforms/onboard-users/onboarding-components/#supported-languages).
45
+ ## Done
46
+
47
+ This is all you need to get started. After integrating successful with the first Components, integrating others will be much easier, since the instantiation process is the same.
@@ -2,30 +2,30 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "56243d78-d1a7-465d-bb83-edd385503e9f", e._sentryDebugIdIdentifier = "sentry-dbid-56243d78-d1a7-465d-bb83-edd385503e9f");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4a8b2792-d271-4e66-a6a7-e84ee8d0003b", e._sentryDebugIdIdentifier = "sentry-dbid-4a8b2792-d271-4e66-a6a7-e84ee8d0003b");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { b as useApiContext, h as httpPost, j as httpGet, m as createLogger, u as useTranslation, z as useAnalyticsContext, J as useExperimentsContext, aw as getLanguageCode, G as Alert, W as Button, L as LegalEntityTypes, a3 as getOwnSignatories, a1 as doesLegalEntityRequiresLegalRepresentative, a2 as getLegalRepresentative, a as addResourceBundles, R as useLegalEntity, U as ROOT_LE, V as Loader, y as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-o79GZkUo.js";
10
+ import { b as useApiContext, j as httpPost, k as httpGet, ae as createLogger, u as useTranslation, x as useAnalyticsContext, H as useToggleContext, aw as getLanguageCode, C as Alert, V as Button, L as LegalEntityTypes, a2 as getOwnSignatories, a0 as doesLegalEntityRequiresLegalRepresentative, a1 as getLegalRepresentative, a as addResourceBundles, P as useLegalEntity, U as Loader, w as TaskTypes, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-lJLpl6iE.js";
11
11
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
12
12
  import { useState, useEffect, useMemo, useCallback } from "preact/hooks";
13
13
  import { useMutation, useQuery, skipToken } from "@tanstack/preact-query";
14
- import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-CflZZ_Su.js";
15
- import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-Dof1-HII.js";
14
+ import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-Dl59lP3Q.js";
15
+ import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-C0uqYCFG.js";
16
16
  import { C as Card } from "./Card-OQuFzmxm.js";
17
- import { C as Checkbox } from "./Checkbox-DnP0i74G.js";
18
- import { F as Field } from "./Field-DhgxtDHi.js";
19
- import { L as LoaderWrapper } from "./LoaderWrapper-Coambg3s.js";
20
- import { M as MaybeModal } from "./MaybeModal-BBBJD1jn.js";
17
+ import { C as Checkbox } from "./Checkbox-Dwf4zXgj.js";
18
+ import { F as Field } from "./Field-CWq5XOh3.js";
19
+ import { L as LoaderWrapper } from "./LoaderWrapper-Bh1b67kY.js";
20
+ import { M as MaybeModal } from "./MaybeModal-BbrppFfg.js";
21
21
  import { P as ProgressBar } from "./ProgressBar-B7gTQncy.js";
22
- import { S as Select } from "./Select-CyK-d8L8.js";
23
- import { u as useForm } from "./useForm-CdWcC_Oh.js";
24
- import { E as EndStateLayout } from "./EndStateLayout-D8bTvH_H.js";
25
- import { F as FormNavigation } from "./FormNavigation-CNUCAuSA.js";
22
+ import { S as Select } from "./Select-DSLn5CCG.js";
23
+ import { u as useForm } from "./useForm-F0hPmSqd.js";
24
+ import { E as EndStateLayout } from "./EndStateLayout-DZgYKmw6.js";
25
+ import { F as FormNavigation } from "./FormNavigation-CDlQZRNb.js";
26
26
  import { d as downloadFile } from "./file-CiG1D0zy.js";
27
- import { g as getLegalEntityNameBasedOnType } from "./getName-C1Pp12yX.js";
28
- import { l as localizeDateString } from "./localizeDateString-ltj3KR-p.js";
27
+ import { g as getLegalEntityNameBasedOnType } from "./getName-CzAV6RHp.js";
28
+ import { l as localizeDateString } from "./localizeDateString-BSZiJcEb.js";
29
29
  import { C as ContractViewer } from "./ContractViewer-DcQHIGMU.js";
30
30
  const acceptTermsOfService = async (legalEntityId, baseUrl, termsOfServiceDocumentId, data) => {
31
31
  return httpPost(
@@ -204,8 +204,8 @@ function ServiceAgreementDropin({
204
204
  const { t, i18n } = useTranslation(["contract", "common"]);
205
205
  const userEvents = useAnalyticsContext();
206
206
  const { showToast } = useToastContext();
207
- const { isExperimentEnabled } = useExperimentsContext();
208
- const isAgeVerificationEnabled = isExperimentEnabled("EnableAgeVerification");
207
+ const { isFeatureEnabled } = useToggleContext();
208
+ const isAgeVerificationEnabled = isFeatureEnabled("EnableAgeVerification");
209
209
  const { rootLegalEntityId, baseUrl } = useApiContext();
210
210
  const [loadingStatus, setLoadingStatus] = useState();
211
211
  const signedForms = serviceAgreementAcceptanceInfos.map((serviceAgreementAcceptanceInfo) => ({
@@ -318,9 +318,6 @@ function ServiceAgreementDropin({
318
318
  gotoForm(serviceAgreementAcceptanceInfos.length - 1);
319
319
  }, [serviceAgreementAcceptanceInfos]);
320
320
  useEffect(() => {
321
- userEvents.addTaskEvent("Landed on page", {
322
- actionType: "start"
323
- });
324
321
  const initialFormIndex = forms.length === signedForms.length ? 0 : signedForms.length;
325
322
  gotoForm(initialFormIndex);
326
323
  }, []);
@@ -584,7 +581,7 @@ function AcceptTermsOfServiceComponent({
584
581
  }
585
582
  const { i18n } = useTranslation();
586
583
  addResourceBundles(i18n, [
587
- { ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-o79GZkUo.js").then((n) => n.bT), "../../../language/locales/es-ES.json": () => import("./es-ES-DRsix_Xn.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BXiYapXy.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BftTiz0c.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-C6jxjXAI.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-B_TEU3r4.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CX83V9tu.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-CXlaZNIj.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-A6ArIIZ8.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-ww192lYg.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CpHy-ZoF.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwWFlBOs.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-JWsSd7iY.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-CLmmSNgn.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BJOww8U1.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CL9VzmZE.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-Cu1T3z6k.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-CEjJ-qZG.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BfO3xEJx.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CMLKzwtj.js") }), `../../../language/locales/${lang}.json`, 6) },
584
+ { ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-lJLpl6iE.js").then((n) => n.bR), "../../../language/locales/es-ES.json": () => import("./es-ES-DRsix_Xn.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BXiYapXy.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BftTiz0c.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-C6jxjXAI.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-B_TEU3r4.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CX83V9tu.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-CXlaZNIj.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-A6ArIIZ8.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-ww192lYg.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CpHy-ZoF.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwWFlBOs.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-JWsSd7iY.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-CLmmSNgn.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BJOww8U1.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CL9VzmZE.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-Cu1T3z6k.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-CEjJ-qZG.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BfO3xEJx.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CMLKzwtj.js") }), `../../../language/locales/${lang}.json`, 6) },
588
585
  { ns: "contract", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Contract/language/bg-BG.json": () => import("./bg-BG-DbFzLQK7.js"), "../../Contract/language/cs-CZ.json": () => import("./cs-CZ-CBuNZ7UO.js"), "../../Contract/language/da-DK.json": () => import("./da-DK-CLdNh9JT.js"), "../../Contract/language/de-DE.json": () => import("./de-DE-BT5g7ZXC.js"), "../../Contract/language/el-GR.json": () => import("./el-GR-BvRBuezU.js"), "../../Contract/language/en-US.json": () => import("./en-US-CgakND3H.js"), "../../Contract/language/es-ES.json": () => import("./es-ES-4FS7NoE7.js"), "../../Contract/language/et-EE.json": () => import("./et-EE-CksV5_e1.js"), "../../Contract/language/fi-FI.json": () => import("./fi-FI-XpnJRPgt.js"), "../../Contract/language/fr-FR.json": () => import("./fr-FR-TqAhPvzz.js"), "../../Contract/language/hr-HR.json": () => import("./hr-HR-CKZ_yuXC.js"), "../../Contract/language/hu-HU.json": () => import("./hu-HU-BEV8uVRt.js"), "../../Contract/language/it-IT.json": () => import("./it-IT-D-jYXj6V.js"), "../../Contract/language/ja-JP.json": () => import("./ja-JP-8yMqZqF2.js"), "../../Contract/language/lt-LT.json": () => import("./lt-LT-CK0t2AVY.js"), "../../Contract/language/lv-LV.json": () => import("./lv-LV-JvlzK9X-.js"), "../../Contract/language/nl-NL.json": () => import("./nl-NL-Jhr-ICkK.js"), "../../Contract/language/no-NO.json": () => import("./no-NO-BH6DId3q.js"), "../../Contract/language/pl-PL.json": () => import("./pl-PL-B5c0NNHB.js"), "../../Contract/language/pt-BR.json": () => import("./pt-BR-4Iozxvfr.js"), "../../Contract/language/pt-PT.json": () => import("./pt-PT-09L8XznW.js"), "../../Contract/language/ro-RO.json": () => import("./ro-RO-D7-7tmTR.js"), "../../Contract/language/sk-SK.json": () => import("./sk-SK-D3tsz1Pg.js"), "../../Contract/language/sl-SI.json": () => import("./sl-SI-Y9h1ht45.js"), "../../Contract/language/sv-SE.json": () => import("./sv-SE-DFSm22oQ.js") }), `../../Contract/language/${lang}.json`, 5) },
589
586
  { ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-zZhDshGi.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-Ck22NTT9.js"), "../../ui/language/da-DK.json": () => import("./da-DK-DQ4ZYSea.js"), "../../ui/language/de-DE.json": () => import("./de-DE-CkbOZ6S_.js"), "../../ui/language/el-GR.json": () => import("./el-GR-DudORw4U.js"), "../../ui/language/en-US.json": () => import("./en-US-B-qSAb-7.js"), "../../ui/language/es-ES.json": () => import("./es-ES-BAolMrZ0.js"), "../../ui/language/et-EE.json": () => import("./et-EE-BOIrYrz9.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-D8WrLxxq.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-Beljeilc.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-lIHN6Yl2.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-CWdwNCev.js"), "../../ui/language/it-IT.json": () => import("./it-IT-5a7NHVFo.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-DSvZhFNY.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-CgalYpUh.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-aAd9SEqx.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-CmURERx_.js"), "../../ui/language/no-NO.json": () => import("./no-NO-qyqWODMp.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-q9azN24o.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-BxoOF8jB.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-pIChDwiI.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-DRsaNX9j.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-7-enbO1N.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DTvJT7fC.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-N-Hqwcjq.js") }), `../../ui/language/${lang}.json`, 5) }
590
587
  ]);
@@ -2,13 +2,13 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "cd96386f-83a2-4352-b8cd-7dde7911644a", e._sentryDebugIdIdentifier = "sentry-dbid-cd96386f-83a2-4352-b8cd-7dde7911644a");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a47017d2-1778-4c6f-83c1-39936335d062", e._sentryDebugIdIdentifier = "sentry-dbid-a47017d2-1778-4c6f-83c1-39936335d062");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsxs, jsx } from "preact/jsx-runtime";
11
- import { u as useTranslation, bD as AlertIcon, aB as Header, bE as DropinLayout } from "./StoreProvider-o79GZkUo.js";
11
+ import { u as useTranslation, bB as AlertIcon, aB as Header, bC as DropinLayout } from "./StoreProvider-lJLpl6iE.js";
12
12
  function AccountSetupRejected() {
13
13
  const { t } = useTranslation("common");
14
14
  const content = /* @__PURE__ */ jsxs("div", { children: [
@@ -2,13 +2,13 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9bdfb5d4-b83b-4d82-a2a5-62b7462b7e69", e._sentryDebugIdIdentifier = "sentry-dbid-9bdfb5d4-b83b-4d82-a2a5-62b7462b7e69");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "21565df9-8ea4-4f28-a5e7-c2e319109f2e", e._sentryDebugIdIdentifier = "sentry-dbid-21565df9-8ea4-4f28-a5e7-c2e319109f2e");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsxs, jsx } from "preact/jsx-runtime";
11
- import { W as Button } from "./StoreProvider-o79GZkUo.js";
11
+ import { V as Button } from "./StoreProvider-lJLpl6iE.js";
12
12
  const ActionBar = ({
13
13
  onNext,
14
14
  onBack,
@@ -2,7 +2,7 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "203f12b2-c751-4d53-b84c-06ac6ba13bf9", e._sentryDebugIdIdentifier = "sentry-dbid-203f12b2-c751-4d53-b84c-06ac6ba13bf9");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7682a3d0-12c6-46f8-957e-ecd3d264079c", e._sentryDebugIdIdentifier = "sentry-dbid-7682a3d0-12c6-46f8-957e-ecd3d264079c");
6
6
  } catch (e) {
7
7
  }
8
8
  }
@@ -10,16 +10,16 @@
10
10
  import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
11
11
  import { useCallback, useState, useMemo, useEffect } from "preact/hooks";
12
12
  import { useQuery } from "@tanstack/preact-query";
13
- import { b as useApiContext, h as httpPost, j as httpGet, u as useTranslation, B as Icon, z as useAnalyticsContext, ac as translateTranslatable, aa as CountryCodes, ap as useDataset, aq as datasetIdentifier, bd as getFormattingRegEx, be as SPECIAL_CHARS, bf as trimValWithOneSpace, m as createLogger, aK as hasText, aC as matchesRegex, aG as isInvalidName, aF as hasRepeatedCharacters, bg as isValidMinLength, bh as chomeAndBanchiValidator, aD as NO_ALPHABET_REGEX, aE as EMOJI_REGEX, bi as ADDRESS_VALID_CHAR_REGEX, bj as NO_ALPHABET_UNICODE_REGEX, J as useExperimentsContext, ao as entriesOf, bk as getMaxLengthByFieldAndCountry } from "./StoreProvider-o79GZkUo.js";
14
- import { u as useForm } from "./useForm-CdWcC_Oh.js";
15
- import { c as createFormUtils } from "./formUtils-D9HJXrvu.js";
16
- import { F as Field } from "./Field-DhgxtDHi.js";
17
- import { I as InputText } from "./InputText-B_Dy6ooB.js";
18
- import { S as Select } from "./Select-CyK-d8L8.js";
13
+ import { b as useApiContext, j as httpPost, k as httpGet, u as useTranslation, z as Icon, x as useAnalyticsContext, ab as translateTranslatable, a9 as CountryCodes, ap as useDataset, aq as datasetIdentifier, bc as getFormattingRegEx, bd as SPECIAL_CHARS, be as trimValWithOneSpace, ae as createLogger, aK as hasText, aC as matchesRegex, aG as isInvalidName, aF as hasRepeatedCharacters, bf as isValidMinLength, bg as chomeAndBanchiValidator, aD as NO_ALPHABET_REGEX, aE as EMOJI_REGEX, bh as ADDRESS_VALID_CHAR_REGEX, bi as NO_ALPHABET_UNICODE_REGEX, H as useToggleContext, ao as entriesOf, bj as getMaxLengthByFieldAndCountry } from "./StoreProvider-lJLpl6iE.js";
14
+ import { u as useForm } from "./useForm-F0hPmSqd.js";
15
+ import { c as createFormUtils } from "./formUtils-DjInEErz.js";
16
+ import { F as Field } from "./Field-CWq5XOh3.js";
17
+ import { I as InputText } from "./InputText-20pWI3ja.js";
18
+ import { S as Select } from "./Select-DSLn5CCG.js";
19
19
  import { u as useDebouncedCallback } from "./debouncedInputEvent-Cv2S512Y.js";
20
- import { C as CountryField } from "./CountryField-BTwq-LdM.js";
21
- import { C as COUNTRIES_WITH_STATES_DATASET, c as getKeyForField, d as COUNTRIES_WITH_HOUSE_NUMBER_FIRST, g as getAddressSchemaForCountry, e as CONDENSED_ADDRESS_FIELDS } from "./utils-CF18b8u8.js";
22
- import { a as validateNotEmptyOnBlur } from "./patternValidators-DmtoCjEe.js";
20
+ import { C as CountryField } from "./CountryField-C9nbUmpe.js";
21
+ import { C as COUNTRIES_WITH_STATES_DATASET, c as getKeyForField, d as COUNTRIES_WITH_HOUSE_NUMBER_FIRST, g as getAddressSchemaForCountry, e as CONDENSED_ADDRESS_FIELDS } from "./utils-CWrDCmo5.js";
22
+ import { a as validateNotEmptyOnBlur } from "./patternValidators-DuOaKe_S.js";
23
23
  const getNestedTrustedFields = (field, data, trustedFields) => {
24
24
  if (trustedFields && data?.[field] && typeof data[field] === "object") {
25
25
  return trustedFields.reduce(
@@ -343,7 +343,7 @@ const defaultFieldConfig = {
343
343
  validators: validateNotEmptyOnBlur
344
344
  },
345
345
  [CountryCodes.UnitedStates]: ({ isBusiness }) => ({
346
- label: isBusiness ? "stateOrProvince__US__business" : "state",
346
+ label: isBusiness ? "whereIsYourBusinessRegistered" : "state",
347
347
  validators: validateNotEmptyOnBlur
348
348
  })
349
349
  };
@@ -355,7 +355,7 @@ const getStatePlaceholderText = (t, { country }) => {
355
355
  case CountryCodes.Canada:
356
356
  return t(($) => $["selectProvinceOrTerritory"]);
357
357
  case CountryCodes.UnitedStates:
358
- return t(($) => $[`stateOrProvince__placeHolder__US`]);
358
+ return t(($) => $[`selectAState`]);
359
359
  default:
360
360
  return t(($) => $["stateOrProvince__placeHolder"]);
361
361
  }
@@ -911,11 +911,11 @@ const addressValidationRulesV4 = (country, t) => {
911
911
  };
912
912
  };
913
913
  const addressValidators = ({
914
- isExperimentEnabled = () => false,
914
+ isFeatureEnabled = () => false,
915
915
  country,
916
916
  t
917
917
  }) => ({
918
- ...isExperimentEnabled?.("StrictNameAndAddressValidationV4") ? addressValidationRulesV4(country, t) : addressValidationRules(country)
918
+ ...isFeatureEnabled?.("StrictNameAndAddressValidationV4") ? addressValidationRulesV4(country, t) : addressValidationRules(country)
919
919
  });
920
920
  const preventPoBoxValidation = (cleanseAddress2) => ({
921
921
  address: {
@@ -962,8 +962,8 @@ function Address({
962
962
  addressType
963
963
  }) {
964
964
  const { t } = useTranslation("common");
965
- const { isExperimentEnabled } = useExperimentsContext();
966
- const isStrictNameAndAddressValidationEnabled = isExperimentEnabled(
965
+ const { isFeatureEnabled } = useToggleContext();
966
+ const isStrictNameAndAddressValidationEnabled = isFeatureEnabled(
967
967
  "StrictNameAndAddressValidationV4"
968
968
  );
969
969
  const preventPoBoxes = addressType === "operationalAddress";
@@ -2,14 +2,14 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9c960290-f238-4289-858a-425e3ad6a080", e._sentryDebugIdIdentifier = "sentry-dbid-9c960290-f238-4289-858a-425e3ad6a080");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d8adb858-aaa2-4cd1-a231-8d95130dfc3a", e._sentryDebugIdIdentifier = "sentry-dbid-d8adb858-aaa2-4cd1-a231-8d95130dfc3a");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import cx from "classnames";
12
- import { B as Icon } from "./StoreProvider-o79GZkUo.js";
12
+ import { z as Icon } from "./StoreProvider-lJLpl6iE.js";
13
13
  const avatar = "adyen-kyc-avatar";
14
14
  const avatarLabel = "adyen-kyc-avatar-label";
15
15
  const avatarPrimary = "adyen-kyc-avatar-primary";
@@ -2,16 +2,16 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6f6fdb2c-813a-4d9d-8565-d5d346dea7e1", e._sentryDebugIdIdentifier = "sentry-dbid-6f6fdb2c-813a-4d9d-8565-d5d346dea7e1");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a9eedd7d-5b23-42d9-9681-03e2ecaf9c02", e._sentryDebugIdIdentifier = "sentry-dbid-a9eedd7d-5b23-42d9-9681-03e2ecaf9c02");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { u as useTranslation, R as useLegalEntity, a9 as getLegalEntityCountry, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, V as Loader } from "./StoreProvider-o79GZkUo.js";
10
+ import { u as useTranslation, P as useLegalEntity, a8 as getLegalEntityCountry, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, U as Loader } from "./StoreProvider-lJLpl6iE.js";
11
11
  import { jsx } from "preact/jsx-runtime";
12
12
  import { useMemo } from "preact/hooks";
13
- import { M as MaybeModal } from "./MaybeModal-BBBJD1jn.js";
14
- import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-BAYyFYt9.js";
13
+ import { M as MaybeModal } from "./MaybeModal-BbrppFfg.js";
14
+ import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-B2kKDCNB.js";
15
15
  function BusinessFinancingComponent({
16
16
  legalEntityId,
17
17
  onSubmitSuccess,
@@ -25,7 +25,7 @@ function BusinessFinancingComponent({
25
25
  [rootLegalEntity]
26
26
  );
27
27
  addResourceBundles(i18n, [
28
- { ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-o79GZkUo.js").then((n) => n.bT), "../../../language/locales/es-ES.json": () => import("./es-ES-DRsix_Xn.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BXiYapXy.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BftTiz0c.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-C6jxjXAI.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-B_TEU3r4.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CX83V9tu.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-CXlaZNIj.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-A6ArIIZ8.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-ww192lYg.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CpHy-ZoF.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwWFlBOs.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-JWsSd7iY.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-CLmmSNgn.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BJOww8U1.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CL9VzmZE.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-Cu1T3z6k.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-CEjJ-qZG.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BfO3xEJx.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CMLKzwtj.js") }), `../../../language/locales/${lang}.json`, 6) },
28
+ { ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-lJLpl6iE.js").then((n) => n.bR), "../../../language/locales/es-ES.json": () => import("./es-ES-DRsix_Xn.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BXiYapXy.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BftTiz0c.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-C6jxjXAI.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-B_TEU3r4.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CX83V9tu.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-CXlaZNIj.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-A6ArIIZ8.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-ww192lYg.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CpHy-ZoF.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwWFlBOs.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-JWsSd7iY.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-CLmmSNgn.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BJOww8U1.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CL9VzmZE.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-Cu1T3z6k.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-CEjJ-qZG.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BfO3xEJx.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CMLKzwtj.js") }), `../../../language/locales/${lang}.json`, 6) },
29
29
  { ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-zZhDshGi.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-Ck22NTT9.js"), "../../ui/language/da-DK.json": () => import("./da-DK-DQ4ZYSea.js"), "../../ui/language/de-DE.json": () => import("./de-DE-CkbOZ6S_.js"), "../../ui/language/el-GR.json": () => import("./el-GR-DudORw4U.js"), "../../ui/language/en-US.json": () => import("./en-US-B-qSAb-7.js"), "../../ui/language/es-ES.json": () => import("./es-ES-BAolMrZ0.js"), "../../ui/language/et-EE.json": () => import("./et-EE-BOIrYrz9.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-D8WrLxxq.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-Beljeilc.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-lIHN6Yl2.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-CWdwNCev.js"), "../../ui/language/it-IT.json": () => import("./it-IT-5a7NHVFo.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-DSvZhFNY.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-CgalYpUh.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-aAd9SEqx.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-CmURERx_.js"), "../../ui/language/no-NO.json": () => import("./no-NO-qyqWODMp.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-q9azN24o.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-BxoOF8jB.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-pIChDwiI.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-DRsaNX9j.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-7-enbO1N.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DTvJT7fC.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-N-Hqwcjq.js") }), `../../ui/language/${lang}.json`, 5) },
30
30
  {
31
31
  ns: "businessFinancing",
@@ -2,44 +2,44 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8ae11a92-7e78-493e-86a0-9e58b4c3f040", e._sentryDebugIdIdentifier = "sentry-dbid-8ae11a92-7e78-493e-86a0-9e58b4c3f040");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c51fdba3-682c-4ccb-aaa8-145b1e9a536e", e._sentryDebugIdIdentifier = "sentry-dbid-c51fdba3-682c-4ccb-aaa8-145b1e9a536e");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
11
  import { useRef, useEffect, useMemo, useState } from "preact/hooks";
12
- import { u as useCreateLegalEntity } from "./useCreateLegalEntity-i6pKh0i4.js";
13
- import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-CflZZ_Su.js";
14
- import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-CtdSLVIW.js";
15
- import { az as reverseMapping, aA as isEeaCountry, L as LegalEntityTypes, an as cloneObject, b as useApiContext, j as httpGet, u as useTranslation, O as Typography, aB as Header, am as datasetUtilities, ac as translateTranslatable, z as useAnalyticsContext, q as hasSolePropInLegalEntity, k as useSettingsContext, V as Loader, W as Button } from "./StoreProvider-o79GZkUo.js";
16
- import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-DGfVqoR2.js";
17
- import { S as SettingNames } from "./types-CQ2p58-6.js";
18
- import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-BSvkLl8Y.js";
19
- import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-C78qUFNH.js";
20
- import { u as useMultiForm } from "./useMultiForm-Cmp2wrss.js";
21
- import { E as EndStateLayout } from "./EndStateLayout-D8bTvH_H.js";
22
- import { E as ErrorPanel } from "./ErrorPanel-DNuuMh-W.js";
23
- import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-BDDYiyYy.js";
24
- import { c as createFormUtils } from "./formUtils-D9HJXrvu.js";
25
- import { l as localizeDateString } from "./localizeDateString-ltj3KR-p.js";
26
- import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport, L as LegalFormField, I as InputNumber, C as Currency, b as CURRENCY_FIELD, c as InputCurrency } from "./Currency-COs4cPiC.js";
12
+ import { u as useCreateLegalEntity } from "./useCreateLegalEntity-CO7qV3Sc.js";
13
+ import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-Dl59lP3Q.js";
14
+ import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-Dr3e1mG2.js";
15
+ import { az as reverseMapping, aA as isEeaCountry, L as LegalEntityTypes, an as cloneObject, b as useApiContext, k as httpGet, u as useTranslation, N as Typography, aB as Header, am as datasetUtilities, ab as translateTranslatable, x as useAnalyticsContext, p as hasSolePropInLegalEntity, m as useSettingsContext, U as Loader, V as Button } from "./StoreProvider-lJLpl6iE.js";
16
+ import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-EeYo1zte.js";
17
+ import { S as SettingNames } from "./types-Dv0COrvY.js";
18
+ import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-COa3bZhe.js";
19
+ import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-B-qE8vvG.js";
20
+ import { u as useMultiForm } from "./useMultiForm-CR9pqYjq.js";
21
+ import { E as EndStateLayout } from "./EndStateLayout-DZgYKmw6.js";
22
+ import { E as ErrorPanel } from "./ErrorPanel-4HIDH4sr.js";
23
+ import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-DmyvOY60.js";
24
+ import { c as createFormUtils } from "./formUtils-DjInEErz.js";
25
+ import { l as localizeDateString } from "./localizeDateString-BSZiJcEb.js";
26
+ import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport, L as LegalFormField, I as InputNumber, C as Currency, b as CURRENCY_FIELD, c as InputCurrency } from "./Currency-B1ApVUnP.js";
27
27
  import { f as formatObject } from "./utils-DNSfZiio.js";
28
- import { c as currencyByCountry } from "./types-Dz6L62GR.js";
28
+ import { c as currencyByCountry } from "./types-Cop44iUw.js";
29
29
  import { g as getFieldProps } from "./getProps-Cc3J2-z9.js";
30
- import { F as Field } from "./Field-DhgxtDHi.js";
31
- import { L as Link } from "./Link-Bl_GjNYw.js";
32
- import { R as RadioGroup } from "./RadioGroup-DCmqcl_S.js";
33
- import { I as InputText } from "./InputText-B_Dy6ooB.js";
30
+ import { F as Field } from "./Field-CWq5XOh3.js";
31
+ import { L as Link } from "./Link-DeFoaStC.js";
32
+ import { R as RadioGroup } from "./RadioGroup-BZ-EfNXM.js";
33
+ import { I as InputText } from "./InputText-20pWI3ja.js";
34
34
  import { useQuery } from "@tanstack/preact-query";
35
- import { S as Select } from "./Select-CyK-d8L8.js";
36
- import { I as InputDate } from "./InputDate-UU6golKr.js";
37
- import { C as Checkbox } from "./Checkbox-DnP0i74G.js";
38
- import { A as Address } from "./Address-C0rbmhQL.js";
39
- import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry } from "./utils-CF18b8u8.js";
40
- import { C as CountryField } from "./CountryField-BTwq-LdM.js";
41
- import { N as NewSummary } from "./NewSummary-oIcQyhuq.js";
42
- import { b as businessFinancingMultiformRules } from "./validate-DPhS2sGf.js";
35
+ import { S as Select } from "./Select-DSLn5CCG.js";
36
+ import { I as InputDate } from "./InputDate-C2NEOpK4.js";
37
+ import { C as Checkbox } from "./Checkbox-Dwf4zXgj.js";
38
+ import { A as Address } from "./Address-BkeFTMl-.js";
39
+ import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry } from "./utils-CWrDCmo5.js";
40
+ import { C as CountryField } from "./CountryField-C9nbUmpe.js";
41
+ import { N as NewSummary } from "./NewSummary-B_xfd8vG.js";
42
+ import { b as businessFinancingMultiformRules } from "./validate-B--uGfCw.js";
43
43
  const businessFinancingBaseMapping = {
44
44
  legalProceedingsDate: "organization.dateOfInitiationOfLegalProceeding",
45
45
  legalInformationInsolvency: "organization.statusOfLegalProceeding",
@@ -1877,11 +1877,6 @@ function BusinessFinancingDropin(props) {
1877
1877
  ultimateParentCompany,
1878
1878
  soleProprietor
1879
1879
  ]);
1880
- useEffect(() => {
1881
- userEvents.addTaskEvent("Landed on page", {
1882
- actionType: "start"
1883
- });
1884
- }, [userEvents]);
1885
1880
  const datasetUtils = datasetUtilities(i18n.language);
1886
1881
  const [problems, setProblems] = useState();
1887
1882
  const [loadingStatus, setLoadingStatus] = useState("success");
@@ -2144,6 +2139,7 @@ function BusinessFinancingDropin(props) {
2144
2139
  handleBackClick,
2145
2140
  activeForm,
2146
2141
  gotoFormByFormIndex,
2142
+ gotoFormByFormId,
2147
2143
  steps,
2148
2144
  shouldValidate
2149
2145
  } = useFormComposer({
@@ -2258,6 +2254,7 @@ function BusinessFinancingDropin(props) {
2258
2254
  forms,
2259
2255
  activeForm,
2260
2256
  gotoFormByFormIndex,
2257
+ gotoFormByFormId,
2261
2258
  handleBackClick,
2262
2259
  handleCancelClick: handleHomeClick,
2263
2260
  handleNextClick,
@@ -2,14 +2,14 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "369b75fa-bd25-4dad-a931-49d1fb2f45f7", e._sentryDebugIdIdentifier = "sentry-dbid-369b75fa-bd25-4dad-a931-49d1fb2f45f7");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "48e4db3d-cca7-4d2e-a4b7-db1a807117a9", e._sentryDebugIdIdentifier = "sentry-dbid-48e4db3d-cca7-4d2e-a4b7-db1a807117a9");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { u as useTranslation, R as useLegalEntity, U as ROOT_LE, a as addResourceBundles, V as Loader, a9 as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-o79GZkUo.js";
10
+ import { u as useTranslation, P as useLegalEntity, a as addResourceBundles, U as Loader, a8 as getLegalEntityCountry, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-lJLpl6iE.js";
11
11
  import { jsx } from "preact/jsx-runtime";
12
- import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-BAYyFYt9.js";
12
+ import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-B2kKDCNB.js";
13
13
  const BusinessFinancingPage = ({
14
14
  onSubmit,
15
15
  handleHomeClick
@@ -22,7 +22,7 @@ const BusinessFinancingPage = ({
22
22
  ns: "businessFinancing",
23
23
  importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../tasks/BusinessFinancingDropin/language/bg-BG.json": () => import("./bg-BG-Cj3_UGTi.js"), "../tasks/BusinessFinancingDropin/language/cs-CZ.json": () => import("./cs-CZ-DxfB5dcV.js"), "../tasks/BusinessFinancingDropin/language/da-DK.json": () => import("./da-DK-BfsYpvel.js"), "../tasks/BusinessFinancingDropin/language/de-DE.json": () => import("./de-DE-CEsDXBn-.js"), "../tasks/BusinessFinancingDropin/language/el-GR.json": () => import("./el-GR-CM3bIzr7.js"), "../tasks/BusinessFinancingDropin/language/en-US.json": () => import("./en-US-DIlZD5Wh.js"), "../tasks/BusinessFinancingDropin/language/es-ES.json": () => import("./es-ES-BWFP5itn.js"), "../tasks/BusinessFinancingDropin/language/et-EE.json": () => import("./et-EE-CcXrAAc7.js"), "../tasks/BusinessFinancingDropin/language/fi-FI.json": () => import("./fi-FI-DenK0WPz.js"), "../tasks/BusinessFinancingDropin/language/fr-FR.json": () => import("./fr-FR-BmTswZU5.js"), "../tasks/BusinessFinancingDropin/language/hr-HR.json": () => import("./hr-HR-SDrDZRLV.js"), "../tasks/BusinessFinancingDropin/language/hu-HU.json": () => import("./hu-HU-DSVf2zbX.js"), "../tasks/BusinessFinancingDropin/language/it-IT.json": () => import("./it-IT-DJe5OflH.js"), "../tasks/BusinessFinancingDropin/language/ja-JP.json": () => import("./ja-JP-GGV_-V6p.js"), "../tasks/BusinessFinancingDropin/language/lt-LT.json": () => import("./lt-LT-C9nsCODy.js"), "../tasks/BusinessFinancingDropin/language/lv-LV.json": () => import("./lv-LV-Bue450PR.js"), "../tasks/BusinessFinancingDropin/language/nl-NL.json": () => import("./nl-NL-4Mv4rnYy.js"), "../tasks/BusinessFinancingDropin/language/no-NO.json": () => import("./no-NO-ByCZ3mhz.js"), "../tasks/BusinessFinancingDropin/language/pl-PL.json": () => import("./pl-PL-DCi5Lf4k.js"), "../tasks/BusinessFinancingDropin/language/pt-BR.json": () => import("./pt-BR-DRz5cG4o.js"), "../tasks/BusinessFinancingDropin/language/pt-PT.json": () => import("./pt-PT-ChRbnn0k.js"), "../tasks/BusinessFinancingDropin/language/ro-RO.json": () => import("./ro-RO-Dgie5z3m.js"), "../tasks/BusinessFinancingDropin/language/sk-SK.json": () => import("./sk-SK-bMDoNP19.js"), "../tasks/BusinessFinancingDropin/language/sl-SI.json": () => import("./sl-SI-DKSu25rO.js"), "../tasks/BusinessFinancingDropin/language/sv-SE.json": () => import("./sv-SE-Co7Nkd06.js") }), `../tasks/BusinessFinancingDropin/language/${lang}.json`, 5)
24
24
  },
25
- { ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-o79GZkUo.js").then((n) => n.bT), "../../../language/locales/es-ES.json": () => import("./es-ES-DRsix_Xn.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BXiYapXy.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BftTiz0c.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-C6jxjXAI.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-B_TEU3r4.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CX83V9tu.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-CXlaZNIj.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-A6ArIIZ8.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-ww192lYg.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CpHy-ZoF.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwWFlBOs.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-JWsSd7iY.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-CLmmSNgn.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BJOww8U1.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CL9VzmZE.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-Cu1T3z6k.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-CEjJ-qZG.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BfO3xEJx.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CMLKzwtj.js") }), `../../../language/locales/${lang}.json`, 6) }
25
+ { ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-lJLpl6iE.js").then((n) => n.bR), "../../../language/locales/es-ES.json": () => import("./es-ES-DRsix_Xn.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BXiYapXy.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BftTiz0c.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-C6jxjXAI.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-B_TEU3r4.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CX83V9tu.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-CXlaZNIj.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-A6ArIIZ8.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-ww192lYg.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CpHy-ZoF.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwWFlBOs.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-JWsSd7iY.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-CLmmSNgn.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BJOww8U1.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CL9VzmZE.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-Cu1T3z6k.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-CEjJ-qZG.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BfO3xEJx.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CMLKzwtj.js") }), `../../../language/locales/${lang}.json`, 6) }
26
26
  ]);
27
27
  if (!rootLe) {
28
28
  return /* @__PURE__ */ jsx(Loader, {});
@@ -2,22 +2,22 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "da51aa69-bc93-44b7-b4d2-1f529eb85606", e._sentryDebugIdIdentifier = "sentry-dbid-da51aa69-bc93-44b7-b4d2-1f529eb85606");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "dbd44a93-15db-4495-be6b-4e1459edc26b", e._sentryDebugIdIdentifier = "sentry-dbid-dbd44a93-15db-4495-be6b-4e1459edc26b");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
- import { m as createLogger, u as useTranslation, z as useAnalyticsContext, v as useAccountHolder, bC as getCapabilities, a9 as getLegalEntityCountry, L as LegalEntityTypes, O as Typography, W as Button, R as useLegalEntity, U as ROOT_LE, V as Loader } from "./StoreProvider-o79GZkUo.js";
11
+ import { ae as createLogger, u as useTranslation, x as useAnalyticsContext, t as useAccountHolder, bA as getCapabilities, a8 as getLegalEntityCountry, L as LegalEntityTypes, N as Typography, V as Button, P as useLegalEntity, U as Loader, R as ROOT_LE } from "./StoreProvider-lJLpl6iE.js";
12
12
  import { useState, useEffect } from "preact/hooks";
13
- import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-CtdSLVIW.js";
14
- import { F as Field } from "./Field-DhgxtDHi.js";
15
- import { L as LoaderWrapper } from "./LoaderWrapper-Coambg3s.js";
13
+ import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-Dr3e1mG2.js";
14
+ import { F as Field } from "./Field-CWq5XOh3.js";
15
+ import { L as LoaderWrapper } from "./LoaderWrapper-Bh1b67kY.js";
16
16
  import { S as Spacer } from "./Spacer-BK3jDget.js";
17
- import { T as TileGroup } from "./TileGroup-DsYUn_bt.js";
18
- import { u as useToastContext } from "./useToastContext-CflZZ_Su.js";
19
- import { u as useForm } from "./useForm-CdWcC_Oh.js";
20
- import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-DHB6YxqA.js";
17
+ import { T as TileGroup } from "./TileGroup-C8YY0Xwv.js";
18
+ import { u as useToastContext } from "./useToastContext-Dl59lP3Q.js";
19
+ import { u as useForm } from "./useForm-F0hPmSqd.js";
20
+ import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-Bmx7w6cI.js";
21
21
  const businessTypeExamples = /* @__PURE__ */ Object.assign({ "../localized/legalEntityTypeExamples/AT.json": () => import("./AT-EpV7jN58.js"), "../localized/legalEntityTypeExamples/AU.json": () => import("./AU-pBsEvEUy.js"), "../localized/legalEntityTypeExamples/BE.json": () => import("./BE-CU5o9cmc.js"), "../localized/legalEntityTypeExamples/BR.json": () => import("./BR-ORoHRwTk.js"), "../localized/legalEntityTypeExamples/CA.json": () => import("./CA-VXNq-m6m.js"), "../localized/legalEntityTypeExamples/CH.json": () => import("./CH-B_-afpD_.js"), "../localized/legalEntityTypeExamples/CZ.json": () => import("./CZ-CTw_bQIu.js"), "../localized/legalEntityTypeExamples/DE.json": () => import("./DE-D_jIDxOH.js"), "../localized/legalEntityTypeExamples/DK.json": () => import("./DK-dBzrfgpQ.js"), "../localized/legalEntityTypeExamples/ES.json": () => import("./ES-DYbZmFcJ.js"), "../localized/legalEntityTypeExamples/FI.json": () => import("./FI-C9nRvop7.js"), "../localized/legalEntityTypeExamples/FR.json": () => import("./FR-BycGQO4W.js"), "../localized/legalEntityTypeExamples/GB.json": () => import("./GB-DFyzo5sN.js"), "../localized/legalEntityTypeExamples/HK.json": () => import("./HK-WqZ5UBEF.js"), "../localized/legalEntityTypeExamples/HR.json": () => import("./HR-CRa19tH1.js"), "../localized/legalEntityTypeExamples/HU.json": () => import("./HU-D5NCweWf.js"), "../localized/legalEntityTypeExamples/IE.json": () => import("./IE-rhATS57q.js"), "../localized/legalEntityTypeExamples/IT.json": () => import("./IT-wD7dHdYD.js"), "../localized/legalEntityTypeExamples/LT.json": () => import("./LT-0F72uCyI.js"), "../localized/legalEntityTypeExamples/NL.json": () => import("./NL-q2U2l276.js"), "../localized/legalEntityTypeExamples/NO.json": () => import("./NO-CX12Zsf_.js"), "../localized/legalEntityTypeExamples/PL.json": () => import("./PL-CwCXF3Yu.js"), "../localized/legalEntityTypeExamples/PT.json": () => import("./PT-Dei5v1nD.js"), "../localized/legalEntityTypeExamples/RO.json": () => import("./RO-Dxk08mOu.js"), "../localized/legalEntityTypeExamples/SE.json": () => import("./SE-AP3gLiyy.js"), "../localized/legalEntityTypeExamples/SG.json": () => import("./SG-DMcOb17i.js"), "../localized/legalEntityTypeExamples/SI.json": () => import("./SI-BXe-yndm.js"), "../localized/legalEntityTypeExamples/SK.json": () => import("./SK-DwdgoGnD.js"), "../localized/legalEntityTypeExamples/US.json": () => import("./US-DHxLSqeC.js") });
22
22
  const logger$1 = createLogger();
23
23
  const getBusinessTypeExamplesForCountry = async (country) => {
@@ -198,11 +198,6 @@ const BusinessTypeSelection = ({
198
198
  )
199
199
  );
200
200
  }, [data.businessType, data.legalArrangement, currentStep, trustOrUnincorporatedPartnership]);
201
- useEffect(() => {
202
- userEvents.addTaskEvent("Landed on page", {
203
- actionType: "start"
204
- });
205
- }, [userEvents]);
206
201
  const handleNextClick = async () => {
207
202
  if (loadingStatus === "loading") return;
208
203
  triggerValidation();