@adyen/kyc-components 3.79.0-beta.9 → 3.79.1

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 (84) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-BtDbLa_E.js → AcceptTermsOfServiceComponent-BxDnRVet.js} +5 -5
  2. package/dist/{AccountSetupRejected-CcEP6pSK.js → AccountSetupRejected-DOwDgy3N.js} +2 -2
  3. package/dist/{Avatar-CIGV_SS9.js → Avatar-BwPDfhBD.js} +1 -1
  4. package/dist/{BusinessDetailsDropin-DLYZERBF.js → BusinessDetailsDropin-hgENqOlD.js} +24 -12
  5. package/dist/{BusinessFinancingComponent-B0-te_Xu.js → BusinessFinancingComponent-PNvfarNe.js} +2 -2
  6. package/dist/{BusinessFinancingDropin-B4_rfH9-.js → BusinessFinancingDropin-tH5jHs9J.js} +49 -37
  7. package/dist/{BusinessFinancingPage-CrrXzA0g.js → BusinessFinancingPage-B7Jiomfy.js} +2 -2
  8. package/dist/{BusinessTypeSelectionPage-D8xVIVhb.js → BusinessTypeSelectionPage-CVxXCjXD.js} +4 -4
  9. package/dist/{ContractViewer-UYqTJdeu.js → ContractViewer-DuAkySMu.js} +1 -1
  10. package/dist/{CreateIndividualComponent-XvZnVu7B.js → CreateIndividualComponent-rmVkHL-7.js} +2 -2
  11. package/dist/{CreateTransferInstrumentComponent-BgYVNCFm.js → CreateTransferInstrumentComponent-CD-LIXnp.js} +1 -1
  12. package/dist/{CustomerSupport-CYFiNKxp.js → CustomerSupport-B8ELvl25.js} +5 -5
  13. package/dist/{DebugModal-D3MJ4glT.js → DebugModal-Ca0Oy81-.js} +8 -8
  14. package/dist/{DecisionMakerDetailsPage-CbEA4IVc.js → DecisionMakerDetailsPage-DcGTHL6J.js} +2 -2
  15. package/dist/{DecisionMakers-DCU9mFe8.js → DecisionMakers-DFXoQJU4.js} +3 -3
  16. package/dist/{EmbeddedStatus-90fvG4vd.js → EmbeddedStatus-DmXF0Oep.js} +2 -2
  17. package/dist/{FormEndState-n1UQXu_s.js → FormEndState-C93tofeL.js} +2 -2
  18. package/dist/{FormFlow-DJAJpY63.js → FormFlow-Bn1umSAr.js} +2 -2
  19. package/dist/{IndividualOnfidoDropin-UnR6_lSH.js → IndividualOnfidoDropin-DuTlS7Wr.js} +59 -28
  20. package/dist/{Introduction-DF3A8V4n.js → Introduction-vIlQEX1x.js} +2 -2
  21. package/dist/{LandingLayout-DIrahoMq.js → LandingLayout-BeYFdHHw.js} +1 -1
  22. package/dist/{LegalRepresentativeDetailsPage-BVyxsmeu.js → LegalRepresentativeDetailsPage-CuvXgyan.js} +2 -2
  23. package/dist/{ManageIndividualComponent-CgoC5kz6.js → ManageIndividualComponent-BxkuA-kk.js} +3 -3
  24. package/dist/{ManagePCIComponent-sKP7Mgeo.js → ManagePCIComponent-BFUeFCuN.js} +3 -3
  25. package/dist/{ManageTermsOfServiceComponent-Csey0WTR.js → ManageTermsOfServiceComponent-DbxNrKzz.js} +3 -3
  26. package/dist/{ManageTransferInstrumentComponent-Cl1QWiGy.js → ManageTransferInstrumentComponent-26VkcNql.js} +3 -3
  27. package/dist/{OnboardingDropinComponent-CMrZ3LMb.js → OnboardingDropinComponent-DYovO8Vs.js} +32 -32
  28. package/dist/{ProviderButton-C0l7gpNQ.js → ProviderButton-CPjMyCOX.js} +1 -1
  29. package/dist/{Review-CzahUVPw.js → Review-D-bhYhGa.js} +2 -2
  30. package/dist/{RootBusinessDetailsPage-CA5r2xq3.js → RootBusinessDetailsPage-HPj1ZCng.js} +2 -2
  31. package/dist/{RootIndividualDetailsPage-BWTT7m_R.js → RootIndividualDetailsPage-KogIHdtS.js} +2 -2
  32. package/dist/{SignPCIComponent-BQNUvb0U.js → SignPCIComponent-BGeMfiyA.js} +4 -4
  33. package/dist/{SingpassSelection-XgZwkWE1.js → SingpassSelection-DRh751r5.js} +1 -1
  34. package/dist/{SoleProprietorshipPage-By5_23ht.js → SoleProprietorshipPage-CdFcCzoN.js} +2 -2
  35. package/dist/{SourceOfFundsPage-CDGfbVu5.js → SourceOfFundsPage-DEv0ggNb.js} +10 -10
  36. package/dist/{StoreProvider-D6PzfyGo.js → StoreProvider-f3qlr1mg.js} +123 -114
  37. package/dist/{TaskItemStatus-FSfcOG5a.js → TaskItemStatus-BMcIVTOl.js} +2 -2
  38. package/dist/{TaxReportingDropin-B7TEo7Kn.js → TaxReportingDropin-z9ZFJxgt.js} +7 -7
  39. package/dist/{TileGroup-rR4DgKfb.js → TileGroup-BMrIGpw_.js} +2 -2
  40. package/dist/{TrustDetailsPage-DPBPQVSn.js → TrustDetailsPage-CXXvOxfU.js} +5 -5
  41. package/dist/{TrustMemberCompanyPage-B_TShwlL.js → TrustMemberCompanyPage-DMk784j8.js} +3 -3
  42. package/dist/{TrustMemberIndividualPage-BgQBZEcL.js → TrustMemberIndividualPage-BjsEPH8u.js} +2 -2
  43. package/dist/{UnincorporatedPartnershipIndividualPage-DHcH33Db.js → UnincorporatedPartnershipIndividualPage-CUlca7wQ.js} +2 -2
  44. package/dist/{UnincorporatedPartnershipMemberCompanyPage-BTklC9NY.js → UnincorporatedPartnershipMemberCompanyPage-gufkqnFm.js} +2 -2
  45. package/dist/{VerificationErrorAlert-BrW_bMo4.js → VerificationErrorAlert-Dj7PYp5J.js} +1 -1
  46. package/dist/{ViewVerificationStatusComponent-4QUIn73E.js → ViewVerificationStatusComponent-CFZEQGwp.js} +2 -2
  47. package/dist/adyen-business-financing.js +2 -2
  48. package/dist/adyen-individual.js +2 -2
  49. package/dist/adyen-kyc-components.js +14 -14
  50. package/dist/adyen-manage-individual.js +2 -2
  51. package/dist/adyen-manage-pci.js +2 -2
  52. package/dist/adyen-manage-terms-of-service.js +2 -2
  53. package/dist/adyen-manage-transfer-instruments.js +2 -2
  54. package/dist/adyen-onboarding.js +2 -2
  55. package/dist/adyen-sign-pci.js +2 -2
  56. package/dist/adyen-terms-of-service.js +2 -2
  57. package/dist/adyen-transfer-instrument.js +2 -2
  58. package/dist/adyen-verification-status.js +2 -2
  59. package/dist/{css-Di2ysu56.js → css-Df2ZteyY.js} +1 -1
  60. package/dist/{getFieldsWithExistingData-nHjOwfDp.js → getFieldsWithExistingData-R-jUZaFj.js} +2 -2
  61. package/dist/{hasDataChanged-C8mesP2r.js → hasDataChanged-UE94yf7C.js} +1 -1
  62. package/dist/{json-x8T3RzUR.js → json-CD1_BOml.js} +1 -1
  63. package/dist/{localizeDateString-BUxfnxIU.js → localizeDateString-DzDwkeWI.js} +1 -1
  64. package/dist/{mapFinancialReportsToFinancialInformation-CYeTa8E1.js → mapFinancialReportsToFinancialInformation-CpK3Qnnw.js} +2 -2
  65. package/dist/{plaintext-D3Ww_aF9.js → plaintext-OQ4i6UkF.js} +1 -1
  66. package/dist/{resolveEnvironment-sH8SYGuY.js → resolveEnvironment-vMRgFrZj.js} +3 -3
  67. package/dist/{rules-CbVhdTWA.js → rules-BpFt1VqJ.js} +1 -1
  68. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +3 -1
  69. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +1 -1
  70. package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/BasicDetails.types.d.ts +1 -1
  71. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationMethod.types.d.ts +2 -0
  72. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/mapExtractionResultToSchema.d.ts +2 -1
  73. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +2 -2
  74. package/dist/types/components/Individual/helpers/isDecisionMakerTask.d.ts +2 -0
  75. package/dist/{useMultiForm-DEOL8O6Q.js → useMultiForm-gFtaF-qx.js} +2 -2
  76. package/dist/{useOnboardingStatus-BSZeiaAC.js → useOnboardingStatus-Ls_o4K3A.js} +1 -1
  77. package/dist/{useSalesChannelsSettings-CuQ0ULoa.js → useSalesChannelsSettings-CG6RLsJF.js} +1 -1
  78. package/dist/{useTermsOfServiceStatus-B9zuE6yV.js → useTermsOfServiceStatus-CHqrdbCZ.js} +1 -1
  79. package/dist/{useUpdateLegalEntity-Bs2tKEPC.js → useUpdateLegalEntity-DZN9lbmS.js} +1 -1
  80. package/dist/{utils-WopSF2zY.js → utils-D-5m_wos.js} +4 -4
  81. package/dist/{validate-D40HSgPc.js → validate-B8nPSkDS.js} +2 -2
  82. package/dist/{validate-D2R8_9ew.js → validate-BYnNXuv1.js} +2 -2
  83. package/dist/{yaml-BMoCIv2z.js → yaml-CDh4L3qc.js} +1 -1
  84. package/package.json +1 -1
