@photonix/basic 1.5.1 → 1.6.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 (796) hide show
  1. package/dist/1c-SY3FTTLF.mjs +146 -0
  2. package/dist/abap-IV5EHH5E.mjs +7 -0
  3. package/dist/abnf-BNXE3OUM.mjs +7 -0
  4. package/dist/abnf-YV6YLS6F.mjs +80 -0
  5. package/dist/accesslog-XIB4ND3T.mjs +102 -0
  6. package/dist/actionscript-6KV6XPIR.mjs +92 -0
  7. package/dist/actionscript-MJJWFEEU.mjs +9 -0
  8. package/dist/ada-BSCME2TT.mjs +7 -0
  9. package/dist/ada-QGKGFVUA.mjs +153 -0
  10. package/dist/agda-N6TMOMAJ.mjs +7 -0
  11. package/dist/al-IHZFW5WK.mjs +7 -0
  12. package/dist/all-QWL7IMSW.mjs +1197 -0
  13. package/dist/angelscript-OERESA3A.mjs +124 -0
  14. package/dist/antlr4-Y5RUT23Q.mjs +7 -0
  15. package/dist/apache-3CNMCTHT.mjs +84 -0
  16. package/dist/apacheconf-JRORV3U5.mjs +7 -0
  17. package/dist/apex-MR5ICDDL.mjs +9 -0
  18. package/dist/apl-NGFCMWQT.mjs +7 -0
  19. package/dist/applescript-RYLQK432.mjs +7 -0
  20. package/dist/applescript-UDVEQ72F.mjs +146 -0
  21. package/dist/aql-V6MD6R36.mjs +7 -0
  22. package/dist/arcade-GBT4SRIT.mjs +154 -0
  23. package/dist/arduino-3ENCYGVC.mjs +430 -0
  24. package/dist/arduino-SLNQLQF4.mjs +10 -0
  25. package/dist/arff-5ZZ6N2XZ.mjs +7 -0
  26. package/dist/armasm-BRZGMDBX.mjs +7 -0
  27. package/dist/armasm-TDNVT6QH.mjs +101 -0
  28. package/dist/arturo-EFWZGL6L.mjs +7 -0
  29. package/dist/asciidoc-5ZEFBYYV.mjs +7 -0
  30. package/dist/asciidoc-JZLJPHRA.mjs +283 -0
  31. package/dist/asm6502-E62U576R.mjs +7 -0
  32. package/dist/asmatmel-O2X6DWOG.mjs +7 -0
  33. package/dist/aspectj-GWVMBGML.mjs +161 -0
  34. package/dist/aspnet-64O7STMN.mjs +10 -0
  35. package/dist/autohotkey-F5WQL5MX.mjs +7 -0
  36. package/dist/autohotkey-H65P4TF5.mjs +84 -0
  37. package/dist/autoit-64WPEBY4.mjs +168 -0
  38. package/dist/autoit-BLNYUWMX.mjs +7 -0
  39. package/dist/avisynth-IO5YYRJC.mjs +7 -0
  40. package/dist/avrasm-Z3RX65XL.mjs +69 -0
  41. package/dist/avro-idl-IZSPC2CQ.mjs +7 -0
  42. package/dist/awk-JU6XQWYV.mjs +7 -0
  43. package/dist/awk-LT4X4W66.mjs +74 -0
  44. package/dist/axapta-NRN44HHP.mjs +175 -0
  45. package/dist/bash-PHGMAGR4.mjs +7 -0
  46. package/dist/bash-ZB56MOYP.mjs +144 -0
  47. package/dist/basic-HHIWAYKZ.mjs +54 -0
  48. package/dist/basic-N7V4JF5I.mjs +7 -0
  49. package/dist/batch-PF3MVYOL.mjs +7 -0
  50. package/dist/bbcode-KY5GHVUW.mjs +7 -0
  51. package/dist/bbj-YQHXKEPQ.mjs +7 -0
  52. package/dist/bicep-UFG27MNU.mjs +7 -0
  53. package/dist/birb-RKB54CK7.mjs +8 -0
  54. package/dist/bison-AIJ2JQKP.mjs +9 -0
  55. package/dist/bnf-N5IEM4RM.mjs +7 -0
  56. package/dist/bnf-ZHK2VD6C.mjs +40 -0
  57. package/dist/bqn-FBWYHBRN.mjs +7 -0
  58. package/dist/brainfuck-BOJGNXWU.mjs +7 -0
  59. package/dist/brainfuck-T7Y6GNRM.mjs +48 -0
  60. package/dist/brightscript-KJVMQTLX.mjs +7 -0
  61. package/dist/bro-4E2YBO44.mjs +7 -0
  62. package/dist/bsl-OK2MROWX.mjs +7 -0
  63. package/dist/c-VHYLHHRH.mjs +8 -0
  64. package/dist/c-XIF4V5WY.mjs +253 -0
  65. package/dist/c-like-T5UU7MZP.mjs +430 -0
  66. package/dist/cal-YJ3PEO4B.mjs +101 -0
  67. package/dist/capnproto-AG4YO7QV.mjs +62 -0
  68. package/dist/ceylon-KM4HXKPH.mjs +73 -0
  69. package/dist/cfscript-MKQ7XX4T.mjs +8 -0
  70. package/dist/chaiscript-RPZDERQ4.mjs +10 -0
  71. package/dist/chunk-225JLQAA.mjs +53 -0
  72. package/dist/chunk-26YPCSON.mjs +33 -0
  73. package/dist/chunk-27KF74WX.mjs +207 -0
  74. package/dist/chunk-27XY4SR3.mjs +27 -0
  75. package/dist/chunk-27YX7MFJ.mjs +30 -0
  76. package/dist/chunk-2DU2ON4M.mjs +43 -0
  77. package/dist/chunk-2LS2HC6H.mjs +68 -0
  78. package/dist/chunk-2O5VMYAQ.mjs +13 -0
  79. package/dist/chunk-2PMEUBEF.mjs +127 -0
  80. package/dist/chunk-2U3PS6ZK.mjs +26 -0
  81. package/dist/chunk-2UFURF7C.mjs +70 -0
  82. package/dist/chunk-2VJCBVK6.mjs +72 -0
  83. package/dist/chunk-2WPBJ3E7.mjs +61 -0
  84. package/dist/chunk-3366YZKA.mjs +28 -0
  85. package/dist/chunk-34PHBZND.mjs +66 -0
  86. package/dist/chunk-3ASODFRJ.mjs +91 -0
  87. package/dist/chunk-3F53CENZ.mjs +54 -0
  88. package/dist/chunk-3QESMYNO.mjs +89 -0
  89. package/dist/chunk-3STUAENP.mjs +22 -0
  90. package/dist/chunk-3YIQQX6M.mjs +51 -0
  91. package/dist/chunk-42DSMFYZ.mjs +116 -0
  92. package/dist/chunk-4BJPBRSO.mjs +68 -0
  93. package/dist/chunk-4F6TSYBP.mjs +42 -0
  94. package/dist/chunk-4FONECRJ.mjs +107 -0
  95. package/dist/chunk-4KT62F5C.mjs +37 -0
  96. package/dist/chunk-4N5NQVL3.mjs +29 -0
  97. package/dist/chunk-4PL2CJJ3.mjs +49 -0
  98. package/dist/chunk-4PP7IENX.mjs +342 -0
  99. package/dist/chunk-4QGWGXRH.mjs +39 -0
  100. package/dist/chunk-4RG7ZGOZ.mjs +76 -0
  101. package/dist/chunk-4TVIJFTY.mjs +41 -0
  102. package/dist/chunk-4UFFAAYI.mjs +29 -0
  103. package/dist/chunk-4V7KVWVD.mjs +34 -0
  104. package/dist/chunk-55FPWNBC.mjs +61 -0
  105. package/dist/chunk-5EQAM3IR.mjs +374 -0
  106. package/dist/chunk-5N4QW4WH.mjs +55 -0
  107. package/dist/chunk-5QFNPN2C.mjs +72 -0
  108. package/dist/chunk-5QYYCOPJ.mjs +186 -0
  109. package/dist/chunk-5SKARUX7.mjs +203 -0
  110. package/dist/chunk-5TDAWQZ6.mjs +89 -0
  111. package/dist/chunk-5VZFZIWT.mjs +37 -0
  112. package/dist/chunk-5WCKYEAK.mjs +57 -0
  113. package/dist/chunk-5XRE2LMI.mjs +39 -0
  114. package/dist/chunk-62HT53P7.mjs +98 -0
  115. package/dist/chunk-63T3V7T3.mjs +43 -0
  116. package/dist/chunk-6DOJJBKM.mjs +158 -0
  117. package/dist/chunk-6FXUATT6.mjs +31 -0
  118. package/dist/chunk-6G5OZ7F7.mjs +53 -0
  119. package/dist/chunk-6MWXFNJ7.mjs +43 -0
  120. package/dist/chunk-6QDZGS6I.mjs +74 -0
  121. package/dist/chunk-6R3GYXSX.mjs +107 -0
  122. package/dist/chunk-754A44NQ.mjs +25 -0
  123. package/dist/chunk-76342V4V.mjs +53 -0
  124. package/dist/chunk-7DNOFDAC.mjs +144 -0
  125. package/dist/chunk-7DNV4OOB.mjs +36 -0
  126. package/dist/chunk-7DVLILHM.mjs +36 -0
  127. package/dist/chunk-7IHZ4YUI.mjs +58 -0
  128. package/dist/chunk-7IJONQ5M.mjs +87 -0
  129. package/dist/chunk-7OVDXG5F.mjs +64 -0
  130. package/dist/chunk-7PO46XPE.mjs +97 -0
  131. package/dist/chunk-7QWU4RHN.mjs +50 -0
  132. package/dist/chunk-7S3O473U.mjs +44 -0
  133. package/dist/chunk-7V4UZYAP.mjs +177 -0
  134. package/dist/chunk-7WPXI5M5.mjs +100 -0
  135. package/dist/chunk-7ZK3RWTK.mjs +30 -0
  136. package/dist/chunk-A434KIVF.mjs +36 -0
  137. package/dist/chunk-ACDTS7FW.mjs +192 -0
  138. package/dist/chunk-AEMXR762.mjs +38 -0
  139. package/dist/chunk-AI7UQ3R6.mjs +34 -0
  140. package/dist/chunk-AKENKTU2.mjs +146 -0
  141. package/dist/chunk-ATBA76CY.mjs +26 -0
  142. package/dist/chunk-BAH7KB65.mjs +22 -0
  143. package/dist/chunk-BCCX6KVT.mjs +121 -0
  144. package/dist/chunk-BH2XPEPE.mjs +72 -0
  145. package/dist/chunk-BHKWHYQV.mjs +124 -0
  146. package/dist/chunk-BOH2CHZ5.mjs +55 -0
  147. package/dist/chunk-BSW6U4XU.mjs +65 -0
  148. package/dist/chunk-BTBO6PTL.mjs +96 -0
  149. package/dist/chunk-BYVRIGLP.mjs +88 -0
  150. package/dist/chunk-CFGQLYKY.mjs +64 -0
  151. package/dist/chunk-CINMPZYC.mjs +96 -0
  152. package/dist/chunk-CSAKARE4.mjs +54 -0
  153. package/dist/chunk-CWHMZ45M.mjs +96 -0
  154. package/dist/chunk-D4LIYE2K.mjs +72 -0
  155. package/dist/chunk-DDRA5FGA.mjs +56 -0
  156. package/dist/chunk-DFNMTLAN.mjs +112 -0
  157. package/dist/chunk-DGMXWFCL.mjs +57 -0
  158. package/dist/chunk-DQTMP7BS.mjs +59 -0
  159. package/dist/chunk-DXKGIJ7C.mjs +41 -0
  160. package/dist/chunk-DYRZKQCY.mjs +19 -0
  161. package/dist/chunk-DZ6JISBQ.mjs +41 -0
  162. package/dist/chunk-DZPN45IA.mjs +41 -0
  163. package/dist/chunk-E3FGC5QK.mjs +129 -0
  164. package/dist/chunk-E6A2MK2O.mjs +63 -0
  165. package/dist/chunk-ECKDOL3W.mjs +39 -0
  166. package/dist/chunk-EH6HRGXI.mjs +49 -0
  167. package/dist/chunk-EKYNALLO.mjs +29 -0
  168. package/dist/chunk-ELI7PF5E.mjs +83 -0
  169. package/dist/chunk-EM33YS3S.mjs +89 -0
  170. package/dist/chunk-EO74FIEH.mjs +37 -0
  171. package/dist/chunk-EOJPSTEK.mjs +134 -0
  172. package/dist/chunk-ESX6Q6VJ.mjs +54 -0
  173. package/dist/chunk-EZV6PZAV.mjs +21 -0
  174. package/dist/chunk-FGJTQJNO.mjs +89 -0
  175. package/dist/chunk-FJTCKSD7.mjs +57 -0
  176. package/dist/chunk-FKPUAKHH.mjs +95 -0
  177. package/dist/chunk-FOYBPUFA.mjs +47 -0
  178. package/dist/chunk-FPVXAJ2J.mjs +35 -0
  179. package/dist/chunk-FUBI7ADP.mjs +26 -0
  180. package/dist/chunk-FVLPKW7Z.mjs +52 -0
  181. package/dist/chunk-FVUGVS5L.mjs +41 -0
  182. package/dist/chunk-G2GUICYO.mjs +52 -0
  183. package/dist/chunk-GABD2A2B.mjs +61 -0
  184. package/dist/chunk-GH3E2AUP.mjs +21 -0
  185. package/dist/chunk-GWU6WUN5.mjs +19 -0
  186. package/dist/chunk-H3ZWPIA2.mjs +78 -0
  187. package/dist/chunk-H46BWW2L.mjs +30 -0
  188. package/dist/chunk-HCP46ZAL.mjs +107 -0
  189. package/dist/chunk-HEH2RF7I.mjs +35 -0
  190. package/dist/chunk-HJRWZOFI.mjs +53 -0
  191. package/dist/chunk-HMZ5KOPV.mjs +105 -0
  192. package/dist/chunk-HPRRSUM6.mjs +33 -0
  193. package/dist/chunk-HTGIWWA7.mjs +37 -0
  194. package/dist/chunk-HUUYGABV.mjs +229 -0
  195. package/dist/chunk-I5VVAONE.mjs +37 -0
  196. package/dist/chunk-I7URAA2D.mjs +58 -0
  197. package/dist/chunk-IDHF73VJ.mjs +93 -0
  198. package/dist/chunk-IFHLNQQT.mjs +93 -0
  199. package/dist/chunk-IICYJGGM.mjs +73 -0
  200. package/dist/chunk-IOD54SQ2.mjs +56 -0
  201. package/dist/chunk-IWQOYCRG.mjs +65 -0
  202. package/dist/chunk-IY46OEJE.mjs +306 -0
  203. package/dist/chunk-IZR4QWR2.mjs +74 -0
  204. package/dist/chunk-IZV2OCAF.mjs +64 -0
  205. package/dist/chunk-JJWMOWER.mjs +70 -0
  206. package/dist/chunk-JKCZ7TYY.mjs +138 -0
  207. package/dist/chunk-JPCI2YT5.mjs +19 -0
  208. package/dist/chunk-JTSPTQHQ.mjs +55 -0
  209. package/dist/chunk-JYCWPAL4.mjs +73 -0
  210. package/dist/chunk-K3QD6OVD.mjs +50 -0
  211. package/dist/chunk-KBQ4CMNC.mjs +17 -0
  212. package/dist/chunk-KEALF42B.mjs +57 -0
  213. package/dist/chunk-KF25OPS6.mjs +40 -0
  214. package/dist/chunk-KMASKMTO.mjs +28 -0
  215. package/dist/chunk-KPAVM766.mjs +43 -0
  216. package/dist/chunk-KQOQKH7P.mjs +72 -0
  217. package/dist/chunk-KR6SDJN6.mjs +156 -0
  218. package/dist/chunk-KTTPS6E5.mjs +21 -0
  219. package/dist/chunk-KXOERJ5R.mjs +38 -0
  220. package/dist/chunk-L4FRF5ST.mjs +34 -0
  221. package/dist/chunk-LD5KBMRT.mjs +46 -0
  222. package/dist/chunk-LOSNILM2.mjs +66 -0
  223. package/dist/chunk-LWKY6USX.mjs +156 -0
  224. package/dist/chunk-LYOSLA4S.mjs +67 -0
  225. package/dist/chunk-M4GABTFY.mjs +46 -0
  226. package/dist/chunk-M7NINWV6.mjs +86 -0
  227. package/dist/chunk-MDHB544N.mjs +64 -0
  228. package/dist/chunk-MICLKL5C.mjs +102 -0
  229. package/dist/chunk-MIJVA5YD.mjs +27 -0
  230. package/dist/chunk-MJEZSXQR.mjs +50 -0
  231. package/dist/chunk-MOAYWP7F.mjs +81 -0
  232. package/dist/chunk-MRD4O5EG.mjs +23 -0
  233. package/dist/chunk-MTBHIETI.mjs +93 -0
  234. package/dist/chunk-MW6GNI73.mjs +44 -0
  235. package/dist/chunk-MWNE32M5.mjs +36 -0
  236. package/dist/chunk-MXDMZSYV.mjs +38 -0
  237. package/dist/chunk-MYWNV5F3.mjs +105 -0
  238. package/dist/chunk-MZQNC4B2.mjs +421 -0
  239. package/dist/chunk-N5RAVQRR.mjs +29 -0
  240. package/dist/chunk-N7FD4KIM.mjs +40 -0
  241. package/dist/chunk-N7SPE4RG.mjs +54 -0
  242. package/dist/chunk-N7SQ2N6J.mjs +53 -0
  243. package/dist/chunk-NHRQUFUX.mjs +77 -0
  244. package/dist/chunk-NL4TFHYH.mjs +90 -0
  245. package/dist/chunk-NS3BWBKW.mjs +129 -0
  246. package/dist/chunk-NVDNGRDN.mjs +931 -0
  247. package/dist/chunk-NW4X76P6.mjs +28 -0
  248. package/dist/chunk-NWYU6IMK.mjs +58 -0
  249. package/dist/chunk-O62YTD3V.mjs +60 -0
  250. package/dist/chunk-OACTYOAR.mjs +105 -0
  251. package/dist/chunk-OADFIOVW.mjs +65 -0
  252. package/dist/chunk-ODOTE7HV.mjs +31 -0
  253. package/dist/chunk-OJ2CWGDX.mjs +234 -0
  254. package/dist/chunk-OKRAGSKZ.mjs +31 -0
  255. package/dist/chunk-OOK6CL5S.mjs +50 -0
  256. package/dist/chunk-OOPUNW7X.mjs +141 -0
  257. package/dist/chunk-OREANV5Y.mjs +122 -0
  258. package/dist/chunk-OSQR4RS6.mjs +29 -0
  259. package/dist/chunk-OTOGMM45.mjs +31 -0
  260. package/dist/chunk-OVAPXF32.mjs +283 -0
  261. package/dist/chunk-OXM2GN65.mjs +29 -0
  262. package/dist/chunk-P7GNDSPG.mjs +92 -0
  263. package/dist/chunk-PEEMT7UZ.mjs +90 -0
  264. package/dist/chunk-PHEYXK6C.mjs +33 -0
  265. package/dist/chunk-PHGB2ZNF.mjs +22 -0
  266. package/dist/chunk-PLN33YHN.mjs +152 -0
  267. package/dist/chunk-PMIBB7TT.mjs +35 -0
  268. package/dist/chunk-PO3KWA2T.mjs +44 -0
  269. package/dist/chunk-PYP5HL6B.mjs +52 -0
  270. package/dist/chunk-QD5GH24P.mjs +130 -0
  271. package/dist/chunk-QJ537P3Q.mjs +92 -0
  272. package/dist/chunk-QMLVGGWT.mjs +96 -0
  273. package/dist/chunk-QTQHLTTA.mjs +37 -0
  274. package/dist/chunk-QVYDP4YF.mjs +98 -0
  275. package/dist/chunk-QW6HJC6E.mjs +72 -0
  276. package/dist/chunk-QWD3NTRK.mjs +39 -0
  277. package/dist/chunk-QYRGAPSQ.mjs +28 -0
  278. package/dist/chunk-RBSU2YDG.mjs +143 -0
  279. package/dist/chunk-RCZFHDWV.mjs +82 -0
  280. package/dist/chunk-RECTN3PY.mjs +37 -0
  281. package/dist/chunk-RQHEOH4E.mjs +131 -0
  282. package/dist/chunk-RT2GPFOP.mjs +34 -0
  283. package/dist/chunk-RTHH6L2P.mjs +28 -0
  284. package/dist/chunk-RU3WBR6C.mjs +107 -0
  285. package/dist/chunk-RY2GIWN4.mjs +48 -0
  286. package/dist/chunk-RZO56MQ5.mjs +40 -0
  287. package/dist/chunk-RZPDZII4.mjs +91 -0
  288. package/dist/chunk-S6F4C4AN.mjs +17 -0
  289. package/dist/chunk-S7BWTMYF.mjs +18 -0
  290. package/dist/chunk-S7MUH6TF.mjs +98 -0
  291. package/dist/chunk-SBMOGTJU.mjs +49 -0
  292. package/dist/chunk-SEHSEEAP.mjs +59 -0
  293. package/dist/chunk-SFJW53QW.mjs +29 -0
  294. package/dist/chunk-SGCH3ADR.mjs +61 -0
  295. package/dist/chunk-SJXEIMJG.mjs +23 -0
  296. package/dist/chunk-SME75MDR.mjs +69 -0
  297. package/dist/chunk-SOSLW7OD.mjs +37 -0
  298. package/dist/chunk-SSWTK56H.mjs +33 -0
  299. package/dist/chunk-SUJ46ITU.mjs +30 -0
  300. package/dist/chunk-SUZBWU64.mjs +111 -0
  301. package/dist/chunk-SXZNJTY6.mjs +81 -0
  302. package/dist/chunk-SYRAUUDM.mjs +34 -0
  303. package/dist/chunk-T3PZYOR5.mjs +141 -0
  304. package/dist/chunk-T72AY6AN.mjs +87 -0
  305. package/dist/chunk-TG6MIYIG.mjs +145 -0
  306. package/dist/chunk-TGKFMVR5.mjs +56 -0
  307. package/dist/chunk-TGPVDA2E.mjs +29 -0
  308. package/dist/chunk-THGDTVTG.mjs +72 -0
  309. package/dist/chunk-THLRZKV6.mjs +140 -0
  310. package/dist/chunk-TJ4EBUNA.mjs +236 -0
  311. package/dist/chunk-TK5ESFQE.mjs +17 -0
  312. package/dist/chunk-TLV4GEBC.mjs +66 -0
  313. package/dist/chunk-TNJK4EEC.mjs +46 -0
  314. package/dist/chunk-TR4SMGAB.mjs +62 -0
  315. package/dist/chunk-TSDBX26B.mjs +65 -0
  316. package/dist/chunk-TU25OJGL.mjs +69 -0
  317. package/dist/chunk-TUFVJOG3.mjs +24 -0
  318. package/dist/chunk-U3FRICI3.mjs +73 -0
  319. package/dist/chunk-UA5ZN5FB.mjs +113 -0
  320. package/dist/chunk-UKQKHDTK.mjs +109 -0
  321. package/dist/chunk-UNJHXB33.mjs +356 -0
  322. package/dist/chunk-UVUUNWIB.mjs +33 -0
  323. package/dist/chunk-UZEZUMU3.mjs +69 -0
  324. package/dist/chunk-VAOG5Q4J.mjs +60 -0
  325. package/dist/chunk-VESKUCBM.mjs +19 -0
  326. package/dist/chunk-VFCKOQAG.mjs +37 -0
  327. package/dist/chunk-VGZZ5WWZ.mjs +34 -0
  328. package/dist/chunk-VT6UVRUK.mjs +191 -0
  329. package/dist/chunk-VU5NGO62.mjs +79 -0
  330. package/dist/chunk-VUMGZLUD.mjs +46 -0
  331. package/dist/chunk-VUPGUO7S.mjs +36 -0
  332. package/dist/chunk-VYROA6XP.mjs +145 -0
  333. package/dist/chunk-W3I5J6QO.mjs +106 -0
  334. package/dist/chunk-WA4EZBP4.mjs +29 -0
  335. package/dist/chunk-WAQCRODX.mjs +31 -0
  336. package/dist/chunk-WBOMXAHO.mjs +94 -0
  337. package/dist/chunk-WGBB3VIS.mjs +30 -0
  338. package/dist/chunk-WHCEAVEY.mjs +32 -0
  339. package/dist/chunk-WNEBUTWJ.mjs +51 -0
  340. package/dist/chunk-WV4ZTPWD.mjs +146 -0
  341. package/dist/chunk-XBO4544D.mjs +69 -0
  342. package/dist/chunk-XDDKTY2Y.mjs +36 -0
  343. package/dist/chunk-XGB3TDIC.mjs +42 -0
  344. package/dist/chunk-XJC57WO7.mjs +73 -0
  345. package/dist/chunk-XQCU5DYI.mjs +72 -0
  346. package/dist/chunk-XRIBDAMP.mjs +34 -0
  347. package/dist/chunk-XS2YVWV3.mjs +20 -0
  348. package/dist/chunk-XVV62UGS.mjs +51 -0
  349. package/dist/chunk-XW4XI3VW.mjs +80 -0
  350. package/dist/chunk-XWTEQUC3.mjs +40 -0
  351. package/dist/chunk-XWXIP545.mjs +152 -0
  352. package/dist/chunk-XY3SFZYM.mjs +4715 -0
  353. package/dist/chunk-XY4A63YZ.mjs +97 -0
  354. package/dist/chunk-Y56MCF6T.mjs +47 -0
  355. package/dist/chunk-Y6ESNTDP.mjs +41 -0
  356. package/dist/chunk-YA533AI6.mjs +81 -0
  357. package/dist/chunk-YDLI5CNE.mjs +31 -0
  358. package/dist/chunk-YSVVB5LE.mjs +43 -0
  359. package/dist/chunk-YUZH6CL5.mjs +87 -0
  360. package/dist/chunk-Z7F2RQLW.mjs +20 -0
  361. package/dist/chunk-ZA5QJ6DQ.mjs +51 -0
  362. package/dist/chunk-ZAI5UH3N.mjs +100 -0
  363. package/dist/chunk-ZANS26VH.mjs +145 -0
  364. package/dist/chunk-ZAOYQDOD.mjs +57 -0
  365. package/dist/chunk-ZDDMHBHL.mjs +31 -0
  366. package/dist/chunk-ZJHA5XZO.mjs +22 -0
  367. package/dist/chunk-ZJYVOTZA.mjs +154 -0
  368. package/dist/chunk-ZUKZIHVA.mjs +88 -0
  369. package/dist/chunk-ZXGNAYWP.mjs +57 -0
  370. package/dist/cil-YRE4UURD.mjs +7 -0
  371. package/dist/cilkc-G572IBC7.mjs +9 -0
  372. package/dist/cilkcpp-6SAZDXPW.mjs +10 -0
  373. package/dist/clean-FJLAWUXX.mjs +36 -0
  374. package/dist/clike-FS7B7WW3.mjs +7 -0
  375. package/dist/clojure-ASBJFGNL.mjs +127 -0
  376. package/dist/clojure-HH5QX2UK.mjs +7 -0
  377. package/dist/clojure-repl-RDW3JGM2.mjs +26 -0
  378. package/dist/cmake-7J5VAFMK.mjs +34 -0
  379. package/dist/cmake-T6PE43VR.mjs +7 -0
  380. package/dist/cobol-2BD46NGT.mjs +7 -0
  381. package/dist/coffeescript-WPWUHIWD.mjs +9 -0
  382. package/dist/coffeescript-ZRYLFQOR.mjs +348 -0
  383. package/dist/concurnas-TEK3JBW6.mjs +7 -0
  384. package/dist/cooklang-C2V6BKDL.mjs +7 -0
  385. package/dist/coq-4GTV2VXM.mjs +35 -0
  386. package/dist/coq-RQ6SCJN7.mjs +7 -0
  387. package/dist/core-4UES5HKF.mjs +1811 -0
  388. package/dist/core-CPWKQ3IY.mjs +7 -0
  389. package/dist/cos-BZB25TYG.mjs +98 -0
  390. package/dist/cpp-J6PQVS2B.mjs +409 -0
  391. package/dist/cpp-P4KC7YUB.mjs +9 -0
  392. package/dist/crmsh-VU5MOXZH.mjs +97 -0
  393. package/dist/crystal-2TNIDRTX.mjs +322 -0
  394. package/dist/crystal-GZXKWV3C.mjs +9 -0
  395. package/dist/csharp-MUVCC3YS.mjs +8 -0
  396. package/dist/csharp-YTH2D46I.mjs +438 -0
  397. package/dist/cshtml-WIFQIXUS.mjs +10 -0
  398. package/dist/csp-2H7CLML6.mjs +7 -0
  399. package/dist/csp-IKSZA33Q.mjs +34 -0
  400. package/dist/css-GQ232ZQV.mjs +7 -0
  401. package/dist/css-SUOIAH2P.mjs +597 -0
  402. package/dist/css-extras-EBRE32SN.mjs +8 -0
  403. package/dist/csv-67R7MV2S.mjs +7 -0
  404. package/dist/cue-KGSABPGJ.mjs +7 -0
  405. package/dist/cypher-GWXCFCKX.mjs +7 -0
  406. package/dist/d-AQ27RRXD.mjs +8 -0
  407. package/dist/d-JHSHS2PG.mjs +121 -0
  408. package/dist/dart-BWRZHUYF.mjs +8 -0
  409. package/dist/dart-P5PFNPCT.mjs +189 -0
  410. package/dist/dataweave-2Y6B3NWQ.mjs +7 -0
  411. package/dist/dax-5PD3432L.mjs +7 -0
  412. package/dist/delphi-2HIYKQU2.mjs +118 -0
  413. package/dist/dhall-BTJS6FLP.mjs +7 -0
  414. package/dist/diff-4QUQAZKU.mjs +7 -0
  415. package/dist/diff-5OGJ2HRX.mjs +85 -0
  416. package/dist/django-H2KQ7Z3S.mjs +9 -0
  417. package/dist/django-R35GTRCJ.mjs +57 -0
  418. package/dist/dns-JOIVBIAM.mjs +45 -0
  419. package/dist/dns-zone-file-OASK2PTP.mjs +7 -0
  420. package/dist/docker-JBCNWTNW.mjs +7 -0
  421. package/dist/dockerfile-OWHHZZA6.mjs +33 -0
  422. package/dist/dos-U6YT2UEV.mjs +61 -0
  423. package/dist/dot-PIMAKAI6.mjs +7 -0
  424. package/dist/dsconfig-C7GN5KJO.mjs +66 -0
  425. package/dist/dts-BM4V65VV.mjs +144 -0
  426. package/dist/dust-5CKR2HZD.mjs +44 -0
  427. package/dist/ebnf-IRIFWT24.mjs +7 -0
  428. package/dist/ebnf-JJ2Y3DSG.mjs +51 -0
  429. package/dist/editorconfig-RZKJ6ENV.mjs +7 -0
  430. package/dist/eiffel-UXUGBRGT.mjs +7 -0
  431. package/dist/ejs-JM25YZ3P.mjs +11 -0
  432. package/dist/elixir-35SHVRV3.mjs +260 -0
  433. package/dist/elixir-FLOMFEBC.mjs +7 -0
  434. package/dist/elm-3IARWMB4.mjs +7 -0
  435. package/dist/elm-WZHLV3WH.mjs +120 -0
  436. package/dist/erb-IHRTJJEQ.mjs +11 -0
  437. package/dist/erb-V33F6ITN.mjs +27 -0
  438. package/dist/erlang-4NE5CUIK.mjs +192 -0
  439. package/dist/erlang-ONMGKT4M.mjs +7 -0
  440. package/dist/erlang-repl-AIC2Z7PG.mjs +70 -0
  441. package/dist/etlua-SMEGK7VU.mjs +10 -0
  442. package/dist/excel-PTLW5JPV.mjs +69 -0
  443. package/dist/excel-formula-KV2SGN6Q.mjs +7 -0
  444. package/dist/factor-2QWMCVYN.mjs +7 -0
  445. package/dist/false-BX5JOWRV.mjs +7 -0
  446. package/dist/firestore-security-rules-TGZRZ3CB.mjs +8 -0
  447. package/dist/fix-4ZYTHNSL.mjs +40 -0
  448. package/dist/flix-V2O64U6J.mjs +51 -0
  449. package/dist/flow-IT2JXIMP.mjs +9 -0
  450. package/dist/fortran-4O2ULU7C.mjs +102 -0
  451. package/dist/fortran-UYDL3EVR.mjs +7 -0
  452. package/dist/fsharp-EZRBHBY5.mjs +79 -0
  453. package/dist/fsharp-LT4UJREO.mjs +8 -0
  454. package/dist/ftl-ZDCJEZNJ.mjs +9 -0
  455. package/dist/gams-XSPWRYDU.mjs +177 -0
  456. package/dist/gap-4SJEWII4.mjs +7 -0
  457. package/dist/gauss-DURKBAW3.mjs +206 -0
  458. package/dist/gcode-5SWA4U2P.mjs +88 -0
  459. package/dist/gcode-RP4FTIIP.mjs +7 -0
  460. package/dist/gdscript-NMR5LFH5.mjs +7 -0
  461. package/dist/gedcom-2B3SVA3H.mjs +7 -0
  462. package/dist/gettext-EVA4F76G.mjs +7 -0
  463. package/dist/gherkin-FTUCU67Q.mjs +7 -0
  464. package/dist/gherkin-VACBFCMP.mjs +51 -0
  465. package/dist/git-LP6JVSXJ.mjs +7 -0
  466. package/dist/glsl-HGSPX5CL.mjs +39 -0
  467. package/dist/glsl-PPWOIU6X.mjs +9 -0
  468. package/dist/gml-LPPIAUB4.mjs +32 -0
  469. package/dist/gml-N4E3ANXQ.mjs +8 -0
  470. package/dist/gn-WCA5SNEM.mjs +7 -0
  471. package/dist/go-KM2DGIA5.mjs +8 -0
  472. package/dist/go-QQNQKIF7.mjs +69 -0
  473. package/dist/go-module-AGBBSEAE.mjs +7 -0
  474. package/dist/golo-KXH2VOUB.mjs +29 -0
  475. package/dist/gradle-52TJP3VI.mjs +8 -0
  476. package/dist/gradle-AG5KCSXT.mjs +28 -0
  477. package/dist/graphql-SAHX5OYU.mjs +7 -0
  478. package/dist/groovy-KLOOZRDQ.mjs +8 -0
  479. package/dist/groovy-MBMZKNYX.mjs +147 -0
  480. package/dist/haml-HHZB5W24.mjs +9 -0
  481. package/dist/haml-RK7PIQSA.mjs +117 -0
  482. package/dist/handlebars-4PJDAX4P.mjs +9 -0
  483. package/dist/handlebars-QNCCSFVH.mjs +270 -0
  484. package/dist/haskell-35ZVQPTJ.mjs +163 -0
  485. package/dist/haskell-MAVWIOZH.mjs +7 -0
  486. package/dist/haxe-6ZTT6RMP.mjs +8 -0
  487. package/dist/haxe-G6EATY6F.mjs +162 -0
  488. package/dist/hcl-FFCI2DKU.mjs +7 -0
  489. package/dist/hlsl-Z3FZ4RZK.mjs +9 -0
  490. package/dist/hoon-INKNRABL.mjs +7 -0
  491. package/dist/hpkp-GSNLXGTL.mjs +7 -0
  492. package/dist/hsp-IFX23E6U.mjs +62 -0
  493. package/dist/hsts-IYS5GEJN.mjs +7 -0
  494. package/dist/htmlbars-IOID7EMK.mjs +278 -0
  495. package/dist/http-NQYCN63Q.mjs +7 -0
  496. package/dist/http-XU33RS7I.mjs +106 -0
  497. package/dist/hy-ELU377BW.mjs +82 -0
  498. package/dist/ichigojam-X2WWCPLV.mjs +7 -0
  499. package/dist/icon-LRSYHUO7.mjs +7 -0
  500. package/dist/icu-message-format-JVFOUKPS.mjs +7 -0
  501. package/dist/idris-CEE7D6AM.mjs +8 -0
  502. package/dist/iecst-XOMTH73H.mjs +7 -0
  503. package/dist/ignore-ZR2544A4.mjs +7 -0
  504. package/dist/index.css +17457 -669
  505. package/dist/index.d.mts +1 -0
  506. package/dist/index.d.ts +1 -0
  507. package/dist/index.js +45193 -4396
  508. package/dist/index.mjs +44319 -3580
  509. package/dist/inform7-IDL2KFJ7.mjs +66 -0
  510. package/dist/inform7-YKVLKSQL.mjs +7 -0
  511. package/dist/ini-N7MUN5QN.mjs +148 -0
  512. package/dist/ini-THTO5GVB.mjs +7 -0
  513. package/dist/io-J6GZOZ5C.mjs +7 -0
  514. package/dist/irpf90-AWBOMEIQ.mjs +81 -0
  515. package/dist/isbl-TSEQ7FOO.mjs +268 -0
  516. package/dist/j-IELAW4UU.mjs +7 -0
  517. package/dist/java-722FU55R.mjs +8 -0
  518. package/dist/java-GWOUOOKW.mjs +177 -0
  519. package/dist/javadoc-N57RV42T.mjs +11 -0
  520. package/dist/javadoclike-6J3DSPWW.mjs +7 -0
  521. package/dist/javascript-OM2MCADZ.mjs +8 -0
  522. package/dist/javascript-ULGS5R46.mjs +552 -0
  523. package/dist/javastacktrace-DQVTOFYD.mjs +7 -0
  524. package/dist/jboss-cli-VUCIQY5K.mjs +62 -0
  525. package/dist/jexl-ZGZJN5OF.mjs +7 -0
  526. package/dist/jolie-EQVODTJD.mjs +8 -0
  527. package/dist/jq-YVFU5AWP.mjs +7 -0
  528. package/dist/js-extras-57FPNBXW.mjs +9 -0
  529. package/dist/js-templates-2DPJCSU2.mjs +9 -0
  530. package/dist/jsdoc-GUQPZ3ZS.mjs +11 -0
  531. package/dist/json-7Y5IBZ2V.mjs +65 -0
  532. package/dist/json-Y4YWH64N.mjs +7 -0
  533. package/dist/json5-3ZNGU7BH.mjs +8 -0
  534. package/dist/jsonp-NEXZVDH7.mjs +8 -0
  535. package/dist/jsstacktrace-TJFVDG3O.mjs +7 -0
  536. package/dist/jsx-GLG6KDRK.mjs +10 -0
  537. package/dist/julia-UY534OMH.mjs +7 -0
  538. package/dist/julia-YUF5KXDF.mjs +356 -0
  539. package/dist/julia-repl-AARVGINQ.mjs +35 -0
  540. package/dist/keepalived-ZOQ77KEJ.mjs +7 -0
  541. package/dist/keyman-BUHD37DK.mjs +7 -0
  542. package/dist/kotlin-DKIV2GEM.mjs +264 -0
  543. package/dist/kotlin-VI7A4NKA.mjs +8 -0
  544. package/dist/kumir-ZC5SU35L.mjs +7 -0
  545. package/dist/kusto-XZ2FV6AI.mjs +7 -0
  546. package/dist/lasso-ZY54F4IA.mjs +170 -0
  547. package/dist/latex-FWIXYEKF.mjs +7 -0
  548. package/dist/latex-WYTYY6RV.mjs +259 -0
  549. package/dist/latte-JE3MNAEG.mjs +11 -0
  550. package/dist/ldif-IEP736RO.mjs +45 -0
  551. package/dist/leaf-U6YJ3OGP.mjs +52 -0
  552. package/dist/less-PYQ7ZK5A.mjs +659 -0
  553. package/dist/less-WP7AM7XI.mjs +8 -0
  554. package/dist/lilypond-43E76A5Q.mjs +8 -0
  555. package/dist/linker-script-LQ4KR7VC.mjs +7 -0
  556. package/dist/liquid-2AWGQUZ4.mjs +9 -0
  557. package/dist/lisp-2L53WZSA.mjs +118 -0
  558. package/dist/lisp-SNLPHUWF.mjs +7 -0
  559. package/dist/livecodeserver-RZGBM2CO.mjs +119 -0
  560. package/dist/livescript-CLZAEYB6.mjs +366 -0
  561. package/dist/livescript-OJ5LGXSC.mjs +7 -0
  562. package/dist/llvm-OIVBLGD5.mjs +7 -0
  563. package/dist/llvm-WFNDMERA.mjs +100 -0
  564. package/dist/log-LDC2NVL6.mjs +7 -0
  565. package/dist/lolcode-UZ252U55.mjs +7 -0
  566. package/dist/lsl-JY35W7LO.mjs +90 -0
  567. package/dist/lua-D2BZANEV.mjs +71 -0
  568. package/dist/lua-XVFDVHQK.mjs +7 -0
  569. package/dist/magma-L5NDFMMN.mjs +7 -0
  570. package/dist/makefile-2CG3OXVG.mjs +82 -0
  571. package/dist/makefile-NGTKFIXZ.mjs +7 -0
  572. package/dist/markdown-A4NX4A6L.mjs +8 -0
  573. package/dist/markdown-IHBE4MKJ.mjs +239 -0
  574. package/dist/markup-HCXBTEZ7.mjs +7 -0
  575. package/dist/markup-templating-C66KTY6A.mjs +8 -0
  576. package/dist/mata-FLZY4RWV.mjs +7 -0
  577. package/dist/mathematica-AYPZ3QST.mjs +6751 -0
  578. package/dist/matlab-Q6LDWTEU.mjs +7 -0
  579. package/dist/matlab-UCJ24URL.mjs +87 -0
  580. package/dist/maxima-523C74JG.mjs +63 -0
  581. package/dist/maxscript-J7RQUQ2F.mjs +7 -0
  582. package/dist/mel-FJJ4ECGN.mjs +7 -0
  583. package/dist/mel-HUZYFVHA.mjs +35 -0
  584. package/dist/mercury-R4QGO6FN.mjs +99 -0
  585. package/dist/mermaid-IHYYCULY.mjs +7 -0
  586. package/dist/metafont-EQH5XHTJ.mjs +7 -0
  587. package/dist/mipsasm-FPYIDE2F.mjs +85 -0
  588. package/dist/mizar-BIU72JTT.mjs +20 -0
  589. package/dist/mizar-VWKUP4DM.mjs +7 -0
  590. package/dist/mojolicious-U6HTNPMW.mjs +37 -0
  591. package/dist/mongodb-Y446M27Q.mjs +9 -0
  592. package/dist/monkey-QBSUEB7X.mjs +84 -0
  593. package/dist/monkey-ZLXT2TMM.mjs +7 -0
  594. package/dist/moonscript-J37GCPCT.mjs +148 -0
  595. package/dist/moonscript-XDVT5TOO.mjs +7 -0
  596. package/dist/n1ql-HX5KYN7H.mjs +7 -0
  597. package/dist/n1ql-WR7J7HE5.mjs +56 -0
  598. package/dist/n4js-4M3LNEWR.mjs +9 -0
  599. package/dist/nand2tetris-hdl-4JWHOWVK.mjs +7 -0
  600. package/dist/naniscript-FVUNURMA.mjs +7 -0
  601. package/dist/nasm-4DUNOQOO.mjs +7 -0
  602. package/dist/neon-LHL4JZWS.mjs +7 -0
  603. package/dist/nevod-S6MTBD5A.mjs +7 -0
  604. package/dist/nginx-IWNFMNA3.mjs +7 -0
  605. package/dist/nginx-KEJJJFJN.mjs +138 -0
  606. package/dist/nim-HBQDV2T5.mjs +70 -0
  607. package/dist/nim-HLL4Y255.mjs +7 -0
  608. package/dist/nix-CXMYD7HR.mjs +7 -0
  609. package/dist/nix-GZSAQCUN.mjs +63 -0
  610. package/dist/node-repl-EEKRERWT.mjs +38 -0
  611. package/dist/nsis-WZO2K2J3.mjs +110 -0
  612. package/dist/nsis-Y646M2P2.mjs +7 -0
  613. package/dist/objectivec-IMHOUOJ2.mjs +96 -0
  614. package/dist/objectivec-IOMOLCTB.mjs +9 -0
  615. package/dist/ocaml-7QTKLP5D.mjs +7 -0
  616. package/dist/ocaml-ACEIVX7F.mjs +74 -0
  617. package/dist/odin-I7C3ILYL.mjs +7 -0
  618. package/dist/opencl-OMZP35MY.mjs +9 -0
  619. package/dist/openqasm-6RGNU2HP.mjs +7 -0
  620. package/dist/openscad-FXXLX6F2.mjs +82 -0
  621. package/dist/oxygene-KGSDJDIY.mjs +95 -0
  622. package/dist/oz-5EULHBWM.mjs +7 -0
  623. package/dist/parigp-4PXJRQGS.mjs +7 -0
  624. package/dist/parser-CZEI4TJ2.mjs +8 -0
  625. package/dist/parser3-JUOZOILH.mjs +58 -0
  626. package/dist/pascal-QOIGX5XW.mjs +7 -0
  627. package/dist/pascaligo-H3MPVMH3.mjs +7 -0
  628. package/dist/pcaxis-OZL6YSKR.mjs +7 -0
  629. package/dist/peoplecode-O3OGA5RP.mjs +7 -0
  630. package/dist/perl-FMRNFENS.mjs +7 -0
  631. package/dist/perl-RLCF4QMX.mjs +480 -0
  632. package/dist/pf-W6H6TUYT.mjs +44 -0
  633. package/dist/pgsql-MLOGQRPN.mjs +388 -0
  634. package/dist/php-I7LAZFPK.mjs +192 -0
  635. package/dist/php-UGHON5C5.mjs +9 -0
  636. package/dist/php-extras-54HPBO6E.mjs +10 -0
  637. package/dist/php-template-5ELRARXU.mjs +55 -0
  638. package/dist/phpdoc-46GAUY2G.mjs +11 -0
  639. package/dist/plaintext-RJSHR3EV.mjs +21 -0
  640. package/dist/plant-uml-BCYVI3VA.mjs +7 -0
  641. package/dist/plsql-DOMHSS7F.mjs +8 -0
  642. package/dist/pony-FYJUCREG.mjs +65 -0
  643. package/dist/powerquery-B5ZLZLMD.mjs +7 -0
  644. package/dist/powershell-J7JCQMBG.mjs +7 -0
  645. package/dist/powershell-MUZJ7ZCQ.mjs +280 -0
  646. package/dist/processing-QNRQTPM7.mjs +8 -0
  647. package/dist/processing-YGWYJKJ4.mjs +29 -0
  648. package/dist/profile-NLKLFYNE.mjs +46 -0
  649. package/dist/prolog-NJCRPQKA.mjs +7 -0
  650. package/dist/prolog-OFIFP3EA.mjs +90 -0
  651. package/dist/promql-5TLEEYRV.mjs +7 -0
  652. package/dist/properties-HDOTNPIE.mjs +7 -0
  653. package/dist/properties-W6JQE7VR.mjs +82 -0
  654. package/dist/protobuf-YECVLUMQ.mjs +8 -0
  655. package/dist/protobuf-ZZTWT6VA.mjs +51 -0
  656. package/dist/psl-SLOMMI5X.mjs +7 -0
  657. package/dist/pug-HQSBZGX7.mjs +10 -0
  658. package/dist/puppet-DRCO2N5W.mjs +121 -0
  659. package/dist/puppet-YP2P2WRM.mjs +7 -0
  660. package/dist/pure-4QGPK3UF.mjs +7 -0
  661. package/dist/purebasic-33O35PBV.mjs +70 -0
  662. package/dist/purebasic-KJBBDSNJ.mjs +8 -0
  663. package/dist/purescript-LPW3CF2R.mjs +8 -0
  664. package/dist/python-N2M2CZUF.mjs +7 -0
  665. package/dist/python-UYON7Z4A.mjs +412 -0
  666. package/dist/python-repl-GKWNKNMA.mjs +38 -0
  667. package/dist/q-HAXVLG5L.mjs +7 -0
  668. package/dist/q-RNK5VR5U.mjs +33 -0
  669. package/dist/qml-L5SPX6SZ.mjs +177 -0
  670. package/dist/qml-QSVYOHLP.mjs +9 -0
  671. package/dist/qore-ZYAGJXXN.mjs +8 -0
  672. package/dist/qsharp-MHWH4I5Y.mjs +8 -0
  673. package/dist/r-E66S76M2.mjs +175 -0
  674. package/dist/r-ZWI64WIV.mjs +7 -0
  675. package/dist/racket-NUFYLAZT.mjs +8 -0
  676. package/dist/reason-PPKVJNWC.mjs +8 -0
  677. package/dist/reasonml-D7ICMCDX.mjs +294 -0
  678. package/dist/regex-EXOCHWOR.mjs +7 -0
  679. package/dist/rego-HKIDMTIU.mjs +7 -0
  680. package/dist/renpy-T2HG2SSA.mjs +7 -0
  681. package/dist/rescript-ANGRYZYI.mjs +7 -0
  682. package/dist/rest-OONP3M3I.mjs +7 -0
  683. package/dist/rib-WHUZBKQW.mjs +24 -0
  684. package/dist/rip-JT3AV3ZF.mjs +7 -0
  685. package/dist/roboconf-CDGQOQTT.mjs +7 -0
  686. package/dist/roboconf-PUCPJKJ4.mjs +78 -0
  687. package/dist/robotframework-JVVKXLIK.mjs +7 -0
  688. package/dist/routeros-ZTXOIMQP.mjs +163 -0
  689. package/dist/rsl-34AHDDUL.mjs +42 -0
  690. package/dist/ruby-3LI2AHX7.mjs +346 -0
  691. package/dist/ruby-AHHNGCKK.mjs +8 -0
  692. package/dist/ruleslanguage-JWZM6QNW.mjs +40 -0
  693. package/dist/rust-2MGEZRLY.mjs +123 -0
  694. package/dist/rust-IX6J6ZTR.mjs +7 -0
  695. package/dist/sas-JMD45HJJ.mjs +7 -0
  696. package/dist/sas-MVDXBSSQ.mjs +66 -0
  697. package/dist/sass-U6KWLBDJ.mjs +8 -0
  698. package/dist/scala-HVWSZ32N.mjs +9 -0
  699. package/dist/scala-XIE3PKJL.mjs +131 -0
  700. package/dist/scheme-PZPGHXKY.mjs +7 -0
  701. package/dist/scheme-XV6XP6VA.mjs +159 -0
  702. package/dist/scilab-V63SVWMK.mjs +69 -0
  703. package/dist/scss-2VMIUDSO.mjs +551 -0
  704. package/dist/scss-ASWRCX3G.mjs +8 -0
  705. package/dist/shell-IZYRVAFX.mjs +30 -0
  706. package/dist/shell-session-UOX4YXKE.mjs +8 -0
  707. package/dist/smali-6RCW3WQY.mjs +137 -0
  708. package/dist/smali-OHEK3NZO.mjs +7 -0
  709. package/dist/smalltalk-QLVKEXC2.mjs +66 -0
  710. package/dist/smalltalk-TEOPL6AU.mjs +7 -0
  711. package/dist/smarty-ZFOMPN4W.mjs +9 -0
  712. package/dist/sml-FGV47VGE.mjs +7 -0
  713. package/dist/sml-NTZE7R52.mjs +81 -0
  714. package/dist/solidity-4HZRZLMF.mjs +8 -0
  715. package/dist/solution-file-2QV64SEX.mjs +7 -0
  716. package/dist/soy-IFZCQULH.mjs +9 -0
  717. package/dist/sparql-EG2K2U3S.mjs +8 -0
  718. package/dist/splunk-spl-X5YPCVDV.mjs +7 -0
  719. package/dist/sqf-62S54DIH.mjs +86 -0
  720. package/dist/sqf-WQH354LU.mjs +8 -0
  721. package/dist/sql-52G7GGJC.mjs +7 -0
  722. package/dist/sql-SKP6BNNP.mjs +655 -0
  723. package/dist/sql_more-OZMVMQKA.mjs +60 -0
  724. package/dist/squirrel-LA67D7CO.mjs +8 -0
  725. package/dist/stan-QGZG32SN.mjs +547 -0
  726. package/dist/stan-TSCC4WAD.mjs +7 -0
  727. package/dist/stata-44RVJLB2.mjs +54 -0
  728. package/dist/stata-TSHGHSMX.mjs +11 -0
  729. package/dist/step21-MV22OYON.mjs +68 -0
  730. package/dist/stylus-2Q5AJWS4.mjs +7 -0
  731. package/dist/stylus-PRETMACV.mjs +605 -0
  732. package/dist/subunit-UE42ABBA.mjs +54 -0
  733. package/dist/supercollider-4VHY6MTT.mjs +7 -0
  734. package/dist/swift-G2NKY7QY.mjs +799 -0
  735. package/dist/swift-JULQGBP2.mjs +7 -0
  736. package/dist/systemd-AFYQMAEU.mjs +7 -0
  737. package/dist/t4-cs-TBCUE47Q.mjs +10 -0
  738. package/dist/t4-templating-OAQC3S3Y.mjs +7 -0
  739. package/dist/t4-vb-RBZOFV75.mjs +10 -0
  740. package/dist/taggerscript-PXHDM45Q.mjs +53 -0
  741. package/dist/tap-LK2IT22W.mjs +8 -0
  742. package/dist/tap-XGK3T6QN.mjs +56 -0
  743. package/dist/tcl-4H3FXND5.mjs +7 -0
  744. package/dist/tcl-PHBZ5XE7.mjs +83 -0
  745. package/dist/textile-O7XZJJEO.mjs +8 -0
  746. package/dist/thrift-3SH24AYU.mjs +49 -0
  747. package/dist/toml-ZHYFQ3NV.mjs +7 -0
  748. package/dist/tp-UM6XVRRQ.mjs +91 -0
  749. package/dist/tremor-UKAZJW2S.mjs +7 -0
  750. package/dist/tsx-6DBHBUE7.mjs +12 -0
  751. package/dist/tt2-II2TOZJ6.mjs +10 -0
  752. package/dist/turtle-OE42RVV4.mjs +7 -0
  753. package/dist/twig-RTTZQTCM.mjs +9 -0
  754. package/dist/twig-UTFVP7UA.mjs +70 -0
  755. package/dist/typescript-AZC4ZHDM.mjs +628 -0
  756. package/dist/typescript-RL2WQRO6.mjs +9 -0
  757. package/dist/typoscript-XDWVOS64.mjs +7 -0
  758. package/dist/unrealscript-5ULD2X4J.mjs +7 -0
  759. package/dist/uorazor-PEN5JTRE.mjs +7 -0
  760. package/dist/uri-4IZ2ZWKP.mjs +7 -0
  761. package/dist/v-RFPT3TBN.mjs +8 -0
  762. package/dist/vala-54BUYZ3S.mjs +8 -0
  763. package/dist/vala-AAE6TFAW.mjs +51 -0
  764. package/dist/vbnet-H3ZNUTC5.mjs +164 -0
  765. package/dist/vbnet-LJDGPXO2.mjs +8 -0
  766. package/dist/vbscript-57VNMJF2.mjs +68 -0
  767. package/dist/vbscript-html-J5JM3SKV.mjs +24 -0
  768. package/dist/velocity-HQ4T4A54.mjs +8 -0
  769. package/dist/verilog-7NT7EJGA.mjs +7 -0
  770. package/dist/verilog-ANGIOWVV.mjs +72 -0
  771. package/dist/vhdl-NX4QKOIC.mjs +51 -0
  772. package/dist/vhdl-VX2UYEVO.mjs +7 -0
  773. package/dist/vim-3SJLYJSB.mjs +7 -0
  774. package/dist/vim-62XS5Y6F.mjs +74 -0
  775. package/dist/visual-basic-CNSXP3UO.mjs +7 -0
  776. package/dist/warpscript-6ET4LZCO.mjs +7 -0
  777. package/dist/wasm-NUUJRPYP.mjs +7 -0
  778. package/dist/web-idl-KASGSPXL.mjs +7 -0
  779. package/dist/wgsl-7JRXO5OU.mjs +7 -0
  780. package/dist/wiki-OLJOWBA6.mjs +8 -0
  781. package/dist/wolfram-MRNL76EA.mjs +7 -0
  782. package/dist/wren-TWP46OPU.mjs +7 -0
  783. package/dist/x86asm-H7IK6VYL.mjs +106 -0
  784. package/dist/xeora-PVWNPKV3.mjs +8 -0
  785. package/dist/xl-MAP3OQ5S.mjs +77 -0
  786. package/dist/xml-52KJUQTB.mjs +254 -0
  787. package/dist/xml-doc-G6YQYBWL.mjs +8 -0
  788. package/dist/xojo-5BMY4LBI.mjs +7 -0
  789. package/dist/xquery-NOINRBO7.mjs +161 -0
  790. package/dist/xquery-YDQPVTTO.mjs +8 -0
  791. package/dist/yaml-6KRYN74Z.mjs +7 -0
  792. package/dist/yaml-IAMDQNSY.mjs +173 -0
  793. package/dist/yang-ELRCLBBD.mjs +7 -0
  794. package/dist/zephir-ZNXT44BP.mjs +118 -0
  795. package/dist/zig-R74HDVPE.mjs +7 -0
  796. package/package.json +8 -4
