zudoku 0.47.2 → 0.48.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 (264) hide show
  1. package/dist/app/ZuploBuildConfig.d.ts +4 -114
  2. package/dist/app/ZuploBuildConfig.js +1 -1
  3. package/dist/app/ZuploBuildConfig.js.map +1 -1
  4. package/dist/app/demo.js +4 -3
  5. package/dist/app/demo.js.map +1 -1
  6. package/dist/app/main.js +5 -5
  7. package/dist/app/main.js.map +1 -1
  8. package/dist/app/standalone.js +4 -3
  9. package/dist/app/standalone.js.map +1 -1
  10. package/dist/config/loader.js +1 -2
  11. package/dist/config/loader.js.map +1 -1
  12. package/dist/config/validators/BuildSchema.d.ts +20 -44
  13. package/dist/config/validators/BuildSchema.js +3 -14
  14. package/dist/config/validators/BuildSchema.js.map +1 -1
  15. package/dist/config/validators/InputNavigationSchema.d.ts +7217 -0
  16. package/dist/config/validators/InputNavigationSchema.js +74 -0
  17. package/dist/config/validators/InputNavigationSchema.js.map +1 -0
  18. package/dist/config/validators/InputNavigationSchema.test-d.d.ts +1 -0
  19. package/dist/config/validators/InputNavigationSchema.test-d.js +146 -0
  20. package/dist/config/validators/InputNavigationSchema.test-d.js.map +1 -0
  21. package/dist/config/validators/NavigationSchema.d.ts +44 -0
  22. package/dist/config/validators/NavigationSchema.js +95 -0
  23. package/dist/config/validators/NavigationSchema.js.map +1 -0
  24. package/dist/config/validators/icon-types.d.ts +2 -1
  25. package/dist/config/validators/icon-types.js +1775 -1
  26. package/dist/config/validators/icon-types.js.map +1 -1
  27. package/dist/config/validators/validate.d.ts +442 -5780
  28. package/dist/config/validators/validate.js +37 -55
  29. package/dist/config/validators/validate.js.map +1 -1
  30. package/dist/config/validators/validate.test.js +0 -2
  31. package/dist/config/validators/validate.test.js.map +1 -1
  32. package/dist/index.d.ts +1 -1
  33. package/dist/index.js.map +1 -1
  34. package/dist/lib/components/BuildCheck.js +1 -1
  35. package/dist/lib/components/BuildCheck.js.map +1 -1
  36. package/dist/lib/components/Header.js +10 -9
  37. package/dist/lib/components/Header.js.map +1 -1
  38. package/dist/lib/components/Heading.d.ts +6 -2
  39. package/dist/lib/components/Heading.js +2 -2
  40. package/dist/lib/components/Heading.js.map +1 -1
  41. package/dist/lib/components/Main.js +4 -4
  42. package/dist/lib/components/Main.js.map +1 -1
  43. package/dist/lib/components/MobileTopNavigation.js +5 -5
  44. package/dist/lib/components/MobileTopNavigation.js.map +1 -1
  45. package/dist/lib/components/PageProgress.d.ts +1 -0
  46. package/dist/lib/components/PageProgress.js +20 -0
  47. package/dist/lib/components/PageProgress.js.map +1 -0
  48. package/dist/lib/components/TopNavigation.d.ts +2 -3
  49. package/dist/lib/components/TopNavigation.js +45 -44
  50. package/dist/lib/components/TopNavigation.js.map +1 -1
  51. package/dist/lib/components/context/ZudokuContext.d.ts +3 -7
  52. package/dist/lib/components/context/ZudokuContext.js +44 -26
  53. package/dist/lib/components/context/ZudokuContext.js.map +1 -1
  54. package/dist/lib/components/navigation/Navigation.d.ts +5 -0
  55. package/dist/lib/components/navigation/Navigation.js +12 -0
  56. package/dist/lib/components/navigation/Navigation.js.map +1 -0
  57. package/dist/lib/components/navigation/{SidebarBadge.d.ts → NavigationBadge.d.ts} +1 -1
  58. package/dist/lib/components/navigation/{SidebarBadge.js → NavigationBadge.js} +2 -2
  59. package/dist/lib/components/navigation/NavigationBadge.js.map +1 -0
  60. package/dist/lib/components/navigation/NavigationCategory.d.ts +5 -0
  61. package/dist/lib/components/navigation/{SidebarCategory.js → NavigationCategory.js} +14 -12
  62. package/dist/lib/components/navigation/NavigationCategory.js.map +1 -0
  63. package/dist/lib/components/navigation/NavigationItem.d.ts +6 -0
  64. package/dist/lib/components/navigation/NavigationItem.js +47 -0
  65. package/dist/lib/components/navigation/NavigationItem.js.map +1 -0
  66. package/dist/lib/components/navigation/{SidebarWrapper.d.ts → NavigationWrapper.d.ts} +1 -1
  67. package/dist/lib/components/navigation/{SidebarWrapper.js → NavigationWrapper.js} +3 -3
  68. package/dist/lib/components/navigation/NavigationWrapper.js.map +1 -0
  69. package/dist/lib/components/navigation/utils.d.ts +7 -9
  70. package/dist/lib/components/navigation/utils.js +17 -17
  71. package/dist/lib/components/navigation/utils.js.map +1 -1
  72. package/dist/lib/core/ZudokuContext.d.ts +6 -8
  73. package/dist/lib/core/ZudokuContext.js +5 -7
  74. package/dist/lib/core/ZudokuContext.js.map +1 -1
  75. package/dist/lib/core/plugins.d.ts +2 -2
  76. package/dist/lib/hooks/useEvent.test.js +5 -3
  77. package/dist/lib/hooks/useEvent.test.js.map +1 -1
  78. package/dist/lib/plugins/api-catalog/Catalog.d.ts +1 -1
  79. package/dist/lib/plugins/api-catalog/index.d.ts +6 -6
  80. package/dist/lib/plugins/api-catalog/index.js +10 -10
  81. package/dist/lib/plugins/api-catalog/index.js.map +1 -1
  82. package/dist/lib/plugins/api-keys/SettingsApiKeys.js +4 -4
  83. package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
  84. package/dist/lib/plugins/custom-pages/index.d.ts +3 -2
  85. package/dist/lib/plugins/custom-pages/index.js +15 -8
  86. package/dist/lib/plugins/custom-pages/index.js.map +1 -1
  87. package/dist/lib/plugins/markdown/MdxPage.js +6 -3
  88. package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
  89. package/dist/lib/plugins/markdown/index.d.ts +2 -1
  90. package/dist/lib/plugins/markdown/index.js +9 -26
  91. package/dist/lib/plugins/markdown/index.js.map +1 -1
  92. package/dist/lib/plugins/openapi/OperationList.js +1 -1
  93. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  94. package/dist/lib/plugins/openapi/OperationListItem.js +1 -1
  95. package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
  96. package/dist/lib/plugins/openapi/SchemaList.js +1 -1
  97. package/dist/lib/plugins/openapi/SchemaList.js.map +1 -1
  98. package/dist/lib/plugins/openapi/graphql/gql.d.ts +1 -1
  99. package/dist/lib/plugins/openapi/graphql/gql.js +1 -1
  100. package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
  101. package/dist/lib/plugins/openapi/graphql/graphql.d.ts +3 -3
  102. package/dist/lib/plugins/openapi/graphql/graphql.js +2 -2
  103. package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
  104. package/dist/lib/plugins/openapi/index.d.ts +3 -3
  105. package/dist/lib/plugins/openapi/index.js +9 -9
  106. package/dist/lib/plugins/openapi/index.js.map +1 -1
  107. package/dist/lib/plugins/openapi/interfaces.d.ts +3 -3
  108. package/dist/lib/plugins/openapi/util/createNavigationCategory.d.ts +9 -0
  109. package/dist/lib/plugins/openapi/util/{createSidebarCategory.js → createNavigationCategory.js} +5 -4
  110. package/dist/lib/plugins/openapi/util/createNavigationCategory.js.map +1 -0
  111. package/dist/lib/plugins/openapi/util/getRoutes.js +2 -2
  112. package/dist/lib/plugins/openapi/util/getRoutes.js.map +1 -1
  113. package/dist/lib/plugins/openapi/util/methodColorMap.d.ts +1 -1
  114. package/dist/lib/util/useScrollToAnchor.js +3 -3
  115. package/dist/lib/util/useScrollToAnchor.js.map +1 -1
  116. package/dist/vite/api/SchemaManager.d.ts +4 -4
  117. package/dist/vite/api/SchemaManager.js +19 -19
  118. package/dist/vite/api/SchemaManager.js.map +1 -1
  119. package/dist/vite/api/SchemaManager.test.js +4 -4
  120. package/dist/vite/api/SchemaManager.test.js.map +1 -1
  121. package/dist/vite/config.js +1 -0
  122. package/dist/vite/config.js.map +1 -1
  123. package/dist/vite/plugin-api.js +8 -8
  124. package/dist/vite/plugin-api.js.map +1 -1
  125. package/dist/vite/plugin-config-reload.js +2 -0
  126. package/dist/vite/plugin-config-reload.js.map +1 -1
  127. package/dist/vite/plugin-custom-pages.js +2 -2
  128. package/dist/vite/plugin-custom-pages.js.map +1 -1
  129. package/dist/vite/plugin-docs.js +61 -59
  130. package/dist/vite/plugin-docs.js.map +1 -1
  131. package/dist/vite/{plugin-sidebar.d.ts → plugin-navigation.d.ts} +1 -1
  132. package/dist/vite/{plugin-sidebar.js → plugin-navigation.js} +20 -19
  133. package/dist/vite/plugin-navigation.js.map +1 -0
  134. package/dist/vite/plugin.js +2 -2
  135. package/dist/vite/plugin.js.map +1 -1
  136. package/dist/vite/shadcn-registry.d.ts +4 -4
  137. package/lib/{Markdown-C5j8kKSX.js → Markdown-DCAIYXF5.js} +480 -475
  138. package/lib/Markdown-DCAIYXF5.js.map +1 -0
  139. package/lib/{MdxPage-CKTMf1cR.js → MdxPage-Cf9YXWoC.js} +30 -30
  140. package/lib/MdxPage-Cf9YXWoC.js.map +1 -0
  141. package/lib/OasProvider-JMVTfG6_.js +35 -0
  142. package/lib/OasProvider-JMVTfG6_.js.map +1 -0
  143. package/lib/{OperationList-BJAKaG5p.js → OperationList-m4tFCI4S.js} +8 -8
  144. package/lib/{OperationList-BJAKaG5p.js.map → OperationList-m4tFCI4S.js.map} +1 -1
  145. package/lib/{RouteGuard-B7GVW4oL.js → RouteGuard-gV7nvzi7.js} +2 -2
  146. package/lib/{RouteGuard-B7GVW4oL.js.map → RouteGuard-gV7nvzi7.js.map} +1 -1
  147. package/lib/{SchemaList-Dgc0A8x5.js → SchemaList-_wRy4aQ0.js} +20 -20
  148. package/lib/SchemaList-_wRy4aQ0.js.map +1 -0
  149. package/lib/{SchemaView-DVx-jFN4.js → SchemaView-CRl_cQYH.js} +3 -3
  150. package/lib/{SchemaView-DVx-jFN4.js.map → SchemaView-CRl_cQYH.js.map} +1 -1
  151. package/lib/{SignUp-CRIKdWt9.js → SignUp-B6w5AwHM.js} +2 -2
  152. package/lib/{SignUp-CRIKdWt9.js.map → SignUp-B6w5AwHM.js.map} +1 -1
  153. package/lib/{Slot-ITby_hMb.js → Slot-BkYrj_uC.js} +4 -4
  154. package/lib/{Slot-ITby_hMb.js.map → Slot-BkYrj_uC.js.map} +1 -1
  155. package/lib/{SyntaxHighlight-CqKHkyEy.js → SyntaxHighlight-CH9OUJre.js} +2 -2
  156. package/lib/{SyntaxHighlight-CqKHkyEy.js.map → SyntaxHighlight-CH9OUJre.js.map} +1 -1
  157. package/lib/{Toc-Csq3UNtW.js → Toc-DRxqEsFc.js} +2 -2
  158. package/lib/{Toc-Csq3UNtW.js.map → Toc-DRxqEsFc.js.map} +1 -1
  159. package/lib/{circular-BP4OrHFK.js → circular-wJaV4vh_.js} +2 -2
  160. package/lib/{circular-BP4OrHFK.js.map → circular-wJaV4vh_.js.map} +1 -1
  161. package/lib/{createServer-zu4cDiPe.js → createServer-DN5AJLcN.js} +3 -3
  162. package/lib/{createServer-zu4cDiPe.js.map → createServer-DN5AJLcN.js.map} +1 -1
  163. package/lib/{errors-CPPSp5F4.js → errors-D_5vKvUq.js} +3 -3
  164. package/lib/{errors-CPPSp5F4.js.map → errors-D_5vKvUq.js.map} +1 -1
  165. package/lib/hook-CHXroBFt.js +1503 -0
  166. package/lib/hook-CHXroBFt.js.map +1 -0
  167. package/lib/{index-jWXxqkni.js → index-DJVaRmzI.js} +63 -62
  168. package/lib/index-DJVaRmzI.js.map +1 -0
  169. package/lib/{mutation-C1XCQTQL.js → mutation-BpcyTgWI.js} +2 -2
  170. package/lib/{mutation-C1XCQTQL.js.map → mutation-BpcyTgWI.js.map} +1 -1
  171. package/lib/ui/SyntaxHighlight.js +2 -2
  172. package/lib/{useMutation-BKvPttRn.js → useMutation-N4ockVKi.js} +3 -3
  173. package/lib/{useMutation-BKvPttRn.js.map → useMutation-N4ockVKi.js.map} +1 -1
  174. package/lib/zudoku.auth-auth0.js +1 -1
  175. package/lib/zudoku.auth-azureb2c.js +2 -2
  176. package/lib/zudoku.auth-clerk.js +2 -2
  177. package/lib/zudoku.auth-openid.js +2 -2
  178. package/lib/zudoku.components.js +2756 -3424
  179. package/lib/zudoku.components.js.map +1 -1
  180. package/lib/zudoku.hooks.js +2 -2
  181. package/lib/zudoku.plugin-api-catalog.js +44 -44
  182. package/lib/zudoku.plugin-api-catalog.js.map +1 -1
  183. package/lib/zudoku.plugin-api-keys.js +42 -39
  184. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  185. package/lib/zudoku.plugin-custom-pages.js +22 -16
  186. package/lib/zudoku.plugin-custom-pages.js.map +1 -1
  187. package/lib/zudoku.plugin-markdown.js +20 -69
  188. package/lib/zudoku.plugin-markdown.js.map +1 -1
  189. package/lib/zudoku.plugin-openapi.js +5 -5
  190. package/lib/zudoku.plugin-search-pagefind.js +2 -2
  191. package/lib/zudoku.plugins.js.map +1 -1
  192. package/package.json +12 -9
  193. package/src/app/ZuploBuildConfig.ts +1 -1
  194. package/src/app/demo.tsx +4 -3
  195. package/src/app/main.css +5 -0
  196. package/src/app/main.tsx +6 -5
  197. package/src/app/standalone.tsx +4 -3
  198. package/src/lib/components/BuildCheck.tsx +1 -1
  199. package/src/lib/components/Header.tsx +5 -3
  200. package/src/lib/components/Heading.tsx +7 -3
  201. package/src/lib/components/Main.tsx +8 -8
  202. package/src/lib/components/MobileTopNavigation.tsx +12 -11
  203. package/src/lib/components/PageProgress.tsx +28 -0
  204. package/src/lib/components/TopNavigation.tsx +57 -66
  205. package/src/lib/components/context/ZudokuContext.ts +50 -32
  206. package/src/lib/components/navigation/{Sidebar.tsx → Navigation.tsx} +18 -16
  207. package/src/lib/components/navigation/{SidebarBadge.tsx → NavigationBadge.tsx} +1 -1
  208. package/src/lib/components/navigation/{SidebarCategory.tsx → NavigationCategory.tsx} +16 -14
  209. package/src/lib/components/navigation/{SidebarItem.tsx → NavigationItem.tsx} +23 -17
  210. package/src/lib/components/navigation/{SidebarWrapper.tsx → NavigationWrapper.tsx} +2 -2
  211. package/src/lib/components/navigation/utils.ts +27 -28
  212. package/src/lib/core/ZudokuContext.ts +9 -15
  213. package/src/lib/core/plugins.ts +2 -2
  214. package/src/lib/hooks/useEvent.test.tsx +7 -5
  215. package/src/lib/plugins/api-catalog/Catalog.tsx +1 -1
  216. package/src/lib/plugins/api-catalog/index.tsx +19 -19
  217. package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +6 -5
  218. package/src/lib/plugins/custom-pages/index.tsx +20 -11
  219. package/src/lib/plugins/markdown/MdxPage.tsx +6 -3
  220. package/src/lib/plugins/markdown/index.tsx +19 -40
  221. package/src/lib/plugins/openapi/OperationList.tsx +1 -1
  222. package/src/lib/plugins/openapi/OperationListItem.tsx +1 -1
  223. package/src/lib/plugins/openapi/SchemaList.tsx +2 -2
  224. package/src/lib/plugins/openapi/graphql/gql.ts +5 -5
  225. package/src/lib/plugins/openapi/graphql/graphql.ts +6 -6
  226. package/src/lib/plugins/openapi/index.tsx +11 -11
  227. package/src/lib/plugins/openapi/interfaces.ts +3 -3
  228. package/src/lib/plugins/openapi/util/{createSidebarCategory.tsx → createNavigationCategory.tsx} +6 -5
  229. package/src/lib/plugins/openapi/util/getRoutes.tsx +2 -2
  230. package/src/lib/plugins/openapi/util/methodColorMap.tsx +1 -1
  231. package/src/lib/util/useScrollToAnchor.ts +3 -3
  232. package/dist/config/validators/InputSidebarSchema.d.ts +0 -220
  233. package/dist/config/validators/InputSidebarSchema.js +0 -63
  234. package/dist/config/validators/InputSidebarSchema.js.map +0 -1
  235. package/dist/config/validators/SidebarSchema.d.ts +0 -46
  236. package/dist/config/validators/SidebarSchema.js +0 -118
  237. package/dist/config/validators/SidebarSchema.js.map +0 -1
  238. package/dist/lib/components/navigation/Sidebar.d.ts +0 -5
  239. package/dist/lib/components/navigation/Sidebar.js +0 -10
  240. package/dist/lib/components/navigation/Sidebar.js.map +0 -1
  241. package/dist/lib/components/navigation/SidebarBadge.js.map +0 -1
  242. package/dist/lib/components/navigation/SidebarCategory.d.ts +0 -5
  243. package/dist/lib/components/navigation/SidebarCategory.js.map +0 -1
  244. package/dist/lib/components/navigation/SidebarItem.d.ts +0 -6
  245. package/dist/lib/components/navigation/SidebarItem.js +0 -44
  246. package/dist/lib/components/navigation/SidebarItem.js.map +0 -1
  247. package/dist/lib/components/navigation/SidebarWrapper.js.map +0 -1
  248. package/dist/lib/plugins/markdown/resolver.d.ts +0 -32
  249. package/dist/lib/plugins/markdown/resolver.js +0 -46
  250. package/dist/lib/plugins/markdown/resolver.js.map +0 -1
  251. package/dist/lib/plugins/openapi/util/createSidebarCategory.d.ts +0 -9
  252. package/dist/lib/plugins/openapi/util/createSidebarCategory.js.map +0 -1
  253. package/dist/vite/plugin-sidebar.js.map +0 -1
  254. package/lib/Markdown-C5j8kKSX.js.map +0 -1
  255. package/lib/MdxPage-CKTMf1cR.js.map +0 -1
  256. package/lib/OasProvider-_GzmsbMg.js +0 -33
  257. package/lib/OasProvider-_GzmsbMg.js.map +0 -1
  258. package/lib/SchemaList-Dgc0A8x5.js.map +0 -1
  259. package/lib/hook-7wZANGJP.js +0 -1483
  260. package/lib/hook-7wZANGJP.js.map +0 -1
  261. package/lib/index-jWXxqkni.js.map +0 -1
  262. package/lib/joinPath-B7kNnUX4.js +0 -8
  263. package/lib/joinPath-B7kNnUX4.js.map +0 -1
  264. package/src/lib/plugins/markdown/resolver.ts +0 -59
