@adyen/kyc-components 3.81.0-beta.4 → 3.81.0-beta.5

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 (93) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-aQcg1tq3.js → AcceptTermsOfServiceComponent-h4RGwmfr.js} +5 -5
  2. package/dist/{AccountSetupRejected-kz5NC22n.js → AccountSetupRejected-BtCC1DfU.js} +2 -2
  3. package/dist/{Avatar-CoTOHJwb.js → Avatar-D11TdIAz.js} +1 -1
  4. package/dist/{BusinessDetailsDropin-B-wQeBGi.js → BusinessDetailsDropin-DMkfZAhc.js} +7 -7
  5. package/dist/{BusinessFinancingComponent-DE4YthcJ.js → BusinessFinancingComponent-Bx3WRW6i.js} +3 -3
  6. package/dist/{BusinessFinancingDropin-D_LThoGS.js → BusinessFinancingDropin-CuF4P-yp.js} +9 -9
  7. package/dist/{BusinessFinancingPage-DPM8zMly.js → BusinessFinancingPage-BOVZmdFJ.js} +3 -3
  8. package/dist/{BusinessTypeSelectionPage-CYm_WsH_.js → BusinessTypeSelectionPage-yupMVCzr.js} +4 -4
  9. package/dist/{CreateIndividualComponent-CyPD165W.js → CreateIndividualComponent-0ye57Eu5.js} +3 -3
  10. package/dist/{CreateTransferInstrumentComponent-BafjhZa9.js → CreateTransferInstrumentComponent-Cw5cNYC5.js} +2 -2
  11. package/dist/{CustomerSupport-DIDqWNFX.js → CustomerSupport-BsZDxwv2.js} +5 -5
  12. package/dist/{DebugModal-UpQVHT_q.js → DebugModal-CgC7d1mP.js} +4 -4
  13. package/dist/{DecisionMakerDetailsPage-DiTxMRO1.js → DecisionMakerDetailsPage-CsxCXdBv.js} +17 -4
  14. package/dist/{DecisionMakers-Ud-BGGKi.js → DecisionMakers-BOPprU_c.js} +10 -15
  15. package/dist/{EmbeddedStatus-CHIsnanR.js → EmbeddedStatus-THcf_5VL.js} +3 -3
  16. package/dist/{EndStateLayout-Bamkt5E1.js → EndStateLayout-D4XztFnd.js} +1 -1
  17. package/dist/{FormFlow-DtrlYKNe.js → FormFlow-OxZkj1IL.js} +2 -2
  18. package/dist/{IndividualOnfidoDropin-Bl4C7i8c.js → IndividualOnfidoDropin-BGSe9ayX.js} +62 -32
  19. package/dist/{Introduction-BM2tvYp6.js → Introduction-Dvmyo9sy.js} +3 -3
  20. package/dist/{LegalRepresentativeDetailsPage-Ca8gWx8l.js → LegalRepresentativeDetailsPage-CwZCAmRs.js} +3 -3
  21. package/dist/{ManageIndividualComponent-BjpOoOjM.js → ManageIndividualComponent-C_S_ydis.js} +4 -4
  22. package/dist/{ManageTermsOfServiceComponent-DHiYfOP_.js → ManageTermsOfServiceComponent-BkLuO8oE.js} +4 -4
  23. package/dist/{ManageTransferInstrumentComponent-XvUQZO39.js → ManageTransferInstrumentComponent-C4WfYBDB.js} +4 -4
  24. package/dist/{OnboardingDropinComponent-CZ6XyzO0.js → OnboardingDropinComponent-BUmJ_JVk.js} +50 -77
  25. package/dist/{Review-C8Q-e2V9.js → Review-C5MFIBVb.js} +3 -3
  26. package/dist/{RootBusinessDetailsPage-DJh-Wy3Q.js → RootBusinessDetailsPage-C8ZJ4dmm.js} +7 -7
  27. package/dist/{RootIndividualDetailsPage-5TMDWEGP.js → RootIndividualDetailsPage-CU0x1BUz.js} +3 -3
  28. package/dist/{SignPCIComponent-Y9CAJCeq.js → SignPCIComponent-CPpNIBhs.js} +4 -4
  29. package/dist/{SingpassSelection-DW83QSoq.js → SingpassSelection-ByupuMKL.js} +18 -10
  30. package/dist/{SoleProprietorshipPage-_4zvEipu.js → SoleProprietorshipPage-CNKpPAjZ.js} +3 -3
  31. package/dist/{SourceOfFundsPage-fbIPy_3F.js → SourceOfFundsPage-CraH1Im8.js} +14 -19
  32. package/dist/{StoreProvider-x6yKbQFq.js → StoreProvider-BK6S-tUB.js} +448 -490
  33. package/dist/{TaskItemStatus-DZrstr0V.js → TaskItemStatus-BXv5vZOC.js} +2 -2
  34. package/dist/{TaskStatusIndicator-DuYR1LdO.js → TaskStatusIndicator-BqoOgtJU.js} +3 -3
  35. package/dist/{TaxReportingDropin-Cv2VQY06.js → TaxReportingDropin-BYn-rCQo.js} +11 -16
  36. package/dist/{TileGroup-DxfGzeKN.js → TileGroup-ByNEsfqA.js} +2 -2
  37. package/dist/{TrustDetailsPage-Cn3V324U.js → TrustDetailsPage-BXHPOkFC.js} +5 -5
  38. package/dist/{TrustMemberCompanyPage-DPT4oAoM.js → TrustMemberCompanyPage-D3JUt2oR.js} +4 -4
  39. package/dist/{TrustMemberIndividualPage-BRUijH_I.js → TrustMemberIndividualPage-BKwm2PD-.js} +3 -3
  40. package/dist/{UnincorporatedPartnershipIndividualPage-DuuEUcOp.js → UnincorporatedPartnershipIndividualPage-DJAy2tiA.js} +3 -3
  41. package/dist/{UnincorporatedPartnershipMemberCompanyPage-BaRjiIq8.js → UnincorporatedPartnershipMemberCompanyPage-C_4lVNk5.js} +3 -3
  42. package/dist/{VerificationErrorAlert-KB0B2Z-w.js → VerificationErrorAlert-CN-y2ZkT.js} +2 -2
  43. package/dist/{ViewVerificationStatusComponent-DAzhj8cn.js → ViewVerificationStatusComponent-DGo_V34u.js} +3 -3
  44. package/dist/adyen-business-financing.js +2 -2
  45. package/dist/adyen-individual.js +2 -2
  46. package/dist/adyen-kyc-components.js +14 -14
  47. package/dist/adyen-manage-individual.js +2 -2
  48. package/dist/adyen-manage-terms-of-service.js +2 -2
  49. package/dist/adyen-manage-transfer-instruments.js +2 -2
  50. package/dist/adyen-onboarding.js +2 -2
  51. package/dist/adyen-terms-of-service.js +2 -2
  52. package/dist/adyen-transfer-instrument.js +2 -2
  53. package/dist/adyen-verification-status.js +2 -2
  54. package/dist/{isIdNowModalOpen-DRTL61eQ.js → bafinUtils-WzgnLHUH.js} +51 -4
  55. package/dist/{digital-wallet-with-local-currencies-POeLD54e.js → digital-wallet-D_IpxnkN.js} +3 -3
  56. package/dist/en-US-TrwIHFh-.js +31 -0
  57. package/dist/{getFieldsWithExistingData-IBtwmkzo.js → getFieldsWithExistingData-CXFYcjIh.js} +2 -2
  58. package/dist/{hasDataChanged-jfUaeqmj.js → hasDataChanged-Bh_UrmLp.js} +2 -2
  59. package/dist/{localizeDateString-WPsz6b9a.js → localizeDateString-CWh-ttUS.js} +1 -1
  60. package/dist/{mapFinancialReportsToFinancialInformation-Dws6jTwF.js → mapFinancialReportsToFinancialInformation-CQMM1PgM.js} +2 -2
  61. package/dist/{resolveEnvironment-DzMwcE0P.js → resolveEnvironment-DtkNmlSt.js} +3 -3
  62. package/dist/{rules-Bs0GE4lO.js → rules-ByuGwTNE.js} +2 -2
  63. package/dist/types/api/configurations/useScenarios.d.ts +2 -1
  64. package/dist/types/api/idNowProvider/idNowProvider.types.d.ts +1 -1
  65. package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/idVerificationMethodMetadata.d.ts +3 -3
  66. package/dist/types/components/Individual/forms/IndividualOnfido/IdNowVerificationModal/isIdNowModalOpen.d.ts +1 -0
  67. package/dist/types/components/Individual/helpers/bafinUtils.d.ts +35 -0
  68. package/dist/types/components/Shared/SingpassBanner/ProviderButton/ProviderButton.d.ts +7 -0
  69. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  70. package/dist/types/components/ui/atoms/Button/Button.types.d.ts +1 -2
  71. package/dist/types/components/ui/atoms/Image/Image.d.ts +18 -0
  72. package/dist/types/components/ui/atoms/Remove/Remove.d.ts +1 -1
  73. package/dist/types/components/ui/atoms/Svg/svgs.d.ts +0 -64
  74. package/dist/types/components/ui/atoms/TaskStatusIndicator/TaskStatusIndicator.d.ts +1 -2
  75. package/dist/types/components/ui/molecules/DocumentGuidance/DocumentGuidance.types.d.ts +2 -3
  76. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  77. package/dist/{useMultiForm-Dd8QMW1a.js → useMultiForm-CiCxhoIc.js} +2 -2
  78. package/dist/{useOnboardingStatus-CnkkqgHk.js → useOnboardingStatus-DHu80m4m.js} +1 -1
  79. package/dist/{useTermsOfServiceStatus-Bo2R7-be.js → useTermsOfServiceStatus-ZzLl2fnP.js} +1 -1
  80. package/dist/{useUpdateLegalEntity-H61VFP32.js → useUpdateLegalEntity-CKaq6DPT.js} +2 -2
  81. package/dist/{utils-C2CTmvLO.js → utils-B2fOaECU.js} +4 -4
  82. package/dist/{validate-BmPFBT-A.js → validate-CaKWtDK0.js} +2 -2
  83. package/dist/{validate-Cg3P0WRF.js → validate-DWYqp_FY.js} +2 -2
  84. package/package.json +1 -1
  85. package/dist/adyen-a-filled-czhSM_bc.js +0 -14
  86. package/dist/arrow-left-Dtc2gya1.js +0 -14
  87. package/dist/document-plus-NwgAdjyB.js +0 -17
  88. package/dist/hide-CigAXbWC.js +0 -18
  89. package/dist/idea-DwJIwJHR.js +0 -18
  90. package/dist/instant-verification-method-BGfknV9x.js +0 -28
  91. package/dist/plus-small-Dj1WRyFM.js +0 -14
  92. package/dist/types/components/ui/atoms/ProviderButton/ProviderButton.d.ts +0 -3
  93. package/dist/types/components/ui/atoms/ProviderButton/ProviderButton.types.d.ts +0 -5
