@adyen/kyc-components 4.25.0 → 4.26.0-beta.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 (450) hide show
  1. package/dist/{4-people-DKuivE0m.js → 4-people-CAxQpi_3.js} +2 -2
  2. package/dist/{AcceptTermsOfServiceWorkflow-BKWCrZdZ.js → AcceptTermsOfServiceWorkflow-eOcHITwQ.js} +4 -4
  3. package/dist/{Accordion-D_DOaWj2.js → Accordion-BAdwrgCR.js} +4 -24
  4. package/dist/{AccountSetupRejected-BtcxtVKO.js → AccountSetupRejected-Jii0yaLC.js} +3 -4
  5. package/dist/{NodeRenderer-Z10yF5MV.js → AdaptiveWorkflow-B6SIOcbU.js} +87 -34
  6. package/dist/{AdaptiveWorkflowComponent-C4Q6NVtv.js → AdaptiveWorkflowComponent-we5_UgiI.js} +32 -33
  7. package/dist/{AddressFields-CFG2_P0x.js → AddressFields-Qq_8lUYz.js} +21 -27
  8. package/dist/{Avatar-k5lNd5KG.js → Avatar-C2zeqSSB.js} +10 -8
  9. package/dist/{BusinessFinancingDropin-BjTnxk__.js → BusinessFinancingDropin-gMa--znJ.js} +61 -71
  10. package/dist/{BusinessFinancingPage-C4dAslMp.js → BusinessFinancingPage-BIdRvI7h.js} +7 -7
  11. package/dist/{BusinessRegistrationNumberField-Dz1uGvRQ.js → BusinessRegistrationNumberField-Vr3KBWJD.js} +7 -8
  12. package/dist/{BusinessRegistrationNumberFieldGroup-BFPrFa1_.js → BusinessRegistrationNumberFieldGroup-DLGAFcRN.js} +7 -8
  13. package/dist/{BusinessTypeSelectionPage-DeWD37jR.js → BusinessTypeSelectionPage-9B2SxGcV.js} +16 -17
  14. package/dist/{Button-BxdC8cVB.js → Button-Dwr6jvJZ.js} +2 -2
  15. package/dist/Checkbox-zAGhz7rC.js +114 -0
  16. package/dist/{ComponentGroup-S6c3rVoX.js → ComponentGroup-DH_CH6bM.js} +4 -4
  17. package/dist/{ConstitutionalDocument-CNNhKkzD.js → ConstitutionalDocument-DMNlJJzp.js} +25 -28
  18. package/dist/{ContactDetails-_HCOKj3-.js → ContactDetails-kwe-LwUD.js} +8 -13
  19. package/dist/{ContextGuidance-v-d9RQuo.js → ContextGuidance-1tQjHxTm.js} +3 -3
  20. package/dist/CountryField-BkNURmjP.js +56 -0
  21. package/dist/{Currency-3Z9i_AhY.js → Currency-BjBbhCzV.js} +10 -12
  22. package/dist/{CustomerSupport-B0UJHtAq.js → CustomerSupport-CT4s3fyC.js} +17 -17
  23. package/dist/DateField-CJeu0KoS.js +73 -0
  24. package/dist/{DebugModal-DgbagO5Z.js → DebugModal-YjFFNeOM.js} +12 -17
  25. package/dist/{DecisionMakerDetails-RF9BoMYF.js → DecisionMakerDetails-B4aCl2kl.js} +21 -24
  26. package/dist/{DecisionMakerDetailsPage-CGOs2Ubt.js → DecisionMakerDetailsPage-Dg_RbdxY.js} +43 -40
  27. package/dist/{DecisionMakers-qRoXooYA.js → DecisionMakers-Cq3yVb54.js} +55 -61
  28. package/dist/{DetailViewLayout-DNCGEd7b.js → DetailViewLayout-DJgAzdlZ.js} +8 -6
  29. package/dist/{Dropzone-cewfCgXt.js → Dropzone-Cgqct7ux.js} +8 -8
  30. package/dist/EmailField-CVwmsS5d.js +61 -0
  31. package/dist/{EmbeddedStatus-Keg7UojY.js → EmbeddedStatus-4YjyzkcD.js} +4 -4
  32. package/dist/{EndStateLayout-GHEYl82p.js → EndStateLayout-C5Pqler-.js} +3 -3
  33. package/dist/{EntityAssociation-BPtrqdQR.js → EntityAssociation-DzNk5XbC.js} +7 -7
  34. package/dist/{ErrorPanel-PefRq1M4.js → ErrorPanel-DtbpEeJk.js} +24 -19
  35. package/dist/{GlobalEntryModal-CTGSdkW7.js → GlobalEntryModal-D9rqts-z.js} +203 -78
  36. package/dist/{GlobalEntryPage-CdGXV-QZ.js → GlobalEntryPage-OTglAvMX.js} +10 -10
  37. package/dist/Icon-_YUEZg1p.js +175 -0
  38. package/dist/{IdentityNumber-Cz6-4YcM.js → IdentityNumber-9SwAYweE.js} +10 -12
  39. package/dist/{IdentityNumberFieldGroup-D2PV_4A5.js → IdentityNumberFieldGroup-B9SxTHei.js} +16 -14
  40. package/dist/{IdentityScreeningWorkflow-mbcaIctn.js → IdentityScreeningWorkflow-C-nLWlJS.js} +16 -16
  41. package/dist/{Image-Bn_Yyuof.js → Image-CxnjHtP1.js} +1 -1
  42. package/dist/{IndividualDropin-D1UOavsw.js → IndividualDropin-BpFRq3S4.js} +266 -281
  43. package/dist/{IndustryCodeFieldGroup-DmOqxPIg.js → IndustryCodeFieldGroup-CEWUFYmK.js} +9 -10
  44. package/dist/{InputDate-B0RNGCq2.js → InputDate-DjUm9FiK.js} +6 -29
  45. package/dist/InputDate.utils-D4Ov0KIl.js +25 -0
  46. package/dist/{InputGroup-B4U3QVEp.js → InputGroup-Bv005B22.js} +7 -6
  47. package/dist/{InputText-CwPK55J0.js → InputText-DtoBABE5.js} +42 -4
  48. package/dist/{Introduction-DFW6EaLG.js → Introduction-GW5FJSTJ.js} +9 -9
  49. package/dist/{InvitedDecisionMakerComponent-hdQc0T7D.js → InvitedDecisionMakerComponent-tahktJVa.js} +45 -45
  50. package/dist/{JpAddressFields-CzGnXBMk.js → JpAddressFields-CpRh_gFz.js} +13 -13
  51. package/dist/{LegalCompanyNameField-CV2EgRCw.js → LegalCompanyNameField-Coff77lN.js} +5 -5
  52. package/dist/{LegalRepresentativeDetailsPage-BiAfoErR.js → LegalRepresentativeDetailsPage-CXMGtJvO.js} +35 -34
  53. package/dist/{Link-C3dYYTm_.js → Link-D0Yqc2r0.js} +7 -6
  54. package/dist/{List-ywoRPg-q.js → List-qvNxW9lm.js} +3 -2
  55. package/dist/{ListItem-CHGVbHhB.js → ListItem-DY-qq1lS.js} +29 -4
  56. package/dist/{Loader-BVtlpTeo.js → Loader-BDaKGf77.js} +1 -1
  57. package/dist/{Modal-Dq44ZUNN.js → Modal-Dx_NESnV.js} +25 -5
  58. package/dist/{Name-BfQr3et_.js → Name-CrLaukRh.js} +5 -5
  59. package/dist/NumberField-CS93IGoS.js +60 -0
  60. package/dist/{PatriotActDisclosure-BNAsJXEL.js → PatriotActDisclosure-C3jKKi6y.js} +11 -12
  61. package/dist/{PayoutDetailsDropin-NyizAaYy.js → PayoutDetailsDropin-BxOJ9P17.js} +163 -158
  62. package/dist/{PayoutDetailsPage-NM0Eqf4K.js → PayoutDetailsPage-BxaCk685.js} +10 -9
  63. package/dist/{Review-CzgmjDcZ.js → Review-C81Qsrkg.js} +25 -24
  64. package/dist/{RootBusinessDetailsPage-B1a0hu8F.js → RootBusinessDetailsPage-CwRyRbEv.js} +9 -7
  65. package/dist/{RootBusinessLinesPage-Dv1uT7OS.js → RootBusinessLinesPage-C3GZQ-KO.js} +48 -53
  66. package/dist/{RootIndividualDetailsPage-vkjzmyF7.js → RootIndividualDetailsPage-CvVVlkJI.js} +42 -39
  67. package/dist/{Select-prMx73V9.js → Select-AiAom5JL.js} +330 -19
  68. package/dist/{SignPCIComponent-CIkdVNH2.js → SignPCIComponent-Dmr9dDYB.js} +19 -23
  69. package/dist/{SingpassSelection-B6NONcr4.js → SingpassSelection-BXHvwmgp.js} +7 -7
  70. package/dist/Skeleton-7xDqhYr-.js +30 -0
  71. package/dist/{SoleProprietorshipPage-BmNs557C.js → SoleProprietorshipPage-DKL4anrn.js} +7 -7
  72. package/dist/{SourceOfFundsPage-B5nZ3MjN.js → SourceOfFundsPage-2dxP6dlL.js} +46 -58
  73. package/dist/{SourceOfFundsWorkflow-IkLZG9JI.js → SourceOfFundsWorkflow-Didn1fld.js} +4 -4
  74. package/dist/{StackLayout-IUdNMDgW.js → StackLayout-J1ynSX-P.js} +6 -5
  75. package/dist/{utils-lIizXlcC.js → StateField-BoIVEnaZ.js} +89 -3
  76. package/dist/{Step-BJh4XZae.js → Step-CiwqdcuY.js} +19 -13
  77. package/dist/SummarySection-B6A_AT1m.js +60 -0
  78. package/dist/{Task-yQcY16x1.js → Task-CJDcviJ6.js} +8 -8
  79. package/dist/{TaskGroup-C9iFHpux.js → TaskGroup-BXkrbyTG.js} +5 -5
  80. package/dist/{TaskListItem-ChlmCIfF.js → TaskListItem-CQXvVRWG.js} +11 -11
  81. package/dist/{TaskStepperContextProvider-I7talGDO.js → TaskStepperContextProvider-9wlnwii7.js} +1 -1
  82. package/dist/{TaskVerificationStatus-Bd5Eftf2.js → TaskVerificationStatus-zoxTZ2mt.js} +3 -3
  83. package/dist/{TaxInformationFieldGroup-Dq0J9rBU.js → TaxInformationFieldGroup-CnaGMge9.js} +19 -18
  84. package/dist/{TaxReportingDropin-Cq3gBWtp.js → TaxReportingDropin-F4e4CxiC.js} +22 -26
  85. package/dist/{TaxReportingWorkflow-flQPRAPy.js → TaxReportingWorkflow-Caa_klQR.js} +4 -4
  86. package/dist/{TermsOfServiceManagement-BM5K4cpw.js → TermsOfServiceManagement-5x2f0QgC.js} +21 -30
  87. package/dist/{TextArea-C12oXMzX.js → TextArea-eJQFkYyd.js} +5 -5
  88. package/dist/TextField-Ca7rT4tr.js +73 -0
  89. package/dist/{TrustDetailsPage-z7s9FxVC.js → TrustDetailsPage-D3RkKlpJ.js} +59 -67
  90. package/dist/{TrustMemberCompanyPage-tU2HTiDG.js → TrustMemberCompanyPage-BvBxQg7D.js} +8 -8
  91. package/dist/{TrustMemberIndividualPage-BLBtnoSq.js → TrustMemberIndividualPage-D4idWK8j.js} +35 -34
  92. package/dist/{TrustMemberRoleAndTypePage-DIwrtOWr.js → TrustMemberRoleAndTypePage-CyKm_knd.js} +23 -30
  93. package/dist/{TrustMembersOverview-CowTgfIb.js → TrustMembersOverview-BnP0wZSf.js} +18 -22
  94. package/dist/{UboTaskItem-CZLDzQil.js → UboTaskItem-Degn5OyC.js} +8 -8
  95. package/dist/{UnincorporatedPartnershipIndividualPage-BT0j54-O.js → UnincorporatedPartnershipIndividualPage-Bgb4oCRJ.js} +35 -34
  96. package/dist/{UnincorporatedPartnershipMemberCompanyPage-DFOoV0wQ.js → UnincorporatedPartnershipMemberCompanyPage-T6SOH3Mv.js} +8 -8
  97. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-D973uyHj.js → UnincorporatedPartnershipMemberRoleAndTypePage-BVfav_Z_.js} +14 -16
  98. package/dist/{UnincorporatedPartnershipMembersOverview-5w1BrDMI.js → UnincorporatedPartnershipMembersOverview-DPW48_Lv.js} +11 -14
  99. package/dist/VerificationErrorAlert-q1SEqBXx.js +68 -0
  100. package/dist/WebsiteField-CnOU49Hn.js +62 -0
  101. package/dist/{Workflow-CF-HUIjR.js → Workflow-D298oRt0.js} +9 -9
  102. package/dist/{accountHolderUtils-CAu4V0ed.js → accountHolderUtils-CLuKAgaj.js} +3 -3
  103. package/dist/adyen-business-financing.js +8 -9
  104. package/dist/adyen-individual-configuration.js +36 -36
  105. package/dist/adyen-individual-status.js +8 -9
  106. package/dist/adyen-invited-decision-maker.js +3 -3
  107. package/dist/adyen-onboarding.js +61 -59
  108. package/dist/adyen-terms-of-service-management.js +3 -3
  109. package/dist/adyen-terms-of-service-status.js +6 -7
  110. package/dist/adyen-transfer-instrument-configuration.js +7 -8
  111. package/dist/adyen-transfer-instrument-management.js +16 -22
  112. package/dist/adyen-verification-status.js +7 -9
  113. package/dist/{arrow-right-D2hul7WG.js → arrow-right-BwP9nNDE.js} +2 -2
  114. package/dist/bafinUtils-CsDthERR.js +3548 -0
  115. package/dist/{bag-CRRS1aow.js → bag-Cnk9dcZg.js} +2 -2
  116. package/dist/{bank-BoirCLLW.js → bank-UssyP-aG.js} +2 -2
  117. package/dist/bg-BG-C7z9VtPy.js +7 -0
  118. package/dist/{bin-BOmfqfrr.js → bin--Ft4cPCj.js} +2 -2
  119. package/dist/{capital-DTjbiurV.js → capital-BbOFhTHY.js} +2 -2
  120. package/dist/{cash-stack-7KpYpBek.js → cash-stack-LTzc8hQZ.js} +2 -2
  121. package/dist/{certificate-BPuoJ6Ip.js → certificate-CswNcwlI.js} +2 -2
  122. package/dist/{checkmark-BiSLf8M1.js → checkmark-DH1abKZn.js} +2 -2
  123. package/dist/{checkmark-circle-Ams7bSve.js → checkmark-circle-VWM-JsI6.js} +2 -2
  124. package/dist/{checkmark-circle-fill-_p4ss4ac.js → checkmark-circle-fill-AuW2DQDT.js} +2 -2
  125. package/dist/{checkmark-small-3bw4ftPV.js → checkmark-small-B6vsnsSO.js} +2 -2
  126. package/dist/{chevron-down-GgZawvoy.js → chevron-down-BGAMP7CF.js} +2 -2
  127. package/dist/{chevron-left-TeZTTvo5.js → chevron-left-EjFIt8Cd.js} +2 -2
  128. package/dist/{chevron-right-Cg8XlTxx.js → chevron-right-B5zb9mkt.js} +2 -2
  129. package/dist/{chevron-up-COQUTli0.js → chevron-up-DZiittpJ.js} +2 -2
  130. package/dist/{circle-CypWzg83.js → circle-CygvxRY_.js} +2 -2
  131. package/dist/{circle-small-filled-DfdK2A35.js → circle-small-filled-PeElhgJU.js} +2 -2
  132. package/dist/{clock-DmfGJ2r9.js → clock-CQXEE5jK.js} +2 -2
  133. package/dist/{coins-CBvbB8_X.js → coins-C7syygUR.js} +2 -2
  134. package/dist/{constants-DAb_IqC6.js → constants-Dvga6KjU.js} +7 -8
  135. package/dist/{contract-D1_RJ_xh.js → contract-BWEAd7e-.js} +2 -2
  136. package/dist/{countries-BGMTpyJv.js → countries-ZMuvRtQR.js} +1 -1
  137. package/dist/{country-BEZkohEO.js → country-WYlusjTL.js} +2 -2
  138. package/dist/{cross-circle-fill-CUXdo1x-.js → cross-circle-fill-Bxj_fgQE.js} +2 -2
  139. package/dist/cross-circle-fill-small-DwUKcL9P.js +20 -0
  140. package/dist/{cross-BORHADVQ.js → cross-vK6qh9R0.js} +2 -2
  141. package/dist/cs-CZ-B_u3kWRS.js +7 -0
  142. package/dist/da-DK-s_nCUhFO.js +7 -0
  143. package/dist/de-DE-5lHcZmT6.js +7 -0
  144. package/dist/{decisionMakerRoles-JEb0ON4e.js → decisionMakerRoles-DA8MK9Dh.js} +2 -2
  145. package/dist/{document-1-qvV57JdS.js → document-1-BPWF8zKf.js} +2 -2
  146. package/dist/{document-person-DiJ7M8-D.js → document-person-DVRFNq7g.js} +2 -2
  147. package/dist/{documentUtils-CxjFpoJB.js → documentUtils-6K3LdjjN.js} +6 -4
  148. package/dist/{download-Ca4w0Yfr.js → download-DfdpoHdN.js} +2 -2
  149. package/dist/dropinUtils-CSlRmPSn.js +2572 -0
  150. package/dist/{edit-1-D8VhDchs.js → edit-1-BgVB06zI.js} +2 -2
  151. package/dist/el-GR-DTaQeK-A.js +7 -0
  152. package/dist/{entityAssociationUtil-CY0grcyH.js → entityAssociationUtil-BlfcBl3i.js} +1 -1
  153. package/dist/{error-DrzrPjvf.js → error-DjErFfKK.js} +3 -3
  154. package/dist/es-ES-tZMJvO6B.js +7 -0
  155. package/dist/es-LA-C0x1nQUQ.js +7 -0
  156. package/dist/et-EE-BqB-3lW_.js +7 -0
  157. package/dist/{external-link-Dy4le-8Q.js → external-link-BbXGAtFE.js} +2 -2
  158. package/dist/fi-FI-BpwWFhLW.js +7 -0
  159. package/dist/{form-rules-DhuNdiqF.js → form-rules-HzaYJh36.js} +90 -5
  160. package/dist/{formatValidationError-z2D5oU1e.js → formatValidationError-D3vBdIym.js} +2 -2
  161. package/dist/fr-FR-DMPXwPYV.js +7 -0
  162. package/dist/{getDefaultRegistrationNumberType-BNO2BcfK.js → getDefaultRegistrationNumberType-CiEvyeR9.js} +5 -7
  163. package/dist/{useAssociatedLegalEntity-BdcoiUby.js → getFormSlice-CxtXJ0-P.js} +23 -5
  164. package/dist/{getName-DgxRqagk.js → getName-Cii7OyRd.js} +2 -2
  165. package/dist/{getProblemsForEntity-BY_voJ99.js → getProblemsForEntity-mdb3Bfpj.js} +3 -3
  166. package/dist/{getTrustedDecisionMakers-Ta-pURcL.js → getTrustedDecisionMakers-D89oYOLp.js} +2 -2
  167. package/dist/getValidationError-DvQgc-X3.js +19 -0
  168. package/dist/{gift-Bs_mAgul.js → gift-BjS6ErNG.js} +2 -2
  169. package/dist/{graph-Co0JhGiY.js → graph-B8rX9eXr.js} +2 -2
  170. package/dist/{graph-up-DIvH9haf.js → graph-up-Dwaq7upe.js} +2 -2
  171. package/dist/{headquarter-BESfDGKh.js → headquarter-CXwws_UP.js} +2 -2
  172. package/dist/{hotel-Vne7G5M6.js → hotel-CD5Lv9P7.js} +2 -2
  173. package/dist/hr-HR-D5kV_w60.js +7 -0
  174. package/dist/{http-DsJtugN1.js → http-C8rt2BZk.js} +5 -4
  175. package/dist/hu-HU-Bl1dnZfO.js +7 -0
  176. package/dist/{image-BQM21XCk.js → image-BTE2a8ZV.js} +2 -2
  177. package/dist/{info-DExoPRH5.js → info-BTc0bCCM.js} +2 -2
  178. package/dist/{info-filled-11KMeUso.js → info-filled-DhYinieW.js} +2 -2
  179. package/dist/it-IT-DiuPLWbr.js +7 -0
  180. package/dist/ja-JP-COBWjdXk.js +7 -0
  181. package/dist/{legalArrangementUtils-C68JdH6I.js → legalArrangementUtils-Crgt_L7h.js} +1 -1
  182. package/dist/{location-zRH5zJ8c.js → location-CwE3Q0gg.js} +2 -2
  183. package/dist/lt-LT-D9Pum2_8.js +7 -0
  184. package/dist/lv-LV-DDcLP43G.js +7 -0
  185. package/dist/{mail-i1-zg-cv.js → mail-CIeugZTd.js} +2 -2
  186. package/dist/{mapAddressLocalizationToJpAddressSchema-DpOIaxj6.js → mapAddressLocalizationToJpAddressSchema-BLOAhwWM.js} +2 -2
  187. package/dist/{mapExistingFile-RrS8dCpX.js → mapExistingFile-BXfeQxev.js} +2 -2
  188. package/dist/{mapJpAddressSchemaToAddressLocalizations-wwD6Rp3Q.js → mapJpAddressSchemaToAddressLocalizations-cseKFm-l.js} +16 -15
  189. package/dist/{mapLegalEntityToIndividualSchema-DtT3pcZJ.js → mapLegalEntityToIndividualSchema-DvGFy20Z.js} +12 -13
  190. package/dist/{mapTransferInstrumentToPayoutAccount-BpXU-nP1.js → mapTransferInstrumentToPayoutAccount-Cq7PMPOa.js} +4 -4
  191. package/dist/{minus-circle-filled-CxUdRO8J.js → minus-circle-filled-96DZCdcJ.js} +2 -2
  192. package/dist/nl-NL-CBRRvqAY.js +7 -0
  193. package/dist/no-NO-C9lYR_fQ.js +7 -0
  194. package/dist/{options-horizontal-D86T_xAF.js → options-horizontal-BU9r-Xx3.js} +2 -2
  195. package/dist/{partner-Dje0ykF6.js → partner-C1SWc0pB.js} +2 -2
  196. package/dist/{pay-by-link-plane-DAiddPu6.js → pay-by-link-plane-xK4Zkol0.js} +2 -2
  197. package/dist/{payout-DKiGv3F9.js → payout-zGf0LNbo.js} +2 -2
  198. package/dist/{pdf-CC8vqpTo.js → pdf-Bbs3Ji9v.js} +157 -174
  199. package/dist/{pdf.worker.min-CdKJICZZ.js → pdf.worker.min-DTQpK-0h.js} +67 -58
  200. package/dist/{person-DgALGIIz.js → person-xTKhpEGR.js} +2 -2
  201. package/dist/pl-PL-CZST_1gV.js +7 -0
  202. package/dist/{plus-DlQKP2C9.js → plus-Cm_dWRpB.js} +2 -2
  203. package/dist/{plus-circle-filled-BntUOVIJ.js → plus-circle-filled-Df77eidx.js} +2 -2
  204. package/dist/{processCapabilities-CWE5UFt8.js → processCapabilities-FL4-KAbd.js} +7 -9
  205. package/dist/{processValidationErrors-CFU1x_1n.js → processValidationErrors-Cn-RYAun.js} +4 -4
  206. package/dist/pt-BR-C32QroLH.js +7 -0
  207. package/dist/pt-PT-ByfmK1XA.js +7 -0
  208. package/dist/{recurring-DZgT_ekJ.js → recurring-BfwVHJ2Z.js} +2 -2
  209. package/dist/resolveEnvironment-D8-1H8bU.js +2516 -0
  210. package/dist/{revenue-accelerate-aMLYFVW6.js → revenue-accelerate-ClN0cx7Z.js} +2 -2
  211. package/dist/ro-RO-YkglLwfY.js +7 -0
  212. package/dist/{save-uDNye08N.js → save-QK2A-teG.js} +2 -2
  213. package/dist/{search-0OS6oe8N.js → search-DVSyT7Q7.js} +2 -2
  214. package/dist/{uppercase-DvjwUM0n.js → sharedValidators-DODW7kuK.js} +5 -3
  215. package/dist/{show-BWoS9-Y1.js → show-BRWLIRSA.js} +2 -2
  216. package/dist/sk-SK-BYRIVzdY.js +7 -0
  217. package/dist/sl-SI-Cjub_bfF.js +7 -0
  218. package/dist/{solution-payments-BMal7uJZ.js → solution-payments-BZZceFVV.js} +2 -2
  219. package/dist/{store-N7ZA4FKy.js → store-DLKKLXhn.js} +2 -2
  220. package/dist/style.css +1418 -1157
  221. package/dist/styles-DYaAeu4q.js +1418 -1157
  222. package/dist/sv-SE-1re-9Lp8.js +7 -0
  223. package/dist/{terminal-1-0RlQpbUC.js → terminal-1-CpAyEdjO.js} +2 -2
  224. package/dist/{translation-DbATp_35.js → translation-CpH8D2NK.js} +34 -30
  225. package/dist/types/adaptiveWorkflow/component-registry.d.ts +19 -2
  226. package/dist/types/adaptiveWorkflow/components/NodeRenderer/NodeRenderer.d.ts +7 -0
  227. package/dist/types/adaptiveWorkflow/components/NodeRenderer/SimpleFieldRenderer.d.ts +2 -2
  228. package/dist/types/adaptiveWorkflow/components/Shared/Fields/CountryField/CountryField.d.ts +4 -0
  229. package/dist/types/adaptiveWorkflow/components/Shared/Fields/CountryField/contextMap.d.ts +10 -0
  230. package/dist/types/adaptiveWorkflow/components/Shared/Fields/DateField/DateField.d.ts +4 -0
  231. package/dist/types/adaptiveWorkflow/components/Shared/Fields/DateField/contextMap.d.ts +9 -0
  232. package/dist/types/adaptiveWorkflow/components/Shared/Fields/DateField/validators.d.ts +2 -0
  233. package/dist/types/adaptiveWorkflow/components/Shared/Fields/EmailField/EmailField.d.ts +4 -0
  234. package/dist/types/adaptiveWorkflow/components/Shared/Fields/EmailField/contextMap.d.ts +10 -0
  235. package/dist/types/adaptiveWorkflow/components/Shared/Fields/EmailField/validators.d.ts +2 -0
  236. package/dist/types/adaptiveWorkflow/components/Shared/Fields/NumberField/NumberField.d.ts +4 -0
  237. package/dist/types/adaptiveWorkflow/components/Shared/Fields/NumberField/contextMap.d.ts +9 -0
  238. package/dist/types/adaptiveWorkflow/components/Shared/Fields/NumberField/validators.d.ts +2 -0
  239. package/dist/types/adaptiveWorkflow/components/Shared/Fields/TextField/TextField.d.ts +4 -0
  240. package/dist/types/adaptiveWorkflow/components/Shared/Fields/TextField/contextMap.d.ts +10 -0
  241. package/dist/types/adaptiveWorkflow/components/Shared/Fields/TextField/validators.d.ts +4 -0
  242. package/dist/types/adaptiveWorkflow/components/Shared/Fields/WebsiteField/WebsiteField.d.ts +4 -0
  243. package/dist/types/adaptiveWorkflow/components/Shared/Fields/WebsiteField/contextMap.d.ts +10 -0
  244. package/dist/types/adaptiveWorkflow/components/Shared/Fields/WebsiteField/validators.d.ts +3 -0
  245. package/dist/types/adaptiveWorkflow/utils/validators/getValidationError.d.ts +7 -0
  246. package/dist/types/adaptiveWorkflow/utils/validators/sharedValidators.d.ts +3 -0
  247. package/dist/types/adaptiveWorkflow/utils/validators/types.d.ts +6 -0
  248. package/dist/types/api/adaptive/useAdaptiveWorkflow.d.ts +1 -1
  249. package/dist/types/api/address/useAddressCleanse.d.ts +2 -2
  250. package/dist/types/api/address/useRetrieveAddress.d.ts +2 -2
  251. package/dist/types/api/address/useRetrieveFromPostcodeJp.d.ts +2 -2
  252. package/dist/types/api/address/useSearchAddress.d.ts +2 -2
  253. package/dist/types/api/businessLines/useBusinessLines.d.ts +1 -1
  254. package/dist/types/api/companySearch/useCompanySearch.d.ts +6 -293
  255. package/dist/types/api/configurations/useSupportedCountries.d.ts +1 -1
  256. package/dist/types/api/configurations/useTaskTypes.d.ts +1 -1
  257. package/dist/types/api/configurations/useVersionConfiguration.d.ts +2 -2
  258. package/dist/types/api/datasets/useLegalForms.d.ts +1 -1
  259. package/dist/types/api/datasets/useNaceCodes.d.ts +1 -1
  260. package/dist/types/api/datasets/useSourceOfFundsTypes.d.ts +1 -1
  261. package/dist/types/api/documents/useDocument.d.ts +1 -1
  262. package/dist/types/api/documents/useDocuments.d.ts +2 -2
  263. package/dist/types/api/idNowProvider/useIdNowProvider.d.ts +3 -3
  264. package/dist/types/api/idVerificationProviders/useIdVerificationToken.d.ts +2 -2
  265. package/dist/types/api/industryCodes/useIndustryCodes.d.ts +1 -1
  266. package/dist/types/api/invitations/useInvitationStatus.d.ts +1 -1
  267. package/dist/types/api/invitedEntity/useInvitedEntityAssociationData.d.ts +2 -2
  268. package/dist/types/api/invitedEntity/useInvitedEntityRootCapabilities.d.ts +2 -2
  269. package/dist/types/api/invitedEntity/useInvitedEntityVerificationErrors.d.ts +2 -2
  270. package/dist/types/api/legalEntity/useLegalEntity.d.ts +9 -9
  271. package/dist/types/api/onboardingStatus/useOnboardingStatus.d.ts +1 -1
  272. package/dist/types/api/openId/useOpenIdAuthorizationLink.d.ts +1 -1
  273. package/dist/types/api/pci/usePciQuestionnaireList.d.ts +2 -2
  274. package/dist/types/api/pci/usePciStatus.d.ts +2 -2
  275. package/dist/types/api/pci/usePciTemplate.d.ts +2 -2
  276. package/dist/types/api/providersConfiguration/useProviderStatus.d.ts +1 -1
  277. package/dist/types/api/taskStatus/useTaskStatus.d.ts +2 -2
  278. package/dist/types/api/taskStatus/useTaskStatuses.d.ts +2 -2
  279. package/dist/types/api/taxClassification/useTaxClassification.d.ts +2 -2
  280. package/dist/types/api/termsOfService/useAcceptedTermsOfService.d.ts +2 -2
  281. package/dist/types/api/termsOfService/useTermsOfService.d.ts +2 -2
  282. package/dist/types/api/termsOfService/useTermsOfServiceAcceptanceInfos.d.ts +1 -1
  283. package/dist/types/api/termsOfService/useTermsOfServiceStatus.d.ts +2 -2
  284. package/dist/types/api/tinVerification/useVerifyTin.d.ts +5 -245
  285. package/dist/types/api/toggles/useToggles.d.ts +1 -1
  286. package/dist/types/api/transferInstruments/useBankVerificationProviders.d.ts +1 -1
  287. package/dist/types/api/transferInstruments/useTransferInstrument.d.ts +1 -1
  288. package/dist/types/api/transferInstruments/useTransferInstruments.d.ts +1 -1
  289. package/dist/types/api/uiAnalytics/useAnalyticsSession.d.ts +2 -2
  290. package/dist/types/api/validation/useValidatePhoneNumber.d.ts +2 -2
  291. package/dist/types/components/BankAccount/mapping/mapPayoutAccountSchemaToApiBankAccount.d.ts +3 -2
  292. package/dist/types/components/BankAccount/mapping/mapPayoutDetailsToTransferInstrument.d.ts +3 -2
  293. package/dist/types/components/Business/forms/rules.d.ts +3 -1
  294. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingSummary.d.ts +3 -2
  295. package/dist/types/components/GlobalEntry/hooks/usePrefetchCompanySearch.d.ts +11 -0
  296. package/dist/types/components/GlobalEntry/rules.d.ts +1 -1
  297. package/dist/types/components/GlobalEntry/utils/submitGlobalEntry.d.ts +3 -1
  298. package/dist/types/components/Individual/forms/BasicDetails/validate.d.ts +3 -1
  299. package/dist/types/components/Individual/forms/Individual.rules.d.ts +4 -2
  300. package/dist/types/components/Shared/NewSummary/NewSummary.d.ts +7 -6
  301. package/dist/types/components/Shared/SummarySection/SummarySection.d.ts +12 -4
  302. package/dist/types/components/Shared/fields/LocalizedNameFields/validate.d.ts +2 -2
  303. package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/utils.d.ts +1 -1
  304. package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +1 -1
  305. package/dist/types/components/Shared/forms/Address/localized/jp/jpAddressSchema.d.ts +11 -1
  306. package/dist/types/components/ui/atoms/Typography/Typography.types.d.ts +1 -1
  307. package/dist/types/context/SettingsContext/types.d.ts +8 -0
  308. package/dist/types/context/ToggleContext/types.d.ts +3 -13
  309. package/dist/types/utils/japanSupportUtils.d.ts +2 -2
  310. package/dist/types/utils/validatorUtils.d.ts +2 -0
  311. package/dist/{types-D6p5FQF-.js → types-BymnGWO9.js} +1 -1
  312. package/dist/{types-B9zXzag-.js → types-qahGXhtr.js} +1 -1
  313. package/dist/{upload-C5NC1E4N.js → upload-BI7LKlDm.js} +2 -2
  314. package/dist/{useAdaptiveWorkflow-DsQESk9f.js → useAdaptiveWorkflow-B35cXauP.js} +1 -1
  315. package/dist/{useBusinessDetailsData-dsYTeDom.js → useBusinessDetailsData-BEM6OCqH.js} +132 -150
  316. package/dist/{useBusinessLines-BhSN6qCH.js → useBusinessLines-0FcuDMzo.js} +1 -1
  317. package/dist/{useCanSeeIntroduction-BLGY7sE-.js → useCanSeeIntroduction-B6BDOCm_.js} +5 -5
  318. package/dist/{useDataMissingRemediations-ttUrk09_.js → useDataMissingRemediations-DKjYzfe2.js} +3 -3
  319. package/dist/{useForm-BFeaSvlP.js → useForm-fYu8sJ-i.js} +6 -6
  320. package/dist/{useHideTaskStepper-C_w6iUY-.js → useHideTaskStepper-BgCN--mG.js} +1 -1
  321. package/dist/{invalidateRootLegalEntity-B97dCa-s.js → useId-CEUET5IS.js} +32 -4
  322. package/dist/{useIndustryCodes-uAj90IyS.js → useIndustryCodes-La1cU8oH.js} +1 -1
  323. package/dist/{useLegalEntity-QQXN6YOm.js → useLegalEntity-CxeMoCm4.js} +4 -3
  324. package/dist/{useNavigate-J0sRAAoI.js → useNavigate-B1z7McBl.js} +33 -33
  325. package/dist/{useOnboardingStatus-CsGUjkm-.js → useOnboardingStatus-CX8IrDe_.js} +1 -1
  326. package/dist/{usePciQuestionnaireList-CFNJD8pS.js → usePciQuestionnaireList-CB_tjNsz.js} +1 -1
  327. package/dist/{useSalesChannels-huIL6Dhk.js → useSalesChannels-DJAmDo-r.js} +5 -5
  328. package/dist/{useScenarios-DV2TeNvN.js → useScenarios-DfE71fl7.js} +7 -6
  329. package/dist/{useSettingsContext-9O3Aqpfq.js → useSettingsContext-Bpf4UqRT.js} +6 -3
  330. package/dist/{useTaskLandedEvent-DwZHcMEQ.js → useTaskLandedEvent-BtuFBe20.js} +2 -2
  331. package/dist/{useTaskStatus-CgrhdaE_.js → useTaskStatus-4nAPf_uD.js} +1 -1
  332. package/dist/{useTermsOfServiceStatus-DbJDklA2.js → useTermsOfServiceStatus-FDpSDjco.js} +1 -1
  333. package/dist/{useTrustMembers-uhgi2qfN.js → useTrustMembers-D3sCwcaT.js} +9 -8
  334. package/dist/{useUnincorporatedPartnershipMembers-DVEWj1is.js → useUnincorporatedPartnershipMembers-DcfQJdVZ.js} +5 -5
  335. package/dist/{useUpdateBusinessLines-DCKYTzxd.js → useUpdateBusinessLines-B-pF2YT-.js} +1 -1
  336. package/dist/{utils-SKYT7xU4.js → utils-BFxg3gPM.js} +2 -2
  337. package/dist/{utils-D8pwjFm5.js → utils-CcBgYW2P.js} +5 -6
  338. package/dist/utils-Oc-YLiM0.js +214 -0
  339. package/dist/{validate-BBVJuFm5.js → validate-1rlz-OH4.js} +15 -17
  340. package/dist/{validate-Bkpa-y5Q.js → validate-B2P8hpA5.js} +7 -7
  341. package/dist/{validate-t6pT7AaZ.js → validate-S1Bm0XnT.js} +3 -3
  342. package/dist/{validate-Dmdw3pYn.js → validate-x5CYfY5E.js} +2 -2
  343. package/dist/{validateExtractionResult-qkFkcrwl.js → validateExtractionResult-IRRMwcNi.js} +5 -7
  344. package/dist/{warning-circle-fill-C2lMYPJW.js → warning-circle-fill-ClFvGo5m.js} +2 -2
  345. package/dist/{warning-diamond-filled-CQ2DdW5g.js → warning-diamond-filled-CWyKR65i.js} +2 -2
  346. package/dist/{webinar-BpZWqd-g.js → webinar-DWX7Z5Wz.js} +2 -2
  347. package/package.json +36 -36
  348. package/dist/AdaptiveWorkflow-2EE8iiMD.js +0 -33
  349. package/dist/Alert-BqbbDRYR.js +0 -172
  350. package/dist/AnalyticsContext-CpimDlw4.js +0 -21
  351. package/dist/Checkbox-qfdF12cF.js +0 -60
  352. package/dist/Confirm-DjFpxSzC.js +0 -77
  353. package/dist/CountryField-CMOB4yz4.js +0 -38
  354. package/dist/DataConflictsModal-8Nnj7_UD.js +0 -238
  355. package/dist/Field-Df7ajJE2.js +0 -154
  356. package/dist/FormFlow.module-DqMxjYHl.js +0 -20
  357. package/dist/Header-DvifUz7-.js +0 -93
  358. package/dist/Icon-DFQgr7dy.js +0 -175
  359. package/dist/LandingLayout-BsIoIFzs.js +0 -76
  360. package/dist/LegalName-BYQ12uWc.js +0 -33
  361. package/dist/LoaderWrapper-Dc88hY-P.js +0 -34
  362. package/dist/MaskedInput-CkDwzLxe.js +0 -719
  363. package/dist/MaybeModal-Dfm1rIUG.js +0 -24
  364. package/dist/NewSummary-DYLlnpwx.js +0 -73
  365. package/dist/ProgressBar-DWFxLMUA.js +0 -38
  366. package/dist/RadioGroup-CY33MT83.js +0 -47
  367. package/dist/RadioWithLabel-BmUFWDxq.js +0 -45
  368. package/dist/SettingsContext-Dl-9WWCI.js +0 -9
  369. package/dist/StateContext-B2_Pqd_y.js +0 -9
  370. package/dist/StateField-BiNI3dm9.js +0 -55
  371. package/dist/StructuredList-BHUmeWeh.js +0 -56
  372. package/dist/Summary-BTDbRMfh.js +0 -235
  373. package/dist/TaxInformationField--Uhp0zLv.js +0 -242
  374. package/dist/TileGroup-BFcSgQ1l.js +0 -172
  375. package/dist/ToastContext-B_wd2IY2.js +0 -13
  376. package/dist/ToastContextProvider-BSQ1Upl_.js +0 -103
  377. package/dist/VerificationErrorAlert-B6HmAZ0g.js +0 -38
  378. package/dist/_rolldown_dynamic_import_helper-sGNwd-kR.js +0 -14
  379. package/dist/bafinUtils-RXELXyTR.js +0 -96
  380. package/dist/bg-BG-DfbtcqF4.js +0 -7
  381. package/dist/birthDateUtils-D6uk7zwm.js +0 -84
  382. package/dist/businessRegistrationNumberPatterns-pbrCVTTp.js +0 -982
  383. package/dist/cross-circle-fill-small-DdoPZZeo.js +0 -20
  384. package/dist/cs-CZ-CajuRLo4.js +0 -7
  385. package/dist/da-DK-BEwmSejn.js +0 -7
  386. package/dist/datasetUtil-BdHPWsxZ.js +0 -45
  387. package/dist/de-DE-PyK3jl-6.js +0 -7
  388. package/dist/debouncedInputEvent-Fwwp_K_-.js +0 -54
  389. package/dist/debugStore-Dwn1FXrh.js +0 -9
  390. package/dist/dropinUtils-OsMsnnYG.js +0 -496
  391. package/dist/el-GR-KPFghikv.js +0 -7
  392. package/dist/es-ES-z4jLCvkJ.js +0 -7
  393. package/dist/es-LA-Dx4QymCh.js +0 -7
  394. package/dist/et-EE-1EhDxtTe.js +0 -7
  395. package/dist/fi-FI-Dc2RMc_u.js +0 -7
  396. package/dist/fieldConfigurations-CZCFghnK.js +0 -11
  397. package/dist/formFieldsUtils-CnDkgahc.js +0 -7
  398. package/dist/formUtils-BHgG8yQZ.js +0 -52
  399. package/dist/formUtils-DAKrWwgL.js +0 -84
  400. package/dist/fr-FR-DswL4wQ1.js +0 -7
  401. package/dist/getFormSlice-C1ma6Xd4.js +0 -21
  402. package/dist/getTrustedFields-BJ88GlM-.js +0 -28
  403. package/dist/globalStore--_np-9ON.js +0 -418
  404. package/dist/hr-HR-DI2D_V50.js +0 -7
  405. package/dist/hu-HU-lyRcZjGI.js +0 -7
  406. package/dist/isEmpty-Uewyl-r6.js +0 -14
  407. package/dist/isEmptyEntity-3OHnhXqG.js +0 -43
  408. package/dist/it-IT-Bn4CEcmI.js +0 -7
  409. package/dist/ja-JP-CAX_xwUx.js +0 -7
  410. package/dist/keys-Ce8YnRP2.js +0 -20
  411. package/dist/listToRecord-DumSkYDz.js +0 -10
  412. package/dist/lt-LT-BdgYuJW7.js +0 -7
  413. package/dist/lv-LV-Bz5c0Psg.js +0 -7
  414. package/dist/mapScriptLocalization-BCfkZo1y.js +0 -46
  415. package/dist/nl-NL-BE2cQh0x.js +0 -7
  416. package/dist/no-NO-vgzpp44v.js +0 -7
  417. package/dist/patternValidators-DsrZkuOO.js +0 -73
  418. package/dist/pl-PL-DgDSRVmp.js +0 -7
  419. package/dist/pt-BR-BaKp-J8F.js +0 -7
  420. package/dist/pt-PT-Df48oeP5.js +0 -7
  421. package/dist/resolveEnvironment-CLI-fiSo.js +0 -999
  422. package/dist/ro-RO-CTMsv_EY.js +0 -7
  423. package/dist/roleMetadata-CbgaYaH8.js +0 -56
  424. package/dist/sk-SK-oqO5I3Aw.js +0 -7
  425. package/dist/sl-SI-CQhJFnpj.js +0 -7
  426. package/dist/summaryItem-uDWmtYtt.js +0 -16
  427. package/dist/sv-SE-CmevESLi.js +0 -7
  428. package/dist/toFullWidth-Dgy4X4i8.js +0 -52
  429. package/dist/trustUtil-BG17fZ56.js +0 -98
  430. package/dist/types/adaptiveWorkflow/components/Fields/LegalName.d.ts +0 -14
  431. package/dist/types-B28r2lAW.js +0 -30
  432. package/dist/types-CZAHRt31.js +0 -147
  433. package/dist/useAccountHolder-BpIX1iBG.js +0 -102
  434. package/dist/useAllowedCountries-qyvo-c6A.js +0 -80
  435. package/dist/useAnalyticsContext-gSnRnYgV.js +0 -12
  436. package/dist/useCreateLegalEntity-CYZd_62a.js +0 -24
  437. package/dist/useDataset-K19TDoyR.js +0 -98
  438. package/dist/useDeleteTransferInstrument-C10xzHiO.js +0 -31
  439. package/dist/useId-BkDhUta2.js +0 -28
  440. package/dist/useMultiForm-CM3lpilP.js +0 -790
  441. package/dist/useToastContext-B6Mqc2HY.js +0 -12
  442. package/dist/useToggleContext-B_YexrbT.js +0 -21
  443. package/dist/useUpdateLegalEntity-B7LRg8m0.js +0 -29
  444. package/dist/utils-BLBh0VEd.js +0 -1755
  445. package/dist/utils-CYUYe54m.js +0 -24
  446. package/dist/utils-DdHbAadK.js +0 -80
  447. package/dist/validationError-DUn2rT0n.js +0 -55
  448. package/dist/validationResult-bjYBDjbU.js +0 -29
  449. package/dist/validatorUtils-D2O6AAZn.js +0 -106
  450. /package/dist/{pt-BR-CPbFPNwq2.js → pt-BR-CPbFPNwq.js} +0 -0