@@ -9,12 +9,12 @@
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
11
  import { useState, useEffect, useCallback } from "preact/hooks";
12
- import { p as useApiContext, bg as useInvalidateRootLegalEntity, bh as useMutation, bj as httpPost, q as useQuery, w as skipToken, r as httpGet, X as createLogger, b as useI18nContext, Z as useTranslation, a0 as useAnalyticsContext, a6 as useToastContext, a7 as useExperimentsContext, bs as getLanguageCode, av as useForm, B as Alert, _ as Button, a3 as LoaderWrapper, aA as Field, bt as Select, bu as Checkbox, aP as ActionBar, bv as MaybeModal, b6 as ModalContent, b8 as ModalFooter, bw as StepProgressIndicator, b9 as Spacer, y as LegalEntityType, ag as getOwnSignatories, x as doesLegalEntityRequiresLegalRepresentative, v as getLegalRepresentative, an as getLegalEntityNameBasedOnType, aN as FormNavigation, a as useLegalEntity, R as ROOT_LE, L as Loader, W as TaskTypes } from "./StoreProvider-D6PzfyGo.js";
13
- import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-B9zuE6yV.js";
14
- import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-UYqTJdeu.js";
15
- import { F as FormEndState } from "./FormEndState-n1UQXu_s.js";
12
+ import { p as useApiContext, bg as useInvalidateRootLegalEntity, bh as useMutation, bj as httpPost, q as useQuery, w as skipToken, r as httpGet, X as createLogger, b as useI18nContext, Z as useTranslation, a0 as useAnalyticsContext, a6 as useToastContext, a7 as useExperimentsContext, bs as getLanguageCode, av as useForm, B as Alert, _ as Button, a3 as LoaderWrapper, aA as Field, bt as Select, bu as Checkbox, aP as ActionBar, bv as MaybeModal, b6 as ModalContent, b8 as ModalFooter, bw as StepProgressIndicator, b9 as Spacer, y as LegalEntityType, ag as getOwnSignatories, x as doesLegalEntityRequiresLegalRepresentative, v as getLegalRepresentative, an as getLegalEntityNameBasedOnType, aN as FormNavigation, a as useLegalEntity, R as ROOT_LE, L as Loader, W as TaskTypes } from "./StoreProvider-f3qlr1mg.js";
13
+ import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-CHqrdbCZ.js";
14
+ import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-DuAkySMu.js";
15
+ import { F as FormEndState } from "./FormEndState-C93tofeL.js";
16
16
  import { d as downloadFile } from "./file-CiG1D0zy.js";
