@adyen/kyc-components 4.9.2 → 4.10.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1212) hide show
  1. package/dist/AcceptTermsOfServiceComponent-Bgr4lpJD.js +652 -0
  2. package/dist/AcceptTermsOfServiceComponent-DUE5d8Xw.js +6 -0
  3. package/dist/Accordion-Ces4MlyX.js +111 -0
  4. package/dist/AccountSetupRejected-CSXkA3my.js +19 -0
  5. package/dist/Adaptive-DhnDcp-n.js +160 -0
  6. package/dist/AdaptiveComponent-CsBDQKI_.js +109 -0
  7. package/dist/Address-DHpRtLqT.js +593 -0
  8. package/dist/Alert-DGt_tas2.js +170 -0
  9. package/dist/AnalyticsContext-zvlAxIPp.js +73 -0
  10. package/dist/Avatar-BZ1R_63Q.js +54 -0
  11. package/dist/BusinessFinancingDropin-DUCvP2dG.js +1804 -0
  12. package/dist/BusinessFinancingPage-Cr9yaD69.js +87 -0
  13. package/dist/BusinessTypeSelectionPage-sd8Vzgg8.js +436 -0
  14. package/dist/Button-BrEOD5gK.js +189 -0
  15. package/dist/Checkbox-DH-0zfp7.js +55 -0
  16. package/dist/Confirm-DL6vIvKe.js +76 -0
  17. package/dist/ConstitutionalDocument-CLCBiLYT.js +2276 -0
  18. package/dist/ContactDetails-BU2ElDOi.js +288 -0
  19. package/dist/ContextGuidance-CA7_5gQw.js +29 -0
  20. package/dist/ContractViewer-CPZOH1vV.js +979 -0
  21. package/dist/CountryField-EbJX8wdL.js +38 -0
  22. package/dist/Currency-Bxhwn4-R.js +191 -0
  23. package/dist/CustomerSupport-HkiKZEYW.js +129 -0
  24. package/dist/DebugModal-ENldBD1a.js +454 -0
  25. package/dist/DecisionMakerDetails-DyR9_XXn.js +469 -0
  26. package/dist/DecisionMakerDetailsPage-B0AP7x2t.js +103 -0
  27. package/dist/DecisionMakers-DOWJzT2g.js +578 -0
  28. package/dist/Dropzone-BX5P1wWl.js +236 -0
  29. package/dist/EmbeddedStatus-Dqa3hRtl.js +128 -0
  30. package/dist/EndStateLayout-Dz4uTeoO.js +84 -0
  31. package/dist/EntityAssociation-C3qUz5m6.js +163 -0
  32. package/dist/ErrorPanel-Dk42PPew.js +185 -0
  33. package/dist/Field-DH3pDFxY.js +155 -0
  34. package/dist/FormNavigation-CAHXxOjj.js +116 -0
  35. package/dist/Header-Bc32XYD-.js +93 -0
  36. package/dist/Image-DuhCij-a.js +33 -0
  37. package/dist/Individual.rules-DAGFscPf.js +296 -0
  38. package/dist/IndividualDropin-COoYAwcG.js +4970 -0
  39. package/dist/InputDate-Xy7Hd1Yr.js +52 -0
  40. package/dist/InputText--skSkkLS.js +119 -0
  41. package/dist/Introduction-BY-vSd9f.js +271 -0
  42. package/dist/InvitedDecisionMakerComponent-8-jF-t8H.js +6 -0
  43. package/dist/InvitedDecisionMakerComponent-QwJ7zyf0.js +373 -0
  44. package/dist/JpAddress-Cu0GrB7W.js +322 -0
  45. package/dist/LandingLayout-CTuu3qMV.js +76 -0
  46. package/dist/LegalCompanyNameField-BPxj9SCn.js +108 -0
  47. package/dist/LegalRepresentativeDetailsPage-BHkNx8kv.js +73 -0
  48. package/dist/Link-ClFY-8_3.js +32 -0
  49. package/dist/ListItem-D3SGCEV9.js +70 -0
  50. package/dist/LoaderWrapper-D2BBZC6k.js +34 -0
  51. package/dist/MaskedInput-CmhKzOh9.js +715 -0
  52. package/dist/MaybeModal-BAH1s4oi.js +24 -0
  53. package/dist/Modal-TA-i9JLs.js +129 -0
  54. package/dist/Name-CaEi9FTW.js +61 -0
  55. package/dist/NewSummary-tGYwyb6d.js +72 -0
  56. package/dist/PayoutDetailsDropin-CbOc7C6g.js +3897 -0
  57. package/dist/PayoutDetailsPage-UIeFbDJB.js +859 -0
  58. package/dist/RadioGroup-DBDwVQAX.js +84 -0
  59. package/dist/Review-O6q9UkXW.js +99 -0
  60. package/dist/RootBusinessDetailsPage-D9DOX4ar.js +69 -0
  61. package/dist/RootBusinessLinesPage-B36Go9y-.js +1452 -0
  62. package/dist/RootIndividualDetailsPage-C_iB94uM.js +81 -0
  63. package/dist/Select-C1GpSzF4.js +777 -0
  64. package/dist/SignPCIComponent-6OfnlsOU.js +367 -0
  65. package/dist/SignPCIComponent-DiENrKGE.js +6 -0
  66. package/dist/SingpassSelection-BX3WP2ZK.js +159 -0
  67. package/dist/SoleProprietorshipPage-CiccfaKl.js +69 -0
  68. package/dist/SourceOfFundsPage-Xnr8yqoM.js +1989 -0
  69. package/dist/StepProgressIndicator-DN6OWQkE.js +80 -0
  70. package/dist/StructuredList-UlwDK_PO.js +56 -0
  71. package/dist/Summary-BZsoj_KC.js +226 -0
  72. package/dist/TaskListItem-3C5vCTFS.js +122 -0
  73. package/dist/TaskVerificationStatus-o58AmswI.js +118 -0
  74. package/dist/TaxInformationField-CNOw8n5a.js +2906 -0
  75. package/dist/TaxReportingDropin-D0d6xsfQ.js +475 -0
  76. package/dist/TextArea-CYCYp7xn.js +80 -0
  77. package/dist/TileGroup-DOMdFBNc.js +170 -0
  78. package/dist/ToastContext-DYDlziHA.js +13 -0
  79. package/dist/ToastContextProvider-BACK2Fdv.js +103 -0
  80. package/dist/TrustDetailsPage-DCLEUAD8.js +1675 -0
  81. package/dist/TrustMemberCompanyPage-DrzQjde3.js +107 -0
  82. package/dist/TrustMemberIndividualPage-CCAS9Ab-.js +107 -0
  83. package/dist/TrustMemberRoleAndTypePage-Dohh-Fk5.js +953 -0
  84. package/dist/TrustMembersOverview-CVS43fPZ.js +433 -0
  85. package/dist/UnincorporatedPartnershipIndividualPage-wgoL7EkB.js +78 -0
  86. package/dist/UnincorporatedPartnershipMemberCompanyPage-B6YQShKT.js +78 -0
  87. package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-B6UMZmvr.js +276 -0
  88. package/dist/UnincorporatedPartnershipMembersOverview-DeXkQfpG.js +159 -0
  89. package/dist/VerificationErrorAlert-rxIxZG_9.js +38 -0
  90. package/dist/accountHolderUtils-DvIn173h.js +44 -0
  91. package/dist/adyen-business-financing.js +84 -84
  92. package/dist/adyen-individual-configuration.js +87 -87
  93. package/dist/adyen-individual-status.js +34 -34
  94. package/dist/adyen-invited-decision-maker.js +3 -3
  95. package/dist/adyen-onboarding.js +186 -248
  96. package/dist/adyen-terms-of-service-management.js +3 -3
  97. package/dist/adyen-terms-of-service-status.js +57 -57
  98. package/dist/adyen-transfer-instrument-configuration.js +84 -84
  99. package/dist/adyen-transfer-instrument-management.js +128 -127
  100. package/dist/adyen-verification-status.js +33 -33
  101. package/dist/bafinUtils-D3gY2wvY.js +68 -0
  102. package/dist/bg-BG-3LckGflP.js +7 -0
  103. package/dist/bg-BG-CzrQfuu9.js +7 -0
  104. package/dist/bg-BG-RNXb-nHv.js +7 -0
  105. package/dist/birthDateUtils-CMLWoaT8.js +82 -0
  106. package/dist/commonValidators-BTQi3Wp7.js +18 -0
  107. package/dist/countries-BEUFeNU1.js +41 -0
  108. package/dist/country-C5KY5i2U.js +13 -0
  109. package/dist/cs-CZ-CAyz5Oxb.js +7 -0
  110. package/dist/cs-CZ-D57vUsIT.js +7 -0
  111. package/dist/cs-CZ-gb6TMFZb.js +7 -0
  112. package/dist/da-DK-BOHnR0Il.js +7 -0
  113. package/dist/da-DK-DSyQ3Ps0.js +7 -0
  114. package/dist/da-DK-DccHpcaD.js +7 -0
  115. package/dist/de-DE-Bn6YiHtc.js +7 -0
  116. package/dist/de-DE-CFAXyhfm.js +7 -0
  117. package/dist/de-DE-duz3XQVB.js +7 -0
  118. package/dist/decisionMaker-BKR5Dau-.js +146 -0
  119. package/dist/decisionMakerRoles-wy4KpDQg.js +46 -0
  120. package/dist/dropinUtils-DXD6popt.js +275 -0
  121. package/dist/el-GR-9wRo_Jlg.js +7 -0
  122. package/dist/el-GR-B4q095lu.js +7 -0
  123. package/dist/el-GR-qM707S4d.js +7 -0
  124. package/dist/en-US-2TPpQbtl.js +21 -0
  125. package/dist/en-US-D6JIGFbm.js +7 -0
  126. package/dist/en-US-ZFlMM5v3.js +224 -0
  127. package/dist/en-US-i-xCvkps.js +7 -0
  128. package/dist/entityAssociationUtil-C0gX4Ewv.js +59 -0
  129. package/dist/es-ES-CBXbBc1A.js +7 -0
  130. package/dist/es-ES-D7cgUez3.js +7 -0
  131. package/dist/es-ES-Qo_8qb9r.js +7 -0
  132. package/dist/et-EE-6yAadp0T.js +7 -0
  133. package/dist/et-EE-BmnILU2a.js +7 -0
  134. package/dist/et-EE-lAWJnluh.js +7 -0
  135. package/dist/fi-FI-CpZz975D.js +7 -0
  136. package/dist/fi-FI-DbEqdQ0g.js +7 -0
  137. package/dist/fi-FI-EuKD6k8Y.js +7 -0
  138. package/dist/formUtils-C0FUvDnF.js +78 -0
  139. package/dist/fr-FR-7iwyxWaL.js +7 -0
  140. package/dist/fr-FR-H6eQ7sOs.js +7 -0
  141. package/dist/fr-FR-vudUwtME.js +7 -0
  142. package/dist/getName-ODLD6UPV.js +35 -0
  143. package/dist/getProblemsForEntity-BY9SUWeG.js +16 -0
  144. package/dist/getTrustedDecisionMakers-DXR7mrNp.js +25 -0
  145. package/dist/getTrustedFields-BF_CmfLe.js +28 -0
  146. package/dist/globalStore-2edP5P62.js +419 -0
  147. package/dist/hr-HR-3QgFbMTF.js +7 -0
  148. package/dist/hr-HR-Bl5USqyK.js +7 -0
  149. package/dist/hr-HR-CYD_Yj5T.js +7 -0
  150. package/dist/http-BDgJ4fhh.js +149 -0
  151. package/dist/hu-HU-4UezjSak.js +7 -0
  152. package/dist/hu-HU-BD5u-5OF.js +7 -0
  153. package/dist/hu-HU-BKVeQ5ix.js +7 -0
  154. package/dist/invalidateRootLegalEntity-LIw-_KWy.js +45 -0
  155. package/dist/isEmpty-BTcVP5E1.js +14 -0
  156. package/dist/isEmptyEntity-BBazi0Go.js +44 -0
  157. package/dist/it-IT-BCrUbo-z.js +7 -0
  158. package/dist/it-IT-BXFbtihY.js +7 -0
  159. package/dist/it-IT-CHiYsPdc.js +7 -0
  160. package/dist/ja-JP-BNljcToT.js +7 -0
  161. package/dist/ja-JP-BSSI6iGa2.js +7 -0
  162. package/dist/ja-JP-CzwMiarb.js +7 -0
  163. package/dist/japanSupportUtils-Dt75Cqon.js +11 -0
  164. package/dist/jpAddressSchema-B8l7CyMD.js +19 -0
  165. package/dist/localizeDateString-7bO078Ss.js +35 -0
  166. package/dist/lt-LT--ykjbt1G2.js +7 -0
  167. package/dist/lt-LT-CxHGyOg_.js +7 -0
  168. package/dist/lt-LT-Dn1uWfTS.js +7 -0
  169. package/dist/lv-LV-CKWVZhLn.js +7 -0
  170. package/dist/lv-LV-D7Ba9nJV2.js +7 -0
  171. package/dist/lv-LV-M7YZXYD4.js +7 -0
  172. package/dist/mapExistingFile-7mSnnqOH.js +187 -0
  173. package/dist/mapJpAddressSchemaToAddressLocalizations-TFQs1Dg9.js +61 -0
  174. package/dist/mapLegalEntityToIndividualSchema-CX0w2PMw.js +206 -0
  175. package/dist/mapTransferInstrumentToPayoutAccount-T3EtwXeR.js +44 -0
  176. package/dist/nl-NL-D_nfmeEO2.js +7 -0
  177. package/dist/nl-NL-DfLVbnIt.js +7 -0
  178. package/dist/nl-NL-cywhUHFC.js +7 -0
  179. package/dist/no-NO-BReO2o5n2.js +7 -0
  180. package/dist/no-NO-CUdwwq5Q.js +7 -0
  181. package/dist/no-NO-sKe9NQr2.js +7 -0
  182. package/dist/omitObscuredFieldsIfUnchanged-CQW8S0JV.js +20 -0
  183. package/dist/patternValidators-COjyZHty.js +73 -0
  184. package/dist/phonePrefixes-BfCqI-jf.js +252 -0
  185. package/dist/pl-PL-17gZNngW.js +7 -0
  186. package/dist/pl-PL-BDDbHDK-2.js +7 -0
  187. package/dist/pl-PL-CZ9BcuwC.js +7 -0
  188. package/dist/process-field-configurations-B4XWnUpM.js +279 -0
  189. package/dist/processCapabilities-CI_g2ItO.js +869 -0
  190. package/dist/pt-BR-CwmMY-Tc.js +7 -0
  191. package/dist/pt-BR-CxgX2M20.js +7 -0
  192. package/dist/pt-BR-DXnHFKFu2.js +7 -0
  193. package/dist/pt-PT-B89VwWSr2.js +7 -0
  194. package/dist/pt-PT-CH4Dn0EZ.js +7 -0
  195. package/dist/pt-PT-CIOonsBY.js +7 -0
  196. package/dist/resolveEnvironment-D66faywu.js +983 -0
  197. package/dist/ro-RO-BgJc13qL.js +7 -0
  198. package/dist/ro-RO-DYS3QUHv2.js +7 -0
  199. package/dist/ro-RO-DwNvQOyI.js +7 -0
  200. package/dist/roleMetadata-72B4lOSi.js +56 -0
  201. package/dist/sk-SK-BPCCl0s2.js +7 -0
  202. package/dist/sk-SK-DToW-wRh.js +7 -0
  203. package/dist/sk-SK-fTz6vRwx2.js +7 -0
  204. package/dist/sl-SI-BIB5llvY.js +7 -0
  205. package/dist/sl-SI-D_mOefZc.js +7 -0
  206. package/dist/sl-SI-ZUhvuxBZ2.js +7 -0
  207. package/dist/style.css +380 -354
  208. package/dist/styles-BKENkxA3.js +5909 -0
  209. package/dist/sv-SE-B11bsYOb.js +7 -0
  210. package/dist/sv-SE-CSKtzGY2.js +7 -0
  211. package/dist/sv-SE-DCJ5qTna2.js +7 -0
  212. package/dist/taskStatus-CvMqhrOK.js +37 -0
  213. package/dist/taskTypes-DWaxzvnQ.js +43 -0
  214. package/dist/translation-HjimzbDK.js +854 -0
  215. package/dist/trustUtil-CVipffas.js +99 -0
  216. package/dist/types/adaptiveWorkflow/AdaptiveWorkflow.d.ts +2 -0
  217. package/dist/types/adaptiveWorkflow/components/Adaptive.d.ts +4 -0
  218. package/dist/types/adaptiveWorkflow/components/DynamicForm/DynamicForm.d.ts +7 -0
  219. package/dist/types/adaptiveWorkflow/components/Fields/LegalName.d.ts +14 -0
  220. package/dist/types/adaptiveWorkflow/components/Fields/TaxInformation/ExemptedFromTaxField.d.ts +9 -0
  221. package/dist/types/adaptiveWorkflow/components/Fields/TaxInformation/TaxIdNumberInputField.d.ts +18 -0
  222. package/dist/types/adaptiveWorkflow/components/Fields/TaxInformation/TaxIdTypeSelectorField.d.ts +16 -0
  223. package/dist/types/adaptiveWorkflow/components/Fields/TaxInformation/TaxInformationFieldGroup.d.ts +24 -0
  224. package/dist/types/adaptiveWorkflow/components/Task/Task.d.ts +2 -0
  225. package/dist/types/adaptiveWorkflow/components/Task/contextMap.d.ts +6 -0
  226. package/dist/types/adaptiveWorkflow/components/TaskGroup/TaskGroup.d.ts +2 -0
  227. package/dist/types/adaptiveWorkflow/components/TaskGroup/contextMap.d.ts +2 -0
  228. package/dist/types/adaptiveWorkflow/components/TaskGroupParser/TaskGroupParser.d.ts +4 -0
  229. package/dist/types/adaptiveWorkflow/components/types.d.ts +32 -0
  230. package/dist/types/adaptiveWorkflow/formHook.d.ts +12 -0
  231. package/dist/types/api/adaptive/useAwe.d.ts +4 -0
  232. package/dist/types/api/companySearch/useCompanySearch.d.ts +12 -0
  233. package/dist/types/api/queryKeys.d.ts +3 -1
  234. package/dist/types/api/taskStatus/taskStatus.types.d.ts +13 -3
  235. package/dist/types/api/taskStatus/useTaskStatus.d.ts +10 -6
  236. package/dist/types/api/taskStatus/useTaskStatuses.d.ts +14 -0
  237. package/dist/types/api/tinVerification/useVerifyTin.d.ts +10 -0
  238. package/dist/types/components/Apps/tasks/TaskList/PayoutAccountTaskListItem.d.ts +2 -2
  239. package/dist/types/components/Apps/tasks/TaskList/types.d.ts +0 -5
  240. package/dist/types/components/Apps/tasks/TaskList/utils.d.ts +3 -4
  241. package/dist/types/components/BankAccount/fields/SwiftCode/types.d.ts +4 -1
  242. package/dist/types/components/BankAccount/forms/BankVerification/BankVerification.d.ts +1 -1
  243. package/dist/types/components/BankAccount/forms/BankVerification/verification/overlay/BankVerificationOverlay.d.ts +1 -1
  244. package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +156 -0
  245. package/dist/types/components/Business/tasks/BusinessDetailsDropin/BusinessDetailsGettingStarted.d.ts +7 -3
  246. package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +1 -0
  247. package/dist/types/components/Business/utils/formatDataForSummary.d.ts +2 -2
  248. package/dist/types/components/Business/utils/getAvailableCompanyStructures.d.ts +16 -0
  249. package/dist/types/components/BusinessLines/tasks/utils.d.ts +2 -2
  250. package/dist/types/components/Contract/forms/ContractViewer/ContractViewer.d.ts +1 -1
  251. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +564 -0
  252. package/dist/types/components/EmbeddedDropins/AdaptiveComponent/AdaptiveComponent.d.ts +1 -0
  253. package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentComponent.d.ts +1 -1
  254. package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverview/ManageTransferInstrumentOverview.d.ts +1 -1
  255. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.d.ts +1 -1
  256. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.types.d.ts +3 -2
  257. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerListItem/DecisionMakerListItem.d.ts +3 -3
  258. package/dist/types/components/Individual/tasks/DecisionMakers/InvitedDecisionMaker/InvitedDecisionMakerSubmitSuccess/InvitedDecisionMakerSubmitSuccess.d.ts +4 -3
  259. package/dist/types/components/Individual/tasks/DecisionMakers/getTrustedDecisionMakers.d.ts +5 -0
  260. package/dist/types/components/Individual/tasks/DecisionMakers/hooks/useInvitedDecisionMakerStep.d.ts +6 -0
  261. package/dist/types/components/Individual/tasks/DecisionMakers/hooks/useTaskStatusWithTimeout.d.ts +4 -4
  262. package/dist/types/components/Individual/tasks/DecisionMakers/types.d.ts +20 -0
  263. package/dist/types/components/Shared/EntityAssociation/types.d.ts +0 -17
  264. package/dist/types/components/Shared/EntityGuidanceStatus/EntityGuidanceStatus.d.ts +1 -1
  265. package/dist/types/components/Shared/NewSummary/NewSummary.d.ts +2 -7
  266. package/dist/types/components/Shared/SummarySection/SummarySection.d.ts +12 -0
  267. package/dist/types/components/Shared/fields/DBANameField/DBANameField.d.ts +1 -1
  268. package/dist/types/components/Shared/forms/Address/AddressField.d.ts +0 -1
  269. package/dist/types/components/Trust/tasks/TrustMembers/TrustMembersOverview.d.ts +1 -1
  270. package/dist/types/components/ui/atoms/Field/Field.d.ts +1 -1
  271. package/dist/types/components/ui/atoms/Field/Field.types.d.ts +0 -2
  272. package/dist/types/components/ui/atoms/InputBase/InputBase.d.ts +0 -2
  273. package/dist/types/components/ui/atoms/Select/Select.d.ts +1 -1
  274. package/dist/types/components/ui/atoms/SelectList/SelectList.d.ts +1 -1
  275. package/dist/types/components/ui/atoms/SelectListItem/SelectListItem.d.ts +1 -1
  276. package/dist/types/components/ui/molecules/Dropzone/types.d.ts +4 -0
  277. package/dist/types/components/ui/molecules/InputGroup/InputGroup.d.ts +1 -1
  278. package/dist/types/context/AnalyticsContext/AnalyticsProvider.d.ts +2 -1
  279. package/dist/types/context/ToggleContext/types.d.ts +4 -4
  280. package/dist/types/core/EmbedShell/EmbedShell.d.ts +2 -2
  281. package/dist/types/core/models/api/capability.d.ts +1 -1
  282. package/dist/types/embeds/adaptive/adyen-adaptive.d.ts +2 -0
  283. package/dist/types/embeds/adaptive/adyen-adaptive.types.d.ts +33 -0
  284. package/dist/types/router/routeConfig.d.ts +3 -0
  285. package/dist/types/stores/globalStore/taskStatus.d.ts +16 -29
  286. package/dist/types/stores/globalStore/taskTypes.d.ts +8 -1
  287. package/dist/types/types/datasets/state-code.d.ts +3 -0
  288. package/dist/types/utils/getTrustedFields.d.ts +1 -3
  289. package/dist/types/utils/masking/masks/businessRegistrationNumberMasks.d.ts +12 -0
  290. package/dist/types/utils/regex/businessRegistrationNumberPatterns.d.ts +3 -0
  291. package/dist/types-CEqVWlW2.js +66 -0
  292. package/dist/types-DNJs8sHQ.js +68 -0
  293. package/dist/types-DjplYXLf.js +58 -0
  294. package/dist/types-JwlhJAzE.js +19 -0
  295. package/dist/useAccountHolder-6TPlcqyH.js +102 -0
  296. package/dist/useAllowedCountries-BlHxbIpB.js +74 -0
  297. package/dist/useAnalyticsContext-Msf0gvuf.js +12 -0
  298. package/dist/useAssociatedLegalEntity-xWnfp2eN.js +35 -0
  299. package/dist/useBusinessDetailsData-DihWSSSa.js +4494 -0
  300. package/dist/useBusinessLines-DuRYAkAE.js +27 -0
  301. package/dist/useCanSeeIntroduction-BKf6LCjv.js +39 -0
  302. package/dist/useCapabilities-YYheEPFp.js +12 -0
  303. package/dist/useCreateLegalEntity-uE43-Xhu.js +24 -0
  304. package/dist/useDataMissingRemediations-05QsWWcI.js +39 -0
  305. package/dist/useDataset-Co6Vpe7u.js +96 -0
  306. package/dist/useDeleteTransferInstrument-TIkBJmTf.js +31 -0
  307. package/dist/useForm-Cjnros8r.js +502 -0
  308. package/dist/useFormContext-erwyg3F-.js +178 -0
  309. package/dist/useGlobalData-CSApTV7U.js +164 -0
  310. package/dist/useLegalEntity-CX0N5ETD.js +48 -0
  311. package/dist/useMultiForm-B3DLUWOF.js +754 -0
  312. package/dist/useNavigate-DHue_HbH.js +269 -0
  313. package/dist/useOnboardingStatus-DAMf0JnJ.js +23 -0
  314. package/dist/usePciQuestionnaireList-BGjhKYzP.js +26 -0
  315. package/dist/useSalesChannels-CLB1FylG.js +47 -0
  316. package/dist/useTaskLandedEvent-8cYtcGCo.js +23 -0
  317. package/dist/useTaskStatus-CPUCJFDl.js +23 -0
  318. package/dist/useTermsOfServiceStatus-DrcRGxab.js +39 -0
  319. package/dist/useToastContext-DDhNMXJE.js +12 -0
  320. package/dist/useTrustMembers-TW_OQBdM.js +152 -0
  321. package/dist/useUnincorporatedPartnershipMembers-CAj9nWt7.js +70 -0
  322. package/dist/useUpdateBusinessLines-Ku_fF52H.js +296 -0
  323. package/dist/useUpdateLegalEntity-DI6qQfWN.js +29 -0
  324. package/dist/utils-CNtocYve.js +46 -0
  325. package/dist/utils-ClQMN7UN.js +188 -0
  326. package/dist/utils-DFcH1V_N.js +207 -0
  327. package/dist/utils-DTTgws8w.js +805 -0
  328. package/dist/utils-g_Wl4-9Z.js +24 -0
  329. package/dist/validate-DHSybdw4.js +109 -0
  330. package/dist/validate-DMLWa4sP.js +411 -0
  331. package/dist/validate-DTgOds13.js +381 -0
  332. package/dist/validationError-G6B3LzrO.js +68 -0
  333. package/dist/validationResult-u287uC6N.js +57 -0
  334. package/package.json +10 -3
  335. package/dist/AcceptTermsOfServiceComponent-D9-mwS-T.js +0 -651
  336. package/dist/AcceptTermsOfServiceComponent-DUEllUW-.js +0 -6
  337. package/dist/Accordion-Btxq6sGi.js +0 -111
  338. package/dist/AccountSetupRejected-CFihsePp.js +0 -20
  339. package/dist/ActionBar-Doac020y.js +0 -33
  340. package/dist/Address-D5EL-3iQ.js +0 -595
  341. package/dist/Alert-C6gL3JIt.js +0 -170
  342. package/dist/Avatar-CKmUpMXT.js +0 -54
  343. package/dist/BusinessFinancingDropin-CaO-YWQF.js +0 -1803
  344. package/dist/BusinessFinancingPage-RQvWOuzI.js +0 -87
  345. package/dist/BusinessTypeSelectionPage-CR-GoUfd.js +0 -439
  346. package/dist/Button-oj6H8OrC.js +0 -189
  347. package/dist/Checkbox-BCYjFPa4.js +0 -55
  348. package/dist/Confirm-B6TWSuab.js +0 -76
  349. package/dist/ConstitutionalDocument-CnNB3LUI.js +0 -2282
  350. package/dist/ContactDetails-h7TVEsb_.js +0 -292
  351. package/dist/ContextGuidance-DdoORtLt.js +0 -29
  352. package/dist/ContractViewer-Bm8_7yzG.js +0 -987
  353. package/dist/CountryField-Dh4DfjBf.js +0 -38
  354. package/dist/Currency-DtAL1CZd.js +0 -191
  355. package/dist/CustomerSupport-mAYocjaE.js +0 -127
  356. package/dist/DebugModal-DhZQIJxP.js +0 -451
  357. package/dist/DecisionMakerDetails-CYAI6xGa.js +0 -474
  358. package/dist/DecisionMakerDetailsPage-EF_IDRkz.js +0 -105
  359. package/dist/DecisionMakers-CvQB-65l.js +0 -671
  360. package/dist/DropinLayout-Ce8IeTl4.js +0 -22
  361. package/dist/Dropzone-68UX-Puq.js +0 -221
  362. package/dist/EmbeddedStatus-C0cKHgzR.js +0 -128
  363. package/dist/EndStateLayout-ChS-vdMt.js +0 -84
  364. package/dist/EntityAssociation-DjHI99AZ.js +0 -163
  365. package/dist/EntityGuidanceStatus-F9oxfzj4.js +0 -89
  366. package/dist/ErrorPanel-B536hgSc.js +0 -186
  367. package/dist/Field-pcJkjIG_.js +0 -155
  368. package/dist/FormNavigation-ikhirSjM.js +0 -116
  369. package/dist/Header-CPmJyuoP.js +0 -93
  370. package/dist/Image-BEzOZ1tt.js +0 -33
  371. package/dist/Individual.rules-DvMQmx90.js +0 -295
  372. package/dist/IndividualDropin-D1n1fwWm.js +0 -4961
  373. package/dist/InputDate-XX9jaw9v.js +0 -52
  374. package/dist/InputText-C30dZxS4.js +0 -119
  375. package/dist/Introduction-DIfncKsI.js +0 -271
  376. package/dist/InvitedDecisionMakerComponent-5VQCEg8c.js +0 -353
  377. package/dist/InvitedDecisionMakerComponent-hScE7oD3.js +0 -6
  378. package/dist/JpAddress-CcvXXU8C.js +0 -320
  379. package/dist/LandingLayout-z8j2xiqg.js +0 -76
  380. package/dist/LegalCompanyNameField-CW82YkTh.js +0 -108
  381. package/dist/LegalRepresentativeDetailsPage-Cq6G8Lj1.js +0 -73
  382. package/dist/Link-6M1PZnz2.js +0 -32
  383. package/dist/ListItem-BWH4IPrj.js +0 -70
  384. package/dist/LoaderWrapper-Dq8TNJCi.js +0 -34
  385. package/dist/MaskedInput-BFPSwRto.js +0 -714
  386. package/dist/MaybeModal-CeTBIah3.js +0 -24
  387. package/dist/Modal-CioQJ7Q7.js +0 -129
  388. package/dist/Name-G92OEGxs.js +0 -61
  389. package/dist/NewSummary-C-LKBMpr.js +0 -64
  390. package/dist/PayoutDetailsDropin-kU0l62aD.js +0 -3893
  391. package/dist/PayoutDetailsPage-Cykyoqxm.js +0 -857
  392. package/dist/RadioGroup-7g7Xv9rl.js +0 -84
  393. package/dist/Review-nNDDLyLy.js +0 -89
  394. package/dist/RootBusinessDetailsPage-DinhHQY-.js +0 -69
  395. package/dist/RootBusinessLinesPage-Cq8HSU7U.js +0 -1451
  396. package/dist/RootIndividualDetailsPage-D1j0wZoW.js +0 -81
  397. package/dist/Select-CcSRI-H0.js +0 -775
  398. package/dist/SignPCIComponent-ByUgpATA.js +0 -367
  399. package/dist/SignPCIComponent-DygENf2d.js +0 -6
  400. package/dist/SingpassSelection-CB1J2MS6.js +0 -159
  401. package/dist/SoleProprietorshipPage-CpL77xpx.js +0 -69
  402. package/dist/SourceOfFundsPage-D0TFuyNy.js +0 -1987
  403. package/dist/StepProgressIndicator-DWJ9eS5a.js +0 -80
  404. package/dist/StructuredList-w0Z2zLTk.js +0 -56
  405. package/dist/Summary-B5IkOGJV.js +0 -226
  406. package/dist/TaskVerificationStatus-kCWYhocq.js +0 -118
  407. package/dist/TaxInformationField-DVc2iorX.js +0 -2857
  408. package/dist/TaxReportingDropin-53cxCQA-.js +0 -480
  409. package/dist/TextArea-CRLeP4x6.js +0 -80
  410. package/dist/TileGroup-D0YbtzZ0.js +0 -169
  411. package/dist/ToastContext-Cx99hkTh.js +0 -13
  412. package/dist/ToastContextProvider-C-7n4Tu6.js +0 -103
  413. package/dist/TrustDetailsPage-D-_3lCEz.js +0 -1685
  414. package/dist/TrustMemberCompanyPage-f0ig0gr4.js +0 -107
  415. package/dist/TrustMemberIndividualPage-BT092bYS.js +0 -107
  416. package/dist/TrustMemberRoleAndTypePage-qA2YQHNk.js +0 -943
  417. package/dist/TrustMembersOverview-BtX5x5Qn.js +0 -350
  418. package/dist/UnincorporatedPartnershipIndividualPage-Dr6ap4ao.js +0 -78
  419. package/dist/UnincorporatedPartnershipMemberCompanyPage-rDuqBAW0.js +0 -78
  420. package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-FGooutwg.js +0 -276
  421. package/dist/UnincorporatedPartnershipMembersOverview-CYv76pOg.js +0 -156
  422. package/dist/VerificationErrorAlert-DR3lTJhB.js +0 -38
  423. package/dist/accountHolderUtils-BYe8xPFy.js +0 -44
  424. package/dist/bafinUtils-kBPs58Au.js +0 -68
  425. package/dist/bg-BG-Bayyn2Vj.js +0 -7
  426. package/dist/bg-BG-BlOJQ7iZ.js +0 -7
  427. package/dist/bg-BG-CodTfJR6.js +0 -7
  428. package/dist/birthDateUtils-C686KOxO.js +0 -82
  429. package/dist/commonValidators-DCdet-gH.js +0 -18
  430. package/dist/countries-BuZ6_X95.js +0 -41
  431. package/dist/country-COrdWGaq.js +0 -13
  432. package/dist/cs-CZ-BLE9aLKg.js +0 -7
  433. package/dist/cs-CZ-CtEcakjz.js +0 -7
  434. package/dist/cs-CZ-DlGWvcHs.js +0 -7
  435. package/dist/da-DK-Cp1cdZTG.js +0 -7
  436. package/dist/da-DK-DtAW2xZE.js +0 -7
  437. package/dist/da-DK-FIY6i3zy.js +0 -7
  438. package/dist/de-DE-DLQs11Hz.js +0 -7
  439. package/dist/de-DE-DXNTaizu.js +0 -7
  440. package/dist/de-DE-ZWLyKP5G.js +0 -7
  441. package/dist/decisionMaker-j9cwyXuS.js +0 -146
  442. package/dist/decisionMakerRoles-CAy-eeNV.js +0 -45
  443. package/dist/dropinUtils-IdasFZCU.js +0 -275
  444. package/dist/el-GR-DSmTVw3A.js +0 -7
  445. package/dist/el-GR-no-mXzHz.js +0 -7
  446. package/dist/el-GR-qH2iIn7-.js +0 -7
  447. package/dist/en-US-DBiYkRmE.js +0 -7
  448. package/dist/en-US-cJAmQhFR.js +0 -10
  449. package/dist/en-US-rKfA1z58.js +0 -212
  450. package/dist/entityAssociationUtil-BEzUdPbm.js +0 -97
  451. package/dist/es-ES-BUSxmdKa.js +0 -7
  452. package/dist/es-ES-CKWpTQva.js +0 -7
  453. package/dist/es-ES-yxJhxnWV.js +0 -7
  454. package/dist/et-EE-9bkSuMa4.js +0 -7
  455. package/dist/et-EE-BeU-JlIv.js +0 -7
  456. package/dist/et-EE-C3h50xW-.js +0 -7
  457. package/dist/fi-FI-DKJi4py_.js +0 -7
  458. package/dist/fi-FI-wGXRm-tZ.js +0 -7
  459. package/dist/fi-FI-whtJ_DRy.js +0 -7
  460. package/dist/formUtils-DCvL3uZG.js +0 -78
  461. package/dist/fr-FR-JIF28b7U.js +0 -7
  462. package/dist/fr-FR-SabLrXSF.js +0 -7
  463. package/dist/fr-FR-mFwC-nNY.js +0 -7
  464. package/dist/getName-Bdwp_hkV.js +0 -35
  465. package/dist/getProblemsForEntity-BLcIg3x_.js +0 -16
  466. package/dist/getTrustedFields-UVTLadau.js +0 -45
  467. package/dist/globalStore-BjMds47R.js +0 -418
  468. package/dist/hr-HR-BAeB6ZDz.js +0 -7
  469. package/dist/hr-HR-C4LLZhRc.js +0 -7
  470. package/dist/hr-HR-C7vNP6kG.js +0 -7
  471. package/dist/http-D1NDkBxF.js +0 -149
  472. package/dist/hu-HU-1NJpWkUj.js +0 -7
  473. package/dist/hu-HU-Bb1gk4Jr.js +0 -7
  474. package/dist/hu-HU-DBqKyuYs.js +0 -7
  475. package/dist/invalidateRootLegalEntity-CZr0iiji.js +0 -45
  476. package/dist/isEmpty-Dw2W8jeR.js +0 -14
  477. package/dist/isEmptyEntity-BM_3oo07.js +0 -44
  478. package/dist/it-IT-C4b9Y6tP.js +0 -7
  479. package/dist/it-IT-CmoZrxWa.js +0 -7
  480. package/dist/it-IT-jTdy1a4s.js +0 -7
  481. package/dist/ja-JP-BFkGV7Ct.js +0 -7
  482. package/dist/ja-JP-CyP1sKap.js +0 -7
  483. package/dist/ja-JP-qs4tLgRF.js +0 -7
  484. package/dist/japanSupportUtils-DcDqwV81.js +0 -11
  485. package/dist/jpAddressSchema-BQTiMBSQ.js +0 -17
  486. package/dist/localizeDateString-1A3eC6hp.js +0 -35
  487. package/dist/lt-LT-BCqnP7r6.js +0 -7
  488. package/dist/lt-LT-Cq2T_YgH.js +0 -7
  489. package/dist/lt-LT-D0_qhzNo.js +0 -7
  490. package/dist/lv-LV-BEtE7iP6.js +0 -7
  491. package/dist/lv-LV-Bfkan_1O.js +0 -7
  492. package/dist/lv-LV-DcclJdry.js +0 -7
  493. package/dist/mapExistingFile-wp3Nf1-m.js +0 -138
  494. package/dist/mapJpAddressSchemaToAddressLocalizations-C-Kwjo9Q.js +0 -61
  495. package/dist/mapLegalEntityToIndividualSchema-D9JCcC77.js +0 -206
  496. package/dist/mapTransferInstrumentToPayoutAccount--CQmg2ha.js +0 -44
  497. package/dist/nl-NL-DWgJVfgU.js +0 -7
  498. package/dist/nl-NL-DXnNGqSV.js +0 -7
  499. package/dist/nl-NL-HAKt4Uc5.js +0 -7
  500. package/dist/no-NO-B1v42GMO2.js +0 -7
  501. package/dist/no-NO-BCZzdSpR.js +0 -7
  502. package/dist/no-NO-ChSdsuYY.js +0 -7
  503. package/dist/omitObscuredFieldsIfUnchanged-Cx1OCZuB.js +0 -20
  504. package/dist/patternValidators-BaQxw3ki.js +0 -73
  505. package/dist/phonePrefixes-DcdX_CFz.js +0 -252
  506. package/dist/pl-PL-C5u2-nG22.js +0 -7
  507. package/dist/pl-PL-D3efS6b_.js +0 -7
  508. package/dist/pl-PL-YNg08-Ol.js +0 -7
  509. package/dist/process-field-configurations-C7MuEj5q.js +0 -279
  510. package/dist/processCapabilities-DlZY9-Jc.js +0 -869
  511. package/dist/pt-BR-9jLurhS32.js +0 -7
  512. package/dist/pt-BR-BnDcVpJT.js +0 -7
  513. package/dist/pt-BR-OCQiqikl.js +0 -7
  514. package/dist/pt-PT-B6DsKlac2.js +0 -7
  515. package/dist/pt-PT-BHbd93Ic.js +0 -7
  516. package/dist/pt-PT-tt1J0yv6.js +0 -7
  517. package/dist/resolveEnvironment-CguBRdxx.js +0 -1176
  518. package/dist/ro-RO-9TjoIVJf2.js +0 -7
  519. package/dist/ro-RO-CRHBNotW.js +0 -7
  520. package/dist/ro-RO-CVzi0I9_.js +0 -7
  521. package/dist/roleMetadata-CP3ZYYSI.js +0 -56
  522. package/dist/sk-SK-BJxKfous.js +0 -7
  523. package/dist/sk-SK-D5_Q4Djr2.js +0 -7
  524. package/dist/sk-SK-woMNza6o.js +0 -7
  525. package/dist/sl-SI-B9zMw3uZ.js +0 -7
  526. package/dist/sl-SI-CuNIMCGx2.js +0 -7
  527. package/dist/sl-SI-Czu6HrQs.js +0 -7
  528. package/dist/styles-BKzp-1_V.js +0 -5883
  529. package/dist/sv-SE-BIe7wyHM.js +0 -7
  530. package/dist/sv-SE-BgyicZrq.js +0 -7
  531. package/dist/sv-SE-C11kwGTV2.js +0 -7
  532. package/dist/taskStatus-C7XU4UIF.js +0 -21
  533. package/dist/translation-BFxyJ1c5.js +0 -854
  534. package/dist/trustUtil-BTHvlo55.js +0 -99
  535. package/dist/types/components/Shared/DropinLayout/ActionBar/ActionBar.d.ts +0 -4
  536. package/dist/types/components/Shared/DropinLayout/ActionBar/type.d.ts +0 -11
  537. package/dist/types/components/Shared/DropinLayout/DropinLayout.d.ts +0 -4
  538. package/dist/types/components/Shared/DropinLayout/types.d.ts +0 -8
  539. package/dist/types/context/I18nProvider/I18nContext.d.ts +0 -11
  540. package/dist/types/context/I18nProvider/I18nProvider.d.ts +0 -9
  541. package/dist/types/core/EventEmitter.d.ts +0 -17
  542. package/dist/types/hooks/useTranslations.d.ts +0 -10
  543. package/dist/types/language/loadLocale.d.ts +0 -2
  544. package/dist/types/utils/abstractEventEmitter.d.ts +0 -7
  545. package/dist/types-8S6KTD2W.js +0 -68
  546. package/dist/types-DLViphaA.js +0 -19
  547. package/dist/types-qnPNJzLh.js +0 -58
  548. package/dist/types-tKfEYBOO.js +0 -66
  549. package/dist/useAccountHolder-ClppK4-L.js +0 -102
  550. package/dist/useAllowedCountries-x3yZO5Qw.js +0 -74
  551. package/dist/useAnalyticsContext-BVFDMrVE.js +0 -86
  552. package/dist/useAssociatedLegalEntity-zrU8J6iw.js +0 -35
  553. package/dist/useBusinessDetailsData-DGPg34HR.js +0 -4365
  554. package/dist/useBusinessLines-CgnQUuie.js +0 -27
  555. package/dist/useCanSeeIntroduction-ClAuT5gj.js +0 -39
  556. package/dist/useCapabilities-BW9uTmoB.js +0 -12
  557. package/dist/useCreateLegalEntity-BK1XURnK.js +0 -24
  558. package/dist/useDataMissingRemediations-CARoFWDr.js +0 -39
  559. package/dist/useDataset-ZHrWhmsh.js +0 -96
  560. package/dist/useDeleteTransferInstrument-BwCQ-6Hm.js +0 -31
  561. package/dist/useForm-pUkvCLc9.js +0 -502
  562. package/dist/useFormContext-Cx9-3iXR.js +0 -178
  563. package/dist/useGlobalData-DD00rA9R.js +0 -164
  564. package/dist/useLegalEntity-yxi9XhLi.js +0 -48
  565. package/dist/useMultiForm-B3e1ImN3.js +0 -754
  566. package/dist/useNavigate-lR8Lcsrq.js +0 -268
  567. package/dist/useOnboardingStatus-C4cuWhT6.js +0 -23
  568. package/dist/usePciQuestionnaireList-44gPfAcR.js +0 -26
  569. package/dist/useSalesChannels-pzps3cvY.js +0 -47
  570. package/dist/useScenarios-BxrbVsQp.js +0 -55
  571. package/dist/useTaskLandedEvent-DInxWeqN.js +0 -23
  572. package/dist/useTaskStatus-PqBc0I7k.js +0 -51
  573. package/dist/useTermsOfServiceStatus-YBxJYvyS.js +0 -39
  574. package/dist/useToastContext-CYgfHjSb.js +0 -12
  575. package/dist/useTrustMembers-NwUmFfVc.js +0 -152
  576. package/dist/useUnincorporatedPartnershipMembers-BfE3lulH.js +0 -70
  577. package/dist/useUpdateBusinessLines-BUVnf_SX.js +0 -296
  578. package/dist/useUpdateLegalEntity-CtaRaKZ6.js +0 -29
  579. package/dist/utils-B807QaDx.js +0 -88
  580. package/dist/utils-BptSfkns.js +0 -188
  581. package/dist/utils-CfTVU2Hq.js +0 -207
  582. package/dist/utils-CzW6YqAz.js +0 -46
  583. package/dist/utils-DRjqyP-s.js +0 -805
  584. package/dist/validate-DDKy88ac.js +0 -387
  585. package/dist/validate-Da7Onair.js +0 -109
  586. package/dist/validate-qd_17no4.js +0 -411
  587. package/dist/validationError-BzQCrJPn.js +0 -68
  588. package/dist/validationResult-D3sPVzMw.js +0 -57
  589. /package/dist/{4-people-CmxKfDnH.js → 4-people-pf4NP1lf.js} +0 -0
  590. /package/dist/{AD-DB5nr9tP.js → AD-Dz8oe6Pg.js} +0 -0
  591. /package/dist/{AE-CJ7TIjDy.js → AE-CTdU1tzb.js} +0 -0
  592. /package/dist/{AI-BQpw7rma.js → AI-tjrpVbOw.js} +0 -0
  593. /package/dist/{AL-PjHuPrbQ.js → AL-DvyI05UB.js} +0 -0
  594. /package/dist/{AR-CU2ICtA_.js → AR-DI6rdPa-.js} +0 -0
  595. /package/dist/{AS-DfgHV8yp.js → AS-ByXIuSCx.js} +0 -0
  596. /package/dist/{AT-4efjzVQd.js → AT-CutjdISu.js} +0 -0
  597. /package/dist/{AT-B4JuH6F8.js → AT-CvSbaCoE.js} +0 -0
  598. /package/dist/{AT-D1WwSgVU.js → AT-DYSevBIw.js} +0 -0
  599. /package/dist/{AT-CE6zBm8a.js → AT-Dt3ZU8Yh.js} +0 -0
  600. /package/dist/{AU-CVPrMt74.js → AU-C6u3aod7.js} +0 -0
  601. /package/dist/{AU-C2TwlbjI.js → AU-CLU0Xn_D.js} +0 -0
  602. /package/dist/{AU-DOeJssMp.js → AU-DzJ7QlNR.js} +0 -0
  603. /package/dist/{AU-BGwU-xk-.js → AU-EWPyqdHL.js} +0 -0
  604. /package/dist/{AX-DVfSmWhN.js → AX-DJ84WiiY.js} +0 -0
  605. /package/dist/{AZ-DIcvAsVy.js → AZ-o_CDsMs4.js} +0 -0
  606. /package/dist/{BA-DFu8JCnF.js → BA-DL2O-nPB.js} +0 -0
  607. /package/dist/{BE-B3tlw4UG.js → BE-7F1ZOUtb.js} +0 -0
  608. /package/dist/{BE-pkvQ7-pO.js → BE-CT0bdDbu.js} +0 -0
  609. /package/dist/{BE-ByqDiJVH.js → BE-CyRTa5vY.js} +0 -0
  610. /package/dist/{BE-Dlk7sUG1.js → BE-DgU3CTNg.js} +0 -0
  611. /package/dist/{BG-zaw09oBT.js → BG-B7VMgZNt.js} +0 -0
  612. /package/dist/{BH-ByuC-_Cy.js → BH-Bot1MlCL.js} +0 -0
  613. /package/dist/{BM-FrOgBeTW.js → BM-CfbbOZEU.js} +0 -0
  614. /package/dist/{BR-Ct9nSoqL.js → BR-BaEKrqwp.js} +0 -0
  615. /package/dist/{BR-C5-D6J2w.js → BR-BikIex5m.js} +0 -0
  616. /package/dist/{BR-Dj4uKD4L.js → BR-DrGkuPBg.js} +0 -0
  617. /package/dist/{BR-BEePczcO.js → BR-PBodf94A.js} +0 -0
  618. /package/dist/{BS-BLCF5IzE.js → BS-CR7QZvMY.js} +0 -0
  619. /package/dist/{BV-Ball_EvD.js → BV-pdJ1HYkg.js} +0 -0
  620. /package/dist/{BY-CYE3ET2j.js → BY-RUR9XmBt.js} +0 -0
  621. /package/dist/{CA-DjE9yebq.js → CA-6iRpP8zm.js} +0 -0
  622. /package/dist/{CA-CFR8sryt.js → CA-BM1GlX51.js} +0 -0
  623. /package/dist/{CA-CtmGXKXQ.js → CA-Bilo42jc.js} +0 -0
  624. /package/dist/{CA-CPN5GIEi.js → CA-CgOysQQa.js} +0 -0
  625. /package/dist/{CH-B5P_iJIO.js → CH-BZ2dJJcd.js} +0 -0
  626. /package/dist/{CH-CYY8z2Ac.js → CH-CmSkzRbO.js} +0 -0
  627. /package/dist/{CH-DXcxyFgB.js → CH-HrO9afDv.js} +0 -0
  628. /package/dist/{CH-HLgQqF6w.js → CH-gKI7wttp.js} +0 -0
  629. /package/dist/{CN-CP7sf7YS.js → CN-BUtZk2Mu.js} +0 -0
  630. /package/dist/{CR-QbBCoLqW.js → CR-CnpHHfms.js} +0 -0
  631. /package/dist/{CY-C80hVF0V.js → CY-Ge_L3SKC.js} +0 -0
  632. /package/dist/{CZ-B4eytKxE.js → CZ-B8b5P2Or.js} +0 -0
  633. /package/dist/{CZ-BGE7k-cb.js → CZ-C1HmDbqn.js} +0 -0
  634. /package/dist/{CZ-YWMbXtXr.js → CZ-Cxwo_jP6.js} +0 -0
  635. /package/dist/{CZ-Dja4qwcT.js → CZ-I8UM9ti_.js} +0 -0
  636. /package/dist/{Card-vYndix5Y.js → Card-D6AEqxyX.js} +0 -0
  637. /package/dist/{DE-BB3kLAb1.js → DE-C2MEdoRW.js} +0 -0
  638. /package/dist/{DE-DMd-G1qV.js → DE-CSMMxMuZ.js} +0 -0
  639. /package/dist/{DE-w2hYM5oM.js → DE-HSEDrUfG.js} +0 -0
  640. /package/dist/{DE-B5hlvfaz.js → DE-pQVkh64s.js} +0 -0
  641. /package/dist/{DK-BCGM05gZ.js → DK-BCcPGFzQ.js} +0 -0
  642. /package/dist/{DK-Ljpod950.js → DK-TyxXs-DV.js} +0 -0
  643. /package/dist/{DK-DSnMDq6I.js → DK-dsRhTFow.js} +0 -0
  644. /package/dist/{DK-eIIuE_Ae.js → DK-mVm8rtJr.js} +0 -0
  645. /package/dist/{DO-DtMkGZOf.js → DO-B84eOniD.js} +0 -0
  646. /package/dist/{EC-BXvXPzDj.js → EC-BAzODm77.js} +0 -0
  647. /package/dist/{EE-CVByoRMi.js → EE-D2n6E72J.js} +0 -0
  648. /package/dist/{ES-DeyB_elh.js → ES-BI7auc_D.js} +0 -0
  649. /package/dist/{ES-CUnZIEd0.js → ES-CsmTJRIi.js} +0 -0
  650. /package/dist/{ES-iJqNvrUi.js → ES-D4WzOTek.js} +0 -0
  651. /package/dist/{ES-Y_7i9YXf.js → ES-DnRoTFNh.js} +0 -0
  652. /package/dist/{FI-MY2FM2Ba.js → FI-CZ6ep3W_.js} +0 -0
  653. /package/dist/{FI-CYEGXSok.js → FI-DJZScc7l.js} +0 -0
  654. /package/dist/{FI-E_ZyfJ7t.js → FI-DhWyH1DT.js} +0 -0
  655. /package/dist/{FI-BWqqCJsb.js → FI-YOhI9TrO.js} +0 -0
  656. /package/dist/{FJ-dwvq-g41.js → FJ-BcqfFVGi.js} +0 -0
  657. /package/dist/{FO-CWQ0W1H6.js → FO-BuQb8zK_.js} +0 -0
  658. /package/dist/{FR-DjzV5rWM.js → FR-CWb0_Fcq.js} +0 -0
  659. /package/dist/{FR-uHAf38N_.js → FR-DYfYAn5S.js} +0 -0
  660. /package/dist/{FR-D-sCwq5T.js → FR-EX-aYUJ3.js} +0 -0
  661. /package/dist/{FR-O_hbmwJW.js → FR-SxebWfwR.js} +0 -0
  662. /package/dist/{GB-B_yGxbz9.js → GB-BycqX1ng.js} +0 -0
  663. /package/dist/{GB-D9JlI1Pd.js → GB-CszgE98l.js} +0 -0
  664. /package/dist/{GB-nAqfhFIu.js → GB-DlvvuQuQ.js} +0 -0
  665. /package/dist/{GB-BogW6TU0.js → GB-q2GO1nX8.js} +0 -0
  666. /package/dist/{GE-DI1v7mo0.js → GE-ChK3V1hi.js} +0 -0
  667. /package/dist/{GF-B610wYeJ.js → GF-fTBjIC0q.js} +0 -0
  668. /package/dist/{GG-CilWz47C.js → GG-Cppga3Z4.js} +0 -0
  669. /package/dist/{GI-DFtvvGTY.js → GI-Cm7N6fbE.js} +0 -0
  670. /package/dist/{GL-D36pp53C.js → GL-C75JniJw.js} +0 -0
  671. /package/dist/{GP-yyCziKB4.js → GP-DhHOAa8k.js} +0 -0
  672. /package/dist/{GR-BxzVHYz8.js → GR-zOZilI5v.js} +0 -0
  673. /package/dist/{GT-QLXEWmtP.js → GT-B6tGLPxx.js} +0 -0
  674. /package/dist/{GU-jrvpoyb9.js → GU-DjjJkDVU.js} +0 -0
  675. /package/dist/{HK-Bds0tONE.js → HK-BXsi3wQZ.js} +0 -0
  676. /package/dist/{HK-_r_OF-9C.js → HK-Bs3Wsh4t.js} +0 -0
  677. /package/dist/{HK-sOnb583U.js → HK-CVaMk2Vl.js} +0 -0
  678. /package/dist/{HK-7piAoW_I.js → HK-Yj_9Qbs3.js} +0 -0
  679. /package/dist/{HR-BK-Ftu3Y.js → HR-8jCYyclY.js} +0 -0
  680. /package/dist/{HR-CSBA8yzB.js → HR-BR9TaCeP.js} +0 -0
  681. /package/dist/{HR-BDdXb-_o.js → HR-C-NuIOkA.js} +0 -0
  682. /package/dist/{HR-BCfmzAgq.js → HR-DvG9lG0o.js} +0 -0
  683. /package/dist/{HU-CXMDpfpO.js → HU-B4hChLQO.js} +0 -0
  684. /package/dist/{HU-LjAmjKXg.js → HU-DF7a_-3t.js} +0 -0
  685. /package/dist/{HU-DNz6LyOy.js → HU-kkbB9HNQ.js} +0 -0
  686. /package/dist/{HU-CzYTCtjV.js → HU-o4ILK6JM.js} +0 -0
  687. /package/dist/{HandlerContext-CIedIvkP.js → HandlerContext-J3b0CZCH.js} +0 -0
  688. /package/dist/{ID-Dl7g2Ppa.js → ID-CnOsjpEC.js} +0 -0
  689. /package/dist/{IE-BLIooyFf.js → IE-B3ysSG_S.js} +0 -0
  690. /package/dist/{IE-CmK-C0yz.js → IE-CtesijIU.js} +0 -0
  691. /package/dist/{IE-CzscvH5E.js → IE-Dwlg9nat.js} +0 -0
  692. /package/dist/{IE-DQX622ez.js → IE-dmyHscm0.js} +0 -0
  693. /package/dist/{IL-Cfpmk1v7.js → IL-B2GfQOoK.js} +0 -0
  694. /package/dist/{IM-C2sXmVTc.js → IM-D9Hb0nwZ.js} +0 -0
  695. /package/dist/{IN-DilwgNAy.js → IN-Qhys3xn2.js} +0 -0
  696. /package/dist/{IS-CFtJpGcN.js → IS-DTXiGHYB.js} +0 -0
  697. /package/dist/{IT-ZNOnAgQx.js → IT-BZGkLCTQ.js} +0 -0
  698. /package/dist/{IT-BlfPdNZf.js → IT-CHV5-m07.js} +0 -0
  699. /package/dist/{IT-DKj3BSzv.js → IT-DFeNc5UK.js} +0 -0
  700. /package/dist/{IT-fTjXyL20.js → IT-Dimtibs1.js} +0 -0
  701. /package/dist/{JE-X57q_Fdk.js → JE-D7_0MZEA.js} +0 -0
  702. /package/dist/{JM-Bx2hppi2.js → JM-CUVKn5To.js} +0 -0
  703. /package/dist/{JO-DhBlXP2F.js → JO-B9_bPqbF.js} +0 -0
  704. /package/dist/{JP-UnxSZuO9.js → JP-z_PjepRf.js} +0 -0
  705. /package/dist/{KR-D3U_AtZT.js → KR-DaFOJAbV.js} +0 -0
  706. /package/dist/{KW-m7bxO2Xa.js → KW-BLH4fj8S.js} +0 -0
  707. /package/dist/{KY-CpUXfGcI.js → KY-DG3Xehmz.js} +0 -0
  708. /package/dist/{KZ-C8RUkmV6.js → KZ-BjnXKq2l.js} +0 -0
  709. /package/dist/{LB-BRrDvnrf.js → LB-CY5c_gqN.js} +0 -0
  710. /package/dist/{LI-BN5PGW_H.js → LI-BkFK_qrZ.js} +0 -0
  711. /package/dist/{LT-CmyEYM7z.js → LT--zST1zqj.js} +0 -0
  712. /package/dist/{LT-CnQZpkC8.js → LT-2wka4qNS.js} +0 -0
  713. /package/dist/{LT-Cm6wbvw_.js → LT-BV7s3TCv.js} +0 -0
  714. /package/dist/{LT-BD32wyXh.js → LT-BxqPzqgf.js} +0 -0
  715. /package/dist/{LU-Bi4L1b9z.js → LU-Bt4sIWIT.js} +0 -0
  716. /package/dist/{LV-ukOdBuwo.js → LV-B-FeTyBQ.js} +0 -0
  717. /package/dist/{List-DLrcpMVd.js → List-CV1oIvRM.js} +0 -0
  718. /package/dist/{MC-EQ1jmHjl.js → MC-D92BHmGr.js} +0 -0
  719. /package/dist/{MD-DxAeNcG8.js → MD-BzJaxo1n.js} +0 -0
  720. /package/dist/{ME-CvndvtiG.js → ME-Iw66DM2s.js} +0 -0
  721. /package/dist/{MK-sohc7De9.js → MK-yRjMHvLF.js} +0 -0
  722. /package/dist/{MP-CCltX7ag.js → MP-CGHoAYPz.js} +0 -0
  723. /package/dist/{MQ-DonPA9tN.js → MQ-Db73c-TY.js} +0 -0
  724. /package/dist/{MR-Bh6ZCghL.js → MR-CzGlj8ce.js} +0 -0
  725. /package/dist/{MT-LIvGhW6j.js → MT-n0Cp6O8-.js} +0 -0
  726. /package/dist/{MU-kys50fwN.js → MU-C57EyXfP.js} +0 -0
  727. /package/dist/{MX-UvvHVHCC.js → MX-JSUPc6V8.js} +0 -0
  728. /package/dist/{MY-B6EJ4miK.js → MY-Bbgpg3w2.js} +0 -0
  729. /package/dist/{NC-D78ykfoF.js → NC-BeqCqe7o.js} +0 -0
  730. /package/dist/{NL-B4viFWts.js → NL-B22K1Zb0.js} +0 -0
  731. /package/dist/{NL-C1hyj3uD.js → NL-C1r7ND7d.js} +0 -0
  732. /package/dist/{NL-Cq2QKj_R.js → NL-CIX2R11u.js} +0 -0
  733. /package/dist/{NL-B5Jdha1b.js → NL-KVjpCVaw.js} +0 -0
  734. /package/dist/{NO-Pyh5_V7y.js → NO-BhYtIUv1.js} +0 -0
  735. /package/dist/{NO-DWhh9Air.js → NO-CFty2TsC.js} +0 -0
  736. /package/dist/{NO-Cx28Ws5i.js → NO-CV0UtHqk.js} +0 -0
  737. /package/dist/{NO-H-zekTG-.js → NO-DLFLW3I8.js} +0 -0
  738. /package/dist/{NZ-3UV4o2z9.js → NZ-ClQC7uEQ.js} +0 -0
  739. /package/dist/{NZ-7A0F7nHF.js → NZ-DZ75lvmW.js} +0 -0
  740. /package/dist/{PE-DHm86V9n.js → PE-BhP-iF08.js} +0 -0
  741. /package/dist/{PF-CPMgKxu3.js → PF-DZJu8LvP.js} +0 -0
  742. /package/dist/{PH-B_NakBgs.js → PH-8s_pcD1T.js} +0 -0
  743. /package/dist/{PK-CcdXkTsY.js → PK-BkHx9Wu7.js} +0 -0
  744. /package/dist/{PL-D9Kpjom5.js → PL-CZ0JZlv4.js} +0 -0
  745. /package/dist/{PL-DqbLsWwr.js → PL-Db0WKekw.js} +0 -0
  746. /package/dist/{PL-BXdTON9P.js → PL-DjTZTZqB.js} +0 -0
  747. /package/dist/{PL-B-r78jqe.js → PL-oVwazamy.js} +0 -0
  748. /package/dist/{PM-C-GliGAO.js → PM-Bcq0SkSj.js} +0 -0
  749. /package/dist/{PR-JCXbpE0b.js → PR-N31WZxLD.js} +0 -0
  750. /package/dist/{PS-D62VdZaN.js → PS-DzthwPAx.js} +0 -0
  751. /package/dist/{PT-DD2rFBMf.js → PT-BVfq_KIl.js} +0 -0
  752. /package/dist/{PT-CTHCZX6D.js → PT-C3FlrAqt.js} +0 -0
  753. /package/dist/{PT-JGHvjgoQ.js → PT-C6fd2w3g.js} +0 -0
  754. /package/dist/{PT-D9big47n.js → PT-ilpiMMVG.js} +0 -0
  755. /package/dist/{QA-CeWT26tF.js → QA-zn4Gdzbo.js} +0 -0
  756. /package/dist/{RE-DSGfn_pm.js → RE-dG3KJMMx.js} +0 -0
  757. /package/dist/{RO-2Z925JkN.js → RO-B1UBvxsc.js} +0 -0
  758. /package/dist/{RO-iqYS6MK1.js → RO-BL-J1_yg.js} +0 -0
  759. /package/dist/{RO-ClR_J1im.js → RO-BXtuhVoN.js} +0 -0
  760. /package/dist/{RO-BX6cRBo0.js → RO-Dtlve3hZ.js} +0 -0
  761. /package/dist/{RS-B2iIit5I.js → RS-DIpTuX70.js} +0 -0
  762. /package/dist/{RU-dSs63sUC.js → RU-B7YwaezI.js} +0 -0
  763. /package/dist/{SA-D2c21Lvo.js → SA-yHvpRBBt.js} +0 -0
  764. /package/dist/{SE-gc_M1IUS.js → SE-CccuzUP0.js} +0 -0
  765. /package/dist/{SE-B9Ci8NDi.js → SE-CfxNbl59.js} +0 -0
  766. /package/dist/{SE-P9xbQO4o.js → SE-gXHu0efH.js} +0 -0
  767. /package/dist/{SE-KYCakrsZ.js → SE-pMhyd7KJ.js} +0 -0
  768. /package/dist/{SG-BdyiGgTo.js → SG-CGk7k8y6.js} +0 -0
  769. /package/dist/{SG-BgkMHf8k.js → SG-CODE9yV_.js} +0 -0
  770. /package/dist/{SG-3-TYykP-.js → SG-DIKkp5VX.js} +0 -0
  771. /package/dist/{SG-DqvdUiWw.js → SG-fAOioO1i.js} +0 -0
  772. /package/dist/{SI-B6tdfn5Z.js → SI-BpwxzWXI.js} +0 -0
  773. /package/dist/{SI-BLo3mGXB.js → SI-CtMaFIsz.js} +0 -0
  774. /package/dist/{SI-CZicy3TO.js → SI-D8ngpNLP.js} +0 -0
  775. /package/dist/{SI-HuUerVbj.js → SI-DgNZ746W.js} +0 -0
  776. /package/dist/{SJ-yb3-jDZT.js → SJ-SG7xxYUX.js} +0 -0
  777. /package/dist/{SK-CWOi0nV4.js → SK-C7ldUW73.js} +0 -0
  778. /package/dist/{SK-Cde9pJdY.js → SK-CNT7QVie.js} +0 -0
  779. /package/dist/{SK-MOEK5YmF.js → SK-D8vU29-x.js} +0 -0
  780. /package/dist/{SK-D8pAx-Kv.js → SK-DssnPaZv.js} +0 -0
  781. /package/dist/{SM-BBKV-_UA.js → SM-Ds8vicT5.js} +0 -0
  782. /package/dist/{StackLayout-Bhbj68nx.js → StackLayout-D0Kqs-Ti.js} +0 -0
  783. /package/dist/{StateContext-BToC3V53.js → StateContext-BExuJcFK.js} +0 -0
  784. /package/dist/{TF-B0dgTCfm.js → TF-Ckf_6iT5.js} +0 -0
  785. /package/dist/{TH-CmVSlUuX.js → TH-2sIVIZNa.js} +0 -0
  786. /package/dist/{TL-nRB_lM2i.js → TL-OSKwf5cB.js} +0 -0
  787. /package/dist/{TN-CGwMdeBx.js → TN-BcUBhs_y.js} +0 -0
  788. /package/dist/{TR-B-J7KAnx.js → TR-nO7zl2t7.js} +0 -0
  789. /package/dist/{TT-Cd6NBPP1.js → TT-uQXIiTh9.js} +0 -0
  790. /package/dist/{TW-BQVlyIhq.js → TW-ra8aVP1u.js} +0 -0
  791. /package/dist/{UA-BAfANYki.js → UA-ChP4sFEB.js} +0 -0
  792. /package/dist/{US-CqkPo4au.js → US-CPcVUQez.js} +0 -0
  793. /package/dist/{US-DqDIO6Fs.js → US-D6PlTpHk.js} +0 -0
  794. /package/dist/{US-DqKhjxWO.js → US-F-OhVaqg.js} +0 -0
  795. /package/dist/{US-CpwACQXZ.js → US-amE0CRbB.js} +0 -0
  796. /package/dist/{UY-CqTNFGkq.js → UY-BFN4uNVz.js} +0 -0
  797. /package/dist/{VA-BOTo9AUe.js → VA-lz_OQgNz.js} +0 -0
  798. /package/dist/{VG-DGXnBmqr.js → VG-CUKKrF3h.js} +0 -0
  799. /package/dist/{VI-D8j8IzJs.js → VI-D1i4Oi0B.js} +0 -0
  800. /package/dist/{VN-wC6sHs21.js → VN-DRaYj63j.js} +0 -0
  801. /package/dist/{WF-Cv-zZiEX.js → WF-K2TrgrKu.js} +0 -0
  802. /package/dist/{YT-BJrZCXu7.js → YT-CEOdE-OK.js} +0 -0
  803. /package/dist/{ZA-BU2vcyD6.js → ZA-BVXb4Fcr.js} +0 -0
  804. /package/dist/{_rolldown_dynamic_import_helper-rq_tsyLP.js → _rolldown_dynamic_import_helper-CCXvMgfE.js} +0 -0
  805. /package/dist/{arrow-right-CBQUuXWn.js → arrow-right-t9gjd0_1.js} +0 -0
  806. /package/dist/{bag-B73BWByo.js → bag-X-x8sTar.js} +0 -0
  807. /package/dist/{bank-BfKT2Hlo.js → bank-CkMDQo8F.js} +0 -0
  808. /package/dist/{bg-BG-B3fdlAsP.js → bg-BG-6ZQOFODJ.js} +0 -0
  809. /package/dist/{bg-BG-BTOD22Qv.js → bg-BG-B845EAcI.js} +0 -0
  810. /package/dist/{bg-BG-BTLje0t8.js → bg-BG-BFj7cKUp.js} +0 -0
  811. /package/dist/{bg-BG-Doq5SqNZ.js → bg-BG-BrYfHU1Y.js} +0 -0
  812. /package/dist/{bg-BG-DxgO5P4C.js → bg-BG-C83pNfn4.js} +0 -0
  813. /package/dist/{bg-BG-CMHh_f-9.js → bg-BG-Cei0GKSs.js} +0 -0
  814. /package/dist/{bg-BG-B4UENfME.js → bg-BG-DEWs-rRP.js} +0 -0
  815. /package/dist/{bg-BG-BUBUyZgz.js → bg-BG-DkeEONKT.js} +0 -0
  816. /package/dist/{bg-BG-BrldKcYl.js → bg-BG-DqOqFO0A.js} +0 -0
  817. /package/dist/{bg-BG-DaiKPUAP.js → bg-BG-DqrECTmE.js} +0 -0
  818. /package/dist/{bg-BG-COHRuTI-.js → bg-BG-cotI8o9W.js} +0 -0
  819. /package/dist/{bin-CR2JtyeA.js → bin-DuY2IGyM.js} +0 -0
  820. /package/dist/{business-lines-D2Cf_2Uz.js → business-lines-DqkIqW5U.js} +0 -0
  821. /package/dist/{capital-C0dL_JnU.js → capital-D0BT5srI.js} +0 -0
  822. /package/dist/{cash-stack-qIbSKCET.js → cash-stack-BcbKuQfb.js} +0 -0
  823. /package/dist/{certificate-Cv-GCGT_.js → certificate-BW_onLEN.js} +0 -0
  824. /package/dist/{checkmark-B5bpiMC3.js → checkmark-DIoMBYD9.js} +0 -0
  825. /package/dist/{checkmark-circle-lv03ep4H.js → checkmark-circle-ZobbZzUD.js} +0 -0
  826. /package/dist/{checkmark-circle-fill-BEzw_Ad8.js → checkmark-circle-fill-CvOazmuB.js} +0 -0
  827. /package/dist/{checkmark-small-3mQnvwQ8.js → checkmark-small-Dg5IeBa_.js} +0 -0
  828. /package/dist/{chevron-down-dEHOUt1A.js → chevron-down-fWn5K8fS.js} +0 -0
  829. /package/dist/{chevron-left-DPUZ5uGm.js → chevron-left-CW5eLDmk.js} +0 -0
  830. /package/dist/{chevron-right-Bul4T3tl.js → chevron-right-BduKABNm.js} +0 -0
  831. /package/dist/{chevron-up-DMqLHgxc.js → chevron-up-Bcudvnw1.js} +0 -0
  832. /package/dist/{circle-BrnvXI-e.js → circle-DJ8T0FZz.js} +0 -0
  833. /package/dist/{circle-small-filled-ni7ir6ux.js → circle-small-filled-vh26rMkg.js} +0 -0
  834. /package/dist/{clock-CGVkf1Ve.js → clock-D1Tmx-XS.js} +0 -0
  835. /package/dist/{coins-CZegEaHP.js → coins-eLHKq334.js} +0 -0
  836. /package/dist/{company-types-value-BYTAKfjo.js → company-types-value-B-1b0hXg.js} +0 -0
  837. /package/dist/{contract-BKSU2cwd.js → contract-B-9ytI8-.js} +0 -0
  838. /package/dist/{country-code-CX5KqMBr.js → country-code-D3oCpE4i.js} +0 -0
  839. /package/dist/{cross-Du29KQ50.js → cross-CNLiD-KS.js} +0 -0
  840. /package/dist/{cross-circle-fill-DKtory30.js → cross-circle-fill-CzoorC08.js} +0 -0
  841. /package/dist/{cross-circle-fill-small-CbhK-gt9.js → cross-circle-fill-small-B4ruaMps.js} +0 -0
  842. /package/dist/{cs-CZ-Dit1sTZS.js → cs-CZ-B06gTEk7.js} +0 -0
  843. /package/dist/{cs-CZ-BewEGSI7.js → cs-CZ-Bl40lHzE.js} +0 -0
  844. /package/dist/{cs-CZ-DEgPgybF.js → cs-CZ-BwBM1vwP.js} +0 -0
  845. /package/dist/{cs-CZ-BKxJwZfp.js → cs-CZ-BzLM1J0O.js} +0 -0
  846. /package/dist/{cs-CZ-BFJyFYpX.js → cs-CZ-CDBbVGc-.js} +0 -0
  847. /package/dist/{cs-CZ-CyvOwxhe.js → cs-CZ-CfxBBOC-.js} +0 -0
  848. /package/dist/{cs-CZ-BfrGDPxg.js → cs-CZ-DwEnI4fQ.js} +0 -0
  849. /package/dist/{cs-CZ-CNCOzk0z.js → cs-CZ-HMzN3w9M.js} +0 -0
  850. /package/dist/{cs-CZ-ClrALb5y.js → cs-CZ-IZhVT21N.js} +0 -0
  851. /package/dist/{cs-CZ-CKjEL0Uh.js → cs-CZ-UMI1WiLa.js} +0 -0
  852. /package/dist/{cs-CZ-CmcYZLZp.js → cs-CZ-ZS7mzkKt.js} +0 -0
  853. /package/dist/{da-DK-CUdNKP_y.js → da-DK-2j1muC3G.js} +0 -0
  854. /package/dist/{da-DK-CfGOWrfh.js → da-DK-B576UeqU.js} +0 -0
  855. /package/dist/{da-DK-B4yaF8i0.js → da-DK-BdTOmGpJ.js} +0 -0
  856. /package/dist/{da-DK-C_3U-U_o.js → da-DK-BpU2x5NW.js} +0 -0
  857. /package/dist/{da-DK-C_oe1bpM.js → da-DK-ChjPgR_1.js} +0 -0
  858. /package/dist/{da-DK-1WDwSuvK.js → da-DK-CtzpguJ3.js} +0 -0
  859. /package/dist/{da-DK-Cn-jl2Cb.js → da-DK-CzFS-0y6.js} +0 -0
  860. /package/dist/{da-DK-BNvIcL59.js → da-DK-DaA3zK0h.js} +0 -0
  861. /package/dist/{da-DK-BhPEeSfb.js → da-DK-Dl1gbqFi.js} +0 -0
  862. /package/dist/{da-DK-CSuIOYvv.js → da-DK-Dr6tf-Lo.js} +0 -0
  863. /package/dist/{da-DK-Dq9DBbxy.js → da-DK-IX9UQUAb.js} +0 -0
  864. /package/dist/{datasetUtil-Zd4TCTDn.js → datasetUtil-BZmNUckr.js} +0 -0
  865. /package/dist/{de-DE-CMc1Fpfl.js → de-DE-8WABT_v_.js} +0 -0
  866. /package/dist/{de-DE-Cb9uR42z.js → de-DE-9zD8WyBP.js} +0 -0
  867. /package/dist/{de-DE-KstYakJ3.js → de-DE-B8F_0Uzg.js} +0 -0
  868. /package/dist/{de-DE-UxQXcw2Z.js → de-DE-BG2Pi_Hf.js} +0 -0
  869. /package/dist/{de-DE-BgtEAyle.js → de-DE-C4PzkDzF.js} +0 -0
  870. /package/dist/{de-DE-DIAsDD5Z.js → de-DE-C9UIqdWt.js} +0 -0
  871. /package/dist/{de-DE-Cfa03DOz.js → de-DE-CHdEma9v.js} +0 -0
  872. /package/dist/{de-DE-8TTs3M7a.js → de-DE-CQNX2xWR.js} +0 -0
  873. /package/dist/{de-DE-JbgxmFfV.js → de-DE-CeWgOEe0.js} +0 -0
  874. /package/dist/{de-DE-B8Eby_UK.js → de-DE-Cl0fc0U_.js} +0 -0
  875. /package/dist/{de-DE-BijX4bA6.js → de-DE-D6w76Bhs.js} +0 -0
  876. /package/dist/{de-DE-BnAkTJpS.js → de-DE-DSP4aQRh.js} +0 -0
  877. /package/dist/{debugStore-bZ_bkJeS.js → debugStore-BVjLDPIU.js} +0 -0
  878. /package/dist/{decision-maker-type-Cow3CpUd.js → decision-maker-type-DHBYiKIe.js} +0 -0
  879. /package/dist/{decision-makers-group-BLkUEz0w.js → decision-makers-group-D53oFTHn.js} +0 -0
  880. /package/dist/{digital-wallet-CI3K9Uw0.js → digital-wallet-DwpEiQRS.js} +0 -0
  881. /package/dist/{document-1-aQlMSWwx.js → document-1-CxaeyKLc.js} +0 -0
  882. /package/dist/{document-blurred-B-Wt2Pm6.js → document-blurred-DGXvRTC8.js} +0 -0
  883. /package/dist/{document-cut-off-B6ZR7USy.js → document-cut-off-DbVQzqxC.js} +0 -0
  884. /package/dist/{document-expired-hBQfwBk_.js → document-expired-DKnTJ5T9.js} +0 -0
  885. /package/dist/{document-front-C-0BBlnD.js → document-front-Bn5jsEIh.js} +0 -0
  886. /package/dist/{document-person-CjV96CE2.js → document-person-D2eHDmpC.js} +0 -0
  887. /package/dist/{download-Byq3TeQ7.js → download-CMIVE8tw.js} +0 -0
  888. /package/dist/{edit-1-B3TJrgU8.js → edit-1-CGbUb6L6.js} +0 -0
  889. /package/dist/{el-GR-DKvfOcBT.js → el-GR-6gy3x8Rf.js} +0 -0
  890. /package/dist/{el-GR-WE5RvoaZ.js → el-GR-B5dqrdWm.js} +0 -0
  891. /package/dist/{el-GR-BIJ5syl-.js → el-GR-B7kSlTiS.js} +0 -0
  892. /package/dist/{el-GR-B45eXweN.js → el-GR-BUBdTCMP.js} +0 -0
  893. /package/dist/{el-GR-DzVIM3MW.js → el-GR-BjWgE_1X.js} +0 -0
  894. /package/dist/{el-GR-BaFJE4xB.js → el-GR-Buy5IU8M.js} +0 -0
  895. /package/dist/{el-GR-DhmD_M7I.js → el-GR-C2TaxLbh.js} +0 -0
  896. /package/dist/{el-GR-DYmDnzZe.js → el-GR-CNoP_at_.js} +0 -0
  897. /package/dist/{el-GR-SFcfMp0Q.js → el-GR-CYMJ_CGX.js} +0 -0
  898. /package/dist/{el-GR-JdIfiWWD.js → el-GR-ChOnowdP.js} +0 -0
  899. /package/dist/{el-GR-Bv2QgmVV.js → el-GR-DhZGJfcX.js} +0 -0
  900. /package/dist/{el-GR-DOSF9KOE.js → el-GR-XuQDipDR.js} +0 -0
  901. /package/dist/{en-US-DRNwZI6c.js → en-US-1Tznfcwg.js} +0 -0
  902. /package/dist/{en-US-DuN8U_xd.js → en-US-BEL_lmpv.js} +0 -0
  903. /package/dist/{en-US-CJI3UFnZ.js → en-US-BRfsKsUt.js} +0 -0
  904. /package/dist/{en-US-B8NkYtpw.js → en-US-Bw9LpxPe.js} +0 -0
  905. /package/dist/{en-US-Cv8_OsAw.js → en-US-C-PxehAi.js} +0 -0
  906. /package/dist/{en-US-5p2iDJhN.js → en-US-C6pEYLdI.js} +0 -0
  907. /package/dist/{en-US-BT_egPzn.js → en-US-CXdfrlM6.js} +0 -0
  908. /package/dist/{en-US-BeS_zqnX.js → en-US-Cdk3bjx1.js} +0 -0
  909. /package/dist/{en-US-Cq8S64a_.js → en-US-Ce1lXhRx.js} +0 -0
  910. /package/dist/{en-US-Cya3hns9.js → en-US-ClGcnLh5.js} +0 -0
  911. /package/dist/{en-US-EATAFzTk.js → en-US-D9vXTqQr.js} +0 -0
  912. /package/dist/{en-US-f2kgWe84.js → en-US-DPnnq8LY.js} +0 -0
  913. /package/dist/{en-US-Mma5wIWL.js → en-US-DQLhkpBE.js} +0 -0
  914. /package/dist/{en-US-DNp65pGY.js → en-US-DdArZW-2.js} +0 -0
  915. /package/dist/{en-US-DtWDVC_l.js → en-US-DkCd0fIv.js} +0 -0
  916. /package/dist/{en-US-sJXY3-OZ.js → en-US-DmDPhSJN.js} +0 -0
  917. /package/dist/{en-US-DlwEfQT_.js → en-US-VZ7ytmtB.js} +0 -0
  918. /package/dist/{en-US-Y8C6Dmuq.js → en-US-gwxv5v9w.js} +0 -0
  919. /package/dist/{en-US.instructions-HI_HXwIA.js → en-US.instructions-B6Zz2fWV.js} +0 -0
  920. /package/dist/{en-US.instructions-DJharl6b.js → en-US.instructions-CbjjdEDm.js} +0 -0
  921. /package/dist/{es-ES-DMjKXw-3.js → es-ES-B-tIK-cN.js} +0 -0
  922. /package/dist/{es-ES-DLBRDQJZ.js → es-ES-BPXpnHRY.js} +0 -0
  923. /package/dist/{es-ES-DtlXpZ_5.js → es-ES-BgIsUMnp.js} +0 -0
  924. /package/dist/{es-ES-CaHa-8Wb.js → es-ES-C883ZbTP.js} +0 -0
  925. /package/dist/{es-ES-4opI0QUT.js → es-ES-DBxs7iF7.js} +0 -0
  926. /package/dist/{es-ES-DadFxwkn.js → es-ES-DFSg6LDS.js} +0 -0
  927. /package/dist/{es-ES-C9ahP89x.js → es-ES-DFYOkj68.js} +0 -0
  928. /package/dist/{es-ES-CgcvvmLv.js → es-ES-DK_0xiGy.js} +0 -0
  929. /package/dist/{es-ES-I6sgbCZT.js → es-ES-DaSL4L2E.js} +0 -0
  930. /package/dist/{es-ES-DyrLbt2G.js → es-ES-QIbBo_YM.js} +0 -0
  931. /package/dist/{es-ES-DOQIN_Pf.js → es-ES-oq21mjwX.js} +0 -0
  932. /package/dist/{es-ES-Cigb2wKi.js → es-ES-zQtj9duk.js} +0 -0
  933. /package/dist/{et-EE-CmMB9hVL.js → et-EE-Af13W-XG.js} +0 -0
  934. /package/dist/{et-EE-BM23BrCu.js → et-EE-BkOKxrqy.js} +0 -0
  935. /package/dist/{et-EE-BtoIECkX.js → et-EE-C9XygiEr.js} +0 -0
  936. /package/dist/{et-EE-C_Z4PWda.js → et-EE-CfkcHuFD.js} +0 -0
  937. /package/dist/{et-EE-BfEYv_4i.js → et-EE-Clm5xG7H.js} +0 -0
  938. /package/dist/{et-EE-CjKIw3AU.js → et-EE-CuuT6UiF.js} +0 -0
  939. /package/dist/{et-EE-PTcJ2hRW.js → et-EE-DGfXiMhc.js} +0 -0
  940. /package/dist/{et-EE-DoE8YNk_.js → et-EE-DP5k72Ny.js} +0 -0
  941. /package/dist/{et-EE-BwKPcihb.js → et-EE-D_kA0eDD.js} +0 -0
  942. /package/dist/{et-EE-DM6LdueH.js → et-EE-DsWMEXzs.js} +0 -0
  943. /package/dist/{et-EE-ASxV620T.js → et-EE-RpLsFwBS.js} +0 -0
  944. /package/dist/{external-link-DYtCXxMx.js → external-link-DYiunPV0.js} +0 -0
  945. /package/dist/{fi-FI-BbwbWwYb.js → fi-FI-2vCaB5I_.js} +0 -0
  946. /package/dist/{fi-FI-qP49OAGS.js → fi-FI-BMwsN_ji.js} +0 -0
  947. /package/dist/{fi-FI-B2a7jEBx.js → fi-FI-BYUiGQKy.js} +0 -0
  948. /package/dist/{fi-FI-BALtktMY.js → fi-FI-BYm7CUY2.js} +0 -0
  949. /package/dist/{fi-FI-D1E8MJUW.js → fi-FI-BhZIWccP.js} +0 -0
  950. /package/dist/{fi-FI-azwPyx-k.js → fi-FI-CGqRN2IG.js} +0 -0
  951. /package/dist/{fi-FI-CUapPvf9.js → fi-FI-DJFHw4Gf.js} +0 -0
  952. /package/dist/{fi-FI-C1Ns3CEo.js → fi-FI-DasFIxOy.js} +0 -0
  953. /package/dist/{fi-FI-B78n6HpV.js → fi-FI-LjVAH9we.js} +0 -0
  954. /package/dist/{fi-FI-YpLcMuZy.js → fi-FI-cUN_PaZk.js} +0 -0
  955. /package/dist/{fi-FI-DFDdEnkT.js → fi-FI-lJ4HlHb-.js} +0 -0
  956. /package/dist/{file-6a0FDVyq.js → file-4YWG8UiB.js} +0 -0
  957. /package/dist/{filterProblemsByTaskForms-DwS9T-_E.js → filterProblemsByTaskForms-DGjmBtpp.js} +0 -0
  958. /package/dist/{fr-FR-DgPRYmmJ.js → fr-FR-BEhEatm2.js} +0 -0
  959. /package/dist/{fr-FR-YG31LnB2.js → fr-FR-BlpT5HWY.js} +0 -0
  960. /package/dist/{fr-FR-CzdHSH04.js → fr-FR-BwhO0tqx.js} +0 -0
  961. /package/dist/{fr-FR-Cjf6-Jyc.js → fr-FR-ByTQyNaR.js} +0 -0
  962. /package/dist/{fr-FR-06Yp4eGU.js → fr-FR-CTaavJDz.js} +0 -0
  963. /package/dist/{fr-FR-CK15MC1P.js → fr-FR-D1HpNhTO.js} +0 -0
  964. /package/dist/{fr-FR-CWBeJe7e.js → fr-FR-DnX9lTEQ.js} +0 -0
  965. /package/dist/{fr-FR-D0u4AlOp.js → fr-FR-I5zOELIl.js} +0 -0
  966. /package/dist/{fr-FR-DvCNUz7O.js → fr-FR-IutY4BNm.js} +0 -0
  967. /package/dist/{fr-FR-D34baGa-.js → fr-FR-hE0azhRh.js} +0 -0
  968. /package/dist/{fr-FR-B3vqlNZF.js → fr-FR-qy27JGqF.js} +0 -0
  969. /package/dist/{fr-FR-CIKDSi33.js → fr-FR-smLbfIXK.js} +0 -0
  970. /package/dist/{funds-in-CAnTUH27.js → funds-in-CK4EVzwN.js} +0 -0
  971. /package/dist/{get-scenarios-DnCVdYIC.js → get-scenarios-D432otQE.js} +0 -0
  972. /package/dist/{getNestedPropertyKeys-CVAsNBJ8.js → getNestedPropertyKeys-hT40QMb1.js} +0 -0
  973. /package/dist/{gift-30hYMA9-.js → gift-DHXxWwDY.js} +0 -0
  974. /package/dist/{graph-CzlxS7Vy.js → graph-CYyHScmR.js} +0 -0
  975. /package/dist/{graph-up-CE291Upm.js → graph-up-Cj6w6u5a.js} +0 -0
  976. /package/dist/{graphical-laptop-DX_EZlVD.js → graphical-laptop-xPvp7QKa.js} +0 -0
  977. /package/dist/{headquarter-i418irxh.js → headquarter-L2tqxR2a.js} +0 -0
  978. /package/dist/{hotel-a4lSlfvp.js → hotel-DSymFUyC.js} +0 -0
  979. /package/dist/{house-g9QDTtcl.js → house-BlDqCoY9.js} +0 -0
  980. /package/dist/{hr-HR-Bgny6YH0.js → hr-HR-B0Uv8xVL.js} +0 -0
  981. /package/dist/{hr-HR-C4sBzG1i.js → hr-HR-BEwLtMwp.js} +0 -0
  982. /package/dist/{hr-HR-C7Hp8OgD.js → hr-HR-BXLWA1xd.js} +0 -0
  983. /package/dist/{hr-HR-BnhnItTZ.js → hr-HR-BzyoDD3o.js} +0 -0
  984. /package/dist/{hr-HR-mQCFA1Pe.js → hr-HR-C87yHlGv.js} +0 -0
  985. /package/dist/{hr-HR-FCvgQhQb.js → hr-HR-CUn-0EG-.js} +0 -0
  986. /package/dist/{hr-HR-C12BPU_3.js → hr-HR-DQqy_9ak.js} +0 -0
  987. /package/dist/{hr-HR-B0eeXkQr.js → hr-HR-DwVuRMPc.js} +0 -0
  988. /package/dist/{hr-HR-Cv9n6lNS.js → hr-HR-O1W0RKHg.js} +0 -0
  989. /package/dist/{hr-HR-BQfjrcPC.js → hr-HR-akaQzcCj.js} +0 -0
  990. /package/dist/{hr-HR-C0bGzQNB.js → hr-HR-p1pYKZ12.js} +0 -0
  991. /package/dist/{hu-HU-is6BaLdQ.js → hu-HU-BI_kQFSO.js} +0 -0
  992. /package/dist/{hu-HU-DfYPelYo.js → hu-HU-BN0ZzLka.js} +0 -0
  993. /package/dist/{hu-HU-Bpaw2qU0.js → hu-HU-BRvJDeoB.js} +0 -0
  994. /package/dist/{hu-HU-BrwdCVwT.js → hu-HU-BcBo3Wg7.js} +0 -0
  995. /package/dist/{hu-HU-CeloZXjg.js → hu-HU-Bxg-cJEy.js} +0 -0
  996. /package/dist/{hu-HU-40vuNto8.js → hu-HU-BzAy_OWc.js} +0 -0
  997. /package/dist/{hu-HU-DgjvclPA.js → hu-HU-Ck3m9-by.js} +0 -0
  998. /package/dist/{hu-HU-BcBrcjkc.js → hu-HU-DCcxM8GA.js} +0 -0
  999. /package/dist/{hu-HU-LQ4-J73z.js → hu-HU-DUKYa8hD.js} +0 -0
  1000. /package/dist/{hu-HU-DmlhDBmZ.js → hu-HU-DceMzb3Y.js} +0 -0
  1001. /package/dist/{hu-HU-B34uBEZ9.js → hu-HU-Nb-5azdf.js} +0 -0
  1002. /package/dist/{id-blurred-8OIg137Y.js → id-blurred-CtnwOJmP.js} +0 -0
  1003. /package/dist/{id-cut-off-BzOwUOl_.js → id-cut-off-DTnrMaG3.js} +0 -0
  1004. /package/dist/{id-front-Bfirxdas.js → id-front-BArANgYI.js} +0 -0
  1005. /package/dist/{id-glare-LAYtTogY.js → id-glare-g3bnPQ3v.js} +0 -0
  1006. /package/dist/{image-DobgR711.js → image-BVFb1Gtj.js} +0 -0
  1007. /package/dist/{info-DEkQ-8WE.js → info-Dm7uBQv2.js} +0 -0
  1008. /package/dist/{info-filled-C68IJNrw.js → info-filled-CTRhkYum.js} +0 -0
  1009. /package/dist/{isNewEntity-4QusRCpP.js → isNewEntity-BCb_oxKh.js} +0 -0
  1010. /package/dist/{it-IT-B3v42hPz.js → it-IT-8v9Z1t9f.js} +0 -0
  1011. /package/dist/{it-IT-BCqVu72_.js → it-IT-B0pCVo4V.js} +0 -0
  1012. /package/dist/{it-IT-V8vgqucm.js → it-IT-BDmDOB2T.js} +0 -0
  1013. /package/dist/{it-IT-DdZkV6nQ.js → it-IT-BUfc2_tb.js} +0 -0
  1014. /package/dist/{it-IT-DX5qNq8o.js → it-IT-BrljrojW.js} +0 -0
  1015. /package/dist/{it-IT-gr7SB9fh.js → it-IT-BxdBXweN.js} +0 -0
  1016. /package/dist/{it-IT-Kc1R4_Rn.js → it-IT-C1KwdLpE.js} +0 -0
  1017. /package/dist/{it-IT-BQYdAY1h.js → it-IT-CHuVqZdn.js} +0 -0
  1018. /package/dist/{it-IT-Da1C4AGd.js → it-IT-DK30YvbO.js} +0 -0
  1019. /package/dist/{it-IT-C3AVk1uR.js → it-IT-Dns-1Qbf.js} +0 -0
  1020. /package/dist/{it-IT-BZrpE0qK.js → it-IT-DwcpMh9-.js} +0 -0
  1021. /package/dist/{it-IT-cnETv3Cg.js → it-IT-qe_3rLfB.js} +0 -0
  1022. /package/dist/{ja-JP-DB56llc7.js → ja-JP-AJi9sARI.js} +0 -0
  1023. /package/dist/{ja-JP-D0gz56Ni.js → ja-JP-BTO8X-UN.js} +0 -0
  1024. /package/dist/{ja-JP-ogtt9tGy.js → ja-JP-BzBRpXM1.js} +0 -0
  1025. /package/dist/{ja-JP-DeQYHyel.js → ja-JP-CXZrBJpG.js} +0 -0
  1026. /package/dist/{ja-JP-ei-QPx_X.js → ja-JP-C_E_4yUn.js} +0 -0
  1027. /package/dist/{ja-JP-BgEGc_Ko.js → ja-JP-CcNCEE_H.js} +0 -0
  1028. /package/dist/{ja-JP-D9ybdRsh.js → ja-JP-CeqgYUmV.js} +0 -0
  1029. /package/dist/{ja-JP-CMoTPLi7.js → ja-JP-CwVkOC4Z.js} +0 -0
  1030. /package/dist/{ja-JP-D9Doo4LH.js → ja-JP-DDT5jvAB.js} +0 -0
  1031. /package/dist/{ja-JP-EJJaOy4m.js → ja-JP-DHCGOMkF.js} +0 -0
  1032. /package/dist/{ja-JP-CWS-Pg-_.js → ja-JP-DTqjZ_RP.js} +0 -0
  1033. /package/dist/{ja-JP-C7_6K98B.js → ja-JP-DoROjKZt.js} +0 -0
  1034. /package/dist/{ja-JP-BfhqPamw.js → ja-JP-KN3RFziQ.js} +0 -0
  1035. /package/dist/{keys-fzUbt2xF.js → keys-C4gD4IDn.js} +0 -0
  1036. /package/dist/{listToRecord-4wGOf00H.js → listToRecord-CVX8Zg0w.js} +0 -0
  1037. /package/dist/{location-CGZGwAk9.js → location-CdgN0pnx.js} +0 -0
  1038. /package/dist/{lt-LT-DJkDO0Uf.js → lt-LT-BAQ97F-A.js} +0 -0
  1039. /package/dist/{lt-LT-CTP-6_vr.js → lt-LT-BKGzSDa-.js} +0 -0
  1040. /package/dist/{lt-LT-BrGzLEwY.js → lt-LT-BqkmwEGL.js} +0 -0
  1041. /package/dist/{lt-LT-BhzsTniu.js → lt-LT-CDRKdIqh.js} +0 -0
  1042. /package/dist/{lt-LT-DFZD-gis.js → lt-LT-CinU7Rld.js} +0 -0
  1043. /package/dist/{lt-LT-ChOTn0eR.js → lt-LT-CuwPjwup.js} +0 -0
  1044. /package/dist/{lt-LT-DTo_g5gi.js → lt-LT-DZMHZ8Wm.js} +0 -0
  1045. /package/dist/{lt-LT-948HQZhZ.js → lt-LT-IP4Sz8Gn.js} +0 -0
  1046. /package/dist/{lt-LT-BqS69oFX.js → lt-LT-QPJqX0US.js} +0 -0
  1047. /package/dist/{lt-LT-BogWzvP3.js → lt-LT-bBBImnIr.js} +0 -0
  1048. /package/dist/{lt-LT-Bbh9MWxc.js → lt-LT-obgOauKB.js} +0 -0
  1049. /package/dist/{lv-LV-B6yxwa6Z.js → lv-LV-BlsECQxr.js} +0 -0
  1050. /package/dist/{lv-LV-BuCZvLms.js → lv-LV-C9zoAq4h.js} +0 -0
  1051. /package/dist/{lv-LV-CihtKM8-.js → lv-LV-CHzgorrn.js} +0 -0
  1052. /package/dist/{lv-LV-C8fqHR2g.js → lv-LV-CM9OZxXW.js} +0 -0
  1053. /package/dist/{lv-LV-BKdYq30o.js → lv-LV-D8f1SpLf.js} +0 -0
  1054. /package/dist/{lv-LV-BdQdKiBb.js → lv-LV-DCAvbkAw.js} +0 -0
  1055. /package/dist/{lv-LV-C6cnH9ql.js → lv-LV-Db5Vo-5Y.js} +0 -0
  1056. /package/dist/{lv-LV-CrfpEaoB.js → lv-LV-DlQGKdqk.js} +0 -0
  1057. /package/dist/{lv-LV-BJgLY-OW.js → lv-LV-DvFc-DyR.js} +0 -0
  1058. /package/dist/{lv-LV-T_Ln1nZG.js → lv-LV-OyBe6sGX.js} +0 -0
  1059. /package/dist/{lv-LV-CJlW1MAb.js → lv-LV-uHgCKfLK.js} +0 -0
  1060. /package/dist/{mail-DoEbKDBx.js → mail-Bypo2PCr.js} +0 -0
  1061. /package/dist/{minus-circle-filled-BnkSMCtd.js → minus-circle-filled-WSGE88qh.js} +0 -0
  1062. /package/dist/{nl-NL-CQYif340.js → nl-NL-2uvrEI1a.js} +0 -0
  1063. /package/dist/{nl-NL-DyXx5rzY.js → nl-NL-6qgh_ZGA.js} +0 -0
  1064. /package/dist/{nl-NL-B4zO0Q4_.js → nl-NL-8p9rwsJP.js} +0 -0
  1065. /package/dist/{nl-NL-B1KPiFMu.js → nl-NL-BXTbqvDG.js} +0 -0
  1066. /package/dist/{nl-NL-zA-vxihm.js → nl-NL-BXVVoxv9.js} +0 -0
  1067. /package/dist/{nl-NL-4iZ44kzK.js → nl-NL-CQ0C9N3m.js} +0 -0
  1068. /package/dist/{nl-NL-CQ4ZHb3p.js → nl-NL-CX0UKes1.js} +0 -0
  1069. /package/dist/{nl-NL-CQSu4iNn.js → nl-NL-CYK4qxsi.js} +0 -0
  1070. /package/dist/{nl-NL-CBBxSKzB.js → nl-NL-DIi484Xs.js} +0 -0
  1071. /package/dist/{nl-NL-CDG5kf8l.js → nl-NL-DorNLKpV.js} +0 -0
  1072. /package/dist/{nl-NL-CUHQ8oRU.js → nl-NL-ju3LUcLk.js} +0 -0
  1073. /package/dist/{nl-NL-QXgi4Sal.js → nl-NL-lQdh6BGm.js} +0 -0
  1074. /package/dist/{no-NO-EF5q1jRl.js → no-NO-A9MwJ3y8.js} +0 -0
  1075. /package/dist/{no-NO-Bvhg8wSl.js → no-NO-Bs3p6emQ.js} +0 -0
  1076. /package/dist/{no-NO-3PlX_ro5.js → no-NO-C6RmwGdG.js} +0 -0
  1077. /package/dist/{no-NO-A94R5Tff.js → no-NO-C84jmD65.js} +0 -0
  1078. /package/dist/{no-NO-DKzoUIzk.js → no-NO-CCtUTnqP.js} +0 -0
  1079. /package/dist/{no-NO-D_KcEh_g.js → no-NO-CmZkhB61.js} +0 -0
  1080. /package/dist/{no-NO-C0DXekH-.js → no-NO-D6M4YQQF.js} +0 -0
  1081. /package/dist/{no-NO-BD0f30Fb.js → no-NO-DY_LshSS.js} +0 -0
  1082. /package/dist/{no-NO-BSJ1rjY4.js → no-NO-FfT6jM26.js} +0 -0
  1083. /package/dist/{no-NO-bX8QGp4Y.js → no-NO-cGYgKGw1.js} +0 -0
  1084. /package/dist/{no-NO-BurCBAor.js → no-NO-hgC3Li7e.js} +0 -0
  1085. /package/dist/{onfido-logo-Df1iPjUq.js → onfido-logo-1G-CB3dP.js} +0 -0
  1086. /package/dist/{options-horizontal-D-HDgCXI.js → options-horizontal-DQCtn5hi.js} +0 -0
  1087. /package/dist/{partner-d2hFoENh.js → partner-CcwpM9K1.js} +0 -0
  1088. /package/dist/{passport-blurred-4b12NNQa.js → passport-blurred-DOfrfF0N.js} +0 -0
  1089. /package/dist/{passport-cut-off-BgrPvwDX.js → passport-cut-off-DwNmCL8v.js} +0 -0
  1090. /package/dist/{passport-front-DCH9iXMm.js → passport-front-DLG09n5u.js} +0 -0
  1091. /package/dist/{passport-front-green-DmIh7YIG.js → passport-front-green-Bq6FNZC5.js} +0 -0
  1092. /package/dist/{passport-glare-DIbBXJwz.js → passport-glare-CkhvC36x.js} +0 -0
  1093. /package/dist/{pay-by-link-plane-CPfnEsJ1.js → pay-by-link-plane-Daf-NHRl.js} +0 -0
  1094. /package/dist/{payout-BLb3D4s1.js → payout-XXi2yylB.js} +0 -0
  1095. /package/dist/{payout-bank-accounts-CF8erfdR.js → payout-bank-accounts-0-Q33p3g.js} +0 -0
  1096. /package/dist/{payout-verification-instant-BIx6NDh9.js → payout-verification-instant-DauPH4bQ.js} +0 -0
  1097. /package/dist/{payout-verification-manual-CS34WVa9.js → payout-verification-manual-Cm0DGplr.js} +0 -0
  1098. /package/dist/{person-oQB0xWxS.js → person-BEo7eKOz.js} +0 -0
  1099. /package/dist/{pl-PL-DTGmgjwZ.js → pl-PL-156KzpqG.js} +0 -0
  1100. /package/dist/{pl-PL-ComkJGTw.js → pl-PL-BNxu8295.js} +0 -0
  1101. /package/dist/{pl-PL-Cw63Q49W.js → pl-PL-BVYFKqiG.js} +0 -0
  1102. /package/dist/{pl-PL-NX01GGDD.js → pl-PL-CBZ7wl6h.js} +0 -0
  1103. /package/dist/{pl-PL-C0t949uz.js → pl-PL-Cv1qwhLs.js} +0 -0
  1104. /package/dist/{pl-PL-CWLfHfaM.js → pl-PL-D3NzOQQU.js} +0 -0
  1105. /package/dist/{pl-PL-KKlndUs-.js → pl-PL-DDxFQhlh.js} +0 -0
  1106. /package/dist/{pl-PL-AswdD27E.js → pl-PL-Dpz4EXKB.js} +0 -0
  1107. /package/dist/{pl-PL-BXUkKA8N.js → pl-PL-GHRpKIYs.js} +0 -0
  1108. /package/dist/{pl-PL-10KUcobm.js → pl-PL-RdEbXX76.js} +0 -0
  1109. /package/dist/{pl-PL-BHjlKdWC.js → pl-PL-vU5_jmwK.js} +0 -0
  1110. /package/dist/{plaid-logo-CJ4XmsZ0.js → plaid-logo-0nNUjUmK.js} +0 -0
  1111. /package/dist/{plus-ohr5jEJX.js → plus-C6_ECEwS.js} +0 -0
  1112. /package/dist/{plus-circle-filled-DjQkTAs3.js → plus-circle-filled-DWqwz8on.js} +0 -0
  1113. /package/dist/{pt-BR-Bo-lA5md.js → pt-BR-B5i0TdE9.js} +0 -0
  1114. /package/dist/{pt-BR-1V6vMfTg.js → pt-BR-B9WbwtyP.js} +0 -0
  1115. /package/dist/{pt-BR-BMIZHo3V.js → pt-BR-BM2eCcyF.js} +0 -0
  1116. /package/dist/{pt-BR-DWKF33yP.js → pt-BR-Bd5SyVeF.js} +0 -0
  1117. /package/dist/{pt-BR-BWN_WzRl.js → pt-BR-BdpAz26L.js} +0 -0
  1118. /package/dist/{pt-BR-DtlnqBov.js → pt-BR-BigDE2bv.js} +0 -0
  1119. /package/dist/{pt-BR-CIZtl_8E.js → pt-BR-BjLvBssy.js} +0 -0
  1120. /package/dist/{pt-BR-DUCZ7b8F.js → pt-BR-C7pxsNe-.js} +0 -0
  1121. /package/dist/{pt-BR-Ct1Nhi9U.js → pt-BR-CSfxTFwr.js} +0 -0
  1122. /package/dist/{pt-BR-uWioJEmF.js → pt-BR-CYhLwdOe.js} +0 -0
  1123. /package/dist/{pt-BR-DcbjZDZp.js → pt-BR-DDY3_bvo.js} +0 -0
  1124. /package/dist/{pt-BR-D-RcF3oz.js → pt-BR-Dwht_-_u.js} +0 -0
  1125. /package/dist/{pt-PT-CVNM7GeN.js → pt-PT-3OKhZcS6.js} +0 -0
  1126. /package/dist/{pt-PT-cIRYLrgm.js → pt-PT-BBd1NJRh.js} +0 -0
  1127. /package/dist/{pt-PT-Bq9v0R1E.js → pt-PT-BKUXYNsZ.js} +0 -0
  1128. /package/dist/{pt-PT-BRU9TQPI.js → pt-PT-BTa4QeyR.js} +0 -0
  1129. /package/dist/{pt-PT-BhEGejvl.js → pt-PT-BfaWVW2C.js} +0 -0
  1130. /package/dist/{pt-PT-s_KcBKav.js → pt-PT-Bmgh2Wtd.js} +0 -0
  1131. /package/dist/{pt-PT-Bricv6v-.js → pt-PT-CI47ZET7.js} +0 -0
  1132. /package/dist/{pt-PT-wBADnHVq.js → pt-PT-CJVVRZyV.js} +0 -0
  1133. /package/dist/{pt-PT-HtvJf_Wc.js → pt-PT-DBFZcKHi.js} +0 -0
  1134. /package/dist/{pt-PT-BSdQMcLM.js → pt-PT-MQaQhXQu.js} +0 -0
  1135. /package/dist/{pt-PT-B9BU6WeF.js → pt-PT-UFb_htLN.js} +0 -0
  1136. /package/dist/{pt-PT-CjIFIi4R.js → pt-PT-pmBhUOv3.js} +0 -0
  1137. /package/dist/{recurring-DmyMJdwC.js → recurring-DAkr3oMm.js} +0 -0
  1138. /package/dist/{reporting-CuIVqmAt.js → reporting-D1AXR-Qx.js} +0 -0
  1139. /package/dist/{revenue-accelerate-BN3AdS3k.js → revenue-accelerate-bZDjTfKp.js} +0 -0
  1140. /package/dist/{review-CUy6wn1_.js → review-D8XMCDlT.js} +0 -0
  1141. /package/dist/{ro-RO-DsFmqo3p.js → ro-RO-7iyzlI6_.js} +0 -0
  1142. /package/dist/{ro-RO-CHnLb9tp.js → ro-RO-Bd7X3Shk.js} +0 -0
  1143. /package/dist/{ro-RO-BVo8Lqoc.js → ro-RO-Bf10OHuY.js} +0 -0
  1144. /package/dist/{ro-RO-QlHjtTpP.js → ro-RO-BiNysx6n.js} +0 -0
  1145. /package/dist/{ro-RO-C2tZmDar.js → ro-RO-Bl3OcC_Q.js} +0 -0
  1146. /package/dist/{ro-RO-CkY9jVVi.js → ro-RO-C3g0pSKU.js} +0 -0
  1147. /package/dist/{ro-RO-CCxnXwji.js → ro-RO-CE6NRU4s.js} +0 -0
  1148. /package/dist/{ro-RO-SAbaaKxU.js → ro-RO-D5Cj05wq.js} +0 -0
  1149. /package/dist/{ro-RO-DQFRJwp8.js → ro-RO-D6bG8672.js} +0 -0
  1150. /package/dist/{ro-RO-B8XucTSz.js → ro-RO-D6r0wCQ9.js} +0 -0
  1151. /package/dist/{ro-RO-0Q2YJfJD.js → ro-RO-Rrm0fA3m.js} +0 -0
  1152. /package/dist/{save-CsdmY84G.js → save-BP3zoyVR.js} +0 -0
  1153. /package/dist/{search-BXGLED99.js → search-B9kh99sz.js} +0 -0
  1154. /package/dist/{show-nnMbIf7M.js → show-tcSq1sNX.js} +0 -0
  1155. /package/dist/{singpass-logo-C6TfxlXU.js → singpass-logo-DESKvfOJ.js} +0 -0
  1156. /package/dist/{singpass-logo-small-BcAlrN2f.js → singpass-logo-small-CBW6iXWW.js} +0 -0
  1157. /package/dist/{sk-SK-CxisoTfT.js → sk-SK-BQkrw6JK.js} +0 -0
  1158. /package/dist/{sk-SK-BrbU8K0P.js → sk-SK-BSv5VXox.js} +0 -0
  1159. /package/dist/{sk-SK-BspZv60l.js → sk-SK-BpMbHWuR.js} +0 -0
  1160. /package/dist/{sk-SK-BfoXFhAL.js → sk-SK-C-_WGtZq.js} +0 -0
  1161. /package/dist/{sk-SK-CCluvyNF.js → sk-SK-C4w5-ddS.js} +0 -0
  1162. /package/dist/{sk-SK-Bqy__cWX.js → sk-SK-CT0xaSZx.js} +0 -0
  1163. /package/dist/{sk-SK-DncQ0dRM.js → sk-SK-DoPn0KmU.js} +0 -0
  1164. /package/dist/{sk-SK-Bs5RASpX.js → sk-SK-LVBbnlQt.js} +0 -0
  1165. /package/dist/{sk-SK-DpmfsFPI.js → sk-SK-db-7uoWM.js} +0 -0
  1166. /package/dist/{sk-SK-MF3HRQGz.js → sk-SK-tk_1fC8g.js} +0 -0
  1167. /package/dist/{sk-SK-BsanrSCF.js → sk-SK-y3Dcsvdc.js} +0 -0
  1168. /package/dist/{sl-SI-CrB2P-g-.js → sl-SI-B-t1nY1x.js} +0 -0
  1169. /package/dist/{sl-SI-BsiDU3hz.js → sl-SI-CX-qAqMO.js} +0 -0
  1170. /package/dist/{sl-SI-C5umh4FQ.js → sl-SI-Cas6OuzL.js} +0 -0
  1171. /package/dist/{sl-SI-Bm_KKlP6.js → sl-SI-Csp3skVN.js} +0 -0
  1172. /package/dist/{sl-SI-Ce45OvpM.js → sl-SI-DMVQoGmB.js} +0 -0
  1173. /package/dist/{sl-SI-B-faWNpM.js → sl-SI-DX2rW3Xz.js} +0 -0
  1174. /package/dist/{sl-SI-BvNvjopW.js → sl-SI-DiLuydaN.js} +0 -0
  1175. /package/dist/{sl-SI-CyIN1sc5.js → sl-SI-DohopK0u.js} +0 -0
  1176. /package/dist/{sl-SI-F1ZXve4S.js → sl-SI-DvGN_6N9.js} +0 -0
  1177. /package/dist/{sl-SI-D26FDPwq.js → sl-SI-gUNcHR30.js} +0 -0
  1178. /package/dist/{sl-SI-CG07y9Cp.js → sl-SI-hjNO4Xn7.js} +0 -0
  1179. /package/dist/{solution-payments-C_H8klpJ.js → solution-payments-DLgSZCop.js} +0 -0
  1180. /package/dist/{store-D8kYfDDN.js → store-CBlL6Onf.js} +0 -0
  1181. /package/dist/{summaryItem-Dehjwp8D.js → summaryItem-1qkXaJ3t.js} +0 -0
  1182. /package/dist/{sv-SE-doxSFPnU.js → sv-SE-5JqRNF8X.js} +0 -0
  1183. /package/dist/{sv-SE-5AozcwLo.js → sv-SE-BNhQj0RW.js} +0 -0
  1184. /package/dist/{sv-SE-DKvr6dhk.js → sv-SE-BOEa4u9p.js} +0 -0
  1185. /package/dist/{sv-SE-C2lw5FJ7.js → sv-SE-BRQ91Hv5.js} +0 -0
  1186. /package/dist/{sv-SE-Xh17T6yC.js → sv-SE-BV2EhITc.js} +0 -0
  1187. /package/dist/{sv-SE-JKGeqd9J.js → sv-SE-BhwzqPYQ.js} +0 -0
  1188. /package/dist/{sv-SE-Db35FNLx.js → sv-SE-Bpo3MgEr.js} +0 -0
  1189. /package/dist/{sv-SE-DDCAUQsX.js → sv-SE-Bx_Mk5xx.js} +0 -0
  1190. /package/dist/{sv-SE-BKeJolFs.js → sv-SE-CbOwA6fv.js} +0 -0
  1191. /package/dist/{sv-SE-DaOsGDdk.js → sv-SE-CrJARVpV.js} +0 -0
  1192. /package/dist/{sv-SE-CAQm2GVJ.js → sv-SE-dwaFgb6K.js} +0 -0
  1193. /package/dist/{sv-SE-DR3rE1Ff.js → sv-SE-i9koytKp.js} +0 -0
  1194. /package/dist/{tax-reporting-graph-C96BPKuj.js → tax-reporting-graph-CiYu4sVT.js} +0 -0
  1195. /package/dist/{terminal-1-B3NwyGSs.js → terminal-1-BzltlB2C.js} +0 -0
  1196. /package/dist/{tink-logo-DcMLCEiF.js → tink-logo-Dp4PjbAK.js} +0 -0
  1197. /package/dist/{trackNavigation-LvCP5Vyc.js → trackNavigation--j_v51FT.js} +0 -0
  1198. /package/dist/{trustMemberGuidance-B3VWjXzg.js → trustMemberGuidance-paR1FXfI.js} +0 -0
  1199. /package/dist/{trusted-fields-provider-BHbX2hsp.js → trusted-fields-provider-BXHH-pq0.js} +0 -0
  1200. /package/dist/{types-CNZsK2dZ.js → types-B-8XphGe.js} +0 -0
  1201. /package/dist/{unincorporated-partnership-5MvG_ts4.js → unincorporated-partnership-CtwHVLzp.js} +0 -0
  1202. /package/dist/{upload-5PvAU00H.js → upload-CTc8qjnY.js} +0 -0
  1203. /package/dist/{us-check-tkgqZfdf.js → us-check-NOKy2EZw.js} +0 -0
  1204. /package/dist/{us-check-account-number-Bx4HZPFS.js → us-check-account-number-6XnlzqOK.js} +0 -0
  1205. /package/dist/{us-check-routing-number-BgmESQIR.js → us-check-routing-number-BvTOZiYt.js} +0 -0
  1206. /package/dist/{useId-eJSYfA6i.js → useId-KnIzB9vO.js} +0 -0
  1207. /package/dist/{useToggleContext-DaQUBF8O.js → useToggleContext-CLfowItk.js} +0 -0
  1208. /package/dist/{validatorUtils-DRapRJ6z.js → validatorUtils-D5MKiGfL.js} +0 -0
  1209. /package/dist/{warning-circle-fill-8KMHOOon.js → warning-circle-fill-C6I6QXDZ.js} +0 -0
  1210. /package/dist/{warning-diamond-filled-CKvlLEGk.js → warning-diamond-filled-Bh7Hc8w-.js} +0 -0
  1211. /package/dist/{webinar-D2TO4Mw_.js → webinar-Dgpmntvu.js} +0 -0
  1212. /package/dist/{yapily-logo-LFYkLhpL.js → yapily-logo-BDC11yL7.js} +0 -0
