@adyen/kyc-components 3.68.3 → 3.69.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 (109) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-B1L_5Mar.js → AcceptTermsOfServiceComponent-CbxhLrMO.js} +35 -60
  2. package/dist/{AccountSetupRejected-CDiMcMlV.js → AccountSetupRejected-DGXslaws.js} +3 -3
  3. package/dist/{BusinessTypeSelection-CTL2ECRs.js → BusinessTypeSelection-fRfIaFLI.js} +4 -4
  4. package/dist/{CXEL7IU7-DK7Za0QU.js → CXEL7IU7-aKB9iLia.js} +3 -3
  5. package/dist/{CreateIndividualComponent-kCm3i-vM.js → CreateIndividualComponent-CbjhVVFf.js} +92 -194
  6. package/dist/{CustomerSupport-DWAm23Us.js → CustomerSupport-DKXz-kIB.js} +4 -4
  7. package/dist/{DebugModal-kg7TIA4_.js → DebugModal-D8K6RGj2.js} +8 -8
  8. package/dist/{DecisionMakers-Dng6SsSq.js → DecisionMakers-CIJQ3zov.js} +4 -4
  9. package/dist/{EmbedShell-BRE-er34.js → EmbedShell-CnI41OS9.js} +28 -8
  10. package/dist/{EventEmitter-D2fpze21.js → EventEmitter-Cga9L9ga.js} +418 -428
  11. package/dist/{HASRA6WW-B-L6bY1D.js → HASRA6WW-DElz5DM0.js} +2 -2
  12. package/dist/{I3HPI4QX-DvG-mupt.js → I3HPI4QX-4Ffr9LmC.js} +3 -3
  13. package/dist/{Introduction-CXrcsG6u.js → Introduction-C3ID8Vya.js} +3 -3
  14. package/dist/{Review-BlhVLQ7e.js → Review-Du7TnL-n.js} +8 -14
  15. package/dist/{SingpassSelection-MI6bnKQ6.js → SingpassSelection-YiO_l2KR.js} +1 -1
  16. package/dist/{TaxReportingDropin-Biv-eBW1.js → TaxReportingDropin-CnTMe6fD.js} +10 -16
  17. package/dist/adyen-kyc-components.js +1 -1
  18. package/dist/adyenConfig.js +1 -1
  19. package/dist/{bg-BG-CfJNzZu7.js → bg-BG-Ce7O3eFv.js} +15 -4
  20. package/dist/{core-CkFz5z0L.js → core-_EkviUyo.js} +275 -416
  21. package/dist/{cs-CZ-CRMGIz8x.js → cs-CZ-CrC0OM0G.js} +16 -5
  22. package/dist/{css-rbxi2nD5.js → css-CMXdhj7V.js} +1 -1
  23. package/dist/{da-DK-C7ftGVR7.js → da-DK-qSfql5UY.js} +15 -4
  24. package/dist/{de-DE-C39k0axr.js → de-DE-3LOqfpiA.js} +15 -4
  25. package/dist/{el-GR-BGGUBqdt.js → el-GR-CTuJ6hn-.js} +15 -4
  26. package/dist/{es-ES-BojuwecZ.js → es-ES-DgVFlRYZ.js} +19 -8
  27. package/dist/{et-EE-DEVH-7IA.js → et-EE-Bgft_08b.js} +15 -4
  28. package/dist/{fi-FI-Bku_85E3.js → fi-FI-CQW_GIPa.js} +15 -4
  29. package/dist/{fr-FR-HnJ_pnor.js → fr-FR-dNqcyG5e.js} +15 -4
  30. package/dist/{hr-HR-DXiqG0wV.js → hr-HR-C8WCFUb9.js} +15 -4
  31. package/dist/{hu-HU-DctyKbNV.js → hu-HU-OdcVNvSN.js} +15 -4
  32. package/dist/individual.js +5 -4
  33. package/dist/{it-IT-tSaYFPHL.js → it-IT-CPBQVRCK.js} +15 -4
  34. package/dist/{ja-JP-DrupcLqM.js → ja-JP-Bh4irw6C.js} +15 -4
  35. package/dist/{json-CjF__AdT.js → json-svAhX5Bd.js} +1 -1
  36. package/dist/{listToRecord-DaA2XP7r.js → listToRecord-CXkPgVsw.js} +1 -1
  37. package/dist/{lt-LT-C4y-mmdw.js → lt-LT-vglMkJcJ.js} +15 -4
  38. package/dist/{lv-LV-CqmNw1Ry.js → lv-LV-BbjKCqpN.js} +15 -4
  39. package/dist/{nl-NL-CALz56wW.js → nl-NL-D_O0KNNq.js} +15 -4
  40. package/dist/{no-NO-SyIXHgGV.js → no-NO-qkYiqc6y.js} +16 -5
  41. package/dist/{pl-PL-veuK_Fs-.js → pl-PL-Dt_cU3CC.js} +15 -4
  42. package/dist/{plaintext-CyQv4kTZ.js → plaintext-BZaNPCkz.js} +1 -1
  43. package/dist/{pt-PT-KPmxJycM.js → pt-PT-ikqIUFTg.js} +15 -4
  44. package/dist/{ro-RO-DPXG-We0.js → ro-RO-gzqKZPHh.js} +15 -4
  45. package/dist/{sk-SK-ldAkSZl-.js → sk-SK-BY3g56qX.js} +16 -5
  46. package/dist/{sl-SI-CH3W5STZ.js → sl-SI-HorvDYvW.js} +15 -4
  47. package/dist/style.css +5 -2
  48. package/dist/styles-CLV89_hH.js +5 -2
  49. package/dist/{sv-SE-DFrDPziR.js → sv-SE-X6UKX96z.js} +16 -5
  50. package/dist/terms-of-service.js +5 -4
  51. package/dist/types/api/address/useSearchAddress.d.ts +1 -1
  52. package/dist/types/api/check/useCheck.d.ts +1 -1
  53. package/dist/types/api/companyDataSet/useCompanyDataset.d.ts +15 -3
  54. package/dist/types/api/companyDataSet/useRefreshCompanyDataset.d.ts +6 -2
  55. package/dist/types/api/companySearch/useCompanyDeepSearch.d.ts +12 -3
  56. package/dist/types/api/companySearch/useCompanyIndexSearch.d.ts +2 -3
  57. package/dist/types/api/companySearch/useCompanyRegistrationNumberDeepSearch.d.ts +2 -3
  58. package/dist/types/api/companySearch/useCompanyRegistrationNumberIndexSearch.d.ts +2 -3
  59. package/dist/types/api/configurations/useVersionConfiguration.d.ts +1 -1
  60. package/dist/types/api/idVerificationProviders/useIdVerificationToken.d.ts +15 -3
  61. package/dist/types/api/openId/useOpenIdAuthorizationLink.d.ts +1 -1
  62. package/dist/types/api/pciTemplate/usePciQuestionnaire.d.ts +1 -1
  63. package/dist/types/api/pciTemplate/usePciQuestionnaireList.d.ts +1 -1
  64. package/dist/types/api/queryKeys.d.ts +2 -1
  65. package/dist/types/api/termsOfService/useAcceptTermsOfService.d.ts +1 -1
  66. package/dist/types/api/termsOfService/useAcceptedTermsOfService.d.ts +1 -1
  67. package/dist/types/api/termsOfService/useTermsOfService.d.ts +1 -1
  68. package/dist/types/api/tinVerification/useVerifyTin.d.ts +4 -5
  69. package/dist/types/api/transferInstruments/useCreateTransferInstrument.d.ts +1 -1
  70. package/dist/types/api/validation/useValidateAccountIdentification.d.ts +1 -1
  71. package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +1 -1
  72. package/dist/types/components/Business/forms/AdditionalInformation/VerifiedBusinessCard.d.ts +1 -1
  73. package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +1 -1
  74. package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +1 -1
  75. package/dist/types/components/Business/forms/BasicInformation/types.d.ts +2 -1
  76. package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +2 -1
  77. package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard.d.ts +2 -1
  78. package/dist/types/components/Business/forms/BusinessSelection/types.d.ts +1 -1
  79. package/dist/types/components/Business/forms/CompanyStructure/types.d.ts +1 -1
  80. package/dist/types/components/Business/hooks/useBusinessData/types.d.ts +7 -12
  81. package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/types.d.ts +0 -2
  82. package/dist/types/components/Individual/forms/Individual/IdVerification/IdVerification.d.ts +1 -1
  83. package/dist/types/components/Individual/forms/Individual/IdVerification/types.d.ts +0 -2
  84. package/dist/types/components/Individual/forms/Individual/types.d.ts +0 -2
  85. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationMethod.types.d.ts +1 -4
  86. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/OnfidoVerificationModal/OnfidoVerificationModal.d.ts +1 -1
  87. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.d.ts +1 -1
  88. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +0 -2
  89. package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +1 -3
  90. package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +5 -0
  91. package/dist/types/components/Shared/forms/Address/types.d.ts +1 -1
  92. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  93. package/dist/types/components/Trust/forms/Trust/rules.d.ts +4 -3
  94. package/dist/types/components/Trust/forms/TrustRegistrationDetails/types.d.ts +2 -1
  95. package/dist/types/components/UnincorporatedPartnership/types/types.d.ts +9 -0
  96. package/dist/types/context/ApiContext/ApiProvider.d.ts +3 -3
  97. package/dist/types/context/FormRouterContext/FormRouterContextProvider.d.ts +1 -1
  98. package/dist/types/context/FormRouterContext/types.d.ts +0 -2
  99. package/dist/types/core/EmbedShell/EmbedShell.d.ts +5 -2
  100. package/dist/types/core/UIElement/UIElement.d.ts +1 -1
  101. package/dist/types/core/core.d.ts +1 -1
  102. package/dist/types/core/services/types.d.ts +3 -15
  103. package/dist/types/core/services/utils.d.ts +1 -3
  104. package/dist/types/core/types.d.ts +0 -4
  105. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  106. package/dist/{yaml-C7Gy0d0h.js → yaml-20recjBc.js} +1 -1
  107. package/package.json +1 -1
  108. package/dist/types/components/Individual/hooks/useIdVerificationToken.d.ts +0 -13
  109. package/dist/types/core/models/api/company-search.d.ts +0 -70
