reactive-md 0.9.3 → 0.10.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 (299) hide show
  1. package/CHANGELOG-ch.md +34 -0
  2. package/CHANGELOG.md +34 -0
  3. package/README-ch.md +7 -7
  4. package/README-en.md +7 -7
  5. package/README.md +7 -7
  6. package/THIRD_PARTY_NOTICES.md +0 -57
  7. package/cli/help.mjs +6 -4
  8. package/cli/init.mjs +1 -1
  9. package/cli/migrate.mjs +1 -1
  10. package/dist-library/{LocalDocumentView-D6zQkTkt.js → LocalDocumentView-CP2QG86k.js} +46 -44
  11. package/dist-library/{LocalDocumentViewCore-CmJhemcA.js → LocalDocumentViewCore-Cd6yMEkg.js} +284 -265
  12. package/dist-library/{LocalReactiveDocumentCore-lAKOGAZ7.js → LocalReactiveDocumentCore-VuYpZqdn.js} +7 -7
  13. package/dist-library/LocalStaticDocumentView-DfX6bemE.js +147 -0
  14. package/dist-library/authoring-Bwu_zCWs.js +768 -0
  15. package/dist-library/choice-values-BItGjPD2.js +58 -0
  16. package/dist-library/compile-B35rfzKr.js +1742 -0
  17. package/dist-library/{compile-cache-key-6GgpETz_.js → compile-cache-key-D21X2Obx.js} +5 -5
  18. package/dist-library/{compiler-DLkKUK4t.js → compiler-DBwLawMZ.js} +4 -4
  19. package/dist-library/{compiler-core-Niqhp9wV.js → compiler-core-kkDiQ1RK.js} +3146 -2055
  20. package/dist-library/{component-kernel-IG4wOO0i.js → component-kernel-CsJSabHX.js} +42 -26
  21. package/dist-library/{component-state-Ht-hOK0W.js → component-state-Da0G8Ajc.js} +1 -1
  22. package/dist-library/{component-utils-eSj5IdG4.js → component-utils-ZM3jUJNy.js} +80 -79
  23. package/dist-library/conditional-branches-CIhJXasR.js +17 -0
  24. package/dist-library/{config-validation-Cpol91_M.js → config-validation-DbmsWAEV.js} +165 -152
  25. package/dist-library/{controls-B-CLSK8Q.js → controls-DRy5rzzN.js} +271 -228
  26. package/dist-library/{coordinate-PyLPMIQK.js → coordinate-c54pHfgf.js} +29 -29
  27. package/dist-library/data-table-CSAkm1eU.js +290 -0
  28. package/dist-library/data-table-model-DruztQFt.js +391 -0
  29. package/dist-library/{data-visuals-_Z7QqYTk.js → data-visuals-rZQUeQM0.js} +14 -14
  30. package/dist-library/{default-components-jugH7Ubr.js → default-components-B-39etG9.js} +233 -71
  31. package/dist-library/{default-config-DIrRpuQz.js → default-config-CCa8rm2k.js} +236 -216
  32. package/dist-library/default-options-By16CVw1.js +131 -0
  33. package/dist-library/{default-registry-BlloaZi7.js → default-registry-DXJy66xj.js} +3 -3
  34. package/dist-library/{default-schema-Ch-Vznpm.js → default-schema-CeYiEW1K.js} +3 -3
  35. package/dist-library/display-Bb6hAG5T.js +2065 -0
  36. package/dist-library/{document-theme-DBAfnk7y.js → document-theme-CJvN-nC1.js} +190 -3
  37. package/dist-library/{export-heVBqgxA.js → export-BSV4E0jv.js} +105 -106
  38. package/dist-library/font-aliases-CKYjwn4o.js +4 -0
  39. package/dist-library/{gallery-Q6VPS2ep.js → gallery-DM2yTVZJ.js} +1 -1
  40. package/dist-library/{html-CCnvzan1.js → html-CY9mC3Sr.js} +5 -5
  41. package/dist-library/{incremental-Bzvh8_lB.js → incremental-B-wW4H3F.js} +251 -245
  42. package/dist-library/{display-y4v9v0Qd.js → katex-4ukd4ZxT.js} +1555 -3618
  43. package/dist-library/layout-CPQggKxk.js +592 -0
  44. package/dist-library/{layout-BnfDeUNy.js → layout-CaDWsDof.js} +1 -1
  45. package/dist-library/{math-view-B0jthpRw.js → math-view-CyGTS6kv.js} +1 -1
  46. package/dist-library/{mount-preset-C_i37FvY.js → mount-preset-DtrCX4G8.js} +4 -4
  47. package/dist-library/{numeric-sliders-CkWS0-ja.js → numeric-sliders-BmJ1LCLx.js} +190 -190
  48. package/dist-library/{observability-CYLuvFfL.js → observability-BVQ16ByQ.js} +5 -4
  49. package/dist-library/{package-core-9UK5ZdqB.js → package-core-Cu_r_qs7.js} +7 -6
  50. package/dist-library/{parser-9yNJxGip.js → parser-BHl9Lxbw.js} +2 -2
  51. package/dist-library/{parser-standard-BPIy4HOu.js → parser-standard-DDAKv_DZ.js} +247 -247
  52. package/dist-library/{plugin-packs-CZb46nuv.js → plugin-packs-CkI0floL.js} +3 -3
  53. package/dist-library/{preset-core-BW3NWZJ9.js → preset-core-BKPbH_Nv.js} +377 -306
  54. package/dist-library/{props-pJRrfDc6.js → props-0iDqxlTk.js} +56 -61
  55. package/dist-library/{react-BSo0o998.js → react-74jdGBmu.js} +2 -2
  56. package/dist-library/reactive-md-authoring.js +277 -269
  57. package/dist-library/reactive-md-build.js +327 -33
  58. package/dist-library/reactive-md-compiler-session.js +3 -3
  59. package/dist-library/reactive-md-compiler-standard.js +10 -10
  60. package/dist-library/reactive-md-compiler.js +3 -3
  61. package/dist-library/reactive-md-contracts.js +4 -4
  62. package/dist-library/reactive-md-default-packs.js +4 -3
  63. package/dist-library/reactive-md-default-preset.js +3 -3
  64. package/dist-library/reactive-md-export.js +6 -6
  65. package/dist-library/reactive-md-minimal-preset.js +3 -2
  66. package/dist-library/reactive-md-minimal-react-preset.js +18 -17
  67. package/dist-library/reactive-md-minimal.css +1 -1
  68. package/dist-library/reactive-md-observability.js +2 -2
  69. package/dist-library/reactive-md-pack-style-manifest.js +8 -0
  70. package/dist-library/reactive-md-plugin-chart.js +13 -9
  71. package/dist-library/reactive-md-plugin-data.js +4 -4
  72. package/dist-library/reactive-md-plugin-diagram.js +3 -3
  73. package/dist-library/reactive-md-plugin-forms.js +5 -5
  74. package/dist-library/reactive-md-plugin-gallery.js +3 -3
  75. package/dist-library/reactive-md-plugin-navigation.js +10 -10
  76. package/dist-library/reactive-md-plugin-network.js +5 -5
  77. package/dist-library/reactive-md-plugin-plot.js +4 -4
  78. package/dist-library/reactive-md-react-component-accordion.js +3 -3
  79. package/dist-library/reactive-md-react-component-alert.js +3 -3
  80. package/dist-library/reactive-md-react-component-anchor.js +3 -3
  81. package/dist-library/reactive-md-react-component-badge.js +3 -3
  82. package/dist-library/reactive-md-react-component-card.js +3 -3
  83. package/dist-library/reactive-md-react-component-chart.js +2 -2
  84. package/dist-library/reactive-md-react-component-checkbox.js +2 -2
  85. package/dist-library/reactive-md-react-component-checklist.js +2 -2
  86. package/dist-library/reactive-md-react-component-choices.js +2 -2
  87. package/dist-library/reactive-md-react-component-column.js +1 -1
  88. package/dist-library/reactive-md-react-component-coordinate.js +2 -2
  89. package/dist-library/reactive-md-react-component-counter.js +2 -2
  90. package/dist-library/reactive-md-react-component-data-table.js +2 -2
  91. package/dist-library/reactive-md-react-component-date.js +2 -2
  92. package/dist-library/reactive-md-react-component-diagram.js +2 -2
  93. package/dist-library/reactive-md-react-component-disclosure.js +3 -3
  94. package/dist-library/reactive-md-react-component-edge.js +1 -1
  95. package/dist-library/reactive-md-react-component-else.js +10 -0
  96. package/dist-library/reactive-md-react-component-gallery-item.js +2 -2
  97. package/dist-library/reactive-md-react-component-gallery.js +2 -2
  98. package/dist-library/reactive-md-react-component-grid.js +3 -3
  99. package/dist-library/reactive-md-react-component-if.js +3 -3
  100. package/dist-library/reactive-md-react-component-input.js +2 -2
  101. package/dist-library/reactive-md-react-component-jump.js +3 -3
  102. package/dist-library/reactive-md-react-component-multi-select.js +2 -2
  103. package/dist-library/reactive-md-react-component-node.js +2 -2
  104. package/dist-library/reactive-md-react-component-number.js +2 -2
  105. package/dist-library/reactive-md-react-component-option.js +1 -1
  106. package/dist-library/reactive-md-react-component-panel.js +3 -3
  107. package/dist-library/reactive-md-react-component-plot.js +2 -2
  108. package/dist-library/reactive-md-react-component-progress.js +2 -2
  109. package/dist-library/reactive-md-react-component-quiz.js +2 -2
  110. package/dist-library/reactive-md-react-component-radio-group.js +2 -2
  111. package/dist-library/reactive-md-react-component-range-slider.js +2 -2
  112. package/dist-library/reactive-md-react-component-section.js +3 -3
  113. package/dist-library/reactive-md-react-component-select.js +2 -2
  114. package/dist-library/reactive-md-react-component-slider.js +2 -2
  115. package/dist-library/reactive-md-react-component-step.js +3 -3
  116. package/dist-library/reactive-md-react-component-steps.js +3 -3
  117. package/dist-library/reactive-md-react-component-tab.js +3 -3
  118. package/dist-library/reactive-md-react-component-table.js +2 -2
  119. package/dist-library/reactive-md-react-component-tabs.js +3 -3
  120. package/dist-library/reactive-md-react-component-text.js +3 -3
  121. package/dist-library/reactive-md-react-component-textarea.js +2 -2
  122. package/dist-library/reactive-md-react-component-timeline.js +2 -2
  123. package/dist-library/reactive-md-react-component-timer.js +2 -2
  124. package/dist-library/reactive-md-react-component-toggle.js +2 -2
  125. package/dist-library/reactive-md-react-component-tooltip.js +3 -3
  126. package/dist-library/reactive-md-react-component-validation.js +3 -3
  127. package/dist-library/reactive-md-react-minimal.js +4 -4
  128. package/dist-library/reactive-md-react-pack-controls.js +4 -4
  129. package/dist-library/reactive-md-react-pack-data.js +3 -3
  130. package/dist-library/reactive-md-react-pack-layout.js +25 -24
  131. package/dist-library/reactive-md-react-pack-visuals.js +2 -2
  132. package/dist-library/reactive-md-react-packed.js +6 -6
  133. package/dist-library/reactive-md-react-server.js +37 -36
  134. package/dist-library/reactive-md-react-static-server.js +2 -2
  135. package/dist-library/reactive-md-react-static.js +1 -1
  136. package/dist-library/reactive-md-react-unstyled.js +12 -12
  137. package/dist-library/reactive-md-react.js +12 -12
  138. package/dist-library/reactive-md-scan.js +1 -1
  139. package/dist-library/reactive-md-sdk.js +23 -9
  140. package/dist-library/reactive-md-standalone-configured.js +2 -2
  141. package/dist-library/reactive-md-standalone-host.js +2 -2
  142. package/dist-library/reactive-md-testing-browser.js +2 -2
  143. package/dist-library/reactive-md-testing-react.js +6 -6
  144. package/dist-library/reactive-md-testing.js +6 -6
  145. package/dist-library/reactive-md-vite.js +25 -9
  146. package/dist-library/reactive-md-worker-pool.js +3 -3
  147. package/dist-library/reactive-md.css +1 -1
  148. package/dist-library/reactive-md.js +52 -43
  149. package/dist-library/{registry-core-CziAIP5P.js → registry-core-DxEaxhJ6.js} +3 -2
  150. package/dist-library/{render-nodes-DKjg_TR1.js → render-nodes-B6j6Ip5I.js} +766 -731
  151. package/dist-library/{requirements-DhIkxAbl.js → requirements-C56sFIEs.js} +2 -2
  152. package/dist-library/{resources-B_nbROgj.js → resources-6VaNgk-h.js} +2 -2
  153. package/dist-library/rmd-pack-layout.css +9 -0
  154. package/dist-library/rmd-pack-resource-layout.css +9 -0
  155. package/dist-library/runtime-BHeuLOv_.js +1369 -0
  156. package/dist-library/{runtime-requirement-C4-vNcf5.js → runtime-requirement-DzPO8raU.js} +166 -163
  157. package/dist-library/{schema-core-4sd1Vu7V.js → schema-core-CDXfxdID.js} +24 -1
  158. package/dist-library/{sdk-core-BLsW9cCy.js → sdk-core-CnE-n0Z7.js} +469 -314
  159. package/dist-library/{session-core-DLBRPV7f.js → session-core-C071yQwV.js} +140 -127
  160. package/dist-library/{validation-XXlb-spV.js → sha256-utf16-Bmandi_H.js} +392 -315
  161. package/dist-library/shareable-CHCDnl6j.js +844 -0
  162. package/dist-library/types/authoring/catalog.d.ts +3 -1
  163. package/dist-library/types/authoring/index.d.ts +1 -1
  164. package/dist-library/types/components/chart/default-chart-types.d.ts +3 -0
  165. package/dist-library/types/components/chart/default-chart.d.ts +7 -0
  166. package/dist-library/types/components/entries/else.d.ts +3 -0
  167. package/dist-library/types/components/layout/layout.d.ts +5 -0
  168. package/dist-library/types/components/shared/visuals.d.ts +1 -1
  169. package/dist-library/types/components/table/data-table-model.d.ts +95 -2
  170. package/dist-library/types/components/table/data-table.d.ts +2 -2
  171. package/dist-library/types/contracts/component-kernel.d.ts +5 -0
  172. package/dist-library/types/contracts/font-aliases.d.ts +18 -0
  173. package/dist-library/types/contracts/number-literal.d.ts +2 -0
  174. package/dist-library/types/contracts/sha256-utf16.d.ts +2 -0
  175. package/dist-library/types/export/index.d.ts +4 -1
  176. package/dist-library/types/local/compilation/compiler-choices.d.ts +4 -0
  177. package/dist-library/types/local/compilation/compiler-declarations.d.ts +2 -1
  178. package/dist-library/types/local/compilation/compiler-expressions.d.ts +12 -1
  179. package/dist-library/types/local/compilation/compiler-macros.d.ts +18 -0
  180. package/dist-library/types/local/compilation/compiler-structure.d.ts +8 -2
  181. package/dist-library/types/local/compilation/compiler-tables.d.ts +1 -0
  182. package/dist-library/types/local/compilation/compiler-validation.d.ts +11 -0
  183. package/dist-library/types/local/compilation/compiler-values.d.ts +1 -2
  184. package/dist-library/types/local/configuration/diagnostic-messages.d.ts +173 -2
  185. package/dist-library/types/local/configuration/diagnostic-runtime-messages.d.ts +40 -0
  186. package/dist-library/types/local/evaluation/choice-values.d.ts +22 -0
  187. package/dist-library/types/local/evaluation/computations.d.ts +13 -5
  188. package/dist-library/types/local/evaluation/dataset.d.ts +4 -0
  189. package/dist-library/types/local/evaluation/expression/collection-functions.d.ts +13 -0
  190. package/dist-library/types/local/evaluation/expression/compile.d.ts +11 -4
  191. package/dist-library/types/local/evaluation/expression/data-functions.d.ts +23 -0
  192. package/dist-library/types/local/evaluation/expression/evaluation.d.ts +3 -1
  193. package/dist-library/types/local/evaluation/expression/internal-names.d.ts +8 -0
  194. package/dist-library/types/local/evaluation/expression/syntax.d.ts +19 -2
  195. package/dist-library/types/local/evaluation/expression/transform-budget.d.ts +13 -0
  196. package/dist-library/types/local/evaluation/expression/values.d.ts +9 -1
  197. package/dist-library/types/local/evaluation/validation.d.ts +8 -6
  198. package/dist-library/types/local/index.d.ts +4 -3
  199. package/dist-library/types/local/parsing/conditional-branches.d.ts +4 -0
  200. package/dist-library/types/local/parsing/source-revision.d.ts +3 -0
  201. package/dist-library/types/local/runtime/runtime-choices.d.ts +11 -0
  202. package/dist-library/types/local/runtime/runtime.d.ts +3 -1
  203. package/dist-library/types/local/runtime/state.d.ts +30 -15
  204. package/dist-library/types/local/source/authoring-requirements.d.ts +3 -0
  205. package/dist-library/types/local/source/authoring-syntax.d.ts +3 -2
  206. package/dist-library/types/local/source/authoring.d.ts +10 -0
  207. package/dist-library/types/local/source/source-migration.d.ts +1 -0
  208. package/dist-library/types/local/types.d.ts +33 -2
  209. package/dist-library/types/react/component-api.d.ts +21 -2
  210. package/dist-library/types/react/component-utils.d.ts +11 -0
  211. package/dist-library/types/react/font-aliases.d.ts +2 -0
  212. package/dist-library/types/react/package-core.d.ts +3 -0
  213. package/dist-library/types/react/rendering/document/validation-state.d.ts +1 -1
  214. package/dist-library/types/react/rendering/document/view-revision.d.ts +3 -12
  215. package/dist-library/types/react/rendering/table/data-table.d.ts +1 -1
  216. package/dist-library/types/react/sdk-core.d.ts +3 -1
  217. package/dist-library/types/sdk/assembly.d.ts +3 -0
  218. package/dist-library/types/sdk/font.d.ts +13 -0
  219. package/dist-library/types/sdk/index.d.ts +1 -0
  220. package/dist-library/types/sdk/theme.d.ts +5 -0
  221. package/dist-library/types/sdk/types.d.ts +6 -0
  222. package/dist-library/types/sdk/version.d.ts +1 -1
  223. package/dist-library/types/shareable.d.ts +15 -3
  224. package/dist-library/types/standalone/prepare.d.ts +4 -2
  225. package/dist-library/types/standalone/session-core.d.ts +4 -1
  226. package/dist-library/types/vite/index.d.ts +3 -0
  227. package/dist-library/types/vite/registration.d.ts +1 -0
  228. package/dist-library/{types-Bza88SGK.js → types-B4qG8J4S.js} +1 -1
  229. package/dist-library/types-FYhRWRn9.js +3 -0
  230. package/dist-library/use-hydrated-D1gFY2Dq.js +2655 -0
  231. package/dist-library/validation-DRuW0Wl9.js +433 -0
  232. package/dist-library/{version-B0G1699c.js → version-4wzhbvDG.js} +1 -1
  233. package/dist-library/{visual-helpers-CRmaqCHX.js → visual-helpers-UU6xiL8g.js} +3 -3
  234. package/dist-library/visuals-7xzoL9ql.js +49340 -0
  235. package/dist-library/{worker-D6WMV8xJ.js → worker-3ldRjOEG.js} +9 -9
  236. package/dist-standalone/reactive-md-standalone.css +1 -1
  237. package/dist-standalone/reactive-md-standalone.js +128 -368
  238. package/docs/README-ch.md +3 -1
  239. package/docs/README.md +3 -1
  240. package/docs/compatibility/api-stability-ch.md +1 -1
  241. package/docs/compatibility/api-stability-en.md +1 -1
  242. package/docs/compatibility/compatibility-ch.md +15 -15
  243. package/docs/compatibility/compatibility-en.md +15 -15
  244. package/docs/compatibility/compatibility-manifest.schema.json +3 -2
  245. package/docs/compatibility/deprecation-ch.md +2 -2
  246. package/docs/compatibility/deprecation-en.md +2 -2
  247. package/docs/compatibility/source-versioning-ch.md +22 -14
  248. package/docs/compatibility/source-versioning-en.md +22 -13
  249. package/docs/compatibility/support-matrix-ch.md +4 -3
  250. package/docs/compatibility/support-matrix-en.md +4 -3
  251. package/docs/development/component-development-ch.md +2 -2
  252. package/docs/development/component-development-en.md +2 -2
  253. package/docs/development/component-protocol-ch.md +18 -18
  254. package/docs/development/component-protocol-en.md +14 -14
  255. package/docs/guides/local-guide-ch.md +109 -20
  256. package/docs/guides/local-guide-en.md +109 -20
  257. package/docs/integration/author-tools-ch.md +1 -1
  258. package/docs/integration/author-tools-en.md +1 -1
  259. package/docs/integration/editor-ch.md +3 -3
  260. package/docs/integration/editor-en.md +3 -3
  261. package/docs/integration/extension-sdk-ch.md +29 -3
  262. package/docs/integration/extension-sdk-en.md +29 -3
  263. package/docs/integration/local-integration-ch.md +3 -3
  264. package/docs/integration/local-integration-en.md +3 -3
  265. package/docs/integration/pdf-export-ch.md +42 -0
  266. package/docs/integration/pdf-export-en.md +42 -0
  267. package/docs/integration/shareable-export-ch.md +11 -19
  268. package/docs/integration/shareable-export-en.md +11 -19
  269. package/docs/reference/diagnostics-counting-ch.md +24 -1
  270. package/docs/reference/diagnostics-counting-en.md +24 -1
  271. package/docs/reference/local-interaction-syntax-ch.md +222 -33
  272. package/docs/reference/local-interaction-syntax-en.md +220 -31
  273. package/docs/reference/public-api-ch.md +24 -18
  274. package/docs/reference/public-api-en.md +24 -18
  275. package/docs/reference/theme-protocol-ch.md +1 -1
  276. package/docs/reference/theme-protocol-en.md +1 -1
  277. package/docs/releases/release-0.10.0-ch.md +45 -0
  278. package/docs/releases/release-0.10.0-en.md +45 -0
  279. package/examples/conformance/README-ch.md +3 -3
  280. package/examples/conformance/README.md +3 -3
  281. package/examples/conformance/local-draft-4.json +441 -0
  282. package/examples/integration/README-ch.md +3 -3
  283. package/examples/integration/README.md +3 -3
  284. package/examples/integration/chat-session/package.json +1 -1
  285. package/examples/local/README-ch.md +1 -1
  286. package/examples/local/README.md +1 -1
  287. package/package.json +6 -1
  288. package/dist-library/LocalStaticDocumentView-2J7w0sKm.js +0 -143
  289. package/dist-library/authoring-B14SsOXZ.js +0 -893
  290. package/dist-library/compile-D50B5_Ww.js +0 -1249
  291. package/dist-library/computations-CffoW7Ff.js +0 -340
  292. package/dist-library/data-table-Kv_ZA2Z2.js +0 -297
  293. package/dist-library/default-options-DU5dxuU6.js +0 -125
  294. package/dist-library/layout-BfUzzO2b.js +0 -553
  295. package/dist-library/runtime-CuJndKqK.js +0 -1289
  296. package/dist-library/shareable-C6mUerpQ.js +0 -817
  297. package/dist-library/types-daDo2c_w.js +0 -3
  298. package/dist-library/use-hydrated-W-laKPhY.js +0 -22975
  299. package/dist-library/visuals-CoVSjVD8.js +0 -49159
@@ -1,64 +1,64 @@
1
1
  import { f as e, l as t } from "./latex-1w7aQgD5.js";
2
2
  import "./limits-CFERRrlC.js";
3
- import { y as n } from "./document-theme-DBAfnk7y.js";
4
- import { d as r } from "./computations-CffoW7Ff.js";
5
- import { o as i, s as a } from "./schema-core-4sd1Vu7V.js";
6
- import { a as o, d as s, g as c, l, m as u, r as d, s as f, u as p } from "./runtime-requirement-C4-vNcf5.js";
7
- import { i as m, n as h, t as g } from "./html-CCnvzan1.js";
8
- import { c as _, l as v, t as y } from "./sdk-core-BLsW9cCy.js";
9
- import { t as b } from "./math-view-B0jthpRw.js";
10
- import { t as x } from "./table-surface-CfZn_tk-.js";
11
- import { r as S } from "./component-utils-eSj5IdG4.js";
12
- import { t as C } from "./visual-frame-y5RFhJ0_.js";
13
- import { n as w, t as T } from "./localization-COdJ6lw2.js";
14
- import { Component as E, Fragment as D, createContext as O, createElement as k, memo as A, useCallback as j, useContext as M, useEffect as N, useId as P, useMemo as F, useRef as I, useState as L, useSyncExternalStore as R } from "react";
15
- import { Fragment as z, jsx as B, jsxs as V } from "react/jsx-runtime";
16
- import { createPortal as ee } from "react-dom";
3
+ import { y as n } from "./document-theme-CJvN-nC1.js";
4
+ import { S as r, d as i, l as a, u as o } from "./validation-DRuW0Wl9.js";
5
+ import { o as s, s as c } from "./schema-core-CDXfxdID.js";
6
+ import { a as l, d as u, g as d, l as f, m as p, r as m, s as h, u as g } from "./runtime-requirement-DzPO8raU.js";
7
+ import { i as _, n as v, t as y } from "./html-CY9mC3Sr.js";
8
+ import { c as b, d as x, l as S, m as C, t as w } from "./sdk-core-CnE-n0Z7.js";
9
+ import { t as T } from "./math-view-CyGTS6kv.js";
10
+ import { t as E } from "./table-surface-CfZn_tk-.js";
11
+ import { i as D, n as O } from "./component-utils-ZM3jUJNy.js";
12
+ import { t as k } from "./visual-frame-y5RFhJ0_.js";
13
+ import { n as A, t as j } from "./localization-COdJ6lw2.js";
14
+ import { Component as M, Fragment as N, createContext as P, createElement as F, memo as I, useCallback as L, useContext as R, useEffect as z, useId as ee, useMemo as B, useRef as V, useState as H, useSyncExternalStore as te } from "react";
15
+ import { Fragment as ne, jsx as U, jsxs as W } from "react/jsx-runtime";
16
+ import { createPortal as re } from "react-dom";
17
17
  // src/react/localization.tsx
