@gmb/bitmark-parser-generator 3.33.0 → 3.34.0

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.
@@ -7,7 +7,7 @@ exports.StartRules = void 0;
7
7
  exports.SyntaxError = peg$SyntaxError;
8
8
  exports.parse = peg$parse;
9
9
  const Breakscape_1 = require("../../../breakscaping/Breakscape");
10
- const VERSION = "8.33.5";
10
+ const VERSION = "8.34.3";
11
11
  //Parser peggy.js
12
12
  // parser options (parameter when running parser):
13
13
  // allowedStartRules: ["bitmarkPlusPlus", "bitmarkPlus", "bitmarkMinusMinus", "bitmarkPlusString", "bitmarkMinusMinusString"]
@@ -381,112 +381,116 @@ function peg$parse(input, options) {
381
381
  var peg$c27 = "left";
382
382
  var peg$c28 = "center";
383
383
  var peg$c29 = "right";
384
- var peg$c30 = "=";
385
- var peg$c31 = "|latex|";
386
- var peg$c32 = "|imageInline:";
387
- var peg$c33 = "alignmentVertical";
388
- var peg$c34 = "size";
389
- var peg$c35 = "top";
390
- var peg$c36 = "middle";
391
- var peg$c37 = "bottom";
392
- var peg$c38 = "baseline";
393
- var peg$c39 = "sub";
394
- var peg$c40 = "super";
395
- var peg$c41 = "text-bottom";
396
- var peg$c42 = "text-top";
397
- var peg$c43 = "line-height";
398
- var peg$c44 = "font-height";
399
- var peg$c45 = "explicit";
400
- var peg$c46 = "link:";
401
- var peg$c47 = "extref:";
402
- var peg$c48 = "provider:";
403
- var peg$c49 = "xref:";
404
- var peg$c50 = "\u25BA";
405
- var peg$c51 = "symbol:";
406
- var peg$c52 = "footnote:";
407
- var peg$c53 = "footnote*:";
408
- var peg$c54 = "var:";
409
- var peg$c55 = "code:";
410
- var peg$c56 = "timer";
411
- var peg$c57 = "timer:";
412
- var peg$c58 = "duration:";
413
- var peg$c59 = "P";
414
- var peg$c60 = "color:";
415
- var peg$c61 = "|\u25BA";
416
- var peg$c62 = "bold";
417
- var peg$c63 = "italic";
418
- var peg$c64 = "light";
419
- var peg$c65 = "highlight";
420
- var peg$c66 = "strike";
421
- var peg$c67 = "subscript";
422
- var peg$c68 = "superscript";
423
- var peg$c69 = "ins";
424
- var peg$c70 = "del";
425
- var peg$c71 = "underline";
426
- var peg$c72 = "doubleUnderline";
427
- var peg$c73 = "circle";
428
- var peg$c74 = "languageEmRed";
429
- var peg$c75 = "languageEmOrange";
430
- var peg$c76 = "languageEmYellow";
431
- var peg$c77 = "languageEmGreen";
432
- var peg$c78 = "languageEmBlue";
433
- var peg$c79 = "languageEmPurple";
434
- var peg$c80 = "languageEmPink";
435
- var peg$c81 = "languageEmBrown";
436
- var peg$c82 = "languageEmBlack";
437
- var peg$c83 = "languageEmWhite";
438
- var peg$c84 = "languageEmGray";
439
- var peg$c85 = "languageEm";
440
- var peg$c86 = "userUnderline";
441
- var peg$c87 = "userDoubleUnderline";
442
- var peg$c88 = "userStrike";
443
- var peg$c89 = "userCircle";
444
- var peg$c90 = "userHighlight";
445
- var peg$c91 = "notranslate";
446
- var peg$c92 = "aqua";
447
- var peg$c93 = "black";
448
- var peg$c94 = "blue";
449
- var peg$c95 = "brown";
450
- var peg$c96 = "fuchsia";
451
- var peg$c97 = "lightgrey";
452
- var peg$c98 = "gray";
453
- var peg$c99 = "darkgray";
454
- var peg$c100 = "green";
455
- var peg$c101 = "lime";
456
- var peg$c102 = "magenta";
457
- var peg$c103 = "maroon";
458
- var peg$c104 = "navy";
459
- var peg$c105 = "olive";
460
- var peg$c106 = "orange";
461
- var peg$c107 = "pink";
462
- var peg$c108 = "purple";
463
- var peg$c109 = "red";
464
- var peg$c110 = "silver";
465
- var peg$c111 = "teal";
466
- var peg$c112 = "violet";
467
- var peg$c113 = "white";
468
- var peg$c114 = "yellow";
469
- var peg$c115 = "*";
470
- var peg$c116 = "_";
471
- var peg$c117 = "`";
472
- var peg$c118 = "!";
473
- var peg$c119 = "[!";
474
- var peg$c120 = "]";
475
- var peg$c121 = "\n";
476
- var peg$c122 = "\r\n";
477
- var peg$c123 = "http";
478
- var peg$c124 = "s";
479
- var peg$c125 = "://";
480
- var peg$c126 = "mailto:";
384
+ var peg$c30 = "alt";
385
+ var peg$c31 = "caption";
386
+ var peg$c32 = "zoomDisabled";
387
+ var peg$c33 = "true";
388
+ var peg$c34 = "false";
389
+ var peg$c35 = "=";
390
+ var peg$c36 = "|latex|";
391
+ var peg$c37 = "|imageInline:";
392
+ var peg$c38 = "alignmentVertical";
393
+ var peg$c39 = "size";
394
+ var peg$c40 = "top";
395
+ var peg$c41 = "middle";
396
+ var peg$c42 = "bottom";
397
+ var peg$c43 = "baseline";
398
+ var peg$c44 = "sub";
399
+ var peg$c45 = "super";
400
+ var peg$c46 = "text-bottom";
401
+ var peg$c47 = "text-top";
402
+ var peg$c48 = "line-height";
403
+ var peg$c49 = "font-height";
404
+ var peg$c50 = "explicit";
405
+ var peg$c51 = "link:";
406
+ var peg$c52 = "extref:";
407
+ var peg$c53 = "provider:";
408
+ var peg$c54 = "xref:";
409
+ var peg$c55 = "\u25BA";
410
+ var peg$c56 = "symbol:";
411
+ var peg$c57 = "footnote:";
412
+ var peg$c58 = "footnote*:";
413
+ var peg$c59 = "var:";
414
+ var peg$c60 = "code:";
415
+ var peg$c61 = "timer";
416
+ var peg$c62 = "timer:";
417
+ var peg$c63 = "duration:";
418
+ var peg$c64 = "P";
419
+ var peg$c65 = "color:";
420
+ var peg$c66 = "|\u25BA";
421
+ var peg$c67 = "bold";
422
+ var peg$c68 = "italic";
423
+ var peg$c69 = "light";
424
+ var peg$c70 = "highlight";
425
+ var peg$c71 = "strike";
426
+ var peg$c72 = "subscript";
427
+ var peg$c73 = "superscript";
428
+ var peg$c74 = "ins";
429
+ var peg$c75 = "del";
430
+ var peg$c76 = "underline";
431
+ var peg$c77 = "doubleUnderline";
432
+ var peg$c78 = "circle";
433
+ var peg$c79 = "languageEmRed";
434
+ var peg$c80 = "languageEmOrange";
435
+ var peg$c81 = "languageEmYellow";
436
+ var peg$c82 = "languageEmGreen";
437
+ var peg$c83 = "languageEmBlue";
438
+ var peg$c84 = "languageEmPurple";
439
+ var peg$c85 = "languageEmPink";
440
+ var peg$c86 = "languageEmBrown";
441
+ var peg$c87 = "languageEmBlack";
442
+ var peg$c88 = "languageEmWhite";
443
+ var peg$c89 = "languageEmGray";
444
+ var peg$c90 = "languageEm";
445
+ var peg$c91 = "userUnderline";
446
+ var peg$c92 = "userDoubleUnderline";
447
+ var peg$c93 = "userStrike";
448
+ var peg$c94 = "userCircle";
449
+ var peg$c95 = "userHighlight";
450
+ var peg$c96 = "notranslate";
451
+ var peg$c97 = "aqua";
452
+ var peg$c98 = "black";
453
+ var peg$c99 = "blue";
454
+ var peg$c100 = "brown";
455
+ var peg$c101 = "fuchsia";
456
+ var peg$c102 = "lightgrey";
457
+ var peg$c103 = "gray";
458
+ var peg$c104 = "darkgray";
459
+ var peg$c105 = "green";
460
+ var peg$c106 = "lime";
461
+ var peg$c107 = "magenta";
462
+ var peg$c108 = "maroon";
463
+ var peg$c109 = "navy";
464
+ var peg$c110 = "olive";
465
+ var peg$c111 = "orange";
466
+ var peg$c112 = "pink";
467
+ var peg$c113 = "purple";
468
+ var peg$c114 = "red";
469
+ var peg$c115 = "silver";
470
+ var peg$c116 = "teal";
471
+ var peg$c117 = "violet";
472
+ var peg$c118 = "white";
473
+ var peg$c119 = "yellow";
474
+ var peg$c120 = "*";
475
+ var peg$c121 = "_";
476
+ var peg$c122 = "`";
477
+ var peg$c123 = "!";
478
+ var peg$c124 = "[!";
479
+ var peg$c125 = "]";
480
+ var peg$c126 = "\n";
481
+ var peg$c127 = "\r\n";
482
+ var peg$c128 = "http";
483
+ var peg$c129 = "s";
484
+ var peg$c130 = "://";
485
+ var peg$c131 = "mailto:";
481
486
  var peg$r0 = /^[ \t]/;
482
487
  var peg$r1 = /^[0-9]/;
483
- var peg$r2 = /^[:|]/;
484
- var peg$r3 = /^[\r\u2028-\u2029]/;
485
- var peg$r4 = /^[\t\v\f \xA0\uFEFF \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/;
486
- var peg$r5 = /^[\n\r\u2028\u2029]/;
487
- var peg$r6 = /^[^\n\r\u2028\u2029]/;
488
- var peg$r7 = /^[^\n\r\u2028\u2029\t\v\f \xA0\uFEFF \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/;
489
- var peg$r8 = /^[!#-;=?-[\]-_a-{}-~]/;
488
+ var peg$r2 = /^[\r\u2028-\u2029]/;
489
+ var peg$r3 = /^[\t\v\f \xA0\uFEFF \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/;
490
+ var peg$r4 = /^[\n\r\u2028\u2029]/;
491
+ var peg$r5 = /^[^\n\r\u2028\u2029]/;
492
+ var peg$r6 = /^[^\n\r\u2028\u2029\t\v\f \xA0\uFEFF \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/;
493
+ var peg$r7 = /^[!#-;=?-[\]-_a-{}-~]/;
490
494
  var peg$e0 = peg$anyExpectation();
491
495
  var peg$e1 = peg$otherExpectation("StyledText");
492
496
  var peg$e2 = peg$literalExpectation("|", false);
@@ -514,125 +518,129 @@ function peg$parse(input, options) {
514
518
  var peg$e24 = peg$literalExpectation("image", false);
515
519
  var peg$e25 = peg$literalExpectation("#", false);
516
520
  var peg$e26 = peg$literalExpectation("@", false);
517
- var peg$e27 = peg$classExpectation([":", "|"], false, false);
518
- var peg$e28 = peg$literalExpectation("width", false);
519
- var peg$e29 = peg$literalExpectation("height", false);
520
- var peg$e30 = peg$literalExpectation("alignment", false);
521
- var peg$e31 = peg$literalExpectation("captionAlign", false);
522
- var peg$e32 = peg$literalExpectation("left", false);
523
- var peg$e33 = peg$literalExpectation("center", false);
524
- var peg$e34 = peg$literalExpectation("right", false);
525
- var peg$e35 = peg$otherExpectation("StyledString");
526
- var peg$e36 = peg$literalExpectation("=", false);
527
- var peg$e37 = peg$literalExpectation("|latex|", false);
528
- var peg$e38 = peg$literalExpectation("|imageInline:", false);
529
- var peg$e39 = peg$literalExpectation("alignmentVertical", false);
530
- var peg$e40 = peg$literalExpectation("size", false);
531
- var peg$e41 = peg$literalExpectation("top", false);
532
- var peg$e42 = peg$literalExpectation("middle", false);
533
- var peg$e43 = peg$literalExpectation("bottom", false);
534
- var peg$e44 = peg$literalExpectation("baseline", false);
535
- var peg$e45 = peg$literalExpectation("sub", false);
536
- var peg$e46 = peg$literalExpectation("super", false);
537
- var peg$e47 = peg$literalExpectation("text-bottom", false);
538
- var peg$e48 = peg$literalExpectation("text-top", false);
539
- var peg$e49 = peg$literalExpectation("line-height", false);
540
- var peg$e50 = peg$literalExpectation("font-height", false);
541
- var peg$e51 = peg$literalExpectation("explicit", false);
542
- var peg$e52 = peg$literalExpectation("link:", false);
543
- var peg$e53 = peg$literalExpectation("extref:", false);
544
- var peg$e54 = peg$literalExpectation("provider:", false);
545
- var peg$e55 = peg$literalExpectation("xref:", false);
546
- var peg$e56 = peg$literalExpectation("\u25BA", false);
547
- var peg$e57 = peg$literalExpectation("symbol:", false);
548
- var peg$e58 = peg$literalExpectation("footnote:", false);
549
- var peg$e59 = peg$literalExpectation("footnote*:", false);
550
- var peg$e60 = peg$literalExpectation("var:", false);
551
- var peg$e61 = peg$literalExpectation("code:", false);
552
- var peg$e62 = peg$literalExpectation("timer", false);
553
- var peg$e63 = peg$literalExpectation("timer:", false);
554
- var peg$e64 = peg$literalExpectation("duration:", false);
555
- var peg$e65 = peg$literalExpectation("P", false);
556
- var peg$e66 = peg$literalExpectation("color:", false);
557
- var peg$e67 = peg$literalExpectation("|\u25BA", false);
558
- var peg$e68 = peg$literalExpectation("bold", false);
559
- var peg$e69 = peg$literalExpectation("italic", false);
560
- var peg$e70 = peg$literalExpectation("light", false);
561
- var peg$e71 = peg$literalExpectation("highlight", false);
562
- var peg$e72 = peg$literalExpectation("strike", false);
563
- var peg$e73 = peg$literalExpectation("subscript", false);
564
- var peg$e74 = peg$literalExpectation("superscript", false);
565
- var peg$e75 = peg$literalExpectation("ins", false);
566
- var peg$e76 = peg$literalExpectation("del", false);
567
- var peg$e77 = peg$literalExpectation("underline", false);
568
- var peg$e78 = peg$literalExpectation("doubleUnderline", false);
569
- var peg$e79 = peg$literalExpectation("circle", false);
570
- var peg$e80 = peg$literalExpectation("languageEmRed", false);
571
- var peg$e81 = peg$literalExpectation("languageEmOrange", false);
572
- var peg$e82 = peg$literalExpectation("languageEmYellow", false);
573
- var peg$e83 = peg$literalExpectation("languageEmGreen", false);
574
- var peg$e84 = peg$literalExpectation("languageEmBlue", false);
575
- var peg$e85 = peg$literalExpectation("languageEmPurple", false);
576
- var peg$e86 = peg$literalExpectation("languageEmPink", false);
577
- var peg$e87 = peg$literalExpectation("languageEmBrown", false);
578
- var peg$e88 = peg$literalExpectation("languageEmBlack", false);
579
- var peg$e89 = peg$literalExpectation("languageEmWhite", false);
580
- var peg$e90 = peg$literalExpectation("languageEmGray", false);
581
- var peg$e91 = peg$literalExpectation("languageEm", false);
582
- var peg$e92 = peg$literalExpectation("userUnderline", false);
583
- var peg$e93 = peg$literalExpectation("userDoubleUnderline", false);
584
- var peg$e94 = peg$literalExpectation("userStrike", false);
585
- var peg$e95 = peg$literalExpectation("userCircle", false);
586
- var peg$e96 = peg$literalExpectation("userHighlight", false);
587
- var peg$e97 = peg$literalExpectation("notranslate", false);
588
- var peg$e98 = peg$literalExpectation("aqua", false);
589
- var peg$e99 = peg$literalExpectation("black", false);
590
- var peg$e100 = peg$literalExpectation("blue", false);
591
- var peg$e101 = peg$literalExpectation("brown", false);
592
- var peg$e102 = peg$literalExpectation("fuchsia", false);
593
- var peg$e103 = peg$literalExpectation("lightgrey", false);
594
- var peg$e104 = peg$literalExpectation("gray", false);
595
- var peg$e105 = peg$literalExpectation("darkgray", false);
596
- var peg$e106 = peg$literalExpectation("green", false);
597
- var peg$e107 = peg$literalExpectation("lime", false);
598
- var peg$e108 = peg$literalExpectation("magenta", false);
599
- var peg$e109 = peg$literalExpectation("maroon", false);
600
- var peg$e110 = peg$literalExpectation("navy", false);
601
- var peg$e111 = peg$literalExpectation("olive", false);
602
- var peg$e112 = peg$literalExpectation("orange", false);
603
- var peg$e113 = peg$literalExpectation("pink", false);
604
- var peg$e114 = peg$literalExpectation("purple", false);
605
- var peg$e115 = peg$literalExpectation("red", false);
606
- var peg$e116 = peg$literalExpectation("silver", false);
607
- var peg$e117 = peg$literalExpectation("teal", false);
608
- var peg$e118 = peg$literalExpectation("violet", false);
609
- var peg$e119 = peg$literalExpectation("white", false);
610
- var peg$e120 = peg$literalExpectation("yellow", false);
611
- var peg$e121 = peg$otherExpectation("MinimalStyledText");
612
- var peg$e122 = peg$otherExpectation("MinimalStyledString");
613
- var peg$e123 = peg$literalExpectation("*", false);
614
- var peg$e124 = peg$literalExpectation("_", false);
615
- var peg$e125 = peg$literalExpectation("`", false);
616
- var peg$e126 = peg$literalExpectation("!", false);
617
- var peg$e127 = peg$literalExpectation("[!", false);
618
- var peg$e128 = peg$literalExpectation("]", false);
619
- var peg$e129 = peg$otherExpectation("Line Terminator");
620
- var peg$e130 = peg$literalExpectation("\n", false);
621
- var peg$e131 = peg$literalExpectation("\r\n", false);
622
- var peg$e132 = peg$classExpectation(["\r", ["\u2028", "\u2029"]], false, false);
623
- var peg$e133 = peg$otherExpectation("whitespace in line");
624
- var peg$e134 = peg$otherExpectation("space");
625
- var peg$e135 = peg$otherExpectation("language tag separator");
626
- var peg$e136 = peg$otherExpectation("white space, separator");
627
- var peg$e137 = peg$classExpectation(["\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], false, false);
628
- var peg$e138 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], false, false);
629
- var peg$e139 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false);
630
- var peg$e140 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029", "\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], true, false);
631
- var peg$e141 = peg$literalExpectation("http", false);
632
- var peg$e142 = peg$literalExpectation("s", false);
633
- var peg$e143 = peg$literalExpectation("://", false);
634
- var peg$e144 = peg$literalExpectation("mailto:", false);
635
- var peg$e145 = peg$classExpectation(["!", ["#", ";"], "=", ["?", "["], ["]", "_"], ["a", "{"], ["}", "~"]], false, false);
521
+ var peg$e27 = peg$literalExpectation("width", false);
522
+ var peg$e28 = peg$literalExpectation("height", false);
523
+ var peg$e29 = peg$literalExpectation("alignment", false);
524
+ var peg$e30 = peg$literalExpectation("captionAlign", false);
525
+ var peg$e31 = peg$literalExpectation("left", false);
526
+ var peg$e32 = peg$literalExpectation("center", false);
527
+ var peg$e33 = peg$literalExpectation("right", false);
528
+ var peg$e34 = peg$literalExpectation("alt", false);
529
+ var peg$e35 = peg$literalExpectation("caption", false);
530
+ var peg$e36 = peg$literalExpectation("zoomDisabled", false);
531
+ var peg$e37 = peg$literalExpectation("true", false);
532
+ var peg$e38 = peg$literalExpectation("false", false);
533
+ var peg$e39 = peg$otherExpectation("StyledString");
534
+ var peg$e40 = peg$literalExpectation("=", false);
535
+ var peg$e41 = peg$literalExpectation("|latex|", false);
536
+ var peg$e42 = peg$literalExpectation("|imageInline:", false);
537
+ var peg$e43 = peg$literalExpectation("alignmentVertical", false);
538
+ var peg$e44 = peg$literalExpectation("size", false);
539
+ var peg$e45 = peg$literalExpectation("top", false);
540
+ var peg$e46 = peg$literalExpectation("middle", false);
541
+ var peg$e47 = peg$literalExpectation("bottom", false);
542
+ var peg$e48 = peg$literalExpectation("baseline", false);
543
+ var peg$e49 = peg$literalExpectation("sub", false);
544
+ var peg$e50 = peg$literalExpectation("super", false);
545
+ var peg$e51 = peg$literalExpectation("text-bottom", false);
546
+ var peg$e52 = peg$literalExpectation("text-top", false);
547
+ var peg$e53 = peg$literalExpectation("line-height", false);
548
+ var peg$e54 = peg$literalExpectation("font-height", false);
549
+ var peg$e55 = peg$literalExpectation("explicit", false);
550
+ var peg$e56 = peg$literalExpectation("link:", false);
551
+ var peg$e57 = peg$literalExpectation("extref:", false);
552
+ var peg$e58 = peg$literalExpectation("provider:", false);
553
+ var peg$e59 = peg$literalExpectation("xref:", false);
554
+ var peg$e60 = peg$literalExpectation("\u25BA", false);
555
+ var peg$e61 = peg$literalExpectation("symbol:", false);
556
+ var peg$e62 = peg$literalExpectation("footnote:", false);
557
+ var peg$e63 = peg$literalExpectation("footnote*:", false);
558
+ var peg$e64 = peg$literalExpectation("var:", false);
559
+ var peg$e65 = peg$literalExpectation("code:", false);
560
+ var peg$e66 = peg$literalExpectation("timer", false);
561
+ var peg$e67 = peg$literalExpectation("timer:", false);
562
+ var peg$e68 = peg$literalExpectation("duration:", false);
563
+ var peg$e69 = peg$literalExpectation("P", false);
564
+ var peg$e70 = peg$literalExpectation("color:", false);
565
+ var peg$e71 = peg$literalExpectation("|\u25BA", false);
566
+ var peg$e72 = peg$literalExpectation("bold", false);
567
+ var peg$e73 = peg$literalExpectation("italic", false);
568
+ var peg$e74 = peg$literalExpectation("light", false);
569
+ var peg$e75 = peg$literalExpectation("highlight", false);
570
+ var peg$e76 = peg$literalExpectation("strike", false);
571
+ var peg$e77 = peg$literalExpectation("subscript", false);
572
+ var peg$e78 = peg$literalExpectation("superscript", false);
573
+ var peg$e79 = peg$literalExpectation("ins", false);
574
+ var peg$e80 = peg$literalExpectation("del", false);
575
+ var peg$e81 = peg$literalExpectation("underline", false);
576
+ var peg$e82 = peg$literalExpectation("doubleUnderline", false);
577
+ var peg$e83 = peg$literalExpectation("circle", false);
578
+ var peg$e84 = peg$literalExpectation("languageEmRed", false);
579
+ var peg$e85 = peg$literalExpectation("languageEmOrange", false);
580
+ var peg$e86 = peg$literalExpectation("languageEmYellow", false);
581
+ var peg$e87 = peg$literalExpectation("languageEmGreen", false);
582
+ var peg$e88 = peg$literalExpectation("languageEmBlue", false);
583
+ var peg$e89 = peg$literalExpectation("languageEmPurple", false);
584
+ var peg$e90 = peg$literalExpectation("languageEmPink", false);
585
+ var peg$e91 = peg$literalExpectation("languageEmBrown", false);
586
+ var peg$e92 = peg$literalExpectation("languageEmBlack", false);
587
+ var peg$e93 = peg$literalExpectation("languageEmWhite", false);
588
+ var peg$e94 = peg$literalExpectation("languageEmGray", false);
589
+ var peg$e95 = peg$literalExpectation("languageEm", false);
590
+ var peg$e96 = peg$literalExpectation("userUnderline", false);
591
+ var peg$e97 = peg$literalExpectation("userDoubleUnderline", false);
592
+ var peg$e98 = peg$literalExpectation("userStrike", false);
593
+ var peg$e99 = peg$literalExpectation("userCircle", false);
594
+ var peg$e100 = peg$literalExpectation("userHighlight", false);
595
+ var peg$e101 = peg$literalExpectation("notranslate", false);
596
+ var peg$e102 = peg$literalExpectation("aqua", false);
597
+ var peg$e103 = peg$literalExpectation("black", false);
598
+ var peg$e104 = peg$literalExpectation("blue", false);
599
+ var peg$e105 = peg$literalExpectation("brown", false);
600
+ var peg$e106 = peg$literalExpectation("fuchsia", false);
601
+ var peg$e107 = peg$literalExpectation("lightgrey", false);
602
+ var peg$e108 = peg$literalExpectation("gray", false);
603
+ var peg$e109 = peg$literalExpectation("darkgray", false);
604
+ var peg$e110 = peg$literalExpectation("green", false);
605
+ var peg$e111 = peg$literalExpectation("lime", false);
606
+ var peg$e112 = peg$literalExpectation("magenta", false);
607
+ var peg$e113 = peg$literalExpectation("maroon", false);
608
+ var peg$e114 = peg$literalExpectation("navy", false);
609
+ var peg$e115 = peg$literalExpectation("olive", false);
610
+ var peg$e116 = peg$literalExpectation("orange", false);
611
+ var peg$e117 = peg$literalExpectation("pink", false);
612
+ var peg$e118 = peg$literalExpectation("purple", false);
613
+ var peg$e119 = peg$literalExpectation("red", false);
614
+ var peg$e120 = peg$literalExpectation("silver", false);
615
+ var peg$e121 = peg$literalExpectation("teal", false);
616
+ var peg$e122 = peg$literalExpectation("violet", false);
617
+ var peg$e123 = peg$literalExpectation("white", false);
618
+ var peg$e124 = peg$literalExpectation("yellow", false);
619
+ var peg$e125 = peg$otherExpectation("MinimalStyledText");
620
+ var peg$e126 = peg$otherExpectation("MinimalStyledString");
621
+ var peg$e127 = peg$literalExpectation("*", false);
622
+ var peg$e128 = peg$literalExpectation("_", false);
623
+ var peg$e129 = peg$literalExpectation("`", false);
624
+ var peg$e130 = peg$literalExpectation("!", false);
625
+ var peg$e131 = peg$literalExpectation("[!", false);
626
+ var peg$e132 = peg$literalExpectation("]", false);
627
+ var peg$e133 = peg$otherExpectation("Line Terminator");
628
+ var peg$e134 = peg$literalExpectation("\n", false);
629
+ var peg$e135 = peg$literalExpectation("\r\n", false);
630
+ var peg$e136 = peg$classExpectation(["\r", ["\u2028", "\u2029"]], false, false);
631
+ var peg$e137 = peg$otherExpectation("whitespace in line");
632
+ var peg$e138 = peg$otherExpectation("space");
633
+ var peg$e139 = peg$otherExpectation("language tag separator");
634
+ var peg$e140 = peg$otherExpectation("white space, separator");
635
+ var peg$e141 = peg$classExpectation(["\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], false, false);
636
+ var peg$e142 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], false, false);
637
+ var peg$e143 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false);
638
+ var peg$e144 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029", "\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], true, false);
639
+ var peg$e145 = peg$literalExpectation("http", false);
640
+ var peg$e146 = peg$literalExpectation("s", false);
641
+ var peg$e147 = peg$literalExpectation("://", false);
642
+ var peg$e148 = peg$literalExpectation("mailto:", false);
643
+ var peg$e149 = peg$classExpectation(["!", ["#", ";"], "=", ["?", "["], ["]", "_"], ["a", "{"], ["}", "~"]], false, false);
636
644
  var peg$f0 = function () { return VERSION; };
637
645
  var peg$f1 = function (b) { const cleaned_ = cleanEmptyTextNodes(Object.assign({}, b)); return cleaned_; };
638
646
  var peg$f2 = function (b) { let lb_ = Object.assign({}, b); removeTempParsingParent(lb_); const cleaned_ = cleanEmptyTextNodes(lb_); return cleaned_; };
@@ -767,61 +775,63 @@ function peg$parse(input, options) {
767
775
  return image;
768
776
  };
769
777
  var peg$f42 = function (ch) { return ch; };
770
- var peg$f43 = function (str) { return { comment: str }; };
778
+ var peg$f43 = function (str) { return { comment: str.trim() }; };
771
779
  var peg$f44 = function (p, v) { return { [p]: parseInt(v) }; };
772
- var peg$f45 = function (p, v) { return { type: "error", msg: p + ' must be a positive integer.', found: v }; };
780
+ var peg$f45 = function (p, v) { return { [p]: v.trim() }; };
773
781
  var peg$f46 = function (p, v) { return { [p]: v }; };
774
782
  var peg$f47 = function (p, v) { return { [p]: v }; };
775
783
  var peg$f48 = function (p) { return { [p]: true }; };
776
- var peg$f49 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
777
- var peg$f50 = function (first, more) { const cleaned_ = cleanEmptyTextNodes(first ? [first, ...more.flat()] : more.flat()); return cleaned_; };
778
- var peg$f51 = function () { return { "type": "hardBreak" }; };
779
- var peg$f52 = function (t) { return { text: unbreakscape(t), type: "text" }; };
780
- var peg$f53 = function (t) { return { index: +t, type: "bit" }; };
781
- var peg$f54 = function (t) { return { attrs: { formula: unbreakscape(t) }, type: "latex" }; };
782
- var peg$f55 = function (alt, u, ch) { return { attrs: Object.assign(Object.assign({ alt, src: (u.pr + u.t).trim() }, Object.assign({}, ...ch)), { zoomDisabled: true }), type: "imageInline" }; };
783
- var peg$f56 = function (t, marks) { if (!marks)
784
+ var peg$f49 = function () { return; };
785
+ var peg$f50 = function (p) { return { error: 'Found unknown property or invalid value: ' + p }; };
786
+ var peg$f51 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
787
+ var peg$f52 = function (first, more) { const cleaned_ = cleanEmptyTextNodes(first ? [first, ...more.flat()] : more.flat()); return cleaned_; };
788
+ var peg$f53 = function () { return { "type": "hardBreak" }; };
789
+ var peg$f54 = function (t) { return { text: unbreakscape(t), type: "text" }; };
790
+ var peg$f55 = function (t) { return { index: +t, type: "bit" }; };
791
+ var peg$f56 = function (t) { return { attrs: { formula: unbreakscape(t) }, type: "latex" }; };
792
+ var peg$f57 = function (alt, u, ch) { return { attrs: Object.assign(Object.assign({ alt, src: (u.pr + u.t).trim() }, Object.assign({}, ...ch)), { zoomDisabled: true }), type: "imageInline" }; };
793
+ var peg$f58 = function (t, marks) { if (!marks)
784
794
  marks = []; return { marks, text: unbreakscape(t), type: "text" }; };
785
- var peg$f57 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
786
- var peg$f58 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
787
- var peg$f59 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
788
- var peg$f60 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
789
- var peg$f61 = function (u) { return { marks: [{ type: "link", attrs: { href: (u.pr + u.t).trim(), target: '_blank' } }], text: u.t, type: "text" }; };
790
- var peg$f62 = function (ch) { return ch; };
791
- var peg$f63 = function (ch) { return ch; };
792
- var peg$f64 = function (str) { return { comment: str }; };
793
- var peg$f65 = function (p, v) { return { [p]: parseInt(v) }; };
794
- var peg$f66 = function (p, v) { return { type: "error", msg: p + ' must be a positive integer.', found: v }; };
795
- var peg$f67 = function (p, v) { return { [p]: v }; };
796
- var peg$f68 = function (p, v) { return { [p]: v }; };
797
- var peg$f69 = function (str) { return { type: 'link', attrs: { href: str.trim(), target: '_blank' } }; };
798
- var peg$f70 = function (str, rc, p) { return { type: 'extref', attrs: { extref: str.trim(), references: rc, provider: p.trim() } }; };
799
- var peg$f71 = function (str, str2) { return { type: 'xref', attrs: { xref: str.trim(), reference: str2.trim() } }; };
800
- var peg$f72 = function (str) { return { type: 'xref', attrs: { xref: str.trim(), reference: '' } }; };
801
- var peg$f73 = function (str) { return { type: 'ref', attrs: { reference: str.trim() } }; };
802
- var peg$f74 = function (str, ch) { const chain = Object.assign({}, ...ch); return { type: 'symbol', attrs: Object.assign({ src: str.trim() }, chain) }; };
803
- var peg$f75 = function (str) { return { type: 'footnote', attrs: { content: bitmarkPlusString(str.trim()) } }; };
804
- var peg$f76 = function (str) { return { type: 'footnote*', attrs: { content: bitmarkPlusString(str.trim()) } }; };
805
- var peg$f77 = function (str) { return { type: 'var', attrs: { name: str.trim() } }; };
806
- var peg$f78 = function () { return { type: 'code', attrs: { language: "plain text" } }; };
807
- var peg$f79 = function (lang) { return { type: 'code', attrs: { language: lang.trim().toLowerCase() } }; };
808
- var peg$f80 = function () { return { type: 'timer', attrs: { name: "" } }; };
809
- var peg$f81 = function (str) { return { type: 'timer', attrs: { name: str.trim() } }; };
810
- var peg$f82 = function (str) { return { type: 'duration', attrs: { duration: str } }; };
811
- var peg$f83 = function (color) { return { type: 'color', attrs: { color } }; };
812
- var peg$f84 = function (style) { return { type: style }; };
813
- var peg$f85 = function (str) { return { type: "comment", comment: str }; };
814
- var peg$f86 = function (r) { return r.trim(); };
815
- var peg$f87 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
816
- var peg$f88 = function (first, more) { const cleaned_ = cleanEmptyTextNodes(first ? [first, ...more.flat()] : more.flat()); return cleaned_; };
817
- var peg$f89 = function () { return { "type": "hardBreak" }; };
818
- var peg$f90 = function (t) { return { text: unbreakscape(t), type: "text" }; };
819
- var peg$f91 = function (t) { return { index: +t, type: "bit" }; };
820
- var peg$f92 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
821
- var peg$f93 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
822
- var peg$f94 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
823
- var peg$f95 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
824
- var peg$f96 = function (pr, t) { return { pr, t }; };
795
+ var peg$f59 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
796
+ var peg$f60 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
797
+ var peg$f61 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
798
+ var peg$f62 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
799
+ var peg$f63 = function (u) { return { marks: [{ type: "link", attrs: { href: (u.pr + u.t).trim(), target: '_blank' } }], text: u.t, type: "text" }; };
800
+ var peg$f64 = function (ch) { return ch; };
801
+ var peg$f65 = function (ch) { return ch; };
802
+ var peg$f66 = function (str) { return { comment: str }; };
803
+ var peg$f67 = function (p, v) { return { [p]: parseInt(v) }; };
804
+ var peg$f68 = function (p, v) { return { type: "error", msg: p + ' must be a positive integer.', found: v }; };
805
+ var peg$f69 = function (p, v) { return { [p]: v }; };
806
+ var peg$f70 = function (p, v) { return { [p]: v }; };
807
+ var peg$f71 = function (str) { return { type: 'link', attrs: { href: str.trim(), target: '_blank' } }; };
808
+ var peg$f72 = function (str, rc, p) { return { type: 'extref', attrs: { extref: str.trim(), references: rc, provider: p.trim() } }; };
809
+ var peg$f73 = function (str, str2) { return { type: 'xref', attrs: { xref: str.trim(), reference: str2.trim() } }; };
810
+ var peg$f74 = function (str) { return { type: 'xref', attrs: { xref: str.trim(), reference: '' } }; };
811
+ var peg$f75 = function (str) { return { type: 'ref', attrs: { reference: str.trim() } }; };
812
+ var peg$f76 = function (str, ch) { const chain = Object.assign({}, ...ch); return { type: 'symbol', attrs: Object.assign({ src: str.trim() }, chain) }; };
813
+ var peg$f77 = function (str) { return { type: 'footnote', attrs: { content: bitmarkPlusString(str.trim()) } }; };
814
+ var peg$f78 = function (str) { return { type: 'footnote*', attrs: { content: bitmarkPlusString(str.trim()) } }; };
815
+ var peg$f79 = function (str) { return { type: 'var', attrs: { name: str.trim() } }; };
816
+ var peg$f80 = function () { return { type: 'code', attrs: { language: "plain text" } }; };
817
+ var peg$f81 = function (lang) { return { type: 'code', attrs: { language: lang.trim().toLowerCase() } }; };
818
+ var peg$f82 = function () { return { type: 'timer', attrs: { name: "" } }; };
819
+ var peg$f83 = function (str) { return { type: 'timer', attrs: { name: str.trim() } }; };
820
+ var peg$f84 = function (str) { return { type: 'duration', attrs: { duration: str } }; };
821
+ var peg$f85 = function (color) { return { type: 'color', attrs: { color } }; };
822
+ var peg$f86 = function (style) { return { type: style }; };
823
+ var peg$f87 = function (str) { return { type: "comment", comment: str }; };
824
+ var peg$f88 = function (r) { return r.trim(); };
825
+ var peg$f89 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
826
+ var peg$f90 = function (first, more) { const cleaned_ = cleanEmptyTextNodes(first ? [first, ...more.flat()] : more.flat()); return cleaned_; };
827
+ var peg$f91 = function () { return { "type": "hardBreak" }; };
828
+ var peg$f92 = function (t) { return { text: unbreakscape(t), type: "text" }; };
829
+ var peg$f93 = function (t) { return { index: +t, type: "bit" }; };
830
+ var peg$f94 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
831
+ var peg$f95 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
832
+ var peg$f96 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
833
+ var peg$f97 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
834
+ var peg$f98 = function (pr, t) { return { pr, t }; };
825
835
  var peg$currPos = options.peg$currPos | 0;
826
836
  var peg$savedPos = peg$currPos;
827
837
  var peg$posDetailsCache = [{ line: 1, column: 1 }];
@@ -3014,7 +3024,7 @@ function peg$parse(input, options) {
3014
3024
  return s0;
3015
3025
  }
3016
3026
  function peg$parseImageBlock() {
3017
- var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
3027
+ var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11;
3018
3028
  s0 = peg$currPos;
3019
3029
  s1 = peg$parseImageTag();
3020
3030
  if (s1 !== peg$FAILED) {
@@ -3044,57 +3054,81 @@ function peg$parse(input, options) {
3044
3054
  }
3045
3055
  s4 = peg$parseUrlHttp();
3046
3056
  if (s4 !== peg$FAILED) {
3047
- s5 = peg$parseBlockTag();
3048
- if (s5 !== peg$FAILED) {
3049
- s6 = peg$parseMediaChain();
3050
- s7 = peg$currPos;
3057
+ s5 = [];
3058
+ if (input.charCodeAt(peg$currPos) === 32) {
3059
+ s6 = peg$c12;
3060
+ peg$currPos++;
3061
+ }
3062
+ else {
3063
+ s6 = peg$FAILED;
3064
+ if (peg$silentFails === 0) {
3065
+ peg$fail(peg$e16);
3066
+ }
3067
+ }
3068
+ while (s6 !== peg$FAILED) {
3069
+ s5.push(s6);
3070
+ if (input.charCodeAt(peg$currPos) === 32) {
3071
+ s6 = peg$c12;
3072
+ peg$currPos++;
3073
+ }
3074
+ else {
3075
+ s6 = peg$FAILED;
3076
+ if (peg$silentFails === 0) {
3077
+ peg$fail(peg$e16);
3078
+ }
3079
+ }
3080
+ }
3081
+ s6 = peg$parseBlockTag();
3082
+ if (s6 !== peg$FAILED) {
3083
+ s7 = peg$parseMediaChain();
3051
3084
  s8 = peg$currPos;
3052
- s9 = [];
3053
- s10 = input.charAt(peg$currPos);
3054
- if (peg$r0.test(s10)) {
3085
+ s9 = peg$currPos;
3086
+ s10 = [];
3087
+ s11 = input.charAt(peg$currPos);
3088
+ if (peg$r0.test(s11)) {
3055
3089
  peg$currPos++;
3056
3090
  }
3057
3091
  else {
3058
- s10 = peg$FAILED;
3092
+ s11 = peg$FAILED;
3059
3093
  if (peg$silentFails === 0) {
3060
3094
  peg$fail(peg$e7);
3061
3095
  }
3062
3096
  }
3063
- while (s10 !== peg$FAILED) {
3064
- s9.push(s10);
3065
- s10 = input.charAt(peg$currPos);
3066
- if (peg$r0.test(s10)) {
3097
+ while (s11 !== peg$FAILED) {
3098
+ s10.push(s11);
3099
+ s11 = input.charAt(peg$currPos);
3100
+ if (peg$r0.test(s11)) {
3067
3101
  peg$currPos++;
3068
3102
  }
3069
3103
  else {
3070
- s10 = peg$FAILED;
3104
+ s11 = peg$FAILED;
3071
3105
  if (peg$silentFails === 0) {
3072
3106
  peg$fail(peg$e7);
3073
3107
  }
3074
3108
  }
3075
3109
  }
3076
- s10 = peg$parseEOL();
3077
- if (s10 !== peg$FAILED) {
3078
- s9 = [s9, s10];
3079
- s8 = s9;
3110
+ s11 = peg$parseEOL();
3111
+ if (s11 !== peg$FAILED) {
3112
+ s10 = [s10, s11];
3113
+ s9 = s10;
3080
3114
  }
3081
3115
  else {
3082
- peg$currPos = s8;
3083
- s8 = peg$FAILED;
3116
+ peg$currPos = s9;
3117
+ s9 = peg$FAILED;
3084
3118
  }
3085
- if (s8 !== peg$FAILED) {
3086
- s7 = input.substring(s7, peg$currPos);
3119
+ if (s9 !== peg$FAILED) {
3120
+ s8 = input.substring(s8, peg$currPos);
3087
3121
  }
3088
3122
  else {
3089
- s7 = s8;
3123
+ s8 = s9;
3090
3124
  }
3091
- if (s7 !== peg$FAILED) {
3092
- s8 = peg$parseNL();
3093
- if (s8 === peg$FAILED) {
3094
- s8 = null;
3125
+ if (s8 !== peg$FAILED) {
3126
+ s9 = peg$parseNL();
3127
+ if (s9 === peg$FAILED) {
3128
+ s9 = null;
3095
3129
  }
3096
3130
  peg$savedPos = s0;
3097
- s0 = peg$f41(s1, s4, s6);
3131
+ s0 = peg$f41(s1, s4, s7);
3098
3132
  }
3099
3133
  else {
3100
3134
  peg$currPos = s0;
@@ -3365,8 +3399,32 @@ function peg$parse(input, options) {
3365
3399
  s5 = s6;
3366
3400
  }
3367
3401
  if (s5 !== peg$FAILED) {
3368
- s6 = peg$parseBlockTag();
3369
- if (s6 !== peg$FAILED) {
3402
+ s6 = [];
3403
+ if (input.charCodeAt(peg$currPos) === 32) {
3404
+ s7 = peg$c12;
3405
+ peg$currPos++;
3406
+ }
3407
+ else {
3408
+ s7 = peg$FAILED;
3409
+ if (peg$silentFails === 0) {
3410
+ peg$fail(peg$e16);
3411
+ }
3412
+ }
3413
+ while (s7 !== peg$FAILED) {
3414
+ s6.push(s7);
3415
+ if (input.charCodeAt(peg$currPos) === 32) {
3416
+ s7 = peg$c12;
3417
+ peg$currPos++;
3418
+ }
3419
+ else {
3420
+ s7 = peg$FAILED;
3421
+ if (peg$silentFails === 0) {
3422
+ peg$fail(peg$e16);
3423
+ }
3424
+ }
3425
+ }
3426
+ s7 = peg$parseBlockTag();
3427
+ if (s7 !== peg$FAILED) {
3370
3428
  peg$savedPos = s0;
3371
3429
  s0 = peg$f44(s2, s5);
3372
3430
  }
@@ -3404,7 +3462,7 @@ function peg$parse(input, options) {
3404
3462
  if (s1 === peg$FAILED) {
3405
3463
  s1 = null;
3406
3464
  }
3407
- s2 = peg$parseMediaSizeTags();
3465
+ s2 = peg$parseMediaTextTags();
3408
3466
  if (s2 !== peg$FAILED) {
3409
3467
  if (input.charCodeAt(peg$currPos) === 58) {
3410
3468
  s3 = peg$c5;
@@ -3535,7 +3593,7 @@ function peg$parse(input, options) {
3535
3593
  if (s1 === peg$FAILED) {
3536
3594
  s1 = null;
3537
3595
  }
3538
- s2 = peg$parseAlignmentTags();
3596
+ s2 = peg$parseMediaAlignmentTags();
3539
3597
  if (s2 !== peg$FAILED) {
3540
3598
  if (input.charCodeAt(peg$currPos) === 58) {
3541
3599
  s3 = peg$c5;
@@ -3572,10 +3630,34 @@ function peg$parse(input, options) {
3572
3630
  }
3573
3631
  }
3574
3632
  }
3575
- s5 = peg$parseAlignment();
3633
+ s5 = peg$parseMediaAlignment();
3576
3634
  if (s5 !== peg$FAILED) {
3577
- s6 = peg$parseBlockTag();
3578
- if (s6 !== peg$FAILED) {
3635
+ s6 = [];
3636
+ if (input.charCodeAt(peg$currPos) === 32) {
3637
+ s7 = peg$c12;
3638
+ peg$currPos++;
3639
+ }
3640
+ else {
3641
+ s7 = peg$FAILED;
3642
+ if (peg$silentFails === 0) {
3643
+ peg$fail(peg$e16);
3644
+ }
3645
+ }
3646
+ while (s7 !== peg$FAILED) {
3647
+ s6.push(s7);
3648
+ if (input.charCodeAt(peg$currPos) === 32) {
3649
+ s7 = peg$c12;
3650
+ peg$currPos++;
3651
+ }
3652
+ else {
3653
+ s7 = peg$FAILED;
3654
+ if (peg$silentFails === 0) {
3655
+ peg$fail(peg$e16);
3656
+ }
3657
+ }
3658
+ }
3659
+ s7 = peg$parseBlockTag();
3660
+ if (s7 !== peg$FAILED) {
3579
3661
  peg$savedPos = s0;
3580
3662
  s0 = peg$f46(s2, s5);
3581
3663
  }
@@ -3613,229 +3695,84 @@ function peg$parse(input, options) {
3613
3695
  if (s1 === peg$FAILED) {
3614
3696
  s1 = null;
3615
3697
  }
3616
- s2 = peg$currPos;
3617
- s3 = [];
3618
- s4 = peg$currPos;
3619
- s5 = peg$currPos;
3620
- peg$silentFails++;
3621
- s6 = input.charAt(peg$currPos);
3622
- if (peg$r2.test(s6)) {
3623
- peg$currPos++;
3624
- }
3625
- else {
3626
- s6 = peg$FAILED;
3627
- if (peg$silentFails === 0) {
3628
- peg$fail(peg$e27);
3698
+ s2 = peg$parseMediaBooleanTags();
3699
+ if (s2 !== peg$FAILED) {
3700
+ if (input.charCodeAt(peg$currPos) === 58) {
3701
+ s3 = peg$c5;
3702
+ peg$currPos++;
3629
3703
  }
3630
- }
3631
- if (s6 === peg$FAILED) {
3632
- s6 = peg$currPos;
3633
- s7 = peg$parseAlignmentTags();
3634
- if (s7 !== peg$FAILED) {
3635
- if (input.charCodeAt(peg$currPos) === 58) {
3636
- s8 = peg$c5;
3704
+ else {
3705
+ s3 = peg$FAILED;
3706
+ if (peg$silentFails === 0) {
3707
+ peg$fail(peg$e8);
3708
+ }
3709
+ }
3710
+ if (s3 !== peg$FAILED) {
3711
+ s4 = [];
3712
+ if (input.charCodeAt(peg$currPos) === 32) {
3713
+ s5 = peg$c12;
3637
3714
  peg$currPos++;
3638
3715
  }
3639
3716
  else {
3640
- s8 = peg$FAILED;
3717
+ s5 = peg$FAILED;
3641
3718
  if (peg$silentFails === 0) {
3642
- peg$fail(peg$e8);
3719
+ peg$fail(peg$e16);
3643
3720
  }
3644
3721
  }
3645
- if (s8 !== peg$FAILED) {
3646
- s7 = [s7, s8];
3647
- s6 = s7;
3648
- }
3649
- else {
3650
- peg$currPos = s6;
3651
- s6 = peg$FAILED;
3652
- }
3653
- }
3654
- else {
3655
- peg$currPos = s6;
3656
- s6 = peg$FAILED;
3657
- }
3658
- }
3659
- peg$silentFails--;
3660
- if (s6 === peg$FAILED) {
3661
- s5 = undefined;
3662
- }
3663
- else {
3664
- peg$currPos = s5;
3665
- s5 = peg$FAILED;
3666
- }
3667
- if (s5 !== peg$FAILED) {
3668
- s6 = peg$parsechar();
3669
- if (s6 !== peg$FAILED) {
3670
- s5 = [s5, s6];
3671
- s4 = s5;
3672
- }
3673
- else {
3674
- peg$currPos = s4;
3675
- s4 = peg$FAILED;
3676
- }
3677
- }
3678
- else {
3679
- peg$currPos = s4;
3680
- s4 = peg$FAILED;
3681
- }
3682
- while (s4 !== peg$FAILED) {
3683
- s3.push(s4);
3684
- s4 = peg$currPos;
3685
- s5 = peg$currPos;
3686
- peg$silentFails++;
3687
- s6 = input.charAt(peg$currPos);
3688
- if (peg$r2.test(s6)) {
3689
- peg$currPos++;
3690
- }
3691
- else {
3692
- s6 = peg$FAILED;
3693
- if (peg$silentFails === 0) {
3694
- peg$fail(peg$e27);
3695
- }
3696
- }
3697
- if (s6 === peg$FAILED) {
3698
- s6 = peg$currPos;
3699
- s7 = peg$parseAlignmentTags();
3700
- if (s7 !== peg$FAILED) {
3701
- if (input.charCodeAt(peg$currPos) === 58) {
3702
- s8 = peg$c5;
3722
+ while (s5 !== peg$FAILED) {
3723
+ s4.push(s5);
3724
+ if (input.charCodeAt(peg$currPos) === 32) {
3725
+ s5 = peg$c12;
3703
3726
  peg$currPos++;
3704
3727
  }
3705
3728
  else {
3706
- s8 = peg$FAILED;
3729
+ s5 = peg$FAILED;
3707
3730
  if (peg$silentFails === 0) {
3708
- peg$fail(peg$e8);
3731
+ peg$fail(peg$e16);
3709
3732
  }
3710
3733
  }
3711
- if (s8 !== peg$FAILED) {
3712
- s7 = [s7, s8];
3713
- s6 = s7;
3734
+ }
3735
+ s5 = peg$parseBoolean();
3736
+ if (s5 !== peg$FAILED) {
3737
+ s6 = [];
3738
+ if (input.charCodeAt(peg$currPos) === 32) {
3739
+ s7 = peg$c12;
3740
+ peg$currPos++;
3714
3741
  }
3715
3742
  else {
3716
- peg$currPos = s6;
3717
- s6 = peg$FAILED;
3743
+ s7 = peg$FAILED;
3744
+ if (peg$silentFails === 0) {
3745
+ peg$fail(peg$e16);
3746
+ }
3718
3747
  }
3719
- }
3720
- else {
3721
- peg$currPos = s6;
3722
- s6 = peg$FAILED;
3723
- }
3724
- }
3725
- peg$silentFails--;
3726
- if (s6 === peg$FAILED) {
3727
- s5 = undefined;
3728
- }
3729
- else {
3730
- peg$currPos = s5;
3731
- s5 = peg$FAILED;
3732
- }
3733
- if (s5 !== peg$FAILED) {
3734
- s6 = peg$parsechar();
3735
- if (s6 !== peg$FAILED) {
3736
- s5 = [s5, s6];
3737
- s4 = s5;
3738
- }
3739
- else {
3740
- peg$currPos = s4;
3741
- s4 = peg$FAILED;
3742
- }
3743
- }
3744
- else {
3745
- peg$currPos = s4;
3746
- s4 = peg$FAILED;
3747
- }
3748
- }
3749
- s2 = input.substring(s2, peg$currPos);
3750
- if (input.charCodeAt(peg$currPos) === 58) {
3751
- s3 = peg$c5;
3752
- peg$currPos++;
3753
- }
3754
- else {
3755
- s3 = peg$FAILED;
3756
- if (peg$silentFails === 0) {
3757
- peg$fail(peg$e8);
3758
- }
3759
- }
3760
- if (s3 !== peg$FAILED) {
3761
- if (input.charCodeAt(peg$currPos) === 32) {
3762
- s4 = peg$c12;
3763
- peg$currPos++;
3764
- }
3765
- else {
3766
- s4 = peg$FAILED;
3767
- if (peg$silentFails === 0) {
3768
- peg$fail(peg$e16);
3769
- }
3770
- }
3771
- if (s4 === peg$FAILED) {
3772
- s4 = null;
3773
- }
3774
- s5 = peg$currPos;
3775
- s6 = [];
3776
- s7 = peg$currPos;
3777
- s8 = peg$currPos;
3778
- peg$silentFails++;
3779
- s9 = peg$parseBlockTag();
3780
- peg$silentFails--;
3781
- if (s9 === peg$FAILED) {
3782
- s8 = undefined;
3783
- }
3784
- else {
3785
- peg$currPos = s8;
3786
- s8 = peg$FAILED;
3787
- }
3788
- if (s8 !== peg$FAILED) {
3789
- s9 = peg$parsechar();
3790
- if (s9 !== peg$FAILED) {
3791
- s8 = [s8, s9];
3792
- s7 = s8;
3793
- }
3794
- else {
3795
- peg$currPos = s7;
3796
- s7 = peg$FAILED;
3797
- }
3798
- }
3799
- else {
3800
- peg$currPos = s7;
3801
- s7 = peg$FAILED;
3802
- }
3803
- while (s7 !== peg$FAILED) {
3804
- s6.push(s7);
3805
- s7 = peg$currPos;
3806
- s8 = peg$currPos;
3807
- peg$silentFails++;
3808
- s9 = peg$parseBlockTag();
3809
- peg$silentFails--;
3810
- if (s9 === peg$FAILED) {
3811
- s8 = undefined;
3812
- }
3813
- else {
3814
- peg$currPos = s8;
3815
- s8 = peg$FAILED;
3816
- }
3817
- if (s8 !== peg$FAILED) {
3818
- s9 = peg$parsechar();
3819
- if (s9 !== peg$FAILED) {
3820
- s8 = [s8, s9];
3821
- s7 = s8;
3748
+ while (s7 !== peg$FAILED) {
3749
+ s6.push(s7);
3750
+ if (input.charCodeAt(peg$currPos) === 32) {
3751
+ s7 = peg$c12;
3752
+ peg$currPos++;
3753
+ }
3754
+ else {
3755
+ s7 = peg$FAILED;
3756
+ if (peg$silentFails === 0) {
3757
+ peg$fail(peg$e16);
3758
+ }
3759
+ }
3760
+ }
3761
+ s7 = peg$parseBlockTag();
3762
+ if (s7 !== peg$FAILED) {
3763
+ peg$savedPos = s0;
3764
+ s0 = peg$f47(s2, s5);
3822
3765
  }
3823
3766
  else {
3824
- peg$currPos = s7;
3825
- s7 = peg$FAILED;
3767
+ peg$currPos = s0;
3768
+ s0 = peg$FAILED;
3826
3769
  }
3827
3770
  }
3828
3771
  else {
3829
- peg$currPos = s7;
3830
- s7 = peg$FAILED;
3772
+ peg$currPos = s0;
3773
+ s0 = peg$FAILED;
3831
3774
  }
3832
3775
  }
3833
- s5 = input.substring(s5, peg$currPos);
3834
- s6 = peg$parseBlockTag();
3835
- if (s6 !== peg$FAILED) {
3836
- peg$savedPos = s0;
3837
- s0 = peg$f47(s2, s5);
3838
- }
3839
3776
  else {
3840
3777
  peg$currPos = s0;
3841
3778
  s0 = peg$FAILED;
@@ -3860,130 +3797,155 @@ function peg$parse(input, options) {
3860
3797
  if (s1 === peg$FAILED) {
3861
3798
  s1 = null;
3862
3799
  }
3863
- s2 = peg$currPos;
3864
- s3 = [];
3865
- s4 = peg$currPos;
3866
- s5 = peg$currPos;
3867
- peg$silentFails++;
3868
- s6 = peg$parseBlockTag();
3869
- if (s6 === peg$FAILED) {
3870
- s6 = peg$currPos;
3871
- s7 = peg$parseAlignmentTags();
3872
- if (s7 !== peg$FAILED) {
3873
- if (input.charCodeAt(peg$currPos) === 58) {
3874
- s8 = peg$c5;
3800
+ s2 = peg$parseMediaBooleanTags();
3801
+ if (s2 !== peg$FAILED) {
3802
+ s3 = [];
3803
+ if (input.charCodeAt(peg$currPos) === 32) {
3804
+ s4 = peg$c12;
3805
+ peg$currPos++;
3806
+ }
3807
+ else {
3808
+ s4 = peg$FAILED;
3809
+ if (peg$silentFails === 0) {
3810
+ peg$fail(peg$e16);
3811
+ }
3812
+ }
3813
+ while (s4 !== peg$FAILED) {
3814
+ s3.push(s4);
3815
+ if (input.charCodeAt(peg$currPos) === 32) {
3816
+ s4 = peg$c12;
3875
3817
  peg$currPos++;
3876
3818
  }
3877
3819
  else {
3878
- s8 = peg$FAILED;
3820
+ s4 = peg$FAILED;
3879
3821
  if (peg$silentFails === 0) {
3880
- peg$fail(peg$e8);
3822
+ peg$fail(peg$e16);
3881
3823
  }
3882
3824
  }
3883
- if (s8 !== peg$FAILED) {
3884
- s7 = [s7, s8];
3885
- s6 = s7;
3886
- }
3887
- else {
3888
- peg$currPos = s6;
3889
- s6 = peg$FAILED;
3890
- }
3825
+ }
3826
+ s4 = peg$parseBlockTag();
3827
+ if (s4 !== peg$FAILED) {
3828
+ peg$savedPos = s0;
3829
+ s0 = peg$f48(s2);
3891
3830
  }
3892
3831
  else {
3893
- peg$currPos = s6;
3894
- s6 = peg$FAILED;
3832
+ peg$currPos = s0;
3833
+ s0 = peg$FAILED;
3895
3834
  }
3896
3835
  }
3897
- peg$silentFails--;
3898
- if (s6 === peg$FAILED) {
3899
- s5 = undefined;
3900
- }
3901
3836
  else {
3902
- peg$currPos = s5;
3903
- s5 = peg$FAILED;
3837
+ peg$currPos = s0;
3838
+ s0 = peg$FAILED;
3904
3839
  }
3905
- if (s5 !== peg$FAILED) {
3906
- s6 = peg$parsechar();
3907
- if (s6 !== peg$FAILED) {
3908
- s5 = [s5, s6];
3909
- s4 = s5;
3840
+ if (s0 === peg$FAILED) {
3841
+ s0 = peg$currPos;
3842
+ if (input.charCodeAt(peg$currPos) === 64) {
3843
+ s1 = peg$c22;
3844
+ peg$currPos++;
3910
3845
  }
3911
3846
  else {
3912
- peg$currPos = s4;
3913
- s4 = peg$FAILED;
3847
+ s1 = peg$FAILED;
3848
+ if (peg$silentFails === 0) {
3849
+ peg$fail(peg$e26);
3850
+ }
3914
3851
  }
3915
- }
3916
- else {
3917
- peg$currPos = s4;
3918
- s4 = peg$FAILED;
3919
- }
3920
- while (s4 !== peg$FAILED) {
3921
- s3.push(s4);
3922
- s4 = peg$currPos;
3923
- s5 = peg$currPos;
3924
- peg$silentFails++;
3925
- s6 = peg$parseBlockTag();
3926
- if (s6 === peg$FAILED) {
3927
- s6 = peg$currPos;
3928
- s7 = peg$parseAlignmentTags();
3929
- if (s7 !== peg$FAILED) {
3930
- if (input.charCodeAt(peg$currPos) === 58) {
3931
- s8 = peg$c5;
3932
- peg$currPos++;
3933
- }
3934
- else {
3935
- s8 = peg$FAILED;
3936
- if (peg$silentFails === 0) {
3937
- peg$fail(peg$e8);
3938
- }
3852
+ if (s1 === peg$FAILED) {
3853
+ s1 = null;
3854
+ }
3855
+ s2 = peg$parseBlockTag();
3856
+ if (s2 !== peg$FAILED) {
3857
+ peg$savedPos = s0;
3858
+ s0 = peg$f49();
3859
+ }
3860
+ else {
3861
+ peg$currPos = s0;
3862
+ s0 = peg$FAILED;
3863
+ }
3864
+ if (s0 === peg$FAILED) {
3865
+ s0 = peg$currPos;
3866
+ if (input.charCodeAt(peg$currPos) === 64) {
3867
+ s1 = peg$c22;
3868
+ peg$currPos++;
3869
+ }
3870
+ else {
3871
+ s1 = peg$FAILED;
3872
+ if (peg$silentFails === 0) {
3873
+ peg$fail(peg$e26);
3939
3874
  }
3940
- if (s8 !== peg$FAILED) {
3941
- s7 = [s7, s8];
3942
- s6 = s7;
3875
+ }
3876
+ if (s1 === peg$FAILED) {
3877
+ s1 = null;
3878
+ }
3879
+ s2 = peg$currPos;
3880
+ s3 = [];
3881
+ s4 = peg$currPos;
3882
+ s5 = peg$currPos;
3883
+ peg$silentFails++;
3884
+ s6 = peg$parseBlockTag();
3885
+ peg$silentFails--;
3886
+ if (s6 === peg$FAILED) {
3887
+ s5 = undefined;
3888
+ }
3889
+ else {
3890
+ peg$currPos = s5;
3891
+ s5 = peg$FAILED;
3892
+ }
3893
+ if (s5 !== peg$FAILED) {
3894
+ s6 = peg$parsechar();
3895
+ if (s6 !== peg$FAILED) {
3896
+ s5 = [s5, s6];
3897
+ s4 = s5;
3943
3898
  }
3944
3899
  else {
3945
- peg$currPos = s6;
3946
- s6 = peg$FAILED;
3900
+ peg$currPos = s4;
3901
+ s4 = peg$FAILED;
3947
3902
  }
3948
3903
  }
3949
3904
  else {
3950
- peg$currPos = s6;
3951
- s6 = peg$FAILED;
3905
+ peg$currPos = s4;
3906
+ s4 = peg$FAILED;
3952
3907
  }
3953
- }
3954
- peg$silentFails--;
3955
- if (s6 === peg$FAILED) {
3956
- s5 = undefined;
3957
- }
3958
- else {
3959
- peg$currPos = s5;
3960
- s5 = peg$FAILED;
3961
- }
3962
- if (s5 !== peg$FAILED) {
3963
- s6 = peg$parsechar();
3964
- if (s6 !== peg$FAILED) {
3965
- s5 = [s5, s6];
3966
- s4 = s5;
3908
+ while (s4 !== peg$FAILED) {
3909
+ s3.push(s4);
3910
+ s4 = peg$currPos;
3911
+ s5 = peg$currPos;
3912
+ peg$silentFails++;
3913
+ s6 = peg$parseBlockTag();
3914
+ peg$silentFails--;
3915
+ if (s6 === peg$FAILED) {
3916
+ s5 = undefined;
3917
+ }
3918
+ else {
3919
+ peg$currPos = s5;
3920
+ s5 = peg$FAILED;
3921
+ }
3922
+ if (s5 !== peg$FAILED) {
3923
+ s6 = peg$parsechar();
3924
+ if (s6 !== peg$FAILED) {
3925
+ s5 = [s5, s6];
3926
+ s4 = s5;
3927
+ }
3928
+ else {
3929
+ peg$currPos = s4;
3930
+ s4 = peg$FAILED;
3931
+ }
3932
+ }
3933
+ else {
3934
+ peg$currPos = s4;
3935
+ s4 = peg$FAILED;
3936
+ }
3937
+ }
3938
+ s2 = input.substring(s2, peg$currPos);
3939
+ s3 = peg$parseBlockTag();
3940
+ if (s3 !== peg$FAILED) {
3941
+ peg$savedPos = s0;
3942
+ s0 = peg$f50(s2);
3967
3943
  }
3968
3944
  else {
3969
- peg$currPos = s4;
3970
- s4 = peg$FAILED;
3945
+ peg$currPos = s0;
3946
+ s0 = peg$FAILED;
3971
3947
  }
3972
3948
  }
3973
- else {
3974
- peg$currPos = s4;
3975
- s4 = peg$FAILED;
3976
- }
3977
- }
3978
- s2 = input.substring(s2, peg$currPos);
3979
- s3 = peg$parseBlockTag();
3980
- if (s3 !== peg$FAILED) {
3981
- peg$savedPos = s0;
3982
- s0 = peg$f48(s2);
3983
- }
3984
- else {
3985
- peg$currPos = s0;
3986
- s0 = peg$FAILED;
3987
3949
  }
3988
3950
  }
3989
3951
  }
@@ -4001,7 +3963,7 @@ function peg$parse(input, options) {
4001
3963
  else {
4002
3964
  s0 = peg$FAILED;
4003
3965
  if (peg$silentFails === 0) {
4004
- peg$fail(peg$e28);
3966
+ peg$fail(peg$e27);
4005
3967
  }
4006
3968
  }
4007
3969
  if (s0 === peg$FAILED) {
@@ -4012,13 +3974,13 @@ function peg$parse(input, options) {
4012
3974
  else {
4013
3975
  s0 = peg$FAILED;
4014
3976
  if (peg$silentFails === 0) {
4015
- peg$fail(peg$e29);
3977
+ peg$fail(peg$e28);
4016
3978
  }
4017
3979
  }
4018
3980
  }
4019
3981
  return s0;
4020
3982
  }
4021
- function peg$parseAlignmentTags() {
3983
+ function peg$parseMediaAlignmentTags() {
4022
3984
  var s0;
4023
3985
  if (input.substr(peg$currPos, 9) === peg$c25) {
4024
3986
  s0 = peg$c25;
@@ -4027,7 +3989,7 @@ function peg$parse(input, options) {
4027
3989
  else {
4028
3990
  s0 = peg$FAILED;
4029
3991
  if (peg$silentFails === 0) {
4030
- peg$fail(peg$e30);
3992
+ peg$fail(peg$e29);
4031
3993
  }
4032
3994
  }
4033
3995
  if (s0 === peg$FAILED) {
@@ -4038,13 +4000,13 @@ function peg$parse(input, options) {
4038
4000
  else {
4039
4001
  s0 = peg$FAILED;
4040
4002
  if (peg$silentFails === 0) {
4041
- peg$fail(peg$e31);
4003
+ peg$fail(peg$e30);
4042
4004
  }
4043
4005
  }
4044
4006
  }
4045
4007
  return s0;
4046
4008
  }
4047
- function peg$parseAlignment() {
4009
+ function peg$parseMediaAlignment() {
4048
4010
  var s0;
4049
4011
  if (input.substr(peg$currPos, 4) === peg$c27) {
4050
4012
  s0 = peg$c27;
@@ -4053,7 +4015,7 @@ function peg$parse(input, options) {
4053
4015
  else {
4054
4016
  s0 = peg$FAILED;
4055
4017
  if (peg$silentFails === 0) {
4056
- peg$fail(peg$e32);
4018
+ peg$fail(peg$e31);
4057
4019
  }
4058
4020
  }
4059
4021
  if (s0 === peg$FAILED) {
@@ -4064,7 +4026,7 @@ function peg$parse(input, options) {
4064
4026
  else {
4065
4027
  s0 = peg$FAILED;
4066
4028
  if (peg$silentFails === 0) {
4067
- peg$fail(peg$e33);
4029
+ peg$fail(peg$e32);
4068
4030
  }
4069
4031
  }
4070
4032
  if (s0 === peg$FAILED) {
@@ -4075,20 +4037,86 @@ function peg$parse(input, options) {
4075
4037
  else {
4076
4038
  s0 = peg$FAILED;
4077
4039
  if (peg$silentFails === 0) {
4078
- peg$fail(peg$e34);
4040
+ peg$fail(peg$e33);
4079
4041
  }
4080
4042
  }
4081
4043
  }
4082
4044
  }
4083
4045
  return s0;
4084
4046
  }
4047
+ function peg$parseMediaTextTags() {
4048
+ var s0;
4049
+ if (input.substr(peg$currPos, 3) === peg$c30) {
4050
+ s0 = peg$c30;
4051
+ peg$currPos += 3;
4052
+ }
4053
+ else {
4054
+ s0 = peg$FAILED;
4055
+ if (peg$silentFails === 0) {
4056
+ peg$fail(peg$e34);
4057
+ }
4058
+ }
4059
+ if (s0 === peg$FAILED) {
4060
+ if (input.substr(peg$currPos, 7) === peg$c31) {
4061
+ s0 = peg$c31;
4062
+ peg$currPos += 7;
4063
+ }
4064
+ else {
4065
+ s0 = peg$FAILED;
4066
+ if (peg$silentFails === 0) {
4067
+ peg$fail(peg$e35);
4068
+ }
4069
+ }
4070
+ }
4071
+ return s0;
4072
+ }
4073
+ function peg$parseMediaBooleanTags() {
4074
+ var s0;
4075
+ if (input.substr(peg$currPos, 12) === peg$c32) {
4076
+ s0 = peg$c32;
4077
+ peg$currPos += 12;
4078
+ }
4079
+ else {
4080
+ s0 = peg$FAILED;
4081
+ if (peg$silentFails === 0) {
4082
+ peg$fail(peg$e36);
4083
+ }
4084
+ }
4085
+ return s0;
4086
+ }
4087
+ function peg$parseBoolean() {
4088
+ var s0;
4089
+ if (input.substr(peg$currPos, 4) === peg$c33) {
4090
+ s0 = peg$c33;
4091
+ peg$currPos += 4;
4092
+ }
4093
+ else {
4094
+ s0 = peg$FAILED;
4095
+ if (peg$silentFails === 0) {
4096
+ peg$fail(peg$e37);
4097
+ }
4098
+ }
4099
+ if (s0 === peg$FAILED) {
4100
+ if (input.substr(peg$currPos, 5) === peg$c34) {
4101
+ s0 = peg$c34;
4102
+ peg$currPos += 5;
4103
+ }
4104
+ else {
4105
+ s0 = peg$FAILED;
4106
+ if (peg$silentFails === 0) {
4107
+ peg$fail(peg$e38);
4108
+ }
4109
+ }
4110
+ }
4111
+ return s0;
4112
+ }
4085
4113
  function peg$parsebitmarkPlus() {
4086
4114
  var s0, s1;
4087
4115
  peg$silentFails++;
4088
4116
  s0 = peg$currPos;
4089
4117
  s1 = peg$parseInlineTags();
4090
4118
  peg$savedPos = s0;
4091
- s1 = peg$f49(s1);
4119
+ s1 = peg$f51(s1);
4092
4120
  s0 = s1;
4093
4121
  peg$silentFails--;
4094
4122
  s1 = peg$FAILED;
@@ -4104,7 +4132,7 @@ function peg$parse(input, options) {
4104
4132
  peg$silentFails--;
4105
4133
  s1 = peg$FAILED;
4106
4134
  if (peg$silentFails === 0) {
4107
- peg$fail(peg$e35);
4135
+ peg$fail(peg$e39);
4108
4136
  }
4109
4137
  return s0;
4110
4138
  }
@@ -4128,7 +4156,7 @@ function peg$parse(input, options) {
4128
4156
  }
4129
4157
  }
4130
4158
  peg$savedPos = s0;
4131
- s0 = peg$f50(s1, s2);
4159
+ s0 = peg$f52(s1, s2);
4132
4160
  return s0;
4133
4161
  }
4134
4162
  function peg$parseInlinePlainText() {
@@ -4137,7 +4165,7 @@ function peg$parse(input, options) {
4137
4165
  s1 = peg$parseNL();
4138
4166
  if (s1 !== peg$FAILED) {
4139
4167
  peg$savedPos = s0;
4140
- s1 = peg$f51();
4168
+ s1 = peg$f53();
4141
4169
  }
4142
4170
  s0 = s1;
4143
4171
  if (s0 === peg$FAILED) {
@@ -4280,7 +4308,7 @@ function peg$parse(input, options) {
4280
4308
  }
4281
4309
  if (s1 !== peg$FAILED) {
4282
4310
  peg$savedPos = s0;
4283
- s1 = peg$f52(s1);
4311
+ s1 = peg$f54(s1);
4284
4312
  }
4285
4313
  s0 = s1;
4286
4314
  }
@@ -4289,13 +4317,13 @@ function peg$parse(input, options) {
4289
4317
  function peg$parseInlineHalfTag() {
4290
4318
  var s0;
4291
4319
  if (input.charCodeAt(peg$currPos) === 61) {
4292
- s0 = peg$c30;
4320
+ s0 = peg$c35;
4293
4321
  peg$currPos++;
4294
4322
  }
4295
4323
  else {
4296
4324
  s0 = peg$FAILED;
4297
4325
  if (peg$silentFails === 0) {
4298
- peg$fail(peg$e36);
4326
+ peg$fail(peg$e40);
4299
4327
  }
4300
4328
  }
4301
4329
  return s0;
@@ -4366,7 +4394,7 @@ function peg$parse(input, options) {
4366
4394
  s3 = peg$parseBodyBitCloseTag();
4367
4395
  if (s3 !== peg$FAILED) {
4368
4396
  peg$savedPos = s0;
4369
- s0 = peg$f53(s2);
4397
+ s0 = peg$f55(s2);
4370
4398
  }
4371
4399
  else {
4372
4400
  peg$currPos = s0;
@@ -4466,19 +4494,19 @@ function peg$parse(input, options) {
4466
4494
  s2 = input.substring(s2, peg$currPos);
4467
4495
  s3 = peg$parseInlineTag();
4468
4496
  if (s3 !== peg$FAILED) {
4469
- if (input.substr(peg$currPos, 7) === peg$c31) {
4470
- s4 = peg$c31;
4497
+ if (input.substr(peg$currPos, 7) === peg$c36) {
4498
+ s4 = peg$c36;
4471
4499
  peg$currPos += 7;
4472
4500
  }
4473
4501
  else {
4474
4502
  s4 = peg$FAILED;
4475
4503
  if (peg$silentFails === 0) {
4476
- peg$fail(peg$e37);
4504
+ peg$fail(peg$e41);
4477
4505
  }
4478
4506
  }
4479
4507
  if (s4 !== peg$FAILED) {
4480
4508
  peg$savedPos = s0;
4481
- s0 = peg$f54(s2);
4509
+ s0 = peg$f56(s2);
4482
4510
  }
4483
4511
  else {
4484
4512
  peg$currPos = s0;
@@ -4578,14 +4606,14 @@ function peg$parse(input, options) {
4578
4606
  s2 = input.substring(s2, peg$currPos);
4579
4607
  s3 = peg$parseInlineTag();
4580
4608
  if (s3 !== peg$FAILED) {
4581
- if (input.substr(peg$currPos, 13) === peg$c32) {
4582
- s4 = peg$c32;
4609
+ if (input.substr(peg$currPos, 13) === peg$c37) {
4610
+ s4 = peg$c37;
4583
4611
  peg$currPos += 13;
4584
4612
  }
4585
4613
  else {
4586
4614
  s4 = peg$FAILED;
4587
4615
  if (peg$silentFails === 0) {
4588
- peg$fail(peg$e38);
4616
+ peg$fail(peg$e42);
4589
4617
  }
4590
4618
  }
4591
4619
  if (s4 !== peg$FAILED) {
@@ -4604,7 +4632,7 @@ function peg$parse(input, options) {
4604
4632
  if (s6 !== peg$FAILED) {
4605
4633
  s7 = peg$parseInlineMediaChain();
4606
4634
  peg$savedPos = s0;
4607
- s0 = peg$f55(s2, s5, s7);
4635
+ s0 = peg$f57(s2, s5, s7);
4608
4636
  }
4609
4637
  else {
4610
4638
  peg$currPos = s0;
@@ -4717,7 +4745,7 @@ function peg$parse(input, options) {
4717
4745
  s4 = peg$parseAttrChain();
4718
4746
  if (s4 !== peg$FAILED) {
4719
4747
  peg$savedPos = s0;
4720
- s0 = peg$f56(s2, s4);
4748
+ s0 = peg$f58(s2, s4);
4721
4749
  }
4722
4750
  else {
4723
4751
  peg$currPos = s0;
@@ -4818,7 +4846,7 @@ function peg$parse(input, options) {
4818
4846
  s3 = peg$parseBoldTag();
4819
4847
  if (s3 !== peg$FAILED) {
4820
4848
  peg$savedPos = s0;
4821
- s0 = peg$f57(s2);
4849
+ s0 = peg$f59(s2);
4822
4850
  }
4823
4851
  else {
4824
4852
  peg$currPos = s0;
@@ -4914,7 +4942,7 @@ function peg$parse(input, options) {
4914
4942
  s3 = peg$parseItalicTag();
4915
4943
  if (s3 !== peg$FAILED) {
4916
4944
  peg$savedPos = s0;
4917
- s0 = peg$f58(s2);
4945
+ s0 = peg$f60(s2);
4918
4946
  }
4919
4947
  else {
4920
4948
  peg$currPos = s0;
@@ -5010,7 +5038,7 @@ function peg$parse(input, options) {
5010
5038
  s3 = peg$parseLightTag();
5011
5039
  if (s3 !== peg$FAILED) {
5012
5040
  peg$savedPos = s0;
5013
- s0 = peg$f59(s2);
5041
+ s0 = peg$f61(s2);
5014
5042
  }
5015
5043
  else {
5016
5044
  peg$currPos = s0;
@@ -5106,7 +5134,7 @@ function peg$parse(input, options) {
5106
5134
  s3 = peg$parseHighlightTag();
5107
5135
  if (s3 !== peg$FAILED) {
5108
5136
  peg$savedPos = s0;
5109
- s0 = peg$f60(s2);
5137
+ s0 = peg$f62(s2);
5110
5138
  }
5111
5139
  else {
5112
5140
  peg$currPos = s0;
@@ -5122,7 +5150,7 @@ function peg$parse(input, options) {
5122
5150
  s1 = peg$parseUrl();
5123
5151
  if (s1 !== peg$FAILED) {
5124
5152
  peg$savedPos = s0;
5125
- s1 = peg$f61(s1);
5153
+ s1 = peg$f63(s1);
5126
5154
  }
5127
5155
  s0 = s1;
5128
5156
  }
@@ -5272,7 +5300,7 @@ function peg$parse(input, options) {
5272
5300
  }
5273
5301
  if (s2 !== peg$FAILED) {
5274
5302
  peg$savedPos = s0;
5275
- s0 = peg$f62(s2);
5303
+ s0 = peg$f64(s2);
5276
5304
  }
5277
5305
  else {
5278
5306
  peg$currPos = s0;
@@ -5295,7 +5323,7 @@ function peg$parse(input, options) {
5295
5323
  s2 = peg$parseInlineMediaChainItem();
5296
5324
  }
5297
5325
  peg$savedPos = s0;
5298
- s1 = peg$f63(s1);
5326
+ s1 = peg$f65(s1);
5299
5327
  s0 = s1;
5300
5328
  return s0;
5301
5329
  }
@@ -5376,7 +5404,7 @@ function peg$parse(input, options) {
5376
5404
  s3 = peg$parseBlockTag();
5377
5405
  if (s3 !== peg$FAILED) {
5378
5406
  peg$savedPos = s0;
5379
- s0 = peg$f64(s2);
5407
+ s0 = peg$f66(s2);
5380
5408
  }
5381
5409
  else {
5382
5410
  peg$currPos = s0;
@@ -5531,7 +5559,7 @@ function peg$parse(input, options) {
5531
5559
  s6 = peg$parseBlockTag();
5532
5560
  if (s6 !== peg$FAILED) {
5533
5561
  peg$savedPos = s0;
5534
- s0 = peg$f65(s2, s5);
5562
+ s0 = peg$f67(s2, s5);
5535
5563
  }
5536
5564
  else {
5537
5565
  peg$currPos = s0;
@@ -5667,7 +5695,7 @@ function peg$parse(input, options) {
5667
5695
  s6 = peg$parseBlockTag();
5668
5696
  if (s6 !== peg$FAILED) {
5669
5697
  peg$savedPos = s0;
5670
- s0 = peg$f66(s2, s5);
5698
+ s0 = peg$f68(s2, s5);
5671
5699
  }
5672
5700
  else {
5673
5701
  peg$currPos = s0;
@@ -5698,14 +5726,14 @@ function peg$parse(input, options) {
5698
5726
  if (s1 === peg$FAILED) {
5699
5727
  s1 = null;
5700
5728
  }
5701
- if (input.substr(peg$currPos, 17) === peg$c33) {
5702
- s2 = peg$c33;
5729
+ if (input.substr(peg$currPos, 17) === peg$c38) {
5730
+ s2 = peg$c38;
5703
5731
  peg$currPos += 17;
5704
5732
  }
5705
5733
  else {
5706
5734
  s2 = peg$FAILED;
5707
5735
  if (peg$silentFails === 0) {
5708
- peg$fail(peg$e39);
5736
+ peg$fail(peg$e43);
5709
5737
  }
5710
5738
  }
5711
5739
  if (s2 !== peg$FAILED) {
@@ -5749,7 +5777,7 @@ function peg$parse(input, options) {
5749
5777
  s6 = peg$parseBlockTag();
5750
5778
  if (s6 !== peg$FAILED) {
5751
5779
  peg$savedPos = s0;
5752
- s0 = peg$f67(s2, s5);
5780
+ s0 = peg$f69(s2, s5);
5753
5781
  }
5754
5782
  else {
5755
5783
  peg$currPos = s0;
@@ -5785,14 +5813,14 @@ function peg$parse(input, options) {
5785
5813
  if (s1 === peg$FAILED) {
5786
5814
  s1 = null;
5787
5815
  }
5788
- if (input.substr(peg$currPos, 4) === peg$c34) {
5789
- s2 = peg$c34;
5816
+ if (input.substr(peg$currPos, 4) === peg$c39) {
5817
+ s2 = peg$c39;
5790
5818
  peg$currPos += 4;
5791
5819
  }
5792
5820
  else {
5793
5821
  s2 = peg$FAILED;
5794
5822
  if (peg$silentFails === 0) {
5795
- peg$fail(peg$e40);
5823
+ peg$fail(peg$e44);
5796
5824
  }
5797
5825
  }
5798
5826
  if (s2 !== peg$FAILED) {
@@ -5836,7 +5864,7 @@ function peg$parse(input, options) {
5836
5864
  s6 = peg$parseBlockTag();
5837
5865
  if (s6 !== peg$FAILED) {
5838
5866
  peg$savedPos = s0;
5839
- s0 = peg$f68(s2, s5);
5867
+ s0 = peg$f70(s2, s5);
5840
5868
  }
5841
5869
  else {
5842
5870
  peg$currPos = s0;
@@ -5865,91 +5893,91 @@ function peg$parse(input, options) {
5865
5893
  }
5866
5894
  function peg$parseInlineMediaAlignment() {
5867
5895
  var s0;
5868
- if (input.substr(peg$currPos, 3) === peg$c35) {
5869
- s0 = peg$c35;
5896
+ if (input.substr(peg$currPos, 3) === peg$c40) {
5897
+ s0 = peg$c40;
5870
5898
  peg$currPos += 3;
5871
5899
  }
5872
5900
  else {
5873
5901
  s0 = peg$FAILED;
5874
5902
  if (peg$silentFails === 0) {
5875
- peg$fail(peg$e41);
5903
+ peg$fail(peg$e45);
5876
5904
  }
5877
5905
  }
5878
5906
  if (s0 === peg$FAILED) {
5879
- if (input.substr(peg$currPos, 6) === peg$c36) {
5880
- s0 = peg$c36;
5907
+ if (input.substr(peg$currPos, 6) === peg$c41) {
5908
+ s0 = peg$c41;
5881
5909
  peg$currPos += 6;
5882
5910
  }
5883
5911
  else {
5884
5912
  s0 = peg$FAILED;
5885
5913
  if (peg$silentFails === 0) {
5886
- peg$fail(peg$e42);
5914
+ peg$fail(peg$e46);
5887
5915
  }
5888
5916
  }
5889
5917
  if (s0 === peg$FAILED) {
5890
- if (input.substr(peg$currPos, 6) === peg$c37) {
5891
- s0 = peg$c37;
5918
+ if (input.substr(peg$currPos, 6) === peg$c42) {
5919
+ s0 = peg$c42;
5892
5920
  peg$currPos += 6;
5893
5921
  }
5894
5922
  else {
5895
5923
  s0 = peg$FAILED;
5896
5924
  if (peg$silentFails === 0) {
5897
- peg$fail(peg$e43);
5925
+ peg$fail(peg$e47);
5898
5926
  }
5899
5927
  }
5900
5928
  if (s0 === peg$FAILED) {
5901
- if (input.substr(peg$currPos, 8) === peg$c38) {
5902
- s0 = peg$c38;
5929
+ if (input.substr(peg$currPos, 8) === peg$c43) {
5930
+ s0 = peg$c43;
5903
5931
  peg$currPos += 8;
5904
5932
  }
5905
5933
  else {
5906
5934
  s0 = peg$FAILED;
5907
5935
  if (peg$silentFails === 0) {
5908
- peg$fail(peg$e44);
5936
+ peg$fail(peg$e48);
5909
5937
  }
5910
5938
  }
5911
5939
  if (s0 === peg$FAILED) {
5912
- if (input.substr(peg$currPos, 3) === peg$c39) {
5913
- s0 = peg$c39;
5940
+ if (input.substr(peg$currPos, 3) === peg$c44) {
5941
+ s0 = peg$c44;
5914
5942
  peg$currPos += 3;
5915
5943
  }
5916
5944
  else {
5917
5945
  s0 = peg$FAILED;
5918
5946
  if (peg$silentFails === 0) {
5919
- peg$fail(peg$e45);
5947
+ peg$fail(peg$e49);
5920
5948
  }
5921
5949
  }
5922
5950
  if (s0 === peg$FAILED) {
5923
- if (input.substr(peg$currPos, 5) === peg$c40) {
5924
- s0 = peg$c40;
5951
+ if (input.substr(peg$currPos, 5) === peg$c45) {
5952
+ s0 = peg$c45;
5925
5953
  peg$currPos += 5;
5926
5954
  }
5927
5955
  else {
5928
5956
  s0 = peg$FAILED;
5929
5957
  if (peg$silentFails === 0) {
5930
- peg$fail(peg$e46);
5958
+ peg$fail(peg$e50);
5931
5959
  }
5932
5960
  }
5933
5961
  if (s0 === peg$FAILED) {
5934
- if (input.substr(peg$currPos, 11) === peg$c41) {
5935
- s0 = peg$c41;
5962
+ if (input.substr(peg$currPos, 11) === peg$c46) {
5963
+ s0 = peg$c46;
5936
5964
  peg$currPos += 11;
5937
5965
  }
5938
5966
  else {
5939
5967
  s0 = peg$FAILED;
5940
5968
  if (peg$silentFails === 0) {
5941
- peg$fail(peg$e47);
5969
+ peg$fail(peg$e51);
5942
5970
  }
5943
5971
  }
5944
5972
  if (s0 === peg$FAILED) {
5945
- if (input.substr(peg$currPos, 8) === peg$c42) {
5946
- s0 = peg$c42;
5973
+ if (input.substr(peg$currPos, 8) === peg$c47) {
5974
+ s0 = peg$c47;
5947
5975
  peg$currPos += 8;
5948
5976
  }
5949
5977
  else {
5950
5978
  s0 = peg$FAILED;
5951
5979
  if (peg$silentFails === 0) {
5952
- peg$fail(peg$e48);
5980
+ peg$fail(peg$e52);
5953
5981
  }
5954
5982
  }
5955
5983
  }
@@ -5963,58 +5991,58 @@ function peg$parse(input, options) {
5963
5991
  }
5964
5992
  function peg$parseInlineMediaSize() {
5965
5993
  var s0;
5966
- if (input.substr(peg$currPos, 11) === peg$c43) {
5967
- s0 = peg$c43;
5994
+ if (input.substr(peg$currPos, 11) === peg$c48) {
5995
+ s0 = peg$c48;
5968
5996
  peg$currPos += 11;
5969
5997
  }
5970
5998
  else {
5971
5999
  s0 = peg$FAILED;
5972
6000
  if (peg$silentFails === 0) {
5973
- peg$fail(peg$e49);
6001
+ peg$fail(peg$e53);
5974
6002
  }
5975
6003
  }
5976
6004
  if (s0 === peg$FAILED) {
5977
- if (input.substr(peg$currPos, 11) === peg$c44) {
5978
- s0 = peg$c44;
6005
+ if (input.substr(peg$currPos, 11) === peg$c49) {
6006
+ s0 = peg$c49;
5979
6007
  peg$currPos += 11;
5980
6008
  }
5981
6009
  else {
5982
6010
  s0 = peg$FAILED;
5983
6011
  if (peg$silentFails === 0) {
5984
- peg$fail(peg$e50);
6012
+ peg$fail(peg$e54);
5985
6013
  }
5986
6014
  }
5987
6015
  if (s0 === peg$FAILED) {
5988
- if (input.substr(peg$currPos, 5) === peg$c40) {
5989
- s0 = peg$c40;
6016
+ if (input.substr(peg$currPos, 5) === peg$c45) {
6017
+ s0 = peg$c45;
5990
6018
  peg$currPos += 5;
5991
6019
  }
5992
6020
  else {
5993
6021
  s0 = peg$FAILED;
5994
6022
  if (peg$silentFails === 0) {
5995
- peg$fail(peg$e46);
6023
+ peg$fail(peg$e50);
5996
6024
  }
5997
6025
  }
5998
6026
  if (s0 === peg$FAILED) {
5999
- if (input.substr(peg$currPos, 3) === peg$c39) {
6000
- s0 = peg$c39;
6027
+ if (input.substr(peg$currPos, 3) === peg$c44) {
6028
+ s0 = peg$c44;
6001
6029
  peg$currPos += 3;
6002
6030
  }
6003
6031
  else {
6004
6032
  s0 = peg$FAILED;
6005
6033
  if (peg$silentFails === 0) {
6006
- peg$fail(peg$e45);
6034
+ peg$fail(peg$e49);
6007
6035
  }
6008
6036
  }
6009
6037
  if (s0 === peg$FAILED) {
6010
- if (input.substr(peg$currPos, 8) === peg$c45) {
6011
- s0 = peg$c45;
6038
+ if (input.substr(peg$currPos, 8) === peg$c50) {
6039
+ s0 = peg$c50;
6012
6040
  peg$currPos += 8;
6013
6041
  }
6014
6042
  else {
6015
6043
  s0 = peg$FAILED;
6016
6044
  if (peg$silentFails === 0) {
6017
- peg$fail(peg$e51);
6045
+ peg$fail(peg$e55);
6018
6046
  }
6019
6047
  }
6020
6048
  }
@@ -6026,14 +6054,14 @@ function peg$parse(input, options) {
6026
6054
  function peg$parseAttrChainItem() {
6027
6055
  var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
6028
6056
  s0 = peg$currPos;
6029
- if (input.substr(peg$currPos, 5) === peg$c46) {
6030
- s1 = peg$c46;
6057
+ if (input.substr(peg$currPos, 5) === peg$c51) {
6058
+ s1 = peg$c51;
6031
6059
  peg$currPos += 5;
6032
6060
  }
6033
6061
  else {
6034
6062
  s1 = peg$FAILED;
6035
6063
  if (peg$silentFails === 0) {
6036
- peg$fail(peg$e52);
6064
+ peg$fail(peg$e56);
6037
6065
  }
6038
6066
  }
6039
6067
  if (s1 !== peg$FAILED) {
@@ -6100,7 +6128,7 @@ function peg$parse(input, options) {
6100
6128
  s3 = peg$parseBlockTag();
6101
6129
  if (s3 !== peg$FAILED) {
6102
6130
  peg$savedPos = s0;
6103
- s0 = peg$f69(s2);
6131
+ s0 = peg$f71(s2);
6104
6132
  }
6105
6133
  else {
6106
6134
  peg$currPos = s0;
@@ -6113,14 +6141,14 @@ function peg$parse(input, options) {
6113
6141
  }
6114
6142
  if (s0 === peg$FAILED) {
6115
6143
  s0 = peg$currPos;
6116
- if (input.substr(peg$currPos, 7) === peg$c47) {
6117
- s1 = peg$c47;
6144
+ if (input.substr(peg$currPos, 7) === peg$c52) {
6145
+ s1 = peg$c52;
6118
6146
  peg$currPos += 7;
6119
6147
  }
6120
6148
  else {
6121
6149
  s1 = peg$FAILED;
6122
6150
  if (peg$silentFails === 0) {
6123
- peg$fail(peg$e53);
6151
+ peg$fail(peg$e57);
6124
6152
  }
6125
6153
  }
6126
6154
  if (s1 !== peg$FAILED) {
@@ -6187,14 +6215,14 @@ function peg$parse(input, options) {
6187
6215
  s3 = peg$parseRefsChain();
6188
6216
  s4 = peg$parseBlockTag();
6189
6217
  if (s4 !== peg$FAILED) {
6190
- if (input.substr(peg$currPos, 9) === peg$c48) {
6191
- s5 = peg$c48;
6218
+ if (input.substr(peg$currPos, 9) === peg$c53) {
6219
+ s5 = peg$c53;
6192
6220
  peg$currPos += 9;
6193
6221
  }
6194
6222
  else {
6195
6223
  s5 = peg$FAILED;
6196
6224
  if (peg$silentFails === 0) {
6197
- peg$fail(peg$e54);
6225
+ peg$fail(peg$e58);
6198
6226
  }
6199
6227
  }
6200
6228
  if (s5 !== peg$FAILED) {
@@ -6261,7 +6289,7 @@ function peg$parse(input, options) {
6261
6289
  s7 = peg$parseBlockTag();
6262
6290
  if (s7 !== peg$FAILED) {
6263
6291
  peg$savedPos = s0;
6264
- s0 = peg$f70(s2, s3, s6);
6292
+ s0 = peg$f72(s2, s3, s6);
6265
6293
  }
6266
6294
  else {
6267
6295
  peg$currPos = s0;
@@ -6284,14 +6312,14 @@ function peg$parse(input, options) {
6284
6312
  }
6285
6313
  if (s0 === peg$FAILED) {
6286
6314
  s0 = peg$currPos;
6287
- if (input.substr(peg$currPos, 5) === peg$c49) {
6288
- s1 = peg$c49;
6315
+ if (input.substr(peg$currPos, 5) === peg$c54) {
6316
+ s1 = peg$c54;
6289
6317
  peg$currPos += 5;
6290
6318
  }
6291
6319
  else {
6292
6320
  s1 = peg$FAILED;
6293
6321
  if (peg$silentFails === 0) {
6294
- peg$fail(peg$e55);
6322
+ peg$fail(peg$e59);
6295
6323
  }
6296
6324
  }
6297
6325
  if (s1 !== peg$FAILED) {
@@ -6358,13 +6386,13 @@ function peg$parse(input, options) {
6358
6386
  s3 = peg$parseBlockTag();
6359
6387
  if (s3 !== peg$FAILED) {
6360
6388
  if (input.charCodeAt(peg$currPos) === 9658) {
6361
- s4 = peg$c50;
6389
+ s4 = peg$c55;
6362
6390
  peg$currPos++;
6363
6391
  }
6364
6392
  else {
6365
6393
  s4 = peg$FAILED;
6366
6394
  if (peg$silentFails === 0) {
6367
- peg$fail(peg$e56);
6395
+ peg$fail(peg$e60);
6368
6396
  }
6369
6397
  }
6370
6398
  if (s4 !== peg$FAILED) {
@@ -6431,7 +6459,7 @@ function peg$parse(input, options) {
6431
6459
  s6 = peg$parseBlockTag();
6432
6460
  if (s6 !== peg$FAILED) {
6433
6461
  peg$savedPos = s0;
6434
- s0 = peg$f71(s2, s5);
6462
+ s0 = peg$f73(s2, s5);
6435
6463
  }
6436
6464
  else {
6437
6465
  peg$currPos = s0;
@@ -6454,14 +6482,14 @@ function peg$parse(input, options) {
6454
6482
  }
6455
6483
  if (s0 === peg$FAILED) {
6456
6484
  s0 = peg$currPos;
6457
- if (input.substr(peg$currPos, 5) === peg$c49) {
6458
- s1 = peg$c49;
6485
+ if (input.substr(peg$currPos, 5) === peg$c54) {
6486
+ s1 = peg$c54;
6459
6487
  peg$currPos += 5;
6460
6488
  }
6461
6489
  else {
6462
6490
  s1 = peg$FAILED;
6463
6491
  if (peg$silentFails === 0) {
6464
- peg$fail(peg$e55);
6492
+ peg$fail(peg$e59);
6465
6493
  }
6466
6494
  }
6467
6495
  if (s1 !== peg$FAILED) {
@@ -6528,7 +6556,7 @@ function peg$parse(input, options) {
6528
6556
  s3 = peg$parseBlockTag();
6529
6557
  if (s3 !== peg$FAILED) {
6530
6558
  peg$savedPos = s0;
6531
- s0 = peg$f72(s2);
6559
+ s0 = peg$f74(s2);
6532
6560
  }
6533
6561
  else {
6534
6562
  peg$currPos = s0;
@@ -6542,13 +6570,13 @@ function peg$parse(input, options) {
6542
6570
  if (s0 === peg$FAILED) {
6543
6571
  s0 = peg$currPos;
6544
6572
  if (input.charCodeAt(peg$currPos) === 9658) {
6545
- s1 = peg$c50;
6573
+ s1 = peg$c55;
6546
6574
  peg$currPos++;
6547
6575
  }
6548
6576
  else {
6549
6577
  s1 = peg$FAILED;
6550
6578
  if (peg$silentFails === 0) {
6551
- peg$fail(peg$e56);
6579
+ peg$fail(peg$e60);
6552
6580
  }
6553
6581
  }
6554
6582
  if (s1 !== peg$FAILED) {
@@ -6615,7 +6643,7 @@ function peg$parse(input, options) {
6615
6643
  s3 = peg$parseBlockTag();
6616
6644
  if (s3 !== peg$FAILED) {
6617
6645
  peg$savedPos = s0;
6618
- s0 = peg$f73(s2);
6646
+ s0 = peg$f75(s2);
6619
6647
  }
6620
6648
  else {
6621
6649
  peg$currPos = s0;
@@ -6628,14 +6656,14 @@ function peg$parse(input, options) {
6628
6656
  }
6629
6657
  if (s0 === peg$FAILED) {
6630
6658
  s0 = peg$currPos;
6631
- if (input.substr(peg$currPos, 7) === peg$c51) {
6632
- s1 = peg$c51;
6659
+ if (input.substr(peg$currPos, 7) === peg$c56) {
6660
+ s1 = peg$c56;
6633
6661
  peg$currPos += 7;
6634
6662
  }
6635
6663
  else {
6636
6664
  s1 = peg$FAILED;
6637
6665
  if (peg$silentFails === 0) {
6638
- peg$fail(peg$e57);
6666
+ peg$fail(peg$e61);
6639
6667
  }
6640
6668
  }
6641
6669
  if (s1 !== peg$FAILED) {
@@ -6703,7 +6731,7 @@ function peg$parse(input, options) {
6703
6731
  if (s3 !== peg$FAILED) {
6704
6732
  s4 = peg$parseMediaChain();
6705
6733
  peg$savedPos = s0;
6706
- s0 = peg$f74(s2, s4);
6734
+ s0 = peg$f76(s2, s4);
6707
6735
  }
6708
6736
  else {
6709
6737
  peg$currPos = s0;
@@ -6716,14 +6744,14 @@ function peg$parse(input, options) {
6716
6744
  }
6717
6745
  if (s0 === peg$FAILED) {
6718
6746
  s0 = peg$currPos;
6719
- if (input.substr(peg$currPos, 9) === peg$c52) {
6720
- s1 = peg$c52;
6747
+ if (input.substr(peg$currPos, 9) === peg$c57) {
6748
+ s1 = peg$c57;
6721
6749
  peg$currPos += 9;
6722
6750
  }
6723
6751
  else {
6724
6752
  s1 = peg$FAILED;
6725
6753
  if (peg$silentFails === 0) {
6726
- peg$fail(peg$e58);
6754
+ peg$fail(peg$e62);
6727
6755
  }
6728
6756
  }
6729
6757
  if (s1 !== peg$FAILED) {
@@ -6790,7 +6818,7 @@ function peg$parse(input, options) {
6790
6818
  s3 = peg$parseBlockTag();
6791
6819
  if (s3 !== peg$FAILED) {
6792
6820
  peg$savedPos = s0;
6793
- s0 = peg$f75(s2);
6821
+ s0 = peg$f77(s2);
6794
6822
  }
6795
6823
  else {
6796
6824
  peg$currPos = s0;
@@ -6803,14 +6831,14 @@ function peg$parse(input, options) {
6803
6831
  }
6804
6832
  if (s0 === peg$FAILED) {
6805
6833
  s0 = peg$currPos;
6806
- if (input.substr(peg$currPos, 10) === peg$c53) {
6807
- s1 = peg$c53;
6834
+ if (input.substr(peg$currPos, 10) === peg$c58) {
6835
+ s1 = peg$c58;
6808
6836
  peg$currPos += 10;
6809
6837
  }
6810
6838
  else {
6811
6839
  s1 = peg$FAILED;
6812
6840
  if (peg$silentFails === 0) {
6813
- peg$fail(peg$e59);
6841
+ peg$fail(peg$e63);
6814
6842
  }
6815
6843
  }
6816
6844
  if (s1 !== peg$FAILED) {
@@ -6877,7 +6905,7 @@ function peg$parse(input, options) {
6877
6905
  s3 = peg$parseBlockTag();
6878
6906
  if (s3 !== peg$FAILED) {
6879
6907
  peg$savedPos = s0;
6880
- s0 = peg$f76(s2);
6908
+ s0 = peg$f78(s2);
6881
6909
  }
6882
6910
  else {
6883
6911
  peg$currPos = s0;
@@ -6890,14 +6918,14 @@ function peg$parse(input, options) {
6890
6918
  }
6891
6919
  if (s0 === peg$FAILED) {
6892
6920
  s0 = peg$currPos;
6893
- if (input.substr(peg$currPos, 4) === peg$c54) {
6894
- s1 = peg$c54;
6921
+ if (input.substr(peg$currPos, 4) === peg$c59) {
6922
+ s1 = peg$c59;
6895
6923
  peg$currPos += 4;
6896
6924
  }
6897
6925
  else {
6898
6926
  s1 = peg$FAILED;
6899
6927
  if (peg$silentFails === 0) {
6900
- peg$fail(peg$e60);
6928
+ peg$fail(peg$e64);
6901
6929
  }
6902
6930
  }
6903
6931
  if (s1 !== peg$FAILED) {
@@ -6964,7 +6992,7 @@ function peg$parse(input, options) {
6964
6992
  s3 = peg$parseBlockTag();
6965
6993
  if (s3 !== peg$FAILED) {
6966
6994
  peg$savedPos = s0;
6967
- s0 = peg$f77(s2);
6995
+ s0 = peg$f79(s2);
6968
6996
  }
6969
6997
  else {
6970
6998
  peg$currPos = s0;
@@ -6991,7 +7019,7 @@ function peg$parse(input, options) {
6991
7019
  s2 = peg$parseBlockTag();
6992
7020
  if (s2 !== peg$FAILED) {
6993
7021
  peg$savedPos = s0;
6994
- s0 = peg$f78();
7022
+ s0 = peg$f80();
6995
7023
  }
6996
7024
  else {
6997
7025
  peg$currPos = s0;
@@ -7004,14 +7032,14 @@ function peg$parse(input, options) {
7004
7032
  }
7005
7033
  if (s0 === peg$FAILED) {
7006
7034
  s0 = peg$currPos;
7007
- if (input.substr(peg$currPos, 5) === peg$c55) {
7008
- s1 = peg$c55;
7035
+ if (input.substr(peg$currPos, 5) === peg$c60) {
7036
+ s1 = peg$c60;
7009
7037
  peg$currPos += 5;
7010
7038
  }
7011
7039
  else {
7012
7040
  s1 = peg$FAILED;
7013
7041
  if (peg$silentFails === 0) {
7014
- peg$fail(peg$e61);
7042
+ peg$fail(peg$e65);
7015
7043
  }
7016
7044
  }
7017
7045
  if (s1 !== peg$FAILED) {
@@ -7078,7 +7106,7 @@ function peg$parse(input, options) {
7078
7106
  s3 = peg$parseBlockTag();
7079
7107
  if (s3 !== peg$FAILED) {
7080
7108
  peg$savedPos = s0;
7081
- s0 = peg$f79(s2);
7109
+ s0 = peg$f81(s2);
7082
7110
  }
7083
7111
  else {
7084
7112
  peg$currPos = s0;
@@ -7091,21 +7119,21 @@ function peg$parse(input, options) {
7091
7119
  }
7092
7120
  if (s0 === peg$FAILED) {
7093
7121
  s0 = peg$currPos;
7094
- if (input.substr(peg$currPos, 5) === peg$c56) {
7095
- s1 = peg$c56;
7122
+ if (input.substr(peg$currPos, 5) === peg$c61) {
7123
+ s1 = peg$c61;
7096
7124
  peg$currPos += 5;
7097
7125
  }
7098
7126
  else {
7099
7127
  s1 = peg$FAILED;
7100
7128
  if (peg$silentFails === 0) {
7101
- peg$fail(peg$e62);
7129
+ peg$fail(peg$e66);
7102
7130
  }
7103
7131
  }
7104
7132
  if (s1 !== peg$FAILED) {
7105
7133
  s2 = peg$parseBlockTag();
7106
7134
  if (s2 !== peg$FAILED) {
7107
7135
  peg$savedPos = s0;
7108
- s0 = peg$f80();
7136
+ s0 = peg$f82();
7109
7137
  }
7110
7138
  else {
7111
7139
  peg$currPos = s0;
@@ -7118,14 +7146,14 @@ function peg$parse(input, options) {
7118
7146
  }
7119
7147
  if (s0 === peg$FAILED) {
7120
7148
  s0 = peg$currPos;
7121
- if (input.substr(peg$currPos, 6) === peg$c57) {
7122
- s1 = peg$c57;
7149
+ if (input.substr(peg$currPos, 6) === peg$c62) {
7150
+ s1 = peg$c62;
7123
7151
  peg$currPos += 6;
7124
7152
  }
7125
7153
  else {
7126
7154
  s1 = peg$FAILED;
7127
7155
  if (peg$silentFails === 0) {
7128
- peg$fail(peg$e63);
7156
+ peg$fail(peg$e67);
7129
7157
  }
7130
7158
  }
7131
7159
  if (s1 !== peg$FAILED) {
@@ -7192,7 +7220,7 @@ function peg$parse(input, options) {
7192
7220
  s3 = peg$parseBlockTag();
7193
7221
  if (s3 !== peg$FAILED) {
7194
7222
  peg$savedPos = s0;
7195
- s0 = peg$f81(s2);
7223
+ s0 = peg$f83(s2);
7196
7224
  }
7197
7225
  else {
7198
7226
  peg$currPos = s0;
@@ -7205,27 +7233,27 @@ function peg$parse(input, options) {
7205
7233
  }
7206
7234
  if (s0 === peg$FAILED) {
7207
7235
  s0 = peg$currPos;
7208
- if (input.substr(peg$currPos, 9) === peg$c58) {
7209
- s1 = peg$c58;
7236
+ if (input.substr(peg$currPos, 9) === peg$c63) {
7237
+ s1 = peg$c63;
7210
7238
  peg$currPos += 9;
7211
7239
  }
7212
7240
  else {
7213
7241
  s1 = peg$FAILED;
7214
7242
  if (peg$silentFails === 0) {
7215
- peg$fail(peg$e64);
7243
+ peg$fail(peg$e68);
7216
7244
  }
7217
7245
  }
7218
7246
  if (s1 !== peg$FAILED) {
7219
7247
  s2 = peg$currPos;
7220
7248
  s3 = peg$currPos;
7221
7249
  if (input.charCodeAt(peg$currPos) === 80) {
7222
- s4 = peg$c59;
7250
+ s4 = peg$c64;
7223
7251
  peg$currPos++;
7224
7252
  }
7225
7253
  else {
7226
7254
  s4 = peg$FAILED;
7227
7255
  if (peg$silentFails === 0) {
7228
- peg$fail(peg$e65);
7256
+ peg$fail(peg$e69);
7229
7257
  }
7230
7258
  }
7231
7259
  if (s4 !== peg$FAILED) {
@@ -7306,7 +7334,7 @@ function peg$parse(input, options) {
7306
7334
  s3 = peg$parseBlockTag();
7307
7335
  if (s3 !== peg$FAILED) {
7308
7336
  peg$savedPos = s0;
7309
- s0 = peg$f82(s2);
7337
+ s0 = peg$f84(s2);
7310
7338
  }
7311
7339
  else {
7312
7340
  peg$currPos = s0;
@@ -7324,14 +7352,14 @@ function peg$parse(input, options) {
7324
7352
  }
7325
7353
  if (s0 === peg$FAILED) {
7326
7354
  s0 = peg$currPos;
7327
- if (input.substr(peg$currPos, 6) === peg$c60) {
7328
- s1 = peg$c60;
7355
+ if (input.substr(peg$currPos, 6) === peg$c65) {
7356
+ s1 = peg$c65;
7329
7357
  peg$currPos += 6;
7330
7358
  }
7331
7359
  else {
7332
7360
  s1 = peg$FAILED;
7333
7361
  if (peg$silentFails === 0) {
7334
- peg$fail(peg$e66);
7362
+ peg$fail(peg$e70);
7335
7363
  }
7336
7364
  }
7337
7365
  if (s1 !== peg$FAILED) {
@@ -7340,7 +7368,7 @@ function peg$parse(input, options) {
7340
7368
  s3 = peg$parseBlockTag();
7341
7369
  if (s3 !== peg$FAILED) {
7342
7370
  peg$savedPos = s0;
7343
- s0 = peg$f83(s2);
7371
+ s0 = peg$f85(s2);
7344
7372
  }
7345
7373
  else {
7346
7374
  peg$currPos = s0;
@@ -7363,7 +7391,7 @@ function peg$parse(input, options) {
7363
7391
  s2 = peg$parseBlockTag();
7364
7392
  if (s2 !== peg$FAILED) {
7365
7393
  peg$savedPos = s0;
7366
- s0 = peg$f84(s1);
7394
+ s0 = peg$f86(s1);
7367
7395
  }
7368
7396
  else {
7369
7397
  peg$currPos = s0;
@@ -7450,7 +7478,7 @@ function peg$parse(input, options) {
7450
7478
  s3 = peg$parseBlockTag();
7451
7479
  if (s3 !== peg$FAILED) {
7452
7480
  peg$savedPos = s0;
7453
- s0 = peg$f85(s2);
7481
+ s0 = peg$f87(s2);
7454
7482
  }
7455
7483
  else {
7456
7484
  peg$currPos = s0;
@@ -7492,14 +7520,14 @@ function peg$parse(input, options) {
7492
7520
  function peg$parseRef() {
7493
7521
  var s0, s1, s2, s3, s4, s5, s6;
7494
7522
  s0 = peg$currPos;
7495
- if (input.substr(peg$currPos, 2) === peg$c61) {
7496
- s1 = peg$c61;
7523
+ if (input.substr(peg$currPos, 2) === peg$c66) {
7524
+ s1 = peg$c66;
7497
7525
  peg$currPos += 2;
7498
7526
  }
7499
7527
  else {
7500
7528
  s1 = peg$FAILED;
7501
7529
  if (peg$silentFails === 0) {
7502
- peg$fail(peg$e67);
7530
+ peg$fail(peg$e71);
7503
7531
  }
7504
7532
  }
7505
7533
  if (s1 !== peg$FAILED) {
@@ -7564,7 +7592,7 @@ function peg$parse(input, options) {
7564
7592
  }
7565
7593
  s2 = input.substring(s2, peg$currPos);
7566
7594
  peg$savedPos = s0;
7567
- s0 = peg$f86(s2);
7595
+ s0 = peg$f88(s2);
7568
7596
  }
7569
7597
  else {
7570
7598
  peg$currPos = s0;
@@ -7574,333 +7602,333 @@ function peg$parse(input, options) {
7574
7602
  }
7575
7603
  function peg$parseAlternativeStyleTags() {
7576
7604
  var s0;
7577
- if (input.substr(peg$currPos, 4) === peg$c62) {
7578
- s0 = peg$c62;
7605
+ if (input.substr(peg$currPos, 4) === peg$c67) {
7606
+ s0 = peg$c67;
7579
7607
  peg$currPos += 4;
7580
7608
  }
7581
7609
  else {
7582
7610
  s0 = peg$FAILED;
7583
7611
  if (peg$silentFails === 0) {
7584
- peg$fail(peg$e68);
7612
+ peg$fail(peg$e72);
7585
7613
  }
7586
7614
  }
7587
7615
  if (s0 === peg$FAILED) {
7588
- if (input.substr(peg$currPos, 6) === peg$c63) {
7589
- s0 = peg$c63;
7616
+ if (input.substr(peg$currPos, 6) === peg$c68) {
7617
+ s0 = peg$c68;
7590
7618
  peg$currPos += 6;
7591
7619
  }
7592
7620
  else {
7593
7621
  s0 = peg$FAILED;
7594
7622
  if (peg$silentFails === 0) {
7595
- peg$fail(peg$e69);
7623
+ peg$fail(peg$e73);
7596
7624
  }
7597
7625
  }
7598
7626
  if (s0 === peg$FAILED) {
7599
- if (input.substr(peg$currPos, 5) === peg$c64) {
7600
- s0 = peg$c64;
7627
+ if (input.substr(peg$currPos, 5) === peg$c69) {
7628
+ s0 = peg$c69;
7601
7629
  peg$currPos += 5;
7602
7630
  }
7603
7631
  else {
7604
7632
  s0 = peg$FAILED;
7605
7633
  if (peg$silentFails === 0) {
7606
- peg$fail(peg$e70);
7634
+ peg$fail(peg$e74);
7607
7635
  }
7608
7636
  }
7609
7637
  if (s0 === peg$FAILED) {
7610
- if (input.substr(peg$currPos, 9) === peg$c65) {
7611
- s0 = peg$c65;
7638
+ if (input.substr(peg$currPos, 9) === peg$c70) {
7639
+ s0 = peg$c70;
7612
7640
  peg$currPos += 9;
7613
7641
  }
7614
7642
  else {
7615
7643
  s0 = peg$FAILED;
7616
7644
  if (peg$silentFails === 0) {
7617
- peg$fail(peg$e71);
7645
+ peg$fail(peg$e75);
7618
7646
  }
7619
7647
  }
7620
7648
  if (s0 === peg$FAILED) {
7621
- if (input.substr(peg$currPos, 6) === peg$c66) {
7622
- s0 = peg$c66;
7649
+ if (input.substr(peg$currPos, 6) === peg$c71) {
7650
+ s0 = peg$c71;
7623
7651
  peg$currPos += 6;
7624
7652
  }
7625
7653
  else {
7626
7654
  s0 = peg$FAILED;
7627
7655
  if (peg$silentFails === 0) {
7628
- peg$fail(peg$e72);
7656
+ peg$fail(peg$e76);
7629
7657
  }
7630
7658
  }
7631
7659
  if (s0 === peg$FAILED) {
7632
- if (input.substr(peg$currPos, 9) === peg$c67) {
7633
- s0 = peg$c67;
7660
+ if (input.substr(peg$currPos, 9) === peg$c72) {
7661
+ s0 = peg$c72;
7634
7662
  peg$currPos += 9;
7635
7663
  }
7636
7664
  else {
7637
7665
  s0 = peg$FAILED;
7638
7666
  if (peg$silentFails === 0) {
7639
- peg$fail(peg$e73);
7667
+ peg$fail(peg$e77);
7640
7668
  }
7641
7669
  }
7642
7670
  if (s0 === peg$FAILED) {
7643
- if (input.substr(peg$currPos, 11) === peg$c68) {
7644
- s0 = peg$c68;
7671
+ if (input.substr(peg$currPos, 11) === peg$c73) {
7672
+ s0 = peg$c73;
7645
7673
  peg$currPos += 11;
7646
7674
  }
7647
7675
  else {
7648
7676
  s0 = peg$FAILED;
7649
7677
  if (peg$silentFails === 0) {
7650
- peg$fail(peg$e74);
7678
+ peg$fail(peg$e78);
7651
7679
  }
7652
7680
  }
7653
7681
  if (s0 === peg$FAILED) {
7654
- if (input.substr(peg$currPos, 3) === peg$c69) {
7655
- s0 = peg$c69;
7682
+ if (input.substr(peg$currPos, 3) === peg$c74) {
7683
+ s0 = peg$c74;
7656
7684
  peg$currPos += 3;
7657
7685
  }
7658
7686
  else {
7659
7687
  s0 = peg$FAILED;
7660
7688
  if (peg$silentFails === 0) {
7661
- peg$fail(peg$e75);
7689
+ peg$fail(peg$e79);
7662
7690
  }
7663
7691
  }
7664
7692
  if (s0 === peg$FAILED) {
7665
- if (input.substr(peg$currPos, 3) === peg$c70) {
7666
- s0 = peg$c70;
7693
+ if (input.substr(peg$currPos, 3) === peg$c75) {
7694
+ s0 = peg$c75;
7667
7695
  peg$currPos += 3;
7668
7696
  }
7669
7697
  else {
7670
7698
  s0 = peg$FAILED;
7671
7699
  if (peg$silentFails === 0) {
7672
- peg$fail(peg$e76);
7700
+ peg$fail(peg$e80);
7673
7701
  }
7674
7702
  }
7675
7703
  if (s0 === peg$FAILED) {
7676
- if (input.substr(peg$currPos, 9) === peg$c71) {
7677
- s0 = peg$c71;
7704
+ if (input.substr(peg$currPos, 9) === peg$c76) {
7705
+ s0 = peg$c76;
7678
7706
  peg$currPos += 9;
7679
7707
  }
7680
7708
  else {
7681
7709
  s0 = peg$FAILED;
7682
7710
  if (peg$silentFails === 0) {
7683
- peg$fail(peg$e77);
7711
+ peg$fail(peg$e81);
7684
7712
  }
7685
7713
  }
7686
7714
  if (s0 === peg$FAILED) {
7687
- if (input.substr(peg$currPos, 15) === peg$c72) {
7688
- s0 = peg$c72;
7715
+ if (input.substr(peg$currPos, 15) === peg$c77) {
7716
+ s0 = peg$c77;
7689
7717
  peg$currPos += 15;
7690
7718
  }
7691
7719
  else {
7692
7720
  s0 = peg$FAILED;
7693
7721
  if (peg$silentFails === 0) {
7694
- peg$fail(peg$e78);
7722
+ peg$fail(peg$e82);
7695
7723
  }
7696
7724
  }
7697
7725
  if (s0 === peg$FAILED) {
7698
- if (input.substr(peg$currPos, 6) === peg$c73) {
7699
- s0 = peg$c73;
7726
+ if (input.substr(peg$currPos, 6) === peg$c78) {
7727
+ s0 = peg$c78;
7700
7728
  peg$currPos += 6;
7701
7729
  }
7702
7730
  else {
7703
7731
  s0 = peg$FAILED;
7704
7732
  if (peg$silentFails === 0) {
7705
- peg$fail(peg$e79);
7733
+ peg$fail(peg$e83);
7706
7734
  }
7707
7735
  }
7708
7736
  if (s0 === peg$FAILED) {
7709
- if (input.substr(peg$currPos, 13) === peg$c74) {
7710
- s0 = peg$c74;
7737
+ if (input.substr(peg$currPos, 13) === peg$c79) {
7738
+ s0 = peg$c79;
7711
7739
  peg$currPos += 13;
7712
7740
  }
7713
7741
  else {
7714
7742
  s0 = peg$FAILED;
7715
7743
  if (peg$silentFails === 0) {
7716
- peg$fail(peg$e80);
7744
+ peg$fail(peg$e84);
7717
7745
  }
7718
7746
  }
7719
7747
  if (s0 === peg$FAILED) {
7720
- if (input.substr(peg$currPos, 16) === peg$c75) {
7721
- s0 = peg$c75;
7748
+ if (input.substr(peg$currPos, 16) === peg$c80) {
7749
+ s0 = peg$c80;
7722
7750
  peg$currPos += 16;
7723
7751
  }
7724
7752
  else {
7725
7753
  s0 = peg$FAILED;
7726
7754
  if (peg$silentFails === 0) {
7727
- peg$fail(peg$e81);
7755
+ peg$fail(peg$e85);
7728
7756
  }
7729
7757
  }
7730
7758
  if (s0 === peg$FAILED) {
7731
- if (input.substr(peg$currPos, 16) === peg$c76) {
7732
- s0 = peg$c76;
7759
+ if (input.substr(peg$currPos, 16) === peg$c81) {
7760
+ s0 = peg$c81;
7733
7761
  peg$currPos += 16;
7734
7762
  }
7735
7763
  else {
7736
7764
  s0 = peg$FAILED;
7737
7765
  if (peg$silentFails === 0) {
7738
- peg$fail(peg$e82);
7766
+ peg$fail(peg$e86);
7739
7767
  }
7740
7768
  }
7741
7769
  if (s0 === peg$FAILED) {
7742
- if (input.substr(peg$currPos, 15) === peg$c77) {
7743
- s0 = peg$c77;
7770
+ if (input.substr(peg$currPos, 15) === peg$c82) {
7771
+ s0 = peg$c82;
7744
7772
  peg$currPos += 15;
7745
7773
  }
7746
7774
  else {
7747
7775
  s0 = peg$FAILED;
7748
7776
  if (peg$silentFails === 0) {
7749
- peg$fail(peg$e83);
7777
+ peg$fail(peg$e87);
7750
7778
  }
7751
7779
  }
7752
7780
  if (s0 === peg$FAILED) {
7753
- if (input.substr(peg$currPos, 14) === peg$c78) {
7754
- s0 = peg$c78;
7781
+ if (input.substr(peg$currPos, 14) === peg$c83) {
7782
+ s0 = peg$c83;
7755
7783
  peg$currPos += 14;
7756
7784
  }
7757
7785
  else {
7758
7786
  s0 = peg$FAILED;
7759
7787
  if (peg$silentFails === 0) {
7760
- peg$fail(peg$e84);
7788
+ peg$fail(peg$e88);
7761
7789
  }
7762
7790
  }
7763
7791
  if (s0 === peg$FAILED) {
7764
- if (input.substr(peg$currPos, 16) === peg$c79) {
7765
- s0 = peg$c79;
7792
+ if (input.substr(peg$currPos, 16) === peg$c84) {
7793
+ s0 = peg$c84;
7766
7794
  peg$currPos += 16;
7767
7795
  }
7768
7796
  else {
7769
7797
  s0 = peg$FAILED;
7770
7798
  if (peg$silentFails === 0) {
7771
- peg$fail(peg$e85);
7799
+ peg$fail(peg$e89);
7772
7800
  }
7773
7801
  }
7774
7802
  if (s0 === peg$FAILED) {
7775
- if (input.substr(peg$currPos, 14) === peg$c80) {
7776
- s0 = peg$c80;
7803
+ if (input.substr(peg$currPos, 14) === peg$c85) {
7804
+ s0 = peg$c85;
7777
7805
  peg$currPos += 14;
7778
7806
  }
7779
7807
  else {
7780
7808
  s0 = peg$FAILED;
7781
7809
  if (peg$silentFails === 0) {
7782
- peg$fail(peg$e86);
7810
+ peg$fail(peg$e90);
7783
7811
  }
7784
7812
  }
7785
7813
  if (s0 === peg$FAILED) {
7786
- if (input.substr(peg$currPos, 15) === peg$c81) {
7787
- s0 = peg$c81;
7814
+ if (input.substr(peg$currPos, 15) === peg$c86) {
7815
+ s0 = peg$c86;
7788
7816
  peg$currPos += 15;
7789
7817
  }
7790
7818
  else {
7791
7819
  s0 = peg$FAILED;
7792
7820
  if (peg$silentFails === 0) {
7793
- peg$fail(peg$e87);
7821
+ peg$fail(peg$e91);
7794
7822
  }
7795
7823
  }
7796
7824
  if (s0 === peg$FAILED) {
7797
- if (input.substr(peg$currPos, 15) === peg$c82) {
7798
- s0 = peg$c82;
7825
+ if (input.substr(peg$currPos, 15) === peg$c87) {
7826
+ s0 = peg$c87;
7799
7827
  peg$currPos += 15;
7800
7828
  }
7801
7829
  else {
7802
7830
  s0 = peg$FAILED;
7803
7831
  if (peg$silentFails === 0) {
7804
- peg$fail(peg$e88);
7832
+ peg$fail(peg$e92);
7805
7833
  }
7806
7834
  }
7807
7835
  if (s0 === peg$FAILED) {
7808
- if (input.substr(peg$currPos, 15) === peg$c83) {
7809
- s0 = peg$c83;
7836
+ if (input.substr(peg$currPos, 15) === peg$c88) {
7837
+ s0 = peg$c88;
7810
7838
  peg$currPos += 15;
7811
7839
  }
7812
7840
  else {
7813
7841
  s0 = peg$FAILED;
7814
7842
  if (peg$silentFails === 0) {
7815
- peg$fail(peg$e89);
7843
+ peg$fail(peg$e93);
7816
7844
  }
7817
7845
  }
7818
7846
  if (s0 === peg$FAILED) {
7819
- if (input.substr(peg$currPos, 14) === peg$c84) {
7820
- s0 = peg$c84;
7847
+ if (input.substr(peg$currPos, 14) === peg$c89) {
7848
+ s0 = peg$c89;
7821
7849
  peg$currPos += 14;
7822
7850
  }
7823
7851
  else {
7824
7852
  s0 = peg$FAILED;
7825
7853
  if (peg$silentFails === 0) {
7826
- peg$fail(peg$e90);
7854
+ peg$fail(peg$e94);
7827
7855
  }
7828
7856
  }
7829
7857
  if (s0 === peg$FAILED) {
7830
- if (input.substr(peg$currPos, 10) === peg$c85) {
7831
- s0 = peg$c85;
7858
+ if (input.substr(peg$currPos, 10) === peg$c90) {
7859
+ s0 = peg$c90;
7832
7860
  peg$currPos += 10;
7833
7861
  }
7834
7862
  else {
7835
7863
  s0 = peg$FAILED;
7836
7864
  if (peg$silentFails === 0) {
7837
- peg$fail(peg$e91);
7865
+ peg$fail(peg$e95);
7838
7866
  }
7839
7867
  }
7840
7868
  if (s0 === peg$FAILED) {
7841
- if (input.substr(peg$currPos, 13) === peg$c86) {
7842
- s0 = peg$c86;
7869
+ if (input.substr(peg$currPos, 13) === peg$c91) {
7870
+ s0 = peg$c91;
7843
7871
  peg$currPos += 13;
7844
7872
  }
7845
7873
  else {
7846
7874
  s0 = peg$FAILED;
7847
7875
  if (peg$silentFails === 0) {
7848
- peg$fail(peg$e92);
7876
+ peg$fail(peg$e96);
7849
7877
  }
7850
7878
  }
7851
7879
  if (s0 === peg$FAILED) {
7852
- if (input.substr(peg$currPos, 19) === peg$c87) {
7853
- s0 = peg$c87;
7880
+ if (input.substr(peg$currPos, 19) === peg$c92) {
7881
+ s0 = peg$c92;
7854
7882
  peg$currPos += 19;
7855
7883
  }
7856
7884
  else {
7857
7885
  s0 = peg$FAILED;
7858
7886
  if (peg$silentFails === 0) {
7859
- peg$fail(peg$e93);
7887
+ peg$fail(peg$e97);
7860
7888
  }
7861
7889
  }
7862
7890
  if (s0 === peg$FAILED) {
7863
- if (input.substr(peg$currPos, 10) === peg$c88) {
7864
- s0 = peg$c88;
7891
+ if (input.substr(peg$currPos, 10) === peg$c93) {
7892
+ s0 = peg$c93;
7865
7893
  peg$currPos += 10;
7866
7894
  }
7867
7895
  else {
7868
7896
  s0 = peg$FAILED;
7869
7897
  if (peg$silentFails === 0) {
7870
- peg$fail(peg$e94);
7898
+ peg$fail(peg$e98);
7871
7899
  }
7872
7900
  }
7873
7901
  if (s0 === peg$FAILED) {
7874
- if (input.substr(peg$currPos, 10) === peg$c89) {
7875
- s0 = peg$c89;
7902
+ if (input.substr(peg$currPos, 10) === peg$c94) {
7903
+ s0 = peg$c94;
7876
7904
  peg$currPos += 10;
7877
7905
  }
7878
7906
  else {
7879
7907
  s0 = peg$FAILED;
7880
7908
  if (peg$silentFails === 0) {
7881
- peg$fail(peg$e95);
7909
+ peg$fail(peg$e99);
7882
7910
  }
7883
7911
  }
7884
7912
  if (s0 === peg$FAILED) {
7885
- if (input.substr(peg$currPos, 13) === peg$c90) {
7886
- s0 = peg$c90;
7913
+ if (input.substr(peg$currPos, 13) === peg$c95) {
7914
+ s0 = peg$c95;
7887
7915
  peg$currPos += 13;
7888
7916
  }
7889
7917
  else {
7890
7918
  s0 = peg$FAILED;
7891
7919
  if (peg$silentFails === 0) {
7892
- peg$fail(peg$e96);
7920
+ peg$fail(peg$e100);
7893
7921
  }
7894
7922
  }
7895
7923
  if (s0 === peg$FAILED) {
7896
- if (input.substr(peg$currPos, 11) === peg$c91) {
7897
- s0 = peg$c91;
7924
+ if (input.substr(peg$currPos, 11) === peg$c96) {
7925
+ s0 = peg$c96;
7898
7926
  peg$currPos += 11;
7899
7927
  }
7900
7928
  else {
7901
7929
  s0 = peg$FAILED;
7902
7930
  if (peg$silentFails === 0) {
7903
- peg$fail(peg$e97);
7931
+ peg$fail(peg$e101);
7904
7932
  }
7905
7933
  }
7906
7934
  }
@@ -7936,256 +7964,256 @@ function peg$parse(input, options) {
7936
7964
  }
7937
7965
  function peg$parseColor() {
7938
7966
  var s0;
7939
- if (input.substr(peg$currPos, 4) === peg$c92) {
7940
- s0 = peg$c92;
7967
+ if (input.substr(peg$currPos, 4) === peg$c97) {
7968
+ s0 = peg$c97;
7941
7969
  peg$currPos += 4;
7942
7970
  }
7943
7971
  else {
7944
7972
  s0 = peg$FAILED;
7945
7973
  if (peg$silentFails === 0) {
7946
- peg$fail(peg$e98);
7974
+ peg$fail(peg$e102);
7947
7975
  }
7948
7976
  }
7949
7977
  if (s0 === peg$FAILED) {
7950
- if (input.substr(peg$currPos, 5) === peg$c93) {
7951
- s0 = peg$c93;
7978
+ if (input.substr(peg$currPos, 5) === peg$c98) {
7979
+ s0 = peg$c98;
7952
7980
  peg$currPos += 5;
7953
7981
  }
7954
7982
  else {
7955
7983
  s0 = peg$FAILED;
7956
7984
  if (peg$silentFails === 0) {
7957
- peg$fail(peg$e99);
7985
+ peg$fail(peg$e103);
7958
7986
  }
7959
7987
  }
7960
7988
  if (s0 === peg$FAILED) {
7961
- if (input.substr(peg$currPos, 4) === peg$c94) {
7962
- s0 = peg$c94;
7989
+ if (input.substr(peg$currPos, 4) === peg$c99) {
7990
+ s0 = peg$c99;
7963
7991
  peg$currPos += 4;
7964
7992
  }
7965
7993
  else {
7966
7994
  s0 = peg$FAILED;
7967
7995
  if (peg$silentFails === 0) {
7968
- peg$fail(peg$e100);
7996
+ peg$fail(peg$e104);
7969
7997
  }
7970
7998
  }
7971
7999
  if (s0 === peg$FAILED) {
7972
- if (input.substr(peg$currPos, 5) === peg$c95) {
7973
- s0 = peg$c95;
8000
+ if (input.substr(peg$currPos, 5) === peg$c100) {
8001
+ s0 = peg$c100;
7974
8002
  peg$currPos += 5;
7975
8003
  }
7976
8004
  else {
7977
8005
  s0 = peg$FAILED;
7978
8006
  if (peg$silentFails === 0) {
7979
- peg$fail(peg$e101);
8007
+ peg$fail(peg$e105);
7980
8008
  }
7981
8009
  }
7982
8010
  if (s0 === peg$FAILED) {
7983
- if (input.substr(peg$currPos, 7) === peg$c96) {
7984
- s0 = peg$c96;
8011
+ if (input.substr(peg$currPos, 7) === peg$c101) {
8012
+ s0 = peg$c101;
7985
8013
  peg$currPos += 7;
7986
8014
  }
7987
8015
  else {
7988
8016
  s0 = peg$FAILED;
7989
8017
  if (peg$silentFails === 0) {
7990
- peg$fail(peg$e102);
8018
+ peg$fail(peg$e106);
7991
8019
  }
7992
8020
  }
7993
8021
  if (s0 === peg$FAILED) {
7994
- if (input.substr(peg$currPos, 9) === peg$c97) {
7995
- s0 = peg$c97;
8022
+ if (input.substr(peg$currPos, 9) === peg$c102) {
8023
+ s0 = peg$c102;
7996
8024
  peg$currPos += 9;
7997
8025
  }
7998
8026
  else {
7999
8027
  s0 = peg$FAILED;
8000
8028
  if (peg$silentFails === 0) {
8001
- peg$fail(peg$e103);
8029
+ peg$fail(peg$e107);
8002
8030
  }
8003
8031
  }
8004
8032
  if (s0 === peg$FAILED) {
8005
- if (input.substr(peg$currPos, 4) === peg$c98) {
8006
- s0 = peg$c98;
8033
+ if (input.substr(peg$currPos, 4) === peg$c103) {
8034
+ s0 = peg$c103;
8007
8035
  peg$currPos += 4;
8008
8036
  }
8009
8037
  else {
8010
8038
  s0 = peg$FAILED;
8011
8039
  if (peg$silentFails === 0) {
8012
- peg$fail(peg$e104);
8040
+ peg$fail(peg$e108);
8013
8041
  }
8014
8042
  }
8015
8043
  if (s0 === peg$FAILED) {
8016
- if (input.substr(peg$currPos, 8) === peg$c99) {
8017
- s0 = peg$c99;
8044
+ if (input.substr(peg$currPos, 8) === peg$c104) {
8045
+ s0 = peg$c104;
8018
8046
  peg$currPos += 8;
8019
8047
  }
8020
8048
  else {
8021
8049
  s0 = peg$FAILED;
8022
8050
  if (peg$silentFails === 0) {
8023
- peg$fail(peg$e105);
8051
+ peg$fail(peg$e109);
8024
8052
  }
8025
8053
  }
8026
8054
  if (s0 === peg$FAILED) {
8027
- if (input.substr(peg$currPos, 5) === peg$c100) {
8028
- s0 = peg$c100;
8055
+ if (input.substr(peg$currPos, 5) === peg$c105) {
8056
+ s0 = peg$c105;
8029
8057
  peg$currPos += 5;
8030
8058
  }
8031
8059
  else {
8032
8060
  s0 = peg$FAILED;
8033
8061
  if (peg$silentFails === 0) {
8034
- peg$fail(peg$e106);
8062
+ peg$fail(peg$e110);
8035
8063
  }
8036
8064
  }
8037
8065
  if (s0 === peg$FAILED) {
8038
- if (input.substr(peg$currPos, 4) === peg$c101) {
8039
- s0 = peg$c101;
8066
+ if (input.substr(peg$currPos, 4) === peg$c106) {
8067
+ s0 = peg$c106;
8040
8068
  peg$currPos += 4;
8041
8069
  }
8042
8070
  else {
8043
8071
  s0 = peg$FAILED;
8044
8072
  if (peg$silentFails === 0) {
8045
- peg$fail(peg$e107);
8073
+ peg$fail(peg$e111);
8046
8074
  }
8047
8075
  }
8048
8076
  if (s0 === peg$FAILED) {
8049
- if (input.substr(peg$currPos, 7) === peg$c102) {
8050
- s0 = peg$c102;
8077
+ if (input.substr(peg$currPos, 7) === peg$c107) {
8078
+ s0 = peg$c107;
8051
8079
  peg$currPos += 7;
8052
8080
  }
8053
8081
  else {
8054
8082
  s0 = peg$FAILED;
8055
8083
  if (peg$silentFails === 0) {
8056
- peg$fail(peg$e108);
8084
+ peg$fail(peg$e112);
8057
8085
  }
8058
8086
  }
8059
8087
  if (s0 === peg$FAILED) {
8060
- if (input.substr(peg$currPos, 6) === peg$c103) {
8061
- s0 = peg$c103;
8088
+ if (input.substr(peg$currPos, 6) === peg$c108) {
8089
+ s0 = peg$c108;
8062
8090
  peg$currPos += 6;
8063
8091
  }
8064
8092
  else {
8065
8093
  s0 = peg$FAILED;
8066
8094
  if (peg$silentFails === 0) {
8067
- peg$fail(peg$e109);
8095
+ peg$fail(peg$e113);
8068
8096
  }
8069
8097
  }
8070
8098
  if (s0 === peg$FAILED) {
8071
- if (input.substr(peg$currPos, 4) === peg$c104) {
8072
- s0 = peg$c104;
8099
+ if (input.substr(peg$currPos, 4) === peg$c109) {
8100
+ s0 = peg$c109;
8073
8101
  peg$currPos += 4;
8074
8102
  }
8075
8103
  else {
8076
8104
  s0 = peg$FAILED;
8077
8105
  if (peg$silentFails === 0) {
8078
- peg$fail(peg$e110);
8106
+ peg$fail(peg$e114);
8079
8107
  }
8080
8108
  }
8081
8109
  if (s0 === peg$FAILED) {
8082
- if (input.substr(peg$currPos, 5) === peg$c105) {
8083
- s0 = peg$c105;
8110
+ if (input.substr(peg$currPos, 5) === peg$c110) {
8111
+ s0 = peg$c110;
8084
8112
  peg$currPos += 5;
8085
8113
  }
8086
8114
  else {
8087
8115
  s0 = peg$FAILED;
8088
8116
  if (peg$silentFails === 0) {
8089
- peg$fail(peg$e111);
8117
+ peg$fail(peg$e115);
8090
8118
  }
8091
8119
  }
8092
8120
  if (s0 === peg$FAILED) {
8093
- if (input.substr(peg$currPos, 6) === peg$c106) {
8094
- s0 = peg$c106;
8121
+ if (input.substr(peg$currPos, 6) === peg$c111) {
8122
+ s0 = peg$c111;
8095
8123
  peg$currPos += 6;
8096
8124
  }
8097
8125
  else {
8098
8126
  s0 = peg$FAILED;
8099
8127
  if (peg$silentFails === 0) {
8100
- peg$fail(peg$e112);
8128
+ peg$fail(peg$e116);
8101
8129
  }
8102
8130
  }
8103
8131
  if (s0 === peg$FAILED) {
8104
- if (input.substr(peg$currPos, 4) === peg$c107) {
8105
- s0 = peg$c107;
8132
+ if (input.substr(peg$currPos, 4) === peg$c112) {
8133
+ s0 = peg$c112;
8106
8134
  peg$currPos += 4;
8107
8135
  }
8108
8136
  else {
8109
8137
  s0 = peg$FAILED;
8110
8138
  if (peg$silentFails === 0) {
8111
- peg$fail(peg$e113);
8139
+ peg$fail(peg$e117);
8112
8140
  }
8113
8141
  }
8114
8142
  if (s0 === peg$FAILED) {
8115
- if (input.substr(peg$currPos, 6) === peg$c108) {
8116
- s0 = peg$c108;
8143
+ if (input.substr(peg$currPos, 6) === peg$c113) {
8144
+ s0 = peg$c113;
8117
8145
  peg$currPos += 6;
8118
8146
  }
8119
8147
  else {
8120
8148
  s0 = peg$FAILED;
8121
8149
  if (peg$silentFails === 0) {
8122
- peg$fail(peg$e114);
8150
+ peg$fail(peg$e118);
8123
8151
  }
8124
8152
  }
8125
8153
  if (s0 === peg$FAILED) {
8126
- if (input.substr(peg$currPos, 3) === peg$c109) {
8127
- s0 = peg$c109;
8154
+ if (input.substr(peg$currPos, 3) === peg$c114) {
8155
+ s0 = peg$c114;
8128
8156
  peg$currPos += 3;
8129
8157
  }
8130
8158
  else {
8131
8159
  s0 = peg$FAILED;
8132
8160
  if (peg$silentFails === 0) {
8133
- peg$fail(peg$e115);
8161
+ peg$fail(peg$e119);
8134
8162
  }
8135
8163
  }
8136
8164
  if (s0 === peg$FAILED) {
8137
- if (input.substr(peg$currPos, 6) === peg$c110) {
8138
- s0 = peg$c110;
8165
+ if (input.substr(peg$currPos, 6) === peg$c115) {
8166
+ s0 = peg$c115;
8139
8167
  peg$currPos += 6;
8140
8168
  }
8141
8169
  else {
8142
8170
  s0 = peg$FAILED;
8143
8171
  if (peg$silentFails === 0) {
8144
- peg$fail(peg$e116);
8172
+ peg$fail(peg$e120);
8145
8173
  }
8146
8174
  }
8147
8175
  if (s0 === peg$FAILED) {
8148
- if (input.substr(peg$currPos, 4) === peg$c111) {
8149
- s0 = peg$c111;
8176
+ if (input.substr(peg$currPos, 4) === peg$c116) {
8177
+ s0 = peg$c116;
8150
8178
  peg$currPos += 4;
8151
8179
  }
8152
8180
  else {
8153
8181
  s0 = peg$FAILED;
8154
8182
  if (peg$silentFails === 0) {
8155
- peg$fail(peg$e117);
8183
+ peg$fail(peg$e121);
8156
8184
  }
8157
8185
  }
8158
8186
  if (s0 === peg$FAILED) {
8159
- if (input.substr(peg$currPos, 6) === peg$c112) {
8160
- s0 = peg$c112;
8187
+ if (input.substr(peg$currPos, 6) === peg$c117) {
8188
+ s0 = peg$c117;
8161
8189
  peg$currPos += 6;
8162
8190
  }
8163
8191
  else {
8164
8192
  s0 = peg$FAILED;
8165
8193
  if (peg$silentFails === 0) {
8166
- peg$fail(peg$e118);
8194
+ peg$fail(peg$e122);
8167
8195
  }
8168
8196
  }
8169
8197
  if (s0 === peg$FAILED) {
8170
- if (input.substr(peg$currPos, 5) === peg$c113) {
8171
- s0 = peg$c113;
8198
+ if (input.substr(peg$currPos, 5) === peg$c118) {
8199
+ s0 = peg$c118;
8172
8200
  peg$currPos += 5;
8173
8201
  }
8174
8202
  else {
8175
8203
  s0 = peg$FAILED;
8176
8204
  if (peg$silentFails === 0) {
8177
- peg$fail(peg$e119);
8205
+ peg$fail(peg$e123);
8178
8206
  }
8179
8207
  }
8180
8208
  if (s0 === peg$FAILED) {
8181
- if (input.substr(peg$currPos, 6) === peg$c114) {
8182
- s0 = peg$c114;
8209
+ if (input.substr(peg$currPos, 6) === peg$c119) {
8210
+ s0 = peg$c119;
8183
8211
  peg$currPos += 6;
8184
8212
  }
8185
8213
  else {
8186
8214
  s0 = peg$FAILED;
8187
8215
  if (peg$silentFails === 0) {
8188
- peg$fail(peg$e120);
8216
+ peg$fail(peg$e124);
8189
8217
  }
8190
8218
  }
8191
8219
  }
@@ -8218,12 +8246,12 @@ function peg$parse(input, options) {
8218
8246
  s0 = peg$currPos;
8219
8247
  s1 = peg$parsebitmarkMinusMinusString();
8220
8248
  peg$savedPos = s0;
8221
- s1 = peg$f87(s1);
8249
+ s1 = peg$f89(s1);
8222
8250
  s0 = s1;
8223
8251
  peg$silentFails--;
8224
8252
  s1 = peg$FAILED;
8225
8253
  if (peg$silentFails === 0) {
8226
- peg$fail(peg$e121);
8254
+ peg$fail(peg$e125);
8227
8255
  }
8228
8256
  return s0;
8229
8257
  }
@@ -8248,11 +8276,11 @@ function peg$parse(input, options) {
8248
8276
  }
8249
8277
  }
8250
8278
  peg$savedPos = s0;
8251
- s0 = peg$f88(s1, s2);
8279
+ s0 = peg$f90(s1, s2);
8252
8280
  peg$silentFails--;
8253
8281
  s1 = peg$FAILED;
8254
8282
  if (peg$silentFails === 0) {
8255
- peg$fail(peg$e122);
8283
+ peg$fail(peg$e126);
8256
8284
  }
8257
8285
  return s0;
8258
8286
  }
@@ -8262,7 +8290,7 @@ function peg$parse(input, options) {
8262
8290
  s1 = peg$parseNL();
8263
8291
  if (s1 !== peg$FAILED) {
8264
8292
  peg$savedPos = s0;
8265
- s1 = peg$f89();
8293
+ s1 = peg$f91();
8266
8294
  }
8267
8295
  s0 = s1;
8268
8296
  if (s0 === peg$FAILED) {
@@ -8405,7 +8433,7 @@ function peg$parse(input, options) {
8405
8433
  }
8406
8434
  if (s1 !== peg$FAILED) {
8407
8435
  peg$savedPos = s0;
8408
- s1 = peg$f90(s1);
8436
+ s1 = peg$f92(s1);
8409
8437
  }
8410
8438
  s0 = s1;
8411
8439
  }
@@ -8414,13 +8442,13 @@ function peg$parse(input, options) {
8414
8442
  function peg$parseBoldHalfTag() {
8415
8443
  var s0;
8416
8444
  if (input.charCodeAt(peg$currPos) === 42) {
8417
- s0 = peg$c115;
8445
+ s0 = peg$c120;
8418
8446
  peg$currPos++;
8419
8447
  }
8420
8448
  else {
8421
8449
  s0 = peg$FAILED;
8422
8450
  if (peg$silentFails === 0) {
8423
- peg$fail(peg$e123);
8451
+ peg$fail(peg$e127);
8424
8452
  }
8425
8453
  }
8426
8454
  return s0;
@@ -8428,13 +8456,13 @@ function peg$parse(input, options) {
8428
8456
  function peg$parseItalicHalfTag() {
8429
8457
  var s0;
8430
8458
  if (input.charCodeAt(peg$currPos) === 95) {
8431
- s0 = peg$c116;
8459
+ s0 = peg$c121;
8432
8460
  peg$currPos++;
8433
8461
  }
8434
8462
  else {
8435
8463
  s0 = peg$FAILED;
8436
8464
  if (peg$silentFails === 0) {
8437
- peg$fail(peg$e124);
8465
+ peg$fail(peg$e128);
8438
8466
  }
8439
8467
  }
8440
8468
  return s0;
@@ -8442,13 +8470,13 @@ function peg$parse(input, options) {
8442
8470
  function peg$parseLightHalfTag() {
8443
8471
  var s0;
8444
8472
  if (input.charCodeAt(peg$currPos) === 96) {
8445
- s0 = peg$c117;
8473
+ s0 = peg$c122;
8446
8474
  peg$currPos++;
8447
8475
  }
8448
8476
  else {
8449
8477
  s0 = peg$FAILED;
8450
8478
  if (peg$silentFails === 0) {
8451
- peg$fail(peg$e125);
8479
+ peg$fail(peg$e129);
8452
8480
  }
8453
8481
  }
8454
8482
  return s0;
@@ -8456,13 +8484,13 @@ function peg$parse(input, options) {
8456
8484
  function peg$parseHighlightHalfTag() {
8457
8485
  var s0;
8458
8486
  if (input.charCodeAt(peg$currPos) === 33) {
8459
- s0 = peg$c118;
8487
+ s0 = peg$c123;
8460
8488
  peg$currPos++;
8461
8489
  }
8462
8490
  else {
8463
8491
  s0 = peg$FAILED;
8464
8492
  if (peg$silentFails === 0) {
8465
- peg$fail(peg$e126);
8493
+ peg$fail(peg$e130);
8466
8494
  }
8467
8495
  }
8468
8496
  return s0;
@@ -8553,14 +8581,14 @@ function peg$parse(input, options) {
8553
8581
  }
8554
8582
  function peg$parseBodyBitOpenTag() {
8555
8583
  var s0;
8556
- if (input.substr(peg$currPos, 2) === peg$c119) {
8557
- s0 = peg$c119;
8584
+ if (input.substr(peg$currPos, 2) === peg$c124) {
8585
+ s0 = peg$c124;
8558
8586
  peg$currPos += 2;
8559
8587
  }
8560
8588
  else {
8561
8589
  s0 = peg$FAILED;
8562
8590
  if (peg$silentFails === 0) {
8563
- peg$fail(peg$e127);
8591
+ peg$fail(peg$e131);
8564
8592
  }
8565
8593
  }
8566
8594
  return s0;
@@ -8568,13 +8596,13 @@ function peg$parse(input, options) {
8568
8596
  function peg$parseBodyBitCloseTag() {
8569
8597
  var s0;
8570
8598
  if (input.charCodeAt(peg$currPos) === 93) {
8571
- s0 = peg$c120;
8599
+ s0 = peg$c125;
8572
8600
  peg$currPos++;
8573
8601
  }
8574
8602
  else {
8575
8603
  s0 = peg$FAILED;
8576
8604
  if (peg$silentFails === 0) {
8577
- peg$fail(peg$e128);
8605
+ peg$fail(peg$e132);
8578
8606
  }
8579
8607
  }
8580
8608
  return s0;
@@ -8624,7 +8652,7 @@ function peg$parse(input, options) {
8624
8652
  s3 = peg$parseBodyBitCloseTag();
8625
8653
  if (s3 !== peg$FAILED) {
8626
8654
  peg$savedPos = s0;
8627
- s0 = peg$f91(s2);
8655
+ s0 = peg$f93(s2);
8628
8656
  }
8629
8657
  else {
8630
8658
  peg$currPos = s0;
@@ -8725,7 +8753,7 @@ function peg$parse(input, options) {
8725
8753
  s3 = peg$parseBoldTag();
8726
8754
  if (s3 !== peg$FAILED) {
8727
8755
  peg$savedPos = s0;
8728
- s0 = peg$f92(s2);
8756
+ s0 = peg$f94(s2);
8729
8757
  }
8730
8758
  else {
8731
8759
  peg$currPos = s0;
@@ -8821,7 +8849,7 @@ function peg$parse(input, options) {
8821
8849
  s3 = peg$parseItalicTag();
8822
8850
  if (s3 !== peg$FAILED) {
8823
8851
  peg$savedPos = s0;
8824
- s0 = peg$f93(s2);
8852
+ s0 = peg$f95(s2);
8825
8853
  }
8826
8854
  else {
8827
8855
  peg$currPos = s0;
@@ -8917,7 +8945,7 @@ function peg$parse(input, options) {
8917
8945
  s3 = peg$parseLightTag();
8918
8946
  if (s3 !== peg$FAILED) {
8919
8947
  peg$savedPos = s0;
8920
- s0 = peg$f94(s2);
8948
+ s0 = peg$f96(s2);
8921
8949
  }
8922
8950
  else {
8923
8951
  peg$currPos = s0;
@@ -9013,7 +9041,7 @@ function peg$parse(input, options) {
9013
9041
  s3 = peg$parseHighlightTag();
9014
9042
  if (s3 !== peg$FAILED) {
9015
9043
  peg$savedPos = s0;
9016
- s0 = peg$f95(s2);
9044
+ s0 = peg$f97(s2);
9017
9045
  }
9018
9046
  else {
9019
9047
  peg$currPos = s0;
@@ -9108,35 +9136,35 @@ function peg$parse(input, options) {
9108
9136
  var s0, s1;
9109
9137
  peg$silentFails++;
9110
9138
  if (input.charCodeAt(peg$currPos) === 10) {
9111
- s0 = peg$c121;
9139
+ s0 = peg$c126;
9112
9140
  peg$currPos++;
9113
9141
  }
9114
9142
  else {
9115
9143
  s0 = peg$FAILED;
9116
9144
  if (peg$silentFails === 0) {
9117
- peg$fail(peg$e130);
9145
+ peg$fail(peg$e134);
9118
9146
  }
9119
9147
  }
9120
9148
  if (s0 === peg$FAILED) {
9121
- if (input.substr(peg$currPos, 2) === peg$c122) {
9122
- s0 = peg$c122;
9149
+ if (input.substr(peg$currPos, 2) === peg$c127) {
9150
+ s0 = peg$c127;
9123
9151
  peg$currPos += 2;
9124
9152
  }
9125
9153
  else {
9126
9154
  s0 = peg$FAILED;
9127
9155
  if (peg$silentFails === 0) {
9128
- peg$fail(peg$e131);
9156
+ peg$fail(peg$e135);
9129
9157
  }
9130
9158
  }
9131
9159
  if (s0 === peg$FAILED) {
9132
9160
  s0 = input.charAt(peg$currPos);
9133
- if (peg$r3.test(s0)) {
9161
+ if (peg$r2.test(s0)) {
9134
9162
  peg$currPos++;
9135
9163
  }
9136
9164
  else {
9137
9165
  s0 = peg$FAILED;
9138
9166
  if (peg$silentFails === 0) {
9139
- peg$fail(peg$e132);
9167
+ peg$fail(peg$e136);
9140
9168
  }
9141
9169
  }
9142
9170
  }
@@ -9145,7 +9173,7 @@ function peg$parse(input, options) {
9145
9173
  if (s0 === peg$FAILED) {
9146
9174
  s1 = peg$FAILED;
9147
9175
  if (peg$silentFails === 0) {
9148
- peg$fail(peg$e129);
9176
+ peg$fail(peg$e133);
9149
9177
  }
9150
9178
  }
9151
9179
  return s0;
@@ -9180,7 +9208,7 @@ function peg$parse(input, options) {
9180
9208
  peg$silentFails--;
9181
9209
  s1 = peg$FAILED;
9182
9210
  if (peg$silentFails === 0) {
9183
- peg$fail(peg$e133);
9211
+ peg$fail(peg$e137);
9184
9212
  }
9185
9213
  return s0;
9186
9214
  }
@@ -9204,7 +9232,7 @@ function peg$parse(input, options) {
9204
9232
  peg$silentFails--;
9205
9233
  s1 = peg$FAILED;
9206
9234
  if (peg$silentFails === 0) {
9207
- peg$fail(peg$e134);
9235
+ peg$fail(peg$e138);
9208
9236
  }
9209
9237
  return s0;
9210
9238
  }
@@ -9228,7 +9256,7 @@ function peg$parse(input, options) {
9228
9256
  if (s0 === peg$FAILED) {
9229
9257
  s1 = peg$FAILED;
9230
9258
  if (peg$silentFails === 0) {
9231
- peg$fail(peg$e135);
9259
+ peg$fail(peg$e139);
9232
9260
  }
9233
9261
  }
9234
9262
  return s0;
@@ -9237,20 +9265,20 @@ function peg$parse(input, options) {
9237
9265
  var s0, s1;
9238
9266
  peg$silentFails++;
9239
9267
  s0 = input.charAt(peg$currPos);
9240
- if (peg$r4.test(s0)) {
9268
+ if (peg$r3.test(s0)) {
9241
9269
  peg$currPos++;
9242
9270
  }
9243
9271
  else {
9244
9272
  s0 = peg$FAILED;
9245
9273
  if (peg$silentFails === 0) {
9246
- peg$fail(peg$e137);
9274
+ peg$fail(peg$e141);
9247
9275
  }
9248
9276
  }
9249
9277
  peg$silentFails--;
9250
9278
  if (s0 === peg$FAILED) {
9251
9279
  s1 = peg$FAILED;
9252
9280
  if (peg$silentFails === 0) {
9253
- peg$fail(peg$e136);
9281
+ peg$fail(peg$e140);
9254
9282
  }
9255
9283
  }
9256
9284
  return s0;
@@ -9258,13 +9286,13 @@ function peg$parse(input, options) {
9258
9286
  function peg$parseLineTerminator() {
9259
9287
  var s0;
9260
9288
  s0 = input.charAt(peg$currPos);
9261
- if (peg$r5.test(s0)) {
9289
+ if (peg$r4.test(s0)) {
9262
9290
  peg$currPos++;
9263
9291
  }
9264
9292
  else {
9265
9293
  s0 = peg$FAILED;
9266
9294
  if (peg$silentFails === 0) {
9267
- peg$fail(peg$e138);
9295
+ peg$fail(peg$e142);
9268
9296
  }
9269
9297
  }
9270
9298
  return s0;
@@ -9272,13 +9300,13 @@ function peg$parse(input, options) {
9272
9300
  function peg$parsechar() {
9273
9301
  var s0;
9274
9302
  s0 = input.charAt(peg$currPos);
9275
- if (peg$r6.test(s0)) {
9303
+ if (peg$r5.test(s0)) {
9276
9304
  peg$currPos++;
9277
9305
  }
9278
9306
  else {
9279
9307
  s0 = peg$FAILED;
9280
9308
  if (peg$silentFails === 0) {
9281
- peg$fail(peg$e139);
9309
+ peg$fail(peg$e143);
9282
9310
  }
9283
9311
  }
9284
9312
  return s0;
@@ -9286,13 +9314,13 @@ function peg$parse(input, options) {
9286
9314
  function peg$parseword() {
9287
9315
  var s0;
9288
9316
  s0 = input.charAt(peg$currPos);
9289
- if (peg$r7.test(s0)) {
9317
+ if (peg$r6.test(s0)) {
9290
9318
  peg$currPos++;
9291
9319
  }
9292
9320
  else {
9293
9321
  s0 = peg$FAILED;
9294
9322
  if (peg$silentFails === 0) {
9295
- peg$fail(peg$e140);
9323
+ peg$fail(peg$e144);
9296
9324
  }
9297
9325
  }
9298
9326
  return s0;
@@ -9328,38 +9356,38 @@ function peg$parse(input, options) {
9328
9356
  var s0, s1, s2, s3, s4, s5, s6, s7, s8;
9329
9357
  s0 = peg$currPos;
9330
9358
  s1 = peg$currPos;
9331
- if (input.substr(peg$currPos, 4) === peg$c123) {
9332
- s2 = peg$c123;
9359
+ if (input.substr(peg$currPos, 4) === peg$c128) {
9360
+ s2 = peg$c128;
9333
9361
  peg$currPos += 4;
9334
9362
  }
9335
9363
  else {
9336
9364
  s2 = peg$FAILED;
9337
9365
  if (peg$silentFails === 0) {
9338
- peg$fail(peg$e141);
9366
+ peg$fail(peg$e145);
9339
9367
  }
9340
9368
  }
9341
9369
  if (s2 !== peg$FAILED) {
9342
9370
  if (input.charCodeAt(peg$currPos) === 115) {
9343
- s3 = peg$c124;
9371
+ s3 = peg$c129;
9344
9372
  peg$currPos++;
9345
9373
  }
9346
9374
  else {
9347
9375
  s3 = peg$FAILED;
9348
9376
  if (peg$silentFails === 0) {
9349
- peg$fail(peg$e142);
9377
+ peg$fail(peg$e146);
9350
9378
  }
9351
9379
  }
9352
9380
  if (s3 === peg$FAILED) {
9353
9381
  s3 = null;
9354
9382
  }
9355
- if (input.substr(peg$currPos, 3) === peg$c125) {
9356
- s4 = peg$c125;
9383
+ if (input.substr(peg$currPos, 3) === peg$c130) {
9384
+ s4 = peg$c130;
9357
9385
  peg$currPos += 3;
9358
9386
  }
9359
9387
  else {
9360
9388
  s4 = peg$FAILED;
9361
9389
  if (peg$silentFails === 0) {
9362
- peg$fail(peg$e143);
9390
+ peg$fail(peg$e147);
9363
9391
  }
9364
9392
  }
9365
9393
  if (s4 !== peg$FAILED) {
@@ -9446,38 +9474,38 @@ function peg$parse(input, options) {
9446
9474
  s0 = peg$currPos;
9447
9475
  s1 = peg$currPos;
9448
9476
  s2 = peg$currPos;
9449
- if (input.substr(peg$currPos, 4) === peg$c123) {
9450
- s3 = peg$c123;
9477
+ if (input.substr(peg$currPos, 4) === peg$c128) {
9478
+ s3 = peg$c128;
9451
9479
  peg$currPos += 4;
9452
9480
  }
9453
9481
  else {
9454
9482
  s3 = peg$FAILED;
9455
9483
  if (peg$silentFails === 0) {
9456
- peg$fail(peg$e141);
9484
+ peg$fail(peg$e145);
9457
9485
  }
9458
9486
  }
9459
9487
  if (s3 !== peg$FAILED) {
9460
9488
  if (input.charCodeAt(peg$currPos) === 115) {
9461
- s4 = peg$c124;
9489
+ s4 = peg$c129;
9462
9490
  peg$currPos++;
9463
9491
  }
9464
9492
  else {
9465
9493
  s4 = peg$FAILED;
9466
9494
  if (peg$silentFails === 0) {
9467
- peg$fail(peg$e142);
9495
+ peg$fail(peg$e146);
9468
9496
  }
9469
9497
  }
9470
9498
  if (s4 === peg$FAILED) {
9471
9499
  s4 = null;
9472
9500
  }
9473
- if (input.substr(peg$currPos, 3) === peg$c125) {
9474
- s5 = peg$c125;
9501
+ if (input.substr(peg$currPos, 3) === peg$c130) {
9502
+ s5 = peg$c130;
9475
9503
  peg$currPos += 3;
9476
9504
  }
9477
9505
  else {
9478
9506
  s5 = peg$FAILED;
9479
9507
  if (peg$silentFails === 0) {
9480
- peg$fail(peg$e143);
9508
+ peg$fail(peg$e147);
9481
9509
  }
9482
9510
  }
9483
9511
  if (s5 !== peg$FAILED) {
@@ -9494,14 +9522,14 @@ function peg$parse(input, options) {
9494
9522
  s2 = peg$FAILED;
9495
9523
  }
9496
9524
  if (s2 === peg$FAILED) {
9497
- if (input.substr(peg$currPos, 7) === peg$c126) {
9498
- s2 = peg$c126;
9525
+ if (input.substr(peg$currPos, 7) === peg$c131) {
9526
+ s2 = peg$c131;
9499
9527
  peg$currPos += 7;
9500
9528
  }
9501
9529
  else {
9502
9530
  s2 = peg$FAILED;
9503
9531
  if (peg$silentFails === 0) {
9504
- peg$fail(peg$e144);
9532
+ peg$fail(peg$e148);
9505
9533
  }
9506
9534
  }
9507
9535
  }
@@ -9573,7 +9601,7 @@ function peg$parse(input, options) {
9573
9601
  }
9574
9602
  s2 = input.substring(s2, peg$currPos);
9575
9603
  peg$savedPos = s0;
9576
- s0 = peg$f96(s1, s2);
9604
+ s0 = peg$f98(s1, s2);
9577
9605
  }
9578
9606
  else {
9579
9607
  peg$currPos = s0;
@@ -9584,13 +9612,13 @@ function peg$parse(input, options) {
9584
9612
  function peg$parseUrlChars() {
9585
9613
  var s0;
9586
9614
  s0 = input.charAt(peg$currPos);
9587
- if (peg$r8.test(s0)) {
9615
+ if (peg$r7.test(s0)) {
9588
9616
  peg$currPos++;
9589
9617
  }
9590
9618
  else {
9591
9619
  s0 = peg$FAILED;
9592
9620
  if (peg$silentFails === 0) {
9593
- peg$fail(peg$e145);
9621
+ peg$fail(peg$e149);
9594
9622
  }
9595
9623
  }
9596
9624
  return s0;