@@ -2,27 +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] = "0f75fe0e-c0c5-423b-9130-3b81efa8de08", e._sentryDebugIdIdentifier = "sentry-dbid-0f75fe0e-c0c5-423b-9130-3b81efa8de08");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f805f276-3236-4ec5-9be8-f9566e025c53", e._sentryDebugIdIdentifier = "sentry-dbid-f805f276-3236-4ec5-9be8-f9566e025c53");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
11
  import { useRef, useState, useEffect, useCallback } from "preact/hooks";
12
- import { a as useApiContext, R as useInvalidateRootLegalEntity, e as useMutation, h as httpPost, b as useQuery, d as httpGet, dV as skipToken, Q as Icon, dW as AlertIcon, c as createLogger, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, n as useExperimentsContext, bj as useForm, V as Alert, G as Button, b8 as localizeDateString, L as LoaderWrapper, b9 as Field, ba as Select, d1 as Checkbox, cH as ActionBar, d0 as MaybeModal, D as ModalContent, F as ModalFooter, dE as StepProgressIndicator, Y as Spacer, J as LegalEntityType, ak as getOwnSignatories, a4 as doesLegalEntityRequiresLegalRepresentative, a3 as getLegalRepresentative, cF as FormNavigation, I as useCoreContext, u as useLegalEntity, K as Loader, T as TaskTypes } from "./EventEmitter-D2fpze21.js";
12
+ import { a as useApiContext, R as useInvalidateRootLegalEntity, e as useMutation, h as httpPost, b as useQuery, d as httpGet, d$ as skipToken, Q as Icon, e0 as AlertIcon, c as createLogger, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, n as useExperimentsContext, bj as useForm, V as Alert, G as Button, b8 as localizeDateString, L as LoaderWrapper, b9 as Field, ba as Select, d6 as Checkbox, cH as ActionBar, d5 as MaybeModal, D as ModalContent, F as ModalFooter, dJ as StepProgressIndicator, Y as Spacer, J as LegalEntityType, ak as getOwnSignatories, a4 as doesLegalEntityRequiresLegalRepresentative, a3 as getLegalRepresentative, cF as FormNavigation, I as useCoreContext, u as useLegalEntity, K as Loader, T as TaskTypes } from "./EventEmitter-Cga9L9ga.js";
13
13
  import cx from "classnames";