@@ -1,12 +1,12 @@
1
1
  import { j as P } from "./jsx-runtime-C5mzlN2N.js";
2
2
  import * as is from "react";
3
3
  import { useState as et, useEffect as Ye, useRef as Je, createContext as as, use as ss, useCallback as ti, useMemo as sn, memo as ni } from "react";
4
- import { s as en, p as qe, a as or, v as Tn, b as os, V as ls, u as cs, t as fs, c as vr, d as zr, o as Me, z as ri, e as hs, f as ds, g as ms, i as ui, j as ps, k as Yr, E as Es, S as Ts, l as bs } from "./SyntaxHighlight-CqKHkyEy.js";
4
+ import { s as en, p as qe, a as or, v as Tn, b as os, V as ls, u as cs, t as fs, c as vr, d as zr, o as Me, z as ri, e as hs, f as ds, g as ms, i as ui, j as ps, k as Yr, E as Es, S as Ts, l as bs } from "./SyntaxHighlight-CH9OUJre.js";
5
5
  import { CheckIcon as gs, CopyIcon as As, ChevronRightIcon as _s, ExternalLinkIcon as Cs, LinkIcon as Is } from "lucide-react";
6
6
  import { c as ie } from "./cn-wvCW-ho6.js";
7
7
  import { u as bn, d as xs, g as lr, j as Ns } from "./chunk-DQRVZFIR-BblmKnHy.js";
8
8
  import * as Et from "@radix-ui/react-tooltip";
9
- import { T as Ss, U as tn, j as ii, k as ks } from "./hook-7wZANGJP.js";
9
+ import { U as ks, V as tn, j as ii, k as Ss } from "./hook-CHXroBFt.js";
10
10
  import * as yn from "@radix-ui/react-collapsible";
11
11
  import { B as Os } from "./Button-BE9IVkWV.js";
12
12
  import { c as ai } from "./index-DI5SPFK9.js";
@@ -227,16 +227,16 @@ function Vs(e) {
227
227
  if (r++, t.containerState._closeFlow) {
228
228
  t.containerState._closeFlow = void 0, u && w();
229
229
  const z = t.events.length;
230
- let Y = z, k;
230
+ let Y = z, S;
231
231
  for (; Y--; )
232
232
  if (t.events[Y][0] === "exit" && t.events[Y][1].type === "chunkFlow") {
233
- k = t.events[Y][1].end;
233
+ S = t.events[Y][1].end;
234
234
  break;
235
235
  }
236
- x(r);
236
+ N(r);
237
237
  let Q = z;
238
238
  for (; Q < t.events.length; )
239
- t.events[Q][1].end = Object.assign({}, k), Q++;
239
+ t.events[Q][1].end = Object.assign({}, S), Q++;
240
240
  return Oe(
241
241
  t.events,
242
242
  Y + 1,
@@ -261,7 +261,7 @@ function Vs(e) {
261
261
  )(R);
262
262
  }
263
263
  function h(R) {
264
- return u && w(), x(r), p(R);
264
+ return u && w(), N(r), p(R);
265
265
  }
266
266
  function f(R) {
267
267
  return t.parser.lazy[t.now().line] = r !== n.length, i = t.now().offset, A(R);
@@ -278,55 +278,55 @@ function Vs(e) {
278
278
  }
279
279
  function A(R) {
280
280
  if (R === null) {
281
- u && w(), x(0), e.consume(R);
281
+ u && w(), N(0), e.consume(R);
282
282
  return;
283
283
  }
284
284
  return u = u || t.parser.flow(t.now()), e.enter("chunkFlow", {
285
285
  contentType: "flow",
286
286
  previous: a,
287
287
  _tokenizer: u
288
- }), N(R);
288
+ }), I(R);
289
289
  }
290
- function N(R) {
290
+ function I(R) {
291
291
  if (R === null) {
292
- L(e.exit("chunkFlow"), !0), x(0), e.consume(R);
292
+ L(e.exit("chunkFlow"), !0), N(0), e.consume(R);
293
293
  return;
294
294
  }
295
- return H(R) ? (e.consume(R), L(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, o) : (e.consume(R), N);
295
+ return H(R) ? (e.consume(R), L(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, o) : (e.consume(R), I);
296
296
  }
297
297
  function L(R, z) {
298
298
  const Y = t.sliceStream(R);
299
299
  if (z && Y.push(null), R.previous = a, a && (a.next = R), a = R, u.defineSkip(R.start), u.write(Y), t.parser.lazy[R.start.line]) {
300
- let k = u.events.length;
301
- for (; k--; )
300
+ let S = u.events.length;
301
+ for (; S--; )
302
302
  if (
303
303
  // The token starts before the line ending…
304
- u.events[k][1].start.offset < i && // …and either is not ended yet…
305
- (!u.events[k][1].end || // …or ends after it.
306
- u.events[k][1].end.offset > i)
304
+ u.events[S][1].start.offset < i && // …and either is not ended yet…
305
+ (!u.events[S][1].end || // …or ends after it.
306
+ u.events[S][1].end.offset > i)
307
307
  )
308
308
  return;
309
309
  const Q = t.events.length;
310
- let ee = Q, X, I;
310
+ let ee = Q, X, x;
311
311
  for (; ee--; )
312
312
  if (t.events[ee][0] === "exit" && t.events[ee][1].type === "chunkFlow") {
313
313
  if (X) {
314
- I = t.events[ee][1].end;
314
+ x = t.events[ee][1].end;
315
315
  break;
316
316
  }
317
317
  X = !0;
318
318
  }
319
- for (x(r), k = Q; k < t.events.length; )
320
- t.events[k][1].end = Object.assign({}, I), k++;
319
+ for (N(r), S = Q; S < t.events.length; )
320
+ t.events[S][1].end = Object.assign({}, x), S++;
321
321
  Oe(
322
322
  t.events,
323
323
  ee + 1,
324
324
  0,
325
325
  t.events.slice(Q)
326
- ), t.events.length = k;
326
+ ), t.events.length = S;
327
327
  }
328
328
  }
329
- function x(R) {
329
+ function N(R) {
330
330
  let z = n.length;
331
331
  for (; z-- > R; ) {
332
332
  const Y = n[z];
@@ -588,77 +588,77 @@ function ro(e, t, n) {
588
588
  };
589
589
  let a = 0, i = 0, o;
590
590
  return l;
591
- function l(k) {
592
- return c(k);
591
+ function l(S) {
592
+ return c(S);
593
593
  }
594
- function c(k) {
594
+ function c(S) {
595
595
  const Q = r.events[r.events.length - 1];
596
- return a = Q && Q[1].type === "linePrefix" ? Q[2].sliceSerialize(Q[1], !0).length : 0, o = k, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), h(k);
596
+ return a = Q && Q[1].type === "linePrefix" ? Q[2].sliceSerialize(Q[1], !0).length : 0, o = S, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), h(S);
597
597
  }
598
- function h(k) {
599
- return k === o ? (i++, e.consume(k), h) : i < 3 ? n(k) : (e.exit("codeFencedFenceSequence"), j(k) ? W(e, f, "whitespace")(k) : f(k));
598
+ function h(S) {
599
+ return S === o ? (i++, e.consume(S), h) : i < 3 ? n(S) : (e.exit("codeFencedFenceSequence"), j(S) ? W(e, f, "whitespace")(S) : f(S));
600
600
  }
601
- function f(k) {
602
- return k === null || H(k) ? (e.exit("codeFencedFence"), r.interrupt ? t(k) : e.check(Gr, N, z)(k)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
601
+ function f(S) {
602
+ return S === null || H(S) ? (e.exit("codeFencedFence"), r.interrupt ? t(S) : e.check(Gr, I, z)(S)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
603
603
  contentType: "string"
604
- }), p(k));
604
+ }), p(S));
605
605
  }
606
- function p(k) {
607
- return k === null || H(k) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), f(k)) : j(k) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), W(e, m, "whitespace")(k)) : k === 96 && k === o ? n(k) : (e.consume(k), p);
606
+ function p(S) {
607
+ return S === null || H(S) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), f(S)) : j(S) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), W(e, m, "whitespace")(S)) : S === 96 && S === o ? n(S) : (e.consume(S), p);
608
608
  }
609
- function m(k) {
610
- return k === null || H(k) ? f(k) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
609
+ function m(S) {
610
+ return S === null || H(S) ? f(S) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
611
611
  contentType: "string"
612
- }), A(k));
612
+ }), A(S));
613
613
  }
614
- function A(k) {
615
- return k === null || H(k) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), f(k)) : k === 96 && k === o ? n(k) : (e.consume(k), A);
614
+ function A(S) {
615
+ return S === null || H(S) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), f(S)) : S === 96 && S === o ? n(S) : (e.consume(S), A);
616
616
  }
