@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,24 +2,24 @@
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] = "ffc05471-12b2-477a-92c7-75a231f6b5ac", e._sentryDebugIdIdentifier = "sentry-dbid-ffc05471-12b2-477a-92c7-75a231f6b5ac");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "bbf326c1-e75e-4a70-8fd8-e431cb509021", e._sentryDebugIdIdentifier = "sentry-dbid-bbf326c1-e75e-4a70-8fd8-e431cb509021");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
- import { a as useApiContext, r as useQuery, t as httpPost, v as useSettingsContext, w as SettingNames, x as httpGet, y as useLocalStorage, z as getLegalRepresentative, d as useLegalEntity, B as skipToken, C as doesLegalEntityRequiresLegalRepresentative, c as useTranslation, G as Button, H as Svg, J as Skeleton, K as Alert, M as translateStringOrObject, N as Typography, O as LegalEntityTypes, P as isPartOfTrustFromLegalEntity, U as hasSolePropInLegalEntity, V as hasOwnEntityAssociationOfType, W as isEmptyEntity, X as useAccountHolder, Y as CompanyTypesValues, Z as EntityTypes, _ as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, $ as TaskTypes, a0 as createLogger, a1 as TaskStatuses, a2 as IconButton, a3 as useAnalyticsContext, a4 as Card, a5 as handleKeys, a6 as LoaderWrapper, a7 as Icon, a8 as noop, a9 as useToastContext, aa as useExperimentsContext, ab as isInstantVerifiedAccount, ac as getObscuredAccountNumber, ad as useGetTaskStatus, ae as CardGroup, R as ROOT_LE, af as useCapabilityProblems, L as Loader, ag as useGlobalStore, ah as useSetting, ai as isPartOfUnincorporatedPartnership, aj as getOwnSignatories, ak as getOwnDecisionMakersLegalEntityIds, al as getOwnSolePropProblems, am as getOwnTrustProblems, an as getOwnUnincorporatedPartnershipProblems, ao as getOwnEntityAssociations, ap as TrustMemberTypes, aq as getLegalEntityNameBasedOnType, ar as useAssociatedLegalEntity, u as useI18nContext, as as CountryCodes, at as isEmpty, au as mergeFieldMetadataIntoProps, av as resolveFieldMetadata, aw as defaultFieldMetadata, ax as defaultFieldConfig, ay as useForm, az as getFieldProps, aA as nameFields, F as FormHeader, aB as ErrorPanel, aC as createFormUtils, aD as Field, aE as MultiSelectList, aF as makeSelectItemForRole, aG as RadioGroupCard, aH as TextArea, aI as Name, aJ as CountryField, aK as COUNTRY_FIELD, aL as LegalCompanyNameField, aM as LEGAL_COMPANY_NAME_FIELD, aN as summaryItem, aO as getRoleName, aP as summaryStep, aQ as FormNavigation, aR as Summary, aS as ActionBar, g as getLegalEntityCountry, aT as UnincorporatedPartnershipMemberTypes, aU as getDecisionMakerDescriptionMap, aV as TRUST_DEFAULT_DESCRIPTIONS_MAP, aW as getRoleTagVariant, aX as Trans, aY as DEFAULT_TRUST_MEMBER_REQUIREMENTS, aZ as ContextGuidance, a_ as RadioGroup, a$ as useUnincorporatedPartnershipMembers, b0 as deleteUnincorporatedPartnershipMember, b1 as hasAllCapabilitiesResolved, b2 as hasRejectedCapabilities, b3 as objectsDeepEqual, b4 as TrustedFieldsProviders, b5 as DecisionMakerTypes, b6 as Scenarios } from "./StoreProvider-x6yKbQFq.js";
11
+ import { a as useApiContext, r as useQuery, t as httpPost, v as useSettingsContext, w as SettingNames, x as httpGet, y as useLocalStorage, z as getLegalRepresentative, d as useLegalEntity, B as skipToken, C as doesLegalEntityRequiresLegalRepresentative, c as useTranslation, G as Button, H as Svg, J as Skeleton, K as Alert, M as translateStringOrObject, N as Typography, O as LegalEntityTypes, P as isPartOfTrustFromLegalEntity, U as hasSolePropInLegalEntity, V as hasOwnEntityAssociationOfType, W as isEmptyEntity, X as useAccountHolder, Y as CompanyTypesValues, Z as EntityTypes, _ as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, $ as TaskTypes, a0 as createLogger, a1 as TaskStatuses, a2 as IconButton, a3 as useAnalyticsContext, a4 as Card, a5 as handleKeys, a6 as LoaderWrapper, a7 as Icon, a8 as noop, a9 as useToastContext, aa as useExperimentsContext, ab as isInstantVerifiedAccount, ac as getObscuredAccountNumber, ad as useGetTaskStatus, ae as CardGroup, R as ROOT_LE, af as useCapabilityProblems, L as Loader, ag as useGlobalStore, ah as useSetting, ai as isPartOfUnincorporatedPartnership, aj as getOwnSignatories, ak as getOwnDecisionMakersLegalEntityIds, al as getOwnSolePropProblems, am as getOwnTrustProblems, an as getOwnUnincorporatedPartnershipProblems, ao as Image, ap as getOwnEntityAssociations, aq as TrustMemberTypes, ar as getLegalEntityNameBasedOnType, as as useAssociatedLegalEntity, u as useI18nContext, at as CountryCodes, au as isEmpty, av as mergeFieldMetadataIntoProps, aw as resolveFieldMetadata, ax as defaultFieldMetadata, ay as defaultFieldConfig, az as useForm, aA as getFieldProps, aB as nameFields, F as FormHeader, aC as ErrorPanel, aD as createFormUtils, aE as Field, aF as MultiSelectList, aG as makeSelectItemForRole, aH as RadioGroupCard, aI as TextArea, aJ as Name, aK as CountryField, aL as COUNTRY_FIELD, aM as LegalCompanyNameField, aN as LEGAL_COMPANY_NAME_FIELD, aO as summaryItem, aP as getRoleName, aQ as summaryStep, aR as FormNavigation, aS as Summary, aT as ActionBar, g as getLegalEntityCountry, aU as UnincorporatedPartnershipMemberTypes, aV as getDecisionMakerDescriptionMap, aW as TRUST_DEFAULT_DESCRIPTIONS_MAP, aX as getRoleTagVariant, aY as Trans, aZ as DEFAULT_TRUST_MEMBER_REQUIREMENTS, a_ as ContextGuidance, a$ as RadioGroup, b0 as useUnincorporatedPartnershipMembers, b1 as deleteUnincorporatedPartnershipMember, b2 as hasAllCapabilitiesResolved, b3 as hasRejectedCapabilities, b4 as objectsDeepEqual, b5 as TrustedFieldsProviders } from "./StoreProvider-BK6S-tUB.js";
12
12
  import { lazy, Suspense } from "preact/compat";