@@ -2,18 +2,18 @@
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] = "f9161a0c-13f9-40b0-9a52-43364cd1ce26", e._sentryDebugIdIdentifier = "sentry-dbid-f9161a0c-13f9-40b0-9a52-43364cd1ce26");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "af946f37-c473-417d-88bf-e1cfc9f196c2", e._sentryDebugIdIdentifier = "sentry-dbid-af946f37-c473-417d-88bf-e1cfc9f196c2");
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, useCallback } from "preact/hooks";
12
- import { a as useApiContext, bm as useInvalidateRootLegalEntity, bn as useMutation, t as httpPost, r as useQuery, B as skipToken, x as httpGet, a0 as createLogger, c as useTranslation, a3 as useAnalyticsContext, a9 as useToastContext, aa as useExperimentsContext, br as getLanguageCode, ay as useForm, K as Alert, G as Button, a6 as LoaderWrapper, aD as Field, bs as Select, bt as Checkbox, aS as ActionBar, bu as MaybeModal, bv as ModalContent, bw as ModalFooter, bx as StepProgressIndicator, by as Spacer, O as LegalEntityTypes, aj as getOwnSignatories, C as doesLegalEntityRequiresLegalRepresentative, z as getLegalRepresentative, aq as getLegalEntityNameBasedOnType, aQ as FormNavigation, d as useLegalEntity, R as ROOT_LE, L as Loader, $ as TaskTypes } from "./StoreProvider-x6yKbQFq.js";
13
- import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-Bo2R7-be.js";
14
- import { E as EndStateLayout } from "./EndStateLayout-Bamkt5E1.js";
12
+ import { a as useApiContext, bn as useInvalidateRootLegalEntity, bo as useMutation, t as httpPost, r as useQuery, B as skipToken, x as httpGet, a0 as createLogger, c as useTranslation, a3 as useAnalyticsContext, a9 as useToastContext, aa as useExperimentsContext, bs as getLanguageCode, az as useForm, K as Alert, G as Button, a6 as LoaderWrapper, aE as Field, bt as Select, bu as Checkbox, aT as ActionBar, bv as MaybeModal, bw as ModalContent, bx as ModalFooter, by as StepProgressIndicator, bz as Spacer, O as LegalEntityTypes, aj as getOwnSignatories, C as doesLegalEntityRequiresLegalRepresentative, z as getLegalRepresentative, ar as getLegalEntityNameBasedOnType, aR as FormNavigation, d as useLegalEntity, R as ROOT_LE, L as Loader, $ as TaskTypes } from "./StoreProvider-BK6S-tUB.js";
13
+ import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-ZzLl2fnP.js";
14
+ import { E as EndStateLayout } from "./EndStateLayout-D4XztFnd.js";
15
15
  import { d as downloadFile } from "./file-CiG1D0zy.js";
