richtor 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (316) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +122 -0
  3. package/dist/abap-Y8Dl9g_6.js +6 -0
  4. package/dist/actionscript-3-DZzbMeqX.js +6 -0
  5. package/dist/ada-vP6ak0IW.js +6 -0
  6. package/dist/andromeeda-BIpZ7gaU.js +4 -0
  7. package/dist/angular-html-DPB4Rf0C.js +32 -0
  8. package/dist/angular-ts-CTOR2ofC.js +21 -0
  9. package/dist/apache-BUjz-sD2.js +6 -0
  10. package/dist/apex-oLhhs58q.js +6 -0
  11. package/dist/apl-CjNiDgad.js +16 -0
  12. package/dist/applescript-BPx7YFFu.js +6 -0
  13. package/dist/ara-Z2fSOxSw.js +6 -0
  14. package/dist/asciidoc-B-pCoB3G.js +6 -0
  15. package/dist/asm-BTWLY5ym.js +6 -0
  16. package/dist/astro-CFFExE8Q.js +18 -0
  17. package/dist/aurora-x-BwoVEUWZ.js +4 -0
  18. package/dist/awk-Fb0P9dkn.js +6 -0
  19. package/dist/ayu-dark-CxPZkpb2.js +4 -0
  20. package/dist/ballerina-oZK-YekG.js +6 -0
  21. package/dist/bash-CPB87Egg.js +377 -0
  22. package/dist/bat-0FvbqU9S.js +6 -0
  23. package/dist/beancount-DqJEb89h.js +6 -0
  24. package/dist/berry-DODBq_Ff.js +6 -0
  25. package/dist/bibtex-EULQRLY5.js +6 -0
  26. package/dist/bicep-BorU73w0.js +6 -0
  27. package/dist/blade-CRa6j5zS.js +20 -0
  28. package/dist/bsl-NkNNwerW.js +8 -0
  29. package/dist/c-Bz1-FJiA.js +277 -0
  30. package/dist/c-eeMepfLm.js +6 -0
  31. package/dist/cadence-02UX7mW8.js +6 -0
  32. package/dist/cairo-DM6WF2e3.js +8 -0
  33. package/dist/catppuccin-frappe-D3cH2rXe.js +4 -0
  34. package/dist/catppuccin-latte-C0LRGUW4.js +4 -0
  35. package/dist/catppuccin-macchiato-c5wQ11TT.js +4 -0
  36. package/dist/catppuccin-mocha-WMD6Qvya.js +4 -0
  37. package/dist/clarity-PKm5CwqM.js +6 -0
  38. package/dist/clojure-CXJfHrL3.js +6 -0
  39. package/dist/cmake-BJz8BOTU.js +6 -0
  40. package/dist/cobol-HihOMwht.js +10 -0
  41. package/dist/codeowners-Bt9yU6NX.js +6 -0
  42. package/dist/codeql-DHkodjjI.js +6 -0
  43. package/dist/coffee-DGBR_nr_.js +8 -0
  44. package/dist/common-lisp-EVqT9Zhp.js +6 -0
  45. package/dist/coq-B0L9upzn.js +6 -0
  46. package/dist/cpp-Cj177cuW.js +18 -0
  47. package/dist/crystal-CRJyc4G-.js +18 -0
  48. package/dist/csharp-AnFv7wyC.js +382 -0
  49. package/dist/csharp-C7yUs7-w.js +6 -0
  50. package/dist/css-BCTOmdxR.js +923 -0
  51. package/dist/css-CECN5uSL.js +6 -0
  52. package/dist/csv-CmYOceLb.js +6 -0
  53. package/dist/cue-ZzumE7IT.js +6 -0
  54. package/dist/cypher-jpdmjtA6.js +6 -0
  55. package/dist/d-CBagWSwH.js +6 -0
  56. package/dist/dark-plus-pUHDTVV0.js +4 -0
  57. package/dist/dart-6ObCrKr9.js +6 -0
  58. package/dist/dax-CcDT-8dH.js +6 -0
  59. package/dist/desktop-B93p9R9O.js +6 -0
  60. package/dist/diff-BxzP2J8R.js +6 -0
  61. package/dist/docker-CsHqm9tx.js +6 -0
  62. package/dist/dotenv-BMjVjUL1.js +6 -0
  63. package/dist/dracula-BtZx2Kac.js +4 -0
  64. package/dist/dracula-soft-BKa-aqBv.js +4 -0
  65. package/dist/dream-maker-PAx17jaB.js +6 -0
  66. package/dist/edge-BYQkOzbF.js +12 -0
  67. package/dist/elixir-Dh036GMp.js +8 -0
  68. package/dist/elm-BtNbw_Cd.js +8 -0
  69. package/dist/emacs-lisp-Cfxdx5D-.js +6 -0
  70. package/dist/erb-CS4zioBv.js +10 -0
  71. package/dist/erlang-DNcDT8Hi.js +8 -0
  72. package/dist/everforest-dark-DMCBqXCK.js +4 -0
  73. package/dist/everforest-light-BbXl82Em.js +4 -0
  74. package/dist/fennel-N4WcXuKx.js +6 -0
  75. package/dist/fish-BTDEUgqH.js +6 -0
  76. package/dist/fluent-BMXUxfv1.js +6 -0
  77. package/dist/fortran-fixed-form-DUsA-VGo.js +8 -0
  78. package/dist/fortran-free-form-DPIT_jbP.js +6 -0
  79. package/dist/fsharp-CYOiIVNx.js +8 -0
  80. package/dist/gdresource-BwtMIoBm.js +10 -0
  81. package/dist/gdscript-BifyeYhI.js +6 -0
  82. package/dist/gdshader-Bk8fF6yr.js +6 -0
  83. package/dist/genie-DzUvd7U9.js +6 -0
  84. package/dist/gherkin-DHRaV0YP.js +6 -0
  85. package/dist/git-commit-Bd32YZ0K.js +8 -0
  86. package/dist/git-rebase-ZWUFO_T4.js +8 -0
  87. package/dist/github-dark-DenFmJkN.js +4 -0
  88. package/dist/github-dark-default-BJPUVz4H.js +4 -0
  89. package/dist/github-dark-dimmed-DUshB20C.js +4 -0
  90. package/dist/github-dark-high-contrast-D3aGCnF8.js +4 -0
  91. package/dist/github-light-JYsPkUQd.js +4 -0
  92. package/dist/github-light-default-D99KPAby.js +4 -0
  93. package/dist/github-light-high-contrast-BbmZE-Mp.js +4 -0
  94. package/dist/gleam-Bv284lvN.js +6 -0
  95. package/dist/glimmer-js-DkxNrfPT.js +14 -0
  96. package/dist/glimmer-ts-D6YZEmK_.js +14 -0
  97. package/dist/glsl-CkUcVZNK.js +8 -0
  98. package/dist/gnuplot-yPG9-sE_.js +6 -0
  99. package/dist/go-ChxJuLYK.js +6 -0
  100. package/dist/go-CkZ9_bn0.js +151 -0
  101. package/dist/graphql-CBu2ehBn.js +14 -0
  102. package/dist/graphql-CHx1gYw6.js +70 -0
  103. package/dist/groovy-CJQTphOW.js +6 -0
  104. package/dist/gruvbox-dark-hard-C5HOtKIh.js +4 -0
  105. package/dist/gruvbox-dark-medium-FVgwJHuz.js +4 -0
  106. package/dist/gruvbox-dark-soft-B46F314v.js +4 -0
  107. package/dist/gruvbox-light-hard-CJD38wDZ.js +4 -0
  108. package/dist/gruvbox-light-medium-BlIhMYTA.js +4 -0
  109. package/dist/gruvbox-light-soft-DoPHyLVZ.js +4 -0
  110. package/dist/hack-ItRNKiEb.js +10 -0
  111. package/dist/haml-NZLVzu_R.js +10 -0
  112. package/dist/handlebars-mxStpSE7.js +14 -0
  113. package/dist/haskell-WeIwNIP6.js +6 -0
  114. package/dist/haxe-TztHsm5T.js +6 -0
  115. package/dist/hcl-D438OF-I.js +6 -0
  116. package/dist/hjson-DYBUbqOl.js +6 -0
  117. package/dist/hlsl-Bk8TCZNL.js +6 -0
  118. package/dist/houston-BDYrDoDW.js +4 -0
  119. package/dist/html-B50bmoVb.js +10 -0
  120. package/dist/html-derivative-C6bxFbFW.js +8 -0
  121. package/dist/http-DLvAkeD-.js +14 -0
  122. package/dist/hurl-CgkFN90t.js +12 -0
  123. package/dist/hxml-GbqSQCLa.js +8 -0
  124. package/dist/hy-Brt5EZ7-.js +6 -0
  125. package/dist/imba-CimUv-Uh.js +6 -0
  126. package/dist/ini-BZIuRIvJ.js +6 -0
  127. package/dist/java-BicX26Pg.js +240 -0
  128. package/dist/java-DY6VlHhP.js +6 -0
  129. package/dist/javascript-C25yR2R2.js +6 -0
  130. package/dist/javascript-DII1YQGr.js +658 -0
  131. package/dist/jinja-CFW5uAwY.js +11 -0
  132. package/dist/jison-DdreslRX.js +8 -0
  133. package/dist/json-C_6Prymp.js +38 -0
  134. package/dist/json-DxJze_jm.js +6 -0
  135. package/dist/json5-BT4Fjg39.js +6 -0
  136. package/dist/jsonc-CHjZD8gR.js +6 -0
  137. package/dist/jsonl-BGuvDmy9.js +6 -0
  138. package/dist/jsonnet-Bx2cfsXg.js +6 -0
  139. package/dist/jssm-BcADi6EI.js +6 -0
  140. package/dist/jsx-BtKADgXT.js +6 -0
  141. package/dist/julia--2-efCjg.js +16 -0
  142. package/dist/kanagawa-dragon-CiKur4Hl.js +4 -0
  143. package/dist/kanagawa-lotus-BKu-smKu.js +4 -0
  144. package/dist/kanagawa-wave-CQwozSzG.js +4 -0
  145. package/dist/kdl-BNOv9TC3.js +6 -0
  146. package/dist/kotlin-BwB8b-YX.js +242 -0
  147. package/dist/kotlin-ByBMgTeR.js +6 -0
  148. package/dist/kusto-VWFLl2T0.js +6 -0
  149. package/dist/laserwave-6a00oqik.js +4 -0
  150. package/dist/latex-Cs75fyNk.js +8 -0
  151. package/dist/lean-D5yRrexI.js +6 -0
  152. package/dist/less-B1GLI2Di.js +6 -0
  153. package/dist/less-DeNOeXmL.js +992 -0
  154. package/dist/light-plus-CZuVqSLX.js +4 -0
  155. package/dist/liquid-CHzkx3jT.js +14 -0
  156. package/dist/llvm-co1rIKs3.js +6 -0
  157. package/dist/log-Al8wyEFV.js +6 -0
  158. package/dist/logo-DBa4JDzV.js +6 -0
  159. package/dist/lua-kX5WP_P5.js +8 -0
  160. package/dist/luau-DtBSxLyz.js +6 -0
  161. package/dist/make-CsMclxtr.js +6 -0
  162. package/dist/makefile-D-gl0qMV.js +67 -0
  163. package/dist/markdown-CrScaQ96.js +6 -0
  164. package/dist/markdown-ga2-2-T7.js +216 -0
  165. package/dist/marko-ls0Jg2j8.js +14 -0
  166. package/dist/material-theme-D6KBX41T.js +4 -0
  167. package/dist/material-theme-darker-CkRroheE.js +4 -0
  168. package/dist/material-theme-lighter-BUBw43Yz.js +4 -0
  169. package/dist/material-theme-ocean-ClGX14Ja.js +4 -0
  170. package/dist/material-theme-palenight-C1RVm8K1.js +4 -0
  171. package/dist/matlab-BOAaUVP0.js +6 -0
  172. package/dist/mdc-uaivvctV.js +12 -0
  173. package/dist/mdx-BOhZZUJ8.js +6 -0
  174. package/dist/mermaid-B0ixDHKN.js +6 -0
  175. package/dist/min-dark-C7ak0t6c.js +4 -0
  176. package/dist/min-light-CKFxVcPp.js +4 -0
  177. package/dist/mipsasm-CTx18fBl.js +6 -0
  178. package/dist/mojo-BD611d7o.js +6 -0
  179. package/dist/monokai-C1KBYcO0.js +4 -0
  180. package/dist/move-F-dICmj2.js +6 -0
  181. package/dist/narrat-DmhDCBs-.js +6 -0
  182. package/dist/nextflow-DmSVRGjG.js +6 -0
  183. package/dist/nginx-5vhPAEw3.js +8 -0
  184. package/dist/night-owl-Bm2rzalh.js +4 -0
  185. package/dist/nim-QAjRdh9w.js +20 -0
  186. package/dist/nix-BZK5F767.js +9 -0
  187. package/dist/nord-CC5OiUXg.js +4 -0
  188. package/dist/nushell-D8j3dhT-.js +6 -0
  189. package/dist/objective-c-Itk8tzmv.js +6 -0
  190. package/dist/objective-cpp-DGt5UKRO.js +6 -0
  191. package/dist/objectivec-CnyrJ13Z.js +237 -0
  192. package/dist/ocaml-eSVK32Eg.js +6 -0
  193. package/dist/one-dark-pro-DTA3VF0_.js +4 -0
  194. package/dist/one-light-D9sNaUtq.js +4 -0
  195. package/dist/openscad-Sp5uZ6f2.js +6 -0
  196. package/dist/pascal-xy8pJNns.js +6 -0
  197. package/dist/perl-DkVrgJBg.js +16 -0
  198. package/dist/php-BL35ZHWM.js +566 -0
  199. package/dist/php-j2zCzTEz.js +18 -0
  200. package/dist/pkl-C-zSNmaA.js +6 -0
  201. package/dist/plastic-CSTz3KZp.js +4 -0
  202. package/dist/plsql-pVbGZfOv.js +6 -0
  203. package/dist/po-BNfHvqmm.js +6 -0
  204. package/dist/poimandres-C-VADXHD.js +4 -0
  205. package/dist/polar-CAZahv3u.js +6 -0
  206. package/dist/postcss-05aHdL-n.js +6 -0
  207. package/dist/powerquery-DI9HkTvs.js +6 -0
  208. package/dist/powershell-Clc4ydu-.js +6 -0
  209. package/dist/prisma-FZjmVtSl.js +6 -0
  210. package/dist/prolog-C5-yg4TO.js +6 -0
  211. package/dist/proto-MmCPeFAD.js +6 -0
  212. package/dist/pug-XOw9Q1Ho.js +12 -0
  213. package/dist/puppet-CUJHmnxV.js +6 -0
  214. package/dist/purescript-rUfGld-4.js +6 -0
  215. package/dist/python-BFNSHbwJ.js +6 -0
  216. package/dist/python-CymlFLB0.js +399 -0
  217. package/dist/qml-rTNXsquU.js +8 -0
  218. package/dist/qmldir-BInDYbpo.js +6 -0
  219. package/dist/qss-AeJTysr_.js +6 -0
  220. package/dist/r-Bm0uF0U2.js +6 -0
  221. package/dist/racket-B83wSAja.js +6 -0
  222. package/dist/raku-nEQ4ZJJ7.js +6 -0
  223. package/dist/razor-B1z-bksM.js +10 -0
  224. package/dist/red-7y8PH7HH.js +4 -0
  225. package/dist/reg-m_s_Kiip.js +6 -0
  226. package/dist/regexp-BazyLpPg.js +6 -0
  227. package/dist/rel-BcRfyd6Q.js +6 -0
  228. package/dist/richtor.css +1 -0
  229. package/dist/riscv-Ce8MAQLP.js +6 -0
  230. package/dist/rose-pine-BKc3yVeu.js +4 -0
  231. package/dist/rose-pine-dawn-BulJcPZT.js +4 -0
  232. package/dist/rose-pine-moon-j6jiXKV8.js +4 -0
  233. package/dist/rosmsg-Cz0w1km8.js +6 -0
  234. package/dist/rst-CcbeA9zE.js +22 -0
  235. package/dist/ruby-DMPw6uKF.js +30 -0
  236. package/dist/rust-CLzF9zIN.js +6 -0
  237. package/dist/sas-fpEvgATw.js +8 -0
  238. package/dist/sass-DxHp5rTx.js +6 -0
  239. package/dist/scala-D4grkFkl.js +6 -0
  240. package/dist/scheme-BCRWuEm4.js +6 -0
  241. package/dist/scss-B1FaCqwR.js +8 -0
  242. package/dist/scss-CknrYxoA.js +908 -0
  243. package/dist/sdbl-B7T8abf4.js +6 -0
  244. package/dist/shadcn-rich-editor.es.js +68529 -0
  245. package/dist/shadcn-rich-editor.umd.js +282 -0
  246. package/dist/shaderlab-Cr62-Wb4.js +8 -0
  247. package/dist/shell-DYrX6oL5.js +25 -0
  248. package/dist/shellscript-InADTalH.js +6 -0
  249. package/dist/shellsession-DiDJNQdy.js +8 -0
  250. package/dist/slack-dark-i7wN4OET.js +4 -0
  251. package/dist/slack-ochin-ndHf0LoP.js +4 -0
  252. package/dist/smalltalk-BlI1_OkM.js +6 -0
  253. package/dist/snazzy-light-BlSJXAu4.js +4 -0
  254. package/dist/solarized-dark-UTmkh7lw.js +4 -0
  255. package/dist/solarized-light-BheCkDPT.js +4 -0
  256. package/dist/solidity-DUWnFhS6.js +6 -0
  257. package/dist/soy-C1-6njHa.js +8 -0
  258. package/dist/sparql-B0KWFEri.js +8 -0
  259. package/dist/splunk-CRXR8A9s.js +6 -0
  260. package/dist/sql-Cn_v3PB0.js +6 -0
  261. package/dist/sql-IeKX8fQ8.js +615 -0
  262. package/dist/ssh-config-DP-hNVbF.js +6 -0
  263. package/dist/stata-B8c5fTjX.js +8 -0
  264. package/dist/stylus-CyKEU1Ej.js +6 -0
  265. package/dist/svelte-5UasyOg7.js +14 -0
  266. package/dist/swift-9UzSvamq.js +6 -0
  267. package/dist/synthwave-84-NU3C_KFZ.js +4 -0
  268. package/dist/system-verilog-BCm7smPJ.js +6 -0
  269. package/dist/systemd-C-4qm6XH.js +6 -0
  270. package/dist/talonscript-CFF3LF_O.js +6 -0
  271. package/dist/tasl-Cg_WBUAe.js +6 -0
  272. package/dist/tcl-DN7buRTF.js +6 -0
  273. package/dist/templ-peLZIM2D.js +12 -0
  274. package/dist/terraform-DGvcn9zM.js +6 -0
  275. package/dist/tex-DpOayVob.js +8 -0
  276. package/dist/tokyo-night-DP4TmcQl.js +4 -0
  277. package/dist/toml-DY62mUL_.js +6 -0
  278. package/dist/ts-tags-ioVe2PKw.js +41 -0
  279. package/dist/tsv-BtvSkaG0.js +6 -0
  280. package/dist/tsx-B8rCNbgL.js +6 -0
  281. package/dist/turtle-_H59FV7D.js +6 -0
  282. package/dist/twig-CcRLVyUg.js +18 -0
  283. package/dist/typescript-RycA9KXf.js +6 -0
  284. package/dist/typescript-SNUkGeOU.js +753 -0
  285. package/dist/typespec-DWqp-kUU.js +6 -0
  286. package/dist/typst-D_1QKWns.js +6 -0
  287. package/dist/v-BPCNiyYe.js +6 -0
  288. package/dist/vala-uxaPR7d1.js +6 -0
  289. package/dist/vb-D8_c5-KN.js +6 -0
  290. package/dist/vbnet-D7PCGZRn.js +122 -0
  291. package/dist/verilog-B-bybjPF.js +6 -0
  292. package/dist/vesper-BckBta1U.js +4 -0
  293. package/dist/vhdl-CUlNa8ac.js +6 -0
  294. package/dist/viml-DsfA-sWm.js +6 -0
  295. package/dist/vite.svg +1 -0
  296. package/dist/vitesse-black-BoGvW84i.js +4 -0
  297. package/dist/vitesse-dark-Cym-eLtO.js +4 -0
  298. package/dist/vitesse-light-CcmG315c.js +4 -0
  299. package/dist/vue-DOVAQqiz.js +31 -0
  300. package/dist/vue-html-C7WI2elu.js +10 -0
  301. package/dist/vue-vine-D386fra9.js +20 -0
  302. package/dist/vyper-CPQuu50u.js +6 -0
  303. package/dist/wasm-BBXxrAl7.js +6 -0
  304. package/dist/wasm-DQxwEHae.js +7 -0
  305. package/dist/wenyan-pbVjoM9_.js +6 -0
  306. package/dist/wgsl-DY4iK1q1.js +6 -0
  307. package/dist/wikitext-Z-MoUasO.js +6 -0
  308. package/dist/wit-CQMQOlTg.js +6 -0
  309. package/dist/wolfram-Dz4KXISs.js +6 -0
  310. package/dist/xml-B7THKYqr.js +219 -0
  311. package/dist/xml-C2J0sS9M.js +8 -0
  312. package/dist/xsl-BmSZphgC.js +8 -0
  313. package/dist/yaml-DaO7k5B1.js +6 -0
  314. package/dist/zenscript-CxBjpf9c.js +6 -0
  315. package/dist/zig-Vm0PO9wB.js +6 -0
  316. package/package.json +136 -0
