@adyen/kyc-components 4.13.0-beta.6 → 4.14.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 (1363) hide show
  1. package/dist/4-people-Dxu4nHSX.js +35 -0
  2. package/dist/AcceptTermsOfServiceComponent-BEcoPLhK.js +650 -0
  3. package/dist/Accordion-CSpLDvKK.js +111 -0
  4. package/dist/AccountSetupRejected-CKuhuj2C.js +18 -0
  5. package/dist/AdaptiveWorkflow-C9g6vb9X.js +1900 -0
  6. package/dist/AdaptiveWorkflowComponent-Bquocjbq.js +164 -0
  7. package/dist/Address-D5zWC8Kk.js +960 -0
  8. package/dist/Avatar-DqBKHRAr.js +54 -0
  9. package/dist/BusinessFinancingDropin-ChxiPLjD.js +1799 -0
  10. package/dist/BusinessFinancingPage-Du6ZF5bL.js +89 -0
  11. package/dist/BusinessTypeSelectionPage-hcxkY2zl.js +436 -0
  12. package/dist/Button-DBN5gM_d.js +189 -0
  13. package/dist/Card-BCGLpdw7.js +71 -0
  14. package/dist/Checkbox-tUvgt59R.js +55 -0
  15. package/dist/CompanyRegistrationNumberTypeSelector-BF5XC5w0.js +1074 -0
  16. package/dist/Confirm-C4GotFqm.js +75 -0
  17. package/dist/ConstitutionalDocument-C7TXcsUK.js +1124 -0
  18. package/dist/ContactDetails-ugF7Py8x.js +513 -0
  19. package/dist/ContextGuidance-7xygTSEo.js +29 -0
  20. package/dist/CountryField-zsA_yVzc.js +37 -0
  21. package/dist/Currency-C2HN8hvK.js +191 -0
  22. package/dist/CustomerSupport-DUeV56Vm.js +129 -0
  23. package/dist/DebugModal-BZfX15KU.js +451 -0
  24. package/dist/DecisionMakerDetails-B4RIIKw4.js +510 -0
  25. package/dist/DecisionMakerDetailsPage-zms9XVrA.js +104 -0
  26. package/dist/DecisionMakers-DyxOlxTk.js +587 -0
  27. package/dist/DetailViewLayout-DNCGEd7b.js +68 -0
  28. package/dist/Divider-BENvVRnz.js +11 -0
  29. package/dist/Dropzone-ER9yCx09.js +236 -0
  30. package/dist/EmbeddedStatus-BKVqJCeu.js +128 -0
  31. package/dist/EndStateLayout-DfThkkI3.js +82 -0
  32. package/dist/EntityAssociation-6G8Fce4W.js +163 -0
  33. package/dist/ErrorPanel-ct3r_pLg.js +185 -0
  34. package/dist/Field-CQWAWo5U.js +155 -0
  35. package/dist/FormNavigation-BwLxW6W7.js +115 -0
  36. package/dist/Individual.rules-DrC9MYN9.js +295 -0
  37. package/dist/IndividualDropin-BusKTvgU.js +3899 -0
  38. package/dist/InputDate-cTgjAhzm.js +52 -0
  39. package/dist/InputText-8abfNtHh.js +119 -0
  40. package/dist/Introduction-Dqg8SXWH.js +326 -0
  41. package/dist/InvitedDecisionMakerComponent-DDYLBgxY.js +415 -0
  42. package/dist/JpAddress-CCm4vAW3.js +322 -0
  43. package/dist/LandingLayout-Dg0sEASR.js +76 -0
  44. package/dist/LegalCompanyNameField-LcnS0m3Z.js +108 -0
  45. package/dist/LegalRepresentativeDetailsPage-BswNtI-l.js +74 -0
  46. package/dist/Link-DtaYQWb-.js +32 -0
  47. package/dist/List-ywoRPg-q.js +71 -0
  48. package/dist/ListItem-CZWSCEeJ.js +70 -0
  49. package/dist/MaskedInput-C_rP9ADy.js +715 -0
  50. package/dist/MaybeModal-BbUiSkZe.js +24 -0
  51. package/dist/Modal-BgeE7zM2.js +129 -0
  52. package/dist/Name-DtDvWkku.js +61 -0
  53. package/dist/NewSummary-DnJjib28.js +72 -0
  54. package/dist/PayoutDetailsDropinMultiForm-C6m5XRhP.js +4095 -0
  55. package/dist/PayoutDetailsPage-og_7_YXt.js +69 -0
  56. package/dist/ProgressBar-DWFxLMUA.js +38 -0
  57. package/dist/RadioGroup-DlzXLoMN.js +84 -0
  58. package/dist/Review-DF69umo8.js +99 -0
  59. package/dist/RootBusinessDetailsPage-kgWj5sVC.js +69 -0
  60. package/dist/RootBusinessLinesPage-Cq7Zr5j4.js +1449 -0
  61. package/dist/RootIndividualDetailsPage-Be-0uc3i.js +80 -0
  62. package/dist/Select-vMYP9lm8.js +776 -0
  63. package/dist/SignPCIComponent-B2yY79W_.js +369 -0
  64. package/dist/SingpassSelection-5bZQX8hC.js +156 -0
  65. package/dist/SoleProprietorshipPage-CSBb_jpV.js +70 -0
  66. package/dist/SourceOfFundsPage-DRvnw5OW.js +2772 -0
  67. package/dist/Spacer-CEHRO4Ml.js +11 -0
  68. package/dist/StackLayout-IUdNMDgW.js +105 -0
  69. package/dist/StructuredList-CUyo9-3i.js +56 -0
  70. package/dist/Summary-DdatuZ77.js +225 -0
  71. package/dist/Tag-CNeDHqKp.js +39 -0
  72. package/dist/TaskListItem-BywE94Ej.js +169 -0
  73. package/dist/TaskVerificationStatus-gGr34dp5.js +124 -0
  74. package/dist/TaxInformationField-C5s9CTSB.js +472 -0
  75. package/dist/TaxReportingDropin-ucEg1NN9.js +474 -0
  76. package/dist/TextArea-C2DkQ41s.js +87 -0
  77. package/dist/TileGroup-B7-q4NXH.js +170 -0
  78. package/dist/TrustDetailsPage-Bh4izWzj.js +1097 -0
  79. package/dist/TrustMemberCompanyPage-BtEWDCNS.js +109 -0
  80. package/dist/TrustMemberIndividualPage-VB6suiF3.js +109 -0
  81. package/dist/TrustMemberRoleAndTypePage-DRXdmZBo.js +931 -0
  82. package/dist/TrustMembersOverview-yZICrIOc.js +447 -0
  83. package/dist/UnincorporatedPartnershipIndividualPage-CKZflWJL.js +79 -0
  84. package/dist/UnincorporatedPartnershipMemberCompanyPage-BgQ4z0cN.js +79 -0
  85. package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-BD-yaKSD.js +270 -0
  86. package/dist/UnincorporatedPartnershipMembersOverview-cQobQZbw.js +157 -0
  87. package/dist/VerificationErrorAlert-DG1p37BH.js +64 -0
  88. package/dist/accountHolderUtils-TpJnt1z1.js +44 -0
  89. package/dist/adyen-business-financing.js +88 -86
  90. package/dist/adyen-individual-configuration.js +91 -89
  91. package/dist/adyen-individual-status.js +36 -36
  92. package/dist/adyen-invited-decision-maker.js +3 -3
  93. package/dist/adyen-onboarding.js +129 -138
  94. package/dist/adyen-terms-of-service-management.js +4 -4
  95. package/dist/adyen-terms-of-service-status.js +59 -58
  96. package/dist/adyen-transfer-instrument-configuration.js +87 -85
  97. package/dist/adyen-transfer-instrument-management.js +103 -105
  98. package/dist/adyen-verification-status.js +37 -38
  99. package/dist/arrow-right-Bk-ewsex.js +20 -0
  100. package/dist/bafinUtils-BKq-s1Ka.js +112 -0
  101. package/dist/bag-9BNq_QQO.js +20 -0
  102. package/dist/bank-BRbxxVK5.js +20 -0
  103. package/dist/bg-BG-CzXoDIev.js +61 -0
  104. package/dist/bg-BG-DYnhOtaS.js +7 -0
  105. package/dist/bg-BG-FthOeqMs.js +7 -0
  106. package/dist/bg-BG-KjJy4fjZ.js +32 -0
  107. package/dist/bg-BG-L5wKtmmz.js +7 -0
  108. package/dist/bg-BG-VIyyeYUh.js +7 -0
  109. package/dist/bg-BG-uuNDTOoN.js +7 -0
  110. package/dist/bin-DE1613_5.js +30 -0
  111. package/dist/capital-aNk7ragc.js +23 -0
  112. package/dist/cash-stack-DuKKc4Qj.js +33 -0
  113. package/dist/certificate-9gDKvXCm.js +23 -0
  114. package/dist/checkmark-BuqDN4WO.js +20 -0
  115. package/dist/checkmark-circle-OqcwA6N6.js +28 -0
  116. package/dist/checkmark-circle-fill-BfcUovCf.js +30 -0
  117. package/dist/checkmark-small-CBORXg_J.js +20 -0
  118. package/dist/chevron-down-CjRta08O.js +20 -0
  119. package/dist/chevron-left-BEm04mIh.js +20 -0
  120. package/dist/chevron-right-B2GkHG0J.js +20 -0
  121. package/dist/chevron-up-BKfe5Btb.js +20 -0
  122. package/dist/circle-C-uuRI8F.js +30 -0
  123. package/dist/circle-small-filled-Bkh5_ZEu.js +20 -0
  124. package/dist/clock-BWfWiMxz.js +28 -0
  125. package/dist/coins-Cw-jDTUz.js +30 -0
  126. package/dist/constants-CQUBFYB0.js +232 -0
  127. package/dist/constants-DrtMSDfx.js +142 -0
  128. package/dist/contract-PFVBW8xa.js +20 -0
  129. package/dist/countries-CPj8hkLs.js +41 -0
  130. package/dist/country-BxigZW1s.js +13 -0
  131. package/dist/cross-B37j1-r4.js +20 -0
  132. package/dist/cross-circle-fill-CcjwpLj2.js +30 -0
  133. package/dist/cross-circle-fill-small-CJ4fddNo.js +20 -0
  134. package/dist/cs-CZ-Cu1v5FA8.js +7 -0
  135. package/dist/cs-CZ-D4Pt8Gsx.js +7 -0
  136. package/dist/cs-CZ-D8nnXFEh.js +7 -0
  137. package/dist/cs-CZ-DvmlHVW2.js +7 -0
  138. package/dist/cs-CZ-JUprtMsH.js +61 -0
  139. package/dist/cs-CZ-m-2EDC49.js +32 -0
  140. package/dist/cs-CZ-nMdCNolB.js +7 -0
  141. package/dist/da-DK-BF_wiKbj.js +7 -0
  142. package/dist/da-DK-C4wRpqMC.js +7 -0
  143. package/dist/da-DK-C8TyCAru.js +32 -0
  144. package/dist/da-DK-Cq-1LB6T.js +7 -0
  145. package/dist/da-DK-D2RrHm98.js +61 -0
  146. package/dist/da-DK-DDQUbqDb.js +7 -0
  147. package/dist/da-DK-DjAV5d9A.js +7 -0
  148. package/dist/de-DE-B3sSNcDv.js +7 -0
  149. package/dist/de-DE-BOH-YgTt.js +7 -0
  150. package/dist/de-DE-Bc55gBv4.js +7 -0
  151. package/dist/de-DE-DdOrCrMa.js +7 -0
  152. package/dist/de-DE-QoAah1C3.js +32 -0
  153. package/dist/de-DE-o8i-cfnA.js +61 -0
  154. package/dist/de-DE-z8FJw9Yv.js +7 -0
  155. package/dist/decisionMaker-Dt53wKqO.js +146 -0
  156. package/dist/decisionMakerRoles-DIG8zo1C.js +46 -0
  157. package/dist/document-1-B3vw8uuK.js +20 -0
  158. package/dist/document-person-CERdIfH0.js +28 -0
  159. package/dist/download-CthdK4dV.js +23 -0
  160. package/dist/edit-1-BW7NwWP7.js +20 -0
  161. package/dist/el-GR-BAhj1djs.js +61 -0
  162. package/dist/el-GR-Bm9lqjyB.js +7 -0
  163. package/dist/el-GR-C0N0zQ3U.js +32 -0
  164. package/dist/el-GR-C5NDkWDr.js +7 -0
  165. package/dist/el-GR-Cr-3NgPk.js +7 -0
  166. package/dist/el-GR-DHiKsTJQ.js +7 -0
  167. package/dist/el-GR-DaAMIpOR.js +7 -0
  168. package/dist/en-US-COWs58AF.js +61 -0
  169. package/dist/en-US-xwcTnMwf.js +7 -0
  170. package/dist/entityAssociationUtil-C-wflW8q.js +59 -0
  171. package/dist/es-ES-BNjxmV8Q.js +61 -0
  172. package/dist/es-ES-C6Rs-ie9.js +7 -0
  173. package/dist/es-ES-CDFWEg9c.js +7 -0
  174. package/dist/es-ES-D5rPI9Qc.js +32 -0
  175. package/dist/es-ES-_w6Ygc8E.js +7 -0
  176. package/dist/es-ES-tVQDUTJN.js +7 -0
  177. package/dist/es-ES-uVSZu-EQ.js +7 -0
  178. package/dist/es-LA-BDxay2SJ.js +48 -0
  179. package/dist/es-LA-BIPVrwXX.js +61 -0
  180. package/dist/es-LA-BU5Op1kh.js +7 -0
  181. package/dist/es-LA-BvOPmuqM.js +23 -0
  182. package/dist/es-LA-C58S3BbB.js +32 -0
  183. package/dist/es-LA-C7IleXTc.js +7 -0
  184. package/dist/es-LA-C8U1qPSu.js +26 -0
  185. package/dist/es-LA-CJdZb5eY.js +57 -0
  186. package/dist/es-LA-CvOdV_q1.js +18 -0
  187. package/dist/es-LA-Cxk68z4n.js +7 -0
  188. package/dist/es-LA-DMpf5gAW.js +70 -0
  189. package/dist/es-LA-DU9jNyAv.js +69 -0
  190. package/dist/es-LA-DWAiA7Dw.js +7 -0
  191. package/dist/es-LA-xilYCaSd.js +7 -0
  192. package/dist/et-EE-BCWBT8XN.js +7 -0
  193. package/dist/et-EE-BFb0MPqf.js +7 -0
  194. package/dist/et-EE-CG66kNTM.js +7 -0
  195. package/dist/et-EE-DEs2iukD.js +7 -0
  196. package/dist/et-EE-Dl6n-Am8.js +61 -0
  197. package/dist/et-EE-IiaprrVp.js +32 -0
  198. package/dist/et-EE-P4s_U3BI.js +7 -0
  199. package/dist/external-link-CFgynH5A.js +20 -0
  200. package/dist/fi-FI-8eStbIaM.js +7 -0
  201. package/dist/fi-FI-B-7uBAf5.js +7 -0
  202. package/dist/fi-FI-BI9sCCEP.js +7 -0
  203. package/dist/fi-FI-Bed2SzCG.js +7 -0
  204. package/dist/fi-FI-DdF7vjHQ.js +32 -0
  205. package/dist/fi-FI-DpgrKo5I.js +7 -0
  206. package/dist/fi-FI-T33BAikx.js +61 -0
  207. package/dist/formUtils-DVc3a6gf.js +78 -0
  208. package/dist/fr-FR-B8iVi3nn.js +7 -0
  209. package/dist/fr-FR-BN_jrAX4.js +7 -0
  210. package/dist/fr-FR-CDv300-8.js +7 -0
  211. package/dist/fr-FR-CRO4taJU.js +61 -0
  212. package/dist/fr-FR-D_qhjXEC.js +7 -0
  213. package/dist/fr-FR-_TkFnevF.js +7 -0
  214. package/dist/fr-FR-jPc-OwlY.js +32 -0
  215. package/dist/getLegalEntityCountry-BHh7Ux8v.js +17 -0
  216. package/dist/getName-D4ECvzcI.js +35 -0
  217. package/dist/getProblemsForEntity-CogrYbYP.js +16 -0
  218. package/dist/getTrustedDecisionMakers-DUpv5ug2.js +25 -0
  219. package/dist/gift-0jLCte2h.js +20 -0
  220. package/dist/graph-DrxuzQF7.js +32 -0
  221. package/dist/graph-up-4qLbS2Ds.js +38 -0
  222. package/dist/headquarter-3o2GHW5H.js +42 -0
  223. package/dist/hotel-pZlrEAK8.js +33 -0
  224. package/dist/hr-HR-Bt2ZduQN.js +7 -0
  225. package/dist/hr-HR-CXH5M5JZ.js +7 -0
  226. package/dist/hr-HR-CbEXwWeO.js +61 -0
  227. package/dist/hr-HR-DlIGxvkT.js +32 -0
  228. package/dist/hr-HR-DlPm5gxr.js +7 -0
  229. package/dist/hr-HR-DubR_a2h.js +7 -0
  230. package/dist/hr-HR-SwSOMPhJ.js +7 -0
  231. package/dist/http-DYzfwjcs.js +149 -0
  232. package/dist/hu-HU-B9JCbRow.js +61 -0
  233. package/dist/hu-HU-BqW_xlCb.js +7 -0
  234. package/dist/hu-HU-CK6lbZ-D.js +7 -0
  235. package/dist/hu-HU-D1ZZwcl0.js +7 -0
  236. package/dist/hu-HU-DTRbo1IU.js +7 -0
  237. package/dist/hu-HU-DicR116D.js +32 -0
  238. package/dist/hu-HU-NJaOrfnP.js +7 -0
  239. package/dist/image-tfgNnE3G.js +23 -0
  240. package/dist/info-DJW5JooY.js +32 -0
  241. package/dist/info-filled-C5mP6T4Z.js +32 -0
  242. package/dist/invalidateRootLegalEntity-B_H-aJ0s.js +51 -0
  243. package/dist/isEmpty-BVlBH98t.js +14 -0
  244. package/dist/it-IT-BVAe-EX_.js +32 -0
  245. package/dist/it-IT-BwxzsAX1.js +7 -0
  246. package/dist/it-IT-CVVOlFfY.js +7 -0
  247. package/dist/it-IT-Cnk7j_gC.js +7 -0
  248. package/dist/it-IT-DE_Dkl_X.js +61 -0
  249. package/dist/it-IT-DzzajnKQ.js +7 -0
  250. package/dist/it-IT-xc14pqAr.js +7 -0
  251. package/dist/ja-JP-B8sNFjt_.js +7 -0
  252. package/dist/ja-JP-BaD-vLXo.js +61 -0
  253. package/dist/ja-JP-BpNu5KzH.js +7 -0
  254. package/dist/ja-JP-CNCeHdxj.js +7 -0
  255. package/dist/ja-JP-ClFJvhe2.js +7 -0
  256. package/dist/ja-JP-DS8zN3mY.js +7 -0
  257. package/dist/ja-JP-Fu1XFofD.js +32 -0
  258. package/dist/japanSupportUtils-H5Zfox2v.js +11 -0
  259. package/dist/localizeDateString-DB-oTe60.js +35 -0
  260. package/dist/location-Dk0rAiaT.js +23 -0
  261. package/dist/lt-LT-5OY6az4F.js +61 -0
  262. package/dist/lt-LT-BJbA6rDr.js +7 -0
  263. package/dist/lt-LT-C9lXLzZA.js +7 -0
  264. package/dist/lt-LT-CTtqyA86.js +7 -0
  265. package/dist/lt-LT-D3ZUJfjr.js +7 -0
  266. package/dist/lt-LT-DfL5ey_8.js +32 -0
  267. package/dist/lt-LT-VP6qtMAw.js +7 -0
  268. package/dist/lv-LV-2Q8G1u4p.js +7 -0
  269. package/dist/lv-LV-BBbE9hg5.js +7 -0
  270. package/dist/lv-LV-CQI0LxVf.js +7 -0
  271. package/dist/lv-LV-CXifQKfG.js +7 -0
  272. package/dist/lv-LV-CqZT6L9i.js +32 -0
  273. package/dist/lv-LV-D_9V3gBo.js +7 -0
  274. package/dist/lv-LV-DjAUG4pi.js +61 -0
  275. package/dist/mail-DG7MBDNE.js +20 -0
  276. package/dist/mapExistingFile-CZB9JLAV.js +135 -0
  277. package/dist/mapJpAddressSchemaToAddressLocalizations-DUElzaoS.js +109 -0
  278. package/dist/mapLegalEntityToIndividualSchema-BsHNunzQ.js +207 -0
  279. package/dist/mapTransferInstrumentToPayoutAccount-DuqJ08ye.js +44 -0
  280. package/dist/minus-circle-filled-DglqAgJW.js +30 -0
  281. package/dist/nl-NL-7ddo0NCH.js +7 -0
  282. package/dist/nl-NL-BN5WtqQB.js +7 -0
  283. package/dist/nl-NL-Bv8Zk-6e.js +7 -0
  284. package/dist/nl-NL-C3cXv5PD.js +61 -0
  285. package/dist/nl-NL-CmlQQSLp.js +32 -0
  286. package/dist/nl-NL-DMdoFepr.js +7 -0
  287. package/dist/nl-NL-_NV5Dvt9.js +7 -0
  288. package/dist/no-NO-BatbPb3N.js +32 -0
  289. package/dist/no-NO-Bf-QR3EY.js +7 -0
  290. package/dist/no-NO-Chwg5Roi.js +7 -0
  291. package/dist/no-NO-CoDL_uMQ.js +7 -0
  292. package/dist/no-NO-Cor-jWuN.js +7 -0
  293. package/dist/no-NO-CwgewQst.js +7 -0
  294. package/dist/no-NO-DyMlgewS.js +61 -0
  295. package/dist/omitObscuredFieldsIfUnchanged-DDq-TIS9.js +20 -0
  296. package/dist/options-horizontal-CTUn7IEx.js +30 -0
  297. package/dist/partner-1StoI4_W.js +30 -0
  298. package/dist/patternValidators-DWouiOVO.js +73 -0
  299. package/dist/pay-by-link-plane-Sa_qkL8C.js +33 -0
  300. package/dist/payout-BAYSxSqU.js +38 -0
  301. package/dist/pdf-uNYg4Mqz.js +22315 -0
  302. package/dist/pdf.worker.min-gK7UJW5a.js +74644 -0
  303. package/dist/person-Da15_s3G.js +23 -0
  304. package/dist/pl-PL-Bgrz9oPS.js +7 -0
  305. package/dist/pl-PL-BzOubawD.js +7 -0
  306. package/dist/pl-PL-ClUTW9pd.js +61 -0
  307. package/dist/pl-PL-D-TVYshE.js +7 -0
  308. package/dist/pl-PL-DSbuyzBx.js +7 -0
  309. package/dist/pl-PL-Dd9fkdnr.js +7 -0
  310. package/dist/pl-PL-ZyxybmlP.js +32 -0
  311. package/dist/plus-BQccvKkd.js +20 -0
  312. package/dist/plus-circle-filled-CqC30FRL.js +30 -0
  313. package/dist/process-field-configurations-U459c7bG.js +279 -0
  314. package/dist/processCapabilities-hLmRus8U.js +870 -0
  315. package/dist/pt-BR-B2q9Nl16.js +7 -0
  316. package/dist/pt-BR-Bk2xOhdi.js +61 -0
  317. package/dist/pt-BR-DUAQ_vv4.js +7 -0
  318. package/dist/pt-BR-Dq0Sd1h9.js +32 -0
  319. package/dist/pt-BR-DwHag_mp.js +7 -0
  320. package/dist/pt-BR-n0GcsM-Q.js +7 -0
  321. package/dist/pt-BR-uhrvEANO2.js +7 -0
  322. package/dist/pt-PT-5O7ohkQD.js +61 -0
  323. package/dist/pt-PT-B6mC3m94.js +7 -0
  324. package/dist/pt-PT-BVcFY8gr.js +7 -0
  325. package/dist/pt-PT-BuM6Edx0.js +32 -0
  326. package/dist/pt-PT-C-mvV1ZJ.js +7 -0
  327. package/dist/pt-PT-CQQkh5PS.js +7 -0
  328. package/dist/pt-PT-Cz4rJgbi.js +7 -0
  329. package/dist/recurring-DSR1fNMh.js +23 -0
  330. package/dist/resolveEnvironment-Doi5jM7g.js +2500 -0
  331. package/dist/revenue-accelerate-CPhAVpPK.js +30 -0
  332. package/dist/ro-RO-BOV_LMAu.js +61 -0
  333. package/dist/ro-RO-BnZbYPEH.js +7 -0
  334. package/dist/ro-RO-ClCWcOZD.js +7 -0
  335. package/dist/ro-RO-CuooCG3m.js +7 -0
  336. package/dist/ro-RO-D3Yk1KoW.js +7 -0
  337. package/dist/ro-RO-DJjle7nF.js +32 -0
  338. package/dist/ro-RO-_BLhsnIB.js +7 -0
  339. package/dist/roleMetadata-bznvTmh3.js +56 -0
  340. package/dist/save-DQ-mJX8e.js +20 -0
  341. package/dist/search-DWqWTW_K.js +30 -0
  342. package/dist/show-BbhlD3IY.js +23 -0
  343. package/dist/sk-SK-BOc9IqyW.js +7 -0
  344. package/dist/sk-SK-BUGTKkOC.js +61 -0
  345. package/dist/sk-SK-CSPSMUYC.js +32 -0
  346. package/dist/sk-SK-CieZx5AS.js +7 -0
  347. package/dist/sk-SK-D3UYKttr.js +7 -0
  348. package/dist/sk-SK-DBHPBJm4.js +7 -0
  349. package/dist/sk-SK-DSaBObVa.js +7 -0
  350. package/dist/sl-SI-BQc61Sz2.js +7 -0
  351. package/dist/sl-SI-BkcElOhl.js +7 -0
  352. package/dist/sl-SI-C82Kr3vf.js +32 -0
  353. package/dist/sl-SI-DbVFyYEg.js +7 -0
  354. package/dist/sl-SI-DffYWi9P.js +61 -0
  355. package/dist/sl-SI-KEJYXISh.js +7 -0
  356. package/dist/sl-SI-dukW1tgW.js +7 -0
  357. package/dist/solution-payments-D4BORMsX.js +20 -0
  358. package/dist/store-DWaq3ZiC.js +20 -0
  359. package/dist/style.css +1151 -1151
  360. package/dist/styles-DYaAeu4q.js +6678 -0
  361. package/dist/sv-SE-Bhvd0GDr.js +7 -0
  362. package/dist/sv-SE-BlGBkLAA.js +7 -0
  363. package/dist/sv-SE-DT9jLSs2.js +32 -0
  364. package/dist/sv-SE-D_bagacj.js +61 -0
  365. package/dist/sv-SE-DkZ2LyW5.js +7 -0
  366. package/dist/sv-SE-DzsWB30f.js +7 -0
  367. package/dist/sv-SE-WmQ6EnrS.js +7 -0
  368. package/dist/terminal-1-crR-pS_R.js +30 -0
  369. package/dist/translation-ZXpd9jdD.js +915 -0
  370. package/dist/types/adaptiveWorkflow/component-registry.d.ts +6 -2
  371. package/dist/types/adaptiveWorkflow/components/Fields/IdentityNumber/IdentityNumberFieldGroup.d.ts +14 -0
  372. package/dist/types/adaptiveWorkflow/components/Fields/IdentityScreening/IdentityScreeningWorkflow.d.ts +19 -0
  373. package/dist/types/api/adaptive/adaptiveWorkflow.types.d.ts +1 -0
  374. package/dist/types/api/adaptive/useAdaptiveWorkflow.d.ts +1 -1
  375. package/dist/types/api/address/useAddressCleanse.d.ts +3 -3
  376. package/dist/types/api/address/useRetrieveAddress.d.ts +2 -2
  377. package/dist/types/api/address/useRetrieveFromPostcodeJp.d.ts +2 -2
  378. package/dist/types/api/address/useSearchAddress.d.ts +2 -2
  379. package/dist/types/api/businessLines/useBusinessLines.d.ts +1 -1
  380. package/dist/types/api/companyDataSet/companyDataset.types.d.ts +3 -6
  381. package/dist/types/api/companySearch/useCompanySearch.d.ts +2 -2
  382. package/dist/types/api/configurations/useSupportedCountries.d.ts +1 -1
  383. package/dist/types/api/configurations/useTaskTypes.d.ts +1 -1
  384. package/dist/types/api/configurations/useVersionConfiguration.d.ts +2 -2
  385. package/dist/types/api/datasets/useLegalForms.d.ts +1 -1
  386. package/dist/types/api/datasets/useNaceCodes.d.ts +1 -1
  387. package/dist/types/api/datasets/useSourceOfFundsTypes.d.ts +1 -1
  388. package/dist/types/api/documents/useDocument.d.ts +1 -1
  389. package/dist/types/api/documents/useDocuments.d.ts +1 -1
  390. package/dist/types/api/idNowProvider/useIdNowProvider.d.ts +3 -3
  391. package/dist/types/api/idVerificationProviders/useIdVerificationToken.d.ts +1 -1
  392. package/dist/types/api/industryCodes/useIndustryCodes.d.ts +1 -1
  393. package/dist/types/api/invitations/useInvitationStatus.d.ts +5 -2
  394. package/dist/types/api/invitedEntity/useInvitedEntityAssociationData.d.ts +2 -2
  395. package/dist/types/api/invitedEntity/useInvitedEntityRootCapabilities.d.ts +2 -2
  396. package/dist/types/api/legalEntity/useLegalEntity.d.ts +9 -9
  397. package/dist/types/api/onboardingStatus/useOnboardingStatus.d.ts +1 -1
  398. package/dist/types/api/openId/useOpenIdAuthorizationLink.d.ts +1 -1
  399. package/dist/types/api/pci/usePciQuestionnaireList.d.ts +2 -2
  400. package/dist/types/api/pci/usePciStatus.d.ts +2 -2
  401. package/dist/types/api/pci/usePciTemplate.d.ts +2 -2
  402. package/dist/types/api/providersConfiguration/useProviderStatus.d.ts +1 -1
  403. package/dist/types/api/taskStatus/useTaskStatus.d.ts +2 -2
  404. package/dist/types/api/taskStatus/useTaskStatuses.d.ts +2 -2
  405. package/dist/types/api/taxClassification/useTaxClassification.d.ts +2 -2
  406. package/dist/types/api/termsOfService/useAcceptedTermsOfService.d.ts +2 -2
  407. package/dist/types/api/termsOfService/useTermsOfService.d.ts +2 -2
  408. package/dist/types/api/termsOfService/useTermsOfServiceAcceptanceInfos.d.ts +1 -1
  409. package/dist/types/api/termsOfService/useTermsOfServiceStatus.d.ts +2 -2
  410. package/dist/types/api/tinVerification/useVerifyTin.d.ts +2 -2
  411. package/dist/types/api/toggles/useToggles.d.ts +1 -1
  412. package/dist/types/api/transferInstruments/useBankVerificationProviders.d.ts +1 -1
  413. package/dist/types/api/transferInstruments/useTransferInstrument.d.ts +1 -1
  414. package/dist/types/api/transferInstruments/useTransferInstruments.d.ts +1 -1
  415. package/dist/types/api/uiAnalytics/useAnalyticsSession.d.ts +2 -2
  416. package/dist/types/api/validation/useValidatePhoneNumber.d.ts +2 -2
  417. package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +25 -25
  418. package/dist/types/components/Business/hooks/useSubmitBusinessDetails.d.ts +1 -26
  419. package/dist/types/components/Business/hooks/useSubmitBusinessDetails.types.d.ts +47 -0
  420. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +0 -55
  421. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +494 -494
  422. package/dist/types/components/Individual/forms/InviteDetails/validate.d.ts +1 -2
  423. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerListItem/DecisionMakerListItem.d.ts +3 -2
  424. package/dist/types/components/Shared/TaskVerificationStatus/TaskVerificationStatus.d.ts +1 -1
  425. package/dist/types/components/Shared/fields/Name/validate.d.ts +1 -2
  426. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  427. package/dist/types/components/ui/atoms/Tile/Tile.d.ts +2 -1
  428. package/dist/types/context/ToggleContext/types.d.ts +4 -4
  429. package/dist/types/utils/analytics/trackClickHandler.d.ts +11 -0
  430. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  431. package/dist/types-B4LsyK73.js +19 -0
  432. package/dist/types-Bm4RGrSI.js +66 -0
  433. package/dist/types-Bvp3aTbC.js +58 -0
  434. package/dist/unincorporated-partnership-GaTPaALJ.js +40 -0
  435. package/dist/upload-D85xAAAm.js +23 -0
  436. package/dist/useAssociatedLegalEntity-CQAe7Co6.js +35 -0
  437. package/dist/useBusinessDetailsData-BDxT0mFG.js +4647 -0
  438. package/dist/useBusinessLines-Dshc0pYD.js +27 -0
  439. package/dist/useCanSeeIntroduction-DQyl0Vkk.js +39 -0
  440. package/dist/useCreateLegalEntity-38twl3gB.js +24 -0
  441. package/dist/useDataMissingRemediations-7H0hHxXG.js +39 -0
  442. package/dist/useForm-x1BtFLPw.js +502 -0
  443. package/dist/useFormContext-CyhnFPOt.js +504 -0
  444. package/dist/useLegalEntity-EN5ubX2H.js +48 -0
  445. package/dist/useMultiForm-NwELDSnm.js +817 -0
  446. package/dist/useNavigate-BfWevcN2.js +269 -0
  447. package/dist/useOnboardingStatus-Cf6dZFB2.js +23 -0
  448. package/dist/usePciQuestionnaireList-C3bk4K8n.js +26 -0
  449. package/dist/useSalesChannels-CC-N9vqE.js +47 -0
  450. package/dist/useScenarios-ful0VqQ4.js +55 -0
  451. package/dist/useTaskLandedEvent-CtlV_Bum.js +26 -0
  452. package/dist/useTaskStatus-CLcXCIz7.js +23 -0
  453. package/dist/useTermsOfServiceStatus-DwWvz0vR.js +39 -0
  454. package/dist/useTrustMembers-BZRB9RDn.js +152 -0
  455. package/dist/useUnincorporatedPartnershipMembers-wgiUFuxT.js +70 -0
  456. package/dist/useUpdateBusinessLines-BRxlqBnM.js +68 -0
  457. package/dist/useUpdateLegalEntity-DnkFwUCD.js +29 -0
  458. package/dist/utils-B6a1FGxD.js +2507 -0
  459. package/dist/utils-BgdkZkf5.js +71 -0
  460. package/dist/utils-DcUoR5qG.js +61 -0
  461. package/dist/utils-DwujAUJC.js +46 -0
  462. package/dist/utils-iXMYP5kO.js +188 -0
  463. package/dist/validate-CPz6CHtU.js +109 -0
  464. package/dist/validate-j0h8oux2.js +397 -0
  465. package/dist/validateExtractionResult-CHdmHmkZ.js +1070 -0
  466. package/dist/validationError-tIm9Zzjt.js +68 -0
  467. package/dist/validationResult-CqlLuppx.js +77 -0
  468. package/dist/warning-circle-fill-BDTmKU1s.js +30 -0
  469. package/dist/warning-diamond-filled-BjDL-xa8.js +30 -0
  470. package/dist/webinar-YMbPoCx3.js +33 -0
  471. package/package.json +25 -25
  472. package/dist/4-people-UD6qivNv.js +0 -35
  473. package/dist/AcceptTermsOfServiceComponent-CV0tEsZ8.js +0 -652
  474. package/dist/Accordion-gSHEDtlp.js +0 -111
  475. package/dist/AccountSetupRejected-MS5ucnkH.js +0 -19
  476. package/dist/AdaptiveWorkflow-BRSkDC27.js +0 -1562
  477. package/dist/AdaptiveWorkflowComponent-436q2Z3Q.js +0 -130
  478. package/dist/Address-B1WQZxTA.js +0 -557
  479. package/dist/Alert-BYrDkvk9.js +0 -170
  480. package/dist/Avatar-CuGCWCs9.js +0 -54
  481. package/dist/BusinessFinancingDropin-DrABikQM.js +0 -1800
  482. package/dist/BusinessFinancingPage-CSwjPgIJ.js +0 -87
  483. package/dist/BusinessTypeSelectionPage-D0jjyKgo.js +0 -436
  484. package/dist/Button-BxfzWsRl.js +0 -189
  485. package/dist/Card-BylPFvY4.js +0 -71
  486. package/dist/Checkbox-BRuXJ18x.js +0 -55
  487. package/dist/CompanyRegistrationNumberTypeSelector-DiImGTFe.js +0 -1074
  488. package/dist/Confirm-BEZEArAy.js +0 -76
  489. package/dist/ConstitutionalDocument-CdpVRf0I.js +0 -1125
  490. package/dist/ContactDetails-63BkotMl.js +0 -516
  491. package/dist/ContextGuidance-BRGAWzeW.js +0 -29
  492. package/dist/CountryField-DhNTIfGL.js +0 -38
  493. package/dist/Currency-QVw0PSm6.js +0 -191
  494. package/dist/CustomerSupport-BXin9crY.js +0 -129
  495. package/dist/DebugModal-DjXxE-RN.js +0 -454
  496. package/dist/DecisionMakerDetails-B8s07F7D.js +0 -493
  497. package/dist/DecisionMakerDetailsPage-BaOxC2U6.js +0 -103
  498. package/dist/DecisionMakers-Bm-L-q92.js +0 -583
  499. package/dist/DetailViewLayout-Be6cqBDx.js +0 -68
  500. package/dist/Divider-BndbWx4f.js +0 -11
  501. package/dist/Dropzone-BbBVtqN9.js +0 -236
  502. package/dist/EmbeddedStatus-td-3A1DN.js +0 -128
  503. package/dist/EndStateLayout-CnhmrsxA.js +0 -82
  504. package/dist/EntityAssociation-BHvq_AwX.js +0 -163
  505. package/dist/ErrorPanel-CzX5ev6p.js +0 -185
  506. package/dist/Field-Vzlyifk5.js +0 -155
  507. package/dist/FormNavigation-B79CI_Kc.js +0 -116
  508. package/dist/Header-fY8HlUFH.js +0 -93
  509. package/dist/Image-BBLBIviv.js +0 -33
  510. package/dist/Individual.rules-BvJRuxgJ.js +0 -294
  511. package/dist/IndividualDropin-BVMDPYDe.js +0 -4958
  512. package/dist/InputDate--h7l0kcO.js +0 -52
  513. package/dist/InputText-BK_8YUd_.js +0 -119
  514. package/dist/Introduction-p7SxkPvq.js +0 -325
  515. package/dist/InvitedDecisionMakerComponent-B40Lk4i7.js +0 -412
  516. package/dist/JpAddress-msyDs8qO.js +0 -322
  517. package/dist/LandingLayout-BK3kV0FL.js +0 -76
  518. package/dist/LegalCompanyNameField-CQUbvS77.js +0 -108
  519. package/dist/LegalRepresentativeDetailsPage-Csvg_gjL.js +0 -73
  520. package/dist/Link-idX4eEXz.js +0 -32
  521. package/dist/List-DLrcpMVd.js +0 -71
  522. package/dist/ListItem-BzSnYlO1.js +0 -70
  523. package/dist/LoaderWrapper-Tr14IrmG.js +0 -34
  524. package/dist/MaskedInput-WaAdSNPN.js +0 -715
  525. package/dist/MaybeModal-BkoicAOk.js +0 -24
  526. package/dist/Modal-CMKjvMyV.js +0 -109
  527. package/dist/Name-DkBgo3cK.js +0 -61
  528. package/dist/NewSummary-Cf1CesDB.js +0 -72
  529. package/dist/PayoutDetailsDropinMultiForm-CiTh764I.js +0 -4106
  530. package/dist/PayoutDetailsPage-CLt8LJCi.js +0 -68
  531. package/dist/ProgressBar-DrvdkkV2.js +0 -38
  532. package/dist/RadioGroup-Bc8reZVM.js +0 -84
  533. package/dist/Review-GGx4T5lx.js +0 -99
  534. package/dist/RootBusinessDetailsPage-z94WN2fb.js +0 -69
  535. package/dist/RootBusinessLinesPage-B1SNv9er.js +0 -1452
  536. package/dist/RootIndividualDetailsPage-DE704wL6.js +0 -81
  537. package/dist/Select-CRVpXZ1k.js +0 -777
  538. package/dist/SignPCIComponent-BPSj_yuH.js +0 -368
  539. package/dist/SingpassSelection-c3hLW3jo.js +0 -156
  540. package/dist/SoleProprietorshipPage-C2gjJZcb.js +0 -69
  541. package/dist/SourceOfFundsPage-DItR3-Hp.js +0 -2775
  542. package/dist/Spacer-D1yp_1Io.js +0 -11
  543. package/dist/StackLayout-CTLQyVDf.js +0 -105
  544. package/dist/StateContext-BExuJcFK.js +0 -9
  545. package/dist/StructuredList-S4LIZQiJ.js +0 -56
  546. package/dist/Summary-DESUnetK.js +0 -226
  547. package/dist/Tag-BUoDHC4C.js +0 -39
  548. package/dist/TaskListItem-9Kq5rfrA.js +0 -164
  549. package/dist/TaskVerificationStatus-F5lMp5Rx.js +0 -118
  550. package/dist/TaxInformationField-DlmOFIDl.js +0 -474
  551. package/dist/TaxReportingDropin-LOUIhV-w.js +0 -476
  552. package/dist/TextArea-CIgJgN16.js +0 -80
  553. package/dist/TileGroup-irJw9YNz.js +0 -170
  554. package/dist/ToastContext-D7fHw64P.js +0 -13
  555. package/dist/ToastContextProvider-CU6K9Sqo.js +0 -103
  556. package/dist/TrustDetailsPage-B9sH2X7l.js +0 -1103
  557. package/dist/TrustMemberCompanyPage-BnY9tVG7.js +0 -107
  558. package/dist/TrustMemberIndividualPage-B4Iqm4MI.js +0 -107
  559. package/dist/TrustMemberRoleAndTypePage-LlBgvSwW.js +0 -933
  560. package/dist/TrustMembersOverview-BGzdiibd.js +0 -451
  561. package/dist/UnincorporatedPartnershipIndividualPage-CUrCUB2E.js +0 -78
  562. package/dist/UnincorporatedPartnershipMemberCompanyPage-Uzsm5Zo2.js +0 -78
  563. package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-BbQB-s2g.js +0 -271
  564. package/dist/UnincorporatedPartnershipMembersOverview-B-djUG0K.js +0 -159
  565. package/dist/VerificationErrorAlert-D8Peag6l.js +0 -38
  566. package/dist/_rolldown_dynamic_import_helper-C4ugHLZT.js +0 -14
  567. package/dist/accountHolderUtils-mgP2-0Nn.js +0 -44
  568. package/dist/arrow-right-BJTNKb0O.js +0 -20
  569. package/dist/bafinUtils-DJ5gJYKz.js +0 -96
  570. package/dist/bag-DZMiIi7P.js +0 -20
  571. package/dist/bank-CzucQEWZ.js +0 -20
  572. package/dist/bg-BG-BUgREukJ.js +0 -7
  573. package/dist/bg-BG-Bfk35aUM.js +0 -7
  574. package/dist/bg-BG-Bw1uE2hh.js +0 -7
  575. package/dist/bg-BG-C0FkvcA2.js +0 -31
  576. package/dist/bg-BG-CAC3TgzH.js +0 -7
  577. package/dist/bg-BG-DkeEONKT.js +0 -60
  578. package/dist/bg-BG-DszNb4YW.js +0 -7
  579. package/dist/bin-BbC6aL9-.js +0 -30
  580. package/dist/birthDateUtils-BUDlu8wE.js +0 -82
  581. package/dist/capital-B61w2ph0.js +0 -23
  582. package/dist/cash-stack-DrmR4pnT.js +0 -33
  583. package/dist/certificate-_tpSgTGm.js +0 -23
  584. package/dist/checkmark-DnlW1SB-.js +0 -20
  585. package/dist/checkmark-circle-Dixm0aV6.js +0 -28
  586. package/dist/checkmark-circle-fill-dAg9Mn5z.js +0 -30
  587. package/dist/checkmark-small-Di0Lj9EO.js +0 -20
  588. package/dist/chevron-down-CvIokHIR.js +0 -20
  589. package/dist/chevron-left-BNjJxGO4.js +0 -20
  590. package/dist/chevron-right-CeXpOOK6.js +0 -20
  591. package/dist/chevron-up-esJT8bFL.js +0 -20
  592. package/dist/circle-BJtiv6-2.js +0 -30
  593. package/dist/circle-small-filled-BLmJJiLk.js +0 -20
  594. package/dist/clock-Xuw4kh_Y.js +0 -28
  595. package/dist/coins-BeFK6pqR.js +0 -30
  596. package/dist/company-types-value-BYTAKfjo.js +0 -17
  597. package/dist/constants-Cuqk72uG.js +0 -233
  598. package/dist/contract-D4VJIjGm.js +0 -20
  599. package/dist/countries-BLvJ0FJ4.js +0 -41
  600. package/dist/country-Cm0PPJDS.js +0 -13
  601. package/dist/cross-CbSU1xP-.js +0 -20
  602. package/dist/cross-circle-fill-iElIdcZN.js +0 -30
  603. package/dist/cross-circle-fill-small-DyxDVLjN.js +0 -20
  604. package/dist/cs-CZ-3vdI5Jjr.js +0 -31
  605. package/dist/cs-CZ-B1VpAUva.js +0 -7
  606. package/dist/cs-CZ-BCCbEB0j.js +0 -7
  607. package/dist/cs-CZ-BWwYdy4S.js +0 -7
  608. package/dist/cs-CZ-CDBbVGc-.js +0 -60
  609. package/dist/cs-CZ-DC3dWoGV.js +0 -7
  610. package/dist/cs-CZ-DtoIeWYx.js +0 -7
  611. package/dist/da-DK-BCPtwA_c.js +0 -7
  612. package/dist/da-DK-BVAv2vUs.js +0 -7
  613. package/dist/da-DK-BbuiozUl.js +0 -7
  614. package/dist/da-DK-C0KVt06k.js +0 -7
  615. package/dist/da-DK-CrBk2y5x.js +0 -31
  616. package/dist/da-DK-DaA3zK0h.js +0 -60
  617. package/dist/da-DK-klGGwyxv.js +0 -7
  618. package/dist/datasetUtil-uPWEKDf8.js +0 -45
  619. package/dist/de-DE-B8GqI1Sq.js +0 -7
  620. package/dist/de-DE-B_L7jawo.js +0 -7
  621. package/dist/de-DE-CEKqkGeP.js +0 -7
  622. package/dist/de-DE-Cl0fc0U_.js +0 -60
  623. package/dist/de-DE-DXkUC1-N.js +0 -7
  624. package/dist/de-DE-XXqDUm1h.js +0 -31
  625. package/dist/de-DE-uuUOPGHs.js +0 -7
  626. package/dist/decisionMaker-b5wJjUBN.js +0 -146
  627. package/dist/decisionMakerRoles-CCKWKoWd.js +0 -46
  628. package/dist/document-1-Dfu6EDzV.js +0 -20
  629. package/dist/document-person-Dgv26vCh.js +0 -28
  630. package/dist/download-Ct05dQIR.js +0 -23
  631. package/dist/edit-1-m3Xin3vd.js +0 -20
  632. package/dist/el-GR-BP7G1Ka8.js +0 -31
  633. package/dist/el-GR-CEZLeeb3.js +0 -7
  634. package/dist/el-GR-CNoP_at_.js +0 -60
  635. package/dist/el-GR-Ctd3mBAX.js +0 -7
  636. package/dist/el-GR-D4Pmng8T.js +0 -7
  637. package/dist/el-GR-DtpUBNHl.js +0 -7
  638. package/dist/el-GR-WS8xbrFJ.js +0 -7
  639. package/dist/en-US-BqoUncE4.js +0 -7
  640. package/dist/en-US-DQLhkpBE.js +0 -60
  641. package/dist/entityAssociationUtil-D1ledZtc.js +0 -59
  642. package/dist/es-ES-B-x17o8d.js +0 -7
  643. package/dist/es-ES-BPXpnHRY.js +0 -60
  644. package/dist/es-ES-BQyI--wB.js +0 -31
  645. package/dist/es-ES-BrTDtXtR.js +0 -7
  646. package/dist/es-ES-CB4LW8fA.js +0 -7
  647. package/dist/es-ES-DB77kzqT.js +0 -7
  648. package/dist/es-ES-XWHjoMpE.js +0 -7
  649. package/dist/et-EE-BSBN_3SH.js +0 -31
  650. package/dist/et-EE-BiA52MlJ.js +0 -7
  651. package/dist/et-EE-CPykMmP6.js +0 -7
  652. package/dist/et-EE-CfkcHuFD.js +0 -60
  653. package/dist/et-EE-CweZxZJx.js +0 -7
  654. package/dist/et-EE-D5ztjKQA.js +0 -7
  655. package/dist/et-EE-Dj0jysHw.js +0 -7
  656. package/dist/external-link-BxiqXr7-.js +0 -20
  657. package/dist/fi-FI-4ckffUlB.js +0 -7
  658. package/dist/fi-FI-AQc_uafE.js +0 -7
  659. package/dist/fi-FI-BUUV58aZ.js +0 -7
  660. package/dist/fi-FI-BvjOb0Oi.js +0 -7
  661. package/dist/fi-FI-CGqRN2IG.js +0 -60
  662. package/dist/fi-FI-Ci2zcIZj.js +0 -31
  663. package/dist/fi-FI-lFhGznBk2.js +0 -7
  664. package/dist/formFieldsUtils-DGrXBMOZ.js +0 -7
  665. package/dist/formUtils-C7vlzCV-.js +0 -78
  666. package/dist/fr-FR-B95kf8uT2.js +0 -7
  667. package/dist/fr-FR-BuQwZ2oq.js +0 -7
  668. package/dist/fr-FR-BwhO0tqx.js +0 -60
  669. package/dist/fr-FR-CZs4UzUR.js +0 -7
  670. package/dist/fr-FR-Cq7iIftz.js +0 -31
  671. package/dist/fr-FR-CzKTntJm.js +0 -7
  672. package/dist/fr-FR-e7lKrFcK.js +0 -7
  673. package/dist/getLegalEntityCountry-C6bSV6sB.js +0 -17
  674. package/dist/getName-BtgdCWSR.js +0 -35
  675. package/dist/getProblemsForEntity-B9GOFyRX.js +0 -16
  676. package/dist/getTrustedDecisionMakers-D2yayvPr.js +0 -25
  677. package/dist/gift-CX0qVK1O.js +0 -20
  678. package/dist/globalStore-BCeQ8cDF.js +0 -419
  679. package/dist/graph-idneKCfM.js +0 -32
  680. package/dist/graph-up-BZtGbTh8.js +0 -38
  681. package/dist/headquarter-pYPoPBZM.js +0 -42
  682. package/dist/hotel-DcStWscD.js +0 -33
  683. package/dist/hr-HR-BFy27vAx2.js +0 -7
  684. package/dist/hr-HR-BXLWA1xd.js +0 -60
  685. package/dist/hr-HR-CN0us45A.js +0 -7
  686. package/dist/hr-HR-DVJaypbL.js +0 -7
  687. package/dist/hr-HR-Ngyn0CeW.js +0 -7
  688. package/dist/hr-HR-WsApmYld.js +0 -7
  689. package/dist/hr-HR-iC0oTR81.js +0 -31
  690. package/dist/http-D5tz1jGD.js +0 -149
  691. package/dist/hu-HU-BXhdx-ju.js +0 -31
  692. package/dist/hu-HU-Bdjd0HM0.js +0 -7
  693. package/dist/hu-HU-D_5yVmCo.js +0 -7
  694. package/dist/hu-HU-Nb-5azdf.js +0 -60
  695. package/dist/hu-HU-kcQkkxnT2.js +0 -7
  696. package/dist/hu-HU-rbT-Gfxm.js +0 -7
  697. package/dist/hu-HU-xO5SwtyK.js +0 -7
  698. package/dist/image-Cu6NenSs.js +0 -23
  699. package/dist/info-BFv37bQB.js +0 -32
  700. package/dist/info-filled-d8JiHhYQ.js +0 -32
  701. package/dist/invalidateRootLegalEntity-D7_UqU5H.js +0 -45
  702. package/dist/isEmpty-Bi8OJ7I4.js +0 -14
  703. package/dist/isEmptyEntity-CCwgjz_g.js +0 -44
  704. package/dist/it-IT-B0pCVo4V.js +0 -60
  705. package/dist/it-IT-B2zFnv7K.js +0 -7
  706. package/dist/it-IT-BDkY4_D3.js +0 -31
  707. package/dist/it-IT-BUJ6M3KT2.js +0 -7
  708. package/dist/it-IT-DiJG8CVH.js +0 -7
  709. package/dist/it-IT-QMmUeFIw.js +0 -7
  710. package/dist/it-IT-wx2DTjIq.js +0 -7
  711. package/dist/ja-JP-B1AjiTAA2.js +0 -7
  712. package/dist/ja-JP-BchEmvKT.js +0 -7
  713. package/dist/ja-JP-CYNEiARm.js +0 -7
  714. package/dist/ja-JP-CYmySE1y.js +0 -7
  715. package/dist/ja-JP-DOkTs_1m.js +0 -31
  716. package/dist/ja-JP-DoROjKZt.js +0 -60
  717. package/dist/ja-JP-K0GtGc1m.js +0 -7
  718. package/dist/japanSupportUtils-DqvGrGbm.js +0 -11
  719. package/dist/keys-fzUbt2xF.js +0 -20
  720. package/dist/listToRecord-wN5QNS0D.js +0 -10
  721. package/dist/localizeDateString-Bni_Kn5k.js +0 -35
  722. package/dist/location-D--t6qb1.js +0 -23
  723. package/dist/lt-LT-2KIisO4_.js +0 -7
  724. package/dist/lt-LT-BwsC_PRy.js +0 -7
  725. package/dist/lt-LT-CDRKdIqh.js +0 -60
  726. package/dist/lt-LT-CfUZy3Nu.js +0 -7
  727. package/dist/lt-LT-Csda84LY.js +0 -7
  728. package/dist/lt-LT-DKeyLOpW2.js +0 -7
  729. package/dist/lt-LT-DpMT3Dw2.js +0 -31
  730. package/dist/lv-LV-B_twW5aF.js +0 -7
  731. package/dist/lv-LV-BlsECQxr.js +0 -60
  732. package/dist/lv-LV-CIkyBWzC2.js +0 -7
  733. package/dist/lv-LV-CaTht4v3.js +0 -7
  734. package/dist/lv-LV-DeE0FbCk.js +0 -7
  735. package/dist/lv-LV-M8ADb0dX.js +0 -7
  736. package/dist/lv-LV-aPZP5Wh5.js +0 -31
  737. package/dist/mail-CoQ5t6Ml.js +0 -20
  738. package/dist/mapExistingFile-AUOevYJs.js +0 -135
  739. package/dist/mapJpAddressSchemaToAddressLocalizations-DFgQADg8.js +0 -61
  740. package/dist/mapLegalEntityToIndividualSchema-CNdXP4KZ.js +0 -207
  741. package/dist/mapTransferInstrumentToPayoutAccount-DaAa5pOZ.js +0 -44
  742. package/dist/minus-circle-filled-BdvEdxjZ.js +0 -30
  743. package/dist/nl-NL-BPZ4ggwt.js +0 -7
  744. package/dist/nl-NL-BSq1sTYp2.js +0 -7
  745. package/dist/nl-NL-CQ0C9N3m.js +0 -60
  746. package/dist/nl-NL-Ch6Gx-ay.js +0 -7
  747. package/dist/nl-NL-K11VO8LF.js +0 -31
  748. package/dist/nl-NL-kUujSdLA.js +0 -7
  749. package/dist/nl-NL-lkzdYqOX.js +0 -7
  750. package/dist/no-NO-BNGILdWq.js +0 -31
  751. package/dist/no-NO-CRUvKPvc2.js +0 -7
  752. package/dist/no-NO-CSn5Ou1S.js +0 -7
  753. package/dist/no-NO-DAK8yauA.js +0 -7
  754. package/dist/no-NO-DEmXDlJQ.js +0 -7
  755. package/dist/no-NO-DyJlM9HH.js +0 -7
  756. package/dist/no-NO-FfT6jM26.js +0 -60
  757. package/dist/omitObscuredFieldsIfUnchanged-Bl-KmvQB.js +0 -20
  758. package/dist/options-horizontal-p3bn-0YP.js +0 -30
  759. package/dist/partner-DAXf38Tp.js +0 -30
  760. package/dist/patternValidators-DMnU4iGe.js +0 -73
  761. package/dist/pay-by-link-plane-JUQ9G9Rb.js +0 -33
  762. package/dist/payout-Bp5yyaPy.js +0 -38
  763. package/dist/pdf-nzZcuCSf.js +0 -22316
  764. package/dist/pdf.worker.min-DE42kNC_.js +0 -74645
  765. package/dist/person-CBe70ddT.js +0 -23
  766. package/dist/pl-PL-C8O5EIza.js +0 -7
  767. package/dist/pl-PL-CpA94K5Z.js +0 -7
  768. package/dist/pl-PL-D9oajkyF.js +0 -7
  769. package/dist/pl-PL-DQ3obGGK.js +0 -7
  770. package/dist/pl-PL-D_FRhmnE2.js +0 -7
  771. package/dist/pl-PL-DhJQbVhT.js +0 -31
  772. package/dist/pl-PL-vU5_jmwK.js +0 -60
  773. package/dist/plus-DMRvapmz.js +0 -20
  774. package/dist/plus-circle-filled-DUmcjiaH.js +0 -30
  775. package/dist/process-field-configurations-D-i--Py4.js +0 -279
  776. package/dist/processCapabilities-C3-DrzSD.js +0 -869
  777. package/dist/pt-BR-B3IHhi-A.js +0 -31
  778. package/dist/pt-BR-BJXrQjtE2.js +0 -7
  779. package/dist/pt-BR-BM2eCcyF.js +0 -60
  780. package/dist/pt-BR-CHDCegc8.js +0 -7
  781. package/dist/pt-BR-D9hPCc0c.js +0 -7
  782. package/dist/pt-BR-DyTpIjam.js +0 -7
  783. package/dist/pt-BR-u_Sv-NkV.js +0 -7
  784. package/dist/pt-PT-3DrMwWiz.js +0 -31
  785. package/dist/pt-PT-B1k39MuE.js +0 -7
  786. package/dist/pt-PT-BXlxPqah.js +0 -7
  787. package/dist/pt-PT-Bmgh2Wtd.js +0 -60
  788. package/dist/pt-PT-CUSJRIfa2.js +0 -7
  789. package/dist/pt-PT-GnCWUuu_.js +0 -7
  790. package/dist/pt-PT-ne6PkZM_.js +0 -7
  791. package/dist/recurring-DoBaCr6V.js +0 -23
  792. package/dist/resolveEnvironment-BI384OW7.js +0 -985
  793. package/dist/revenue-accelerate-BTrH1Kyc.js +0 -30
  794. package/dist/ro-RO-7iyzlI6_.js +0 -60
  795. package/dist/ro-RO-B1HkfIdK.js +0 -31
  796. package/dist/ro-RO-BvYWHJVi.js +0 -7
  797. package/dist/ro-RO-CcQh__lV2.js +0 -7
  798. package/dist/ro-RO-CfsDLBM4.js +0 -7
  799. package/dist/ro-RO-DGzJvIXf.js +0 -7
  800. package/dist/ro-RO-rwkWejS6.js +0 -7
  801. package/dist/roleMetadata-bE5AIBEY.js +0 -56
  802. package/dist/save-DtVvA4bm.js +0 -20
  803. package/dist/search-CwNfiquk.js +0 -30
  804. package/dist/show-mWAebR3W.js +0 -23
  805. package/dist/sk-SK-BQgZ5CQA.js +0 -7
  806. package/dist/sk-SK-BR0l7uzo.js +0 -7
  807. package/dist/sk-SK-BpMbHWuR.js +0 -60
  808. package/dist/sk-SK-C1lm7CTj.js +0 -7
  809. package/dist/sk-SK-Cd48q22c.js +0 -31
  810. package/dist/sk-SK-ChCtHT1F.js +0 -7
  811. package/dist/sk-SK-D6xioiMY2.js +0 -7
  812. package/dist/sl-SI-BZ5Dm_pA.js +0 -7
  813. package/dist/sl-SI-CRk5cPQq2.js +0 -7
  814. package/dist/sl-SI-D5wg7xsZ.js +0 -7
  815. package/dist/sl-SI-DHn8rJ33.js +0 -7
  816. package/dist/sl-SI-DpgW-r5w.js +0 -7
  817. package/dist/sl-SI-DvXrcue1.js +0 -31
  818. package/dist/sl-SI-gUNcHR30.js +0 -60
  819. package/dist/solution-payments-rYk5tB74.js +0 -20
  820. package/dist/store-vKCOvUVJ.js +0 -20
  821. package/dist/styles-DfQtSmqv.js +0 -6678
  822. package/dist/sv-SE-BfLV5o3E.js +0 -7
  823. package/dist/sv-SE-BhwzqPYQ.js +0 -60
  824. package/dist/sv-SE-CMkXS2cO.js +0 -31
  825. package/dist/sv-SE-CRPJUyOE2.js +0 -7
  826. package/dist/sv-SE-CloWnXU5.js +0 -7
  827. package/dist/sv-SE-CzO_XtYz.js +0 -7
  828. package/dist/sv-SE-Iv-yFbrD2.js +0 -7
  829. package/dist/terminal-1-BOv4YorG.js +0 -30
  830. package/dist/toFullWidth-CZdUBEal.js +0 -52
  831. package/dist/translation-BHUZ_WP7.js +0 -915
  832. package/dist/trustUtil-BBkbuta4.js +0 -99
  833. package/dist/types-BEc7vus9.js +0 -58
  834. package/dist/types-CBQZm0Fk.js +0 -150
  835. package/dist/types-CEJyC_Mj.js +0 -66
  836. package/dist/types-DyF8eymA.js +0 -19
  837. package/dist/unincorporated-partnership-CtwHVLzp.js +0 -11
  838. package/dist/upload-StAXlB73.js +0 -23
  839. package/dist/useAccountHolder-aoHH1XJq.js +0 -102
  840. package/dist/useAllowedCountries-Dea38KPz.js +0 -74
  841. package/dist/useAnalyticsContext-pNSIB8AZ.js +0 -12
  842. package/dist/useAssociatedLegalEntity-BOtek2pM.js +0 -35
  843. package/dist/useBusinessDetailsData-Dw8VtZkI.js +0 -4654
  844. package/dist/useBusinessLines-BE_hXjkY.js +0 -27
  845. package/dist/useCanSeeIntroduction-C7a4t7HJ.js +0 -39
  846. package/dist/useCapabilities-Bn6IcCNt.js +0 -12
  847. package/dist/useCreateLegalEntity-DWNHPjAr.js +0 -24
  848. package/dist/useDataMissingRemediations-Dc8p_hCP.js +0 -39
  849. package/dist/useDataset-VrL_8cq1.js +0 -96
  850. package/dist/useDeleteTransferInstrument-Bf3I-lk0.js +0 -31
  851. package/dist/useForm-CbSEaCrl.js +0 -502
  852. package/dist/useFormContext-DGW15-id.js +0 -504
  853. package/dist/useLegalEntity-k2lxoMzW.js +0 -48
  854. package/dist/useMultiForm-DOQ6_HoL.js +0 -817
  855. package/dist/useNavigate-zhguGWRa.js +0 -269
  856. package/dist/useOnboardingStatus-CHBhX5te.js +0 -23
  857. package/dist/usePciQuestionnaireList-Y87h-w4C.js +0 -26
  858. package/dist/useSalesChannels-f8ZEd90X.js +0 -47
  859. package/dist/useScenarios-D2TFpeEU.js +0 -55
  860. package/dist/useTaskLandedEvent-BdO8qSBg.js +0 -26
  861. package/dist/useTaskStatus-DPyTD_Ko.js +0 -23
  862. package/dist/useTermsOfServiceStatus-C04Xyc0M.js +0 -39
  863. package/dist/useToastContext-BIwgSCxA.js +0 -12
  864. package/dist/useToggleContext-B57-85xe.js +0 -21
  865. package/dist/useTrustMembers-DYKQfH8R.js +0 -152
  866. package/dist/useUnincorporatedPartnershipMembers-CtuG_S-a.js +0 -70
  867. package/dist/useUpdateBusinessLines-CaT_-l9v.js +0 -68
  868. package/dist/useUpdateLegalEntity-CfJs-A1X.js +0 -29
  869. package/dist/utils-Bx8jBrij.js +0 -46
  870. package/dist/utils-C1DzW0Hz.js +0 -207
  871. package/dist/utils-Cd8I9QM7.js +0 -2507
  872. package/dist/utils-TlcnGMeG.js +0 -188
  873. package/dist/utils-g_Wl4-9Z.js +0 -24
  874. package/dist/validate-CaRbtwlX.js +0 -411
  875. package/dist/validate-J6U_ulFs.js +0 -397
  876. package/dist/validate-maTmOby_.js +0 -109
  877. package/dist/validationError-CD5jY1NM.js +0 -68
  878. package/dist/validationResult-OLfDDPfY.js +0 -77
  879. package/dist/validatorUtils-Dz6AklT-.js +0 -107
  880. package/dist/warning-circle-fill-BZhgf5Z8.js +0 -30
  881. package/dist/warning-diamond-filled-hJarrWMO.js +0 -30
  882. package/dist/webinar-j4tLxNVB.js +0 -33
  883. /package/dist/{AD-Dz8oe6Pg.js → AD-Clkur2Hx.js} +0 -0
  884. /package/dist/{AE-CTdU1tzb.js → AE-BUOfE-VR.js} +0 -0
  885. /package/dist/{AI-tjrpVbOw.js → AI-BApAOdVW.js} +0 -0
  886. /package/dist/{AL-DvyI05UB.js → AL-DfPgkH9x.js} +0 -0
  887. /package/dist/{AR-DI6rdPa-.js → AR-Bddz61XJ.js} +0 -0
  888. /package/dist/{AS-ByXIuSCx.js → AS-C3xgvOIz.js} +0 -0
  889. /package/dist/{AT-CvSbaCoE.js → AT-BG3-OqzL.js} +0 -0
  890. /package/dist/{AT-DYSevBIw.js → AT-BNvEEyA1.js} +0 -0
  891. /package/dist/{AT-CutjdISu.js → AT-CaB9iU_v.js} +0 -0
  892. /package/dist/{AT-Dt3ZU8Yh.js → AT-DnJdtYnd.js} +0 -0
  893. /package/dist/{AU-EWPyqdHL.js → AU-B7Lwienf.js} +0 -0
  894. /package/dist/{AU-DzJ7QlNR.js → AU-CcGu7r3p.js} +0 -0
  895. /package/dist/{AU-C6u3aod7.js → AU-DL1fsj76.js} +0 -0
  896. /package/dist/{AU-CLU0Xn_D.js → AU-yI1HPsCK.js} +0 -0
  897. /package/dist/{AX-DJ84WiiY.js → AX-BTtRN-MP.js} +0 -0
  898. /package/dist/{AZ-o_CDsMs4.js → AZ-CXVL6e85.js} +0 -0
  899. /package/dist/{AnalyticsContext-CbM5V7Nw.js → AnalyticsContext-BFrJmsp0.js} +0 -0
  900. /package/dist/{BA-DL2O-nPB.js → BA-27B-jpFq.js} +0 -0
  901. /package/dist/{BE-CyRTa5vY.js → BE-BIPb3aCp.js} +0 -0
  902. /package/dist/{BE-CT0bdDbu.js → BE-BSUwgR6_.js} +0 -0
  903. /package/dist/{BE-DgU3CTNg.js → BE-BsQPppoQ.js} +0 -0
  904. /package/dist/{BE-7F1ZOUtb.js → BE-S2mx1KWp.js} +0 -0
  905. /package/dist/{BG-B7VMgZNt.js → BG-ChvSTIBz.js} +0 -0
  906. /package/dist/{BH-Bot1MlCL.js → BH-D1HvWueK.js} +0 -0
  907. /package/dist/{BM-CfbbOZEU.js → BM-bLwVUrnz.js} +0 -0
  908. /package/dist/{BR-DrGkuPBg.js → BR-B6k-5VHk.js} +0 -0
  909. /package/dist/{BR-BikIex5m.js → BR-CZRoZyCm.js} +0 -0
  910. /package/dist/{BR-BaEKrqwp.js → BR-Df_k79xR.js} +0 -0
  911. /package/dist/{BR-PBodf94A.js → BR-nSEEl5uz.js} +0 -0
  912. /package/dist/{BS-CR7QZvMY.js → BS-Bf402NRj.js} +0 -0
  913. /package/dist/{BV-pdJ1HYkg.js → BV-CJwVioP4.js} +0 -0
  914. /package/dist/{BY-RUR9XmBt.js → BY-CYaB1wEE.js} +0 -0
  915. /package/dist/{CA-6iRpP8zm.js → CA-B49VPJKw.js} +0 -0
  916. /package/dist/{CA-CgOysQQa.js → CA-BJlN0jtV.js} +0 -0
  917. /package/dist/{CA-BM1GlX51.js → CA-C_C9nVmL.js} +0 -0
  918. /package/dist/{CA-Bilo42jc.js → CA-Drxrt6ud.js} +0 -0
  919. /package/dist/{CH-HrO9afDv.js → CH-8VbtrnFA.js} +0 -0
  920. /package/dist/{CH-gKI7wttp.js → CH-B0Z9FJR9.js} +0 -0
  921. /package/dist/{CH-BZ2dJJcd.js → CH-BASES6q1.js} +0 -0
  922. /package/dist/{CH-CmSkzRbO.js → CH-C93Zls9o.js} +0 -0
  923. /package/dist/{CN-BUtZk2Mu.js → CN-CEIcYgEd.js} +0 -0
  924. /package/dist/{CR-CnpHHfms.js → CR-CU6MVhAz.js} +0 -0
  925. /package/dist/{CY-Ge_L3SKC.js → CY-DSZIX0eb.js} +0 -0
  926. /package/dist/{CZ-Cxwo_jP6.js → CZ-Bk7V7DHn.js} +0 -0
  927. /package/dist/{CZ-C1HmDbqn.js → CZ-CG9NlpHx.js} +0 -0
  928. /package/dist/{CZ-B8b5P2Or.js → CZ-CUYgGHVo.js} +0 -0
  929. /package/dist/{CZ-I8UM9ti_.js → CZ-DD_9_zGY.js} +0 -0
  930. /package/dist/{ContractViewer-B8CspWV4.js → ContractViewer-JtnAXSDa.js} +0 -0
  931. /package/dist/{DE-HSEDrUfG.js → DE-3Qc-SfVV.js} +0 -0
  932. /package/dist/{DE-pQVkh64s.js → DE-BFenFnWV.js} +0 -0
  933. /package/dist/{DE-C2MEdoRW.js → DE-BX-_ptty.js} +0 -0
  934. /package/dist/{DE-CSMMxMuZ.js → DE-CKGX5CHO.js} +0 -0
  935. /package/dist/{DK-BCcPGFzQ.js → DK--Bs4HfJM.js} +0 -0
  936. /package/dist/{DK-dsRhTFow.js → DK-B9lf0wLy.js} +0 -0
  937. /package/dist/{DK-TyxXs-DV.js → DK-DORnwCWQ.js} +0 -0
  938. /package/dist/{DK-mVm8rtJr.js → DK-EjkKz2GN.js} +0 -0
  939. /package/dist/{DO-B84eOniD.js → DO-D4wgMRWE.js} +0 -0
  940. /package/dist/{EC-BAzODm77.js → EC-B2FGK-mr.js} +0 -0
  941. /package/dist/{EE-D2n6E72J.js → EE-qXeASUC-.js} +0 -0
  942. /package/dist/{ES-CsmTJRIi.js → ES-BBz54aGb.js} +0 -0
  943. /package/dist/{ES-D4WzOTek.js → ES-C89tOy9e.js} +0 -0
  944. /package/dist/{ES-DnRoTFNh.js → ES-IBdkjuIk.js} +0 -0
  945. /package/dist/{ES-BI7auc_D.js → ES-pbBXmvb6.js} +0 -0
  946. /package/dist/{FI-YOhI9TrO.js → FI-C2Ehs0Cl.js} +0 -0
  947. /package/dist/{FI-DJZScc7l.js → FI-DCXniiD4.js} +0 -0
  948. /package/dist/{FI-DhWyH1DT.js → FI-DHkXLS9S.js} +0 -0
  949. /package/dist/{FI-CZ6ep3W_.js → FI-K6KjFCWK.js} +0 -0
  950. /package/dist/{FJ-BcqfFVGi.js → FJ-V_2w3UTO.js} +0 -0
  951. /package/dist/{FO-BuQb8zK_.js → FO-DR-Xnm7u.js} +0 -0
  952. /package/dist/{FR-EX-aYUJ3.js → FR-B5uEo3fD.js} +0 -0
  953. /package/dist/{FR-DYfYAn5S.js → FR-CQw_46PX.js} +0 -0
  954. /package/dist/{FR-SxebWfwR.js → FR-CtpYelsq.js} +0 -0
  955. /package/dist/{FR-CWb0_Fcq.js → FR-CxvXXv-O.js} +0 -0
  956. /package/dist/{GB-CszgE98l.js → GB-BDGKJSiZ.js} +0 -0
  957. /package/dist/{GB-BycqX1ng.js → GB-DCF0Nkem.js} +0 -0
  958. /package/dist/{GB-DlvvuQuQ.js → GB-G_B8HSJg.js} +0 -0
  959. /package/dist/{GB-q2GO1nX8.js → GB-tfbORrua.js} +0 -0
  960. /package/dist/{GE-ChK3V1hi.js → GE-By9lo4py.js} +0 -0
  961. /package/dist/{GF-fTBjIC0q.js → GF-B0xFBl9q.js} +0 -0
  962. /package/dist/{GG-Cppga3Z4.js → GG-bAeosM_i.js} +0 -0
  963. /package/dist/{GI-Cm7N6fbE.js → GI-DfkPsLw0.js} +0 -0
  964. /package/dist/{GL-C75JniJw.js → GL-DhRtJPZY.js} +0 -0
  965. /package/dist/{GP-DhHOAa8k.js → GP-DNyYQvJw.js} +0 -0
  966. /package/dist/{GR-zOZilI5v.js → GR-DK-QrYIO.js} +0 -0
  967. /package/dist/{GT-B6tGLPxx.js → GT-BRuMYK92.js} +0 -0
  968. /package/dist/{GU-DjjJkDVU.js → GU-DAYIt05K.js} +0 -0
  969. /package/dist/{HK-CVaMk2Vl.js → HK-B4jzjZtL.js} +0 -0
  970. /package/dist/{HK-Yj_9Qbs3.js → HK-C1qODiFA.js} +0 -0
  971. /package/dist/{HK-Bs3Wsh4t.js → HK-DDKKwlVK.js} +0 -0
  972. /package/dist/{HK-BXsi3wQZ.js → HK-DeKSh6yq.js} +0 -0
  973. /package/dist/{HR-BR9TaCeP.js → HR-D0EqC8kx.js} +0 -0
  974. /package/dist/{HR-C-NuIOkA.js → HR-DOktpDnh.js} +0 -0
  975. /package/dist/{HR-8jCYyclY.js → HR-DomyNfJ0.js} +0 -0
  976. /package/dist/{HR-DvG9lG0o.js → HR-DxBWHi9K.js} +0 -0
  977. /package/dist/{HU-kkbB9HNQ.js → HU--SKUZPJ2.js} +0 -0
  978. /package/dist/{HU-B4hChLQO.js → HU-BS5tTBem.js} +0 -0
  979. /package/dist/{HU-o4ILK6JM.js → HU-DIT5cG5Z.js} +0 -0
  980. /package/dist/{HU-DF7a_-3t.js → HU-HvuEJeUR.js} +0 -0
  981. /package/dist/{HandlerContext-CIedIvkP.js → HandlerContext-DeMa68z0.js} +0 -0
  982. /package/dist/{ID-CnOsjpEC.js → ID-BBzj2tyK.js} +0 -0
  983. /package/dist/{IE-Dwlg9nat.js → IE-BB2lTAcu.js} +0 -0
  984. /package/dist/{IE-CtesijIU.js → IE-CxtzANSG.js} +0 -0
  985. /package/dist/{IE-dmyHscm0.js → IE-DOtxtX8R.js} +0 -0
  986. /package/dist/{IE-B3ysSG_S.js → IE-DwzVxL1C.js} +0 -0
  987. /package/dist/{IL-B2GfQOoK.js → IL-CgJ0eWPT.js} +0 -0
  988. /package/dist/{IM-D9Hb0nwZ.js → IM-Ca1LRzUz.js} +0 -0
  989. /package/dist/{IN-Qhys3xn2.js → IN--pr2-g7e.js} +0 -0
  990. /package/dist/{IS-DTXiGHYB.js → IS-BZeqGau3.js} +0 -0
  991. /package/dist/{IT-CHV5-m07.js → IT-BioiAQgd.js} +0 -0
  992. /package/dist/{IT-BZGkLCTQ.js → IT-CISIu45c.js} +0 -0
  993. /package/dist/{IT-Dimtibs1.js → IT-CUgNzWLF.js} +0 -0
  994. /package/dist/{IT-DFeNc5UK.js → IT-DwZn8LHj.js} +0 -0
  995. /package/dist/{InputGroup-B8AaetlI.js → InputGroup-B4U3QVEp.js} +0 -0
  996. /package/dist/{JE-D7_0MZEA.js → JE-BCj36onT.js} +0 -0
  997. /package/dist/{JM-CUVKn5To.js → JM-b03xrGTz.js} +0 -0
  998. /package/dist/{JO-B9_bPqbF.js → JO-CA8m_H5N.js} +0 -0
  999. /package/dist/{JP-z_PjepRf.js → JP-DroDT2u3.js} +0 -0
  1000. /package/dist/{KR-DaFOJAbV.js → KR-BkBLDQIT.js} +0 -0
  1001. /package/dist/{KW-BLH4fj8S.js → KW-dB3SXEf8.js} +0 -0
  1002. /package/dist/{KY-DG3Xehmz.js → KY-mZ-zKVkq.js} +0 -0
  1003. /package/dist/{KZ-BjnXKq2l.js → KZ-CcyUPGdv.js} +0 -0
  1004. /package/dist/{LB-CY5c_gqN.js → LB-DmtcVmjU.js} +0 -0
  1005. /package/dist/{LI-BkFK_qrZ.js → LI-haSXATP0.js} +0 -0
  1006. /package/dist/{LT-2wka4qNS.js → LT-BkxAhfJz.js} +0 -0
  1007. /package/dist/{LT--zST1zqj.js → LT-CYlhLD3-.js} +0 -0
  1008. /package/dist/{LT-BV7s3TCv.js → LT-DnvVPVhz.js} +0 -0
  1009. /package/dist/{LT-BxqPzqgf.js → LT-GP546RUy.js} +0 -0
  1010. /package/dist/{LU-Bt4sIWIT.js → LU-CnQilYzI.js} +0 -0
  1011. /package/dist/{LV-B-FeTyBQ.js → LV-BJoOuCmD.js} +0 -0
  1012. /package/dist/{MC-D92BHmGr.js → MC-1OhRuam2.js} +0 -0
  1013. /package/dist/{MD-BzJaxo1n.js → MD-DN7TRpmW.js} +0 -0
  1014. /package/dist/{ME-Iw66DM2s.js → ME-CuMiA40n.js} +0 -0
  1015. /package/dist/{MK-yRjMHvLF.js → MK-DGR-uR66.js} +0 -0
  1016. /package/dist/{MP-CGHoAYPz.js → MP-xhfj0dkC.js} +0 -0
  1017. /package/dist/{MQ-Db73c-TY.js → MQ-CZu5G2-t.js} +0 -0
  1018. /package/dist/{MR-CzGlj8ce.js → MR--V7elAIS.js} +0 -0
  1019. /package/dist/{MT-n0Cp6O8-.js → MT-BmkVDeF2.js} +0 -0
  1020. /package/dist/{MU-C57EyXfP.js → MU-LzgqzZzT.js} +0 -0
  1021. /package/dist/{MX-JSUPc6V8.js → MX-z-WoZkPd.js} +0 -0
  1022. /package/dist/{MY-Bbgpg3w2.js → MY-WsFwWp2U.js} +0 -0
  1023. /package/dist/{NC-BeqCqe7o.js → NC-B9M8cc6C.js} +0 -0
  1024. /package/dist/{NL-C1r7ND7d.js → NL-Bn2QKc20.js} +0 -0
  1025. /package/dist/{NL-KVjpCVaw.js → NL-BosPsuiC.js} +0 -0
  1026. /package/dist/{NL-CIX2R11u.js → NL-CXjh0eXG.js} +0 -0
  1027. /package/dist/{NL-B22K1Zb0.js → NL-DQew6XR-.js} +0 -0
  1028. /package/dist/{NO-CV0UtHqk.js → NO--AQKkHLW.js} +0 -0
  1029. /package/dist/{NO-BhYtIUv1.js → NO-BuWcaqBm.js} +0 -0
  1030. /package/dist/{NO-DLFLW3I8.js → NO-CFh5Lkfr.js} +0 -0
  1031. /package/dist/{NO-CFty2TsC.js → NO-D7BSfuUs.js} +0 -0
  1032. /package/dist/{NZ-DZ75lvmW.js → NZ-BDDXct1F.js} +0 -0
  1033. /package/dist/{NZ-ClQC7uEQ.js → NZ-DyVhIxBu.js} +0 -0
  1034. /package/dist/{PE-BhP-iF08.js → PE-DJZc_8Lk.js} +0 -0
  1035. /package/dist/{PF-DZJu8LvP.js → PF-D593LuXT.js} +0 -0
  1036. /package/dist/{PH-8s_pcD1T.js → PH-CJRjYgx3.js} +0 -0
  1037. /package/dist/{PK-BkHx9Wu7.js → PK-C1TVRYA6.js} +0 -0
  1038. /package/dist/{PL-oVwazamy.js → PL-7-9sJ6je.js} +0 -0
  1039. /package/dist/{PL-CZ0JZlv4.js → PL-C3tudSnw.js} +0 -0
  1040. /package/dist/{PL-DjTZTZqB.js → PL-CtjljK4S.js} +0 -0
  1041. /package/dist/{PL-Db0WKekw.js → PL-DasLrwsx.js} +0 -0
  1042. /package/dist/{PM-Bcq0SkSj.js → PM-CPvVGX_s.js} +0 -0
  1043. /package/dist/{PR-N31WZxLD.js → PR-C6mnN4I1.js} +0 -0
  1044. /package/dist/{PS-DzthwPAx.js → PS-Bqa7HAb6.js} +0 -0
  1045. /package/dist/{PT-ilpiMMVG.js → PT-BHFP2Jx8.js} +0 -0
  1046. /package/dist/{PT-C6fd2w3g.js → PT-C9aMzry5.js} +0 -0
  1047. /package/dist/{PT-C3FlrAqt.js → PT-Ck3Uvmoz.js} +0 -0
  1048. /package/dist/{PT-BVfq_KIl.js → PT-DMEuvIu6.js} +0 -0
  1049. /package/dist/{QA-zn4Gdzbo.js → QA-B2A0rFrR.js} +0 -0
  1050. /package/dist/{RE-dG3KJMMx.js → RE-BSdvJRM5.js} +0 -0
  1051. /package/dist/{RO-Dtlve3hZ.js → RO-BZxtXYEM.js} +0 -0
  1052. /package/dist/{RO-B1UBvxsc.js → RO-CJlQuJqy.js} +0 -0
  1053. /package/dist/{RO-BL-J1_yg.js → RO-C_QrkrYl.js} +0 -0
  1054. /package/dist/{RO-BXtuhVoN.js → RO-CewdEU2z.js} +0 -0
  1055. /package/dist/{RS-DIpTuX70.js → RS-DAtcOeON.js} +0 -0
  1056. /package/dist/{RU-B7YwaezI.js → RU-CDpkuVOX.js} +0 -0
  1057. /package/dist/{SA-yHvpRBBt.js → SA-BoAcP38a.js} +0 -0
  1058. /package/dist/{SE-CccuzUP0.js → SE-Ca_yLiKO.js} +0 -0
  1059. /package/dist/{SE-gXHu0efH.js → SE-DX5R7MEM.js} +0 -0
  1060. /package/dist/{SE-pMhyd7KJ.js → SE-DzRKAJvT.js} +0 -0
  1061. /package/dist/{SE-CfxNbl59.js → SE-U0u4yomj.js} +0 -0
  1062. /package/dist/{SG-DIKkp5VX.js → SG-BR0qm_Lu.js} +0 -0
  1063. /package/dist/{SG-CODE9yV_.js → SG-Dm4nWFwC.js} +0 -0
  1064. /package/dist/{SG-fAOioO1i.js → SG-ljx49JLF.js} +0 -0
  1065. /package/dist/{SG-CGk7k8y6.js → SG-sKZVzzs9.js} +0 -0
  1066. /package/dist/{SI-BpwxzWXI.js → SI-BIBw5Y4Z.js} +0 -0
  1067. /package/dist/{SI-D8ngpNLP.js → SI-BxOiA06G.js} +0 -0
  1068. /package/dist/{SI-DgNZ746W.js → SI-CHQHMWZa.js} +0 -0
  1069. /package/dist/{SI-CtMaFIsz.js → SI-CbzJWJo5.js} +0 -0
  1070. /package/dist/{SJ-SG7xxYUX.js → SJ-C0EiPIY7.js} +0 -0
  1071. /package/dist/{SK-CNT7QVie.js → SK-B-_-RVXx.js} +0 -0
  1072. /package/dist/{SK-D8vU29-x.js → SK-BPuPGFPo.js} +0 -0
  1073. /package/dist/{SK-DssnPaZv.js → SK-Bg9K35hT.js} +0 -0
  1074. /package/dist/{SK-C7ldUW73.js → SK-M9wg6on5.js} +0 -0
  1075. /package/dist/{SM-Ds8vicT5.js → SM-BAP1izca.js} +0 -0
  1076. /package/dist/{TF-Ckf_6iT5.js → TF-BzLXwUD9.js} +0 -0
  1077. /package/dist/{TH-2sIVIZNa.js → TH-wvwE8m03.js} +0 -0
  1078. /package/dist/{TL-OSKwf5cB.js → TL-CAwOhktT.js} +0 -0
  1079. /package/dist/{TN-BcUBhs_y.js → TN-Bs-VE6A_.js} +0 -0
  1080. /package/dist/{TR-nO7zl2t7.js → TR-7uYc2xp7.js} +0 -0
  1081. /package/dist/{TT-uQXIiTh9.js → TT-DbzL2xhJ.js} +0 -0
  1082. /package/dist/{TW-ra8aVP1u.js → TW-BTAvA4FA.js} +0 -0
  1083. /package/dist/{UA-ChP4sFEB.js → UA-BAkAL82L.js} +0 -0
  1084. /package/dist/{US-D6PlTpHk.js → US-BXek71cY.js} +0 -0
  1085. /package/dist/{US-CPcVUQez.js → US-CBUD9sMP.js} +0 -0
  1086. /package/dist/{US-F-OhVaqg.js → US-CyRlJ_CX.js} +0 -0
  1087. /package/dist/{US-amE0CRbB.js → US-D3s6UvEg.js} +0 -0
  1088. /package/dist/{UY-BFN4uNVz.js → UY-Bq43JSIl.js} +0 -0
  1089. /package/dist/{VA-lz_OQgNz.js → VA-CHkQ7jk0.js} +0 -0
  1090. /package/dist/{VG-CUKKrF3h.js → VG-DnUOjTKa.js} +0 -0
  1091. /package/dist/{VI-D1i4Oi0B.js → VI-CjjaTPrq.js} +0 -0
  1092. /package/dist/{VN-DRaYj63j.js → VN-DgqMueJl.js} +0 -0
  1093. /package/dist/{WF-K2TrgrKu.js → WF-Czcwchbb.js} +0 -0
  1094. /package/dist/{YT-CEOdE-OK.js → YT-BTQIBrb1.js} +0 -0
  1095. /package/dist/{ZA-BVXb4Fcr.js → ZA-BAufwt8q.js} +0 -0
  1096. /package/dist/{basePatterns-B0FC-Crd.js → basePatterns-plHFNzgJ.js} +0 -0
  1097. /package/dist/{bg-BG-DqOqFO0A.js → bg-BG-B1zNismI.js} +0 -0
  1098. /package/dist/{bg-BG-DLd3BaDx.js → bg-BG-BVoCVNdz.js} +0 -0
  1099. /package/dist/{bg-BG-B845EAcI.js → bg-BG-BpPjqqen.js} +0 -0
  1100. /package/dist/{bg-BG-BsrzL-U8.js → bg-BG-CQgiIkWL.js} +0 -0
  1101. /package/dist/{bg-BG-CncTIGKT2.js → bg-BG-CmuahJEZ.js} +0 -0
  1102. /package/dist/{bg-BG-CUmjOcpi2.js → bg-BG-DUIc4CjB.js} +0 -0
  1103. /package/dist/{bg-BG-BrYfHU1Y.js → bg-BG-qQc6pN4K.js} +0 -0
  1104. /package/dist/{business-lines-DY5WHePf.js → business-lines-De9DsaVa.js} +0 -0
  1105. /package/dist/{country-code-BjUoKbAN.js → country-code-CJk2hdPu.js} +0 -0
  1106. /package/dist/{cs-CZ-Bl40lHzE.js → cs-CZ-CfiYuMi0.js} +0 -0
  1107. /package/dist/{cs-CZ-n18LpZrJ2.js → cs-CZ-Cl6WgrU6.js} +0 -0
  1108. /package/dist/{cs-CZ-IZhVT21N.js → cs-CZ-DGD5Pulk.js} +0 -0
  1109. /package/dist/{cs-CZ-Is3lue5X2.js → cs-CZ-DUNmRoYr.js} +0 -0
  1110. /package/dist/{cs-CZ-D08FCyDx.js → cs-CZ-Dz8kXdHw.js} +0 -0
  1111. /package/dist/{cs-CZ-HMzN3w9M.js → cs-CZ-Jsmhr_B3.js} +0 -0
  1112. /package/dist/{cs-CZ-C6VkcCUo.js → cs-CZ-fK4LxA1u.js} +0 -0
  1113. /package/dist/{currency-B8-OEAgj.js → currency-DQwXq9Mc.js} +0 -0
  1114. /package/dist/{da-DK-DJ5ddVnr2.js → da-DK-ANBIxDco.js} +0 -0
  1115. /package/dist/{da-DK-CB-sFnhe.js → da-DK-Bwkz0Wxd.js} +0 -0
  1116. /package/dist/{da-DK-CzCkRjoI2.js → da-DK-CWWLFjfT.js} +0 -0
  1117. /package/dist/{da-DK-IX9UQUAb.js → da-DK-CXZXQspY.js} +0 -0
  1118. /package/dist/{da-DK-B576UeqU.js → da-DK-CzyaFVpm.js} +0 -0
  1119. /package/dist/{da-DK-CzFS-0y6.js → da-DK-NCs7m8qy.js} +0 -0
  1120. /package/dist/{da-DK-BwIZqzDw.js → da-DK-SpVsMtf5.js} +0 -0
  1121. /package/dist/{de-DE-DSP4aQRh.js → de-DE-BRJ0jBty.js} +0 -0
  1122. /package/dist/{de-DE-CHdEma9v.js → de-DE-CT8rn19_.js} +0 -0
  1123. /package/dist/{de-DE-BHik7H3o.js → de-DE-CVNJWoQd.js} +0 -0
  1124. /package/dist/{de-DE-CfuejIRq.js → de-DE-DPkZZVMc.js} +0 -0
  1125. /package/dist/{de-DE-CZ4lmioI2.js → de-DE-HdJ5vlQN.js} +0 -0
  1126. /package/dist/{de-DE-Bki8tbcV2.js → de-DE-LLIuFER0.js} +0 -0
  1127. /package/dist/{de-DE-C4PzkDzF.js → de-DE-flvryS_H.js} +0 -0
  1128. /package/dist/{de-DE-C9UIqdWt.js → de-DE-w4l6boYT.js} +0 -0
  1129. /package/dist/{debouncedInputEvent-CUZBv60e.js → debouncedInputEvent-D2-Kctv9.js} +0 -0
  1130. /package/dist/{debugStore-BVjLDPIU.js → debugStore-Dwn1FXrh.js} +0 -0
  1131. /package/dist/{decision-maker-type-CWrppE0k.js → decision-maker-type-NR4GFAeT.js} +0 -0
  1132. /package/dist/{decision-makers-group-D53oFTHn.js → decision-makers-group-DAoxQRJ3.js} +0 -0
  1133. /package/dist/{digital-wallet-CLOVHAow.js → digital-wallet-ByQCwU-K.js} +0 -0
  1134. /package/dist/{document-blurred-DGXvRTC8.js → document-blurred-iJRUsQR5.js} +0 -0
  1135. /package/dist/{document-cut-off-DbVQzqxC.js → document-cut-off-DhZYZ56P.js} +0 -0
  1136. /package/dist/{document-expired-DKnTJ5T9.js → document-expired-CDV5yclN.js} +0 -0
  1137. /package/dist/{document-front-Bn5jsEIh.js → document-front-tg-w81rp.js} +0 -0
  1138. /package/dist/{el-GR-LUFCyvHj.js → el-GR-28yAVKwY.js} +0 -0
  1139. /package/dist/{el-GR-B5dqrdWm.js → el-GR-BMGYrO4V.js} +0 -0
  1140. /package/dist/{el-GR-XuQDipDR.js → el-GR-BfKp5abT.js} +0 -0
  1141. /package/dist/{el-GR-3u6kc4gj.js → el-GR-Ctvm4US3.js} +0 -0
  1142. /package/dist/{el-GR-DocTTdq-2.js → el-GR-D9MFsese.js} +0 -0
  1143. /package/dist/{el-GR-CZs5BPVJ2.js → el-GR-D_JXywE0.js} +0 -0
  1144. /package/dist/{el-GR-BUBdTCMP.js → el-GR-Df7yzbal.js} +0 -0
  1145. /package/dist/{el-GR-Buy5IU8M.js → el-GR-DqTetsjB.js} +0 -0
  1146. /package/dist/{emitEvent-B8K0cb1F.js → emitEvent-CcGIaOut.js} +0 -0
  1147. /package/dist/{en-US-DdArZW-2.js → en-US-B82BbZaB.js} +0 -0
  1148. /package/dist/{en-US-DLIlixDF.js → en-US-BIYEZxZV.js} +0 -0
  1149. /package/dist/{en-US-BpCm0Bvk.js → en-US-BcTbYQei.js} +0 -0
  1150. /package/dist/{en-US-BOJswraw.js → en-US-BqGRsgfO.js} +0 -0
  1151. /package/dist/{en-US-VZ7ytmtB.js → en-US-BqvVH-Pi.js} +0 -0
  1152. /package/dist/{en-US-ccX525iK.js → en-US-C1J9jcVI.js} +0 -0
  1153. /package/dist/{en-US-D_g_DM_a2.js → en-US-C2htqfkP.js} +0 -0
  1154. /package/dist/{en-US-D9vXTqQr.js → en-US-C6sEvgbn.js} +0 -0
  1155. /package/dist/{en-US-CXdfrlM6.js → en-US-CRoNUEFi.js} +0 -0
  1156. /package/dist/{en-US-gwxv5v9w.js → en-US-CWDI7JKT.js} +0 -0
  1157. /package/dist/{en-US-DNQKfkN1.js → en-US-CeiLSh8o.js} +0 -0
  1158. /package/dist/{en-US-CN15rSvL.js → en-US-D0fscfsz.js} +0 -0
  1159. /package/dist/{en-US-Bw9LpxPe.js → en-US-D0pPfuzx.js} +0 -0
  1160. /package/dist/{en-US-B-_7IR6A.js → en-US-D0qNFi4G.js} +0 -0
  1161. /package/dist/{en-US-HW6CoTeP.js → en-US-DLsYeEWI.js} +0 -0
  1162. /package/dist/{en-US-DmDPhSJN.js → en-US-DXLqOZX1.js} +0 -0
  1163. /package/dist/{en-US-1Tznfcwg.js → en-US-DbUXn5BN.js} +0 -0
  1164. /package/dist/{en-US-BEL_lmpv.js → en-US-KKriaTJw.js} +0 -0
  1165. /package/dist/{en-US-Bf6E1v0-2.js → en-US-nYL_eSJ-.js} +0 -0
  1166. /package/dist/{en-US-ZFlMM5v3.js → en-US-t-Z87qeJ.js} +0 -0
  1167. /package/dist/{en-US.instructions-kje2iQeM.js → en-US.instructions-DfgivDPI.js} +0 -0
  1168. /package/dist/{en-US.instructions-CbjjdEDm.js → en-US.instructions-FOYUYA3c.js} +0 -0
  1169. /package/dist/{es-ES-DBxs7iF7.js → es-ES-C14ZT-97.js} +0 -0
  1170. /package/dist/{es-ES-oq21mjwX.js → es-ES-CGEEtFjV.js} +0 -0
  1171. /package/dist/{es-ES-RzKcfNXi.js → es-ES-CJYZG5hn.js} +0 -0
  1172. /package/dist/{es-ES-Cn6TsINc.js → es-ES-DTbydE6J.js} +0 -0
  1173. /package/dist/{es-ES-DFYOkj68.js → es-ES-Dbsez-nt.js} +0 -0
  1174. /package/dist/{es-ES-BMBx28UE2.js → es-ES-DcPwPUlZ.js} +0 -0
  1175. /package/dist/{es-ES-DGmySxC42.js → es-ES-N-uqwvEU.js} +0 -0
  1176. /package/dist/{es-ES-QIbBo_YM.js → es-ES-pt4yy_U2.js} +0 -0
  1177. /package/dist/{et-EE-RpLsFwBS.js → et-EE-BEKmKSGB.js} +0 -0
  1178. /package/dist/{et-EE-D8EAo5UR.js → et-EE-BXGMIGkB.js} +0 -0
  1179. /package/dist/{et-EE-Bq6ySoVT2.js → et-EE-CkJhiCVw.js} +0 -0
  1180. /package/dist/{et-EE-BWE9LBIW.js → et-EE-DZ2fiz66.js} +0 -0
  1181. /package/dist/{et-EE-go_L8yC52.js → et-EE-TIKP7Ec9.js} +0 -0
  1182. /package/dist/{et-EE-CuuT6UiF.js → et-EE-dDMeDiTJ.js} +0 -0
  1183. /package/dist/{et-EE-Clm5xG7H.js → et-EE-naxT4ToX.js} +0 -0
  1184. /package/dist/{fi-FI-BhZIWccP.js → fi-FI-B3azKh_D.js} +0 -0
  1185. /package/dist/{fi-FI-BYm7CUY2.js → fi-FI-BdqoEBfB.js} +0 -0
  1186. /package/dist/{fi-FI-BmXRQB7_2.js → fi-FI-D0ZPYGD3.js} +0 -0
  1187. /package/dist/{fi-FI-DsfVixQ62.js → fi-FI-DJ6-TAV9.js} +0 -0
  1188. /package/dist/{fi-FI-CfmDq95S.js → fi-FI-DZUZ6EuS.js} +0 -0
  1189. /package/dist/{fi-FI-cUN_PaZk.js → fi-FI-iRb7nS7X.js} +0 -0
  1190. /package/dist/{fi-FI-6U5kDy9_.js → fi-FI-o-v0rRih.js} +0 -0
  1191. /package/dist/{fieldConfigurations-B3oqm4GC.js → fieldConfigurations-CZCFghnK.js} +0 -0
  1192. /package/dist/{file-6a0FDVyq.js → file-1IenVoh8.js} +0 -0
  1193. /package/dist/{filterProblemsByTaskForms-DwS9T-_E.js → filterProblemsByTaskForms-CQby20PN.js} +0 -0
  1194. /package/dist/{form-rules-CvdV5rPY.js → form-rules-CUUQGacJ.js} +0 -0
  1195. /package/dist/{formatCurrency-D-m2ri-x.js → formatCurrency-Cq3WFpdZ.js} +0 -0
  1196. /package/dist/{fr-FR-BxnyIkIr.js → fr-FR-5eSOACgc.js} +0 -0
  1197. /package/dist/{fr-FR-D1HpNhTO.js → fr-FR-8a-RK9xd.js} +0 -0
  1198. /package/dist/{fr-FR-CMj16KIu2.js → fr-FR-B7mkWyab.js} +0 -0
  1199. /package/dist/{fr-FR-CTaavJDz.js → fr-FR-BRin5m9T.js} +0 -0
  1200. /package/dist/{fr-FR-BqpAnmif.js → fr-FR-Bsr-Ax2m.js} +0 -0
  1201. /package/dist/{fr-FR-DnX9lTEQ.js → fr-FR-DUrcyeOg.js} +0 -0
  1202. /package/dist/{fr-FR-BdjvbPB62.js → fr-FR-DXXrJUKC.js} +0 -0
  1203. /package/dist/{fr-FR-qy27JGqF.js → fr-FR-DY_6cPBK.js} +0 -0
  1204. /package/dist/{funds-in-DcvC0rG-.js → funds-in-BvQVahzR.js} +0 -0
  1205. /package/dist/{get-scenarios-Bkxtd5jh.js → get-scenarios-Bb-paHmJ.js} +0 -0
  1206. /package/dist/{getNestedPropertyKeys-MEDCcSm2.js → getNestedPropertyKeys-Cd8HKupP.js} +0 -0
  1207. /package/dist/{getProps-DQy_qV_x.js → getProps-1L-urpfA.js} +0 -0
  1208. /package/dist/{getTrustedFields-BF_CmfLe.js → getTrustedFields-BJ88GlM-.js} +0 -0
  1209. /package/dist/{graphical-laptop-xPvp7QKa.js → graphical-laptop-BUntvD51.js} +0 -0
  1210. /package/dist/{house-D2ID8PM-.js → house-DFPq_koC.js} +0 -0
  1211. /package/dist/{hr-HR-mfHZl8tO.js → hr-HR-BHkPwjWG.js} +0 -0
  1212. /package/dist/{hr-HR-O1W0RKHg.js → hr-HR-BcuZOdbx.js} +0 -0
  1213. /package/dist/{hr-HR-CLA4RCOe2.js → hr-HR-BeZ1eUy7.js} +0 -0
  1214. /package/dist/{hr-HR-BzyoDD3o.js → hr-HR-CQVBtolX.js} +0 -0
  1215. /package/dist/{hr-HR-gmt7xTWx2.js → hr-HR-CTVtZrP9.js} +0 -0
  1216. /package/dist/{hr-HR-DwVuRMPc.js → hr-HR-LnDb18bf.js} +0 -0
  1217. /package/dist/{hr-HR-Dgrok1MJ.js → hr-HR-o5FSYlwu.js} +0 -0
  1218. /package/dist/{hu-HU-yAwdJ5xn.js → hu-HU-BWRMWxUx.js} +0 -0
  1219. /package/dist/{hu-HU-Dh9jdb9X2.js → hu-HU-BhliM1LD.js} +0 -0
  1220. /package/dist/{hu-HU-BfD5UZoY2.js → hu-HU-BsyElEv0.js} +0 -0
  1221. /package/dist/{hu-HU-Bxg-cJEy.js → hu-HU-C-Lv58Kx.js} +0 -0
  1222. /package/dist/{hu-HU-BzAy_OWc.js → hu-HU-CaDVfAld.js} +0 -0
  1223. /package/dist/{hu-HU-DceMzb3Y.js → hu-HU-Cc7wqn6A.js} +0 -0
  1224. /package/dist/{hu-HU-BzQoUNaS.js → hu-HU-yAl0nEE3.js} +0 -0
  1225. /package/dist/{id-blurred-CtnwOJmP.js → id-blurred-VxdOFc9Z.js} +0 -0
  1226. /package/dist/{id-cut-off-DTnrMaG3.js → id-cut-off-Lf8yjnWT.js} +0 -0
  1227. /package/dist/{id-front-BArANgYI.js → id-front-C00ss5Ib.js} +0 -0
  1228. /package/dist/{id-glare-g3bnPQ3v.js → id-glare-DyvU9bwI.js} +0 -0
  1229. /package/dist/{isNewEntity-BCb_oxKh.js → isNewEntity-vML86iIM.js} +0 -0
  1230. /package/dist/{it-IT-C82YvJn6.js → it-IT-8FlMolyS.js} +0 -0
  1231. /package/dist/{it-IT-Dns-1Qbf.js → it-IT-BPA_Upt_.js} +0 -0
  1232. /package/dist/{it-IT-BrdXGWpw.js → it-IT-BULBjWDc.js} +0 -0
  1233. /package/dist/{it-IT-BxdBXweN.js → it-IT-C2dB9OJn.js} +0 -0
  1234. /package/dist/{it-IT-BcBkbTJA.js → it-IT-D9vW7SZr.js} +0 -0
  1235. /package/dist/{it-IT-Bnm0ulsw2.js → it-IT-DGgRrlgT.js} +0 -0
  1236. /package/dist/{it-IT-DK30YvbO.js → it-IT-DIIRAF4_.js} +0 -0
  1237. /package/dist/{it-IT-CHuVqZdn.js → it-IT-Dw5XUNAP.js} +0 -0
  1238. /package/dist/{ja-JP-DDT5jvAB.js → ja-JP-7zkrWB8G.js} +0 -0
  1239. /package/dist/{ja-JP-B5SxIdyP2.js → ja-JP-Bgo52-T0.js} +0 -0
  1240. /package/dist/{ja-JP-C_E_4yUn.js → ja-JP-BhoagXJu.js} +0 -0
  1241. /package/dist/{ja-JP-D91Qq9X0.js → ja-JP-ByMh2iUh.js} +0 -0
  1242. /package/dist/{ja-JP-DYccStvn.js → ja-JP-CTJQKAUM.js} +0 -0
  1243. /package/dist/{ja-JP-BzBRpXM1.js → ja-JP-CYb1SAoz.js} +0 -0
  1244. /package/dist/{ja-JP-CwVkOC4Z.js → ja-JP-CyXnoIu3.js} +0 -0
  1245. /package/dist/{ja-JP-CTFB8UKL.js → ja-JP-DqGVC5Ag.js} +0 -0
  1246. /package/dist/{ja-JP-DTqjZ_RP.js → ja-JP-eKLuhutG.js} +0 -0
  1247. /package/dist/{jpAddressSchema-wrMPYgVe.js → jpAddressSchema-pVY2Cqvr.js} +0 -0
  1248. /package/dist/{legal-entity-type-VIfNYnJP.js → legal-entity-type-0MfCGzUf.js} +0 -0
  1249. /package/dist/{lt-LT-IP4Sz8Gn.js → lt-LT-B9Nm7OZQ.js} +0 -0
  1250. /package/dist/{lt-LT-bBBImnIr.js → lt-LT-BX_xCGlf.js} +0 -0
  1251. /package/dist/{lt-LT-OGBNEWvq.js → lt-LT-C96kAeo7.js} +0 -0
  1252. /package/dist/{lt-LT-Dpy8srws.js → lt-LT-CiKIZfk8.js} +0 -0
  1253. /package/dist/{lt-LT-DN-ykSHh.js → lt-LT-CyoO9ova.js} +0 -0
  1254. /package/dist/{lt-LT-QPJqX0US.js → lt-LT-D0eqQspB.js} +0 -0
  1255. /package/dist/{lt-LT-8dDfYsF82.js → lt-LT-DdXY3cAX.js} +0 -0
  1256. /package/dist/{lv-LV-C9zoAq4h.js → lv-LV-Bm8LrJoB.js} +0 -0
  1257. /package/dist/{lv-LV-CcQHxQxD.js → lv-LV-C8Reuc9U.js} +0 -0
  1258. /package/dist/{lv-LV-Cbnl_BTV.js → lv-LV-D_BqPK2J.js} +0 -0
  1259. /package/dist/{lv-LV-DlQGKdqk.js → lv-LV-DkjsE74u.js} +0 -0
  1260. /package/dist/{lv-LV-D4clLiV42.js → lv-LV-Fz2z__sN.js} +0 -0
  1261. /package/dist/{lv-LV-CHzgorrn.js → lv-LV-nsjeQDem.js} +0 -0
  1262. /package/dist/{lv-LV-B34caEFv.js → lv-LV-u-vJn6T3.js} +0 -0
  1263. /package/dist/{mapAddressLocalizationToJpAddressSchema-Cp77VSSB.js → mapAddressLocalizationToJpAddressSchema-CBeBTFmC.js} +0 -0
  1264. /package/dist/{nl-NL-BUzOX91N.js → nl-NL-B8REgP66.js} +0 -0
  1265. /package/dist/{nl-NL-BXTbqvDG.js → nl-NL-BO-bzIOE.js} +0 -0
  1266. /package/dist/{nl-NL-BXVVoxv9.js → nl-NL-BWGCqpWp.js} +0 -0
  1267. /package/dist/{nl-NL-2uvrEI1a.js → nl-NL-BtdPxlFm.js} +0 -0
  1268. /package/dist/{nl-NL-DI_aNYah.js → nl-NL-C678Ydas.js} +0 -0
  1269. /package/dist/{nl-NL-6qgh_ZGA.js → nl-NL-CLL6yaXp.js} +0 -0
  1270. /package/dist/{nl-NL-6DRNI2_h.js → nl-NL-D8u-OQ2Z.js} +0 -0
  1271. /package/dist/{nl-NL-BCCzwWkw2.js → nl-NL-Xubp239B.js} +0 -0
  1272. /package/dist/{no-NO-BNL9v_bl.js → no-NO-0TPifz5u.js} +0 -0
  1273. /package/dist/{no-NO-CCtUTnqP.js → no-NO-BIhMgC99.js} +0 -0
  1274. /package/dist/{no-NO-A9MwJ3y8.js → no-NO-Bgl_00AJ.js} +0 -0
  1275. /package/dist/{no-NO-hgC3Li7e.js → no-NO-BsTJeq1r.js} +0 -0
  1276. /package/dist/{no-NO-DN8WIiN32.js → no-NO-CFu9XENI.js} +0 -0
  1277. /package/dist/{no-NO-Cd0Nf4Kq.js → no-NO-CP59oYE-.js} +0 -0
  1278. /package/dist/{no-NO-C037FAac.js → no-NO-vasSCJdc.js} +0 -0
  1279. /package/dist/{onfido-logo-BXb14yhW.js → onfido-logo-CMRuSr8M.js} +0 -0
  1280. /package/dist/{passport-blurred-DOfrfF0N.js → passport-blurred-0Uw8uYSJ.js} +0 -0
  1281. /package/dist/{passport-cut-off-DwNmCL8v.js → passport-cut-off-BPzI2BwO.js} +0 -0
  1282. /package/dist/{passport-front-DLG09n5u.js → passport-front-D6Nky-ni.js} +0 -0
  1283. /package/dist/{passport-front-green-BB3zGc3y.js → passport-front-green-BWuD3-Fs.js} +0 -0
  1284. /package/dist/{passport-glare-CkhvC36x.js → passport-glare-DFSFxNy9.js} +0 -0
  1285. /package/dist/{payout-bank-accounts-BN3KdVID.js → payout-bank-accounts-CsVPa1AN.js} +0 -0
  1286. /package/dist/{payout-verification-instant-DOCBn9if.js → payout-verification-instant-CSV3GQ4N.js} +0 -0
  1287. /package/dist/{payout-verification-manual-DmhxH6y1.js → payout-verification-manual-BHEF55k8.js} +0 -0
  1288. /package/dist/{pl-PL-BVYFKqiG.js → pl-PL-9di9pq8T.js} +0 -0
  1289. /package/dist/{pl-PL-DYmR6-f32.js → pl-PL-B5FSKIny.js} +0 -0
  1290. /package/dist/{pl-PL-D3NzOQQU.js → pl-PL-BT6NmGgO.js} +0 -0
  1291. /package/dist/{pl-PL-DDxFQhlh.js → pl-PL-C860xjSa.js} +0 -0
  1292. /package/dist/{pl-PL-DeAckp5p.js → pl-PL-DCIKCF5C.js} +0 -0
  1293. /package/dist/{pl-PL-59aMUgvV.js → pl-PL-DszjCCg8.js} +0 -0
  1294. /package/dist/{pl-PL-R2xSHe-z.js → pl-PL-wpXnySZL.js} +0 -0
  1295. /package/dist/{plaid-logo-CjpdjGNT.js → plaid-logo-tibaWEAL.js} +0 -0
  1296. /package/dist/{pt-BR-BdpAz26L.js → pt-BR-B0SUw4uu.js} +0 -0
  1297. /package/dist/{pt-BR-BDEGOFU52.js → pt-BR-BBIWB923.js} +0 -0
  1298. /package/dist/{pt-BR-BjLvBssy.js → pt-BR-BhBu4Wkn.js} +0 -0
  1299. /package/dist/{pt-BR-D8hxPoFJ.js → pt-BR-Bp3xzdX7.js} +0 -0
  1300. /package/dist/{pt-BR-C7pxsNe-.js → pt-BR-C3I_7Mcz.js} +0 -0
  1301. /package/dist/{pt-BR-7qFnlWUK.js → pt-BR-C5d5CGRt.js} +0 -0
  1302. /package/dist/{pt-BR-DGRn2oS9.js → pt-BR-DPA2WUjM.js} +0 -0
  1303. /package/dist/{pt-BR-B5i0TdE9.js → pt-BR-DtyxSlwY.js} +0 -0
  1304. /package/dist/{pt-PT-BTZOJZU6.js → pt-PT-B6OslB_S.js} +0 -0
  1305. /package/dist/{pt-PT-CI47ZET7.js → pt-PT-BZa5DvLf.js} +0 -0
  1306. /package/dist/{pt-PT-CEPDmPY7.js → pt-PT-CYMgik2d.js} +0 -0
  1307. /package/dist/{pt-PT-DFy0vZ_Z2.js → pt-PT-D1Mnwi3B.js} +0 -0
  1308. /package/dist/{pt-PT-BBd1NJRh.js → pt-PT-DdWMchfY.js} +0 -0
  1309. /package/dist/{pt-PT-DBFZcKHi.js → pt-PT-IPhkbQvT.js} +0 -0
  1310. /package/dist/{pt-PT-CJVVRZyV.js → pt-PT-KikTTc5A.js} +0 -0
  1311. /package/dist/{pt-PT-BqRmSpLn.js → pt-PT-MeSSYc0C.js} +0 -0
  1312. /package/dist/{reporting-CuOey349.js → reporting-B084dXT2.js} +0 -0
  1313. /package/dist/{review-CkmDUkhx.js → review-CN-zt9-S.js} +0 -0
  1314. /package/dist/{ro-RO-CA7NoMAg2.js → ro-RO-B72I1ycf.js} +0 -0
  1315. /package/dist/{ro-RO-e45j_CyV.js → ro-RO-BVGWEbO9.js} +0 -0
  1316. /package/dist/{ro-RO-GldC3IcE.js → ro-RO-CsKKl68g.js} +0 -0
  1317. /package/dist/{ro-RO-Bl3OcC_Q.js → ro-RO-DajmyI4j.js} +0 -0
  1318. /package/dist/{ro-RO-C4lcxnWO.js → ro-RO-dG27cZbT.js} +0 -0
  1319. /package/dist/{ro-RO-Bf10OHuY.js → ro-RO-jcGn-sY4.js} +0 -0
  1320. /package/dist/{ro-RO-C3g0pSKU.js → ro-RO-rUQBJ_rV.js} +0 -0
  1321. /package/dist/{singpass-logo-DESKvfOJ.js → singpass-logo-BlBOt-Jg.js} +0 -0
  1322. /package/dist/{singpass-logo-small-CBW6iXWW.js → singpass-logo-small-Dj6yeaQx.js} +0 -0
  1323. /package/dist/{sk-SK-C8d17RvE2.js → sk-SK-BFh-bgKq.js} +0 -0
  1324. /package/dist/{sk-SK-C9Cst_ER.js → sk-SK-CDUWGXfX.js} +0 -0
  1325. /package/dist/{sk-SK-y3Dcsvdc.js → sk-SK-DJWcs0qJ.js} +0 -0
  1326. /package/dist/{sk-SK-DXRluu5W.js → sk-SK-DP6XhEgm.js} +0 -0
  1327. /package/dist/{sk-SK-BSv5VXox.js → sk-SK-TwqCzMtZ.js} +0 -0
  1328. /package/dist/{sk-SK-wzPlUKNj.js → sk-SK-Woc9AmiO.js} +0 -0
  1329. /package/dist/{sk-SK-tk_1fC8g.js → sk-SK-bt84r8cG.js} +0 -0
  1330. /package/dist/{sl-SI-uhzy0HC12.js → sl-SI-Bc7dEjcH.js} +0 -0
  1331. /package/dist/{sl-SI-D6evG9fK.js → sl-SI-BpJHrRwy.js} +0 -0
  1332. /package/dist/{sl-SI-ChCyYnjd.js → sl-SI-C03fXovT.js} +0 -0
  1333. /package/dist/{sl-SI-CX-qAqMO.js → sl-SI-C_QeUL6t.js} +0 -0
  1334. /package/dist/{sl-SI-B-t1nY1x.js → sl-SI-DF6_X7op.js} +0 -0
  1335. /package/dist/{sl-SI-DiLuydaN.js → sl-SI-O8FoUWa8.js} +0 -0
  1336. /package/dist/{sl-SI-Bfdb7gjw.js → sl-SI-orV9B38l.js} +0 -0
  1337. /package/dist/{summaryItem-Dehjwp8D.js → summaryItem-uDWmtYtt.js} +0 -0
  1338. /package/dist/{sv-SE-BoITS9np.js → sv-SE-CLkZV2NG.js} +0 -0
  1339. /package/dist/{sv-SE-Bpo3MgEr.js → sv-SE-CQt2K1X-.js} +0 -0
  1340. /package/dist/{sv-SE-DlYizFz8.js → sv-SE-Cor3sNy0.js} +0 -0
  1341. /package/dist/{sv-SE-BOEa4u9p.js → sv-SE-D05i0X2z.js} +0 -0
  1342. /package/dist/{sv-SE-Bx_Mk5xx.js → sv-SE-D3MOTV-T.js} +0 -0
  1343. /package/dist/{sv-SE-DhNNMEwq.js → sv-SE-D5eIbgkk.js} +0 -0
  1344. /package/dist/{sv-SE-4oyeOi4Y.js → sv-SE-Di8YEdBA.js} +0 -0
  1345. /package/dist/{sv-SE-i9koytKp.js → sv-SE-IBYnJfbW.js} +0 -0
  1346. /package/dist/{taskStatus-DPUG3NS3.js → taskStatus-BtekPA8E.js} +0 -0
  1347. /package/dist/{taskTypes-CDFRB7A4.js → taskTypes-NawDTp5n.js} +0 -0
  1348. /package/dist/{tax-reporting-graph-DNooZCbb.js → tax-reporting-graph-B-x6VG09.js} +0 -0
  1349. /package/dist/{tink-logo-CqXir9XT.js → tink-logo-vN0QKOLM.js} +0 -0
  1350. /package/dist/{trackNavigation-LvCP5Vyc.js → trackNavigation-DR70qR8T.js} +0 -0
  1351. /package/dist/{trustMemberGuidance-2rtnGkMG.js → trustMemberGuidance-CgdU2v0j.js} +0 -0
  1352. /package/dist/{trusted-fields-provider-BXHH-pq0.js → trusted-fields-provider-DLz8KKVf.js} +0 -0
  1353. /package/dist/{types-CNZsK2dZ.js → types-Cwq1JAWT.js} +0 -0
  1354. /package/dist/{uppercase-DKruhEuk.js → uppercase-DvjwUM0n.js} +0 -0
  1355. /package/dist/{us-check-account-number-BME1X1ZC.js → us-check-account-number-6Votaq97.js} +0 -0
  1356. /package/dist/{us-check-BW6K3WxJ.js → us-check-pmEdQwDU.js} +0 -0
  1357. /package/dist/{us-check-routing-number-UatGnO16.js → us-check-routing-number-B87ag0C1.js} +0 -0
  1358. /package/dist/{useId-eJSYfA6i.js → useId-BkDhUta2.js} +0 -0
  1359. /package/dist/{useSettingsContext-DzwVt0W0.js → useSettingsContext-Bpf4UqRT.js} +0 -0
  1360. /package/dist/{utils--gwzjjeS.js → utils-DdHbAadK.js} +0 -0
  1361. /package/dist/{utils-Do5CMPEN.js → utils-K8Z-zRnu.js} +0 -0
  1362. /package/dist/{view-verification-status-CtW_qUMg.js → view-verification-status-XSQs02td.js} +0 -0
  1363. /package/dist/{yapily-logo-upggwl6u.js → yapily-logo-Cp5tK0Uw.js} +0 -0