@@ -1,11 +1,17 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5110b530-dce6-42d2-bd76-5b07fbac82de", e._sentryDebugIdIdentifier = "sentry-dbid-5110b530-dce6-42d2-bd76-5b07fbac82de");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "60aef8d3-d907-43ac-a141-1fb628abd344", e._sentryDebugIdIdentifier = "sentry-dbid-60aef8d3-d907-43ac-a141-1fb628abd344");
4
4
  } catch (e) {}
5
+ import { L as ToastContext } from "./resolveEnvironment-D8-1H8bU.js";
5
6
  import { t as createLogger } from "./logger-Z8AeTE4x.js";
6
- import { s as useApiContext } from "./http-DsJtugN1.js";
7
- import { useCallback } from "preact/hooks";
7
+ import { s as useApiContext } from "./http-C8rt2BZk.js";
8
+ import { useCallback, useContext, useState } from "preact/hooks";
8
9
  import { useQueryClient } from "@tanstack/preact-query";
10
+ //#region src/context/ToastContext/useToastContext.ts
11
+ function useToastContext() {
12
+ return useContext(ToastContext);
13
+ }
14
+ //#endregion
9
15
  //#region src/api/invalidateRootLegalEntity.ts
10
16
  var logger = createLogger();
11
17
  /**
@@ -42,4 +48,26 @@ var useInvalidateRootLegalEntity = () => {
42
48
  return useCallback(() => Promise.all([queryClient.invalidateQueries({ queryKey: ["legalEntity", rootLegalEntityId.value] }), queryClient.invalidateQueries({ predicate: ({ queryKey }) => QUERIES_TO_INVALIDATE_WHEN_ROOT_LE_IS_INVALIDATED.includes(queryKey[0]) })]).catch(logger.error), [rootLegalEntityId.value, queryClient]);
43
49
  };
44
50
  //#endregion
45
- export { useInvalidateRootLegalEntity as t };
51
+ //#region src/utils/uuid.ts
52
+ function uuidv4() {
53
+ return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c) => {
54
+ let r = Math.random() * 16 | 0;
55
+ return (c == "x" ? r : r & 3 | 8).toString(16);
56
+ });
57
+ }
58
+ //#endregion
59
+ //#region src/utils/useId.ts
60
+ /**
61
+ * We can't use {@link import('preact/hooks').useId} because it doesn't guarantee uniqueness across
62
+ * different render trees. So multiple components mounted on the same page could have collisions.
63
+ *
64
+ * Therefore, we instead calculate a uuid and prepend a prefix.
65
+ *
66
+ * @param prefix a prefix to identify this usage
67
+ */
68
+ var useId = (prefix) => {
69
+ const [uuid] = useState(uuidv4());
70
+ return `${prefix}_${uuid}`;
71
+ };
72
+ //#endregion
73
+ export { useInvalidateRootLegalEntity as n, useToastContext as r, useId as t };
@@ -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] = "fc41ba43-7709-475d-9134-c0187d5b2bed", e._sentryDebugIdIdentifier = "sentry-dbid-fc41ba43-7709-475d-9134-c0187d5b2bed");
4
4
  } catch (e) {}
