@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,94 @@
|
|
|
1
|
+
import { g as p } from "./index-Sj89RFCY.js";
|
|
2
|
+
function u(t, e) {
|
|
3
|
+
for (var a = 0; a < e.length; a++) {
|
|
4
|
+
const r = e[a];
|
|
5
|
+
if (typeof r != "string" && !Array.isArray(r)) {
|
|
6
|
+
for (const n in r)
|
|
7
|
+
if (n !== "default" && !(n in t)) {
|
|
8
|
+
const o = Object.getOwnPropertyDescriptor(r, n);
|
|
9
|
+
o && Object.defineProperty(t, n, o.get ? o : {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: () => r[n]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
+
}
|
|
18
|
+
var i, s;
|
|
19
|
+
function d() {
|
|
20
|
+
if (s) return i;
|
|
21
|
+
s = 1, i = t, t.displayName = "python", t.aliases = ["py"];
|
|
22
|
+
function t(e) {
|
|
23
|
+
e.languages.python = {
|
|
24
|
+
comment: {
|
|
25
|
+
pattern: /(^|[^\\])#.*/,
|
|
26
|
+
lookbehind: !0,
|
|
27
|
+
greedy: !0
|
|
28
|
+
},
|
|
29
|
+
"string-interpolation": {
|
|
30
|
+
pattern: /(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,
|
|
31
|
+
greedy: !0,
|
|
32
|
+
inside: {
|
|
33
|
+
interpolation: {
|
|
34
|
+
// "{" <expression> <optional "!s", "!r", or "!a"> <optional ":" format specifier> "}"
|
|
35
|
+
pattern: /((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,
|
|
36
|
+
lookbehind: !0,
|
|
37
|
+
inside: {
|
|
38
|
+
"format-spec": {
|
|
39
|
+
pattern: /(:)[^:(){}]+(?=\}$)/,
|
|
40
|
+
lookbehind: !0
|
|
41
|
+
},
|
|
42
|
+
"conversion-option": {
|
|
43
|
+
pattern: //,
|
|
44
|
+
alias: "punctuation"
|
|
45
|
+
},
|
|
46
|
+
rest: null
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
string: /[\s\S]+/
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"triple-quoted-string": {
|
|
53
|
+
pattern: /(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,
|
|
54
|
+
greedy: !0,
|
|
55
|
+
alias: "string"
|
|
56
|
+
},
|
|
57
|
+
string: {
|
|
58
|
+
pattern: /(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,
|
|
59
|
+
greedy: !0
|
|
60
|
+
},
|
|
61
|
+
function: {
|
|
62
|
+
pattern: /((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,
|
|
63
|
+
lookbehind: !0
|
|
64
|
+
},
|
|
65
|
+
"class-name": {
|
|
66
|
+
pattern: /(\bclass\s+)\w+/i,
|
|
67
|
+
lookbehind: !0
|
|
68
|
+
},
|
|
69
|
+
decorator: {
|
|
70
|
+
pattern: /(^[\t ]*)@\w+(?:\.\w+)*/m,
|
|
71
|
+
lookbehind: !0,
|
|
72
|
+
alias: ["annotation", "punctuation"],
|
|
73
|
+
inside: {
|
|
74
|
+
punctuation: /\./
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
keyword: /\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,
|
|
78
|
+
builtin: /\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,
|
|
79
|
+
boolean: /\b(?:False|None|True)\b/,
|
|
80
|
+
number: /\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,
|
|
81
|
+
operator: /[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,
|
|
82
|
+
punctuation: /[{}[\];(),.:]/
|
|
83
|
+
}, e.languages.python["string-interpolation"].inside.interpolation.inside.rest = e.languages.python, e.languages.py = e.languages.python;
|
|
84
|
+
}
|
|
85
|
+
return i;
|
|
86
|
+
}
|
|
87
|
+
var l = d();
|
|
88
|
+
const c = /* @__PURE__ */ p(l), y = /* @__PURE__ */ u({
|
|
89
|
+
__proto__: null,
|
|
90
|
+
default: c
|
|
91
|
+
}, [l]);
|
|
92
|
+
export {
|
|
93
|
+
y as p
|
|
94
|
+
};
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { g as l } from "./index-Sj89RFCY.js";
|
|
2
|
+
function u(e, s) {
|
|
3
|
+
for (var a = 0; a < s.length; a++) {
|
|
4
|
+
const r = s[a];
|
|
5
|
+
if (typeof r != "string" && !Array.isArray(r)) {
|
|
6
|
+
for (const t in r)
|
|
7
|
+
if (t !== "default" && !(t in e)) {
|
|
8
|
+
const n = Object.getOwnPropertyDescriptor(r, t);
|
|
9
|
+
n && Object.defineProperty(e, t, n.get ? n : {
|
|
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 d, i;
|
|
19
|
+
function c() {
|
|
20
|
+
if (i) return d;
|
|
21
|
+
i = 1, d = e, e.displayName = "q", e.aliases = [];
|
|
22
|
+
function e(s) {
|
|
23
|
+
s.languages.q = {
|
|
24
|
+
string: /"(?:\\.|[^"\\\r\n])*"/,
|
|
25
|
+
comment: [
|
|
26
|
+
// From http://code.kx.com/wiki/Reference/Slash:
|
|
27
|
+
// When / is following a space (or a right parenthesis, bracket, or brace), it is ignored with the rest of the line.
|
|
28
|
+
{
|
|
29
|
+
pattern: /([\t )\]}])\/.*/,
|
|
30
|
+
lookbehind: !0,
|
|
31
|
+
greedy: !0
|
|
32
|
+
},
|
|
33
|
+
// From http://code.kx.com/wiki/Reference/Slash:
|
|
34
|
+
// A line which has / as its first character and contains at least one other non-whitespace character is a whole-line comment and is ignored entirely.
|
|
35
|
+
// A / on a line by itself begins a multiline comment which is terminated by the next \ on a line by itself.
|
|
36
|
+
// If a / is not matched by a \, the multiline comment is unterminated and continues to end of file.
|
|
37
|
+
// The / and \ must be the first char on the line, but may be followed by any amount of whitespace.
|
|
38
|
+
{
|
|
39
|
+
pattern: /(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,
|
|
40
|
+
lookbehind: !0,
|
|
41
|
+
greedy: !0
|
|
42
|
+
},
|
|
43
|
+
// From http://code.kx.com/wiki/Reference/Slash:
|
|
44
|
+
// A \ on a line by itself with no preceding matching / will comment to end of file.
|
|
45
|
+
{
|
|
46
|
+
pattern: /^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,
|
|
47
|
+
greedy: !0
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
pattern: /^#!.+/m,
|
|
51
|
+
greedy: !0
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
symbol: /`(?::\S+|[\w.]*)/,
|
|
55
|
+
datetime: {
|
|
56
|
+
pattern: /0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,
|
|
57
|
+
alias: "number"
|
|
58
|
+
},
|
|
59
|
+
// The negative look-ahead prevents bad highlighting
|
|
60
|
+
// of verbs 0: and 1:
|
|
61
|
+
number: /\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,
|
|
62
|
+
keyword: /\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,
|
|
63
|
+
adverb: {
|
|
64
|
+
pattern: /['\/\\]:?|\beach\b/,
|
|
65
|
+
alias: "function"
|
|
66
|
+
},
|
|
67
|
+
verb: {
|
|
68
|
+
pattern: /(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,
|
|
69
|
+
alias: "operator"
|
|
70
|
+
},
|
|
71
|
+
punctuation: /[(){}\[\];.]/
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
return d;
|
|
75
|
+
}
|
|
76
|
+
var o = c();
|
|
77
|
+
const m = /* @__PURE__ */ l(o), v = /* @__PURE__ */ u({
|
|
78
|
+
__proto__: null,
|
|
79
|
+
default: m
|
|
80
|
+
}, [o]);
|
|
81
|
+
export {
|
|
82
|
+
v as q
|
|
83
|
+
};
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { g as c } from "./index-Sj89RFCY.js";
|
|
2
|
+
function l(r, o) {
|
|
3
|
+
for (var t = 0; t < o.length; t++) {
|
|
4
|
+
const n = o[t];
|
|
5
|
+
if (typeof n != "string" && !Array.isArray(n)) {
|
|
6
|
+
for (const a in n)
|
|
7
|
+
if (a !== "default" && !(a in r)) {
|
|
8
|
+
const e = Object.getOwnPropertyDescriptor(n, a);
|
|
9
|
+
e && Object.defineProperty(r, a, e.get ? e : {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: () => n[a]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return Object.freeze(Object.defineProperty(r, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
+
}
|
|
18
|
+
var s, p;
|
|
19
|
+
function g() {
|
|
20
|
+
if (p) return s;
|
|
21
|
+
p = 1, s = r, r.displayName = "qml", r.aliases = [];
|
|
22
|
+
function r(o) {
|
|
23
|
+
(function(t) {
|
|
24
|
+
for (var n = /"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source, a = /\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source, e = /(?:[^\\()[\]{}"'/]|<string>|\/(?![*/])|<comment>|\(<expr>*\)|\[<expr>*\]|\{<expr>*\}|\\[\s\S])/.source.replace(/<string>/g, function() {
|
|
25
|
+
return n;
|
|
26
|
+
}).replace(/<comment>/g, function() {
|
|
27
|
+
return a;
|
|
28
|
+
}), u = 0; u < 2; u++)
|
|
29
|
+
e = e.replace(/<expr>/g, function() {
|
|
30
|
+
return e;
|
|
31
|
+
});
|
|
32
|
+
e = e.replace(/<expr>/g, "[^\\s\\S]"), t.languages.qml = {
|
|
33
|
+
comment: {
|
|
34
|
+
pattern: /\/\/.*|\/\*[\s\S]*?\*\//,
|
|
35
|
+
greedy: !0
|
|
36
|
+
},
|
|
37
|
+
"javascript-function": {
|
|
38
|
+
pattern: RegExp(
|
|
39
|
+
/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(<js>*\)\s*\{<js>*\}/.source.replace(
|
|
40
|
+
/<js>/g,
|
|
41
|
+
function() {
|
|
42
|
+
return e;
|
|
43
|
+
}
|
|
44
|
+
),
|
|
45
|
+
"m"
|
|
46
|
+
),
|
|
47
|
+
lookbehind: !0,
|
|
48
|
+
greedy: !0,
|
|
49
|
+
alias: "language-javascript",
|
|
50
|
+
inside: t.languages.javascript
|
|
51
|
+
},
|
|
52
|
+
"class-name": {
|
|
53
|
+
pattern: /((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,
|
|
54
|
+
lookbehind: !0
|
|
55
|
+
},
|
|
56
|
+
property: [
|
|
57
|
+
{
|
|
58
|
+
pattern: /((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,
|
|
59
|
+
lookbehind: !0
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
pattern: /((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,
|
|
63
|
+
lookbehind: !0,
|
|
64
|
+
inside: {
|
|
65
|
+
keyword: /^property/,
|
|
66
|
+
property: /\w+(?:\.\w+)*/
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
"javascript-expression": {
|
|
71
|
+
pattern: RegExp(
|
|
72
|
+
/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}])<js>)+/.source.replace(
|
|
73
|
+
/<js>/g,
|
|
74
|
+
function() {
|
|
75
|
+
return e;
|
|
76
|
+
}
|
|
77
|
+
),
|
|
78
|
+
"m"
|
|
79
|
+
),
|
|
80
|
+
lookbehind: !0,
|
|
81
|
+
greedy: !0,
|
|
82
|
+
alias: "language-javascript",
|
|
83
|
+
inside: t.languages.javascript
|
|
84
|
+
},
|
|
85
|
+
string: {
|
|
86
|
+
pattern: /"(?:\\.|[^\\"\r\n])*"/,
|
|
87
|
+
greedy: !0
|
|
88
|
+
},
|
|
89
|
+
keyword: /\b(?:as|import|on)\b/,
|
|
90
|
+
punctuation: /[{}[\]:;,]/
|
|
91
|
+
};
|
|
92
|
+
})(o);
|
|
93
|
+
}
|
|
94
|
+
return s;
|
|
95
|
+
}
|
|
96
|
+
var i = g();
|
|
97
|
+
const m = /* @__PURE__ */ c(i), f = /* @__PURE__ */ l({
|
|
98
|
+
__proto__: null,
|
|
99
|
+
default: m
|
|
100
|
+
}, [i]);
|
|
101
|
+
export {
|
|
102
|
+
f as q
|
|
103
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { g as c } from "./index-Sj89RFCY.js";
|
|
2
|
+
function d(e, t) {
|
|
3
|
+
for (var n = 0; n < t.length; n++) {
|
|
4
|
+
const r = t[n];
|
|
5
|
+
if (typeof r != "string" && !Array.isArray(r)) {
|
|
6
|
+
for (const o in r)
|
|
7
|
+
if (o !== "default" && !(o in e)) {
|
|
8
|
+
const a = Object.getOwnPropertyDescriptor(r, o);
|
|
9
|
+
a && Object.defineProperty(e, o, a.get ? a : {
|
|
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 i, s;
|
|
19
|
+
function f() {
|
|
20
|
+
if (s) return i;
|
|
21
|
+
s = 1, i = e, e.displayName = "qore", e.aliases = [];
|
|
22
|
+
function e(t) {
|
|
23
|
+
t.languages.qore = t.languages.extend("clike", {
|
|
24
|
+
comment: {
|
|
25
|
+
pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,
|
|
26
|
+
lookbehind: !0
|
|
27
|
+
},
|
|
28
|
+
// Overridden to allow unescaped multi-line strings
|
|
29
|
+
string: {
|
|
30
|
+
pattern: /("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,
|
|
31
|
+
greedy: !0
|
|
32
|
+
},
|
|
33
|
+
keyword: /\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,
|
|
34
|
+
boolean: /\b(?:false|true)\b/i,
|
|
35
|
+
function: /\$?\b(?!\d)\w+(?=\()/,
|
|
36
|
+
number: /\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,
|
|
37
|
+
operator: {
|
|
38
|
+
pattern: /(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,
|
|
39
|
+
lookbehind: !0
|
|
40
|
+
},
|
|
41
|
+
variable: /\$(?!\d)\w+\b/
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
return i;
|
|
45
|
+
}
|
|
46
|
+
var l = f();
|
|
47
|
+
const u = /* @__PURE__ */ c(l), p = /* @__PURE__ */ d({
|
|
48
|
+
__proto__: null,
|
|
49
|
+
default: u
|
|
50
|
+
}, [l]);
|
|
51
|
+
export {
|
|
52
|
+
p as q
|
|
53
|
+
};
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { g as m } from "./index-Sj89RFCY.js";
|
|
2
|
+
function k(a, 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 e in t)
|
|
7
|
+
if (e !== "default" && !(e in a)) {
|
|
8
|
+
const s = Object.getOwnPropertyDescriptor(t, e);
|
|
9
|
+
s && Object.defineProperty(a, e, s.get ? s : {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: () => t[e]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return Object.freeze(Object.defineProperty(a, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
+
}
|
|
18
|
+
var l, h;
|
|
19
|
+
function x() {
|
|
20
|
+
if (h) return l;
|
|
21
|
+
h = 1, l = a, a.displayName = "qsharp", a.aliases = ["qs"];
|
|
22
|
+
function a(o) {
|
|
23
|
+
(function(n) {
|
|
24
|
+
function t(r, i) {
|
|
25
|
+
return r.replace(/<<(\d+)>>/g, function(u, w) {
|
|
26
|
+
return "(?:" + i[+w] + ")";
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
function e(r, i, u) {
|
|
30
|
+
return RegExp(t(r, i), "");
|
|
31
|
+
}
|
|
32
|
+
function s(r, i) {
|
|
33
|
+
for (var u = 0; u < i; u++)
|
|
34
|
+
r = r.replace(/<<self>>/g, function() {
|
|
35
|
+
return "(?:" + r + ")";
|
|
36
|
+
});
|
|
37
|
+
return r.replace(/<<self>>/g, "[^\\s\\S]");
|
|
38
|
+
}
|
|
39
|
+
var p = {
|
|
40
|
+
// keywords which represent a return or variable type
|
|
41
|
+
type: "Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",
|
|
42
|
+
// all other keywords
|
|
43
|
+
other: "Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"
|
|
44
|
+
};
|
|
45
|
+
function q(r) {
|
|
46
|
+
return "\\b(?:" + r.trim().replace(/ /g, "|") + ")\\b";
|
|
47
|
+
}
|
|
48
|
+
var g = RegExp(
|
|
49
|
+
q(p.type + " " + p.other)
|
|
50
|
+
), v = /\b[A-Za-z_]\w*\b/.source, c = t(/<<0>>(?:\s*\.\s*<<0>>)*/.source, [v]), d = {
|
|
51
|
+
keyword: g,
|
|
52
|
+
punctuation: /[<>()?,.:[\]]/
|
|
53
|
+
}, f = /"(?:\\.|[^\\"])*"/.source;
|
|
54
|
+
n.languages.qsharp = n.languages.extend("clike", {
|
|
55
|
+
comment: /\/\/.*/,
|
|
56
|
+
string: [
|
|
57
|
+
{
|
|
58
|
+
pattern: e(/(^|[^$\\])<<0>>/.source, [f]),
|
|
59
|
+
lookbehind: !0,
|
|
60
|
+
greedy: !0
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"class-name": [
|
|
64
|
+
{
|
|
65
|
+
// open Microsoft.Quantum.Canon;
|
|
66
|
+
// open Microsoft.Quantum.Canon as CN;
|
|
67
|
+
pattern: e(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source, [
|
|
68
|
+
c
|
|
69
|
+
]),
|
|
70
|
+
lookbehind: !0,
|
|
71
|
+
inside: d
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
// namespace Quantum.App1;
|
|
75
|
+
pattern: e(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source, [c]),
|
|
76
|
+
lookbehind: !0,
|
|
77
|
+
inside: d
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
keyword: g,
|
|
81
|
+
number: /(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,
|
|
82
|
+
operator: /\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,
|
|
83
|
+
punctuation: /::|[{}[\];(),.:]/
|
|
84
|
+
}), n.languages.insertBefore("qsharp", "number", {
|
|
85
|
+
range: {
|
|
86
|
+
pattern: /\.\./,
|
|
87
|
+
alias: "operator"
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
var b = s(
|
|
91
|
+
t(/\{(?:[^"{}]|<<0>>|<<self>>)*\}/.source, [f]),
|
|
92
|
+
2
|
|
93
|
+
);
|
|
94
|
+
n.languages.insertBefore("qsharp", "string", {
|
|
95
|
+
"interpolation-string": {
|
|
96
|
+
pattern: e(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source, [b]),
|
|
97
|
+
greedy: !0,
|
|
98
|
+
inside: {
|
|
99
|
+
interpolation: {
|
|
100
|
+
pattern: e(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source, [
|
|
101
|
+
b
|
|
102
|
+
]),
|
|
103
|
+
lookbehind: !0,
|
|
104
|
+
inside: {
|
|
105
|
+
punctuation: /^\{|\}$/,
|
|
106
|
+
expression: {
|
|
107
|
+
pattern: /[\s\S]+/,
|
|
108
|
+
alias: "language-qsharp",
|
|
109
|
+
inside: n.languages.qsharp
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
string: /[\s\S]+/
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
})(o), o.languages.qs = o.languages.qsharp;
|
|
118
|
+
}
|
|
119
|
+
return l;
|
|
120
|
+
}
|
|
121
|
+
var y = x();
|
|
122
|
+
const j = /* @__PURE__ */ m(y), _ = /* @__PURE__ */ k({
|
|
123
|
+
__proto__: null,
|
|
124
|
+
default: j
|
|
125
|
+
}, [y]);
|
|
126
|
+
export {
|
|
127
|
+
_ as q
|
|
128
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { g as f } from "./index-Sj89RFCY.js";
|
|
2
|
+
function u(e, o) {
|
|
3
|
+
for (var a = 0; a < o.length; a++) {
|
|
4
|
+
const r = o[a];
|
|
5
|
+
if (typeof r != "string" && !Array.isArray(r)) {
|
|
6
|
+
for (const t in r)
|
|
7
|
+
if (t !== "default" && !(t in e)) {
|
|
8
|
+
const n = Object.getOwnPropertyDescriptor(r, t);
|
|
9
|
+
n && Object.defineProperty(e, t, n.get ? n : {
|
|
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 c() {
|
|
20
|
+
if (s) return i;
|
|
21
|
+
s = 1, i = e, e.displayName = "r", e.aliases = [];
|
|
22
|
+
function e(o) {
|
|
23
|
+
o.languages.r = {
|
|
24
|
+
comment: /#.*/,
|
|
25
|
+
string: {
|
|
26
|
+
pattern: /(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,
|
|
27
|
+
greedy: !0
|
|
28
|
+
},
|
|
29
|
+
"percent-operator": {
|
|
30
|
+
// Includes user-defined operators
|
|
31
|
+
// and %%, %*%, %/%, %in%, %o%, %x%
|
|
32
|
+
pattern: /%[^%\s]*%/,
|
|
33
|
+
alias: "operator"
|
|
34
|
+
},
|
|
35
|
+
boolean: /\b(?:FALSE|TRUE)\b/,
|
|
36
|
+
ellipsis: /\.\.(?:\.|\d+)/,
|
|
37
|
+
number: [
|
|
38
|
+
/\b(?:Inf|NaN)\b/,
|
|
39
|
+
/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/
|
|
40
|
+
],
|
|
41
|
+
keyword: /\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,
|
|
42
|
+
operator: /->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,
|
|
43
|
+
punctuation: /[(){}\[\],;]/
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
return i;
|
|
47
|
+
}
|
|
48
|
+
var p = c();
|
|
49
|
+
const l = /* @__PURE__ */ f(p), d = /* @__PURE__ */ u({
|
|
50
|
+
__proto__: null,
|
|
51
|
+
default: l
|
|
52
|
+
}, [p]);
|
|
53
|
+
export {
|
|
54
|
+
d as r
|
|
55
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { g as u } from "./index-Sj89RFCY.js";
|
|
2
|
+
import { r as l } from "./scheme-B-TWMKN_.js";
|
|
3
|
+
function f(t, r) {
|
|
4
|
+
for (var e = 0; e < r.length; e++) {
|
|
5
|
+
const a = r[e];
|
|
6
|
+
if (typeof a != "string" && !Array.isArray(a)) {
|
|
7
|
+
for (const n in a)
|
|
8
|
+
if (n !== "default" && !(n in t)) {
|
|
9
|
+
const o = Object.getOwnPropertyDescriptor(a, n);
|
|
10
|
+
o && Object.defineProperty(t, n, o.get ? o : {
|
|
11
|
+
enumerable: !0,
|
|
12
|
+
get: () => a[n]
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
|
|
18
|
+
}
|
|
19
|
+
var c, s;
|
|
20
|
+
function i() {
|
|
21
|
+
if (s) return c;
|
|
22
|
+
s = 1;
|
|
23
|
+
var t = l();
|
|
24
|
+
c = r, r.displayName = "racket", r.aliases = ["rkt"];
|
|
25
|
+
function r(e) {
|
|
26
|
+
e.register(t), e.languages.racket = e.languages.extend("scheme", {
|
|
27
|
+
"lambda-parameter": {
|
|
28
|
+
// the racket lambda syntax is a lot more complex, so we won't even attempt to capture it.
|
|
29
|
+
// this will just prevent false positives of the `function` pattern
|
|
30
|
+
pattern: /([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,
|
|
31
|
+
lookbehind: !0
|
|
32
|
+
}
|
|
33
|
+
}), e.languages.insertBefore("racket", "string", {
|
|
34
|
+
lang: {
|
|
35
|
+
pattern: /^#lang.+/m,
|
|
36
|
+
greedy: !0,
|
|
37
|
+
alias: "keyword"
|
|
38
|
+
}
|
|
39
|
+
}), e.languages.rkt = e.languages.racket;
|
|
40
|
+
}
|
|
41
|
+
return c;
|
|
42
|
+
}
|
|
43
|
+
var g = i();
|
|
44
|
+
const k = /* @__PURE__ */ u(g), m = /* @__PURE__ */ f({
|
|
45
|
+
__proto__: null,
|
|
46
|
+
default: k
|
|
47
|
+
}, [g]);
|
|
48
|
+
export {
|
|
49
|
+
m as r
|
|
50
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { g as c } from "./index-Sj89RFCY.js";
|
|
2
|
+
function u(e, r) {
|
|
3
|
+
for (var a = 0; a < r.length; a++) {
|
|
4
|
+
const t = r[a];
|
|
5
|
+
if (typeof t != "string" && !Array.isArray(t)) {
|
|
6
|
+
for (const n in t)
|
|
7
|
+
if (n !== "default" && !(n in e)) {
|
|
8
|
+
const o = Object.getOwnPropertyDescriptor(t, n);
|
|
9
|
+
o && Object.defineProperty(e, n, o.get ? o : {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: () => t[n]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
+
}
|
|
18
|
+
var s, l;
|
|
19
|
+
function f() {
|
|
20
|
+
if (l) return s;
|
|
21
|
+
l = 1, s = e, e.displayName = "reason", e.aliases = [];
|
|
22
|
+
function e(r) {
|
|
23
|
+
r.languages.reason = r.languages.extend("clike", {
|
|
24
|
+
string: {
|
|
25
|
+
pattern: /"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,
|
|
26
|
+
greedy: !0
|
|
27
|
+
},
|
|
28
|
+
// 'class-name' must be matched *after* 'constructor' defined below
|
|
29
|
+
"class-name": /\b[A-Z]\w*/,
|
|
30
|
+
keyword: /\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,
|
|
31
|
+
operator: /\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/
|
|
32
|
+
}), r.languages.insertBefore("reason", "class-name", {
|
|
33
|
+
char: {
|
|
34
|
+
pattern: /'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,
|
|
35
|
+
greedy: !0
|
|
36
|
+
},
|
|
37
|
+
// Negative look-ahead prevents from matching things like String.capitalize
|
|
38
|
+
constructor: /\b[A-Z]\w*\b(?!\s*\.)/,
|
|
39
|
+
label: {
|
|
40
|
+
pattern: /\b[a-z]\w*(?=::)/,
|
|
41
|
+
alias: "symbol"
|
|
42
|
+
}
|
|
43
|
+
}), delete r.languages.reason.function;
|
|
44
|
+
}
|
|
45
|
+
return s;
|
|
46
|
+
}
|
|
47
|
+
var i = f();
|
|
48
|
+
const d = /* @__PURE__ */ c(i), p = /* @__PURE__ */ u({
|
|
49
|
+
__proto__: null,
|
|
50
|
+
default: d
|
|
51
|
+
}, [i]);
|
|
52
|
+
export {
|
|
53
|
+
p as r
|
|
54
|
+
};
|