@adyen/kyc-components 4.28.0-beta.1 → 4.28.0-beta.3

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 (166) hide show
  1. package/dist/{AcceptTermsOfServiceWorkflow-CWGZOKtu.js → AcceptTermsOfServiceWorkflow-ClAdxVXd.js} +1 -1
  2. package/dist/{AccountSetupRejected-Bs7galfS.js → AccountSetupRejected-Cr_DSiTy.js} +1 -1
  3. package/dist/{AdaptiveWorkflow-DXJ1u52c.js → AdaptiveWorkflow-CLLU9pOr.js} +20 -20
  4. package/dist/{AdaptiveWorkflowComponent-Bmo1CJwM.js → AdaptiveWorkflowComponent-xaThXPQf.js} +2 -2
  5. package/dist/{AddressFields-M5jupF8l.js → Address-5fEOjxqk.js} +15 -15
  6. package/dist/{BusinessFinancingDropin-Bbw34hVf.js → BusinessFinancingDropin-DGx2jDOE.js} +22 -22
  7. package/dist/{BusinessFinancingPage-CvD-Tk_-.js → BusinessFinancingPage-CnUMV6CL.js} +2 -2
  8. package/dist/{BusinessRegistrationNumberField-B1O-D58L.js → BusinessRegistrationNumberField-DNbNu2rk.js} +5 -5
  9. package/dist/{BusinessRegistrationNumberFieldGroup-C8UNd3to.js → BusinessRegistrationNumberFieldGroup-BQc3omGX.js} +5 -5
  10. package/dist/{BusinessTypeSelectionPage-B10xJcSU.js → BusinessTypeSelectionPage-BaP-I4aE.js} +11 -11
  11. package/dist/{Checkbox-CyMoenl6.js → Checkbox-BEkC71r4.js} +2 -2
  12. package/dist/{ComponentGroup-Jgi1oBjC.js → ComponentGroup-D7Qb-iKj.js} +1 -1
  13. package/dist/{ConstitutionalDocument-bMwKgqNu.js → ConstitutionalDocument-B8Tban-6.js} +131 -125
  14. package/dist/{ContactDetails-Dfr6ysdg.js → ContactDetails-OK5zV1U1.js} +5 -5
  15. package/dist/{ContextGuidance-C7seYQD4.js → ContextGuidance-Dw47AcKO.js} +2 -2
  16. package/dist/{CountryField-EEsbyp0x.js → CountryField-B7939WQQ.js} +3 -3
  17. package/dist/{Currency-dsFhBAjy.js → Currency-DrA7jcDt.js} +6 -6
  18. package/dist/{CustomerSupport-CJVqvdU5.js → CustomerSupport-CJ7N-GAZ.js} +12 -12
  19. package/dist/{DateField-t7FT_iiL.js → DateField-C3vGj_MK.js} +4 -4
  20. package/dist/{DebugModal-BTrunkih.js → DebugModal-DGzw1r1i.js} +6 -6
  21. package/dist/{DecisionMakerDetails-DMljWAWQ.js → DecisionMakerDetails-H1FVYCbP.js} +9 -9
  22. package/dist/{DecisionMakerDetailsPage-B5c_0PN_.js → DecisionMakerDetailsPage-DnC08qvK.js} +5 -5
  23. package/dist/{DecisionMakers-a3DaG-6U.js → DecisionMakers-DA6xwA3n.js} +11 -11
  24. package/dist/{Dropzone-448ZL9VM.js → Dropzone-WVQBXsOb.js} +5 -5
  25. package/dist/{EmailField-Cra7AXIF.js → EmailField-DlTqeno3.js} +4 -4
  26. package/dist/{EntityAssociation-CGquqR8h.js → EntityAssociation-4ZdNmRZ3.js} +3 -3
  27. package/dist/{ErrorPanel-CXMvMtur.js → ErrorPanel-Dwtd8sic.js} +2 -2
  28. package/dist/{GlobalEntryModal-CM5T8FKp.js → GlobalEntryModal-xc6OrAh4.js} +17 -16
  29. package/dist/{GlobalEntryPage-BP588kux.js → GlobalEntryPage-BE9bv-C3.js} +4 -4
  30. package/dist/{IdentityNumber-DnA5GktA.js → IdentityNumber-De-er201.js} +4 -4
  31. package/dist/{IdentityNumberFieldGroup-R8A5uEoN.js → IdentityNumberFieldGroup-C5MkqhvI.js} +3 -3
  32. package/dist/{IdentityScreeningWorkflow-BEf9j8g8.js → IdentityScreeningWorkflow-CIJU2RTu.js} +8 -8
  33. package/dist/{IndividualDropin-BunW0Y1z.js → IndividualDropin-BwgEZs3x.js} +99 -138
  34. package/dist/{IndustryCodeFieldGroup-Dgped8t4.js → IndustryCodeFieldGroup-bwVEhYKO.js} +4 -4
  35. package/dist/{InputDate-PcZy5N0W.js → InputDate-CXixeMAM.js} +4 -4
  36. package/dist/{Introduction-CLSqIBpQ.js → Introduction-DJjsxmbk.js} +5 -5
  37. package/dist/{InvitedDecisionMakerComponent-BxhfJSKq.js → InvitedDecisionMakerComponent-D6x3KHFI.js} +7 -7
  38. package/dist/{JpAddressFields-CapPuNBU.js → JpAddress-D68j3n7L.js} +13 -13
  39. package/dist/{LegalCompanyNameField-4bmqY29I.js → LegalCompanyNameField-BOgs_a16.js} +4 -4
  40. package/dist/{LegalRepresentativeDetailsPage-DxOy9vCU.js → LegalRepresentativeDetailsPage-DDEEsmwC.js} +3 -3
  41. package/dist/{Name-CsOs3hQG.js → Name-BHB7kRk8.js} +3 -3
  42. package/dist/{NumberField-D8xlMgic.js → NumberField-q3UvReko.js} +3 -3
  43. package/dist/{PatriotActDisclosure-CTwsaivh.js → PatriotActDisclosure-BRuDw3WO.js} +9 -9
  44. package/dist/{PayoutDetailsDropin-DAzIUYe4.js → PayoutDetailsDropin-Dnrjswyh.js} +22 -22
  45. package/dist/{PayoutDetailsPage-VLk0DpD7.js → PayoutDetailsPage-AWba5nQN.js} +4 -4
  46. package/dist/{RadioGroup-CEi7ZDGi.js → RadioGroup-Csw26Mhr.js} +2 -2
  47. package/dist/{Review-B03d6GlL.js → Review-BIChuo5g.js} +5 -5
  48. package/dist/{RootBusinessDetailsPage-bY2g62IM.js → RootBusinessDetailsPage-Bzea1U5y.js} +2 -2
  49. package/dist/{RootBusinessLinesPage-DKqmR8rB.js → RootBusinessLinesPage-DidBwXGi.js} +17 -17
  50. package/dist/{RootIndividualDetailsPage-YA9xZU8y.js → RootIndividualDetailsPage-DlFgWqMP.js} +3 -3
  51. package/dist/{Select-DTqe0uNK.js → Select-Jjt3H6zs.js} +3 -3
  52. package/dist/{SignPCIComponent-CXGnjpKO.js → SignPCIComponent-Cbt8lEs0.js} +10 -10
  53. package/dist/{SingpassSelection-CDHJdkCZ.js → SingpassSelection-B_wq0ro8.js} +4 -4
  54. package/dist/{SoleProprietorshipPage-DCjHOTI3.js → SoleProprietorshipPage-DHQ6E1NL.js} +2 -2
  55. package/dist/{SourceOfFundsPage-BEPx4XB0.js → SourceOfFundsPage-DGgdXrvc.js} +18 -18
  56. package/dist/{SourceOfFundsWorkflow-CWYq6pxv.js → SourceOfFundsWorkflow-B8iEJ4QO.js} +1 -1
  57. package/dist/{StateField-DgYpF1_M.js → StateField-_JphU2zZ.js} +9 -9
  58. package/dist/{Step-DGmEuzNc.js → Step-Bz-enzE4.js} +3 -3
  59. package/dist/{Summary-CzJ698Zr.js → Summary-CIL8fweW.js} +1 -1
  60. package/dist/{SummarySection-uydAtNRx.js → SummarySection-BdHCHEUu.js} +2 -2
  61. package/dist/{Task-CxQnoPlO.js → Task-Bt8pnDA9.js} +4 -4
  62. package/dist/{TaskGroup-CNvLui70.js → TaskGroup-CKzG9dgu.js} +2 -2
  63. package/dist/{TaskListItem-D84K14gG.js → TaskListItem-C71fxN7v.js} +5 -5
  64. package/dist/TaxInformationField-Da-YR7qg.js +259 -0
  65. package/dist/{TaxInformationFieldGroup-hUnJmpAo.js → TaxInformationFieldGroup-6qs90McT.js} +7 -7
  66. package/dist/{TaxReportingDropin-CR1Cpz3u.js → TaxReportingDropin-Ci8EwFZR.js} +11 -11
  67. package/dist/{TaxReportingWorkflow-NIVnKcpn.js → TaxReportingWorkflow-BbfN5mpW.js} +1 -1
  68. package/dist/{TermsOfServiceManagement-BJclOKlD.js → TermsOfServiceManagement-CdkojO9F.js} +9 -9
  69. package/dist/{TextArea-CvDM-4De.js → TextArea-CUlnWuqT.js} +3 -3
  70. package/dist/{TextField-DBCBCZMg.js → TextField-C4nHBtK8.js} +4 -4
  71. package/dist/{TrustDetailsPage-B_6vHQnx.js → TrustDetailsPage-CtjpFHPY.js} +23 -22
  72. package/dist/{TrustMemberCompanyPage-DSTdfCRt.js → TrustMemberCompanyPage-zKqn-pzF.js} +4 -4
  73. package/dist/{TrustMemberIndividualPage-CxD06on9.js → TrustMemberIndividualPage-BMleFxIy.js} +3 -3
  74. package/dist/{TrustMemberRoleAndTypePage-Bwl9Dv6w.js → TrustMemberRoleAndTypePage-DFpwcJbZ.js} +19 -19
  75. package/dist/{TrustMembersOverview-Bl_tZ47h.js → TrustMembersOverview-D5H8_NMF.js} +10 -10
  76. package/dist/{UboTaskItem-CYSbY0FC.js → UboTaskItem-BJY_1oAJ.js} +3 -3
  77. package/dist/{UnincorporatedPartnershipIndividualPage-DLpkOoQr.js → UnincorporatedPartnershipIndividualPage-JxcAD39T.js} +3 -3
  78. package/dist/{UnincorporatedPartnershipMemberCompanyPage-BWmArxU3.js → UnincorporatedPartnershipMemberCompanyPage-CxsnGabe.js} +3 -3
  79. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-DGys2yUf.js → UnincorporatedPartnershipMemberRoleAndTypePage-BcE8CfWU.js} +9 -9
  80. package/dist/{UnincorporatedPartnershipMembersOverview-GVimwN0S.js → UnincorporatedPartnershipMembersOverview-DO1-L5Cn.js} +5 -5
  81. package/dist/{VerificationErrorAlert-BjsV8ARt.js → VerificationErrorAlert-ByJQTWwc.js} +2 -2
  82. package/dist/{WebsiteField-Sz7RUbW_.js → WebsiteField-BAqw1q1A.js} +4 -4
  83. package/dist/{Workflow-Cty0HzIp.js → Workflow-DgFkPT5b.js} +3 -3
  84. package/dist/{accountHolderUtils-DEWA3MWe.js → accountHolderUtils-C4sbpGq9.js} +1 -1
  85. package/dist/adyen-business-financing.js +3 -3
  86. package/dist/adyen-individual-configuration.js +3 -3
  87. package/dist/adyen-individual-status.js +1 -1
  88. package/dist/adyen-invited-decision-maker.js +2 -2
  89. package/dist/adyen-onboarding.js +18 -18
  90. package/dist/adyen-terms-of-service-management.js +2 -2
  91. package/dist/adyen-terms-of-service-status.js +1 -1
  92. package/dist/adyen-transfer-instrument-configuration.js +2 -2
  93. package/dist/adyen-transfer-instrument-management.js +6 -6
  94. package/dist/adyen-verification-status.js +1 -1
  95. package/dist/{bafinUtils-CFvCTqAt.js → bafinUtils-Cs44-4gm.js} +10 -257
  96. package/dist/{constants-Ctu_3qBl.js → constants-B8YCUIao.js} +3 -3
  97. package/dist/{dropinUtils-DBnjaFWb.js → dropinUtils-BAx_kWeq.js} +5 -5
  98. package/dist/{error-C05wuAm2.js → error-8q7lWdou.js} +2 -2
  99. package/dist/{fieldConfig-28YDsFPu.js → fieldConfig-Bv9qSPl1.js} +1 -1
  100. package/dist/{formatDataForSummary-Ccs4H7BO.js → formatDataForSummary-DVcusBqf.js} +127 -15
  101. package/dist/{formatValidationError-DIPpFoJQ.js → formatValidationError-CRIcczdD.js} +1 -1
  102. package/dist/{getDefaultRegistrationNumberType-C3OAyMCv.js → getDefaultRegistrationNumberType--Vh5y4A3.js} +5 -5
  103. package/dist/{getValidationError-C00cY5Gg.js → getValidationError-t17tjdt8.js} +1 -1
  104. package/dist/{invalidateRootLegalEntity-DrJp13W1.js → invalidateRootLegalEntity-BWLd6SvV.js} +1 -1
  105. package/dist/mapAddressLocalizationToJpAddressSchema-DqM6uUSJ.js +39 -0
  106. package/dist/{mapExistingFile-CqbTLZ6i.js → mapExistingFile-CLSPk17k.js} +1 -1
  107. package/dist/{mapTransferInstrumentToPayoutAccount-Dq0983R5.js → mapTransferInstrumentToPayoutAccount-BcWIlJYq.js} +1 -1
  108. package/dist/{processValidationErrors-D0qSlh3W.js → processValidationErrors-CMs3YEdp.js} +2 -2
  109. package/dist/{registerEmbed-DQqTWYX2.js → registerEmbed-Xubdbk-a.js} +7 -7
  110. package/dist/{roleMetadata-B1KP0JZL.js → roleMetadata-i1i1JuLw.js} +2 -2
  111. package/dist/types/api/address/useAddressCleanse.d.ts +1 -1
  112. package/dist/types/components/Business/forms/AdditionalInformation/VerifiedBusinessCard/VerifiedBusinessCard.d.ts +1 -1
  113. package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +1 -1
  114. package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +1 -1
  115. package/dist/types/components/Business/forms/rules.d.ts +1 -1
  116. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +1 -1
  117. package/dist/types/components/Individual/forms/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +1 -1
  118. package/dist/types/components/Individual/forms/IdVerificationMethod/individualConflictsSchema.d.ts +1 -1
  119. package/dist/types/components/Individual/forms/Individual.rules.d.ts +7 -1
  120. package/dist/types/components/Individual/mapping/mapIndividualSchemaToLegalEntity.d.ts +18 -0
  121. package/dist/types/components/Individual/tasks/IndividualDropin/IndividualSummary.d.ts +4 -1
  122. package/dist/types/components/Individual/utils/formatDataForSummary.d.ts +4 -1
  123. package/dist/types/components/Shared/{forms/Address/AddressFields.d.ts → fields/Address/Address.d.ts} +2 -2
  124. package/dist/types/components/Shared/fields/{RegistrationAndOperationalAddressFields → Address/RegistrationAndOperationalAddressFields}/RegistrationAndOperationalAddressFields.d.ts +7 -1
  125. package/dist/types/components/Shared/fields/{RegistrationAndOperationalAddressFields → Address/RegistrationAndOperationalAddressFields}/types.d.ts +5 -5
  126. package/dist/types/components/Shared/fields/{RegistrationAndOperationalAddressFields → Address/RegistrationAndOperationalAddressFields}/utils.d.ts +2 -2
  127. package/dist/types/components/Shared/{forms → fields}/Address/SearchAddress.d.ts +1 -1
  128. package/dist/types/components/Shared/fields/Address/localized/jp/JpAddress.d.ts +2 -0
  129. package/dist/types/components/Shared/{forms → fields}/Address/localized/jp/mapAddressLocalizationToJpAddressSchema.d.ts +1 -1
  130. package/dist/types/components/Shared/{forms → fields}/Address/localized/jp/mapJpAddressSchemaToAddressLocalizations.d.ts +1 -1
  131. package/dist/types/components/Shared/{forms → fields}/Address/localized/jp/mapJpAddressSummary.d.ts +1 -1
  132. package/dist/types/components/Shared/{forms → fields}/Address/rules.d.ts +1 -1
  133. package/dist/types/components/Shared/{forms → fields}/Address/types.d.ts +1 -1
  134. package/dist/types/components/Trust/forms/Trust/forms.d.ts +1 -1
  135. package/dist/types/components/Trust/forms/TrustRegistrationAddress/types.d.ts +1 -1
  136. package/dist/types/utils/addressToString.d.ts +1 -1
  137. package/dist/{unincorporatedPartnership-E0Wffo2-.js → unincorporatedPartnership-DPK34PF1.js} +1 -1
  138. package/dist/{useBusinessDetailsData-B2jIzpVP.js → useBusinessDetailsData-DwaSU98Q.js} +37 -37
  139. package/dist/{useCanSeeIntroduction-CguqBHaC.js → useCanSeeIntroduction-BMXtlTKu.js} +2 -2
  140. package/dist/{useForm-CwWvs060.js → useForm-tZJzKTj7.js} +2 -2
  141. package/dist/{useId-BV444pyC.js → useId-usoEnbTl.js} +1 -1
  142. package/dist/{useNavigate-BPvz7b_2.js → useNavigate-hJpbSouk.js} +32 -32
  143. package/dist/{useSalesChannels-GPyBj7Bk.js → useSalesChannels-OXrUy-Oo.js} +1 -1
  144. package/dist/{useSaveForLater-BSIOwMfL.js → useSaveForLater-fJUZyWBN.js} +3 -3
  145. package/dist/{useTaskLandedEvent-CuOu8Sqr.js → useTaskLandedEvent-CmLLhK6a.js} +1 -1
  146. package/dist/{useTrustMembers-Dwbb5xh4.js → useTrustMembers-C4jO1FRe.js} +2 -2
  147. package/dist/{useUnincorporatedPartnershipMembers-1bLF5aPT.js → useUnincorporatedPartnershipMembers-5_bcpZVq.js} +2 -2
  148. package/dist/{utils-B_dD2dvD.js → utils-6Lfk9m3d.js} +1 -1
  149. package/dist/{utils-BPKdYHDB.js → utils-B9FZV547.js} +3 -3
  150. package/dist/{utils-tMG2x_WY.js → utils-CMDo05iY.js} +1 -1
  151. package/dist/{validate-BZLQWEd-.js → validate-BY2KTX10.js} +2 -2
  152. package/dist/{validate-BlsJOvUC.js → validate-CEKo7egC.js} +8 -8
  153. package/dist/{validate-DlL0gf63.js → validate-D-9807Cu.js} +2 -2
  154. package/dist/{validate-Dtlyak_C.js → validate-NlmooHWm.js} +3 -3
  155. package/dist/{validateExtractionResult-BD0Vu-XF.js → validateExtractionResult-D8JAU47X.js} +1 -1
  156. package/package.json +1 -1
  157. package/dist/mapAddressLocalizationToJpAddressSchema-CyNuoq1S.js +0 -26
  158. package/dist/mapJpAddressSchemaToAddressLocalizations-BtkCWRQU.js +0 -19
  159. package/dist/types/components/Shared/forms/Address/localized/jp/JpAddressFields.d.ts +0 -2
  160. /package/dist/types/components/Shared/{forms → fields}/Address/AddressField.d.ts +0 -0
  161. /package/dist/types/components/Shared/{forms → fields}/Address/SearchAddressItem.d.ts +0 -0
  162. /package/dist/types/components/Shared/{forms → fields}/Address/constants.d.ts +0 -0
  163. /package/dist/types/components/Shared/{forms → fields}/Address/localized/jp/ReadonlyTextField.d.ts +0 -0
  164. /package/dist/types/components/Shared/{forms → fields}/Address/utils.d.ts +0 -0
  165. /package/dist/types/components/Shared/{forms → fields}/Address/validate.d.ts +0 -0
  166. /package/dist/types/components/Shared/{forms → fields}/Address/validate.formats.d.ts +0 -0
