@adyen/kyc-components 3.73.0 → 3.74.0

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 (262) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-Bkk7q6mo.js → AcceptTermsOfServiceComponent-CLMnW4dR.js} +17 -20
  2. package/dist/{AccountSetupRejected-C7ecEaSn.js → AccountSetupRejected-ChyPGfVY.js} +2 -2
  3. package/dist/{Avatar-D6yqIy0x.js → Avatar-DhuHCZW6.js} +2 -2
  4. package/dist/{BusinessDetailsDropin-BiRuNJ8n.js → BusinessDetailsDropin-Wq_qwIs6.js} +66 -119
  5. package/dist/{BusinessFinancingComponent-CSvynjpm.js → BusinessFinancingComponent-DLpXuuS5.js} +2 -2
  6. package/dist/{BusinessFinancingDropin-CXRE15GX.js → BusinessFinancingDropin-C7mlGddn.js} +14 -14
  7. package/dist/{BusinessFinancingPage-r0Iqfbxa.js → BusinessFinancingPage-BZD0KZ30.js} +2 -2
  8. package/dist/{BusinessTypeSelectionPage-CZ_FaDIH.js → BusinessTypeSelectionPage-D_BhkX09.js} +5 -5
  9. package/dist/{Confirm-BHr6mMiG.js → Confirm-C6u9f40H.js} +3 -3
  10. package/dist/{ContractViewer-oBZZ8bn4.js → ContractViewer-CLOTCDj6.js} +2 -2
  11. package/dist/{CreateIndividualComponent-CVdGHf1d.js → CreateIndividualComponent-Z8jM6wlM.js} +4 -4
  12. package/dist/{CreateTransferInstrumentComponent-CmIi26ll.js → CreateTransferInstrumentComponent-Chyz5t9e.js} +3 -3
  13. package/dist/{CustomerSupport-ZjylSyg9.js → CustomerSupport-BFgkd8QN.js} +6 -6
  14. package/dist/{DebugModal-CZzPXOzG.js → DebugModal-_WYzDBmQ.js} +9 -9
  15. package/dist/{DecisionMakerDetailsPage-okutG9UE.js → DecisionMakerDetailsPage-CuqP9R4z.js} +4 -4
  16. package/dist/{DecisionMakers-BMlKNI5V.js → DecisionMakers-C37UFHhZ.js} +6 -6
  17. package/dist/{EmbeddedStatus-43EnE3ZK.js → EmbeddedStatus-CdEVZYPm.js} +3 -3
  18. package/dist/{FormEndState-Ba2NHk5y.js → FormEndState-CxdNlAIB.js} +2 -2
  19. package/dist/{FormFlow-Cdck7u4x.js → FormFlow-CKIqMX1G.js} +5 -5
  20. package/dist/{FormNavigation-W6RbnNko.js → FormNavigation-CemrYfEO.js} +2 -2
  21. package/dist/{FormWrapper-qqC_-UNQ.js → FormWrapper-v6p3OjH8.js} +7 -7
  22. package/dist/{IndividualOnfidoDropin-IrOHNmTf.js → IndividualOnfidoDropin-C0vQPpj9.js} +326 -56
  23. package/dist/{Introduction-o-hWV0oZ.js → Introduction-BtHjo6V8.js} +4 -4
  24. package/dist/{LegalRepresentativeDetailsPage-CCl4rrb1.js → LegalRepresentativeDetailsPage-Dbigd1If.js} +4 -4
  25. package/dist/{ManageIndividualComponent-B7fSfP2F.js → ManageIndividualComponent-C6sqQx17.js} +4 -4
  26. package/dist/{ManagePCIComponent-r4dqzD7_.js → ManagePCIComponent-B8d5dB4z.js} +4 -4
  27. package/dist/{ManageTermsOfServiceComponent-D8e3dSKy.js → ManageTermsOfServiceComponent-BIxw0zQy.js} +4 -4
  28. package/dist/{ManageTransferInstrumentComponent-BJO-PHo6.js → ManageTransferInstrumentComponent-BSgpC5bq.js} +8 -8
  29. package/dist/{MaybeModal-O3q5S9NK.js → MaybeModal-BcVPHBkn.js} +2 -2
  30. package/dist/{Modal-TYAtBE9x.js → Modal-DTnFAiyV.js} +2 -2
  31. package/dist/{OnboardingDropinComponent-Bxh1PgLV.js → OnboardingDropinComponent-BD7R4EAM.js} +35 -35
  32. package/dist/{PayoutDetailsDropin-CP4QFI8I.js → PayoutDetailsDropin-CsYSGkaY.js} +11 -11
  33. package/dist/{PayoutDetailsPage-DIH-wJhK.js → PayoutDetailsPage-DWRzhf_d.js} +4 -4
  34. package/dist/{ProviderButton-AD6AyoHf.js → ProviderButton-C6WkTlc_.js} +2 -2
  35. package/dist/{Review-DDa73Jju.js → Review-7cYeLymE.js} +4 -4
  36. package/dist/{RootBusinessDetailsPage-AH2m5bxv.js → RootBusinessDetailsPage-DHc2VzBi.js} +4 -4
  37. package/dist/{RootIndividualDetailsPage-BL3wAc4S.js → RootIndividualDetailsPage-B2qt5kcJ.js} +4 -4
  38. package/dist/{SignPCIComponent-jYVMnZY2.js → SignPCIComponent-nRaTRedl.js} +8 -8
  39. package/dist/{SingpassSelection-CVSZcYyN.js → SingpassSelection-DkEsbjKT.js} +2 -2
  40. package/dist/{SoleProprietorshipPage-DalSBVxC.js → SoleProprietorshipPage-DslyPkTx.js} +4 -4
  41. package/dist/{SourceOfFunds.module-BQK0zkg8.js → SourceOfFunds.module-A2yWSa88.js} +2 -2
  42. package/dist/{SourceOfFundsPage-DiS_X7b1.js → SourceOfFundsPage-BvZrOzaf.js} +18 -18
  43. package/dist/{StepProgressIndicator-B4zX-D3p.js → StepProgressIndicator-BoBDXDd9.js} +2 -2
  44. package/dist/{StoreProvider-BvP9cxL2.js → StoreProvider-CVp18VTs.js} +859 -3660
  45. package/dist/{TaskItemStatus-DkPVRqFs.js → TaskItemStatus-BS4qja43.js} +2 -2
  46. package/dist/{TaxReportingDropin-g3d5fL-x.js → TaxReportingDropin-J7OE045h.js} +8 -8
  47. package/dist/{TileGroup-CYlkz3ZJ.js → TileGroup-D7oTsDlc.js} +2 -2
  48. package/dist/{TrustDetailsPage-obnK_JcV.js → TrustDetailsPage-p2Gc2Nm9.js} +12 -12
  49. package/dist/{TrustMemberCompanyPage-CSJwRLMU.js → TrustMemberCompanyPage-CgOQhJqj.js} +5 -5
  50. package/dist/{TrustMemberIndividualPage-C7tI4NA2.js → TrustMemberIndividualPage-BFwWkz5-.js} +4 -4
  51. package/dist/{UnincorporatedPartnershipIndividualPage-BioVhYr_.js → UnincorporatedPartnershipIndividualPage-BUVKFlUN.js} +5 -5
  52. package/dist/{UnincorporatedPartnershipMemberCompanyPage-C22uQvbk.js → UnincorporatedPartnershipMemberCompanyPage-DpxQANYm.js} +6 -6
  53. package/dist/{VerificationErrorAlert-BF5XUN6V.js → VerificationErrorAlert-DeXDmoKx.js} +2 -2
  54. package/dist/{ViewVerificationStatusComponent-T5K1PtFS.js → ViewVerificationStatusComponent-MhLPFvzE.js} +3 -3
  55. package/dist/adyen-business-financing.js +24 -27
  56. package/dist/adyen-individual.js +18 -21
  57. package/dist/adyen-kyc-components.js +28 -31
  58. package/dist/adyen-manage-individual.js +18 -21
  59. package/dist/adyen-manage-pci.js +18 -21
  60. package/dist/adyen-manage-terms-of-service.js +18 -21
  61. package/dist/adyen-manage-transfer-instruments.js +27 -30
  62. package/dist/adyen-onboarding.js +18 -23
  63. package/dist/adyen-sign-pci.js +26 -29
  64. package/dist/adyen-terms-of-service.js +18 -27
  65. package/dist/adyen-transfer-instrument.js +26 -29
  66. package/dist/adyen-verification-status.js +30 -33
  67. package/dist/{bg-BG-CZRQZyXO.js → bg-BG-BzeiDl-e.js} +65 -20
  68. package/dist/{cs-CZ-BbUFgifZ.js → cs-CZ-4Tk67nmO.js} +63 -18
  69. package/dist/{css-BaETlS0u.js → css-3-2ok6vp.js} +2 -2
  70. package/dist/{da-DK-CP71BFS7.js → da-DK-CN3Rc5da.js} +63 -18
  71. package/dist/{de-DE-DY56JGZt.js → de-DE-GaynF_xB.js} +63 -18
  72. package/dist/{documentUtils-2X_myXDi.js → documentUtils-BkxL-yDV.js} +2 -2
  73. package/dist/{dropinUtils-ZxnWDnZL.js → dropinUtils--qLgxRzC.js} +2 -2
  74. package/dist/{el-GR-CnENEp5c.js → el-GR-C3tN9AFZ.js} +64 -19
  75. package/dist/{es-ES-dV62vQcV.js → es-ES-9Q6u4x6u.js} +64 -19
  76. package/dist/{et-EE-BBgAN3Wc.js → et-EE-jHAEJC5c.js} +63 -18
  77. package/dist/{fi-FI-DVmGWIxn.js → fi-FI-DH5DphLd.js} +64 -19
  78. package/dist/{fr-FR-VwG8Rg7R.js → fr-FR-DCboO9VH.js} +63 -18
  79. package/dist/{getFieldsWithExistingData-D7k0q9nX.js → getFieldsWithExistingData-CUt8CT2O.js} +2 -2
  80. package/dist/{hasDataChanged-HQ34LD7s.js → hasDataChanged-YBvRj2cb.js} +2 -2
  81. package/dist/{hr-HR-Bs_lxjxQ.js → hr-HR-333ODlHZ.js} +64 -19
  82. package/dist/{hu-HU-8dVSiOZM.js → hu-HU-CUNG9bik.js} +63 -18
  83. package/dist/{individualFormConfig-C4JOvJeg.js → individualFormConfig-C-Rfyf2w.js} +15 -7
  84. package/dist/{it-IT-DvwWMDl1.js → it-IT-CXxD91gu.js} +66 -21
  85. package/dist/{ja-JP-BB6zzyEg.js → ja-JP-1qp81W1I.js} +64 -19
  86. package/dist/{json-DAyfNEwU.js → json-Bq6i9wUb.js} +2 -2
  87. package/dist/{localizeDateString-HsIetwBG.js → localizeDateString-BTXiPsls.js} +2 -2
  88. package/dist/{lt-LT-BQtNojlb.js → lt-LT-vQmxFgVn.js} +63 -18
  89. package/dist/{lv-LV-BpEw5uN5.js → lv-LV-Ds10XQ8q.js} +65 -20
  90. package/dist/{mapFinancialReportsToFinancialInformation-yegBHG3w.js → mapFinancialReportsToFinancialInformation-yQCZSzYr.js} +2 -2
  91. package/dist/{mapTransferInstrumentToPayoutAccount-ChLSi-YS.js → mapTransferInstrumentToPayoutAccount-CTCkqxO0.js} +2 -2
  92. package/dist/{nl-NL-vBEBXTP-.js → nl-NL-BsDTOkW4.js} +63 -18
  93. package/dist/{no-NO-BFhTqUoD.js → no-NO-BpyiF6sI.js} +64 -19
  94. package/dist/{omitObscuredFieldsIfUnchanged-BzlcM6To.js → omitObscuredFieldsIfUnchanged-CmkIAvcd.js} +2 -2
  95. package/dist/{pl-PL-dsGZvzVf.js → pl-PL-BqA3pc6p.js} +63 -18
  96. package/dist/{plaintext-DcsV3Ez0.js → plaintext-3cVe_Y6O.js} +2 -2
  97. package/dist/{process-field-configurations-C0gNZpp3.js → process-field-configurations-Ct9RR_nO.js} +2 -2
  98. package/dist/{processValidationErrors-DtcBtOKr.js → processValidationErrors-paTCkgix.js} +2 -2
  99. package/dist/{pt-PT-BB38pZbh.js → pt-PT-DSry7yG3.js} +64 -19
  100. package/dist/resolveEnvironment-Ck_KiOeJ.js +84 -0
  101. package/dist/{ro-RO-BgxNxoxJ.js → ro-RO-r8myUMxM.js} +65 -20
  102. package/dist/{rules-DEF0eIW9.js → rules-9ttCIvV4.js} +17 -5
  103. package/dist/{sk-SK-rtDeCztl.js → sk-SK-Dy7mKbdU.js} +65 -20
  104. package/dist/{sl-SI-qoGCwUdU.js → sl-SI-L3YffGqX.js} +63 -18
  105. package/dist/style.css +4 -0
  106. package/dist/styles-CLV89_hH.js +4 -0
  107. package/dist/{sv-SE-f1T7PBSW.js → sv-SE-BtKMAZPD.js} +64 -19
  108. package/dist/types/api/address/address.types.d.ts +17 -0
  109. package/dist/types/api/address/useAddressCleanse.d.ts +1 -1
  110. package/dist/types/api/address/useRetrieveAddress.d.ts +1 -2
  111. package/dist/types/api/address/useSearchAddress.d.ts +13 -14
  112. package/dist/types/api/businessLines/useUpdateSourceOfFunds.d.ts +2 -2
  113. package/dist/types/api/check/useCheck.d.ts +5 -4
  114. package/dist/types/api/companyDataSet/companyDataset.types.d.ts +15 -0
  115. package/dist/types/api/companyDataSet/useCompanyDataset.d.ts +1 -15
  116. package/dist/types/api/companySearch/companySearch.types.d.ts +18 -0
  117. package/dist/types/api/companySearch/useCompanySearch.d.ts +1 -18
  118. package/dist/types/api/configurations/configurations.types.d.ts +9 -0
  119. package/dist/types/api/configurations/useScenarios.d.ts +14 -22
  120. package/dist/types/api/configurations/useSupportedCountries.d.ts +2 -2
  121. package/dist/types/api/configurations/useTaskTypes.d.ts +2 -2
  122. package/dist/types/api/configurations/useVersionConfiguration.d.ts +2 -2
  123. package/dist/types/api/createLegalEntity/useCreateLegalEntity.d.ts +1 -1
  124. package/dist/types/api/datasets/datasets.types.d.ts +6 -0
  125. package/dist/types/api/datasets/useLegalForms.d.ts +2 -7
  126. package/dist/types/api/datasets/useNaceCodes.d.ts +2 -2
  127. package/dist/types/api/datasets/useSourceOfFundsTypes.d.ts +2 -2
  128. package/dist/types/api/entityVerifications/entityVerifications.types.d.ts +15 -0
  129. package/dist/types/api/entityVerifications/useVerifyIdNumber.d.ts +2 -17
  130. package/dist/types/api/idVerificationProviders/idVerificationProviders.types.d.ts +6 -0
  131. package/dist/types/api/idVerificationProviders/idVerificationStartCheck.d.ts +3 -7
  132. package/dist/types/api/idVerificationProviders/useExtractDocumentInformation.d.ts +7 -7
  133. package/dist/types/api/legalEntity/useConfirmReview.d.ts +2 -2
  134. package/dist/types/api/legalEntity/useLegalEntity.d.ts +19 -19
  135. package/dist/types/api/legalEntity/useUpdateLegalEntity.d.ts +4 -4
  136. package/dist/types/api/onboardingStatus/onboardingStatus.types.d.ts +7 -0
  137. package/dist/types/api/onboardingStatus/useGenerateOnboardingLink.d.ts +2 -5
  138. package/dist/types/api/onboardingStatus/useOnboardingStatus.d.ts +1 -1
  139. package/dist/types/api/pciTemplate/pciTemplate.types.d.ts +9 -0
  140. package/dist/types/api/pciTemplate/usePciQuestionnaire.d.ts +2 -4
  141. package/dist/types/api/pciTemplate/usePciQuestionnaireList.d.ts +7 -9
  142. package/dist/types/api/pciTemplate/usePciStatus.d.ts +4 -9
  143. package/dist/types/api/pciTemplate/usePciTemplate.d.ts +2 -2
  144. package/dist/types/api/pciTemplate/useSignPci.d.ts +2 -2
  145. package/dist/types/api/providersConfiguration/providersConfiguration.types.d.ts +9 -0
  146. package/dist/types/api/providersConfiguration/useProviderStatus.d.ts +3 -13
  147. package/dist/types/api/queryKeys.d.ts +1 -1
  148. package/dist/types/api/taskStatus/taskStatus.types.d.ts +4 -0
  149. package/dist/types/api/taskStatus/useTaskStatus.d.ts +0 -3
  150. package/dist/types/api/taxClassification/taxClassification.types.d.ts +2 -0
  151. package/dist/types/api/taxClassification/useTaxClassification.d.ts +1 -2
  152. package/dist/types/api/termsOfService/termsOfService.types.d.ts +10 -0
  153. package/dist/types/api/termsOfService/useAcceptTermsOfService.d.ts +3 -10
  154. package/dist/types/api/termsOfService/useAcceptedTermsOfService.d.ts +9 -8
  155. package/dist/types/api/termsOfService/useTermsOfService.d.ts +10 -3
  156. package/dist/types/api/termsOfService/useTermsOfServiceAcceptanceInfos.d.ts +2 -2
  157. package/dist/types/api/termsOfService/useTermsOfServiceStatus.d.ts +2 -2
  158. package/dist/types/api/tinVerification/tinVerification.types.d.ts +4 -0
  159. package/dist/types/api/tinVerification/useVerifyTin.d.ts +1 -4
  160. package/dist/types/api/transferInstruments/transferInstruments.types.d.ts +25 -0
  161. package/dist/types/api/transferInstruments/useBankVerificationProviders.d.ts +1 -14
  162. package/dist/types/api/transferInstruments/useCreateTrustedTransferInstrument.d.ts +3 -6
  163. package/dist/types/api/transferInstruments/useHandleBankVerificationError.d.ts +3 -6
  164. package/dist/types/api/transferInstruments/useTransferInstruments.d.ts +1 -9
  165. package/dist/types/api/uiAnalytics/uiAnalytics.types.d.ts +4 -0
  166. package/dist/types/api/uiAnalytics/useAnalyticsSession.d.ts +2 -6
  167. package/dist/types/api/uiAnalytics/usePushAnalyticEvent.d.ts +2 -2
  168. package/dist/types/api/validation/useValidateAccountIdentification.d.ts +1 -6
  169. package/dist/types/api/validation/useValidatePhoneNumber.d.ts +4 -7
  170. package/dist/types/api/validation/validation.types.d.ts +8 -0
  171. package/dist/types/components/BankAccount/forms/BankVerification/types.d.ts +1 -1
  172. package/dist/types/components/BankAccount/forms/BankVerification/verification/widget/types.d.ts +1 -2
  173. package/dist/types/components/BankAccount/forms/PayoutDetails/PayoutDetails.d.ts +1 -1
  174. package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +1 -2
  175. package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/types.d.ts +1 -1
  176. package/dist/types/components/BankAccount/hooks/useAsyncAccountDetailsValidationRules.d.ts +1 -1
  177. package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +2 -2
  178. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +1 -1
  179. package/dist/types/components/Business/forms/AdditionalInformation/VerifiedBusinessCard.d.ts +1 -1
  180. package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +1 -1
  181. package/dist/types/components/Business/forms/BasicInformation/types.d.ts +1 -1
  182. package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +1 -1
  183. package/dist/types/components/Business/forms/BusinessSelection/{BusinessInformationCard.d.ts → BusinessInformationCard/BusinessInformationCard.d.ts} +2 -2
  184. package/dist/types/components/Business/forms/BusinessSelection/types.d.ts +1 -1
  185. package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +1 -1
  186. package/dist/types/components/EFP/tasks/TaxReportingDropin/types.d.ts +1 -1
  187. package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverview/ManageTransferInstrumentOverview.d.ts +1 -1
  188. package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverviewItem/ManageTransferInstrumentOverviewItem.d.ts +1 -1
  189. package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverviewItemModal/ManageTransferInstrumentOverviewItemModal.d.ts +1 -1
  190. package/dist/types/components/Individual/fields/IdentityNumber/fieldConfig.d.ts +2 -2
  191. package/dist/types/components/Individual/fields/LocalizedNameFields/LocalizedNameFields.d.ts +2 -0
  192. package/dist/types/components/Individual/fields/NameFields/NameFields.d.ts +14 -0
  193. package/dist/types/components/Individual/fields/NameFields/types.d.ts +23 -0
  194. package/dist/types/components/Individual/fields/NameFields/validate.d.ts +4 -0
  195. package/dist/types/components/Individual/forms/Individual/PersonalDetails/types.d.ts +2 -1
  196. package/dist/types/components/Individual/forms/Individual/rules.d.ts +1 -0
  197. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.d.ts +2 -1
  198. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationMethod.types.d.ts +1 -0
  199. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/mapExtractionResultToSchema.d.ts +1 -1
  200. package/dist/types/components/Individual/forms/IndividualOnfido/SignatoryQuestionnaire/SignatoryQuestionnaire.types.d.ts +1 -3
  201. package/dist/types/components/Individual/forms/IndividualOnfido/SignatoryQuestionnaire/SignatoryQuestionnaireModalContent.d.ts +1 -0
  202. package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/RichText.d.ts +5 -0
  203. package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/UboQuestionnaire.types.d.ts +1 -3
  204. package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/UboQuestionnaireModalContent.d.ts +5 -0
  205. package/dist/types/components/Individual/mapping/mapLocalization.d.ts +3 -0
  206. package/dist/types/components/Shared/forms/Address/SearchAddress.d.ts +1 -1
  207. package/dist/types/components/Shared/forms/Address/types.d.ts +1 -1
  208. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  209. package/dist/types/components/Shared/forms/Address/validate.d.ts +1 -1
  210. package/dist/types/components/Shared/tasks/TaskList/types.d.ts +1 -1
  211. package/dist/types/components/Trust/hooks/useTrustMemberNavigation.hook.d.ts +1 -1
  212. package/dist/types/core/models/api/contracts.d.ts +1 -12
  213. package/dist/types/core/models/api/data-set.d.ts +2 -1
  214. package/dist/types/core/models/api/document.d.ts +10 -1
  215. package/dist/types/core/models/api/individual.d.ts +10 -0
  216. package/dist/types/core/models/api/legal-entity.d.ts +1 -1
  217. package/dist/types/core/models/api/transfer-instrument.d.ts +1 -1
  218. package/dist/types/core/models/api/view-verification-status.d.ts +0 -4
  219. package/dist/types/core/models/country-code.d.ts +2 -1
  220. package/dist/types/core/models/errors/validation-error.d.ts +1 -1
  221. package/dist/types/embeds/EmbedBaseElement.d.ts +41 -0
  222. package/dist/types/embeds/EmbedCore.d.ts +22 -0
  223. package/dist/types/embeds/baseEmbedProps.d.ts +21 -0
  224. package/dist/types/embeds/business-financing/AdyenBusinessFinancing.d.ts +13 -0
  225. package/dist/types/embeds/individual/AdyenIndividual.d.ts +12 -0
  226. package/dist/types/embeds/manage-individual/AdyenManageIndividual.d.ts +12 -0
  227. package/dist/types/embeds/manage-pci/AdyenManagePci.d.ts +12 -0
  228. package/dist/types/embeds/manage-terms-of-service/AdyenManageTermsOfService.d.ts +12 -0
  229. package/dist/types/embeds/manage-transfer-instruments/AdyenManageTransferInstrument.d.ts +15 -0
  230. package/dist/types/embeds/onboarding/AdyenOnboarding.d.ts +11 -0
  231. package/dist/types/embeds/sign-pci/AdyenSignPci.d.ts +15 -0
  232. package/dist/types/embeds/terms-of-service/AdyenTermsOfService.d.ts +12 -0
  233. package/dist/types/embeds/transfer-instrument/AdyenTransferInstrument.d.ts +15 -0
  234. package/dist/types/embeds/verification-status/AdyenVerificationStatus.d.ts +20 -0
  235. package/dist/types/hooks/useAnalytics.d.ts +8 -1
  236. package/dist/types/hooks/useScenarioConfiguration.d.ts +2 -2
  237. package/dist/types/stores/globalStore/taskStatus.d.ts +1 -1
  238. package/dist/types/utils/api/documentUtils.d.ts +1 -2
  239. package/dist/types/utils/birthDateUtils.d.ts +51 -0
  240. package/dist/types/utils/country.d.ts +5 -2
  241. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  242. package/dist/types/utils/validatorUtils.d.ts +2 -0
  243. package/dist/types/utils/verification/helpers/verifyIdNumber.d.ts +2 -2
  244. package/dist/{useMultiForm-C9-6Ii8X.js → useMultiForm-pJKr2zEg.js} +4 -3
  245. package/dist/{useOnboardingStatus-BDaGvN1o.js → useOnboardingStatus-CyuD2U3T.js} +2 -2
  246. package/dist/{useSalesChannelsSettings-Dcouvxeh.js → useSalesChannelsSettings-DGtBuEvG.js} +2 -2
  247. package/dist/{useTermsOfServiceStatus-DnDl-q_x.js → useTermsOfServiceStatus-C9LwoIOH.js} +2 -2
  248. package/dist/{useToastContext-SxQbUliB.js → useToastContext-DQY2RNSH.js} +2 -2
  249. package/dist/{useUpdateLegalEntity-BXh1hdqg.js → useUpdateLegalEntity-Bwb0-AxL.js} +2 -2
  250. package/dist/{utils-CbUeSAH9.js → utils-D5KAO5Xj.js} +4 -4
  251. package/dist/{validate-D-3dHKWn.js → validate-CJ1HWnWh.js} +2 -2
  252. package/dist/{validate-CT_n11je.js → validate-CM_xe4At.js} +2 -2
  253. package/dist/{yaml-BQHAR0fM.js → yaml-BNAf5lwO.js} +2 -2
  254. package/package.json +2 -1
  255. package/dist/CXEL7IU7-W0GuMc2V.js +0 -55
  256. package/dist/HASRA6WW-s6cv0xeb.js +0 -12411
  257. package/dist/I3HPI4QX-CHsql0Lg.js +0 -46
  258. package/dist/ShadowStylesRoot-wgo4Zafr.js +0 -103
  259. package/dist/types/core/models/api/analytics.d.ts +0 -13
  260. package/dist/types/core/models/api/check.d.ts +0 -4
  261. package/dist/types/core/models/api/documentDetail.d.ts +0 -9
  262. package/dist/types/embeds/ShadowStylesRoot.d.ts +0 -3
