@webskill/chatbot 0.0.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 (492) hide show
  1. package/README.md +141 -0
  2. package/dist/1c-Ol9PZ6qo.js +106 -0
  3. package/dist/abap-BPSJPIgj.js +49 -0
  4. package/dist/abnf-D0BFxVgo.js +90 -0
  5. package/dist/abnf-bBppUkG9.js +55 -0
  6. package/dist/accesslog-Dn9o7ulp.js +107 -0
  7. package/dist/actionscript-D8diOsqZ.js +99 -0
  8. package/dist/actionscript-DbKRhXQ0.js +27 -0
  9. package/dist/ada-2HceEzW4.js +27 -0
  10. package/dist/ada-D12AxSm3.js +116 -0
  11. package/dist/agda-CFKulfm-.js +35 -0
  12. package/dist/al-BephVruQ.js +30 -0
  13. package/dist/angelscript-BvL7ocfM.js +100 -0
  14. package/dist/antlr4-vb9rrA0O.js +72 -0
  15. package/dist/apache-D2u3ExHM.js +73 -0
  16. package/dist/apacheconf-A824OW4m.js +53 -0
  17. package/dist/apex-C0PtYFGW.js +75 -0
  18. package/dist/apl--y8UJpQX.js +44 -0
  19. package/dist/applescript-CUvZM-Da.js +25 -0
  20. package/dist/applescript-Du_gvVC2.js +134 -0
  21. package/dist/aql-Dgv0SELr.js +58 -0
  22. package/dist/arcade-D9a_xSSB.js +127 -0
  23. package/dist/arduino-CFEhwFVx.js +389 -0
  24. package/dist/arduino-ChCZAyCM.js +21 -0
  25. package/dist/arff-CqocPnyE.js +22 -0
  26. package/dist/armasm-Csvvzoh3.js +54 -0
  27. package/dist/armasm-D-aW_xRY.js +71 -0
  28. package/dist/arturo-BNv4BwTT.js +93 -0
  29. package/dist/asciidoc-BqBFVMZa.js +177 -0
  30. package/dist/asciidoc-DIgueV5Z.js +206 -0
  31. package/dist/asm6502-BBL1b2rm.js +41 -0
  32. package/dist/asmatmel-XbBRhc8b.js +53 -0
  33. package/dist/aspectj-CGsigJA7.js +146 -0
  34. package/dist/aspnet-BrsQPoMV.js +53 -0
  35. package/dist/autohotkey-BUiiDmJm.js +45 -0
  36. package/dist/autohotkey-BipzdrsK.js +60 -0
  37. package/dist/autoit-CYMA0m_y.js +139 -0
  38. package/dist/autoit-Cz-elVYJ.js +39 -0
  39. package/dist/avisynth-DMCKcoud.js +128 -0
  40. package/dist/avrasm-D_QpYGXU.js +52 -0
  41. package/dist/avro-idl-D648BLU1.js +51 -0
  42. package/dist/awk-BhCmk5Qr.js +64 -0
  43. package/dist/awk-Di_UhIvW.js +40 -0
  44. package/dist/axapta-Bx7DNXYD.js +165 -0
  45. package/dist/bash-BGvyf32s.js +194 -0
  46. package/dist/bash-Do0cfmaU.js +134 -0
  47. package/dist/basic-B1qL7Eg-.js +44 -0
  48. package/dist/basic-DLk7zVoz.js +30 -0
  49. package/dist/batch-CYi3sOZ3.js +95 -0
  50. package/dist/bbcode-BwzBuE9Y.js +31 -0
  51. package/dist/bbj-_oJSbcsY.js +31 -0
  52. package/dist/bicep-BoQNA9HB.js +70 -0
  53. package/dist/birb-tHMwg2K3.js +30 -0
  54. package/dist/bison-BiBFaYLw.js +45 -0
  55. package/dist/bnf-B9mtolDW.js +33 -0
  56. package/dist/bnf-CFEhb3Bz.js +26 -0
  57. package/dist/bqn-Cn-NR812.js +75 -0
  58. package/dist/brainfuck-D6Uj7Wgf.js +32 -0
  59. package/dist/brainfuck-WD-GT3He.js +42 -0
  60. package/dist/brightscript-DXndsJy0.js +55 -0
  61. package/dist/bro-wNwhmzkS.js +37 -0
  62. package/dist/bsl-0zUHuFhp.js +48 -0
  63. package/dist/c-BA8PP4xp.js +224 -0
  64. package/dist/c-CS0S7Hsb.js +74 -0
  65. package/dist/c-like-Bv10vGl1.js +389 -0
  66. package/dist/cal-Cbw-rvwY.js +76 -0
  67. package/dist/capnproto-DDLpBuTk.js +55 -0
  68. package/dist/ceylon-2xgEKZCy.js +64 -0
  69. package/dist/cfscript-BZkFq5td.js +45 -0
  70. package/dist/chaiscript-CFkArqVM.js +62 -0
  71. package/dist/chatbot.css +2545 -0
  72. package/dist/cil-BFN0k4o1.js +30 -0
  73. package/dist/cilkc-CV-iYFmJ.js +20 -0
  74. package/dist/cilkcpp-ZRq5zIUM.js +21 -0
  75. package/dist/clean-C7lfkw75.js +29 -0
  76. package/dist/clike-BvmU1AL7.js +41 -0
  77. package/dist/clojure-BKM12ttT.js +42 -0
  78. package/dist/clojure-Ccn_Mkjj.js +111 -0
  79. package/dist/clojure-repl-C8V5hiMv.js +23 -0
  80. package/dist/cmake-B8E3FBzT.js +39 -0
  81. package/dist/cmake-Cdi3-CyW.js +28 -0
  82. package/dist/cobol-BpxG2424.js +57 -0
  83. package/dist/coffeescript-DYxKI72B.js +297 -0
  84. package/dist/coffeescript-DoyGyxrE.js +81 -0
  85. package/dist/concurnas-C4USQ-7G.js +71 -0
  86. package/dist/cooklang-HIWZvfsC.js +130 -0
  87. package/dist/coq-B_5iojXP.js +31 -0
  88. package/dist/coq-DrnCBTBE.js +53 -0
  89. package/dist/cos-CEeGZtWS.js +83 -0
  90. package/dist/cpp-Bt_M0ejb.js +82 -0
  91. package/dist/cpp-C368mKg-.js +370 -0
  92. package/dist/crmsh-Bt-25pma.js +86 -0
  93. package/dist/crystal-BTPDFDkd.js +260 -0
  94. package/dist/crystal-Bvp6pk_w.js +64 -0
  95. package/dist/csharp-ha-Vb1Oy.js +367 -0
  96. package/dist/csharp-iSWtQEXl.js +301 -0
  97. package/dist/cshtml-DC91Qnfw.js +107 -0
  98. package/dist/csp-BFJkxLlp.js +63 -0
  99. package/dist/csp-dqz05oql.js +30 -0
  100. package/dist/css-Q6-w6BPM.js +69 -0
  101. package/dist/css-Xf8T8gBf.js +548 -0
  102. package/dist/css-extras-DKikefnB.js +106 -0
  103. package/dist/csv-C1RPSPSV.js +16 -0
  104. package/dist/cue-B1ngjCsf.js +73 -0
  105. package/dist/cypher-CNAqBGSd.js +41 -0
  106. package/dist/d--XifVhSg.js +55 -0
  107. package/dist/d-CfWXCczD.js +189 -0
  108. package/dist/dart-B5RqNhq7.js +160 -0
  109. package/dist/dart-yPrM71Z8.js +70 -0
  110. package/dist/dataweave-CnMVPL5R.js +49 -0
  111. package/dist/dax-qj2PhkVy.js +39 -0
  112. package/dist/delphi-CzPddypc.js +98 -0
  113. package/dist/dhall-D8w3EE_p.js +64 -0
  114. package/dist/diff-C0GclY3n.js +53 -0
  115. package/dist/diff-DOeJfE73.js +76 -0
  116. package/dist/django-BEI7xlp6.js +65 -0
  117. package/dist/django-CvTljHWX.js +49 -0
  118. package/dist/dns-Cp5DngSi.js +33 -0
  119. package/dist/dns-zone-file-CzjHLEtI.js +39 -0
  120. package/dist/docker-WzvyXnQv.js +97 -0
  121. package/dist/dockerfile-BhLJUrvI.js +32 -0
  122. package/dist/dos-nXUDd5Po.js +45 -0
  123. package/dist/dot-BVsWNPa1.js +80 -0
  124. package/dist/dsconfig-BjIvUdaB.js +61 -0
  125. package/dist/dts-lcJkHkmg.js +121 -0
  126. package/dist/dust-BkJl_C0B.js +39 -0
  127. package/dist/ebnf-5ijXtXwI.js +46 -0
  128. package/dist/ebnf-BBrI9K2I.js +32 -0
  129. package/dist/editorconfig-DVBnsBb6.js +35 -0
  130. package/dist/eiffel-2J7b2DcB.js +36 -0
  131. package/dist/ejs-CP4kAXYf.js +37 -0
  132. package/dist/elixir-CpC0hC7i.js +93 -0
  133. package/dist/elixir-DgMJkXsA.js +223 -0
  134. package/dist/elm-B74Bk5cn.js +38 -0
  135. package/dist/elm-DDVumTG7.js +87 -0
  136. package/dist/erb-BkIFRb4T.js +37 -0
  137. package/dist/erb-CTt4UcM1.js +23 -0
  138. package/dist/erlang-3FNJE57q.js +52 -0
  139. package/dist/erlang-C58xuYIJ.js +170 -0
  140. package/dist/erlang-repl-BpgJ1Xxr.js +66 -0
  141. package/dist/etlua-BG31uqQg.js +35 -0
  142. package/dist/excel-DdXdUjKf.js +54 -0
  143. package/dist/excel-formula-Byfdh1KC.js +64 -0
  144. package/dist/factor-pxAxDtUC.js +820 -0
  145. package/dist/false-Co0CrV7Q.js +42 -0
  146. package/dist/firestore-security-rules-scD08OTG.js +45 -0
  147. package/dist/fix-D_79Llrz.js +36 -0
  148. package/dist/flix--VbqUjYc.js +46 -0
  149. package/dist/flow-zZJ_3F-N.js +36 -0
  150. package/dist/fortran-D7HwEup2.js +84 -0
  151. package/dist/fortran-DYbVoxyC.js +42 -0
  152. package/dist/fsharp-DX49LloV.js +81 -0
  153. package/dist/fsharp-DbZMl8Dv.js +62 -0
  154. package/dist/ftl-pgH8LIHL.js +101 -0
  155. package/dist/gams-DFWqlk55.js +166 -0
  156. package/dist/gap-BDxcAyiz.js +55 -0
  157. package/dist/gauss-DSBaIKd4.js +173 -0
  158. package/dist/gcode-BPLED46Q.js +27 -0
  159. package/dist/gcode-Bq5Y8rtM.js +71 -0
  160. package/dist/gdscript-By8Svd7v.js +31 -0
  161. package/dist/gedcom-CquwXdPw.js +36 -0
  162. package/dist/gettext-B1OyNTe2.js +54 -0
  163. package/dist/gherkin-BWl1aynt.js +91 -0
  164. package/dist/gherkin-DEGWoM5n.js +47 -0
  165. package/dist/git-Bjdl4gPc.js +24 -0
  166. package/dist/glsl-Caft6w8K.js +31 -0
  167. package/dist/glsl-X0AWORVL.js +16 -0
  168. package/dist/gml-D6CHuP4X.js +28 -0
  169. package/dist/gml-WTbq0w1K.js +22 -0
  170. package/dist/gn-Bmk-DXJ0.js +55 -0
  171. package/dist/go-On4UPj8j.js +58 -0
  172. package/dist/go-l0rBbtyj.js +36 -0
  173. package/dist/go-module-CXBkxC1u.js +34 -0
  174. package/dist/golo-jBTrl-pb.js +27 -0
  175. package/dist/gradle-BD0xP8L2.js +66 -0
  176. package/dist/gradle-BvJEPLCP.js +24 -0
  177. package/dist/graphql-C9JoiNGl.js +178 -0
  178. package/dist/groovy-BDKJCVqJ.js +134 -0
  179. package/dist/groovy-C9IvQhOU.js +66 -0
  180. package/dist/haml-Bl-0saj7.js +102 -0
  181. package/dist/haml-DTsOZCFy.js +142 -0
  182. package/dist/handlebars-CgUpx0AJ.js +237 -0
  183. package/dist/handlebars-DxHgnodb.js +49 -0
  184. package/dist/haskell-BFcEKjsB.js +129 -0
  185. package/dist/haskell-DDqg24-B.js +58 -0
  186. package/dist/haxe-8i2RVBfX.js +139 -0
  187. package/dist/haxe-BE8mJYBU.js +80 -0
  188. package/dist/hcl-DtLVjWTj.js +66 -0
  189. package/dist/hlsl-Drjm86qZ.js +21 -0
  190. package/dist/hoon-DOfqILFd.js +26 -0
  191. package/dist/hpkp-CyoH9wLF.js +25 -0
  192. package/dist/hsp-i7GzEpsD.js +51 -0
  193. package/dist/hsts-TEUkgO0_.js +25 -0
  194. package/dist/htmlbars-DXfSuinO.js +243 -0
  195. package/dist/http-BqI_d45x.js +102 -0
  196. package/dist/http-Cx72__Yy.js +131 -0
  197. package/dist/hy-QLZU_M0S.js +97 -0
  198. package/dist/ichigojam-BOGB8zsN.js +25 -0
  199. package/dist/icon-JYljK4QF.js +32 -0
  200. package/dist/icu-message-format-CpcYbRvH.js +137 -0
  201. package/dist/idris-BJ4tgRDj.js +26 -0
  202. package/dist/iecst-xg-F-Ri2.js +38 -0
  203. package/dist/ignore-CsQzbDOY.js +36 -0
  204. package/dist/index.d.ts +1232 -0
  205. package/dist/index.js +55163 -0
  206. package/dist/inform7-2kF6dSmN.js +51 -0
  207. package/dist/inform7-W_PX01bK.js +66 -0
  208. package/dist/ini-CyhAKGSk.js +50 -0
  209. package/dist/ini-DxNsJv_F.js +136 -0
  210. package/dist/io-BX86W2Nr.js +34 -0
  211. package/dist/irpf90-Cz4ovG4d.js +77 -0
  212. package/dist/isbl-DYgyJfqJ.js +118 -0
  213. package/dist/j-Dl0F3m91.js +38 -0
  214. package/dist/java-BMhVo9mR.js +144 -0
  215. package/dist/java-RT4sGLV2.js +116 -0
  216. package/dist/javadoc-K6-poHdT.js +84 -0
  217. package/dist/javadoclike-DV682eaV.js +74 -0
  218. package/dist/javascript-BJ-LeMcK.js +126 -0
  219. package/dist/javascript-DZR3s47P.js +471 -0
  220. package/dist/javastacktrace-e_iWBHj3.js +103 -0
  221. package/dist/jboss-cli-BfGB9_g3.js +52 -0
  222. package/dist/jexl-C6H3SnN0.js +26 -0
  223. package/dist/jolie-D1pm4AdS.js +53 -0
  224. package/dist/jq-J4RdKnWn.js +71 -0
  225. package/dist/js-extras-DBfQswmg.js +119 -0
  226. package/dist/js-templates-Bma-myhs.js +264 -0
  227. package/dist/jsdoc-DAHVa1K-.js +78 -0
  228. package/dist/json-BOcU6nei.js +40 -0
  229. package/dist/json-GDytwSqH.js +49 -0
  230. package/dist/json5-Dldp7b9R.js +32 -0
  231. package/dist/jsonp-_VvPg4Sq.js +17 -0
  232. package/dist/jsstacktrace-BGl-gflq.js +49 -0
  233. package/dist/jsx-D2Jv0wvt.js +103 -0
  234. package/dist/julia-B3lI6_fR.js +37 -0
  235. package/dist/julia-CKih7L-u.js +359 -0
  236. package/dist/julia-repl-Cop0XHfd.js +24 -0
  237. package/dist/keepalived-z62NV0IY.js +52 -0
  238. package/dist/keyman-2Zq7Lmix.js +50 -0
  239. package/dist/kotlin-IK_BsfjS.js +217 -0
  240. package/dist/kotlin-Za8DfsXK.js +83 -0
  241. package/dist/kumir-wWKTT1Tn.js +95 -0
  242. package/dist/kusto-K-lfyykQ.js +45 -0
  243. package/dist/lasso-BQ0d-ec4.js +132 -0
  244. package/dist/latex-CbDOwO4M.js +56 -0
  245. package/dist/latex-hQ09OoNB.js +235 -0
  246. package/dist/latte-Dw4wWumk.js +69 -0
  247. package/dist/ldif-D3E6SGvP.js +43 -0
  248. package/dist/leaf-C7QaLHlz.js +45 -0
  249. package/dist/less-O6umudeD.js +577 -0
  250. package/dist/less-YYlzhbKi.js +42 -0
  251. package/dist/lilypond-BQrWvE8c.js +76 -0
  252. package/dist/linker-script-Bv92-EWY.js +37 -0
  253. package/dist/liquid-kagG2ycL.js +72 -0
  254. package/dist/lisp-BwjhhF3k.js +125 -0
  255. package/dist/lisp-eQ3hWweO.js +179 -0
  256. package/dist/livecodeserver-Bcw7s4ld.js +92 -0
  257. package/dist/livescript-Dx6f2sjw.js +89 -0
  258. package/dist/livescript-n4ABWPt3.js +314 -0
  259. package/dist/llvm-BY-qrH6s.js +98 -0
  260. package/dist/llvm-ChekYxKh.js +31 -0
  261. package/dist/log-D1Lo4xuI.js +108 -0
  262. package/dist/lolcode-BwGaELZC.js +59 -0
  263. package/dist/lsl-BooQQpjX.js +61 -0
  264. package/dist/lua-CJnCvaiN.js +27 -0
  265. package/dist/lua-DvtsJ-jt.js +54 -0
  266. package/dist/magma-B85RjyUD.js +41 -0
  267. package/dist/makefile-CqtqULKU.js +68 -0
  268. package/dist/makefile-D6p-QrRH.js +39 -0
  269. package/dist/markdown-CDKMB1D7.js +206 -0
  270. package/dist/markup-D2NSmoAx.js +176 -0
  271. package/dist/markup-templating-Ds-CZFSA.js +96 -0
  272. package/dist/mata-Dhxcvo2e.js +52 -0
  273. package/dist/mathematica-D886cK7E.js +6748 -0
  274. package/dist/matlab-Bb98H89V.js +77 -0
  275. package/dist/matlab-hmhitwOg.js +24 -0
  276. package/dist/maxima-D0eE_Dtc.js +44 -0
  277. package/dist/maxscript-f6eA-aNI.js +64 -0
  278. package/dist/mel-BJ5B6sMY.js +30 -0
  279. package/dist/mel-nLuPdSf3.js +56 -0
  280. package/dist/mercury-C62CCPyQ.js +68 -0
  281. package/dist/mermaid-DQ_crCJ7.js +102 -0
  282. package/dist/metafont-CzK4NvN0.js +95 -0
  283. package/dist/mipsasm-DeMR5-YF.js +59 -0
  284. package/dist/mizar-CtA-pMOR.js +16 -0
  285. package/dist/mizar-DuBSAjNN.js +24 -0
  286. package/dist/mojolicious-D2SpJiH-.js +33 -0
  287. package/dist/mongodb-D904geno.js +294 -0
  288. package/dist/monkey-MrC338O0.js +64 -0
  289. package/dist/monkey-sxg32Zkq.js +40 -0
  290. package/dist/moonscript-b57HPxdw.js +56 -0
  291. package/dist/moonscript-w9bBVWSA.js +108 -0
  292. package/dist/n1ql-C96arvJp.js +33 -0
  293. package/dist/n1ql-DRmjD5Dx.js +48 -0
  294. package/dist/n4js-B0G1BP6w.js +21 -0
  295. package/dist/nand2tetris-hdl-BlZue0BE.js +21 -0
  296. package/dist/naniscript-DA6Nu-1R.js +159 -0
  297. package/dist/nasm-CIk3Maz7.js +36 -0
  298. package/dist/neon-COQc3WnN.js +52 -0
  299. package/dist/nevod-BYmtc0a2.js +132 -0
  300. package/dist/nginx-CkGcwumj.js +60 -0
  301. package/dist/nginx-DHrAxYcc.js +109 -0
  302. package/dist/nim-BLfhCij5.js +43 -0
  303. package/dist/nim-DhziuES8.js +55 -0
  304. package/dist/nix-CaLYae8R.js +56 -0
  305. package/dist/nix-DEDwHRSe.js +42 -0
  306. package/dist/node-repl-By_FH_Mf.js +26 -0
  307. package/dist/nsis-Bg3KzNC4.js +95 -0
  308. package/dist/nsis-CFkyRB_F.js +42 -0
  309. package/dist/objectivec-CmlLljpc.js +88 -0
  310. package/dist/objectivec-DiDoNwgS.js +25 -0
  311. package/dist/ocaml-GsU0rnxx.js +58 -0
  312. package/dist/ocaml-pvUnnUZt.js +58 -0
  313. package/dist/odin-BL970IAo.js +89 -0
  314. package/dist/opencl-oLMSxXOb.js +56 -0
  315. package/dist/openqasm-BCXxEzkz.js +30 -0
  316. package/dist/openscad-MI1WtN4e.js +72 -0
  317. package/dist/oxygene-CGz_hbo_.js +74 -0
  318. package/dist/oz-BIEkjqaK.js +37 -0
  319. package/dist/parigp-DFe_jQ_0.js +57 -0
  320. package/dist/parser-D8bUDSMy.js +81 -0
  321. package/dist/parser3-BtcxMqRE.js +46 -0
  322. package/dist/pascal-Zk9Hdh8x.js +63 -0
  323. package/dist/pascaligo-DlFj9gb7.js +76 -0
  324. package/dist/pcaxis-BpZTiG1_.js +64 -0
  325. package/dist/peoplecode-BvNlpzn4.js +46 -0
  326. package/dist/perl-D3TeFX3f.js +91 -0
  327. package/dist/perl-DV1WGcgP.js +459 -0
  328. package/dist/pf-Bw6YW8GL.js +35 -0
  329. package/dist/pgsql-DQnMJJhr.js +201 -0
  330. package/dist/php-BxQ7YaUd.js +298 -0
  331. package/dist/php-Cx_aOYzh.js +170 -0
  332. package/dist/php-extras-Cv31MyHh.js +29 -0
  333. package/dist/php-template-CFgAyXVG.js +49 -0
  334. package/dist/phpdoc-euK_46wV.js +33 -0
  335. package/dist/plaintext-BLTGGZjz.js +16 -0
  336. package/dist/plant-uml-Celo7hWa.js +94 -0
  337. package/dist/plsql-BMooi3eI.js +27 -0
  338. package/dist/pony-Bi3ts_x4.js +66 -0
  339. package/dist/powerquery-BB0neDs8.js +64 -0
  340. package/dist/powershell-Cp8VIeP5.js +210 -0
  341. package/dist/powershell-DPXfEh-N.js +50 -0
  342. package/dist/processing-C2gXKHmX.js +27 -0
  343. package/dist/processing-DifMMTC4.js +27 -0
  344. package/dist/profile-D4l4kotj.js +44 -0
  345. package/dist/prolog-K5CXWNqv.js +68 -0
  346. package/dist/prolog-jXnGSoER.js +27 -0
  347. package/dist/promql-B7tjImXR.js +91 -0
  348. package/dist/properties-Ye-hyWt3.js +70 -0
  349. package/dist/properties-tZhjkzqv.js +25 -0
  350. package/dist/protobuf-CFMuPFrb.js +43 -0
  351. package/dist/protobuf-CtuLNTgo.js +49 -0
  352. package/dist/psl-CtcmRY88.js +45 -0
  353. package/dist/pug-DZuWukpE.js +181 -0
  354. package/dist/puppet-Bbx71Wmu.js +91 -0
  355. package/dist/puppet-DWNpvtV0.js +109 -0
  356. package/dist/pure-Bu8y9uqf.js +84 -0
  357. package/dist/purebasic-CrbZ5tkq.js +48 -0
  358. package/dist/purebasic-DXeoj54G.js +68 -0
  359. package/dist/purescript-DEmt8FwY.js +33 -0
  360. package/dist/python-B_JMVOcZ.js +72 -0
  361. package/dist/python-D4vn1uqn.js +364 -0
  362. package/dist/python-repl-Byh0otOf.js +25 -0
  363. package/dist/q-CKXvfs03.js +27 -0
  364. package/dist/q-Clh6z-st.js +51 -0
  365. package/dist/qml-7YQvVjZV.js +159 -0
  366. package/dist/qml-DJbzw6kj.js +73 -0
  367. package/dist/qore-BhVfCXhu.js +34 -0
  368. package/dist/qsharp-DuDOe5Uc.js +115 -0
  369. package/dist/r-DYPUJFxX.js +29 -0
  370. package/dist/r-xHPskriK.js +164 -0
  371. package/dist/racket-CpODvyno.js +25 -0
  372. package/dist/reason-hsgArTvF.js +36 -0
  373. package/dist/reasonml-CbjAE68o.js +250 -0
  374. package/dist/regex-2mVRU0vI.js +95 -0
  375. package/dist/rego-D-V3VB8C.js +37 -0
  376. package/dist/renpy-aW3v6IgL.js +31 -0
  377. package/dist/rescript-CWaXnGHS.js +69 -0
  378. package/dist/rest-3fUpY2PO.js +162 -0
  379. package/dist/rib-CL2NFDmg.js +22 -0
  380. package/dist/rip-B6YYwony.js +41 -0
  381. package/dist/roboconf-0Rlei8gQ.js +59 -0
  382. package/dist/roboconf-IXUuBa8p.js +39 -0
  383. package/dist/robotframework-BF9E-Oq9.js +93 -0
  384. package/dist/rolldown-runtime-DZ8SGSJo.js +46 -0
  385. package/dist/routeros-C-AWVQjj.js +115 -0
  386. package/dist/rsl-DMuV0iZO.js +40 -0
  387. package/dist/ruby-B8TWD6ep.js +175 -0
  388. package/dist/ruby-Y4gGIG3V.js +262 -0
  389. package/dist/ruleslanguage-BktxDuZ-.js +32 -0
  390. package/dist/rust-DwYwyKSC.js +86 -0
  391. package/dist/rust-NN7KgEj6.js +106 -0
  392. package/dist/sas-B1HEHqVJ.js +52 -0
  393. package/dist/sas-smX4XTMW.js +305 -0
  394. package/dist/sass-C7gSyJgV.js +65 -0
  395. package/dist/scala-B-Qmrms2.js +121 -0
  396. package/dist/scala-DjG8SNwu.js +61 -0
  397. package/dist/scheme-B4kNWGag.js +90 -0
  398. package/dist/scheme-DJqOei9g.js +123 -0
  399. package/dist/scilab-CWFPBszJ.js +51 -0
  400. package/dist/scss-BNucVCwH.js +521 -0
  401. package/dist/scss-DUnVt122.js +70 -0
  402. package/dist/shell-B5PfXmNL.js +24 -0
  403. package/dist/shell-session-DPhnV0Ol.js +54 -0
  404. package/dist/smali-2GrwCIpm.js +119 -0
  405. package/dist/smali-8R0QXZ1X.js +84 -0
  406. package/dist/smalltalk-B22GLwys.js +57 -0
  407. package/dist/smalltalk-O6cEa_14.js +47 -0
  408. package/dist/smarty-Wq_5DAYj.js +118 -0
  409. package/dist/sml-CSXKPo20.js +58 -0
  410. package/dist/sml-D31kAWsT.js +55 -0
  411. package/dist/solidity-BX0gWWmL.js +30 -0
  412. package/dist/solution-file-CgB6LaL7.js +47 -0
  413. package/dist/soy-DcXj4tw-.js +86 -0
  414. package/dist/sparql-D0_2Fxvf.js +28 -0
  415. package/dist/splunk-spl-BV7tASCi.js +34 -0
  416. package/dist/sqf-BYrbmp09.js +77 -0
  417. package/dist/sqf-DDMLiWt_.js +45 -0
  418. package/dist/sql-DHCn-YZP.js +39 -0
  419. package/dist/sql-DuLQt3Do.js +656 -0
  420. package/dist/sql_more-C5b-5T7L.js +58 -0
  421. package/dist/squirrel-EsqR0JNY.js +51 -0
  422. package/dist/stan-BssIIRc4.js +60 -0
  423. package/dist/stan-CaMlw6vU.js +516 -0
  424. package/dist/stata-CqA7wg7c.js +38 -0
  425. package/dist/stata-Da4jTQPC.js +82 -0
  426. package/dist/step21-DvwfW_IY.js +55 -0
  427. package/dist/stylus-C9svphNf.js +132 -0
  428. package/dist/stylus-DvJwDpBW.js +552 -0
  429. package/dist/subunit-eIEQRjTD.js +40 -0
  430. package/dist/supercollider-D7qIEU9I.js +43 -0
  431. package/dist/swift-B_iuCH-N.js +106 -0
  432. package/dist/swift-D2JCuwOw.js +603 -0
  433. package/dist/systemd-7dRag1wn.js +58 -0
  434. package/dist/t4-cs-CZCr77ej.js +18 -0
  435. package/dist/t4-templating-8CSCnuNF.js +52 -0
  436. package/dist/t4-vb-DJLoxP6-.js +18 -0
  437. package/dist/taggerscript-DUgIsxmY.js +42 -0
  438. package/dist/tap-BrbYnFCE.js +36 -0
  439. package/dist/tap-CKwf9TXR.js +35 -0
  440. package/dist/tcl-Bu0LzhCS.js +78 -0
  441. package/dist/tcl-CLjFvMbO.js +55 -0
  442. package/dist/textile-CVDmKYP-.js +225 -0
  443. package/dist/thrift-2RQozBtH.js +42 -0
  444. package/dist/toml-51NMgcfs.js +55 -0
  445. package/dist/tp-CyHTvTrB.js +81 -0
  446. package/dist/tremor-x6QV0U7k.js +68 -0
  447. package/dist/tt2-DQEZxDDN.js +52 -0
  448. package/dist/turtle-BHrc5ZDj.js +55 -0
  449. package/dist/twig-6D_FmMc3.js +66 -0
  450. package/dist/twig-DKqqr-bJ.js +46 -0
  451. package/dist/typescript-DAau_Qyl.js +59 -0
  452. package/dist/typescript-VRQ57_wQ.js +543 -0
  453. package/dist/typoscript-DHP8Z-kM.js +68 -0
  454. package/dist/unrealscript-BpMIC14v.js +50 -0
  455. package/dist/uorazor-BCojFkBB.js +55 -0
  456. package/dist/uri-M2gkNRgb.js +82 -0
  457. package/dist/v-Ba5p0lq0.js +84 -0
  458. package/dist/vala-D3hq3MeR.js +46 -0
  459. package/dist/vala-DxoZQIIV.js +82 -0
  460. package/dist/vbnet-MuzuuWpL.js +32 -0
  461. package/dist/vbnet-Rq0E4ZR6.js +121 -0
  462. package/dist/vbscript-B7FWGi6x.js +74 -0
  463. package/dist/vbscript-html-I7g2pYpY.js +20 -0
  464. package/dist/velocity-BZ2VAtwT.js +75 -0
  465. package/dist/verilog-DEPPw4lO.js +33 -0
  466. package/dist/verilog-qzgb0TgN.js +57 -0
  467. package/dist/vhdl-B7y5aUAt.js +34 -0
  468. package/dist/vhdl-D3415_vm.js +41 -0
  469. package/dist/vim-B7TjZscD.js +22 -0
  470. package/dist/vim-CnJA9w_8.js +53 -0
  471. package/dist/visual-basic-Cm0hN-XS.js +38 -0
  472. package/dist/warpscript-DIGSvxt1.js +29 -0
  473. package/dist/wasm-DmfEOzK3.js +36 -0
  474. package/dist/web-idl-Cfp4jeUC.js +81 -0
  475. package/dist/wgsl-DZ2gPgxi.js +100 -0
  476. package/dist/wiki-S_gOOWds.js +78 -0
  477. package/dist/wolfram-DI0W_dps.js +43 -0
  478. package/dist/wren-DRByg6bM.js +75 -0
  479. package/dist/x86asm-D_CYdoi_.js +70 -0
  480. package/dist/xeora-BoP7XsiS.js +84 -0
  481. package/dist/xl-dSbpxWTw.js +70 -0
  482. package/dist/xml-Bx1rhJem.js +220 -0
  483. package/dist/xml-doc-gUAATbC1.js +42 -0
  484. package/dist/xojo-DsgNc5p9.js +30 -0
  485. package/dist/xquery-Bc1R9nUG.js +129 -0
  486. package/dist/xquery-Bih1YSSU.js +120 -0
  487. package/dist/yaml-C888tCbJ.js +92 -0
  488. package/dist/yaml-sXJydZ-C.js +155 -0
  489. package/dist/yang-BPvrq4K7.js +30 -0
  490. package/dist/zephir-DLtCQJhr.js +80 -0
  491. package/dist/zig-XkIsWF4D.js +76 -0
  492. package/package.json +84 -0
