@marimo-team/islands 0.13.5-dev11 → 0.13.5-dev13
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/{ConnectedDataExplorerComponent-DGzxt47N.js → ConnectedDataExplorerComponent-RnyF_6QE.js} +214 -214
- package/dist/{VegaLite-D2UNcEXH.js → VegaLite-DcrlokVU.js} +3 -3
- package/dist/{_baseUniq-BwWUFPup.js → _baseUniq-D0mnKfEB.js} +73 -73
- package/dist/any-language-editor-WRjGL4ZO.js +45 -0
- package/dist/{architectureDiagram-IEHRJDOE-BMC3m5gO.js → architectureDiagram-IEHRJDOE-DFf6T8zp.js} +5 -5
- package/dist/{blockDiagram-JOT3LUYC-CODoduIV.js → blockDiagram-JOT3LUYC-C7IFiHze.js} +4 -4
- package/dist/{c4Diagram-VJAJSXHY-C0PDy0vf.js → c4Diagram-VJAJSXHY-DN_wmwrk.js} +2 -2
- package/dist/{channel-C8CcO-8_.js → channel-B2O7YrZR.js} +1 -1
- package/dist/{chunk-4BMEZGHF-DHZttL4z.js → chunk-4BMEZGHF-DQFQWmiU.js} +1 -1
- package/dist/{chunk-A2AXSNBT-DRIIc_AX.js → chunk-A2AXSNBT-B84LlTOs.js} +2 -2
- package/dist/{chunk-AEK57VVT-BlEOcXFy.js → chunk-AEK57VVT-BxAlRItw.js} +2 -2
- package/dist/{chunk-D6G4REZN-B0b3V4XZ.js → chunk-D6G4REZN-w-tkABTk.js} +1 -1
- package/dist/{chunk-RZ5BOZE2-CDlRkOFA.js → chunk-RZ5BOZE2-_srVsntT.js} +1 -1
- package/dist/{chunk-XZIHB7SX-CcTbZQaS.js → chunk-XZIHB7SX-PfuVv339.js} +1 -1
- package/dist/{classDiagram-GIVACNV2-DTN4b3-O.js → classDiagram-GIVACNV2-MPsaV8dC.js} +2 -2
- package/dist/{classDiagram-v2-COTLJTTW-DTN4b3-O.js → classDiagram-v2-COTLJTTW-MPsaV8dC.js} +2 -2
- package/dist/{clone-ybASJB3k.js → clone-D5QTTO5j.js} +1 -1
- package/dist/{dagre-OKDRZEBW-BSI6cQk6.js → dagre-OKDRZEBW-BhAuQCRV.js} +6 -6
- package/dist/{data-editor-DMOunklv.js → data-editor-DD7nPSAl.js} +1 -1
- package/dist/{diagram-SSKATNLV-DfZlJP-n.js → diagram-SSKATNLV-7o4GbHxi.js} +3 -3
- package/dist/{diagram-VNBRO52H-CxCCdhVZ.js → diagram-VNBRO52H-C1OBfS0s.js} +3 -3
- package/dist/{erDiagram-Q7BY3M3F-Dc4W833h.js → erDiagram-Q7BY3M3F-Cu9FFxLn.js} +3 -3
- package/dist/{flowDiagram-4HSFHLVR-D9yxPQsa.js → flowDiagram-4HSFHLVR-DgB0406w.js} +3 -3
- package/dist/{ganttDiagram-APWFNJXF-BVSpxqqk.js → ganttDiagram-APWFNJXF-DnIEfKrc.js} +23 -23
- package/dist/{gitGraphDiagram-7IBYFJ6S-DLYM6i45.js → gitGraphDiagram-7IBYFJ6S-CTuVKNco.js} +4 -4
- package/dist/{graph-COKKwwSB.js → graph-BqCAzm60.js} +6 -6
- package/dist/{index-COl3mLGt.js → index-CjfMIwTR.js} +21 -21
- package/dist/{index-Po2EutVS.js → index-CvfgWMPH.js} +1 -1
- package/dist/{index-DbIHdpyi.js → index-DXciNDf5.js} +3 -3
- package/dist/{index-YwfZmGCW.js → index-uMw2siya.js} +1 -1
- package/dist/{infoDiagram-PH2N3AL5-CxwHJkxr.js → infoDiagram-PH2N3AL5-Dgjh536N.js} +2 -2
- package/dist/{journeyDiagram-U35MCT3I-DD22yOto.js → journeyDiagram-U35MCT3I-BqmZB3RC.js} +2 -2
- package/dist/{kanban-definition-NDS4AKOZ-B3Z-1oe5.js → kanban-definition-NDS4AKOZ-Dd07zOC6.js} +1 -1
- package/dist/{layout-jlZkuoZy.js → layout-BXK4CGcl.js} +48 -48
- package/dist/{linear-Cpyhk2hB.js → linear-CA66uGUw.js} +75 -75
- package/dist/{main-B8-MjWsg.js → main-DZFafsBV.js} +72774 -54918
- package/dist/main.js +2 -2
- package/dist/{mermaid-CHeWOMVQ.js → mermaid-B8bjfF6s.js} +28 -28
- package/dist/{min-BZ3EZsKE.js → min-eHKNnl-H.js} +23 -23
- package/dist/{mindmap-definition-ALO5MXBD-HeoZGbgD.js → mindmap-definition-ALO5MXBD-Cb2u85Oh.js} +2 -2
- package/dist/{pieDiagram-IB7DONF6-DHwJJ0Ej.js → pieDiagram-IB7DONF6-VSMSF0Yy.js} +3 -3
- package/dist/{quadrantDiagram-7GDLP6J5-nuemB1W-.js → quadrantDiagram-7GDLP6J5-usra7ail.js} +2 -2
- package/dist/{radar-MK3ICKWK-CJigR5qH.js → radar-MK3ICKWK-NOqHyVz_.js} +5 -5
- package/dist/{react-plotly-DKVXryZb.js → react-plotly-IEG2Gg1b.js} +1 -1
- package/dist/{requirementDiagram-KVF5MWMF-KSufhrz_.js → requirementDiagram-KVF5MWMF-s4Jijcm0.js} +2 -2
- package/dist/{sankeyDiagram-QLVOVGJD-ChCkdCa9.js → sankeyDiagram-QLVOVGJD-argmnqYQ.js} +1 -1
- package/dist/{sequenceDiagram-X6HHIX6F-BjkRbxpj.js → sequenceDiagram-X6HHIX6F-DonkstWN.js} +3 -3
- package/dist/{slides-component-B9fq17O7.js → slides-component-C_tCR6hy.js} +25 -25
- package/dist/{stateDiagram-DGXRK772-DqoOhvP5.js → stateDiagram-DGXRK772-CGhxSe6j.js} +4 -4
- package/dist/{stateDiagram-v2-YXO3MK2T-BAgEIEBw.js → stateDiagram-v2-YXO3MK2T-CUcbK6Oi.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/{time-yaJ8gWNG.js → time-D53ulJkT.js} +2 -2
- package/dist/{timeline-definition-BDJGKUSR-BMiBQE_M.js → timeline-definition-BDJGKUSR-DMb2utEG.js} +1 -1
- package/dist/{vega-component-DqlxF-sC.js → vega-component-Ck6MGsXc.js} +22 -22
- package/dist/{xychartDiagram-VJFVF3MP-BL4J8grT.js → xychartDiagram-VJFVF3MP-CTNPAD0E.js} +2 -2
- package/package.json +1 -1
- package/dist/any-language-editor-BoGk6VPl.js +0 -2304
- package/dist/apl-B2DGVGxc.js +0 -76
- package/dist/asciiarmor-2LVJmxlE.js +0 -34
- package/dist/asterisk-DS281yxp.js +0 -271
- package/dist/brainfuck-C_p9pTT8.js +0 -34
- package/dist/clike-BUuHEmgZ.js +0 -620
- package/dist/cmake-CuaCgAKt.js +0 -28
- package/dist/cobol-BlTKFDRj.js +0 -72
- package/dist/coffeescript-BVCvwO8I.js +0 -179
- package/dist/commonlisp-D_kxz07b.js +0 -75
- package/dist/crystal-D309uH6_.js +0 -217
- package/dist/cypher-BMq4Fwjl.js +0 -68
- package/dist/d-BZcgY6La.js +0 -127
- package/dist/diff-Cg9d_RX2.js +0 -18
- package/dist/dockerfile-DIy8NleC.js +0 -194
- package/dist/dtd-CtLokQ-U.js +0 -84
- package/dist/dylan-QYeExnWK.js +0 -234
- package/dist/ebnf-DUPDuY4r.js +0 -78
- package/dist/ecl-CiXN-g_D.js +0 -121
- package/dist/eiffel-yQhjl4T1.js +0 -110
- package/dist/elm-CNT9vbN0.js +0 -108
- package/dist/erlang-CFOYdy9e.js +0 -487
- package/dist/factor-DDOC7X6P.js +0 -65
- package/dist/fcl-CPC2WYrI.js +0 -103
- package/dist/forth-BmxRyE9S.js +0 -60
- package/dist/fortran-9bvPyrOW.js +0 -442
- package/dist/gas-BdfkXJT_.js +0 -183
- package/dist/gherkin-CJuwpceU.js +0 -34
- package/dist/groovy-DZeT_VM-.js +0 -146
- package/dist/haskell-Bvt3Qq1t.js +0 -375
- package/dist/haxe-70NVW1pR.js +0 -359
- package/dist/http-D9LttvKF.js +0 -44
- package/dist/idl-B6TRFYjl.js +0 -947
- package/dist/index-5AINTTUB.js +0 -155
- package/dist/index-BWjLWCJ6.js +0 -264
- package/dist/index-Bcoyxaps.js +0 -74
- package/dist/index-CERpQ76K.js +0 -134
- package/dist/index-CUc0YtKu.js +0 -57
- package/dist/index-CiTLcl0V.js +0 -243
- package/dist/index-Co7yojm-.js +0 -271
- package/dist/index-CodrF23c.js +0 -133
- package/dist/index-D58l8ic5.js +0 -92
- package/dist/index-DdRXgbmZ.js +0 -97
- package/dist/index-DzEmkK9B.js +0 -298
- package/dist/index-gXJGBs4l.js +0 -68
- package/dist/jinja2-DnB6dQmV.js +0 -154
- package/dist/julia-DpvXAuO6.js +0 -241
- package/dist/livescript-CanGTf8u.js +0 -272
- package/dist/lua-XplVlWi_.js +0 -217
- package/dist/mathematica-jaRHnSxC.js +0 -35
- package/dist/mbox-BctzC1hL.js +0 -76
- package/dist/mirc-CFBPAOaF.js +0 -72
- package/dist/modelica-vUgVs--1.js +0 -93
- package/dist/mscgen-Cpl0NYLN.js +0 -104
- package/dist/mumps-CQoS1kWX.js +0 -25
- package/dist/nginx-zDPm3Z74.js +0 -89
- package/dist/nsis-fePjrhq7.js +0 -62
- package/dist/ntriples-CsNjv2QF.js +0 -79
- package/dist/octave-C8PmmSRH.js +0 -143
- package/dist/oz-Ce8aN8oE.js +0 -151
- package/dist/pascal-De0D6mP7.js +0 -77
- package/dist/perl-B4bSCe1C.js +0 -915
- package/dist/pig-D24Z8EXi.js +0 -54
- package/dist/powershell-DkYVfTzP.js +0 -249
- package/dist/properties-Dn9wna3M.js +0 -26
- package/dist/protobuf-BPIjwpzm.js +0 -49
- package/dist/puppet-nyd4dhjf.js +0 -45
- package/dist/q-DXjKs-tC.js +0 -83
- package/dist/r-LKEuhEGI.js +0 -104
- package/dist/ruby-CcYfvIk6.js +0 -228
- package/dist/sas-7E8yHoCW.js +0 -105
- package/dist/scheme-DjibxsNh.js +0 -124
- package/dist/shell-C0C2sNA_.js +0 -182
- package/dist/sieve-Bwz7vjP5.js +0 -72
- package/dist/simple-mode-B0dvCdAA.js +0 -89
- package/dist/smalltalk-Bhddl2pB.js +0 -48
- package/dist/solr-BNlsLglM.js +0 -41
- package/dist/sparql-FarWu_Gb.js +0 -197
- package/dist/spreadsheet-C-cy4P5N.js +0 -49
- package/dist/stylus-CAdqWld3.js +0 -250
- package/dist/swift-DSxqR9R6.js +0 -230
- package/dist/tcl-xfoLljhY.js +0 -81
- package/dist/textile-D1AWE-pc.js +0 -295
- package/dist/tiddlywiki-5wqsXtSk.js +0 -155
- package/dist/tiki-__Kn3CeS.js +0 -181
- package/dist/toml-BHiuTcfn.js +0 -49
- package/dist/troff-D2UO-fKf.js +0 -35
- package/dist/ttcn-Bsa4sfRm.js +0 -123
- package/dist/turtle-xwJUxoPV.js +0 -80
- package/dist/vb-c2kQGd6-.js +0 -74
- package/dist/vbscript-Dz1TtKsy.js +0 -324
- package/dist/velocity-DJd0pTTC.js +0 -96
- package/dist/verilog-C4VGD9n1.js +0 -263
- package/dist/vhdl-T9HkrbI2.js +0 -106
- package/dist/webidl-CjfDENEo.js +0 -155
- package/dist/xquery-BUQdORAS.js +0 -422
- package/dist/yacas-C0absKBh.js +0 -73
- package/dist/z80-C8rPtw-0.js +0 -61
package/dist/lua-XplVlWi_.js
DELETED
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
function c(e) {
|
|
2
|
-
return new RegExp("^(?:" + e.join("|") + ")", "i");
|
|
3
|
-
}
|
|
4
|
-
function o(e) {
|
|
5
|
-
return new RegExp("^(?:" + e.join("|") + ")$", "i");
|
|
6
|
-
}
|
|
7
|
-
var d = o([
|
|
8
|
-
"_G",
|
|
9
|
-
"_VERSION",
|
|
10
|
-
"assert",
|
|
11
|
-
"collectgarbage",
|
|
12
|
-
"dofile",
|
|
13
|
-
"error",
|
|
14
|
-
"getfenv",
|
|
15
|
-
"getmetatable",
|
|
16
|
-
"ipairs",
|
|
17
|
-
"load",
|
|
18
|
-
"loadfile",
|
|
19
|
-
"loadstring",
|
|
20
|
-
"module",
|
|
21
|
-
"next",
|
|
22
|
-
"pairs",
|
|
23
|
-
"pcall",
|
|
24
|
-
"print",
|
|
25
|
-
"rawequal",
|
|
26
|
-
"rawget",
|
|
27
|
-
"rawset",
|
|
28
|
-
"require",
|
|
29
|
-
"select",
|
|
30
|
-
"setfenv",
|
|
31
|
-
"setmetatable",
|
|
32
|
-
"tonumber",
|
|
33
|
-
"tostring",
|
|
34
|
-
"type",
|
|
35
|
-
"unpack",
|
|
36
|
-
"xpcall",
|
|
37
|
-
"coroutine.create",
|
|
38
|
-
"coroutine.resume",
|
|
39
|
-
"coroutine.running",
|
|
40
|
-
"coroutine.status",
|
|
41
|
-
"coroutine.wrap",
|
|
42
|
-
"coroutine.yield",
|
|
43
|
-
"debug.debug",
|
|
44
|
-
"debug.getfenv",
|
|
45
|
-
"debug.gethook",
|
|
46
|
-
"debug.getinfo",
|
|
47
|
-
"debug.getlocal",
|
|
48
|
-
"debug.getmetatable",
|
|
49
|
-
"debug.getregistry",
|
|
50
|
-
"debug.getupvalue",
|
|
51
|
-
"debug.setfenv",
|
|
52
|
-
"debug.sethook",
|
|
53
|
-
"debug.setlocal",
|
|
54
|
-
"debug.setmetatable",
|
|
55
|
-
"debug.setupvalue",
|
|
56
|
-
"debug.traceback",
|
|
57
|
-
"close",
|
|
58
|
-
"flush",
|
|
59
|
-
"lines",
|
|
60
|
-
"read",
|
|
61
|
-
"seek",
|
|
62
|
-
"setvbuf",
|
|
63
|
-
"write",
|
|
64
|
-
"io.close",
|
|
65
|
-
"io.flush",
|
|
66
|
-
"io.input",
|
|
67
|
-
"io.lines",
|
|
68
|
-
"io.open",
|
|
69
|
-
"io.output",
|
|
70
|
-
"io.popen",
|
|
71
|
-
"io.read",
|
|
72
|
-
"io.stderr",
|
|
73
|
-
"io.stdin",
|
|
74
|
-
"io.stdout",
|
|
75
|
-
"io.tmpfile",
|
|
76
|
-
"io.type",
|
|
77
|
-
"io.write",
|
|
78
|
-
"math.abs",
|
|
79
|
-
"math.acos",
|
|
80
|
-
"math.asin",
|
|
81
|
-
"math.atan",
|
|
82
|
-
"math.atan2",
|
|
83
|
-
"math.ceil",
|
|
84
|
-
"math.cos",
|
|
85
|
-
"math.cosh",
|
|
86
|
-
"math.deg",
|
|
87
|
-
"math.exp",
|
|
88
|
-
"math.floor",
|
|
89
|
-
"math.fmod",
|
|
90
|
-
"math.frexp",
|
|
91
|
-
"math.huge",
|
|
92
|
-
"math.ldexp",
|
|
93
|
-
"math.log",
|
|
94
|
-
"math.log10",
|
|
95
|
-
"math.max",
|
|
96
|
-
"math.min",
|
|
97
|
-
"math.modf",
|
|
98
|
-
"math.pi",
|
|
99
|
-
"math.pow",
|
|
100
|
-
"math.rad",
|
|
101
|
-
"math.random",
|
|
102
|
-
"math.randomseed",
|
|
103
|
-
"math.sin",
|
|
104
|
-
"math.sinh",
|
|
105
|
-
"math.sqrt",
|
|
106
|
-
"math.tan",
|
|
107
|
-
"math.tanh",
|
|
108
|
-
"os.clock",
|
|
109
|
-
"os.date",
|
|
110
|
-
"os.difftime",
|
|
111
|
-
"os.execute",
|
|
112
|
-
"os.exit",
|
|
113
|
-
"os.getenv",
|
|
114
|
-
"os.remove",
|
|
115
|
-
"os.rename",
|
|
116
|
-
"os.setlocale",
|
|
117
|
-
"os.time",
|
|
118
|
-
"os.tmpname",
|
|
119
|
-
"package.cpath",
|
|
120
|
-
"package.loaded",
|
|
121
|
-
"package.loaders",
|
|
122
|
-
"package.loadlib",
|
|
123
|
-
"package.path",
|
|
124
|
-
"package.preload",
|
|
125
|
-
"package.seeall",
|
|
126
|
-
"string.byte",
|
|
127
|
-
"string.char",
|
|
128
|
-
"string.dump",
|
|
129
|
-
"string.find",
|
|
130
|
-
"string.format",
|
|
131
|
-
"string.gmatch",
|
|
132
|
-
"string.gsub",
|
|
133
|
-
"string.len",
|
|
134
|
-
"string.lower",
|
|
135
|
-
"string.match",
|
|
136
|
-
"string.rep",
|
|
137
|
-
"string.reverse",
|
|
138
|
-
"string.sub",
|
|
139
|
-
"string.upper",
|
|
140
|
-
"table.concat",
|
|
141
|
-
"table.insert",
|
|
142
|
-
"table.maxn",
|
|
143
|
-
"table.remove",
|
|
144
|
-
"table.sort"
|
|
145
|
-
]), g = o([
|
|
146
|
-
"and",
|
|
147
|
-
"break",
|
|
148
|
-
"elseif",
|
|
149
|
-
"false",
|
|
150
|
-
"nil",
|
|
151
|
-
"not",
|
|
152
|
-
"or",
|
|
153
|
-
"return",
|
|
154
|
-
"true",
|
|
155
|
-
"function",
|
|
156
|
-
"end",
|
|
157
|
-
"if",
|
|
158
|
-
"then",
|
|
159
|
-
"else",
|
|
160
|
-
"do",
|
|
161
|
-
"while",
|
|
162
|
-
"repeat",
|
|
163
|
-
"until",
|
|
164
|
-
"for",
|
|
165
|
-
"in",
|
|
166
|
-
"local"
|
|
167
|
-
]), f = o(["function", "if", "repeat", "do", "\\(", "{"]), h = o(["end", "until", "\\)", "}"]), p = c(["end", "until", "\\)", "}", "else", "elseif"]);
|
|
168
|
-
function u(e) {
|
|
169
|
-
for (var t = 0; e.eat("="); ) ++t;
|
|
170
|
-
return e.eat("["), t;
|
|
171
|
-
}
|
|
172
|
-
function l(e, t) {
|
|
173
|
-
var n = e.next();
|
|
174
|
-
return n == "-" && e.eat("-") ? e.eat("[") && e.eat("[") ? (t.cur = s(u(e), "comment"))(e, t) : (e.skipToEnd(), "comment") : n == '"' || n == "'" ? (t.cur = m(n))(e, t) : n == "[" && /[\[=]/.test(e.peek()) ? (t.cur = s(u(e), "string"))(e, t) : /\d/.test(n) ? (e.eatWhile(/[\w.%]/), "number") : /[\w_]/.test(n) ? (e.eatWhile(/[\w\\\-_.]/), "variable") : null;
|
|
175
|
-
}
|
|
176
|
-
function s(e, t) {
|
|
177
|
-
return function(n, i) {
|
|
178
|
-
for (var a = null, r; (r = n.next()) != null; )
|
|
179
|
-
if (a == null)
|
|
180
|
-
r == "]" && (a = 0);
|
|
181
|
-
else if (r == "=") ++a;
|
|
182
|
-
else if (r == "]" && a == e) {
|
|
183
|
-
i.cur = l;
|
|
184
|
-
break;
|
|
185
|
-
} else a = null;
|
|
186
|
-
return t;
|
|
187
|
-
};
|
|
188
|
-
}
|
|
189
|
-
function m(e) {
|
|
190
|
-
return function(t, n) {
|
|
191
|
-
for (var i = !1, a; (a = t.next()) != null && !(a == e && !i); )
|
|
192
|
-
i = !i && a == "\\";
|
|
193
|
-
return i || (n.cur = l), "string";
|
|
194
|
-
};
|
|
195
|
-
}
|
|
196
|
-
const b = {
|
|
197
|
-
name: "lua",
|
|
198
|
-
startState: function() {
|
|
199
|
-
return { basecol: 0, indentDepth: 0, cur: l };
|
|
200
|
-
},
|
|
201
|
-
token: function(e, t) {
|
|
202
|
-
if (e.eatSpace()) return null;
|
|
203
|
-
var n = t.cur(e, t), i = e.current();
|
|
204
|
-
return n == "variable" && (g.test(i) ? n = "keyword" : d.test(i) && (n = "builtin")), n != "comment" && n != "string" && (f.test(i) ? ++t.indentDepth : h.test(i) && --t.indentDepth), n;
|
|
205
|
-
},
|
|
206
|
-
indent: function(e, t, n) {
|
|
207
|
-
var i = p.test(t);
|
|
208
|
-
return e.basecol + n.unit * (e.indentDepth - (i ? 1 : 0));
|
|
209
|
-
},
|
|
210
|
-
languageData: {
|
|
211
|
-
indentOnInput: /^\s*(?:end|until|else|\)|\})$/,
|
|
212
|
-
commentTokens: { line: "--", block: { open: "--[[", close: "]]--" } }
|
|
213
|
-
}
|
|
214
|
-
};
|
|
215
|
-
export {
|
|
216
|
-
b as lua
|
|
217
|
-
};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
var u = "[a-zA-Z\\$][a-zA-Z0-9\\$]*", f = "(?:\\d+)", c = "(?:\\.\\d+|\\d+\\.\\d*|\\d+)", o = "(?:\\.\\w+|\\w+\\.\\w*|\\w+)", l = "(?:`(?:`?" + c + ")?)", z = new RegExp("(?:" + f + "(?:\\^\\^" + o + l + "?(?:\\*\\^[+-]?\\d+)?))"), m = new RegExp("(?:" + c + l + "?(?:\\*\\^[+-]?\\d+)?)"), A = new RegExp("(?:`?)(?:" + u + ")(?:`(?:" + u + "))*(?:`?)");
|
|
2
|
-
function i(e, a) {
|
|
3
|
-
var n;
|
|
4
|
-
return n = e.next(), n === '"' ? (a.tokenize = Z, a.tokenize(e, a)) : n === "(" && e.eat("*") ? (a.commentLevel++, a.tokenize = $, a.tokenize(e, a)) : (e.backUp(1), e.match(z, !0, !1) || e.match(m, !0, !1) ? "number" : e.match(/(?:In|Out)\[[0-9]*\]/, !0, !1) ? "atom" : e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*(?:`[a-zA-Z0-9\$]+)*::usage)/, !0, !1) ? "meta" : e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*(?:`[a-zA-Z0-9\$]+)*::[a-zA-Z\$][a-zA-Z0-9\$]*):?/, !0, !1) ? "string.special" : e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*\s*:)(?:(?:[a-zA-Z\$][a-zA-Z0-9\$]*)|(?:[^:=>~@\^\&\*\)\[\]'\?,\|])).*/, !0, !1) || e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+[a-zA-Z\$][a-zA-Z0-9\$]*/, !0, !1) || e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+/, !0, !1) || e.match(/_+[a-zA-Z\$][a-zA-Z0-9\$]*/, !0, !1) ? "variableName.special" : e.match(/\\\[[a-zA-Z\$][a-zA-Z0-9\$]*\]/, !0, !1) ? "character" : e.match(/(?:\[|\]|{|}|\(|\))/, !0, !1) ? "bracket" : e.match(/(?:#[a-zA-Z\$][a-zA-Z0-9\$]*|#+[0-9]?)/, !0, !1) ? "variableName.constant" : e.match(A, !0, !1) ? "keyword" : e.match(/(?:\\|\+|\-|\*|\/|,|;|\.|:|@|~|=|>|<|&|\||_|`|'|\^|\?|!|%)/, !0, !1) ? "operator" : (e.next(), "error"));
|
|
5
|
-
}
|
|
6
|
-
function Z(e, a) {
|
|
7
|
-
for (var n, r = !1, t = !1; (n = e.next()) != null; ) {
|
|
8
|
-
if (n === '"' && !t) {
|
|
9
|
-
r = !0;
|
|
10
|
-
break;
|
|
11
|
-
}
|
|
12
|
-
t = !t && n === "\\";
|
|
13
|
-
}
|
|
14
|
-
return r && !t && (a.tokenize = i), "string";
|
|
15
|
-
}
|
|
16
|
-
function $(e, a) {
|
|
17
|
-
for (var n, r; a.commentLevel > 0 && (r = e.next()) != null; )
|
|
18
|
-
n === "(" && r === "*" && a.commentLevel++, n === "*" && r === ")" && a.commentLevel--, n = r;
|
|
19
|
-
return a.commentLevel <= 0 && (a.tokenize = i), "comment";
|
|
20
|
-
}
|
|
21
|
-
const v = {
|
|
22
|
-
name: "mathematica",
|
|
23
|
-
startState: function() {
|
|
24
|
-
return { tokenize: i, commentLevel: 0 };
|
|
25
|
-
},
|
|
26
|
-
token: function(e, a) {
|
|
27
|
-
return e.eatSpace() ? null : a.tokenize(e, a);
|
|
28
|
-
},
|
|
29
|
-
languageData: {
|
|
30
|
-
commentTokens: { block: { open: "(*", close: "*)" } }
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
export {
|
|
34
|
-
v as mathematica
|
|
35
|
-
};
|
package/dist/mbox-BctzC1hL.js
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
var o = [
|
|
2
|
-
"From",
|
|
3
|
-
"Sender",
|
|
4
|
-
"Reply-To",
|
|
5
|
-
"To",
|
|
6
|
-
"Cc",
|
|
7
|
-
"Bcc",
|
|
8
|
-
"Message-ID",
|
|
9
|
-
"In-Reply-To",
|
|
10
|
-
"References",
|
|
11
|
-
"Resent-From",
|
|
12
|
-
"Resent-Sender",
|
|
13
|
-
"Resent-To",
|
|
14
|
-
"Resent-Cc",
|
|
15
|
-
"Resent-Bcc",
|
|
16
|
-
"Resent-Message-ID",
|
|
17
|
-
"Return-Path",
|
|
18
|
-
"Received"
|
|
19
|
-
], l = [
|
|
20
|
-
"Date",
|
|
21
|
-
"Subject",
|
|
22
|
-
"Comments",
|
|
23
|
-
"Keywords",
|
|
24
|
-
"Resent-Date"
|
|
25
|
-
], u = /^[ \t]/, d = /^From /, f = new RegExp("^(" + o.join("|") + "): "), c = new RegExp("^(" + l.join("|") + "): "), t = /^[^:]+:/, m = /^[^ ]+@[^ ]+/, p = /^.*?(?=[^ ]+?@[^ ]+)/, H = /^<.*?>/, v = /^.*?(?=<.*>)/;
|
|
26
|
-
function h(e) {
|
|
27
|
-
return e === "Subject" ? "header" : "string";
|
|
28
|
-
}
|
|
29
|
-
function R(e, r) {
|
|
30
|
-
if (e.sol()) {
|
|
31
|
-
if (r.inSeparator = !1, r.inHeader && e.match(u))
|
|
32
|
-
return null;
|
|
33
|
-
if (r.inHeader = !1, r.header = null, e.match(d))
|
|
34
|
-
return r.inHeaders = !0, r.inSeparator = !0, "atom";
|
|
35
|
-
var n, i = !1;
|
|
36
|
-
return (n = e.match(c)) || (i = !0) && (n = e.match(f)) ? (r.inHeaders = !0, r.inHeader = !0, r.emailPermitted = i, r.header = n[1], "atom") : r.inHeaders && (n = e.match(t)) ? (r.inHeader = !0, r.emailPermitted = !0, r.header = n[1], "atom") : (r.inHeaders = !1, e.skipToEnd(), null);
|
|
37
|
-
}
|
|
38
|
-
if (r.inSeparator)
|
|
39
|
-
return e.match(m) ? "link" : (e.match(p) || e.skipToEnd(), "atom");
|
|
40
|
-
if (r.inHeader) {
|
|
41
|
-
var a = h(r.header);
|
|
42
|
-
if (r.emailPermitted) {
|
|
43
|
-
if (e.match(H)) return a + " link";
|
|
44
|
-
if (e.match(v)) return a;
|
|
45
|
-
}
|
|
46
|
-
return e.skipToEnd(), a;
|
|
47
|
-
}
|
|
48
|
-
return e.skipToEnd(), null;
|
|
49
|
-
}
|
|
50
|
-
const k = {
|
|
51
|
-
name: "mbox",
|
|
52
|
-
startState: function() {
|
|
53
|
-
return {
|
|
54
|
-
// Is in a mbox separator
|
|
55
|
-
inSeparator: !1,
|
|
56
|
-
// Is in a mail header
|
|
57
|
-
inHeader: !1,
|
|
58
|
-
// If bracketed email is permitted. Only applicable when inHeader
|
|
59
|
-
emailPermitted: !1,
|
|
60
|
-
// Name of current header
|
|
61
|
-
header: null,
|
|
62
|
-
// Is in a region of mail headers
|
|
63
|
-
inHeaders: !1
|
|
64
|
-
};
|
|
65
|
-
},
|
|
66
|
-
token: R,
|
|
67
|
-
blankLine: function(e) {
|
|
68
|
-
e.inHeaders = e.inSeparator = e.inHeader = !1;
|
|
69
|
-
},
|
|
70
|
-
languageData: {
|
|
71
|
-
autocomplete: o.concat(l)
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
export {
|
|
75
|
-
k as mbox
|
|
76
|
-
};
|
package/dist/mirc-CFBPAOaF.js
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
function n(e) {
|
|
2
|
-
for (var $ = {}, r = e.split(" "), i = 0; i < r.length; ++i) $[r[i]] = !0;
|
|
3
|
-
return $;
|
|
4
|
-
}
|
|
5
|
-
var a = n("$! $$ $& $? $+ $abook $abs $active $activecid $activewid $address $addtok $agent $agentname $agentstat $agentver $alias $and $anick $ansi2mirc $aop $appactive $appstate $asc $asctime $asin $atan $avoice $away $awaymsg $awaytime $banmask $base $bfind $binoff $biton $bnick $bvar $bytes $calc $cb $cd $ceil $chan $chanmodes $chantypes $chat $chr $cid $clevel $click $cmdbox $cmdline $cnick $color $com $comcall $comchan $comerr $compact $compress $comval $cos $count $cr $crc $creq $crlf $ctime $ctimer $ctrlenter $date $day $daylight $dbuh $dbuw $dccignore $dccport $dde $ddename $debug $decode $decompress $deltok $devent $dialog $did $didreg $didtok $didwm $disk $dlevel $dll $dllcall $dname $dns $duration $ebeeps $editbox $emailaddr $encode $error $eval $event $exist $feof $ferr $fgetc $file $filename $filtered $finddir $finddirn $findfile $findfilen $findtok $fline $floor $fopen $fread $fserve $fulladdress $fulldate $fullname $fullscreen $get $getdir $getdot $gettok $gmt $group $halted $hash $height $hfind $hget $highlight $hnick $hotline $hotlinepos $ial $ialchan $ibl $idle $iel $ifmatch $ignore $iif $iil $inelipse $ini $inmidi $inpaste $inpoly $input $inrect $inroundrect $insong $instok $int $inwave $ip $isalias $isbit $isdde $isdir $isfile $isid $islower $istok $isupper $keychar $keyrpt $keyval $knick $lactive $lactivecid $lactivewid $left $len $level $lf $line $lines $link $lock $lock $locked $log $logstamp $logstampfmt $longfn $longip $lower $ltimer $maddress $mask $matchkey $matchtok $md5 $me $menu $menubar $menucontext $menutype $mid $middir $mircdir $mircexe $mircini $mklogfn $mnick $mode $modefirst $modelast $modespl $mouse $msfile $network $newnick $nick $nofile $nopath $noqt $not $notags $notify $null $numeric $numok $oline $onpoly $opnick $or $ord $os $passivedcc $pic $play $pnick $port $portable $portfree $pos $prefix $prop $protect $puttok $qt $query $rand $r $rawmsg $read $readomo $readn $regex $regml $regsub $regsubex $remove $remtok $replace $replacex $reptok $result $rgb $right $round $scid $scon $script $scriptdir $scriptline $sdir $send $server $serverip $sfile $sha1 $shortfn $show $signal $sin $site $sline $snick $snicks $snotify $sock $sockbr $sockerr $sockname $sorttok $sound $sqrt $ssl $sreq $sslready $status $strip $str $stripped $syle $submenu $switchbar $tan $target $ticks $time $timer $timestamp $timestampfmt $timezone $tip $titlebar $toolbar $treebar $trust $ulevel $ulist $upper $uptime $url $usermode $v1 $v2 $var $vcmd $vcmdstat $vcmdver $version $vnick $vol $wid $width $wildsite $wildtok $window $wrap $xor"), s = n("abook ajinvite alias aline ame amsg anick aop auser autojoin avoice away background ban bcopy beep bread break breplace bset btrunc bunset bwrite channel clear clearall cline clipboard close cnick color comclose comopen comreg continue copy creq ctcpreply ctcps dcc dccserver dde ddeserver debug dec describe dialog did didtok disable disconnect dlevel dline dll dns dqwindow drawcopy drawdot drawfill drawline drawpic drawrect drawreplace drawrot drawsave drawscroll drawtext ebeeps echo editbox emailaddr enable events exit fclose filter findtext finger firewall flash flist flood flush flushini font fopen fseek fsend fserve fullname fwrite ghide gload gmove gopts goto gplay gpoint gqreq groups gshow gsize gstop gtalk gunload hadd halt haltdef hdec hdel help hfree hinc hload hmake hop hsave ial ialclear ialmark identd if ignore iline inc invite iuser join kick linesep links list load loadbuf localinfo log mdi me menubar mkdir mnick mode msg nick noop notice notify omsg onotice part partall pdcc perform play playctrl pop protect pvoice qme qmsg query queryn quit raw reload remini remote remove rename renwin reseterror resetidle return rlevel rline rmdir run ruser save savebuf saveini say scid scon server set showmirc signam sline sockaccept sockclose socklist socklisten sockmark sockopen sockpause sockread sockrename sockudp sockwrite sound speak splay sreq strip switchbar timer timestamp titlebar tnick tokenize toolbar topic tray treebar ulist unload unset unsetall updatenl url uwho var vcadd vcmd vcrem vol while whois window winhelp write writeint if isalnum isalpha isaop isavoice isban ischan ishop isignore isin isincs isletter islower isnotify isnum ison isop isprotect isreg isupper isvoice iswm iswmcs elseif else goto menu nicklist status title icon size option text edit button check radio box scroll list combo link tab item"), l = n("if elseif else and not or eq ne in ni for foreach while switch"), c = /[+\-*&%=<>!?^\/\|]/;
|
|
6
|
-
function d(e, $, r) {
|
|
7
|
-
return $.tokenize = r, r(e, $);
|
|
8
|
-
}
|
|
9
|
-
function o(e, $) {
|
|
10
|
-
var r = $.beforeParams;
|
|
11
|
-
$.beforeParams = !1;
|
|
12
|
-
var i = e.next();
|
|
13
|
-
if (/[\[\]{}\(\),\.]/.test(i))
|
|
14
|
-
return i == "(" && r ? $.inParams = !0 : i == ")" && ($.inParams = !1), null;
|
|
15
|
-
if (/\d/.test(i))
|
|
16
|
-
return e.eatWhile(/[\w\.]/), "number";
|
|
17
|
-
if (i == "\\")
|
|
18
|
-
return e.eat("\\"), e.eat(/./), "number";
|
|
19
|
-
if (i == "/" && e.eat("*"))
|
|
20
|
-
return d(e, $, m);
|
|
21
|
-
if (i == ";" && e.match(/ *\( *\(/))
|
|
22
|
-
return d(e, $, p);
|
|
23
|
-
if (i == ";" && !$.inParams)
|
|
24
|
-
return e.skipToEnd(), "comment";
|
|
25
|
-
if (i == '"')
|
|
26
|
-
return e.eat(/"/), "keyword";
|
|
27
|
-
if (i == "$")
|
|
28
|
-
return e.eatWhile(/[$_a-z0-9A-Z\.:]/), a && a.propertyIsEnumerable(e.current().toLowerCase()) ? "keyword" : ($.beforeParams = !0, "builtin");
|
|
29
|
-
if (i == "%")
|
|
30
|
-
return e.eatWhile(/[^,\s()]/), $.beforeParams = !0, "string";
|
|
31
|
-
if (c.test(i))
|
|
32
|
-
return e.eatWhile(c), "operator";
|
|
33
|
-
e.eatWhile(/[\w\$_{}]/);
|
|
34
|
-
var t = e.current().toLowerCase();
|
|
35
|
-
return s && s.propertyIsEnumerable(t) ? "keyword" : l && l.propertyIsEnumerable(t) ? ($.beforeParams = !0, "keyword") : null;
|
|
36
|
-
}
|
|
37
|
-
function m(e, $) {
|
|
38
|
-
for (var r = !1, i; i = e.next(); ) {
|
|
39
|
-
if (i == "/" && r) {
|
|
40
|
-
$.tokenize = o;
|
|
41
|
-
break;
|
|
42
|
-
}
|
|
43
|
-
r = i == "*";
|
|
44
|
-
}
|
|
45
|
-
return "comment";
|
|
46
|
-
}
|
|
47
|
-
function p(e, $) {
|
|
48
|
-
for (var r = 0, i; i = e.next(); ) {
|
|
49
|
-
if (i == ";" && r == 2) {
|
|
50
|
-
$.tokenize = o;
|
|
51
|
-
break;
|
|
52
|
-
}
|
|
53
|
-
i == ")" ? r++ : i != " " && (r = 0);
|
|
54
|
-
}
|
|
55
|
-
return "meta";
|
|
56
|
-
}
|
|
57
|
-
const u = {
|
|
58
|
-
name: "mirc",
|
|
59
|
-
startState: function() {
|
|
60
|
-
return {
|
|
61
|
-
tokenize: o,
|
|
62
|
-
beforeParams: !1,
|
|
63
|
-
inParams: !1
|
|
64
|
-
};
|
|
65
|
-
},
|
|
66
|
-
token: function(e, $) {
|
|
67
|
-
return e.eatSpace() ? null : $.tokenize(e, $);
|
|
68
|
-
}
|
|
69
|
-
};
|
|
70
|
-
export {
|
|
71
|
-
u as mirc
|
|
72
|
-
};
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
function r(n) {
|
|
2
|
-
for (var e = {}, i = n.split(" "), l = 0; l < i.length; ++l)
|
|
3
|
-
e[i[l]] = !0;
|
|
4
|
-
return e;
|
|
5
|
-
}
|
|
6
|
-
var t = r("algorithm and annotation assert block break class connect connector constant constrainedby der discrete each else elseif elsewhen encapsulated end enumeration equation expandable extends external false final flow for function if import impure in initial inner input loop model not operator or outer output package parameter partial protected public pure record redeclare replaceable return stream then true type when while within"), a = r("abs acos actualStream asin atan atan2 cardinality ceil cos cosh delay div edge exp floor getInstanceName homotopy inStream integer log log10 mod pre reinit rem semiLinear sign sin sinh spatialDistribution sqrt tan tanh"), u = r("Real Boolean Integer String"), f = [].concat(Object.keys(t), Object.keys(a), Object.keys(u)), k = /[;=\(:\),{}.*<>+\-\/^\[\]]/, s = /(:=|<=|>=|==|<>|\.\+|\.\-|\.\*|\.\/|\.\^)/, o = /[0-9]/, c = /[_a-zA-Z]/;
|
|
7
|
-
function p(n, e) {
|
|
8
|
-
return n.skipToEnd(), e.tokenize = null, "comment";
|
|
9
|
-
}
|
|
10
|
-
function d(n, e) {
|
|
11
|
-
for (var i = !1, l; l = n.next(); ) {
|
|
12
|
-
if (i && l == "/") {
|
|
13
|
-
e.tokenize = null;
|
|
14
|
-
break;
|
|
15
|
-
}
|
|
16
|
-
i = l == "*";
|
|
17
|
-
}
|
|
18
|
-
return "comment";
|
|
19
|
-
}
|
|
20
|
-
function h(n, e) {
|
|
21
|
-
for (var i = !1, l; (l = n.next()) != null; ) {
|
|
22
|
-
if (l == '"' && !i) {
|
|
23
|
-
e.tokenize = null, e.sol = !1;
|
|
24
|
-
break;
|
|
25
|
-
}
|
|
26
|
-
i = !i && l == "\\";
|
|
27
|
-
}
|
|
28
|
-
return "string";
|
|
29
|
-
}
|
|
30
|
-
function b(n, e) {
|
|
31
|
-
for (n.eatWhile(o); n.eat(o) || n.eat(c); )
|
|
32
|
-
;
|
|
33
|
-
var i = n.current();
|
|
34
|
-
return e.sol && (i == "package" || i == "model" || i == "when" || i == "connector") ? e.level++ : e.sol && i == "end" && e.level > 0 && e.level--, e.tokenize = null, e.sol = !1, t.propertyIsEnumerable(i) ? "keyword" : a.propertyIsEnumerable(i) ? "builtin" : u.propertyIsEnumerable(i) ? "atom" : "variable";
|
|
35
|
-
}
|
|
36
|
-
function v(n, e) {
|
|
37
|
-
for (; n.eat(/[^']/); )
|
|
38
|
-
;
|
|
39
|
-
return e.tokenize = null, e.sol = !1, n.eat("'") ? "variable" : "error";
|
|
40
|
-
}
|
|
41
|
-
function g(n, e) {
|
|
42
|
-
return n.eatWhile(o), n.eat(".") && n.eatWhile(o), (n.eat("e") || n.eat("E")) && (n.eat("-") || n.eat("+"), n.eatWhile(o)), e.tokenize = null, e.sol = !1, "number";
|
|
43
|
-
}
|
|
44
|
-
const z = {
|
|
45
|
-
name: "modelica",
|
|
46
|
-
startState: function() {
|
|
47
|
-
return {
|
|
48
|
-
tokenize: null,
|
|
49
|
-
level: 0,
|
|
50
|
-
sol: !0
|
|
51
|
-
};
|
|
52
|
-
},
|
|
53
|
-
token: function(n, e) {
|
|
54
|
-
if (e.tokenize != null)
|
|
55
|
-
return e.tokenize(n, e);
|
|
56
|
-
if (n.sol() && (e.sol = !0), n.eatSpace())
|
|
57
|
-
return e.tokenize = null, null;
|
|
58
|
-
var i = n.next();
|
|
59
|
-
if (i == "/" && n.eat("/"))
|
|
60
|
-
e.tokenize = p;
|
|
61
|
-
else if (i == "/" && n.eat("*"))
|
|
62
|
-
e.tokenize = d;
|
|
63
|
-
else {
|
|
64
|
-
if (s.test(i + n.peek()))
|
|
65
|
-
return n.next(), e.tokenize = null, "operator";
|
|
66
|
-
if (k.test(i))
|
|
67
|
-
return e.tokenize = null, "operator";
|
|
68
|
-
if (c.test(i))
|
|
69
|
-
e.tokenize = b;
|
|
70
|
-
else if (i == "'" && n.peek() && n.peek() != "'")
|
|
71
|
-
e.tokenize = v;
|
|
72
|
-
else if (i == '"')
|
|
73
|
-
e.tokenize = h;
|
|
74
|
-
else if (o.test(i))
|
|
75
|
-
e.tokenize = g;
|
|
76
|
-
else
|
|
77
|
-
return e.tokenize = null, "error";
|
|
78
|
-
}
|
|
79
|
-
return e.tokenize(n, e);
|
|
80
|
-
},
|
|
81
|
-
indent: function(n, e, i) {
|
|
82
|
-
if (n.tokenize != null) return null;
|
|
83
|
-
var l = n.level;
|
|
84
|
-
return /(algorithm)/.test(e) && l--, /(equation)/.test(e) && l--, /(initial algorithm)/.test(e) && l--, /(initial equation)/.test(e) && l--, /(end)/.test(e) && l--, l > 0 ? i.unit * l : 0;
|
|
85
|
-
},
|
|
86
|
-
languageData: {
|
|
87
|
-
commentTokens: { line: "//", block: { open: "/*", close: "*/" } },
|
|
88
|
-
autocomplete: f
|
|
89
|
-
}
|
|
90
|
-
};
|
|
91
|
-
export {
|
|
92
|
-
z as modelica
|
|
93
|
-
};
|
package/dist/mscgen-Cpl0NYLN.js
DELETED
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
function c(t) {
|
|
2
|
-
return {
|
|
3
|
-
name: "mscgen",
|
|
4
|
-
startState: i,
|
|
5
|
-
copyState: s,
|
|
6
|
-
token: u(t),
|
|
7
|
-
languageData: {
|
|
8
|
-
commentTokens: { line: "#", block: { open: "/*", close: "*/" } }
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
const a = c({
|
|
13
|
-
keywords: ["msc"],
|
|
14
|
-
options: ["hscale", "width", "arcgradient", "wordwraparcs"],
|
|
15
|
-
constants: ["true", "false", "on", "off"],
|
|
16
|
-
attributes: ["label", "idurl", "id", "url", "linecolor", "linecolour", "textcolor", "textcolour", "textbgcolor", "textbgcolour", "arclinecolor", "arclinecolour", "arctextcolor", "arctextcolour", "arctextbgcolor", "arctextbgcolour", "arcskip"],
|
|
17
|
-
brackets: ["\\{", "\\}"],
|
|
18
|
-
// [ and ] are brackets too, but these get handled in with lists
|
|
19
|
-
arcsWords: ["note", "abox", "rbox", "box"],
|
|
20
|
-
arcsOthers: ["\\|\\|\\|", "\\.\\.\\.", "---", "--", "<->", "==", "<<=>>", "<=>", "\\.\\.", "<<>>", "::", "<:>", "->", "=>>", "=>", ">>", ":>", "<-", "<<=", "<=", "<<", "<:", "x-", "-x"],
|
|
21
|
-
singlecomment: ["//", "#"],
|
|
22
|
-
operators: ["="]
|
|
23
|
-
}), l = c({
|
|
24
|
-
keywords: null,
|
|
25
|
-
options: ["hscale", "width", "arcgradient", "wordwraparcs", "wordwrapentities", "watermark"],
|
|
26
|
-
constants: ["true", "false", "on", "off", "auto"],
|
|
27
|
-
attributes: null,
|
|
28
|
-
brackets: ["\\{", "\\}"],
|
|
29
|
-
arcsWords: ["note", "abox", "rbox", "box", "alt", "else", "opt", "break", "par", "seq", "strict", "neg", "critical", "ignore", "consider", "assert", "loop", "ref", "exc"],
|
|
30
|
-
arcsOthers: ["\\|\\|\\|", "\\.\\.\\.", "---", "--", "<->", "==", "<<=>>", "<=>", "\\.\\.", "<<>>", "::", "<:>", "->", "=>>", "=>", ">>", ":>", "<-", "<<=", "<=", "<<", "<:", "x-", "-x"],
|
|
31
|
-
singlecomment: ["//", "#"],
|
|
32
|
-
operators: ["="]
|
|
33
|
-
}), b = c({
|
|
34
|
-
keywords: ["msc", "xu"],
|
|
35
|
-
options: ["hscale", "width", "arcgradient", "wordwraparcs", "wordwrapentities", "watermark"],
|
|
36
|
-
constants: ["true", "false", "on", "off", "auto"],
|
|
37
|
-
attributes: ["label", "idurl", "id", "url", "linecolor", "linecolour", "textcolor", "textcolour", "textbgcolor", "textbgcolour", "arclinecolor", "arclinecolour", "arctextcolor", "arctextcolour", "arctextbgcolor", "arctextbgcolour", "arcskip", "title", "deactivate", "activate", "activation"],
|
|
38
|
-
brackets: ["\\{", "\\}"],
|
|
39
|
-
// [ and ] are brackets too, but these get handled in with lists
|
|
40
|
-
arcsWords: ["note", "abox", "rbox", "box", "alt", "else", "opt", "break", "par", "seq", "strict", "neg", "critical", "ignore", "consider", "assert", "loop", "ref", "exc"],
|
|
41
|
-
arcsOthers: ["\\|\\|\\|", "\\.\\.\\.", "---", "--", "<->", "==", "<<=>>", "<=>", "\\.\\.", "<<>>", "::", "<:>", "->", "=>>", "=>", ">>", ":>", "<-", "<<=", "<=", "<<", "<:", "x-", "-x"],
|
|
42
|
-
singlecomment: ["//", "#"],
|
|
43
|
-
operators: ["="]
|
|
44
|
-
});
|
|
45
|
-
function n(t) {
|
|
46
|
-
return new RegExp("^\\b(" + t.join("|") + ")\\b", "i");
|
|
47
|
-
}
|
|
48
|
-
function o(t) {
|
|
49
|
-
return new RegExp("^(?:" + t.join("|") + ")", "i");
|
|
50
|
-
}
|
|
51
|
-
function i() {
|
|
52
|
-
return {
|
|
53
|
-
inComment: !1,
|
|
54
|
-
inString: !1,
|
|
55
|
-
inAttributeList: !1,
|
|
56
|
-
inScript: !1
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
function s(t) {
|
|
60
|
-
return {
|
|
61
|
-
inComment: t.inComment,
|
|
62
|
-
inString: t.inString,
|
|
63
|
-
inAttributeList: t.inAttributeList,
|
|
64
|
-
inScript: t.inScript
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
function u(t) {
|
|
68
|
-
return function(r, e) {
|
|
69
|
-
if (r.match(o(t.brackets), !0, !0))
|
|
70
|
-
return "bracket";
|
|
71
|
-
if (!e.inComment) {
|
|
72
|
-
if (r.match(/\/\*[^\*\/]*/, !0, !0))
|
|
73
|
-
return e.inComment = !0, "comment";
|
|
74
|
-
if (r.match(o(t.singlecomment), !0, !0))
|
|
75
|
-
return r.skipToEnd(), "comment";
|
|
76
|
-
}
|
|
77
|
-
if (e.inComment)
|
|
78
|
-
return r.match(/[^\*\/]*\*\//, !0, !0) ? e.inComment = !1 : r.skipToEnd(), "comment";
|
|
79
|
-
if (!e.inString && r.match(/\"(\\\"|[^\"])*/, !0, !0))
|
|
80
|
-
return e.inString = !0, "string";
|
|
81
|
-
if (e.inString)
|
|
82
|
-
return r.match(/[^\"]*\"/, !0, !0) ? e.inString = !1 : r.skipToEnd(), "string";
|
|
83
|
-
if (t.keywords && r.match(n(t.keywords), !0, !0) || r.match(n(t.options), !0, !0) || r.match(n(t.arcsWords), !0, !0) || r.match(o(t.arcsOthers), !0, !0))
|
|
84
|
-
return "keyword";
|
|
85
|
-
if (t.operators && r.match(o(t.operators), !0, !0))
|
|
86
|
-
return "operator";
|
|
87
|
-
if (t.constants && r.match(o(t.constants), !0, !0))
|
|
88
|
-
return "variable";
|
|
89
|
-
if (!t.inAttributeList && t.attributes && r.match("[", !0, !0))
|
|
90
|
-
return t.inAttributeList = !0, "bracket";
|
|
91
|
-
if (t.inAttributeList) {
|
|
92
|
-
if (t.attributes !== null && r.match(n(t.attributes), !0, !0))
|
|
93
|
-
return "attribute";
|
|
94
|
-
if (r.match("]", !0, !0))
|
|
95
|
-
return t.inAttributeList = !1, "bracket";
|
|
96
|
-
}
|
|
97
|
-
return r.next(), null;
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
export {
|
|
101
|
-
a as mscgen,
|
|
102
|
-
l as msgenny,
|
|
103
|
-
b as xu
|
|
104
|
-
};
|
package/dist/mumps-CQoS1kWX.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
function o(e) {
|
|
2
|
-
return new RegExp("^((" + e.join(")|(") + "))\\b", "i");
|
|
3
|
-
}
|
|
4
|
-
var i = new RegExp("^[\\+\\-\\*/&#!_?\\\\<>=\\'\\[\\]]"), $ = new RegExp("^(('=)|(<=)|(>=)|('>)|('<)|([[)|(]])|(^$))"), t = new RegExp("^[\\.,:]"), c = new RegExp("[()]"), l = new RegExp("^[%A-Za-z][A-Za-z0-9]*"), a = ["break", "close", "do", "else", "for", "goto", "halt", "hang", "if", "job", "kill", "lock", "merge", "new", "open", "quit", "read", "set", "tcommit", "trollback", "tstart", "use", "view", "write", "xecute", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "q", "r", "s", "tc", "tro", "ts", "u", "v", "w", "x"], d = ["\\$ascii", "\\$char", "\\$data", "\\$ecode", "\\$estack", "\\$etrap", "\\$extract", "\\$find", "\\$fnumber", "\\$get", "\\$horolog", "\\$io", "\\$increment", "\\$job", "\\$justify", "\\$length", "\\$name", "\\$next", "\\$order", "\\$piece", "\\$qlength", "\\$qsubscript", "\\$query", "\\$quit", "\\$random", "\\$reverse", "\\$select", "\\$stack", "\\$test", "\\$text", "\\$translate", "\\$view", "\\$x", "\\$y", "\\$a", "\\$c", "\\$d", "\\$e", "\\$ec", "\\$es", "\\$et", "\\$f", "\\$fn", "\\$g", "\\$h", "\\$i", "\\$j", "\\$l", "\\$n", "\\$na", "\\$o", "\\$p", "\\$q", "\\$ql", "\\$qs", "\\$r", "\\$re", "\\$s", "\\$st", "\\$t", "\\$tr", "\\$v", "\\$z"], u = o(d), f = o(a);
|
|
5
|
-
function m(e, n) {
|
|
6
|
-
e.sol() && (n.label = !0, n.commandMode = 0);
|
|
7
|
-
var r = e.peek();
|
|
8
|
-
return r == " " || r == " " ? (n.label = !1, n.commandMode == 0 ? n.commandMode = 1 : (n.commandMode < 0 || n.commandMode == 2) && (n.commandMode = 0)) : r != "." && n.commandMode > 0 && (r == ":" ? n.commandMode = -1 : n.commandMode = 2), (r === "(" || r === " ") && (n.label = !1), r === ";" ? (e.skipToEnd(), "comment") : e.match(/^[-+]?\d+(\.\d+)?([eE][-+]?\d+)?/) ? "number" : r == '"' ? e.skipTo('"') ? (e.next(), "string") : (e.skipToEnd(), "error") : e.match($) || e.match(i) ? "operator" : e.match(t) ? null : c.test(r) ? (e.next(), "bracket") : n.commandMode > 0 && e.match(f) ? "controlKeyword" : e.match(u) ? "builtin" : e.match(l) ? "variable" : r === "$" || r === "^" ? (e.next(), "builtin") : r === "@" ? (e.next(), "string.special") : /[\w%]/.test(r) ? (e.eatWhile(/[\w%]/), "variable") : (e.next(), "error");
|
|
9
|
-
}
|
|
10
|
-
const s = {
|
|
11
|
-
name: "mumps",
|
|
12
|
-
startState: function() {
|
|
13
|
-
return {
|
|
14
|
-
label: !1,
|
|
15
|
-
commandMode: 0
|
|
16
|
-
};
|
|
17
|
-
},
|
|
18
|
-
token: function(e, n) {
|
|
19
|
-
var r = m(e, n);
|
|
20
|
-
return n.label ? "tag" : r;
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
export {
|
|
24
|
-
s as mumps
|
|
25
|
-
};
|