richtor 1.0.7 → 1.0.10

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 (313) hide show
  1. package/dist/editor.es.js +22627 -68317
  2. package/dist/editor.umd.js +56 -279
  3. package/dist/lib/highlight.d.ts +1 -2
  4. package/package.json +27 -10
  5. package/dist/abap-Y8Dl9g_6.js +0 -6
  6. package/dist/actionscript-3-DZzbMeqX.js +0 -6
  7. package/dist/ada-vP6ak0IW.js +0 -6
  8. package/dist/andromeeda-BIpZ7gaU.js +0 -4
  9. package/dist/angular-html-DPB4Rf0C.js +0 -32
  10. package/dist/angular-ts-CTOR2ofC.js +0 -21
  11. package/dist/apache-BUjz-sD2.js +0 -6
  12. package/dist/apex-oLhhs58q.js +0 -6
  13. package/dist/apl-CjNiDgad.js +0 -16
  14. package/dist/applescript-BPx7YFFu.js +0 -6
  15. package/dist/ara-Z2fSOxSw.js +0 -6
  16. package/dist/asciidoc-B-pCoB3G.js +0 -6
  17. package/dist/asm-BTWLY5ym.js +0 -6
  18. package/dist/astro-CFFExE8Q.js +0 -18
  19. package/dist/aurora-x-BwoVEUWZ.js +0 -4
  20. package/dist/awk-Fb0P9dkn.js +0 -6
  21. package/dist/ayu-dark-CxPZkpb2.js +0 -4
  22. package/dist/ballerina-oZK-YekG.js +0 -6
  23. package/dist/bash-CPB87Egg.js +0 -377
  24. package/dist/bat-0FvbqU9S.js +0 -6
  25. package/dist/beancount-DqJEb89h.js +0 -6
  26. package/dist/berry-DODBq_Ff.js +0 -6
  27. package/dist/bibtex-EULQRLY5.js +0 -6
  28. package/dist/bicep-BorU73w0.js +0 -6
  29. package/dist/blade-CRa6j5zS.js +0 -20
  30. package/dist/bsl-NkNNwerW.js +0 -8
  31. package/dist/c-Bz1-FJiA.js +0 -277
  32. package/dist/c-eeMepfLm.js +0 -6
  33. package/dist/cadence-02UX7mW8.js +0 -6
  34. package/dist/cairo-DM6WF2e3.js +0 -8
  35. package/dist/catppuccin-frappe-D3cH2rXe.js +0 -4
  36. package/dist/catppuccin-latte-C0LRGUW4.js +0 -4
  37. package/dist/catppuccin-macchiato-c5wQ11TT.js +0 -4
  38. package/dist/catppuccin-mocha-WMD6Qvya.js +0 -4
  39. package/dist/clarity-PKm5CwqM.js +0 -6
  40. package/dist/clojure-CXJfHrL3.js +0 -6
  41. package/dist/cmake-BJz8BOTU.js +0 -6
  42. package/dist/cobol-HihOMwht.js +0 -10
  43. package/dist/codeowners-Bt9yU6NX.js +0 -6
  44. package/dist/codeql-DHkodjjI.js +0 -6
  45. package/dist/coffee-DGBR_nr_.js +0 -8
  46. package/dist/common-lisp-EVqT9Zhp.js +0 -6
  47. package/dist/coq-B0L9upzn.js +0 -6
  48. package/dist/cpp-Cj177cuW.js +0 -18
  49. package/dist/crystal-CRJyc4G-.js +0 -18
  50. package/dist/csharp-AnFv7wyC.js +0 -382
  51. package/dist/csharp-C7yUs7-w.js +0 -6
  52. package/dist/css-BCTOmdxR.js +0 -923
  53. package/dist/css-CECN5uSL.js +0 -6
  54. package/dist/csv-CmYOceLb.js +0 -6
  55. package/dist/cue-ZzumE7IT.js +0 -6
  56. package/dist/cypher-jpdmjtA6.js +0 -6
  57. package/dist/d-CBagWSwH.js +0 -6
  58. package/dist/dark-plus-pUHDTVV0.js +0 -4
  59. package/dist/dart-6ObCrKr9.js +0 -6
  60. package/dist/dax-CcDT-8dH.js +0 -6
  61. package/dist/desktop-B93p9R9O.js +0 -6
  62. package/dist/diff-BxzP2J8R.js +0 -6
  63. package/dist/docker-CsHqm9tx.js +0 -6
  64. package/dist/dotenv-BMjVjUL1.js +0 -6
  65. package/dist/dracula-BtZx2Kac.js +0 -4
  66. package/dist/dracula-soft-BKa-aqBv.js +0 -4
  67. package/dist/dream-maker-PAx17jaB.js +0 -6
  68. package/dist/edge-BYQkOzbF.js +0 -12
  69. package/dist/elixir-Dh036GMp.js +0 -8
  70. package/dist/elm-BtNbw_Cd.js +0 -8
  71. package/dist/emacs-lisp-Cfxdx5D-.js +0 -6
  72. package/dist/erb-CS4zioBv.js +0 -10
  73. package/dist/erlang-DNcDT8Hi.js +0 -8
  74. package/dist/everforest-dark-DMCBqXCK.js +0 -4
  75. package/dist/everforest-light-BbXl82Em.js +0 -4
  76. package/dist/fennel-N4WcXuKx.js +0 -6
  77. package/dist/fish-BTDEUgqH.js +0 -6
  78. package/dist/fluent-BMXUxfv1.js +0 -6
  79. package/dist/fortran-fixed-form-DUsA-VGo.js +0 -8
  80. package/dist/fortran-free-form-DPIT_jbP.js +0 -6
  81. package/dist/fsharp-CYOiIVNx.js +0 -8
  82. package/dist/gdresource-BwtMIoBm.js +0 -10
  83. package/dist/gdscript-BifyeYhI.js +0 -6
  84. package/dist/gdshader-Bk8fF6yr.js +0 -6
  85. package/dist/genie-DzUvd7U9.js +0 -6
  86. package/dist/gherkin-DHRaV0YP.js +0 -6
  87. package/dist/git-commit-Bd32YZ0K.js +0 -8
  88. package/dist/git-rebase-ZWUFO_T4.js +0 -8
  89. package/dist/github-dark-DenFmJkN.js +0 -4
  90. package/dist/github-dark-default-BJPUVz4H.js +0 -4
  91. package/dist/github-dark-dimmed-DUshB20C.js +0 -4
  92. package/dist/github-dark-high-contrast-D3aGCnF8.js +0 -4
  93. package/dist/github-light-JYsPkUQd.js +0 -4
  94. package/dist/github-light-default-D99KPAby.js +0 -4
  95. package/dist/github-light-high-contrast-BbmZE-Mp.js +0 -4
  96. package/dist/gleam-Bv284lvN.js +0 -6
  97. package/dist/glimmer-js-DkxNrfPT.js +0 -14
  98. package/dist/glimmer-ts-D6YZEmK_.js +0 -14
  99. package/dist/glsl-CkUcVZNK.js +0 -8
  100. package/dist/gnuplot-yPG9-sE_.js +0 -6
  101. package/dist/go-ChxJuLYK.js +0 -6
  102. package/dist/go-CkZ9_bn0.js +0 -151
  103. package/dist/graphql-CBu2ehBn.js +0 -14
  104. package/dist/graphql-CHx1gYw6.js +0 -70
  105. package/dist/groovy-CJQTphOW.js +0 -6
  106. package/dist/gruvbox-dark-hard-C5HOtKIh.js +0 -4
  107. package/dist/gruvbox-dark-medium-FVgwJHuz.js +0 -4
  108. package/dist/gruvbox-dark-soft-B46F314v.js +0 -4
  109. package/dist/gruvbox-light-hard-CJD38wDZ.js +0 -4
  110. package/dist/gruvbox-light-medium-BlIhMYTA.js +0 -4
  111. package/dist/gruvbox-light-soft-DoPHyLVZ.js +0 -4
  112. package/dist/hack-ItRNKiEb.js +0 -10
  113. package/dist/haml-NZLVzu_R.js +0 -10
  114. package/dist/handlebars-mxStpSE7.js +0 -14
  115. package/dist/haskell-WeIwNIP6.js +0 -6
  116. package/dist/haxe-TztHsm5T.js +0 -6
  117. package/dist/hcl-D438OF-I.js +0 -6
  118. package/dist/hjson-DYBUbqOl.js +0 -6
  119. package/dist/hlsl-Bk8TCZNL.js +0 -6
  120. package/dist/houston-BDYrDoDW.js +0 -4
  121. package/dist/html-B50bmoVb.js +0 -10
  122. package/dist/html-derivative-C6bxFbFW.js +0 -8
  123. package/dist/http-DLvAkeD-.js +0 -14
  124. package/dist/hurl-CgkFN90t.js +0 -12
  125. package/dist/hxml-GbqSQCLa.js +0 -8
  126. package/dist/hy-Brt5EZ7-.js +0 -6
  127. package/dist/imba-CimUv-Uh.js +0 -6
  128. package/dist/ini-BZIuRIvJ.js +0 -6
  129. package/dist/java-BicX26Pg.js +0 -240
  130. package/dist/java-DY6VlHhP.js +0 -6
  131. package/dist/javascript-C25yR2R2.js +0 -6
  132. package/dist/javascript-DII1YQGr.js +0 -658
  133. package/dist/jinja-CFW5uAwY.js +0 -11
  134. package/dist/jison-DdreslRX.js +0 -8
  135. package/dist/json-C_6Prymp.js +0 -38
  136. package/dist/json-DxJze_jm.js +0 -6
  137. package/dist/json5-BT4Fjg39.js +0 -6
  138. package/dist/jsonc-CHjZD8gR.js +0 -6
  139. package/dist/jsonl-BGuvDmy9.js +0 -6
  140. package/dist/jsonnet-Bx2cfsXg.js +0 -6
  141. package/dist/jssm-BcADi6EI.js +0 -6
  142. package/dist/jsx-BtKADgXT.js +0 -6
  143. package/dist/julia--2-efCjg.js +0 -16
  144. package/dist/kanagawa-dragon-CiKur4Hl.js +0 -4
  145. package/dist/kanagawa-lotus-BKu-smKu.js +0 -4
  146. package/dist/kanagawa-wave-CQwozSzG.js +0 -4
  147. package/dist/kdl-BNOv9TC3.js +0 -6
  148. package/dist/kotlin-BwB8b-YX.js +0 -242
  149. package/dist/kotlin-ByBMgTeR.js +0 -6
  150. package/dist/kusto-VWFLl2T0.js +0 -6
  151. package/dist/laserwave-6a00oqik.js +0 -4
  152. package/dist/latex-Cs75fyNk.js +0 -8
  153. package/dist/lean-D5yRrexI.js +0 -6
  154. package/dist/less-B1GLI2Di.js +0 -6
  155. package/dist/less-DeNOeXmL.js +0 -992
  156. package/dist/light-plus-CZuVqSLX.js +0 -4
  157. package/dist/liquid-CHzkx3jT.js +0 -14
  158. package/dist/llvm-co1rIKs3.js +0 -6
  159. package/dist/log-Al8wyEFV.js +0 -6
  160. package/dist/logo-DBa4JDzV.js +0 -6
  161. package/dist/lua-kX5WP_P5.js +0 -8
  162. package/dist/luau-DtBSxLyz.js +0 -6
  163. package/dist/make-CsMclxtr.js +0 -6
  164. package/dist/makefile-D-gl0qMV.js +0 -67
  165. package/dist/markdown-CrScaQ96.js +0 -6
  166. package/dist/markdown-ga2-2-T7.js +0 -216
  167. package/dist/marko-ls0Jg2j8.js +0 -14
  168. package/dist/material-theme-D6KBX41T.js +0 -4
  169. package/dist/material-theme-darker-CkRroheE.js +0 -4
  170. package/dist/material-theme-lighter-BUBw43Yz.js +0 -4
  171. package/dist/material-theme-ocean-ClGX14Ja.js +0 -4
  172. package/dist/material-theme-palenight-C1RVm8K1.js +0 -4
  173. package/dist/matlab-BOAaUVP0.js +0 -6
  174. package/dist/mdc-uaivvctV.js +0 -12
  175. package/dist/mdx-BOhZZUJ8.js +0 -6
  176. package/dist/mermaid-B0ixDHKN.js +0 -6
  177. package/dist/min-dark-C7ak0t6c.js +0 -4
  178. package/dist/min-light-CKFxVcPp.js +0 -4
  179. package/dist/mipsasm-CTx18fBl.js +0 -6
  180. package/dist/mojo-BD611d7o.js +0 -6
  181. package/dist/monokai-C1KBYcO0.js +0 -4
  182. package/dist/move-F-dICmj2.js +0 -6
  183. package/dist/narrat-DmhDCBs-.js +0 -6
  184. package/dist/nextflow-DmSVRGjG.js +0 -6
  185. package/dist/nginx-5vhPAEw3.js +0 -8
  186. package/dist/night-owl-Bm2rzalh.js +0 -4
  187. package/dist/nim-QAjRdh9w.js +0 -20
  188. package/dist/nix-BZK5F767.js +0 -9
  189. package/dist/nord-CC5OiUXg.js +0 -4
  190. package/dist/nushell-D8j3dhT-.js +0 -6
  191. package/dist/objective-c-Itk8tzmv.js +0 -6
  192. package/dist/objective-cpp-DGt5UKRO.js +0 -6
  193. package/dist/objectivec-CnyrJ13Z.js +0 -237
  194. package/dist/ocaml-eSVK32Eg.js +0 -6
  195. package/dist/one-dark-pro-DTA3VF0_.js +0 -4
  196. package/dist/one-light-D9sNaUtq.js +0 -4
  197. package/dist/openscad-Sp5uZ6f2.js +0 -6
  198. package/dist/pascal-xy8pJNns.js +0 -6
  199. package/dist/perl-DkVrgJBg.js +0 -16
  200. package/dist/php-BL35ZHWM.js +0 -566
  201. package/dist/php-j2zCzTEz.js +0 -18
  202. package/dist/pkl-C-zSNmaA.js +0 -6
  203. package/dist/plastic-CSTz3KZp.js +0 -4
  204. package/dist/plsql-pVbGZfOv.js +0 -6
  205. package/dist/po-BNfHvqmm.js +0 -6
  206. package/dist/poimandres-C-VADXHD.js +0 -4
  207. package/dist/polar-CAZahv3u.js +0 -6
  208. package/dist/postcss-05aHdL-n.js +0 -6
  209. package/dist/powerquery-DI9HkTvs.js +0 -6
  210. package/dist/powershell-Clc4ydu-.js +0 -6
  211. package/dist/prisma-FZjmVtSl.js +0 -6
  212. package/dist/prolog-C5-yg4TO.js +0 -6
  213. package/dist/proto-MmCPeFAD.js +0 -6
  214. package/dist/pug-XOw9Q1Ho.js +0 -12
  215. package/dist/puppet-CUJHmnxV.js +0 -6
  216. package/dist/purescript-rUfGld-4.js +0 -6
  217. package/dist/python-BFNSHbwJ.js +0 -6
  218. package/dist/python-CymlFLB0.js +0 -399
  219. package/dist/qml-rTNXsquU.js +0 -8
  220. package/dist/qmldir-BInDYbpo.js +0 -6
  221. package/dist/qss-AeJTysr_.js +0 -6
  222. package/dist/r-Bm0uF0U2.js +0 -6
  223. package/dist/racket-B83wSAja.js +0 -6
  224. package/dist/raku-nEQ4ZJJ7.js +0 -6
  225. package/dist/razor-B1z-bksM.js +0 -10
  226. package/dist/red-7y8PH7HH.js +0 -4
  227. package/dist/reg-m_s_Kiip.js +0 -6
  228. package/dist/regexp-BazyLpPg.js +0 -6
  229. package/dist/rel-BcRfyd6Q.js +0 -6
  230. package/dist/riscv-Ce8MAQLP.js +0 -6
  231. package/dist/rose-pine-BKc3yVeu.js +0 -4
  232. package/dist/rose-pine-dawn-BulJcPZT.js +0 -4
  233. package/dist/rose-pine-moon-j6jiXKV8.js +0 -4
  234. package/dist/rosmsg-Cz0w1km8.js +0 -6
  235. package/dist/rst-CcbeA9zE.js +0 -22
  236. package/dist/ruby-DMPw6uKF.js +0 -30
  237. package/dist/rust-CLzF9zIN.js +0 -6
  238. package/dist/sas-fpEvgATw.js +0 -8
  239. package/dist/sass-DxHp5rTx.js +0 -6
  240. package/dist/scala-D4grkFkl.js +0 -6
  241. package/dist/scheme-BCRWuEm4.js +0 -6
  242. package/dist/scss-B1FaCqwR.js +0 -8
  243. package/dist/scss-CknrYxoA.js +0 -908
  244. package/dist/sdbl-B7T8abf4.js +0 -6
  245. package/dist/shaderlab-Cr62-Wb4.js +0 -8
  246. package/dist/shell-DYrX6oL5.js +0 -25
  247. package/dist/shellscript-InADTalH.js +0 -6
  248. package/dist/shellsession-DiDJNQdy.js +0 -8
  249. package/dist/slack-dark-i7wN4OET.js +0 -4
  250. package/dist/slack-ochin-ndHf0LoP.js +0 -4
  251. package/dist/smalltalk-BlI1_OkM.js +0 -6
  252. package/dist/snazzy-light-BlSJXAu4.js +0 -4
  253. package/dist/solarized-dark-UTmkh7lw.js +0 -4
  254. package/dist/solarized-light-BheCkDPT.js +0 -4
  255. package/dist/solidity-DUWnFhS6.js +0 -6
  256. package/dist/soy-C1-6njHa.js +0 -8
  257. package/dist/sparql-B0KWFEri.js +0 -8
  258. package/dist/splunk-CRXR8A9s.js +0 -6
  259. package/dist/sql-Cn_v3PB0.js +0 -6
  260. package/dist/sql-IeKX8fQ8.js +0 -615
  261. package/dist/ssh-config-DP-hNVbF.js +0 -6
  262. package/dist/stata-B8c5fTjX.js +0 -8
  263. package/dist/stylus-CyKEU1Ej.js +0 -6
  264. package/dist/svelte-5UasyOg7.js +0 -14
  265. package/dist/swift-9UzSvamq.js +0 -6
  266. package/dist/synthwave-84-NU3C_KFZ.js +0 -4
  267. package/dist/system-verilog-BCm7smPJ.js +0 -6
  268. package/dist/systemd-C-4qm6XH.js +0 -6
  269. package/dist/talonscript-CFF3LF_O.js +0 -6
  270. package/dist/tasl-Cg_WBUAe.js +0 -6
  271. package/dist/tcl-DN7buRTF.js +0 -6
  272. package/dist/templ-peLZIM2D.js +0 -12
  273. package/dist/terraform-DGvcn9zM.js +0 -6
  274. package/dist/tex-DpOayVob.js +0 -8
  275. package/dist/tokyo-night-DP4TmcQl.js +0 -4
  276. package/dist/toml-DY62mUL_.js +0 -6
  277. package/dist/ts-tags-ioVe2PKw.js +0 -41
  278. package/dist/tsv-BtvSkaG0.js +0 -6
  279. package/dist/tsx-B8rCNbgL.js +0 -6
  280. package/dist/turtle-_H59FV7D.js +0 -6
  281. package/dist/twig-CcRLVyUg.js +0 -18
  282. package/dist/typescript-RycA9KXf.js +0 -6
  283. package/dist/typescript-SNUkGeOU.js +0 -753
  284. package/dist/typespec-DWqp-kUU.js +0 -6
  285. package/dist/typst-D_1QKWns.js +0 -6
  286. package/dist/v-BPCNiyYe.js +0 -6
  287. package/dist/vala-uxaPR7d1.js +0 -6
  288. package/dist/vb-D8_c5-KN.js +0 -6
  289. package/dist/vbnet-D7PCGZRn.js +0 -122
  290. package/dist/verilog-B-bybjPF.js +0 -6
  291. package/dist/vesper-BckBta1U.js +0 -4
  292. package/dist/vhdl-CUlNa8ac.js +0 -6
  293. package/dist/viml-DsfA-sWm.js +0 -6
  294. package/dist/vitesse-black-BoGvW84i.js +0 -4
  295. package/dist/vitesse-dark-Cym-eLtO.js +0 -4
  296. package/dist/vitesse-light-CcmG315c.js +0 -4
  297. package/dist/vue-DOVAQqiz.js +0 -31
  298. package/dist/vue-html-C7WI2elu.js +0 -10
  299. package/dist/vue-vine-D386fra9.js +0 -20
  300. package/dist/vyper-CPQuu50u.js +0 -6
  301. package/dist/wasm-BBXxrAl7.js +0 -6
  302. package/dist/wasm-DQxwEHae.js +0 -7
  303. package/dist/wenyan-pbVjoM9_.js +0 -6
  304. package/dist/wgsl-DY4iK1q1.js +0 -6
  305. package/dist/wikitext-Z-MoUasO.js +0 -6
  306. package/dist/wit-CQMQOlTg.js +0 -6
  307. package/dist/wolfram-Dz4KXISs.js +0 -6
  308. package/dist/xml-B7THKYqr.js +0 -219
  309. package/dist/xml-C2J0sS9M.js +0 -8
  310. package/dist/xsl-BmSZphgC.js +0 -8
  311. package/dist/yaml-DaO7k5B1.js +0 -6
  312. package/dist/zenscript-CxBjpf9c.js +0 -6
  313. package/dist/zig-Vm0PO9wB.js +0 -6
