@pubinfo-pr/core 0.189.2 → 0.191.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (385) hide show
  1. package/dist/{AppSetting-D5GufdU1.js → AppSetting-DCf7rKxj.js} +22 -23
  2. package/dist/{HButton-CJl_m1hy.js → HButton-CErp0mmx.js} +2 -2
  3. package/dist/{HCheckList-jhN6QY2W.js → HCheckList-CcfZk1v_.js} +2 -2
  4. package/dist/{HInput-CBXYTIs9.js → HInput-BJPTsWB3.js} +1 -1
  5. package/dist/{HSlideover-Dmq_Y6it.js → HSlideover-CW2mo_MH.js} +195 -195
  6. package/dist/{HToggle-DqN9jUH3.js → HToggle-DNddIzFp.js} +2 -2
  7. package/dist/{HTooltip-CVLa3o3r.js → HTooltip-BUu2jovy.js} +5 -5
  8. package/dist/{HeaderFullMenu-BF2oFjGR.js → HeaderFullMenu-CS2ak7ts.js} +19 -19
  9. package/dist/HeaderFullMenu-ChR3qYp1.js +6 -0
  10. package/dist/{HeaderThinMenu-CPmo8FiI.js → HeaderThinMenu-BquGJKYl.js} +79 -79
  11. package/dist/HeaderThinMenu-CoojiaZi.js +6 -0
  12. package/dist/{PreferencesContent-DEtQsthe.js → PreferencesContent-BrAT3RcB.js} +24 -25
  13. package/dist/{SettingBreadcrumb-CDOp43oL.js → SettingBreadcrumb-Cu4e0ftB.js} +7 -7
  14. package/dist/{SettingCopyright-3WvlxKvi.js → SettingCopyright-Blydwv9u.js} +4 -4
  15. package/dist/{SettingEnableTransition-CxF0OEjX.js → SettingEnableTransition-BxNwrLMo.js} +6 -6
  16. package/dist/{SettingHome-CEmuEhlc.js → SettingHome-DmaoIhY6.js} +7 -7
  17. package/dist/{SettingMenu-B5nNrW2n.js → SettingMenu-C3Be3AwK.js} +12 -12
  18. package/dist/{SettingMode-CaYciW8Z.js → SettingMode-DZAJJSDP.js} +6 -6
  19. package/dist/{SettingNavSearch-CS5SiDrv.js → SettingNavSearch-DBNcCJLs.js} +6 -6
  20. package/dist/{SettingOther-B6HwBmrA.js → SettingOther-Do7fV2gq.js} +9 -9
  21. package/dist/{SettingPage-Cma5uNLg.js → SettingPage-DntzQUKe.js} +3 -3
  22. package/dist/{SettingTabbar-CTJlZwTG.js → SettingTabbar-rqjKY8hZ.js} +14 -14
  23. package/dist/{SettingThemes-vTvgzTBt.js → SettingThemes-CgkZV14x.js} +8 -9
  24. package/dist/{SettingToolbar-C1f5gCW8.js → SettingToolbar-DtLvc4It.js} +8 -8
  25. package/dist/{SettingTopbar-N9S4Gsuz.js → SettingTopbar-D3dc4Ohs.js} +10 -10
  26. package/dist/{SettingWidthMode-CCt-XW6i.js → SettingWidthMode-BWF84Pxa.js} +6 -6
  27. package/dist/_plugin-vue_export-helper-sUTDUeGO.js +6 -0
  28. package/dist/{auth-Bje6jnid.js → auth-BkwlriAw.js} +37 -14
  29. package/dist/built-in/layout-component/composables/useGetComputedStyle.d.ts +2 -1
  30. package/dist/{change-organization-CovNlmuz.js → change-organization-C9FwpfLA.js} +15 -20
  31. package/dist/{change-password-CsgjqfGg.js → change-password-C1sTQCvD.js} +12 -15
  32. package/dist/{components-BzToP3xw.js → components-Bb2QnWS2.js} +331 -1923
  33. package/dist/{core-B6ScpInv.js → dist-CJQj4sgz.js} +77 -108
  34. package/dist/{form-CO9NG7ZS.js → form-BPSg4tTn.js} +56 -56
  35. package/dist/index.js +1625 -1462
  36. package/dist/{json-DFVUvWOZ.js → json-CbRFa7Gs.js} +1 -1
  37. package/dist/{modal-DEp9Pxza.js → modal-DI1pivlf.js} +2375 -2376
  38. package/dist/{not-found-YUck6_oZ.js → not-found-cQAl4Jjw.js} +6 -7
  39. package/dist/{not-permission-xcmwGCan.js → not-permission-HCRUYDO-.js} +6 -7
  40. package/dist/{pick-c9dGZQwK.js → pick-CiRODtTM.js} +1 -1
  41. package/dist/{profile-BSmQpG4m.js → profile-fSdgM8lr.js} +5212 -5103
  42. package/dist/style.css +1 -1
  43. package/dist/{tree-select-CY3uFVd8.js → tree-select-_dclwCh-.js} +128 -128
  44. package/dist/{watchDiff-B5jfAv5A.js → watchDiff-D0Gf0T5E.js} +1 -1
  45. package/package.json +20 -20
  46. package/src/built-in/layout-component/Layout.vue +1 -1
  47. package/src/built-in/layout-component/composables/useGetComputedStyle.ts +15 -4
  48. package/src/built-in/layout-component/composables/useLayoutVisible.ts +7 -2
  49. package/src/features/components/PartyLogin/steps/One.vue +24 -2
  50. package/src/features/stores/modules/route.ts +5 -4
  51. package/src/features/stores/utils/routerHelper.ts +2 -2
  52. package/dist/HeaderFullMenu-BHk0SGLq.js +0 -6
  53. package/dist/HeaderThinMenu-B9YooA-L.js +0 -7
  54. package/dist/_plugin-vue_export-helper-iI4qcGF0.js +0 -6
  55. package/dist/abap-ByBB8hCS.js +0 -2
  56. package/dist/actionscript-3-u_W0UD-i.js +0 -2
  57. package/dist/ada-D6LNaVo2.js +0 -2
  58. package/dist/andromeeda-CBSvKWwo.js +0 -2
  59. package/dist/angular-html-B-hsFAfT.js +0 -14
  60. package/dist/angular-html-B_uo4S5O.js +0 -2
  61. package/dist/angular-ts-BbXR0oOD.js +0 -16
  62. package/dist/apache-Ciko7xcX.js +0 -2
  63. package/dist/apex-uGhlR7tv.js +0 -2
  64. package/dist/apl-BVE2KUVH.js +0 -14
  65. package/dist/applescript-CUmxZwZn.js +0 -2
  66. package/dist/ara-Dwb8W3ir.js +0 -2
  67. package/dist/asciidoc-G-WuH0GC.js +0 -2
  68. package/dist/asm-DmzGDOaW.js +0 -2
  69. package/dist/astro-BmQjKWSE.js +0 -16
  70. package/dist/aurora-x-D40oEGCK.js +0 -2
  71. package/dist/awk-0i6uYx1l.js +0 -2
  72. package/dist/ayu-dark-xmRKZHHe.js +0 -2
  73. package/dist/ballerina-Bsr5f5G4.js +0 -2
  74. package/dist/bat-Y7cOAZoQ.js +0 -2
  75. package/dist/beancount-NwH4SjCk.js +0 -2
  76. package/dist/berry-CyhvLjee.js +0 -2
  77. package/dist/bibtex-D06Vv07T.js +0 -2
  78. package/dist/bicep-CENK6e3A.js +0 -2
  79. package/dist/blade-BHYyXnPY.js +0 -18
  80. package/dist/bsl-63w1fcS1.js +0 -3
  81. package/dist/c-BurQIDkp.js +0 -2
  82. package/dist/c-gucdcEmO.js +0 -2
  83. package/dist/cadence-_JUK1iDT.js +0 -2
  84. package/dist/cairo-Cb2N8S7B.js +0 -3
  85. package/dist/catppuccin-frappe-CFi5eoIA.js +0 -2
  86. package/dist/catppuccin-latte-BBJcWYaj.js +0 -2
  87. package/dist/catppuccin-macchiato-Da-TR_FH.js +0 -2
  88. package/dist/catppuccin-mocha-BDXC5rvg.js +0 -2
  89. package/dist/clarity-BseTih1p.js +0 -2
  90. package/dist/clojure-BXEsxzIz.js +0 -2
  91. package/dist/cmake-MmBQqM7J.js +0 -2
  92. package/dist/cmake-y9owfBJo.js +0 -2
  93. package/dist/cobol-B49KNLm1.js +0 -8
  94. package/dist/codeowners-DlmQ4wZl.js +0 -2
  95. package/dist/codeql-BcApYn7n.js +0 -2
  96. package/dist/coffee-CeuDMH_e.js +0 -3
  97. package/dist/common-lisp-CFYhgu_n.js +0 -2
  98. package/dist/coq-DiyuLGr-.js +0 -2
  99. package/dist/cpp-Dy1LSI7U.js +0 -2
  100. package/dist/cpp-P3zRYkZ5.js +0 -16
  101. package/dist/crystal-BnSxwTtg.js +0 -16
  102. package/dist/csharp-BcPhjkYh.js +0 -2
  103. package/dist/csharp-CzFtFHMz.js +0 -2
  104. package/dist/css-7erxRuBY.js +0 -2
  105. package/dist/css-Dq96xR5g.js +0 -2
  106. package/dist/csv-BjBs6QJb.js +0 -2
  107. package/dist/cue-YUTTNjUV.js +0 -2
  108. package/dist/cypher-hMC3R2bj.js +0 -2
  109. package/dist/d-o5F4kKli.js +0 -2
  110. package/dist/dark-plus-DP-rGpCc.js +0 -2
  111. package/dist/dart-ChbB_H8_.js +0 -2
  112. package/dist/dax-UERD1JeM.js +0 -2
  113. package/dist/desktop-Bl0i3uLh.js +0 -2
  114. package/dist/diff-DTJD8FfO.js +0 -2
  115. package/dist/diff-Ds7QpJOg.js +0 -2
  116. package/dist/docker-Zr78Fx5S.js +0 -2
  117. package/dist/dotenv-aBR1wj1q.js +0 -2
  118. package/dist/dracula-DHDMRoqE.js +0 -2
  119. package/dist/dracula-soft-B4MNv6e0.js +0 -2
  120. package/dist/dream-maker-ChywyyT1.js +0 -2
  121. package/dist/edge-Ckx5wPam.js +0 -10
  122. package/dist/elixir-4fTurV75.js +0 -3
  123. package/dist/elm-hI-pwMry.js +0 -3
  124. package/dist/emacs-lisp-CdjT8XDu.js +0 -2
  125. package/dist/erb-Bj3N1G-w.js +0 -8
  126. package/dist/erlang-D6xKnUWK.js +0 -3
  127. package/dist/everforest-dark-CODfUmsV.js +0 -2
  128. package/dist/everforest-light-CMQvbu2l.js +0 -2
  129. package/dist/fennel-BwexbVZT.js +0 -2
  130. package/dist/fish-4kENeNnf.js +0 -2
  131. package/dist/fluent-Ckuiypzf.js +0 -2
  132. package/dist/fortran-fixed-form-B0LSxqtl.js +0 -3
  133. package/dist/fortran-free-form-DWG_lT-R.js +0 -2
  134. package/dist/fortran-free-form-P9o7G7ax.js +0 -2
  135. package/dist/fsharp-DiWlN8AI.js +0 -3
  136. package/dist/gdresource-OqwRfULk.js +0 -8
  137. package/dist/gdscript-CRLt6-N6.js +0 -2
  138. package/dist/gdscript-DFP_QNIf.js +0 -2
  139. package/dist/gdshader-BwRivmyr.js +0 -2
  140. package/dist/gdshader-C9R2u1TI.js +0 -2
  141. package/dist/genie-DAtVQSdD.js +0 -2
  142. package/dist/gherkin-BFmxcUHk.js +0 -2
  143. package/dist/git-commit-CdXxIOBR.js +0 -3
  144. package/dist/git-rebase-BXuqhHF6.js +0 -3
  145. package/dist/github-dark-Ct-5tT-t.js +0 -2
  146. package/dist/github-dark-default-BgEExSwl.js +0 -2
  147. package/dist/github-dark-dimmed-CIntHy_v.js +0 -2
  148. package/dist/github-dark-high-contrast-D_skrp90.js +0 -2
  149. package/dist/github-light-D--UvX6u.js +0 -2
  150. package/dist/github-light-default-Oj6vNT0y.js +0 -2
  151. package/dist/github-light-high-contrast-WO4wpdqn.js +0 -2
  152. package/dist/gleam-CXzMka3o.js +0 -2
  153. package/dist/glimmer-js-CnR2-qWV.js +0 -12
  154. package/dist/glimmer-ts-Beg02At_.js +0 -12
  155. package/dist/glsl-CcwmYivE.js +0 -3
  156. package/dist/glsl-D-e6UHEr.js +0 -2
  157. package/dist/gnuplot-DJVNC_Bv.js +0 -2
  158. package/dist/go-D0pvWbH6.js +0 -2
  159. package/dist/go-D2oXewg2.js +0 -2
  160. package/dist/graphql-CxaF4Yg3.js +0 -2
  161. package/dist/graphql-DEvQg-vP.js +0 -12
  162. package/dist/groovy-C_y04M13.js +0 -2
  163. package/dist/gruvbox-dark-hard-Bizb5JMB.js +0 -2
  164. package/dist/gruvbox-dark-medium-CJJPbMPn.js +0 -2
  165. package/dist/gruvbox-dark-soft-DlD4gdag.js +0 -2
  166. package/dist/gruvbox-light-hard-Bw70ut1h.js +0 -2
  167. package/dist/gruvbox-light-medium-BmamM4GC.js +0 -2
  168. package/dist/gruvbox-light-soft-DwVdVGNa.js +0 -2
  169. package/dist/hack-Cg4hbNDi.js +0 -8
  170. package/dist/haml-CJ2NNSJ3.js +0 -2
  171. package/dist/haml-CtcgJqUS.js +0 -8
  172. package/dist/handlebars-UWqoVyLX.js +0 -12
  173. package/dist/haskell-BRuaThX8.js +0 -2
  174. package/dist/haxe-Cc73kNkc.js +0 -2
  175. package/dist/haxe-YPV8BBwf.js +0 -2
  176. package/dist/hcl-C5bI4Q36.js +0 -2
  177. package/dist/hjson--0YTHgur.js +0 -2
  178. package/dist/hlsl-CTogCIyi.js +0 -2
  179. package/dist/hlsl-rVkw3s2c.js +0 -2
  180. package/dist/houston-eaaBff0m.js +0 -2
  181. package/dist/html-DpDtJSjg.js +0 -8
  182. package/dist/html-derivative-BtpXF1z9.js +0 -3
  183. package/dist/html-derivative-DXQanhXQ.js +0 -2
  184. package/dist/html-oU92KVUM.js +0 -2
  185. package/dist/http-CHh3WV36.js +0 -12
  186. package/dist/hxml-uvk-7MSJ.js +0 -3
  187. package/dist/hy-DxNgKPt3.js +0 -2
  188. package/dist/imba-C3cUAxvk.js +0 -2
  189. package/dist/ini-Cx0oYDB2.js +0 -2
  190. package/dist/java-BWbX4TJL.js +0 -2
  191. package/dist/java-DWfWLKRp.js +0 -2
  192. package/dist/javascript-5sbGkMX5.js +0 -2
  193. package/dist/javascript-Dp1K8mYv.js +0 -2
  194. package/dist/jinja-DsYBjCZd.js +0 -3
  195. package/dist/jison-C-Jo8SLg.js +0 -3
  196. package/dist/json-Dz5MWcjX.js +0 -2
  197. package/dist/json5-Hbs_afE5.js +0 -2
  198. package/dist/jsonc-BJyB17HW.js +0 -2
  199. package/dist/jsonl-BLmOyMFM.js +0 -2
  200. package/dist/jsonnet-3o_WiD3C.js +0 -2
  201. package/dist/jssm-CPlCin5w.js +0 -2
  202. package/dist/jsx-BLdpA2mv.js +0 -2
  203. package/dist/jsx-BR2ngtea.js +0 -2
  204. package/dist/julia-Dec_oId2.js +0 -14
  205. package/dist/kanagawa-dragon-DCVg8Z_i.js +0 -2
  206. package/dist/kanagawa-lotus-CtMqKWAS.js +0 -2
  207. package/dist/kanagawa-wave-C0RNWlWg.js +0 -2
  208. package/dist/kotlin-Bgxu4PKZ.js +0 -2
  209. package/dist/kusto-ZirwNQYH.js +0 -2
  210. package/dist/laserwave-C8Rg_1Bp.js +0 -2
  211. package/dist/latex-9hJEHHPB.js +0 -3
  212. package/dist/lean-DYyhzCco.js +0 -2
  213. package/dist/less-0mAHN18J.js +0 -2
  214. package/dist/less-_wvLeNyc.js +0 -2
  215. package/dist/light-plus-D1mSlT8G.js +0 -2
  216. package/dist/liquid-CeXVMztz.js +0 -12
  217. package/dist/llvm-D7uWxs9B.js +0 -2
  218. package/dist/log-DeGdu8kx.js +0 -2
  219. package/dist/logo-Zkaxz0CZ.js +0 -2
  220. package/dist/lua-CMKuXX3j.js +0 -3
  221. package/dist/lua-D3Hc_w3I.js +0 -2
  222. package/dist/luau-CxBB9O6O.js +0 -2
  223. package/dist/make-DukspXqD.js +0 -2
  224. package/dist/markdown-OCRc5mg6.js +0 -2
  225. package/dist/markdown-uJ9KQV1u.js +0 -2
  226. package/dist/marko-D2J5ea4o.js +0 -12
  227. package/dist/material-theme-DjlQJvz_.js +0 -2
  228. package/dist/material-theme-darker-DAmHxfa-.js +0 -2
  229. package/dist/material-theme-lighter-BJa4VLmD.js +0 -2
  230. package/dist/material-theme-ocean-Ds0HsWYh.js +0 -2
  231. package/dist/material-theme-palenight-DteuphMP.js +0 -2
  232. package/dist/matlab-Ct4ADQyJ.js +0 -2
  233. package/dist/mdc-CBhsOyN0.js +0 -10
  234. package/dist/mdx-CEZ-zXHb.js +0 -2
  235. package/dist/mermaid-73R8S-Qd.js +0 -2
  236. package/dist/min-dark-DAnXCLxk.js +0 -2
  237. package/dist/min-light-Bg8D_X6s.js +0 -2
  238. package/dist/mipsasm-B_OQkeqJ.js +0 -2
  239. package/dist/mojo-pjUvS4RA.js +0 -2
  240. package/dist/monokai-l4oBl8QS.js +0 -2
  241. package/dist/move-wPLqPKcL.js +0 -2
  242. package/dist/narrat-Jb7prHOE.js +0 -2
  243. package/dist/nextflow-DQmrLRbF.js +0 -2
  244. package/dist/nginx-DmYySHd7.js +0 -3
  245. package/dist/night-owl-CsCAHa1M.js +0 -2
  246. package/dist/nim-Ah8k178j.js +0 -18
  247. package/dist/nix-v6SXlKuy.js +0 -2
  248. package/dist/nord-Bv_60e5Y.js +0 -2
  249. package/dist/nushell-CZXyPbNM.js +0 -2
  250. package/dist/objective-c-BeIBpkvE.js +0 -2
  251. package/dist/objective-cpp-DQhrQjBU.js +0 -2
  252. package/dist/ocaml-CN4jy1cu.js +0 -2
  253. package/dist/one-dark-pro-W-nVWtX4.js +0 -2
  254. package/dist/one-light-CjvcBFKw.js +0 -2
  255. package/dist/partyLogin-MQeMID3C.js +0 -193
  256. package/dist/pascal-BFDDpaqh.js +0 -2
  257. package/dist/perl-CQ1zJazS.js +0 -14
  258. package/dist/php-Ce9mJ8MK.js +0 -16
  259. package/dist/php-DYlbWSkc.js +0 -2
  260. package/dist/plastic-DrQhFIFJ.js +0 -2
  261. package/dist/plsql-BJInVfJ_.js +0 -2
  262. package/dist/po-C7MF34HE.js +0 -2
  263. package/dist/poimandres-0wZbcXjS.js +0 -2
  264. package/dist/polar-CJMYhJ0A.js +0 -2
  265. package/dist/postcss-BvILpIw_.js +0 -2
  266. package/dist/postcss-CPUts_Z6.js +0 -2
  267. package/dist/powerquery-B-yzRIi_.js +0 -2
  268. package/dist/powershell-mWbb2hUS.js +0 -2
  269. package/dist/prisma-BCnYemoT.js +0 -2
  270. package/dist/prolog-DVT1wTzG.js +0 -2
  271. package/dist/proto-D0ZoVERu.js +0 -2
  272. package/dist/pug-WGJYZv-O.js +0 -10
  273. package/dist/puppet-tGW9aBg4.js +0 -2
  274. package/dist/purescript-C5CCMHuK.js +0 -2
  275. package/dist/python-U8_2ZumM.js +0 -2
  276. package/dist/python-_OM-H-Xz.js +0 -2
  277. package/dist/qml-CEn4o04H.js +0 -3
  278. package/dist/qmldir-CQhwo6cT.js +0 -2
  279. package/dist/qss-CGhj5Mgp.js +0 -2
  280. package/dist/r-BrpLmF1M.js +0 -2
  281. package/dist/r-COwykHNU.js +0 -2
  282. package/dist/racket-DMP7rvvC.js +0 -2
  283. package/dist/raku-CAXBkZJv.js +0 -2
  284. package/dist/razor-DMXvpjU1.js +0 -8
  285. package/dist/red-B279eMnK.js +0 -2
  286. package/dist/reg-DZXBdzr7.js +0 -2
  287. package/dist/regexp-CIK5q7M5.js +0 -2
  288. package/dist/regexp-zzQ7-bsz.js +0 -2
  289. package/dist/rel-BAD7F1ak.js +0 -2
  290. package/dist/riscv-OmMAXm9i.js +0 -2
  291. package/dist/rose-pine-6Pyy66gx.js +0 -2
  292. package/dist/rose-pine-dawn-hr1PwHnf.js +0 -2
  293. package/dist/rose-pine-moon-DWeoQe-a.js +0 -2
  294. package/dist/rst-Dw4OtJ4z.js +0 -20
  295. package/dist/ruby-DEq4cWei.js +0 -28
  296. package/dist/ruby-DyxCX4OK.js +0 -2
  297. package/dist/rust-BFlr6mUu.js +0 -2
  298. package/dist/sas-VEuyAiIE.js +0 -3
  299. package/dist/sass-HOKGhwfC.js +0 -2
  300. package/dist/scala-DcZfnYYw.js +0 -2
  301. package/dist/scheme-DRmhceLb.js +0 -2
  302. package/dist/scss-CdEq4N1x.js +0 -2
  303. package/dist/scss-De6IKNc_.js +0 -3
  304. package/dist/sdbl-03_L6mQm.js +0 -2
  305. package/dist/sdbl-BVp9Wvf7.js +0 -2
  306. package/dist/shaderlab-DmL4HGYL.js +0 -3
  307. package/dist/shellscript-BCE3VxA7.js +0 -2
  308. package/dist/shellscript-CzGzqUTP.js +0 -2
  309. package/dist/shellsession-CzA07hYA.js +0 -3
  310. package/dist/slack-dark-C_1-wb4f.js +0 -2
  311. package/dist/slack-ochin-zjgPO-rb.js +0 -2
  312. package/dist/smalltalk-B_NJ7Cx4.js +0 -2
  313. package/dist/snazzy-light-ClCQbm3S.js +0 -2
  314. package/dist/solarized-dark-bfFQdDSD.js +0 -2
  315. package/dist/solarized-light-Dtw6G-Sd.js +0 -2
  316. package/dist/solidity-CT-86HMu.js +0 -2
  317. package/dist/soy-DiADE0_b.js +0 -3
  318. package/dist/sparql-B7HsyVQP.js +0 -3
  319. package/dist/splunk-ESvYyzEP.js +0 -2
  320. package/dist/sql-BUNIH1ed.js +0 -2
  321. package/dist/sql-Buan7hmi.js +0 -2
  322. package/dist/ssh-config-Dn1OzCjY.js +0 -2
  323. package/dist/stata-DMhN47W0.js +0 -3
  324. package/dist/stylus-Bt43OG7c.js +0 -2
  325. package/dist/stylus-Co6gTjqv.js +0 -2
  326. package/dist/svelte-pHcZBEch.js +0 -12
  327. package/dist/swift-Cbg4azjS.js +0 -2
  328. package/dist/synthwave-84-BMv3ZOMr.js +0 -2
  329. package/dist/system-verilog-fVy4uHsI.js +0 -2
  330. package/dist/systemd-DXKTaCY3.js +0 -2
  331. package/dist/talonscript-DQsGm2df.js +0 -2
  332. package/dist/tasl-PsCFQ1wr.js +0 -2
  333. package/dist/tcl-BLTlbrYm.js +0 -2
  334. package/dist/templ-vBIkAAxj.js +0 -10
  335. package/dist/terraform-DjaTtAxi.js +0 -2
  336. package/dist/tex-D5_0wg9K.js +0 -2
  337. package/dist/tex-Dqe281Cj.js +0 -3
  338. package/dist/tokyo-night-8zQjRems.js +0 -2
  339. package/dist/toml-fWOQTXAn.js +0 -2
  340. package/dist/ts-tags-BqFdUUZy.js +0 -36
  341. package/dist/tsv-Bw0OH64B.js +0 -2
  342. package/dist/tsx-BDo81YOU.js +0 -2
  343. package/dist/tsx-DT6UGKu5.js +0 -2
  344. package/dist/turtle-CLI89V1I.js +0 -2
  345. package/dist/turtle-CrPVwTCx.js +0 -2
  346. package/dist/twig-E43a2NXy.js +0 -16
  347. package/dist/typescript-Dvhs8xuM.js +0 -2
  348. package/dist/typescript-DwG0qGvZ.js +0 -2
  349. package/dist/typespec-B_WBO7NM.js +0 -2
  350. package/dist/typst-BLkZ0YUM.js +0 -2
  351. package/dist/v-Lt9dQhkf.js +0 -2
  352. package/dist/vala-ApK8wiYu.js +0 -2
  353. package/dist/vb-9UVaSBwv.js +0 -2
  354. package/dist/verilog-CkimBrNB.js +0 -2
  355. package/dist/vesper-CfZSyT-e.js +0 -2
  356. package/dist/vhdl-N3R5mXWa.js +0 -2
  357. package/dist/viml-CtpC9_DE.js +0 -2
  358. package/dist/vitesse-black-DuknESqD.js +0 -2
  359. package/dist/vue-BmgYuVBr.js +0 -20
  360. package/dist/vue-C6OQTkLM.js +0 -2
  361. package/dist/vue-html-puzUUwGC.js +0 -8
  362. package/dist/vue-vine-C6Cu0qY3.js +0 -18
  363. package/dist/vyper-CbWBpBlo.js +0 -2
  364. package/dist/wasm-BmH8qfv1.js +0 -2
  365. package/dist/wenyan-DA9J-qad.js +0 -2
  366. package/dist/wgsl-BzlyvM89.js +0 -2
  367. package/dist/wikitext-BeDHSXxS.js +0 -2
  368. package/dist/wit-DeoaP-6Q.js +0 -2
  369. package/dist/wolfram-BrvFPLfd.js +0 -2
  370. package/dist/xml-C26VKpC0.js +0 -3
  371. package/dist/xml-ITOhwbU4.js +0 -2
  372. package/dist/xsl-CjkxalCU.js +0 -3
  373. package/dist/yaml-B7sFqDJy.js +0 -2
  374. package/dist/yaml-BB3GLskb.js +0 -2
  375. package/dist/zenscript-DvUTO6mN.js +0 -2
  376. package/dist/zig-DyJYOwV9.js +0 -2
  377. /package/dist/{HDivider-fXA9bUOC.js → HDivider-CjQcTlnB.js} +0 -0
  378. /package/dist/{overlayscrollbars-vue-BOGU2FK-.js → overlayscrollbars-vue-BJtv0PXr.js} +0 -0
  379. /package/dist/{question-line-D3wurljc.js → question-line-CVb042of.js} +0 -0
  380. /package/dist/{reload-gtDFo53G.js → reload-CAcfz26K.js} +0 -0
  381. /package/dist/{right-DL3ciYay.js → right-DcHU4j12.js} +0 -0
  382. /package/dist/{useContext-D6pJCZez.js → useContext-DLtu9F7E.js} +0 -0
  383. /package/dist/{vitesse-dark-CLAEmrLo.js → vitesse-dark-DdtbAq3d.js} +0 -0
  384. /package/dist/{vitesse-light-B-nMvyz2.js → vitesse-light-C8PeMTy6.js} +0 -0
  385. /package/dist/{wasm-BmhiTjoi.js → wasm-DdtHQrnj.js} +0 -0