5
- import { n as httpGet, s as useApiContext } from "./http-DsJtugN1.js";
5
+ import { n as httpGet, s as useApiContext } from "./http-C8rt2BZk.js";
6
6
  import { useQuery } from "@tanstack/preact-query";
7
7
  //#region src/api/industryCodes/useIndustryCodes.ts
8
8
  var fetchIndustryCodes = async (legalEntityId, baseUrl, businessLineTypes, locale) => {
@@ -1,15 +1,16 @@
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] = "aea352de-6c56-4bca-91dd-d17622951f57", e._sentryDebugIdIdentifier = "sentry-dbid-aea352de-6c56-4bca-91dd-d17622951f57");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "681921cd-4865-4266-9d9c-b31fe24464a8", e._sentryDebugIdIdentifier = "sentry-dbid-681921cd-4865-4266-9d9c-b31fe24464a8");
4
4
  } catch (e) {}
5
- import { n as httpGet, s as useApiContext } from "./http-DsJtugN1.js";
5
+ import { n as httpGet, s as useApiContext } from "./http-C8rt2BZk.js";
6
6
  import { skipToken, useQueries, useQuery } from "@tanstack/preact-query";
7
7
  //#region src/api/legalEntity/useLegalEntity.ts
8
8
  var ROOT_LE = Symbol("ROOT_LE");
