@marimo-team/islands 0.13.16-dev2 → 0.13.16-dev4
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-BizAnuDQ.js → ConnectedDataExplorerComponent-W-BOfG8M.js} +1495 -1496
- package/dist/{VegaLite-BvtjUHLS.js → VegaLite-C9hsmU75.js} +12483 -12485
- package/dist/{_baseUniq-C1K8a5jF.js → _baseUniq-JsDeIdvj.js} +13 -13
- package/dist/{any-language-editor-D3C2KiQW.js → any-language-editor-BzZqDQm_.js} +2 -2
- package/dist/{architectureDiagram-IEHRJDOE-DhrFWr1a.js → architectureDiagram-IEHRJDOE-DnNsdc8e.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-C_KEbscf.js +2249 -0
- package/dist/{c4Diagram-VJAJSXHY-DKSU0_Zg.js → c4Diagram-VJAJSXHY-B7trZ6_H.js} +401 -400
- package/dist/{channel-DMiLp-mI.js → channel-CwUzkjN9.js} +1 -1
- package/dist/chunk-4BMEZGHF-C4_0qa8X.js +9 -0
- package/dist/chunk-A2AXSNBT-DApfdN4z.js +1373 -0
- package/dist/chunk-AEK57VVT-D_rUaIu3.js +1416 -0
- package/dist/{chunk-D6G4REZN-BZV3ukOi.js → chunk-D6G4REZN-BJurAONC.js} +2 -2
- package/dist/{chunk-RZ5BOZE2-B4rOVQD8.js → chunk-RZ5BOZE2-ChOs68Hz.js} +8 -8
- package/dist/chunk-XZIHB7SX-CGbScEEe.js +16 -0
- package/dist/{classDiagram-GIVACNV2-DLRT4_A4.js → classDiagram-GIVACNV2-CqVjeibK.js} +2 -2
- package/dist/{classDiagram-v2-COTLJTTW-DLRT4_A4.js → classDiagram-v2-COTLJTTW-CqVjeibK.js} +2 -2
- package/dist/clojure-CCKyeQKf.js +2 -2
- package/dist/{clone-CPwu6xRn.js → clone-BPHB9gtw.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-EJUR9APO.js +447 -0
- package/dist/{data-editor-CYvUeKhw.js → data-editor-CvujN_l-.js} +5785 -5795
- package/dist/{diagram-SSKATNLV-D8WhiY2q.js → diagram-SSKATNLV-Bs-Zy3OO.js} +13 -13
- package/dist/{diagram-VNBRO52H-Bil9sOsr.js → diagram-VNBRO52H-rhV7IJ0T.js} +3 -3
- package/dist/{erDiagram-Q7BY3M3F-J-Jm-DD7.js → erDiagram-Q7BY3M3F-DwuCpdOL.js} +263 -262
- package/dist/flowDiagram-4HSFHLVR-CpbGvx3R.js +1623 -0
- package/dist/{ganttDiagram-APWFNJXF-C2G0-fOq.js → ganttDiagram-APWFNJXF-B9ih7Ggj.js} +45 -45
- package/dist/gitGraphDiagram-7IBYFJ6S-tTFS2NlF.js +712 -0
- package/dist/{graph-BFerxzEi.js → graph-DiSBbvS5.js} +9 -9
- package/dist/{index-DfpR00QG.js → index-BZo5-DOE.js} +99 -98
- package/dist/{index-j8M50mVa.js → index-CmU7bpCv.js} +4 -4
- package/dist/{index-DkuVwdVm.js → index-KrnLhU30.js} +9 -9
- package/dist/{index-BhtvwOag.js → index-TeAlNqJE.js} +28 -28
- package/dist/{infoDiagram-PH2N3AL5-AYtb1_Lz.js → infoDiagram-PH2N3AL5-COt3b362.js} +3 -3
- package/dist/javascript-WMWNx-Vj.js +47 -47
- package/dist/{journeyDiagram-U35MCT3I-Bdz9gIBI.js → journeyDiagram-U35MCT3I-Civ2cUVg.js} +18 -18
- package/dist/kanban-definition-NDS4AKOZ-QxhTc8lo.js +719 -0
- package/dist/{katex-9tX9hjoM.js → katex-CUSbq6rG.js} +2180 -2180
- package/dist/{layout-Qs-BVu8V.js → layout-B0SQ1LdD.js} +27 -27
- package/dist/{linear-SIbCb7yI.js → linear-Bn_UtFyT.js} +2 -2
- package/dist/main-ClxYr2BI.js +169878 -0
- package/dist/main.js +1 -1
- package/dist/mermaid-M3c3q4Qd.js +14517 -0
- package/dist/{mhchem-L5-rce7L.js → mhchem-Db_f2n8C.js} +30 -30
- package/dist/{min-BTA1UVkn.js → min-C0Jzc_ko.js} +2 -2
- package/dist/{mindmap-definition-ALO5MXBD-CdrD5BzZ.js → mindmap-definition-ALO5MXBD-BW8IbhiG.js} +359 -359
- package/dist/mllike-BSnXJBGA.js +7 -7
- package/dist/{pieDiagram-IB7DONF6-BbbxWeqU.js → pieDiagram-IB7DONF6-DIa7m5Au.js} +34 -34
- package/dist/pug-BqUR2bBq.js +35 -35
- package/dist/python-B5QdSKoL.js +18 -18
- package/dist/quadrantDiagram-7GDLP6J5-D1HtkiJK.js +1025 -0
- package/dist/{radar-MK3ICKWK-Z5R0bt0z.js → radar-MK3ICKWK-Dm3jRuoE.js} +2555 -2554
- package/dist/{react-plotly-DqDxe4Uh.js → react-plotly-CJ3A7ju0.js} +6595 -6597
- package/dist/{requirementDiagram-KVF5MWMF-DMnvzAxX.js → requirementDiagram-KVF5MWMF-b-q1aUEu.js} +251 -250
- package/dist/rpm-IznJm2Xc.js +9 -9
- package/dist/{sankeyDiagram-QLVOVGJD-DbUWg3a4.js → sankeyDiagram-QLVOVGJD-Bo4y0LBQ.js} +339 -338
- package/dist/{sequenceDiagram-X6HHIX6F-JltcBwLF.js → sequenceDiagram-X6HHIX6F-DMq4wla5.js} +822 -821
- package/dist/{slides-component-DVr5mf9p.js → slides-component-Cyh202Vq.js} +280 -280
- package/dist/sql-mMre1Bo3.js +9 -9
- package/dist/{stateDiagram-DGXRK772-qbXtyoS6.js → stateDiagram-DGXRK772-D_y0WAcv.js} +17 -17
- package/dist/{stateDiagram-v2-YXO3MK2T-Ba7q5pMK.js → stateDiagram-v2-YXO3MK2T-CHK5LNw7.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/{time-DHD8Fix8.js → time-YVQKuiUR.js} +2 -2
- package/dist/{timeline-definition-BDJGKUSR-q4gOCBRq.js → timeline-definition-BDJGKUSR-DH63_P4w.js} +261 -261
- package/dist/timer-BYwnU4DF.js +378 -378
- package/dist/ttcn-cfg-Bac_acMi.js +9 -9
- package/dist/{vega-component-D2NZFVvw.js → vega-component-CUFBFMjm.js} +82 -82
- package/dist/{xychartDiagram-VJFVF3MP-BZs9xPvU.js → xychartDiagram-VJFVF3MP-3NU7tduZ.js} +472 -471
- package/package.json +1 -1
- package/dist/blockDiagram-JOT3LUYC-COVagShg.js +0 -2248
- package/dist/chunk-4BMEZGHF-CeMSohVe.js +0 -9
- package/dist/chunk-A2AXSNBT-mQ3fXQfx.js +0 -1372
- package/dist/chunk-AEK57VVT-B7kw2yt6.js +0 -1415
- package/dist/chunk-XZIHB7SX-C3-5SkZh.js +0 -15
- package/dist/dagre-OKDRZEBW-yEQf6TwX.js +0 -447
- package/dist/flowDiagram-4HSFHLVR-Dhymtq1g.js +0 -1622
- package/dist/gitGraphDiagram-7IBYFJ6S-DCZAwPro.js +0 -712
- package/dist/kanban-definition-NDS4AKOZ-ByLpDX9Y.js +0 -719
- package/dist/main-Cx3zrED9.js +0 -156521
- package/dist/mermaid-DAi_EtLa.js +0 -11991
- package/dist/quadrantDiagram-7GDLP6J5-1UQgbW9Z.js +0 -1024
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as me } from "./main-
|
|
1
|
+
import { S as me } from "./main-ClxYr2BI.js";
|
|
2
2
|
const d = (s) => s.flatMap(Oe), Oe = (s) => G(fe(s)).map(Le), Le = (s) => s.replace(/ +/g, " ").trim(), fe = (s) => ({
|
|
3
3
|
type: "mandatory_block",
|
|
4
4
|
items: q(s, 0)[0]
|
|
@@ -70,8 +70,8 @@ var n;
|
|
|
70
70
|
})(n = n || (n = {}));
|
|
71
71
|
const le = (s) => ({
|
|
72
72
|
type: n.EOF,
|
|
73
|
-
raw: "
|
|
74
|
-
text: "
|
|
73
|
+
raw: "\xABEOF\xBB",
|
|
74
|
+
text: "\xABEOF\xBB",
|
|
75
75
|
start: s
|
|
76
76
|
});
|
|
77
77
|
le(1 / 0);
|
|
@@ -1031,22 +1031,22 @@ const de = (s) => s === n.RESERVED_DATA_TYPE || s === n.RESERVED_KEYWORD || s ==
|
|
|
1031
1031
|
reservedSetOperations: Be,
|
|
1032
1032
|
reservedJoins: Ge,
|
|
1033
1033
|
reservedPhrases: Ye,
|
|
1034
|
-
supportsXor:
|
|
1034
|
+
supportsXor: true,
|
|
1035
1035
|
reservedKeywords: $e,
|
|
1036
1036
|
reservedDataTypes: Ue,
|
|
1037
1037
|
reservedFunctionNames: xe,
|
|
1038
|
-
nestedBlockComments:
|
|
1038
|
+
nestedBlockComments: true,
|
|
1039
1039
|
extraParens: ["[]", "{}"],
|
|
1040
1040
|
stringTypes: [
|
|
1041
1041
|
"$$",
|
|
1042
1042
|
"''-qq",
|
|
1043
|
-
{ quote: "''-qq-bs", prefixes: ["E"], requirePrefix:
|
|
1044
|
-
{ quote: "''-raw", prefixes: ["B", "X"], requirePrefix:
|
|
1043
|
+
{ quote: "''-qq-bs", prefixes: ["E"], requirePrefix: true },
|
|
1044
|
+
{ quote: "''-raw", prefixes: ["B", "X"], requirePrefix: true }
|
|
1045
1045
|
],
|
|
1046
1046
|
identTypes: ['""-qq'],
|
|
1047
1047
|
identChars: { rest: "$" },
|
|
1048
1048
|
// TODO: named params $foo currently conflict with $$-quoted strings
|
|
1049
|
-
paramTypes: { positional:
|
|
1049
|
+
paramTypes: { positional: true, numbered: ["$"], quoted: ["$"] },
|
|
1050
1050
|
operators: [
|
|
1051
1051
|
// Arithmetic:
|
|
1052
1052
|
"//",
|
|
@@ -1485,8 +1485,8 @@ const h = (s) => Y(s.toUpperCase()), ae = /* @__PURE__ */ new Map(), ze = (s) =>
|
|
|
1485
1485
|
var e;
|
|
1486
1486
|
return {
|
|
1487
1487
|
alwaysDenseOperators: s.alwaysDenseOperators || [],
|
|
1488
|
-
onelineClauses: Object.fromEntries(s.onelineClauses.map((t) => [t,
|
|
1489
|
-
tabularOnelineClauses: Object.fromEntries(((e = s.tabularOnelineClauses) !== null && e !== void 0 ? e : s.onelineClauses).map((t) => [t,
|
|
1488
|
+
onelineClauses: Object.fromEntries(s.onelineClauses.map((t) => [t, true])),
|
|
1489
|
+
tabularOnelineClauses: Object.fromEntries(((e = s.tabularOnelineClauses) !== null && e !== void 0 ? e : s.onelineClauses).map((t) => [t, true]))
|
|
1490
1490
|
};
|
|
1491
1491
|
};
|
|
1492
1492
|
function ts(s) {
|
|
@@ -1528,8 +1528,8 @@ function is() {
|
|
|
1528
1528
|
return this.id = ++e.highestId, this.name = i, this.symbols = E, this.postprocess = l, this;
|
|
1529
1529
|
}
|
|
1530
1530
|
e.highestId = 0, e.prototype.toString = function(i) {
|
|
1531
|
-
var E = typeof i > "u" ? this.symbols.map(f).join(" ") : this.symbols.slice(0, i).map(f).join(" ") + "
|
|
1532
|
-
return this.name + "
|
|
1531
|
+
var E = typeof i > "u" ? this.symbols.map(f).join(" ") : this.symbols.slice(0, i).map(f).join(" ") + " \u25CF " + this.symbols.slice(i).map(f).join(" ");
|
|
1532
|
+
return this.name + " \u2192 " + E;
|
|
1533
1533
|
};
|
|
1534
1534
|
function t(i, E, l, R) {
|
|
1535
1535
|
this.rule = i, this.dot = E, this.reference = l, this.data = [], this.wantedBy = R, this.isComplete = this.dot === i.symbols.length;
|
|
@@ -1653,7 +1653,7 @@ function is() {
|
|
|
1653
1653
|
else
|
|
1654
1654
|
var R = o.fromCompiled(i, E);
|
|
1655
1655
|
this.grammar = R, this.options = {
|
|
1656
|
-
keepHistory:
|
|
1656
|
+
keepHistory: false,
|
|
1657
1657
|
lexer: R.lexer || new c()
|
|
1658
1658
|
};
|
|
1659
1659
|
for (var p in l || {})
|
|
@@ -1682,7 +1682,7 @@ function is() {
|
|
|
1682
1682
|
for (var I = l.text !== void 0 ? l.text : l.value, L = E.constructor === c ? l.value : l, N = p.scannable, P = N.length; P--; ) {
|
|
1683
1683
|
var w = N[P], g = w.rule.symbols[w.dot];
|
|
1684
1684
|
if (g.test ? g.test(L) : g.type ? g.type === l.type : g.literal === I) {
|
|
1685
|
-
var he = w.nextState({ data: L, token: l, isToken:
|
|
1685
|
+
var he = w.nextState({ data: L, token: l, isToken: true, reference: T - 1 });
|
|
1686
1686
|
u.states.push(he);
|
|
1687
1687
|
}
|
|
1688
1688
|
}
|
|
@@ -1879,12 +1879,12 @@ const A = new Ie((s) => []), b = ([[s]]) => s, m = (s) => ({
|
|
|
1879
1879
|
type: _.data_type,
|
|
1880
1880
|
text: s.text,
|
|
1881
1881
|
raw: s.raw
|
|
1882
|
-
}), O = (s, { leading: e, trailing: t }) => (e
|
|
1883
|
-
if (e
|
|
1882
|
+
}), O = (s, { leading: e, trailing: t }) => ((e == null ? void 0 : e.length) && (s = Object.assign(Object.assign({}, s), { leadingComments: e })), (t == null ? void 0 : t.length) && (s = Object.assign(Object.assign({}, s), { trailingComments: t })), s), cs = (s, { leading: e, trailing: t }) => {
|
|
1883
|
+
if (e == null ? void 0 : e.length) {
|
|
1884
1884
|
const [r, ...o] = s;
|
|
1885
1885
|
s = [O(r, { leading: e }), ...o];
|
|
1886
1886
|
}
|
|
1887
|
-
if (t
|
|
1887
|
+
if (t == null ? void 0 : t.length) {
|
|
1888
1888
|
const r = s.slice(0, -1), o = s[s.length - 1];
|
|
1889
1889
|
s = [...r, O(o, { trailing: t })];
|
|
1890
1890
|
}
|
|
@@ -2072,7 +2072,7 @@ const A = new Ie((s) => []), b = ([[s]]) => s, m = (s) => ({
|
|
|
2072
2072
|
symbols: [A.has("ARRAY_IDENTIFIER") ? { type: "ARRAY_IDENTIFIER" } : ARRAY_IDENTIFIER, "_", "square_brackets"],
|
|
2073
2073
|
postprocess: ([s, e, t]) => ({
|
|
2074
2074
|
type: _.array_subscript,
|
|
2075
|
-
array: O({ type: _.identifier, quoted:
|
|
2075
|
+
array: O({ type: _.identifier, quoted: false, text: s.text }, { trailing: e }),
|
|
2076
2076
|
parenthesis: t
|
|
2077
2077
|
})
|
|
2078
2078
|
},
|
|
@@ -2455,7 +2455,7 @@ class ue {
|
|
|
2455
2455
|
}
|
|
2456
2456
|
class fs extends Ne {
|
|
2457
2457
|
constructor(e) {
|
|
2458
|
-
super(new ue("")), this.expressionWidth = e, this.length = 0, this.trailingSpace =
|
|
2458
|
+
super(new ue("")), this.expressionWidth = e, this.length = 0, this.trailingSpace = false;
|
|
2459
2459
|
}
|
|
2460
2460
|
add(...e) {
|
|
2461
2461
|
if (e.forEach((t) => this.addToLength(t)), this.length > this.expressionWidth)
|
|
@@ -2464,19 +2464,19 @@ class fs extends Ne {
|
|
|
2464
2464
|
}
|
|
2465
2465
|
addToLength(e) {
|
|
2466
2466
|
if (typeof e == "string")
|
|
2467
|
-
this.length += e.length, this.trailingSpace =
|
|
2467
|
+
this.length += e.length, this.trailingSpace = false;
|
|
2468
2468
|
else {
|
|
2469
2469
|
if (e === a.MANDATORY_NEWLINE || e === a.NEWLINE)
|
|
2470
2470
|
throw new J();
|
|
2471
|
-
e === a.INDENT || e === a.SINGLE_INDENT || e === a.SPACE ? this.trailingSpace || (this.length++, this.trailingSpace =
|
|
2471
|
+
e === a.INDENT || e === a.SINGLE_INDENT || e === a.SPACE ? this.trailingSpace || (this.length++, this.trailingSpace = true) : (e === a.NO_NEWLINE || e === a.NO_SPACE) && this.trailingSpace && (this.trailingSpace = false, this.length--);
|
|
2472
2472
|
}
|
|
2473
2473
|
}
|
|
2474
2474
|
}
|
|
2475
2475
|
class J extends Error {
|
|
2476
2476
|
}
|
|
2477
2477
|
class v {
|
|
2478
|
-
constructor({ cfg: e, dialectCfg: t, params: r, layout: o, inline: c =
|
|
2479
|
-
this.inline =
|
|
2478
|
+
constructor({ cfg: e, dialectCfg: t, params: r, layout: o, inline: c = false }) {
|
|
2479
|
+
this.inline = false, this.nodes = [], this.index = -1, this.cfg = e, this.dialectCfg = t, this.inline = c, this.params = r, this.layout = o;
|
|
2480
2480
|
}
|
|
2481
2481
|
format(e) {
|
|
2482
2482
|
for (this.nodes = e, this.index = 0; this.index < this.nodes.length; this.index++)
|
|
@@ -2698,7 +2698,7 @@ class v {
|
|
|
2698
2698
|
dialectCfg: this.dialectCfg,
|
|
2699
2699
|
params: this.params,
|
|
2700
2700
|
layout: new fs(this.cfg.expressionWidth),
|
|
2701
|
-
inline:
|
|
2701
|
+
inline: true
|
|
2702
2702
|
}).format(e);
|
|
2703
2703
|
} catch (r) {
|
|
2704
2704
|
if (r instanceof J) {
|
|
@@ -2837,7 +2837,7 @@ function Ps(s) {
|
|
|
2837
2837
|
return (s instanceof Array ? s : Object.values(s)).every((t) => typeof t == "string");
|
|
2838
2838
|
}
|
|
2839
2839
|
function Ds(s) {
|
|
2840
|
-
return s.custom && Array.isArray(s.custom) ? s.custom.every((e) => e.regex !== "") :
|
|
2840
|
+
return s.custom && Array.isArray(s.custom) ? s.custom.every((e) => e.regex !== "") : true;
|
|
2841
2841
|
}
|
|
2842
2842
|
var bs = function(s, e) {
|
|
2843
2843
|
var t = {};
|
|
@@ -2849,7 +2849,7 @@ var bs = function(s, e) {
|
|
|
2849
2849
|
};
|
|
2850
2850
|
const ds = {
|
|
2851
2851
|
tabWidth: 2,
|
|
2852
|
-
useTabs:
|
|
2852
|
+
useTabs: false,
|
|
2853
2853
|
keywordCase: "preserve",
|
|
2854
2854
|
identifierCase: "preserve",
|
|
2855
2855
|
dataTypeCase: "preserve",
|
|
@@ -2858,8 +2858,8 @@ const ds = {
|
|
|
2858
2858
|
logicalOperatorNewline: "before",
|
|
2859
2859
|
expressionWidth: 50,
|
|
2860
2860
|
linesBetweenQueries: 1,
|
|
2861
|
-
denseOperators:
|
|
2862
|
-
newlineBeforeSemicolon:
|
|
2861
|
+
denseOperators: false,
|
|
2862
|
+
newlineBeforeSemicolon: false
|
|
2863
2863
|
}, $s = (s, e) => {
|
|
2864
2864
|
var { dialect: t } = e, r = bs(e, ["dialect"]);
|
|
2865
2865
|
if (typeof s != "string")
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as e, l as s, K as o, e as i, L as g } from "./mermaid-
|
|
2
|
-
import { p } from "./radar-MK3ICKWK-
|
|
1
|
+
import { _ as e, l as s, K as o, e as i, L as g } from "./mermaid-M3c3q4Qd.js";
|
|
2
|
+
import { p } from "./radar-MK3ICKWK-Dm3jRuoE.js";
|
|
3
3
|
var v = {
|
|
4
4
|
parse: /* @__PURE__ */ e(async (r) => {
|
|
5
5
|
const a = await p("info", r);
|
|
@@ -11,7 +11,7 @@ var v = {
|
|
|
11
11
|
s.debug(`rendering info diagram
|
|
12
12
|
` + r);
|
|
13
13
|
const t = o(a);
|
|
14
|
-
i(t, 100, 400,
|
|
14
|
+
i(t, 100, 400, true), t.append("g").append("text").attr("x", 100).attr("y", 40).attr("class", "version").attr("font-size", 32).style("text-anchor", "middle").text(`v${n}`);
|
|
15
15
|
}, "draw"), f = { draw: l }, b = {
|
|
16
16
|
parser: v,
|
|
17
17
|
db: m,
|
|
@@ -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-BJurAONC.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-M3c3q4Qd.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;
|