@adyen/kyc-components 4.13.0 → 4.14.0-beta.1

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-1uEZfZy9.js +650 -0
  3. package/dist/Accordion-CSpLDvKK.js +111 -0
  4. package/dist/AccountSetupRejected-CAn0yVZw.js +18 -0
  5. package/dist/AdaptiveWorkflow-CDcYUVpq.js +1900 -0
  6. package/dist/AdaptiveWorkflowComponent-CxDpcY8j.js +164 -0
  7. package/dist/Address-xj9sAzwv.js +960 -0
  8. package/dist/Avatar-DqBKHRAr.js +54 -0
  9. package/dist/BusinessFinancingDropin-xDFdsAfo.js +1799 -0
  10. package/dist/BusinessFinancingPage-BF7S-Oh8.js +89 -0
  11. package/dist/BusinessTypeSelectionPage-BQ3LihDH.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-BwAx82de.js +1074 -0
  16. package/dist/Confirm-C4GotFqm.js +75 -0
  17. package/dist/ConstitutionalDocument-C_n_2MY2.js +1124 -0
  18. package/dist/ContactDetails-Dsz7We5h.js +513 -0
  19. package/dist/ContextGuidance-jqFxBdPW.js +29 -0
  20. package/dist/CountryField-Cd0dVMev.js +37 -0
  21. package/dist/Currency-DeExUcOI.js +191 -0
  22. package/dist/CustomerSupport-RpjcT46k.js +129 -0
  23. package/dist/DebugModal-DCn2ZI4W.js +451 -0
  24. package/dist/DecisionMakerDetails-DpwFtwUj.js +510 -0
  25. package/dist/DecisionMakerDetailsPage-hW8fiq-7.js +104 -0
  26. package/dist/DecisionMakers-Dfy-VjMm.js +587 -0
  27. package/dist/DetailViewLayout-DNCGEd7b.js +68 -0
  28. package/dist/Divider-BENvVRnz.js +11 -0
  29. package/dist/Dropzone-D6r7VMi-.js +236 -0
  30. package/dist/EmbeddedStatus-BKVqJCeu.js +128 -0
  31. package/dist/EndStateLayout-DfThkkI3.js +82 -0
  32. package/dist/EntityAssociation-DQxA6YMj.js +163 -0
  33. package/dist/ErrorPanel-CxTj7p9g.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-D8TOFZKq.js +3899 -0
  38. package/dist/InputDate-cTgjAhzm.js +52 -0
  39. package/dist/InputText-8abfNtHh.js +119 -0
  40. package/dist/Introduction-ixhMyl8E.js +326 -0
  41. package/dist/InvitedDecisionMakerComponent-B1izjp0j.js +415 -0
  42. package/dist/JpAddress-DTDGr3Lj.js +322 -0
  43. package/dist/LandingLayout-Dg0sEASR.js +76 -0
  44. package/dist/LegalCompanyNameField-CAdSqL89.js +108 -0
  45. package/dist/LegalRepresentativeDetailsPage-CyzuAHcZ.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-DxBKNIy0.js +715 -0
  50. package/dist/MaybeModal-BRuXui6d.js +24 -0
  51. package/dist/Modal-BgeE7zM2.js +129 -0
  52. package/dist/Name-DtDvWkku.js +61 -0
  53. package/dist/NewSummary-C5MuPLiw.js +72 -0
  54. package/dist/PayoutDetailsDropinMultiForm-Ckd2710I.js +4095 -0
  55. package/dist/PayoutDetailsPage-DjDQ6Vlh.js +69 -0
  56. package/dist/ProgressBar-DWFxLMUA.js +38 -0
  57. package/dist/RadioGroup-DlzXLoMN.js +84 -0
  58. package/dist/Review-DR7bT3pT.js +99 -0
  59. package/dist/RootBusinessDetailsPage-CdjsY2XZ.js +69 -0
  60. package/dist/RootBusinessLinesPage-C2aVJxgw.js +1449 -0
  61. package/dist/RootIndividualDetailsPage-COv3D0yc.js +80 -0
  62. package/dist/Select-vMYP9lm8.js +776 -0
  63. package/dist/SignPCIComponent-RokhhmIo.js +369 -0
  64. package/dist/SingpassSelection-tvP6qCe-.js +156 -0
  65. package/dist/SoleProprietorshipPage-DaGkRcdD.js +70 -0
  66. package/dist/SourceOfFundsPage-D1SL8bvB.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-BOCTsgEX.js +225 -0
  71. package/dist/Tag-CNeDHqKp.js +39 -0
  72. package/dist/TaskListItem-zKqr2pBR.js +169 -0
  73. package/dist/TaskVerificationStatus-gGr34dp5.js +124 -0
  74. package/dist/TaxInformationField-lB2c7ZTW.js +472 -0
  75. package/dist/TaxReportingDropin-BQbLmJKM.js +474 -0
  76. package/dist/TextArea-C2DkQ41s.js +87 -0
  77. package/dist/TileGroup-B7-q4NXH.js +170 -0
  78. package/dist/TrustDetailsPage-BPFKlxkR.js +1097 -0
  79. package/dist/TrustMemberCompanyPage-McPQYDk7.js +109 -0
  80. package/dist/TrustMemberIndividualPage-CnH8T1Lu.js +109 -0
  81. package/dist/TrustMemberRoleAndTypePage-BTC7WpUF.js +931 -0
  82. package/dist/TrustMembersOverview-BdonlUzH.js +447 -0
  83. package/dist/UnincorporatedPartnershipIndividualPage-DY4YoCZN.js +79 -0
  84. package/dist/UnincorporatedPartnershipMemberCompanyPage-qhsJSG8L.js +79 -0
  85. package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-mbu0dCs_.js +270 -0
  86. package/dist/UnincorporatedPartnershipMembersOverview-DMG9dXeh.js +157 -0
  87. package/dist/VerificationErrorAlert-Dzzc5odR.js +64 -0
  88. package/dist/accountHolderUtils-BVoEh3CW.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-DcwdVIR7.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-mo0fHe_C.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-CINvB5J0.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-D2SnvVZo.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-F1C4x0Ox.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--UzGTaBx.js +4647 -0
  438. package/dist/useBusinessLines-Dshc0pYD.js +27 -0
  439. package/dist/useCanSeeIntroduction-DeIwd-Ji.js +39 -0
  440. package/dist/useCreateLegalEntity-38twl3gB.js +24 -0
  441. package/dist/useDataMissingRemediations-7H0hHxXG.js +39 -0
  442. package/dist/useForm-D9aoTf9e.js +502 -0
  443. package/dist/useFormContext-DN57in75.js +504 -0
  444. package/dist/useLegalEntity-EN5ubX2H.js +48 -0
  445. package/dist/useMultiForm-or2Imhtr.js +817 -0
  446. package/dist/useNavigate-fLnJyzpQ.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-CjbLGmAO.js +152 -0
  455. package/dist/useUnincorporatedPartnershipMembers-wgiUFuxT.js +70 -0
  456. package/dist/useUpdateBusinessLines-BRxlqBnM.js +68 -0
  457. package/dist/useUpdateLegalEntity-CzOYowpM.js +29 -0
  458. package/dist/utils-BgdkZkf5.js +71 -0
  459. package/dist/utils-DcUoR5qG.js +61 -0
  460. package/dist/utils-DwujAUJC.js +46 -0
  461. package/dist/utils-DyheWgN6.js +188 -0
  462. package/dist/utils-H5Qnf2xq.js +2507 -0
  463. package/dist/validate-CTkDo5X9.js +397 -0
  464. package/dist/validate-CUEI7ct0.js +109 -0
  465. package/dist/validateExtractionResult-CGT-d88b.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-CESnpE8S.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-CXxQ9uok.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,1799 @@
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] = "9c838d80-5e17-48ee-8b7e-5f75dff2fb29", e._sentryDebugIdIdentifier = "sentry-dbid-9c838d80-5e17-48ee-8b7e-5f75dff2fb29");
4
+ } catch (e) {}
5
+ import { i as Typography, r as useTranslation } from "./translation-ZXpd9jdD.js";
6
+ import { T as datasetUtilities, k as Header } from "./resolveEnvironment-F1C4x0Ox.js";
7
+ import { r as Loader, t as Button } from "./Button-DBN5gM_d.js";
8
+ import { n as httpGet, s as useApiContext } from "./http-DYzfwjcs.js";
9
+ import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
10
+ import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
11
+ import { n as cloneObject } from "./AnalyticsContext-BFrJmsp0.js";
12
+ import { y as reverseMapping } from "./processCapabilities-hLmRus8U.js";
13
+ import { f as hasSolePropInLegalEntity } from "./entityAssociationUtil-C-wflW8q.js";
14
+ import { t as isEeaCountry } from "./country-BxigZW1s.js";
15
+ import { i as useAnalyticsContext } from "./Modal-BgeE7zM2.js";
16
+ import { t as SettingNames } from "./types-Cwq1JAWT.js";
17
+ import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-mo0fHe_C.js";
18
+ import { t as EndStateLayout } from "./EndStateLayout-DfThkkI3.js";
19
+ import { n as translateTranslatable } from "./utils-DcUoR5qG.js";
20
+ import { t as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-CQAe7Co6.js";
21
+ import { t as useCreateLegalEntity } from "./useCreateLegalEntity-38twl3gB.js";
22
+ import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-CzOYowpM.js";
23
+ import { t as Address } from "./Address-xj9sAzwv.js";
24
+ import { i as FormFlow, n as addValidityToForms, o as useFormComposer, r as getRequiredForms, s as FormContextProvider, t as useFormContext } from "./useFormContext-DN57in75.js";
25
+ import { t as ErrorPanel } from "./ErrorPanel-CxTj7p9g.js";
26
+ import { t as createFormUtils } from "./formUtils-DVc3a6gf.js";
27
+ import { t as useMultiForm } from "./useMultiForm-or2Imhtr.js";
28
+ import { t as useTaskLandedEvent } from "./useTaskLandedEvent-CtlV_Bum.js";
29
+ import { i as COUNTRIES_WITH_STATES_DATASET } from "./constants-DrtMSDfx.js";
30
+ import { n as getAddressSchemaLabelsByCountry, t as getAddressSchemaForCountry } from "./utils-BgdkZkf5.js";
31
+ import { i as isValidationError, o as processValidationErrors, s as isMaintenanceModeError } from "./validationError-tIm9Zzjt.js";
32
+ import { r as formatObject } from "./utils-DdHbAadK.js";
33
+ import { t as localizeDateString } from "./localizeDateString-DB-oTe60.js";
34
+ import { t as Field } from "./Field-CQWAWo5U.js";
35
+ import { t as Select } from "./Select-vMYP9lm8.js";
36
+ import { t as Checkbox } from "./Checkbox-tUvgt59R.js";
37
+ import { t as getFieldProps } from "./getProps-1L-urpfA.js";
38
+ import { t as Link } from "./Link-DtaYQWb-.js";
39
+ import { t as InputText } from "./InputText-8abfNtHh.js";
40
+ import { t as InputDate } from "./InputDate-cTgjAhzm.js";
41
+ import { n as CountryField } from "./CountryField-Cd0dVMev.js";
42
+ import { t as RadioGroup } from "./RadioGroup-DlzXLoMN.js";
43
+ import { t as currencyByCountry } from "./types-Bvp3aTbC.js";
44
+ import { a as LegalFormField, i as InputCurrency, n as Currency, o as mapFinancialReportsToFinancialInformation, r as InputNumber, s as mapFinancialInformationToFinancialReport, t as CURRENCY_FIELD } from "./Currency-DeExUcOI.js";
45
+ import { t as NewSummary } from "./NewSummary-C5MuPLiw.js";
46
+ import { t as businessFinancingMultiformRules } from "./validate-CUEI7ct0.js";
47
+ import { useEffect, useMemo, useRef, useState } from "preact/hooks";
48
+ import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
49
+ import { useQuery } from "@tanstack/preact-query";
50
+ //#region src/components/EFP/mapping/businessFinancingKeyMappings.ts
51
+ var businessFinancingBaseMapping = {
52
+ legalProceedingsDate: "organization.dateOfInitiationOfLegalProceeding",
53
+ legalInformationInsolvency: "organization.statusOfLegalProceeding",
54
+ legalEntityIdentifier: "organization.globalLegalEntityIdentifier",
55
+ naceCode: "organization.economicSector",
56
+ legalForm: "organization.legalForm",
57
+ legalName: "organization.legalName",
58
+ "registrationAddress.city": "organization.registeredAddress.city",
59
+ "registrationAddress.country": "organization.registeredAddress.country",
60
+ "registrationAddress.postalCode": "organization.registeredAddress.postalCode",
61
+ "registrationAddress.stateOrProvince": "organization.registeredAddress.stateOrProvince",
62
+ "registrationAddress.address": "organization.registeredAddress.street",
63
+ "registrationAddress.otherAddressInformation": "organization.registeredAddress.street2"
64
+ };
65
+ var businessFinancingIndividualMapping = {
66
+ gender: "individual.birthData.genderCode",
67
+ countryOfBirth: "individual.birthData.birthCountry"
68
+ };
69
+ var businessFinancingSoleProprietorMapping = {
70
+ legalProceedingsDate: "soleProprietorship.dateOfInitiationOfLegalProceeding",
71
+ legalInformationInsolvency: "soleProprietorship.statusOfLegalProceeding",
72
+ naceCode: "soleProprietorship.economicSector"
73
+ };
74
+ var businessFinancingComponentsKeyMapping = { ...businessFinancingBaseMapping };
75
+ ({ ...businessFinancingIndividualMapping });
76
+ var businessFinancingSoleProprietorComponentsKeyMapping = { ...businessFinancingSoleProprietorMapping };
77
+ var businessFinancingApiKeyMapping = { ...reverseMapping(businessFinancingBaseMapping) };
78
+ var businessFinancingIndividualApiKeyMapping = { ...reverseMapping(businessFinancingIndividualMapping) };
79
+ var businessFinancingSoleProprietorApiKeyMapping = { ...reverseMapping(businessFinancingSoleProprietorMapping) };
80
+ //#endregion
81
+ //#region src/components/EFP/mapping/mapBusinessFinancingToLegalEntity.ts
82
+ var mapBusinessFinancingToLegalEntity = (data, isIndividualOrSoleProprietor, customMapping) => {
83
+ if (customMapping) return formatObject(data, customMapping);
84
+ return formatObject(data, isIndividualOrSoleProprietor ? businessFinancingSoleProprietorApiKeyMapping : businessFinancingApiKeyMapping);
85
+ };
86
+ //#endregion
87
+ //#region src/components/EFP/tasks/BusinessFinancingDropin/types.ts
88
+ var BusinessFinancingPages = {
89
+ COMPANY_PAGE: "company",
90
+ SOLE_PROPRIETOR_PAGE: "soleProprietor",
91
+ PARENT_COMPANY_PAGE: "parentCompany",
92
+ ULTIMATE_PARENT_COMPANY_PAGE: "ultimateParentCompany"
93
+ };
94
+ var BusinessFinancingRadioIds = {
95
+ YES: "Yes",
96
+ NO: "No"
97
+ };
98
+ var businessFinancingRadioItems = [{
99
+ id: BusinessFinancingRadioIds.YES,
100
+ name: "yes"
101
+ }, {
102
+ id: BusinessFinancingRadioIds.NO,
103
+ name: "no"
104
+ }];
105
+ var businessFinancingParentRadioItems = [{
106
+ id: BusinessFinancingRadioIds.YES,
107
+ name: "yes"
108
+ }, {
109
+ id: BusinessFinancingRadioIds.NO,
110
+ name: "noIdontKnow"
111
+ }];
112
+ var companySchemaKeys = [
113
+ "legalForm",
114
+ "naceCode",
115
+ "numberOfEmployees",
116
+ "doesYourCompanyHaveLEI",
117
+ "legalEntityIdentifier",
118
+ "isCompanyOwnedByAnotherCompany",
119
+ "isParentOwnedByAnotherCompany",
120
+ "financialReportingDate",
121
+ "currency",
122
+ "balanceSheetTotal",
123
+ "annualTurnover",
124
+ "legalInformationInsolvency",
125
+ "legalProceedingsDate"
126
+ ];
127
+ var soleProprietorSchemaKeys = [
128
+ "gender",
129
+ "countryOfBirth",
130
+ "naceCode",
131
+ "legalInformationInsolvency",
132
+ "legalProceedingsDate"
133
+ ];
134
+ var parentCompaniesSchemaKeys = [
135
+ "legalName",
136
+ "legalForm",
137
+ "naceCode",
138
+ "numberOfEmployees",
139
+ "doesYourCompanyHaveLEI",
140
+ "legalEntityIdentifier",
141
+ "isThisAddressTheMainHeadquarters",
142
+ "financialReportingDate",
143
+ "currency",
144
+ "balanceSheetTotal",
145
+ "annualTurnover",
146
+ "legalInformationInsolvency",
147
+ "legalProceedingsDate",
148
+ "registrationAddress",
149
+ "sameAddressAsRootEntity"
150
+ ];
151
+ var businessFinancingForms = {
152
+ company: {
153
+ formId: "company",
154
+ formName: "businessInformation",
155
+ fields: [...companySchemaKeys]
156
+ },
157
+ soleProprietor: {
158
+ formId: "soleProprietor",
159
+ formName: "businessInformation",
160
+ fields: [...soleProprietorSchemaKeys]
161
+ },
162
+ parentCompany: {
163
+ formId: "parentCompany",
164
+ formName: "parentCompanyInformation",
165
+ fields: [...parentCompaniesSchemaKeys]
166
+ },
167
+ ultimateParentCompany: {
168
+ formId: "ultimateParentCompany",
169
+ formName: "ultimateParentCompanyInformation",
170
+ fields: [...parentCompaniesSchemaKeys]
171
+ }
172
+ };
173
+ var BusinessFinancingIndices = {
174
+ COMPANY: "company",
175
+ SOLE_PROPRIETOR: "soleProprietor",
176
+ PARENT_COMPANY: "parentCompany",
177
+ ULTIMATE_PARENT_COMPANY: "ultimateParentCompany"
178
+ };
179
+ //#endregion
180
+ //#region src/components/EFP/tasks/BusinessFinancingDropin/utils.ts
181
+ var getLegalEntityId = (businessFinancingIndex, rootLegalEntity) => {
182
+ if (!rootLegalEntity) return void 0;
183
+ if (businessFinancingIndex === BusinessFinancingIndices.COMPANY || businessFinancingIndex === BusinessFinancingIndices.SOLE_PROPRIETOR) return rootLegalEntity.id;
184
+ if (!rootLegalEntity?.entityAssociations) return void 0;
185
+ const businessFinancingEntityType = BusinessFinancingIndices.PARENT_COMPANY ? "immediateParentCompany" : "ultimateParentCompany";
186
+ return (rootLegalEntity.entityAssociations?.find((entity) => entity.type === businessFinancingEntityType))?.legalEntityId;
187
+ };
188
+ var USER_LOCALE = typeof navigator !== "undefined" ? navigator.language : "en-US";
189
+ var entityHasParentCompany = (data) => data.company?.isCompanyOwnedByAnotherCompany && data.company?.isCompanyOwnedByAnotherCompany === "Yes";
190
+ var entityHasUltimateParentCompany = (data) => data.company?.isParentOwnedByAnotherCompany && data.company?.isParentOwnedByAnotherCompany === "Yes";
191
+ var financialReportsToString = (financialReports) => {
192
+ return {
193
+ ...financialReports,
194
+ numberOfEmployees: financialReports.numberOfEmployees ? financialReports.numberOfEmployees.toString() : void 0,
195
+ annualTurnover: financialReports.annualTurnover ? financialReports.annualTurnover.toString() : void 0,
196
+ balanceSheetTotal: financialReports.balanceSheetTotal ? financialReports.balanceSheetTotal.toString() : void 0
197
+ };
198
+ };
199
+ /**
200
+ * Prepares sole proprietor business financing data for submission.
201
+ * IMPORTANT: Both root LE (individual) and sole prop LE MUST exist before calling this.
202
+ * This function always returns UPDATE payloads (with IDs), never CREATE payloads.
203
+ */
204
+ var prepareSoleProprietorBusinessFinancingSubmitData = (data, rootLegalEntity, soleProprietorLegalEntity) => {
205
+ const businessFinancingData = data.soleProprietor;
206
+ if (!businessFinancingData || !rootLegalEntity?.id || !soleProprietorLegalEntity?.id) return null;
207
+ const individualChanges = mapBusinessFinancingToLegalEntity(businessFinancingData, true, businessFinancingIndividualApiKeyMapping);
208
+ const { identificationData: _identificationData, ...individualWithoutIdData } = rootLegalEntity.individual || {};
209
+ const individualPayload = {
210
+ id: rootLegalEntity.id,
211
+ individual: {
212
+ ...individualWithoutIdData,
213
+ ...individualChanges.individual
214
+ }
215
+ };
216
+ const solePropChanges = mapBusinessFinancingToLegalEntity(businessFinancingData, true, businessFinancingSoleProprietorApiKeyMapping);
217
+ if (!solePropChanges.soleProprietorship) return null;
218
+ if (solePropChanges.soleProprietorship.statusOfLegalProceeding === "iDontKnow") solePropChanges.soleProprietorship.statusOfLegalProceeding = "noLegalActionsTaken";
219
+ if (solePropChanges.soleProprietorship.statusOfLegalProceeding === "iDontKnow" || solePropChanges.soleProprietorship.statusOfLegalProceeding === "noLegalActionsTaken") solePropChanges.soleProprietorship.dateOfInitiationOfLegalProceeding = "";
220
+ return {
221
+ individualPayload,
222
+ solePropPayload: {
223
+ id: soleProprietorLegalEntity.id,
224
+ soleProprietorship: {
225
+ ...soleProprietorLegalEntity.soleProprietorship,
226
+ ...solePropChanges.soleProprietorship
227
+ }
228
+ }
229
+ };
230
+ };
231
+ var prepareBusinessFinancingSubmitData = (businessFinancingIndex, data, rootLegalEntity) => {
232
+ const businessFinancingData = data[businessFinancingIndex];
233
+ if (!businessFinancingData) return null;
234
+ if (businessFinancingIndex === BusinessFinancingIndices.PARENT_COMPANY && !entityHasParentCompany(data)) return null;
235
+ if (businessFinancingIndex === BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY && (!entityHasUltimateParentCompany(data) || !entityHasParentCompany(data))) return null;
236
+ const businessFinancingDetails = mapBusinessFinancingToLegalEntity(businessFinancingData);
237
+ const isSoleProprietor = businessFinancingIndex === BusinessFinancingIndices.SOLE_PROPRIETOR;
238
+ if (isSoleProprietor) throw new Error("Use prepareSoleProprietorBusinessFinancingSubmitData for sole proprietor business financing");
239
+ else if (isSoleProprietor === false) {
240
+ if (!businessFinancingDetails.organization) return null;
241
+ const businessFinancingCountry = businessFinancingDetails.organization.registeredAddress?.country || rootLegalEntity?.organization?.registeredAddress?.country;
242
+ const companyData = businessFinancingData;
243
+ if (companyData.financialReportingDate && isEeaCountry(businessFinancingCountry)) {
244
+ const { balanceSheetTotal: bst, ...restFinancialReport } = mapFinancialInformationToFinancialReport({
245
+ currency: companyData.currency,
246
+ financialReportingDate: companyData.financialReportingDate,
247
+ numberOfEmployees: companyData.numberOfEmployees ? Number(companyData.numberOfEmployees) : void 0,
248
+ balanceSheetTotal: companyData.balanceSheetTotal ? Number(companyData.balanceSheetTotal) : void 0,
249
+ annualTurnover: companyData.annualTurnover ? Number(companyData.annualTurnover) : void 0
250
+ });
251
+ const businessFinancingFinancialReport = {
252
+ ...restFinancialReport,
253
+ netAssets: bst
254
+ };
255
+ businessFinancingDetails.organization.financialReports = [businessFinancingFinancialReport];
256
+ }
257
+ if (!isEeaCountry(businessFinancingCountry)) businessFinancingDetails.organization.financialReports = void 0;
258
+ if (businessFinancingDetails.organization.statusOfLegalProceeding === "iDontKnow") businessFinancingDetails.organization.statusOfLegalProceeding = "noLegalActionsTaken";
259
+ if (businessFinancingDetails.organization.statusOfLegalProceeding === "iDontKnow" || businessFinancingDetails.organization.statusOfLegalProceeding === "noLegalActionsTaken") businessFinancingDetails.organization.dateOfInitiationOfLegalProceeding = "";
260
+ if (companyData.sameAddressAsRootEntity && rootLegalEntity?.organization?.registeredAddress) businessFinancingDetails.organization.registeredAddress = { ...rootLegalEntity.organization.registeredAddress };
261
+ if (companyData.isThisAddressTheMainHeadquarters) businessFinancingDetails.organization.principalPlaceOfBusiness = { ...businessFinancingDetails.organization.registeredAddress };
262
+ if (companyData.doesYourCompanyHaveLEI !== "Yes") delete businessFinancingDetails.organization.globalLegalEntityIdentifier;
263
+ }
264
+ const businessFinancingLegalEntityId = getLegalEntityId(businessFinancingIndex, rootLegalEntity);
265
+ if (businessFinancingLegalEntityId) {
266
+ delete businessFinancingDetails.type;
267
+ businessFinancingDetails.id = businessFinancingLegalEntityId;
268
+ } else {
269
+ delete businessFinancingDetails.id;
270
+ businessFinancingDetails.type = isSoleProprietor ? LegalEntityTypes.SOLE_PROPRIETORSHIP : LegalEntityTypes.ORGANIZATION;
271
+ }
272
+ return businessFinancingDetails;
273
+ };
274
+ var appendBusinessFinancingData = (legalOrganization, businessFinancingData) => {
275
+ if (!legalOrganization || !businessFinancingData) return businessFinancingData;
276
+ const clonedBusinessFinancingData = { ...businessFinancingData };
277
+ let financialReportData = {};
278
+ if (legalOrganization.financialReports) {
279
+ financialReportData = financialReportsToString(mapFinancialReportsToFinancialInformation((Array.isArray(legalOrganization.financialReports) ? legalOrganization.financialReports : [legalOrganization.financialReports]).map(({ netAssets, ...rest }) => ({
280
+ ...rest,
281
+ balanceSheetTotal: rest.balanceSheetTotal ?? netAssets
282
+ })), false));
283
+ if (financialReportData.numberOfEmployees) financialReportData.numberOfEmployees = financialReportData.numberOfEmployees.toString();
284
+ }
285
+ return {
286
+ ...clonedBusinessFinancingData,
287
+ ...financialReportData,
288
+ numberOfEmployees: financialReportData.numberOfEmployees ? financialReportData.numberOfEmployees.toString() : void 0,
289
+ doesYourCompanyHaveLEI: legalOrganization.globalLegalEntityIdentifier ? "Yes" : "No",
290
+ isThisAddressTheMainHeadquarters: legalOrganization.principalPlaceOfBusiness ? "Yes" : clonedBusinessFinancingData.isThisAddressTheMainHeadquarters
291
+ };
292
+ };
293
+ var appendSoleProprietorBusinessFinancingData = (legalArrangement, businessFinancingData) => {
294
+ if (!legalArrangement || !businessFinancingData) return businessFinancingData;
295
+ return {
296
+ ...businessFinancingData,
297
+ naceCode: businessFinancingData.naceCode ?? legalArrangement.economicSector,
298
+ legalInformationInsolvency: businessFinancingData.legalInformationInsolvency ?? legalArrangement.statusOfLegalProceeding,
299
+ legalProceedingsDate: businessFinancingData.legalProceedingsDate ?? legalArrangement.dateOfInitiationOfLegalProceeding
300
+ };
301
+ };
302
+ var handleBusinessFinancingFormSubmission = async (businessFinancingType, details, createFunction, updateFunction, entityId) => {
303
+ if (!details) throw new Error(`Missing details for ${businessFinancingType}`);
304
+ try {
305
+ if (entityId) return await updateFunction({
306
+ ...details,
307
+ id: entityId
308
+ });
309
+ return await createFunction(details);
310
+ } catch (error) {
311
+ const businessFinancingError = /* @__PURE__ */ new Error(`Form submission failed for ${businessFinancingType}`);
312
+ businessFinancingError.actualError = error;
313
+ businessFinancingError.businessFinancingType = businessFinancingError;
314
+ throw businessFinancingError;
315
+ }
316
+ };
317
+ var getCompanySchemaKeys = (country, currentData, schemaKeys) => {
318
+ const fieldsToRemove = [];
319
+ if (!isEeaCountry(country)) fieldsToRemove.push("financialReportingDate", "balanceSheetTotal", "annualTurnover", "currency", "numberOfEmployees");
320
+ if (currentData.isCompanyOwnedByAnotherCompany !== "Yes") fieldsToRemove.push("isParentOwnedByAnotherCompany");
321
+ if (currentData.doesYourCompanyHaveLEI !== "Yes") fieldsToRemove.push("legalEntityIdentifier");
322
+ if (!currentData?.legalInformationInsolvency || ["noLegalActionsTaken", "iDontKnow"].includes(currentData?.legalInformationInsolvency)) fieldsToRemove.push("legalProceedingsDate");
323
+ return schemaKeys.filter((field) => !fieldsToRemove.includes(field));
324
+ };
325
+ var getSoleProprietorSchemaKeys = (currentData, schemaKeys) => {
326
+ const fieldsToRemove = [];
327
+ if (!currentData?.legalInformationInsolvency || ["noLegalActionsTaken", "iDontKnow"].includes(currentData?.legalInformationInsolvency)) fieldsToRemove.push("legalProceedingsDate");
328
+ return schemaKeys.filter((field) => !fieldsToRemove.includes(field));
329
+ };
330
+ var getParentCompanySchemaKeys = (currentData, schemaKeys, rootEntityAddress) => {
331
+ const fieldsToRemove = [];
332
+ if (!isEeaCountry(currentData?.sameAddressAsRootEntity && rootEntityAddress ? rootEntityAddress.country : currentData?.registrationAddress?.country)) fieldsToRemove.push("financialReportingDate", "balanceSheetTotal", "annualTurnover", "currency", "numberOfEmployees");
333
+ if (currentData?.sameAddressAsRootEntity) fieldsToRemove.push("registrationAddress");
334
+ if (currentData.doesYourCompanyHaveLEI !== "Yes") fieldsToRemove.push("legalEntityIdentifier");
335
+ if (!currentData?.legalInformationInsolvency || ["noLegalActionsTaken", "iDontKnow"].includes(currentData?.legalInformationInsolvency)) fieldsToRemove.push("legalProceedingsDate");
336
+ return schemaKeys.filter((field) => !fieldsToRemove.includes(field));
337
+ };
338
+ var getBusinessFinancingRequiredFields = (country, data, rootEntityAddress) => {
339
+ let requiredFields = void 0;
340
+ if (!data) return requiredFields;
341
+ const { company, soleProprietor, parentCompany = {}, ultimateParentCompany = {} } = data;
342
+ if (soleProprietor) {
343
+ requiredFields = {};
344
+ requiredFields.soleProprietor = getSoleProprietorSchemaKeys(soleProprietor, soleProprietorSchemaKeys);
345
+ delete requiredFields.company;
346
+ return requiredFields;
347
+ }
348
+ if (company) {
349
+ requiredFields = {};
350
+ requiredFields.company = getCompanySchemaKeys(country, company, companySchemaKeys);
351
+ }
352
+ if (company?.isCompanyOwnedByAnotherCompany === "Yes") {
353
+ const parentCompanyRequiredFields = getParentCompanySchemaKeys(parentCompany, parentCompaniesSchemaKeys, rootEntityAddress);
354
+ requiredFields = {
355
+ ...requiredFields,
356
+ parentCompany: parentCompanyRequiredFields
357
+ };
358
+ }
359
+ if (company?.isParentOwnedByAnotherCompany === "Yes") {
360
+ const ultimateParentCompanyRequiredFields = getParentCompanySchemaKeys(ultimateParentCompany, parentCompaniesSchemaKeys, rootEntityAddress);
361
+ requiredFields = {
362
+ ...requiredFields,
363
+ ultimateParentCompany: ultimateParentCompanyRequiredFields
364
+ };
365
+ }
366
+ return requiredFields;
367
+ };
368
+ var getAddressCountryForParentCompany = (parentCompany, leAddress) => {
369
+ return parentCompany?.sameAddressAsRootEntity && leAddress ? leAddress?.country : parentCompany?.registrationAddress?.country;
370
+ };
371
+ //#endregion
372
+ //#region src/components/EmbeddedDropins/BusinessFinancingComponent/utils.ts
373
+ var getTranslatedGender = (t, gender) => {
374
+ if (!gender) return void 0;
375
+ const key = {
376
+ M: "male",
377
+ F: "female",
378
+ U: "preferNotToSay"
379
+ }[gender];
380
+ return key ? t(($) => $[key]) : gender;
381
+ };
382
+ var getTranslatedLegalInsolvency = (t, insolvencyData) => {
383
+ if (!insolvencyData) return void 0;
384
+ return insolvencyData === "noLegalActionsTaken" ? t(($) => $["no"]) : t(($) => $[insolvencyData]);
385
+ };
386
+ var getValidUserLocale = (locale) => {
387
+ try {
388
+ new Intl.NumberFormat(locale);
389
+ return locale;
390
+ } catch (error) {
391
+ console.warn(`Invalid locale '${locale}' provided. Falling back to 'en-US'.`, error);
392
+ return "en-US";
393
+ }
394
+ };
395
+ var getFormattedAmount = (value, currency) => {
396
+ if (!value) return void 0;
397
+ const userLocale = getValidUserLocale(USER_LOCALE);
398
+ return `${currency} ${Number(value).toLocaleString(userLocale)}`;
399
+ };
400
+ var formatDataForSummary = (language, t, datasetUtils, data, rootLeAddress) => {
401
+ const summaryData = cloneObject(data) || {};
402
+ const { company, parentCompany, ultimateParentCompany, soleProprietor } = summaryData;
403
+ if (soleProprietor) {
404
+ soleProprietor.naceCode = soleProprietor.naceCodeLabel;
405
+ soleProprietor.countryOfBirth = soleProprietor.countryOfBirth ? datasetUtils.getCountryName(soleProprietor.countryOfBirth) ?? void 0 : void 0;
406
+ soleProprietor.legalInformationInsolvency = getTranslatedLegalInsolvency(t, soleProprietor.legalInformationInsolvency);
407
+ soleProprietor.legalProceedingsDate = soleProprietor.legalProceedingsDate ? localizeDateString(soleProprietor.legalProceedingsDate, language) : void 0;
408
+ if (soleProprietor.gender) soleProprietor.gender = getTranslatedGender(t, soleProprietor.gender);
409
+ }
410
+ if (company) {
411
+ company.legalForm = company.legalFormLabel;
412
+ company.naceCode = company.naceCodeLabel;
413
+ company.legalEntityIdentifier = company.legalEntityIdentifier ?? "None";
414
+ company.legalInformationInsolvency = getTranslatedLegalInsolvency(t, company?.legalInformationInsolvency);
415
+ company.annualTurnover = getFormattedAmount(company.annualTurnover, company.currency);
416
+ company.balanceSheetTotal = getFormattedAmount(company.balanceSheetTotal, company.currency);
417
+ const { legalProceedingsDate, financialReportingDate } = company;
418
+ company.legalProceedingsDate = legalProceedingsDate ? localizeDateString(legalProceedingsDate, language) : void 0;
419
+ company.financialReportingDate = financialReportingDate ? localizeDateString(financialReportingDate, language) : void 0;
420
+ }
421
+ if (parentCompany) {
422
+ const { legalName, legalFormLabel, naceCodeLabel, country, legalEntityIdentifier, legalInformationInsolvency, annualTurnover, currency, balanceSheetTotal, legalProceedingsDate, financialReportingDate, sameAddressAsRootEntity, registrationAddress } = parentCompany;
423
+ if (legalName) {
424
+ parentCompany.legalForm = legalFormLabel;
425
+ parentCompany.naceCode = naceCodeLabel;
426
+ parentCompany.country = country ? datasetUtils.getCountryName(country) : "";
427
+ if (registrationAddress) parentCompany.registrationAddress = {
428
+ ...registrationAddress,
429
+ country: datasetUtils.getCountryName(registrationAddress?.country)
430
+ };
431
+ parentCompany.legalEntityIdentifier = legalEntityIdentifier ?? "None";
432
+ parentCompany.legalInformationInsolvency = getTranslatedLegalInsolvency(t, legalInformationInsolvency);
433
+ parentCompany.annualTurnover = getFormattedAmount(annualTurnover, currency);
434
+ parentCompany.balanceSheetTotal = getFormattedAmount(balanceSheetTotal, currency);
435
+ parentCompany.legalProceedingsDate = legalProceedingsDate ? localizeDateString(legalProceedingsDate, language) : void 0;
436
+ parentCompany.financialReportingDate = financialReportingDate ? localizeDateString(financialReportingDate, language) : void 0;
437
+ if (sameAddressAsRootEntity) {
438
+ delete parentCompany.country;
439
+ summaryData.parentCompany = {
440
+ ...parentCompany,
441
+ registrationAddress: {
442
+ ...rootLeAddress,
443
+ country: datasetUtils.getCountryName(rootLeAddress?.country)
444
+ }
445
+ };
446
+ }
447
+ }
448
+ }
449
+ if (ultimateParentCompany) {
450
+ const { legalName, legalFormLabel, naceCodeLabel, country, legalEntityIdentifier, legalInformationInsolvency, annualTurnover, currency, balanceSheetTotal, legalProceedingsDate, financialReportingDate, sameAddressAsRootEntity, registrationAddress } = ultimateParentCompany;
451
+ if (legalName) {
452
+ ultimateParentCompany.legalForm = legalFormLabel;
453
+ ultimateParentCompany.naceCode = naceCodeLabel;
454
+ ultimateParentCompany.country = country ? datasetUtils.getCountryName(country) : "";
455
+ if (registrationAddress) ultimateParentCompany.registrationAddress = {
456
+ ...registrationAddress,
457
+ country: datasetUtils.getCountryName(registrationAddress?.country)
458
+ };
459
+ ultimateParentCompany.legalEntityIdentifier = legalEntityIdentifier ?? "None";
460
+ ultimateParentCompany.legalInformationInsolvency = getTranslatedLegalInsolvency(t, legalInformationInsolvency);
461
+ ultimateParentCompany.annualTurnover = getFormattedAmount(annualTurnover, currency);
462
+ ultimateParentCompany.balanceSheetTotal = getFormattedAmount(balanceSheetTotal, currency);
463
+ ultimateParentCompany.legalProceedingsDate = legalProceedingsDate ? localizeDateString(legalProceedingsDate, language) : void 0;
464
+ ultimateParentCompany.financialReportingDate = financialReportingDate ? localizeDateString(financialReportingDate, language) : void 0;
465
+ if (sameAddressAsRootEntity) {
466
+ delete ultimateParentCompany.country;
467
+ summaryData.ultimateParentCompany = {
468
+ ...ultimateParentCompany,
469
+ registrationAddress: {
470
+ ...rootLeAddress,
471
+ country: datasetUtils.getCountryName(rootLeAddress?.country)
472
+ }
473
+ };
474
+ }
475
+ }
476
+ }
477
+ return summaryData;
478
+ };
479
+ //#endregion
480
+ //#region src/components/EFP/mapping/mapLegalEntityToBusinessFinancing.ts
481
+ var mapLegalEntityToBusinessFinancing = (legalEntity) => {
482
+ if (legalEntity.type === LegalEntityTypes.SOLE_PROPRIETORSHIP) return formatObject(legalEntity, businessFinancingSoleProprietorComponentsKeyMapping);
483
+ if (legalEntity.type === LegalEntityTypes.INDIVIDUAL) {
484
+ if (legalEntity.entityAssociations?.find((ea) => ea.entityType === LegalEntityTypes.SOLE_PROPRIETORSHIP && ea.associatorId === legalEntity.id)) {
485
+ const solePropMapped = formatObject(legalEntity, businessFinancingSoleProprietorComponentsKeyMapping);
486
+ const birthData = legalEntity.individual?.birthData;
487
+ return {
488
+ ...solePropMapped,
489
+ gender: birthData?.genderCode || legalEntity.individual?.gender,
490
+ countryOfBirth: birthData?.birthCountry || legalEntity.individual?.countryOfBirth
491
+ };
492
+ }
493
+ }
494
+ return formatObject(legalEntity, businessFinancingComponentsKeyMapping);
495
+ };
496
+ //#endregion
497
+ //#region src/api/datasets/useNaceCodes.ts
498
+ var getNaceCodes = async (baseUrl) => {
499
+ return httpGet({
500
+ baseUrl,
501
+ path: `datasets/naceCodes`
502
+ });
503
+ };
504
+ var useNaceCodes = (options) => {
505
+ const { baseUrl } = useApiContext();
506
+ return useQuery({
507
+ queryKey: ["naceCodes"],
508
+ queryFn: () => getNaceCodes(baseUrl.value),
509
+ ...options
510
+ });
511
+ };
512
+ //#endregion
513
+ //#region src/components/EFP/fields/NaceCodeField/NaceCodeField.tsx
514
+ function NaceCodeField({ name = "naceCode", data, valid, errorMessage, label, readonly, handleChangeFor }) {
515
+ const { t: commonT } = useTranslation("common");
516
+ const { data: naceCodesData } = useNaceCodes();
517
+ const handleChangeForRef = useRef(handleChangeFor);
518
+ useEffect(() => {
519
+ handleChangeForRef.current = handleChangeFor;
520
+ }, [handleChangeFor]);
521
+ const handleChangeForNaceCode = (e) => {
522
+ const naceCodeEvent = { target: {
523
+ name: "naceCode",
524
+ value: e.target.value
525
+ } };
526
+ handleChangeFor("naceCode")(naceCodeEvent);
527
+ };
528
+ useEffect(() => {
529
+ const naceCodeEvent = { target: {
530
+ name: "naceCodeLabel",
531
+ value: naceCodesData?.find((naceCode) => naceCode.id === data.naceCode)?.name
532
+ } };
533
+ handleChangeForRef.current("naceCodeLabel")(naceCodeEvent);
534
+ }, [data.naceCode, naceCodesData]);
535
+ return /* @__PURE__ */ jsx(Field, {
536
+ name,
537
+ label,
538
+ errorMessage,
539
+ isValid: valid.naceCode,
540
+ children: (childProps) => /* @__PURE__ */ jsx(Select, {
541
+ ...childProps,
542
+ name,
543
+ placeholder: commonT(($) => $["selectOne"]),
544
+ selected: data.naceCode,
545
+ items: naceCodesData ?? [],
546
+ readonly: readonly && !!data,
547
+ onChange: handleChangeForNaceCode
548
+ })
549
+ });
550
+ }
551
+ var BusinessFinancing_module_default = {
552
+ "business-financing-lei-radio": "_business-financing-lei-radio_l7xhq_1",
553
+ businessFinancingLeiRadio: "_business-financing-lei-radio_l7xhq_1",
554
+ "business-financing-title": "_business-financing-title_l7xhq_7",
555
+ businessFinancingTitle: "_business-financing-title_l7xhq_7",
556
+ "business-financing-body": "_business-financing-body_l7xhq_12",
557
+ businessFinancingBody: "_business-financing-body_l7xhq_12",
558
+ "business-financing-exposure-financials": "_business-financing-exposure-financials_l7xhq_16",
559
+ businessFinancingExposureFinancials: "_business-financing-exposure-financials_l7xhq_16",
560
+ "business-financing-structured-address": "_business-financing-structured-address_l7xhq_24",
561
+ businessFinancingStructuredAddress: "_business-financing-structured-address_l7xhq_24"
562
+ };
563
+ //#endregion
564
+ //#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingBusinessInformation.tsx
565
+ var businessInformationFields = [
566
+ "legalForm",
567
+ "naceCode",
568
+ "naceCodeLabel",
569
+ "legalFormLabel",
570
+ "doesYourCompanyHaveLEI",
571
+ "legalEntityIdentifier"
572
+ ];
573
+ function BusinessFinancingBusinessInformation(props) {
574
+ const { data, valid, errors, country, handleFieldChange, fieldValidationErrors, targetPage, sectionHeading, hideSectionHeading, isSoleProprietor } = props;
575
+ const { t: businessFinancingT } = useTranslation("businessFinancing");
576
+ const { t: commonT } = useTranslation("common");
577
+ const formUtils = createFormUtils(props, commonT);
578
+ if (!handleFieldChange) return;
579
+ const isMainCompany = targetPage === BusinessFinancingPages.COMPANY_PAGE;
580
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
581
+ !hideSectionHeading && /* @__PURE__ */ jsx(Typography, {
582
+ el: "h3",
583
+ variant: "title",
584
+ className: BusinessFinancing_module_default.businessFinancingTitle,
585
+ children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["businessInformation"])
586
+ }),
587
+ !isSoleProprietor && /* @__PURE__ */ jsx(LegalFormField, {
588
+ name: "legalForm",
589
+ countryCode: country,
590
+ data: { legalForm: data?.legalForm },
591
+ valid: { legalForm: valid?.legalForm },
592
+ errorMessage: formUtils.getErrorMessage("legalForm", errors, fieldValidationErrors),
593
+ handleChangeFor: handleFieldChange,
594
+ readonly: false,
595
+ label: businessFinancingT(($) => $["businessStructure"])
596
+ }),
597
+ /* @__PURE__ */ jsx(NaceCodeField, {
598
+ name: "naceCode",
599
+ data: { naceCode: data?.naceCode },
600
+ valid: { naceCode: valid?.naceCode },
601
+ errorMessage: formUtils.getErrorMessage("naceCode", errors, fieldValidationErrors),
602
+ handleChangeFor: handleFieldChange,
603
+ readonly: false,
604
+ label: businessFinancingT(($) => $["industryAndNaceCode"])
605
+ }),
606
+ !isSoleProprietor && /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Field, {
607
+ el: "fieldset",
608
+ name: "doesYourCompanyHaveLEI",
609
+ label: businessFinancingT(($) => $[isMainCompany ? "doesYourCompanyHaveLEI" : "doesThisCompanyHaveLEI"]),
610
+ helper: /* @__PURE__ */ jsxs(Typography, {
611
+ el: "div",
612
+ variant: "body",
613
+ color: "secondary",
614
+ className: BusinessFinancing_module_default.businessFinancingBody,
615
+ children: [
616
+ businessFinancingT(($) => $["anLEIIsAUniqueCode"]),
617
+ " ",
618
+ /* @__PURE__ */ jsx(Link, {
619
+ href: "https://search.gleif.org/#/search/",
620
+ external: true,
621
+ inline: true,
622
+ children: businessFinancingT(($) => $["lookUpYourLEI"])
623
+ })
624
+ ]
625
+ }),
626
+ errorMessage: formUtils.getErrorMessage("doesYourCompanyHaveLEI", errors, fieldValidationErrors),
627
+ children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
628
+ ...childProps,
629
+ name: "doesYourCompanyHaveLEI",
630
+ items: isMainCompany ? businessFinancingRadioItems : businessFinancingParentRadioItems,
631
+ value: data?.doesYourCompanyHaveLEI,
632
+ disabled: false,
633
+ className: BusinessFinancing_module_default.businessFinancingLeiRadio,
634
+ onChange: handleFieldChange("doesYourCompanyHaveLEI"),
635
+ "aria-required": true,
636
+ "aria-invalid": !valid?.doesYourCompanyHaveLEI
637
+ })
638
+ }), data?.doesYourCompanyHaveLEI === "Yes" && /* @__PURE__ */ jsx(Field, {
639
+ name: "legalEntityIdentifier",
640
+ label: businessFinancingT(($) => $["legalEntityIdentifier"]),
641
+ errorMessage: formUtils.getErrorMessage("legalEntityIdentifier", errors, fieldValidationErrors),
642
+ isValid: valid?.legalEntityIdentifier,
643
+ helper: commonT(($) => $["enterNCharactersWithAMixForExample"], {
644
+ numChars: 20,
645
+ example: "529900T8BM49AURSDO55"
646
+ }),
647
+ children: (childProps) => /* @__PURE__ */ jsx(InputText, {
648
+ ...childProps,
649
+ name: "legalEntityIdentifier",
650
+ value: data?.legalEntityIdentifier,
651
+ readonly: false,
652
+ onInput: handleFieldChange("legalEntityIdentifier", "input"),
653
+ onBlur: handleFieldChange("legalEntityIdentifier", "blur"),
654
+ "aria-required": true,
655
+ "aria-invalid": !valid?.legalEntityIdentifier,
656
+ isValid: valid?.legalEntityIdentifier
657
+ })
658
+ })] })
659
+ ] });
660
+ }
661
+ //#endregion
662
+ //#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingFinancialInformation.tsx
663
+ var TODAY_DATE$1 = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
664
+ var financialInformationFields = [
665
+ "numberOfEmployees",
666
+ "financialReportingDate",
667
+ "legalEntityIdentifier",
668
+ "currency",
669
+ "balanceSheetTotal",
670
+ "annualTurnover"
671
+ ];
672
+ function BusinessFinancingFinancialInformation(props) {
673
+ const { data, valid, errors, country, sectionHeading, handleFieldChange, fieldValidationErrors } = props;
674
+ const { t: businessFinancingT, i18n: i18next } = useTranslation("businessFinancing");
675
+ const { t: commonT } = useTranslation("common");
676
+ const formUtils = createFormUtils(props, commonT);
677
+ const currenciesForCurrCountry = useMemo(() => currencyByCountry[country] ?? [], [country]);
678
+ if (!handleFieldChange) return;
679
+ const financialData = data;
680
+ const financialErrors = errors;
681
+ const isFinancialDataValid = valid;
682
+ const [firstCurrency] = currenciesForCurrCountry;
683
+ const defaultCurrency = firstCurrency ?? "EUR";
684
+ if (currenciesForCurrCountry.length === 1 && data?.currency !== firstCurrency) handleFieldChange("currency")(firstCurrency);
685
+ return /* @__PURE__ */ jsxs("section", { children: [
686
+ /* @__PURE__ */ jsx(Typography, {
687
+ el: "h3",
688
+ variant: "title",
689
+ className: BusinessFinancing_module_default.businessFinancingTitle,
690
+ children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["businessFinancials"])
691
+ }),
692
+ /* @__PURE__ */ jsx(Field, {
693
+ name: "numberOfEmployees",
694
+ label: businessFinancingT(($) => $["numberOfEmployees"]),
695
+ helper: businessFinancingT(($) => $["theNumberOfIndividualsReceivingAWageOrSalary"]),
696
+ errorMessage: formUtils.getErrorMessage("numberOfEmployees", errors, fieldValidationErrors),
697
+ isValid: valid?.numberOfEmployees,
698
+ children: (childProps) => /* @__PURE__ */ jsx(InputNumber, {
699
+ ...childProps,
700
+ "aria-required": true,
701
+ "aria-invalid": !valid?.numberOfEmployees,
702
+ name: "numberOfEmployees",
703
+ min: "0",
704
+ step: "1",
705
+ value: data?.numberOfEmployees,
706
+ onInput: handleFieldChange("numberOfEmployees", "input"),
707
+ onBlur: handleFieldChange("numberOfEmployees", "blur")
708
+ })
709
+ }),
710
+ currenciesForCurrCountry?.length > 1 && /* @__PURE__ */ jsx(Currency, {
711
+ country,
712
+ data: formUtils.getFieldData(financialData, CURRENCY_FIELD),
713
+ errors: formUtils.getFieldErrors(financialErrors, fieldValidationErrors, CURRENCY_FIELD),
714
+ handleChangeFor: handleFieldChange,
715
+ labels: { currency: businessFinancingT(($) => $["financialStatementReportingCurrency"]) },
716
+ readonly: formUtils.isReadOnly("currency"),
717
+ valid: formUtils.getFieldValid(isFinancialDataValid, CURRENCY_FIELD)
718
+ }),
719
+ /* @__PURE__ */ jsxs("div", {
720
+ className: BusinessFinancing_module_default.businessFinancingExposureFinancials,
721
+ children: [
722
+ /* @__PURE__ */ jsx(Field, {
723
+ name: "balanceSheetTotal",
724
+ label: businessFinancingT(($) => $["balanceSheetTotal"]),
725
+ helper: businessFinancingT(($) => $["theSumOfTotalLiabilities"]),
726
+ errorMessage: formUtils.getErrorMessage("balanceSheetTotal", errors, fieldValidationErrors),
727
+ isValid: valid?.balanceSheetTotal,
728
+ children: (childProps) => /* @__PURE__ */ jsx(InputCurrency, {
729
+ ...childProps,
730
+ "aria-required": formUtils.isRequiredField("balanceSheetTotal"),
731
+ "aria-invalid": !valid?.balanceSheetTotal,
732
+ locale: i18next.language,
733
+ currency: data?.currency ?? defaultCurrency,
734
+ amount: data?.balanceSheetTotal ? Number(data?.balanceSheetTotal) : void 0,
735
+ onAmountChanged: handleFieldChange("balanceSheetTotal")
736
+ })
737
+ }),
738
+ /* @__PURE__ */ jsx(Field, {
739
+ name: "financialReportingDate",
740
+ label: businessFinancingT(($) => $["statementReportingDate"]),
741
+ helper: businessFinancingT(($) => $["useTheMoreRecentOfTheReportingDates"]),
742
+ errorMessage: formUtils.getErrorMessage("financialReportingDate", errors, fieldValidationErrors),
743
+ isValid: valid?.financialReportingDate,
744
+ children: (childProps) => /* @__PURE__ */ jsx(InputDate, {
745
+ ...childProps,
746
+ name: "financialReportingDate",
747
+ value: data?.financialReportingDate,
748
+ onInput: handleFieldChange("financialReportingDate", "input"),
749
+ onBlur: handleFieldChange("financialReportingDate", "blur"),
750
+ "aria-required": true,
751
+ "aria-invalid": !valid?.financialReportingDate,
752
+ max: TODAY_DATE$1
753
+ })
754
+ }),
755
+ /* @__PURE__ */ jsx(Field, {
756
+ name: "annualTurnover",
757
+ label: businessFinancingT(($) => $["annualTurnover"]),
758
+ helper: businessFinancingT(($) => $["theAnnualSalesRevenue"]),
759
+ errorMessage: formUtils.getErrorMessage("annualTurnover", errors, fieldValidationErrors),
760
+ isValid: valid?.annualTurnover,
761
+ children: (childProps) => /* @__PURE__ */ jsx(InputCurrency, {
762
+ ...childProps,
763
+ name: "annualTurnover",
764
+ "aria-required": formUtils.isRequiredField("annualTurnover"),
765
+ "aria-invalid": !valid?.annualTurnover,
766
+ locale: i18next.language,
767
+ currency: data?.currency ?? defaultCurrency,
768
+ amount: data?.annualTurnover ? Number(data?.annualTurnover) : void 0,
769
+ onAmountChanged: handleFieldChange("annualTurnover")
770
+ })
771
+ })
772
+ ]
773
+ })
774
+ ] });
775
+ }
776
+ //#endregion
777
+ //#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingLegalInformation.tsx
778
+ var TODAY_DATE = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
779
+ var legalInformationFields = ["legalInformationInsolvency", "legalProceedingsDate"];
780
+ function BusinessFinancingLegalInformation(props) {
781
+ const { data, valid, errors, fieldValidationErrors, handleFieldChange, sectionHeading } = props;
782
+ const { t: businessFinancingT } = useTranslation("businessFinancing");
783
+ const { t: commonT } = useTranslation("common");
784
+ const formUtils = createFormUtils(props, commonT);
785
+ if (!handleFieldChange) return;
786
+ const legalInformationInsolvencyItems = [
787
+ {
788
+ id: "noLegalActionsTaken",
789
+ name: commonT(($) => $["no"])
790
+ },
791
+ {
792
+ id: "underJudicialAdministration",
793
+ name: businessFinancingT(($) => $["yesTheCompanyIsUnderJudicialAdministration"])
794
+ },
795
+ {
796
+ id: "bankruptcyInsolvency",
797
+ name: businessFinancingT(($) => $["yesTheCompanyIsFilingForBankruptcy"])
798
+ },
799
+ {
800
+ id: "otherLegalMeasures",
801
+ name: businessFinancingT(($) => $["yesTheCompanyIsFacingOtherLegalMeasures"])
802
+ },
803
+ {
804
+ id: "iDontKnow",
805
+ name: commonT(($) => $["iDontKnow"])
806
+ }
807
+ ];
808
+ const showLegalProceedingsDateField = data?.legalInformationInsolvency && !["noLegalActionsTaken", "iDontKnow"].includes(data?.legalInformationInsolvency);
809
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
810
+ /* @__PURE__ */ jsx(Typography, {
811
+ el: "h3",
812
+ variant: "title",
813
+ className: BusinessFinancing_module_default.businessFinancingTitle,
814
+ children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["legalInformation"])
815
+ }),
816
+ /* @__PURE__ */ jsx(Field, {
817
+ name: "legalInformationInsolvency",
818
+ label: businessFinancingT(($) => $["legalInformationInsolvency"]),
819
+ errorMessage: formUtils.getErrorMessage("legalInformationInsolvency", errors, fieldValidationErrors),
820
+ isValid: valid?.legalInformationInsolvency,
821
+ children: (childProps) => /* @__PURE__ */ jsx(Select, {
822
+ ...childProps,
823
+ onChange: handleFieldChange("legalInformationInsolvency", "blur"),
824
+ name: "legalInformationInsolvency",
825
+ placeholder: commonT(($) => $["selectOne"]),
826
+ selected: data?.legalInformationInsolvency,
827
+ items: legalInformationInsolvencyItems,
828
+ "aria-required": true,
829
+ "aria-invalid": !valid?.legalInformationInsolvency
830
+ })
831
+ }),
832
+ showLegalProceedingsDateField && /* @__PURE__ */ jsx(Field, {
833
+ name: "legalProceedingsDate",
834
+ label: businessFinancingT(($) => $["legalProceedingsDate"]),
835
+ errorMessage: formUtils.getErrorMessage("legalProceedingsDate", errors, fieldValidationErrors),
836
+ isValid: valid?.legalProceedingsDate,
837
+ children: (childProps) => /* @__PURE__ */ jsx(InputDate, {
838
+ ...childProps,
839
+ name: "legalProceedingsDate",
840
+ value: data.legalProceedingsDate,
841
+ onInput: handleFieldChange("legalProceedingsDate", "input"),
842
+ onBlur: handleFieldChange("legalProceedingsDate", "blur"),
843
+ "aria-required": true,
844
+ "aria-invalid": !valid?.legalProceedingsDate,
845
+ max: TODAY_DATE
846
+ })
847
+ })
848
+ ] });
849
+ }
850
+ //#endregion
851
+ //#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingOwnershipStructure.tsx
852
+ var ownershipStructureFields = ["isCompanyOwnedByAnotherCompany", "isParentOwnedByAnotherCompany"];
853
+ function BusinessFinancingOwnershipStructure(props) {
854
+ const { data, valid, errors = {}, legalEntity, fieldValidationErrors, handleFieldChange } = props;
855
+ const { t: businessFinancingT } = useTranslation("businessFinancing");
856
+ const { t: commonT } = useTranslation("common");
857
+ const formUtils = createFormUtils(props, commonT);
858
+ if (!handleFieldChange) return;
859
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
860
+ /* @__PURE__ */ jsx(Typography, {
861
+ el: "h3",
862
+ variant: "title",
863
+ className: BusinessFinancing_module_default.businessFinancingTitle,
864
+ children: businessFinancingT(($) => $["ownershipStructure"])
865
+ }),
866
+ /* @__PURE__ */ jsx(Field, {
867
+ el: "fieldset",
868
+ name: "isCompanyOwnedByAnotherCompany",
869
+ label: businessFinancingT(($) => $["isCompanyOwnedByAnotherCompany"], { company: legalEntity?.organization ? legalEntity.organization.legalName : "" }),
870
+ errorMessage: formUtils.getErrorMessage("isCompanyOwnedByAnotherCompany", errors, fieldValidationErrors),
871
+ helper: /* @__PURE__ */ jsx(Typography, {
872
+ el: "div",
873
+ variant: "body",
874
+ color: "secondary",
875
+ className: BusinessFinancing_module_default.businessFinancingBody,
876
+ children: businessFinancingT(($) => $["thisMeansYouHaveAParentCompany"])
877
+ }),
878
+ children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
879
+ ...childProps,
880
+ name: "isCompanyOwnedByAnotherCompany",
881
+ items: businessFinancingRadioItems,
882
+ value: data?.isCompanyOwnedByAnotherCompany,
883
+ className: BusinessFinancing_module_default.businessFinancingLeiRadio,
884
+ disabled: false,
885
+ onChange: handleFieldChange("isCompanyOwnedByAnotherCompany"),
886
+ "aria-required": true,
887
+ "aria-invalid": !valid?.isCompanyOwnedByAnotherCompany
888
+ })
889
+ }),
890
+ data?.isCompanyOwnedByAnotherCompany === "Yes" && /* @__PURE__ */ jsx(Field, {
891
+ el: "fieldset",
892
+ name: "isParentOwnedByAnotherCompany",
893
+ label: businessFinancingT(($) => $["isParentOwnedByAnotherCompany"]),
894
+ helper: /* @__PURE__ */ jsx(Typography, {
895
+ el: "div",
896
+ variant: "body",
897
+ color: "secondary",
898
+ className: BusinessFinancing_module_default.businessFinancingBody,
899
+ children: businessFinancingT(($) => $["thisMeansYouHaveAnUltimateParentCompany"])
900
+ }),
901
+ errorMessage: formUtils.getErrorMessage("isParentOwnedByAnotherCompany", errors, fieldValidationErrors),
902
+ children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
903
+ ...childProps,
904
+ name: "isParentOwnedByAnotherCompany",
905
+ items: businessFinancingRadioItems,
906
+ value: data.isParentOwnedByAnotherCompany,
907
+ className: BusinessFinancing_module_default.businessFinancingLeiRadio,
908
+ disabled: false,
909
+ onChange: handleFieldChange("isParentOwnedByAnotherCompany"),
910
+ "aria-required": true,
911
+ "aria-invalid": !valid?.isParentOwnedByAnotherCompany
912
+ })
913
+ })
914
+ ] });
915
+ }
916
+ //#endregion
917
+ //#region src/components/EFP/tasks/BusinessFinancingDropin/AdditionalFieldsForBusinessFinancingCompany.tsx
918
+ function AdditionalFieldsForBusinessFinancingCompany(props) {
919
+ const { t: businessFinancingT } = useTranslation("businessFinancing");
920
+ const { t: commonT } = useTranslation("common");
921
+ const { form: { handleChangeFor, data, setValid } } = useFormContext();
922
+ const { country, formVerificationErrors, legalEntity, fieldValidationErrors } = props;
923
+ const formUtils = createFormUtils(props, commonT);
924
+ const handleChange = (fieldName, mode) => handleChangeFor(fieldName, "company", mode);
925
+ const ownershipStructureProps = getFieldProps(props, ownershipStructureFields);
926
+ const businessInformationProps = getFieldProps(props, businessInformationFields);
927
+ const financialInformationProps = getFieldProps(props, financialInformationFields);
928
+ const legalInformationProps = getFieldProps(props, legalInformationFields);
929
+ if ((currencyByCountry[country] ?? [])?.length === 1) setValid("currency", true, "company");
930
+ return /* @__PURE__ */ jsxs("form", {
931
+ "data-testid": "businessFinancingCompany",
932
+ children: [
933
+ /* @__PURE__ */ jsx(Header, {
934
+ title: businessFinancingT(($) => $["additionalInformationForBusinessFinancing"]),
935
+ description: businessFinancingT(($) => $["weNeedAFewMoreDetailsAboutYouAndYourBusiness"]),
936
+ secondary: true
937
+ }),
938
+ /* @__PURE__ */ jsx(ErrorPanel, {
939
+ verificationErrors: formVerificationErrors,
940
+ validationErrors: fieldValidationErrors,
941
+ formUtils,
942
+ id: "ariaErrorField"
943
+ }),
944
+ /* @__PURE__ */ jsx(BusinessFinancingBusinessInformation, {
945
+ ...businessInformationProps,
946
+ handleFieldChange: handleChange,
947
+ country,
948
+ targetPage: BusinessFinancingPages.COMPANY_PAGE,
949
+ sectionHeading: "businessInformation",
950
+ data: formUtils.getFieldData(data?.company ?? {}, businessInformationFields)
951
+ }),
952
+ isEeaCountry(country) && /* @__PURE__ */ jsx(BusinessFinancingFinancialInformation, {
953
+ ...financialInformationProps,
954
+ handleFieldChange: handleChange,
955
+ country,
956
+ targetPage: BusinessFinancingPages.COMPANY_PAGE,
957
+ data: formUtils.getFieldData(data?.company ?? {}, financialInformationFields)
958
+ }),
959
+ /* @__PURE__ */ jsx(BusinessFinancingLegalInformation, {
960
+ ...legalInformationProps,
961
+ country,
962
+ handleFieldChange: handleChange,
963
+ targetPage: BusinessFinancingPages.COMPANY_PAGE,
964
+ sectionHeading: "legalInformation",
965
+ data: formUtils.getFieldData(data?.company ?? {}, legalInformationFields)
966
+ }),
967
+ /* @__PURE__ */ jsx(BusinessFinancingOwnershipStructure, {
968
+ ...ownershipStructureProps,
969
+ legalEntity,
970
+ handleFieldChange: handleChange,
971
+ data: formUtils.getFieldData(data?.company ?? {}, ownershipStructureFields)
972
+ })
973
+ ]
974
+ });
975
+ }
976
+ //#endregion
977
+ //#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingBasicCompanyInformation.tsx
978
+ var basicInformationFields = ["legalName"];
979
+ function BusinessFinancingBasicCompanyInformation(props) {
980
+ const { data, valid, errors, fieldValidationErrors, handleFieldChange, sectionHeading } = props;
981
+ const { t: businessFinancingT } = useTranslation("businessFinancing");
982
+ const { t: commonT } = useTranslation("common");
983
+ const formUtils = createFormUtils(props, commonT);
984
+ if (!handleFieldChange) return;
985
+ return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Typography, {
986
+ el: "h3",
987
+ variant: "title",
988
+ className: BusinessFinancing_module_default.businessFinancingTitle,
989
+ children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["basicCompanyInformation"])
990
+ }), /* @__PURE__ */ jsx(Field, {
991
+ name: "legalName",
992
+ label: businessFinancingT(($) => $["legalName"]),
993
+ errorMessage: formUtils.getErrorMessage("legalName", errors, fieldValidationErrors),
994
+ isValid: valid?.legalName,
995
+ helper: businessFinancingT(($) => $["legalNameIsUsedToIdentifyABusinessWithTheGovernment"]),
996
+ helperPosition: "below",
997
+ children: (childProps) => /* @__PURE__ */ jsx(InputText, {
998
+ ...childProps,
999
+ name: "legalName",
1000
+ value: data?.legalName,
1001
+ readonly: false,
1002
+ onInput: handleFieldChange("legalName", "input"),
1003
+ onBlur: handleFieldChange("legalName", "blur"),
1004
+ "aria-required": true,
1005
+ "aria-invalid": !valid?.legalName
1006
+ })
1007
+ })] });
1008
+ }
1009
+ //#endregion
1010
+ //#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingRegisteredAddress.tsx
1011
+ var OPTIONAL_ADDRESS_FIELDS = ["otherAddressInformation"];
1012
+ var registeredAddressFields = [
1013
+ "isThisAddressTheMainHeadquarters",
1014
+ "registrationAddress",
1015
+ "sameAddressAsRootEntity"
1016
+ ];
1017
+ function BusinessFinancingRegisteredAddress(props) {
1018
+ const { data, valid, errors, fieldValidationErrors, shouldValidate, defaultData, handleFieldChange, formId, legalEntity, sectionHeading } = props;
1019
+ const { t: businessFinancingT, i18n } = useTranslation("businessFinancing");
1020
+ const { t: commonT } = useTranslation("common");
1021
+ const formUtils = createFormUtils(props, commonT);
1022
+ const addressCountry = data?.registrationAddress?.country;
1023
+ const datasetUtils = datasetUtilities(i18n.language);
1024
+ const addressSchema = useMemo(() => {
1025
+ return getAddressSchemaForCountry(addressCountry).filter((field) => {
1026
+ if (addressCountry) return !COUNTRIES_WITH_STATES_DATASET.includes(addressCountry) ? field !== "stateOrProvince" : true;
1027
+ return true;
1028
+ });
1029
+ }, [addressCountry]);
1030
+ if (!handleFieldChange) return;
1031
+ const handleRegistrationAddressChange = (state) => {
1032
+ if (!state.data.country) state.data.country = addressCountry;
1033
+ handleFieldChange("registrationAddress")(state.data);
1034
+ };
1035
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
1036
+ /* @__PURE__ */ jsx(Typography, {
1037
+ el: "h3",
1038
+ variant: "title",
1039
+ className: BusinessFinancing_module_default.businessFinancingTitle,
1040
+ children: sectionHeading ? translateTranslatable(commonT, sectionHeading) : commonT(($) => $["registeredAddress"])
1041
+ }),
1042
+ /* @__PURE__ */ jsx(Field, {
1043
+ name: "sameAddressAsRootEntity",
1044
+ errorMessage: errors?.sameAddressAsRootEntity?.errorMessage,
1045
+ isValid: valid?.sameAddressAsRootEntity,
1046
+ children: (childProps) => /* @__PURE__ */ jsx(Checkbox, {
1047
+ ...childProps,
1048
+ "aria-required": formUtils.isRequiredField("sameAddressAsRootEntity"),
1049
+ "aria-invalid": !valid?.sameAddressAsRootEntity,
1050
+ name: "sameAddressAsRootEntity",
1051
+ label: businessFinancingT(($) => $["sameAddressAsRootEntity"], { rootLegalEntityName: legalEntity?.organization?.legalName ?? "" }),
1052
+ checked: data?.sameAddressAsRootEntity ?? false,
1053
+ onChange: handleFieldChange("sameAddressAsRootEntity")
1054
+ })
1055
+ }),
1056
+ data?.sameAddressAsRootEntity && legalEntity?.organization?.registeredAddress ? /* @__PURE__ */ jsxs("div", {
1057
+ className: BusinessFinancing_module_default.businessFinancingStructuredAddress,
1058
+ children: [
1059
+ /* @__PURE__ */ jsx("div", { children: legalEntity.organization.registeredAddress.street }),
1060
+ /* @__PURE__ */ jsx("div", { children: legalEntity.organization.registeredAddress.street2 }),
1061
+ /* @__PURE__ */ jsxs("div", { children: [
1062
+ legalEntity.organization.registeredAddress.city,
1063
+ " ",
1064
+ legalEntity.organization.registeredAddress.postalCode ? `, ${legalEntity.organization.registeredAddress.postalCode}` : ""
1065
+ ] }),
1066
+ /* @__PURE__ */ jsx("div", { children: legalEntity.organization.registeredAddress.stateOrProvince }),
1067
+ /* @__PURE__ */ jsx("div", { children: legalEntity.organization.registeredAddress.country ? datasetUtils.getCountryName(legalEntity.organization.registeredAddress.country) : "" })
1068
+ ]
1069
+ }) : /* @__PURE__ */ jsx(Address, {
1070
+ id: formId,
1071
+ addressType: "registrationAddress",
1072
+ data: {
1073
+ ...defaultData?.registrationAddress,
1074
+ country: addressCountry
1075
+ },
1076
+ labels: addressCountry ? getAddressSchemaLabelsByCountry(addressCountry) : void 0,
1077
+ countryCode: addressCountry,
1078
+ requiredFields: addressSchema,
1079
+ optionalFields: OPTIONAL_ADDRESS_FIELDS,
1080
+ onChange: handleRegistrationAddressChange,
1081
+ shouldValidate
1082
+ }),
1083
+ /* @__PURE__ */ jsx(Field, {
1084
+ el: "fieldset",
1085
+ name: "isThisAddressTheMainHeadquarters",
1086
+ label: businessFinancingT(($) => $["areTheMainHeadquartersAtThisAddress"]),
1087
+ helper: businessFinancingT(($) => $["addressRegisteredWithGovernment"]),
1088
+ errorMessage: formUtils.getErrorMessage("isThisAddressTheMainHeadquarters", errors, fieldValidationErrors),
1089
+ children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
1090
+ ...childProps,
1091
+ name: "isThisAddressTheMainHeadquarters",
1092
+ items: businessFinancingRadioItems,
1093
+ value: data?.isThisAddressTheMainHeadquarters,
1094
+ className: BusinessFinancing_module_default.businessFinancingLeiRadio,
1095
+ disabled: false,
1096
+ onChange: handleFieldChange("isThisAddressTheMainHeadquarters"),
1097
+ "aria-required": true,
1098
+ "aria-invalid": !valid?.isThisAddressTheMainHeadquarters
1099
+ })
1100
+ })
1101
+ ] });
1102
+ }
1103
+ //#endregion
1104
+ //#region src/components/EFP/tasks/BusinessFinancingDropin/AdditionalFieldsForBusinessFinancingParentCompany.tsx
1105
+ var parentCompanyFormId$1 = businessFinancingForms.parentCompany.formId;
1106
+ function AdditionalFieldsForBusinessFinancingParentCompany(props) {
1107
+ const { t: businessFinancingT } = useTranslation("businessFinancing");
1108
+ const { t: commonT } = useTranslation("common");
1109
+ const { form: { handleChangeFor, data, setValid } } = useFormContext();
1110
+ const { country, formVerificationErrors, fieldValidationErrors, legalEntity } = props;
1111
+ const formUtils = createFormUtils(props, commonT);
1112
+ const handleChange = (fieldName, mode) => handleChangeFor(fieldName, "parentCompany", mode);
1113
+ setValid("sameAddressAsRootEntity", true, "parentCompany");
1114
+ const basicCompanyInformationProps = getFieldProps(props, basicInformationFields);
1115
+ const registeredAddressProps = getFieldProps(props, registeredAddressFields);
1116
+ const businessInformationProps = getFieldProps(props, businessInformationFields);
1117
+ const financialInformationProps = getFieldProps(props, financialInformationFields);
1118
+ const legalInformationProps = getFieldProps(props, legalInformationFields);
1119
+ const addressCountry = getAddressCountryForParentCompany(data?.parentCompany, legalEntity?.organization?.registeredAddress);
1120
+ if ((currencyByCountry[addressCountry ?? country] ?? [])?.length === 1) setValid("currency", true, "parentCompany");
1121
+ return /* @__PURE__ */ jsxs("form", {
1122
+ "data-testid": "businessFinancingParentCompany",
1123
+ children: [
1124
+ /* @__PURE__ */ jsx(Typography, {
1125
+ el: "h1",
1126
+ variant: "title-l",
1127
+ className: BusinessFinancing_module_default.businessFinancingBody,
1128
+ children: commonT(($) => $["parentCompanyInformation"])
1129
+ }),
1130
+ /* @__PURE__ */ jsx(Typography, {
1131
+ el: "p",
1132
+ variant: "body",
1133
+ className: BusinessFinancing_module_default.businessFinancingBody,
1134
+ children: businessFinancingT(($) => $["inThePreviousStepOwnedByAParentCompany"])
1135
+ }),
1136
+ /* @__PURE__ */ jsx(ErrorPanel, {
1137
+ verificationErrors: formVerificationErrors,
1138
+ validationErrors: fieldValidationErrors,
1139
+ formUtils,
1140
+ id: "ariaErrorField"
1141
+ }),
1142
+ /* @__PURE__ */ jsx(BusinessFinancingBasicCompanyInformation, {
1143
+ ...basicCompanyInformationProps,
1144
+ sectionHeading: "parentCompanyInformation",
1145
+ handleFieldChange: handleChange,
1146
+ data: formUtils.getFieldData(data?.parentCompany ?? {}, basicInformationFields)
1147
+ }),
1148
+ /* @__PURE__ */ jsx(BusinessFinancingRegisteredAddress, {
1149
+ ...registeredAddressProps,
1150
+ formId: parentCompanyFormId$1,
1151
+ sectionHeading: "parentCompanyAddress",
1152
+ defaultData: data?.parentCompany,
1153
+ legalEntity,
1154
+ handleFieldChange: handleChange,
1155
+ data: formUtils.getFieldData(data?.parentCompany ?? {}, registeredAddressFields)
1156
+ }),
1157
+ /* @__PURE__ */ jsx(BusinessFinancingBusinessInformation, {
1158
+ ...businessInformationProps,
1159
+ hideSectionHeading: true,
1160
+ country: addressCountry ?? country,
1161
+ targetPage: BusinessFinancingPages.PARENT_COMPANY_PAGE,
1162
+ handleFieldChange: handleChange,
1163
+ data: formUtils.getFieldData(data?.parentCompany ?? {}, businessInformationFields)
1164
+ }),
1165
+ isEeaCountry(addressCountry) && /* @__PURE__ */ jsx(BusinessFinancingFinancialInformation, {
1166
+ ...financialInformationProps,
1167
+ country: addressCountry ?? country,
1168
+ targetPage: BusinessFinancingPages.PARENT_COMPANY_PAGE,
1169
+ handleFieldChange: handleChange,
1170
+ data: formUtils.getFieldData(data?.parentCompany ?? {}, financialInformationFields)
1171
+ }),
1172
+ /* @__PURE__ */ jsx(BusinessFinancingLegalInformation, {
1173
+ ...legalInformationProps,
1174
+ country: addressCountry ?? country,
1175
+ targetPage: BusinessFinancingPages.PARENT_COMPANY_PAGE,
1176
+ sectionHeading: "legalInformation",
1177
+ handleFieldChange: handleChange,
1178
+ data: formUtils.getFieldData(data?.parentCompany ?? {}, legalInformationFields)
1179
+ })
1180
+ ]
1181
+ });
1182
+ }
1183
+ //#endregion
1184
+ //#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingSoleProprietorPersonalInformation.tsx
1185
+ var soleProprietorPersonalInformationFields = ["gender", "countryOfBirth"];
1186
+ function BusinessFinancingSoleProprietorPersonalInformation(props) {
1187
+ const { data, valid, errors, handleFieldChange, fieldValidationErrors, sectionHeading } = props;
1188
+ const { t: businessFinancingT } = useTranslation("businessFinancing");
1189
+ const { t: commonT } = useTranslation("common");
1190
+ const formUtils = createFormUtils(props, commonT);
1191
+ if (!handleFieldChange) return;
1192
+ const genderItems = [
1193
+ {
1194
+ id: "M",
1195
+ name: businessFinancingT(($) => $["male"])
1196
+ },
1197
+ {
1198
+ id: "F",
1199
+ name: businessFinancingT(($) => $["female"])
1200
+ },
1201
+ {
1202
+ id: "U",
1203
+ name: businessFinancingT(($) => $["preferNotToSay"])
1204
+ }
1205
+ ];
1206
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
1207
+ /* @__PURE__ */ jsx(Typography, {
1208
+ el: "h3",
1209
+ variant: "title",
1210
+ className: BusinessFinancing_module_default.businessFinancingTitle,
1211
+ children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["personalInformation"])
1212
+ }),
1213
+ /* @__PURE__ */ jsx(CountryField, {
1214
+ data: { country: data?.countryOfBirth },
1215
+ valid: { country: valid?.countryOfBirth },
1216
+ name: "countryOfBirth",
1217
+ errors: { country: formUtils.getErrorMessage("countryOfBirth", errors, fieldValidationErrors) },
1218
+ labels: { country: businessFinancingT(($) => $["countryOfBirth"]) },
1219
+ readonly: formUtils.isReadOnly("countryOfBirth"),
1220
+ handleChangeFor: () => handleFieldChange("countryOfBirth", "input")
1221
+ }),
1222
+ /* @__PURE__ */ jsx(Field, {
1223
+ name: "gender",
1224
+ label: businessFinancingT(($) => $["gender"]),
1225
+ errorMessage: formUtils.getErrorMessage("gender", errors, fieldValidationErrors),
1226
+ isValid: valid?.gender,
1227
+ children: (childProps) => /* @__PURE__ */ jsx(Select, {
1228
+ ...childProps,
1229
+ onChange: handleFieldChange("gender", "blur"),
1230
+ name: "gender",
1231
+ placeholder: commonT(($) => $["selectOne"]),
1232
+ selected: data?.gender,
1233
+ items: genderItems,
1234
+ "aria-required": true,
1235
+ "aria-invalid": !valid?.gender
1236
+ })
1237
+ })
1238
+ ] });
1239
+ }
1240
+ //#endregion
1241
+ //#region src/components/EFP/tasks/BusinessFinancingDropin/AdditionalFieldsForBusinessFinancingSoleProprietor.tsx
1242
+ function AdditionalFieldsForBusinessFinancingSoleProprietor(props) {
1243
+ const { t: businessFinancingT } = useTranslation("businessFinancing");
1244
+ const { t: commonT } = useTranslation("common");
1245
+ const { form: { handleChangeFor, data } } = useFormContext();
1246
+ const { country, formVerificationErrors, fieldValidationErrors } = props;
1247
+ const formUtils = createFormUtils(props, commonT);
1248
+ const handleChange = (fieldName, mode) => handleChangeFor(fieldName, "soleProprietor", mode);
1249
+ const personalInformationProps = getFieldProps(props, soleProprietorPersonalInformationFields);
1250
+ const businessInformationProps = getFieldProps(props, ["naceCode", "naceCodeLabel"]);
1251
+ const legalInformationProps = getFieldProps(props, legalInformationFields);
1252
+ return /* @__PURE__ */ jsxs("form", {
1253
+ "data-testid": "businessFinancingCompany",
1254
+ children: [
1255
+ /* @__PURE__ */ jsx(Header, {
1256
+ title: businessFinancingT(($) => $["additionalInformationForBusinessFinancing"]),
1257
+ description: businessFinancingT(($) => $["weNeedAFewMoreDetailsAboutYouAndYourBusiness"]),
1258
+ secondary: true
1259
+ }),
1260
+ /* @__PURE__ */ jsx(ErrorPanel, {
1261
+ verificationErrors: formVerificationErrors,
1262
+ validationErrors: fieldValidationErrors,
1263
+ formUtils,
1264
+ id: "ariaErrorField"
1265
+ }),
1266
+ /* @__PURE__ */ jsx(BusinessFinancingSoleProprietorPersonalInformation, {
1267
+ ...personalInformationProps,
1268
+ handleFieldChange: handleChange,
1269
+ country,
1270
+ targetPage: BusinessFinancingPages.SOLE_PROPRIETOR_PAGE,
1271
+ sectionHeading: "personalInformation",
1272
+ data: formUtils.getFieldData(data?.soleProprietor ?? {}, soleProprietorPersonalInformationFields)
1273
+ }),
1274
+ /* @__PURE__ */ jsx(BusinessFinancingBusinessInformation, {
1275
+ ...businessInformationProps,
1276
+ handleFieldChange: handleChange,
1277
+ country,
1278
+ targetPage: BusinessFinancingPages.SOLE_PROPRIETOR_PAGE,
1279
+ sectionHeading: "businessInformation",
1280
+ isSoleProprietor: true,
1281
+ data: formUtils.getFieldData(data?.soleProprietor ?? {}, ["naceCode", "naceCodeLabel"])
1282
+ }),
1283
+ /* @__PURE__ */ jsx(BusinessFinancingLegalInformation, {
1284
+ ...legalInformationProps,
1285
+ country,
1286
+ handleFieldChange: handleChange,
1287
+ targetPage: BusinessFinancingPages.SOLE_PROPRIETOR_PAGE,
1288
+ sectionHeading: "legalInformation",
1289
+ data: formUtils.getFieldData(data?.soleProprietor ?? {}, legalInformationFields)
1290
+ })
1291
+ ]
1292
+ });
1293
+ }
1294
+ //#endregion
1295
+ //#region src/components/EFP/tasks/BusinessFinancingDropin/AdditionalFieldsForBusinessFinancingUltimateParentCompany.tsx
1296
+ var ultimateParentCompanyFormId$1 = businessFinancingForms.ultimateParentCompany.formId;
1297
+ function AdditionalFieldsForBusinessFinancingUltimateParentCompany(props) {
1298
+ const { formVerificationErrors, country, fieldValidationErrors, legalEntity } = props;
1299
+ const { t: businessFinancingT } = useTranslation("businessFinancing");
1300
+ const { t: commonT } = useTranslation("common");
1301
+ const formUtils = createFormUtils(props, commonT);
1302
+ const { form: { handleChangeFor, data, setValid } } = useFormContext();
1303
+ const handleChange = (fieldName, mode) => handleChangeFor(fieldName, "ultimateParentCompany", mode);
1304
+ setValid("sameAddressAsRootEntity", true, "ultimateParentCompany");
1305
+ const basicCompanyInformationProps = getFieldProps(props, basicInformationFields);
1306
+ const registeredAddressProps = getFieldProps(props, registeredAddressFields);
1307
+ const businessInformationProps = getFieldProps(props, businessInformationFields);
1308
+ const financialInformationProps = getFieldProps(props, financialInformationFields);
1309
+ const legalInformationProps = getFieldProps(props, legalInformationFields);
1310
+ const addressCountry = getAddressCountryForParentCompany(data?.ultimateParentCompany, legalEntity?.organization?.registeredAddress);
1311
+ if ((currencyByCountry[addressCountry ?? country] ?? [])?.length === 1) setValid("currency", true, "ultimateParentCompany");
1312
+ return /* @__PURE__ */ jsxs("form", {
1313
+ "data-testid": "businessFinancingUltimateParentCompany",
1314
+ children: [
1315
+ /* @__PURE__ */ jsx(Typography, {
1316
+ el: "h1",
1317
+ variant: "title-l",
1318
+ className: BusinessFinancing_module_default.businessFinancingBody,
1319
+ children: commonT(($) => $["ultimateParentCompanyInformation"])
1320
+ }),
1321
+ /* @__PURE__ */ jsx(Typography, {
1322
+ el: "p",
1323
+ variant: "body",
1324
+ className: BusinessFinancing_module_default.businessFinancingBody,
1325
+ children: businessFinancingT(($) => $["inThePreviousStepOwnedByAnUltimateParentCompany"])
1326
+ }),
1327
+ /* @__PURE__ */ jsx(ErrorPanel, {
1328
+ verificationErrors: formVerificationErrors,
1329
+ validationErrors: fieldValidationErrors,
1330
+ formUtils,
1331
+ id: "ariaErrorField"
1332
+ }),
1333
+ /* @__PURE__ */ jsx(BusinessFinancingBasicCompanyInformation, {
1334
+ ...basicCompanyInformationProps,
1335
+ sectionHeading: "ultimateParentCompanyInformation",
1336
+ handleFieldChange: handleChange,
1337
+ data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, basicInformationFields)
1338
+ }),
1339
+ /* @__PURE__ */ jsx(BusinessFinancingRegisteredAddress, {
1340
+ ...registeredAddressProps,
1341
+ formId: ultimateParentCompanyFormId$1,
1342
+ sectionHeading: "ultimateParentCompanyAddress",
1343
+ defaultData: data?.ultimateParentCompany,
1344
+ handleFieldChange: handleChange,
1345
+ data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, registeredAddressFields),
1346
+ legalEntity
1347
+ }),
1348
+ /* @__PURE__ */ jsx(BusinessFinancingBusinessInformation, {
1349
+ ...businessInformationProps,
1350
+ hideSectionHeading: true,
1351
+ country: addressCountry ?? country,
1352
+ targetPage: BusinessFinancingPages.ULTIMATE_PARENT_COMPANY_PAGE,
1353
+ handleFieldChange: handleChange,
1354
+ data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, businessInformationFields)
1355
+ }),
1356
+ isEeaCountry(addressCountry) && /* @__PURE__ */ jsx(BusinessFinancingFinancialInformation, {
1357
+ ...financialInformationProps,
1358
+ country: addressCountry ?? country,
1359
+ targetPage: BusinessFinancingPages.ULTIMATE_PARENT_COMPANY_PAGE,
1360
+ handleFieldChange: handleChange,
1361
+ data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, financialInformationFields)
1362
+ }),
1363
+ /* @__PURE__ */ jsx(BusinessFinancingLegalInformation, {
1364
+ ...legalInformationProps,
1365
+ country: addressCountry ?? country,
1366
+ sectionHeading: "legalInformation",
1367
+ targetPage: BusinessFinancingPages.ULTIMATE_PARENT_COMPANY_PAGE,
1368
+ handleFieldChange: handleChange,
1369
+ data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, legalInformationFields)
1370
+ })
1371
+ ]
1372
+ });
1373
+ }
1374
+ //#endregion
1375
+ //#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingSummary.tsx
1376
+ var omittedSummaryKeys = [
1377
+ "naceCodeLabel",
1378
+ "legalFormLabel",
1379
+ "currency",
1380
+ "doesYourCompanyHaveLEI",
1381
+ "sameAddressAsRootEntity"
1382
+ ];
1383
+ var customLabels = {
1384
+ legalForm: "businessStructure",
1385
+ naceCode: "industryAndNaceCode",
1386
+ balanceSheetTotal: "totalAssets",
1387
+ annualTurnover: "annualTurnover",
1388
+ legalInformationInsolvency: "legalProceedings",
1389
+ isCompanyOwnedByAnotherCompany: "hasParentCompany",
1390
+ isParentOwnedByAnotherCompany: "hasUltimateParentCompany",
1391
+ isThisAddressTheMainHeadquarters: "addressIsHeadquarters"
1392
+ };
1393
+ var isOmmitted = (key) => {
1394
+ return omittedSummaryKeys.includes(key);
1395
+ };
1396
+ var isCustomLabel = (key) => {
1397
+ return key in customLabels;
1398
+ };
1399
+ /**
1400
+ * Business and data layer around Summary, processing all the data
1401
+ */
1402
+ var BusinessFinancingSummary = ({ forms, items, handleEditForm, children }) => {
1403
+ const { t: businessFinancingT } = useTranslation("businessFinancing");
1404
+ const { t: commonT } = useTranslation("common");
1405
+ const formatItemForStructuredList = (data) => {
1406
+ if (!data) return [];
1407
+ const structuredListItems = Object.entries(data).map(([key, value]) => {
1408
+ if (isOmmitted(key) || !value) return;
1409
+ return {
1410
+ term: isCustomLabel(key) ? businessFinancingT(($) => $[customLabels[key]]) : commonT(($) => $[key]),
1411
+ details: value
1412
+ };
1413
+ }).filter((v) => v !== void 0);
1414
+ const structuredListItemsWithInnerForms = [];
1415
+ structuredListItems.map((it) => {
1416
+ if (typeof it?.details === "object") structuredListItemsWithInnerForms.push(...formatItemForStructuredList(it?.details));
1417
+ else structuredListItemsWithInnerForms.push(it);
1418
+ });
1419
+ return structuredListItemsWithInnerForms;
1420
+ };
1421
+ const processSummarySections = (forms) => {
1422
+ return forms.map(({ formId, formName }) => ({
1423
+ formId,
1424
+ label: commonT(($) => $[formName]),
1425
+ items: formatItemForStructuredList(items[formId])
1426
+ }));
1427
+ };
1428
+ return /* @__PURE__ */ jsx(NewSummary, {
1429
+ handleEditForm,
1430
+ sections: processSummarySections(forms),
1431
+ children
1432
+ });
1433
+ };
1434
+ //#endregion
1435
+ //#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingDropin.tsx
1436
+ var getOrgAnalyticsData = (prefix, details) => {
1437
+ const org = details?.organization;
1438
+ const soleProp = details?.soleProprietorship;
1439
+ const entity = org || soleProp;
1440
+ if (!entity) return {};
1441
+ return {
1442
+ [`${prefix}--economicSector`]: entity?.economicSector ?? "",
1443
+ [`${prefix}--legalForm`]: org?.legalForm ?? "",
1444
+ [`${prefix}--statusOfLegalProceeding`]: entity?.statusOfLegalProceeding ?? ""
1445
+ };
1446
+ };
1447
+ var businessFinancingFormsRequiredFields = {
1448
+ soleProprietor: businessFinancingForms.soleProprietor.fields,
1449
+ company: businessFinancingForms.company.fields,
1450
+ parentCompany: businessFinancingForms.parentCompany.fields,
1451
+ ultimateParentCompany: businessFinancingForms.ultimateParentCompany.fields
1452
+ };
1453
+ var parentCompanyFormId = businessFinancingForms.parentCompany.formId;
1454
+ var companyFormId = businessFinancingForms.company.formId;
1455
+ var ultimateParentCompanyFormId = businessFinancingForms.ultimateParentCompany.formId;
1456
+ function BusinessFinancingDropin(props) {
1457
+ const { country, rootLegalEntity, externalOnSubmit, externalOnSubmitLabel, isStandaloneComponent, handleHomeClick } = props;
1458
+ const { t: businessFinancingT } = useTranslation("businessFinancing");
1459
+ const { t: commonT, i18n } = useTranslation("common");
1460
+ const userEvents = useAnalyticsContext();
1461
+ const invalidateRootLegalEntity = useInvalidateRootLegalEntity();
1462
+ const { mutateAsync: createLegalEntity } = useCreateLegalEntity();
1463
+ const { mutateAsync: updateLegalEntity } = useUpdateLegalEntity();
1464
+ const { data: immediateParentCompany, isLoading: immediateParentCompanyIsLoading } = useAssociatedLegalEntity(rootLegalEntity, "immediateParentCompany");
1465
+ const { data: ultimateParentCompany, isLoading: ultimateParentCompanyIsLoading } = useAssociatedLegalEntity(rootLegalEntity, "ultimateParentCompany");
1466
+ const { data: soleProprietor, isLoading: soleProprietorIsLoading } = useAssociatedLegalEntity(rootLegalEntity, "soleProprietorship");
1467
+ /**
1468
+ * Analytics
1469
+ */
1470
+ useTaskLandedEvent("BUSINESS_FINANCING");
1471
+ const derivedData = useMemo(() => {
1472
+ if (immediateParentCompanyIsLoading || ultimateParentCompanyIsLoading || soleProprietorIsLoading) return void 0;
1473
+ const isSoleProprietor = hasSolePropInLegalEntity(rootLegalEntity);
1474
+ const dataFromResponse = {};
1475
+ if (isSoleProprietor && soleProprietor) {
1476
+ dataFromResponse.soleProprietor = mapLegalEntityToBusinessFinancing(rootLegalEntity);
1477
+ dataFromResponse.soleProprietor = appendSoleProprietorBusinessFinancingData(soleProprietor.soleProprietorship, dataFromResponse.soleProprietor);
1478
+ } else if (rootLegalEntity.type === LegalEntityTypes.ORGANIZATION) {
1479
+ dataFromResponse.company = mapLegalEntityToBusinessFinancing(rootLegalEntity);
1480
+ dataFromResponse.company = appendBusinessFinancingData(rootLegalEntity.organization, dataFromResponse.company);
1481
+ dataFromResponse.company.isCompanyOwnedByAnotherCompany = "No";
1482
+ dataFromResponse.company.isParentOwnedByAnotherCompany = "No";
1483
+ if (immediateParentCompany) {
1484
+ dataFromResponse.parentCompany = mapLegalEntityToBusinessFinancing(immediateParentCompany);
1485
+ dataFromResponse.parentCompany = appendBusinessFinancingData(immediateParentCompany.organization, dataFromResponse.parentCompany);
1486
+ dataFromResponse.company.isCompanyOwnedByAnotherCompany = "Yes";
1487
+ }
1488
+ if (ultimateParentCompany) {
1489
+ dataFromResponse.ultimateParentCompany = mapLegalEntityToBusinessFinancing(ultimateParentCompany);
1490
+ dataFromResponse.ultimateParentCompany = appendBusinessFinancingData(ultimateParentCompany.organization, dataFromResponse.ultimateParentCompany);
1491
+ dataFromResponse.company.isParentOwnedByAnotherCompany = "Yes";
1492
+ }
1493
+ }
1494
+ return dataFromResponse;
1495
+ }, [
1496
+ immediateParentCompanyIsLoading,
1497
+ ultimateParentCompanyIsLoading,
1498
+ soleProprietorIsLoading,
1499
+ rootLegalEntity,
1500
+ immediateParentCompany,
1501
+ ultimateParentCompany,
1502
+ soleProprietor
1503
+ ]);
1504
+ const datasetUtils = datasetUtilities(i18n.language);
1505
+ const [problems, setProblems] = useState();
1506
+ const [loadingStatus, setLoadingStatus] = useState("success");
1507
+ const [showEndState, setShowEndState] = useState(false);
1508
+ const { showToast } = useToastContext();
1509
+ const { isSettingEnabled } = useSettingsContext();
1510
+ const showBusinessFinancingFirst = isSettingEnabled(SettingNames.ShowBusinessFinancingFirst);
1511
+ const onSubmit = async () => {
1512
+ setLoadingStatus("loading");
1513
+ if (!umfData) return;
1514
+ const isSoleProprietor = hasSolePropInLegalEntity(rootLegalEntity);
1515
+ const mainEntityDetails = !isSoleProprietor ? prepareBusinessFinancingSubmitData(BusinessFinancingIndices.COMPANY, umfData, rootLegalEntity) : null;
1516
+ const soleProprietorPayloads = isSoleProprietor ? prepareSoleProprietorBusinessFinancingSubmitData(umfData, rootLegalEntity, soleProprietor) : null;
1517
+ const parentCompanyBusinessFinancingDetails = !isSoleProprietor ? prepareBusinessFinancingSubmitData(BusinessFinancingIndices.PARENT_COMPANY, umfData, rootLegalEntity) : null;
1518
+ const ultimateParentCompanyBusinessFinancingDetails = !isSoleProprietor ? prepareBusinessFinancingSubmitData(BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY, umfData, rootLegalEntity) : null;
1519
+ if (isSoleProprietor) {
1520
+ if (!soleProprietorPayloads || !rootLegalEntity || !soleProprietor?.id) {
1521
+ showToast({
1522
+ label: businessFinancingT(($) => $["missingCompanyDetails"]),
1523
+ variant: "error"
1524
+ });
1525
+ return;
1526
+ }
1527
+ try {
1528
+ await handleBusinessFinancingFormSubmission(BusinessFinancingIndices.SOLE_PROPRIETOR, soleProprietorPayloads.individualPayload, createLegalEntity, updateLegalEntity, rootLegalEntity.id);
1529
+ const eventsAdditionalData = { ...getOrgAnalyticsData("SoleProprietor", await handleBusinessFinancingFormSubmission(BusinessFinancingIndices.SOLE_PROPRIETOR, soleProprietorPayloads.solePropPayload, createLegalEntity, updateLegalEntity, soleProprietor.id)) };
1530
+ userEvents.addTaskEvent("Success", {
1531
+ actionType: "submit",
1532
+ returnValue: [BusinessFinancingIndices.SOLE_PROPRIETOR],
1533
+ additionalData: eventsAdditionalData
1534
+ });
1535
+ await invalidateRootLegalEntity();
1536
+ if (showBusinessFinancingFirst || isStandaloneComponent) setShowEndState(true);
1537
+ else externalOnSubmit?.({ ...umfData });
1538
+ setProblems({});
1539
+ } catch (e) {
1540
+ showToast({
1541
+ label: commonT(($) => $["failedToUpdateDetails"]),
1542
+ variant: "error"
1543
+ });
1544
+ handleSubmissionError(e, BusinessFinancingIndices.SOLE_PROPRIETOR);
1545
+ } finally {
1546
+ setLoadingStatus("success");
1547
+ }
1548
+ } else {
1549
+ if (!mainEntityDetails || !rootLegalEntity) {
1550
+ showToast({
1551
+ label: businessFinancingT(($) => $["missingCompanyDetails"]),
1552
+ variant: "error"
1553
+ });
1554
+ return;
1555
+ }
1556
+ let parentCompanyFailed = false;
1557
+ let ultimateParentCompanyFailed = false;
1558
+ try {
1559
+ const promises = [];
1560
+ if (parentCompanyBusinessFinancingDetails) {
1561
+ const parentCompanyPromise = handleBusinessFinancingFormSubmission(BusinessFinancingIndices.PARENT_COMPANY, parentCompanyBusinessFinancingDetails, createLegalEntity, updateLegalEntity, parentCompanyBusinessFinancingDetails?.id);
1562
+ promises.push(parentCompanyPromise);
1563
+ }
1564
+ if (ultimateParentCompanyBusinessFinancingDetails) {
1565
+ const ultimateParentCompanyPromise = handleBusinessFinancingFormSubmission(BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY, ultimateParentCompanyBusinessFinancingDetails, createLegalEntity, updateLegalEntity, ultimateParentCompanyBusinessFinancingDetails?.id);
1566
+ promises.push(ultimateParentCompanyPromise);
1567
+ }
1568
+ const results = await Promise.allSettled(promises);
1569
+ const businessFinancingEntityAssociations = [...rootLegalEntity.entityAssociations ? rootLegalEntity.entityAssociations.filter((entityAssociation) => entityAssociation.type !== "immediateParentCompany" && entityAssociation.type !== "ultimateParentCompany") : []];
1570
+ const entitiesToTrack = [BusinessFinancingIndices.COMPANY];
1571
+ results.forEach((result, index) => {
1572
+ const businessFinancingType = index === 0 ? BusinessFinancingIndices.PARENT_COMPANY : BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY;
1573
+ if (result.status === "fulfilled") {
1574
+ const response = result.value;
1575
+ if (businessFinancingType === BusinessFinancingIndices.PARENT_COMPANY) {
1576
+ businessFinancingEntityAssociations.push({
1577
+ type: "immediateParentCompany",
1578
+ legalEntityId: response.id,
1579
+ associatorId: mainEntityDetails.id
1580
+ });
1581
+ entitiesToTrack.push(BusinessFinancingIndices.PARENT_COMPANY);
1582
+ } else if (businessFinancingType === BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY) {
1583
+ businessFinancingEntityAssociations.push({
1584
+ type: "ultimateParentCompany",
1585
+ legalEntityId: response.id,
1586
+ associatorId: mainEntityDetails.id
1587
+ });
1588
+ entitiesToTrack.push(BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY);
1589
+ }
1590
+ } else {
1591
+ if (businessFinancingType === BusinessFinancingIndices.PARENT_COMPANY) parentCompanyFailed = true;
1592
+ else if (businessFinancingType === BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY) ultimateParentCompanyFailed = true;
1593
+ handleSubmissionError(result.reason, businessFinancingType);
1594
+ }
1595
+ });
1596
+ if (!parentCompanyFailed && !ultimateParentCompanyFailed) {
1597
+ mainEntityDetails.entityAssociations = [...businessFinancingEntityAssociations];
1598
+ const eventsAdditionalData = {
1599
+ ...getOrgAnalyticsData("Business", mainEntityDetails),
1600
+ ...getOrgAnalyticsData("ParentCompany", parentCompanyBusinessFinancingDetails),
1601
+ ...getOrgAnalyticsData("UltimateParentCompany", ultimateParentCompanyBusinessFinancingDetails)
1602
+ };
1603
+ try {
1604
+ await handleBusinessFinancingFormSubmission(BusinessFinancingIndices.COMPANY, mainEntityDetails, createLegalEntity, updateLegalEntity, mainEntityDetails?.id);
1605
+ userEvents.addTaskEvent("Success", {
1606
+ actionType: "submit",
1607
+ returnValue: entitiesToTrack,
1608
+ additionalData: eventsAdditionalData
1609
+ });
1610
+ await invalidateRootLegalEntity();
1611
+ if (showBusinessFinancingFirst || isStandaloneComponent) setShowEndState(true);
1612
+ else externalOnSubmit?.({ ...umfData });
1613
+ } catch (e) {
1614
+ showToast({
1615
+ label: commonT(($) => $["failedToUpdateDetails"]),
1616
+ variant: "error"
1617
+ });
1618
+ handleSubmissionError(e, BusinessFinancingIndices.COMPANY);
1619
+ }
1620
+ setProblems({});
1621
+ }
1622
+ } catch (e) {
1623
+ if (!parentCompanyFailed && !ultimateParentCompanyFailed) handleSubmissionError(e, BusinessFinancingIndices.COMPANY);
1624
+ showToast({
1625
+ label: commonT(($) => $["failedToUpdateDetails"]),
1626
+ variant: "error"
1627
+ });
1628
+ } finally {
1629
+ setLoadingStatus("success");
1630
+ }
1631
+ }
1632
+ };
1633
+ const handleSubmissionError = (error, businessFinancingType) => {
1634
+ const keyMapping = businessFinancingType === BusinessFinancingIndices.SOLE_PROPRIETOR ? {
1635
+ ...businessFinancingIndividualApiKeyMapping,
1636
+ ...businessFinancingSoleProprietorApiKeyMapping
1637
+ } : businessFinancingApiKeyMapping;
1638
+ if (isValidationError(error.actualError)) {
1639
+ const validationErrors = processValidationErrors(error.actualError, void 0, keyMapping);
1640
+ setProblems((prevProblems) => ({
1641
+ ...prevProblems,
1642
+ validationErrors: {
1643
+ ...prevProblems?.validationErrors,
1644
+ [businessFinancingType]: validationErrors?.[businessFinancingType] ?? {}
1645
+ }
1646
+ }));
1647
+ } else if (isMaintenanceModeError(error)) showToast({
1648
+ label: commonT(($) => $["maintenanceModeMessage"]),
1649
+ variant: "error",
1650
+ duration: "indefinite"
1651
+ });
1652
+ else showToast({
1653
+ label: commonT(($) => $["failedToUpdateDetails"]),
1654
+ variant: "error"
1655
+ });
1656
+ };
1657
+ const [requiredFields, setRequiredFields] = useState(void 0);
1658
+ const form = useMultiForm({
1659
+ requiredFields,
1660
+ defaultData: derivedData,
1661
+ rules: businessFinancingMultiformRules
1662
+ });
1663
+ const { data: umfData = derivedData, isValid, errors, valid } = form;
1664
+ const businessFinancingRequiredForms = useMemo(() => {
1665
+ let updateForms = {};
1666
+ if (umfData?.soleProprietor) updateForms = { soleProprietor: { ...businessFinancingForms.soleProprietor } };
1667
+ else {
1668
+ updateForms = { company: { ...businessFinancingForms.company } };
1669
+ const showParentCompany = umfData?.company?.isCompanyOwnedByAnotherCompany === "Yes";
1670
+ const showUltimateParentCompany = umfData?.company?.isParentOwnedByAnotherCompany === "Yes";
1671
+ if (showParentCompany) updateForms = {
1672
+ ...updateForms,
1673
+ parentCompany: businessFinancingForms.parentCompany
1674
+ };
1675
+ if (showParentCompany && showUltimateParentCompany) updateForms = {
1676
+ ...updateForms,
1677
+ ultimateParentCompany: businessFinancingForms.ultimateParentCompany
1678
+ };
1679
+ }
1680
+ return updateForms;
1681
+ }, [
1682
+ umfData?.soleProprietor,
1683
+ umfData?.company?.isCompanyOwnedByAnotherCompany,
1684
+ umfData?.company?.isParentOwnedByAnotherCompany
1685
+ ]);
1686
+ useEffect(() => {
1687
+ setRequiredFields(getBusinessFinancingRequiredFields(country, umfData, rootLegalEntity?.organization?.registeredAddress));
1688
+ }, [umfData, rootLegalEntity?.organization?.registeredAddress]);
1689
+ const forms = useMemo(() => {
1690
+ return addValidityToForms(getRequiredForms(businessFinancingRequiredForms, businessFinancingFormsRequiredFields, {}), isValid, problems);
1691
+ }, [
1692
+ businessFinancingRequiredForms,
1693
+ isValid,
1694
+ businessFinancingFormsRequiredFields,
1695
+ problems
1696
+ ]);
1697
+ const { handleNextClick, handleBackClick, activeForm, gotoFormByFormIndex, gotoFormByFormId, steps, shouldValidate } = useFormComposer({
1698
+ problems,
1699
+ forms,
1700
+ onSubmit
1701
+ });
1702
+ const renderActiveForm = (selectedForm) => /* @__PURE__ */ jsxs("div", { children: [
1703
+ selectedForm.formId === "soleProprietor" && /* @__PURE__ */ jsx(AdditionalFieldsForBusinessFinancingSoleProprietor, {
1704
+ data: derivedData?.soleProprietor,
1705
+ legalEntity: rootLegalEntity,
1706
+ heading: businessFinancingT(($) => $["additionalInformationForBusinessFinancing"]),
1707
+ id: selectedForm.formId,
1708
+ country,
1709
+ shouldValidate,
1710
+ fieldValidationErrors: problems?.validationErrors?.[selectedForm?.formId],
1711
+ formVerificationErrors: problems?.verificationErrors?.[selectedForm?.formId],
1712
+ errors: errors?.soleProprietor,
1713
+ valid: valid?.soleProprietor
1714
+ }),
1715
+ selectedForm.formId === companyFormId && /* @__PURE__ */ jsx(AdditionalFieldsForBusinessFinancingCompany, {
1716
+ data: derivedData?.company,
1717
+ legalEntity: rootLegalEntity,
1718
+ heading: businessFinancingT(($) => $["additionalInformationForBusinessFinancing"]),
1719
+ id: companyFormId,
1720
+ country,
1721
+ shouldValidate,
1722
+ fieldValidationErrors: problems?.validationErrors?.[selectedForm?.formId],
1723
+ formVerificationErrors: problems?.verificationErrors?.[selectedForm?.formId],
1724
+ errors: errors?.company,
1725
+ valid: valid?.company
1726
+ }),
1727
+ selectedForm.formId === parentCompanyFormId && /* @__PURE__ */ jsx(AdditionalFieldsForBusinessFinancingParentCompany, {
1728
+ data: derivedData?.parentCompany,
1729
+ heading: commonT(($) => $["parentCompanyInformation"]),
1730
+ id: companyFormId,
1731
+ country,
1732
+ shouldValidate,
1733
+ errors: errors?.parentCompany,
1734
+ legalEntity: rootLegalEntity
1735
+ }),
1736
+ selectedForm.formId === ultimateParentCompanyFormId && /* @__PURE__ */ jsx(AdditionalFieldsForBusinessFinancingUltimateParentCompany, {
1737
+ data: derivedData?.ultimateParentCompany,
1738
+ heading: commonT(($) => $["ultimateParentCompanyInformation"]),
1739
+ id: companyFormId,
1740
+ country,
1741
+ shouldValidate,
1742
+ errors: errors?.ultimateParentCompany,
1743
+ legalEntity: rootLegalEntity
1744
+ })
1745
+ ] });
1746
+ if (!derivedData?.company && !derivedData?.soleProprietor) return /* @__PURE__ */ jsx(Loader, {});
1747
+ const allValidationErrors = problems?.validationErrors && Object.values(problems.validationErrors)?.reduce((acc, validError) => ({
1748
+ ...acc,
1749
+ ...validError
1750
+ }), {});
1751
+ const allVerificationErrors = problems?.verificationErrors && Object.values(problems.verificationErrors)?.reduce((acc, verifError) => ({
1752
+ ...acc,
1753
+ ...verifError
1754
+ }), {});
1755
+ const formUtils = createFormUtils({ labels: {} }, commonT);
1756
+ const handleEditForm = (formId) => {
1757
+ const formIndex = forms.findIndex((form) => form.formId === formId);
1758
+ if (formIndex >= 0) gotoFormByFormIndex(formIndex);
1759
+ };
1760
+ const summaryComponent = /* @__PURE__ */ jsx(BusinessFinancingSummary, {
1761
+ items: formatDataForSummary(i18n.language, businessFinancingT, datasetUtils, umfData, rootLegalEntity?.organization?.registeredAddress),
1762
+ handleEditForm,
1763
+ forms,
1764
+ children: /* @__PURE__ */ jsx(ErrorPanel, {
1765
+ validationErrors: allValidationErrors,
1766
+ verificationErrors: allVerificationErrors,
1767
+ formUtils,
1768
+ id: "ariaErrorField",
1769
+ slot: "errorPanel"
1770
+ })
1771
+ });
1772
+ return showEndState ? /* @__PURE__ */ jsx(EndStateLayout, {
1773
+ title: businessFinancingT(($) => $["submissionReceived"]),
1774
+ description: businessFinancingT(($) => $["theInformationProvidedIsBeingReviewed"]),
1775
+ action: externalOnSubmit && !showBusinessFinancingFirst ? /* @__PURE__ */ jsx(Button, {
1776
+ onClick: () => externalOnSubmit?.({ ...umfData }),
1777
+ children: externalOnSubmitLabel || commonT(($) => $["finish"])
1778
+ }) : void 0
1779
+ }) : /* @__PURE__ */ jsx(FormContextProvider, {
1780
+ form,
1781
+ children: /* @__PURE__ */ jsx(FormFlow, {
1782
+ summaryComponent,
1783
+ currentStep: steps.current,
1784
+ disableNextButton: !activeForm.isValid,
1785
+ forms,
1786
+ activeForm,
1787
+ gotoFormByFormIndex,
1788
+ gotoFormByFormId,
1789
+ handleBackClick,
1790
+ handleCancelClick: handleHomeClick,
1791
+ handleNextClick,
1792
+ loadingStatus,
1793
+ totalSteps: steps.total,
1794
+ children: /* @__PURE__ */ jsx("div", { children: renderActiveForm(activeForm || (derivedData?.soleProprietor ? businessFinancingForms.soleProprietor : businessFinancingForms.company)) })
1795
+ })
1796
+ });
1797
+ }
1798
+ //#endregion
1799
+ export { BusinessFinancingDropin as t };