9
9
  var getLegalEntity = async (rootLegalEntityId, baseUrl, legalEntityId) => {
10
+ const legalEntityPath = legalEntityId === rootLegalEntityId ? rootLegalEntityId : `${rootLegalEntityId}/child/${legalEntityId}`;
10
11
  return httpGet({
11
12
  baseUrl,
12
- path: `legalEntities/${legalEntityId === rootLegalEntityId ? rootLegalEntityId : `${rootLegalEntityId}/child/${legalEntityId}`}`
13
+ path: `legalEntities/${legalEntityPath}`
13
14
  });
14
15
  };
15
16
  /**
@@ -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] = "fbf8ff8b-7ae8-489b-9b09-54c5c11010b5", e._sentryDebugIdIdentifier = "sentry-dbid-fbf8ff8b-7ae8-489b-9b09-54c5c11010b5");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "44d074f3-8663-4c08-91ae-7cb2676ccf5b", e._sentryDebugIdIdentifier = "sentry-dbid-44d074f3-8663-4c08-91ae-7cb2676ccf5b");
4
4
  } catch (e) {}
5
- import { n as FeatureNames } from "./types-CZAHRt31.js";
5
+ import { M as FeatureNames } from "./resolveEnvironment-D8-1H8bU.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-DFW6EaLG.js")).Introduction);
30
- var Adaptive = lazy(async () => (await import("./AdaptiveWorkflow-2EE8iiMD.js")).AdaptiveWorkflow);
31
- var BusinessTypeSelectionPage = lazy(async () => (await import("./BusinessTypeSelectionPage-DeWD37jR.js")).BusinessTypeSelectionPage);
32
- var GlobalEntryPage = lazy(async () => (await import("./GlobalEntryPage-CdGXV-QZ.js")).GlobalEntryPage);
33
- var SingpassSelection = lazy(async () => (await import("./SingpassSelection-B6NONcr4.js")).SingpassSelection);
34
- var AccountSetupRejected = lazy(async () => (await import("./AccountSetupRejected-BtcxtVKO.js")).AccountSetupRejected);
35
- var DecisionMakers = lazy(async () => (await import("./DecisionMakers-qRoXooYA.js")).DecisionMakers);
36
- var CustomerSupport = lazy(async () => (await import("./CustomerSupport-B0UJHtAq.js")).CustomerSupport);
37
- var Review = lazy(async () => (await import("./Review-CzgmjDcZ.js")).Review);
38
- var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-CIkdVNH2.js").then((n) => n.n)).SignPCIComponent);
39
- var AcceptTermsOfService = lazy(async () => (await import("./TermsOfServiceManagement-BM5K4cpw.js").then((n) => n.n)).TermsOfServiceManagement);
40
- var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-Cq3gBWtp.js")).TaxReportingDropin);
41
- var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-NM0Eqf4K.js")).PayoutDetailsPage);
42
- var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-B1a0hu8F.js")).RootBusinessDetailsPage);
43
- var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-Dv1uT7OS.js")).RootBusinessLinesPage);
44
- var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-BmNs557C.js")).SoleProprietorshipPage);
45
- var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-tU2HTiDG.js")).TrustMemberCompanyPage);
46
- var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-BLBtnoSq.js")).TrustMemberIndividualPage);
47
- var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-DIwrtOWr.js")).TrustMemberRoleAndTypePage);
48
- var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-CowTgfIb.js")).TrustMembersOverview);
49
- var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-DFOoV0wQ.js")).UnincorporatedPartnershipMemberCompanyPage);
50
- var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-BT0j54-O.js")).UnincorporatedPartnershipIndividualPage);
51
- var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-D973uyHj.js")).UnincorporatedPartnershipMemberRoleAndTypePage);
52
- var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-5w1BrDMI.js")).UnincorporatedPartnershipMembersOverview);
53
- var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-C4dAslMp.js")).BusinessFinancingPage);
54
- var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-z7s9FxVC.js")).TrustDetailsPage);
55
- var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-B5nZ3MjN.js")).SourceOfFundsPage);
56
- var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-vkjzmyF7.js")).RootIndividualDetailsPage);
57
- var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-BiAfoErR.js")).LegalRepresentativeDetailsPage);
58
- var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-CGOs2Ubt.js")).DecisionMakerDetailsPage);
59
- lazy(async () => (await import("./InvitedDecisionMakerComponent-hdQc0T7D.js").then((n) => n.n)).InvitedDecisionMakerComponent);
29
+ var Introduction = lazy(async () => (await import("./Introduction-GW5FJSTJ.js")).Introduction);
30
+ var Adaptive = lazy(async () => (await import("./AdaptiveWorkflow-B6SIOcbU.js")).AdaptiveWorkflow);
31
+ var BusinessTypeSelectionPage = lazy(async () => (await import("./BusinessTypeSelectionPage-9B2SxGcV.js")).BusinessTypeSelectionPage);
32
+ var GlobalEntryPage = lazy(async () => (await import("./GlobalEntryPage-OTglAvMX.js")).GlobalEntryPage);
33
+ var SingpassSelection = lazy(async () => (await import("./SingpassSelection-BXHvwmgp.js")).SingpassSelection);
34
+ var AccountSetupRejected = lazy(async () => (await import("./AccountSetupRejected-Jii0yaLC.js")).AccountSetupRejected);
35
+ var DecisionMakers = lazy(async () => (await import("./DecisionMakers-Cq3yVb54.js")).DecisionMakers);
36
+ var CustomerSupport = lazy(async () => (await import("./CustomerSupport-CT4s3fyC.js")).CustomerSupport);
37
+ var Review = lazy(async () => (await import("./Review-C81Qsrkg.js")).Review);
38
+ var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-Dmr9dDYB.js").then((n) => n.n)).SignPCIComponent);
39
+ var AcceptTermsOfService = lazy(async () => (await import("./TermsOfServiceManagement-5x2f0QgC.js").then((n) => n.n)).TermsOfServiceManagement);
40
+ var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-F4e4CxiC.js")).TaxReportingDropin);
41
+ var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-BxaCk685.js")).PayoutDetailsPage);
42
+ var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-CwRyRbEv.js")).RootBusinessDetailsPage);
43
+ var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-C3GZQ-KO.js")).RootBusinessLinesPage);
44
+ var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-DKL4anrn.js")).SoleProprietorshipPage);
45
+ var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-BvBxQg7D.js")).TrustMemberCompanyPage);
46
+ var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-D4idWK8j.js")).TrustMemberIndividualPage);
47
+ var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-CyKm_knd.js")).TrustMemberRoleAndTypePage);
48
+ var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-BnP0wZSf.js")).TrustMembersOverview);
49
+ var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-T6SOH3Mv.js")).UnincorporatedPartnershipMemberCompanyPage);
50
+ var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-Bgb4oCRJ.js")).UnincorporatedPartnershipIndividualPage);
51
+ var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-BVfav_Z_.js")).UnincorporatedPartnershipMemberRoleAndTypePage);
52
+ var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-DPW48_Lv.js")).UnincorporatedPartnershipMembersOverview);
53
+ var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-BIdRvI7h.js")).BusinessFinancingPage);
54
+ var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-D3RkKlpJ.js")).TrustDetailsPage);
55
+ var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-2dxP6dlL.js")).SourceOfFundsPage);
56
+ var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-CvVVlkJI.js")).RootIndividualDetailsPage);
57
+ var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-CXMGtJvO.js")).LegalRepresentativeDetailsPage);
58
+ var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-Dg_RbdxY.js")).DecisionMakerDetailsPage);
59
+ lazy(async () => (await import("./InvitedDecisionMakerComponent-tahktJVa.js").then((n) => n.n)).InvitedDecisionMakerComponent);
60
60
  var ROUTE_CONFIG = {
61
61
  [TaskTypes.ADAPTIVE]: {
62
62
  path: "/adaptive",
@@ -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] = "23d1306d-6cec-41e6-9eac-0070dc371783", e._sentryDebugIdIdentifier = "sentry-dbid-23d1306d-6cec-41e6-9eac-0070dc371783");
4
4
  } catch (e) {}
5
- import { n as httpGet, s as useApiContext } from "./http-DsJtugN1.js";
5
+ import { n as httpGet, s as useApiContext } from "./http-C8rt2BZk.js";
6
6
  import { useQuery } from "@tanstack/preact-query";
7
7
  //#region src/api/onboardingStatus/useOnboardingStatus.ts
8
8
  var getOnboardingStatus = async (legalEntityId, baseUrl) => {
@@ -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] = "b7512530-6e79-4ea5-bd29-ec01acedcd5d", e._sentryDebugIdIdentifier = "sentry-dbid-b7512530-6e79-4ea5-bd29-ec01acedcd5d");
4
4
  } catch (e) {}
5
- import { n as httpGet, s as useApiContext } from "./http-DsJtugN1.js";
5
+ import { n as httpGet, s as useApiContext } from "./http-C8rt2BZk.js";
6
6
  import { useQuery } from "@tanstack/preact-query";
7
7
  //#region src/api/pci/usePciQuestionnaireList.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] = "e389efef-a814-44fa-81b8-0f72862fa760", e._sentryDebugIdIdentifier = "sentry-dbid-e389efef-a814-44fa-81b8-0f72862fa760");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "300a8be5-b7e1-40f7-95e0-8ebcfd2c195e", e._sentryDebugIdIdentifier = "sentry-dbid-300a8be5-b7e1-40f7-95e0-8ebcfd2c195e");
4
4
  } catch (e) {}
5
- import { r as httpPost, s as useApiContext } from "./http-DsJtugN1.js";
6
- import { t as useSettingsContext } from "./useSettingsContext-9O3Aqpfq.js";
7
- import { t as SettingNames } from "./types-B28r2lAW.js";
8
- import { t as useBusinessLines } from "./useBusinessLines-BhSN6qCH.js";
5
+ import { r as httpPost, s as useApiContext } from "./http-C8rt2BZk.js";
6
+ import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
7
+ import { a as SettingNames } from "./InputText-DtoBABE5.js";
8
+ import { t as useBusinessLines } from "./useBusinessLines-0FcuDMzo.js";
9
9
  import { useMemo } from "preact/hooks";
10
10
  import { useQuery } from "@tanstack/preact-query";
11
11
  //#region src/api/pci/usePciStatus.ts
@@ -1,19 +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] = "966549a6-6c0a-4a68-9c1e-159f6e1b2b0d", e._sentryDebugIdIdentifier = "sentry-dbid-966549a6-6c0a-4a68-9c1e-159f6e1b2b0d");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a2e5e822-ea72-4ac4-a3ac-bc086bca2882", e._sentryDebugIdIdentifier = "sentry-dbid-a2e5e822-ea72-4ac4-a3ac-bc086bca2882");
4
4
  } catch (e) {}
5
- import { n as httpGet, s as useApiContext } from "./http-DsJtugN1.js";
5
+ import { n as httpGet, s as useApiContext } from "./http-C8rt2BZk.js";
6
6
  import { o as entriesOf } from "./genUtils-nphCwt1A.js";
7
7
  import { t as Scenarios } from "./scenarios-nibtmpSb.js";
8
8
  import { skipToken, useQuery } from "@tanstack/preact-query";
9
9
  //#region src/api/configurations/useScenarios.ts
10
10
  var getScenarios = async (legalEntityId, baseUrl, legalEntityType, countryCode) => {
11
+ const scenarioParams = new URLSearchParams({
12
+ countryCode,
13
+ legalEntityType
14
+ });
11
15
  return httpGet({
12
16
  baseUrl,
13
- path: `legalEntities/${legalEntityId}/configurations/scenarios?${new URLSearchParams({
14
- countryCode,
15
- legalEntityType
16
- })}`
17
+ path: `legalEntities/${legalEntityId}/configurations/scenarios?${scenarioParams}`
17
18
  });
18
19
  };
19
20
  /**
@@ -1,12 +1,15 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ca23b85e-af40-4c2d-9581-5488fbb1e8ea", e._sentryDebugIdIdentifier = "sentry-dbid-ca23b85e-af40-4c2d-9581-5488fbb1e8ea");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7b5ce29e-29ab-47af-b7d5-e3bfa3a95632", e._sentryDebugIdIdentifier = "sentry-dbid-7b5ce29e-29ab-47af-b7d5-e3bfa3a95632");
4
4
  } catch (e) {}
5
- import { t as SettingsContext } from "./SettingsContext-Dl-9WWCI.js";
6
5
  import { useContext } from "preact/hooks";
6
+ import { createContext } from "preact";
7
+ //#region src/context/SettingsContext/SettingsContext.tsx
8
+ var SettingsContext = createContext(void 0);
9
+ //#endregion
7
10
  //#region src/context/SettingsContext/useSettingsContext.ts
8
11
  function useSettingsContext() {
9
12
  return useContext(SettingsContext);
10
13
  }
11
14
  //#endregion
12
- export { useSettingsContext as t };
15
+ export { SettingsContext as n, useSettingsContext as t };
@@ -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] = "e1981413-e508-47fc-9dde-beda07186c2b", e._sentryDebugIdIdentifier = "sentry-dbid-e1981413-e508-47fc-9dde-beda07186c2b");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b750b901-9887-4856-afcc-0f4ae1bfba85", e._sentryDebugIdIdentifier = "sentry-dbid-b750b901-9887-4856-afcc-0f4ae1bfba85");
4
4
  } catch (e) {}
5
- import { t as useAnalyticsContext } from "./useAnalyticsContext-gSnRnYgV.js";
5
+ import { i as useAnalyticsContext } from "./Modal-Dx_NESnV.js";
6
6
  import { useRef } from "preact/hooks";
7
7
  //#region src/hooks/useTaskLandedEvent.ts
8
8
  /**
@@ -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] = "746863d3-8d4c-4730-ad6b-75b86974ca34", e._sentryDebugIdIdentifier = "sentry-dbid-746863d3-8d4c-4730-ad6b-75b86974ca34");
4
4
  } catch (e) {}
5
- import { n as httpGet, s as useApiContext } from "./http-DsJtugN1.js";
5
+ import { n as httpGet, s as useApiContext } from "./http-C8rt2BZk.js";
6
6
  import { useQuery } from "@tanstack/preact-query";
7
7
  //#region src/api/taskStatus/useTaskStatus.ts
8
8
  var getTaskStatus = async (legalEntityId, baseUrl, taskType) => {
@@ -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] = "5b36cd3a-6b38-4f82-927e-787030d50345", e._sentryDebugIdIdentifier = "sentry-dbid-5b36cd3a-6b38-4f82-927e-787030d50345");
4
4
  } catch (e) {}
5
- import { n as httpGet, s as useApiContext } from "./http-DsJtugN1.js";
5
+ import { n as httpGet, s as useApiContext } from "./http-C8rt2BZk.js";
6
6
  import { useQuery } from "@tanstack/preact-query";
7
7
  //#region src/api/termsOfService/useTermsOfServiceAcceptanceInfos.ts
8
8
  var getTermsOfServiceAcceptanceInfos = async (legalEntityId, baseUrl) => {
@@ -1,21 +1,22 @@
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] = "6e5e0b05-b8cf-43d0-b9a4-6fa01d48f1df", e._sentryDebugIdIdentifier = "sentry-dbid-6e5e0b05-b8cf-43d0-b9a4-6fa01d48f1df");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "05a78e15-2e03-4703-9036-218f78dec073", e._sentryDebugIdIdentifier = "sentry-dbid-05a78e15-2e03-4703-9036-218f78dec073");
4
4
  } catch (e) {}
5
- import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-QQXN6YOm.js";
6
- import { t as useToggleContext } from "./useToggleContext-B_YexrbT.js";
7
- import { s as getOwnEntityAssociations } from "./entityAssociationUtil-CY0grcyH.js";
5
+ import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CxeMoCm4.js";
6
+ import { s as getOwnEntityAssociations } from "./entityAssociationUtil-BlfcBl3i.js";
8
7
  import { r as TrustMemberTypes } from "./trustMemberGuidance-BpeDHAJP.js";
9
- import { t as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-BdcoiUby.js";
10
- import { n as getLegalEntityNameBasedOnType } from "./getName-DgxRqagk.js";
8
+ import { i as useToggleContext } from "./Checkbox-zAGhz7rC.js";
9
+ import { n as useAssociatedLegalEntity } from "./getFormSlice-CxtXJ0-P.js";
10
+ import { n as getLegalEntityNameBasedOnType } from "./getName-Cii7OyRd.js";
11
11
  import { useMemo } from "preact/hooks";
12
12
  import { skipToken } from "@tanstack/preact-query";
13
13
  //#region src/components/Trust/hooks/useExemptSettlor.ts
14
14
  var useExemptSettlor = ({ trust }) => {
15
- const { data } = useLegalEntity(useMemo(() => {
15
+ const matchingAssociation = useMemo(() => {
16
16
  if (!trust) return void 0;
17
17
  return getOwnEntityAssociations(trust).find((association) => association.type === TrustMemberTypes.SETTLOR && Boolean(association.settlorExemptionReason));
18
- }, [trust])?.legalEntityId ?? skipToken);
18
+ }, [trust]);
19
+ const { data } = useLegalEntity(matchingAssociation?.legalEntityId ?? skipToken);
19
20
  return data;
20
21
  };
21
22
  //#endregion
@@ -1,12 +1,12 @@
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] = "6ad2dcd0-961f-43c9-b92b-4a0d97c2b11c", e._sentryDebugIdIdentifier = "sentry-dbid-6ad2dcd0-961f-43c9-b92b-4a0d97c2b11c");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c5e5b524-4217-40b9-a031-77083d6aa8ec", e._sentryDebugIdIdentifier = "sentry-dbid-c5e5b524-4217-40b9-a031-77083d6aa8ec");
4
4
  } catch (e) {}
5
- import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-QQXN6YOm.js";
6
- import { s as getOwnEntityAssociations } from "./entityAssociationUtil-CY0grcyH.js";
7
- import { t as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-BdcoiUby.js";
5
+ import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CxeMoCm4.js";
6
+ import { s as getOwnEntityAssociations } from "./entityAssociationUtil-BlfcBl3i.js";
7
+ import { n as useAssociatedLegalEntity } from "./getFormSlice-CxtXJ0-P.js";
8
8
  import { t as UnincorporatedPartnershipMemberTypes } from "./unincorporatedPartnership-BbNowjM2.js";
9
- import { n as getLegalEntityNameBasedOnType } from "./getName-DgxRqagk.js";
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
12
12
  var getMemberOwnerId = (memberId, entityAssociations) => entityAssociations.find((association) => association.associatorId === memberId)?.legalEntityId;
@@ -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] = "2cb99971-117c-40c7-85c7-7ce5a6aea4bc", e._sentryDebugIdIdentifier = "sentry-dbid-2cb99971-117c-40c7-85c7-7ce5a6aea4bc");
4
4
  } catch (e) {}
5
- import { r as httpPost, s as useApiContext } from "./http-DsJtugN1.js";
5
+ import { r as httpPost, s as useApiContext } from "./http-C8rt2BZk.js";
6
6
  import { useMutation } from "@tanstack/preact-query";
7
7
  //#region src/api/businessLines/useCreateBusinessLine.ts
8
8
  var createBusinessLine = async (legalEntityId, baseUrl, data) => {
@@ -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] = "ab15e96f-0257-4479-a708-72838ac9680e", e._sentryDebugIdIdentifier = "sentry-dbid-ab15e96f-0257-4479-a708-72838ac9680e");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4acb2c32-46dc-41f9-9021-5f6fe840121e", e._sentryDebugIdIdentifier = "sentry-dbid-4acb2c32-46dc-41f9-9021-5f6fe840121e");
4
4
  } catch (e) {}
5
- import { t as getCapabilities } from "./processCapabilities-CWE5UFt8.js";
5
+ import { t as getCapabilities } from "./processCapabilities-FL4-KAbd.js";
6
6
  //#region src/adaptiveWorkflow/utils/utils.ts
7
7
  /** Read a value from a nested object using dot-notation path. */