18
- var te = O("en");
19
- function ne({ locale: e = "en", children: t }) {
20
- return /* @__PURE__ */ B(te.Provider, {
18
+ var ie = P("en");
19
+ function ae({ locale: e = "en", children: t }) {
20
+ return /* @__PURE__ */ U(ie.Provider, {
21
21
  value: e,
22
22
  children: t
23
23
  });
24
24
  }
25
- function re() {
26
- return M(te);
25
+ function oe() {
26
+ return R(ie);
27
27
  }
28
- function ie() {
29
- let e = re();
30
- return F(() => (t, n) => w(e, t, n), [e]);
28
+ function se() {
29
+ let e = oe();
30
+ return B(() => (t, n) => A(e, t, n), [e]);
31
31
  }
32
32
  // src/react/rendering/document/view-render-context.tsx
33
- var ae = O(null);
34
- function oe() {
35
- let e = M(ae);
33
+ var ce = P(null);
34
+ function G() {
35
+ let e = R(ce);
36
36
  if (!e) throw Error("LocalViewContext is not initialized");
37
37
  return e;
38
38
  }
39
- function se(e, t) {
39
+ function le(e, t) {
40
40
  return e.attrs?.[t];
41
41
  }
42
- function ce(e) {
42
+ function K(e) {
43
43
  return e === null ? "" : typeof e == "string" ? e : typeof e == "number" ? Number.isFinite(e) ? String(e) : null : typeof e == "boolean" ? e ? "true" : "false" : null;
44
44
  }
45
- function le(e, t, n) {
45
+ function ue(e, t, n) {
46
46
  return (t ?? []).map((t) => {
47
47
  if (t.type === "interpolation") try {
48
- return ce(e.evaluate(t.value ?? "")) ?? n("Cannot compute", "无法计算");
48
+ return K(e.evaluate(t.value ?? "")) ?? n("Cannot compute", "无法计算");
49
49
  } catch {
50
50
  return n("Cannot compute", "无法计算");
51
51
  }
52
- return t.type === "image" ? t.alt ?? "" : t.type === "break" ? " " : t.children?.length ? le(e, t.children, n) : t.value ?? "";
52
+ return t.type === "image" ? t.alt ?? "" : t.type === "break" ? " " : t.children?.length ? ue(e, t.children, n) : t.value ?? "";
53
53
  }).join("");
54
54
  }
55
- function ue(e, t, n, r) {
56
- let i = se(t, n);
55
+ function de(e, t, n, r) {
56
+ let i = le(t, n);
57
57
  if (i === void 0) return {
58
58
  ok: !0,
59
59
  value: r
60
60
  };
61
- let a = be.exec(i);
61
+ let a = we.exec(i);
62
62
  if (!a) return {
63
63
  ok: !0,
64
64
  value: i === "true"
@@ -73,27 +73,27 @@ function ue(e, t, n, r) {
73
73
  return { ok: !1 };
74
74
  }
75
75
  }
76
- function de(e, t, n) {
76
+ function fe(e, t, n) {
77
77
  let r = 0;
78
78
  try {
79
79
  r = e.resetToken(t);
80
80
  } catch {
81
81
  r = 0;
82
82
  }
83
- let i = I(r), a = I(n);
84
- a.current = n, N(() => {
83
+ let i = V(r), a = V(n);
84
+ a.current = n, z(() => {
85
85
  i.current !== r && (i.current = r, a.current());
86
86
  }, [r]);
87
87
  }
88
- function H({ message: e }) {
89
- let t = ie();
90
- return /* @__PURE__ */ B("span", {
88
+ function pe({ message: e }) {
89
+ let t = se();
90
+ return /* @__PURE__ */ U("span", {
91
91
  className: "local-error",
92
92
  role: "alert",
93
93
  children: e ?? t("Cannot compute", "无法计算")
94
94
  });
95
95
  }
96
- var U = class extends E {
96
+ var me = class extends M {
97
97
  state = { failed: !1 };
98
98
  static getDerivedStateFromError() {
99
99
  return { failed: !0 };
@@ -102,10 +102,10 @@ var U = class extends E {
102
102
  this.state.failed && (e.revision !== this.props.revision || !Object.is(e.resetKey, this.props.resetKey)) && this.setState({ failed: !1 });
103
103
  }
104
104
  render() {
105
- return this.state.failed ? this.props.fallback ?? /* @__PURE__ */ B(H, {}) : this.props.children;
105
+ return this.state.failed ? this.props.fallback ?? /* @__PURE__ */ U(pe, {}) : this.props.children;
106
106
  }
107
107
  };
108
- function W(e, t, n) {
108
+ function he(e, t, n) {
109
109
  if (!e) return null;
110
110
  let r = e.trim();
111
111
  if (!r) return null;
@@ -121,7 +121,7 @@ function W(e, t, n) {
121
121
  return null;
122
122
  }
123
123
  }
124
- function fe(e, t, n) {
124
+ function ge(e, t, n) {
125
125
  if (!e) return {};
126
126
  let { start: r, end: i } = t.range;
127
127
  return !Number.isInteger(r) || !Number.isInteger(i) || r < 0 || i < r ? {} : {
@@ -132,10 +132,10 @@ function fe(e, t, n) {
132
132
  ...n ? { "data-rmd-source-component": n } : {}
133
133
  };
134
134
  }
135
- function G(e, t, n) {
136
- return fe("sourceNavigation" in e && e.sourceNavigation !== void 0, t, n);
135
+ function q(e, t, n) {
136
+ return ge("sourceNavigation" in e && e.sourceNavigation !== void 0, t, n);
137
137
  }
138
- function pe(e, t) {
138
+ function _e(e, t) {
139
139
  let n = "";
140
140
  try {
141
141
  n = "runtime" in e ? e.runtime.document.source ?? "" : e.source;
@@ -153,14 +153,14 @@ function pe(e, t) {
153
153
  column: r - a + 1
154
154
  };
155
155
  }
156
- function me(e) {
156
+ function ve(e) {
157
157
  for (let t = e.parentElement; t; t = t.parentElement) {
158
158
  let e = getComputedStyle(t).overflowY;
159
159
  if (e === "auto" || e === "scroll" || e === "overlay") return t;
160
160
  }
161
161
  return null;
162
162
  }
163
- function he(e, t) {
163
+ function ye(e, t) {
164
164
  if (!e) return "missing";
165
165
  let n = null;
166
166
  try {
@@ -180,7 +180,7 @@ function he(e, t) {
180
180
  } catch {
181
181
  r = "auto";
182
182
  }
183
- let i = me(e);
183
+ let i = ve(e);
184
184
  if (i) {
185
185
  let e = getComputedStyle(i), t = Number.parseFloat(e.borderTopWidth) || 0, a = Number.parseFloat(e.scrollPaddingTop) || 0, o = Number.parseFloat(getComputedStyle(n).scrollMarginTop) || 0, s = i.scrollTop + n.getBoundingClientRect().top - i.getBoundingClientRect().top - t - a - o;
186
186
  try {
@@ -201,27 +201,27 @@ function he(e, t) {
201
201
  } catch {}
202
202
  return "ok";
203
203
  }
204
- function ge(e) {
205
- return (e ?? []).map((e) => e.type === "image" ? e.alt ?? "" : e.type === "break" ? " " : e.type === "interpolation" ? e.value ?? "" : e.children?.length ? ge(e.children) : e.value ?? "").join("");
204
+ function be(e) {
205
+ return (e ?? []).map((e) => e.type === "image" ? e.alt ?? "" : e.type === "break" ? " " : e.type === "interpolation" ? e.value ?? "" : e.children?.length ? be(e.children) : e.value ?? "").join("");
206
206
  }
207
- function _e(e, t, n, r, i) {
208
- let a = e.staticRuntime, s = t.attrs?.disabled;
207
+ function xe(e, t, n, r, i) {
208
+ let a = e.staticRuntime, o = t.attrs?.disabled;
209
209
  return {
210
210
  runtime: a,
211
211
  trace: e.trace,
212
- authorStyle: e.componentStyles && Object.hasOwn(e.componentStyles, t.id) ? d(e.componentStyles[t.id]) : void 0,
213
- authorStyleText: e.componentStyles && Object.hasOwn(e.componentStyles, t.id) ? o(e.componentStyles[t.id]) : void 0,
212
+ authorStyle: e.componentStyles && Object.hasOwn(e.componentStyles, t.id) ? m(e.componentStyles[t.id]) : void 0,
213
+ authorStyleText: e.componentStyles && Object.hasOwn(e.componentStyles, t.id) ? l(e.componentStyles[t.id]) : void 0,
214
214
  mode: "static",
215
215
  visible: n,
216
- disabled: s === "true",
216
+ disabled: o === "true",
217
217
  disabledInvalid: !1,
218
218
  resetToken: 0,
219
219
  locale: e.locale,
220
220
  renderChildren: (t, n) => r(e, t ?? [], n),
221
221
  renderInline: (t, n) => i(e, t ?? [], n),
222
- renderToText: (e) => ge(e),
222
+ renderToText: (e) => be(e),
223
223
  report: (t) => e.report?.(t),
224
- positionOf: (t) => pe(e, t),
224
+ positionOf: (t) => _e(e, t),
225
225
  definitionFor: (t) => e.definitions.get(t),
226
226
  validationField: () => ({ invalid: !1 }),
227
227
  validationHint: () => null,
@@ -237,23 +237,23 @@ function _e(e, t, n, r, i) {
237
237
  return !1;
238
238
  }
239
239
  },
240
- jumpTo: (t) => he(e.rootRef.current, t),
240
+ jumpTo: (t) => ye(e.rootRef.current, t),
241
241
  urlPolicy: e.urlPolicy,
242
242
  imageResolver: e.imageResolver
243
243
  };
244
244
  }
245
- function ve(e, t, n, r, i) {
246
- let a = ue(e.runtime, t, "disabled", !1), s = 0;
245
+ function Se(e, t, n, r, i) {
246
+ let a = de(e.runtime, t, "disabled", !1), o = 0;
247
247
  try {
248
- s = e.runtime.resetToken(t);
248
+ o = e.runtime.resetToken(t);
249
249
  } catch {
250
- s = 0;
250
+ o = 0;
251
251
  }
252
252
  return {
253
253
  runtime: e.runtime,
254
254
  trace: e.trace,
255
- authorStyle: e.componentStyles && Object.hasOwn(e.componentStyles, t.id) ? d(e.componentStyles[t.id]) : void 0,
256
- authorStyleText: e.componentStyles && Object.hasOwn(e.componentStyles, t.id) ? o(e.componentStyles[t.id]) : void 0,
255
+ authorStyle: e.componentStyles && Object.hasOwn(e.componentStyles, t.id) ? m(e.componentStyles[t.id]) : void 0,
256
+ authorStyleText: e.componentStyles && Object.hasOwn(e.componentStyles, t.id) ? l(e.componentStyles[t.id]) : void 0,
257
257
  dispatchAuthorAction: e.dispatchAuthorAction && ((n) => e.dispatchAuthorAction(t.id, n)),
258
258
  services: e.runtime.services,
259
259
  network: e.network,
@@ -261,17 +261,17 @@ function ve(e, t, n, r, i) {
261
261
  visible: n,
262
262
  disabled: !a.ok || a.value,
263
263
  disabledInvalid: !a.ok,
264
- resetToken: s,
264
+ resetToken: o,
265
265
  locale: e.locale,
266
266
  renderChildren: (t, n) => r(e, t ?? [], n),
267
267
  renderInline: (t, n) => i(e, t ?? [], n),
268
- renderToText: (t) => le(e.runtime, t, e.t),
268
+ renderToText: (t) => ue(e.runtime, t, e.t),
269
269
  report: (t) => e.report?.(t),
270
- positionOf: (t) => pe(e, t),
270
+ positionOf: (t) => _e(e, t),
271
271
  definitionFor: (t) => e.definitions.get(t),
272
272
  validationField: (t) => e.validation.fieldFor(t),
273
273
  validationHint: (t) => e.validation.hintFor(t),
274
- sourceAttributes: (t, n) => G(e, t, n),
274
+ sourceAttributes: (t, n) => q(e, t, n),
275
275
  targetId: (t) => e.anchors.targetId(t),
276
276
  anchorId: (t) => e.anchors.anchorIds.get(t),
277
277
  jumpAllowed: (t) => {
@@ -283,45 +283,45 @@ function ve(e, t, n, r, i) {
283
283
  return !1;
284
284
  }
285
285
  },
286
- jumpTo: (t) => he(e.rootRef.current, t),
286
+ jumpTo: (t) => ye(e.rootRef.current, t),
287
287
  urlPolicy: e.urlPolicy,
288
288
  imageResolver: e.imageResolver
289
289
  };
290
290
  }
291
- function ye({ node: e, visible: t, renderInlineNodes: n, safeHtmlProps: r }) {
292
- let i = P(), a = oe(), { render: o, mode: s } = a, c = ie(), { summary: l, body: d } = u(e.children ?? []), f = l ? /* @__PURE__ */ B("span", {
291
+ function Ce({ node: e, visible: t, renderInlineNodes: n, safeHtmlProps: r }) {
292
+ let i = ee(), a = G(), { render: o, mode: s } = a, c = se(), { summary: l, body: u } = p(e.children ?? []), d = l ? /* @__PURE__ */ U("span", {
293
293
  ...r(a, l),
294
294
  children: n(a, l.children, t)
295
- }) : c("Details", "折叠内容"), p = e.attrs !== void 0 && Object.hasOwn(e.attrs, "open"), [m, h] = L(p);
296
- de(a.runtime, e, () => h(p));
295
+ }) : c("Details", "折叠内容"), f = e.attrs !== void 0 && Object.hasOwn(e.attrs, "open"), [m, h] = H(f);
296
+ fe(a.runtime, e, () => h(f));
297
297
  let g = c("Accordion", "折叠面板");
298
- if (s === "static") return /* @__PURE__ */ B("div", {
298
+ if (s === "static") return /* @__PURE__ */ U("div", {
299
299
  className: "local-accordion",
300
300
  role: "group",
301
301
  "aria-label": g,
302
- children: /* @__PURE__ */ V("section", {
302
+ children: /* @__PURE__ */ W("section", {
303
303
  className: "local-disclosure local-static-disclosure local-html-details",
304
304
  ...r(a, e),
305
- children: [/* @__PURE__ */ B("h3", {
305
+ children: [/* @__PURE__ */ U("h3", {
306
306
  className: "local-disclosure-heading",
307
- children: f
308
- }), /* @__PURE__ */ B("div", {
307
+ children: d
308
+ }), /* @__PURE__ */ U("div", {
309
309
  className: "local-disclosure-panel",
310
- children: o(d, t)
310
+ children: o(u, t)
311
311
  })]
312
312
  })
313
313
  });
314
314
  let _ = `${i}-html-details-trigger`, v = `${i}-html-details-panel`;
315
- return /* @__PURE__ */ B("div", {
315
+ return /* @__PURE__ */ U("div", {
316
316
  className: "local-accordion",
317
317
  role: "group",
318
318
  "aria-label": g,
319
- children: /* @__PURE__ */ V("div", {
319
+ children: /* @__PURE__ */ W("div", {
320
320
  className: "local-disclosure local-html-details",
321
321
  ...r(a, e),
322
- children: [/* @__PURE__ */ V("h3", {
322
+ children: [/* @__PURE__ */ W("h3", {
323
323
  className: "local-disclosure-heading",
324
- children: [/* @__PURE__ */ V("button", {
324
+ children: [/* @__PURE__ */ W("button", {
325
325
  id: _,
326
326
  type: "button",
327
327
  className: "local-disclosure-trigger",
@@ -329,10 +329,10 @@ function ye({ node: e, visible: t, renderInlineNodes: n, safeHtmlProps: r }) {
329
329
  "aria-expanded": m,
330
330
  "aria-controls": v,
331
331
  onClick: () => h((e) => !e),
332
- children: [/* @__PURE__ */ B("span", {
332
+ children: [/* @__PURE__ */ U("span", {
333
333
  className: "local-disclosure-label",
334
- children: f
335
- }), /* @__PURE__ */ B("svg", {
334
+ children: d
335
+ }), /* @__PURE__ */ U("svg", {
336
336
  className: `local-chevron${m ? " is-open" : ""}`,
337
337
  viewBox: "0 0 24 24",
338
338
  width: "17",
@@ -344,25 +344,25 @@ function ye({ node: e, visible: t, renderInlineNodes: n, safeHtmlProps: r }) {
344
344
  strokeLinejoin: "round",
345
345
  "aria-hidden": "true",
346
346
  focusable: "false",
347
- children: /* @__PURE__ */ B("path", { d: "m6 9 6 6 6-6" })
347
+ children: /* @__PURE__ */ U("path", { d: "m6 9 6 6 6-6" })
348
348
  })]
349
- }), /* @__PURE__ */ B(S, { value: f })]
350
- }), /* @__PURE__ */ B("div", {
349
+ }), /* @__PURE__ */ U(D, { value: d })]
350
+ }), /* @__PURE__ */ U("div", {
351
351
  id: v,
352
352
  className: "local-disclosure-panel",
353
353
  role: "region",
354
354
  "aria-labelledby": _,
355
355
  hidden: !m,
356
- children: /* @__PURE__ */ B("div", {
356
+ children: /* @__PURE__ */ U("div", {
357
357
  className: "local-disclosure-body",
358
- children: o(d, t && m)
358
+ children: o(u, t && m)
359
359
  })
360
360
  })]
361
361
  })
362
362
  });
363
363
  }
364
- var be = /^\s*\{\{([\s\S]*)\}\}\s*$/;
365
- function xe(e, t) {
364
+ var we = /^\s*\{\{([\s\S]*)\}\}\s*$/;
365
+ function Te(e, t) {
366
366
  if (e !== void 0) {
367
367
  if (t.hostRenderer !== void 0) throw Error("reactConfig cannot be combined with hostRenderer.");
368
368
  if (t.hostData !== void 0) throw Error("reactConfig cannot be combined with hostData.");
@@ -370,47 +370,47 @@ function xe(e, t) {
370
370
  }
371
371
  }
372
372
  // src/react/rendering/document/view-revision.ts
373
- function Se(e) {
373
+ function Ee(e) {
374
374
  return Array.isArray(e) ? `a[${e.map((e) => JSON.stringify(e)).join(",")}]` : `${typeof e}:${JSON.stringify(e)}`;
375
375
  }
376
- function Ce(e, t) {
376
+ function De(e, t) {
377
377
  let n = "", r = e.initialState ?? {};
378
- for (let e of Object.keys(r).sort()) n += `${e}=${Se(r[e])}\u0001`;
378
+ for (let e of Object.keys(r).sort()) n += `${e}=${Ee(r[e])}\u0001`;
379
379
  let i = "", a = e.computations ?? {};
380
380
  for (let e of Object.keys(a).sort()) {
381
381
  let t = a[e];
382
- t && (i += `${e}\u0000${t.kind}\u0000${t.source}\u0000${Se(t.value)}\u0002`);
382
+ t && (i += `${e}\u0000${t.kind}\u0000${t.source}\u0000${Ee(t.value)}\u0002`);
383
383
  }
384
- let o = JSON.stringify([...s(e, t)].sort(([e], [t]) => e.localeCompare(t)));
384
+ let o = JSON.stringify([...u(e, t)].sort(([e], [t]) => e.localeCompare(t)));
385
385
  return `${n}\u0003${i}\u0003${o}`;
386
386
  }
387
- function we(e, t) {
388
- let r = [], i = s(e, t);
387
+ function Oe(e, t) {
388
+ let r = [], i = u(e, t);
389
389
  for (let t of n(e.nodes)) {
390
390
  let e = t.type === "component" || t.type === "hostComponent", n = !e && typeof t.attrs?.id == "string", a = e ? i.get(t.name ?? "") : void 0, o = a !== void 0 && typeof t.attrs?.[a] == "string";
391
391
  (t.type === "heading" || n || o) && r.push(t);
392
392
  }
393
393
  return {
394
394
  nodes: r,
395
- metadata: Ce(e, t)
395
+ metadata: De(e, t)
396
396
  };
397
397
  }
398
- function Te(e, t) {
398
+ function ke(e, t) {
399
399
  if (e.metadata !== t.metadata || e.nodes.length !== t.nodes.length) return !1;
400
400
  for (let n = 0; n < e.nodes.length; n += 1) if (e.nodes[n] !== t.nodes[n]) return !1;
401
401
  return !0;
402
402
  }
403
- function Ee(e) {
403
+ function Ae(e) {
404
404
  let t = [];
405
405
  for (let r of n(e.nodes)) (r.type === "footnoteDefinition" || r.type === "footnoteReference") && t.push(r);
406
406
  return { nodes: t };
407
407
  }
408
- function K(e, t) {
408
+ function je(e, t) {
409
409
  if (e.nodes.length !== t.nodes.length) return !1;
410
410
  for (let n = 0; n < e.nodes.length; n += 1) if (e.nodes[n] !== t.nodes[n]) return !1;
411
411
  return !0;
412
412
  }
413
- function De(e) {
413
+ function Me(e) {
414
414
  let t = Array.isArray(e.validations) ? e.validations : [], n = "";
415
415
  for (let e of t) n += `${e.nodeId}\u0000${e.expression}\u0000${e.message}\u0000${(e.fields ?? []).join(",")}\u0001`;
416
416
  n += "";
@@ -420,27 +420,23 @@ function De(e) {
420
420
  }
421
421
  return n;
422
422
  }
423
- function Oe(e, t) {
424
- let n = /* @__PURE__ */ new Map(), r = Array.isArray(e.validations) ? e.validations : [];
425
- for (let e = 0; e < r.length; e += 1) {
426
- let t = r[e].range;
427
- n.set(`${t.start}:${t.end}`, e);
428
- }
429
- return t.map((e) => `${n.get(`${e.range.start}:${e.range.end}`) ?? e.range.start}:${e.code}\u0000${e.message}`).join("");
423
+ function Ne(e, t) {
424
+ let n = Array.isArray(e.validations) ? e.validations : [], r = i(n);
425
+ return t.map((e) => `${a(e) ?? r.get(o(e.range)) ?? e.range.start}:${e.code}\u0000${e.message}`).join("");
430
426
  }
431
- function ke(e, t) {
427
+ function Pe(e, t) {
432
428
  if (e.node !== t.node || e.visible !== t.visible || e.resetToken !== t.resetToken || e.env !== t.env || e.depValues === null || t.depValues === null || e.depValues.length !== t.depValues.length) return !1;
433
429
  for (let n = 0; n < e.depValues.length; n += 1) if (!Object.is(e.depValues[n], t.depValues[n])) return !1;
434
430
  return !0;
435
431
  }
436
- function Ae(e) {
432
+ function Fe(e) {
437
433
  try {
438
434
  return e.snapshot().revision;
439
435
  } catch {
440
436
  return 0;
441
437
  }
442
438
  }
443
- function je(e) {
439
+ function Ie(e) {
444
440
  if (!Array.isArray(e) || e.length === 0) return "";
445
441
  try {
446
442
  return e.map((e) => {
@@ -452,10 +448,10 @@ function je(e) {
452
448
  return "";
453
449
  }
454
450
  }
455
- function Me(e) {
451
+ function Le(e) {
456
452
  return e.map((e) => `${e.code}\u0000${e.range.start}\u0000${e.range.end}\u0000${e.message}`).join("");
457
453
  }
458
- function Ne(...e) {
454
+ function Re(...e) {
459
455
  let t = /* @__PURE__ */ new Set(), n = [];
460
456
  for (let r of e) for (let e of r) {
461
457
  let r = `${e.code}\u0000${e.range.start}\u0000${e.range.end}\u0000${e.message}`;
@@ -463,8 +459,8 @@ function Ne(...e) {
463
459
  }
464
460
  return n;
465
461
  }
466
- function Pe(e, t, n, r) {
467
- let i = I(null), a = i.current;
462
+ function ze(e, t, n, r) {
463
+ let i = V(null), a = i.current;
468
464
  if (!a || a.document !== e) {
469
465
  let o = t(e);
470
466
  a = a && n(a.projection, o) ? {
@@ -479,65 +475,65 @@ function Pe(e, t, n, r) {
479
475
  }
480
476
  return a.value;
481
477
  }
482
- function Fe(e, t) {
483
- let n = I(null), r = n.current;
478
+ function Be(e, t) {
479
+ let n = V(null), r = n.current;
484
480
  if (r || (r = {
485
481
  document: null,
486
482
  installed: null,
487
- index: f,
483
+ index: h,
488
484
  lookup: { get: (e) => n.current?.index.get(e) }
489
485
  }, n.current = r), r.document !== e || r.installed !== t) {
490
486
  let n;
491
487
  try {
492
- n = l(e, t);
488
+ n = f(e, t);
493
489
  } catch {
494
- n = f;
490
+ n = h;
495
491
  }
496
492
  r.index = n, r.document = e, r.installed = t;
497
493
  }
498
494
  return r.lookup;
499
495
  }
500
- function Ie(e) {
496
+ function Ve(e) {
501
497
  let t = {};
502
498
  for (let [n, r] of Object.entries(e)) t[n] = Array.isArray(r) ? r.slice() : r;
503
499
  return t;
504
500
  }
505
- function Le(e, t) {
501
+ function He(e, t) {
506
502
  return Array.isArray(e) || Array.isArray(t) ? !Array.isArray(e) || !Array.isArray(t) || e.length !== t.length ? !1 : e.every((e, n) => e === t[n]) : e === t;
507
503
  }
508
- function Re(e, t) {
504
+ function Ue(e, t) {
509
505
  let n = Object.keys(e), r = Object.keys(t);
510
506
  if (n.length !== r.length) return !1;
511
- for (let r of n) if (!Object.hasOwn(t, r) || !Le(e[r], t[r])) return !1;
507
+ for (let r of n) if (!Object.hasOwn(t, r) || !He(e[r], t[r])) return !1;
512
508
  return !0;
513
509
  }
514
510
  // src/react/rendering/document/use-color-scheme.ts
515
- var ze = "(prefers-color-scheme: dark)";
516
- function Be(e) {
511
+ var We = "(prefers-color-scheme: dark)";
512
+ function Ge(e) {
517
513
  return e === "light" || e === "dark" ? e : null;
518
514
  }
519
- function Ve(e) {
520
- let t = Be(e.getAttribute("data-theme"));
515
+ function Ke(e) {
516
+ let t = Ge(e.getAttribute("data-theme"));
521
517
  if (t) return t;
522
518
  let n = e.parentElement;
523
519
  for (; n;) {
524
- let e = Be(n.getAttribute("data-color-scheme")) ?? Be(n.getAttribute("data-theme"));
520
+ let e = Ge(n.getAttribute("data-color-scheme")) ?? Ge(n.getAttribute("data-theme"));
525
521
  if (e) return e;
526
522
  n = n.parentElement;
527
523
  }
528
524
  return null;
529
525
  }
530
- function He() {
526
+ function qe() {
531
527
  if (typeof window > "u" || typeof window.matchMedia != "function") return null;
532
528
  try {
533
- return window.matchMedia(ze).matches ? "dark" : "light";
529
+ return window.matchMedia(We).matches ? "dark" : "light";
534
530
  } catch {
535
531
  return null;
536
532
  }
537
533
  }
538
- function Ue(e, t) {
539
- let n = Be(t), [r, i] = L("light");
540
- return N(() => {
534
+ function Je(e, t) {
535
+ let n = Ge(t), [r, i] = H("light");
536
+ return z(() => {
541
537
  if (n) {
542
538
  i(n);
543
539
  return;
@@ -547,7 +543,7 @@ function Ue(e, t) {
547
543
  i("light");
548
544
  return;
549
545
  }
550
- let r = () => i(Ve(t) ?? He() ?? "light");
546
+ let r = () => i(Ke(t) ?? qe() ?? "light");
551
547
  r();
552
548
  let a = [];
553
549
  if (typeof MutationObserver == "function") try {
@@ -567,7 +563,7 @@ function Ue(e, t) {
567
563
  }
568
564
  let o = () => r(), s = null;
569
565
  if (typeof window.matchMedia == "function") try {
570
- s = window.matchMedia(ze), typeof s.addEventListener == "function" ? s.addEventListener("change", o) : typeof s.addListener == "function" && s.addListener(o);
566
+ s = window.matchMedia(We), typeof s.addEventListener == "function" ? s.addEventListener("change", o) : typeof s.addListener == "function" && s.addListener(o);
571
567
  } catch {
572
568
  s = null;
573
569
  }
@@ -578,23 +574,23 @@ function Ue(e, t) {
578
574
  }, [n, e]), n ?? r;
579
575
  }
580
576
  // src/react/rendering/table/table-numeric-columns.ts
581
- var We = /^[+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?$/;
582
- function Ge(e) {
577
+ var Ye = /^[+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?$/;
578
+ function Xe(e) {
583
579
  return e === null ? "" : typeof e == "string" ? e : typeof e == "number" ? Number.isFinite(e) ? String(e) : null : typeof e == "boolean" ? e ? "true" : "false" : null;
584
580
  }
585
- function Ke(e, t, n) {
581
+ function Ze(e, t, n) {
586
582
  let r = "";
587
583
  for (let i of e ?? []) if (i.type === "text" || i.type === "inlineCode" || i.type === "code") r += i.value ?? "";
588
584
  else if (i.type === "interpolation") try {
589
- let e = t ? Ge(t.evaluate((i.value ?? "").trim())) : null;
585
+ let e = t ? Xe(t.evaluate((i.value ?? "").trim())) : null;
590
586
  e === null ? n.error = !0 : r += e;
591
587
  } catch {
592
588
  n.error = !0;
593
589
  }
594
- else i.type === "inlineMath" || i.type === "math" ? r += i.value ?? "" : i.type === "image" ? r += i.alt ?? "" : i.children && i.children.length > 0 ? r += Ke(i.children, t, n) : i.value && (r += i.value);
590
+ else i.type === "inlineMath" || i.type === "math" ? r += i.value ?? "" : i.type === "image" ? r += i.alt ?? "" : i.children && i.children.length > 0 ? r += Ze(i.children, t, n) : i.value && (r += i.value);
595
591
  return r;
596
592
  }
597
- function qe(e, t) {
593
+ function Qe(e, t) {
598
594
  let n = e.children ?? [], r = n.filter((e) => !(e.type === "text" && !(e.value ?? "").trim()));
599
595
  if (r.length === 1 && r[0].type === "interpolation") try {
600
596
  let e = t?.evaluate((r[0].value ?? "").trim());
@@ -608,8 +604,8 @@ function qe(e, t) {
608
604
  numeric: null
609
605
  };
610
606
  }
611
- let i = { error: !1 }, a = Ke(n, t, i);
612
- if (r.length > 0 && r.every((e) => e.type === "text") && We.test(a.trim())) {
607
+ let i = { error: !1 }, a = Ze(n, t, i);
608
+ if (r.length > 0 && r.every((e) => e.type === "text") && Ye.test(a.trim())) {
613
609
  let e = Number(a.trim());
614
610
  if (Number.isFinite(e)) return {
615
611
  empty: !1,
@@ -624,12 +620,12 @@ function qe(e, t) {
624
620
  numeric: null
625
621
  };
626
622
  }
627
- function Je(e, t, n = T) {
623
+ function $e(e, t, n = j) {
628
624
  let r = e[0]?.length ?? 0;
629
625
  if (!e.every((e) => e.length === r)) return Array(r).fill(!1);
630
626
  let i = e.map((e) => e.map((e) => {
631
627
  let n = e.children ?? [], r = n.length === 1 && n[0].type === "paragraph" ? n[0].children ?? [] : n;
632
- return qe({
628
+ return Qe({
633
629
  ...e,
634
630
  children: r
635
631
  }, t);
@@ -647,7 +643,7 @@ function Je(e, t, n = T) {
647
643
  });
648
644
  }
649
645
  // node_modules/highlight.js/es/languages/django.js
650
- function Ye(e) {
646
+ function et(e) {
651
647
  let t = {
652
648
  begin: /\|[A-Za-z]+:?/,
653
649
  keywords: { name: "truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone" },
@@ -687,7 +683,7 @@ function Ye(e) {
687
683
  };
688
684
  }
689
685
  // node_modules/highlight.js/es/languages/dockerfile.js
690
- function Xe(e) {
686
+ function tt(e) {
691
687
  return {
692
688
  name: "Dockerfile",
693
689
  aliases: ["docker"],
@@ -719,7 +715,7 @@ function Xe(e) {
719
715
  };
720
716
  }
721
717
  // node_modules/highlight.js/es/languages/latex.js
722
- function Ze(e) {
718
+ function nt(e) {
723
719
  let t = e.regex.either(...[
724
720
  "(?:NeedsTeXFormat|RequirePackage|GetIdInfo)",
725
721
  "Provides(?:Expl)?(?:Package|Class|File)",
@@ -903,7 +899,7 @@ function Ze(e) {
903
899
  };
904
900
  }
905
901
  // node_modules/highlight.js/es/languages/arduino.js
906
- function Qe(e) {
902
+ function rt(e) {
907
903
  let t = e.regex, n = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), r = "[a-zA-Z_]\\w*::", i = "(?!struct)(decltype\\(auto\\)|" + t.optional(r) + "[a-zA-Z_]\\w*" + t.optional("<[^<>]+>") + ")", a = {
908
904
  className: "type",
909
905
  begin: "\\b[a-z\\d_]*_t\\b"
@@ -1125,7 +1121,7 @@ function Qe(e) {
1125
1121
  ])
1126
1122
  };
1127
1123
  }
1128
- function $e(e) {
1124
+ function it(e) {
1129
1125
  let t = {
1130
1126
  type: [
1131
1127
  "boolean",
@@ -1156,11 +1152,11 @@ function $e(e) {
1156
1152
  "HIGH",
1157
1153
  "LOW"
1158
1154
  ]
1159
- }, n = Qe(e), r = n.keywords;
1155
+ }, n = rt(e), r = n.keywords;
1160
1156
  return r.type = [...r.type, ...t.type], r.literal = [...r.literal, ...t.literal], r.built_in = [...r.built_in, ...t.built_in], r._hints = t._hints, n.name = "Arduino", n.aliases = ["ino"], n.supersetOf = "cpp", n;
1161
1157
  }
1162
1158
  // node_modules/highlight.js/es/languages/bash.js
1163
- function et(e) {
1159
+ function at(e) {
1164
1160
  let t = e.regex, n = {}, r = {
1165
1161
  begin: /\$\{/,
1166
1162
  end: /\}/,
@@ -1317,7 +1313,7 @@ function et(e) {
1317
1313
  };
1318
1314
  }
1319
1315
  // node_modules/highlight.js/es/languages/c.js
1320
- function tt(e) {
1316
+ function ot(e) {
1321
1317
  let t = e.regex, n = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), r = "[a-zA-Z_]\\w*::", i = "(decltype\\(auto\\)|" + t.optional(r) + "[a-zA-Z_]\\w*" + t.optional("<[^<>]+>") + ")", a = {
1322
1318
  className: "type",
1323
1319
  variants: [{ begin: "\\b[a-z\\d_]*_t\\b" }, { match: /\batomic_[a-z]{3,6}\b/ }]
@@ -1491,7 +1487,7 @@ function tt(e) {
1491
1487
  };
1492
1488
  }
1493
1489
  // node_modules/highlight.js/es/languages/cpp.js
1494
- function nt(e) {
1490
+ function st(e) {
1495
1491
  let t = e.regex, n = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), r = "[a-zA-Z_]\\w*::", i = "(?!struct)(decltype\\(auto\\)|" + t.optional(r) + "[a-zA-Z_]\\w*" + t.optional("<[^<>]+>") + ")", a = {
1496
1492
  className: "type",
1497
1493
  begin: "\\b[a-z\\d_]*_t\\b"
@@ -1714,7 +1710,7 @@ function nt(e) {
1714
1710
  };
1715
1711
  }
1716
1712
  // node_modules/highlight.js/es/languages/csharp.js
1717
- function rt(e) {
1713
+ function ct(e) {
1718
1714
  let t = [
1719
1715
  "bool",
1720
1716
  "byte",
@@ -1972,7 +1968,7 @@ function rt(e) {
1972
1968
  };
1973
1969
  }
1974
1970
  // node_modules/highlight.js/es/languages/css.js
1975
- var it = (e) => ({
1971
+ var lt = (e) => ({
1976
1972
  IMPORTANT: {
1977
1973
  scope: "meta",
1978
1974
  begin: "!important"
@@ -2006,7 +2002,7 @@ var it = (e) => ({
2006
2002
  className: "attr",
2007
2003
  begin: /--[A-Za-z_][A-Za-z0-9_-]*/
2008
2004
  }
2009
- }), at = /* @__PURE__ */ "a.abbr.address.article.aside.audio.b.blockquote.body.button.canvas.caption.cite.code.dd.del.details.dfn.div.dl.dt.em.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.html.i.iframe.img.input.ins.kbd.label.legend.li.main.mark.menu.nav.object.ol.optgroup.option.p.picture.q.quote.samp.section.select.source.span.strong.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.tr.ul.var.video".split("."), ot = /* @__PURE__ */ "defs.g.marker.mask.pattern.svg.switch.symbol.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feFlood.feGaussianBlur.feImage.feMerge.feMorphology.feOffset.feSpecularLighting.feTile.feTurbulence.linearGradient.radialGradient.stop.circle.ellipse.image.line.path.polygon.polyline.rect.text.use.textPath.tspan.foreignObject.clipPath".split("."), st = [...at, ...ot], ct = (/* @__PURE__ */ "any-hover.any-pointer.aspect-ratio.color.color-gamut.color-index.device-aspect-ratio.device-height.device-width.display-mode.forced-colors.grid.height.hover.inverted-colors.monochrome.orientation.overflow-block.overflow-inline.pointer.prefers-color-scheme.prefers-contrast.prefers-reduced-motion.prefers-reduced-transparency.resolution.scan.scripting.update.width.min-width.max-width.min-height.max-height".split(".")).sort().reverse(), lt = (/* @__PURE__ */ "active.any-link.blank.checked.current.default.defined.dir.disabled.drop.empty.enabled.first.first-child.first-of-type.fullscreen.future.focus.focus-visible.focus-within.has.host.host-context.hover.indeterminate.in-range.invalid.is.lang.last-child.last-of-type.left.link.local-link.not.nth-child.nth-col.nth-last-child.nth-last-col.nth-last-of-type.nth-of-type.only-child.only-of-type.optional.out-of-range.past.placeholder-shown.read-only.read-write.required.right.root.scope.target.target-within.user-invalid.valid.visited.where".split(".")).sort().reverse(), ut = [
2005
+ }), ut = /* @__PURE__ */ "a.abbr.address.article.aside.audio.b.blockquote.body.button.canvas.caption.cite.code.dd.del.details.dfn.div.dl.dt.em.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.html.i.iframe.img.input.ins.kbd.label.legend.li.main.mark.menu.nav.object.ol.optgroup.option.p.picture.q.quote.samp.section.select.source.span.strong.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.tr.ul.var.video".split("."), dt = /* @__PURE__ */ "defs.g.marker.mask.pattern.svg.switch.symbol.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feFlood.feGaussianBlur.feImage.feMerge.feMorphology.feOffset.feSpecularLighting.feTile.feTurbulence.linearGradient.radialGradient.stop.circle.ellipse.image.line.path.polygon.polyline.rect.text.use.textPath.tspan.foreignObject.clipPath".split("."), ft = [...ut, ...dt], pt = (/* @__PURE__ */ "any-hover.any-pointer.aspect-ratio.color.color-gamut.color-index.device-aspect-ratio.device-height.device-width.display-mode.forced-colors.grid.height.hover.inverted-colors.monochrome.orientation.overflow-block.overflow-inline.pointer.prefers-color-scheme.prefers-contrast.prefers-reduced-motion.prefers-reduced-transparency.resolution.scan.scripting.update.width.min-width.max-width.min-height.max-height".split(".")).sort().reverse(), mt = (/* @__PURE__ */ "active.any-link.blank.checked.current.default.defined.dir.disabled.drop.empty.enabled.first.first-child.first-of-type.fullscreen.future.focus.focus-visible.focus-within.has.host.host-context.hover.indeterminate.in-range.invalid.is.lang.last-child.last-of-type.left.link.local-link.not.nth-child.nth-col.nth-last-child.nth-last-col.nth-last-of-type.nth-of-type.only-child.only-of-type.optional.out-of-range.past.placeholder-shown.read-only.read-write.required.right.root.scope.target.target-within.user-invalid.valid.visited.where".split(".")).sort().reverse(), ht = [
2010
2006
  "after",
2011
2007
  "backdrop",
2012
2008
  "before",
@@ -2021,9 +2017,9 @@ var it = (e) => ({
2021
2017
  "selection",
2022
2018
  "slotted",
2023
2019
  "spelling-error"
2024
- ].sort().reverse(), dt = (/* @__PURE__ */ "accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.block-size.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.glyph-orientation-vertical.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.list-style.list-style-image.list-style-position.list-style-type.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.margin-trim.marker.marker-end.marker-mid.marker-start.marks.mask.mask-border.mask-border-mode.mask-border-outset.mask-border-repeat.mask-border-slice.mask-border-source.mask-border-width.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.masonry-auto-flow.math-depth.math-shift.math-style.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.nav-down.nav-index.nav-left.nav-right.nav-up.none.normal.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.unicode-range.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom".split(".")).sort().reverse();
2025
- function ft(e) {
2026
- let t = e.regex, n = it(e), r = { begin: /-(webkit|moz|ms|o)-(?=[a-z])/ }, i = /@-?\w[\w]*(-\w+)*/, a = [e.APOS_STRING_MODE, e.QUOTE_STRING_MODE];
2020
+ ].sort().reverse(), gt = (/* @__PURE__ */ "accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.block-size.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.glyph-orientation-vertical.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.list-style.list-style-image.list-style-position.list-style-type.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.margin-trim.marker.marker-end.marker-mid.marker-start.marks.mask.mask-border.mask-border-mode.mask-border-outset.mask-border-repeat.mask-border-slice.mask-border-source.mask-border-width.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.masonry-auto-flow.math-depth.math-shift.math-style.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.nav-down.nav-index.nav-left.nav-right.nav-up.none.normal.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.unicode-range.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom".split(".")).sort().reverse();
2021
+ function _t(e) {
2022
+ let t = e.regex, n = lt(e), r = { begin: /-(webkit|moz|ms|o)-(?=[a-z])/ }, i = /@-?\w[\w]*(-\w+)*/, a = [e.APOS_STRING_MODE, e.QUOTE_STRING_MODE];
2027
2023
  return {
2028
2024
  name: "CSS",
2029
2025
  case_insensitive: !0,
@@ -2047,12 +2043,12 @@ function ft(e) {
2047
2043
  n.ATTRIBUTE_SELECTOR_MODE,
2048
2044
  {
2049
2045
  className: "selector-pseudo",
2050
- variants: [{ begin: ":(" + lt.join("|") + ")" }, { begin: ":(:)?(" + ut.join("|") + ")" }]
2046
+ variants: [{ begin: ":(" + mt.join("|") + ")" }, { begin: ":(:)?(" + ht.join("|") + ")" }]
2051
2047
  },
2052
2048
  n.CSS_VARIABLE,
2053
2049
  {
2054
2050
  className: "attribute",
2055
- begin: "\\b(" + dt.join("|") + ")\\b"
2051
+ begin: "\\b(" + gt.join("|") + ")\\b"
2056
2052
  },
2057
2053
  {
2058
2054
  begin: /:/,
@@ -2095,7 +2091,7 @@ function ft(e) {
2095
2091
  keywords: {
2096
2092
  $pattern: /[a-z-]+/,
2097
2093
  keyword: "and or not only",
2098
- attribute: ct.join(" ")
2094
+ attribute: pt.join(" ")
2099
2095
  },
2100
2096
  contains: [
2101
2097
  {
@@ -2109,13 +2105,13 @@ function ft(e) {
2109
2105
  },
2110
2106
  {
2111
2107
  className: "selector-tag",
2112
- begin: "\\b(" + st.join("|") + ")\\b"
2108
+ begin: "\\b(" + ft.join("|") + ")\\b"
2113
2109
  }
2114
2110
  ]
2115
2111
  };
2116
2112
  }
2117
2113
  // node_modules/highlight.js/es/languages/diff.js
2118
- function pt(e) {
2114
+ function vt(e) {
2119
2115
  let t = e.regex;
2120
2116
  return {
2121
2117
  name: "Diff",
@@ -2152,7 +2148,7 @@ function pt(e) {
2152
2148
  };
2153
2149
  }
2154
2150
  // node_modules/highlight.js/es/languages/go.js
2155
- function mt(e) {
2151
+ function yt(e) {
2156
2152
  let t = {
2157
2153
  keyword: [
2158
2154
  "break",
@@ -2290,7 +2286,7 @@ function mt(e) {
2290
2286
  };
2291
2287
  }
2292
2288
  // node_modules/highlight.js/es/languages/graphql.js
2293
- function ht(e) {
2289
+ function bt(e) {
2294
2290
  let t = e.regex;
2295
2291
  return {
2296
2292
  name: "GraphQL",
@@ -2355,7 +2351,7 @@ function ht(e) {
2355
2351
  };
2356
2352
  }
2357
2353
  // node_modules/highlight.js/es/languages/ini.js
2358
- function gt(e) {
2354
+ function xt(e) {
2359
2355
  let t = e.regex, n = {
2360
2356
  className: "number",
2361
2357
  relevance: 0,
@@ -2441,26 +2437,26 @@ function gt(e) {
2441
2437
  };
2442
2438
  }
2443
2439
  // node_modules/highlight.js/es/languages/java.js
2444
- var q = "[0-9](_*[0-9])*", _t = `\\.(${q})`, vt = "[0-9a-fA-F](_*[0-9a-fA-F])*", yt = {
2440
+ var St = "[0-9](_*[0-9])*", Ct = `\\.(${St})`, wt = "[0-9a-fA-F](_*[0-9a-fA-F])*", Tt = {
2445
2441
  className: "number",
2446
2442
  variants: [
2447
- { begin: `(\\b(${q})((${_t})|\\.)?|(${_t}))[eE][+-]?(${q})[fFdD]?\\b` },
2448
- { begin: `\\b(${q})((${_t})[fFdD]?\\b|\\.([fFdD]\\b)?)` },
2449
- { begin: `(${_t})[fFdD]?\\b` },
2450
- { begin: `\\b(${q})[fFdD]\\b` },
2451
- { begin: `\\b0[xX]((${vt})\\.?|(${vt})?\\.(${vt}))[pP][+-]?(${q})[fFdD]?\\b` },
2443
+ { begin: `(\\b(${St})((${Ct})|\\.)?|(${Ct}))[eE][+-]?(${St})[fFdD]?\\b` },
2444
+ { begin: `\\b(${St})((${Ct})[fFdD]?\\b|\\.([fFdD]\\b)?)` },
2445
+ { begin: `(${Ct})[fFdD]?\\b` },
2446
+ { begin: `\\b(${St})[fFdD]\\b` },
2447
+ { begin: `\\b0[xX]((${wt})\\.?|(${wt})?\\.(${wt}))[pP][+-]?(${St})[fFdD]?\\b` },
2452
2448
  { begin: "\\b(0|[1-9](_*[0-9])*)[lL]?\\b" },
2453
- { begin: `\\b0[xX](${vt})[lL]?\\b` },
2449
+ { begin: `\\b0[xX](${wt})[lL]?\\b` },
2454
2450
  { begin: "\\b0(_*[0-7])*[lL]?\\b" },
2455
2451
  { begin: "\\b0[bB][01](_*[01])*[lL]?\\b" }
2456
2452
  ],
2457
2453
  relevance: 0
2458
2454
  };
2459
- function bt(e, t, n) {
2460
- return n === -1 ? "" : e.replace(t, (r) => bt(e, t, n - 1));
2455
+ function Et(e, t, n) {
2456
+ return n === -1 ? "" : e.replace(t, (r) => Et(e, t, n - 1));
2461
2457
  }
2462
- function xt(e) {
2463
- let t = e.regex, n = "[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*", r = n + bt("(?:<" + n + "~~~(?:\\s*,\\s*" + n + "~~~)*>)?", /~~~/g, 2), i = {
2458
+ function Dt(e) {
2459
+ let t = e.regex, n = "[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*", r = n + Et("(?:<" + n + "~~~(?:\\s*,\\s*" + n + "~~~)*>)?", /~~~/g, 2), i = {
2464
2460
  keyword: /* @__PURE__ */ "synchronized.abstract.private.var.static.if.const .for.while.strictfp.finally.protected.import.native.final.void.enum.else.break.transient.catch.instanceof.volatile.case.assert.package.default.public.try.switch.continue.throws.protected.public.private.module.requires.exports.do.sealed.yield.permits.goto.when".split("."),
2465
2461
  literal: [
2466
2462
  "false",
@@ -2594,7 +2590,7 @@ function xt(e) {
2594
2590
  a,
2595
2591
  e.APOS_STRING_MODE,
2596
2592
  e.QUOTE_STRING_MODE,
2597
- yt,
2593
+ Tt,
2598
2594
  e.C_BLOCK_COMMENT_MODE
2599
2595
  ]
2600
2596
  },
@@ -2602,20 +2598,20 @@ function xt(e) {
2602
2598
  e.C_BLOCK_COMMENT_MODE
2603
2599
  ]
2604
2600
  },
2605
- yt,
2601
+ Tt,
2606
2602
  a
2607
2603
  ]
2608
2604
  };
2609
2605
  }
2610
2606
  // node_modules/highlight.js/es/languages/javascript.js
2611
- var St = "[A-Za-z$_][0-9A-Za-z$_]*", Ct = /* @__PURE__ */ "as.in.of.if.for.while.finally.var.new.function.do.return.void.else.break.catch.instanceof.with.throw.case.default.try.switch.continue.typeof.delete.let.yield.const.class.debugger.async.await.static.import.from.export.extends.using".split("."), wt = [
2607
+ var Ot = "[A-Za-z$_][0-9A-Za-z$_]*", kt = /* @__PURE__ */ "as.in.of.if.for.while.finally.var.new.function.do.return.void.else.break.catch.instanceof.with.throw.case.default.try.switch.continue.typeof.delete.let.yield.const.class.debugger.async.await.static.import.from.export.extends.using".split("."), At = [
2612
2608
  "true",
2613
2609
  "false",
2614
2610
  "null",
2615
2611
  "undefined",
2616
2612
  "NaN",
2617
2613
  "Infinity"
2618
- ], Tt = /* @__PURE__ */ "Object.Function.Boolean.Symbol.Math.Date.Number.BigInt.String.RegExp.Array.Float32Array.Float64Array.Int8Array.Uint8Array.Uint8ClampedArray.Int16Array.Int32Array.Uint16Array.Uint32Array.BigInt64Array.BigUint64Array.Set.Map.WeakSet.WeakMap.ArrayBuffer.SharedArrayBuffer.Atomics.DataView.JSON.Promise.Generator.GeneratorFunction.AsyncFunction.Reflect.Proxy.Intl.WebAssembly".split("."), Et = [
2614
+ ], jt = /* @__PURE__ */ "Object.Function.Boolean.Symbol.Math.Date.Number.BigInt.String.RegExp.Array.Float32Array.Float64Array.Int8Array.Uint8Array.Uint8ClampedArray.Int16Array.Int32Array.Uint16Array.Uint32Array.BigInt64Array.BigUint64Array.Set.Map.WeakSet.WeakMap.ArrayBuffer.SharedArrayBuffer.Atomics.DataView.JSON.Promise.Generator.GeneratorFunction.AsyncFunction.Reflect.Proxy.Intl.WebAssembly".split("."), Mt = [
2619
2615
  "Error",
2620
2616
  "EvalError",
2621
2617
  "InternalError",
@@ -2624,7 +2620,7 @@ var St = "[A-Za-z$_][0-9A-Za-z$_]*", Ct = /* @__PURE__ */ "as.in.of.if.for.while
2624
2620
  "SyntaxError",
2625
2621
  "TypeError",
2626
2622
  "URIError"
2627
- ], Dt = [
2623
+ ], Nt = [
2628
2624
  "setInterval",
2629
2625
  "setTimeout",
2630
2626
  "clearInterval",
@@ -2642,7 +2638,7 @@ var St = "[A-Za-z$_][0-9A-Za-z$_]*", Ct = /* @__PURE__ */ "as.in.of.if.for.while
2642
2638
  "encodeURIComponent",
2643
2639
  "escape",
2644
2640
  "unescape"
2645
- ], Ot = [
2641
+ ], Pt = [
2646
2642
  "arguments",
2647
2643
  "this",
2648
2644
  "super",
@@ -2653,12 +2649,12 @@ var St = "[A-Za-z$_][0-9A-Za-z$_]*", Ct = /* @__PURE__ */ "as.in.of.if.for.while
2653
2649
  "sessionStorage",
2654
2650
  "module",
2655
2651
  "global"
2656
- ], kt = [].concat(Dt, Tt, Et);
2657
- function At(e) {
2652
+ ], Ft = [].concat(Nt, jt, Mt);
2653
+ function It(e) {
2658
2654
  let t = e.regex, n = (e, { after: t }) => {
2659
2655
  let n = "</" + e[0].slice(1);
2660
2656
  return e.input.indexOf(n, t) !== -1;
2661
- }, r = St, i = {
2657
+ }, r = Ot, i = {
2662
2658
  begin: "<>",
2663
2659
  end: "</>"
2664
2660
  }, a = /<[A-Za-z0-9\\._:-]+\s*\/>/, o = {
@@ -2675,11 +2671,11 @@ function At(e) {
2675
2671
  ((a = o.match(/^\s*=/)) || (a = o.match(/^\s+extends\s+/)) && a.index === 0) && t.ignoreMatch();
2676
2672
  }
2677
2673
  }, s = {
2678
- $pattern: St,
2679
- keyword: Ct,
2680
- literal: wt,
2681
- built_in: kt,
2682
- "variable.language": Ot
2674
+ $pattern: Ot,
2675
+ keyword: kt,
2676
+ literal: At,
2677
+ built_in: Ft,
2678
+ "variable.language": Pt
2683
2679
  }, c = "[0-9](_?[0-9])*", l = `\\.(${c})`, u = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", d = {
2684
2680
  className: "number",
2685
2681
  variants: [
@@ -2826,7 +2822,7 @@ function At(e) {
2826
2822
  relevance: 0,
2827
2823
  match: t.either(/\bJSON/, /\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/, /\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/, /\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),
2828
2824
  className: "title.class",
2829
- keywords: { _: [...Tt, ...Et] }
2825
+ keywords: { _: [...jt, ...Mt] }
2830
2826
  }, w = {
2831
2827
  label: "use_strict",
2832
2828
  className: "meta",
@@ -2856,7 +2852,7 @@ function At(e) {
2856
2852
  }
2857
2853
  let O = {
2858
2854
  match: t.concat(/\b/, D([
2859
- ...Dt,
2855
+ ...Nt,
2860
2856
  "super",
2861
2857
  "import",
2862
2858
  "await"
@@ -3036,12 +3032,12 @@ function At(e) {
3036
3032
  };
3037
3033
  }
3038
3034
  // node_modules/highlight.js/es/languages/json.js
3039
- var jt = {
3035
+ var Lt = {
3040
3036
  scope: "number",
3041
3037
  match: "([-+]?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)|NaN|[-+]?Infinity",
3042
3038
  relevance: 0
3043
3039
  };
3044
- function Mt(e) {
3040
+ function Rt(e) {
3045
3041
  let t = {
3046
3042
  className: "attr",
3047
3043
  begin: /(("(\\.|[^\\"\r\n])*")|('(\\.|[^\\'\r\n])*'))(?=\s*:)/,
@@ -3068,7 +3064,7 @@ function Mt(e) {
3068
3064
  e.APOS_STRING_MODE,
3069
3065
  e.QUOTE_STRING_MODE,
3070
3066
  i,
3071
- jt,
3067
+ Lt,
3072
3068
  e.C_LINE_COMMENT_MODE,
3073
3069
  e.C_BLOCK_COMMENT_MODE
3074
3070
  ],
@@ -3076,22 +3072,22 @@ function Mt(e) {
3076
3072
  };
3077
3073
  }
3078
3074
  // node_modules/highlight.js/es/languages/kotlin.js
3079
- var Nt = "[0-9](_*[0-9])*", Pt = `\\.(${Nt})`, Ft = "[0-9a-fA-F](_*[0-9a-fA-F])*", It = {
3075
+ var zt = "[0-9](_*[0-9])*", Bt = `\\.(${zt})`, Vt = "[0-9a-fA-F](_*[0-9a-fA-F])*", Ht = {
3080
3076
  className: "number",
3081
3077
  variants: [
3082
- { begin: `(\\b(${Nt})((${Pt})|\\.)?|(${Pt}))[eE][+-]?(${Nt})[fFdD]?\\b` },
3083
- { begin: `\\b(${Nt})((${Pt})[fFdD]?\\b|\\.([fFdD]\\b)?)` },
3084
- { begin: `(${Pt})[fFdD]?\\b` },
3085
- { begin: `\\b(${Nt})[fFdD]\\b` },
3086
- { begin: `\\b0[xX]((${Ft})\\.?|(${Ft})?\\.(${Ft}))[pP][+-]?(${Nt})[fFdD]?\\b` },
3078
+ { begin: `(\\b(${zt})((${Bt})|\\.)?|(${Bt}))[eE][+-]?(${zt})[fFdD]?\\b` },
3079
+ { begin: `\\b(${zt})((${Bt})[fFdD]?\\b|\\.([fFdD]\\b)?)` },
3080
+ { begin: `(${Bt})[fFdD]?\\b` },
3081
+ { begin: `\\b(${zt})[fFdD]\\b` },
3082
+ { begin: `\\b0[xX]((${Vt})\\.?|(${Vt})?\\.(${Vt}))[pP][+-]?(${zt})[fFdD]?\\b` },
3087
3083
  { begin: "\\b(0|[1-9](_*[0-9])*)[lL]?\\b" },
3088
- { begin: `\\b0[xX](${Ft})[lL]?\\b` },
3084
+ { begin: `\\b0[xX](${Vt})[lL]?\\b` },
3089
3085
  { begin: "\\b0(_*[0-7])*[lL]?\\b" },
3090
3086
  { begin: "\\b0[bB][01](_*[01])*[lL]?\\b" }
3091
3087
  ],
3092
3088
  relevance: 0
3093
3089
  };
3094
- function Lt(e) {
3090
+ function Ut(e) {
3095
3091
  let t = {
3096
3092
  keyword: "abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",
3097
3093
  built_in: "Byte Short Char Int Long Boolean Float Double Void Unit Nothing",
@@ -3152,7 +3148,7 @@ function Lt(e) {
3152
3148
  end: /\)/,
3153
3149
  contains: [e.inherit(o, { className: "string" }), "self"]
3154
3150
  }]
3155
- }, l = It, u = e.COMMENT("/\\*", "\\*/", { contains: [e.C_BLOCK_COMMENT_MODE] }), d = { variants: [{
3151
+ }, l = Ht, u = e.COMMENT("/\\*", "\\*/", { contains: [e.C_BLOCK_COMMENT_MODE] }), d = { variants: [{
3156
3152
  className: "type",
3157
3153
  begin: e.UNDERSCORE_IDENT_RE
3158
3154
  }, {
@@ -3275,7 +3271,7 @@ function Lt(e) {
3275
3271
  };
3276
3272
  }
3277
3273
  // node_modules/highlight.js/es/languages/less.js
3278
- var Rt = (e) => ({
3274
+ var Wt = (e) => ({
3279
3275
  IMPORTANT: {
3280
3276
  scope: "meta",
3281
3277
  begin: "!important"
@@ -3309,7 +3305,7 @@ var Rt = (e) => ({
3309
3305
  className: "attr",
3310
3306
  begin: /--[A-Za-z_][A-Za-z0-9_-]*/
3311
3307
  }
3312
- }), zt = /* @__PURE__ */ "a.abbr.address.article.aside.audio.b.blockquote.body.button.canvas.caption.cite.code.dd.del.details.dfn.div.dl.dt.em.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.html.i.iframe.img.input.ins.kbd.label.legend.li.main.mark.menu.nav.object.ol.optgroup.option.p.picture.q.quote.samp.section.select.source.span.strong.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.tr.ul.var.video".split("."), Bt = /* @__PURE__ */ "defs.g.marker.mask.pattern.svg.switch.symbol.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feFlood.feGaussianBlur.feImage.feMerge.feMorphology.feOffset.feSpecularLighting.feTile.feTurbulence.linearGradient.radialGradient.stop.circle.ellipse.image.line.path.polygon.polyline.rect.text.use.textPath.tspan.foreignObject.clipPath".split("."), Vt = [...zt, ...Bt], Ht = (/* @__PURE__ */ "any-hover.any-pointer.aspect-ratio.color.color-gamut.color-index.device-aspect-ratio.device-height.device-width.display-mode.forced-colors.grid.height.hover.inverted-colors.monochrome.orientation.overflow-block.overflow-inline.pointer.prefers-color-scheme.prefers-contrast.prefers-reduced-motion.prefers-reduced-transparency.resolution.scan.scripting.update.width.min-width.max-width.min-height.max-height".split(".")).sort().reverse(), Ut = (/* @__PURE__ */ "active.any-link.blank.checked.current.default.defined.dir.disabled.drop.empty.enabled.first.first-child.first-of-type.fullscreen.future.focus.focus-visible.focus-within.has.host.host-context.hover.indeterminate.in-range.invalid.is.lang.last-child.last-of-type.left.link.local-link.not.nth-child.nth-col.nth-last-child.nth-last-col.nth-last-of-type.nth-of-type.only-child.only-of-type.optional.out-of-range.past.placeholder-shown.read-only.read-write.required.right.root.scope.target.target-within.user-invalid.valid.visited.where".split(".")).sort().reverse(), Wt = [
3308
+ }), Gt = /* @__PURE__ */ "a.abbr.address.article.aside.audio.b.blockquote.body.button.canvas.caption.cite.code.dd.del.details.dfn.div.dl.dt.em.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.html.i.iframe.img.input.ins.kbd.label.legend.li.main.mark.menu.nav.object.ol.optgroup.option.p.picture.q.quote.samp.section.select.source.span.strong.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.tr.ul.var.video".split("."), Kt = /* @__PURE__ */ "defs.g.marker.mask.pattern.svg.switch.symbol.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feFlood.feGaussianBlur.feImage.feMerge.feMorphology.feOffset.feSpecularLighting.feTile.feTurbulence.linearGradient.radialGradient.stop.circle.ellipse.image.line.path.polygon.polyline.rect.text.use.textPath.tspan.foreignObject.clipPath".split("."), qt = [...Gt, ...Kt], Jt = (/* @__PURE__ */ "any-hover.any-pointer.aspect-ratio.color.color-gamut.color-index.device-aspect-ratio.device-height.device-width.display-mode.forced-colors.grid.height.hover.inverted-colors.monochrome.orientation.overflow-block.overflow-inline.pointer.prefers-color-scheme.prefers-contrast.prefers-reduced-motion.prefers-reduced-transparency.resolution.scan.scripting.update.width.min-width.max-width.min-height.max-height".split(".")).sort().reverse(), Yt = (/* @__PURE__ */ "active.any-link.blank.checked.current.default.defined.dir.disabled.drop.empty.enabled.first.first-child.first-of-type.fullscreen.future.focus.focus-visible.focus-within.has.host.host-context.hover.indeterminate.in-range.invalid.is.lang.last-child.last-of-type.left.link.local-link.not.nth-child.nth-col.nth-last-child.nth-last-col.nth-last-of-type.nth-of-type.only-child.only-of-type.optional.out-of-range.past.placeholder-shown.read-only.read-write.required.right.root.scope.target.target-within.user-invalid.valid.visited.where".split(".")).sort().reverse(), Xt = [
3313
3309
  "after",
3314
3310
  "backdrop",
3315
3311
  "before",
@@ -3324,9 +3320,9 @@ var Rt = (e) => ({
3324
3320
  "selection",
3325
3321
  "slotted",
3326
3322
  "spelling-error"
3327
- ].sort().reverse(), Gt = (/* @__PURE__ */ "accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.block-size.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.glyph-orientation-vertical.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.list-style.list-style-image.list-style-position.list-style-type.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.margin-trim.marker.marker-end.marker-mid.marker-start.marks.mask.mask-border.mask-border-mode.mask-border-outset.mask-border-repeat.mask-border-slice.mask-border-source.mask-border-width.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.masonry-auto-flow.math-depth.math-shift.math-style.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.nav-down.nav-index.nav-left.nav-right.nav-up.none.normal.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.unicode-range.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom".split(".")).sort().reverse(), Kt = Ut.concat(Wt).sort().reverse();
3328
- function qt(e) {
3329
- let t = Rt(e), n = Kt, r = "([\\w-]+|@\\{[\\w-]+\\})", i = [], a = [], o = function(e) {
3323
+ ].sort().reverse(), Zt = (/* @__PURE__ */ "accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.block-size.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.glyph-orientation-vertical.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.list-style.list-style-image.list-style-position.list-style-type.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.margin-trim.marker.marker-end.marker-mid.marker-start.marks.mask.mask-border.mask-border-mode.mask-border-outset.mask-border-repeat.mask-border-slice.mask-border-source.mask-border-width.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.masonry-auto-flow.math-depth.math-shift.math-style.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.nav-down.nav-index.nav-left.nav-right.nav-up.none.normal.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.unicode-range.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom".split(".")).sort().reverse(), Qt = Yt.concat(Xt).sort().reverse();
3324
+ function $t(e) {
3325
+ let t = Wt(e), n = Qt, r = "([\\w-]+|@\\{[\\w-]+\\})", i = [], a = [], o = function(e) {
3330
3326
  return {
3331
3327
  className: "string",
3332
3328
  begin: "~?" + e + ".*?" + e
@@ -3340,7 +3336,7 @@ function qt(e) {
3340
3336
  }, c = {
3341
3337
  $pattern: /[a-z-]+/,
3342
3338
  keyword: "and or not only",
3343
- attribute: Ht.join(" ")
3339
+ attribute: Jt.join(" ")
3344
3340
  }, l = {
3345
3341
  begin: "\\(",
3346
3342
  end: "\\)",
@@ -3380,7 +3376,7 @@ function qt(e) {
3380
3376
  t.CSS_VARIABLE,
3381
3377
  {
3382
3378
  className: "attribute",
3383
- begin: "\\b(" + Gt.join("|") + ")\\b",
3379
+ begin: "\\b(" + Zt.join("|") + ")\\b",
3384
3380
  end: /(?=:)/,
3385
3381
  starts: {
3386
3382
  endsWithParent: !0,
@@ -3430,7 +3426,7 @@ function qt(e) {
3430
3426
  s("keyword", "all\\b"),
3431
3427
  s("variable", "@\\{[\\w-]+\\}"),
3432
3428
  {
3433
- begin: "\\b(" + Vt.join("|") + ")\\b",
3429
+ begin: "\\b(" + qt.join("|") + ")\\b",
3434
3430
  className: "selector-tag"
3435
3431
  },
3436
3432
  t.CSS_NUMBER_MODE,
@@ -3441,11 +3437,11 @@ function qt(e) {
3441
3437
  t.ATTRIBUTE_SELECTOR_MODE,
3442
3438
  {
3443
3439
  className: "selector-pseudo",
3444
- begin: ":(" + Ut.join("|") + ")"
3440
+ begin: ":(" + Yt.join("|") + ")"
3445
3441
  },
3446
3442
  {
3447
3443
  className: "selector-pseudo",
3448
- begin: ":(:)?(" + Wt.join("|") + ")"
3444
+ begin: ":(:)?(" + Xt.join("|") + ")"
3449
3445
  },
3450
3446
  {
3451
3447
  begin: /\(/,
@@ -3469,7 +3465,7 @@ function qt(e) {
3469
3465
  };
3470
3466
  }
3471
3467
  // node_modules/highlight.js/es/languages/lua.js
3472
- function Jt(e) {
3468
+ function en(e) {
3473
3469
  let t = "\\[=*\\[", n = "\\]=*\\]", r = {
3474
3470
  begin: t,
3475
3471
  end: n,
@@ -3513,7 +3509,7 @@ function Jt(e) {
3513
3509
  };
3514
3510
  }
3515
3511
  // node_modules/highlight.js/es/languages/makefile.js
3516
- function Yt(e) {
3512
+ function tn(e) {
3517
3513
  let t = {
3518
3514
  className: "variable",
3519
3515
  variants: [{
@@ -3568,7 +3564,7 @@ function Yt(e) {
3568
3564
  };
3569
3565
  }
3570
3566
  // node_modules/highlight.js/es/languages/markdown.js
3571
- function Xt(e) {
3567
+ function nn(e) {
3572
3568
  let t = e.regex, n = {
3573
3569
  begin: /<\/?[A-Za-z_]/,
3574
3570
  end: ">",
@@ -3747,7 +3743,7 @@ function Xt(e) {
3747
3743
  };
3748
3744
  }
3749
3745
  // node_modules/highlight.js/es/languages/objectivec.js
3750
- function Zt(e) {
3746
+ function rn(e) {
3751
3747
  let t = {
3752
3748
  className: "built_in",
3753
3749
  begin: "\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"
@@ -3862,7 +3858,7 @@ function Zt(e) {
3862
3858
  };
3863
3859
  }
3864
3860
  // node_modules/highlight.js/es/languages/perl.js
3865
- function Qt(e) {
3861
+ function an(e) {
3866
3862
  let t = e.regex, n = /* @__PURE__ */ "abs.accept.alarm.and.atan2.bind.binmode.bless.break.caller.chdir.chmod.chomp.chop.chown.chr.chroot.class.close.closedir.connect.continue.cos.crypt.dbmclose.dbmopen.defined.delete.die.do.dump.each.else.elsif.endgrent.endhostent.endnetent.endprotoent.endpwent.endservent.eof.eval.exec.exists.exit.exp.fcntl.field.fileno.flock.for.foreach.fork.format.formline.getc.getgrent.getgrgid.getgrnam.gethostbyaddr.gethostbyname.gethostent.getlogin.getnetbyaddr.getnetbyname.getnetent.getpeername.getpgrp.getpriority.getprotobyname.getprotobynumber.getprotoent.getpwent.getpwnam.getpwuid.getservbyname.getservbyport.getservent.getsockname.getsockopt.given.glob.gmtime.goto.grep.gt.hex.if.index.int.ioctl.join.keys.kill.last.lc.lcfirst.length.link.listen.local.localtime.log.lstat.lt.ma.map.method.mkdir.msgctl.msgget.msgrcv.msgsnd.my.ne.next.no.not.oct.open.opendir.or.ord.our.pack.package.pipe.pop.pos.print.printf.prototype.push.q|0.qq.quotemeta.qw.qx.rand.read.readdir.readline.readlink.readpipe.recv.redo.ref.rename.require.reset.return.reverse.rewinddir.rindex.rmdir.say.scalar.seek.seekdir.select.semctl.semget.semop.send.setgrent.sethostent.setnetent.setpgrp.setpriority.setprotoent.setpwent.setservent.setsockopt.shift.shmctl.shmget.shmread.shmwrite.shutdown.sin.sleep.socket.socketpair.sort.splice.split.sprintf.sqrt.srand.stat.state.study.sub.substr.symlink.syscall.sysopen.sysread.sysseek.system.syswrite.tell.telldir.tie.tied.time.times.tr.truncate.uc.ucfirst.umask.undef.unless.unlink.unpack.unshift.untie.until.use.utime.values.vec.wait.waitpid.wantarray.warn.when.while.write.x|0.xor.y|0".split("."), r = /[dualxmsipngr]{0,12}/, i = {
3867
3863
  $pattern: /[\w.]+/,
3868
3864
  keyword: n.join(" ")
@@ -4052,7 +4048,7 @@ function Qt(e) {
4052
4048
  };
4053
4049
  }
4054
4050
  // node_modules/highlight.js/es/languages/php.js
4055
- function $t(e) {
4051
+ function on(e) {
4056
4052
  let t = e.regex, n = /(?![A-Za-z0-9])(?![$])/, r = t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/, n), i = t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/, n), a = t.concat(/[A-Z]+/, n), o = {
4057
4053
  scope: "variable",
4058
4054
  match: "\\$+" + r
@@ -4350,7 +4346,7 @@ function $t(e) {
4350
4346
  };
4351
4347
  }
4352
4348
  // node_modules/highlight.js/es/languages/php-template.js
4353
- function en(e) {
4349
+ function sn(e) {
4354
4350
  return {
4355
4351
  name: "PHP template",
4356
4352
  subLanguage: "xml",
@@ -4391,7 +4387,7 @@ function en(e) {
4391
4387
  };
4392
4388
  }
4393
4389
  // node_modules/highlight.js/es/languages/plaintext.js
4394
- function tn(e) {
4390
+ function cn(e) {
4395
4391
  return {
4396
4392
  name: "Plain text",
4397
4393
  aliases: ["text", "txt"],
@@ -4399,7 +4395,7 @@ function tn(e) {
4399
4395
  };
4400
4396
  }
4401
4397
  // node_modules/highlight.js/es/languages/python.js
4402
- function nn(e) {
4398
+ function ln(e) {
4403
4399
  let t = e.regex, n = /[\p{XID_Start}_]\p{XID_Continue}*/u, r = /* @__PURE__ */ "and.as.assert.async.await.break.case.class.continue.def.del.elif.else.except.finally.for.from.global.if.import.in.is.lambda.match.nonlocal|10.not.or.pass.raise.return.try.while.with.yield".split("."), i = {
4404
4400
  $pattern: /[A-Za-z]\w+|__\w+__/,
4405
4401
  keyword: r,
@@ -4635,7 +4631,7 @@ function nn(e) {
4635
4631
  };
4636
4632
  }
4637
4633
  // node_modules/highlight.js/es/languages/python-repl.js
4638
- function rn(e) {
4634
+ function un(e) {
4639
4635
  return {
4640
4636
  aliases: ["pycon"],
4641
4637
  contains: [{
@@ -4652,7 +4648,7 @@ function rn(e) {
4652
4648
  };
4653
4649
  }
4654
4650
  // node_modules/highlight.js/es/languages/r.js
4655
- function an(e) {
4651
+ function dn(e) {
4656
4652
  let t = e.regex, n = /(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/, r = t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/, /0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/, /(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/), i = /[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/, a = t.either(/[()]/, /[{}]/, /\[\[/, /[[\]]/, /\\/, /,/);
4657
4653
  return {
4658
4654
  name: "R",
@@ -4790,7 +4786,7 @@ function an(e) {
4790
4786
  };
4791
4787
  }
4792
4788
  // node_modules/highlight.js/es/languages/ruby.js
4793
- function on(e) {
4789
+ function fn(e) {
4794
4790
  let t = e.regex, n = "([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)", r = t.either(/\b([A-Z]+[a-z0-9]+)+/, /\b([A-Z]+[a-z0-9]+)+[A-Z]+/), i = t.concat(r, /(::\w+)*/), a = {
4795
4791
  "variable.constant": [
4796
4792
  "__FILE__",
@@ -5050,7 +5046,7 @@ function on(e) {
5050
5046
  };
5051
5047
  }
5052
5048
  // node_modules/highlight.js/es/languages/rust.js
5053
- function sn(e) {
5049
+ function pn(e) {
5054
5050
  let t = e.regex, n = /(r#)?/, r = t.concat(n, e.UNDERSCORE_IDENT_RE), i = t.concat(n, e.IDENT_RE), a = {
5055
5051
  className: "title.function.invoke",
5056
5052
  relevance: 0,
@@ -5217,7 +5213,7 @@ function sn(e) {
5217
5213
  };
5218
5214
  }
5219
5215
  // node_modules/highlight.js/es/languages/scss.js
5220
- var cn = (e) => ({
5216
+ var mn = (e) => ({
5221
5217
  IMPORTANT: {
5222
5218
  scope: "meta",
5223
5219
  begin: "!important"
@@ -5251,7 +5247,7 @@ var cn = (e) => ({
5251
5247
  className: "attr",
5252
5248
  begin: /--[A-Za-z_][A-Za-z0-9_-]*/
5253
5249
  }
5254
- }), ln = /* @__PURE__ */ "a.abbr.address.article.aside.audio.b.blockquote.body.button.canvas.caption.cite.code.dd.del.details.dfn.div.dl.dt.em.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.html.i.iframe.img.input.ins.kbd.label.legend.li.main.mark.menu.nav.object.ol.optgroup.option.p.picture.q.quote.samp.section.select.source.span.strong.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.tr.ul.var.video".split("."), un = /* @__PURE__ */ "defs.g.marker.mask.pattern.svg.switch.symbol.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feFlood.feGaussianBlur.feImage.feMerge.feMorphology.feOffset.feSpecularLighting.feTile.feTurbulence.linearGradient.radialGradient.stop.circle.ellipse.image.line.path.polygon.polyline.rect.text.use.textPath.tspan.foreignObject.clipPath".split("."), dn = [...ln, ...un], fn = (/* @__PURE__ */ "any-hover.any-pointer.aspect-ratio.color.color-gamut.color-index.device-aspect-ratio.device-height.device-width.display-mode.forced-colors.grid.height.hover.inverted-colors.monochrome.orientation.overflow-block.overflow-inline.pointer.prefers-color-scheme.prefers-contrast.prefers-reduced-motion.prefers-reduced-transparency.resolution.scan.scripting.update.width.min-width.max-width.min-height.max-height".split(".")).sort().reverse(), pn = (/* @__PURE__ */ "active.any-link.blank.checked.current.default.defined.dir.disabled.drop.empty.enabled.first.first-child.first-of-type.fullscreen.future.focus.focus-visible.focus-within.has.host.host-context.hover.indeterminate.in-range.invalid.is.lang.last-child.last-of-type.left.link.local-link.not.nth-child.nth-col.nth-last-child.nth-last-col.nth-last-of-type.nth-of-type.only-child.only-of-type.optional.out-of-range.past.placeholder-shown.read-only.read-write.required.right.root.scope.target.target-within.user-invalid.valid.visited.where".split(".")).sort().reverse(), mn = [
5250
+ }), hn = /* @__PURE__ */ "a.abbr.address.article.aside.audio.b.blockquote.body.button.canvas.caption.cite.code.dd.del.details.dfn.div.dl.dt.em.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.html.i.iframe.img.input.ins.kbd.label.legend.li.main.mark.menu.nav.object.ol.optgroup.option.p.picture.q.quote.samp.section.select.source.span.strong.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.tr.ul.var.video".split("."), gn = /* @__PURE__ */ "defs.g.marker.mask.pattern.svg.switch.symbol.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feFlood.feGaussianBlur.feImage.feMerge.feMorphology.feOffset.feSpecularLighting.feTile.feTurbulence.linearGradient.radialGradient.stop.circle.ellipse.image.line.path.polygon.polyline.rect.text.use.textPath.tspan.foreignObject.clipPath".split("."), _n = [...hn, ...gn], vn = (/* @__PURE__ */ "any-hover.any-pointer.aspect-ratio.color.color-gamut.color-index.device-aspect-ratio.device-height.device-width.display-mode.forced-colors.grid.height.hover.inverted-colors.monochrome.orientation.overflow-block.overflow-inline.pointer.prefers-color-scheme.prefers-contrast.prefers-reduced-motion.prefers-reduced-transparency.resolution.scan.scripting.update.width.min-width.max-width.min-height.max-height".split(".")).sort().reverse(), yn = (/* @__PURE__ */ "active.any-link.blank.checked.current.default.defined.dir.disabled.drop.empty.enabled.first.first-child.first-of-type.fullscreen.future.focus.focus-visible.focus-within.has.host.host-context.hover.indeterminate.in-range.invalid.is.lang.last-child.last-of-type.left.link.local-link.not.nth-child.nth-col.nth-last-child.nth-last-col.nth-last-of-type.nth-of-type.only-child.only-of-type.optional.out-of-range.past.placeholder-shown.read-only.read-write.required.right.root.scope.target.target-within.user-invalid.valid.visited.where".split(".")).sort().reverse(), bn = [
5255
5251
  "after",
5256
5252
  "backdrop",
5257
5253
  "before",
@@ -5266,9 +5262,9 @@ var cn = (e) => ({
5266
5262
  "selection",
5267
5263
  "slotted",
5268
5264
  "spelling-error"
5269
- ].sort().reverse(), hn = (/* @__PURE__ */ "accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.block-size.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.glyph-orientation-vertical.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.list-style.list-style-image.list-style-position.list-style-type.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.margin-trim.marker.marker-end.marker-mid.marker-start.marks.mask.mask-border.mask-border-mode.mask-border-outset.mask-border-repeat.mask-border-slice.mask-border-source.mask-border-width.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.masonry-auto-flow.math-depth.math-shift.math-style.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.nav-down.nav-index.nav-left.nav-right.nav-up.none.normal.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.unicode-range.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom".split(".")).sort().reverse();
5270
- function gn(e) {
5271
- let t = cn(e), n = mn, r = pn, i = "@[a-z-]+", a = {
5265
+ ].sort().reverse(), xn = (/* @__PURE__ */ "accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.block-size.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.glyph-orientation-vertical.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.list-style.list-style-image.list-style-position.list-style-type.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.margin-trim.marker.marker-end.marker-mid.marker-start.marks.mask.mask-border.mask-border-mode.mask-border-outset.mask-border-repeat.mask-border-slice.mask-border-source.mask-border-width.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.masonry-auto-flow.math-depth.math-shift.math-style.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.nav-down.nav-index.nav-left.nav-right.nav-up.none.normal.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.unicode-range.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom".split(".")).sort().reverse();
5266
+ function Sn(e) {
5267
+ let t = mn(e), n = bn, r = yn, i = "@[a-z-]+", a = {
5272
5268
  className: "variable",
5273
5269
  begin: "(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b",
5274
5270
  relevance: 0
@@ -5294,7 +5290,7 @@ function gn(e) {
5294
5290
  t.ATTRIBUTE_SELECTOR_MODE,
5295
5291
  {
5296
5292
  className: "selector-tag",
5297
- begin: "\\b(" + dn.join("|") + ")\\b",
5293
+ begin: "\\b(" + _n.join("|") + ")\\b",
5298
5294
  relevance: 0
5299
5295
  },
5300
5296
  {
@@ -5314,7 +5310,7 @@ function gn(e) {
5314
5310
  t.CSS_VARIABLE,
5315
5311
  {
5316
5312
  className: "attribute",
5317
- begin: "\\b(" + hn.join("|") + ")\\b"
5313
+ begin: "\\b(" + xn.join("|") + ")\\b"
5318
5314
  },
5319
5315
  { begin: "\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b" },
5320
5316
  {
@@ -5347,7 +5343,7 @@ function gn(e) {
5347
5343
  keywords: {
5348
5344
  $pattern: /[a-z-]+/,
5349
5345
  keyword: "and or not only",
5350
- attribute: fn.join(" ")
5346
+ attribute: vn.join(" ")
5351
5347
  },
5352
5348
  contains: [
5353
5349
  {
@@ -5370,7 +5366,7 @@ function gn(e) {
5370
5366
  };
5371
5367
  }
5372
5368
  // node_modules/highlight.js/es/languages/shell.js
5373
- function _n(e) {
5369
+ function Cn(e) {
5374
5370
  return {
5375
5371
  name: "Shell Session",
5376
5372
  aliases: ["console", "shellsession"],
@@ -5385,7 +5381,7 @@ function _n(e) {
5385
5381
  };
5386
5382
  }
5387
5383
  // node_modules/highlight.js/es/languages/sql.js
5388
- function vn(e) {
5384
+ function wn(e) {
5389
5385
  let t = e.regex, n = e.COMMENT("--", "$"), r = {
5390
5386
  scope: "string",
5391
5387
  variants: [{
@@ -5501,23 +5497,23 @@ function vn(e) {
5501
5497
  };
5502
5498
  }
5503
5499
  // node_modules/highlight.js/es/languages/swift.js
5504
- function yn(e) {
5500
+ function Tn(e) {
5505
5501
  return e ? typeof e == "string" ? e : e.source : null;
5506
5502
  }
5507
- function bn(e) {
5503
+ function En(e) {
5508
5504
  return J("(?=", e, ")");
5509
5505
  }
5510
5506
  function J(...e) {
5511
- return e.map((e) => yn(e)).join("");
5507
+ return e.map((e) => Tn(e)).join("");
5512
5508
  }
5513
- function xn(e) {
5509
+ function Dn(e) {
5514
5510
  let t = e[e.length - 1];
5515
5511
  return typeof t == "object" && t.constructor === Object ? (e.splice(e.length - 1, 1), t) : {};
5516
5512
  }
5517
5513
  function Y(...e) {
5518
- return "(" + (xn(e).capture ? "" : "?:") + e.map((e) => yn(e)).join("|") + ")";
5514
+ return "(" + (Dn(e).capture ? "" : "?:") + e.map((e) => Tn(e)).join("|") + ")";
5519
5515
  }
5520
- var Sn = (e) => J(/\b/, e, /\w$/.test(e) ? /\b/ : /\B/), Cn = ["Protocol", "Type"].map(Sn), wn = ["init", "self"].map(Sn), Tn = ["Any", "Self"], En = [
5516
+ var On = (e) => J(/\b/, e, /\w$/.test(e) ? /\b/ : /\B/), kn = ["Protocol", "Type"].map(On), An = ["init", "self"].map(On), jn = ["Any", "Self"], Mn = [
5521
5517
  "actor",
5522
5518
  "any",
5523
5519
  "associatedtype",
@@ -5612,11 +5608,11 @@ var Sn = (e) => J(/\b/, e, /\w$/.test(e) ? /\b/ : /\B/), Cn = ["Protocol", "Type
5612
5608
  "where",
5613
5609
  "while",
5614
5610
  "willSet"
5615
- ], Dn = [
5611
+ ], Nn = [
5616
5612
  "false",
5617
5613
  "nil",
5618
5614
  "true"
5619
- ], On = [
5615
+ ], Pn = [
5620
5616
  "assignment",
5621
5617
  "associativity",
5622
5618
  "higherThan",
@@ -5624,7 +5620,7 @@ var Sn = (e) => J(/\b/, e, /\w$/.test(e) ? /\b/ : /\B/), Cn = ["Protocol", "Type
5624
5620
  "lowerThan",
5625
5621
  "none",
5626
5622
  "right"
5627
- ], kn = [
5623
+ ], Fn = [
5628
5624
  "#colorLiteral",
5629
5625
  "#column",
5630
5626
  "#dsohandle",
@@ -5644,7 +5640,7 @@ var Sn = (e) => J(/\b/, e, /\w$/.test(e) ? /\b/ : /\B/), Cn = ["Protocol", "Type
5644
5640
  "#selector",
5645
5641
  "#sourceLocation",
5646
5642
  "#warning"
5647
- ], An = /* @__PURE__ */ "abs.all.any.assert.assertionFailure.debugPrint.dump.fatalError.getVaList.isKnownUniquelyReferenced.max.min.numericCast.pointwiseMax.pointwiseMin.precondition.preconditionFailure.print.readLine.repeatElement.sequence.stride.swap.swift_unboxFromSwiftValueWithType.transcode.type.unsafeBitCast.unsafeDowncast.withExtendedLifetime.withUnsafeMutablePointer.withUnsafePointer.withVaList.withoutActuallyEscaping.zip".split("."), jn = Y(/[/=\-+!*%<>&|^~?]/, /[\u00A1-\u00A7]/, /[\u00A9\u00AB]/, /[\u00AC\u00AE]/, /[\u00B0\u00B1]/, /[\u00B6\u00BB\u00BF\u00D7\u00F7]/, /[\u2016-\u2017]/, /[\u2020-\u2027]/, /[\u2030-\u203E]/, /[\u2041-\u2053]/, /[\u2055-\u205E]/, /[\u2190-\u23FF]/, /[\u2500-\u2775]/, /[\u2794-\u2BFF]/, /[\u2E00-\u2E7F]/, /[\u3001-\u3003]/, /[\u3008-\u3020]/, /[\u3030]/), Mn = Y(jn, /[\u0300-\u036F]/, /[\u1DC0-\u1DFF]/, /[\u20D0-\u20FF]/, /[\uFE00-\uFE0F]/, /[\uFE20-\uFE2F]/), Nn = J(jn, Mn, "*"), Pn = Y(/[a-zA-Z_]/, /[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/, /[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/, /[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/, /[\u1E00-\u1FFF]/, /[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/, /[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/, /[\u2C00-\u2DFF\u2E80-\u2FFF]/, /[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/, /[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/, /[\uFE47-\uFEFE\uFF00-\uFFFD]/), Fn = Y(Pn, /\d/, /[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/), X = J(Pn, Fn, "*"), In = J(/[A-Z]/, Fn, "*"), Ln = [
5643
+ ], In = /* @__PURE__ */ "abs.all.any.assert.assertionFailure.debugPrint.dump.fatalError.getVaList.isKnownUniquelyReferenced.max.min.numericCast.pointwiseMax.pointwiseMin.precondition.preconditionFailure.print.readLine.repeatElement.sequence.stride.swap.swift_unboxFromSwiftValueWithType.transcode.type.unsafeBitCast.unsafeDowncast.withExtendedLifetime.withUnsafeMutablePointer.withUnsafePointer.withVaList.withoutActuallyEscaping.zip".split("."), Ln = Y(/[/=\-+!*%<>&|^~?]/, /[\u00A1-\u00A7]/, /[\u00A9\u00AB]/, /[\u00AC\u00AE]/, /[\u00B0\u00B1]/, /[\u00B6\u00BB\u00BF\u00D7\u00F7]/, /[\u2016-\u2017]/, /[\u2020-\u2027]/, /[\u2030-\u203E]/, /[\u2041-\u2053]/, /[\u2055-\u205E]/, /[\u2190-\u23FF]/, /[\u2500-\u2775]/, /[\u2794-\u2BFF]/, /[\u2E00-\u2E7F]/, /[\u3001-\u3003]/, /[\u3008-\u3020]/, /[\u3030]/), Rn = Y(Ln, /[\u0300-\u036F]/, /[\u1DC0-\u1DFF]/, /[\u20D0-\u20FF]/, /[\uFE00-\uFE0F]/, /[\uFE20-\uFE2F]/), zn = J(Ln, Rn, "*"), Bn = Y(/[a-zA-Z_]/, /[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/, /[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/, /[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/, /[\u1E00-\u1FFF]/, /[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/, /[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/, /[\u2C00-\u2DFF\u2E80-\u2FFF]/, /[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/, /[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/, /[\uFE47-\uFEFE\uFF00-\uFFFD]/), Vn = Y(Bn, /\d/, /[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/), X = J(Bn, Vn, "*"), Hn = J(/[A-Z]/, Vn, "*"), Un = [
5648
5644
  "attached",
5649
5645
  "autoclosure",
5650
5646
  J(/convention\(/, Y("swift", "block", "c"), /\)/),
@@ -5679,7 +5675,7 @@ var Sn = (e) => J(/\b/, e, /\w$/.test(e) ? /\b/ : /\B/), Cn = ["Protocol", "Type
5679
5675
  "unknown",
5680
5676
  "usableFromInline",
5681
5677
  "warn_unqualified_access"
5682
- ], Rn = [
5678
+ ], Wn = [
5683
5679
  "iOS",
5684
5680
  "iOSApplicationExtension",
5685
5681
  "macOS",
@@ -5692,40 +5688,40 @@ var Sn = (e) => J(/\b/, e, /\w$/.test(e) ? /\b/ : /\B/), Cn = ["Protocol", "Type
5692
5688
  "tvOSApplicationExtension",
5693
5689
  "swift"
5694
5690
  ];
5695
- function zn(e) {
5691
+ function Gn(e) {
5696
5692
  let t = {
5697
5693
  match: /\s+/,
5698
5694
  relevance: 0
5699
5695
  }, n = e.COMMENT("/\\*", "\\*/", { contains: ["self"] }), r = [e.C_LINE_COMMENT_MODE, n], i = {
5700
- match: [/\./, Y(...Cn, ...wn)],
5696
+ match: [/\./, Y(...kn, ...An)],
5701
5697
  className: { 2: "keyword" }
5702
5698
  }, a = {
5703
- match: J(/\./, Y(...En)),
5699
+ match: J(/\./, Y(...Mn)),
5704
5700
  relevance: 0
5705
- }, o = En.filter((e) => typeof e == "string").concat(["_|0"]), s = { variants: [{
5701
+ }, o = Mn.filter((e) => typeof e == "string").concat(["_|0"]), s = { variants: [{
5706
5702
  className: "keyword",
5707
- match: Y(...En.filter((e) => typeof e != "string").concat(Tn).map(Sn), ...wn)
5703
+ match: Y(...Mn.filter((e) => typeof e != "string").concat(jn).map(On), ...An)
5708
5704
  }] }, c = {
5709
5705
  $pattern: Y(/\b\w+/, /#\w+/),
5710
- keyword: o.concat(kn),
5711
- literal: Dn
5706
+ keyword: o.concat(Fn),
5707
+ literal: Nn
5712
5708
  }, l = [
5713
5709
  i,
5714
5710
  a,
5715
5711
  s
5716
5712
  ], u = [{
5717
- match: J(/\./, Y(...An)),
5713
+ match: J(/\./, Y(...In)),
5718
5714
  relevance: 0
5719
5715
  }, {
5720
5716
  className: "built_in",
5721
- match: J(/\b/, Y(...An), /(?=\()/)
5717
+ match: J(/\b/, Y(...In), /(?=\()/)
5722
5718
  }], d = {
5723
5719
  match: /->/,
5724
5720
  relevance: 0
5725
5721
  }, f = [d, {
5726
5722
  className: "operator",
5727
5723
  relevance: 0,
5728
- variants: [{ match: Nn }, { match: `\\.(\\.|${Mn})+` }]
5724
+ variants: [{ match: zn }, { match: `\\.(\\.|${Rn})+` }]
5729
5725
  }], p = "([0-9]_*)+", m = "([0-9a-fA-F]_*)+", h = {
5730
5726
  className: "number",
5731
5727
  relevance: 0,
@@ -5806,7 +5802,7 @@ function zn(e) {
5806
5802
  },
5807
5803
  {
5808
5804
  className: "variable",
5809
- match: `\\$${Fn}+`
5805
+ match: `\\$${Vn}+`
5810
5806
  }
5811
5807
  ], O = [
5812
5808
  {
@@ -5815,7 +5811,7 @@ function zn(e) {
5815
5811
  starts: { contains: [{
5816
5812
  begin: /\(/,
5817
5813
  end: /\)/,
5818
- keywords: Rn,
5814
+ keywords: Wn,
5819
5815
  contains: [
5820
5816
  ...f,
5821
5817
  h,
@@ -5825,23 +5821,23 @@ function zn(e) {
5825
5821
  },
5826
5822
  {
5827
5823
  scope: "keyword",
5828
- match: J(/@/, Y(...Ln), bn(Y(/\(/, /\s+/)))
5824
+ match: J(/@/, Y(...Un), En(Y(/\(/, /\s+/)))
5829
5825
  },
5830
5826
  {
5831
5827
  scope: "meta",
5832
5828
  match: J(/@/, X)
5833
5829
  }
5834
5830
  ], k = {
5835
- match: bn(/\b[A-Z]/),
5831
+ match: En(/\b[A-Z]/),
5836
5832
  relevance: 0,
5837
5833
  contains: [
5838
5834
  {
5839
5835
  className: "type",
5840
- match: J(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/, Fn, "+")
5836
+ match: J(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/, Vn, "+")
5841
5837
  },
5842
5838
  {
5843
5839
  className: "type",
5844
- match: In,
5840
+ match: Hn,
5845
5841
  relevance: 0
5846
5842
  },
5847
5843
  {
@@ -5853,7 +5849,7 @@ function zn(e) {
5853
5849
  relevance: 0
5854
5850
  },
5855
5851
  {
5856
- match: J(/\s+&\s+/, bn(In)),
5852
+ match: J(/\s+&\s+/, En(Hn)),
5857
5853
  relevance: 0
5858
5854
  }
5859
5855
  ]
@@ -5904,7 +5900,7 @@ function zn(e) {
5904
5900
  keywords: c,
5905
5901
  contains: [
5906
5902
  {
5907
- begin: Y(bn(J(X, /\s*:/)), bn(J(X, /\s+/, X, /\s*:/))),
5903
+ begin: Y(En(J(X, /\s*:/)), En(J(X, /\s+/, X, /\s*:/))),
5908
5904
  end: /:/,
5909
5905
  relevance: 0,
5910
5906
  contains: [{
@@ -5930,7 +5926,7 @@ function zn(e) {
5930
5926
  match: [
5931
5927
  /(func|macro)/,
5932
5928
  /\s+/,
5933
- Y(E.match, X, Nn)
5929
+ Y(E.match, X, zn)
5934
5930
  ],
5935
5931
  className: {
5936
5932
  1: "keyword",
@@ -5955,7 +5951,7 @@ function zn(e) {
5955
5951
  match: [
5956
5952
  /operator/,
5957
5953
  /\s+/,
5958
- Nn
5954
+ zn
5959
5955
  ],
5960
5956
  className: {
5961
5957
  1: "keyword",
@@ -5965,14 +5961,14 @@ function zn(e) {
5965
5961
  begin: [
5966
5962
  /precedencegroup/,
5967
5963
  /\s+/,
5968
- In
5964
+ Hn
5969
5965
  ],
5970
5966
  className: {
5971
5967
  1: "keyword",
5972
5968
  3: "title"
5973
5969
  },
5974
5970
  contains: [k],
5975
- keywords: [...On, ...Dn],
5971
+ keywords: [...Pn, ...Nn],
5976
5972
  end: /}/
5977
5973
  }, R = {
5978
5974
  match: [
@@ -5997,7 +5993,7 @@ function zn(e) {
5997
5993
  1: "keyword",
5998
5994
  3: "keyword"
5999
5995
  }
6000
- }, B = {
5996
+ }, ee = {
6001
5997
  begin: [
6002
5998
  /(struct|protocol|class|extension|enum|actor)/,
6003
5999
  /\s+/,
@@ -6018,7 +6014,7 @@ function zn(e) {
6018
6014
  keywords: c,
6019
6015
  contains: [{
6020
6016
  scope: "title.class.inherited",
6021
- match: In
6017
+ match: Hn
6022
6018
  }, ...l],
6023
6019
  relevance: 0
6024
6020
  }
@@ -6050,7 +6046,7 @@ function zn(e) {
6050
6046
  F,
6051
6047
  R,
6052
6048
  z,
6053
- B,
6049
+ ee,
6054
6050
  I,
6055
6051
  L,
6056
6052
  {
@@ -6073,14 +6069,14 @@ function zn(e) {
6073
6069
  };
6074
6070
  }
6075
6071
  // node_modules/highlight.js/es/languages/typescript.js
6076
- var Bn = "[A-Za-z$_][0-9A-Za-z$_]*", Vn = /* @__PURE__ */ "as.in.of.if.for.while.finally.var.new.function.do.return.void.else.break.catch.instanceof.with.throw.case.default.try.switch.continue.typeof.delete.let.yield.const.class.debugger.async.await.static.import.from.export.extends.using".split("."), Hn = [
6072
+ var Kn = "[A-Za-z$_][0-9A-Za-z$_]*", qn = /* @__PURE__ */ "as.in.of.if.for.while.finally.var.new.function.do.return.void.else.break.catch.instanceof.with.throw.case.default.try.switch.continue.typeof.delete.let.yield.const.class.debugger.async.await.static.import.from.export.extends.using".split("."), Jn = [
6077
6073
  "true",
6078
6074
  "false",
6079
6075
  "null",
6080
6076
  "undefined",
6081
6077
  "NaN",
6082
6078
  "Infinity"
6083
- ], Un = /* @__PURE__ */ "Object.Function.Boolean.Symbol.Math.Date.Number.BigInt.String.RegExp.Array.Float32Array.Float64Array.Int8Array.Uint8Array.Uint8ClampedArray.Int16Array.Int32Array.Uint16Array.Uint32Array.BigInt64Array.BigUint64Array.Set.Map.WeakSet.WeakMap.ArrayBuffer.SharedArrayBuffer.Atomics.DataView.JSON.Promise.Generator.GeneratorFunction.AsyncFunction.Reflect.Proxy.Intl.WebAssembly".split("."), Wn = [
6079
+ ], Yn = /* @__PURE__ */ "Object.Function.Boolean.Symbol.Math.Date.Number.BigInt.String.RegExp.Array.Float32Array.Float64Array.Int8Array.Uint8Array.Uint8ClampedArray.Int16Array.Int32Array.Uint16Array.Uint32Array.BigInt64Array.BigUint64Array.Set.Map.WeakSet.WeakMap.ArrayBuffer.SharedArrayBuffer.Atomics.DataView.JSON.Promise.Generator.GeneratorFunction.AsyncFunction.Reflect.Proxy.Intl.WebAssembly".split("."), Xn = [
6084
6080
  "Error",
6085
6081
  "EvalError",
6086
6082
  "InternalError",
@@ -6089,7 +6085,7 @@ var Bn = "[A-Za-z$_][0-9A-Za-z$_]*", Vn = /* @__PURE__ */ "as.in.of.if.for.while
6089
6085
  "SyntaxError",
6090
6086
  "TypeError",
6091
6087
  "URIError"
6092
- ], Gn = [
6088
+ ], Zn = [
6093
6089
  "setInterval",
6094
6090
  "setTimeout",
6095
6091
  "clearInterval",
@@ -6107,7 +6103,7 @@ var Bn = "[A-Za-z$_][0-9A-Za-z$_]*", Vn = /* @__PURE__ */ "as.in.of.if.for.while
6107
6103
  "encodeURIComponent",
6108
6104
  "escape",
6109
6105
  "unescape"
6110
- ], Kn = [
6106
+ ], Qn = [
6111
6107
  "arguments",
6112
6108
  "this",
6113
6109
  "super",
@@ -6118,12 +6114,12 @@ var Bn = "[A-Za-z$_][0-9A-Za-z$_]*", Vn = /* @__PURE__ */ "as.in.of.if.for.while
6118
6114
  "sessionStorage",
6119
6115
  "module",
6120
6116
  "global"
6121
- ], qn = [].concat(Gn, Un, Wn);
6122
- function Jn(e) {
6117
+ ], $n = [].concat(Zn, Yn, Xn);
6118
+ function er(e) {
6123
6119
  let t = e.regex, n = (e, { after: t }) => {
6124
6120
  let n = "</" + e[0].slice(1);
6125
6121
  return e.input.indexOf(n, t) !== -1;
6126
- }, r = Bn, i = {
6122
+ }, r = Kn, i = {
6127
6123
  begin: "<>",
6128
6124
  end: "</>"
6129
6125
  }, a = /<[A-Za-z0-9\\._:-]+\s*\/>/, o = {
@@ -6140,11 +6136,11 @@ function Jn(e) {
6140
6136
  ((a = o.match(/^\s*=/)) || (a = o.match(/^\s+extends\s+/)) && a.index === 0) && t.ignoreMatch();
6141
6137
  }
6142
6138
  }, s = {
6143
- $pattern: Bn,
6144
- keyword: Vn,
6145
- literal: Hn,
6146
- built_in: qn,
6147
- "variable.language": Kn
6139
+ $pattern: Kn,
6140
+ keyword: qn,
6141
+ literal: Jn,
6142
+ built_in: $n,
6143
+ "variable.language": Qn
6148
6144
  }, c = "[0-9](_?[0-9])*", l = `\\.(${c})`, u = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", d = {
6149
6145
  className: "number",
6150
6146
  variants: [
@@ -6291,7 +6287,7 @@ function Jn(e) {
6291
6287
  relevance: 0,
6292
6288
  match: t.either(/\bJSON/, /\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/, /\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/, /\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),
6293
6289
  className: "title.class",
6294
- keywords: { _: [...Un, ...Wn] }
6290
+ keywords: { _: [...Yn, ...Xn] }
6295
6291
  }, w = {
6296
6292
  label: "use_strict",
6297
6293
  className: "meta",
@@ -6321,7 +6317,7 @@ function Jn(e) {
6321
6317
  }
6322
6318
  let O = {
6323
6319
  match: t.concat(/\b/, D([
6324
- ...Gn,
6320
+ ...Zn,
6325
6321
  "super",
6326
6322
  "import",
6327
6323
  "await"
@@ -6500,8 +6496,8 @@ function Jn(e) {
6500
6496
  ]
6501
6497
  };
6502
6498
  }
6503
- function Yn(e) {
6504
- let t = e.regex, n = Jn(e), r = Bn, i = [
6499
+ function tr(e) {
6500
+ let t = e.regex, n = er(e), r = Kn, i = [
6505
6501
  "any",
6506
6502
  "void",
6507
6503
  "number",
@@ -6536,8 +6532,8 @@ function Yn(e) {
6536
6532
  relevance: 10,
6537
6533
  begin: /^\s*['"]use strict['"]/
6538
6534
  }, c = {
6539
- $pattern: Bn,
6540
- keyword: Vn.concat([
6535
+ $pattern: Kn,
6536
+ keyword: qn.concat([
6541
6537
  "type",
6542
6538
  "interface",
6543
6539
  "public",
@@ -6551,9 +6547,9 @@ function Yn(e) {
6551
6547
  "override",
6552
6548
  "satisfies"
6553
6549
  ]),
6554
- literal: Hn,
6555
- built_in: qn.concat(i),
6556
- "variable.language": Kn
6550
+ literal: Jn,
6551
+ built_in: $n.concat(i),
6552
+ "variable.language": Qn
6557
6553
  }, l = {
6558
6554
  className: "meta",
6559
6555
  begin: "@" + r
@@ -6586,7 +6582,7 @@ function Yn(e) {
6586
6582
  }), n;
6587
6583
  }
6588
6584
  // node_modules/highlight.js/es/languages/vbnet.js
6589
- function Xn(e) {
6585
+ function nr(e) {
6590
6586
  let t = e.regex, n = {
6591
6587
  className: "string",
6592
6588
  begin: /"(""|[^/n])"C\b/
@@ -6653,7 +6649,7 @@ function Xn(e) {
6653
6649
  };
6654
6650
  }
6655
6651
  // node_modules/highlight.js/es/languages/wasm.js
6656
- function Zn(e) {
6652
+ function rr(e) {
6657
6653
  e.regex;
6658
6654
  let t = e.COMMENT(/\(;/, /;\)/);
6659
6655
  return t.contains.push("self"), {
@@ -6714,7 +6710,7 @@ function Zn(e) {
6714
6710
  };
6715
6711
  }
6716
6712
  // node_modules/highlight.js/es/languages/xml.js
6717
- function Qn(e) {
6713
+ function ir(e) {
6718
6714
  let t = e.regex, n = t.concat(/[\p{L}_]/u, t.optional(/[\p{L}0-9_.-]*:/u), /[\p{L}0-9_.-]*/u), r = /[\p{L}0-9._:-]+/u, i = {
6719
6715
  className: "symbol",
6720
6716
  begin: /&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/
@@ -6878,7 +6874,7 @@ function Qn(e) {
6878
6874
  };
6879
6875
  }
6880
6876
  // node_modules/highlight.js/es/languages/yaml.js
6881
- function $n(e) {
6877
+ function ar(e) {
6882
6878
  let t = "true false yes no null", n = "[\\w#;/?:@&=+$,.~*'()[\\]]+", r = {
6883
6879
  className: "attr",
6884
6880
  variants: [
@@ -7020,45 +7016,45 @@ function $n(e) {
7020
7016
  };
7021
7017
  }
7022
7018
  // node_modules/lowlight/lib/common.js
7023
- var er = {
7024
- arduino: $e,
7025
- bash: et,
7026
- c: tt,
7027
- cpp: nt,
7028
- csharp: rt,
7029
- css: ft,
7030
- diff: pt,
7031
- go: mt,
7032
- graphql: ht,
7033
- ini: gt,
7034
- java: xt,
7035
- javascript: At,
7036
- json: Mt,
7037
- kotlin: Lt,
7038
- less: qt,
7039
- lua: Jt,
7040
- makefile: Yt,
7041
- markdown: Xt,
7042
- objectivec: Zt,
7043
- perl: Qt,
7044
- php: $t,
7045
- "php-template": en,
7046
- plaintext: tn,
7047
- python: nn,
7048
- "python-repl": rn,
7049
- r: an,
7050
- ruby: on,
7051
- rust: sn,
7052
- scss: gn,
7053
- shell: _n,
7054
- sql: vn,
7055
- swift: zn,
7056
- typescript: Yn,
7057
- vbnet: Xn,
7058
- wasm: Zn,
7059
- xml: Qn,
7060
- yaml: $n
7061
- }, tr = (/* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
7019
+ var or = {
7020
+ arduino: it,
7021
+ bash: at,
7022
+ c: ot,
7023
+ cpp: st,
7024
+ csharp: ct,
7025
+ css: _t,
7026
+ diff: vt,
7027
+ go: yt,
7028
+ graphql: bt,
7029
+ ini: xt,
7030
+ java: Dt,
7031
+ javascript: It,
7032
+ json: Rt,
7033
+ kotlin: Ut,
7034
+ less: $t,
7035
+ lua: en,
7036
+ makefile: tn,
7037
+ markdown: nn,
7038
+ objectivec: rn,
7039
+ perl: an,
7040
+ php: on,
7041
+ "php-template": sn,
7042
+ plaintext: cn,
7043
+ python: ln,
7044
+ "python-repl": un,
7045
+ r: dn,
7046
+ ruby: fn,
7047
+ rust: pn,
7048
+ scss: Sn,
7049
+ shell: Cn,
7050
+ sql: wn,
7051
+ swift: Gn,
7052
+ typescript: tr,
7053
+ vbnet: nr,
7054
+ wasm: rr,
7055
+ xml: ir,
7056
+ yaml: ar
7057
+ }, sr = (/* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
7062
7058
  function n(e) {
7063
7059
  return e instanceof Map ? e.clear = e.delete = e.set = function() {
7064
7060
  throw Error("map is read-only");
@@ -7267,7 +7263,7 @@ var er = {
7267
7263
  });
7268
7264
  let i = y("I", "a", "is", "so", "us", "to", "at", "if", "in", "it", "on", /[A-Za-z]+['](d|ve|re|ll|t|s|n)/, /[A-Za-z]+[-][a-z]+/, /[A-Za-z][a-z]{2,}/);
7269
7265
  return r.contains.push({ begin: _(/[ ]+/, "(", i, /[.]?[:]?([.][ ]|[ ])/, "){3}") }), r;
7270
- }, L = I("//", "$"), R = I("/\\*", "\\*/"), z = I("#", "$"), B = /*#__PURE__*/ Object.freeze({
7266
+ }, L = I("//", "$"), R = I("/\\*", "\\*/"), z = I("#", "$"), ee = /*#__PURE__*/ Object.freeze({
7271
7267
  __proto__: null,
7272
7268
  APOS_STRING_MODE: N,
7273
7269
  BACKSLASH_ESCAPE: M,
@@ -7336,28 +7332,28 @@ var er = {
7336
7332
  relevance: 0
7337
7333
  }
7338
7334
  });
7339
- function V(e, t) {
7335
+ function B(e, t) {
7340
7336
  e.input[e.index - 1] === "." && t.ignoreMatch();
7341
7337
  }
7342
- function ee(e, t) {
7338
+ function V(e, t) {
7343
7339
  e.className !== void 0 && (e.scope = e.className, delete e.className);
7344
7340
  }
7345
- function te(e, t) {
7346
- t && e.beginKeywords && (e.begin = "\\b(" + e.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", e.__beforeBegin = V, e.keywords = e.keywords || e.beginKeywords, delete e.beginKeywords, e.relevance === void 0 && (e.relevance = 0));
7341
+ function H(e, t) {
7342
+ t && e.beginKeywords && (e.begin = "\\b(" + e.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", e.__beforeBegin = B, e.keywords = e.keywords || e.beginKeywords, delete e.beginKeywords, e.relevance === void 0 && (e.relevance = 0));
7347
7343
  }
7348
- function ne(e, t) {
7344
+ function te(e, t) {
7349
7345
  Array.isArray(e.illegal) && (e.illegal = y(...e.illegal));
7350
7346
  }
7351
- function re(e, t) {
7347
+ function ne(e, t) {
7352
7348
  if (e.match) {
7353
7349
  if (e.begin || e.end) throw Error("begin & end are not supported with match");
7354
7350
  e.begin = e.match, delete e.match;
7355
7351
  }
7356
7352
  }
7357
- function ie(e, t) {
7353
+ function U(e, t) {
7358
7354
  e.relevance === void 0 && (e.relevance = 1);
7359
7355
  }
7360
- var ae = (e, t) => {
7356
+ var W = (e, t) => {
7361
7357
  if (!e.beforeMatch) return;
7362
7358
  if (e.starts) throw Error("beforeMatch cannot be used with starts");
7363
7359
  let n = Object.assign({}, e);
@@ -7367,7 +7363,7 @@ var er = {
7367
7363
  relevance: 0,
7368
7364
  contains: [Object.assign(n, { endsParent: !0 })]
7369
7365
  }, e.relevance = 0, delete n.beforeMatch;
7370
- }, oe = [
7366
+ }, re = [
7371
7367
  "of",
7372
7368
  "and",
7373
7369
  "for",
@@ -7379,58 +7375,58 @@ var er = {
7379
7375
  "parent",
7380
7376
  "list",
7381
7377
  "value"
7382
- ], se = "keyword";
7383
- function ce(e, t, n = se) {
7378
+ ], ie = "keyword";
7379
+ function ae(e, t, n = ie) {
7384
7380
  let r = Object.create(null);
7385
7381
  return typeof e == "string" ? i(n, e.split(" ")) : Array.isArray(e) ? i(n, e) : Object.keys(e).forEach(function(n) {
7386
- Object.assign(r, ce(e[n], t, n));
7382
+ Object.assign(r, ae(e[n], t, n));
7387
7383
  }), r;
7388
7384
  function i(e, n) {
7389
7385
  t && (n = n.map((e) => e.toLowerCase())), n.forEach(function(t) {
7390
7386
  let n = t.split("|");
7391
- r[n[0]] = [e, le(n[0], n[1])];
7387
+ r[n[0]] = [e, oe(n[0], n[1])];
7392
7388
  });
7393
7389
  }
7394
7390
  }
7395
- function le(e, t) {
7396
- return t ? Number(t) : +!ue(e);
7391
+ function oe(e, t) {
7392
+ return t ? Number(t) : +!se(e);
7397
7393
  }
7398
- function ue(e) {
7399
- return oe.includes(e.toLowerCase());
7394
+ function se(e) {
7395
+ return re.includes(e.toLowerCase());
7400
7396
  }
7401
- var de = {}, H = (e) => {
7397
+ var ce = {}, G = (e) => {
7402
7398
  console.error(e);
7403
- }, U = (e, ...t) => {
7399
+ }, le = (e, ...t) => {
7404
7400
  console.log(`WARN: ${e}`, ...t);
7405
- }, W = (e, t) => {
7406
- de[`${e}/${t}`] || (console.log(`Deprecated as of ${e}. ${t}`), de[`${e}/${t}`] = !0);
7407
- }, fe = /* @__PURE__ */ Error();
7408
- function G(e, t, { key: n }) {
7401
+ }, K = (e, t) => {
7402
+ ce[`${e}/${t}`] || (console.log(`Deprecated as of ${e}. ${t}`), ce[`${e}/${t}`] = !0);
7403
+ }, ue = /* @__PURE__ */ Error();
7404
+ function de(e, t, { key: n }) {
7409
7405
  let r = 0, i = e[n], a = {}, o = {};
7410
7406
  for (let e = 1; e <= t.length; e++) o[e + r] = i[e], a[e + r] = !0, r += b(t[e - 1]);
7411
7407
  e[n] = o, e[n]._emit = a, e[n]._multi = !0;
7412
7408
  }
7413
- function pe(e) {
7409
+ function fe(e) {
7414
7410
  if (Array.isArray(e.begin)) {
7415
- if (e.skip || e.excludeBegin || e.returnBegin) throw H("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), fe;
7416
- if (typeof e.beginScope != "object" || e.beginScope === null) throw H("beginScope must be object"), fe;
7417
- G(e, e.begin, { key: "beginScope" }), e.begin = C(e.begin, { joinWith: "" });
7411
+ if (e.skip || e.excludeBegin || e.returnBegin) throw G("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), ue;
7412
+ if (typeof e.beginScope != "object" || e.beginScope === null) throw G("beginScope must be object"), ue;
7413
+ de(e, e.begin, { key: "beginScope" }), e.begin = C(e.begin, { joinWith: "" });
7418
7414
  }
7419
7415
  }
7420
- function me(e) {
7416
+ function pe(e) {
7421
7417
  if (Array.isArray(e.end)) {
7422
- if (e.skip || e.excludeEnd || e.returnEnd) throw H("skip, excludeEnd, returnEnd not compatible with endScope: {}"), fe;
7423
- if (typeof e.endScope != "object" || e.endScope === null) throw H("endScope must be object"), fe;
7424
- G(e, e.end, { key: "endScope" }), e.end = C(e.end, { joinWith: "" });
7418
+ if (e.skip || e.excludeEnd || e.returnEnd) throw G("skip, excludeEnd, returnEnd not compatible with endScope: {}"), ue;
7419
+ if (typeof e.endScope != "object" || e.endScope === null) throw G("endScope must be object"), ue;
7420
+ de(e, e.end, { key: "endScope" }), e.end = C(e.end, { joinWith: "" });
7425
7421
  }
7426
7422
  }
7427
- function he(e) {
7423
+ function me(e) {
7428
7424
  e.scope && typeof e.scope == "object" && e.scope !== null && (e.beginScope = e.scope, delete e.scope);
7429
7425
  }
7430
- function ge(e) {
7431
- he(e), typeof e.beginScope == "string" && (e.beginScope = { _wrap: e.beginScope }), typeof e.endScope == "string" && (e.endScope = { _wrap: e.endScope }), pe(e), me(e);
7426
+ function he(e) {
7427
+ me(e), typeof e.beginScope == "string" && (e.beginScope = { _wrap: e.beginScope }), typeof e.endScope == "string" && (e.endScope = { _wrap: e.endScope }), fe(e), pe(e);
7432
7428
  }
7433
- function _e(e) {
7429
+ function ge(e) {
7434
7430
  function t(t, n) {
7435
7431
  return new RegExp(p(t), "m" + (e.case_insensitive ? "i" : "") + (e.unicodeRegex ? "u" : "") + (n ? "g" : ""));
7436
7432
  }
@@ -7494,18 +7490,18 @@ var er = {
7494
7490
  let a = n;
7495
7491
  if (n.isCompiled) return a;
7496
7492
  [
7497
- ee,
7498
- re,
7499
- ge,
7500
- ae
7493
+ V,
7494
+ ne,
7495
+ he,
7496
+ W
7501
7497
  ].forEach((e) => e(n, r)), e.compilerExtensions.forEach((e) => e(n, r)), n.__beforeBegin = null, [
7498
+ H,
7502
7499
  te,
7503
- ne,
7504
- ie
7500
+ U
7505
7501
  ].forEach((e) => e(n, r)), n.isCompiled = !0;
7506
7502
  let s = null;
7507
- return typeof n.keywords == "object" && n.keywords.$pattern && (n.keywords = Object.assign({}, n.keywords), s = n.keywords.$pattern, delete n.keywords.$pattern), s ||= /\w+/, n.keywords &&= ce(n.keywords, e.case_insensitive), a.keywordPatternRe = t(s, !0), r && (n.begin ||= /\B|\b/, a.beginRe = t(a.begin), !n.end && !n.endsWithParent && (n.end = /\B|\b/), n.end && (a.endRe = t(a.end)), a.terminatorEnd = p(a.end) || "", n.endsWithParent && r.terminatorEnd && (a.terminatorEnd += (n.end ? "|" : "") + r.terminatorEnd)), n.illegal && (a.illegalRe = t(n.illegal)), n.contains ||= [], n.contains = [].concat(...n.contains.map(function(e) {
7508
- return ye(e === "self" ? n : e);
7503
+ return typeof n.keywords == "object" && n.keywords.$pattern && (n.keywords = Object.assign({}, n.keywords), s = n.keywords.$pattern, delete n.keywords.$pattern), s ||= /\w+/, n.keywords &&= ae(n.keywords, e.case_insensitive), a.keywordPatternRe = t(s, !0), r && (n.begin ||= /\B|\b/, a.beginRe = t(a.begin), !n.end && !n.endsWithParent && (n.end = /\B|\b/), n.end && (a.endRe = t(a.end)), a.terminatorEnd = p(a.end) || "", n.endsWithParent && r.terminatorEnd && (a.terminatorEnd += (n.end ? "|" : "") + r.terminatorEnd)), n.illegal && (a.illegalRe = t(n.illegal)), n.contains ||= [], n.contains = [].concat(...n.contains.map(function(e) {
7504
+ return _e(e === "self" ? n : e);
7509
7505
  })), n.contains.forEach(function(e) {
7510
7506
  o(e, a);
7511
7507
  }), n.starts && o(n.starts, r), a.matcher = i(a), a;
@@ -7513,19 +7509,19 @@ var er = {
7513
7509
  if (e.compilerExtensions ||= [], e.contains && e.contains.includes("self")) throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");
7514
7510
  return e.classNameAliases = a(e.classNameAliases || {}), o(e);
7515
7511
  }
7516
- function ve(e) {
7517
- return e ? e.endsWithParent || ve(e.starts) : !1;
7512
+ function q(e) {
7513
+ return e ? e.endsWithParent || q(e.starts) : !1;
7518
7514
  }
7519
- function ye(e) {
7515
+ function _e(e) {
7520
7516
  return e.variants && !e.cachedVariants && (e.cachedVariants = e.variants.map(function(t) {
7521
7517
  return a(e, { variants: null }, t);
7522
- })), e.cachedVariants ? e.cachedVariants : ve(e) ? a(e, { starts: e.starts ? a(e.starts) : null }) : Object.isFrozen(e) ? a(e) : e;
7518
+ })), e.cachedVariants ? e.cachedVariants : q(e) ? a(e, { starts: e.starts ? a(e.starts) : null }) : Object.isFrozen(e) ? a(e) : e;
7523
7519
  }
7524
- var be = "11.11.2", xe = class extends Error {
7520
+ var ve = "11.11.2", ye = class extends Error {
7525
7521
  constructor(e, t) {
7526
7522
  super(e), this.name = "HTMLInjectionError", this.html = t;
7527
7523
  }
7528
- }, Se = i, Ce = a, we = Symbol("nomatch"), Te = 7, Ee = function(e) {
7524
+ }, be = i, xe = a, Se = Symbol("nomatch"), Ce = 7, we = function(e) {
7529
7525
  let t = Object.create(null), i = Object.create(null), a = [], o = !0, s = "Could not find the language '{}', did you forget to load/include a language module?", c = {
7530
7526
  disableAutodetect: !0,
7531
7527
  name: "Plain text",
@@ -7549,13 +7545,13 @@ var er = {
7549
7545
  let n = l.languageDetectRe.exec(t);
7550
7546
  if (n) {
7551
7547
  let t = N(n[1]);
7552
- return t || (U(s.replace("{}", n[1])), U("Falling back to no-highlight mode for this block.", e)), t ? n[1] : "no-highlight";
7548
+ return t || (le(s.replace("{}", n[1])), le("Falling back to no-highlight mode for this block.", e)), t ? n[1] : "no-highlight";
7553
7549
  }
7554
7550
  return t.split(/\s+/).find((e) => u(e) || N(e));
7555
7551
  }
7556
7552
  function p(e, t, n) {
7557
7553
  let r = "", i = "";
7558
- typeof t == "object" ? (r = e, n = t.ignoreIllegals, i = t.language) : (W("10.7.0", "highlight(lang, code, ...args) has been deprecated."), W("10.7.0", "Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"), i = e, r = t), n === void 0 && (n = !0);
7554
+ typeof t == "object" ? (r = e, n = t.ignoreIllegals, i = t.language) : (K("10.7.0", "highlight(lang, code, ...args) has been deprecated."), K("10.7.0", "Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"), i = e, r = t), n === void 0 && (n = !0);
7559
7555
  let a = {
7560
7556
  code: r,
7561
7557
  language: i
@@ -7582,7 +7578,7 @@ var er = {
7582
7578
  let r = D.case_insensitive ? t[0].toLowerCase() : t[0], i = u(A, r);
7583
7579
  if (i) {
7584
7580
  let [e, a] = i;
7585
- if (M.addText(n), n = "", c[r] = (c[r] || 0) + 1, c[r] <= Te && (F += a), e.startsWith("_")) n += t[0];
7581
+ if (M.addText(n), n = "", c[r] = (c[r] || 0) + 1, c[r] <= Ce && (F += a), e.startsWith("_")) n += t[0];
7586
7582
  else {
7587
7583
  let n = D.classNameAliases[e] || e;
7588
7584
  m(t[0], n);
@@ -7648,7 +7644,7 @@ var er = {
7648
7644
  }
7649
7645
  function C(e) {
7650
7646
  let t = e[0], r = n.substring(e.index), i = _(A, e, r);
7651
- if (!i) return we;
7647
+ if (!i) return Se;
7652
7648
  let a = A;
7653
7649
  A.endScope && A.endScope._wrap ? (p(), m(t, A.endScope._wrap)) : A.endScope && A.endScope._multi ? (p(), h(A.endScope, e)) : a.skip ? P += t : (a.returnEnd || a.excludeEnd || (P += t), p(), a.excludeEnd && (P = t));
7654
7650
  do
@@ -7679,15 +7675,15 @@ var er = {
7679
7675
  }
7680
7676
  if (r.type === "end") {
7681
7677
  let e = C(r);
7682
- if (e !== we) return e;
7678
+ if (e !== Se) return e;
7683
7679
  }
7684
7680
  if (r.type === "illegal" && a === "") return r.index === n.length || (P += "\n"), 1;
7685
7681
  if (L > 1e5 && L > r.index * 3) throw /* @__PURE__ */ Error("potential infinite loop, way more iterations than matches");
7686
7682
  return P += a, a.length;
7687
7683
  }
7688
7684
  let D = N(e);
7689
- if (!D) throw H(s.replace("{}", e)), Error("Unknown language: \"" + e + "\"");
7690
- let O = _e(D), k = "", A = a || O, j = {}, M = new l.__emitter(l);
7685
+ if (!D) throw G(s.replace("{}", e)), Error("Unknown language: \"" + e + "\"");
7686
+ let O = ge(D), k = "", A = a || O, j = {}, M = new l.__emitter(l);
7691
7687
  w();
7692
7688
  let P = "", F = 0, I = 0, L = 0, R = !1;
7693
7689
  try {
@@ -7713,7 +7709,7 @@ var er = {
7713
7709
  } catch (t) {
7714
7710
  if (t.message && t.message.includes("Illegal")) return {
7715
7711
  language: e,
7716
- value: Se(n),
7712
+ value: be(n),
7717
7713
  illegal: !0,
7718
7714
  relevance: 0,
7719
7715
  _illegalBy: {
@@ -7727,7 +7723,7 @@ var er = {
7727
7723
  };
7728
7724
  if (o) return {
7729
7725
  language: e,
7730
- value: Se(n),
7726
+ value: be(n),
7731
7727
  illegal: !1,
7732
7728
  relevance: 0,
7733
7729
  errorRaised: t,
@@ -7739,7 +7735,7 @@ var er = {
7739
7735
  }
7740
7736
  function b(e) {
7741
7737
  let t = {
7742
- value: Se(e),
7738
+ value: be(e),
7743
7739
  illegal: !1,
7744
7740
  relevance: 0,
7745
7741
  _top: c,
@@ -7775,7 +7771,7 @@ var er = {
7775
7771
  console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.", e);
7776
7772
  return;
7777
7773
  }
7778
- if (e.children.length > 0 && (l.ignoreUnescapedHTML || (console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."), console.warn("https://github.com/highlightjs/highlight.js/wiki/security"), console.warn("The element with unescaped HTML:"), console.warn(e)), l.throwUnescapedHTML)) throw new xe("One of your code blocks includes unescaped HTML.", e.innerHTML);
7774
+ if (e.children.length > 0 && (l.ignoreUnescapedHTML || (console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."), console.warn("https://github.com/highlightjs/highlight.js/wiki/security"), console.warn("The element with unescaped HTML:"), console.warn(e)), l.throwUnescapedHTML)) throw new ye("One of your code blocks includes unescaped HTML.", e.innerHTML);
7779
7775
  t = e;
7780
7776
  let r = t.textContent, i = n ? p(r, {
7781
7777
  language: n,
@@ -7795,13 +7791,13 @@ var er = {
7795
7791
  });
7796
7792
  }
7797
7793
  function T(e) {
7798
- l = Ce(l, e);
7794
+ l = xe(l, e);
7799
7795
  }
7800
7796
  let E = () => {
7801
- k(), W("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
7797
+ k(), K("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
7802
7798
  };
7803
7799
  function D() {
7804
- k(), W("10.6.0", "initHighlightingOnLoad() deprecated. Use highlightAll() now.");
7800
+ k(), K("10.6.0", "initHighlightingOnLoad() deprecated. Use highlightAll() now.");
7805
7801
  }
7806
7802
  let O = !1;
7807
7803
  function k() {
@@ -7815,7 +7811,7 @@ var er = {
7815
7811
  try {
7816
7812
  i = r(e);
7817
7813
  } catch (e) {
7818
- if (H("Language definition for '{}' could not be registered.".replace("{}", n)), o) H(e);
7814
+ if (G("Language definition for '{}' could not be registered.".replace("{}", n)), o) G(e);
7819
7815
  else throw e;
7820
7816
  i = c;
7821
7817
  }
@@ -7860,15 +7856,15 @@ var er = {
7860
7856
  e[n] && e[n](t);
7861
7857
  });
7862
7858
  }
7863
- function V(e) {
7864
- return W("10.7.0", "highlightBlock will be removed entirely in v12.0"), W("10.7.0", "Please use highlightElement now."), w(e);
7859
+ function B(e) {
7860
+ return K("10.7.0", "highlightBlock will be removed entirely in v12.0"), K("10.7.0", "Please use highlightElement now."), w(e);
7865
7861
  }
7866
7862
  Object.assign(e, {
7867
7863
  highlight: p,
7868
7864
  highlightAuto: S,
7869
7865
  highlightAll: k,
7870
7866
  highlightElement: w,
7871
- highlightBlock: V,
7867
+ highlightBlock: B,
7872
7868
  configure: T,
7873
7869
  initHighlighting: E,
7874
7870
  initHighlightingOnLoad: D,
@@ -7878,27 +7874,27 @@ var er = {
7878
7874
  getLanguage: N,
7879
7875
  registerAliases: P,
7880
7876
  autoDetection: F,
7881
- inherit: Ce,
7877
+ inherit: xe,
7882
7878
  addPlugin: L,
7883
7879
  removePlugin: R
7884
7880
  }), e.debugMode = function() {
7885
7881
  o = !1;
7886
7882
  }, e.safeMode = function() {
7887
7883
  o = !0;
7888
- }, e.versionString = be, e.regex = {
7884
+ }, e.versionString = ve, e.regex = {
7889
7885
  concat: _,
7890
7886
  lookahead: m,
7891
7887
  either: y,
7892
7888
  optional: g,
7893
7889
  anyNumberOfTimes: h
7894
7890
  };
7895
- for (let e in B) typeof B[e] == "object" && n(B[e]);
7896
- return Object.assign(e, B), e;
7897
- }, K = Ee({});
7898
- K.newInstance = () => Ee({}), t.exports = K, K.HighlightJS = K, K.default = K;
7899
- })))())).default, nr = {}, rr = "hljs-";
7900
- function ir(e) {
7901
- let t = tr.newInstance();
7891
+ for (let e in ee) typeof ee[e] == "object" && n(ee[e]);
7892
+ return Object.assign(e, ee), e;
7893
+ }, Te = we({});
7894
+ Te.newInstance = () => we({}), t.exports = Te, Te.HighlightJS = Te, Te.default = Te;
7895
+ })))())).default, cr = {}, lr = "hljs-";
7896
+ function ur(e) {
7897
+ let t = sr.newInstance();
7902
7898
  return e && a(e), {
7903
7899
  highlight: n,
7904
7900
  highlightAuto: r,
@@ -7908,10 +7904,10 @@ function ir(e) {
7908
7904
  registered: s
7909
7905
  };
7910
7906
  function n(e, n, r) {
7911
- let i = r || nr, a = typeof i.prefix == "string" ? i.prefix : rr;
7907
+ let i = r || cr, a = typeof i.prefix == "string" ? i.prefix : lr;
7912
7908
  if (!t.getLanguage(e)) throw Error("Unknown language: `" + e + "` is not registered");
7913
7909
  t.configure({
7914
- __emitter: ar,
7910
+ __emitter: dr,
7915
7911
  classPrefix: a
7916
7912
  });
7917
7913
  let o = t.highlight(n, {
@@ -7924,7 +7920,7 @@ function ir(e) {
7924
7920
  return c.language = o.language, c.relevance = o.relevance, s;
7925
7921
  }
7926
7922
  function r(e, r) {
7927
- let a = (r || nr).subset || i(), o = -1, s = 0, c;
7923
+ let a = (r || cr).subset || i(), o = -1, s = 0, c;
7928
7924
  for (; ++o < a.length;) {
7929
7925
  let i = a[o];
7930
7926
  if (!t.getLanguage(i)) continue;
@@ -7964,7 +7960,7 @@ function ir(e) {
7964
7960
  return !!t.getLanguage(e);
7965
7961
  }
7966
7962
  }
7967
- var ar = class {
7963
+ var dr = class {
7968
7964
  constructor(e) {
7969
7965
  this.options = e, this.root = {
7970
7966
  type: "root",
@@ -8016,7 +8012,7 @@ var ar = class {
8016
8012
  toHTML() {
8017
8013
  return "";
8018
8014
  }
8019
- }, or = (e) => ({
8015
+ }, fr = (e) => ({
8020
8016
  name: "Cattca",
8021
8017
  subLanguage: "markdown",
8022
8018
  contains: [e.C_BLOCK_COMMENT_MODE, {
@@ -8038,7 +8034,7 @@ var ar = class {
8038
8034
  }
8039
8035
  ]
8040
8036
  }]
8041
- }), sr = (e) => ({
8037
+ }), pr = (e) => ({
8042
8038
  name: "Mermaid",
8043
8039
  aliases: ["mmd"],
8044
8040
  keywords: {
@@ -8066,7 +8062,7 @@ var ar = class {
8066
8062
  },
8067
8063
  e.C_NUMBER_MODE
8068
8064
  ]
8069
- }), cr = (e) => ({
8065
+ }), mr = (e) => ({
8070
8066
  name: "Vue",
8071
8067
  disableAutodetect: !0,
8072
8068
  subLanguage: "xml",
@@ -8108,16 +8104,16 @@ var ar = class {
8108
8104
  subLanguage: "javascript"
8109
8105
  }
8110
8106
  ]
8111
- }), lr = 2e4, ur = 100, dr = 2e3, fr = ir(er);
8112
- fr.register({
8113
- latex: Ze,
8114
- django: Ye,
8115
- dockerfile: Xe,
8116
- cattca: or,
8117
- mermaid: sr,
8118
- vue: cr
8107
+ }), hr = 2e4, gr = 100, _r = 2e3, vr = ur(or);
8108
+ vr.register({
8109
+ latex: nt,
8110
+ django: et,
8111
+ dockerfile: tt,
8112
+ cattca: fr,
8113
+ mermaid: pr,
8114
+ vue: mr
8119
8115
  });
8120
- var pr = [
8116
+ var yr = [
8121
8117
  "javascript",
8122
8118
  "typescript",
8123
8119
  "python",
@@ -8136,7 +8132,7 @@ var pr = [
8136
8132
  "mermaid",
8137
8133
  "cattca",
8138
8134
  "django"
8139
- ], mr = {
8135
+ ], br = {
8140
8136
  js: "javascript",
8141
8137
  jsx: "javascript",
8142
8138
  mjs: "javascript",
@@ -8169,24 +8165,24 @@ var pr = [
8169
8165
  plain: "plaintext",
8170
8166
  nohighlight: "plaintext"
8171
8167
  };
8172
- function hr(e) {
8168
+ function xr(e) {
8173
8169
  if (e === void 0) return null;
8174
8170
  let t = e.trim().toLowerCase();
8175
8171
  return t.startsWith("language-") && (t = t.slice(9)), t === "" ? null : t;
8176
8172
  }
8177
- function gr(e) {
8178
- let t = Object.hasOwn(mr, e) ? mr[e] : void 0;
8179
- return t !== void 0 && fr.registered(t) ? t : fr.registered(e) ? e : null;
8173
+ function Sr(e) {
8174
+ let t = Object.hasOwn(br, e) ? br[e] : void 0;
8175
+ return t !== void 0 && vr.registered(t) ? t : vr.registered(e) ? e : null;
8180
8176
  }
8181
- function _r(e) {
8177
+ function Cr(e) {
8182
8178
  let t = e.className, n = (Array.isArray(t) ? t : typeof t == "string" ? [t] : []).filter((e) => typeof e == "string" && /^[A-Za-z0-9_-]+$/.test(e));
8183
8179
  return n.length > 0 ? n.join(" ") : void 0;
8184
8180
  }
8185
- function vr(e) {
8181
+ function wr(e) {
8186
8182
  let t = "", n = 0, r = [...e].reverse();
8187
8183
  for (; r.length > 0;) {
8188
8184
  let e = r.pop();
8189
- if (n += 1, n > lr) return null;
8185
+ if (n += 1, n > hr) return null;
8190
8186
  if (e.type === "text") t += e.value;
8191
8187
  else {
8192
8188
  if (e.type !== "element" || e.tagName !== "span") return null;
@@ -8195,31 +8191,31 @@ function vr(e) {
8195
8191
  }
8196
8192
  return t;
8197
8193
  }
8198
- function yr(e, t = 0) {
8199
- if (t > ur) throw Error("Code token tree is nested too deeply.");
8200
- return e.map((e, n) => e.type === "text" ? e.value : e.type === "element" && e.tagName === "span" ? /* @__PURE__ */ B("span", {
8201
- className: _r(e.properties),
8202
- children: yr(e.children, t + 1)
8194
+ function Tr(e, t = 0) {
8195
+ if (t > gr) throw Error("Code token tree is nested too deeply.");
8196
+ return e.map((e, n) => e.type === "text" ? e.value : e.type === "element" && e.tagName === "span" ? /* @__PURE__ */ U("span", {
8197
+ className: Cr(e.properties),
8198
+ children: Tr(e.children, t + 1)
8203
8199
  }, n) : null);
8204
8200
  }
8205
- function br(e, t) {
8206
- let n = hr(t);
8201
+ function Er(e, t) {
8202
+ let n = xr(t);
8207
8203
  if (e === "" || e.length > 2e4) return {
8208
8204
  nodes: null,
8209
8205
  highlighted: !1
8210
8206
  };
8211
- let r = n === null ? null : gr(n);
8207
+ let r = n === null ? null : Sr(n);
8212
8208
  if (n !== null && (r === null || r === "plaintext")) return {
8213
8209
  nodes: null,
8214
8210
  highlighted: !1
8215
8211
  };
8216
8212
  try {
8217
- let t = r === null ? fr.highlightAuto(e, { subset: pr }) : fr.highlight(r, e);
8218
- if (r === null && (!t.data?.language || (t.data.relevance ?? 0) < 2) || vr(t.children) !== e) return {
8213
+ let t = r === null ? vr.highlightAuto(e, { subset: yr }) : vr.highlight(r, e);
8214
+ if (r === null && (!t.data?.language || (t.data.relevance ?? 0) < 2) || wr(t.children) !== e) return {
8219
8215
  nodes: null,
8220
8216
  highlighted: !1
8221
8217
  };
8222
- let n = yr(t.children);
8218
+ let n = Tr(t.children);
8223
8219
  return n.length === 0 && e !== "" ? {
8224
8220
  nodes: null,
8225
8221
  highlighted: !1
@@ -8235,7 +8231,7 @@ function br(e, t) {
8235
8231
  };
8236
8232
  }
8237
8233
  }
8238
- function xr(e) {
8234
+ function Dr(e) {
8239
8235
  if (typeof document > "u" || document.body === null) return !1;
8240
8236
  let t = document.activeElement, n = typeof window > "u" ? null : window.getSelection(), r = [];
8241
8237
  if (n !== null) for (let e = 0; e < n.rangeCount; e += 1) r.push(n.getRangeAt(e).cloneRange());
@@ -8257,34 +8253,34 @@ function xr(e) {
8257
8253
  }
8258
8254
  return a;
8259
8255
  }
8260
- async function Sr(e) {
8256
+ async function Or(e) {
8261
8257
  if (typeof navigator < "u" && navigator.clipboard && typeof navigator.clipboard.writeText == "function") try {
8262
8258
  return await navigator.clipboard.writeText(e), !0;
8263
8259
  } catch {
8264
- return xr(e);
8260
+ return Dr(e);
8265
8261
  }
8266
- return xr(e);
8262
+ return Dr(e);
8267
8263
  }
8268
- var Cr = /^[a-z0-9][a-z0-9+#._-]*$/;
8269
- function wr({ value: e, language: t, mode: n, htmlProps: r }) {
8270
- let i = ie(), a = F(() => br(e, t), [e, t]), [o, s] = L({
8264
+ var kr = /^[a-z0-9][a-z0-9+#._-]*$/;
8265
+ function Ar({ value: e, language: t, mode: n, htmlProps: r }) {
8266
+ let i = se(), a = B(() => Er(e, t), [e, t]), [o, s] = H({
8271
8267
  value: e,
8272
8268
  state: "idle"
8273
- }), c = I(e), l = I(null), u = I(!0);
8269
+ }), c = V(e), l = V(null), u = V(!0);
8274
8270
  c.current = e;
8275
8271
  let d = o.value === e ? o.state : "idle";
8276
- N(() => (u.current = !0, () => {
8272
+ z(() => (u.current = !0, () => {
8277
8273
  u.current = !1, l.current !== null && (clearTimeout(l.current), l.current = null);
8278
- }), []), N(() => {
8274
+ }), []), z(() => {
8279
8275
  l.current !== null && (clearTimeout(l.current), l.current = null), s({
8280
8276
  value: e,
8281
8277
  state: "idle"
8282
8278
  });
8283
8279
  }, [e]);
8284
- let f = j(async () => {
8280
+ let f = L(async () => {
8285
8281
  let t = e;
8286
8282
  l.current !== null && (clearTimeout(l.current), l.current = null);
8287
- let n = await Sr(t);
8283
+ let n = await Or(t);
8288
8284
  u.current && c.current === t && (s({
8289
8285
  value: t,
8290
8286
  state: n ? "success" : "error"
@@ -8293,26 +8289,26 @@ function wr({ value: e, language: t, mode: n, htmlProps: r }) {
8293
8289
  value: t,
8294
8290
  state: "idle"
8295
8291
  } : e);
8296
- }, dr));
8297
- }, [e]), p = hr(t), m = t !== void 0 && t.trim() !== "" ? t.trim() : a.language ?? i("Text", "文本"), h = p ?? a.language, g = [a.highlighted ? "hljs" : "", h && Cr.test(h) ? `language-${h}` : ""].filter((e) => e !== "").join(" ") || void 0, _ = d === "success" ? i("Copied", "已复制") : d === "error" ? i("Copy failed", "复制失败") : "";
8298
- return /* @__PURE__ */ V("div", {
8292
+ }, _r));
8293
+ }, [e]), p = xr(t), m = t !== void 0 && t.trim() !== "" ? t.trim() : a.language ?? i("Text", "文本"), h = p ?? a.language, g = [a.highlighted ? "hljs" : "", h && kr.test(h) ? `language-${h}` : ""].filter((e) => e !== "").join(" ") || void 0, _ = d === "success" ? i("Copied", "已复制") : d === "error" ? i("Copy failed", "复制失败") : "";
8294
+ return /* @__PURE__ */ W("div", {
8299
8295
  className: "md-code-block",
8300
8296
  "data-code-mode": n,
8301
- children: [/* @__PURE__ */ V("div", {
8297
+ children: [/* @__PURE__ */ W("div", {
8302
8298
  className: "md-code-block-toolbar",
8303
- children: [/* @__PURE__ */ B("span", {
8299
+ children: [/* @__PURE__ */ U("span", {
8304
8300
  className: "md-code-block-language",
8305
8301
  children: m
8306
- }), n === "interactive" && /* @__PURE__ */ V(z, { children: [/* @__PURE__ */ B("span", {
8302
+ }), n === "interactive" && /* @__PURE__ */ W(ne, { children: [/* @__PURE__ */ U("span", {
8307
8303
  className: "md-code-block-feedback",
8308
8304
  "data-state": d,
8309
8305
  role: "status",
8310
8306
  "aria-live": "polite",
8311
- children: /* @__PURE__ */ B("span", {
8307
+ children: /* @__PURE__ */ U("span", {
8312
8308
  className: "md-code-block-feedback-text",
8313
8309
  children: _
8314
8310
  }, d)
8315
- }), /* @__PURE__ */ V("button", {
8311
+ }), /* @__PURE__ */ W("button", {
8316
8312
  type: "button",
8317
8313
  className: "md-code-block-copy",
8318
8314
  "data-rmd-appearance": "custom",
@@ -8321,10 +8317,10 @@ function wr({ value: e, language: t, mode: n, htmlProps: r }) {
8321
8317
  onClick: () => {
8322
8318
  f();
8323
8319
  },
8324
- children: [/* @__PURE__ */ B("span", {
8320
+ children: [/* @__PURE__ */ U("span", {
8325
8321
  className: "md-code-block-copy-icon",
8326
8322
  "aria-hidden": "true",
8327
- children: d === "success" ? /* @__PURE__ */ B("svg", {
8323
+ children: d === "success" ? /* @__PURE__ */ U("svg", {
8328
8324
  viewBox: "0 0 24 24",
8329
8325
  width: "15",
8330
8326
  height: "15",
@@ -8334,8 +8330,8 @@ function wr({ value: e, language: t, mode: n, htmlProps: r }) {
8334
8330
  strokeLinecap: "round",
8335
8331
  strokeLinejoin: "round",
8336
8332
  focusable: "false",
8337
- children: /* @__PURE__ */ B("path", { d: "M20 6 9 17l-5-5" })
8338
- }) : d === "error" ? /* @__PURE__ */ V("svg", {
8333
+ children: /* @__PURE__ */ U("path", { d: "M20 6 9 17l-5-5" })
8334
+ }) : d === "error" ? /* @__PURE__ */ W("svg", {
8339
8335
  viewBox: "0 0 24 24",
8340
8336
  width: "15",
8341
8337
  height: "15",
@@ -8346,15 +8342,15 @@ function wr({ value: e, language: t, mode: n, htmlProps: r }) {
8346
8342
  strokeLinejoin: "round",
8347
8343
  focusable: "false",
8348
8344
  children: [
8349
- /* @__PURE__ */ B("circle", {
8345
+ /* @__PURE__ */ U("circle", {
8350
8346
  cx: "12",
8351
8347
  cy: "12",
8352
8348
  r: "9"
8353
8349
  }),
8354
- /* @__PURE__ */ B("path", { d: "M12 8v5" }),
8355
- /* @__PURE__ */ B("path", { d: "M12 16.5h.01" })
8350
+ /* @__PURE__ */ U("path", { d: "M12 8v5" }),
8351
+ /* @__PURE__ */ U("path", { d: "M12 16.5h.01" })
8356
8352
  ]
8357
- }) : /* @__PURE__ */ V("svg", {
8353
+ }) : /* @__PURE__ */ W("svg", {
8358
8354
  viewBox: "0 0 24 24",
8359
8355
  width: "15",
8360
8356
  height: "15",
@@ -8364,20 +8360,20 @@ function wr({ value: e, language: t, mode: n, htmlProps: r }) {
8364
8360
  strokeLinecap: "round",
8365
8361
  strokeLinejoin: "round",
8366
8362
  focusable: "false",
8367
- children: [/* @__PURE__ */ B("rect", {
8363
+ children: [/* @__PURE__ */ U("rect", {
8368
8364
  x: "9",
8369
8365
  y: "9",
8370
8366
  width: "11",
8371
8367
  height: "11",
8372
8368
  rx: "2"
8373
- }), /* @__PURE__ */ B("path", { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })]
8369
+ }), /* @__PURE__ */ U("path", { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })]
8374
8370
  })
8375
8371
  }, d), i("Copy", "复制")]
8376
8372
  })] })]
8377
- }), /* @__PURE__ */ B("pre", {
8373
+ }), /* @__PURE__ */ U("pre", {
8378
8374
  className: "md-code",
8379
8375
  ...r,
8380
- children: /* @__PURE__ */ B("code", {
8376
+ children: /* @__PURE__ */ U("code", {
8381
8377
  className: g,
8382
8378
  children: a.nodes ?? e
8383
8379
  })
@@ -8385,27 +8381,27 @@ function wr({ value: e, language: t, mode: n, htmlProps: r }) {
8385
8381
  });
8386
8382
  }
8387
8383
  // src/react/rendering/image/image-view.tsx
8388
- function Tr({ src: e, alt: t, title: n, mode: r, rootRef: i, imageProps: a }) {
8389
- let o = ie(), s = I(null), c = I(null), l = I(!1), u = I(e), [d, f] = L(!1), [p, m] = L(!1), [h, g] = L(null), [_, v] = L(null), y = j(() => {
8384
+ function jr({ src: e, alt: t, title: n, mode: r, rootRef: i, imageProps: a }) {
8385
+ let o = se(), s = V(null), c = V(null), l = V(!1), u = V(e), [d, f] = H(!1), [p, m] = H(!1), [h, g] = H(null), [_, v] = H(null), y = L(() => {
8390
8386
  let e = s.current;
8391
8387
  if (e && e.isConnected) try {
8392
8388
  e.focus({ preventScroll: !0 });
8393
8389
  } catch {
8394
8390
  e.focus();
8395
8391
  }
8396
- }, []), b = j(() => {
8392
+ }, []), b = L(() => {
8397
8393
  l.current && (l.current = !1, m(!1), y());
8398
- }, [y]), x = j(() => {
8394
+ }, [y]), x = L(() => {
8399
8395
  let e = c.current;
8400
8396
  if (e?.open) try {
8401
8397
  e.close();
8402
8398
  } catch {}
8403
8399
  b();
8404
- }, [b]), S = j(() => {
8400
+ }, [b]), S = L(() => {
8405
8401
  let t = i.current;
8406
8402
  t && !l.current && (v(e), g(t), l.current = !0, m(!0));
8407
8403
  }, [i, e]);
8408
- N(() => {
8404
+ z(() => {
8409
8405
  if (r !== "interactive") {
8410
8406
  f(!1), x();
8411
8407
  return;
@@ -8416,9 +8412,9 @@ function Tr({ src: e, alt: t, title: n, mode: r, rootRef: i, imageProps: a }) {
8416
8412
  r,
8417
8413
  e,
8418
8414
  x
8419
- ]), N(() => {
8415
+ ]), z(() => {
8420
8416
  u.current !== e && (u.current = e, l.current && x());
8421
- }, [e, x]), N(() => {
8417
+ }, [e, x]), z(() => {
8422
8418
  if (!p) return;
8423
8419
  let e = c.current;
8424
8420
  if (e && !e.open) {
@@ -8442,7 +8438,7 @@ function Tr({ src: e, alt: t, title: n, mode: r, rootRef: i, imageProps: a }) {
8442
8438
  onKeyDown: (e) => {
8443
8439
  e.key !== "Enter" && e.key !== " " && e.key !== "Spacebar" || e.currentTarget.closest("a") || (e.preventDefault(), S());
8444
8440
  }
8445
- } : {}, w = /* @__PURE__ */ B("img", {
8441
+ } : {}, w = /* @__PURE__ */ U("img", {
8446
8442
  ref: s,
8447
8443
  className: "md-image",
8448
8444
  ...a,
@@ -8453,7 +8449,7 @@ function Tr({ src: e, alt: t, title: n, mode: r, rootRef: i, imageProps: a }) {
8453
8449
  referrerPolicy: "no-referrer",
8454
8450
  ...C
8455
8451
  }), T = t || n ? o(`Image preview: ${t || n}`, `图片预览:${t || n}`) : o("Image preview", "图片预览"), E = !!(t || n), D = n && n !== t ? n : void 0;
8456
- return /* @__PURE__ */ V(z, { children: [w, p && h && _ === e ? ee(/* @__PURE__ */ V("dialog", {
8452
+ return /* @__PURE__ */ W(ne, { children: [w, p && h && _ === e ? re(/* @__PURE__ */ W("dialog", {
8457
8453
  ref: c,
8458
8454
  className: "md-image-zoom",
8459
8455
  "aria-label": T,
@@ -8467,27 +8463,27 @@ function Tr({ src: e, alt: t, title: n, mode: r, rootRef: i, imageProps: a }) {
8467
8463
  onClick: (e) => {
8468
8464
  e.target === e.currentTarget && x();
8469
8465
  },
8470
- children: [/* @__PURE__ */ B("button", {
8466
+ children: [/* @__PURE__ */ U("button", {
8471
8467
  type: "button",
8472
8468
  className: "md-image-zoom-close",
8473
8469
  "data-rmd-appearance": "custom",
8474
8470
  "aria-label": o("Close image preview", "关闭图片预览"),
8475
8471
  onClick: x,
8476
- children: /* @__PURE__ */ B("span", {
8472
+ children: /* @__PURE__ */ U("span", {
8477
8473
  "aria-hidden": "true",
8478
8474
  children: "×"
8479
8475
  })
8480
- }), /* @__PURE__ */ V("figure", {
8476
+ }), /* @__PURE__ */ W("figure", {
8481
8477
  className: "md-image-zoom-figure",
8482
- children: [/* @__PURE__ */ B("img", {
8478
+ children: [/* @__PURE__ */ U("img", {
8483
8479
  className: "md-image-zoom-full",
8484
8480
  src: e,
8485
8481
  alt: t,
8486
8482
  title: n,
8487
8483
  referrerPolicy: "no-referrer"
8488
- }), E ? /* @__PURE__ */ V("figcaption", {
8484
+ }), E ? /* @__PURE__ */ W("figcaption", {
8489
8485
  className: "md-image-zoom-caption",
8490
- children: [t ? /* @__PURE__ */ B("span", { children: t }) : null, D ? /* @__PURE__ */ B("span", {
8486
+ children: [t ? /* @__PURE__ */ U("span", { children: t }) : null, D ? /* @__PURE__ */ U("span", {
8491
8487
  className: "md-image-zoom-title",
8492
8488
  children: D
8493
8489
  }) : null]
@@ -8496,7 +8492,7 @@ function Tr({ src: e, alt: t, title: n, mode: r, rootRef: i, imageProps: a }) {
8496
8492
  }), h) : null] });
8497
8493
  }
8498
8494
  // src/local/html/extended-fragment.ts
8499
- function Er(e, t, n, r) {
8495
+ function Mr(e, t, n, r) {
8500
8496
  if (typeof e != "string") return { diagnostics: [] };
8501
8497
  if (!Number.isFinite(n) || n < 0) return { diagnostics: [{
8502
8498
  code: "local.budget",
@@ -8511,36 +8507,36 @@ function Er(e, t, n, r) {
8511
8507
  messageKey: "local.budget.nodes",
8512
8508
  params: { limit: 0 }
8513
8509
  }] };
8514
- let i = m(e, t, n, r ?? []), a = i.diagnostics.length <= 100 ? i.diagnostics : i.diagnostics.slice(0, 100);
8510
+ let i = _(e, t, n, r ?? []), a = i.diagnostics.length <= 100 ? i.diagnostics : i.diagnostics.slice(0, 100);
8515
8511
  return i.markup === void 0 || i.markup.trim() === "" ? { diagnostics: a } : {
8516
8512
  markup: i.markup,
8517
8513
  inlineSafe: i.inlineSafe,
8518
8514
  diagnostics: a
8519
8515
  };
8520
8516
  }
8521
- function Dr(e, t, n) {
8522
- return `<!doctype html><html><head><meta charset="utf-8"><meta http-equiv="Content-Security-Policy" content="${g(t, n ?? [], !0).replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/</g, "&lt;").replace(/>/g, "&gt;")}"></head><body>${e}</body></html>`;
8517
+ function Nr(e, t, n) {
8518
+ return `<!doctype html><html><head><meta charset="utf-8"><meta http-equiv="Content-Security-Policy" content="${y(t, n ?? [], !0).replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/</g, "&lt;").replace(/>/g, "&gt;")}"></head><body>${e}</body></html>`;
8523
8519
  }
8524
- function Or(e) {
8525
- return h(e);
8520
+ function Pr(e) {
8521
+ return v(e);
8526
8522
  }
8527
8523
  // src/react/rendering/document/ExtendedHtmlFragment.tsx
8528
- function kr({ source: e, policy: t, allowedFrameOrigins: n, inline: r, sourceAttributes: i, onDiagnostics: a }) {
8529
- let o = re(), s = t.enableExtendedHtml === !0, c = F(() => s ? Er(e, t, Math.max(1e3, e.length * 2 + 10), n) : { diagnostics: [] }, [
8524
+ function Fr({ source: e, policy: t, allowedFrameOrigins: n, inline: r, sourceAttributes: i, onDiagnostics: a }) {
8525
+ let o = oe(), s = t.enableExtendedHtml === !0, c = B(() => s ? Mr(e, t, Math.max(1e3, e.length * 2 + 10), n) : { diagnostics: [] }, [
8530
8526
  s,
8531
8527
  e,
8532
8528
  t,
8533
8529
  n
8534
- ]), l = I(a);
8535
- l.current = a, N(() => {
8530
+ ]), l = V(a);
8531
+ l.current = a, z(() => {
8536
8532
  s && c.diagnostics.length && l.current?.(c.diagnostics);
8537
8533
  }, [s, c]);
8538
8534
  let u = r ? "span" : "div";
8539
- return !s || c.markup === void 0 ? /* @__PURE__ */ B(u, {
8535
+ return !s || c.markup === void 0 ? /* @__PURE__ */ U(u, {
8540
8536
  className: "local-extended-fragment local-extended-fragment-fallback",
8541
8537
  "data-extended-html": "fallback",
8542
8538
  ...i,
8543
- children: /* @__PURE__ */ B("span", {
8539
+ children: /* @__PURE__ */ U("span", {
8544
8540
  className: "local-fallback local-fallback-block",
8545
8541
  style: {
8546
8542
  whiteSpace: "pre-wrap",
@@ -8548,22 +8544,22 @@ function kr({ source: e, policy: t, allowedFrameOrigins: n, inline: r, sourceAtt
8548
8544
  },
8549
8545
  children: e
8550
8546
  })
8551
- }) : c.inlineSafe ? /* @__PURE__ */ B(u, {
8547
+ }) : c.inlineSafe ? /* @__PURE__ */ U(u, {
8552
8548
  className: "local-extended-fragment",
8553
8549
  "data-extended-html": "direct",
8554
8550
  ...i,
8555
8551
  dangerouslySetInnerHTML: { __html: c.markup }
8556
- }) : /* @__PURE__ */ B(u, {
8552
+ }) : /* @__PURE__ */ U(u, {
8557
8553
  className: "local-extended-fragment",
8558
8554
  "data-extended-html": "sandbox",
8559
8555
  "data-rmd-snapshot-css": t.enableCss ? "" : void 0,
8560
8556
  ...i,
8561
- children: /* @__PURE__ */ B("iframe", {
8557
+ children: /* @__PURE__ */ U("iframe", {
8562
8558
  className: "local-extended-fragment-frame",
8563
- title: w(o, "Extended HTML fragment", "扩展 HTML 片段"),
8564
- sandbox: Or(t),
8559
+ title: A(o, "Extended HTML fragment", "扩展 HTML 片段"),
8560
+ sandbox: Pr(t),
8565
8561
  referrerPolicy: "no-referrer",
8566
- srcDoc: Dr(c.markup, t, n),
8562
+ srcDoc: Nr(c.markup, t, n),
8567
8563
  style: {
8568
8564
  display: r ? "inline-block" : "block",
8569
8565
  width: "100%",
@@ -8576,9 +8572,9 @@ function kr({ source: e, policy: t, allowedFrameOrigins: n, inline: r, sourceAtt
8576
8572
  });
8577
8573
  }
8578
8574
  // src/react/rendering/document/StaticExternalSlot.tsx
8579
- var Ar = /* @__PURE__ */ new WeakMap();
8580
- function jr({ slot: e, render: t, resolver: n, trace: r, report: i, position: a }) {
8581
- let o = I(null), s = I(!1), c = null;
8575
+ var Ir = /* @__PURE__ */ new WeakMap();
8576
+ function Lr({ slot: e, render: t, resolver: n, trace: r, report: i, position: a }) {
8577
+ let o = V(null), s = V(!1), c = null;
8582
8578
  if (t) try {
8583
8579
  c = t(e), o.current = null;
8584
8580
  } catch (e) {
@@ -8603,33 +8599,33 @@ function jr({ slot: e, render: t, resolver: n, trace: r, report: i, position: a
8603
8599
  }]);
8604
8600
  } catch {}
8605
8601
  }
8606
- return /* @__PURE__ */ B("span", {
8602
+ return /* @__PURE__ */ U("span", {
8607
8603
  "data-rmd-external-slot": e.name,
8608
8604
  "data-local-host-reason": "error",
8609
8605
  role: "note",
8610
- children: w(e.locale, "Content unavailable", "内容暂不可用")
8606
+ children: A(e.locale, "Content unavailable", "内容暂不可用")
8611
8607
  });
8612
8608
  }
8613
- return n ? /* @__PURE__ */ B(Mr, {
8609
+ return n ? /* @__PURE__ */ U(Rr, {
8614
8610
  slot: e,
8615
8611
  resolver: n,
8616
8612
  trace: r,
8617
8613
  report: i,
8618
8614
  position: a
8619
- }) : /* @__PURE__ */ B("span", {
8615
+ }) : /* @__PURE__ */ U("span", {
8620
8616
  "data-rmd-external-slot": e.name,
8621
- children: w(e.locale, "Content unavailable", "内容暂不可用")
8617
+ children: A(e.locale, "Content unavailable", "内容暂不可用")
8622
8618
  });
8623
8619
  }
8624
- function Mr({ slot: e, resolver: t, trace: n, report: r, position: i }) {
8625
- let a = Ar.get(t);
8626
- a || (a = new v(t, (e) => e.name, (e, t) => typeof t == "function" ? t : null), Ar.set(t, a));
8627
- let o = F(() => ({ name: e.name }), [e.name]), s = j((e) => a.subscribe(o, e, n), [
8620
+ function Rr({ slot: e, resolver: t, trace: n, report: r, position: i }) {
8621
+ let a = Ir.get(t);
8622
+ a || (a = new S(t, (e) => e.name, (e, t) => typeof t == "function" ? t : null), Ir.set(t, a));
8623
+ let o = B(() => ({ name: e.name }), [e.name]), s = L((e) => a.subscribe(o, e, n), [
8628
8624
  a,
8629
8625
  o,
8630
8626
  n
8631
- ]), c = j(() => a.snapshot(o), [a, o]), l = R(s, c, a.serverSnapshot), u = I(!1), d = l.status === "loading", f = d ? "local.extension.load" : "local.extension.load-failed", p = d ? w(e.locale, "Loading component…", "正在加载组件…") : w(e.locale, "The component could not be loaded.", "组件加载失败。");
8632
- return N(() => {
8627
+ ]), c = L(() => a.snapshot(o), [a, o]), l = te(s, c, a.serverSnapshot), u = V(!1), d = l.status === "loading", f = d ? "local.extension.load" : "local.extension.load-failed", p = d ? A(e.locale, "Loading component…", "正在加载组件…") : A(e.locale, "The component could not be loaded.", "组件加载失败。");
8628
+ return z(() => {
8633
8629
  l.status === "failed" ? !u.current && r && i && (u.current = !0, r([{
8634
8630
  code: f,
8635
8631
  message: p,
@@ -8647,23 +8643,23 @@ function Mr({ slot: e, resolver: t, trace: n, report: r, position: i }) {
8647
8643
  p,
8648
8644
  e.range,
8649
8645
  i
8650
- ]), l.status === "ready" ? /* @__PURE__ */ V(z, { children: [n?.observer?.onTrace && /* @__PURE__ */ B(_, {
8646
+ ]), l.status === "ready" ? /* @__PURE__ */ W(ne, { children: [n?.observer?.onTrace && /* @__PURE__ */ U(b, {
8651
8647
  trace: n,
8652
8648
  component: o
8653
- }), /* @__PURE__ */ B(l.component, { ...e })] }) : /* @__PURE__ */ V("span", {
8649
+ }), /* @__PURE__ */ U(l.component, { ...e })] }) : /* @__PURE__ */ W("span", {
8654
8650
  "data-rmd-external-slot": e.name,
8655
8651
  "data-rmd-component-load": l.status,
8656
8652
  role: "status",
8657
- children: [p, !d && /* @__PURE__ */ B("button", {
8653
+ children: [p, !d && /* @__PURE__ */ U("button", {
8658
8654
  type: "button",
8659
8655
  onClick: () => a.retry(o, n),
8660
- children: w(e.locale, "Retry", "重试")
8656
+ children: A(e.locale, "Retry", "重试")
8661
8657
  })]
8662
8658
  });
8663
8659
  }
8664
8660
  // src/react/rendering/document/StaticHostData.tsx
8665
- function Nr({ kind: e, reference: t, resolve: n, render: r, placeholder: i }) {
8666
- let a = F(() => ({
8661
+ function zr({ kind: e, reference: t, resolve: n, render: r, placeholder: i }) {
8662
+ let a = B(() => ({
8667
8663
  kind: e,
8668
8664
  ref: t,
8669
8665
  resolve: n
@@ -8671,8 +8667,8 @@ function Nr({ kind: e, reference: t, resolve: n, render: r, placeholder: i }) {
8671
8667
  e,
8672
8668
  t,
8673
8669
  n
8674
- ]), [o, s] = L();
8675
- return N(() => {
8670
+ ]), [o, s] = H();
8671
+ return z(() => {
8676
8672
  let e = new AbortController(), { signal: t } = e;
8677
8673
  return Promise.resolve().then(() => {
8678
8674
  if (!t.aborted) return a.resolve({
@@ -8694,13 +8690,13 @@ function Nr({ kind: e, reference: t, resolve: n, render: r, placeholder: i }) {
8694
8690
  }, [a]), o?.request === a ? "failed" in o ? i("error") : o.data === void 0 ? i("data") : r(o.data) : i("loading");
8695
8691
  }
8696
8692
  // src/react/rendering/document/render-nodes.tsx
8697
- function Pr(e) {
8693
+ function Br(e) {
8698
8694
  return `h${Math.min(6, Math.max(1, e ?? 1))}`;
8699
8695
  }
8700
8696
  function Z(e, t, n) {
8701
8697
  return "runtime" in e && e.stableComponentKeys ? `${t.type}:${t.name ?? ""}:${n}` : t.id || `${t.type}-${n}`;
8702
8698
  }
8703
- var Fr = /^(?:aria|data)-[a-z0-9_.:-]+$/, Ir = /* @__PURE__ */ new Set([
8699
+ var Vr = /^(?:aria|data)-[a-z0-9_.:-]+$/, Hr = /* @__PURE__ */ new Set([
8704
8700
  "aria-labelledby",
8705
8701
  "aria-describedby",
8706
8702
  "aria-controls",
@@ -8713,116 +8709,154 @@ var Fr = /^(?:aria|data)-[a-z0-9_.:-]+$/, Ir = /* @__PURE__ */ new Set([
8713
8709
  function Q(e, t) {
8714
8710
  let n = t.attrs;
8715
8711
  if (!n) return {};
8716
- let r = {}, a = e.anchors.ids.get(t) ?? e.anchors.htmlIds.get(t);
8717
- a && (r.id = a);
8718
- for (let [a, o] of Object.entries(n)) {
8719
- let n = a.toLowerCase();
8712
+ let r = {}, i = e.anchors.ids.get(t) ?? e.anchors.htmlIds.get(t);
8713
+ i && (r.id = i);
8714
+ for (let [i, a] of Object.entries(n)) {
8715
+ let n = i.toLowerCase();
8720
8716
  if (n !== "id") {
8721
8717
  if (n === "align" && (t.type === "div" || t.type === "paragraph" || t.type === "heading")) {
8722
- let e = i(o);
8718
+ let e = s(a);
8723
8719
  e && (r.align = e);
8724
- } else if (n === "title" || n === "lang") r[n] = o;
8720
+ } else if (n === "title" || n === "lang") r[n] = a;
8725
8721
  else if (n === "dir") {
8726
- let e = o.trim().toLowerCase();
8722
+ let e = a.trim().toLowerCase();
8727
8723
  (e === "ltr" || e === "rtl" || e === "auto") && (r.dir = e);
8728
- } else Fr.test(n) && (r[n] = Ir.has(n) ? o.trim().split(/\s+/).filter(Boolean).map((t) => e.anchors.referenceId(t)).join(" ") : o);
8724
+ } else Vr.test(n) && (r[n] = Hr.has(n) ? a.trim().split(/\s+/).filter(Boolean).map((t) => e.anchors.referenceId(t)).join(" ") : a);
8729
8725
  }
8730
8726
  }
8731
8727
  return r;
8732
8728
  }
8733
- function Lr(e, t, n, a) {
8734
- let o = [], s = (e) => {
8735
- for (let t of e) t.name === "tr" ? o.push(t) : t.name !== "td" && t.name !== "th" && t.type !== "htmlTable" && s(t.children ?? []);
8729
+ function Ur(e, t, n, i) {
8730
+ let a = [], o = (e) => {
8731
+ for (let t of e) t.name === "tr" ? a.push(t) : t.name !== "td" && t.name !== "th" && t.type !== "htmlTable" && o(t.children ?? []);
8736
8732
  };
8737
- s(t.children ?? []);
8738
- let c = o.some((e) => e.children?.some((e) => ["colspan", "rowspan"].some((t) => e.attrs?.[t] !== void 0 && e.attrs[t] !== "1"))), l = o.filter((e) => e.children?.some((e) => e.name === "td")), u = (t) => {
8733
+ o(t.children ?? []);
8734
+ let c = a.some((e) => e.children?.some((e) => ["colspan", "rowspan"].some((t) => e.attrs?.[t] !== void 0 && e.attrs[t] !== "1"))), l = a.filter((e) => e.children?.some((e) => e.name === "td")), u = (t) => {
8739
8735
  if (t.type === "interpolation") try {
8740
- return "runtime" in e ? ce(e.runtime.evaluate(t.value ?? "")) ?? "" : "";
8736
+ return "runtime" in e ? K(e.runtime.evaluate(t.value ?? "")) ?? "" : "";
8741
8737
  } catch {
8742
8738
  return "";
8743
8739
  }
8744
8740
  return (t.value ?? "") + (t.children ?? []).map(u).join("");
8745
- }, d = c ? [] : Je(l.map((e) => e.children ?? []), "runtime" in e ? e.runtime : void 0, e.t), f = (t, a = 0) => {
8746
- if (t.type === "htmlTable") return Lr(e, t, n, t.id);
8747
- let o = t.name ?? "";
8748
- if (!r.has(o) || o === "table") return null;
8749
- let s = {
8741
+ }, d = c ? [] : $e(l.map((e) => e.children ?? []), "runtime" in e ? e.runtime : void 0, e.t), f = (t, i = 0) => {
8742
+ if (t.type === "htmlTable") return Ur(e, t, n, t.id);
8743
+ let a = t.name ?? "";
8744
+ if (!r.has(a) || a === "table") return null;
8745
+ let o = {
8750
8746
  ...Q(e, t),
8751
- key: Z(e, t, a)
8747
+ key: Z(e, t, i)
8752
8748
  }, c = t.attrs ?? {};
8753
- if (o === "th" || o === "td") {
8754
- c.colspan !== void 0 && (s.colSpan = Number(c.colspan)), c.rowspan !== void 0 && (s.rowSpan = Number(c.rowspan)), c.scope !== void 0 && (s.scope = c.scope.trim().toLowerCase()), c.abbr !== void 0 && (s.abbr = c.abbr), c.headers !== void 0 && (s.headers = c.headers.trim().split(/\s+/).map((t) => e.anchors.referenceId(t)).join(" ")), d[a] && (s.className = "is-numeric");
8755
- let r = c.align && i(c.align);
8756
- return r && (s.style = { textAlign: r }), k(o, s, $(e, t.children, n));
8749
+ if (a === "th" || a === "td") {
8750
+ c.colspan !== void 0 && (o.colSpan = Number(c.colspan)), c.rowspan !== void 0 && (o.rowSpan = Number(c.rowspan)), c.scope !== void 0 && (o.scope = c.scope.trim().toLowerCase()), c.abbr !== void 0 && (o.abbr = c.abbr), c.headers !== void 0 && (o.headers = c.headers.trim().split(/\s+/).map((t) => e.anchors.referenceId(t)).join(" ")), d[i] && (o.className = "is-numeric");
8751
+ let r = c.align && s(c.align);
8752
+ return r && (o.style = { textAlign: r }), F(a, o, $(e, t.children, n));
8757
8753
  }
8758
- return (o === "col" || o === "colgroup") && (c.span !== void 0 && (s.span = Number(c.span)), o === "col") ? k("col", s) : k(o, s, (t.children ?? []).map((e, t) => f(e, t)));
8754
+ return (a === "col" || a === "colgroup") && (c.span !== void 0 && (o.span = Number(c.span)), a === "col") ? F("col", o) : F(a, o, (t.children ?? []).map((e, t) => f(e, t)));
8759
8755
  }, p = t.children?.find((e) => e.name === "caption"), m = p ? $(e, (p.children ?? []).flatMap((e) => e.type === "paragraph" ? e.children ?? [] : [e]), n, !1) : e.t("Table", "表格");
8760
- return /* @__PURE__ */ B(C, {
8756
+ return /* @__PURE__ */ U(k, {
8761
8757
  className: "local-visual-table-block local-html-table-block",
8762
8758
  label: m,
8763
- children: /* @__PURE__ */ V(x, {
8759
+ children: /* @__PURE__ */ W(E, {
8764
8760
  tableProps: {
8765
8761
  ...Q(e, t),
8766
8762
  ...c ? { "data-merged": "true" } : {}
8767
8763
  },
8768
- children: [/* @__PURE__ */ B("caption", {
8764
+ children: [/* @__PURE__ */ U("caption", {
8769
8765
  ...p ? Q(e, p) : {},
8770
8766
  className: "local-visual-sr-only",
8771
8767
  children: p ? u(p) : e.t("Table", "表格")
8772
8768
  }), (t.children ?? []).filter((e) => e.name !== "caption").map((e) => f(e))]
8773
8769
  })
8774
- }, a);
8770
+ }, i);
8775
8771
  }
8776
- function Rr(e, t) {
8777
- return ke(e, t);
8772
+ function Wr(e, t) {
8773
+ return e.condition === t.condition && Pe(e, t);
8774
+ }
8775
+ var Gr = I(function({ node: e, index: t, visible: n, env: r, condition: i }) {
8776
+ return ni(r, e, t, n, !0, i);
8777
+ }, Wr);
8778
+ function Kr({ elseId: e, selection: t, children: n }) {
8779
+ let r = B(() => ({
8780
+ elseId: e,
8781
+ shown: t === !0,
8782
+ error: t === null
8783
+ }), [e, t]);
8784
+ return /* @__PURE__ */ U(O.Provider, {
8785
+ value: r,
8786
+ children: n
8787
+ });
8788
+ }
8789
+ function qr(e, t, n, r, i) {
8790
+ let a = i === !0;
8791
+ return /* @__PURE__ */ U("div", {
8792
+ className: "local-if md-if local-else",
8793
+ role: "group",
8794
+ "aria-label": e.t("Alternative content", "否则内容"),
8795
+ hidden: !a,
8796
+ "aria-hidden": !a,
8797
+ children: a ? $(e, t.children, r) : null
8798
+ }, n);
8778
8799
  }
8779
- var zr = A(function({ node: e, index: t, visible: n, env: r }) {
8780
- return Jr(r, e, t, n, !0);
8781
- }, Rr);
8782
8800
  function $(e, t, n, r = !0) {
8783
8801
  if (!t || t.length === 0) return null;
8784
- if (!r || !("runtime" in e)) return t.map((t, i) => Jr(e, t, i, n, r));
8785
- let i = null, a = null;
8802
+ let i = (t) => e.definitions.get(t);
8803
+ if (!("runtime" in e)) {
8804
+ let a = x(t, i, e.staticRuntime);
8805
+ return t.map((t, o) => {
8806
+ let s = a.get(t)?.();
8807
+ return s && C(t, "else", i) ? qr(e, t, Z(e, t, o), n, s.selection) : ni(e, t, o, n, r);
8808
+ });
8809
+ }
8810
+ if (!r) return t.map((t, r) => ni(e, t, r, n, !1));
8811
+ let a = null, o = null;
8786
8812
  try {
8787
- i = e.runtime.snapshot().state, a = p(e.runtime);
8813
+ a = e.runtime.snapshot().state, o = g(e.runtime);
8788
8814
  } catch {
8789
- i = null;
8815
+ a = null;
8790
8816
  }
8791
- let o = i;
8792
- return t.map((t, r) => {
8793
- let i = e.dependencies.get(t.id), s = i == null || o === null || a === null ? null : i.map((e) => o[e]), c = a?.get(t.id) ?? 0;
8794
- return /* @__PURE__ */ B(zr, {
8817
+ let s = a, c = (t, r, i) => {
8818
+ let a = e.dependencies.get(t.id), c = a == null || s === null || o === null ? null : a.map((e) => s[e]), l = o?.get(t.id) ?? 0;
8819
+ return /* @__PURE__ */ U(Gr, {
8795
8820
  node: t,
8796
8821
  index: r,
8797
8822
  visible: n,
8798
8823
  env: e,
8799
- depValues: s,
8800
- resetToken: c
8824
+ depValues: c,
8825
+ resetToken: l,
8826
+ condition: i
8801
8827
  }, Z(e, t, r));
8828
+ }, l = x(t, i, e.runtime);
8829
+ return t.map((t, n) => {
8830
+ let r = l.get(t)?.(), a = c(t, n, r?.condition);
8831
+ return r && C(t, "else", i) ? /* @__PURE__ */ U(Kr, {
8832
+ elseId: t.id,
8833
+ selection: r.selection,
8834
+ children: a
8835
+ }, Z(e, t, n)) : a;
8802
8836
  });
8803
8837
  }
8804
- function Br(e, t) {
8838
+ function Jr(e, t) {
8805
8839
  if (typeof t.value == "string") return t.value;
8806
8840
  let { start: n, end: r } = t.range;
8807
8841
  return Number.isInteger(n) && Number.isInteger(r) && n >= 0 && r >= n ? ("runtime" in e ? e.runtime.document.source : e.source).slice(n, r) : "";
8808
8842
  }
8809
- function Vr(e, t, n, r) {
8810
- return /* @__PURE__ */ B("span", {
8843
+ function Yr(e, t, n, r) {
8844
+ return /* @__PURE__ */ U("span", {
8811
8845
  className: r ? "local-fallback local-fallback-block" : "local-fallback local-fallback-inline",
8812
8846
  title: e.t("Unsupported syntax shown as source", "未支持的语法,已按源码原样显示"),
8813
- ...G(e, t),
8847
+ ...q(e, t),
8814
8848
  "data-local-fallback": "",
8815
- children: Br(e, t)
8849
+ children: Jr(e, t)
8816
8850
  }, n);
8817
8851
  }
8818
- function Hr(e, t, n) {
8819
- return !t || t.length === 0 ? null : t.map((t, r) => t.type === "paragraph" || t.type === "root" ? /* @__PURE__ */ B("span", { children: $(e, t.children, n, !1) }, Z(e, t, r)) : Jr(e, t, r, n, !1));
8852
+ function Xr(e, t, n) {
8853
+ return !t || t.length === 0 ? null : t.map((t, r) => t.type === "paragraph" || t.type === "root" ? /* @__PURE__ */ U("span", { children: $(e, t.children, n, !1) }, Z(e, t, r)) : ni(e, t, r, n, !1));
8820
8854
  }
8821
- function Ur(e, t, n) {
8855
+ function Zr(e, t, n) {
8822
8856
  let r = e.footnotes.siteFor(t);
8823
8857
  if (!r || !r.entry) {
8824
- let i = r?.label || c(t) || "?";
8825
- return /* @__PURE__ */ B("span", {
8858
+ let i = r?.label || d(t) || "?";
8859
+ return /* @__PURE__ */ U("span", {
8826
8860
  className: "local-footnote-missing",
8827
8861
  title: e.t("Undefined footnote", "未定义的脚注"),
8828
8862
  "data-local-footnote-missing": "",
@@ -8830,9 +8864,9 @@ function Ur(e, t, n) {
8830
8864
  }, n);
8831
8865
  }
8832
8866
  let i = r.entry;
8833
- return /* @__PURE__ */ B("sup", {
8867
+ return /* @__PURE__ */ U("sup", {
8834
8868
  className: "local-footnote-ref",
8835
- children: /* @__PURE__ */ B("a", {
8869
+ children: /* @__PURE__ */ U("a", {
8836
8870
  id: r.id,
8837
8871
  href: `#${i.id}`,
8838
8872
  className: "local-footnote-ref-link",
@@ -8843,8 +8877,8 @@ function Ur(e, t, n) {
8843
8877
  })
8844
8878
  }, n);
8845
8879
  }
8846
- function Wr(e, t) {
8847
- let n = be.exec(t);
8880
+ function Qr(e, t) {
8881
+ let n = we.exec(t);
8848
8882
  if (n) try {
8849
8883
  let t = e.evaluate(n[1]);
8850
8884
  return t === null || typeof t == "string" || typeof t == "number" || typeof t == "boolean" ? t : null;
@@ -8857,8 +8891,8 @@ function Wr(e, t) {
8857
8891
  return null;
8858
8892
  }
8859
8893
  }
8860
- function Gr(e, t, n, r) {
8861
- let i = t.name ?? "", a = (t, r = !1) => /* @__PURE__ */ B("span", {
8894
+ function $r(e, t, n, r) {
8895
+ let i = t.name ?? "", a = (t, r = !1) => /* @__PURE__ */ U("span", {
8862
8896
  className: `local-host-component local-host-unavailable${r ? " local-sdk-unavailable" : ""}`,
8863
8897
  "data-local-host-component": i,
8864
8898
  "data-local-host-reason": t,
@@ -8867,9 +8901,9 @@ function Gr(e, t, n, r) {
8867
8901
  children: t === "loading" ? e.t("Loading host content…", "正在加载宿主内容…") : e.t(`Host component <${i}> is unavailable here.`, `宿主组件 <${i}> 在此不可用。`)
8868
8902
  }, n);
8869
8903
  if ("runtime" in e && e.extensionRenderer) try {
8870
- return k(D, { key: n }, e.extensionRenderer(t, ve(e, t, r, $, Hr)));
8904
+ return F(N, { key: n }, e.extensionRenderer(t, Se(e, t, r, $, Xr)));
8871
8905
  } catch (e) {
8872
- return a(e instanceof y ? "renderer" : "error", !0);
8906
+ return a(e instanceof w ? "renderer" : "error", !0);
8873
8907
  }
8874
8908
  let o = "staticRuntime" in e, s = o ? e.staticRuntime : e.runtime, c = t.attrs?.kind?.trim() ?? "", l = t.attrs?.ref?.trim() ?? "", u = c !== "" && l !== "" ? `${c}:${l}` : null;
8875
8909
  if (u === null) {
@@ -8885,20 +8919,20 @@ function Gr(e, t, n, r) {
8885
8919
  if (!d) return a("renderer");
8886
8920
  let f = (i) => {
8887
8921
  try {
8888
- let s = d(t, i, Kr(e, t, r));
8889
- return o ? /* @__PURE__ */ B(U, {
8922
+ let s = d(t, i, ei(e, t, r));
8923
+ return o ? /* @__PURE__ */ U(me, {
8890
8924
  revision: e.trace?.sourceRevision ?? 0,
8891
8925
  resetKey: i,
8892
8926
  fallback: a("error"),
8893
8927
  children: s
8894
- }, n) : k(D, { key: n }, s);
8928
+ }, n) : F(N, { key: n }, s);
8895
8929
  } catch {
8896
8930
  return a("error");
8897
8931
  }
8898
8932
  };
8899
8933
  if (u === null) return f(void 0);
8900
8934
  let p = e.hostData?.[u];
8901
- return p === void 0 ? o && e.resolveHostData ? /* @__PURE__ */ B(Nr, {
8935
+ return p === void 0 ? o && e.resolveHostData ? /* @__PURE__ */ U(zr, {
8902
8936
  kind: c,
8903
8937
  reference: l,
8904
8938
  resolve: e.resolveHostData,
@@ -8906,7 +8940,7 @@ function Gr(e, t, n, r) {
8906
8940
  placeholder: a
8907
8941
  }, n) : a("data") : f(p);
8908
8942
  }
8909
- function Kr(e, t, n) {
8943
+ function ei(e, t, n) {
8910
8944
  let r = "staticRuntime" in e, i = r ? e.staticRuntime : e.runtime, a = () => {
8911
8945
  try {
8912
8946
  return i.get(t);
@@ -8914,14 +8948,14 @@ function Kr(e, t, n) {
8914
8948
  return null;
8915
8949
  }
8916
8950
  }, o = {};
8917
- for (let [e, n] of Object.entries(t.attrs ?? {})) e !== "bind" && e !== "initial" && e !== "disabled" && (o[e] = r || t.literalAttributes && n.includes("{{") ? n : Wr(i, n));
8951
+ for (let [e, n] of Object.entries(t.attrs ?? {})) e !== "bind" && e !== "initial" && e !== "disabled" && (o[e] = r || t.literalAttributes && n.includes("{{") || t.macroLiteralAttrs?.includes(e) ? n : Qr(i, n));
8918
8952
  let s = 0;
8919
8953
  try {
8920
8954
  s = i.resetToken(t);
8921
8955
  } catch {
8922
8956
  s = 0;
8923
8957
  }
8924
- let c = ue(i, t, "disabled", !1);
8958
+ let c = de(i, t, "disabled", !1);
8925
8959
  return {
8926
8960
  runtime: i,
8927
8961
  render: (n, r = !0) => $(e, n ?? t.children ?? [], r),
@@ -8943,7 +8977,7 @@ function Kr(e, t, n) {
8943
8977
  report: (t) => e.report?.(t)
8944
8978
  };
8945
8979
  }
8946
- function qr(e, t, n, r) {
8980
+ function ti(e, t, n, r) {
8947
8981
  let i = (e) => e.type === "blockquote" || e.type === "list" || e.type === "listItem" && typeof e.checked != "boolean";
8948
8982
  if (!i(t) || t.children?.length !== 1 || !i(t.children[0])) return;
8949
8983
  let a = [], o = t;
@@ -8952,19 +8986,19 @@ function qr(e, t, n, r) {
8952
8986
  let s = $(e, o.children, n);
8953
8987
  for (let t = a.length - 1; t >= 0; t--) {
8954
8988
  let n = a[t], i = Q(e, n), o = t === 0 ? r : Z(e, n, 0);
8955
- s = n.type === "blockquote" ? /* @__PURE__ */ B("blockquote", {
8989
+ s = n.type === "blockquote" ? /* @__PURE__ */ U("blockquote", {
8956
8990
  ...i,
8957
8991
  children: s
8958
- }, o) : n.type === "listItem" ? /* @__PURE__ */ B("li", {
8992
+ }, o) : n.type === "listItem" ? /* @__PURE__ */ U("li", {
8959
8993
  ...i,
8960
8994
  className: "md-list-item",
8961
8995
  children: s
8962
- }, o) : n.ordered ? /* @__PURE__ */ B("ol", {
8996
+ }, o) : n.ordered ? /* @__PURE__ */ U("ol", {
8963
8997
  ...i,
8964
8998
  start: n.start ?? 1,
8965
8999
  className: "md-list",
8966
9000
  children: s
8967
- }, o) : /* @__PURE__ */ B("ul", {
9001
+ }, o) : /* @__PURE__ */ U("ul", {
8968
9002
  ...i,
8969
9003
  className: "md-list",
8970
9004
  children: s
@@ -8972,14 +9006,14 @@ function qr(e, t, n, r) {
8972
9006
  }
8973
9007
  return s;
8974
9008
  }
8975
- function Jr(e, t, n, r, i = !0) {
8976
- let o = Z(e, t, n), s = qr(e, t, r, o);
9009
+ function ni(e, t, n, r, i = !0, a) {
9010
+ let o = Z(e, t, n), s = ti(e, t, r, o);
8977
9011
  if (s !== void 0) return s;
8978
9012
  if (t.type === "component") {
8979
9013
  if (!("runtime" in e)) {
8980
9014
  if (t.name === "if") {
8981
9015
  let n = t.attrs?.when === "true";
8982
- return /* @__PURE__ */ B("div", {
9016
+ return /* @__PURE__ */ U("div", {
8983
9017
  className: "local-if md-if",
8984
9018
  role: "group",
8985
9019
  hidden: !n,
@@ -8988,140 +9022,140 @@ function Jr(e, t, n, r, i = !0) {
8988
9022
  children: n ? $(e, t.children, r) : null
8989
9023
  }, o);
8990
9024
  }
8991
- return Xr(e, t, o, r);
9025
+ return ii(e, t, o, r);
8992
9026
  }
8993
- return /* @__PURE__ */ B(U, {
8994
- revision: Ae(e.runtime),
8995
- children: Zr(e, t, r)
9027
+ return /* @__PURE__ */ U(me, {
9028
+ revision: Fe(e.runtime),
9029
+ children: ai(e, t, r, a)
8996
9030
  }, o);
8997
9031
  }
8998
9032
  switch (t.type) {
8999
- case "root": return /* @__PURE__ */ B("div", { children: $(e, t.children, r) }, o);
9000
- case "heading": return k(Pr(t.depth), {
9033
+ case "root": return /* @__PURE__ */ U("div", { children: $(e, t.children, r) }, o);
9034
+ case "heading": return F(Br(t.depth), {
9001
9035
  key: o,
9002
9036
  id: e.anchors.ids.get(t),
9003
9037
  ...Q(e, t),
9004
- ...G(e, t)
9038
+ ...q(e, t)
9005
9039
  }, $(e, t.children, r, !1));
9006
- case "paragraph": return /* @__PURE__ */ B("p", {
9040
+ case "paragraph": return /* @__PURE__ */ U("p", {
9007
9041
  ...Q(e, t),
9008
- ...G(e, t),
9042
+ ...q(e, t),
9009
9043
  children: $(e, t.children, r, !1)
9010
9044
  }, o);
9011
- case "text": return /* @__PURE__ */ B("span", { children: t.value ?? "" }, o);
9012
- case "rawBody": return /* @__PURE__ */ B("span", {
9045
+ case "text": return /* @__PURE__ */ U("span", { children: t.value ?? "" }, o);
9046
+ case "rawBody": return /* @__PURE__ */ U("span", {
9013
9047
  className: "local-raw-body",
9014
9048
  children: t.value ?? ""
9015
9049
  }, o);
9016
- case "emphasis": return /* @__PURE__ */ B("em", {
9050
+ case "emphasis": return /* @__PURE__ */ U("em", {
9017
9051
  ...Q(e, t),
9018
9052
  children: $(e, t.children, r, !1)
9019
9053
  }, o);
9020
- case "strong": return /* @__PURE__ */ B("strong", {
9054
+ case "strong": return /* @__PURE__ */ U("strong", {
9021
9055
  ...Q(e, t),
9022
9056
  children: $(e, t.children, r, !1)
9023
9057
  }, o);
9024
- case "delete": return /* @__PURE__ */ B("del", {
9058
+ case "delete": return /* @__PURE__ */ U("del", {
9025
9059
  ...Q(e, t),
9026
9060
  children: $(e, t.children, r, !1)
9027
9061
  }, o);
9028
- case "underline": return /* @__PURE__ */ B("u", {
9062
+ case "underline": return /* @__PURE__ */ U("u", {
9029
9063
  ...Q(e, t),
9030
9064
  children: $(e, t.children, r, !1)
9031
9065
  }, o);
9032
- case "mark": return /* @__PURE__ */ B("mark", {
9066
+ case "mark": return /* @__PURE__ */ U("mark", {
9033
9067
  ...Q(e, t),
9034
9068
  children: $(e, t.children, r, !1)
9035
9069
  }, o);
9036
- case "sup": return /* @__PURE__ */ B("sup", {
9070
+ case "sup": return /* @__PURE__ */ U("sup", {
9037
9071
  ...Q(e, t),
9038
9072
  children: $(e, t.children, r, !1)
9039
9073
  }, o);
9040
- case "sub": return /* @__PURE__ */ B("sub", {
9074
+ case "sub": return /* @__PURE__ */ U("sub", {
9041
9075
  ...Q(e, t),
9042
9076
  children: $(e, t.children, r, !1)
9043
9077
  }, o);
9044
- case "span": return /* @__PURE__ */ B("span", {
9078
+ case "span": return /* @__PURE__ */ U("span", {
9045
9079
  ...Q(e, t),
9046
9080
  children: $(e, t.children, r, !1)
9047
9081
  }, o);
9048
- case "div": return /* @__PURE__ */ B("div", {
9082
+ case "div": return /* @__PURE__ */ U("div", {
9049
9083
  ...Q(e, t),
9050
9084
  children: $(e, t.children, r)
9051
9085
  }, o);
9052
- case "summary": return /* @__PURE__ */ B("span", {
9086
+ case "summary": return /* @__PURE__ */ U("span", {
9053
9087
  ...Q(e, t),
9054
9088
  children: $(e, t.children, r, !1)
9055
9089
  }, o);
9056
9090
  case "details":
9057
9091
  if (!("runtime" in e)) {
9058
- let { summary: n, body: i } = u(t.children ?? []);
9059
- return /* @__PURE__ */ B("div", {
9092
+ let { summary: n, body: i } = p(t.children ?? []);
9093
+ return /* @__PURE__ */ U("div", {
9060
9094
  className: "local-accordion",
9061
9095
  role: "group",
9062
9096
  "aria-label": e.t("Accordion", "折叠面板"),
9063
- children: /* @__PURE__ */ V("section", {
9097
+ children: /* @__PURE__ */ W("section", {
9064
9098
  className: "local-disclosure local-static-disclosure local-html-details",
9065
9099
  ...Q(e, t),
9066
- children: [/* @__PURE__ */ B("h3", {
9100
+ children: [/* @__PURE__ */ U("h3", {
9067
9101
  className: "local-disclosure-heading",
9068
- children: n ? /* @__PURE__ */ B("span", {
9102
+ children: n ? /* @__PURE__ */ U("span", {
9069
9103
  ...Q(e, n),
9070
- children: Hr(e, n.children, r)
9104
+ children: Xr(e, n.children, r)
9071
9105
  }) : e.t("Details", "折叠内容")
9072
- }), /* @__PURE__ */ B("div", {
9106
+ }), /* @__PURE__ */ U("div", {
9073
9107
  className: "local-disclosure-panel",
9074
9108
  children: $(e, i, r)
9075
9109
  })]
9076
9110
  })
9077
9111
  }, o);
9078
9112
  }
9079
- return /* @__PURE__ */ B(ye, {
9113
+ return /* @__PURE__ */ U(Ce, {
9080
9114
  node: t,
9081
9115
  visible: r,
9082
- renderInlineNodes: Hr,
9116
+ renderInlineNodes: Xr,
9083
9117
  safeHtmlProps: Q
9084
9118
  }, o);
9085
- case "inlineCode": return /* @__PURE__ */ B("code", {
9119
+ case "inlineCode": return /* @__PURE__ */ U("code", {
9086
9120
  className: "md-inline-code",
9087
9121
  ...Q(e, t),
9088
9122
  children: t.value ?? ""
9089
9123
  }, o);
9090
- case "code": return /* @__PURE__ */ B(wr, {
9124
+ case "code": return /* @__PURE__ */ U(Ar, {
9091
9125
  value: t.value ?? "",
9092
9126
  language: t.lang ?? void 0,
9093
9127
  mode: e.mode,
9094
9128
  htmlProps: Q(e, t)
9095
9129
  }, o);
9096
- case "blockquote": return /* @__PURE__ */ B("blockquote", {
9130
+ case "blockquote": return /* @__PURE__ */ U("blockquote", {
9097
9131
  ...Q(e, t),
9098
- ...G(e, t),
9132
+ ...q(e, t),
9099
9133
  children: $(e, t.children, r)
9100
9134
  }, o);
9101
- case "break": return /* @__PURE__ */ B("br", { ...Q(e, t) }, o);
9102
- case "thematicBreak": return /* @__PURE__ */ B("hr", { ...Q(e, t) }, o);
9103
- case "list": return t.ordered ? /* @__PURE__ */ B("ol", {
9135
+ case "break": return /* @__PURE__ */ U("br", { ...Q(e, t) }, o);
9136
+ case "thematicBreak": return /* @__PURE__ */ U("hr", { ...Q(e, t) }, o);
9137
+ case "list": return t.ordered ? /* @__PURE__ */ U("ol", {
9104
9138
  start: t.start ?? 1,
9105
9139
  className: "md-list",
9106
9140
  ...Q(e, t),
9107
9141
  children: $(e, t.children, r)
9108
- }, o) : /* @__PURE__ */ B("ul", {
9142
+ }, o) : /* @__PURE__ */ U("ul", {
9109
9143
  className: "md-list",
9110
9144
  ...Q(e, t),
9111
9145
  children: $(e, t.children, r)
9112
9146
  }, o);
9113
9147
  case "listItem": {
9114
9148
  let n = typeof t.checked == "boolean";
9115
- return /* @__PURE__ */ V("li", {
9149
+ return /* @__PURE__ */ W("li", {
9116
9150
  className: n ? "md-list-item md-task-item" : "md-list-item",
9117
9151
  ...Q(e, t),
9118
- ...G(e, t),
9119
- children: [n ? e.mode === "static" ? /* @__PURE__ */ B("span", {
9152
+ ...q(e, t),
9153
+ children: [n ? e.mode === "static" ? /* @__PURE__ */ U("span", {
9120
9154
  className: "md-task-marker",
9121
9155
  role: "img",
9122
9156
  "aria-label": t.checked ? e.t("Completed", "已完成") : e.t("Not completed", "未完成"),
9123
9157
  children: t.checked ? "✓" : "☐"
9124
- }) : /* @__PURE__ */ B("input", {
9158
+ }) : /* @__PURE__ */ U("input", {
9125
9159
  type: "checkbox",
9126
9160
  className: "md-task-checkbox",
9127
9161
  checked: t.checked === !0,
@@ -9132,25 +9166,25 @@ function Jr(e, t, n, r, i = !0) {
9132
9166
  }, o);
9133
9167
  }
9134
9168
  case "link": {
9135
- let n = W(t.url, "link", e.urlPolicy);
9136
- if (!n) return /* @__PURE__ */ k("span", {
9169
+ let n = he(t.url, "link", e.urlPolicy);
9170
+ if (!n) return /* @__PURE__ */ F("span", {
9137
9171
  ...Q(e, t),
9138
9172
  className: "md-link-rejected",
9139
9173
  key: o,
9140
9174
  title: e.t("Unsafe link URL rejected", "已拒绝不安全的链接地址")
9141
9175
  }, $(e, t.children, r, !1));
9142
- let i = e.anchors.resolve(n), s = /^https?:/i.test(i), c = t.attrs?.target ?? (s ? "_blank" : void 0), l = a(t.attrs?.rel ?? (s ? "noopener noreferrer" : void 0), c);
9143
- return /* @__PURE__ */ B("a", {
9176
+ let i = e.anchors.resolve(n), a = /^https?:/i.test(i), s = t.attrs?.target ?? (a ? "_blank" : void 0), l = c(t.attrs?.rel ?? (a ? "noopener noreferrer" : void 0), s);
9177
+ return /* @__PURE__ */ U("a", {
9144
9178
  ...Q(e, t),
9145
9179
  href: i,
9146
9180
  title: t.title ?? void 0,
9147
- target: c,
9181
+ target: s,
9148
9182
  rel: l,
9149
9183
  children: $(e, t.children, r, !1)
9150
9184
  }, o);
9151
9185
  }
9152
9186
  case "image": {
9153
- let n = W(t.url, "image", e.urlPolicy), r = n;
9187
+ let n = he(t.url, "image", e.urlPolicy), r = n;
9154
9188
  if (n && e.imageResolver) try {
9155
9189
  let t = e.imageResolver(n);
9156
9190
  r = typeof t == "string" && t.trim() !== "" ? t : null;
@@ -9159,7 +9193,7 @@ function Jr(e, t, n, r, i = !0) {
9159
9193
  }
9160
9194
  if (!r) {
9161
9195
  let n = e.t("Unsafe image rejected", "已拒绝不安全的图片"), r = t.alt ? e.t(`: ${t.alt}`, `:${t.alt}`) : "";
9162
- return /* @__PURE__ */ V("span", {
9196
+ return /* @__PURE__ */ W("span", {
9163
9197
  className: "md-image-rejected",
9164
9198
  ...Q(e, t),
9165
9199
  children: [
@@ -9170,7 +9204,7 @@ function Jr(e, t, n, r, i = !0) {
9170
9204
  ]
9171
9205
  }, o);
9172
9206
  }
9173
- return /* @__PURE__ */ B(Tr, {
9207
+ return /* @__PURE__ */ U(jr, {
9174
9208
  src: r,
9175
9209
  alt: t.alt ?? "",
9176
9210
  title: t.title ?? void 0,
@@ -9183,21 +9217,21 @@ function Jr(e, t, n, r, i = !0) {
9183
9217
  }
9184
9218
  }, o);
9185
9219
  }
9186
- case "htmlTable": return Lr(e, t, r, o);
9220
+ case "htmlTable": return Ur(e, t, r, o);
9187
9221
  case "table": {
9188
9222
  let [n, ...i] = t.children ?? [];
9189
- return /* @__PURE__ */ B("div", {
9223
+ return /* @__PURE__ */ U("div", {
9190
9224
  className: "md-table-scroll",
9191
- children: /* @__PURE__ */ V("table", {
9225
+ children: /* @__PURE__ */ W("table", {
9192
9226
  className: "md-table",
9193
- children: [n ? /* @__PURE__ */ B("thead", { children: /* @__PURE__ */ B("tr", { children: Yr(e, n, "th", t.align, r) }) }) : null, i.length ? /* @__PURE__ */ B("tbody", { children: i.map((n, i) => /* @__PURE__ */ B("tr", { children: Yr(e, n, "td", t.align, r) }, Z(e, n, i))) }) : null]
9227
+ children: [n ? /* @__PURE__ */ U("thead", { children: /* @__PURE__ */ U("tr", { children: ri(e, n, "th", t.align, r) }) }) : null, i.length ? /* @__PURE__ */ U("tbody", { children: i.map((n, i) => /* @__PURE__ */ U("tr", { children: ri(e, n, "td", t.align, r) }, Z(e, n, i))) }) : null]
9194
9228
  })
9195
9229
  }, o);
9196
9230
  }
9197
- case "tableRow": return /* @__PURE__ */ B("tr", { children: Yr(e, t, "td", void 0, r) }, o);
9231
+ case "tableRow": return /* @__PURE__ */ U("tr", { children: ri(e, t, "td", void 0, r) }, o);
9198
9232
  case "tableCell": {
9199
9233
  let n = t.align?.[0] ?? void 0;
9200
- return /* @__PURE__ */ B("td", {
9234
+ return /* @__PURE__ */ U("td", {
9201
9235
  style: { textAlign: n ?? void 0 },
9202
9236
  children: $(e, t.children, r, !1)
9203
9237
  }, o);
@@ -9205,64 +9239,64 @@ function Jr(e, t, n, r, i = !0) {
9205
9239
  case "interpolation":
9206
9240
  if (!("runtime" in e)) return null;
9207
9241
  try {
9208
- let n = ce(e.runtime.evaluate(t.value ?? ""));
9242
+ let n = K(e.runtime.evaluate(t.value ?? ""));
9209
9243
  if (n === null) throw Error("Cannot display an array");
9210
- return /* @__PURE__ */ B("span", {
9244
+ return /* @__PURE__ */ U("span", {
9211
9245
  className: "local-interpolation",
9212
- ...G(e, t),
9246
+ ...q(e, t),
9213
9247
  children: n
9214
9248
  }, o);
9215
9249
  } catch {
9216
- return /* @__PURE__ */ B(H, {}, o);
9250
+ return /* @__PURE__ */ U(pe, {}, o);
9217
9251
  }
9218
9252
  case "math":
9219
9253
  case "inlineMath": {
9220
9254
  let n = t.type === "math";
9221
- return /* @__PURE__ */ B("span", {
9255
+ return /* @__PURE__ */ U("span", {
9222
9256
  className: n ? "local-math-display" : "local-math-inline",
9223
- ...G(e, t),
9224
- children: /* @__PURE__ */ B(U, {
9225
- revision: "runtime" in e ? Ae(e.runtime) : 0,
9226
- children: /* @__PURE__ */ B(b, {
9257
+ ...q(e, t),
9258
+ children: /* @__PURE__ */ U(me, {
9259
+ revision: "runtime" in e ? Fe(e.runtime) : 0,
9260
+ children: /* @__PURE__ */ U(T, {
9227
9261
  source: t.value ?? "",
9228
9262
  display: n
9229
9263
  })
9230
9264
  })
9231
9265
  }, o);
9232
9266
  }
9233
- case "html": return /* @__PURE__ */ B("span", {
9267
+ case "html": return /* @__PURE__ */ U("span", {
9234
9268
  className: "md-raw-html",
9235
9269
  children: t.value ?? ""
9236
9270
  }, o);
9237
- case "extendedHtml": return e.capabilityPolicy?.enableExtendedHtml ? /* @__PURE__ */ B(kr, {
9271
+ case "extendedHtml": return e.capabilityPolicy?.enableExtendedHtml ? /* @__PURE__ */ U(Fr, {
9238
9272
  inline: !i,
9239
- source: Br(e, t),
9240
- sourceAttributes: G(e, t),
9273
+ source: Jr(e, t),
9274
+ sourceAttributes: q(e, t),
9241
9275
  policy: e.capabilityPolicy,
9242
9276
  allowedFrameOrigins: e.allowedFrameOrigins,
9243
9277
  onDiagnostics: (n) => e.report?.(n.map((n) => {
9244
9278
  let r = t.range.start + n.range.start;
9245
9279
  return {
9246
9280
  ...n,
9247
- ...pe(e, r),
9281
+ ..._e(e, r),
9248
9282
  range: {
9249
9283
  start: r,
9250
9284
  end: t.range.start + n.range.end
9251
9285
  }
9252
9286
  };
9253
9287
  }))
9254
- }, o) : Vr(e, t, o, i);
9255
- case "fallback": return Vr(e, t, o, i);
9256
- case "footnoteReference": return Ur(e, t, o);
9288
+ }, o) : Yr(e, t, o, i);
9289
+ case "fallback": return Yr(e, t, o, i);
9290
+ case "footnoteReference": return Zr(e, t, o);
9257
9291
  case "footnoteDefinition": return null;
9258
9292
  case "comment":
9259
9293
  case "definition": return null;
9260
- case "hostComponent": return "staticRuntime" in e && e.sdkHostNames.has(t.name ?? "") ? Xr(e, t, o, r) : Gr(e, t, o, r);
9294
+ case "hostComponent": return "staticRuntime" in e && e.sdkHostNames.has(t.name ?? "") ? ii(e, t, o, r) : $r(e, t, o, r);
9261
9295
  case "externalSlot": {
9262
9296
  let n = t.name ?? "";
9263
- return /* @__PURE__ */ B(U, {
9297
+ return /* @__PURE__ */ U(me, {
9264
9298
  revision: e.trace?.sourceRevision ?? 0,
9265
- children: /* @__PURE__ */ B(jr, {
9299
+ children: /* @__PURE__ */ U(Lr, {
9266
9300
  slot: {
9267
9301
  name: n,
9268
9302
  locale: e.locale,
@@ -9270,28 +9304,28 @@ function Jr(e, t, n, r, i = !0) {
9270
9304
  },
9271
9305
  trace: e.trace,
9272
9306
  report: e.report,
9273
- position: e.report ? () => pe(e, t.range.start) : void 0,
9307
+ position: e.report ? () => _e(e, t.range.start) : void 0,
9274
9308
  render: "renderExternalSlot" in e ? e.renderExternalSlot : void 0,
9275
9309
  resolver: "resolveExternalSlot" in e ? e.resolveExternalSlot : void 0
9276
9310
  })
9277
9311
  }, o);
9278
9312
  }
9279
- default: return t.children && t.children.length ? /* @__PURE__ */ B("span", { children: $(e, t.children, r, i) }, o) : typeof t.value == "string" ? /* @__PURE__ */ B("span", { children: t.value }, o) : null;
9313
+ default: return t.children && t.children.length ? /* @__PURE__ */ U("span", { children: $(e, t.children, r, i) }, o) : typeof t.value == "string" ? /* @__PURE__ */ U("span", { children: t.value }, o) : null;
9280
9314
  }
9281
9315
  }
9282
- function Yr(e, t, n, r, i) {
9316
+ function ri(e, t, n, r, i) {
9283
9317
  return (t.children ?? []).map((a, o) => {
9284
9318
  let s = a.align?.[0] ?? t.align?.[o] ?? r?.[o] ?? void 0;
9285
- return B(n === "th" ? "th" : "td", {
9319
+ return U(n === "th" ? "th" : "td", {
9286
9320
  style: { textAlign: s ?? void 0 },
9287
9321
  children: $(e, a.children, i, !1)
9288
9322
  }, Z(e, a, o));
9289
9323
  });
9290
9324
  }
9291
- function Xr(e, t, n, r) {
9325
+ function ii(e, t, n, r) {
9292
9326
  let i = t.name ?? "";
9293
9327
  if (i === "computed" || i === "const" || i === "external") return null;
9294
- let a = (t) => /* @__PURE__ */ B("span", {
9328
+ let a = (t) => /* @__PURE__ */ U("span", {
9295
9329
  className: "local-host-component local-host-unavailable local-sdk-unavailable",
9296
9330
  "data-local-host-component": i,
9297
9331
  "data-local-host-reason": t,
@@ -9300,60 +9334,61 @@ function Xr(e, t, n, r) {
9300
9334
  }, n), o = e.componentRenderer;
9301
9335
  if (!o) return a("renderer");
9302
9336
  try {
9303
- return /* @__PURE__ */ B(U, {
9337
+ return /* @__PURE__ */ U(me, {
9304
9338
  revision: 0,
9305
- children: o(t, _e(e, t, r, $, Hr))
9339
+ children: o(t, xe(e, t, r, $, Xr))
9306
9340
  }, n);
9307
9341
  } catch (e) {
9308
- return a(e instanceof y ? "renderer" : "error");
9342
+ return a(e instanceof w ? "renderer" : "error");
9309
9343
  }
9310
9344
  }
9311
- function Zr(e, t, n) {
9312
- let r = t.name ?? "";
9313
- if (r === "computed" || r === "const" || r === "external") return null;
9314
- let i = e.componentRenderer ?? e.extensionRenderer;
9315
- if (i) try {
9316
- return k(D, { key: e.stableComponentKeys ? void 0 : t.id }, i(t, ve(e, t, n, $, Hr)));
9345
+ function ai(e, t, n, r) {
9346
+ let i = t.name ?? "";
9347
+ if (i === "computed" || i === "const" || i === "external") return null;
9348
+ let a = e.componentRenderer ?? e.extensionRenderer;
9349
+ if (a) try {
9350
+ let i = Se(e, t, n, $, Xr);
9351
+ return r && (i.branchCondition = r), F(N, { key: e.stableComponentKeys ? void 0 : t.id }, a(t, i));
9317
9352
  } catch (e) {
9318
- if (!(e instanceof y)) throw e;
9353
+ if (!(e instanceof w)) throw e;
9319
9354
  }
9320
- return /* @__PURE__ */ V("span", {
9355
+ return /* @__PURE__ */ W("span", {
9321
9356
  className: "component-error",
9322
9357
  children: [
9323
9358
  e.t("Unknown component \"", "未知组件“"),
9324
- r || e.t("(missing name)", "(缺少名称)"),
9359
+ i || e.t("(missing name)", "(缺少名称)"),
9325
9360
  e.t("\"", "”")
9326
9361
  ]
9327
9362
  });
9328
9363
  }
9329
- function Qr(e, t) {
9364
+ function oi(e, t) {
9330
9365
  let n = t.definition.children;
9331
- return n && n.length > 0 ? $(e, n, !0) : typeof t.definition.value == "string" && t.definition.value !== "" ? /* @__PURE__ */ B("p", { children: t.definition.value }) : null;
9366
+ return n && n.length > 0 ? $(e, n, !0) : typeof t.definition.value == "string" && t.definition.value !== "" ? /* @__PURE__ */ U("p", { children: t.definition.value }) : null;
9332
9367
  }
9333
- function $r({ entries: e, env: t, t: n, titleId: r }) {
9334
- return /* @__PURE__ */ V("section", {
9368
+ function si({ entries: e, env: t, t: n, titleId: r }) {
9369
+ return /* @__PURE__ */ W("section", {
9335
9370
  className: "local-footnotes",
9336
9371
  role: "doc-endnotes",
9337
9372
  "aria-labelledby": r,
9338
9373
  "data-local-footnotes": "",
9339
- children: [/* @__PURE__ */ B("h2", {
9374
+ children: [/* @__PURE__ */ U("h2", {
9340
9375
  id: r,
9341
9376
  className: "local-footnotes-title",
9342
9377
  children: n("Footnotes", "脚注")
9343
- }), /* @__PURE__ */ B("ol", {
9378
+ }), /* @__PURE__ */ U("ol", {
9344
9379
  className: "local-footnotes-list",
9345
9380
  children: e.map((e) => {
9346
9381
  let r = e.references.length > 1;
9347
- return /* @__PURE__ */ V("li", {
9382
+ return /* @__PURE__ */ W("li", {
9348
9383
  id: e.id,
9349
9384
  className: "local-footnote",
9350
9385
  "data-local-footnote-number": e.number,
9351
- children: [/* @__PURE__ */ B("div", {
9386
+ children: [/* @__PURE__ */ U("div", {
9352
9387
  className: "local-footnote-body",
9353
- children: Qr(t, e)
9354
- }), /* @__PURE__ */ B("span", {
9388
+ children: oi(t, e)
9389
+ }), /* @__PURE__ */ U("span", {
9355
9390
  className: "local-footnote-backlinks",
9356
- children: e.references.map((t, i) => /* @__PURE__ */ B("a", {
9391
+ children: e.references.map((t, i) => /* @__PURE__ */ U("a", {
9357
9392
  href: `#${t.id}`,
9358
9393
  className: "local-footnote-backlink",
9359
9394
  role: "doc-backlink",
@@ -9366,4 +9401,4 @@ function $r({ entries: e, env: t, t: n, titleId: r }) {
9366
9401
  })]
9367
9402
  });
9368
9403
  }
9369
- export { ae as _, Ne as a, we as c, K as d, je as f, De as g, Oe as h, Ie as i, Ee as l, Pe as m, $ as n, Me as o, Fe as p, Ue as r, Re as s, $r as t, Te as u, xe as v, ne as y };
9404
+ export { ce as _, Re as a, Oe as c, je as d, Ie as f, Me as g, Ne as h, Ve as i, Ae as l, ze as m, $ as n, Le as o, Be as p, Je as r, Ue as s, si as t, ke as u, Te as v, ae as y };