@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,121 @@
|
|
|
1
|
+
import { g as l } from "./index-Sj89RFCY.js";
|
|
2
|
+
function p(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 n in r)
|
|
7
|
+
if (n !== "default" && !(n in e)) {
|
|
8
|
+
const i = Object.getOwnPropertyDescriptor(r, n);
|
|
9
|
+
i && Object.defineProperty(e, n, i.get ? i : {
|
|
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 o, s;
|
|
19
|
+
function d() {
|
|
20
|
+
if (s) return o;
|
|
21
|
+
s = 1, o = e, e.displayName = "wren", e.aliases = [];
|
|
22
|
+
function e(t) {
|
|
23
|
+
t.languages.wren = {
|
|
24
|
+
// Multiline comments in Wren can have nested multiline comments
|
|
25
|
+
// Comments: // and /* */
|
|
26
|
+
comment: [
|
|
27
|
+
{
|
|
28
|
+
// support 3 levels of nesting
|
|
29
|
+
// regex: \/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\/
|
|
30
|
+
pattern: /\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,
|
|
31
|
+
greedy: !0
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
pattern: /(^|[^\\:])\/\/.*/,
|
|
35
|
+
lookbehind: !0,
|
|
36
|
+
greedy: !0
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
// Triple quoted strings are multiline but cannot have interpolation (raw strings)
|
|
40
|
+
// Based on prism-python.js
|
|
41
|
+
"triple-quoted-string": {
|
|
42
|
+
pattern: /"""[\s\S]*?"""/,
|
|
43
|
+
greedy: !0,
|
|
44
|
+
alias: "string"
|
|
45
|
+
},
|
|
46
|
+
// see below
|
|
47
|
+
"string-literal": null,
|
|
48
|
+
// #!/usr/bin/env wren on the first line
|
|
49
|
+
hashbang: {
|
|
50
|
+
pattern: /^#!\/.+/,
|
|
51
|
+
greedy: !0,
|
|
52
|
+
alias: "comment"
|
|
53
|
+
},
|
|
54
|
+
// Attributes are special keywords to add meta data to classes
|
|
55
|
+
attribute: {
|
|
56
|
+
// #! attributes are stored in class properties
|
|
57
|
+
// #!myvar = true
|
|
58
|
+
// #attributes are not stored and dismissed at compilation
|
|
59
|
+
pattern: /#!?[ \t\u3000]*\w+/,
|
|
60
|
+
alias: "keyword"
|
|
61
|
+
},
|
|
62
|
+
"class-name": [
|
|
63
|
+
{
|
|
64
|
+
// class definition
|
|
65
|
+
// class Meta {}
|
|
66
|
+
pattern: /(\bclass\s+)\w+/,
|
|
67
|
+
lookbehind: !0
|
|
68
|
+
},
|
|
69
|
+
// A class must always start with an uppercase.
|
|
70
|
+
// File.read
|
|
71
|
+
/\b[A-Z][a-z\d_]*\b/
|
|
72
|
+
],
|
|
73
|
+
// A constant can be a variable, class, property or method. Just named in all uppercase letters
|
|
74
|
+
constant: /\b[A-Z][A-Z\d_]*\b/,
|
|
75
|
+
null: {
|
|
76
|
+
pattern: /\bnull\b/,
|
|
77
|
+
alias: "keyword"
|
|
78
|
+
},
|
|
79
|
+
keyword: /\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,
|
|
80
|
+
boolean: /\b(?:false|true)\b/,
|
|
81
|
+
number: /\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,
|
|
82
|
+
// Functions can be Class.method()
|
|
83
|
+
function: /\b[a-z_]\w*(?=\s*[({])/i,
|
|
84
|
+
operator: /<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,
|
|
85
|
+
punctuation: /[\[\](){}.,;]/
|
|
86
|
+
}, t.languages.wren["string-literal"] = {
|
|
87
|
+
// A single quote string is multiline and can have interpolation (similar to JS backticks ``)
|
|
88
|
+
pattern: /(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,
|
|
89
|
+
lookbehind: !0,
|
|
90
|
+
greedy: !0,
|
|
91
|
+
inside: {
|
|
92
|
+
interpolation: {
|
|
93
|
+
// "%(interpolation)"
|
|
94
|
+
pattern: /((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,
|
|
95
|
+
lookbehind: !0,
|
|
96
|
+
inside: {
|
|
97
|
+
expression: {
|
|
98
|
+
pattern: /^(%\()[\s\S]+(?=\)$)/,
|
|
99
|
+
lookbehind: !0,
|
|
100
|
+
inside: t.languages.wren
|
|
101
|
+
},
|
|
102
|
+
"interpolation-punctuation": {
|
|
103
|
+
pattern: /^%\(|\)$/,
|
|
104
|
+
alias: "punctuation"
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
string: /[\s\S]+/
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
return o;
|
|
113
|
+
}
|
|
114
|
+
var u = d();
|
|
115
|
+
const b = /* @__PURE__ */ l(u), g = /* @__PURE__ */ p({
|
|
116
|
+
__proto__: null,
|
|
117
|
+
default: b
|
|
118
|
+
}, [u]);
|
|
119
|
+
export {
|
|
120
|
+
g as w
|
|
121
|
+
};
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { g as c } from "./index-Sj89RFCY.js";
|
|
2
|
+
function s(t, r) {
|
|
3
|
+
for (var e = 0; e < r.length; e++) {
|
|
4
|
+
const n = r[e];
|
|
5
|
+
if (typeof n != "string" && !Array.isArray(n)) {
|
|
6
|
+
for (const a in n)
|
|
7
|
+
if (a !== "default" && !(a in t)) {
|
|
8
|
+
const i = Object.getOwnPropertyDescriptor(n, a);
|
|
9
|
+
i && Object.defineProperty(t, a, i.get ? i : {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: () => n[a]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
+
}
|
|
18
|
+
var o, u;
|
|
19
|
+
function l() {
|
|
20
|
+
if (u) return o;
|
|
21
|
+
u = 1, o = t, t.displayName = "xeora", t.aliases = ["xeoracube"];
|
|
22
|
+
function t(r) {
|
|
23
|
+
(function(e) {
|
|
24
|
+
e.languages.xeora = e.languages.extend("markup", {
|
|
25
|
+
constant: {
|
|
26
|
+
pattern: /\$(?:DomainContents|PageRenderDuration)\$/,
|
|
27
|
+
inside: {
|
|
28
|
+
punctuation: {
|
|
29
|
+
pattern: /\$/
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
variable: {
|
|
34
|
+
pattern: /\$@?(?:#+|[-+*~=^])?[\w.]+\$/,
|
|
35
|
+
inside: {
|
|
36
|
+
punctuation: {
|
|
37
|
+
pattern: /[$.]/
|
|
38
|
+
},
|
|
39
|
+
operator: {
|
|
40
|
+
pattern: /#+|[-+*~=^@]/
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"function-inline": {
|
|
45
|
+
pattern: /\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,
|
|
46
|
+
inside: {
|
|
47
|
+
variable: {
|
|
48
|
+
pattern: /(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,
|
|
49
|
+
inside: {
|
|
50
|
+
punctuation: {
|
|
51
|
+
pattern: /[,.|]/
|
|
52
|
+
},
|
|
53
|
+
operator: {
|
|
54
|
+
pattern: /#+|[-+*~=^@]/
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
punctuation: {
|
|
59
|
+
pattern: /\$\w:|[$:?.,|]/
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
alias: "function"
|
|
63
|
+
},
|
|
64
|
+
"function-block": {
|
|
65
|
+
pattern: /\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,
|
|
66
|
+
inside: {
|
|
67
|
+
punctuation: {
|
|
68
|
+
pattern: /[$:{}?.,|]/
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
alias: "function"
|
|
72
|
+
},
|
|
73
|
+
"directive-inline": {
|
|
74
|
+
pattern: /\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,
|
|
75
|
+
inside: {
|
|
76
|
+
punctuation: {
|
|
77
|
+
pattern: /\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,
|
|
78
|
+
inside: {
|
|
79
|
+
tag: {
|
|
80
|
+
pattern: /#\d/
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
alias: "function"
|
|
86
|
+
},
|
|
87
|
+
"directive-block-open": {
|
|
88
|
+
pattern: /\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,
|
|
89
|
+
inside: {
|
|
90
|
+
punctuation: {
|
|
91
|
+
pattern: /\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,
|
|
92
|
+
inside: {
|
|
93
|
+
tag: {
|
|
94
|
+
pattern: /#\d/
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
attribute: {
|
|
99
|
+
pattern: /![A-Z]+$/,
|
|
100
|
+
inside: {
|
|
101
|
+
punctuation: {
|
|
102
|
+
pattern: /!/
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
alias: "keyword"
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
alias: "function"
|
|
109
|
+
},
|
|
110
|
+
"directive-block-separator": {
|
|
111
|
+
pattern: /\}:[-\w.]+:\{/,
|
|
112
|
+
inside: {
|
|
113
|
+
punctuation: {
|
|
114
|
+
pattern: /[:{}]/
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
alias: "function"
|
|
118
|
+
},
|
|
119
|
+
"directive-block-close": {
|
|
120
|
+
pattern: /\}:[-\w.]+\$/,
|
|
121
|
+
inside: {
|
|
122
|
+
punctuation: {
|
|
123
|
+
pattern: /[:{}$]/
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
alias: "function"
|
|
127
|
+
}
|
|
128
|
+
}), e.languages.insertBefore(
|
|
129
|
+
"inside",
|
|
130
|
+
"punctuation",
|
|
131
|
+
{
|
|
132
|
+
variable: e.languages.xeora["function-inline"].inside.variable
|
|
133
|
+
},
|
|
134
|
+
e.languages.xeora["function-block"]
|
|
135
|
+
), e.languages.xeoracube = e.languages.xeora;
|
|
136
|
+
})(r);
|
|
137
|
+
}
|
|
138
|
+
return o;
|
|
139
|
+
}
|
|
140
|
+
var p = l();
|
|
141
|
+
const w = /* @__PURE__ */ c(p), f = /* @__PURE__ */ s({
|
|
142
|
+
__proto__: null,
|
|
143
|
+
default: w
|
|
144
|
+
}, [p]);
|
|
145
|
+
export {
|
|
146
|
+
f as x
|
|
147
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { g as f } from "./index-Sj89RFCY.js";
|
|
2
|
+
function g(r, n) {
|
|
3
|
+
for (var o = 0; o < n.length; o++) {
|
|
4
|
+
const e = n[o];
|
|
5
|
+
if (typeof e != "string" && !Array.isArray(e)) {
|
|
6
|
+
for (const t in e)
|
|
7
|
+
if (t !== "default" && !(t in r)) {
|
|
8
|
+
const a = Object.getOwnPropertyDescriptor(e, t);
|
|
9
|
+
a && Object.defineProperty(r, t, a.get ? a : {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: () => e[t]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return Object.freeze(Object.defineProperty(r, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
+
}
|
|
18
|
+
var c, i;
|
|
19
|
+
function p() {
|
|
20
|
+
if (i) return c;
|
|
21
|
+
i = 1, c = r, r.displayName = "xmlDoc", r.aliases = [];
|
|
22
|
+
function r(n) {
|
|
23
|
+
(function(o) {
|
|
24
|
+
function e(s, u) {
|
|
25
|
+
o.languages[s] && o.languages.insertBefore(s, "comment", {
|
|
26
|
+
"doc-comment": u
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
var t = o.languages.markup.tag, a = {
|
|
30
|
+
pattern: /\/\/\/.*/,
|
|
31
|
+
greedy: !0,
|
|
32
|
+
alias: "comment",
|
|
33
|
+
inside: {
|
|
34
|
+
tag: t
|
|
35
|
+
}
|
|
36
|
+
}, l = {
|
|
37
|
+
pattern: /'''.*/,
|
|
38
|
+
greedy: !0,
|
|
39
|
+
alias: "comment",
|
|
40
|
+
inside: {
|
|
41
|
+
tag: t
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
e("csharp", a), e("fsharp", a), e("vbnet", l);
|
|
45
|
+
})(n);
|
|
46
|
+
}
|
|
47
|
+
return c;
|
|
48
|
+
}
|
|
49
|
+
var m = p();
|
|
50
|
+
const d = /* @__PURE__ */ f(m), x = /* @__PURE__ */ g({
|
|
51
|
+
__proto__: null,
|
|
52
|
+
default: d
|
|
53
|
+
}, [m]);
|
|
54
|
+
export {
|
|
55
|
+
x
|
|
56
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { g as d } from "./index-Sj89RFCY.js";
|
|
2
|
+
function u(e, o) {
|
|
3
|
+
for (var n = 0; n < o.length; n++) {
|
|
4
|
+
const t = o[n];
|
|
5
|
+
if (typeof t != "string" && !Array.isArray(t)) {
|
|
6
|
+
for (const r in t)
|
|
7
|
+
if (r !== "default" && !(r in e)) {
|
|
8
|
+
const a = Object.getOwnPropertyDescriptor(t, r);
|
|
9
|
+
a && Object.defineProperty(e, r, a.get ? a : {
|
|
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 i, l;
|
|
19
|
+
function p() {
|
|
20
|
+
if (l) return i;
|
|
21
|
+
l = 1, i = e, e.displayName = "xojo", e.aliases = [];
|
|
22
|
+
function e(o) {
|
|
23
|
+
o.languages.xojo = {
|
|
24
|
+
comment: {
|
|
25
|
+
pattern: /(?:'|\/\/|Rem\b).+/i,
|
|
26
|
+
greedy: !0
|
|
27
|
+
},
|
|
28
|
+
string: {
|
|
29
|
+
pattern: /"(?:""|[^"])*"/,
|
|
30
|
+
greedy: !0
|
|
31
|
+
},
|
|
32
|
+
number: [/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i, /&[bchou][a-z\d]+/i],
|
|
33
|
+
directive: {
|
|
34
|
+
pattern: /#(?:Else|ElseIf|Endif|If|Pragma)\b/i,
|
|
35
|
+
alias: "property"
|
|
36
|
+
},
|
|
37
|
+
keyword: /\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,
|
|
38
|
+
operator: /<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,
|
|
39
|
+
punctuation: /[.,;:()]/
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
return i;
|
|
43
|
+
}
|
|
44
|
+
var s = p();
|
|
45
|
+
const f = /* @__PURE__ */ d(s), g = /* @__PURE__ */ u({
|
|
46
|
+
__proto__: null,
|
|
47
|
+
default: f
|
|
48
|
+
}, [s]);
|
|
49
|
+
export {
|
|
50
|
+
g as x
|
|
51
|
+
};
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { g as d } from "./index-Sj89RFCY.js";
|
|
2
|
+
function f(s, l) {
|
|
3
|
+
for (var r = 0; r < l.length; r++) {
|
|
4
|
+
const i = l[r];
|
|
5
|
+
if (typeof i != "string" && !Array.isArray(i)) {
|
|
6
|
+
for (const o in i)
|
|
7
|
+
if (o !== "default" && !(o in s)) {
|
|
8
|
+
const e = Object.getOwnPropertyDescriptor(i, o);
|
|
9
|
+
e && Object.defineProperty(s, o, e.get ? e : {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: () => i[o]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return Object.freeze(Object.defineProperty(s, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
+
}
|
|
18
|
+
var g, p;
|
|
19
|
+
function b() {
|
|
20
|
+
if (p) return g;
|
|
21
|
+
p = 1, g = s, s.displayName = "xquery", s.aliases = [];
|
|
22
|
+
function s(l) {
|
|
23
|
+
(function(r) {
|
|
24
|
+
r.languages.xquery = r.languages.extend("markup", {
|
|
25
|
+
"xquery-comment": {
|
|
26
|
+
pattern: /\(:[\s\S]*?:\)/,
|
|
27
|
+
greedy: !0,
|
|
28
|
+
alias: "comment"
|
|
29
|
+
},
|
|
30
|
+
string: {
|
|
31
|
+
pattern: /(["'])(?:\1\1|(?!\1)[\s\S])*\1/,
|
|
32
|
+
greedy: !0
|
|
33
|
+
},
|
|
34
|
+
extension: {
|
|
35
|
+
pattern: /\(#.+?#\)/,
|
|
36
|
+
alias: "symbol"
|
|
37
|
+
},
|
|
38
|
+
variable: /\$[-\w:]+/,
|
|
39
|
+
axis: {
|
|
40
|
+
pattern: /(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,
|
|
41
|
+
lookbehind: !0,
|
|
42
|
+
alias: "operator"
|
|
43
|
+
},
|
|
44
|
+
"keyword-operator": {
|
|
45
|
+
pattern: /(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,
|
|
46
|
+
lookbehind: !0,
|
|
47
|
+
alias: "operator"
|
|
48
|
+
},
|
|
49
|
+
keyword: {
|
|
50
|
+
pattern: /(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,
|
|
51
|
+
lookbehind: !0
|
|
52
|
+
},
|
|
53
|
+
function: /[\w-]+(?::[\w-]+)*(?=\s*\()/,
|
|
54
|
+
"xquery-element": {
|
|
55
|
+
pattern: /(element\s+)[\w-]+(?::[\w-]+)*/,
|
|
56
|
+
lookbehind: !0,
|
|
57
|
+
alias: "tag"
|
|
58
|
+
},
|
|
59
|
+
"xquery-attribute": {
|
|
60
|
+
pattern: /(attribute\s+)[\w-]+(?::[\w-]+)*/,
|
|
61
|
+
lookbehind: !0,
|
|
62
|
+
alias: "attr-name"
|
|
63
|
+
},
|
|
64
|
+
builtin: {
|
|
65
|
+
pattern: /(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,
|
|
66
|
+
lookbehind: !0
|
|
67
|
+
},
|
|
68
|
+
number: /\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,
|
|
69
|
+
operator: [
|
|
70
|
+
/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,
|
|
71
|
+
{
|
|
72
|
+
pattern: /(\s)-(?=\s)/,
|
|
73
|
+
lookbehind: !0
|
|
74
|
+
}
|
|
75
|
+
],
|
|
76
|
+
punctuation: /[[\](){},;:/]/
|
|
77
|
+
}), r.languages.xquery.tag.pattern = /<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/, r.languages.xquery.tag.inside["attr-value"].pattern = /=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/, r.languages.xquery.tag.inside["attr-value"].inside.punctuation = /^="|"$/, r.languages.xquery.tag.inside["attr-value"].inside.expression = {
|
|
78
|
+
// Allow for two levels of nesting
|
|
79
|
+
pattern: /\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,
|
|
80
|
+
inside: r.languages.xquery,
|
|
81
|
+
alias: "language-xquery"
|
|
82
|
+
};
|
|
83
|
+
var i = function(e) {
|
|
84
|
+
return typeof e == "string" ? e : typeof e.content == "string" ? e.content : e.content.map(i).join("");
|
|
85
|
+
}, o = function(e) {
|
|
86
|
+
for (var a = [], t = 0; t < e.length; t++) {
|
|
87
|
+
var n = e[t], c = !1;
|
|
88
|
+
if (typeof n != "string" && (n.type === "tag" && n.content[0] && n.content[0].type === "tag" ? n.content[0].content[0].content === "</" ? a.length > 0 && a[a.length - 1].tagName === i(n.content[0].content[1]) && a.pop() : n.content[n.content.length - 1].content === "/>" || a.push({
|
|
89
|
+
tagName: i(n.content[0].content[1]),
|
|
90
|
+
openedBraces: 0
|
|
91
|
+
}) : a.length > 0 && n.type === "punctuation" && n.content === "{" && // Ignore `{{`
|
|
92
|
+
(!e[t + 1] || e[t + 1].type !== "punctuation" || e[t + 1].content !== "{") && (!e[t - 1] || e[t - 1].type !== "plain-text" || e[t - 1].content !== "{") ? a[a.length - 1].openedBraces++ : a.length > 0 && a[a.length - 1].openedBraces > 0 && n.type === "punctuation" && n.content === "}" ? a[a.length - 1].openedBraces-- : n.type !== "comment" && (c = !0)), (c || typeof n == "string") && a.length > 0 && a[a.length - 1].openedBraces === 0) {
|
|
93
|
+
var u = i(n);
|
|
94
|
+
t < e.length - 1 && (typeof e[t + 1] == "string" || e[t + 1].type === "plain-text") && (u += i(e[t + 1]), e.splice(t + 1, 1)), t > 0 && (typeof e[t - 1] == "string" || e[t - 1].type === "plain-text") && (u = i(e[t - 1]) + u, e.splice(t - 1, 1), t--), /^\s+$/.test(u) ? e[t] = u : e[t] = new r.Token(
|
|
95
|
+
"plain-text",
|
|
96
|
+
u,
|
|
97
|
+
null,
|
|
98
|
+
u
|
|
99
|
+
);
|
|
100
|
+
}
|
|
101
|
+
n.content && typeof n.content != "string" && o(n.content);
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
r.hooks.add("after-tokenize", function(e) {
|
|
105
|
+
e.language === "xquery" && o(e.tokens);
|
|
106
|
+
});
|
|
107
|
+
})(l);
|
|
108
|
+
}
|
|
109
|
+
return g;
|
|
110
|
+
}
|
|
111
|
+
var y = b();
|
|
112
|
+
const h = /* @__PURE__ */ d(y), x = /* @__PURE__ */ f({
|
|
113
|
+
__proto__: null,
|
|
114
|
+
default: h
|
|
115
|
+
}, [y]);
|
|
116
|
+
export {
|
|
117
|
+
x
|
|
118
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { g as s } from "./index-Sj89RFCY.js";
|
|
2
|
+
import { r as l } from "./yaml-hxc7aP7n.js";
|
|
3
|
+
function i(t, n) {
|
|
4
|
+
for (var o = 0; o < n.length; o++) {
|
|
5
|
+
const e = n[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 f = l();
|
|
20
|
+
const c = /* @__PURE__ */ s(f), u = /* @__PURE__ */ i({
|
|
21
|
+
__proto__: null,
|
|
22
|
+
default: c
|
|
23
|
+
}, [f]);
|
|
24
|
+
export {
|
|
25
|
+
u as y
|
|
26
|
+
};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
var l, i;
|
|
2
|
+
function g() {
|
|
3
|
+
if (i) return l;
|
|
4
|
+
i = 1, l = r, r.displayName = "yaml", r.aliases = ["yml"];
|
|
5
|
+
function r(p) {
|
|
6
|
+
(function(t) {
|
|
7
|
+
var a = /[*&][^\s[\]{},]+/, n = /!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/, u = "(?:" + n.source + "(?:[ ]+" + a.source + ")?|" + a.source + "(?:[ ]+" + n.source + ")?)", s = /(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(
|
|
8
|
+
/<PLAIN>/g,
|
|
9
|
+
function() {
|
|
10
|
+
return /[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source;
|
|
11
|
+
}
|
|
12
|
+
), d = /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;
|
|
13
|
+
function e(f, o) {
|
|
14
|
+
o = (o || "").replace(/m/g, "") + "m";
|
|
15
|
+
var c = /([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g, function() {
|
|
16
|
+
return u;
|
|
17
|
+
}).replace(/<<value>>/g, function() {
|
|
18
|
+
return f;
|
|
19
|
+
});
|
|
20
|
+
return RegExp(c, o);
|
|
21
|
+
}
|
|
22
|
+
t.languages.yaml = {
|
|
23
|
+
scalar: {
|
|
24
|
+
pattern: RegExp(
|
|
25
|
+
/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(
|
|
26
|
+
/<<prop>>/g,
|
|
27
|
+
function() {
|
|
28
|
+
return u;
|
|
29
|
+
}
|
|
30
|
+
)
|
|
31
|
+
),
|
|
32
|
+
lookbehind: !0,
|
|
33
|
+
alias: "string"
|
|
34
|
+
},
|
|
35
|
+
comment: /#.*/,
|
|
36
|
+
key: {
|
|
37
|
+
pattern: RegExp(
|
|
38
|
+
/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g, function() {
|
|
39
|
+
return u;
|
|
40
|
+
}).replace(/<<key>>/g, function() {
|
|
41
|
+
return "(?:" + s + "|" + d + ")";
|
|
42
|
+
})
|
|
43
|
+
),
|
|
44
|
+
lookbehind: !0,
|
|
45
|
+
greedy: !0,
|
|
46
|
+
alias: "atrule"
|
|
47
|
+
},
|
|
48
|
+
directive: {
|
|
49
|
+
pattern: /(^[ \t]*)%.+/m,
|
|
50
|
+
lookbehind: !0,
|
|
51
|
+
alias: "important"
|
|
52
|
+
},
|
|
53
|
+
datetime: {
|
|
54
|
+
pattern: e(
|
|
55
|
+
/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source
|
|
56
|
+
),
|
|
57
|
+
lookbehind: !0,
|
|
58
|
+
alias: "number"
|
|
59
|
+
},
|
|
60
|
+
boolean: {
|
|
61
|
+
pattern: e(/false|true/.source, "i"),
|
|
62
|
+
lookbehind: !0,
|
|
63
|
+
alias: "important"
|
|
64
|
+
},
|
|
65
|
+
null: {
|
|
66
|
+
pattern: e(/null|~/.source, "i"),
|
|
67
|
+
lookbehind: !0,
|
|
68
|
+
alias: "important"
|
|
69
|
+
},
|
|
70
|
+
string: {
|
|
71
|
+
pattern: e(d),
|
|
72
|
+
lookbehind: !0,
|
|
73
|
+
greedy: !0
|
|
74
|
+
},
|
|
75
|
+
number: {
|
|
76
|
+
pattern: e(
|
|
77
|
+
/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,
|
|
78
|
+
"i"
|
|
79
|
+
),
|
|
80
|
+
lookbehind: !0
|
|
81
|
+
},
|
|
82
|
+
tag: n,
|
|
83
|
+
important: a,
|
|
84
|
+
punctuation: /---|[:[\]{}\-,|>?]|\.\.\./
|
|
85
|
+
}, t.languages.yml = t.languages.yaml;
|
|
86
|
+
})(p);
|
|
87
|
+
}
|
|
88
|
+
return l;
|
|
89
|
+
}
|
|
90
|
+
export {
|
|
91
|
+
g as r
|
|
92
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { g as u } from "./index-Sj89RFCY.js";
|
|
2
|
+
function f(e, n) {
|
|
3
|
+
for (var a = 0; a < n.length; a++) {
|
|
4
|
+
const r = n[a];
|
|
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, s;
|
|
19
|
+
function p() {
|
|
20
|
+
if (s) return i;
|
|
21
|
+
s = 1, i = e, e.displayName = "yang", e.aliases = [];
|
|
22
|
+
function e(n) {
|
|
23
|
+
n.languages.yang = {
|
|
24
|
+
// https://tools.ietf.org/html/rfc6020#page-34
|
|
25
|
+
// http://www.yang-central.org/twiki/bin/view/Main/YangExamples
|
|
26
|
+
comment: /\/\*[\s\S]*?\*\/|\/\/.*/,
|
|
27
|
+
string: {
|
|
28
|
+
pattern: /"(?:[^\\"]|\\.)*"|'[^']*'/,
|
|
29
|
+
greedy: !0
|
|
30
|
+
},
|
|
31
|
+
keyword: {
|
|
32
|
+
pattern: /(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,
|
|
33
|
+
lookbehind: !0
|
|
34
|
+
},
|
|
35
|
+
namespace: {
|
|
36
|
+
pattern: /(\s)[a-z_][\w.-]*(?=:)/i,
|
|
37
|
+
lookbehind: !0
|
|
38
|
+
},
|
|
39
|
+
boolean: /\b(?:false|true)\b/,
|
|
40
|
+
operator: /\+/,
|
|
41
|
+
punctuation: /[{};:]/
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
return i;
|
|
45
|
+
}
|
|
46
|
+
var g = p();
|
|
47
|
+
const y = /* @__PURE__ */ u(g), l = /* @__PURE__ */ f({
|
|
48
|
+
__proto__: null,
|
|
49
|
+
default: y
|
|
50
|
+
}, [g]);
|
|
51
|
+
export {
|
|
52
|
+
l as y
|
|
53
|
+
};
|