16
- import { l as localizeDateString } from "./localizeDateString-WPsz6b9a.js";
16
+ import { l as localizeDateString } from "./localizeDateString-CWh-ttUS.js";
17
17
  import { C as ContractViewer } from "./ContractViewer-B2LwC3wV.js";
18
18
  const acceptTermsOfService = async (legalEntityId, baseUrl, termsOfServiceDocumentId, data) => {
19
19
  return httpPost(
@@ -8,8 +8,8 @@
8
8
  }
9
9
  ;
10
10
  import { jsxs, jsx } from "preact/jsx-runtime";
11
- import { c as useTranslation, A as AlertIcon, F as FormHeader } from "./StoreProvider-x6yKbQFq.js";
12
- import { D as DropinLayout } from "./OnboardingDropinComponent-CZ6XyzO0.js";
11
+ import { c as useTranslation, A as AlertIcon, F as FormHeader } from "./StoreProvider-BK6S-tUB.js";
12
+ import { D as DropinLayout } from "./OnboardingDropinComponent-BUmJ_JVk.js";
13
13
  function AccountSetupRejected() {
14
14
  const { t } = useTranslation();
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 { a7 as Icon } from "./StoreProvider-x6yKbQFq.js";
12
+ import { a7 as Icon } from "./StoreProvider-BK6S-tUB.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] = "fbf2f2fc-e22c-45ee-a4cc-38b980c11b99", e._sentryDebugIdIdentifier = "sentry-dbid-fbf2f2fc-e22c-45ee-a4cc-38b980c11b99");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5e1f42b3-0acc-4120-9494-ffbf31e94c9d", e._sentryDebugIdIdentifier = "sentry-dbid-5e1f42b3-0acc-4120-9494-ffbf31e94c9d");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
- import { u as useI18nContext, dy as MemoizedDocumentUpload, G as Button, be as Modal, bv as ModalContent, N as Typography, as as CountryCodes, Y as CompanyTypesValues, f0 as useGlobalData, eS as getForms, $ as TaskTypes, f1 as BasicInformation, ds as getFormProps, f2 as CompanyStructure, f3 as AdditionalInformation, eM as MemoizedConstitutionalDocument, O as LegalEntityTypes, eL as FinancialInformation, ch as getDocument, ci as mapExistingFile, cj as getPageName, bB as formatObject, bk as entriesOf, ba as businessDetailsComponentsKeyMapping, f4 as solePropBusinessDetailsKeyMapping, f5 as getDefaultRegistrationNumberType, f6 as getDefaultVatNumberType, b3 as objectsDeepEqual, d_ as operationalAddressIsSameIds, eO as COUNTRIES_USING_COMPANY_SEARCH, f7 as FIELDS_NEEDED_FOR_COMPANY_SEARCH, dj as keysOf, i as isUndefinedOrNull, dL as isDateOlderThanAYear, aN as summaryItem, f8 as solePropBusinessDetailsApiKeyMapping, e$ as businessDetailsApiKeyMapping, f9 as isRegistrationNumberAbsentStateV4Scenario, co as isEmpty, fa as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, cm as createDocumentRequest, bc as datasetUtilities, cI as mapAddressLabels, eK as companyTypeMetadata, a0 as createLogger, cH as filterOutUnwantedAssociationsIfRootLE, bV as isValidationError, bW as processValidationErrors, bX as isMaintenanceModeError, fb as getProp, at as isEmpty$1, fc as documentFormsIds, av as resolveFieldMetadata, e8 as registrationNumberDefaultFieldMetadata, fd as inferCompanyRegistrationNumberType, fe as getCompanyRegistrationNumberOptions, e9 as registrationNumberDefaultFieldConfig, cc as taxInformationDefaultFieldMetadata, ff as countryToTaxInfoTypeMap, cd as taxInformationDefaultFieldConfig, fg as getKeyForField, cq as drop, ao as getOwnEntityAssociations, cR as doArraysMatch, cN as getFileExtention, X as useAccountHolder, a9 as useToastContext, a3 as useAnalyticsContext, aa as useExperimentsContext, v as useSettingsContext, a as useApiContext, dV as verifiedBusiness, bp as useQueryClient, fh as useStateContext, w as SettingNames, fi as setIsBankAccountRequestedForOrganization, bQ as getAssociatedLeAnalyticsPayload, bd as getCapabilityProblems, cr as documentApiUtils, cF as composePerScenarioFormConfigurations, cz as useScenarioConfiguration, eW as rules, cA as getPropsFromConfigurations, eX as useCompanySearch, fj as useCompanySelection, eY as useVerifyTin, bR as getRequiredForms, bS as addValidityToForms, fk as useClearCompanyData, bT as useFormComposer, fl as setVerifiedBusiness, fm as FormWrapper, bg as Confirm, fn as solePropBusinessDetailsDocumentMapping, e_ as businessDetailsDocumentMapping } from "./StoreProvider-x6yKbQFq.js";
11
+ import { u as useI18nContext, dz as MemoizedDocumentUpload, G as Button, bf as Modal, bw as ModalContent, N as Typography, at as CountryCodes, Y as CompanyTypesValues, f1 as useGlobalData, eT as getForms, $ as TaskTypes, f2 as BasicInformation, dt as getFormProps, f3 as CompanyStructure, f4 as AdditionalInformation, eN as MemoizedConstitutionalDocument, O as LegalEntityTypes, eM as FinancialInformation, ci as getDocument, cj as mapExistingFile, ck as getPageName, bC as formatObject, bl as entriesOf, b9 as businessDetailsComponentsKeyMapping, f5 as solePropBusinessDetailsKeyMapping, f6 as getDefaultRegistrationNumberType, f7 as getDefaultVatNumberType, b4 as objectsDeepEqual, d$ as operationalAddressIsSameIds, eP as COUNTRIES_USING_COMPANY_SEARCH, f8 as FIELDS_NEEDED_FOR_COMPANY_SEARCH, dk as keysOf, i as isUndefinedOrNull, dM as isDateOlderThanAYear, aO as summaryItem, f9 as solePropBusinessDetailsApiKeyMapping, f0 as businessDetailsApiKeyMapping, fa as isRegistrationNumberAbsentStateV4Scenario, cp as isEmpty, fb as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, cn as createDocumentRequest, bd as datasetUtilities, cJ as mapAddressLabels, eL as companyTypeMetadata, a0 as createLogger, cI as filterOutUnwantedAssociationsIfRootLE, bW as isValidationError, bX as processValidationErrors, bY as isMaintenanceModeError, fc as getProp, au as isEmpty$1, fd as documentFormsIds, aw as resolveFieldMetadata, e9 as registrationNumberDefaultFieldMetadata, fe as inferCompanyRegistrationNumberType, ff as getCompanyRegistrationNumberOptions, ea as registrationNumberDefaultFieldConfig, cd as taxInformationDefaultFieldMetadata, fg as countryToTaxInfoTypeMap, ce as taxInformationDefaultFieldConfig, fh as getKeyForField, cr as drop, ap as getOwnEntityAssociations, cS as doArraysMatch, cO as getFileExtention, X as useAccountHolder, a9 as useToastContext, a3 as useAnalyticsContext, aa as useExperimentsContext, v as useSettingsContext, a as useApiContext, dW as verifiedBusiness, bq as useQueryClient, fi as useStateContext, w as SettingNames, fj as setIsBankAccountRequestedForOrganization, bR as getAssociatedLeAnalyticsPayload, be as getCapabilityProblems, cs as documentApiUtils, cG as composePerScenarioFormConfigurations, cA as useScenarioConfiguration, eX as rules, cB as getPropsFromConfigurations, eY as useCompanySearch, fk as useCompanySelection, eZ as useVerifyTin, bS as getRequiredForms, bT as addValidityToForms, fl as useClearCompanyData, bU as useFormComposer, fm as setVerifiedBusiness, fn as FormWrapper, bh as Confirm, fo as solePropBusinessDetailsDocumentMapping, e$ as businessDetailsDocumentMapping } from "./StoreProvider-BK6S-tUB.js";
12
12
  import { useState, useEffect, useRef, useMemo, useCallback } from "preact/hooks";
13
- import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-H61VFP32.js";
14
- import { h as hasDataChanged } from "./hasDataChanged-jfUaeqmj.js";
15
- import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-C2CTmvLO.js";
16
- import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-IBtwmkzo.js";
13
+ import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-CKaq6DPT.js";
14
+ import { h as hasDataChanged } from "./hasDataChanged-Bh_UrmLp.js";
15
+ import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-B2fOaECU.js";
16
+ import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-CXFYcjIh.js";
17
17
  import cx from "classnames";
18
- import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-Dws6jTwF.js";
18
+ import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-CQMM1PgM.js";
19
19
  import { a as mapApiScriptLocalizationToSchemaFields, m as mapSchemaFieldsToApiScriptLocalization } from "./mapScriptLocalization-H2Re3k5X.js";
20
20
  import { f as formatCurrency } from "./formatCurrency-CMOSdJMB.js";
21
21
  const stripWhitespace = (str) => str.replace(/\s/g, "");
@@ -2,15 +2,15 @@
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] = "e0ca6f85-dbdc-4235-9aa2-3d243dfd6295", e._sentryDebugIdIdentifier = "sentry-dbid-e0ca6f85-dbdc-4235-9aa2-3d243dfd6295");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d0ea262c-7f52-4970-ad12-8f95b3c4fa8e", e._sentryDebugIdIdentifier = "sentry-dbid-d0ea262c-7f52-4970-ad12-8f95b3c4fa8e");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import { useMemo } from "preact/hooks";
12
- import { d as useLegalEntity, g as getLegalEntityCountry, L as Loader } from "./StoreProvider-x6yKbQFq.js";
13
- import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-D_LThoGS.js";
12
+ import { d as useLegalEntity, g as getLegalEntityCountry, L as Loader } from "./StoreProvider-BK6S-tUB.js";
13
+ import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-CuF4P-yp.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] = "ee267a00-4273-4012-842f-2a0869333a56", e._sentryDebugIdIdentifier = "sentry-dbid-ee267a00-4273-4012-842f-2a0869333a56");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f395cbc6-8688-45ae-adc9-dfec751aebae", e._sentryDebugIdIdentifier = "sentry-dbid-f395cbc6-8688-45ae-adc9-dfec751aebae");
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-H61VFP32.js";
13
- import { bA as reverseMapping, bB as formatObject, bC as isEeaCountry, O as LegalEntityTypes, bi as cloneObject, a as useApiContext, r as useQuery, x as httpGet, u as useI18nContext, aD as Field, bs as Select, c as useTranslation, N as Typography, M as translateStringOrObject, bD as LegalFormField, aC as createFormUtils, a_ as RadioGroup, bE as Link, bF as InputText, bj as currencyByCountry, bG as InputNumber, bH as Currency, bI as CURRENCY_FIELD, bJ as InputCurrency, bK as InputDate, bL as useFormContext, az as getFieldProps, aB as ErrorPanel, bc as datasetUtilities, bM as getAddressSchemaForCountry, bN as COUNTRIES_WITH_STATES_DATASET, bt as Checkbox, bO as Address, bP as getAddressSchemaLabelsByCountry, a3 as useAnalyticsContext, bm as useInvalidateRootLegalEntity, ar as useAssociatedLegalEntity, a9 as useToastContext, v as useSettingsContext, w as SettingNames, bQ as getAssociatedLeAnalyticsPayload, bR as getRequiredForms, bS as addValidityToForms, bT as useFormComposer, bU as trackNavigation, L as Loader, G as Button, bV as isValidationError, bW as processValidationErrors, bX as isMaintenanceModeError } from "./StoreProvider-x6yKbQFq.js";
14
- import { F as FormContextProvider, a as FormFlow } from "./FormFlow-DtrlYKNe.js";
15
- import { u as useMultiForm } from "./useMultiForm-Dd8QMW1a.js";
16
- import { E as EndStateLayout } from "./EndStateLayout-Bamkt5E1.js";
17
- import { l as localizeDateString } from "./localizeDateString-WPsz6b9a.js";
18
- import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-Dws6jTwF.js";
19
- import { b as businessFinancingMultiformRules } from "./validate-Cg3P0WRF.js";
12
+ import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-CKaq6DPT.js";
13
+ import { bB as reverseMapping, bC as formatObject, bD as isEeaCountry, O as LegalEntityTypes, bj as cloneObject, a as useApiContext, r as useQuery, x as httpGet, u as useI18nContext, aE as Field, bt as Select, c as useTranslation, N as Typography, M as translateStringOrObject, bE as LegalFormField, aD as createFormUtils, a$ as RadioGroup, bF as Link, bG as InputText, bk as currencyByCountry, bH as InputNumber, bI as Currency, bJ as CURRENCY_FIELD, bK as InputCurrency, bL as InputDate, bM as useFormContext, aA as getFieldProps, aC as ErrorPanel, bd as datasetUtilities, bN as getAddressSchemaForCountry, bO as COUNTRIES_WITH_STATES_DATASET, bu as Checkbox, bP as Address, bQ as getAddressSchemaLabelsByCountry, a3 as useAnalyticsContext, bn as useInvalidateRootLegalEntity, as as useAssociatedLegalEntity, a9 as useToastContext, v as useSettingsContext, w as SettingNames, bR as getAssociatedLeAnalyticsPayload, bS as getRequiredForms, bT as addValidityToForms, bU as useFormComposer, bV as trackNavigation, L as Loader, G as Button, bW as isValidationError, bX as processValidationErrors, bY as isMaintenanceModeError } from "./StoreProvider-BK6S-tUB.js";
14
+ import { F as FormContextProvider, a as FormFlow } from "./FormFlow-OxZkj1IL.js";
15
+ import { u as useMultiForm } from "./useMultiForm-CiCxhoIc.js";
16
+ import { E as EndStateLayout } from "./EndStateLayout-D4XztFnd.js";
17
+ import { l as localizeDateString } from "./localizeDateString-CWh-ttUS.js";
18
+ import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-CQMM1PgM.js";
19
+ import { b as businessFinancingMultiformRules } from "./validate-DWYqp_FY.js";
20
20
  const businessFinancingBaseMapping = {
21
21
  legalProceedingsDate: "organization.dateOfInitiationOfLegalProceeding",
22
22
  legalInformationInsolvency: "organization.statusOfLegalProceeding",
@@ -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] = "02c271af-1582-4094-88ad-fcf2c6a675a0", e._sentryDebugIdIdentifier = "sentry-dbid-02c271af-1582-4094-88ad-fcf2c6a675a0");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "57b4f4ac-00dd-4322-a653-05cdd45983f1", e._sentryDebugIdIdentifier = "sentry-dbid-57b4f4ac-00dd-4322-a653-05cdd45983f1");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
- import { u as useI18nContext, d as useLegalEntity, R as ROOT_LE, L as Loader, g as getLegalEntityCountry } from "./StoreProvider-x6yKbQFq.js";
12
- import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-D_LThoGS.js";
11
+ import { u as useI18nContext, d as useLegalEntity, R as ROOT_LE, L as Loader, g as getLegalEntityCountry } from "./StoreProvider-BK6S-tUB.js";
12
+ import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-CuF4P-yp.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] = "bf145e49-f770-449b-90c0-e9dbdfee8acb", e._sentryDebugIdIdentifier = "sentry-dbid-bf145e49-f770-449b-90c0-e9dbdfee8acb");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a8f3697d-2e74-4ced-b75e-c9659bfc325a", e._sentryDebugIdIdentifier = "sentry-dbid-a8f3697d-2e74-4ced-b75e-c9659bfc325a");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
- import { a0 as createLogger, c as useTranslation, a3 as useAnalyticsContext, a9 as useToastContext, aa as useExperimentsContext, X as useAccountHolder, dR as getCapabilities, g as getLegalEntityCountry, O as LegalEntityTypes, ay as useForm, a6 as LoaderWrapper, N as Typography, aD as Field, dS as EntityTypeRadioGroupCard, aG as RadioGroupCard, G as Button, by as Spacer, a7 as Icon, d as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-x6yKbQFq.js";
11
+ import { a0 as createLogger, c as useTranslation, a3 as useAnalyticsContext, a9 as useToastContext, aa as useExperimentsContext, X as useAccountHolder, dS as getCapabilities, g as getLegalEntityCountry, O as LegalEntityTypes, az as useForm, a6 as LoaderWrapper, N as Typography, aE as Field, dT as EntityTypeRadioGroupCard, aH as RadioGroupCard, G as Button, bz as Spacer, a7 as Icon, d as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-BK6S-tUB.js";
12
12
  import { useState, useEffect } from "preact/hooks";
13
- import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-H61VFP32.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-C2CTmvLO.js";
13
+ import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-CKaq6DPT.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-B2fOaECU.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) => {
@@ -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] = "7065a916-956d-48af-963d-fd177b08ed34", e._sentryDebugIdIdentifier = "sentry-dbid-7065a916-956d-48af-963d-fd177b08ed34");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "947cf5f8-ba6a-477c-91d2-3c610fba73eb", e._sentryDebugIdIdentifier = "sentry-dbid-947cf5f8-ba6a-477c-91d2-3c610fba73eb");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
- import { d as useLegalEntity, af as useCapabilityProblems, aa as useExperimentsContext, L as Loader, g as getLegalEntityCountry, b7 as getProblemsForEntity, Z as EntityTypes, b8 as isOnfidoAutofillFlowEnabled, $ as TaskTypes } from "./StoreProvider-x6yKbQFq.js";
12
- import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-Bl4C7i8c.js";
11
+ import { d as useLegalEntity, af as useCapabilityProblems, aa as useExperimentsContext, L as Loader, g as getLegalEntityCountry, b6 as getProblemsForEntity, Z as EntityTypes, b7 as isOnfidoAutofillFlowEnabled, $ as TaskTypes } from "./StoreProvider-BK6S-tUB.js";
12
+ import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BGSe9ayX.js";
13
13
  const CreateIndividualComponent = ({
14
14
  legalEntityId,
15
15
  onSubmitSuccess,
@@ -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] = "f430550a-7e79-4a11-8d2e-f1dac5c175b3", e._sentryDebugIdIdentifier = "sentry-dbid-f430550a-7e79-4a11-8d2e-f1dac5c175b3");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "40f6464b-fd31-4f87-8e1e-ba52aa3b76c7", e._sentryDebugIdIdentifier = "sentry-dbid-40f6464b-fd31-4f87-8e1e-ba52aa3b76c7");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import { useState } from "preact/hooks";
12
- import { d as useLegalEntity, ar as useAssociatedLegalEntity, O as LegalEntityTypes, L as Loader, bb as PayoutDetailsDropin, $ as TaskTypes } from "./StoreProvider-x6yKbQFq.js";
12
+ import { d as useLegalEntity, as as useAssociatedLegalEntity, O as LegalEntityTypes, L as Loader, bc as PayoutDetailsDropin, $ as TaskTypes } from "./StoreProvider-BK6S-tUB.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] = "3387436b-b6c7-4aab-8e51-d69ff38cf2c5", e._sentryDebugIdIdentifier = "sentry-dbid-3387436b-b6c7-4aab-8e51-d69ff38cf2c5");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a387e0d1-eaf5-4a16-b7ed-22c50efb6d41", e._sentryDebugIdIdentifier = "sentry-dbid-a387e0d1-eaf5-4a16-b7ed-22c50efb6d41");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
- import { d as useLegalEntity, R as ROOT_LE, L as Loader, c as useTranslation, a3 as useAnalyticsContext, a9 as useToastContext, bp as useQueryClient, av as resolveFieldMetadata, ca as defaultFieldMetadata, cb as fieldConfig, cv as getAsyncPhoneValidationRules, F as FormHeader, di as ContactDetails, aS as ActionBar, a0 as createLogger } from "./StoreProvider-x6yKbQFq.js";
11
+ import { d as useLegalEntity, R as ROOT_LE, L as Loader, c as useTranslation, a3 as useAnalyticsContext, a9 as useToastContext, bq as useQueryClient, aw as resolveFieldMetadata, cb as defaultFieldMetadata, cc as fieldConfig, cw as getAsyncPhoneValidationRules, F as FormHeader, dj as ContactDetails, aT as ActionBar, a0 as createLogger } from "./StoreProvider-BK6S-tUB.js";
12
12
  import { useCallback, useMemo, useEffect } from "preact/hooks";
