jssm 5.143.21 → 5.143.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cdn/viz.js CHANGED
@@ -359,9 +359,7 @@ peg$SyntaxError.buildMessage = function (expected, found) {
359
359
  function peg$parse(input, options) {
360
360
  options = options !== void 0 ? options : {};
361
361
  var peg$FAILED = {}, peg$startRuleFunctions = { Document: peg$parseDocument }, peg$startRuleFunction = peg$parseDocument, peg$c0 = function (e) { return e; }, peg$c1 = "default", peg$c2 = peg$literalExpectation("default", false), peg$c3 = "ocean", peg$c4 = peg$literalExpectation("ocean", false), peg$c5 = "modern", peg$c6 = peg$literalExpectation("modern", false), peg$c7 = "plain", peg$c8 = peg$literalExpectation("plain", false), peg$c9 = "bold", peg$c10 = peg$literalExpectation("bold", false), peg$c11 = "[", peg$c12 = peg$literalExpectation("[", false), peg$c13 = "]", peg$c14 = peg$literalExpectation("]", false), peg$c15 = function (ths, th) { const themes = ths.map(t => t[0]); if (th)
362
- themes.push(th); return themes; }, peg$c16 = function (th) { return [th]; }, peg$c17 = "box3d", peg$c18 = peg$literalExpectation("box3d", false), peg$c19 = "polygon", peg$c20 = peg$literalExpectation("polygon", false), peg$c21 = "ellipse", peg$c22 = peg$literalExpectation("ellipse", false), peg$c23 = "oval", peg$c24 = peg$literalExpectation("oval", false), peg$c25 = "circle", peg$c26 = peg$literalExpectation("circle", false), peg$c27 = "point", peg$c28 = peg$literalExpectation("point", false), peg$c29 = "egg", peg$c30 = peg$literalExpectation("egg", false), peg$c31 = "triangle", peg$c32 = peg$literalExpectation("triangle", false), peg$c33 = "plaintext", peg$c34 = peg$literalExpectation("plaintext", false), peg$c35 = "diamond", peg$c36 = peg$literalExpectation("diamond", false), peg$c37 = "trapezium", peg$c38 = peg$literalExpectation("trapezium", false), peg$c39 = "parallelogram", peg$c40 = peg$literalExpectation("parallelogram", false), peg$c41 = "house", peg$c42 = peg$literalExpectation("house", false), peg$c43 = "pentagon", peg$c44 = peg$literalExpectation("pentagon", false), peg$c45 = "hexagon", peg$c46 = peg$literalExpectation("hexagon", false), peg$c47 = "septagon", peg$c48 = peg$literalExpectation("septagon", false), peg$c49 = "octagon", peg$c50 = peg$literalExpectation("octagon", false), peg$c51 = "doublecircle", peg$c52 = peg$literalExpectation("doublecircle", false), peg$c53 = "doubleoctagon", peg$c54 = peg$literalExpectation("doubleoctagon", false), peg$c55 = "tripleoctagon", peg$c56 = peg$literalExpectation("tripleoctagon", false), peg$c57 = "invtriangle", peg$c58 = peg$literalExpectation("invtriangle", false), peg$c59 = "invtrapezium", peg$c60 = peg$literalExpectation("invtrapezium", false), peg$c61 = "invhouse", peg$c62 = peg$literalExpectation("invhouse", false), peg$c63 = "Mdiamond", peg$c64 = peg$literalExpectation("Mdiamond", false), peg$c65 = "Msquare", peg$c66 = peg$literalExpectation("Msquare", false), peg$c67 = "Mcircle", peg$c68 = peg$literalExpectation("Mcircle", false), peg$c69 = "rectangle", peg$c70 = peg$literalExpectation("rectangle", false), peg$c71 = "rect", peg$c72 = peg$literalExpectation("rect", false), peg$c73 = "square", peg$c74 = peg$literalExpectation("square", false), peg$c75 = "star", peg$c76 = peg$literalExpectation("star", false), peg$c77 = "none", peg$c78 = peg$literalExpectation("none", false), peg$c79 = "underline", peg$c80 = peg$literalExpectation("underline", false), peg$c81 = "cylinder", peg$c82 = peg$literalExpectation("cylinder", false), peg$c83 = "note", peg$c84 = peg$literalExpectation("note", false), peg$c85 = "tab", peg$c86 = peg$literalExpectation("tab", false), peg$c87 = "folder", peg$c88 = peg$literalExpectation("folder", false), peg$c89 = "box", peg$c90 = peg$literalExpectation("box", false), peg$c91 = "component", peg$c92 = peg$literalExpectation("component", false), peg$c93 = "promoter", peg$c94 = peg$literalExpectation("promoter", false), peg$c95 = "cds", peg$c96 = peg$literalExpectation("cds", false), peg$c97 = "terminator", peg$c98 = peg$literalExpectation("terminator", false), peg$c99 = "utr", peg$c100 = peg$literalExpectation("utr", false), peg$c101 = "primersite", peg$c102 = peg$literalExpectation("primersite", false), peg$c103 = "restrictionsite", peg$c104 = peg$literalExpectation("restrictionsite", false), peg$c105 = "fivepoverhang", peg$c106 = peg$literalExpectation("fivepoverhang", false), peg$c107 = "threepoverhang", peg$c108 = peg$literalExpectation("threepoverhang", false), peg$c109 = "noverhang", peg$c110 = peg$literalExpectation("noverhang", false), peg$c111 = "assembly", peg$c112 = peg$literalExpectation("assembly", false), peg$c113 = "signature", peg$c114 = peg$literalExpectation("signature", false), peg$c115 = "insulator", peg$c116 = peg$literalExpectation("insulator", false), peg$c117 = "ribosite", peg$c118 = peg$literalExpectation("ribosite", false), peg$c119 = "rnastab", peg$c120 = peg$literalExpectation("rnastab", false), peg$c121 = "proteasesite", peg$c122 = peg$literalExpectation("proteasesite", false), peg$c123 = "proteinstab", peg$c124 = peg$literalExpectation("proteinstab", false), peg$c125 = "rpromoter", peg$c126 = peg$literalExpectation("rpromoter", false), peg$c127 = "rarrow", peg$c128 = peg$literalExpectation("rarrow", false), peg$c129 = "larrow", peg$c130 = peg$literalExpectation("larrow", false), peg$c131 = "lpromoter", peg$c132 = peg$literalExpectation("lpromoter", false), peg$c133 = "record", peg$c134 = peg$literalExpectation("record", false), peg$c135 = peg$otherExpectation("forward light arrow ->"), peg$c136 = "->", peg$c137 = peg$literalExpectation("->", false), peg$c138 = "\u2192", peg$c139 = peg$literalExpectation("\u2192", false), peg$c140 = function () { return "->"; }, peg$c141 = peg$otherExpectation("two way light arrow <->"), peg$c142 = "<->", peg$c143 = peg$literalExpectation("<->", false), peg$c144 = "\u2194", peg$c145 = peg$literalExpectation("\u2194", false), peg$c146 = function () { return "<->"; }, peg$c147 = peg$otherExpectation("back light arrow <-"), peg$c148 = "<-", peg$c149 = peg$literalExpectation("<-", false), peg$c150 = "\u2190", peg$c151 = peg$literalExpectation("\u2190", false), peg$c152 = function () { return "<-"; }, peg$c153 = peg$otherExpectation("forward fat arrow =>"), peg$c154 = "=>", peg$c155 = peg$literalExpectation("=>", false), peg$c156 = "\u21D2", peg$c157 = peg$literalExpectation("\u21D2", false), peg$c158 = function () { return "=>"; }, peg$c159 = peg$otherExpectation("two way fat arrow <=>"), peg$c160 = "<=>", peg$c161 = peg$literalExpectation("<=>", false), peg$c162 = "\u21D4", peg$c163 = peg$literalExpectation("\u21D4", false), peg$c164 = function () { return "<=>"; }, peg$c165 = peg$otherExpectation("back fat arrow <="), peg$c166 = "<=", peg$c167 = peg$literalExpectation("<=", false), peg$c168 = "\u21D0", peg$c169 = peg$literalExpectation("\u21D0", false), peg$c170 = function () { return "<="; }, peg$c171 = peg$otherExpectation("forward tilde arrow ~>"), peg$c172 = "~>", peg$c173 = peg$literalExpectation("~>", false), peg$c174 = "\u219B", peg$c175 = peg$literalExpectation("\u219B", false), peg$c176 = function () { return "~>"; }, peg$c177 = peg$otherExpectation("two way tilde arrow <~>"), peg$c178 = "<~>", peg$c179 = peg$literalExpectation("<~>", false), peg$c180 = "\u21AE", peg$c181 = peg$literalExpectation("\u21AE", false), peg$c182 = function () { return "<~>"; }, peg$c183 = peg$otherExpectation("back tilde arrow <~"), peg$c184 = "<~", peg$c185 = peg$literalExpectation("<~", false), peg$c186 = "\u219A", peg$c187 = peg$literalExpectation("\u219A", false), peg$c188 = function () { return "<~"; }, peg$c189 = peg$otherExpectation("light fat arrow <-=>"), peg$c190 = "<-=>", peg$c191 = peg$literalExpectation("<-=>", false), peg$c192 = "\u2190\u21D2", peg$c193 = peg$literalExpectation("\u2190\u21D2", false), peg$c194 = function () { return "<-=>"; }, peg$c195 = peg$otherExpectation("light tilde arrow <-~>"), peg$c196 = "<-~>", peg$c197 = peg$literalExpectation("<-~>", false), peg$c198 = "\u2190\u219B", peg$c199 = peg$literalExpectation("\u2190\u219B", false), peg$c200 = function () { return "<-~>"; }, peg$c201 = peg$otherExpectation("fat light arrow <=->"), peg$c202 = "<=->", peg$c203 = peg$literalExpectation("<=->", false), peg$c204 = "\u21D0\u2192", peg$c205 = peg$literalExpectation("\u21D0\u2192", false), peg$c206 = function () { return "<=->"; }, peg$c207 = peg$otherExpectation("fat tilde arrow <=~>"), peg$c208 = "<=~>", peg$c209 = peg$literalExpectation("<=~>", false), peg$c210 = "\u21D0\u219B", peg$c211 = peg$literalExpectation("\u21D0\u219B", false), peg$c212 = function () { return "<=~>"; }, peg$c213 = peg$otherExpectation("tilde light arrow <~->"), peg$c214 = "<~->", peg$c215 = peg$literalExpectation("<~->", false), peg$c216 = "\u219A\u2192", peg$c217 = peg$literalExpectation("\u219A\u2192", false), peg$c218 = function () { return "<~->"; }, peg$c219 = peg$otherExpectation("tilde fat arrow <~=>"), peg$c220 = "<~=>", peg$c221 = peg$literalExpectation("<~=>", false), peg$c222 = "\u219A\u21D2", peg$c223 = peg$literalExpectation("\u219A\u21D2", false), peg$c224 = function () { return "<~=>"; }, peg$c225 = peg$otherExpectation("light arrow"), peg$c226 = peg$otherExpectation("fat arrow"), peg$c227 = peg$otherExpectation("tilde arrow"), peg$c228 = peg$otherExpectation("mixed arrow"), peg$c229 = peg$otherExpectation("arrow"), peg$c230 = "true", peg$c231 = peg$literalExpectation("true", false), peg$c232 = function () { return true; }, peg$c233 = "false", peg$c234 = peg$literalExpectation("false", false), peg$c235 = function () { return false; }, peg$c236 = "regular", peg$c237 = peg$literalExpectation("regular", false), peg$c238 = "rounded", peg$c239 = peg$literalExpectation("rounded", false), peg$c240 = "lined", peg$c241 = peg$literalExpectation("lined", false), peg$c242 = "solid", peg$c243 = peg$literalExpectation("solid", false), peg$c244 = "dotted", peg$c245 = peg$literalExpectation("dotted", false), peg$c246 = "dashed", peg$c247 = peg$literalExpectation("dashed", false), peg$c248 = "\"", peg$c249 = peg$literalExpectation("\"", false), peg$c250 = "\\", peg$c251 = peg$literalExpectation("\\", false), peg$c252 = "/", peg$c253 = peg$literalExpectation("/", false), peg$c254 = "b", peg$c255 = peg$literalExpectation("b", false), peg$c256 = function () { return "\b"; }, peg$c257 = "f", peg$c258 = peg$literalExpectation("f", false), peg$c259 = function () { return "\f"; }, peg$c260 = "n", peg$c261 = peg$literalExpectation("n", false), peg$c262 = function () { return "\n"; }, peg$c263 = "r", peg$c264 = peg$literalExpectation("r", false), peg$c265 = function () { return "\r"; }, peg$c266 = "t", peg$c267 = peg$literalExpectation("t", false), peg$c268 = function () { return "\t"; }, peg$c269 = "v", peg$c270 = peg$literalExpectation("v", false), peg$c271 = function () { return "\v"; }, peg$c272 = "u", peg$c273 = peg$literalExpectation("u", false), peg$c274 = function (digits) {
363
- return String.fromCharCode(parseInt(digits, 16));
364
- }, peg$c275 = function (Sequence) { return Sequence; }, peg$c276 = "null", peg$c277 = peg$literalExpectation("null", false), peg$c278 = function () { return null; }, peg$c279 = "undefined", peg$c280 = peg$literalExpectation("undefined", false), peg$c281 = function () { return undefined; }, peg$c282 = /^[\0-!#-[\]-\uFFFF]/, peg$c283 = peg$classExpectation([["\0", "!"], ["#", "["], ["]", "\uFFFF"]], false, false), peg$c284 = "'", peg$c285 = peg$literalExpectation("'", false), peg$c286 = /^[ -&(-[\]-\uFFFF]/, peg$c287 = peg$classExpectation([[" ", "&"], ["(", "["], ["]", "\uFFFF"]], false, false), peg$c288 = peg$otherExpectation("action label"), peg$c289 = function (chars) { return chars.join(""); }, peg$c290 = /^[\n\r\u2028\u2029]/, peg$c291 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], false, false), peg$c292 = peg$otherExpectation("block comment"), peg$c293 = "/*", peg$c294 = peg$literalExpectation("/*", false), peg$c295 = "*/", peg$c296 = peg$literalExpectation("*/", false), peg$c297 = peg$anyExpectation(), peg$c298 = peg$otherExpectation("line comment"), peg$c299 = "//", peg$c300 = peg$literalExpectation("//", false), peg$c301 = peg$otherExpectation("whitespace"), peg$c304 = peg$otherExpectation("string"), peg$c309 = peg$otherExpectation("atom"), peg$c311 = peg$otherExpectation("label"), peg$c312 = "0", peg$c313 = peg$literalExpectation("0", false), peg$c314 = /^[0-9]/, peg$c315 = peg$classExpectation([["0", "9"]], false, false), peg$c316 = /^[1-9]/, peg$c317 = peg$classExpectation([["1", "9"]], false, false), peg$c318 = /^[0-9a-f]/i, peg$c319 = peg$classExpectation([["0", "9"], ["a", "f"]], false, true), peg$c320 = /^[0-1]/, peg$c321 = peg$classExpectation([["0", "1"]], false, false), peg$c322 = /^[0-7]/, peg$c323 = peg$classExpectation([["0", "7"]], false, false), peg$c324 = peg$otherExpectation("nonneg number"), peg$c325 = ".", peg$c326 = peg$literalExpectation(".", false), peg$c327 = function () { return parseFloat(text()); }, peg$c328 = peg$otherExpectation("number"), peg$c329 = function (literal) { return literal; }, peg$c330 = "NaN", peg$c331 = peg$literalExpectation("NaN", false), peg$c332 = function () { return NaN; }, peg$c333 = "NegativeInfinity", peg$c334 = peg$literalExpectation("NegativeInfinity", false), peg$c335 = function () { return Number.NEGATIVE_INFINITY; }, peg$c336 = "NegativeInf", peg$c337 = peg$literalExpectation("NegativeInf", false), peg$c338 = "NegInfinity", peg$c339 = peg$literalExpectation("NegInfinity", false), peg$c340 = "NegInf", peg$c341 = peg$literalExpectation("NegInf", false), peg$c342 = "NInfinity", peg$c343 = peg$literalExpectation("NInfinity", false), peg$c344 = "NInf", peg$c345 = peg$literalExpectation("NInf", false), peg$c346 = "-\u221E", peg$c347 = peg$literalExpectation("-\u221E", false), peg$c348 = "PInfinity", peg$c349 = peg$literalExpectation("PInfinity", false), peg$c350 = function () { return Number.POSITIVE_INFINITY; }, peg$c351 = "Infinity", peg$c352 = peg$literalExpectation("Infinity", false), peg$c353 = "PInf", peg$c354 = peg$literalExpectation("PInf", false), peg$c355 = "Inf", peg$c356 = peg$literalExpectation("Inf", false), peg$c357 = "\u221E", peg$c358 = peg$literalExpectation("\u221E", false), peg$c359 = "Epsilon", peg$c360 = peg$literalExpectation("Epsilon", false), peg$c361 = function () { return Number.EPSILON; }, peg$c362 = "\uD835\uDF00", peg$c363 = peg$literalExpectation("\uD835\uDF00", false), peg$c364 = "\u03B5", peg$c365 = peg$literalExpectation("\u03B5", false), peg$c366 = "Pi", peg$c367 = peg$literalExpectation("Pi", false), peg$c368 = function () { return Math.PI; }, peg$c369 = "\uD835\uDF0B", peg$c370 = peg$literalExpectation("\uD835\uDF0B", false), peg$c371 = "\u03C0", peg$c372 = peg$literalExpectation("\u03C0", false), peg$c373 = "EulerNumber", peg$c374 = peg$literalExpectation("EulerNumber", false), peg$c375 = function () { return Math.E; }, peg$c376 = "E", peg$c377 = peg$literalExpectation("E", false), peg$c378 = "e", peg$c379 = peg$literalExpectation("e", false), peg$c380 = "\u0190", peg$c381 = peg$literalExpectation("\u0190", false), peg$c382 = "\u2107", peg$c383 = peg$literalExpectation("\u2107", false), peg$c384 = "Root2", peg$c385 = peg$literalExpectation("Root2", false), peg$c386 = function () { return Math.SQRT2; }, peg$c387 = "RootHalf", peg$c388 = peg$literalExpectation("RootHalf", false), peg$c389 = function () { return Math.SQRT1_2; }, peg$c390 = "Ln2", peg$c391 = peg$literalExpectation("Ln2", false), peg$c392 = function () { return Math.LN2; }, peg$c393 = "NatLog2", peg$c394 = peg$literalExpectation("NatLog2", false), peg$c395 = "Ln10", peg$c396 = peg$literalExpectation("Ln10", false), peg$c397 = function () { return Math.LN10; }, peg$c398 = "NatLog10", peg$c399 = peg$literalExpectation("NatLog10", false), peg$c400 = "Log2E", peg$c401 = peg$literalExpectation("Log2E", false), peg$c402 = function () { return Math.LOG2E; }, peg$c403 = "Log10E", peg$c404 = peg$literalExpectation("Log10E", false), peg$c405 = function () { return Math.LOG10E; }, peg$c406 = "MaxSafeInt", peg$c407 = peg$literalExpectation("MaxSafeInt", false), peg$c408 = function () { return Number.MAX_SAFE_INTEGER; }, peg$c409 = "MinSafeInt", peg$c410 = peg$literalExpectation("MinSafeInt", false), peg$c411 = function () { return Number.MIN_SAFE_INTEGER; }, peg$c412 = "MaxPosNum", peg$c413 = peg$literalExpectation("MaxPosNum", false), peg$c414 = function () { return Number.MAX_VALUE; }, peg$c415 = "MinPosNum", peg$c416 = peg$literalExpectation("MinPosNum", false), peg$c417 = function () { return Number.MIN_VALUE; }, peg$c418 = "Phi", peg$c419 = peg$literalExpectation("Phi", false), peg$c420 = function () { return 1.61803398874989484820; }, peg$c421 = "\uD835\uDF11", peg$c422 = peg$literalExpectation("\uD835\uDF11", false), peg$c423 = "\uD835\uDF19", peg$c424 = peg$literalExpectation("\uD835\uDF19", false), peg$c425 = "\u03D5", peg$c426 = peg$literalExpectation("\u03D5", false), peg$c427 = "\u03C6", peg$c428 = peg$literalExpectation("\u03C6", false), peg$c429 = "EulerConstant", peg$c430 = peg$literalExpectation("EulerConstant", false), peg$c431 = function () { return 0.57721566490153286060; }, peg$c432 = "\u03B3", peg$c433 = peg$literalExpectation("\u03B3", false), peg$c434 = "\uD835\uDEFE", peg$c435 = peg$literalExpectation("\uD835\uDEFE", false), peg$c436 = peg$literalExpectation("e", true), peg$c437 = /^[+\-]/, peg$c438 = peg$classExpectation(["+", "-"], false, false), peg$c439 = "0x", peg$c440 = peg$literalExpectation("0x", true), peg$c441 = function (digits) {
362
+ themes.push(th); return themes; }, peg$c16 = function (th) { return [th]; }, peg$c17 = "box3d", peg$c18 = peg$literalExpectation("box3d", false), peg$c19 = "polygon", peg$c20 = peg$literalExpectation("polygon", false), peg$c21 = "ellipse", peg$c22 = peg$literalExpectation("ellipse", false), peg$c23 = "oval", peg$c24 = peg$literalExpectation("oval", false), peg$c25 = "circle", peg$c26 = peg$literalExpectation("circle", false), peg$c27 = "point", peg$c28 = peg$literalExpectation("point", false), peg$c29 = "egg", peg$c30 = peg$literalExpectation("egg", false), peg$c31 = "triangle", peg$c32 = peg$literalExpectation("triangle", false), peg$c33 = "plaintext", peg$c34 = peg$literalExpectation("plaintext", false), peg$c35 = "diamond", peg$c36 = peg$literalExpectation("diamond", false), peg$c37 = "trapezium", peg$c38 = peg$literalExpectation("trapezium", false), peg$c39 = "parallelogram", peg$c40 = peg$literalExpectation("parallelogram", false), peg$c41 = "house", peg$c42 = peg$literalExpectation("house", false), peg$c43 = "pentagon", peg$c44 = peg$literalExpectation("pentagon", false), peg$c45 = "hexagon", peg$c46 = peg$literalExpectation("hexagon", false), peg$c47 = "septagon", peg$c48 = peg$literalExpectation("septagon", false), peg$c49 = "octagon", peg$c50 = peg$literalExpectation("octagon", false), peg$c51 = "doublecircle", peg$c52 = peg$literalExpectation("doublecircle", false), peg$c53 = "doubleoctagon", peg$c54 = peg$literalExpectation("doubleoctagon", false), peg$c55 = "tripleoctagon", peg$c56 = peg$literalExpectation("tripleoctagon", false), peg$c57 = "invtriangle", peg$c58 = peg$literalExpectation("invtriangle", false), peg$c59 = "invtrapezium", peg$c60 = peg$literalExpectation("invtrapezium", false), peg$c61 = "invhouse", peg$c62 = peg$literalExpectation("invhouse", false), peg$c63 = "Mdiamond", peg$c64 = peg$literalExpectation("Mdiamond", false), peg$c65 = "Msquare", peg$c66 = peg$literalExpectation("Msquare", false), peg$c67 = "Mcircle", peg$c68 = peg$literalExpectation("Mcircle", false), peg$c69 = "rectangle", peg$c70 = peg$literalExpectation("rectangle", false), peg$c71 = "rect", peg$c72 = peg$literalExpectation("rect", false), peg$c73 = "square", peg$c74 = peg$literalExpectation("square", false), peg$c75 = "star", peg$c76 = peg$literalExpectation("star", false), peg$c77 = "none", peg$c78 = peg$literalExpectation("none", false), peg$c79 = "underline", peg$c80 = peg$literalExpectation("underline", false), peg$c81 = "cylinder", peg$c82 = peg$literalExpectation("cylinder", false), peg$c83 = "note", peg$c84 = peg$literalExpectation("note", false), peg$c85 = "tab", peg$c86 = peg$literalExpectation("tab", false), peg$c87 = "folder", peg$c88 = peg$literalExpectation("folder", false), peg$c89 = "box", peg$c90 = peg$literalExpectation("box", false), peg$c91 = "component", peg$c92 = peg$literalExpectation("component", false), peg$c93 = "promoter", peg$c94 = peg$literalExpectation("promoter", false), peg$c95 = "cds", peg$c96 = peg$literalExpectation("cds", false), peg$c97 = "terminator", peg$c98 = peg$literalExpectation("terminator", false), peg$c99 = "utr", peg$c100 = peg$literalExpectation("utr", false), peg$c101 = "primersite", peg$c102 = peg$literalExpectation("primersite", false), peg$c103 = "restrictionsite", peg$c104 = peg$literalExpectation("restrictionsite", false), peg$c105 = "fivepoverhang", peg$c106 = peg$literalExpectation("fivepoverhang", false), peg$c107 = "threepoverhang", peg$c108 = peg$literalExpectation("threepoverhang", false), peg$c109 = "noverhang", peg$c110 = peg$literalExpectation("noverhang", false), peg$c111 = "assembly", peg$c112 = peg$literalExpectation("assembly", false), peg$c113 = "signature", peg$c114 = peg$literalExpectation("signature", false), peg$c115 = "insulator", peg$c116 = peg$literalExpectation("insulator", false), peg$c117 = "ribosite", peg$c118 = peg$literalExpectation("ribosite", false), peg$c119 = "rnastab", peg$c120 = peg$literalExpectation("rnastab", false), peg$c121 = "proteasesite", peg$c122 = peg$literalExpectation("proteasesite", false), peg$c123 = "proteinstab", peg$c124 = peg$literalExpectation("proteinstab", false), peg$c125 = "rpromoter", peg$c126 = peg$literalExpectation("rpromoter", false), peg$c127 = "rarrow", peg$c128 = peg$literalExpectation("rarrow", false), peg$c129 = "larrow", peg$c130 = peg$literalExpectation("larrow", false), peg$c131 = "lpromoter", peg$c132 = peg$literalExpectation("lpromoter", false), peg$c133 = "record", peg$c134 = peg$literalExpectation("record", false), peg$c135 = peg$otherExpectation("forward light arrow ->"), peg$c136 = "->", peg$c137 = peg$literalExpectation("->", false), peg$c138 = "\u2192", peg$c139 = peg$literalExpectation("\u2192", false), peg$c140 = function () { return "->"; }, peg$c141 = peg$otherExpectation("two way light arrow <->"), peg$c142 = "<->", peg$c143 = peg$literalExpectation("<->", false), peg$c144 = "\u2194", peg$c145 = peg$literalExpectation("\u2194", false), peg$c146 = function () { return "<->"; }, peg$c147 = peg$otherExpectation("back light arrow <-"), peg$c148 = "<-", peg$c149 = peg$literalExpectation("<-", false), peg$c150 = "\u2190", peg$c151 = peg$literalExpectation("\u2190", false), peg$c152 = function () { return "<-"; }, peg$c153 = peg$otherExpectation("forward fat arrow =>"), peg$c154 = "=>", peg$c155 = peg$literalExpectation("=>", false), peg$c156 = "\u21D2", peg$c157 = peg$literalExpectation("\u21D2", false), peg$c158 = function () { return "=>"; }, peg$c159 = peg$otherExpectation("two way fat arrow <=>"), peg$c160 = "<=>", peg$c161 = peg$literalExpectation("<=>", false), peg$c162 = "\u21D4", peg$c163 = peg$literalExpectation("\u21D4", false), peg$c164 = function () { return "<=>"; }, peg$c165 = peg$otherExpectation("back fat arrow <="), peg$c166 = "<=", peg$c167 = peg$literalExpectation("<=", false), peg$c168 = "\u21D0", peg$c169 = peg$literalExpectation("\u21D0", false), peg$c170 = function () { return "<="; }, peg$c171 = peg$otherExpectation("forward tilde arrow ~>"), peg$c172 = "~>", peg$c173 = peg$literalExpectation("~>", false), peg$c174 = "\u219B", peg$c175 = peg$literalExpectation("\u219B", false), peg$c176 = function () { return "~>"; }, peg$c177 = peg$otherExpectation("two way tilde arrow <~>"), peg$c178 = "<~>", peg$c179 = peg$literalExpectation("<~>", false), peg$c180 = "\u21AE", peg$c181 = peg$literalExpectation("\u21AE", false), peg$c182 = function () { return "<~>"; }, peg$c183 = peg$otherExpectation("back tilde arrow <~"), peg$c184 = "<~", peg$c185 = peg$literalExpectation("<~", false), peg$c186 = "\u219A", peg$c187 = peg$literalExpectation("\u219A", false), peg$c188 = function () { return "<~"; }, peg$c189 = peg$otherExpectation("light fat arrow <-=>"), peg$c190 = "<-=>", peg$c191 = peg$literalExpectation("<-=>", false), peg$c192 = "\u2190\u21D2", peg$c193 = peg$literalExpectation("\u2190\u21D2", false), peg$c194 = function () { return "<-=>"; }, peg$c195 = peg$otherExpectation("light tilde arrow <-~>"), peg$c196 = "<-~>", peg$c197 = peg$literalExpectation("<-~>", false), peg$c198 = "\u2190\u219B", peg$c199 = peg$literalExpectation("\u2190\u219B", false), peg$c200 = function () { return "<-~>"; }, peg$c201 = peg$otherExpectation("fat light arrow <=->"), peg$c202 = "<=->", peg$c203 = peg$literalExpectation("<=->", false), peg$c204 = "\u21D0\u2192", peg$c205 = peg$literalExpectation("\u21D0\u2192", false), peg$c206 = function () { return "<=->"; }, peg$c207 = peg$otherExpectation("fat tilde arrow <=~>"), peg$c208 = "<=~>", peg$c209 = peg$literalExpectation("<=~>", false), peg$c210 = "\u21D0\u219B", peg$c211 = peg$literalExpectation("\u21D0\u219B", false), peg$c212 = function () { return "<=~>"; }, peg$c213 = peg$otherExpectation("tilde light arrow <~->"), peg$c214 = "<~->", peg$c215 = peg$literalExpectation("<~->", false), peg$c216 = "\u219A\u2192", peg$c217 = peg$literalExpectation("\u219A\u2192", false), peg$c218 = function () { return "<~->"; }, peg$c219 = peg$otherExpectation("tilde fat arrow <~=>"), peg$c220 = "<~=>", peg$c221 = peg$literalExpectation("<~=>", false), peg$c222 = "\u219A\u21D2", peg$c223 = peg$literalExpectation("\u219A\u21D2", false), peg$c224 = function () { return "<~=>"; }, peg$c225 = peg$otherExpectation("light arrow"), peg$c226 = peg$otherExpectation("fat arrow"), peg$c227 = peg$otherExpectation("tilde arrow"), peg$c228 = peg$otherExpectation("mixed arrow"), peg$c229 = peg$otherExpectation("arrow"), peg$c230 = "true", peg$c231 = peg$literalExpectation("true", false), peg$c232 = function () { return true; }, peg$c233 = "false", peg$c234 = peg$literalExpectation("false", false), peg$c235 = function () { return false; }, peg$c236 = "regular", peg$c237 = peg$literalExpectation("regular", false), peg$c238 = "rounded", peg$c239 = peg$literalExpectation("rounded", false), peg$c240 = "lined", peg$c241 = peg$literalExpectation("lined", false), peg$c242 = "solid", peg$c243 = peg$literalExpectation("solid", false), peg$c244 = "dotted", peg$c245 = peg$literalExpectation("dotted", false), peg$c246 = "dashed", peg$c247 = peg$literalExpectation("dashed", false), peg$c276 = "null", peg$c277 = peg$literalExpectation("null", false), peg$c278 = function () { return null; }, peg$c279 = "undefined", peg$c280 = peg$literalExpectation("undefined", false), peg$c281 = function () { return undefined; }, peg$c288 = peg$otherExpectation("action label"), peg$c290 = /^[\n\r\u2028\u2029]/, peg$c291 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], false, false), peg$c292 = peg$otherExpectation("block comment"), peg$c293 = "/*", peg$c294 = peg$literalExpectation("/*", false), peg$c295 = "*/", peg$c296 = peg$literalExpectation("*/", false), peg$c297 = peg$anyExpectation(), peg$c298 = peg$otherExpectation("line comment"), peg$c299 = "//", peg$c300 = peg$literalExpectation("//", false), peg$c301 = peg$otherExpectation("whitespace"), peg$c304 = peg$otherExpectation("string"), peg$c309 = peg$otherExpectation("atom"), peg$c311 = peg$otherExpectation("label"), peg$c312 = "0", peg$c313 = peg$literalExpectation("0", false), peg$c314 = /^[0-9]/, peg$c315 = peg$classExpectation([["0", "9"]], false, false), peg$c316 = /^[1-9]/, peg$c317 = peg$classExpectation([["1", "9"]], false, false), peg$c318 = /^[0-9a-f]/i, peg$c319 = peg$classExpectation([["0", "9"], ["a", "f"]], false, true), peg$c320 = /^[0-1]/, peg$c321 = peg$classExpectation([["0", "1"]], false, false), peg$c322 = /^[0-7]/, peg$c323 = peg$classExpectation([["0", "7"]], false, false), peg$c324 = peg$otherExpectation("nonneg number"), peg$c325 = ".", peg$c326 = peg$literalExpectation(".", false), peg$c327 = function () { return parseFloat(text()); }, peg$c328 = peg$otherExpectation("number"), peg$c329 = function (literal) { return literal; }, peg$c330 = "NaN", peg$c331 = peg$literalExpectation("NaN", false), peg$c332 = function () { return NaN; }, peg$c333 = "NegativeInfinity", peg$c334 = peg$literalExpectation("NegativeInfinity", false), peg$c335 = function () { return Number.NEGATIVE_INFINITY; }, peg$c336 = "NegativeInf", peg$c337 = peg$literalExpectation("NegativeInf", false), peg$c338 = "NegInfinity", peg$c339 = peg$literalExpectation("NegInfinity", false), peg$c340 = "NegInf", peg$c341 = peg$literalExpectation("NegInf", false), peg$c342 = "NInfinity", peg$c343 = peg$literalExpectation("NInfinity", false), peg$c344 = "NInf", peg$c345 = peg$literalExpectation("NInf", false), peg$c346 = "-\u221E", peg$c347 = peg$literalExpectation("-\u221E", false), peg$c348 = "PInfinity", peg$c349 = peg$literalExpectation("PInfinity", false), peg$c350 = function () { return Number.POSITIVE_INFINITY; }, peg$c351 = "Infinity", peg$c352 = peg$literalExpectation("Infinity", false), peg$c353 = "PInf", peg$c354 = peg$literalExpectation("PInf", false), peg$c355 = "Inf", peg$c356 = peg$literalExpectation("Inf", false), peg$c357 = "\u221E", peg$c358 = peg$literalExpectation("\u221E", false), peg$c359 = "Epsilon", peg$c360 = peg$literalExpectation("Epsilon", false), peg$c361 = function () { return Number.EPSILON; }, peg$c362 = "\uD835\uDF00", peg$c363 = peg$literalExpectation("\uD835\uDF00", false), peg$c364 = "\u03B5", peg$c365 = peg$literalExpectation("\u03B5", false), peg$c366 = "Pi", peg$c367 = peg$literalExpectation("Pi", false), peg$c368 = function () { return Math.PI; }, peg$c369 = "\uD835\uDF0B", peg$c370 = peg$literalExpectation("\uD835\uDF0B", false), peg$c371 = "\u03C0", peg$c372 = peg$literalExpectation("\u03C0", false), peg$c373 = "EulerNumber", peg$c374 = peg$literalExpectation("EulerNumber", false), peg$c375 = function () { return Math.E; }, peg$c376 = "E", peg$c377 = peg$literalExpectation("E", false), peg$c378 = "e", peg$c379 = peg$literalExpectation("e", false), peg$c380 = "\u0190", peg$c381 = peg$literalExpectation("\u0190", false), peg$c382 = "\u2107", peg$c383 = peg$literalExpectation("\u2107", false), peg$c384 = "Root2", peg$c385 = peg$literalExpectation("Root2", false), peg$c386 = function () { return Math.SQRT2; }, peg$c387 = "RootHalf", peg$c388 = peg$literalExpectation("RootHalf", false), peg$c389 = function () { return Math.SQRT1_2; }, peg$c390 = "Ln2", peg$c391 = peg$literalExpectation("Ln2", false), peg$c392 = function () { return Math.LN2; }, peg$c393 = "NatLog2", peg$c394 = peg$literalExpectation("NatLog2", false), peg$c395 = "Ln10", peg$c396 = peg$literalExpectation("Ln10", false), peg$c397 = function () { return Math.LN10; }, peg$c398 = "NatLog10", peg$c399 = peg$literalExpectation("NatLog10", false), peg$c400 = "Log2E", peg$c401 = peg$literalExpectation("Log2E", false), peg$c402 = function () { return Math.LOG2E; }, peg$c403 = "Log10E", peg$c404 = peg$literalExpectation("Log10E", false), peg$c405 = function () { return Math.LOG10E; }, peg$c406 = "MaxSafeInt", peg$c407 = peg$literalExpectation("MaxSafeInt", false), peg$c408 = function () { return Number.MAX_SAFE_INTEGER; }, peg$c409 = "MinSafeInt", peg$c410 = peg$literalExpectation("MinSafeInt", false), peg$c411 = function () { return Number.MIN_SAFE_INTEGER; }, peg$c412 = "MaxPosNum", peg$c413 = peg$literalExpectation("MaxPosNum", false), peg$c414 = function () { return Number.MAX_VALUE; }, peg$c415 = "MinPosNum", peg$c416 = peg$literalExpectation("MinPosNum", false), peg$c417 = function () { return Number.MIN_VALUE; }, peg$c418 = "Phi", peg$c419 = peg$literalExpectation("Phi", false), peg$c420 = function () { return 1.61803398874989484820; }, peg$c421 = "\uD835\uDF11", peg$c422 = peg$literalExpectation("\uD835\uDF11", false), peg$c423 = "\uD835\uDF19", peg$c424 = peg$literalExpectation("\uD835\uDF19", false), peg$c425 = "\u03D5", peg$c426 = peg$literalExpectation("\u03D5", false), peg$c427 = "\u03C6", peg$c428 = peg$literalExpectation("\u03C6", false), peg$c429 = "EulerConstant", peg$c430 = peg$literalExpectation("EulerConstant", false), peg$c431 = function () { return 0.57721566490153286060; }, peg$c432 = "\u03B3", peg$c433 = peg$literalExpectation("\u03B3", false), peg$c434 = "\uD835\uDEFE", peg$c435 = peg$literalExpectation("\uD835\uDEFE", false), peg$c436 = peg$literalExpectation("e", true), peg$c437 = /^[+\-]/, peg$c438 = peg$classExpectation(["+", "-"], false, false), peg$c439 = "0x", peg$c440 = peg$literalExpectation("0x", true), peg$c441 = function (digits) {
365
363
  return parseInt(digits, 16);
366
364
  }, peg$c442 = "0b", peg$c443 = peg$literalExpectation("0b", true), peg$c444 = function (digits) {
367
365
  return parseInt(digits, 2);
@@ -2751,238 +2749,6 @@ function peg$parse(input, options) {
2751
2749
  }
2752
2750
  return s0;
2753
2751
  }