@@ -1,138 +1,31 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8f1e0f77-38ac-4f25-b2b1-33da7a77c7c5", e._sentryDebugIdIdentifier = "sentry-dbid-8f1e0f77-38ac-4f25-b2b1-33da7a77c7c5");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "37daadb4-77f8-48af-919f-0cde20252b05", e._sentryDebugIdIdentifier = "sentry-dbid-37daadb4-77f8-48af-919f-0cde20252b05");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-CpH8D2NK.js";
6
- import { k as datasetUtilities } from "./registerEmbed-DQqTWYX2.js";
6
+ import { k as datasetUtilities } from "./registerEmbed-Xubdbk-a.js";
7
7
  import { t as Typography } from "./Typography-CAc_f5Iq.js";
8
8
  import { t as Loader } from "./Loader-BDaKGf77.js";
9
9
  import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
10
10
  import { a as objectsDeepEqual } from "./genUtils-nphCwt1A.js";
11
11
  import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
12
12
  import { a as prefixCountryNameWithThe } from "./country-WYlusjTL.js";
13
- import { r as useDebouncedCallback, t as Checkbox } from "./Checkbox-CyMoenl6.js";
14
- import { r as InputText, t as RadioGroup } from "./RadioGroup-CEi7ZDGi.js";
15
- import { a as resolveFieldMetadata } from "./unincorporatedPartnership-E0Wffo2-.js";
16
- import { a as translateTranslatable, o as Field } from "./Select-DTqe0uNK.js";
17
- import { f as addressFields, p as isJapanLocalizationEnabled } from "./StateField-DgYpF1_M.js";
18
- import { A as alphanumericInputs, D as validatePatternOnBlur, E as validateNotEmptyOnBlur, F as spacer, M as makeMask, N as nonInputs, O as uppercase, P as numericInputs, k as alphaInputs, r as MaskedInput } from "./dropinUtils-DBnjaFWb.js";
19
- import { t as AddressFields } from "./AddressFields-M5jupF8l.js";
20
- import { n as MemoizedDocumentUpload } from "./PatriotActDisclosure-CTwsaivh.js";
21
- import { i as useAddressCleanse, r as formatAddressForCleanse, t as InputDate } from "./InputDate-PcZy5N0W.js";
13
+ import { r as useDebouncedCallback, t as Checkbox } from "./Checkbox-BEkC71r4.js";
14
+ import { r as InputText, t as RadioGroup } from "./RadioGroup-Csw26Mhr.js";
15
+ import { a as resolveFieldMetadata } from "./unincorporatedPartnership-DPK34PF1.js";
16
+ import { a as translateTranslatable, o as Field } from "./Select-Jjt3H6zs.js";
17
+ import { f as addressFields, p as isJapanLocalizationEnabled } from "./StateField-_JphU2zZ.js";
18
+ import { A as alphanumericInputs, D as validatePatternOnBlur, E as validateNotEmptyOnBlur, F as spacer, M as makeMask, N as nonInputs, O as uppercase, P as numericInputs, k as alphaInputs, r as MaskedInput } from "./dropinUtils-BAx_kWeq.js";
19
+ import { t as Address } from "./Address-5fEOjxqk.js";
20
+ import { n as MemoizedDocumentUpload } from "./PatriotActDisclosure-BRuDw3WO.js";
21
+ import { i as useAddressCleanse, r as formatAddressForCleanse, t as InputDate } from "./InputDate-CXixeMAM.js";
22
22
  import { i as getPrefixedFieldProps } from "./getProps-DVqK7eRw.js";