13
- import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-H61VFP32.js";
14
- import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-BmPFBT-A.js";
15
- import { u as useMultiForm } from "./useMultiForm-Dd8QMW1a.js";
13
+ import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-CKaq6DPT.js";
14
+ import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-CaKWtDK0.js";
15
+ import { u as useMultiForm } from "./useMultiForm-CiCxhoIc.js";
16
16
  const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
17
17
  return {
18
18
  email: customerSupport?.customerSupport?.email || "",
@@ -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] = "7dd497a0-8ee7-404c-98ba-20c864f09bf2", e._sentryDebugIdIdentifier = "sentry-dbid-7dd497a0-8ee7-404c-98ba-20c864f09bf2");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "216f65f9-0c72-49ab-af61-faac4c902731", e._sentryDebugIdIdentifier = "sentry-dbid-216f65f9-0c72-49ab-af61-faac4c902731");
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 { G as Button, bk as entriesOf, bF as InputText, c as useTranslation, dO as splitTaskIdentifier, aa as useExperimentsContext, v as useSettingsContext, u as useI18nContext, ag as useGlobalStore, dl as listToRecord, dP as valuesOf, be as Modal, a0 as createLogger, a7 as Icon, w as SettingNames, dQ as ExperimentNames } from "./StoreProvider-x6yKbQFq.js";
12
+ import { G as Button, bl as entriesOf, bG as InputText, c as useTranslation, dP as splitTaskIdentifier, aa as useExperimentsContext, v as useSettingsContext, u as useI18nContext, ag as useGlobalStore, dm as listToRecord, dQ as valuesOf, bf as Modal, a0 as createLogger, a7 as Icon, w as SettingNames, dR as ExperimentNames } from "./StoreProvider-BK6S-tUB.js";
13
13
  import { T as Tag } from "./Tag-DdkVScyr.js";