@@ -1,908 +0,0 @@
1
- const l = (e) => ({
2
- IMPORTANT: {
3
- scope: "meta",
4
- begin: "!important"
5
- },
6
- BLOCK_COMMENT: e.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
- e.APOS_STRING_MODE,
22
- e.QUOTE_STRING_MODE
23
- ]
24
- },
25
- CSS_NUMBER_MODE: {
26
- scope: "number",
27
- begin: e.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
- }), s = [
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
- ], c = [
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
- ], d = [
155
- ...s,
156
- ...c
157
- ], p = [
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(), b = [
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(), m = [
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(), g = [
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(e) {
799
- const t = l(e), r = m, n = b, o = "@[a-z-]+", a = "and or not only", i = {
800
- className: "variable",
801
- begin: "(\\$" + "[a-zA-Z-][a-zA-Z0-9_-]*" + ")\\b",
802
- relevance: 0
803
- };
804
- return {
805
- name: "SCSS",
806
- case_insensitive: !0,
807
- illegal: "[=/|']",
808
- contains: [
809
- e.C_LINE_COMMENT_MODE,
810
- e.C_BLOCK_COMMENT_MODE,
811
- // to recognize keyframe 40% etc which are outside the scope of our
812
- // attribute value mode
813
- t.CSS_NUMBER_MODE,
814
- {
815
- className: "selector-id",
816
- begin: "#[A-Za-z0-9_-]+",
817
- relevance: 0
818
- },
819
- {
820
- className: "selector-class",
821
- begin: "\\.[A-Za-z0-9_-]+",
822
- relevance: 0
823
- },
824
- t.ATTRIBUTE_SELECTOR_MODE,
825
- {
826
- className: "selector-tag",
827
- begin: "\\b(" + d.join("|") + ")\\b",
828
- // was there, before, but why?
829
- relevance: 0
830
- },
831
- {
832
- className: "selector-pseudo",
833
- begin: ":(" + n.join("|") + ")"
834
- },
835
- {
836
- className: "selector-pseudo",
837
- begin: ":(:)?(" + r.join("|") + ")"
838
- },
839
- i,
840
- {
841
- // pseudo-selector params
842
- begin: /\(/,
843
- end: /\)/,
844
- contains: [t.CSS_NUMBER_MODE]
845
- },
846
- t.CSS_VARIABLE,
847
- {
848
- className: "attribute",
849
- begin: "\\b(" + g.join("|") + ")\\b"
850
- },
851
- { begin: "\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b" },
852
- {
853
- begin: /:/,
854
- end: /[;}{]/,
855
- relevance: 0,
856
- contains: [
857
- t.BLOCK_COMMENT,
858
- i,
859
- t.HEXCOLOR,
860
- t.CSS_NUMBER_MODE,
861
- e.QUOTE_STRING_MODE,
862
- e.APOS_STRING_MODE,
863
- t.IMPORTANT,
864
- t.FUNCTION_DISPATCH
865
- ]
866
- },
867
- // matching these here allows us to treat them more like regular CSS
868
- // rules so everything between the {} gets regular rule highlighting,
869
- // which is what we want for page and font-face
870
- {
871
- begin: "@(page|font-face)",
872
- keywords: {
873
- $pattern: o,
874
- keyword: "@page @font-face"
875
- }
876
- },
877
- {
878
- begin: "@",
879
- end: "[{;]",
880
- returnBegin: !0,
881
- keywords: {
882
- $pattern: /[a-z-]+/,
883
- keyword: a,
884
- attribute: p.join(" ")
885
- },
886
- contains: [
887
- {
888
- begin: o,
889
- className: "keyword"
890
- },
891
- {
892
- begin: /[a-z-]+(?=:)/,
893
- className: "attribute"
894
- },
895
- i,
896
- e.QUOTE_STRING_MODE,
897
- e.APOS_STRING_MODE,
898
- t.HEXCOLOR,
899
- t.CSS_NUMBER_MODE
900
- ]
901
- },
902
- t.FUNCTION_DISPATCH
903
- ]
904
- };
905
- }
906
- export {
907
- h as default
908
- };