@@ -0,0 +1,103 @@
1
+ //#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/javastacktrace.js
2
+ /**
3
+ * @import {Refractor} from '../lib/core.js'
4
+ */
5
+ javastacktrace.displayName = "javastacktrace";
6
+ javastacktrace.aliases = [];
7
+ /** @param {Refractor} Prism */
8
+ function javastacktrace(Prism) {
9
+ Prism.languages.javastacktrace = {
10
+ summary: {
11
+ pattern: /^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,
12
+ lookbehind: true,
13
+ inside: {
14
+ keyword: {
15
+ pattern: /^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,
16
+ lookbehind: true
17
+ },
18
+ string: {
19
+ pattern: /^(\s*)"[^"]*"/,
20
+ lookbehind: true
21
+ },
22
+ exceptions: {
23
+ pattern: /^(:?\s*)[\w$.]+(?=:|$)/,
24
+ lookbehind: true,
25
+ inside: {
26
+ "class-name": /[\w$]+$/,
27
+ namespace: /\b[a-z]\w*\b/,
28
+ punctuation: /\./
29
+ }
30
+ },
31
+ message: {
32
+ pattern: /(:\s*)\S.*/,
33
+ lookbehind: true,
34
+ alias: "string"
35
+ },
36
+ punctuation: /:/
37
+ }
38
+ },
39
+ "stack-frame": {
40
+ pattern: /^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:<init>)?\([^()]*\)/m,
41
+ lookbehind: true,
42
+ inside: {
43
+ keyword: {
44
+ pattern: /^(\s*)at(?= )/,
45
+ lookbehind: true
46
+ },
47
+ source: [{
48
+ pattern: /(\()\w+\.\w+:\d+(?=\))/,
49
+ lookbehind: true,
50
+ inside: {
51
+ file: /^\w+\.\w+/,
52
+ punctuation: /:/,
53
+ "line-number": {
54
+ pattern: /\b\d+\b/,
55
+ alias: "number"
56
+ }
57
+ }
58
+ }, {
59
+ pattern: /(\()[^()]*(?=\))/,
60
+ lookbehind: true,
61
+ inside: { keyword: /^(?:Native Method|Unknown Source)$/ }
62
+ }],
63
+ "class-name": /[\w$]+(?=\.(?:<init>|[\w$]+)\()/,
64
+ function: /(?:<init>|[\w$]+)(?=\()/,
65
+ "class-loader": {
66
+ pattern: /(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,
67
+ lookbehind: true,
68
+ alias: "namespace",
69
+ inside: { punctuation: /\./ }
70
+ },
71
+ module: {
72
+ pattern: /([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,
73
+ lookbehind: true,
74
+ inside: {
75
+ version: {
76
+ pattern: /(@)[\s\S]+/,
77
+ lookbehind: true,
78
+ alias: "number"
79
+ },
80
+ punctuation: /[@.]/
81
+ }
82
+ },
83
+ namespace: {
84
+ pattern: /(?:\b[a-z]\w*\.)+/,
85
+ inside: { punctuation: /\./ }
86
+ },
87
+ punctuation: /[()/.]/
88
+ }
89
+ },
90
+ more: {
91
+ pattern: /^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,
92
+ lookbehind: true,
93
+ inside: {
94
+ punctuation: /\.{3}/,
95
+ number: /\d+/,
96
+ keyword: /\b[a-z]+(?: [a-z]+)*\b/
97
+ }
98
+ }
99
+ };
100
+ }
101
+
102
+ //#endregion
103
+ export { javastacktrace as default };
@@ -0,0 +1,52 @@
1
+ import { t as __commonJSMin } from "./rolldown-runtime-DZ8SGSJo.js";
2
+
3
+ //#region ../../node_modules/.pnpm/highlight.js@10.7.3/node_modules/highlight.js/lib/languages/jboss-cli.js
4
+ var require_jboss_cli = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5
+ function jbossCli(hljs) {
6
+ return {
7
+ name: "JBoss CLI",
8
+ aliases: ["wildfly-cli"],
9
+ keywords: {
10
+ $pattern: "[a-z-]+",
11
+ keyword: "alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source",
12
+ literal: "true false"
13
+ },
14
+ contains: [
15
+ hljs.HASH_COMMENT_MODE,
16
+ hljs.QUOTE_STRING_MODE,
17
+ {
18
+ className: "params",
19
+ begin: /--[\w\-=\/]+/
20
+ },
21
+ {
22
+ className: "function",
23
+ begin: /:[\w\-.]+/,
24
+ relevance: 0
25
+ },
26
+ {
27
+ className: "string",
28
+ begin: /\B([\/.])[\w\-.\/=]+/
29
+ },
30
+ {
31
+ className: "params",
32
+ begin: /\(/,
33
+ end: /\)/,
34
+ contains: [{
35
+ begin: /[\w-]+ *=/,
36
+ returnBegin: true,
37
+ relevance: 0,
38
+ contains: [{
39
+ className: "attr",
40
+ begin: /[\w-]+/
41
+ }]
42
+ }],
43
+ relevance: 0
44
+ }
45
+ ]
46
+ };
47
+ }
48
+ module.exports = jbossCli;
49
+ }));
50
+
51
+ //#endregion
52
+ export default require_jboss_cli();
@@ -0,0 +1,26 @@
1
+ //#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/jexl.js
2
+ /**
3
+ * @import {Refractor} from '../lib/core.js'
4
+ */
5
+ jexl.displayName = "jexl";
6
+ jexl.aliases = [];
7
+ /** @param {Refractor} Prism */
8
+ function jexl(Prism) {
9
+ Prism.languages.jexl = {
10
+ string: /(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,
11
+ transform: {
12
+ pattern: /(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,
13
+ alias: "function",
14
+ lookbehind: true
15
+ },
16
+ function: /[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,
17
+ number: /\b\d+(?:\.\d+)?\b|\B\.\d+\b/,
18
+ operator: /[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,
19
+ boolean: /\b(?:false|true)\b/,
20
+ keyword: /\bin\b/,
21
+ punctuation: /[{}[\](),.]/
22
+ };
23
+ }
24
+
25
+ //#endregion
26
+ export { jexl as default };
@@ -0,0 +1,53 @@
1
+ import { t as clike } from "./clike-BvmU1AL7.js";
2
+
3
+ //#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/jolie.js
4
+ /**
5
+ * @import {Refractor} from '../lib/core.js'
6
+ */
7
+ jolie.displayName = "jolie";
8
+ jolie.aliases = [];
9
+ /** @param {Refractor} Prism */
10
+ function jolie(Prism) {
11
+ Prism.register(clike);
12
+ Prism.languages.jolie = Prism.languages.extend("clike", {
13
+ string: {
14
+ pattern: /(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,
15
+ lookbehind: true,
16
+ greedy: true
17
+ },
18
+ "class-name": {
19
+ pattern: /((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,
20
+ lookbehind: true
21
+ },
22
+ keyword: /\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,
23
+ function: /\b[a-z_]\w*(?=[ \t]*[@(])/i,
24
+ number: /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,
25
+ operator: /-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,
26
+ punctuation: /[()[\]{},;.:]/,
27
+ builtin: /\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/
28
+ });
29
+ Prism.languages.insertBefore("jolie", "keyword", {
30
+ aggregates: {
31
+ pattern: /(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,
32
+ lookbehind: true,
33
+ inside: {
34
+ keyword: /\bwith\b/,
35
+ "class-name": /\w+/,
36
+ punctuation: /,/
37
+ }
38
+ },
39
+ redirects: {
40
+ pattern: /(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,
41
+ lookbehind: true,
42
+ inside: {
43
+ punctuation: /,/,
44
+ "class-name": /\w+/,
45
+ operator: /=>/
46
+ }
47
+ },
48
+ property: { pattern: /\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/ }
49
+ });
50
+ }
51
+
52
+ //#endregion
53
+ export { jolie as default };
@@ -0,0 +1,71 @@
1
+ //#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/jq.js
2
+ /**
3
+ * @import {Refractor} from '../lib/core.js'
4
+ */
5
+ jq.displayName = "jq";
6
+ jq.aliases = [];
7
+ /** @param {Refractor} Prism */
8
+ function jq(Prism) {
9
+ (function(Prism) {
10
+ var interpolation = /\\\((?:[^()]|\([^()]*\))*\)/.source;
11
+ var string = RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g, function() {
12
+ return interpolation;
13
+ }));
14
+ var stringInterpolation = { interpolation: {
15
+ pattern: RegExp(/((?:^|[^\\])(?:\\{2})*)/.source + interpolation),
16
+ lookbehind: true,
17
+ inside: {
18
+ content: {
19
+ pattern: /^(\\\()[\s\S]+(?=\)$)/,
20
+ lookbehind: true,
21
+ inside: null
22
+ },
23
+ punctuation: /^\\\(|\)$/
24
+ }
25
+ } };
26
+ var jq = Prism.languages.jq = {
27
+ comment: /#.*/,
28
+ property: {
29
+ pattern: RegExp(string.source + /(?=\s*:(?!:))/.source),
30
+ lookbehind: true,
31
+ greedy: true,
32
+ inside: stringInterpolation
33
+ },
34
+ string: {
35
+ pattern: string,
36
+ lookbehind: true,
37
+ greedy: true,
38
+ inside: stringInterpolation
39
+ },
40
+ function: {
41
+ pattern: /(\bdef\s+)[a-z_]\w+/i,
42
+ lookbehind: true
43
+ },
44
+ variable: /\B\$\w+/,
45
+ "property-literal": {
46
+ pattern: /\b[a-z_]\w*(?=\s*:(?!:))/i,
47
+ alias: "property"
48
+ },
49
+ keyword: /\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,
50
+ boolean: /\b(?:false|true)\b/,
51
+ number: /(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,
52
+ operator: [{
53
+ pattern: /\|=?/,
54
+ alias: "pipe"
55
+ }, /\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],
56
+ "c-style-function": {
57
+ pattern: /\b[a-z_]\w*(?=\s*\()/i,
58
+ alias: "function"
59
+ },
60
+ punctuation: /::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,
61
+ dot: {
62
+ pattern: /\./,
63
+ alias: "important"
64
+ }
65
+ };
66
+ stringInterpolation.interpolation.inside.content.inside = jq;
67
+ })(Prism);
68
+ }
69
+
70
+ //#endregion
71
+ export { jq as default };
@@ -0,0 +1,119 @@
1
+ import { t as javascript } from "./javascript-BJ-LeMcK.js";
2
+
3
+ //#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/js-extras.js
4
+ /**
5
+ * @import {Refractor} from '../lib/core.js'
6
+ */
7
+ jsExtras.displayName = "js-extras";
8
+ jsExtras.aliases = [];
9
+ /** @param {Refractor} Prism */
10
+ function jsExtras(Prism) {
11
+ Prism.register(javascript);
12
+ (function(Prism) {
13
+ Prism.languages.insertBefore("javascript", "function-variable", { "method-variable": {
14
+ pattern: RegExp("(\\.\\s*)" + Prism.languages.javascript["function-variable"].pattern.source),
15
+ lookbehind: true,
16
+ alias: [
17
+ "function-variable",
18
+ "method",
19
+ "function",
20
+ "property-access"
21
+ ]
22
+ } });
23
+ Prism.languages.insertBefore("javascript", "function", { method: {
24
+ pattern: RegExp("(\\.\\s*)" + Prism.languages.javascript["function"].source),
25
+ lookbehind: true,
26
+ alias: ["function", "property-access"]
27
+ } });
28
+ Prism.languages.insertBefore("javascript", "constant", { "known-class-name": [{
29
+ pattern: /\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,
30
+ alias: "class-name"
31
+ }, {
32
+ pattern: /\b(?:[A-Z]\w*)Error\b/,
33
+ alias: "class-name"
34
+ }] });
35
+ /**
36
+ * Replaces the `<ID>` placeholder in the given pattern with a pattern for general JS identifiers.
37
+ *
38
+ * @param {string} source
39
+ * @param {string} [flags]
40
+ * @returns {RegExp}
41
+ */
42
+ function withId(source, flags) {
43
+ return RegExp(source.replace(/<ID>/g, function() {
44
+ return /(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source;
45
+ }), flags);
46
+ }
47
+ Prism.languages.insertBefore("javascript", "keyword", {
48
+ imports: {
49
+ pattern: withId(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),
50
+ lookbehind: true,
51
+ inside: Prism.languages.javascript
52
+ },
53
+ exports: {
54
+ pattern: withId(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),
55
+ lookbehind: true,
56
+ inside: Prism.languages.javascript
57
+ }
58
+ });
59
+ Prism.languages.javascript["keyword"].unshift({
60
+ pattern: /\b(?:as|default|export|from|import)\b/,
61
+ alias: "module"
62
+ }, {
63
+ pattern: /\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,
64
+ alias: "control-flow"
65
+ }, {
66
+ pattern: /\bnull\b/,
67
+ alias: ["null", "nil"]
68
+ }, {
69
+ pattern: /\bundefined\b/,
70
+ alias: "nil"
71
+ });
72
+ Prism.languages.insertBefore("javascript", "operator", {
73
+ spread: {
74
+ pattern: /\.{3}/,
75
+ alias: "operator"
76
+ },
77
+ arrow: {
78
+ pattern: /=>/,
79
+ alias: "operator"
80
+ }
81
+ });
82
+ Prism.languages.insertBefore("javascript", "punctuation", {
83
+ "property-access": {
84
+ pattern: withId(/(\.\s*)#?<ID>/.source),
85
+ lookbehind: true
86
+ },
87
+ "maybe-class-name": {
88
+ pattern: /(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,
89
+ lookbehind: true
90
+ },
91
+ dom: {
92
+ pattern: /\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,
93
+ alias: "variable"
94
+ },
95
+ console: {
96
+ pattern: /\bconsole(?=\s*\.)/,
97
+ alias: "class-name"
98
+ }
99
+ });
100
+ var maybeClassNameTokens = [
101
+ "function",
102
+ "function-variable",
103
+ "method",
104
+ "method-variable",
105
+ "property-access"
106
+ ];
107
+ for (var i = 0; i < maybeClassNameTokens.length; i++) {
108
+ var token = maybeClassNameTokens[i];
109
+ var value = Prism.languages.javascript[token];
110
+ if (Prism.util.type(value) === "RegExp") value = Prism.languages.javascript[token] = { pattern: value };
111
+ var inside = value.inside || {};
112
+ value.inside = inside;
113
+ inside["maybe-class-name"] = /^[A-Z][\s\S]*/;
114
+ }
115
+ })(Prism);
116
+ }
117
+
118
+ //#endregion
119
+ export { jsExtras as default };
@@ -0,0 +1,264 @@
1
+ import { t as javascript } from "./javascript-BJ-LeMcK.js";
2
+
3
+ //#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/js-templates.js
4
+ /**
5
+ * @import {Refractor} from '../lib/core.js'
6
+ */
7
+ jsTemplates.displayName = "js-templates";
8
+ jsTemplates.aliases = [];
9
+ /** @param {Refractor} Prism */
10
+ function jsTemplates(Prism) {
11
+ Prism.register(javascript);
12
+ (function(Prism) {
13
+ var templateString = Prism.languages.javascript["template-string"];
14
+ var templateLiteralPattern = templateString.pattern.source;
15
+ var interpolationObject = templateString.inside["interpolation"];
16
+ var interpolationPunctuationObject = interpolationObject.inside["interpolation-punctuation"];
17
+ var interpolationPattern = interpolationObject.pattern.source;
18
+ /**
19
+ * Creates a new pattern to match a template string with a special tag.
20
+ *
21
+ * This will return `undefined` if there is no grammar with the given language id.
22
+ *
23
+ * @param {string} language The language id of the embedded language. E.g. `markdown`.
24
+ * @param {string} tag The regex pattern to match the tag.
25
+ * @returns {object | undefined}
26
+ * @example
27
+ * createTemplate('css', /\bcss/.source);
28
+ */
29
+ function createTemplate(language, tag) {
30
+ if (!Prism.languages[language]) return;
31
+ return {
32
+ pattern: RegExp("((?:" + tag + ")\\s*)" + templateLiteralPattern),
33
+ lookbehind: true,
34
+ greedy: true,
35
+ inside: {
36
+ "template-punctuation": {
37
+ pattern: /^`|`$/,
38
+ alias: "string"
39
+ },
40
+ "embedded-code": {
41
+ pattern: /[\s\S]+/,
42
+ alias: language
43
+ }
44
+ }
45
+ };
46
+ }
47
+ Prism.languages.javascript["template-string"] = [
48
+ createTemplate("css", /\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),
49
+ createTemplate("html", /\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),
50
+ createTemplate("svg", /\bsvg/.source),
51
+ createTemplate("markdown", /\b(?:markdown|md)/.source),
52
+ createTemplate("graphql", /\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),
53
+ createTemplate("sql", /\bsql/.source),
54
+ templateString
55
+ ].filter(Boolean);
56
+ /**
57
+ * Returns a specific placeholder literal for the given language.
58
+ *
59
+ * @param {number} counter
60
+ * @param {string} language
61
+ * @returns {string}
62
+ */
63
+ function getPlaceholder(counter, language) {
64
+ return "___" + language.toUpperCase() + "_" + counter + "___";
65
+ }
66
+ /**
67
+ * Returns the tokens of `Prism.tokenize` but also runs the `before-tokenize` and `after-tokenize` hooks.
68
+ *
69
+ * @param {string} code
70
+ * @param {any} grammar
71
+ * @param {string} language
72
+ * @returns {(string|Token)[]}
73
+ */
74
+ function tokenizeWithHooks(code, grammar, language) {
75
+ var env = {
76
+ code,
77
+ grammar,
78
+ language
79
+ };
80
+ Prism.hooks.run("before-tokenize", env);
81
+ env.tokens = Prism.tokenize(env.code, env.grammar);
82
+ Prism.hooks.run("after-tokenize", env);
83
+ return env.tokens;
84
+ }
85
+ /**
86
+ * Returns the token of the given JavaScript interpolation expression.
87
+ *
88
+ * @param {string} expression The code of the expression. E.g. `"${42}"`
89
+ * @returns {Token}
90
+ */
91
+ function tokenizeInterpolationExpression(expression) {
92
+ var tempGrammar = {};
93
+ tempGrammar["interpolation-punctuation"] = interpolationPunctuationObject;
94
+ /** @type {Array} */
95
+ var tokens = Prism.tokenize(expression, tempGrammar);
96
+ if (tokens.length === 3) {
97
+ /**
98
+ * The token array will look like this
99
+ * [
100
+ * ["interpolation-punctuation", "${"]
101
+ * "..." // JavaScript expression of the interpolation
102
+ * ["interpolation-punctuation", "}"]
103
+ * ]
104
+ */
105
+ var args = [1, 1];
106
+ args.push.apply(args, tokenizeWithHooks(tokens[1], Prism.languages.javascript, "javascript"));
107
+ tokens.splice.apply(tokens, args);
108
+ }
109
+ return new Prism.Token("interpolation", tokens, interpolationObject.alias, expression);
110
+ }
111
+ /**
112
+ * Tokenizes the given code with support for JavaScript interpolation expressions mixed in.
113
+ *
114
+ * This function has 3 phases:
115
+ *
116
+ * 1. Replace all JavaScript interpolation expression with a placeholder.
117
+ * The placeholder will have the syntax of a identify of the target language.
118
+ * 2. Tokenize the code with placeholders.
119
+ * 3. Tokenize the interpolation expressions and re-insert them into the tokenize code.
120
+ * The insertion only works if a placeholder hasn't been "ripped apart" meaning that the placeholder has been
121
+ * tokenized as two tokens by the grammar of the embedded language.
122
+ *
123
+ * @param {string} code
124
+ * @param {object} grammar
125
+ * @param {string} language
126
+ * @returns {Token}
127
+ */
128
+ function tokenizeEmbedded(code, grammar, language) {
129
+ /** @type {(Token|string)[]} */
130
+ var _tokens = Prism.tokenize(code, { interpolation: {
131
+ pattern: RegExp(interpolationPattern),
132
+ lookbehind: true
133
+ } });
134
+ var placeholderCounter = 0;
135
+ /** @type {Object<string, string>} */
136
+ var placeholderMap = {};
137
+ var embeddedTokens = tokenizeWithHooks(_tokens.map(function(token) {
138
+ if (typeof token === "string") return token;
139
+ else {
140
+ var interpolationExpression = token.content;
141
+ var placeholder;
142
+ while (code.indexOf(placeholder = getPlaceholder(placeholderCounter++, language)) !== -1);
143
+ placeholderMap[placeholder] = interpolationExpression;
144
+ return placeholder;
145
+ }
146
+ }).join(""), grammar, language);
147
+ var placeholders = Object.keys(placeholderMap);
148
+ placeholderCounter = 0;
149
+ /**
150
+ *
151
+ * @param {(Token|string)[]} tokens
152
+ * @returns {void}
153
+ */
154
+ function walkTokens(tokens) {
155
+ for (var i = 0; i < tokens.length; i++) {
156
+ if (placeholderCounter >= placeholders.length) return;
157
+ var token = tokens[i];
158
+ if (typeof token === "string" || typeof token.content === "string") {
159
+ var placeholder = placeholders[placeholderCounter];
160
+ var s = typeof token === "string" ? token : /** @type {string} */ token.content;
161
+ var index = s.indexOf(placeholder);
162
+ if (index !== -1) {
163
+ ++placeholderCounter;
164
+ var before = s.substring(0, index);
165
+ var middle = tokenizeInterpolationExpression(placeholderMap[placeholder]);
166
+ var after = s.substring(index + placeholder.length);
167
+ var replacement = [];
168
+ if (before) replacement.push(before);
169
+ replacement.push(middle);
170
+ if (after) {
171
+ var afterTokens = [after];
172
+ walkTokens(afterTokens);
173
+ replacement.push.apply(replacement, afterTokens);
174
+ }
175
+ if (typeof token === "string") {
176
+ tokens.splice.apply(tokens, [i, 1].concat(replacement));
177
+ i += replacement.length - 1;
178
+ } else token.content = replacement;
179
+ }
180
+ } else {
181
+ var content = token.content;
182
+ if (Array.isArray(content)) walkTokens(content);
183
+ else walkTokens([content]);
184
+ }
185
+ }
186
+ }
187
+ walkTokens(embeddedTokens);
188
+ return new Prism.Token(language, embeddedTokens, "language-" + language, code);
189
+ }
190
+ /**
191
+ * The languages for which JS templating will handle tagged template literals.
192
+ *
193
+ * JS templating isn't active for only JavaScript but also related languages like TypeScript, JSX, and TSX.
194
+ */
195
+ var supportedLanguages = {
196
+ javascript: true,
197
+ js: true,
198
+ typescript: true,
199
+ ts: true,
200
+ jsx: true,
201
+ tsx: true
202
+ };
203
+ Prism.hooks.add("after-tokenize", function(env) {
204
+ if (!(env.language in supportedLanguages)) return;
205
+ /**
206
+ * Finds and tokenizes all template strings with an embedded languages.
207
+ *
208
+ * @param {(Token | string)[]} tokens
209
+ * @returns {void}
210
+ */
211
+ function findTemplateStrings(tokens) {
212
+ for (var i = 0, l = tokens.length; i < l; i++) {
213
+ var token = tokens[i];
214
+ if (typeof token === "string") continue;
215
+ var content = token.content;
216
+ if (!Array.isArray(content)) {
217
+ if (typeof content !== "string") findTemplateStrings([content]);
218
+ continue;
219
+ }
220
+ if (token.type === "template-string") {
221
+ /**
222
+ * A JavaScript template-string token will look like this:
223
+ *
224
+ * ["template-string", [
225
+ * ["template-punctuation", "`"],
226
+ * (
227
+ * An array of "string" and "interpolation" tokens. This is the simple string case.
228
+ * or
229
+ * ["embedded-code", "..."] This is the token containing the embedded code.
230
+ * It also has an alias which is the language of the embedded code.
231
+ * ),
232
+ * ["template-punctuation", "`"]
233
+ * ]]
234
+ */
235
+ var embedded = content[1];
236
+ if (content.length === 3 && typeof embedded !== "string" && embedded.type === "embedded-code") {
237
+ var code = stringContent(embedded);
238
+ var alias = embedded.alias;
239
+ var language = Array.isArray(alias) ? alias[0] : alias;
240
+ var grammar = Prism.languages[language];
241
+ if (!grammar) continue;
242
+ content[1] = tokenizeEmbedded(code, grammar, language);
243
+ }
244
+ } else findTemplateStrings(content);
245
+ }
246
+ }
247
+ findTemplateStrings(env.tokens);
248
+ });
249
+ /**
250
+ * Returns the string content of a token or token stream.
251
+ *
252
+ * @param {string | Token | (string | Token)[]} value
253
+ * @returns {string}
254
+ */
255
+ function stringContent(value) {
256
+ if (typeof value === "string") return value;
257
+ else if (Array.isArray(value)) return value.map(stringContent).join("");
258
+ else return stringContent(value.content);
259
+ }
260
+ })(Prism);
261
+ }
262
+
263
+ //#endregion
264
+ export { jsTemplates as default };