@oscloudlab/knowledge-card 0.0.1 → 0.0.2

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 (305) hide show
  1. package/dist/abap-bNFqRLO1.js +84 -0
  2. package/dist/abnf-hvXtkKLY.js +87 -0
  3. package/dist/actionscript-6i80VbAv.js +43 -0
  4. package/dist/ada-CiSKRw34.js +52 -0
  5. package/dist/agda-BELchEdZ.js +56 -0
  6. package/dist/al-DkPZllof.js +56 -0
  7. package/dist/antlr4-D6U2qvIr.js +96 -0
  8. package/dist/apacheconf-DoADUQkC.js +80 -0
  9. package/dist/apex-Dwxgykqz.js +104 -0
  10. package/dist/apl-n43gQAL3.js +65 -0
  11. package/dist/applescript-DUNzhl2t.js +50 -0
  12. package/dist/aql-BNnsomU8.js +82 -0
  13. package/dist/arduino-Ctiiir5A.js +41 -0
  14. package/dist/arff-CF3A9Ff-.js +43 -0
  15. package/dist/asciidoc-BORHAu3L.js +240 -0
  16. package/dist/asm6502-OhJaS22O.js +62 -0
  17. package/dist/asmatmel-CG3mJBJs.js +74 -0
  18. package/dist/aspnet-Bgu9cVxS.js +83 -0
  19. package/dist/autohotkey-BMzF8w3W.js +64 -0
  20. package/dist/autoit-BUz7W_A-.js +67 -0
  21. package/dist/avisynth-D_5DsX9W.js +195 -0
  22. package/dist/avro-idl-DXBF-8pT.js +74 -0
  23. package/dist/bash-0-vitIuH.js +223 -0
  24. package/dist/bash-CmPTK8K6.js +26 -0
  25. package/dist/basic-CBrKUqQp.js +28 -0
  26. package/dist/basic-CgjK_kM4.js +26 -0
  27. package/dist/batch-DDuJqYDJ.js +125 -0
  28. package/dist/bbcode-BBBJW4h9.js +60 -0
  29. package/dist/bicep-B7Vet2aR.js +102 -0
  30. package/dist/birb-DPs12VRI.js +53 -0
  31. package/dist/bison-BKvEoKEG.js +73 -0
  32. package/dist/bnf-CaE0Bt3T.js +52 -0
  33. package/dist/brainfuck-GdsepcND.js +53 -0
  34. package/dist/brightscript-CaQ-B4pE.js +76 -0
  35. package/dist/bro-C_rmjGgn.js +60 -0
  36. package/dist/bsl-DQhyt9j4.js +101 -0
  37. package/dist/c-D8-laUL_.js +26 -0
  38. package/dist/c-b2c4WJSm.js +83 -0
  39. package/dist/cfscript-DcwVkFDX.js +71 -0
  40. package/dist/chaiscript-C1jdPAs0.js +89 -0
  41. package/dist/cil-C54xDxMg.js +52 -0
  42. package/dist/clike-D8ff3B0t.js +61 -0
  43. package/dist/clojure-BtKUzyKV.js +63 -0
  44. package/dist/cmake-CcFmEv5M.js +62 -0
  45. package/dist/cobol-SnYz3b9P.js +82 -0
  46. package/dist/coffeescript-CKJzYVhc.js +110 -0
  47. package/dist/concurnas-C6YKMKIG.js +90 -0
  48. package/dist/coq-AH1nKVcq.js +81 -0
  49. package/dist/core-CcwoL92f.js +1712 -0
  50. package/dist/cpp-Bh1PKWEj.js +26 -0
  51. package/dist/cpp-C0j-5811.js +115 -0
  52. package/dist/crystal-ByWjq0Om.js +87 -0
  53. package/dist/csharp-BmDeN1AH.js +388 -0
  54. package/dist/csharp-C-RIlwgF.js +26 -0
  55. package/dist/cshtml-BX2903vs.js +134 -0
  56. package/dist/csp-BKqyZN9w.js +90 -0
  57. package/dist/css-9KZNpeR_.js +90 -0
  58. package/dist/css-extras-DWWoGQa1.js +139 -0
  59. package/dist/csv-6jawsFvm.js +37 -0
  60. package/dist/cypher-GT5Ln_K4.js +65 -0
  61. package/dist/d-DQuNeOB7.js +109 -0
  62. package/dist/dart-CHER8X1l.js +101 -0
  63. package/dist/dataweave-DL_Y2LqP.js +73 -0
  64. package/dist/dax-D27J9qU6.js +60 -0
  65. package/dist/dhall-C-Dtjrdj.js +95 -0
  66. package/dist/diff-Dg1kV9wC.js +78 -0
  67. package/dist/django-LEJ_YyjH.js +81 -0
  68. package/dist/dns-zone-file-CX7rXdX2.js +64 -0
  69. package/dist/docker-CtY3JCLx.js +127 -0
  70. package/dist/dot-od_DZdpT.js +102 -0
  71. package/dist/ebnf-DIuzViAe.js +53 -0
  72. package/dist/editorconfig-CX02cRV5.js +60 -0
  73. package/dist/eiffel-D3XUiBw2.js +67 -0
  74. package/dist/ejs-2AfMOM5A.js +58 -0
  75. package/dist/elixir-722y_YPp.js +129 -0
  76. package/dist/elm-CIyhdE5y.js +78 -0
  77. package/dist/erb-B4chbVqA.js +60 -0
  78. package/dist/erlang-DxizlpkP.js +76 -0
  79. package/dist/etlua-D_9hun9v.js +58 -0
  80. package/dist/excel-formula-CmpI_82m.js +95 -0
  81. package/dist/factor-krg_8lb-.js +949 -0
  82. package/dist/false-B2gdCewG.js +60 -0
  83. package/dist/firestore-security-rules-xige90gq.js +67 -0
  84. package/dist/flow-bpD4sbhm.js +57 -0
  85. package/dist/fortran-B4crZzNk.js +73 -0
  86. package/dist/fsharp-BnvVN9HC.js +105 -0
  87. package/dist/ftl-BoWDVp6s.js +146 -0
  88. package/dist/gap-DxJ82BxA.js +78 -0
  89. package/dist/gcode-u6kBGAFD.js +49 -0
  90. package/dist/gdscript-DvuFm0WL.js +60 -0
  91. package/dist/gedcom-D6YNHC5R.js +61 -0
  92. package/dist/gherkin-DhC07ENE.js +115 -0
  93. package/dist/git-5vwNu_fL.js +96 -0
  94. package/dist/glsl-BGzQvWQa.js +39 -0
  95. package/dist/gml-DQQsqa0X.js +40 -0
  96. package/dist/gn-Bz3fehJS.js +76 -0
  97. package/dist/go-DQVNbr0F.js +57 -0
  98. package/dist/go-module-DAdBkEV6.js +55 -0
  99. package/dist/graphql-b5aI1fau.js +154 -0
  100. package/dist/groovy-C4Zi8h0f.js +82 -0
  101. package/dist/haml-B9jL77OH.js +172 -0
  102. package/dist/handlebars-BWszzUxR.js +74 -0
  103. package/dist/haskell-BrIvnyGx.js +26 -0
  104. package/dist/haskell-DR6jYji5.js +75 -0
  105. package/dist/haxe-DUpmVd5P.js +105 -0
  106. package/dist/hcl-CLqVpYtA.js +93 -0
  107. package/dist/hlsl-CsYJVSWg.js +55 -0
  108. package/dist/hoon-D0TgxHvB.js +47 -0
  109. package/dist/hpkp-BiU-mQjG.js +41 -0
  110. package/dist/hsts-DE54dR1b.js +41 -0
  111. package/dist/http-CfgOm4UI.js +155 -0
  112. package/dist/ichigojam-CVZ6Aj_t.js +46 -0
  113. package/dist/icon-CekiVVmc.js +53 -0
  114. package/dist/icu-message-format-CJA9loKb.js +165 -0
  115. package/dist/idris-KG9ztadM.js +51 -0
  116. package/dist/iecst-wFMMjMpf.js +65 -0
  117. package/dist/ignore-Byv4NN_B.js +51 -0
  118. package/dist/index-Sj89RFCY.js +136569 -0
  119. package/dist/index.esm.js +2 -683
  120. package/dist/index.umd.js +1611 -15
  121. package/dist/inform7-YsL-LiaC.js +90 -0
  122. package/dist/ini-ChNiYeuM.js +73 -0
  123. package/dist/io-BzLClKN_.js +55 -0
  124. package/dist/j-BuLAn7Gf.js +61 -0
  125. package/dist/java-3PJ6FLyt.js +26 -0
  126. package/dist/java-DYIb7l3j.js +98 -0
  127. package/dist/javadoc-BnSaiIyg.js +118 -0
  128. package/dist/javadoclike-BSqXhy54.js +26 -0
  129. package/dist/javadoclike-CHbTYI14.js +59 -0
  130. package/dist/javascript-Cl708kfq.js +152 -0
  131. package/dist/javastacktrace-DVGIqwxN.js +167 -0
  132. package/dist/jexl-DMjq6Vaw.js +47 -0
  133. package/dist/jolie-DXoSR52A.js +72 -0
  134. package/dist/jq-Dp1c5kuj.js +100 -0
  135. package/dist/js-extras-DJfB1MC8.js +150 -0
  136. package/dist/js-templates--GrCX2F1.js +197 -0
  137. package/dist/jsdoc-vErSu9Cr.js +116 -0
  138. package/dist/json-BW8KBIeJ.js +35 -0
  139. package/dist/json-BefNJCW-.js +26 -0
  140. package/dist/json5-CsdIXkOZ.js +56 -0
  141. package/dist/jsonp-Dz_5Lt-E.js +41 -0
  142. package/dist/jsstacktrace-DbBQ3Cv7.js +74 -0
  143. package/dist/jsx-Bv5_R7Yd.js +26 -0
  144. package/dist/jsx-FTe7XA1B.js +77 -0
  145. package/dist/julia-CoYGw2IR.js +68 -0
  146. package/dist/keepalived-CPWdwddz.js +81 -0
  147. package/dist/keyman-DNslP0Yy.js +76 -0
  148. package/dist/kotlin-CbZgjbyh.js +108 -0
  149. package/dist/kumir-Q_jLwxfZ.js +120 -0
  150. package/dist/kusto-dM9uOfWk.js +71 -0
  151. package/dist/latex-Bfeq39tO.js +92 -0
  152. package/dist/latte-CFxOlcdj.js +101 -0
  153. package/dist/less-DwfFB3qp.js +75 -0
  154. package/dist/lilypond-DaH_baew.js +104 -0
  155. package/dist/liquid-5rAVI9Ad.js +97 -0
  156. package/dist/lisp-Btc3xid7.js +194 -0
  157. package/dist/livescript-DQvJc3cA.js +150 -0
  158. package/dist/llvm-B7k0U20m.js +52 -0
  159. package/dist/log-B7ulCZCI.js +133 -0
  160. package/dist/lolcode-BEEMlfuU.js +81 -0
  161. package/dist/lua-BggcDXQp.js +31 -0
  162. package/dist/lua-D-T62TZ5.js +26 -0
  163. package/dist/magma-DAN3ZGAI.js +63 -0
  164. package/dist/makefile-Bjl-N6S3.js +63 -0
  165. package/dist/markdown-6Q2QSFJe.js +355 -0
  166. package/dist/markup-Bwuswjib.js +194 -0
  167. package/dist/markup-templating-BLspI5oq.js +26 -0
  168. package/dist/markup-templating-CVTxtFGH.js +77 -0
  169. package/dist/matlab-Bim6HLuO.js +46 -0
  170. package/dist/maxscript-BJqnafAC.js +97 -0
  171. package/dist/mel-C4iJe_aZ.js +74 -0
  172. package/dist/mermaid-DbKsw5IU.js +137 -0
  173. package/dist/mizar-DdUuEnQ0.js +45 -0
  174. package/dist/mongodb-C7OZqIiL.js +321 -0
  175. package/dist/monkey-CFQNpGhn.js +61 -0
  176. package/dist/moonscript-BDdCZd5M.js +87 -0
  177. package/dist/n1ql-C-ll6pgt.js +55 -0
  178. package/dist/n4js-DCLtuFdY.js +43 -0
  179. package/dist/nand2tetris-hdl-DJsK5r3l.js +42 -0
  180. package/dist/naniscript-DtHo8Sfl.js +165 -0
  181. package/dist/nasm-gJZT8LPh.js +57 -0
  182. package/dist/neon-SaMGcsnU.js +73 -0
  183. package/dist/nevod-Dqvto6vw.js +158 -0
  184. package/dist/nginx-Cp89qRQy.js +82 -0
  185. package/dist/nim-CdGVC6Mb.js +75 -0
  186. package/dist/nix-jnfiSyYI.js +69 -0
  187. package/dist/nsis-BZ4yPak6.js +58 -0
  188. package/dist/objectivec-B9lo2Gq2.js +44 -0
  189. package/dist/ocaml-DtZ_IyiS.js +88 -0
  190. package/dist/opencl-CtUznKol.js +83 -0
  191. package/dist/openqasm-BAmjbx7B.js +50 -0
  192. package/dist/oz-mvOvhn7u.js +61 -0
  193. package/dist/parigp-B5Xdmiju.js +81 -0
  194. package/dist/parser-Ct77dMe3.js +106 -0
  195. package/dist/pascal-Dwf-aqDs.js +95 -0
  196. package/dist/pascaligo-DWTvG1fw.js +115 -0
  197. package/dist/pcaxis-BUnNg5h_.js +84 -0
  198. package/dist/peoplecode-CewkQs1u.js +74 -0
  199. package/dist/perl-CmRi-uRU.js +164 -0
  200. package/dist/php-C_FrOCG4.js +334 -0
  201. package/dist/php-e7f7GtZ8.js +26 -0
  202. package/dist/php-extras-ATZDccPm.js +50 -0
  203. package/dist/phpdoc-uba1O-5-.js +61 -0
  204. package/dist/plsql-BLNilzVM.js +51 -0
  205. package/dist/powerquery-CddEWH0P.js +83 -0
  206. package/dist/powershell-SimxvdWh.js +88 -0
  207. package/dist/processing-IeXhsRmw.js +46 -0
  208. package/dist/prolog-CnTr7enQ.js +52 -0
  209. package/dist/promql-DpmXmCiA.js +120 -0
  210. package/dist/properties-BraQbkIL.js +42 -0
  211. package/dist/protobuf-BKmtm9wI.js +71 -0
  212. package/dist/psl-DfJLNMzA.js +68 -0
  213. package/dist/pug-C7olXkyh.js +212 -0
  214. package/dist/puppet-DMdAuQ_Z.js +167 -0
  215. package/dist/pure-BVQraXQo.js +111 -0
  216. package/dist/purebasic-DnAwivDW.js +87 -0
  217. package/dist/purescript-BBcUX3cf.js +62 -0
  218. package/dist/python-C9JXUpy2.js +94 -0
  219. package/dist/q-Ct9Ut4C4.js +83 -0
  220. package/dist/qml-DubjWeE3.js +103 -0
  221. package/dist/qore-CDjxpVlT.js +53 -0
  222. package/dist/qsharp-Dyr5mrma.js +128 -0
  223. package/dist/r-B4F2KUJL.js +55 -0
  224. package/dist/racket-D5k9UW-t.js +50 -0
  225. package/dist/reason-Cs82zJO7.js +54 -0
  226. package/dist/regex-Z8MvaNEm.js +124 -0
  227. package/dist/rego-CcGrxeab.js +58 -0
  228. package/dist/renpy-mByYQWSM.js +51 -0
  229. package/dist/rest-BoR9ZMoX.js +231 -0
  230. package/dist/rip-C3Bf4Bpl.js +62 -0
  231. package/dist/roboconf-1MYmsJJ7.js +60 -0
  232. package/dist/robotframework-fBSrPGHK.js +122 -0
  233. package/dist/ruby-BQlisu6i.js +182 -0
  234. package/dist/ruby-DRrUXRqW.js +26 -0
  235. package/dist/rust-DhUR7ICB.js +149 -0
  236. package/dist/sas-D7DM5vmM.js +362 -0
  237. package/dist/sass-B-3W9xmk.js +96 -0
  238. package/dist/scala-DmHnWeTz.js +80 -0
  239. package/dist/scheme-B-TWMKN_.js +122 -0
  240. package/dist/scheme-egHBLRqV.js +26 -0
  241. package/dist/scss-BU4D1BLj.js +106 -0
  242. package/dist/shell-session-6QFBv7G6.js +93 -0
  243. package/dist/smali-B48Y4QYt.js +112 -0
  244. package/dist/smalltalk-w59b04aF.js +71 -0
  245. package/dist/smarty-CnWvL-Ef.js +147 -0
  246. package/dist/sml-cUUD1qMQ.js +91 -0
  247. package/dist/solidity-Drt__SLk.js +49 -0
  248. package/dist/solution-file-CYG1BOQK.js +79 -0
  249. package/dist/soy-BZNQzgkB.js +112 -0
  250. package/dist/sparql-BQDndvZG.js +49 -0
  251. package/dist/splunk-spl-ezOLCJwA.js +57 -0
  252. package/dist/sqf-C83ezg-4.js +63 -0
  253. package/dist/sql-CVBSuRzU.js +26 -0
  254. package/dist/sql-qhcRp-Km.js +44 -0
  255. package/dist/squirrel-2r-3bEO_.js +74 -0
  256. package/dist/stan-D2wLHzr8.js +86 -0
  257. package/dist/style.css +1 -1
  258. package/dist/stylus-KkSvURTJ.js +165 -0
  259. package/dist/swift-c7528WsQ.js +152 -0
  260. package/dist/systemd-DWsV0AtP.js +88 -0
  261. package/dist/t4-cs-D7NmzTCB.js +38 -0
  262. package/dist/t4-templating-Bc9GyRcs.js +26 -0
  263. package/dist/t4-templating-yxm91MEk.js +56 -0
  264. package/dist/t4-vb-Df3tMe1Q.js +38 -0
  265. package/dist/tap-wFXvu_No.js +56 -0
  266. package/dist/tcl-BZqzhUcQ.js +79 -0
  267. package/dist/textile-DrTKyn7T.js +289 -0
  268. package/dist/toml-LVQpNmZe.js +86 -0
  269. package/dist/tremor-A_cxX8C4.js +90 -0
  270. package/dist/tsx-CQKNNLzi.js +46 -0
  271. package/dist/tt2-CPOtfoBh.js +78 -0
  272. package/dist/turtle-BjRE9oBS.js +26 -0
  273. package/dist/turtle-z6QfbtiY.js +61 -0
  274. package/dist/twig-Cz25rowk.js +72 -0
  275. package/dist/typescript--VNBoLO-.js +56 -0
  276. package/dist/typescript-Bx2QMcny.js +26 -0
  277. package/dist/typoscript-BdH7x5a4.js +109 -0
  278. package/dist/unrealscript-Cb8322pT.js +71 -0
  279. package/dist/uorazor-CHv0VHYn.js +81 -0
  280. package/dist/uri-ci9M926F.js +116 -0
  281. package/dist/v-DL4z_kNT.js +106 -0
  282. package/dist/vala-CPIzd5en.js +113 -0
  283. package/dist/vbnet-BoCvq106.js +26 -0
  284. package/dist/vbnet-ClfmYufs.js +36 -0
  285. package/dist/velocity-CBXhMUrK.js +99 -0
  286. package/dist/verilog-C1ZX-Tr8.js +59 -0
  287. package/dist/vhdl-CLlMgFjz.js +56 -0
  288. package/dist/vim-BuFUFT06.js +43 -0
  289. package/dist/visual-basic-CzPES6jG.js +59 -0
  290. package/dist/warpscript-C5YvStKz.js +54 -0
  291. package/dist/wasm-txCKMkgE.js +64 -0
  292. package/dist/web-idl-B4OgJf1y.js +118 -0
  293. package/dist/wiki-C6_DR7WK.js +110 -0
  294. package/dist/wolfram-D9ETP9M6.js +58 -0
  295. package/dist/wren-CkhJWcmB.js +121 -0
  296. package/dist/xeora-Cg3OrGlT.js +147 -0
  297. package/dist/xml-doc-C0mFvWUS.js +56 -0
  298. package/dist/xojo-CW6K9MHL.js +51 -0
  299. package/dist/xquery-B0ssbj_m.js +118 -0
  300. package/dist/yaml-S0xfBtlT.js +26 -0
  301. package/dist/yaml-hxc7aP7n.js +92 -0
  302. package/dist/yang-Dg6OSQ6Y.js +53 -0
  303. package/dist/zig-xuUtE8Pe.js +117 -0
  304. package/package.json +30 -4
  305. package/dist/index.d.ts +0 -2