23
23
  import { r as formatDateObj } from "./InputDate.utils-D4Ov0KIl.js";
24
- import { t as formatValidationError } from "./formatValidationError-DIPpFoJQ.js";
25
- import { i as nestAddressSchema, n as getNestedTrustedFields, r as getPrefixedAddressFieldNames } from "./utils-BPKdYHDB.js";
24
+ import { t as formatValidationError } from "./formatValidationError-CRIcczdD.js";
25
+ import { i as nestAddressSchema, n as getNestedTrustedFields, r as getPrefixedAddressFieldNames } from "./utils-B9FZV547.js";
26
26
  import { Suspense, lazy, memo } from "preact/compat";
27
27
  import { useCallback as useCallback$1, useEffect as useEffect$1, useMemo as useMemo$1, useState as useState$1 } from "preact/hooks";
28
28
  import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
29
- //#region src/components/Shared/fields/DateOfIncorporationField/fieldConfig.ts
30
- var validateDateOfIncorporation = (dateOfIncorporation) => {
31
- if (!dateOfIncorporation) return false;
32
- const date = new Date(dateOfIncorporation);
33
- return date < /* @__PURE__ */ new Date() && date > new Date(1900, 0, 1);
34
- };
35
- var dateOfIncorporationFieldMetadata = {
36
- label: "dateOfIncorporation",
37
- validators: [validateNotEmptyOnBlur, {
38
- modes: ["blur"],
39
- validate: validateDateOfIncorporation,
40
- errorMessage: "invalidDateOfIncorporation"
41
- }]
42
- };
43
- var dateOfIncorporationFieldConfig = {
44
- HK: {
45
- ...dateOfIncorporationFieldMetadata,
46
- label: "dateOfFormation"
47
- },
48
- SG: {
49
- ...dateOfIncorporationFieldMetadata,
50
- label: "dateOfFormation"
51
- }
52
- };
53
- //#endregion
54
- //#region src/components/Shared/fields/DateOfIncorporationField/DateOfIncorporationField.tsx
55
- var DATE_OF_INCORPORATION_FIELD = ["dateOfIncorporation"];
56
- function DateOfIncorporationField({ data, valid, errors, placeholder, readonly, handleChangeFor, country }) {
57
- const { t } = useTranslation("common");
58
- const fieldMetaData = resolveFieldMetadata(dateOfIncorporationFieldConfig[country], {}, dateOfIncorporationFieldMetadata);
59
- const placeholderValue = placeholder ?? t(($) => $["datePlaceholder"]);
60
- const labelValue = t(($) => $[fieldMetaData.label ?? "dateOfIncorporation"]);
61
- return /* @__PURE__ */ jsx(Field, {
62
- name: "dateOfIncorporation",
63
- label: labelValue,
64
- errorMessage: errors.dateOfIncorporation,
65
- isValid: valid.dateOfIncorporation,
66
- children: (childProps) => /* @__PURE__ */ jsx(InputDate, {
67
- ...childProps,
68
- "aria-required": true,
69
- "aria-invalid": !valid.dateOfIncorporation,
70
- name: "dateOfIncorporation",
71
- value: data.dateOfIncorporation,
72
- placeholder: placeholderValue,
73
- readonly,
74
- onInput: handleChangeFor("dateOfIncorporation", "input"),
75
- onBlur: handleChangeFor("dateOfIncorporation", "blur"),
76
- max: formatDateObj(/* @__PURE__ */ new Date()),
77
- min: formatDateObj(new Date(1900, 0, 1))
78
- })
79
- });
80
- }
81
- //#endregion
82
- //#region src/components/Shared/fields/DBANameField/DBANameField.tsx
83
- var DBA_NAME_FIELD = ["hasDoingBusinessAs", "doingBusinessAs"];
84
- function DBANameField({ data, valid, errors, readonly, handleChangeFor }) {
85
- const { t } = useTranslation("common");
86
- const hasDoingBusinessAsValue = useMemo$1(() => {
87
- if (typeof data.hasDoingBusinessAs !== "boolean") return void 0;
88
- return data.hasDoingBusinessAs ? "yes" : "no";
89
- }, [data.hasDoingBusinessAs]);
90
- const handleHasDoingBusinessAsChange = (val) => {
91
- handleChangeFor("hasDoingBusinessAs")(val === "yes" ? true : false);
92
- };
93
- return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Field, {
94
- el: "fieldset",
95
- name: "hasDoingBusinessAsName",
96
- label: t(($) => $["hasDba"]),
97
- helper: t(($) => $["hasDba__helperText"]),
98
- isValid: valid.hasDoingBusinessAs,
99
- errorMessage: errors.hasDoingBusinessAs,
100
- children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
101
- ...childProps,
102
- name: "hasDoingBusinessAs",
103
- items: [{
104
- id: "yes",
105
- name: "yes"
106
- }, {
107
- id: "no",
108
- name: "no"
109
- }],
110
- value: hasDoingBusinessAsValue,
111
- onChange: handleHasDoingBusinessAsChange,
112
- horizontal: true
113
- })
114
- }), data.hasDoingBusinessAs && /* @__PURE__ */ jsx(Field, {
115
- name: "doingBusinessAs",
116
- label: t(($) => $["doingBusinessAs"]),
117
- errorMessage: errors.doingBusinessAs,
118
- isValid: valid.doingBusinessAs,
119
- children: (childProps) => /* @__PURE__ */ jsx(InputText, {
120
- ...childProps,
121
- "aria-required": true,
122
- "aria-invalid": !valid.doingBusinessAs,
123
- name: "doingBusinessAs",
124
- value: data.doingBusinessAs,
125
- readonly,
126
- onInput: handleChangeFor("doingBusinessAs", "input"),
127
- onBlur: handleChangeFor("doingBusinessAs", "blur")
128
- })
129
- })] });
130
- }
131
- //#endregion
132
- //#region src/components/Shared/fields/DBANameField/fieldConfig.ts
133
- var doingBusinessAsAbsentFieldMetadata = { validators: [validateNotEmptyOnBlur] };
134
- var doingBusinessAsFieldMetadata = { validators: [validateNotEmptyOnBlur] };
135
- //#endregion
136
29
  //#region src/utils/useDebouncedState.ts
