@adyen/kyc-components 4.0.0-beta.1 → 4.0.0-beta.3

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 (346) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-BQ4Yct7L.js → AcceptTermsOfServiceComponent-i222mdxX.js} +53 -49
  2. package/dist/{AccountSetupRejected-UVhxMcAe.js → AccountSetupRejected-DHph9lFl.js} +6 -6
  3. package/dist/{Avatar-NEiNEcRx.js → Avatar-vCjWXfC7.js} +2 -2
  4. package/dist/{BusinessDetailsDropin-l0xfPekL.js → BusinessDetailsDropin-DQcfiSR8.js} +333 -287
  5. package/dist/{BusinessFinancingComponent-Bs-poF2d.js → BusinessFinancingComponent-DC3jzBrq.js} +3 -3
  6. package/dist/{BusinessFinancingDropin-DoRzdS4n.js → BusinessFinancingDropin-D2lMEbNh.js} +161 -264
  7. package/dist/{BusinessFinancingPage-DSlmJmOK.js → BusinessFinancingPage-BPD2cSDR.js} +3 -3
  8. package/dist/{BusinessTypeSelectionPage-Bmi_8K2g.js → BusinessTypeSelectionPage-Cdp8joPJ.js} +82 -87
  9. package/dist/{CZ-BhoS6sd6.js → CZ-BiPeoA9G.js} +11 -1
  10. package/dist/{ContractViewer-R4-gfVmp.js → ContractViewer-B0bZ14Ts.js} +305 -296
  11. package/dist/{CreateIndividualComponent-D3aXuYRk.js → CreateIndividualComponent-D9wnexv4.js} +7 -7
  12. package/dist/{CreateTransferInstrumentComponent-C-ncZ-A8.js → CreateTransferInstrumentComponent-COzPdQjC.js} +4 -4
  13. package/dist/{CustomerSupport-CMFRgQNa.js → CustomerSupport-NGBoBg3N.js} +27 -32
  14. package/dist/{DebugModal-BEmhG3UP.js → DebugModal-I2U6TjGT.js} +43 -35
  15. package/dist/{DecisionMakerDetailsPage-DI2Ubmef.js → DecisionMakerDetailsPage-BN-H1sJF.js} +3 -3
  16. package/dist/{DecisionMakers-BKhtcs_K.js → DecisionMakers-CZ5-IRtU.js} +128 -23
  17. package/dist/{EmbeddedStatus-BsZsXbKc.js → EmbeddedStatus-Blr0seRl.js} +6 -6
  18. package/dist/FormEndState-JB6QFSet.js +59 -0
  19. package/dist/{FormFlow-Bt-mu4Wm.js → FormFlow-DjvdNEiV.js} +18 -19
  20. package/dist/{HU-v3vOxRm8.js → HU-D8vJYkDH.js} +10 -1
  21. package/dist/{IndividualOnfidoDropin-DGMCOm9M.js → IndividualOnfidoDropin-DHhyO2ai.js} +732 -739
  22. package/dist/{Introduction-DJ6qIUPC.js → Introduction-erRXgreE.js} +32 -34
  23. package/dist/LandingLayout-B45lEjOv.js +84 -0
  24. package/dist/{LegalRepresentativeDetailsPage-CyHwQR_W.js → LegalRepresentativeDetailsPage-rS5K4657.js} +3 -3
  25. package/dist/{ManageIndividualComponent-BIMCvcr2.js → ManageIndividualComponent-BEzE5lkX.js} +8 -12
  26. package/dist/{ManagePCIComponent-Blj60xLa.js → ManagePCIComponent-BgdGfAuT.js} +5 -5
  27. package/dist/{ManageTermsOfServiceComponent-CsM23jq3.js → ManageTermsOfServiceComponent-BWkwy6YC.js} +7 -8
  28. package/dist/{ManageTransferInstrumentComponent-Vut9_bRn.js → ManageTransferInstrumentComponent-B8kRNftW.js} +21 -29
  29. package/dist/{OnboardingDropinComponent-BW6er2HU.js → OnboardingDropinComponent-DBW5N3Dr.js} +243 -281
  30. package/dist/{ProviderButton-DAsW5EVa.js → ProviderButton-B58n0cRC.js} +12 -13
  31. package/dist/{Review-DWDbL9-9.js → Review-O6Al47Cu.js} +11 -11
  32. package/dist/{RootBusinessDetailsPage-BTYIldSf.js → RootBusinessDetailsPage-q_6wAcer.js} +3 -3
  33. package/dist/{RootIndividualDetailsPage-DCxJ3ycQ.js → RootIndividualDetailsPage-CiXgSJsV.js} +3 -3
  34. package/dist/{SignPCIComponent-kHaxhkWa.js → SignPCIComponent-cqRNhGdl.js} +17 -19
  35. package/dist/{SingpassSelection-Dmlbiq4Z.js → SingpassSelection-BWEJ3Yi-.js} +6 -9
  36. package/dist/{SoleProprietorshipPage-Bdhs90-q.js → SoleProprietorshipPage-CRcJSpn9.js} +3 -3
  37. package/dist/{SourceOfFundsPage-Bj22DAFv.js → SourceOfFundsPage-BxLGXTHb.js} +500 -481
  38. package/dist/{StoreProvider-BmzY19Td.js → StoreProvider-ClKLaHzy.js} +8753 -10118
  39. package/dist/{TaskItemStatus-CB6FEOnk.js → TaskItemStatus-DrTIwCTx.js} +14 -14
  40. package/dist/TaskStatusIndicator-CTtKjo0m.js +69 -0
  41. package/dist/{TaxReportingDropin-jofokkei.js → TaxReportingDropin-DFZ2ehfk.js} +82 -101
  42. package/dist/{TileGroup-i5Jc08ns.js → TileGroup-BtE472I1.js} +6 -8
  43. package/dist/{TrustDetailsPage-B6HmvYUf.js → TrustDetailsPage-CGiiTbfR.js} +71 -73
  44. package/dist/{TrustMemberCompanyPage-D3VJOq6a.js → TrustMemberCompanyPage-oLNhg0hg.js} +4 -4
  45. package/dist/{TrustMemberIndividualPage-1aeOYsnG.js → TrustMemberIndividualPage-Bgsis586.js} +3 -3
  46. package/dist/{UnincorporatedPartnershipIndividualPage-Bt7e6ncF.js → UnincorporatedPartnershipIndividualPage-DPE3grqL.js} +3 -3
  47. package/dist/{UnincorporatedPartnershipMemberCompanyPage-Ck5C_SEU.js → UnincorporatedPartnershipMemberCompanyPage-HUnc9g0g.js} +3 -3
  48. package/dist/{VerificationErrorAlert-DhtKOmjt.js → VerificationErrorAlert-BBdJmGJu.js} +10 -8
  49. package/dist/{ViewVerificationStatusComponent-DtKLcCGI.js → ViewVerificationStatusComponent-DDtXG_pM.js} +12 -13
  50. package/dist/adyen-business-financing.js +8 -12
  51. package/dist/adyen-individual.js +6 -4
  52. package/dist/adyen-kyc-components.js +135 -118
  53. package/dist/adyen-manage-individual.js +2 -2
  54. package/dist/adyen-manage-pci.js +2 -2
  55. package/dist/adyen-manage-terms-of-service.js +2 -2
  56. package/dist/adyen-manage-transfer-instruments.js +2 -2
  57. package/dist/adyen-onboarding.js +14 -6
  58. package/dist/adyen-sign-pci.js +8 -15
  59. package/dist/adyen-terms-of-service.js +18 -6
  60. package/dist/adyen-transfer-instrument.js +10 -6
  61. package/dist/{adyen-transfer-instrument.vue_vue_type_script_lang-BE-ro1iH.js → adyen-transfer-instrument.vue_vue_type_script_lang-DQBzahGy.js} +5 -1
  62. package/dist/adyen-verification-status.js +2 -2
  63. package/dist/bg-BG-BY3Wa361.js +54 -0
  64. package/dist/bg-BG-BvSUDgGF.js +13 -0
  65. package/dist/bg-BG-HpLj_LOM.js +16 -0
  66. package/dist/cs-CZ-BEFeaKsV.js +54 -0
  67. package/dist/cs-CZ-CQ_M3lEp.js +16 -0
  68. package/dist/cs-CZ-y4mvq4Lv.js +13 -0
  69. package/dist/{css-CQUoQdd2.js → css-BJGWcW8A.js} +2 -2
  70. package/dist/da-DK-D6UK8XT9.js +54 -0
  71. package/dist/da-DK-k4JW3iVF.js +16 -0
  72. package/dist/da-DK-qgQOVjDp.js +13 -0
  73. package/dist/de-DE-B3nctkG8.js +13 -0
  74. package/dist/de-DE-C7mjtS5w.js +16 -0
  75. package/dist/de-DE-DUl6gRKv.js +54 -0
  76. package/dist/de-DE-pSdsxBpQ.js +13 -0
  77. package/dist/decision-makers-group-CgddXgrx.js +1944 -0
  78. package/dist/el-GR-B5j7VZ3E.js +54 -0
  79. package/dist/el-GR-Bvjk5Sw8.js +13 -0
  80. package/dist/el-GR-CEQrkYHW.js +16 -0
  81. package/dist/el-GR-CdgLZhuO.js +13 -0
  82. package/dist/en-US-Bq2Twy6x.js +54 -0
  83. package/dist/en-US-DDagIr01.js +16 -0
  84. package/dist/en-US-DSoLr6rp.js +13 -0
  85. package/dist/es-ES-BRfK6tX7.js +13 -0
  86. package/dist/es-ES-Cavm0szq.js +54 -0
  87. package/dist/es-ES-DB1c74Kv.js +16 -0
  88. package/dist/es-ES-Dy1uR2H_.js +13 -0
  89. package/dist/et-EE-DUWZ2Vqm.js +54 -0
  90. package/dist/et-EE-d9V24rcf.js +13 -0
  91. package/dist/et-EE-xIegUSuv.js +16 -0
  92. package/dist/fi-FI-B0fnAFV2.js +13 -0
  93. package/dist/fi-FI-DVa-ccaW.js +54 -0
  94. package/dist/fi-FI-NCxneAqU.js +16 -0
  95. package/dist/fr-FR-BoKzVp2q.js +13 -0
  96. package/dist/fr-FR-CY9emHgF.js +54 -0
  97. package/dist/fr-FR-Dk6Lw2On.js +13 -0
  98. package/dist/fr-FR-daiUnUwo.js +16 -0
  99. package/dist/{getFieldsWithExistingData-BW8_TEQl.js → getFieldsWithExistingData-BY--eXBQ.js} +3 -4
  100. package/dist/{hasDataChanged-Mu0HyZ3E.js → hasDataChanged-CwfuS4et.js} +4 -4
  101. package/dist/hr-HR-BAUywqDj.js +16 -0
  102. package/dist/hr-HR-CF0AHQzi.js +13 -0
  103. package/dist/hr-HR-CnP5sqih.js +54 -0
  104. package/dist/hu-HU-3GQojIHR.js +16 -0
  105. package/dist/hu-HU-BTlpbCpc.js +54 -0
  106. package/dist/hu-HU-CSPhOvLC.js +13 -0
  107. package/dist/it-IT-BH-eqIKH.js +13 -0
  108. package/dist/it-IT-D7G4BaP7.js +13 -0
  109. package/dist/it-IT-GgHc0cHR.js +54 -0
  110. package/dist/it-IT-pDWPFHEh.js +16 -0
  111. package/dist/ja-JP-B3yqM_FM.js +13 -0
  112. package/dist/ja-JP-BhS-_dIx.js +54 -0
  113. package/dist/ja-JP-DTW_hY1L.js +13 -0
  114. package/dist/ja-JP-scPXJ93L.js +16 -0
  115. package/dist/{json-DWikzB4g.js → json-Dk6RRAV8.js} +2 -2
  116. package/dist/{localizeDateString-QtCjf8Fg.js → localizeDateString-CKCBXzSn.js} +6 -6
  117. package/dist/lt-LT-BcGNy8Ti.js +16 -0
  118. package/dist/lt-LT-DTQGR9M0.js +54 -0
  119. package/dist/lt-LT-Lzl_Cbw-.js +13 -0
  120. package/dist/lv-LV-BQ4F1GrV.js +54 -0
  121. package/dist/lv-LV-CBD07r1Y.js +16 -0
  122. package/dist/lv-LV-y00wN1pj.js +13 -0
  123. package/dist/{mapFinancialReportsToFinancialInformation-C-2jp0wg.js → mapFinancialReportsToFinancialInformation-D_6u_bSS.js} +19 -12
  124. package/dist/minus-circle-filled-BGKeHaxJ.js +17 -0
  125. package/dist/nl-NL-BxJUDHMK.js +16 -0
  126. package/dist/nl-NL-CFzm75Jw.js +13 -0
  127. package/dist/nl-NL-CUcML482.js +54 -0
  128. package/dist/nl-NL-DmnFXAQC.js +13 -0
  129. package/dist/no-NO-BBCvsecq.js +54 -0
  130. package/dist/no-NO-DbvFfP96.js +13 -0
  131. package/dist/no-NO-Drup6Jyy.js +16 -0
  132. package/dist/pl-PL--mmxopYA.js +13 -0
  133. package/dist/pl-PL-BXv8Mmzb.js +16 -0
  134. package/dist/pl-PL-kGaeUP-w.js +54 -0
  135. package/dist/{plaintext-B39yQnOr.js → plaintext-9WNCwUtz.js} +2 -2
  136. package/dist/plus-circle-filled-Cnf1oJTm.js +17 -0
  137. package/dist/preact/adyen-transfer-instrument.js +1 -1
  138. package/dist/pt-PT-BVzXBFp7.js +13 -0
  139. package/dist/pt-PT-D8nU-UM2.js +16 -0
  140. package/dist/pt-PT-DpDxAynk.js +13 -0
  141. package/dist/pt-PT-JVqqgvPs.js +54 -0
  142. package/dist/{resolveEnvironment-Dx0BPNMa.js → resolveEnvironment-DQH1ab0S.js} +3 -3
  143. package/dist/ro-RO-C83h2zHZ.js +54 -0
  144. package/dist/ro-RO-CG33OwqS.js +16 -0
  145. package/dist/ro-RO-Cdmevo9A.js +13 -0
  146. package/dist/ru-RU-FZb2upqh.js +13 -0
  147. package/dist/{rules-CUANHpja.js → rules-CCnLDGvk.js} +43 -70
  148. package/dist/sk-SK-CgLJIuJw.js +54 -0
  149. package/dist/sk-SK-DV_xkO69.js +16 -0
  150. package/dist/sk-SK-nfeuTcY5.js +13 -0
  151. package/dist/sl-SI-B5yeoadY.js +16 -0
  152. package/dist/sl-SI-BzeVaC1Z.js +54 -0
  153. package/dist/sl-SI-DUTZDqkP.js +13 -0
  154. package/dist/style.css +417 -605
  155. package/dist/styles-CLV89_hH.js +417 -605
  156. package/dist/sv-SE-BTx2XKAp.js +13 -0
  157. package/dist/sv-SE-CVmo11gI.js +54 -0
  158. package/dist/sv-SE-CfxyR53r.js +16 -0
  159. package/dist/sv-SE-rckxD-43.js +13 -0
  160. package/dist/types/api/companySelection/useCompanySelection.d.ts +18 -1
  161. package/dist/types/api/configurations/useScenarios.d.ts +6 -6
  162. package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +1 -0
  163. package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +0 -306
  164. package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +2 -1
  165. package/dist/types/components/Business/forms/BasicInformation/types.d.ts +2 -1
  166. package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +1 -1
  167. package/dist/types/components/Business/forms/rules.d.ts +1 -0
  168. package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsFormConfig.d.ts +1 -2
  169. package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +0 -3
  170. package/dist/types/components/EFP/fields/LegalFormField/types.d.ts +4 -2
  171. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +5 -307
  172. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +2 -2
  173. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SOFAdditionalData/SOFFinancierModal.d.ts +1 -2
  174. package/dist/types/components/Individual/fields/NameFields/NameFields.d.ts +0 -2
  175. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.d.ts +1 -2
  176. package/dist/types/components/Individual/forms/IndividualOnfido/GuidanceQuestion/GuidanceQuestion.d.ts +7 -3
  177. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.d.ts +0 -1
  178. package/dist/types/components/Individual/mapping/adjustOnfidoIdentificationData.d.ts +3 -0
  179. package/dist/types/components/Individual/mapping/getOnfidoIdentityTypeToApiIdentityTypeMap.d.ts +3 -0
  180. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakersGettingStarted/DecisionMakersGettingStarted.d.ts +5 -0
  181. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakersGettingStarted/DecisionMakersModalContent.d.ts +1 -0
  182. package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/IndividualOnfidoStore.d.ts +6 -0
  183. package/dist/types/components/Shared/FormNavigation/FormNavigationItem.d.ts +1 -2
  184. package/dist/types/components/Shared/Introduction/copy.d.ts +2 -2
  185. package/dist/types/components/Shared/Summary/Summary.d.ts +0 -1
  186. package/dist/types/components/Shared/devex/DebugListener/DebugModal.d.ts +0 -1
  187. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/BusinessRegistrationNumberField.d.ts +1 -1
  188. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +5 -7
  189. package/dist/types/components/Shared/fields/CountryField/types.d.ts +1 -1
  190. package/dist/types/components/Shared/fields/CountryOfGoverningLawField/types.d.ts +1 -1
  191. package/dist/types/components/Shared/fields/Currency/types.d.ts +1 -1
  192. package/dist/types/components/Shared/fields/DBANameField/types.d.ts +1 -3
  193. package/dist/types/components/Shared/fields/DateOfIncorporationField/types.d.ts +1 -1
  194. package/dist/types/components/Shared/fields/EInvoicingCodeField/types.d.ts +1 -1
  195. package/dist/types/components/Shared/fields/FinancialReportingDate/types.d.ts +1 -1
  196. package/dist/types/components/Shared/fields/IdFieldTypeSelector/getDefaultRegistrationNumberType.d.ts +16 -0
  197. package/dist/types/components/Shared/fields/IdFieldTypeSelector/getDefaultVatNumberType.d.ts +13 -0
  198. package/dist/types/components/Shared/fields/LegalCompanyNameField/LegalCompanyNameField.d.ts +1 -2
  199. package/dist/types/components/Shared/fields/LegalCompanyNameField/types.d.ts +1 -1
  200. package/dist/types/components/Shared/fields/LocalizedLegalCompanyNameField/fieldConfig.d.ts +12 -0
  201. package/dist/types/components/Shared/fields/LocalizedLegalCompanyNameField/types.d.ts +5 -0
  202. package/dist/types/components/Shared/fields/NumberOfEmployees/types.d.ts +1 -1
  203. package/dist/types/components/Shared/fields/PhoneField/PhoneField.d.ts +1 -2
  204. package/dist/types/components/Shared/fields/PhoneField/types.d.ts +1 -1
  205. package/dist/types/components/Shared/fields/StateField/types.d.ts +1 -1
  206. package/dist/types/components/Shared/fields/StockExchangeMICField/types.d.ts +1 -1
  207. package/dist/types/components/Shared/fields/StockISINField/types.d.ts +1 -1
  208. package/dist/types/components/Shared/fields/StockTickerSymbol/types.d.ts +1 -1
  209. package/dist/types/components/Shared/fields/TaxInformationField/TaxInformationField.d.ts +1 -2
  210. package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +5 -3
  211. package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +1 -1
  212. package/dist/types/components/Shared/fields/VatNumberField/VatNumberField.d.ts +1 -1
  213. package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +2 -4
  214. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  215. package/dist/types/components/Shared/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +1 -1
  216. package/dist/types/components/Shared/forms/FinancialInformation/mapping/mapFinancialInformationToFinancialReport.d.ts +1 -1
  217. package/dist/types/components/Shared/forms/FinancialInformation/types.d.ts +1 -1
  218. package/dist/types/components/Shared/tasks/TaskList/TaskItemStatus.d.ts +1 -2
  219. package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/UnincorporatedPartnershipRadioGroup.d.ts +2 -3
  220. package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/UnincorporatedPartnershipRoleAndType.d.ts +1 -2
  221. package/dist/types/components/ui/atoms/Accordion/Accordion.d.ts +1 -2
  222. package/dist/types/components/ui/atoms/Button/Button.d.ts +2 -3
  223. package/dist/types/components/ui/atoms/Button/Button.types.d.ts +3 -3
  224. package/dist/types/components/ui/atoms/Field/Field.d.ts +3 -6
  225. package/dist/types/components/ui/atoms/Field/Field.types.d.ts +9 -12
  226. package/dist/types/components/ui/atoms/FormHeader/FormHeader.d.ts +4 -6
  227. package/dist/types/components/ui/atoms/InputBase/InputBase.d.ts +4 -4
  228. package/dist/types/components/ui/atoms/List/List.d.ts +12 -0
  229. package/dist/types/components/ui/atoms/Modal/MaybeModal.d.ts +1 -1
  230. package/dist/types/components/ui/atoms/RadioGroupCard/RadioGroupCard.types.d.ts +3 -3
  231. package/dist/types/components/ui/atoms/Remove/Remove.d.ts +1 -2
  232. package/dist/types/components/ui/atoms/Select/Select.d.ts +1 -2
  233. package/dist/types/components/ui/atoms/Select/Select.types.d.ts +1 -0
  234. package/dist/types/components/ui/atoms/SelectButton/SelectButton.d.ts +1 -2
  235. package/dist/types/components/ui/atoms/SelectButton/SelectButton.types.d.ts +3 -4
  236. package/dist/types/components/ui/atoms/SelectList/SelectList.d.ts +1 -2
  237. package/dist/types/components/ui/atoms/SelectList/SelectList.types.d.ts +2 -2
  238. package/dist/types/components/ui/atoms/SelectListItem/SelectListItem.types.d.ts +3 -3
  239. package/dist/types/components/ui/atoms/Svg/svgs.d.ts +6 -0
  240. package/dist/types/components/ui/atoms/TextArea/TextArea.d.ts +1 -2
  241. package/dist/types/components/ui/atoms/Tile/Tile.d.ts +1 -2
  242. package/dist/types/components/ui/layout/LandingLayout/LandingLayout.d.ts +10 -0
  243. package/dist/types/components/ui/layout/StackLayout/StackLayout.d.ts +8 -0
  244. package/dist/types/components/ui/molecules/Card/Card.d.ts +1 -2
  245. package/dist/types/components/ui/molecules/Card/types.d.ts +3 -3
  246. package/dist/types/components/ui/molecules/DocumentGuidance/DocumentGuidance.types.d.ts +2 -2
  247. package/dist/types/components/ui/molecules/Dropzone/Dropzone.d.ts +1 -2
  248. package/dist/types/components/ui/molecules/Dropzone/FilePicker.d.ts +2 -4
  249. package/dist/types/components/ui/molecules/EmbeddedStatus/EmbeddedStatus.d.ts +2 -2
  250. package/dist/types/components/ui/molecules/EmbeddedStatus/statusToTag.d.ts +2 -2
  251. package/dist/types/components/ui/molecules/FormEndState/FormEndState.d.ts +0 -1
  252. package/dist/types/components/ui/molecules/InputCurrency/InputCurrency.d.ts +1 -2
  253. package/dist/types/components/ui/molecules/InputDate/InputDate.d.ts +3 -3
  254. package/dist/types/components/ui/molecules/MaskedInput/MaskedInput.d.ts +2 -2
  255. package/dist/types/constants/keys.d.ts +2 -0
  256. package/dist/types/context/ExperimentContext/types.d.ts +8 -0
  257. package/dist/types/core/EmbedShell/EmbedShell.d.ts +1 -0
  258. package/dist/types/core/UIElement/UIElement.d.ts +1 -0
  259. package/dist/types/core/models/api/financialReport.d.ts +2 -2
  260. package/dist/types/core/models/api/get-scenarios.d.ts +1 -1
  261. package/dist/types/core/models/api/legal-arrangement.d.ts +10 -2
  262. package/dist/types/core/models/api/organization.d.ts +8 -0
  263. package/dist/types/core/user-events.d.ts +1 -1
  264. package/dist/types/embeds/business-financing/AdyenBusinessFinancing.d.ts +1 -1
  265. package/dist/types/embeds/business-financing/adyen-business-financing.types.d.ts +6 -1
  266. package/dist/types/embeds/individual/adyen-individual.types.d.ts +6 -1
  267. package/dist/types/embeds/onboarding/AdyenOnboarding.d.ts +1 -0
  268. package/dist/types/embeds/onboarding/adyen-onboarding.types.d.ts +4 -1
  269. package/dist/types/embeds/sign-pci/AdyenSignPci.d.ts +0 -1
  270. package/dist/types/embeds/sign-pci/adyen-sign-pci.types.d.ts +5 -3
  271. package/dist/types/embeds/terms-of-service/adyen-terms-of-service.types.d.ts +7 -1
  272. package/dist/types/embeds/transfer-instrument/AdyenTransferInstrument.d.ts +2 -1
  273. package/dist/types/embeds/transfer-instrument/adyen-transfer-instrument.types.d.ts +7 -2
  274. package/dist/types/hooks/useForm/types.d.ts +0 -2
  275. package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +28 -0
  276. package/dist/types/hooks/useMultiForm/types.d.ts +36 -34
  277. package/dist/types/hooks/useMultiForm/useMultiForm.d.ts +1 -1
  278. package/dist/types/language/Language.d.ts +1 -7
  279. package/dist/types/language/i18n.d.ts +2 -0
  280. package/dist/types/language/types.d.ts +3 -0
  281. package/dist/types/language/utils.d.ts +11 -2
  282. package/dist/types/types/datasets/country-code.d.ts +249 -249
  283. package/dist/types/utils/entityAssociationUtil.d.ts +1 -2
  284. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  285. package/dist/types/utils/eventHandlers/handleKeys.d.ts +2 -2
  286. package/dist/types/utils/getDisplayErrorMessage.d.ts +2 -2
  287. package/dist/types/utils/getName.d.ts +2 -2
  288. package/dist/types/utils/makeSelectItemForRole.d.ts +2 -2
  289. package/dist/types/utils/masking/masks/businessRegistrationNumberMasks.d.ts +1 -0
  290. package/dist/types/utils/regex/patternValidators.d.ts +2 -0
  291. package/dist/types/utils/simulateTextChangeFromKeyboardEvent.d.ts +2 -2
  292. package/dist/types/utils/urlUtils.d.ts +1 -0
  293. package/dist/types/utils/validatorUtils.d.ts +2 -0
  294. package/dist/{useMultiForm-Bwx2nVhh.js → useMultiForm-KQwxav4F.js} +158 -135
  295. package/dist/{useOnboardingStatus-Cwba-HzS.js → useOnboardingStatus-BMyj9Pwn.js} +1 -1
  296. package/dist/{useSalesChannelsSettings-BLzegVJh.js → useSalesChannelsSettings-43TfSoxc.js} +2 -2
  297. package/dist/{useTermsOfServiceStatus-C-i9mF4m.js → useTermsOfServiceStatus-CBHKWYSb.js} +1 -1
  298. package/dist/{useUpdateLegalEntity-xQlAqIqy.js → useUpdateLegalEntity-D8dw9Oc3.js} +2 -2
  299. package/dist/{utils-DXv7uAh6.js → utils-CL9qlD-O.js} +18 -11
  300. package/dist/{validate-BN5p-GhK.js → validate-CeF0YKvL.js} +2 -2
  301. package/dist/vue/adyen-transfer-instrument.js +5 -4
  302. package/dist/{yaml-jFdy-qnY.js → yaml-CBkrSAtc.js} +2 -2
  303. package/dist/zh-CN-wUb4MmTZ.js +13 -0
  304. package/dist/zh-TW-DNTXHLKa.js +13 -0
  305. package/package.json +28 -27
  306. package/dist/FormEndState-C3HCmXcw.js +0 -32
  307. package/dist/SourceOfFunds.module-xwHIboir.js +0 -128
  308. package/dist/bg-BG-COTwZXwN.js +0 -2040
  309. package/dist/cs-CZ-DUlgJKVq.js +0 -2040
  310. package/dist/da-DK-BDzDHhVR.js +0 -2040
  311. package/dist/de-DE-B3TpRjZX.js +0 -994
  312. package/dist/de-DE-DJdgXqS_.js +0 -2040
  313. package/dist/el-GR-CFEuLvxK.js +0 -994
  314. package/dist/el-GR-D5i9BNyh.js +0 -2040
  315. package/dist/en-US-ghR-1_C2.js +0 -994
  316. package/dist/es-ES-BtWn2FOQ.js +0 -994
  317. package/dist/es-ES-VOSWszW5.js +0 -2040
  318. package/dist/et-EE-Bp4Ngsn4.js +0 -2040
  319. package/dist/fi-FI-DaujOE-a.js +0 -2040
  320. package/dist/fr-FR-BdPZxk11.js +0 -2040
  321. package/dist/fr-FR-HvIkGqJf.js +0 -994
  322. package/dist/hr-HR-BY7C7NxY.js +0 -2040
  323. package/dist/hu-HU-DHCty-Tc.js +0 -2040
  324. package/dist/it-IT-BMsuhZEQ.js +0 -2040
  325. package/dist/it-IT-CjbZahlB.js +0 -994
  326. package/dist/ja-JP-4jufT0xh.js +0 -994
  327. package/dist/ja-JP-BYDz1z2G.js +0 -2040
  328. package/dist/lt-LT-DNJ9V9xV.js +0 -2040
  329. package/dist/lv-LV-CFJwN5wq.js +0 -2040
  330. package/dist/nl-NL-B3xjfpMi.js +0 -994
  331. package/dist/nl-NL-DibAf790.js +0 -2040
  332. package/dist/no-NO-DHCy5rXx.js +0 -2040
  333. package/dist/pl-PL-eZBNH5HH.js +0 -2040
  334. package/dist/pt-PT-BpYDD-PX.js +0 -994
  335. package/dist/pt-PT-CiN_Wmfe.js +0 -2040
  336. package/dist/ro-RO-CgyMTvLc.js +0 -2040
  337. package/dist/ru-RU-BlgIj-Q4.js +0 -994
  338. package/dist/sk-SK-B5qlQB_U.js +0 -2040
  339. package/dist/sl-SI-8PPfrGzL.js +0 -2040
  340. package/dist/sv-SE-7lcf_fB9.js +0 -994
  341. package/dist/sv-SE-ZWLw6D3j.js +0 -2040
  342. package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/RichText.d.ts +0 -5
  343. package/dist/types/utils/sanitizeHtml.d.ts +0 -3
  344. package/dist/types/utils/useStateFromProp.d.ts +0 -9
  345. package/dist/zh-CN-xYZH718R.js +0 -994
  346. package/dist/zh-TW-DqBBNurv.js +0 -994
