@podlite/markdown 0.0.56 → 0.0.57
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/lib/index.cjs +38 -36
- package/lib/index.cjs.map +4 -4
- package/lib/index.esm.js +1647 -496
- package/lib/index.esm.js.map +4 -4
- package/package.json +2 -2
package/lib/index.esm.js
CHANGED
|
@@ -6539,7 +6539,7 @@ var require_json_pointer = __commonJS({
|
|
|
6539
6539
|
}, descend);
|
|
6540
6540
|
return results;
|
|
6541
6541
|
};
|
|
6542
|
-
api.walk = function
|
|
6542
|
+
api.walk = function walk2(obj, iterator, descend) {
|
|
6543
6543
|
var refTokens = [];
|
|
6544
6544
|
descend = descend || function(value) {
|
|
6545
6545
|
var type = Object.prototype.toString.call(value);
|
|
@@ -15095,80 +15095,102 @@ var require_grammarfc = __commonJS({
|
|
|
15095
15095
|
return text5;
|
|
15096
15096
|
}, peg$c64 = "|", peg$c65 = peg$literalExpectation("|", false), peg$c66 = function(text5) {
|
|
15097
15097
|
return text5;
|
|
15098
|
-
}, peg$c67 = function(
|
|
15098
|
+
}, peg$c67 = ":", peg$c68 = peg$literalExpectation(":", false), peg$c69 = /^[']/, peg$c70 = peg$classExpectation(["'"], false, false), peg$c71 = /^[^'\n\r]/, peg$c72 = peg$classExpectation(["'", "\n", "\r"], true, false), peg$c73 = /^["]/, peg$c74 = peg$classExpectation(['"'], false, false), peg$c75 = /^[^"\n\r]/, peg$c76 = peg$classExpectation(['"', "\n", "\r"], true, false), peg$c77 = function(t) {
|
|
15099
|
+
return t;
|
|
15100
|
+
}, peg$c78 = function(name) {
|
|
15099
15101
|
return name.code === "L" || name.code === "W";
|
|
15100
|
-
}, peg$
|
|
15102
|
+
}, peg$c79 = function(name, content4, spec, attrs, end_tag) {
|
|
15103
|
+
return end_tag === name.end_tag;
|
|
15104
|
+
}, peg$c80 = function(name, content4, spec, attrs, end_tag) {
|
|
15105
|
+
return {
|
|
15106
|
+
content: content4,
|
|
15107
|
+
"type": "fcode",
|
|
15108
|
+
name: name.code,
|
|
15109
|
+
meta: link_target(spec),
|
|
15110
|
+
config: link_items(attrs, options)
|
|
15111
|
+
};
|
|
15112
|
+
}, peg$c81 = function(name, spec, attrs, end_tag) {
|
|
15113
|
+
return end_tag === name.end_tag;
|
|
15114
|
+
}, peg$c82 = function(name, spec, attrs, end_tag) {
|
|
15115
|
+
return {
|
|
15116
|
+
content: [link_target(spec)],
|
|
15117
|
+
"type": "fcode",
|
|
15118
|
+
name: name.code,
|
|
15119
|
+
meta: null,
|
|
15120
|
+
config: link_items(attrs, options)
|
|
15121
|
+
};
|
|
15122
|
+
}, peg$c83 = function(name, content4, t) {
|
|
15101
15123
|
return t;
|
|
15102
|
-
}, peg$
|
|
15124
|
+
}, peg$c84 = function(name, content4, meta, end_tag) {
|
|
15103
15125
|
return end_tag === name.end_tag;
|
|
15104
|
-
}, peg$
|
|
15126
|
+
}, peg$c85 = function(name, content4, meta, end_tag) {
|
|
15105
15127
|
return {
|
|
15106
15128
|
content: content4,
|
|
15107
15129
|
"type": "fcode",
|
|
15108
15130
|
name: name.code,
|
|
15109
15131
|
meta
|
|
15110
15132
|
};
|
|
15111
|
-
}, peg$
|
|
15133
|
+
}, peg$c86 = ";", peg$c87 = peg$literalExpectation(";", false), peg$c88 = /^[ \xA0\u2001\t\f\u2008]/, peg$c89 = peg$classExpectation([" ", "\xA0", "\u2001", " ", "\f", "\u2008"], false, false), peg$c90 = function(code2, codes) {
|
|
15112
15134
|
return flattenDeep4([code2, codes]);
|
|
15113
|
-
}, peg$
|
|
15135
|
+
}, peg$c91 = function(code2) {
|
|
15114
15136
|
return [code2];
|
|
15115
|
-
}, peg$
|
|
15137
|
+
}, peg$c92 = /^[0-9]/, peg$c93 = peg$classExpectation([["0", "9"]], false, false), peg$c94 = "0d", peg$c95 = peg$literalExpectation("0d", false), peg$c96 = function(number) {
|
|
15116
15138
|
return parseInt(number, 10);
|
|
15117
|
-
}, peg$
|
|
15139
|
+
}, peg$c97 = "0o", peg$c98 = peg$literalExpectation("0o", false), peg$c99 = function(number) {
|
|
15118
15140
|
return parseInt(number, 8);
|
|
15119
|
-
}, peg$
|
|
15141
|
+
}, peg$c100 = "0b", peg$c101 = peg$literalExpectation("0b", false), peg$c102 = function(number) {
|
|
15120
15142
|
return parseInt(number, 2);
|
|
15121
|
-
}, peg$
|
|
15143
|
+
}, peg$c103 = "0x", peg$c104 = peg$literalExpectation("0x", false), peg$c105 = /^[0-9A-Fa-f]/, peg$c106 = peg$classExpectation([["0", "9"], ["A", "F"], ["a", "f"]], false, false), peg$c107 = function() {
|
|
15122
15144
|
return parseInt(text4());
|
|
15123
|
-
}, peg$
|
|
15145
|
+
}, peg$c108 = /^[A-Z ]/, peg$c109 = peg$classExpectation([["A", "Z"], " "], false, false), peg$c110 = function() {
|
|
15124
15146
|
return text4() === text4().toUpperCase();
|
|
15125
|
-
}, peg$
|
|
15147
|
+
}, peg$c111 = /^[a-z]/, peg$c112 = peg$classExpectation([["a", "z"]], false, false), peg$c113 = /^[a-z0-9]/, peg$c114 = peg$classExpectation([["a", "z"], ["0", "9"]], false, false), peg$c115 = function(s) {
|
|
15126
15148
|
return text4();
|
|
15127
|
-
}, peg$
|
|
15149
|
+
}, peg$c116 = function(number) {
|
|
15128
15150
|
return { type: "number", value: parseInt(number, 10) };
|
|
15129
|
-
}, peg$
|
|
15151
|
+
}, peg$c117 = function(name) {
|
|
15130
15152
|
return { type: "unicode_name", value: name };
|
|
15131
|
-
}, peg$
|
|
15153
|
+
}, peg$c118 = function(name) {
|
|
15132
15154
|
return { type: "html_named", value: name };
|
|
15133
|
-
}, peg$
|
|
15155
|
+
}, peg$c119 = function(name) {
|
|
15134
15156
|
return name === "E";
|
|
15135
|
-
}, peg$
|
|
15157
|
+
}, peg$c120 = function(name, t) {
|
|
15136
15158
|
return flattenDeep4(t);
|
|
15137
|
-
}, peg$
|
|
15159
|
+
}, peg$c121 = function(name, content4) {
|
|
15138
15160
|
return {
|
|
15139
15161
|
content: content4 ? content4 : [],
|
|
15140
15162
|
"type": "fcode",
|
|
15141
15163
|
name
|
|
15142
15164
|
};
|
|
15143
|
-
}, peg$
|
|
15165
|
+
}, peg$c122 = function(name) {
|
|
15144
15166
|
return name;
|
|
15145
|
-
}, peg$
|
|
15167
|
+
}, peg$c123 = function(name, begin_tag) {
|
|
15146
15168
|
return { code: name, begin_tag, end_tag: get_pair_tag(begin_tag) };
|
|
15147
|
-
}, peg$
|
|
15169
|
+
}, peg$c124 = function(name) {
|
|
15148
15170
|
return !(options.allowed || []).length || (options.allowed || []).includes(name);
|
|
15149
|
-
}, peg$
|
|
15171
|
+
}, peg$c125 = function(name, begin_tag, content4, end_tag) {
|
|
15150
15172
|
return end_tag === get_pair_tag(begin_tag);
|
|
15151
|
-
}, peg$
|
|
15173
|
+
}, peg$c126 = function(name, begin_tag, content4, end_tag) {
|
|
15152
15174
|
return { content: content4, type: "fcode", name };
|
|
15153
|
-
}, peg$
|
|
15175
|
+
}, peg$c127 = function(name, begin_tag, content4, t) {
|
|
15154
15176
|
return flattenDeep4(t);
|
|
15155
|
-
}, peg$
|
|
15177
|
+
}, peg$c128 = function(name, begin_tag, content4, items, end_tag) {
|
|
15156
15178
|
return end_tag === get_pair_tag(begin_tag);
|
|
15157
|
-
}, peg$
|
|
15179
|
+
}, peg$c129 = function(name, begin_tag, content4, items, end_tag) {
|
|
15158
15180
|
return { name, content: content4, items };
|
|
15159
|
-
}, peg$
|
|
15181
|
+
}, peg$c130 = function(name) {
|
|
15160
15182
|
return name === "C";
|
|
15161
|
-
}, peg$
|
|
15183
|
+
}, peg$c131 = "<<<", peg$c132 = peg$literalExpectation("<<<", false), peg$c133 = ">>>", peg$c134 = peg$literalExpectation(">>>", false), peg$c135 = function(name, text5) {
|
|
15162
15184
|
return text5;
|
|
15163
|
-
}, peg$
|
|
15185
|
+
}, peg$c136 = function(name, content4) {
|
|
15164
15186
|
return {
|
|
15165
15187
|
content: content4,
|
|
15166
15188
|
"type": "fcode",
|
|
15167
15189
|
name
|
|
15168
15190
|
};
|
|
15169
|
-
}, peg$
|
|
15191
|
+
}, peg$c137 = "<<", peg$c138 = peg$literalExpectation("<<", false), peg$c139 = ">>", peg$c140 = peg$literalExpectation(">>", false), peg$c141 = function(name) {
|
|
15170
15192
|
return name !== "C";
|
|
15171
|
-
}, peg$
|
|
15193
|
+
}, peg$c142 = function(name, content4) {
|
|
15172
15194
|
return { content: content4, type: "fcode", name };
|
|
15173
15195
|
}, peg$currPos = 0, peg$savedPos = 0, peg$posDetailsCache = [{ line: 1, column: 1 }], peg$maxFailPos = 0, peg$maxFailExpected = [], peg$silentFails = 0, peg$result;
|
|
15174
15196
|
if ("startRule" in options) {
|
|
@@ -16942,213 +16964,1254 @@ var require_grammarfc = __commonJS({
|
|
|
16942
16964
|
if (s7 === peg$FAILED) {
|
|
16943
16965
|
s6 = void 0;
|
|
16944
16966
|
} else {
|
|
16945
|
-
peg$currPos = s6;
|
|
16946
|
-
s6 = peg$FAILED;
|
|
16967
|
+
peg$currPos = s6;
|
|
16968
|
+
s6 = peg$FAILED;
|
|
16969
|
+
}
|
|
16970
|
+
if (s6 !== peg$FAILED) {
|
|
16971
|
+
s7 = peg$currPos;
|
|
16972
|
+
peg$silentFails++;
|
|
16973
|
+
s8 = peg$parselooks_like_code();
|
|
16974
|
+
peg$silentFails--;
|
|
16975
|
+
if (s8 === peg$FAILED) {
|
|
16976
|
+
s7 = void 0;
|
|
16977
|
+
} else {
|
|
16978
|
+
peg$currPos = s7;
|
|
16979
|
+
s7 = peg$FAILED;
|
|
16980
|
+
}
|
|
16981
|
+
if (s7 !== peg$FAILED) {
|
|
16982
|
+
if (input.length > peg$currPos) {
|
|
16983
|
+
s8 = input.charAt(peg$currPos);
|
|
16984
|
+
peg$currPos++;
|
|
16985
|
+
} else {
|
|
16986
|
+
s8 = peg$FAILED;
|
|
16987
|
+
if (peg$silentFails === 0) {
|
|
16988
|
+
peg$fail(peg$c51);
|
|
16989
|
+
}
|
|
16990
|
+
}
|
|
16991
|
+
if (s8 !== peg$FAILED) {
|
|
16992
|
+
s4 = [s4, s5, s6, s7, s8];
|
|
16993
|
+
s3 = s4;
|
|
16994
|
+
} else {
|
|
16995
|
+
peg$currPos = s3;
|
|
16996
|
+
s3 = peg$FAILED;
|
|
16997
|
+
}
|
|
16998
|
+
} else {
|
|
16999
|
+
peg$currPos = s3;
|
|
17000
|
+
s3 = peg$FAILED;
|
|
17001
|
+
}
|
|
17002
|
+
} else {
|
|
17003
|
+
peg$currPos = s3;
|
|
17004
|
+
s3 = peg$FAILED;
|
|
17005
|
+
}
|
|
17006
|
+
} else {
|
|
17007
|
+
peg$currPos = s3;
|
|
17008
|
+
s3 = peg$FAILED;
|
|
17009
|
+
}
|
|
17010
|
+
} else {
|
|
17011
|
+
peg$currPos = s3;
|
|
17012
|
+
s3 = peg$FAILED;
|
|
17013
|
+
}
|
|
17014
|
+
}
|
|
17015
|
+
}
|
|
17016
|
+
}
|
|
17017
|
+
} else {
|
|
17018
|
+
s2 = peg$FAILED;
|
|
17019
|
+
}
|
|
17020
|
+
if (s2 !== peg$FAILED) {
|
|
17021
|
+
s1 = input.substring(s1, peg$currPos);
|
|
17022
|
+
} else {
|
|
17023
|
+
s1 = s2;
|
|
17024
|
+
}
|
|
17025
|
+
if (s1 !== peg$FAILED) {
|
|
17026
|
+
peg$savedPos = s0;
|
|
17027
|
+
s1 = peg$c66(s1);
|
|
17028
|
+
}
|
|
17029
|
+
s0 = s1;
|
|
17030
|
+
return s0;
|
|
17031
|
+
}
|
|
17032
|
+
function peg$parselink_spec() {
|
|
17033
|
+
var s0, s1, s2, s3, s4, s5, s6;
|
|
17034
|
+
s0 = peg$currPos;
|
|
17035
|
+
s1 = [];
|
|
17036
|
+
s2 = peg$currPos;
|
|
17037
|
+
s3 = peg$currPos;
|
|
17038
|
+
peg$silentFails++;
|
|
17039
|
+
s4 = peg$currPos;
|
|
17040
|
+
s5 = peg$parsehs();
|
|
17041
|
+
if (s5 !== peg$FAILED) {
|
|
17042
|
+
if (input.charCodeAt(peg$currPos) === 58) {
|
|
17043
|
+
s6 = peg$c67;
|
|
17044
|
+
peg$currPos++;
|
|
17045
|
+
} else {
|
|
17046
|
+
s6 = peg$FAILED;
|
|
17047
|
+
if (peg$silentFails === 0) {
|
|
17048
|
+
peg$fail(peg$c68);
|
|
17049
|
+
}
|
|
17050
|
+
}
|
|
17051
|
+
if (s6 !== peg$FAILED) {
|
|
17052
|
+
s5 = [s5, s6];
|
|
17053
|
+
s4 = s5;
|
|
17054
|
+
} else {
|
|
17055
|
+
peg$currPos = s4;
|
|
17056
|
+
s4 = peg$FAILED;
|
|
17057
|
+
}
|
|
17058
|
+
} else {
|
|
17059
|
+
peg$currPos = s4;
|
|
17060
|
+
s4 = peg$FAILED;
|
|
17061
|
+
}
|
|
17062
|
+
peg$silentFails--;
|
|
17063
|
+
if (s4 === peg$FAILED) {
|
|
17064
|
+
s3 = void 0;
|
|
17065
|
+
} else {
|
|
17066
|
+
peg$currPos = s3;
|
|
17067
|
+
s3 = peg$FAILED;
|
|
17068
|
+
}
|
|
17069
|
+
if (s3 !== peg$FAILED) {
|
|
17070
|
+
s4 = peg$currPos;
|
|
17071
|
+
peg$silentFails++;
|
|
17072
|
+
s5 = peg$parseend_code();
|
|
17073
|
+
peg$silentFails--;
|
|
17074
|
+
if (s5 === peg$FAILED) {
|
|
17075
|
+
s4 = void 0;
|
|
17076
|
+
} else {
|
|
17077
|
+
peg$currPos = s4;
|
|
17078
|
+
s4 = peg$FAILED;
|
|
17079
|
+
}
|
|
17080
|
+
if (s4 !== peg$FAILED) {
|
|
17081
|
+
if (input.length > peg$currPos) {
|
|
17082
|
+
s5 = input.charAt(peg$currPos);
|
|
17083
|
+
peg$currPos++;
|
|
17084
|
+
} else {
|
|
17085
|
+
s5 = peg$FAILED;
|
|
17086
|
+
if (peg$silentFails === 0) {
|
|
17087
|
+
peg$fail(peg$c51);
|
|
17088
|
+
}
|
|
17089
|
+
}
|
|
17090
|
+
if (s5 !== peg$FAILED) {
|
|
17091
|
+
s3 = [s3, s4, s5];
|
|
17092
|
+
s2 = s3;
|
|
17093
|
+
} else {
|
|
17094
|
+
peg$currPos = s2;
|
|
17095
|
+
s2 = peg$FAILED;
|
|
17096
|
+
}
|
|
17097
|
+
} else {
|
|
17098
|
+
peg$currPos = s2;
|
|
17099
|
+
s2 = peg$FAILED;
|
|
17100
|
+
}
|
|
17101
|
+
} else {
|
|
17102
|
+
peg$currPos = s2;
|
|
17103
|
+
s2 = peg$FAILED;
|
|
17104
|
+
}
|
|
17105
|
+
while (s2 !== peg$FAILED) {
|
|
17106
|
+
s1.push(s2);
|
|
17107
|
+
s2 = peg$currPos;
|
|
17108
|
+
s3 = peg$currPos;
|
|
17109
|
+
peg$silentFails++;
|
|
17110
|
+
s4 = peg$currPos;
|
|
17111
|
+
s5 = peg$parsehs();
|
|
17112
|
+
if (s5 !== peg$FAILED) {
|
|
17113
|
+
if (input.charCodeAt(peg$currPos) === 58) {
|
|
17114
|
+
s6 = peg$c67;
|
|
17115
|
+
peg$currPos++;
|
|
17116
|
+
} else {
|
|
17117
|
+
s6 = peg$FAILED;
|
|
17118
|
+
if (peg$silentFails === 0) {
|
|
17119
|
+
peg$fail(peg$c68);
|
|
17120
|
+
}
|
|
17121
|
+
}
|
|
17122
|
+
if (s6 !== peg$FAILED) {
|
|
17123
|
+
s5 = [s5, s6];
|
|
17124
|
+
s4 = s5;
|
|
17125
|
+
} else {
|
|
17126
|
+
peg$currPos = s4;
|
|
17127
|
+
s4 = peg$FAILED;
|
|
17128
|
+
}
|
|
17129
|
+
} else {
|
|
17130
|
+
peg$currPos = s4;
|
|
17131
|
+
s4 = peg$FAILED;
|
|
17132
|
+
}
|
|
17133
|
+
peg$silentFails--;
|
|
17134
|
+
if (s4 === peg$FAILED) {
|
|
17135
|
+
s3 = void 0;
|
|
17136
|
+
} else {
|
|
17137
|
+
peg$currPos = s3;
|
|
17138
|
+
s3 = peg$FAILED;
|
|
17139
|
+
}
|
|
17140
|
+
if (s3 !== peg$FAILED) {
|
|
17141
|
+
s4 = peg$currPos;
|
|
17142
|
+
peg$silentFails++;
|
|
17143
|
+
s5 = peg$parseend_code();
|
|
17144
|
+
peg$silentFails--;
|
|
17145
|
+
if (s5 === peg$FAILED) {
|
|
17146
|
+
s4 = void 0;
|
|
17147
|
+
} else {
|
|
17148
|
+
peg$currPos = s4;
|
|
17149
|
+
s4 = peg$FAILED;
|
|
17150
|
+
}
|
|
17151
|
+
if (s4 !== peg$FAILED) {
|
|
17152
|
+
if (input.length > peg$currPos) {
|
|
17153
|
+
s5 = input.charAt(peg$currPos);
|
|
17154
|
+
peg$currPos++;
|
|
17155
|
+
} else {
|
|
17156
|
+
s5 = peg$FAILED;
|
|
17157
|
+
if (peg$silentFails === 0) {
|
|
17158
|
+
peg$fail(peg$c51);
|
|
17159
|
+
}
|
|
17160
|
+
}
|
|
17161
|
+
if (s5 !== peg$FAILED) {
|
|
17162
|
+
s3 = [s3, s4, s5];
|
|
17163
|
+
s2 = s3;
|
|
17164
|
+
} else {
|
|
17165
|
+
peg$currPos = s2;
|
|
17166
|
+
s2 = peg$FAILED;
|
|
17167
|
+
}
|
|
17168
|
+
} else {
|
|
17169
|
+
peg$currPos = s2;
|
|
17170
|
+
s2 = peg$FAILED;
|
|
17171
|
+
}
|
|
17172
|
+
} else {
|
|
17173
|
+
peg$currPos = s2;
|
|
17174
|
+
s2 = peg$FAILED;
|
|
17175
|
+
}
|
|
17176
|
+
}
|
|
17177
|
+
if (s1 !== peg$FAILED) {
|
|
17178
|
+
s0 = input.substring(s0, peg$currPos);
|
|
17179
|
+
} else {
|
|
17180
|
+
s0 = s1;
|
|
17181
|
+
}
|
|
17182
|
+
return s0;
|
|
17183
|
+
}
|
|
17184
|
+
function peg$parselink_spec_filled() {
|
|
17185
|
+
var s0, s1, s2, s3, s4, s5, s6;
|
|
17186
|
+
s0 = peg$currPos;
|
|
17187
|
+
s1 = [];
|
|
17188
|
+
s2 = peg$currPos;
|
|
17189
|
+
s3 = peg$currPos;
|
|
17190
|
+
peg$silentFails++;
|
|
17191
|
+
s4 = peg$currPos;
|
|
17192
|
+
s5 = peg$parsehs();
|
|
17193
|
+
if (s5 !== peg$FAILED) {
|
|
17194
|
+
if (input.charCodeAt(peg$currPos) === 58) {
|
|
17195
|
+
s6 = peg$c67;
|
|
17196
|
+
peg$currPos++;
|
|
17197
|
+
} else {
|
|
17198
|
+
s6 = peg$FAILED;
|
|
17199
|
+
if (peg$silentFails === 0) {
|
|
17200
|
+
peg$fail(peg$c68);
|
|
17201
|
+
}
|
|
17202
|
+
}
|
|
17203
|
+
if (s6 !== peg$FAILED) {
|
|
17204
|
+
s5 = [s5, s6];
|
|
17205
|
+
s4 = s5;
|
|
17206
|
+
} else {
|
|
17207
|
+
peg$currPos = s4;
|
|
17208
|
+
s4 = peg$FAILED;
|
|
17209
|
+
}
|
|
17210
|
+
} else {
|
|
17211
|
+
peg$currPos = s4;
|
|
17212
|
+
s4 = peg$FAILED;
|
|
17213
|
+
}
|
|
17214
|
+
peg$silentFails--;
|
|
17215
|
+
if (s4 === peg$FAILED) {
|
|
17216
|
+
s3 = void 0;
|
|
17217
|
+
} else {
|
|
17218
|
+
peg$currPos = s3;
|
|
17219
|
+
s3 = peg$FAILED;
|
|
17220
|
+
}
|
|
17221
|
+
if (s3 !== peg$FAILED) {
|
|
17222
|
+
s4 = peg$currPos;
|
|
17223
|
+
peg$silentFails++;
|
|
17224
|
+
s5 = peg$parseend_code();
|
|
17225
|
+
peg$silentFails--;
|
|
17226
|
+
if (s5 === peg$FAILED) {
|
|
17227
|
+
s4 = void 0;
|
|
17228
|
+
} else {
|
|
17229
|
+
peg$currPos = s4;
|
|
17230
|
+
s4 = peg$FAILED;
|
|
17231
|
+
}
|
|
17232
|
+
if (s4 !== peg$FAILED) {
|
|
17233
|
+
if (input.length > peg$currPos) {
|
|
17234
|
+
s5 = input.charAt(peg$currPos);
|
|
17235
|
+
peg$currPos++;
|
|
17236
|
+
} else {
|
|
17237
|
+
s5 = peg$FAILED;
|
|
17238
|
+
if (peg$silentFails === 0) {
|
|
17239
|
+
peg$fail(peg$c51);
|
|
17240
|
+
}
|
|
17241
|
+
}
|
|
17242
|
+
if (s5 !== peg$FAILED) {
|
|
17243
|
+
s3 = [s3, s4, s5];
|
|
17244
|
+
s2 = s3;
|
|
17245
|
+
} else {
|
|
17246
|
+
peg$currPos = s2;
|
|
17247
|
+
s2 = peg$FAILED;
|
|
17248
|
+
}
|
|
17249
|
+
} else {
|
|
17250
|
+
peg$currPos = s2;
|
|
17251
|
+
s2 = peg$FAILED;
|
|
17252
|
+
}
|
|
17253
|
+
} else {
|
|
17254
|
+
peg$currPos = s2;
|
|
17255
|
+
s2 = peg$FAILED;
|
|
17256
|
+
}
|
|
17257
|
+
if (s2 !== peg$FAILED) {
|
|
17258
|
+
while (s2 !== peg$FAILED) {
|
|
17259
|
+
s1.push(s2);
|
|
17260
|
+
s2 = peg$currPos;
|
|
17261
|
+
s3 = peg$currPos;
|
|
17262
|
+
peg$silentFails++;
|
|
17263
|
+
s4 = peg$currPos;
|
|
17264
|
+
s5 = peg$parsehs();
|
|
17265
|
+
if (s5 !== peg$FAILED) {
|
|
17266
|
+
if (input.charCodeAt(peg$currPos) === 58) {
|
|
17267
|
+
s6 = peg$c67;
|
|
17268
|
+
peg$currPos++;
|
|
17269
|
+
} else {
|
|
17270
|
+
s6 = peg$FAILED;
|
|
17271
|
+
if (peg$silentFails === 0) {
|
|
17272
|
+
peg$fail(peg$c68);
|
|
17273
|
+
}
|
|
17274
|
+
}
|
|
17275
|
+
if (s6 !== peg$FAILED) {
|
|
17276
|
+
s5 = [s5, s6];
|
|
17277
|
+
s4 = s5;
|
|
17278
|
+
} else {
|
|
17279
|
+
peg$currPos = s4;
|
|
17280
|
+
s4 = peg$FAILED;
|
|
17281
|
+
}
|
|
17282
|
+
} else {
|
|
17283
|
+
peg$currPos = s4;
|
|
17284
|
+
s4 = peg$FAILED;
|
|
17285
|
+
}
|
|
17286
|
+
peg$silentFails--;
|
|
17287
|
+
if (s4 === peg$FAILED) {
|
|
17288
|
+
s3 = void 0;
|
|
17289
|
+
} else {
|
|
17290
|
+
peg$currPos = s3;
|
|
17291
|
+
s3 = peg$FAILED;
|
|
17292
|
+
}
|
|
17293
|
+
if (s3 !== peg$FAILED) {
|
|
17294
|
+
s4 = peg$currPos;
|
|
17295
|
+
peg$silentFails++;
|
|
17296
|
+
s5 = peg$parseend_code();
|
|
17297
|
+
peg$silentFails--;
|
|
17298
|
+
if (s5 === peg$FAILED) {
|
|
17299
|
+
s4 = void 0;
|
|
17300
|
+
} else {
|
|
17301
|
+
peg$currPos = s4;
|
|
17302
|
+
s4 = peg$FAILED;
|
|
17303
|
+
}
|
|
17304
|
+
if (s4 !== peg$FAILED) {
|
|
17305
|
+
if (input.length > peg$currPos) {
|
|
17306
|
+
s5 = input.charAt(peg$currPos);
|
|
17307
|
+
peg$currPos++;
|
|
17308
|
+
} else {
|
|
17309
|
+
s5 = peg$FAILED;
|
|
17310
|
+
if (peg$silentFails === 0) {
|
|
17311
|
+
peg$fail(peg$c51);
|
|
17312
|
+
}
|
|
17313
|
+
}
|
|
17314
|
+
if (s5 !== peg$FAILED) {
|
|
17315
|
+
s3 = [s3, s4, s5];
|
|
17316
|
+
s2 = s3;
|
|
17317
|
+
} else {
|
|
17318
|
+
peg$currPos = s2;
|
|
17319
|
+
s2 = peg$FAILED;
|
|
17320
|
+
}
|
|
17321
|
+
} else {
|
|
17322
|
+
peg$currPos = s2;
|
|
17323
|
+
s2 = peg$FAILED;
|
|
17324
|
+
}
|
|
17325
|
+
} else {
|
|
17326
|
+
peg$currPos = s2;
|
|
17327
|
+
s2 = peg$FAILED;
|
|
17328
|
+
}
|
|
17329
|
+
}
|
|
17330
|
+
} else {
|
|
17331
|
+
s1 = peg$FAILED;
|
|
17332
|
+
}
|
|
17333
|
+
if (s1 !== peg$FAILED) {
|
|
17334
|
+
s0 = input.substring(s0, peg$currPos);
|
|
17335
|
+
} else {
|
|
17336
|
+
s0 = s1;
|
|
17337
|
+
}
|
|
17338
|
+
return s0;
|
|
17339
|
+
}
|
|
17340
|
+
function peg$parselink_config() {
|
|
17341
|
+
var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
17342
|
+
s0 = peg$currPos;
|
|
17343
|
+
s1 = [];
|
|
17344
|
+
s2 = peg$parsehs();
|
|
17345
|
+
if (s2 !== peg$FAILED) {
|
|
17346
|
+
while (s2 !== peg$FAILED) {
|
|
17347
|
+
s1.push(s2);
|
|
17348
|
+
s2 = peg$parsehs();
|
|
17349
|
+
}
|
|
17350
|
+
} else {
|
|
17351
|
+
s1 = peg$FAILED;
|
|
17352
|
+
}
|
|
17353
|
+
if (s1 !== peg$FAILED) {
|
|
17354
|
+
s2 = peg$currPos;
|
|
17355
|
+
s3 = [];
|
|
17356
|
+
s4 = peg$currPos;
|
|
17357
|
+
if (peg$c69.test(input.charAt(peg$currPos))) {
|
|
17358
|
+
s5 = input.charAt(peg$currPos);
|
|
17359
|
+
peg$currPos++;
|
|
17360
|
+
} else {
|
|
17361
|
+
s5 = peg$FAILED;
|
|
17362
|
+
if (peg$silentFails === 0) {
|
|
17363
|
+
peg$fail(peg$c70);
|
|
17364
|
+
}
|
|
17365
|
+
}
|
|
17366
|
+
if (s5 !== peg$FAILED) {
|
|
17367
|
+
s6 = [];
|
|
17368
|
+
if (peg$c71.test(input.charAt(peg$currPos))) {
|
|
17369
|
+
s7 = input.charAt(peg$currPos);
|
|
17370
|
+
peg$currPos++;
|
|
17371
|
+
} else {
|
|
17372
|
+
s7 = peg$FAILED;
|
|
17373
|
+
if (peg$silentFails === 0) {
|
|
17374
|
+
peg$fail(peg$c72);
|
|
17375
|
+
}
|
|
17376
|
+
}
|
|
17377
|
+
while (s7 !== peg$FAILED) {
|
|
17378
|
+
s6.push(s7);
|
|
17379
|
+
if (peg$c71.test(input.charAt(peg$currPos))) {
|
|
17380
|
+
s7 = input.charAt(peg$currPos);
|
|
17381
|
+
peg$currPos++;
|
|
17382
|
+
} else {
|
|
17383
|
+
s7 = peg$FAILED;
|
|
17384
|
+
if (peg$silentFails === 0) {
|
|
17385
|
+
peg$fail(peg$c72);
|
|
17386
|
+
}
|
|
17387
|
+
}
|
|
17388
|
+
}
|
|
17389
|
+
if (s6 !== peg$FAILED) {
|
|
17390
|
+
if (peg$c69.test(input.charAt(peg$currPos))) {
|
|
17391
|
+
s7 = input.charAt(peg$currPos);
|
|
17392
|
+
peg$currPos++;
|
|
17393
|
+
} else {
|
|
17394
|
+
s7 = peg$FAILED;
|
|
17395
|
+
if (peg$silentFails === 0) {
|
|
17396
|
+
peg$fail(peg$c70);
|
|
17397
|
+
}
|
|
17398
|
+
}
|
|
17399
|
+
if (s7 !== peg$FAILED) {
|
|
17400
|
+
s5 = [s5, s6, s7];
|
|
17401
|
+
s4 = s5;
|
|
17402
|
+
} else {
|
|
17403
|
+
peg$currPos = s4;
|
|
17404
|
+
s4 = peg$FAILED;
|
|
17405
|
+
}
|
|
17406
|
+
} else {
|
|
17407
|
+
peg$currPos = s4;
|
|
17408
|
+
s4 = peg$FAILED;
|
|
17409
|
+
}
|
|
17410
|
+
} else {
|
|
17411
|
+
peg$currPos = s4;
|
|
17412
|
+
s4 = peg$FAILED;
|
|
17413
|
+
}
|
|
17414
|
+
if (s4 === peg$FAILED) {
|
|
17415
|
+
s4 = peg$currPos;
|
|
17416
|
+
if (peg$c73.test(input.charAt(peg$currPos))) {
|
|
17417
|
+
s5 = input.charAt(peg$currPos);
|
|
17418
|
+
peg$currPos++;
|
|
17419
|
+
} else {
|
|
17420
|
+
s5 = peg$FAILED;
|
|
17421
|
+
if (peg$silentFails === 0) {
|
|
17422
|
+
peg$fail(peg$c74);
|
|
17423
|
+
}
|
|
17424
|
+
}
|
|
17425
|
+
if (s5 !== peg$FAILED) {
|
|
17426
|
+
s6 = [];
|
|
17427
|
+
if (peg$c75.test(input.charAt(peg$currPos))) {
|
|
17428
|
+
s7 = input.charAt(peg$currPos);
|
|
17429
|
+
peg$currPos++;
|
|
17430
|
+
} else {
|
|
17431
|
+
s7 = peg$FAILED;
|
|
17432
|
+
if (peg$silentFails === 0) {
|
|
17433
|
+
peg$fail(peg$c76);
|
|
17434
|
+
}
|
|
17435
|
+
}
|
|
17436
|
+
while (s7 !== peg$FAILED) {
|
|
17437
|
+
s6.push(s7);
|
|
17438
|
+
if (peg$c75.test(input.charAt(peg$currPos))) {
|
|
17439
|
+
s7 = input.charAt(peg$currPos);
|
|
17440
|
+
peg$currPos++;
|
|
17441
|
+
} else {
|
|
17442
|
+
s7 = peg$FAILED;
|
|
17443
|
+
if (peg$silentFails === 0) {
|
|
17444
|
+
peg$fail(peg$c76);
|
|
17445
|
+
}
|
|
17446
|
+
}
|
|
17447
|
+
}
|
|
17448
|
+
if (s6 !== peg$FAILED) {
|
|
17449
|
+
if (peg$c73.test(input.charAt(peg$currPos))) {
|
|
17450
|
+
s7 = input.charAt(peg$currPos);
|
|
17451
|
+
peg$currPos++;
|
|
17452
|
+
} else {
|
|
17453
|
+
s7 = peg$FAILED;
|
|
17454
|
+
if (peg$silentFails === 0) {
|
|
17455
|
+
peg$fail(peg$c74);
|
|
17456
|
+
}
|
|
17457
|
+
}
|
|
17458
|
+
if (s7 !== peg$FAILED) {
|
|
17459
|
+
s5 = [s5, s6, s7];
|
|
17460
|
+
s4 = s5;
|
|
17461
|
+
} else {
|
|
17462
|
+
peg$currPos = s4;
|
|
17463
|
+
s4 = peg$FAILED;
|
|
17464
|
+
}
|
|
17465
|
+
} else {
|
|
17466
|
+
peg$currPos = s4;
|
|
17467
|
+
s4 = peg$FAILED;
|
|
17468
|
+
}
|
|
17469
|
+
} else {
|
|
17470
|
+
peg$currPos = s4;
|
|
17471
|
+
s4 = peg$FAILED;
|
|
17472
|
+
}
|
|
17473
|
+
if (s4 === peg$FAILED) {
|
|
17474
|
+
s4 = peg$currPos;
|
|
17475
|
+
if (input.charCodeAt(peg$currPos) === 60) {
|
|
17476
|
+
s5 = peg$c54;
|
|
17477
|
+
peg$currPos++;
|
|
17478
|
+
} else {
|
|
17479
|
+
s5 = peg$FAILED;
|
|
17480
|
+
if (peg$silentFails === 0) {
|
|
17481
|
+
peg$fail(peg$c55);
|
|
17482
|
+
}
|
|
17483
|
+
}
|
|
17484
|
+
if (s5 !== peg$FAILED) {
|
|
17485
|
+
s6 = [];
|
|
17486
|
+
s7 = peg$currPos;
|
|
17487
|
+
s8 = peg$currPos;
|
|
17488
|
+
peg$silentFails++;
|
|
17489
|
+
if (input.charCodeAt(peg$currPos) === 62) {
|
|
17490
|
+
s9 = peg$c56;
|
|
17491
|
+
peg$currPos++;
|
|
17492
|
+
} else {
|
|
17493
|
+
s9 = peg$FAILED;
|
|
17494
|
+
if (peg$silentFails === 0) {
|
|
17495
|
+
peg$fail(peg$c57);
|
|
17496
|
+
}
|
|
17497
|
+
}
|
|
17498
|
+
peg$silentFails--;
|
|
17499
|
+
if (s9 === peg$FAILED) {
|
|
17500
|
+
s8 = void 0;
|
|
17501
|
+
} else {
|
|
17502
|
+
peg$currPos = s8;
|
|
17503
|
+
s8 = peg$FAILED;
|
|
17504
|
+
}
|
|
17505
|
+
if (s8 !== peg$FAILED) {
|
|
17506
|
+
if (input.length > peg$currPos) {
|
|
17507
|
+
s9 = input.charAt(peg$currPos);
|
|
17508
|
+
peg$currPos++;
|
|
17509
|
+
} else {
|
|
17510
|
+
s9 = peg$FAILED;
|
|
17511
|
+
if (peg$silentFails === 0) {
|
|
17512
|
+
peg$fail(peg$c51);
|
|
17513
|
+
}
|
|
17514
|
+
}
|
|
17515
|
+
if (s9 !== peg$FAILED) {
|
|
17516
|
+
s8 = [s8, s9];
|
|
17517
|
+
s7 = s8;
|
|
17518
|
+
} else {
|
|
17519
|
+
peg$currPos = s7;
|
|
17520
|
+
s7 = peg$FAILED;
|
|
17521
|
+
}
|
|
17522
|
+
} else {
|
|
17523
|
+
peg$currPos = s7;
|
|
17524
|
+
s7 = peg$FAILED;
|
|
17525
|
+
}
|
|
17526
|
+
while (s7 !== peg$FAILED) {
|
|
17527
|
+
s6.push(s7);
|
|
17528
|
+
s7 = peg$currPos;
|
|
17529
|
+
s8 = peg$currPos;
|
|
17530
|
+
peg$silentFails++;
|
|
17531
|
+
if (input.charCodeAt(peg$currPos) === 62) {
|
|
17532
|
+
s9 = peg$c56;
|
|
17533
|
+
peg$currPos++;
|
|
17534
|
+
} else {
|
|
17535
|
+
s9 = peg$FAILED;
|
|
17536
|
+
if (peg$silentFails === 0) {
|
|
17537
|
+
peg$fail(peg$c57);
|
|
17538
|
+
}
|
|
17539
|
+
}
|
|
17540
|
+
peg$silentFails--;
|
|
17541
|
+
if (s9 === peg$FAILED) {
|
|
17542
|
+
s8 = void 0;
|
|
17543
|
+
} else {
|
|
17544
|
+
peg$currPos = s8;
|
|
17545
|
+
s8 = peg$FAILED;
|
|
17546
|
+
}
|
|
17547
|
+
if (s8 !== peg$FAILED) {
|
|
17548
|
+
if (input.length > peg$currPos) {
|
|
17549
|
+
s9 = input.charAt(peg$currPos);
|
|
17550
|
+
peg$currPos++;
|
|
17551
|
+
} else {
|
|
17552
|
+
s9 = peg$FAILED;
|
|
17553
|
+
if (peg$silentFails === 0) {
|
|
17554
|
+
peg$fail(peg$c51);
|
|
17555
|
+
}
|
|
17556
|
+
}
|
|
17557
|
+
if (s9 !== peg$FAILED) {
|
|
17558
|
+
s8 = [s8, s9];
|
|
17559
|
+
s7 = s8;
|
|
17560
|
+
} else {
|
|
17561
|
+
peg$currPos = s7;
|
|
17562
|
+
s7 = peg$FAILED;
|
|
17563
|
+
}
|
|
17564
|
+
} else {
|
|
17565
|
+
peg$currPos = s7;
|
|
17566
|
+
s7 = peg$FAILED;
|
|
17567
|
+
}
|
|
17568
|
+
}
|
|
17569
|
+
if (s6 !== peg$FAILED) {
|
|
17570
|
+
if (input.charCodeAt(peg$currPos) === 62) {
|
|
17571
|
+
s7 = peg$c56;
|
|
17572
|
+
peg$currPos++;
|
|
17573
|
+
} else {
|
|
17574
|
+
s7 = peg$FAILED;
|
|
17575
|
+
if (peg$silentFails === 0) {
|
|
17576
|
+
peg$fail(peg$c57);
|
|
17577
|
+
}
|
|
17578
|
+
}
|
|
17579
|
+
if (s7 !== peg$FAILED) {
|
|
17580
|
+
s5 = [s5, s6, s7];
|
|
17581
|
+
s4 = s5;
|
|
17582
|
+
} else {
|
|
17583
|
+
peg$currPos = s4;
|
|
17584
|
+
s4 = peg$FAILED;
|
|
17585
|
+
}
|
|
17586
|
+
} else {
|
|
17587
|
+
peg$currPos = s4;
|
|
17588
|
+
s4 = peg$FAILED;
|
|
17589
|
+
}
|
|
17590
|
+
} else {
|
|
17591
|
+
peg$currPos = s4;
|
|
17592
|
+
s4 = peg$FAILED;
|
|
17593
|
+
}
|
|
17594
|
+
if (s4 === peg$FAILED) {
|
|
17595
|
+
s4 = peg$currPos;
|
|
17596
|
+
s5 = peg$currPos;
|
|
17597
|
+
peg$silentFails++;
|
|
17598
|
+
s6 = peg$parseend_code();
|
|
17599
|
+
peg$silentFails--;
|
|
17600
|
+
if (s6 === peg$FAILED) {
|
|
17601
|
+
s5 = void 0;
|
|
17602
|
+
} else {
|
|
17603
|
+
peg$currPos = s5;
|
|
17604
|
+
s5 = peg$FAILED;
|
|
17605
|
+
}
|
|
17606
|
+
if (s5 !== peg$FAILED) {
|
|
17607
|
+
if (input.length > peg$currPos) {
|
|
17608
|
+
s6 = input.charAt(peg$currPos);
|
|
17609
|
+
peg$currPos++;
|
|
17610
|
+
} else {
|
|
17611
|
+
s6 = peg$FAILED;
|
|
17612
|
+
if (peg$silentFails === 0) {
|
|
17613
|
+
peg$fail(peg$c51);
|
|
17614
|
+
}
|
|
17615
|
+
}
|
|
17616
|
+
if (s6 !== peg$FAILED) {
|
|
17617
|
+
s5 = [s5, s6];
|
|
17618
|
+
s4 = s5;
|
|
17619
|
+
} else {
|
|
17620
|
+
peg$currPos = s4;
|
|
17621
|
+
s4 = peg$FAILED;
|
|
17622
|
+
}
|
|
17623
|
+
} else {
|
|
17624
|
+
peg$currPos = s4;
|
|
17625
|
+
s4 = peg$FAILED;
|
|
17626
|
+
}
|
|
17627
|
+
}
|
|
17628
|
+
}
|
|
17629
|
+
}
|
|
17630
|
+
while (s4 !== peg$FAILED) {
|
|
17631
|
+
s3.push(s4);
|
|
17632
|
+
s4 = peg$currPos;
|
|
17633
|
+
if (peg$c69.test(input.charAt(peg$currPos))) {
|
|
17634
|
+
s5 = input.charAt(peg$currPos);
|
|
17635
|
+
peg$currPos++;
|
|
17636
|
+
} else {
|
|
17637
|
+
s5 = peg$FAILED;
|
|
17638
|
+
if (peg$silentFails === 0) {
|
|
17639
|
+
peg$fail(peg$c70);
|
|
17640
|
+
}
|
|
17641
|
+
}
|
|
17642
|
+
if (s5 !== peg$FAILED) {
|
|
17643
|
+
s6 = [];
|
|
17644
|
+
if (peg$c71.test(input.charAt(peg$currPos))) {
|
|
17645
|
+
s7 = input.charAt(peg$currPos);
|
|
17646
|
+
peg$currPos++;
|
|
17647
|
+
} else {
|
|
17648
|
+
s7 = peg$FAILED;
|
|
17649
|
+
if (peg$silentFails === 0) {
|
|
17650
|
+
peg$fail(peg$c72);
|
|
17651
|
+
}
|
|
17652
|
+
}
|
|
17653
|
+
while (s7 !== peg$FAILED) {
|
|
17654
|
+
s6.push(s7);
|
|
17655
|
+
if (peg$c71.test(input.charAt(peg$currPos))) {
|
|
17656
|
+
s7 = input.charAt(peg$currPos);
|
|
17657
|
+
peg$currPos++;
|
|
17658
|
+
} else {
|
|
17659
|
+
s7 = peg$FAILED;
|
|
17660
|
+
if (peg$silentFails === 0) {
|
|
17661
|
+
peg$fail(peg$c72);
|
|
17662
|
+
}
|
|
17663
|
+
}
|
|
17664
|
+
}
|
|
17665
|
+
if (s6 !== peg$FAILED) {
|
|
17666
|
+
if (peg$c69.test(input.charAt(peg$currPos))) {
|
|
17667
|
+
s7 = input.charAt(peg$currPos);
|
|
17668
|
+
peg$currPos++;
|
|
17669
|
+
} else {
|
|
17670
|
+
s7 = peg$FAILED;
|
|
17671
|
+
if (peg$silentFails === 0) {
|
|
17672
|
+
peg$fail(peg$c70);
|
|
17673
|
+
}
|
|
17674
|
+
}
|
|
17675
|
+
if (s7 !== peg$FAILED) {
|
|
17676
|
+
s5 = [s5, s6, s7];
|
|
17677
|
+
s4 = s5;
|
|
17678
|
+
} else {
|
|
17679
|
+
peg$currPos = s4;
|
|
17680
|
+
s4 = peg$FAILED;
|
|
17681
|
+
}
|
|
17682
|
+
} else {
|
|
17683
|
+
peg$currPos = s4;
|
|
17684
|
+
s4 = peg$FAILED;
|
|
17685
|
+
}
|
|
17686
|
+
} else {
|
|
17687
|
+
peg$currPos = s4;
|
|
17688
|
+
s4 = peg$FAILED;
|
|
17689
|
+
}
|
|
17690
|
+
if (s4 === peg$FAILED) {
|
|
17691
|
+
s4 = peg$currPos;
|
|
17692
|
+
if (peg$c73.test(input.charAt(peg$currPos))) {
|
|
17693
|
+
s5 = input.charAt(peg$currPos);
|
|
17694
|
+
peg$currPos++;
|
|
17695
|
+
} else {
|
|
17696
|
+
s5 = peg$FAILED;
|
|
17697
|
+
if (peg$silentFails === 0) {
|
|
17698
|
+
peg$fail(peg$c74);
|
|
17699
|
+
}
|
|
17700
|
+
}
|
|
17701
|
+
if (s5 !== peg$FAILED) {
|
|
17702
|
+
s6 = [];
|
|
17703
|
+
if (peg$c75.test(input.charAt(peg$currPos))) {
|
|
17704
|
+
s7 = input.charAt(peg$currPos);
|
|
17705
|
+
peg$currPos++;
|
|
17706
|
+
} else {
|
|
17707
|
+
s7 = peg$FAILED;
|
|
17708
|
+
if (peg$silentFails === 0) {
|
|
17709
|
+
peg$fail(peg$c76);
|
|
17710
|
+
}
|
|
17711
|
+
}
|
|
17712
|
+
while (s7 !== peg$FAILED) {
|
|
17713
|
+
s6.push(s7);
|
|
17714
|
+
if (peg$c75.test(input.charAt(peg$currPos))) {
|
|
17715
|
+
s7 = input.charAt(peg$currPos);
|
|
17716
|
+
peg$currPos++;
|
|
17717
|
+
} else {
|
|
17718
|
+
s7 = peg$FAILED;
|
|
17719
|
+
if (peg$silentFails === 0) {
|
|
17720
|
+
peg$fail(peg$c76);
|
|
17721
|
+
}
|
|
17722
|
+
}
|
|
17723
|
+
}
|
|
17724
|
+
if (s6 !== peg$FAILED) {
|
|
17725
|
+
if (peg$c73.test(input.charAt(peg$currPos))) {
|
|
17726
|
+
s7 = input.charAt(peg$currPos);
|
|
17727
|
+
peg$currPos++;
|
|
17728
|
+
} else {
|
|
17729
|
+
s7 = peg$FAILED;
|
|
17730
|
+
if (peg$silentFails === 0) {
|
|
17731
|
+
peg$fail(peg$c74);
|
|
17732
|
+
}
|
|
17733
|
+
}
|
|
17734
|
+
if (s7 !== peg$FAILED) {
|
|
17735
|
+
s5 = [s5, s6, s7];
|
|
17736
|
+
s4 = s5;
|
|
17737
|
+
} else {
|
|
17738
|
+
peg$currPos = s4;
|
|
17739
|
+
s4 = peg$FAILED;
|
|
17740
|
+
}
|
|
17741
|
+
} else {
|
|
17742
|
+
peg$currPos = s4;
|
|
17743
|
+
s4 = peg$FAILED;
|
|
17744
|
+
}
|
|
17745
|
+
} else {
|
|
17746
|
+
peg$currPos = s4;
|
|
17747
|
+
s4 = peg$FAILED;
|
|
17748
|
+
}
|
|
17749
|
+
if (s4 === peg$FAILED) {
|
|
17750
|
+
s4 = peg$currPos;
|
|
17751
|
+
if (input.charCodeAt(peg$currPos) === 60) {
|
|
17752
|
+
s5 = peg$c54;
|
|
17753
|
+
peg$currPos++;
|
|
17754
|
+
} else {
|
|
17755
|
+
s5 = peg$FAILED;
|
|
17756
|
+
if (peg$silentFails === 0) {
|
|
17757
|
+
peg$fail(peg$c55);
|
|
17758
|
+
}
|
|
17759
|
+
}
|
|
17760
|
+
if (s5 !== peg$FAILED) {
|
|
17761
|
+
s6 = [];
|
|
17762
|
+
s7 = peg$currPos;
|
|
17763
|
+
s8 = peg$currPos;
|
|
17764
|
+
peg$silentFails++;
|
|
17765
|
+
if (input.charCodeAt(peg$currPos) === 62) {
|
|
17766
|
+
s9 = peg$c56;
|
|
17767
|
+
peg$currPos++;
|
|
17768
|
+
} else {
|
|
17769
|
+
s9 = peg$FAILED;
|
|
17770
|
+
if (peg$silentFails === 0) {
|
|
17771
|
+
peg$fail(peg$c57);
|
|
17772
|
+
}
|
|
17773
|
+
}
|
|
17774
|
+
peg$silentFails--;
|
|
17775
|
+
if (s9 === peg$FAILED) {
|
|
17776
|
+
s8 = void 0;
|
|
17777
|
+
} else {
|
|
17778
|
+
peg$currPos = s8;
|
|
17779
|
+
s8 = peg$FAILED;
|
|
17780
|
+
}
|
|
17781
|
+
if (s8 !== peg$FAILED) {
|
|
17782
|
+
if (input.length > peg$currPos) {
|
|
17783
|
+
s9 = input.charAt(peg$currPos);
|
|
17784
|
+
peg$currPos++;
|
|
17785
|
+
} else {
|
|
17786
|
+
s9 = peg$FAILED;
|
|
17787
|
+
if (peg$silentFails === 0) {
|
|
17788
|
+
peg$fail(peg$c51);
|
|
17789
|
+
}
|
|
17790
|
+
}
|
|
17791
|
+
if (s9 !== peg$FAILED) {
|
|
17792
|
+
s8 = [s8, s9];
|
|
17793
|
+
s7 = s8;
|
|
17794
|
+
} else {
|
|
17795
|
+
peg$currPos = s7;
|
|
17796
|
+
s7 = peg$FAILED;
|
|
17797
|
+
}
|
|
17798
|
+
} else {
|
|
17799
|
+
peg$currPos = s7;
|
|
17800
|
+
s7 = peg$FAILED;
|
|
17801
|
+
}
|
|
17802
|
+
while (s7 !== peg$FAILED) {
|
|
17803
|
+
s6.push(s7);
|
|
17804
|
+
s7 = peg$currPos;
|
|
17805
|
+
s8 = peg$currPos;
|
|
17806
|
+
peg$silentFails++;
|
|
17807
|
+
if (input.charCodeAt(peg$currPos) === 62) {
|
|
17808
|
+
s9 = peg$c56;
|
|
17809
|
+
peg$currPos++;
|
|
17810
|
+
} else {
|
|
17811
|
+
s9 = peg$FAILED;
|
|
17812
|
+
if (peg$silentFails === 0) {
|
|
17813
|
+
peg$fail(peg$c57);
|
|
17814
|
+
}
|
|
17815
|
+
}
|
|
17816
|
+
peg$silentFails--;
|
|
17817
|
+
if (s9 === peg$FAILED) {
|
|
17818
|
+
s8 = void 0;
|
|
17819
|
+
} else {
|
|
17820
|
+
peg$currPos = s8;
|
|
17821
|
+
s8 = peg$FAILED;
|
|
17822
|
+
}
|
|
17823
|
+
if (s8 !== peg$FAILED) {
|
|
17824
|
+
if (input.length > peg$currPos) {
|
|
17825
|
+
s9 = input.charAt(peg$currPos);
|
|
17826
|
+
peg$currPos++;
|
|
17827
|
+
} else {
|
|
17828
|
+
s9 = peg$FAILED;
|
|
17829
|
+
if (peg$silentFails === 0) {
|
|
17830
|
+
peg$fail(peg$c51);
|
|
17831
|
+
}
|
|
17832
|
+
}
|
|
17833
|
+
if (s9 !== peg$FAILED) {
|
|
17834
|
+
s8 = [s8, s9];
|
|
17835
|
+
s7 = s8;
|
|
17836
|
+
} else {
|
|
17837
|
+
peg$currPos = s7;
|
|
17838
|
+
s7 = peg$FAILED;
|
|
17839
|
+
}
|
|
17840
|
+
} else {
|
|
17841
|
+
peg$currPos = s7;
|
|
17842
|
+
s7 = peg$FAILED;
|
|
17843
|
+
}
|
|
17844
|
+
}
|
|
17845
|
+
if (s6 !== peg$FAILED) {
|
|
17846
|
+
if (input.charCodeAt(peg$currPos) === 62) {
|
|
17847
|
+
s7 = peg$c56;
|
|
17848
|
+
peg$currPos++;
|
|
17849
|
+
} else {
|
|
17850
|
+
s7 = peg$FAILED;
|
|
17851
|
+
if (peg$silentFails === 0) {
|
|
17852
|
+
peg$fail(peg$c57);
|
|
17853
|
+
}
|
|
17854
|
+
}
|
|
17855
|
+
if (s7 !== peg$FAILED) {
|
|
17856
|
+
s5 = [s5, s6, s7];
|
|
17857
|
+
s4 = s5;
|
|
17858
|
+
} else {
|
|
17859
|
+
peg$currPos = s4;
|
|
17860
|
+
s4 = peg$FAILED;
|
|
17861
|
+
}
|
|
17862
|
+
} else {
|
|
17863
|
+
peg$currPos = s4;
|
|
17864
|
+
s4 = peg$FAILED;
|
|
17865
|
+
}
|
|
17866
|
+
} else {
|
|
17867
|
+
peg$currPos = s4;
|
|
17868
|
+
s4 = peg$FAILED;
|
|
17869
|
+
}
|
|
17870
|
+
if (s4 === peg$FAILED) {
|
|
17871
|
+
s4 = peg$currPos;
|
|
17872
|
+
s5 = peg$currPos;
|
|
17873
|
+
peg$silentFails++;
|
|
17874
|
+
s6 = peg$parseend_code();
|
|
17875
|
+
peg$silentFails--;
|
|
17876
|
+
if (s6 === peg$FAILED) {
|
|
17877
|
+
s5 = void 0;
|
|
17878
|
+
} else {
|
|
17879
|
+
peg$currPos = s5;
|
|
17880
|
+
s5 = peg$FAILED;
|
|
17881
|
+
}
|
|
17882
|
+
if (s5 !== peg$FAILED) {
|
|
17883
|
+
if (input.length > peg$currPos) {
|
|
17884
|
+
s6 = input.charAt(peg$currPos);
|
|
17885
|
+
peg$currPos++;
|
|
17886
|
+
} else {
|
|
17887
|
+
s6 = peg$FAILED;
|
|
17888
|
+
if (peg$silentFails === 0) {
|
|
17889
|
+
peg$fail(peg$c51);
|
|
17890
|
+
}
|
|
17891
|
+
}
|
|
17892
|
+
if (s6 !== peg$FAILED) {
|
|
17893
|
+
s5 = [s5, s6];
|
|
17894
|
+
s4 = s5;
|
|
17895
|
+
} else {
|
|
17896
|
+
peg$currPos = s4;
|
|
17897
|
+
s4 = peg$FAILED;
|
|
17898
|
+
}
|
|
17899
|
+
} else {
|
|
17900
|
+
peg$currPos = s4;
|
|
17901
|
+
s4 = peg$FAILED;
|
|
17902
|
+
}
|
|
17903
|
+
}
|
|
17904
|
+
}
|
|
17905
|
+
}
|
|
17906
|
+
}
|
|
17907
|
+
if (s3 !== peg$FAILED) {
|
|
17908
|
+
s2 = input.substring(s2, peg$currPos);
|
|
17909
|
+
} else {
|
|
17910
|
+
s2 = s3;
|
|
17911
|
+
}
|
|
17912
|
+
if (s2 !== peg$FAILED) {
|
|
17913
|
+
peg$savedPos = s0;
|
|
17914
|
+
s1 = peg$c77(s2);
|
|
17915
|
+
s0 = s1;
|
|
17916
|
+
} else {
|
|
17917
|
+
peg$currPos = s0;
|
|
17918
|
+
s0 = peg$FAILED;
|
|
17919
|
+
}
|
|
17920
|
+
} else {
|
|
17921
|
+
peg$currPos = s0;
|
|
17922
|
+
s0 = peg$FAILED;
|
|
17923
|
+
}
|
|
17924
|
+
return s0;
|
|
17925
|
+
}
|
|
17926
|
+
function peg$parsecode_L() {
|
|
17927
|
+
var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
|
|
17928
|
+
s0 = peg$currPos;
|
|
17929
|
+
s1 = peg$parsestart_code_2();
|
|
17930
|
+
if (s1 !== peg$FAILED) {
|
|
17931
|
+
peg$savedPos = peg$currPos;
|
|
17932
|
+
s2 = peg$c78(s1);
|
|
17933
|
+
if (s2) {
|
|
17934
|
+
s2 = void 0;
|
|
17935
|
+
} else {
|
|
17936
|
+
s2 = peg$FAILED;
|
|
17937
|
+
}
|
|
17938
|
+
if (s2 !== peg$FAILED) {
|
|
17939
|
+
s3 = [];
|
|
17940
|
+
s4 = peg$parsecode_C();
|
|
17941
|
+
if (s4 === peg$FAILED) {
|
|
17942
|
+
s4 = peg$parsecode_2();
|
|
17943
|
+
if (s4 === peg$FAILED) {
|
|
17944
|
+
s4 = peg$parsetext_L();
|
|
17945
|
+
}
|
|
17946
|
+
}
|
|
17947
|
+
if (s4 !== peg$FAILED) {
|
|
17948
|
+
while (s4 !== peg$FAILED) {
|
|
17949
|
+
s3.push(s4);
|
|
17950
|
+
s4 = peg$parsecode_C();
|
|
17951
|
+
if (s4 === peg$FAILED) {
|
|
17952
|
+
s4 = peg$parsecode_2();
|
|
17953
|
+
if (s4 === peg$FAILED) {
|
|
17954
|
+
s4 = peg$parsetext_L();
|
|
17955
|
+
}
|
|
17956
|
+
}
|
|
17957
|
+
}
|
|
17958
|
+
} else {
|
|
17959
|
+
s3 = peg$FAILED;
|
|
17960
|
+
}
|
|
17961
|
+
if (s3 !== peg$FAILED) {
|
|
17962
|
+
s4 = peg$parseseparator();
|
|
17963
|
+
if (s4 !== peg$FAILED) {
|
|
17964
|
+
s5 = peg$parselink_spec();
|
|
17965
|
+
if (s5 !== peg$FAILED) {
|
|
17966
|
+
s6 = peg$parselink_config();
|
|
17967
|
+
if (s6 !== peg$FAILED) {
|
|
17968
|
+
s7 = peg$parseend_code();
|
|
17969
|
+
if (s7 !== peg$FAILED) {
|
|
17970
|
+
peg$savedPos = peg$currPos;
|
|
17971
|
+
s8 = peg$c79(s1, s3, s5, s6, s7);
|
|
17972
|
+
if (s8) {
|
|
17973
|
+
s8 = void 0;
|
|
17974
|
+
} else {
|
|
17975
|
+
s8 = peg$FAILED;
|
|
17976
|
+
}
|
|
17977
|
+
if (s8 !== peg$FAILED) {
|
|
17978
|
+
peg$savedPos = s0;
|
|
17979
|
+
s1 = peg$c80(s1, s3, s5, s6, s7);
|
|
17980
|
+
s0 = s1;
|
|
17981
|
+
} else {
|
|
17982
|
+
peg$currPos = s0;
|
|
17983
|
+
s0 = peg$FAILED;
|
|
17984
|
+
}
|
|
17985
|
+
} else {
|
|
17986
|
+
peg$currPos = s0;
|
|
17987
|
+
s0 = peg$FAILED;
|
|
17988
|
+
}
|
|
17989
|
+
} else {
|
|
17990
|
+
peg$currPos = s0;
|
|
17991
|
+
s0 = peg$FAILED;
|
|
17992
|
+
}
|
|
17993
|
+
} else {
|
|
17994
|
+
peg$currPos = s0;
|
|
17995
|
+
s0 = peg$FAILED;
|
|
17996
|
+
}
|
|
17997
|
+
} else {
|
|
17998
|
+
peg$currPos = s0;
|
|
17999
|
+
s0 = peg$FAILED;
|
|
18000
|
+
}
|
|
18001
|
+
} else {
|
|
18002
|
+
peg$currPos = s0;
|
|
18003
|
+
s0 = peg$FAILED;
|
|
18004
|
+
}
|
|
18005
|
+
} else {
|
|
18006
|
+
peg$currPos = s0;
|
|
18007
|
+
s0 = peg$FAILED;
|
|
18008
|
+
}
|
|
18009
|
+
} else {
|
|
18010
|
+
peg$currPos = s0;
|
|
18011
|
+
s0 = peg$FAILED;
|
|
18012
|
+
}
|
|
18013
|
+
if (s0 === peg$FAILED) {
|
|
18014
|
+
s0 = peg$currPos;
|
|
18015
|
+
s1 = peg$parsestart_code_2();
|
|
18016
|
+
if (s1 !== peg$FAILED) {
|
|
18017
|
+
peg$savedPos = peg$currPos;
|
|
18018
|
+
s2 = peg$c78(s1);
|
|
18019
|
+
if (s2) {
|
|
18020
|
+
s2 = void 0;
|
|
18021
|
+
} else {
|
|
18022
|
+
s2 = peg$FAILED;
|
|
18023
|
+
}
|
|
18024
|
+
if (s2 !== peg$FAILED) {
|
|
18025
|
+
s3 = peg$parselink_spec_filled();
|
|
18026
|
+
if (s3 !== peg$FAILED) {
|
|
18027
|
+
s4 = peg$parselink_config();
|
|
18028
|
+
if (s4 !== peg$FAILED) {
|
|
18029
|
+
s5 = peg$parseend_code();
|
|
18030
|
+
if (s5 !== peg$FAILED) {
|
|
18031
|
+
peg$savedPos = peg$currPos;
|
|
18032
|
+
s6 = peg$c81(s1, s3, s4, s5);
|
|
18033
|
+
if (s6) {
|
|
18034
|
+
s6 = void 0;
|
|
18035
|
+
} else {
|
|
18036
|
+
s6 = peg$FAILED;
|
|
18037
|
+
}
|
|
18038
|
+
if (s6 !== peg$FAILED) {
|
|
18039
|
+
peg$savedPos = s0;
|
|
18040
|
+
s1 = peg$c82(s1, s3, s4, s5);
|
|
18041
|
+
s0 = s1;
|
|
18042
|
+
} else {
|
|
18043
|
+
peg$currPos = s0;
|
|
18044
|
+
s0 = peg$FAILED;
|
|
18045
|
+
}
|
|
18046
|
+
} else {
|
|
18047
|
+
peg$currPos = s0;
|
|
18048
|
+
s0 = peg$FAILED;
|
|
18049
|
+
}
|
|
18050
|
+
} else {
|
|
18051
|
+
peg$currPos = s0;
|
|
18052
|
+
s0 = peg$FAILED;
|
|
18053
|
+
}
|
|
18054
|
+
} else {
|
|
18055
|
+
peg$currPos = s0;
|
|
18056
|
+
s0 = peg$FAILED;
|
|
18057
|
+
}
|
|
18058
|
+
} else {
|
|
18059
|
+
peg$currPos = s0;
|
|
18060
|
+
s0 = peg$FAILED;
|
|
18061
|
+
}
|
|
18062
|
+
} else {
|
|
18063
|
+
peg$currPos = s0;
|
|
18064
|
+
s0 = peg$FAILED;
|
|
18065
|
+
}
|
|
18066
|
+
if (s0 === peg$FAILED) {
|
|
18067
|
+
s0 = peg$currPos;
|
|
18068
|
+
s1 = peg$parsestart_code_2();
|
|
18069
|
+
if (s1 !== peg$FAILED) {
|
|
18070
|
+
peg$savedPos = peg$currPos;
|
|
18071
|
+
s2 = peg$c78(s1);
|
|
18072
|
+
if (s2) {
|
|
18073
|
+
s2 = void 0;
|
|
18074
|
+
} else {
|
|
18075
|
+
s2 = peg$FAILED;
|
|
18076
|
+
}
|
|
18077
|
+
if (s2 !== peg$FAILED) {
|
|
18078
|
+
s3 = [];
|
|
18079
|
+
s4 = peg$parsecode_C();
|
|
18080
|
+
if (s4 === peg$FAILED) {
|
|
18081
|
+
s4 = peg$parsecode_2();
|
|
18082
|
+
if (s4 === peg$FAILED) {
|
|
18083
|
+
s4 = peg$parsetext_L();
|
|
18084
|
+
}
|
|
18085
|
+
}
|
|
18086
|
+
if (s4 !== peg$FAILED) {
|
|
18087
|
+
while (s4 !== peg$FAILED) {
|
|
18088
|
+
s3.push(s4);
|
|
18089
|
+
s4 = peg$parsecode_C();
|
|
18090
|
+
if (s4 === peg$FAILED) {
|
|
18091
|
+
s4 = peg$parsecode_2();
|
|
18092
|
+
if (s4 === peg$FAILED) {
|
|
18093
|
+
s4 = peg$parsetext_L();
|
|
18094
|
+
}
|
|
18095
|
+
}
|
|
18096
|
+
}
|
|
18097
|
+
} else {
|
|
18098
|
+
s3 = peg$FAILED;
|
|
18099
|
+
}
|
|
18100
|
+
if (s3 !== peg$FAILED) {
|
|
18101
|
+
s4 = peg$currPos;
|
|
18102
|
+
s5 = peg$parseseparator();
|
|
18103
|
+
if (s5 !== peg$FAILED) {
|
|
18104
|
+
s6 = peg$currPos;
|
|
18105
|
+
s7 = [];
|
|
18106
|
+
s8 = peg$currPos;
|
|
18107
|
+
s9 = peg$currPos;
|
|
18108
|
+
peg$silentFails++;
|
|
18109
|
+
s10 = peg$parseend_code();
|
|
18110
|
+
peg$silentFails--;
|
|
18111
|
+
if (s10 === peg$FAILED) {
|
|
18112
|
+
s9 = void 0;
|
|
18113
|
+
} else {
|
|
18114
|
+
peg$currPos = s9;
|
|
18115
|
+
s9 = peg$FAILED;
|
|
18116
|
+
}
|
|
18117
|
+
if (s9 !== peg$FAILED) {
|
|
18118
|
+
if (input.length > peg$currPos) {
|
|
18119
|
+
s10 = input.charAt(peg$currPos);
|
|
18120
|
+
peg$currPos++;
|
|
18121
|
+
} else {
|
|
18122
|
+
s10 = peg$FAILED;
|
|
18123
|
+
if (peg$silentFails === 0) {
|
|
18124
|
+
peg$fail(peg$c51);
|
|
18125
|
+
}
|
|
18126
|
+
}
|
|
18127
|
+
if (s10 !== peg$FAILED) {
|
|
18128
|
+
s9 = [s9, s10];
|
|
18129
|
+
s8 = s9;
|
|
18130
|
+
} else {
|
|
18131
|
+
peg$currPos = s8;
|
|
18132
|
+
s8 = peg$FAILED;
|
|
18133
|
+
}
|
|
18134
|
+
} else {
|
|
18135
|
+
peg$currPos = s8;
|
|
18136
|
+
s8 = peg$FAILED;
|
|
16947
18137
|
}
|
|
16948
|
-
|
|
16949
|
-
s7
|
|
18138
|
+
while (s8 !== peg$FAILED) {
|
|
18139
|
+
s7.push(s8);
|
|
18140
|
+
s8 = peg$currPos;
|
|
18141
|
+
s9 = peg$currPos;
|
|
16950
18142
|
peg$silentFails++;
|
|
16951
|
-
|
|
18143
|
+
s10 = peg$parseend_code();
|
|
16952
18144
|
peg$silentFails--;
|
|
16953
|
-
if (
|
|
16954
|
-
|
|
18145
|
+
if (s10 === peg$FAILED) {
|
|
18146
|
+
s9 = void 0;
|
|
16955
18147
|
} else {
|
|
16956
|
-
peg$currPos =
|
|
16957
|
-
|
|
18148
|
+
peg$currPos = s9;
|
|
18149
|
+
s9 = peg$FAILED;
|
|
16958
18150
|
}
|
|
16959
|
-
if (
|
|
18151
|
+
if (s9 !== peg$FAILED) {
|
|
16960
18152
|
if (input.length > peg$currPos) {
|
|
16961
|
-
|
|
18153
|
+
s10 = input.charAt(peg$currPos);
|
|
16962
18154
|
peg$currPos++;
|
|
16963
18155
|
} else {
|
|
16964
|
-
|
|
18156
|
+
s10 = peg$FAILED;
|
|
16965
18157
|
if (peg$silentFails === 0) {
|
|
16966
18158
|
peg$fail(peg$c51);
|
|
16967
18159
|
}
|
|
16968
18160
|
}
|
|
16969
|
-
if (
|
|
16970
|
-
|
|
16971
|
-
|
|
18161
|
+
if (s10 !== peg$FAILED) {
|
|
18162
|
+
s9 = [s9, s10];
|
|
18163
|
+
s8 = s9;
|
|
16972
18164
|
} else {
|
|
16973
|
-
peg$currPos =
|
|
16974
|
-
|
|
18165
|
+
peg$currPos = s8;
|
|
18166
|
+
s8 = peg$FAILED;
|
|
16975
18167
|
}
|
|
16976
18168
|
} else {
|
|
16977
|
-
peg$currPos =
|
|
16978
|
-
|
|
18169
|
+
peg$currPos = s8;
|
|
18170
|
+
s8 = peg$FAILED;
|
|
16979
18171
|
}
|
|
18172
|
+
}
|
|
18173
|
+
if (s7 !== peg$FAILED) {
|
|
18174
|
+
s6 = input.substring(s6, peg$currPos);
|
|
16980
18175
|
} else {
|
|
16981
|
-
|
|
16982
|
-
s3 = peg$FAILED;
|
|
18176
|
+
s6 = s7;
|
|
16983
18177
|
}
|
|
16984
|
-
|
|
16985
|
-
|
|
16986
|
-
|
|
16987
|
-
|
|
16988
|
-
|
|
16989
|
-
|
|
16990
|
-
|
|
16991
|
-
}
|
|
16992
|
-
}
|
|
16993
|
-
}
|
|
16994
|
-
}
|
|
16995
|
-
} else {
|
|
16996
|
-
s2 = peg$FAILED;
|
|
16997
|
-
}
|
|
16998
|
-
if (s2 !== peg$FAILED) {
|
|
16999
|
-
s1 = input.substring(s1, peg$currPos);
|
|
17000
|
-
} else {
|
|
17001
|
-
s1 = s2;
|
|
17002
|
-
}
|
|
17003
|
-
if (s1 !== peg$FAILED) {
|
|
17004
|
-
peg$savedPos = s0;
|
|
17005
|
-
s1 = peg$c66(s1);
|
|
17006
|
-
}
|
|
17007
|
-
s0 = s1;
|
|
17008
|
-
return s0;
|
|
17009
|
-
}
|
|
17010
|
-
function peg$parsecode_L() {
|
|
17011
|
-
var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
|
|
17012
|
-
s0 = peg$currPos;
|
|
17013
|
-
s1 = peg$parsestart_code_2();
|
|
17014
|
-
if (s1 !== peg$FAILED) {
|
|
17015
|
-
peg$savedPos = peg$currPos;
|
|
17016
|
-
s2 = peg$c67(s1);
|
|
17017
|
-
if (s2) {
|
|
17018
|
-
s2 = void 0;
|
|
17019
|
-
} else {
|
|
17020
|
-
s2 = peg$FAILED;
|
|
17021
|
-
}
|
|
17022
|
-
if (s2 !== peg$FAILED) {
|
|
17023
|
-
s3 = [];
|
|
17024
|
-
s4 = peg$parsecode_C();
|
|
17025
|
-
if (s4 === peg$FAILED) {
|
|
17026
|
-
s4 = peg$parsecode_2();
|
|
17027
|
-
if (s4 === peg$FAILED) {
|
|
17028
|
-
s4 = peg$parsetext_L();
|
|
17029
|
-
}
|
|
17030
|
-
}
|
|
17031
|
-
if (s4 !== peg$FAILED) {
|
|
17032
|
-
while (s4 !== peg$FAILED) {
|
|
17033
|
-
s3.push(s4);
|
|
17034
|
-
s4 = peg$parsecode_C();
|
|
17035
|
-
if (s4 === peg$FAILED) {
|
|
17036
|
-
s4 = peg$parsecode_2();
|
|
17037
|
-
if (s4 === peg$FAILED) {
|
|
17038
|
-
s4 = peg$parsetext_L();
|
|
17039
|
-
}
|
|
17040
|
-
}
|
|
17041
|
-
}
|
|
17042
|
-
} else {
|
|
17043
|
-
s3 = peg$FAILED;
|
|
17044
|
-
}
|
|
17045
|
-
if (s3 !== peg$FAILED) {
|
|
17046
|
-
s4 = peg$currPos;
|
|
17047
|
-
s5 = peg$parseseparator();
|
|
17048
|
-
if (s5 !== peg$FAILED) {
|
|
17049
|
-
s6 = peg$currPos;
|
|
17050
|
-
s7 = [];
|
|
17051
|
-
s8 = peg$currPos;
|
|
17052
|
-
s9 = peg$currPos;
|
|
17053
|
-
peg$silentFails++;
|
|
17054
|
-
s10 = peg$parseend_code();
|
|
17055
|
-
peg$silentFails--;
|
|
17056
|
-
if (s10 === peg$FAILED) {
|
|
17057
|
-
s9 = void 0;
|
|
17058
|
-
} else {
|
|
17059
|
-
peg$currPos = s9;
|
|
17060
|
-
s9 = peg$FAILED;
|
|
17061
|
-
}
|
|
17062
|
-
if (s9 !== peg$FAILED) {
|
|
17063
|
-
if (input.length > peg$currPos) {
|
|
17064
|
-
s10 = input.charAt(peg$currPos);
|
|
17065
|
-
peg$currPos++;
|
|
17066
|
-
} else {
|
|
17067
|
-
s10 = peg$FAILED;
|
|
17068
|
-
if (peg$silentFails === 0) {
|
|
17069
|
-
peg$fail(peg$c51);
|
|
18178
|
+
if (s6 !== peg$FAILED) {
|
|
18179
|
+
peg$savedPos = s4;
|
|
18180
|
+
s5 = peg$c83(s1, s3, s6);
|
|
18181
|
+
s4 = s5;
|
|
18182
|
+
} else {
|
|
18183
|
+
peg$currPos = s4;
|
|
18184
|
+
s4 = peg$FAILED;
|
|
17070
18185
|
}
|
|
17071
|
-
}
|
|
17072
|
-
if (s10 !== peg$FAILED) {
|
|
17073
|
-
s9 = [s9, s10];
|
|
17074
|
-
s8 = s9;
|
|
17075
18186
|
} else {
|
|
17076
|
-
peg$currPos =
|
|
17077
|
-
|
|
18187
|
+
peg$currPos = s4;
|
|
18188
|
+
s4 = peg$FAILED;
|
|
17078
18189
|
}
|
|
17079
|
-
|
|
17080
|
-
|
|
17081
|
-
s8 = peg$FAILED;
|
|
17082
|
-
}
|
|
17083
|
-
while (s8 !== peg$FAILED) {
|
|
17084
|
-
s7.push(s8);
|
|
17085
|
-
s8 = peg$currPos;
|
|
17086
|
-
s9 = peg$currPos;
|
|
17087
|
-
peg$silentFails++;
|
|
17088
|
-
s10 = peg$parseend_code();
|
|
17089
|
-
peg$silentFails--;
|
|
17090
|
-
if (s10 === peg$FAILED) {
|
|
17091
|
-
s9 = void 0;
|
|
17092
|
-
} else {
|
|
17093
|
-
peg$currPos = s9;
|
|
17094
|
-
s9 = peg$FAILED;
|
|
18190
|
+
if (s4 === peg$FAILED) {
|
|
18191
|
+
s4 = null;
|
|
17095
18192
|
}
|
|
17096
|
-
if (
|
|
17097
|
-
|
|
17098
|
-
|
|
17099
|
-
peg$currPos
|
|
17100
|
-
|
|
17101
|
-
|
|
17102
|
-
|
|
17103
|
-
|
|
18193
|
+
if (s4 !== peg$FAILED) {
|
|
18194
|
+
s5 = peg$parseend_code();
|
|
18195
|
+
if (s5 !== peg$FAILED) {
|
|
18196
|
+
peg$savedPos = peg$currPos;
|
|
18197
|
+
s6 = peg$c84(s1, s3, s4, s5);
|
|
18198
|
+
if (s6) {
|
|
18199
|
+
s6 = void 0;
|
|
18200
|
+
} else {
|
|
18201
|
+
s6 = peg$FAILED;
|
|
18202
|
+
}
|
|
18203
|
+
if (s6 !== peg$FAILED) {
|
|
18204
|
+
peg$savedPos = s0;
|
|
18205
|
+
s1 = peg$c85(s1, s3, s4, s5);
|
|
18206
|
+
s0 = s1;
|
|
18207
|
+
} else {
|
|
18208
|
+
peg$currPos = s0;
|
|
18209
|
+
s0 = peg$FAILED;
|
|
17104
18210
|
}
|
|
17105
|
-
}
|
|
17106
|
-
if (s10 !== peg$FAILED) {
|
|
17107
|
-
s9 = [s9, s10];
|
|
17108
|
-
s8 = s9;
|
|
17109
18211
|
} else {
|
|
17110
|
-
peg$currPos =
|
|
17111
|
-
|
|
18212
|
+
peg$currPos = s0;
|
|
18213
|
+
s0 = peg$FAILED;
|
|
17112
18214
|
}
|
|
17113
|
-
} else {
|
|
17114
|
-
peg$currPos = s8;
|
|
17115
|
-
s8 = peg$FAILED;
|
|
17116
|
-
}
|
|
17117
|
-
}
|
|
17118
|
-
if (s7 !== peg$FAILED) {
|
|
17119
|
-
s6 = input.substring(s6, peg$currPos);
|
|
17120
|
-
} else {
|
|
17121
|
-
s6 = s7;
|
|
17122
|
-
}
|
|
17123
|
-
if (s6 !== peg$FAILED) {
|
|
17124
|
-
peg$savedPos = s4;
|
|
17125
|
-
s5 = peg$c68(s1, s3, s6);
|
|
17126
|
-
s4 = s5;
|
|
17127
|
-
} else {
|
|
17128
|
-
peg$currPos = s4;
|
|
17129
|
-
s4 = peg$FAILED;
|
|
17130
|
-
}
|
|
17131
|
-
} else {
|
|
17132
|
-
peg$currPos = s4;
|
|
17133
|
-
s4 = peg$FAILED;
|
|
17134
|
-
}
|
|
17135
|
-
if (s4 === peg$FAILED) {
|
|
17136
|
-
s4 = null;
|
|
17137
|
-
}
|
|
17138
|
-
if (s4 !== peg$FAILED) {
|
|
17139
|
-
s5 = peg$parseend_code();
|
|
17140
|
-
if (s5 !== peg$FAILED) {
|
|
17141
|
-
peg$savedPos = peg$currPos;
|
|
17142
|
-
s6 = peg$c69(s1, s3, s4, s5);
|
|
17143
|
-
if (s6) {
|
|
17144
|
-
s6 = void 0;
|
|
17145
|
-
} else {
|
|
17146
|
-
s6 = peg$FAILED;
|
|
17147
|
-
}
|
|
17148
|
-
if (s6 !== peg$FAILED) {
|
|
17149
|
-
peg$savedPos = s0;
|
|
17150
|
-
s1 = peg$c70(s1, s3, s4, s5);
|
|
17151
|
-
s0 = s1;
|
|
17152
18215
|
} else {
|
|
17153
18216
|
peg$currPos = s0;
|
|
17154
18217
|
s0 = peg$FAILED;
|
|
@@ -17165,13 +18228,7 @@ var require_grammarfc = __commonJS({
|
|
|
17165
18228
|
peg$currPos = s0;
|
|
17166
18229
|
s0 = peg$FAILED;
|
|
17167
18230
|
}
|
|
17168
|
-
} else {
|
|
17169
|
-
peg$currPos = s0;
|
|
17170
|
-
s0 = peg$FAILED;
|
|
17171
18231
|
}
|
|
17172
|
-
} else {
|
|
17173
|
-
peg$currPos = s0;
|
|
17174
|
-
s0 = peg$FAILED;
|
|
17175
18232
|
}
|
|
17176
18233
|
return s0;
|
|
17177
18234
|
}
|
|
@@ -17183,12 +18240,12 @@ var require_grammarfc = __commonJS({
|
|
|
17183
18240
|
s3 = peg$currPos;
|
|
17184
18241
|
peg$silentFails++;
|
|
17185
18242
|
if (input.charCodeAt(peg$currPos) === 59) {
|
|
17186
|
-
s4 = peg$
|
|
18243
|
+
s4 = peg$c86;
|
|
17187
18244
|
peg$currPos++;
|
|
17188
18245
|
} else {
|
|
17189
18246
|
s4 = peg$FAILED;
|
|
17190
18247
|
if (peg$silentFails === 0) {
|
|
17191
|
-
peg$fail(peg$
|
|
18248
|
+
peg$fail(peg$c87);
|
|
17192
18249
|
}
|
|
17193
18250
|
}
|
|
17194
18251
|
peg$silentFails--;
|
|
@@ -17241,12 +18298,12 @@ var require_grammarfc = __commonJS({
|
|
|
17241
18298
|
s3 = peg$currPos;
|
|
17242
18299
|
peg$silentFails++;
|
|
17243
18300
|
if (input.charCodeAt(peg$currPos) === 59) {
|
|
17244
|
-
s4 = peg$
|
|
18301
|
+
s4 = peg$c86;
|
|
17245
18302
|
peg$currPos++;
|
|
17246
18303
|
} else {
|
|
17247
18304
|
s4 = peg$FAILED;
|
|
17248
18305
|
if (peg$silentFails === 0) {
|
|
17249
|
-
peg$fail(peg$
|
|
18306
|
+
peg$fail(peg$c87);
|
|
17250
18307
|
}
|
|
17251
18308
|
}
|
|
17252
18309
|
peg$silentFails--;
|
|
@@ -17305,13 +18362,13 @@ var require_grammarfc = __commonJS({
|
|
|
17305
18362
|
}
|
|
17306
18363
|
function peg$parsehs() {
|
|
17307
18364
|
var s0;
|
|
17308
|
-
if (peg$
|
|
18365
|
+
if (peg$c88.test(input.charAt(peg$currPos))) {
|
|
17309
18366
|
s0 = input.charAt(peg$currPos);
|
|
17310
18367
|
peg$currPos++;
|
|
17311
18368
|
} else {
|
|
17312
18369
|
s0 = peg$FAILED;
|
|
17313
18370
|
if (peg$silentFails === 0) {
|
|
17314
|
-
peg$fail(peg$
|
|
18371
|
+
peg$fail(peg$c89);
|
|
17315
18372
|
}
|
|
17316
18373
|
}
|
|
17317
18374
|
return s0;
|
|
@@ -17329,12 +18386,12 @@ var require_grammarfc = __commonJS({
|
|
|
17329
18386
|
}
|
|
17330
18387
|
if (s2 !== peg$FAILED) {
|
|
17331
18388
|
if (input.charCodeAt(peg$currPos) === 59) {
|
|
17332
|
-
s3 = peg$
|
|
18389
|
+
s3 = peg$c86;
|
|
17333
18390
|
peg$currPos++;
|
|
17334
18391
|
} else {
|
|
17335
18392
|
s3 = peg$FAILED;
|
|
17336
18393
|
if (peg$silentFails === 0) {
|
|
17337
|
-
peg$fail(peg$
|
|
18394
|
+
peg$fail(peg$c87);
|
|
17338
18395
|
}
|
|
17339
18396
|
}
|
|
17340
18397
|
if (s3 !== peg$FAILED) {
|
|
@@ -17348,7 +18405,7 @@ var require_grammarfc = __commonJS({
|
|
|
17348
18405
|
s5 = peg$parsearray_items();
|
|
17349
18406
|
if (s5 !== peg$FAILED) {
|
|
17350
18407
|
peg$savedPos = s0;
|
|
17351
|
-
s1 = peg$
|
|
18408
|
+
s1 = peg$c90(s1, s5);
|
|
17352
18409
|
s0 = s1;
|
|
17353
18410
|
} else {
|
|
17354
18411
|
peg$currPos = s0;
|
|
@@ -17375,7 +18432,7 @@ var require_grammarfc = __commonJS({
|
|
|
17375
18432
|
s1 = peg$parseitem();
|
|
17376
18433
|
if (s1 !== peg$FAILED) {
|
|
17377
18434
|
peg$savedPos = s0;
|
|
17378
|
-
s1 = peg$
|
|
18435
|
+
s1 = peg$c91(s1);
|
|
17379
18436
|
}
|
|
17380
18437
|
s0 = s1;
|
|
17381
18438
|
}
|
|
@@ -17385,25 +18442,25 @@ var require_grammarfc = __commonJS({
|
|
|
17385
18442
|
var s0, s1, s2;
|
|
17386
18443
|
s0 = peg$currPos;
|
|
17387
18444
|
s1 = [];
|
|
17388
|
-
if (peg$
|
|
18445
|
+
if (peg$c92.test(input.charAt(peg$currPos))) {
|
|
17389
18446
|
s2 = input.charAt(peg$currPos);
|
|
17390
18447
|
peg$currPos++;
|
|
17391
18448
|
} else {
|
|
17392
18449
|
s2 = peg$FAILED;
|
|
17393
18450
|
if (peg$silentFails === 0) {
|
|
17394
|
-
peg$fail(peg$
|
|
18451
|
+
peg$fail(peg$c93);
|
|
17395
18452
|
}
|
|
17396
18453
|
}
|
|
17397
18454
|
if (s2 !== peg$FAILED) {
|
|
17398
18455
|
while (s2 !== peg$FAILED) {
|
|
17399
18456
|
s1.push(s2);
|
|
17400
|
-
if (peg$
|
|
18457
|
+
if (peg$c92.test(input.charAt(peg$currPos))) {
|
|
17401
18458
|
s2 = input.charAt(peg$currPos);
|
|
17402
18459
|
peg$currPos++;
|
|
17403
18460
|
} else {
|
|
17404
18461
|
s2 = peg$FAILED;
|
|
17405
18462
|
if (peg$silentFails === 0) {
|
|
17406
|
-
peg$fail(peg$
|
|
18463
|
+
peg$fail(peg$c93);
|
|
17407
18464
|
}
|
|
17408
18465
|
}
|
|
17409
18466
|
}
|
|
@@ -17420,20 +18477,20 @@ var require_grammarfc = __commonJS({
|
|
|
17420
18477
|
function peg$parsedecimalNumber() {
|
|
17421
18478
|
var s0, s1, s2;
|
|
17422
18479
|
s0 = peg$currPos;
|
|
17423
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
17424
|
-
s1 = peg$
|
|
18480
|
+
if (input.substr(peg$currPos, 2) === peg$c94) {
|
|
18481
|
+
s1 = peg$c94;
|
|
17425
18482
|
peg$currPos += 2;
|
|
17426
18483
|
} else {
|
|
17427
18484
|
s1 = peg$FAILED;
|
|
17428
18485
|
if (peg$silentFails === 0) {
|
|
17429
|
-
peg$fail(peg$
|
|
18486
|
+
peg$fail(peg$c95);
|
|
17430
18487
|
}
|
|
17431
18488
|
}
|
|
17432
18489
|
if (s1 !== peg$FAILED) {
|
|
17433
18490
|
s2 = peg$parsenumber();
|
|
17434
18491
|
if (s2 !== peg$FAILED) {
|
|
17435
18492
|
peg$savedPos = s0;
|
|
17436
|
-
s1 = peg$
|
|
18493
|
+
s1 = peg$c96(s2);
|
|
17437
18494
|
s0 = s1;
|
|
17438
18495
|
} else {
|
|
17439
18496
|
peg$currPos = s0;
|
|
@@ -17448,20 +18505,20 @@ var require_grammarfc = __commonJS({
|
|
|
17448
18505
|
function peg$parseoctalNumber() {
|
|
17449
18506
|
var s0, s1, s2;
|
|
17450
18507
|
s0 = peg$currPos;
|
|
17451
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
17452
|
-
s1 = peg$
|
|
18508
|
+
if (input.substr(peg$currPos, 2) === peg$c97) {
|
|
18509
|
+
s1 = peg$c97;
|
|
17453
18510
|
peg$currPos += 2;
|
|
17454
18511
|
} else {
|
|
17455
18512
|
s1 = peg$FAILED;
|
|
17456
18513
|
if (peg$silentFails === 0) {
|
|
17457
|
-
peg$fail(peg$
|
|
18514
|
+
peg$fail(peg$c98);
|
|
17458
18515
|
}
|
|
17459
18516
|
}
|
|
17460
18517
|
if (s1 !== peg$FAILED) {
|
|
17461
18518
|
s2 = peg$parsenumber();
|
|
17462
18519
|
if (s2 !== peg$FAILED) {
|
|
17463
18520
|
peg$savedPos = s0;
|
|
17464
|
-
s1 = peg$
|
|
18521
|
+
s1 = peg$c99(s2);
|
|
17465
18522
|
s0 = s1;
|
|
17466
18523
|
} else {
|
|
17467
18524
|
peg$currPos = s0;
|
|
@@ -17476,20 +18533,20 @@ var require_grammarfc = __commonJS({
|
|
|
17476
18533
|
function peg$parsebinaryNumber() {
|
|
17477
18534
|
var s0, s1, s2;
|
|
17478
18535
|
s0 = peg$currPos;
|
|
17479
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
17480
|
-
s1 = peg$
|
|
18536
|
+
if (input.substr(peg$currPos, 2) === peg$c100) {
|
|
18537
|
+
s1 = peg$c100;
|
|
17481
18538
|
peg$currPos += 2;
|
|
17482
18539
|
} else {
|
|
17483
18540
|
s1 = peg$FAILED;
|
|
17484
18541
|
if (peg$silentFails === 0) {
|
|
17485
|
-
peg$fail(peg$
|
|
18542
|
+
peg$fail(peg$c101);
|
|
17486
18543
|
}
|
|
17487
18544
|
}
|
|
17488
18545
|
if (s1 !== peg$FAILED) {
|
|
17489
18546
|
s2 = peg$parsenumber();
|
|
17490
18547
|
if (s2 !== peg$FAILED) {
|
|
17491
18548
|
peg$savedPos = s0;
|
|
17492
|
-
s1 = peg$
|
|
18549
|
+
s1 = peg$c102(s2);
|
|
17493
18550
|
s0 = s1;
|
|
17494
18551
|
} else {
|
|
17495
18552
|
peg$currPos = s0;
|
|
@@ -17506,36 +18563,36 @@ var require_grammarfc = __commonJS({
|
|
|
17506
18563
|
s0 = peg$currPos;
|
|
17507
18564
|
s1 = peg$currPos;
|
|
17508
18565
|
s2 = peg$currPos;
|
|
17509
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
17510
|
-
s3 = peg$
|
|
18566
|
+
if (input.substr(peg$currPos, 2) === peg$c103) {
|
|
18567
|
+
s3 = peg$c103;
|
|
17511
18568
|
peg$currPos += 2;
|
|
17512
18569
|
} else {
|
|
17513
18570
|
s3 = peg$FAILED;
|
|
17514
18571
|
if (peg$silentFails === 0) {
|
|
17515
|
-
peg$fail(peg$
|
|
18572
|
+
peg$fail(peg$c104);
|
|
17516
18573
|
}
|
|
17517
18574
|
}
|
|
17518
18575
|
if (s3 !== peg$FAILED) {
|
|
17519
18576
|
s4 = [];
|
|
17520
|
-
if (peg$
|
|
18577
|
+
if (peg$c105.test(input.charAt(peg$currPos))) {
|
|
17521
18578
|
s5 = input.charAt(peg$currPos);
|
|
17522
18579
|
peg$currPos++;
|
|
17523
18580
|
} else {
|
|
17524
18581
|
s5 = peg$FAILED;
|
|
17525
18582
|
if (peg$silentFails === 0) {
|
|
17526
|
-
peg$fail(peg$
|
|
18583
|
+
peg$fail(peg$c106);
|
|
17527
18584
|
}
|
|
17528
18585
|
}
|
|
17529
18586
|
if (s5 !== peg$FAILED) {
|
|
17530
18587
|
while (s5 !== peg$FAILED) {
|
|
17531
18588
|
s4.push(s5);
|
|
17532
|
-
if (peg$
|
|
18589
|
+
if (peg$c105.test(input.charAt(peg$currPos))) {
|
|
17533
18590
|
s5 = input.charAt(peg$currPos);
|
|
17534
18591
|
peg$currPos++;
|
|
17535
18592
|
} else {
|
|
17536
18593
|
s5 = peg$FAILED;
|
|
17537
18594
|
if (peg$silentFails === 0) {
|
|
17538
|
-
peg$fail(peg$
|
|
18595
|
+
peg$fail(peg$c106);
|
|
17539
18596
|
}
|
|
17540
18597
|
}
|
|
17541
18598
|
}
|
|
@@ -17560,7 +18617,7 @@ var require_grammarfc = __commonJS({
|
|
|
17560
18617
|
}
|
|
17561
18618
|
if (s1 !== peg$FAILED) {
|
|
17562
18619
|
peg$savedPos = s0;
|
|
17563
|
-
s1 = peg$
|
|
18620
|
+
s1 = peg$c107();
|
|
17564
18621
|
}
|
|
17565
18622
|
s0 = s1;
|
|
17566
18623
|
return s0;
|
|
@@ -17570,25 +18627,25 @@ var require_grammarfc = __commonJS({
|
|
|
17570
18627
|
s0 = peg$currPos;
|
|
17571
18628
|
s1 = peg$currPos;
|
|
17572
18629
|
s2 = [];
|
|
17573
|
-
if (peg$
|
|
18630
|
+
if (peg$c108.test(input.charAt(peg$currPos))) {
|
|
17574
18631
|
s3 = input.charAt(peg$currPos);
|
|
17575
18632
|
peg$currPos++;
|
|
17576
18633
|
} else {
|
|
17577
18634
|
s3 = peg$FAILED;
|
|
17578
18635
|
if (peg$silentFails === 0) {
|
|
17579
|
-
peg$fail(peg$
|
|
18636
|
+
peg$fail(peg$c109);
|
|
17580
18637
|
}
|
|
17581
18638
|
}
|
|
17582
18639
|
if (s3 !== peg$FAILED) {
|
|
17583
18640
|
while (s3 !== peg$FAILED) {
|
|
17584
18641
|
s2.push(s3);
|
|
17585
|
-
if (peg$
|
|
18642
|
+
if (peg$c108.test(input.charAt(peg$currPos))) {
|
|
17586
18643
|
s3 = input.charAt(peg$currPos);
|
|
17587
18644
|
peg$currPos++;
|
|
17588
18645
|
} else {
|
|
17589
18646
|
s3 = peg$FAILED;
|
|
17590
18647
|
if (peg$silentFails === 0) {
|
|
17591
|
-
peg$fail(peg$
|
|
18648
|
+
peg$fail(peg$c109);
|
|
17592
18649
|
}
|
|
17593
18650
|
}
|
|
17594
18651
|
}
|
|
@@ -17602,7 +18659,7 @@ var require_grammarfc = __commonJS({
|
|
|
17602
18659
|
}
|
|
17603
18660
|
if (s1 !== peg$FAILED) {
|
|
17604
18661
|
peg$savedPos = peg$currPos;
|
|
17605
|
-
s2 = peg$
|
|
18662
|
+
s2 = peg$c110();
|
|
17606
18663
|
if (s2) {
|
|
17607
18664
|
s2 = void 0;
|
|
17608
18665
|
} else {
|
|
@@ -17627,36 +18684,36 @@ var require_grammarfc = __commonJS({
|
|
|
17627
18684
|
s0 = peg$currPos;
|
|
17628
18685
|
s1 = peg$currPos;
|
|
17629
18686
|
s2 = peg$currPos;
|
|
17630
|
-
if (peg$
|
|
18687
|
+
if (peg$c111.test(input.charAt(peg$currPos))) {
|
|
17631
18688
|
s3 = input.charAt(peg$currPos);
|
|
17632
18689
|
peg$currPos++;
|
|
17633
18690
|
} else {
|
|
17634
18691
|
s3 = peg$FAILED;
|
|
17635
18692
|
if (peg$silentFails === 0) {
|
|
17636
|
-
peg$fail(peg$
|
|
18693
|
+
peg$fail(peg$c112);
|
|
17637
18694
|
}
|
|
17638
18695
|
}
|
|
17639
18696
|
if (s3 !== peg$FAILED) {
|
|
17640
18697
|
s4 = [];
|
|
17641
|
-
if (peg$
|
|
18698
|
+
if (peg$c113.test(input.charAt(peg$currPos))) {
|
|
17642
18699
|
s5 = input.charAt(peg$currPos);
|
|
17643
18700
|
peg$currPos++;
|
|
17644
18701
|
} else {
|
|
17645
18702
|
s5 = peg$FAILED;
|
|
17646
18703
|
if (peg$silentFails === 0) {
|
|
17647
|
-
peg$fail(peg$
|
|
18704
|
+
peg$fail(peg$c114);
|
|
17648
18705
|
}
|
|
17649
18706
|
}
|
|
17650
18707
|
if (s5 !== peg$FAILED) {
|
|
17651
18708
|
while (s5 !== peg$FAILED) {
|
|
17652
18709
|
s4.push(s5);
|
|
17653
|
-
if (peg$
|
|
18710
|
+
if (peg$c113.test(input.charAt(peg$currPos))) {
|
|
17654
18711
|
s5 = input.charAt(peg$currPos);
|
|
17655
18712
|
peg$currPos++;
|
|
17656
18713
|
} else {
|
|
17657
18714
|
s5 = peg$FAILED;
|
|
17658
18715
|
if (peg$silentFails === 0) {
|
|
17659
|
-
peg$fail(peg$
|
|
18716
|
+
peg$fail(peg$c114);
|
|
17660
18717
|
}
|
|
17661
18718
|
}
|
|
17662
18719
|
}
|
|
@@ -17681,7 +18738,7 @@ var require_grammarfc = __commonJS({
|
|
|
17681
18738
|
}
|
|
17682
18739
|
if (s1 !== peg$FAILED) {
|
|
17683
18740
|
peg$savedPos = s0;
|
|
17684
|
-
s1 = peg$
|
|
18741
|
+
s1 = peg$c115(s1);
|
|
17685
18742
|
}
|
|
17686
18743
|
s0 = s1;
|
|
17687
18744
|
return s0;
|
|
@@ -17706,7 +18763,7 @@ var require_grammarfc = __commonJS({
|
|
|
17706
18763
|
}
|
|
17707
18764
|
if (s2 !== peg$FAILED) {
|
|
17708
18765
|
peg$savedPos = s0;
|
|
17709
|
-
s1 = peg$
|
|
18766
|
+
s1 = peg$c116(s2);
|
|
17710
18767
|
s0 = s1;
|
|
17711
18768
|
} else {
|
|
17712
18769
|
peg$currPos = s0;
|
|
@@ -17723,7 +18780,7 @@ var require_grammarfc = __commonJS({
|
|
|
17723
18780
|
s2 = peg$parseunicodeCharacterName();
|
|
17724
18781
|
if (s2 !== peg$FAILED) {
|
|
17725
18782
|
peg$savedPos = s0;
|
|
17726
|
-
s1 = peg$
|
|
18783
|
+
s1 = peg$c117(s2);
|
|
17727
18784
|
s0 = s1;
|
|
17728
18785
|
} else {
|
|
17729
18786
|
peg$currPos = s0;
|
|
@@ -17740,7 +18797,7 @@ var require_grammarfc = __commonJS({
|
|
|
17740
18797
|
s2 = peg$parsehtmlNamedCharacterReference();
|
|
17741
18798
|
if (s2 !== peg$FAILED) {
|
|
17742
18799
|
peg$savedPos = s0;
|
|
17743
|
-
s1 = peg$
|
|
18800
|
+
s1 = peg$c118(s2);
|
|
17744
18801
|
s0 = s1;
|
|
17745
18802
|
} else {
|
|
17746
18803
|
peg$currPos = s0;
|
|
@@ -17767,12 +18824,12 @@ var require_grammarfc = __commonJS({
|
|
|
17767
18824
|
}
|
|
17768
18825
|
if (s2 !== peg$FAILED) {
|
|
17769
18826
|
if (input.charCodeAt(peg$currPos) === 59) {
|
|
17770
|
-
s3 = peg$
|
|
18827
|
+
s3 = peg$c86;
|
|
17771
18828
|
peg$currPos++;
|
|
17772
18829
|
} else {
|
|
17773
18830
|
s3 = peg$FAILED;
|
|
17774
18831
|
if (peg$silentFails === 0) {
|
|
17775
|
-
peg$fail(peg$
|
|
18832
|
+
peg$fail(peg$c87);
|
|
17776
18833
|
}
|
|
17777
18834
|
}
|
|
17778
18835
|
if (s3 !== peg$FAILED) {
|
|
@@ -17786,7 +18843,7 @@ var require_grammarfc = __commonJS({
|
|
|
17786
18843
|
s5 = peg$parsearray_E_items();
|
|
17787
18844
|
if (s5 !== peg$FAILED) {
|
|
17788
18845
|
peg$savedPos = s0;
|
|
17789
|
-
s1 = peg$
|
|
18846
|
+
s1 = peg$c90(s1, s5);
|
|
17790
18847
|
s0 = s1;
|
|
17791
18848
|
} else {
|
|
17792
18849
|
peg$currPos = s0;
|
|
@@ -17813,7 +18870,7 @@ var require_grammarfc = __commonJS({
|
|
|
17813
18870
|
s1 = peg$parseitem_E();
|
|
17814
18871
|
if (s1 !== peg$FAILED) {
|
|
17815
18872
|
peg$savedPos = s0;
|
|
17816
|
-
s1 = peg$
|
|
18873
|
+
s1 = peg$c91(s1);
|
|
17817
18874
|
}
|
|
17818
18875
|
s0 = s1;
|
|
17819
18876
|
}
|
|
@@ -17825,7 +18882,7 @@ var require_grammarfc = __commonJS({
|
|
|
17825
18882
|
s1 = peg$parsestart_code();
|
|
17826
18883
|
if (s1 !== peg$FAILED) {
|
|
17827
18884
|
peg$savedPos = peg$currPos;
|
|
17828
|
-
s2 = peg$
|
|
18885
|
+
s2 = peg$c119(s1);
|
|
17829
18886
|
if (s2) {
|
|
17830
18887
|
s2 = void 0;
|
|
17831
18888
|
} else {
|
|
@@ -17836,7 +18893,7 @@ var require_grammarfc = __commonJS({
|
|
|
17836
18893
|
s4 = peg$parsearray_E_items();
|
|
17837
18894
|
if (s4 !== peg$FAILED) {
|
|
17838
18895
|
peg$savedPos = s3;
|
|
17839
|
-
s4 = peg$
|
|
18896
|
+
s4 = peg$c120(s1, s4);
|
|
17840
18897
|
}
|
|
17841
18898
|
s3 = s4;
|
|
17842
18899
|
if (s3 === peg$FAILED) {
|
|
@@ -17846,7 +18903,7 @@ var require_grammarfc = __commonJS({
|
|
|
17846
18903
|
s4 = peg$parseend_code();
|
|
17847
18904
|
if (s4 !== peg$FAILED) {
|
|
17848
18905
|
peg$savedPos = s0;
|
|
17849
|
-
s1 = peg$
|
|
18906
|
+
s1 = peg$c121(s1, s3);
|
|
17850
18907
|
s0 = s1;
|
|
17851
18908
|
} else {
|
|
17852
18909
|
peg$currPos = s0;
|
|
@@ -17888,7 +18945,7 @@ var require_grammarfc = __commonJS({
|
|
|
17888
18945
|
}
|
|
17889
18946
|
if (s2 !== peg$FAILED) {
|
|
17890
18947
|
peg$savedPos = s0;
|
|
17891
|
-
s1 = peg$
|
|
18948
|
+
s1 = peg$c122(s1);
|
|
17892
18949
|
s0 = s1;
|
|
17893
18950
|
} else {
|
|
17894
18951
|
peg$currPos = s0;
|
|
@@ -17939,7 +18996,7 @@ var require_grammarfc = __commonJS({
|
|
|
17939
18996
|
}
|
|
17940
18997
|
if (s2 !== peg$FAILED) {
|
|
17941
18998
|
peg$savedPos = s0;
|
|
17942
|
-
s1 = peg$
|
|
18999
|
+
s1 = peg$c123(s1, s2);
|
|
17943
19000
|
s0 = s1;
|
|
17944
19001
|
} else {
|
|
17945
19002
|
peg$currPos = s0;
|
|
@@ -18625,7 +19682,7 @@ var require_grammarfc = __commonJS({
|
|
|
18625
19682
|
}
|
|
18626
19683
|
if (s1 !== peg$FAILED) {
|
|
18627
19684
|
peg$savedPos = peg$currPos;
|
|
18628
|
-
s2 = peg$
|
|
19685
|
+
s2 = peg$c124(s1);
|
|
18629
19686
|
if (s2) {
|
|
18630
19687
|
s2 = void 0;
|
|
18631
19688
|
} else {
|
|
@@ -18664,7 +19721,7 @@ var require_grammarfc = __commonJS({
|
|
|
18664
19721
|
s5 = peg$parseend_code();
|
|
18665
19722
|
if (s5 !== peg$FAILED) {
|
|
18666
19723
|
peg$savedPos = peg$currPos;
|
|
18667
|
-
s6 = peg$
|
|
19724
|
+
s6 = peg$c125(s1, s3, s4, s5);
|
|
18668
19725
|
if (s6) {
|
|
18669
19726
|
s6 = void 0;
|
|
18670
19727
|
} else {
|
|
@@ -18672,7 +19729,7 @@ var require_grammarfc = __commonJS({
|
|
|
18672
19729
|
}
|
|
18673
19730
|
if (s6 !== peg$FAILED) {
|
|
18674
19731
|
peg$savedPos = s0;
|
|
18675
|
-
s1 = peg$
|
|
19732
|
+
s1 = peg$c126(s1, s3, s4, s5);
|
|
18676
19733
|
s0 = s1;
|
|
18677
19734
|
} else {
|
|
18678
19735
|
peg$currPos = s0;
|
|
@@ -18720,7 +19777,7 @@ var require_grammarfc = __commonJS({
|
|
|
18720
19777
|
}
|
|
18721
19778
|
if (s1 !== peg$FAILED) {
|
|
18722
19779
|
peg$savedPos = peg$currPos;
|
|
18723
|
-
s2 = peg$
|
|
19780
|
+
s2 = peg$c124(s1);
|
|
18724
19781
|
if (s2) {
|
|
18725
19782
|
s2 = void 0;
|
|
18726
19783
|
} else {
|
|
@@ -18759,7 +19816,7 @@ var require_grammarfc = __commonJS({
|
|
|
18759
19816
|
s5 = peg$parseend_code();
|
|
18760
19817
|
if (s5 !== peg$FAILED) {
|
|
18761
19818
|
peg$savedPos = peg$currPos;
|
|
18762
|
-
s6 = peg$
|
|
19819
|
+
s6 = peg$c125(s1, s3, s4, s5);
|
|
18763
19820
|
if (s6) {
|
|
18764
19821
|
s6 = void 0;
|
|
18765
19822
|
} else {
|
|
@@ -18767,7 +19824,7 @@ var require_grammarfc = __commonJS({
|
|
|
18767
19824
|
}
|
|
18768
19825
|
if (s6 !== peg$FAILED) {
|
|
18769
19826
|
peg$savedPos = s0;
|
|
18770
|
-
s1 = peg$
|
|
19827
|
+
s1 = peg$c126(s1, s3, s4, s5);
|
|
18771
19828
|
s0 = s1;
|
|
18772
19829
|
} else {
|
|
18773
19830
|
peg$currPos = s0;
|
|
@@ -18815,7 +19872,7 @@ var require_grammarfc = __commonJS({
|
|
|
18815
19872
|
}
|
|
18816
19873
|
if (s1 !== peg$FAILED) {
|
|
18817
19874
|
peg$savedPos = peg$currPos;
|
|
18818
|
-
s2 = peg$
|
|
19875
|
+
s2 = peg$c124(s1);
|
|
18819
19876
|
if (s2) {
|
|
18820
19877
|
s2 = void 0;
|
|
18821
19878
|
} else {
|
|
@@ -18854,7 +19911,7 @@ var require_grammarfc = __commonJS({
|
|
|
18854
19911
|
s5 = peg$parseend_code();
|
|
18855
19912
|
if (s5 !== peg$FAILED) {
|
|
18856
19913
|
peg$savedPos = peg$currPos;
|
|
18857
|
-
s6 = peg$
|
|
19914
|
+
s6 = peg$c125(s1, s3, s4, s5);
|
|
18858
19915
|
if (s6) {
|
|
18859
19916
|
s6 = void 0;
|
|
18860
19917
|
} else {
|
|
@@ -18862,7 +19919,7 @@ var require_grammarfc = __commonJS({
|
|
|
18862
19919
|
}
|
|
18863
19920
|
if (s6 !== peg$FAILED) {
|
|
18864
19921
|
peg$savedPos = s0;
|
|
18865
|
-
s1 = peg$
|
|
19922
|
+
s1 = peg$c126(s1, s3, s4, s5);
|
|
18866
19923
|
s0 = s1;
|
|
18867
19924
|
} else {
|
|
18868
19925
|
peg$currPos = s0;
|
|
@@ -18910,7 +19967,7 @@ var require_grammarfc = __commonJS({
|
|
|
18910
19967
|
}
|
|
18911
19968
|
if (s1 !== peg$FAILED) {
|
|
18912
19969
|
peg$savedPos = peg$currPos;
|
|
18913
|
-
s2 = peg$
|
|
19970
|
+
s2 = peg$c124(s1);
|
|
18914
19971
|
if (s2) {
|
|
18915
19972
|
s2 = void 0;
|
|
18916
19973
|
} else {
|
|
@@ -18949,7 +20006,7 @@ var require_grammarfc = __commonJS({
|
|
|
18949
20006
|
s5 = peg$parseend_code();
|
|
18950
20007
|
if (s5 !== peg$FAILED) {
|
|
18951
20008
|
peg$savedPos = peg$currPos;
|
|
18952
|
-
s6 = peg$
|
|
20009
|
+
s6 = peg$c125(s1, s3, s4, s5);
|
|
18953
20010
|
if (s6) {
|
|
18954
20011
|
s6 = void 0;
|
|
18955
20012
|
} else {
|
|
@@ -18957,7 +20014,7 @@ var require_grammarfc = __commonJS({
|
|
|
18957
20014
|
}
|
|
18958
20015
|
if (s6 !== peg$FAILED) {
|
|
18959
20016
|
peg$savedPos = s0;
|
|
18960
|
-
s1 = peg$
|
|
20017
|
+
s1 = peg$c126(s1, s3, s4, s5);
|
|
18961
20018
|
s0 = s1;
|
|
18962
20019
|
} else {
|
|
18963
20020
|
peg$currPos = s0;
|
|
@@ -19005,7 +20062,7 @@ var require_grammarfc = __commonJS({
|
|
|
19005
20062
|
}
|
|
19006
20063
|
if (s1 !== peg$FAILED) {
|
|
19007
20064
|
peg$savedPos = peg$currPos;
|
|
19008
|
-
s2 = peg$
|
|
20065
|
+
s2 = peg$c124(s1);
|
|
19009
20066
|
if (s2) {
|
|
19010
20067
|
s2 = void 0;
|
|
19011
20068
|
} else {
|
|
@@ -19052,7 +20109,7 @@ var require_grammarfc = __commonJS({
|
|
|
19052
20109
|
}
|
|
19053
20110
|
if (s7 !== peg$FAILED) {
|
|
19054
20111
|
peg$savedPos = s5;
|
|
19055
|
-
s6 = peg$
|
|
20112
|
+
s6 = peg$c127(s1, s3, s4, s7);
|
|
19056
20113
|
s5 = s6;
|
|
19057
20114
|
} else {
|
|
19058
20115
|
peg$currPos = s5;
|
|
@@ -19069,7 +20126,7 @@ var require_grammarfc = __commonJS({
|
|
|
19069
20126
|
s6 = peg$parseend_code();
|
|
19070
20127
|
if (s6 !== peg$FAILED) {
|
|
19071
20128
|
peg$savedPos = peg$currPos;
|
|
19072
|
-
s7 = peg$
|
|
20129
|
+
s7 = peg$c128(s1, s3, s4, s5, s6);
|
|
19073
20130
|
if (s7) {
|
|
19074
20131
|
s7 = void 0;
|
|
19075
20132
|
} else {
|
|
@@ -19077,7 +20134,7 @@ var require_grammarfc = __commonJS({
|
|
|
19077
20134
|
}
|
|
19078
20135
|
if (s7 !== peg$FAILED) {
|
|
19079
20136
|
peg$savedPos = s0;
|
|
19080
|
-
s1 = peg$
|
|
20137
|
+
s1 = peg$c129(s1, s3, s4, s5, s6);
|
|
19081
20138
|
s0 = s1;
|
|
19082
20139
|
} else {
|
|
19083
20140
|
peg$currPos = s0;
|
|
@@ -19129,7 +20186,7 @@ var require_grammarfc = __commonJS({
|
|
|
19129
20186
|
}
|
|
19130
20187
|
if (s1 !== peg$FAILED) {
|
|
19131
20188
|
peg$savedPos = peg$currPos;
|
|
19132
|
-
s2 = peg$
|
|
20189
|
+
s2 = peg$c124(s1);
|
|
19133
20190
|
if (s2) {
|
|
19134
20191
|
s2 = void 0;
|
|
19135
20192
|
} else {
|
|
@@ -19176,7 +20233,7 @@ var require_grammarfc = __commonJS({
|
|
|
19176
20233
|
}
|
|
19177
20234
|
if (s7 !== peg$FAILED) {
|
|
19178
20235
|
peg$savedPos = s5;
|
|
19179
|
-
s6 = peg$
|
|
20236
|
+
s6 = peg$c127(s1, s3, s4, s7);
|
|
19180
20237
|
s5 = s6;
|
|
19181
20238
|
} else {
|
|
19182
20239
|
peg$currPos = s5;
|
|
@@ -19193,7 +20250,7 @@ var require_grammarfc = __commonJS({
|
|
|
19193
20250
|
s6 = peg$parseend_code();
|
|
19194
20251
|
if (s6 !== peg$FAILED) {
|
|
19195
20252
|
peg$savedPos = peg$currPos;
|
|
19196
|
-
s7 = peg$
|
|
20253
|
+
s7 = peg$c128(s1, s3, s4, s5, s6);
|
|
19197
20254
|
if (s7) {
|
|
19198
20255
|
s7 = void 0;
|
|
19199
20256
|
} else {
|
|
@@ -19201,7 +20258,7 @@ var require_grammarfc = __commonJS({
|
|
|
19201
20258
|
}
|
|
19202
20259
|
if (s7 !== peg$FAILED) {
|
|
19203
20260
|
peg$savedPos = s0;
|
|
19204
|
-
s1 = peg$
|
|
20261
|
+
s1 = peg$c129(s1, s3, s4, s5, s6);
|
|
19205
20262
|
s0 = s1;
|
|
19206
20263
|
} else {
|
|
19207
20264
|
peg$currPos = s0;
|
|
@@ -19245,20 +20302,20 @@ var require_grammarfc = __commonJS({
|
|
|
19245
20302
|
}
|
|
19246
20303
|
if (s1 !== peg$FAILED) {
|
|
19247
20304
|
peg$savedPos = peg$currPos;
|
|
19248
|
-
s2 = peg$
|
|
20305
|
+
s2 = peg$c130(s1);
|
|
19249
20306
|
if (s2) {
|
|
19250
20307
|
s2 = void 0;
|
|
19251
20308
|
} else {
|
|
19252
20309
|
s2 = peg$FAILED;
|
|
19253
20310
|
}
|
|
19254
20311
|
if (s2 !== peg$FAILED) {
|
|
19255
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
19256
|
-
s3 = peg$
|
|
20312
|
+
if (input.substr(peg$currPos, 3) === peg$c131) {
|
|
20313
|
+
s3 = peg$c131;
|
|
19257
20314
|
peg$currPos += 3;
|
|
19258
20315
|
} else {
|
|
19259
20316
|
s3 = peg$FAILED;
|
|
19260
20317
|
if (peg$silentFails === 0) {
|
|
19261
|
-
peg$fail(peg$
|
|
20318
|
+
peg$fail(peg$c132);
|
|
19262
20319
|
}
|
|
19263
20320
|
}
|
|
19264
20321
|
if (s3 !== peg$FAILED) {
|
|
@@ -19492,13 +20549,13 @@ var require_grammarfc = __commonJS({
|
|
|
19492
20549
|
s11 = peg$currPos;
|
|
19493
20550
|
s12 = peg$currPos;
|
|
19494
20551
|
peg$silentFails++;
|
|
19495
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
19496
|
-
s13 = peg$
|
|
20552
|
+
if (input.substr(peg$currPos, 3) === peg$c133) {
|
|
20553
|
+
s13 = peg$c133;
|
|
19497
20554
|
peg$currPos += 3;
|
|
19498
20555
|
} else {
|
|
19499
20556
|
s13 = peg$FAILED;
|
|
19500
20557
|
if (peg$silentFails === 0) {
|
|
19501
|
-
peg$fail(peg$
|
|
20558
|
+
peg$fail(peg$c134);
|
|
19502
20559
|
}
|
|
19503
20560
|
}
|
|
19504
20561
|
peg$silentFails--;
|
|
@@ -19565,13 +20622,13 @@ var require_grammarfc = __commonJS({
|
|
|
19565
20622
|
s11 = peg$currPos;
|
|
19566
20623
|
s12 = peg$currPos;
|
|
19567
20624
|
peg$silentFails++;
|
|
19568
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
19569
|
-
s13 = peg$
|
|
20625
|
+
if (input.substr(peg$currPos, 3) === peg$c133) {
|
|
20626
|
+
s13 = peg$c133;
|
|
19570
20627
|
peg$currPos += 3;
|
|
19571
20628
|
} else {
|
|
19572
20629
|
s13 = peg$FAILED;
|
|
19573
20630
|
if (peg$silentFails === 0) {
|
|
19574
|
-
peg$fail(peg$
|
|
20631
|
+
peg$fail(peg$c134);
|
|
19575
20632
|
}
|
|
19576
20633
|
}
|
|
19577
20634
|
peg$silentFails--;
|
|
@@ -19643,7 +20700,7 @@ var require_grammarfc = __commonJS({
|
|
|
19643
20700
|
}
|
|
19644
20701
|
if (s9 !== peg$FAILED) {
|
|
19645
20702
|
peg$savedPos = s8;
|
|
19646
|
-
s9 = peg$
|
|
20703
|
+
s9 = peg$c135(s1, s9);
|
|
19647
20704
|
}
|
|
19648
20705
|
s8 = s9;
|
|
19649
20706
|
}
|
|
@@ -19876,13 +20933,13 @@ var require_grammarfc = __commonJS({
|
|
|
19876
20933
|
s11 = peg$currPos;
|
|
19877
20934
|
s12 = peg$currPos;
|
|
19878
20935
|
peg$silentFails++;
|
|
19879
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
19880
|
-
s13 = peg$
|
|
20936
|
+
if (input.substr(peg$currPos, 3) === peg$c133) {
|
|
20937
|
+
s13 = peg$c133;
|
|
19881
20938
|
peg$currPos += 3;
|
|
19882
20939
|
} else {
|
|
19883
20940
|
s13 = peg$FAILED;
|
|
19884
20941
|
if (peg$silentFails === 0) {
|
|
19885
|
-
peg$fail(peg$
|
|
20942
|
+
peg$fail(peg$c134);
|
|
19886
20943
|
}
|
|
19887
20944
|
}
|
|
19888
20945
|
peg$silentFails--;
|
|
@@ -19949,13 +21006,13 @@ var require_grammarfc = __commonJS({
|
|
|
19949
21006
|
s11 = peg$currPos;
|
|
19950
21007
|
s12 = peg$currPos;
|
|
19951
21008
|
peg$silentFails++;
|
|
19952
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
19953
|
-
s13 = peg$
|
|
21009
|
+
if (input.substr(peg$currPos, 3) === peg$c133) {
|
|
21010
|
+
s13 = peg$c133;
|
|
19954
21011
|
peg$currPos += 3;
|
|
19955
21012
|
} else {
|
|
19956
21013
|
s13 = peg$FAILED;
|
|
19957
21014
|
if (peg$silentFails === 0) {
|
|
19958
|
-
peg$fail(peg$
|
|
21015
|
+
peg$fail(peg$c134);
|
|
19959
21016
|
}
|
|
19960
21017
|
}
|
|
19961
21018
|
peg$silentFails--;
|
|
@@ -20027,7 +21084,7 @@ var require_grammarfc = __commonJS({
|
|
|
20027
21084
|
}
|
|
20028
21085
|
if (s9 !== peg$FAILED) {
|
|
20029
21086
|
peg$savedPos = s8;
|
|
20030
|
-
s9 = peg$
|
|
21087
|
+
s9 = peg$c135(s1, s9);
|
|
20031
21088
|
}
|
|
20032
21089
|
s8 = s9;
|
|
20033
21090
|
}
|
|
@@ -20044,7 +21101,7 @@ var require_grammarfc = __commonJS({
|
|
|
20044
21101
|
}
|
|
20045
21102
|
if (s6 !== peg$FAILED) {
|
|
20046
21103
|
peg$savedPos = s5;
|
|
20047
|
-
s6 = peg$
|
|
21104
|
+
s6 = peg$c135(s1, s6);
|
|
20048
21105
|
}
|
|
20049
21106
|
s5 = s6;
|
|
20050
21107
|
}
|
|
@@ -20280,13 +21337,13 @@ var require_grammarfc = __commonJS({
|
|
|
20280
21337
|
s11 = peg$currPos;
|
|
20281
21338
|
s12 = peg$currPos;
|
|
20282
21339
|
peg$silentFails++;
|
|
20283
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
20284
|
-
s13 = peg$
|
|
21340
|
+
if (input.substr(peg$currPos, 3) === peg$c133) {
|
|
21341
|
+
s13 = peg$c133;
|
|
20285
21342
|
peg$currPos += 3;
|
|
20286
21343
|
} else {
|
|
20287
21344
|
s13 = peg$FAILED;
|
|
20288
21345
|
if (peg$silentFails === 0) {
|
|
20289
|
-
peg$fail(peg$
|
|
21346
|
+
peg$fail(peg$c134);
|
|
20290
21347
|
}
|
|
20291
21348
|
}
|
|
20292
21349
|
peg$silentFails--;
|
|
@@ -20353,13 +21410,13 @@ var require_grammarfc = __commonJS({
|
|
|
20353
21410
|
s11 = peg$currPos;
|
|
20354
21411
|
s12 = peg$currPos;
|
|
20355
21412
|
peg$silentFails++;
|
|
20356
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
20357
|
-
s13 = peg$
|
|
21413
|
+
if (input.substr(peg$currPos, 3) === peg$c133) {
|
|
21414
|
+
s13 = peg$c133;
|
|
20358
21415
|
peg$currPos += 3;
|
|
20359
21416
|
} else {
|
|
20360
21417
|
s13 = peg$FAILED;
|
|
20361
21418
|
if (peg$silentFails === 0) {
|
|
20362
|
-
peg$fail(peg$
|
|
21419
|
+
peg$fail(peg$c134);
|
|
20363
21420
|
}
|
|
20364
21421
|
}
|
|
20365
21422
|
peg$silentFails--;
|
|
@@ -20431,7 +21488,7 @@ var require_grammarfc = __commonJS({
|
|
|
20431
21488
|
}
|
|
20432
21489
|
if (s9 !== peg$FAILED) {
|
|
20433
21490
|
peg$savedPos = s8;
|
|
20434
|
-
s9 = peg$
|
|
21491
|
+
s9 = peg$c135(s1, s9);
|
|
20435
21492
|
}
|
|
20436
21493
|
s8 = s9;
|
|
20437
21494
|
}
|
|
@@ -20664,13 +21721,13 @@ var require_grammarfc = __commonJS({
|
|
|
20664
21721
|
s11 = peg$currPos;
|
|
20665
21722
|
s12 = peg$currPos;
|
|
20666
21723
|
peg$silentFails++;
|
|
20667
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
20668
|
-
s13 = peg$
|
|
21724
|
+
if (input.substr(peg$currPos, 3) === peg$c133) {
|
|
21725
|
+
s13 = peg$c133;
|
|
20669
21726
|
peg$currPos += 3;
|
|
20670
21727
|
} else {
|
|
20671
21728
|
s13 = peg$FAILED;
|
|
20672
21729
|
if (peg$silentFails === 0) {
|
|
20673
|
-
peg$fail(peg$
|
|
21730
|
+
peg$fail(peg$c134);
|
|
20674
21731
|
}
|
|
20675
21732
|
}
|
|
20676
21733
|
peg$silentFails--;
|
|
@@ -20737,13 +21794,13 @@ var require_grammarfc = __commonJS({
|
|
|
20737
21794
|
s11 = peg$currPos;
|
|
20738
21795
|
s12 = peg$currPos;
|
|
20739
21796
|
peg$silentFails++;
|
|
20740
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
20741
|
-
s13 = peg$
|
|
21797
|
+
if (input.substr(peg$currPos, 3) === peg$c133) {
|
|
21798
|
+
s13 = peg$c133;
|
|
20742
21799
|
peg$currPos += 3;
|
|
20743
21800
|
} else {
|
|
20744
21801
|
s13 = peg$FAILED;
|
|
20745
21802
|
if (peg$silentFails === 0) {
|
|
20746
|
-
peg$fail(peg$
|
|
21803
|
+
peg$fail(peg$c134);
|
|
20747
21804
|
}
|
|
20748
21805
|
}
|
|
20749
21806
|
peg$silentFails--;
|
|
@@ -20815,7 +21872,7 @@ var require_grammarfc = __commonJS({
|
|
|
20815
21872
|
}
|
|
20816
21873
|
if (s9 !== peg$FAILED) {
|
|
20817
21874
|
peg$savedPos = s8;
|
|
20818
|
-
s9 = peg$
|
|
21875
|
+
s9 = peg$c135(s1, s9);
|
|
20819
21876
|
}
|
|
20820
21877
|
s8 = s9;
|
|
20821
21878
|
}
|
|
@@ -20832,7 +21889,7 @@ var require_grammarfc = __commonJS({
|
|
|
20832
21889
|
}
|
|
20833
21890
|
if (s6 !== peg$FAILED) {
|
|
20834
21891
|
peg$savedPos = s5;
|
|
20835
|
-
s6 = peg$
|
|
21892
|
+
s6 = peg$c135(s1, s6);
|
|
20836
21893
|
}
|
|
20837
21894
|
s5 = s6;
|
|
20838
21895
|
}
|
|
@@ -20841,18 +21898,18 @@ var require_grammarfc = __commonJS({
|
|
|
20841
21898
|
s4 = peg$FAILED;
|
|
20842
21899
|
}
|
|
20843
21900
|
if (s4 !== peg$FAILED) {
|
|
20844
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
20845
|
-
s5 = peg$
|
|
21901
|
+
if (input.substr(peg$currPos, 3) === peg$c133) {
|
|
21902
|
+
s5 = peg$c133;
|
|
20846
21903
|
peg$currPos += 3;
|
|
20847
21904
|
} else {
|
|
20848
21905
|
s5 = peg$FAILED;
|
|
20849
21906
|
if (peg$silentFails === 0) {
|
|
20850
|
-
peg$fail(peg$
|
|
21907
|
+
peg$fail(peg$c134);
|
|
20851
21908
|
}
|
|
20852
21909
|
}
|
|
20853
21910
|
if (s5 !== peg$FAILED) {
|
|
20854
21911
|
peg$savedPos = s0;
|
|
20855
|
-
s1 = peg$
|
|
21912
|
+
s1 = peg$c136(s1, s4);
|
|
20856
21913
|
s0 = s1;
|
|
20857
21914
|
} else {
|
|
20858
21915
|
peg$currPos = s0;
|
|
@@ -20888,20 +21945,20 @@ var require_grammarfc = __commonJS({
|
|
|
20888
21945
|
}
|
|
20889
21946
|
if (s1 !== peg$FAILED) {
|
|
20890
21947
|
peg$savedPos = peg$currPos;
|
|
20891
|
-
s2 = peg$
|
|
21948
|
+
s2 = peg$c130(s1);
|
|
20892
21949
|
if (s2) {
|
|
20893
21950
|
s2 = void 0;
|
|
20894
21951
|
} else {
|
|
20895
21952
|
s2 = peg$FAILED;
|
|
20896
21953
|
}
|
|
20897
21954
|
if (s2 !== peg$FAILED) {
|
|
20898
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
20899
|
-
s3 = peg$
|
|
21955
|
+
if (input.substr(peg$currPos, 2) === peg$c137) {
|
|
21956
|
+
s3 = peg$c137;
|
|
20900
21957
|
peg$currPos += 2;
|
|
20901
21958
|
} else {
|
|
20902
21959
|
s3 = peg$FAILED;
|
|
20903
21960
|
if (peg$silentFails === 0) {
|
|
20904
|
-
peg$fail(peg$
|
|
21961
|
+
peg$fail(peg$c138);
|
|
20905
21962
|
}
|
|
20906
21963
|
}
|
|
20907
21964
|
if (s3 !== peg$FAILED) {
|
|
@@ -21135,13 +22192,13 @@ var require_grammarfc = __commonJS({
|
|
|
21135
22192
|
s11 = peg$currPos;
|
|
21136
22193
|
s12 = peg$currPos;
|
|
21137
22194
|
peg$silentFails++;
|
|
21138
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
21139
|
-
s13 = peg$
|
|
22195
|
+
if (input.substr(peg$currPos, 2) === peg$c139) {
|
|
22196
|
+
s13 = peg$c139;
|
|
21140
22197
|
peg$currPos += 2;
|
|
21141
22198
|
} else {
|
|
21142
22199
|
s13 = peg$FAILED;
|
|
21143
22200
|
if (peg$silentFails === 0) {
|
|
21144
|
-
peg$fail(peg$
|
|
22201
|
+
peg$fail(peg$c140);
|
|
21145
22202
|
}
|
|
21146
22203
|
}
|
|
21147
22204
|
peg$silentFails--;
|
|
@@ -21208,13 +22265,13 @@ var require_grammarfc = __commonJS({
|
|
|
21208
22265
|
s11 = peg$currPos;
|
|
21209
22266
|
s12 = peg$currPos;
|
|
21210
22267
|
peg$silentFails++;
|
|
21211
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
21212
|
-
s13 = peg$
|
|
22268
|
+
if (input.substr(peg$currPos, 2) === peg$c139) {
|
|
22269
|
+
s13 = peg$c139;
|
|
21213
22270
|
peg$currPos += 2;
|
|
21214
22271
|
} else {
|
|
21215
22272
|
s13 = peg$FAILED;
|
|
21216
22273
|
if (peg$silentFails === 0) {
|
|
21217
|
-
peg$fail(peg$
|
|
22274
|
+
peg$fail(peg$c140);
|
|
21218
22275
|
}
|
|
21219
22276
|
}
|
|
21220
22277
|
peg$silentFails--;
|
|
@@ -21286,7 +22343,7 @@ var require_grammarfc = __commonJS({
|
|
|
21286
22343
|
}
|
|
21287
22344
|
if (s9 !== peg$FAILED) {
|
|
21288
22345
|
peg$savedPos = s8;
|
|
21289
|
-
s9 = peg$
|
|
22346
|
+
s9 = peg$c135(s1, s9);
|
|
21290
22347
|
}
|
|
21291
22348
|
s8 = s9;
|
|
21292
22349
|
}
|
|
@@ -21519,13 +22576,13 @@ var require_grammarfc = __commonJS({
|
|
|
21519
22576
|
s11 = peg$currPos;
|
|
21520
22577
|
s12 = peg$currPos;
|
|
21521
22578
|
peg$silentFails++;
|
|
21522
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
21523
|
-
s13 = peg$
|
|
22579
|
+
if (input.substr(peg$currPos, 2) === peg$c139) {
|
|
22580
|
+
s13 = peg$c139;
|
|
21524
22581
|
peg$currPos += 2;
|
|
21525
22582
|
} else {
|
|
21526
22583
|
s13 = peg$FAILED;
|
|
21527
22584
|
if (peg$silentFails === 0) {
|
|
21528
|
-
peg$fail(peg$
|
|
22585
|
+
peg$fail(peg$c140);
|
|
21529
22586
|
}
|
|
21530
22587
|
}
|
|
21531
22588
|
peg$silentFails--;
|
|
@@ -21592,13 +22649,13 @@ var require_grammarfc = __commonJS({
|
|
|
21592
22649
|
s11 = peg$currPos;
|
|
21593
22650
|
s12 = peg$currPos;
|
|
21594
22651
|
peg$silentFails++;
|
|
21595
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
21596
|
-
s13 = peg$
|
|
22652
|
+
if (input.substr(peg$currPos, 2) === peg$c139) {
|
|
22653
|
+
s13 = peg$c139;
|
|
21597
22654
|
peg$currPos += 2;
|
|
21598
22655
|
} else {
|
|
21599
22656
|
s13 = peg$FAILED;
|
|
21600
22657
|
if (peg$silentFails === 0) {
|
|
21601
|
-
peg$fail(peg$
|
|
22658
|
+
peg$fail(peg$c140);
|
|
21602
22659
|
}
|
|
21603
22660
|
}
|
|
21604
22661
|
peg$silentFails--;
|
|
@@ -21670,7 +22727,7 @@ var require_grammarfc = __commonJS({
|
|
|
21670
22727
|
}
|
|
21671
22728
|
if (s9 !== peg$FAILED) {
|
|
21672
22729
|
peg$savedPos = s8;
|
|
21673
|
-
s9 = peg$
|
|
22730
|
+
s9 = peg$c135(s1, s9);
|
|
21674
22731
|
}
|
|
21675
22732
|
s8 = s9;
|
|
21676
22733
|
}
|
|
@@ -21687,7 +22744,7 @@ var require_grammarfc = __commonJS({
|
|
|
21687
22744
|
}
|
|
21688
22745
|
if (s6 !== peg$FAILED) {
|
|
21689
22746
|
peg$savedPos = s5;
|
|
21690
|
-
s6 = peg$
|
|
22747
|
+
s6 = peg$c135(s1, s6);
|
|
21691
22748
|
}
|
|
21692
22749
|
s5 = s6;
|
|
21693
22750
|
}
|
|
@@ -21923,13 +22980,13 @@ var require_grammarfc = __commonJS({
|
|
|
21923
22980
|
s11 = peg$currPos;
|
|
21924
22981
|
s12 = peg$currPos;
|
|
21925
22982
|
peg$silentFails++;
|
|
21926
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
21927
|
-
s13 = peg$
|
|
22983
|
+
if (input.substr(peg$currPos, 2) === peg$c139) {
|
|
22984
|
+
s13 = peg$c139;
|
|
21928
22985
|
peg$currPos += 2;
|
|
21929
22986
|
} else {
|
|
21930
22987
|
s13 = peg$FAILED;
|
|
21931
22988
|
if (peg$silentFails === 0) {
|
|
21932
|
-
peg$fail(peg$
|
|
22989
|
+
peg$fail(peg$c140);
|
|
21933
22990
|
}
|
|
21934
22991
|
}
|
|
21935
22992
|
peg$silentFails--;
|
|
@@ -21996,13 +23053,13 @@ var require_grammarfc = __commonJS({
|
|
|
21996
23053
|
s11 = peg$currPos;
|
|
21997
23054
|
s12 = peg$currPos;
|
|
21998
23055
|
peg$silentFails++;
|
|
21999
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
22000
|
-
s13 = peg$
|
|
23056
|
+
if (input.substr(peg$currPos, 2) === peg$c139) {
|
|
23057
|
+
s13 = peg$c139;
|
|
22001
23058
|
peg$currPos += 2;
|
|
22002
23059
|
} else {
|
|
22003
23060
|
s13 = peg$FAILED;
|
|
22004
23061
|
if (peg$silentFails === 0) {
|
|
22005
|
-
peg$fail(peg$
|
|
23062
|
+
peg$fail(peg$c140);
|
|
22006
23063
|
}
|
|
22007
23064
|
}
|
|
22008
23065
|
peg$silentFails--;
|
|
@@ -22074,7 +23131,7 @@ var require_grammarfc = __commonJS({
|
|
|
22074
23131
|
}
|
|
22075
23132
|
if (s9 !== peg$FAILED) {
|
|
22076
23133
|
peg$savedPos = s8;
|
|
22077
|
-
s9 = peg$
|
|
23134
|
+
s9 = peg$c135(s1, s9);
|
|
22078
23135
|
}
|
|
22079
23136
|
s8 = s9;
|
|
22080
23137
|
}
|
|
@@ -22307,13 +23364,13 @@ var require_grammarfc = __commonJS({
|
|
|
22307
23364
|
s11 = peg$currPos;
|
|
22308
23365
|
s12 = peg$currPos;
|
|
22309
23366
|
peg$silentFails++;
|
|
22310
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
22311
|
-
s13 = peg$
|
|
23367
|
+
if (input.substr(peg$currPos, 2) === peg$c139) {
|
|
23368
|
+
s13 = peg$c139;
|
|
22312
23369
|
peg$currPos += 2;
|
|
22313
23370
|
} else {
|
|
22314
23371
|
s13 = peg$FAILED;
|
|
22315
23372
|
if (peg$silentFails === 0) {
|
|
22316
|
-
peg$fail(peg$
|
|
23373
|
+
peg$fail(peg$c140);
|
|
22317
23374
|
}
|
|
22318
23375
|
}
|
|
22319
23376
|
peg$silentFails--;
|
|
@@ -22380,13 +23437,13 @@ var require_grammarfc = __commonJS({
|
|
|
22380
23437
|
s11 = peg$currPos;
|
|
22381
23438
|
s12 = peg$currPos;
|
|
22382
23439
|
peg$silentFails++;
|
|
22383
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
22384
|
-
s13 = peg$
|
|
23440
|
+
if (input.substr(peg$currPos, 2) === peg$c139) {
|
|
23441
|
+
s13 = peg$c139;
|
|
22385
23442
|
peg$currPos += 2;
|
|
22386
23443
|
} else {
|
|
22387
23444
|
s13 = peg$FAILED;
|
|
22388
23445
|
if (peg$silentFails === 0) {
|
|
22389
|
-
peg$fail(peg$
|
|
23446
|
+
peg$fail(peg$c140);
|
|
22390
23447
|
}
|
|
22391
23448
|
}
|
|
22392
23449
|
peg$silentFails--;
|
|
@@ -22458,7 +23515,7 @@ var require_grammarfc = __commonJS({
|
|
|
22458
23515
|
}
|
|
22459
23516
|
if (s9 !== peg$FAILED) {
|
|
22460
23517
|
peg$savedPos = s8;
|
|
22461
|
-
s9 = peg$
|
|
23518
|
+
s9 = peg$c135(s1, s9);
|
|
22462
23519
|
}
|
|
22463
23520
|
s8 = s9;
|
|
22464
23521
|
}
|
|
@@ -22475,7 +23532,7 @@ var require_grammarfc = __commonJS({
|
|
|
22475
23532
|
}
|
|
22476
23533
|
if (s6 !== peg$FAILED) {
|
|
22477
23534
|
peg$savedPos = s5;
|
|
22478
|
-
s6 = peg$
|
|
23535
|
+
s6 = peg$c135(s1, s6);
|
|
22479
23536
|
}
|
|
22480
23537
|
s5 = s6;
|
|
22481
23538
|
}
|
|
@@ -22484,18 +23541,18 @@ var require_grammarfc = __commonJS({
|
|
|
22484
23541
|
s4 = peg$FAILED;
|
|
22485
23542
|
}
|
|
22486
23543
|
if (s4 !== peg$FAILED) {
|
|
22487
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
22488
|
-
s5 = peg$
|
|
23544
|
+
if (input.substr(peg$currPos, 2) === peg$c139) {
|
|
23545
|
+
s5 = peg$c139;
|
|
22489
23546
|
peg$currPos += 2;
|
|
22490
23547
|
} else {
|
|
22491
23548
|
s5 = peg$FAILED;
|
|
22492
23549
|
if (peg$silentFails === 0) {
|
|
22493
|
-
peg$fail(peg$
|
|
23550
|
+
peg$fail(peg$c140);
|
|
22494
23551
|
}
|
|
22495
23552
|
}
|
|
22496
23553
|
if (s5 !== peg$FAILED) {
|
|
22497
23554
|
peg$savedPos = s0;
|
|
22498
|
-
s1 = peg$
|
|
23555
|
+
s1 = peg$c136(s1, s4);
|
|
22499
23556
|
s0 = s1;
|
|
22500
23557
|
} else {
|
|
22501
23558
|
peg$currPos = s0;
|
|
@@ -22531,7 +23588,7 @@ var require_grammarfc = __commonJS({
|
|
|
22531
23588
|
}
|
|
22532
23589
|
if (s1 !== peg$FAILED) {
|
|
22533
23590
|
peg$savedPos = peg$currPos;
|
|
22534
|
-
s2 = peg$
|
|
23591
|
+
s2 = peg$c130(s1);
|
|
22535
23592
|
if (s2) {
|
|
22536
23593
|
s2 = void 0;
|
|
22537
23594
|
} else {
|
|
@@ -22929,7 +23986,7 @@ var require_grammarfc = __commonJS({
|
|
|
22929
23986
|
}
|
|
22930
23987
|
if (s9 !== peg$FAILED) {
|
|
22931
23988
|
peg$savedPos = s8;
|
|
22932
|
-
s9 = peg$
|
|
23989
|
+
s9 = peg$c135(s1, s9);
|
|
22933
23990
|
}
|
|
22934
23991
|
s8 = s9;
|
|
22935
23992
|
}
|
|
@@ -23313,7 +24370,7 @@ var require_grammarfc = __commonJS({
|
|
|
23313
24370
|
}
|
|
23314
24371
|
if (s9 !== peg$FAILED) {
|
|
23315
24372
|
peg$savedPos = s8;
|
|
23316
|
-
s9 = peg$
|
|
24373
|
+
s9 = peg$c135(s1, s9);
|
|
23317
24374
|
}
|
|
23318
24375
|
s8 = s9;
|
|
23319
24376
|
}
|
|
@@ -23330,7 +24387,7 @@ var require_grammarfc = __commonJS({
|
|
|
23330
24387
|
}
|
|
23331
24388
|
if (s6 !== peg$FAILED) {
|
|
23332
24389
|
peg$savedPos = s5;
|
|
23333
|
-
s6 = peg$
|
|
24390
|
+
s6 = peg$c135(s1, s6);
|
|
23334
24391
|
}
|
|
23335
24392
|
s5 = s6;
|
|
23336
24393
|
}
|
|
@@ -23717,7 +24774,7 @@ var require_grammarfc = __commonJS({
|
|
|
23717
24774
|
}
|
|
23718
24775
|
if (s9 !== peg$FAILED) {
|
|
23719
24776
|
peg$savedPos = s8;
|
|
23720
|
-
s9 = peg$
|
|
24777
|
+
s9 = peg$c135(s1, s9);
|
|
23721
24778
|
}
|
|
23722
24779
|
s8 = s9;
|
|
23723
24780
|
}
|
|
@@ -24101,7 +25158,7 @@ var require_grammarfc = __commonJS({
|
|
|
24101
25158
|
}
|
|
24102
25159
|
if (s9 !== peg$FAILED) {
|
|
24103
25160
|
peg$savedPos = s8;
|
|
24104
|
-
s9 = peg$
|
|
25161
|
+
s9 = peg$c135(s1, s9);
|
|
24105
25162
|
}
|
|
24106
25163
|
s8 = s9;
|
|
24107
25164
|
}
|
|
@@ -24118,7 +25175,7 @@ var require_grammarfc = __commonJS({
|
|
|
24118
25175
|
}
|
|
24119
25176
|
if (s6 !== peg$FAILED) {
|
|
24120
25177
|
peg$savedPos = s5;
|
|
24121
|
-
s6 = peg$
|
|
25178
|
+
s6 = peg$c135(s1, s6);
|
|
24122
25179
|
}
|
|
24123
25180
|
s5 = s6;
|
|
24124
25181
|
}
|
|
@@ -24138,7 +25195,7 @@ var require_grammarfc = __commonJS({
|
|
|
24138
25195
|
}
|
|
24139
25196
|
if (s5 !== peg$FAILED) {
|
|
24140
25197
|
peg$savedPos = s0;
|
|
24141
|
-
s1 = peg$
|
|
25198
|
+
s1 = peg$c136(s1, s4);
|
|
24142
25199
|
s0 = s1;
|
|
24143
25200
|
} else {
|
|
24144
25201
|
peg$currPos = s0;
|
|
@@ -24174,7 +25231,7 @@ var require_grammarfc = __commonJS({
|
|
|
24174
25231
|
}
|
|
24175
25232
|
if (s1 !== peg$FAILED) {
|
|
24176
25233
|
peg$savedPos = peg$currPos;
|
|
24177
|
-
s2 = peg$
|
|
25234
|
+
s2 = peg$c130(s1);
|
|
24178
25235
|
if (s2) {
|
|
24179
25236
|
s2 = void 0;
|
|
24180
25237
|
} else {
|
|
@@ -24572,7 +25629,7 @@ var require_grammarfc = __commonJS({
|
|
|
24572
25629
|
}
|
|
24573
25630
|
if (s9 !== peg$FAILED) {
|
|
24574
25631
|
peg$savedPos = s8;
|
|
24575
|
-
s9 = peg$
|
|
25632
|
+
s9 = peg$c135(s1, s9);
|
|
24576
25633
|
}
|
|
24577
25634
|
s8 = s9;
|
|
24578
25635
|
}
|
|
@@ -24956,7 +26013,7 @@ var require_grammarfc = __commonJS({
|
|
|
24956
26013
|
}
|
|
24957
26014
|
if (s9 !== peg$FAILED) {
|
|
24958
26015
|
peg$savedPos = s8;
|
|
24959
|
-
s9 = peg$
|
|
26016
|
+
s9 = peg$c135(s1, s9);
|
|
24960
26017
|
}
|
|
24961
26018
|
s8 = s9;
|
|
24962
26019
|
}
|
|
@@ -24973,7 +26030,7 @@ var require_grammarfc = __commonJS({
|
|
|
24973
26030
|
}
|
|
24974
26031
|
if (s6 !== peg$FAILED) {
|
|
24975
26032
|
peg$savedPos = s5;
|
|
24976
|
-
s6 = peg$
|
|
26033
|
+
s6 = peg$c135(s1, s6);
|
|
24977
26034
|
}
|
|
24978
26035
|
s5 = s6;
|
|
24979
26036
|
}
|
|
@@ -25360,7 +26417,7 @@ var require_grammarfc = __commonJS({
|
|
|
25360
26417
|
}
|
|
25361
26418
|
if (s9 !== peg$FAILED) {
|
|
25362
26419
|
peg$savedPos = s8;
|
|
25363
|
-
s9 = peg$
|
|
26420
|
+
s9 = peg$c135(s1, s9);
|
|
25364
26421
|
}
|
|
25365
26422
|
s8 = s9;
|
|
25366
26423
|
}
|
|
@@ -25744,7 +26801,7 @@ var require_grammarfc = __commonJS({
|
|
|
25744
26801
|
}
|
|
25745
26802
|
if (s9 !== peg$FAILED) {
|
|
25746
26803
|
peg$savedPos = s8;
|
|
25747
|
-
s9 = peg$
|
|
26804
|
+
s9 = peg$c135(s1, s9);
|
|
25748
26805
|
}
|
|
25749
26806
|
s8 = s9;
|
|
25750
26807
|
}
|
|
@@ -25761,7 +26818,7 @@ var require_grammarfc = __commonJS({
|
|
|
25761
26818
|
}
|
|
25762
26819
|
if (s6 !== peg$FAILED) {
|
|
25763
26820
|
peg$savedPos = s5;
|
|
25764
|
-
s6 = peg$
|
|
26821
|
+
s6 = peg$c135(s1, s6);
|
|
25765
26822
|
}
|
|
25766
26823
|
s5 = s6;
|
|
25767
26824
|
}
|
|
@@ -25781,7 +26838,7 @@ var require_grammarfc = __commonJS({
|
|
|
25781
26838
|
}
|
|
25782
26839
|
if (s5 !== peg$FAILED) {
|
|
25783
26840
|
peg$savedPos = s0;
|
|
25784
|
-
s1 = peg$
|
|
26841
|
+
s1 = peg$c136(s1, s4);
|
|
25785
26842
|
s0 = s1;
|
|
25786
26843
|
} else {
|
|
25787
26844
|
peg$currPos = s0;
|
|
@@ -25817,20 +26874,20 @@ var require_grammarfc = __commonJS({
|
|
|
25817
26874
|
}
|
|
25818
26875
|
if (s1 !== peg$FAILED) {
|
|
25819
26876
|
peg$savedPos = peg$currPos;
|
|
25820
|
-
s2 = peg$
|
|
26877
|
+
s2 = peg$c141(s1);
|
|
25821
26878
|
if (s2) {
|
|
25822
26879
|
s2 = void 0;
|
|
25823
26880
|
} else {
|
|
25824
26881
|
s2 = peg$FAILED;
|
|
25825
26882
|
}
|
|
25826
26883
|
if (s2 !== peg$FAILED) {
|
|
25827
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
25828
|
-
s3 = peg$
|
|
26884
|
+
if (input.substr(peg$currPos, 3) === peg$c131) {
|
|
26885
|
+
s3 = peg$c131;
|
|
25829
26886
|
peg$currPos += 3;
|
|
25830
26887
|
} else {
|
|
25831
26888
|
s3 = peg$FAILED;
|
|
25832
26889
|
if (peg$silentFails === 0) {
|
|
25833
|
-
peg$fail(peg$
|
|
26890
|
+
peg$fail(peg$c132);
|
|
25834
26891
|
}
|
|
25835
26892
|
}
|
|
25836
26893
|
if (s3 !== peg$FAILED) {
|
|
@@ -25926,13 +26983,13 @@ var require_grammarfc = __commonJS({
|
|
|
25926
26983
|
s11 = peg$currPos;
|
|
25927
26984
|
s12 = peg$currPos;
|
|
25928
26985
|
peg$silentFails++;
|
|
25929
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
25930
|
-
s13 = peg$
|
|
26986
|
+
if (input.substr(peg$currPos, 3) === peg$c133) {
|
|
26987
|
+
s13 = peg$c133;
|
|
25931
26988
|
peg$currPos += 3;
|
|
25932
26989
|
} else {
|
|
25933
26990
|
s13 = peg$FAILED;
|
|
25934
26991
|
if (peg$silentFails === 0) {
|
|
25935
|
-
peg$fail(peg$
|
|
26992
|
+
peg$fail(peg$c134);
|
|
25936
26993
|
}
|
|
25937
26994
|
}
|
|
25938
26995
|
peg$silentFails--;
|
|
@@ -25999,13 +27056,13 @@ var require_grammarfc = __commonJS({
|
|
|
25999
27056
|
s11 = peg$currPos;
|
|
26000
27057
|
s12 = peg$currPos;
|
|
26001
27058
|
peg$silentFails++;
|
|
26002
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
26003
|
-
s13 = peg$
|
|
27059
|
+
if (input.substr(peg$currPos, 3) === peg$c133) {
|
|
27060
|
+
s13 = peg$c133;
|
|
26004
27061
|
peg$currPos += 3;
|
|
26005
27062
|
} else {
|
|
26006
27063
|
s13 = peg$FAILED;
|
|
26007
27064
|
if (peg$silentFails === 0) {
|
|
26008
|
-
peg$fail(peg$
|
|
27065
|
+
peg$fail(peg$c134);
|
|
26009
27066
|
}
|
|
26010
27067
|
}
|
|
26011
27068
|
peg$silentFails--;
|
|
@@ -26077,7 +27134,7 @@ var require_grammarfc = __commonJS({
|
|
|
26077
27134
|
}
|
|
26078
27135
|
if (s9 !== peg$FAILED) {
|
|
26079
27136
|
peg$savedPos = s8;
|
|
26080
|
-
s9 = peg$
|
|
27137
|
+
s9 = peg$c135(s1, s9);
|
|
26081
27138
|
}
|
|
26082
27139
|
s8 = s9;
|
|
26083
27140
|
}
|
|
@@ -26170,13 +27227,13 @@ var require_grammarfc = __commonJS({
|
|
|
26170
27227
|
s11 = peg$currPos;
|
|
26171
27228
|
s12 = peg$currPos;
|
|
26172
27229
|
peg$silentFails++;
|
|
26173
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
26174
|
-
s13 = peg$
|
|
27230
|
+
if (input.substr(peg$currPos, 3) === peg$c133) {
|
|
27231
|
+
s13 = peg$c133;
|
|
26175
27232
|
peg$currPos += 3;
|
|
26176
27233
|
} else {
|
|
26177
27234
|
s13 = peg$FAILED;
|
|
26178
27235
|
if (peg$silentFails === 0) {
|
|
26179
|
-
peg$fail(peg$
|
|
27236
|
+
peg$fail(peg$c134);
|
|
26180
27237
|
}
|
|
26181
27238
|
}
|
|
26182
27239
|
peg$silentFails--;
|
|
@@ -26243,13 +27300,13 @@ var require_grammarfc = __commonJS({
|
|
|
26243
27300
|
s11 = peg$currPos;
|
|
26244
27301
|
s12 = peg$currPos;
|
|
26245
27302
|
peg$silentFails++;
|
|
26246
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
26247
|
-
s13 = peg$
|
|
27303
|
+
if (input.substr(peg$currPos, 3) === peg$c133) {
|
|
27304
|
+
s13 = peg$c133;
|
|
26248
27305
|
peg$currPos += 3;
|
|
26249
27306
|
} else {
|
|
26250
27307
|
s13 = peg$FAILED;
|
|
26251
27308
|
if (peg$silentFails === 0) {
|
|
26252
|
-
peg$fail(peg$
|
|
27309
|
+
peg$fail(peg$c134);
|
|
26253
27310
|
}
|
|
26254
27311
|
}
|
|
26255
27312
|
peg$silentFails--;
|
|
@@ -26321,7 +27378,7 @@ var require_grammarfc = __commonJS({
|
|
|
26321
27378
|
}
|
|
26322
27379
|
if (s9 !== peg$FAILED) {
|
|
26323
27380
|
peg$savedPos = s8;
|
|
26324
|
-
s9 = peg$
|
|
27381
|
+
s9 = peg$c135(s1, s9);
|
|
26325
27382
|
}
|
|
26326
27383
|
s8 = s9;
|
|
26327
27384
|
}
|
|
@@ -26338,7 +27395,7 @@ var require_grammarfc = __commonJS({
|
|
|
26338
27395
|
}
|
|
26339
27396
|
if (s6 !== peg$FAILED) {
|
|
26340
27397
|
peg$savedPos = s5;
|
|
26341
|
-
s6 = peg$
|
|
27398
|
+
s6 = peg$c135(s1, s6);
|
|
26342
27399
|
}
|
|
26343
27400
|
s5 = s6;
|
|
26344
27401
|
}
|
|
@@ -26436,13 +27493,13 @@ var require_grammarfc = __commonJS({
|
|
|
26436
27493
|
s11 = peg$currPos;
|
|
26437
27494
|
s12 = peg$currPos;
|
|
26438
27495
|
peg$silentFails++;
|
|
26439
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
26440
|
-
s13 = peg$
|
|
27496
|
+
if (input.substr(peg$currPos, 3) === peg$c133) {
|
|
27497
|
+
s13 = peg$c133;
|
|
26441
27498
|
peg$currPos += 3;
|
|
26442
27499
|
} else {
|
|
26443
27500
|
s13 = peg$FAILED;
|
|
26444
27501
|
if (peg$silentFails === 0) {
|
|
26445
|
-
peg$fail(peg$
|
|
27502
|
+
peg$fail(peg$c134);
|
|
26446
27503
|
}
|
|
26447
27504
|
}
|
|
26448
27505
|
peg$silentFails--;
|
|
@@ -26509,13 +27566,13 @@ var require_grammarfc = __commonJS({
|
|
|
26509
27566
|
s11 = peg$currPos;
|
|
26510
27567
|
s12 = peg$currPos;
|
|
26511
27568
|
peg$silentFails++;
|
|
26512
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
26513
|
-
s13 = peg$
|
|
27569
|
+
if (input.substr(peg$currPos, 3) === peg$c133) {
|
|
27570
|
+
s13 = peg$c133;
|
|
26514
27571
|
peg$currPos += 3;
|
|
26515
27572
|
} else {
|
|
26516
27573
|
s13 = peg$FAILED;
|
|
26517
27574
|
if (peg$silentFails === 0) {
|
|
26518
|
-
peg$fail(peg$
|
|
27575
|
+
peg$fail(peg$c134);
|
|
26519
27576
|
}
|
|
26520
27577
|
}
|
|
26521
27578
|
peg$silentFails--;
|
|
@@ -26587,7 +27644,7 @@ var require_grammarfc = __commonJS({
|
|
|
26587
27644
|
}
|
|
26588
27645
|
if (s9 !== peg$FAILED) {
|
|
26589
27646
|
peg$savedPos = s8;
|
|
26590
|
-
s9 = peg$
|
|
27647
|
+
s9 = peg$c135(s1, s9);
|
|
26591
27648
|
}
|
|
26592
27649
|
s8 = s9;
|
|
26593
27650
|
}
|
|
@@ -26680,13 +27737,13 @@ var require_grammarfc = __commonJS({
|
|
|
26680
27737
|
s11 = peg$currPos;
|
|
26681
27738
|
s12 = peg$currPos;
|
|
26682
27739
|
peg$silentFails++;
|
|
26683
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
26684
|
-
s13 = peg$
|
|
27740
|
+
if (input.substr(peg$currPos, 3) === peg$c133) {
|
|
27741
|
+
s13 = peg$c133;
|
|
26685
27742
|
peg$currPos += 3;
|
|
26686
27743
|
} else {
|
|
26687
27744
|
s13 = peg$FAILED;
|
|
26688
27745
|
if (peg$silentFails === 0) {
|
|
26689
|
-
peg$fail(peg$
|
|
27746
|
+
peg$fail(peg$c134);
|
|
26690
27747
|
}
|
|
26691
27748
|
}
|
|
26692
27749
|
peg$silentFails--;
|
|
@@ -26753,13 +27810,13 @@ var require_grammarfc = __commonJS({
|
|
|
26753
27810
|
s11 = peg$currPos;
|
|
26754
27811
|
s12 = peg$currPos;
|
|
26755
27812
|
peg$silentFails++;
|
|
26756
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
26757
|
-
s13 = peg$
|
|
27813
|
+
if (input.substr(peg$currPos, 3) === peg$c133) {
|
|
27814
|
+
s13 = peg$c133;
|
|
26758
27815
|
peg$currPos += 3;
|
|
26759
27816
|
} else {
|
|
26760
27817
|
s13 = peg$FAILED;
|
|
26761
27818
|
if (peg$silentFails === 0) {
|
|
26762
|
-
peg$fail(peg$
|
|
27819
|
+
peg$fail(peg$c134);
|
|
26763
27820
|
}
|
|
26764
27821
|
}
|
|
26765
27822
|
peg$silentFails--;
|
|
@@ -26831,7 +27888,7 @@ var require_grammarfc = __commonJS({
|
|
|
26831
27888
|
}
|
|
26832
27889
|
if (s9 !== peg$FAILED) {
|
|
26833
27890
|
peg$savedPos = s8;
|
|
26834
|
-
s9 = peg$
|
|
27891
|
+
s9 = peg$c135(s1, s9);
|
|
26835
27892
|
}
|
|
26836
27893
|
s8 = s9;
|
|
26837
27894
|
}
|
|
@@ -26848,25 +27905,25 @@ var require_grammarfc = __commonJS({
|
|
|
26848
27905
|
}
|
|
26849
27906
|
if (s6 !== peg$FAILED) {
|
|
26850
27907
|
peg$savedPos = s5;
|
|
26851
|
-
s6 = peg$
|
|
27908
|
+
s6 = peg$c135(s1, s6);
|
|
26852
27909
|
}
|
|
26853
27910
|
s5 = s6;
|
|
26854
27911
|
}
|
|
26855
27912
|
}
|
|
26856
27913
|
}
|
|
26857
27914
|
if (s4 !== peg$FAILED) {
|
|
26858
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
26859
|
-
s5 = peg$
|
|
27915
|
+
if (input.substr(peg$currPos, 3) === peg$c133) {
|
|
27916
|
+
s5 = peg$c133;
|
|
26860
27917
|
peg$currPos += 3;
|
|
26861
27918
|
} else {
|
|
26862
27919
|
s5 = peg$FAILED;
|
|
26863
27920
|
if (peg$silentFails === 0) {
|
|
26864
|
-
peg$fail(peg$
|
|
27921
|
+
peg$fail(peg$c134);
|
|
26865
27922
|
}
|
|
26866
27923
|
}
|
|
26867
27924
|
if (s5 !== peg$FAILED) {
|
|
26868
27925
|
peg$savedPos = s0;
|
|
26869
|
-
s1 = peg$
|
|
27926
|
+
s1 = peg$c142(s1, s4);
|
|
26870
27927
|
s0 = s1;
|
|
26871
27928
|
} else {
|
|
26872
27929
|
peg$currPos = s0;
|
|
@@ -26902,20 +27959,20 @@ var require_grammarfc = __commonJS({
|
|
|
26902
27959
|
}
|
|
26903
27960
|
if (s1 !== peg$FAILED) {
|
|
26904
27961
|
peg$savedPos = peg$currPos;
|
|
26905
|
-
s2 = peg$
|
|
27962
|
+
s2 = peg$c141(s1);
|
|
26906
27963
|
if (s2) {
|
|
26907
27964
|
s2 = void 0;
|
|
26908
27965
|
} else {
|
|
26909
27966
|
s2 = peg$FAILED;
|
|
26910
27967
|
}
|
|
26911
27968
|
if (s2 !== peg$FAILED) {
|
|
26912
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
26913
|
-
s3 = peg$
|
|
27969
|
+
if (input.substr(peg$currPos, 2) === peg$c137) {
|
|
27970
|
+
s3 = peg$c137;
|
|
26914
27971
|
peg$currPos += 2;
|
|
26915
27972
|
} else {
|
|
26916
27973
|
s3 = peg$FAILED;
|
|
26917
27974
|
if (peg$silentFails === 0) {
|
|
26918
|
-
peg$fail(peg$
|
|
27975
|
+
peg$fail(peg$c138);
|
|
26919
27976
|
}
|
|
26920
27977
|
}
|
|
26921
27978
|
if (s3 !== peg$FAILED) {
|
|
@@ -27011,13 +28068,13 @@ var require_grammarfc = __commonJS({
|
|
|
27011
28068
|
s11 = peg$currPos;
|
|
27012
28069
|
s12 = peg$currPos;
|
|
27013
28070
|
peg$silentFails++;
|
|
27014
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
27015
|
-
s13 = peg$
|
|
28071
|
+
if (input.substr(peg$currPos, 2) === peg$c139) {
|
|
28072
|
+
s13 = peg$c139;
|
|
27016
28073
|
peg$currPos += 2;
|
|
27017
28074
|
} else {
|
|
27018
28075
|
s13 = peg$FAILED;
|
|
27019
28076
|
if (peg$silentFails === 0) {
|
|
27020
|
-
peg$fail(peg$
|
|
28077
|
+
peg$fail(peg$c140);
|
|
27021
28078
|
}
|
|
27022
28079
|
}
|
|
27023
28080
|
peg$silentFails--;
|
|
@@ -27084,13 +28141,13 @@ var require_grammarfc = __commonJS({
|
|
|
27084
28141
|
s11 = peg$currPos;
|
|
27085
28142
|
s12 = peg$currPos;
|
|
27086
28143
|
peg$silentFails++;
|
|
27087
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
27088
|
-
s13 = peg$
|
|
28144
|
+
if (input.substr(peg$currPos, 2) === peg$c139) {
|
|
28145
|
+
s13 = peg$c139;
|
|
27089
28146
|
peg$currPos += 2;
|
|
27090
28147
|
} else {
|
|
27091
28148
|
s13 = peg$FAILED;
|
|
27092
28149
|
if (peg$silentFails === 0) {
|
|
27093
|
-
peg$fail(peg$
|
|
28150
|
+
peg$fail(peg$c140);
|
|
27094
28151
|
}
|
|
27095
28152
|
}
|
|
27096
28153
|
peg$silentFails--;
|
|
@@ -27162,7 +28219,7 @@ var require_grammarfc = __commonJS({
|
|
|
27162
28219
|
}
|
|
27163
28220
|
if (s9 !== peg$FAILED) {
|
|
27164
28221
|
peg$savedPos = s8;
|
|
27165
|
-
s9 = peg$
|
|
28222
|
+
s9 = peg$c135(s1, s9);
|
|
27166
28223
|
}
|
|
27167
28224
|
s8 = s9;
|
|
27168
28225
|
}
|
|
@@ -27255,13 +28312,13 @@ var require_grammarfc = __commonJS({
|
|
|
27255
28312
|
s11 = peg$currPos;
|
|
27256
28313
|
s12 = peg$currPos;
|
|
27257
28314
|
peg$silentFails++;
|
|
27258
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
27259
|
-
s13 = peg$
|
|
28315
|
+
if (input.substr(peg$currPos, 2) === peg$c139) {
|
|
28316
|
+
s13 = peg$c139;
|
|
27260
28317
|
peg$currPos += 2;
|
|
27261
28318
|
} else {
|
|
27262
28319
|
s13 = peg$FAILED;
|
|
27263
28320
|
if (peg$silentFails === 0) {
|
|
27264
|
-
peg$fail(peg$
|
|
28321
|
+
peg$fail(peg$c140);
|
|
27265
28322
|
}
|
|
27266
28323
|
}
|
|
27267
28324
|
peg$silentFails--;
|
|
@@ -27328,13 +28385,13 @@ var require_grammarfc = __commonJS({
|
|
|
27328
28385
|
s11 = peg$currPos;
|
|
27329
28386
|
s12 = peg$currPos;
|
|
27330
28387
|
peg$silentFails++;
|
|
27331
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
27332
|
-
s13 = peg$
|
|
28388
|
+
if (input.substr(peg$currPos, 2) === peg$c139) {
|
|
28389
|
+
s13 = peg$c139;
|
|
27333
28390
|
peg$currPos += 2;
|
|
27334
28391
|
} else {
|
|
27335
28392
|
s13 = peg$FAILED;
|
|
27336
28393
|
if (peg$silentFails === 0) {
|
|
27337
|
-
peg$fail(peg$
|
|
28394
|
+
peg$fail(peg$c140);
|
|
27338
28395
|
}
|
|
27339
28396
|
}
|
|
27340
28397
|
peg$silentFails--;
|
|
@@ -27406,7 +28463,7 @@ var require_grammarfc = __commonJS({
|
|
|
27406
28463
|
}
|
|
27407
28464
|
if (s9 !== peg$FAILED) {
|
|
27408
28465
|
peg$savedPos = s8;
|
|
27409
|
-
s9 = peg$
|
|
28466
|
+
s9 = peg$c135(s1, s9);
|
|
27410
28467
|
}
|
|
27411
28468
|
s8 = s9;
|
|
27412
28469
|
}
|
|
@@ -27423,7 +28480,7 @@ var require_grammarfc = __commonJS({
|
|
|
27423
28480
|
}
|
|
27424
28481
|
if (s6 !== peg$FAILED) {
|
|
27425
28482
|
peg$savedPos = s5;
|
|
27426
|
-
s6 = peg$
|
|
28483
|
+
s6 = peg$c135(s1, s6);
|
|
27427
28484
|
}
|
|
27428
28485
|
s5 = s6;
|
|
27429
28486
|
}
|
|
@@ -27521,13 +28578,13 @@ var require_grammarfc = __commonJS({
|
|
|
27521
28578
|
s11 = peg$currPos;
|
|
27522
28579
|
s12 = peg$currPos;
|
|
27523
28580
|
peg$silentFails++;
|
|
27524
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
27525
|
-
s13 = peg$
|
|
28581
|
+
if (input.substr(peg$currPos, 2) === peg$c139) {
|
|
28582
|
+
s13 = peg$c139;
|
|
27526
28583
|
peg$currPos += 2;
|
|
27527
28584
|
} else {
|
|
27528
28585
|
s13 = peg$FAILED;
|
|
27529
28586
|
if (peg$silentFails === 0) {
|
|
27530
|
-
peg$fail(peg$
|
|
28587
|
+
peg$fail(peg$c140);
|
|
27531
28588
|
}
|
|
27532
28589
|
}
|
|
27533
28590
|
peg$silentFails--;
|
|
@@ -27594,13 +28651,13 @@ var require_grammarfc = __commonJS({
|
|
|
27594
28651
|
s11 = peg$currPos;
|
|
27595
28652
|
s12 = peg$currPos;
|
|
27596
28653
|
peg$silentFails++;
|
|
27597
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
27598
|
-
s13 = peg$
|
|
28654
|
+
if (input.substr(peg$currPos, 2) === peg$c139) {
|
|
28655
|
+
s13 = peg$c139;
|
|
27599
28656
|
peg$currPos += 2;
|
|
27600
28657
|
} else {
|
|
27601
28658
|
s13 = peg$FAILED;
|
|
27602
28659
|
if (peg$silentFails === 0) {
|
|
27603
|
-
peg$fail(peg$
|
|
28660
|
+
peg$fail(peg$c140);
|
|
27604
28661
|
}
|
|
27605
28662
|
}
|
|
27606
28663
|
peg$silentFails--;
|
|
@@ -27672,7 +28729,7 @@ var require_grammarfc = __commonJS({
|
|
|
27672
28729
|
}
|
|
27673
28730
|
if (s9 !== peg$FAILED) {
|
|
27674
28731
|
peg$savedPos = s8;
|
|
27675
|
-
s9 = peg$
|
|
28732
|
+
s9 = peg$c135(s1, s9);
|
|
27676
28733
|
}
|
|
27677
28734
|
s8 = s9;
|
|
27678
28735
|
}
|
|
@@ -27765,13 +28822,13 @@ var require_grammarfc = __commonJS({
|
|
|
27765
28822
|
s11 = peg$currPos;
|
|
27766
28823
|
s12 = peg$currPos;
|
|
27767
28824
|
peg$silentFails++;
|
|
27768
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
27769
|
-
s13 = peg$
|
|
28825
|
+
if (input.substr(peg$currPos, 2) === peg$c139) {
|
|
28826
|
+
s13 = peg$c139;
|
|
27770
28827
|
peg$currPos += 2;
|
|
27771
28828
|
} else {
|
|
27772
28829
|
s13 = peg$FAILED;
|
|
27773
28830
|
if (peg$silentFails === 0) {
|
|
27774
|
-
peg$fail(peg$
|
|
28831
|
+
peg$fail(peg$c140);
|
|
27775
28832
|
}
|
|
27776
28833
|
}
|
|
27777
28834
|
peg$silentFails--;
|
|
@@ -27838,13 +28895,13 @@ var require_grammarfc = __commonJS({
|
|
|
27838
28895
|
s11 = peg$currPos;
|
|
27839
28896
|
s12 = peg$currPos;
|
|
27840
28897
|
peg$silentFails++;
|
|
27841
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
27842
|
-
s13 = peg$
|
|
28898
|
+
if (input.substr(peg$currPos, 2) === peg$c139) {
|
|
28899
|
+
s13 = peg$c139;
|
|
27843
28900
|
peg$currPos += 2;
|
|
27844
28901
|
} else {
|
|
27845
28902
|
s13 = peg$FAILED;
|
|
27846
28903
|
if (peg$silentFails === 0) {
|
|
27847
|
-
peg$fail(peg$
|
|
28904
|
+
peg$fail(peg$c140);
|
|
27848
28905
|
}
|
|
27849
28906
|
}
|
|
27850
28907
|
peg$silentFails--;
|
|
@@ -27916,7 +28973,7 @@ var require_grammarfc = __commonJS({
|
|
|
27916
28973
|
}
|
|
27917
28974
|
if (s9 !== peg$FAILED) {
|
|
27918
28975
|
peg$savedPos = s8;
|
|
27919
|
-
s9 = peg$
|
|
28976
|
+
s9 = peg$c135(s1, s9);
|
|
27920
28977
|
}
|
|
27921
28978
|
s8 = s9;
|
|
27922
28979
|
}
|
|
@@ -27933,25 +28990,25 @@ var require_grammarfc = __commonJS({
|
|
|
27933
28990
|
}
|
|
27934
28991
|
if (s6 !== peg$FAILED) {
|
|
27935
28992
|
peg$savedPos = s5;
|
|
27936
|
-
s6 = peg$
|
|
28993
|
+
s6 = peg$c135(s1, s6);
|
|
27937
28994
|
}
|
|
27938
28995
|
s5 = s6;
|
|
27939
28996
|
}
|
|
27940
28997
|
}
|
|
27941
28998
|
}
|
|
27942
28999
|
if (s4 !== peg$FAILED) {
|
|
27943
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
27944
|
-
s5 = peg$
|
|
29000
|
+
if (input.substr(peg$currPos, 2) === peg$c139) {
|
|
29001
|
+
s5 = peg$c139;
|
|
27945
29002
|
peg$currPos += 2;
|
|
27946
29003
|
} else {
|
|
27947
29004
|
s5 = peg$FAILED;
|
|
27948
29005
|
if (peg$silentFails === 0) {
|
|
27949
|
-
peg$fail(peg$
|
|
29006
|
+
peg$fail(peg$c140);
|
|
27950
29007
|
}
|
|
27951
29008
|
}
|
|
27952
29009
|
if (s5 !== peg$FAILED) {
|
|
27953
29010
|
peg$savedPos = s0;
|
|
27954
|
-
s1 = peg$
|
|
29011
|
+
s1 = peg$c142(s1, s4);
|
|
27955
29012
|
s0 = s1;
|
|
27956
29013
|
} else {
|
|
27957
29014
|
peg$currPos = s0;
|
|
@@ -27987,7 +29044,7 @@ var require_grammarfc = __commonJS({
|
|
|
27987
29044
|
}
|
|
27988
29045
|
if (s1 !== peg$FAILED) {
|
|
27989
29046
|
peg$savedPos = peg$currPos;
|
|
27990
|
-
s2 = peg$
|
|
29047
|
+
s2 = peg$c141(s1);
|
|
27991
29048
|
if (s2) {
|
|
27992
29049
|
s2 = void 0;
|
|
27993
29050
|
} else {
|
|
@@ -28247,7 +29304,7 @@ var require_grammarfc = __commonJS({
|
|
|
28247
29304
|
}
|
|
28248
29305
|
if (s9 !== peg$FAILED) {
|
|
28249
29306
|
peg$savedPos = s8;
|
|
28250
|
-
s9 = peg$
|
|
29307
|
+
s9 = peg$c135(s1, s9);
|
|
28251
29308
|
}
|
|
28252
29309
|
s8 = s9;
|
|
28253
29310
|
}
|
|
@@ -28491,7 +29548,7 @@ var require_grammarfc = __commonJS({
|
|
|
28491
29548
|
}
|
|
28492
29549
|
if (s9 !== peg$FAILED) {
|
|
28493
29550
|
peg$savedPos = s8;
|
|
28494
|
-
s9 = peg$
|
|
29551
|
+
s9 = peg$c135(s1, s9);
|
|
28495
29552
|
}
|
|
28496
29553
|
s8 = s9;
|
|
28497
29554
|
}
|
|
@@ -28508,7 +29565,7 @@ var require_grammarfc = __commonJS({
|
|
|
28508
29565
|
}
|
|
28509
29566
|
if (s6 !== peg$FAILED) {
|
|
28510
29567
|
peg$savedPos = s5;
|
|
28511
|
-
s6 = peg$
|
|
29568
|
+
s6 = peg$c135(s1, s6);
|
|
28512
29569
|
}
|
|
28513
29570
|
s5 = s6;
|
|
28514
29571
|
}
|
|
@@ -28757,7 +29814,7 @@ var require_grammarfc = __commonJS({
|
|
|
28757
29814
|
}
|
|
28758
29815
|
if (s9 !== peg$FAILED) {
|
|
28759
29816
|
peg$savedPos = s8;
|
|
28760
|
-
s9 = peg$
|
|
29817
|
+
s9 = peg$c135(s1, s9);
|
|
28761
29818
|
}
|
|
28762
29819
|
s8 = s9;
|
|
28763
29820
|
}
|
|
@@ -29001,7 +30058,7 @@ var require_grammarfc = __commonJS({
|
|
|
29001
30058
|
}
|
|
29002
30059
|
if (s9 !== peg$FAILED) {
|
|
29003
30060
|
peg$savedPos = s8;
|
|
29004
|
-
s9 = peg$
|
|
30061
|
+
s9 = peg$c135(s1, s9);
|
|
29005
30062
|
}
|
|
29006
30063
|
s8 = s9;
|
|
29007
30064
|
}
|
|
@@ -29018,7 +30075,7 @@ var require_grammarfc = __commonJS({
|
|
|
29018
30075
|
}
|
|
29019
30076
|
if (s6 !== peg$FAILED) {
|
|
29020
30077
|
peg$savedPos = s5;
|
|
29021
|
-
s6 = peg$
|
|
30078
|
+
s6 = peg$c135(s1, s6);
|
|
29022
30079
|
}
|
|
29023
30080
|
s5 = s6;
|
|
29024
30081
|
}
|
|
@@ -29036,7 +30093,7 @@ var require_grammarfc = __commonJS({
|
|
|
29036
30093
|
}
|
|
29037
30094
|
if (s5 !== peg$FAILED) {
|
|
29038
30095
|
peg$savedPos = s0;
|
|
29039
|
-
s1 = peg$
|
|
30096
|
+
s1 = peg$c142(s1, s4);
|
|
29040
30097
|
s0 = s1;
|
|
29041
30098
|
} else {
|
|
29042
30099
|
peg$currPos = s0;
|
|
@@ -29072,7 +30129,7 @@ var require_grammarfc = __commonJS({
|
|
|
29072
30129
|
}
|
|
29073
30130
|
if (s1 !== peg$FAILED) {
|
|
29074
30131
|
peg$savedPos = peg$currPos;
|
|
29075
|
-
s2 = peg$
|
|
30132
|
+
s2 = peg$c141(s1);
|
|
29076
30133
|
if (s2) {
|
|
29077
30134
|
s2 = void 0;
|
|
29078
30135
|
} else {
|
|
@@ -29332,7 +30389,7 @@ var require_grammarfc = __commonJS({
|
|
|
29332
30389
|
}
|
|
29333
30390
|
if (s9 !== peg$FAILED) {
|
|
29334
30391
|
peg$savedPos = s8;
|
|
29335
|
-
s9 = peg$
|
|
30392
|
+
s9 = peg$c135(s1, s9);
|
|
29336
30393
|
}
|
|
29337
30394
|
s8 = s9;
|
|
29338
30395
|
}
|
|
@@ -29576,7 +30633,7 @@ var require_grammarfc = __commonJS({
|
|
|
29576
30633
|
}
|
|
29577
30634
|
if (s9 !== peg$FAILED) {
|
|
29578
30635
|
peg$savedPos = s8;
|
|
29579
|
-
s9 = peg$
|
|
30636
|
+
s9 = peg$c135(s1, s9);
|
|
29580
30637
|
}
|
|
29581
30638
|
s8 = s9;
|
|
29582
30639
|
}
|
|
@@ -29593,7 +30650,7 @@ var require_grammarfc = __commonJS({
|
|
|
29593
30650
|
}
|
|
29594
30651
|
if (s6 !== peg$FAILED) {
|
|
29595
30652
|
peg$savedPos = s5;
|
|
29596
|
-
s6 = peg$
|
|
30653
|
+
s6 = peg$c135(s1, s6);
|
|
29597
30654
|
}
|
|
29598
30655
|
s5 = s6;
|
|
29599
30656
|
}
|
|
@@ -29842,7 +30899,7 @@ var require_grammarfc = __commonJS({
|
|
|
29842
30899
|
}
|
|
29843
30900
|
if (s9 !== peg$FAILED) {
|
|
29844
30901
|
peg$savedPos = s8;
|
|
29845
|
-
s9 = peg$
|
|
30902
|
+
s9 = peg$c135(s1, s9);
|
|
29846
30903
|
}
|
|
29847
30904
|
s8 = s9;
|
|
29848
30905
|
}
|
|
@@ -30086,7 +31143,7 @@ var require_grammarfc = __commonJS({
|
|
|
30086
31143
|
}
|
|
30087
31144
|
if (s9 !== peg$FAILED) {
|
|
30088
31145
|
peg$savedPos = s8;
|
|
30089
|
-
s9 = peg$
|
|
31146
|
+
s9 = peg$c135(s1, s9);
|
|
30090
31147
|
}
|
|
30091
31148
|
s8 = s9;
|
|
30092
31149
|
}
|
|
@@ -30103,7 +31160,7 @@ var require_grammarfc = __commonJS({
|
|
|
30103
31160
|
}
|
|
30104
31161
|
if (s6 !== peg$FAILED) {
|
|
30105
31162
|
peg$savedPos = s5;
|
|
30106
|
-
s6 = peg$
|
|
31163
|
+
s6 = peg$c135(s1, s6);
|
|
30107
31164
|
}
|
|
30108
31165
|
s5 = s6;
|
|
30109
31166
|
}
|
|
@@ -30121,7 +31178,7 @@ var require_grammarfc = __commonJS({
|
|
|
30121
31178
|
}
|
|
30122
31179
|
if (s5 !== peg$FAILED) {
|
|
30123
31180
|
peg$savedPos = s0;
|
|
30124
|
-
s1 = peg$
|
|
31181
|
+
s1 = peg$c142(s1, s4);
|
|
30125
31182
|
s0 = s1;
|
|
30126
31183
|
} else {
|
|
30127
31184
|
peg$currPos = s0;
|
|
@@ -30152,6 +31209,18 @@ var require_grammarfc = __commonJS({
|
|
|
30152
31209
|
const map = { "<": ">", "\xAB": "\xBB", ">": "<", "\xBB": "\xAB" };
|
|
30153
31210
|
return map[tag];
|
|
30154
31211
|
}
|
|
31212
|
+
function link_target(spec) {
|
|
31213
|
+
const trimmed = spec.replace(/\s+$/, "");
|
|
31214
|
+
const quote = trimmed[0];
|
|
31215
|
+
if ((quote === "'" || quote === '"') && trimmed.length > 1 && trimmed[trimmed.length - 1] === quote) {
|
|
31216
|
+
return trimmed.slice(1, -1);
|
|
31217
|
+
}
|
|
31218
|
+
return trimmed;
|
|
31219
|
+
}
|
|
31220
|
+
function link_items(attrs, options2) {
|
|
31221
|
+
const read = options2 && options2.parseAttributes;
|
|
31222
|
+
return typeof read === "function" ? read(attrs) : attrs;
|
|
31223
|
+
}
|
|
30155
31224
|
peg$result = peg$startRuleFunction();
|
|
30156
31225
|
if (peg$result !== peg$FAILED && peg$currPos === input.length) {
|
|
30157
31226
|
return peg$result;
|
|
@@ -30583,6 +31652,25 @@ function thisFunc(rules) {
|
|
|
30583
31652
|
if ("string" === typeof node) {
|
|
30584
31653
|
return interator({ type: "text", value: node }, context);
|
|
30585
31654
|
}
|
|
31655
|
+
if (node.type === "block" && context) {
|
|
31656
|
+
const outer = { config: context.config, alias: context.alias };
|
|
31657
|
+
const had = { config: context.hasOwnProperty("config"), alias: context.hasOwnProperty("alias") };
|
|
31658
|
+
context.config = { ...outer.config };
|
|
31659
|
+
context.alias = { ...outer.alias };
|
|
31660
|
+
try {
|
|
31661
|
+
return dispatch(node, context);
|
|
31662
|
+
} finally {
|
|
31663
|
+
for (const key of ["config", "alias"]) {
|
|
31664
|
+
if (had[key])
|
|
31665
|
+
context[key] = outer[key];
|
|
31666
|
+
else
|
|
31667
|
+
delete context[key];
|
|
31668
|
+
}
|
|
31669
|
+
}
|
|
31670
|
+
}
|
|
31671
|
+
return dispatch(node, context);
|
|
31672
|
+
}
|
|
31673
|
+
function dispatch(node, context) {
|
|
30586
31674
|
const reversed = rules.slice();
|
|
30587
31675
|
reversed.reverse();
|
|
30588
31676
|
const ruleIndex = reversed.findIndex((rule) => rule.isFor(node));
|
|
@@ -30804,6 +31892,56 @@ function parseAttributes(src) {
|
|
|
30804
31892
|
}
|
|
30805
31893
|
}
|
|
30806
31894
|
|
|
31895
|
+
// ../podlite-schema/esm/helpers/configPropagation.js
|
|
31896
|
+
var mergeDefaults = (own4, defaults) => {
|
|
31897
|
+
const ownArr = Array.isArray(own4) ? own4 : [];
|
|
31898
|
+
const seen = new Set(ownArr.map((c) => c && c.name).filter(Boolean));
|
|
31899
|
+
const additions = defaults.filter((c) => c && c.name && !seen.has(c.name));
|
|
31900
|
+
if (additions.length === 0)
|
|
31901
|
+
return ownArr;
|
|
31902
|
+
return [...ownArr, ...additions];
|
|
31903
|
+
};
|
|
31904
|
+
var lookupKeys = (node) => {
|
|
31905
|
+
const keys2 = [];
|
|
31906
|
+
if (typeof node.name !== "string")
|
|
31907
|
+
return keys2;
|
|
31908
|
+
if (node.name === "head" && node.level !== void 0 && node.level !== null) {
|
|
31909
|
+
keys2.push(`head${node.level}`);
|
|
31910
|
+
}
|
|
31911
|
+
if (node.name === "item" && node.level !== void 0 && node.level !== null) {
|
|
31912
|
+
keys2.push(`item${node.level}`);
|
|
31913
|
+
}
|
|
31914
|
+
keys2.push(node.name);
|
|
31915
|
+
return keys2;
|
|
31916
|
+
};
|
|
31917
|
+
var walk = (node, config) => {
|
|
31918
|
+
if (Array.isArray(node)) {
|
|
31919
|
+
for (const child of node)
|
|
31920
|
+
walk(child, config);
|
|
31921
|
+
return;
|
|
31922
|
+
}
|
|
31923
|
+
if (!node || typeof node !== "object")
|
|
31924
|
+
return;
|
|
31925
|
+
const anyNode = node;
|
|
31926
|
+
if (anyNode.type === "config" && typeof anyNode.name === "string" && Array.isArray(anyNode.config)) {
|
|
31927
|
+
config[anyNode.name] = anyNode.config;
|
|
31928
|
+
} else if (anyNode.type === "block") {
|
|
31929
|
+
for (const key of lookupKeys(anyNode)) {
|
|
31930
|
+
const defaults = config[key];
|
|
31931
|
+
if (defaults && defaults.length) {
|
|
31932
|
+
anyNode.config = mergeDefaults(anyNode.config, defaults);
|
|
31933
|
+
}
|
|
31934
|
+
}
|
|
31935
|
+
}
|
|
31936
|
+
if (anyNode.content !== void 0) {
|
|
31937
|
+
walk(anyNode.content, anyNode.type === "block" ? { ...config } : config);
|
|
31938
|
+
}
|
|
31939
|
+
};
|
|
31940
|
+
var propagateConfigDefaults = (ast) => {
|
|
31941
|
+
walk(ast, {});
|
|
31942
|
+
return ast;
|
|
31943
|
+
};
|
|
31944
|
+
|
|
30807
31945
|
// ../podlite-schema/esm/index.js
|
|
30808
31946
|
var parser2 = __toESM(require_grammar());
|
|
30809
31947
|
|
|
@@ -30842,10 +31980,10 @@ var middle2 = () => (tree) => {
|
|
|
30842
31980
|
":para": (n, ctx, visiter) => {
|
|
30843
31981
|
return makeTransformer_default({
|
|
30844
31982
|
":text": (n2, ctx2) => {
|
|
30845
|
-
return fcparser.parse(n2.value);
|
|
31983
|
+
return fcparser.parse(n2.value, { parseAttributes });
|
|
30846
31984
|
},
|
|
30847
31985
|
":verbatim": (n2, ctx2) => {
|
|
30848
|
-
return fcparser.parse(n2.value);
|
|
31986
|
+
return fcparser.parse(n2.value, { parseAttributes });
|
|
30849
31987
|
}
|
|
30850
31988
|
})(n, { ...ctx });
|
|
30851
31989
|
return n;
|
|
@@ -30864,10 +32002,12 @@ var middle2 = () => (tree) => {
|
|
|
30864
32002
|
return n;
|
|
30865
32003
|
if (isVerbatimDefault && allowValues.length === 0)
|
|
30866
32004
|
return n;
|
|
32005
|
+
if (name === "cell" && conf.exists("allow") && allowValues.length === 0)
|
|
32006
|
+
return n;
|
|
30867
32007
|
const allowed = allowValues.sort();
|
|
30868
32008
|
const transformer = makeTransformer_default({
|
|
30869
|
-
":verbatim": (n2, ctx2) => fcparser.parse(n2.value, { allowed }),
|
|
30870
|
-
":text": (n2, ctx2) => fcparser.parse(n2.value, { allowed }),
|
|
32009
|
+
":verbatim": (n2, ctx2) => fcparser.parse(n2.value, { allowed, parseAttributes }),
|
|
32010
|
+
":text": (n2, ctx2) => fcparser.parse(n2.value, { allowed, parseAttributes }),
|
|
30871
32011
|
":block": (n2, ctx2) => transformerBlocks(n2, { ...ctx2 })
|
|
30872
32012
|
});
|
|
30873
32013
|
return { ...n, content: transformer(n.content, { ...ctx }) };
|
|
@@ -31266,11 +32406,11 @@ function parseMimeType(raw) {
|
|
|
31266
32406
|
}
|
|
31267
32407
|
function findDataBlockByKey(tree, key) {
|
|
31268
32408
|
let found = null;
|
|
31269
|
-
const
|
|
32409
|
+
const walk2 = (node) => {
|
|
31270
32410
|
if (found)
|
|
31271
32411
|
return;
|
|
31272
32412
|
if (Array.isArray(node)) {
|
|
31273
|
-
node.forEach(
|
|
32413
|
+
node.forEach(walk2);
|
|
31274
32414
|
return;
|
|
31275
32415
|
}
|
|
31276
32416
|
if (!node || typeof node !== "object")
|
|
@@ -31283,9 +32423,9 @@ function findDataBlockByKey(tree, key) {
|
|
|
31283
32423
|
}
|
|
31284
32424
|
}
|
|
31285
32425
|
if (Array.isArray(node.content))
|
|
31286
|
-
node.content.forEach(
|
|
32426
|
+
node.content.forEach(walk2);
|
|
31287
32427
|
};
|
|
31288
|
-
|
|
32428
|
+
walk2(tree);
|
|
31289
32429
|
return found;
|
|
31290
32430
|
}
|
|
31291
32431
|
function extractDataText(dataNode) {
|
|
@@ -31316,13 +32456,17 @@ function detectSourceReference(tableNode) {
|
|
|
31316
32456
|
return null;
|
|
31317
32457
|
return { scheme: m[1], target: m[2] };
|
|
31318
32458
|
}
|
|
31319
|
-
function buildCellBlock(text4) {
|
|
31320
|
-
|
|
32459
|
+
function buildCellBlock(text4, allow) {
|
|
32460
|
+
const block = {
|
|
31321
32461
|
name: "cell",
|
|
31322
32462
|
type: "block",
|
|
31323
32463
|
margin: "",
|
|
31324
32464
|
content: [{ type: "text", value: text4 }]
|
|
31325
32465
|
};
|
|
32466
|
+
if (allow) {
|
|
32467
|
+
block.config = [{ name: "allow", value: [...allow], type: "array" }];
|
|
32468
|
+
}
|
|
32469
|
+
return block;
|
|
31326
32470
|
}
|
|
31327
32471
|
function buildRowBlock(cells, isHeader) {
|
|
31328
32472
|
const block = {
|
|
@@ -31336,9 +32480,9 @@ function buildRowBlock(cells, isHeader) {
|
|
|
31336
32480
|
}
|
|
31337
32481
|
return block;
|
|
31338
32482
|
}
|
|
31339
|
-
function csvToTableContent(csvRows, hasHeader = false) {
|
|
32483
|
+
function csvToTableContent(csvRows, hasHeader = false, allow = []) {
|
|
31340
32484
|
return csvRows.map((row, i) => {
|
|
31341
|
-
const cells = row.map((v) => buildCellBlock(v.trim()));
|
|
32485
|
+
const cells = row.map((v) => buildCellBlock(v.trim(), allow));
|
|
31342
32486
|
return buildRowBlock(cells, hasHeader && i === 0);
|
|
31343
32487
|
});
|
|
31344
32488
|
}
|
|
@@ -31552,7 +32696,8 @@ var plugin_tables_default = () => (tree) => {
|
|
|
31552
32696
|
return { ...node, content: [] };
|
|
31553
32697
|
}
|
|
31554
32698
|
const hasHeader = mimeParams.header === "present";
|
|
31555
|
-
const
|
|
32699
|
+
const allow = config_default(node, {}).getAllValues("allow");
|
|
32700
|
+
const filledNode = { ...node, content: csvToTableContent(rows2, hasHeader, allow) };
|
|
31556
32701
|
return normalizeCellCounts(filledNode, `table data:${ref.target}`);
|
|
31557
32702
|
}
|
|
31558
32703
|
console.warn(`[table] =data :key<${ref.target}> has non-tabular mime-type ${rawMime || "(none)"} \u2014 rendered as =code`);
|
|
@@ -31742,7 +32887,11 @@ function processDataTable(node, tree) {
|
|
|
31742
32887
|
if (renameMap) {
|
|
31743
32888
|
rows = applyRename(rows, renameMap, hasHeader);
|
|
31744
32889
|
}
|
|
31745
|
-
const filledNode = {
|
|
32890
|
+
const filledNode = {
|
|
32891
|
+
...node,
|
|
32892
|
+
name: "table",
|
|
32893
|
+
content: csvToTableContent(rows, hasHeader, attrs.getAllValues("allow"))
|
|
32894
|
+
};
|
|
31746
32895
|
return normalizeCellCounts(filledNode, "data-table");
|
|
31747
32896
|
}
|
|
31748
32897
|
var plugin_data_table_default = () => (tree) => {
|
|
@@ -31761,6 +32910,7 @@ var plugin_data_table_default = () => (tree) => {
|
|
|
31761
32910
|
|
|
31762
32911
|
// ../podlite-schema/esm/index.js
|
|
31763
32912
|
var ajv = new import_ajv.default({ strict: true, allowUnionTypes: true });
|
|
32913
|
+
var configDefaults_plug = () => (tree) => propagateConfigDefaults(tree);
|
|
31764
32914
|
function makeTree() {
|
|
31765
32915
|
var plugins = [];
|
|
31766
32916
|
chain.use = use;
|
|
@@ -31772,6 +32922,7 @@ function makeTree() {
|
|
|
31772
32922
|
chain.use(plugin_defn_fill_term_default);
|
|
31773
32923
|
chain.use(plugin_tables_default);
|
|
31774
32924
|
chain.use(plugin_data_table_default);
|
|
32925
|
+
chain.use(configDefaults_plug);
|
|
31775
32926
|
chain.use(plugin_formatting_codes_default);
|
|
31776
32927
|
chain.use(plugin_group_items_default);
|
|
31777
32928
|
chain.use(plugin_group_defn_default);
|