617
- function N(k) {
618
- return e.attempt(u, z, L)(k);
617
+ function I(S) {
618
+ return e.attempt(u, z, L)(S);
619
619
  }
620
- function L(k) {
621
- return e.enter("lineEnding"), e.consume(k), e.exit("lineEnding"), x;
620
+ function L(S) {
621
+ return e.enter("lineEnding"), e.consume(S), e.exit("lineEnding"), N;
622
622
  }
623
- function x(k) {
624
- return a > 0 && j(k) ? W(
623
+ function N(S) {
624
+ return a > 0 && j(S) ? W(
625
625
  e,
626
626
  w,
627
627
  "linePrefix",
628
628
  a + 1
629
- )(k) : w(k);
629
+ )(S) : w(S);
630
630
  }
631
- function w(k) {
632
- return k === null || H(k) ? e.check(Gr, N, z)(k) : (e.enter("codeFlowValue"), R(k));
631
+ function w(S) {
632
+ return S === null || H(S) ? e.check(Gr, I, z)(S) : (e.enter("codeFlowValue"), R(S));
633
633
  }
634
- function R(k) {
635
- return k === null || H(k) ? (e.exit("codeFlowValue"), w(k)) : (e.consume(k), R);
634
+ function R(S) {
635
+ return S === null || H(S) ? (e.exit("codeFlowValue"), w(S)) : (e.consume(S), R);
636
636
  }
637
- function z(k) {
638
- return e.exit("codeFenced"), t(k);
637
+ function z(S) {
638
+ return e.exit("codeFenced"), t(S);
639
639
  }
640
- function Y(k, Q, ee) {
640
+ function Y(S, Q, ee) {
641
641
  let X = 0;
642
- return I;
643
- function I(G) {
644
- return k.enter("lineEnding"), k.consume(G), k.exit("lineEnding"), B;
642
+ return x;
643
+ function x(G) {
644
+ return S.enter("lineEnding"), S.consume(G), S.exit("lineEnding"), B;
645
645
  }
646
646
  function B(G) {
647
- return k.enter("codeFencedFence"), j(G) ? W(
648
- k,
647
+ return S.enter("codeFencedFence"), j(G) ? W(
648
+ S,
649
649
  F,
650
650
  "linePrefix",
651
651
  r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4
652
652
  )(G) : F(G);
653
653
  }
654
654
  function F(G) {
655
- return G === o ? (k.enter("codeFencedFenceSequence"), $(G)) : ee(G);
655
+ return G === o ? (S.enter("codeFencedFenceSequence"), $(G)) : ee(G);
656
656
  }
657
657
  function $(G) {
658
- return G === o ? (X++, k.consume(G), $) : X >= i ? (k.exit("codeFencedFenceSequence"), j(G) ? W(k, ne, "whitespace")(G) : ne(G)) : ee(G);
658
+ return G === o ? (X++, S.consume(G), $) : X >= i ? (S.exit("codeFencedFenceSequence"), j(G) ? W(S, ne, "whitespace")(G) : ne(G)) : ee(G);
659
659
  }
660
660
  function ne(G) {
661
- return G === null || H(G) ? (k.exit("codeFencedFence"), Q(G)) : ee(G);
661
+ return G === null || H(G) ? (S.exit("codeFencedFence"), Q(G)) : ee(G);
662
662
  }
663
663
  }
664
664
  }
@@ -774,8 +774,8 @@ function ho(e, t) {
774
774
  const n = e[t][1], r = e[t][2];
775
775
  let u = t - 1;
776
776
  const a = [], i = n._tokenizer || r.parser[n.contentType](n.start), o = i.events, l = [], c = {};
777
- let h, f, p = -1, m = n, A = 0, N = 0;
778
- const L = [N];
777
+ let h, f, p = -1, m = n, A = 0, I = 0;
778
+ const L = [I];
779
779
  for (; m; ) {
780
780
  for (; e[++u][1] !== m; )
781
781
  ;
@@ -783,10 +783,10 @@ function ho(e, t) {
783
783
  }
784
784
  for (m = n; ++p < o.length; )
785
785
  // Find a void token that includes a break.
786
- o[p][0] === "exit" && o[p - 1][0] === "enter" && o[p][1].type === o[p - 1][1].type && o[p][1].start.line !== o[p][1].end.line && (N = p + 1, L.push(N), m._tokenizer = void 0, m.previous = void 0, m = m.next);
786
+ o[p][0] === "exit" && o[p - 1][0] === "enter" && o[p][1].type === o[p - 1][1].type && o[p][1].start.line !== o[p][1].end.line && (I = p + 1, L.push(I), m._tokenizer = void 0, m.previous = void 0, m = m.next);
787
787
  for (i.events = [], m ? (m._tokenizer = void 0, m.previous = void 0) : L.pop(), p = L.length; p--; ) {
788
- const x = o.slice(L[p], L[p + 1]), w = a.pop();
789
- l.unshift([w, w + x.length - 1]), Oe(e, w, 2, x);
788
+ const N = o.slice(L[p], L[p + 1]), w = a.pop();
789
+ l.unshift([w, w + N.length - 1]), Oe(e, w, 2, N);
790
790
  }
791
791
  for (p = -1; ++p < l.length; )
792
792
  c[A + l[p][0]] = A + l[p][1], A += l[p][1] - l[p][0] - 1;
@@ -844,27 +844,27 @@ function di(e, t, n, r, u, a, i, o, l) {
844
844
  const c = l || Number.POSITIVE_INFINITY;
845
845
  let h = 0;
846
846
  return f;
847
- function f(x) {
848
- return x === 60 ? (e.enter(r), e.enter(u), e.enter(a), e.consume(x), e.exit(a), p) : x === null || x === 32 || x === 41 || on(x) ? n(x) : (e.enter(r), e.enter(i), e.enter(o), e.enter("chunkString", {
847
+ function f(N) {
848
+ return N === 60 ? (e.enter(r), e.enter(u), e.enter(a), e.consume(N), e.exit(a), p) : N === null || N === 32 || N === 41 || on(N) ? n(N) : (e.enter(r), e.enter(i), e.enter(o), e.enter("chunkString", {
849
849
  contentType: "string"
850
- }), N(x));
850
+ }), I(N));
851
851
  }
852
- function p(x) {
853
- return x === 62 ? (e.enter(a), e.consume(x), e.exit(a), e.exit(u), e.exit(r), t) : (e.enter(o), e.enter("chunkString", {
852
+ function p(N) {
853
+ return N === 62 ? (e.enter(a), e.consume(N), e.exit(a), e.exit(u), e.exit(r), t) : (e.enter(o), e.enter("chunkString", {
854
854
  contentType: "string"
855
- }), m(x));
855
+ }), m(N));
856
856
  }
857
- function m(x) {
858
- return x === 62 ? (e.exit("chunkString"), e.exit(o), p(x)) : x === null || x === 60 || H(x) ? n(x) : (e.consume(x), x === 92 ? A : m);
857
+ function m(N) {
858
+ return N === 62 ? (e.exit("chunkString"), e.exit(o), p(N)) : N === null || N === 60 || H(N) ? n(N) : (e.consume(N), N === 92 ? A : m);
859
859
  }
860
- function A(x) {
861
- return x === 60 || x === 62 || x === 92 ? (e.consume(x), m) : m(x);
860
+ function A(N) {
861
+ return N === 60 || N === 62 || N === 92 ? (e.consume(N), m) : m(N);
862
862
  }
863
- function N(x) {
864
- return !h && (x === null || x === 41 || J(x)) ? (e.exit("chunkString"), e.exit(o), e.exit(i), e.exit(r), t(x)) : h < c && x === 40 ? (e.consume(x), h++, N) : x === 41 ? (e.consume(x), h--, N) : x === null || x === 32 || x === 40 || on(x) ? n(x) : (e.consume(x), x === 92 ? L : N);
863
+ function I(N) {
864
+ return !h && (N === null || N === 41 || J(N)) ? (e.exit("chunkString"), e.exit(o), e.exit(i), e.exit(r), t(N)) : h < c && N === 40 ? (e.consume(N), h++, I) : N === 41 ? (e.consume(N), h--, I) : N === null || N === 32 || N === 40 || on(N) ? n(N) : (e.consume(N), N === 92 ? L : I);
865
865
  }
866
- function L(x) {
867
- return x === 40 || x === 41 || x === 92 ? (e.consume(x), N) : N(x);
866
+ function L(N) {
867
+ return N === 40 || N === 41 || N === 92 ? (e.consume(N), I) : I(N);
868
868
  }
869
869
  }
870
870
  function mi(e, t, n, r, u, a) {
@@ -1013,10 +1013,10 @@ function xo(e, t, n) {
1013
1013
  }
1014
1014
  const No = {
1015
1015
  name: "headingAtx",
1016
- tokenize: ko,
1017
- resolve: So
1016
+ tokenize: So,
1017
+ resolve: ko
1018
1018
  };
1019
- function So(e, t) {
1019
+ function ko(e, t) {
1020
1020
  let n = e.length - 2, r = 3, u, a;
1021
1021
  return e[r][1].type === "whitespace" && (r += 2), n - 2 > r && e[n][1].type === "whitespace" && (n -= 2), e[n][1].type === "atxHeadingSequence" && (r === n - 1 || n - 4 > r && e[n - 2][1].type === "whitespace") && (n -= r + 1 === n ? 2 : 4), n > r && (u = {
1022
1022
  type: "atxHeadingText",
@@ -1034,7 +1034,7 @@ function So(e, t) {
1034
1034
  ["exit", u, t]
1035
1035
  ])), e;
1036
1036
  }
1037
- function ko(e, t, n) {
1037
+ function So(e, t, n) {
1038
1038
  let r = 0;
1039
1039
  return u;
1040
1040
  function u(h) {
@@ -1148,7 +1148,7 @@ function Po(e, t, n) {
1148
1148
  return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(g), f;
1149
1149
  }
1150
1150
  function f(g) {
1151
- return g === 33 ? (e.consume(g), p) : g === 47 ? (e.consume(g), a = !0, N) : g === 63 ? (e.consume(g), u = 3, r.interrupt ? t : b) : de(g) ? (e.consume(g), i = String.fromCharCode(g), L) : n(g);
1151
+ return g === 33 ? (e.consume(g), p) : g === 47 ? (e.consume(g), a = !0, I) : g === 63 ? (e.consume(g), u = 3, r.interrupt ? t : b) : de(g) ? (e.consume(g), i = String.fromCharCode(g), L) : n(g);
1152
1152
  }
1153
1153
  function p(g) {
1154
1154
  return g === 45 ? (e.consume(g), u = 2, m) : g === 91 ? (e.consume(g), u = 5, o = 0, A) : de(g) ? (e.consume(g), u = 4, r.interrupt ? t : b) : n(g);
@@ -1160,33 +1160,33 @@ function Po(e, t, n) {
1160
1160
  const Ie = "CDATA[";
1161
1161
  return g === Ie.charCodeAt(o++) ? (e.consume(g), o === Ie.length ? r.interrupt ? t : F : A) : n(g);
1162
1162
  }
1163
- function N(g) {
1163
+ function I(g) {
1164
1164
  return de(g) ? (e.consume(g), i = String.fromCharCode(g), L) : n(g);
1165
1165
  }
1166
1166
  function L(g) {
1167
1167
  if (g === null || g === 47 || g === 62 || J(g)) {
1168
1168
  const Ie = g === 47, We = i.toLowerCase();
1169
- return !Ie && !a && Kr.includes(We) ? (u = 1, r.interrupt ? t(g) : F(g)) : Oo.includes(i.toLowerCase()) ? (u = 6, Ie ? (e.consume(g), x) : r.interrupt ? t(g) : F(g)) : (u = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(g) : a ? w(g) : R(g));
1169
+ return !Ie && !a && Kr.includes(We) ? (u = 1, r.interrupt ? t(g) : F(g)) : Oo.includes(i.toLowerCase()) ? (u = 6, Ie ? (e.consume(g), N) : r.interrupt ? t(g) : F(g)) : (u = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(g) : a ? w(g) : R(g));
1170
1170
  }
1171
1171
  return g === 45 || fe(g) ? (e.consume(g), i += String.fromCharCode(g), L) : n(g);
1172
1172
  }
1173
- function x(g) {
1173
+ function N(g) {
1174
1174
  return g === 62 ? (e.consume(g), r.interrupt ? t : F) : n(g);
1175
1175
  }
1176
1176
  function w(g) {
1177
- return j(g) ? (e.consume(g), w) : I(g);
1177
+ return j(g) ? (e.consume(g), w) : x(g);
1178
1178
  }
1179
1179
  function R(g) {
1180
- return g === 47 ? (e.consume(g), I) : g === 58 || g === 95 || de(g) ? (e.consume(g), z) : j(g) ? (e.consume(g), R) : I(g);
1180
+ return g === 47 ? (e.consume(g), x) : g === 58 || g === 95 || de(g) ? (e.consume(g), z) : j(g) ? (e.consume(g), R) : x(g);
1181
1181
  }
1182
1182
  function z(g) {
1183
1183
  return g === 45 || g === 46 || g === 58 || g === 95 || fe(g) ? (e.consume(g), z) : Y(g);
1184
1184
  }
1185
1185
  function Y(g) {
1186
- return g === 61 ? (e.consume(g), k) : j(g) ? (e.consume(g), Y) : R(g);
1186
+ return g === 61 ? (e.consume(g), S) : j(g) ? (e.consume(g), Y) : R(g);
1187
1187
  }
1188
- function k(g) {
1189
- return g === null || g === 60 || g === 61 || g === 62 || g === 96 ? n(g) : g === 34 || g === 39 ? (e.consume(g), l = g, Q) : j(g) ? (e.consume(g), k) : ee(g);
1188
+ function S(g) {
1189
+ return g === null || g === 60 || g === 61 || g === 62 || g === 96 ? n(g) : g === 34 || g === 39 ? (e.consume(g), l = g, Q) : j(g) ? (e.consume(g), S) : ee(g);
1190
1190
  }
1191
1191
  function Q(g) {
1192
1192
  return g === l ? (e.consume(g), l = null, X) : g === null || H(g) ? n(g) : (e.consume(g), Q);
@@ -1197,7 +1197,7 @@ function Po(e, t, n) {
1197
1197
  function X(g) {
1198
1198
  return g === 47 || g === 62 || j(g) ? R(g) : n(g);
1199
1199
  }
1200
- function I(g) {
1200
+ function x(g) {
1201
1201
  return g === 62 ? (e.consume(g), B) : n(g);
1202
1202
  }
1203
1203
  function B(g) {
@@ -1296,16 +1296,16 @@ function Fo(e, t, n) {
1296
1296
  }
1297
1297
  function A(b) {
1298
1298
  const Ce = "CDATA[";
1299
- return b === Ce.charCodeAt(a++) ? (e.consume(b), a === Ce.length ? N : A) : n(b);
1299
+ return b === Ce.charCodeAt(a++) ? (e.consume(b), a === Ce.length ? I : A) : n(b);
1300
1300
  }
1301
- function N(b) {
1302
- return b === null ? n(b) : b === 93 ? (e.consume(b), L) : H(b) ? (i = N, oe(b)) : (e.consume(b), N);
1301
+ function I(b) {
1302
+ return b === null ? n(b) : b === 93 ? (e.consume(b), L) : H(b) ? (i = I, oe(b)) : (e.consume(b), I);
1303
1303
  }
1304
1304
  function L(b) {
1305
- return b === 93 ? (e.consume(b), x) : N(b);
1305
+ return b === 93 ? (e.consume(b), N) : I(b);
1306
1306
  }
1307
- function x(b) {
1308
- return b === 62 ? ce(b) : b === 93 ? (e.consume(b), x) : N(b);
1307
+ function N(b) {
1308
+ return b === 62 ? ce(b) : b === 93 ? (e.consume(b), N) : I(b);
1309
1309
  }
1310
1310
  function w(b) {
1311
1311
  return b === null || b === 62 ? ce(b) : H(b) ? (i = w, oe(b)) : (e.consume(b), w);
@@ -1317,10 +1317,10 @@ function Fo(e, t, n) {
1317
1317
  return b === 62 ? ce(b) : R(b);
1318
1318
  }
1319
1319
  function Y(b) {
1320
- return de(b) ? (e.consume(b), k) : n(b);
1320
+ return de(b) ? (e.consume(b), S) : n(b);
1321
1321
  }
1322
- function k(b) {
1323
- return b === 45 || fe(b) ? (e.consume(b), k) : Q(b);
1322
+ function S(b) {
1323
+ return b === 45 || fe(b) ? (e.consume(b), S) : Q(b);
1324
1324
  }
1325
1325
  function Q(b) {
1326
1326
  return H(b) ? (i = Q, oe(b)) : j(b) ? (e.consume(b), Q) : ce(b);
@@ -1329,10 +1329,10 @@ function Fo(e, t, n) {
1329
1329
  return b === 45 || fe(b) ? (e.consume(b), ee) : b === 47 || b === 62 || J(b) ? X(b) : n(b);
1330
1330
  }
1331
1331
  function X(b) {
1332
- return b === 47 ? (e.consume(b), ce) : b === 58 || b === 95 || de(b) ? (e.consume(b), I) : H(b) ? (i = X, oe(b)) : j(b) ? (e.consume(b), X) : ce(b);
1332
+ return b === 47 ? (e.consume(b), ce) : b === 58 || b === 95 || de(b) ? (e.consume(b), x) : H(b) ? (i = X, oe(b)) : j(b) ? (e.consume(b), X) : ce(b);
1333
1333
  }
1334
- function I(b) {
1335
- return b === 45 || b === 46 || b === 58 || b === 95 || fe(b) ? (e.consume(b), I) : B(b);
1334
+ function x(b) {
1335
+ return b === 45 || b === 46 || b === 58 || b === 95 || fe(b) ? (e.consume(b), x) : B(b);
1336
1336
  }
1337
1337
  function B(b) {
1338
1338
  return b === 61 ? (e.consume(b), F) : H(b) ? (i = B, oe(b)) : j(b) ? (e.consume(b), B) : X(b);
@@ -1919,8 +1919,8 @@ function ml(e, t, n) {
1919
1919
  enter: R,
1920
1920
  exit: z,
1921
1921
  attempt: Q(Y),
1922
- check: Q(k),
1923
- interrupt: Q(k, {
1922
+ check: Q(S),
1923
+ interrupt: Q(S, {
1924
1924
  interrupt: !0
1925
1925
  })
1926
1926
  }, c = {
@@ -1932,7 +1932,7 @@ function ml(e, t, n) {
1932
1932
  sliceStream: m,
1933
1933
  sliceSerialize: p,
1934
1934
  now: A,
1935
- defineSkip: N,
1935
+ defineSkip: I,
1936
1936
  write: f
1937
1937
  };
1938
1938
  let h = t.tokenize.call(c, l);
@@ -1956,8 +1956,8 @@ function ml(e, t, n) {
1956
1956
  _bufferIndex: G
1957
1957
  };
1958
1958
  }
1959
- function N(B) {
1960
- u[B.line] = B.column, I();
1959
+ function I(B) {
1960
+ u[B.line] = B.column, x();
1961
1961
  }
1962
1962
  function L() {
1963
1963
  let B;
@@ -1965,16 +1965,16 @@ function ml(e, t, n) {
1965
1965
  const F = i[r._index];
1966
1966
  if (typeof F == "string")
1967
1967
  for (B = r._index, r._bufferIndex < 0 && (r._bufferIndex = 0); r._index === B && r._bufferIndex < F.length; )
1968
- x(F.charCodeAt(r._bufferIndex));
1968
+ N(F.charCodeAt(r._bufferIndex));
1969
1969
  else
1970
- x(F);
1970
+ N(F);
1971
1971
  }
1972
1972
  }
1973
- function x(B) {
1973
+ function N(B) {
1974
1974
  h = h(B);
1975
1975
  }
1976
1976
  function w(B) {
1977
- H(B) ? (r.line++, r.column = 1, r.offset += B === -3 ? 2 : 1, I()) : B !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === i[r._index].length && (r._bufferIndex = -1, r._index++)), c.previous = B;
1977
+ H(B) ? (r.line++, r.column = 1, r.offset += B === -3 ? 2 : 1, x()) : B !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === i[r._index].length && (r._bufferIndex = -1, r._index++)), c.previous = B;
1978
1978
  }
1979
1979
  function R(B, F) {
1980
1980
  const $ = F || {};
@@ -1987,7 +1987,7 @@ function ml(e, t, n) {
1987
1987
  function Y(B, F) {
1988
1988
  ee(B, F.from);
1989
1989
  }
1990
- function k(B, F) {
1990
+ function S(B, F) {
1991
1991
  F.restore();
1992
1992
  }
1993
1993
  function Q(B, F) {
@@ -2050,10 +2050,10 @@ function ml(e, t, n) {
2050
2050
  from: ne
2051
2051
  };
2052
2052
  function ce() {
2053
- r = B, c.previous = F, c.currentConstruct = $, c.events.length = ne, o = G, I();
2053
+ r = B, c.previous = F, c.currentConstruct = $, c.events.length = ne, o = G, x();
2054
2054
  }
2055
2055
  }
2056
- function I() {
2056
+ function x() {
2057
2057
  r.line in u && r.column < 2 && (r.column = u[r.line], r.offset += u[r.line] - 1);
2058
2058
  }
2059
2059
  }
@@ -2164,7 +2164,7 @@ const Tl = {
2164
2164
  null: [42, 95]
2165
2165
  }, Nl = {
2166
2166
  null: []
2167
- }, Sl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2167
+ }, kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2168
2168
  __proto__: null,
2169
2169
  attentionMarkers: xl,
2170
2170
  contentInitial: bl,
@@ -2176,10 +2176,10 @@ const Tl = {
2176
2176
  string: _l,
2177
2177
  text: Cl
2178
2178
  }, Symbol.toStringTag, { value: "Module" }));
2179
- function kl(e) {
2179
+ function Sl(e) {
2180
2180
  const n = (
2181
2181
  /** @type {FullNormalizedExtension} */
2182
- Bs([Sl, ...(e || {}).extensions || []])
2182
+ Bs([kl, ...(e || {}).extensions || []])
2183
2183
  ), r = {
2184
2184
  defined: [],
2185
2185
  lazy: {},
@@ -2256,7 +2256,7 @@ const bi = {}.hasOwnProperty;
2256
2256
  function Pl(e, t, n) {
2257
2257
  return typeof t != "string" && (n = t, t = void 0), wl(n)(
2258
2258
  Ol(
2259
- kl(n).document().write(yl()(e, t, !0))
2259
+ Sl(n).document().write(yl()(e, t, !0))
2260
2260
  )
2261
2261
  );
2262
2262
  }
@@ -2314,19 +2314,19 @@ function wl(e) {
2314
2314
  autolinkEmail: Fe,
2315
2315
  autolinkProtocol: Ct,
2316
2316
  blockQuote: l(),
2317
- characterEscapeValue: I,
2317
+ characterEscapeValue: x,
2318
2318
  characterReferenceMarkerHexadecimal: We,
2319
2319
  characterReferenceMarkerNumeric: We,
2320
2320
  characterReferenceValue: le,
2321
2321
  codeFenced: l(L),
2322
- codeFencedFence: N,
2322
+ codeFencedFence: I,
2323
2323
  codeFencedFenceInfo: m,
2324
2324
  codeFencedFenceMeta: A,
2325
- codeFlowValue: I,
2326
- codeIndented: l(x),
2325
+ codeFlowValue: x,
2326
+ codeIndented: l(N),
2327
2327
  codeText: l(G),
2328
- codeTextData: I,
2329
- data: I,
2328
+ codeTextData: x,
2329
+ data: x,
2330
2330
  definition: l(),
2331
2331
  definitionDestinationString: z,
2332
2332
  definitionLabelString: w,
@@ -2335,9 +2335,9 @@ function wl(e) {
2335
2335
  hardBreakEscape: l(F),
2336
2336
  hardBreakTrailing: l(F),
2337
2337
  htmlFlow: l($),
2338
- htmlFlowData: I,
2338
+ htmlFlowData: x,
2339
2339
  htmlText: l(ne),
2340
- htmlTextData: I,
2340
+ htmlTextData: x,
2341
2341
  image: l(oe),
2342
2342
  label: Le,
2343
2343
  labelText: _e,
@@ -2353,7 +2353,7 @@ function wl(e) {
2353
2353
  resource: Re,
2354
2354
  setextHeading: l(ee),
2355
2355
  setextHeadingLineSequence: Q,
2356
- setextHeadingText: k,
2356
+ setextHeadingText: S,
2357
2357
  strong: l(),
2358
2358
  thematicBreak: l()
2359
2359
  }
@@ -2361,7 +2361,7 @@ function wl(e) {
2361
2361
  gi(t, (e || {}).mdastExtensions || []);
2362
2362
  const n = {};
2363
2363
  return r;
2364
- function r(S) {
2364
+ function r(k) {
2365
2365
  let M = {
2366
2366
  type: "root",
2367
2367
  children: []
@@ -2377,24 +2377,24 @@ function wl(e) {
2377
2377
  data: n
2378
2378
  }, V = [];
2379
2379
  let K = -1;
2380
- for (; ++K < S.length; )
2381
- if (S[K][1].type === "listOrdered" || S[K][1].type === "listUnordered")
2382
- if (S[K][0] === "enter")
2380
+ for (; ++K < k.length; )
2381
+ if (k[K][1].type === "listOrdered" || k[K][1].type === "listUnordered")
2382
+ if (k[K][0] === "enter")
2383
2383
  V.push(K);
2384
2384
  else {
2385
2385
  const xe = V.pop();
2386
- K = u(S, xe, K);
2386
+ K = u(k, xe, K);
2387
2387
  }
2388
- for (K = -1; ++K < S.length; ) {
2389
- const xe = t[S[K][0]];
2390
- bi.call(xe, S[K][1].type) && xe[S[K][1].type].call(
2388
+ for (K = -1; ++K < k.length; ) {
2389
+ const xe = t[k[K][0]];
2390
+ bi.call(xe, k[K][1].type) && xe[k[K][1].type].call(
2391
2391
  Object.assign(
2392
2392
  {
2393
- sliceSerialize: S[K][2].sliceSerialize
2393
+ sliceSerialize: k[K][2].sliceSerialize
2394
2394
  },
2395
2395
  U
2396
2396
  ),
2397
- S[K][1]
2397
+ k[K][1]
2398
2398
  );
2399
2399
  }
2400
2400
  if (U.tokenStack.length > 0) {
@@ -2403,14 +2403,14 @@ function wl(e) {
2403
2403
  }
2404
2404
  for (M.position = {
2405
2405
  start: He(
2406
- S.length > 0 ? S[0][1].start : {
2406
+ k.length > 0 ? k[0][1].start : {
2407
2407
  line: 1,
2408
2408
  column: 1,
2409
2409
  offset: 0
2410
2410
  }
2411
2411
  ),
2412
2412
  end: He(
2413
- S.length > 0 ? S[S.length - 2][1].end : {
2413
+ k.length > 0 ? k[k.length - 2][1].end : {
2414
2414
  line: 1,
2415
2415
  column: 1,
2416
2416
  offset: 0
@@ -2420,10 +2420,10 @@ function wl(e) {
2420
2420
  M = t.transforms[K](M) || M;
2421
2421
  return M;
2422
2422
  }
2423
- function u(S, M, U) {
2423
+ function u(k, M, U) {
2424
2424
  let V = M - 1, K = -1, xe = !1, Ge, De, It, xt;
2425
2425
  for (; ++V <= U; ) {
2426
- const Ee = S[V];
2426
+ const Ee = k[V];
2427
2427
  switch (Ee[1].type) {
2428
2428
  case "listUnordered":
2429
2429
  case "listOrdered":
@@ -2448,16 +2448,16 @@ function wl(e) {
2448
2448
  if (Ge) {
2449
2449
  let at = V;
2450
2450
  for (De = void 0; at--; ) {
2451
- const Pe = S[at];
2451
+ const Pe = k[at];
2452
2452
  if (Pe[1].type === "lineEnding" || Pe[1].type === "lineEndingBlank") {
2453
2453
  if (Pe[0] === "exit") continue;
2454
- De && (S[De][1].type = "lineEndingBlank", xe = !0), Pe[1].type = "lineEnding", De = at;
2454
+ De && (k[De][1].type = "lineEndingBlank", xe = !0), Pe[1].type = "lineEnding", De = at;
2455
2455
  } else if (!(Pe[1].type === "linePrefix" || Pe[1].type === "blockQuotePrefix" || Pe[1].type === "blockQuotePrefixWhitespace" || Pe[1].type === "blockQuoteMarker" || Pe[1].type === "listItemIndent")) break;
2456
2456
  }
2457
2457
  It && (!De || It < De) && (Ge._spread = !0), Ge.end = Object.assign(
2458
2458
  {},
2459
- De ? S[De][1].start : Ee[1].end
2460
- ), S.splice(De || V, 0, ["exit", Ge, Ee[2]]), V++, U++;
2459
+ De ? k[De][1].start : Ee[1].end
2460
+ ), k.splice(De || V, 0, ["exit", Ge, Ee[2]]), V++, U++;
2461
2461
  }
2462
2462
  if (Ee[1].type === "listItemPrefix") {
2463
2463
  const at = {
@@ -2467,16 +2467,16 @@ function wl(e) {
2467
2467
  // @ts-expect-error: we’ll add `end` in a second.
2468
2468
  end: void 0
2469
2469
  };
2470
- Ge = at, S.splice(V, 0, ["enter", at, Ee[2]]), V++, U++, It = void 0, xt = !0;
2470
+ Ge = at, k.splice(V, 0, ["enter", at, Ee[2]]), V++, U++, It = void 0, xt = !0;
2471
2471
  }
2472
2472
  }
2473
2473
  }
2474
- return S[M][1]._spread = xe, U;
2474
+ return k[M][1]._spread = xe, U;
2475
2475
  }
2476
- function a(S, M) {
2476
+ function a(k, M) {
2477
2477
  return U;
2478
2478
  function U(V) {
2479
- o.call(this, S(V), V), M && M.call(this, V);
2479
+ o.call(this, k(V), V), M && M.call(this, V);
2480
2480
  }
2481
2481
  }
2482
2482
  function i() {
@@ -2485,30 +2485,30 @@ function wl(e) {
2485
2485
  children: []
2486
2486
  });
2487
2487
  }
2488
- function o(S, M, U) {
2489
- this.stack[this.stack.length - 1].children.push(S), this.stack.push(S), this.tokenStack.push([M, U]), S.position = {
2488
+ function o(k, M, U) {
2489
+ this.stack[this.stack.length - 1].children.push(k), this.stack.push(k), this.tokenStack.push([M, U]), k.position = {
2490
2490
  start: He(M.start),
2491
2491
  // @ts-expect-error: `end` will be patched later.
2492
2492
  end: void 0
2493
2493
  };
2494
2494
  }
2495
- function l(S) {
2495
+ function l(k) {
2496
2496
  return M;
2497
2497
  function M(U) {
2498
- S && S.call(this, U), c.call(this, U);
2498
+ k && k.call(this, U), c.call(this, U);
2499
2499
  }
2500
2500
  }
2501
- function c(S, M) {
2501
+ function c(k, M) {
2502
2502
  const U = this.stack.pop(), V = this.tokenStack.pop();
2503
2503
  if (V)
2504
- V[0].type !== S.type && (M ? M.call(this, S, V[0]) : (V[1] || Zr).call(this, S, V[0]));
2504
+ V[0].type !== k.type && (M ? M.call(this, k, V[0]) : (V[1] || Zr).call(this, k, V[0]));
2505
2505
  else throw new Error(
2506
- "Cannot close `" + S.type + "` (" + en({
2507
- start: S.start,
2508
- end: S.end
2506
+ "Cannot close `" + k.type + "` (" + en({
2507
+ start: k.start,
2508
+ end: k.end
2509
2509
  }) + "): it’s not open"
2510
2510
  );
2511
- U.position.end = He(S.end);
2511
+ U.position.end = He(k.end);
2512
2512
  }
2513
2513
  function h() {
2514
2514
  return cr(this.stack.pop());
@@ -2516,136 +2516,136 @@ function wl(e) {
2516
2516
  function f() {
2517
2517
  this.data.expectingFirstListItemValue = !0;
2518
2518
  }
2519
- function p(S) {
2519
+ function p(k) {
2520
2520
  if (this.data.expectingFirstListItemValue) {
2521
2521
  const M = this.stack[this.stack.length - 2];
2522
- M.start = Number.parseInt(this.sliceSerialize(S), 10), this.data.expectingFirstListItemValue = void 0;
2522
+ M.start = Number.parseInt(this.sliceSerialize(k), 10), this.data.expectingFirstListItemValue = void 0;
2523
2523
  }
2524
2524
  }
2525
2525
  function m() {
2526
- const S = this.resume(), M = this.stack[this.stack.length - 1];
2527
- M.lang = S;
2526
+ const k = this.resume(), M = this.stack[this.stack.length - 1];
2527
+ M.lang = k;
2528
2528
  }
2529
2529
  function A() {
2530
- const S = this.resume(), M = this.stack[this.stack.length - 1];
2531
- M.meta = S;
2530
+ const k = this.resume(), M = this.stack[this.stack.length - 1];
2531
+ M.meta = k;
2532
2532
  }
2533
- function N() {
2533
+ function I() {
2534
2534
  this.data.flowCodeInside || (this.buffer(), this.data.flowCodeInside = !0);
2535
2535
  }
2536
2536
  function L() {
2537
- const S = this.resume(), M = this.stack[this.stack.length - 1];
2538
- M.value = S.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), this.data.flowCodeInside = void 0;
2537
+ const k = this.resume(), M = this.stack[this.stack.length - 1];
2538
+ M.value = k.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), this.data.flowCodeInside = void 0;
2539
2539
  }
2540
- function x() {
2541
- const S = this.resume(), M = this.stack[this.stack.length - 1];
2542
- M.value = S.replace(/(\r?\n|\r)$/g, "");
2540
+ function N() {
2541
+ const k = this.resume(), M = this.stack[this.stack.length - 1];
2542
+ M.value = k.replace(/(\r?\n|\r)$/g, "");
2543
2543
  }
2544
- function w(S) {
2544
+ function w(k) {
2545
2545
  const M = this.resume(), U = this.stack[this.stack.length - 1];
2546
2546
  U.label = M, U.identifier = ht(
2547
- this.sliceSerialize(S)
2547
+ this.sliceSerialize(k)
2548
2548
  ).toLowerCase();
2549
2549
  }
2550
2550
  function R() {
2551
- const S = this.resume(), M = this.stack[this.stack.length - 1];
2552
- M.title = S;
2551
+ const k = this.resume(), M = this.stack[this.stack.length - 1];
2552
+ M.title = k;
2553
2553
  }
2554
2554
  function z() {
2555
- const S = this.resume(), M = this.stack[this.stack.length - 1];
2556
- M.url = S;
2555
+ const k = this.resume(), M = this.stack[this.stack.length - 1];
2556
+ M.url = k;
2557
2557
  }
2558
- function Y(S) {
2558
+ function Y(k) {
2559
2559
  const M = this.stack[this.stack.length - 1];
2560
2560
  if (!M.depth) {
2561
- const U = this.sliceSerialize(S).length;
2561
+ const U = this.sliceSerialize(k).length;
2562
2562
  M.depth = U;
2563
2563
  }
2564
2564
  }
2565
- function k() {
2565
+ function S() {
2566
2566
  this.data.setextHeadingSlurpLineEnding = !0;
2567
2567
  }
2568
- function Q(S) {
2568
+ function Q(k) {
2569
2569
  const M = this.stack[this.stack.length - 1];
2570
- M.depth = this.sliceSerialize(S).codePointAt(0) === 61 ? 1 : 2;
2570
+ M.depth = this.sliceSerialize(k).codePointAt(0) === 61 ? 1 : 2;
2571
2571
  }
2572
2572
  function ee() {
2573
2573
  this.data.setextHeadingSlurpLineEnding = void 0;
2574
2574
  }
2575
- function X(S) {
2575
+ function X(k) {
2576
2576
  const U = this.stack[this.stack.length - 1].children;
2577
2577
  let V = U[U.length - 1];
2578
2578
  (!V || V.type !== "text") && (V = rs(), V.position = {
2579
- start: He(S.start),
2579
+ start: He(k.start),
2580
2580
  // @ts-expect-error: we’ll add `end` later.
2581
2581
  end: void 0
2582
2582
  }, U.push(V)), this.stack.push(V);
2583
2583
  }
2584
- function I(S) {
2584
+ function x(k) {
2585
2585
  const M = this.stack.pop();
2586
- M.value += this.sliceSerialize(S), M.position.end = He(S.end);
2586
+ M.value += this.sliceSerialize(k), M.position.end = He(k.end);
2587
2587
  }
2588
- function B(S) {
2588
+ function B(k) {
2589
2589
  const M = this.stack[this.stack.length - 1];
2590
2590
  if (this.data.atHardBreak) {
2591
2591
  const U = M.children[M.children.length - 1];
2592
- U.position.end = He(S.end), this.data.atHardBreak = void 0;
2592
+ U.position.end = He(k.end), this.data.atHardBreak = void 0;
2593
2593
  return;
2594
2594
  }
2595
- !this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(M.type) && (X.call(this, S), I.call(this, S));
2595
+ !this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(M.type) && (X.call(this, k), x.call(this, k));
2596
2596
  }
2597
2597
  function F() {
2598
2598
  this.data.atHardBreak = !0;
2599
2599
  }
2600
2600
  function $() {
2601
- const S = this.resume(), M = this.stack[this.stack.length - 1];
2602
- M.value = S;
2601
+ const k = this.resume(), M = this.stack[this.stack.length - 1];
2602
+ M.value = k;
2603
2603
  }
2604
2604
  function ne() {
2605
- const S = this.resume(), M = this.stack[this.stack.length - 1];
2606
- M.value = S;
2605
+ const k = this.resume(), M = this.stack[this.stack.length - 1];
2606
+ M.value = k;
2607
2607
  }
2608
2608
  function G() {
2609
- const S = this.resume(), M = this.stack[this.stack.length - 1];
2610
- M.value = S;
2609
+ const k = this.resume(), M = this.stack[this.stack.length - 1];
2610
+ M.value = k;
2611
2611
  }
2612
2612
  function ce() {
2613
- const S = this.stack[this.stack.length - 1];
2613
+ const k = this.stack[this.stack.length - 1];
2614
2614
  if (this.data.inReference) {
2615
2615
  const M = this.data.referenceType || "shortcut";
2616
- S.type += "Reference", S.referenceType = M, delete S.url, delete S.title;
2616
+ k.type += "Reference", k.referenceType = M, delete k.url, delete k.title;
2617
2617
  } else
2618
- delete S.identifier, delete S.label;
2618
+ delete k.identifier, delete k.label;
2619
2619
  this.data.referenceType = void 0;
2620
2620
  }
2621
2621
  function oe() {
2622
- const S = this.stack[this.stack.length - 1];
2622
+ const k = this.stack[this.stack.length - 1];
2623
2623
  if (this.data.inReference) {
2624
2624
  const M = this.data.referenceType || "shortcut";
2625
- S.type += "Reference", S.referenceType = M, delete S.url, delete S.title;
2625
+ k.type += "Reference", k.referenceType = M, delete k.url, delete k.title;
2626
2626
  } else
2627
- delete S.identifier, delete S.label;
2627
+ delete k.identifier, delete k.label;
2628
2628
  this.data.referenceType = void 0;
2629
2629
  }
2630
- function _e(S) {
2631
- const M = this.sliceSerialize(S), U = this.stack[this.stack.length - 2];
2630
+ function _e(k) {
2631
+ const M = this.sliceSerialize(k), U = this.stack[this.stack.length - 2];
2632
2632
  U.label = Rl(M), U.identifier = ht(M).toLowerCase();
2633
2633
  }
2634
2634
  function Le() {
2635
- const S = this.stack[this.stack.length - 1], M = this.resume(), U = this.stack[this.stack.length - 1];
2635
+ const k = this.stack[this.stack.length - 1], M = this.resume(), U = this.stack[this.stack.length - 1];
2636
2636
  if (this.data.inReference = !0, U.type === "link") {
2637
- const V = S.children;
2637
+ const V = k.children;
2638
2638
  U.children = V;
2639
2639
  } else
2640
2640
  U.alt = M;
2641
2641
  }
2642
2642
  function b() {
2643
- const S = this.resume(), M = this.stack[this.stack.length - 1];
2644
- M.url = S;
2643
+ const k = this.resume(), M = this.stack[this.stack.length - 1];
2644
+ M.url = k;
2645
2645
  }
2646
2646
  function Ce() {
2647
- const S = this.resume(), M = this.stack[this.stack.length - 1];
2648
- M.title = S;
2647
+ const k = this.resume(), M = this.stack[this.stack.length - 1];
2648
+ M.title = k;
2649
2649
  }
2650
2650
  function Re() {
2651
2651
  this.data.inReference = void 0;
@@ -2653,34 +2653,34 @@ function wl(e) {
2653
2653
  function g() {
2654
2654
  this.data.referenceType = "collapsed";
2655
2655
  }
2656
- function Ie(S) {
2656
+ function Ie(k) {
2657
2657
  const M = this.resume(), U = this.stack[this.stack.length - 1];
2658
2658
  U.label = M, U.identifier = ht(
2659
- this.sliceSerialize(S)
2659
+ this.sliceSerialize(k)
2660
2660
  ).toLowerCase(), this.data.referenceType = "full";
2661
2661
  }
2662
- function We(S) {
2663
- this.data.characterReferenceType = S.type;
2662
+ function We(k) {
2663
+ this.data.characterReferenceType = k.type;
2664
2664
  }
2665
- function le(S) {
2666
- const M = this.sliceSerialize(S), U = this.data.characterReferenceType;
2665
+ function le(k) {
2666
+ const M = this.sliceSerialize(k), U = this.data.characterReferenceType;
2667
2667
  let V;
2668
2668
  U ? (V = oi(
2669
2669
  M,
2670
2670
  U === "characterReferenceMarkerNumeric" ? 10 : 16
2671
2671
  ), this.data.characterReferenceType = void 0) : V = fr(M);
2672
2672
  const K = this.stack.pop();
2673
- K.value += V, K.position.end = He(S.end);
2673
+ K.value += V, K.position.end = He(k.end);
2674
2674
  }
2675
- function Ct(S) {
2676
- I.call(this, S);
2675
+ function Ct(k) {
2676
+ x.call(this, k);
2677
2677
  const M = this.stack[this.stack.length - 1];
2678
- M.url = this.sliceSerialize(S);
2678
+ M.url = this.sliceSerialize(k);
2679
2679
  }
2680
- function Fe(S) {
2681
- I.call(this, S);
2680
+ function Fe(k) {
2681
+ x.call(this, k);
2682
2682
  const M = this.stack[this.stack.length - 1];
2683
- M.url = "mailto:" + this.sliceSerialize(S);
2683
+ M.url = "mailto:" + this.sliceSerialize(k);
2684
2684
  }
2685
2685
  function it() {
2686
2686
  return {
@@ -2752,19 +2752,19 @@ function wl(e) {
2752
2752
  children: []
2753
2753
  };
2754
2754
  }
2755
- function Ur(S) {
2755
+ function Ur(k) {
2756
2756
  return {
2757
2757
  type: "list",
2758
- ordered: S.type === "listOrdered",
2758
+ ordered: k.type === "listOrdered",
2759
2759
  start: null,
2760
- spread: S._spread,
2760
+ spread: k._spread,
2761
2761
  children: []
2762
2762
  };
2763
2763
  }
2764
- function es(S) {
2764
+ function es(k) {
2765
2765
  return {
2766
2766
  type: "listItem",
2767
- spread: S._spread,
2767
+ spread: k._spread,
2768
2768
  checked: null,
2769
2769
  children: []
2770
2770
  };
@@ -3417,8 +3417,8 @@ function pc(e) {
3417
3417
  continue;
3418
3418
  const h = e.all(c), f = String(c.identifier).toUpperCase(), p = Tt(f.toLowerCase());
3419
3419
  let m = 0;
3420
- const A = [], N = e.footnoteCounts.get(f);
3421
- for (; N !== void 0 && ++m <= N; ) {
3420
+ const A = [], I = e.footnoteCounts.get(f);
3421
+ for (; I !== void 0 && ++m <= I; ) {
3422
3422
  A.length > 0 && A.push({ type: "text", value: " " });
3423
3423
  let w = typeof n == "string" ? n : n(l, m);
3424
3424
  typeof w == "string" && (w = { type: "text", value: w }), A.push({
@@ -3439,13 +3439,13 @@ function pc(e) {
3439
3439
  w && w.type === "text" ? w.value += " " : L.children.push({ type: "text", value: " " }), L.children.push(...A);
3440
3440
  } else
3441
3441
  h.push(...A);
3442
- const x = {
3442
+ const N = {
3443
3443
  type: "element",
3444
3444
  tagName: "li",
3445
3445
  properties: { id: t + "fn-" + p },
3446
3446
  children: e.wrap(h, !0)
3447
3447
  };
3448
- e.patch(c, x), o.push(x);
3448
+ e.patch(c, N), o.push(N);
3449
3449
  }
3450
3450
  if (o.length !== 0)
3451
3451
  return {
@@ -3502,8 +3502,8 @@ function Tc(e, t) {
3502
3502
  return m(o, h, f);
3503
3503
  if (o.options.passThrough && o.options.passThrough.includes(p)) {
3504
3504
  if ("children" in h) {
3505
- const { children: N, ...L } = h, x = cn(L);
3506
- return x.children = o.all(h), x;
3505
+ const { children: I, ...L } = h, N = cn(L);
3506
+ return N.children = o.all(h), N;
3507
3507
  }
3508
3508
  return cn(h);
3509
3509
  }
@@ -3518,8 +3518,8 @@ function Tc(e, t) {
3518
3518
  const A = o.one(p[m], h);
3519
3519
  if (A) {
3520
3520
  if (m && p[m - 1].type === "break" && (!Array.isArray(A) && A.type === "text" && (A.value = au(A.value)), !Array.isArray(A) && A.type === "element")) {
3521
- const N = A.children[0];
3522
- N && N.type === "text" && (N.value = au(N.value));
3521
+ const I = A.children[0];
3522
+ I && I.type === "text" && (I.value = au(I.value));
3523
3523
  }
3524
3524
  Array.isArray(A) ? f.push(...A) : f.push(A);
3525
3525
  }
@@ -3626,12 +3626,12 @@ function Ic() {
3626
3626
  return c[h];
3627
3627
  };
3628
3628
  return Pn = function l() {
3629
- var c, h, f, p, m, A, N = arguments[0], L = 1, x = arguments.length, w = !1;
3630
- for (typeof N == "boolean" && (w = N, N = arguments[1] || {}, L = 2), (N == null || typeof N != "object" && typeof N != "function") && (N = {}); L < x; ++L)
3629
+ var c, h, f, p, m, A, I = arguments[0], L = 1, N = arguments.length, w = !1;
3630
+ for (typeof I == "boolean" && (w = I, I = arguments[1] || {}, L = 2), (I == null || typeof I != "object" && typeof I != "function") && (I = {}); L < N; ++L)
3631
3631
  if (c = arguments[L], c != null)
3632
3632
  for (h in c)
3633
- f = o(N, h), p = o(c, h), N !== p && (w && p && (a(p) || (m = u(p))) ? (m ? (m = !1, A = f && u(f) ? f : []) : A = f && a(f) ? f : {}, i(N, { name: h, newValue: l(w, A, p) })) : typeof p < "u" && i(N, { name: h, newValue: p }));
3634
- return N;
3633
+ f = o(I, h), p = o(c, h), I !== p && (w && p && (a(p) || (m = u(p))) ? (m ? (m = !1, A = f && u(f) ? f : []) : A = f && a(f) ? f : {}, i(I, { name: h, newValue: l(w, A, p) })) : typeof p < "u" && i(I, { name: h, newValue: p }));
3634
+ return I;
3635
3635
  }, Pn;
3636
3636
  }
3637
3637
  var xc = Ic();
@@ -3660,7 +3660,7 @@ function Nc() {
3660
3660
  }
3661
3661
  for (; ++f < u.length; )
3662
3662
  (c[f] === null || c[f] === void 0) && (c[f] = u[f]);
3663
- u = c, h ? Sc(h, o)(...c) : i(null, ...c);
3663
+ u = c, h ? kc(h, o)(...c) : i(null, ...c);
3664
3664
  }
3665
3665
  }
3666
3666
  function r(u) {
@@ -3671,7 +3671,7 @@ function Nc() {
3671
3671
  return e.push(u), t;
3672
3672
  }
3673
3673
  }
3674
- function Sc(e, t) {
3674
+ function kc(e, t) {
3675
3675
  let n;
3676
3676
  return r;
3677
3677
  function r(...i) {
@@ -3698,8 +3698,8 @@ function Sc(e, t) {
3698
3698
  u(null, i);
3699
3699
  }
3700
3700
  }
3701
- const Se = { basename: kc, dirname: Oc, extname: yc, join: Lc, sep: "/" };
3702
- function kc(e, t) {
3701
+ const ke = { basename: Sc, dirname: Oc, extname: yc, join: Lc, sep: "/" };
3702
+ function Sc(e, t) {
3703
3703
  if (t !== void 0 && typeof t != "string")
3704
3704
  throw new TypeError('"ext" argument must be a string');
3705
3705
  zt(e);
@@ -3904,7 +3904,7 @@ class Ni {
3904
3904
  * Basename.
3905
3905
  */
3906
3906
  get basename() {
3907
- return typeof this.path == "string" ? Se.basename(this.path) : void 0;
3907
+ return typeof this.path == "string" ? ke.basename(this.path) : void 0;
3908
3908
  }
3909
3909
  /**
3910
3910
  * Set basename (including extname) (`'index.min.js'`).
@@ -3919,7 +3919,7 @@ class Ni {
3919
3919
  * Nothing.
3920
3920
  */
3921
3921
  set basename(t) {
3922
- Fn(t, "basename"), Bn(t, "basename"), this.path = Se.join(this.dirname || "", t);
3922
+ Fn(t, "basename"), Bn(t, "basename"), this.path = ke.join(this.dirname || "", t);
3923
3923
  }
3924
3924
  /**
3925
3925
  * Get the parent path (example: `'~'`).
@@ -3928,7 +3928,7 @@ class Ni {
3928
3928
  * Dirname.
3929
3929
  */
3930
3930
  get dirname() {
3931
- return typeof this.path == "string" ? Se.dirname(this.path) : void 0;
3931
+ return typeof this.path == "string" ? ke.dirname(this.path) : void 0;
3932
3932
  }
3933
3933
  /**
3934
3934
  * Set the parent path (example: `'~'`).
@@ -3941,7 +3941,7 @@ class Ni {
3941
3941
  * Nothing.
3942
3942
  */
3943
3943
  set dirname(t) {
3944
- cu(this.basename, "dirname"), this.path = Se.join(t || "", this.basename);
3944
+ cu(this.basename, "dirname"), this.path = ke.join(t || "", this.basename);
3945
3945
  }
3946
3946
  /**
3947
3947
  * Get the extname (including dot) (example: `'.js'`).
@@ -3950,7 +3950,7 @@ class Ni {
3950
3950
  * Extname.
3951
3951
  */
3952
3952
  get extname() {
3953
- return typeof this.path == "string" ? Se.extname(this.path) : void 0;
3953
+ return typeof this.path == "string" ? ke.extname(this.path) : void 0;
3954
3954
  }
3955
3955
  /**
3956
3956
  * Set the extname (including dot) (example: `'.js'`).
@@ -3971,7 +3971,7 @@ class Ni {
3971
3971
  if (t.includes(".", 1))
3972
3972
  throw new Error("`extname` cannot contain multiple dots");
3973
3973
  }
3974
- this.path = Se.join(this.dirname, this.stem + (t || ""));
3974
+ this.path = ke.join(this.dirname, this.stem + (t || ""));
3975
3975
  }
3976
3976
  /**
3977
3977
  * Get the full path (example: `'~/index.min.js'`).
@@ -4004,7 +4004,7 @@ class Ni {
4004
4004
  * Stem.
4005
4005
  */
4006
4006
  get stem() {
4007
- return typeof this.path == "string" ? Se.basename(this.path, this.extname) : void 0;
4007
+ return typeof this.path == "string" ? ke.basename(this.path, this.extname) : void 0;
4008
4008
  }
4009
4009
  /**
4010
4010
  * Set the stem (basename w/o extname) (example: `'index.min'`).
@@ -4019,7 +4019,7 @@ class Ni {
4019
4019
  * Nothing.
4020
4020
  */
4021
4021
  set stem(t) {
4022
- Fn(t, "stem"), Bn(t, "stem"), this.path = Se.join(this.dirname || "", t + (this.extname || ""));
4022
+ Fn(t, "stem"), Bn(t, "stem"), this.path = ke.join(this.dirname || "", t + (this.extname || ""));
4023
4023
  }
4024
4024
  // Normal prototypal methods.
4025
4025
  /**
@@ -4233,9 +4233,9 @@ class Ni {
4233
4233
  }
4234
4234
  }
4235
4235
  function Bn(e, t) {
4236
- if (e && e.includes(Se.sep))
4236
+ if (e && e.includes(ke.sep))
4237
4237
  throw new Error(
4238
- "`" + t + "` cannot be a path: did not expect `" + Se.sep + "`"
4238
+ "`" + t + "` cannot be a path: did not expect `" + ke.sep + "`"
4239
4239
  );
4240
4240
  }
4241
4241
  function Fn(e, t) {
@@ -4746,8 +4746,8 @@ class br extends Hc {
4746
4746
  r.push([c, ...h]);
4747
4747
  else if (h.length > 0) {
4748
4748
  let [m, ...A] = h;
4749
- const N = r[p][1];
4750
- Jn(N) && Jn(m) && (m = wn(!0, N, m)), r[p] = [c, m, ...A];
4749
+ const I = r[p][1];
4750
+ Jn(I) && Jn(m) && (m = wn(!0, I, m)), r[p] = [c, m, ...A];
4751
4751
  }
4752
4752
  }
4753
4753
  }
@@ -4880,8 +4880,8 @@ function Kc(e, t) {
4880
4880
  let m;
4881
4881
  for (m in Ln)
4882
4882
  if (Object.hasOwn(Ln, m) && Object.hasOwn(h.properties, m)) {
4883
- const A = h.properties[m], N = Ln[m];
4884
- (N === null || N.includes(h.tagName)) && (h.properties[m] = l(String(A || ""), m, h));
4883
+ const A = h.properties[m], I = Ln[m];
4884
+ (I === null || I.includes(h.tagName)) && (h.properties[m] = l(String(A || ""), m, h));
4885
4885
  }
4886
4886
  }
4887
4887
  if (h.type === "element") {
@@ -4900,14 +4900,14 @@ function $c(e) {
4900
4900
  Vc.test(e.slice(0, t)) ? e : ""
4901
4901
  );
4902
4902
  }
4903
- const Si = -1, Cn = 0, fn = 1, hn = 2, gr = 3, Ar = 4, _r = 5, Cr = 6, ki = 7, Oi = 8, pu = typeof self == "object" ? self : globalThis, Jc = (e, t) => {
4903
+ const ki = -1, Cn = 0, fn = 1, hn = 2, gr = 3, Ar = 4, _r = 5, Cr = 6, Si = 7, Oi = 8, pu = typeof self == "object" ? self : globalThis, Jc = (e, t) => {
4904
4904
  const n = (u, a) => (e.set(a, u), u), r = (u) => {
4905
4905
  if (e.has(u))
4906
4906
  return e.get(u);
4907
4907
  const [a, i] = t[u];
4908
4908
  switch (a) {
4909
4909
  case Cn:
4910
- case Si:
4910
+ case ki:
4911
4911
  return n(i, u);
4912
4912
  case fn: {
4913
4913
  const o = n([], u);
@@ -4939,7 +4939,7 @@ const Si = -1, Cn = 0, fn = 1, hn = 2, gr = 3, Ar = 4, _r = 5, Cr = 6, ki = 7, O
4939
4939
  o.add(r(l));
4940
4940
  return o;
4941
4941
  }
4942
- case ki: {
4942
+ case Si: {
4943
4943
  const { name: o, message: l } = i;
4944
4944
  return n(new pu[o](l), u);
4945
4945
  }
@@ -4951,7 +4951,7 @@ const Si = -1, Cn = 0, fn = 1, hn = 2, gr = 3, Ar = 4, _r = 5, Cr = 6, ki = 7, O
4951
4951
  return n(new pu[a](i), u);
4952
4952
  };
4953
4953
  return r;
4954
- }, Eu = (e) => Jc(/* @__PURE__ */ new Map(), e)(0), ot = "", { toString: Zc } = {}, { keys: e0 } = Object, St = (e) => {
4954
+ }, Eu = (e) => Jc(/* @__PURE__ */ new Map(), e)(0), ot = "", { toString: Zc } = {}, { keys: e0 } = Object, kt = (e) => {
4955
4955
  const t = typeof e;
4956
4956
  if (t !== "object" || !e)
4957
4957
  return [Cn, t];
@@ -4970,7 +4970,7 @@ const Si = -1, Cn = 0, fn = 1, hn = 2, gr = 3, Ar = 4, _r = 5, Cr = 6, ki = 7, O
4970
4970
  case "Set":
4971
4971
  return [Cr, ot];
4972
4972
  }
4973
- return n.includes("Array") ? [fn, n] : n.includes("Error") ? [ki, n] : [hn, n];
4973
+ return n.includes("Array") ? [fn, n] : n.includes("Error") ? [Si, n] : [hn, n];
4974
4974
  }, Kt = ([e, t]) => e === Cn && (t === "function" || t === "symbol"), t0 = (e, t, n, r) => {
4975
4975
  const u = (i, o) => {
4976
4976
  const l = r.push(i) - 1;
@@ -4978,7 +4978,7 @@ const Si = -1, Cn = 0, fn = 1, hn = 2, gr = 3, Ar = 4, _r = 5, Cr = 6, ki = 7, O
4978
4978
  }, a = (i) => {
4979
4979
  if (n.has(i))
4980
4980
  return n.get(i);
4981
- let [o, l] = St(i);
4981
+ let [o, l] = kt(i);
4982
4982
  switch (o) {
4983
4983
  case Cn: {
4984
4984
  let h = i;
@@ -4993,7 +4993,7 @@ const Si = -1, Cn = 0, fn = 1, hn = 2, gr = 3, Ar = 4, _r = 5, Cr = 6, ki = 7, O
4993
4993
  h = null;
4994
4994
  break;
4995
4995
  case "undefined":
4996
- return u([Si], i);
4996
+ return u([ki], i);
4997
4997
  }
4998
4998
  return u([o, h], i);
4999
4999
  }
@@ -5019,7 +5019,7 @@ const Si = -1, Cn = 0, fn = 1, hn = 2, gr = 3, Ar = 4, _r = 5, Cr = 6, ki = 7, O
5019
5019
  return a(i.toJSON());
5020
5020
  const h = [], f = u([o, h], i);
5021
5021
  for (const p of e0(i))
5022
- (e || !Kt(St(i[p]))) && h.push([a(p), a(i[p])]);
5022
+ (e || !Kt(kt(i[p]))) && h.push([a(p), a(i[p])]);
5023
5023
  return f;
5024
5024
  }
5025
5025
  case gr:
@@ -5031,13 +5031,13 @@ const Si = -1, Cn = 0, fn = 1, hn = 2, gr = 3, Ar = 4, _r = 5, Cr = 6, ki = 7, O
5031
5031
  case _r: {
5032
5032
  const h = [], f = u([o, h], i);
5033
5033
  for (const [p, m] of i)
5034
- (e || !(Kt(St(p)) || Kt(St(m)))) && h.push([a(p), a(m)]);
5034
+ (e || !(Kt(kt(p)) || Kt(kt(m)))) && h.push([a(p), a(m)]);
5035
5035
  return f;
5036
5036
  }
5037
5037
  case Cr: {
5038
5038
  const h = [], f = u([o, h], i);
5039
5039
  for (const p of i)
5040
- (e || !Kt(St(p))) && h.push(a(p));
5040
+ (e || !Kt(kt(p))) && h.push(a(p));
5041
5041
  return f;
5042
5042
  }
5043
5043
  }
@@ -6534,23 +6534,23 @@ function ft(e) {
6534
6534
  function xu(e) {
6535
6535
  return e.line && e.column ? e : void 0;
6536
6536
  }
6537
- const I0 = {}, x0 = {}.hasOwnProperty, vi = ri("type", { handlers: { root: S0, element: R0, text: y0, comment: L0, doctype: O0 } });
6537
+ const I0 = {}, x0 = {}.hasOwnProperty, vi = ri("type", { handlers: { root: k0, element: R0, text: y0, comment: L0, doctype: O0 } });
6538
6538
  function N0(e, t) {
6539
6539
  const r = (t || I0).space;
6540
6540
  return vi(e, r === "svg" ? qt : In);
6541
6541
  }
6542
- function S0(e, t) {
6542
+ function k0(e, t) {
6543
6543
  const n = {
6544
6544
  nodeName: "#document",
6545
6545
  // @ts-expect-error: `parse5` uses enums, which are actually strings.
6546
6546
  mode: (e.data || {}).quirksMode ? "quirks" : "no-quirks",
6547
6547
  childNodes: []
6548
6548
  };
6549
- return n.childNodes = Sr(e.children, n, t), gt(e, n), n;
6549
+ return n.childNodes = kr(e.children, n, t), gt(e, n), n;
6550
6550
  }
6551
- function k0(e, t) {
6551
+ function S0(e, t) {
6552
6552
  const n = { nodeName: "#document-fragment", childNodes: [] };
6553
- return n.childNodes = Sr(e.children, n, t), gt(e, n), n;
6553
+ return n.childNodes = kr(e.children, n, t), gt(e, n), n;
6554
6554
  }
6555
6555
  function O0(e) {
6556
6556
  const t = {
@@ -6604,7 +6604,7 @@ function R0(e, t) {
6604
6604
  childNodes: [],
6605
6605
  parentNode: null
6606
6606
  };
6607
- return o.childNodes = Sr(e.children, o, r), gt(e, o), e.tagName === "template" && e.content && (o.content = k0(e.content, r)), o;
6607
+ return o.childNodes = kr(e.children, o, r), gt(e, o), e.tagName === "template" && e.content && (o.content = S0(e.content, r)), o;
6608
6608
  }
6609
6609
  function D0(e, t, n) {
6610
6610
  const r = xr(e, t);
@@ -6621,7 +6621,7 @@ function D0(e, t, n) {
6621
6621
  }
6622
6622
  return u;
6623
6623
  }
6624
- function Sr(e, t, n) {
6624
+ function kr(e, t, n) {
6625
6625
  let r = -1;
6626
6626
  const u = [];
6627
6627
  if (e)
@@ -7385,7 +7385,7 @@ function $t(e) {
7385
7385
  function Gi(e) {
7386
7386
  return e === d.SPACE || e === d.LINE_FEED || e === d.TABULATION || e === d.FORM_FEED;
7387
7387
  }
7388
- function Su(e) {
7388
+ function ku(e) {
7389
7389
  return Gi(e) || e === d.SOLIDUS || e === d.GREATER_THAN_SIGN;
7390
7390
  }
7391
7391
  function $0(e) {
@@ -8268,7 +8268,7 @@ class J0 {
8268
8268
  // Script data double escape start state
8269
8269
  //------------------------------------------------------------------
8270
8270
  _stateScriptDataDoubleEscapeStart(t) {
8271
- if (this.preprocessor.startsWith(me.SCRIPT, !1) && Su(this.preprocessor.peek(me.SCRIPT.length))) {
8271
+ if (this.preprocessor.startsWith(me.SCRIPT, !1) && ku(this.preprocessor.peek(me.SCRIPT.length))) {
8272
8272
  this._emitCodePoint(t);
8273
8273
  for (let n = 0; n < me.SCRIPT.length; n++)
8274
8274
  this._emitCodePoint(this._consume());
@@ -8359,7 +8359,7 @@ class J0 {
8359
8359
  // Script data double escape end state
8360
8360
  //------------------------------------------------------------------
8361
8361
  _stateScriptDataDoubleEscapeEnd(t) {
8362
- if (this.preprocessor.startsWith(me.SCRIPT, !1) && Su(this.preprocessor.peek(me.SCRIPT.length))) {
8362
+ if (this.preprocessor.startsWith(me.SCRIPT, !1) && ku(this.preprocessor.peek(me.SCRIPT.length))) {
8363
8363
  this._emitCodePoint(t);
8364
8364
  for (let n = 0; n < me.SCRIPT.length; n++)
8365
8365
  this._emitCodePoint(this._consume());
@@ -9281,7 +9281,7 @@ class J0 {
9281
9281
  Nu(t) ? this._flushCodePointConsumedAsCharacterReference(t) : (t === d.SEMICOLON && this._err(C.unknownNamedCharacterReference), this.state = this.returnState, this._callState(t));
9282
9282
  }
9283
9283
  }
9284
- const Xi = /* @__PURE__ */ new Set([s.DD, s.DT, s.LI, s.OPTGROUP, s.OPTION, s.P, s.RB, s.RP, s.RT, s.RTC]), ku = /* @__PURE__ */ new Set([
9284
+ const Xi = /* @__PURE__ */ new Set([s.DD, s.DT, s.LI, s.OPTGROUP, s.OPTION, s.P, s.RB, s.RP, s.RT, s.RTC]), Su = /* @__PURE__ */ new Set([
9285
9285
  ...Xi,
9286
9286
  s.CAPTION,
9287
9287
  s.COLGROUP,
@@ -9509,20 +9509,20 @@ class af {
9509
9509
  this.pop();
9510
9510
  }
9511
9511
  generateImpliedEndTagsThoroughly() {
9512
- for (; ku.has(this.currentTagId); )
9512
+ for (; Su.has(this.currentTagId); )
9513
9513
  this.pop();
9514
9514
  }
9515
9515
  generateImpliedEndTagsWithExclusion(t) {
9516
- for (; this.currentTagId !== t && ku.has(this.currentTagId); )
9516
+ for (; this.currentTagId !== t && Su.has(this.currentTagId); )
9517
9517
  this.pop();
9518
9518
  }
9519
9519
  }
9520
9520
  const qn = 3;
9521
- var ke;
9521
+ var Se;
9522
9522
  (function(e) {
9523
9523
  e[e.Marker = 0] = "Marker", e[e.Element = 1] = "Element";
9524
- })(ke || (ke = {}));
9525
- const Lu = { type: ke.Marker };
9524
+ })(Se || (Se = {}));
9525
+ const Lu = { type: Se.Marker };
9526
9526
  class sf {
9527
9527
  constructor(t) {
9528
9528
  this.treeAdapter = t, this.entries = [], this.bookmark = null;
@@ -9534,7 +9534,7 @@ class sf {
9534
9534
  const r = [], u = n.length, a = this.treeAdapter.getTagName(t), i = this.treeAdapter.getNamespaceURI(t);
9535
9535
  for (let o = 0; o < this.entries.length; o++) {
9536
9536
  const l = this.entries[o];
9537
- if (l.type === ke.Marker)
9537
+ if (l.type === Se.Marker)
9538
9538
  break;
9539
9539
  const { element: c } = l;
9540
9540
  if (this.treeAdapter.getTagName(c) === a && this.treeAdapter.getNamespaceURI(c) === i) {
@@ -9563,7 +9563,7 @@ class sf {
9563
9563
  }
9564
9564
  pushElement(t, n) {
9565
9565
  this._ensureNoahArkCondition(t), this.entries.unshift({
9566
- type: ke.Element,
9566
+ type: Se.Element,
9567
9567
  element: t,
9568
9568
  token: n
9569
9569
  });
@@ -9571,7 +9571,7 @@ class sf {
9571
9571
  insertElementAfterBookmark(t, n) {
9572
9572
  const r = this.entries.indexOf(this.bookmark);
9573
9573
  this.entries.splice(r, 0, {
9574
- type: ke.Element,
9574
+ type: Se.Element,
9575
9575
  element: t,
9576
9576
  token: n
9577
9577
  });
@@ -9591,11 +9591,11 @@ class sf {
9591
9591
  }
9592
9592
  //Search
9593
9593
  getElementEntryInScopeWithTagName(t) {
9594
- const n = this.entries.find((r) => r.type === ke.Marker || this.treeAdapter.getTagName(r.element) === t);
9595
- return n && n.type === ke.Element ? n : null;
9594
+ const n = this.entries.find((r) => r.type === Se.Marker || this.treeAdapter.getTagName(r.element) === t);
9595
+ return n && n.type === Se.Element ? n : null;
9596
9596
  }
9597
9597
  getElementEntry(t) {
9598
- return this.entries.find((n) => n.type === ke.Element && n.element === t);
9598
+ return this.entries.find((n) => n.type === Se.Element && n.element === t);
9599
9599
  }
9600
9600
  }
9601
9601
  const ve = {
@@ -10022,7 +10022,7 @@ function ea(e) {
10022
10022
  n != null && (e.attrs[t].name = n);
10023
10023
  }
10024
10024
  }
10025
- function kr(e) {
10025
+ function Sr(e) {
10026
10026
  for (let t = 0; t < e.attrs.length; t++) {
10027
10027
  const n = bf.get(e.attrs[t].name);
10028
10028
  n && (e.attrs[t].prefix = n.prefix, e.attrs[t].name = n.name, e.attrs[t].namespace = n.namespace);
@@ -10048,7 +10048,7 @@ function xf(e, t, n) {
10048
10048
  function Nf(e, t, n, r) {
10049
10049
  return (!r || r === O.HTML) && xf(e, t, n) || (!r || r === O.MATHML) && If(e, t);
10050
10050
  }
10051
- const Sf = "hidden", kf = 8, Of = 3;
10051
+ const kf = "hidden", Sf = 8, Of = 3;
10052
10052
  var T;
10053
10053
  (function(e) {
10054
10054
  e[e.INITIAL = 0] = "INITIAL", e[e.BEFORE_HTML = 1] = "BEFORE_HTML", e[e.BEFORE_HEAD = 2] = "BEFORE_HEAD", e[e.IN_HEAD = 3] = "IN_HEAD", e[e.IN_HEAD_NO_SCRIPT = 4] = "IN_HEAD_NO_SCRIPT", e[e.AFTER_HEAD = 5] = "AFTER_HEAD", e[e.IN_BODY = 6] = "IN_BODY", e[e.TEXT = 7] = "TEXT", e[e.IN_TABLE = 8] = "IN_TABLE", e[e.IN_TABLE_TEXT = 9] = "IN_TABLE_TEXT", e[e.IN_CAPTION = 10] = "IN_CAPTION", e[e.IN_COLUMN_GROUP = 11] = "IN_COLUMN_GROUP", e[e.IN_TABLE_BODY = 12] = "IN_TABLE_BODY", e[e.IN_ROW = 13] = "IN_ROW", e[e.IN_CELL = 14] = "IN_CELL", e[e.IN_SELECT = 15] = "IN_SELECT", e[e.IN_SELECT_IN_TABLE = 16] = "IN_SELECT_IN_TABLE", e[e.IN_TEMPLATE = 17] = "IN_TEMPLATE", e[e.AFTER_BODY = 18] = "AFTER_BODY", e[e.IN_FRAMESET = 19] = "IN_FRAMESET", e[e.AFTER_FRAMESET = 20] = "AFTER_FRAMESET", e[e.AFTER_AFTER_BODY = 21] = "AFTER_AFTER_BODY", e[e.AFTER_AFTER_FRAMESET = 22] = "AFTER_AFTER_FRAMESET";
@@ -10331,7 +10331,7 @@ class wu {
10331
10331
  _reconstructActiveFormattingElements() {
10332
10332
  const t = this.activeFormattingElements.entries.length;
10333
10333
  if (t) {
10334
- const n = this.activeFormattingElements.entries.findIndex((u) => u.type === ke.Marker || this.openElements.contains(u.element)), r = n < 0 ? t - 1 : n - 1;
10334
+ const n = this.activeFormattingElements.entries.findIndex((u) => u.type === Se.Marker || this.openElements.contains(u.element)), r = n < 0 ? t - 1 : n - 1;
10335
10335
  for (let u = r; u >= 0; u--) {
10336
10336
  const a = this.activeFormattingElements.entries[u];
10337
10337
  this._insertElement(a.token, this.treeAdapter.getNamespaceURI(a.element)), a.element = this.openElements.current;
@@ -10472,7 +10472,7 @@ class wu {
10472
10472
  }
10473
10473
  switch (this.insertionMode) {
10474
10474
  case T.INITIAL: {
10475
- kt(this, t);
10475
+ St(this, t);
10476
10476
  break;
10477
10477
  }
10478
10478
  case T.BEFORE_HTML: {
@@ -10540,7 +10540,7 @@ class wu {
10540
10540
  }
10541
10541
  switch (this.insertionMode) {
10542
10542
  case T.INITIAL: {
10543
- kt(this, t);
10543
+ St(this, t);
10544
10544
  break;
10545
10545
  }
10546
10546
  case T.BEFORE_HTML: {
@@ -10672,7 +10672,7 @@ class wu {
10672
10672
  _startTagOutsideForeignContent(t) {
10673
10673
  switch (this.insertionMode) {
10674
10674
  case T.INITIAL: {
10675
- kt(this, t);
10675
+ St(this, t);
10676
10676
  break;
10677
10677
  }
10678
10678
  case T.BEFORE_HTML: {
@@ -10716,11 +10716,11 @@ class wu {
10716
10716
  break;
10717
10717
  }
10718
10718
  case T.IN_TABLE_BODY: {
10719
- Sn(this, t);
10719
+ kn(this, t);
10720
10720
  break;
10721
10721
  }
10722
10722
  case T.IN_ROW: {
10723
- kn(this, t);
10723
+ Sn(this, t);
10724
10724
  break;
10725
10725
  }
10726
10726
  case T.IN_CELL: {
@@ -10769,7 +10769,7 @@ class wu {
10769
10769
  _endTagOutsideForeignContent(t) {
10770
10770
  switch (this.insertionMode) {
10771
10771
  case T.INITIAL: {
10772
- kt(this, t);
10772
+ St(this, t);
10773
10773
  break;
10774
10774
  }
10775
10775
  case T.BEFORE_HTML: {
@@ -10862,7 +10862,7 @@ class wu {
10862
10862
  onEof(t) {
10863
10863
  switch (this.insertionMode) {
10864
10864
  case T.INITIAL: {
10865
- kt(this, t);
10865
+ St(this, t);
10866
10866
  break;
10867
10867
  }
10868
10868
  case T.BEFORE_HTML: {
@@ -11007,7 +11007,7 @@ function Mf(e, t, n) {
11007
11007
  e._adoptNodes(t, a), e.treeAdapter.appendChild(t, a), e.activeFormattingElements.insertElementAfterBookmark(a, u), e.activeFormattingElements.removeEntry(n), e.openElements.remove(n.element), e.openElements.insertAfter(t, a, u.tagID);
11008
11008
  }
11009
11009
  function Or(e, t) {
11010
- for (let n = 0; n < kf; n++) {
11010
+ for (let n = 0; n < Sf; n++) {
11011
11011
  const r = Lf(e, t);
11012
11012
  if (!r)
11013
11013
  break;
@@ -11047,7 +11047,7 @@ function Hf(e, t) {
11047
11047
  const n = t.forceQuirks ? ge.QUIRKS : mf(t);
11048
11048
  df(t) || e._err(t, C.nonConformingDoctype), e.treeAdapter.setDocumentMode(e.document, n), e.insertionMode = T.BEFORE_HTML;
11049
11049
  }
11050
- function kt(e, t) {
11050
+ function St(e, t) {
11051
11051
  e._err(t, C.missingDoctype, !0), e.treeAdapter.setDocumentMode(e.document, ge.QUIRKS), e.insertionMode = T.BEFORE_HTML, e._processToken(t);
11052
11052
  }
11053
11053
  function Uf(e, t) {
@@ -11345,7 +11345,7 @@ function ua(e, t) {
11345
11345
  }
11346
11346
  function ia(e) {
11347
11347
  const t = ji(e, Ze.TYPE);
11348
- return t != null && t.toLowerCase() === Sf;
11348
+ return t != null && t.toLowerCase() === kf;
11349
11349
  }
11350
11350
  function lh(e, t) {
11351
11351
  e._reconstructActiveFormattingElements(), e._appendElement(t, O.HTML), ia(t) || (e.framesetOk = !1), t.ackSelfClosing = !0;
@@ -11384,10 +11384,10 @@ function gh(e, t) {
11384
11384
  e.openElements.hasInScope(s.RUBY) && e.openElements.generateImpliedEndTagsWithExclusion(s.RTC), e._insertElement(t, O.HTML);
11385
11385
  }
11386
11386
  function Ah(e, t) {
11387
- e._reconstructActiveFormattingElements(), Zi(t), kr(t), t.selfClosing ? e._appendElement(t, O.MATHML) : e._insertElement(t, O.MATHML), t.ackSelfClosing = !0;
11387
+ e._reconstructActiveFormattingElements(), Zi(t), Sr(t), t.selfClosing ? e._appendElement(t, O.MATHML) : e._insertElement(t, O.MATHML), t.ackSelfClosing = !0;
11388
11388
  }
11389
11389
  function _h(e, t) {
11390
- e._reconstructActiveFormattingElements(), ea(t), kr(t), t.selfClosing ? e._appendElement(t, O.SVG) : e._insertElement(t, O.SVG), t.ackSelfClosing = !0;
11390
+ e._reconstructActiveFormattingElements(), ea(t), Sr(t), t.selfClosing ? e._appendElement(t, O.SVG) : e._insertElement(t, O.SVG), t.ackSelfClosing = !0;
11391
11391
  }
11392
11392
  function Bu(e, t) {
11393
11393
  e._reconstructActiveFormattingElements(), e._insertElement(t, O.HTML);
@@ -11619,10 +11619,10 @@ function Nh(e) {
11619
11619
  const t = e.openElements.tmplCount > 0, { formElement: n } = e;
11620
11620
  t || (e.formElement = null), (n || t) && e.openElements.hasInScope(s.FORM) && (e.openElements.generateImpliedEndTags(), t ? e.openElements.popUntilTagNamePopped(s.FORM) : n && e.openElements.remove(n));
11621
11621
  }
11622
- function Sh(e) {
11622
+ function kh(e) {
11623
11623
  e.openElements.hasInButtonScope(s.P) || e._insertFakeElement(_.P, s.P), e._closePElement();
11624
11624
  }
11625
- function kh(e) {
11625
+ function Sh(e) {
11626
11626
  e.openElements.hasInListItemScope(s.LI) && (e.openElements.generateImpliedEndTagsWithExclusion(s.LI), e.openElements.popUntilTagNamePopped(s.LI));
11627
11627
  }
11628
11628
  function Oh(e, t) {
@@ -11671,7 +11671,7 @@ function Nn(e, t) {
11671
11671
  break;
11672
11672
  }
11673
11673
  case s.P: {
11674
- Sh(e);
11674
+ kh(e);
11675
11675
  break;
11676
11676
  }
11677
11677
  case s.DL:
@@ -11705,7 +11705,7 @@ function Nn(e, t) {
11705
11705
  break;
11706
11706
  }
11707
11707
  case s.LI: {
11708
- kh(e);
11708
+ Sh(e);
11709
11709
  break;
11710
11710
  }
11711
11711
  case s.DD:
@@ -11790,7 +11790,7 @@ function Fh(e, t) {
11790
11790
  e.openElements.clearBackToTableContext(), e._insertElement(t, O.HTML), e.insertionMode = T.IN_TABLE_BODY;
11791
11791
  }
11792
11792
  function Hh(e, t) {
11793
- e.openElements.clearBackToTableContext(), e._insertFakeElement(_.TBODY, s.TBODY), e.insertionMode = T.IN_TABLE_BODY, Sn(e, t);
11793
+ e.openElements.clearBackToTableContext(), e._insertFakeElement(_.TBODY, s.TBODY), e.insertionMode = T.IN_TABLE_BODY, kn(e, t);
11794
11794
  }
11795
11795
  function Uh(e, t) {
11796
11796
  e.openElements.hasInTableScope(s.TABLE) && (e.openElements.popUntilTagNamePopped(s.TABLE), e._resetInsertionMode(), e._processStartTag(t));
@@ -11960,7 +11960,7 @@ function jh(e, t) {
11960
11960
  function mn(e, t) {
11961
11961
  e.openElements.currentTagId === s.COLGROUP && (e.openElements.pop(), e.insertionMode = T.IN_TABLE, e._processToken(t));
11962
11962
  }
11963
- function Sn(e, t) {
11963
+ function kn(e, t) {
11964
11964
  switch (t.tagID) {
11965
11965
  case s.TR: {
11966
11966
  e.openElements.clearBackToTableBodyContext(), e._insertElement(t, O.HTML), e.insertionMode = T.IN_ROW;
@@ -11968,7 +11968,7 @@ function Sn(e, t) {
11968
11968
  }
11969
11969
  case s.TH:
11970
11970
  case s.TD: {
11971
- e.openElements.clearBackToTableBodyContext(), e._insertFakeElement(_.TR, s.TR), e.insertionMode = T.IN_ROW, kn(e, t);
11971
+ e.openElements.clearBackToTableBodyContext(), e._insertFakeElement(_.TR, s.TR), e.insertionMode = T.IN_ROW, Sn(e, t);
11972
11972
  break;
11973
11973
  }
11974
11974
  case s.CAPTION:
@@ -12010,7 +12010,7 @@ function ar(e, t) {
12010
12010
  Ut(e, t);
12011
12011
  }
12012
12012
  }
12013
- function kn(e, t) {
12013
+ function Sn(e, t) {
12014
12014
  switch (t.tagID) {
12015
12015
  case s.TH:
12016
12016
  case s.TD: {
@@ -12024,7 +12024,7 @@ function kn(e, t) {
12024
12024
  case s.TFOOT:
12025
12025
  case s.THEAD:
12026
12026
  case s.TR: {
12027
- e.openElements.hasInTableScope(s.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = T.IN_TABLE_BODY, Sn(e, t));
12027
+ e.openElements.hasInTableScope(s.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = T.IN_TABLE_BODY, kn(e, t));
12028
12028
  break;
12029
12029
  }
12030
12030
  default:
@@ -12061,7 +12061,7 @@ function fa(e, t) {
12061
12061
  }
12062
12062
  function Vh(e, t) {
12063
12063
  const n = t.tagID;
12064
- ca.has(n) ? (e.openElements.hasInTableScope(s.TD) || e.openElements.hasInTableScope(s.TH)) && (e._closeTableCell(), kn(e, t)) : he(e, t);
12064
+ ca.has(n) ? (e.openElements.hasInTableScope(s.TD) || e.openElements.hasInTableScope(s.TH)) && (e._closeTableCell(), Sn(e, t)) : he(e, t);
12065
12065
  }
12066
12066
  function Wh(e, t) {
12067
12067
  const n = t.tagID;
@@ -12179,12 +12179,12 @@ function Xh(e, t) {
12179
12179
  break;
12180
12180
  }
12181
12181
  case s.TR: {
12182
- e.tmplInsertionModeStack[0] = T.IN_TABLE_BODY, e.insertionMode = T.IN_TABLE_BODY, Sn(e, t);
12182
+ e.tmplInsertionModeStack[0] = T.IN_TABLE_BODY, e.insertionMode = T.IN_TABLE_BODY, kn(e, t);
12183
12183
  break;
12184
12184
  }
12185
12185
  case s.TD:
12186
12186
  case s.TH: {
12187
- e.tmplInsertionModeStack[0] = T.IN_ROW, e.insertionMode = T.IN_ROW, kn(e, t);
12187
+ e.tmplInsertionModeStack[0] = T.IN_ROW, e.insertionMode = T.IN_ROW, Sn(e, t);
12188
12188
  break;
12189
12189
  }
12190
12190
  default:
@@ -12285,7 +12285,7 @@ function ad(e, t) {
12285
12285
  Ea(e), e._startTagOutsideForeignContent(t);
12286
12286
  else {
12287
12287
  const n = e._getAdjustedCurrentElement(), r = e.treeAdapter.getNamespaceURI(n);
12288
- r === O.MATHML ? Zi(t) : r === O.SVG && (Cf(t), ea(t)), kr(t), t.selfClosing ? e._appendElement(t, r) : e._insertElement(t, r), t.ackSelfClosing = !0;
12288
+ r === O.MATHML ? Zi(t) : r === O.SVG && (Cf(t), ea(t)), Sr(t), t.selfClosing ? e._appendElement(t, r) : e._insertElement(t, r), t.ackSelfClosing = !0;
12289
12289
  }
12290
12290
  }
12291
12291
  function sd(e, t) {
@@ -12538,7 +12538,7 @@ function Cd(e, t, n) {
12538
12538
  const f = h[h.length - 1], p = a[i][0], m = a[i][1];
12539
12539
  let A = 0;
12540
12540
  const L = f.children.indexOf(c);
12541
- let x = !1, w = [];
12541
+ let N = !1, w = [];
12542
12542
  p.lastIndex = 0;
12543
12543
  let R = p.exec(c.value);
12544
12544
  for (; R; ) {
@@ -12547,15 +12547,15 @@ function Cd(e, t, n) {
12547
12547
  input: R.input,
12548
12548
  stack: [...h, c]
12549
12549
  };
12550
- let k = m(...R, Y);
12551
- if (typeof k == "string" && (k = k.length > 0 ? { type: "text", value: k } : void 0), k === !1 ? p.lastIndex = z + 1 : (A !== z && w.push({
12550
+ let S = m(...R, Y);
12551
+ if (typeof S == "string" && (S = S.length > 0 ? { type: "text", value: S } : void 0), S === !1 ? p.lastIndex = z + 1 : (A !== z && w.push({
12552
12552
  type: "text",
12553
12553
  value: c.value.slice(A, z)
12554
- }), Array.isArray(k) ? w.push(...k) : k && w.push(k), A = z + R[0].length, x = !0), !p.global)
12554
+ }), Array.isArray(S) ? w.push(...S) : S && w.push(S), A = z + R[0].length, N = !0), !p.global)
12555
12555
  break;
12556
12556
  R = p.exec(c.value);
12557
12557
  }
12558
- return x ? (A < c.value.length && w.push({ type: "text", value: c.value.slice(A) }), f.children.splice(L, 1, ...w)) : w = [c], L + w.length;
12558
+ return N ? (A < c.value.length && w.push({ type: "text", value: c.value.slice(A) }), f.children.splice(L, 1, ...w)) : w = [c], L + w.length;
12559
12559
  }
12560
12560
  }
12561
12561
  function Id(e) {
@@ -12579,7 +12579,7 @@ function Nd(e) {
12579
12579
  };
12580
12580
  }
12581
12581
  const Vn = "phrasing", Wn = ["autolink", "link", "image", "label"];
12582
- function Sd() {
12582
+ function kd() {
12583
12583
  return {
12584
12584
  transforms: [Pd],
12585
12585
  enter: {
@@ -12596,7 +12596,7 @@ function Sd() {
12596
12596
  }
12597
12597
  };
12598
12598
  }
12599
- function kd() {
12599
+ function Sd() {
12600
12600
  return {
12601
12601
  unsafe: [
12602
12602
  {
@@ -12845,59 +12845,59 @@ function rm(e, t) {
12845
12845
  const n = t || {}, r = (n.align || []).concat(), u = n.stringLength || nm, a = [], i = [], o = [], l = [];
12846
12846
  let c = 0, h = -1;
12847
12847
  for (; ++h < e.length; ) {
12848
- const N = [], L = [];
12849
- let x = -1;
12850
- for (e[h].length > c && (c = e[h].length); ++x < e[h].length; ) {
12851
- const w = um(e[h][x]);
12848
+ const I = [], L = [];
12849
+ let N = -1;
12850
+ for (e[h].length > c && (c = e[h].length); ++N < e[h].length; ) {
12851
+ const w = um(e[h][N]);
12852
12852
  if (n.alignDelimiters !== !1) {
12853
12853
  const R = u(w);
12854
- L[x] = R, (l[x] === void 0 || R > l[x]) && (l[x] = R);
12854
+ L[N] = R, (l[N] === void 0 || R > l[N]) && (l[N] = R);
12855
12855
  }
12856
- N.push(w);
12856
+ I.push(w);
12857
12857
  }
12858
- i[h] = N, o[h] = L;
12858
+ i[h] = I, o[h] = L;
12859
12859
  }
12860
12860
  let f = -1;
12861
12861
  if (typeof r == "object" && "length" in r)
12862
12862
  for (; ++f < c; )
12863
12863
  a[f] = Hu(r[f]);
12864
12864
  else {
12865
- const N = Hu(r);
12865
+ const I = Hu(r);
12866
12866
  for (; ++f < c; )
12867
- a[f] = N;
12867
+ a[f] = I;
12868
12868
  }
12869
12869
  f = -1;
12870
12870
  const p = [], m = [];
12871
12871
  for (; ++f < c; ) {
12872
- const N = a[f];
12873
- let L = "", x = "";
12874
- N === 99 ? (L = ":", x = ":") : N === 108 ? L = ":" : N === 114 && (x = ":");
12872
+ const I = a[f];
12873
+ let L = "", N = "";
12874
+ I === 99 ? (L = ":", N = ":") : I === 108 ? L = ":" : I === 114 && (N = ":");
12875
12875
  let w = n.alignDelimiters === !1 ? 1 : Math.max(
12876
12876
  1,
12877
- l[f] - L.length - x.length
12877
+ l[f] - L.length - N.length
12878
12878
  );
12879
- const R = L + "-".repeat(w) + x;
12880
- n.alignDelimiters !== !1 && (w = L.length + w + x.length, w > l[f] && (l[f] = w), m[f] = w), p[f] = R;
12879
+ const R = L + "-".repeat(w) + N;
12880
+ n.alignDelimiters !== !1 && (w = L.length + w + N.length, w > l[f] && (l[f] = w), m[f] = w), p[f] = R;
12881
12881
  }
12882
12882
  i.splice(1, 0, p), o.splice(1, 0, m), h = -1;
12883
12883
  const A = [];
12884
12884
  for (; ++h < i.length; ) {
12885
- const N = i[h], L = o[h];
12885
+ const I = i[h], L = o[h];
12886
12886
  f = -1;
12887
- const x = [];
12887
+ const N = [];
12888
12888
  for (; ++f < c; ) {
12889
- const w = N[f] || "";
12889
+ const w = I[f] || "";
12890
12890
  let R = "", z = "";
12891
12891
  if (n.alignDelimiters !== !1) {
12892
- const Y = l[f] - (L[f] || 0), k = a[f];
12893
- k === 114 ? R = " ".repeat(Y) : k === 99 ? Y % 2 ? (R = " ".repeat(Y / 2 + 0.5), z = " ".repeat(Y / 2 - 0.5)) : (R = " ".repeat(Y / 2), z = R) : z = " ".repeat(Y);
12892
+ const Y = l[f] - (L[f] || 0), S = a[f];
12893
+ S === 114 ? R = " ".repeat(Y) : S === 99 ? Y % 2 ? (R = " ".repeat(Y / 2 + 0.5), z = " ".repeat(Y / 2 - 0.5)) : (R = " ".repeat(Y / 2), z = R) : z = " ".repeat(Y);
12894
12894
  }
12895
- n.delimiterStart !== !1 && !f && x.push("|"), n.padding !== !1 && // Don’t add the opening space if we’re not aligning and the cell is
12895
+ n.delimiterStart !== !1 && !f && N.push("|"), n.padding !== !1 && // Don’t add the opening space if we’re not aligning and the cell is
12896
12896
  // empty: there will be a closing space.
12897
- !(n.alignDelimiters === !1 && w === "") && (n.delimiterStart !== !1 || f) && x.push(" "), n.alignDelimiters !== !1 && x.push(R), x.push(w), n.alignDelimiters !== !1 && x.push(z), n.padding !== !1 && x.push(" "), (n.delimiterEnd !== !1 || f !== c - 1) && x.push("|");
12897
+ !(n.alignDelimiters === !1 && w === "") && (n.delimiterStart !== !1 || f) && N.push(" "), n.alignDelimiters !== !1 && N.push(R), N.push(w), n.alignDelimiters !== !1 && N.push(z), n.padding !== !1 && N.push(" "), (n.delimiterEnd !== !1 || f !== c - 1) && N.push("|");
12898
12898
  }
12899
12899
  A.push(
12900
- n.delimiterEnd === !1 ? x.join("").replace(/ +$/, "") : x.join("")
12900
+ n.delimiterEnd === !1 ? N.join("").replace(/ +$/, "") : N.join("")
12901
12901
  );
12902
12902
  }
12903
12903
  return A.join(`
@@ -13149,15 +13149,15 @@ function Tm(e, t, n, r) {
13149
13149
  });
13150
13150
  return /^[\t ]/.test(c) && (c = vt(c.charCodeAt(0)) + c.slice(1)), c = c ? i + " " + c : i, n.options.closeAtx && (c += " " + i), l(), o(), c;
13151
13151
  }
13152
- Sa.peek = bm;
13153
- function Sa(e) {
13152
+ ka.peek = bm;
13153
+ function ka(e) {
13154
13154
  return e.value || "";
13155
13155
  }
13156
13156
  function bm() {
13157
13157
  return "<";
13158
13158
  }
13159
- ka.peek = gm;
13160
- function ka(e, t, n, r) {
13159
+ Sa.peek = gm;
13160
+ function Sa(e, t, n, r) {
13161
13161
  const u = Rr(n), a = u === '"' ? "Quote" : "Apostrophe", i = n.enter("image");
13162
13162
  let o = n.enter("label");
13163
13163
  const l = n.createTracker(r);
@@ -13346,7 +13346,7 @@ function Pa(e) {
13346
13346
  );
13347
13347
  return t;
13348
13348
  }
13349
- function Sm(e, t, n, r) {
13349
+ function km(e, t, n, r) {
13350
13350
  const u = n.enter("list"), a = n.bulletCurrent;
13351
13351
  let i = e.ordered ? Nm(n) : Dr(n);
13352
13352
  const o = e.ordered ? i === "." ? ")" : "." : xm(n);
@@ -13374,7 +13374,7 @@ function Sm(e, t, n, r) {
13374
13374
  const c = n.containerFlow(e, r);
13375
13375
  return n.bulletLastUsed = i, n.bulletCurrent = a, u(), c;
13376
13376
  }
13377
- function km(e) {
13377
+ function Sm(e) {
13378
13378
  const t = e.options.listItemIndent || "one";
13379
13379
  if (t !== "tab" && t !== "one" && t !== "mixed")
13380
13380
  throw new Error(
@@ -13383,7 +13383,7 @@ function km(e) {
13383
13383
  return t;
13384
13384
  }
13385
13385
  function Om(e, t, n, r) {
13386
- const u = km(n);
13386
+ const u = Sm(n);
13387
13387
  let a = n.bulletCurrent || Dr(n);
13388
13388
  t && t.type === "list" && t.ordered && (a = (typeof t.start == "number" && t.start > -1 ? t.start : 1) + (n.options.incrementListMarker === !1 ? 0 : t.children.indexOf(e)) + a);
13389
13389
  let i = a.length + 1;
@@ -13492,13 +13492,13 @@ const Ma = {
13492
13492
  emphasis: Na,
13493
13493
  hardBreak: vu,
13494
13494
  heading: Tm,
13495
- html: Sa,
13496
- image: ka,
13495
+ html: ka,
13496
+ image: Sa,
13497
13497
  imageReference: Oa,
13498
13498
  inlineCode: ya,
13499
13499
  link: Ra,
13500
13500
  linkReference: Da,
13501
- list: Sm,
13501
+ list: km,
13502
13502
  listItem: Om,
13503
13503
  paragraph: ym,
13504
13504
  root: Rm,
@@ -13586,21 +13586,21 @@ function qm(e) {
13586
13586
  tableRow: o
13587
13587
  }
13588
13588
  };
13589
- function i(m, A, N, L) {
13590
- return c(h(m, N, L), m.align);
13589
+ function i(m, A, I, L) {
13590
+ return c(h(m, I, L), m.align);
13591
13591
  }
13592
- function o(m, A, N, L) {
13593
- const x = f(m, N, L), w = c([x]);
13592
+ function o(m, A, I, L) {
13593
+ const N = f(m, I, L), w = c([N]);
13594
13594
  return w.slice(0, w.indexOf(`
13595
13595
  `));
13596
13596
  }
13597
- function l(m, A, N, L) {
13598
- const x = N.enter("tableCell"), w = N.enter("phrasing"), R = N.containerPhrasing(m, {
13597
+ function l(m, A, I, L) {
13598
+ const N = I.enter("tableCell"), w = I.enter("phrasing"), R = I.containerPhrasing(m, {
13599
13599
  ...L,
13600
13600
  before: a,
13601
13601
  after: a
13602
13602
  });
13603
- return w(), x(), R;
13603
+ return w(), N(), R;
13604
13604
  }
13605
13605
  function c(m, A) {
13606
13606
  return rm(m, {
@@ -13613,25 +13613,25 @@ function qm(e) {
13613
13613
  stringLength: u
13614
13614
  });
13615
13615
  }
13616
- function h(m, A, N) {
13616
+ function h(m, A, I) {
13617
13617
  const L = m.children;
13618
- let x = -1;
13618
+ let N = -1;
13619
13619
  const w = [], R = A.enter("table");
13620
- for (; ++x < L.length; )
13621
- w[x] = f(L[x], A, N);
13620
+ for (; ++N < L.length; )
13621
+ w[N] = f(L[N], A, I);
13622
13622
  return R(), w;
13623
13623
  }
13624
- function f(m, A, N) {
13624
+ function f(m, A, I) {
13625
13625
  const L = m.children;
13626
- let x = -1;
13626
+ let N = -1;
13627
13627
  const w = [], R = A.enter("tableRow");
13628
- for (; ++x < L.length; )
13629
- w[x] = l(L[x], m, A, N);
13628
+ for (; ++N < L.length; )
13629
+ w[N] = l(L[N], m, A, I);
13630
13630
  return R(), w;
13631
13631
  }
13632
- function p(m, A, N) {
13633
- let L = Ma.inlineCode(m, A, N);
13634
- return N.stack.includes("tableCell") && (L = L.replace(/\|/g, "\\$&")), L;
13632
+ function p(m, A, I) {
13633
+ let L = Ma.inlineCode(m, A, I);
13634
+ return I.stack.includes("tableCell") && (L = L.replace(/\|/g, "\\$&")), L;
13635
13635
  }
13636
13636
  }
13637
13637
  function jm() {
@@ -13688,7 +13688,7 @@ function Qm(e, t, n, r) {
13688
13688
  }
13689
13689
  function Gm() {
13690
13690
  return [
13691
- Sd(),
13691
+ kd(),
13692
13692
  Qd(),
13693
13693
  $d(),
13694
13694
  Fm(),
@@ -13698,7 +13698,7 @@ function Gm() {
13698
13698
  function Xm(e) {
13699
13699
  return {
13700
13700
  extensions: [
13701
- kd(),
13701
+ Sd(),
13702
13702
  Gd(e),
13703
13703
  Jd(),
13704
13704
  qm(e),
@@ -14114,8 +14114,8 @@ function b1(e, t, n) {
14114
14114
  return n(A);
14115
14115
  if (A === 93) {
14116
14116
  e.exit("chunkString");
14117
- const N = e.exit("gfmFootnoteDefinitionLabelString");
14118
- return a = Wt(r.sliceSerialize(N)), e.enter("gfmFootnoteDefinitionLabelMarker"), e.consume(A), e.exit("gfmFootnoteDefinitionLabelMarker"), e.exit("gfmFootnoteDefinitionLabel"), p;
14117
+ const I = e.exit("gfmFootnoteDefinitionLabelString");
14118
+ return a = Wt(r.sliceSerialize(I)), e.enter("gfmFootnoteDefinitionLabelMarker"), e.consume(A), e.exit("gfmFootnoteDefinitionLabelMarker"), e.exit("gfmFootnoteDefinitionLabel"), p;
14119
14119
  }
14120
14120
  return J(A) || (o = !0), i++, e.consume(A), A === 92 ? f : h;
14121
14121
  }
@@ -14195,12 +14195,12 @@ function C1(e) {
14195
14195
  return c === 126 && h[h.length - 1][1].type !== "characterEscape" ? l(A) : (i.enter("strikethroughSequenceTemporary"), m(A));
14196
14196
  }
14197
14197
  function m(A) {
14198
- const N = mt(c);
14198
+ const I = mt(c);
14199
14199
  if (A === 126)
14200
14200
  return f > 1 ? l(A) : (i.consume(A), f++, m);
14201
14201
  if (f < 2 && !n) return l(A);
14202
- const L = i.exit("strikethroughSequenceTemporary"), x = mt(A);
14203
- return L._open = !x || x === 2 && !!N, L._close = !N || N === 2 && !!x, o(A);
14202
+ const L = i.exit("strikethroughSequenceTemporary"), N = mt(A);
14203
+ return L._open = !N || N === 2 && !!I, L._close = !I || I === 2 && !!N, o(A);
14204
14204
  }
14205
14205
  }
14206
14206
  }
@@ -14292,22 +14292,22 @@ function N1(e, t) {
14292
14292
  }
14293
14293
  return r;
14294
14294
  }
14295
- function S1() {
14295
+ function k1() {
14296
14296
  return {
14297
14297
  flow: {
14298
14298
  null: {
14299
14299
  name: "table",
14300
- tokenize: k1,
14300
+ tokenize: S1,
14301
14301
  resolveAll: O1
14302
14302
  }
14303
14303
  }
14304
14304
  };
14305
14305
  }
14306
- function k1(e, t, n) {
14306
+ function S1(e, t, n) {
14307
14307
  const r = this;
14308
14308
  let u = 0, a = 0, i;
14309
14309
  return o;
14310
- function o(I) {
14310
+ function o(x) {
14311
14311
  let B = r.events.length - 1;
14312
14312
  for (; B > -1; ) {
14313
14313
  const ne = r.events[B][1].type;
@@ -14315,62 +14315,62 @@ function k1(e, t, n) {
14315
14315
  ne === "linePrefix") B--;
14316
14316
  else break;
14317
14317
  }
14318
- const F = B > -1 ? r.events[B][1].type : null, $ = F === "tableHead" || F === "tableRow" ? k : l;
14319
- return $ === k && r.parser.lazy[r.now().line] ? n(I) : $(I);
14318
+ const F = B > -1 ? r.events[B][1].type : null, $ = F === "tableHead" || F === "tableRow" ? S : l;
14319
+ return $ === S && r.parser.lazy[r.now().line] ? n(x) : $(x);
14320
14320
  }
14321
- function l(I) {
14322
- return e.enter("tableHead"), e.enter("tableRow"), c(I);
14321
+ function l(x) {
14322
+ return e.enter("tableHead"), e.enter("tableRow"), c(x);
14323
14323
  }
14324
- function c(I) {
14325
- return I === 124 || (i = !0, a += 1), h(I);
14324
+ function c(x) {
14325
+ return x === 124 || (i = !0, a += 1), h(x);
14326
14326
  }
14327
- function h(I) {
14328
- return I === null ? n(I) : H(I) ? a > 1 ? (a = 0, r.interrupt = !0, e.exit("tableRow"), e.enter("lineEnding"), e.consume(I), e.exit("lineEnding"), m) : n(I) : j(I) ? W(e, h, "whitespace")(I) : (a += 1, i && (i = !1, u += 1), I === 124 ? (e.enter("tableCellDivider"), e.consume(I), e.exit("tableCellDivider"), i = !0, h) : (e.enter("data"), f(I)));
14327
+ function h(x) {
14328
+ return x === null ? n(x) : H(x) ? a > 1 ? (a = 0, r.interrupt = !0, e.exit("tableRow"), e.enter("lineEnding"), e.consume(x), e.exit("lineEnding"), m) : n(x) : j(x) ? W(e, h, "whitespace")(x) : (a += 1, i && (i = !1, u += 1), x === 124 ? (e.enter("tableCellDivider"), e.consume(x), e.exit("tableCellDivider"), i = !0, h) : (e.enter("data"), f(x)));
14329
14329
  }
14330
- function f(I) {
14331
- return I === null || I === 124 || J(I) ? (e.exit("data"), h(I)) : (e.consume(I), I === 92 ? p : f);
14330
+ function f(x) {
14331
+ return x === null || x === 124 || J(x) ? (e.exit("data"), h(x)) : (e.consume(x), x === 92 ? p : f);
14332
14332
  }
14333
- function p(I) {
14334
- return I === 92 || I === 124 ? (e.consume(I), f) : f(I);
14333
+ function p(x) {
14334
+ return x === 92 || x === 124 ? (e.consume(x), f) : f(x);
14335
14335
  }
14336
- function m(I) {
14337
- return r.interrupt = !1, r.parser.lazy[r.now().line] ? n(I) : (e.enter("tableDelimiterRow"), i = !1, j(I) ? W(e, A, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(I) : A(I));
14336
+ function m(x) {
14337
+ return r.interrupt = !1, r.parser.lazy[r.now().line] ? n(x) : (e.enter("tableDelimiterRow"), i = !1, j(x) ? W(e, A, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(x) : A(x));
14338
14338
  }
14339
- function A(I) {
14340
- return I === 45 || I === 58 ? L(I) : I === 124 ? (i = !0, e.enter("tableCellDivider"), e.consume(I), e.exit("tableCellDivider"), N) : Y(I);
14339
+ function A(x) {
14340
+ return x === 45 || x === 58 ? L(x) : x === 124 ? (i = !0, e.enter("tableCellDivider"), e.consume(x), e.exit("tableCellDivider"), I) : Y(x);
14341
14341
  }
14342
- function N(I) {
14343
- return j(I) ? W(e, L, "whitespace")(I) : L(I);
14342
+ function I(x) {
14343
+ return j(x) ? W(e, L, "whitespace")(x) : L(x);
14344
14344
  }
14345
- function L(I) {
14346
- return I === 58 ? (a += 1, i = !0, e.enter("tableDelimiterMarker"), e.consume(I), e.exit("tableDelimiterMarker"), x) : I === 45 ? (a += 1, x(I)) : I === null || H(I) ? z(I) : Y(I);
14345
+ function L(x) {
14346
+ return x === 58 ? (a += 1, i = !0, e.enter("tableDelimiterMarker"), e.consume(x), e.exit("tableDelimiterMarker"), N) : x === 45 ? (a += 1, N(x)) : x === null || H(x) ? z(x) : Y(x);
14347
14347
  }
14348
- function x(I) {
14349
- return I === 45 ? (e.enter("tableDelimiterFiller"), w(I)) : Y(I);
14348
+ function N(x) {
14349
+ return x === 45 ? (e.enter("tableDelimiterFiller"), w(x)) : Y(x);
14350
14350
  }
14351
- function w(I) {
14352
- return I === 45 ? (e.consume(I), w) : I === 58 ? (i = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(I), e.exit("tableDelimiterMarker"), R) : (e.exit("tableDelimiterFiller"), R(I));
14351
+ function w(x) {
14352
+ return x === 45 ? (e.consume(x), w) : x === 58 ? (i = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(x), e.exit("tableDelimiterMarker"), R) : (e.exit("tableDelimiterFiller"), R(x));
14353
14353
  }
14354
- function R(I) {
14355
- return j(I) ? W(e, z, "whitespace")(I) : z(I);
14354
+ function R(x) {
14355
+ return j(x) ? W(e, z, "whitespace")(x) : z(x);
14356
14356
  }
14357
- function z(I) {
14358
- return I === 124 ? A(I) : I === null || H(I) ? !i || u !== a ? Y(I) : (e.exit("tableDelimiterRow"), e.exit("tableHead"), t(I)) : Y(I);
14357
+ function z(x) {
14358
+ return x === 124 ? A(x) : x === null || H(x) ? !i || u !== a ? Y(x) : (e.exit("tableDelimiterRow"), e.exit("tableHead"), t(x)) : Y(x);
14359
14359
  }
14360
- function Y(I) {
14361
- return n(I);
14360
+ function Y(x) {
14361
+ return n(x);
14362
14362
  }
14363
- function k(I) {
14364
- return e.enter("tableRow"), Q(I);
14363
+ function S(x) {
14364
+ return e.enter("tableRow"), Q(x);
14365
14365
  }
14366
- function Q(I) {
14367
- return I === 124 ? (e.enter("tableCellDivider"), e.consume(I), e.exit("tableCellDivider"), Q) : I === null || H(I) ? (e.exit("tableRow"), t(I)) : j(I) ? W(e, Q, "whitespace")(I) : (e.enter("data"), ee(I));
14366
+ function Q(x) {
14367
+ return x === 124 ? (e.enter("tableCellDivider"), e.consume(x), e.exit("tableCellDivider"), Q) : x === null || H(x) ? (e.exit("tableRow"), t(x)) : j(x) ? W(e, Q, "whitespace")(x) : (e.enter("data"), ee(x));
14368
14368
  }
14369
- function ee(I) {
14370
- return I === null || I === 124 || J(I) ? (e.exit("data"), Q(I)) : (e.consume(I), I === 92 ? X : ee);
14369
+ function ee(x) {
14370
+ return x === null || x === 124 || J(x) ? (e.exit("data"), Q(x)) : (e.consume(x), x === 92 ? X : ee);
14371
14371
  }
14372
- function X(I) {
14373
- return I === 92 || I === 124 ? (e.consume(I), ee) : ee(I);
14372
+ function X(x) {
14373
+ return x === 92 || x === 124 ? (e.consume(x), ee) : ee(x);
14374
14374
  }
14375
14375
  }
14376
14376
  function O1(e, t) {
@@ -14414,8 +14414,8 @@ function Jt(e, t, n, r, u, a) {
14414
14414
  if (e.add(n[2], 0, [["enter", f, t]]), r !== 2) {
14415
14415
  const p = t.events[n[2]], m = t.events[n[3]];
14416
14416
  if (p[1].end = Object.assign({}, m[1].end), p[1].type = "chunkText", p[1].contentType = "text", n[3] > n[2] + 1) {
14417
- const A = n[2] + 1, N = n[3] - n[2] - 1;
14418
- e.add(A, N, []);
14417
+ const A = n[2] + 1, I = n[3] - n[2] - 1;
14418
+ e.add(A, I, []);
14419
14419
  }
14420
14420
  }
14421
14421
  e.add(n[3] + 1, 0, [["exit", f, t]]);
@@ -14475,7 +14475,7 @@ function P1(e) {
14475
14475
  t1(),
14476
14476
  m1(),
14477
14477
  C1(e),
14478
- S1(),
14478
+ k1(),
14479
14479
  L1()
14480
14480
  ]);
14481
14481
  }
@@ -14811,35 +14811,35 @@ function Wa(e, t, n, r) {
14811
14811
  var sp = "[object Arguments]", op = "[object Boolean]", lp = "[object Date]", cp = "[object Error]", fp = "[object Map]", hp = "[object Number]", dp = "[object Object]", mp = "[object RegExp]", pp = "[object Set]", Ep = "[object String]", Tp = "[object URL]", bp = Array.isArray, Ju = typeof ArrayBuffer == "function" && ArrayBuffer.isView ? ArrayBuffer.isView : null, Zu = Object.assign, gp = Object.prototype.toString.call.bind(Object.prototype.toString);
14812
14812
  function Ap(e) {
14813
14813
  var t = e.areArraysEqual, n = e.areDatesEqual, r = e.areErrorsEqual, u = e.areFunctionsEqual, a = e.areMapsEqual, i = e.areNumbersEqual, o = e.areObjectsEqual, l = e.arePrimitiveWrappersEqual, c = e.areRegExpsEqual, h = e.areSetsEqual, f = e.areTypedArraysEqual, p = e.areUrlsEqual;
14814
- return function(A, N, L) {
14815
- if (A === N)
14814
+ return function(A, I, L) {
14815
+ if (A === I)
14816
14816
  return !0;
14817
- if (A == null || N == null)
14817
+ if (A == null || I == null)
14818
14818
  return !1;
14819
- var x = typeof A;
14820
- if (x !== typeof N)
14819
+ var N = typeof A;
14820
+ if (N !== typeof I)
14821
14821
  return !1;
14822
- if (x !== "object")
14823
- return x === "number" ? i(A, N, L) : x === "function" ? u(A, N, L) : !1;
14822
+ if (N !== "object")
14823
+ return N === "number" ? i(A, I, L) : N === "function" ? u(A, I, L) : !1;
14824
14824
  var w = A.constructor;
14825
- if (w !== N.constructor)
14825
+ if (w !== I.constructor)
14826
14826
  return !1;
14827
14827
  if (w === Object)
14828
- return o(A, N, L);
14828
+ return o(A, I, L);
14829
14829
  if (bp(A))
14830
- return t(A, N, L);
14830
+ return t(A, I, L);
14831
14831
  if (Ju != null && Ju(A))
14832
- return f(A, N, L);
14832
+ return f(A, I, L);
14833
14833
  if (w === Date)
14834
- return n(A, N, L);
14834
+ return n(A, I, L);
14835
14835
  if (w === RegExp)
14836
- return c(A, N, L);
14836
+ return c(A, I, L);
14837
14837
  if (w === Map)
14838
- return a(A, N, L);
14838
+ return a(A, I, L);
14839
14839
  if (w === Set)
14840
- return h(A, N, L);
14840
+ return h(A, I, L);
14841
14841
  var R = gp(A);
14842
- return R === lp ? n(A, N, L) : R === mp ? c(A, N, L) : R === fp ? a(A, N, L) : R === pp ? h(A, N, L) : R === dp ? typeof A.then != "function" && typeof N.then != "function" && o(A, N, L) : R === Tp ? p(A, N, L) : R === cp ? r(A, N, L) : R === sp ? o(A, N, L) : R === op || R === hp || R === Ep ? l(A, N, L) : !1;
14842
+ return R === lp ? n(A, I, L) : R === mp ? c(A, I, L) : R === fp ? a(A, I, L) : R === pp ? h(A, I, L) : R === dp ? typeof A.then != "function" && typeof I.then != "function" && o(A, I, L) : R === Tp ? p(A, I, L) : R === cp ? r(A, I, L) : R === sp ? o(A, I, L) : R === op || R === hp || R === Ep ? l(A, I, L) : !1;
14843
14843
  };
14844
14844
  }
14845
14845
  function _p(e) {
@@ -14944,15 +14944,15 @@ const Np = ({
14944
14944
  category: e,
14945
14945
  onRequestClose: t
14946
14946
  }) => {
14947
- const n = Ss(e), [r, u] = et(!1), a = bn(), i = e.collapsible ?? !0, o = e.collapsed ?? !0, l = !!(!i || !o || n), [c, h] = et(l), f = xs(e.link?.id ?? "");
14947
+ const n = ks(e), [r, u] = et(!1), a = bn(), i = e.collapsible ?? !0, o = e.collapsed ?? !0, l = !!(!i || !o || n), [c, h] = et(l), f = xs(e.link?.path ?? "");
14948
14948
  Ye(() => {
14949
14949
  n && h(!0);
14950
14950
  }, [n]);
14951
14951
  const p = i && /* @__PURE__ */ P.jsx(
14952
14952
  Os,
14953
14953
  {
14954
- onClick: (N) => {
14955
- N.preventDefault(), h((L) => !L), u(!0);
14954
+ onClick: (I) => {
14955
+ I.preventDefault(), h((L) => !L), u(!0);
14956
14956
  },
14957
14957
  variant: "ghost",
14958
14958
  size: "icon",
@@ -14992,7 +14992,7 @@ const Np = ({
14992
14992
  lr,
14993
14993
  {
14994
14994
  to: {
14995
- pathname: ii(e.link.id),
14995
+ pathname: ii(e.link.path),
14996
14996
  search: a.search
14997
14997
  },
14998
14998
  className: A,
@@ -15023,13 +15023,13 @@ const Np = ({
15023
15023
  e.items.length === 0 && "hidden",
15024
15024
  "ms-6 my-1"
15025
15025
  ),
15026
- children: /* @__PURE__ */ P.jsx("ul", { className: "relative after:absolute after:-start-(--padding-nav-item) after:translate-x-[1.5px] after:top-0 after:bottom-0 after:w-px after:bg-border", children: e.items.map((N) => /* @__PURE__ */ P.jsx(
15027
- Sp,
15026
+ children: /* @__PURE__ */ P.jsx("ul", { className: "relative after:absolute after:-start-(--padding-nav-item) after:translate-x-[1.5px] after:top-0 after:bottom-0 after:w-px after:bg-border", children: e.items.map((I) => /* @__PURE__ */ P.jsx(
15027
+ kp,
15028
15028
  {
15029
15029
  onRequestClose: t,
15030
- item: N
15030
+ item: I
15031
15031
  },
15032
- ("id" in N ? N.id : "") + ("href" in N ? N.href : "") + N.label
15032
+ I.type + (I.label ?? "") + ("path" in I ? I.path : "") + ("file" in I ? I.file : "") + ("to" in I ? I.to : "")
15033
15033
  )) })
15034
15034
  }
15035
15035
  )
@@ -15037,7 +15037,7 @@ const Np = ({
15037
15037
  }
15038
15038
  );
15039
15039
  }, Qa = ni(Np, xp);
15040
- Qa.displayName = "SidebarCategory";
15040
+ Qa.displayName = "NavigationCategory";
15041
15041
  const ei = ({
15042
15042
  label: e,
15043
15043
  className: t
@@ -15071,7 +15071,7 @@ const ei = ({
15071
15071
  )
15072
15072
  ] }) })
15073
15073
  ] });
15074
- }, Ga = "data-anchor", Sp = ({
15074
+ }, Ga = "data-anchor", kp = ({
15075
15075
  item: e,
15076
15076
  onRequestClose: t
15077
15077
  }) => {
@@ -15083,25 +15083,28 @@ const ei = ({
15083
15083
  return /* @__PURE__ */ P.jsxs(
15084
15084
  lr,
15085
15085
  {
15086
+ viewTransition: !0,
15086
15087
  className: ({ isActive: u, isPending: a }) => tn({ isActive: u, isPending: a }),
15087
- to: ii(e.id),
15088
+ to: ii(e.path),
15088
15089
  onClick: t,
15089
15090
  end: !0,
15090
15091
  children: [
15091
15092
  e.icon && /* @__PURE__ */ P.jsx(e.icon, { size: 16, className: "align-[-0.125em]" }),
15092
15093
  e.badge ? /* @__PURE__ */ P.jsxs(P.Fragment, { children: [
15093
- /* @__PURE__ */ P.jsx(ei, { label: e.label, className: "flex-1" }),
15094
+ e.label && /* @__PURE__ */ P.jsx(ei, { label: e.label, className: "flex-1" }),
15094
15095
  /* @__PURE__ */ P.jsx(Vu, { ...e.badge })
15095
15096
  ] }) : e.label
15096
15097
  ]
15097
15098
  }
15098
15099
  );
15099
15100
  case "link":
15100
- return e.href.startsWith("http") ? /* @__PURE__ */ P.jsxs(
15101
+ case "custom-page": {
15102
+ const u = e.type === "link" ? e.to : e.path;
15103
+ return u.startsWith("http") ? /* @__PURE__ */ P.jsxs(
15101
15104
  "a",
15102
15105
  {
15103
15106
  className: tn(),
15104
- href: e.href,
15107
+ href: u,
15105
15108
  target: "_blank",
15106
15109
  rel: "noopener noreferrer",
15107
15110
  onClick: t,
@@ -15115,26 +15118,27 @@ const ei = ({
15115
15118
  Ka,
15116
15119
  {
15117
15120
  to: {
15118
- pathname: e.href.split("#")[0],
15119
- hash: e.href.split("#")[1],
15121
+ pathname: u.split("#")[0],
15122
+ hash: u.split("#")[1],
15120
15123
  search: n.search
15121
15124
  },
15122
- [Ga]: e.href.split("#")[1],
15125
+ [Ga]: u.split("#")[1],
15123
15126
  className: tn({
15124
- isActive: e.href === [n.pathname, r].join("#")
15127
+ isActive: u === [n.pathname, r].join("#")
15125
15128
  }),
15126
15129
  onClick: t,
15127
15130
  children: [
15128
15131
  e.icon && /* @__PURE__ */ P.jsx(e.icon, { size: 16, className: "align-[-0.125em]" }),
15129
15132
  e.badge ? /* @__PURE__ */ P.jsxs(P.Fragment, { children: [
15130
- /* @__PURE__ */ P.jsx(ei, { label: e.label }),
15133
+ e.label && /* @__PURE__ */ P.jsx(ei, { label: e.label }),
15131
15134
  /* @__PURE__ */ P.jsx(Vu, { ...e.badge })
15132
15135
  ] }) : /* @__PURE__ */ P.jsx("span", { className: "break-all", children: e.label })
15133
15136
  ]
15134
15137
  }
15135
15138
  );
15139
+ }
15136
15140
  }
15137
- }, kp = (e, t = { block: "center" }) => {
15141
+ }, Sp = (e, t = { block: "center" }) => {
15138
15142
  if (!e) return;
15139
15143
  const n = e.getBoundingClientRect();
15140
15144
  n.top >= 0 && n.left >= 0 && n.bottom <= (window.innerHeight || document.documentElement.clientHeight) && n.right <= (window.innerWidth || document.documentElement.clientWidth) || e.scrollIntoView(t);
@@ -15145,7 +15149,7 @@ const ei = ({
15145
15149
  const r = n.replace(/^#/, ""), u = r.split("/").at(0), a = document.getElementById(decodeURIComponent(r)), i = document.querySelector(
15146
15150
  `[${Ga}="${u}"]`
15147
15151
  );
15148
- return a ? (a.scrollIntoView(), kp(i), requestIdleCallback(() => e(u)), !0) : !1;
15152
+ return a ? (a.scrollIntoView(), Sp(i), requestIdleCallback(() => e(u)), !0) : !1;
15149
15153
  },
15150
15154
  [e]
15151
15155
  );
@@ -15233,7 +15237,7 @@ const ei = ({
15233
15237
  children: t,
15234
15238
  id: n,
15235
15239
  className: r,
15236
- registerSidebarAnchor: u
15240
+ registerNavigationAnchor: u
15237
15241
  }) => {
15238
15242
  const a = Rp(e ?? 1), { ref: i } = F1();
15239
15243
  return /* @__PURE__ */ P.jsxs(
@@ -15353,7 +15357,7 @@ const ei = ({
15353
15357
  className: t,
15354
15358
  components: n
15355
15359
  }) => {
15356
- const { syntaxHighlighting: r } = ks().options, u = sn(
15360
+ const { syntaxHighlighting: r } = Ss().options, u = sn(
15357
15361
  () => [
15358
15362
  _d,
15359
15363
  ...bs(r?.themes)
@@ -15380,13 +15384,14 @@ export {
15380
15384
  lt as H,
15381
15385
  Pp as I,
15382
15386
  Bp as M,
15387
+ kp as N,
15383
15388
  eE as P,
15384
15389
  Dp as S,
15385
15390
  Jp as V,
15386
- Sp as a,
15387
- Zp as b,
15388
- wp as c,
15389
- kp as s,
15391
+ Zp as a,
15392
+ wp as b,
15393
+ xp as d,
15394
+ Sp as s,
15390
15395
  wr as u
15391
15396
  };
15392
- //# sourceMappingURL=Markdown-C5j8kKSX.js.map
15397
+ //# sourceMappingURL=Markdown-DCAIYXF5.js.map