@@ -0,0 +1,223 @@
1
+ var i, p;
2
+ function u() {
3
+ if (p) return i;
4
+ p = 1, i = r, r.displayName = "bash", r.aliases = ["shell"];
5
+ function r(l) {
6
+ (function(e) {
7
+ var n = "\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b", s = {
8
+ pattern: /(^(["']?)\w+\2)[ \t]+\S.*/,
9
+ lookbehind: !0,
10
+ alias: "punctuation",
11
+ // this looks reasonably well in all themes
12
+ inside: null
13
+ // see below
14
+ }, t = {
15
+ bash: s,
16
+ environment: {
17
+ pattern: RegExp("\\$" + n),
18
+ alias: "constant"
19
+ },
20
+ variable: [
21
+ // [0]: Arithmetic Environment
22
+ {
23
+ pattern: /\$?\(\([\s\S]+?\)\)/,
24
+ greedy: !0,
25
+ inside: {
26
+ // If there is a $ sign at the beginning highlight $(( and )) as variable
27
+ variable: [
28
+ {
29
+ pattern: /(^\$\(\([\s\S]+)\)\)/,
30
+ lookbehind: !0
31
+ },
32
+ /^\$\(\(/
33
+ ],
34
+ number: /\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,
35
+ // Operators according to https://www.gnu.org/software/bash/manual/bashref.html#Shell-Arithmetic
36
+ operator: /--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,
37
+ // If there is no $ sign at the beginning highlight (( and )) as punctuation
38
+ punctuation: /\(\(?|\)\)?|,|;/
39
+ }
40
+ },
41
+ // [1]: Command Substitution
42
+ {
43
+ pattern: /\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,
44
+ greedy: !0,
45
+ inside: {
46
+ variable: /^\$\(|^`|\)$|`$/
47
+ }
48
+ },
49
+ // [2]: Brace expansion
50
+ {
51
+ pattern: /\$\{[^}]+\}/,
52
+ greedy: !0,
53
+ inside: {
54
+ operator: /:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,
55
+ punctuation: /[\[\]]/,
56
+ environment: {
57
+ pattern: RegExp("(\\{)" + n),
58
+ lookbehind: !0,
59
+ alias: "constant"
60
+ }
61
+ }
62
+ },
63
+ /\$(?:\w+|[#?*!@$])/
64
+ ],
65
+ // Escape sequences from echo and printf's manuals, and escaped quotes.
66
+ entity: /\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/
67
+ };
68
+ e.languages.bash = {
69
+ shebang: {
70
+ pattern: /^#!\s*\/.*/,
71
+ alias: "important"
72
+ },
73
+ comment: {
74
+ pattern: /(^|[^"{\\$])#.*/,
75
+ lookbehind: !0
76
+ },
77
+ "function-name": [
78
+ // a) function foo {
79
+ // b) foo() {
80
+ // c) function foo() {
81
+ // but not “foo {”
82
+ {
83
+ // a) and c)
84
+ pattern: /(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,
85
+ lookbehind: !0,
86
+ alias: "function"
87
+ },
88
+ {
89
+ // b)
90
+ pattern: /\b[\w-]+(?=\s*\(\s*\)\s*\{)/,
91
+ alias: "function"
92
+ }
93
+ ],
94
+ // Highlight variable names as variables in for and select beginnings.
95
+ "for-or-select": {
96
+ pattern: /(\b(?:for|select)\s+)\w+(?=\s+in\s)/,
97
+ alias: "variable",
98
+ lookbehind: !0
99
+ },
100
+ // Highlight variable names as variables in the left-hand part
101
+ // of assignments (“=” and “+=”).
102
+ "assign-left": {
103
+ pattern: /(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,
104
+ inside: {
105
+ environment: {
106
+ pattern: RegExp("(^|[\\s;|&]|[<>]\\()" + n),
107
+ lookbehind: !0,
108
+ alias: "constant"
109
+ }
110
+ },
111
+ alias: "variable",
112
+ lookbehind: !0
113
+ },
114
+ string: [
115
+ // Support for Here-documents https://en.wikipedia.org/wiki/Here_document
116
+ {
117
+ pattern: /((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,
118
+ lookbehind: !0,
119
+ greedy: !0,
120
+ inside: t
121
+ },
122
+ // Here-document with quotes around the tag
123
+ // → No expansion (so no “inside”).
124
+ {
125
+ pattern: /((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,
126
+ lookbehind: !0,
127
+ greedy: !0,
128
+ inside: {
129
+ bash: s
130
+ }
131
+ },
132
+ // “Normal” string
133
+ {
134
+ // https://www.gnu.org/software/bash/manual/html_node/Double-Quotes.html
135
+ pattern: /(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,
136
+ lookbehind: !0,
137
+ greedy: !0,
138
+ inside: t
139
+ },
140
+ {
141
+ // https://www.gnu.org/software/bash/manual/html_node/Single-Quotes.html
142
+ pattern: /(^|[^$\\])'[^']*'/,
143
+ lookbehind: !0,
144
+ greedy: !0
145
+ },
146
+ {
147
+ // https://www.gnu.org/software/bash/manual/html_node/ANSI_002dC-Quoting.html
148
+ pattern: /\$'(?:[^'\\]|\\[\s\S])*'/,
149
+ greedy: !0,
150
+ inside: {
151
+ entity: t.entity
152
+ }
153
+ }
154
+ ],
155
+ environment: {
156
+ pattern: RegExp("\\$?" + n),
157
+ alias: "constant"
158
+ },
159
+ variable: t.variable,
160
+ function: {
161
+ pattern: /(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,
162
+ lookbehind: !0
163
+ },
164
+ keyword: {
165
+ pattern: /(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,
166
+ lookbehind: !0
167
+ },
168
+ // https://www.gnu.org/software/bash/manual/html_node/Shell-Builtin-Commands.html
169
+ builtin: {
170
+ pattern: /(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,
171
+ lookbehind: !0,
172
+ // Alias added to make those easier to distinguish from strings.
173
+ alias: "class-name"
174
+ },
175
+ boolean: {
176
+ pattern: /(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,
177
+ lookbehind: !0
178
+ },
179
+ "file-descriptor": {
180
+ pattern: /\B&\d\b/,
181
+ alias: "important"
182
+ },
183
+ operator: {
184
+ // Lots of redirections here, but not just that.
185
+ pattern: /\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,
186
+ inside: {
187
+ "file-descriptor": {
188
+ pattern: /^\d/,
189
+ alias: "important"
190
+ }
191
+ }
192
+ },
193
+ punctuation: /\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,
194
+ number: {
195
+ pattern: /(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,
196
+ lookbehind: !0
197
+ }
198
+ }, s.inside = e.languages.bash;
199
+ for (var o = [
200
+ "comment",
201
+ "function-name",
202
+ "for-or-select",
203
+ "assign-left",
204
+ "string",
205
+ "environment",
206
+ "function",
207
+ "keyword",
208
+ "builtin",
209
+ "boolean",
210
+ "file-descriptor",
211
+ "operator",
212
+ "punctuation",
213
+ "number"
214
+ ], d = t.variable[1].inside, a = 0; a < o.length; a++)
215
+ d[o[a]] = e.languages.bash[o[a]];
216
+ e.languages.shell = e.languages.bash;
217
+ })(l);
218
+ }
219
+ return i;
220
+ }
221
+ export {
222
+ u as r
223
+ };
@@ -0,0 +1,26 @@
1
+ import { g as f } from "./index-Sj89RFCY.js";
2
+ import { r as i } from "./bash-0-vitIuH.js";
3
+ function c(t, s) {
4
+ for (var o = 0; o < s.length; o++) {
5
+ const e = s[o];
6
+ if (typeof e != "string" && !Array.isArray(e)) {
7
+ for (const r in e)
8
+ if (r !== "default" && !(r in t)) {
9
+ const a = Object.getOwnPropertyDescriptor(e, r);
10
+ a && Object.defineProperty(t, r, a.get ? a : {
11
+ enumerable: !0,
12
+ get: () => e[r]
13
+ });
14
+ }
15
+ }
16
+ }
17
+ return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
18
+ }
19
+ var n = i();
20
+ const p = /* @__PURE__ */ f(n), g = /* @__PURE__ */ c({
21
+ __proto__: null,
22
+ default: p
23
+ }, [n]);
24
+ export {
25
+ g as b
26
+ };
@@ -0,0 +1,28 @@
1
+ var T, R;
2
+ function N() {
3
+ if (R) return T;
4
+ R = 1, T = E, E.displayName = "basic", E.aliases = [];
5
+ function E(I) {
6
+ I.languages.basic = {
7
+ comment: {
8
+ pattern: /(?:!|REM\b).+/i,
9
+ inside: {
10
+ keyword: /^REM/i
11
+ }
12
+ },
13
+ string: {
14
+ pattern: /"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,
15
+ greedy: !0
16
+ },
17
+ number: /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,
18
+ keyword: /\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,
19
+ function: /\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,
20
+ operator: /<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,
21
+ punctuation: /[,;:()]/
22
+ };
23
+ }
24
+ return T;
25
+ }
26
+ export {
27
+ N as r
28
+ };
@@ -0,0 +1,26 @@
1
+ import { g as c } from "./index-Sj89RFCY.js";
2
+ import { r as n } from "./basic-CBrKUqQp.js";
3
+ function f(t, s) {
4
+ for (var o = 0; o < s.length; o++) {
5
+ const e = s[o];
6
+ if (typeof e != "string" && !Array.isArray(e)) {
7
+ for (const r in e)
8
+ if (r !== "default" && !(r in t)) {
9
+ const a = Object.getOwnPropertyDescriptor(e, r);
10
+ a && Object.defineProperty(t, r, a.get ? a : {
11
+ enumerable: !0,
12
+ get: () => e[r]
13
+ });
14
+ }
15
+ }
16
+ }
17
+ return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
18
+ }
19
+ var i = n();
20
+ const p = /* @__PURE__ */ c(i), g = /* @__PURE__ */ f({
21
+ __proto__: null,
22
+ default: p
23
+ }, [i]);
24
+ export {
25
+ g as b
26
+ };
@@ -0,0 +1,125 @@
1
+ import { g as u } from "./index-Sj89RFCY.js";
2
+ function d(a, i) {
3
+ for (var n = 0; n < i.length; n++) {
4
+ const e = i[n];
5
+ if (typeof e != "string" && !Array.isArray(e)) {
6
+ for (const r in e)
7
+ if (r !== "default" && !(r in a)) {
8
+ const t = Object.getOwnPropertyDescriptor(e, r);
9
+ t && Object.defineProperty(a, r, t.get ? t : {
10
+ enumerable: !0,
11
+ get: () => e[r]
12
+ });
13
+ }
14
+ }
15
+ }
16
+ return Object.freeze(Object.defineProperty(a, Symbol.toStringTag, { value: "Module" }));
17
+ }
18
+ var s, b;
19
+ function p() {
20
+ if (b) return s;
21
+ b = 1, s = a, a.displayName = "batch", a.aliases = [];
22
+ function a(i) {
23
+ (function(n) {
24
+ var e = /%%?[~:\w]+%?|!\S+!/, r = {
25
+ pattern: /\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,
26
+ alias: "attr-name",
27
+ inside: {
28
+ punctuation: /:/
29
+ }
30
+ }, t = /"(?:[\\"]"|[^"])*"(?!")/, o = /(?:\b|-)\d+\b/;
31
+ n.languages.batch = {
32
+ comment: [
33
+ /^::.*/m,
34
+ {
35
+ pattern: /((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,
36
+ lookbehind: !0
37
+ }
38
+ ],
39
+ label: {
40
+ pattern: /^:.*/m,
41
+ alias: "property"
42
+ },
43
+ command: [
44
+ {
45
+ // FOR command
46
+ pattern: /((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,
47
+ lookbehind: !0,
48
+ inside: {
49
+ keyword: /\b(?:do|in)\b|^for\b/i,
50
+ string: t,
51
+ parameter: r,
52
+ variable: e,
53
+ number: o,
54
+ punctuation: /[()',]/
55
+ }
56
+ },
57
+ {
58
+ // IF command
59
+ pattern: /((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,
60
+ lookbehind: !0,
61
+ inside: {
62
+ keyword: /\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,
63
+ string: t,
64
+ parameter: r,
65
+ variable: e,
66
+ number: o,
67
+ operator: /\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i
68
+ }
69
+ },
70
+ {
71
+ // ELSE command
72
+ pattern: /((?:^|[&()])[ \t]*)else\b/im,
73
+ lookbehind: !0,
74
+ inside: {
75
+ keyword: /^else\b/i
76
+ }
77
+ },
78
+ {
79
+ // SET command
80
+ pattern: /((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,
81
+ lookbehind: !0,
82
+ inside: {
83
+ keyword: /^set\b/i,
84
+ string: t,
85
+ parameter: r,
86
+ variable: [e, /\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],
87
+ number: o,
88
+ operator: /[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,
89
+ punctuation: /[()',]/
90
+ }
91
+ },
92
+ {
93
+ // Other commands
94
+ pattern: /((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,
95
+ lookbehind: !0,
96
+ inside: {
97
+ keyword: /^\w+\b/,
98
+ string: t,
99
+ parameter: r,
100
+ label: {
101
+ pattern: /(^\s*):\S+/m,
102
+ lookbehind: !0,
103
+ alias: "property"
104
+ },
105
+ variable: e,
106
+ number: o,
107
+ operator: /\^/
108
+ }
109
+ }
110
+ ],
111
+ operator: /[&@]/,
112
+ punctuation: /[()']/
113
+ };
114
+ })(i);
115
+ }
116
+ return s;
117
+ }
118
+ var l = p();
119
+ const m = /* @__PURE__ */ u(l), f = /* @__PURE__ */ d({
120
+ __proto__: null,
121
+ default: m
122
+ }, [l]);
123
+ export {
124
+ f as b
125
+ };
@@ -0,0 +1,60 @@
1
+ import { g as b } from "./index-Sj89RFCY.js";
2
+ function i(e, t) {
3
+ for (var a = 0; a < t.length; a++) {
4
+ const r = t[a];
5
+ if (typeof r != "string" && !Array.isArray(r)) {
6
+ for (const o in r)
7
+ if (o !== "default" && !(o in e)) {
8
+ const n = Object.getOwnPropertyDescriptor(r, o);
9
+ n && Object.defineProperty(e, o, n.get ? n : {
10
+ enumerable: !0,
11
+ get: () => r[o]
12
+ });
13
+ }
14
+ }
15
+ }
16
+ return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
17
+ }
18
+ var s, c;
19
+ function d() {
20
+ if (c) return s;
21
+ c = 1, s = e, e.displayName = "bbcode", e.aliases = ["shortcode"];
22
+ function e(t) {
23
+ t.languages.bbcode = {
24
+ tag: {
25
+ pattern: /\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,
26
+ inside: {
27
+ tag: {
28
+ pattern: /^\[\/?[^\s=\]]+/,
29
+ inside: {
30
+ punctuation: /^\[\/?/
31
+ }
32
+ },
33
+ "attr-value": {
34
+ pattern: /=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,
35
+ inside: {
36
+ punctuation: [
37
+ /^=/,
38
+ {
39
+ pattern: /^(\s*)["']|["']$/,
40
+ lookbehind: !0
41
+ }
42
+ ]
43
+ }
44
+ },
45
+ punctuation: /\]/,
46
+ "attr-name": /[^\s=\]]+/
47
+ }
48
+ }
49
+ }, t.languages.shortcode = t.languages.bbcode;
50
+ }
51
+ return s;
52
+ }
53
+ var u = d();
54
+ const p = /* @__PURE__ */ b(u), f = /* @__PURE__ */ i({
55
+ __proto__: null,
56
+ default: p
57
+ }, [u]);
58
+ export {
59
+ f as b
60
+ };
@@ -0,0 +1,102 @@
1
+ import { g as s } from "./index-Sj89RFCY.js";
2
+ function d(e, t) {
3
+ for (var i = 0; i < t.length; i++) {
4
+ const r = t[i];
5
+ if (typeof r != "string" && !Array.isArray(r)) {
6
+ for (const n in r)
7
+ if (n !== "default" && !(n in e)) {
8
+ const o = Object.getOwnPropertyDescriptor(r, n);
9
+ o && Object.defineProperty(e, n, o.get ? o : {
10
+ enumerable: !0,
11
+ get: () => r[n]
12
+ });
13
+ }
14
+ }
15
+ }
16
+ return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
17
+ }
18
+ var a, p;
19
+ function b() {
20
+ if (p) return a;
21
+ p = 1, a = e, e.displayName = "bicep", e.aliases = [];
22
+ function e(t) {
23
+ t.languages.bicep = {
24
+ comment: [
25
+ {
26
+ // multiline comments eg /* ASDF */
27
+ pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
28
+ lookbehind: !0,
29
+ greedy: !0
30
+ },
31
+ {
32
+ // singleline comments eg // ASDF
33
+ pattern: /(^|[^\\:])\/\/.*/,
34
+ lookbehind: !0,
35
+ greedy: !0
36
+ }
37
+ ],
38
+ property: [
39
+ {
40
+ pattern: /([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,
41
+ lookbehind: !0
42
+ },
43
+ {
44
+ pattern: /([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,
45
+ lookbehind: !0,
46
+ greedy: !0
47
+ }
48
+ ],
49
+ string: [
50
+ {
51
+ pattern: /'''[^'][\s\S]*?'''/,
52
+ greedy: !0
53
+ },
54
+ {
55
+ pattern: /(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,
56
+ lookbehind: !0,
57
+ greedy: !0
58
+ }
59
+ ],
60
+ "interpolated-string": {
61
+ pattern: /(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,
62
+ lookbehind: !0,
63
+ greedy: !0,
64
+ inside: {
65
+ interpolation: {
66
+ pattern: /\$\{[^{}\r\n]*\}/,
67
+ inside: {
68
+ expression: {
69
+ pattern: /(^\$\{)[\s\S]+(?=\}$)/,
70
+ lookbehind: !0
71
+ },
72
+ punctuation: /^\$\{|\}$/
73
+ }
74
+ },
75
+ string: /[\s\S]+/
76
+ }
77
+ },
78
+ datatype: {
79
+ pattern: /(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,
80
+ lookbehind: !0,
81
+ alias: "class-name"
82
+ },
83
+ boolean: /\b(?:false|true)\b/,
84
+ // https://github.com/Azure/bicep/blob/114a3251b4e6e30082a58729f19a8cc4e374ffa6/src/textmate/bicep.tmlanguage#L184
85
+ keyword: /\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,
86
+ decorator: /@\w+\b/,
87
+ function: /\b[a-z_]\w*(?=[ \t]*\()/i,
88
+ number: /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,
89
+ operator: /--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,
90
+ punctuation: /[{}[\];(),.:]/
91
+ }, t.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside = t.languages.bicep;
92
+ }
93
+ return a;
94
+ }
95
+ var u = b();
96
+ const l = /* @__PURE__ */ s(u), g = /* @__PURE__ */ d({
97
+ __proto__: null,
98
+ default: l
99
+ }, [u]);
100
+ export {
101
+ g as b
102
+ };
@@ -0,0 +1,53 @@
1
+ import { g as l } from "./index-Sj89RFCY.js";
2
+ function u(e, r) {
3
+ for (var n = 0; n < r.length; n++) {
4
+ const t = r[n];
5
+ if (typeof t != "string" && !Array.isArray(t)) {
6
+ for (const a in t)
7
+ if (a !== "default" && !(a in e)) {
8
+ const o = Object.getOwnPropertyDescriptor(t, a);
9
+ o && Object.defineProperty(e, a, o.get ? o : {
10
+ enumerable: !0,
11
+ get: () => t[a]
12
+ });
13
+ }
14
+ }
15
+ }
16
+ return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
17
+ }
18
+ var i, b;
19
+ function f() {
20
+ if (b) return i;
21
+ b = 1, i = e, e.displayName = "birb", e.aliases = [];
22
+ function e(r) {
23
+ r.languages.birb = r.languages.extend("clike", {
24
+ string: {
25
+ pattern: /r?("|')(?:\\.|(?!\1)[^\\])*\1/,
26
+ greedy: !0
27
+ },
28
+ "class-name": [
29
+ /\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,
30
+ // matches variable and function return types (parameters as well).
31
+ /\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/
32
+ ],
33
+ keyword: /\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,
34
+ operator: /\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,
35
+ variable: /\b[a-z_]\w*\b/
36
+ }), r.languages.insertBefore("birb", "function", {
37
+ metadata: {
38
+ pattern: /<\w+>/,
39
+ greedy: !0,
40
+ alias: "symbol"
41
+ }
42
+ });
43
+ }
44
+ return i;
45
+ }
46
+ var s = f();
47
+ const c = /* @__PURE__ */ l(s), d = /* @__PURE__ */ u({
48
+ __proto__: null,
49
+ default: c
50
+ }, [s]);
51
+ export {
52
+ d as b
53
+ };