137
30
  /**
138
31
  * Like {@link useState}, but waits for the given amount of time before applying *only* the most recent update.
@@ -149,13 +42,19 @@ var RegistrationAndOperationalAddressFields_module_default = {
149
42
  sectionHeading: "_section-heading_nb4mz_1"
150
43
  };
151
44
  //#endregion
152
- //#region src/components/Shared/fields/RegistrationAndOperationalAddressFields/RegistrationAndOperationalAddressFields.tsx
153
- var LazyJpAddressFields = lazy(async () => (await import("./JpAddressFields-CapPuNBU.js")).JpAddressFields);
45
+ //#region src/components/Shared/fields/Address/RegistrationAndOperationalAddressFields/RegistrationAndOperationalAddressFields.tsx
46
+ var LazyJpAddressFields = lazy(async () => (await import("./JpAddress-D68j3n7L.js")).JpAddress);
154
47
  var REGISTRATION_AND_OPERATIONAL_ADDRESS_FIELDS = [
155
48
  "operationalAddressIsSame",
156
49
  ...getPrefixedAddressFieldNames("registrationAddress"),
157
50
  ...getPrefixedAddressFieldNames("operationalAddress")
158
51
  ];
52
+ /**
53
+ * A shared way of using & interacting with a registration & operational address on the same page, used
54
+ * by Business Details & Trusts/Unincorporated partnerships.
55
+ *
56
+ * Hides country & interacts with `operationalAddressIsSame` to show/hide operational address fields.
57
+ */
159
58
  function RegistrationAndOperationalAddressFields({ country, readOnlyAddressFields, entityType, data, valid, errors, requiredFields, optionalFields, trustedFields, fieldValidationErrors, handleChangeFor, formUtils }) {
160
59
  const { t, i18n } = useTranslation("common");
161
60
  const { isSettingEnabled } = useSettingsContext();
@@ -236,7 +135,7 @@ function RegistrationAndOperationalAddressFields({ country, readOnlyAddressField
236
135
  ...addressFieldProps.registrationAddress,
237
136
  addressType: "registrationAddress"
238
137
  })
239
- }) : /* @__PURE__ */ jsx(AddressFields, {
138
+ }) : /* @__PURE__ */ jsx(Address, {
240
139
  ...addressFieldProps.registrationAddress,
241
140
  addressType: "registrationAddress",
242
141
  readOnlyFields: readOnlyAddressFields,
@@ -291,7 +190,7 @@ function RegistrationAndOperationalAddressFields({ country, readOnlyAddressField
291
190
  ...addressFieldProps.operationalAddress,
292
191
  addressType: "operationalAddress"
293
192
  })
294
- }) : /* @__PURE__ */ jsx(AddressFields, {
193
+ }) : /* @__PURE__ */ jsx(Address, {
295
194
  ...addressFieldProps.operationalAddress,
296
195
  addressType: "operationalAddress",
297
196
  trustedFields: getNestedTrustedFields("operationalAddress", trustedFields),
@@ -300,6 +199,113 @@ function RegistrationAndOperationalAddressFields({ country, readOnlyAddressField
300
199
  ] })] });