13
13
  import { useMemo, useCallback, useEffect, useState, useRef } from "preact/hooks";
14
- import { L as LandingLayout, u as useSingpassMyInfoLogin, s as showIdNowModal } from "./isIdNowModalOpen-DRTL61eQ.js";
14
+ import { L as LandingLayout, u as useSingpassMyInfoLogin, i as isBafinSignatoryFlow, s as showIdNowModal } from "./bafinUtils-WzgnLHUH.js";
15
15
  import cx from "classnames";
16
- import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-Bo2R7-be.js";
16
+ import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-ZzLl2fnP.js";
17
17
  import { signal } from "@preact/signals";
18
18
  import { d as downloadFile } from "./file-CiG1D0zy.js";
19
- import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-KB0B2Z-w.js";
20
- import { A as Avatar } from "./Avatar-CoTOHJwb.js";
21
- import { T as TaskItemStatus } from "./TaskItemStatus-DZrstr0V.js";
22
- import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-H61VFP32.js";
19
+ import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-CN-y2ZkT.js";
20
+ import { A as Avatar } from "./Avatar-D11TdIAz.js";
21
+ import { T as TaskItemStatus } from "./TaskItemStatus-BXv5vZOC.js";
22
+ import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-CKaq6DPT.js";
23
23
  import { T as Tag } from "./Tag-DdkVScyr.js";
