@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,102 @@
|
|
|
1
|
+
import { g as p } from "./index-Sj89RFCY.js";
|
|
2
|
+
function l(n, o) {
|
|
3
|
+
for (var r = 0; r < o.length; r++) {
|
|
4
|
+
const a = o[r];
|
|
5
|
+
if (typeof a != "string" && !Array.isArray(a)) {
|
|
6
|
+
for (const e in a)
|
|
7
|
+
if (e !== "default" && !(e in n)) {
|
|
8
|
+
const t = Object.getOwnPropertyDescriptor(a, e);
|
|
9
|
+
t && Object.defineProperty(n, e, t.get ? t : {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: () => a[e]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
+
}
|
|
18
|
+
var u, i;
|
|
19
|
+
function c() {
|
|
20
|
+
if (i) return u;
|
|
21
|
+
i = 1, u = n, n.displayName = "dot", n.aliases = ["gv"];
|
|
22
|
+
function n(o) {
|
|
23
|
+
(function(r) {
|
|
24
|
+
var a = "(?:" + [
|
|
25
|
+
// an identifier
|
|
26
|
+
/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,
|
|
27
|
+
// a number
|
|
28
|
+
/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,
|
|
29
|
+
// a double-quoted string
|
|
30
|
+
/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,
|
|
31
|
+
// HTML-like string
|
|
32
|
+
/<(?:[^<>]|(?!<!--)<(?:[^<>"']|"[^"]*"|'[^']*')+>|<!--(?:[^-]|-(?!->))*-->)*>/.source
|
|
33
|
+
].join("|") + ")", e = {
|
|
34
|
+
markup: {
|
|
35
|
+
pattern: /(^<)[\s\S]+(?=>$)/,
|
|
36
|
+
lookbehind: !0,
|
|
37
|
+
alias: ["language-markup", "language-html", "language-xml"],
|
|
38
|
+
inside: r.languages.markup
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
function t(d, g) {
|
|
42
|
+
return RegExp(
|
|
43
|
+
d.replace(/<ID>/g, function() {
|
|
44
|
+
return a;
|
|
45
|
+
}),
|
|
46
|
+
g
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
r.languages.dot = {
|
|
50
|
+
comment: {
|
|
51
|
+
pattern: /\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,
|
|
52
|
+
greedy: !0
|
|
53
|
+
},
|
|
54
|
+
"graph-name": {
|
|
55
|
+
pattern: t(
|
|
56
|
+
/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)<ID>/.source,
|
|
57
|
+
"i"
|
|
58
|
+
),
|
|
59
|
+
lookbehind: !0,
|
|
60
|
+
greedy: !0,
|
|
61
|
+
alias: "class-name",
|
|
62
|
+
inside: e
|
|
63
|
+
},
|
|
64
|
+
"attr-value": {
|
|
65
|
+
pattern: t(/(=[ \t\r\n]*)<ID>/.source),
|
|
66
|
+
lookbehind: !0,
|
|
67
|
+
greedy: !0,
|
|
68
|
+
inside: e
|
|
69
|
+
},
|
|
70
|
+
"attr-name": {
|
|
71
|
+
pattern: t(/([\[;, \t\r\n])<ID>(?=[ \t\r\n]*=)/.source),
|
|
72
|
+
lookbehind: !0,
|
|
73
|
+
greedy: !0,
|
|
74
|
+
inside: e
|
|
75
|
+
},
|
|
76
|
+
keyword: /\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,
|
|
77
|
+
"compass-point": {
|
|
78
|
+
pattern: /(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,
|
|
79
|
+
lookbehind: !0,
|
|
80
|
+
alias: "builtin"
|
|
81
|
+
},
|
|
82
|
+
node: {
|
|
83
|
+
pattern: t(/(^|[^-.\w\x80-\uFFFF\\])<ID>/.source),
|
|
84
|
+
lookbehind: !0,
|
|
85
|
+
greedy: !0,
|
|
86
|
+
inside: e
|
|
87
|
+
},
|
|
88
|
+
operator: /[=:]|-[->]/,
|
|
89
|
+
punctuation: /[\[\]{};,]/
|
|
90
|
+
}, r.languages.gv = r.languages.dot;
|
|
91
|
+
})(o);
|
|
92
|
+
}
|
|
93
|
+
return u;
|
|
94
|
+
}
|
|
95
|
+
var s = c();
|
|
96
|
+
const f = /* @__PURE__ */ p(s), h = /* @__PURE__ */ l({
|
|
97
|
+
__proto__: null,
|
|
98
|
+
default: f
|
|
99
|
+
}, [s]);
|
|
100
|
+
export {
|
|
101
|
+
h as d
|
|
102
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { g as u } from "./index-Sj89RFCY.js";
|
|
2
|
+
function l(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, f;
|
|
19
|
+
function b() {
|
|
20
|
+
if (f) return i;
|
|
21
|
+
f = 1, i = e, e.displayName = "ebnf", e.aliases = [];
|
|
22
|
+
function e(n) {
|
|
23
|
+
n.languages.ebnf = {
|
|
24
|
+
comment: /\(\*[\s\S]*?\*\)/,
|
|
25
|
+
string: {
|
|
26
|
+
pattern: /"[^"\r\n]*"|'[^'\r\n]*'/,
|
|
27
|
+
greedy: !0
|
|
28
|
+
},
|
|
29
|
+
special: {
|
|
30
|
+
pattern: /\?[^?\r\n]*\?/,
|
|
31
|
+
greedy: !0,
|
|
32
|
+
alias: "class-name"
|
|
33
|
+
},
|
|
34
|
+
definition: {
|
|
35
|
+
pattern: /^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,
|
|
36
|
+
lookbehind: !0,
|
|
37
|
+
alias: ["rule", "keyword"]
|
|
38
|
+
},
|
|
39
|
+
rule: /\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,
|
|
40
|
+
punctuation: /\([:/]|[:/]\)|[.,;()[\]{}]/,
|
|
41
|
+
operator: /[-=|*/!]/
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
return i;
|
|
45
|
+
}
|
|
46
|
+
var s = b();
|
|
47
|
+
const c = /* @__PURE__ */ u(s), g = /* @__PURE__ */ l({
|
|
48
|
+
__proto__: null,
|
|
49
|
+
default: c
|
|
50
|
+
}, [s]);
|
|
51
|
+
export {
|
|
52
|
+
g as e
|
|
53
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { g as f } from "./index-Sj89RFCY.js";
|
|
2
|
+
function u(e, o) {
|
|
3
|
+
for (var i = 0; i < o.length; i++) {
|
|
4
|
+
const t = o[i];
|
|
5
|
+
if (typeof t != "string" && !Array.isArray(t)) {
|
|
6
|
+
for (const r in t)
|
|
7
|
+
if (r !== "default" && !(r in e)) {
|
|
8
|
+
const n = Object.getOwnPropertyDescriptor(t, r);
|
|
9
|
+
n && Object.defineProperty(e, r, n.get ? n : {
|
|
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 a, c;
|
|
19
|
+
function g() {
|
|
20
|
+
if (c) return a;
|
|
21
|
+
c = 1, a = e, e.displayName = "editorconfig", e.aliases = [];
|
|
22
|
+
function e(o) {
|
|
23
|
+
o.languages.editorconfig = {
|
|
24
|
+
// https://editorconfig-specification.readthedocs.io
|
|
25
|
+
comment: /[;#].*/,
|
|
26
|
+
section: {
|
|
27
|
+
pattern: /(^[ \t]*)\[.+\]/m,
|
|
28
|
+
lookbehind: !0,
|
|
29
|
+
alias: "selector",
|
|
30
|
+
inside: {
|
|
31
|
+
regex: /\\\\[\[\]{},!?.*]/,
|
|
32
|
+
// Escape special characters with '\\'
|
|
33
|
+
operator: /[!?]|\.\.|\*{1,2}/,
|
|
34
|
+
punctuation: /[\[\]{},]/
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
key: {
|
|
38
|
+
pattern: /(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,
|
|
39
|
+
lookbehind: !0,
|
|
40
|
+
alias: "attr-name"
|
|
41
|
+
},
|
|
42
|
+
value: {
|
|
43
|
+
pattern: /=.*/,
|
|
44
|
+
alias: "attr-value",
|
|
45
|
+
inside: {
|
|
46
|
+
punctuation: /^=/
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
return a;
|
|
52
|
+
}
|
|
53
|
+
var s = g();
|
|
54
|
+
const d = /* @__PURE__ */ f(s), p = /* @__PURE__ */ u({
|
|
55
|
+
__proto__: null,
|
|
56
|
+
default: d
|
|
57
|
+
}, [s]);
|
|
58
|
+
export {
|
|
59
|
+
p as e
|
|
60
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { g as l } from "./index-Sj89RFCY.js";
|
|
2
|
+
function d(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 u() {
|
|
20
|
+
if (s) return i;
|
|
21
|
+
s = 1, i = e, e.displayName = "eiffel", e.aliases = [];
|
|
22
|
+
function e(n) {
|
|
23
|
+
n.languages.eiffel = {
|
|
24
|
+
comment: /--.*/,
|
|
25
|
+
string: [
|
|
26
|
+
// Aligned-verbatim-strings
|
|
27
|
+
{
|
|
28
|
+
pattern: /"([^[]*)\[[\s\S]*?\]\1"/,
|
|
29
|
+
greedy: !0
|
|
30
|
+
},
|
|
31
|
+
// Non-aligned-verbatim-strings
|
|
32
|
+
{
|
|
33
|
+
pattern: /"([^{]*)\{[\s\S]*?\}\1"/,
|
|
34
|
+
greedy: !0
|
|
35
|
+
},
|
|
36
|
+
// Single-line string
|
|
37
|
+
{
|
|
38
|
+
pattern: /"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,
|
|
39
|
+
greedy: !0
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
// normal char | special char | char code
|
|
43
|
+
char: /'(?:%.|[^%'\r\n])+'/,
|
|
44
|
+
keyword: /\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,
|
|
45
|
+
boolean: /\b(?:False|True)\b/i,
|
|
46
|
+
// Convention: class-names are always all upper-case characters
|
|
47
|
+
"class-name": /\b[A-Z][\dA-Z_]*\b/,
|
|
48
|
+
number: [
|
|
49
|
+
// hexa | octal | bin
|
|
50
|
+
/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,
|
|
51
|
+
// Decimal
|
|
52
|
+
/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i
|
|
53
|
+
],
|
|
54
|
+
punctuation: /:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,
|
|
55
|
+
operator: /\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
return i;
|
|
59
|
+
}
|
|
60
|
+
var f = u();
|
|
61
|
+
const c = /* @__PURE__ */ l(f), p = /* @__PURE__ */ d({
|
|
62
|
+
__proto__: null,
|
|
63
|
+
default: c
|
|
64
|
+
}, [f]);
|
|
65
|
+
export {
|
|
66
|
+
p as e
|
|
67
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { g } from "./index-Sj89RFCY.js";
|
|
2
|
+
import { r as l } from "./markup-templating-CVTxtFGH.js";
|
|
3
|
+
function p(n, a) {
|
|
4
|
+
for (var r = 0; r < a.length; r++) {
|
|
5
|
+
const e = a[r];
|
|
6
|
+
if (typeof e != "string" && !Array.isArray(e)) {
|
|
7
|
+
for (const t in e)
|
|
8
|
+
if (t !== "default" && !(t in n)) {
|
|
9
|
+
const o = Object.getOwnPropertyDescriptor(e, t);
|
|
10
|
+
o && Object.defineProperty(n, t, o.get ? o : {
|
|
11
|
+
enumerable: !0,
|
|
12
|
+
get: () => e[t]
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
|
|
18
|
+
}
|
|
19
|
+
var s, u;
|
|
20
|
+
function c() {
|
|
21
|
+
if (u) return s;
|
|
22
|
+
u = 1;
|
|
23
|
+
var n = l();
|
|
24
|
+
s = a, a.displayName = "ejs", a.aliases = ["eta"];
|
|
25
|
+
function a(r) {
|
|
26
|
+
r.register(n), function(e) {
|
|
27
|
+
e.languages.ejs = {
|
|
28
|
+
delimiter: {
|
|
29
|
+
pattern: /^<%[-_=]?|[-_]?%>$/,
|
|
30
|
+
alias: "punctuation"
|
|
31
|
+
},
|
|
32
|
+
comment: /^#[\s\S]*/,
|
|
33
|
+
"language-javascript": {
|
|
34
|
+
pattern: /[\s\S]+/,
|
|
35
|
+
inside: e.languages.javascript
|
|
36
|
+
}
|
|
37
|
+
}, e.hooks.add("before-tokenize", function(t) {
|
|
38
|
+
var o = /<%(?!%)[\s\S]+?%>/g;
|
|
39
|
+
e.languages["markup-templating"].buildPlaceholders(
|
|
40
|
+
t,
|
|
41
|
+
"ejs",
|
|
42
|
+
o
|
|
43
|
+
);
|
|
44
|
+
}), e.hooks.add("after-tokenize", function(t) {
|
|
45
|
+
e.languages["markup-templating"].tokenizePlaceholders(t, "ejs");
|
|
46
|
+
}), e.languages.eta = e.languages.ejs;
|
|
47
|
+
}(r);
|
|
48
|
+
}
|
|
49
|
+
return s;
|
|
50
|
+
}
|
|
51
|
+
var i = c();
|
|
52
|
+
const f = /* @__PURE__ */ g(i), k = /* @__PURE__ */ p({
|
|
53
|
+
__proto__: null,
|
|
54
|
+
default: f
|
|
55
|
+
}, [i]);
|
|
56
|
+
export {
|
|
57
|
+
k as e
|
|
58
|
+
};
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { g as u } from "./index-Sj89RFCY.js";
|
|
2
|
+
function d(e, r) {
|
|
3
|
+
for (var t = 0; t < r.length; t++) {
|
|
4
|
+
const n = r[t];
|
|
5
|
+
if (typeof n != "string" && !Array.isArray(n)) {
|
|
6
|
+
for (const i in n)
|
|
7
|
+
if (i !== "default" && !(i in e)) {
|
|
8
|
+
const a = Object.getOwnPropertyDescriptor(n, i);
|
|
9
|
+
a && Object.defineProperty(e, i, a.get ? a : {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: () => n[i]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
+
}
|
|
18
|
+
var o, s;
|
|
19
|
+
function c() {
|
|
20
|
+
if (s) return o;
|
|
21
|
+
s = 1, o = e, e.displayName = "elixir", e.aliases = [];
|
|
22
|
+
function e(r) {
|
|
23
|
+
r.languages.elixir = {
|
|
24
|
+
doc: {
|
|
25
|
+
pattern: /@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,
|
|
26
|
+
inside: {
|
|
27
|
+
attribute: /^@\w+/,
|
|
28
|
+
string: /['"][\s\S]+/
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
comment: {
|
|
32
|
+
pattern: /#.*/,
|
|
33
|
+
greedy: !0
|
|
34
|
+
},
|
|
35
|
+
// ~r"""foo""" (multi-line), ~r'''foo''' (multi-line), ~r/foo/, ~r|foo|, ~r"foo", ~r'foo', ~r(foo), ~r[foo], ~r{foo}, ~r<foo>
|
|
36
|
+
regex: {
|
|
37
|
+
pattern: /~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,
|
|
38
|
+
greedy: !0
|
|
39
|
+
},
|
|
40
|
+
string: [
|
|
41
|
+
{
|
|
42
|
+
// ~s"""foo""" (multi-line), ~s'''foo''' (multi-line), ~s/foo/, ~s|foo|, ~s"foo", ~s'foo', ~s(foo), ~s[foo], ~s{foo} (with interpolation care), ~s<foo>
|
|
43
|
+
pattern: /~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,
|
|
44
|
+
greedy: !0,
|
|
45
|
+
inside: {
|
|
46
|
+
// See interpolation below
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
pattern: /("""|''')[\s\S]*?\1/,
|
|
51
|
+
greedy: !0,
|
|
52
|
+
inside: {
|
|
53
|
+
// See interpolation below
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
// Multi-line strings are allowed
|
|
58
|
+
pattern: /("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,
|
|
59
|
+
greedy: !0,
|
|
60
|
+
inside: {
|
|
61
|
+
// See interpolation below
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
atom: {
|
|
66
|
+
// Look-behind prevents bad highlighting of the :: operator
|
|
67
|
+
pattern: /(^|[^:]):\w+/,
|
|
68
|
+
lookbehind: !0,
|
|
69
|
+
alias: "symbol"
|
|
70
|
+
},
|
|
71
|
+
module: {
|
|
72
|
+
pattern: /\b[A-Z]\w*\b/,
|
|
73
|
+
alias: "class-name"
|
|
74
|
+
},
|
|
75
|
+
// Look-ahead prevents bad highlighting of the :: operator
|
|
76
|
+
"attr-name": /\b\w+\??:(?!:)/,
|
|
77
|
+
argument: {
|
|
78
|
+
// Look-behind prevents bad highlighting of the && operator
|
|
79
|
+
pattern: /(^|[^&])&\d+/,
|
|
80
|
+
lookbehind: !0,
|
|
81
|
+
alias: "variable"
|
|
82
|
+
},
|
|
83
|
+
attribute: {
|
|
84
|
+
pattern: /@\w+/,
|
|
85
|
+
alias: "variable"
|
|
86
|
+
},
|
|
87
|
+
function: /\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,
|
|
88
|
+
number: /\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,
|
|
89
|
+
keyword: /\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,
|
|
90
|
+
boolean: /\b(?:false|nil|true)\b/,
|
|
91
|
+
operator: [
|
|
92
|
+
/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,
|
|
93
|
+
{
|
|
94
|
+
// We don't want to match <<
|
|
95
|
+
pattern: /([^<])<(?!<)/,
|
|
96
|
+
lookbehind: !0
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
// We don't want to match >>
|
|
100
|
+
pattern: /([^>])>(?!>)/,
|
|
101
|
+
lookbehind: !0
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
punctuation: /<<|>>|[.,%\[\]{}()]/
|
|
105
|
+
}, r.languages.elixir.string.forEach(function(t) {
|
|
106
|
+
t.inside = {
|
|
107
|
+
interpolation: {
|
|
108
|
+
pattern: /#\{[^}]+\}/,
|
|
109
|
+
inside: {
|
|
110
|
+
delimiter: {
|
|
111
|
+
pattern: /^#\{|\}$/,
|
|
112
|
+
alias: "punctuation"
|
|
113
|
+
},
|
|
114
|
+
rest: r.languages.elixir
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
return o;
|
|
121
|
+
}
|
|
122
|
+
var l = c();
|
|
123
|
+
const p = /* @__PURE__ */ u(l), f = /* @__PURE__ */ d({
|
|
124
|
+
__proto__: null,
|
|
125
|
+
default: p
|
|
126
|
+
}, [l]);
|
|
127
|
+
export {
|
|
128
|
+
f as e
|
|
129
|
+
};
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { g as u } from "./index-Sj89RFCY.js";
|
|
2
|
+
function m(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, s;
|
|
19
|
+
function f() {
|
|
20
|
+
if (s) return i;
|
|
21
|
+
s = 1, i = e, e.displayName = "elm", e.aliases = [];
|
|
22
|
+
function e(a) {
|
|
23
|
+
a.languages.elm = {
|
|
24
|
+
comment: /--.*|\{-[\s\S]*?-\}/,
|
|
25
|
+
char: {
|
|
26
|
+
pattern: /'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,
|
|
27
|
+
greedy: !0
|
|
28
|
+
},
|
|
29
|
+
string: [
|
|
30
|
+
{
|
|
31
|
+
// Multiline strings are wrapped in triple ". Quotes may appear unescaped.
|
|
32
|
+
pattern: /"""[\s\S]*?"""/,
|
|
33
|
+
greedy: !0
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
pattern: /"(?:[^\\"\r\n]|\\.)*"/,
|
|
37
|
+
greedy: !0
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"import-statement": {
|
|
41
|
+
// The imported or hidden names are not included in this import
|
|
42
|
+
// statement. This is because we want to highlight those exactly like
|
|
43
|
+
// we do for the names in the program.
|
|
44
|
+
pattern: /(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,
|
|
45
|
+
lookbehind: !0,
|
|
46
|
+
inside: {
|
|
47
|
+
keyword: /\b(?:as|exposing|import)\b/
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
keyword: /\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,
|
|
51
|
+
// These are builtin variables only. Constructors are highlighted later as a constant.
|
|
52
|
+
builtin: /\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,
|
|
53
|
+
// decimal integers and floating point numbers | hexadecimal integers
|
|
54
|
+
number: /\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,
|
|
55
|
+
// Most of this is needed because of the meaning of a single '.'.
|
|
56
|
+
// If it stands alone freely, it is the function composition.
|
|
57
|
+
// It may also be a separator between a module name and an identifier => no
|
|
58
|
+
// operator. If it comes together with other special characters it is an
|
|
59
|
+
// operator too.
|
|
60
|
+
// Valid operator characters in 0.18: +-/*=.$<>:&|^?%#@~!
|
|
61
|
+
// Ref: https://groups.google.com/forum/#!msg/elm-dev/0AHSnDdkSkQ/E0SVU70JEQAJ
|
|
62
|
+
operator: /\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,
|
|
63
|
+
// In Elm, nearly everything is a variable, do not highlight these.
|
|
64
|
+
hvariable: /\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,
|
|
65
|
+
constant: /\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,
|
|
66
|
+
punctuation: /[{}[\]|(),.:]/
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
return i;
|
|
70
|
+
}
|
|
71
|
+
var l = f();
|
|
72
|
+
const p = /* @__PURE__ */ u(l), b = /* @__PURE__ */ m({
|
|
73
|
+
__proto__: null,
|
|
74
|
+
default: p
|
|
75
|
+
}, [l]);
|
|
76
|
+
export {
|
|
77
|
+
b as e
|
|
78
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { g } from "./index-Sj89RFCY.js";
|
|
2
|
+
import { r as b } from "./ruby-BQlisu6i.js";
|
|
3
|
+
import { r as f } from "./markup-templating-CVTxtFGH.js";
|
|
4
|
+
function p(n, o) {
|
|
5
|
+
for (var t = 0; t < o.length; t++) {
|
|
6
|
+
const r = o[t];
|
|
7
|
+
if (typeof r != "string" && !Array.isArray(r)) {
|
|
8
|
+
for (const e in r)
|
|
9
|
+
if (e !== "default" && !(e in n)) {
|
|
10
|
+
const a = Object.getOwnPropertyDescriptor(r, e);
|
|
11
|
+
a && Object.defineProperty(n, e, a.get ? a : {
|
|
12
|
+
enumerable: !0,
|
|
13
|
+
get: () => r[e]
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
|
|
19
|
+
}
|
|
20
|
+
var u, i;
|
|
21
|
+
function c() {
|
|
22
|
+
if (i) return u;
|
|
23
|
+
i = 1;
|
|
24
|
+
var n = b(), o = f();
|
|
25
|
+
u = t, t.displayName = "erb", t.aliases = [];
|
|
26
|
+
function t(r) {
|
|
27
|
+
r.register(n), r.register(o), function(e) {
|
|
28
|
+
e.languages.erb = {
|
|
29
|
+
delimiter: {
|
|
30
|
+
pattern: /^(\s*)<%=?|%>(?=\s*$)/,
|
|
31
|
+
lookbehind: !0,
|
|
32
|
+
alias: "punctuation"
|
|
33
|
+
},
|
|
34
|
+
ruby: {
|
|
35
|
+
pattern: /\s*\S[\s\S]*/,
|
|
36
|
+
alias: "language-ruby",
|
|
37
|
+
inside: e.languages.ruby
|
|
38
|
+
}
|
|
39
|
+
}, e.hooks.add("before-tokenize", function(a) {
|
|
40
|
+
var l = /<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;
|
|
41
|
+
e.languages["markup-templating"].buildPlaceholders(
|
|
42
|
+
a,
|
|
43
|
+
"erb",
|
|
44
|
+
l
|
|
45
|
+
);
|
|
46
|
+
}), e.hooks.add("after-tokenize", function(a) {
|
|
47
|
+
e.languages["markup-templating"].tokenizePlaceholders(a, "erb");
|
|
48
|
+
});
|
|
49
|
+
}(r);
|
|
50
|
+
}
|
|
51
|
+
return u;
|
|
52
|
+
}
|
|
53
|
+
var s = c();
|
|
54
|
+
const d = /* @__PURE__ */ g(s), v = /* @__PURE__ */ p({
|
|
55
|
+
__proto__: null,
|
|
56
|
+
default: d
|
|
57
|
+
}, [s]);
|
|
58
|
+
export {
|
|
59
|
+
v as e
|
|
60
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { g as b } from "./index-Sj89RFCY.js";
|
|
2
|
+
function s(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, l;
|
|
19
|
+
function d() {
|
|
20
|
+
if (l) return i;
|
|
21
|
+
l = 1, i = e, e.displayName = "erlang", e.aliases = [];
|
|
22
|
+
function e(n) {
|
|
23
|
+
n.languages.erlang = {
|
|
24
|
+
comment: /%.+/,
|
|
25
|
+
string: {
|
|
26
|
+
pattern: /"(?:\\.|[^\\"\r\n])*"/,
|
|
27
|
+
greedy: !0
|
|
28
|
+
},
|
|
29
|
+
"quoted-function": {
|
|
30
|
+
pattern: /'(?:\\.|[^\\'\r\n])+'(?=\()/,
|
|
31
|
+
alias: "function"
|
|
32
|
+
},
|
|
33
|
+
"quoted-atom": {
|
|
34
|
+
pattern: /'(?:\\.|[^\\'\r\n])+'/,
|
|
35
|
+
alias: "atom"
|
|
36
|
+
},
|
|
37
|
+
boolean: /\b(?:false|true)\b/,
|
|
38
|
+
keyword: /\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,
|
|
39
|
+
number: [
|
|
40
|
+
/\$\\?./,
|
|
41
|
+
/\b\d+#[a-z0-9]+/i,
|
|
42
|
+
/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i
|
|
43
|
+
],
|
|
44
|
+
function: /\b[a-z][\w@]*(?=\()/,
|
|
45
|
+
variable: {
|
|
46
|
+
// Look-behind is used to prevent wrong highlighting of atoms containing "@"
|
|
47
|
+
pattern: /(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,
|
|
48
|
+
lookbehind: !0
|
|
49
|
+
},
|
|
50
|
+
operator: [
|
|
51
|
+
/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,
|
|
52
|
+
{
|
|
53
|
+
// We don't want to match <<
|
|
54
|
+
pattern: /(^|[^<])<(?!<)/,
|
|
55
|
+
lookbehind: !0
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
// We don't want to match >>
|
|
59
|
+
pattern: /(^|[^>])>(?!>)/,
|
|
60
|
+
lookbehind: !0
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
atom: /\b[a-z][\w@]*/,
|
|
64
|
+
punctuation: /[()[\]{}:;,.#|]|<<|>>/
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
return i;
|
|
68
|
+
}
|
|
69
|
+
var u = d();
|
|
70
|
+
const f = /* @__PURE__ */ b(u), g = /* @__PURE__ */ s({
|
|
71
|
+
__proto__: null,
|
|
72
|
+
default: f
|
|
73
|
+
}, [u]);
|
|
74
|
+
export {
|
|
75
|
+
g as e
|
|
76
|
+
};
|