301
200
  }
302
201
  //#endregion
202
+ //#region src/components/Shared/fields/DateOfIncorporationField/fieldConfig.ts
203
+ var validateDateOfIncorporation = (dateOfIncorporation) => {
204
+ if (!dateOfIncorporation) return false;
205
+ const date = new Date(dateOfIncorporation);
206
+ return date < /* @__PURE__ */ new Date() && date > new Date(1900, 0, 1);
207
+ };
208
+ var dateOfIncorporationFieldMetadata = {
209
+ label: "dateOfIncorporation",
210
+ validators: [validateNotEmptyOnBlur, {
211
+ modes: ["blur"],
212
+ validate: validateDateOfIncorporation,
213
+ errorMessage: "invalidDateOfIncorporation"
214
+ }]
215
+ };
216
+ var dateOfIncorporationFieldConfig = {
217
+ HK: {
218
+ ...dateOfIncorporationFieldMetadata,
219
+ label: "dateOfFormation"
220
+ },
221
+ SG: {
222
+ ...dateOfIncorporationFieldMetadata,
223
+ label: "dateOfFormation"
224
+ }
225
+ };
226
+ //#endregion
227
+ //#region src/components/Shared/fields/DateOfIncorporationField/DateOfIncorporationField.tsx
228
+ var DATE_OF_INCORPORATION_FIELD = ["dateOfIncorporation"];
229
+ function DateOfIncorporationField({ data, valid, errors, placeholder, readonly, handleChangeFor, country }) {
230
+ const { t } = useTranslation("common");
231
+ const fieldMetaData = resolveFieldMetadata(dateOfIncorporationFieldConfig[country], {}, dateOfIncorporationFieldMetadata);
232
+ const placeholderValue = placeholder ?? t(($) => $["datePlaceholder"]);
233
+ const labelValue = t(($) => $[fieldMetaData.label ?? "dateOfIncorporation"]);
234
+ return /* @__PURE__ */ jsx(Field, {
235
+ name: "dateOfIncorporation",
236
+ label: labelValue,
237
+ errorMessage: errors.dateOfIncorporation,
238
+ isValid: valid.dateOfIncorporation,
239
+ children: (childProps) => /* @__PURE__ */ jsx(InputDate, {
240
+ ...childProps,
241
+ "aria-required": true,
242
+ "aria-invalid": !valid.dateOfIncorporation,
243
+ name: "dateOfIncorporation",
244
+ value: data.dateOfIncorporation,
245
+ placeholder: placeholderValue,
246
+ readonly,
247
+ onInput: handleChangeFor("dateOfIncorporation", "input"),
248
+ onBlur: handleChangeFor("dateOfIncorporation", "blur"),
249
+ max: formatDateObj(/* @__PURE__ */ new Date()),
250
+ min: formatDateObj(new Date(1900, 0, 1))
251
+ })
252
+ });
253
+ }
254
+ //#endregion
255
+ //#region src/components/Shared/fields/DBANameField/DBANameField.tsx
256
+ var DBA_NAME_FIELD = ["hasDoingBusinessAs", "doingBusinessAs"];
257
+ function DBANameField({ data, valid, errors, readonly, handleChangeFor }) {
258
+ const { t } = useTranslation("common");
259
+ const hasDoingBusinessAsValue = useMemo$1(() => {
260
+ if (typeof data.hasDoingBusinessAs !== "boolean") return void 0;
261
+ return data.hasDoingBusinessAs ? "yes" : "no";
262
+ }, [data.hasDoingBusinessAs]);
263
+ const handleHasDoingBusinessAsChange = (val) => {
264
+ handleChangeFor("hasDoingBusinessAs")(val === "yes" ? true : false);
265
+ };
266
+ return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Field, {
267
+ el: "fieldset",
268
+ name: "hasDoingBusinessAsName",
269
+ label: t(($) => $["hasDba"]),
270
+ helper: t(($) => $["hasDba__helperText"]),
271
+ isValid: valid.hasDoingBusinessAs,
272
+ errorMessage: errors.hasDoingBusinessAs,
273
+ children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
274
+ ...childProps,
275
+ name: "hasDoingBusinessAs",
276
+ items: [{
277
+ id: "yes",
278
+ name: "yes"
279
+ }, {
280
+ id: "no",
281
+ name: "no"
282
+ }],
283
+ value: hasDoingBusinessAsValue,
284
+ onChange: handleHasDoingBusinessAsChange,
285
+ horizontal: true
286
+ })
287
+ }), data.hasDoingBusinessAs && /* @__PURE__ */ jsx(Field, {
288
+ name: "doingBusinessAs",
289
+ label: t(($) => $["doingBusinessAs"]),
290
+ errorMessage: errors.doingBusinessAs,
291
+ isValid: valid.doingBusinessAs,
292
+ children: (childProps) => /* @__PURE__ */ jsx(InputText, {
293
+ ...childProps,
294
+ "aria-required": true,
295
+ "aria-invalid": !valid.doingBusinessAs,
296
+ name: "doingBusinessAs",
297
+ value: data.doingBusinessAs,
298
+ readonly,
299
+ onInput: handleChangeFor("doingBusinessAs", "input"),
300
+ onBlur: handleChangeFor("doingBusinessAs", "blur")
301
+ })
302
+ })] });
303
+ }
304
+ //#endregion
305
+ //#region src/components/Shared/fields/DBANameField/fieldConfig.ts
306
+ var doingBusinessAsAbsentFieldMetadata = { validators: [validateNotEmptyOnBlur] };
307
+ var doingBusinessAsFieldMetadata = { validators: [validateNotEmptyOnBlur] };
308
+ //#endregion
303
309
  //#region src/components/Shared/fields/VatNumberField/fieldConfig.ts
304
310
  var vatAbsenceReasonMetadata = { validators: [validateNotEmptyOnBlur] };
305
311
  var defaultFieldMetadata = { label: "vatNumber" };
@@ -1217,4 +1223,4 @@ function ConstitutionalDocumentUpload({ id, legalEntityType, ...props }) {
1217
1223
  }
1218
1224
  var MemoizedConstitutionalDocument = memo(ConstitutionalDocumentUpload, (prevProps, nextProps) => objectsDeepEqual(prevProps.requiredFields, nextProps.requiredFields) && objectsDeepEqual(prevProps.data, nextProps.data) && objectsDeepEqual(prevProps.formVerificationErrors, nextProps.formVerificationErrors) && objectsDeepEqual(prevProps.fieldValidationErrors, nextProps.fieldValidationErrors) && prevProps.shouldValidate === nextProps.shouldValidate);
1219
1225
  //#endregion
1220
- export { dateOfIncorporationFieldMetadata as _, defaultFieldConfig as a, REGISTRATION_AND_OPERATIONAL_ADDRESS_FIELDS as c, doingBusinessAsFieldMetadata as d, DBANameField as f, dateOfIncorporationFieldConfig as g, DateOfIncorporationField as h, getDefaultVatNumberType as i, RegistrationAndOperationalAddressFields as l, DATE_OF_INCORPORATION_FIELD as m, VAT_NUMBER_FIELD as n, defaultFieldMetadata as o, DBA_NAME_FIELD as p, VatNumberField as r, vatAbsenceReasonMetadata as s, MemoizedConstitutionalDocument as t, doingBusinessAsAbsentFieldMetadata as u };
1226
+ export { RegistrationAndOperationalAddressFields as _, defaultFieldConfig as a, doingBusinessAsAbsentFieldMetadata as c, DBA_NAME_FIELD as d, DATE_OF_INCORPORATION_FIELD as f, REGISTRATION_AND_OPERATIONAL_ADDRESS_FIELDS as g, dateOfIncorporationFieldMetadata as h, getDefaultVatNumberType as i, doingBusinessAsFieldMetadata as l, dateOfIncorporationFieldConfig as m, VAT_NUMBER_FIELD as n, defaultFieldMetadata as o, DateOfIncorporationField as p, VatNumberField as r, vatAbsenceReasonMetadata as s, MemoizedConstitutionalDocument as t, DBANameField as u };
@@ -1,15 +1,15 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0b75e376-c13e-45b5-8c8c-152b13d45f8b", e._sentryDebugIdIdentifier = "sentry-dbid-0b75e376-c13e-45b5-8c8c-152b13d45f8b");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "dfb7eb47-af69-40c1-885f-3f15bbffb8a3", e._sentryDebugIdIdentifier = "sentry-dbid-dfb7eb47-af69-40c1-885f-3f15bbffb8a3");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-CpH8D2NK.js";
6
- import { D as useDataset, N as Header, O as datasetIdentifier, ct as isEmpty } from "./registerEmbed-DQqTWYX2.js";
6
+ import { D as useDataset, N as Header, O as datasetIdentifier, ct as isEmpty } from "./registerEmbed-Xubdbk-a.js";
7
7
  import { r as httpPost, s as useApiContext } from "./http-C8rt2BZk.js";