@@ -0,0 +1,1804 @@
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] = "786046ef-bbfe-4454-b0a1-1a13d9111af3", e._sentryDebugIdIdentifier = "sentry-dbid-786046ef-bbfe-4454-b0a1-1a13d9111af3");
4
+ } catch (e) {}
5
+ import { i as Typography, r as useTranslation } from "./translation-HjimzbDK.js";
6
+ import { r as Loader, t as Button } from "./Button-BrEOD5gK.js";
7
+ import { n as httpGet, s as useApiContext } from "./http-BDgJ4fhh.js";
8
+ import { t as LegalEntityTypes } from "./legal-entity-type-VIfNYnJP.js";
9
+ import { t as useSettingsContext } from "./useSettingsContext-DzwVt0W0.js";
10
+ import { n as cloneObject } from "./AnalyticsContext-zvlAxIPp.js";
11
+ import { t as Header } from "./Header-Bc32XYD-.js";
12
+ import { n as datasetUtilities } from "./datasetUtil-BZmNUckr.js";
13
+ import { y as reverseMapping } from "./processCapabilities-CI_g2ItO.js";
14
+ import { f as hasSolePropInLegalEntity } from "./entityAssociationUtil-C0gX4Ewv.js";
15
+ import { t as isEeaCountry } from "./country-C5KY5i2U.js";
16
+ import { t as useAnalyticsContext } from "./useAnalyticsContext-Msf0gvuf.js";
17
+ import { t as SettingNames } from "./types-B-8XphGe.js";
18
+ import { t as useToastContext } from "./useToastContext-DDhNMXJE.js";
19
+ import { t as EndStateLayout } from "./EndStateLayout-Dz4uTeoO.js";
20
+ import { t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-LIw-_KWy.js";
21
+ import { t as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-xWnfp2eN.js";
22
+ import { n as translateTranslatable } from "./utils-g_Wl4-9Z.js";
23
+ import { t as useCreateLegalEntity } from "./useCreateLegalEntity-uE43-Xhu.js";
24
+ import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-DI6qQfWN.js";
25
+ import { t as Address } from "./Address-DHpRtLqT.js";
26
+ import { n as FormFlow, r as FormContextProvider, t as useFormContext } from "./useFormContext-erwyg3F-.js";
27
+ import { i as useFormComposer, n as getRequiredForms, t as addValidityToForms } from "./dropinUtils-DXD6popt.js";
28
+ import { t as ErrorPanel } from "./ErrorPanel-Dk42PPew.js";
29
+ import { t as createFormUtils } from "./formUtils-C0FUvDnF.js";
30
+ import { t as useMultiForm } from "./useMultiForm-B3DLUWOF.js";
31
+ import { t as useTaskLandedEvent } from "./useTaskLandedEvent-8cYtcGCo.js";
32
+ import { c as COUNTRIES_WITH_STATES_DATASET, n as getAddressSchemaLabelsByCountry, t as getAddressSchemaForCountry } from "./utils-DFcH1V_N.js";
33
+ import { i as isValidationError, o as processValidationErrors, s as isMaintenanceModeError } from "./validationError-G6B3LzrO.js";
34
+ import { r as formatObject } from "./utils-oc3EdK6K.js";
35
+ import { t as localizeDateString } from "./localizeDateString-7bO078Ss.js";
36
+ import { t as Field } from "./Field-DH3pDFxY.js";
37
+ import { t as Select } from "./Select-C1GpSzF4.js";
38
+ import { t as Checkbox } from "./Checkbox-DH-0zfp7.js";
39
+ import { t as getFieldProps } from "./getProps-CkZCnNxW.js";
40
+ import { t as Link } from "./Link-ClFY-8_3.js";
41
+ import { t as InputText } from "./InputText--skSkkLS.js";
42
+ import { t as InputDate } from "./InputDate-Xy7Hd1Yr.js";
43
+ import { n as CountryField } from "./CountryField-EbJX8wdL.js";
44
+ import { t as RadioGroup } from "./RadioGroup-DBDwVQAX.js";
45
+ import { t as currencyByCountry } from "./types-DjplYXLf.js";
46
+ 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-Bxhwn4-R.js";
47
+ import { t as NewSummary } from "./NewSummary-tGYwyb6d.js";
48
+ import { t as businessFinancingMultiformRules } from "./validate-DHSybdw4.js";
49
+ import { useEffect, useMemo, useRef, useState } from "preact/hooks";
50
+ import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
51
+ import { useQuery } from "@tanstack/preact-query";
52
+ //#region src/components/EFP/mapping/businessFinancingKeyMappings.ts
53
+ var businessFinancingBaseMapping = {
54
+ legalProceedingsDate: "organization.dateOfInitiationOfLegalProceeding",
55
+ legalInformationInsolvency: "organization.statusOfLegalProceeding",
56
+ legalEntityIdentifier: "organization.globalLegalEntityIdentifier",
57
+ naceCode: "organization.economicSector",
58
+ legalForm: "organization.legalForm",
59
+ legalName: "organization.legalName",
60
+ "registrationAddress.city": "organization.registeredAddress.city",
61
+ "registrationAddress.country": "organization.registeredAddress.country",
62
+ "registrationAddress.postalCode": "organization.registeredAddress.postalCode",
63
+ "registrationAddress.stateOrProvince": "organization.registeredAddress.stateOrProvince",
64
+ "registrationAddress.address": "organization.registeredAddress.street",
65
+ "registrationAddress.otherAddressInformation": "organization.registeredAddress.street2"
66
+ };
67
+ var businessFinancingIndividualMapping = {
68
+ gender: "individual.birthData.genderCode",
69
+ countryOfBirth: "individual.birthData.birthCountry"
70
+ };
71
+ var businessFinancingSoleProprietorMapping = {
72
+ legalProceedingsDate: "soleProprietorship.dateOfInitiationOfLegalProceeding",
73
+ legalInformationInsolvency: "soleProprietorship.statusOfLegalProceeding",
74
+ naceCode: "soleProprietorship.economicSector"
75
+ };
76
+ var businessFinancingComponentsKeyMapping = { ...businessFinancingBaseMapping };
77
+ ({ ...businessFinancingIndividualMapping });
78
+ var businessFinancingSoleProprietorComponentsKeyMapping = { ...businessFinancingSoleProprietorMapping };
79
+ var businessFinancingApiKeyMapping = { ...reverseMapping(businessFinancingBaseMapping) };
80
+ var businessFinancingIndividualApiKeyMapping = { ...reverseMapping(businessFinancingIndividualMapping) };
81
+ var businessFinancingSoleProprietorApiKeyMapping = { ...reverseMapping(businessFinancingSoleProprietorMapping) };
82
+ //#endregion
83
+ //#region src/components/EFP/mapping/mapBusinessFinancingToLegalEntity.ts
84
+ var mapBusinessFinancingToLegalEntity = (data, isIndividualOrSoleProprietor, customMapping) => {
85
+ if (customMapping) return formatObject(data, customMapping);
86
+ return formatObject(data, isIndividualOrSoleProprietor ? businessFinancingSoleProprietorApiKeyMapping : businessFinancingApiKeyMapping);
87
+ };
88
+ //#endregion
89
+ //#region src/components/EFP/tasks/BusinessFinancingDropin/types.ts
90
+ var BusinessFinancingPages = {
91
+ COMPANY_PAGE: "company",
92
+ SOLE_PROPRIETOR_PAGE: "soleProprietor",
93
+ PARENT_COMPANY_PAGE: "parentCompany",
94
+ ULTIMATE_PARENT_COMPANY_PAGE: "ultimateParentCompany"
95
+ };
96
+ var BusinessFinancingRadioIds = {
97
+ YES: "Yes",
98
+ NO: "No"
99
+ };
100
+ var businessFinancingRadioItems = [{
101
+ id: BusinessFinancingRadioIds.YES,
102
+ name: "yes"
103
+ }, {
104
+ id: BusinessFinancingRadioIds.NO,
105
+ name: "no"
106
+ }];
107
+ var businessFinancingParentRadioItems = [{
108
+ id: BusinessFinancingRadioIds.YES,
109
+ name: "yes"
110
+ }, {
111
+ id: BusinessFinancingRadioIds.NO,
112
+ name: "noIdontKnow"
113
+ }];
114
+ var companySchemaKeys = [
115
+ "legalForm",
116
+ "naceCode",
117
+ "numberOfEmployees",
118
+ "doesYourCompanyHaveLEI",
119
+ "legalEntityIdentifier",
120
+ "isCompanyOwnedByAnotherCompany",
121
+ "isParentOwnedByAnotherCompany",
122
+ "financialReportingDate",
123
+ "currency",
124
+ "balanceSheetTotal",
125
+ "annualTurnover",
126
+ "legalInformationInsolvency",
127
+ "legalProceedingsDate"
128
+ ];
129
+ var soleProprietorSchemaKeys = [
130
+ "gender",
131
+ "countryOfBirth",
132
+ "naceCode",
133
+ "legalInformationInsolvency",
134
+ "legalProceedingsDate"
135
+ ];
136
+ var parentCompaniesSchemaKeys = [
137
+ "legalName",
138
+ "legalForm",
139
+ "naceCode",
140
+ "numberOfEmployees",
141
+ "doesYourCompanyHaveLEI",
142
+ "legalEntityIdentifier",
143
+ "isThisAddressTheMainHeadquarters",
144
+ "financialReportingDate",
145
+ "currency",
146
+ "balanceSheetTotal",
147
+ "annualTurnover",
148
+ "legalInformationInsolvency",
149
+ "legalProceedingsDate",
150
+ "registrationAddress",
151
+ "sameAddressAsRootEntity"
152
+ ];
153
+ var businessFinancingForms = {
154
+ company: {
155
+ formId: "company",
156
+ formName: "businessInformation",
157
+ fields: [...companySchemaKeys]
158
+ },
159
+ soleProprietor: {
160
+ formId: "soleProprietor",
161
+ formName: "businessInformation",
162
+ fields: [...soleProprietorSchemaKeys]
163
+ },
164
+ parentCompany: {
165
+ formId: "parentCompany",
166
+ formName: "parentCompanyInformation",
167
+ fields: [...parentCompaniesSchemaKeys]
168
+ },
169
+ ultimateParentCompany: {
170
+ formId: "ultimateParentCompany",
171
+ formName: "ultimateParentCompanyInformation",
172
+ fields: [...parentCompaniesSchemaKeys]
173
+ }
174
+ };
175
+ var BusinessFinancingIndices = {
176
+ COMPANY: "company",
177
+ SOLE_PROPRIETOR: "soleProprietor",
178
+ PARENT_COMPANY: "parentCompany",
179
+ ULTIMATE_PARENT_COMPANY: "ultimateParentCompany"
180
+ };
181
+ //#endregion
182
+ //#region src/components/EFP/tasks/BusinessFinancingDropin/utils.ts
183
+ var getLegalEntityId = (businessFinancingIndex, rootLegalEntity) => {
184
+ if (!rootLegalEntity) return void 0;
185
+ if (businessFinancingIndex === BusinessFinancingIndices.COMPANY || businessFinancingIndex === BusinessFinancingIndices.SOLE_PROPRIETOR) return rootLegalEntity.id;
186
+ if (!rootLegalEntity?.entityAssociations) return void 0;
187
+ const businessFinancingEntityType = BusinessFinancingIndices.PARENT_COMPANY ? "immediateParentCompany" : "ultimateParentCompany";
188
+ return (rootLegalEntity.entityAssociations?.find((entity) => entity.type === businessFinancingEntityType))?.legalEntityId;
189
+ };
190
+ var USER_LOCALE = typeof navigator !== "undefined" ? navigator.language : "en-US";
191
+ var entityHasParentCompany = (data) => data.company?.isCompanyOwnedByAnotherCompany && data.company?.isCompanyOwnedByAnotherCompany === "Yes";
192
+ var entityHasUltimateParentCompany = (data) => data.company?.isParentOwnedByAnotherCompany && data.company?.isParentOwnedByAnotherCompany === "Yes";
193
+ var financialReportsToString = (financialReports) => {
194
+ return {
195
+ ...financialReports,
196
+ numberOfEmployees: financialReports.numberOfEmployees ? financialReports.numberOfEmployees.toString() : void 0,
197
+ annualTurnover: financialReports.annualTurnover ? financialReports.annualTurnover.toString() : void 0,
198
+ balanceSheetTotal: financialReports.balanceSheetTotal ? financialReports.balanceSheetTotal.toString() : void 0
199
+ };
200
+ };
201
+ /**
202
+ * Prepares sole proprietor business financing data for submission.
203
+ * IMPORTANT: Both root LE (individual) and sole prop LE MUST exist before calling this.
204
+ * This function always returns UPDATE payloads (with IDs), never CREATE payloads.
205
+ */
206
+ var prepareSoleProprietorBusinessFinancingSubmitData = (data, rootLegalEntity, soleProprietorLegalEntity) => {
207
+ const businessFinancingData = data.soleProprietor;
208
+ if (!businessFinancingData || !rootLegalEntity?.id || !soleProprietorLegalEntity?.id) return null;
209
+ const individualChanges = mapBusinessFinancingToLegalEntity(businessFinancingData, true, businessFinancingIndividualApiKeyMapping);
210
+ const { identificationData: _identificationData, ...individualWithoutIdData } = rootLegalEntity.individual || {};
211
+ const individualPayload = {
212
+ id: rootLegalEntity.id,
213
+ individual: {
214
+ ...individualWithoutIdData,
215
+ ...individualChanges.individual
216
+ }
217
+ };
218
+ const solePropChanges = mapBusinessFinancingToLegalEntity(businessFinancingData, true, businessFinancingSoleProprietorApiKeyMapping);
219
+ if (!solePropChanges.soleProprietorship) return null;
220
+ if (solePropChanges.soleProprietorship.statusOfLegalProceeding === "iDontKnow") solePropChanges.soleProprietorship.statusOfLegalProceeding = "noLegalActionsTaken";
221
+ if (solePropChanges.soleProprietorship.statusOfLegalProceeding === "iDontKnow" || solePropChanges.soleProprietorship.statusOfLegalProceeding === "noLegalActionsTaken") solePropChanges.soleProprietorship.dateOfInitiationOfLegalProceeding = "";
222
+ return {
223
+ individualPayload,
224
+ solePropPayload: {
225
+ id: soleProprietorLegalEntity.id,
226
+ soleProprietorship: {
227
+ ...soleProprietorLegalEntity.soleProprietorship,
228
+ ...solePropChanges.soleProprietorship
229
+ }
230
+ }
231
+ };
232
+ };
233
+ var prepareBusinessFinancingSubmitData = (businessFinancingIndex, data, rootLegalEntity) => {
234
+ const businessFinancingData = data[businessFinancingIndex];
235
+ if (!businessFinancingData) return null;
236
+ if (businessFinancingIndex === BusinessFinancingIndices.PARENT_COMPANY && !entityHasParentCompany(data)) return null;
237
+ if (businessFinancingIndex === BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY && (!entityHasUltimateParentCompany(data) || !entityHasParentCompany(data))) return null;
238
+ const businessFinancingDetails = mapBusinessFinancingToLegalEntity(businessFinancingData);
239
+ const isSoleProprietor = businessFinancingIndex === BusinessFinancingIndices.SOLE_PROPRIETOR;
240
+ if (isSoleProprietor) throw new Error("Use prepareSoleProprietorBusinessFinancingSubmitData for sole proprietor business financing");
241
+ else if (isSoleProprietor === false) {
242
+ if (!businessFinancingDetails.organization) return null;
243
+ const businessFinancingCountry = businessFinancingDetails.organization.registeredAddress?.country || rootLegalEntity?.organization?.registeredAddress?.country;
244
+ const companyData = businessFinancingData;
245
+ if (companyData.financialReportingDate && isEeaCountry(businessFinancingCountry)) {
246
+ const { balanceSheetTotal: bst, ...restFinancialReport } = mapFinancialInformationToFinancialReport({
247
+ currency: companyData.currency,
248
+ financialReportingDate: companyData.financialReportingDate,
249
+ numberOfEmployees: companyData.numberOfEmployees ? Number(companyData.numberOfEmployees) : void 0,
250
+ balanceSheetTotal: companyData.balanceSheetTotal ? Number(companyData.balanceSheetTotal) : void 0,
251
+ annualTurnover: companyData.annualTurnover ? Number(companyData.annualTurnover) : void 0
252
+ });
253
+ const businessFinancingFinancialReport = {
254
+ ...restFinancialReport,
255
+ netAssets: bst
256
+ };
257
+ businessFinancingDetails.organization.financialReports = [businessFinancingFinancialReport];
258
+ }
259
+ if (!isEeaCountry(businessFinancingCountry)) businessFinancingDetails.organization.financialReports = void 0;
260
+ if (businessFinancingDetails.organization.statusOfLegalProceeding === "iDontKnow") businessFinancingDetails.organization.statusOfLegalProceeding = "noLegalActionsTaken";
261
+ if (businessFinancingDetails.organization.statusOfLegalProceeding === "iDontKnow" || businessFinancingDetails.organization.statusOfLegalProceeding === "noLegalActionsTaken") businessFinancingDetails.organization.dateOfInitiationOfLegalProceeding = "";
262
+ if (companyData.sameAddressAsRootEntity && rootLegalEntity?.organization?.registeredAddress) businessFinancingDetails.organization.registeredAddress = { ...rootLegalEntity.organization.registeredAddress };
263
+ if (companyData.isThisAddressTheMainHeadquarters) businessFinancingDetails.organization.principalPlaceOfBusiness = { ...businessFinancingDetails.organization.registeredAddress };
264
+ if (companyData.doesYourCompanyHaveLEI !== "Yes") delete businessFinancingDetails.organization.globalLegalEntityIdentifier;
265
+ }
266
+ const businessFinancingLegalEntityId = getLegalEntityId(businessFinancingIndex, rootLegalEntity);
267
+ if (businessFinancingLegalEntityId) {
268
+ delete businessFinancingDetails.type;
269
+ businessFinancingDetails.id = businessFinancingLegalEntityId;
270
+ } else {
271
+ delete businessFinancingDetails.id;
272
+ businessFinancingDetails.type = isSoleProprietor ? LegalEntityTypes.SOLE_PROPRIETORSHIP : LegalEntityTypes.ORGANIZATION;
273
+ }
274
+ return businessFinancingDetails;
275
+ };
276
+ var appendBusinessFinancingData = (legalOrganization, businessFinancingData) => {
277
+ if (!legalOrganization || !businessFinancingData) return businessFinancingData;
278
+ const clonedBusinessFinancingData = { ...businessFinancingData };
279
+ let financialReportData = {};
280
+ if (legalOrganization.financialReports) {
281
+ financialReportData = financialReportsToString(mapFinancialReportsToFinancialInformation((Array.isArray(legalOrganization.financialReports) ? legalOrganization.financialReports : [legalOrganization.financialReports]).map(({ netAssets, ...rest }) => ({
282
+ ...rest,
283
+ balanceSheetTotal: rest.balanceSheetTotal ?? netAssets
284
+ })), false));
285
+ if (financialReportData.numberOfEmployees) financialReportData.numberOfEmployees = financialReportData.numberOfEmployees.toString();
286
+ }
287
+ return {
288
+ ...clonedBusinessFinancingData,
289
+ ...financialReportData,
290
+ numberOfEmployees: financialReportData.numberOfEmployees ? financialReportData.numberOfEmployees.toString() : void 0,
291
+ doesYourCompanyHaveLEI: legalOrganization.globalLegalEntityIdentifier ? "Yes" : "No",
292
+ isThisAddressTheMainHeadquarters: legalOrganization.principalPlaceOfBusiness ? "Yes" : clonedBusinessFinancingData.isThisAddressTheMainHeadquarters
293
+ };
294
+ };
295
+ var appendSoleProprietorBusinessFinancingData = (legalArrangement, businessFinancingData) => {
296
+ if (!legalArrangement || !businessFinancingData) return businessFinancingData;
297
+ return {
298
+ ...businessFinancingData,
299
+ naceCode: businessFinancingData.naceCode ?? legalArrangement.economicSector,
300
+ legalInformationInsolvency: businessFinancingData.legalInformationInsolvency ?? legalArrangement.statusOfLegalProceeding,
301
+ legalProceedingsDate: businessFinancingData.legalProceedingsDate ?? legalArrangement.dateOfInitiationOfLegalProceeding
302
+ };
303
+ };
304
+ var handleBusinessFinancingFormSubmission = async (businessFinancingType, details, createFunction, updateFunction, entityId) => {
305
+ if (!details) throw new Error(`Missing details for ${businessFinancingType}`);
306
+ try {
307
+ if (entityId) return await updateFunction({
308
+ ...details,
309
+ id: entityId
310
+ });
311
+ return await createFunction(details);
312
+ } catch (error) {
313
+ const businessFinancingError = /* @__PURE__ */ new Error(`Form submission failed for ${businessFinancingType}`);
314
+ businessFinancingError.actualError = error;
315
+ businessFinancingError.businessFinancingType = businessFinancingError;
316
+ throw businessFinancingError;
317
+ }
318
+ };
319
+ var getCompanySchemaKeys = (country, currentData, schemaKeys) => {
320
+ const fieldsToRemove = [];
321
+ if (!isEeaCountry(country)) fieldsToRemove.push("financialReportingDate", "balanceSheetTotal", "annualTurnover", "currency", "numberOfEmployees");
322
+ if (currentData.isCompanyOwnedByAnotherCompany !== "Yes") fieldsToRemove.push("isParentOwnedByAnotherCompany");
323
+ if (currentData.doesYourCompanyHaveLEI !== "Yes") fieldsToRemove.push("legalEntityIdentifier");
324
+ if (!currentData?.legalInformationInsolvency || ["noLegalActionsTaken", "iDontKnow"].includes(currentData?.legalInformationInsolvency)) fieldsToRemove.push("legalProceedingsDate");
325
+ return schemaKeys.filter((field) => !fieldsToRemove.includes(field));
326
+ };
327
+ var getSoleProprietorSchemaKeys = (currentData, schemaKeys) => {
328
+ const fieldsToRemove = [];
329
+ if (!currentData?.legalInformationInsolvency || ["noLegalActionsTaken", "iDontKnow"].includes(currentData?.legalInformationInsolvency)) fieldsToRemove.push("legalProceedingsDate");
330
+ return schemaKeys.filter((field) => !fieldsToRemove.includes(field));
331
+ };
332
+ var getParentCompanySchemaKeys = (currentData, schemaKeys, rootEntityAddress) => {
333
+ const fieldsToRemove = [];
334
+ if (!isEeaCountry(currentData?.sameAddressAsRootEntity && rootEntityAddress ? rootEntityAddress.country : currentData?.registrationAddress?.country)) fieldsToRemove.push("financialReportingDate", "balanceSheetTotal", "annualTurnover", "currency", "numberOfEmployees");
335
+ if (currentData?.sameAddressAsRootEntity) fieldsToRemove.push("registrationAddress");
336
+ if (currentData.doesYourCompanyHaveLEI !== "Yes") fieldsToRemove.push("legalEntityIdentifier");
337
+ if (!currentData?.legalInformationInsolvency || ["noLegalActionsTaken", "iDontKnow"].includes(currentData?.legalInformationInsolvency)) fieldsToRemove.push("legalProceedingsDate");
338
+ return schemaKeys.filter((field) => !fieldsToRemove.includes(field));
339
+ };
340
+ var getBusinessFinancingRequiredFields = (country, data, rootEntityAddress) => {
341
+ let requiredFields = void 0;
342
+ if (!data) return requiredFields;
343
+ const { company, soleProprietor, parentCompany = {}, ultimateParentCompany = {} } = data;
344
+ if (soleProprietor) {
345
+ requiredFields = {};
346
+ requiredFields.soleProprietor = getSoleProprietorSchemaKeys(soleProprietor, soleProprietorSchemaKeys);
347
+ delete requiredFields.company;
348
+ return requiredFields;
349
+ }
350
+ if (company) {
351
+ requiredFields = {};
352
+ requiredFields.company = getCompanySchemaKeys(country, company, companySchemaKeys);
353
+ }
354
+ if (company?.isCompanyOwnedByAnotherCompany === "Yes") {
355
+ const parentCompanyRequiredFields = getParentCompanySchemaKeys(parentCompany, parentCompaniesSchemaKeys, rootEntityAddress);
356
+ requiredFields = {
357
+ ...requiredFields,
358
+ parentCompany: parentCompanyRequiredFields
359
+ };
360
+ }
361
+ if (company?.isParentOwnedByAnotherCompany === "Yes") {
362
+ const ultimateParentCompanyRequiredFields = getParentCompanySchemaKeys(ultimateParentCompany, parentCompaniesSchemaKeys, rootEntityAddress);
363
+ requiredFields = {
364
+ ...requiredFields,
365
+ ultimateParentCompany: ultimateParentCompanyRequiredFields
366
+ };
367
+ }
368
+ return requiredFields;
369
+ };
370
+ var getAddressCountryForParentCompany = (parentCompany, leAddress) => {
371
+ return parentCompany?.sameAddressAsRootEntity && leAddress ? leAddress?.country : parentCompany?.registrationAddress?.country;
372
+ };
373
+ //#endregion
374
+ //#region src/components/EmbeddedDropins/BusinessFinancingComponent/utils.ts
375
+ var getTranslatedGender = (t, gender) => {
376
+ if (!gender) return void 0;
377
+ const key = {
378
+ M: "male",
379
+ F: "female",
380
+ U: "preferNotToSay"
381
+ }[gender];
382
+ return key ? t(($) => $[key]) : gender;
383
+ };
384
+ var getTranslatedLegalInsolvency = (t, insolvencyData) => {
385
+ if (!insolvencyData) return void 0;
386
+ return insolvencyData === "noLegalActionsTaken" ? t(($) => $["no"]) : t(($) => $[insolvencyData]);
387
+ };
388
+ var getValidUserLocale = (locale) => {
389
+ try {
390
+ new Intl.NumberFormat(locale);
391
+ return locale;
392
+ } catch (error) {
393
+ console.warn(`Invalid locale '${locale}' provided. Falling back to 'en-US'.`, error);
394
+ return "en-US";
395
+ }
396
+ };
397
+ var getFormattedAmount = (value, currency) => {
398
+ if (!value) return void 0;
399
+ const userLocale = getValidUserLocale(USER_LOCALE);
400
+ return `${currency} ${Number(value).toLocaleString(userLocale)}`;
401
+ };
402
+ var formatDataForSummary = (language, t, datasetUtils, data, rootLeAddress) => {
403
+ const summaryData = cloneObject(data) || {};
404
+ const { company, parentCompany, ultimateParentCompany, soleProprietor } = summaryData;
405
+ if (soleProprietor) {
406
+ soleProprietor.naceCode = soleProprietor.naceCodeLabel;
407
+ soleProprietor.countryOfBirth = soleProprietor.countryOfBirth ? datasetUtils.getCountryName(soleProprietor.countryOfBirth) ?? void 0 : void 0;
408
+ soleProprietor.legalInformationInsolvency = getTranslatedLegalInsolvency(t, soleProprietor.legalInformationInsolvency);
409
+ soleProprietor.legalProceedingsDate = soleProprietor.legalProceedingsDate ? localizeDateString(soleProprietor.legalProceedingsDate, language) : void 0;
410
+ if (soleProprietor.gender) soleProprietor.gender = getTranslatedGender(t, soleProprietor.gender);
411
+ }
412
+ if (company) {
413
+ company.legalForm = company.legalFormLabel;
414
+ company.naceCode = company.naceCodeLabel;
415
+ company.legalEntityIdentifier = company.legalEntityIdentifier ?? "None";
416
+ company.legalInformationInsolvency = getTranslatedLegalInsolvency(t, company?.legalInformationInsolvency);
417
+ company.annualTurnover = getFormattedAmount(company.annualTurnover, company.currency);
418
+ company.balanceSheetTotal = getFormattedAmount(company.balanceSheetTotal, company.currency);
419
+ const { legalProceedingsDate, financialReportingDate } = company;
420
+ company.legalProceedingsDate = legalProceedingsDate ? localizeDateString(legalProceedingsDate, language) : void 0;
421
+ company.financialReportingDate = financialReportingDate ? localizeDateString(financialReportingDate, language) : void 0;
422
+ }
423
+ if (parentCompany) {
424
+ const { legalName, legalFormLabel, naceCodeLabel, country, legalEntityIdentifier, legalInformationInsolvency, annualTurnover, currency, balanceSheetTotal, legalProceedingsDate, financialReportingDate, sameAddressAsRootEntity, registrationAddress } = parentCompany;
425
+ if (legalName) {
426
+ parentCompany.legalForm = legalFormLabel;
427
+ parentCompany.naceCode = naceCodeLabel;
428
+ parentCompany.country = country ? datasetUtils.getCountryName(country) : "";
429
+ if (registrationAddress) parentCompany.registrationAddress = {
430
+ ...registrationAddress,
431
+ country: datasetUtils.getCountryName(registrationAddress?.country)
432
+ };
433
+ parentCompany.legalEntityIdentifier = legalEntityIdentifier ?? "None";
434
+ parentCompany.legalInformationInsolvency = getTranslatedLegalInsolvency(t, legalInformationInsolvency);
435
+ parentCompany.annualTurnover = getFormattedAmount(annualTurnover, currency);
436
+ parentCompany.balanceSheetTotal = getFormattedAmount(balanceSheetTotal, currency);
437
+ parentCompany.legalProceedingsDate = legalProceedingsDate ? localizeDateString(legalProceedingsDate, language) : void 0;
438
+ parentCompany.financialReportingDate = financialReportingDate ? localizeDateString(financialReportingDate, language) : void 0;
439
+ if (sameAddressAsRootEntity) {
440
+ delete parentCompany.country;
441
+ summaryData.parentCompany = {
442
+ ...parentCompany,
443
+ registrationAddress: {
444
+ ...rootLeAddress,
445
+ country: datasetUtils.getCountryName(rootLeAddress?.country)
446
+ }
447
+ };
448
+ }
449
+ }
450
+ }
451
+ if (ultimateParentCompany) {
452
+ const { legalName, legalFormLabel, naceCodeLabel, country, legalEntityIdentifier, legalInformationInsolvency, annualTurnover, currency, balanceSheetTotal, legalProceedingsDate, financialReportingDate, sameAddressAsRootEntity, registrationAddress } = ultimateParentCompany;
453
+ if (legalName) {
454
+ ultimateParentCompany.legalForm = legalFormLabel;
455
+ ultimateParentCompany.naceCode = naceCodeLabel;
456
+ ultimateParentCompany.country = country ? datasetUtils.getCountryName(country) : "";
457
+ if (registrationAddress) ultimateParentCompany.registrationAddress = {
458
+ ...registrationAddress,
459
+ country: datasetUtils.getCountryName(registrationAddress?.country)
460
+ };
461
+ ultimateParentCompany.legalEntityIdentifier = legalEntityIdentifier ?? "None";
462
+ ultimateParentCompany.legalInformationInsolvency = getTranslatedLegalInsolvency(t, legalInformationInsolvency);
463
+ ultimateParentCompany.annualTurnover = getFormattedAmount(annualTurnover, currency);
464
+ ultimateParentCompany.balanceSheetTotal = getFormattedAmount(balanceSheetTotal, currency);
465
+ ultimateParentCompany.legalProceedingsDate = legalProceedingsDate ? localizeDateString(legalProceedingsDate, language) : void 0;
466
+ ultimateParentCompany.financialReportingDate = financialReportingDate ? localizeDateString(financialReportingDate, language) : void 0;
467
+ if (sameAddressAsRootEntity) {
468
+ delete ultimateParentCompany.country;
469
+ summaryData.ultimateParentCompany = {
470
+ ...ultimateParentCompany,
471
+ registrationAddress: {
472
+ ...rootLeAddress,
473
+ country: datasetUtils.getCountryName(rootLeAddress?.country)
474
+ }
475
+ };
476
+ }
477
+ }
478
+ }
479
+ return summaryData;
480
+ };
481
+ //#endregion
482
+ //#region src/components/EFP/mapping/mapLegalEntityToBusinessFinancing.ts
483
+ var mapLegalEntityToBusinessFinancing = (legalEntity) => {
484
+ if (legalEntity.type === LegalEntityTypes.SOLE_PROPRIETORSHIP) return formatObject(legalEntity, businessFinancingSoleProprietorComponentsKeyMapping);
485
+ if (legalEntity.type === LegalEntityTypes.INDIVIDUAL) {
486
+ if (legalEntity.entityAssociations?.find((ea) => ea.entityType === LegalEntityTypes.SOLE_PROPRIETORSHIP && ea.associatorId === legalEntity.id)) {
487
+ const solePropMapped = formatObject(legalEntity, businessFinancingSoleProprietorComponentsKeyMapping);
488
+ const birthData = legalEntity.individual?.birthData;
489
+ return {
490
+ ...solePropMapped,
491
+ gender: birthData?.genderCode || legalEntity.individual?.gender,
492
+ countryOfBirth: birthData?.birthCountry || legalEntity.individual?.countryOfBirth
493
+ };
494
+ }
495
+ }
496
+ return formatObject(legalEntity, businessFinancingComponentsKeyMapping);
497
+ };
498
+ //#endregion
499
+ //#region src/api/datasets/useNaceCodes.ts
500
+ var getNaceCodes = async (baseUrl) => {
501
+ return httpGet({
502
+ baseUrl,
503
+ path: `datasets/naceCodes`
504
+ });
505
+ };
506
+ var useNaceCodes = (options) => {
507
+ const { baseUrl } = useApiContext();
508
+ return useQuery({
509
+ queryKey: ["naceCodes"],
510
+ queryFn: () => getNaceCodes(baseUrl.value),
511
+ ...options
512
+ });
513
+ };
514
+ //#endregion
515
+ //#region src/components/EFP/fields/NaceCodeField/NaceCodeField.tsx
516
+ function NaceCodeField({ name = "naceCode", data, valid, errorMessage, label, readonly, handleChangeFor }) {
517
+ const { t: commonT } = useTranslation("common");
518
+ const { data: naceCodesData } = useNaceCodes();
519
+ const handleChangeForRef = useRef(handleChangeFor);
520
+ useEffect(() => {
521
+ handleChangeForRef.current = handleChangeFor;
522
+ }, [handleChangeFor]);
523
+ const handleChangeForNaceCode = (e) => {
524
+ const naceCodeEvent = { target: {
525
+ name: "naceCode",
526
+ value: e.target.value
527
+ } };
528
+ handleChangeFor("naceCode")(naceCodeEvent);
529
+ };
530
+ useEffect(() => {
531
+ const naceCodeEvent = { target: {
532
+ name: "naceCodeLabel",
533
+ value: naceCodesData?.find((naceCode) => naceCode.id === data.naceCode)?.name
534
+ } };
535
+ handleChangeForRef.current("naceCodeLabel")(naceCodeEvent);
536
+ }, [data.naceCode, naceCodesData]);
537
+ return /* @__PURE__ */ jsx(Field, {
538
+ name,
539
+ label,
540
+ errorMessage,
541
+ isValid: valid.naceCode,
542
+ children: (childProps) => /* @__PURE__ */ jsx(Select, {
543
+ ...childProps,
544
+ name,
545
+ placeholder: commonT(($) => $["selectOne"]),
546
+ selected: data.naceCode,
547
+ items: naceCodesData ?? [],
548
+ readonly: readonly && !!data,
549
+ onChange: handleChangeForNaceCode
550
+ })
551
+ });
552
+ }
553
+ var BusinessFinancing_module_default = {
554
+ "business-financing-lei-radio": "adyen-kyc-business-financing-lei-radio",
555
+ businessFinancingLeiRadio: "adyen-kyc-business-financing-lei-radio",
556
+ "business-financing-title": "adyen-kyc-business-financing-title",
557
+ businessFinancingTitle: "adyen-kyc-business-financing-title",
558
+ "business-financing-body": "adyen-kyc-business-financing-body",
559
+ businessFinancingBody: "adyen-kyc-business-financing-body",
560
+ "business-financing-exposure-financials": "adyen-kyc-business-financing-exposure-financials",
561
+ businessFinancingExposureFinancials: "adyen-kyc-business-financing-exposure-financials",
562
+ "business-financing-structured-address": "adyen-kyc-business-financing-structured-address",
563
+ businessFinancingStructuredAddress: "adyen-kyc-business-financing-structured-address"
564
+ };
565
+ //#endregion
566
+ //#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingBusinessInformation.tsx
567
+ var businessInformationFields = [
568
+ "legalForm",
569
+ "naceCode",
570
+ "naceCodeLabel",
571
+ "legalFormLabel",
572
+ "doesYourCompanyHaveLEI",
573
+ "legalEntityIdentifier"
574
+ ];
575
+ function BusinessFinancingBusinessInformation(props) {
576
+ const { data, valid, errors, country, handleFieldChange, fieldValidationErrors, targetPage, sectionHeading, hideSectionHeading, isSoleProprietor } = props;
577
+ const { t: businessFinancingT } = useTranslation("businessFinancing");
578
+ const { t: commonT } = useTranslation("common");
579
+ const formUtils = createFormUtils(props, commonT);
580
+ if (!handleFieldChange) return;
581
+ const isMainCompany = targetPage === BusinessFinancingPages.COMPANY_PAGE;
582
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
583
+ !hideSectionHeading && /* @__PURE__ */ jsx(Typography, {
584
+ el: "h3",
585
+ variant: "title",
586
+ className: BusinessFinancing_module_default.businessFinancingTitle,
587
+ children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["businessInformation"])
588
+ }),
589
+ !isSoleProprietor && /* @__PURE__ */ jsx(LegalFormField, {
590
+ name: "legalForm",
591
+ countryCode: country,
592
+ data: { legalForm: data?.legalForm },
593
+ valid: { legalForm: valid?.legalForm },
594
+ errorMessage: formUtils.getErrorMessage("legalForm", errors, fieldValidationErrors),
595
+ handleChangeFor: handleFieldChange,
596
+ readonly: false,
597
+ label: businessFinancingT(($) => $["businessStructure"])
598
+ }),
599
+ /* @__PURE__ */ jsx(NaceCodeField, {
600
+ name: "naceCode",
601
+ data: { naceCode: data?.naceCode },
602
+ valid: { naceCode: valid?.naceCode },
603
+ errorMessage: formUtils.getErrorMessage("naceCode", errors, fieldValidationErrors),
604
+ handleChangeFor: handleFieldChange,
605
+ readonly: false,
606
+ label: businessFinancingT(($) => $["industryAndNaceCode"])
607
+ }),
608
+ !isSoleProprietor && /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Field, {
609
+ el: "fieldset",
610
+ name: "doesYourCompanyHaveLEI",
611
+ label: businessFinancingT(($) => $[isMainCompany ? "doesYourCompanyHaveLEI" : "doesThisCompanyHaveLEI"]),
612
+ helper: /* @__PURE__ */ jsxs(Typography, {
613
+ el: "div",
614
+ variant: "body",
615
+ color: "secondary",
616
+ className: BusinessFinancing_module_default.businessFinancingBody,
617
+ children: [
618
+ businessFinancingT(($) => $["anLEIIsAUniqueCode"]),
619
+ " ",
620
+ /* @__PURE__ */ jsx(Link, {
621
+ href: "https://search.gleif.org/#/search/",
622
+ external: true,
623
+ inline: true,
624
+ children: businessFinancingT(($) => $["lookUpYourLEI"])
625
+ })
626
+ ]
627
+ }),
628
+ errorMessage: formUtils.getErrorMessage("doesYourCompanyHaveLEI", errors, fieldValidationErrors),
629
+ children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
630
+ ...childProps,
631
+ name: "doesYourCompanyHaveLEI",
632
+ items: isMainCompany ? businessFinancingRadioItems : businessFinancingParentRadioItems,
633
+ value: data?.doesYourCompanyHaveLEI,
634
+ disabled: false,
635
+ className: BusinessFinancing_module_default.businessFinancingLeiRadio,
636
+ onChange: handleFieldChange("doesYourCompanyHaveLEI"),
637
+ "aria-required": true,
638
+ "aria-invalid": !valid?.doesYourCompanyHaveLEI
639
+ })
640
+ }), data?.doesYourCompanyHaveLEI === "Yes" && /* @__PURE__ */ jsx(Field, {
641
+ name: "legalEntityIdentifier",
642
+ label: businessFinancingT(($) => $["legalEntityIdentifier"]),
643
+ errorMessage: formUtils.getErrorMessage("legalEntityIdentifier", errors, fieldValidationErrors),
644
+ isValid: valid?.legalEntityIdentifier,
645
+ helper: commonT(($) => $["enterNCharactersWithAMixForExample"], {
646
+ numChars: 20,
647
+ example: "529900T8BM49AURSDO55"
648
+ }),
649
+ children: (childProps) => /* @__PURE__ */ jsx(InputText, {
650
+ ...childProps,
651
+ name: "legalEntityIdentifier",
652
+ value: data?.legalEntityIdentifier,
653
+ readonly: false,
654
+ onInput: handleFieldChange("legalEntityIdentifier", "input"),
655
+ onBlur: handleFieldChange("legalEntityIdentifier", "blur"),
656
+ "aria-required": true,
657
+ "aria-invalid": !valid?.legalEntityIdentifier,
658
+ isValid: valid?.legalEntityIdentifier
659
+ })
660
+ })] })
661
+ ] });
662
+ }
663
+ //#endregion
664
+ //#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingFinancialInformation.tsx
665
+ var TODAY_DATE$1 = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
666
+ var financialInformationFields = [
667
+ "numberOfEmployees",
668
+ "financialReportingDate",
669
+ "legalEntityIdentifier",
670
+ "currency",
671
+ "balanceSheetTotal",
672
+ "annualTurnover"
673
+ ];
674
+ function BusinessFinancingFinancialInformation(props) {
675
+ const { data, valid, errors, country, sectionHeading, handleFieldChange, fieldValidationErrors } = props;
676
+ const { t: businessFinancingT, i18n: i18next } = useTranslation("businessFinancing");
677
+ const { t: commonT } = useTranslation("common");
678
+ const formUtils = createFormUtils(props, commonT);
679
+ const currenciesForCurrCountry = useMemo(() => currencyByCountry[country] ?? [], [country]);
680
+ if (!handleFieldChange) return;
681
+ const financialData = data;
682
+ const financialErrors = errors;
683
+ const isFinancialDataValid = valid;
684
+ const [firstCurrency] = currenciesForCurrCountry;
685
+ const defaultCurrency = firstCurrency ?? "EUR";
686
+ if (currenciesForCurrCountry.length === 1 && data?.currency !== firstCurrency) handleFieldChange("currency")(firstCurrency);
687
+ return /* @__PURE__ */ jsxs("section", { children: [
688
+ /* @__PURE__ */ jsx(Typography, {
689
+ el: "h3",
690
+ variant: "title",
691
+ className: BusinessFinancing_module_default.businessFinancingTitle,
692
+ children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["businessFinancials"])
693
+ }),
694
+ /* @__PURE__ */ jsx(Field, {
695
+ name: "numberOfEmployees",
696
+ label: businessFinancingT(($) => $["numberOfEmployees"]),
697
+ helper: businessFinancingT(($) => $["theNumberOfIndividualsReceivingAWageOrSalary"]),
698
+ errorMessage: formUtils.getErrorMessage("numberOfEmployees", errors, fieldValidationErrors),
699
+ isValid: valid?.numberOfEmployees,
700
+ children: (childProps) => /* @__PURE__ */ jsx(InputNumber, {
701
+ ...childProps,
702
+ "aria-required": true,
703
+ "aria-invalid": !valid?.numberOfEmployees,
704
+ name: "numberOfEmployees",
705
+ min: "0",
706
+ step: "1",
707
+ value: data?.numberOfEmployees,
708
+ onInput: handleFieldChange("numberOfEmployees", "input"),
709
+ onBlur: handleFieldChange("numberOfEmployees", "blur")
710
+ })
711
+ }),
712
+ currenciesForCurrCountry?.length > 1 && /* @__PURE__ */ jsx(Currency, {
713
+ country,
714
+ data: formUtils.getFieldData(financialData, CURRENCY_FIELD),
715
+ errors: formUtils.getFieldErrors(financialErrors, fieldValidationErrors, CURRENCY_FIELD),
716
+ handleChangeFor: handleFieldChange,
717
+ labels: { currency: businessFinancingT(($) => $["financialStatementReportingCurrency"]) },
718
+ readonly: formUtils.isReadOnly("currency"),
719
+ valid: formUtils.getFieldValid(isFinancialDataValid, CURRENCY_FIELD)
720
+ }),
721
+ /* @__PURE__ */ jsxs("div", {
722
+ className: BusinessFinancing_module_default.businessFinancingExposureFinancials,
723
+ children: [
724
+ /* @__PURE__ */ jsx(Field, {
725
+ name: "balanceSheetTotal",
726
+ label: businessFinancingT(($) => $["balanceSheetTotal"]),
727
+ helper: businessFinancingT(($) => $["theSumOfTotalLiabilities"]),
728
+ errorMessage: formUtils.getErrorMessage("balanceSheetTotal", errors, fieldValidationErrors),
729
+ isValid: valid?.balanceSheetTotal,
730
+ children: (childProps) => /* @__PURE__ */ jsx(InputCurrency, {
731
+ ...childProps,
732
+ "aria-required": formUtils.isRequiredField("balanceSheetTotal"),
733
+ "aria-invalid": !valid?.balanceSheetTotal,
734
+ locale: i18next.language,
735
+ currency: data?.currency ?? defaultCurrency,
736
+ amount: data?.balanceSheetTotal ? Number(data?.balanceSheetTotal) : void 0,
737
+ onAmountChanged: handleFieldChange("balanceSheetTotal")
738
+ })
739
+ }),
740
+ /* @__PURE__ */ jsx(Field, {
741
+ name: "financialReportingDate",
742
+ label: businessFinancingT(($) => $["statementReportingDate"]),
743
+ helper: businessFinancingT(($) => $["useTheMoreRecentOfTheReportingDates"]),
744
+ errorMessage: formUtils.getErrorMessage("financialReportingDate", errors, fieldValidationErrors),
745
+ isValid: valid?.financialReportingDate,
746
+ children: (childProps) => /* @__PURE__ */ jsx(InputDate, {
747
+ ...childProps,
748
+ name: "financialReportingDate",
749
+ value: data?.financialReportingDate,
750
+ onInput: handleFieldChange("financialReportingDate", "input"),
751
+ onBlur: handleFieldChange("financialReportingDate", "blur"),
752
+ "aria-required": true,
753
+ "aria-invalid": !valid?.financialReportingDate,
754
+ max: TODAY_DATE$1
755
+ })
756
+ }),
757
+ /* @__PURE__ */ jsx(Field, {
758
+ name: "annualTurnover",
759
+ label: businessFinancingT(($) => $["annualTurnover"]),
760
+ helper: businessFinancingT(($) => $["theAnnualSalesRevenue"]),
761
+ errorMessage: formUtils.getErrorMessage("annualTurnover", errors, fieldValidationErrors),
762
+ isValid: valid?.annualTurnover,
763
+ children: (childProps) => /* @__PURE__ */ jsx(InputCurrency, {
764
+ ...childProps,
765
+ name: "annualTurnover",
766
+ "aria-required": formUtils.isRequiredField("annualTurnover"),
767
+ "aria-invalid": !valid?.annualTurnover,
768
+ locale: i18next.language,
769
+ currency: data?.currency ?? defaultCurrency,
770
+ amount: data?.annualTurnover ? Number(data?.annualTurnover) : void 0,
771
+ onAmountChanged: handleFieldChange("annualTurnover")
772
+ })
773
+ })
774
+ ]
775
+ })
776
+ ] });
777
+ }
778
+ //#endregion
779
+ //#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingLegalInformation.tsx
780
+ var TODAY_DATE = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
781
+ var legalInformationFields = ["legalInformationInsolvency", "legalProceedingsDate"];
782
+ function BusinessFinancingLegalInformation(props) {
783
+ const { data, valid, errors, fieldValidationErrors, handleFieldChange, sectionHeading } = props;
784
+ const { t: businessFinancingT } = useTranslation("businessFinancing");
785
+ const { t: commonT } = useTranslation("common");
786
+ const formUtils = createFormUtils(props, commonT);
787
+ if (!handleFieldChange) return;
788
+ const legalInformationInsolvencyItems = [
789
+ {
790
+ id: "noLegalActionsTaken",
791
+ name: commonT(($) => $["no"])
792
+ },
793
+ {
794
+ id: "underJudicialAdministration",
795
+ name: businessFinancingT(($) => $["yesTheCompanyIsUnderJudicialAdministration"])
796
+ },
797
+ {
798
+ id: "bankruptcyInsolvency",
799
+ name: businessFinancingT(($) => $["yesTheCompanyIsFilingForBankruptcy"])
800
+ },
801
+ {
802
+ id: "otherLegalMeasures",
803
+ name: businessFinancingT(($) => $["yesTheCompanyIsFacingOtherLegalMeasures"])
804
+ },
805
+ {
806
+ id: "iDontKnow",
807
+ name: commonT(($) => $["iDontKnow"])
808
+ }
809
+ ];
810
+ const showLegalProceedingsDateField = data?.legalInformationInsolvency && !["noLegalActionsTaken", "iDontKnow"].includes(data?.legalInformationInsolvency);
811
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
812
+ /* @__PURE__ */ jsx(Typography, {
813
+ el: "h3",
814
+ variant: "title",
815
+ className: BusinessFinancing_module_default.businessFinancingTitle,
816
+ children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["legalInformation"])
817
+ }),
818
+ /* @__PURE__ */ jsx(Field, {
819
+ name: "legalInformationInsolvency",
820
+ label: businessFinancingT(($) => $["legalInformationInsolvency"]),
821
+ errorMessage: formUtils.getErrorMessage("legalInformationInsolvency", errors, fieldValidationErrors),
822
+ isValid: valid?.legalInformationInsolvency,
823
+ children: (childProps) => /* @__PURE__ */ jsx(Select, {
824
+ ...childProps,
825
+ onChange: handleFieldChange("legalInformationInsolvency", "blur"),
826
+ name: "legalInformationInsolvency",
827
+ placeholder: commonT(($) => $["selectOne"]),
828
+ selected: data?.legalInformationInsolvency,
829
+ items: legalInformationInsolvencyItems,
830
+ "aria-required": true,
831
+ "aria-invalid": !valid?.legalInformationInsolvency
832
+ })
833
+ }),
834
+ showLegalProceedingsDateField && /* @__PURE__ */ jsx(Field, {
835
+ name: "legalProceedingsDate",
836
+ label: businessFinancingT(($) => $["legalProceedingsDate"]),
837
+ errorMessage: formUtils.getErrorMessage("legalProceedingsDate", errors, fieldValidationErrors),
838
+ isValid: valid?.legalProceedingsDate,
839
+ children: (childProps) => /* @__PURE__ */ jsx(InputDate, {
840
+ ...childProps,
841
+ name: "legalProceedingsDate",
842
+ value: data.legalProceedingsDate,
843
+ onInput: handleFieldChange("legalProceedingsDate", "input"),
844
+ onBlur: handleFieldChange("legalProceedingsDate", "blur"),
845
+ "aria-required": true,
846
+ "aria-invalid": !valid?.legalProceedingsDate,
847
+ max: TODAY_DATE
848
+ })
849
+ })
850
+ ] });
851
+ }
852
+ //#endregion
853
+ //#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingOwnershipStructure.tsx
854
+ var ownershipStructureFields = ["isCompanyOwnedByAnotherCompany", "isParentOwnedByAnotherCompany"];
855
+ function BusinessFinancingOwnershipStructure(props) {
856
+ const { data, valid, errors = {}, legalEntity, fieldValidationErrors, handleFieldChange } = props;
857
+ const { t: businessFinancingT } = useTranslation("businessFinancing");
858
+ const { t: commonT } = useTranslation("common");
859
+ const formUtils = createFormUtils(props, commonT);
860
+ if (!handleFieldChange) return;
861
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
862
+ /* @__PURE__ */ jsx(Typography, {
863
+ el: "h3",
864
+ variant: "title",
865
+ className: BusinessFinancing_module_default.businessFinancingTitle,
866
+ children: businessFinancingT(($) => $["ownershipStructure"])
867
+ }),
868
+ /* @__PURE__ */ jsx(Field, {
869
+ el: "fieldset",
870
+ name: "isCompanyOwnedByAnotherCompany",
871
+ label: businessFinancingT(($) => $["isCompanyOwnedByAnotherCompany"], { company: legalEntity?.organization ? legalEntity.organization.legalName : "" }),
872
+ errorMessage: formUtils.getErrorMessage("isCompanyOwnedByAnotherCompany", errors, fieldValidationErrors),
873
+ helper: /* @__PURE__ */ jsx(Typography, {
874
+ el: "div",
875
+ variant: "body",
876
+ color: "secondary",
877
+ className: BusinessFinancing_module_default.businessFinancingBody,
878
+ children: businessFinancingT(($) => $["thisMeansYouHaveAParentCompany"])
879
+ }),
880
+ children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
881
+ ...childProps,
882
+ name: "isCompanyOwnedByAnotherCompany",
883
+ items: businessFinancingRadioItems,
884
+ value: data?.isCompanyOwnedByAnotherCompany,
885
+ className: BusinessFinancing_module_default.businessFinancingLeiRadio,
886
+ disabled: false,
887
+ onChange: handleFieldChange("isCompanyOwnedByAnotherCompany"),
888
+ "aria-required": true,
889
+ "aria-invalid": !valid?.isCompanyOwnedByAnotherCompany
890
+ })
891
+ }),
892
+ data?.isCompanyOwnedByAnotherCompany === "Yes" && /* @__PURE__ */ jsx(Field, {
893
+ el: "fieldset",
894
+ name: "isParentOwnedByAnotherCompany",
895
+ label: businessFinancingT(($) => $["isParentOwnedByAnotherCompany"]),
896
+ helper: /* @__PURE__ */ jsx(Typography, {
897
+ el: "div",
898
+ variant: "body",
899
+ color: "secondary",
900
+ className: BusinessFinancing_module_default.businessFinancingBody,
901
+ children: businessFinancingT(($) => $["thisMeansYouHaveAnUltimateParentCompany"])
902
+ }),
903
+ errorMessage: formUtils.getErrorMessage("isParentOwnedByAnotherCompany", errors, fieldValidationErrors),
904
+ children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
905
+ ...childProps,
906
+ name: "isParentOwnedByAnotherCompany",
907
+ items: businessFinancingRadioItems,
908
+ value: data.isParentOwnedByAnotherCompany,
909
+ className: BusinessFinancing_module_default.businessFinancingLeiRadio,
910
+ disabled: false,
911
+ onChange: handleFieldChange("isParentOwnedByAnotherCompany"),
912
+ "aria-required": true,
913
+ "aria-invalid": !valid?.isParentOwnedByAnotherCompany
914
+ })
915
+ })
916
+ ] });
917
+ }
918
+ //#endregion
919
+ //#region src/components/EFP/tasks/BusinessFinancingDropin/AdditionalFieldsForBusinessFinancingCompany.tsx
920
+ function AdditionalFieldsForBusinessFinancingCompany(props) {
921
+ const { t: businessFinancingT } = useTranslation("businessFinancing");
922
+ const { t: commonT } = useTranslation("common");
923
+ const { form: { handleChangeFor, data, setValid } } = useFormContext();
924
+ const { country, formVerificationErrors, legalEntity, fieldValidationErrors } = props;
925
+ const formUtils = createFormUtils(props, commonT);
926
+ const handleChange = (fieldName, mode) => handleChangeFor(fieldName, "company", mode);
927
+ const ownershipStructureProps = getFieldProps(props, ownershipStructureFields);
928
+ const businessInformationProps = getFieldProps(props, businessInformationFields);
929
+ const financialInformationProps = getFieldProps(props, financialInformationFields);
930
+ const legalInformationProps = getFieldProps(props, legalInformationFields);
931
+ if ((currencyByCountry[country] ?? [])?.length === 1) setValid("currency", true, "company");
932
+ return /* @__PURE__ */ jsxs("form", {
933
+ "data-testid": "businessFinancingCompany",
934
+ children: [
935
+ /* @__PURE__ */ jsx(Header, {
936
+ title: businessFinancingT(($) => $["additionalInformationForBusinessFinancing"]),
937
+ description: businessFinancingT(($) => $["weNeedAFewMoreDetailsAboutYouAndYourBusiness"]),
938
+ secondary: true
939
+ }),
940
+ /* @__PURE__ */ jsx(ErrorPanel, {
941
+ verificationErrors: formVerificationErrors,
942
+ validationErrors: fieldValidationErrors,
943
+ formUtils,
944
+ id: "ariaErrorField"
945
+ }),
946
+ /* @__PURE__ */ jsx(BusinessFinancingBusinessInformation, {
947
+ ...businessInformationProps,
948
+ handleFieldChange: handleChange,
949
+ country,
950
+ targetPage: BusinessFinancingPages.COMPANY_PAGE,
951
+ sectionHeading: "businessInformation",
952
+ data: formUtils.getFieldData(data?.company ?? {}, businessInformationFields)
953
+ }),
954
+ isEeaCountry(country) && /* @__PURE__ */ jsx(BusinessFinancingFinancialInformation, {
955
+ ...financialInformationProps,
956
+ handleFieldChange: handleChange,
957
+ country,
958
+ targetPage: BusinessFinancingPages.COMPANY_PAGE,
959
+ data: formUtils.getFieldData(data?.company ?? {}, financialInformationFields)
960
+ }),
961
+ /* @__PURE__ */ jsx(BusinessFinancingLegalInformation, {
962
+ ...legalInformationProps,
963
+ country,
964
+ handleFieldChange: handleChange,
965
+ targetPage: BusinessFinancingPages.COMPANY_PAGE,
966
+ sectionHeading: "legalInformation",
967
+ data: formUtils.getFieldData(data?.company ?? {}, legalInformationFields)
968
+ }),
969
+ /* @__PURE__ */ jsx(BusinessFinancingOwnershipStructure, {
970
+ ...ownershipStructureProps,
971
+ legalEntity,
972
+ handleFieldChange: handleChange,
973
+ data: formUtils.getFieldData(data?.company ?? {}, ownershipStructureFields)
974
+ })
975
+ ]
976
+ });
977
+ }
978
+ //#endregion
979
+ //#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingBasicCompanyInformation.tsx
980
+ var basicInformationFields = ["legalName"];
981
+ function BusinessFinancingBasicCompanyInformation(props) {
982
+ const { data, valid, errors, fieldValidationErrors, handleFieldChange, sectionHeading } = props;
983
+ const { t: businessFinancingT } = useTranslation("businessFinancing");
984
+ const { t: commonT } = useTranslation("common");
985
+ const formUtils = createFormUtils(props, commonT);
986
+ if (!handleFieldChange) return;
987
+ return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Typography, {
988
+ el: "h3",
989
+ variant: "title",
990
+ className: BusinessFinancing_module_default.businessFinancingTitle,
991
+ children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["basicCompanyInformation"])
992
+ }), /* @__PURE__ */ jsx(Field, {
993
+ name: "legalName",
994
+ label: businessFinancingT(($) => $["legalName"]),
995
+ errorMessage: formUtils.getErrorMessage("legalName", errors, fieldValidationErrors),
996
+ isValid: valid?.legalName,
997
+ helper: businessFinancingT(($) => $["legalNameIsUsedToIdentifyABusinessWithTheGovernment"]),
998
+ helperPosition: "below",
999
+ children: (childProps) => /* @__PURE__ */ jsx(InputText, {
1000
+ ...childProps,
1001
+ name: "legalName",
1002
+ value: data?.legalName,
1003
+ readonly: false,
1004
+ onInput: handleFieldChange("legalName", "input"),
1005
+ onBlur: handleFieldChange("legalName", "blur"),
1006
+ "aria-required": true,
1007
+ "aria-invalid": !valid?.legalName
1008
+ })
1009
+ })] });
1010
+ }
1011
+ //#endregion
1012
+ //#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingRegisteredAddress.tsx
1013
+ var OPTIONAL_ADDRESS_FIELDS = ["otherAddressInformation"];
1014
+ var registeredAddressFields = [
1015
+ "isThisAddressTheMainHeadquarters",
1016
+ "registrationAddress",
1017
+ "sameAddressAsRootEntity"
1018
+ ];
1019
+ function BusinessFinancingRegisteredAddress(props) {
1020
+ const { data, valid, errors, fieldValidationErrors, shouldValidate, defaultData, handleFieldChange, formId, legalEntity, sectionHeading } = props;
1021
+ const { t: businessFinancingT, i18n } = useTranslation("businessFinancing");
1022
+ const { t: commonT } = useTranslation("common");
1023
+ const formUtils = createFormUtils(props, commonT);
1024
+ const addressCountry = data?.registrationAddress?.country;
1025
+ const datasetUtils = datasetUtilities(i18n.language);
1026
+ const addressSchema = useMemo(() => {
1027
+ return getAddressSchemaForCountry(addressCountry).filter((field) => {
1028
+ if (addressCountry) return !COUNTRIES_WITH_STATES_DATASET.includes(addressCountry) ? field !== "stateOrProvince" : true;
1029
+ return true;
1030
+ });
1031
+ }, [addressCountry]);
1032
+ if (!handleFieldChange) return;
1033
+ const handleRegistrationAddressChange = (state) => {
1034
+ if (!state.data.country) state.data.country = addressCountry;
1035
+ handleFieldChange("registrationAddress")(state.data);
1036
+ };
1037
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
1038
+ /* @__PURE__ */ jsx(Typography, {
1039
+ el: "h3",
1040
+ variant: "title",
1041
+ className: BusinessFinancing_module_default.businessFinancingTitle,
1042
+ children: sectionHeading ? translateTranslatable(commonT, sectionHeading) : commonT(($) => $["registeredAddress"])
1043
+ }),
1044
+ /* @__PURE__ */ jsx(Field, {
1045
+ name: "sameAddressAsRootEntity",
1046
+ errorMessage: errors?.sameAddressAsRootEntity?.errorMessage,
1047
+ isValid: valid?.sameAddressAsRootEntity,
1048
+ children: (childProps) => /* @__PURE__ */ jsx(Checkbox, {
1049
+ ...childProps,
1050
+ "aria-required": formUtils.isRequiredField("sameAddressAsRootEntity"),
1051
+ "aria-invalid": !valid?.sameAddressAsRootEntity,
1052
+ name: "sameAddressAsRootEntity",
1053
+ label: businessFinancingT(($) => $["sameAddressAsRootEntity"], { rootLegalEntityName: legalEntity?.organization?.legalName ?? "" }),
1054
+ checked: data?.sameAddressAsRootEntity ?? false,
1055
+ onChange: handleFieldChange("sameAddressAsRootEntity")
1056
+ })
1057
+ }),
1058
+ data?.sameAddressAsRootEntity && legalEntity?.organization?.registeredAddress ? /* @__PURE__ */ jsxs("div", {
1059
+ className: BusinessFinancing_module_default.businessFinancingStructuredAddress,
1060
+ children: [
1061
+ /* @__PURE__ */ jsx("div", { children: legalEntity.organization.registeredAddress.street }),
1062
+ /* @__PURE__ */ jsx("div", { children: legalEntity.organization.registeredAddress.street2 }),
1063
+ /* @__PURE__ */ jsxs("div", { children: [
1064
+ legalEntity.organization.registeredAddress.city,
1065
+ " ",
1066
+ legalEntity.organization.registeredAddress.postalCode ? `, ${legalEntity.organization.registeredAddress.postalCode}` : ""
1067
+ ] }),
1068
+ /* @__PURE__ */ jsx("div", { children: legalEntity.organization.registeredAddress.stateOrProvince }),
1069
+ /* @__PURE__ */ jsx("div", { children: legalEntity.organization.registeredAddress.country ? datasetUtils.getCountryName(legalEntity.organization.registeredAddress.country) : "" })
1070
+ ]
1071
+ }) : /* @__PURE__ */ jsx(Address, {
1072
+ id: formId,
1073
+ addressType: "registrationAddress",
1074
+ data: {
1075
+ ...defaultData?.registrationAddress,
1076
+ country: addressCountry
1077
+ },
1078
+ labels: addressCountry ? getAddressSchemaLabelsByCountry(addressCountry) : void 0,
1079
+ countryCode: addressCountry,
1080
+ requiredFields: addressSchema,
1081
+ optionalFields: OPTIONAL_ADDRESS_FIELDS,
1082
+ onChange: handleRegistrationAddressChange,
1083
+ shouldValidate
1084
+ }),
1085
+ /* @__PURE__ */ jsx(Field, {
1086
+ el: "fieldset",
1087
+ name: "isThisAddressTheMainHeadquarters",
1088
+ label: businessFinancingT(($) => $["areTheMainHeadquartersAtThisAddress"]),
1089
+ helper: businessFinancingT(($) => $["addressRegisteredWithGovernment"]),
1090
+ errorMessage: formUtils.getErrorMessage("isThisAddressTheMainHeadquarters", errors, fieldValidationErrors),
1091
+ children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
1092
+ ...childProps,
1093
+ name: "isThisAddressTheMainHeadquarters",
1094
+ items: businessFinancingRadioItems,
1095
+ value: data?.isThisAddressTheMainHeadquarters,
1096
+ className: BusinessFinancing_module_default.businessFinancingLeiRadio,
1097
+ disabled: false,
1098
+ onChange: handleFieldChange("isThisAddressTheMainHeadquarters"),
1099
+ "aria-required": true,
1100
+ "aria-invalid": !valid?.isThisAddressTheMainHeadquarters
1101
+ })
1102
+ })
1103
+ ] });
1104
+ }
1105
+ //#endregion
1106
+ //#region src/components/EFP/tasks/BusinessFinancingDropin/AdditionalFieldsForBusinessFinancingParentCompany.tsx
1107
+ var parentCompanyFormId$1 = businessFinancingForms.parentCompany.formId;
1108
+ function AdditionalFieldsForBusinessFinancingParentCompany(props) {
1109
+ const { t: businessFinancingT } = useTranslation("businessFinancing");
1110
+ const { t: commonT } = useTranslation("common");
1111
+ const { form: { handleChangeFor, data, setValid } } = useFormContext();
1112
+ const { country, formVerificationErrors, fieldValidationErrors, legalEntity } = props;
1113
+ const formUtils = createFormUtils(props, commonT);
1114
+ const handleChange = (fieldName, mode) => handleChangeFor(fieldName, "parentCompany", mode);
1115
+ setValid("sameAddressAsRootEntity", true, "parentCompany");
1116
+ const basicCompanyInformationProps = getFieldProps(props, basicInformationFields);
1117
+ const registeredAddressProps = getFieldProps(props, registeredAddressFields);
1118
+ const businessInformationProps = getFieldProps(props, businessInformationFields);
1119
+ const financialInformationProps = getFieldProps(props, financialInformationFields);
1120
+ const legalInformationProps = getFieldProps(props, legalInformationFields);
1121
+ const addressCountry = getAddressCountryForParentCompany(data?.parentCompany, legalEntity?.organization?.registeredAddress);
1122
+ if ((currencyByCountry[addressCountry ?? country] ?? [])?.length === 1) setValid("currency", true, "parentCompany");
1123
+ return /* @__PURE__ */ jsxs("form", {
1124
+ "data-testid": "businessFinancingParentCompany",
1125
+ children: [
1126
+ /* @__PURE__ */ jsx(Typography, {
1127
+ el: "h1",
1128
+ variant: "title-l",
1129
+ className: BusinessFinancing_module_default.businessFinancingBody,
1130
+ children: commonT(($) => $["parentCompanyInformation"])
1131
+ }),
1132
+ /* @__PURE__ */ jsx(Typography, {
1133
+ el: "p",
1134
+ variant: "body",
1135
+ className: BusinessFinancing_module_default.businessFinancingBody,
1136
+ children: businessFinancingT(($) => $["inThePreviousStepOwnedByAParentCompany"])
1137
+ }),
1138
+ /* @__PURE__ */ jsx(ErrorPanel, {
1139
+ verificationErrors: formVerificationErrors,
1140
+ validationErrors: fieldValidationErrors,
1141
+ formUtils,
1142
+ id: "ariaErrorField"
1143
+ }),
1144
+ /* @__PURE__ */ jsx(BusinessFinancingBasicCompanyInformation, {
1145
+ ...basicCompanyInformationProps,
1146
+ sectionHeading: "parentCompanyInformation",
1147
+ handleFieldChange: handleChange,
1148
+ data: formUtils.getFieldData(data?.parentCompany ?? {}, basicInformationFields)
1149
+ }),
1150
+ /* @__PURE__ */ jsx(BusinessFinancingRegisteredAddress, {
1151
+ ...registeredAddressProps,
1152
+ formId: parentCompanyFormId$1,
1153
+ sectionHeading: "parentCompanyAddress",
1154
+ defaultData: data?.parentCompany,
1155
+ legalEntity,
1156
+ handleFieldChange: handleChange,
1157
+ data: formUtils.getFieldData(data?.parentCompany ?? {}, registeredAddressFields)
1158
+ }),
1159
+ /* @__PURE__ */ jsx(BusinessFinancingBusinessInformation, {
1160
+ ...businessInformationProps,
1161
+ hideSectionHeading: true,
1162
+ country: addressCountry ?? country,
1163
+ targetPage: BusinessFinancingPages.PARENT_COMPANY_PAGE,
1164
+ handleFieldChange: handleChange,
1165
+ data: formUtils.getFieldData(data?.parentCompany ?? {}, businessInformationFields)
1166
+ }),
1167
+ isEeaCountry(addressCountry) && /* @__PURE__ */ jsx(BusinessFinancingFinancialInformation, {
1168
+ ...financialInformationProps,
1169
+ country: addressCountry ?? country,
1170
+ targetPage: BusinessFinancingPages.PARENT_COMPANY_PAGE,
1171
+ handleFieldChange: handleChange,
1172
+ data: formUtils.getFieldData(data?.parentCompany ?? {}, financialInformationFields)
1173
+ }),
1174
+ /* @__PURE__ */ jsx(BusinessFinancingLegalInformation, {
1175
+ ...legalInformationProps,
1176
+ country: addressCountry ?? country,
1177
+ targetPage: BusinessFinancingPages.PARENT_COMPANY_PAGE,
1178
+ sectionHeading: "legalInformation",
1179
+ handleFieldChange: handleChange,
1180
+ data: formUtils.getFieldData(data?.parentCompany ?? {}, legalInformationFields)
1181
+ })
1182
+ ]
1183
+ });
1184
+ }
1185
+ //#endregion
1186
+ //#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingSoleProprietorPersonalInformation.tsx
1187
+ var soleProprietorPersonalInformationFields = ["gender", "countryOfBirth"];
1188
+ function BusinessFinancingSoleProprietorPersonalInformation(props) {
1189
+ const { data, valid, errors, handleFieldChange, fieldValidationErrors, sectionHeading } = props;
1190
+ const { t: businessFinancingT } = useTranslation("businessFinancing");
1191
+ const { t: commonT } = useTranslation("common");
1192
+ const formUtils = createFormUtils(props, commonT);
1193
+ if (!handleFieldChange) return;
1194
+ const genderItems = [
1195
+ {
1196
+ id: "M",
1197
+ name: businessFinancingT(($) => $["male"])
1198
+ },
1199
+ {
1200
+ id: "F",
1201
+ name: businessFinancingT(($) => $["female"])
1202
+ },
1203
+ {
1204
+ id: "U",
1205
+ name: businessFinancingT(($) => $["preferNotToSay"])
1206
+ }
1207
+ ];
1208
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
1209
+ /* @__PURE__ */ jsx(Typography, {
1210
+ el: "h3",
1211
+ variant: "title",
1212
+ className: BusinessFinancing_module_default.businessFinancingTitle,
1213
+ children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["personalInformation"])
1214
+ }),
1215
+ /* @__PURE__ */ jsx(CountryField, {
1216
+ data: { country: data?.countryOfBirth },
1217
+ valid: { country: valid?.countryOfBirth },
1218
+ name: "countryOfBirth",
1219
+ errors: { country: formUtils.getErrorMessage("countryOfBirth", errors, fieldValidationErrors) },
1220
+ labels: { country: businessFinancingT(($) => $["countryOfBirth"]) },
1221
+ readonly: formUtils.isReadOnly("countryOfBirth"),
1222
+ handleChangeFor: () => handleFieldChange("countryOfBirth", "input")
1223
+ }),
1224
+ /* @__PURE__ */ jsx(Field, {
1225
+ name: "gender",
1226
+ label: businessFinancingT(($) => $["gender"]),
1227
+ errorMessage: formUtils.getErrorMessage("gender", errors, fieldValidationErrors),
1228
+ isValid: valid?.gender,
1229
+ children: (childProps) => /* @__PURE__ */ jsx(Select, {
1230
+ ...childProps,
1231
+ onChange: handleFieldChange("gender", "blur"),
1232
+ name: "gender",
1233
+ placeholder: commonT(($) => $["selectOne"]),
1234
+ selected: data?.gender,
1235
+ items: genderItems,
1236
+ "aria-required": true,
1237
+ "aria-invalid": !valid?.gender
1238
+ })
1239
+ })
1240
+ ] });
1241
+ }
1242
+ //#endregion
1243
+ //#region src/components/EFP/tasks/BusinessFinancingDropin/AdditionalFieldsForBusinessFinancingSoleProprietor.tsx
1244
+ function AdditionalFieldsForBusinessFinancingSoleProprietor(props) {
1245
+ const { t: businessFinancingT } = useTranslation("businessFinancing");
1246
+ const { t: commonT } = useTranslation("common");
1247
+ const { form: { handleChangeFor, data } } = useFormContext();
1248
+ const { country, formVerificationErrors, fieldValidationErrors } = props;
1249
+ const formUtils = createFormUtils(props, commonT);
1250
+ const handleChange = (fieldName, mode) => handleChangeFor(fieldName, "soleProprietor", mode);
1251
+ const personalInformationProps = getFieldProps(props, soleProprietorPersonalInformationFields);
1252
+ const businessInformationProps = getFieldProps(props, ["naceCode", "naceCodeLabel"]);
1253
+ const legalInformationProps = getFieldProps(props, legalInformationFields);
1254
+ return /* @__PURE__ */ jsxs("form", {
1255
+ "data-testid": "businessFinancingCompany",
1256
+ children: [
1257
+ /* @__PURE__ */ jsx(Header, {
1258
+ title: businessFinancingT(($) => $["additionalInformationForBusinessFinancing"]),
1259
+ description: businessFinancingT(($) => $["weNeedAFewMoreDetailsAboutYouAndYourBusiness"]),
1260
+ secondary: true
1261
+ }),
1262
+ /* @__PURE__ */ jsx(ErrorPanel, {
1263
+ verificationErrors: formVerificationErrors,
1264
+ validationErrors: fieldValidationErrors,
1265
+ formUtils,
1266
+ id: "ariaErrorField"
1267
+ }),
1268
+ /* @__PURE__ */ jsx(BusinessFinancingSoleProprietorPersonalInformation, {
1269
+ ...personalInformationProps,
1270
+ handleFieldChange: handleChange,
1271
+ country,
1272
+ targetPage: BusinessFinancingPages.SOLE_PROPRIETOR_PAGE,
1273
+ sectionHeading: "personalInformation",
1274
+ data: formUtils.getFieldData(data?.soleProprietor ?? {}, soleProprietorPersonalInformationFields)
1275
+ }),
1276
+ /* @__PURE__ */ jsx(BusinessFinancingBusinessInformation, {
1277
+ ...businessInformationProps,
1278
+ handleFieldChange: handleChange,
1279
+ country,
1280
+ targetPage: BusinessFinancingPages.SOLE_PROPRIETOR_PAGE,
1281
+ sectionHeading: "businessInformation",
1282
+ isSoleProprietor: true,
1283
+ data: formUtils.getFieldData(data?.soleProprietor ?? {}, ["naceCode", "naceCodeLabel"])
1284
+ }),
1285
+ /* @__PURE__ */ jsx(BusinessFinancingLegalInformation, {
1286
+ ...legalInformationProps,
1287
+ country,
1288
+ handleFieldChange: handleChange,
1289
+ targetPage: BusinessFinancingPages.SOLE_PROPRIETOR_PAGE,
1290
+ sectionHeading: "legalInformation",
1291
+ data: formUtils.getFieldData(data?.soleProprietor ?? {}, legalInformationFields)
1292
+ })
1293
+ ]
1294
+ });
1295
+ }
1296
+ //#endregion
1297
+ //#region src/components/EFP/tasks/BusinessFinancingDropin/AdditionalFieldsForBusinessFinancingUltimateParentCompany.tsx
1298
+ var ultimateParentCompanyFormId$1 = businessFinancingForms.ultimateParentCompany.formId;
1299
+ function AdditionalFieldsForBusinessFinancingUltimateParentCompany(props) {
1300
+ const { formVerificationErrors, country, fieldValidationErrors, legalEntity } = props;
1301
+ const { t: businessFinancingT } = useTranslation("businessFinancing");
1302
+ const { t: commonT } = useTranslation("common");
1303
+ const formUtils = createFormUtils(props, commonT);
1304
+ const { form: { handleChangeFor, data, setValid } } = useFormContext();
1305
+ const handleChange = (fieldName, mode) => handleChangeFor(fieldName, "ultimateParentCompany", mode);
1306
+ setValid("sameAddressAsRootEntity", true, "ultimateParentCompany");
1307
+ const basicCompanyInformationProps = getFieldProps(props, basicInformationFields);
1308
+ const registeredAddressProps = getFieldProps(props, registeredAddressFields);
1309
+ const businessInformationProps = getFieldProps(props, businessInformationFields);
1310
+ const financialInformationProps = getFieldProps(props, financialInformationFields);
1311
+ const legalInformationProps = getFieldProps(props, legalInformationFields);
1312
+ const addressCountry = getAddressCountryForParentCompany(data?.ultimateParentCompany, legalEntity?.organization?.registeredAddress);
1313
+ if ((currencyByCountry[addressCountry ?? country] ?? [])?.length === 1) setValid("currency", true, "ultimateParentCompany");
1314
+ return /* @__PURE__ */ jsxs("form", {
1315
+ "data-testid": "businessFinancingUltimateParentCompany",
1316
+ children: [
1317
+ /* @__PURE__ */ jsx(Typography, {
1318
+ el: "h1",
1319
+ variant: "title-l",
1320
+ className: BusinessFinancing_module_default.businessFinancingBody,
1321
+ children: commonT(($) => $["ultimateParentCompanyInformation"])
1322
+ }),
1323
+ /* @__PURE__ */ jsx(Typography, {
1324
+ el: "p",
1325
+ variant: "body",
1326
+ className: BusinessFinancing_module_default.businessFinancingBody,
1327
+ children: businessFinancingT(($) => $["inThePreviousStepOwnedByAnUltimateParentCompany"])
1328
+ }),
1329
+ /* @__PURE__ */ jsx(ErrorPanel, {
1330
+ verificationErrors: formVerificationErrors,
1331
+ validationErrors: fieldValidationErrors,
1332
+ formUtils,
1333
+ id: "ariaErrorField"
1334
+ }),
1335
+ /* @__PURE__ */ jsx(BusinessFinancingBasicCompanyInformation, {
1336
+ ...basicCompanyInformationProps,
1337
+ sectionHeading: "ultimateParentCompanyInformation",
1338
+ handleFieldChange: handleChange,
1339
+ data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, basicInformationFields)
1340
+ }),
1341
+ /* @__PURE__ */ jsx(BusinessFinancingRegisteredAddress, {
1342
+ ...registeredAddressProps,
1343
+ formId: ultimateParentCompanyFormId$1,
1344
+ sectionHeading: "ultimateParentCompanyAddress",
1345
+ defaultData: data?.ultimateParentCompany,
1346
+ handleFieldChange: handleChange,
1347
+ data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, registeredAddressFields),
1348
+ legalEntity
1349
+ }),
1350
+ /* @__PURE__ */ jsx(BusinessFinancingBusinessInformation, {
1351
+ ...businessInformationProps,
1352
+ hideSectionHeading: true,
1353
+ country: addressCountry ?? country,
1354
+ targetPage: BusinessFinancingPages.ULTIMATE_PARENT_COMPANY_PAGE,
1355
+ handleFieldChange: handleChange,
1356
+ data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, businessInformationFields)
1357
+ }),
1358
+ isEeaCountry(addressCountry) && /* @__PURE__ */ jsx(BusinessFinancingFinancialInformation, {
1359
+ ...financialInformationProps,
1360
+ country: addressCountry ?? country,
1361
+ targetPage: BusinessFinancingPages.ULTIMATE_PARENT_COMPANY_PAGE,
1362
+ handleFieldChange: handleChange,
1363
+ data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, financialInformationFields)
1364
+ }),
1365
+ /* @__PURE__ */ jsx(BusinessFinancingLegalInformation, {
1366
+ ...legalInformationProps,
1367
+ country: addressCountry ?? country,
1368
+ sectionHeading: "legalInformation",
1369
+ targetPage: BusinessFinancingPages.ULTIMATE_PARENT_COMPANY_PAGE,
1370
+ handleFieldChange: handleChange,
1371
+ data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, legalInformationFields)
1372
+ })
1373
+ ]
1374
+ });
1375
+ }
1376
+ //#endregion
1377
+ //#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingSummary.tsx
1378
+ var omittedSummaryKeys = [
1379
+ "naceCodeLabel",
1380
+ "legalFormLabel",
1381
+ "currency",
1382
+ "doesYourCompanyHaveLEI",
1383
+ "sameAddressAsRootEntity"
1384
+ ];
1385
+ var customLabels = {
1386
+ legalForm: "businessStructure",
1387
+ naceCode: "industryAndNaceCode",
1388
+ balanceSheetTotal: "totalAssets",
1389
+ annualTurnover: "annualTurnover",
1390
+ legalInformationInsolvency: "legalProceedings",
1391
+ isCompanyOwnedByAnotherCompany: "hasParentCompany",
1392
+ isParentOwnedByAnotherCompany: "hasUltimateParentCompany",
1393
+ isThisAddressTheMainHeadquarters: "addressIsHeadquarters"
1394
+ };
1395
+ var isOmmitted = (key) => {
1396
+ return omittedSummaryKeys.includes(key);
1397
+ };
1398
+ var isCustomLabel = (key) => {
1399
+ return key in customLabels;
1400
+ };
1401
+ /**
1402
+ * Business and data layer around Summary, processing all the data
1403
+ */
1404
+ var BusinessFinancingSummary = ({ forms, items, handleEditForm, children }) => {
1405
+ const { t: businessFinancingT } = useTranslation("businessFinancing");
1406
+ const { t: commonT } = useTranslation("common");
1407
+ const formatItemForStructuredList = (data) => {
1408
+ if (!data) return [];
1409
+ const structuredListItems = Object.entries(data).map(([key, value]) => {
1410
+ if (isOmmitted(key) || !value) return;
1411
+ return {
1412
+ term: isCustomLabel(key) ? businessFinancingT(($) => $[customLabels[key]]) : commonT(($) => $[key]),
1413
+ details: value
1414
+ };
1415
+ }).filter((v) => v !== void 0);
1416
+ const structuredListItemsWithInnerForms = [];
1417
+ structuredListItems.map((it) => {
1418
+ if (typeof it?.details === "object") structuredListItemsWithInnerForms.push(...formatItemForStructuredList(it?.details));
1419
+ else structuredListItemsWithInnerForms.push(it);
1420
+ });
1421
+ return structuredListItemsWithInnerForms;
1422
+ };
1423
+ const processSummarySections = (forms) => {
1424
+ return forms.map(({ formId, formName }) => ({
1425
+ formId,
1426
+ label: commonT(($) => $[formName]),
1427
+ items: formatItemForStructuredList(items[formId])
1428
+ }));
1429
+ };
1430
+ return /* @__PURE__ */ jsx(NewSummary, {
1431
+ handleEditForm,
1432
+ sections: processSummarySections(forms),
1433
+ children
1434
+ });
1435
+ };
1436
+ //#endregion
1437
+ //#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingDropin.tsx
1438
+ var getOrgAnalyticsData = (prefix, details) => {
1439
+ const org = details?.organization;
1440
+ const soleProp = details?.soleProprietorship;
1441
+ const entity = org || soleProp;
1442
+ if (!entity) return {};
1443
+ return {
1444
+ [`${prefix}--economicSector`]: entity?.economicSector ?? "",
1445
+ [`${prefix}--legalForm`]: org?.legalForm ?? "",
1446
+ [`${prefix}--statusOfLegalProceeding`]: entity?.statusOfLegalProceeding ?? ""
1447
+ };
1448
+ };
1449
+ var businessFinancingFormsRequiredFields = {
1450
+ soleProprietor: businessFinancingForms.soleProprietor.fields,
1451
+ company: businessFinancingForms.company.fields,
1452
+ parentCompany: businessFinancingForms.parentCompany.fields,
1453
+ ultimateParentCompany: businessFinancingForms.ultimateParentCompany.fields
1454
+ };
1455
+ var parentCompanyFormId = businessFinancingForms.parentCompany.formId;
1456
+ var companyFormId = businessFinancingForms.company.formId;
1457
+ var ultimateParentCompanyFormId = businessFinancingForms.ultimateParentCompany.formId;
1458
+ function BusinessFinancingDropin(props) {
1459
+ const { country, rootLegalEntity, externalOnSubmit, externalOnSubmitLabel, isStandaloneComponent, handleHomeClick } = props;
1460
+ const { t: businessFinancingT } = useTranslation("businessFinancing");
1461
+ const { t: commonT, i18n } = useTranslation("common");
1462
+ const userEvents = useAnalyticsContext();
1463
+ const invalidateRootLegalEntity = useInvalidateRootLegalEntity();
1464
+ const { mutateAsync: createLegalEntity } = useCreateLegalEntity();
1465
+ const { mutateAsync: updateLegalEntity } = useUpdateLegalEntity();
1466
+ const { data: immediateParentCompany, isLoading: immediateParentCompanyIsLoading } = useAssociatedLegalEntity(rootLegalEntity, "immediateParentCompany");
1467
+ const { data: ultimateParentCompany, isLoading: ultimateParentCompanyIsLoading } = useAssociatedLegalEntity(rootLegalEntity, "ultimateParentCompany");
1468
+ const { data: soleProprietor, isLoading: soleProprietorIsLoading } = useAssociatedLegalEntity(rootLegalEntity, "soleProprietorship");
1469
+ /**
1470
+ * Analytics
1471
+ */
1472
+ useTaskLandedEvent("BUSINESS_FINANCING");
1473
+ const derivedData = useMemo(() => {
1474
+ if (immediateParentCompanyIsLoading || ultimateParentCompanyIsLoading || soleProprietorIsLoading) return void 0;
1475
+ const isSoleProprietor = hasSolePropInLegalEntity(rootLegalEntity);
1476
+ const dataFromResponse = {};
1477
+ if (isSoleProprietor && soleProprietor) {
1478
+ dataFromResponse.soleProprietor = mapLegalEntityToBusinessFinancing(rootLegalEntity);
1479
+ dataFromResponse.soleProprietor = appendSoleProprietorBusinessFinancingData(soleProprietor.soleProprietorship, dataFromResponse.soleProprietor);
1480
+ } else if (rootLegalEntity.type === LegalEntityTypes.ORGANIZATION) {
1481
+ dataFromResponse.company = mapLegalEntityToBusinessFinancing(rootLegalEntity);
1482
+ dataFromResponse.company = appendBusinessFinancingData(rootLegalEntity.organization, dataFromResponse.company);
1483
+ dataFromResponse.company.isCompanyOwnedByAnotherCompany = "No";
1484
+ dataFromResponse.company.isParentOwnedByAnotherCompany = "No";
1485
+ if (immediateParentCompany) {
1486
+ dataFromResponse.parentCompany = mapLegalEntityToBusinessFinancing(immediateParentCompany);
1487
+ dataFromResponse.parentCompany = appendBusinessFinancingData(immediateParentCompany.organization, dataFromResponse.parentCompany);
1488
+ dataFromResponse.company.isCompanyOwnedByAnotherCompany = "Yes";
1489
+ }
1490
+ if (ultimateParentCompany) {
1491
+ dataFromResponse.ultimateParentCompany = mapLegalEntityToBusinessFinancing(ultimateParentCompany);
1492
+ dataFromResponse.ultimateParentCompany = appendBusinessFinancingData(ultimateParentCompany.organization, dataFromResponse.ultimateParentCompany);
1493
+ dataFromResponse.company.isParentOwnedByAnotherCompany = "Yes";
1494
+ }
1495
+ }
1496
+ return dataFromResponse;
1497
+ }, [
1498
+ immediateParentCompanyIsLoading,
1499
+ ultimateParentCompanyIsLoading,
1500
+ soleProprietorIsLoading,
1501
+ rootLegalEntity,
1502
+ immediateParentCompany,
1503
+ ultimateParentCompany,
1504
+ soleProprietor
1505
+ ]);
1506
+ const datasetUtils = datasetUtilities(i18n.language);
1507
+ const [problems, setProblems] = useState();
1508
+ const [loadingStatus, setLoadingStatus] = useState("success");
1509
+ const [showEndState, setShowEndState] = useState(false);
1510
+ const { showToast } = useToastContext();
1511
+ const { isSettingEnabled } = useSettingsContext();
1512
+ const showBusinessFinancingFirst = isSettingEnabled(SettingNames.ShowBusinessFinancingFirst);
1513
+ const onSubmit = async () => {
1514
+ setLoadingStatus("loading");
1515
+ if (!umfData) return;
1516
+ const isSoleProprietor = hasSolePropInLegalEntity(rootLegalEntity);
1517
+ const mainEntityDetails = !isSoleProprietor ? prepareBusinessFinancingSubmitData(BusinessFinancingIndices.COMPANY, umfData, rootLegalEntity) : null;
1518
+ const soleProprietorPayloads = isSoleProprietor ? prepareSoleProprietorBusinessFinancingSubmitData(umfData, rootLegalEntity, soleProprietor) : null;
1519
+ const parentCompanyBusinessFinancingDetails = !isSoleProprietor ? prepareBusinessFinancingSubmitData(BusinessFinancingIndices.PARENT_COMPANY, umfData, rootLegalEntity) : null;
1520
+ const ultimateParentCompanyBusinessFinancingDetails = !isSoleProprietor ? prepareBusinessFinancingSubmitData(BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY, umfData, rootLegalEntity) : null;
1521
+ if (isSoleProprietor) {
1522
+ if (!soleProprietorPayloads || !rootLegalEntity || !soleProprietor?.id) {
1523
+ showToast({
1524
+ label: businessFinancingT(($) => $["missingCompanyDetails"]),
1525
+ variant: "error"
1526
+ });
1527
+ return;
1528
+ }
1529
+ try {
1530
+ await handleBusinessFinancingFormSubmission(BusinessFinancingIndices.SOLE_PROPRIETOR, soleProprietorPayloads.individualPayload, createLegalEntity, updateLegalEntity, rootLegalEntity.id);
1531
+ const eventsAdditionalData = { ...getOrgAnalyticsData("SoleProprietor", await handleBusinessFinancingFormSubmission(BusinessFinancingIndices.SOLE_PROPRIETOR, soleProprietorPayloads.solePropPayload, createLegalEntity, updateLegalEntity, soleProprietor.id)) };
1532
+ userEvents.addTaskEvent("Success", {
1533
+ actionType: "submit",
1534
+ returnValue: [BusinessFinancingIndices.SOLE_PROPRIETOR],
1535
+ additionalData: eventsAdditionalData
1536
+ });
1537
+ await invalidateRootLegalEntity();
1538
+ if (showBusinessFinancingFirst || isStandaloneComponent) setShowEndState(true);
1539
+ else externalOnSubmit?.({ ...umfData });
1540
+ setProblems({});
1541
+ } catch (e) {
1542
+ showToast({
1543
+ label: commonT(($) => $["failedToUpdateDetails"]),
1544
+ variant: "error"
1545
+ });
1546
+ handleSubmissionError(e, BusinessFinancingIndices.SOLE_PROPRIETOR);
1547
+ } finally {
1548
+ setLoadingStatus("success");
1549
+ }
1550
+ } else {
1551
+ if (!mainEntityDetails || !rootLegalEntity) {
1552
+ showToast({
1553
+ label: businessFinancingT(($) => $["missingCompanyDetails"]),
1554
+ variant: "error"
1555
+ });
1556
+ return;
1557
+ }
1558
+ let parentCompanyFailed = false;
1559
+ let ultimateParentCompanyFailed = false;
1560
+ try {
1561
+ const promises = [];
1562
+ if (parentCompanyBusinessFinancingDetails) {
1563
+ const parentCompanyPromise = handleBusinessFinancingFormSubmission(BusinessFinancingIndices.PARENT_COMPANY, parentCompanyBusinessFinancingDetails, createLegalEntity, updateLegalEntity, parentCompanyBusinessFinancingDetails?.id);
1564
+ promises.push(parentCompanyPromise);
1565
+ }
1566
+ if (ultimateParentCompanyBusinessFinancingDetails) {
1567
+ const ultimateParentCompanyPromise = handleBusinessFinancingFormSubmission(BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY, ultimateParentCompanyBusinessFinancingDetails, createLegalEntity, updateLegalEntity, ultimateParentCompanyBusinessFinancingDetails?.id);
1568
+ promises.push(ultimateParentCompanyPromise);
1569
+ }
1570
+ const results = await Promise.allSettled(promises);
1571
+ const businessFinancingEntityAssociations = [...rootLegalEntity.entityAssociations ? rootLegalEntity.entityAssociations.filter((entityAssociation) => entityAssociation.type !== "immediateParentCompany" && entityAssociation.type !== "ultimateParentCompany") : []];
1572
+ const entitiesToTrack = [BusinessFinancingIndices.COMPANY];
1573
+ results.forEach((result, index) => {
1574
+ const businessFinancingType = index === 0 ? BusinessFinancingIndices.PARENT_COMPANY : BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY;
1575
+ if (result.status === "fulfilled") {
1576
+ const response = result.value;
1577
+ if (businessFinancingType === BusinessFinancingIndices.PARENT_COMPANY) {
1578
+ businessFinancingEntityAssociations.push({
1579
+ type: "immediateParentCompany",
1580
+ legalEntityId: response.id,
1581
+ associatorId: mainEntityDetails.id
1582
+ });
1583
+ entitiesToTrack.push(BusinessFinancingIndices.PARENT_COMPANY);
1584
+ } else if (businessFinancingType === BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY) {
1585
+ businessFinancingEntityAssociations.push({
1586
+ type: "ultimateParentCompany",
1587
+ legalEntityId: response.id,
1588
+ associatorId: mainEntityDetails.id
1589
+ });
1590
+ entitiesToTrack.push(BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY);
1591
+ }
1592
+ } else {
1593
+ if (businessFinancingType === BusinessFinancingIndices.PARENT_COMPANY) parentCompanyFailed = true;
1594
+ else if (businessFinancingType === BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY) ultimateParentCompanyFailed = true;
1595
+ handleSubmissionError(result.reason, businessFinancingType);
1596
+ }
1597
+ });
1598
+ if (!parentCompanyFailed && !ultimateParentCompanyFailed) {
1599
+ mainEntityDetails.entityAssociations = [...businessFinancingEntityAssociations];
1600
+ const eventsAdditionalData = {
1601
+ ...getOrgAnalyticsData("Business", mainEntityDetails),
1602
+ ...getOrgAnalyticsData("ParentCompany", parentCompanyBusinessFinancingDetails),
1603
+ ...getOrgAnalyticsData("UltimateParentCompany", ultimateParentCompanyBusinessFinancingDetails)
1604
+ };
1605
+ try {
1606
+ await handleBusinessFinancingFormSubmission(BusinessFinancingIndices.COMPANY, mainEntityDetails, createLegalEntity, updateLegalEntity, mainEntityDetails?.id);
1607
+ userEvents.addTaskEvent("Success", {
1608
+ actionType: "submit",
1609
+ returnValue: entitiesToTrack,
1610
+ additionalData: eventsAdditionalData
1611
+ });
1612
+ await invalidateRootLegalEntity();
1613
+ if (showBusinessFinancingFirst || isStandaloneComponent) setShowEndState(true);
1614
+ else externalOnSubmit?.({ ...umfData });
1615
+ } catch (e) {
1616
+ showToast({
1617
+ label: commonT(($) => $["failedToUpdateDetails"]),
1618
+ variant: "error"
1619
+ });
1620
+ handleSubmissionError(e, BusinessFinancingIndices.COMPANY);
1621
+ }
1622
+ setProblems({});
1623
+ }
1624
+ } catch (e) {
1625
+ if (!parentCompanyFailed && !ultimateParentCompanyFailed) handleSubmissionError(e, BusinessFinancingIndices.COMPANY);
1626
+ showToast({
1627
+ label: commonT(($) => $["failedToUpdateDetails"]),
1628
+ variant: "error"
1629
+ });
1630
+ } finally {
1631
+ setLoadingStatus("success");
1632
+ }
1633
+ }
1634
+ };
1635
+ const handleSubmissionError = (error, businessFinancingType) => {
1636
+ const keyMapping = businessFinancingType === BusinessFinancingIndices.SOLE_PROPRIETOR ? {
1637
+ ...businessFinancingIndividualApiKeyMapping,
1638
+ ...businessFinancingSoleProprietorApiKeyMapping
1639
+ } : businessFinancingApiKeyMapping;
1640
+ if (isValidationError(error.actualError)) {
1641
+ const validationErrors = processValidationErrors(error.actualError, void 0, keyMapping);
1642
+ setProblems((prevProblems) => ({
1643
+ ...prevProblems,
1644
+ validationErrors: {
1645
+ ...prevProblems?.validationErrors,
1646
+ [businessFinancingType]: validationErrors?.[businessFinancingType] ?? {}
1647
+ }
1648
+ }));
1649
+ } else if (isMaintenanceModeError(error)) showToast({
1650
+ label: commonT(($) => $["maintenanceModeMessage"]),
1651
+ variant: "error",
1652
+ duration: "indefinite"
1653
+ });
1654
+ else showToast({
1655
+ label: commonT(($) => $["failedToUpdateDetails"]),
1656
+ variant: "error"
1657
+ });
1658
+ };
1659
+ const [requiredFields, setRequiredFields] = useState(void 0);
1660
+ const form = useMultiForm({
1661
+ requiredFields,
1662
+ defaultData: derivedData,
1663
+ rules: businessFinancingMultiformRules
1664
+ });
1665
+ const { data: umfData = derivedData, isValid, errors, valid } = form;
1666
+ const businessFinancingRequiredForms = useMemo(() => {
1667
+ let updateForms = {};
1668
+ if (umfData?.soleProprietor) updateForms = { soleProprietor: { ...businessFinancingForms.soleProprietor } };
1669
+ else {
1670
+ updateForms = { company: { ...businessFinancingForms.company } };
1671
+ const showParentCompany = umfData?.company?.isCompanyOwnedByAnotherCompany === "Yes";
1672
+ const showUltimateParentCompany = umfData?.company?.isParentOwnedByAnotherCompany === "Yes";
1673
+ if (showParentCompany) updateForms = {
1674
+ ...updateForms,
1675
+ parentCompany: businessFinancingForms.parentCompany
1676
+ };
1677
+ if (showParentCompany && showUltimateParentCompany) updateForms = {
1678
+ ...updateForms,
1679
+ ultimateParentCompany: businessFinancingForms.ultimateParentCompany
1680
+ };
1681
+ }
1682
+ return updateForms;
1683
+ }, [
1684
+ umfData?.soleProprietor,
1685
+ umfData?.company?.isCompanyOwnedByAnotherCompany,
1686
+ umfData?.company?.isParentOwnedByAnotherCompany
1687
+ ]);
1688
+ useEffect(() => {
1689
+ setRequiredFields(getBusinessFinancingRequiredFields(country, umfData, rootLegalEntity?.organization?.registeredAddress));
1690
+ }, [umfData, rootLegalEntity?.organization?.registeredAddress]);
1691
+ const forms = useMemo(() => {
1692
+ return addValidityToForms(getRequiredForms(businessFinancingRequiredForms, businessFinancingFormsRequiredFields, {}), isValid, problems);
1693
+ }, [
1694
+ businessFinancingRequiredForms,
1695
+ isValid,
1696
+ businessFinancingFormsRequiredFields,
1697
+ problems
1698
+ ]);
1699
+ const { handleNextClick, handleBackClick, activeForm, gotoFormByFormIndex, gotoFormByFormId, steps, shouldValidate } = useFormComposer({
1700
+ problems,
1701
+ forms,
1702
+ onSubmit
1703
+ });
1704
+ const renderActiveForm = (selectedForm) => /* @__PURE__ */ jsxs("div", {
1705
+ className: "adyen-kyc-form-wrapper",
1706
+ children: [
1707
+ selectedForm.formId === "soleProprietor" && /* @__PURE__ */ jsx(AdditionalFieldsForBusinessFinancingSoleProprietor, {
1708
+ data: derivedData?.soleProprietor,
1709
+ legalEntity: rootLegalEntity,
1710
+ heading: businessFinancingT(($) => $["additionalInformationForBusinessFinancing"]),
1711
+ id: selectedForm.formId,
1712
+ country,
1713
+ shouldValidate,
1714
+ fieldValidationErrors: problems?.validationErrors?.[selectedForm?.formId],
1715
+ formVerificationErrors: problems?.verificationErrors?.[selectedForm?.formId],
1716
+ errors: errors?.soleProprietor,
1717
+ valid: valid?.soleProprietor
1718
+ }),
1719
+ selectedForm.formId === companyFormId && /* @__PURE__ */ jsx(AdditionalFieldsForBusinessFinancingCompany, {
1720
+ data: derivedData?.company,
1721
+ legalEntity: rootLegalEntity,
1722
+ heading: businessFinancingT(($) => $["additionalInformationForBusinessFinancing"]),
1723
+ id: companyFormId,
1724
+ country,
1725
+ shouldValidate,
1726
+ fieldValidationErrors: problems?.validationErrors?.[selectedForm?.formId],
1727
+ formVerificationErrors: problems?.verificationErrors?.[selectedForm?.formId],
1728
+ errors: errors?.company,
1729
+ valid: valid?.company
1730
+ }),
1731
+ selectedForm.formId === parentCompanyFormId && /* @__PURE__ */ jsx(AdditionalFieldsForBusinessFinancingParentCompany, {
1732
+ data: derivedData?.parentCompany,
1733
+ heading: commonT(($) => $["parentCompanyInformation"]),
1734
+ id: companyFormId,
1735
+ country,
1736
+ shouldValidate,
1737
+ errors: errors?.parentCompany,
1738
+ legalEntity: rootLegalEntity
1739
+ }),
1740
+ selectedForm.formId === ultimateParentCompanyFormId && /* @__PURE__ */ jsx(AdditionalFieldsForBusinessFinancingUltimateParentCompany, {
1741
+ data: derivedData?.ultimateParentCompany,
1742
+ heading: commonT(($) => $["ultimateParentCompanyInformation"]),
1743
+ id: companyFormId,
1744
+ country,
1745
+ shouldValidate,
1746
+ errors: errors?.ultimateParentCompany,
1747
+ legalEntity: rootLegalEntity
1748
+ })
1749
+ ]
1750
+ });
1751
+ if (!derivedData?.company && !derivedData?.soleProprietor) return /* @__PURE__ */ jsx(Loader, {});
1752
+ const allValidationErrors = problems?.validationErrors && Object.values(problems.validationErrors)?.reduce((acc, validError) => ({
1753
+ ...acc,
1754
+ ...validError
1755
+ }), {});
1756
+ const allVerificationErrors = problems?.verificationErrors && Object.values(problems.verificationErrors)?.reduce((acc, verifError) => ({
1757
+ ...acc,
1758
+ ...verifError
1759
+ }), {});
1760
+ const formUtils = createFormUtils({ labels: {} }, commonT);
1761
+ const handleEditForm = (formId) => {
1762
+ const formIndex = forms.findIndex((form) => form.formId === formId);
1763
+ if (formIndex >= 0) gotoFormByFormIndex(formIndex);
1764
+ };
1765
+ const summaryComponent = /* @__PURE__ */ jsx(BusinessFinancingSummary, {
1766
+ items: formatDataForSummary(i18n.language, businessFinancingT, datasetUtils, umfData, rootLegalEntity?.organization?.registeredAddress),
1767
+ handleEditForm,
1768
+ forms,
1769
+ children: /* @__PURE__ */ jsx(ErrorPanel, {
1770
+ validationErrors: allValidationErrors,
1771
+ verificationErrors: allVerificationErrors,
1772
+ formUtils,
1773
+ id: "ariaErrorField",
1774
+ slot: "errorPanel"
1775
+ })
1776
+ });
1777
+ return showEndState ? /* @__PURE__ */ jsx(EndStateLayout, {
1778
+ title: businessFinancingT(($) => $["submissionReceived"]),
1779
+ description: businessFinancingT(($) => $["theInformationProvidedIsBeingReviewed"]),
1780
+ action: externalOnSubmit && !showBusinessFinancingFirst ? /* @__PURE__ */ jsx(Button, {
1781
+ onClick: () => externalOnSubmit?.({ ...umfData }),
1782
+ children: externalOnSubmitLabel || commonT(($) => $["finish"])
1783
+ }) : void 0
1784
+ }) : /* @__PURE__ */ jsx(FormContextProvider, {
1785
+ form,
1786
+ children: /* @__PURE__ */ jsx(FormFlow, {
1787
+ summaryComponent,
1788
+ currentStep: steps.current,
1789
+ disableNextButton: !activeForm.isValid,
1790
+ forms,
1791
+ activeForm,
1792
+ gotoFormByFormIndex,
1793
+ gotoFormByFormId,
1794
+ handleBackClick,
1795
+ handleCancelClick: handleHomeClick,
1796
+ handleNextClick,
1797
+ loadingStatus,
1798
+ totalSteps: steps.total,
1799
+ children: /* @__PURE__ */ jsx("div", { children: renderActiveForm(activeForm || (derivedData?.soleProprietor ? businessFinancingForms.soleProprietor : businessFinancingForms.company)) })
1800
+ })
1801
+ });
1802
+ }
1803
+ //#endregion
1804
+ export { BusinessFinancingDropin as t };