@adyen/kyc-components 4.28.0-beta.0 → 4.28.0-beta.2

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 (167) hide show
  1. package/dist/{AcceptTermsOfServiceWorkflow-BHLj18cI.js → AcceptTermsOfServiceWorkflow-Be-e8pF_.js} +1 -1
  2. package/dist/{AccountSetupRejected-DrzCd1ET.js → AccountSetupRejected-BGfF7hle.js} +1 -1
  3. package/dist/{AdaptiveWorkflow-DmZF4G5t.js → AdaptiveWorkflow-aM_fyYfd.js} +20 -20
  4. package/dist/{AdaptiveWorkflowComponent-Bv5fIffv.js → AdaptiveWorkflowComponent-DvhXVdFs.js} +2 -2
  5. package/dist/{AddressFields-CF-UaSiA.js → Address-BrGQ-519.js} +15 -15
  6. package/dist/{BusinessFinancingDropin-DxUscJnz.js → BusinessFinancingDropin-Bgg_7bb2.js} +22 -22
  7. package/dist/{BusinessFinancingPage-aNSrpxqt.js → BusinessFinancingPage-BlABPwhd.js} +2 -2
  8. package/dist/{BusinessRegistrationNumberField-ByWbtuPm.js → BusinessRegistrationNumberField-VltO-NYx.js} +5 -5
  9. package/dist/{BusinessRegistrationNumberFieldGroup-BsaKq6cn.js → BusinessRegistrationNumberFieldGroup-Dv6BDmMB.js} +5 -5
  10. package/dist/{BusinessTypeSelectionPage-C8BtZX8K.js → BusinessTypeSelectionPage-C228n5L8.js} +11 -11
  11. package/dist/{Checkbox-Ec4wyyJQ.js → Checkbox-qmfi_XIo.js} +2 -2
  12. package/dist/{ComponentGroup-DnbvXojQ.js → ComponentGroup-CYKRwp_O.js} +1 -1
  13. package/dist/{ConstitutionalDocument-B4rf4Lt3.js → ConstitutionalDocument-amr_KQ4y.js} +131 -125
  14. package/dist/{ContactDetails-CZgDXYqx.js → ContactDetails-BOsIRVqJ.js} +5 -5
  15. package/dist/{ContextGuidance-C8FlwEPA.js → ContextGuidance-BXm2eIOy.js} +2 -2
  16. package/dist/{CountryField-8KwVjSwx.js → CountryField-CrMa4ivD.js} +3 -3
  17. package/dist/{Currency-DyE49bKs.js → Currency-l31xe6JM.js} +6 -6
  18. package/dist/{CustomerSupport-CvTI3Snc.js → CustomerSupport-D2jBxiF7.js} +12 -12
  19. package/dist/{DateField-l6H-nmfS.js → DateField-BgmwaY3C.js} +4 -4
  20. package/dist/{DebugModal-xkdniRzn.js → DebugModal-BlIi2HLj.js} +6 -6
  21. package/dist/{DecisionMakerDetails-CykBZZ9U.js → DecisionMakerDetails-jLcZ7TL2.js} +9 -9
  22. package/dist/{DecisionMakerDetailsPage-BnjOq-R1.js → DecisionMakerDetailsPage-BFJYqKEE.js} +5 -5
  23. package/dist/{DecisionMakers-B-4h5Vw_.js → DecisionMakers-CxKzZBAH.js} +11 -11
  24. package/dist/{Dropzone-D7Z9PsqG.js → Dropzone-bgeKnb5I.js} +5 -5
  25. package/dist/{EmailField-B-g3-z2A.js → EmailField-Bu-zlqHj.js} +4 -4
  26. package/dist/{EntityAssociation-CPRU3Nzl.js → EntityAssociation-CiZRBefO.js} +3 -3
  27. package/dist/{ErrorPanel-DUI1R5Sq.js → ErrorPanel-CBmxfydA.js} +2 -2
  28. package/dist/{GlobalEntryModal-Fszy2PMv.js → GlobalEntryModal-BdBW0KQQ.js} +17 -16
  29. package/dist/{GlobalEntryPage-GMRCmYj1.js → GlobalEntryPage-rC5GlvG_.js} +4 -4
  30. package/dist/{IdentityNumber-M8NzdW3O.js → IdentityNumber-CEJJ12gt.js} +4 -4
  31. package/dist/{IdentityNumberFieldGroup-nOlB5kOW.js → IdentityNumberFieldGroup-CZfyC-Uk.js} +3 -3
  32. package/dist/{IdentityScreeningWorkflow-kYczDRbc.js → IdentityScreeningWorkflow-BCSAk8rF.js} +8 -8
  33. package/dist/{IndividualDropin-C9bKZu8q.js → IndividualDropin-sjM2hszP.js} +99 -138
  34. package/dist/{IndustryCodeFieldGroup-ULwwyMfV.js → IndustryCodeFieldGroup-DYalt7iN.js} +4 -4
  35. package/dist/{InputDate-fc3bdvdZ.js → InputDate-C1Q3XDFU.js} +4 -4
  36. package/dist/{Introduction-BymKbaBE.js → Introduction-DMxhsL3f.js} +5 -5
  37. package/dist/{InvitedDecisionMakerComponent-CLBrLaip.js → InvitedDecisionMakerComponent-DyfllTrf.js} +7 -7
  38. package/dist/{JpAddressFields-Dhe_cQhr.js → JpAddress-eN7gCiZX.js} +13 -13
  39. package/dist/{LegalCompanyNameField-Ch1VrlJs.js → LegalCompanyNameField-hsrxQFKc.js} +4 -4
  40. package/dist/{LegalRepresentativeDetailsPage-ZsBdOW-Y.js → LegalRepresentativeDetailsPage-DWWgUBxS.js} +3 -3
  41. package/dist/{Name-r1ugrnWU.js → Name-X_kAmtWn.js} +3 -3
  42. package/dist/{NumberField-DzM3ge0J.js → NumberField-DZon5iLa.js} +3 -3
  43. package/dist/{PatriotActDisclosure-O5TlzUXU.js → PatriotActDisclosure-DsSoSucu.js} +9 -9
  44. package/dist/{PayoutDetailsDropin-J0pS_4a9.js → PayoutDetailsDropin-ARFbf1mK.js} +22 -22
  45. package/dist/{PayoutDetailsPage-COLJyIQ-.js → PayoutDetailsPage-yToj25iO.js} +4 -4
  46. package/dist/{RadioGroup-SDQSOsEf.js → RadioGroup-Di2A9RNN.js} +2 -2
  47. package/dist/{Review-PhQYqPF4.js → Review-lUkK6MwE.js} +5 -5
  48. package/dist/{RootBusinessDetailsPage-BI7ryRjt.js → RootBusinessDetailsPage-ZxdONb8B.js} +2 -2
  49. package/dist/{RootBusinessLinesPage-mvoHQZD_.js → RootBusinessLinesPage-Baet_8as.js} +17 -17
  50. package/dist/{RootIndividualDetailsPage-Cpm0vnKV.js → RootIndividualDetailsPage-BtcFOmeC.js} +3 -3
  51. package/dist/{Select-DtO-GvLp.js → Select-Cbxz27iA.js} +3 -3
  52. package/dist/{SignPCIComponent-Dvmu4-hc.js → SignPCIComponent-B1itIk9F.js} +10 -10
  53. package/dist/{SingpassSelection-np9ZfMrZ.js → SingpassSelection-BBA3x8Ek.js} +4 -4
  54. package/dist/{SoleProprietorshipPage-CwKtif4U.js → SoleProprietorshipPage-D6yrh1Uz.js} +2 -2
  55. package/dist/{SourceOfFundsPage-waLLSQf2.js → SourceOfFundsPage-Bb67iz0x.js} +18 -18
  56. package/dist/{SourceOfFundsWorkflow-Cat3HvUT.js → SourceOfFundsWorkflow-BJ9h5nc9.js} +1 -1
  57. package/dist/{StateField-DxKg7Ea-.js → StateField-BxWm98Tj.js} +9 -9
  58. package/dist/{Step-ZD1CeO4b.js → Step-BRmpSabH.js} +3 -3
  59. package/dist/{Summary-BJnh9lZz.js → Summary-BcIbpAPH.js} +1 -1
  60. package/dist/{SummarySection-D91P7H2B.js → SummarySection-DnHHb-mJ.js} +2 -2
  61. package/dist/{Task-_WDQUdM0.js → Task-BG_dxQ2R.js} +4 -4
  62. package/dist/{TaskGroup-C20Kri7W.js → TaskGroup-DEPNWcDV.js} +2 -2
  63. package/dist/{TaskListItem-BRTxzrek.js → TaskListItem-DpKBxP1U.js} +5 -5
  64. package/dist/TaxInformationField-Bi3pbDh_.js +259 -0
  65. package/dist/{TaxInformationFieldGroup-BiNe6-D4.js → TaxInformationFieldGroup-CrXPGmyZ.js} +7 -7
  66. package/dist/{TaxReportingDropin-DuZpEzKn.js → TaxReportingDropin-CWBoGi-F.js} +11 -11
  67. package/dist/{TaxReportingWorkflow-CMhxj0jx.js → TaxReportingWorkflow-DTB8F3cy.js} +1 -1
  68. package/dist/{TermsOfServiceManagement-Cp6-BOaT.js → TermsOfServiceManagement-nu7MYGFM.js} +9 -9
  69. package/dist/{TextArea-DD-KMQbg.js → TextArea-CweAdV3F.js} +3 -3
  70. package/dist/{TextField-Bdu0Wm6_.js → TextField-1RHuuIFu.js} +4 -4
  71. package/dist/{TrustDetailsPage-IGLuJZUE.js → TrustDetailsPage-C2921KNk.js} +23 -22
  72. package/dist/{TrustMemberCompanyPage-CNIDzOte.js → TrustMemberCompanyPage-C42UF9Wh.js} +4 -4
  73. package/dist/{TrustMemberIndividualPage-Q_IDqWsr.js → TrustMemberIndividualPage-C924EwDD.js} +3 -3
  74. package/dist/{TrustMemberRoleAndTypePage-B2EtfK6g.js → TrustMemberRoleAndTypePage-Dm_RyCCU.js} +19 -19
  75. package/dist/{TrustMembersOverview-hDVqCUbB.js → TrustMembersOverview-D9LIDqH0.js} +10 -10
  76. package/dist/{UboTaskItem-Bt45kkQu.js → UboTaskItem-Bu4PYMxQ.js} +3 -3
  77. package/dist/{UnincorporatedPartnershipIndividualPage-hkrLvEZw.js → UnincorporatedPartnershipIndividualPage-BcrmCuUV.js} +3 -3
  78. package/dist/{UnincorporatedPartnershipMemberCompanyPage-B8e9E2t2.js → UnincorporatedPartnershipMemberCompanyPage-BkUvuiG8.js} +3 -3
  79. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Rey_F44n.js → UnincorporatedPartnershipMemberRoleAndTypePage-BLvqAXNn.js} +9 -9
  80. package/dist/{UnincorporatedPartnershipMembersOverview-DPO8TjP4.js → UnincorporatedPartnershipMembersOverview-kTIfytG_.js} +5 -5
  81. package/dist/{VerificationErrorAlert-Lim_NsJO.js → VerificationErrorAlert-DKPgv09S.js} +2 -2
  82. package/dist/{WebsiteField-BLgq-_me.js → WebsiteField-9tvLajQV.js} +4 -4
  83. package/dist/{Workflow-CnkirZOn.js → Workflow-DFNvXzVW.js} +3 -3
  84. package/dist/{accountHolderUtils-D6wEBsLQ.js → accountHolderUtils-Cga0JXlL.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-TT8a0y7q.js → bafinUtils-Dxa3eJnZ.js} +10 -257
  96. package/dist/{constants-DsYpJv_6.js → constants-BgGlk1x-.js} +3 -3
  97. package/dist/{dropinUtils-CZuO0w1x.js → dropinUtils-5RadTVG9.js} +5 -5
  98. package/dist/{error-DBn4_qws.js → error-D0RXQj2N.js} +2 -2
  99. package/dist/{fieldConfig-Dh_qmAto.js → fieldConfig-xaGvx64s.js} +1 -1
  100. package/dist/{formatDataForSummary-oC9odBCW.js → formatDataForSummary-sQzHQFug.js} +127 -15
  101. package/dist/{formatValidationError-BsRC83kl.js → formatValidationError-Dy9gejj2.js} +1 -1
  102. package/dist/{getDefaultRegistrationNumberType-t926T5FG.js → getDefaultRegistrationNumberType-HWiiKcO3.js} +5 -5
  103. package/dist/{getValidationError-CXILdPw6.js → getValidationError-a_976vi9.js} +1 -1
  104. package/dist/{invalidateRootLegalEntity-CnH38v8h.js → invalidateRootLegalEntity-DBGrep1S.js} +1 -1
  105. package/dist/mapAddressLocalizationToJpAddressSchema-CT6eGqwa.js +39 -0
  106. package/dist/{mapExistingFile-CqbTLZ6i.js → mapExistingFile-CLSPk17k.js} +1 -1
  107. package/dist/{mapTransferInstrumentToPayoutAccount-Bet2QLgn.js → mapTransferInstrumentToPayoutAccount-DMhDNc2L.js} +1 -1
  108. package/dist/{processValidationErrors-B-A5EFGo.js → processValidationErrors-gryOf4Fj.js} +2 -2
  109. package/dist/{registerEmbed-CZDAZwKX.js → registerEmbed-TZ9ArAAB.js} +7 -7
  110. package/dist/{roleMetadata-DR0IBuky.js → roleMetadata-pBX4Alj3.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/utils/buildRequiredForms.d.ts +1 -0
  116. package/dist/types/components/Business/utils/isEligibleForReducedBusinessDetailsFlow.d.ts +15 -0
  117. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +1 -1
  118. package/dist/types/components/Individual/forms/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +1 -1
  119. package/dist/types/components/Individual/forms/IdVerificationMethod/individualConflictsSchema.d.ts +1 -1
  120. package/dist/types/components/Individual/forms/Individual.rules.d.ts +7 -1
  121. package/dist/types/components/Individual/mapping/mapIndividualSchemaToLegalEntity.d.ts +18 -0
  122. package/dist/types/components/Individual/tasks/IndividualDropin/IndividualSummary.d.ts +4 -1
  123. package/dist/types/components/Individual/utils/formatDataForSummary.d.ts +4 -1
  124. package/dist/types/components/Shared/{forms/Address/AddressFields.d.ts → fields/Address/Address.d.ts} +2 -2
  125. package/dist/types/components/Shared/fields/{RegistrationAndOperationalAddressFields → Address/RegistrationAndOperationalAddressFields}/RegistrationAndOperationalAddressFields.d.ts +7 -1
  126. package/dist/types/components/Shared/fields/{RegistrationAndOperationalAddressFields → Address/RegistrationAndOperationalAddressFields}/types.d.ts +5 -5
  127. package/dist/types/components/Shared/fields/{RegistrationAndOperationalAddressFields → Address/RegistrationAndOperationalAddressFields}/utils.d.ts +2 -2
  128. package/dist/types/components/Shared/{forms → fields}/Address/SearchAddress.d.ts +1 -1
  129. package/dist/types/components/Shared/fields/Address/localized/jp/JpAddress.d.ts +2 -0
  130. package/dist/types/components/Shared/{forms → fields}/Address/localized/jp/mapAddressLocalizationToJpAddressSchema.d.ts +1 -1
  131. package/dist/types/components/Shared/{forms → fields}/Address/localized/jp/mapJpAddressSchemaToAddressLocalizations.d.ts +1 -1
  132. package/dist/types/components/Shared/{forms → fields}/Address/localized/jp/mapJpAddressSummary.d.ts +1 -1
  133. package/dist/types/components/Shared/{forms → fields}/Address/rules.d.ts +1 -1
  134. package/dist/types/components/Shared/{forms → fields}/Address/types.d.ts +1 -1
  135. package/dist/types/components/Trust/forms/Trust/forms.d.ts +1 -1
  136. package/dist/types/components/Trust/forms/TrustRegistrationAddress/types.d.ts +1 -1
  137. package/dist/types/utils/addressToString.d.ts +1 -1
  138. package/dist/{unincorporatedPartnership-B5pKn0gl.js → unincorporatedPartnership-DsneX1hY.js} +1 -1
  139. package/dist/{useBusinessDetailsData-CPzTltvn.js → useBusinessDetailsData-Bc_E4Xil.js} +78 -41
  140. package/dist/{useCanSeeIntroduction-Cnuh14Cr.js → useCanSeeIntroduction-RI4wFjW9.js} +2 -2
  141. package/dist/{useForm-B2fQ78Se.js → useForm-C3lG_s-c.js} +2 -2
  142. package/dist/{useId-AzWxLa17.js → useId-Cot-htyS.js} +1 -1
  143. package/dist/{useNavigate-Bx6F2ghI.js → useNavigate-BAkzuA3A.js} +32 -32
  144. package/dist/{useSalesChannels-Db_8bYBY.js → useSalesChannels-vbuU4JFd.js} +1 -1
  145. package/dist/{useSaveForLater-BQio20Zg.js → useSaveForLater-CT5C_u8v.js} +3 -3
  146. package/dist/{useTaskLandedEvent-DdeWh_nV.js → useTaskLandedEvent-J-MdMD4n.js} +1 -1
  147. package/dist/{useTrustMembers-CqeR9IVN.js → useTrustMembers-SGPMEcnS.js} +2 -2
  148. package/dist/{useUnincorporatedPartnershipMembers-WOJzF2NV.js → useUnincorporatedPartnershipMembers-CdbgUMUI.js} +2 -2
  149. package/dist/{utils-BfA0Rrku.js → utils-DPqmuHDt.js} +1 -1
  150. package/dist/{utils-8yLC-qJv.js → utils-SRtPrNOg.js} +1 -1
  151. package/dist/{utils-AnusXLKP.js → utils-szr8jBGQ.js} +3 -3
  152. package/dist/{validate-Bcw1m17m.js → validate-BiZvmxlT.js} +2 -2
  153. package/dist/{validate-DSR31SH8.js → validate-CmvKoxYM.js} +15 -10
  154. package/dist/{validate-CxL6_omc.js → validate-Dc6tnt1l.js} +2 -2
  155. package/dist/{validate-Bf1SBTiG.js → validate-DxoJtDwQ.js} +3 -3
  156. package/dist/{validateExtractionResult-BD0Vu-XF.js → validateExtractionResult-D8JAU47X.js} +1 -1
  157. package/package.json +1 -1
  158. package/dist/mapAddressLocalizationToJpAddressSchema-D8qKuElS.js +0 -26
  159. package/dist/mapJpAddressSchemaToAddressLocalizations-myaH4YTR.js +0 -19
  160. package/dist/types/components/Shared/forms/Address/localized/jp/JpAddressFields.d.ts +0 -2
  161. /package/dist/types/components/Shared/{forms → fields}/Address/AddressField.d.ts +0 -0
  162. /package/dist/types/components/Shared/{forms → fields}/Address/SearchAddressItem.d.ts +0 -0
  163. /package/dist/types/components/Shared/{forms → fields}/Address/constants.d.ts +0 -0
  164. /package/dist/types/components/Shared/{forms → fields}/Address/localized/jp/ReadonlyTextField.d.ts +0 -0
  165. /package/dist/types/components/Shared/{forms → fields}/Address/utils.d.ts +0 -0
  166. /package/dist/types/components/Shared/{forms → fields}/Address/validate.d.ts +0 -0
  167. /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-CZDAZwKX.js";
6
+ import { k as datasetUtilities } from "./registerEmbed-TZ9ArAAB.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-Ec4wyyJQ.js";
14
- import { r as InputText, t as RadioGroup } from "./RadioGroup-SDQSOsEf.js";
15
- import { a as resolveFieldMetadata } from "./unincorporatedPartnership-B5pKn0gl.js";
16
- import { a as translateTranslatable, o as Field } from "./Select-DtO-GvLp.js";
17
- import { f as addressFields, p as isJapanLocalizationEnabled } from "./StateField-DxKg7Ea-.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-CZuO0w1x.js";
19
- import { t as AddressFields } from "./AddressFields-CF-UaSiA.js";
20
- import { n as MemoizedDocumentUpload } from "./PatriotActDisclosure-O5TlzUXU.js";
21
- import { i as useAddressCleanse, r as formatAddressForCleanse, t as InputDate } from "./InputDate-fc3bdvdZ.js";
13
+ import { r as useDebouncedCallback, t as Checkbox } from "./Checkbox-qmfi_XIo.js";
14
+ import { r as InputText, t as RadioGroup } from "./RadioGroup-Di2A9RNN.js";
15
+ import { a as resolveFieldMetadata } from "./unincorporatedPartnership-DsneX1hY.js";
16
+ import { a as translateTranslatable, o as Field } from "./Select-Cbxz27iA.js";
17
+ import { f as addressFields, p as isJapanLocalizationEnabled } from "./StateField-BxWm98Tj.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-5RadTVG9.js";
19
+ import { t as Address } from "./Address-BrGQ-519.js";
20
+ import { n as MemoizedDocumentUpload } from "./PatriotActDisclosure-DsSoSucu.js";
21
+ import { i as useAddressCleanse, r as formatAddressForCleanse, t as InputDate } from "./InputDate-C1Q3XDFU.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-BsRC83kl.js";
25
- import { i as nestAddressSchema, n as getNestedTrustedFields, r as getPrefixedAddressFieldNames } from "./utils-AnusXLKP.js";
24
+ import { t as formatValidationError } from "./formatValidationError-Dy9gejj2.js";
25
+ import { i as nestAddressSchema, n as getNestedTrustedFields, r as getPrefixedAddressFieldNames } from "./utils-szr8jBGQ.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-Dhe_cQhr.js")).JpAddressFields);
45
+ //#region src/components/Shared/fields/Address/RegistrationAndOperationalAddressFields/RegistrationAndOperationalAddressFields.tsx
46
+ var LazyJpAddressFields = lazy(async () => (await import("./JpAddress-eN7gCiZX.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-CZDAZwKX.js";
6
+ import { D as useDataset, N as Header, O as datasetIdentifier, ct as isEmpty } from "./registerEmbed-TZ9ArAAB.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-B5pKn0gl.js";
11
- import { o as Field, t as Select } from "./Select-DtO-GvLp.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-CZuO0w1x.js";
10
+ import { a as resolveFieldMetadata } from "./unincorporatedPartnership-DsneX1hY.js";
11
+ import { o as Field, t as Select } from "./Select-Cbxz27iA.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-5RadTVG9.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-CZDAZwKX.js";
6
- import { a as useAnalyticsContext } from "./useId-AzWxLa17.js";
5
+ import { T as Alert } from "./registerEmbed-TZ9ArAAB.js";
6
+ import { a as useAnalyticsContext } from "./useId-Cot-htyS.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-CZDAZwKX.js";
7
- import { o as Field, t as Select } from "./Select-DtO-GvLp.js";
6
+ import { D as useDataset, O as datasetIdentifier } from "./registerEmbed-TZ9ArAAB.js";
7
+ import { o as Field, t as Select } from "./Select-Cbxz27iA.js";
8
8
  import { n as withForm } from "./formHook-Dgi2CgbT.js";
9
- import { t as getValidationError } from "./getValidationError-CXILdPw6.js";
9
+ import { t as getValidationError } from "./getValidationError-a_976vi9.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-CZDAZwKX.js";
6
+ import { dt as isUndefinedOrNull } from "./registerEmbed-TZ9ArAAB.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-Ec4wyyJQ.js";
12
- import { a as InputBase, r as InputText } from "./RadioGroup-SDQSOsEf.js";
13
- import { o as Field, t as Select } from "./Select-DtO-GvLp.js";
14
- import { A as alphanumericInputs, M as makeMask, O as uppercase, r as MaskedInput } from "./dropinUtils-CZuO0w1x.js";
11
+ import { t as Checkbox } from "./Checkbox-qmfi_XIo.js";
12
+ import { a as InputBase, r as InputText } from "./RadioGroup-Di2A9RNN.js";
13
+ import { o as Field, t as Select } from "./Select-Cbxz27iA.js";
14
+ import { A as alphanumericInputs, M as makeMask, O as uppercase, r as MaskedInput } from "./dropinUtils-5RadTVG9.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-CZDAZwKX.js";
6
+ import { N as Header } from "./registerEmbed-TZ9ArAAB.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-AzWxLa17.js";
13
- import { n as useToastContext } from "./invalidateRootLegalEntity-CnH38v8h.js";
14
- import { a as resolveFieldMetadata } from "./unincorporatedPartnership-B5pKn0gl.js";
12
+ import { a as useAnalyticsContext } from "./useId-Cot-htyS.js";
13
+ import { n as useToastContext } from "./invalidateRootLegalEntity-DBGrep1S.js";
14
+ import { a as resolveFieldMetadata } from "./unincorporatedPartnership-DsneX1hY.js";
15
15
  import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-FHk416BA.js";
16
- import { h as useUpdateLegalEntity } from "./StateField-DxKg7Ea-.js";
17
- import { I as useMultiForm, g as createFormUtils } from "./dropinUtils-CZuO0w1x.js";
18
- import { t as useNavigate } from "./useNavigate-Bx6F2ghI.js";
19
- import { a as contactDetailsValidationRules, c as getAsyncPhoneValidationRules, o as defaultFieldMetadata, s as fieldConfig, t as ContactDetails, u as useValidatePhoneNumberImperatively } from "./ContactDetails-CZgDXYqx.js";
20
- import { t as useTaskLandedEvent } from "./useTaskLandedEvent-DdeWh_nV.js";
21
- import { n as SaveForLaterButton, t as useSaveForLater } from "./useSaveForLater-BQio20Zg.js";
22
- import { t as ErrorPanel } from "./ErrorPanel-DUI1R5Sq.js";
16
+ import { h as useUpdateLegalEntity } from "./StateField-BxWm98Tj.js";
17
+ import { I as useMultiForm, g as createFormUtils } from "./dropinUtils-5RadTVG9.js";
18
+ import { t as useNavigate } from "./useNavigate-BAkzuA3A.js";
19
+ import { a as contactDetailsValidationRules, c as getAsyncPhoneValidationRules, o as defaultFieldMetadata, s as fieldConfig, t as ContactDetails, u as useValidatePhoneNumberImperatively } from "./ContactDetails-BOsIRVqJ.js";
20
+ import { t as useTaskLandedEvent } from "./useTaskLandedEvent-J-MdMD4n.js";
21
+ import { n as SaveForLaterButton, t as useSaveForLater } from "./useSaveForLater-CT5C_u8v.js";
22
+ import { t as ErrorPanel } from "./ErrorPanel-CBmxfydA.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-SDQSOsEf.js";
7
- import { o as Field } from "./Select-DtO-GvLp.js";
6
+ import { a as InputBase } from "./RadioGroup-Di2A9RNN.js";
7
+ import { o as Field } from "./Select-Cbxz27iA.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-CXILdPw6.js";
10
+ import { t as getValidationError } from "./getValidationError-a_976vi9.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] = "f269bec1-eedf-4536-8838-71c43c78545e", e._sentryDebugIdIdentifier = "sentry-dbid-f269bec1-eedf-4536-8838-71c43c78545e");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c3fe9d00-43c4-4851-8878-e675a1836a0f", e._sentryDebugIdIdentifier = "sentry-dbid-c3fe9d00-43c4-4851-8878-e675a1836a0f");
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-CZDAZwKX.js";
6
+ import { F as ExperimentNames, I as FeatureNames, R as listToRecord, d as splitTaskIdentifier, o as useGlobalStore } from "./registerEmbed-TZ9ArAAB.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-Ec4wyyJQ.js";
15
- import { n as Modal } from "./useId-AzWxLa17.js";
16
- import { o as formDebugInfo, r as InputText, s as SettingNames, t as RadioGroup } from "./RadioGroup-SDQSOsEf.js";
14
+ import { i as useToggleContext, t as Checkbox } from "./Checkbox-qmfi_XIo.js";
15
+ import { n as Modal } from "./useId-Cot-htyS.js";
16
+ import { o as formDebugInfo, r as InputText, s as SettingNames, t as RadioGroup } from "./RadioGroup-Di2A9RNN.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.0",
607
+ sdkVersion: "4.28.0-beta.2",
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-CZDAZwKX.js";
6
+ import { T as Alert } from "./registerEmbed-TZ9ArAAB.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-Ec4wyyJQ.js";
22
- import { a as useAnalyticsContext, n as Modal } from "./useId-AzWxLa17.js";
21
+ import { i as useToggleContext } from "./Checkbox-qmfi_XIo.js";
22
+ import { a as useAnalyticsContext, n as Modal } from "./useId-Cot-htyS.js";
23
23
  import { t as ListItem } from "./ListItem-aX6AyCay.js";
24
- import { n as useToastContext } from "./invalidateRootLegalEntity-CnH38v8h.js";
25
- import { o as StructuredList, s as Confirm } from "./utils-BfA0Rrku.js";
26
- import { t as getIdNowMissingDataPoints } from "./bafinUtils-TT8a0y7q.js";
24
+ import { n as useToastContext } from "./invalidateRootLegalEntity-DBGrep1S.js";
25
+ import { o as StructuredList, s as Confirm } from "./utils-DPqmuHDt.js";
26
+ import { t as getIdNowMissingDataPoints } from "./bafinUtils-Dxa3eJnZ.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-oC9odBCW.js";
29
- import { t as SummarySection } from "./SummarySection-D91P7H2B.js";
28
+ import { l as shouldNavigateToAdditionalPersonalDetailsForMissingData, n as SummaryBulletList, r as mapLegalEntityToIndividualSchema, t as formatDataForSummary, u as useCreateInvitation } from "./formatDataForSummary-sQzHQFug.js";
29
+ import { t as SummarySection } from "./SummarySection-DnHHb-mJ.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-CZDAZwKX.js";
6
+ import { P as _rolldown_dynamic_import_helper_default } from "./registerEmbed-TZ9ArAAB.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-CnH38v8h.js";
14
+ import { n as useToastContext } from "./invalidateRootLegalEntity-DBGrep1S.js";
15
15
  import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-FHk416BA.js";
16
- import { n as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory } from "./bafinUtils-TT8a0y7q.js";
16
+ import { n as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory } from "./bafinUtils-Dxa3eJnZ.js";
17
17
  import { t as useScenarios } from "./useScenarios-DfE71fl7.js";
18
- import { t as IndividualDropin } from "./IndividualDropin-C9bKZu8q.js";
18
+ import { t as IndividualDropin } from "./IndividualDropin-sjM2hszP.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-CZDAZwKX.js";
6
+ import { N as Header, P as _rolldown_dynamic_import_helper_default, T as Alert, a as useGetTaskStatus } from "./registerEmbed-TZ9ArAAB.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-Ec4wyyJQ.js";
19
- import { a as useAnalyticsContext, n as Modal } from "./useId-AzWxLa17.js";
18
+ import { i as useToggleContext } from "./Checkbox-qmfi_XIo.js";
19
+ import { a as useAnalyticsContext, n as Modal } from "./useId-Cot-htyS.js";
20
20
  import { t as ListItem } from "./ListItem-aX6AyCay.js";
21
- import { n as useToastContext } from "./invalidateRootLegalEntity-CnH38v8h.js";
21
+ import { n as useToastContext } from "./invalidateRootLegalEntity-DBGrep1S.js";
22
22
  import { t as useDataMissingRemediations } from "./useDataMissingRemediations-BfC7ECSn.js";
23
- import { l as LandingLayout, n as Image } from "./unincorporatedPartnership-B5pKn0gl.js";
23
+ import { l as LandingLayout, n as Image } from "./unincorporatedPartnership-DsneX1hY.js";
24
24
  import { n as useCapabilityProblems } from "./getProblemsForEntity-FHk416BA.js";
25
- import { h as useUpdateLegalEntity } from "./StateField-DxKg7Ea-.js";
26
- import { o as List } from "./dropinUtils-CZuO0w1x.js";
27
- import { c as individualFormDefaultData, s as GuidanceQuestionValues } from "./formatDataForSummary-oC9odBCW.js";
28
- import { t as useTaskLandedEvent } from "./useTaskLandedEvent-DdeWh_nV.js";
29
- import { i as useInvitationStatuses, n as getDecisionMakerDescription, t as DecisionMakerDetails } from "./DecisionMakerDetails-CykBZZ9U.js";
25
+ import { h as useUpdateLegalEntity } from "./StateField-BxWm98Tj.js";
26
+ import { o as List } from "./dropinUtils-5RadTVG9.js";
27
+ import { c as individualFormDefaultData, s as GuidanceQuestionValues } from "./formatDataForSummary-sQzHQFug.js";
28
+ import { t as useTaskLandedEvent } from "./useTaskLandedEvent-J-MdMD4n.js";
29
+ import { i as useInvitationStatuses, n as getDecisionMakerDescription, t as DecisionMakerDetails } from "./DecisionMakerDetails-jLcZ7TL2.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-CZDAZwKX.js";
6
+ import { gt as StateContext } from "./registerEmbed-TZ9ArAAB.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-AzWxLa17.js";
11
- import { t as useForm } from "./useForm-B2fQ78Se.js";
12
- import { i as bytesToSize, n as fileValidationRules, r as DropzoneFile, t as defaultFileValidationOptions } from "./validate-Bcw1m17m.js";
10
+ import { a as useAnalyticsContext } from "./useId-Cot-htyS.js";
11
+ import { t as useForm } from "./useForm-C3lG_s-c.js";
12
+ import { i as bytesToSize, n as fileValidationRules, r as DropzoneFile, t as defaultFileValidationOptions } from "./validate-BiZvmxlT.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";