8
8
  import { o as entriesOf } from "./genUtils-nphCwt1A.js";
9
9
  import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
10
- import { a as resolveFieldMetadata } from "./unincorporatedPartnership-E0Wffo2-.js";
11
- import { o as Field, t as Select } from "./Select-DTqe0uNK.js";
12
- import { F as spacer, M as makeMask, N as nonInputs, P as numericInputs, _ as mergeFieldMetadataIntoProps, g as createFormUtils, i as InputEmail, r as MaskedInput } from "./dropinUtils-DBnjaFWb.js";
10
+ import { a as resolveFieldMetadata } from "./unincorporatedPartnership-DPK34PF1.js";
11
+ import { o as Field, t as Select } from "./Select-Jjt3H6zs.js";
12
+ import { F as spacer, M as makeMask, N as nonInputs, P as numericInputs, _ as mergeFieldMetadataIntoProps, g as createFormUtils, i as InputEmail, r as MaskedInput } from "./dropinUtils-BAx_kWeq.js";
13
13
  import { n as emailPattern } from "./basePatterns-plHFNzgJ.js";
14
14
  import { t as InputGroup } from "./InputGroup-Bv005B22.js";
15
15
  import { useCallback, useEffect, useMemo, useState } from "preact/hooks";
@@ -2,8 +2,8 @@ try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
3
  n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c49ecb75-db74-474e-9d62-09d5b29229f6", e._sentryDebugIdIdentifier = "sentry-dbid-c49ecb75-db74-474e-9d62-09d5b29229f6");
4
4
  } catch (e) {}
5
- import { T as Alert } from "./registerEmbed-DQqTWYX2.js";
6
- import { a as useAnalyticsContext } from "./useId-BV444pyC.js";
5
+ import { T as Alert } from "./registerEmbed-Xubdbk-a.js";
6
+ import { a as useAnalyticsContext } from "./useId-usoEnbTl.js";
7
7
  import { jsx } from "preact/jsx-runtime";
8
8
  //#region src/components/ui/molecules/ContextGuidance/ContextGuidance.tsx
9
9
  function ContextGuidance({ title, content, titleId, contentId, trackingParams }) {
@@ -3,10 +3,10 @@ try {
3
3
  n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f78ac622-fa2a-46c6-b5ca-0bd552fd1cdd", e._sentryDebugIdIdentifier = "sentry-dbid-f78ac622-fa2a-46c6-b5ca-0bd552fd1cdd");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-CpH8D2NK.js";
6
- import { D as useDataset, O as datasetIdentifier } from "./registerEmbed-DQqTWYX2.js";
7
- import { o as Field, t as Select } from "./Select-DTqe0uNK.js";
6
+ import { D as useDataset, O as datasetIdentifier } from "./registerEmbed-Xubdbk-a.js";
7
+ import { o as Field, t as Select } from "./Select-Jjt3H6zs.js";
8
8
  import { n as withForm } from "./formHook-Dgi2CgbT.js";
9
- import { t as getValidationError } from "./getValidationError-C00cY5Gg.js";
9
+ import { t as getValidationError } from "./getValidationError-t17tjdt8.js";
10
10
  import { t as isNotEmpty } from "./sharedValidators-DODW7kuK.js";
11
11
  import { jsx } from "preact/jsx-runtime";
12
12
  //#region src/adaptiveWorkflow/components/Shared/Fields/CountryField/contextMap.ts
@@ -1,17 +1,17 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7477d29c-8a14-4f02-9549-135ff3c0b4a4", e._sentryDebugIdIdentifier = "sentry-dbid-7477d29c-8a14-4f02-9549-135ff3c0b4a4");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d49d9e54-7865-4984-bd49-a4cebb068403", e._sentryDebugIdIdentifier = "sentry-dbid-d49d9e54-7865-4984-bd49-a4cebb068403");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-CpH8D2NK.js";
6
- import { dt as isUndefinedOrNull } from "./registerEmbed-DQqTWYX2.js";
6
+ import { dt as isUndefinedOrNull } from "./registerEmbed-Xubdbk-a.js";
7
7
  import { t as createLogger } from "./logger-Z8AeTE4x.js";
8
8
  import { t as Typography } from "./Typography-CAc_f5Iq.js";
9
9
  import { n as httpGet, s as useApiContext } from "./http-C8rt2BZk.js";
10
10
  import { r as drop } from "./genUtils-nphCwt1A.js";
11
- import { t as Checkbox } from "./Checkbox-CyMoenl6.js";
12
- import { a as InputBase, r as InputText } from "./RadioGroup-CEi7ZDGi.js";
13
- import { o as Field, t as Select } from "./Select-DTqe0uNK.js";
14
- import { A as alphanumericInputs, M as makeMask, O as uppercase, r as MaskedInput } from "./dropinUtils-DBnjaFWb.js";
11
+ import { t as Checkbox } from "./Checkbox-BEkC71r4.js";
12
+ import { a as InputBase, r as InputText } from "./RadioGroup-Csw26Mhr.js";
13
+ import { o as Field, t as Select } from "./Select-Jjt3H6zs.js";
14
+ import { A as alphanumericInputs, M as makeMask, O as uppercase, r as MaskedInput } from "./dropinUtils-BAx_kWeq.js";
15
15
  import { t as Link } from "./Link-BtWj5mVH.js";
16
16
  import { t as currencyByCountry } from "./types-CP3D_hFv.js";
17
17
  import { useCallback, useEffect, useMemo, useRef, useState } from "preact/hooks";
@@ -1,25 +1,25 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "1cb8c42f-63c8-4c48-8fbf-25dc44d548e9", e._sentryDebugIdIdentifier = "sentry-dbid-1cb8c42f-63c8-4c48-8fbf-25dc44d548e9");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ea0d27e7-c733-43a1-945a-cc291273628b", e._sentryDebugIdIdentifier = "sentry-dbid-ea0d27e7-c733-43a1-945a-cc291273628b");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-CpH8D2NK.js";
6
- import { N as Header } from "./registerEmbed-DQqTWYX2.js";
6
+ import { N as Header } from "./registerEmbed-Xubdbk-a.js";
7
7
  import { t as createLogger } from "./logger-Z8AeTE4x.js";
8
8
  import { t as Loader } from "./Loader-BDaKGf77.js";
9
9
  import { t as Button } from "./Button-EhGM-oCO.js";
10
10
  import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CxeMoCm4.js";
11
11
  import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
12
- import { a as useAnalyticsContext } from "./useId-BV444pyC.js";
13
- import { n as useToastContext } from "./invalidateRootLegalEntity-DrJp13W1.js";
14
- import { a as resolveFieldMetadata } from "./unincorporatedPartnership-E0Wffo2-.js";
12
+ import { a as useAnalyticsContext } from "./useId-usoEnbTl.js";
13
+ import { n as useToastContext } from "./invalidateRootLegalEntity-BWLd6SvV.js";
14
+ import { a as resolveFieldMetadata } from "./unincorporatedPartnership-DPK34PF1.js";
15
15
  import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-FHk416BA.js";