@@ -0,0 +1,1811 @@
1
+ import {
2
+ __commonJS
3
+ } from "./chunk-XGB3TDIC.mjs";
4
+
5
+ // ../../node_modules/.pnpm/highlight.js@10.7.3/node_modules/highlight.js/lib/core.js
6
+ var require_core = __commonJS({
7
+ "../../node_modules/.pnpm/highlight.js@10.7.3/node_modules/highlight.js/lib/core.js"(exports, module) {
8
+ "use strict";
9
+ function deepFreeze(obj) {
10
+ if (obj instanceof Map) {
11
+ obj.clear = obj.delete = obj.set = function() {
12
+ throw new Error("map is read-only");
13
+ };
14
+ } else if (obj instanceof Set) {
15
+ obj.add = obj.clear = obj.delete = function() {
16
+ throw new Error("set is read-only");
17
+ };
18
+ }
19
+ Object.freeze(obj);
20
+ Object.getOwnPropertyNames(obj).forEach(function(name) {
21
+ var prop = obj[name];
22
+ if (typeof prop == "object" && !Object.isFrozen(prop)) {
23
+ deepFreeze(prop);
24
+ }
25
+ });
26
+ return obj;
27
+ }
28
+ var deepFreezeEs6 = deepFreeze;
29
+ var _default = deepFreeze;
30
+ deepFreezeEs6.default = _default;
31
+ var Response = class {
32
+ /**
33
+ * @param {CompiledMode} mode
34
+ */
35
+ constructor(mode) {
36
+ if (mode.data === void 0) mode.data = {};
37
+ this.data = mode.data;
38
+ this.isMatchIgnored = false;
39
+ }
40
+ ignoreMatch() {
41
+ this.isMatchIgnored = true;
42
+ }
43
+ };
44
+ function escapeHTML(value) {
45
+ return value.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#x27;");
46
+ }
47
+ function inherit(original, ...objects) {
48
+ const result = /* @__PURE__ */ Object.create(null);
49
+ for (const key in original) {
50
+ result[key] = original[key];
51
+ }
52
+ objects.forEach(function(obj) {
53
+ for (const key in obj) {
54
+ result[key] = obj[key];
55
+ }
56
+ });
57
+ return (
58
+ /** @type {T} */
59
+ result
60
+ );
61
+ }
62
+ var SPAN_CLOSE = "</span>";
63
+ var emitsWrappingTags = (node) => {
64
+ return !!node.kind;
65
+ };
66
+ var HTMLRenderer = class {
67
+ /**
68
+ * Creates a new HTMLRenderer
69
+ *
70
+ * @param {Tree} parseTree - the parse tree (must support `walk` API)
71
+ * @param {{classPrefix: string}} options
72
+ */
73
+ constructor(parseTree, options) {
74
+ this.buffer = "";
75
+ this.classPrefix = options.classPrefix;
76
+ parseTree.walk(this);
77
+ }
78
+ /**
79
+ * Adds texts to the output stream
80
+ *
81
+ * @param {string} text */
82
+ addText(text) {
83
+ this.buffer += escapeHTML(text);
84
+ }
85
+ /**
86
+ * Adds a node open to the output stream (if needed)
87
+ *
88
+ * @param {Node} node */
89
+ openNode(node) {
90
+ if (!emitsWrappingTags(node)) return;
91
+ let className = node.kind;
92
+ if (!node.sublanguage) {
93
+ className = `${this.classPrefix}${className}`;
94
+ }
95
+ this.span(className);
96
+ }
97
+ /**
98
+ * Adds a node close to the output stream (if needed)
99
+ *
100
+ * @param {Node} node */
101
+ closeNode(node) {
102
+ if (!emitsWrappingTags(node)) return;
103
+ this.buffer += SPAN_CLOSE;
104
+ }
105
+ /**
106
+ * returns the accumulated buffer
107
+ */
108
+ value() {
109
+ return this.buffer;
110
+ }
111
+ // helpers
112
+ /**
113
+ * Builds a span element
114
+ *
115
+ * @param {string} className */
116
+ span(className) {
117
+ this.buffer += `<span class="${className}">`;
118
+ }
119
+ };
120
+ var TokenTree = class _TokenTree {
121
+ constructor() {
122
+ this.rootNode = { children: [] };
123
+ this.stack = [this.rootNode];
124
+ }
125
+ get top() {
126
+ return this.stack[this.stack.length - 1];
127
+ }
128
+ get root() {
129
+ return this.rootNode;
130
+ }
131
+ /** @param {Node} node */
132
+ add(node) {
133
+ this.top.children.push(node);
134
+ }
135
+ /** @param {string} kind */
136
+ openNode(kind) {
137
+ const node = { kind, children: [] };
138
+ this.add(node);
139
+ this.stack.push(node);
140
+ }
141
+ closeNode() {
142
+ if (this.stack.length > 1) {
143
+ return this.stack.pop();
144
+ }
145
+ return void 0;
146
+ }
147
+ closeAllNodes() {
148
+ while (this.closeNode()) ;
149
+ }
150
+ toJSON() {
151
+ return JSON.stringify(this.rootNode, null, 4);
152
+ }
153
+ /**
154
+ * @typedef { import("./html_renderer").Renderer } Renderer
155
+ * @param {Renderer} builder
156
+ */
157
+ walk(builder) {
158
+ return this.constructor._walk(builder, this.rootNode);
159
+ }
160
+ /**
161
+ * @param {Renderer} builder
162
+ * @param {Node} node
163
+ */
164
+ static _walk(builder, node) {
165
+ if (typeof node === "string") {
166
+ builder.addText(node);
167
+ } else if (node.children) {
168
+ builder.openNode(node);
169
+ node.children.forEach((child) => this._walk(builder, child));
170
+ builder.closeNode(node);
171
+ }
172
+ return builder;
173
+ }
174
+ /**
175
+ * @param {Node} node
176
+ */
177
+ static _collapse(node) {
178
+ if (typeof node === "string") return;
179
+ if (!node.children) return;
180
+ if (node.children.every((el) => typeof el === "string")) {
181
+ node.children = [node.children.join("")];
182
+ } else {
183
+ node.children.forEach((child) => {
184
+ _TokenTree._collapse(child);
185
+ });
186
+ }
187
+ }
188
+ };
189
+ var TokenTreeEmitter = class extends TokenTree {
190
+ /**
191
+ * @param {*} options
192
+ */
193
+ constructor(options) {
194
+ super();
195
+ this.options = options;
196
+ }
197
+ /**
198
+ * @param {string} text
199
+ * @param {string} kind
200
+ */
201
+ addKeyword(text, kind) {
202
+ if (text === "") {
203
+ return;
204
+ }
205
+ this.openNode(kind);
206
+ this.addText(text);
207
+ this.closeNode();
208
+ }
209
+ /**
210
+ * @param {string} text
211
+ */
212
+ addText(text) {
213
+ if (text === "") {
214
+ return;
215
+ }
216
+ this.add(text);
217
+ }
218
+ /**
219
+ * @param {Emitter & {root: DataNode}} emitter
220
+ * @param {string} name
221
+ */
222
+ addSublanguage(emitter, name) {
223
+ const node = emitter.root;
224
+ node.kind = name;
225
+ node.sublanguage = true;
226
+ this.add(node);
227
+ }
228
+ toHTML() {
229
+ const renderer = new HTMLRenderer(this, this.options);
230
+ return renderer.value();
231
+ }
232
+ finalize() {
233
+ return true;
234
+ }
235
+ };
236
+ function escape(value) {
237
+ return new RegExp(value.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&"), "m");
238
+ }
239
+ function source(re) {
240
+ if (!re) return null;
241
+ if (typeof re === "string") return re;
242
+ return re.source;
243
+ }
244
+ function concat(...args) {
245
+ const joined = args.map((x) => source(x)).join("");
246
+ return joined;
247
+ }
248
+ function either(...args) {
249
+ const joined = "(" + args.map((x) => source(x)).join("|") + ")";
250
+ return joined;
251
+ }
252
+ function countMatchGroups(re) {
253
+ return new RegExp(re.toString() + "|").exec("").length - 1;
254
+ }
255
+ function startsWith(re, lexeme) {
256
+ const match = re && re.exec(lexeme);
257
+ return match && match.index === 0;
258
+ }
259
+ var BACKREF_RE = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
260
+ function join(regexps, separator = "|") {
261
+ let numCaptures = 0;
262
+ return regexps.map((regex) => {
263
+ numCaptures += 1;
264
+ const offset = numCaptures;
265
+ let re = source(regex);
266
+ let out = "";
267
+ while (re.length > 0) {
268
+ const match = BACKREF_RE.exec(re);
269
+ if (!match) {
270
+ out += re;
271
+ break;
272
+ }
273
+ out += re.substring(0, match.index);
274
+ re = re.substring(match.index + match[0].length);
275
+ if (match[0][0] === "\\" && match[1]) {
276
+ out += "\\" + String(Number(match[1]) + offset);
277
+ } else {
278
+ out += match[0];
279
+ if (match[0] === "(") {
280
+ numCaptures++;
281
+ }
282
+ }
283
+ }
284
+ return out;
285
+ }).map((re) => `(${re})`).join(separator);
286
+ }
287
+ var MATCH_NOTHING_RE = /\b\B/;
288
+ var IDENT_RE = "[a-zA-Z]\\w*";
289
+ var UNDERSCORE_IDENT_RE = "[a-zA-Z_]\\w*";
290
+ var NUMBER_RE = "\\b\\d+(\\.\\d+)?";
291
+ var C_NUMBER_RE = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)";
292
+ var BINARY_NUMBER_RE = "\\b(0b[01]+)";
293
+ var RE_STARTERS_RE = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~";
294
+ var SHEBANG = (opts = {}) => {
295
+ const beginShebang = /^#![ ]*\//;
296
+ if (opts.binary) {
297
+ opts.begin = concat(
298
+ beginShebang,
299
+ /.*\b/,
300
+ opts.binary,
301
+ /\b.*/
302
+ );
303
+ }
304
+ return inherit({
305
+ className: "meta",
306
+ begin: beginShebang,
307
+ end: /$/,
308
+ relevance: 0,
309
+ /** @type {ModeCallback} */
310
+ "on:begin": (m, resp) => {
311
+ if (m.index !== 0) resp.ignoreMatch();
312
+ }
313
+ }, opts);
314
+ };
315
+ var BACKSLASH_ESCAPE = {
316
+ begin: "\\\\[\\s\\S]",
317
+ relevance: 0
318
+ };
319
+ var APOS_STRING_MODE = {
320
+ className: "string",
321
+ begin: "'",
322
+ end: "'",
323
+ illegal: "\\n",
324
+ contains: [BACKSLASH_ESCAPE]
325
+ };
326
+ var QUOTE_STRING_MODE = {
327
+ className: "string",
328
+ begin: '"',
329
+ end: '"',
330
+ illegal: "\\n",
331
+ contains: [BACKSLASH_ESCAPE]
332
+ };
333
+ var PHRASAL_WORDS_MODE = {
334
+ begin: /\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/
335
+ };
336
+ var COMMENT = function(begin, end, modeOptions = {}) {
337
+ const mode = inherit(
338
+ {
339
+ className: "comment",
340
+ begin,
341
+ end,
342
+ contains: []
343
+ },
344
+ modeOptions
345
+ );
346
+ mode.contains.push(PHRASAL_WORDS_MODE);
347
+ mode.contains.push({
348
+ className: "doctag",
349
+ begin: "(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",
350
+ relevance: 0
351
+ });
352
+ return mode;
353
+ };
354
+ var C_LINE_COMMENT_MODE = COMMENT("//", "$");
355
+ var C_BLOCK_COMMENT_MODE = COMMENT("/\\*", "\\*/");
356
+ var HASH_COMMENT_MODE = COMMENT("#", "$");
357
+ var NUMBER_MODE = {
358
+ className: "number",
359
+ begin: NUMBER_RE,
360
+ relevance: 0
361
+ };
362
+ var C_NUMBER_MODE = {
363
+ className: "number",
364
+ begin: C_NUMBER_RE,
365
+ relevance: 0
366
+ };
367
+ var BINARY_NUMBER_MODE = {
368
+ className: "number",
369
+ begin: BINARY_NUMBER_RE,
370
+ relevance: 0
371
+ };
372
+ var CSS_NUMBER_MODE = {
373
+ className: "number",
374
+ begin: 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)?",
375
+ relevance: 0
376
+ };
377
+ var REGEXP_MODE = {
378
+ // this outer rule makes sure we actually have a WHOLE regex and not simply
379
+ // an expression such as:
380
+ //
381
+ // 3 / something
382
+ //
383
+ // (which will then blow up when regex's `illegal` sees the newline)
384
+ begin: /(?=\/[^/\n]*\/)/,
385
+ contains: [{
386
+ className: "regexp",
387
+ begin: /\//,
388
+ end: /\/[gimuy]*/,
389
+ illegal: /\n/,
390
+ contains: [
391
+ BACKSLASH_ESCAPE,
392
+ {
393
+ begin: /\[/,
394
+ end: /\]/,
395
+ relevance: 0,
396
+ contains: [BACKSLASH_ESCAPE]
397
+ }
398
+ ]
399
+ }]
400
+ };
401
+ var TITLE_MODE = {
402
+ className: "title",
403
+ begin: IDENT_RE,
404
+ relevance: 0
405
+ };
406
+ var UNDERSCORE_TITLE_MODE = {
407
+ className: "title",
408
+ begin: UNDERSCORE_IDENT_RE,
409
+ relevance: 0
410
+ };
411
+ var METHOD_GUARD = {
412
+ // excludes method names from keyword processing
413
+ begin: "\\.\\s*" + UNDERSCORE_IDENT_RE,
414
+ relevance: 0
415
+ };
416
+ var END_SAME_AS_BEGIN = function(mode) {
417
+ return Object.assign(
418
+ mode,
419
+ {
420
+ /** @type {ModeCallback} */
421
+ "on:begin": (m, resp) => {
422
+ resp.data._beginMatch = m[1];
423
+ },
424
+ /** @type {ModeCallback} */
425
+ "on:end": (m, resp) => {
426
+ if (resp.data._beginMatch !== m[1]) resp.ignoreMatch();
427
+ }
428
+ }
429
+ );
430
+ };
431
+ var MODES = /* @__PURE__ */ Object.freeze({
432
+ __proto__: null,
433
+ MATCH_NOTHING_RE,
434
+ IDENT_RE,
435
+ UNDERSCORE_IDENT_RE,
436
+ NUMBER_RE,
437
+ C_NUMBER_RE,
438
+ BINARY_NUMBER_RE,
439
+ RE_STARTERS_RE,
440
+ SHEBANG,
441
+ BACKSLASH_ESCAPE,
442
+ APOS_STRING_MODE,
443
+ QUOTE_STRING_MODE,
444
+ PHRASAL_WORDS_MODE,
445
+ COMMENT,
446
+ C_LINE_COMMENT_MODE,
447
+ C_BLOCK_COMMENT_MODE,
448
+ HASH_COMMENT_MODE,
449
+ NUMBER_MODE,
450
+ C_NUMBER_MODE,
451
+ BINARY_NUMBER_MODE,
452
+ CSS_NUMBER_MODE,
453
+ REGEXP_MODE,
454
+ TITLE_MODE,
455
+ UNDERSCORE_TITLE_MODE,
456
+ METHOD_GUARD,
457
+ END_SAME_AS_BEGIN
458
+ });
459
+ function skipIfhasPrecedingDot(match, response) {
460
+ const before = match.input[match.index - 1];
461
+ if (before === ".") {
462
+ response.ignoreMatch();
463
+ }
464
+ }
465
+ function beginKeywords(mode, parent) {
466
+ if (!parent) return;
467
+ if (!mode.beginKeywords) return;
468
+ mode.begin = "\\b(" + mode.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)";
469
+ mode.__beforeBegin = skipIfhasPrecedingDot;
470
+ mode.keywords = mode.keywords || mode.beginKeywords;
471
+ delete mode.beginKeywords;
472
+ if (mode.relevance === void 0) mode.relevance = 0;
473
+ }
474
+ function compileIllegal(mode, _parent) {
475
+ if (!Array.isArray(mode.illegal)) return;
476
+ mode.illegal = either(...mode.illegal);
477
+ }
478
+ function compileMatch(mode, _parent) {
479
+ if (!mode.match) return;
480
+ if (mode.begin || mode.end) throw new Error("begin & end are not supported with match");
481
+ mode.begin = mode.match;
482
+ delete mode.match;
483
+ }
484
+ function compileRelevance(mode, _parent) {
485
+ if (mode.relevance === void 0) mode.relevance = 1;
486
+ }
487
+ var COMMON_KEYWORDS = [
488
+ "of",
489
+ "and",
490
+ "for",
491
+ "in",
492
+ "not",
493
+ "or",
494
+ "if",
495
+ "then",
496
+ "parent",
497
+ // common variable name
498
+ "list",
499
+ // common variable name
500
+ "value"
501
+ // common variable name
502
+ ];
503
+ var DEFAULT_KEYWORD_CLASSNAME = "keyword";
504
+ function compileKeywords(rawKeywords, caseInsensitive, className = DEFAULT_KEYWORD_CLASSNAME) {
505
+ const compiledKeywords = {};
506
+ if (typeof rawKeywords === "string") {
507
+ compileList(className, rawKeywords.split(" "));
508
+ } else if (Array.isArray(rawKeywords)) {
509
+ compileList(className, rawKeywords);
510
+ } else {
511
+ Object.keys(rawKeywords).forEach(function(className2) {
512
+ Object.assign(
513
+ compiledKeywords,
514
+ compileKeywords(rawKeywords[className2], caseInsensitive, className2)
515
+ );
516
+ });
517
+ }
518
+ return compiledKeywords;
519
+ function compileList(className2, keywordList) {
520
+ if (caseInsensitive) {
521
+ keywordList = keywordList.map((x) => x.toLowerCase());
522
+ }
523
+ keywordList.forEach(function(keyword) {
524
+ const pair = keyword.split("|");
525
+ compiledKeywords[pair[0]] = [className2, scoreForKeyword(pair[0], pair[1])];
526
+ });
527
+ }
528
+ }
529
+ function scoreForKeyword(keyword, providedScore) {
530
+ if (providedScore) {
531
+ return Number(providedScore);
532
+ }
533
+ return commonKeyword(keyword) ? 0 : 1;
534
+ }
535
+ function commonKeyword(keyword) {
536
+ return COMMON_KEYWORDS.includes(keyword.toLowerCase());
537
+ }
538
+ function compileLanguage(language, { plugins }) {
539
+ function langRe(value, global) {
540
+ return new RegExp(
541
+ source(value),
542
+ "m" + (language.case_insensitive ? "i" : "") + (global ? "g" : "")
543
+ );
544
+ }
545
+ class MultiRegex {
546
+ constructor() {
547
+ this.matchIndexes = {};
548
+ this.regexes = [];
549
+ this.matchAt = 1;
550
+ this.position = 0;
551
+ }
552
+ // @ts-ignore
553
+ addRule(re, opts) {
554
+ opts.position = this.position++;
555
+ this.matchIndexes[this.matchAt] = opts;
556
+ this.regexes.push([opts, re]);
557
+ this.matchAt += countMatchGroups(re) + 1;
558
+ }
559
+ compile() {
560
+ if (this.regexes.length === 0) {
561
+ this.exec = () => null;
562
+ }
563
+ const terminators = this.regexes.map((el) => el[1]);
564
+ this.matcherRe = langRe(join(terminators), true);
565
+ this.lastIndex = 0;
566
+ }
567
+ /** @param {string} s */
568
+ exec(s) {
569
+ this.matcherRe.lastIndex = this.lastIndex;
570
+ const match = this.matcherRe.exec(s);
571
+ if (!match) {
572
+ return null;
573
+ }
574
+ const i = match.findIndex((el, i2) => i2 > 0 && el !== void 0);
575
+ const matchData = this.matchIndexes[i];
576
+ match.splice(0, i);
577
+ return Object.assign(match, matchData);
578
+ }
579
+ }
580
+ class ResumableMultiRegex {
581
+ constructor() {
582
+ this.rules = [];
583
+ this.multiRegexes = [];
584
+ this.count = 0;
585
+ this.lastIndex = 0;
586
+ this.regexIndex = 0;
587
+ }
588
+ // @ts-ignore
589
+ getMatcher(index) {
590
+ if (this.multiRegexes[index]) return this.multiRegexes[index];
591
+ const matcher = new MultiRegex();
592
+ this.rules.slice(index).forEach(([re, opts]) => matcher.addRule(re, opts));
593
+ matcher.compile();
594
+ this.multiRegexes[index] = matcher;
595
+ return matcher;
596
+ }
597
+ resumingScanAtSamePosition() {
598
+ return this.regexIndex !== 0;
599
+ }
600
+ considerAll() {
601
+ this.regexIndex = 0;
602
+ }
603
+ // @ts-ignore
604
+ addRule(re, opts) {
605
+ this.rules.push([re, opts]);
606
+ if (opts.type === "begin") this.count++;
607
+ }
608
+ /** @param {string} s */
609
+ exec(s) {
610
+ const m = this.getMatcher(this.regexIndex);
611
+ m.lastIndex = this.lastIndex;
612
+ let result = m.exec(s);
613
+ if (this.resumingScanAtSamePosition()) {
614
+ if (result && result.index === this.lastIndex) ;
615
+ else {
616
+ const m2 = this.getMatcher(0);
617
+ m2.lastIndex = this.lastIndex + 1;
618
+ result = m2.exec(s);
619
+ }
620
+ }
621
+ if (result) {
622
+ this.regexIndex += result.position + 1;
623
+ if (this.regexIndex === this.count) {
624
+ this.considerAll();
625
+ }
626
+ }
627
+ return result;
628
+ }
629
+ }
630
+ function buildModeRegex(mode) {
631
+ const mm = new ResumableMultiRegex();
632
+ mode.contains.forEach((term) => mm.addRule(term.begin, { rule: term, type: "begin" }));
633
+ if (mode.terminatorEnd) {
634
+ mm.addRule(mode.terminatorEnd, { type: "end" });
635
+ }
636
+ if (mode.illegal) {
637
+ mm.addRule(mode.illegal, { type: "illegal" });
638
+ }
639
+ return mm;
640
+ }
641
+ function compileMode(mode, parent) {
642
+ const cmode = (
643
+ /** @type CompiledMode */
644
+ mode
645
+ );
646
+ if (mode.isCompiled) return cmode;
647
+ [
648
+ // do this early so compiler extensions generally don't have to worry about
649
+ // the distinction between match/begin
650
+ compileMatch
651
+ ].forEach((ext) => ext(mode, parent));
652
+ language.compilerExtensions.forEach((ext) => ext(mode, parent));
653
+ mode.__beforeBegin = null;
654
+ [
655
+ beginKeywords,
656
+ // do this later so compiler extensions that come earlier have access to the
657
+ // raw array if they wanted to perhaps manipulate it, etc.
658
+ compileIllegal,
659
+ // default to 1 relevance if not specified
660
+ compileRelevance
661
+ ].forEach((ext) => ext(mode, parent));
662
+ mode.isCompiled = true;
663
+ let keywordPattern = null;
664
+ if (typeof mode.keywords === "object") {
665
+ keywordPattern = mode.keywords.$pattern;
666
+ delete mode.keywords.$pattern;
667
+ }
668
+ if (mode.keywords) {
669
+ mode.keywords = compileKeywords(mode.keywords, language.case_insensitive);
670
+ }
671
+ if (mode.lexemes && keywordPattern) {
672
+ throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");
673
+ }
674
+ keywordPattern = keywordPattern || mode.lexemes || /\w+/;
675
+ cmode.keywordPatternRe = langRe(keywordPattern, true);
676
+ if (parent) {
677
+ if (!mode.begin) mode.begin = /\B|\b/;
678
+ cmode.beginRe = langRe(mode.begin);
679
+ if (mode.endSameAsBegin) mode.end = mode.begin;
680
+ if (!mode.end && !mode.endsWithParent) mode.end = /\B|\b/;
681
+ if (mode.end) cmode.endRe = langRe(mode.end);
682
+ cmode.terminatorEnd = source(mode.end) || "";
683
+ if (mode.endsWithParent && parent.terminatorEnd) {
684
+ cmode.terminatorEnd += (mode.end ? "|" : "") + parent.terminatorEnd;
685
+ }
686
+ }
687
+ if (mode.illegal) cmode.illegalRe = langRe(
688
+ /** @type {RegExp | string} */
689
+ mode.illegal
690
+ );
691
+ if (!mode.contains) mode.contains = [];
692
+ mode.contains = [].concat(...mode.contains.map(function(c) {
693
+ return expandOrCloneMode(c === "self" ? mode : c);
694
+ }));
695
+ mode.contains.forEach(function(c) {
696
+ compileMode(
697
+ /** @type Mode */
698
+ c,
699
+ cmode
700
+ );
701
+ });
702
+ if (mode.starts) {
703
+ compileMode(mode.starts, parent);
704
+ }
705
+ cmode.matcher = buildModeRegex(cmode);
706
+ return cmode;
707
+ }
708
+ if (!language.compilerExtensions) language.compilerExtensions = [];
709
+ if (language.contains && language.contains.includes("self")) {
710
+ throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");
711
+ }
712
+ language.classNameAliases = inherit(language.classNameAliases || {});
713
+ return compileMode(
714
+ /** @type Mode */
715
+ language
716
+ );
717
+ }
718
+ function dependencyOnParent(mode) {
719
+ if (!mode) return false;
720
+ return mode.endsWithParent || dependencyOnParent(mode.starts);
721
+ }
722
+ function expandOrCloneMode(mode) {
723
+ if (mode.variants && !mode.cachedVariants) {
724
+ mode.cachedVariants = mode.variants.map(function(variant) {
725
+ return inherit(mode, { variants: null }, variant);
726
+ });
727
+ }
728
+ if (mode.cachedVariants) {
729
+ return mode.cachedVariants;
730
+ }
731
+ if (dependencyOnParent(mode)) {
732
+ return inherit(mode, { starts: mode.starts ? inherit(mode.starts) : null });
733
+ }
734
+ if (Object.isFrozen(mode)) {
735
+ return inherit(mode);
736
+ }
737
+ return mode;
738
+ }
739
+ var version = "10.7.3";
740
+ function hasValueOrEmptyAttribute(value) {
741
+ return Boolean(value || value === "");
742
+ }
743
+ function BuildVuePlugin(hljs) {
744
+ const Component = {
745
+ props: ["language", "code", "autodetect"],
746
+ data: function() {
747
+ return {
748
+ detectedLanguage: "",
749
+ unknownLanguage: false
750
+ };
751
+ },
752
+ computed: {
753
+ className() {
754
+ if (this.unknownLanguage) return "";
755
+ return "hljs " + this.detectedLanguage;
756
+ },
757
+ highlighted() {
758
+ if (!this.autoDetect && !hljs.getLanguage(this.language)) {
759
+ console.warn(`The language "${this.language}" you specified could not be found.`);
760
+ this.unknownLanguage = true;
761
+ return escapeHTML(this.code);
762
+ }
763
+ let result = {};
764
+ if (this.autoDetect) {
765
+ result = hljs.highlightAuto(this.code);
766
+ this.detectedLanguage = result.language;
767
+ } else {
768
+ result = hljs.highlight(this.language, this.code, this.ignoreIllegals);
769
+ this.detectedLanguage = this.language;
770
+ }
771
+ return result.value;
772
+ },
773
+ autoDetect() {
774
+ return !this.language || hasValueOrEmptyAttribute(this.autodetect);
775
+ },
776
+ ignoreIllegals() {
777
+ return true;
778
+ }
779
+ },
780
+ // this avoids needing to use a whole Vue compilation pipeline just
781
+ // to build Highlight.js
782
+ render(createElement) {
783
+ return createElement("pre", {}, [
784
+ createElement("code", {
785
+ class: this.className,
786
+ domProps: { innerHTML: this.highlighted }
787
+ })
788
+ ]);
789
+ }
790
+ // template: `<pre><code :class="className" v-html="highlighted"></code></pre>`
791
+ };
792
+ const VuePlugin = {
793
+ install(Vue) {
794
+ Vue.component("highlightjs", Component);
795
+ }
796
+ };
797
+ return { Component, VuePlugin };
798
+ }
799
+ var mergeHTMLPlugin = {
800
+ "after:highlightElement": ({ el, result, text }) => {
801
+ const originalStream = nodeStream(el);
802
+ if (!originalStream.length) return;
803
+ const resultNode = document.createElement("div");
804
+ resultNode.innerHTML = result.value;
805
+ result.value = mergeStreams(originalStream, nodeStream(resultNode), text);
806
+ }
807
+ };
808
+ function tag(node) {
809
+ return node.nodeName.toLowerCase();
810
+ }
811
+ function nodeStream(node) {
812
+ const result = [];
813
+ (function _nodeStream(node2, offset) {
814
+ for (let child = node2.firstChild; child; child = child.nextSibling) {
815
+ if (child.nodeType === 3) {
816
+ offset += child.nodeValue.length;
817
+ } else if (child.nodeType === 1) {
818
+ result.push({
819
+ event: "start",
820
+ offset,
821
+ node: child
822
+ });
823
+ offset = _nodeStream(child, offset);
824
+ if (!tag(child).match(/br|hr|img|input/)) {
825
+ result.push({
826
+ event: "stop",
827
+ offset,
828
+ node: child
829
+ });
830
+ }
831
+ }
832
+ }
833
+ return offset;
834
+ })(node, 0);
835
+ return result;
836
+ }
837
+ function mergeStreams(original, highlighted, value) {
838
+ let processed = 0;
839
+ let result = "";
840
+ const nodeStack = [];
841
+ function selectStream() {
842
+ if (!original.length || !highlighted.length) {
843
+ return original.length ? original : highlighted;
844
+ }
845
+ if (original[0].offset !== highlighted[0].offset) {
846
+ return original[0].offset < highlighted[0].offset ? original : highlighted;
847
+ }
848
+ return highlighted[0].event === "start" ? original : highlighted;
849
+ }
850
+ function open(node) {
851
+ function attributeString(attr) {
852
+ return " " + attr.nodeName + '="' + escapeHTML(attr.value) + '"';
853
+ }
854
+ result += "<" + tag(node) + [].map.call(node.attributes, attributeString).join("") + ">";
855
+ }
856
+ function close(node) {
857
+ result += "</" + tag(node) + ">";
858
+ }
859
+ function render(event) {
860
+ (event.event === "start" ? open : close)(event.node);
861
+ }
862
+ while (original.length || highlighted.length) {
863
+ let stream = selectStream();
864
+ result += escapeHTML(value.substring(processed, stream[0].offset));
865
+ processed = stream[0].offset;
866
+ if (stream === original) {
867
+ nodeStack.reverse().forEach(close);
868
+ do {
869
+ render(stream.splice(0, 1)[0]);
870
+ stream = selectStream();
871
+ } while (stream === original && stream.length && stream[0].offset === processed);
872
+ nodeStack.reverse().forEach(open);
873
+ } else {
874
+ if (stream[0].event === "start") {
875
+ nodeStack.push(stream[0].node);
876
+ } else {
877
+ nodeStack.pop();
878
+ }
879
+ render(stream.splice(0, 1)[0]);
880
+ }
881
+ }
882
+ return result + escapeHTML(value.substr(processed));
883
+ }
884
+ var seenDeprecations = {};
885
+ var error = (message) => {
886
+ console.error(message);
887
+ };
888
+ var warn = (message, ...args) => {
889
+ console.log(`WARN: ${message}`, ...args);
890
+ };
891
+ var deprecated = (version2, message) => {
892
+ if (seenDeprecations[`${version2}/${message}`]) return;
893
+ console.log(`Deprecated as of ${version2}. ${message}`);
894
+ seenDeprecations[`${version2}/${message}`] = true;
895
+ };
896
+ var escape$1 = escapeHTML;
897
+ var inherit$1 = inherit;
898
+ var NO_MATCH = /* @__PURE__ */ Symbol("nomatch");
899
+ var HLJS = function(hljs) {
900
+ const languages = /* @__PURE__ */ Object.create(null);
901
+ const aliases = /* @__PURE__ */ Object.create(null);
902
+ const plugins = [];
903
+ let SAFE_MODE = true;
904
+ const fixMarkupRe = /(^(<[^>]+>|\t|)+|\n)/gm;
905
+ const LANGUAGE_NOT_FOUND = "Could not find the language '{}', did you forget to load/include a language module?";
906
+ const PLAINTEXT_LANGUAGE = { disableAutodetect: true, name: "Plain text", contains: [] };
907
+ let options = {
908
+ noHighlightRe: /^(no-?highlight)$/i,
909
+ languageDetectRe: /\blang(?:uage)?-([\w-]+)\b/i,
910
+ classPrefix: "hljs-",
911
+ tabReplace: null,
912
+ useBR: false,
913
+ languages: null,
914
+ // beta configuration options, subject to change, welcome to discuss
915
+ // https://github.com/highlightjs/highlight.js/issues/1086
916
+ __emitter: TokenTreeEmitter
917
+ };
918
+ function shouldNotHighlight(languageName) {
919
+ return options.noHighlightRe.test(languageName);
920
+ }
921
+ function blockLanguage(block) {
922
+ let classes = block.className + " ";
923
+ classes += block.parentNode ? block.parentNode.className : "";
924
+ const match = options.languageDetectRe.exec(classes);
925
+ if (match) {
926
+ const language = getLanguage(match[1]);
927
+ if (!language) {
928
+ warn(LANGUAGE_NOT_FOUND.replace("{}", match[1]));
929
+ warn("Falling back to no-highlight mode for this block.", block);
930
+ }
931
+ return language ? match[1] : "no-highlight";
932
+ }
933
+ return classes.split(/\s+/).find((_class) => shouldNotHighlight(_class) || getLanguage(_class));
934
+ }
935
+ function highlight2(codeOrlanguageName, optionsOrCode, ignoreIllegals, continuation) {
936
+ let code = "";
937
+ let languageName = "";
938
+ if (typeof optionsOrCode === "object") {
939
+ code = codeOrlanguageName;
940
+ ignoreIllegals = optionsOrCode.ignoreIllegals;
941
+ languageName = optionsOrCode.language;
942
+ continuation = void 0;
943
+ } else {
944
+ deprecated("10.7.0", "highlight(lang, code, ...args) has been deprecated.");
945
+ deprecated("10.7.0", "Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277");
946
+ languageName = codeOrlanguageName;
947
+ code = optionsOrCode;
948
+ }
949
+ const context = {
950
+ code,
951
+ language: languageName
952
+ };
953
+ fire("before:highlight", context);
954
+ const result = context.result ? context.result : _highlight(context.language, context.code, ignoreIllegals, continuation);
955
+ result.code = context.code;
956
+ fire("after:highlight", result);
957
+ return result;
958
+ }
959
+ function _highlight(languageName, codeToHighlight, ignoreIllegals, continuation) {
960
+ function keywordData(mode, match) {
961
+ const matchText = language.case_insensitive ? match[0].toLowerCase() : match[0];
962
+ return Object.prototype.hasOwnProperty.call(mode.keywords, matchText) && mode.keywords[matchText];
963
+ }
964
+ function processKeywords() {
965
+ if (!top.keywords) {
966
+ emitter.addText(modeBuffer);
967
+ return;
968
+ }
969
+ let lastIndex = 0;
970
+ top.keywordPatternRe.lastIndex = 0;
971
+ let match = top.keywordPatternRe.exec(modeBuffer);
972
+ let buf = "";
973
+ while (match) {
974
+ buf += modeBuffer.substring(lastIndex, match.index);
975
+ const data = keywordData(top, match);
976
+ if (data) {
977
+ const [kind, keywordRelevance] = data;
978
+ emitter.addText(buf);
979
+ buf = "";
980
+ relevance += keywordRelevance;
981
+ if (kind.startsWith("_")) {
982
+ buf += match[0];
983
+ } else {
984
+ const cssClass = language.classNameAliases[kind] || kind;
985
+ emitter.addKeyword(match[0], cssClass);
986
+ }
987
+ } else {
988
+ buf += match[0];
989
+ }
990
+ lastIndex = top.keywordPatternRe.lastIndex;
991
+ match = top.keywordPatternRe.exec(modeBuffer);
992
+ }
993
+ buf += modeBuffer.substr(lastIndex);
994
+ emitter.addText(buf);
995
+ }
996
+ function processSubLanguage() {
997
+ if (modeBuffer === "") return;
998
+ let result2 = null;
999
+ if (typeof top.subLanguage === "string") {
1000
+ if (!languages[top.subLanguage]) {
1001
+ emitter.addText(modeBuffer);
1002
+ return;
1003
+ }
1004
+ result2 = _highlight(top.subLanguage, modeBuffer, true, continuations[top.subLanguage]);
1005
+ continuations[top.subLanguage] = /** @type {CompiledMode} */
1006
+ result2.top;
1007
+ } else {
1008
+ result2 = highlightAuto(modeBuffer, top.subLanguage.length ? top.subLanguage : null);
1009
+ }
1010
+ if (top.relevance > 0) {
1011
+ relevance += result2.relevance;
1012
+ }
1013
+ emitter.addSublanguage(result2.emitter, result2.language);
1014
+ }
1015
+ function processBuffer() {
1016
+ if (top.subLanguage != null) {
1017
+ processSubLanguage();
1018
+ } else {
1019
+ processKeywords();
1020
+ }
1021
+ modeBuffer = "";
1022
+ }
1023
+ function startNewMode(mode) {
1024
+ if (mode.className) {
1025
+ emitter.openNode(language.classNameAliases[mode.className] || mode.className);
1026
+ }
1027
+ top = Object.create(mode, { parent: { value: top } });
1028
+ return top;
1029
+ }
1030
+ function endOfMode(mode, match, matchPlusRemainder) {
1031
+ let matched = startsWith(mode.endRe, matchPlusRemainder);
1032
+ if (matched) {
1033
+ if (mode["on:end"]) {
1034
+ const resp = new Response(mode);
1035
+ mode["on:end"](match, resp);
1036
+ if (resp.isMatchIgnored) matched = false;
1037
+ }
1038
+ if (matched) {
1039
+ while (mode.endsParent && mode.parent) {
1040
+ mode = mode.parent;
1041
+ }
1042
+ return mode;
1043
+ }
1044
+ }
1045
+ if (mode.endsWithParent) {
1046
+ return endOfMode(mode.parent, match, matchPlusRemainder);
1047
+ }
1048
+ }
1049
+ function doIgnore(lexeme) {
1050
+ if (top.matcher.regexIndex === 0) {
1051
+ modeBuffer += lexeme[0];
1052
+ return 1;
1053
+ } else {
1054
+ resumeScanAtSamePosition = true;
1055
+ return 0;
1056
+ }
1057
+ }
1058
+ function doBeginMatch(match) {
1059
+ const lexeme = match[0];
1060
+ const newMode = match.rule;
1061
+ const resp = new Response(newMode);
1062
+ const beforeCallbacks = [newMode.__beforeBegin, newMode["on:begin"]];
1063
+ for (const cb of beforeCallbacks) {
1064
+ if (!cb) continue;
1065
+ cb(match, resp);
1066
+ if (resp.isMatchIgnored) return doIgnore(lexeme);
1067
+ }
1068
+ if (newMode && newMode.endSameAsBegin) {
1069
+ newMode.endRe = escape(lexeme);
1070
+ }
1071
+ if (newMode.skip) {
1072
+ modeBuffer += lexeme;
1073
+ } else {
1074
+ if (newMode.excludeBegin) {
1075
+ modeBuffer += lexeme;
1076
+ }
1077
+ processBuffer();
1078
+ if (!newMode.returnBegin && !newMode.excludeBegin) {
1079
+ modeBuffer = lexeme;
1080
+ }
1081
+ }
1082
+ startNewMode(newMode);
1083
+ return newMode.returnBegin ? 0 : lexeme.length;
1084
+ }
1085
+ function doEndMatch(match) {
1086
+ const lexeme = match[0];
1087
+ const matchPlusRemainder = codeToHighlight.substr(match.index);
1088
+ const endMode = endOfMode(top, match, matchPlusRemainder);
1089
+ if (!endMode) {
1090
+ return NO_MATCH;
1091
+ }
1092
+ const origin = top;
1093
+ if (origin.skip) {
1094
+ modeBuffer += lexeme;
1095
+ } else {
1096
+ if (!(origin.returnEnd || origin.excludeEnd)) {
1097
+ modeBuffer += lexeme;
1098
+ }
1099
+ processBuffer();
1100
+ if (origin.excludeEnd) {
1101
+ modeBuffer = lexeme;
1102
+ }
1103
+ }
1104
+ do {
1105
+ if (top.className) {
1106
+ emitter.closeNode();
1107
+ }
1108
+ if (!top.skip && !top.subLanguage) {
1109
+ relevance += top.relevance;
1110
+ }
1111
+ top = top.parent;
1112
+ } while (top !== endMode.parent);
1113
+ if (endMode.starts) {
1114
+ if (endMode.endSameAsBegin) {
1115
+ endMode.starts.endRe = endMode.endRe;
1116
+ }
1117
+ startNewMode(endMode.starts);
1118
+ }
1119
+ return origin.returnEnd ? 0 : lexeme.length;
1120
+ }
1121
+ function processContinuations() {
1122
+ const list = [];
1123
+ for (let current = top; current !== language; current = current.parent) {
1124
+ if (current.className) {
1125
+ list.unshift(current.className);
1126
+ }
1127
+ }
1128
+ list.forEach((item) => emitter.openNode(item));
1129
+ }
1130
+ let lastMatch = {};
1131
+ function processLexeme(textBeforeMatch, match) {
1132
+ const lexeme = match && match[0];
1133
+ modeBuffer += textBeforeMatch;
1134
+ if (lexeme == null) {
1135
+ processBuffer();
1136
+ return 0;
1137
+ }
1138
+ if (lastMatch.type === "begin" && match.type === "end" && lastMatch.index === match.index && lexeme === "") {
1139
+ modeBuffer += codeToHighlight.slice(match.index, match.index + 1);
1140
+ if (!SAFE_MODE) {
1141
+ const err = new Error("0 width match regex");
1142
+ err.languageName = languageName;
1143
+ err.badRule = lastMatch.rule;
1144
+ throw err;
1145
+ }
1146
+ return 1;
1147
+ }
1148
+ lastMatch = match;
1149
+ if (match.type === "begin") {
1150
+ return doBeginMatch(match);
1151
+ } else if (match.type === "illegal" && !ignoreIllegals) {
1152
+ const err = new Error('Illegal lexeme "' + lexeme + '" for mode "' + (top.className || "<unnamed>") + '"');
1153
+ err.mode = top;
1154
+ throw err;
1155
+ } else if (match.type === "end") {
1156
+ const processed = doEndMatch(match);
1157
+ if (processed !== NO_MATCH) {
1158
+ return processed;
1159
+ }
1160
+ }
1161
+ if (match.type === "illegal" && lexeme === "") {
1162
+ return 1;
1163
+ }
1164
+ if (iterations > 1e5 && iterations > match.index * 3) {
1165
+ const err = new Error("potential infinite loop, way more iterations than matches");
1166
+ throw err;
1167
+ }
1168
+ modeBuffer += lexeme;
1169
+ return lexeme.length;
1170
+ }
1171
+ const language = getLanguage(languageName);
1172
+ if (!language) {
1173
+ error(LANGUAGE_NOT_FOUND.replace("{}", languageName));
1174
+ throw new Error('Unknown language: "' + languageName + '"');
1175
+ }
1176
+ const md = compileLanguage(language, { plugins });
1177
+ let result = "";
1178
+ let top = continuation || md;
1179
+ const continuations = {};
1180
+ const emitter = new options.__emitter(options);
1181
+ processContinuations();
1182
+ let modeBuffer = "";
1183
+ let relevance = 0;
1184
+ let index = 0;
1185
+ let iterations = 0;
1186
+ let resumeScanAtSamePosition = false;
1187
+ try {
1188
+ top.matcher.considerAll();
1189
+ for (; ; ) {
1190
+ iterations++;
1191
+ if (resumeScanAtSamePosition) {
1192
+ resumeScanAtSamePosition = false;
1193
+ } else {
1194
+ top.matcher.considerAll();
1195
+ }
1196
+ top.matcher.lastIndex = index;
1197
+ const match = top.matcher.exec(codeToHighlight);
1198
+ if (!match) break;
1199
+ const beforeMatch = codeToHighlight.substring(index, match.index);
1200
+ const processedCount = processLexeme(beforeMatch, match);
1201
+ index = match.index + processedCount;
1202
+ }
1203
+ processLexeme(codeToHighlight.substr(index));
1204
+ emitter.closeAllNodes();
1205
+ emitter.finalize();
1206
+ result = emitter.toHTML();
1207
+ return {
1208
+ // avoid possible breakage with v10 clients expecting
1209
+ // this to always be an integer
1210
+ relevance: Math.floor(relevance),
1211
+ value: result,
1212
+ language: languageName,
1213
+ illegal: false,
1214
+ emitter,
1215
+ top
1216
+ };
1217
+ } catch (err) {
1218
+ if (err.message && err.message.includes("Illegal")) {
1219
+ return {
1220
+ illegal: true,
1221
+ illegalBy: {
1222
+ msg: err.message,
1223
+ context: codeToHighlight.slice(index - 100, index + 100),
1224
+ mode: err.mode
1225
+ },
1226
+ sofar: result,
1227
+ relevance: 0,
1228
+ value: escape$1(codeToHighlight),
1229
+ emitter
1230
+ };
1231
+ } else if (SAFE_MODE) {
1232
+ return {
1233
+ illegal: false,
1234
+ relevance: 0,
1235
+ value: escape$1(codeToHighlight),
1236
+ emitter,
1237
+ language: languageName,
1238
+ top,
1239
+ errorRaised: err
1240
+ };
1241
+ } else {
1242
+ throw err;
1243
+ }
1244
+ }
1245
+ }
1246
+ function justTextHighlightResult(code) {
1247
+ const result = {
1248
+ relevance: 0,
1249
+ emitter: new options.__emitter(options),
1250
+ value: escape$1(code),
1251
+ illegal: false,
1252
+ top: PLAINTEXT_LANGUAGE
1253
+ };
1254
+ result.emitter.addText(code);
1255
+ return result;
1256
+ }
1257
+ function highlightAuto(code, languageSubset) {
1258
+ languageSubset = languageSubset || options.languages || Object.keys(languages);
1259
+ const plaintext = justTextHighlightResult(code);
1260
+ const results = languageSubset.filter(getLanguage).filter(autoDetection).map(
1261
+ (name) => _highlight(name, code, false)
1262
+ );
1263
+ results.unshift(plaintext);
1264
+ const sorted = results.sort((a, b) => {
1265
+ if (a.relevance !== b.relevance) return b.relevance - a.relevance;
1266
+ if (a.language && b.language) {
1267
+ if (getLanguage(a.language).supersetOf === b.language) {
1268
+ return 1;
1269
+ } else if (getLanguage(b.language).supersetOf === a.language) {
1270
+ return -1;
1271
+ }
1272
+ }
1273
+ return 0;
1274
+ });
1275
+ const [best, secondBest] = sorted;
1276
+ const result = best;
1277
+ result.second_best = secondBest;
1278
+ return result;
1279
+ }
1280
+ function fixMarkup(html) {
1281
+ if (!(options.tabReplace || options.useBR)) {
1282
+ return html;
1283
+ }
1284
+ return html.replace(fixMarkupRe, (match) => {
1285
+ if (match === "\n") {
1286
+ return options.useBR ? "<br>" : match;
1287
+ } else if (options.tabReplace) {
1288
+ return match.replace(/\t/g, options.tabReplace);
1289
+ }
1290
+ return match;
1291
+ });
1292
+ }
1293
+ function updateClassName(element, currentLang, resultLang) {
1294
+ const language = currentLang ? aliases[currentLang] : resultLang;
1295
+ element.classList.add("hljs");
1296
+ if (language) element.classList.add(language);
1297
+ }
1298
+ const brPlugin = {
1299
+ "before:highlightElement": ({ el }) => {
1300
+ if (options.useBR) {
1301
+ el.innerHTML = el.innerHTML.replace(/\n/g, "").replace(/<br[ /]*>/g, "\n");
1302
+ }
1303
+ },
1304
+ "after:highlightElement": ({ result }) => {
1305
+ if (options.useBR) {
1306
+ result.value = result.value.replace(/\n/g, "<br>");
1307
+ }
1308
+ }
1309
+ };
1310
+ const TAB_REPLACE_RE = /^(<[^>]+>|\t)+/gm;
1311
+ const tabReplacePlugin = {
1312
+ "after:highlightElement": ({ result }) => {
1313
+ if (options.tabReplace) {
1314
+ result.value = result.value.replace(
1315
+ TAB_REPLACE_RE,
1316
+ (m) => m.replace(/\t/g, options.tabReplace)
1317
+ );
1318
+ }
1319
+ }
1320
+ };
1321
+ function highlightElement(element) {
1322
+ let node = null;
1323
+ const language = blockLanguage(element);
1324
+ if (shouldNotHighlight(language)) return;
1325
+ fire(
1326
+ "before:highlightElement",
1327
+ { el: element, language }
1328
+ );
1329
+ node = element;
1330
+ const text = node.textContent;
1331
+ const result = language ? highlight2(text, { language, ignoreIllegals: true }) : highlightAuto(text);
1332
+ fire("after:highlightElement", { el: element, result, text });
1333
+ element.innerHTML = result.value;
1334
+ updateClassName(element, language, result.language);
1335
+ element.result = {
1336
+ language: result.language,
1337
+ // TODO: remove with version 11.0
1338
+ re: result.relevance,
1339
+ relavance: result.relevance
1340
+ };
1341
+ if (result.second_best) {
1342
+ element.second_best = {
1343
+ language: result.second_best.language,
1344
+ // TODO: remove with version 11.0
1345
+ re: result.second_best.relevance,
1346
+ relavance: result.second_best.relevance
1347
+ };
1348
+ }
1349
+ }
1350
+ function configure(userOptions) {
1351
+ if (userOptions.useBR) {
1352
+ deprecated("10.3.0", "'useBR' will be removed entirely in v11.0");
1353
+ deprecated("10.3.0", "Please see https://github.com/highlightjs/highlight.js/issues/2559");
1354
+ }
1355
+ options = inherit$1(options, userOptions);
1356
+ }
1357
+ const initHighlighting = () => {
1358
+ if (initHighlighting.called) return;
1359
+ initHighlighting.called = true;
1360
+ deprecated("10.6.0", "initHighlighting() is deprecated. Use highlightAll() instead.");
1361
+ const blocks = document.querySelectorAll("pre code");
1362
+ blocks.forEach(highlightElement);
1363
+ };
1364
+ function initHighlightingOnLoad() {
1365
+ deprecated("10.6.0", "initHighlightingOnLoad() is deprecated. Use highlightAll() instead.");
1366
+ wantsHighlight = true;
1367
+ }
1368
+ let wantsHighlight = false;
1369
+ function highlightAll() {
1370
+ if (document.readyState === "loading") {
1371
+ wantsHighlight = true;
1372
+ return;
1373
+ }
1374
+ const blocks = document.querySelectorAll("pre code");
1375
+ blocks.forEach(highlightElement);
1376
+ }
1377
+ function boot() {
1378
+ if (wantsHighlight) highlightAll();
1379
+ }
1380
+ if (typeof window !== "undefined" && window.addEventListener) {
1381
+ window.addEventListener("DOMContentLoaded", boot, false);
1382
+ }
1383
+ function registerLanguage(languageName, languageDefinition) {
1384
+ let lang = null;
1385
+ try {
1386
+ lang = languageDefinition(hljs);
1387
+ } catch (error$1) {
1388
+ error("Language definition for '{}' could not be registered.".replace("{}", languageName));
1389
+ if (!SAFE_MODE) {
1390
+ throw error$1;
1391
+ } else {
1392
+ error(error$1);
1393
+ }
1394
+ lang = PLAINTEXT_LANGUAGE;
1395
+ }
1396
+ if (!lang.name) lang.name = languageName;
1397
+ languages[languageName] = lang;
1398
+ lang.rawDefinition = languageDefinition.bind(null, hljs);
1399
+ if (lang.aliases) {
1400
+ registerAliases(lang.aliases, { languageName });
1401
+ }
1402
+ }
1403
+ function unregisterLanguage(languageName) {
1404
+ delete languages[languageName];
1405
+ for (const alias of Object.keys(aliases)) {
1406
+ if (aliases[alias] === languageName) {
1407
+ delete aliases[alias];
1408
+ }
1409
+ }
1410
+ }
1411
+ function listLanguages() {
1412
+ return Object.keys(languages);
1413
+ }
1414
+ function requireLanguage(name) {
1415
+ deprecated("10.4.0", "requireLanguage will be removed entirely in v11.");
1416
+ deprecated("10.4.0", "Please see https://github.com/highlightjs/highlight.js/pull/2844");
1417
+ const lang = getLanguage(name);
1418
+ if (lang) {
1419
+ return lang;
1420
+ }
1421
+ const err = new Error("The '{}' language is required, but not loaded.".replace("{}", name));
1422
+ throw err;
1423
+ }
1424
+ function getLanguage(name) {
1425
+ name = (name || "").toLowerCase();
1426
+ return languages[name] || languages[aliases[name]];
1427
+ }
1428
+ function registerAliases(aliasList, { languageName }) {
1429
+ if (typeof aliasList === "string") {
1430
+ aliasList = [aliasList];
1431
+ }
1432
+ aliasList.forEach((alias) => {
1433
+ aliases[alias.toLowerCase()] = languageName;
1434
+ });
1435
+ }
1436
+ function autoDetection(name) {
1437
+ const lang = getLanguage(name);
1438
+ return lang && !lang.disableAutodetect;
1439
+ }
1440
+ function upgradePluginAPI(plugin) {
1441
+ if (plugin["before:highlightBlock"] && !plugin["before:highlightElement"]) {
1442
+ plugin["before:highlightElement"] = (data) => {
1443
+ plugin["before:highlightBlock"](
1444
+ Object.assign({ block: data.el }, data)
1445
+ );
1446
+ };
1447
+ }
1448
+ if (plugin["after:highlightBlock"] && !plugin["after:highlightElement"]) {
1449
+ plugin["after:highlightElement"] = (data) => {
1450
+ plugin["after:highlightBlock"](
1451
+ Object.assign({ block: data.el }, data)
1452
+ );
1453
+ };
1454
+ }
1455
+ }
1456
+ function addPlugin(plugin) {
1457
+ upgradePluginAPI(plugin);
1458
+ plugins.push(plugin);
1459
+ }
1460
+ function fire(event, args) {
1461
+ const cb = event;
1462
+ plugins.forEach(function(plugin) {
1463
+ if (plugin[cb]) {
1464
+ plugin[cb](args);
1465
+ }
1466
+ });
1467
+ }
1468
+ function deprecateFixMarkup(arg) {
1469
+ deprecated("10.2.0", "fixMarkup will be removed entirely in v11.0");
1470
+ deprecated("10.2.0", "Please see https://github.com/highlightjs/highlight.js/issues/2534");
1471
+ return fixMarkup(arg);
1472
+ }
1473
+ function deprecateHighlightBlock(el) {
1474
+ deprecated("10.7.0", "highlightBlock will be removed entirely in v12.0");
1475
+ deprecated("10.7.0", "Please use highlightElement now.");
1476
+ return highlightElement(el);
1477
+ }
1478
+ Object.assign(hljs, {
1479
+ highlight: highlight2,
1480
+ highlightAuto,
1481
+ highlightAll,
1482
+ fixMarkup: deprecateFixMarkup,
1483
+ highlightElement,
1484
+ // TODO: Remove with v12 API
1485
+ highlightBlock: deprecateHighlightBlock,
1486
+ configure,
1487
+ initHighlighting,
1488
+ initHighlightingOnLoad,
1489
+ registerLanguage,
1490
+ unregisterLanguage,
1491
+ listLanguages,
1492
+ getLanguage,
1493
+ registerAliases,
1494
+ requireLanguage,
1495
+ autoDetection,
1496
+ inherit: inherit$1,
1497
+ addPlugin,
1498
+ // plugins for frameworks
1499
+ vuePlugin: BuildVuePlugin(hljs).VuePlugin
1500
+ });
1501
+ hljs.debugMode = function() {
1502
+ SAFE_MODE = false;
1503
+ };
1504
+ hljs.safeMode = function() {
1505
+ SAFE_MODE = true;
1506
+ };
1507
+ hljs.versionString = version;
1508
+ for (const key in MODES) {
1509
+ if (typeof MODES[key] === "object") {
1510
+ deepFreezeEs6(MODES[key]);
1511
+ }
1512
+ }
1513
+ Object.assign(hljs, MODES);
1514
+ hljs.addPlugin(brPlugin);
1515
+ hljs.addPlugin(mergeHTMLPlugin);
1516
+ hljs.addPlugin(tabReplacePlugin);
1517
+ return hljs;
1518
+ };
1519
+ var highlight = HLJS({});
1520
+ module.exports = highlight;
1521
+ }
1522
+ });
1523
+
1524
+ // ../../node_modules/.pnpm/format@0.2.2/node_modules/format/format.js
1525
+ var require_format = __commonJS({
1526
+ "../../node_modules/.pnpm/format@0.2.2/node_modules/format/format.js"(exports, module) {
1527
+ "use strict";
1528
+ (function() {
1529
+ var namespace;
1530
+ if (typeof module !== "undefined") {
1531
+ namespace = module.exports = format;
1532
+ } else {
1533
+ namespace = (function() {
1534
+ return this || (1, eval)("this");
1535
+ })();
1536
+ }
1537
+ namespace.format = format;
1538
+ namespace.vsprintf = vsprintf;
1539
+ if (typeof console !== "undefined" && typeof console.log === "function") {
1540
+ namespace.printf = printf;
1541
+ }
1542
+ function printf() {
1543
+ console.log(format.apply(null, arguments));
1544
+ }
1545
+ function vsprintf(fmt, replacements) {
1546
+ return format.apply(null, [fmt].concat(replacements));
1547
+ }
1548
+ function format(fmt) {
1549
+ var argIndex = 1, args = [].slice.call(arguments), i = 0, n = fmt.length, result = "", c, escaped = false, arg, tmp, leadingZero = false, precision, nextArg = function() {
1550
+ return args[argIndex++];
1551
+ }, slurpNumber = function() {
1552
+ var digits = "";
1553
+ while (/\d/.test(fmt[i])) {
1554
+ digits += fmt[i++];
1555
+ c = fmt[i];
1556
+ }
1557
+ return digits.length > 0 ? parseInt(digits) : null;
1558
+ };
1559
+ for (; i < n; ++i) {
1560
+ c = fmt[i];
1561
+ if (escaped) {
1562
+ escaped = false;
1563
+ if (c == ".") {
1564
+ leadingZero = false;
1565
+ c = fmt[++i];
1566
+ } else if (c == "0" && fmt[i + 1] == ".") {
1567
+ leadingZero = true;
1568
+ i += 2;
1569
+ c = fmt[i];
1570
+ } else {
1571
+ leadingZero = true;
1572
+ }
1573
+ precision = slurpNumber();
1574
+ switch (c) {
1575
+ case "b":
1576
+ result += parseInt(nextArg(), 10).toString(2);
1577
+ break;
1578
+ case "c":
1579
+ arg = nextArg();
1580
+ if (typeof arg === "string" || arg instanceof String)
1581
+ result += arg;
1582
+ else
1583
+ result += String.fromCharCode(parseInt(arg, 10));
1584
+ break;
1585
+ case "d":
1586
+ result += parseInt(nextArg(), 10);
1587
+ break;
1588
+ case "f":
1589
+ tmp = String(parseFloat(nextArg()).toFixed(precision || 6));
1590
+ result += leadingZero ? tmp : tmp.replace(/^0/, "");
1591
+ break;
1592
+ case "j":
1593
+ result += JSON.stringify(nextArg());
1594
+ break;
1595
+ case "o":
1596
+ result += "0" + parseInt(nextArg(), 10).toString(8);
1597
+ break;
1598
+ case "s":
1599
+ result += nextArg();
1600
+ break;
1601
+ case "x":
1602
+ result += "0x" + parseInt(nextArg(), 10).toString(16);
1603
+ break;
1604
+ case "X":
1605
+ result += "0x" + parseInt(nextArg(), 10).toString(16).toUpperCase();
1606
+ break;
1607
+ default:
1608
+ result += c;
1609
+ break;
1610
+ }
1611
+ } else if (c === "%") {
1612
+ escaped = true;
1613
+ } else {
1614
+ result += c;
1615
+ }
1616
+ }
1617
+ return result;
1618
+ }
1619
+ })();
1620
+ }
1621
+ });
1622
+
1623
+ // ../../node_modules/.pnpm/fault@1.0.4/node_modules/fault/index.js
1624
+ var require_fault = __commonJS({
1625
+ "../../node_modules/.pnpm/fault@1.0.4/node_modules/fault/index.js"(exports, module) {
1626
+ "use strict";
1627
+ var formatter = require_format();
1628
+ var fault = create(Error);
1629
+ module.exports = fault;
1630
+ fault.eval = create(EvalError);
1631
+ fault.range = create(RangeError);
1632
+ fault.reference = create(ReferenceError);
1633
+ fault.syntax = create(SyntaxError);
1634
+ fault.type = create(TypeError);
1635
+ fault.uri = create(URIError);
1636
+ fault.create = create;
1637
+ function create(EConstructor) {
1638
+ FormattedError.displayName = EConstructor.displayName || EConstructor.name;
1639
+ return FormattedError;
1640
+ function FormattedError(format) {
1641
+ if (format) {
1642
+ format = formatter.apply(null, arguments);
1643
+ }
1644
+ return new EConstructor(format);
1645
+ }
1646
+ }
1647
+ }
1648
+ });
1649
+
1650
+ // ../../node_modules/.pnpm/lowlight@1.20.0/node_modules/lowlight/lib/core.js
1651
+ var require_core2 = __commonJS({
1652
+ "../../node_modules/.pnpm/lowlight@1.20.0/node_modules/lowlight/lib/core.js"(exports) {
1653
+ var high = require_core();
1654
+ var fault = require_fault();
1655
+ exports.highlight = highlight;
1656
+ exports.highlightAuto = highlightAuto;
1657
+ exports.registerLanguage = registerLanguage;
1658
+ exports.listLanguages = listLanguages;
1659
+ exports.registerAlias = registerAlias;
1660
+ Emitter.prototype.addText = text;
1661
+ Emitter.prototype.addKeyword = addKeyword;
1662
+ Emitter.prototype.addSublanguage = addSublanguage;
1663
+ Emitter.prototype.openNode = open;
1664
+ Emitter.prototype.closeNode = close;
1665
+ Emitter.prototype.closeAllNodes = noop;
1666
+ Emitter.prototype.finalize = noop;
1667
+ Emitter.prototype.toHTML = toHtmlNoop;
1668
+ var defaultPrefix = "hljs-";
1669
+ function highlight(name, value, options) {
1670
+ var before = high.configure({});
1671
+ var settings = options || {};
1672
+ var prefix = settings.prefix;
1673
+ var result;
1674
+ if (typeof name !== "string") {
1675
+ throw fault("Expected `string` for name, got `%s`", name);
1676
+ }
1677
+ if (!high.getLanguage(name)) {
1678
+ throw fault("Unknown language: `%s` is not registered", name);
1679
+ }
1680
+ if (typeof value !== "string") {
1681
+ throw fault("Expected `string` for value, got `%s`", value);
1682
+ }
1683
+ if (prefix === null || prefix === void 0) {
1684
+ prefix = defaultPrefix;
1685
+ }
1686
+ high.configure({ __emitter: Emitter, classPrefix: prefix });
1687
+ result = high.highlight(value, { language: name, ignoreIllegals: true });
1688
+ high.configure(before || {});
1689
+ if (result.errorRaised) {
1690
+ throw result.errorRaised;
1691
+ }
1692
+ return {
1693
+ relevance: result.relevance,
1694
+ language: result.language,
1695
+ value: result.emitter.rootNode.children
1696
+ };
1697
+ }
1698
+ function highlightAuto(value, options) {
1699
+ var settings = options || {};
1700
+ var subset = settings.subset || high.listLanguages();
1701
+ var prefix = settings.prefix;
1702
+ var length = subset.length;
1703
+ var index = -1;
1704
+ var result;
1705
+ var secondBest;
1706
+ var current;
1707
+ var name;
1708
+ if (prefix === null || prefix === void 0) {
1709
+ prefix = defaultPrefix;
1710
+ }
1711
+ if (typeof value !== "string") {
1712
+ throw fault("Expected `string` for value, got `%s`", value);
1713
+ }
1714
+ secondBest = { relevance: 0, language: null, value: [] };
1715
+ result = { relevance: 0, language: null, value: [] };
1716
+ while (++index < length) {
1717
+ name = subset[index];
1718
+ if (!high.getLanguage(name)) {
1719
+ continue;
1720
+ }
1721
+ current = highlight(name, value, options);
1722
+ current.language = name;
1723
+ if (current.relevance > secondBest.relevance) {
1724
+ secondBest = current;
1725
+ }
1726
+ if (current.relevance > result.relevance) {
1727
+ secondBest = result;
1728
+ result = current;
1729
+ }
1730
+ }
1731
+ if (secondBest.language) {
1732
+ result.secondBest = secondBest;
1733
+ }
1734
+ return result;
1735
+ }
1736
+ function registerLanguage(name, syntax) {
1737
+ high.registerLanguage(name, syntax);
1738
+ }
1739
+ function listLanguages() {
1740
+ return high.listLanguages();
1741
+ }
1742
+ function registerAlias(name, alias) {
1743
+ var map = name;
1744
+ var key;
1745
+ if (alias) {
1746
+ map = {};
1747
+ map[name] = alias;
1748
+ }
1749
+ for (key in map) {
1750
+ high.registerAliases(map[key], { languageName: key });
1751
+ }
1752
+ }
1753
+ function Emitter(options) {
1754
+ this.options = options;
1755
+ this.rootNode = { children: [] };
1756
+ this.stack = [this.rootNode];
1757
+ }
1758
+ function addKeyword(value, name) {
1759
+ this.openNode(name);
1760
+ this.addText(value);
1761
+ this.closeNode();
1762
+ }
1763
+ function addSublanguage(other, name) {
1764
+ var stack = this.stack;
1765
+ var current = stack[stack.length - 1];
1766
+ var results = other.rootNode.children;
1767
+ var node = name ? {
1768
+ type: "element",
1769
+ tagName: "span",
1770
+ properties: { className: [name] },
1771
+ children: results
1772
+ } : results;
1773
+ current.children = current.children.concat(node);
1774
+ }
1775
+ function text(value) {
1776
+ var stack = this.stack;
1777
+ var current;
1778
+ var tail;
1779
+ if (value === "") return;
1780
+ current = stack[stack.length - 1];
1781
+ tail = current.children[current.children.length - 1];
1782
+ if (tail && tail.type === "text") {
1783
+ tail.value += value;
1784
+ } else {
1785
+ current.children.push({ type: "text", value });
1786
+ }
1787
+ }
1788
+ function open(name) {
1789
+ var stack = this.stack;
1790
+ var className = this.options.classPrefix + name;
1791
+ var current = stack[stack.length - 1];
1792
+ var child = {
1793
+ type: "element",
1794
+ tagName: "span",
1795
+ properties: { className: [className] },
1796
+ children: []
1797
+ };
1798
+ current.children.push(child);
1799
+ stack.push(child);
1800
+ }
1801
+ function close() {
1802
+ this.stack.pop();
1803
+ }
1804
+ function toHtmlNoop() {
1805
+ return "";
1806
+ }
1807
+ function noop() {
1808
+ }
1809
+ }
1810
+ });
1811
+ export default require_core2();