@gmb/bitmark-parser-generator 4.8.0 → 4.9.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.
package/dist/index.js CHANGED
@@ -9088,7 +9088,7 @@ var instance2 = new Config();
9088
9088
  // src/generated/package_info.ts
9089
9089
  var PACKAGE_INFO = {
9090
9090
  "name": "@gmb/bitmark-parser-generator",
9091
- "version": "4.8.0",
9091
+ "version": "4.9.0",
9092
9092
  "author": "Get More Brain Ltd",
9093
9093
  "license": "ISC",
9094
9094
  "description": "A bitmark parser and generator using Peggy.js"
@@ -11586,7 +11586,7 @@ var TextGenerator = class extends AstWalkerGenerator {
11586
11586
  };
11587
11587
 
11588
11588
  // src/generated/parser/text/text-peggy-parser.js
11589
- var VERSION = "8.34.3";
11589
+ var VERSION = "8.35.0";
11590
11590
  function unbreakscape(str) {
11591
11591
  if (typeof str !== "string") return null;
11592
11592
  return instance3.unbreakscape(str);
@@ -11776,100 +11776,101 @@ function peg$parse(input, options) {
11776
11776
  const peg$c35 = "=";
11777
11777
  const peg$c36 = "|latex|";
11778
11778
  const peg$c37 = "|imageInline:";
11779
- const peg$c38 = "alignmentVertical";
11780
- const peg$c39 = "size";
11781
- const peg$c40 = "top";
11782
- const peg$c41 = "middle";
11783
- const peg$c42 = "bottom";
11784
- const peg$c43 = "baseline";
11785
- const peg$c44 = "sub";
11786
- const peg$c45 = "super";
11787
- const peg$c46 = "text-bottom";
11788
- const peg$c47 = "text-top";
11789
- const peg$c48 = "line-height";
11790
- const peg$c49 = "font-height";
11791
- const peg$c50 = "explicit";
11792
- const peg$c51 = "link:";
11793
- const peg$c52 = "extref:";
11794
- const peg$c53 = "provider:";
11795
- const peg$c54 = "xref:";
11796
- const peg$c55 = "\u25BA";
11797
- const peg$c56 = "symbol:";
11798
- const peg$c57 = "footnote:";
11799
- const peg$c58 = "footnote*:";
11800
- const peg$c59 = "var:";
11801
- const peg$c60 = "code:";
11802
- const peg$c61 = "timer";
11803
- const peg$c62 = "timer:";
11804
- const peg$c63 = "duration:";
11805
- const peg$c64 = "P";
11806
- const peg$c65 = "color:";
11807
- const peg$c66 = "|\u25BA";
11808
- const peg$c67 = "bold";
11809
- const peg$c68 = "italic";
11810
- const peg$c69 = "light";
11811
- const peg$c70 = "highlight";
11812
- const peg$c71 = "strike";
11813
- const peg$c72 = "subscript";
11814
- const peg$c73 = "superscript";
11815
- const peg$c74 = "ins";
11816
- const peg$c75 = "del";
11817
- const peg$c76 = "underline";
11818
- const peg$c77 = "doubleUnderline";
11819
- const peg$c78 = "circle";
11820
- const peg$c79 = "languageEmRed";
11821
- const peg$c80 = "languageEmOrange";
11822
- const peg$c81 = "languageEmYellow";
11823
- const peg$c82 = "languageEmGreen";
11824
- const peg$c83 = "languageEmBlue";
11825
- const peg$c84 = "languageEmPurple";
11826
- const peg$c85 = "languageEmPink";
11827
- const peg$c86 = "languageEmBrown";
11828
- const peg$c87 = "languageEmBlack";
11829
- const peg$c88 = "languageEmWhite";
11830
- const peg$c89 = "languageEmGray";
11831
- const peg$c90 = "languageEm";
11832
- const peg$c91 = "userUnderline";
11833
- const peg$c92 = "userDoubleUnderline";
11834
- const peg$c93 = "userStrike";
11835
- const peg$c94 = "userCircle";
11836
- const peg$c95 = "userHighlight";
11837
- const peg$c96 = "notranslate";
11838
- const peg$c97 = "aqua";
11839
- const peg$c98 = "black";
11840
- const peg$c99 = "blue";
11841
- const peg$c100 = "brown";
11842
- const peg$c101 = "fuchsia";
11843
- const peg$c102 = "lightgrey";
11844
- const peg$c103 = "gray";
11845
- const peg$c104 = "darkgray";
11846
- const peg$c105 = "green";
11847
- const peg$c106 = "lime";
11848
- const peg$c107 = "magenta";
11849
- const peg$c108 = "maroon";
11850
- const peg$c109 = "navy";
11851
- const peg$c110 = "olive";
11852
- const peg$c111 = "orange";
11853
- const peg$c112 = "pink";
11854
- const peg$c113 = "purple";
11855
- const peg$c114 = "red";
11856
- const peg$c115 = "silver";
11857
- const peg$c116 = "teal";
11858
- const peg$c117 = "violet";
11859
- const peg$c118 = "white";
11860
- const peg$c119 = "yellow";
11861
- const peg$c120 = "*";
11862
- const peg$c121 = "_";
11863
- const peg$c122 = "`";
11864
- const peg$c123 = "!";
11865
- const peg$c124 = "[!";
11866
- const peg$c125 = "]";
11867
- const peg$c126 = "\n";
11868
- const peg$c127 = "\r\n";
11869
- const peg$c128 = "http";
11870
- const peg$c129 = "s";
11871
- const peg$c130 = "://";
11872
- const peg$c131 = "mailto:";
11779
+ const peg$c38 = "srcAlt";
11780
+ const peg$c39 = "alignmentVertical";
11781
+ const peg$c40 = "size";
11782
+ const peg$c41 = "top";
11783
+ const peg$c42 = "middle";
11784
+ const peg$c43 = "bottom";
11785
+ const peg$c44 = "baseline";
11786
+ const peg$c45 = "sub";
11787
+ const peg$c46 = "super";
11788
+ const peg$c47 = "text-bottom";
11789
+ const peg$c48 = "text-top";
11790
+ const peg$c49 = "line-height";
11791
+ const peg$c50 = "font-height";
11792
+ const peg$c51 = "explicit";
11793
+ const peg$c52 = "link:";
11794
+ const peg$c53 = "extref:";
11795
+ const peg$c54 = "provider:";
11796
+ const peg$c55 = "xref:";
11797
+ const peg$c56 = "\u25BA";
11798
+ const peg$c57 = "symbol:";
11799
+ const peg$c58 = "footnote:";
11800
+ const peg$c59 = "footnote*:";
11801
+ const peg$c60 = "var:";
11802
+ const peg$c61 = "code:";
11803
+ const peg$c62 = "timer";
11804
+ const peg$c63 = "timer:";
11805
+ const peg$c64 = "duration:";
11806
+ const peg$c65 = "P";
11807
+ const peg$c66 = "color:";
11808
+ const peg$c67 = "|\u25BA";
11809
+ const peg$c68 = "bold";
11810
+ const peg$c69 = "italic";
11811
+ const peg$c70 = "light";
11812
+ const peg$c71 = "highlight";
11813
+ const peg$c72 = "strike";
11814
+ const peg$c73 = "subscript";
11815
+ const peg$c74 = "superscript";
11816
+ const peg$c75 = "ins";
11817
+ const peg$c76 = "del";
11818
+ const peg$c77 = "underline";
11819
+ const peg$c78 = "doubleUnderline";
11820
+ const peg$c79 = "circle";
11821
+ const peg$c80 = "languageEmRed";
11822
+ const peg$c81 = "languageEmOrange";
11823
+ const peg$c82 = "languageEmYellow";
11824
+ const peg$c83 = "languageEmGreen";
11825
+ const peg$c84 = "languageEmBlue";
11826
+ const peg$c85 = "languageEmPurple";
11827
+ const peg$c86 = "languageEmPink";
11828
+ const peg$c87 = "languageEmBrown";
11829
+ const peg$c88 = "languageEmBlack";
11830
+ const peg$c89 = "languageEmWhite";
11831
+ const peg$c90 = "languageEmGray";
11832
+ const peg$c91 = "languageEm";
11833
+ const peg$c92 = "userUnderline";
11834
+ const peg$c93 = "userDoubleUnderline";
11835
+ const peg$c94 = "userStrike";
11836
+ const peg$c95 = "userCircle";
11837
+ const peg$c96 = "userHighlight";
11838
+ const peg$c97 = "notranslate";
11839
+ const peg$c98 = "aqua";
11840
+ const peg$c99 = "black";
11841
+ const peg$c100 = "blue";
11842
+ const peg$c101 = "brown";
11843
+ const peg$c102 = "fuchsia";
11844
+ const peg$c103 = "lightgrey";
11845
+ const peg$c104 = "gray";
11846
+ const peg$c105 = "darkgray";
11847
+ const peg$c106 = "green";
11848
+ const peg$c107 = "lime";
11849
+ const peg$c108 = "magenta";
11850
+ const peg$c109 = "maroon";
11851
+ const peg$c110 = "navy";
11852
+ const peg$c111 = "olive";
11853
+ const peg$c112 = "orange";
11854
+ const peg$c113 = "pink";
11855
+ const peg$c114 = "purple";
11856
+ const peg$c115 = "red";
11857
+ const peg$c116 = "silver";
11858
+ const peg$c117 = "teal";
11859
+ const peg$c118 = "violet";
11860
+ const peg$c119 = "white";
11861
+ const peg$c120 = "yellow";
11862
+ const peg$c121 = "*";
11863
+ const peg$c122 = "_";
11864
+ const peg$c123 = "`";
11865
+ const peg$c124 = "!";
11866
+ const peg$c125 = "[!";
11867
+ const peg$c126 = "]";
11868
+ const peg$c127 = "\n";
11869
+ const peg$c128 = "\r\n";
11870
+ const peg$c129 = "http";
11871
+ const peg$c130 = "s";
11872
+ const peg$c131 = "://";
11873
+ const peg$c132 = "mailto:";
11873
11874
  const peg$r0 = /^[ \t]/;
11874
11875
  const peg$r1 = /^[0-9]/;
11875
11876
  const peg$r2 = /^[\r\u2028-\u2029]/;
@@ -11917,104 +11918,105 @@ function peg$parse(input, options) {
11917
11918
  const peg$e39 = peg$literalExpectation("=", false);
11918
11919
  const peg$e40 = peg$literalExpectation("|latex|", false);
11919
11920
  const peg$e41 = peg$literalExpectation("|imageInline:", false);
11920
- const peg$e42 = peg$literalExpectation("alignmentVertical", false);
11921
- const peg$e43 = peg$literalExpectation("size", false);
11922
- const peg$e44 = peg$literalExpectation("top", false);
11923
- const peg$e45 = peg$literalExpectation("middle", false);
11924
- const peg$e46 = peg$literalExpectation("bottom", false);
11925
- const peg$e47 = peg$literalExpectation("baseline", false);
11926
- const peg$e48 = peg$literalExpectation("sub", false);
11927
- const peg$e49 = peg$literalExpectation("super", false);
11928
- const peg$e50 = peg$literalExpectation("text-bottom", false);
11929
- const peg$e51 = peg$literalExpectation("text-top", false);
11930
- const peg$e52 = peg$literalExpectation("line-height", false);
11931
- const peg$e53 = peg$literalExpectation("font-height", false);
11932
- const peg$e54 = peg$literalExpectation("explicit", false);
11933
- const peg$e55 = peg$literalExpectation("link:", false);
11934
- const peg$e56 = peg$literalExpectation("extref:", false);
11935
- const peg$e57 = peg$literalExpectation("provider:", false);
11936
- const peg$e58 = peg$literalExpectation("xref:", false);
11937
- const peg$e59 = peg$literalExpectation("\u25BA", false);
11938
- const peg$e60 = peg$literalExpectation("symbol:", false);
11939
- const peg$e61 = peg$literalExpectation("footnote:", false);
11940
- const peg$e62 = peg$literalExpectation("footnote*:", false);
11941
- const peg$e63 = peg$literalExpectation("var:", false);
11942
- const peg$e64 = peg$literalExpectation("code:", false);
11943
- const peg$e65 = peg$literalExpectation("timer", false);
11944
- const peg$e66 = peg$literalExpectation("timer:", false);
11945
- const peg$e67 = peg$literalExpectation("duration:", false);
11946
- const peg$e68 = peg$literalExpectation("P", false);
11947
- const peg$e69 = peg$literalExpectation("color:", false);
11948
- const peg$e70 = peg$literalExpectation("|\u25BA", false);
11949
- const peg$e71 = peg$literalExpectation("bold", false);
11950
- const peg$e72 = peg$literalExpectation("italic", false);
11951
- const peg$e73 = peg$literalExpectation("light", false);
11952
- const peg$e74 = peg$literalExpectation("highlight", false);
11953
- const peg$e75 = peg$literalExpectation("strike", false);
11954
- const peg$e76 = peg$literalExpectation("subscript", false);
11955
- const peg$e77 = peg$literalExpectation("superscript", false);
11956
- const peg$e78 = peg$literalExpectation("ins", false);
11957
- const peg$e79 = peg$literalExpectation("del", false);
11958
- const peg$e80 = peg$literalExpectation("underline", false);
11959
- const peg$e81 = peg$literalExpectation("doubleUnderline", false);
11960
- const peg$e82 = peg$literalExpectation("circle", false);
11961
- const peg$e83 = peg$literalExpectation("languageEmRed", false);
11962
- const peg$e84 = peg$literalExpectation("languageEmOrange", false);
11963
- const peg$e85 = peg$literalExpectation("languageEmYellow", false);
11964
- const peg$e86 = peg$literalExpectation("languageEmGreen", false);
11965
- const peg$e87 = peg$literalExpectation("languageEmBlue", false);
11966
- const peg$e88 = peg$literalExpectation("languageEmPurple", false);
11967
- const peg$e89 = peg$literalExpectation("languageEmPink", false);
11968
- const peg$e90 = peg$literalExpectation("languageEmBrown", false);
11969
- const peg$e91 = peg$literalExpectation("languageEmBlack", false);
11970
- const peg$e92 = peg$literalExpectation("languageEmWhite", false);
11971
- const peg$e93 = peg$literalExpectation("languageEmGray", false);
11972
- const peg$e94 = peg$literalExpectation("languageEm", false);
11973
- const peg$e95 = peg$literalExpectation("userUnderline", false);
11974
- const peg$e96 = peg$literalExpectation("userDoubleUnderline", false);
11975
- const peg$e97 = peg$literalExpectation("userStrike", false);
11976
- const peg$e98 = peg$literalExpectation("userCircle", false);
11977
- const peg$e99 = peg$literalExpectation("userHighlight", false);
11978
- const peg$e100 = peg$literalExpectation("notranslate", false);
11979
- const peg$e101 = peg$literalExpectation("aqua", false);
11980
- const peg$e102 = peg$literalExpectation("black", false);
11981
- const peg$e103 = peg$literalExpectation("blue", false);
11982
- const peg$e104 = peg$literalExpectation("brown", false);
11983
- const peg$e105 = peg$literalExpectation("fuchsia", false);
11984
- const peg$e106 = peg$literalExpectation("lightgrey", false);
11985
- const peg$e107 = peg$literalExpectation("gray", false);
11986
- const peg$e108 = peg$literalExpectation("darkgray", false);
11987
- const peg$e109 = peg$literalExpectation("green", false);
11988
- const peg$e110 = peg$literalExpectation("lime", false);
11989
- const peg$e111 = peg$literalExpectation("magenta", false);
11990
- const peg$e112 = peg$literalExpectation("maroon", false);
11991
- const peg$e113 = peg$literalExpectation("navy", false);
11992
- const peg$e114 = peg$literalExpectation("olive", false);
11993
- const peg$e115 = peg$literalExpectation("orange", false);
11994
- const peg$e116 = peg$literalExpectation("pink", false);
11995
- const peg$e117 = peg$literalExpectation("purple", false);
11996
- const peg$e118 = peg$literalExpectation("red", false);
11997
- const peg$e119 = peg$literalExpectation("silver", false);
11998
- const peg$e120 = peg$literalExpectation("teal", false);
11999
- const peg$e121 = peg$literalExpectation("violet", false);
12000
- const peg$e122 = peg$literalExpectation("white", false);
12001
- const peg$e123 = peg$literalExpectation("yellow", false);
12002
- const peg$e124 = peg$literalExpectation("*", false);
12003
- const peg$e125 = peg$literalExpectation("_", false);
12004
- const peg$e126 = peg$literalExpectation("`", false);
12005
- const peg$e127 = peg$literalExpectation("!", false);
12006
- const peg$e128 = peg$literalExpectation("[!", false);
12007
- const peg$e129 = peg$literalExpectation("]", false);
12008
- const peg$e130 = peg$otherExpectation("Line Terminator");
12009
- const peg$e131 = peg$literalExpectation("\n", false);
12010
- const peg$e132 = peg$literalExpectation("\r\n", false);
12011
- const peg$e133 = peg$classExpectation(["\r", ["\u2028", "\u2029"]], false, false, false);
12012
- const peg$e134 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false, false);
12013
- const peg$e135 = peg$literalExpectation("http", false);
12014
- const peg$e136 = peg$literalExpectation("s", false);
12015
- const peg$e137 = peg$literalExpectation("://", false);
12016
- const peg$e138 = peg$literalExpectation("mailto:", false);
12017
- const peg$e139 = peg$classExpectation(["!", ["#", ";"], "=", ["?", "["], ["]", "_"], ["a", "{"], ["}", "~"]], false, false, false);
11921
+ const peg$e42 = peg$literalExpectation("srcAlt", false);
11922
+ const peg$e43 = peg$literalExpectation("alignmentVertical", false);
11923
+ const peg$e44 = peg$literalExpectation("size", false);
11924
+ const peg$e45 = peg$literalExpectation("top", false);
11925
+ const peg$e46 = peg$literalExpectation("middle", false);
11926
+ const peg$e47 = peg$literalExpectation("bottom", false);
11927
+ const peg$e48 = peg$literalExpectation("baseline", false);
11928
+ const peg$e49 = peg$literalExpectation("sub", false);
11929
+ const peg$e50 = peg$literalExpectation("super", false);
11930
+ const peg$e51 = peg$literalExpectation("text-bottom", false);
11931
+ const peg$e52 = peg$literalExpectation("text-top", false);
11932
+ const peg$e53 = peg$literalExpectation("line-height", false);
11933
+ const peg$e54 = peg$literalExpectation("font-height", false);
11934
+ const peg$e55 = peg$literalExpectation("explicit", false);
11935
+ const peg$e56 = peg$literalExpectation("link:", false);
11936
+ const peg$e57 = peg$literalExpectation("extref:", false);
11937
+ const peg$e58 = peg$literalExpectation("provider:", false);
11938
+ const peg$e59 = peg$literalExpectation("xref:", false);
11939
+ const peg$e60 = peg$literalExpectation("\u25BA", false);
11940
+ const peg$e61 = peg$literalExpectation("symbol:", false);
11941
+ const peg$e62 = peg$literalExpectation("footnote:", false);
11942
+ const peg$e63 = peg$literalExpectation("footnote*:", false);
11943
+ const peg$e64 = peg$literalExpectation("var:", false);
11944
+ const peg$e65 = peg$literalExpectation("code:", false);
11945
+ const peg$e66 = peg$literalExpectation("timer", false);
11946
+ const peg$e67 = peg$literalExpectation("timer:", false);
11947
+ const peg$e68 = peg$literalExpectation("duration:", false);
11948
+ const peg$e69 = peg$literalExpectation("P", false);
11949
+ const peg$e70 = peg$literalExpectation("color:", false);
11950
+ const peg$e71 = peg$literalExpectation("|\u25BA", false);
11951
+ const peg$e72 = peg$literalExpectation("bold", false);
11952
+ const peg$e73 = peg$literalExpectation("italic", false);
11953
+ const peg$e74 = peg$literalExpectation("light", false);
11954
+ const peg$e75 = peg$literalExpectation("highlight", false);
11955
+ const peg$e76 = peg$literalExpectation("strike", false);
11956
+ const peg$e77 = peg$literalExpectation("subscript", false);
11957
+ const peg$e78 = peg$literalExpectation("superscript", false);
11958
+ const peg$e79 = peg$literalExpectation("ins", false);
11959
+ const peg$e80 = peg$literalExpectation("del", false);
11960
+ const peg$e81 = peg$literalExpectation("underline", false);
11961
+ const peg$e82 = peg$literalExpectation("doubleUnderline", false);
11962
+ const peg$e83 = peg$literalExpectation("circle", false);
11963
+ const peg$e84 = peg$literalExpectation("languageEmRed", false);
11964
+ const peg$e85 = peg$literalExpectation("languageEmOrange", false);
11965
+ const peg$e86 = peg$literalExpectation("languageEmYellow", false);
11966
+ const peg$e87 = peg$literalExpectation("languageEmGreen", false);
11967
+ const peg$e88 = peg$literalExpectation("languageEmBlue", false);
11968
+ const peg$e89 = peg$literalExpectation("languageEmPurple", false);
11969
+ const peg$e90 = peg$literalExpectation("languageEmPink", false);
11970
+ const peg$e91 = peg$literalExpectation("languageEmBrown", false);
11971
+ const peg$e92 = peg$literalExpectation("languageEmBlack", false);
11972
+ const peg$e93 = peg$literalExpectation("languageEmWhite", false);
11973
+ const peg$e94 = peg$literalExpectation("languageEmGray", false);
11974
+ const peg$e95 = peg$literalExpectation("languageEm", false);
11975
+ const peg$e96 = peg$literalExpectation("userUnderline", false);
11976
+ const peg$e97 = peg$literalExpectation("userDoubleUnderline", false);
11977
+ const peg$e98 = peg$literalExpectation("userStrike", false);
11978
+ const peg$e99 = peg$literalExpectation("userCircle", false);
11979
+ const peg$e100 = peg$literalExpectation("userHighlight", false);
11980
+ const peg$e101 = peg$literalExpectation("notranslate", false);
11981
+ const peg$e102 = peg$literalExpectation("aqua", false);
11982
+ const peg$e103 = peg$literalExpectation("black", false);
11983
+ const peg$e104 = peg$literalExpectation("blue", false);
11984
+ const peg$e105 = peg$literalExpectation("brown", false);
11985
+ const peg$e106 = peg$literalExpectation("fuchsia", false);
11986
+ const peg$e107 = peg$literalExpectation("lightgrey", false);
11987
+ const peg$e108 = peg$literalExpectation("gray", false);
11988
+ const peg$e109 = peg$literalExpectation("darkgray", false);
11989
+ const peg$e110 = peg$literalExpectation("green", false);
11990
+ const peg$e111 = peg$literalExpectation("lime", false);
11991
+ const peg$e112 = peg$literalExpectation("magenta", false);
11992
+ const peg$e113 = peg$literalExpectation("maroon", false);
11993
+ const peg$e114 = peg$literalExpectation("navy", false);
11994
+ const peg$e115 = peg$literalExpectation("olive", false);
11995
+ const peg$e116 = peg$literalExpectation("orange", false);
11996
+ const peg$e117 = peg$literalExpectation("pink", false);
11997
+ const peg$e118 = peg$literalExpectation("purple", false);
11998
+ const peg$e119 = peg$literalExpectation("red", false);
11999
+ const peg$e120 = peg$literalExpectation("silver", false);
12000
+ const peg$e121 = peg$literalExpectation("teal", false);
12001
+ const peg$e122 = peg$literalExpectation("violet", false);
12002
+ const peg$e123 = peg$literalExpectation("white", false);
12003
+ const peg$e124 = peg$literalExpectation("yellow", false);
12004
+ const peg$e125 = peg$literalExpectation("*", false);
12005
+ const peg$e126 = peg$literalExpectation("_", false);
12006
+ const peg$e127 = peg$literalExpectation("`", false);
12007
+ const peg$e128 = peg$literalExpectation("!", false);
12008
+ const peg$e129 = peg$literalExpectation("[!", false);
12009
+ const peg$e130 = peg$literalExpectation("]", false);
12010
+ const peg$e131 = peg$otherExpectation("Line Terminator");
12011
+ const peg$e132 = peg$literalExpectation("\n", false);
12012
+ const peg$e133 = peg$literalExpectation("\r\n", false);
12013
+ const peg$e134 = peg$classExpectation(["\r", ["\u2028", "\u2029"]], false, false, false);
12014
+ const peg$e135 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false, false);
12015
+ const peg$e136 = peg$literalExpectation("http", false);
12016
+ const peg$e137 = peg$literalExpectation("s", false);
12017
+ const peg$e138 = peg$literalExpectation("://", false);
12018
+ const peg$e139 = peg$literalExpectation("mailto:", false);
12019
+ const peg$e140 = peg$classExpectation(["!", ["#", ";"], "=", ["?", "["], ["]", "_"], ["a", "{"], ["}", "~"]], false, false, false);
12018
12020
  function peg$f0() {
12019
12021
  return VERSION;
12020
12022
  }
@@ -12321,101 +12323,104 @@ function peg$parse(input, options) {
12321
12323
  return { comment: str };
12322
12324
  }
12323
12325
  function peg$f67(p, v) {
12324
- return { [p]: parseInt(v) };
12326
+ return { [p]: v };
12325
12327
  }
12326
12328
  function peg$f68(p, v) {
12327
- return { type: "error", msg: p + " must be a positive integer.", found: v };
12329
+ return { [p]: parseInt(v) };
12328
12330
  }
12329
12331
  function peg$f69(p, v) {
12330
- return { [p]: v };
12332
+ return { type: "error", msg: p + " must be a positive integer.", found: v };
12331
12333
  }
12332
12334
  function peg$f70(p, v) {
12333
12335
  return { [p]: v };
12334
12336
  }
12335
- function peg$f71(str) {
12337
+ function peg$f71(p, v) {
12338
+ return { [p]: v };
12339
+ }
12340
+ function peg$f72(str) {
12336
12341
  return { type: "link", attrs: { href: str.trim(), target: "_blank" } };
12337
12342
  }
12338
- function peg$f72(str, rc, p) {
12343
+ function peg$f73(str, rc, p) {
12339
12344
  return { type: "extref", attrs: { extref: str.trim(), references: rc, provider: p.trim() } };
12340
12345
  }
12341
- function peg$f73(str, str2) {
12346
+ function peg$f74(str, str2) {
12342
12347
  return { type: "xref", attrs: { xref: str.trim(), reference: str2.trim() } };
12343
12348
  }
12344
- function peg$f74(str) {
12349
+ function peg$f75(str) {
12345
12350
  return { type: "xref", attrs: { xref: str.trim(), reference: "" } };
12346
12351
  }
12347
- function peg$f75(str) {
12352
+ function peg$f76(str) {
12348
12353
  return { type: "ref", attrs: { reference: str.trim() } };
12349
12354
  }
12350
- function peg$f76(str, ch) {
12355
+ function peg$f77(str, ch) {
12351
12356
  const chain = Object.assign({}, ...ch);
12352
12357
  return { type: "symbol", attrs: { src: str.trim(), ...chain } };
12353
12358
  }
12354
- function peg$f77(str) {
12359
+ function peg$f78(str) {
12355
12360
  return { type: "footnote", attrs: { content: bitmarkPlusString(str.trim()) } };
12356
12361
  }
12357
- function peg$f78(str) {
12362
+ function peg$f79(str) {
12358
12363
  return { type: "footnote*", attrs: { content: bitmarkPlusString(str.trim()) } };
12359
12364
  }
12360
- function peg$f79(str) {
12365
+ function peg$f80(str) {
12361
12366
  return { type: "var", attrs: { name: str.trim() } };
12362
12367
  }
12363
- function peg$f80() {
12368
+ function peg$f81() {
12364
12369
  return { type: "code", attrs: { language: "plain text" } };
12365
12370
  }
12366
- function peg$f81(lang) {
12371
+ function peg$f82(lang) {
12367
12372
  return { type: "code", attrs: { language: lang.trim().toLowerCase() } };
12368
12373
  }
12369
- function peg$f82() {
12374
+ function peg$f83() {
12370
12375
  return { type: "timer", attrs: { name: "" } };
12371
12376
  }
12372
- function peg$f83(str) {
12377
+ function peg$f84(str) {
12373
12378
  return { type: "timer", attrs: { name: str.trim() } };
12374
12379
  }
12375
- function peg$f84(str) {
12380
+ function peg$f85(str) {
12376
12381
  return { type: "duration", attrs: { duration: str } };
12377
12382
  }
12378
- function peg$f85(color) {
12383
+ function peg$f86(color) {
12379
12384
  return { type: "color", attrs: { color } };
12380
12385
  }
12381
- function peg$f86(style) {
12386
+ function peg$f87(style) {
12382
12387
  return { type: style };
12383
12388
  }
12384
- function peg$f87(str) {
12389
+ function peg$f88(str) {
12385
12390
  return { type: "comment", comment: str };
12386
12391
  }
12387
- function peg$f88(r) {
12392
+ function peg$f89(r) {
12388
12393
  return r.trim();
12389
12394
  }
12390
- function peg$f89(bs) {
12395
+ function peg$f90(bs) {
12391
12396
  return [{ type: "paragraph", content: bs, attrs: {} }];
12392
12397
  }
12393
- function peg$f90(first, more) {
12398
+ function peg$f91(first, more) {
12394
12399
  const cleaned_ = cleanEmptyTextNodes(first ? [first, ...more.flat()] : more.flat());
12395
12400
  return cleaned_;
12396
12401
  }
12397
- function peg$f91() {
12402
+ function peg$f92() {
12398
12403
  return { "type": "hardBreak" };
12399
12404
  }
12400
- function peg$f92(t) {
12405
+ function peg$f93(t) {
12401
12406
  return { text: unbreakscape(t), type: "text" };
12402
12407
  }
12403
- function peg$f93(t) {
12408
+ function peg$f94(t) {
12404
12409
  return { index: +t, type: "bit" };
12405
12410
  }
12406
- function peg$f94(t) {
12411
+ function peg$f95(t) {
12407
12412
  return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" };
12408
12413
  }
12409
- function peg$f95(t) {
12414
+ function peg$f96(t) {
12410
12415
  return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" };
12411
12416
  }
12412
- function peg$f96(t) {
12417
+ function peg$f97(t) {
12413
12418
  return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" };
12414
12419
  }
12415
- function peg$f97(t) {
12420
+ function peg$f98(t) {
12416
12421
  return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" };
12417
12422
  }
12418
- function peg$f98(pr, t) {
12423
+ function peg$f99(pr, t) {
12419
12424
  return { pr, t };
12420
12425
  }
12421
12426
  let peg$currPos = options.peg$currPos | 0;
@@ -16597,7 +16602,15 @@ function peg$parse(input, options) {
16597
16602
  if (s1 === peg$FAILED) {
16598
16603
  s1 = null;
16599
16604
  }
16600
- s2 = peg$parseMediaSizeTags();
16605
+ if (input.substr(peg$currPos, 6) === peg$c38) {
16606
+ s2 = peg$c38;
16607
+ peg$currPos += 6;
16608
+ } else {
16609
+ s2 = peg$FAILED;
16610
+ if (peg$silentFails === 0) {
16611
+ peg$fail(peg$e42);
16612
+ }
16613
+ }
16601
16614
  if (s2 !== peg$FAILED) {
16602
16615
  if (input.charCodeAt(peg$currPos) === 58) {
16603
16616
  s3 = peg$c5;
@@ -16645,15 +16658,7 @@ function peg$parse(input, options) {
16645
16658
  s8 = peg$FAILED;
16646
16659
  }
16647
16660
  if (s8 !== peg$FAILED) {
16648
- s9 = input.charAt(peg$currPos);
16649
- if (peg$r1.test(s9)) {
16650
- peg$currPos++;
16651
- } else {
16652
- s9 = peg$FAILED;
16653
- if (peg$silentFails === 0) {
16654
- peg$fail(peg$e15);
16655
- }
16656
- }
16661
+ s9 = peg$parsechar();
16657
16662
  if (s9 !== peg$FAILED) {
16658
16663
  s8 = [s8, s9];
16659
16664
  s7 = s8;
@@ -16665,59 +16670,38 @@ function peg$parse(input, options) {
16665
16670
  peg$currPos = s7;
16666
16671
  s7 = peg$FAILED;
16667
16672
  }
16668
- if (s7 !== peg$FAILED) {
16669
- while (s7 !== peg$FAILED) {
16670
- s6.push(s7);
16671
- s7 = peg$currPos;
16672
- s8 = peg$currPos;
16673
- peg$silentFails++;
16674
- s9 = peg$parseBlockTag();
16675
- peg$silentFails--;
16676
- if (s9 === peg$FAILED) {
16677
- s8 = void 0;
16678
- } else {
16679
- peg$currPos = s8;
16680
- s8 = peg$FAILED;
16681
- }
16682
- if (s8 !== peg$FAILED) {
16683
- s9 = input.charAt(peg$currPos);
16684
- if (peg$r1.test(s9)) {
16685
- peg$currPos++;
16686
- } else {
16687
- s9 = peg$FAILED;
16688
- if (peg$silentFails === 0) {
16689
- peg$fail(peg$e15);
16690
- }
16691
- }
16692
- if (s9 !== peg$FAILED) {
16693
- s8 = [s8, s9];
16694
- s7 = s8;
16695
- } else {
16696
- peg$currPos = s7;
16697
- s7 = peg$FAILED;
16698
- }
16673
+ while (s7 !== peg$FAILED) {
16674
+ s6.push(s7);
16675
+ s7 = peg$currPos;
16676
+ s8 = peg$currPos;
16677
+ peg$silentFails++;
16678
+ s9 = peg$parseBlockTag();
16679
+ peg$silentFails--;
16680
+ if (s9 === peg$FAILED) {
16681
+ s8 = void 0;
16682
+ } else {
16683
+ peg$currPos = s8;
16684
+ s8 = peg$FAILED;
16685
+ }
16686
+ if (s8 !== peg$FAILED) {
16687
+ s9 = peg$parsechar();
16688
+ if (s9 !== peg$FAILED) {
16689
+ s8 = [s8, s9];
16690
+ s7 = s8;
16699
16691
  } else {
16700
16692
  peg$currPos = s7;
16701
16693
  s7 = peg$FAILED;
16702
16694
  }
16695
+ } else {
16696
+ peg$currPos = s7;
16697
+ s7 = peg$FAILED;
16703
16698
  }
16704
- } else {
16705
- s6 = peg$FAILED;
16706
16699
  }
16700
+ s5 = input.substring(s5, peg$currPos);
16701
+ s6 = peg$parseBlockTag();
16707
16702
  if (s6 !== peg$FAILED) {
16708
- s5 = input.substring(s5, peg$currPos);
16709
- } else {
16710
- s5 = s6;
16711
- }
16712
- if (s5 !== peg$FAILED) {
16713
- s6 = peg$parseBlockTag();
16714
- if (s6 !== peg$FAILED) {
16715
- peg$savedPos = s0;
16716
- s0 = peg$f67(s2, s5);
16717
- } else {
16718
- peg$currPos = s0;
16719
- s0 = peg$FAILED;
16720
- }
16703
+ peg$savedPos = s0;
16704
+ s0 = peg$f67(s2, s5);
16721
16705
  } else {
16722
16706
  peg$currPos = s0;
16723
16707
  s0 = peg$FAILED;
@@ -16792,7 +16776,15 @@ function peg$parse(input, options) {
16792
16776
  s8 = peg$FAILED;
16793
16777
  }
16794
16778
  if (s8 !== peg$FAILED) {
16795
- s9 = peg$parsechar();
16779
+ s9 = input.charAt(peg$currPos);
16780
+ if (peg$r1.test(s9)) {
16781
+ peg$currPos++;
16782
+ } else {
16783
+ s9 = peg$FAILED;
16784
+ if (peg$silentFails === 0) {
16785
+ peg$fail(peg$e15);
16786
+ }
16787
+ }
16796
16788
  if (s9 !== peg$FAILED) {
16797
16789
  s8 = [s8, s9];
16798
16790
  s7 = s8;
@@ -16804,38 +16796,59 @@ function peg$parse(input, options) {
16804
16796
  peg$currPos = s7;
16805
16797
  s7 = peg$FAILED;
16806
16798
  }
16807
- while (s7 !== peg$FAILED) {
16808
- s6.push(s7);
16809
- s7 = peg$currPos;
16810
- s8 = peg$currPos;
16811
- peg$silentFails++;
16812
- s9 = peg$parseBlockTag();
16813
- peg$silentFails--;
16814
- if (s9 === peg$FAILED) {
16815
- s8 = void 0;
16816
- } else {
16817
- peg$currPos = s8;
16818
- s8 = peg$FAILED;
16819
- }
16820
- if (s8 !== peg$FAILED) {
16821
- s9 = peg$parsechar();
16822
- if (s9 !== peg$FAILED) {
16823
- s8 = [s8, s9];
16824
- s7 = s8;
16799
+ if (s7 !== peg$FAILED) {
16800
+ while (s7 !== peg$FAILED) {
16801
+ s6.push(s7);
16802
+ s7 = peg$currPos;
16803
+ s8 = peg$currPos;
16804
+ peg$silentFails++;
16805
+ s9 = peg$parseBlockTag();
16806
+ peg$silentFails--;
16807
+ if (s9 === peg$FAILED) {
16808
+ s8 = void 0;
16809
+ } else {
16810
+ peg$currPos = s8;
16811
+ s8 = peg$FAILED;
16812
+ }
16813
+ if (s8 !== peg$FAILED) {
16814
+ s9 = input.charAt(peg$currPos);
16815
+ if (peg$r1.test(s9)) {
16816
+ peg$currPos++;
16817
+ } else {
16818
+ s9 = peg$FAILED;
16819
+ if (peg$silentFails === 0) {
16820
+ peg$fail(peg$e15);
16821
+ }
16822
+ }
16823
+ if (s9 !== peg$FAILED) {
16824
+ s8 = [s8, s9];
16825
+ s7 = s8;
16826
+ } else {
16827
+ peg$currPos = s7;
16828
+ s7 = peg$FAILED;
16829
+ }
16825
16830
  } else {
16826
16831
  peg$currPos = s7;
16827
16832
  s7 = peg$FAILED;
16828
16833
  }
16829
- } else {
16830
- peg$currPos = s7;
16831
- s7 = peg$FAILED;
16832
16834
  }
16835
+ } else {
16836
+ s6 = peg$FAILED;
16833
16837
  }
16834
- s5 = input.substring(s5, peg$currPos);
16835
- s6 = peg$parseBlockTag();
16836
16838
  if (s6 !== peg$FAILED) {
16837
- peg$savedPos = s0;
16838
- s0 = peg$f68(s2, s5);
16839
+ s5 = input.substring(s5, peg$currPos);
16840
+ } else {
16841
+ s5 = s6;
16842
+ }
16843
+ if (s5 !== peg$FAILED) {
16844
+ s6 = peg$parseBlockTag();
16845
+ if (s6 !== peg$FAILED) {
16846
+ peg$savedPos = s0;
16847
+ s0 = peg$f68(s2, s5);
16848
+ } else {
16849
+ peg$currPos = s0;
16850
+ s0 = peg$FAILED;
16851
+ }
16839
16852
  } else {
16840
16853
  peg$currPos = s0;
16841
16854
  s0 = peg$FAILED;
@@ -16862,15 +16875,7 @@ function peg$parse(input, options) {
16862
16875
  if (s1 === peg$FAILED) {
16863
16876
  s1 = null;
16864
16877
  }
16865
- if (input.substr(peg$currPos, 17) === peg$c38) {
16866
- s2 = peg$c38;
16867
- peg$currPos += 17;
16868
- } else {
16869
- s2 = peg$FAILED;
16870
- if (peg$silentFails === 0) {
16871
- peg$fail(peg$e42);
16872
- }
16873
- }
16878
+ s2 = peg$parseMediaSizeTags();
16874
16879
  if (s2 !== peg$FAILED) {
16875
16880
  if (input.charCodeAt(peg$currPos) === 58) {
16876
16881
  s3 = peg$c5;
@@ -16904,16 +16909,64 @@ function peg$parse(input, options) {
16904
16909
  }
16905
16910
  }
16906
16911
  }
16907
- s5 = peg$parseInlineMediaAlignment();
16908
- if (s5 !== peg$FAILED) {
16909
- s6 = peg$parseBlockTag();
16910
- if (s6 !== peg$FAILED) {
16911
- peg$savedPos = s0;
16912
- s0 = peg$f69(s2, s5);
16912
+ s5 = peg$currPos;
16913
+ s6 = [];
16914
+ s7 = peg$currPos;
16915
+ s8 = peg$currPos;
16916
+ peg$silentFails++;
16917
+ s9 = peg$parseBlockTag();
16918
+ peg$silentFails--;
16919
+ if (s9 === peg$FAILED) {
16920
+ s8 = void 0;
16921
+ } else {
16922
+ peg$currPos = s8;
16923
+ s8 = peg$FAILED;
16924
+ }
16925
+ if (s8 !== peg$FAILED) {
16926
+ s9 = peg$parsechar();
16927
+ if (s9 !== peg$FAILED) {
16928
+ s8 = [s8, s9];
16929
+ s7 = s8;
16913
16930
  } else {
16914
- peg$currPos = s0;
16915
- s0 = peg$FAILED;
16931
+ peg$currPos = s7;
16932
+ s7 = peg$FAILED;
16933
+ }
16934
+ } else {
16935
+ peg$currPos = s7;
16936
+ s7 = peg$FAILED;
16937
+ }
16938
+ while (s7 !== peg$FAILED) {
16939
+ s6.push(s7);
16940
+ s7 = peg$currPos;
16941
+ s8 = peg$currPos;
16942
+ peg$silentFails++;
16943
+ s9 = peg$parseBlockTag();
16944
+ peg$silentFails--;
16945
+ if (s9 === peg$FAILED) {
16946
+ s8 = void 0;
16947
+ } else {
16948
+ peg$currPos = s8;
16949
+ s8 = peg$FAILED;
16916
16950
  }
16951
+ if (s8 !== peg$FAILED) {
16952
+ s9 = peg$parsechar();
16953
+ if (s9 !== peg$FAILED) {
16954
+ s8 = [s8, s9];
16955
+ s7 = s8;
16956
+ } else {
16957
+ peg$currPos = s7;
16958
+ s7 = peg$FAILED;
16959
+ }
16960
+ } else {
16961
+ peg$currPos = s7;
16962
+ s7 = peg$FAILED;
16963
+ }
16964
+ }
16965
+ s5 = input.substring(s5, peg$currPos);
16966
+ s6 = peg$parseBlockTag();
16967
+ if (s6 !== peg$FAILED) {
16968
+ peg$savedPos = s0;
16969
+ s0 = peg$f69(s2, s5);
16917
16970
  } else {
16918
16971
  peg$currPos = s0;
16919
16972
  s0 = peg$FAILED;
@@ -16940,9 +16993,9 @@ function peg$parse(input, options) {
16940
16993
  if (s1 === peg$FAILED) {
16941
16994
  s1 = null;
16942
16995
  }
16943
- if (input.substr(peg$currPos, 4) === peg$c39) {
16996
+ if (input.substr(peg$currPos, 17) === peg$c39) {
16944
16997
  s2 = peg$c39;
16945
- peg$currPos += 4;
16998
+ peg$currPos += 17;
16946
16999
  } else {
16947
17000
  s2 = peg$FAILED;
16948
17001
  if (peg$silentFails === 0) {
@@ -16982,7 +17035,7 @@ function peg$parse(input, options) {
16982
17035
  }
16983
17036
  }
16984
17037
  }
16985
- s5 = peg$parseInlineMediaSize();
17038
+ s5 = peg$parseInlineMediaAlignment();
16986
17039
  if (s5 !== peg$FAILED) {
16987
17040
  s6 = peg$parseBlockTag();
16988
17041
  if (s6 !== peg$FAILED) {
@@ -17004,6 +17057,85 @@ function peg$parse(input, options) {
17004
17057
  peg$currPos = s0;
17005
17058
  s0 = peg$FAILED;
17006
17059
  }
17060
+ if (s0 === peg$FAILED) {
17061
+ s0 = peg$currPos;
17062
+ if (input.charCodeAt(peg$currPos) === 64) {
17063
+ s1 = peg$c22;
17064
+ peg$currPos++;
17065
+ } else {
17066
+ s1 = peg$FAILED;
17067
+ if (peg$silentFails === 0) {
17068
+ peg$fail(peg$e26);
17069
+ }
17070
+ }
17071
+ if (s1 === peg$FAILED) {
17072
+ s1 = null;
17073
+ }
17074
+ if (input.substr(peg$currPos, 4) === peg$c40) {
17075
+ s2 = peg$c40;
17076
+ peg$currPos += 4;
17077
+ } else {
17078
+ s2 = peg$FAILED;
17079
+ if (peg$silentFails === 0) {
17080
+ peg$fail(peg$e44);
17081
+ }
17082
+ }
17083
+ if (s2 !== peg$FAILED) {
17084
+ if (input.charCodeAt(peg$currPos) === 58) {
17085
+ s3 = peg$c5;
17086
+ peg$currPos++;
17087
+ } else {
17088
+ s3 = peg$FAILED;
17089
+ if (peg$silentFails === 0) {
17090
+ peg$fail(peg$e8);
17091
+ }
17092
+ }
17093
+ if (s3 !== peg$FAILED) {
17094
+ s4 = [];
17095
+ if (input.charCodeAt(peg$currPos) === 32) {
17096
+ s5 = peg$c12;
17097
+ peg$currPos++;
17098
+ } else {
17099
+ s5 = peg$FAILED;
17100
+ if (peg$silentFails === 0) {
17101
+ peg$fail(peg$e16);
17102
+ }
17103
+ }
17104
+ while (s5 !== peg$FAILED) {
17105
+ s4.push(s5);
17106
+ if (input.charCodeAt(peg$currPos) === 32) {
17107
+ s5 = peg$c12;
17108
+ peg$currPos++;
17109
+ } else {
17110
+ s5 = peg$FAILED;
17111
+ if (peg$silentFails === 0) {
17112
+ peg$fail(peg$e16);
17113
+ }
17114
+ }
17115
+ }
17116
+ s5 = peg$parseInlineMediaSize();
17117
+ if (s5 !== peg$FAILED) {
17118
+ s6 = peg$parseBlockTag();
17119
+ if (s6 !== peg$FAILED) {
17120
+ peg$savedPos = s0;
17121
+ s0 = peg$f71(s2, s5);
17122
+ } else {
17123
+ peg$currPos = s0;
17124
+ s0 = peg$FAILED;
17125
+ }
17126
+ } else {
17127
+ peg$currPos = s0;
17128
+ s0 = peg$FAILED;
17129
+ }
17130
+ } else {
17131
+ peg$currPos = s0;
17132
+ s0 = peg$FAILED;
17133
+ }
17134
+ } else {
17135
+ peg$currPos = s0;
17136
+ s0 = peg$FAILED;
17137
+ }
17138
+ }
17007
17139
  }
17008
17140
  }
17009
17141
  }
@@ -17012,83 +17144,83 @@ function peg$parse(input, options) {
17012
17144
  }
17013
17145
  function peg$parseInlineMediaAlignment() {
17014
17146
  let s0;
17015
- if (input.substr(peg$currPos, 3) === peg$c40) {
17016
- s0 = peg$c40;
17147
+ if (input.substr(peg$currPos, 3) === peg$c41) {
17148
+ s0 = peg$c41;
17017
17149
  peg$currPos += 3;
17018
17150
  } else {
17019
17151
  s0 = peg$FAILED;
17020
17152
  if (peg$silentFails === 0) {
17021
- peg$fail(peg$e44);
17153
+ peg$fail(peg$e45);
17022
17154
  }
17023
17155
  }
17024
17156
  if (s0 === peg$FAILED) {
17025
- if (input.substr(peg$currPos, 6) === peg$c41) {
17026
- s0 = peg$c41;
17157
+ if (input.substr(peg$currPos, 6) === peg$c42) {
17158
+ s0 = peg$c42;
17027
17159
  peg$currPos += 6;
17028
17160
  } else {
17029
17161
  s0 = peg$FAILED;
17030
17162
  if (peg$silentFails === 0) {
17031
- peg$fail(peg$e45);
17163
+ peg$fail(peg$e46);
17032
17164
  }
17033
17165
  }
17034
17166
  if (s0 === peg$FAILED) {
17035
- if (input.substr(peg$currPos, 6) === peg$c42) {
17036
- s0 = peg$c42;
17167
+ if (input.substr(peg$currPos, 6) === peg$c43) {
17168
+ s0 = peg$c43;
17037
17169
  peg$currPos += 6;
17038
17170
  } else {
17039
17171
  s0 = peg$FAILED;
17040
17172
  if (peg$silentFails === 0) {
17041
- peg$fail(peg$e46);
17173
+ peg$fail(peg$e47);
17042
17174
  }
17043
17175
  }
17044
17176
  if (s0 === peg$FAILED) {
17045
- if (input.substr(peg$currPos, 8) === peg$c43) {
17046
- s0 = peg$c43;
17177
+ if (input.substr(peg$currPos, 8) === peg$c44) {
17178
+ s0 = peg$c44;
17047
17179
  peg$currPos += 8;
17048
17180
  } else {
17049
17181
  s0 = peg$FAILED;
17050
17182
  if (peg$silentFails === 0) {
17051
- peg$fail(peg$e47);
17183
+ peg$fail(peg$e48);
17052
17184
  }
17053
17185
  }
17054
17186
  if (s0 === peg$FAILED) {
17055
- if (input.substr(peg$currPos, 3) === peg$c44) {
17056
- s0 = peg$c44;
17187
+ if (input.substr(peg$currPos, 3) === peg$c45) {
17188
+ s0 = peg$c45;
17057
17189
  peg$currPos += 3;
17058
17190
  } else {
17059
17191
  s0 = peg$FAILED;
17060
17192
  if (peg$silentFails === 0) {
17061
- peg$fail(peg$e48);
17193
+ peg$fail(peg$e49);
17062
17194
  }
17063
17195
  }
17064
17196
  if (s0 === peg$FAILED) {
17065
- if (input.substr(peg$currPos, 5) === peg$c45) {
17066
- s0 = peg$c45;
17197
+ if (input.substr(peg$currPos, 5) === peg$c46) {
17198
+ s0 = peg$c46;
17067
17199
  peg$currPos += 5;
17068
17200
  } else {
17069
17201
  s0 = peg$FAILED;
17070
17202
  if (peg$silentFails === 0) {
17071
- peg$fail(peg$e49);
17203
+ peg$fail(peg$e50);
17072
17204
  }
17073
17205
  }
17074
17206
  if (s0 === peg$FAILED) {
17075
- if (input.substr(peg$currPos, 11) === peg$c46) {
17076
- s0 = peg$c46;
17207
+ if (input.substr(peg$currPos, 11) === peg$c47) {
17208
+ s0 = peg$c47;
17077
17209
  peg$currPos += 11;
17078
17210
  } else {
17079
17211
  s0 = peg$FAILED;
17080
17212
  if (peg$silentFails === 0) {
17081
- peg$fail(peg$e50);
17213
+ peg$fail(peg$e51);
17082
17214
  }
17083
17215
  }
17084
17216
  if (s0 === peg$FAILED) {
17085
- if (input.substr(peg$currPos, 8) === peg$c47) {
17086
- s0 = peg$c47;
17217
+ if (input.substr(peg$currPos, 8) === peg$c48) {
17218
+ s0 = peg$c48;
17087
17219
  peg$currPos += 8;
17088
17220
  } else {
17089
17221
  s0 = peg$FAILED;
17090
17222
  if (peg$silentFails === 0) {
17091
- peg$fail(peg$e51);
17223
+ peg$fail(peg$e52);
17092
17224
  }
17093
17225
  }
17094
17226
  }
@@ -17102,53 +17234,53 @@ function peg$parse(input, options) {
17102
17234
  }
17103
17235
  function peg$parseInlineMediaSize() {
17104
17236
  let s0;
17105
- if (input.substr(peg$currPos, 11) === peg$c48) {
17106
- s0 = peg$c48;
17237
+ if (input.substr(peg$currPos, 11) === peg$c49) {
17238
+ s0 = peg$c49;
17107
17239
  peg$currPos += 11;
17108
17240
  } else {
17109
17241
  s0 = peg$FAILED;
17110
17242
  if (peg$silentFails === 0) {
17111
- peg$fail(peg$e52);
17243
+ peg$fail(peg$e53);
17112
17244
  }
17113
17245
  }
17114
17246
  if (s0 === peg$FAILED) {
17115
- if (input.substr(peg$currPos, 11) === peg$c49) {
17116
- s0 = peg$c49;
17247
+ if (input.substr(peg$currPos, 11) === peg$c50) {
17248
+ s0 = peg$c50;
17117
17249
  peg$currPos += 11;
17118
17250
  } else {
17119
17251
  s0 = peg$FAILED;
17120
17252
  if (peg$silentFails === 0) {
17121
- peg$fail(peg$e53);
17253
+ peg$fail(peg$e54);
17122
17254
  }
17123
17255
  }
17124
17256
  if (s0 === peg$FAILED) {
17125
- if (input.substr(peg$currPos, 5) === peg$c45) {
17126
- s0 = peg$c45;
17257
+ if (input.substr(peg$currPos, 5) === peg$c46) {
17258
+ s0 = peg$c46;
17127
17259
  peg$currPos += 5;
17128
17260
  } else {
17129
17261
  s0 = peg$FAILED;
17130
17262
  if (peg$silentFails === 0) {
17131
- peg$fail(peg$e49);
17263
+ peg$fail(peg$e50);
17132
17264
  }
17133
17265
  }
17134
17266
  if (s0 === peg$FAILED) {
17135
- if (input.substr(peg$currPos, 3) === peg$c44) {
17136
- s0 = peg$c44;
17267
+ if (input.substr(peg$currPos, 3) === peg$c45) {
17268
+ s0 = peg$c45;
17137
17269
  peg$currPos += 3;
17138
17270
  } else {
17139
17271
  s0 = peg$FAILED;
17140
17272
  if (peg$silentFails === 0) {
17141
- peg$fail(peg$e48);
17273
+ peg$fail(peg$e49);
17142
17274
  }
17143
17275
  }
17144
17276
  if (s0 === peg$FAILED) {
17145
- if (input.substr(peg$currPos, 8) === peg$c50) {
17146
- s0 = peg$c50;
17277
+ if (input.substr(peg$currPos, 8) === peg$c51) {
17278
+ s0 = peg$c51;
17147
17279
  peg$currPos += 8;
17148
17280
  } else {
17149
17281
  s0 = peg$FAILED;
17150
17282
  if (peg$silentFails === 0) {
17151
- peg$fail(peg$e54);
17283
+ peg$fail(peg$e55);
17152
17284
  }
17153
17285
  }
17154
17286
  }
@@ -17160,13 +17292,13 @@ function peg$parse(input, options) {
17160
17292
  function peg$parseAttrChainItem() {
17161
17293
  let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
17162
17294
  s0 = peg$currPos;
17163
- if (input.substr(peg$currPos, 5) === peg$c51) {
17164
- s1 = peg$c51;
17295
+ if (input.substr(peg$currPos, 5) === peg$c52) {
17296
+ s1 = peg$c52;
17165
17297
  peg$currPos += 5;
17166
17298
  } else {
17167
17299
  s1 = peg$FAILED;
17168
17300
  if (peg$silentFails === 0) {
17169
- peg$fail(peg$e55);
17301
+ peg$fail(peg$e56);
17170
17302
  }
17171
17303
  }
17172
17304
  if (s1 !== peg$FAILED) {
@@ -17227,7 +17359,7 @@ function peg$parse(input, options) {
17227
17359
  s3 = peg$parseBlockTag();
17228
17360
  if (s3 !== peg$FAILED) {
17229
17361
  peg$savedPos = s0;
17230
- s0 = peg$f71(s2);
17362
+ s0 = peg$f72(s2);
17231
17363
  } else {
17232
17364
  peg$currPos = s0;
17233
17365
  s0 = peg$FAILED;
@@ -17238,13 +17370,13 @@ function peg$parse(input, options) {
17238
17370
  }
17239
17371
  if (s0 === peg$FAILED) {
17240
17372
  s0 = peg$currPos;
17241
- if (input.substr(peg$currPos, 7) === peg$c52) {
17242
- s1 = peg$c52;
17373
+ if (input.substr(peg$currPos, 7) === peg$c53) {
17374
+ s1 = peg$c53;
17243
17375
  peg$currPos += 7;
17244
17376
  } else {
17245
17377
  s1 = peg$FAILED;
17246
17378
  if (peg$silentFails === 0) {
17247
- peg$fail(peg$e56);
17379
+ peg$fail(peg$e57);
17248
17380
  }
17249
17381
  }
17250
17382
  if (s1 !== peg$FAILED) {
@@ -17305,13 +17437,13 @@ function peg$parse(input, options) {
17305
17437
  s3 = peg$parseRefsChain();
17306
17438
  s4 = peg$parseBlockTag();
17307
17439
  if (s4 !== peg$FAILED) {
17308
- if (input.substr(peg$currPos, 9) === peg$c53) {
17309
- s5 = peg$c53;
17440
+ if (input.substr(peg$currPos, 9) === peg$c54) {
17441
+ s5 = peg$c54;
17310
17442
  peg$currPos += 9;
17311
17443
  } else {
17312
17444
  s5 = peg$FAILED;
17313
17445
  if (peg$silentFails === 0) {
17314
- peg$fail(peg$e57);
17446
+ peg$fail(peg$e58);
17315
17447
  }
17316
17448
  }
17317
17449
  if (s5 !== peg$FAILED) {
@@ -17372,7 +17504,7 @@ function peg$parse(input, options) {
17372
17504
  s7 = peg$parseBlockTag();
17373
17505
  if (s7 !== peg$FAILED) {
17374
17506
  peg$savedPos = s0;
17375
- s0 = peg$f72(s2, s3, s6);
17507
+ s0 = peg$f73(s2, s3, s6);
17376
17508
  } else {
17377
17509
  peg$currPos = s0;
17378
17510
  s0 = peg$FAILED;
@@ -17391,13 +17523,13 @@ function peg$parse(input, options) {
17391
17523
  }
17392
17524
  if (s0 === peg$FAILED) {
17393
17525
  s0 = peg$currPos;
17394
- if (input.substr(peg$currPos, 5) === peg$c54) {
17395
- s1 = peg$c54;
17526
+ if (input.substr(peg$currPos, 5) === peg$c55) {
17527
+ s1 = peg$c55;
17396
17528
  peg$currPos += 5;
17397
17529
  } else {
17398
17530
  s1 = peg$FAILED;
17399
17531
  if (peg$silentFails === 0) {
17400
- peg$fail(peg$e58);
17532
+ peg$fail(peg$e59);
17401
17533
  }
17402
17534
  }
17403
17535
  if (s1 !== peg$FAILED) {
@@ -17458,12 +17590,12 @@ function peg$parse(input, options) {
17458
17590
  s3 = peg$parseBlockTag();
17459
17591
  if (s3 !== peg$FAILED) {
17460
17592
  if (input.charCodeAt(peg$currPos) === 9658) {
17461
- s4 = peg$c55;
17593
+ s4 = peg$c56;
17462
17594
  peg$currPos++;
17463
17595
  } else {
17464
17596
  s4 = peg$FAILED;
17465
17597
  if (peg$silentFails === 0) {
17466
- peg$fail(peg$e59);
17598
+ peg$fail(peg$e60);
17467
17599
  }
17468
17600
  }
17469
17601
  if (s4 !== peg$FAILED) {
@@ -17524,7 +17656,7 @@ function peg$parse(input, options) {
17524
17656
  s6 = peg$parseBlockTag();
17525
17657
  if (s6 !== peg$FAILED) {
17526
17658
  peg$savedPos = s0;
17527
- s0 = peg$f73(s2, s5);
17659
+ s0 = peg$f74(s2, s5);
17528
17660
  } else {
17529
17661
  peg$currPos = s0;
17530
17662
  s0 = peg$FAILED;
@@ -17543,13 +17675,13 @@ function peg$parse(input, options) {
17543
17675
  }
17544
17676
  if (s0 === peg$FAILED) {
17545
17677
  s0 = peg$currPos;
17546
- if (input.substr(peg$currPos, 5) === peg$c54) {
17547
- s1 = peg$c54;
17678
+ if (input.substr(peg$currPos, 5) === peg$c55) {
17679
+ s1 = peg$c55;
17548
17680
  peg$currPos += 5;
17549
17681
  } else {
17550
17682
  s1 = peg$FAILED;
17551
17683
  if (peg$silentFails === 0) {
17552
- peg$fail(peg$e58);
17684
+ peg$fail(peg$e59);
17553
17685
  }
17554
17686
  }
17555
17687
  if (s1 !== peg$FAILED) {
@@ -17610,7 +17742,7 @@ function peg$parse(input, options) {
17610
17742
  s3 = peg$parseBlockTag();
17611
17743
  if (s3 !== peg$FAILED) {
17612
17744
  peg$savedPos = s0;
17613
- s0 = peg$f74(s2);
17745
+ s0 = peg$f75(s2);
17614
17746
  } else {
17615
17747
  peg$currPos = s0;
17616
17748
  s0 = peg$FAILED;
@@ -17622,12 +17754,12 @@ function peg$parse(input, options) {
17622
17754
  if (s0 === peg$FAILED) {
17623
17755
  s0 = peg$currPos;
17624
17756
  if (input.charCodeAt(peg$currPos) === 9658) {
17625
- s1 = peg$c55;
17757
+ s1 = peg$c56;
17626
17758
  peg$currPos++;
17627
17759
  } else {
17628
17760
  s1 = peg$FAILED;
17629
17761
  if (peg$silentFails === 0) {
17630
- peg$fail(peg$e59);
17762
+ peg$fail(peg$e60);
17631
17763
  }
17632
17764
  }
17633
17765
  if (s1 !== peg$FAILED) {
@@ -17688,7 +17820,7 @@ function peg$parse(input, options) {
17688
17820
  s3 = peg$parseBlockTag();
17689
17821
  if (s3 !== peg$FAILED) {
17690
17822
  peg$savedPos = s0;
17691
- s0 = peg$f75(s2);
17823
+ s0 = peg$f76(s2);
17692
17824
  } else {
17693
17825
  peg$currPos = s0;
17694
17826
  s0 = peg$FAILED;
@@ -17699,13 +17831,13 @@ function peg$parse(input, options) {
17699
17831
  }
17700
17832
  if (s0 === peg$FAILED) {
17701
17833
  s0 = peg$currPos;
17702
- if (input.substr(peg$currPos, 7) === peg$c56) {
17703
- s1 = peg$c56;
17834
+ if (input.substr(peg$currPos, 7) === peg$c57) {
17835
+ s1 = peg$c57;
17704
17836
  peg$currPos += 7;
17705
17837
  } else {
17706
17838
  s1 = peg$FAILED;
17707
17839
  if (peg$silentFails === 0) {
17708
- peg$fail(peg$e60);
17840
+ peg$fail(peg$e61);
17709
17841
  }
17710
17842
  }
17711
17843
  if (s1 !== peg$FAILED) {
@@ -17767,7 +17899,7 @@ function peg$parse(input, options) {
17767
17899
  if (s3 !== peg$FAILED) {
17768
17900
  s4 = peg$parseMediaChain();
17769
17901
  peg$savedPos = s0;
17770
- s0 = peg$f76(s2, s4);
17902
+ s0 = peg$f77(s2, s4);
17771
17903
  } else {
17772
17904
  peg$currPos = s0;
17773
17905
  s0 = peg$FAILED;
@@ -17778,13 +17910,13 @@ function peg$parse(input, options) {
17778
17910
  }
17779
17911
  if (s0 === peg$FAILED) {
17780
17912
  s0 = peg$currPos;
17781
- if (input.substr(peg$currPos, 9) === peg$c57) {
17782
- s1 = peg$c57;
17913
+ if (input.substr(peg$currPos, 9) === peg$c58) {
17914
+ s1 = peg$c58;
17783
17915
  peg$currPos += 9;
17784
17916
  } else {
17785
17917
  s1 = peg$FAILED;
17786
17918
  if (peg$silentFails === 0) {
17787
- peg$fail(peg$e61);
17919
+ peg$fail(peg$e62);
17788
17920
  }
17789
17921
  }
17790
17922
  if (s1 !== peg$FAILED) {
@@ -17845,7 +17977,7 @@ function peg$parse(input, options) {
17845
17977
  s3 = peg$parseBlockTag();
17846
17978
  if (s3 !== peg$FAILED) {
17847
17979
  peg$savedPos = s0;
17848
- s0 = peg$f77(s2);
17980
+ s0 = peg$f78(s2);
17849
17981
  } else {
17850
17982
  peg$currPos = s0;
17851
17983
  s0 = peg$FAILED;
@@ -17856,13 +17988,13 @@ function peg$parse(input, options) {
17856
17988
  }
17857
17989
  if (s0 === peg$FAILED) {
17858
17990
  s0 = peg$currPos;
17859
- if (input.substr(peg$currPos, 10) === peg$c58) {
17860
- s1 = peg$c58;
17991
+ if (input.substr(peg$currPos, 10) === peg$c59) {
17992
+ s1 = peg$c59;
17861
17993
  peg$currPos += 10;
17862
17994
  } else {
17863
17995
  s1 = peg$FAILED;
17864
17996
  if (peg$silentFails === 0) {
17865
- peg$fail(peg$e62);
17997
+ peg$fail(peg$e63);
17866
17998
  }
17867
17999
  }
17868
18000
  if (s1 !== peg$FAILED) {
@@ -17923,7 +18055,7 @@ function peg$parse(input, options) {
17923
18055
  s3 = peg$parseBlockTag();
17924
18056
  if (s3 !== peg$FAILED) {
17925
18057
  peg$savedPos = s0;
17926
- s0 = peg$f78(s2);
18058
+ s0 = peg$f79(s2);
17927
18059
  } else {
17928
18060
  peg$currPos = s0;
17929
18061
  s0 = peg$FAILED;
@@ -17934,13 +18066,13 @@ function peg$parse(input, options) {
17934
18066
  }
17935
18067
  if (s0 === peg$FAILED) {
17936
18068
  s0 = peg$currPos;
17937
- if (input.substr(peg$currPos, 4) === peg$c59) {
17938
- s1 = peg$c59;
18069
+ if (input.substr(peg$currPos, 4) === peg$c60) {
18070
+ s1 = peg$c60;
17939
18071
  peg$currPos += 4;
17940
18072
  } else {
17941
18073
  s1 = peg$FAILED;
17942
18074
  if (peg$silentFails === 0) {
17943
- peg$fail(peg$e63);
18075
+ peg$fail(peg$e64);
17944
18076
  }
17945
18077
  }
17946
18078
  if (s1 !== peg$FAILED) {
@@ -18001,7 +18133,7 @@ function peg$parse(input, options) {
18001
18133
  s3 = peg$parseBlockTag();
18002
18134
  if (s3 !== peg$FAILED) {
18003
18135
  peg$savedPos = s0;
18004
- s0 = peg$f79(s2);
18136
+ s0 = peg$f80(s2);
18005
18137
  } else {
18006
18138
  peg$currPos = s0;
18007
18139
  s0 = peg$FAILED;
@@ -18025,7 +18157,7 @@ function peg$parse(input, options) {
18025
18157
  s2 = peg$parseBlockTag();
18026
18158
  if (s2 !== peg$FAILED) {
18027
18159
  peg$savedPos = s0;
18028
- s0 = peg$f80();
18160
+ s0 = peg$f81();
18029
18161
  } else {
18030
18162
  peg$currPos = s0;
18031
18163
  s0 = peg$FAILED;
@@ -18036,13 +18168,13 @@ function peg$parse(input, options) {
18036
18168
  }
18037
18169
  if (s0 === peg$FAILED) {
18038
18170
  s0 = peg$currPos;
18039
- if (input.substr(peg$currPos, 5) === peg$c60) {
18040
- s1 = peg$c60;
18171
+ if (input.substr(peg$currPos, 5) === peg$c61) {
18172
+ s1 = peg$c61;
18041
18173
  peg$currPos += 5;
18042
18174
  } else {
18043
18175
  s1 = peg$FAILED;
18044
18176
  if (peg$silentFails === 0) {
18045
- peg$fail(peg$e64);
18177
+ peg$fail(peg$e65);
18046
18178
  }
18047
18179
  }
18048
18180
  if (s1 !== peg$FAILED) {
@@ -18103,7 +18235,7 @@ function peg$parse(input, options) {
18103
18235
  s3 = peg$parseBlockTag();
18104
18236
  if (s3 !== peg$FAILED) {
18105
18237
  peg$savedPos = s0;
18106
- s0 = peg$f81(s2);
18238
+ s0 = peg$f82(s2);
18107
18239
  } else {
18108
18240
  peg$currPos = s0;
18109
18241
  s0 = peg$FAILED;
@@ -18114,20 +18246,20 @@ function peg$parse(input, options) {
18114
18246
  }
18115
18247
  if (s0 === peg$FAILED) {
18116
18248
  s0 = peg$currPos;
18117
- if (input.substr(peg$currPos, 5) === peg$c61) {
18118
- s1 = peg$c61;
18249
+ if (input.substr(peg$currPos, 5) === peg$c62) {
18250
+ s1 = peg$c62;
18119
18251
  peg$currPos += 5;
18120
18252
  } else {
18121
18253
  s1 = peg$FAILED;
18122
18254
  if (peg$silentFails === 0) {
18123
- peg$fail(peg$e65);
18255
+ peg$fail(peg$e66);
18124
18256
  }
18125
18257
  }
18126
18258
  if (s1 !== peg$FAILED) {
18127
18259
  s2 = peg$parseBlockTag();
18128
18260
  if (s2 !== peg$FAILED) {
18129
18261
  peg$savedPos = s0;
18130
- s0 = peg$f82();
18262
+ s0 = peg$f83();
18131
18263
  } else {
18132
18264
  peg$currPos = s0;
18133
18265
  s0 = peg$FAILED;
@@ -18138,13 +18270,13 @@ function peg$parse(input, options) {
18138
18270
  }
18139
18271
  if (s0 === peg$FAILED) {
18140
18272
  s0 = peg$currPos;
18141
- if (input.substr(peg$currPos, 6) === peg$c62) {
18142
- s1 = peg$c62;
18273
+ if (input.substr(peg$currPos, 6) === peg$c63) {
18274
+ s1 = peg$c63;
18143
18275
  peg$currPos += 6;
18144
18276
  } else {
18145
18277
  s1 = peg$FAILED;
18146
18278
  if (peg$silentFails === 0) {
18147
- peg$fail(peg$e66);
18279
+ peg$fail(peg$e67);
18148
18280
  }
18149
18281
  }
18150
18282
  if (s1 !== peg$FAILED) {
@@ -18205,7 +18337,7 @@ function peg$parse(input, options) {
18205
18337
  s3 = peg$parseBlockTag();
18206
18338
  if (s3 !== peg$FAILED) {
18207
18339
  peg$savedPos = s0;
18208
- s0 = peg$f83(s2);
18340
+ s0 = peg$f84(s2);
18209
18341
  } else {
18210
18342
  peg$currPos = s0;
18211
18343
  s0 = peg$FAILED;
@@ -18216,25 +18348,25 @@ function peg$parse(input, options) {
18216
18348
  }
18217
18349
  if (s0 === peg$FAILED) {
18218
18350
  s0 = peg$currPos;
18219
- if (input.substr(peg$currPos, 9) === peg$c63) {
18220
- s1 = peg$c63;
18351
+ if (input.substr(peg$currPos, 9) === peg$c64) {
18352
+ s1 = peg$c64;
18221
18353
  peg$currPos += 9;
18222
18354
  } else {
18223
18355
  s1 = peg$FAILED;
18224
18356
  if (peg$silentFails === 0) {
18225
- peg$fail(peg$e67);
18357
+ peg$fail(peg$e68);
18226
18358
  }
18227
18359
  }
18228
18360
  if (s1 !== peg$FAILED) {
18229
18361
  s2 = peg$currPos;
18230
18362
  s3 = peg$currPos;
18231
18363
  if (input.charCodeAt(peg$currPos) === 80) {
18232
- s4 = peg$c64;
18364
+ s4 = peg$c65;
18233
18365
  peg$currPos++;
18234
18366
  } else {
18235
18367
  s4 = peg$FAILED;
18236
18368
  if (peg$silentFails === 0) {
18237
- peg$fail(peg$e68);
18369
+ peg$fail(peg$e69);
18238
18370
  }
18239
18371
  }
18240
18372
  if (s4 !== peg$FAILED) {
@@ -18307,7 +18439,7 @@ function peg$parse(input, options) {
18307
18439
  s3 = peg$parseBlockTag();
18308
18440
  if (s3 !== peg$FAILED) {
18309
18441
  peg$savedPos = s0;
18310
- s0 = peg$f84(s2);
18442
+ s0 = peg$f85(s2);
18311
18443
  } else {
18312
18444
  peg$currPos = s0;
18313
18445
  s0 = peg$FAILED;
@@ -18322,13 +18454,13 @@ function peg$parse(input, options) {
18322
18454
  }
18323
18455
  if (s0 === peg$FAILED) {
18324
18456
  s0 = peg$currPos;
18325
- if (input.substr(peg$currPos, 6) === peg$c65) {
18326
- s1 = peg$c65;
18457
+ if (input.substr(peg$currPos, 6) === peg$c66) {
18458
+ s1 = peg$c66;
18327
18459
  peg$currPos += 6;
18328
18460
  } else {
18329
18461
  s1 = peg$FAILED;
18330
18462
  if (peg$silentFails === 0) {
18331
- peg$fail(peg$e69);
18463
+ peg$fail(peg$e70);
18332
18464
  }
18333
18465
  }
18334
18466
  if (s1 !== peg$FAILED) {
@@ -18337,7 +18469,7 @@ function peg$parse(input, options) {
18337
18469
  s3 = peg$parseBlockTag();
18338
18470
  if (s3 !== peg$FAILED) {
18339
18471
  peg$savedPos = s0;
18340
- s0 = peg$f85(s2);
18472
+ s0 = peg$f86(s2);
18341
18473
  } else {
18342
18474
  peg$currPos = s0;
18343
18475
  s0 = peg$FAILED;
@@ -18357,7 +18489,7 @@ function peg$parse(input, options) {
18357
18489
  s2 = peg$parseBlockTag();
18358
18490
  if (s2 !== peg$FAILED) {
18359
18491
  peg$savedPos = s0;
18360
- s0 = peg$f86(s1);
18492
+ s0 = peg$f87(s1);
18361
18493
  } else {
18362
18494
  peg$currPos = s0;
18363
18495
  s0 = peg$FAILED;
@@ -18435,7 +18567,7 @@ function peg$parse(input, options) {
18435
18567
  s3 = peg$parseBlockTag();
18436
18568
  if (s3 !== peg$FAILED) {
18437
18569
  peg$savedPos = s0;
18438
- s0 = peg$f87(s2);
18570
+ s0 = peg$f88(s2);
18439
18571
  } else {
18440
18572
  peg$currPos = s0;
18441
18573
  s0 = peg$FAILED;
@@ -18475,13 +18607,13 @@ function peg$parse(input, options) {
18475
18607
  function peg$parseRef() {
18476
18608
  let s0, s1, s2, s3, s4, s5, s6;
18477
18609
  s0 = peg$currPos;
18478
- if (input.substr(peg$currPos, 2) === peg$c66) {
18479
- s1 = peg$c66;
18610
+ if (input.substr(peg$currPos, 2) === peg$c67) {
18611
+ s1 = peg$c67;
18480
18612
  peg$currPos += 2;
18481
18613
  } else {
18482
18614
  s1 = peg$FAILED;
18483
18615
  if (peg$silentFails === 0) {
18484
- peg$fail(peg$e70);
18616
+ peg$fail(peg$e71);
18485
18617
  }
18486
18618
  }
18487
18619
  if (s1 !== peg$FAILED) {
@@ -18540,7 +18672,7 @@ function peg$parse(input, options) {
18540
18672
  }
18541
18673
  s2 = input.substring(s2, peg$currPos);
18542
18674
  peg$savedPos = s0;
18543
- s0 = peg$f88(s2);
18675
+ s0 = peg$f89(s2);
18544
18676
  } else {
18545
18677
  peg$currPos = s0;
18546
18678
  s0 = peg$FAILED;
@@ -18549,303 +18681,303 @@ function peg$parse(input, options) {
18549
18681
  }
18550
18682
  function peg$parseAlternativeStyleTags() {
18551
18683
  let s0;
18552
- if (input.substr(peg$currPos, 4) === peg$c67) {
18553
- s0 = peg$c67;
18684
+ if (input.substr(peg$currPos, 4) === peg$c68) {
18685
+ s0 = peg$c68;
18554
18686
  peg$currPos += 4;
18555
18687
  } else {
18556
18688
  s0 = peg$FAILED;
18557
18689
  if (peg$silentFails === 0) {
18558
- peg$fail(peg$e71);
18690
+ peg$fail(peg$e72);
18559
18691
  }
18560
18692
  }
18561
18693
  if (s0 === peg$FAILED) {
18562
- if (input.substr(peg$currPos, 6) === peg$c68) {
18563
- s0 = peg$c68;
18694
+ if (input.substr(peg$currPos, 6) === peg$c69) {
18695
+ s0 = peg$c69;
18564
18696
  peg$currPos += 6;
18565
18697
  } else {
18566
18698
  s0 = peg$FAILED;
18567
18699
  if (peg$silentFails === 0) {
18568
- peg$fail(peg$e72);
18700
+ peg$fail(peg$e73);
18569
18701
  }
18570
18702
  }
18571
18703
  if (s0 === peg$FAILED) {
18572
- if (input.substr(peg$currPos, 5) === peg$c69) {
18573
- s0 = peg$c69;
18704
+ if (input.substr(peg$currPos, 5) === peg$c70) {
18705
+ s0 = peg$c70;
18574
18706
  peg$currPos += 5;
18575
18707
  } else {
18576
18708
  s0 = peg$FAILED;
18577
18709
  if (peg$silentFails === 0) {
18578
- peg$fail(peg$e73);
18710
+ peg$fail(peg$e74);
18579
18711
  }
18580
18712
  }
18581
18713
  if (s0 === peg$FAILED) {
18582
- if (input.substr(peg$currPos, 9) === peg$c70) {
18583
- s0 = peg$c70;
18714
+ if (input.substr(peg$currPos, 9) === peg$c71) {
18715
+ s0 = peg$c71;
18584
18716
  peg$currPos += 9;
18585
18717
  } else {
18586
18718
  s0 = peg$FAILED;
18587
18719
  if (peg$silentFails === 0) {
18588
- peg$fail(peg$e74);
18720
+ peg$fail(peg$e75);
18589
18721
  }
18590
18722
  }
18591
18723
  if (s0 === peg$FAILED) {
18592
- if (input.substr(peg$currPos, 6) === peg$c71) {
18593
- s0 = peg$c71;
18724
+ if (input.substr(peg$currPos, 6) === peg$c72) {
18725
+ s0 = peg$c72;
18594
18726
  peg$currPos += 6;
18595
18727
  } else {
18596
18728
  s0 = peg$FAILED;
18597
18729
  if (peg$silentFails === 0) {
18598
- peg$fail(peg$e75);
18730
+ peg$fail(peg$e76);
18599
18731
  }
18600
18732
  }
18601
18733
  if (s0 === peg$FAILED) {
18602
- if (input.substr(peg$currPos, 9) === peg$c72) {
18603
- s0 = peg$c72;
18734
+ if (input.substr(peg$currPos, 9) === peg$c73) {
18735
+ s0 = peg$c73;
18604
18736
  peg$currPos += 9;
18605
18737
  } else {
18606
18738
  s0 = peg$FAILED;
18607
18739
  if (peg$silentFails === 0) {
18608
- peg$fail(peg$e76);
18740
+ peg$fail(peg$e77);
18609
18741
  }
18610
18742
  }
18611
18743
  if (s0 === peg$FAILED) {
18612
- if (input.substr(peg$currPos, 11) === peg$c73) {
18613
- s0 = peg$c73;
18744
+ if (input.substr(peg$currPos, 11) === peg$c74) {
18745
+ s0 = peg$c74;
18614
18746
  peg$currPos += 11;
18615
18747
  } else {
18616
18748
  s0 = peg$FAILED;
18617
18749
  if (peg$silentFails === 0) {
18618
- peg$fail(peg$e77);
18750
+ peg$fail(peg$e78);
18619
18751
  }
18620
18752
  }
18621
18753
  if (s0 === peg$FAILED) {
18622
- if (input.substr(peg$currPos, 3) === peg$c74) {
18623
- s0 = peg$c74;
18754
+ if (input.substr(peg$currPos, 3) === peg$c75) {
18755
+ s0 = peg$c75;
18624
18756
  peg$currPos += 3;
18625
18757
  } else {
18626
18758
  s0 = peg$FAILED;
18627
18759
  if (peg$silentFails === 0) {
18628
- peg$fail(peg$e78);
18760
+ peg$fail(peg$e79);
18629
18761
  }
18630
18762
  }
18631
18763
  if (s0 === peg$FAILED) {
18632
- if (input.substr(peg$currPos, 3) === peg$c75) {
18633
- s0 = peg$c75;
18764
+ if (input.substr(peg$currPos, 3) === peg$c76) {
18765
+ s0 = peg$c76;
18634
18766
  peg$currPos += 3;
18635
18767
  } else {
18636
18768
  s0 = peg$FAILED;
18637
18769
  if (peg$silentFails === 0) {
18638
- peg$fail(peg$e79);
18770
+ peg$fail(peg$e80);
18639
18771
  }
18640
18772
  }
18641
18773
  if (s0 === peg$FAILED) {
18642
- if (input.substr(peg$currPos, 9) === peg$c76) {
18643
- s0 = peg$c76;
18774
+ if (input.substr(peg$currPos, 9) === peg$c77) {
18775
+ s0 = peg$c77;
18644
18776
  peg$currPos += 9;
18645
18777
  } else {
18646
18778
  s0 = peg$FAILED;
18647
18779
  if (peg$silentFails === 0) {
18648
- peg$fail(peg$e80);
18780
+ peg$fail(peg$e81);
18649
18781
  }
18650
18782
  }
18651
18783
  if (s0 === peg$FAILED) {
18652
- if (input.substr(peg$currPos, 15) === peg$c77) {
18653
- s0 = peg$c77;
18784
+ if (input.substr(peg$currPos, 15) === peg$c78) {
18785
+ s0 = peg$c78;
18654
18786
  peg$currPos += 15;
18655
18787
  } else {
18656
18788
  s0 = peg$FAILED;
18657
18789
  if (peg$silentFails === 0) {
18658
- peg$fail(peg$e81);
18790
+ peg$fail(peg$e82);
18659
18791
  }
18660
18792
  }
18661
18793
  if (s0 === peg$FAILED) {
18662
- if (input.substr(peg$currPos, 6) === peg$c78) {
18663
- s0 = peg$c78;
18794
+ if (input.substr(peg$currPos, 6) === peg$c79) {
18795
+ s0 = peg$c79;
18664
18796
  peg$currPos += 6;
18665
18797
  } else {
18666
18798
  s0 = peg$FAILED;
18667
18799
  if (peg$silentFails === 0) {
18668
- peg$fail(peg$e82);
18800
+ peg$fail(peg$e83);
18669
18801
  }
18670
18802
  }
18671
18803
  if (s0 === peg$FAILED) {
18672
- if (input.substr(peg$currPos, 13) === peg$c79) {
18673
- s0 = peg$c79;
18804
+ if (input.substr(peg$currPos, 13) === peg$c80) {
18805
+ s0 = peg$c80;
18674
18806
  peg$currPos += 13;
18675
18807
  } else {
18676
18808
  s0 = peg$FAILED;
18677
18809
  if (peg$silentFails === 0) {
18678
- peg$fail(peg$e83);
18810
+ peg$fail(peg$e84);
18679
18811
  }
18680
18812
  }
18681
18813
  if (s0 === peg$FAILED) {
18682
- if (input.substr(peg$currPos, 16) === peg$c80) {
18683
- s0 = peg$c80;
18814
+ if (input.substr(peg$currPos, 16) === peg$c81) {
18815
+ s0 = peg$c81;
18684
18816
  peg$currPos += 16;
18685
18817
  } else {
18686
18818
  s0 = peg$FAILED;
18687
18819
  if (peg$silentFails === 0) {
18688
- peg$fail(peg$e84);
18820
+ peg$fail(peg$e85);
18689
18821
  }
18690
18822
  }
18691
18823
  if (s0 === peg$FAILED) {
18692
- if (input.substr(peg$currPos, 16) === peg$c81) {
18693
- s0 = peg$c81;
18824
+ if (input.substr(peg$currPos, 16) === peg$c82) {
18825
+ s0 = peg$c82;
18694
18826
  peg$currPos += 16;
18695
18827
  } else {
18696
18828
  s0 = peg$FAILED;
18697
18829
  if (peg$silentFails === 0) {
18698
- peg$fail(peg$e85);
18830
+ peg$fail(peg$e86);
18699
18831
  }
18700
18832
  }
18701
18833
  if (s0 === peg$FAILED) {
18702
- if (input.substr(peg$currPos, 15) === peg$c82) {
18703
- s0 = peg$c82;
18834
+ if (input.substr(peg$currPos, 15) === peg$c83) {
18835
+ s0 = peg$c83;
18704
18836
  peg$currPos += 15;
18705
18837
  } else {
18706
18838
  s0 = peg$FAILED;
18707
18839
  if (peg$silentFails === 0) {
18708
- peg$fail(peg$e86);
18840
+ peg$fail(peg$e87);
18709
18841
  }
18710
18842
  }
18711
18843
  if (s0 === peg$FAILED) {
18712
- if (input.substr(peg$currPos, 14) === peg$c83) {
18713
- s0 = peg$c83;
18844
+ if (input.substr(peg$currPos, 14) === peg$c84) {
18845
+ s0 = peg$c84;
18714
18846
  peg$currPos += 14;
18715
18847
  } else {
18716
18848
  s0 = peg$FAILED;
18717
18849
  if (peg$silentFails === 0) {
18718
- peg$fail(peg$e87);
18850
+ peg$fail(peg$e88);
18719
18851
  }
18720
18852
  }
18721
18853
  if (s0 === peg$FAILED) {
18722
- if (input.substr(peg$currPos, 16) === peg$c84) {
18723
- s0 = peg$c84;
18854
+ if (input.substr(peg$currPos, 16) === peg$c85) {
18855
+ s0 = peg$c85;
18724
18856
  peg$currPos += 16;
18725
18857
  } else {
18726
18858
  s0 = peg$FAILED;
18727
18859
  if (peg$silentFails === 0) {
18728
- peg$fail(peg$e88);
18860
+ peg$fail(peg$e89);
18729
18861
  }
18730
18862
  }
18731
18863
  if (s0 === peg$FAILED) {
18732
- if (input.substr(peg$currPos, 14) === peg$c85) {
18733
- s0 = peg$c85;
18864
+ if (input.substr(peg$currPos, 14) === peg$c86) {
18865
+ s0 = peg$c86;
18734
18866
  peg$currPos += 14;
18735
18867
  } else {
18736
18868
  s0 = peg$FAILED;
18737
18869
  if (peg$silentFails === 0) {
18738
- peg$fail(peg$e89);
18870
+ peg$fail(peg$e90);
18739
18871
  }
18740
18872
  }
18741
18873
  if (s0 === peg$FAILED) {
18742
- if (input.substr(peg$currPos, 15) === peg$c86) {
18743
- s0 = peg$c86;
18874
+ if (input.substr(peg$currPos, 15) === peg$c87) {
18875
+ s0 = peg$c87;
18744
18876
  peg$currPos += 15;
18745
18877
  } else {
18746
18878
  s0 = peg$FAILED;
18747
18879
  if (peg$silentFails === 0) {
18748
- peg$fail(peg$e90);
18880
+ peg$fail(peg$e91);
18749
18881
  }
18750
18882
  }
18751
18883
  if (s0 === peg$FAILED) {
18752
- if (input.substr(peg$currPos, 15) === peg$c87) {
18753
- s0 = peg$c87;
18884
+ if (input.substr(peg$currPos, 15) === peg$c88) {
18885
+ s0 = peg$c88;
18754
18886
  peg$currPos += 15;
18755
18887
  } else {
18756
18888
  s0 = peg$FAILED;
18757
18889
  if (peg$silentFails === 0) {
18758
- peg$fail(peg$e91);
18890
+ peg$fail(peg$e92);
18759
18891
  }
18760
18892
  }
18761
18893
  if (s0 === peg$FAILED) {
18762
- if (input.substr(peg$currPos, 15) === peg$c88) {
18763
- s0 = peg$c88;
18894
+ if (input.substr(peg$currPos, 15) === peg$c89) {
18895
+ s0 = peg$c89;
18764
18896
  peg$currPos += 15;
18765
18897
  } else {
18766
18898
  s0 = peg$FAILED;
18767
18899
  if (peg$silentFails === 0) {
18768
- peg$fail(peg$e92);
18900
+ peg$fail(peg$e93);
18769
18901
  }
18770
18902
  }
18771
18903
  if (s0 === peg$FAILED) {
18772
- if (input.substr(peg$currPos, 14) === peg$c89) {
18773
- s0 = peg$c89;
18904
+ if (input.substr(peg$currPos, 14) === peg$c90) {
18905
+ s0 = peg$c90;
18774
18906
  peg$currPos += 14;
18775
18907
  } else {
18776
18908
  s0 = peg$FAILED;
18777
18909
  if (peg$silentFails === 0) {
18778
- peg$fail(peg$e93);
18910
+ peg$fail(peg$e94);
18779
18911
  }
18780
18912
  }
18781
18913
  if (s0 === peg$FAILED) {
18782
- if (input.substr(peg$currPos, 10) === peg$c90) {
18783
- s0 = peg$c90;
18914
+ if (input.substr(peg$currPos, 10) === peg$c91) {
18915
+ s0 = peg$c91;
18784
18916
  peg$currPos += 10;
18785
18917
  } else {
18786
18918
  s0 = peg$FAILED;
18787
18919
  if (peg$silentFails === 0) {
18788
- peg$fail(peg$e94);
18920
+ peg$fail(peg$e95);
18789
18921
  }
18790
18922
  }
18791
18923
  if (s0 === peg$FAILED) {
18792
- if (input.substr(peg$currPos, 13) === peg$c91) {
18793
- s0 = peg$c91;
18924
+ if (input.substr(peg$currPos, 13) === peg$c92) {
18925
+ s0 = peg$c92;
18794
18926
  peg$currPos += 13;
18795
18927
  } else {
18796
18928
  s0 = peg$FAILED;
18797
18929
  if (peg$silentFails === 0) {
18798
- peg$fail(peg$e95);
18930
+ peg$fail(peg$e96);
18799
18931
  }
18800
18932
  }
18801
18933
  if (s0 === peg$FAILED) {
18802
- if (input.substr(peg$currPos, 19) === peg$c92) {
18803
- s0 = peg$c92;
18934
+ if (input.substr(peg$currPos, 19) === peg$c93) {
18935
+ s0 = peg$c93;
18804
18936
  peg$currPos += 19;
18805
18937
  } else {
18806
18938
  s0 = peg$FAILED;
18807
18939
  if (peg$silentFails === 0) {
18808
- peg$fail(peg$e96);
18940
+ peg$fail(peg$e97);
18809
18941
  }
18810
18942
  }
18811
18943
  if (s0 === peg$FAILED) {
18812
- if (input.substr(peg$currPos, 10) === peg$c93) {
18813
- s0 = peg$c93;
18944
+ if (input.substr(peg$currPos, 10) === peg$c94) {
18945
+ s0 = peg$c94;
18814
18946
  peg$currPos += 10;
18815
18947
  } else {
18816
18948
  s0 = peg$FAILED;
18817
18949
  if (peg$silentFails === 0) {
18818
- peg$fail(peg$e97);
18950
+ peg$fail(peg$e98);
18819
18951
  }
18820
18952
  }
18821
18953
  if (s0 === peg$FAILED) {
18822
- if (input.substr(peg$currPos, 10) === peg$c94) {
18823
- s0 = peg$c94;
18954
+ if (input.substr(peg$currPos, 10) === peg$c95) {
18955
+ s0 = peg$c95;
18824
18956
  peg$currPos += 10;
18825
18957
  } else {
18826
18958
  s0 = peg$FAILED;
18827
18959
  if (peg$silentFails === 0) {
18828
- peg$fail(peg$e98);
18960
+ peg$fail(peg$e99);
18829
18961
  }
18830
18962
  }
18831
18963
  if (s0 === peg$FAILED) {
18832
- if (input.substr(peg$currPos, 13) === peg$c95) {
18833
- s0 = peg$c95;
18964
+ if (input.substr(peg$currPos, 13) === peg$c96) {
18965
+ s0 = peg$c96;
18834
18966
  peg$currPos += 13;
18835
18967
  } else {
18836
18968
  s0 = peg$FAILED;
18837
18969
  if (peg$silentFails === 0) {
18838
- peg$fail(peg$e99);
18970
+ peg$fail(peg$e100);
18839
18971
  }
18840
18972
  }
18841
18973
  if (s0 === peg$FAILED) {
18842
- if (input.substr(peg$currPos, 11) === peg$c96) {
18843
- s0 = peg$c96;
18974
+ if (input.substr(peg$currPos, 11) === peg$c97) {
18975
+ s0 = peg$c97;
18844
18976
  peg$currPos += 11;
18845
18977
  } else {
18846
18978
  s0 = peg$FAILED;
18847
18979
  if (peg$silentFails === 0) {
18848
- peg$fail(peg$e100);
18980
+ peg$fail(peg$e101);
18849
18981
  }
18850
18982
  }
18851
18983
  }
@@ -18881,233 +19013,233 @@ function peg$parse(input, options) {
18881
19013
  }
18882
19014
  function peg$parseColor() {
18883
19015
  let s0;
18884
- if (input.substr(peg$currPos, 4) === peg$c97) {
18885
- s0 = peg$c97;
19016
+ if (input.substr(peg$currPos, 4) === peg$c98) {
19017
+ s0 = peg$c98;
18886
19018
  peg$currPos += 4;
18887
19019
  } else {
18888
19020
  s0 = peg$FAILED;
18889
19021
  if (peg$silentFails === 0) {
18890
- peg$fail(peg$e101);
19022
+ peg$fail(peg$e102);
18891
19023
  }
18892
19024
  }
18893
19025
  if (s0 === peg$FAILED) {
18894
- if (input.substr(peg$currPos, 5) === peg$c98) {
18895
- s0 = peg$c98;
19026
+ if (input.substr(peg$currPos, 5) === peg$c99) {
19027
+ s0 = peg$c99;
18896
19028
  peg$currPos += 5;
18897
19029
  } else {
18898
19030
  s0 = peg$FAILED;
18899
19031
  if (peg$silentFails === 0) {
18900
- peg$fail(peg$e102);
19032
+ peg$fail(peg$e103);
18901
19033
  }
18902
19034
  }
18903
19035
  if (s0 === peg$FAILED) {
18904
- if (input.substr(peg$currPos, 4) === peg$c99) {
18905
- s0 = peg$c99;
19036
+ if (input.substr(peg$currPos, 4) === peg$c100) {
19037
+ s0 = peg$c100;
18906
19038
  peg$currPos += 4;
18907
19039
  } else {
18908
19040
  s0 = peg$FAILED;
18909
19041
  if (peg$silentFails === 0) {
18910
- peg$fail(peg$e103);
19042
+ peg$fail(peg$e104);
18911
19043
  }
18912
19044
  }
18913
19045
  if (s0 === peg$FAILED) {
18914
- if (input.substr(peg$currPos, 5) === peg$c100) {
18915
- s0 = peg$c100;
19046
+ if (input.substr(peg$currPos, 5) === peg$c101) {
19047
+ s0 = peg$c101;
18916
19048
  peg$currPos += 5;
18917
19049
  } else {
18918
19050
  s0 = peg$FAILED;
18919
19051
  if (peg$silentFails === 0) {
18920
- peg$fail(peg$e104);
19052
+ peg$fail(peg$e105);
18921
19053
  }
18922
19054
  }
18923
19055
  if (s0 === peg$FAILED) {
18924
- if (input.substr(peg$currPos, 7) === peg$c101) {
18925
- s0 = peg$c101;
19056
+ if (input.substr(peg$currPos, 7) === peg$c102) {
19057
+ s0 = peg$c102;
18926
19058
  peg$currPos += 7;
18927
19059
  } else {
18928
19060
  s0 = peg$FAILED;
18929
19061
  if (peg$silentFails === 0) {
18930
- peg$fail(peg$e105);
19062
+ peg$fail(peg$e106);
18931
19063
  }
18932
19064
  }
18933
19065
  if (s0 === peg$FAILED) {
18934
- if (input.substr(peg$currPos, 9) === peg$c102) {
18935
- s0 = peg$c102;
19066
+ if (input.substr(peg$currPos, 9) === peg$c103) {
19067
+ s0 = peg$c103;
18936
19068
  peg$currPos += 9;
18937
19069
  } else {
18938
19070
  s0 = peg$FAILED;
18939
19071
  if (peg$silentFails === 0) {
18940
- peg$fail(peg$e106);
19072
+ peg$fail(peg$e107);
18941
19073
  }
18942
19074
  }
18943
19075
  if (s0 === peg$FAILED) {
18944
- if (input.substr(peg$currPos, 4) === peg$c103) {
18945
- s0 = peg$c103;
19076
+ if (input.substr(peg$currPos, 4) === peg$c104) {
19077
+ s0 = peg$c104;
18946
19078
  peg$currPos += 4;
18947
19079
  } else {
18948
19080
  s0 = peg$FAILED;
18949
19081
  if (peg$silentFails === 0) {
18950
- peg$fail(peg$e107);
19082
+ peg$fail(peg$e108);
18951
19083
  }
18952
19084
  }
18953
19085
  if (s0 === peg$FAILED) {
18954
- if (input.substr(peg$currPos, 8) === peg$c104) {
18955
- s0 = peg$c104;
19086
+ if (input.substr(peg$currPos, 8) === peg$c105) {
19087
+ s0 = peg$c105;
18956
19088
  peg$currPos += 8;
18957
19089
  } else {
18958
19090
  s0 = peg$FAILED;
18959
19091
  if (peg$silentFails === 0) {
18960
- peg$fail(peg$e108);
19092
+ peg$fail(peg$e109);
18961
19093
  }
18962
19094
  }
18963
19095
  if (s0 === peg$FAILED) {
18964
- if (input.substr(peg$currPos, 5) === peg$c105) {
18965
- s0 = peg$c105;
19096
+ if (input.substr(peg$currPos, 5) === peg$c106) {
19097
+ s0 = peg$c106;
18966
19098
  peg$currPos += 5;
18967
19099
  } else {
18968
19100
  s0 = peg$FAILED;
18969
19101
  if (peg$silentFails === 0) {
18970
- peg$fail(peg$e109);
19102
+ peg$fail(peg$e110);
18971
19103
  }
18972
19104
  }
18973
19105
  if (s0 === peg$FAILED) {
18974
- if (input.substr(peg$currPos, 4) === peg$c106) {
18975
- s0 = peg$c106;
19106
+ if (input.substr(peg$currPos, 4) === peg$c107) {
19107
+ s0 = peg$c107;
18976
19108
  peg$currPos += 4;
18977
19109
  } else {
18978
19110
  s0 = peg$FAILED;
18979
19111
  if (peg$silentFails === 0) {
18980
- peg$fail(peg$e110);
19112
+ peg$fail(peg$e111);
18981
19113
  }
18982
19114
  }
18983
19115
  if (s0 === peg$FAILED) {
18984
- if (input.substr(peg$currPos, 7) === peg$c107) {
18985
- s0 = peg$c107;
19116
+ if (input.substr(peg$currPos, 7) === peg$c108) {
19117
+ s0 = peg$c108;
18986
19118
  peg$currPos += 7;
18987
19119
  } else {
18988
19120
  s0 = peg$FAILED;
18989
19121
  if (peg$silentFails === 0) {
18990
- peg$fail(peg$e111);
19122
+ peg$fail(peg$e112);
18991
19123
  }
18992
19124
  }
18993
19125
  if (s0 === peg$FAILED) {
18994
- if (input.substr(peg$currPos, 6) === peg$c108) {
18995
- s0 = peg$c108;
19126
+ if (input.substr(peg$currPos, 6) === peg$c109) {
19127
+ s0 = peg$c109;
18996
19128
  peg$currPos += 6;
18997
19129
  } else {
18998
19130
  s0 = peg$FAILED;
18999
19131
  if (peg$silentFails === 0) {
19000
- peg$fail(peg$e112);
19132
+ peg$fail(peg$e113);
19001
19133
  }
19002
19134
  }
19003
19135
  if (s0 === peg$FAILED) {
19004
- if (input.substr(peg$currPos, 4) === peg$c109) {
19005
- s0 = peg$c109;
19136
+ if (input.substr(peg$currPos, 4) === peg$c110) {
19137
+ s0 = peg$c110;
19006
19138
  peg$currPos += 4;
19007
19139
  } else {
19008
19140
  s0 = peg$FAILED;
19009
19141
  if (peg$silentFails === 0) {
19010
- peg$fail(peg$e113);
19142
+ peg$fail(peg$e114);
19011
19143
  }
19012
19144
  }
19013
19145
  if (s0 === peg$FAILED) {
19014
- if (input.substr(peg$currPos, 5) === peg$c110) {
19015
- s0 = peg$c110;
19146
+ if (input.substr(peg$currPos, 5) === peg$c111) {
19147
+ s0 = peg$c111;
19016
19148
  peg$currPos += 5;
19017
19149
  } else {
19018
19150
  s0 = peg$FAILED;
19019
19151
  if (peg$silentFails === 0) {
19020
- peg$fail(peg$e114);
19152
+ peg$fail(peg$e115);
19021
19153
  }
19022
19154
  }
19023
19155
  if (s0 === peg$FAILED) {
19024
- if (input.substr(peg$currPos, 6) === peg$c111) {
19025
- s0 = peg$c111;
19156
+ if (input.substr(peg$currPos, 6) === peg$c112) {
19157
+ s0 = peg$c112;
19026
19158
  peg$currPos += 6;
19027
19159
  } else {
19028
19160
  s0 = peg$FAILED;
19029
19161
  if (peg$silentFails === 0) {
19030
- peg$fail(peg$e115);
19162
+ peg$fail(peg$e116);
19031
19163
  }
19032
19164
  }
19033
19165
  if (s0 === peg$FAILED) {
19034
- if (input.substr(peg$currPos, 4) === peg$c112) {
19035
- s0 = peg$c112;
19166
+ if (input.substr(peg$currPos, 4) === peg$c113) {
19167
+ s0 = peg$c113;
19036
19168
  peg$currPos += 4;
19037
19169
  } else {
19038
19170
  s0 = peg$FAILED;
19039
19171
  if (peg$silentFails === 0) {
19040
- peg$fail(peg$e116);
19172
+ peg$fail(peg$e117);
19041
19173
  }
19042
19174
  }
19043
19175
  if (s0 === peg$FAILED) {
19044
- if (input.substr(peg$currPos, 6) === peg$c113) {
19045
- s0 = peg$c113;
19176
+ if (input.substr(peg$currPos, 6) === peg$c114) {
19177
+ s0 = peg$c114;
19046
19178
  peg$currPos += 6;
19047
19179
  } else {
19048
19180
  s0 = peg$FAILED;
19049
19181
  if (peg$silentFails === 0) {
19050
- peg$fail(peg$e117);
19182
+ peg$fail(peg$e118);
19051
19183
  }
19052
19184
  }
19053
19185
  if (s0 === peg$FAILED) {
19054
- if (input.substr(peg$currPos, 3) === peg$c114) {
19055
- s0 = peg$c114;
19186
+ if (input.substr(peg$currPos, 3) === peg$c115) {
19187
+ s0 = peg$c115;
19056
19188
  peg$currPos += 3;
19057
19189
  } else {
19058
19190
  s0 = peg$FAILED;
19059
19191
  if (peg$silentFails === 0) {
19060
- peg$fail(peg$e118);
19192
+ peg$fail(peg$e119);
19061
19193
  }
19062
19194
  }
19063
19195
  if (s0 === peg$FAILED) {
19064
- if (input.substr(peg$currPos, 6) === peg$c115) {
19065
- s0 = peg$c115;
19196
+ if (input.substr(peg$currPos, 6) === peg$c116) {
19197
+ s0 = peg$c116;
19066
19198
  peg$currPos += 6;
19067
19199
  } else {
19068
19200
  s0 = peg$FAILED;
19069
19201
  if (peg$silentFails === 0) {
19070
- peg$fail(peg$e119);
19202
+ peg$fail(peg$e120);
19071
19203
  }
19072
19204
  }
19073
19205
  if (s0 === peg$FAILED) {
19074
- if (input.substr(peg$currPos, 4) === peg$c116) {
19075
- s0 = peg$c116;
19206
+ if (input.substr(peg$currPos, 4) === peg$c117) {
19207
+ s0 = peg$c117;
19076
19208
  peg$currPos += 4;
19077
19209
  } else {
19078
19210
  s0 = peg$FAILED;
19079
19211
  if (peg$silentFails === 0) {
19080
- peg$fail(peg$e120);
19212
+ peg$fail(peg$e121);
19081
19213
  }
19082
19214
  }
19083
19215
  if (s0 === peg$FAILED) {
19084
- if (input.substr(peg$currPos, 6) === peg$c117) {
19085
- s0 = peg$c117;
19216
+ if (input.substr(peg$currPos, 6) === peg$c118) {
19217
+ s0 = peg$c118;
19086
19218
  peg$currPos += 6;
19087
19219
  } else {
19088
19220
  s0 = peg$FAILED;
19089
19221
  if (peg$silentFails === 0) {
19090
- peg$fail(peg$e121);
19222
+ peg$fail(peg$e122);
19091
19223
  }
19092
19224
  }
19093
19225
  if (s0 === peg$FAILED) {
19094
- if (input.substr(peg$currPos, 5) === peg$c118) {
19095
- s0 = peg$c118;
19226
+ if (input.substr(peg$currPos, 5) === peg$c119) {
19227
+ s0 = peg$c119;
19096
19228
  peg$currPos += 5;
19097
19229
  } else {
19098
19230
  s0 = peg$FAILED;
19099
19231
  if (peg$silentFails === 0) {
19100
- peg$fail(peg$e122);
19232
+ peg$fail(peg$e123);
19101
19233
  }
19102
19234
  }
19103
19235
  if (s0 === peg$FAILED) {
19104
- if (input.substr(peg$currPos, 6) === peg$c119) {
19105
- s0 = peg$c119;
19236
+ if (input.substr(peg$currPos, 6) === peg$c120) {
19237
+ s0 = peg$c120;
19106
19238
  peg$currPos += 6;
19107
19239
  } else {
19108
19240
  s0 = peg$FAILED;
19109
19241
  if (peg$silentFails === 0) {
19110
- peg$fail(peg$e123);
19242
+ peg$fail(peg$e124);
19111
19243
  }
19112
19244
  }
19113
19245
  }
@@ -19140,7 +19272,7 @@ function peg$parse(input, options) {
19140
19272
  s0 = peg$currPos;
19141
19273
  s1 = peg$parsebitmarkMinusMinusString();
19142
19274
  peg$savedPos = s0;
19143
- s1 = peg$f89(s1);
19275
+ s1 = peg$f90(s1);
19144
19276
  s0 = s1;
19145
19277
  peg$silentFails--;
19146
19278
  return s0;
@@ -19166,7 +19298,7 @@ function peg$parse(input, options) {
19166
19298
  }
19167
19299
  }
19168
19300
  peg$savedPos = s0;
19169
- s0 = peg$f90(s1, s2);
19301
+ s0 = peg$f91(s1, s2);
19170
19302
  peg$silentFails--;
19171
19303
  return s0;
19172
19304
  }
@@ -19176,7 +19308,7 @@ function peg$parse(input, options) {
19176
19308
  s1 = peg$parseNL();
19177
19309
  if (s1 !== peg$FAILED) {
19178
19310
  peg$savedPos = s0;
19179
- s1 = peg$f91();
19311
+ s1 = peg$f92();
19180
19312
  }
19181
19313
  s0 = s1;
19182
19314
  if (s0 === peg$FAILED) {
@@ -19305,7 +19437,7 @@ function peg$parse(input, options) {
19305
19437
  }
19306
19438
  if (s1 !== peg$FAILED) {
19307
19439
  peg$savedPos = s0;
19308
- s1 = peg$f92(s1);
19440
+ s1 = peg$f93(s1);
19309
19441
  }
19310
19442
  s0 = s1;
19311
19443
  }
@@ -19314,12 +19446,12 @@ function peg$parse(input, options) {
19314
19446
  function peg$parseBoldHalfTag() {
19315
19447
  let s0;
19316
19448
  if (input.charCodeAt(peg$currPos) === 42) {
19317
- s0 = peg$c120;
19449
+ s0 = peg$c121;
19318
19450
  peg$currPos++;
19319
19451
  } else {
19320
19452
  s0 = peg$FAILED;
19321
19453
  if (peg$silentFails === 0) {
19322
- peg$fail(peg$e124);
19454
+ peg$fail(peg$e125);
19323
19455
  }
19324
19456
  }
19325
19457
  return s0;
@@ -19327,12 +19459,12 @@ function peg$parse(input, options) {
19327
19459
  function peg$parseItalicHalfTag() {
19328
19460
  let s0;
19329
19461
  if (input.charCodeAt(peg$currPos) === 95) {
19330
- s0 = peg$c121;
19462
+ s0 = peg$c122;
19331
19463
  peg$currPos++;
19332
19464
  } else {
19333
19465
  s0 = peg$FAILED;
19334
19466
  if (peg$silentFails === 0) {
19335
- peg$fail(peg$e125);
19467
+ peg$fail(peg$e126);
19336
19468
  }
19337
19469
  }
19338
19470
  return s0;
@@ -19340,12 +19472,12 @@ function peg$parse(input, options) {
19340
19472
  function peg$parseLightHalfTag() {
19341
19473
  let s0;
19342
19474
  if (input.charCodeAt(peg$currPos) === 96) {
19343
- s0 = peg$c122;
19475
+ s0 = peg$c123;
19344
19476
  peg$currPos++;
19345
19477
  } else {
19346
19478
  s0 = peg$FAILED;
19347
19479
  if (peg$silentFails === 0) {
19348
- peg$fail(peg$e126);
19480
+ peg$fail(peg$e127);
19349
19481
  }
19350
19482
  }
19351
19483
  return s0;
@@ -19353,12 +19485,12 @@ function peg$parse(input, options) {
19353
19485
  function peg$parseHighlightHalfTag() {
19354
19486
  let s0;
19355
19487
  if (input.charCodeAt(peg$currPos) === 33) {
19356
- s0 = peg$c123;
19488
+ s0 = peg$c124;
19357
19489
  peg$currPos++;
19358
19490
  } else {
19359
19491
  s0 = peg$FAILED;
19360
19492
  if (peg$silentFails === 0) {
19361
- peg$fail(peg$e127);
19493
+ peg$fail(peg$e128);
19362
19494
  }
19363
19495
  }
19364
19496
  return s0;
@@ -19441,13 +19573,13 @@ function peg$parse(input, options) {
19441
19573
  }
19442
19574
  function peg$parseBodyBitOpenTag() {
19443
19575
  let s0;
19444
- if (input.substr(peg$currPos, 2) === peg$c124) {
19445
- s0 = peg$c124;
19576
+ if (input.substr(peg$currPos, 2) === peg$c125) {
19577
+ s0 = peg$c125;
19446
19578
  peg$currPos += 2;
19447
19579
  } else {
19448
19580
  s0 = peg$FAILED;
19449
19581
  if (peg$silentFails === 0) {
19450
- peg$fail(peg$e128);
19582
+ peg$fail(peg$e129);
19451
19583
  }
19452
19584
  }
19453
19585
  return s0;
@@ -19455,12 +19587,12 @@ function peg$parse(input, options) {
19455
19587
  function peg$parseBodyBitCloseTag() {
19456
19588
  let s0;
19457
19589
  if (input.charCodeAt(peg$currPos) === 93) {
19458
- s0 = peg$c125;
19590
+ s0 = peg$c126;
19459
19591
  peg$currPos++;
19460
19592
  } else {
19461
19593
  s0 = peg$FAILED;
19462
19594
  if (peg$silentFails === 0) {
19463
- peg$fail(peg$e129);
19595
+ peg$fail(peg$e130);
19464
19596
  }
19465
19597
  }
19466
19598
  return s0;
@@ -19506,7 +19638,7 @@ function peg$parse(input, options) {
19506
19638
  s3 = peg$parseBodyBitCloseTag();
19507
19639
  if (s3 !== peg$FAILED) {
19508
19640
  peg$savedPos = s0;
19509
- s0 = peg$f93(s2);
19641
+ s0 = peg$f94(s2);
19510
19642
  } else {
19511
19643
  peg$currPos = s0;
19512
19644
  s0 = peg$FAILED;
@@ -19596,7 +19728,7 @@ function peg$parse(input, options) {
19596
19728
  s3 = peg$parseBoldTag();
19597
19729
  if (s3 !== peg$FAILED) {
19598
19730
  peg$savedPos = s0;
19599
- s0 = peg$f94(s2);
19731
+ s0 = peg$f95(s2);
19600
19732
  } else {
19601
19733
  peg$currPos = s0;
19602
19734
  s0 = peg$FAILED;
@@ -19682,7 +19814,7 @@ function peg$parse(input, options) {
19682
19814
  s3 = peg$parseItalicTag();
19683
19815
  if (s3 !== peg$FAILED) {
19684
19816
  peg$savedPos = s0;
19685
- s0 = peg$f95(s2);
19817
+ s0 = peg$f96(s2);
19686
19818
  } else {
19687
19819
  peg$currPos = s0;
19688
19820
  s0 = peg$FAILED;
@@ -19768,7 +19900,7 @@ function peg$parse(input, options) {
19768
19900
  s3 = peg$parseLightTag();
19769
19901
  if (s3 !== peg$FAILED) {
19770
19902
  peg$savedPos = s0;
19771
- s0 = peg$f96(s2);
19903
+ s0 = peg$f97(s2);
19772
19904
  } else {
19773
19905
  peg$currPos = s0;
19774
19906
  s0 = peg$FAILED;
@@ -19854,7 +19986,7 @@ function peg$parse(input, options) {
19854
19986
  s3 = peg$parseHighlightTag();
19855
19987
  if (s3 !== peg$FAILED) {
19856
19988
  peg$savedPos = s0;
19857
- s0 = peg$f97(s2);
19989
+ s0 = peg$f98(s2);
19858
19990
  } else {
19859
19991
  peg$currPos = s0;
19860
19992
  s0 = peg$FAILED;
@@ -19939,22 +20071,22 @@ function peg$parse(input, options) {
19939
20071
  let s0, s1;
19940
20072
  peg$silentFails++;
19941
20073
  if (input.charCodeAt(peg$currPos) === 10) {
19942
- s0 = peg$c126;
20074
+ s0 = peg$c127;
19943
20075
  peg$currPos++;
19944
20076
  } else {
19945
20077
  s0 = peg$FAILED;
19946
20078
  if (peg$silentFails === 0) {
19947
- peg$fail(peg$e131);
20079
+ peg$fail(peg$e132);
19948
20080
  }
19949
20081
  }
19950
20082
  if (s0 === peg$FAILED) {
19951
- if (input.substr(peg$currPos, 2) === peg$c127) {
19952
- s0 = peg$c127;
20083
+ if (input.substr(peg$currPos, 2) === peg$c128) {
20084
+ s0 = peg$c128;
19953
20085
  peg$currPos += 2;
19954
20086
  } else {
19955
20087
  s0 = peg$FAILED;
19956
20088
  if (peg$silentFails === 0) {
19957
- peg$fail(peg$e132);
20089
+ peg$fail(peg$e133);
19958
20090
  }
19959
20091
  }
19960
20092
  if (s0 === peg$FAILED) {
@@ -19964,7 +20096,7 @@ function peg$parse(input, options) {
19964
20096
  } else {
19965
20097
  s0 = peg$FAILED;
19966
20098
  if (peg$silentFails === 0) {
19967
- peg$fail(peg$e133);
20099
+ peg$fail(peg$e134);
19968
20100
  }
19969
20101
  }
19970
20102
  }
@@ -19973,7 +20105,7 @@ function peg$parse(input, options) {
19973
20105
  if (s0 === peg$FAILED) {
19974
20106
  s1 = peg$FAILED;
19975
20107
  if (peg$silentFails === 0) {
19976
- peg$fail(peg$e130);
20108
+ peg$fail(peg$e131);
19977
20109
  }
19978
20110
  }
19979
20111
  return s0;
@@ -19986,7 +20118,7 @@ function peg$parse(input, options) {
19986
20118
  } else {
19987
20119
  s0 = peg$FAILED;
19988
20120
  if (peg$silentFails === 0) {
19989
- peg$fail(peg$e134);
20121
+ peg$fail(peg$e135);
19990
20122
  }
19991
20123
  }
19992
20124
  return s0;
@@ -20020,35 +20152,35 @@ function peg$parse(input, options) {
20020
20152
  let s0, s1, s2, s3, s4, s5, s6, s7, s8;
20021
20153
  s0 = peg$currPos;
20022
20154
  s1 = peg$currPos;
20023
- if (input.substr(peg$currPos, 4) === peg$c128) {
20024
- s2 = peg$c128;
20155
+ if (input.substr(peg$currPos, 4) === peg$c129) {
20156
+ s2 = peg$c129;
20025
20157
  peg$currPos += 4;
20026
20158
  } else {
20027
20159
  s2 = peg$FAILED;
20028
20160
  if (peg$silentFails === 0) {
20029
- peg$fail(peg$e135);
20161
+ peg$fail(peg$e136);
20030
20162
  }
20031
20163
  }
20032
20164
  if (s2 !== peg$FAILED) {
20033
20165
  if (input.charCodeAt(peg$currPos) === 115) {
20034
- s3 = peg$c129;
20166
+ s3 = peg$c130;
20035
20167
  peg$currPos++;
20036
20168
  } else {
20037
20169
  s3 = peg$FAILED;
20038
20170
  if (peg$silentFails === 0) {
20039
- peg$fail(peg$e136);
20171
+ peg$fail(peg$e137);
20040
20172
  }
20041
20173
  }
20042
20174
  if (s3 === peg$FAILED) {
20043
20175
  s3 = null;
20044
20176
  }
20045
- if (input.substr(peg$currPos, 3) === peg$c130) {
20046
- s4 = peg$c130;
20177
+ if (input.substr(peg$currPos, 3) === peg$c131) {
20178
+ s4 = peg$c131;
20047
20179
  peg$currPos += 3;
20048
20180
  } else {
20049
20181
  s4 = peg$FAILED;
20050
20182
  if (peg$silentFails === 0) {
20051
- peg$fail(peg$e137);
20183
+ peg$fail(peg$e138);
20052
20184
  }
20053
20185
  }
20054
20186
  if (s4 !== peg$FAILED) {
@@ -20126,35 +20258,35 @@ function peg$parse(input, options) {
20126
20258
  s0 = peg$currPos;
20127
20259
  s1 = peg$currPos;
20128
20260
  s2 = peg$currPos;
20129
- if (input.substr(peg$currPos, 4) === peg$c128) {
20130
- s3 = peg$c128;
20261
+ if (input.substr(peg$currPos, 4) === peg$c129) {
20262
+ s3 = peg$c129;
20131
20263
  peg$currPos += 4;
20132
20264
  } else {
20133
20265
  s3 = peg$FAILED;
20134
20266
  if (peg$silentFails === 0) {
20135
- peg$fail(peg$e135);
20267
+ peg$fail(peg$e136);
20136
20268
  }
20137
20269
  }
20138
20270
  if (s3 !== peg$FAILED) {
20139
20271
  if (input.charCodeAt(peg$currPos) === 115) {
20140
- s4 = peg$c129;
20272
+ s4 = peg$c130;
20141
20273
  peg$currPos++;
20142
20274
  } else {
20143
20275
  s4 = peg$FAILED;
20144
20276
  if (peg$silentFails === 0) {
20145
- peg$fail(peg$e136);
20277
+ peg$fail(peg$e137);
20146
20278
  }
20147
20279
  }
20148
20280
  if (s4 === peg$FAILED) {
20149
20281
  s4 = null;
20150
20282
  }
20151
- if (input.substr(peg$currPos, 3) === peg$c130) {
20152
- s5 = peg$c130;
20283
+ if (input.substr(peg$currPos, 3) === peg$c131) {
20284
+ s5 = peg$c131;
20153
20285
  peg$currPos += 3;
20154
20286
  } else {
20155
20287
  s5 = peg$FAILED;
20156
20288
  if (peg$silentFails === 0) {
20157
- peg$fail(peg$e137);
20289
+ peg$fail(peg$e138);
20158
20290
  }
20159
20291
  }
20160
20292
  if (s5 !== peg$FAILED) {
@@ -20169,13 +20301,13 @@ function peg$parse(input, options) {
20169
20301
  s2 = peg$FAILED;
20170
20302
  }
20171
20303
  if (s2 === peg$FAILED) {
20172
- if (input.substr(peg$currPos, 7) === peg$c131) {
20173
- s2 = peg$c131;
20304
+ if (input.substr(peg$currPos, 7) === peg$c132) {
20305
+ s2 = peg$c132;
20174
20306
  peg$currPos += 7;
20175
20307
  } else {
20176
20308
  s2 = peg$FAILED;
20177
20309
  if (peg$silentFails === 0) {
20178
- peg$fail(peg$e138);
20310
+ peg$fail(peg$e139);
20179
20311
  }
20180
20312
  }
20181
20313
  }
@@ -20240,7 +20372,7 @@ function peg$parse(input, options) {
20240
20372
  }
20241
20373
  s2 = input.substring(s2, peg$currPos);
20242
20374
  peg$savedPos = s0;
20243
- s0 = peg$f98(s1, s2);
20375
+ s0 = peg$f99(s1, s2);
20244
20376
  } else {
20245
20377
  peg$currPos = s0;
20246
20378
  s0 = peg$FAILED;
@@ -20255,7 +20387,7 @@ function peg$parse(input, options) {
20255
20387
  } else {
20256
20388
  s0 = peg$FAILED;
20257
20389
  if (peg$silentFails === 0) {
20258
- peg$fail(peg$e139);
20390
+ peg$fail(peg$e140);
20259
20391
  }
20260
20392
  }
20261
20393
  return s0;