16
- import { h as useUpdateLegalEntity } from "./StateField-DgYpF1_M.js";
17
- import { I as useMultiForm, g as createFormUtils } from "./dropinUtils-DBnjaFWb.js";
18
- import { t as useNavigate } from "./useNavigate-BPvz7b_2.js";
19
- import { a as contactDetailsValidationRules, c as getAsyncPhoneValidationRules, o as defaultFieldMetadata, s as fieldConfig, t as ContactDetails, u as useValidatePhoneNumberImperatively } from "./ContactDetails-Dfr6ysdg.js";
20
- import { t as useTaskLandedEvent } from "./useTaskLandedEvent-CuOu8Sqr.js";
21
- import { n as SaveForLaterButton, t as useSaveForLater } from "./useSaveForLater-BSIOwMfL.js";
22
- import { t as ErrorPanel } from "./ErrorPanel-CXMvMtur.js";
16
+ import { h as useUpdateLegalEntity } from "./StateField-_JphU2zZ.js";
17
+ import { I as useMultiForm, g as createFormUtils } from "./dropinUtils-BAx_kWeq.js";
18
+ import { t as useNavigate } from "./useNavigate-hJpbSouk.js";
19
+ import { a as contactDetailsValidationRules, c as getAsyncPhoneValidationRules, o as defaultFieldMetadata, s as fieldConfig, t as ContactDetails, u as useValidatePhoneNumberImperatively } from "./ContactDetails-OK5zV1U1.js";
20
+ import { t as useTaskLandedEvent } from "./useTaskLandedEvent-CmLLhK6a.js";
21
+ import { n as SaveForLaterButton, t as useSaveForLater } from "./useSaveForLater-fJUZyWBN.js";
22
+ import { t as ErrorPanel } from "./ErrorPanel-Dwtd8sic.js";
23
23
  import { t as Spacer } from "./Spacer-CEHRO4Ml.js";
24
24
  import { useCallback, useMemo } from "preact/hooks";
25
25
  import { jsx, jsxs } from "preact/jsx-runtime";
@@ -1,13 +1,13 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "953ec875-023d-4b41-b088-de2e72b61a88", e._sentryDebugIdIdentifier = "sentry-dbid-953ec875-023d-4b41-b088-de2e72b61a88");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "78cbb489-f517-41b6-b661-3e8dcb00fa1e", e._sentryDebugIdIdentifier = "sentry-dbid-78cbb489-f517-41b6-b661-3e8dcb00fa1e");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-CpH8D2NK.js";
6
- import { a as InputBase } from "./RadioGroup-CEi7ZDGi.js";
7
- import { o as Field } from "./Select-DTqe0uNK.js";
6
+ import { a as InputBase } from "./RadioGroup-Csw26Mhr.js";
7
+ import { o as Field } from "./Select-Jjt3H6zs.js";
8
8
  import { t as checkDateInputSupport } from "./InputDate.utils-D4Ov0KIl.js";
9
9
  import { n as withForm } from "./formHook-Dgi2CgbT.js";
10
- import { t as getValidationError } from "./getValidationError-C00cY5Gg.js";
10
+ import { t as getValidationError } from "./getValidationError-t17tjdt8.js";
11
11
  import { t as isNotEmpty } from "./sharedValidators-DODW7kuK.js";
12
12
  import { useMemo } from "preact/hooks";
13
13
  import { jsx } from "preact/jsx-runtime";
@@ -1,9 +1,9 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "cba50cfc-38d8-48f5-aea5-a65c0450ad63", e._sentryDebugIdIdentifier = "sentry-dbid-cba50cfc-38d8-48f5-aea5-a65c0450ad63");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "18a46296-9446-460a-a702-071ae1926123", e._sentryDebugIdIdentifier = "sentry-dbid-18a46296-9446-460a-a702-071ae1926123");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-CpH8D2NK.js";
6
- import { F as ExperimentNames, I as FeatureNames, R as listToRecord, d as splitTaskIdentifier, o as useGlobalStore } from "./registerEmbed-DQqTWYX2.js";
6
+ import { F as ExperimentNames, I as FeatureNames, R as listToRecord, d as splitTaskIdentifier, o as useGlobalStore } from "./registerEmbed-Xubdbk-a.js";
7
7
  import { t as createLogger } from "./logger-Z8AeTE4x.js";
8
8
  import { t as Icon } from "./Icon-D2IGgB2L.js";
9
9
  import { t as Button } from "./Button-EhGM-oCO.js";
@@ -11,9 +11,9 @@ import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
11
11
  import { c as valuesOf, o as entriesOf } from "./genUtils-nphCwt1A.js";
12
12
  import { t as TaskVerificationStatus } from "./TaskVerificationStatus-Br7t30ur.js";
13
13
  import { t as Accordion } from "./Accordion-DyU-Pxob.js";
14
- import { i as useToggleContext, t as Checkbox } from "./Checkbox-CyMoenl6.js";
15
- import { n as Modal } from "./useId-BV444pyC.js";
16
- import { o as formDebugInfo, r as InputText, s as SettingNames, t as RadioGroup } from "./RadioGroup-CEi7ZDGi.js";
14
+ import { i as useToggleContext, t as Checkbox } from "./Checkbox-BEkC71r4.js";
15
+ import { n as Modal } from "./useId-usoEnbTl.js";
16
+ import { o as formDebugInfo, r as InputText, s as SettingNames, t as RadioGroup } from "./RadioGroup-Csw26Mhr.js";
17
17
  import { t as Tag } from "./Tag-CNeDHqKp.js";
18
18
  import { useEffect, useMemo, useRef, useState } from "preact/hooks";
19
19
  import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
@@ -604,7 +604,7 @@ var DebugModal = ({ onExit }) => {
604
604
  const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
605
605
  const formDebugAvailable = Object.keys(formDebugInfo.value).length > 0;
606
606
  const metadata = {
607
- sdkVersion: "4.28.0-beta.1",
607
+ sdkVersion: "4.28.0-beta.3",
608
608
  locale: i18n.language,
609
609
  rootLegalEntityId: rootLegalEntity.id
610
610
  };
@@ -1,9 +1,9 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "aa8b8d7f-138d-4a21-a3a6-c909f1b72ba1", e._sentryDebugIdIdentifier = "sentry-dbid-aa8b8d7f-138d-4a21-a3a6-c909f1b72ba1");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "455f3b70-fc7f-4f43-b0d7-a6e68980afc9", e._sentryDebugIdIdentifier = "sentry-dbid-455f3b70-fc7f-4f43-b0d7-a6e68980afc9");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-CpH8D2NK.js";
6
- import { T as Alert } from "./registerEmbed-DQqTWYX2.js";
6
+ import { T as Alert } from "./registerEmbed-Xubdbk-a.js";
7
7
  import { t as createLogger } from "./logger-Z8AeTE4x.js";
8
8
  import { t as Loader } from "./Loader-BDaKGf77.js";
9
9
  import { t as Button } from "./Button-EhGM-oCO.js";
@@ -18,15 +18,15 @@ import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
18
18
  import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
19
19
  import { t as DecisionMakerTypes } from "./decisionMaker-CR0qaGWQ.js";
20
20
  import { t as Scenarios } from "./scenarios-nibtmpSb.js";
21
- import { i as useToggleContext } from "./Checkbox-CyMoenl6.js";
22
- import { a as useAnalyticsContext, n as Modal } from "./useId-BV444pyC.js";
21
+ import { i as useToggleContext } from "./Checkbox-BEkC71r4.js";
22
+ import { a as useAnalyticsContext, n as Modal } from "./useId-usoEnbTl.js";
23
23
  import { t as ListItem } from "./ListItem-aX6AyCay.js";
24
- import { n as useToastContext } from "./invalidateRootLegalEntity-DrJp13W1.js";
25
- import { o as StructuredList, s as Confirm } from "./utils-B_dD2dvD.js";
26
- import { t as getIdNowMissingDataPoints } from "./bafinUtils-CFvCTqAt.js";
24
+ import { n as useToastContext } from "./invalidateRootLegalEntity-BWLd6SvV.js";
25
+ import { o as StructuredList, s as Confirm } from "./utils-6Lfk9m3d.js";
26
+ import { t as getIdNowMissingDataPoints } from "./bafinUtils-Cs44-4gm.js";
27
27
  import { t as useScenarios } from "./useScenarios-DfE71fl7.js";
28
- import { l as shouldNavigateToAdditionalPersonalDetailsForMissingData, n as SummaryBulletList, r as mapLegalEntityToIndividualSchema, t as formatDataForSummary, u as useCreateInvitation } from "./formatDataForSummary-Ccs4H7BO.js";
29
- import { t as SummarySection } from "./SummarySection-uydAtNRx.js";
28
+ import { l as shouldNavigateToAdditionalPersonalDetailsForMissingData, n as SummaryBulletList, r as mapLegalEntityToIndividualSchema, t as formatDataForSummary, u as useCreateInvitation } from "./formatDataForSummary-DVcusBqf.js";
29
+ import { t as SummarySection } from "./SummarySection-BdHCHEUu.js";
30
30
  import { t as DetailViewLayout } from "./DetailViewLayout-DJgAzdlZ.js";