2754
- function peg$parseChar() {
2755
- var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
2756
- s0 = peg$parseUnescaped();
2757
- if (s0 === peg$FAILED) {
2758
- s0 = peg$currPos;
2759
- s1 = peg$parseEscape();
2760
- if (s1 !== peg$FAILED) {
2761
- if (input.charCodeAt(peg$currPos) === 34) {
2762
- s2 = peg$c248;
2763
- peg$currPos++;
2764
- }
2765
- else {
2766
- s2 = peg$FAILED;
2767
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
2768
- peg$fail(peg$c249);
2769
- }
2770
- }
2771
- if (s2 === peg$FAILED) {
2772
- if (input.charCodeAt(peg$currPos) === 92) {
2773
- s2 = peg$c250;
2774
- peg$currPos++;
2775
- }
2776
- else {
2777
- s2 = peg$FAILED;
2778
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
2779
- peg$fail(peg$c251);
2780
- }
2781
- }
2782
- if (s2 === peg$FAILED) {
2783
- if (input.charCodeAt(peg$currPos) === 47) {
2784
- s2 = peg$c252;
2785
- peg$currPos++;
2786
- }
2787
- else {
2788
- s2 = peg$FAILED;
2789
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
2790
- peg$fail(peg$c253);
2791
- }
2792
- }
2793
- if (s2 === peg$FAILED) {
2794
- s2 = peg$currPos;
2795
- if (input.charCodeAt(peg$currPos) === 98) {
2796
- s3 = peg$c254;
2797
- peg$currPos++;
2798
- }
2799
- else {
2800
- s3 = peg$FAILED;
2801
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
2802
- peg$fail(peg$c255);
2803
- }
2804
- }
2805
- if (s3 !== peg$FAILED) {
2806
- peg$savedPos = s2;
2807
- s3 = peg$c256();
2808
- }
2809
- s2 = s3;
2810
- if (s2 === peg$FAILED) {
2811
- s2 = peg$currPos;
2812
- if (input.charCodeAt(peg$currPos) === 102) {
2813
- s3 = peg$c257;
2814
- peg$currPos++;
2815
- }
2816
- else {
2817
- s3 = peg$FAILED;
2818
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
2819
- peg$fail(peg$c258);
2820
- }
2821
- }
2822
- if (s3 !== peg$FAILED) {
2823
- peg$savedPos = s2;
2824
- s3 = peg$c259();
2825
- }
2826
- s2 = s3;
2827
- if (s2 === peg$FAILED) {
2828
- s2 = peg$currPos;
2829
- if (input.charCodeAt(peg$currPos) === 110) {
2830
- s3 = peg$c260;
2831
- peg$currPos++;
2832
- }
2833
- else {
2834
- s3 = peg$FAILED;
2835
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
2836
- peg$fail(peg$c261);
2837
- }
2838
- }
2839
- if (s3 !== peg$FAILED) {
2840
- peg$savedPos = s2;
2841
- s3 = peg$c262();
2842
- }
2843
- s2 = s3;
2844
- if (s2 === peg$FAILED) {
2845
- s2 = peg$currPos;
2846
- if (input.charCodeAt(peg$currPos) === 114) {
2847
- s3 = peg$c263;
2848
- peg$currPos++;
2849
- }
2850
- else {
2851
- s3 = peg$FAILED;
2852
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
2853
- peg$fail(peg$c264);
2854
- }
2855
- }
2856
- if (s3 !== peg$FAILED) {
2857
- peg$savedPos = s2;
2858
- s3 = peg$c265();
2859
- }
2860
- s2 = s3;
2861
- if (s2 === peg$FAILED) {
2862
- s2 = peg$currPos;
2863
- if (input.charCodeAt(peg$currPos) === 116) {
2864
- s3 = peg$c266;
2865
- peg$currPos++;
2866
- }
2867
- else {
2868
- s3 = peg$FAILED;
2869
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
2870
- peg$fail(peg$c267);
2871
- }
2872
- }
2873
- if (s3 !== peg$FAILED) {
2874
- peg$savedPos = s2;
2875
- s3 = peg$c268();
2876
- }
2877
- s2 = s3;
2878
- if (s2 === peg$FAILED) {
2879
- s2 = peg$currPos;
2880
- if (input.charCodeAt(peg$currPos) === 118) {
2881
- s3 = peg$c269;
2882
- peg$currPos++;
2883
- }
2884
- else {
2885
- s3 = peg$FAILED;
2886
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
2887
- peg$fail(peg$c270);
2888
- }
2889
- }
2890
- if (s3 !== peg$FAILED) {
2891
- peg$savedPos = s2;
2892
- s3 = peg$c271();
2893
- }
2894
- s2 = s3;
2895
- if (s2 === peg$FAILED) {
2896
- s2 = peg$currPos;
2897
- if (input.charCodeAt(peg$currPos) === 117) {
2898
- s3 = peg$c272;
2899
- peg$currPos++;
2900
- }
2901
- else {
2902
- s3 = peg$FAILED;
2903
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
2904
- peg$fail(peg$c273);
2905
- }
2906
- }
2907
- if (s3 !== peg$FAILED) {
2908
- s4 = peg$currPos;
2909
- s5 = peg$currPos;
2910
- s6 = peg$parseHexDigit();
2911
- if (s6 !== peg$FAILED) {
2912
- s7 = peg$parseHexDigit();
2913
- if (s7 !== peg$FAILED) {
2914
- s8 = peg$parseHexDigit();
2915
- if (s8 !== peg$FAILED) {
2916
- s9 = peg$parseHexDigit();
2917
- if (s9 !== peg$FAILED) {
2918
- s6 = [s6, s7, s8, s9];
2919
- s5 = s6;
2920
- }
2921
- else {
2922
- peg$currPos = s5;
2923
- s5 = peg$FAILED;
2924
- }
2925
- }
2926
- else {
2927
- peg$currPos = s5;
2928
- s5 = peg$FAILED;
2929
- }
2930
- }
2931
- else {
2932
- peg$currPos = s5;
2933
- s5 = peg$FAILED;
2934
- }
2935
- }
2936
- else {
2937
- peg$currPos = s5;
2938
- s5 = peg$FAILED;
2939
- }
2940
- if (s5 !== peg$FAILED) {
2941
- s4 = input.substring(s4, peg$currPos);
2942
- }
2943
- else {
2944
- s4 = s5;
2945
- }
2946
- if (s4 !== peg$FAILED) {
2947
- peg$savedPos = s2;
2948
- s3 = peg$c274(s4);
2949
- s2 = s3;
2950
- }
2951
- else {
2952
- peg$currPos = s2;
2953
- s2 = peg$FAILED;
2954
- }
2955
- }
2956
- else {
2957
- peg$currPos = s2;
2958
- s2 = peg$FAILED;
2959
- }
2960
- }
2961
- }
2962
- }
2963
- }
2964
- }
2965
- }
2966
- }
2967
- }
2968
- }
2969
- if (s2 !== peg$FAILED) {
2970
- peg$savedPos = s0;
2971
- s1 = peg$c275(s2);
2972
- s0 = s1;
2973
- }
2974
- else {
2975
- peg$currPos = s0;
2976
- s0 = peg$FAILED;
2977
- }
2978
- }
2979
- else {
2980
- peg$currPos = s0;
2981
- s0 = peg$FAILED;
2982
- }
2983
- }
2984
- return s0;
2985
- }
2986
2752
  function peg$parseNull() {
2987
2753
  var s0, s1;
2988
2754
  s0 = peg$currPos;
@@ -3023,349 +2789,105 @@ function peg$parse(input, options) {
3023
2789
  s0 = s1;
3024
2790
  return s0;
3025
2791
  }
3026
- function peg$parseEscape() {
3027
- var s0;
3028
- if (input.charCodeAt(peg$currPos) === 92) {
3029
- s0 = peg$c250;
3030
- peg$currPos++;
3031
- }
3032
- else {
3033
- s0 = peg$FAILED;
3034
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
3035
- peg$fail(peg$c251);
3036
- }
3037
- }
3038
- return s0;
3039
- }
3040
- function peg$parseQuoteMark() {
3041
- var s0;
3042
- if (input.charCodeAt(peg$currPos) === 34) {
3043
- s0 = peg$c248;
3044
- peg$currPos++;
3045
- }
3046
- else {
3047
- s0 = peg$FAILED;
3048
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
3049
- peg$fail(peg$c249);
3050
- }
3051
- }
3052
- return s0;
3053
- }
3054
- function peg$parseUnescaped() {
3055
- var s0;
3056
- if (peg$c282.test(input.charAt(peg$currPos))) {
3057
- s0 = input.charAt(peg$currPos);
2792
+ function peg$parseActionLabel() {
2793
+ var c, start, chunk, out, h, hv;
2794
+ peg$silentFails++;
2795
+ if (input.charCodeAt(peg$currPos) === 39) {
2796
+ start = peg$currPos;
3058
2797
  peg$currPos++;
3059
- }
3060
- else {
3061
- s0 = peg$FAILED;
3062
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
3063
- peg$fail(peg$c283);
3064
- }
3065
- }
3066
- return s0;
3067
- }
3068
- function peg$parseActionLabelChar() {
3069
- var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
3070
- s0 = peg$parseActionLabelUnescaped();
3071
- if (s0 === peg$FAILED) {
3072
- s0 = peg$currPos;
3073
- s1 = peg$parseEscape();
3074
- if (s1 !== peg$FAILED) {
3075
- if (input.charCodeAt(peg$currPos) === 39) {
3076
- s2 = peg$c284;
2798
+ chunk = peg$currPos;
2799
+ out = '';
2800
+ for (;;) {
2801
+ c = input.charCodeAt(peg$currPos);
2802
+ if (c >= 32 && c !== 39 && c !== 92) { // unescaped run
3077
2803
  peg$currPos++;
2804
+ continue;
3078
2805
  }
3079
- else {
3080
- s2 = peg$FAILED;
3081
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
3082
- peg$fail(peg$c285);
3083
- }
2806
+ if (c === 39) { // closing quote: emit
2807
+ out = out + input.substring(chunk, peg$currPos);
2808
+ peg$currPos++;
2809
+ peg$silentFails--;
2810
+ return out;
3084
2811
  }
3085
- if (s2 === peg$FAILED) {
3086
- if (input.charCodeAt(peg$currPos) === 92) {
3087
- s2 = peg$c250;
2812
+ if (c === 92) { // backslash: one escape
2813
+ out += input.substring(chunk, peg$currPos);
2814
+ peg$currPos++;
2815
+ c = input.charCodeAt(peg$currPos);
2816
+ if (c === 39) {
2817
+ out += "'";
3088
2818
  peg$currPos++;
3089
2819
  }
3090
- else {
3091
- s2 = peg$FAILED;
3092
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
3093
- peg$fail(peg$c251);
3094
- }
2820
+ else if (c === 92) {
2821
+ out += '\\';
2822
+ peg$currPos++;
3095
2823
  }
3096
- if (s2 === peg$FAILED) {
3097
- if (input.charCodeAt(peg$currPos) === 47) {
3098
- s2 = peg$c252;
3099
- peg$currPos++;
3100
- }
3101
- else {
3102
- s2 = peg$FAILED;
3103
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
3104
- peg$fail(peg$c253);
3105
- }
3106
- }
3107
- if (s2 === peg$FAILED) {
3108
- s2 = peg$currPos;
3109
- if (input.charCodeAt(peg$currPos) === 98) {
3110
- s3 = peg$c254;
3111
- peg$currPos++;
2824
+ else if (c === 47) {
2825
+ out += '/';
2826
+ peg$currPos++;
2827
+ }
2828
+ else if (c === 98) {
2829
+ out += '\b';
2830
+ peg$currPos++;
2831
+ }
2832
+ else if (c === 102) {
2833
+ out += '\f';
2834
+ peg$currPos++;
2835
+ }
2836
+ else if (c === 110) {
2837
+ out += '\n';
2838
+ peg$currPos++;
2839
+ }
2840
+ else if (c === 114) {
2841
+ out += '\r';
2842
+ peg$currPos++;
2843
+ }
2844
+ else if (c === 116) {
2845
+ out += '\t';
2846
+ peg$currPos++;
2847
+ }
2848
+ else if (c === 118) {
2849
+ out += '\v';
2850
+ peg$currPos++;
2851
+ }
2852
+ else if (c === 117) { // \uXXXX, hex case-insensitive
2853
+ hv = 0;
2854
+ for (h = 1; h <= 4; ++h) {
2855
+ c = input.charCodeAt(peg$currPos + h);
2856
+ if (c >= 48 && c <= 57) {
2857
+ hv = hv * 16 + (c - 48);
3112
2858
  }
3113
- else {
3114
- s3 = peg$FAILED;
3115
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
3116
- peg$fail(peg$c255);
3117
- }
2859
+ else if (c >= 97 && c <= 102) {
2860
+ hv = hv * 16 + (c - 87);
3118
2861
  }
3119
- if (s3 !== peg$FAILED) {
3120
- peg$savedPos = s2;
3121
- s3 = peg$c256();
2862
+ else if (c >= 65 && c <= 70) {
2863
+ hv = hv * 16 + (c - 55);
3122
2864
  }
3123
- s2 = s3;
3124
- if (s2 === peg$FAILED) {
3125
- s2 = peg$currPos;
3126
- if (input.charCodeAt(peg$currPos) === 102) {
3127
- s3 = peg$c257;
3128
- peg$currPos++;
3129
- }
3130
- else {
3131
- s3 = peg$FAILED;
3132
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
3133
- peg$fail(peg$c258);
3134
- }
3135
- }
3136
- if (s3 !== peg$FAILED) {
3137
- peg$savedPos = s2;
3138
- s3 = peg$c259();
3139
- }
3140
- s2 = s3;
3141
- if (s2 === peg$FAILED) {
3142
- s2 = peg$currPos;
3143
- if (input.charCodeAt(peg$currPos) === 110) {
3144
- s3 = peg$c260;
3145
- peg$currPos++;
3146
- }
3147
- else {
3148
- s3 = peg$FAILED;
3149
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
3150
- peg$fail(peg$c261);
3151
- }
3152
- }
3153
- if (s3 !== peg$FAILED) {
3154
- peg$savedPos = s2;
3155
- s3 = peg$c262();
3156
- }
3157
- s2 = s3;
3158
- if (s2 === peg$FAILED) {
3159
- s2 = peg$currPos;
3160
- if (input.charCodeAt(peg$currPos) === 114) {
3161
- s3 = peg$c263;
3162
- peg$currPos++;
3163
- }
3164
- else {
3165
- s3 = peg$FAILED;
3166
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
3167
- peg$fail(peg$c264);
3168
- }
3169
- }
3170
- if (s3 !== peg$FAILED) {
3171
- peg$savedPos = s2;
3172
- s3 = peg$c265();
3173
- }
3174
- s2 = s3;
3175
- if (s2 === peg$FAILED) {
3176
- s2 = peg$currPos;
3177
- if (input.charCodeAt(peg$currPos) === 116) {
3178
- s3 = peg$c266;
3179
- peg$currPos++;
3180
- }
3181
- else {
3182
- s3 = peg$FAILED;
3183
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
3184
- peg$fail(peg$c267);
3185
- }
3186
- }
3187
- if (s3 !== peg$FAILED) {
3188
- peg$savedPos = s2;
3189
- s3 = peg$c268();
3190
- }
3191
- s2 = s3;
3192
- if (s2 === peg$FAILED) {
3193
- s2 = peg$currPos;
3194
- if (input.charCodeAt(peg$currPos) === 118) {
3195
- s3 = peg$c269;
3196
- peg$currPos++;
3197
- }
3198
- else {
3199
- s3 = peg$FAILED;
3200
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
3201
- peg$fail(peg$c270);
3202
- }
3203
- }
3204
- if (s3 !== peg$FAILED) {
3205
- peg$savedPos = s2;
3206
- s3 = peg$c271();
3207
- }
3208
- s2 = s3;
3209
- if (s2 === peg$FAILED) {
3210
- s2 = peg$currPos;
3211
- if (input.charCodeAt(peg$currPos) === 117) {
3212
- s3 = peg$c272;
3213
- peg$currPos++;
3214
- }
3215
- else {
3216
- s3 = peg$FAILED;
3217
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
3218
- peg$fail(peg$c273);
3219
- }
3220
- }
3221
- if (s3 !== peg$FAILED) {
3222
- s4 = peg$currPos;
3223
- s5 = peg$currPos;
3224
- s6 = peg$parseHexDigit();
3225
- if (s6 !== peg$FAILED) {
3226
- s7 = peg$parseHexDigit();
3227
- if (s7 !== peg$FAILED) {
3228
- s8 = peg$parseHexDigit();
3229
- if (s8 !== peg$FAILED) {
3230
- s9 = peg$parseHexDigit();
3231
- if (s9 !== peg$FAILED) {
3232
- s6 = [s6, s7, s8, s9];
3233
- s5 = s6;
3234
- }
3235
- else {
3236
- peg$currPos = s5;
3237
- s5 = peg$FAILED;
3238
- }
3239
- }
3240
- else {
3241
- peg$currPos = s5;
3242
- s5 = peg$FAILED;
3243
- }
3244
- }
3245
- else {
3246
- peg$currPos = s5;
3247
- s5 = peg$FAILED;
3248
- }
3249
- }
3250
- else {
3251
- peg$currPos = s5;
3252
- s5 = peg$FAILED;
3253
- }
3254
- if (s5 !== peg$FAILED) {
3255
- s4 = input.substring(s4, peg$currPos);
3256
- }
3257
- else {
3258
- s4 = s5;
3259
- }
3260
- if (s4 !== peg$FAILED) {
3261
- peg$savedPos = s2;
3262
- s3 = peg$c274(s4);
3263
- s2 = s3;
3264
- }
3265
- else {
3266
- peg$currPos = s2;
3267
- s2 = peg$FAILED;
3268
- }
3269
- }
3270
- else {
3271
- peg$currPos = s2;
3272
- s2 = peg$FAILED;
3273
- }
3274
- }
3275
- }
3276
- }
3277
- }
3278
- }
2865
+ else {
2866
+ hv = -1;
2867
+ break;
3279
2868
  }
3280
2869
  }
2870
+ if (hv < 0) {
2871
+ break;
2872
+ } // bad hex: rule fails
2873
+ out += String.fromCharCode(hv);
2874
+ peg$currPos += 5;
3281
2875
  }
2876
+ else {
2877
+ break;
2878
+ } // unknown escape: rule fails
2879
+ chunk = peg$currPos;
2880
+ continue;
3282
2881
  }
3283
- if (s2 !== peg$FAILED) {
3284
- peg$savedPos = s0;
3285
- s1 = peg$c275(s2);
3286
- s0 = s1;
3287
- }
3288
- else {
3289
- peg$currPos = s0;
3290
- s0 = peg$FAILED;
3291
- }
3292
- }
3293
- else {
3294
- peg$currPos = s0;
3295
- s0 = peg$FAILED;
3296
- }
3297
- }
3298
- return s0;
3299
- }
3300
- function peg$parseActionLabelQuoteMark() {
3301
- var s0;
3302
- if (input.charCodeAt(peg$currPos) === 39) {
3303
- s0 = peg$c284;
3304
- peg$currPos++;
3305
- }
3306
- else {
3307
- s0 = peg$FAILED;
3308
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
3309
- peg$fail(peg$c285);
3310
- }
3311
- }
3312
- return s0;
3313
- }
3314
- function peg$parseActionLabelUnescaped() {
3315
- var s0;
3316
- if (peg$c286.test(input.charAt(peg$currPos))) {
3317
- s0 = input.charAt(peg$currPos);
3318
- peg$currPos++;
3319
- }
3320
- else {
3321
- s0 = peg$FAILED;
3322
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
3323
- peg$fail(peg$c287);
3324
- }
3325
- }
3326
- return s0;
3327
- }
3328
- function peg$parseActionLabel() {
3329
- var s0, s1, s2, s3;
3330
- peg$silentFails++;
3331
- s0 = peg$currPos;
3332
- s1 = peg$parseActionLabelQuoteMark();
3333
- if (s1 !== peg$FAILED) {
3334
- s2 = [];
3335
- s3 = peg$parseActionLabelChar();
3336
- while (s3 !== peg$FAILED) {
3337
- s2.push(s3);
3338
- s3 = peg$parseActionLabelChar();
3339
- }
3340
- if (s2 !== peg$FAILED) {
3341
- s3 = peg$parseActionLabelQuoteMark();
3342
- if (s3 !== peg$FAILED) {
3343
- peg$savedPos = s0;
3344
- s1 = peg$c289(s2);
3345
- s0 = s1;
3346
- }
3347
- else {
3348
- peg$currPos = s0;
3349
- s0 = peg$FAILED;
3350
- }
3351
- }
3352
- else {
3353
- peg$currPos = s0;
3354
- s0 = peg$FAILED;
2882
+ break; // EOF or out-of-class char
3355
2883
  }
3356
- }
3357
- else {
3358
- peg$currPos = s0;
3359
- s0 = peg$FAILED;
2884
+ peg$currPos = start; // backtrack to rule start
3360
2885
  }
3361
2886
  peg$silentFails--;
3362
- if (s0 === peg$FAILED) {
3363
- s1 = peg$FAILED;
3364
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
3365
- peg$fail(peg$c288);
3366
- }
2887
+ if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
2888
+ peg$fail(peg$c288);
3367
2889
  }
3368
- return s0;
2890
+ return peg$FAILED;
3369
2891
  }