14
14
  import MonogonCode from "monogon/preact";
15
- import { T as TaskItemStatus } from "./TaskItemStatus-DZrstr0V.js";
15
+ import { T as TaskItemStatus } from "./TaskItemStatus-BXv5vZOC.js";
16
16
  const tabs = "adyen-kyc-tabs";
17
17
  const styles$2 = {
18
18
  tabs
@@ -239,7 +239,7 @@ const DebugModal = ({ onExit }) => {
239
239
  const [tab, setTab] = useState("metadata");
240
240
  const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
241
241
  const metadata = {
242
- sdkVersion: "3.81.0-beta.4",
242
+ sdkVersion: "3.81.0-beta.5",
243
243
  locale: i18n.locale,
244
244
  rootLegalEntityId: rootLegalEntity.id
245
245
  };
@@ -2,14 +2,15 @@
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] = "001872f3-23f7-4342-baf0-c5106a130976", e._sentryDebugIdIdentifier = "sentry-dbid-001872f3-23f7-4342-baf0-c5106a130976");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d6168696-7db4-4211-9d9f-193fc413932d", e._sentryDebugIdIdentifier = "sentry-dbid-d6168696-7db4-4211-9d9f-193fc413932d");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
- import { d as useLegalEntity, B as skipToken, af as useCapabilityProblems, aa as useExperimentsContext, L as Loader, g as getLegalEntityCountry, b7 as getProblemsForEntity, b8 as isOnfidoAutofillFlowEnabled, a8 as noop, $ as TaskTypes, Z as EntityTypes } from "./StoreProvider-x6yKbQFq.js";
12
- import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-Bl4C7i8c.js";
11
+ import { d as useLegalEntity, B as skipToken, af as useCapabilityProblems, aa as useExperimentsContext, cy as useScenarios, g as getLegalEntityCountry, L as Loader, b6 as getProblemsForEntity, b7 as isOnfidoAutofillFlowEnabled, a8 as noop, $ as TaskTypes, Z as EntityTypes, O as LegalEntityTypes } from "./StoreProvider-BK6S-tUB.js";
12
+ import { i as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory } from "./bafinUtils-WzgnLHUH.js";
13
+ import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BGSe9ayX.js";
13
14
  function DecisionMakerDetailsPage({
14
15
  decisionMakerId,
15
16
  parentCompanyId,
@@ -29,11 +30,23 @@ function DecisionMakerDetailsPage({
29
30
  const { data: parentCompanyLe } = useLegalEntity(parentCompanyId ?? skipToken);
30
31
  const capabilityProblems = useCapabilityProblems();
31
32
  const { isExperimentEnabled } = useExperimentsContext();
33
+ const { data: scenarios } = useScenarios(
34
+ (parentCompanyLe && getLegalEntityCountry(parentCompanyLe)) ?? skipToken,
35
+ LegalEntityTypes.INDIVIDUAL
36
+ );
32
37
  if (!parentCompanyLe || decisionMakerId && !decisionMakerLe) {
33
38
  return /* @__PURE__ */ jsx(Loader, {});
34
39
  }
35
40
  const country = getLegalEntityCountry(decisionMakerLe ?? parentCompanyLe);
36
- const problems = capabilityProblems && decisionMakerId ? getProblemsForEntity(capabilityProblems, EntityTypes.LEGAL_ENTITY, decisionMakerId) : void 0;
41
+ let problems = capabilityProblems && decisionMakerId ? getProblemsForEntity(capabilityProblems, EntityTypes.LEGAL_ENTITY, decisionMakerId) : void 0;
42
+ if (problems && parentCompanyLe && decisionMakerLe && scenarios) {
43
+ const associatedDecisionMaker = parentCompanyLe.entityAssociations?.find(
44
+ (association) => association.legalEntityId === decisionMakerLe.id
45
+ );
46
+ if (isBafinSignatoryFlow({ taskType, data: associatedDecisionMaker, scenarios })) {
47
+ problems = removeIdVerificationProblemsForBafinSignatory(problems);
48
+ }
49
+ }
37
50
  const isOnfidoAutofillFlow = isOnfidoAutofillFlowEnabled(
38
51
  country,
39
52
  TaskTypes.DECISION_MAKER,
@@ -2,21 +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] = "c942cccf-b4aa-46fd-9a20-6a37a6224833", e._sentryDebugIdIdentifier = "sentry-dbid-c942cccf-b4aa-46fd-9a20-6a37a6224833");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "aaa6ef03-d2dd-49a1-89c9-d371365a793b", e._sentryDebugIdIdentifier = "sentry-dbid-aaa6ef03-d2dd-49a1-89c9-d371365a793b");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
11
11
  import { useState, useEffect } from "preact/hooks";
12
- import { a7 as Icon, c as useTranslation, d as useLegalEntity, G as Button, be as Modal, L as Loader, aO as getRoleName, bg as Confirm, u as useI18nContext, N as Typography, K as Alert, a3 as useAnalyticsContext, H as Svg, R as ROOT_LE, ad as useGetTaskStatus, aa as useExperimentsContext, a9 as useToastContext, af as useCapabilityProblems, bz as getOwnDecisionMakers, cx as useScenarios, cV as getAvailableDecisionMakerRoleTypes, $ as TaskTypes, cD as getAllowedDecisionMakerRoles, F as FormHeader, aZ as ContextGuidance, aX as Trans, b5 as DecisionMakerTypes, ae as CardGroup, aS as ActionBar, O as LegalEntityTypes } from "./StoreProvider-x6yKbQFq.js";
13
- import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-H61VFP32.js";
14
- import { e as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, f as EntityAssociation } from "./OnboardingDropinComponent-CZ6XyzO0.js";
12
+ import { a7 as Icon, c as useTranslation, d as useLegalEntity, G as Button, bf as Modal, L as Loader, aP as getRoleName, bh as Confirm, u as useI18nContext, N as Typography, K as Alert, a3 as useAnalyticsContext, ao as Image, R as ROOT_LE, ad as useGetTaskStatus, aa as useExperimentsContext, a9 as useToastContext, af as useCapabilityProblems, bA as getOwnDecisionMakers, cy as useScenarios, cW as getAvailableDecisionMakerRoleTypes, $ as TaskTypes, cE as getAllowedDecisionMakerRoles, F as FormHeader, a_ as ContextGuidance, aY as Trans, ba as DecisionMakerTypes, ae as CardGroup, aT as ActionBar, O as LegalEntityTypes } from "./StoreProvider-BK6S-tUB.js";
13
+ import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-CKaq6DPT.js";
14
+ import { e as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, f as EntityAssociation } from "./OnboardingDropinComponent-BUmJ_JVk.js";
15
15
  import cx from "classnames";
16
- import { A as Avatar } from "./Avatar-CoTOHJwb.js";
17
- import { T as TaskStatusIndicator } from "./TaskStatusIndicator-DuYR1LdO.js";
16
+ import { A as Avatar } from "./Avatar-D11TdIAz.js";
17
+ import { T as TaskStatusIndicator } from "./TaskStatusIndicator-BqoOgtJU.js";
18
18
  import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
19
- import { S as StackLayout, L as LandingLayout } from "./isIdNowModalOpen-DRTL61eQ.js";
19
+ import { S as StackLayout, L as LandingLayout } from "./bafinUtils-WzgnLHUH.js";
20
+ import { lazy } from "preact/compat";
20
21
  const listItem = "adyen-kyc-list-item";
21
22
  const listItemInteractive = "adyen-kyc-list-item-interactive";
22
23
  const listItemText = "adyen-kyc-list-item-text";
@@ -145,6 +146,7 @@ const DecisionMakersModalContent = () => {
145
146
  /* @__PURE__ */ jsx(Typography, { el: "p", className: "adyen-kyc-u-margin-bottom-32", children: i18n.get("ownersAndDecisionMakersDescriptionA4") })
146
147
  ] });