@@ -2,13 +2,13 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5001b681-4a38-439e-828e-e7359a006565", e._sentryDebugIdIdentifier = "sentry-dbid-5001b681-4a38-439e-828e-e7359a006565");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "29872cc2-2bdf-4769-98d1-5c0527883249", e._sentryDebugIdIdentifier = "sentry-dbid-29872cc2-2bdf-4769-98d1-5c0527883249");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
- import { a3 as Icon } from "./StoreProvider-BmzY19Td.js";
11
+ import { a4 as Icon } from "./StoreProvider-ClKLaHzy.js";
12
12
  import cx from "classnames";
13
13
  import { useRef, useState, useEffect } from "preact/hooks";
14
14
  const outlinedIcon = "adyen-kyc-outlined-icon";
@@ -16,7 +16,7 @@ const styles = {
16
16
  outlinedIcon
17
17
  };
18
18
  const OutlinedIcon = ({ name }) => /* @__PURE__ */ jsx("div", { className: styles.outlinedIcon, children: /* @__PURE__ */ jsx(Icon, { name }) });
19
- var K, h, Le, H, he, Te, Ie, Ae, ce, ne, re, Re, O = {}, Ue = [], rt = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Q = Array.isArray;
19
+ var Q, h, Pe, L, he, Le, He, Te, le, re, oe, Ie, O = {}, Ae = [], tt = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, J = Array.isArray;
20
20
  function C(e, t) {
21
21
  for (var n in t) e[n] = t[n];
22
22
  return e;
@@ -24,17 +24,17 @@ function C(e, t) {
24
24
  function ae(e) {
25
25
  e && e.parentNode && e.parentNode.removeChild(e);
26
26
  }
27
- function De(e, t, n) {
28
- var r, _, o, l = {};
29
- for (o in t) o == "key" ? r = t[o] : o == "ref" ? _ = t[o] : l[o] = t[o];
30
- if (arguments.length > 2 && (l.children = arguments.length > 3 ? K.call(arguments, 2) : n), typeof e == "function" && e.defaultProps != null) for (o in e.defaultProps) l[o] === void 0 && (l[o] = e.defaultProps[o]);
31
- return q(e, l, r, _, null);
27
+ function Re(e, t, n) {
28
+ var r, _, o, s = {};
29
+ for (o in t) o == "key" ? r = t[o] : o == "ref" ? _ = t[o] : s[o] = t[o];
30
+ if (arguments.length > 2 && (s.children = arguments.length > 3 ? Q.call(arguments, 2) : n), typeof e == "function" && e.defaultProps != null) for (o in e.defaultProps) s[o] === void 0 && (s[o] = e.defaultProps[o]);
31
+ return q(e, s, r, _, null);
32
32
  }
33
33
  function q(e, t, n, r, _) {
34
- var o = { type: e, props: t, key: n, ref: r, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: _ ?? ++Le, __i: -1, __u: 0 };
34
+ var o = { type: e, props: t, key: n, ref: r, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: _ ?? ++Pe, __i: -1, __u: 0 };
35
35
  return _ == null && h.vnode != null && h.vnode(o), o;
36
36
  }
37
- function J(e) {
37
+ function X(e) {
38
38
  return e.children;
39
39
  }
40
40
  function V(e, t) {
@@ -45,38 +45,38 @@ function A(e, t) {
45
45
  for (var n; t < e.__k.length; t++) if ((n = e.__k[t]) != null && n.__e != null) return n.__e;
46
46
  return typeof e.type == "function" ? A(e) : null;
47
47
  }
48
- function Me(e) {
48
+ function Ue(e) {
49
49
  var t, n;
50
50
  if ((e = e.__) != null && e.__c != null) {
51
51
  for (e.__e = e.__c.base = null, t = 0; t < e.__k.length; t++) if ((n = e.__k[t]) != null && n.__e != null) {
52
52
  e.__e = e.__c.base = n.__e;
53
53
  break;
54
54
  }
55
- return Me(e);
55
+ return Ue(e);
56
56
  }
57
57
  }
58
- function oe(e) {
59
- (!e.__d && (e.__d = true) && H.push(e) && !z.__r++ || he != h.debounceRendering) && ((he = h.debounceRendering) || Te)(z);
58
+ function _e(e) {
59
+ (!e.__d && (e.__d = true) && L.push(e) && !Y.__r++ || he != h.debounceRendering) && ((he = h.debounceRendering) || Le)(Y);
60
60
  }
61
- function z() {
62
- for (var e, t, n, r, _, o, l, s = 1; H.length; ) H.length > s && H.sort(Ie), e = H.shift(), s = H.length, e.__d && (n = void 0, r = void 0, _ = (r = (t = e).__v).__e, o = [], l = [], t.__P && ((n = C({}, r)).__v = r.__v + 1, h.vnode && h.vnode(n), ue(t.__P, n, r, t.__n, t.__P.namespaceURI, 32 & r.__u ? [_] : null, o, _ ?? A(r), !!(32 & r.__u), l), n.__v = r.__v, n.__.__k[n.__i] = n, Fe(o, n, l), r.__e = r.__ = null, n.__e != _ && Me(n)));
63
- z.__r = 0;
61
+ function Y() {
62
+ for (var e, t, n, r, _, o, s, c = 1; L.length; ) L.length > c && L.sort(He), e = L.shift(), c = L.length, e.__d && (n = void 0, r = void 0, _ = (r = (t = e).__v).__e, o = [], s = [], t.__P && ((n = C({}, r)).__v = r.__v + 1, h.vnode && h.vnode(n), ue(t.__P, n, r, t.__n, t.__P.namespaceURI, 32 & r.__u ? [_] : null, o, _ ?? A(r), !!(32 & r.__u), s), n.__v = r.__v, n.__.__k[n.__i] = n, Oe(o, n, s), r.__e = r.__ = null, n.__e != _ && Ue(n)));
63
+ Y.__r = 0;
64
64
  }
65
- function Oe(e, t, n, r, _, o, l, s, u, c, d) {
66
- var i, p, f, b, k, w, v, m = r && r.__k || Ue, $ = t.length;
67
- for (u = ot(n, t, m, u, $), i = 0; i < $; i++) (f = n.__k[i]) != null && (p = f.__i == -1 ? O : m[f.__i] || O, f.__i = i, w = ue(e, f, p, _, o, l, s, u, c, d), b = f.__e, f.ref && p.ref != f.ref && (p.ref && fe(p.ref, null, f), d.push(f.ref, f.__c || b, f)), k == null && b != null && (k = b), (v = !!(4 & f.__u)) || p.__k === f.__k ? u = We(f, u, e, v) : typeof f.type == "function" && w !== void 0 ? u = w : b && (u = b.nextSibling), f.__u &= -7);
65
+ function De(e, t, n, r, _, o, s, c, u, l, d) {
66
+ var i, p, f, g, k, w, v, m = r && r.__k || Ae, $ = t.length;
67
+ for (u = nt(n, t, m, u, $), i = 0; i < $; i++) (f = n.__k[i]) != null && (p = f.__i == -1 ? O : m[f.__i] || O, f.__i = i, w = ue(e, f, p, _, o, s, c, u, l, d), g = f.__e, f.ref && p.ref != f.ref && (p.ref && fe(p.ref, null, f), d.push(f.ref, f.__c || g, f)), k == null && g != null && (k = g), (v = !!(4 & f.__u)) || p.__k === f.__k ? u = Me(f, u, e, v) : typeof f.type == "function" && w !== void 0 ? u = w : g && (u = g.nextSibling), f.__u &= -7);
68
68
  return n.__e = k, u;
69
69
  }
70
- function ot(e, t, n, r, _) {
71
- var o, l, s, u, c, d = n.length, i = d, p = 0;
72
- for (e.__k = new Array(_), o = 0; o < _; o++) (l = t[o]) != null && typeof l != "boolean" && typeof l != "function" ? (u = o + p, (l = e.__k[o] = typeof l == "string" || typeof l == "number" || typeof l == "bigint" || l.constructor == String ? q(null, l, null, null, null) : Q(l) ? q(J, { children: l }, null, null, null) : l.constructor == null && l.__b > 0 ? q(l.type, l.props, l.key, l.ref ? l.ref : null, l.__v) : l).__ = e, l.__b = e.__b + 1, s = null, (c = l.__i = _t(l, n, u, i)) != -1 && (i--, (s = n[c]) && (s.__u |= 2)), s == null || s.__v == null ? (c == -1 && (_ > d ? p-- : _ < d && p++), typeof l.type != "function" && (l.__u |= 4)) : c != u && (c == u - 1 ? p-- : c == u + 1 ? p++ : (c > u ? p-- : p++, l.__u |= 4))) : e.__k[o] = null;
73
- if (i) for (o = 0; o < d; o++) (s = n[o]) != null && (2 & s.__u) == 0 && (s.__e == r && (r = A(s)), qe(s, s));
70
+ function nt(e, t, n, r, _) {
71
+ var o, s, c, u, l, d = n.length, i = d, p = 0;
72
+ for (e.__k = new Array(_), o = 0; o < _; o++) (s = t[o]) != null && typeof s != "boolean" && typeof s != "function" ? (u = o + p, (s = e.__k[o] = typeof s == "string" || typeof s == "number" || typeof s == "bigint" || s.constructor == String ? q(null, s, null, null, null) : J(s) ? q(X, { children: s }, null, null, null) : s.constructor == null && s.__b > 0 ? q(s.type, s.props, s.key, s.ref ? s.ref : null, s.__v) : s).__ = e, s.__b = e.__b + 1, c = null, (l = s.__i = rt(s, n, u, i)) != -1 && (i--, (c = n[l]) && (c.__u |= 2)), c == null || c.__v == null ? (l == -1 && (_ > d ? p-- : _ < d && p++), typeof s.type != "function" && (s.__u |= 4)) : l != u && (l == u - 1 ? p-- : l == u + 1 ? p++ : (l > u ? p-- : p++, s.__u |= 4))) : e.__k[o] = null;
73
+ if (i) for (o = 0; o < d; o++) (c = n[o]) != null && (2 & c.__u) == 0 && (c.__e == r && (r = A(c)), Be(c, c));
74
74
  return r;
75
75
  }
76
- function We(e, t, n, r) {
76
+ function Me(e, t, n, r) {
77
77
  var _, o;
78
78
  if (typeof e.type == "function") {
79
- for (_ = e.__k, o = 0; _ && o < _.length; o++) _[o] && (_[o].__ = e, t = We(_[o], t, n, r));
79
+ for (_ = e.__k, o = 0; _ && o < _.length; o++) _[o] && (_[o].__ = e, t = Me(_[o], t, n, r));
80
80
  return t;
81
81
  }
82
82
  e.__e != t && (r && (t && e.type && !t.parentNode && (t = A(e)), n.insertBefore(e.__e, t || null)), t = e.__e);
@@ -85,25 +85,25 @@ function We(e, t, n, r) {
85
85
  while (t != null && t.nodeType == 8);
86
86
  return t;
87
87
  }
88
- function _t(e, t, n, r) {
89
- var _, o, l, s = e.key, u = e.type, c = t[n], d = c != null && (2 & c.__u) == 0;
90
- if (c === null && e.key == null || d && s == c.key && u == c.type) return n;
88
+ function rt(e, t, n, r) {
89
+ var _, o, s, c = e.key, u = e.type, l = t[n], d = l != null && (2 & l.__u) == 0;
90
+ if (l === null && e.key == null || d && c == l.key && u == l.type) return n;
91
91
  if (r > (d ? 1 : 0)) {
92
- for (_ = n - 1, o = n + 1; _ >= 0 || o < t.length; ) if ((c = t[l = _ >= 0 ? _-- : o++]) != null && (2 & c.__u) == 0 && s == c.key && u == c.type) return l;
92
+ for (_ = n - 1, o = n + 1; _ >= 0 || o < t.length; ) if ((l = t[s = _ >= 0 ? _-- : o++]) != null && (2 & l.__u) == 0 && c == l.key && u == l.type) return s;
93
93
  }
94
94
  return -1;
95
95
  }
96
96
  function ve(e, t, n) {
97
- t[0] == "-" ? e.setProperty(t, n ?? "") : e[t] = n == null ? "" : typeof n != "number" || rt.test(t) ? n : n + "px";
97
+ t[0] == "-" ? e.setProperty(t, n ?? "") : e[t] = n == null ? "" : typeof n != "number" || tt.test(t) ? n : n + "px";
98
98
  }
99
- function B(e, t, n, r, _) {
100
- var o, l;
99
+ function F(e, t, n, r, _) {
100
+ var o, s;
101
101
  e: if (t == "style") if (typeof n == "string") e.style.cssText = n;
102
102
  else {
103
103
  if (typeof r == "string" && (e.style.cssText = r = ""), r) for (t in r) n && t in n || ve(e.style, t, "");
104
104
  if (n) for (t in n) r && n[t] == r[t] || ve(e.style, t, n[t]);
105
105
  }
106
- else if (t[0] == "o" && t[1] == "n") o = t != (t = t.replace(Ae, "$1")), l = t.toLowerCase(), t = l in e || t == "onFocusOut" || t == "onFocusIn" ? l.slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + o] = n, n ? r ? n.u = r.u : (n.u = ce, e.addEventListener(t, o ? re : ne, o)) : e.removeEventListener(t, o ? re : ne, o);
106
+ else if (t[0] == "o" && t[1] == "n") o = t != (t = t.replace(Te, "$1")), s = t.toLowerCase(), t = s in e || t == "onFocusOut" || t == "onFocusIn" ? s.slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + o] = n, n ? r ? n.u = r.u : (n.u = le, e.addEventListener(t, o ? oe : re, o)) : e.removeEventListener(t, o ? oe : re, o);
107
107
  else {
108
108
  if (_ == "http://www.w3.org/2000/svg") t = t.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
109
109
  else if (t != "width" && t != "height" && t != "href" && t != "list" && t != "form" && t != "tabIndex" && t != "download" && t != "rowSpan" && t != "colSpan" && t != "role" && t != "popover" && t in e) try {
@@ -118,55 +118,55 @@ function me(e) {
118
118
  return function(t) {
119
119
  if (this.l) {
120
120
  var n = this.l[t.type + e];
121
- if (t.t == null) t.t = ce++;
121
+ if (t.t == null) t.t = le++;
122
122
  else if (t.t < n.u) return;
123
123
  return n(h.event ? h.event(t) : t);
124
124
  }
125
125
  };
126
126
  }
127
- function ue(e, t, n, r, _, o, l, s, u, c) {
128
- var d, i, p, f, b, k, w, v, m, $, E, W, D, pe, F, M, Z, N = t.type;
127
+ function ue(e, t, n, r, _, o, s, c, u, l) {
128
+ var d, i, p, f, g, k, w, v, m, $, E, W, D, pe, B, M, ee, x = t.type;
129
129
  if (t.constructor != null) return null;
130
- 128 & n.__u && (u = !!(32 & n.__u), o = [s = t.__e = n.__e]), (d = h.__b) && d(t);
131
- e: if (typeof N == "function") try {
132
- if (v = t.props, m = "prototype" in N && N.prototype.render, $ = (d = N.contextType) && r[d.__c], E = d ? $ ? $.props.value : d.__ : r, n.__c ? w = (i = t.__c = n.__c).__ = i.__E : (m ? t.__c = i = new N(v, E) : (t.__c = i = new V(v, E), i.constructor = N, i.render = lt), $ && $.sub(i), i.props = v, i.state || (i.state = {}), i.context = E, i.__n = r, p = i.__d = true, i.__h = [], i._sb = []), m && i.__s == null && (i.__s = i.state), m && N.getDerivedStateFromProps != null && (i.__s == i.state && (i.__s = C({}, i.__s)), C(i.__s, N.getDerivedStateFromProps(v, i.__s))), f = i.props, b = i.state, i.__v = t, p) m && N.getDerivedStateFromProps == null && i.componentWillMount != null && i.componentWillMount(), m && i.componentDidMount != null && i.__h.push(i.componentDidMount);
130
+ 128 & n.__u && (u = !!(32 & n.__u), o = [c = t.__e = n.__e]), (d = h.__b) && d(t);
131
+ e: if (typeof x == "function") try {
132
+ if (v = t.props, m = "prototype" in x && x.prototype.render, $ = (d = x.contextType) && r[d.__c], E = d ? $ ? $.props.value : d.__ : r, n.__c ? w = (i = t.__c = n.__c).__ = i.__E : (m ? t.__c = i = new x(v, E) : (t.__c = i = new V(v, E), i.constructor = x, i.render = _t), $ && $.sub(i), i.props = v, i.state || (i.state = {}), i.context = E, i.__n = r, p = i.__d = true, i.__h = [], i._sb = []), m && i.__s == null && (i.__s = i.state), m && x.getDerivedStateFromProps != null && (i.__s == i.state && (i.__s = C({}, i.__s)), C(i.__s, x.getDerivedStateFromProps(v, i.__s))), f = i.props, g = i.state, i.__v = t, p) m && x.getDerivedStateFromProps == null && i.componentWillMount != null && i.componentWillMount(), m && i.componentDidMount != null && i.__h.push(i.componentDidMount);
133
133
  else {
134
- if (m && N.getDerivedStateFromProps == null && v !== f && i.componentWillReceiveProps != null && i.componentWillReceiveProps(v, E), !i.__e && i.shouldComponentUpdate != null && i.shouldComponentUpdate(v, i.__s, E) === false || t.__v == n.__v) {
134
+ if (m && x.getDerivedStateFromProps == null && v !== f && i.componentWillReceiveProps != null && i.componentWillReceiveProps(v, E), !i.__e && i.shouldComponentUpdate != null && i.shouldComponentUpdate(v, i.__s, E) === false || t.__v == n.__v) {
135
135
  for (t.__v != n.__v && (i.props = v, i.state = i.__s, i.__d = false), t.__e = n.__e, t.__k = n.__k, t.__k.some(function(T) {
136
136
  T && (T.__ = t);
137
137
  }), W = 0; W < i._sb.length; W++) i.__h.push(i._sb[W]);
138
- i._sb = [], i.__h.length && l.push(i);
138
+ i._sb = [], i.__h.length && s.push(i);
139
139
  break e;
140
140
  }
141
141
  i.componentWillUpdate != null && i.componentWillUpdate(v, i.__s, E), m && i.componentDidUpdate != null && i.__h.push(function() {
142
- i.componentDidUpdate(f, b, k);
142
+ i.componentDidUpdate(f, g, k);
143
143
  });
144
144
  }
145
145
  if (i.context = E, i.props = v, i.__P = e, i.__e = false, D = h.__r, pe = 0, m) {
146
- for (i.state = i.__s, i.__d = false, D && D(t), d = i.render(i.props, i.state, i.context), F = 0; F < i._sb.length; F++) i.__h.push(i._sb[F]);
146
+ for (i.state = i.__s, i.__d = false, D && D(t), d = i.render(i.props, i.state, i.context), B = 0; B < i._sb.length; B++) i.__h.push(i._sb[B]);
147
147
  i._sb = [];
148
148
  } else do
149
149
  i.__d = false, D && D(t), d = i.render(i.props, i.state, i.context), i.state = i.__s;
150
150
  while (i.__d && ++pe < 25);
151
- i.state = i.__s, i.getChildContext != null && (r = C(C({}, r), i.getChildContext())), m && !p && i.getSnapshotBeforeUpdate != null && (k = i.getSnapshotBeforeUpdate(f, b)), M = d, d != null && d.type === J && d.key == null && (M = Be(d.props.children)), s = Oe(e, Q(M) ? M : [M], t, n, r, _, o, l, s, u, c), i.base = t.__e, t.__u &= -161, i.__h.length && l.push(i), w && (i.__E = i.__ = null);
151
+ i.state = i.__s, i.getChildContext != null && (r = C(C({}, r), i.getChildContext())), m && !p && i.getSnapshotBeforeUpdate != null && (k = i.getSnapshotBeforeUpdate(f, g)), M = d, d != null && d.type === X && d.key == null && (M = We(d.props.children)), c = De(e, J(M) ? M : [M], t, n, r, _, o, s, c, u, l), i.base = t.__e, t.__u &= -161, i.__h.length && s.push(i), w && (i.__E = i.__ = null);
152
152
  } catch (T) {
153
153
  if (t.__v = null, u || o != null) if (T.then) {
154
- for (t.__u |= u ? 160 : 128; s && s.nodeType == 8 && s.nextSibling; ) s = s.nextSibling;
155
- o[o.indexOf(s)] = null, t.__e = s;
154
+ for (t.__u |= u ? 160 : 128; c && c.nodeType == 8 && c.nextSibling; ) c = c.nextSibling;
155
+ o[o.indexOf(c)] = null, t.__e = c;
156
156
  } else {
157
- for (Z = o.length; Z--; ) ae(o[Z]);
158
- _e(t);
157
+ for (ee = o.length; ee--; ) ae(o[ee]);
158
+ ie(t);
159
159
  }
160
- else t.__e = n.__e, t.__k = n.__k, T.then || _e(t);
160
+ else t.__e = n.__e, t.__k = n.__k, T.then || ie(t);
161
161
  h.__e(T, t, n);
162
162
  }
163
- else o == null && t.__v == n.__v ? (t.__k = n.__k, t.__e = n.__e) : s = t.__e = it(n.__e, t, n, r, _, o, l, u, c);
164
- return (d = h.diffed) && d(t), 128 & t.__u ? void 0 : s;
163
+ else o == null && t.__v == n.__v ? (t.__k = n.__k, t.__e = n.__e) : c = t.__e = ot(n.__e, t, n, r, _, o, s, u, l);
164
+ return (d = h.diffed) && d(t), 128 & t.__u ? void 0 : c;
165
165
  }
166
- function _e(e) {
167
- e && e.__c && (e.__c.__e = true), e && e.__k && e.__k.forEach(_e);
166
+ function ie(e) {
167
+ e && e.__c && (e.__c.__e = true), e && e.__k && e.__k.forEach(ie);
168
168
  }
169
- function Fe(e, t, n) {
169
+ function Oe(e, t, n) {
170
170
  for (var r = 0; r < n.length; r++) fe(n[r], n[++r], n[++r]);
171
171
  h.__c && h.__c(t, e), e.some(function(_) {
172
172
  try {
@@ -178,35 +178,35 @@ function Fe(e, t, n) {
178
178
  }
179
179
  });
180
180
  }
181
- function Be(e) {
182
- return typeof e != "object" || e == null || e.__b && e.__b > 0 ? e : Q(e) ? e.map(Be) : C({}, e);
181
+ function We(e) {
182
+ return typeof e != "object" || e == null || e.__b && e.__b > 0 ? e : J(e) ? e.map(We) : C({}, e);
183
183
  }
184
- function it(e, t, n, r, _, o, l, s, u) {
185
- var c, d, i, p, f, b, k, w = n.props, v = t.props, m = t.type;
184
+ function ot(e, t, n, r, _, o, s, c, u) {
185
+ var l, d, i, p, f, g, k, w = n.props, v = t.props, m = t.type;
186
186
  if (m == "svg" ? _ = "http://www.w3.org/2000/svg" : m == "math" ? _ = "http://www.w3.org/1998/Math/MathML" : _ || (_ = "http://www.w3.org/1999/xhtml"), o != null) {
187
- for (c = 0; c < o.length; c++) if ((f = o[c]) && "setAttribute" in f == !!m && (m ? f.localName == m : f.nodeType == 3)) {
188
- e = f, o[c] = null;
187
+ for (l = 0; l < o.length; l++) if ((f = o[l]) && "setAttribute" in f == !!m && (m ? f.localName == m : f.nodeType == 3)) {
188
+ e = f, o[l] = null;
189
189
  break;
190
190
  }
191
191
  }
192
192
  if (e == null) {
193
193
  if (m == null) return document.createTextNode(v);
194
- e = document.createElementNS(_, m, v.is && v), s && (h.__m && h.__m(t, o), s = false), o = null;
194
+ e = document.createElementNS(_, m, v.is && v), c && (h.__m && h.__m(t, o), c = false), o = null;
195
195
  }
196
- if (m == null) w === v || s && e.data == v || (e.data = v);
196
+ if (m == null) w === v || c && e.data == v || (e.data = v);
197
197
  else {
198
- if (o = o && K.call(e.childNodes), w = n.props || O, !s && o != null) for (w = {}, c = 0; c < e.attributes.length; c++) w[(f = e.attributes[c]).name] = f.value;
199
- for (c in w) if (f = w[c], c != "children") {
200
- if (c == "dangerouslySetInnerHTML") i = f;
201
- else if (!(c in v)) {
202
- if (c == "value" && "defaultValue" in v || c == "checked" && "defaultChecked" in v) continue;
203
- B(e, c, null, f, _);
198
+ if (o = o && Q.call(e.childNodes), w = n.props || O, !c && o != null) for (w = {}, l = 0; l < e.attributes.length; l++) w[(f = e.attributes[l]).name] = f.value;
199
+ for (l in w) if (f = w[l], l != "children") {
200
+ if (l == "dangerouslySetInnerHTML") i = f;
201
+ else if (!(l in v)) {
202
+ if (l == "value" && "defaultValue" in v || l == "checked" && "defaultChecked" in v) continue;
203
+ F(e, l, null, f, _);
204
204
  }
205
205
  }
206
- for (c in v) f = v[c], c == "children" ? p = f : c == "dangerouslySetInnerHTML" ? d = f : c == "value" ? b = f : c == "checked" ? k = f : s && typeof f != "function" || w[c] === f || B(e, c, f, w[c], _);
207
- if (d) s || i && (d.__html == i.__html || d.__html == e.innerHTML) || (e.innerHTML = d.__html), t.__k = [];
208
- else if (i && (e.innerHTML = ""), Oe(t.type == "template" ? e.content : e, Q(p) ? p : [p], t, n, r, m == "foreignObject" ? "http://www.w3.org/1999/xhtml" : _, o, l, o ? o[0] : n.__k && A(n, 0), s, u), o != null) for (c = o.length; c--; ) ae(o[c]);
209
- s || (c = "value", m == "progress" && b == null ? e.removeAttribute("value") : b != null && (b !== e[c] || m == "progress" && !b || m == "option" && b != w[c]) && B(e, c, b, w[c], _), c = "checked", k != null && k != e[c] && B(e, c, k, w[c], _));
206
+ for (l in v) f = v[l], l == "children" ? p = f : l == "dangerouslySetInnerHTML" ? d = f : l == "value" ? g = f : l == "checked" ? k = f : c && typeof f != "function" || w[l] === f || F(e, l, f, w[l], _);
207
+ if (d) c || i && (d.__html == i.__html || d.__html == e.innerHTML) || (e.innerHTML = d.__html), t.__k = [];
208
+ else if (i && (e.innerHTML = ""), De(t.type == "template" ? e.content : e, J(p) ? p : [p], t, n, r, m == "foreignObject" ? "http://www.w3.org/1999/xhtml" : _, o, s, o ? o[0] : n.__k && A(n, 0), c, u), o != null) for (l = o.length; l--; ) ae(o[l]);
209
+ c || (l = "value", m == "progress" && g == null ? e.removeAttribute("value") : g != null && (g !== e[l] || m == "progress" && !g || m == "option" && g != w[l]) && F(e, l, g, w[l], _), l = "checked", k != null && k != e[l] && F(e, l, k, w[l], _));
210
210
  }
211
211
  return e;
212
212
  }
@@ -220,7 +220,7 @@ function fe(e, t, n) {
220
220
  h.__e(_, n);
221
221
  }
222
222
  }
223
- function qe(e, t, n) {
223
+ function Be(e, t, n) {
224
224
  var r, _;
225
225
  if (h.unmount && h.unmount(e), (r = e.ref) && (r.current && r.current != e.__e || fe(r, null, t)), (r = e.__c) != null) {
226
226
  if (r.componentWillUnmount) try {
@@ -230,17 +230,17 @@ function qe(e, t, n) {
230
230
  }
231
231
  r.base = r.__P = null;
232
232
  }
233
- if (r = e.__k) for (_ = 0; _ < r.length; _++) r[_] && qe(r[_], t, n || typeof e.type != "function");
233
+ if (r = e.__k) for (_ = 0; _ < r.length; _++) r[_] && Be(r[_], t, n || typeof e.type != "function");
234
234
  n || ae(e.__e), e.__c = e.__ = e.__e = void 0;
235
235
  }
236
- function lt(e, t, n) {
236
+ function _t(e, t, n) {
237
237
  return this.constructor(e, n);
238
238
  }
239
- function st(e, t, n) {
240
- var r, _, o, l;
241
- t == document && (t = document.documentElement), h.__ && h.__(e, t), _ = (r = false) ? null : t.__k, o = [], l = [], ue(t, e = t.__k = De(J, null, [e]), _ || O, O, t.namespaceURI, _ ? null : t.firstChild ? K.call(t.childNodes) : null, o, _ ? _.__e : t.firstChild, r, l), Fe(o, e, l);
239
+ function it(e, t, n) {
240
+ var r, _, o, s;
241
+ t == document && (t = document.documentElement), h.__ && h.__(e, t), _ = (r = false) ? null : t.__k, o = [], s = [], ue(t, e = t.__k = Re(X, null, [e]), _ || O, O, t.namespaceURI, _ ? null : t.firstChild ? Q.call(t.childNodes) : null, o, _ ? _.__e : t.firstChild, r, s), Oe(o, e, s);
242
242
  }
243
- function Ve(e) {
243
+ function Fe(e) {
244
244
  function t(n) {
245
245
  var r, _;
246
246
  return this.getChildContext || (r = /* @__PURE__ */ new Set(), (_ = {})[t.__c] = this, this.getChildContext = function() {
@@ -248,63 +248,63 @@ function Ve(e) {
248
248
  }, this.componentWillUnmount = function() {
249
249
  r = null;
250
250
  }, this.shouldComponentUpdate = function(o) {
251
- this.props.value != o.value && r.forEach(function(l) {
252
- l.__e = true, oe(l);
251
+ this.props.value != o.value && r.forEach(function(s) {
252
+ s.__e = true, _e(s);
253
253
  });
254
254
  }, this.sub = function(o) {
255
255
  r.add(o);
256
- var l = o.componentWillUnmount;
256
+ var s = o.componentWillUnmount;
257
257
  o.componentWillUnmount = function() {
258
- r && r.delete(o), l && l.call(o);
258
+ r && r.delete(o), s && s.call(o);
259
259
  };
260
260
  }), n.children;
261
261
  }
262
- return t.__c = "__cC" + Re++, t.__ = e, t.Provider = t.__l = (t.Consumer = function(n, r) {
262
+ return t.__c = "__cC" + Ie++, t.__ = e, t.Provider = t.__l = (t.Consumer = function(n, r) {
263
263
  return n.children(r);
264
264
  }).contextType = t, t;
265
265
  }
266
- K = Ue.slice, h = { __e: function(e, t, n, r) {
267
- for (var _, o, l; t = t.__; ) if ((_ = t.__c) && !_.__) try {
268
- if ((o = _.constructor) && o.getDerivedStateFromError != null && (_.setState(o.getDerivedStateFromError(e)), l = _.__d), _.componentDidCatch != null && (_.componentDidCatch(e, r || {}), l = _.__d), l) return _.__E = _;
269
- } catch (s) {
270
- e = s;
266
+ Q = Ae.slice, h = { __e: function(e, t, n, r) {
267
+ for (var _, o, s; t = t.__; ) if ((_ = t.__c) && !_.__) try {
268
+ if ((o = _.constructor) && o.getDerivedStateFromError != null && (_.setState(o.getDerivedStateFromError(e)), s = _.__d), _.componentDidCatch != null && (_.componentDidCatch(e, r || {}), s = _.__d), s) return _.__E = _;
269
+ } catch (c) {
270
+ e = c;
271
271
  }
272
272
  throw e;
273
- } }, Le = 0, V.prototype.setState = function(e, t) {
273
+ } }, Pe = 0, V.prototype.setState = function(e, t) {
274
274
  var n;
275
- n = this.__s != null && this.__s != this.state ? this.__s : this.__s = C({}, this.state), typeof e == "function" && (e = e(C({}, n), this.props)), e && C(n, e), e != null && this.__v && (t && this._sb.push(t), oe(this));
275
+ n = this.__s != null && this.__s != this.state ? this.__s : this.__s = C({}, this.state), typeof e == "function" && (e = e(C({}, n), this.props)), e && C(n, e), e != null && this.__v && (t && this._sb.push(t), _e(this));
276
276
  }, V.prototype.forceUpdate = function(e) {
277
- this.__v && (this.__e = true, e && this.__h.push(e), oe(this));
278
- }, V.prototype.render = J, H = [], Te = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, Ie = function(e, t) {
277
+ this.__v && (this.__e = true, e && this.__h.push(e), _e(this));
278
+ }, V.prototype.render = X, L = [], Le = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, He = function(e, t) {
279
279
  return e.__v.__b - t.__v.__b;
280
- }, z.__r = 0, Ae = /(PointerCapture)$|Capture$/i, ce = 0, ne = me(false), re = me(true), Re = 0;
281
- var ct = 0;
280
+ }, Y.__r = 0, Te = /(PointerCapture)$|Capture$/i, le = 0, re = me(false), oe = me(true), Ie = 0;
281
+ var st = 0;
282
282
  function a(e, t, n, r, _, o) {
283
283
  t || (t = {});
284
- var l, s, u = t;
285
- if ("ref" in u) for (s in u = {}, t) s == "ref" ? l = t[s] : u[s] = t[s];
286
- var c = { type: e, props: u, key: n, ref: l, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --ct, __i: -1, __u: 0, __source: _, __self: o };
287
- if (typeof e == "function" && (l = e.defaultProps)) for (s in l) u[s] === void 0 && (u[s] = l[s]);
288
- return h.vnode && h.vnode(c), c;
284
+ var s, c, u = t;
285
+ if ("ref" in u) for (c in u = {}, t) c == "ref" ? s = t[c] : u[c] = t[c];
286
+ var l = { type: e, props: u, key: n, ref: s, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --st, __i: -1, __u: 0, __source: _, __self: o };
287
+ if (typeof e == "function" && (s = e.defaultProps)) for (c in s) u[c] === void 0 && (u[c] = s[c]);
288
+ return h.vnode && h.vnode(l), l;
289
289
  }
290
- function at(e) {
290
+ function ct(e) {
291
291
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
292
292
  }
293
- var ee = { exports: {} };
293
+ var te = { exports: {} };
294
294
  /*!
295
295
  Copyright (c) 2018 Jed Watson.
296
296
  Licensed under the MIT License (MIT), see
297
297
  http://jedwatson.github.io/classnames
298
298
  */
299
299
  var ye;
300
- function ut() {
300
+ function lt() {
301
301
  return ye || (ye = 1, function(e) {
302
302
  (function() {
303
303
  var t = {}.hasOwnProperty;
304
304
  function n() {
305
- for (var o = "", l = 0; l < arguments.length; l++) {
306
- var s = arguments[l];
307
- s && (o = _(o, r(s)));
305
+ for (var o = "", s = 0; s < arguments.length; s++) {
306
+ var c = arguments[s];
307
+ c && (o = _(o, r(c)));
308
308
  }
309
309
  return o;
310
310
  }
@@ -317,119 +317,119 @@ function ut() {
317
317
  return n.apply(null, o);
318
318
  if (o.toString !== Object.prototype.toString && !o.toString.toString().includes("[native code]"))
319
319
  return o.toString();
320
- var l = "";
321
- for (var s in o)
322
- t.call(o, s) && o[s] && (l = _(l, s));
323
- return l;
320
+ var s = "";
321
+ for (var c in o)
322
+ t.call(o, c) && o[c] && (s = _(s, c));
323
+ return s;
324
324
  }
325
- function _(o, l) {
326
- return l ? o ? o + " " + l : o + l : o;
325
+ function _(o, s) {
326
+ return s ? o ? o + " " + s : o + s : o;
327
327
  }
328
328
  e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
329
329
  })();
330
- }(ee)), ee.exports;
331
- }
332
- var ft = ut();
333
- const S = /* @__PURE__ */ at(ft);
334
- var x = /* @__PURE__ */ ((e) => (e.Chapter = "chapter", e.Section = "section", e.Paragraph = "paragraph", e.Text = "text", e.Weblink = "weblink", e.List = "list", e.Table = "table", e.InternalReference = "internalReference", e))(x || {}), ie = /* @__PURE__ */ ((e) => (e.Bold = "BOLD", e.Italic = "ITALIC", e))(ie || {});
335
- let be = Date.now();
336
- const je = (e = "id") => (be += 1, `${e}-${be}`);
337
- var R, y, te, ge, Y = 0, ze = [], g = h, we = g.__b, ke = g.__r, Ne = g.diffed, xe = g.__c, Ce = g.unmount, Se = g.__;
338
- function X(e, t) {
339
- g.__h && g.__h(y, e, Y || t), Y = 0;
330
+ }(te)), te.exports;
331
+ }
332
+ var at = lt();
333
+ const S = /* @__PURE__ */ ct(at);
334
+ var N = /* @__PURE__ */ ((e) => (e.Chapter = "chapter", e.Section = "section", e.Paragraph = "paragraph", e.Text = "text", e.Weblink = "weblink", e.List = "list", e.Table = "table", e.InternalReference = "internalReference", e.Bigskip = "bigskip", e))(N || {}), se = /* @__PURE__ */ ((e) => (e.Bold = "BOLD", e.Italic = "ITALIC", e))(se || {});
335
+ let ge = Date.now();
336
+ const qe = (e = "id") => (ge += 1, `${e}-${ge}`);
337
+ var R, y, ne, be, G = 0, Ve = [], b = h, we = b.__b, ke = b.__r, Ne = b.diffed, xe = b.__c, Ce = b.unmount, Se = b.__;
338
+ function Z(e, t) {
339
+ b.__h && b.__h(y, e, G || t), G = 0;
340
340
  var n = y.__H || (y.__H = { __: [], __h: [] });
341
341
  return e >= n.__.length && n.__.push({}), n.__[e];
342
342
  }
343
343
  function U(e) {
344
- return Y = 1, dt(Qe, e);
344
+ return G = 1, ut(Ge, e);
345
345
  }
346
- function dt(e, t, n) {
347
- var r = X(R++, 2);
348
- if (r.t = e, !r.__c && (r.__ = [Qe(void 0, t), function(s) {
349
- var u = r.__N ? r.__N[0] : r.__[0], c = r.t(u, s);
350
- u !== c && (r.__N = [c, r.__[1]], r.__c.setState({}));
346
+ function ut(e, t, n) {
347
+ var r = Z(R++, 2);
348
+ if (r.t = e, !r.__c && (r.__ = [Ge(void 0, t), function(c) {
349
+ var u = r.__N ? r.__N[0] : r.__[0], l = r.t(u, c);
350
+ u !== l && (r.__N = [l, r.__[1]], r.__c.setState({}));
351
351
  }], r.__c = y, !y.__f)) {
352
- var _ = function(s, u, c) {
352
+ var _ = function(c, u, l) {
353
353
  if (!r.__c.__H) return true;
354
354
  var d = r.__c.__H.__.filter(function(p) {
355
355
  return !!p.__c;
356
356
  });
357
357
  if (d.every(function(p) {
358
358
  return !p.__N;
359
- })) return !o || o.call(this, s, u, c);
360
- var i = r.__c.props !== s;
359
+ })) return !o || o.call(this, c, u, l);
360
+ var i = r.__c.props !== c;
361
361
  return d.forEach(function(p) {
362
362
  if (p.__N) {
363
363
  var f = p.__[0];
364
364
  p.__ = p.__N, p.__N = void 0, f !== p.__[0] && (i = true);
365
365
  }
366
- }), o && o.call(this, s, u, c) || i;
366
+ }), o && o.call(this, c, u, l) || i;
367
367
  };
368
368
  y.__f = true;
369
- var o = y.shouldComponentUpdate, l = y.componentWillUpdate;
370
- y.componentWillUpdate = function(s, u, c) {
369
+ var o = y.shouldComponentUpdate, s = y.componentWillUpdate;
370
+ y.componentWillUpdate = function(c, u, l) {
371
371
  if (this.__e) {
372
372
  var d = o;
373
- o = void 0, _(s, u, c), o = d;
373
+ o = void 0, _(c, u, l), o = d;
374
374
  }
375
- l && l.call(this, s, u, c);
375
+ s && s.call(this, c, u, l);
376
376
  }, y.shouldComponentUpdate = _;
377
377
  }
378
378
  return r.__N || r.__;
379
379
  }
380
380
  function I(e, t) {
381
- var n = X(R++, 3);
382
- !g.__s && Ke(n.__H, t) && (n.__ = e, n.u = t, y.__H.__h.push(n));
381
+ var n = Z(R++, 3);
382
+ !b.__s && Ye(n.__H, t) && (n.__ = e, n.u = t, y.__H.__h.push(n));
383
383
  }
384
- function pt(e) {
385
- return Y = 5, Ye(function() {
384
+ function ft(e) {
385
+ return G = 5, je(function() {
386
386
  return { current: e };
387
387
  }, []);
388
388
  }
389
- function Ye(e, t) {
390
- var n = X(R++, 7);
391
- return Ke(n.__H, t) && (n.__ = e(), n.__H = t, n.__h = e), n.__;
389
+ function je(e, t) {
390
+ var n = Z(R++, 7);
391
+ return Ye(n.__H, t) && (n.__ = e(), n.__H = t, n.__h = e), n.__;
392
392
  }
393
- function Ge(e) {
394
- var t = y.context[e.__c], n = X(R++, 9);
393
+ function ze(e) {
394
+ var t = y.context[e.__c], n = Z(R++, 9);
395
395
  return n.c = e, t ? (n.__ == null && (n.__ = true, t.sub(y)), t.props.value) : e.__;
396
396
  }
397
- function ht() {
398
- for (var e; e = ze.shift(); ) if (e.__P && e.__H) try {
399
- e.__H.__h.forEach(j), e.__H.__h.forEach(le), e.__H.__h = [];
397
+ function dt() {
398
+ for (var e; e = Ve.shift(); ) if (e.__P && e.__H) try {
399
+ e.__H.__h.forEach(j), e.__H.__h.forEach(ce), e.__H.__h = [];
400
400
  } catch (t) {
401
- e.__H.__h = [], g.__e(t, e.__v);
401
+ e.__H.__h = [], b.__e(t, e.__v);
402
402
  }
403
403
  }
404
- g.__b = function(e) {
404
+ b.__b = function(e) {
405
405
  y = null, we && we(e);
406
- }, g.__ = function(e, t) {
406
+ }, b.__ = function(e, t) {
407
407
  e && t.__k && t.__k.__m && (e.__m = t.__k.__m), Se && Se(e, t);
408
- }, g.__r = function(e) {
408
+ }, b.__r = function(e) {
409
409
  ke && ke(e), R = 0;
410
410
  var t = (y = e.__c).__H;
411
- t && (te === y ? (t.__h = [], y.__h = [], t.__.forEach(function(n) {
411
+ t && (ne === y ? (t.__h = [], y.__h = [], t.__.forEach(function(n) {
412
412
  n.__N && (n.__ = n.__N), n.u = n.__N = void 0;
413
- })) : (t.__h.forEach(j), t.__h.forEach(le), t.__h = [], R = 0)), te = y;
414
- }, g.diffed = function(e) {
413
+ })) : (t.__h.forEach(j), t.__h.forEach(ce), t.__h = [], R = 0)), ne = y;
414
+ }, b.diffed = function(e) {
415
415
  Ne && Ne(e);
416
416
  var t = e.__c;
417
- t && t.__H && (t.__H.__h.length && (ze.push(t) !== 1 && ge === g.requestAnimationFrame || ((ge = g.requestAnimationFrame) || vt)(ht)), t.__H.__.forEach(function(n) {
417
+ t && t.__H && (t.__H.__h.length && (Ve.push(t) !== 1 && be === b.requestAnimationFrame || ((be = b.requestAnimationFrame) || pt)(dt)), t.__H.__.forEach(function(n) {
418
418
  n.u && (n.__H = n.u), n.u = void 0;
419
- })), te = y = null;
420
- }, g.__c = function(e, t) {
419
+ })), ne = y = null;
420
+ }, b.__c = function(e, t) {
421
421
  t.some(function(n) {
422
422
  try {
423
423
  n.__h.forEach(j), n.__h = n.__h.filter(function(r) {
424
- return !r.__ || le(r);
424
+ return !r.__ || ce(r);
425
425
  });
426
426
  } catch (r) {
427
427
  t.some(function(_) {
428
428
  _.__h && (_.__h = []);
429
- }), t = [], g.__e(r, n.__v);
429
+ }), t = [], b.__e(r, n.__v);
430
430
  }
431
431
  }), xe && xe(e, t);
432
- }, g.unmount = function(e) {
432
+ }, b.unmount = function(e) {
433
433
  Ce && Ce(e);
434
434
  var t, n = e.__c;
435
435
  n && n.__H && (n.__H.__.forEach(function(r) {
@@ -438,10 +438,10 @@ g.__b = function(e) {
438
438
  } catch (_) {
439
439
  t = _;
440
440
  }
441
- }), n.__H = void 0, t && g.__e(t, n.__v));
441
+ }), n.__H = void 0, t && b.__e(t, n.__v));
442
442
  };
443
443
  var $e = typeof requestAnimationFrame == "function";
444
- function vt(e) {
444
+ function pt(e) {
445
445
  var t, n = function() {
446
446
  clearTimeout(r), $e && cancelAnimationFrame(t), setTimeout(e);
447
447
  }, r = setTimeout(n, 35);
@@ -451,30 +451,33 @@ function j(e) {
451
451
  var t = y, n = e.__c;
452
452
  typeof n == "function" && (e.__c = void 0, n()), y = t;
453
453
  }
454
- function le(e) {
454
+ function ce(e) {
455
455
  var t = y;
456
456
  e.__c = e.__(), y = t;
457
457
  }
458
- function Ke(e, t) {
458
+ function Ye(e, t) {
459
459
  return !e || e.length !== t.length || t.some(function(n, r) {
460
460
  return n !== e[r];
461
461
  });
462
462
  }
463
- function Qe(e, t) {
463
+ function Ge(e, t) {
464
464
  return typeof t == "function" ? t(e) : t;
465
465
  }
466
- const Je = Ve(null);
467
- function mt({
466
+ const Ke = Fe(null);
467
+ function ht({
468
468
  children: e,
469
469
  className: t,
470
470
  expand: n = false,
471
471
  type: r,
472
472
  onExpandSection: _
473
473
  }) {
474
- const [o, l] = U([]), s = S("adv-accordion", t, {
474
+ const [o, s] = U([]), c = S("adv-accordion", t, {
475
475
  "adv-accordion--container": r === "container"
476
476
  });
477
- return /* @__PURE__ */ a(Je.Provider, { value: { expand: n, items: o, setItems: l, onExpandSection: _ }, children: /* @__PURE__ */ a("div", { className: s, children: e }) });
477
+ return /* @__PURE__ */ a(Ke.Provider, { value: { expand: n, items: o, setItems: s, onExpandSection: _ }, children: /* @__PURE__ */ a("div", { className: c, children: e }) });
478
+ }
479
+ function vt() {
480
+ return /* @__PURE__ */ a("div", { className: "adv-bigskip" });
478
481
  }
479
482
  const Ee = {
480
483
  1: "h1",
@@ -482,50 +485,49 @@ const Ee = {
482
485
  };
483
486
  function de({ className: e, level: t, children: n }) {
484
487
  const r = Ee[t] || Ee[1], _ = S("adv-heading", `adv-heading--${t}`, e);
485
- return De(r, { className: _ }, n);
488
+ return Re(r, { className: _ }, n);
486
489
  }
487
- function L({ content: e, styles: t }) {
490
+ function H({ content: e, styles: t }) {
488
491
  const n = S({
489
- "adv-u-font-weight-semi-bold": t == null ? void 0 : t.includes(ie.Bold),
490
- "adv-u-font-italic": t == null ? void 0 : t.includes(ie.Italic)
492
+ "adv-u-font-weight-semi-bold": t?.includes(se.Bold),
493
+ "adv-u-font-italic": t?.includes(se.Italic)
491
494
  });
492
495
  return /* @__PURE__ */ a("span", { className: n, children: e });
493
496
  }
494
- function yt({ title: e, contentElements: t }) {
497
+ function mt({ title: e, contentElements: t }) {
495
498
  return /* @__PURE__ */ a("section", { className: "adv-u-margin-bottom-48", children: [
496
- /* @__PURE__ */ a(de, { level: 2, className: "adv-u-margin-top-24 adv-u-margin-bottom-16", children: /* @__PURE__ */ a(L, { content: e.content, styles: e.styles }) }),
499
+ /* @__PURE__ */ a(de, { level: 2, className: "adv-u-margin-top-24 adv-u-margin-bottom-16", children: /* @__PURE__ */ a(H, { content: e.content, styles: e.styles }) }),
497
500
  /* @__PURE__ */ a(P, { contentElements: t, isTopLevel: true })
498
501
  ] });
499
502
  }
500
- const Xe = Ve({
503
+ const Qe = Fe({
501
504
  references: {},
502
505
  addReference: () => {
503
506
  }
504
507
  });
505
- function Ze() {
506
- const e = Ge(Xe);
508
+ function Je() {
509
+ const e = ze(Qe);
507
510
  if (e === void 0)
508
511
  throw new Error("useReferenceContext must be used within a ReferenceProvider");
509
512
  return e;
510
513
  }
511
- const bt = (e) => new Promise((t) => {
514
+ const yt = (e) => new Promise((t) => {
512
515
  setTimeout(t, e);
513
- }), G = (e) => e ? `adyen-document-viewer-${e.replace(/[^\w-]/g, "").slice(0, 32)}` : void 0, et = (e) => {
516
+ }), K = (e) => e ? `adyen-document-viewer-${e.replace(/[^\w-]/g, "").slice(0, 32)}` : void 0, Xe = (e) => {
514
517
  if (!e) return null;
515
518
  const t = e instanceof HTMLElement, n = t && window.getComputedStyle(e).overflowY;
516
- return t && (n !== "visible" && n !== "hidden") ? e : et(e.parentNode) ?? document.body;
519
+ return t && (n !== "visible" && n !== "hidden") ? e : Xe(e.parentNode) ?? document.body;
517
520
  }, gt = ({ onClick: e, label: t }) => /* @__PURE__ */ a("button", { className: "adv-link", type: "button", onClick: e, title: t, children: t });
518
- function wt({
521
+ function bt({
519
522
  referencedLabel: e,
520
523
  displayText: t
521
524
  }) {
522
- const n = t ? t.content : e, r = G(e) ?? "", { references: _ } = Ze();
525
+ const n = t ? t.content : e, r = K(e) ?? "", { references: _ } = Je();
523
526
  return /* @__PURE__ */ a(gt, { onClick: async () => {
524
- var _a, _b;
525
- _ && r && _[r] && (_[r].openSection(), await bt(150)), (_b = (_a = et(document.getElementById(r))) == null ? void 0 : _a.querySelector(`#${r}`)) == null ? void 0 : _b.scrollIntoView({ behavior: "smooth" });
527
+ _ && r && _[r] && (_[r].openSection(), await yt(150)), Xe(document.getElementById(r))?.querySelector(`#${r}`)?.scrollIntoView({ behavior: "smooth" });
526
528
  }, label: n });
527
529
  }
528
- function kt({ className: e, nested: t, ordered: n, noMarkers: r, children: _ }) {
530
+ function wt({ className: e, nested: t, ordered: n, noMarkers: r, children: _ }) {
529
531
  const o = S([
530
532
  "adv-list",
531
533
  t && "adv-list--nested",
@@ -535,30 +537,29 @@ function kt({ className: e, nested: t, ordered: n, noMarkers: r, children: _ })
535
537
  ]);
536
538
  return /* @__PURE__ */ a("ul", { className: o, children: _ });
537
539
  }
538
- function Nt({ className: e, children: t, noMarkers: n }) {
540
+ function kt({ className: e, children: t, noMarkers: n }) {
539
541
  const r = S(["adv-list__item", n && "adv-list__item--no-markers", e]);
540
542
  return /* @__PURE__ */ a("li", { className: r, children: t });
541
543
  }
542
- function tt({ items: e, style: t }) {
543
- return /* @__PURE__ */ a(kt, { ordered: t.ordered, children: e.map((n, r) => /* @__PURE__ */ a(Nt, { children: [
544
+ function Ze({ items: e, style: t }) {
545
+ return /* @__PURE__ */ a(wt, { ordered: t.ordered, children: e.map((n, r) => /* @__PURE__ */ a(kt, { children: [
544
546
  /* @__PURE__ */ a(P, { contentElements: n.content }),
545
- n.subList && /* @__PURE__ */ a(tt, { style: n.subList.style, items: n.subList.items })
547
+ n.subList && /* @__PURE__ */ a(Ze, { style: n.subList.style, items: n.subList.items })
546
548
  ] }, r)) });
547
549
  }
548
- function xt({ isTopLevel: e, contentElements: t }) {
550
+ function Nt({ isTopLevel: e, contentElements: t }) {
549
551
  const n = S("adv-paragraph", {
550
552
  "adv-u-margin-bottom-16": e
551
553
  });
552
554
  return /* @__PURE__ */ a("p", { className: n, children: /* @__PURE__ */ a(P, { contentElements: t }) });
553
555
  }
554
- function Ct({
556
+ function xt({
555
557
  children: e,
556
558
  collapsed: t = false
557
559
  }) {
558
- const n = pt(null), [r, _] = U(t ? 0 : void 0);
560
+ const n = ft(null), [r, _] = U(t ? 0 : void 0);
559
561
  return I(() => {
560
- var _a;
561
- _(t ? 0 : (_a = n.current) == null ? void 0 : _a.scrollHeight);
562
+ _(t ? 0 : n.current?.scrollHeight);
562
563
  }, [t]), /* @__PURE__ */ a(
563
564
  "div",
564
565
  {
@@ -570,7 +571,7 @@ function Ct({
570
571
  }
571
572
  );
572
573
  }
573
- const St = ({ className: e = "", name: t }) => {
574
+ const Ct = ({ className: e = "", name: t }) => {
574
575
  const n = {
575
576
  "chevron-up": /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 15 15", width: "15", height: "15", children: /* @__PURE__ */ a(
576
577
  "path",
@@ -589,10 +590,10 @@ const St = ({ className: e = "", name: t }) => {
589
590
  };
590
591
  return /* @__PURE__ */ a("i", { className: S("adv-icon", e), role: "img", "aria-hidden": true, children: n[t] });
591
592
  };
592
- function $t() {
593
- return Ge(Je);
593
+ function St() {
594
+ return ze(Ke);
594
595
  }
595
- function Et({
596
+ function $t({
596
597
  children: e,
597
598
  open: t = false,
598
599
  title: n = "",
@@ -601,53 +602,52 @@ function Et({
601
602
  onClose: _ = () => {
602
603
  }
603
604
  }) {
604
- const { expand: o, items: l, setItems: s, onExpandSection: u } = $t(), [c, d] = U(t), [i] = U(je), p = () => {
605
- const f = !c, b = [...l];
606
- o ? (b.find((k) => k.id === i).isOpen = f, s(b)) : s(b.map((k) => ({ ...k, isOpen: k.id === i ? f : false })));
605
+ const { expand: o, items: s, setItems: c, onExpandSection: u } = St(), [l, d] = U(t), [i] = U(qe), p = () => {
606
+ const f = !l, g = [...s];
607
+ o ? (g.find((k) => k.id === i).isOpen = f, c(g)) : c(g.map((k) => ({ ...k, isOpen: k.id === i ? f : false })));
607
608
  };
608
609
  return I(() => {
609
- s((f) => [...f, { id: i, isOpen: c }]);
610
+ c((f) => [...f, { id: i, isOpen: l }]);
610
611
  }, []), I(() => {
611
612
  d(t);
612
613
  }, [t]), I(() => {
613
- var _a;
614
- d(((_a = l.find((f) => f.id === i)) == null ? void 0 : _a.isOpen) ?? false);
615
- }, [l]), I(() => {
616
- c ? (u == null ? void 0 : u(n), r()) : _();
617
- }, [c]), /* @__PURE__ */ a("div", { className: "adv-accordion__item", children: [
614
+ d(s.find((f) => f.id === i)?.isOpen ?? false);
615
+ }, [s]), I(() => {
616
+ l ? (u?.(n), r()) : _();
617
+ }, [l]), /* @__PURE__ */ a("div", { className: "adv-accordion__item", children: [
618
618
  /* @__PURE__ */ a("div", { role: "button", className: "adv-accordion__header", tabIndex: 0, onClick: p, children: [
619
- /* @__PURE__ */ a(St, { name: c ? "chevron-up" : "chevron-down", className: "adv-accordion__toggle" }),
619
+ /* @__PURE__ */ a(Ct, { name: l ? "chevron-up" : "chevron-down", className: "adv-accordion__toggle" }),
620
620
  /* @__PURE__ */ a("div", { className: "adv-accordion__title-wrapper", children: /* @__PURE__ */ a("div", { className: "adv-accordion__title", children: n }) })
621
621
  ] }),
622
- /* @__PURE__ */ a(Ct, { collapsed: !c, children: /* @__PURE__ */ a("div", { className: "adv-accordion__content", children: e }) })
622
+ /* @__PURE__ */ a(xt, { collapsed: !l, children: /* @__PURE__ */ a("div", { className: "adv-accordion__content", children: e }) })
623
623
  ] });
624
624
  }
625
- const nt = (e) => {
625
+ const et = (e) => {
626
626
  if (typeof e != "object" || e === null) return [];
627
627
  const t = [];
628
628
  "label" in e && typeof e.label == "string" && e.label !== "" && t.push(e.label);
629
629
  for (const n in e) {
630
630
  const r = e[n];
631
- (Array.isArray(r) || typeof r == "object" && r !== null) && t.push(...nt(r));
631
+ (Array.isArray(r) || typeof r == "object" && r !== null) && t.push(...et(r));
632
632
  }
633
633
  return t;
634
634
  };
635
- function Pt({
635
+ function Et({
636
636
  title: e,
637
637
  label: t,
638
638
  isTopLevel: n,
639
639
  contentElements: r
640
640
  }) {
641
- const [_, o] = U(false), { addReference: l } = Ze(), s = G(t);
641
+ const [_, o] = U(false), { addReference: s } = Je(), c = K(t);
642
642
  return I(() => {
643
643
  if (n) {
644
- const u = nt(r).map(G);
645
- s && u.push(s), u.length && u.forEach((c) => {
646
- l({ [c]: { openSection: () => o(true) } });
644
+ const u = et(r).map(K);
645
+ c && u.push(c), u.length && u.forEach((l) => {
646
+ s({ [l]: { openSection: () => o(true) } });
647
647
  });
648
648
  }
649
649
  }, []), n ? /* @__PURE__ */ a(
650
- Et,
650
+ $t,
651
651
  {
652
652
  title: e.content,
653
653
  open: _,
@@ -657,30 +657,30 @@ function Pt({
657
657
  onClose: () => {
658
658
  o(false);
659
659
  },
660
- children: /* @__PURE__ */ a("section", { className: "adv-section-box", id: s, children: /* @__PURE__ */ a(P, { contentElements: r }) })
660
+ children: /* @__PURE__ */ a("section", { className: "adv-section-box", id: c, children: /* @__PURE__ */ a(P, { contentElements: r }) })
661
661
  }
662
- ) : /* @__PURE__ */ a("section", { id: s, children: [
663
- /* @__PURE__ */ a(de, { level: 2, className: "adv-u-margin-top-24 adv-u-margin-bottom-16", children: /* @__PURE__ */ a(L, { content: e.content, styles: e.styles }) }),
662
+ ) : /* @__PURE__ */ a("section", { id: c, children: [
663
+ /* @__PURE__ */ a(de, { level: 2, className: "adv-u-margin-top-24 adv-u-margin-bottom-16", children: /* @__PURE__ */ a(H, { content: e.content, styles: e.styles }) }),
664
664
  /* @__PURE__ */ a(P, { contentElements: r })
665
665
  ] });
666
666
  }
667
- function Ht({
667
+ function Pt({
668
668
  rows: e,
669
669
  label: t,
670
670
  captions: n,
671
671
  titlePrefix: r,
672
672
  title: _
673
673
  }) {
674
- const o = G(t);
674
+ const o = K(t);
675
675
  return /* @__PURE__ */ a("div", { id: o, children: [
676
676
  /* @__PURE__ */ a("div", { className: "adv-u-margin-y-8 adv-u-text-align-center", children: [
677
- r && /* @__PURE__ */ a(L, { ...r }),
677
+ r && /* @__PURE__ */ a(H, { ...r }),
678
678
  r && _ && " ",
679
- _ && /* @__PURE__ */ a(L, { ..._ })
679
+ _ && /* @__PURE__ */ a(H, { ..._ })
680
680
  ] }),
681
681
  /* @__PURE__ */ a("table", { className: "adv-table adv-table--condensed", children: [
682
682
  n && /* @__PURE__ */ a("caption", { children: /* @__PURE__ */ a(P, { contentElements: n }) }),
683
- /* @__PURE__ */ a("tbody", { className: "adv-table__body", children: e.map((l, s) => /* @__PURE__ */ a("tr", { className: "adv-table__row", children: l.map((u, c) => /* @__PURE__ */ a("td", { className: "adv-table__cell", children: /* @__PURE__ */ a(P, { contentElements: u.elements }) }, c)) }, s)) })
683
+ /* @__PURE__ */ a("tbody", { className: "adv-table__body", children: e.map((s, c) => /* @__PURE__ */ a("tr", { className: "adv-table__row", children: s.map((u, l) => /* @__PURE__ */ a("td", { className: "adv-table__cell", children: /* @__PURE__ */ a(P, { contentElements: u.elements }) }, l)) }, c)) })
684
684
  ] })
685
685
  ] });
686
686
  }
@@ -692,7 +692,7 @@ const Lt = ({
692
692
  inheritStyles: _,
693
693
  onClick: o
694
694
  }) => {
695
- const l = S("adv-link", e, {
695
+ const s = S("adv-link", e, {
696
696
  "adv-link--underline": r,
697
697
  "adv-link--inherit": _
698
698
  });
@@ -700,59 +700,60 @@ const Lt = ({
700
700
  "a",
701
701
  {
702
702
  href: n,
703
- className: l,
703
+ className: s,
704
704
  target: "_blank",
705
705
  rel: "noopener noreferrer",
706
706
  onClick: o,
707
707
  children: /* @__PURE__ */ a("span", { className: "adv-link__text", children: t })
708
708
  }
709
709
  );
710
- }, Tt = ({ url: e, displayText: t }) => /* @__PURE__ */ a(Lt, { href: e, children: t ? /* @__PURE__ */ a(L, { ...t }) : e }), It = {
711
- chapter: yt,
712
- section: Pt,
713
- paragraph: xt,
714
- text: L,
715
- weblink: Tt,
716
- list: tt,
717
- table: Ht,
718
- internalReference: wt,
719
- breakline: "br"
720
- }, At = (e) => `key-${e}-${je()}`, Rt = (e, t) => {
710
+ }, Ht = ({ url: e, displayText: t }) => /* @__PURE__ */ a(Lt, { href: e, children: t ? /* @__PURE__ */ a(H, { ...t }) : e }), Tt = {
711
+ chapter: mt,
712
+ section: Et,
713
+ paragraph: Nt,
714
+ text: H,
715
+ weblink: Ht,
716
+ list: Ze,
717
+ table: Pt,
718
+ internalReference: bt,
719
+ breakline: "br",
720
+ bigskip: vt
721
+ }, It = (e) => `key-${e}-${qe()}`, At = (e, t) => {
721
722
  if (!("type" in e)) return null;
722
723
  switch (e.type) {
723
- case x.Chapter:
724
+ case N.Chapter:
724
725
  return {
725
726
  title: e.title,
726
727
  contentElements: e.contentElements
727
728
  };
728
- case x.Section:
729
+ case N.Section:
729
730
  return {
730
731
  isTopLevel: t,
731
732
  title: e.title,
732
733
  label: e.label,
733
734
  contentElements: e.contentElements
734
735
  };
735
- case x.Paragraph:
736
+ case N.Paragraph:
736
737
  return {
737
738
  isTopLevel: t,
738
739
  contentElements: e.contentElements
739
740
  };
740
- case x.Text:
741
+ case N.Text:
741
742
  return {
742
743
  content: e.content,
743
744
  styles: e.styles
744
745
  };
745
- case x.Weblink:
746
+ case N.Weblink:
746
747
  return {
747
748
  url: e.url,
748
749
  displayText: e.displayText
749
750
  };
750
- case x.List:
751
+ case N.List:
751
752
  return {
752
753
  items: e.items,
753
754
  style: e.style
754
755
  };
755
- case x.Table:
756
+ case N.Table:
756
757
  return {
757
758
  rows: e.rows,
758
759
  label: e.label,
@@ -760,11 +761,13 @@ const Lt = ({
760
761
  titlePrefix: e.titlePrefix,
761
762
  title: e.title
762
763
  };
763
- case x.InternalReference:
764
+ case N.InternalReference:
764
765
  return {
765
766
  referencedLabel: e.referencedLabel,
766
767
  displayText: e.displayText
767
768
  };
769
+ case N.Bigskip:
770
+ return {};
768
771
  default:
769
772
  return null;
770
773
  }
@@ -777,13 +780,13 @@ function P({
777
780
  }) {
778
781
  const _ = e.map((o) => {
779
782
  if (!("type" in o)) return null;
780
- const l = It[o.type];
781
- return /* @__PURE__ */ a(l, { ...Rt(o, t) }, At(o.type));
783
+ const s = Tt[o.type];
784
+ return /* @__PURE__ */ a(s, { ...At(o, t) }, It(o.type));
782
785
  });
783
- return t ? /* @__PURE__ */ a(mt, { onExpandSection: n, expand: r, children: _ }) : /* @__PURE__ */ a("span", { children: _ });
786
+ return t ? /* @__PURE__ */ a(ht, { onExpandSection: n, expand: r, children: _ }) : /* @__PURE__ */ a("span", { children: _ });
784
787
  }
785
- function Ut({ children: e }) {
786
- const [t, n] = U({}), r = Ye(
788
+ function Rt({ children: e }) {
789
+ const [t, n] = U({}), r = je(
787
790
  () => ({
788
791
  addReference: (_) => {
789
792
  n((o) => ({
@@ -795,17 +798,17 @@ function Ut({ children: e }) {
795
798
  }),
796
799
  [t, n]
797
800
  );
798
- return /* @__PURE__ */ a(Xe.Provider, { value: r, children: e });
801
+ return /* @__PURE__ */ a(Qe.Provider, { value: r, children: e });
799
802
  }
800
- function Dt({
803
+ function Ut({
801
804
  document: e,
802
805
  className: t,
803
806
  onExpandSection: n,
804
807
  multiple: r
805
808
  }) {
806
809
  const _ = S("adyen-document-viewer", t);
807
- return /* @__PURE__ */ a(Ut, { children: /* @__PURE__ */ a("div", { className: _, children: [
808
- /* @__PURE__ */ a(de, { level: 1, className: "adv-u-margin-top-24 adv-u-margin-bottom-16", children: /* @__PURE__ */ a(L, { content: e.title.content, styles: e.title.styles }) }),
810
+ return /* @__PURE__ */ a(Rt, { children: /* @__PURE__ */ a("div", { className: _, children: [
811
+ /* @__PURE__ */ a(de, { level: 1, className: "adv-u-margin-top-24 adv-u-margin-bottom-16", children: /* @__PURE__ */ a(H, { content: e.title.content, styles: e.title.styles }) }),
809
812
  /* @__PURE__ */ a(
810
813
  P,
811
814
  {
@@ -817,60 +820,66 @@ function Dt({
817
820
  )
818
821
  ] }) });
819
822
  }
820
- function Pe(e) {
821
- return "type" in e && e.type === x.Section;
823
+ function Dt(e) {
824
+ return "type" in e && e.type === N.Chapter;
822
825
  }
823
- function He(e) {
826
+ function Mt(e) {
827
+ return "type" in e && e.type === N.Section;
828
+ }
829
+ function Ot(e) {
824
830
  return "contentElements" in e && Array.isArray(e.contentElements);
825
831
  }
826
- function Mt(e) {
832
+ function Wt(e) {
827
833
  return e.isTopLevel ? `${e.counter}` : `${e.prefix}${e.counter}`;
828
834
  }
829
- function Ot(e, t) {
835
+ function Bt(e, t) {
830
836
  return `${e} ${t}`;
831
837
  }
832
- function se(e, t) {
833
- if (Pe(e)) {
834
- const n = Mt(t), r = {
838
+ function z(e, t) {
839
+ if (Dt(e)) {
840
+ const n = { prefix: "", counter: 1, isTopLevel: true };
841
+ return {
842
+ ...e,
843
+ contentElements: e.contentElements.map(
844
+ (r) => z(r, n)
845
+ )
846
+ };
847
+ } else if (Mt(e)) {
848
+ const n = Wt(t), r = {
835
849
  ...e,
836
850
  title: {
837
851
  ...e.title,
838
- content: Ot(n, e.title.content)
852
+ content: Bt(n, e.title.content)
839
853
  }
840
854
  };
841
- if (t.counter += 1, He(e)) {
842
- let _ = 1;
843
- r.contentElements = e.contentElements.map((o) => {
844
- if (Pe(o)) {
845
- const l = {
846
- prefix: `${n}.`,
847
- counter: _,
848
- isTopLevel: false
849
- };
850
- return _ += 1, se(o, l);
851
- }
852
- return o;
853
- });
854
- }
855
- return r;
856
- }
857
- return He(e) ? {
858
- ...e,
859
- contentElements: e.contentElements.map(
860
- (n) => se(n, t)
861
- )
862
- } : e;
855
+ t.counter += 1;
856
+ const _ = {
857
+ prefix: `${n}.`,
858
+ counter: 1,
859
+ isTopLevel: false
860
+ };
861
+ return r.contentElements = e.contentElements.map(
862
+ (o) => z(o, _)
863
+ ), r;
864
+ } else if (Ot(e))
865
+ return {
866
+ ...e,
867
+ contentElements: e.contentElements.map(
868
+ (n) => z(n, t)
869
+ )
870
+ };
871
+ return e;
863
872
  }
864
- function Wt(e) {
873
+ function Ft(e) {
865
874
  const t = { prefix: "", counter: 1, isTopLevel: true };
866
875
  return {
867
876
  ...e,
868
877
  contentElements: e.contentElements.map(
869
- (n) => se(n, t)
878
+ (n) => z(n, t)
870
879
  )
871
880
  };
872
881
  }
873
- class Ft {
882
+ class qt {
874
883
  /**
875
884
  * Initializes the library
876
885
  * @param target - The target element (HTMLElement or querySelector string)
@@ -897,10 +906,10 @@ class Ft {
897
906
  * @param document - The JSON document
898
907
  */
899
908
  render(t) {
900
- const n = this.options.showSectionNumbering ? Wt(t) : t;
901
- st(
909
+ const n = this.options.showSectionNumbering ? Ft(t) : t;
910
+ it(
902
911
  /* @__PURE__ */ a(
903
- Dt,
912
+ Ut,
904
913
  {
905
914
  document: n,
906
915
  onExpandSection: this.options.onExpandSection,
@@ -923,7 +932,7 @@ function ContractViewer({
923
932
  useEffect(() => {
924
933
  if (container.current && !adyenDocumentViewer) {
925
934
  setAdyenDocumentViewer(
926
- new Ft(container.current, { onExpandSection, showSectionNumbering })
935
+ new qt(container.current, { onExpandSection, showSectionNumbering })
927
936
  );
928
937
  }
929
938
  if (adyenDocumentViewer && contract) {