@@ -1,6 +1,6 @@
1
- import { Ln as DeleteOutlined_default, Sr as setupIcon, _i as __toESM, a as button_default, br as getCachedIcon, gi as __export, gn as PlusOutlined_default, hi as __commonJSMin, in as es_exports, n as message_default, ni as isFunction_default, t as modal_default, un as SendOutlined_default, xr as setCachedIcon } from "./modal-DEp9Pxza.js";
2
- import { J as SelectOption, N as RadioButton_default, P as Group_default, X as select_default, a as input_number_default, d as tag_default, f as checkbox_default, o as input_default, t as tree_select_default, u as divider_default, z as tooltip_default } from "./tree-select-CY3uFVd8.js";
3
- import { t as __plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-iI4qcGF0.js";
1
+ import { Ln as DeleteOutlined_default, Sr as setupIcon, _i as __toESM, a as button_default, br as getCachedIcon, gi as __export, gn as PlusOutlined_default, hi as __commonJSMin, in as es_exports, n as message_default, ni as isFunction_default, t as modal_default, un as SendOutlined_default, xr as setCachedIcon } from "./modal-DI1pivlf.js";
2
+ import { J as SelectOption, N as RadioButton_default, P as Group_default, X as select_default, a as input_number_default, d as tag_default, f as checkbox_default, o as input_default, t as tree_select_default, u as divider_default, z as tooltip_default } from "./tree-select-_dclwCh-.js";
3
+ import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-sUTDUeGO.js";
4
4
  import { getActivePinia } from "pinia";
5
5
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, h, inject, isRef, markRaw, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onUnmounted, openBlock, provide, reactive, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowRef, toDisplayString, unref, useModel, useSlots, watch, watchEffect, withCtx } from "vue";
6
6
  var _hoisted_1$12 = { class: "page-header mb-5 flex flex-wrap items-center justify-between gap-5 bg-[var(--g-container-bg)] px-5 py-4 transition-background-color-300" }, _hoisted_2$7 = { class: "main flex-[1_1_70%]" }, _hoisted_3$4 = { class: "text-2xl" }, _hoisted_4$2 = { class: "mt-2 text-sm text-stone-5 empty:hidden" }, _hoisted_5$2 = {
@@ -15,7 +15,7 @@ var _hoisted_1$12 = { class: "page-header mb-5 flex flex-wrap items-center justi
15
15
  },
16
16
  setup(e) {
17
17
  let g = useSlots();
18
- return (e, _) => (openBlock(), createElementBlock("div", _hoisted_1$12, [createElementVNode("div", _hoisted_2$7, [createElementVNode("div", _hoisted_3$4, [renderSlot(e.$slots, "title", {}, () => [createTextVNode(toDisplayString(e.title), 1)])]), createElementVNode("div", _hoisted_4$2, [renderSlot(e.$slots, "content", {}, () => [createTextVNode(toDisplayString(e.content), 1)])])]), unref(g).default ? (openBlock(), createElementBlock("div", _hoisted_5$2, [renderSlot(e.$slots, "default")])) : createCommentVNode("", !0)]));
18
+ return (_, v) => (openBlock(), createElementBlock("div", _hoisted_1$12, [createElementVNode("div", _hoisted_2$7, [createElementVNode("div", _hoisted_3$4, [renderSlot(_.$slots, "title", {}, () => [createTextVNode(toDisplayString(e.title), 1)])]), createElementVNode("div", _hoisted_4$2, [renderSlot(_.$slots, "content", {}, () => [createTextVNode(toDisplayString(e.content), 1)])])]), unref(g).default ? (openBlock(), createElementBlock("div", _hoisted_5$2, [renderSlot(_.$slots, "default")])) : createCommentVNode("", !0)]));
19
19
  }
20
20
  }), matchIconName = /^[a-z0-9]+(-[a-z0-9]+)*$/, stringToIcon = (e, g, _, v = "") => {
21
21
  let y = e.split(":");
@@ -1029,7 +1029,7 @@ var PubinfoProvider_default = defineComponent({
1029
1029
  return e?.loadIcon?.(g) ?? _?.loadIcon?.(g);
1030
1030
  } }), () => g?.default?.();
1031
1031
  }
1032
- }), PrismBox_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
1032
+ }), PrismBox_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
1033
1033
  __name: "PrismBox",
1034
1034
  setup(e) {
1035
1035
  let g = ref(null), _ = null, v = null, y = !1;
@@ -1119,7 +1119,7 @@ var PubinfoProvider_default = defineComponent({
1119
1119
  class: "prism-box"
1120
1120
  }, [renderSlot(e.$slots, "default", {}, void 0, !0)], 512));
1121
1121
  }
1122
- }), [["__scopeId", "data-v-17d38733"]]), _hoisted_1$11 = { class: "square-box" }, SquareBox_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
1122
+ }), [["__scopeId", "data-v-17d38733"]]), _hoisted_1$11 = { class: "square-box" }, SquareBox_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
1123
1123
  __name: "SquareBox",
