@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.
- package/dist/abap-bNFqRLO1.js +84 -0
- package/dist/abnf-hvXtkKLY.js +87 -0
- package/dist/actionscript-6i80VbAv.js +43 -0
- package/dist/ada-CiSKRw34.js +52 -0
- package/dist/agda-BELchEdZ.js +56 -0
- package/dist/al-DkPZllof.js +56 -0
- package/dist/antlr4-D6U2qvIr.js +96 -0
- package/dist/apacheconf-DoADUQkC.js +80 -0
- package/dist/apex-Dwxgykqz.js +104 -0
- package/dist/apl-n43gQAL3.js +65 -0
- package/dist/applescript-DUNzhl2t.js +50 -0
- package/dist/aql-BNnsomU8.js +82 -0
- package/dist/arduino-Ctiiir5A.js +41 -0
- package/dist/arff-CF3A9Ff-.js +43 -0
- package/dist/asciidoc-BORHAu3L.js +240 -0
- package/dist/asm6502-OhJaS22O.js +62 -0
- package/dist/asmatmel-CG3mJBJs.js +74 -0
- package/dist/aspnet-Bgu9cVxS.js +83 -0
- package/dist/autohotkey-BMzF8w3W.js +64 -0
- package/dist/autoit-BUz7W_A-.js +67 -0
- package/dist/avisynth-D_5DsX9W.js +195 -0
- package/dist/avro-idl-DXBF-8pT.js +74 -0
- package/dist/bash-0-vitIuH.js +223 -0
- package/dist/bash-CmPTK8K6.js +26 -0
- package/dist/basic-CBrKUqQp.js +28 -0
- package/dist/basic-CgjK_kM4.js +26 -0
- package/dist/batch-DDuJqYDJ.js +125 -0
- package/dist/bbcode-BBBJW4h9.js +60 -0
- package/dist/bicep-B7Vet2aR.js +102 -0
- package/dist/birb-DPs12VRI.js +53 -0
- package/dist/bison-BKvEoKEG.js +73 -0
- package/dist/bnf-CaE0Bt3T.js +52 -0
- package/dist/brainfuck-GdsepcND.js +53 -0
- package/dist/brightscript-CaQ-B4pE.js +76 -0
- package/dist/bro-C_rmjGgn.js +60 -0
- package/dist/bsl-DQhyt9j4.js +101 -0
- package/dist/c-D8-laUL_.js +26 -0
- package/dist/c-b2c4WJSm.js +83 -0
- package/dist/cfscript-DcwVkFDX.js +71 -0
- package/dist/chaiscript-C1jdPAs0.js +89 -0
- package/dist/cil-C54xDxMg.js +52 -0
- package/dist/clike-D8ff3B0t.js +61 -0
- package/dist/clojure-BtKUzyKV.js +63 -0
- package/dist/cmake-CcFmEv5M.js +62 -0
- package/dist/cobol-SnYz3b9P.js +82 -0
- package/dist/coffeescript-CKJzYVhc.js +110 -0
- package/dist/concurnas-C6YKMKIG.js +90 -0
- package/dist/coq-AH1nKVcq.js +81 -0
- package/dist/core-CcwoL92f.js +1712 -0
- package/dist/cpp-Bh1PKWEj.js +26 -0
- package/dist/cpp-C0j-5811.js +115 -0
- package/dist/crystal-ByWjq0Om.js +87 -0
- package/dist/csharp-BmDeN1AH.js +388 -0
- package/dist/csharp-C-RIlwgF.js +26 -0
- package/dist/cshtml-BX2903vs.js +134 -0
- package/dist/csp-BKqyZN9w.js +90 -0
- package/dist/css-9KZNpeR_.js +90 -0
- package/dist/css-extras-DWWoGQa1.js +139 -0
- package/dist/csv-6jawsFvm.js +37 -0
- package/dist/cypher-GT5Ln_K4.js +65 -0
- package/dist/d-DQuNeOB7.js +109 -0
- package/dist/dart-CHER8X1l.js +101 -0
- package/dist/dataweave-DL_Y2LqP.js +73 -0
- package/dist/dax-D27J9qU6.js +60 -0
- package/dist/dhall-C-Dtjrdj.js +95 -0
- package/dist/diff-Dg1kV9wC.js +78 -0
- package/dist/django-LEJ_YyjH.js +81 -0
- package/dist/dns-zone-file-CX7rXdX2.js +64 -0
- package/dist/docker-CtY3JCLx.js +127 -0
- package/dist/dot-od_DZdpT.js +102 -0
- package/dist/ebnf-DIuzViAe.js +53 -0
- package/dist/editorconfig-CX02cRV5.js +60 -0
- package/dist/eiffel-D3XUiBw2.js +67 -0
- package/dist/ejs-2AfMOM5A.js +58 -0
- package/dist/elixir-722y_YPp.js +129 -0
- package/dist/elm-CIyhdE5y.js +78 -0
- package/dist/erb-B4chbVqA.js +60 -0
- package/dist/erlang-DxizlpkP.js +76 -0
- package/dist/etlua-D_9hun9v.js +58 -0
- package/dist/excel-formula-CmpI_82m.js +95 -0
- package/dist/factor-krg_8lb-.js +949 -0
- package/dist/false-B2gdCewG.js +60 -0
- package/dist/firestore-security-rules-xige90gq.js +67 -0
- package/dist/flow-bpD4sbhm.js +57 -0
- package/dist/fortran-B4crZzNk.js +73 -0
- package/dist/fsharp-BnvVN9HC.js +105 -0
- package/dist/ftl-BoWDVp6s.js +146 -0
- package/dist/gap-DxJ82BxA.js +78 -0
- package/dist/gcode-u6kBGAFD.js +49 -0
- package/dist/gdscript-DvuFm0WL.js +60 -0
- package/dist/gedcom-D6YNHC5R.js +61 -0
- package/dist/gherkin-DhC07ENE.js +115 -0
- package/dist/git-5vwNu_fL.js +96 -0
- package/dist/glsl-BGzQvWQa.js +39 -0
- package/dist/gml-DQQsqa0X.js +40 -0
- package/dist/gn-Bz3fehJS.js +76 -0
- package/dist/go-DQVNbr0F.js +57 -0
- package/dist/go-module-DAdBkEV6.js +55 -0
- package/dist/graphql-b5aI1fau.js +154 -0
- package/dist/groovy-C4Zi8h0f.js +82 -0
- package/dist/haml-B9jL77OH.js +172 -0
- package/dist/handlebars-BWszzUxR.js +74 -0
- package/dist/haskell-BrIvnyGx.js +26 -0
- package/dist/haskell-DR6jYji5.js +75 -0
- package/dist/haxe-DUpmVd5P.js +105 -0
- package/dist/hcl-CLqVpYtA.js +93 -0
- package/dist/hlsl-CsYJVSWg.js +55 -0
- package/dist/hoon-D0TgxHvB.js +47 -0
- package/dist/hpkp-BiU-mQjG.js +41 -0
- package/dist/hsts-DE54dR1b.js +41 -0
- package/dist/http-CfgOm4UI.js +155 -0
- package/dist/ichigojam-CVZ6Aj_t.js +46 -0
- package/dist/icon-CekiVVmc.js +53 -0
- package/dist/icu-message-format-CJA9loKb.js +165 -0
- package/dist/idris-KG9ztadM.js +51 -0
- package/dist/iecst-wFMMjMpf.js +65 -0
- package/dist/ignore-Byv4NN_B.js +51 -0
- package/dist/index-Sj89RFCY.js +136569 -0
- package/dist/index.esm.js +2 -683
- package/dist/index.umd.js +1611 -15
- package/dist/inform7-YsL-LiaC.js +90 -0
- package/dist/ini-ChNiYeuM.js +73 -0
- package/dist/io-BzLClKN_.js +55 -0
- package/dist/j-BuLAn7Gf.js +61 -0
- package/dist/java-3PJ6FLyt.js +26 -0
- package/dist/java-DYIb7l3j.js +98 -0
- package/dist/javadoc-BnSaiIyg.js +118 -0
- package/dist/javadoclike-BSqXhy54.js +26 -0
- package/dist/javadoclike-CHbTYI14.js +59 -0
- package/dist/javascript-Cl708kfq.js +152 -0
- package/dist/javastacktrace-DVGIqwxN.js +167 -0
- package/dist/jexl-DMjq6Vaw.js +47 -0
- package/dist/jolie-DXoSR52A.js +72 -0
- package/dist/jq-Dp1c5kuj.js +100 -0
- package/dist/js-extras-DJfB1MC8.js +150 -0
- package/dist/js-templates--GrCX2F1.js +197 -0
- package/dist/jsdoc-vErSu9Cr.js +116 -0
- package/dist/json-BW8KBIeJ.js +35 -0
- package/dist/json-BefNJCW-.js +26 -0
- package/dist/json5-CsdIXkOZ.js +56 -0
- package/dist/jsonp-Dz_5Lt-E.js +41 -0
- package/dist/jsstacktrace-DbBQ3Cv7.js +74 -0
- package/dist/jsx-Bv5_R7Yd.js +26 -0
- package/dist/jsx-FTe7XA1B.js +77 -0
- package/dist/julia-CoYGw2IR.js +68 -0
- package/dist/keepalived-CPWdwddz.js +81 -0
- package/dist/keyman-DNslP0Yy.js +76 -0
- package/dist/kotlin-CbZgjbyh.js +108 -0
- package/dist/kumir-Q_jLwxfZ.js +120 -0
- package/dist/kusto-dM9uOfWk.js +71 -0
- package/dist/latex-Bfeq39tO.js +92 -0
- package/dist/latte-CFxOlcdj.js +101 -0
- package/dist/less-DwfFB3qp.js +75 -0
- package/dist/lilypond-DaH_baew.js +104 -0
- package/dist/liquid-5rAVI9Ad.js +97 -0
- package/dist/lisp-Btc3xid7.js +194 -0
- package/dist/livescript-DQvJc3cA.js +150 -0
- package/dist/llvm-B7k0U20m.js +52 -0
- package/dist/log-B7ulCZCI.js +133 -0
- package/dist/lolcode-BEEMlfuU.js +81 -0
- package/dist/lua-BggcDXQp.js +31 -0
- package/dist/lua-D-T62TZ5.js +26 -0
- package/dist/magma-DAN3ZGAI.js +63 -0
- package/dist/makefile-Bjl-N6S3.js +63 -0
- package/dist/markdown-6Q2QSFJe.js +355 -0
- package/dist/markup-Bwuswjib.js +194 -0
- package/dist/markup-templating-BLspI5oq.js +26 -0
- package/dist/markup-templating-CVTxtFGH.js +77 -0
- package/dist/matlab-Bim6HLuO.js +46 -0
- package/dist/maxscript-BJqnafAC.js +97 -0
- package/dist/mel-C4iJe_aZ.js +74 -0
- package/dist/mermaid-DbKsw5IU.js +137 -0
- package/dist/mizar-DdUuEnQ0.js +45 -0
- package/dist/mongodb-C7OZqIiL.js +321 -0
- package/dist/monkey-CFQNpGhn.js +61 -0
- package/dist/moonscript-BDdCZd5M.js +87 -0
- package/dist/n1ql-C-ll6pgt.js +55 -0
- package/dist/n4js-DCLtuFdY.js +43 -0
- package/dist/nand2tetris-hdl-DJsK5r3l.js +42 -0
- package/dist/naniscript-DtHo8Sfl.js +165 -0
- package/dist/nasm-gJZT8LPh.js +57 -0
- package/dist/neon-SaMGcsnU.js +73 -0
- package/dist/nevod-Dqvto6vw.js +158 -0
- package/dist/nginx-Cp89qRQy.js +82 -0
- package/dist/nim-CdGVC6Mb.js +75 -0
- package/dist/nix-jnfiSyYI.js +69 -0
- package/dist/nsis-BZ4yPak6.js +58 -0
- package/dist/objectivec-B9lo2Gq2.js +44 -0
- package/dist/ocaml-DtZ_IyiS.js +88 -0
- package/dist/opencl-CtUznKol.js +83 -0
- package/dist/openqasm-BAmjbx7B.js +50 -0
- package/dist/oz-mvOvhn7u.js +61 -0
- package/dist/parigp-B5Xdmiju.js +81 -0
- package/dist/parser-Ct77dMe3.js +106 -0
- package/dist/pascal-Dwf-aqDs.js +95 -0
- package/dist/pascaligo-DWTvG1fw.js +115 -0
- package/dist/pcaxis-BUnNg5h_.js +84 -0
- package/dist/peoplecode-CewkQs1u.js +74 -0
- package/dist/perl-CmRi-uRU.js +164 -0
- package/dist/php-C_FrOCG4.js +334 -0
- package/dist/php-e7f7GtZ8.js +26 -0
- package/dist/php-extras-ATZDccPm.js +50 -0
- package/dist/phpdoc-uba1O-5-.js +61 -0
- package/dist/plsql-BLNilzVM.js +51 -0
- package/dist/powerquery-CddEWH0P.js +83 -0
- package/dist/powershell-SimxvdWh.js +88 -0
- package/dist/processing-IeXhsRmw.js +46 -0
- package/dist/prolog-CnTr7enQ.js +52 -0
- package/dist/promql-DpmXmCiA.js +120 -0
- package/dist/properties-BraQbkIL.js +42 -0
- package/dist/protobuf-BKmtm9wI.js +71 -0
- package/dist/psl-DfJLNMzA.js +68 -0
- package/dist/pug-C7olXkyh.js +212 -0
- package/dist/puppet-DMdAuQ_Z.js +167 -0
- package/dist/pure-BVQraXQo.js +111 -0
- package/dist/purebasic-DnAwivDW.js +87 -0
- package/dist/purescript-BBcUX3cf.js +62 -0
- package/dist/python-C9JXUpy2.js +94 -0
- package/dist/q-Ct9Ut4C4.js +83 -0
- package/dist/qml-DubjWeE3.js +103 -0
- package/dist/qore-CDjxpVlT.js +53 -0
- package/dist/qsharp-Dyr5mrma.js +128 -0
- package/dist/r-B4F2KUJL.js +55 -0
- package/dist/racket-D5k9UW-t.js +50 -0
- package/dist/reason-Cs82zJO7.js +54 -0
- package/dist/regex-Z8MvaNEm.js +124 -0
- package/dist/rego-CcGrxeab.js +58 -0
- package/dist/renpy-mByYQWSM.js +51 -0
- package/dist/rest-BoR9ZMoX.js +231 -0
- package/dist/rip-C3Bf4Bpl.js +62 -0
- package/dist/roboconf-1MYmsJJ7.js +60 -0
- package/dist/robotframework-fBSrPGHK.js +122 -0
- package/dist/ruby-BQlisu6i.js +182 -0
- package/dist/ruby-DRrUXRqW.js +26 -0
- package/dist/rust-DhUR7ICB.js +149 -0
- package/dist/sas-D7DM5vmM.js +362 -0
- package/dist/sass-B-3W9xmk.js +96 -0
- package/dist/scala-DmHnWeTz.js +80 -0
- package/dist/scheme-B-TWMKN_.js +122 -0
- package/dist/scheme-egHBLRqV.js +26 -0
- package/dist/scss-BU4D1BLj.js +106 -0
- package/dist/shell-session-6QFBv7G6.js +93 -0
- package/dist/smali-B48Y4QYt.js +112 -0
- package/dist/smalltalk-w59b04aF.js +71 -0
- package/dist/smarty-CnWvL-Ef.js +147 -0
- package/dist/sml-cUUD1qMQ.js +91 -0
- package/dist/solidity-Drt__SLk.js +49 -0
- package/dist/solution-file-CYG1BOQK.js +79 -0
- package/dist/soy-BZNQzgkB.js +112 -0
- package/dist/sparql-BQDndvZG.js +49 -0
- package/dist/splunk-spl-ezOLCJwA.js +57 -0
- package/dist/sqf-C83ezg-4.js +63 -0
- package/dist/sql-CVBSuRzU.js +26 -0
- package/dist/sql-qhcRp-Km.js +44 -0
- package/dist/squirrel-2r-3bEO_.js +74 -0
- package/dist/stan-D2wLHzr8.js +86 -0
- package/dist/style.css +1 -1
- package/dist/stylus-KkSvURTJ.js +165 -0
- package/dist/swift-c7528WsQ.js +152 -0
- package/dist/systemd-DWsV0AtP.js +88 -0
- package/dist/t4-cs-D7NmzTCB.js +38 -0
- package/dist/t4-templating-Bc9GyRcs.js +26 -0
- package/dist/t4-templating-yxm91MEk.js +56 -0
- package/dist/t4-vb-Df3tMe1Q.js +38 -0
- package/dist/tap-wFXvu_No.js +56 -0
- package/dist/tcl-BZqzhUcQ.js +79 -0
- package/dist/textile-DrTKyn7T.js +289 -0
- package/dist/toml-LVQpNmZe.js +86 -0
- package/dist/tremor-A_cxX8C4.js +90 -0
- package/dist/tsx-CQKNNLzi.js +46 -0
- package/dist/tt2-CPOtfoBh.js +78 -0
- package/dist/turtle-BjRE9oBS.js +26 -0
- package/dist/turtle-z6QfbtiY.js +61 -0
- package/dist/twig-Cz25rowk.js +72 -0
- package/dist/typescript--VNBoLO-.js +56 -0
- package/dist/typescript-Bx2QMcny.js +26 -0
- package/dist/typoscript-BdH7x5a4.js +109 -0
- package/dist/unrealscript-Cb8322pT.js +71 -0
- package/dist/uorazor-CHv0VHYn.js +81 -0
- package/dist/uri-ci9M926F.js +116 -0
- package/dist/v-DL4z_kNT.js +106 -0
- package/dist/vala-CPIzd5en.js +113 -0
- package/dist/vbnet-BoCvq106.js +26 -0
- package/dist/vbnet-ClfmYufs.js +36 -0
- package/dist/velocity-CBXhMUrK.js +99 -0
- package/dist/verilog-C1ZX-Tr8.js +59 -0
- package/dist/vhdl-CLlMgFjz.js +56 -0
- package/dist/vim-BuFUFT06.js +43 -0
- package/dist/visual-basic-CzPES6jG.js +59 -0
- package/dist/warpscript-C5YvStKz.js +54 -0
- package/dist/wasm-txCKMkgE.js +64 -0
- package/dist/web-idl-B4OgJf1y.js +118 -0
- package/dist/wiki-C6_DR7WK.js +110 -0
- package/dist/wolfram-D9ETP9M6.js +58 -0
- package/dist/wren-CkhJWcmB.js +121 -0
- package/dist/xeora-Cg3OrGlT.js +147 -0
- package/dist/xml-doc-C0mFvWUS.js +56 -0
- package/dist/xojo-CW6K9MHL.js +51 -0
- package/dist/xquery-B0ssbj_m.js +118 -0
- package/dist/yaml-S0xfBtlT.js +26 -0
- package/dist/yaml-hxc7aP7n.js +92 -0
- package/dist/yang-Dg6OSQ6Y.js +53 -0
- package/dist/zig-xuUtE8Pe.js +117 -0
- package/package.json +30 -4
- package/dist/index.d.ts +0 -2
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { g as s } from "./index-Sj89RFCY.js";
|
|
2
|
+
function c(e, a) {
|
|
3
|
+
for (var n = 0; n < a.length; n++) {
|
|
4
|
+
const r = a[n];
|
|
5
|
+
if (typeof r != "string" && !Array.isArray(r)) {
|
|
6
|
+
for (const t in r)
|
|
7
|
+
if (t !== "default" && !(t in e)) {
|
|
8
|
+
const o = Object.getOwnPropertyDescriptor(r, t);
|
|
9
|
+
o && Object.defineProperty(e, t, o.get ? o : {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: () => r[t]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
+
}
|
|
18
|
+
var i, l;
|
|
19
|
+
function p() {
|
|
20
|
+
if (l) return i;
|
|
21
|
+
l = 1, i = e, e.displayName = "julia", e.aliases = [];
|
|
22
|
+
function e(a) {
|
|
23
|
+
a.languages.julia = {
|
|
24
|
+
comment: {
|
|
25
|
+
// support one level of nested comments
|
|
26
|
+
// https://github.com/JuliaLang/julia/pull/6128
|
|
27
|
+
pattern: /(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,
|
|
28
|
+
lookbehind: !0
|
|
29
|
+
},
|
|
30
|
+
regex: {
|
|
31
|
+
// https://docs.julialang.org/en/v1/manual/strings/#Regular-Expressions-1
|
|
32
|
+
pattern: /r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,
|
|
33
|
+
greedy: !0
|
|
34
|
+
},
|
|
35
|
+
string: {
|
|
36
|
+
// https://docs.julialang.org/en/v1/manual/strings/#String-Basics-1
|
|
37
|
+
// https://docs.julialang.org/en/v1/manual/strings/#non-standard-string-literals-1
|
|
38
|
+
// https://docs.julialang.org/en/v1/manual/running-external-programs/#Running-External-Programs-1
|
|
39
|
+
pattern: /"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,
|
|
40
|
+
greedy: !0
|
|
41
|
+
},
|
|
42
|
+
char: {
|
|
43
|
+
// https://docs.julialang.org/en/v1/manual/strings/#man-characters-1
|
|
44
|
+
pattern: /(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,
|
|
45
|
+
lookbehind: !0,
|
|
46
|
+
greedy: !0
|
|
47
|
+
},
|
|
48
|
+
keyword: /\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,
|
|
49
|
+
boolean: /\b(?:false|true)\b/,
|
|
50
|
+
number: /(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,
|
|
51
|
+
// https://docs.julialang.org/en/v1/manual/mathematical-operations/
|
|
52
|
+
// https://docs.julialang.org/en/v1/manual/mathematical-operations/#Operator-Precedence-and-Associativity-1
|
|
53
|
+
operator: /&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,
|
|
54
|
+
punctuation: /::?|[{}[\]();,.?]/,
|
|
55
|
+
// https://docs.julialang.org/en/v1/base/numbers/#Base.im
|
|
56
|
+
constant: /\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
return i;
|
|
60
|
+
}
|
|
61
|
+
var u = p();
|
|
62
|
+
const d = /* @__PURE__ */ s(u), b = /* @__PURE__ */ c({
|
|
63
|
+
__proto__: null,
|
|
64
|
+
default: d
|
|
65
|
+
}, [u]);
|
|
66
|
+
export {
|
|
67
|
+
b as j
|
|
68
|
+
};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { g as p } from "./index-Sj89RFCY.js";
|
|
2
|
+
function c(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 _ in r)
|
|
7
|
+
if (_ !== "default" && !(_ in e)) {
|
|
8
|
+
const a = Object.getOwnPropertyDescriptor(r, _);
|
|
9
|
+
a && Object.defineProperty(e, _, a.get ? a : {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: () => r[_]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
+
}
|
|
18
|
+
var s, o;
|
|
19
|
+
function l() {
|
|
20
|
+
if (o) return s;
|
|
21
|
+
o = 1, s = e, e.displayName = "keepalived", e.aliases = [];
|
|
22
|
+
function e(t) {
|
|
23
|
+
t.languages.keepalived = {
|
|
24
|
+
comment: {
|
|
25
|
+
pattern: /[#!].*/,
|
|
26
|
+
greedy: !0
|
|
27
|
+
},
|
|
28
|
+
string: {
|
|
29
|
+
pattern: /(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,
|
|
30
|
+
lookbehind: !0,
|
|
31
|
+
greedy: !0
|
|
32
|
+
},
|
|
33
|
+
// support IPv4, IPv6, subnet mask
|
|
34
|
+
ip: {
|
|
35
|
+
pattern: RegExp(
|
|
36
|
+
/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}<ipv4>|(?:[\da-f]{1,4}:){0,5}:<ipv4>|::(?:[\da-f]{1,4}:){0,5}<ipv4>|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|<ipv4>(?:\/\d{1,2})?)\b/.source.replace(
|
|
37
|
+
/<ipv4>/g,
|
|
38
|
+
function() {
|
|
39
|
+
return /(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source;
|
|
40
|
+
}
|
|
41
|
+
),
|
|
42
|
+
"i"
|
|
43
|
+
),
|
|
44
|
+
alias: "number"
|
|
45
|
+
},
|
|
46
|
+
// support *nix / Windows, directory / file
|
|
47
|
+
path: {
|
|
48
|
+
pattern: /(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,
|
|
49
|
+
lookbehind: !0,
|
|
50
|
+
alias: "string"
|
|
51
|
+
},
|
|
52
|
+
variable: /\$\{?\w+\}?/,
|
|
53
|
+
email: {
|
|
54
|
+
pattern: /[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,
|
|
55
|
+
alias: "string"
|
|
56
|
+
},
|
|
57
|
+
"conditional-configuration": {
|
|
58
|
+
pattern: /@\^?[\w-]+/,
|
|
59
|
+
alias: "variable"
|
|
60
|
+
},
|
|
61
|
+
operator: /=/,
|
|
62
|
+
property: /\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,
|
|
63
|
+
constant: /\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,
|
|
64
|
+
number: {
|
|
65
|
+
pattern: /(^|[^\w.-])-?\d+(?:\.\d+)?/,
|
|
66
|
+
lookbehind: !0
|
|
67
|
+
},
|
|
68
|
+
boolean: /\b(?:false|no|off|on|true|yes)\b/,
|
|
69
|
+
punctuation: /[\{\}]/
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
return s;
|
|
73
|
+
}
|
|
74
|
+
var n = l();
|
|
75
|
+
const f = /* @__PURE__ */ p(n), u = /* @__PURE__ */ c({
|
|
76
|
+
__proto__: null,
|
|
77
|
+
default: f
|
|
78
|
+
}, [n]);
|
|
79
|
+
export {
|
|
80
|
+
u as k
|
|
81
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { g as u } from "./index-Sj89RFCY.js";
|
|
2
|
+
function l(e, r) {
|
|
3
|
+
for (var n = 0; n < r.length; n++) {
|
|
4
|
+
const a = r[n];
|
|
5
|
+
if (typeof a != "string" && !Array.isArray(a)) {
|
|
6
|
+
for (const t in a)
|
|
7
|
+
if (t !== "default" && !(t in e)) {
|
|
8
|
+
const o = Object.getOwnPropertyDescriptor(a, t);
|
|
9
|
+
o && Object.defineProperty(e, t, o.get ? o : {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: () => a[t]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
+
}
|
|
18
|
+
var s, i;
|
|
19
|
+
function p() {
|
|
20
|
+
if (i) return s;
|
|
21
|
+
i = 1, s = e, e.displayName = "keyman", e.aliases = [];
|
|
22
|
+
function e(r) {
|
|
23
|
+
r.languages.keyman = {
|
|
24
|
+
comment: {
|
|
25
|
+
pattern: /\bc .*/i,
|
|
26
|
+
greedy: !0
|
|
27
|
+
},
|
|
28
|
+
string: {
|
|
29
|
+
pattern: /"[^"\r\n]*"|'[^'\r\n]*'/,
|
|
30
|
+
greedy: !0
|
|
31
|
+
},
|
|
32
|
+
"virtual-key": {
|
|
33
|
+
pattern: /\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,
|
|
34
|
+
greedy: !0,
|
|
35
|
+
alias: "function"
|
|
36
|
+
// alias for styles
|
|
37
|
+
},
|
|
38
|
+
// https://help.keyman.com/developer/language/guide/headers
|
|
39
|
+
"header-keyword": {
|
|
40
|
+
pattern: /&\w+/,
|
|
41
|
+
alias: "bold"
|
|
42
|
+
// alias for styles
|
|
43
|
+
},
|
|
44
|
+
"header-statement": {
|
|
45
|
+
pattern: /\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,
|
|
46
|
+
alias: "bold"
|
|
47
|
+
// alias for styles
|
|
48
|
+
},
|
|
49
|
+
"rule-keyword": {
|
|
50
|
+
pattern: /\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,
|
|
51
|
+
alias: "keyword"
|
|
52
|
+
},
|
|
53
|
+
"structural-keyword": {
|
|
54
|
+
pattern: /\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,
|
|
55
|
+
alias: "keyword"
|
|
56
|
+
},
|
|
57
|
+
"compile-target": {
|
|
58
|
+
pattern: /\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,
|
|
59
|
+
alias: "property"
|
|
60
|
+
},
|
|
61
|
+
// U+####, x###, d### characters and numbers
|
|
62
|
+
number: /\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,
|
|
63
|
+
operator: /[+>\\$]|\.\./,
|
|
64
|
+
punctuation: /[()=,]/
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
return s;
|
|
68
|
+
}
|
|
69
|
+
var y = p();
|
|
70
|
+
const d = /* @__PURE__ */ u(y), c = /* @__PURE__ */ l({
|
|
71
|
+
__proto__: null,
|
|
72
|
+
default: d
|
|
73
|
+
}, [y]);
|
|
74
|
+
export {
|
|
75
|
+
c as k
|
|
76
|
+
};
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { g as u } from "./index-Sj89RFCY.js";
|
|
2
|
+
function g(n, i) {
|
|
3
|
+
for (var e = 0; e < i.length; e++) {
|
|
4
|
+
const t = i[e];
|
|
5
|
+
if (typeof t != "string" && !Array.isArray(t)) {
|
|
6
|
+
for (const a in t)
|
|
7
|
+
if (a !== "default" && !(a in n)) {
|
|
8
|
+
const r = Object.getOwnPropertyDescriptor(t, a);
|
|
9
|
+
r && Object.defineProperty(n, a, r.get ? r : {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: () => t[a]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
+
}
|
|
18
|
+
var o, l;
|
|
19
|
+
function p() {
|
|
20
|
+
if (l) return o;
|
|
21
|
+
l = 1, o = n, n.displayName = "kotlin", n.aliases = ["kt", "kts"];
|
|
22
|
+
function n(i) {
|
|
23
|
+
(function(e) {
|
|
24
|
+
e.languages.kotlin = e.languages.extend("clike", {
|
|
25
|
+
keyword: {
|
|
26
|
+
// The lookbehind prevents wrong highlighting of e.g. kotlin.properties.get
|
|
27
|
+
pattern: /(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,
|
|
28
|
+
lookbehind: !0
|
|
29
|
+
},
|
|
30
|
+
function: [
|
|
31
|
+
{
|
|
32
|
+
pattern: /(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,
|
|
33
|
+
greedy: !0
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
pattern: /(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,
|
|
37
|
+
lookbehind: !0,
|
|
38
|
+
greedy: !0
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
number: /\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,
|
|
42
|
+
operator: /\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/
|
|
43
|
+
}), delete e.languages.kotlin["class-name"];
|
|
44
|
+
var t = {
|
|
45
|
+
"interpolation-punctuation": {
|
|
46
|
+
pattern: /^\$\{?|\}$/,
|
|
47
|
+
alias: "punctuation"
|
|
48
|
+
},
|
|
49
|
+
expression: {
|
|
50
|
+
pattern: /[\s\S]+/,
|
|
51
|
+
inside: e.languages.kotlin
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
e.languages.insertBefore("kotlin", "string", {
|
|
55
|
+
// https://kotlinlang.org/spec/expressions.html#string-interpolation-expressions
|
|
56
|
+
"string-literal": [
|
|
57
|
+
{
|
|
58
|
+
pattern: /"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,
|
|
59
|
+
alias: "multiline",
|
|
60
|
+
inside: {
|
|
61
|
+
interpolation: {
|
|
62
|
+
pattern: /\$(?:[a-z_]\w*|\{[^{}]*\})/i,
|
|
63
|
+
inside: t
|
|
64
|
+
},
|
|
65
|
+
string: /[\s\S]+/
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
pattern: /"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,
|
|
70
|
+
alias: "singleline",
|
|
71
|
+
inside: {
|
|
72
|
+
interpolation: {
|
|
73
|
+
pattern: /((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,
|
|
74
|
+
lookbehind: !0,
|
|
75
|
+
inside: t
|
|
76
|
+
},
|
|
77
|
+
string: /[\s\S]+/
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
char: {
|
|
82
|
+
// https://kotlinlang.org/spec/expressions.html#character-literals
|
|
83
|
+
pattern: /'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,
|
|
84
|
+
greedy: !0
|
|
85
|
+
}
|
|
86
|
+
}), delete e.languages.kotlin.string, e.languages.insertBefore("kotlin", "keyword", {
|
|
87
|
+
annotation: {
|
|
88
|
+
pattern: /\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,
|
|
89
|
+
alias: "builtin"
|
|
90
|
+
}
|
|
91
|
+
}), e.languages.insertBefore("kotlin", "function", {
|
|
92
|
+
label: {
|
|
93
|
+
pattern: /\b\w+@|@\w+\b/,
|
|
94
|
+
alias: "symbol"
|
|
95
|
+
}
|
|
96
|
+
}), e.languages.kt = e.languages.kotlin, e.languages.kts = e.languages.kotlin;
|
|
97
|
+
})(i);
|
|
98
|
+
}
|
|
99
|
+
return o;
|
|
100
|
+
}
|
|
101
|
+
var s = p();
|
|
102
|
+
const d = /* @__PURE__ */ u(s), f = /* @__PURE__ */ g({
|
|
103
|
+
__proto__: null,
|
|
104
|
+
default: d
|
|
105
|
+
}, [s]);
|
|
106
|
+
export {
|
|
107
|
+
f as k
|
|
108
|
+
};
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { g as p } from "./index-Sj89RFCY.js";
|
|
2
|
+
function l(r, a) {
|
|
3
|
+
for (var n = 0; n < a.length; n++) {
|
|
4
|
+
const o = a[n];
|
|
5
|
+
if (typeof o != "string" && !Array.isArray(o)) {
|
|
6
|
+
for (const e in o)
|
|
7
|
+
if (e !== "default" && !(e in r)) {
|
|
8
|
+
const t = Object.getOwnPropertyDescriptor(o, e);
|
|
9
|
+
t && Object.defineProperty(r, e, t.get ? t : {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: () => o[e]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return Object.freeze(Object.defineProperty(r, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
+
}
|
|
18
|
+
var u, d;
|
|
19
|
+
function c() {
|
|
20
|
+
if (d) return u;
|
|
21
|
+
d = 1, u = r, r.displayName = "kumir", r.aliases = ["kum"];
|
|
22
|
+
function r(a) {
|
|
23
|
+
(function(n) {
|
|
24
|
+
var o = /\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;
|
|
25
|
+
function e(t, s) {
|
|
26
|
+
return RegExp(t.replace(/<nonId>/g, o), s);
|
|
27
|
+
}
|
|
28
|
+
n.languages.kumir = {
|
|
29
|
+
comment: {
|
|
30
|
+
pattern: /\|.*/
|
|
31
|
+
},
|
|
32
|
+
prolog: {
|
|
33
|
+
pattern: /#.*/,
|
|
34
|
+
greedy: !0
|
|
35
|
+
},
|
|
36
|
+
string: {
|
|
37
|
+
pattern: /"[^\n\r"]*"|'[^\n\r']*'/,
|
|
38
|
+
greedy: !0
|
|
39
|
+
},
|
|
40
|
+
boolean: {
|
|
41
|
+
pattern: e(/(^|[<nonId>])(?:да|нет)(?=[<nonId>]|$)/.source),
|
|
42
|
+
lookbehind: !0
|
|
43
|
+
},
|
|
44
|
+
"operator-word": {
|
|
45
|
+
pattern: e(/(^|[<nonId>])(?:и|или|не)(?=[<nonId>]|$)/.source),
|
|
46
|
+
lookbehind: !0,
|
|
47
|
+
alias: "keyword"
|
|
48
|
+
},
|
|
49
|
+
"system-variable": {
|
|
50
|
+
pattern: e(/(^|[<nonId>])знач(?=[<nonId>]|$)/.source),
|
|
51
|
+
lookbehind: !0,
|
|
52
|
+
alias: "keyword"
|
|
53
|
+
},
|
|
54
|
+
type: [
|
|
55
|
+
{
|
|
56
|
+
pattern: e(
|
|
57
|
+
/(^|[<nonId>])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[<nonId>]|$)/.source
|
|
58
|
+
),
|
|
59
|
+
lookbehind: !0,
|
|
60
|
+
alias: "builtin"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
pattern: e(
|
|
64
|
+
/(^|[<nonId>])(?:компл|сканкод|файл|цвет)(?=[<nonId>]|$)/.source
|
|
65
|
+
),
|
|
66
|
+
lookbehind: !0,
|
|
67
|
+
alias: "important"
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
/**
|
|
71
|
+
* Should be performed after searching for type names because of "таб".
|
|
72
|
+
* "таб" is a reserved word, but never used without a preceding type name.
|
|
73
|
+
* "НАЗНАЧИТЬ", "Фввод", and "Фвывод" are not reserved words.
|
|
74
|
+
*/
|
|
75
|
+
keyword: {
|
|
76
|
+
pattern: e(
|
|
77
|
+
/(^|[<nonId>])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[<nonId>]|$)/.source
|
|
78
|
+
),
|
|
79
|
+
lookbehind: !0
|
|
80
|
+
},
|
|
81
|
+
/** Should be performed after searching for reserved words. */
|
|
82
|
+
name: {
|
|
83
|
+
// eslint-disable-next-line regexp/no-super-linear-backtracking
|
|
84
|
+
pattern: e(
|
|
85
|
+
/(^|[<nonId>])[^\d<nonId>][^<nonId>]*(?:\x20+[^<nonId>]+)*(?=[<nonId>]|$)/.source
|
|
86
|
+
),
|
|
87
|
+
lookbehind: !0
|
|
88
|
+
},
|
|
89
|
+
/** Should be performed after searching for names. */
|
|
90
|
+
number: {
|
|
91
|
+
pattern: e(
|
|
92
|
+
/(^|[<nonId>])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[<nonId>]|$)/.source,
|
|
93
|
+
"i"
|
|
94
|
+
),
|
|
95
|
+
lookbehind: !0
|
|
96
|
+
},
|
|
97
|
+
/** Should be performed after searching for words. */
|
|
98
|
+
punctuation: /:=|[(),:;\[\]]/,
|
|
99
|
+
/**
|
|
100
|
+
* Should be performed after searching for
|
|
101
|
+
* - numeric constants (because of "+" and "-");
|
|
102
|
+
* - punctuation marks (because of ":=" and "=").
|
|
103
|
+
*/
|
|
104
|
+
"operator-char": {
|
|
105
|
+
pattern: /\*\*?|<[=>]?|>=?|[-+/=]/,
|
|
106
|
+
alias: "operator"
|
|
107
|
+
}
|
|
108
|
+
}, n.languages.kum = n.languages.kumir;
|
|
109
|
+
})(a);
|
|
110
|
+
}
|
|
111
|
+
return u;
|
|
112
|
+
}
|
|
113
|
+
var i = c();
|
|
114
|
+
const f = /* @__PURE__ */ p(i), m = /* @__PURE__ */ l({
|
|
115
|
+
__proto__: null,
|
|
116
|
+
default: f
|
|
117
|
+
}, [i]);
|
|
118
|
+
export {
|
|
119
|
+
m as k
|
|
120
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { g as u } from "./index-Sj89RFCY.js";
|
|
2
|
+
function l(e, a) {
|
|
3
|
+
for (var n = 0; n < a.length; n++) {
|
|
4
|
+
const t = a[n];
|
|
5
|
+
if (typeof t != "string" && !Array.isArray(t)) {
|
|
6
|
+
for (const r in t)
|
|
7
|
+
if (r !== "default" && !(r in e)) {
|
|
8
|
+
const s = Object.getOwnPropertyDescriptor(t, r);
|
|
9
|
+
s && Object.defineProperty(e, r, s.get ? s : {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: () => t[r]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
+
}
|
|
18
|
+
var o, i;
|
|
19
|
+
function c() {
|
|
20
|
+
if (i) return o;
|
|
21
|
+
i = 1, o = e, e.displayName = "kusto", e.aliases = [];
|
|
22
|
+
function e(a) {
|
|
23
|
+
a.languages.kusto = {
|
|
24
|
+
comment: {
|
|
25
|
+
pattern: /\/\/.*/,
|
|
26
|
+
greedy: !0
|
|
27
|
+
},
|
|
28
|
+
string: {
|
|
29
|
+
pattern: /```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,
|
|
30
|
+
greedy: !0
|
|
31
|
+
},
|
|
32
|
+
verb: {
|
|
33
|
+
pattern: /(\|\s*)[a-z][\w-]*/i,
|
|
34
|
+
lookbehind: !0,
|
|
35
|
+
alias: "keyword"
|
|
36
|
+
},
|
|
37
|
+
command: {
|
|
38
|
+
pattern: /\.[a-z][a-z\d-]*\b/,
|
|
39
|
+
alias: "keyword"
|
|
40
|
+
},
|
|
41
|
+
"class-name": /\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,
|
|
42
|
+
keyword: /\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,
|
|
43
|
+
boolean: /\b(?:false|null|true)\b/,
|
|
44
|
+
function: /\b[a-z_]\w*(?=\s*\()/,
|
|
45
|
+
datetime: [
|
|
46
|
+
{
|
|
47
|
+
// RFC 822 + RFC 850
|
|
48
|
+
pattern: /\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,
|
|
49
|
+
alias: "number"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
// ISO 8601
|
|
53
|
+
pattern: /[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,
|
|
54
|
+
alias: "number"
|
|
55
|
+
}
|
|
56
|
+
],
|
|
57
|
+
number: /\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,
|
|
58
|
+
operator: /=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,
|
|
59
|
+
punctuation: /[()\[\]{},;.:]/
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
return o;
|
|
63
|
+
}
|
|
64
|
+
var d = c();
|
|
65
|
+
const b = /* @__PURE__ */ u(d), f = /* @__PURE__ */ l({
|
|
66
|
+
__proto__: null,
|
|
67
|
+
default: b
|
|
68
|
+
}, [d]);
|
|
69
|
+
export {
|
|
70
|
+
f as k
|
|
71
|
+
};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { g as u } from "./index-Sj89RFCY.js";
|
|
2
|
+
function g(n, r) {
|
|
3
|
+
for (var e = 0; e < r.length; e++) {
|
|
4
|
+
const t = r[e];
|
|
5
|
+
if (typeof t != "string" && !Array.isArray(t)) {
|
|
6
|
+
for (const a in t)
|
|
7
|
+
if (a !== "default" && !(a in n)) {
|
|
8
|
+
const s = Object.getOwnPropertyDescriptor(t, a);
|
|
9
|
+
s && Object.defineProperty(n, a, s.get ? s : {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: () => t[a]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
+
}
|
|
18
|
+
var i, o;
|
|
19
|
+
function c() {
|
|
20
|
+
if (o) return i;
|
|
21
|
+
o = 1, i = n, n.displayName = "latex", n.aliases = ["tex", "context"];
|
|
22
|
+
function n(r) {
|
|
23
|
+
(function(e) {
|
|
24
|
+
var t = /\\(?:[^a-z()[\]]|[a-z*]+)/i, a = {
|
|
25
|
+
"equation-command": {
|
|
26
|
+
pattern: t,
|
|
27
|
+
alias: "regex"
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
e.languages.latex = {
|
|
31
|
+
comment: /%.*/,
|
|
32
|
+
// the verbatim environment prints whitespace to the document
|
|
33
|
+
cdata: {
|
|
34
|
+
pattern: /(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,
|
|
35
|
+
lookbehind: !0
|
|
36
|
+
},
|
|
37
|
+
/*
|
|
38
|
+
* equations can be between $$ $$ or $ $ or \( \) or \[ \]
|
|
39
|
+
* (all are multiline)
|
|
40
|
+
*/
|
|
41
|
+
equation: [
|
|
42
|
+
{
|
|
43
|
+
pattern: /\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,
|
|
44
|
+
inside: a,
|
|
45
|
+
alias: "string"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
pattern: /(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,
|
|
49
|
+
lookbehind: !0,
|
|
50
|
+
inside: a,
|
|
51
|
+
alias: "string"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
/*
|
|
55
|
+
* arguments which are keywords or references are highlighted
|
|
56
|
+
* as keywords
|
|
57
|
+
*/
|
|
58
|
+
keyword: {
|
|
59
|
+
pattern: /(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,
|
|
60
|
+
lookbehind: !0
|
|
61
|
+
},
|
|
62
|
+
url: {
|
|
63
|
+
pattern: /(\\url\{)[^}]+(?=\})/,
|
|
64
|
+
lookbehind: !0
|
|
65
|
+
},
|
|
66
|
+
/*
|
|
67
|
+
* section or chapter headlines are highlighted as bold so that
|
|
68
|
+
* they stand out more
|
|
69
|
+
*/
|
|
70
|
+
headline: {
|
|
71
|
+
pattern: /(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,
|
|
72
|
+
lookbehind: !0,
|
|
73
|
+
alias: "class-name"
|
|
74
|
+
},
|
|
75
|
+
function: {
|
|
76
|
+
pattern: t,
|
|
77
|
+
alias: "selector"
|
|
78
|
+
},
|
|
79
|
+
punctuation: /[[\]{}&]/
|
|
80
|
+
}, e.languages.tex = e.languages.latex, e.languages.context = e.languages.latex;
|
|
81
|
+
})(r);
|
|
82
|
+
}
|
|
83
|
+
return i;
|
|
84
|
+
}
|
|
85
|
+
var l = c();
|
|
86
|
+
const p = /* @__PURE__ */ u(l), d = /* @__PURE__ */ g({
|
|
87
|
+
__proto__: null,
|
|
88
|
+
default: p
|
|
89
|
+
}, [l]);
|
|
90
|
+
export {
|
|
91
|
+
d as l
|
|
92
|
+
};
|