17
- import { l as localizeDateString } from "./localizeDateString-BUxfnxIU.js";
17
+ import { l as localizeDateString } from "./localizeDateString-DzDwkeWI.js";
18
18
  const acceptTermsOfService = async (legalEntityId, baseUrl, termsOfServiceDocumentId, data) => {
19
19
  return httpPost(
20
20
  {
@@ -8,8 +8,8 @@
8
8
  }
9
9
  ;
10
10
  import { jsxs, jsx } from "preact/jsx-runtime";
11
- import { b as useI18nContext, A as AlertIcon, F as FormHeader } from "./StoreProvider-D6PzfyGo.js";
12
- import { D as DropinLayout } from "./OnboardingDropinComponent-CMrZ3LMb.js";
11
+ import { b as useI18nContext, A as AlertIcon, F as FormHeader } from "./StoreProvider-f3qlr1mg.js";
12
+ import { D as DropinLayout } from "./OnboardingDropinComponent-DYovO8Vs.js";
13
13
  function AccountSetupRejected() {
14
14
  const { i18n } = useI18nContext();
15
15
  const content = /* @__PURE__ */ jsxs("div", { children: [
@@ -9,7 +9,7 @@
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import cx from "classnames";
12
- import { a4 as Icon } from "./StoreProvider-D6PzfyGo.js";
12
+ import { a4 as Icon } from "./StoreProvider-f3qlr1mg.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,20 +2,20 @@
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] = "0f50d126-0337-4627-8e93-b7886b14da49", e._sentryDebugIdIdentifier = "sentry-dbid-0f50d126-0337-4627-8e93-b7886b14da49");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "1e1d0540-e7b9-4ff4-a956-5bcfdf941583", e._sentryDebugIdIdentifier = "sentry-dbid-1e1d0540-e7b9-4ff4-a956-5bcfdf941583");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
- import { p as useApiContext, bh as useMutation, bj as httpPost, q as useQuery, dU as KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS, b as useI18nContext, dx as MemoizedDocumentUpload, _ as Button, b4 as Modal, b6 as ModalContent, C as Typography, ap as CountryCodes, O as CompanyTypesValue, dV as useGlobalData, dW as getForms, W as TaskTypes, dX as BasicInformation, dr as getFormProps, dY as CompanyStructure, dZ as AdditionalInformation, d_ as MemoizedConstitutionalDocument, y as LegalEntityType, d$ as FinancialInformation, bz as formatObject, be as entriesOf, cf as getDocument, cg as mapExistingFile, ch as getPageName, bn as businessDetailsComponentsKeyMapping, e0 as solePropBusinessDetailsKeyMapping, b0 as objectsDeepEqual, e1 as operationalAddressIsSameIds, e2 as COUNTRIES_USING_COMPANY_SEARCH, e3 as FIELDS_NEEDED_FOR_COMPANY_SEARCH, dg as keysOf, i as isUndefinedOrNull, dL as isDateOlderThanAYear, aK as summaryItem, e4 as solePropBusinessDetailsApiKeyMapping, e5 as businessDetailsApiKeyMapping, dh as isEmpty, e6 as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, ck as createDocumentRequest, b2 as datasetUtilities, cF as mapAddressLabels, e7 as companyTypeMetadata, e8 as getProp, aq as isEmpty$1, X as createLogger, cE as filterOutUnwantedAssociationsIfRootLE, bT as isValidationError, bU as processValidationErrors, bV as isMaintenanceModeError, e9 as documentFormsIds, as as resolveFieldMetadata, ea as registrationNumberDefaultFieldMetadata, eb as inferCompanyRegistrationNumberType, ec as getCompanyRegistrationNumberOptions, ed as registrationNumberDefaultFieldConfig, ca as taxInformationDefaultFieldMetadata, ee as countryToTaxInfoTypeMap, cb as taxInformationDefaultFieldConfig, ef as getKeyForField, cn as drop, al as getOwnEntityAssociations, cO as doArraysMatch, cK as getFileExtention, P as useAccountHolder, a6 as useToastContext, a0 as useAnalyticsContext, a7 as useExperimentsContext, J as useSettingsContext, eg as verifiedBusiness, bp as useQueryClient, eh as useStateContext, K as SettingNames, ei as setIsBankAccountRequestedForOrganization, bO as getAssociatedLeAnalyticsPayload, b3 as getCapabilityProblems, co as documentApiUtils, cC as composePerScenarioFormConfigurations, cw as useScenarioConfiguration, ej as rules, cx as getPropsFromConfigurations, ek as useCompanySelection, el as useVerifyTin, bP as getRequiredForms, bQ as addValidityToForms, bR as useFormComposer, em as setVerifiedBusiness, en as FormWrapper, ba as Confirm, eo as solePropBusinessDetailsDocumentMapping, ep as businessDetailsDocumentMapping } from "./StoreProvider-D6PzfyGo.js";
11
+ import { p as useApiContext, bh as useMutation, bj as httpPost, q as useQuery, dV as KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS, b as useI18nContext, dy as MemoizedDocumentUpload, _ as Button, b4 as Modal, b6 as ModalContent, C as Typography, ap as CountryCodes, O as CompanyTypesValue, dW as useGlobalData, dX as getForms, W as TaskTypes, dY as BasicInformation, ds as getFormProps, dZ as CompanyStructure, d_ as AdditionalInformation, d$ as MemoizedConstitutionalDocument, y as LegalEntityType, e0 as FinancialInformation, bz as formatObject, be as entriesOf, cf as getDocument, cg as mapExistingFile, ch as getPageName, bn as businessDetailsComponentsKeyMapping, e1 as solePropBusinessDetailsKeyMapping, b0 as objectsDeepEqual, e2 as operationalAddressIsSameIds, e3 as COUNTRIES_USING_COMPANY_SEARCH, e4 as FIELDS_NEEDED_FOR_COMPANY_SEARCH, dh as keysOf, i as isUndefinedOrNull, dM as isDateOlderThanAYear, aK as summaryItem, e5 as solePropBusinessDetailsApiKeyMapping, e6 as businessDetailsApiKeyMapping, di as isEmpty, e7 as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, ck as createDocumentRequest, b2 as datasetUtilities, cF as mapAddressLabels, e8 as companyTypeMetadata, e9 as getProp, aq as isEmpty$1, X as createLogger, cE as filterOutUnwantedAssociationsIfRootLE, bT as isValidationError, bU as processValidationErrors, bV as isMaintenanceModeError, ea as documentFormsIds, as as resolveFieldMetadata, eb as registrationNumberDefaultFieldMetadata, ec as inferCompanyRegistrationNumberType, ed as getCompanyRegistrationNumberOptions, ee as registrationNumberDefaultFieldConfig, ca as taxInformationDefaultFieldMetadata, ef as countryToTaxInfoTypeMap, cb as taxInformationDefaultFieldConfig, eg as getKeyForField, cn as drop, al as getOwnEntityAssociations, cO as doArraysMatch, cK as getFileExtention, P as useAccountHolder, a6 as useToastContext, a0 as useAnalyticsContext, a7 as useExperimentsContext, J as useSettingsContext, eh as verifiedBusiness, bp as useQueryClient, ei as useStateContext, K as SettingNames, ej as setIsBankAccountRequestedForOrganization, bO as getAssociatedLeAnalyticsPayload, b3 as getCapabilityProblems, co as documentApiUtils, cC as composePerScenarioFormConfigurations, cw as useScenarioConfiguration, ek as rules, cx as getPropsFromConfigurations, el as useCompanySelection, em as useVerifyTin, bP as getRequiredForms, bQ as addValidityToForms, bR as useFormComposer, en as setVerifiedBusiness, eo as FormWrapper, ba as Confirm, ep as solePropBusinessDetailsDocumentMapping, eq as businessDetailsDocumentMapping } from "./StoreProvider-f3qlr1mg.js";
12
12
  import { useState, useEffect, useRef, useCallback, useMemo } from "preact/hooks";
13
- import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-Bs2tKEPC.js";
14
- import { h as hasDataChanged } from "./hasDataChanged-C8mesP2r.js";
15
- import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-WopSF2zY.js";
16
- import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-nHjOwfDp.js";
13
+ import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-DZN9lbmS.js";
14
+ import { h as hasDataChanged } from "./hasDataChanged-UE94yf7C.js";
15
+ import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-D-5m_wos.js";
16
+ import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-R-jUZaFj.js";
17
17
  import cx from "classnames";
18
- import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-CYeTa8E1.js";
18
+ import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-CpK3Qnnw.js";
19
19
  import { f as formatCurrency } from "./formatCurrency-CMOSdJMB.js";
20
20
  const clearCompanyData = async (legalEntityId, baseUrl) => {
21
21
  return httpPost({
@@ -1411,7 +1411,7 @@ async function submit({
1411
1411
  }) {
1412
1412
  const logger = createLogger();
1413
1413
  setLoadingStatus("loading");
1414
- const trackingPayload = {
1414
+ let trackingPayload = {
1415
1415
  ...additionalTrackingParams,
1416
1416
  actionType: "submit",
1417
1417
  companyStructure: data.companyStructure?.entityType ?? null,
@@ -1529,10 +1529,22 @@ async function submit({
1529
1529
  onExternalSubmit?.(data);
1530
1530
  } catch (err) {
1531
1531
  if (isValidationError(err)) {
1532
- setProblems({
1533
- ...problems,
1534
- validationErrors: processValidationErrors(err, TaskTypes.BUSINESS_DETAILS)
1535
- });
1532
+ const getErrors = processValidationErrors(err, TaskTypes.BUSINESS_DETAILS);
1533
+ if (getErrors && !Object.keys(getErrors).length) {
1534
+ showToast({ label: i18n.get("failedToUpdateDetails"), variant: "error" });
1535
+ const unmappedErrorNames = err.invalidFields?.map((field) => field.name).filter(Boolean) ?? [];
1536
+ if (unmappedErrorNames.length) {
1537
+ trackingPayload = {
1538
+ ...trackingPayload,
1539
+ additionalData: { unmappedErrorNames }
1540
+ };
1541
+ }
1542
+ } else {
1543
+ setProblems({
1544
+ ...problems,
1545
+ validationErrors: getErrors
1546
+ });
1547
+ }
1536
1548
  }
1537
1549
  if (isMaintenanceModeError(err)) {
1538
1550
  showToast({
@@ -9,8 +9,8 @@
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import { useMemo } from "preact/hooks";
12
- import { a as useLegalEntity, g as getLegalEntityCountry, L as Loader } from "./StoreProvider-D6PzfyGo.js";
13
- import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-B4_rfH9-.js";
12
+ import { a as useLegalEntity, g as getLegalEntityCountry, L as Loader } from "./StoreProvider-f3qlr1mg.js";
13
+ import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-tH5jHs9J.js";
14
14
  function BusinessFinancingComponent({
15
15
  legalEntityId,
16
16
  onSubmitSuccess
@@ -2,21 +2,21 @@
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] = "31bf54f1-ffbc-4b89-b4a6-73180ad34ff6", e._sentryDebugIdIdentifier = "sentry-dbid-31bf54f1-ffbc-4b89-b4a6-73180ad34ff6");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "86fcbf97-bc73-4e8a-ad96-76be5f3ca3b9", e._sentryDebugIdIdentifier = "sentry-dbid-86fcbf97-bc73-4e8a-ad96-76be5f3ca3b9");
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, useCallback } from "preact/hooks";
12
- import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-Bs2tKEPC.js";
13
- import { by as reverseMapping, bz as formatObject, bA as isEeaCountry, y as LegalEntityType, bc as cloneObject, p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, aA as Field, bt as Select, C as Typography, bB as LegalFormField, az as createFormUtils, aX as RadioGroup, bC as Link, bD as InputText, bd as currencyByCountry, bE as InputNumber, bF as Currency, bG as CURRENCY_FIELD, bH as InputCurrency, bI as InputDate, bJ as useFormContext, aw as getFieldProps, ay as ErrorPanel, b2 as datasetUtilities, bK as getAddressSchemaForCountry, bL as COUNTRIES_WITH_STATES_DATASET, bu as Checkbox, bM as Address, bN as getAddressSchemaLabelsByCountry, a0 as useAnalyticsContext, bg as useInvalidateRootLegalEntity, ao as useAssociatedLegalEntity, a6 as useToastContext, J as useSettingsContext, K as SettingNames, bO as getAssociatedLeAnalyticsPayload, bP as getRequiredForms, bQ as addValidityToForms, bR as useFormComposer, bS as trackNavigation, L as Loader, a4 as Icon, _ as Button, bT as isValidationError, bU as processValidationErrors, bV as isMaintenanceModeError } from "./StoreProvider-D6PzfyGo.js";
14
- import { F as FormContextProvider, a as FormFlow } from "./FormFlow-DJAJpY63.js";
15
- import { u as useMultiForm } from "./useMultiForm-DEOL8O6Q.js";
16
- import { F as FormEndState } from "./FormEndState-n1UQXu_s.js";
17
- import { l as localizeDateString } from "./localizeDateString-BUxfnxIU.js";
18
- import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-CYeTa8E1.js";
19
- import { b as businessFinancingMultiformRules } from "./validate-D40HSgPc.js";
12
+ import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-DZN9lbmS.js";
13
+ import { by as reverseMapping, bz as formatObject, bA as isEeaCountry, y as LegalEntityType, bc as cloneObject, p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, aA as Field, bt as Select, C as Typography, bB as LegalFormField, az as createFormUtils, aX as RadioGroup, bC as Link, bD as InputText, bd as currencyByCountry, bE as InputNumber, bF as Currency, bG as CURRENCY_FIELD, bH as InputCurrency, bI as InputDate, bJ as useFormContext, aw as getFieldProps, ay as ErrorPanel, b2 as datasetUtilities, bK as getAddressSchemaForCountry, bL as COUNTRIES_WITH_STATES_DATASET, bu as Checkbox, bM as Address, bN as getAddressSchemaLabelsByCountry, a0 as useAnalyticsContext, bg as useInvalidateRootLegalEntity, ao as useAssociatedLegalEntity, a6 as useToastContext, J as useSettingsContext, K as SettingNames, bO as getAssociatedLeAnalyticsPayload, bP as getRequiredForms, bQ as addValidityToForms, bR as useFormComposer, bS as trackNavigation, L as Loader, a4 as Icon, _ as Button, bT as isValidationError, bU as processValidationErrors, bV as isMaintenanceModeError } from "./StoreProvider-f3qlr1mg.js";
14
+ import { F as FormContextProvider, a as FormFlow } from "./FormFlow-Bn1umSAr.js";
15
+ import { u as useMultiForm } from "./useMultiForm-gFtaF-qx.js";
16
+ import { F as FormEndState } from "./FormEndState-C93tofeL.js";
17
+ import { l as localizeDateString } from "./localizeDateString-DzDwkeWI.js";
18
+ import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-CpK3Qnnw.js";
19
+ import { b as businessFinancingMultiformRules } from "./validate-B8nPSkDS.js";
20
20
  const businessFinancingBaseMapping = {
21
21
  legalProceedingsDate: "organization.dateOfInitiationOfLegalProceeding",
22
22
  legalInformationInsolvency: "organization.statusOfLegalProceeding",
@@ -316,6 +316,9 @@ const getBusinessFinancingRequiredFields = (country, data) => {
316
316
  }
317
317
  return requiredFields;
318
318
  };
319
+ const getAddressCountryForParentCompany = (parentCompany, leAddress) => {
320
+ return parentCompany?.sameAddressAsRootEntity && leAddress ? leAddress?.country : parentCompany?.registrationAddress?.country;
321
+ };
319
322
  const customLabels = {
320
323
  company: {
321
324
  legalForm: "businessStructure",
@@ -1129,6 +1132,7 @@ function BusinessFinancingRegisteredAddress(props) {
1129
1132
  " ",
1130
1133
  legalEntity.organization.registeredAddress.postalCode ? `, ${legalEntity.organization.registeredAddress.postalCode}` : ""
1131
1134
  ] }),
1135
+ /* @__PURE__ */ jsx("div", { children: legalEntity.organization.registeredAddress.stateOrProvince }),
1132
1136
  /* @__PURE__ */ jsx("div", { children: legalEntity.organization.registeredAddress.country ? datasetUtils.getCountryName(legalEntity.organization.registeredAddress.country) : "" })
1133
1137
  ] }) : /* @__PURE__ */ jsx(
1134
1138
  Address,
@@ -1189,6 +1193,10 @@ function AdditionalFieldsForBusinessFinancingParentCompany(props) {
1189
1193
  const businessInformationProps = getFieldProps(props, businessInformationFields);
1190
1194
  const financialInformationProps = getFieldProps(props, financialInformationFields);
1191
1195
  const legalInformationProps = getFieldProps(props, legalInformationFields);
1196
+ const addressCountry = getAddressCountryForParentCompany(
1197
+ data?.parentCompany,
1198
+ legalEntity?.organization?.registeredAddress
1199
+ );
1192
1200
  return /* @__PURE__ */ jsxs("form", { className: "adyen-kyc__high-exposure-parent-company", children: [
1193
1201
  /* @__PURE__ */ jsx(Typography, { el: "h1", variant: "title-l", children: i18n.get("parentCompanyInformation") }),
1194
1202
  /* @__PURE__ */ jsx(Typography, { el: "p", variant: "body", children: i18n.get("inThePreviousStepOwnedByAParentCompany") }),
@@ -1210,17 +1218,6 @@ function AdditionalFieldsForBusinessFinancingParentCompany(props) {
1210
1218
  data: formUtils.getFieldData(data?.parentCompany ?? {}, basicInformationFields)
1211
1219
  }
1212
1220
  ),
1213
- /* @__PURE__ */ jsx(
1214
- BusinessFinancingBusinessInformation,
1215
- {
1216
- ...businessInformationProps,
1217
- hideSectionHeading: true,
1218
- country: data?.parentCompany?.registrationAddress?.country ?? country,
1219
- targetPage: BusinessFinancingPagesEnums.PARENT_COMPANY_PAGE,
1220
- handleFieldChange: handleChange,
1221
- data: formUtils.getFieldData(data?.parentCompany ?? {}, businessInformationFields)
1222
- }
1223
- ),
1224
1221
  /* @__PURE__ */ jsx(
1225
1222
  BusinessFinancingRegisteredAddress,
1226
1223
  {
@@ -1233,11 +1230,22 @@ function AdditionalFieldsForBusinessFinancingParentCompany(props) {
1233
1230
  data: formUtils.getFieldData(data?.parentCompany ?? {}, registeredAddressFields)
1234
1231
  }
1235
1232
  ),
1236
- isEeaCountry(data?.parentCompany?.registrationAddress?.country) && /* @__PURE__ */ jsx(
1233
+ /* @__PURE__ */ jsx(
1234
+ BusinessFinancingBusinessInformation,
1235
+ {
1236
+ ...businessInformationProps,
1237
+ hideSectionHeading: true,
1238
+ country: addressCountry ?? country,
1239
+ targetPage: BusinessFinancingPagesEnums.PARENT_COMPANY_PAGE,
1240
+ handleFieldChange: handleChange,
1241
+ data: formUtils.getFieldData(data?.parentCompany ?? {}, businessInformationFields)
1242
+ }
1243
+ ),
1244
+ isEeaCountry(addressCountry) && /* @__PURE__ */ jsx(
1237
1245
  BusinessFinancingFinancialInformation,
1238
1246
  {
1239
1247
  ...financialInformationProps,
1240
- country: data?.parentCompany?.registrationAddress?.country ?? country,
1248
+ country: addressCountry ?? country,
1241
1249
  targetPage: BusinessFinancingPagesEnums.PARENT_COMPANY_PAGE,
1242
1250
  handleFieldChange: handleChange,
1243
1251
  data: formUtils.getFieldData(data?.parentCompany ?? {}, financialInformationFields)
@@ -1247,7 +1255,7 @@ function AdditionalFieldsForBusinessFinancingParentCompany(props) {
1247
1255
  BusinessFinancingLegalInformation,
1248
1256
  {
1249
1257
  ...legalInformationProps,
1250
- country: data?.parentCompany?.registrationAddress?.country ?? country,
1258
+ country: addressCountry ?? country,
1251
1259
  targetPage: BusinessFinancingPagesEnums.PARENT_COMPANY_PAGE,
1252
1260
  sectionHeading: "legalInformation",
1253
1261
  handleFieldChange: handleChange,
@@ -1271,6 +1279,10 @@ function AdditionalFieldsForBusinessFinancingUltimateParentCompany(props) {
1271
1279
  const businessInformationProps = getFieldProps(props, businessInformationFields);
1272
1280
  const financialInformationProps = getFieldProps(props, financialInformationFields);
1273
1281
  const legalInformationProps = getFieldProps(props, legalInformationFields);
1282
+ const addressCountry = getAddressCountryForParentCompany(
1283
+ data?.ultimateParentCompany,
1284
+ legalEntity?.organization?.registeredAddress
1285
+ );
1274
1286
  return /* @__PURE__ */ jsxs("form", { className: "adyen-kyc__high-exposure-ultimate-parent-company", children: [
1275
1287
  /* @__PURE__ */ jsx(Typography, { el: "h1", variant: "title-l", children: i18n.get("ultimateParentCompanyInformation") }),
1276
1288
  /* @__PURE__ */ jsx(Typography, { el: "p", variant: "body", children: i18n.get("inThePreviousStepOwnedByAnUltimateParentCompany") }),
@@ -1292,17 +1304,6 @@ function AdditionalFieldsForBusinessFinancingUltimateParentCompany(props) {
1292
1304
  data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, basicInformationFields)
1293
1305
  }
1294
1306
  ),
1295
- /* @__PURE__ */ jsx(
1296
- BusinessFinancingBusinessInformation,
1297
- {
1298
- ...businessInformationProps,
1299
- hideSectionHeading: true,
1300
- country: data?.ultimateParentCompany?.registrationAddress?.country ?? country,
1301
- targetPage: BusinessFinancingPagesEnums.ULTIMATE_PARENT_COMPANY_PAGE,
1302
- handleFieldChange: handleChange,
1303
- data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, businessInformationFields)
1304
- }
1305
- ),
1306
1307
  /* @__PURE__ */ jsx(
1307
1308
  BusinessFinancingRegisteredAddress,
1308
1309
  {
@@ -1315,11 +1316,22 @@ function AdditionalFieldsForBusinessFinancingUltimateParentCompany(props) {
1315
1316
  legalEntity
1316
1317
  }
1317
1318
  ),
1318
- isEeaCountry(data?.ultimateParentCompany?.registrationAddress?.country) && /* @__PURE__ */ jsx(
1319
+ /* @__PURE__ */ jsx(
1320
+ BusinessFinancingBusinessInformation,
1321
+ {
1322
+ ...businessInformationProps,
1323
+ hideSectionHeading: true,
1324
+ country: addressCountry ?? country,
1325
+ targetPage: BusinessFinancingPagesEnums.ULTIMATE_PARENT_COMPANY_PAGE,
1326
+ handleFieldChange: handleChange,
1327
+ data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, businessInformationFields)
1328
+ }
1329
+ ),
1330
+ isEeaCountry(addressCountry) && /* @__PURE__ */ jsx(
1319
1331
  BusinessFinancingFinancialInformation,
1320
1332
  {
1321
1333
  ...financialInformationProps,
1322
- country: data?.ultimateParentCompany?.registrationAddress?.country ?? country,
1334
+ country: addressCountry ?? country,
1323
1335
  targetPage: BusinessFinancingPagesEnums.ULTIMATE_PARENT_COMPANY_PAGE,
1324
1336
  handleFieldChange: handleChange,
1325
1337
  data: formUtils.getFieldData(
@@ -1332,7 +1344,7 @@ function AdditionalFieldsForBusinessFinancingUltimateParentCompany(props) {
1332
1344
  BusinessFinancingLegalInformation,
1333
1345
  {
1334
1346
  ...legalInformationProps,
1335
- country: data?.ultimateParentCompany?.registrationAddress?.country ?? country,
1347
+ country: addressCountry ?? country,
1336
1348
  sectionHeading: "legalInformation",
1337
1349
  targetPage: BusinessFinancingPagesEnums.ULTIMATE_PARENT_COMPANY_PAGE,
1338
1350
  handleFieldChange: handleChange,
@@ -8,8 +8,8 @@
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
- import { b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, g as getLegalEntityCountry } from "./StoreProvider-D6PzfyGo.js";
12
- import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-B4_rfH9-.js";
11
+ import { b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, g as getLegalEntityCountry } from "./StoreProvider-f3qlr1mg.js";
12
+ import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-tH5jHs9J.js";
13
13
  const BusinessFinancingPage = ({
14
14
  onSubmit,
15
15
  handleHomeClick
@@ -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] = "410ee03d-245e-439b-9163-a844e61fb875", e._sentryDebugIdIdentifier = "sentry-dbid-410ee03d-245e-439b-9163-a844e61fb875");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3ed7ad39-dd6a-4ce3-9c2a-b8c52fafb4b7", e._sentryDebugIdIdentifier = "sentry-dbid-3ed7ad39-dd6a-4ce3-9c2a-b8c52fafb4b7");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
- import { X as createLogger, b as useI18nContext, a0 as useAnalyticsContext, a6 as useToastContext, a7 as useExperimentsContext, P as useAccountHolder, dR as getCapabilities, g as getLegalEntityCountry, y as LegalEntityType, av as useForm, a3 as LoaderWrapper, C as Typography, aA as Field, dS as EntityTypeRadioGroupCard, aD as RadioGroupCard, _ as Button, b9 as Spacer, a4 as Icon, a as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-D6PzfyGo.js";
11
+ import { X as createLogger, b as useI18nContext, a0 as useAnalyticsContext, a6 as useToastContext, a7 as useExperimentsContext, P as useAccountHolder, dS as getCapabilities, g as getLegalEntityCountry, y as LegalEntityType, av as useForm, a3 as LoaderWrapper, C as Typography, aA as Field, dT as EntityTypeRadioGroupCard, aD as RadioGroupCard, _ as Button, b9 as Spacer, a4 as Icon, a as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-f3qlr1mg.js";
12
12
  import { useState, useEffect } from "preact/hooks";
13
- import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-Bs2tKEPC.js";
14
- import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-WopSF2zY.js";
13
+ import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-DZN9lbmS.js";
14
+ import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-D-5m_wos.js";
15
15
  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") });
16
16
  const logger$1 = createLogger();
17
17
  const getBusinessTypeExamplesForCountry = async (country) => {
@@ -8,7 +8,7 @@
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
- import { a4 as Icon } from "./StoreProvider-D6PzfyGo.js";
11
+ import { a4 as Icon } from "./StoreProvider-f3qlr1mg.js";
12
12
  import cx from "classnames";
13
13
  import { useRef, useState, useEffect } from "preact/hooks";
14
14
  const outlinedIcon = "adyen-kyc-outlined-icon";
@@ -8,8 +8,8 @@
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
- import { a as useLegalEntity, ac as useCapabilityProblems, a7 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bk as getProblemsForEntity, U as EntityType, bl as isOnfidoAutofillFlowEnabled, W as TaskTypes } from "./StoreProvider-D6PzfyGo.js";
12
- import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-UnR6_lSH.js";
11
+ import { a as useLegalEntity, ac as useCapabilityProblems, a7 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bk as getProblemsForEntity, U as EntityType, bl as isOnfidoAutofillFlowEnabled, W as TaskTypes } from "./StoreProvider-f3qlr1mg.js";
12
+ import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-DuTlS7Wr.js";
13
13
  const CreateIndividualComponent = ({
14
14
  legalEntityId,
15
15
  onSubmitSuccess,
@@ -9,7 +9,7 @@
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import { useState } from "preact/hooks";
12
- import { a as useLegalEntity, ao as useAssociatedLegalEntity, y as LegalEntityType, L as Loader, bq as PayoutDetailsDropin, W as TaskTypes } from "./StoreProvider-D6PzfyGo.js";
12
+ import { a as useLegalEntity, ao as useAssociatedLegalEntity, y as LegalEntityType, L as Loader, bq as PayoutDetailsDropin, W as TaskTypes } from "./StoreProvider-f3qlr1mg.js";
13
13
  function CreateTransferInstrumentComponent({
14
14
  legalEntityId,
15
15
  transferInstrumentId,
@@ -2,17 +2,17 @@
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] = "c8c0b94c-889e-4292-b636-a53c7791fe8c", e._sentryDebugIdIdentifier = "sentry-dbid-c8c0b94c-889e-4292-b636-a53c7791fe8c");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b7c5f239-8195-4ca6-ac75-732b4938752f", e._sentryDebugIdIdentifier = "sentry-dbid-b7c5f239-8195-4ca6-ac75-732b4938752f");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
- import { a as useLegalEntity, R as ROOT_LE, L as Loader, b as useI18nContext, a0 as useAnalyticsContext, a6 as useToastContext, bp as useQueryClient, as as resolveFieldMetadata, c8 as defaultFieldMetadata, c9 as fieldConfig, cs as getAsyncPhoneValidationRules, F as FormHeader, df as ContactDetails, aP as ActionBar, X as createLogger } from "./StoreProvider-D6PzfyGo.js";
11
+ import { a as useLegalEntity, R as ROOT_LE, L as Loader, b as useI18nContext, a0 as useAnalyticsContext, a6 as useToastContext, bp as useQueryClient, as as resolveFieldMetadata, c8 as defaultFieldMetadata, c9 as fieldConfig, cs as getAsyncPhoneValidationRules, F as FormHeader, dg as ContactDetails, aP as ActionBar, X as createLogger } from "./StoreProvider-f3qlr1mg.js";
12
12
  import { useCallback, useMemo, useEffect } from "preact/hooks";
13
- import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-Bs2tKEPC.js";
14
- import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-D2R8_9ew.js";
15
- import { u as useMultiForm } from "./useMultiForm-DEOL8O6Q.js";
13
+ import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-DZN9lbmS.js";
14
+ import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-BYnNXuv1.js";
15
+ import { u as useMultiForm } from "./useMultiForm-gFtaF-qx.js";
16
16
  const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
17
17
  return {
18
18
  email: customerSupport?.customerSupport?.email || "",
@@ -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] = "17f13c6c-7a5a-4a74-a714-687d37535a3a", e._sentryDebugIdIdentifier = "sentry-dbid-17f13c6c-7a5a-4a74-a714-687d37535a3a");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "03356845-9d8c-4aef-a7c8-a573162812ad", e._sentryDebugIdIdentifier = "sentry-dbid-03356845-9d8c-4aef-a7c8-a573162812ad");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
11
  import { useMemo, useState } from "preact/hooks";
12
- import { _ as Button, be as entriesOf, bD as InputText, b as useI18nContext, dO as splitTaskIdentifier, a7 as useExperimentsContext, J as useSettingsContext, ad as useGlobalStore, dj as listToRecord, dP as valuesOf, b4 as Modal, X as createLogger, a4 as Icon, K as SettingNames, dQ as ExperimentNames } from "./StoreProvider-D6PzfyGo.js";
12
+ import { _ as Button, be as entriesOf, bD as InputText, b as useI18nContext, dP as splitTaskIdentifier, a7 as useExperimentsContext, J as useSettingsContext, ad as useGlobalStore, dk as listToRecord, dQ as valuesOf, b4 as Modal, X as createLogger, a4 as Icon, K as SettingNames, dR as ExperimentNames } from "./StoreProvider-f3qlr1mg.js";
13
13
  import { T as Tag } from "./Tag-DdkVScyr.js";
14
- import { T as TaskItemStatus } from "./TaskItemStatus-FSfcOG5a.js";
14
+ import { T as TaskItemStatus } from "./TaskItemStatus-BMcIVTOl.js";
15
15
  const tabs = "adyen-kyc-tabs";
16
16
  const styles$2 = {
17
17
  tabs
@@ -144,10 +144,10 @@ const transformModule = (highlights, codeNode, scope) => {
144
144
  };
145
145
  const supportedModules = ["plaintext", "json", "yaml", "css"];
146
146
  const moduleMap = {
147
- plaintext: () => import("./plaintext-D3Ww_aF9.js"),
148
- json: () => import("./json-x8T3RzUR.js"),
149
- yaml: () => import("./yaml-BMoCIv2z.js"),
150
- css: () => import("./css-Di2ysu56.js")
147
+ plaintext: () => import("./plaintext-OQ4i6UkF.js"),
148
+ json: () => import("./json-CD1_BOml.js"),
149
+ yaml: () => import("./yaml-CDh4L3qc.js"),
150
+ css: () => import("./css-Df2ZteyY.js")
151
151
  };
152
152
  const getModule = async (name) => {
153
153
  if (!supportedModules.includes(name)) {
@@ -448,7 +448,7 @@ const DebugModal = ({ onExit }) => {
448
448
  const [tab, setTab] = useState("metadata");
449
449
  const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
450
450
  const metadata = {
451
- sdkVersion: "3.79.0-beta.9",
451
+ sdkVersion: "3.79.1",
452
452
  locale: i18n.locale,
453
453
  rootLegalEntityId: rootLegalEntity.id
454
454
  };
@@ -8,8 +8,8 @@
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
- import { a as useLegalEntity, w as skipToken, ac as useCapabilityProblems, a7 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bk as getProblemsForEntity, U as EntityType, bl as isOnfidoAutofillFlowEnabled, W as TaskTypes, a5 as noop } from "./StoreProvider-D6PzfyGo.js";
12
- import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-UnR6_lSH.js";
11
+ import { a as useLegalEntity, w as skipToken, ac as useCapabilityProblems, a7 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bk as getProblemsForEntity, U as EntityType, bl as isOnfidoAutofillFlowEnabled, W as TaskTypes, a5 as noop } from "./StoreProvider-f3qlr1mg.js";
12
+ import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-DuTlS7Wr.js";
13
13
  function DecisionMakerDetailsPage({
14
14
  decisionMakerId,
15
15
  parentCompanyId,
@@ -9,9 +9,9 @@
9
9
  ;
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
11
  import { useState, useEffect } from "preact/hooks";
12
- import { a as useLegalEntity, R as ROOT_LE, L as Loader, aa as useGetTaskStatus, b as useI18nContext, Z as useTranslation, a0 as useAnalyticsContext, a6 as useToastContext, ac as useCapabilityProblems, bx as getOwnDecisionMakers, cR as getAvailableDecisionMakerRoleTypes, W as TaskTypes, cA as getAllowedDecisionMakerRoles, F as FormHeader, aW as ContextGuidance, aU as Trans, cP as DecisionMakerType, B as Alert, ab as CardGroup, _ as Button, aP as ActionBar } from "./StoreProvider-D6PzfyGo.js";
13
- import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-Bs2tKEPC.js";
14
- import { c as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, d as EntityAssociation } from "./OnboardingDropinComponent-CMrZ3LMb.js";
12
+ import { a as useLegalEntity, R as ROOT_LE, L as Loader, aa as useGetTaskStatus, b as useI18nContext, Z as useTranslation, a0 as useAnalyticsContext, a6 as useToastContext, ac as useCapabilityProblems, bx as getOwnDecisionMakers, cR as getAvailableDecisionMakerRoleTypes, W as TaskTypes, cA as getAllowedDecisionMakerRoles, F as FormHeader, aW as ContextGuidance, aU as Trans, cP as DecisionMakerType, B as Alert, ab as CardGroup, _ as Button, aP as ActionBar } from "./StoreProvider-f3qlr1mg.js";
13
+ import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-DZN9lbmS.js";
14
+ import { c as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, d as EntityAssociation } from "./OnboardingDropinComponent-DYovO8Vs.js";
15
15
  const DecisionMakers = (props) => {
16
16
  const { data, isLoading } = useLegalEntity(ROOT_LE);
17
17
  if (isLoading || !data) {
@@ -9,8 +9,8 @@
9
9
  ;
10
10
  import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
11
11
  import cx from "classnames";
12
- import { A as Avatar } from "./Avatar-CIGV_SS9.js";
13
- import { Y as TaskStatus, Z as useTranslation, z as Skeleton, C as Typography } from "./StoreProvider-D6PzfyGo.js";
12
+ import { A as Avatar } from "./Avatar-BwPDfhBD.js";
13
+ import { Y as TaskStatus, Z as useTranslation, z as Skeleton, C as Typography } from "./StoreProvider-f3qlr1mg.js";
14
14
  import { T as Tag } from "./Tag-DdkVScyr.js";
15
15
  import { O as OnboardingStatus } from "./view-verification-status-DTkA8PtO.js";
16
16
  const embeddedStatus = "adyen-kyc-embedded-status";
@@ -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] = "584d4dd5-45e8-4989-970b-bed6b33274e6", e._sentryDebugIdIdentifier = "sentry-dbid-584d4dd5-45e8-4989-970b-bed6b33274e6");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "89d64a90-d31a-4336-b3ba-70d642001452", e._sentryDebugIdIdentifier = "sentry-dbid-89d64a90-d31a-4336-b3ba-70d642001452");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsxs, jsx } from "preact/jsx-runtime";
11
11
  import cx from "classnames";
12
- import { dD as defineSlots, a4 as Icon, A as AlertIcon } from "./StoreProvider-D6PzfyGo.js";
12
+ import { dE as defineSlots, a4 as Icon, A as AlertIcon } from "./StoreProvider-f3qlr1mg.js";
13
13
  const formEndState = "adyen-kyc-form-end-state";
14
14
  const endStateIcon = "adyen-kyc-end-state-icon";
15
15
  const iconInfo = "adyen-kyc-icon-info";
@@ -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] = "de6ee1b2-ccd5-4cbd-b5fd-2a63b8b0ac45", e._sentryDebugIdIdentifier = "sentry-dbid-de6ee1b2-ccd5-4cbd-b5fd-2a63b8b0ac45");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "399f10c7-2116-42f3-9297-2e9f87babec4", e._sentryDebugIdIdentifier = "sentry-dbid-399f10c7-2116-42f3-9297-2e9f87babec4");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
11
  import { useMemo, useRef, useState } from "preact/hooks";
12
- import { dE as FormContext, a0 as useAnalyticsContext, Z as useTranslation, bv as MaybeModal, a3 as LoaderWrapper, dF as FormRouterContextProvider, aO as Summary, _ as Button, $ as IconButton, ba as Confirm } from "./StoreProvider-D6PzfyGo.js";
12
+ import { dF as FormContext, a0 as useAnalyticsContext, Z as useTranslation, bv as MaybeModal, a3 as LoaderWrapper, dG as FormRouterContextProvider, aO as Summary, _ as Button, $ as IconButton, ba as Confirm } from "./StoreProvider-f3qlr1mg.js";
13
13
  import cx from "classnames";
14
14
  function FormContextProvider({
15
15
  children,