8
8
  function getNestedValue(obj, path) {
@@ -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] = "236a25ea-3eb0-4035-b1a8-2355787bbd4e", e._sentryDebugIdIdentifier = "sentry-dbid-236a25ea-3eb0-4035-b1a8-2355787bbd4e");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "deed1601-7dff-438a-b570-d925de45a955", e._sentryDebugIdIdentifier = "sentry-dbid-deed1601-7dff-438a-b570-d925de45a955");
4
4
  } catch (e) {}
5
5
  import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BK-HHa65.js";
6
6
  import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
7
- import { t as getCapabilities } from "./processCapabilities-CWE5UFt8.js";
8
- import { d as hasOwnEntityAssociationOfType } from "./entityAssociationUtil-CY0grcyH.js";
9
- import { t as allowIndividualWithoutSoleProp } from "./accountHolderUtils-CAu4V0ed.js";
10
- import { r as SOLE_PROP_COUNTRIES, t as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./legalArrangementUtils-C68JdH6I.js";
7
+ import { t as getCapabilities } from "./processCapabilities-FL4-KAbd.js";
8
+ import { d as hasOwnEntityAssociationOfType } from "./entityAssociationUtil-BlfcBl3i.js";
9
+ import { t as allowIndividualWithoutSoleProp } from "./accountHolderUtils-CLuKAgaj.js";
10
+ import { r as SOLE_PROP_COUNTRIES, t as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./legalArrangementUtils-Crgt_L7h.js";
11
11
  //#region src/components/Shared/forms/BusinessTypeSelection/utils.ts
12
12
  var TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
13
13
  var BUSINESS_BANK_ACCOUNT_COUNTRIES = [
@@ -50,7 +50,6 @@ var getBusinessType = (businessTypeItems, country, accountHolder, legalEntityTyp
50
50
  if (allowIndividualWithoutSoleProp(capabilities)) return findBusinessType("individual");
51
51
  if (SOLE_PROP_COUNTRIES.includes(country)) return findBusinessType("soleProprietorship");
52
52
  return findBusinessType("company");
53
- default:
54
53
  }
55
54
  };
56
55
  var businessTypeMetadata = {
@@ -0,0 +1,214 @@
1
+ try {
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] = "074fdd02-2bfe-467c-b3ca-58f3c47d4ef5", e._sentryDebugIdIdentifier = "sentry-dbid-074fdd02-2bfe-467c-b3ca-58f3c47d4ef5");
4
+ } catch (e) {}
5
+ import { r as useTranslation } from "./translation-CpH8D2NK.js";
6
+ import { t as Typography } from "./Typography-CAc_f5Iq.js";
7
+ import { t as Button } from "./Button-Dwr6jvJZ.js";
8
+ import { i as useAnalyticsContext, t as Modal } from "./Modal-Dx_NESnV.js";
9
+ import { t as useId } from "./useId-CEUET5IS.js";
10
+ import { useEffect, useState } from "preact/hooks";
11
+ import cx from "classnames";
12
+ import { jsx, jsxs } from "preact/jsx-runtime";
13
+ var Confirm_module_default = {
14
+ confirm: "_confirm_1aprd_1",
15
+ "confirm-message": "_confirm-message_1aprd_8",
16
+ confirmMessage: "_confirm-message_1aprd_8",
17
+ "confirm-actions": "_confirm-actions_1aprd_14",
18
+ confirmActions: "_confirm-actions_1aprd_14"
19
+ };
20
+ //#endregion
21
+ //#region src/components/ui/molecules/Confirm/Confirm.tsx
22
+ var Confirm = ({ description, cancelText, confirmText, critical = false, onCancel, onConfirm, title, analyticsEventLabel }) => {
23
+ const { t } = useTranslation("ui");
24
+ const userEvents = useAnalyticsContext();
25
+ const [isInFlight, setIsInFlight] = useState(false);
26
+ const showCancelButton = onCancel !== void 0;
27
+ const buttonVariant = critical ? "critical" : "primary";
28
+ useEffect(() => {
29
+ userEvents.addTaskEvent("Opened modal", {
30
+ actionType: "open",
31
+ label: analyticsEventLabel
32
+ });
33
+ }, []);
34
+ const handleConfirm = async () => {
35
+ setIsInFlight(true);
36
+ try {
37
+ await onConfirm();
38
+ } finally {
39
+ setIsInFlight(false);
40
+ }
41
+ };
42
+ return /* @__PURE__ */ jsx(Modal, {
43
+ size: "small",
44
+ transition: "dropIn",
45
+ showCloseButton: false,
46
+ ariaLabel: title,
47
+ children: /* @__PURE__ */ jsxs("div", {
48
+ className: Confirm_module_default.confirm,
49
+ children: [/* @__PURE__ */ jsxs("div", {
50
+ className: Confirm_module_default.confirmMessage,
51
+ children: [/* @__PURE__ */ jsx(Typography, {
52
+ variant: "title",
53
+ el: "h3",
54
+ children: title
55
+ }), description && /* @__PURE__ */ jsx(Typography, {
56
+ variant: "body",
57
+ el: "p",
58
+ children: description
59
+ })]
60
+ }), /* @__PURE__ */ jsxs("div", {
61
+ className: Confirm_module_default.confirmActions,
62
+ children: [showCancelButton && /* @__PURE__ */ jsx(Button, {
63
+ onClick: onCancel,
64
+ variant: "secondary",
65
+ disabled: isInFlight,
66
+ children: cancelText ?? t(($) => $["cancel"])
67
+ }), /* @__PURE__ */ jsx(Button, {
68
+ onClick: handleConfirm,
69
+ variant: buttonVariant,
70
+ loading: isInFlight,
71
+ children: confirmText ?? t(($) => $["confirm"])
72
+ })]
73
+ })]
74
+ })
75
+ });
76
+ };
77
+ var StructuredList_module_default = {
78
+ "structured-list": "_structured-list_w3dv7_1",
79
+ structuredList: "_structured-list_w3dv7_1",
80
+ "structured-list-section-field": "_structured-list-section-field_w3dv7_6",
81
+ structuredListSectionField: "_structured-list-section-field_w3dv7_6",
82
+ "structured-list-section-label": "_structured-list-section-label_w3dv7_22",
83
+ structuredListSectionLabel: "_structured-list-section-label_w3dv7_22",
84
+ "structured-list-section-data": "_structured-list-section-data_w3dv7_23",
85
+ structuredListSectionData: "_structured-list-section-data_w3dv7_23",
86
+ "structured-list-section-detail": "_structured-list-section-detail_w3dv7_46",
87
+ structuredListSectionDetail: "_structured-list-section-detail_w3dv7_46"
88
+ };
89
+ //#endregion
90
+ //#region src/components/ui/atoms/StructuredList/StructuredList.tsx
91
+ var StructuredList = ({ className, detailsGroupClassName, items }) => {
92
+ const structuredListClassNames = cx(StructuredList_module_default.structuredList, className);
93
+ const detailsGroupClassNames = cx(StructuredList_module_default.structuredListSectionData, detailsGroupClassName);
94
+ return /* @__PURE__ */ jsx("dl", {
95
+ className: structuredListClassNames,
96
+ children: items.map((item) => /* @__PURE__ */ jsx(StructuredListItemEl, {
97
+ item,
98
+ detailsGroupClassNames
99
+ }, `${item.term}${item.details}`))
100
+ });
101
+ };
102
+ var StructuredListItemEl = ({ item: { term, details }, detailsGroupClassNames }) => {
103
+ const uniqueId = useId("structured-list-item");
104
+ return /* @__PURE__ */ jsxs("div", {
105
+ className: StructuredList_module_default.structuredListSectionField,
106
+ children: [/* @__PURE__ */ jsx("dt", {
107
+ id: uniqueId,
108
+ className: StructuredList_module_default.structuredListSectionLabel,
109
+ children: term
110
+ }), Array.isArray(details) ? /* @__PURE__ */ jsx("div", {
111
+ className: detailsGroupClassNames,
112
+ children: details.map((detail) => /* @__PURE__ */ jsx("dd", {
113
+ "aria-labelledby": uniqueId,
114
+ className: StructuredList_module_default.structuredListSectionDetail,
115
+ children: detail
116
+ }))
117
+ }) : /* @__PURE__ */ jsx("dd", {
118
+ "aria-labelledby": uniqueId,
119
+ className: detailsGroupClassNames,
120
+ children: details
121
+ })]
122
+ });
123
+ };
124
+ //#endregion
125
+ //#region src/utils/mapping/utils.ts
126
+ /**
127
+ * returns the indicated property of an object, if it exists.
128
+ *
129
+ * @param object - The object to query
130
+ * @param path - The property name or path to the property
131
+ * @returns The value at `obj[p]`.
132
+
133
+ * @example
134
+ * ```
135
+ * getProp({x: 100}, 'x'); //=> 100
136
+ * getProp({}, 'x'); //=> undefined
137
+ * ```
138
+ */
139
+ function getProp(object, path) {
140
+ return path.split(".").reduce((xs, x) => xs && xs[x] !== void 0 ? xs[x] : void 0, object);
141
+ }
142
+ /**
143
+ * assigns the value provided to the key in targetObject.
144
+ * @param path - keys separated by a delimiter.
145
+ * @param obj - object to which value will be assigned
146
+ * @param val - value to be assigned
147
+ *
148
+ * @example
149
+ * ```
150
+ * targetObject = {};
151
+ * assignToProp('x.y.z', targetObject, 'foo');
152
+ * console.log(targetObject); => {x:{y:{z:'foo'}}}
153
+ * ```
154
+ */
155
+ function assignToProp(path, obj, val) {
156
+ const splitPath = path.split(".");
157
+ const pathDepth = splitPath.length;
158
+ let currentObj = obj;
159
+ splitPath.forEach((key, index) => {
160
+ if (index === pathDepth - 1) currentObj[key] = val;
161
+ else {
162
+ if (!currentObj[key]) currentObj[key] = {};
163
+ currentObj = currentObj[key];
164
+ }
165
+ });
166
+ }
167
+ function deleteProp(path, obj) {
168
+ const splitPath = path.split(".");
169
+ const pathDepth = splitPath.length;
170
+ let currentObj = obj;
171
+ splitPath.forEach((key, index) => {
172
+ if (currentObj[key] === void 0) throw Error(`The given path does not exist on the object: ${key} (${path})`);
173
+ if (index === pathDepth - 1) delete currentObj[key];
174
+ else currentObj = currentObj[key];
175
+ });
176
+ }
177
+ /**
178
+ * @param obj - source object
179
+ * @param mapping - key mappings from source to target object structure
180
+ * @example
181
+ * ```
182
+ * let mapping={ 'a.b': 'x.y.z'}
183
+ * let obj = {x: {y: {z: 'foo'}}}
184
+ * formatObject(obj, mapping) => {a:{b:'foo'}}
185
+ * ```
186
+ */
187
+ var formatObject = (obj, mapping) => {
188
+ const formattedObj = {};
189
+ Object.entries(mapping).forEach(([targetKey, sourceKey]) => {
190
+ const value = getProp(obj, sourceKey);
191
+ if (value !== void 0) assignToProp(targetKey, formattedObj, value);
192
+ });
193
+ return formattedObj;
194
+ };
195
+ /**
196
+ * @param obj - source object
197
+ * @param mapping - key mappings from target to source object structure
198
+ * @example
199
+ * ```
200
+ * let mapping={ 'a.b': 'x.y.z'}
201
+ * let obj = {x: {y: {z: 'foo'}}}
202
+ * formatObject(obj, mapping) => {a:{b:'foo'}}
203
+ * ```
204
+ */
205
+ var mapWith = (obj, mapping) => {
206
+ const formattedObj = {};
207
+ for (const [sourceKey, targetKey] of Object.entries(mapping)) {
208
+ const value = getProp(obj, sourceKey);
209
+ if (value !== void 0) assignToProp(targetKey, formattedObj, value);
210
+ }
211
+ return formattedObj;
212
+ };
213
+ //#endregion
214
+ export { mapWith as a, getProp as i, deleteProp as n, StructuredList as o, formatObject as r, Confirm as s, assignToProp as t };