@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,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] = "347bcfcc-baf9-45ef-adf3-b70753b3022f", e._sentryDebugIdIdentifier = "sentry-dbid-347bcfcc-baf9-45ef-adf3-b70753b3022f");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "92390e77-dd4e-41c8-ac8b-99c2bb876672", e._sentryDebugIdIdentifier = "sentry-dbid-92390e77-dd4e-41c8-ac8b-99c2bb876672");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-CpH8D2NK.js";
6
- import { A as useAllowedCountries, I as FeatureNames, N as Header, T as Alert, bt as useVersionConfiguration, ct as isEmpty, dt as isUndefinedOrNull, k as datasetUtilities, lt as isISIN, vt as useAccountHolder } from "./registerEmbed-CZDAZwKX.js";
6
+ import { A as useAllowedCountries, I as FeatureNames, N as Header, T as Alert, bt as useVersionConfiguration, ct as isEmpty, dt as isUndefinedOrNull, k as datasetUtilities, lt as isISIN, vt as useAccountHolder } 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 { t as Loader } from "./Loader-BDaKGf77.js";
@@ -20,57 +20,57 @@ import { _ as businessDetailsKeyMapping, f as solePropBusinessDetailsApiKeyMappi
20
20
  import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
21
21
  import { r as filterOutUnwantedAssociationsIfRootLE, s as getOwnEntityAssociations } from "./entityAssociationUtil-BlfcBl3i.js";
22
22
  import { t as Scenarios } from "./scenarios-nibtmpSb.js";
23
- import { i as useToggleContext, r as useDebouncedCallback, t as Checkbox } from "./Checkbox-Ec4wyyJQ.js";
24
- import { a as useAnalyticsContext, n as Modal, r as ModalContent } from "./useId-AzWxLa17.js";
23
+ import { i as useToggleContext, r as useDebouncedCallback, t as Checkbox } from "./Checkbox-qmfi_XIo.js";
24
+ import { a as useAnalyticsContext, n as Modal, r as ModalContent } from "./useId-Cot-htyS.js";
25
25
  import { t as HandlerContext } from "./HandlerContext-DeMa68z0.js";
26
- import { r as InputText, s as SettingNames, t as RadioGroup } from "./RadioGroup-SDQSOsEf.js";
26
+ import { r as InputText, s as SettingNames, t as RadioGroup } from "./RadioGroup-Di2A9RNN.js";
27
27
  import { t as ListItem } from "./ListItem-aX6AyCay.js";
28
28
  import { t as getFormSlice } from "./getFormSlice-CxtXJ0-P.js";
29
29
  import { t as useBusinessLines } from "./useBusinessLines-0FcuDMzo.js";
30
30
  import { t as Card } from "./Card-BCGLpdw7.js";
31
- import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-CnH38v8h.js";
32
- import { a as resolveFieldMetadata, c as getPropsFromConfigurations, l as LandingLayout, n as Image, r as createFormRules, s as composePerScenarioFormConfigurations } from "./unincorporatedPartnership-B5pKn0gl.js";
33
- import { o as Field, p as LoaderWrapper } from "./Select-DtO-GvLp.js";
34
- import { o as StructuredList, r as formatObject, s as Confirm } from "./utils-BfA0Rrku.js";
35
- import { a as CountryOfGoverningLawField, c as useCompanyTypeExamples, d as companySearchQueryOptions, f as useCompanySearch, h as useClearCompanyData, i as COUNTRY_OF_GOVERNING_LAW_FIELD, l as useCompanySelection, m as useStoredStateOrProvince, n as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, o as useLegalCompanyNameField, p as trackPerformance, r as isNormalizedStringMatch, s as localizedLegalCompanyNameFieldConfig, t as CountryOfGoverningLawFieldValidation, u as verifyTinQueryOptions } from "./validate-DSR31SH8.js";
36
- import { a as getKeyForField, d as COUNTRIES_WITH_STATES_DATASET, h as useUpdateLegalEntity, m as isEmpty$1, n as StateField, o as mapAddressLabels, p as isJapanLocalizationEnabled, r as stateFieldMetadata, s as addressFieldRule, t as STATE_FIELD } from "./StateField-DxKg7Ea-.js";
37
- import { A as alphanumericInputs, D as validatePatternOnBlur, E as validateNotEmptyOnBlur, H as FormContextProvider, I as useMultiForm, M as makeMask, O as uppercase, P as numericInputs, V as summaryStep, _ as mergeFieldMetadataIntoProps, c as CountryField, d as isBusinessSelectionLegalArrangementError, g as createFormUtils, k as alphaInputs, p as isValidationError, r as MaskedInput, s as COUNTRY_FIELD, t as addValidityToForms, v as useFormContext, y as FormFlow, z as useFormComposer } from "./dropinUtils-CZuO0w1x.js";
38
- import { A as REGISTRATION_NUMBER_EXEMPTION_RULES, B as getValidCompanyTypesForTaxIdNumberType, C as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, D as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES, E as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS, F as mapJapaneseLegalNamesToLocalization, H as TileGroup, I as mapLocalizationToJapaneseLegalNames, M as isRegistrationExemptionAllowed, N as isRegistrationNumberAbsentStateV4Scenario, O as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS, P as isUsingCompanySearch, S as COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP, T as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER, V as taxIdNumberOptions, _ as taxInformationDefaultFieldMetadata, b as COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION, c as DataConflictsModal, g as taxInformationDefaultFieldConfig, h as getTaxInformationPlaceholderText, j as TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION, k as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4, l as TAX_INFORMATION_FIELD, u as TaxInformationField, x as COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION, y as COUNTRIES_REQUIRING_FINANCIAL_INFORMATION, z as getTaxIdNumberOptions } from "./bafinUtils-TT8a0y7q.js";
39
- import { a as getValidCompanyTypesForRegistrationNumberType, i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, r as inferCompanyRegistrationNumberType, s as exemptFromRegistrationNumberDefaultFieldMetadata, t as getDefaultRegistrationNumberType, u as registrationNumberDefaultFieldMetadata } from "./getDefaultRegistrationNumberType-t926T5FG.js";
31
+ import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-DBGrep1S.js";
32
+ import { a as resolveFieldMetadata, c as getPropsFromConfigurations, l as LandingLayout, n as Image, r as createFormRules, s as composePerScenarioFormConfigurations } from "./unincorporatedPartnership-DsneX1hY.js";
33
+ import { o as Field, p as LoaderWrapper } from "./Select-Cbxz27iA.js";
34
+ import { o as StructuredList, r as formatObject, s as Confirm } from "./utils-DPqmuHDt.js";
35
+ import { a as CountryOfGoverningLawField, c as useCompanyTypeExamples, d as verifyTinQueryOptions, f as companySearchQueryOptions, g as useClearCompanyData, h as useStoredStateOrProvince, i as COUNTRY_OF_GOVERNING_LAW_FIELD, l as useCompanySelection, m as trackPerformance, n as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, o as useLegalCompanyNameField, p as useCompanySearch, r as isNormalizedStringMatch, s as localizedLegalCompanyNameFieldConfig, t as CountryOfGoverningLawFieldValidation, u as useVerifyTin } from "./validate-CmvKoxYM.js";
36
+ import { a as getKeyForField, d as COUNTRIES_WITH_STATES_DATASET, h as useUpdateLegalEntity, m as isEmpty$1, n as StateField, o as mapAddressLabels, p as isJapanLocalizationEnabled, r as stateFieldMetadata, s as addressFieldRule, t as STATE_FIELD } from "./StateField-BxWm98Tj.js";
37
+ import { A as alphanumericInputs, D as validatePatternOnBlur, E as validateNotEmptyOnBlur, H as FormContextProvider, I as useMultiForm, M as makeMask, O as uppercase, P as numericInputs, V as summaryStep, _ as mergeFieldMetadataIntoProps, c as CountryField, d as isBusinessSelectionLegalArrangementError, g as createFormUtils, k as alphaInputs, p as isValidationError, r as MaskedInput, s as COUNTRY_FIELD, t as addValidityToForms, v as useFormContext, y as FormFlow, z as useFormComposer } from "./dropinUtils-5RadTVG9.js";
38
+ import { A as REGISTRATION_NUMBER_EXEMPTION_RULES, C as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, D as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES, E as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS, F as mapJapaneseLegalNamesToLocalization, H as taxIdNumberOptions, I as mapLocalizationToJapaneseLegalNames, M as isRegistrationExemptionAllowed, N as isRegistrationNumberAbsentStateV4Scenario, O as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS, P as isUsingCompanySearch, S as COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP, T as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER, U as TileGroup, V as getValidCompanyTypesForTaxIdNumberType, _ as taxInformationDefaultFieldMetadata, b as COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION, c as DataConflictsModal, g as taxInformationDefaultFieldConfig, h as getTaxInformationPlaceholderText, j as TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION, k as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4, x as COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION, y as COUNTRIES_REQUIRING_FINANCIAL_INFORMATION, z as getTaxIdNumberOptions } from "./bafinUtils-Dxa3eJnZ.js";
39
+ import { a as getValidCompanyTypesForRegistrationNumberType, i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, r as inferCompanyRegistrationNumberType, s as exemptFromRegistrationNumberDefaultFieldMetadata, t as getDefaultRegistrationNumberType, u as registrationNumberDefaultFieldMetadata } from "./getDefaultRegistrationNumberType-HWiiKcO3.js";
40
40
  import { r as LEGAL_ARRANGEMENT_COUNTRIES_REQUIRING_DATE_OF_INCORPORATION } from "./legalArrangementUtils-CHlmmcB8.js";
41
- import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-Ch1VrlJs.js";
42
- import { n as BusinessRegistrationNumberField, t as BUSINESS_REGISTRATION_NUMBER_FIELD } from "./BusinessRegistrationNumberField-ByWbtuPm.js";
41
+ import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-hsrxQFKc.js";
42
+ import { n as BusinessRegistrationNumberField, t as BUSINESS_REGISTRATION_NUMBER_FIELD } from "./BusinessRegistrationNumberField-VltO-NYx.js";
43
+ import { n as TaxInformationField, t as TAX_INFORMATION_FIELD } from "./TaxInformationField-Bi3pbDh_.js";
43
44
  import { t as useScenarios } from "./useScenarios-DfE71fl7.js";
44
45
  import { t as useCreateLegalEntity } from "./useCreateLegalEntity-CgzVD39K.js";
45
- import { i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-CqbTLZ6i.js";
46
- import { t as useTaskLandedEvent } from "./useTaskLandedEvent-DdeWh_nV.js";
47
- import { n as SaveForLaterButton, t as useSaveForLater } from "./useSaveForLater-BQio20Zg.js";
48
- import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-B-A5EFGo.js";
46
+ import { i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-CLSPk17k.js";
47
+ import { t as useTaskLandedEvent } from "./useTaskLandedEvent-J-MdMD4n.js";
48
+ import { n as SaveForLaterButton, t as useSaveForLater } from "./useSaveForLater-CT5C_u8v.js";
49
+ import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-gryOf4Fj.js";
49
50
  import { a as getFileExtention, i as getDocuments, l as mergeProofOfOwnershipAttachments, n as documentApiUtils, r as getDocument, t as createDocumentRequest } from "./documentUtils-6K3LdjjN.js";
50
- import { i as getFieldsWithExistingData, n as MemoizedDocumentUpload, t as PatriotActDisclosure } from "./PatriotActDisclosure-O5TlzUXU.js";
51
- import { a as useAddressCleanseImperatively, r as formatAddressForCleanse, t as InputDate } from "./InputDate-fc3bdvdZ.js";
52
- import { t as addressValidators } from "./validate-Bf1SBTiG.js";
53
- import { t as ErrorPanel } from "./ErrorPanel-DUI1R5Sq.js";
51
+ import { i as getFieldsWithExistingData, n as MemoizedDocumentUpload, t as PatriotActDisclosure } from "./PatriotActDisclosure-DsSoSucu.js";
52
+ import { a as useAddressCleanseImperatively, r as formatAddressForCleanse, t as InputDate } from "./InputDate-C1Q3XDFU.js";
53
+ import { t as addressValidators } from "./validate-DxoJtDwQ.js";
54
+ import { t as ErrorPanel } from "./ErrorPanel-CBmxfydA.js";
54
55
  import { t as capitalize } from "./getProps-DVqK7eRw.js";
55
56
  import { t as Link } from "./Link-BtWj5mVH.js";
56
57
  import { r as formatDateObj } from "./InputDate.utils-D4Ov0KIl.js";
57
- import { t as formatValidationError } from "./formatValidationError-BsRC83kl.js";
58
- import { t as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-myaH4YTR.js";
59
- import { t as mapAddressLocalizationToJpAddressSchema } from "./mapAddressLocalizationToJpAddressSchema-D8qKuElS.js";
60
- import { t as Summary } from "./Summary-BJnh9lZz.js";
61
- import { t as SummarySection } from "./SummarySection-D91P7H2B.js";
58
+ import { n as mapJpAddressSchemaToAddressLocalizations, t as mapAddressLocalizationToJpAddressSchema } from "./mapAddressLocalizationToJpAddressSchema-CT6eGqwa.js";
59
+ import { t as formatValidationError } from "./formatValidationError-Dy9gejj2.js";
60
+ import { t as Summary } from "./Summary-BcIbpAPH.js";
61
+ import { t as SummarySection } from "./SummarySection-DnHHb-mJ.js";
62
62
  import { t as currencyByCountry } from "./types-CP3D_hFv.js";
63
63
  import { t as Divider } from "./Divider-BENvVRnz.js";
64
64
  import { t as DetailViewLayout } from "./DetailViewLayout-DJgAzdlZ.js";
65
- import { i as nestAddressSchema, t as flattenAddressSchema } from "./utils-AnusXLKP.js";
66
- import { a as LegalFormField, c as legalEntityIdentifierFieldMetadata, d as isDateOlderThanAYear, f as mapAddressData, i as InputCurrency, l as mapFinancialReportsToFinancialInformation, n as Currency, o as LEGAL_ENTITY_IDENTIFIER_FIELD, r as InputNumber, s as LegalEntityIdentifierField, t as CURRENCY_FIELD, u as mapFinancialInformationToFinancialReport } from "./Currency-DyE49bKs.js";
65
+ import { i as nestAddressSchema, t as flattenAddressSchema } from "./utils-szr8jBGQ.js";
66
+ import { a as LegalFormField, c as legalEntityIdentifierFieldMetadata, d as isDateOlderThanAYear, f as mapAddressData, i as InputCurrency, l as mapFinancialReportsToFinancialInformation, n as Currency, o as LEGAL_ENTITY_IDENTIFIER_FIELD, r as InputNumber, s as LegalEntityIdentifierField, t as CURRENCY_FIELD, u as mapFinancialInformationToFinancialReport } from "./Currency-l31xe6JM.js";
67
67
  import { t as useTaskStatus } from "./useTaskStatus-4nAPf_uD.js";
68
- import { n as useIndustryCodes, t as industryCodeFieldMetadata } from "./fieldConfig-Dh_qmAto.js";
68
+ import { n as useIndustryCodes, t as industryCodeFieldMetadata } from "./fieldConfig-xaGvx64s.js";
69
69
  import { n as formatCurrency } from "./formatCurrency-BetgkQKi.js";
70
70
  import { n as useCreateBusinessLine, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-B-pF2YT-.js";
71
- import { _ as dateOfIncorporationFieldMetadata, a as defaultFieldConfig$1, c as REGISTRATION_AND_OPERATIONAL_ADDRESS_FIELDS, d as doingBusinessAsFieldMetadata, f as DBANameField, h as DateOfIncorporationField, i as getDefaultVatNumberType, l as RegistrationAndOperationalAddressFields, m as DATE_OF_INCORPORATION_FIELD, n as VAT_NUMBER_FIELD, o as defaultFieldMetadata$1, p as DBA_NAME_FIELD, r as VatNumberField, s as vatAbsenceReasonMetadata, t as MemoizedConstitutionalDocument, u as doingBusinessAsAbsentFieldMetadata } from "./ConstitutionalDocument-B4rf4Lt3.js";
72
- import { l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-DsYpJv_6.js";
73
- import { s as organizationTypesToSkipCompanyStructureForm } from "./utils-8yLC-qJv.js";
71
+ import { _ as RegistrationAndOperationalAddressFields, a as defaultFieldConfig$1, c as doingBusinessAsAbsentFieldMetadata, d as DBA_NAME_FIELD, f as DATE_OF_INCORPORATION_FIELD, g as REGISTRATION_AND_OPERATIONAL_ADDRESS_FIELDS, h as dateOfIncorporationFieldMetadata, i as getDefaultVatNumberType, l as doingBusinessAsFieldMetadata, n as VAT_NUMBER_FIELD, o as defaultFieldMetadata$1, p as DateOfIncorporationField, r as VatNumberField, s as vatAbsenceReasonMetadata, t as MemoizedConstitutionalDocument, u as DBANameField } from "./ConstitutionalDocument-amr_KQ4y.js";
72
+ import { l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-BgGlk1x-.js";
73
+ import { s as organizationTypesToSkipCompanyStructureForm } from "./utils-SRtPrNOg.js";
74
74
  import { lazy } from "preact/compat";
75
75
  import { useCallback as useCallback$1, useContext as useContext$1, useEffect as useEffect$1, useMemo as useMemo$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
76
76
  import cx from "classnames";
@@ -2891,6 +2891,9 @@ function buildRequiredForms({ config: { forms, requiredFields, optionalFields, i
2891
2891
  */
2892
2892
  const skipCompanyStructure = options?.skipCompanyStructure || isSettingEnabled(SettingNames.AllowLegalEntityTypeChange) && organizationTypesToSkipCompanyStructureForm.includes(legalEntityResponse.organization?.type ?? "") && accountHolder !== "aTrust" && accountHolder !== "anUnincorporatedPartnership";
2893
2893
  const filteredForms = Object.values(forms).filter(({ formId }) => {
2894
+ if (formId === "basicInformation") {
2895
+ if (options?.skipBasicInformation) return false;
2896
+ }
2894
2897
  if (formId === "businessSelection") {
2895
2898
  if (options?.skipBusinessSelection) return false;
2896
2899
  }
@@ -3038,6 +3041,21 @@ var formatDataForSummary = (data, forms, t, language, isFeatureEnabled, isSettin
3038
3041
  }
3039
3042
  return summarySectionData;
3040
3043
  };
3044
+ //#endregion
3045
+ //#region src/components/Business/utils/isEligibleForReducedBusinessDetailsFlow.ts
3046
+ /**
3047
+ * A registered business that completed Global Entry has already provided its legal name,
3048
+ * company structure, and registration/tax identifiers there. Returning to the Business Details
3049
+ * task should not re-ask for them via the `basicInformation`, `businessSelection`, and
3050
+ * `companyStructure` pages.
3051
+ */
3052
+ var isEligibleForReducedBusinessDetailsFlow = ({ taskType, legalEntityResponse, isFeatureEnabled }) => {
3053
+ if (taskType !== TaskTypes.BUSINESS_DETAILS || !isFeatureEnabled(FeatureNames.EnableGlobalEntryFlow)) return false;
3054
+ const organization = legalEntityResponse.organization;
3055
+ const hasCompanyStructure = !!organization?.type;
3056
+ const hasResolvedRegistrationIdentity = !!organization?.registrationNumber || organization?.registrationNumberAbsent === true || !!organization?.taxInformation?.length || !!organization?.vatNumber;
3057
+ return hasCompanyStructure && hasResolvedRegistrationIdentity;
3058
+ };
3041
3059
  var BusinessDetailsDropin_module_default = {
3042
3060
  "summary-content-legal-caption": "_summary-content-legal-caption_17mlq_1",
3043
3061
  summaryContentLegalCaption: "_summary-content-legal-caption_17mlq_1"
@@ -3530,6 +3548,17 @@ function BusinessDetailsDropin({ taskType, country: propCountry, problems: propP
3530
3548
  * want to insert the tax doc once the user actually navigates forward, hence, another state value set on nav.
3531
3549
  */
3532
3550
  const isTinMatched = useSignal(void 0);
3551
+ /**
3552
+ * With Global Entry enabled, the pages verifying TIN are skipped so verify what is saved on
3553
+ * the legal entity instead.
3554
+ */
3555
+ const legalEntityTin = legalEntityResponse.organization?.taxInformation?.find((taxId) => taxId.country === CountryCodes.UnitedStates)?.number;
3556
+ const legalEntityName = legalEntityResponse.organization?.legalName;
3557
+ const { data: legalEntityTinVerification, isLoading: isVerifyingLegalEntityTin } = useVerifyTin({
3558
+ name: legalEntityName ?? "",
3559
+ tin: legalEntityTin ?? ""
3560
+ }, { enabled: isFeatureEnabled(FeatureNames.EnableGlobalEntryFlow) && taskType === TaskTypes.BUSINESS_DETAILS && country === CountryCodes.UnitedStates && !!legalEntityName && !!legalEntityTin });
3561
+ const tinMatched = isFeatureEnabled(FeatureNames.EnableGlobalEntryFlow) ? legalEntityTinVerification?.matched : isTinMatched.value;
3533
3562
  const customRules = useMemo$1(() => rules({
3534
3563
  data: multiForm.data,
3535
3564
  defaultData,
@@ -3539,7 +3568,7 @@ function BusinessDetailsDropin({ taskType, country: propCountry, problems: propP
3539
3568
  isFeatureEnabled,
3540
3569
  isSettingEnabled,
3541
3570
  accountHolder,
3542
- tinMatched: isTinMatched.value,
3571
+ tinMatched,
3543
3572
  rootLegalEntity: legalEntityResponse,
3544
3573
  version: versionConfiguration?.version
3545
3574
  }), [
@@ -3551,7 +3580,7 @@ function BusinessDetailsDropin({ taskType, country: propCountry, problems: propP
3551
3580
  isFeatureEnabled,
3552
3581
  isSettingEnabled,
3553
3582
  accountHolder,
3554
- isTinMatched.value,
3583
+ tinMatched,
3555
3584
  legalEntityResponse,
3556
3585
  versionConfiguration?.version
3557
3586
  ]);
@@ -3627,6 +3656,11 @@ function BusinessDetailsDropin({ taskType, country: propCountry, problems: propP
3627
3656
  if (multiForm.data.companyStructure?.entityType === inferredCompanyStructure) return;
3628
3657
  multiForm.handleChangeFor("companyStructure", "entityType")(inferredCompanyStructure);
3629
3658
  };
3659
+ const isReducedFlowEligible = isEligibleForReducedBusinessDetailsFlow({
3660
+ taskType,
3661
+ legalEntityResponse,
3662
+ isFeatureEnabled
3663
+ });
3630
3664
  const getRequiredForms = useCallback$1((options) => {
3631
3665
  return buildRequiredForms({
3632
3666
  config: {
@@ -3640,8 +3674,10 @@ function BusinessDetailsDropin({ taskType, country: propCountry, problems: propP
3640
3674
  legalEntityResponse
3641
3675
  },
3642
3676
  options: {
3643
- skipCompanyStructure: !!inferredCompanyStructure,
3644
- ...options
3677
+ ...options,
3678
+ skipBasicInformation: isReducedFlowEligible,
3679
+ skipBusinessSelection: options?.skipBusinessSelection || isReducedFlowEligible,
3680
+ skipCompanyStructure: (options?.skipCompanyStructure ?? !!inferredCompanyStructure) || isReducedFlowEligible
3645
3681
  }
3646
3682
  });
3647
3683
  }, [
@@ -3653,7 +3689,8 @@ function BusinessDetailsDropin({ taskType, country: propCountry, problems: propP
3653
3689
  isSettingEnabled,
3654
3690
  legalEntityResponse,
3655
3691
  multiForm.isValid,
3656
- problems
3692
+ problems,
3693
+ isReducedFlowEligible
3657
3694
  ]);
3658
3695
  const skipBusinessSelection = useSignal(true);
3659
3696
  const forms = useMemo$1(() => getRequiredForms({
@@ -3900,7 +3937,7 @@ function BusinessDetailsDropin({ taskType, country: propCountry, problems: propP
3900
3937
  handleNextClick: overrideNextClick,
3901
3938
  handleBackClick,
3902
3939
  handleCancelClick: isBusinessDetailsModalEnabled ? handleCancelClick : handleHomeClick,
3903
- loadingStatus,
3940
+ loadingStatus: isVerifyingLegalEntityTin ? "loading" : loadingStatus,
3904
3941
  footerActions: taskType === TaskTypes.BUSINESS_DETAILS && legalEntityResponse ? /* @__PURE__ */ jsx(SaveForLaterButton, {
3905
3942
  loading: isSavingForLater,
3906
3943
  onClick: handleSaveForLater
@@ -2,10 +2,10 @@ 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] = "1fde5d6a-42a2-4910-9fc7-f5194c09d02a", e._sentryDebugIdIdentifier = "sentry-dbid-1fde5d6a-42a2-4910-9fc7-f5194c09d02a");
4
4
  } catch (e) {}
5
- import { _ as isPartOfTrustFromLegalEntity } from "./registerEmbed-CZDAZwKX.js";
5
+ import { _ as isPartOfTrustFromLegalEntity } from "./registerEmbed-TZ9ArAAB.js";
6
6
  import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
7
7
  import { f as hasSolePropInLegalEntity } from "./entityAssociationUtil-BlfcBl3i.js";
8
- import { s as SettingNames } from "./RadioGroup-SDQSOsEf.js";
8
+ import { s as SettingNames } from "./RadioGroup-Di2A9RNN.js";
9
9
  //#region src/hooks/useLegalEntityType.ts
10
10
  var useLegalEntityType = ({ legalEntity }) => {
11
11
  const isTrust = isPartOfTrustFromLegalEntity(legalEntity);
@@ -2,10 +2,10 @@ 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] = "4769bbc2-f315-4771-81dc-116d219d4078", e._sentryDebugIdIdentifier = "sentry-dbid-4769bbc2-f315-4771-81dc-116d219d4078");
4
4
  } catch (e) {}
5
- import { ct as isEmpty } from "./registerEmbed-CZDAZwKX.js";
5
+ import { ct as isEmpty } from "./registerEmbed-TZ9ArAAB.js";
6
6
  import { t as createLogger } from "./logger-Z8AeTE4x.js";
7
7
  import { n as doArraysMatch } from "./genUtils-nphCwt1A.js";
8
- import { d as omitKeys, f as ValidationResult, l as addKeys } from "./Select-DtO-GvLp.js";
8
+ import { d as omitKeys, f as ValidationResult, l as addKeys } from "./Select-Cbxz27iA.js";
9
9
  import { useCallback, useEffect, useMemo, useReducer, useState } from "preact/hooks";
10
10
  //#region src/hooks/useAsyncValidator.ts
11
11
  var logger = createLogger();
@@ -2,7 +2,7 @@ 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] = "d0f3e92b-0320-4da0-9a17-7d3c5c602703", e._sentryDebugIdIdentifier = "sentry-dbid-d0f3e92b-0320-4da0-9a17-7d3c5c602703");
4
4
  } catch (e) {}
5
- import { _t as AnalyticsContext } from "./registerEmbed-CZDAZwKX.js";
5
+ import { _t as AnalyticsContext } from "./registerEmbed-TZ9ArAAB.js";
6
6
  import { n as IconButton } from "./Button-EhGM-oCO.js";
7
7
  import { useContext, useLayoutEffect, useRef, useState } from "preact/hooks";
8
8
  import cx from "classnames";
@@ -2,7 +2,7 @@ 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] = "26dc1d05-cbaf-4932-8c4e-0affd6772e48", e._sentryDebugIdIdentifier = "sentry-dbid-26dc1d05-cbaf-4932-8c4e-0affd6772e48");
4
4
  } catch (e) {}
5
- import { I as FeatureNames } from "./registerEmbed-CZDAZwKX.js";
5
+ import { I as FeatureNames } from "./registerEmbed-TZ9ArAAB.js";
6
6
  import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
7
7
  import { lazy } from "preact/compat";
8
8
  import { useLocation } from "wouter-preact";
@@ -26,37 +26,37 @@ var hasProgressedBeyondEntitySelection = (legalEntity) => {
26
26
  };
27
27
  //#endregion
28
28
  //#region src/router/routeConfig.ts
29
- var Introduction = lazy(async () => (await import("./Introduction-BymKbaBE.js")).Introduction);
30
- var Adaptive = lazy(async () => (await import("./AdaptiveWorkflow-DmZF4G5t.js")).AdaptiveWorkflow);
31
- var BusinessTypeSelectionPage = lazy(async () => (await import("./BusinessTypeSelectionPage-C8BtZX8K.js")).BusinessTypeSelectionPage);
32
- var GlobalEntryPage = lazy(async () => (await import("./GlobalEntryPage-GMRCmYj1.js")).GlobalEntryPage);
33
- var SingpassSelection = lazy(async () => (await import("./SingpassSelection-np9ZfMrZ.js")).SingpassSelection);
34
- var AccountSetupRejected = lazy(async () => (await import("./AccountSetupRejected-DrzCd1ET.js")).AccountSetupRejected);
35
- var DecisionMakers = lazy(async () => (await import("./DecisionMakers-B-4h5Vw_.js")).DecisionMakers);
36
- var CustomerSupport = lazy(async () => (await import("./CustomerSupport-CvTI3Snc.js")).CustomerSupport);
37
- var Review = lazy(async () => (await import("./Review-PhQYqPF4.js")).Review);
38
- var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-Dvmu4-hc.js").then((n) => n.n)).SignPCIComponent);
39
- var AcceptTermsOfService = lazy(async () => (await import("./TermsOfServiceManagement-Cp6-BOaT.js").then((n) => n.n)).TermsOfServiceManagement);
40
- var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-DuZpEzKn.js")).TaxReportingDropin);
41
- var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-COLJyIQ-.js")).PayoutDetailsPage);
42
- var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-BI7ryRjt.js")).RootBusinessDetailsPage);
43
- var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-mvoHQZD_.js")).RootBusinessLinesPage);
44
- var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-CwKtif4U.js")).SoleProprietorshipPage);
45
- var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-CNIDzOte.js")).TrustMemberCompanyPage);
46
- var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-Q_IDqWsr.js")).TrustMemberIndividualPage);
47
- var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-B2EtfK6g.js")).TrustMemberRoleAndTypePage);
48
- var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-hDVqCUbB.js")).TrustMembersOverview);
49
- var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-B8e9E2t2.js")).UnincorporatedPartnershipMemberCompanyPage);
50
- var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-hkrLvEZw.js")).UnincorporatedPartnershipIndividualPage);
51
- var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-Rey_F44n.js")).UnincorporatedPartnershipMemberRoleAndTypePage);
52
- var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-DPO8TjP4.js")).UnincorporatedPartnershipMembersOverview);
53
- var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-aNSrpxqt.js")).BusinessFinancingPage);
54
- var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-IGLuJZUE.js")).TrustDetailsPage);
55
- var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-waLLSQf2.js")).SourceOfFundsPage);
56
- var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-Cpm0vnKV.js")).RootIndividualDetailsPage);
57
- var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-ZsBdOW-Y.js")).LegalRepresentativeDetailsPage);
58
- var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-BnjOq-R1.js")).DecisionMakerDetailsPage);
59
- lazy(async () => (await import("./InvitedDecisionMakerComponent-CLBrLaip.js").then((n) => n.n)).InvitedDecisionMakerComponent);
29
+ var Introduction = lazy(async () => (await import("./Introduction-DMxhsL3f.js")).Introduction);
30
+ var Adaptive = lazy(async () => (await import("./AdaptiveWorkflow-aM_fyYfd.js")).AdaptiveWorkflow);
31
+ var BusinessTypeSelectionPage = lazy(async () => (await import("./BusinessTypeSelectionPage-C228n5L8.js")).BusinessTypeSelectionPage);
32
+ var GlobalEntryPage = lazy(async () => (await import("./GlobalEntryPage-rC5GlvG_.js")).GlobalEntryPage);
33
+ var SingpassSelection = lazy(async () => (await import("./SingpassSelection-BBA3x8Ek.js")).SingpassSelection);
34
+ var AccountSetupRejected = lazy(async () => (await import("./AccountSetupRejected-BGfF7hle.js")).AccountSetupRejected);
35
+ var DecisionMakers = lazy(async () => (await import("./DecisionMakers-CxKzZBAH.js")).DecisionMakers);
36
+ var CustomerSupport = lazy(async () => (await import("./CustomerSupport-D2jBxiF7.js")).CustomerSupport);
37
+ var Review = lazy(async () => (await import("./Review-lUkK6MwE.js")).Review);
38
+ var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-B1itIk9F.js").then((n) => n.n)).SignPCIComponent);
39
+ var AcceptTermsOfService = lazy(async () => (await import("./TermsOfServiceManagement-nu7MYGFM.js").then((n) => n.n)).TermsOfServiceManagement);
40
+ var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-CWBoGi-F.js")).TaxReportingDropin);
41
+ var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-yToj25iO.js")).PayoutDetailsPage);
42
+ var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-ZxdONb8B.js")).RootBusinessDetailsPage);
43
+ var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-Baet_8as.js")).RootBusinessLinesPage);
44
+ var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-D6yrh1Uz.js")).SoleProprietorshipPage);
45
+ var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-C42UF9Wh.js")).TrustMemberCompanyPage);
46
+ var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-C924EwDD.js")).TrustMemberIndividualPage);
47
+ var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-Dm_RyCCU.js")).TrustMemberRoleAndTypePage);
48
+ var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-D9LIDqH0.js")).TrustMembersOverview);
49
+ var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-BkUvuiG8.js")).UnincorporatedPartnershipMemberCompanyPage);
50
+ var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-BcrmCuUV.js")).UnincorporatedPartnershipIndividualPage);
51
+ var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-BLvqAXNn.js")).UnincorporatedPartnershipMemberRoleAndTypePage);
52
+ var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-kTIfytG_.js")).UnincorporatedPartnershipMembersOverview);
53
+ var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-BlABPwhd.js")).BusinessFinancingPage);
54
+ var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-C2921KNk.js")).TrustDetailsPage);
55
+ var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-Bb67iz0x.js")).SourceOfFundsPage);
56
+ var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-BtcFOmeC.js")).RootIndividualDetailsPage);
57
+ var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-DWWgUBxS.js")).LegalRepresentativeDetailsPage);
58
+ var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-BFJYqKEE.js")).DecisionMakerDetailsPage);
59
+ lazy(async () => (await import("./InvitedDecisionMakerComponent-DyfllTrf.js").then((n) => n.n)).InvitedDecisionMakerComponent);
60
60
  var ROUTE_CONFIG = {
61
61
  [TaskTypes.ADAPTIVE]: {
62
62
  path: "/adaptive",
@@ -4,7 +4,7 @@ try {
4
4
  } catch (e) {}
5
5
  import { r as httpPost, s as useApiContext } from "./http-C8rt2BZk.js";
6
6
  import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
7
- import { s as SettingNames } from "./RadioGroup-SDQSOsEf.js";
7
+ import { s as SettingNames } from "./RadioGroup-Di2A9RNN.js";
8
8
  import { t as useBusinessLines } from "./useBusinessLines-0FcuDMzo.js";
9
9
  import { useMemo } from "preact/hooks";
10
10
  import { useQuery } from "@tanstack/preact-query";
@@ -3,11 +3,11 @@ try {
3
3
  n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7738d36c-8d36-40e4-9dae-72e4d7e4e09b", e._sentryDebugIdIdentifier = "sentry-dbid-7738d36c-8d36-40e4-9dae-72e4d7e4e09b");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-CpH8D2NK.js";
6
- import { I as FeatureNames } from "./registerEmbed-CZDAZwKX.js";
6
+ import { I as FeatureNames } from "./registerEmbed-TZ9ArAAB.js";
7
7
  import { t as Button } from "./Button-EhGM-oCO.js";
8
8
  import { s as useApiContext } from "./http-C8rt2BZk.js";
9
- import { i as useToggleContext } from "./Checkbox-Ec4wyyJQ.js";
10
- import { n as useToastContext } from "./invalidateRootLegalEntity-CnH38v8h.js";
9
+ import { i as useToggleContext } from "./Checkbox-qmfi_XIo.js";
10
+ import { n as useToastContext } from "./invalidateRootLegalEntity-DBGrep1S.js";
11
11
  import { useCallback, useEffect, useRef, useState } from "preact/hooks";
12
12
  import { jsx } from "preact/jsx-runtime";
13
13
  import { useMutation, useQuery, useQueryClient } from "@tanstack/preact-query";
@@ -2,7 +2,7 @@ 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] = "9c48350c-6563-4491-96b8-bf2f32a31cc7", e._sentryDebugIdIdentifier = "sentry-dbid-9c48350c-6563-4491-96b8-bf2f32a31cc7");
4
4
  } catch (e) {}
5
- import { a as useAnalyticsContext } from "./useId-AzWxLa17.js";
5
+ import { a as useAnalyticsContext } from "./useId-Cot-htyS.js";
6
6
  import { useRef } from "preact/hooks";
7
7
  //#region src/hooks/useTaskLandedEvent.ts
8
8
  /**
@@ -1,11 +1,11 @@
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] = "fdaf1d02-24bc-48c0-8975-4bdf45b70586", e._sentryDebugIdIdentifier = "sentry-dbid-fdaf1d02-24bc-48c0-8975-4bdf45b70586");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d9f0810c-0c66-415d-91e2-be0840ea59df", e._sentryDebugIdIdentifier = "sentry-dbid-d9f0810c-0c66-415d-91e2-be0840ea59df");
4
4
  } catch (e) {}
5
5
  import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CxeMoCm4.js";
6
6
  import { s as getOwnEntityAssociations } from "./entityAssociationUtil-BlfcBl3i.js";
7
7
  import { t as TrustMemberTypes } from "./trustMemberType-Ix2sf6e_.js";
8
- import { i as useToggleContext } from "./Checkbox-Ec4wyyJQ.js";
8
+ import { i as useToggleContext } from "./Checkbox-qmfi_XIo.js";
9
9
  import { n as useAssociatedLegalEntity } from "./getFormSlice-CxtXJ0-P.js";
10
10
  import { n as getLegalEntityNameBasedOnType } from "./getName-Cii7OyRd.js";
11
11
  import { useMemo } from "preact/hooks";
@@ -1,11 +1,11 @@
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] = "64474bee-e486-4c96-8b75-46c62ae79034", e._sentryDebugIdIdentifier = "sentry-dbid-64474bee-e486-4c96-8b75-46c62ae79034");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5bf80669-e3b1-4743-8bf1-4f6039fc9802", e._sentryDebugIdIdentifier = "sentry-dbid-5bf80669-e3b1-4743-8bf1-4f6039fc9802");
4
4
  } catch (e) {}
5
5
  import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CxeMoCm4.js";
6
6
  import { s as getOwnEntityAssociations } from "./entityAssociationUtil-BlfcBl3i.js";
7
7
  import { n as useAssociatedLegalEntity } from "./getFormSlice-CxtXJ0-P.js";
8
- import { t as UnincorporatedPartnershipMemberTypes } from "./unincorporatedPartnership-B5pKn0gl.js";
8
+ import { t as UnincorporatedPartnershipMemberTypes } from "./unincorporatedPartnership-DsneX1hY.js";
9
9
  import { n as getLegalEntityNameBasedOnType } from "./getName-Cii7OyRd.js";
10
10
  import { useMemo } from "preact/hooks";
11
11
  //#region src/components/UnincorporatedPartnership/utils/unincorporatedPartnershipMembers.ts
@@ -5,7 +5,7 @@ try {
5
5
  import { r as useTranslation } from "./translation-CpH8D2NK.js";
6
6
  import { t as Typography } from "./Typography-CAc_f5Iq.js";
7
7
  import { t as Button } from "./Button-EhGM-oCO.js";
8
- import { a as useAnalyticsContext, n as Modal, t as useId } from "./useId-AzWxLa17.js";
8
+ import { a as useAnalyticsContext, n as Modal, t as useId } from "./useId-Cot-htyS.js";
9
9
  import { useEffect, useState } from "preact/hooks";
10
10
  import cx from "classnames";
11
11
  import { jsx, jsxs } from "preact/jsx-runtime";
@@ -6,7 +6,7 @@ import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BK-HHa65.js"
6
6
  import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
7
7
  import { t as getCapabilities } from "./processCapabilities-B75YIdXZ.js";
8
8
  import { d as hasOwnEntityAssociationOfType } from "./entityAssociationUtil-BlfcBl3i.js";
9
- import { t as allowIndividualWithoutSoleProp } from "./accountHolderUtils-D6wEBsLQ.js";
9
+ import { t as allowIndividualWithoutSoleProp } from "./accountHolderUtils-Cga0JXlL.js";
10
10
  import { a as TRUST_COUNTRIES, i as SOLE_PROP_COUNTRIES, t as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./legalArrangementUtils-CHlmmcB8.js";
11
11
  //#region src/components/Shared/forms/BusinessTypeSelection/utils.ts
12
12
  var BUSINESS_BANK_ACCOUNT_COUNTRIES = [
@@ -1,10 +1,10 @@
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] = "0f93559b-b3e8-46fe-aed2-50b0caa00a3a", e._sentryDebugIdIdentifier = "sentry-dbid-0f93559b-b3e8-46fe-aed2-50b0caa00a3a");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "bab877a4-7e5b-4c41-9dfe-41cc72b661e4", e._sentryDebugIdIdentifier = "sentry-dbid-bab877a4-7e5b-4c41-9dfe-41cc72b661e4");
4
4
  } catch (e) {}
5
- import { f as addressFields } from "./StateField-DxKg7Ea-.js";
5
+ import { f as addressFields } from "./StateField-BxWm98Tj.js";
6
6
  import { t as capitalize } from "./getProps-DVqK7eRw.js";
7
- //#region src/components/Shared/fields/RegistrationAndOperationalAddressFields/utils.ts
7
+ //#region src/components/Shared/fields/Address/RegistrationAndOperationalAddressFields/utils.ts
8
8
  /**
9
9
  * Parses the nested trusted fields on a legal entity e.g. ['registrationAddress.address', 'registrationAddress.postalCode'],
10
10
  * rebuilding them into the flattened, prefixed fields for the addresses, e.g., `registrationAddress.address` -> `registrationAddressAddress`
@@ -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] = "cac69199-d970-4815-baac-ce7fff348ea0", e._sentryDebugIdIdentifier = "sentry-dbid-cac69199-d970-4815-baac-ce7fff348ea0");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f597ea2b-75ad-485e-b8fc-0cd20073a2d2", e._sentryDebugIdIdentifier = "sentry-dbid-f597ea2b-75ad-485e-b8fc-0cd20073a2d2");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-CpH8D2NK.js";
6
6
  import { t as Icon } from "./Icon-D2IGgB2L.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 { n as IconButton } from "./Button-EhGM-oCO.js";
10
- import { a as useAnalyticsContext } from "./useId-AzWxLa17.js";
10
+ import { a as useAnalyticsContext } from "./useId-Cot-htyS.js";
11
11
  import { d as isNewlyUploadedFile } from "./documentUtils-6K3LdjjN.js";
12
12
  import { useEffect } from "preact/hooks";
13
13
  import cx from "classnames";
@@ -1,20 +1,20 @@
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] = "cec85da7-0294-4e33-8faf-aecb505665fe", e._sentryDebugIdIdentifier = "sentry-dbid-cec85da7-0294-4e33-8faf-aecb505665fe");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "856e02a6-2ddf-4c74-967c-d4f19d4b0d37", e._sentryDebugIdIdentifier = "sentry-dbid-856e02a6-2ddf-4c74-967c-d4f19d4b0d37");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-CpH8D2NK.js";
6
- import { ct as isEmpty, yt as useLocalStorage } from "./registerEmbed-CZDAZwKX.js";
6
+ import { ct as isEmpty, yt as useLocalStorage } from "./registerEmbed-TZ9ArAAB.js";
7
7
  import { t as createLogger } from "./logger-Z8AeTE4x.js";
8
8
  import { r as httpPost, s as useApiContext } from "./http-C8rt2BZk.js";
9
9
  import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
10
10
  import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
11
- import { i as useToggleContext } from "./Checkbox-Ec4wyyJQ.js";
12
- import { a as useAnalyticsContext, i as KEYBOARD_KEYS } from "./useId-AzWxLa17.js";
13
- import { a as resolveFieldMetadata, i as convertFullToHalf } from "./unincorporatedPartnership-B5pKn0gl.js";
14
- import { p as isJapanLocalizationEnabled } from "./StateField-DxKg7Ea-.js";
15
- import { C as validateJaKanaLegalCompanyName, S as validateJaHaniLegalCompanyName, c as CountryField } from "./dropinUtils-CZuO0w1x.js";
16
- import { v as toFullWidth } from "./bafinUtils-TT8a0y7q.js";
17
- import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, s as getLegalCompanyNameGuidanceText, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-Ch1VrlJs.js";
11
+ import { i as useToggleContext } from "./Checkbox-qmfi_XIo.js";
12
+ import { a as useAnalyticsContext, i as KEYBOARD_KEYS } from "./useId-Cot-htyS.js";
13
+ import { a as resolveFieldMetadata, i as convertFullToHalf } from "./unincorporatedPartnership-DsneX1hY.js";
14
+ import { p as isJapanLocalizationEnabled } from "./StateField-BxWm98Tj.js";
15
+ import { C as validateJaKanaLegalCompanyName, S as validateJaHaniLegalCompanyName, c as CountryField } from "./dropinUtils-5RadTVG9.js";
16
+ import { v as toFullWidth } from "./bafinUtils-Dxa3eJnZ.js";
17
+ import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, s as getLegalCompanyNameGuidanceText, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-hsrxQFKc.js";
18
18
  import { useEffect, useState } from "preact/hooks";
19
19
  import { jsx } from "preact/jsx-runtime";
20
20
  import { queryOptions, skipToken, useMutation, useQuery, useQueryClient } from "@tanstack/preact-query";
@@ -219,6 +219,11 @@ var verifyTinQueryOptions = (rootLegalEntityId, baseUrl, data, userEvents, optio
219
219
  ...options
220
220
  });
221
221
  };
222
+ var useVerifyTin = (data, options) => {
223
+ const { rootLegalEntityId, baseUrl } = useApiContext();
224
+ const userEvents = useAnalyticsContext();
225
+ return useQuery(verifyTinQueryOptions(rootLegalEntityId.value, baseUrl.value, data, userEvents, options));
226
+ };
222
227
  var verifyTin = async (legalEntityId, baseUrl, data) => {
223
228
  return httpPost({
224
229
  baseUrl,
@@ -449,4 +454,4 @@ var CountryOfGoverningLawFieldValidation = () => ({ countryOfGoverningLaw: {
449
454
  errorMessage: "fieldIsRequired"
450
455
  } });
451
456
  //#endregion
452
- export { CountryOfGoverningLawField as a, useCompanyTypeExamples as c, companySearchQueryOptions as d, useCompanySearch as f, useClearCompanyData as h, COUNTRY_OF_GOVERNING_LAW_FIELD as i, useCompanySelection as l, useStoredStateOrProvince as m, COUNTRY_OF_GOVERNING_LAW_POSSIBLE as n, useLegalCompanyNameField as o, trackPerformance as p, isNormalizedStringMatch as r, localizedLegalCompanyNameFieldConfig as s, CountryOfGoverningLawFieldValidation as t, verifyTinQueryOptions as u };
457
+ export { CountryOfGoverningLawField as a, useCompanyTypeExamples as c, verifyTinQueryOptions as d, companySearchQueryOptions as f, useClearCompanyData as g, useStoredStateOrProvince as h, COUNTRY_OF_GOVERNING_LAW_FIELD as i, useCompanySelection as l, trackPerformance as m, COUNTRY_OF_GOVERNING_LAW_POSSIBLE as n, useLegalCompanyNameField as o, useCompanySearch as p, isNormalizedStringMatch as r, localizedLegalCompanyNameFieldConfig as s, CountryOfGoverningLawFieldValidation as t, useVerifyTin as u };
@@ -1,8 +1,8 @@
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] = "211a527d-2ba6-400d-bb59-c81a109d5b98", e._sentryDebugIdIdentifier = "sentry-dbid-211a527d-2ba6-400d-bb59-c81a109d5b98");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9e581754-69ce-4e31-9c8a-0472ce4d04fa", e._sentryDebugIdIdentifier = "sentry-dbid-9e581754-69ce-4e31-9c8a-0472ce4d04fa");
4
4
  } catch (e) {}
5
- import { t as addressValidators } from "./validate-Bf1SBTiG.js";
5
+ import { t as addressValidators } from "./validate-DxoJtDwQ.js";
6
6
  import { t as capitalize } from "./getProps-DVqK7eRw.js";
7
7
  //#region src/components/EFP/tasks/BusinessFinancingDropin/validate.ts
8
8
  var validateLegalEntityIdentifier = (legalEntityIdentifier) => {
@@ -1,11 +1,11 @@
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] = "d5548373-5ab3-4bc8-9b85-4e35fc1890d5", e._sentryDebugIdIdentifier = "sentry-dbid-d5548373-5ab3-4bc8-9b85-4e35fc1890d5");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c117a631-a0ef-4389-ac96-f0264377d680", e._sentryDebugIdIdentifier = "sentry-dbid-c117a631-a0ef-4389-ac96-f0264377d680");
4
4
  } catch (e) {}
5
- import { H as ADDRESS_VALID_CHAR_REGEX, J as NO_ALPHABET_UNICODE_REGEX, Q as chomeAndBanchiValidator, U as EMOJI_REGEX, at as hasRepeatedCharacters, ft as isValidMinLength, it as hasMaximumTwoRepeatedCharacters, ot as hasText, pt as matchesRegex, q as NO_ALPHABET_REGEX, ut as isInvalidName } from "./registerEmbed-CZDAZwKX.js";
5
+ import { H as ADDRESS_VALID_CHAR_REGEX, J as NO_ALPHABET_UNICODE_REGEX, Q as chomeAndBanchiValidator, U as EMOJI_REGEX, at as hasRepeatedCharacters, ft as isValidMinLength, it as hasMaximumTwoRepeatedCharacters, ot as hasText, pt as matchesRegex, q as NO_ALPHABET_REGEX, ut as isInvalidName } from "./registerEmbed-TZ9ArAAB.js";
6
6
  import { t as createLogger } from "./logger-Z8AeTE4x.js";
7
7
  import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
8
- import { n as countrySpecificFormatters } from "./InputDate-fc3bdvdZ.js";
8
+ import { n as countrySpecificFormatters } from "./InputDate-C1Q3XDFU.js";
9
9
  //#region src/utils/regex/postalCodePatterns.ts
10
10
  var createRegExpByDigits = (digits) => new RegExp(`^\\d{${digits}}$`);
11
11
  var postalCodePatterns = {
@@ -1,6 +1,6 @@
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] = "9759fe6c-d0f1-4aad-912d-6cf7d2cf3e53", e._sentryDebugIdIdentifier = "sentry-dbid-9759fe6c-d0f1-4aad-912d-6cf7d2cf3e53");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9f7b41d9-503c-470b-b11e-9134ba5a9e85", e._sentryDebugIdIdentifier = "sentry-dbid-9f7b41d9-503c-470b-b11e-9134ba5a9e85");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-CpH8D2NK.js";
6
6
  import { t as createLogger } from "./logger-Z8AeTE4x.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/kyc-components",
3
- "version": "4.28.0-beta.0",
3
+ "version": "4.28.0-beta.2",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-for-platforms",