@@ -0,0 +1,923 @@
1
+ const s = (t) => ({
2
+ IMPORTANT: {
3
+ scope: "meta",
4
+ begin: "!important"
5
+ },
6
+ BLOCK_COMMENT: t.C_BLOCK_COMMENT_MODE,
7
+ HEXCOLOR: {
8
+ scope: "number",
9
+ begin: /#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/
10
+ },
11
+ FUNCTION_DISPATCH: {
12
+ className: "built_in",
13
+ begin: /[\w-]+(?=\()/
14
+ },
15
+ ATTRIBUTE_SELECTOR_MODE: {
16
+ scope: "selector-attr",
17
+ begin: /\[/,
18
+ end: /\]/,
19
+ illegal: "$",
20
+ contains: [
21
+ t.APOS_STRING_MODE,
22
+ t.QUOTE_STRING_MODE
23
+ ]
24
+ },
25
+ CSS_NUMBER_MODE: {
26
+ scope: "number",
27
+ begin: t.NUMBER_RE + "(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",
28
+ relevance: 0
29
+ },
30
+ CSS_VARIABLE: {
31
+ className: "attr",
32
+ begin: /--[A-Za-z_][A-Za-z0-9_-]*/
33
+ }
34
+ }), c = [
35
+ "a",
36
+ "abbr",
37
+ "address",
38
+ "article",
39
+ "aside",
40
+ "audio",
41
+ "b",
42
+ "blockquote",
43
+ "body",
44
+ "button",
45
+ "canvas",
46
+ "caption",
47
+ "cite",
48
+ "code",
49
+ "dd",
50
+ "del",
51
+ "details",
52
+ "dfn",
53
+ "div",
54
+ "dl",
55
+ "dt",
56
+ "em",
57
+ "fieldset",
58
+ "figcaption",
59
+ "figure",
60
+ "footer",
61
+ "form",
62
+ "h1",
63
+ "h2",
64
+ "h3",
65
+ "h4",
66
+ "h5",
67
+ "h6",
68
+ "header",
69
+ "hgroup",
70
+ "html",
71
+ "i",
72
+ "iframe",
73
+ "img",
74
+ "input",
75
+ "ins",
76
+ "kbd",
77
+ "label",
78
+ "legend",
79
+ "li",
80
+ "main",
81
+ "mark",
82
+ "menu",
83
+ "nav",
84
+ "object",
85
+ "ol",
86
+ "optgroup",
87
+ "option",
88
+ "p",
89
+ "picture",
90
+ "q",
91
+ "quote",
92
+ "samp",
93
+ "section",
94
+ "select",
95
+ "source",
96
+ "span",
97
+ "strong",
98
+ "summary",
99
+ "sup",
100
+ "table",
101
+ "tbody",
102
+ "td",
103
+ "textarea",
104
+ "tfoot",
105
+ "th",
106
+ "thead",
107
+ "time",
108
+ "tr",
109
+ "ul",
110
+ "var",
111
+ "video"
112
+ ], d = [
113
+ "defs",
114
+ "g",
115
+ "marker",
116
+ "mask",
117
+ "pattern",
118
+ "svg",
119
+ "switch",
120
+ "symbol",
121
+ "feBlend",
122
+ "feColorMatrix",
123
+ "feComponentTransfer",
124
+ "feComposite",
125
+ "feConvolveMatrix",
126
+ "feDiffuseLighting",
127
+ "feDisplacementMap",
128
+ "feFlood",
129
+ "feGaussianBlur",
130
+ "feImage",
131
+ "feMerge",
132
+ "feMorphology",
133
+ "feOffset",
134
+ "feSpecularLighting",
135
+ "feTile",
136
+ "feTurbulence",
137
+ "linearGradient",
138
+ "radialGradient",
139
+ "stop",
140
+ "circle",
141
+ "ellipse",
142
+ "image",
143
+ "line",
144
+ "path",
145
+ "polygon",
146
+ "polyline",
147
+ "rect",
148
+ "text",
149
+ "use",
150
+ "textPath",
151
+ "tspan",
152
+ "foreignObject",
153
+ "clipPath"
154
+ ], m = [
155
+ ...c,
156
+ ...d
157
+ ], b = [
158
+ "any-hover",
159
+ "any-pointer",
160
+ "aspect-ratio",
161
+ "color",
162
+ "color-gamut",
163
+ "color-index",
164
+ "device-aspect-ratio",
165
+ "device-height",
166
+ "device-width",
167
+ "display-mode",
168
+ "forced-colors",
169
+ "grid",
170
+ "height",
171
+ "hover",
172
+ "inverted-colors",
173
+ "monochrome",
174
+ "orientation",
175
+ "overflow-block",
176
+ "overflow-inline",
177
+ "pointer",
178
+ "prefers-color-scheme",
179
+ "prefers-contrast",
180
+ "prefers-reduced-motion",
181
+ "prefers-reduced-transparency",
182
+ "resolution",
183
+ "scan",
184
+ "scripting",
185
+ "update",
186
+ "width",
187
+ // TODO: find a better solution?
188
+ "min-width",
189
+ "max-width",
190
+ "min-height",
191
+ "max-height"
192
+ ].sort().reverse(), g = [
193
+ "active",
194
+ "any-link",
195
+ "blank",
196
+ "checked",
197
+ "current",
198
+ "default",
199
+ "defined",
200
+ "dir",
201
+ // dir()
202
+ "disabled",
203
+ "drop",
204
+ "empty",
205
+ "enabled",
206
+ "first",
207
+ "first-child",
208
+ "first-of-type",
209
+ "fullscreen",
210
+ "future",
211
+ "focus",
212
+ "focus-visible",
213
+ "focus-within",
214
+ "has",
215
+ // has()
216
+ "host",
217
+ // host or host()
218
+ "host-context",
219
+ // host-context()
220
+ "hover",
221
+ "indeterminate",
222
+ "in-range",
223
+ "invalid",
224
+ "is",
225
+ // is()
226
+ "lang",
227
+ // lang()
228
+ "last-child",
229
+ "last-of-type",
230
+ "left",
231
+ "link",
232
+ "local-link",
233
+ "not",
234
+ // not()
235
+ "nth-child",
236
+ // nth-child()
237
+ "nth-col",
238
+ // nth-col()
239
+ "nth-last-child",
240
+ // nth-last-child()
241
+ "nth-last-col",
242
+ // nth-last-col()
243
+ "nth-last-of-type",
244
+ //nth-last-of-type()
245
+ "nth-of-type",
246
+ //nth-of-type()
247
+ "only-child",
248
+ "only-of-type",
249
+ "optional",
250
+ "out-of-range",
251
+ "past",
252
+ "placeholder-shown",
253
+ "read-only",
254
+ "read-write",
255
+ "required",
256
+ "right",
257
+ "root",
258
+ "scope",
259
+ "target",
260
+ "target-within",
261
+ "user-invalid",
262
+ "valid",
263
+ "visited",
264
+ "where"
265
+ // where()
266
+ ].sort().reverse(), p = [
267
+ "after",
268
+ "backdrop",
269
+ "before",
270
+ "cue",
271
+ "cue-region",
272
+ "first-letter",
273
+ "first-line",
274
+ "grammar-error",
275
+ "marker",
276
+ "part",
277
+ "placeholder",
278
+ "selection",
279
+ "slotted",
280
+ "spelling-error"
281
+ ].sort().reverse(), f = [
282
+ "accent-color",
283
+ "align-content",
284
+ "align-items",
285
+ "align-self",
286
+ "alignment-baseline",
287
+ "all",
288
+ "anchor-name",
289
+ "animation",
290
+ "animation-composition",
291
+ "animation-delay",
292
+ "animation-direction",
293
+ "animation-duration",
294
+ "animation-fill-mode",
295
+ "animation-iteration-count",
296
+ "animation-name",
297
+ "animation-play-state",
298
+ "animation-range",
299
+ "animation-range-end",
300
+ "animation-range-start",
301
+ "animation-timeline",
302
+ "animation-timing-function",
303
+ "appearance",
304
+ "aspect-ratio",
305
+ "backdrop-filter",
306
+ "backface-visibility",
307
+ "background",
308
+ "background-attachment",
309
+ "background-blend-mode",
310
+ "background-clip",
311
+ "background-color",
312
+ "background-image",
313
+ "background-origin",
314
+ "background-position",
315
+ "background-position-x",
316
+ "background-position-y",
317
+ "background-repeat",
318
+ "background-size",
319
+ "baseline-shift",
320
+ "block-size",
321
+ "border",
322
+ "border-block",
323
+ "border-block-color",
324
+ "border-block-end",
325
+ "border-block-end-color",
326
+ "border-block-end-style",
327
+ "border-block-end-width",
328
+ "border-block-start",
329
+ "border-block-start-color",
330
+ "border-block-start-style",
331
+ "border-block-start-width",
332
+ "border-block-style",
333
+ "border-block-width",
334
+ "border-bottom",
335
+ "border-bottom-color",
336
+ "border-bottom-left-radius",
337
+ "border-bottom-right-radius",
338
+ "border-bottom-style",
339
+ "border-bottom-width",
340
+ "border-collapse",
341
+ "border-color",
342
+ "border-end-end-radius",
343
+ "border-end-start-radius",
344
+ "border-image",
345
+ "border-image-outset",
346
+ "border-image-repeat",
347
+ "border-image-slice",
348
+ "border-image-source",
349
+ "border-image-width",
350
+ "border-inline",
351
+ "border-inline-color",
352
+ "border-inline-end",
353
+ "border-inline-end-color",
354
+ "border-inline-end-style",
355
+ "border-inline-end-width",
356
+ "border-inline-start",
357
+ "border-inline-start-color",
358
+ "border-inline-start-style",
359
+ "border-inline-start-width",
360
+ "border-inline-style",
361
+ "border-inline-width",
362
+ "border-left",
363
+ "border-left-color",
364
+ "border-left-style",
365
+ "border-left-width",
366
+ "border-radius",
367
+ "border-right",
368
+ "border-right-color",
369
+ "border-right-style",
370
+ "border-right-width",
371
+ "border-spacing",
372
+ "border-start-end-radius",
373
+ "border-start-start-radius",
374
+ "border-style",
375
+ "border-top",
376
+ "border-top-color",
377
+ "border-top-left-radius",
378
+ "border-top-right-radius",
379
+ "border-top-style",
380
+ "border-top-width",
381
+ "border-width",
382
+ "bottom",
383
+ "box-align",
384
+ "box-decoration-break",
385
+ "box-direction",
386
+ "box-flex",
387
+ "box-flex-group",
388
+ "box-lines",
389
+ "box-ordinal-group",
390
+ "box-orient",
391
+ "box-pack",
392
+ "box-shadow",
393
+ "box-sizing",
394
+ "break-after",
395
+ "break-before",
396
+ "break-inside",
397
+ "caption-side",
398
+ "caret-color",
399
+ "clear",
400
+ "clip",
401
+ "clip-path",
402
+ "clip-rule",
403
+ "color",
404
+ "color-interpolation",
405
+ "color-interpolation-filters",
406
+ "color-profile",
407
+ "color-rendering",
408
+ "color-scheme",
409
+ "column-count",
410
+ "column-fill",
411
+ "column-gap",
412
+ "column-rule",
413
+ "column-rule-color",
414
+ "column-rule-style",
415
+ "column-rule-width",
416
+ "column-span",
417
+ "column-width",
418
+ "columns",
419
+ "contain",
420
+ "contain-intrinsic-block-size",
421
+ "contain-intrinsic-height",
422
+ "contain-intrinsic-inline-size",
423
+ "contain-intrinsic-size",
424
+ "contain-intrinsic-width",
425
+ "container",
426
+ "container-name",
427
+ "container-type",
428
+ "content",
429
+ "content-visibility",
430
+ "counter-increment",
431
+ "counter-reset",
432
+ "counter-set",
433
+ "cue",
434
+ "cue-after",
435
+ "cue-before",
436
+ "cursor",
437
+ "cx",
438
+ "cy",
439
+ "direction",
440
+ "display",
441
+ "dominant-baseline",
442
+ "empty-cells",
443
+ "enable-background",
444
+ "field-sizing",
445
+ "fill",
446
+ "fill-opacity",
447
+ "fill-rule",
448
+ "filter",
449
+ "flex",
450
+ "flex-basis",
451
+ "flex-direction",
452
+ "flex-flow",
453
+ "flex-grow",
454
+ "flex-shrink",
455
+ "flex-wrap",
456
+ "float",
457
+ "flood-color",
458
+ "flood-opacity",
459
+ "flow",
460
+ "font",
461
+ "font-display",
462
+ "font-family",
463
+ "font-feature-settings",
464
+ "font-kerning",
465
+ "font-language-override",
466
+ "font-optical-sizing",
467
+ "font-palette",
468
+ "font-size",
469
+ "font-size-adjust",
470
+ "font-smooth",
471
+ "font-smoothing",
472
+ "font-stretch",
473
+ "font-style",
474
+ "font-synthesis",
475
+ "font-synthesis-position",
476
+ "font-synthesis-small-caps",
477
+ "font-synthesis-style",
478
+ "font-synthesis-weight",
479
+ "font-variant",
480
+ "font-variant-alternates",
481
+ "font-variant-caps",
482
+ "font-variant-east-asian",
483
+ "font-variant-emoji",
484
+ "font-variant-ligatures",
485
+ "font-variant-numeric",
486
+ "font-variant-position",
487
+ "font-variation-settings",
488
+ "font-weight",
489
+ "forced-color-adjust",
490
+ "gap",
491
+ "glyph-orientation-horizontal",
492
+ "glyph-orientation-vertical",
493
+ "grid",
494
+ "grid-area",
495
+ "grid-auto-columns",
496
+ "grid-auto-flow",
497
+ "grid-auto-rows",
498
+ "grid-column",
499
+ "grid-column-end",
500
+ "grid-column-start",
501
+ "grid-gap",
502
+ "grid-row",
503
+ "grid-row-end",
504
+ "grid-row-start",
505
+ "grid-template",
506
+ "grid-template-areas",
507
+ "grid-template-columns",
508
+ "grid-template-rows",
509
+ "hanging-punctuation",
510
+ "height",
511
+ "hyphenate-character",
512
+ "hyphenate-limit-chars",
513
+ "hyphens",
514
+ "icon",
515
+ "image-orientation",
516
+ "image-rendering",
517
+ "image-resolution",
518
+ "ime-mode",
519
+ "initial-letter",
520
+ "initial-letter-align",
521
+ "inline-size",
522
+ "inset",
523
+ "inset-area",
524
+ "inset-block",
525
+ "inset-block-end",
526
+ "inset-block-start",
527
+ "inset-inline",
528
+ "inset-inline-end",
529
+ "inset-inline-start",
530
+ "isolation",
531
+ "justify-content",
532
+ "justify-items",
533
+ "justify-self",
534
+ "kerning",
535
+ "left",
536
+ "letter-spacing",
537
+ "lighting-color",
538
+ "line-break",
539
+ "line-height",
540
+ "line-height-step",
541
+ "list-style",
542
+ "list-style-image",
543
+ "list-style-position",
544
+ "list-style-type",
545
+ "margin",
546
+ "margin-block",
547
+ "margin-block-end",
548
+ "margin-block-start",
549
+ "margin-bottom",
550
+ "margin-inline",
551
+ "margin-inline-end",
552
+ "margin-inline-start",
553
+ "margin-left",
554
+ "margin-right",
555
+ "margin-top",
556
+ "margin-trim",
557
+ "marker",
558
+ "marker-end",
559
+ "marker-mid",
560
+ "marker-start",
561
+ "marks",
562
+ "mask",
563
+ "mask-border",
564
+ "mask-border-mode",
565
+ "mask-border-outset",
566
+ "mask-border-repeat",
567
+ "mask-border-slice",
568
+ "mask-border-source",
569
+ "mask-border-width",
570
+ "mask-clip",
571
+ "mask-composite",
572
+ "mask-image",
573
+ "mask-mode",
574
+ "mask-origin",
575
+ "mask-position",
576
+ "mask-repeat",
577
+ "mask-size",
578
+ "mask-type",
579
+ "masonry-auto-flow",
580
+ "math-depth",
581
+ "math-shift",
582
+ "math-style",
583
+ "max-block-size",
584
+ "max-height",
585
+ "max-inline-size",
586
+ "max-width",
587
+ "min-block-size",
588
+ "min-height",
589
+ "min-inline-size",
590
+ "min-width",
591
+ "mix-blend-mode",
592
+ "nav-down",
593
+ "nav-index",
594
+ "nav-left",
595
+ "nav-right",
596
+ "nav-up",
597
+ "none",
598
+ "normal",
599
+ "object-fit",
600
+ "object-position",
601
+ "offset",
602
+ "offset-anchor",
603
+ "offset-distance",
604
+ "offset-path",
605
+ "offset-position",
606
+ "offset-rotate",
607
+ "opacity",
608
+ "order",
609
+ "orphans",
610
+ "outline",
611
+ "outline-color",
612
+ "outline-offset",
613
+ "outline-style",
614
+ "outline-width",
615
+ "overflow",
616
+ "overflow-anchor",
617
+ "overflow-block",
618
+ "overflow-clip-margin",
619
+ "overflow-inline",
620
+ "overflow-wrap",
621
+ "overflow-x",
622
+ "overflow-y",
623
+ "overlay",
624
+ "overscroll-behavior",
625
+ "overscroll-behavior-block",
626
+ "overscroll-behavior-inline",
627
+ "overscroll-behavior-x",
628
+ "overscroll-behavior-y",
629
+ "padding",
630
+ "padding-block",
631
+ "padding-block-end",
632
+ "padding-block-start",
633
+ "padding-bottom",
634
+ "padding-inline",
635
+ "padding-inline-end",
636
+ "padding-inline-start",
637
+ "padding-left",
638
+ "padding-right",
639
+ "padding-top",
640
+ "page",
641
+ "page-break-after",
642
+ "page-break-before",
643
+ "page-break-inside",
644
+ "paint-order",
645
+ "pause",
646
+ "pause-after",
647
+ "pause-before",
648
+ "perspective",
649
+ "perspective-origin",
650
+ "place-content",
651
+ "place-items",
652
+ "place-self",
653
+ "pointer-events",
654
+ "position",
655
+ "position-anchor",
656
+ "position-visibility",
657
+ "print-color-adjust",
658
+ "quotes",
659
+ "r",
660
+ "resize",
661
+ "rest",
662
+ "rest-after",
663
+ "rest-before",
664
+ "right",
665
+ "rotate",
666
+ "row-gap",
667
+ "ruby-align",
668
+ "ruby-position",
669
+ "scale",
670
+ "scroll-behavior",
671
+ "scroll-margin",
672
+ "scroll-margin-block",
673
+ "scroll-margin-block-end",
674
+ "scroll-margin-block-start",
675
+ "scroll-margin-bottom",
676
+ "scroll-margin-inline",
677
+ "scroll-margin-inline-end",
678
+ "scroll-margin-inline-start",
679
+ "scroll-margin-left",
680
+ "scroll-margin-right",
681
+ "scroll-margin-top",
682
+ "scroll-padding",
683
+ "scroll-padding-block",
684
+ "scroll-padding-block-end",
685
+ "scroll-padding-block-start",
686
+ "scroll-padding-bottom",
687
+ "scroll-padding-inline",
688
+ "scroll-padding-inline-end",
689
+ "scroll-padding-inline-start",
690
+ "scroll-padding-left",
691
+ "scroll-padding-right",
692
+ "scroll-padding-top",
693
+ "scroll-snap-align",
694
+ "scroll-snap-stop",
695
+ "scroll-snap-type",
696
+ "scroll-timeline",
697
+ "scroll-timeline-axis",
698
+ "scroll-timeline-name",
699
+ "scrollbar-color",
700
+ "scrollbar-gutter",
701
+ "scrollbar-width",
702
+ "shape-image-threshold",
703
+ "shape-margin",
704
+ "shape-outside",
705
+ "shape-rendering",
706
+ "speak",
707
+ "speak-as",
708
+ "src",
709
+ // @font-face
710
+ "stop-color",
711
+ "stop-opacity",
712
+ "stroke",
713
+ "stroke-dasharray",
714
+ "stroke-dashoffset",
715
+ "stroke-linecap",
716
+ "stroke-linejoin",
717
+ "stroke-miterlimit",
718
+ "stroke-opacity",
719
+ "stroke-width",
720
+ "tab-size",
721
+ "table-layout",
722
+ "text-align",
723
+ "text-align-all",
724
+ "text-align-last",
725
+ "text-anchor",
726
+ "text-combine-upright",
727
+ "text-decoration",
728
+ "text-decoration-color",
729
+ "text-decoration-line",
730
+ "text-decoration-skip",
731
+ "text-decoration-skip-ink",
732
+ "text-decoration-style",
733
+ "text-decoration-thickness",
734
+ "text-emphasis",
735
+ "text-emphasis-color",
736
+ "text-emphasis-position",
737
+ "text-emphasis-style",
738
+ "text-indent",
739
+ "text-justify",
740
+ "text-orientation",
741
+ "text-overflow",
742
+ "text-rendering",
743
+ "text-shadow",
744
+ "text-size-adjust",
745
+ "text-transform",
746
+ "text-underline-offset",
747
+ "text-underline-position",
748
+ "text-wrap",
749
+ "text-wrap-mode",
750
+ "text-wrap-style",
751
+ "timeline-scope",
752
+ "top",
753
+ "touch-action",
754
+ "transform",
755
+ "transform-box",
756
+ "transform-origin",
757
+ "transform-style",
758
+ "transition",
759
+ "transition-behavior",
760
+ "transition-delay",
761
+ "transition-duration",
762
+ "transition-property",
763
+ "transition-timing-function",
764
+ "translate",
765
+ "unicode-bidi",
766
+ "user-modify",
767
+ "user-select",
768
+ "vector-effect",
769
+ "vertical-align",
770
+ "view-timeline",
771
+ "view-timeline-axis",
772
+ "view-timeline-inset",
773
+ "view-timeline-name",
774
+ "view-transition-name",
775
+ "visibility",
776
+ "voice-balance",
777
+ "voice-duration",
778
+ "voice-family",
779
+ "voice-pitch",
780
+ "voice-range",
781
+ "voice-rate",
782
+ "voice-stress",
783
+ "voice-volume",
784
+ "white-space",
785
+ "white-space-collapse",
786
+ "widows",
787
+ "width",
788
+ "will-change",
789
+ "word-break",
790
+ "word-spacing",
791
+ "word-wrap",
792
+ "writing-mode",
793
+ "x",
794
+ "y",
795
+ "z-index",
796
+ "zoom"
797
+ ].sort().reverse();
798
+ function h(t) {
799
+ const o = t.regex, e = s(t), r = { begin: /-(webkit|moz|ms|o)-(?=[a-z])/ }, n = "and or not only", a = /@-?\w[\w]*(-\w+)*/, l = "[a-zA-Z-][a-zA-Z0-9_-]*", i = [
800
+ t.APOS_STRING_MODE,
801
+ t.QUOTE_STRING_MODE
802
+ ];
803
+ return {
804
+ name: "CSS",
805
+ case_insensitive: !0,
806
+ illegal: /[=|'\$]/,
807
+ keywords: { keyframePosition: "from to" },
808
+ classNameAliases: {
809
+ // for visual continuity with `tag {}` and because we
810
+ // don't have a great class for this?
811
+ keyframePosition: "selector-tag"
812
+ },
813
+ contains: [
814
+ e.BLOCK_COMMENT,
815
+ r,
816
+ // to recognize keyframe 40% etc which are outside the scope of our
817
+ // attribute value mode
818
+ e.CSS_NUMBER_MODE,
819
+ {
820
+ className: "selector-id",
821
+ begin: /#[A-Za-z0-9_-]+/,
822
+ relevance: 0
823
+ },
824
+ {
825
+ className: "selector-class",
826
+ begin: "\\." + l,
827
+ relevance: 0
828
+ },
829
+ e.ATTRIBUTE_SELECTOR_MODE,
830
+ {
831
+ className: "selector-pseudo",
832
+ variants: [
833
+ { begin: ":(" + g.join("|") + ")" },
834
+ { begin: ":(:)?(" + p.join("|") + ")" }
835
+ ]
836
+ },
837
+ // we may actually need this (12/2020)
838
+ // { // pseudo-selector params
839
+ // begin: /\(/,
840
+ // end: /\)/,
841
+ // contains: [ hljs.CSS_NUMBER_MODE ]
842
+ // },
843
+ e.CSS_VARIABLE,
844
+ {
845
+ className: "attribute",
846
+ begin: "\\b(" + f.join("|") + ")\\b"
847
+ },
848
+ // attribute values
849
+ {
850
+ begin: /:/,
851
+ end: /[;}{]/,
852
+ contains: [
853
+ e.BLOCK_COMMENT,
854
+ e.HEXCOLOR,
855
+ e.IMPORTANT,
856
+ e.CSS_NUMBER_MODE,
857
+ ...i,
858
+ // needed to highlight these as strings and to avoid issues with
859
+ // illegal characters that might be inside urls that would tigger the
860
+ // languages illegal stack
861
+ {
862
+ begin: /(url|data-uri)\(/,
863
+ end: /\)/,
864
+ relevance: 0,
865
+ // from keywords
866
+ keywords: { built_in: "url data-uri" },
867
+ contains: [
868
+ ...i,
869
+ {
870
+ className: "string",
871
+ // any character other than `)` as in `url()` will be the start
872
+ // of a string, which ends with `)` (from the parent mode)
873
+ begin: /[^)]/,
874
+ endsWithParent: !0,
875
+ excludeEnd: !0
876
+ }
877
+ ]
878
+ },
879
+ e.FUNCTION_DISPATCH
880
+ ]
881
+ },
882
+ {
883
+ begin: o.lookahead(/@/),
884
+ end: "[{;]",
885
+ relevance: 0,
886
+ illegal: /:/,
887
+ // break on Less variables @var: ...
888
+ contains: [
889
+ {
890
+ className: "keyword",
891
+ begin: a
892
+ },
893
+ {
894
+ begin: /\s/,
895
+ endsWithParent: !0,
896
+ excludeEnd: !0,
897
+ relevance: 0,
898
+ keywords: {
899
+ $pattern: /[a-z-]+/,
900
+ keyword: n,
901
+ attribute: b.join(" ")
902
+ },
903
+ contains: [
904
+ {
905
+ begin: /[a-z-]+(?=:)/,
906
+ className: "attribute"
907
+ },
908
+ ...i,
909
+ e.CSS_NUMBER_MODE
910
+ ]
911
+ }
912
+ ]
913
+ },
914
+ {
915
+ className: "selector-tag",
916
+ begin: "\\b(" + m.join("|") + ")\\b"
917
+ }
918
+ ]
919
+ };
920
+ }
921
+ export {
922
+ h as default
923
+ };