1124
1124
  setup(e) {
1125
1125
  return (e, g) => (openBlock(), createElementBlock("div", _hoisted_1$11, [renderSlot(e.$slots, "default", {}, void 0, !0)]));
@@ -1317,12 +1317,12 @@ var PubinfoProvider_default = defineComponent({
1317
1317
  function y() {
1318
1318
  v.value = !1;
1319
1319
  }
1320
- return (e, g) => (openBlock(), createElementBlock("div", {
1320
+ return (g, b) => (openBlock(), createElementBlock("div", {
1321
1321
  class: normalizeClass(["page-main relative m-4 flex flex-col bg-[var(--g-container-bg)] transition-background-color-300", { "of-hidden": unref(v) }]),
1322
1322
  style: normalizeStyle({ height: unref(v) ? e.height : "" })
1323
1323
  }, [
1324
- _ || e.title ? (openBlock(), createElementBlock("div", _hoisted_1$9, [renderSlot(e.$slots, "title", {}, () => [createTextVNode(toDisplayString(e.title), 1)])])) : createCommentVNode("", !0),
1325
- createElementVNode("div", _hoisted_2$5, [renderSlot(e.$slots, "default")]),
1324
+ _ || e.title ? (openBlock(), createElementBlock("div", _hoisted_1$9, [renderSlot(g.$slots, "title", {}, () => [createTextVNode(toDisplayString(e.title), 1)])])) : createCommentVNode("", !0),
1325
+ createElementVNode("div", _hoisted_2$5, [renderSlot(g.$slots, "default")]),
1326
1326
  unref(v) ? (openBlock(), createElementBlock("div", {
1327
1327
  key: 1,
1328
1328
  class: "collaspe absolute bottom-0 w-full cursor-pointer from-transparent to-[var(--g-container-bg)] bg-gradient-to-b pb-2 pt-10 text-center",
@@ -1333,7 +1333,7 @@ var PubinfoProvider_default = defineComponent({
1333
1333
  })])) : createCommentVNode("", !0)
1334
1334
  ], 6));
1335
1335
  }
1336
- }), ShikiError$1 = class extends Error {
1336
+ }), ShikiError$2 = class extends Error {
1337
1337
  constructor(e) {
1338
1338
  super(e), this.name = "ShikiError";
1339
1339
  }
@@ -2870,7 +2870,7 @@ var AttributedScopeStack = class e {
2870
2870
  }
2871
2871
  return this._grammars.get(e);
2872
2872
  }
2873
- }, Registry = class {
2873
+ }, Registry$1 = class {
2874
2874
  _options;
2875
2875
  _syncRegistry;
2876
2876
  _ensureGrammarCache;
@@ -3977,7 +3977,7 @@ function kebab(e) {
3977
3977
  function camelcase(e) {
3978
3978
  return e.charAt(1).toUpperCase();
3979
3979
  }
3980
- const html = merge([
3980
+ const html$2 = merge([
3981
3981
  aria,
3982
3982
  html$3,
3983
3983
  xlink,
@@ -4335,11 +4335,11 @@ function ccount(e, g) {
4335
4335
  for (; y !== -1;) v++, y = _.indexOf(g, y + g.length);
4336
4336
  return v;
4337
4337
  }
4338
- function stringify$1(e, g) {
4338
+ function stringify$2(e, g) {
4339
4339
  let _ = g || {};
4340
4340
  return (e[e.length - 1] === "" ? [...e, ""] : e).join((_.padRight ? " " : "") + "," + (_.padLeft === !1 ? "" : " ")).trim();
4341
4341
  }
4342
- function stringify$2(e) {
4342
+ function stringify$1(e) {
4343
4343
  return e.join(" ").trim();
4344
4344
  }
4345
4345
  var re = /[ \t\n\f\r]/g;
@@ -4373,7 +4373,7 @@ const closing = omission({
4373
4373
  dd,
4374
4374
  dt,
4375
4375
  head: headOrColgroupOrCaption,
4376
- html: html$2,
4376
+ html: html$1,
4377
4377
  li,
4378
4378
  optgroup,
4379
4379
  option,
@@ -4391,7 +4391,7 @@ function headOrColgroupOrCaption(e, g, _) {
4391
4391
  let v = siblingAfter(_, g, !0);
4392
4392
  return !v || v.type !== "comment" && !(v.type === "text" && whitespace(v.value.charAt(0)));
4393
4393
  }
4394
- function html$2(e, g, _) {
4394
+ function html$1(e, g, _) {
4395
4395
  let v = siblingAfter(_, g);
4396
4396
  return !v || v.type !== "comment";
4397
4397
  }
@@ -4450,10 +4450,10 @@ const opening = omission({
4450
4450
  body,
4451
4451
  colgroup,
4452
4452
  head,
4453
- html: html$1,
4453
+ html,
4454
4454
  tbody
4455
4455
  });
4456
- function html$1(e) {
4456
+ function html(e) {
4457
4457
  let g = siblingAfter(e, -1);
4458
4458
  return !g || g.type !== "comment";
4459
4459
  }
@@ -4508,7 +4508,7 @@ function serializeAttribute(e, g, _) {
4508
4508
  let v = find(e.schema, g), y = e.settings.allowParseErrors && e.schema.space === "html" ? 0 : 1, b = e.settings.allowDangerousCharacters ? 0 : 1, x = e.quote, S;
4509
4509
  if (v.overloadedBoolean && (_ === v.attribute || _ === "") ? _ = !0 : (v.boolean || v.overloadedBoolean) && (typeof _ != "string" || _ === v.attribute || _ === "") && (_ = !!_), _ == null || _ === !1 || typeof _ == "number" && Number.isNaN(_)) return "";
4510
4510
  let C = stringifyEntities(v.attribute, Object.assign({}, e.settings.characterReferences, { subset: constants.name[y][b] }));
4511
- return _ === !0 || (_ = Array.isArray(_) ? (v.commaSeparated ? stringify$1 : stringify$2)(_, { padLeft: !e.settings.tightCommaSeparatedLists }) : String(_), e.settings.collapseEmptyAttributes && !_) ? C : (e.settings.preferUnquoted && (S = stringifyEntities(_, Object.assign({}, e.settings.characterReferences, {
4511
+ return _ === !0 || (_ = Array.isArray(_) ? (v.commaSeparated ? stringify$2 : stringify$1)(_, { padLeft: !e.settings.tightCommaSeparatedLists }) : String(_), e.settings.collapseEmptyAttributes && !_) ? C : (e.settings.preferUnquoted && (S = stringifyEntities(_, Object.assign({}, e.settings.characterReferences, {
4512
4512
  attribute: !0,
4513
4513
  subset: constants.unquoted[y][b]
4514
4514
  }))), S !== _ && (e.settings.quoteSmart && ccount(_, x) > ccount(_, e.alternative) && (x = e.alternative), S = x + stringifyEntities(_, Object.assign({}, e.settings.characterReferences, {
@@ -4571,7 +4571,7 @@ function toHtml(e, g) {
4571
4571
  closeSelfClosing: _.closeSelfClosing || !1,
4572
4572
  closeEmptyElements: _.closeEmptyElements || !1
4573
4573
  },
4574
- schema: _.space === "svg" ? svg : html,
4574
+ schema: _.space === "svg" ? svg : html$2,
4575
4575
  quote: v,
4576
4576
  alternative: y
4577
4577
  }.one(Array.isArray(e) ? {
@@ -4626,6 +4626,7 @@ function addClassToHast(e, g) {
4626
4626
  return e;
4627
4627
  }
4628
4628
  function splitLines(e, g = !1) {
4629
+ if (e.length === 0) return [["", 0]];
4629
4630
  let _ = e.split(/(\r?\n)/g), v = 0, y = [];
4630
4631
  for (let e = 0; e < _.length; e += 2) {
4631
4632
  let b = g ? _[e] + (_[e + 1] || "") : _[e];
@@ -4661,15 +4662,6 @@ function createPositionConverter(e) {
4661
4662
  posToIndex: v
4662
4663
  };
4663
4664
  }
4664
- function guessEmbeddedLanguages(e, g, _) {
4665
- let v = /* @__PURE__ */ new Set();
4666
- for (let g of e.matchAll(/lang=["']([\w-]+)["']/g)) v.add(g[1]);
4667
- for (let g of e.matchAll(/(?:```|~~~)([\w-]+)/g)) v.add(g[1]);
4668
- for (let g of e.matchAll(/\\begin\{([\w-]+)\}/g)) v.add(g[1]);
4669
- if (!_) return Array.from(v);
4670
- let y = _.getBundledLanguages();
4671
- return Array.from(v).filter((e) => e && y[e]);
4672
- }
4673
4665
  var DEFAULT_COLOR_LIGHT_DARK = "light-dark()", COLOR_KEYS = ["color", "background-color"];
4674
4666
  function splitToken(e, g) {
4675
4667
  let _ = 0, v = [];
@@ -4705,7 +4697,7 @@ function flatTokenVariants(e, g, _, v, y = "css-vars") {
4705
4697
  let S = e[b] || "inherit";
4706
4698
  if (_ === 0 && v && COLOR_KEYS.includes(b)) if (v === DEFAULT_COLOR_LIGHT_DARK && x.length > 1) {
4707
4699
  let e = g.findIndex((e) => e === "light"), v = g.findIndex((e) => e === "dark");
4708
- if (e === -1 || v === -1) throw new ShikiError$1("When using `defaultColor: \"light-dark()\"`, you must provide both `light` and `dark` themes");
4700
+ if (e === -1 || v === -1) throw new ShikiError$2("When using `defaultColor: \"light-dark()\"`, you must provide both `light` and `dark` themes");
4709
4701
  C[b] = `light-dark(${x[e][b] || "inherit"}, ${x[v][b] || "inherit"})`, y === "css-vars" && (C[w(_, b)] = S);
4710
4702
  } else C[b] = S;
4711
4703
  else y === "css-vars" && (C[w(_, b)] = S);
@@ -4781,7 +4773,7 @@ function getScopes(e) {
4781
4773
  return v(e), g;
4782
4774
  }
4783
4775
  function getGrammarStack(e, g) {
4784
- if (!(e instanceof GrammarState)) throw new ShikiError$1("Invalid grammar state");
4776
+ if (!(e instanceof GrammarState)) throw new ShikiError$2("Invalid grammar state");
4785
4777
  return e.getInternalStack(g);
4786
4778
  }
4787
4779
  function transformerDecorations() {
@@ -4790,16 +4782,16 @@ function transformerDecorations() {
4790
4782
  if (!e.has(g.meta)) {
4791
4783
  let _ = function(e) {
4792
4784
  if (typeof e == "number") {
4793
- if (e < 0 || e > g.source.length) throw new ShikiError$1(`Invalid decoration offset: ${e}. Code length: ${g.source.length}`);
4785
+ if (e < 0 || e > g.source.length) throw new ShikiError$2(`Invalid decoration offset: ${e}. Code length: ${g.source.length}`);
4794
4786
  return {
4795
4787
  ...v.indexToPos(e),
4796
4788
  offset: e
4797
4789
  };
4798
4790
  } else {
4799
4791
  let g = v.lines[e.line];
4800
- if (g === void 0) throw new ShikiError$1(`Invalid decoration position ${JSON.stringify(e)}. Lines length: ${v.lines.length}`);
4792
+ if (g === void 0) throw new ShikiError$2(`Invalid decoration position ${JSON.stringify(e)}. Lines length: ${v.lines.length}`);
4801
4793
  let _ = e.character;
4802
- if (_ < 0 && (_ = g.length + _), _ < 0 || _ > g.length) throw new ShikiError$1(`Invalid decoration position ${JSON.stringify(e)}. Line ${e.line} length: ${g.length}`);
4794
+ if (_ < 0 && (_ = g.length + _), _ < 0 || _ > g.length) throw new ShikiError$2(`Invalid decoration position ${JSON.stringify(e)}. Line ${e.line} length: ${g.length}`);
4803
4795
  return {
4804
4796
  ...e,
4805
4797
  character: _,
@@ -4827,12 +4819,12 @@ function transformerDecorations() {
4827
4819
  code(e) {
4828
4820
  if (!this.options.decorations?.length) return;
4829
4821
  let _ = g(this), v = Array.from(e.children).filter((e) => e.type === "element" && e.tagName === "span");
4830
- if (v.length !== _.converter.lines.length) throw new ShikiError$1(`Number of lines in code element (${v.length}) does not match the number of lines in the source (${_.converter.lines.length}). Failed to apply decorations.`);
4822
+ if (v.length !== _.converter.lines.length) throw new ShikiError$2(`Number of lines in code element (${v.length}) does not match the number of lines in the source (${_.converter.lines.length}). Failed to apply decorations.`);
4831
4823
  function y(e, g, _, y) {
4832
4824
  let b = v[e], S = "", C = -1, w = -1;
4833
4825
  if (g === 0 && (C = 0), _ === 0 && (w = 0), _ === Infinity && (w = b.children.length), C === -1 || w === -1) for (let e = 0; e < b.children.length; e++) S += stringify(b.children[e]), C === -1 && S.length === g && (C = e + 1), w === -1 && S.length === _ && (w = e + 1);
4834
- if (C === -1) throw new ShikiError$1(`Failed to find start index for decoration ${JSON.stringify(y.start)}`);
4835
- if (w === -1) throw new ShikiError$1(`Failed to find end index for decoration ${JSON.stringify(y.end)}`);
4826
+ if (C === -1) throw new ShikiError$2(`Failed to find start index for decoration ${JSON.stringify(y.start)}`);
4827
+ if (w === -1) throw new ShikiError$2(`Failed to find end index for decoration ${JSON.stringify(y.end)}`);
4836
4828
  let T = b.children.slice(C, w);
4837
4829
  if (!y.alwaysWrap && T.length === b.children.length) x(b, y, "line");
4838
4830
  else if (!y.alwaysWrap && T.length === 1 && T[0].type === "element") x(T[0], y, "token");
@@ -4874,12 +4866,12 @@ function transformerDecorations() {
4874
4866
  function verifyIntersections(e) {
4875
4867
  for (let g = 0; g < e.length; g++) {
4876
4868
  let _ = e[g];
4877
- if (_.start.offset > _.end.offset) throw new ShikiError$1(`Invalid decoration range: ${JSON.stringify(_.start)} - ${JSON.stringify(_.end)}`);
4869
+ if (_.start.offset > _.end.offset) throw new ShikiError$2(`Invalid decoration range: ${JSON.stringify(_.start)} - ${JSON.stringify(_.end)}`);
4878
4870
  for (let v = g + 1; v < e.length; v++) {
4879
4871
  let g = e[v], y = _.start.offset <= g.start.offset && g.start.offset < _.end.offset, b = _.start.offset < g.end.offset && g.end.offset <= _.end.offset, x = g.start.offset <= _.start.offset && _.start.offset < g.end.offset, S = g.start.offset < _.end.offset && _.end.offset <= g.end.offset;
4880
4872
  if (y || b || x || S) {
4881
4873
  if (y && b || x && S || x && _.start.offset === _.end.offset || b && g.start.offset === g.end.offset) continue;
4882
- throw new ShikiError$1(`Decorations ${JSON.stringify(_.start)} and ${JSON.stringify(g.start)} intersect.`);
4874
+ throw new ShikiError$2(`Decorations ${JSON.stringify(_.start)} and ${JSON.stringify(g.start)} intersect.`);
4883
4875
  }
4884
4876
  }
4885
4877
  }
@@ -5121,8 +5113,29 @@ function createColorPalette(e = defaultNamedColorsMap) {
5121
5113
  }
5122
5114
  return { value: x };
5123
5115
  }
5116
+ var defaultAnsiColors = {
5117
+ black: "#000000",
5118
+ red: "#cd3131",
5119
+ green: "#0DBC79",
5120
+ yellow: "#E5E510",
5121
+ blue: "#2472C8",
5122
+ magenta: "#BC3FBC",
5123
+ cyan: "#11A8CD",
5124
+ white: "#E5E5E5",
5125
+ brightBlack: "#666666",
5126
+ brightRed: "#F14C4C",
5127
+ brightGreen: "#23D18B",
5128
+ brightYellow: "#F5F543",
5129
+ brightBlue: "#3B8EEA",
5130
+ brightMagenta: "#D670D6",
5131
+ brightCyan: "#29B8DB",
5132
+ brightWhite: "#FFFFFF"
5133
+ };
5124
5134
  function tokenizeAnsiWithTheme(e, g, _) {
5125
- let v = resolveColorReplacements(e, _), y = splitLines(g), b = createColorPalette(Object.fromEntries(namedColors.map((g) => [g, e.colors?.[`terminal.ansi${g[0].toUpperCase()}${g.substring(1)}`]]))), x = createAnsiSequenceParser();
5135
+ let v = resolveColorReplacements(e, _), y = splitLines(g), b = createColorPalette(Object.fromEntries(namedColors.map((g) => {
5136
+ let _ = `terminal.ansi${g[0].toUpperCase()}${g.substring(1)}`;
5137
+ return [g, e.colors?.[_] || defaultAnsiColors[g]];
5138
+ }))), x = createAnsiSequenceParser();
5126
5139
  return y.map((g) => x.parse(g[0]).map((_) => {
5127
5140
  let y, x;
5128
5141
  _.decorations.has("reverse") ? (y = _.background ? b.value(_.background) : e.bg, x = _.foreground ? b.value(_.foreground) : e.fg) : (y = _.foreground ? b.value(_.foreground) : e.fg, x = _.background ? b.value(_.background) : void 0), y = applyColorReplacements(y, v), x = applyColorReplacements(x, v), _.decorations.has("dim") && (y = dimColor(y));
@@ -5137,40 +5150,49 @@ function tokenizeAnsiWithTheme(e, g, _) {
5137
5150
  }));
5138
5151
  }
5139
5152
  function dimColor(e) {
5140
- let g = e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);
5141
- if (g) if (g[3]) {
5142
- let e = Math.round(Number.parseInt(g[3], 16) / 2).toString(16).padStart(2, "0");
5143
- return `#${g[1]}${g[2]}${e}`;
5144
- } else if (g[2]) return `#${g[1]}${g[2]}80`;
5145
- else return `#${Array.from(g[1]).map((e) => `${e}${e}`).join("")}80`;
5153
+ let g = e.match(/#([0-9a-f]{3,8})/i);
5154
+ if (g) {
5155
+ let e = g[1];
5156
+ if (e.length === 8) {
5157
+ let g = Math.round(Number.parseInt(e.slice(6, 8), 16) / 2).toString(16).padStart(2, "0");
5158
+ return `#${e.slice(0, 6)}${g}`;
5159
+ } else if (e.length === 6) return `#${e}80`;
5160
+ else if (e.length === 4) {
5161
+ let g = e[0], _ = e[1], v = e[2], y = e[3];
5162
+ return `#${g}${g}${_}${_}${v}${v}${Math.round(Number.parseInt(`${y}${y}`, 16) / 2).toString(16).padStart(2, "0")}`;
5163
+ } else if (e.length === 3) {
5164
+ let g = e[0], _ = e[1], v = e[2];
5165
+ return `#${g}${g}${_}${_}${v}${v}80`;
5166
+ }
5167
+ }
5146
5168
  let _ = e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);
5147
5169
  return _ ? `var(${_[1]}-dim)` : e;
5148
5170
  }
5149
- function codeToTokensBase$1(e, g, _ = {}) {
5150
- let { lang: v = "text", theme: y = e.getLoadedThemes()[0] } = _;
5151
- if (isPlainLang(v) || isNoneTheme(y)) return splitLines(g).map((e) => [{
5171
+ function codeToTokensBase(e, g, _ = {}) {
5172
+ let { theme: v = e.getLoadedThemes()[0] } = _, y = e.resolveLangAlias(_.lang || "text");
5173
+ if (isPlainLang(y) || isNoneTheme(v)) return splitLines(g).map((e) => [{
5152
5174
  content: e[0],
5153
5175
  offset: e[1]
5154
5176
  }]);
5155
- let { theme: b, colorMap: x } = e.setTheme(y);
5156
- if (v === "ansi") return tokenizeAnsiWithTheme(b, g, _);
5157
- let S = e.getLanguage(v);
5177
+ let { theme: b, colorMap: x } = e.setTheme(v);
5178
+ if (y === "ansi") return tokenizeAnsiWithTheme(b, g, _);
5179
+ let S = e.getLanguage(_.lang || "text");
5158
5180
  if (_.grammarState) {
5159
- if (_.grammarState.lang !== S.name) throw new ShikiError$1(`Grammar state language "${_.grammarState.lang}" does not match highlight language "${S.name}"`);
5160
- if (!_.grammarState.themes.includes(b.name)) throw new ShikiError$1(`Grammar state themes "${_.grammarState.themes}" do not contain highlight theme "${b.name}"`);
5181
+ if (_.grammarState.lang !== S.name) throw new ShikiError$2(`Grammar state language "${_.grammarState.lang}" does not match highlight language "${S.name}"`);
5182
+ if (!_.grammarState.themes.includes(b.name)) throw new ShikiError$2(`Grammar state themes "${_.grammarState.themes}" do not contain highlight theme "${b.name}"`);
5161
5183
  }
5162
5184
  return tokenizeWithTheme(g, S, b, x, _);
5163
5185
  }
5164
- function getLastGrammarState$1(...e) {
5186
+ function getLastGrammarState(...e) {
5165
5187
  if (e.length === 2) return getLastGrammarStateFromMap(e[1]);
5166
5188
  let [g, _, v = {}] = e, { lang: y = "text", theme: b = g.getLoadedThemes()[0] } = v;
5167
- if (isPlainLang(y) || isNoneTheme(b)) throw new ShikiError$1("Plain language does not have grammar state");
5168
- if (y === "ansi") throw new ShikiError$1("ANSI language does not have grammar state");
5189
+ if (isPlainLang(y) || isNoneTheme(b)) throw new ShikiError$2("Plain language does not have grammar state");
5190
+ if (y === "ansi") throw new ShikiError$2("ANSI language does not have grammar state");
5169
5191
  let { theme: x, colorMap: S } = g.setTheme(b), C = g.getLanguage(y);
5170
5192
  return new GrammarState(_tokenizeWithTheme(_, C, x, S, v).stateStack, C.name, x.name);
5171
5193
  }
5172
5194
  function tokenizeWithTheme(e, g, _, v, y) {
5173
- let b = _tokenizeWithTheme(e, g, _, v, y), x = new GrammarState(_tokenizeWithTheme(e, g, _, v, y).stateStack, g.name, _.name);
5195
+ let b = _tokenizeWithTheme(e, g, _, v, y), x = new GrammarState(b.stateStack, g.name, _.name);
5174
5196
  return setLastGrammarStateToMap(b.tokens, x), b.tokens;
5175
5197
  }
5176
5198
  function _tokenizeWithTheme(e, g, _, v, y) {
@@ -5274,12 +5296,12 @@ function explainThemeScope(e, g, _) {
5274
5296
  }
5275
5297
  return v;
5276
5298
  }
5277
- function codeToTokensWithThemes$1(e, g, _) {
5299
+ function codeToTokensWithThemes(e, g, _) {
5278
5300
  let v = Object.entries(_.themes).filter((e) => e[1]).map((e) => ({
5279
5301
  color: e[0],
5280
5302
  theme: e[1]
5281
5303
  })), y = v.map((v) => {
5282
- let y = codeToTokensBase$1(e, g, {
5304
+ let y = codeToTokensBase(e, g, {
5283
5305
  ..._,
5284
5306
  theme: v.theme
5285
5307
  });
@@ -5324,26 +5346,26 @@ function syncThemesTokenization(...e) {
5324
5346
  }
5325
5347
  return g;
5326
5348
  }
5327
- function codeToTokens$1(e, g, _) {
5349
+ function codeToTokens(e, g, _) {
5328
5350
  let v, y, b, x, S, C;
5329
5351
  if ("themes" in _) {
5330
5352
  let { defaultColor: w = "light", cssVariablePrefix: T = "--shiki-", colorsRendering: E = "css-vars" } = _, D = Object.entries(_.themes).filter((e) => e[1]).map((e) => ({
5331
5353
  color: e[0],
5332
5354
  theme: e[1]
5333
5355
  })).sort((e, g) => e.color === w ? -1 : g.color === w ? 1 : 0);
5334
- if (D.length === 0) throw new ShikiError$1("`themes` option must not be empty");
5335
- let O = codeToTokensWithThemes$1(e, g, _);
5336
- if (C = getLastGrammarStateFromMap(O), w && DEFAULT_COLOR_LIGHT_DARK !== w && !D.find((e) => e.color === w)) throw new ShikiError$1(`\`themes\` option must contain the defaultColor key \`${w}\``);
5356
+ if (D.length === 0) throw new ShikiError$2("`themes` option must not be empty");
5357
+ let O = codeToTokensWithThemes(e, g, _);
5358
+ if (C = getLastGrammarStateFromMap(O), w && DEFAULT_COLOR_LIGHT_DARK !== w && !D.find((e) => e.color === w)) throw new ShikiError$2(`\`themes\` option must contain the defaultColor key \`${w}\``);
5337
5359
  let k = D.map((g) => e.getTheme(g.theme)), A = D.map((e) => e.color);
5338
5360
  b = O.map((e) => e.map((e) => flatTokenVariants(e, A, T, w, E))), C && setLastGrammarStateToMap(b, C);
5339
5361
  let j = D.map((e) => resolveColorReplacements(e.theme, _));
5340
5362
  y = mapThemeColors(D, k, j, T, w, "fg", E), v = mapThemeColors(D, k, j, T, w, "bg", E), x = `shiki-themes ${k.map((e) => e.name).join(" ")}`, S = w ? void 0 : [y, v].join(";");
5341
5363
  } else if ("theme" in _) {
5342
5364
  let S = resolveColorReplacements(_.theme, _);
5343
- b = codeToTokensBase$1(e, g, _);
5365
+ b = codeToTokensBase(e, g, _);
5344
5366
  let w = e.getTheme(_.theme);
5345
5367
  v = applyColorReplacements(w.bg, S), y = applyColorReplacements(w.fg, S), x = w.name, C = getLastGrammarStateFromMap(b);
5346
- } else throw new ShikiError$1("Invalid options, either `theme` or `themes` must be provided");
5368
+ } else throw new ShikiError$2("Invalid options, either `theme` or `themes` must be provided");
5347
5369
  return {
5348
5370
  tokens: b,
5349
5371
  fg: y,
@@ -5359,7 +5381,7 @@ function mapThemeColors(e, g, _, v, y, b, x) {
5359
5381
  if (C === 0 && y) {
5360
5382
  if (y === DEFAULT_COLOR_LIGHT_DARK && e.length > 1) {
5361
5383
  let v = e.findIndex((e) => e.color === "light"), y = e.findIndex((e) => e.color === "dark");
5362
- if (v === -1 || y === -1) throw new ShikiError$1("When using `defaultColor: \"light-dark()\"`, you must provide both `light` and `dark` themes");
5384
+ if (v === -1 || y === -1) throw new ShikiError$2("When using `defaultColor: \"light-dark()\"`, you must provide both `light` and `dark` themes");
5363
5385
  return `light-dark(${applyColorReplacements(g[v][b], _[v]) || "inherit"}, ${applyColorReplacements(g[y][b], _[y]) || "inherit"});${T}`;
5364
5386
  }
5365
5387
  return w;
@@ -5367,15 +5389,15 @@ function mapThemeColors(e, g, _, v, y, b, x) {
5367
5389
  return x === "css-vars" ? T : null;
5368
5390
  }).filter((e) => !!e).join(";");
5369
5391
  }
5370
- function codeToHast$1(e, g, _, v = {
5392
+ function codeToHast(e, g, _, v = {
5371
5393
  meta: {},
5372
5394
  options: _,
5373
- codeToHast: (g, _) => codeToHast$1(e, g, _),
5374
- codeToTokens: (g, _) => codeToTokens$1(e, g, _)
5395
+ codeToHast: (g, _) => codeToHast(e, g, _),
5396
+ codeToTokens: (g, _) => codeToTokens(e, g, _)
5375
5397
  }) {
5376
5398
  let y = g;
5377
5399
  for (let e of getTransformers(_)) y = e.preprocess?.call(v, y, _) || y;
5378
- let { tokens: b, fg: x, bg: S, themeName: C, rootStyle: w, grammarState: T } = codeToTokens$1(e, y, _), { mergeWhitespaces: E = !0, mergeSameStyleTokens: D = !1 } = _;
5400
+ let { tokens: b, fg: x, bg: S, themeName: C, rootStyle: w, grammarState: T } = codeToTokens(e, y, _), { mergeWhitespaces: E = !0, mergeSameStyleTokens: D = !1 } = _;
5379
5401
  E === !0 ? b = mergeWhitespaceTokens(b) : E === "never" && (b = splitWhitespaceTokens(b)), D && (b = mergeAdjacentStyledTokens(b));
5380
5402
  let O = {
5381
5403
  ...v,
@@ -5389,29 +5411,27 @@ function codeToHast$1(e, g, _, v = {
5389
5411
  fg: x,
5390
5412
  bg: S,
5391
5413
  themeName: C,
5392
- rootStyle: w
5414
+ rootStyle: _.rootStyle === !1 ? !1 : _.rootStyle ?? w
5393
5415
  }, O, T);
5394
5416
  }
5395
5417
  function tokensToHast(e, g, _, v = getLastGrammarStateFromMap(e)) {
5396
5418
  let y = getTransformers(g), b = [], x = {
5397
5419
  type: "root",
5398
5420
  children: []
5399
- }, { structure: S = "classic", tabindex: C = "0" } = g, w = {
5421
+ }, { structure: S = "classic", tabindex: C = "0" } = g, w = { class: `shiki ${g.themeName || ""}` };
5422
+ g.rootStyle !== !1 && (g.rootStyle == null ? w.style = `background-color:${g.bg};color:${g.fg}` : w.style = g.rootStyle), C !== !1 && C != null && (w.tabindex = C.toString());
5423
+ for (let [e, _] of Object.entries(g.meta || {})) e.startsWith("_") || (w[e] = _);
5424
+ let T = {
5400
5425
  type: "element",
5401
5426
  tagName: "pre",
5402
- properties: {
5403
- class: `shiki ${g.themeName || ""}`,
5404
- style: g.rootStyle || `background-color:${g.bg};color:${g.fg}`,
5405
- ...C !== !1 && C != null ? { tabindex: C.toString() } : {},
5406
- ...Object.fromEntries(Array.from(Object.entries(g.meta || {})).filter(([e]) => !e.startsWith("_")))
5407
- },
5427
+ properties: w,
5408
5428
  children: []
5409
- }, T = {
5429
+ }, E = {
5410
5430
  type: "element",
5411
5431
  tagName: "code",
5412
5432
  properties: {},
5413
5433
  children: b
5414
- }, E = [], D = {
5434
+ }, D = [], O = {
5415
5435
  ..._,
5416
5436
  structure: S,
5417
5437
  addClassToHast,
@@ -5428,13 +5448,13 @@ function tokensToHast(e, g, _, v = getLastGrammarStateFromMap(e)) {
5428
5448
  return x;
5429
5449
  },
5430
5450
  get pre() {
5431
- return w;
5451
+ return T;
5432
5452
  },
5433
5453
  get code() {
5434
- return T;
5454
+ return E;
5435
5455
  },
5436
5456
  get lines() {
5437
- return E;
5457
+ return D;
5438
5458
  }
5439
5459
  };
5440
5460
  if (e.forEach((e, g) => {
@@ -5464,36 +5484,68 @@ function tokensToHast(e, g, _, v = getLastGrammarStateFromMap(e)) {
5464
5484
  }]
5465
5485
  }, C = stringifyTokenStyle(b.htmlStyle || getTokenStyleObject(b));
5466
5486
  C && (e.properties.style = C);
5467
- for (let x of y) e = x?.span?.call(D, e, g + 1, v, _, b) || e;
5487
+ for (let x of y) e = x?.span?.call(O, e, g + 1, v, _, b) || e;
5468
5488
  S === "inline" ? x.children.push(e) : S === "classic" && _.children.push(e), v += b.content.length;
5469
5489
  }
5470
5490
  if (S === "classic") {
5471
- for (let e of y) _ = e?.line?.call(D, _, g + 1) || _;
5472
- E.push(_), b.push(_);
5473
- }
5491
+ for (let e of y) _ = e?.line?.call(O, _, g + 1) || _;
5492
+ D.push(_), b.push(_);
5493
+ } else S === "inline" && D.push(_);
5474
5494
  }), S === "classic") {
5475
- for (let e of y) T = e?.code?.call(D, T) || T;
5476
- w.children.push(T);
5477
- for (let e of y) w = e?.pre?.call(D, w) || w;
5478
- x.children.push(w);
5495
+ for (let e of y) E = e?.code?.call(O, E) || E;
5496
+ T.children.push(E);
5497
+ for (let e of y) T = e?.pre?.call(O, T) || T;
5498
+ x.children.push(T);
5499
+ } else if (S === "inline") {
5500
+ let e = [], g = {
5501
+ type: "element",
5502
+ tagName: "span",
5503
+ properties: { class: "line" },
5504
+ children: []
5505
+ };
5506
+ for (let _ of x.children) _.type === "element" && _.tagName === "br" ? (e.push(g), g = {
5507
+ type: "element",
5508
+ tagName: "span",
5509
+ properties: { class: "line" },
5510
+ children: []
5511
+ }) : (_.type === "element" || _.type === "text") && g.children.push(_);
5512
+ e.push(g);
5513
+ let _ = {
5514
+ type: "element",
5515
+ tagName: "code",
5516
+ properties: {},
5517
+ children: e
5518
+ };
5519
+ for (let e of y) _ = e?.code?.call(O, _) || _;
5520
+ x.children = [];
5521
+ for (let e = 0; e < _.children.length; e++) {
5522
+ e > 0 && x.children.push({
5523
+ type: "element",
5524
+ tagName: "br",
5525
+ properties: {},
5526
+ children: []
5527
+ });
5528
+ let g = _.children[e];
5529
+ g.type === "element" && x.children.push(...g.children);
5530
+ }
5479
5531
  }
5480
- let O = x;
5481
- for (let e of y) O = e?.root?.call(D, O) || O;
5482
- return v && setLastGrammarStateToMap(O, v), O;
5532
+ let k = x;
5533
+ for (let e of y) k = e?.root?.call(O, k) || k;
5534
+ return v && setLastGrammarStateToMap(k, v), k;
5483
5535
  }
5484
5536
  function mergeWhitespaceTokens(e) {
5485
5537
  return e.map((e) => {
5486
- let g = [], _ = "", v = 0;
5538
+ let g = [], _ = "", v;
5487
5539
  return e.forEach((y, b) => {
5488
5540
  let x = !(y.fontStyle && (y.fontStyle & FontStyle.Underline || y.fontStyle & FontStyle.Strikethrough));
5489
- x && y.content.match(/^\s+$/) && e[b + 1] ? (v ||= y.offset, _ += y.content) : _ ? (x ? g.push({
5541
+ x && y.content.match(/^\s+$/) && e[b + 1] ? (v === void 0 && (v = y.offset), _ += y.content) : _ ? (x ? g.push({
5490
5542
  ...y,
5491
5543
  offset: v,
5492
5544
  content: _ + y.content
5493
5545
  }) : g.push({
5494
5546
  content: _,
5495
5547
  offset: v
5496
- }, y), v = 0, _ = "") : g.push(y);
5548
+ }, y), v = void 0, _ = "") : g.push(y);
5497
5549
  }), g;
5498
5550
  });
5499
5551
  }
@@ -5533,13 +5585,13 @@ function mergeAdjacentStyledTokens(e) {
5533
5585
  });
5534
5586
  }
5535
5587
  var hastToHtml = toHtml;
5536
- function codeToHtml$1(e, g, _) {
5588
+ function codeToHtml(e, g, _) {
5537
5589
  let v = {
5538
5590
  meta: {},
5539
5591
  options: _,
5540
- codeToHast: (g, _) => codeToHast$1(e, g, _),
5541
- codeToTokens: (g, _) => codeToTokens$1(e, g, _)
5542
- }, y = hastToHtml(codeToHast$1(e, g, _, v));
5592
+ codeToHast: (g, _) => codeToHast(e, g, _),
5593
+ codeToTokens: (g, _) => codeToTokens(e, g, _)
5594
+ }, y = hastToHtml(codeToHast(e, g, _, v));
5543
5595
  for (let e of getTransformers(_)) y = e.postprocess?.call(v, y, _) || y;
5544
5596
  return y;
5545
5597
  }
@@ -5610,11 +5662,23 @@ function warnDeprecated(e, g = 3) {
5610
5662
  console.trace(`[SHIKI DEPRECATE]: ${e}`);
5611
5663
  }
5612
5664
  }
5613
- var ShikiError$2 = class extends Error {
5665
+ var ShikiError$1 = class extends Error {
5614
5666
  constructor(e) {
5615
5667
  super(e), this.name = "ShikiError";
5616
5668
  }
5617
- }, Registry$1 = class extends Registry {
5669
+ };
5670
+ function resolveLangAlias(e, g) {
5671
+ if (!g) return e;
5672
+ if (g[e]) {
5673
+ let _ = /* @__PURE__ */ new Set([e]);
5674
+ for (; g[e];) {
5675
+ if (e = g[e], _.has(e)) throw new ShikiError$1(`Circular alias \`${Array.from(_).join(" -> ")} -> ${e}\``);
5676
+ _.add(e);
5677
+ }
5678
+ }
5679
+ return e;
5680
+ }
5681
+ var Registry = class extends Registry$1 {
5618
5682
  constructor(e, g, _, v = {}) {
5619
5683
  super(e), this._resolver = e, this._themes = g, this._langs = _, this._alias = v, this._themes.map((e) => this.loadTheme(e)), this.loadLanguages(this._langs);
5620
5684
  }
@@ -5640,14 +5704,7 @@ var ShikiError$2 = class extends Error {
5640
5704
  g || (g = Theme.createFromRawTheme(e), this._textmateThemeCache.set(e, g)), this._syncRegistry.setTheme(g);
5641
5705
  }
5642
5706
  getGrammar(e) {
5643
- if (this._alias[e]) {
5644
- let g = /* @__PURE__ */ new Set([e]);
5645
- for (; this._alias[e];) {
5646
- if (e = this._alias[e], g.has(e)) throw new ShikiError$2(`Circular alias \`${Array.from(g).join(" -> ")} -> ${e}\``);
5647
- g.add(e);
5648
- }
5649
- }
5650
- return this._resolvedGrammars.get(e);
5707
+ return e = resolveLangAlias(e, this._alias), this._resolvedGrammars.get(e);
5651
5708
  }
5652
5709
  loadLanguage(e) {
5653
5710
  if (this.getGrammar(e.name)) return;
@@ -5670,8 +5727,8 @@ var ShikiError$2 = class extends Error {
5670
5727
  for (let g of e) this.resolveEmbeddedLanguages(g);
5671
5728
  let g = Array.from(this._langGraph.entries()), _ = g.filter(([e, g]) => !g);
5672
5729
  if (_.length) {
5673
- let e = g.filter(([e, g]) => g && g.embeddedLangs?.some((e) => _.map(([e]) => e).includes(e))).filter((e) => !_.includes(e));
5674
- throw new ShikiError$2(`Missing languages ${_.map(([e]) => `\`${e}\``).join(", ")}, required by ${e.map(([e]) => `\`${e}\``).join(", ")}`);
5730
+ let e = g.filter(([e, g]) => g ? (g.embeddedLanguages || g.embeddedLangs)?.some((e) => _.map(([e]) => e).includes(e)) : !1).filter((e) => !_.includes(e));
5731
+ throw new ShikiError$1(`Missing languages ${_.map(([e]) => `\`${e}\``).join(", ")}, required by ${e.map(([e]) => `\`${e}\``).join(", ")}`);
5675
5732
  }
5676
5733
  for (let [e, _] of g) this._resolver.addLanguage(_);
5677
5734
  for (let [e, _] of g) this.loadLanguage(_);
@@ -5680,7 +5737,9 @@ var ShikiError$2 = class extends Error {
5680
5737
  return this._loadedLanguagesCache ||= [.../* @__PURE__ */ new Set([...this._resolvedGrammars.keys(), ...Object.keys(this._alias)])], this._loadedLanguagesCache;
5681
5738
  }
5682
5739
  resolveEmbeddedLanguages(e) {
5683
- if (this._langMap.set(e.name, e), this._langGraph.set(e.name, e), e.embeddedLangs) for (let g of e.embeddedLangs) this._langGraph.set(g, this._langMap.get(g));
5740
+ this._langMap.set(e.name, e), this._langGraph.set(e.name, e);
5741
+ let g = e.embeddedLanguages ?? e.embeddedLangs;
5742
+ if (g) for (let e of g) this._langGraph.set(e, this._langMap.get(e));
5684
5743
  }
5685
5744
  }, Resolver = class {
5686
5745
  _langs = /* @__PURE__ */ new Map();
@@ -5721,15 +5780,18 @@ var ShikiError$2 = class extends Error {
5721
5780
  function createShikiInternalSync(e) {
5722
5781
  instancesCount += 1, e.warnings !== !1 && instancesCount >= 10 && instancesCount % 10 == 0 && console.warn(`[Shiki] ${instancesCount} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);
5723
5782
  let g = !1;
5724
- if (!e.engine) throw new ShikiError$2("`engine` option is required for synchronous mode");
5725
- let _ = (e.langs || []).flat(1), v = (e.themes || []).flat(1).map(normalizeTheme), y = new Registry$1(new Resolver(e.engine, _), v, _, e.langAlias), b;
5726
- function x(e) {
5727
- A();
5783
+ if (!e.engine) throw new ShikiError$1("`engine` option is required for synchronous mode");
5784
+ let _ = (e.langs || []).flat(1), v = (e.themes || []).flat(1).map(normalizeTheme), y = new Registry(new Resolver(e.engine, _), v, _, e.langAlias), b;
5785
+ function x(g) {
5786
+ return resolveLangAlias(g, e.langAlias);
5787
+ }
5788
+ function S(e) {
5789
+ j();
5728
5790
  let g = y.getGrammar(typeof e == "string" ? e : e.name);
5729
- if (!g) throw new ShikiError$2(`Language \`${e}\` not found, you may need to load it first`);
5791
+ if (!g) throw new ShikiError$1(`Language \`${e}\` not found, you may need to load it first`);
5730
5792
  return g;
5731
5793
  }
5732
- function S(e) {
5794
+ function C(e) {
5733
5795
  if (e === "none") return {
5734
5796
  bg: "",
5735
5797
  fg: "",
@@ -5737,56 +5799,57 @@ function createShikiInternalSync(e) {
5737
5799
  settings: [],
5738
5800
  type: "dark"
5739
5801
  };
5740
- A();
5802
+ j();
5741
5803
  let g = y.getTheme(e);
5742
- if (!g) throw new ShikiError$2(`Theme \`${e}\` not found, you may need to load it first`);
5804
+ if (!g) throw new ShikiError$1(`Theme \`${e}\` not found, you may need to load it first`);
5743
5805
  return g;
5744
5806
  }
5745
- function C(e) {
5746
- A();
5747
- let g = S(e);
5807
+ function w(e) {
5808
+ j();
5809
+ let g = C(e);
5748
5810
  return b !== e && (y.setTheme(g), b = e), {
5749
5811
  theme: g,
5750
5812
  colorMap: y.getColorMap()
5751
5813
  };
5752
5814
  }
5753
- function w() {
5754
- return A(), y.getLoadedThemes();
5755
- }
5756
5815
  function T() {
5757
- return A(), y.getLoadedLanguages();
5816
+ return j(), y.getLoadedThemes();
5758
5817
  }
5759
- function E(...e) {
5760
- A(), y.loadLanguages(e.flat(1));
5818
+ function E() {
5819
+ return j(), y.getLoadedLanguages();
5761
5820
  }
5762
- async function D(...e) {
5763
- return E(await resolveLangs(e));
5821
+ function D(...e) {
5822
+ j(), y.loadLanguages(e.flat(1));
5764
5823
  }
5765
- function O(...e) {
5766
- A();
5767
- for (let g of e.flat(1)) y.loadTheme(g);
5824
+ async function O(...e) {
5825
+ return D(await resolveLangs(e));
5768
5826
  }
5769
- async function k(...e) {
5770
- return A(), O(await resolveThemes(e));
5827
+ function k(...e) {
5828
+ j();
5829
+ for (let g of e.flat(1)) y.loadTheme(g);
5771
5830
  }
5772
- function A() {
5773
- if (g) throw new ShikiError$2("Shiki instance has been disposed");
5831
+ async function A(...e) {
5832
+ return j(), k(await resolveThemes(e));
5774
5833
  }
5775
5834
  function j() {
5835
+ if (g) throw new ShikiError$1("Shiki instance has been disposed");
5836
+ }
5837
+ function M() {
5776
5838
  g || (g = !0, y.dispose(), --instancesCount);
5777
5839
  }
5778
5840
  return {
5779
- setTheme: C,
5780
- getTheme: S,
5781
- getLanguage: x,
5782
- getLoadedThemes: w,
5783
- getLoadedLanguages: T,
5784
- loadLanguage: D,
5785
- loadLanguageSync: E,
5786
- loadTheme: k,
5787
- loadThemeSync: O,
5788
- dispose: j,
5789
- [Symbol.dispose]: j
5841
+ setTheme: w,
5842
+ getTheme: C,
5843
+ getLanguage: S,
5844
+ getLoadedThemes: T,
5845
+ getLoadedLanguages: E,
5846
+ resolveLangAlias: x,
5847
+ loadLanguage: O,
5848
+ loadLanguageSync: D,
5849
+ loadTheme: A,
5850
+ loadThemeSync: k,
5851
+ dispose: M,
5852
+ [Symbol.dispose]: M
5790
5853
  };
5791
5854
  }
5792
5855
  async function createShikiInternal(e) {
@@ -5806,1668 +5869,19 @@ async function createShikiInternal(e) {
5806
5869
  async function createHighlighterCore(e) {
5807
5870
  let g = await createShikiInternal(e);
5808
5871
  return {
5809
- getLastGrammarState: (...e) => getLastGrammarState$1(g, ...e),
5810
- codeToTokensBase: (e, _) => codeToTokensBase$1(g, e, _),
5811
- codeToTokensWithThemes: (e, _) => codeToTokensWithThemes$1(g, e, _),
5812
- codeToTokens: (e, _) => codeToTokens$1(g, e, _),
5813
- codeToHast: (e, _) => codeToHast$1(g, e, _),
5814
- codeToHtml: (e, _) => codeToHtml$1(g, e, _),
5872
+ getLastGrammarState: (...e) => getLastGrammarState(g, ...e),
5873
+ codeToTokensBase: (e, _) => codeToTokensBase(g, e, _),
5874
+ codeToTokensWithThemes: (e, _) => codeToTokensWithThemes(g, e, _),
5875
+ codeToTokens: (e, _) => codeToTokens(g, e, _),
5876
+ codeToHast: (e, _) => codeToHast(g, e, _),
5877
+ codeToHtml: (e, _) => codeToHtml(g, e, _),
5815
5878
  getBundledLanguages: () => ({}),
5816
5879
  getBundledThemes: () => ({}),
5817
5880
  ...g,
5818
5881
  getInternalContext: () => g
5819
5882
  };
5820
5883
  }
5821
- function createdBundledHighlighter(e) {
5822
- let g = e.langs, _ = e.themes, v = e.engine;
5823
- async function y(e) {
5824
- function y(_) {
5825
- if (typeof _ == "string") {
5826
- if (isSpecialLang(_)) return [];
5827
- _ = e.langAlias?.[_] || _;
5828
- let v = g[_];
5829
- if (!v) throw new ShikiError$1(`Language \`${_}\` is not included in this bundle. You may want to load it from external source.`);
5830
- return v;
5831
- }
5832
- return _;
5833
- }
5834
- function b(e) {
5835
- if (isSpecialTheme(e)) return "none";
5836
- if (typeof e == "string") {
5837
- let g = _[e];
5838
- if (!g) throw new ShikiError$1(`Theme \`${e}\` is not included in this bundle. You may want to load it from external source.`);
5839
- return g;
5840
- }
5841
- return e;
5842
- }
5843
- let x = (e.themes ?? []).map((e) => b(e)), S = (e.langs ?? []).map((e) => y(e)), C = await createHighlighterCore({
5844
- engine: e.engine ?? v(),
5845
- ...e,
5846
- themes: x,
5847
- langs: S
5848
- });
5849
- return {
5850
- ...C,
5851
- loadLanguage(...e) {
5852
- return C.loadLanguage(...e.map(y));
5853
- },
5854
- loadTheme(...e) {
5855
- return C.loadTheme(...e.map(b));
5856
- },
5857
- getBundledLanguages() {
5858
- return g;
5859
- },
5860
- getBundledThemes() {
5861
- return _;
5862
- }
5863
- };
5864
- }
5865
- return y;
5866
- }
5867
- function makeSingletonHighlighter(e) {
5868
- let g;
5869
- async function _(_ = {}) {
5870
- if (g) {
5871
- let e = await g;
5872
- return await Promise.all([e.loadTheme(..._.themes || []), e.loadLanguage(..._.langs || [])]), e;
5873
- } else return g = e({
5874
- ..._,
5875
- themes: _.themes || [],
5876
- langs: _.langs || []
5877
- }), g;
5878
- }
5879
- return _;
5880
- }
5881
- function createSingletonShorthands(e, g) {
5882
- let _ = makeSingletonHighlighter(e);
5883
- async function v(e, v) {
5884
- let y = await _({
5885
- langs: [v.lang],
5886
- themes: "theme" in v ? [v.theme] : Object.values(v.themes)
5887
- }), b = await g?.guessEmbeddedLanguages?.(e, v.lang, y);
5888
- return b && await y.loadLanguage(...b), y;
5889
- }
5890
- return {
5891
- getSingletonHighlighter(e) {
5892
- return _(e);
5893
- },
5894
- async codeToHtml(e, g) {
5895
- return (await v(e, g)).codeToHtml(e, g);
5896
- },
5897
- async codeToHast(e, g) {
5898
- return (await v(e, g)).codeToHast(e, g);
5899
- },
5900
- async codeToTokens(e, g) {
5901
- return (await v(e, g)).codeToTokens(e, g);
5902
- },
5903
- async codeToTokensBase(e, g) {
5904
- return (await v(e, g)).codeToTokensBase(e, g);
5905
- },
5906
- async codeToTokensWithThemes(e, g) {
5907
- return (await v(e, g)).codeToTokensWithThemes(e, g);
5908
- },
5909
- async getLastGrammarState(e, g) {
5910
- return (await _({
5911
- langs: [g.lang],
5912
- themes: [g.theme]
5913
- })).getLastGrammarState(e, g);
5914
- }
5915
- };
5916
- }
5917
- var bundledLanguagesInfo = [
5918
- {
5919
- id: "abap",
5920
- name: "ABAP",
5921
- import: (() => import("./abap-ByBB8hCS.js"))
5922
- },
5923
- {
5924
- id: "actionscript-3",
5925
- name: "ActionScript",
5926
- import: (() => import("./actionscript-3-u_W0UD-i.js"))
5927
- },
5928
- {
5929
- id: "ada",
5930
- name: "Ada",
5931
- import: (() => import("./ada-D6LNaVo2.js"))
5932
- },
5933
- {
5934
- id: "angular-html",
5935
- name: "Angular HTML",
5936
- import: (() => import("./angular-html-B_uo4S5O.js"))
5937
- },
5938
- {
5939
- id: "angular-ts",
5940
- name: "Angular TypeScript",
5941
- import: (() => import("./angular-ts-BbXR0oOD.js"))
5942
- },
5943
- {
5944
- id: "apache",
5945
- name: "Apache Conf",
5946
- import: (() => import("./apache-Ciko7xcX.js"))
5947
- },
5948
- {
5949
- id: "apex",
5950
- name: "Apex",
5951
- import: (() => import("./apex-uGhlR7tv.js"))
5952
- },
5953
- {
5954
- id: "apl",
5955
- name: "APL",
5956
- import: (() => import("./apl-BVE2KUVH.js"))
5957
- },
5958
- {
5959
- id: "applescript",
5960
- name: "AppleScript",
5961
- import: (() => import("./applescript-CUmxZwZn.js"))
5962
- },
5963
- {
5964
- id: "ara",
5965
- name: "Ara",
5966
- import: (() => import("./ara-Dwb8W3ir.js"))
5967
- },
5968
- {
5969
- id: "asciidoc",
5970
- name: "AsciiDoc",
5971
- aliases: ["adoc"],
5972
- import: (() => import("./asciidoc-G-WuH0GC.js"))
5973
- },
5974
- {
5975
- id: "asm",
5976
- name: "Assembly",
5977
- import: (() => import("./asm-DmzGDOaW.js"))
5978
- },
5979
- {
5980
- id: "astro",
5981
- name: "Astro",
5982
- import: (() => import("./astro-BmQjKWSE.js"))
5983
- },
5984
- {
5985
- id: "awk",
5986
- name: "AWK",
5987
- import: (() => import("./awk-0i6uYx1l.js"))
5988
- },
5989
- {
5990
- id: "ballerina",
5991
- name: "Ballerina",
5992
- import: (() => import("./ballerina-Bsr5f5G4.js"))
5993
- },
5994
- {
5995
- id: "bat",
5996
- name: "Batch File",
5997
- aliases: ["batch"],
5998
- import: (() => import("./bat-Y7cOAZoQ.js"))
5999
- },
6000
- {
6001
- id: "beancount",
6002
- name: "Beancount",
6003
- import: (() => import("./beancount-NwH4SjCk.js"))
6004
- },
6005
- {
6006
- id: "berry",
6007
- name: "Berry",
6008
- aliases: ["be"],
6009
- import: (() => import("./berry-CyhvLjee.js"))
6010
- },
6011
- {
6012
- id: "bibtex",
6013
- name: "BibTeX",
6014
- import: (() => import("./bibtex-D06Vv07T.js"))
6015
- },
6016
- {
6017
- id: "bicep",
6018
- name: "Bicep",
6019
- import: (() => import("./bicep-CENK6e3A.js"))
6020
- },
6021
- {
6022
- id: "blade",
6023
- name: "Blade",
6024
- import: (() => import("./blade-BHYyXnPY.js"))
6025
- },
6026
- {
6027
- id: "bsl",
6028
- name: "1C (Enterprise)",
6029
- aliases: ["1c"],
6030
- import: (() => import("./bsl-63w1fcS1.js"))
6031
- },
6032
- {
6033
- id: "c",
6034
- name: "C",
6035
- import: (() => import("./c-gucdcEmO.js"))
6036
- },
6037
- {
6038
- id: "cadence",
6039
- name: "Cadence",
6040
- aliases: ["cdc"],
6041
- import: (() => import("./cadence-_JUK1iDT.js"))
6042
- },
6043
- {
6044
- id: "cairo",
6045
- name: "Cairo",
6046
- import: (() => import("./cairo-Cb2N8S7B.js"))
6047
- },
6048
- {
6049
- id: "clarity",
6050
- name: "Clarity",
6051
- import: (() => import("./clarity-BseTih1p.js"))
6052
- },
6053
- {
6054
- id: "clojure",
6055
- name: "Clojure",
6056
- aliases: ["clj"],
6057
- import: (() => import("./clojure-BXEsxzIz.js"))
6058
- },
6059
- {
6060
- id: "cmake",
6061
- name: "CMake",
6062
- import: (() => import("./cmake-MmBQqM7J.js"))
6063
- },
6064
- {
6065
- id: "cobol",
6066
- name: "COBOL",
6067
- import: (() => import("./cobol-B49KNLm1.js"))
6068
- },
6069
- {
6070
- id: "codeowners",
6071
- name: "CODEOWNERS",
6072
- import: (() => import("./codeowners-DlmQ4wZl.js"))
6073
- },
6074
- {
6075
- id: "codeql",
6076
- name: "CodeQL",
6077
- aliases: ["ql"],
6078
- import: (() => import("./codeql-BcApYn7n.js"))
6079
- },
6080
- {
6081
- id: "coffee",
6082
- name: "CoffeeScript",
6083
- aliases: ["coffeescript"],
6084
- import: (() => import("./coffee-CeuDMH_e.js"))
6085
- },
6086
- {
6087
- id: "common-lisp",
6088
- name: "Common Lisp",
6089
- aliases: ["lisp"],
6090
- import: (() => import("./common-lisp-CFYhgu_n.js"))
6091
- },
6092
- {
6093
- id: "coq",
6094
- name: "Coq",
6095
- import: (() => import("./coq-DiyuLGr-.js"))
6096
- },
6097
- {
6098
- id: "cpp",
6099
- name: "C++",
6100
- aliases: ["c++"],
6101
- import: (() => import("./cpp-Dy1LSI7U.js"))
6102
- },
6103
- {
6104
- id: "crystal",
6105
- name: "Crystal",
6106
- import: (() => import("./crystal-BnSxwTtg.js"))
6107
- },
6108
- {
6109
- id: "csharp",
6110
- name: "C#",
6111
- aliases: ["c#", "cs"],
6112
- import: (() => import("./csharp-BcPhjkYh.js"))
6113
- },
6114
- {
6115
- id: "css",
6116
- name: "CSS",
6117
- import: (() => import("./css-7erxRuBY.js"))
6118
- },
6119
- {
6120
- id: "csv",
6121
- name: "CSV",
6122
- import: (() => import("./csv-BjBs6QJb.js"))
6123
- },
6124
- {
6125
- id: "cue",
6126
- name: "CUE",
6127
- import: (() => import("./cue-YUTTNjUV.js"))
6128
- },
6129
- {
6130
- id: "cypher",
6131
- name: "Cypher",
6132
- aliases: ["cql"],
6133
- import: (() => import("./cypher-hMC3R2bj.js"))
6134
- },
6135
- {
6136
- id: "d",
6137
- name: "D",
6138
- import: (() => import("./d-o5F4kKli.js"))
6139
- },
6140
- {
6141
- id: "dart",
6142
- name: "Dart",
6143
- import: (() => import("./dart-ChbB_H8_.js"))
6144
- },
6145
- {
6146
- id: "dax",
6147
- name: "DAX",
6148
- import: (() => import("./dax-UERD1JeM.js"))
6149
- },
6150
- {
6151
- id: "desktop",
6152
- name: "Desktop",
6153
- import: (() => import("./desktop-Bl0i3uLh.js"))
6154
- },
6155
- {
6156
- id: "diff",
6157
- name: "Diff",
6158
- import: (() => import("./diff-Ds7QpJOg.js"))
6159
- },
6160
- {
6161
- id: "docker",
6162
- name: "Dockerfile",
6163
- aliases: ["dockerfile"],
6164
- import: (() => import("./docker-Zr78Fx5S.js"))
6165
- },
6166
- {
6167
- id: "dotenv",
6168
- name: "dotEnv",
6169
- import: (() => import("./dotenv-aBR1wj1q.js"))
6170
- },
6171
- {
6172
- id: "dream-maker",
6173
- name: "Dream Maker",
6174
- import: (() => import("./dream-maker-ChywyyT1.js"))
6175
- },
6176
- {
6177
- id: "edge",
6178
- name: "Edge",
6179
- import: (() => import("./edge-Ckx5wPam.js"))
6180
- },
6181
- {
6182
- id: "elixir",
6183
- name: "Elixir",
6184
- import: (() => import("./elixir-4fTurV75.js"))
6185
- },
6186
- {
6187
- id: "elm",
6188
- name: "Elm",
6189
- import: (() => import("./elm-hI-pwMry.js"))
6190
- },
6191
- {
6192
- id: "emacs-lisp",
6193
- name: "Emacs Lisp",
6194
- aliases: ["elisp"],
6195
- import: (() => import("./emacs-lisp-CdjT8XDu.js"))
6196
- },
6197
- {
6198
- id: "erb",
6199
- name: "ERB",
6200
- import: (() => import("./erb-Bj3N1G-w.js"))
6201
- },
6202
- {
6203
- id: "erlang",
6204
- name: "Erlang",
6205
- aliases: ["erl"],
6206
- import: (() => import("./erlang-D6xKnUWK.js"))
6207
- },
6208
- {
6209
- id: "fennel",
6210
- name: "Fennel",
6211
- import: (() => import("./fennel-BwexbVZT.js"))
6212
- },
6213
- {
6214
- id: "fish",
6215
- name: "Fish",
6216
- import: (() => import("./fish-4kENeNnf.js"))
6217
- },
6218
- {
6219
- id: "fluent",
6220
- name: "Fluent",
6221
- aliases: ["ftl"],
6222
- import: (() => import("./fluent-Ckuiypzf.js"))
6223
- },
6224
- {
6225
- id: "fortran-fixed-form",
6226
- name: "Fortran (Fixed Form)",
6227
- aliases: [
6228
- "f",
6229
- "for",
6230
- "f77"
6231
- ],
6232
- import: (() => import("./fortran-fixed-form-B0LSxqtl.js"))
6233
- },
6234
- {
6235
- id: "fortran-free-form",
6236
- name: "Fortran (Free Form)",
6237
- aliases: [
6238
- "f90",
6239
- "f95",
6240
- "f03",
6241
- "f08",
6242
- "f18"
6243
- ],
6244
- import: (() => import("./fortran-free-form-DWG_lT-R.js"))
6245
- },
6246
- {
6247
- id: "fsharp",
6248
- name: "F#",
6249
- aliases: ["f#", "fs"],
6250
- import: (() => import("./fsharp-DiWlN8AI.js"))
6251
- },
6252
- {
6253
- id: "gdresource",
6254
- name: "GDResource",
6255
- import: (() => import("./gdresource-OqwRfULk.js"))
6256
- },
6257
- {
6258
- id: "gdscript",
6259
- name: "GDScript",
6260
- import: (() => import("./gdscript-CRLt6-N6.js"))
6261
- },
6262
- {
6263
- id: "gdshader",
6264
- name: "GDShader",
6265
- import: (() => import("./gdshader-C9R2u1TI.js"))
6266
- },
6267
- {
6268
- id: "genie",
6269
- name: "Genie",
6270
- import: (() => import("./genie-DAtVQSdD.js"))
6271
- },
6272
- {
6273
- id: "gherkin",
6274
- name: "Gherkin",
6275
- import: (() => import("./gherkin-BFmxcUHk.js"))
6276
- },
6277
- {
6278
- id: "git-commit",
6279
- name: "Git Commit Message",
6280
- import: (() => import("./git-commit-CdXxIOBR.js"))
6281
- },
6282
- {
6283
- id: "git-rebase",
6284
- name: "Git Rebase Message",
6285
- import: (() => import("./git-rebase-BXuqhHF6.js"))
6286
- },
6287
- {
6288
- id: "gleam",
6289
- name: "Gleam",
6290
- import: (() => import("./gleam-CXzMka3o.js"))
6291
- },
6292
- {
6293
- id: "glimmer-js",
6294
- name: "Glimmer JS",
6295
- aliases: ["gjs"],
6296
- import: (() => import("./glimmer-js-CnR2-qWV.js"))
6297
- },
6298
- {
6299
- id: "glimmer-ts",
6300
- name: "Glimmer TS",
6301
- aliases: ["gts"],
6302
- import: (() => import("./glimmer-ts-Beg02At_.js"))
6303
- },
6304
- {
6305
- id: "glsl",
6306
- name: "GLSL",
6307
- import: (() => import("./glsl-D-e6UHEr.js"))
6308
- },
6309
- {
6310
- id: "gnuplot",
6311
- name: "Gnuplot",
6312
- import: (() => import("./gnuplot-DJVNC_Bv.js"))
6313
- },
6314
- {
6315
- id: "go",
6316
- name: "Go",
6317
- import: (() => import("./go-D0pvWbH6.js"))
6318
- },
6319
- {
6320
- id: "graphql",
6321
- name: "GraphQL",
6322
- aliases: ["gql"],
6323
- import: (() => import("./graphql-CxaF4Yg3.js"))
6324
- },
6325
- {
6326
- id: "groovy",
6327
- name: "Groovy",
6328
- import: (() => import("./groovy-C_y04M13.js"))
6329
- },
6330
- {
6331
- id: "hack",
6332
- name: "Hack",
6333
- import: (() => import("./hack-Cg4hbNDi.js"))
6334
- },
6335
- {
6336
- id: "haml",
6337
- name: "Ruby Haml",
6338
- import: (() => import("./haml-CJ2NNSJ3.js"))
6339
- },
6340
- {
6341
- id: "handlebars",
6342
- name: "Handlebars",
6343
- aliases: ["hbs"],
6344
- import: (() => import("./handlebars-UWqoVyLX.js"))
6345
- },
6346
- {
6347
- id: "haskell",
6348
- name: "Haskell",
6349
- aliases: ["hs"],
6350
- import: (() => import("./haskell-BRuaThX8.js"))
6351
- },
6352
- {
6353
- id: "haxe",
6354
- name: "Haxe",
6355
- import: (() => import("./haxe-YPV8BBwf.js"))
6356
- },
6357
- {
6358
- id: "hcl",
6359
- name: "HashiCorp HCL",
6360
- import: (() => import("./hcl-C5bI4Q36.js"))
6361
- },
6362
- {
6363
- id: "hjson",
6364
- name: "Hjson",
6365
- import: (() => import("./hjson--0YTHgur.js"))
6366
- },
6367
- {
6368
- id: "hlsl",
6369
- name: "HLSL",
6370
- import: (() => import("./hlsl-rVkw3s2c.js"))
6371
- },
6372
- {
6373
- id: "html",
6374
- name: "HTML",
6375
- import: (() => import("./html-oU92KVUM.js"))
6376
- },
6377
- {
6378
- id: "html-derivative",
6379
- name: "HTML (Derivative)",
6380
- import: (() => import("./html-derivative-DXQanhXQ.js"))
6381
- },
6382
- {
6383
- id: "http",
6384
- name: "HTTP",
6385
- import: (() => import("./http-CHh3WV36.js"))
6386
- },
6387
- {
6388
- id: "hxml",
6389
- name: "HXML",
6390
- import: (() => import("./hxml-uvk-7MSJ.js"))
6391
- },
6392
- {
6393
- id: "hy",
6394
- name: "Hy",
6395
- import: (() => import("./hy-DxNgKPt3.js"))
6396
- },
6397
- {
6398
- id: "imba",
6399
- name: "Imba",
6400
- import: (() => import("./imba-C3cUAxvk.js"))
6401
- },
6402
- {
6403
- id: "ini",
6404
- name: "INI",
6405
- aliases: ["properties"],
6406
- import: (() => import("./ini-Cx0oYDB2.js"))
6407
- },
6408
- {
6409
- id: "java",
6410
- name: "Java",
6411
- import: (() => import("./java-DWfWLKRp.js"))
6412
- },
6413
- {
6414
- id: "javascript",
6415
- name: "JavaScript",
6416
- aliases: ["js"],
6417
- import: (() => import("./javascript-Dp1K8mYv.js"))
6418
- },
6419
- {
6420
- id: "jinja",
6421
- name: "Jinja",
6422
- import: (() => import("./jinja-DsYBjCZd.js"))
6423
- },
6424
- {
6425
- id: "jison",
6426
- name: "Jison",
6427
- import: (() => import("./jison-C-Jo8SLg.js"))
6428
- },
6429
- {
6430
- id: "json",
6431
- name: "JSON",
6432
- import: (() => import("./json-Dz5MWcjX.js"))
6433
- },
6434
- {
6435
- id: "json5",
6436
- name: "JSON5",
6437
- import: (() => import("./json5-Hbs_afE5.js"))
6438
- },
6439
- {
6440
- id: "jsonc",
6441
- name: "JSON with Comments",
6442
- import: (() => import("./jsonc-BJyB17HW.js"))
6443
- },
6444
- {
6445
- id: "jsonl",
6446
- name: "JSON Lines",
6447
- import: (() => import("./jsonl-BLmOyMFM.js"))
6448
- },
6449
- {
6450
- id: "jsonnet",
6451
- name: "Jsonnet",
6452
- import: (() => import("./jsonnet-3o_WiD3C.js"))
6453
- },
6454
- {
6455
- id: "jssm",
6456
- name: "JSSM",
6457
- aliases: ["fsl"],
6458
- import: (() => import("./jssm-CPlCin5w.js"))
6459
- },
6460
- {
6461
- id: "jsx",
6462
- name: "JSX",
6463
- import: (() => import("./jsx-BR2ngtea.js"))
6464
- },
6465
- {
6466
- id: "julia",
6467
- name: "Julia",
6468
- aliases: ["jl"],
6469
- import: (() => import("./julia-Dec_oId2.js"))
6470
- },
6471
- {
6472
- id: "kotlin",
6473
- name: "Kotlin",
6474
- aliases: ["kt", "kts"],
6475
- import: (() => import("./kotlin-Bgxu4PKZ.js"))
6476
- },
6477
- {
6478
- id: "kusto",
6479
- name: "Kusto",
6480
- aliases: ["kql"],
6481
- import: (() => import("./kusto-ZirwNQYH.js"))
6482
- },
6483
- {
6484
- id: "latex",
6485
- name: "LaTeX",
6486
- import: (() => import("./latex-9hJEHHPB.js"))
6487
- },
6488
- {
6489
- id: "lean",
6490
- name: "Lean 4",
6491
- aliases: ["lean4"],
6492
- import: (() => import("./lean-DYyhzCco.js"))
6493
- },
6494
- {
6495
- id: "less",
6496
- name: "Less",
6497
- import: (() => import("./less-_wvLeNyc.js"))
6498
- },
6499
- {
6500
- id: "liquid",
6501
- name: "Liquid",
6502
- import: (() => import("./liquid-CeXVMztz.js"))
6503
- },
6504
- {
6505
- id: "llvm",
6506
- name: "LLVM IR",
6507
- import: (() => import("./llvm-D7uWxs9B.js"))
6508
- },
6509
- {
6510
- id: "log",
6511
- name: "Log file",
6512
- import: (() => import("./log-DeGdu8kx.js"))
6513
- },
6514
- {
6515
- id: "logo",
6516
- name: "Logo",
6517
- import: (() => import("./logo-Zkaxz0CZ.js"))
6518
- },
6519
- {
6520
- id: "lua",
6521
- name: "Lua",
6522
- import: (() => import("./lua-D3Hc_w3I.js"))
6523
- },
6524
- {
6525
- id: "luau",
6526
- name: "Luau",
6527
- import: (() => import("./luau-CxBB9O6O.js"))
6528
- },
6529
- {
6530
- id: "make",
6531
- name: "Makefile",
6532
- aliases: ["makefile"],
6533
- import: (() => import("./make-DukspXqD.js"))
6534
- },
6535
- {
6536
- id: "markdown",
6537
- name: "Markdown",
6538
- aliases: ["md"],
6539
- import: (() => import("./markdown-OCRc5mg6.js"))
6540
- },
6541
- {
6542
- id: "marko",
6543
- name: "Marko",
6544
- import: (() => import("./marko-D2J5ea4o.js"))
6545
- },
6546
- {
6547
- id: "matlab",
6548
- name: "MATLAB",
6549
- import: (() => import("./matlab-Ct4ADQyJ.js"))
6550
- },
6551
- {
6552
- id: "mdc",
6553
- name: "MDC",
6554
- import: (() => import("./mdc-CBhsOyN0.js"))
6555
- },
6556
- {
6557
- id: "mdx",
6558
- name: "MDX",
6559
- import: (() => import("./mdx-CEZ-zXHb.js"))
6560
- },
6561
- {
6562
- id: "mermaid",
6563
- name: "Mermaid",
6564
- aliases: ["mmd"],
6565
- import: (() => import("./mermaid-73R8S-Qd.js"))
6566
- },
6567
- {
6568
- id: "mipsasm",
6569
- name: "MIPS Assembly",
6570
- aliases: ["mips"],
6571
- import: (() => import("./mipsasm-B_OQkeqJ.js"))
6572
- },
6573
- {
6574
- id: "mojo",
6575
- name: "Mojo",
6576
- import: (() => import("./mojo-pjUvS4RA.js"))
6577
- },
6578
- {
6579
- id: "move",
6580
- name: "Move",
6581
- import: (() => import("./move-wPLqPKcL.js"))
6582
- },
6583
- {
6584
- id: "narrat",
6585
- name: "Narrat Language",
6586
- aliases: ["nar"],
6587
- import: (() => import("./narrat-Jb7prHOE.js"))
6588
- },
6589
- {
6590
- id: "nextflow",
6591
- name: "Nextflow",
6592
- aliases: ["nf"],
6593
- import: (() => import("./nextflow-DQmrLRbF.js"))
6594
- },
6595
- {
6596
- id: "nginx",
6597
- name: "Nginx",
6598
- import: (() => import("./nginx-DmYySHd7.js"))
6599
- },
6600
- {
6601
- id: "nim",
6602
- name: "Nim",
6603
- import: (() => import("./nim-Ah8k178j.js"))
6604
- },
6605
- {
6606
- id: "nix",
6607
- name: "Nix",
6608
- import: (() => import("./nix-v6SXlKuy.js"))
6609
- },
6610
- {
6611
- id: "nushell",
6612
- name: "nushell",
6613
- aliases: ["nu"],
6614
- import: (() => import("./nushell-CZXyPbNM.js"))
6615
- },
6616
- {
6617
- id: "objective-c",
6618
- name: "Objective-C",
6619
- aliases: ["objc"],
6620
- import: (() => import("./objective-c-BeIBpkvE.js"))
6621
- },
6622
- {
6623
- id: "objective-cpp",
6624
- name: "Objective-C++",
6625
- import: (() => import("./objective-cpp-DQhrQjBU.js"))
6626
- },
6627
- {
6628
- id: "ocaml",
6629
- name: "OCaml",
6630
- import: (() => import("./ocaml-CN4jy1cu.js"))
6631
- },
6632
- {
6633
- id: "pascal",
6634
- name: "Pascal",
6635
- import: (() => import("./pascal-BFDDpaqh.js"))
6636
- },
6637
- {
6638
- id: "perl",
6639
- name: "Perl",
6640
- import: (() => import("./perl-CQ1zJazS.js"))
6641
- },
6642
- {
6643
- id: "php",
6644
- name: "PHP",
6645
- import: (() => import("./php-DYlbWSkc.js"))
6646
- },
6647
- {
6648
- id: "plsql",
6649
- name: "PL/SQL",
6650
- import: (() => import("./plsql-BJInVfJ_.js"))
6651
- },
6652
- {
6653
- id: "po",
6654
- name: "Gettext PO",
6655
- aliases: ["pot", "potx"],
6656
- import: (() => import("./po-C7MF34HE.js"))
6657
- },
6658
- {
6659
- id: "polar",
6660
- name: "Polar",
6661
- import: (() => import("./polar-CJMYhJ0A.js"))
6662
- },
6663
- {
6664
- id: "postcss",
6665
- name: "PostCSS",
6666
- import: (() => import("./postcss-CPUts_Z6.js"))
6667
- },
6668
- {
6669
- id: "powerquery",
6670
- name: "PowerQuery",
6671
- import: (() => import("./powerquery-B-yzRIi_.js"))
6672
- },
6673
- {
6674
- id: "powershell",
6675
- name: "PowerShell",
6676
- aliases: ["ps", "ps1"],
6677
- import: (() => import("./powershell-mWbb2hUS.js"))
6678
- },
6679
- {
6680
- id: "prisma",
6681
- name: "Prisma",
6682
- import: (() => import("./prisma-BCnYemoT.js"))
6683
- },
6684
- {
6685
- id: "prolog",
6686
- name: "Prolog",
6687
- import: (() => import("./prolog-DVT1wTzG.js"))
6688
- },
6689
- {
6690
- id: "proto",
6691
- name: "Protocol Buffer 3",
6692
- aliases: ["protobuf"],
6693
- import: (() => import("./proto-D0ZoVERu.js"))
6694
- },
6695
- {
6696
- id: "pug",
6697
- name: "Pug",
6698
- aliases: ["jade"],
6699
- import: (() => import("./pug-WGJYZv-O.js"))
6700
- },
6701
- {
6702
- id: "puppet",
6703
- name: "Puppet",
6704
- import: (() => import("./puppet-tGW9aBg4.js"))
6705
- },
6706
- {
6707
- id: "purescript",
6708
- name: "PureScript",
6709
- import: (() => import("./purescript-C5CCMHuK.js"))
6710
- },
6711
- {
6712
- id: "python",
6713
- name: "Python",
6714
- aliases: ["py"],
6715
- import: (() => import("./python-U8_2ZumM.js"))
6716
- },
6717
- {
6718
- id: "qml",
6719
- name: "QML",
6720
- import: (() => import("./qml-CEn4o04H.js"))
6721
- },
6722
- {
6723
- id: "qmldir",
6724
- name: "QML Directory",
6725
- import: (() => import("./qmldir-CQhwo6cT.js"))
6726
- },
6727
- {
6728
- id: "qss",
6729
- name: "Qt Style Sheets",
6730
- import: (() => import("./qss-CGhj5Mgp.js"))
6731
- },
6732
- {
6733
- id: "r",
6734
- name: "R",
6735
- import: (() => import("./r-BrpLmF1M.js"))
6736
- },
6737
- {
6738
- id: "racket",
6739
- name: "Racket",
6740
- import: (() => import("./racket-DMP7rvvC.js"))
6741
- },
6742
- {
6743
- id: "raku",
6744
- name: "Raku",
6745
- aliases: ["perl6"],
6746
- import: (() => import("./raku-CAXBkZJv.js"))
6747
- },
6748
- {
6749
- id: "razor",
6750
- name: "ASP.NET Razor",
6751
- import: (() => import("./razor-DMXvpjU1.js"))
6752
- },
6753
- {
6754
- id: "reg",
6755
- name: "Windows Registry Script",
6756
- import: (() => import("./reg-DZXBdzr7.js"))
6757
- },
6758
- {
6759
- id: "regexp",
6760
- name: "RegExp",
6761
- aliases: ["regex"],
6762
- import: (() => import("./regexp-CIK5q7M5.js"))
6763
- },
6764
- {
6765
- id: "rel",
6766
- name: "Rel",
6767
- import: (() => import("./rel-BAD7F1ak.js"))
6768
- },
6769
- {
6770
- id: "riscv",
6771
- name: "RISC-V",
6772
- import: (() => import("./riscv-OmMAXm9i.js"))
6773
- },
6774
- {
6775
- id: "rst",
6776
- name: "reStructuredText",
6777
- import: (() => import("./rst-Dw4OtJ4z.js"))
6778
- },
6779
- {
6780
- id: "ruby",
6781
- name: "Ruby",
6782
- aliases: ["rb"],
6783
- import: (() => import("./ruby-DyxCX4OK.js"))
6784
- },
6785
- {
6786
- id: "rust",
6787
- name: "Rust",
6788
- aliases: ["rs"],
6789
- import: (() => import("./rust-BFlr6mUu.js"))
6790
- },
6791
- {
6792
- id: "sas",
6793
- name: "SAS",
6794
- import: (() => import("./sas-VEuyAiIE.js"))
6795
- },
6796
- {
6797
- id: "sass",
6798
- name: "Sass",
6799
- import: (() => import("./sass-HOKGhwfC.js"))
6800
- },
6801
- {
6802
- id: "scala",
6803
- name: "Scala",
6804
- import: (() => import("./scala-DcZfnYYw.js"))
6805
- },
6806
- {
6807
- id: "scheme",
6808
- name: "Scheme",
6809
- import: (() => import("./scheme-DRmhceLb.js"))
6810
- },
6811
- {
6812
- id: "scss",
6813
- name: "SCSS",
6814
- import: (() => import("./scss-CdEq4N1x.js"))
6815
- },
6816
- {
6817
- id: "sdbl",
6818
- name: "1C (Query)",
6819
- aliases: ["1c-query"],
6820
- import: (() => import("./sdbl-03_L6mQm.js"))
6821
- },
6822
- {
6823
- id: "shaderlab",
6824
- name: "ShaderLab",
6825
- aliases: ["shader"],
6826
- import: (() => import("./shaderlab-DmL4HGYL.js"))
6827
- },
6828
- {
6829
- id: "shellscript",
6830
- name: "Shell",
6831
- aliases: [
6832
- "bash",
6833
- "sh",
6834
- "shell",
6835
- "zsh"
6836
- ],
6837
- import: (() => import("./shellscript-BCE3VxA7.js"))
6838
- },
6839
- {
6840
- id: "shellsession",
6841
- name: "Shell Session",
6842
- aliases: ["console"],
6843
- import: (() => import("./shellsession-CzA07hYA.js"))
6844
- },
6845
- {
6846
- id: "smalltalk",
6847
- name: "Smalltalk",
6848
- import: (() => import("./smalltalk-B_NJ7Cx4.js"))
6849
- },
6850
- {
6851
- id: "solidity",
6852
- name: "Solidity",
6853
- import: (() => import("./solidity-CT-86HMu.js"))
6854
- },
6855
- {
6856
- id: "soy",
6857
- name: "Closure Templates",
6858
- aliases: ["closure-templates"],
6859
- import: (() => import("./soy-DiADE0_b.js"))
6860
- },
6861
- {
6862
- id: "sparql",
6863
- name: "SPARQL",
6864
- import: (() => import("./sparql-B7HsyVQP.js"))
6865
- },
6866
- {
6867
- id: "splunk",
6868
- name: "Splunk Query Language",
6869
- aliases: ["spl"],
6870
- import: (() => import("./splunk-ESvYyzEP.js"))
6871
- },
6872
- {
6873
- id: "sql",
6874
- name: "SQL",
6875
- import: (() => import("./sql-Buan7hmi.js"))
6876
- },
6877
- {
6878
- id: "ssh-config",
6879
- name: "SSH Config",
6880
- import: (() => import("./ssh-config-Dn1OzCjY.js"))
6881
- },
6882
- {
6883
- id: "stata",
6884
- name: "Stata",
6885
- import: (() => import("./stata-DMhN47W0.js"))
6886
- },
6887
- {
6888
- id: "stylus",
6889
- name: "Stylus",
6890
- aliases: ["styl"],
6891
- import: (() => import("./stylus-Bt43OG7c.js"))
6892
- },
6893
- {
6894
- id: "svelte",
6895
- name: "Svelte",
6896
- import: (() => import("./svelte-pHcZBEch.js"))
6897
- },
6898
- {
6899
- id: "swift",
6900
- name: "Swift",
6901
- import: (() => import("./swift-Cbg4azjS.js"))
6902
- },
6903
- {
6904
- id: "system-verilog",
6905
- name: "SystemVerilog",
6906
- import: (() => import("./system-verilog-fVy4uHsI.js"))
6907
- },
6908
- {
6909
- id: "systemd",
6910
- name: "Systemd Units",
6911
- import: (() => import("./systemd-DXKTaCY3.js"))
6912
- },
6913
- {
6914
- id: "talonscript",
6915
- name: "TalonScript",
6916
- aliases: ["talon"],
6917
- import: (() => import("./talonscript-DQsGm2df.js"))
6918
- },
6919
- {
6920
- id: "tasl",
6921
- name: "Tasl",
6922
- import: (() => import("./tasl-PsCFQ1wr.js"))
6923
- },
6924
- {
6925
- id: "tcl",
6926
- name: "Tcl",
6927
- import: (() => import("./tcl-BLTlbrYm.js"))
6928
- },
6929
- {
6930
- id: "templ",
6931
- name: "Templ",
6932
- import: (() => import("./templ-vBIkAAxj.js"))
6933
- },
6934
- {
6935
- id: "terraform",
6936
- name: "Terraform",
6937
- aliases: ["tf", "tfvars"],
6938
- import: (() => import("./terraform-DjaTtAxi.js"))
6939
- },
6940
- {
6941
- id: "tex",
6942
- name: "TeX",
6943
- import: (() => import("./tex-D5_0wg9K.js"))
6944
- },
6945
- {
6946
- id: "toml",
6947
- name: "TOML",
6948
- import: (() => import("./toml-fWOQTXAn.js"))
6949
- },
6950
- {
6951
- id: "ts-tags",
6952
- name: "TypeScript with Tags",
6953
- aliases: ["lit"],
6954
- import: (() => import("./ts-tags-BqFdUUZy.js"))
6955
- },
6956
- {
6957
- id: "tsv",
6958
- name: "TSV",
6959
- import: (() => import("./tsv-Bw0OH64B.js"))
6960
- },
6961
- {
6962
- id: "tsx",
6963
- name: "TSX",
6964
- import: (() => import("./tsx-DT6UGKu5.js"))
6965
- },
6966
- {
6967
- id: "turtle",
6968
- name: "Turtle",
6969
- import: (() => import("./turtle-CrPVwTCx.js"))
6970
- },
6971
- {
6972
- id: "twig",
6973
- name: "Twig",
6974
- import: (() => import("./twig-E43a2NXy.js"))
6975
- },
6976
- {
6977
- id: "typescript",
6978
- name: "TypeScript",
6979
- aliases: ["ts"],
6980
- import: (() => import("./typescript-DwG0qGvZ.js"))
6981
- },
6982
- {
6983
- id: "typespec",
6984
- name: "TypeSpec",
6985
- aliases: ["tsp"],
6986
- import: (() => import("./typespec-B_WBO7NM.js"))
6987
- },
6988
- {
6989
- id: "typst",
6990
- name: "Typst",
6991
- aliases: ["typ"],
6992
- import: (() => import("./typst-BLkZ0YUM.js"))
6993
- },
6994
- {
6995
- id: "v",
6996
- name: "V",
6997
- import: (() => import("./v-Lt9dQhkf.js"))
6998
- },
6999
- {
7000
- id: "vala",
7001
- name: "Vala",
7002
- import: (() => import("./vala-ApK8wiYu.js"))
7003
- },
7004
- {
7005
- id: "vb",
7006
- name: "Visual Basic",
7007
- aliases: ["cmd"],
7008
- import: (() => import("./vb-9UVaSBwv.js"))
7009
- },
7010
- {
7011
- id: "verilog",
7012
- name: "Verilog",
7013
- import: (() => import("./verilog-CkimBrNB.js"))
7014
- },
7015
- {
7016
- id: "vhdl",
7017
- name: "VHDL",
7018
- import: (() => import("./vhdl-N3R5mXWa.js"))
7019
- },
7020
- {
7021
- id: "viml",
7022
- name: "Vim Script",
7023
- aliases: ["vim", "vimscript"],
7024
- import: (() => import("./viml-CtpC9_DE.js"))
7025
- },
7026
- {
7027
- id: "vue",
7028
- name: "Vue",
7029
- import: (() => import("./vue-C6OQTkLM.js"))
7030
- },
7031
- {
7032
- id: "vue-html",
7033
- name: "Vue HTML",
7034
- import: (() => import("./vue-html-puzUUwGC.js"))
7035
- },
7036
- {
7037
- id: "vue-vine",
7038
- name: "Vue Vine",
7039
- import: (() => import("./vue-vine-C6Cu0qY3.js"))
7040
- },
7041
- {
7042
- id: "vyper",
7043
- name: "Vyper",
7044
- aliases: ["vy"],
7045
- import: (() => import("./vyper-CbWBpBlo.js"))
7046
- },
7047
- {
7048
- id: "wasm",
7049
- name: "WebAssembly",
7050
- import: (() => import("./wasm-BmH8qfv1.js"))
7051
- },
7052
- {
7053
- id: "wenyan",
7054
- name: "Wenyan",
7055
- aliases: ["文言"],
7056
- import: (() => import("./wenyan-DA9J-qad.js"))
7057
- },
7058
- {
7059
- id: "wgsl",
7060
- name: "WGSL",
7061
- import: (() => import("./wgsl-BzlyvM89.js"))
7062
- },
7063
- {
7064
- id: "wikitext",
7065
- name: "Wikitext",
7066
- aliases: ["mediawiki", "wiki"],
7067
- import: (() => import("./wikitext-BeDHSXxS.js"))
7068
- },
7069
- {
7070
- id: "wit",
7071
- name: "WebAssembly Interface Types",
7072
- import: (() => import("./wit-DeoaP-6Q.js"))
7073
- },
7074
- {
7075
- id: "wolfram",
7076
- name: "Wolfram",
7077
- aliases: ["wl"],
7078
- import: (() => import("./wolfram-BrvFPLfd.js"))
7079
- },
7080
- {
7081
- id: "xml",
7082
- name: "XML",
7083
- import: (() => import("./xml-ITOhwbU4.js"))
7084
- },
7085
- {
7086
- id: "xsl",
7087
- name: "XSL",
7088
- import: (() => import("./xsl-CjkxalCU.js"))
7089
- },
7090
- {
7091
- id: "yaml",
7092
- name: "YAML",
7093
- aliases: ["yml"],
7094
- import: (() => import("./yaml-B7sFqDJy.js"))
7095
- },
7096
- {
7097
- id: "zenscript",
7098
- name: "ZenScript",
7099
- import: (() => import("./zenscript-DvUTO6mN.js"))
7100
- },
7101
- {
7102
- id: "zig",
7103
- name: "Zig",
7104
- import: (() => import("./zig-DyJYOwV9.js"))
7105
- }
7106
- ], bundledLanguagesBase = Object.fromEntries(bundledLanguagesInfo.map((e) => [e.id, e.import])), bundledLanguagesAlias = Object.fromEntries(bundledLanguagesInfo.flatMap((e) => e.aliases?.map((g) => [g, e.import]) || [])), bundledLanguages = {
7107
- ...bundledLanguagesBase,
7108
- ...bundledLanguagesAlias
7109
- }, bundledThemes = Object.fromEntries([
7110
- {
7111
- id: "andromeeda",
7112
- displayName: "Andromeeda",
7113
- type: "dark",
7114
- import: (() => import("./andromeeda-CBSvKWwo.js"))
7115
- },
7116
- {
7117
- id: "aurora-x",
7118
- displayName: "Aurora X",
7119
- type: "dark",
7120
- import: (() => import("./aurora-x-D40oEGCK.js"))
7121
- },
7122
- {
7123
- id: "ayu-dark",
7124
- displayName: "Ayu Dark",
7125
- type: "dark",
7126
- import: (() => import("./ayu-dark-xmRKZHHe.js"))
7127
- },
7128
- {
7129
- id: "catppuccin-frappe",
7130
- displayName: "Catppuccin Frappé",
7131
- type: "dark",
7132
- import: (() => import("./catppuccin-frappe-CFi5eoIA.js"))
7133
- },
7134
- {
7135
- id: "catppuccin-latte",
7136
- displayName: "Catppuccin Latte",
7137
- type: "light",
7138
- import: (() => import("./catppuccin-latte-BBJcWYaj.js"))
7139
- },
7140
- {
7141
- id: "catppuccin-macchiato",
7142
- displayName: "Catppuccin Macchiato",
7143
- type: "dark",
7144
- import: (() => import("./catppuccin-macchiato-Da-TR_FH.js"))
7145
- },
7146
- {
7147
- id: "catppuccin-mocha",
7148
- displayName: "Catppuccin Mocha",
7149
- type: "dark",
7150
- import: (() => import("./catppuccin-mocha-BDXC5rvg.js"))
7151
- },
7152
- {
7153
- id: "dark-plus",
7154
- displayName: "Dark Plus",
7155
- type: "dark",
7156
- import: (() => import("./dark-plus-DP-rGpCc.js"))
7157
- },
7158
- {
7159
- id: "dracula",
7160
- displayName: "Dracula Theme",
7161
- type: "dark",
7162
- import: (() => import("./dracula-DHDMRoqE.js"))
7163
- },
7164
- {
7165
- id: "dracula-soft",
7166
- displayName: "Dracula Theme Soft",
7167
- type: "dark",
7168
- import: (() => import("./dracula-soft-B4MNv6e0.js"))
7169
- },
7170
- {
7171
- id: "everforest-dark",
7172
- displayName: "Everforest Dark",
7173
- type: "dark",
7174
- import: (() => import("./everforest-dark-CODfUmsV.js"))
7175
- },
7176
- {
7177
- id: "everforest-light",
7178
- displayName: "Everforest Light",
7179
- type: "light",
7180
- import: (() => import("./everforest-light-CMQvbu2l.js"))
7181
- },
7182
- {
7183
- id: "github-dark",
7184
- displayName: "GitHub Dark",
7185
- type: "dark",
7186
- import: (() => import("./github-dark-Ct-5tT-t.js"))
7187
- },
7188
- {
7189
- id: "github-dark-default",
7190
- displayName: "GitHub Dark Default",
7191
- type: "dark",
7192
- import: (() => import("./github-dark-default-BgEExSwl.js"))
7193
- },
7194
- {
7195
- id: "github-dark-dimmed",
7196
- displayName: "GitHub Dark Dimmed",
7197
- type: "dark",
7198
- import: (() => import("./github-dark-dimmed-CIntHy_v.js"))
7199
- },
7200
- {
7201
- id: "github-dark-high-contrast",
7202
- displayName: "GitHub Dark High Contrast",
7203
- type: "dark",
7204
- import: (() => import("./github-dark-high-contrast-D_skrp90.js"))
7205
- },
7206
- {
7207
- id: "github-light",
7208
- displayName: "GitHub Light",
7209
- type: "light",
7210
- import: (() => import("./github-light-D--UvX6u.js"))
7211
- },
7212
- {
7213
- id: "github-light-default",
7214
- displayName: "GitHub Light Default",
7215
- type: "light",
7216
- import: (() => import("./github-light-default-Oj6vNT0y.js"))
7217
- },
7218
- {
7219
- id: "github-light-high-contrast",
7220
- displayName: "GitHub Light High Contrast",
7221
- type: "light",
7222
- import: (() => import("./github-light-high-contrast-WO4wpdqn.js"))
7223
- },
7224
- {
7225
- id: "gruvbox-dark-hard",
7226
- displayName: "Gruvbox Dark Hard",
7227
- type: "dark",
7228
- import: (() => import("./gruvbox-dark-hard-Bizb5JMB.js"))
7229
- },
7230
- {
7231
- id: "gruvbox-dark-medium",
7232
- displayName: "Gruvbox Dark Medium",
7233
- type: "dark",
7234
- import: (() => import("./gruvbox-dark-medium-CJJPbMPn.js"))
7235
- },
7236
- {
7237
- id: "gruvbox-dark-soft",
7238
- displayName: "Gruvbox Dark Soft",
7239
- type: "dark",
7240
- import: (() => import("./gruvbox-dark-soft-DlD4gdag.js"))
7241
- },
7242
- {
7243
- id: "gruvbox-light-hard",
7244
- displayName: "Gruvbox Light Hard",
7245
- type: "light",
7246
- import: (() => import("./gruvbox-light-hard-Bw70ut1h.js"))
7247
- },
7248
- {
7249
- id: "gruvbox-light-medium",
7250
- displayName: "Gruvbox Light Medium",
7251
- type: "light",
7252
- import: (() => import("./gruvbox-light-medium-BmamM4GC.js"))
7253
- },
7254
- {
7255
- id: "gruvbox-light-soft",
7256
- displayName: "Gruvbox Light Soft",
7257
- type: "light",
7258
- import: (() => import("./gruvbox-light-soft-DwVdVGNa.js"))
7259
- },
7260
- {
7261
- id: "houston",
7262
- displayName: "Houston",
7263
- type: "dark",
7264
- import: (() => import("./houston-eaaBff0m.js"))
7265
- },
7266
- {
7267
- id: "kanagawa-dragon",
7268
- displayName: "Kanagawa Dragon",
7269
- type: "dark",
7270
- import: (() => import("./kanagawa-dragon-DCVg8Z_i.js"))
7271
- },
7272
- {
7273
- id: "kanagawa-lotus",
7274
- displayName: "Kanagawa Lotus",
7275
- type: "light",
7276
- import: (() => import("./kanagawa-lotus-CtMqKWAS.js"))
7277
- },
7278
- {
7279
- id: "kanagawa-wave",
7280
- displayName: "Kanagawa Wave",
7281
- type: "dark",
7282
- import: (() => import("./kanagawa-wave-C0RNWlWg.js"))
7283
- },
7284
- {
7285
- id: "laserwave",
7286
- displayName: "LaserWave",
7287
- type: "dark",
7288
- import: (() => import("./laserwave-C8Rg_1Bp.js"))
7289
- },
7290
- {
7291
- id: "light-plus",
7292
- displayName: "Light Plus",
7293
- type: "light",
7294
- import: (() => import("./light-plus-D1mSlT8G.js"))
7295
- },
7296
- {
7297
- id: "material-theme",
7298
- displayName: "Material Theme",
7299
- type: "dark",
7300
- import: (() => import("./material-theme-DjlQJvz_.js"))
7301
- },
7302
- {
7303
- id: "material-theme-darker",
7304
- displayName: "Material Theme Darker",
7305
- type: "dark",
7306
- import: (() => import("./material-theme-darker-DAmHxfa-.js"))
7307
- },
7308
- {
7309
- id: "material-theme-lighter",
7310
- displayName: "Material Theme Lighter",
7311
- type: "light",
7312
- import: (() => import("./material-theme-lighter-BJa4VLmD.js"))
7313
- },
7314
- {
7315
- id: "material-theme-ocean",
7316
- displayName: "Material Theme Ocean",
7317
- type: "dark",
7318
- import: (() => import("./material-theme-ocean-Ds0HsWYh.js"))
7319
- },
7320
- {
7321
- id: "material-theme-palenight",
7322
- displayName: "Material Theme Palenight",
7323
- type: "dark",
7324
- import: (() => import("./material-theme-palenight-DteuphMP.js"))
7325
- },
7326
- {
7327
- id: "min-dark",
7328
- displayName: "Min Dark",
7329
- type: "dark",
7330
- import: (() => import("./min-dark-DAnXCLxk.js"))
7331
- },
7332
- {
7333
- id: "min-light",
7334
- displayName: "Min Light",
7335
- type: "light",
7336
- import: (() => import("./min-light-Bg8D_X6s.js"))
7337
- },
7338
- {
7339
- id: "monokai",
7340
- displayName: "Monokai",
7341
- type: "dark",
7342
- import: (() => import("./monokai-l4oBl8QS.js"))
7343
- },
7344
- {
7345
- id: "night-owl",
7346
- displayName: "Night Owl",
7347
- type: "dark",
7348
- import: (() => import("./night-owl-CsCAHa1M.js"))
7349
- },
7350
- {
7351
- id: "nord",
7352
- displayName: "Nord",
7353
- type: "dark",
7354
- import: (() => import("./nord-Bv_60e5Y.js"))
7355
- },
7356
- {
7357
- id: "one-dark-pro",
7358
- displayName: "One Dark Pro",
7359
- type: "dark",
7360
- import: (() => import("./one-dark-pro-W-nVWtX4.js"))
7361
- },
7362
- {
7363
- id: "one-light",
7364
- displayName: "One Light",
7365
- type: "light",
7366
- import: (() => import("./one-light-CjvcBFKw.js"))
7367
- },
7368
- {
7369
- id: "plastic",
7370
- displayName: "Plastic",
7371
- type: "dark",
7372
- import: (() => import("./plastic-DrQhFIFJ.js"))
7373
- },
7374
- {
7375
- id: "poimandres",
7376
- displayName: "Poimandres",
7377
- type: "dark",
7378
- import: (() => import("./poimandres-0wZbcXjS.js"))
7379
- },
7380
- {
7381
- id: "red",
7382
- displayName: "Red",
7383
- type: "dark",
7384
- import: (() => import("./red-B279eMnK.js"))
7385
- },
7386
- {
7387
- id: "rose-pine",
7388
- displayName: "Rosé Pine",
7389
- type: "dark",
7390
- import: (() => import("./rose-pine-6Pyy66gx.js"))
7391
- },
7392
- {
7393
- id: "rose-pine-dawn",
7394
- displayName: "Rosé Pine Dawn",
7395
- type: "light",
7396
- import: (() => import("./rose-pine-dawn-hr1PwHnf.js"))
7397
- },
7398
- {
7399
- id: "rose-pine-moon",
7400
- displayName: "Rosé Pine Moon",
7401
- type: "dark",
7402
- import: (() => import("./rose-pine-moon-DWeoQe-a.js"))
7403
- },
7404
- {
7405
- id: "slack-dark",
7406
- displayName: "Slack Dark",
7407
- type: "dark",
7408
- import: (() => import("./slack-dark-C_1-wb4f.js"))
7409
- },
7410
- {
7411
- id: "slack-ochin",
7412
- displayName: "Slack Ochin",
7413
- type: "light",
7414
- import: (() => import("./slack-ochin-zjgPO-rb.js"))
7415
- },
7416
- {
7417
- id: "snazzy-light",
7418
- displayName: "Snazzy Light",
7419
- type: "light",
7420
- import: (() => import("./snazzy-light-ClCQbm3S.js"))
7421
- },
7422
- {
7423
- id: "solarized-dark",
7424
- displayName: "Solarized Dark",
7425
- type: "dark",
7426
- import: (() => import("./solarized-dark-bfFQdDSD.js"))
7427
- },
7428
- {
7429
- id: "solarized-light",
7430
- displayName: "Solarized Light",
7431
- type: "light",
7432
- import: (() => import("./solarized-light-Dtw6G-Sd.js"))
7433
- },
7434
- {
7435
- id: "synthwave-84",
7436
- displayName: "Synthwave '84",
7437
- type: "dark",
7438
- import: (() => import("./synthwave-84-BMv3ZOMr.js"))
7439
- },
7440
- {
7441
- id: "tokyo-night",
7442
- displayName: "Tokyo Night",
7443
- type: "dark",
7444
- import: (() => import("./tokyo-night-8zQjRems.js"))
7445
- },
7446
- {
7447
- id: "vesper",
7448
- displayName: "Vesper",
7449
- type: "dark",
7450
- import: (() => import("./vesper-CfZSyT-e.js"))
7451
- },
7452
- {
7453
- id: "vitesse-black",
7454
- displayName: "Vitesse Black",
7455
- type: "dark",
7456
- import: (() => import("./vitesse-black-DuknESqD.js"))
7457
- },
7458
- {
7459
- id: "vitesse-dark",
7460
- displayName: "Vitesse Dark",
7461
- type: "dark",
7462
- import: (() => import("./vitesse-dark-CLAEmrLo.js"))
7463
- },
7464
- {
7465
- id: "vitesse-light",
7466
- displayName: "Vitesse Light",
7467
- type: "light",
7468
- import: (() => import("./vitesse-light-B-nMvyz2.js"))
7469
- }
7470
- ].map((e) => [e.id, e.import])), ShikiError = class extends Error {
5884
+ var ShikiError = class extends Error {
7471
5885
  constructor(e) {
7472
5886
  super(e), this.name = "ShikiError";
7473
5887
  }
@@ -7702,11 +6116,7 @@ async function createOnigurumaEngine(e) {
7702
6116
  }
7703
6117
  };
7704
6118
  }
7705
- var { codeToHtml, codeToHast, codeToTokens, codeToTokensBase, codeToTokensWithThemes, getSingletonHighlighter, getLastGrammarState } = /* @__PURE__ */ createSingletonShorthands(/* @__PURE__ */ createdBundledHighlighter({
7706
- langs: bundledLanguages,
7707
- themes: bundledThemes,
7708
- engine: () => createOnigurumaEngine(import("./wasm-BmhiTjoi.js"))
7709
- }), { guessEmbeddedLanguages }), MethodSelect_default = /* @__PURE__ */ defineComponent({
6119
+ var MethodSelect_default = /* @__PURE__ */ defineComponent({
7710
6120
  name: "MethodSelect",
7711
6121
  __name: "MethodSelect",
7712
6122
  props: {
@@ -7877,12 +6287,12 @@ var { codeToHtml, codeToHast, codeToTokens, codeToTokensBase, codeToTokensWithTh
7877
6287
  label: S(e)
7878
6288
  };
7879
6289
  }
7880
- }), g({ initRequestSelection: O }), (e, g) => {
7881
- let _ = tree_select_default, b = input_default;
7882
- return openBlock(), createElementBlock("div", null, [e.requestData ? (openBlock(), createBlock(_, {
6290
+ }), g({ initRequestSelection: O }), (g, _) => {
6291
+ let b = tree_select_default, x = input_default;
6292
+ return openBlock(), createElementBlock("div", null, [e.requestData ? (openBlock(), createBlock(b, {
7883
6293
  key: 0,
7884
6294
  value: unref(E),
7885
- "onUpdate:value": g[0] ||= (e) => isRef(E) ? E.value = e : null,
6295
+ "onUpdate:value": _[0] ||= (e) => isRef(E) ? E.value = e : null,
7886
6296
  "label-in-value": "",
7887
6297
  "tree-data": unref(w),
7888
6298
  placeholder: "Value",
@@ -7890,10 +6300,10 @@ var { codeToHtml, codeToHast, codeToTokens, codeToTokensBase, codeToTokensWithTh
7890
6300
  "show-search": "",
7891
6301
  class: "w-full!",
7892
6302
  onChange: k
7893
- }, null, 8, ["value", "tree-data"])) : (openBlock(), createBlock(b, {
6303
+ }, null, 8, ["value", "tree-data"])) : (openBlock(), createBlock(x, {
7894
6304
  key: 1,
7895
6305
  value: v.value,
7896
- "onUpdate:value": g[1] ||= (e) => v.value = e,
6306
+ "onUpdate:value": _[1] ||= (e) => v.value = e,
7897
6307
  placeholder: y.value ? "从请求结果获取的值" : "Value",
7898
6308
  class: "w-full"
7899
6309
  }, null, 8, ["value", "placeholder"]))]);
@@ -8145,47 +6555,45 @@ var { codeToHtml, codeToHast, codeToTokens, codeToTokensBase, codeToTokensWithTh
8145
6555
  break;
8146
6556
  }
8147
6557
  }
8148
- return (g, _) => {
8149
- let P = checkbox_default, L = input_default, R = input_number_default, B = SelectOption, V = select_default, U = tooltip_default, X = DeleteOutlined_default, Z = button_default;
6558
+ return (_, P) => {
6559
+ let L = checkbox_default, R = input_default, B = input_number_default, V = SelectOption, U = select_default, X = tooltip_default, Z = DeleteOutlined_default, Q = button_default;
8150
6560
  return openBlock(), createElementBlock("div", _hoisted_1$8, [
8151
- createVNode(P, {
6561
+ createVNode(L, {
8152
6562
  checked: x.value,
8153
- "onUpdate:checked": _[0] ||= (e) => x.value = e,
6563
+ "onUpdate:checked": P[0] ||= (e) => x.value = e,
8154
6564
  class: "flex-shrink-0"
8155
6565
  }, null, 8, ["checked"]),
8156
- createVNode(L, {
6566
+ createVNode(R, {
8157
6567
  value: S.value,
8158
- "onUpdate:value": _[1] ||= (e) => S.value = e,
6568
+ "onUpdate:value": P[1] ||= (e) => S.value = e,
8159
6569
  placeholder: "Key",
8160
6570
  class: "w-92 flex-shrink-0"
8161
6571
  }, null, 8, ["value"]),
8162
- createElementVNode("div", _hoisted_2$4, [C.value === "string" ? (openBlock(), createBlock(L, {
6572
+ createElementVNode("div", _hoisted_2$4, [C.value === "string" ? (openBlock(), createBlock(R, {
8163
6573
  key: 0,
8164
6574
  value: w.value,
8165
- "onUpdate:value": _[2] ||= (e) => w.value = e,
6575
+ "onUpdate:value": P[2] ||= (e) => w.value = e,
8166
6576
  placeholder: "Value",
8167
6577
  class: "w-full"
8168
- }, null, 8, ["value"])) : C.value === "number" ? (openBlock(), createBlock(R, {
6578
+ }, null, 8, ["value"])) : C.value === "number" ? (openBlock(), createBlock(B, {
8169
6579
  key: 1,
8170
6580
  value: w.value,
8171
- "onUpdate:value": _[3] ||= (e) => w.value = e,
6581
+ "onUpdate:value": P[3] ||= (e) => w.value = e,
8172
6582
  placeholder: "Value",
8173
6583
  class: "w-full!"
8174
- }, null, 8, ["value"])) : C.value === "boolean" ? (openBlock(), createBlock(V, {
6584
+ }, null, 8, ["value"])) : C.value === "boolean" ? (openBlock(), createBlock(U, {
8175
6585
  key: 2,
8176
6586
  value: w.value,
8177
- "onUpdate:value": _[4] ||= (e) => w.value = e,
6587
+ "onUpdate:value": P[4] ||= (e) => w.value = e,
8178
6588
  placeholder: "Value",
8179
6589
  class: "w-full!"
8180
6590
  }, {
8181
- default: withCtx(() => [createVNode(B, { value: "true" }, {
8182
- default: withCtx(() => _[11] ||= [createTextVNode(" true ")]),
8183
- _: 1,
8184
- __: [11]
8185
- }), createVNode(B, { value: "false" }, {
8186
- default: withCtx(() => _[12] ||= [createTextVNode(" false ")]),
8187
- _: 1,
8188
- __: [12]
6591
+ default: withCtx(() => [createVNode(V, { value: "true" }, {
6592
+ default: withCtx(() => [...P[11] ||= [createTextVNode(" true ", -1)]]),
6593
+ _: 1
6594
+ }), createVNode(V, { value: "false" }, {
6595
+ default: withCtx(() => [...P[12] ||= [createTextVNode(" false ", -1)]]),
6596
+ _: 1
8189
6597
  })]),
8190
6598
  _: 1
8191
6599
  }, 8, ["value"])) : C.value === "system" ? (openBlock(), createBlock(SystemFieldSelector_default, {
@@ -8193,18 +6601,18 @@ var { codeToHtml, codeToHast, codeToTokens, codeToTokensBase, codeToTokensWithTh
8193
6601
  ref_key: "systemSelectorRef",
8194
6602
  ref: O,
8195
6603
  value: w.value,
8196
- "onUpdate:value": _[5] ||= (e) => w.value = e,
6604
+ "onUpdate:value": P[5] ||= (e) => w.value = e,
8197
6605
  "system-key": T.value,
8198
- "onUpdate:systemKey": _[6] ||= (e) => T.value = e,
6606
+ "onUpdate:systemKey": P[6] ||= (e) => T.value = e,
8199
6607
  class: "w-full!"
8200
6608
  }, null, 8, ["value", "system-key"])) : C.value === "request" ? (openBlock(), createBlock(RequestFieldSelector_default, {
8201
6609
  key: 4,
8202
6610
  ref_key: "requestSelectorRef",
8203
6611
  ref: A,
8204
6612
  value: w.value,
8205
- "onUpdate:value": _[7] ||= (e) => w.value = e,
6613
+ "onUpdate:value": P[7] ||= (e) => w.value = e,
8206
6614
  "request-key": E.value,
8207
- "onUpdate:requestKey": _[8] ||= (e) => E.value = e,
6615
+ "onUpdate:requestKey": P[8] ||= (e) => E.value = e,
8208
6616
  "request-data": g.requestData,
8209
6617
  class: "w-full!"
8210
6618
  }, null, 8, [
@@ -8212,17 +6620,17 @@ var { codeToHtml, codeToHast, codeToTokens, codeToTokensBase, codeToTokensWithTh
8212
6620
  "request-key",
8213
6621
  "request-data"
8214
6622
  ])) : createCommentVNode("", !0)]),
8215
- createVNode(V, {
6623
+ createVNode(U, {
8216
6624
  value: C.value,
8217
- "onUpdate:value": _[9] ||= (e) => C.value = e,
6625
+ "onUpdate:value": P[9] ||= (e) => C.value = e,
8218
6626
  class: "w-24 flex-shrink-0",
8219
6627
  onSelect: j
8220
6628
  }, {
8221
- default: withCtx(() => [(openBlock(!0), createElementBlock(Fragment, null, renderList(unref(D), (e) => (openBlock(), createElementBlock(Fragment, null, [e.type.includes(y.mode) ? (openBlock(), createBlock(B, {
6629
+ default: withCtx(() => [(openBlock(!0), createElementBlock(Fragment, null, renderList(unref(D), (e) => (openBlock(), createElementBlock(Fragment, null, [e.type.includes(y.mode) ? (openBlock(), createBlock(V, {
8222
6630
  key: e.value,
8223
6631
  value: e.value
8224
6632
  }, {
8225
- default: withCtx(() => [e.tooltip ? (openBlock(), createBlock(U, {
6633
+ default: withCtx(() => [e.tooltip ? (openBlock(), createBlock(X, {
8226
6634
  key: 0,
8227
6635
  title: e.tooltip
8228
6636
  }, {
@@ -8233,11 +6641,11 @@ var { codeToHtml, codeToHast, codeToTokens, codeToTokensBase, codeToTokensWithTh
8233
6641
  }, 1032, ["value"])) : createCommentVNode("", !0)], 64))), 256))]),
8234
6642
  _: 1
8235
6643
  }, 8, ["value"]),
8236
- createVNode(Z, {
6644
+ createVNode(Q, {
8237
6645
  class: "flex-shrink-0",
8238
- onClick: _[10] ||= (e) => b("remove")
6646
+ onClick: P[10] ||= (e) => b("remove")
8239
6647
  }, {
8240
- default: withCtx(() => [createVNode(X)]),
6648
+ default: withCtx(() => [createVNode(Z)]),
8241
6649
  _: 1
8242
6650
  })
8243
6651
  ]);
@@ -8357,10 +6765,18 @@ var { codeToHtml, codeToHast, codeToTokens, codeToTokensBase, codeToTokensWithTh
8357
6765
  "update:panelItems"
8358
6766
  ]),
8359
6767
  setup(g, { emit: _ }) {
8360
- let y = g, b = _, S = useModel(g, "url"), C = useModel(g, "method"), w = useModel(g, "params"), T = useModel(g, "panelItems"), E = computed(() => T.value[w.value]);
8361
- function O() {
6768
+ let y = g, b = _, S = null;
6769
+ function C() {
6770
+ return S ||= createHighlighterCore({
6771
+ themes: [import("./vitesse-light-C8PeMTy6.js"), import("./vitesse-dark-DdtbAq3d.js")],
6772
+ langs: [import("./json-CbRFa7Gs.js")],
6773
+ engine: createOnigurumaEngine(import("./wasm-DdtHQrnj.js"))
6774
+ }), S;
6775
+ }
6776
+ let w = useModel(g, "url"), T = useModel(g, "method"), E = useModel(g, "params"), O = useModel(g, "panelItems"), k = computed(() => O.value[E.value]);
6777
+ function A() {
8362
6778
  let e = Date.now();
8363
- T.value[w.value].push({
6779
+ O.value[E.value].push({
8364
6780
  id: e,
8365
6781
  checked: !0,
8366
6782
  keyName: "",
@@ -8368,26 +6784,27 @@ var { codeToHtml, codeToHast, codeToTokens, codeToTokensBase, codeToTokensWithTh
8368
6784
  value: ""
8369
6785
  });
8370
6786
  }
8371
- function k() {
8372
- T.value[w.value] = [];
6787
+ function j() {
6788
+ O.value[E.value] = [];
8373
6789
  }
8374
- function A(e) {
8375
- let g = T.value[w.value], _ = g.findIndex((g) => g.id === e);
6790
+ function M(e) {
6791
+ let g = O.value[E.value], _ = g.findIndex((g) => g.id === e);
8376
6792
  _ >= 0 && g.splice(_, 1);
8377
6793
  }
8378
- function j() {
6794
+ function N() {
8379
6795
  b("send");
8380
6796
  }
8381
- let M = computed(() => {
6797
+ let F = computed(() => {
8382
6798
  let e = y.statusCode || 0;
8383
6799
  return e >= 200 && e < 300 ? "success" : e >= 300 && e < 400 ? "processing" : e >= 400 && e < 500 ? "warning" : e >= 500 ? "error" : "default";
8384
- }), N = computed(() => {
6800
+ }), L = computed(() => {
8385
6801
  let e = y.elapsedTime || 0;
8386
6802
  return e < 80 ? "success" : e < 200 ? "processing" : e < 500 ? "warning" : "error";
8387
- }), F = ref("");
6803
+ }), R = ref("");
8388
6804
  return watch(() => y.data, async (e) => {
8389
6805
  if (e != null) try {
8390
- F.value = await codeToHtml(typeof e == "string" ? e : JSON.stringify(e, null, 2), {
6806
+ let g = typeof e == "string" ? e : JSON.stringify(e, null, 2);
6807
+ R.value = (await C()).codeToHtml(g, {
8391
6808
  lang: "json",
8392
6809
  themes: {
8393
6810
  light: "vitesse-light",
@@ -8395,38 +6812,38 @@ var { codeToHtml, codeToHast, codeToTokens, codeToTokensBase, codeToTokensWithTh
8395
6812
  }
8396
6813
  });
8397
6814
  } catch (g) {
8398
- console.error("Failed to format data:", g), F.value = `<pre>${String(e)}</pre>`;
6815
+ console.error("Failed to format data:", g), R.value = `<pre>${String(e)}</pre>`;
8399
6816
  }
8400
- else F.value = "";
8401
- }, { immediate: !0 }), (g, _) => {
8402
- let y = input_default, b = button_default, T = tag_default;
6817
+ else R.value = "";
6818
+ }, { immediate: !0 }), (_, y) => {
6819
+ let b = input_default, S = button_default, C = tag_default;
8403
6820
  return openBlock(), createElementBlock("div", _hoisted_1$6, [
8404
6821
  createElementVNode("div", _hoisted_2$3, [createElementVNode("div", _hoisted_3$3, [
8405
6822
  createVNode(MethodSelect_default, {
8406
- modelValue: C.value,
8407
- "onUpdate:modelValue": _[0] ||= (e) => C.value = e
6823
+ modelValue: T.value,
6824
+ "onUpdate:modelValue": y[0] ||= (e) => T.value = e
8408
6825
  }, null, 8, ["modelValue"]),
8409
- createVNode(y, {
8410
- value: S.value,
8411
- "onUpdate:value": _[1] ||= (e) => S.value = e,
6826
+ createVNode(b, {
6827
+ value: w.value,
6828
+ "onUpdate:value": y[1] ||= (e) => w.value = e,
8412
6829
  placeholder: "请输入调用的第三方的 http/https 请求地址"
8413
6830
  }, null, 8, ["value"]),
8414
- createVNode(b, {
6831
+ createVNode(S, {
8415
6832
  type: "primary",
8416
6833
  loading: g.isFetching,
8417
- disabled: !S.value,
8418
- onClick: j
6834
+ disabled: !w.value,
6835
+ onClick: N
8419
6836
  }, {
8420
6837
  default: withCtx(() => [createVNode(unref(SendOutlined_default))]),
8421
6838
  _: 1
8422
6839
  }, 8, ["loading", "disabled"])
8423
6840
  ])]),
8424
6841
  createElementVNode("div", _hoisted_4$1, [createVNode(ParamsPanel_default, {
8425
- modelValue: w.value,
8426
- "onUpdate:modelValue": _[2] ||= (e) => w.value = e,
8427
- method: C.value
6842
+ modelValue: E.value,
6843
+ "onUpdate:modelValue": y[2] ||= (e) => E.value = e,
6844
+ method: T.value
8428
6845
  }, null, 8, ["modelValue", "method"])]),
8429
- createElementVNode("div", _hoisted_5$1, [createElementVNode("div", _hoisted_6$1, [unref(E).length ? (openBlock(), createElementBlock("div", _hoisted_7, [(openBlock(!0), createElementBlock(Fragment, null, renderList(unref(E), (e) => (openBlock(), createBlock(ParamsItem_default, {
6846
+ createElementVNode("div", _hoisted_5$1, [createElementVNode("div", _hoisted_6$1, [unref(k).length ? (openBlock(), createElementBlock("div", _hoisted_7, [(openBlock(!0), createElementBlock(Fragment, null, renderList(unref(k), (e) => (openBlock(), createBlock(ParamsItem_default, {
8430
6847
  key: e.id,
8431
6848
  checked: e.checked,
8432
6849
  "onUpdate:checked": (g) => e.checked = g,
@@ -8438,7 +6855,7 @@ var { codeToHtml, codeToHast, codeToTokens, codeToTokensBase, codeToTokensWithTh
8438
6855
  "onUpdate:value": (g) => e.value = g,
8439
6856
  "system-key": e.systemKey,
8440
6857
  "onUpdate:systemKey": (g) => e.systemKey = g,
8441
- onRemove: (g) => A(e.id)
6858
+ onRemove: (g) => M(e.id)
8442
6859
  }, null, 8, [
8443
6860
  "checked",
8444
6861
  "onUpdate:checked",
@@ -8452,54 +6869,51 @@ var { codeToHtml, codeToHast, codeToTokens, codeToTokensBase, codeToTokensWithTh
8452
6869
  "onUpdate:systemKey",
8453
6870
  "onRemove"
8454
6871
  ]))), 128))])) : createCommentVNode("", !0), createElementVNode("div", _hoisted_8, [
8455
- createVNode(b, { onClick: O }, {
6872
+ createVNode(S, { onClick: A }, {
8456
6873
  icon: withCtx(() => [createVNode(unref(PlusOutlined_default))]),
8457
- default: withCtx(() => [_[3] ||= createTextVNode(" 添加 ")]),
8458
- _: 1,
8459
- __: [3]
6874
+ default: withCtx(() => [y[3] ||= createTextVNode(" 添加 ", -1)]),
6875
+ _: 1
8460
6876
  }),
8461
- _[5] ||= createElementVNode("div", { class: "flex-auto" }, null, -1),
8462
- unref(E).length ? (openBlock(), createBlock(b, {
6877
+ y[5] ||= createElementVNode("div", { class: "flex-auto" }, null, -1),
6878
+ unref(k).length ? (openBlock(), createBlock(S, {
8463
6879
  key: 0,
8464
6880
  danger: "",
8465
- onClick: k
6881
+ onClick: j
8466
6882
  }, {
8467
6883
  icon: withCtx(() => [createVNode(unref(DeleteOutlined_default))]),
8468
- default: withCtx(() => [_[4] ||= createTextVNode(" 删除全部 ")]),
8469
- _: 1,
8470
- __: [4]
6884
+ default: withCtx(() => [y[4] ||= createTextVNode(" 删除全部 ", -1)]),
6885
+ _: 1
8471
6886
  })) : createCommentVNode("", !0)
8472
6887
  ])])]),
8473
6888
  g.isFinished ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createElementVNode("div", _hoisted_9, [
8474
- _[6] ||= createElementVNode("div", null, "Response", -1),
8475
- createVNode(T, {
6889
+ y[6] ||= createElementVNode("div", null, "Response", -1),
6890
+ createVNode(C, {
8476
6891
  bordered: !1,
8477
- color: unref(M)
6892
+ color: unref(F)
8478
6893
  }, {
8479
6894
  default: withCtx(() => [createTextVNode(toDisplayString(g.statusCode), 1)]),
8480
6895
  _: 1
8481
6896
  }, 8, ["color"]),
8482
- _[7] ||= createElementVNode("div", { class: "flex-auto" }, null, -1),
8483
- _[8] ||= createElementVNode("div", { class: "op-50" }, " Request finished in ", -1),
8484
- createVNode(T, {
6897
+ y[7] ||= createElementVNode("div", { class: "flex-auto" }, null, -1),
6898
+ y[8] ||= createElementVNode("div", { class: "op-50" }, " Request finished in ", -1),
6899
+ createVNode(C, {
8485
6900
  bordered: !1,
8486
- color: unref(N)
6901
+ color: unref(L)
8487
6902
  }, {
8488
6903
  default: withCtx(() => [createTextVNode(toDisplayString(`${g.elapsedTime} ms`), 1)]),
8489
6904
  _: 1
8490
6905
  }, 8, ["color"])
8491
6906
  ]), createElementVNode("pre", {
8492
6907
  class: "w-full mt-2 rounded text-sm whitespace-pre-wrap break-all of-auto! flex-1 px-4",
8493
- innerHTML: unref(F)
8494
- }, null, 8, _hoisted_10)], 64)) : (openBlock(), createElementBlock("div", _hoisted_11, [createVNode(b, {
6908
+ innerHTML: unref(R)
6909
+ }, null, 8, _hoisted_10)], 64)) : (openBlock(), createElementBlock("div", _hoisted_11, [createVNode(S, {
8495
6910
  loading: g.isFetching,
8496
- disabled: !S.value,
8497
- onClick: j
6911
+ disabled: !w.value,
6912
+ onClick: N
8498
6913
  }, {
8499
6914
  icon: withCtx(() => [createVNode(unref(SendOutlined_default))]),
8500
- default: withCtx(() => [_[9] ||= createTextVNode(" 发送请求 ")]),
8501
- _: 1,
8502
- __: [9]
6915
+ default: withCtx(() => [y[9] ||= createTextVNode(" 发送请求 ", -1)]),
6916
+ _: 1
8503
6917
  }, 8, ["loading", "disabled"])]))
8504
6918
  ]);
8505
6919
  };
@@ -8578,9 +6992,8 @@ var { codeToHtml, codeToHast, codeToTokens, codeToTokensBase, codeToTokensWithTh
8578
6992
  ]))), 128))])) : createCommentVNode("", !0), createElementVNode("div", _hoisted_6, [
8579
6993
  createVNode(E, { onClick: b }, {
8580
6994
  icon: withCtx(() => [createVNode(unref(PlusOutlined_default))]),
8581
- default: withCtx(() => [w[0] ||= createTextVNode(" 添加 ")]),
8582
- _: 1,
8583
- __: [0]
6995
+ default: withCtx(() => [w[0] ||= createTextVNode(" 添加 ", -1)]),
6996
+ _: 1
8584
6997
  }),
8585
6998
  w[2] ||= createElementVNode("div", { class: "flex-auto" }, null, -1),
8586
6999
  y.value.length ? (openBlock(), createBlock(E, {
@@ -8589,9 +7002,8 @@ var { codeToHtml, codeToHast, codeToTokens, codeToTokensBase, codeToTokensWithTh
8589
7002
  onClick: S
8590
7003
  }, {
8591
7004
  icon: withCtx(() => [createVNode(unref(DeleteOutlined_default))]),
8592
- default: withCtx(() => [w[1] ||= createTextVNode(" 删除全部 ")]),
8593
- _: 1,
8594
- __: [1]
7005
+ default: withCtx(() => [w[1] ||= createTextVNode(" 删除全部 ", -1)]),
7006
+ _: 1
8595
7007
  })) : createCommentVNode("", !0)
8596
7008
  ])])])]);
8597
7009
  };
@@ -8872,32 +7284,28 @@ var _hoisted_1$4 = { class: "of-y-auto! h-500px relative" }, _hoisted_2$1 = { cl
8872
7284
  key: 0,
8873
7285
  onClick: X
8874
7286
  }, {
8875
- default: withCtx(() => g[9] ||= [createTextVNode(" 上一步 ")]),
8876
- _: 1,
8877
- __: [9]
7287
+ default: withCtx(() => [...g[9] ||= [createTextVNode(" 上一步 ", -1)]]),
7288
+ _: 1
8878
7289
  })) : createCommentVNode("", !0)]), createElementVNode("div", _hoisted_3$1, [
8879
7290
  createVNode(_, { onClick: g[6] ||= (e) => k(!1) }, {
8880
- default: withCtx(() => g[10] ||= [createTextVNode(" 取消 ")]),
8881
- _: 1,
8882
- __: [10]
7291
+ default: withCtx(() => [...g[10] ||= [createTextVNode(" 取消 ", -1)]]),
7292
+ _: 1
8883
7293
  }),
8884
7294
  unref(x) === 0 ? (openBlock(), createBlock(_, {
8885
7295
  key: 0,
8886
7296
  type: "primary",
8887
7297
  onClick: Z
8888
7298
  }, {
8889
- default: withCtx(() => g[11] ||= [createTextVNode(" 下一步 ")]),
8890
- _: 1,
8891
- __: [11]
7299
+ default: withCtx(() => [...g[11] ||= [createTextVNode(" 下一步 ", -1)]]),
7300
+ _: 1
8892
7301
  })) : createCommentVNode("", !0),
8893
7302
  unref(x) === 1 ? (openBlock(), createBlock(_, {
8894
7303
  key: 1,
8895
7304
  type: "primary",
8896
7305
  onClick: $
8897
7306
  }, {
8898
- default: withCtx(() => g[12] ||= [createTextVNode(" 完成 ")]),
8899
- _: 1,
8900
- __: [12]
7307
+ default: withCtx(() => [...g[12] ||= [createTextVNode(" 完成 ", -1)]]),
7308
+ _: 1
8901
7309
  })) : createCommentVNode("", !0)
8902
7310
  ])])]),
8903
7311
  default: withCtx(() => [createElementVNode("div", _hoisted_1$4, [unref(x) === 0 ? (openBlock(), createBlock(One_default, {
@@ -11465,7 +9873,7 @@ function render$1(e, g) {
11465
9873
  var close_circle_twotone_default = markRaw({
11466
9874
  name: "ant-design-close-circle-twotone",
11467
9875
  render: render$1
11468
- }), _hoisted_1$1 = { class: "icon" }, rule_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
9876
+ }), _hoisted_1$1 = { class: "icon" }, rule_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
11469
9877
  __name: "rule",
11470
9878
  props: {
11471
9879
  message: {},
@@ -11483,7 +9891,7 @@ var close_circle_twotone_default = markRaw({
11483
9891
  text: "16px red"
11484
9892
  }))]), createElementVNode("span", { class: normalizeClass([g.flag ? "line-through text-gray-400" : ""]) }, toDisplayString(g.message), 3)], 2));
11485
9893
  }
11486
- }), [["__scopeId", "data-v-46345e9a"]]), import_main = /* @__PURE__ */ __toESM(require_main(), 1), _hoisted_1 = { class: "rules-wrap" }, _hoisted_2 = { class: "basic-rules" }, _hoisted_3 = { class: "advanced-rules" }, PassStrengthValidator_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
9894
+ }), [["__scopeId", "data-v-46345e9a"]]), import_main = /* @__PURE__ */ __toESM(require_main(), 1), _hoisted_1 = { class: "rules-wrap" }, _hoisted_2 = { class: "basic-rules" }, _hoisted_3 = { class: "advanced-rules" }, PassStrengthValidator_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
11487
9895
  name: "PassStrengthValidator",
11488
9896
  __name: "index",
11489
9897
  props: /* @__PURE__ */ mergeModels({ vertical: Boolean }, {