14
14
  import { defineSlots } from "named-slots";
15
- const acceptTermsOfService = async (legalEntityId, url, termsOfServiceDocumentId, data) => {
15
+ const acceptTermsOfService = async (legalEntityId, baseUrl, termsOfServiceDocumentId, data) => {
16
16
  return httpPost(
17
17
  {
18
- loadingContext: url,
19
- errorLevel: "warn",
20
- errorMessage: `Failed to accept Terms of service`,
21
- path: `legalEntities/${legalEntityId}/termsOfService/accept`,
22
- authentication: "jwt",
23
- headers: {
24
- "Content-Type": "application/json"
25
- }
18
+ baseUrl,
19
+ path: `legalEntities/${legalEntityId}/termsOfService/accept`
26
20
  },
27
21
  {
28
22
  ...data,
@@ -32,74 +26,61 @@ const acceptTermsOfService = async (legalEntityId, url, termsOfServiceDocumentId
32
26
  );
33
27
  };
34
28
  const useAcceptTermsOfService = (options) => {
35
- const { legalEntityId, baseUrl } = useApiContext();
29
+ const { rootLegalEntityId, baseUrl } = useApiContext();
36
30
  const invalidateRootLegalEntity = useInvalidateRootLegalEntity();
37
31
  return useMutation({
38
- mutationFn: (data) => acceptTermsOfService(legalEntityId.value, baseUrl.value, data.termsOfServiceDocumentId, data),
32
+ mutationFn: (data) => acceptTermsOfService(
33
+ rootLegalEntityId.value,
34
+ baseUrl.value,
35
+ data.termsOfServiceDocumentId,
36
+ data
37
+ ),
39
38
  onSuccess: async () => {
40
39
  await invalidateRootLegalEntity();
41
40
  },
42
41
  ...options
43
42
  });
44
43
  };
45
- const getTermsOfServiceAcceptanceInfos = async (legalEntityId, url) => {
44
+ const getTermsOfServiceAcceptanceInfos = async (legalEntityId, baseUrl) => {
46
45
  return httpGet({
47
- loadingContext: url,
48
- errorLevel: "warn",
49
- errorMessage: `Failed to get terms of service acceptance info`,
50
- path: `legalEntities/${legalEntityId}/termsOfService/termsOfServiceAcceptanceInfos`,
51
- authentication: "jwt",
52
- headers: {
53
- "Content-Type": "application/json"
54
- }
46
+ baseUrl,
47
+ path: `legalEntities/${legalEntityId}/termsOfService/termsOfServiceAcceptanceInfos`
55
48
  });
56
49
  };
57
50
  const useTermsOfServiceAcceptanceInfos = (options) => {
58
- const { legalEntityId, baseUrl } = useApiContext();
51
+ const { rootLegalEntityId, baseUrl } = useApiContext();
59
52
  return useQuery({
60
53
  queryKey: ["termsOfServiceAcceptanceInfos"],
61
- queryFn: () => getTermsOfServiceAcceptanceInfos(legalEntityId.value, baseUrl.value),
54
+ queryFn: () => getTermsOfServiceAcceptanceInfos(rootLegalEntityId.value, baseUrl.value),
62
55
  ...options
63
56
  });
64
57
  };
65
- const getTermsOfServiceStatus = async (legalEntityId, url) => {
58
+ const getTermsOfServiceStatus = async (legalEntityId, baseUrl) => {
66
59
  return httpGet({
67
- loadingContext: url,
68
- errorLevel: "warn",
69
- errorMessage: `Failed to get terms of service status`,
70
- path: `legalEntities/${legalEntityId}/termsOfService/termsOfServiceStatus`,
71
- authentication: "jwt",
72
- headers: {
73
- "Content-Type": "application/json"
74
- }
60
+ baseUrl,
61
+ path: `legalEntities/${legalEntityId}/termsOfService/termsOfServiceStatus`
75
62
  });
76
63
  };
77
64
  const useTermsOfServiceStatus = (options) => {
78
- const { legalEntityId, baseUrl } = useApiContext();
65
+ const { rootLegalEntityId, baseUrl } = useApiContext();
79
66
  return useQuery({
80
67
  queryKey: ["termsOfServiceStatus"],
81
- queryFn: () => getTermsOfServiceStatus(legalEntityId.value, baseUrl.value),
68
+ queryFn: () => getTermsOfServiceStatus(rootLegalEntityId.value, baseUrl.value),
82
69
  ...options
83
70
  });
84
71
  };
85
- const getAcceptedTermsOfService = async (legalEntityId, url, termsOfServiceAcceptanceReference, documentFormat) => {
72
+ const getAcceptedTermsOfService = async (legalEntityId, baseUrl, termsOfServiceAcceptanceReference, documentFormat) => {
86
73
  return httpGet({
87
- loadingContext: url,
88
- errorLevel: "warn",
89
- errorMessage: `Failed to get accepted service agreement`,
90
- path: `legalEntities/${legalEntityId}/termsOfService/acceptedTermsOfServiceDocument/${termsOfServiceAcceptanceReference}?documentformat=${documentFormat} `,
91
- authentication: "jwt",
92
- headers: {
93
- "Content-Type": "application/json"
94
- }
74
+ baseUrl,
75
+ path: `legalEntities/${legalEntityId}/termsOfService/acceptedTermsOfServiceDocument/${termsOfServiceAcceptanceReference}?documentformat=${documentFormat} `
95
76
  });
96
77
  };
97
78
  const useAcceptedTermsOfService = (termsOfServiceAcceptanceReference, documentFormat, options) => {
98
- const { legalEntityId, baseUrl } = useApiContext();
79
+ const { rootLegalEntityId, baseUrl } = useApiContext();
99
80
  return useQuery({
100
81
  queryKey: ["acceptedTermsOfService", termsOfServiceAcceptanceReference, documentFormat],
101
82
  queryFn: termsOfServiceAcceptanceReference ? () => getAcceptedTermsOfService(
102
- legalEntityId.value,
83
+ rootLegalEntityId.value,
103
84
  baseUrl.value,
104
85
  termsOfServiceAcceptanceReference,
105
86
  documentFormat
@@ -107,26 +88,20 @@ const useAcceptedTermsOfService = (termsOfServiceAcceptanceReference, documentFo
107
88
  ...options
108
89
  });
109
90
  };
110
- const getTermsOfService = async (legalEntityId, url, data) => {
91
+ const getTermsOfService = async (legalEntityId, baseUrl, data) => {
111
92
  return httpPost(
112
93
  {
113
- loadingContext: url,
114
- errorLevel: "warn",
115
- errorMessage: `Failed to get terms of service`,
116
- path: `legalEntities/${legalEntityId}/termsOfService`,
117
- authentication: "jwt",
118
- headers: {
119
- "Content-Type": "application/json"
120
- }
94
+ baseUrl,
95
+ path: `legalEntities/${legalEntityId}/termsOfService`
121
96
  },
122
97
  data
123
98
  );
124
99
  };
125
100
  const useTermsOfService = (data, options) => {
126
- const { legalEntityId, baseUrl } = useApiContext();
101
+ const { rootLegalEntityId, baseUrl } = useApiContext();
127
102
  return useQuery({
128
103
  queryKey: ["termsOfService", data],
129
- queryFn: () => getTermsOfService(legalEntityId.value, baseUrl.value, data),
104
+ queryFn: () => getTermsOfService(rootLegalEntityId.value, baseUrl.value, data),
130
105
  ...options
131
106
  });
132
107
  };
@@ -1236,7 +1211,7 @@ function ServiceAgreementDropin({
1236
1211
  const { showToast } = useToastContext();
1237
1212
  const { isExperimentEnabled } = useExperimentsContext();
1238
1213
  const isAgeVerificationEnabled = isExperimentEnabled("EnableAgeVerification");
1239
- const { legalEntityId, baseUrl } = useApiContext();
1214
+ const { rootLegalEntityId, baseUrl } = useApiContext();
1240
1215
  const [loadingStatus, setLoadingStatus] = useState();
1241
1216
  const signedForms = serviceAgreementAcceptanceInfos.map((serviceAgreementAcceptanceInfo) => ({
1242
1217
  formId: serviceAgreementAcceptanceInfo.id,
@@ -1386,7 +1361,7 @@ function ServiceAgreementDropin({
1386
1361
  };
1387
1362
  const onDownloadUnacceptedTermsOfServiceDocument = async () => {
1388
1363
  const requestAndDownload = async (languageCode) => {
1389
- const response = await getTermsOfService(legalEntityId.value, baseUrl.value, {
1364
+ const response = await getTermsOfService(rootLegalEntityId.value, baseUrl.value, {
1390
1365
  type: activeForm.serviceAgreementType,
1391
1366
  language: languageCode,
1392
1367
  termsOfServiceDocumentFormat: "PDF"
@@ -1671,7 +1646,7 @@ function AcceptTermsOfServiceComponent({
1671
1646
  },
1672
1647
  [onAccept, stepsData, acceptTermsOfService2, serviceAgreementStatus == null ? void 0 : serviceAgreementStatus.termsOfServiceTypes]
1673
1648
  );
1674
- return isStatusLoading || isAcceptanceInfoLoading || !legalEntity ? /* @__PURE__ */ jsx(Loader, { size: "medium" }) : /* @__PURE__ */ jsx(
1649
+ return isStatusLoading || isAcceptanceInfoLoading || !legalEntity ? /* @__PURE__ */ jsx(Loader, {}) : /* @__PURE__ */ jsx(
1675
1650
  ServiceAgreementDropin,
1676
1651
  {
1677
1652
  taskType: TaskTypes.SERVICE_AGREEMENT,
@@ -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] = "65075b4c-3f18-430d-91fc-0e702156a9c6", e._sentryDebugIdIdentifier = "sentry-dbid-65075b4c-3f18-430d-91fc-0e702156a9c6");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b0c167bd-7d13-4050-a157-d2e6f5bb90ee", e._sentryDebugIdIdentifier = "sentry-dbid-b0c167bd-7d13-4050-a157-d2e6f5bb90ee");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsxs, jsx } from "preact/jsx-runtime";
11
- import { i as useI18nContext, dW as AlertIcon, bY as FormHeader } from "./EventEmitter-D2fpze21.js";
12
- import { D as DropinLayout } from "./core-CkFz5z0L.js";
11
+ import { i as useI18nContext, e0 as AlertIcon, bY as FormHeader } from "./EventEmitter-Cga9L9ga.js";
12
+ import { D as DropinLayout } from "./core-_EkviUyo.js";
13
13
  function AccountSetupRejected() {
14
14
  const { i18n } = useI18nContext();
15
15
  const content = /* @__PURE__ */ jsxs("div", { children: [
@@ -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] = "254a1d95-391b-48a3-b493-16ec6bddf23d", e._sentryDebugIdIdentifier = "sentry-dbid-254a1d95-391b-48a3-b493-16ec6bddf23d");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0458514f-1799-4b4a-b3b3-3e46f182d744", e._sentryDebugIdIdentifier = "sentry-dbid-0458514f-1799-4b4a-b3b3-3e46f182d744");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
11
  import { useState, useEffect } from "preact/hooks";
12
- import { u as useLegalEntity, K as Loader, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, n as useExperimentsContext, ap as getCapabilities, q as getLegalEntityCountry, J as LegalEntityType, bj as useForm, L as LoaderWrapper, E as Typography, b9 as Field, d$ as EntityTypeRadioGroupCard, cz as RadioGroupCard, G as Button, Y as Spacer, Q as Icon, a7 as hasSolePropInLegalEntity } from "./EventEmitter-D2fpze21.js";
13
- import { B as useUpdateLegalEntity } from "./CreateIndividualComponent-kCm3i-vM.js";
14
- import { b as useSelectionOptions, g as getBusinessType, c as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, d as getTargetLegalEntityType, e as businessTypeIcons, f as determineOrganizationTypeToUpdate } from "./core-CkFz5z0L.js";
12
+ import { u as useLegalEntity, K as Loader, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, n as useExperimentsContext, ap as getCapabilities, q as getLegalEntityCountry, J as LegalEntityType, bj as useForm, L as LoaderWrapper, E as Typography, b9 as Field, e5 as EntityTypeRadioGroupCard, cz as RadioGroupCard, G as Button, Y as Spacer, Q as Icon, a7 as hasSolePropInLegalEntity } from "./EventEmitter-Cga9L9ga.js";
13
+ import { B as useUpdateLegalEntity } from "./CreateIndividualComponent-CbjhVVFf.js";
14
+ import { b as useSelectionOptions, g as getBusinessType, c as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, d as getTargetLegalEntityType, e as businessTypeIcons, f as determineOrganizationTypeToUpdate } from "./core-_EkviUyo.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 getBusinessTypeExamplesForCountry = async (country) => {
17
17
  const importForCountry = businessTypeExamples[`../localized/legalEntityTypeExamples/${country}.json`];
@@ -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] = "9944a3f9-3fec-4cd0-99c6-51639e008b66", e._sentryDebugIdIdentifier = "sentry-dbid-9944a3f9-3fec-4cd0-99c6-51639e008b66");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "94fe624e-932e-40b2-b83e-e463f4056380", e._sentryDebugIdIdentifier = "sentry-dbid-94fe624e-932e-40b2-b83e-e463f4056380");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./HASRA6WW-B-L6bY1D.js";
11
- import { e1 as getPreferredColorScheme, e2 as createMemo, e3 as createComponent } from "./EventEmitter-D2fpze21.js";
10
+ import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./HASRA6WW-DElz5DM0.js";
11
+ import { e7 as getPreferredColorScheme, e8 as createMemo, e9 as createComponent } from "./EventEmitter-Cga9L9ga.js";
12
12
  var DevtoolsPanelComponent = (props) => {
13
13
  const [localStore, setLocalStore] = createLocalStorage({
14
14
  prefix: "TanstackQueryDevtools"