@marimo-team/islands 0.13.16-dev3 → 0.13.16-dev5
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-DaX7qzkh.js → ConnectedDataExplorerComponent-DJ_5A9Jv.js} +1495 -1496
- package/dist/{VegaLite-DqttTZoC.js → VegaLite-BIF3TJ1l.js} +12483 -12485
- package/dist/{_baseUniq-C7BPwQHe.js → _baseUniq-CpsCwtZj.js} +13 -13
- package/dist/{any-language-editor-DUew9Rp9.js → any-language-editor-4KxmO39C.js} +2 -2
- package/dist/{architectureDiagram-IEHRJDOE-a3lDrXQx.js → architectureDiagram-IEHRJDOE-DX0ceJYG.js} +1800 -1800
- package/dist/asn1-jKiBa2Ya.js +10 -10
- package/dist/assets/{save-worker-9HEtFDM0.js → save-worker-DwN_qfSx.js} +695 -702
- package/dist/assets/{worker-BGGm0KYZ.js → worker-BzMPE1Lq.js} +732 -739
- package/dist/assets/{worker-BNsqBj5w.js → worker-ISYYr8IB.js} +726 -732
- package/dist/blockDiagram-JOT3LUYC-BS_FxZ0q.js +2249 -0
- package/dist/{c4Diagram-VJAJSXHY-iO9Wy6JM.js → c4Diagram-VJAJSXHY-B-UF7GzG.js} +401 -400
- package/dist/{channel-DcjC1CFM.js → channel-BPCXF0Uj.js} +1 -1
- package/dist/chunk-4BMEZGHF-DJOdatJ0.js +9 -0
- package/dist/chunk-A2AXSNBT-D9hxcFjS.js +1373 -0
- package/dist/chunk-AEK57VVT-BLFZVxwJ.js +1416 -0
- package/dist/{chunk-D6G4REZN-Dlv_YHcf.js → chunk-D6G4REZN-CICr2kpO.js} +2 -2
- package/dist/{chunk-RZ5BOZE2-D8w7Mlj9.js → chunk-RZ5BOZE2-DItbbReI.js} +8 -8
- package/dist/chunk-XZIHB7SX-TOPO0Fuc.js +16 -0
- package/dist/{classDiagram-GIVACNV2-B9RHXsFh.js → classDiagram-GIVACNV2-7MVpfZSz.js} +2 -2
- package/dist/{classDiagram-v2-COTLJTTW-B9RHXsFh.js → classDiagram-v2-COTLJTTW-7MVpfZSz.js} +2 -2
- package/dist/clojure-CCKyeQKf.js +2 -2
- package/dist/{clone-D3N_odGc.js → clone-DBH40z6e.js} +1 -1
- package/dist/css-bIlmDBTK.js +19 -19
- package/dist/{cytoscape.esm-DAyNQ0qu.js → cytoscape.esm-CCQ3SVU1.js} +2301 -2301
- package/dist/dagre-OKDRZEBW-rdJpJuUR.js +447 -0
- package/dist/{data-editor-DYnEMVel.js → data-editor-C6WuNzbJ.js} +5785 -5795
- package/dist/{diagram-SSKATNLV-B7sCpaam.js → diagram-SSKATNLV-gmsovYbf.js} +13 -13
- package/dist/{diagram-VNBRO52H-D5XB9Rqn.js → diagram-VNBRO52H-BFlwgyKt.js} +3 -3
- package/dist/{erDiagram-Q7BY3M3F-Bc4bVsl5.js → erDiagram-Q7BY3M3F-B6eG3pRD.js} +263 -262
- package/dist/flowDiagram-4HSFHLVR-Dg1wLRaw.js +1623 -0
- package/dist/{ganttDiagram-APWFNJXF-DX7O4yzu.js → ganttDiagram-APWFNJXF-DldqqVyx.js} +45 -45
- package/dist/gitGraphDiagram-7IBYFJ6S-Aim5p7Qf.js +712 -0
- package/dist/{graph-3qoxqlMi.js → graph-BHINt7Kf.js} +9 -9
- package/dist/{index-DMwlOrYW.js → index-A7tDI8LX.js} +9 -9
- package/dist/{index-DarPCnb9.js → index-BsCms8nF.js} +28 -28
- package/dist/{index-ClcExt8M.js → index-C1ncc3VE.js} +99 -98
- package/dist/{index-DSv7cBZ6.js → index-D0gh4lwc.js} +4 -4
- package/dist/{infoDiagram-PH2N3AL5-Hpz-dZTP.js → infoDiagram-PH2N3AL5-1m_6u4Y7.js} +3 -3
- package/dist/javascript-WMWNx-Vj.js +47 -47
- package/dist/{journeyDiagram-U35MCT3I-D8lBbVPX.js → journeyDiagram-U35MCT3I-CDL6jqeI.js} +18 -18
- package/dist/kanban-definition-NDS4AKOZ-RImoTsfS.js +719 -0
- package/dist/{katex-9tX9hjoM.js → katex-CUSbq6rG.js} +2180 -2180
- package/dist/{layout-BQ5ygFMS.js → layout-J5I1wvdv.js} +27 -27
- package/dist/{linear-DEKTCzK7.js → linear-Dq58HS87.js} +2 -2
- package/dist/main-uEwF8nEn.js +169878 -0
- package/dist/main.js +1 -1
- package/dist/mermaid-DmrTKCuO.js +14517 -0
- package/dist/{mhchem-L5-rce7L.js → mhchem-Db_f2n8C.js} +30 -30
- package/dist/{min-BVLo0atX.js → min-BHctwg9m.js} +2 -2
- package/dist/{mindmap-definition-ALO5MXBD-CJrYaVvo.js → mindmap-definition-ALO5MXBD-B28ZjQu_.js} +359 -359
- package/dist/mllike-BSnXJBGA.js +7 -7
- package/dist/{pieDiagram-IB7DONF6-Dctceo_p.js → pieDiagram-IB7DONF6-CcxQe-PK.js} +34 -34
- package/dist/pug-BqUR2bBq.js +35 -35
- package/dist/python-B5QdSKoL.js +18 -18
- package/dist/quadrantDiagram-7GDLP6J5-BmMQ4ybr.js +1025 -0
- package/dist/{radar-MK3ICKWK-C1HW1I3s.js → radar-MK3ICKWK-B2DbWDNQ.js} +2555 -2554
- package/dist/{react-plotly-Cb9GFlJK.js → react-plotly-CcEhICmT.js} +6595 -6597
- package/dist/{requirementDiagram-KVF5MWMF-B1hXsRKm.js → requirementDiagram-KVF5MWMF-C4IlZoRQ.js} +251 -250
- package/dist/rpm-IznJm2Xc.js +9 -9
- package/dist/{sankeyDiagram-QLVOVGJD-C4Wft0rG.js → sankeyDiagram-QLVOVGJD-CBnLihZQ.js} +339 -338
- package/dist/{sequenceDiagram-X6HHIX6F-DuI3MtaO.js → sequenceDiagram-X6HHIX6F-CWgBOzA1.js} +822 -821
- package/dist/{slides-component-CtHXOtAT.js → slides-component-DWhXV4tT.js} +280 -280
- package/dist/sql-mMre1Bo3.js +9 -9
- package/dist/{stateDiagram-DGXRK772-BA90keZx.js → stateDiagram-DGXRK772-BLnrEsRS.js} +17 -17
- package/dist/{stateDiagram-v2-YXO3MK2T-BAYgRopg.js → stateDiagram-v2-YXO3MK2T-CyEclGku.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/{time-CSFHw3Jv.js → time-C9O7-c-W.js} +2 -2
- package/dist/{timeline-definition-BDJGKUSR-Blc0sOvC.js → timeline-definition-BDJGKUSR-Dr8Ki3tj.js} +261 -261
- package/dist/timer-BYwnU4DF.js +378 -378
- package/dist/ttcn-cfg-Bac_acMi.js +9 -9
- package/dist/{vega-component-BhqCtGzK.js → vega-component-BiVYrHRN.js} +82 -82
- package/dist/{xychartDiagram-VJFVF3MP-zwhLbXXB.js → xychartDiagram-VJFVF3MP-CwfDeBLj.js} +472 -471
- package/package.json +1 -1
- package/dist/blockDiagram-JOT3LUYC-CKFyxt0d.js +0 -2248
- package/dist/chunk-4BMEZGHF-lIaJqjDq.js +0 -9
- package/dist/chunk-A2AXSNBT-Cvv8kb-T.js +0 -1372
- package/dist/chunk-AEK57VVT-B-uzYNYV.js +0 -1415
- package/dist/chunk-XZIHB7SX-eF6XymTt.js +0 -15
- package/dist/dagre-OKDRZEBW-9GOkw9EI.js +0 -447
- package/dist/flowDiagram-4HSFHLVR-O0PMfC8B.js +0 -1622
- package/dist/gitGraphDiagram-7IBYFJ6S-Bq1HYszu.js +0 -712
- package/dist/kanban-definition-NDS4AKOZ-BjHkwf3p.js +0 -719
- package/dist/main-CtGDFKVm.js +0 -156521
- package/dist/mermaid-dkwEEzHU.js +0 -11991
- package/dist/quadrantDiagram-7GDLP6J5-BCGXIJXJ.js +0 -1024
|
@@ -49,10 +49,10 @@ function fr(x) {
|
|
|
49
49
|
};
|
|
50
50
|
}(), hr = /[+\-*&%=<>!?|~^@]/, Or = /^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;
|
|
51
51
|
function qr(r) {
|
|
52
|
-
for (var e =
|
|
52
|
+
for (var e = false, t, f = false; (t = r.next()) != null; ) {
|
|
53
53
|
if (!e) {
|
|
54
54
|
if (t == "/" && !f) return;
|
|
55
|
-
t == "[" ? f =
|
|
55
|
+
t == "[" ? f = true : f && t == "]" && (f = false);
|
|
56
56
|
}
|
|
57
57
|
e = !e && t == "\\";
|
|
58
58
|
}
|
|
@@ -97,7 +97,7 @@ function fr(x) {
|
|
|
97
97
|
var u = wr[f];
|
|
98
98
|
return b(u.type, u.style, f);
|
|
99
99
|
}
|
|
100
|
-
if (f == "async" && r.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,
|
|
100
|
+
if (f == "async" && r.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/, false))
|
|
101
101
|
return b("async", "keyword", f);
|
|
102
102
|
}
|
|
103
103
|
return b("variable", "variable", f);
|
|
@@ -105,7 +105,7 @@ function fr(x) {
|
|
|
105
105
|
}
|
|
106
106
|
function Nr(r) {
|
|
107
107
|
return function(e, t) {
|
|
108
|
-
var f =
|
|
108
|
+
var f = false, u;
|
|
109
109
|
if (ur && e.peek() == "@" && e.match(Or))
|
|
110
110
|
return t.tokenize = S, b("jsonld-keyword", "meta");
|
|
111
111
|
for (; (u = e.next()) != null && !(u == r && !f); )
|
|
@@ -114,7 +114,7 @@ function fr(x) {
|
|
|
114
114
|
};
|
|
115
115
|
}
|
|
116
116
|
function H(r, e) {
|
|
117
|
-
for (var t =
|
|
117
|
+
for (var t = false, f; f = r.next(); ) {
|
|
118
118
|
if (f == "/" && t) {
|
|
119
119
|
e.tokenize = S;
|
|
120
120
|
break;
|
|
@@ -124,7 +124,7 @@ function fr(x) {
|
|
|
124
124
|
return b("comment", "comment");
|
|
125
125
|
}
|
|
126
126
|
function L(r, e) {
|
|
127
|
-
for (var t =
|
|
127
|
+
for (var t = false, f; (f = r.next()) != null; ) {
|
|
128
128
|
if (!t && (f == "`" || f == "$" && r.eat("{"))) {
|
|
129
129
|
e.tokenize = S;
|
|
130
130
|
break;
|
|
@@ -142,7 +142,7 @@ function fr(x) {
|
|
|
142
142
|
var f = /:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(r.string.slice(r.start, t));
|
|
143
143
|
f && (t = f.index);
|
|
144
144
|
}
|
|
145
|
-
for (var u = 0, c =
|
|
145
|
+
for (var u = 0, c = false, m = t - 1; m >= 0; --m) {
|
|
146
146
|
var y = r.string.charAt(m), v = Br.indexOf(y);
|
|
147
147
|
if (v >= 0 && v < 3) {
|
|
148
148
|
if (!u) {
|
|
@@ -150,13 +150,13 @@ function fr(x) {
|
|
|
150
150
|
break;
|
|
151
151
|
}
|
|
152
152
|
if (--u == 0) {
|
|
153
|
-
y == "(" && (c =
|
|
153
|
+
y == "(" && (c = true);
|
|
154
154
|
break;
|
|
155
155
|
}
|
|
156
156
|
} else if (v >= 3 && v < 6)
|
|
157
157
|
++u;
|
|
158
158
|
else if (U.test(y))
|
|
159
|
-
c =
|
|
159
|
+
c = true;
|
|
160
160
|
else if (/["'\/`]/.test(y))
|
|
161
161
|
for (; ; --m) {
|
|
162
162
|
if (m == 0) return;
|
|
@@ -175,28 +175,28 @@ function fr(x) {
|
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
177
|
var Fr = {
|
|
178
|
-
atom:
|
|
179
|
-
number:
|
|
180
|
-
variable:
|
|
181
|
-
string:
|
|
182
|
-
regexp:
|
|
183
|
-
this:
|
|
184
|
-
import:
|
|
185
|
-
"jsonld-keyword":
|
|
178
|
+
atom: true,
|
|
179
|
+
number: true,
|
|
180
|
+
variable: true,
|
|
181
|
+
string: true,
|
|
182
|
+
regexp: true,
|
|
183
|
+
this: true,
|
|
184
|
+
import: true,
|
|
185
|
+
"jsonld-keyword": true
|
|
186
186
|
};
|
|
187
187
|
function xr(r, e, t, f, u, c) {
|
|
188
188
|
this.indented = r, this.column = e, this.type = t, this.prev = u, this.info = c, f != null && (this.align = f);
|
|
189
189
|
}
|
|
190
190
|
function Jr(r, e) {
|
|
191
191
|
for (var t = r.localVars; t; t = t.next)
|
|
192
|
-
if (t.name == e) return
|
|
192
|
+
if (t.name == e) return true;
|
|
193
193
|
for (var f = r.context; f; f = f.prev)
|
|
194
194
|
for (var t = f.vars; t; t = t.next)
|
|
195
|
-
if (t.name == e) return
|
|
195
|
+
if (t.name == e) return true;
|
|
196
196
|
}
|
|
197
197
|
function Mr(r, e, t, f, u) {
|
|
198
198
|
var c = r.cc;
|
|
199
|
-
for (i.state = r, i.stream = u, i.marked = null, i.cc = c, i.style = e, r.lexical.hasOwnProperty("align") || (r.lexical.align =
|
|
199
|
+
for (i.state = r, i.stream = u, i.marked = null, i.cc = c, i.style = e, r.lexical.hasOwnProperty("align") || (r.lexical.align = true); ; ) {
|
|
200
200
|
var m = c.length ? c.pop() : br ? p : w;
|
|
201
201
|
if (m(t, f)) {
|
|
202
202
|
for (; c.length && c[c.length - 1].lex; )
|
|
@@ -210,11 +210,11 @@ function fr(x) {
|
|
|
210
210
|
for (var r = arguments.length - 1; r >= 0; r--) i.cc.push(arguments[r]);
|
|
211
211
|
}
|
|
212
212
|
function n() {
|
|
213
|
-
return o.apply(null, arguments),
|
|
213
|
+
return o.apply(null, arguments), true;
|
|
214
214
|
}
|
|
215
215
|
function or(r, e) {
|
|
216
|
-
for (var t = e; t; t = t.next) if (t.name == r) return
|
|
217
|
-
return
|
|
216
|
+
for (var t = e; t; t = t.next) if (t.name == r) return true;
|
|
217
|
+
return false;
|
|
218
218
|
}
|
|
219
219
|
function q(r) {
|
|
220
220
|
var e = i.state;
|
|
@@ -236,8 +236,8 @@ function fr(x) {
|
|
|
236
236
|
if (e)
|
|
237
237
|
if (e.block) {
|
|
238
238
|
var t = gr(r, e.prev);
|
|
239
|
-
return t ? t == e.prev ? e : new P(t, e.vars,
|
|
240
|
-
} else return or(r, e.vars) ? e : new P(e.prev, new Q(r, e.vars),
|
|
239
|
+
return t ? t == e.prev ? e : new P(t, e.vars, true) : null;
|
|
240
|
+
} else return or(r, e.vars) ? e : new P(e.prev, new Q(r, e.vars), false);
|
|
241
241
|
else return null;
|
|
242
242
|
}
|
|
243
243
|
function X(r) {
|
|
@@ -251,16 +251,16 @@ function fr(x) {
|
|
|
251
251
|
}
|
|
252
252
|
var Dr = new Q("this", new Q("arguments", null));
|
|
253
253
|
function E() {
|
|
254
|
-
i.state.context = new P(i.state.context, i.state.localVars,
|
|
254
|
+
i.state.context = new P(i.state.context, i.state.localVars, false), i.state.localVars = Dr;
|
|
255
255
|
}
|
|
256
256
|
function Y() {
|
|
257
|
-
i.state.context = new P(i.state.context, i.state.localVars,
|
|
257
|
+
i.state.context = new P(i.state.context, i.state.localVars, true), i.state.localVars = null;
|
|
258
258
|
}
|
|
259
|
-
E.lex = Y.lex =
|
|
259
|
+
E.lex = Y.lex = true;
|
|
260
260
|
function T() {
|
|
261
261
|
i.state.localVars = i.state.context.vars, i.state.context = i.state.context.prev;
|
|
262
262
|
}
|
|
263
|
-
T.lex =
|
|
263
|
+
T.lex = true;
|
|
264
264
|
function s(r, e) {
|
|
265
265
|
var t = function() {
|
|
266
266
|
var f = i.state, u = f.indented;
|
|
@@ -269,13 +269,13 @@ function fr(x) {
|
|
|
269
269
|
u = c.indented;
|
|
270
270
|
f.lexical = new xr(u, i.stream.column(), r, null, f.lexical, e);
|
|
271
271
|
};
|
|
272
|
-
return t.lex =
|
|
272
|
+
return t.lex = true, t;
|
|
273
273
|
}
|
|
274
274
|
function a() {
|
|
275
275
|
var r = i.state;
|
|
276
276
|
r.lexical.prev && (r.lexical.type == ")" && (r.indented = r.lexical.indented), r.lexical = r.lexical.prev);
|
|
277
277
|
}
|
|
278
|
-
a.lex =
|
|
278
|
+
a.lex = true;
|
|
279
279
|
function l(r) {
|
|
280
280
|
function e(t) {
|
|
281
281
|
return t == r ? n() : r == ";" || t == "}" || t == ")" || t == "]" ? o() : n(e);
|
|
@@ -283,7 +283,7 @@ function fr(x) {
|
|
|
283
283
|
return e;
|
|
284
284
|
}
|
|
285
285
|
function w(r, e) {
|
|
286
|
-
return r == "var" ? n(s("vardef", e), mr, l(";"), a) : r == "keyword a" ? n(s("form"), sr, w, a) : r == "keyword b" ? n(s("form"), w, a) : r == "keyword d" ? i.stream.match(/^\s*$/,
|
|
286
|
+
return r == "var" ? n(s("vardef", e), mr, l(";"), a) : r == "keyword a" ? n(s("form"), sr, w, a) : r == "keyword b" ? n(s("form"), w, a) : r == "keyword d" ? i.stream.match(/^\s*$/, false) ? n() : n(s("stat"), N, l(";"), a) : r == "debugger" ? n(l(";")) : r == "{" ? n(s("}"), Y, rr, a, T) : r == ";" ? n() : r == "if" ? (i.state.lexical.info == "else" && i.state.cc[i.state.cc.length - 1] == a && i.state.cc.pop()(), n(s("form"), sr, w, a, jr)) : r == "function" ? n(_) : r == "for" ? n(s("form"), Y, zr, w, T, a) : r == "class" || k && e == "interface" ? (i.marked = "keyword", n(s("form", r == "class" ? r : e), Sr, a)) : r == "variable" ? k && e == "declare" ? (i.marked = "keyword", n(w)) : k && (e == "module" || e == "enum" || e == "type") && i.stream.match(/^\s*\w/, false) ? (i.marked = "keyword", e == "enum" ? n($r) : e == "type" ? n(_r, l("operator"), d, l(";")) : n(s("form"), V, l("{"), s("}"), rr, a, a)) : k && e == "namespace" ? (i.marked = "keyword", n(s("form"), p, w, a)) : k && e == "abstract" ? (i.marked = "keyword", n(w)) : n(s("stat"), Kr) : r == "switch" ? n(
|
|
287
287
|
s("form"),
|
|
288
288
|
sr,
|
|
289
289
|
l("{"),
|
|
@@ -299,10 +299,10 @@ function fr(x) {
|
|
|
299
299
|
if (r == "(") return n(O, l(")"));
|
|
300
300
|
}
|
|
301
301
|
function p(r, e) {
|
|
302
|
-
return yr(r, e,
|
|
302
|
+
return yr(r, e, false);
|
|
303
303
|
}
|
|
304
304
|
function g(r, e) {
|
|
305
|
-
return yr(r, e,
|
|
305
|
+
return yr(r, e, true);
|
|
306
306
|
}
|
|
307
307
|
function sr(r) {
|
|
308
308
|
return r != "(" ? o() : n(s(")"), N, l(")"), a);
|
|
@@ -320,13 +320,13 @@ function fr(x) {
|
|
|
320
320
|
return r.match(/[;\}\)\],]/) ? o() : o(p);
|
|
321
321
|
}
|
|
322
322
|
function I(r, e) {
|
|
323
|
-
return r == "," ? n(N) : B(r, e,
|
|
323
|
+
return r == "," ? n(N) : B(r, e, false);
|
|
324
324
|
}
|
|
325
325
|
function B(r, e, t) {
|
|
326
|
-
var f = t ==
|
|
326
|
+
var f = t == false ? I : B, u = t == false ? p : g;
|
|
327
327
|
if (r == "=>") return n(E, t ? Tr : vr, T);
|
|
328
328
|
if (r == "operator")
|
|
329
|
-
return /\+\+|--/.test(e) || k && e == "!" ? n(f) : k && e == "<" && i.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,
|
|
329
|
+
return /\+\+|--/.test(e) || k && e == "!" ? n(f) : k && e == "<" && i.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/, false) ? n(s(">"), h(d, ">"), a, f) : e == "?" ? n(p, l(":"), u) : n(u);
|
|
330
330
|
if (r == "quasi")
|
|
331
331
|
return o(Z, f);
|
|
332
332
|
if (r != ";") {
|
|
@@ -378,7 +378,7 @@ function fr(x) {
|
|
|
378
378
|
if (r == "variable" || i.style == "keyword") {
|
|
379
379
|
if (i.marked = "property", e == "get" || e == "set") return n(Gr);
|
|
380
380
|
var t;
|
|
381
|
-
return k && i.state.fatArrowAt == i.stream.start && (t = i.stream.match(/^\s*:\s*/,
|
|
381
|
+
return k && i.state.fatArrowAt == i.stream.start && (t = i.stream.match(/^\s*:\s*/, false)) && (i.state.fatArrowAt = i.stream.pos + t[0].length), n($);
|
|
382
382
|
} else {
|
|
383
383
|
if (r == "number" || r == "string")
|
|
384
384
|
return i.marked = ur ? "property" : i.style + " property", n($);
|
|
@@ -436,7 +436,7 @@ function fr(x) {
|
|
|
436
436
|
}
|
|
437
437
|
function Vr(r) {
|
|
438
438
|
if (k && r == ":")
|
|
439
|
-
return i.stream.match(/^\s*\w+\s+is\b/,
|
|
439
|
+
return i.stream.match(/^\s*\w+\s+is\b/, false) ? n(p, Xr, d) : n(d);
|
|
440
440
|
}
|
|
441
441
|
function Xr(r, e) {
|
|
442
442
|
if (e == "is")
|
|
@@ -483,7 +483,7 @@ function fr(x) {
|
|
|
483
483
|
return i.marked = "string.special", i.state.tokenize = L, n(cr);
|
|
484
484
|
}
|
|
485
485
|
function dr(r, e) {
|
|
486
|
-
return r == "variable" && i.stream.match(/^\s*[?:]/,
|
|
486
|
+
return r == "variable" && i.stream.match(/^\s*[?:]/, false) || e == "?" ? n(dr) : r == ":" ? n(d) : r == "spread" ? n(dr) : o(d);
|
|
487
487
|
}
|
|
488
488
|
function A(r, e) {
|
|
489
489
|
if (e == "<") return n(s(">"), h(d, ">"), a, A);
|
|
@@ -515,7 +515,7 @@ function fr(x) {
|
|
|
515
515
|
if (r == "{") return R(Ar, "}");
|
|
516
516
|
}
|
|
517
517
|
function Ar(r, e) {
|
|
518
|
-
return r == "variable" && !i.stream.match(/^\s*:/,
|
|
518
|
+
return r == "variable" && !i.stream.match(/^\s*:/, false) ? (q(e), n(z)) : (r == "variable" && (i.marked = "property"), r == "spread" ? n(V) : r == "}" ? o() : r == "[" ? n(p, l("]"), l(":"), Ar) : n(l(":"), V, z));
|
|
519
519
|
}
|
|
520
520
|
function ee() {
|
|
521
521
|
return o(V, z);
|
|
@@ -578,7 +578,7 @@ function fr(x) {
|
|
|
578
578
|
if (r == "{") return n(s("}"), j, a);
|
|
579
579
|
}
|
|
580
580
|
function j(r, e) {
|
|
581
|
-
if (r == "async" || r == "variable" && (e == "static" || e == "get" || e == "set" || k && X(e)) && i.stream.match(/^\s+#?[\w$\xa1-\uffff]/,
|
|
581
|
+
if (r == "async" || r == "variable" && (e == "static" || e == "get" || e == "set" || k && X(e)) && i.stream.match(/^\s+#?[\w$\xa1-\uffff]/, false))
|
|
582
582
|
return i.marked = "keyword", n(j);
|
|
583
583
|
if (r == "variable" || i.style == "keyword")
|
|
584
584
|
return i.marked = "property", n(tr, j);
|
|
@@ -646,15 +646,15 @@ function fr(x) {
|
|
|
646
646
|
tokenize: S,
|
|
647
647
|
lastType: "sof",
|
|
648
648
|
cc: [],
|
|
649
|
-
lexical: new xr(-r, 0, "block",
|
|
649
|
+
lexical: new xr(-r, 0, "block", false),
|
|
650
650
|
localVars: x.localVars,
|
|
651
|
-
context: x.localVars && new P(null, null,
|
|
651
|
+
context: x.localVars && new P(null, null, false),
|
|
652
652
|
indented: 0
|
|
653
653
|
};
|
|
654
654
|
return x.globalVars && typeof x.globalVars == "object" && (e.globalVars = x.globalVars), e;
|
|
655
655
|
},
|
|
656
656
|
token: function(r, e) {
|
|
657
|
-
if (r.sol() && (e.lexical.hasOwnProperty("align") || (e.lexical.align =
|
|
657
|
+
if (r.sol() && (e.lexical.hasOwnProperty("align") || (e.lexical.align = false), e.indented = r.indentation(), ar(r, e)), e.tokenize != H && r.eatSpace()) return null;
|
|
658
658
|
var t = e.tokenize(r, e);
|
|
659
659
|
return D == "comment" ? t : (e.lastType = D == "operator" && (G == "++" || G == "--") ? "incdec" : D, Mr(e, t, D, G, r));
|
|
660
660
|
},
|
|
@@ -671,7 +671,7 @@ function fr(x) {
|
|
|
671
671
|
u = u.prev;
|
|
672
672
|
pr && u.type == ")" && u.prev.type == "stat" && (u = u.prev);
|
|
673
673
|
var v = u.type, K = f == v;
|
|
674
|
-
return v == "vardef" ? u.indented + (r.lastType == "operator" || r.lastType == "," ? u.info.length + 1 : 0) : v == "form" && f == "{" ? u.indented : v == "form" ? u.indented + t.unit : v == "stat" ? u.indented + (le(r, e) ? pr || t.unit : 0) : u.info == "switch" && !K && x.doubleIndentSwitch !=
|
|
674
|
+
return v == "vardef" ? u.indented + (r.lastType == "operator" || r.lastType == "," ? u.info.length + 1 : 0) : v == "form" && f == "{" ? u.indented : v == "form" ? u.indented + t.unit : v == "stat" ? u.indented + (le(r, e) ? pr || t.unit : 0) : u.info == "switch" && !K && x.doubleIndentSwitch != false ? u.indented + (/^(?:case|default)\b/.test(e) ? t.unit : 2 * t.unit) : u.align ? u.column + (K ? 0 : 1) : u.indented + (K ? 0 : t.unit);
|
|
675
675
|
},
|
|
676
676
|
languageData: {
|
|
677
677
|
indentOnInput: /^\s*(?:case .*?:|default:|\{|\})$/,
|
|
@@ -681,7 +681,7 @@ function fr(x) {
|
|
|
681
681
|
}
|
|
682
682
|
};
|
|
683
683
|
}
|
|
684
|
-
const de = fr({ name: "javascript" }), me = fr({ name: "json", json:
|
|
684
|
+
const de = fr({ name: "javascript" }), me = fr({ name: "json", json: true }), ke = fr({ name: "json", jsonld: true }), pe = fr({ name: "typescript", typescript: true });
|
|
685
685
|
export {
|
|
686
686
|
de as javascript,
|
|
687
687
|
me as json,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as ft, g as at, f as gt, d as mt } from "./chunk-D6G4REZN-
|
|
2
|
-
import { _ as i, g as xt, s as kt, a as _t, b as vt, t as bt, q as wt, c as A, d as W, e as Tt, z as St } from "./mermaid-
|
|
1
|
+
import { a as ft, g as at, f as gt, d as mt } from "./chunk-D6G4REZN-CICr2kpO.js";
|
|
2
|
+
import { _ as i, g as xt, s as kt, a as _t, b as vt, t as bt, q as wt, c as A, d as W, e as Tt, z as St } from "./mermaid-DmrTKCuO.js";
|
|
3
3
|
import { d as tt } from "./arc-BXrety1g.js";
|
|
4
4
|
var H = function() {
|
|
5
5
|
var t = /* @__PURE__ */ i(function(g, r, a, l) {
|
|
@@ -121,10 +121,10 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[v] || v) + "'" : G = "
|
|
|
121
121
|
$ && (l = l.slice(0, -1 * $ * 2), f = f.slice(0, -1 * $), o = o.slice(0, -1 * $)), l.push(this.productions_[w[1]][0]), f.push(C.$), o.push(C._$), D = S[l[l.length - 2]][l[l.length - 1]], l.push(D);
|
|
122
122
|
break;
|
|
123
123
|
case 3:
|
|
124
|
-
return
|
|
124
|
+
return true;
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
|
-
return
|
|
127
|
+
return true;
|
|
128
128
|
}, "parse")
|
|
129
129
|
}, x = /* @__PURE__ */ function() {
|
|
130
130
|
var g = {
|
|
@@ -137,7 +137,7 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[v] || v) + "'" : G = "
|
|
|
137
137
|
}, "parseError"),
|
|
138
138
|
// resets the lexer, sets new input
|
|
139
139
|
setInput: /* @__PURE__ */ i(function(r, a) {
|
|
140
|
-
return this.yy = a || this.yy || {}, this._input = r, this._more = this._backtrack = this.done =
|
|
140
|
+
return this.yy = a || this.yy || {}, this._input = r, this._more = this._backtrack = this.done = false, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
|
|
141
141
|
first_line: 1,
|
|
142
142
|
first_column: 0,
|
|
143
143
|
last_line: 1,
|
|
@@ -167,12 +167,12 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[v] || v) + "'" : G = "
|
|
|
167
167
|
}, "unput"),
|
|
168
168
|
// When called from action, caches matched text and appends it on next action
|
|
169
169
|
more: /* @__PURE__ */ i(function() {
|
|
170
|
-
return this._more =
|
|
170
|
+
return this._more = true, this;
|
|
171
171
|
}, "more"),
|
|
172
172
|
// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
|
|
173
173
|
reject: /* @__PURE__ */ i(function() {
|
|
174
174
|
if (this.options.backtrack_lexer)
|
|
175
|
-
this._backtrack =
|
|
175
|
+
this._backtrack = true;
|
|
176
176
|
else
|
|
177
177
|
return this.parseError("Lexical error on line " + (this.yylineno + 1) + `. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
178
178
|
` + this.showPosition(), {
|
|
@@ -229,36 +229,36 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[v] || v) + "'" : G = "
|
|
|
229
229
|
last_line: this.yylineno + 1,
|
|
230
230
|
first_column: this.yylloc.last_column,
|
|
231
231
|
last_column: y ? y[y.length - 1].length - y[y.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + r[0].length
|
|
232
|
-
}, this.yytext += r[0], this.match += r[0], this.matches = r, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more =
|
|
232
|
+
}, this.yytext += r[0], this.match += r[0], this.matches = r, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = false, this._backtrack = false, this._input = this._input.slice(r[0].length), this.matched += r[0], l = this.performAction.call(this, this.yy, this, a, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = false), l)
|
|
233
233
|
return l;
|
|
234
234
|
if (this._backtrack) {
|
|
235
235
|
for (var o in f)
|
|
236
236
|
this[o] = f[o];
|
|
237
|
-
return
|
|
237
|
+
return false;
|
|
238
238
|
}
|
|
239
|
-
return
|
|
239
|
+
return false;
|
|
240
240
|
}, "test_match"),
|
|
241
241
|
// return next match in input
|
|
242
242
|
next: /* @__PURE__ */ i(function() {
|
|
243
243
|
if (this.done)
|
|
244
244
|
return this.EOF;
|
|
245
|
-
this._input || (this.done =
|
|
245
|
+
this._input || (this.done = true);
|
|
246
246
|
var r, a, l, y;
|
|
247
247
|
this._more || (this.yytext = "", this.match = "");
|
|
248
248
|
for (var f = this._currentRules(), o = 0; o < f.length; o++)
|
|
249
249
|
if (l = this._input.match(this.rules[f[o]]), l && (!a || l[0].length > a[0].length)) {
|
|
250
250
|
if (a = l, y = o, this.options.backtrack_lexer) {
|
|
251
|
-
if (r = this.test_match(l, f[o]), r !==
|
|
251
|
+
if (r = this.test_match(l, f[o]), r !== false)
|
|
252
252
|
return r;
|
|
253
253
|
if (this._backtrack) {
|
|
254
|
-
a =
|
|
254
|
+
a = false;
|
|
255
255
|
continue;
|
|
256
256
|
} else
|
|
257
|
-
return
|
|
257
|
+
return false;
|
|
258
258
|
} else if (!this.options.flex)
|
|
259
259
|
break;
|
|
260
260
|
}
|
|
261
|
-
return a ? (r = this.test_match(a, f[y]), r !==
|
|
261
|
+
return a ? (r = this.test_match(a, f[y]), r !== false ? r : false) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
|
|
262
262
|
` + this.showPosition(), {
|
|
263
263
|
text: "",
|
|
264
264
|
token: null,
|
|
@@ -295,7 +295,7 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[v] || v) + "'" : G = "
|
|
|
295
295
|
stateStackSize: /* @__PURE__ */ i(function() {
|
|
296
296
|
return this.conditionStack.length;
|
|
297
297
|
}, "stateStackSize"),
|
|
298
|
-
options: { "case-insensitive":
|
|
298
|
+
options: { "case-insensitive": true },
|
|
299
299
|
performAction: /* @__PURE__ */ i(function(a, l, y, f) {
|
|
300
300
|
switch (y) {
|
|
301
301
|
case 0:
|
|
@@ -343,7 +343,7 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[v] || v) + "'" : G = "
|
|
|
343
343
|
}
|
|
344
344
|
}, "anonymous"),
|
|
345
345
|
rules: [/^(?:%(?!\{)[^\n]*)/i, /^(?:[^\}]%%[^\n]*)/i, /^(?:[\n]+)/i, /^(?:\s+)/i, /^(?:#[^\n]*)/i, /^(?:journey\b)/i, /^(?:title\s[^#\n;]+)/i, /^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:[\}])/i, /^(?:[^\}]*)/i, /^(?:section\s[^#:\n;]+)/i, /^(?:[^#:\n;]+)/i, /^(?::[^#\n;]+)/i, /^(?::)/i, /^(?:$)/i, /^(?:.)/i],
|
|
346
|
-
conditions: { acc_descr_multiline: { rules: [12, 13], inclusive:
|
|
346
|
+
conditions: { acc_descr_multiline: { rules: [12, 13], inclusive: false }, acc_descr: { rules: [10], inclusive: false }, acc_title: { rules: [8], inclusive: false }, INITIAL: { rules: [0, 1, 2, 3, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18, 19], inclusive: true } }
|
|
347
347
|
};
|
|
348
348
|
return g;
|
|
349
349
|
}();
|
|
@@ -397,7 +397,7 @@ var $t = H, V = "", U = [], F = [], R = [], Mt = /* @__PURE__ */ i(function() {
|
|
|
397
397
|
const t = /* @__PURE__ */ i(function(n) {
|
|
398
398
|
return R[n].processed;
|
|
399
399
|
}, "compileTask");
|
|
400
|
-
let e =
|
|
400
|
+
let e = true;
|
|
401
401
|
for (const [n, c] of R.entries())
|
|
402
402
|
t(n), e = e && c.processed;
|
|
403
403
|
return e;
|