31
31
  import { t as getTrustedDecisionMakers } from "./getTrustedDecisionMakers-CD9uLmHi.js";
32
32
  import { useMemo, useState } from "preact/hooks";
@@ -1,9 +1,9 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c34cf527-9ac4-4d77-9e14-63d594b6113b", e._sentryDebugIdIdentifier = "sentry-dbid-c34cf527-9ac4-4d77-9e14-63d594b6113b");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ba7a3bd7-c62e-42e6-ba0a-468b7bb2df2e", e._sentryDebugIdIdentifier = "sentry-dbid-ba7a3bd7-c62e-42e6-ba0a-468b7bb2df2e");
4
4
  } catch (e) {}
5
5
  import { n as addResourceBundles, r as useTranslation } from "./translation-CpH8D2NK.js";
6
- import { P as _rolldown_dynamic_import_helper_default } from "./registerEmbed-DQqTWYX2.js";
6
+ import { P as _rolldown_dynamic_import_helper_default } from "./registerEmbed-Xubdbk-a.js";
7
7
  import { t as Loader } from "./Loader-BDaKGf77.js";
8
8
  import { r as useLegalEntity } from "./useLegalEntity-CxeMoCm4.js";
9
9
  import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BK-HHa65.js";
@@ -11,11 +11,11 @@ import { i as noop } from "./genUtils-nphCwt1A.js";
11
11
  import { c as individualBaseMapping } from "./processCapabilities-B75YIdXZ.js";
12
12
  import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
13
13
  import { i as getTrustedFieldsProvider, r as getTrustedFields } from "./ListItem-aX6AyCay.js";
14
- import { n as useToastContext } from "./invalidateRootLegalEntity-DrJp13W1.js";
14
+ import { n as useToastContext } from "./invalidateRootLegalEntity-BWLd6SvV.js";
15
15
  import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-FHk416BA.js";
16
- import { n as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory } from "./bafinUtils-CFvCTqAt.js";
16
+ import { n as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory } from "./bafinUtils-Cs44-4gm.js";
17
17
  import { t as useScenarios } from "./useScenarios-DfE71fl7.js";
18
- import { t as IndividualDropin } from "./IndividualDropin-BunW0Y1z.js";
18
+ import { t as IndividualDropin } from "./IndividualDropin-BwgEZs3x.js";
19
19
  import { t as getTrustedDecisionMakers } from "./getTrustedDecisionMakers-CD9uLmHi.js";
20
20
  import { useEffect } from "preact/hooks";
21
21
  import { jsx } from "preact/jsx-runtime";
@@ -1,9 +1,9 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "011b6871-b89a-40e4-9543-790361f29345", e._sentryDebugIdIdentifier = "sentry-dbid-011b6871-b89a-40e4-9543-790361f29345");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c6929233-6c79-4870-9434-7e0fdba23ae9", e._sentryDebugIdIdentifier = "sentry-dbid-c6929233-6c79-4870-9434-7e0fdba23ae9");
4
4
  } catch (e) {}
5
5
  import { n as addResourceBundles, r as useTranslation } from "./translation-CpH8D2NK.js";
6
- import { N as Header, P as _rolldown_dynamic_import_helper_default, T as Alert, a as useGetTaskStatus } from "./registerEmbed-DQqTWYX2.js";
6
+ import { N as Header, P as _rolldown_dynamic_import_helper_default, T as Alert, a as useGetTaskStatus } from "./registerEmbed-Xubdbk-a.js";
7
7
  import { t as Typography } from "./Typography-CAc_f5Iq.js";
8
8
  import { t as Loader } from "./Loader-BDaKGf77.js";
9
9
  import { t as Button } from "./Button-EhGM-oCO.js";
@@ -15,18 +15,18 @@ import { w as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING } from "./processCa
15
15
  import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
16
16
  import { t as DecisionMakerTypes } from "./decisionMaker-CR0qaGWQ.js";
17
17
  import { r as getOwnDecisionMakers } from "./decisionMakerRoles-DA8MK9Dh.js";
18
- import { i as useToggleContext } from "./Checkbox-CyMoenl6.js";
19
- import { a as useAnalyticsContext, n as Modal } from "./useId-BV444pyC.js";
18
+ import { i as useToggleContext } from "./Checkbox-BEkC71r4.js";
19
+ import { a as useAnalyticsContext, n as Modal } from "./useId-usoEnbTl.js";
20
20
  import { t as ListItem } from "./ListItem-aX6AyCay.js";
21
- import { n as useToastContext } from "./invalidateRootLegalEntity-DrJp13W1.js";
21
+ import { n as useToastContext } from "./invalidateRootLegalEntity-BWLd6SvV.js";
22
22
  import { t as useDataMissingRemediations } from "./useDataMissingRemediations-BfC7ECSn.js";
23
- import { l as LandingLayout, n as Image } from "./unincorporatedPartnership-E0Wffo2-.js";
23
+ import { l as LandingLayout, n as Image } from "./unincorporatedPartnership-DPK34PF1.js";
24
24
  import { n as useCapabilityProblems } from "./getProblemsForEntity-FHk416BA.js";
25
- import { h as useUpdateLegalEntity } from "./StateField-DgYpF1_M.js";
26
- import { o as List } from "./dropinUtils-DBnjaFWb.js";
27
- import { c as individualFormDefaultData, s as GuidanceQuestionValues } from "./formatDataForSummary-Ccs4H7BO.js";
28
- import { t as useTaskLandedEvent } from "./useTaskLandedEvent-CuOu8Sqr.js";
29
- import { i as useInvitationStatuses, n as getDecisionMakerDescription, t as DecisionMakerDetails } from "./DecisionMakerDetails-DMljWAWQ.js";
25
+ import { h as useUpdateLegalEntity } from "./StateField-_JphU2zZ.js";
26
+ import { o as List } from "./dropinUtils-BAx_kWeq.js";
27
+ import { c as individualFormDefaultData, s as GuidanceQuestionValues } from "./formatDataForSummary-DVcusBqf.js";
28
+ import { t as useTaskLandedEvent } from "./useTaskLandedEvent-CmLLhK6a.js";
29
+ import { i as useInvitationStatuses, n as getDecisionMakerDescription, t as DecisionMakerDetails } from "./DecisionMakerDetails-H1FVYCbP.js";
30
30
  import { lazy } from "preact/compat";
31
31
  import { useEffect as useEffect$1, useMemo as useMemo$1, useState as useState$1 } from "preact/hooks";
32
32
  import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
@@ -1,15 +1,15 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "928233af-fd72-4d84-a032-48e571f417c9", e._sentryDebugIdIdentifier = "sentry-dbid-928233af-fd72-4d84-a032-48e571f417c9");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "68388617-0f79-4177-8e85-75b46916dd50", e._sentryDebugIdIdentifier = "sentry-dbid-68388617-0f79-4177-8e85-75b46916dd50");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-CpH8D2NK.js";
6
- import { gt as StateContext } from "./registerEmbed-DQqTWYX2.js";
6
+ import { gt as StateContext } from "./registerEmbed-Xubdbk-a.js";
7
7
  import { t as Icon } from "./Icon-D2IGgB2L.js";
8
8
  import { t as Typography } from "./Typography-CAc_f5Iq.js";
9
9
  import { t as Button } from "./Button-EhGM-oCO.js";
10
- import { a as useAnalyticsContext } from "./useId-BV444pyC.js";
11
- import { t as useForm } from "./useForm-CwWvs060.js";
12
- import { i as bytesToSize, n as fileValidationRules, r as DropzoneFile, t as defaultFileValidationOptions } from "./validate-DlL0gf63.js";
10
+ import { a as useAnalyticsContext } from "./useId-usoEnbTl.js";
11
+ import { t as useForm } from "./useForm-tZJzKTj7.js";
12
+ import { i as bytesToSize, n as fileValidationRules, r as DropzoneFile, t as defaultFileValidationOptions } from "./validate-D-9807Cu.js";
13
13
  import { useEffect, useMemo, useRef, useState } from "preact/hooks";
14
14
  import cx from "classnames";
15
15
  import { Fragment, jsx, jsxs } from "preact/jsx-runtime";