@@ -2,25 +2,25 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e062d02e-c9d1-40dd-88b7-c95f530611c8", e._sentryDebugIdIdentifier = "sentry-dbid-e062d02e-c9d1-40dd-88b7-c95f530611c8");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d497a2ae-fff5-4c8e-9cc1-ab6474ed6810", e._sentryDebugIdIdentifier = "sentry-dbid-d497a2ae-fff5-4c8e-9cc1-ab6474ed6810");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
11
  import { useState, useEffect, useCallback } from "preact/hooks";
12
- import { q as useApiContext, b4 as useInvalidateRootLegalEntity, b5 as useMutation, b7 as httpPost, r as useQuery, x as skipToken, t as httpGet, aJ as createLogger, b as useI18nContext, $ as useAnalyticsContext, a5 as useExperimentsContext, as as useForm, C as Alert, Z as Button, a2 as LoaderWrapper, ax as Field, bw as Select, bv as Checkbox, aM as ActionBar, z as LegalEntityType, ad as getOwnSignatories, y as doesLegalEntityRequiresLegalRepresentative, w as getLegalRepresentative, a as useLegalEntity, R as ROOT_LE, L as Loader, X as TaskTypes } from "./StoreProvider-BvP9cxL2.js";
13
- import { a as useTermsOfServiceStatus, u as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-DnDl-q_x.js";
14
- import { M as MaybeModal } from "./MaybeModal-O3q5S9NK.js";
15
- import { b as ModalContent, c as ModalFooter } from "./Modal-TYAtBE9x.js";
16
- import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-oBZZ8bn4.js";
12
+ import { p as useApiContext, b3 as useInvalidateRootLegalEntity, b4 as useMutation, b6 as httpPost, q as useQuery, w as skipToken, r as httpGet, aI as createLogger, b as useI18nContext, _ as useAnalyticsContext, a4 as useExperimentsContext, ar as useForm, B as Alert, Y as Button, a1 as LoaderWrapper, aw as Field, bv as Select, bu as Checkbox, aL as ActionBar, y as LegalEntityType, ac as getOwnSignatories, x as doesLegalEntityRequiresLegalRepresentative, v as getLegalRepresentative, ai as getLegalEntityNameBasedOnType, a as useLegalEntity, R as ROOT_LE, L as Loader, W as TaskTypes } from "./StoreProvider-CVp18VTs.js";
13
+ import { a as useTermsOfServiceStatus, u as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-C9LwoIOH.js";
14
+ import { M as MaybeModal } from "./MaybeModal-BcVPHBkn.js";
15
+ import { b as ModalContent, c as ModalFooter } from "./Modal-DTnFAiyV.js";
16
+ import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-CLOTCDj6.js";
17
17
  import { S as Spacer } from "./Spacer-BK3jDget.js";
18
- import { S as StepProgressIndicator } from "./StepProgressIndicator-B4zX-D3p.js";
19
- import { u as useToastContext } from "./useToastContext-SxQbUliB.js";
20
- import { F as FormEndState } from "./FormEndState-Ba2NHk5y.js";
21
- import { F as FormNavigation } from "./FormNavigation-W6RbnNko.js";
18
+ import { S as StepProgressIndicator } from "./StepProgressIndicator-BoBDXDd9.js";
19
+ import { u as useToastContext } from "./useToastContext-DQY2RNSH.js";
20
+ import { F as FormEndState } from "./FormEndState-CxdNlAIB.js";
21
+ import { F as FormNavigation } from "./FormNavigation-CemrYfEO.js";
22
22
  import { d as downloadFile } from "./file-CiG1D0zy.js";
23
- import { l as localizeDateString } from "./localizeDateString-HsIetwBG.js";
23
+ import { l as localizeDateString } from "./localizeDateString-BTXiPsls.js";
24
24
  const acceptTermsOfService = async (legalEntityId, baseUrl, termsOfServiceDocumentId, data) => {
25
25
  return httpPost(
26
26
  {
@@ -367,16 +367,13 @@ function ServiceAgreementDropin({
367
367
  }
368
368
  );
369
369
  const getSignedName = (acceptanceId) => {
370
- var _a2, _b2, _c;
370
+ var _a2;
371
371
  if (!acceptanceId) return "";
372
- if (legalEntityResponse.type === LegalEntityType.INDIVIDUAL) {
373
- const name = (_a2 = legalEntityResponse.individual) == null ? void 0 : _a2.name;
374
- return `${(name == null ? void 0 : name.firstName) ?? ""} ${(name == null ? void 0 : name.lastName) ?? ""}`;
375
- }
376
- const signatory = serviceAgreementAcceptanceInfos.find((info) => info.id === acceptanceId);
377
- return ((_c = (_b2 = legalEntityResponse.entityAssociations) == null ? void 0 : _b2.find(
378
- (entity) => entity.legalEntityId === (signatory == null ? void 0 : signatory.acceptedBy)
379
- )) == null ? void 0 : _c.name) ?? "";
372
+ const signatory = serviceAgreementAcceptanceInfos.find(({ id }) => id === acceptanceId);
373
+ const legalEntitySignatory = (_a2 = legalEntityResponse.entityAssociations) == null ? void 0 : _a2.find(
374
+ ({ legalEntityId }) => legalEntityId === (signatory == null ? void 0 : signatory.acceptedBy)
375
+ );
376
+ return (legalEntitySignatory == null ? void 0 : legalEntitySignatory.name) ?? getLegalEntityNameBasedOnType(legalEntityResponse);
380
377
  };
381
378
  const signedAlert = showSignedAlert && /* @__PURE__ */ jsx(
382
379
  Alert,
@@ -8,8 +8,8 @@
8
8
  }
9
9
  ;
10
10
  import { jsxs, jsx } from "preact/jsx-runtime";
11
- import { b as useI18nContext, A as AlertIcon, F as FormHeader } from "./StoreProvider-BvP9cxL2.js";
12
- import { D as DropinLayout } from "./OnboardingDropinComponent-Bxh1PgLV.js";
11
+ import { b as useI18nContext, A as AlertIcon, F as FormHeader } from "./StoreProvider-CVp18VTs.js";
12
+ import { D as DropinLayout } from "./OnboardingDropinComponent-BD7R4EAM.js";
13
13
  function AccountSetupRejected() {
14
14
  const { i18n } = useI18nContext();
15
15
  const content = /* @__PURE__ */ jsxs("div", { children: [
@@ -2,14 +2,14 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d9f0361c-263c-477a-9583-b099e7b9adde", e._sentryDebugIdIdentifier = "sentry-dbid-d9f0361c-263c-477a-9583-b099e7b9adde");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "37320422-9108-4f46-8df6-6928b4a6f6a5", e._sentryDebugIdIdentifier = "sentry-dbid-37320422-9108-4f46-8df6-6928b4a6f6a5");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import cx from "classnames";
12
- import { a3 as Icon } from "./StoreProvider-BvP9cxL2.js";
12
+ import { a2 as Icon } from "./StoreProvider-CVp18VTs.js";
13
13
  const avatar = "adyen-kyc-avatar";
14
14
  const avatarLabel = "adyen-kyc-avatar-label";
15
15
  const avatarPrimary = "adyen-kyc-avatar-primary";
@@ -2,28 +2,28 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "411f17bb-382b-40f1-89ef-48e960206178", e._sentryDebugIdIdentifier = "sentry-dbid-411f17bb-382b-40f1-89ef-48e960206178");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "05fc27a1-0f86-4483-a7c1-dcd1253cbe79", e._sentryDebugIdIdentifier = "sentry-dbid-05fc27a1-0f86-4483-a7c1-dcd1253cbe79");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
- import { q as useApiContext, b5 as useMutation, b7 as httpPost, r as useQuery, dl as KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS, b as useI18nContext, c$ as MemoizedDocumentUpload, Z as Button, G as Typography, am as CountryCodes, P as CompanyTypesValue, bR as useGlobalData, dm as getForms, X as TaskTypes, dn as BasicInformation, by as getFormProps, dp as CompanyStructure, dq as AdditionalInformation, dr as MemoizedConstitutionalDocument, z as LegalEntityType, ds as FinancialInformation, b3 as entriesOf, b9 as businessDetailsComponentsKeyMapping, dt as solePropBusinessDetailsKeyMapping, aY as objectsDeepEqual, du as operationalAddressIsSameIds, dv as COUNTRIES_USING_COMPANY_SEARCH, dw as FIELDS_NEEDED_FOR_COMPANY_SEARCH, bB as keysOf, i as isUndefinedOrNull, aH as summaryItem, dx as solePropBusinessDetailsApiKeyMapping, d6 as businessDetailsApiKeyMapping, bz as isEmpty, dy as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, a_ as datasetUtilities, cn as mapAddressLabels, dz as companyTypeMetadata, an as isEmpty$1, aJ as createLogger, cm as filterOutUnwantedAssociationsIfRootLE, dA as documentFormsIds, ap as resolveFieldMetadata, dB as defaultFieldMetadata, dC as inferCompanyRegistrationNumberType, dD as getCompanyRegistrationNumberOptions, dE as defaultFieldConfig, c7 as defaultFieldMetadata$1, dF as countryToTaxInfoTypeMap, c8 as defaultFieldConfig$1, dG as getKeyForField, cr as drop, ak as getOwnEntityAssociations, cv as doArraysMatch, U as useAccountHolder, $ as useAnalyticsContext, a5 as useExperimentsContext, K as useSettingsContext, dH as verifiedBusiness, bb as useQueryClient, bG as useStateContext, M as SettingNames, dI as setIsBankAccountRequestedForOrganization, bW as getAssociatedLeAnalyticsPayload, a$ as getCapabilityProblems, dJ as rules, dK as useCompanyDataset, dL as useVerifyTin, dM as setVerifiedBusiness, dN as solePropBusinessDetailsDocumentMapping, dO as businessDetailsDocumentMapping } from "./StoreProvider-BvP9cxL2.js";
12
- import { useState, useEffect, useRef, useMemo, useCallback } from "preact/hooks";
13
- import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-BXh1hdqg.js";
14
- import { h as hasDataChanged } from "./hasDataChanged-HQ34LD7s.js";
15
- import { u as useToastContext } from "./useToastContext-SxQbUliB.js";
16
- import { a as augmentWithCountryConfigs, c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-C0gNZpp3.js";
17
- import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer, t as trackNavigation } from "./dropinUtils-ZxnWDnZL.js";
18
- import { i as isValidationError, p as processValidationErrors, d as isMaintenanceModeError, u as useScenarioConfiguration } from "./processValidationErrors-DtcBtOKr.js";
19
- import { C as Confirm } from "./Confirm-BHr6mMiG.js";
20
- import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-CbUeSAH9.js";
21
- import { F as FormWrapper } from "./FormWrapper-qqC_-UNQ.js";
22
- import { g as getDocument, c as createDocumentRequest, a as getFileExtention, d as documentApiUtils } from "./documentUtils-2X_myXDi.js";
23
- import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-D7k0q9nX.js";
11
+ import { p as useApiContext, b4 as useMutation, b6 as httpPost, q as useQuery, dq as KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS, b as useI18nContext, d5 as MemoizedDocumentUpload, Y as Button, C as Typography, al as CountryCodes, O as CompanyTypesValue, bR as useGlobalData, dr as getForms, W as TaskTypes, ds as BasicInformation, bx as getFormProps, dt as CompanyStructure, du as AdditionalInformation, dv as MemoizedConstitutionalDocument, y as LegalEntityType, dw as FinancialInformation, b2 as entriesOf, b8 as businessDetailsComponentsKeyMapping, dx as solePropBusinessDetailsKeyMapping, aX as objectsDeepEqual, dy as operationalAddressIsSameIds, dz as COUNTRIES_USING_COMPANY_SEARCH, dA as FIELDS_NEEDED_FOR_COMPANY_SEARCH, bA as keysOf, i as isUndefinedOrNull, aG as summaryItem, dB as solePropBusinessDetailsApiKeyMapping, dc as businessDetailsApiKeyMapping, by as isEmpty, dC as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, aZ as datasetUtilities, cp as mapAddressLabels, dD as companyTypeMetadata, am as isEmpty$1, aI as createLogger, co as filterOutUnwantedAssociationsIfRootLE, dE as documentFormsIds, ao as resolveFieldMetadata, dF as defaultFieldMetadata, dG as inferCompanyRegistrationNumberType, dH as getCompanyRegistrationNumberOptions, dI as defaultFieldConfig, c9 as defaultFieldMetadata$1, dJ as countryToTaxInfoTypeMap, ca as defaultFieldConfig$1, dK as getKeyForField, ct as drop, aj as getOwnEntityAssociations, cx as doArraysMatch, P as useAccountHolder, _ as useAnalyticsContext, a4 as useExperimentsContext, J as useSettingsContext, dL as verifiedBusiness, ba as useQueryClient, bF as useStateContext, K as SettingNames, dM as setIsBankAccountRequestedForOrganization, bW as getAssociatedLeAnalyticsPayload, a_ as getCapabilityProblems, dN as rules, dO as useCompanyDataset, dP as useVerifyTin, dQ as setVerifiedBusiness, dR as solePropBusinessDetailsDocumentMapping, dS as businessDetailsDocumentMapping } from "./StoreProvider-CVp18VTs.js";
12
+ import { useState, useEffect, useRef, useCallback, useMemo } from "preact/hooks";
13
+ import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-Bwb0-AxL.js";
14
+ import { h as hasDataChanged } from "./hasDataChanged-YBvRj2cb.js";
15
+ import { u as useToastContext } from "./useToastContext-DQY2RNSH.js";
16
+ import { a as augmentWithCountryConfigs, c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-Ct9RR_nO.js";
17
+ import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils--qLgxRzC.js";
18
+ import { i as isValidationError, p as processValidationErrors, d as isMaintenanceModeError, u as useScenarioConfiguration } from "./processValidationErrors-paTCkgix.js";
19
+ import { C as Confirm } from "./Confirm-C6u9f40H.js";
20
+ import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-D5KAO5Xj.js";
21
+ import { F as FormWrapper } from "./FormWrapper-v6p3OjH8.js";
22
+ import { g as getDocument, c as createDocumentRequest, a as getFileExtention, d as documentApiUtils } from "./documentUtils-BkxL-yDV.js";
23
+ import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-CUt8CT2O.js";
24
24
  import cx from "classnames";
25
- import { M as Modal, b as ModalContent } from "./Modal-TYAtBE9x.js";
26
- import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-yegBHG3w.js";
25
+ import { M as Modal, b as ModalContent } from "./Modal-DTnFAiyV.js";
26
+ import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-yQCZSzYr.js";
27
27
  import { m as mapExistingFile, g as getPageName } from "./mapExistingFile-BE74t9jV.js";
28
28
  import { f as formatObject, g as getProp } from "./utils-B1H_8b1P.js";
29
29
  import { f as formatCurrency } from "./formatCurrency-CMOSdJMB.js";
@@ -1567,7 +1567,7 @@ function BusinessDetailsDropin({
1567
1567
  onSubmit: onExternalSubmit,
1568
1568
  handleHomeClick
1569
1569
  }) {
1570
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q;
1570
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t;
1571
1571
  const formRef = useRef(null);
1572
1572
  const { accountHolder, setAccountHolder } = useAccountHolder();
1573
1573
  const { showToast } = useToastContext();
@@ -1586,36 +1586,23 @@ function BusinessDetailsDropin({
1586
1586
  }, [currentState, onChange]);
1587
1587
  const isSoleProp = accountHolder === "mySoleProprietorName";
1588
1588
  const formWith2Views = "basicInformation";
1589
- const isAssociationTaskType = useMemo(() => {
1590
- if (!taskType) {
1591
- return accountHolder !== "theCompanyIWorkFor";
1592
- }
1593
- return taskType !== TaskTypes.BUSINESS_DETAILS;
1594
- }, [accountHolder, taskType]);
1589
+ const isAssociationTaskType = !taskType ? accountHolder !== "theCompanyIWorkFor" : taskType !== TaskTypes.BUSINESS_DETAILS;
1595
1590
  const legalEntityType = !isSoleProp ? LegalEntityType.ORGANIZATION : LegalEntityType.SOLE_PROPRIETORSHIP;
1596
- const isManualTinVerificationEnabledAndUS = country === CountryCodes.UnitedStates;
1597
- const currentCountry = useMemo(
1598
- () => {
1599
- var _a2;
1600
- return ((_a2 = currentState.data.basicInformation) == null ? void 0 : _a2.country) ?? country;
1601
- },
1602
- [(_a = currentState.data.basicInformation) == null ? void 0 : _a.country, country]
1603
- );
1591
+ const isUS = country === CountryCodes.UnitedStates;
1592
+ const currentCountry = ((_a = currentState.data.basicInformation) == null ? void 0 : _a.country) ?? country;
1604
1593
  const isSkippingCompanyStructure = isSettingEnabled(SettingNames.AllowLegalEntityTypeChange) && organizationTypesToSkipCompanyStructureForm.includes(
1605
1594
  (_b = legalEntityResponse == null ? void 0 : legalEntityResponse.organization) == null ? void 0 : _b.type
1606
1595
  ) && accountHolder !== "aTrust" || isSoleProp;
1607
- useEffect(() => {
1608
- var _a2, _b2;
1609
- const isBankAccountRequested = (_b2 = (_a2 = legalEntityResponse == null ? void 0 : legalEntityResponse.capabilities) == null ? void 0 : _a2.issueBankAccount) == null ? void 0 : _b2.requested;
1596
+ const [prevLegalEntityResponse, setPrevLegalEntityResponse] = useState(legalEntityResponse);
1597
+ if (prevLegalEntityResponse !== legalEntityResponse) {
1598
+ const isBankAccountRequested = (_d = (_c = legalEntityResponse == null ? void 0 : legalEntityResponse.capabilities) == null ? void 0 : _c.issueBankAccount) == null ? void 0 : _d.requested;
1610
1599
  setIsBankAccountRequestedForOrganization(isBankAccountRequested);
1611
- }, [legalEntityResponse]);
1600
+ setPrevLegalEntityResponse(legalEntityResponse);
1601
+ }
1612
1602
  const subjectEntity = !isAssociationTaskType ? legalEntityResponse : isSoleProp ? associatedLegalArrangement : nestedLegalEntity;
1613
- const associatedLeTrackingParams = useMemo(
1614
- () => getAssociatedLeAnalyticsPayload({
1615
- associatedLegalEntity: associatedLegalArrangement
1616
- }),
1617
- [associatedLegalArrangement]
1618
- );
1603
+ const associatedLeTrackingParams = getAssociatedLeAnalyticsPayload({
1604
+ associatedLegalEntity: associatedLegalArrangement
1605
+ });
1619
1606
  useEffect(() => {
1620
1607
  userEvents.updateBaseTrackingPayload({ task: taskType });
1621
1608
  userEvents.addTaskEvent("Landed on page", {
@@ -1632,7 +1619,7 @@ function BusinessDetailsDropin({
1632
1619
  });
1633
1620
  const [trustedFields, setTrustedFields] = useState((subjectEntity == null ? void 0 : subjectEntity.trustedFields) ?? void 0);
1634
1621
  const [currentProblems, setCurrentProblems] = useState(
1635
- problems ?? ((_d = (_c = getCapabilityProblems(legalEntityResponse, currentCountry)) == null ? void 0 : _c.LegalEntity) == null ? void 0 : _d[legalEntityResponse.id])
1622
+ problems ?? ((_f = (_e = getCapabilityProblems(legalEntityResponse, currentCountry)) == null ? void 0 : _e.LegalEntity) == null ? void 0 : _f[legalEntityResponse.id])
1636
1623
  );
1637
1624
  const [showCompanyStructure, setShowCompanyStructure] = useState(
1638
1625
  currentCountry !== "US" && !isSoleProp
@@ -1745,10 +1732,10 @@ function BusinessDetailsDropin({
1745
1732
  }
1746
1733
  );
1747
1734
  const companySearchResults = companySearchResponse == null ? void 0 : companySearchResponse.results;
1748
- const businessName = ((_f = (_e = currentState == null ? void 0 : currentState.data) == null ? void 0 : _e.basicInformation) == null ? void 0 : _f.legalCompanyName) || "";
1749
- const nameMatch = isNormalizedStringMatch(businessName, ((_g = companySearchResults == null ? void 0 : companySearchResults[0]) == null ? void 0 : _g.name) ?? "");
1750
- const taxInformation = (_i = (_h = currentState == null ? void 0 : currentState.data) == null ? void 0 : _h.basicInformation) == null ? void 0 : _i.taxInformation;
1751
- const tin = ((_j = taxInformation == null ? void 0 : taxInformation.find((taxId) => currentCountry === taxId.country)) == null ? void 0 : _j.number) || "";
1735
+ const businessName = ((_h = (_g = currentState == null ? void 0 : currentState.data) == null ? void 0 : _g.basicInformation) == null ? void 0 : _h.legalCompanyName) || "";
1736
+ const nameMatch = isNormalizedStringMatch(businessName, ((_i = companySearchResults == null ? void 0 : companySearchResults[0]) == null ? void 0 : _i.name) ?? "");
1737
+ const taxInformation = (_k = (_j = currentState == null ? void 0 : currentState.data) == null ? void 0 : _j.basicInformation) == null ? void 0 : _k.taxInformation;
1738
+ const tin = ((_l = taxInformation == null ? void 0 : taxInformation.find((taxId) => currentCountry === taxId.country)) == null ? void 0 : _l.number) || "";
1752
1739
  const [prevCompanySearchResults, setPrevCompanySearchResults] = useState(companySearchResults);
1753
1740
  const { data: singleCompanyDatasetResponse, isLoading: fetchingDataset } = useCompanyDataset(
1754
1741
  singleCompanyDatasetParams,
@@ -1770,6 +1757,7 @@ function BusinessDetailsDropin({
1770
1757
  enabled: !!singleCompanyDatasetResponse && showBusinessSelection
1771
1758
  }
1772
1759
  );
1760
+ const [prevTinResponse, setPrevTinResponse] = useState(tinResponse == null ? void 0 : tinResponse.matched);
1773
1761
  const forms = useMemo(() => {
1774
1762
  const requiredForms = getRequiredForms(
1775
1763
  initialForms,
@@ -1879,7 +1867,7 @@ function BusinessDetailsDropin({
1879
1867
  const loading = fetchingDataset || verifyingTin || searchingCompanies || resettingTrustedData;
1880
1868
  const proceedToManualDataEntry = useCallback(async () => {
1881
1869
  await clearCompanyData2().then(async () => {
1882
- if (!isManualTinVerificationEnabledAndUS) {
1870
+ if (!isUS) {
1883
1871
  setShowCompanyStructure(true);
1884
1872
  return;
1885
1873
  }
@@ -1906,7 +1894,7 @@ function BusinessDetailsDropin({
1906
1894
  });
1907
1895
  }, [
1908
1896
  clearCompanyData2,
1909
- isManualTinVerificationEnabledAndUS,
1897
+ isUS,
1910
1898
  businessName,
1911
1899
  tin,
1912
1900
  fetchTin,
@@ -1914,36 +1902,31 @@ function BusinessDetailsDropin({
1914
1902
  subjectEntity == null ? void 0 : subjectEntity.type,
1915
1903
  userEvents
1916
1904
  ]);
1917
- if (prevCompanySearchResults !== companySearchResults) {
1905
+ if (prevCompanySearchResults !== companySearchResults || prevTinResponse !== (tinResponse == null ? void 0 : tinResponse.matched)) {
1918
1906
  if ((companySearchResults == null ? void 0 : companySearchResults.length) === 1 && nameMatch) {
1919
1907
  setSingleCompanyDatasetParams({
1920
1908
  company: companySearchResults[0],
1921
- state: (_k = currentState.data.basicInformation) == null ? void 0 : _k.stateOrProvince
1909
+ state: (_m = currentState.data.basicInformation) == null ? void 0 : _m.stateOrProvince
1922
1910
  });
1923
1911
  if ((tinResponse == null ? void 0 : tinResponse.matched) === true) {
1912
+ setVerifiedBusiness(singleCompanyDatasetResponse);
1924
1913
  handleNextClick();
1925
1914
  }
1926
- } else if ((companySearchResults == null ? void 0 : companySearchResults.length) === 0 && !searchingCompanies && showBusinessSelection || searchingError) {
1915
+ } else if ((companySearchResults == null ? void 0 : companySearchResults.length) === 0 && !searchingCompanies && showBusinessSelection) {
1927
1916
  proceedToManualDataEntry();
1928
1917
  }
1918
+ setPrevTinResponse(tinResponse == null ? void 0 : tinResponse.matched);
1929
1919
  setPrevCompanySearchResults(companySearchResults);
1930
1920
  }
1931
- const isBusinessSelection = useMemo(
1932
- () => showBusinessSelection && activeForm.formId === formWith2Views,
1933
- [activeForm.formId, showBusinessSelection]
1934
- );
1935
- const hideFooter = isBusinessSelection === true && loading;
1936
- const hideNextButton = useMemo(() => {
1937
- if (activeForm.formId === formWith2Views) return isBusinessSelection;
1938
- else return false;
1939
- }, [activeForm.formId, isBusinessSelection]);
1940
- const showBackButton = useMemo(() => {
1941
- if (!COUNTRIES_USING_COMPANY_SEARCH.includes(currentCountry)) return false;
1942
- if (isBusinessSelection) {
1943
- return loading;
1921
+ useEffect(() => {
1922
+ if (searchingError) {
1923
+ proceedToManualDataEntry();
1944
1924
  }
1945
- return false;
1946
- }, [currentCountry, isBusinessSelection, loading]);
1925
+ }, [searchingError]);
1926
+ const isBusinessSelection = showBusinessSelection && activeForm.formId === formWith2Views;
1927
+ const hideFooter = isBusinessSelection === true && loading;
1928
+ const hideNextButton = activeForm.formId === formWith2Views ? isBusinessSelection : false;
1929
+ const showBackButton = !COUNTRIES_USING_COMPANY_SEARCH.includes(currentCountry) ? false : isBusinessSelection ? loading : false;
1947
1930
  const goToForm = useCallback(
1948
1931
  (index) => {
1949
1932
  if (!COUNTRIES_USING_COMPANY_SEARCH.includes(currentCountry)) {
@@ -1975,23 +1958,15 @@ function BusinessDetailsDropin({
1975
1958
  ]
1976
1959
  );
1977
1960
  const nextClick = useCallback(() => {
1978
- var _a2, _b2, _c2, _d2, _e2, _f2, _g2;
1961
+ var _a2, _b2, _c2, _d2, _e2, _f2;
1979
1962
  if (!COUNTRIES_USING_COMPANY_SEARCH.includes(currentCountry) || isSoleProp)
1980
1963
  return handleNextClick();
1981
- const toFormName = (_a2 = forms[forms.findIndex((form) => form.formId === activeForm.formId) + 1]) == null ? void 0 : _a2.formName;
1982
- if (activeForm.formId === formWith2Views && ((_b2 = currentState.validityByForm) == null ? void 0 : _b2.basicInformation) && !isBusinessSelection && !verifiedBusiness$1) {
1983
- trackNavigation({
1984
- userEvents,
1985
- actionType: "next",
1986
- toForm: toFormName || "home",
1987
- label: "next",
1988
- returnValue: "success"
1989
- });
1964
+ if (activeForm.formId === formWith2Views && ((_a2 = currentState.validityByForm) == null ? void 0 : _a2.basicInformation) && !isBusinessSelection && !verifiedBusiness$1) {
1990
1965
  setCompanySearchParams({
1991
- legalCompanyName: ((_d2 = (_c2 = currentState == null ? void 0 : currentState.data) == null ? void 0 : _c2.basicInformation) == null ? void 0 : _d2.legalCompanyName) ?? "",
1992
- country: ((_e2 = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _e2.country) ?? country,
1993
- stateOrProvince: (_f2 = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _f2.stateOrProvince,
1994
- registrationNumber: (_g2 = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _g2.registrationNumber
1966
+ legalCompanyName: ((_c2 = (_b2 = currentState == null ? void 0 : currentState.data) == null ? void 0 : _b2.basicInformation) == null ? void 0 : _c2.legalCompanyName) ?? "",
1967
+ country: ((_d2 = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _d2.country) ?? country,
1968
+ stateOrProvince: (_e2 = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _e2.stateOrProvince,
1969
+ registrationNumber: (_f2 = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _f2.registrationNumber
1995
1970
  });
1996
1971
  setShowBusinessSelection(true);
1997
1972
  } else {
@@ -2001,16 +1976,14 @@ function BusinessDetailsDropin({
2001
1976
  currentCountry,
2002
1977
  isSoleProp,
2003
1978
  handleNextClick,
2004
- forms,
2005
1979
  activeForm.formId,
2006
- (_l = currentState.validityByForm) == null ? void 0 : _l.basicInformation,
2007
- (_m = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _m.legalCompanyName,
2008
- (_n = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _n.country,
2009
- (_o = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _o.stateOrProvince,
2010
- (_p = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _p.registrationNumber,
1980
+ (_n = currentState.validityByForm) == null ? void 0 : _n.basicInformation,
1981
+ (_o = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _o.legalCompanyName,
1982
+ (_p = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _p.country,
1983
+ (_q = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _q.stateOrProvince,
1984
+ (_r = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _r.registrationNumber,
2011
1985
  isBusinessSelection,
2012
1986
  verifiedBusiness$1,
2013
- userEvents,
2014
1987
  country
2015
1988
  ]);
2016
1989
  const backClick = useCallback(() => {
@@ -2018,12 +1991,6 @@ function BusinessDetailsDropin({
2018
1991
  else {
2019
1992
  switch (activeForm.formId) {
2020
1993
  case formWith2Views: {
2021
- trackNavigation({
2022
- userEvents,
2023
- actionType: "back",
2024
- toForm: "basicDetails",
2025
- label: "back"
2026
- });
2027
1994
  if (showBusinessSelection) setShowBusinessSelection(false);
2028
1995
  break;
2029
1996
  }
@@ -2054,7 +2021,6 @@ function BusinessDetailsDropin({
2054
2021
  currentCountry,
2055
2022
  handleBackClick,
2056
2023
  activeForm.formId,
2057
- userEvents,
2058
2024
  showBusinessSelection,
2059
2025
  searchingError,
2060
2026
  searchingCompanies,
@@ -2062,35 +2028,17 @@ function BusinessDetailsDropin({
2062
2028
  verifiedBusiness$1
2063
2029
  ]);
2064
2030
  const homeClick = () => {
2065
- trackNavigation({
2066
- userEvents,
2067
- actionType: "save",
2068
- toForm: "home",
2069
- label: "home"
2070
- });
2071
2031
  handleHomeClick == null ? void 0 : handleHomeClick();
2072
2032
  };
2073
2033
  const handleBusinessMismatchContinue = useCallback(() => {
2074
2034
  setShowCompanyStructure(true);
2075
2035
  setTrustedFields([]);
2076
2036
  setBusinessMismatchModalOpen(false);
2077
- trackNavigation({
2078
- userEvents,
2079
- actionType: "next",
2080
- toForm: "additionalInformationFormName",
2081
- label: "TIN Continue Anyways"
2082
- });
2083
2037
  }, [setShowCompanyStructure, setTrustedFields, setBusinessMismatchModalOpen]);
2084
2038
  const handleBusinessMismatchCancel = useCallback(() => {
2085
2039
  backClick == null ? void 0 : backClick();
2086
2040
  setBusinessMismatchModalOpen(false);
2087
2041
  setTinMatched(void 0);
2088
- trackNavigation({
2089
- userEvents,
2090
- actionType: "back",
2091
- toForm: "basicDetails",
2092
- label: "TIN Edit Details"
2093
- });
2094
2042
  }, [backClick, setTinMatched, setBusinessMismatchModalOpen]);
2095
2043
  const resetBusinessData = useCallback(() => {
2096
2044
  queryClient.resetQueries({
@@ -2121,16 +2069,15 @@ function BusinessDetailsDropin({
2121
2069
  }, [
2122
2070
  companySearchParams,
2123
2071
  currentState.data.basicInformation,
2124
- (_q = currentState.data.basicInformation) == null ? void 0 : _q.legalCompanyName,
2072
+ (_s = currentState.data.basicInformation) == null ? void 0 : _s.legalCompanyName,
2125
2073
  resetBusinessData,
2126
2074
  verifiedBusiness$1
2127
2075
  ]);
2128
- useEffect(() => {
2129
- var _a2;
2130
- if ((trustedFields == null ? void 0 : trustedFields.length) && ((_a2 = legalEntityResponse.organization) == null ? void 0 : _a2.registeredAddress.country) !== currentCountry) {
2131
- setTrustedFields(void 0);
2132
- }
2133
- }, [currentCountry]);
2076
+ const [prevCurrentCountry, setPrevCurrentCountry] = useState(currentCountry);
2077
+ if (prevCurrentCountry !== currentCountry && (trustedFields == null ? void 0 : trustedFields.length) && ((_t = legalEntityResponse.organization) == null ? void 0 : _t.registeredAddress.country) !== currentCountry) {
2078
+ setTrustedFields(void 0);
2079
+ setPrevCurrentCountry(currentCountry);
2080
+ }
2134
2081
  return /* @__PURE__ */ jsxs(
2135
2082
  FormWrapper,
2136
2083
  {
@@ -9,8 +9,8 @@
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import { useMemo } from "preact/hooks";
12
- import { a as useLegalEntity, g as getLegalEntityCountry, L as Loader } from "./StoreProvider-BvP9cxL2.js";
13
- import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-CXRE15GX.js";
12
+ import { a as useLegalEntity, g as getLegalEntityCountry, L as Loader } from "./StoreProvider-CVp18VTs.js";
13
+ import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-C7mlGddn.js";
14
14
  function BusinessFinancingComponent({
15
15
  legalEntityId,
16
16
  onSubmitSuccess
@@ -2,27 +2,27 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "934bfa8f-3825-4f4c-9e55-66df91e68842", e._sentryDebugIdIdentifier = "sentry-dbid-934bfa8f-3825-4f4c-9e55-66df91e68842");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "cb44bad6-6541-472b-b57f-509de371eb0c", e._sentryDebugIdIdentifier = "sentry-dbid-cb44bad6-6541-472b-b57f-509de371eb0c");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
11
  import { useMemo, useEffect, useCallback, useState, useRef } from "preact/hooks";
12
- import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-BXh1hdqg.js";
13
- import { bJ as reverseMapping, z as LegalEntityType, b1 as cloneObject, an as isEmpty, q as useApiContext, r as useQuery, t as httpGet, b as useI18nContext, ax as Field, bw as Select, G as Typography, aT as RadioGroup, bK as Link, bg as InputText, b2 as currencyByCountry, bL as InputNumber, bM as InputDate, bN as Currency, bO as CURRENCY_FIELD, bP as InputCurrency, as as useForm, bQ as useGlobalDataSlice, av as ErrorPanel, aw as createFormUtils, bR as useGlobalData, bS as getAddressSchemaForCountry, bT as COUNTRIES_WITH_STATES_DATASET, bU as Address, bV as getAddressSchemaLabelsByCountry, $ as useAnalyticsContext, b4 as useInvalidateRootLegalEntity, al as useAssociatedLegalEntity, a_ as datasetUtilities, bG as useStateContext, K as useSettingsContext, M as SettingNames, bW as getAssociatedLeAnalyticsPayload, by as getFormProps, L as Loader, a3 as Icon, Z as Button } from "./StoreProvider-BvP9cxL2.js";
14
- import { h as hasDataChanged } from "./hasDataChanged-HQ34LD7s.js";
15
- import { u as useToastContext } from "./useToastContext-SxQbUliB.js";
16
- import { u as useScenarioConfiguration, i as isValidationError, p as processValidationErrors, d as isMaintenanceModeError } from "./processValidationErrors-DtcBtOKr.js";
17
- import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-C0gNZpp3.js";
18
- import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer, t as trackNavigation } from "./dropinUtils-ZxnWDnZL.js";
19
- import { F as FormEndState } from "./FormEndState-Ba2NHk5y.js";
20
- import { F as FormWrapper } from "./FormWrapper-qqC_-UNQ.js";
21
- import { l as localizeDateString } from "./localizeDateString-HsIetwBG.js";
12
+ import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-Bwb0-AxL.js";
13
+ import { bI as reverseMapping, bJ as isEeaCountry, y as LegalEntityType, b0 as cloneObject, am as isEmpty, p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, aw as Field, bv as Select, C as Typography, aS as RadioGroup, bK as Link, bf as InputText, b1 as currencyByCountry, bL as InputNumber, bM as InputDate, bN as Currency, bO as CURRENCY_FIELD, bP as InputCurrency, ar as useForm, bQ as useGlobalDataSlice, au as ErrorPanel, av as createFormUtils, bR as useGlobalData, bS as getAddressSchemaForCountry, bT as COUNTRIES_WITH_STATES_DATASET, bU as Address, bV as getAddressSchemaLabelsByCountry, _ as useAnalyticsContext, b3 as useInvalidateRootLegalEntity, ak as useAssociatedLegalEntity, aZ as datasetUtilities, bF as useStateContext, J as useSettingsContext, K as SettingNames, bW as getAssociatedLeAnalyticsPayload, bx as getFormProps, L as Loader, a2 as Icon, Y as Button } from "./StoreProvider-CVp18VTs.js";
14
+ import { h as hasDataChanged } from "./hasDataChanged-YBvRj2cb.js";
15
+ import { u as useToastContext } from "./useToastContext-DQY2RNSH.js";
16
+ import { u as useScenarioConfiguration, i as isValidationError, p as processValidationErrors, d as isMaintenanceModeError } from "./processValidationErrors-paTCkgix.js";
17
+ import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-Ct9RR_nO.js";
18
+ import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer, t as trackNavigation } from "./dropinUtils--qLgxRzC.js";
19
+ import { F as FormEndState } from "./FormEndState-CxdNlAIB.js";
20
+ import { F as FormWrapper } from "./FormWrapper-v6p3OjH8.js";
21
+ import { l as localizeDateString } from "./localizeDateString-BTXiPsls.js";
22
22
  import { f as formatObject, g as getProp } from "./utils-B1H_8b1P.js";
23
- import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-yegBHG3w.js";
24
- import { i as isEeaCountry, f as fieldsPerScenario } from "./individualFormConfig-C4JOvJeg.js";
25
- import { b as businessFinancingCompanyDetailsValidations, a as businessFinancingParentCompanyDetailsValidations } from "./validate-CT_n11je.js";
23
+ import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-yQCZSzYr.js";
24
+ import { f as fieldsPerScenario } from "./individualFormConfig-C-Rfyf2w.js";
25
+ import { b as businessFinancingCompanyDetailsValidations, a as businessFinancingParentCompanyDetailsValidations } from "./validate-CM_xe4At.js";
26
26
  const MANDATORY_FIELDS_BUSINESS_FINANCING = [
27
27
  "company.numberOfEmployees",
28
28
  "parentCompany.numberOfEmployees",
@@ -8,8 +8,8 @@
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
- import { b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, g as getLegalEntityCountry } from "./StoreProvider-BvP9cxL2.js";
12
- import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-CXRE15GX.js";
11
+ import { b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, g as getLegalEntityCountry } from "./StoreProvider-CVp18VTs.js";
12
+ import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-C7mlGddn.js";
13
13
  const BusinessFinancingPage = ({
14
14
  onSubmit,
15
15
  handleHomeClick
@@ -2,18 +2,18 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8855b317-a877-4fa3-9f80-da1ce7e9af85", e._sentryDebugIdIdentifier = "sentry-dbid-8855b317-a877-4fa3-9f80-da1ce7e9af85");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e8f92b0e-1381-4e84-a4a6-3570b4a72d40", e._sentryDebugIdIdentifier = "sentry-dbid-e8f92b0e-1381-4e84-a4a6-3570b4a72d40");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
- import { b as useI18nContext, $ as useAnalyticsContext, a5 as useExperimentsContext, U as useAccountHolder, bl as getCapabilities, g as getLegalEntityCountry, z as LegalEntityType, as as useForm, a2 as LoaderWrapper, G as Typography, ax as Field, bm as EntityTypeRadioGroupCard, aA as RadioGroupCard, Z as Button, a3 as Icon, J as hasSolePropInLegalEntity, a as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-BvP9cxL2.js";
11
+ import { b as useI18nContext, _ as useAnalyticsContext, a4 as useExperimentsContext, P as useAccountHolder, bk as getCapabilities, g as getLegalEntityCountry, y as LegalEntityType, ar as useForm, a1 as LoaderWrapper, C as Typography, aw as Field, bl as EntityTypeRadioGroupCard, az as RadioGroupCard, Y as Button, a2 as Icon, H as hasSolePropInLegalEntity, a as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-CVp18VTs.js";
12
12
  import { useState, useEffect } from "preact/hooks";
13
- import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-BXh1hdqg.js";
13
+ import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-Bwb0-AxL.js";
14
14
  import { S as Spacer } from "./Spacer-BK3jDget.js";
15
- import { u as useToastContext } from "./useToastContext-SxQbUliB.js";
16
- import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-CbUeSAH9.js";
15
+ import { u as useToastContext } from "./useToastContext-DQY2RNSH.js";
16
+ import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-D5KAO5Xj.js";
17
17
  const businessTypeExamples = /* @__PURE__ */ Object.assign({ "../localized/legalEntityTypeExamples/AT.json": () => import("./AT-EpV7jN58.js"), "../localized/legalEntityTypeExamples/AU.json": () => import("./AU-pBsEvEUy.js"), "../localized/legalEntityTypeExamples/BE.json": () => import("./BE-CU5o9cmc.js"), "../localized/legalEntityTypeExamples/BR.json": () => import("./BR-ORoHRwTk.js"), "../localized/legalEntityTypeExamples/CA.json": () => import("./CA-VXNq-m6m.js"), "../localized/legalEntityTypeExamples/CH.json": () => import("./CH-B_-afpD_.js"), "../localized/legalEntityTypeExamples/CZ.json": () => import("./CZ-CTw_bQIu.js"), "../localized/legalEntityTypeExamples/DE.json": () => import("./DE-D_jIDxOH.js"), "../localized/legalEntityTypeExamples/DK.json": () => import("./DK-dBzrfgpQ.js"), "../localized/legalEntityTypeExamples/ES.json": () => import("./ES-DYbZmFcJ.js"), "../localized/legalEntityTypeExamples/FI.json": () => import("./FI-C9nRvop7.js"), "../localized/legalEntityTypeExamples/FR.json": () => import("./FR-BycGQO4W.js"), "../localized/legalEntityTypeExamples/GB.json": () => import("./GB-DFyzo5sN.js"), "../localized/legalEntityTypeExamples/HK.json": () => import("./HK-WqZ5UBEF.js"), "../localized/legalEntityTypeExamples/HR.json": () => import("./HR-CRa19tH1.js"), "../localized/legalEntityTypeExamples/HU.json": () => import("./HU-D5NCweWf.js"), "../localized/legalEntityTypeExamples/IE.json": () => import("./IE-rhATS57q.js"), "../localized/legalEntityTypeExamples/IT.json": () => import("./IT-wD7dHdYD.js"), "../localized/legalEntityTypeExamples/LT.json": () => import("./LT-0F72uCyI.js"), "../localized/legalEntityTypeExamples/NL.json": () => import("./NL-q2U2l276.js"), "../localized/legalEntityTypeExamples/NO.json": () => import("./NO-CX12Zsf_.js"), "../localized/legalEntityTypeExamples/PL.json": () => import("./PL-CwCXF3Yu.js"), "../localized/legalEntityTypeExamples/PT.json": () => import("./PT-Dei5v1nD.js"), "../localized/legalEntityTypeExamples/RO.json": () => import("./RO-Dxk08mOu.js"), "../localized/legalEntityTypeExamples/SE.json": () => import("./SE-AP3gLiyy.js"), "../localized/legalEntityTypeExamples/SG.json": () => import("./SG-DMcOb17i.js"), "../localized/legalEntityTypeExamples/SI.json": () => import("./SI-BXe-yndm.js"), "../localized/legalEntityTypeExamples/SK.json": () => import("./SK-DwdgoGnD.js"), "../localized/legalEntityTypeExamples/US.json": () => import("./US-DHxLSqeC.js") });
18
18
  const getBusinessTypeExamplesForCountry = async (country) => {
19
19
  const importForCountry = businessTypeExamples[`../localized/legalEntityTypeExamples/${country}.json`];
@@ -2,15 +2,15 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "55d441d5-7313-4972-b42f-b7ce7e093170", e._sentryDebugIdIdentifier = "sentry-dbid-55d441d5-7313-4972-b42f-b7ce7e093170");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "345c3601-05be-4ae6-a535-c9cad6b74cf7", e._sentryDebugIdIdentifier = "sentry-dbid-345c3601-05be-4ae6-a535-c9cad6b74cf7");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
11
  import { useState } from "preact/hooks";
12
- import { b as useI18nContext, G as Typography, Z as Button } from "./StoreProvider-BvP9cxL2.js";
13
- import { M as Modal } from "./Modal-TYAtBE9x.js";
12
+ import { b as useI18nContext, C as Typography, Y as Button } from "./StoreProvider-CVp18VTs.js";
13
+ import { M as Modal } from "./Modal-DTnFAiyV.js";
14
14
  const confirm = "adyen-kyc-confirm";
15
15
  const confirmMessage = "adyen-kyc-confirm-message";
16
16
  const confirmActions = "adyen-kyc-confirm-actions";
@@ -2,13 +2,13 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "644af9bf-f8d4-48f7-afc6-31048c665eb9", e._sentryDebugIdIdentifier = "sentry-dbid-644af9bf-f8d4-48f7-afc6-31048c665eb9");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e12db31c-8aad-4844-8139-a4511ccd44da", e._sentryDebugIdIdentifier = "sentry-dbid-e12db31c-8aad-4844-8139-a4511ccd44da");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
- import { a3 as Icon } from "./StoreProvider-BvP9cxL2.js";
11
+ import { a2 as Icon } from "./StoreProvider-CVp18VTs.js";
12
12
  import cx from "classnames";
13
13
  import { useRef, useState, useEffect } from "preact/hooks";
14
14
  const outlinedIcon = "adyen-kyc-outlined-icon";
@@ -2,15 +2,15 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f06728fc-c011-40bd-958d-89b6cf09d77f", e._sentryDebugIdIdentifier = "sentry-dbid-f06728fc-c011-40bd-958d-89b6cf09d77f");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ec60edf7-4f66-4a65-a071-91224cd8a0ed", e._sentryDebugIdIdentifier = "sentry-dbid-ec60edf7-4f66-4a65-a071-91224cd8a0ed");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
- import { a as useLegalEntity, a5 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, V as EntityType, X as TaskTypes } from "./StoreProvider-BvP9cxL2.js";
12
- import { u as useCapabilityProblems, g as getProblemsForEntity } from "./ProviderButton-AD6AyoHf.js";
13
- import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-IrOHNmTf.js";
11
+ import { a as useLegalEntity, a4 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, U as EntityType, W as TaskTypes } from "./StoreProvider-CVp18VTs.js";
12
+ import { u as useCapabilityProblems, g as getProblemsForEntity } from "./ProviderButton-C6WkTlc_.js";
13
+ import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-C0vQPpj9.js";
14
14
  const CreateIndividualComponent = ({
15
15
  legalEntityId,
16
16
  onSubmitSuccess,