147
148
  };
149
+ const decisionMakerGroup = lazy(() => import("./decision-makers-group-CgddXgrx.js"));
148
150
  const DecisionMakersGettingStarted = ({
149
151
  addDecisionMakerOnClick,
150
152
  handleCancelClick
@@ -170,14 +172,7 @@ const DecisionMakersGettingStarted = ({
170
172
  /* @__PURE__ */ jsx(
171
173
  LandingLayout,
172
174
  {
173
- media: /* @__PURE__ */ jsx(
174
- Svg,
175
- {
176
- type: "image",
177
- testId: "decision-makers-getting-started-icon",
178
- name: "decision-makers-group"
179
- }
180
- ),
175
+ media: /* @__PURE__ */ jsx(Image, { lazyLoadedImage: decisionMakerGroup }),
181
176
  title: i18n.get("ownersAndDecisionMakers"),
182
177
  description: i18n.get("ownersAndDecisionMakersDescription"),
183
178
  helpAction: /* @__PURE__ */ jsx(Button, { variant: "link", onClick: openModal, fullWidth: true, children: i18n.get("learnMore") }),
@@ -2,15 +2,15 @@
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] = "329b7a5a-166f-4da4-9867-7c3c1020ed02", e._sentryDebugIdIdentifier = "sentry-dbid-329b7a5a-166f-4da4-9867-7c3c1020ed02");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "cb646361-5441-42e9-9cc9-49ab9d80f815", e._sentryDebugIdIdentifier = "sentry-dbid-cb646361-5441-42e9-9cc9-49ab9d80f815");
6
6
  } catch (e) {
7
7
  }
8
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-CoTOHJwb.js";
13
- import { a1 as TaskStatuses, c as useTranslation, J as Skeleton, N as Typography } from "./StoreProvider-x6yKbQFq.js";
12
+ import { A as Avatar } from "./Avatar-D11TdIAz.js";
13
+ import { a1 as TaskStatuses, c as useTranslation, J as Skeleton, N as Typography } from "./StoreProvider-BK6S-tUB.js";
14
14
  import { T as Tag } from "./Tag-DdkVScyr.js";
15
15
  import { O as OnboardingStatuses } from "./view-verification-status-VFcBydkR.js";
16
16
  const embeddedStatus = "adyen-kyc-embedded-status";
@@ -10,7 +10,7 @@
10
10
  import { jsxs, jsx } from "preact/jsx-runtime";
11
11
  import cx from "classnames";
12
12
  import { isValidElement, cloneElement } from "preact";
13
- import { G as Button, L as Loader, a7 as Icon } from "./StoreProvider-x6yKbQFq.js";
13
+ import { G as Button, L as Loader, a7 as Icon } from "./StoreProvider-BK6S-tUB.js";
14
14
  const endStateLayout = "adyen-kyc-end-state-layout";
15
15
  const endStateLayoutHeader = "adyen-kyc-end-state-layout-header";
16
16
  const endStateLayoutIcon = "adyen-kyc-end-state-layout-icon";
@@ -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] = "857a3874-9e23-4f1b-8f52-386d1de07dea", e._sentryDebugIdIdentifier = "sentry-dbid-857a3874-9e23-4f1b-8f52-386d1de07dea");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b745e065-bff2-4371-915c-f6a2319fdae8", e._sentryDebugIdIdentifier = "sentry-dbid-b745e065-bff2-4371-915c-f6a2319fdae8");
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, a3 as useAnalyticsContext, c as useTranslation, bu as MaybeModal, a6 as LoaderWrapper, dF as FormRouterContextProvider, aR as Summary, G as Button, a2 as IconButton, bg as Confirm } from "./StoreProvider-x6yKbQFq.js";
12
+ import { dF as FormContext, a3 as useAnalyticsContext, c as useTranslation, bv as MaybeModal, a6 as LoaderWrapper, dG as FormRouterContextProvider, aS as Summary, G as Button, a2 as IconButton, bh as Confirm } from "./StoreProvider-BK6S-tUB.js";
13
13
  import cx from "classnames";
14
14
  function FormContextProvider({
15
15
  children,