24
24
  const getPciStatus = async (legalEntityId, baseUrl, data) => {
25
25
  return httpPost(
@@ -113,49 +113,21 @@ const styles$5 = {
113
113
  providerButton,
114
114
  providerButtonDisplayName
115
115
  };
116
- const ProviderButton = ({
117
- provider,
118
- disabled = false,
119
- fullWidth,
120
- loading = false,
121
- onClick,
122
- testId
123
- }) => {
124
- const isSingpass = provider.includes("singpassMyInfo");
125
- const buttonVariant = isSingpass ? "secondary" : "primary";
126
- const { t } = useTranslation();
127
- const buttonProps = {
128
- disabled,
129
- fullWidth,
130
- loading,
131
- onClick,
132
- testId
133
- };
116
+ const ProviderButton = ({ provider, onClick }) => {
117
+ const { t } = useTranslation("ui");
134
118
  const providerLogo = {
135
- tink: "tink-logo",
136
- yapily: "yapily-logo",
137
- plaid: "plaid-logo",
138
- onfido: "onfido-logo",
139
119
  singpassMyInfo: "singpass-logo",
140
120
  singpassMyInfoBusiness: "singpass-logo"
141
121
  };
142
122
  const providerDisplayName = {
143
- tink: "Tink",
144
- yapily: "Yapily",
145
- plaid: "Plaid",
146
- onfido: "Onfido",
147
123
  singpassMyInfo: "Singpass",
148
124
  singpassMyInfoBusiness: "Singpass"
149
125
  };
150
126
  const buttonLabel = {
151
- tink: t(($) => $["addAccountWith"]),
152
- yapily: t(($) => $["addAccountWith"]),
153
- plaid: t(($) => $["addAccountWith"]),
154
- onfido: t(($) => $["addDetailsWith"]),
155
- singpassMyInfo: t(($) => $["retrieveMyinfoWith"]),
156
- singpassMyInfoBusiness: t(($) => $["retrieveMyinfoBusinessWith"])
127
+ singpassMyInfo: t(($) => $["retrieveMyinfo"]),
128
+ singpassMyInfoBusiness: t(($) => $["retrieveMyinfoBusiness"])
157
129
  };
158
- return /* @__PURE__ */ jsx(Button, { ...buttonProps, variant: buttonVariant, children: /* @__PURE__ */ jsxs("div", { className: styles$5.providerButton, children: [
130
+ return /* @__PURE__ */ jsx(Button, { onClick, fullWidth: true, variant: "secondary", children: /* @__PURE__ */ jsxs("div", { className: styles$5.providerButton, children: [
159
131
  buttonLabel[provider],
160
132
  /* @__PURE__ */ jsx("span", { className: styles$5.providerButtonDisplayName, children: providerDisplayName[provider] }),
161
133
  /* @__PURE__ */ jsx(Svg, { name: providerLogo[provider], type: "image" })
@@ -230,7 +202,7 @@ const SingpassBanner = ({
230
202
  onClose: onAlertClose,
231
203
  children: /* @__PURE__ */ jsxs(Typography, { variant: "body", children: [
232
204
  t(($) => $["tryAgainOrContinueEnteringTheDetailsYourself"]),
233
- providerName && /* @__PURE__ */ jsx(ProviderButton, { provider: providerName, onClick, fullWidth: true })
205
+ providerName && /* @__PURE__ */ jsx(ProviderButton, { provider: providerName, onClick })
234
206
  ] })
235
207
  }
236
208
  );
@@ -244,7 +216,7 @@ const SingpassBanner = ({
244
216
  title: t(($) => $["getSetUpInstantly"]),
245
217
  children: [
246
218
  subtitleTranslationKey && /* @__PURE__ */ jsx("div", { className: cx("adyen-task-list-singpass-banner__subtitle"), children: t(($) => $[subtitleTranslationKey]) }),
247
- providerName && /* @__PURE__ */ jsx(ProviderButton, { provider: providerName, onClick, fullWidth: true })
219
+ providerName && /* @__PURE__ */ jsx(ProviderButton, { provider: providerName, onClick })
248
220
  ]
249
221
  }
250
222
  );
@@ -472,10 +444,9 @@ const Remove = ({
472
444
  onRemove,
473
445
  onRemoveStatusChange,
474
446
  isRemoveDisabled = false,
475
- handleIsRemoveDisabled,
476
- label
447
+ handleIsRemoveDisabled
477
448
  }) => {
478
- const { t } = useTranslation();
449
+ const { t } = useTranslation("ui");
479
450
  const [undoTimer, setUndoTimer] = useState(5);
480
451
  const [isRemoving, setIsRemoving] = useState(false);
481
452
  useEffect(() => {
@@ -516,7 +487,7 @@ const Remove = ({
516
487
  return isRemoving ? /* @__PURE__ */ jsx(Button, { variant: "tertiary", onClick: onClickHandler, children: t(($) => $["undoWithTimer"], { secondsLeft: undoTimer }) }) : /* @__PURE__ */ jsx(
517
488
  IconButton,
518
489
  {
519
- ariaLabel: label && t(($) => $[label]),
490
+ ariaLabel: t(($) => $["remove"]),
520
491
  icon: "bin",
521
492
  variant: "tertiary",
522
493
  onClick: onClickHandler,
@@ -1101,10 +1072,11 @@ function TaskListInner({
1101
1072
  ] });
1102
1073
  }
1103
1074
  const isNewEntity = Symbol("isNewEntity");
1104
- const businessLines = "adyen-kyc-business-lines";
1075
+ const businessLines$1 = "adyen-kyc-business-lines";
1105
1076
  const styles$4 = {
1106
- businessLines
1077
+ businessLines: businessLines$1
1107
1078
  };
1079
+ const businessLines = lazy(() => import("./business-lines-DboUCbXw.js"));
1108
1080
  const BusinessLinesGettingStarted = ({
1109
1081
  handleGettingStartedClick,
1110
1082
  handleCancelClick
@@ -1115,7 +1087,7 @@ const BusinessLinesGettingStarted = ({
1115
1087
  {
1116
1088
  title: t(($) => $["businessLines"]),
1117
1089
  description: t(($) => $["businessLinesGettingStarted"]),
1118
- media: /* @__PURE__ */ jsx(Svg, { type: "image", name: "business-lines" }),
1090
+ media: /* @__PURE__ */ jsx(Image, { lazyLoadedImage: businessLines }),
1119
1091
  actions: /* @__PURE__ */ jsxs(Fragment, { children: [
1120
1092
  /* @__PURE__ */ jsx(Button, { fullWidth: true, onClick: handleGettingStartedClick, children: t(($) => $["gettingStarted"], { ns: "common" }) }),
1121
1093
  /* @__PURE__ */ jsx(Button, { variant: "tertiary", fullWidth: true, onClick: handleCancelClick, children: t(($) => $["finishLater"], { ns: "common" }) })
@@ -3490,71 +3462,71 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
3490
3462
  return hasOwnEntityAssocation || !!hasOrganizationType;
3491
3463
  };
3492
3464
  const Introduction = lazy(
3493
- async () => (await import("./Introduction-BM2tvYp6.js")).Introduction
3465
+ async () => (await import("./Introduction-Dvmyo9sy.js")).Introduction
3494
3466
  );
3495
3467
  const BusinessTypeSelectionPage = lazy(
3496
- async () => (await import("./BusinessTypeSelectionPage-CYm_WsH_.js")).BusinessTypeSelectionPage
3468
+ async () => (await import("./BusinessTypeSelectionPage-yupMVCzr.js")).BusinessTypeSelectionPage
3497
3469
  );
3498
3470
  const SingpassSelection = lazy(
3499
- async () => (await import("./SingpassSelection-DW83QSoq.js")).SingpassSelection
3471
+ async () => (await import("./SingpassSelection-ByupuMKL.js")).SingpassSelection
3500
3472
  );
3501
3473
  const AccountSetupRejected = lazy(
3502
- async () => (await import("./AccountSetupRejected-kz5NC22n.js")).AccountSetupRejected
3474
+ async () => (await import("./AccountSetupRejected-BtCC1DfU.js")).AccountSetupRejected
3503
3475
  );
3504
3476
  const DecisionMakers = lazy(
3505
- async () => (await import("./DecisionMakers-Ud-BGGKi.js")).DecisionMakers
3477
+ async () => (await import("./DecisionMakers-BOPprU_c.js")).DecisionMakers
3506
3478
  );
3507
3479
  const CustomerSupport = lazy(
3508
- async () => (await import("./CustomerSupport-DIDqWNFX.js")).CustomerSupport
3480
+ async () => (await import("./CustomerSupport-BsZDxwv2.js")).CustomerSupport
3509
3481
  );
3510
- const Review = lazy(async () => (await import("./Review-C8Q-e2V9.js")).Review);
3482
+ const Review = lazy(async () => (await import("./Review-C5MFIBVb.js")).Review);
3511
3483
  const SignPCIComponent = lazy(
3512
- async () => (await import("./SignPCIComponent-Y9CAJCeq.js")).SignPCIComponent
3484
+ async () => (await import("./SignPCIComponent-CPpNIBhs.js")).SignPCIComponent
3513
3485
  );
3514
3486
  const AcceptTermsOfService = lazy(
3515
- async () => (await import("./AcceptTermsOfServiceComponent-aQcg1tq3.js")).AcceptTermsOfServiceComponent
3487
+ async () => (await import("./AcceptTermsOfServiceComponent-h4RGwmfr.js")).AcceptTermsOfServiceComponent
3516
3488
  );
3517
3489
  const TaxReportingDropin = lazy(
3518
- async () => (await import("./TaxReportingDropin-Cv2VQY06.js")).TaxReportingDropin
3490
+ async () => (await import("./TaxReportingDropin-BYn-rCQo.js")).TaxReportingDropin
3519
3491
  );
3520
3492
  const PayoutDetailsPage = lazy(
3521
- async () => (await import("./StoreProvider-x6yKbQFq.js").then((n) => n.fF)).PayoutDetailsPage
3493
+ async () => (await import("./StoreProvider-BK6S-tUB.js").then((n) => n.fG)).PayoutDetailsPage
3522
3494
  );
3523
3495
  const RootBusinessDetailsPage = lazy(
3524
- async () => (await import("./RootBusinessDetailsPage-DJh-Wy3Q.js")).RootBusinessDetailsPage
3496
+ async () => (await import("./RootBusinessDetailsPage-C8ZJ4dmm.js")).RootBusinessDetailsPage
3525
3497
  );
3526
3498
  const SoleProprietorshipPage = lazy(
3527
- async () => (await import("./SoleProprietorshipPage-_4zvEipu.js")).SoleProprietorshipPage
3499
+ async () => (await import("./SoleProprietorshipPage-CNKpPAjZ.js")).SoleProprietorshipPage
3528
3500
  );
3529
3501
  const TrustMemberCompanyPage = lazy(
3530
- async () => (await import("./TrustMemberCompanyPage-DPT4oAoM.js")).TrustMemberCompanyPage
3502
+ async () => (await import("./TrustMemberCompanyPage-D3JUt2oR.js")).TrustMemberCompanyPage
3531
3503
  );
3532
3504
  const UnincorporatedPartnershipMemberCompanyPage = lazy(
3533
- async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-BaRjiIq8.js")).UnincorporatedPartnershipMemberCompanyPage
3505
+ async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-C_4lVNk5.js")).UnincorporatedPartnershipMemberCompanyPage
3534
3506
  );
3535
3507
  const BusinessFinancingPage = lazy(
3536
- async () => (await import("./BusinessFinancingPage-DPM8zMly.js")).BusinessFinancingPage
3508
+ async () => (await import("./BusinessFinancingPage-BOVZmdFJ.js")).BusinessFinancingPage
3537
3509
  );
3538
3510
  const TrustDetailsPage = lazy(
3539
- async () => (await import("./TrustDetailsPage-Cn3V324U.js")).TrustDetailsPage
3511
+ async () => (await import("./TrustDetailsPage-BXHPOkFC.js")).TrustDetailsPage
3540
3512
  );
3541
3513
  const SourceOfFundsPage = lazy(
3542
- async () => (await import("./SourceOfFundsPage-fbIPy_3F.js")).SourceOfFundsPage
3514
+ async () => (await import("./SourceOfFundsPage-CraH1Im8.js")).SourceOfFundsPage
3543
3515
  );
3544
3516
  const RootIndividualDetailsPage = lazy(
3545
- async () => (await import("./RootIndividualDetailsPage-5TMDWEGP.js")).RootIndividualDetailsPage
3517
+ async () => (await import("./RootIndividualDetailsPage-CU0x1BUz.js")).RootIndividualDetailsPage
3546
3518
  );
3547
3519
  const LegalRepresentativeDetailsPage = lazy(
3548
- async () => (await import("./LegalRepresentativeDetailsPage-Ca8gWx8l.js")).LegalRepresentativeDetailsPage
3520
+ async () => (await import("./LegalRepresentativeDetailsPage-CwZCAmRs.js")).LegalRepresentativeDetailsPage
3549
3521
  );
3550
3522
  const TrustMemberIndividualPage = lazy(
3551
- async () => (await import("./TrustMemberIndividualPage-BRUijH_I.js")).TrustMemberIndividualPage
3523
+ async () => (await import("./TrustMemberIndividualPage-BKwm2PD-.js")).TrustMemberIndividualPage
3552
3524
  );
3553
3525
  const UnincorporatedPartnershipIndividualPage = lazy(
3554
- async () => (await import("./UnincorporatedPartnershipIndividualPage-DuuEUcOp.js")).UnincorporatedPartnershipIndividualPage
3526
+ async () => (await import("./UnincorporatedPartnershipIndividualPage-DJAy2tiA.js")).UnincorporatedPartnershipIndividualPage
3555
3527
  );
3556
3528
  const DecisionMakerDetailsPage = lazy(
3557
- async () => (await import("./DecisionMakerDetailsPage-DiTxMRO1.js")).DecisionMakerDetailsPage
3529
+ async () => (await import("./DecisionMakerDetailsPage-CsxCXdBv.js")).DecisionMakerDetailsPage
3558
3530
  );
3559
3531
  function isIn(values, x) {
3560
3532
  return values.includes(x);
@@ -3870,12 +3842,13 @@ function DropinComposer({
3870
3842
  onSubmit: async (data, scenario) => {
3871
3843
  onSubmit?.(data);
3872
3844
  await refetchLegalEntity();
3873
- if (
3874
- // For BAFIN/SIGNATORY, we need to trigger ID NOW modal for id verification
3845
+ if (isBafinSignatoryFlow({
3846
+ taskType: TaskTypes.DECISION_MAKER,
3875
3847
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
3876
3848
  // @ts-ignore basicDetails will be there when it's IndividualOnfidoSchema
3877
- data?.basicDetails?.role?.includes(DecisionMakerTypes.SIGNATORY) && scenario?.includes(Scenarios.L_BAFIN)
3878
- ) {
3849
+ data,
3850
+ scenarios: scenario
3851
+ })) {
3879
3852
  showIdNowModal.value = true;
3880
3853
  } else {
3881
3854
  navigateBack();
@@ -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] = "bd88e6af-fb3a-4d9e-90ad-ccaad6575b72", e._sentryDebugIdIdentifier = "sentry-dbid-bd88e6af-fb3a-4d9e-90ad-ccaad6575b72");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "1a72d592-d254-4f4e-b632-3929a54a8831", e._sentryDebugIdIdentifier = "sentry-dbid-1a72d592-d254-4f4e-b632-3929a54a8831");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
11
  import { useState } from "preact/hooks";
12
- import { a as useApiContext, bn as useMutation, t as httpPost, c as useTranslation, a9 as useToastContext, a6 as LoaderWrapper, F as FormHeader, bt as Checkbox, aS as ActionBar } from "./StoreProvider-x6yKbQFq.js";
13
- import { D as DropinLayout } from "./OnboardingDropinComponent-CZ6XyzO0.js";
12
+ import { a as useApiContext, bo as useMutation, t as httpPost, c as useTranslation, a9 as useToastContext, a6 as LoaderWrapper, F as FormHeader, bu as Checkbox, aT as ActionBar } from "./StoreProvider-BK6S-tUB.js";
13
+ import { D as DropinLayout } from "./OnboardingDropinComponent-BUmJ_JVk.js";
14
14
  const confirmReview = async (legalEntityId, baseUrl) => {
15
15
  return httpPost({
16
16
  baseUrl,
@@ -2,19 +2,19 @@
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] = "f9c2e345-e3e3-4875-a6a9-f71eb3cd1606", e._sentryDebugIdIdentifier = "sentry-dbid-f9c2e345-e3e3-4875-a6a9-f71eb3cd1606");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "306fa160-e38c-4ded-bb93-819bb8b5f61a", e._sentryDebugIdIdentifier = "sentry-dbid-306fa160-e38c-4ded-bb93-819bb8b5f61a");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsxs, jsx } from "preact/jsx-runtime";
11
- import { c as useTranslation, bL as useFormContext, aa as useExperimentsContext, dV as verifiedBusiness, bM as getAddressSchemaForCountry, bN as COUNTRIES_WITH_STATES_DATASET, dW as useDebouncedState, dX as useAddressCleanse, dY as formatAddressForCleanse, dZ as mapAddressData, d_ as operationalAddressIsSameIds, au as mergeFieldMetadataIntoProps, d$ as legalFormFieldMetadata, e0 as stockTickerSymbolFieldMetadata, e1 as stockISINFieldMetadata, e2 as stockExchangeMICFieldMetadata, e3 as dateOfIncorporationFieldMetadata, e4 as eInvoicingCodeFieldMetadata, e5 as vatAbsenceReasonMetadata, av as resolveFieldMetadata, e6 as defaultFieldMetadata, e7 as defaultFieldConfig, cc as taxInformationDefaultFieldMetadata, cd as taxInformationDefaultFieldConfig, e8 as registrationNumberDefaultFieldMetadata, e9 as registrationNumberDefaultFieldConfig, ea as doingBusinessAsFieldMetadata, eb as doingBusinessAsAbsentFieldMetadata, aC as createFormUtils, bc as datasetUtilities, F as FormHeader, aB as ErrorPanel, N as Typography, ec as VerifiedBusinessCard, ed as LEGAL_FORM_FIELDS, bD as LegalFormField, ee as DBA_NAME_FIELD, ef as DBANameField, eg as BUSINESS_REGISTRATION_NUMBER_FIELD, eh as BusinessRegistrationNumberField, ei as TAX_INFORMATION_FIELD, d9 as TaxInformationField, ej as VAT_NUMBER_FIELD, ek as VatNumberField, el as EInvoicingCodeField, em as EINVOICING_CODE_FIELD, en as DATE_OF_INCORPORATION_FIELD, eo as DateOfIncorporationField, ep as STOCK_EXCHANGE_MIC_FIELD, eq as StockExchangeMICField, er as STOCK_ISIN_FIELD, es as StockISINField, et as STOCK_TICKER_SYMBOL_FIELD, eu as StockTickerSymbolField, bO as Address, ev as getNestedTrustedFields, bP as getAddressSchemaLabelsByCountry, ew as ADDITIONAL_INFORMATION_FORM_ID, aD as Field, bt as Checkbox, Y as CompanyTypesValues, v as useSettingsContext, b as useAllowedCountries, w as SettingNames, ex as localizedLegalCompanyNameFieldConfig, ey as defaultFieldMetadata$1, ez as defaultFieldConfig$1, eA as defaultFieldMetadataV4, aw as defaultFieldMetadata$2, eB as defaultFieldConfigV4, ax as defaultFieldConfig$2, eC as useLegalCompanyNameField, aJ as CountryField, aK as COUNTRY_FIELD, eD as COUNTRY_OF_GOVERNING_LAW_FIELD, eE as CountryOfGoverningLawField, bF as InputText, eF as STATE_FIELD, eG as StateField, bE as Link, aM as LEGAL_COMPANY_NAME_FIELD, X as useAccountHolder, eH as isBankAccountRequestedForOrganization, eI as companyTypeOptions, eJ as useCompanyTypeExamples, dS as EntityTypeRadioGroupCard, eK as companyTypeMetadata, u as useI18nContext, $ as TaskTypes, eL as FinancialInformation, eM as MemoizedConstitutionalDocument, O as LegalEntityTypes, dy as MemoizedDocumentUpload, eN as BusinessSelectionMultiform, eO as COUNTRIES_USING_COMPANY_SEARCH, aP as summaryStep, bS as addValidityToForms, eP as exemptFromRegistrationNumberDefaultFieldMetadata, eQ as CountryOfGoverningLawFieldValidation, eR as CountryFieldValidation, a as useApiContext, a3 as useAnalyticsContext, a9 as useToastContext, bp as useQueryClient, eS as getForms, cr as documentApiUtils, cF as composePerScenarioFormConfigurations, cz as useScenarioConfiguration, eT as financialInfoValidationWithEmployeesRules, eU as CompanyStructureValidation, eV as tinMatched, eW as rules, cA as getPropsFromConfigurations, bQ as getAssociatedLeAnalyticsPayload, bU as trackNavigation, bT as useFormComposer, eX as useCompanySearch, eY as useVerifyTin, eZ as businessMismatchModalOpen, bg as Confirm, e_ as businessDetailsDocumentMapping, e$ as businessDetailsApiKeyMapping, d as useLegalEntity, R as ROOT_LE, af as useCapabilityProblems, L as Loader, P as isPartOfTrustFromLegalEntity, b7 as getProblemsForEntity, Z as EntityTypes, g as getLegalEntityCountry } from "./StoreProvider-x6yKbQFq.js";
12
- import { P as ProofOfOwnershipDocument, a as ProofOfSignatoryDocument, b as ProofOfDirectorDocument, R as RegistrationDocument, T as TaxDocument, m as mapApiDocumentToBusinessDetailsDocuments, c as mapLegalEntityToBusinessDetailsSchema, f as formatDataForSummary, s as submit, d as businessDetailsFieldsPerScenario, B as BusinessDetailsDropin } from "./BusinessDetailsDropin-B-wQeBGi.js";
11
+ import { c as useTranslation, bM as useFormContext, aa as useExperimentsContext, dW as verifiedBusiness, bN as getAddressSchemaForCountry, bO as COUNTRIES_WITH_STATES_DATASET, dX as useDebouncedState, dY as useAddressCleanse, dZ as formatAddressForCleanse, d_ as mapAddressData, d$ as operationalAddressIsSameIds, av as mergeFieldMetadataIntoProps, e0 as legalFormFieldMetadata, e1 as stockTickerSymbolFieldMetadata, e2 as stockISINFieldMetadata, e3 as stockExchangeMICFieldMetadata, e4 as dateOfIncorporationFieldMetadata, e5 as eInvoicingCodeFieldMetadata, e6 as vatAbsenceReasonMetadata, aw as resolveFieldMetadata, e7 as defaultFieldMetadata, e8 as defaultFieldConfig, cd as taxInformationDefaultFieldMetadata, ce as taxInformationDefaultFieldConfig, e9 as registrationNumberDefaultFieldMetadata, ea as registrationNumberDefaultFieldConfig, eb as doingBusinessAsFieldMetadata, ec as doingBusinessAsAbsentFieldMetadata, aD as createFormUtils, bd as datasetUtilities, F as FormHeader, aC as ErrorPanel, N as Typography, ed as VerifiedBusinessCard, ee as LEGAL_FORM_FIELDS, bE as LegalFormField, ef as DBA_NAME_FIELD, eg as DBANameField, eh as BUSINESS_REGISTRATION_NUMBER_FIELD, ei as BusinessRegistrationNumberField, ej as TAX_INFORMATION_FIELD, da as TaxInformationField, ek as VAT_NUMBER_FIELD, el as VatNumberField, em as EInvoicingCodeField, en as EINVOICING_CODE_FIELD, eo as DATE_OF_INCORPORATION_FIELD, ep as DateOfIncorporationField, eq as STOCK_EXCHANGE_MIC_FIELD, er as StockExchangeMICField, es as STOCK_ISIN_FIELD, et as StockISINField, eu as STOCK_TICKER_SYMBOL_FIELD, ev as StockTickerSymbolField, bP as Address, ew as getNestedTrustedFields, bQ as getAddressSchemaLabelsByCountry, ex as ADDITIONAL_INFORMATION_FORM_ID, aE as Field, bu as Checkbox, Y as CompanyTypesValues, v as useSettingsContext, b as useAllowedCountries, w as SettingNames, ey as localizedLegalCompanyNameFieldConfig, ez as defaultFieldMetadata$1, eA as defaultFieldConfig$1, eB as defaultFieldMetadataV4, ax as defaultFieldMetadata$2, eC as defaultFieldConfigV4, ay as defaultFieldConfig$2, eD as useLegalCompanyNameField, aK as CountryField, aL as COUNTRY_FIELD, eE as COUNTRY_OF_GOVERNING_LAW_FIELD, eF as CountryOfGoverningLawField, bG as InputText, eG as STATE_FIELD, eH as StateField, bF as Link, aN as LEGAL_COMPANY_NAME_FIELD, X as useAccountHolder, eI as isBankAccountRequestedForOrganization, eJ as companyTypeOptions, eK as useCompanyTypeExamples, dT as EntityTypeRadioGroupCard, eL as companyTypeMetadata, u as useI18nContext, $ as TaskTypes, eM as FinancialInformation, eN as MemoizedConstitutionalDocument, O as LegalEntityTypes, dz as MemoizedDocumentUpload, eO as BusinessSelectionMultiform, eP as COUNTRIES_USING_COMPANY_SEARCH, aQ as summaryStep, bT as addValidityToForms, eQ as exemptFromRegistrationNumberDefaultFieldMetadata, eR as CountryOfGoverningLawFieldValidation, eS as CountryFieldValidation, a as useApiContext, a3 as useAnalyticsContext, a9 as useToastContext, bq as useQueryClient, eT as getForms, cs as documentApiUtils, cG as composePerScenarioFormConfigurations, cA as useScenarioConfiguration, eU as financialInfoValidationWithEmployeesRules, eV as CompanyStructureValidation, eW as tinMatched, eX as rules, cB as getPropsFromConfigurations, bR as getAssociatedLeAnalyticsPayload, bV as trackNavigation, bU as useFormComposer, eY as useCompanySearch, eZ as useVerifyTin, e_ as businessMismatchModalOpen, bh as Confirm, e$ as businessDetailsDocumentMapping, f0 as businessDetailsApiKeyMapping, d as useLegalEntity, R as ROOT_LE, af as useCapabilityProblems, L as Loader, P as isPartOfTrustFromLegalEntity, b6 as getProblemsForEntity, Z as EntityTypes, g as getLegalEntityCountry } from "./StoreProvider-BK6S-tUB.js";
12
+ import { P as ProofOfOwnershipDocument, a as ProofOfSignatoryDocument, b as ProofOfDirectorDocument, R as RegistrationDocument, T as TaxDocument, m as mapApiDocumentToBusinessDetailsDocuments, c as mapLegalEntityToBusinessDetailsSchema, f as formatDataForSummary, s as submit, d as businessDetailsFieldsPerScenario, B as BusinessDetailsDropin } from "./BusinessDetailsDropin-DMkfZAhc.js";
13
13
  import { useEffect, useMemo, useCallback, useState } from "preact/hooks";
14
- import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-H61VFP32.js";
15
- import { F as FormContextProvider, a as FormFlow } from "./FormFlow-DtrlYKNe.js";
16
- import { u as useMultiForm } from "./useMultiForm-Dd8QMW1a.js";
17
- import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-IBtwmkzo.js";
14
+ import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-CKaq6DPT.js";
15
+ import { F as FormContextProvider, a as FormFlow } from "./FormFlow-OxZkj1IL.js";
16
+ import { u as useMultiForm } from "./useMultiForm-CiCxhoIc.js";
17
+ import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-CXFYcjIh.js";
18
18
  function AdditionalInformationMultiform({
19
19
  id,
20
20
  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] = "4ed77a8f-3e73-4c2e-aca3-b841640961bb", e._sentryDebugIdIdentifier = "sentry-dbid-4ed77a8f-3e73-4c2e-aca3-b841640961bb");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f52b118f-8a48-4d29-ac13-7bcc21a47086", e._sentryDebugIdIdentifier = "sentry-dbid-f52b118f-8a48-4d29-ac13-7bcc21a47086");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
- import { d as useLegalEntity, R as ROOT_LE, af as useCapabilityProblems, aa as useExperimentsContext, X as useAccountHolder, L as Loader, g as getLegalEntityCountry, P as isPartOfTrustFromLegalEntity, b7 as getProblemsForEntity, Z as EntityTypes, b8 as isOnfidoAutofillFlowEnabled, a8 as noop, $ as TaskTypes } from "./StoreProvider-x6yKbQFq.js";
12
- import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-Bl4C7i8c.js";
11
+ import { d as useLegalEntity, R as ROOT_LE, af as useCapabilityProblems, aa as useExperimentsContext, X as useAccountHolder, L as Loader, g as getLegalEntityCountry, P as isPartOfTrustFromLegalEntity, b6 as getProblemsForEntity, Z as EntityTypes, b7 as isOnfidoAutofillFlowEnabled, a8 as noop, $ as TaskTypes } from "./StoreProvider-BK6S-tUB.js";
12
+ import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BGSe9ayX.js";
13
13
  function RootIndividualDetailsPage({
14
14
  asModal = false,
15
15
  hideSidebar = false,
@@ -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] = "b99bd73e-85a0-4ce4-b413-f16a607326cb", e._sentryDebugIdIdentifier = "sentry-dbid-b99bd73e-85a0-4ce4-b413-f16a607326cb");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "41ef1c83-f516-4d9d-a6b7-c187d71eaffc", e._sentryDebugIdIdentifier = "sentry-dbid-41ef1c83-f516-4d9d-a6b7-c187d71eaffc");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
11
- import { a as useApiContext, r as useQuery, t as httpPost, bm as useInvalidateRootLegalEntity, bn as useMutation, at as isEmpty, c as useTranslation, a3 as useAnalyticsContext, a9 as useToastContext, ay as useForm, bz as getOwnDecisionMakers, O as LegalEntityTypes, $ as TaskTypes, G as Button, bu as MaybeModal, a4 as Card, aD as Field, bs as Select, bt as Checkbox, u as useI18nContext, d as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-x6yKbQFq.js";
12
- import { u as useSalesChannelsSettings, a as usePciStatus } from "./OnboardingDropinComponent-CZ6XyzO0.js";
13
- import { E as EndStateLayout } from "./EndStateLayout-Bamkt5E1.js";
11
+ import { a as useApiContext, r as useQuery, t as httpPost, bn as useInvalidateRootLegalEntity, bo as useMutation, au as isEmpty, c as useTranslation, a3 as useAnalyticsContext, a9 as useToastContext, az as useForm, bA as getOwnDecisionMakers, O as LegalEntityTypes, $ as TaskTypes, G as Button, bv as MaybeModal, a4 as Card, aE as Field, bt as Select, bu as Checkbox, u as useI18nContext, d as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-BK6S-tUB.js";
12
+ import { u as useSalesChannelsSettings, a as usePciStatus } from "./OnboardingDropinComponent-BUmJ_JVk.js";
13
+ import { E as EndStateLayout } from "./EndStateLayout-D4XztFnd.js";
14
14
  import { useState, useCallback, useEffect } from "preact/hooks";
15
15
  import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
16
16
  import { C as ContractViewer } from "./ContractViewer-B2LwC3wV.js";
@@ -2,16 +2,26 @@
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] = "0969eb5b-9155-4abf-9433-79232f616e89", e._sentryDebugIdIdentifier = "sentry-dbid-0969eb5b-9155-4abf-9433-79232f616e89");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7fd1b084-f948-4d4e-82f2-92d29befd39e", e._sentryDebugIdIdentifier = "sentry-dbid-7fd1b084-f948-4d4e-82f2-92d29befd39e");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
+ import { lazy } from "preact/compat";
11
12
  import { useState } from "preact/hooks";
12
- import { c as useTranslation, ay as useForm, N as Typography, aD as Field, aG as RadioGroupCard, G as Button, H as Svg, O as LegalEntityTypes } from "./StoreProvider-x6yKbQFq.js";
13
+ import { c as useTranslation, az as useForm, N as Typography, aE as Field, aH as RadioGroupCard, G as Button, ao as Image, O as LegalEntityTypes } from "./StoreProvider-BK6S-tUB.js";
13
14
  const setupAccountMethods = ["singpass", "manual"];
14
15
  const setupAccountMethodFields = ["setupAccountMethod"];
16
+ const singpassLogo = lazy(
17
+ () => import("./singpass-logo-BkMSwiGY.js")
18
+ );
19
+ const instantVerificationImage = lazy(
20
+ () => import("./singpass-verification-instant-hY4eGFwl.js")
21
+ );
22
+ const manualVerificationImage = lazy(
23
+ () => import("./singpass-verification-manual-DwhRpy5Q.js")
24
+ );
15
25
  const getSingpassSelectionDisabled = (legalEntityType) => {
16
26
  switch (legalEntityType) {
17
27
  case LegalEntityTypes.INDIVIDUAL:
@@ -38,16 +48,15 @@ const getSetupAccountMethodMetadata = (legalEntityType) => {
38
48
  name: translationSingpassNameKey,
39
49
  description: translationSingpassDescriptionKey,
40
50
  icon: /* @__PURE__ */ jsx(
41
- Svg,
51
+ Image,
42
52
  {
43
- type: "image",
44
- name: "singpass-verification-instant",
53
+ lazyLoadedImage: instantVerificationImage,
45
54
  className: "adyen-kyc-setup-singpass-container"
46
55
  }
47
56
  ),
48
57
  provider: {
49
58
  name: "singpass",
50
- icon: /* @__PURE__ */ jsx(Svg, { type: "image", name: "singpass-logo", className: "adyen-kyc-singpass-logo-container" })
59
+ icon: /* @__PURE__ */ jsx(Image, { lazyLoadedImage: singpassLogo, className: "adyen-kyc-singpass-logo-container" })
51
60
  },
52
61
  isOptionDisabled: isSingpassSelectionDisabled
53
62
  },
@@ -55,11 +64,10 @@ const getSetupAccountMethodMetadata = (legalEntityType) => {
55
64
  name: "enterTheDetailsYourself",
56
65
  description: "youAlsoHaveToUploadSomeSupportingDocuments",
57
66
  icon: /* @__PURE__ */ jsx(
58
- Svg,
67
+ Image,
59
68
  {
60
- type: "image",
61
- name: "singpass-verification-manual",
62
- className: "adyen-kyc-setup-manual-container"
69
+ lazyLoadedImage: manualVerificationImage,
70
+ className: "adyen-kyc-singpass-logo-container"
63
71
  }
64
72
  )
65
73
  }
@@ -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] = "5bff92e1-d8d5-4251-977e-01e597119c88", e._sentryDebugIdIdentifier = "sentry-dbid-5bff92e1-d8d5-4251-977e-01e597119c88");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "baf482cb-663b-4d23-90e3-560a66df5a6b", e._sentryDebugIdIdentifier = "sentry-dbid-baf482cb-663b-4d23-90e3-560a66df5a6b");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
- import { d as useLegalEntity, R as ROOT_LE, B as skipToken, af as useCapabilityProblems, L as Loader, b7 as getProblemsForEntity, g as getLegalEntityCountry, $ as TaskTypes, Z as EntityTypes } from "./StoreProvider-x6yKbQFq.js";
12
- import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-B-wQeBGi.js";
11
+ import { d as useLegalEntity, R as ROOT_LE, B as skipToken, af as useCapabilityProblems, L as Loader, b6 as getProblemsForEntity, g as getLegalEntityCountry, $ as TaskTypes, Z as EntityTypes } from "./StoreProvider-BK6S-tUB.js";
12
+ import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-DMkfZAhc.js";
13
13
  function SoleProprietorshipPage({
14
14
  solePropId,
15
15
  isTargetLegalEntityType = false,
@@ -2,26 +2,27 @@
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] = "4ac1e4a4-cbd6-4cb8-99a8-7e245e3a24ef", e._sentryDebugIdIdentifier = "sentry-dbid-4ac1e4a4-cbd6-4cb8-99a8-7e245e3a24ef");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "be777885-8654-4b6a-bfe7-c858d5d419aa", e._sentryDebugIdIdentifier = "sentry-dbid-be777885-8654-4b6a-bfe7-c858d5d419aa");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
- import { a as useApiContext, r as useQuery, x as httpGet, bm as useInvalidateRootLegalEntity, bn as useMutation, t as httpPost, bB as formatObject, O as LegalEntityTypes, N as Typography, fA as Currencies, u as useI18nContext, aD as Field, fB as InputGroup, bs as Select, bF as InputText, bK as InputDate, aH as TextArea, a_ as RadioGroup, aJ as CountryField, be as Modal, K as Alert, G as Button, bg as Confirm, at as isEmpty, c as useTranslation, ay as useForm, fC as useGlobalDataSlice, aB as ErrorPanel, aC as createFormUtils, L as Loader, a7 as Icon, ds as getFormProps, a4 as Card, bf as StructuredList, a2 as IconButton, co as isEmpty$1, H as Svg, a9 as useToastContext, a0 as createLogger, fD as Dropzone, cm as createDocumentRequest, bp as useQueryClient, d as useLegalEntity, R as ROOT_LE, fh as useStateContext, a3 as useAnalyticsContext, fE as useLegalEntities, cA as getPropsFromConfigurations, bR as getRequiredForms, bS as addValidityToForms, bT as useFormComposer, cr as documentApiUtils, fm as FormWrapper, af as useCapabilityProblems, b7 as getProblemsForEntity, Z as EntityTypes, g as getLegalEntityCountry } from "./StoreProvider-x6yKbQFq.js";
11
+ import { a as useApiContext, r as useQuery, x as httpGet, bn as useInvalidateRootLegalEntity, bo as useMutation, t as httpPost, bC as formatObject, O as LegalEntityTypes, N as Typography, fB as Currencies, u as useI18nContext, aE as Field, fC as InputGroup, bt as Select, bG as InputText, bL as InputDate, aI as TextArea, a$ as RadioGroup, aK as CountryField, bf as Modal, K as Alert, G as Button, bh as Confirm, au as isEmpty, c as useTranslation, az as useForm, fD as useGlobalDataSlice, aC as ErrorPanel, aD as createFormUtils, L as Loader, a7 as Icon, dt as getFormProps, a4 as Card, bg as StructuredList, a2 as IconButton, cp as isEmpty$1, ao as Image, a9 as useToastContext, a0 as createLogger, fE as Dropzone, cn as createDocumentRequest, bq as useQueryClient, d as useLegalEntity, R as ROOT_LE, fi as useStateContext, a3 as useAnalyticsContext, fF as useLegalEntities, cB as getPropsFromConfigurations, bS as getRequiredForms, bT as addValidityToForms, bU as useFormComposer, cs as documentApiUtils, fn as FormWrapper, af as useCapabilityProblems, b6 as getProblemsForEntity, Z as EntityTypes, g as getLegalEntityCountry } from "./StoreProvider-BK6S-tUB.js";
12
12
  import { useState, useMemo, useEffect, useCallback, useRef } from "preact/hooks";
13
- import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-H61VFP32.js";
14
- import { h as hasDataChanged } from "./hasDataChanged-jfUaeqmj.js";
13
+ import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-CKaq6DPT.js";
14
+ import { h as hasDataChanged } from "./hasDataChanged-Bh_UrmLp.js";
15
15
  import { signal } from "@preact/signals";
16
16
  import { a as formatAmountWithCurrency } from "./formatCurrency-CMOSdJMB.js";
17
- import { l as localizeDateString } from "./localizeDateString-WPsz6b9a.js";
17
+ import { l as localizeDateString } from "./localizeDateString-CWh-ttUS.js";
18
18
  import { t as toCapitalized } from "./toCapitalized-Bq7laD0b.js";
19
- import { A as Avatar } from "./Avatar-CoTOHJwb.js";
20
- import { v as validateDateNotInTheFuture } from "./validate-Cg3P0WRF.js";
21
- import { T as TileGroup } from "./TileGroup-DxfGzeKN.js";
22
- import { T as TaskStatusIndicator } from "./TaskStatusIndicator-DuYR1LdO.js";
23
- import { L as LandingLayout } from "./isIdNowModalOpen-DRTL61eQ.js";
24
- import { n as normalizedTaskStatusStore } from "./OnboardingDropinComponent-CZ6XyzO0.js";
19
+ import { A as Avatar } from "./Avatar-D11TdIAz.js";
20
+ import { v as validateDateNotInTheFuture } from "./validate-DWYqp_FY.js";
21
+ import { T as TileGroup } from "./TileGroup-ByNEsfqA.js";
22
+ import { lazy } from "preact/compat";
23
+ import { T as TaskStatusIndicator } from "./TaskStatusIndicator-BqoOgtJU.js";
24
+ import { L as LandingLayout } from "./bafinUtils-WzgnLHUH.js";
25
+ import { n as normalizedTaskStatusStore } from "./OnboardingDropinComponent-BUmJ_JVk.js";
25
26
  const getBusinessLines = async (legalEntityId, baseUrl) => {
26
27
  return httpGet({
27
28
  baseUrl,
@@ -2319,6 +2320,7 @@ function SourceOfFundsGettingStartedCard(props) {
2319
2320
  id
2320
2321
  );
2321
2322
  }
2323
+ const digitalWallet = lazy(() => import("./digital-wallet-D_IpxnkN.js"));
2322
2324
  const SourceOfFundsGettingStarted = ({
2323
2325
  handleGettingStartedClick,
2324
2326
  handleCancelClick,
@@ -2412,14 +2414,7 @@ const SourceOfFundsGettingStarted = ({
2412
2414
  !hasSourceOfFunds && /* @__PURE__ */ jsx(
2413
2415
  LandingLayout,
2414
2416
  {
2415
- media: /* @__PURE__ */ jsx(
2416
- Svg,
2417
- {
2418
- type: "image",
2419
- testId: "source-of-funds-getting-started-icon",
2420
- name: "source-of-funds"
2421
- }
2422
- ),
2417
+ media: /* @__PURE__ */ jsx(Image, { lazyLoadedImage: digitalWallet }),
2423
2418
  title: i18n.get("fundingSourcesForFinancialProducts"),
2424
2419
  description: i18n.get("inTheNextStepWellCollectInformation"),
2425
2420
  actions: /* @__PURE__ */ jsxs(Fragment, { children: [