@@ -0,0 +1,2500 @@
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] = "cd94bac8-c714-4670-aad0-2cb894ea8671", e._sentryDebugIdIdentifier = "sentry-dbid-cd94bac8-c714-4670-aad0-2cb894ea8671");
4
+ } catch (e) {}
5
+ import { a as Icon, i as Typography, n as addResourceBundles, o as createLogger, r as useTranslation, s as initReactI18next } from "./translation-ZXpd9jdD.js";
6
+ import { n as IconButton, r as Loader, t as Button } from "./Button-DBN5gM_d.js";
7
+ import { a as setSdkTokenHandler, i as refreshSession, n as httpGet, o as ApiProvider, r as httpPost, s as useApiContext } from "./http-DYzfwjcs.js";
8
+ import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-EN5ubX2H.js";
9
+ import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
10
+ import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BHh7Ux8v.js";
11
+ import { n as SettingsContext, t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
12
+ import { a as noop, c as entriesOf, l as keysOf, n as cloneObject, t as AnalyticsContext, u as valuesOf } from "./AnalyticsContext-BFrJmsp0.js";
13
+ import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
14
+ import { t as TaskVerificationStatus } from "./TaskVerificationStatus-gGr34dp5.js";
15
+ import { i as TaskStatuses, r as TASK_STATUS_PRIORITY } from "./taskStatus-BtekPA8E.js";
16
+ import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
17
+ import { n as Skeleton, t as Accordion } from "./Accordion-CSpLDvKK.js";
18
+ import { C as EntityTypes, n as getCapabilityProblems, t as getCapabilities, w as CUSTOMER_SUPPORT_DATA_MISSING_ERROR_CODES } from "./processCapabilities-hLmRus8U.js";
19
+ import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
20
+ import { a as getLegalRepresentative, i as getDirectEntityAssociations, l as getOwnSoleProprietorshipIdArray } from "./entityAssociationUtil-C-wflW8q.js";
21
+ import { i as getOwnDecisionMakersLegalEntityIds, n as getDecisionMakers, o as hasMinRequiredDecisionMakerCount } from "./decisionMakerRoles-DIG8zo1C.js";
22
+ import { n as TrustMemberGuidanceLabels, r as TrustMemberTypes } from "./trustMemberGuidance-CgdU2v0j.js";
23
+ import { t as getNestedPropertyKeys } from "./getNestedPropertyKeys-Cd8HKupP.js";
24
+ import { n as isEuCountry, r as isHkSgCountry } from "./country-BxigZW1s.js";
25
+ import i18n from "i18next";
26
+ import { Suspense, lazy } from "preact/compat";
27
+ import { useCallback as useCallback$1, useContext as useContext$1, useEffect as useEffect$1, useMemo as useMemo$1, useReducer, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
28
+ import cx from "classnames";
29
+ import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
30
+ import { computed, signal } from "@preact/signals";
31
+ import { QueryCache, QueryClient, QueryClientProvider, useMutation, useQuery } from "@tanstack/preact-query";
32
+ import { createContext as createContext$1, isValidElement as isValidElement$1 } from "preact";
33
+ import { defineSlots } from "named-slots";
34
+ //#region node_modules/.pnpm/vite-plugin-shadow-styles@0.0.3_vite@8.0.14_@types+node@25.9.2_esbuild@0.27.7_jiti@2.7.0_sass@1.99.0_/node_modules/vite-plugin-shadow-styles/dist/stylesheets.js
35
+ var sheet = new CSSStyleSheet();
36
+ var stylesheets = [sheet];
37
+ import("./styles-DYaAeu4q.js").then(({ css }) => {
38
+ sheet.replaceSync(css);
39
+ }).catch((err) => console.error("Error loading styles", err));
40
+ //#endregion
41
+ //#region src/language/i18n.ts
42
+ /**
43
+ * Initializes i18next and defines configurations
44
+ * i18next-resources-to-backend is a simple plugin used for the lazy loading of translation resources
45
+ */
46
+ i18n.use(initReactI18next).init({
47
+ defaultNS: false,
48
+ fallbackLng: "en-US",
49
+ load: "currentOnly",
50
+ resources: {},
51
+ showSupportNotice: false,
52
+ react: {
53
+ transSupportBasicHtmlNodes: true,
54
+ transKeepBasicHtmlNodesFor: [
55
+ "strong",
56
+ "i",
57
+ "em"
58
+ ],
59
+ bindI18n: "languageChanged",
60
+ bindI18nStore: "added"
61
+ },
62
+ interpolation: {
63
+ prefix: "%{",
64
+ suffix: "}"
65
+ }
66
+ });
67
+ //#endregion
68
+ //#region src/api/configurations/useVersionConfiguration.ts
69
+ /**
70
+ * Retrieves information about the onboarding version and version-specific features to enable
71
+ * linked to the legalEntityId
72
+ */
73
+ var getVersionConfiguration = async (legalEntityId, baseUrl) => {
74
+ return httpGet({
75
+ baseUrl,
76
+ path: `legalEntities/${legalEntityId}/configurations/version`
77
+ });
78
+ };
79
+ var useVersionConfiguration = (options) => {
80
+ const { rootLegalEntityId, baseUrl } = useApiContext();
81
+ return useQuery({
82
+ queryKey: ["versionConfiguration"],
83
+ queryFn: () => getVersionConfiguration(rootLegalEntityId.value, baseUrl.value),
84
+ ...options
85
+ });
86
+ };
87
+ //#endregion
88
+ //#region src/api/uiAnalytics/useAnalyticsSession.ts
89
+ /**
90
+ * @description Request to get an analytics session ID and fire an "Initiate session" event on Mixpanel
91
+ * @param data.userData Sets user profile properties on Mixpanel
92
+ * @returns a session id that is sent with every subsequent log event request
93
+ */
94
+ var getAnalyticsSession = async (baseUrl, data) => {
95
+ return httpPost({
96
+ baseUrl,
97
+ path: `analytics/ui`
98
+ }, data);
99
+ };
100
+ var useAnalyticsSession = (sessionData, onboardingVersion, options) => {
101
+ const { baseUrl } = useApiContext();
102
+ return useQuery({
103
+ queryKey: ["analyticsSession", onboardingVersion],
104
+ queryFn: () => getAnalyticsSession(baseUrl.value, sessionData),
105
+ enabled: Boolean(onboardingVersion),
106
+ ...options
107
+ });
108
+ };
109
+ //#endregion
110
+ //#region src/core/user-events.ts
111
+ var UserEvents = class {
112
+ queue = [];
113
+ subscriptions = /* @__PURE__ */ new Set();
114
+ /** payload of commmon props sent in every event */
115
+ baseTrackingPayload;
116
+ /** properties not set with every event but that may be shared between some events
117
+ * ex. `page` value for `Interacted with form field` events
118
+ */
119
+ sharedEventProperties;
120
+ constructor() {
121
+ this.baseTrackingPayload = {
122
+ category: "onboarding",
123
+ subCategory: "hosted onboarding"
124
+ };
125
+ this.sharedEventProperties = {};
126
+ }
127
+ add(...args) {
128
+ this.queue.push(...args);
129
+ }
130
+ notifySubscribers() {
131
+ while (this.queue.length > 0) {
132
+ const lastEvent = this.queue.pop();
133
+ this.subscriptions.forEach((callback) => callback(lastEvent));
134
+ }
135
+ }
136
+ /**
137
+ * Adds an analytics event with all base event properties.
138
+ */
139
+ addEvent(eventName, properties) {
140
+ const completeEvent = {
141
+ ...this.baseTrackingPayload,
142
+ ...properties
143
+ };
144
+ this.add({
145
+ type: "add_event",
146
+ name: eventName,
147
+ properties: completeEvent
148
+ });
149
+ this.notifySubscribers();
150
+ }
151
+ /**
152
+ * Adds an event with context specific to journey-related events
153
+ */
154
+ addJourneyEvent(eventName, properties) {
155
+ this.addEvent(eventName, {
156
+ actionLevel: "journey",
157
+ ...properties
158
+ });
159
+ }
160
+ /**
161
+ * Adds an event with context specific to task-related events
162
+ */
163
+ addTaskEvent(eventName, properties) {
164
+ this.addEvent(eventName, {
165
+ actionLevel: "task",
166
+ ...properties
167
+ });
168
+ }
169
+ /**
170
+ * Adds an event with context specific to page-related events
171
+ */
172
+ addPageEvent(eventName, properties) {
173
+ this.addEvent(eventName, {
174
+ actionLevel: "page",
175
+ page: this.sharedEventProperties.page,
176
+ ...properties
177
+ });
178
+ }
179
+ /**
180
+ * Adds an event with context specific to field-related events
181
+ */
182
+ addFieldEvent(eventName, properties) {
183
+ this.addEvent(eventName, {
184
+ actionLevel: "field",
185
+ page: this.sharedEventProperties.page,
186
+ ...properties
187
+ });
188
+ }
189
+ /**
190
+ * Tracks an experiment for Mixpanel experiment reporting
191
+ */
192
+ trackExperiment({ name, variant }) {
193
+ this.add({
194
+ type: "add_event",
195
+ name: "$experiment_started",
196
+ properties: {
197
+ ...this.baseTrackingPayload,
198
+ "Experiment name": name,
199
+ "Variant name": variant
200
+ }
201
+ });
202
+ }
203
+ /**
204
+ * Subscribes a callback to analytics events. It gets called every time
205
+ * one of the above public methods get called, and the event data is passed back as an array.
206
+ * The callback must have a single argument which is an array of [eventName, eventPayload?].
207
+ * @example
208
+ * ```js
209
+ * const callback = ([eventName, eventPayload]) => console.log(eventName, eventPayload);
210
+ * this.subscribe(callback);
211
+ *
212
+ * const exampleEventPayload = { count: 1, segmentation: { foo: 'bar' } };
213
+ * this.addEvent('exampleEventDidOccur', exampleEventPayload);
214
+ *
215
+ * // `callback` will get called with `['exampleEventDidOccur', exampleEventPayload]`
216
+ * ```
217
+ */
218
+ subscribe(callback) {
219
+ this.subscriptions.add(callback);
220
+ }
221
+ /**
222
+ * Sets params that are sent on every event
223
+ * */
224
+ updateBaseTrackingPayload(baseTrackingPayload) {
225
+ this.baseTrackingPayload = {
226
+ ...this.baseTrackingPayload,
227
+ ...baseTrackingPayload
228
+ };
229
+ }
230
+ /**
231
+ * Sets params that may be shared between events
232
+ * */
233
+ updateSharedEventProperties = (props) => {
234
+ this.sharedEventProperties = {
235
+ ...this.sharedEventProperties,
236
+ ...props
237
+ };
238
+ };
239
+ /**
240
+ * Removes a subscribed callback
241
+ */
242
+ unsubscribe(callback) {
243
+ if (this.subscriptions.has(callback)) this.subscriptions.delete(callback);
244
+ }
245
+ };
246
+ var createUserEvents = () => {
247
+ return new UserEvents();
248
+ };
249
+ //#endregion
250
+ //#region src/api/uiAnalytics/usePushAnalyticEvent.ts
251
+ var pushAnalyticEvent = async (baseUrl, sessionId, data) => {
252
+ return httpPost({
253
+ baseUrl,
254
+ path: `analytics/ui/${sessionId}`
255
+ }, data);
256
+ };
257
+ var usePushAnalyticEvent = (sessionId, options) => {
258
+ const { baseUrl } = useApiContext();
259
+ return useMutation({
260
+ mutationFn: (data) => pushAnalyticEvent(baseUrl.value, sessionId, data),
261
+ ...options
262
+ });
263
+ };
264
+ //#endregion
265
+ //#region src/utils/analytics/convertToEmbeddedEvent.ts
266
+ var convertToEmbeddedEvent = (eventQueueItem, sessionData) => {
267
+ const { type, name, properties } = eventQueueItem;
268
+ return {
269
+ eventName: name,
270
+ eventType: type,
271
+ eventData: properties || {},
272
+ legalEntityId: sessionData.legalEntityId,
273
+ userAgent: sessionData.userAgent,
274
+ componentName: sessionData.componentName,
275
+ sdkVersion: sessionData.sdkVersion
276
+ };
277
+ };
278
+ //#endregion
279
+ //#region src/utils/analytics/getAnalyticsAssociatedEntityDetails.ts
280
+ /**
281
+ * Gets associated legal entity type and ID for the base tracking payload
282
+ * Based on selected account holder type
283
+ */
284
+ var getAnalyticsAssociatedEntityDetails = (rootLegalEntity, accountHolderType) => {
285
+ let associatedLegalEntityType;
286
+ switch (accountHolderType) {
287
+ case "aTrust":
288
+ associatedLegalEntityType = "trust";
289
+ break;
290
+ case "mySoleProprietorName":
291
+ associatedLegalEntityType = "soleProprietorship";
292
+ break;
293
+ case "anUnincorporatedPartnership":
294
+ associatedLegalEntityType = "unincorporatedPartnership";
295
+ break;
296
+ default: associatedLegalEntityType = void 0;
297
+ }
298
+ const associatedLegalEntity = rootLegalEntity.entityAssociations?.find((ea) => ea.type === associatedLegalEntityType);
299
+ return {
300
+ associatedLegalEntityType,
301
+ associatedLegalEntityId: associatedLegalEntity?.legalEntityId
302
+ };
303
+ };
304
+ //#endregion
305
+ //#region src/utils/testing/ignoreLocalStorage.tsx
306
+ var IgnoreLocalStorageContext = createContext$1(false);
307
+ var useIgnoreLocalStorage = () => useContext$1(IgnoreLocalStorageContext);
308
+ //#endregion
309
+ //#region src/hooks/useLocalStorage.ts
310
+ var logger$4 = createLogger();
311
+ var useLocalStorage = (key, defaultValue, options) => {
312
+ const { serializer, parser, syncData } = useMemo$1(() => ({
313
+ serializer: JSON.stringify,
314
+ parser: JSON.parse,
315
+ syncData: true,
316
+ ...options
317
+ }), [options]);
318
+ const ignoreLocalStorage = useIgnoreLocalStorage() || typeof window === "undefined";
319
+ const rawValueRef = useRef$1(null);
320
+ const [value, setValue] = useState$1(() => {
321
+ if (ignoreLocalStorage) return defaultValue;
322
+ try {
323
+ rawValueRef.current = window.localStorage.getItem(key);
324
+ return rawValueRef.current ? parser(rawValueRef.current) : defaultValue;
325
+ } catch (err) {
326
+ logger$4.error(err);
327
+ return defaultValue;
328
+ }
329
+ });
330
+ useEffect$1(() => {
331
+ if (ignoreLocalStorage) return;
332
+ const updateLocalStorage = () => {
333
+ if (value !== void 0) {
334
+ const newValue = serializer(value);
335
+ const oldValue = rawValueRef.current;
336
+ rawValueRef.current = newValue;
337
+ window.localStorage.setItem(key, newValue);
338
+ window.dispatchEvent(new StorageEvent("storage", {
339
+ storageArea: window.localStorage,
340
+ url: window.location.href,
341
+ key,
342
+ newValue,
343
+ oldValue
344
+ }));
345
+ } else {
346
+ window.localStorage.removeItem(key);
347
+ window.dispatchEvent(new StorageEvent("storage", {
348
+ storageArea: window.localStorage,
349
+ url: window.location.href,
350
+ key
351
+ }));
352
+ }
353
+ };
354
+ try {
355
+ updateLocalStorage();
356
+ } catch (err) {
357
+ logger$4.error(err);
358
+ }
359
+ }, [value, ignoreLocalStorage]);
360
+ useEffect$1(() => {
361
+ if (!syncData) return;
362
+ const handleStorageChange = (event) => {
363
+ if (event.key !== key || event.storageArea !== window.localStorage) return;
364
+ try {
365
+ if (event.newValue !== rawValueRef.current) {
366
+ rawValueRef.current = event.newValue;
367
+ setValue(event.newValue ? parser(event.newValue) : void 0);
368
+ }
369
+ } catch (err) {
370
+ logger$4.error(err);
371
+ }
372
+ };
373
+ if (ignoreLocalStorage) return;
374
+ window.addEventListener("storage", handleStorageChange);
375
+ return () => {
376
+ window.removeEventListener("storage", handleStorageChange);
377
+ };
378
+ }, [
379
+ key,
380
+ syncData,
381
+ ignoreLocalStorage
382
+ ]);
383
+ return [value, setValue];
384
+ };
385
+ //#endregion
386
+ //#region src/hooks/useAccountHolder.ts
387
+ var getAccountHolderStorageKey = (legalEntityId) => `ACCOUNT_HOLDER-${legalEntityId}`;
388
+ var useAccountHolder = () => {
389
+ const { rootLegalEntityId } = useApiContext();
390
+ const [accountHolderFromLocalStorage, setAccountHolderIntoLocalStorage] = useLocalStorage(getAccountHolderStorageKey(rootLegalEntityId.value), void 0);
391
+ return {
392
+ accountHolder: accountHolderFromLocalStorage,
393
+ setAccountHolder: setAccountHolderIntoLocalStorage
394
+ };
395
+ };
396
+ //#endregion
397
+ //#region src/hooks/useAnalytics/useAnalytics.ts
398
+ var useAnalytics = ({ userEvents, sessionId, sessionData }) => {
399
+ const sdkVersion = "4.14.0-beta.0";
400
+ const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
401
+ const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
402
+ const { accountHolder } = useAccountHolder();
403
+ useEffect$1(() => {
404
+ if (!rootLegalEntity) return;
405
+ const countryCode = getLegalEntityCountry(rootLegalEntity);
406
+ const capabilities = Object.keys(rootLegalEntity?.capabilities ?? {});
407
+ userEvents.updateBaseTrackingPayload({
408
+ entityType: rootLegalEntity.type,
409
+ countryCode,
410
+ capabilities,
411
+ sdkVersion,
412
+ componentName: sessionData.componentName,
413
+ userAgent: navigator.userAgent,
414
+ ...getAnalyticsAssociatedEntityDetails(rootLegalEntity, accountHolder)
415
+ });
416
+ }, [
417
+ rootLegalEntity,
418
+ accountHolder,
419
+ sdkVersion,
420
+ sessionData.componentName,
421
+ userEvents
422
+ ]);
423
+ const pushEvents = useCallback$1((data) => {
424
+ mutateAsync(convertToEmbeddedEvent(data, sessionData));
425
+ }, [mutateAsync, sessionData]);
426
+ useEffect$1(() => {
427
+ if (!sessionId) return;
428
+ userEvents.subscribe(pushEvents);
429
+ return () => {
430
+ userEvents.unsubscribe(pushEvents);
431
+ };
432
+ }, [
433
+ sessionId,
434
+ mutateAsync,
435
+ userEvents,
436
+ sessionData,
437
+ pushEvents
438
+ ]);
439
+ };
440
+ //#endregion
441
+ //#region src/utils/analytics/getPrefilledDetails.ts
442
+ var getOrganizationPrefilledFields = (organization) => {
443
+ const { dateOfIncorporation, financialReports, registeredAddress, registrationNumber, support, taxInformation, type, vatNumber } = organization;
444
+ const financialReport = financialReports?.[0];
445
+ return {
446
+ dateOfIncorporation: !!dateOfIncorporation,
447
+ financialReport: {
448
+ annualTurnover: !!financialReport?.annualTurnover,
449
+ balanceSheetTotal: !!financialReport?.balanceSheetTotal,
450
+ dateOfFinancialData: !!financialReport?.dateOfFinancialData,
451
+ employeeCount: !!financialReport?.employeeCount
452
+ },
453
+ registeredAddress: {
454
+ city: !!registeredAddress?.city,
455
+ postalCode: !!registeredAddress?.postalCode,
456
+ stateOrProvince: !!registeredAddress?.stateOrProvince,
457
+ street: !!registeredAddress?.street
458
+ },
459
+ registrationNumber: !!registrationNumber,
460
+ support: {
461
+ email: !!support?.email,
462
+ phone: !!support?.phone
463
+ },
464
+ taxInformation: !!taxInformation?.some((taxInfo) => taxInfo.country && taxInfo.number),
465
+ type: !!type,
466
+ vatNumber: !!vatNumber
467
+ };
468
+ };
469
+ var getPrefilledDetails = (legalEntity) => {
470
+ if (!legalEntity) return;
471
+ const { organization, transferInstruments, entityAssociations } = legalEntity;
472
+ return {
473
+ transferInstrumentCount: transferInstruments?.length || 0,
474
+ entityAssociations: entityAssociations?.map((entity) => entity.type) || [],
475
+ organization: organization && getOrganizationPrefilledFields(organization)
476
+ };
477
+ };
478
+ //#endregion
479
+ //#region src/context/AnalyticsContext/AnalyticsProvider.tsx
480
+ /**
481
+ * The provider exists to scope analytics to one application instance.
482
+ * This would otherwise be problematic when a consumer might have several
483
+ * instantiations of a embedded Component for instance on the same page
484
+ */
485
+ var AnalyticsProvider = ({ componentName, children, rootLegalEntityId, locale }) => {
486
+ const { settings } = useSettingsContext();
487
+ const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
488
+ const { data: versionData, isError, isLoading } = useVersionConfiguration();
489
+ const userEvents = useMemo$1(() => createUserEvents(), []);
490
+ const onboardingVersion = isLoading ? void 0 : isError ? 1 : versionData?.version;
491
+ const capabilities = rootLegalEntity?.capabilities && Object.keys(rootLegalEntity.capabilities);
492
+ const shouldTrackPrefilledDetails = capabilities?.includes("receivePayments") && onboardingVersion && onboardingVersion > 1;
493
+ const sessionData = {
494
+ sdkVersion: "4.14.0-beta.0",
495
+ componentName,
496
+ userAgent: navigator.userAgent,
497
+ legalEntityId: rootLegalEntityId,
498
+ capabilities,
499
+ entityType: rootLegalEntity?.type,
500
+ eventData: shouldTrackPrefilledDetails ? getPrefilledDetails(rootLegalEntity) : void 0,
501
+ userData: {
502
+ onboardingVersion,
503
+ isDirectMerchant: settings.merchantType === "direct",
504
+ settings,
505
+ country: rootLegalEntity && getLegalEntityCountry(rootLegalEntity)
506
+ }
507
+ };
508
+ const { data } = useAnalyticsSession(sessionData, onboardingVersion);
509
+ userEvents.updateBaseTrackingPayload({ locale });
510
+ useAnalytics({
511
+ userEvents,
512
+ sessionId: data?.id,
513
+ sessionData
514
+ });
515
+ return /* @__PURE__ */ jsx(AnalyticsContext.Provider, {
516
+ value: userEvents,
517
+ children
518
+ });
519
+ };
520
+ //#endregion
521
+ //#region src/context/QueryContext/QueryClient.ts
522
+ var QueryClient$1 = new QueryClient({
523
+ defaultOptions: {
524
+ queries: {
525
+ staleTime: 300 * 1e3,
526
+ refetchOnWindowFocus: false,
527
+ refetchOnReconnect: true,
528
+ refetchOnMount: true,
529
+ retry: 2
530
+ },
531
+ mutations: { retry: 1 }
532
+ },
533
+ queryCache: new QueryCache({
534
+ onSuccess: (data, query) => {
535
+ if (query.meta?.onSuccess && typeof query.meta.onSuccess === "function") query.meta.onSuccess(data);
536
+ },
537
+ onError: (data, query) => {
538
+ if (query.meta?.onError && typeof query.meta.onError === "function") query.meta.onError(data);
539
+ }
540
+ })
541
+ });
542
+ //#endregion
543
+ //#region src/context/QueryContext/QueryClientProvider.tsx
544
+ /** Standard tanstack query provider, needed for it to work */
545
+ var QueryClientProvider$1 = ({ children }) => /* @__PURE__ */ jsx(QueryClientProvider, {
546
+ client: QueryClient$1,
547
+ children
548
+ });
549
+ //#endregion
550
+ //#region src/context/SettingsContext/SettingsProvider.tsx
551
+ var settingsDefaults = {
552
+ acceptedCountries: void 0,
553
+ allowBankAccountFormatSelection: false,
554
+ allowDebugUi: false,
555
+ allowIntraRegionCrossBorderPayout: false,
556
+ changeLegalEntityType: true,
557
+ editPrefilledCountry: true,
558
+ requirePciSignEcomMoto: false,
559
+ requirePciSignEcommerce: false,
560
+ requirePciSignPos: false,
561
+ requirePciSignPosMoto: false,
562
+ hideOnboardingIntroductionIndividual: true,
563
+ hideOnboardingIntroductionOrganization: true,
564
+ hideOnboardingIntroductionTrust: true,
565
+ hideOnboardingIntroductionSoleProprietor: true,
566
+ viewOnboardingGuidance: false,
567
+ transferInstrumentLimit: 0,
568
+ instantBankVerification: true,
569
+ showServiceAgreementsFirst: false,
570
+ showBusinessFinancingFirst: false,
571
+ enforceLegalAge: false,
572
+ merchantType: void 0,
573
+ allowBusinessLines: false,
574
+ allowCrossBorderPayout: false
575
+ };
576
+ /**
577
+ * Consumers can pass settings @see settingsDefaults, which can alter on runtime
578
+ * the behaviour of our library
579
+ * The settings are dynamically passed during SDK initialization (same as legalEntityId)
580
+ * @param settings - dictionary of type Settings
581
+ */
582
+ function SettingsProvider({ children, settings }) {
583
+ const mergedSettings = {
584
+ ...settingsDefaults,
585
+ ...settings
586
+ };
587
+ const contextValue = useMemo$1(() => ({
588
+ isSettingEnabled: (settingName) => mergedSettings[settingName],
589
+ getSetting: (settingName) => mergedSettings[settingName],
590
+ settings: mergedSettings
591
+ }), [settings]);
592
+ return /* @__PURE__ */ jsx(SettingsContext.Provider, {
593
+ value: contextValue,
594
+ children
595
+ });
596
+ }
597
+ //#endregion
598
+ //#region src/context/StateContext/StateContext.ts
599
+ var StateContext = createContext$1(null);
600
+ //#endregion
601
+ //#region src/utils/validatorUtils.ts
602
+ var MAX_LENGTH = 30;
603
+ var getMaxLengthByFieldAndCountry = (formattingRules, field, country, ignoreIfFormatterExists) => {
604
+ if (!country) return void 0;
605
+ if (ignoreIfFormatterExists && formattingRules[country]?.[field]?.formatter) return;
606
+ return formattingRules[country]?.[field]?.maxlength || MAX_LENGTH;
607
+ };
608
+ var isUndefinedOrNull = (input) => input === void 0 || input === null;
609
+ var isEmpty = (input) => isUndefinedOrNull(input) || typeof input === "object" && Object.keys(input).length === 0 || typeof input === "string" && /^\s*$/.test(input);
610
+ var hasEmptyFields = (input) => input !== void 0 && (Object.keys(input).length === 0 || Object.values(input).some((value) => value === void 0 || value === null || value === ""));
611
+ var isAccountIdentifierObscured = (payload) => {
612
+ const accountIdentifier = payload?.type === "iban" ? payload.iban : payload?.accountNumber;
613
+ return Boolean(accountIdentifier) && accountIdentifier.includes("*");
614
+ };
615
+ var extractFieldName = (inputString) => {
616
+ const fieldNames = inputString?.split(".");
617
+ return fieldNames?.length > 0 ? fieldNames[fieldNames.length - 1] : "";
618
+ };
619
+ var concatenateFieldNames = (fieldNames) => fieldNames?.join(", ");
620
+ var isString = (input) => typeof input === "string" || input instanceof String;
621
+ var hasText = (input) => isString(input) && !isEmpty(input);
622
+ var SPECIAL_CHARS = "?\\-\\+_=!@#$%^&*(){}~<>\\[\\]\\/\\\\";
623
+ var getFormattingRegEx = (specChars, flags = "g") => new RegExp(`[${specChars}]`, flags);
624
+ var trimValWithOneSpace = (val) => val.trimStart().replace(/\s+/g, " ");
625
+ var EMOJI_REGEX = /(\p{Emoji}\uFE0F|\p{Emoji_Presentation}|\p{Extended_Pictographic})/gu;
626
+ var NO_ALPHABET_REGEX = /^[^a-zA-Z]*$/;
627
+ var NO_ALPHABET_UNICODE_REGEX = /^[^\p{L}]*$/u;
628
+ var INDIVIDUAL_VALID_CHAR_REGEX = /^[\p{L}\p{M}\d\s\-—./']*$/u;
629
+ var ADDRESS_VALID_CHAR_REGEX = /^[\p{L}\p{M}\d\s\-—.,/']*$/u;
630
+ var OTHER_ENTITIES_VALID_CHAR_REGEX = /^[\w\s,.;:\-—&!?@()"'/\\+\p{L}\p{M}]+$/u;
631
+ var LATIN_SPACE_MARK_PUNCTUATION_NUMBERS_REGEX = /^[\p{sc=Latin}\p{Zs}\p{M}\p{Punctuation}\p{N}]+$/u;
632
+ var matchesRegex = (regex, input) => isString(input) && regex.test(input ?? "");
633
+ var hasRepeatedCharacters = (input) => !isEmpty(input) && input.length > 1 && new Set(input.toLowerCase()).size === 1;
634
+ var hasMaximumTwoRepeatedCharacters = (input) => !isEmpty(input) && input.length > 2 && new Set(input.toLowerCase()).size === 1;
635
+ var isValidMinLength = (input, minLength = 1) => !isEmpty(input) && input.length >= minLength;
636
+ var isInvalidName = (input) => {
637
+ return new Set([
638
+ "John Doe",
639
+ "Jane Doe",
640
+ "ABCD",
641
+ "ABCDE",
642
+ "ABCDEF",
643
+ "ABCDEFG",
644
+ "My Customer",
645
+ "An other",
646
+ "n/a",
647
+ "not applicable",
648
+ "n/A",
649
+ "N/A",
650
+ "N/a",
651
+ "N\\ /A",
652
+ "not app",
653
+ "null"
654
+ ]).has(input || "");
655
+ };
656
+ var standardKanjiValidator = (input) => {
657
+ const regex = /* @__PURE__ */ new RegExp("^[一-鿿㐀-䶿豈-﫿ぁ-ゖァ-ヺー-ヿ0-9A-Za-z・ー‐-−’,.& Ⅰ-Ⅺ・-゚A-Za-z0-9,.& ]+$");
658
+ return !isEmpty(input) && regex.test(input);
659
+ };
660
+ var standardKatakanaValidator = (input) => {
661
+ const regex = /* @__PURE__ */ new RegExp("^[ァ-ヶㇰ-ㇿA-Za-z0-9・ー‐-−’,.& Ⅰ-Ⅺ・-゚A-Za-z0-9 ,.& へべぺ]+$");
662
+ return !isEmpty(input) && regex.test(input);
663
+ };
664
+ var chomeAndBanchiValidator = (input) => {
665
+ const regex = /* @__PURE__ */ new RegExp("^([0-9]{1,4}-[0-9]{1,4}|[0-9]{1,4}-[0-9]{1,4}-[0-9]{1,4}|[0-9]{1,4}-[0-9]{1,4}-[0-9]{1,4}-[0-9]{1,4})$");
666
+ return !isEmpty(input) && regex.test(input);
667
+ };
668
+ function assertString(input) {
669
+ if (input === void 0 || input === null) throw new TypeError(`Expected a string but received a ${input}`);
670
+ if (input.constructor.name !== "String") throw new TypeError(`Expected a string but received a ${input.constructor.name}`);
671
+ }
672
+ var isin = /^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;
673
+ function isISIN(str) {
674
+ assertString(str);
675
+ if (!isin.test(str)) return false;
676
+ let double = true;
677
+ let sum = 0;
678
+ for (let i = str.length - 2; i >= 0; i--) {
679
+ const char = str[i];
680
+ if (char >= "A" && char <= "Z") {
681
+ const value = char.charCodeAt(0) - 55;
682
+ const lo = value % 10;
683
+ const hi = Math.trunc(value / 10);
684
+ for (const digit of [lo, hi]) {
685
+ if (double) if (digit >= 5) sum += 1 + (digit - 5) * 2;
686
+ else sum += digit * 2;
687
+ else sum += digit;
688
+ double = !double;
689
+ }
690
+ } else {
691
+ const digit = parseInt(char, 10);
692
+ if (double) if (digit >= 5) sum += 1 + (digit - 5) * 2;
693
+ else sum += digit * 2;
694
+ else sum += digit;
695
+ double = !double;
696
+ }
697
+ }
698
+ const check = Math.trunc((sum + 9) / 10) * 10 - sum;
699
+ const lastChar = str[str.length - 1];
700
+ if (lastChar === void 0 || isNaN(parseInt(lastChar, 10))) return false;
701
+ return parseInt(lastChar, 10) === check;
702
+ }
703
+ //#endregion
704
+ //#region src/utils/removeObjectEmptyValues.ts
705
+ function removeObjectPropsWithEmptyValues(obj) {
706
+ keysOf(obj).forEach((key) => {
707
+ if (obj[key] === null || isEmpty(obj[key])) delete obj[key];
708
+ });
709
+ return obj;
710
+ }
711
+ //#endregion
712
+ //#region src/context/StateContext/StateReducer.ts
713
+ var INITIAL_STATE = {
714
+ data: {},
715
+ allData: {},
716
+ initialData: {},
717
+ errors: {},
718
+ valid: {},
719
+ fieldProblems: {},
720
+ isValid: false,
721
+ allValid: false
722
+ };
723
+ var logger$3 = createLogger();
724
+ function StateReducer() {
725
+ const [schemas, setSchemas] = useState$1({});
726
+ const [activeForms, setActiveForms] = useState$1([]);
727
+ const setCurrentForms = (forms) => {
728
+ setActiveForms(forms);
729
+ };
730
+ function reducer({ currentState: currState, prevState }, action) {
731
+ switch (action.type) {
732
+ case "addToState": {
733
+ if (!action.value.dataStoreId) {
734
+ logger$3.warn("No dataStoreId provided, hence no update can be done");
735
+ return {
736
+ currentState: currState,
737
+ prevState
738
+ };
739
+ }
740
+ const dataStoreId = action.value.dataStoreId;
741
+ const state = structuredClone(currState);
742
+ const schema = action.value.schema || null;
743
+ const schemaHasChanged = schema && schemas?.[dataStoreId]?.toString() !== schema.toString();
744
+ const mergedState = {
745
+ ...state,
746
+ data: {
747
+ ...state.data,
748
+ [dataStoreId]: {
749
+ ...state.data[dataStoreId],
750
+ ...action.value.data
751
+ }
752
+ },
753
+ allData: {
754
+ ...state.allData,
755
+ [dataStoreId]: {
756
+ ...state.allData[dataStoreId],
757
+ ...removeObjectPropsWithEmptyValues(action.value.data)
758
+ }
759
+ },
760
+ errors: {
761
+ ...state.errors,
762
+ [dataStoreId]: {
763
+ ...state.errors[dataStoreId],
764
+ ...action.value.errors
765
+ }
766
+ },
767
+ valid: {
768
+ ...state.valid,
769
+ [dataStoreId]: {
770
+ ...state.valid[dataStoreId],
771
+ ...action.value.valid
772
+ }
773
+ },
774
+ fieldProblems: {
775
+ ...state.fieldProblems,
776
+ [dataStoreId]: {
777
+ ...state.fieldProblems[dataStoreId],
778
+ ...action.value.fieldProblems
779
+ }
780
+ }
781
+ };
782
+ /**
783
+ * Some components e.g. personalDetails, are parents for other components and the data from these children is collected
784
+ * under the parent's id (aka dataStoreId) i.e. 'personalDetails.
785
+ *
786
+ * With these parents sometimes their schema for their useForm implementation updates at run time - so this fny checks
787
+ * if a schema has changed and if so ensures that the keys output in the data, valid, errors, fieldProblems objects
788
+ * match those of the parent schema
789
+ */
790
+ if (schemaHasChanged) {
791
+ setSchemas({
792
+ ...schemas,
793
+ [dataStoreId]: schema
794
+ });
795
+ const processedBySchema = schema.reduce((acc, fieldKey) => {
796
+ const dataObjByFormId = mergedState.data[dataStoreId];
797
+ const allDataObjByFormId = mergedState.allData[dataStoreId];
798
+ const validObjByFormId = mergedState.valid[dataStoreId];
799
+ const errorsObjByFormId = mergedState.errors[dataStoreId];
800
+ const fieldProblemsObjByFormId = mergedState.fieldProblems[dataStoreId];
801
+ return {
802
+ data: {
803
+ ...acc.data,
804
+ [fieldKey]: dataObjByFormId[fieldKey] ?? allDataObjByFormId[fieldKey]
805
+ },
806
+ valid: {
807
+ ...acc.valid,
808
+ [fieldKey]: validObjByFormId[fieldKey]
809
+ },
810
+ errors: {
811
+ ...acc.errors,
812
+ [fieldKey]: errorsObjByFormId[fieldKey]
813
+ },
814
+ fieldProblems: {
815
+ ...acc.fieldProblems,
816
+ [fieldKey]: fieldProblemsObjByFormId[fieldKey]
817
+ }
818
+ };
819
+ }, {
820
+ data: {},
821
+ valid: {},
822
+ errors: {},
823
+ fieldProblems: {}
824
+ });
825
+ mergedState.data[dataStoreId] = processedBySchema.data;
826
+ mergedState.valid[dataStoreId] = processedBySchema.valid;
827
+ mergedState.errors[dataStoreId] = processedBySchema.errors;
828
+ mergedState.fieldProblems[dataStoreId] = processedBySchema.fieldProblems;
829
+ }
830
+ mergedState.validityByForm = {
831
+ ...mergedState.validityByForm,
832
+ [dataStoreId]: Object.values(mergedState.valid[dataStoreId]).every((isValid) => isValid)
833
+ };
834
+ mergedState.allValid = Object.values(mergedState.validityByForm).every((isValid) => isValid);
835
+ mergedState.isValid = !activeForms.length ? mergedState.allValid : activeForms.every((item) => mergedState.validityByForm?.[item]);
836
+ mergedState.initialData = structuredClone(state.initialData);
837
+ return {
838
+ currentState: mergedState,
839
+ prevState: state
840
+ };
841
+ }
842
+ case "removeFromState": {
843
+ if (!action.value.dataStoreId) {
844
+ logger$3.warn("No dataStoreId provided, hence no update can be done");
845
+ return {
846
+ currentState: currState,
847
+ prevState
848
+ };
849
+ }
850
+ const dataStoreId = action.value.dataStoreId;
851
+ const state = structuredClone(currState);
852
+ const mergedState = {
853
+ ...state,
854
+ data: {
855
+ ...state.data,
856
+ [dataStoreId]: {}
857
+ },
858
+ allData: {
859
+ ...state.allData,
860
+ [dataStoreId]: {}
861
+ },
862
+ errors: {
863
+ ...state.errors,
864
+ [dataStoreId]: {}
865
+ },
866
+ valid: {
867
+ ...state.valid,
868
+ [dataStoreId]: false
869
+ },
870
+ fieldProblems: {
871
+ ...state.fieldProblems,
872
+ [dataStoreId]: {}
873
+ }
874
+ };
875
+ mergedState.validityByForm = {
876
+ ...mergedState.validityByForm,
877
+ [dataStoreId]: false
878
+ };
879
+ mergedState.allValid = Object.values(mergedState.validityByForm).every((isValid) => isValid);
880
+ mergedState.isValid = !activeForms.length ? mergedState.allValid : activeForms.every((item) => mergedState.validityByForm?.[item]);
881
+ mergedState.initialData = structuredClone(state.initialData);
882
+ return {
883
+ currentState: mergedState,
884
+ prevState: state
885
+ };
886
+ }
887
+ case "resetState": return {
888
+ currentState: INITIAL_STATE,
889
+ prevState: currState
890
+ };
891
+ default: throw new Error(`Unhandled action type: ${action.type}`);
892
+ }
893
+ }
894
+ return {
895
+ reducer,
896
+ setCurrentForms
897
+ };
898
+ }
899
+ //#endregion
900
+ //#region src/context/StateContext/StateProvider.tsx
901
+ function StateProvider({ defaultData = {}, children }) {
902
+ const defaultState = {
903
+ currentState: {
904
+ data: defaultData,
905
+ allData: defaultData,
906
+ valid: {},
907
+ errors: {},
908
+ fieldProblems: {},
909
+ validityByForm: {},
910
+ initialData: defaultData
911
+ },
912
+ prevState: {}
913
+ };
914
+ const reducerObj = StateReducer();
915
+ const [state, dispatch] = useReducer(reducerObj.reducer, defaultState);
916
+ /**
917
+ * Create an object from the returned reducer props
918
+ * - the state property in this object will be available to any handler functions set on StateContextWatcher
919
+ * - the dispatch property is made available to the StateContextSetter
920
+ */
921
+ const contextValue = useMemo$1(() => ({
922
+ state,
923
+ dispatch,
924
+ setActiveForms: reducerObj.setCurrentForms,
925
+ getData: () => state?.currentState?.data ?? {},
926
+ getState: () => state?.currentState
927
+ }), [reducerObj, state]);
928
+ return /* @__PURE__ */ jsx(StateContext.Provider, {
929
+ value: contextValue,
930
+ children
931
+ });
932
+ }
933
+ var Toast_module_default = {
934
+ toast: "_toast_5bwuk_1",
935
+ "present-toast": "_present-toast_5bwuk_1",
936
+ presentToast: "_present-toast_5bwuk_1",
937
+ "toast-image": "_toast-image_5bwuk_22",
938
+ toastImage: "_toast-image_5bwuk_22",
939
+ "toast-image-success": "_toast-image-success_5bwuk_32",
940
+ toastImageSuccess: "_toast-image-success_5bwuk_32",
941
+ "toast-image-error": "_toast-image-error_5bwuk_37",
942
+ toastImageError: "_toast-image-error_5bwuk_37",
943
+ "toast-label": "_toast-label_5bwuk_42",
944
+ toastLabel: "_toast-label_5bwuk_42",
945
+ "toast-actions": "_toast-actions_5bwuk_55",
946
+ toastActions: "_toast-actions_5bwuk_55",
947
+ "toast-action-close": "_toast-action-close_5bwuk_64",
948
+ toastActionClose: "_toast-action-close_5bwuk_64"
949
+ };
950
+ //#endregion
951
+ //#region src/components/ui/molecules/Toast/Toast.tsx
952
+ var Toast = ({ action, duration = 1e4, label, onDismiss, variant = "info" }) => {
953
+ const hasIcon = variant === "success" || variant === "error";
954
+ const hasAction = action !== void 0;
955
+ const role = hasAction ? "alertdialog" : "alert";
956
+ const iconNames = {
957
+ error: "field-error",
958
+ success: "checkmark"
959
+ };
960
+ const imageClassname = cx(Toast_module_default.toastImage, {
961
+ [Toast_module_default.toastImageSuccess]: variant === "success",
962
+ [Toast_module_default.toastImageError]: variant === "error"
963
+ });
964
+ useEffect$1(() => {
965
+ let dismissToastTimer;
966
+ if (duration !== "indefinite") dismissToastTimer = setTimeout(() => {
967
+ onDismiss();
968
+ }, duration);
969
+ return () => {
970
+ clearTimeout(dismissToastTimer);
971
+ };
972
+ }, [duration, onDismiss]);
973
+ return /* @__PURE__ */ jsxs("div", {
974
+ "aria-label": label,
975
+ className: Toast_module_default.toast,
976
+ role,
977
+ children: [/* @__PURE__ */ jsxs("div", {
978
+ className: Toast_module_default.toastLabel,
979
+ children: [hasIcon && /* @__PURE__ */ jsx("div", {
980
+ className: imageClassname,
981
+ "data-testId": iconNames[variant],
982
+ children: /* @__PURE__ */ jsx(Icon, { name: iconNames[variant] })
983
+ }), label]
984
+ }), /* @__PURE__ */ jsxs("div", {
985
+ className: Toast_module_default.toastActions,
986
+ children: [hasAction && /* @__PURE__ */ jsx(Button, {
987
+ onClick: action.onClick,
988
+ children: action.label
989
+ }), /* @__PURE__ */ jsx("div", {
990
+ className: Toast_module_default.toastActionClose,
991
+ children: /* @__PURE__ */ jsx(IconButton, {
992
+ icon: "cross",
993
+ ariaLabel: "Close",
994
+ onClick: onDismiss
995
+ })
996
+ })]
997
+ })]
998
+ });
999
+ };
1000
+ //#endregion
1001
+ //#region src/context/ToastContext/ToastContext.ts
1002
+ var ToastContext = createContext$1({
1003
+ showToast: noop,
1004
+ clearToasts: noop
1005
+ });
1006
+ //#endregion
1007
+ //#region src/context/ToastContext/ToastContextProvider.tsx
1008
+ function ToastContextProvider({ children }) {
1009
+ const [toastOptions, setToastOptions] = useState$1();
1010
+ const clearToasts = () => {
1011
+ setToastOptions(void 0);
1012
+ };
1013
+ const contextValue = useMemo$1(() => ({
1014
+ showToast: (options) => {
1015
+ setToastOptions(options);
1016
+ },
1017
+ clearToasts
1018
+ }), []);
1019
+ return /* @__PURE__ */ jsxs(ToastContext.Provider, {
1020
+ value: contextValue,
1021
+ children: [!!toastOptions && /* @__PURE__ */ jsx(Toast, {
1022
+ label: toastOptions.label,
1023
+ variant: toastOptions.variant,
1024
+ action: toastOptions.action,
1025
+ duration: toastOptions.duration,
1026
+ onDismiss: clearToasts
1027
+ }), children]
1028
+ });
1029
+ }
1030
+ //#endregion
1031
+ //#region src/api/toggles/useToggles.ts
1032
+ /**
1033
+ * Retrieves experiments and onboardingcomponents-specific feature flags
1034
+ * as defined in `OnboardingcomponentsFeatures.java` linked to the legalEntityId
1035
+ */
1036
+ var getToggles = async (legalEntityId, baseUrl) => {
1037
+ const { experiments, features } = await httpGet({
1038
+ baseUrl,
1039
+ path: `legalEntities/${legalEntityId}/flags`
1040
+ });
1041
+ return {
1042
+ experiments: experiments ? Object.values(experiments).reduce((acc, val) => {
1043
+ return {
1044
+ ...acc,
1045
+ [val]: true
1046
+ };
1047
+ }, {}) : {},
1048
+ features
1049
+ };
1050
+ };
1051
+ var useToggles = (options) => {
1052
+ const { rootLegalEntityId, baseUrl } = useApiContext();
1053
+ return useQuery({
1054
+ queryKey: ["toggles"],
1055
+ queryFn: () => getToggles(rootLegalEntityId.value, baseUrl.value),
1056
+ ...options
1057
+ });
1058
+ };
1059
+ //#endregion
1060
+ //#region src/utils/listToRecord.ts
1061
+ var listToRecord = (list, getValue) => list.reduce((acc, k) => ({
1062
+ ...acc,
1063
+ [k]: getValue(k)
1064
+ }), {});
1065
+ //#endregion
1066
+ //#region src/context/ToggleContext/ToggleContext.tsx
1067
+ var ToggleContext = createContext$1({
1068
+ features: {},
1069
+ isFeatureEnabled: () => false,
1070
+ experiments: {},
1071
+ isExperimentEnabled: () => false,
1072
+ refreshExperiments: () => {}
1073
+ });
1074
+ //#endregion
1075
+ //#region src/context/ToggleContext/types.ts
1076
+ /**
1077
+ * Features which are passed into our SDK via a prop (ex. `adyen-onboarding.tsx` or `UIElement.tsx`)
1078
+ * These are enabled/disabled via our feature framework and are intended to be short-lived. Used for feature rollout purposes.
1079
+ */
1080
+ var PropFeatureNames = {
1081
+ /**
1082
+ * Passed in from uo sdk, TODO: move to settings
1083
+ */
1084
+ EnableEInvoicingCodeField: "EnableEInvoicingCodeField",
1085
+ HidePayoutAccountTask: "HidePayoutAccountTask",
1086
+ ShowExtraTaxExemptionReasons: "ShowExtraTaxExemptionReasons",
1087
+ /**
1088
+ * Old features
1089
+ */
1090
+ AllowMoreRolesForMainRootTrustee: "AllowMoreRolesForMainRootTrustee",
1091
+ EnablePhoneFieldScenario: "EnablePhoneFieldScenario",
1092
+ ShowUnsupportedEntityType: "ShowUnsupportedEntityType"
1093
+ };
1094
+ /**
1095
+ * Features which are returned from a call made to onboardingcomponents for feature flags and experiments (see `useToggles`).
1096
+ * These are enabled/disabled via our feature framework and are intended to be short-lived. Used for feature rollout purposes.
1097
+ * Defined in the BE (`OnboardingcomponentsFeatures.java`).
1098
+ */
1099
+ var FeatureFrameworkFeatureNames = {
1100
+ /**
1101
+ * OXP-6596: Enable Bank Document Classification in HO
1102
+ */
1103
+ EnableBankDocumentClassification: "EnableBankDocumentClassification",
1104
+ /**
1105
+ * OXP-6596: Enable Bank Document Classification in ShadowMode in HO
1106
+ */
1107
+ EnableBankDocumentClassificationShadowMode: "EnableBankDocumentClassificationShadowMode",
1108
+ /**
1109
+ * OXP-7195: Enable business details rendering inside of a modal
1110
+ */
1111
+ EnableBusinessDetailsModal: "EnableBusinessDetailsModal",
1112
+ /**
1113
+ * SOE-4062: Enable cross border payouts configuration for Bank Account task
1114
+ */
1115
+ EnableCrossBorderPayouts: "EnableCrossBorderPayouts",
1116
+ /**
1117
+ * OXP-6032: Enable editing a single business line
1118
+ */
1119
+ EnableDeleteBusinessLines: "EnableDeleteBusinessLines",
1120
+ /**
1121
+ * OXP-6799: Enable limit to a single business line
1122
+ */
1123
+ EnableLimitToSingleBusinessLine: "EnableLimitToSingleBusinessLine",
1124
+ /**
1125
+ * Enable in-memory routing (wouter-preact memoryLocation) instead of state-based navigation.
1126
+ * When both EnableURLRouterForHostedOnboarding and EnableMemoryRouterForHostedOnboarding are on, memory router takes precedence.
1127
+ */
1128
+ EnableMemoryRouterForHostedOnboarding: "EnableMemoryRouterForHostedOnboarding",
1129
+ /**
1130
+ * OXP-6032: Enable editing a single business line
1131
+ */
1132
+ EnableModifyBusinessLines: "EnableModifyBusinessLines",
1133
+ /**
1134
+ * Enable URL-based routing (wouter-preact) instead of state-based navigation
1135
+ */
1136
+ EnableURLRouterForHostedOnboarding: "EnableURLRouterForHostedOnboarding",
1137
+ /**
1138
+ * Enable "Verify by Invite" flow for decision makers in Identity Verification
1139
+ */
1140
+ EnableVerifyByInvite: "EnableVerifyByInvite",
1141
+ /**
1142
+ * Use the status calculated on the backend for the payout task.
1143
+ * If false, instead compute the status from capabilities and problems on the root LE.
1144
+ */
1145
+ UseTaskStatusApiForPayout: "UseTaskStatusApiForPayout",
1146
+ /**
1147
+ OXP-6566: Create new payout intro screen
1148
+ */
1149
+ EnableBankAccountDetailsLandingPage: "EnableBankAccountDetailsLandingPage",
1150
+ /**
1151
+ Enable AWE generated UI for PoC
1152
+ */
1153
+ EnableAdaptivePoc: "EnableAdaptivePoc",
1154
+ /**
1155
+ * OXP-7197: Enable unified company search
1156
+ */
1157
+ EnableUnifiedCompanySearch: "EnableUnifiedCompanySearch"
1158
+ };
1159
+ /**
1160
+ * Features which are returned from a call made to onboardingcomponents for version-specific features. (see `useVersions`).
1161
+ * Version specific features are tied to the specific onboarding/LEM version (ex. v4-specific features) rather than for feature rollout purposes.
1162
+ * Defined in the BE (`VersionSpecificToggle.java`).
1163
+ */
1164
+ var VersionFeatureNames = {
1165
+ /**
1166
+ *
1167
+ */
1168
+ EnableAgeVerification: "EnableAgeVerification",
1169
+ /**
1170
+ * Allows users to specify a 'Country of Governing Law' for UK companies
1171
+ * within Business Details Task
1172
+ */
1173
+ EnableCountryOfGoverningLawForUKCompanies: "EnableCountryOfGoverningLawForUKCompanies",
1174
+ /**
1175
+ *
1176
+ */
1177
+ EnableDoingBusinessAsNameV4: "EnableDoingBusinessAsNameV4",
1178
+ /**
1179
+ *
1180
+ */
1181
+ EnableFinancialInformationComponentV4: "EnableFinancialInformationComponentV4",
1182
+ /**
1183
+ * Enables localization for Japan
1184
+ */
1185
+ EnableJapanLocalization: "EnableJapanLocalization",
1186
+ /**
1187
+ * Enables LatAm Spanish locale
1188
+ */
1189
+ EnableLatAmSpanish: "EnableLatAmSpanish",
1190
+ /**
1191
+ *
1192
+ */
1193
+ EnableNationalitySGHK: "EnableNationalitySGHK",
1194
+ /**
1195
+ *
1196
+ */
1197
+ EnableRegistrationAndTaxAbsentStatesV4: "EnableRegistrationAndTaxAbsentStatesV4",
1198
+ /**
1199
+ *
1200
+ */
1201
+ ShowCustomerSupportV4: "ShowCustomerSupportV4",
1202
+ /**
1203
+ *
1204
+ */
1205
+ StrictNameAndAddressValidationV4: "StrictNameAndAddressValidationV4"
1206
+ };
1207
+ /**
1208
+ * Experiments which are returned from a call made to onboardingcomponents for feature flags and experiments (see `useToggles`).
1209
+ * Experiments are used to toggle behavior for A/B testing purposes.
1210
+ * Defined using the Experimentation Platform in BO.
1211
+ *
1212
+ * Naming convention: `${ExperimentName}_${TreatmentGroupNameOrControl}` ex. `BankingVerificationExperiment_Treatment1` or `BusinessSearchExperiment_control`
1213
+ */
1214
+ var ExperimentNames = {
1215
+ /**
1216
+ * OXP-7319: Experiment with Forced Manual Payout Flow
1217
+ */
1218
+ BankingPayoutFlow_ForcedManualVerification: "BankingPayoutFlow_ForcedManualVerification" };
1219
+ var FeatureNames = {
1220
+ ...PropFeatureNames,
1221
+ ...FeatureFrameworkFeatureNames,
1222
+ ...VersionFeatureNames
1223
+ };
1224
+ //#endregion
1225
+ //#region src/context/ToggleContext/ToggleContextProvider.tsx
1226
+ /**
1227
+ * To manage accessing non-production-ready features of SDK
1228
+ * or features under active experimentation/testing.
1229
+ * @param children - components rendered
1230
+ * @param features - dictionary of type Features
1231
+ * @param refreshExperiments - handler to refresh experiments for the legal entity
1232
+ */
1233
+ function ToggleContextProvider({ children, features: propFeatures, refreshExperiments }) {
1234
+ const { data: toggleData } = useToggles();
1235
+ const { data: versionData } = useVersionConfiguration();
1236
+ const features = useMemo$1(() => ({
1237
+ ...toggleData?.features,
1238
+ ...propFeatures,
1239
+ ...listToRecord(versionData?.features ?? [], () => true)
1240
+ }), [
1241
+ versionData,
1242
+ propFeatures,
1243
+ toggleData?.features
1244
+ ]);
1245
+ const experiments = useMemo$1(() => ({
1246
+ ...toggleData?.experiments,
1247
+ ...listToRecord(valuesOf(ExperimentNames), (experiment) => propFeatures[experiment] ?? false)
1248
+ }), [propFeatures, toggleData?.experiments]);
1249
+ const contextValue = useMemo$1(() => ({
1250
+ features,
1251
+ isFeatureEnabled: (feature) => features[feature] ?? false,
1252
+ experiments,
1253
+ isExperimentEnabled: (experiment) => experiments[experiment] ?? false,
1254
+ refreshExperiments
1255
+ }), [
1256
+ features,
1257
+ experiments,
1258
+ refreshExperiments
1259
+ ]);
1260
+ return /* @__PURE__ */ jsx(ToggleContext.Provider, {
1261
+ value: contextValue,
1262
+ children
1263
+ });
1264
+ }
1265
+ //#endregion
1266
+ //#region src/context/ToggleContext/useToggleContext.ts
1267
+ function useToggleContext() {
1268
+ return useContext$1(ToggleContext);
1269
+ }
1270
+ //#endregion
1271
+ //#region \0rolldown_dynamic_import_helper.js
1272
+ var _rolldown_dynamic_import_helper_default = (glob, path, segments) => {
1273
+ const query = path.lastIndexOf("?");
1274
+ const v = glob[query === -1 || query < path.lastIndexOf("/") ? path : path.slice(0, query)];
1275
+ if (v) return typeof v === "function" ? v() : Promise.resolve(v);
1276
+ return new Promise((_, reject) => {
1277
+ (typeof queueMicrotask === "function" ? queueMicrotask : setTimeout)(reject.bind(null, /* @__PURE__ */ new Error("Unknown variable dynamic import: " + path + (path.split("/").length !== segments ? ". Note that variables only represent file names one level deep." : ""))));
1278
+ });
1279
+ };
1280
+ var Header_module_default = {
1281
+ header: "_header_15umz_1",
1282
+ "header-margin": "_header-margin_15umz_7",
1283
+ headerMargin: "_header-margin_15umz_7",
1284
+ "header-margin-secondary": "_header-margin-secondary_15umz_11",
1285
+ headerMarginSecondary: "_header-margin-secondary_15umz_11",
1286
+ "header-left": "_header-left_15umz_15",
1287
+ headerLeft: "_header-left_15umz_15",
1288
+ "header-center": "_header-center_15umz_20",
1289
+ headerCenter: "_header-center_15umz_20",
1290
+ "header-right": "_header-right_15umz_25",
1291
+ headerRight: "_header-right_15umz_25",
1292
+ "header-content": "_header-content_15umz_30",
1293
+ headerContent: "_header-content_15umz_30",
1294
+ "header-actions": "_header-actions_15umz_36",
1295
+ headerActions: "_header-actions_15umz_36",
1296
+ "header-title": "_header-title_15umz_40",
1297
+ headerTitle: "_header-title_15umz_40",
1298
+ "header-title-primary": "_header-title-primary_15umz_45",
1299
+ headerTitlePrimary: "_header-title-primary_15umz_45",
1300
+ "header-title-secondary": "_header-title-secondary_15umz_52",
1301
+ headerTitleSecondary: "_header-title-secondary_15umz_52",
1302
+ "header-description": "_header-description_15umz_58",
1303
+ headerDescription: "_header-description_15umz_58",
1304
+ "header-description-primary": "_header-description-primary_15umz_65",
1305
+ headerDescriptionPrimary: "_header-description-primary_15umz_65",
1306
+ "header-description-secondary": "_header-description-secondary_15umz_69",
1307
+ headerDescriptionSecondary: "_header-description-secondary_15umz_69"
1308
+ };
1309
+ //#endregion
1310
+ //#region src/components/ui/atoms/Header/Header.tsx
1311
+ var alignmentStyles = {
1312
+ left: Header_module_default.headerLeft,
1313
+ center: Header_module_default.headerCenter,
1314
+ right: Header_module_default.headerRight
1315
+ };
1316
+ var Header = ({ align = "left", children, description, secondary = false, status, title }) => {
1317
+ const { Slot, hasSlot } = defineSlots(children ?? [], ["actions", "description"]);
1318
+ const HeadingElement = secondary ? "h2" : "h1";
1319
+ const rootClassname = cx(Header_module_default.header, alignmentStyles[align], {
1320
+ [Header_module_default.headerMargin]: !secondary,
1321
+ [Header_module_default.headerMarginSecondary]: secondary
1322
+ });
1323
+ const titleClassname = cx(Header_module_default.headerTitle, {
1324
+ [Header_module_default.headerTitlePrimary]: !secondary,
1325
+ [Header_module_default.headerTitleSecondary]: secondary
1326
+ });
1327
+ const descriptionClassname = cx(Header_module_default.headerDescription, {
1328
+ [Header_module_default.headerDescriptionPrimary]: !secondary,
1329
+ [Header_module_default.headerDescriptionSecondary]: secondary
1330
+ });
1331
+ return /* @__PURE__ */ jsxs("header", {
1332
+ className: rootClassname,
1333
+ children: [
1334
+ status && /* @__PURE__ */ jsx(TaskVerificationStatus, {
1335
+ status,
1336
+ responsive: false
1337
+ }),
1338
+ /* @__PURE__ */ jsxs("div", {
1339
+ className: Header_module_default.headerContent,
1340
+ children: [/* @__PURE__ */ jsx(HeadingElement, {
1341
+ className: titleClassname,
1342
+ children: title
1343
+ }), (hasSlot("description") || description) && /* @__PURE__ */ jsx("div", {
1344
+ className: descriptionClassname,
1345
+ children: /* @__PURE__ */ jsx(Slot, {
1346
+ name: "description",
1347
+ children: description
1348
+ })
1349
+ })]
1350
+ }),
1351
+ hasSlot("actions") && /* @__PURE__ */ jsx("div", {
1352
+ className: Header_module_default.headerActions,
1353
+ children: /* @__PURE__ */ jsx(StackLayout, {
1354
+ gap: "small",
1355
+ horizontal: true,
1356
+ children: /* @__PURE__ */ jsx(Slot, { name: "actions" })
1357
+ })
1358
+ })
1359
+ ]
1360
+ });
1361
+ };
1362
+ //#endregion
1363
+ //#region src/api/configurations/useSupportedCountries.ts
1364
+ /**
1365
+ * Retrieves from the backend information about supported countries
1366
+ * linked to the legalEntityId
1367
+ *
1368
+ * @param id legalEntityId
1369
+ * @param options additional options passed to Tanstack Query, eg; refetchInterval for polling
1370
+ */
1371
+ var getSupportedCountries = async (legalEntityId, baseUrl) => {
1372
+ return httpGet({
1373
+ baseUrl,
1374
+ path: `legalEntities/${legalEntityId}/configurations/supportedCountries`
1375
+ });
1376
+ };
1377
+ var useSupportedCountries = (options) => {
1378
+ const { rootLegalEntityId, baseUrl } = useApiContext();
1379
+ return useQuery({
1380
+ queryKey: ["supportedCountries"],
1381
+ queryFn: () => getSupportedCountries(rootLegalEntityId.value, baseUrl.value),
1382
+ ...options
1383
+ });
1384
+ };
1385
+ //#endregion
1386
+ //#region src/context/SettingsContext/useSetting.ts
1387
+ var useSetting = (settingName) => {
1388
+ const { getSetting } = useContext$1(SettingsContext);
1389
+ return getSetting(settingName);
1390
+ };
1391
+ //#endregion
1392
+ //#region src/utils/api/useCapabilities.ts
1393
+ var useCapabilities = () => {
1394
+ const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
1395
+ return rootLegalEntity?.capabilities;
1396
+ };
1397
+ //#endregion
1398
+ //#region src/hooks/useAllowedCountries.ts
1399
+ var businessAccountCountries = [
1400
+ CountryCodes.Austria,
1401
+ CountryCodes.Belgium,
1402
+ CountryCodes.Croatia,
1403
+ CountryCodes.Cyprus,
1404
+ CountryCodes.Estonia,
1405
+ CountryCodes.Finland,
1406
+ CountryCodes.France,
1407
+ CountryCodes.Germany,
1408
+ CountryCodes.Greece,
1409
+ CountryCodes.Ireland,
1410
+ CountryCodes.Italy,
1411
+ CountryCodes.Latvia,
1412
+ CountryCodes.Lithuania,
1413
+ CountryCodes.Luxembourg,
1414
+ CountryCodes.Malta,
1415
+ CountryCodes.Netherlands,
1416
+ CountryCodes.Portugal,
1417
+ CountryCodes.Slovakia,
1418
+ CountryCodes.Slovenia,
1419
+ CountryCodes.Spain,
1420
+ CountryCodes.UnitedKingdom,
1421
+ CountryCodes.UnitedStates
1422
+ ];
1423
+ var useAllowedCountries = () => {
1424
+ const isLimitCountryBusinessAccountCustomersEnabled = Object.keys(useCapabilities() ?? {}).includes("issueBankAccount");
1425
+ const acceptedCountriesSetting = useSetting("acceptedCountries");
1426
+ const { data } = useSupportedCountries({ enabled: !acceptedCountriesSetting });
1427
+ const allowedCountries = acceptedCountriesSetting ?? data?.countries;
1428
+ if (!allowedCountries) return;
1429
+ return isLimitCountryBusinessAccountCustomersEnabled ? businessAccountCountries.filter((country) => allowedCountries.includes(country)) : allowedCountries;
1430
+ };
1431
+ //#endregion
1432
+ //#region src/datasets/generators/loadCountries.ts
1433
+ var logger$2 = createLogger();
1434
+ var countriesImports = /* @__PURE__ */ Object.assign({
1435
+ "../countries/de-DE.json": () => import("./de-DE-w4l6boYT.js"),
1436
+ "../countries/el-GR.json": () => import("./el-GR-DqTetsjB.js"),
1437
+ "../countries/en-US.json": () => import("./en-US-B82BbZaB.js"),
1438
+ "../countries/es-ES.json": () => import("./es-ES-C14ZT-97.js"),
1439
+ "../countries/fr-FR.json": () => import("./fr-FR-8a-RK9xd.js"),
1440
+ "../countries/it-IT.json": () => import("./it-IT-DIIRAF4_.js"),
1441
+ "../countries/ja-JP.json": () => import("./ja-JP-CyXnoIu3.js"),
1442
+ "../countries/nl-NL.json": () => import("./nl-NL-BWGCqpWp.js"),
1443
+ "../countries/pt-PT.json": () => import("./pt-PT-IPhkbQvT.js"),
1444
+ "../countries/sv-SE.json": () => import("./sv-SE-IBYnJfbW.js")
1445
+ });
1446
+ var loadCountriesDataset = async (locale) => {
1447
+ const importForLocale = countriesImports[`../countries/${locale}.json`];
1448
+ if (!importForLocale) {
1449
+ logger$2.warn(`No countries dataset for ${locale}, falling back to en-US`);
1450
+ return (await import("./en-US-B82BbZaB.js")).default;
1451
+ }
1452
+ return (await importForLocale()).default;
1453
+ };
1454
+ //#endregion
1455
+ //#region src/datasets/generators/loadStatesDataset.ts
1456
+ var logger$1 = createLogger();
1457
+ var statesImports = /* @__PURE__ */ Object.assign({
1458
+ "../states/AU/en-US.json": () => import("./en-US-CRoNUEFi.js"),
1459
+ "../states/BR/en-US.json": () => import("./en-US-C6sEvgbn.js"),
1460
+ "../states/BR/pt-BR.json": () => import("./pt-BR-C3I_7Mcz.js"),
1461
+ "../states/CA/en-US.json": () => import("./en-US-D0pPfuzx.js"),
1462
+ "../states/JP/en-US.json": () => import("./en-US-BqvVH-Pi.js"),
1463
+ "../states/JP/ja-JP.json": () => import("./ja-JP-eKLuhutG.js"),
1464
+ "../states/NZ/en-US.json": () => import("./en-US-KKriaTJw.js"),
1465
+ "../states/US/en-US.json": () => import("./en-US-t-Z87qeJ.js")
1466
+ });
1467
+ var loadStatesDataset = async (country, locale) => {
1468
+ const importForLocale = statesImports[`../states/${country}/${locale}.json`];
1469
+ if (!importForLocale) {
1470
+ logger$1.warn(`No ${country} states dataset for ${locale}, falling back to en-US`);
1471
+ const fallbackImport = statesImports[`../states/${country}/en-US.json`];
1472
+ return (await fallbackImport()).default;
1473
+ }
1474
+ return (await importForLocale()).default;
1475
+ };
1476
+ //#endregion
1477
+ //#region src/utils/datasetUtil.ts
1478
+ var normalizedDatasets = {};
1479
+ var datasets = {};
1480
+ var createDatasetKey = (identifier, locale) => `${identifier}_${locale}`.toLowerCase();
1481
+ var getNormalizeDataset = (datasetKey) => {
1482
+ if (!normalizedDatasets[datasetKey]) {
1483
+ normalizedDatasets[datasetKey] = {};
1484
+ datasets[datasetKey].forEach(({ id, name }) => {
1485
+ normalizedDatasets[datasetKey][id] = name;
1486
+ });
1487
+ }
1488
+ return normalizedDatasets[datasetKey];
1489
+ };
1490
+ var getDataName = (datasetKey, key) => {
1491
+ if (datasets[datasetKey]) return getNormalizeDataset(datasetKey)[key];
1492
+ return null;
1493
+ };
1494
+ var datasetIdentifier = {
1495
+ country: "countries",
1496
+ state: (countryCode) => `states/${countryCode}`
1497
+ };
1498
+ function datasetUtilities(locale) {
1499
+ return {
1500
+ getCountryName: (countryCode) => {
1501
+ if (!countryCode) return null;
1502
+ return getDataName(createDatasetKey(datasetIdentifier.country, locale), countryCode);
1503
+ },
1504
+ getStateName: (stateCode, countryCode) => {
1505
+ return getDataName(createDatasetKey(datasetIdentifier.state(countryCode), locale), stateCode);
1506
+ },
1507
+ setDataset: (identifier, dataset) => {
1508
+ const datasetKey = createDatasetKey(identifier, locale);
1509
+ datasets[datasetKey] = dataset;
1510
+ },
1511
+ getDataset: (identifier) => {
1512
+ return datasets[createDatasetKey(identifier, locale)];
1513
+ },
1514
+ getDatasetKey: (identifier) => createDatasetKey(identifier, locale)
1515
+ };
1516
+ }
1517
+ //#endregion
1518
+ //#region src/core/services/agnostic/get-dataset.ts
1519
+ var loadDataset = async (identifier, locale) => {
1520
+ if (identifier === datasetIdentifier.country) return loadCountriesDataset(locale);
1521
+ if (identifier.startsWith("states")) return loadStatesDataset(identifier.slice(identifier.indexOf("/") + 1), locale);
1522
+ throw new Error(`Unknown dataset: ${identifier}`);
1523
+ };
1524
+ var getDataset = async (identifier, locale) => {
1525
+ const datasetUtils = datasetUtilities(locale);
1526
+ const dataset = datasetUtils.getDataset(identifier);
1527
+ if (dataset) return new Promise((resolve) => {
1528
+ resolve(dataset);
1529
+ });
1530
+ return loadDataset(identifier, locale).then((datasetResponse) => {
1531
+ datasetUtils.setDataset(identifier, datasetResponse);
1532
+ return datasetResponse;
1533
+ });
1534
+ };
1535
+ //#endregion
1536
+ //#region src/hooks/useDataset.ts
1537
+ function useDataset(datasetIdentifier, skip) {
1538
+ const { i18n } = useTranslation();
1539
+ const [dataset, setDataset] = useState$1([]);
1540
+ const [loaded, setLoaded] = useState$1(false);
1541
+ useEffect$1(() => {
1542
+ if (skip) return;
1543
+ getDataset(datasetIdentifier, i18n.language).then((response) => {
1544
+ setDataset(response && response.length ? response : []);
1545
+ }).catch(() => {
1546
+ setDataset([]);
1547
+ }).finally(() => {
1548
+ setLoaded(true);
1549
+ });
1550
+ }, [
1551
+ datasetIdentifier,
1552
+ i18n.language,
1553
+ skip
1554
+ ]);
1555
+ return {
1556
+ dataset,
1557
+ loaded
1558
+ };
1559
+ }
1560
+ var alert_module_default = {
1561
+ alert: "_alert_jgk1f_1",
1562
+ "alert-without-icon": "_alert-without-icon_jgk1f_10",
1563
+ alertWithoutIcon: "_alert-without-icon_jgk1f_10",
1564
+ "alert-explanation": "_alert-explanation_jgk1f_10",
1565
+ alertExplanation: "_alert-explanation_jgk1f_10",
1566
+ "alert-actions": "_alert-actions_jgk1f_11",
1567
+ alertActions: "_alert-actions_jgk1f_11",
1568
+ "alert-basic": "_alert-basic_jgk1f_15",
1569
+ alertBasic: "_alert-basic_jgk1f_15",
1570
+ "alert-info": "_alert-info_jgk1f_19",
1571
+ alertInfo: "_alert-info_jgk1f_19",
1572
+ "alert-error": "_alert-error_jgk1f_23",
1573
+ alertError: "_alert-error_jgk1f_23",
1574
+ "alert-warning": "_alert-warning_jgk1f_27",
1575
+ alertWarning: "_alert-warning_jgk1f_27",
1576
+ "alert-success": "_alert-success_jgk1f_31",
1577
+ alertSuccess: "_alert-success_jgk1f_31",
1578
+ "alert-header": "_alert-header_jgk1f_35",
1579
+ alertHeader: "_alert-header_jgk1f_35",
1580
+ "alert-header-without-children": "_alert-header-without-children_jgk1f_40",
1581
+ alertHeaderWithoutChildren: "_alert-header-without-children_jgk1f_40",
1582
+ "alert-icon": "_alert-icon_jgk1f_44",
1583
+ alertIcon: "_alert-icon_jgk1f_44",
1584
+ "alert-icon-info": "_alert-icon-info_jgk1f_48",
1585
+ alertIconInfo: "_alert-icon-info_jgk1f_48",
1586
+ "alert-icon-error": "_alert-icon-error_jgk1f_52",
1587
+ alertIconError: "_alert-icon-error_jgk1f_52",
1588
+ "alert-icon-warning": "_alert-icon-warning_jgk1f_56",
1589
+ alertIconWarning: "_alert-icon-warning_jgk1f_56",
1590
+ "alert-icon-success": "_alert-icon-success_jgk1f_60",
1591
+ alertIconSuccess: "_alert-icon-success_jgk1f_60",
1592
+ "alert-title": "_alert-title_jgk1f_64",
1593
+ alertTitle: "_alert-title_jgk1f_64"
1594
+ };
1595
+ //#endregion
1596
+ //#region src/components/ui/molecules/Alert/Alert.tsx
1597
+ var variantMap = {
1598
+ basic: alert_module_default.alertBasic,
1599
+ info: alert_module_default.alertInfo,
1600
+ error: alert_module_default.alertError,
1601
+ warning: alert_module_default.alertWarning,
1602
+ success: alert_module_default.alertSuccess
1603
+ };
1604
+ var iconVariantMap = {
1605
+ basic: "",
1606
+ info: alert_module_default.alertIconInfo,
1607
+ error: alert_module_default.alertIconError,
1608
+ warning: alert_module_default.alertIconWarning,
1609
+ success: alert_module_default.alertIconSuccess
1610
+ };
1611
+ var Alert = ({ title, variant = "basic", type = "default", className, actions, children, icon, testId, onClose, onToggle }) => {
1612
+ const { t } = useTranslation("ui");
1613
+ const [isClosed, setIsClosed] = useState$1(false);
1614
+ if (isClosed) return null;
1615
+ const closeAlert = () => {
1616
+ if (onClose) onClose();
1617
+ setIsClosed(true);
1618
+ };
1619
+ const renderIcon = () => {
1620
+ if (icon === false) return void 0;
1621
+ if (isValidElement$1(icon)) return icon;
1622
+ return /* @__PURE__ */ jsx("span", {
1623
+ className: cx(alert_module_default.alertIcon, iconVariantMap[variant]),
1624
+ children: /* @__PURE__ */ jsx(AlertIcon, { variant })
1625
+ });
1626
+ };
1627
+ const renderedIcon = renderIcon();
1628
+ if (type === "collapsible") return /* @__PURE__ */ jsxs(Accordion, {
1629
+ variant,
1630
+ onToggle: onToggle || void 0,
1631
+ narrow: true,
1632
+ className,
1633
+ children: [
1634
+ /* @__PURE__ */ jsx("template", {
1635
+ slot: "title",
1636
+ children: title
1637
+ }),
1638
+ /* @__PURE__ */ jsx("template", {
1639
+ slot: "icon",
1640
+ children: renderedIcon
1641
+ }),
1642
+ /* @__PURE__ */ jsxs("template", {
1643
+ slot: "content",
1644
+ children: [children, !!actions && /* @__PURE__ */ jsx("div", {
1645
+ className: alert_module_default.alertActions,
1646
+ children: actions
1647
+ })]
1648
+ })
1649
+ ]
1650
+ });
1651
+ if (type === "callToAction") return /* @__PURE__ */ jsxs("div", {
1652
+ className: cx(alert_module_default.alert, className, variantMap[variant], { [alert_module_default.alertWithoutIcon]: !renderedIcon }),
1653
+ role: "alert",
1654
+ "data-testid": testId,
1655
+ children: [/* @__PURE__ */ jsxs("div", {
1656
+ className: cx(alert_module_default.alertHeader, { [alert_module_default.alertHeaderWithoutChildren]: !children }),
1657
+ children: [
1658
+ renderedIcon,
1659
+ title && /* @__PURE__ */ jsx(Typography, {
1660
+ el: "h3",
1661
+ variant: "body-strongest",
1662
+ className: alert_module_default.alertTitle,
1663
+ children: title
1664
+ }),
1665
+ !!actions && /* @__PURE__ */ jsx("div", {
1666
+ className: alert_module_default.alertActions,
1667
+ children: actions
1668
+ })
1669
+ ]
1670
+ }), !!children && /* @__PURE__ */ jsx("div", {
1671
+ className: alert_module_default.alertExplanation,
1672
+ children
1673
+ })]
1674
+ });
1675
+ return /* @__PURE__ */ jsxs("div", {
1676
+ className: cx(alert_module_default.alert, className, variantMap[variant], { [alert_module_default.alertWithoutIcon]: !renderedIcon }),
1677
+ role: "alert",
1678
+ "data-testid": testId,
1679
+ children: [
1680
+ /* @__PURE__ */ jsxs("div", {
1681
+ className: alert_module_default.alertHeader,
1682
+ children: [
1683
+ renderedIcon,
1684
+ title && /* @__PURE__ */ jsx(Typography, {
1685
+ el: "h3",
1686
+ variant: "body-strongest",
1687
+ className: alert_module_default.alertTitle,
1688
+ children: title
1689
+ }),
1690
+ type === "dismissible" && /* @__PURE__ */ jsx(Button, {
1691
+ variant: "tertiary",
1692
+ icon: "cross",
1693
+ onClick: closeAlert,
1694
+ children: t(($) => $["close"])
1695
+ })
1696
+ ]
1697
+ }),
1698
+ !!children && /* @__PURE__ */ jsx("div", {
1699
+ className: alert_module_default.alertExplanation,
1700
+ children
1701
+ }),
1702
+ !!actions && /* @__PURE__ */ jsx("div", {
1703
+ className: alert_module_default.alertActions,
1704
+ children: actions
1705
+ })
1706
+ ]
1707
+ });
1708
+ };
1709
+ var AlertIcon = ({ variant }) => {
1710
+ switch (variant) {
1711
+ case "success": return /* @__PURE__ */ jsx(Icon, { name: "checkmark" });
1712
+ case "error": return /* @__PURE__ */ jsx(Icon, { name: "error" });
1713
+ case "warning": return /* @__PURE__ */ jsx(Icon, { name: "warning" });
1714
+ default: return /* @__PURE__ */ jsx(Icon, { name: "info-circle-filled" });
1715
+ }
1716
+ };
1717
+ //#endregion
1718
+ //#region src/components/Shared/AllowedCountryGate/AllowedCountryGate.tsx
1719
+ /**
1720
+ * Blocks the user from onboarding if they are from a disallowed country.
1721
+ */
1722
+ var AllowedCountryGate = ({ children }) => {
1723
+ const allowedCountries = useAllowedCountries();
1724
+ const { t, i18n } = useTranslation("common");
1725
+ const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
1726
+ const { dataset: countries } = useDataset(datasetIdentifier.country);
1727
+ addResourceBundles(i18n, [{
1728
+ ns: "common",
1729
+ importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
1730
+ "../../../language/locales/bg-BG.json": () => import("./bg-BG-FthOeqMs.js"),
1731
+ "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-nMdCNolB.js"),
1732
+ "../../../language/locales/da-DK.json": () => import("./da-DK-BF_wiKbj.js"),
1733
+ "../../../language/locales/de-DE.json": () => import("./de-DE-z8FJw9Yv.js"),
1734
+ "../../../language/locales/el-GR.json": () => import("./el-GR-DHiKsTJQ.js"),
1735
+ "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-FOYUYA3c.js"),
1736
+ "../../../language/locales/en-US.json": () => import("./en-US-xwcTnMwf.js"),
1737
+ "../../../language/locales/es-ES.json": () => import("./es-ES-C6Rs-ie9.js"),
1738
+ "../../../language/locales/es-LA.json": () => import("./es-LA-xilYCaSd.js"),
1739
+ "../../../language/locales/et-EE.json": () => import("./et-EE-DEs2iukD.js"),
1740
+ "../../../language/locales/fi-FI.json": () => import("./fi-FI-8eStbIaM.js"),
1741
+ "../../../language/locales/fr-FR.json": () => import("./fr-FR-B8iVi3nn.js"),
1742
+ "../../../language/locales/hr-HR.json": () => import("./hr-HR-Bt2ZduQN.js"),
1743
+ "../../../language/locales/hu-HU.json": () => import("./hu-HU-DTRbo1IU.js"),
1744
+ "../../../language/locales/it-IT.json": () => import("./it-IT-DzzajnKQ.js"),
1745
+ "../../../language/locales/ja-JP.json": () => import("./ja-JP-BpNu5KzH.js"),
1746
+ "../../../language/locales/lt-LT.json": () => import("./lt-LT-BJbA6rDr.js"),
1747
+ "../../../language/locales/lv-LV.json": () => import("./lv-LV-BBbE9hg5.js"),
1748
+ "../../../language/locales/nl-NL.json": () => import("./nl-NL-7ddo0NCH.js"),
1749
+ "../../../language/locales/no-NO.json": () => import("./no-NO-Bf-QR3EY.js"),
1750
+ "../../../language/locales/pl-PL.json": () => import("./pl-PL-Dd9fkdnr.js"),
1751
+ "../../../language/locales/pt-BR.json": () => import("./pt-BR-uhrvEANO2.js"),
1752
+ "../../../language/locales/pt-PT.json": () => import("./pt-PT-Cz4rJgbi.js"),
1753
+ "../../../language/locales/ro-RO.json": () => import("./ro-RO-BnZbYPEH.js"),
1754
+ "../../../language/locales/sk-SK.json": () => import("./sk-SK-DBHPBJm4.js"),
1755
+ "../../../language/locales/sl-SI.json": () => import("./sl-SI-dukW1tgW.js"),
1756
+ "../../../language/locales/sv-SE.json": () => import("./sv-SE-BlGBkLAA.js")
1757
+ }), `../../../language/locales/${lang}.json`, 6)
1758
+ }]);
1759
+ if (!rootLegalEntity || !allowedCountries) return /* @__PURE__ */ jsx(Loader, {});
1760
+ const country = getLegalEntityCountry(rootLegalEntity);
1761
+ const isAllowed = allowedCountries.includes(country);
1762
+ const countryName = countries.find(({ id }) => id === country)?.name ?? country;
1763
+ if (!isAllowed) return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(AlertIcon, { variant: "error" }), /* @__PURE__ */ jsx(Header, {
1764
+ title: t(($) => $["countryNotSupported"]),
1765
+ description: t(($) => $["weDontSupportOnboardingInCountry"], { country: countryName })
1766
+ })] });
1767
+ return /* @__PURE__ */ jsx(Fragment$1, { children });
1768
+ };
1769
+ //#endregion
1770
+ //#region src/components/Shared/devex/DebugListener/DebugListener.tsx
1771
+ var DebugModal = lazy(async () => (await import("./DebugModal-BZfX15KU.js")).DebugModal);
1772
+ /**
1773
+ * Adds a listener on the page to open the debug modal when the
1774
+ * debug modal key combination is pressed to open it
1775
+ */
1776
+ var DebugListener = () => {
1777
+ const [debugUiOpen, setDebugUiOpen] = useState$1(false);
1778
+ const { isSettingEnabled } = useSettingsContext();
1779
+ const debugUiAllowed = isSettingEnabled("allowDebugUi");
1780
+ useEffect$1(() => {
1781
+ if (!debugUiAllowed) return;
1782
+ const handleKeyDown = ({ code, ctrlKey, altKey, shiftKey }) => {
1783
+ if (ctrlKey && (altKey || shiftKey) && code === "Backslash") setDebugUiOpen(true);
1784
+ };
1785
+ document.addEventListener("keydown", handleKeyDown);
1786
+ return () => document.removeEventListener("keydown", handleKeyDown);
1787
+ }, [debugUiAllowed]);
1788
+ return /* @__PURE__ */ jsx(Fragment$1, { children: debugUiAllowed && debugUiOpen ? /* @__PURE__ */ jsx(Suspense, {
1789
+ fallback: /* @__PURE__ */ jsx("div", {}),
1790
+ children: /* @__PURE__ */ jsx(DebugModal, { onExit: () => setDebugUiOpen(false) })
1791
+ }) : null });
1792
+ };
1793
+ //#endregion
1794
+ //#region src/core/models/api/transfer-instrument.ts
1795
+ function isTransferInstrument(account) {
1796
+ return account.bankAccount !== void 0;
1797
+ }
1798
+ var isInstantVerifiedAccount = (account) => Boolean(isTransferInstrument(account) ? account.bankAccount.trustedSource : account.trustedSource);
1799
+ var getObscuredAccountNumber = ({ accountIdentifier, realLastFour }) => realLastFour ? `*******${realLastFour}` : accountIdentifier;
1800
+ //#endregion
1801
+ //#region src/components/Trust/forms/TrustRegistrationDetails/types.ts
1802
+ var nzSpecificTrustTypes = [
1803
+ "discretionaryTrust",
1804
+ "familyTrust",
1805
+ "charitableTrust",
1806
+ "businessTrust",
1807
+ "otherTrust"
1808
+ ];
1809
+ var auSpecificTrustTypes = [
1810
+ "cashManagementTrust",
1811
+ "corporateUnitTrust",
1812
+ "deceasedEstate",
1813
+ "discretionaryInvestmentTrust",
1814
+ "discretionaryServicesManagementTrust",
1815
+ "discretionaryTradingTrust",
1816
+ "firstHomeSaverAccountsTrust",
1817
+ "fixedTrust",
1818
+ "fixedUnitTrust",
1819
+ "hybridTrust",
1820
+ "listedPublicUnitTrust",
1821
+ "otherTrust",
1822
+ "pooledSuperannuationTrust",
1823
+ "publicTradingTrust",
1824
+ "unlistedPublicUnitTrust"
1825
+ ];
1826
+ var countryToTrustTypes = {
1827
+ [CountryCodes.Australia]: auSpecificTrustTypes,
1828
+ [CountryCodes.NewZealand]: nzSpecificTrustTypes
1829
+ };
1830
+ //#endregion
1831
+ //#region src/components/Trust/utils/trustMemberRequirements.ts
1832
+ var DEFAULT_TRUST_MEMBER_REQUIREMENTS = [
1833
+ {
1834
+ roleTypes: [TrustMemberTypes.SETTLOR],
1835
+ min: 1,
1836
+ max: 1,
1837
+ label: TrustMemberGuidanceLabels.SETTLOR
1838
+ },
1839
+ {
1840
+ roleTypes: [TrustMemberTypes.DEFINED_BENEFICIARY, TrustMemberTypes.UNDEFINED_BENEFICIARY],
1841
+ min: 1,
1842
+ max: Infinity,
1843
+ label: TrustMemberGuidanceLabels.BENEFICIARY
1844
+ },
1845
+ {
1846
+ roleTypes: [TrustMemberTypes.PROTECTOR],
1847
+ min: 0,
1848
+ max: Infinity,
1849
+ label: TrustMemberGuidanceLabels.PROTECTOR
1850
+ },
1851
+ {
1852
+ roleTypes: [TrustMemberTypes.TRUSTEE],
1853
+ min: 1,
1854
+ max: Infinity,
1855
+ label: TrustMemberGuidanceLabels.TRUSTEE
1856
+ }
1857
+ ];
1858
+ //#endregion
1859
+ //#region src/components/Trust/utils/trustUtil.ts
1860
+ var isPartOfTrustFromLegalEntity = (legalEntity) => legalEntity?.entityAssociations?.some((ea) => ea.entityType === LegalEntityTypes.TRUST && ea.associatorId === legalEntity.id);
1861
+ var getOwnTrustMembersLegalEntityIds = (rootLegalEntity) => {
1862
+ const trustLegalEntityId = getOwnTrustLegalEntityId(rootLegalEntity);
1863
+ if (!trustLegalEntityId) return [];
1864
+ const trustMemberIds = getDirectEntityAssociations(rootLegalEntity, trustLegalEntityId).map((association) => association.legalEntityId).filter((id) => id !== void 0);
1865
+ return [...trustMemberIds, ...trustMemberIds.flatMap((trustMemberId) => getTrustMemberCompanyDecisionMakerIds(rootLegalEntity, trustMemberId))];
1866
+ };
1867
+ var getTrustMemberCompanyDecisionMakerIds = (rootLegalEntity, trustMemberCompanyId) => {
1868
+ return getDecisionMakers(rootLegalEntity, trustMemberCompanyId).map((association) => association.legalEntityId).filter((id) => id !== void 0);
1869
+ };
1870
+ var getOwnTrustLegalEntityId = (legalEntity) => legalEntity?.entityAssociations?.find((ea) => ea.entityType === LegalEntityTypes.TRUST && ea.associatorId === legalEntity.id)?.legalEntityId;
1871
+ var getOwnTrustLegalEntityIdAsArray = (legalEntity) => {
1872
+ const trustLegalEntityId = getOwnTrustLegalEntityId(legalEntity);
1873
+ return trustLegalEntityId ? [trustLegalEntityId] : [];
1874
+ };
1875
+ var getOwnTrustProblems = (legalEntity, capabilityProblems) => {
1876
+ const trustLegalEntityId = getOwnTrustLegalEntityId(legalEntity);
1877
+ if (trustLegalEntityId) return capabilityProblems?.LegalEntity?.[trustLegalEntityId];
1878
+ };
1879
+ var hasRequiredTrustMemberCount = (trustMembers) => {
1880
+ if (!trustMembers.length) return false;
1881
+ return DEFAULT_TRUST_MEMBER_REQUIREMENTS.every(({ roleTypes, min }) => {
1882
+ if (min === 0) return true;
1883
+ return (trustMembers.filter(({ roles }) => roleTypes.some((label) => roles.includes(label)))?.length ?? 0) >= min;
1884
+ });
1885
+ };
1886
+ var getCountrySpecificTrustTypeOptions = (country) => {
1887
+ return countryToTrustTypes[country] || [];
1888
+ };
1889
+ //#endregion
1890
+ //#region src/components/UnincorporatedPartnership/utils/unincorporatedParnershipUtil.ts
1891
+ var isPartOfUnincorporatedPartnership = (legalEntity) => legalEntity?.entityAssociations?.some((ea) => ea.entityType === LegalEntityTypes.UNINCORPORATED_PARTNERSHIP && ea.associatorId === legalEntity.id);
1892
+ var getOwnUnincorporatedPartnershipLegalEntityId = (legalEntity) => legalEntity?.entityAssociations?.find((ea) => ea.entityType === LegalEntityTypes.UNINCORPORATED_PARTNERSHIP && ea.associatorId === legalEntity.id)?.legalEntityId;
1893
+ var getOwnUnincorporatedPartnershipLegalEntityIdAsArray = (legalEntity) => {
1894
+ const legalEntityId = getOwnUnincorporatedPartnershipLegalEntityId(legalEntity);
1895
+ return legalEntityId ? [legalEntityId] : [];
1896
+ };
1897
+ var getOwnUnincorporatedPartnershipProblems = (legalEntity, capabilityProblems) => {
1898
+ const legalEntityId = getOwnUnincorporatedPartnershipLegalEntityId(legalEntity);
1899
+ if (legalEntityId) return capabilityProblems?.LegalEntity?.[legalEntityId];
1900
+ };
1901
+ /**
1902
+ * Gathers all legal entity IDs relevant for calculating the task status of an unincorporated partnership.
1903
+ *.
1904
+ * These ids includes the root legal entity itself, the direct members of the partnership, and any owners
1905
+ * (e.g., UBOs through ownership) associated with those members.
1906
+ *
1907
+ * @param rootLegalEntity The root legal entity
1908
+ * @returns A list of legal entity IDs, including the root entity, its partnership members, and their owners.
1909
+ */
1910
+ var getOwnMembersLegalEntityIds = (rootLegalEntity) => {
1911
+ const unincorporatedPartnershipEntityId = getOwnUnincorporatedPartnershipLegalEntityId(rootLegalEntity);
1912
+ if (!unincorporatedPartnershipEntityId) return [];
1913
+ const memberAssociationsIds = getDirectEntityAssociations(rootLegalEntity, unincorporatedPartnershipEntityId).map((association) => association.legalEntityId).filter((id) => id !== void 0);
1914
+ const ownerIds = memberAssociationsIds.flatMap((associationId) => getDirectEntityAssociations(rootLegalEntity, associationId)).map((association) => association.legalEntityId).filter((id) => id !== void 0);
1915
+ return [
1916
+ rootLegalEntity.id,
1917
+ ...memberAssociationsIds,
1918
+ ...ownerIds
1919
+ ];
1920
+ };
1921
+ //#endregion
1922
+ //#region src/core/models/api/verification-status.ts
1923
+ var VerificationStatuses = {
1924
+ VALID: "valid",
1925
+ PENDING: "pending",
1926
+ INVALID: "invalid",
1927
+ REJECTED: "rejected"
1928
+ };
1929
+ //#endregion
1930
+ //#region src/stores/globalStore/isEmptyEntity.ts
1931
+ /**
1932
+ * These fields will be present on an empty (just created) entity of the given type.
1933
+ * If any more fields than these are present, we consider the LE to not be "empty".
1934
+ */
1935
+ var emptyFieldsForIndividual = [
1936
+ "name.firstName",
1937
+ "name.lastName",
1938
+ "residentialAddress.country"
1939
+ ];
1940
+ var emptyFieldsForOrganization = ["legalName", "registeredAddress.country"];
1941
+ var emptyFieldsForTrust = ["name", "registeredAddress.country"];
1942
+ var emptyFieldsForSoleProp = ["name", "registeredAddress.country"];
1943
+ var emptyFieldsForUnincorporatedPartnership = [
1944
+ "name",
1945
+ "countryOfGoverningLaw",
1946
+ "registeredAddress.country"
1947
+ ];
1948
+ var emptyFieldsByEntityType = {
1949
+ [LegalEntityTypes.INDIVIDUAL]: emptyFieldsForIndividual,
1950
+ [LegalEntityTypes.ORGANIZATION]: emptyFieldsForOrganization,
1951
+ [LegalEntityTypes.TRUST]: emptyFieldsForTrust,
1952
+ [LegalEntityTypes.SOLE_PROPRIETORSHIP]: emptyFieldsForSoleProp,
1953
+ [LegalEntityTypes.UNINCORPORATED_PARTNERSHIP]: emptyFieldsForUnincorporatedPartnership
1954
+ };
1955
+ function isEmptyEntity(legalEntity) {
1956
+ const type = legalEntity?.type;
1957
+ if (!type) return true;
1958
+ if (legalEntity.documentDetails?.length) return false;
1959
+ const minimumFields = emptyFieldsByEntityType[type];
1960
+ const typeSpecificSection = legalEntity[type];
1961
+ if (!typeSpecificSection) return true;
1962
+ const fieldsOnEntity = getNestedPropertyKeys(typeSpecificSection, false, false);
1963
+ const sortedMinimumFields = [...minimumFields].sort();
1964
+ return [...fieldsOnEntity].sort().every((value, index) => value === sortedMinimumFields[index]);
1965
+ }
1966
+ //#endregion
1967
+ //#region src/stores/globalStore/get-task-status.ts
1968
+ var calculateCustomerSupportTask = (capabilityProblems, rootLegalEntity) => {
1969
+ const supportData = rootLegalEntity.individual?.support ?? rootLegalEntity.organization?.support;
1970
+ const hasMissingDataErrors = capabilityProblems.LegalEntity?.[rootLegalEntity.id]?.missingData?.some((error) => CUSTOMER_SUPPORT_DATA_MISSING_ERROR_CODES.includes(error.code));
1971
+ if (!supportData) return {
1972
+ status: TaskStatuses.DETAILS_REQUIRED,
1973
+ reason: "rootLegalEntityIsEmpty"
1974
+ };
1975
+ if (hasMissingDataErrors) return {
1976
+ status: TaskStatuses.DETAILS_REQUIRED,
1977
+ reason: "dataMissingError",
1978
+ details: { missingData: capabilityProblems.LegalEntity?.[rootLegalEntity.id].missingData?.filter((error) => CUSTOMER_SUPPORT_DATA_MISSING_ERROR_CODES.includes(error.code)) }
1979
+ };
1980
+ const pendingCapabilities = getPendingCapabilities(rootLegalEntity);
1981
+ if (pendingCapabilities.length > 0) return {
1982
+ status: TaskStatuses.PROCESSING,
1983
+ reason: "pendingCapabilities",
1984
+ details: { pendingCapabilities }
1985
+ };
1986
+ if (hasAllCapabilitiesValid(rootLegalEntity)) return {
1987
+ status: TaskStatuses.FINISHED,
1988
+ reason: "allCapabilitiesValid"
1989
+ };
1990
+ return {
1991
+ status: TaskStatuses.FINISHED,
1992
+ reason: "noIssuesFound"
1993
+ };
1994
+ };
1995
+ var getRegularTaskStatus = ({ taskType, capabilityProblems, rootLegalEntity, relevantEntityIds, ignorePendingCapabilities = false }) => {
1996
+ const entityType = taskType === TaskTypes.PAYIN || taskType == TaskTypes.PAYOUT ? EntityTypes.BANK_ACCOUNT : EntityTypes.LEGAL_ENTITY;
1997
+ if (relevantEntityIds.length === 0) return {
1998
+ status: TaskStatuses.EMPTY,
1999
+ reason: "newEntityAlwaysEmpty"
2000
+ };
2001
+ if (relevantEntityIds.includes(rootLegalEntity.id) && isEmptyEntity(rootLegalEntity)) return {
2002
+ status: TaskStatuses.EMPTY,
2003
+ reason: "rootLegalEntityIsEmpty"
2004
+ };
2005
+ const importantProblems = findImportantProblems(entityType, capabilityProblems, relevantEntityIds, taskType);
2006
+ if (importantProblems.length > 0) return importantProblems[0].statusWithReason;
2007
+ const pendingCapabilities = getPendingCapabilities(rootLegalEntity);
2008
+ if (!ignorePendingCapabilities && pendingCapabilities.length > 0) return {
2009
+ status: TaskStatuses.PROCESSING,
2010
+ reason: "pendingCapabilities",
2011
+ details: { pendingCapabilities }
2012
+ };
2013
+ if (relevantEntityIds.includes(rootLegalEntity.id)) {
2014
+ if (hasAllCapabilitiesValid(rootLegalEntity)) return {
2015
+ status: TaskStatuses.FINISHED,
2016
+ reason: "allCapabilitiesValid"
2017
+ };
2018
+ }
2019
+ return {
2020
+ status: TaskStatuses.FINISHED,
2021
+ reason: "noIssuesFound"
2022
+ };
2023
+ };
2024
+ var getDecisionMakerOverviewStatus = ({ capabilityProblems, rootLegalEntity, relevantEntityIds }) => {
2025
+ if (relevantEntityIds.length === 0) return {
2026
+ status: TaskStatuses.EMPTY,
2027
+ reason: "newEntityAlwaysEmpty"
2028
+ };
2029
+ if (relevantEntityIds.includes(rootLegalEntity.id) && isEmptyEntity(rootLegalEntity)) return {
2030
+ status: TaskStatuses.EMPTY,
2031
+ reason: "rootLegalEntityIsEmpty"
2032
+ };
2033
+ const importantProblems = findImportantProblems(EntityTypes.LEGAL_ENTITY, capabilityProblems, relevantEntityIds, TaskTypes.DECISION_MAKER_OVERVIEW);
2034
+ if (importantProblems.length > 0) return importantProblems[0].statusWithReason;
2035
+ const pendingCapabilities = getPendingCapabilities(rootLegalEntity).filter((capability) => !/.*TransferInstrument/gim.test(capability));
2036
+ if (pendingCapabilities.length > 0) return {
2037
+ status: TaskStatuses.PROCESSING,
2038
+ reason: "pendingCapabilities",
2039
+ details: { pendingCapabilities }
2040
+ };
2041
+ if (relevantEntityIds.includes(rootLegalEntity.id) && hasAllNonTransferInstrumentCapabilitiesValid(rootLegalEntity)) return {
2042
+ status: TaskStatuses.FINISHED,
2043
+ reason: "allCapabilitiesValid"
2044
+ };
2045
+ return {
2046
+ status: TaskStatuses.FINISHED,
2047
+ reason: "noIssuesFound"
2048
+ };
2049
+ };
2050
+ var IMPORTANT_STATUSES = [
2051
+ TaskStatuses.DETAILS_REQUIRED,
2052
+ TaskStatuses.DOWNLOAD,
2053
+ TaskStatuses.ERROR,
2054
+ TaskStatuses.PROCESSING
2055
+ ];
2056
+ function findImportantProblems(type, capabilityProblems, entityIds, taskType) {
2057
+ if (!capabilityProblems?.[type] || !entityIds.length) return [];
2058
+ const problems = cloneObject(capabilityProblems);
2059
+ if (taskType !== TaskTypes.CUSTOMER_SUPPORT) entityIds.forEach((id) => {
2060
+ if (problems.LegalEntity?.[id]?.missingData) problems.LegalEntity[id].missingData = problems.LegalEntity?.[id]?.missingData?.filter((missingDataErrors) => !CUSTOMER_SUPPORT_DATA_MISSING_ERROR_CODES.includes(missingDataErrors.code));
2061
+ });
2062
+ return Object.entries(problems[type] ?? {}).filter(([key]) => entityIds.includes(key)).map(([, value]) => value).filter((problems) => problems.statusWithReason !== void 0 && IMPORTANT_STATUSES.includes(problems.statusWithReason.status)).sort((prev, curr) => TASK_STATUS_PRIORITY[curr.statusWithReason.status] - TASK_STATUS_PRIORITY[prev.statusWithReason.status]);
2063
+ }
2064
+ var getPendingCapabilities = (legalEntityResponse) => entriesOf(legalEntityResponse.capabilities ?? {}).filter(([, capability]) => capability?.verificationStatus === "pending").reduce((acc, [name]) => [...acc, name], []);
2065
+ var hasAllCapabilitiesResolved = (legalEntityResponse) => Object.values(legalEntityResponse?.capabilities ?? {}).every((capability) => capability.verificationStatus !== VerificationStatuses.PENDING);
2066
+ var hasRejectedCapabilities = (legalEntityResponse) => Object.values(legalEntityResponse?.capabilities ?? {}).some((capability) => capability.verificationStatus === VerificationStatuses.REJECTED);
2067
+ var hasAllCapabilitiesValid = (legalEntityResponse) => Object.values(legalEntityResponse?.capabilities ?? {}).every((capability) => capability.verificationStatus === VerificationStatuses.VALID);
2068
+ var hasAllNonTransferInstrumentCapabilitiesValid = (legalEntityResponse) => {
2069
+ for (const [name, capability] of Object.entries(legalEntityResponse?.capabilities ?? {})) if (!/.*TransferInstrument/gim.test(name) && capability.verificationStatus !== VerificationStatuses.VALID) return false;
2070
+ return true;
2071
+ };
2072
+ //#endregion
2073
+ //#region src/stores/globalStore/calculateTaskStatus.ts
2074
+ var calculateTaskStatus = ({ taskIdentifier, capabilityProblems, rootLegalEntity, accountHolder, legalRepresentative, trustMembers, transferInstruments }) => {
2075
+ const { taskType, id } = splitTaskIdentifier(taskIdentifier);
2076
+ let relevantEntityIds = [];
2077
+ let ignorePendingCapabilities = false;
2078
+ switch (taskType) {
2079
+ case TaskTypes.INDIVIDUAL:
2080
+ case TaskTypes.BUSINESS_DETAILS:
2081
+ relevantEntityIds = [rootLegalEntity.id];
2082
+ break;
2083
+ case TaskTypes.LEGAL_REPRESENTATIVE_DETAILS:
2084
+ if (!legalRepresentative) return {
2085
+ status: TaskStatuses.DETAILS_REQUIRED,
2086
+ reason: "legalRepresentativeNeeded"
2087
+ };
2088
+ relevantEntityIds = [legalRepresentative.legalEntityId];
2089
+ break;
2090
+ case TaskTypes.SOLE_PROPRIETOR_COMPANY:
2091
+ relevantEntityIds = getOwnSoleProprietorshipIdArray(rootLegalEntity);
2092
+ break;
2093
+ case TaskTypes.DECISION_MAKER_OVERVIEW:
2094
+ if (!hasMinRequiredDecisionMakerCount(rootLegalEntity)) return {
2095
+ status: TaskStatuses.DETAILS_REQUIRED,
2096
+ reason: "missingRequiredDecisionMakers"
2097
+ };
2098
+ relevantEntityIds = getOwnDecisionMakersLegalEntityIds(rootLegalEntity);
2099
+ return getDecisionMakerOverviewStatus({
2100
+ capabilityProblems,
2101
+ rootLegalEntity,
2102
+ relevantEntityIds
2103
+ });
2104
+ case TaskTypes.DECISION_MAKER:
2105
+ if (!id) throw new Error("Decision maker task identifier should specify an ID");
2106
+ relevantEntityIds = [id];
2107
+ break;
2108
+ case TaskTypes.TRUST: {
2109
+ const trustIds = getOwnTrustLegalEntityIdAsArray(rootLegalEntity);
2110
+ if (accountHolder === "aTrust" && trustIds.length === 0) return {
2111
+ status: TaskStatuses.EMPTY,
2112
+ reason: "newEntityAlwaysEmpty"
2113
+ };
2114
+ relevantEntityIds = trustIds;
2115
+ break;
2116
+ }
2117
+ case TaskTypes.TRUST_MEMBER_OVERVIEW:
2118
+ if (!hasRequiredTrustMemberCount(trustMembers)) return {
2119
+ status: TaskStatuses.DETAILS_REQUIRED,
2120
+ reason: "missingRequiredTrustMembers"
2121
+ };
2122
+ relevantEntityIds = getOwnTrustMembersLegalEntityIds(rootLegalEntity);
2123
+ break;
2124
+ case TaskTypes.TRUST_MEMBER:
2125
+ case TaskTypes.TRUST_MEMBER_INDIVIDUAL:
2126
+ case TaskTypes.TRUST_MEMBER_COMPANY:
2127
+ case TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY:
2128
+ case TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_INDIVIDUAL:
2129
+ if (!id) throw new Error("Trust member task identifier should specify an ID");
2130
+ if (id === "undefinedBeneficiary") {
2131
+ relevantEntityIds = [];
2132
+ break;
2133
+ }
2134
+ relevantEntityIds = [id, ...getDirectEntityAssociations(rootLegalEntity, id).map((association) => association.legalEntityId)];
2135
+ break;
2136
+ case TaskTypes.PAYIN:
2137
+ case TaskTypes.PAYOUT: {
2138
+ if (!id) return {
2139
+ status: TaskStatuses.DETAILS_REQUIRED,
2140
+ reason: "bankAccountNeeded"
2141
+ };
2142
+ const matchingAccount = transferInstruments.find((ti) => ti.id === id);
2143
+ if (!matchingAccount) throw new Error(`Could not find transfer instrument with id ${id}`);
2144
+ ignorePendingCapabilities = isInstantVerifiedAccount(matchingAccount);
2145
+ relevantEntityIds = [id];
2146
+ break;
2147
+ }
2148
+ case TaskTypes.CUSTOMER_SUPPORT: return calculateCustomerSupportTask(capabilityProblems, rootLegalEntity);
2149
+ case TaskTypes.UNINCORPORATED_PARTNERSHIP: {
2150
+ const partnerIds = getOwnUnincorporatedPartnershipLegalEntityIdAsArray(rootLegalEntity);
2151
+ if (accountHolder === "anUnincorporatedPartnership" && partnerIds.length === 0) return {
2152
+ status: TaskStatuses.EMPTY,
2153
+ reason: "newEntityAlwaysEmpty"
2154
+ };
2155
+ relevantEntityIds = partnerIds;
2156
+ break;
2157
+ }
2158
+ case TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_OVERVIEW:
2159
+ relevantEntityIds = getOwnMembersLegalEntityIds(rootLegalEntity);
2160
+ if (relevantEntityIds?.length === 1) return {
2161
+ status: TaskStatuses.EMPTY,
2162
+ reason: "newEntityAlwaysEmpty"
2163
+ };
2164
+ break;
2165
+ }
2166
+ return getRegularTaskStatus({
2167
+ taskType,
2168
+ rootLegalEntity,
2169
+ capabilityProblems,
2170
+ relevantEntityIds,
2171
+ ignorePendingCapabilities
2172
+ });
2173
+ };
2174
+ /**
2175
+ * Splits a {@link TaskIdentifier} (e.g. `PAYOUT_ACCOUNT-abc-123`) into the task type and id
2176
+ */
2177
+ var splitTaskIdentifier = (taskIdentifier) => {
2178
+ const firstDashIndex = taskIdentifier.indexOf("-");
2179
+ if (firstDashIndex === -1) return { taskType: taskIdentifier };
2180
+ return {
2181
+ taskType: taskIdentifier.slice(0, firstDashIndex),
2182
+ id: taskIdentifier.slice(firstDashIndex + 1)
2183
+ };
2184
+ };
2185
+ //#endregion
2186
+ //#region src/utils/birthDateUtils.tsx
2187
+ /**
2188
+ * Calculates the age of a person based on their birthdate.
2189
+ * @param birthdate - The birthdate of the person in 'YYYY-MM-DD' format.
2190
+ * @returns The age of the person in years.
2191
+ */
2192
+ var getAgeToday = (birthdate) => {
2193
+ const today = /* @__PURE__ */ new Date();
2194
+ const todayMonth = today.getMonth();
2195
+ const todayDay = today.getDate();
2196
+ const bdDate = new Date(birthdate);
2197
+ const bdMonth = bdDate.getMonth();
2198
+ const yearDifference = today.getFullYear() - bdDate.getFullYear();
2199
+ if (todayMonth > bdMonth) return yearDifference;
2200
+ if (todayMonth === bdMonth && todayDay >= bdDate.getUTCDate()) return yearDifference;
2201
+ return yearDifference - 1;
2202
+ };
2203
+ /**
2204
+ * Returns the age range for a legal representative based on the country.
2205
+ * @param country - The country code.
2206
+ * @returns An object with min and max age, or undefined if not applicable.
2207
+ */
2208
+ var getAgeRangeForLegalRepresentative = (country) => {
2209
+ if (!country || isHkSgCountry(country)) return;
2210
+ if (isEuCountry(country)) return {
2211
+ min: 16,
2212
+ max: 18
2213
+ };
2214
+ return {
2215
+ min: 13,
2216
+ max: 18
2217
+ };
2218
+ };
2219
+ /**
2220
+ * Checks if a person is under the required age for KYC based on their birthdate and country.
2221
+ * @param birthDate - The birthdate of the person.
2222
+ * @param country - The country of residence.
2223
+ * @returns True if the person is under the required age, false otherwise.
2224
+ */
2225
+ var isPersonUnderAge = (birthDate, country) => {
2226
+ if (!birthDate || !country) return false;
2227
+ const ageRange = getAgeRangeForLegalRepresentative(country);
2228
+ if (!ageRange) return false;
2229
+ return isAgeWithinRange(getAgeToday(birthDate), ageRange);
2230
+ };
2231
+ /**
2232
+ * Determines if a legal representative is needed based on age, country, and task type.
2233
+ * @param birthDate - The birthdate of the person.
2234
+ * @param country - The country of residence.
2235
+ * @param taskType - The type of task being performed.
2236
+ * @returns True if a legal representative is needed, false otherwise.
2237
+ */
2238
+ var isLegalRepresentativeNeeded = (birthDate, country, taskType) => {
2239
+ if (taskType === TaskTypes.LEGAL_REPRESENTATIVE_DETAILS) return false;
2240
+ return isPersonUnderAge(birthDate, country);
2241
+ };
2242
+ /**
2243
+ * Checks if an age is within a given range.
2244
+ * @param age - The age to check.
2245
+ * @param ageRange - An object with min and max age.
2246
+ * @returns True if the age is within the range, false otherwise.
2247
+ */
2248
+ var isAgeWithinRange = (age, ageRange) => ageRange.min <= age && age < ageRange.max;
2249
+ /**
2250
+ * Checks if a legal entity requires a legal representative based on the individual's age.
2251
+ * @param legalEntity - The existing legal entity.
2252
+ * @returns True if a legal representative is required, false otherwise.
2253
+ */
2254
+ var doesLegalEntityRequiresLegalRepresentative = (legalEntity) => {
2255
+ if (!legalEntity || !legalEntity?.individual) return false;
2256
+ const birthDate = legalEntity?.individual?.birthData?.dateOfBirth;
2257
+ return isPersonUnderAge(birthDate, getLegalEntityCountry(legalEntity));
2258
+ };
2259
+ //#endregion
2260
+ //#region src/stores/globalStore/determineTaskIdentifiers.ts
2261
+ var determineTaskIdentifiers = ({ taskTypes: receivedTaskTypes, rootLegalEntity, accountHolder, capabilityProblems, trustMembers, transferInstruments, unincorporatedPartnershipMembers, legalRepresentative }) => {
2262
+ if (!rootLegalEntity || !capabilityProblems) return [];
2263
+ const taskTypes = receivedTaskTypes.map(mapReceivedTaskType);
2264
+ const tasks = [...taskTypes];
2265
+ if (taskTypes.includes(TaskTypes.PAYIN)) transferInstruments.forEach((account) => tasks.push(`PAYIN-${account.id}`));
2266
+ if (taskTypes.includes(TaskTypes.PAYOUT)) transferInstruments.forEach((account) => tasks.push(`PAYOUT-${account.id}`));
2267
+ if (taskTypes.includes(TaskTypes.DECISION_MAKER_OVERVIEW)) getOwnDecisionMakersLegalEntityIds(rootLegalEntity).forEach((id) => tasks.push(`DECISION_MAKER-${id}`));
2268
+ if (legalRepresentative || doesLegalEntityRequiresLegalRepresentative(rootLegalEntity)) tasks.push(TaskTypes.LEGAL_REPRESENTATIVE_DETAILS);
2269
+ if (accountHolder === "mySoleProprietorName") tasks.push(TaskTypes.SOLE_PROPRIETOR_COMPANY);
2270
+ if (accountHolder === "aTrust") {
2271
+ tasks.push(TaskTypes.TRUST);
2272
+ tasks.push(TaskTypes.TRUST_MEMBER_OVERVIEW);
2273
+ trustMembers.forEach((member) => {
2274
+ if (member.trustMemberType === "undefinedBeneficiary") {
2275
+ tasks.push(`TRUST_MEMBER-undefinedBeneficiary`);
2276
+ return;
2277
+ }
2278
+ switch (member.legalEntityType) {
2279
+ case "individual":
2280
+ tasks.push(`TRUST_MEMBER_INDIVIDUAL-${String(member.legalEntityId)}`);
2281
+ return;
2282
+ case "organization":
2283
+ tasks.push(`TRUST_MEMBER_COMPANY-${String(member.legalEntityId)}`);
2284
+ return;
2285
+ }
2286
+ });
2287
+ }
2288
+ if (accountHolder === "anUnincorporatedPartnership") {
2289
+ tasks.push(TaskTypes.UNINCORPORATED_PARTNERSHIP);
2290
+ tasks.push(TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_OVERVIEW);
2291
+ unincorporatedPartnershipMembers?.forEach((member) => {
2292
+ switch (member.legalEntityType) {
2293
+ case "individual":
2294
+ tasks.push(`UNINCORPORATED_PARTNERSHIP_MEMBER_INDIVIDUAL-${String(member.legalEntityId)}`);
2295
+ return;
2296
+ case "organization":
2297
+ tasks.push(`UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY-${String(member.legalEntityId)}`);
2298
+ return;
2299
+ }
2300
+ });
2301
+ }
2302
+ return tasks;
2303
+ };
2304
+ var mapReceivedTaskType = (taskType) => {
2305
+ switch (taskType) {
2306
+ case TaskTypes.DECISION_MAKER: return TaskTypes.DECISION_MAKER_OVERVIEW;
2307
+ case TaskTypes.TRUST_MEMBER: return TaskTypes.TRUST_MEMBER_OVERVIEW;
2308
+ default: return taskType;
2309
+ }
2310
+ };
2311
+ //#endregion
2312
+ //#region src/stores/globalStore/globalStore.tsx
2313
+ var logger = createLogger();
2314
+ /**
2315
+ * Initializes the store. Should only be called from {@link StoreProvider}.
2316
+ */
2317
+ var createGlobalStore = ({ rootLegalEntity: rootLegalEntityIn }) => {
2318
+ const rootLegalEntity = signal(rootLegalEntityIn);
2319
+ const taskTypes = signal([]);
2320
+ const accountHolder = signal();
2321
+ const trustMembers = signal([]);
2322
+ const unincorporatedPartnershipMembers = signal([]);
2323
+ const rootLegalEntityCountry = computed(() => getLegalEntityCountry(rootLegalEntity.value));
2324
+ const capabilities = computed(() => getCapabilities(rootLegalEntity.value));
2325
+ const capabilityProblems = computed(() => getCapabilityProblems(rootLegalEntity.value, rootLegalEntityCountry.value));
2326
+ const legalRepresentative = computed(() => getLegalRepresentative(rootLegalEntity.value));
2327
+ const transferInstruments = computed(() => rootLegalEntity.value.transferInstruments ?? []);
2328
+ const tasks = computed(() => determineTaskIdentifiers({
2329
+ taskTypes: taskTypes.value,
2330
+ rootLegalEntity: rootLegalEntity.value,
2331
+ accountHolder: accountHolder.value,
2332
+ capabilities: capabilities.value,
2333
+ capabilityProblems: capabilityProblems.value,
2334
+ legalRepresentative: legalRepresentative.value,
2335
+ transferInstruments: transferInstruments.value,
2336
+ trustMembers: trustMembers.value,
2337
+ unincorporatedPartnershipMembers: unincorporatedPartnershipMembers.value
2338
+ }));
2339
+ return {
2340
+ rootLegalEntity,
2341
+ taskTypes,
2342
+ accountHolder,
2343
+ trustMembers,
2344
+ unincorporatedPartnershipMembers,
2345
+ rootLegalEntityCountry,
2346
+ capabilities,
2347
+ capabilityProblems,
2348
+ legalRepresentative,
2349
+ transferInstruments,
2350
+ tasks,
2351
+ taskStatuses: computed(() => tasks.value.reduce((acc, taskIdentifier) => {
2352
+ try {
2353
+ acc[taskIdentifier] = calculateTaskStatus({
2354
+ taskIdentifier,
2355
+ accountHolder: accountHolder.value,
2356
+ capabilityProblems: capabilityProblems.value,
2357
+ rootLegalEntity: rootLegalEntity.value,
2358
+ legalRepresentative: legalRepresentative.value,
2359
+ trustMembers: trustMembers.value,
2360
+ transferInstruments: transferInstruments.value
2361
+ });
2362
+ } catch (err) {
2363
+ logger.error(`Could not calculate task status for ${taskIdentifier}. `, err);
2364
+ }
2365
+ return acc;
2366
+ }, {})),
2367
+ setRootLegalEntity: (newVal) => rootLegalEntity.value = newVal,
2368
+ setTaskTypes: (newVal) => taskTypes.value = newVal,
2369
+ setAccountHolder: (newVal) => accountHolder.value = newVal,
2370
+ setTrustMembers: (newVal) => trustMembers.value = newVal,
2371
+ setUnincorporatedPartnershipMembers: (newVal) => unincorporatedPartnershipMembers.value = newVal
2372
+ };
2373
+ };
2374
+ var StoreContext = createContext$1(null);
2375
+ function useGlobalStore() {
2376
+ const store = useContext$1(StoreContext);
2377
+ if (!store) throw new Error("`useGlobalStore()` must be called from within a `StoreContext.Provider`");
2378
+ return store;
2379
+ }
2380
+ var useGetTaskStatus = () => {
2381
+ const taskStatusesSignal = useGlobalStore().taskStatuses;
2382
+ return useCallback$1((taskType, id) => {
2383
+ const taskIdentifier = id ? `${taskType}-${id}` : taskType;
2384
+ const status = taskStatusesSignal.value[taskIdentifier]?.status;
2385
+ if (status === void 0) {
2386
+ logger.warn(`No status for task '${taskIdentifier}', returning UNKNOWN`);
2387
+ return TaskStatuses.UNKNOWN;
2388
+ }
2389
+ return status;
2390
+ }, [taskStatusesSignal]);
2391
+ };
2392
+ //#endregion
2393
+ //#region src/stores/globalStore/StoreProvider.tsx
2394
+ /**
2395
+ * `<StoreProvider>` postpones render of the remaining tree until root legal entity data has been
2396
+ * retrieved and the {@link GlobalStore} has been initialized.
2397
+ *
2398
+ * This provider can (and should) also be used from tests and stories.
2399
+ * If you prefer to mock global state, see {@link MockedStoreProvider}.
2400
+ */
2401
+ var StoreProvider = ({ children }) => {
2402
+ const [store, setStore] = useState$1();
2403
+ const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
2404
+ useEffect$1(() => {
2405
+ if (!rootLegalEntity || store) return;
2406
+ setStore(createGlobalStore({ rootLegalEntity }));
2407
+ }, [rootLegalEntity, store]);
2408
+ if (!store) return /* @__PURE__ */ jsx(Skeleton, {});
2409
+ return /* @__PURE__ */ jsx(StoreContext.Provider, {
2410
+ value: store,
2411
+ children
2412
+ });
2413
+ };
2414
+ //#endregion
2415
+ //#region src/core/EmbedShell/EmbedShell.tsx
2416
+ /** conditional polyfill for container queries */
2417
+ if (CSS.supports("container", "foo / inline-size") === false) import("container-query-polyfill");
2418
+ /**
2419
+ * Bootstraps any component for external usage by consumers
2420
+ * Import it in your component and wrap it inside the EmbedShell, eg:
2421
+ *
2422
+ * @example
2423
+ * ```jsx
2424
+ * <EmbedShell {...consumerProps}>
2425
+ * <MyReadyToGoForm {...consumerProps} />
2426
+ * </EmbedShell>
2427
+ * ```
2428
+ *
2429
+ * @param props given by consumer, be it HO, merchant using library or a TaskList component
2430
+ * @returns
2431
+ */
2432
+ var EmbedShell = ({ children, rootLegalEntityId, settings, features, refreshExperiments, baseUrl, getSdkToken, componentName, locale }) => {
2433
+ const { i18n } = useTranslation("common");
2434
+ const [isLoading, setIsLoading] = useState$1(true);
2435
+ const [hasError, setHasError] = useState$1(false);
2436
+ setSdkTokenHandler(getSdkToken);
2437
+ const { isFeatureEnabled } = useToggleContext();
2438
+ useEffect$1(() => {
2439
+ if (locale === "ja-JP" && !isFeatureEnabled("EnableJapanLocalization")) return;
2440
+ if (locale === "es-LA" && !isFeatureEnabled("EnableLatAmSpanish")) return;
2441
+ i18n.changeLanguage(locale);
2442
+ }, [
2443
+ locale,
2444
+ i18n,
2445
+ isFeatureEnabled
2446
+ ]);
2447
+ useEffect$1(() => {
2448
+ refreshSession().then((hasRefreshed) => {
2449
+ if (!hasRefreshed) setHasError(true);
2450
+ setIsLoading(false);
2451
+ });
2452
+ }, []);
2453
+ if (hasError) return /* @__PURE__ */ jsxs("div", { children: ["Something went wrong, please", /* @__PURE__ */ jsx(Button, {
2454
+ onClick: () => location.reload(),
2455
+ children: "refresh the page."
2456
+ })] });
2457
+ if (isLoading) return /* @__PURE__ */ jsx(Loader, {});
2458
+ return /* @__PURE__ */ jsx(SettingsProvider, {
2459
+ settings,
2460
+ children: /* @__PURE__ */ jsx(QueryClientProvider$1, { children: /* @__PURE__ */ jsx(ApiProvider, {
2461
+ rootLegalEntityId,
2462
+ baseUrl,
2463
+ children: /* @__PURE__ */ jsx(ToggleContextProvider, {
2464
+ features,
2465
+ refreshExperiments,
2466
+ children: /* @__PURE__ */ jsxs(StoreProvider, { children: [/* @__PURE__ */ jsx("span", {
2467
+ id: "sdk-version",
2468
+ hidden: true,
2469
+ children: "4.14.0-beta.0"
2470
+ }), /* @__PURE__ */ jsx(AnalyticsProvider, {
2471
+ componentName,
2472
+ locale,
2473
+ rootLegalEntityId,
2474
+ children: /* @__PURE__ */ jsx(Suspense, {
2475
+ fallback: /* @__PURE__ */ jsx(Loader, {}),
2476
+ children: /* @__PURE__ */ jsxs(AllowedCountryGate, { children: [/* @__PURE__ */ jsx(DebugListener, {}), /* @__PURE__ */ jsx("div", {
2477
+ className: "adyen-kyc-ui-element-container-wrapper",
2478
+ children: /* @__PURE__ */ jsx("div", {
2479
+ className: "adyen-kyc-ui-element-container",
2480
+ children: /* @__PURE__ */ jsx(ToastContextProvider, { children: /* @__PURE__ */ jsx(StateProvider, { children }) })
2481
+ })
2482
+ })] })
2483
+ })
2484
+ })] })
2485
+ })
2486
+ }) })
2487
+ });
2488
+ };
2489
+ //#endregion
2490
+ //#region src/core/environment/normalizeEnvironment.ts
2491
+ var normalizeEnvironment = (env) => env.endsWith("/") ? env : `${env}/`;
2492
+ //#endregion
2493
+ //#region src/core/environment/resolveEnvironment.ts
2494
+ var environmentMap = Object.freeze({
2495
+ live: "https://onboardingcomponents-live.adyen.com/",
2496
+ test: "https://test.adyen.com/"
2497
+ });
2498
+ var resolveEnvironment = (environment) => environmentMap[environment] ?? normalizeEnvironment(environment);
2499
+ //#endregion
2500
+ export { hasRepeatedCharacters as $, _rolldown_dynamic_import_helper_default as A, INDIVIDUAL_VALID_CHAR_REGEX as B, useDataset as C, useCapabilities as D, useAllowedCountries as E, useToggles as F, SPECIAL_CHARS as G, NO_ALPHABET_REGEX as H, ToastContextProvider as I, extractFieldName as J, chomeAndBanchiValidator as K, ToastContext as L, ExperimentNames as M, FeatureNames as N, useSetting as O, listToRecord as P, hasMaximumTwoRepeatedCharacters as Q, ADDRESS_VALID_CHAR_REGEX as R, AlertIcon as S, datasetUtilities as T, NO_ALPHABET_UNICODE_REGEX as U, LATIN_SPACE_MARK_PUNCTUATION_NUMBERS_REGEX as V, OTHER_ENTITIES_VALID_CHAR_REGEX as W, getMaxLengthByFieldAndCountry as X, getFormattingRegEx as Y, hasEmptyFields as Z, isPartOfTrustFromLegalEntity as _, doesLegalEntityRequiresLegalRepresentative as a, isUndefinedOrNull as at, isInstantVerifiedAccount as b, isLegalRepresentativeNeeded as c, standardKanjiValidator as ct, hasRejectedCapabilities as d, StateContext as dt, hasText as et, isEmptyEntity as f, useAccountHolder as ft, getOwnTrustProblems as g, getCountrySpecificTrustTypeOptions as h, useGlobalStore as i, isInvalidName as it, useToggleContext as j, Header as k, splitTaskIdentifier as l, standardKatakanaValidator as lt, isPartOfUnincorporatedPartnership as m, stylesheets as mt, EmbedShell as n, isEmpty as nt, getAgeRangeForLegalRepresentative as o, isValidMinLength as ot, getOwnUnincorporatedPartnershipProblems as p, useLocalStorage as pt, concatenateFieldNames as q, useGetTaskStatus as r, isISIN as rt, getAgeToday as s, matchesRegex as st, resolveEnvironment as t, isAccountIdentifierObscured as tt, hasAllCapabilitiesResolved as u, trimValWithOneSpace as ut, DEFAULT_TRUST_MEMBER_REQUIREMENTS as v, datasetIdentifier as w, Alert as x, getObscuredAccountNumber as y, EMOJI_REGEX as z };