3370
2892
  function peg$parseLineTerminator() {
3371
2893
  var s0;
@@ -3708,46 +3230,104 @@ function peg$parse(input, options) {
3708
3230
  return peg$FAILED;
3709
3231
  }
3710
3232
  function peg$parseString() {
3711
- var s0, s1, s2, s3;
3233
+ var c, start, chunk, out, h, hv;
3712
3234
  peg$silentFails++;
3713
- s0 = peg$currPos;
3714
- s1 = peg$parseQuoteMark();
3715
- if (s1 !== peg$FAILED) {
3716
- s2 = [];
3717
- s3 = peg$parseChar();
3718
- while (s3 !== peg$FAILED) {
3719
- s2.push(s3);
3720
- s3 = peg$parseChar();
3721
- }
3722
- if (s2 !== peg$FAILED) {
3723
- s3 = peg$parseQuoteMark();
3724
- if (s3 !== peg$FAILED) {
3725
- peg$savedPos = s0;
3726
- s1 = peg$c289(s2);
3727
- s0 = s1;
3235
+ if (input.charCodeAt(peg$currPos) === 34) {
3236
+ start = peg$currPos;
3237
+ peg$currPos++;
3238
+ chunk = peg$currPos;
3239
+ out = '';
3240
+ for (;;) {
3241
+ c = input.charCodeAt(peg$currPos);
3242
+ if (c >= 0 && c !== 34 && c !== 92) { // unescaped run
3243
+ peg$currPos++;
3244
+ continue;
3728
3245
  }
3729
- else {
3730
- peg$currPos = s0;
3731
- s0 = peg$FAILED;
3246
+ if (c === 34) { // closing quote: emit
3247
+ out = out + input.substring(chunk, peg$currPos);
3248
+ peg$currPos++;
3249
+ peg$silentFails--;
3250
+ return out;
3732
3251
  }
3252
+ if (c === 92) { // backslash: one escape
3253
+ out += input.substring(chunk, peg$currPos);
3254
+ peg$currPos++;
3255
+ c = input.charCodeAt(peg$currPos);
3256
+ if (c === 34) {
3257
+ out += '"';
3258
+ peg$currPos++;
3259
+ }
3260
+ else if (c === 92) {
3261
+ out += '\\';
3262
+ peg$currPos++;
3263
+ }
3264
+ else if (c === 47) {
3265
+ out += '/';
3266
+ peg$currPos++;
3267
+ }
3268
+ else if (c === 98) {
3269
+ out += '\b';
3270
+ peg$currPos++;
3271
+ }
3272
+ else if (c === 102) {
3273
+ out += '\f';
3274
+ peg$currPos++;
3275
+ }
3276
+ else if (c === 110) {
3277
+ out += '\n';
3278
+ peg$currPos++;
3279
+ }
3280
+ else if (c === 114) {
3281
+ out += '\r';
3282
+ peg$currPos++;
3283
+ }
3284
+ else if (c === 116) {
3285
+ out += '\t';
3286
+ peg$currPos++;
3287
+ }
3288
+ else if (c === 118) {
3289
+ out += '\v';
3290
+ peg$currPos++;
3291
+ }
3292
+ else if (c === 117) { // \uXXXX, hex case-insensitive
3293
+ hv = 0;
3294
+ for (h = 1; h <= 4; ++h) {
3295
+ c = input.charCodeAt(peg$currPos + h);
3296
+ if (c >= 48 && c <= 57) {
3297
+ hv = hv * 16 + (c - 48);
3298
+ }
3299
+ else if (c >= 97 && c <= 102) {
3300
+ hv = hv * 16 + (c - 87);
3301
+ }
3302
+ else if (c >= 65 && c <= 70) {
3303
+ hv = hv * 16 + (c - 55);
3304
+ }
3305
+ else {
3306
+ hv = -1;
3307
+ break;
3308
+ }
3309
+ }
3310
+ if (hv < 0) {
3311
+ break;
3312
+ } // bad hex: rule fails
3313
+ out += String.fromCharCode(hv);
3314
+ peg$currPos += 5;
3315
+ }
3316
+ else {
3317
+ break;
3318
+ } // unknown escape: rule fails
3319
+ chunk = peg$currPos;
3320
+ continue;
3321
+ }
3322
+ break; // EOF or out-of-class char
3733
3323
  }
3734
- else {
3735
- peg$currPos = s0;
3736
- s0 = peg$FAILED;
3737
- }
3738
- }
3739
- else {
3740
- peg$currPos = s0;
3741
- s0 = peg$FAILED;
3324
+ peg$currPos = start; // backtrack to rule start
3742
3325
  }
3743
3326
  peg$silentFails--;
3744
- if (s0 === peg$FAILED) {
3745
- s1 = peg$FAILED;
3746
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
3747
- peg$fail(peg$c304);
3748
- }
3327
+ if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
3328
+ peg$fail(peg$c304);
3749
3329
  }
3750
- return s0;
3330
+ return peg$FAILED;
3751
3331
  }
3752
3332
  function peg$parseAtom() {
3753
3333
  var c, start;
@@ -12287,6 +11867,14 @@ function peg$parse(input, options) {
12287
11867
  }
12288
11868
  function peg$parseStripe() {
12289
11869
  var s0, s1, s2, s3, s4, s5, s6;
11870
+ var cg = input.charCodeAt(peg$currPos);
11871
+ if (cg !== 43 && cg !== 45) {
11872
+ if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
11873
+ peg$fail(peg$c1297);
11874
+ peg$fail(peg$c1300);
11875
+ }
11876
+ return peg$FAILED;
11877
+ }
12290
11878
  s0 = peg$currPos;
12291
11879
  if (input.substr(peg$currPos, 2) === peg$c1296) {
12292
11880
  s1 = peg$c1296;
@@ -12403,6 +11991,15 @@ function peg$parse(input, options) {
12403
11991
  }
12404
11992
  function peg$parseCycle() {
12405
11993
  var s0, s1, s2, s3, s4, s5, s6;
11994
+ var cg = input.charCodeAt(peg$currPos);
11995
+ if (cg !== 43 && cg !== 45) {
11996
+ if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
11997
+ peg$fail(peg$c1303);
11998
+ peg$fail(peg$c1306);
11999
+ peg$fail(peg$c1309);
12000
+ }
12001
+ return peg$FAILED;
12002
+ }
12406
12003
  s0 = peg$currPos;
12407
12004
  if (input.charCodeAt(peg$currPos) === 43) {
12408
12005
  s1 = peg$c1302;
@@ -22828,7 +22425,7 @@ var constants = /*#__PURE__*/Object.freeze({
22828
22425
  * Useful for runtime diagnostics and for embedding in serialized machine
22829
22426
  * snapshots so that deserializers can detect version-skew.
22830
22427
  */
22831
- const version = "5.143.21";
22428
+ const version = "5.143.23";
22832
22429
 
22833
22430
  // whargarbl lots of these return arrays could/should be sets
22834
22431
  const { state_name_chars, state_name_first_chars, action_label_chars } = constants;