@gmb/bitmark-parser-generator 4.7.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.
@@ -1283,6 +1283,7 @@ var propertyKeys = {
1283
1283
  property_reference: "@reference",
1284
1284
  property_refPublicationYear: "@refPublicationYear",
1285
1285
  property_refPublisher: "@refPublisher",
1286
+ property_relatedBook: "@relatedBook",
1286
1287
  property_releaseDate: "@releaseDate",
1287
1288
  property_releaseKind: "@releaseKind",
1288
1289
  property_releaseVersion: "@releaseVersion",
@@ -1558,6 +1559,16 @@ var StringUtils = class {
1558
1559
  if (!str) return str;
1559
1560
  return str.replace(/-([a-z])/g, (_, letter) => letter.toUpperCase());
1560
1561
  }
1562
+ /**
1563
+ * Convert a camelCase string to kebab-case.
1564
+ *
1565
+ * @param str the string to convert
1566
+ * @returns the kebab-case version of the string
1567
+ */
1568
+ camelToKebab(str) {
1569
+ if (!str) return str;
1570
+ return str.replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase();
1571
+ }
1561
1572
  };
1562
1573
  var stringUtils = new StringUtils();
1563
1574
 
@@ -3232,6 +3243,12 @@ var GROUPS = {
3232
3243
  format: TagFormat.plainText,
3233
3244
  maxCount: Count.infinity
3234
3245
  },
3246
+ {
3247
+ key: ConfigKey.property_relatedBook,
3248
+ description: "Books related to this book",
3249
+ format: TagFormat.plainText,
3250
+ maxCount: Count.infinity
3251
+ },
3235
3252
  {
3236
3253
  key: ConfigKey.property_duration,
3237
3254
  description: "The duration of the book",
@@ -9116,7 +9133,7 @@ var instance2 = new Config();
9116
9133
  // src/generated/package_info.ts
9117
9134
  var PACKAGE_INFO = {
9118
9135
  "name": "@gmb/bitmark-parser-generator",
9119
- "version": "4.7.0",
9136
+ "version": "4.9.0",
9120
9137
  "author": "Get More Brain Ltd",
9121
9138
  "license": "ISC",
9122
9139
  "description": "A bitmark parser and generator using Peggy.js"
@@ -9860,6 +9877,8 @@ var NodeType = (0, import_superenum20.superenum)({
9860
9877
  referencePropertyValue: "referencePropertyValue",
9861
9878
  refPublicationYear: "refPublicationYear",
9862
9879
  refPublisher: "refPublisher",
9880
+ relatedBook: "relatedBook",
9881
+ relatedBookValue: "relatedBookValue",
9863
9882
  releaseDate: "releaseDate",
9864
9883
  releaseDateValue: "releaseDateValue",
9865
9884
  releaseKind: "releaseKind",
@@ -11612,7 +11631,7 @@ var TextGenerator = class extends AstWalkerGenerator {
11612
11631
  };
11613
11632
 
11614
11633
  // src/generated/parser/text/text-peggy-parser.js
11615
- var VERSION = "8.34.3";
11634
+ var VERSION = "8.35.0";
11616
11635
  function unbreakscape(str) {
11617
11636
  if (typeof str !== "string") return null;
11618
11637
  return instance3.unbreakscape(str);
@@ -11802,100 +11821,101 @@ function peg$parse(input, options) {
11802
11821
  const peg$c35 = "=";
11803
11822
  const peg$c36 = "|latex|";
11804
11823
  const peg$c37 = "|imageInline:";
11805
- const peg$c38 = "alignmentVertical";
11806
- const peg$c39 = "size";
11807
- const peg$c40 = "top";
11808
- const peg$c41 = "middle";
11809
- const peg$c42 = "bottom";
11810
- const peg$c43 = "baseline";
11811
- const peg$c44 = "sub";
11812
- const peg$c45 = "super";
11813
- const peg$c46 = "text-bottom";
11814
- const peg$c47 = "text-top";
11815
- const peg$c48 = "line-height";
11816
- const peg$c49 = "font-height";
11817
- const peg$c50 = "explicit";
11818
- const peg$c51 = "link:";
11819
- const peg$c52 = "extref:";
11820
- const peg$c53 = "provider:";
11821
- const peg$c54 = "xref:";
11822
- const peg$c55 = "\u25BA";
11823
- const peg$c56 = "symbol:";
11824
- const peg$c57 = "footnote:";
11825
- const peg$c58 = "footnote*:";
11826
- const peg$c59 = "var:";
11827
- const peg$c60 = "code:";
11828
- const peg$c61 = "timer";
11829
- const peg$c62 = "timer:";
11830
- const peg$c63 = "duration:";
11831
- const peg$c64 = "P";
11832
- const peg$c65 = "color:";
11833
- const peg$c66 = "|\u25BA";
11834
- const peg$c67 = "bold";
11835
- const peg$c68 = "italic";
11836
- const peg$c69 = "light";
11837
- const peg$c70 = "highlight";
11838
- const peg$c71 = "strike";
11839
- const peg$c72 = "subscript";
11840
- const peg$c73 = "superscript";
11841
- const peg$c74 = "ins";
11842
- const peg$c75 = "del";
11843
- const peg$c76 = "underline";
11844
- const peg$c77 = "doubleUnderline";
11845
- const peg$c78 = "circle";
11846
- const peg$c79 = "languageEmRed";
11847
- const peg$c80 = "languageEmOrange";
11848
- const peg$c81 = "languageEmYellow";
11849
- const peg$c82 = "languageEmGreen";
11850
- const peg$c83 = "languageEmBlue";
11851
- const peg$c84 = "languageEmPurple";
11852
- const peg$c85 = "languageEmPink";
11853
- const peg$c86 = "languageEmBrown";
11854
- const peg$c87 = "languageEmBlack";
11855
- const peg$c88 = "languageEmWhite";
11856
- const peg$c89 = "languageEmGray";
11857
- const peg$c90 = "languageEm";
11858
- const peg$c91 = "userUnderline";
11859
- const peg$c92 = "userDoubleUnderline";
11860
- const peg$c93 = "userStrike";
11861
- const peg$c94 = "userCircle";
11862
- const peg$c95 = "userHighlight";
11863
- const peg$c96 = "notranslate";
11864
- const peg$c97 = "aqua";
11865
- const peg$c98 = "black";
11866
- const peg$c99 = "blue";
11867
- const peg$c100 = "brown";
11868
- const peg$c101 = "fuchsia";
11869
- const peg$c102 = "lightgrey";
11870
- const peg$c103 = "gray";
11871
- const peg$c104 = "darkgray";
11872
- const peg$c105 = "green";
11873
- const peg$c106 = "lime";
11874
- const peg$c107 = "magenta";
11875
- const peg$c108 = "maroon";
11876
- const peg$c109 = "navy";
11877
- const peg$c110 = "olive";
11878
- const peg$c111 = "orange";
11879
- const peg$c112 = "pink";
11880
- const peg$c113 = "purple";
11881
- const peg$c114 = "red";
11882
- const peg$c115 = "silver";
11883
- const peg$c116 = "teal";
11884
- const peg$c117 = "violet";
11885
- const peg$c118 = "white";
11886
- const peg$c119 = "yellow";
11887
- const peg$c120 = "*";
11888
- const peg$c121 = "_";
11889
- const peg$c122 = "`";
11890
- const peg$c123 = "!";
11891
- const peg$c124 = "[!";
11892
- const peg$c125 = "]";
11893
- const peg$c126 = "\n";
11894
- const peg$c127 = "\r\n";
11895
- const peg$c128 = "http";
11896
- const peg$c129 = "s";
11897
- const peg$c130 = "://";
11898
- const peg$c131 = "mailto:";
11824
+ const peg$c38 = "srcAlt";
11825
+ const peg$c39 = "alignmentVertical";
11826
+ const peg$c40 = "size";
11827
+ const peg$c41 = "top";
11828
+ const peg$c42 = "middle";
11829
+ const peg$c43 = "bottom";
11830
+ const peg$c44 = "baseline";
11831
+ const peg$c45 = "sub";
11832
+ const peg$c46 = "super";
11833
+ const peg$c47 = "text-bottom";
11834
+ const peg$c48 = "text-top";
11835
+ const peg$c49 = "line-height";
11836
+ const peg$c50 = "font-height";
11837
+ const peg$c51 = "explicit";
11838
+ const peg$c52 = "link:";
11839
+ const peg$c53 = "extref:";
11840
+ const peg$c54 = "provider:";
11841
+ const peg$c55 = "xref:";
11842
+ const peg$c56 = "\u25BA";
11843
+ const peg$c57 = "symbol:";
11844
+ const peg$c58 = "footnote:";
11845
+ const peg$c59 = "footnote*:";
11846
+ const peg$c60 = "var:";
11847
+ const peg$c61 = "code:";
11848
+ const peg$c62 = "timer";
11849
+ const peg$c63 = "timer:";
11850
+ const peg$c64 = "duration:";
11851
+ const peg$c65 = "P";
11852
+ const peg$c66 = "color:";
11853
+ const peg$c67 = "|\u25BA";
11854
+ const peg$c68 = "bold";
11855
+ const peg$c69 = "italic";
11856
+ const peg$c70 = "light";
11857
+ const peg$c71 = "highlight";
11858
+ const peg$c72 = "strike";
11859
+ const peg$c73 = "subscript";
11860
+ const peg$c74 = "superscript";
11861
+ const peg$c75 = "ins";
11862
+ const peg$c76 = "del";
11863
+ const peg$c77 = "underline";
11864
+ const peg$c78 = "doubleUnderline";
11865
+ const peg$c79 = "circle";
11866
+ const peg$c80 = "languageEmRed";
11867
+ const peg$c81 = "languageEmOrange";
11868
+ const peg$c82 = "languageEmYellow";
11869
+ const peg$c83 = "languageEmGreen";
11870
+ const peg$c84 = "languageEmBlue";
11871
+ const peg$c85 = "languageEmPurple";
11872
+ const peg$c86 = "languageEmPink";
11873
+ const peg$c87 = "languageEmBrown";
11874
+ const peg$c88 = "languageEmBlack";
11875
+ const peg$c89 = "languageEmWhite";
11876
+ const peg$c90 = "languageEmGray";
11877
+ const peg$c91 = "languageEm";
11878
+ const peg$c92 = "userUnderline";
11879
+ const peg$c93 = "userDoubleUnderline";
11880
+ const peg$c94 = "userStrike";
11881
+ const peg$c95 = "userCircle";
11882
+ const peg$c96 = "userHighlight";
11883
+ const peg$c97 = "notranslate";
11884
+ const peg$c98 = "aqua";
11885
+ const peg$c99 = "black";
11886
+ const peg$c100 = "blue";
11887
+ const peg$c101 = "brown";
11888
+ const peg$c102 = "fuchsia";
11889
+ const peg$c103 = "lightgrey";
11890
+ const peg$c104 = "gray";
11891
+ const peg$c105 = "darkgray";
11892
+ const peg$c106 = "green";
11893
+ const peg$c107 = "lime";
11894
+ const peg$c108 = "magenta";
11895
+ const peg$c109 = "maroon";
11896
+ const peg$c110 = "navy";
11897
+ const peg$c111 = "olive";
11898
+ const peg$c112 = "orange";
11899
+ const peg$c113 = "pink";
11900
+ const peg$c114 = "purple";
11901
+ const peg$c115 = "red";
11902
+ const peg$c116 = "silver";
11903
+ const peg$c117 = "teal";
11904
+ const peg$c118 = "violet";
11905
+ const peg$c119 = "white";
11906
+ const peg$c120 = "yellow";
11907
+ const peg$c121 = "*";
11908
+ const peg$c122 = "_";
11909
+ const peg$c123 = "`";
11910
+ const peg$c124 = "!";
11911
+ const peg$c125 = "[!";
11912
+ const peg$c126 = "]";
11913
+ const peg$c127 = "\n";
11914
+ const peg$c128 = "\r\n";
11915
+ const peg$c129 = "http";
11916
+ const peg$c130 = "s";
11917
+ const peg$c131 = "://";
11918
+ const peg$c132 = "mailto:";
11899
11919
  const peg$r0 = /^[ \t]/;
11900
11920
  const peg$r1 = /^[0-9]/;
11901
11921
  const peg$r2 = /^[\r\u2028-\u2029]/;
@@ -11943,104 +11963,105 @@ function peg$parse(input, options) {
11943
11963
  const peg$e39 = peg$literalExpectation("=", false);
11944
11964
  const peg$e40 = peg$literalExpectation("|latex|", false);
11945
11965
  const peg$e41 = peg$literalExpectation("|imageInline:", false);
11946
- const peg$e42 = peg$literalExpectation("alignmentVertical", false);
11947
- const peg$e43 = peg$literalExpectation("size", false);
11948
- const peg$e44 = peg$literalExpectation("top", false);
11949
- const peg$e45 = peg$literalExpectation("middle", false);
11950
- const peg$e46 = peg$literalExpectation("bottom", false);
11951
- const peg$e47 = peg$literalExpectation("baseline", false);
11952
- const peg$e48 = peg$literalExpectation("sub", false);
11953
- const peg$e49 = peg$literalExpectation("super", false);
11954
- const peg$e50 = peg$literalExpectation("text-bottom", false);
11955
- const peg$e51 = peg$literalExpectation("text-top", false);
11956
- const peg$e52 = peg$literalExpectation("line-height", false);
11957
- const peg$e53 = peg$literalExpectation("font-height", false);
11958
- const peg$e54 = peg$literalExpectation("explicit", false);
11959
- const peg$e55 = peg$literalExpectation("link:", false);
11960
- const peg$e56 = peg$literalExpectation("extref:", false);
11961
- const peg$e57 = peg$literalExpectation("provider:", false);
11962
- const peg$e58 = peg$literalExpectation("xref:", false);
11963
- const peg$e59 = peg$literalExpectation("\u25BA", false);
11964
- const peg$e60 = peg$literalExpectation("symbol:", false);
11965
- const peg$e61 = peg$literalExpectation("footnote:", false);
11966
- const peg$e62 = peg$literalExpectation("footnote*:", false);
11967
- const peg$e63 = peg$literalExpectation("var:", false);
11968
- const peg$e64 = peg$literalExpectation("code:", false);
11969
- const peg$e65 = peg$literalExpectation("timer", false);
11970
- const peg$e66 = peg$literalExpectation("timer:", false);
11971
- const peg$e67 = peg$literalExpectation("duration:", false);
11972
- const peg$e68 = peg$literalExpectation("P", false);
11973
- const peg$e69 = peg$literalExpectation("color:", false);
11974
- const peg$e70 = peg$literalExpectation("|\u25BA", false);
11975
- const peg$e71 = peg$literalExpectation("bold", false);
11976
- const peg$e72 = peg$literalExpectation("italic", false);
11977
- const peg$e73 = peg$literalExpectation("light", false);
11978
- const peg$e74 = peg$literalExpectation("highlight", false);
11979
- const peg$e75 = peg$literalExpectation("strike", false);
11980
- const peg$e76 = peg$literalExpectation("subscript", false);
11981
- const peg$e77 = peg$literalExpectation("superscript", false);
11982
- const peg$e78 = peg$literalExpectation("ins", false);
11983
- const peg$e79 = peg$literalExpectation("del", false);
11984
- const peg$e80 = peg$literalExpectation("underline", false);
11985
- const peg$e81 = peg$literalExpectation("doubleUnderline", false);
11986
- const peg$e82 = peg$literalExpectation("circle", false);
11987
- const peg$e83 = peg$literalExpectation("languageEmRed", false);
11988
- const peg$e84 = peg$literalExpectation("languageEmOrange", false);
11989
- const peg$e85 = peg$literalExpectation("languageEmYellow", false);
11990
- const peg$e86 = peg$literalExpectation("languageEmGreen", false);
11991
- const peg$e87 = peg$literalExpectation("languageEmBlue", false);
11992
- const peg$e88 = peg$literalExpectation("languageEmPurple", false);
11993
- const peg$e89 = peg$literalExpectation("languageEmPink", false);
11994
- const peg$e90 = peg$literalExpectation("languageEmBrown", false);
11995
- const peg$e91 = peg$literalExpectation("languageEmBlack", false);
11996
- const peg$e92 = peg$literalExpectation("languageEmWhite", false);
11997
- const peg$e93 = peg$literalExpectation("languageEmGray", false);
11998
- const peg$e94 = peg$literalExpectation("languageEm", false);
11999
- const peg$e95 = peg$literalExpectation("userUnderline", false);
12000
- const peg$e96 = peg$literalExpectation("userDoubleUnderline", false);
12001
- const peg$e97 = peg$literalExpectation("userStrike", false);
12002
- const peg$e98 = peg$literalExpectation("userCircle", false);
12003
- const peg$e99 = peg$literalExpectation("userHighlight", false);
12004
- const peg$e100 = peg$literalExpectation("notranslate", false);
12005
- const peg$e101 = peg$literalExpectation("aqua", false);
12006
- const peg$e102 = peg$literalExpectation("black", false);
12007
- const peg$e103 = peg$literalExpectation("blue", false);
12008
- const peg$e104 = peg$literalExpectation("brown", false);
12009
- const peg$e105 = peg$literalExpectation("fuchsia", false);
12010
- const peg$e106 = peg$literalExpectation("lightgrey", false);
12011
- const peg$e107 = peg$literalExpectation("gray", false);
12012
- const peg$e108 = peg$literalExpectation("darkgray", false);
12013
- const peg$e109 = peg$literalExpectation("green", false);
12014
- const peg$e110 = peg$literalExpectation("lime", false);
12015
- const peg$e111 = peg$literalExpectation("magenta", false);
12016
- const peg$e112 = peg$literalExpectation("maroon", false);
12017
- const peg$e113 = peg$literalExpectation("navy", false);
12018
- const peg$e114 = peg$literalExpectation("olive", false);
12019
- const peg$e115 = peg$literalExpectation("orange", false);
12020
- const peg$e116 = peg$literalExpectation("pink", false);
12021
- const peg$e117 = peg$literalExpectation("purple", false);
12022
- const peg$e118 = peg$literalExpectation("red", false);
12023
- const peg$e119 = peg$literalExpectation("silver", false);
12024
- const peg$e120 = peg$literalExpectation("teal", false);
12025
- const peg$e121 = peg$literalExpectation("violet", false);
12026
- const peg$e122 = peg$literalExpectation("white", false);
12027
- const peg$e123 = peg$literalExpectation("yellow", false);
12028
- const peg$e124 = peg$literalExpectation("*", false);
12029
- const peg$e125 = peg$literalExpectation("_", false);
12030
- const peg$e126 = peg$literalExpectation("`", false);
12031
- const peg$e127 = peg$literalExpectation("!", false);
12032
- const peg$e128 = peg$literalExpectation("[!", false);
12033
- const peg$e129 = peg$literalExpectation("]", false);
12034
- const peg$e130 = peg$otherExpectation("Line Terminator");
12035
- const peg$e131 = peg$literalExpectation("\n", false);
12036
- const peg$e132 = peg$literalExpectation("\r\n", false);
12037
- const peg$e133 = peg$classExpectation(["\r", ["\u2028", "\u2029"]], false, false, false);
12038
- const peg$e134 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false, false);
12039
- const peg$e135 = peg$literalExpectation("http", false);
12040
- const peg$e136 = peg$literalExpectation("s", false);
12041
- const peg$e137 = peg$literalExpectation("://", false);
12042
- const peg$e138 = peg$literalExpectation("mailto:", false);
12043
- const peg$e139 = peg$classExpectation(["!", ["#", ";"], "=", ["?", "["], ["]", "_"], ["a", "{"], ["}", "~"]], false, false, false);
11966
+ const peg$e42 = peg$literalExpectation("srcAlt", false);
11967
+ const peg$e43 = peg$literalExpectation("alignmentVertical", false);
11968
+ const peg$e44 = peg$literalExpectation("size", false);
11969
+ const peg$e45 = peg$literalExpectation("top", false);
11970
+ const peg$e46 = peg$literalExpectation("middle", false);
11971
+ const peg$e47 = peg$literalExpectation("bottom", false);
11972
+ const peg$e48 = peg$literalExpectation("baseline", false);
11973
+ const peg$e49 = peg$literalExpectation("sub", false);
11974
+ const peg$e50 = peg$literalExpectation("super", false);
11975
+ const peg$e51 = peg$literalExpectation("text-bottom", false);
11976
+ const peg$e52 = peg$literalExpectation("text-top", false);
11977
+ const peg$e53 = peg$literalExpectation("line-height", false);
11978
+ const peg$e54 = peg$literalExpectation("font-height", false);
11979
+ const peg$e55 = peg$literalExpectation("explicit", false);
11980
+ const peg$e56 = peg$literalExpectation("link:", false);
11981
+ const peg$e57 = peg$literalExpectation("extref:", false);
11982
+ const peg$e58 = peg$literalExpectation("provider:", false);
11983
+ const peg$e59 = peg$literalExpectation("xref:", false);
11984
+ const peg$e60 = peg$literalExpectation("\u25BA", false);
11985
+ const peg$e61 = peg$literalExpectation("symbol:", false);
11986
+ const peg$e62 = peg$literalExpectation("footnote:", false);
11987
+ const peg$e63 = peg$literalExpectation("footnote*:", false);
11988
+ const peg$e64 = peg$literalExpectation("var:", false);
11989
+ const peg$e65 = peg$literalExpectation("code:", false);
11990
+ const peg$e66 = peg$literalExpectation("timer", false);
11991
+ const peg$e67 = peg$literalExpectation("timer:", false);
11992
+ const peg$e68 = peg$literalExpectation("duration:", false);
11993
+ const peg$e69 = peg$literalExpectation("P", false);
11994
+ const peg$e70 = peg$literalExpectation("color:", false);
11995
+ const peg$e71 = peg$literalExpectation("|\u25BA", false);
11996
+ const peg$e72 = peg$literalExpectation("bold", false);
11997
+ const peg$e73 = peg$literalExpectation("italic", false);
11998
+ const peg$e74 = peg$literalExpectation("light", false);
11999
+ const peg$e75 = peg$literalExpectation("highlight", false);
12000
+ const peg$e76 = peg$literalExpectation("strike", false);
12001
+ const peg$e77 = peg$literalExpectation("subscript", false);
12002
+ const peg$e78 = peg$literalExpectation("superscript", false);
12003
+ const peg$e79 = peg$literalExpectation("ins", false);
12004
+ const peg$e80 = peg$literalExpectation("del", false);
12005
+ const peg$e81 = peg$literalExpectation("underline", false);
12006
+ const peg$e82 = peg$literalExpectation("doubleUnderline", false);
12007
+ const peg$e83 = peg$literalExpectation("circle", false);
12008
+ const peg$e84 = peg$literalExpectation("languageEmRed", false);
12009
+ const peg$e85 = peg$literalExpectation("languageEmOrange", false);
12010
+ const peg$e86 = peg$literalExpectation("languageEmYellow", false);
12011
+ const peg$e87 = peg$literalExpectation("languageEmGreen", false);
12012
+ const peg$e88 = peg$literalExpectation("languageEmBlue", false);
12013
+ const peg$e89 = peg$literalExpectation("languageEmPurple", false);
12014
+ const peg$e90 = peg$literalExpectation("languageEmPink", false);
12015
+ const peg$e91 = peg$literalExpectation("languageEmBrown", false);
12016
+ const peg$e92 = peg$literalExpectation("languageEmBlack", false);
12017
+ const peg$e93 = peg$literalExpectation("languageEmWhite", false);
12018
+ const peg$e94 = peg$literalExpectation("languageEmGray", false);
12019
+ const peg$e95 = peg$literalExpectation("languageEm", false);
12020
+ const peg$e96 = peg$literalExpectation("userUnderline", false);
12021
+ const peg$e97 = peg$literalExpectation("userDoubleUnderline", false);
12022
+ const peg$e98 = peg$literalExpectation("userStrike", false);
12023
+ const peg$e99 = peg$literalExpectation("userCircle", false);
12024
+ const peg$e100 = peg$literalExpectation("userHighlight", false);
12025
+ const peg$e101 = peg$literalExpectation("notranslate", false);
12026
+ const peg$e102 = peg$literalExpectation("aqua", false);
12027
+ const peg$e103 = peg$literalExpectation("black", false);
12028
+ const peg$e104 = peg$literalExpectation("blue", false);
12029
+ const peg$e105 = peg$literalExpectation("brown", false);
12030
+ const peg$e106 = peg$literalExpectation("fuchsia", false);
12031
+ const peg$e107 = peg$literalExpectation("lightgrey", false);
12032
+ const peg$e108 = peg$literalExpectation("gray", false);
12033
+ const peg$e109 = peg$literalExpectation("darkgray", false);
12034
+ const peg$e110 = peg$literalExpectation("green", false);
12035
+ const peg$e111 = peg$literalExpectation("lime", false);
12036
+ const peg$e112 = peg$literalExpectation("magenta", false);
12037
+ const peg$e113 = peg$literalExpectation("maroon", false);
12038
+ const peg$e114 = peg$literalExpectation("navy", false);
12039
+ const peg$e115 = peg$literalExpectation("olive", false);
12040
+ const peg$e116 = peg$literalExpectation("orange", false);
12041
+ const peg$e117 = peg$literalExpectation("pink", false);
12042
+ const peg$e118 = peg$literalExpectation("purple", false);
12043
+ const peg$e119 = peg$literalExpectation("red", false);
12044
+ const peg$e120 = peg$literalExpectation("silver", false);
12045
+ const peg$e121 = peg$literalExpectation("teal", false);
12046
+ const peg$e122 = peg$literalExpectation("violet", false);
12047
+ const peg$e123 = peg$literalExpectation("white", false);
12048
+ const peg$e124 = peg$literalExpectation("yellow", false);
12049
+ const peg$e125 = peg$literalExpectation("*", false);
12050
+ const peg$e126 = peg$literalExpectation("_", false);
12051
+ const peg$e127 = peg$literalExpectation("`", false);
12052
+ const peg$e128 = peg$literalExpectation("!", false);
12053
+ const peg$e129 = peg$literalExpectation("[!", false);
12054
+ const peg$e130 = peg$literalExpectation("]", false);
12055
+ const peg$e131 = peg$otherExpectation("Line Terminator");
12056
+ const peg$e132 = peg$literalExpectation("\n", false);
12057
+ const peg$e133 = peg$literalExpectation("\r\n", false);
12058
+ const peg$e134 = peg$classExpectation(["\r", ["\u2028", "\u2029"]], false, false, false);
12059
+ const peg$e135 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false, false);
12060
+ const peg$e136 = peg$literalExpectation("http", false);
12061
+ const peg$e137 = peg$literalExpectation("s", false);
12062
+ const peg$e138 = peg$literalExpectation("://", false);
12063
+ const peg$e139 = peg$literalExpectation("mailto:", false);
12064
+ const peg$e140 = peg$classExpectation(["!", ["#", ";"], "=", ["?", "["], ["]", "_"], ["a", "{"], ["}", "~"]], false, false, false);
12044
12065
  function peg$f0() {
12045
12066
  return VERSION;
12046
12067
  }
@@ -12347,101 +12368,104 @@ function peg$parse(input, options) {
12347
12368
  return { comment: str };
12348
12369
  }
12349
12370
  function peg$f67(p, v) {
12350
- return { [p]: parseInt(v) };
12371
+ return { [p]: v };
12351
12372
  }
12352
12373
  function peg$f68(p, v) {
12353
- return { type: "error", msg: p + " must be a positive integer.", found: v };
12374
+ return { [p]: parseInt(v) };
12354
12375
  }
12355
12376
  function peg$f69(p, v) {
12356
- return { [p]: v };
12377
+ return { type: "error", msg: p + " must be a positive integer.", found: v };
12357
12378
  }
12358
12379
  function peg$f70(p, v) {
12359
12380
  return { [p]: v };
12360
12381
  }
12361
- function peg$f71(str) {
12382
+ function peg$f71(p, v) {
12383
+ return { [p]: v };
12384
+ }
12385
+ function peg$f72(str) {
12362
12386
  return { type: "link", attrs: { href: str.trim(), target: "_blank" } };
12363
12387
  }
12364
- function peg$f72(str, rc, p) {
12388
+ function peg$f73(str, rc, p) {
12365
12389
  return { type: "extref", attrs: { extref: str.trim(), references: rc, provider: p.trim() } };
12366
12390
  }
12367
- function peg$f73(str, str2) {
12391
+ function peg$f74(str, str2) {
12368
12392
  return { type: "xref", attrs: { xref: str.trim(), reference: str2.trim() } };
12369
12393
  }
12370
- function peg$f74(str) {
12394
+ function peg$f75(str) {
12371
12395
  return { type: "xref", attrs: { xref: str.trim(), reference: "" } };
12372
12396
  }
12373
- function peg$f75(str) {
12397
+ function peg$f76(str) {
12374
12398
  return { type: "ref", attrs: { reference: str.trim() } };
12375
12399
  }
12376
- function peg$f76(str, ch) {
12400
+ function peg$f77(str, ch) {
12377
12401
  const chain = Object.assign({}, ...ch);
12378
12402
  return { type: "symbol", attrs: { src: str.trim(), ...chain } };
12379
12403
  }
12380
- function peg$f77(str) {
12404
+ function peg$f78(str) {
12381
12405
  return { type: "footnote", attrs: { content: bitmarkPlusString(str.trim()) } };
12382
12406
  }
12383
- function peg$f78(str) {
12407
+ function peg$f79(str) {
12384
12408
  return { type: "footnote*", attrs: { content: bitmarkPlusString(str.trim()) } };
12385
12409
  }
12386
- function peg$f79(str) {
12410
+ function peg$f80(str) {
12387
12411
  return { type: "var", attrs: { name: str.trim() } };
12388
12412
  }
12389
- function peg$f80() {
12413
+ function peg$f81() {
12390
12414
  return { type: "code", attrs: { language: "plain text" } };
12391
12415
  }
12392
- function peg$f81(lang) {
12416
+ function peg$f82(lang) {
12393
12417
  return { type: "code", attrs: { language: lang.trim().toLowerCase() } };
12394
12418
  }
12395
- function peg$f82() {
12419
+ function peg$f83() {
12396
12420
  return { type: "timer", attrs: { name: "" } };
12397
12421
  }
12398
- function peg$f83(str) {
12422
+ function peg$f84(str) {
12399
12423
  return { type: "timer", attrs: { name: str.trim() } };
12400
12424
  }
12401
- function peg$f84(str) {
12425
+ function peg$f85(str) {
12402
12426
  return { type: "duration", attrs: { duration: str } };
12403
12427
  }
12404
- function peg$f85(color) {
12428
+ function peg$f86(color) {
12405
12429
  return { type: "color", attrs: { color } };
12406
12430
  }
12407
- function peg$f86(style) {
12431
+ function peg$f87(style) {
12408
12432
  return { type: style };
12409
12433
  }
12410
- function peg$f87(str) {
12434
+ function peg$f88(str) {
12411
12435
  return { type: "comment", comment: str };
12412
12436
  }
12413
- function peg$f88(r) {
12437
+ function peg$f89(r) {
12414
12438
  return r.trim();
12415
12439
  }
12416
- function peg$f89(bs) {
12440
+ function peg$f90(bs) {
12417
12441
  return [{ type: "paragraph", content: bs, attrs: {} }];
12418
12442
  }
12419
- function peg$f90(first, more) {
12443
+ function peg$f91(first, more) {
12420
12444
  const cleaned_ = cleanEmptyTextNodes(first ? [first, ...more.flat()] : more.flat());
12421
12445
  return cleaned_;
12422
12446
  }
12423
- function peg$f91() {
12447
+ function peg$f92() {
12424
12448
  return { "type": "hardBreak" };
12425
12449
  }
12426
- function peg$f92(t) {
12450
+ function peg$f93(t) {
12427
12451
  return { text: unbreakscape(t), type: "text" };
12428
12452
  }
12429
- function peg$f93(t) {
12453
+ function peg$f94(t) {
12430
12454
  return { index: +t, type: "bit" };
12431
12455
  }
12432
- function peg$f94(t) {
12456
+ function peg$f95(t) {
12433
12457
  return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" };
12434
12458
  }
12435
- function peg$f95(t) {
12459
+ function peg$f96(t) {
12436
12460
  return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" };
12437
12461
  }
12438
- function peg$f96(t) {
12462
+ function peg$f97(t) {
12439
12463
  return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" };
12440
12464
  }
12441
- function peg$f97(t) {
12465
+ function peg$f98(t) {
12442
12466
  return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" };
12443
12467
  }
12444
- function peg$f98(pr, t) {
12468
+ function peg$f99(pr, t) {
12445
12469
  return { pr, t };
12446
12470
  }
12447
12471
  let peg$currPos = options.peg$currPos | 0;
@@ -16623,7 +16647,15 @@ function peg$parse(input, options) {
16623
16647
  if (s1 === peg$FAILED) {
16624
16648
  s1 = null;
16625
16649
  }
16626
- s2 = peg$parseMediaSizeTags();
16650
+ if (input.substr(peg$currPos, 6) === peg$c38) {
16651
+ s2 = peg$c38;
16652
+ peg$currPos += 6;
16653
+ } else {
16654
+ s2 = peg$FAILED;
16655
+ if (peg$silentFails === 0) {
16656
+ peg$fail(peg$e42);
16657
+ }
16658
+ }
16627
16659
  if (s2 !== peg$FAILED) {
16628
16660
  if (input.charCodeAt(peg$currPos) === 58) {
16629
16661
  s3 = peg$c5;
@@ -16671,15 +16703,7 @@ function peg$parse(input, options) {
16671
16703
  s8 = peg$FAILED;
16672
16704
  }
16673
16705
  if (s8 !== peg$FAILED) {
16674
- s9 = input.charAt(peg$currPos);
16675
- if (peg$r1.test(s9)) {
16676
- peg$currPos++;
16677
- } else {
16678
- s9 = peg$FAILED;
16679
- if (peg$silentFails === 0) {
16680
- peg$fail(peg$e15);
16681
- }
16682
- }
16706
+ s9 = peg$parsechar();
16683
16707
  if (s9 !== peg$FAILED) {
16684
16708
  s8 = [s8, s9];
16685
16709
  s7 = s8;
@@ -16691,59 +16715,38 @@ function peg$parse(input, options) {
16691
16715
  peg$currPos = s7;
16692
16716
  s7 = peg$FAILED;
16693
16717
  }
16694
- if (s7 !== peg$FAILED) {
16695
- while (s7 !== peg$FAILED) {
16696
- s6.push(s7);
16697
- s7 = peg$currPos;
16698
- s8 = peg$currPos;
16699
- peg$silentFails++;
16700
- s9 = peg$parseBlockTag();
16701
- peg$silentFails--;
16702
- if (s9 === peg$FAILED) {
16703
- s8 = void 0;
16704
- } else {
16705
- peg$currPos = s8;
16706
- s8 = peg$FAILED;
16707
- }
16708
- if (s8 !== peg$FAILED) {
16709
- s9 = input.charAt(peg$currPos);
16710
- if (peg$r1.test(s9)) {
16711
- peg$currPos++;
16712
- } else {
16713
- s9 = peg$FAILED;
16714
- if (peg$silentFails === 0) {
16715
- peg$fail(peg$e15);
16716
- }
16717
- }
16718
- if (s9 !== peg$FAILED) {
16719
- s8 = [s8, s9];
16720
- s7 = s8;
16721
- } else {
16722
- peg$currPos = s7;
16723
- s7 = peg$FAILED;
16724
- }
16718
+ while (s7 !== peg$FAILED) {
16719
+ s6.push(s7);
16720
+ s7 = peg$currPos;
16721
+ s8 = peg$currPos;
16722
+ peg$silentFails++;
16723
+ s9 = peg$parseBlockTag();
16724
+ peg$silentFails--;
16725
+ if (s9 === peg$FAILED) {
16726
+ s8 = void 0;
16727
+ } else {
16728
+ peg$currPos = s8;
16729
+ s8 = peg$FAILED;
16730
+ }
16731
+ if (s8 !== peg$FAILED) {
16732
+ s9 = peg$parsechar();
16733
+ if (s9 !== peg$FAILED) {
16734
+ s8 = [s8, s9];
16735
+ s7 = s8;
16725
16736
  } else {
16726
16737
  peg$currPos = s7;
16727
16738
  s7 = peg$FAILED;
16728
16739
  }
16740
+ } else {
16741
+ peg$currPos = s7;
16742
+ s7 = peg$FAILED;
16729
16743
  }
16730
- } else {
16731
- s6 = peg$FAILED;
16732
16744
  }
16745
+ s5 = input.substring(s5, peg$currPos);
16746
+ s6 = peg$parseBlockTag();
16733
16747
  if (s6 !== peg$FAILED) {
16734
- s5 = input.substring(s5, peg$currPos);
16735
- } else {
16736
- s5 = s6;
16737
- }
16738
- if (s5 !== peg$FAILED) {
16739
- s6 = peg$parseBlockTag();
16740
- if (s6 !== peg$FAILED) {
16741
- peg$savedPos = s0;
16742
- s0 = peg$f67(s2, s5);
16743
- } else {
16744
- peg$currPos = s0;
16745
- s0 = peg$FAILED;
16746
- }
16748
+ peg$savedPos = s0;
16749
+ s0 = peg$f67(s2, s5);
16747
16750
  } else {
16748
16751
  peg$currPos = s0;
16749
16752
  s0 = peg$FAILED;
@@ -16818,7 +16821,15 @@ function peg$parse(input, options) {
16818
16821
  s8 = peg$FAILED;
16819
16822
  }
16820
16823
  if (s8 !== peg$FAILED) {
16821
- s9 = peg$parsechar();
16824
+ s9 = input.charAt(peg$currPos);
16825
+ if (peg$r1.test(s9)) {
16826
+ peg$currPos++;
16827
+ } else {
16828
+ s9 = peg$FAILED;
16829
+ if (peg$silentFails === 0) {
16830
+ peg$fail(peg$e15);
16831
+ }
16832
+ }
16822
16833
  if (s9 !== peg$FAILED) {
16823
16834
  s8 = [s8, s9];
16824
16835
  s7 = s8;
@@ -16830,38 +16841,59 @@ function peg$parse(input, options) {
16830
16841
  peg$currPos = s7;
16831
16842
  s7 = peg$FAILED;
16832
16843
  }
16833
- while (s7 !== peg$FAILED) {
16834
- s6.push(s7);
16835
- s7 = peg$currPos;
16836
- s8 = peg$currPos;
16837
- peg$silentFails++;
16838
- s9 = peg$parseBlockTag();
16839
- peg$silentFails--;
16840
- if (s9 === peg$FAILED) {
16841
- s8 = void 0;
16842
- } else {
16843
- peg$currPos = s8;
16844
- s8 = peg$FAILED;
16845
- }
16846
- if (s8 !== peg$FAILED) {
16847
- s9 = peg$parsechar();
16848
- if (s9 !== peg$FAILED) {
16849
- s8 = [s8, s9];
16850
- s7 = s8;
16844
+ if (s7 !== peg$FAILED) {
16845
+ while (s7 !== peg$FAILED) {
16846
+ s6.push(s7);
16847
+ s7 = peg$currPos;
16848
+ s8 = peg$currPos;
16849
+ peg$silentFails++;
16850
+ s9 = peg$parseBlockTag();
16851
+ peg$silentFails--;
16852
+ if (s9 === peg$FAILED) {
16853
+ s8 = void 0;
16854
+ } else {
16855
+ peg$currPos = s8;
16856
+ s8 = peg$FAILED;
16857
+ }
16858
+ if (s8 !== peg$FAILED) {
16859
+ s9 = input.charAt(peg$currPos);
16860
+ if (peg$r1.test(s9)) {
16861
+ peg$currPos++;
16862
+ } else {
16863
+ s9 = peg$FAILED;
16864
+ if (peg$silentFails === 0) {
16865
+ peg$fail(peg$e15);
16866
+ }
16867
+ }
16868
+ if (s9 !== peg$FAILED) {
16869
+ s8 = [s8, s9];
16870
+ s7 = s8;
16871
+ } else {
16872
+ peg$currPos = s7;
16873
+ s7 = peg$FAILED;
16874
+ }
16851
16875
  } else {
16852
16876
  peg$currPos = s7;
16853
16877
  s7 = peg$FAILED;
16854
16878
  }
16855
- } else {
16856
- peg$currPos = s7;
16857
- s7 = peg$FAILED;
16858
16879
  }
16880
+ } else {
16881
+ s6 = peg$FAILED;
16859
16882
  }
16860
- s5 = input.substring(s5, peg$currPos);
16861
- s6 = peg$parseBlockTag();
16862
16883
  if (s6 !== peg$FAILED) {
16863
- peg$savedPos = s0;
16864
- s0 = peg$f68(s2, s5);
16884
+ s5 = input.substring(s5, peg$currPos);
16885
+ } else {
16886
+ s5 = s6;
16887
+ }
16888
+ if (s5 !== peg$FAILED) {
16889
+ s6 = peg$parseBlockTag();
16890
+ if (s6 !== peg$FAILED) {
16891
+ peg$savedPos = s0;
16892
+ s0 = peg$f68(s2, s5);
16893
+ } else {
16894
+ peg$currPos = s0;
16895
+ s0 = peg$FAILED;
16896
+ }
16865
16897
  } else {
16866
16898
  peg$currPos = s0;
16867
16899
  s0 = peg$FAILED;
@@ -16888,15 +16920,7 @@ function peg$parse(input, options) {
16888
16920
  if (s1 === peg$FAILED) {
16889
16921
  s1 = null;
16890
16922
  }
16891
- if (input.substr(peg$currPos, 17) === peg$c38) {
16892
- s2 = peg$c38;
16893
- peg$currPos += 17;
16894
- } else {
16895
- s2 = peg$FAILED;
16896
- if (peg$silentFails === 0) {
16897
- peg$fail(peg$e42);
16898
- }
16899
- }
16923
+ s2 = peg$parseMediaSizeTags();
16900
16924
  if (s2 !== peg$FAILED) {
16901
16925
  if (input.charCodeAt(peg$currPos) === 58) {
16902
16926
  s3 = peg$c5;
@@ -16930,16 +16954,64 @@ function peg$parse(input, options) {
16930
16954
  }
16931
16955
  }
16932
16956
  }
16933
- s5 = peg$parseInlineMediaAlignment();
16934
- if (s5 !== peg$FAILED) {
16935
- s6 = peg$parseBlockTag();
16936
- if (s6 !== peg$FAILED) {
16937
- peg$savedPos = s0;
16938
- s0 = peg$f69(s2, s5);
16957
+ s5 = peg$currPos;
16958
+ s6 = [];
16959
+ s7 = peg$currPos;
16960
+ s8 = peg$currPos;
16961
+ peg$silentFails++;
16962
+ s9 = peg$parseBlockTag();
16963
+ peg$silentFails--;
16964
+ if (s9 === peg$FAILED) {
16965
+ s8 = void 0;
16966
+ } else {
16967
+ peg$currPos = s8;
16968
+ s8 = peg$FAILED;
16969
+ }
16970
+ if (s8 !== peg$FAILED) {
16971
+ s9 = peg$parsechar();
16972
+ if (s9 !== peg$FAILED) {
16973
+ s8 = [s8, s9];
16974
+ s7 = s8;
16939
16975
  } else {
16940
- peg$currPos = s0;
16941
- s0 = peg$FAILED;
16976
+ peg$currPos = s7;
16977
+ s7 = peg$FAILED;
16942
16978
  }
16979
+ } else {
16980
+ peg$currPos = s7;
16981
+ s7 = peg$FAILED;
16982
+ }
16983
+ while (s7 !== peg$FAILED) {
16984
+ s6.push(s7);
16985
+ s7 = peg$currPos;
16986
+ s8 = peg$currPos;
16987
+ peg$silentFails++;
16988
+ s9 = peg$parseBlockTag();
16989
+ peg$silentFails--;
16990
+ if (s9 === peg$FAILED) {
16991
+ s8 = void 0;
16992
+ } else {
16993
+ peg$currPos = s8;
16994
+ s8 = peg$FAILED;
16995
+ }
16996
+ if (s8 !== peg$FAILED) {
16997
+ s9 = peg$parsechar();
16998
+ if (s9 !== peg$FAILED) {
16999
+ s8 = [s8, s9];
17000
+ s7 = s8;
17001
+ } else {
17002
+ peg$currPos = s7;
17003
+ s7 = peg$FAILED;
17004
+ }
17005
+ } else {
17006
+ peg$currPos = s7;
17007
+ s7 = peg$FAILED;
17008
+ }
17009
+ }
17010
+ s5 = input.substring(s5, peg$currPos);
17011
+ s6 = peg$parseBlockTag();
17012
+ if (s6 !== peg$FAILED) {
17013
+ peg$savedPos = s0;
17014
+ s0 = peg$f69(s2, s5);
16943
17015
  } else {
16944
17016
  peg$currPos = s0;
16945
17017
  s0 = peg$FAILED;
@@ -16966,9 +17038,9 @@ function peg$parse(input, options) {
16966
17038
  if (s1 === peg$FAILED) {
16967
17039
  s1 = null;
16968
17040
  }
16969
- if (input.substr(peg$currPos, 4) === peg$c39) {
17041
+ if (input.substr(peg$currPos, 17) === peg$c39) {
16970
17042
  s2 = peg$c39;
16971
- peg$currPos += 4;
17043
+ peg$currPos += 17;
16972
17044
  } else {
16973
17045
  s2 = peg$FAILED;
16974
17046
  if (peg$silentFails === 0) {
@@ -17008,7 +17080,7 @@ function peg$parse(input, options) {
17008
17080
  }
17009
17081
  }
17010
17082
  }
17011
- s5 = peg$parseInlineMediaSize();
17083
+ s5 = peg$parseInlineMediaAlignment();
17012
17084
  if (s5 !== peg$FAILED) {
17013
17085
  s6 = peg$parseBlockTag();
17014
17086
  if (s6 !== peg$FAILED) {
@@ -17030,6 +17102,85 @@ function peg$parse(input, options) {
17030
17102
  peg$currPos = s0;
17031
17103
  s0 = peg$FAILED;
17032
17104
  }
17105
+ if (s0 === peg$FAILED) {
17106
+ s0 = peg$currPos;
17107
+ if (input.charCodeAt(peg$currPos) === 64) {
17108
+ s1 = peg$c22;
17109
+ peg$currPos++;
17110
+ } else {
17111
+ s1 = peg$FAILED;
17112
+ if (peg$silentFails === 0) {
17113
+ peg$fail(peg$e26);
17114
+ }
17115
+ }
17116
+ if (s1 === peg$FAILED) {
17117
+ s1 = null;
17118
+ }
17119
+ if (input.substr(peg$currPos, 4) === peg$c40) {
17120
+ s2 = peg$c40;
17121
+ peg$currPos += 4;
17122
+ } else {
17123
+ s2 = peg$FAILED;
17124
+ if (peg$silentFails === 0) {
17125
+ peg$fail(peg$e44);
17126
+ }
17127
+ }
17128
+ if (s2 !== peg$FAILED) {
17129
+ if (input.charCodeAt(peg$currPos) === 58) {
17130
+ s3 = peg$c5;
17131
+ peg$currPos++;
17132
+ } else {
17133
+ s3 = peg$FAILED;
17134
+ if (peg$silentFails === 0) {
17135
+ peg$fail(peg$e8);
17136
+ }
17137
+ }
17138
+ if (s3 !== peg$FAILED) {
17139
+ s4 = [];
17140
+ if (input.charCodeAt(peg$currPos) === 32) {
17141
+ s5 = peg$c12;
17142
+ peg$currPos++;
17143
+ } else {
17144
+ s5 = peg$FAILED;
17145
+ if (peg$silentFails === 0) {
17146
+ peg$fail(peg$e16);
17147
+ }
17148
+ }
17149
+ while (s5 !== peg$FAILED) {
17150
+ s4.push(s5);
17151
+ if (input.charCodeAt(peg$currPos) === 32) {
17152
+ s5 = peg$c12;
17153
+ peg$currPos++;
17154
+ } else {
17155
+ s5 = peg$FAILED;
17156
+ if (peg$silentFails === 0) {
17157
+ peg$fail(peg$e16);
17158
+ }
17159
+ }
17160
+ }
17161
+ s5 = peg$parseInlineMediaSize();
17162
+ if (s5 !== peg$FAILED) {
17163
+ s6 = peg$parseBlockTag();
17164
+ if (s6 !== peg$FAILED) {
17165
+ peg$savedPos = s0;
17166
+ s0 = peg$f71(s2, s5);
17167
+ } else {
17168
+ peg$currPos = s0;
17169
+ s0 = peg$FAILED;
17170
+ }
17171
+ } else {
17172
+ peg$currPos = s0;
17173
+ s0 = peg$FAILED;
17174
+ }
17175
+ } else {
17176
+ peg$currPos = s0;
17177
+ s0 = peg$FAILED;
17178
+ }
17179
+ } else {
17180
+ peg$currPos = s0;
17181
+ s0 = peg$FAILED;
17182
+ }
17183
+ }
17033
17184
  }
17034
17185
  }
17035
17186
  }
@@ -17038,83 +17189,83 @@ function peg$parse(input, options) {
17038
17189
  }
17039
17190
  function peg$parseInlineMediaAlignment() {
17040
17191
  let s0;
17041
- if (input.substr(peg$currPos, 3) === peg$c40) {
17042
- s0 = peg$c40;
17192
+ if (input.substr(peg$currPos, 3) === peg$c41) {
17193
+ s0 = peg$c41;
17043
17194
  peg$currPos += 3;
17044
17195
  } else {
17045
17196
  s0 = peg$FAILED;
17046
17197
  if (peg$silentFails === 0) {
17047
- peg$fail(peg$e44);
17198
+ peg$fail(peg$e45);
17048
17199
  }
17049
17200
  }
17050
17201
  if (s0 === peg$FAILED) {
17051
- if (input.substr(peg$currPos, 6) === peg$c41) {
17052
- s0 = peg$c41;
17202
+ if (input.substr(peg$currPos, 6) === peg$c42) {
17203
+ s0 = peg$c42;
17053
17204
  peg$currPos += 6;
17054
17205
  } else {
17055
17206
  s0 = peg$FAILED;
17056
17207
  if (peg$silentFails === 0) {
17057
- peg$fail(peg$e45);
17208
+ peg$fail(peg$e46);
17058
17209
  }
17059
17210
  }
17060
17211
  if (s0 === peg$FAILED) {
17061
- if (input.substr(peg$currPos, 6) === peg$c42) {
17062
- s0 = peg$c42;
17212
+ if (input.substr(peg$currPos, 6) === peg$c43) {
17213
+ s0 = peg$c43;
17063
17214
  peg$currPos += 6;
17064
17215
  } else {
17065
17216
  s0 = peg$FAILED;
17066
17217
  if (peg$silentFails === 0) {
17067
- peg$fail(peg$e46);
17218
+ peg$fail(peg$e47);
17068
17219
  }
17069
17220
  }
17070
17221
  if (s0 === peg$FAILED) {
17071
- if (input.substr(peg$currPos, 8) === peg$c43) {
17072
- s0 = peg$c43;
17222
+ if (input.substr(peg$currPos, 8) === peg$c44) {
17223
+ s0 = peg$c44;
17073
17224
  peg$currPos += 8;
17074
17225
  } else {
17075
17226
  s0 = peg$FAILED;
17076
17227
  if (peg$silentFails === 0) {
17077
- peg$fail(peg$e47);
17228
+ peg$fail(peg$e48);
17078
17229
  }
17079
17230
  }
17080
17231
  if (s0 === peg$FAILED) {
17081
- if (input.substr(peg$currPos, 3) === peg$c44) {
17082
- s0 = peg$c44;
17232
+ if (input.substr(peg$currPos, 3) === peg$c45) {
17233
+ s0 = peg$c45;
17083
17234
  peg$currPos += 3;
17084
17235
  } else {
17085
17236
  s0 = peg$FAILED;
17086
17237
  if (peg$silentFails === 0) {
17087
- peg$fail(peg$e48);
17238
+ peg$fail(peg$e49);
17088
17239
  }
17089
17240
  }
17090
17241
  if (s0 === peg$FAILED) {
17091
- if (input.substr(peg$currPos, 5) === peg$c45) {
17092
- s0 = peg$c45;
17242
+ if (input.substr(peg$currPos, 5) === peg$c46) {
17243
+ s0 = peg$c46;
17093
17244
  peg$currPos += 5;
17094
17245
  } else {
17095
17246
  s0 = peg$FAILED;
17096
17247
  if (peg$silentFails === 0) {
17097
- peg$fail(peg$e49);
17248
+ peg$fail(peg$e50);
17098
17249
  }
17099
17250
  }
17100
17251
  if (s0 === peg$FAILED) {
17101
- if (input.substr(peg$currPos, 11) === peg$c46) {
17102
- s0 = peg$c46;
17252
+ if (input.substr(peg$currPos, 11) === peg$c47) {
17253
+ s0 = peg$c47;
17103
17254
  peg$currPos += 11;
17104
17255
  } else {
17105
17256
  s0 = peg$FAILED;
17106
17257
  if (peg$silentFails === 0) {
17107
- peg$fail(peg$e50);
17258
+ peg$fail(peg$e51);
17108
17259
  }
17109
17260
  }
17110
17261
  if (s0 === peg$FAILED) {
17111
- if (input.substr(peg$currPos, 8) === peg$c47) {
17112
- s0 = peg$c47;
17262
+ if (input.substr(peg$currPos, 8) === peg$c48) {
17263
+ s0 = peg$c48;
17113
17264
  peg$currPos += 8;
17114
17265
  } else {
17115
17266
  s0 = peg$FAILED;
17116
17267
  if (peg$silentFails === 0) {
17117
- peg$fail(peg$e51);
17268
+ peg$fail(peg$e52);
17118
17269
  }
17119
17270
  }
17120
17271
  }
@@ -17128,53 +17279,53 @@ function peg$parse(input, options) {
17128
17279
  }
17129
17280
  function peg$parseInlineMediaSize() {
17130
17281
  let s0;
17131
- if (input.substr(peg$currPos, 11) === peg$c48) {
17132
- s0 = peg$c48;
17282
+ if (input.substr(peg$currPos, 11) === peg$c49) {
17283
+ s0 = peg$c49;
17133
17284
  peg$currPos += 11;
17134
17285
  } else {
17135
17286
  s0 = peg$FAILED;
17136
17287
  if (peg$silentFails === 0) {
17137
- peg$fail(peg$e52);
17288
+ peg$fail(peg$e53);
17138
17289
  }
17139
17290
  }
17140
17291
  if (s0 === peg$FAILED) {
17141
- if (input.substr(peg$currPos, 11) === peg$c49) {
17142
- s0 = peg$c49;
17292
+ if (input.substr(peg$currPos, 11) === peg$c50) {
17293
+ s0 = peg$c50;
17143
17294
  peg$currPos += 11;
17144
17295
  } else {
17145
17296
  s0 = peg$FAILED;
17146
17297
  if (peg$silentFails === 0) {
17147
- peg$fail(peg$e53);
17298
+ peg$fail(peg$e54);
17148
17299
  }
17149
17300
  }
17150
17301
  if (s0 === peg$FAILED) {
17151
- if (input.substr(peg$currPos, 5) === peg$c45) {
17152
- s0 = peg$c45;
17302
+ if (input.substr(peg$currPos, 5) === peg$c46) {
17303
+ s0 = peg$c46;
17153
17304
  peg$currPos += 5;
17154
17305
  } else {
17155
17306
  s0 = peg$FAILED;
17156
17307
  if (peg$silentFails === 0) {
17157
- peg$fail(peg$e49);
17308
+ peg$fail(peg$e50);
17158
17309
  }
17159
17310
  }
17160
17311
  if (s0 === peg$FAILED) {
17161
- if (input.substr(peg$currPos, 3) === peg$c44) {
17162
- s0 = peg$c44;
17312
+ if (input.substr(peg$currPos, 3) === peg$c45) {
17313
+ s0 = peg$c45;
17163
17314
  peg$currPos += 3;
17164
17315
  } else {
17165
17316
  s0 = peg$FAILED;
17166
17317
  if (peg$silentFails === 0) {
17167
- peg$fail(peg$e48);
17318
+ peg$fail(peg$e49);
17168
17319
  }
17169
17320
  }
17170
17321
  if (s0 === peg$FAILED) {
17171
- if (input.substr(peg$currPos, 8) === peg$c50) {
17172
- s0 = peg$c50;
17322
+ if (input.substr(peg$currPos, 8) === peg$c51) {
17323
+ s0 = peg$c51;
17173
17324
  peg$currPos += 8;
17174
17325
  } else {
17175
17326
  s0 = peg$FAILED;
17176
17327
  if (peg$silentFails === 0) {
17177
- peg$fail(peg$e54);
17328
+ peg$fail(peg$e55);
17178
17329
  }
17179
17330
  }
17180
17331
  }
@@ -17186,13 +17337,13 @@ function peg$parse(input, options) {
17186
17337
  function peg$parseAttrChainItem() {
17187
17338
  let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
17188
17339
  s0 = peg$currPos;
17189
- if (input.substr(peg$currPos, 5) === peg$c51) {
17190
- s1 = peg$c51;
17340
+ if (input.substr(peg$currPos, 5) === peg$c52) {
17341
+ s1 = peg$c52;
17191
17342
  peg$currPos += 5;
17192
17343
  } else {
17193
17344
  s1 = peg$FAILED;
17194
17345
  if (peg$silentFails === 0) {
17195
- peg$fail(peg$e55);
17346
+ peg$fail(peg$e56);
17196
17347
  }
17197
17348
  }
17198
17349
  if (s1 !== peg$FAILED) {
@@ -17253,7 +17404,7 @@ function peg$parse(input, options) {
17253
17404
  s3 = peg$parseBlockTag();
17254
17405
  if (s3 !== peg$FAILED) {
17255
17406
  peg$savedPos = s0;
17256
- s0 = peg$f71(s2);
17407
+ s0 = peg$f72(s2);
17257
17408
  } else {
17258
17409
  peg$currPos = s0;
17259
17410
  s0 = peg$FAILED;
@@ -17264,13 +17415,13 @@ function peg$parse(input, options) {
17264
17415
  }
17265
17416
  if (s0 === peg$FAILED) {
17266
17417
  s0 = peg$currPos;
17267
- if (input.substr(peg$currPos, 7) === peg$c52) {
17268
- s1 = peg$c52;
17418
+ if (input.substr(peg$currPos, 7) === peg$c53) {
17419
+ s1 = peg$c53;
17269
17420
  peg$currPos += 7;
17270
17421
  } else {
17271
17422
  s1 = peg$FAILED;
17272
17423
  if (peg$silentFails === 0) {
17273
- peg$fail(peg$e56);
17424
+ peg$fail(peg$e57);
17274
17425
  }
17275
17426
  }
17276
17427
  if (s1 !== peg$FAILED) {
@@ -17331,13 +17482,13 @@ function peg$parse(input, options) {
17331
17482
  s3 = peg$parseRefsChain();
17332
17483
  s4 = peg$parseBlockTag();
17333
17484
  if (s4 !== peg$FAILED) {
17334
- if (input.substr(peg$currPos, 9) === peg$c53) {
17335
- s5 = peg$c53;
17485
+ if (input.substr(peg$currPos, 9) === peg$c54) {
17486
+ s5 = peg$c54;
17336
17487
  peg$currPos += 9;
17337
17488
  } else {
17338
17489
  s5 = peg$FAILED;
17339
17490
  if (peg$silentFails === 0) {
17340
- peg$fail(peg$e57);
17491
+ peg$fail(peg$e58);
17341
17492
  }
17342
17493
  }
17343
17494
  if (s5 !== peg$FAILED) {
@@ -17398,7 +17549,7 @@ function peg$parse(input, options) {
17398
17549
  s7 = peg$parseBlockTag();
17399
17550
  if (s7 !== peg$FAILED) {
17400
17551
  peg$savedPos = s0;
17401
- s0 = peg$f72(s2, s3, s6);
17552
+ s0 = peg$f73(s2, s3, s6);
17402
17553
  } else {
17403
17554
  peg$currPos = s0;
17404
17555
  s0 = peg$FAILED;
@@ -17417,13 +17568,13 @@ function peg$parse(input, options) {
17417
17568
  }
17418
17569
  if (s0 === peg$FAILED) {
17419
17570
  s0 = peg$currPos;
17420
- if (input.substr(peg$currPos, 5) === peg$c54) {
17421
- s1 = peg$c54;
17571
+ if (input.substr(peg$currPos, 5) === peg$c55) {
17572
+ s1 = peg$c55;
17422
17573
  peg$currPos += 5;
17423
17574
  } else {
17424
17575
  s1 = peg$FAILED;
17425
17576
  if (peg$silentFails === 0) {
17426
- peg$fail(peg$e58);
17577
+ peg$fail(peg$e59);
17427
17578
  }
17428
17579
  }
17429
17580
  if (s1 !== peg$FAILED) {
@@ -17484,12 +17635,12 @@ function peg$parse(input, options) {
17484
17635
  s3 = peg$parseBlockTag();
17485
17636
  if (s3 !== peg$FAILED) {
17486
17637
  if (input.charCodeAt(peg$currPos) === 9658) {
17487
- s4 = peg$c55;
17638
+ s4 = peg$c56;
17488
17639
  peg$currPos++;
17489
17640
  } else {
17490
17641
  s4 = peg$FAILED;
17491
17642
  if (peg$silentFails === 0) {
17492
- peg$fail(peg$e59);
17643
+ peg$fail(peg$e60);
17493
17644
  }
17494
17645
  }
17495
17646
  if (s4 !== peg$FAILED) {
@@ -17550,7 +17701,7 @@ function peg$parse(input, options) {
17550
17701
  s6 = peg$parseBlockTag();
17551
17702
  if (s6 !== peg$FAILED) {
17552
17703
  peg$savedPos = s0;
17553
- s0 = peg$f73(s2, s5);
17704
+ s0 = peg$f74(s2, s5);
17554
17705
  } else {
17555
17706
  peg$currPos = s0;
17556
17707
  s0 = peg$FAILED;
@@ -17569,13 +17720,13 @@ function peg$parse(input, options) {
17569
17720
  }
17570
17721
  if (s0 === peg$FAILED) {
17571
17722
  s0 = peg$currPos;
17572
- if (input.substr(peg$currPos, 5) === peg$c54) {
17573
- s1 = peg$c54;
17723
+ if (input.substr(peg$currPos, 5) === peg$c55) {
17724
+ s1 = peg$c55;
17574
17725
  peg$currPos += 5;
17575
17726
  } else {
17576
17727
  s1 = peg$FAILED;
17577
17728
  if (peg$silentFails === 0) {
17578
- peg$fail(peg$e58);
17729
+ peg$fail(peg$e59);
17579
17730
  }
17580
17731
  }
17581
17732
  if (s1 !== peg$FAILED) {
@@ -17636,7 +17787,7 @@ function peg$parse(input, options) {
17636
17787
  s3 = peg$parseBlockTag();
17637
17788
  if (s3 !== peg$FAILED) {
17638
17789
  peg$savedPos = s0;
17639
- s0 = peg$f74(s2);
17790
+ s0 = peg$f75(s2);
17640
17791
  } else {
17641
17792
  peg$currPos = s0;
17642
17793
  s0 = peg$FAILED;
@@ -17648,12 +17799,12 @@ function peg$parse(input, options) {
17648
17799
  if (s0 === peg$FAILED) {
17649
17800
  s0 = peg$currPos;
17650
17801
  if (input.charCodeAt(peg$currPos) === 9658) {
17651
- s1 = peg$c55;
17802
+ s1 = peg$c56;
17652
17803
  peg$currPos++;
17653
17804
  } else {
17654
17805
  s1 = peg$FAILED;
17655
17806
  if (peg$silentFails === 0) {
17656
- peg$fail(peg$e59);
17807
+ peg$fail(peg$e60);
17657
17808
  }
17658
17809
  }
17659
17810
  if (s1 !== peg$FAILED) {
@@ -17714,7 +17865,7 @@ function peg$parse(input, options) {
17714
17865
  s3 = peg$parseBlockTag();
17715
17866
  if (s3 !== peg$FAILED) {
17716
17867
  peg$savedPos = s0;
17717
- s0 = peg$f75(s2);
17868
+ s0 = peg$f76(s2);
17718
17869
  } else {
17719
17870
  peg$currPos = s0;
17720
17871
  s0 = peg$FAILED;
@@ -17725,13 +17876,13 @@ function peg$parse(input, options) {
17725
17876
  }
17726
17877
  if (s0 === peg$FAILED) {
17727
17878
  s0 = peg$currPos;
17728
- if (input.substr(peg$currPos, 7) === peg$c56) {
17729
- s1 = peg$c56;
17879
+ if (input.substr(peg$currPos, 7) === peg$c57) {
17880
+ s1 = peg$c57;
17730
17881
  peg$currPos += 7;
17731
17882
  } else {
17732
17883
  s1 = peg$FAILED;
17733
17884
  if (peg$silentFails === 0) {
17734
- peg$fail(peg$e60);
17885
+ peg$fail(peg$e61);
17735
17886
  }
17736
17887
  }
17737
17888
  if (s1 !== peg$FAILED) {
@@ -17793,7 +17944,7 @@ function peg$parse(input, options) {
17793
17944
  if (s3 !== peg$FAILED) {
17794
17945
  s4 = peg$parseMediaChain();
17795
17946
  peg$savedPos = s0;
17796
- s0 = peg$f76(s2, s4);
17947
+ s0 = peg$f77(s2, s4);
17797
17948
  } else {
17798
17949
  peg$currPos = s0;
17799
17950
  s0 = peg$FAILED;
@@ -17804,13 +17955,13 @@ function peg$parse(input, options) {
17804
17955
  }
17805
17956
  if (s0 === peg$FAILED) {
17806
17957
  s0 = peg$currPos;
17807
- if (input.substr(peg$currPos, 9) === peg$c57) {
17808
- s1 = peg$c57;
17958
+ if (input.substr(peg$currPos, 9) === peg$c58) {
17959
+ s1 = peg$c58;
17809
17960
  peg$currPos += 9;
17810
17961
  } else {
17811
17962
  s1 = peg$FAILED;
17812
17963
  if (peg$silentFails === 0) {
17813
- peg$fail(peg$e61);
17964
+ peg$fail(peg$e62);
17814
17965
  }
17815
17966
  }
17816
17967
  if (s1 !== peg$FAILED) {
@@ -17871,7 +18022,7 @@ function peg$parse(input, options) {
17871
18022
  s3 = peg$parseBlockTag();
17872
18023
  if (s3 !== peg$FAILED) {
17873
18024
  peg$savedPos = s0;
17874
- s0 = peg$f77(s2);
18025
+ s0 = peg$f78(s2);
17875
18026
  } else {
17876
18027
  peg$currPos = s0;
17877
18028
  s0 = peg$FAILED;
@@ -17882,13 +18033,13 @@ function peg$parse(input, options) {
17882
18033
  }
17883
18034
  if (s0 === peg$FAILED) {
17884
18035
  s0 = peg$currPos;
17885
- if (input.substr(peg$currPos, 10) === peg$c58) {
17886
- s1 = peg$c58;
18036
+ if (input.substr(peg$currPos, 10) === peg$c59) {
18037
+ s1 = peg$c59;
17887
18038
  peg$currPos += 10;
17888
18039
  } else {
17889
18040
  s1 = peg$FAILED;
17890
18041
  if (peg$silentFails === 0) {
17891
- peg$fail(peg$e62);
18042
+ peg$fail(peg$e63);
17892
18043
  }
17893
18044
  }
17894
18045
  if (s1 !== peg$FAILED) {
@@ -17949,7 +18100,7 @@ function peg$parse(input, options) {
17949
18100
  s3 = peg$parseBlockTag();
17950
18101
  if (s3 !== peg$FAILED) {
17951
18102
  peg$savedPos = s0;
17952
- s0 = peg$f78(s2);
18103
+ s0 = peg$f79(s2);
17953
18104
  } else {
17954
18105
  peg$currPos = s0;
17955
18106
  s0 = peg$FAILED;
@@ -17960,13 +18111,13 @@ function peg$parse(input, options) {
17960
18111
  }
17961
18112
  if (s0 === peg$FAILED) {
17962
18113
  s0 = peg$currPos;
17963
- if (input.substr(peg$currPos, 4) === peg$c59) {
17964
- s1 = peg$c59;
18114
+ if (input.substr(peg$currPos, 4) === peg$c60) {
18115
+ s1 = peg$c60;
17965
18116
  peg$currPos += 4;
17966
18117
  } else {
17967
18118
  s1 = peg$FAILED;
17968
18119
  if (peg$silentFails === 0) {
17969
- peg$fail(peg$e63);
18120
+ peg$fail(peg$e64);
17970
18121
  }
17971
18122
  }
17972
18123
  if (s1 !== peg$FAILED) {
@@ -18027,7 +18178,7 @@ function peg$parse(input, options) {
18027
18178
  s3 = peg$parseBlockTag();
18028
18179
  if (s3 !== peg$FAILED) {
18029
18180
  peg$savedPos = s0;
18030
- s0 = peg$f79(s2);
18181
+ s0 = peg$f80(s2);
18031
18182
  } else {
18032
18183
  peg$currPos = s0;
18033
18184
  s0 = peg$FAILED;
@@ -18051,7 +18202,7 @@ function peg$parse(input, options) {
18051
18202
  s2 = peg$parseBlockTag();
18052
18203
  if (s2 !== peg$FAILED) {
18053
18204
  peg$savedPos = s0;
18054
- s0 = peg$f80();
18205
+ s0 = peg$f81();
18055
18206
  } else {
18056
18207
  peg$currPos = s0;
18057
18208
  s0 = peg$FAILED;
@@ -18062,13 +18213,13 @@ function peg$parse(input, options) {
18062
18213
  }
18063
18214
  if (s0 === peg$FAILED) {
18064
18215
  s0 = peg$currPos;
18065
- if (input.substr(peg$currPos, 5) === peg$c60) {
18066
- s1 = peg$c60;
18216
+ if (input.substr(peg$currPos, 5) === peg$c61) {
18217
+ s1 = peg$c61;
18067
18218
  peg$currPos += 5;
18068
18219
  } else {
18069
18220
  s1 = peg$FAILED;
18070
18221
  if (peg$silentFails === 0) {
18071
- peg$fail(peg$e64);
18222
+ peg$fail(peg$e65);
18072
18223
  }
18073
18224
  }
18074
18225
  if (s1 !== peg$FAILED) {
@@ -18129,7 +18280,7 @@ function peg$parse(input, options) {
18129
18280
  s3 = peg$parseBlockTag();
18130
18281
  if (s3 !== peg$FAILED) {
18131
18282
  peg$savedPos = s0;
18132
- s0 = peg$f81(s2);
18283
+ s0 = peg$f82(s2);
18133
18284
  } else {
18134
18285
  peg$currPos = s0;
18135
18286
  s0 = peg$FAILED;
@@ -18140,20 +18291,20 @@ function peg$parse(input, options) {
18140
18291
  }
18141
18292
  if (s0 === peg$FAILED) {
18142
18293
  s0 = peg$currPos;
18143
- if (input.substr(peg$currPos, 5) === peg$c61) {
18144
- s1 = peg$c61;
18294
+ if (input.substr(peg$currPos, 5) === peg$c62) {
18295
+ s1 = peg$c62;
18145
18296
  peg$currPos += 5;
18146
18297
  } else {
18147
18298
  s1 = peg$FAILED;
18148
18299
  if (peg$silentFails === 0) {
18149
- peg$fail(peg$e65);
18300
+ peg$fail(peg$e66);
18150
18301
  }
18151
18302
  }
18152
18303
  if (s1 !== peg$FAILED) {
18153
18304
  s2 = peg$parseBlockTag();
18154
18305
  if (s2 !== peg$FAILED) {
18155
18306
  peg$savedPos = s0;
18156
- s0 = peg$f82();
18307
+ s0 = peg$f83();
18157
18308
  } else {
18158
18309
  peg$currPos = s0;
18159
18310
  s0 = peg$FAILED;
@@ -18164,13 +18315,13 @@ function peg$parse(input, options) {
18164
18315
  }
18165
18316
  if (s0 === peg$FAILED) {
18166
18317
  s0 = peg$currPos;
18167
- if (input.substr(peg$currPos, 6) === peg$c62) {
18168
- s1 = peg$c62;
18318
+ if (input.substr(peg$currPos, 6) === peg$c63) {
18319
+ s1 = peg$c63;
18169
18320
  peg$currPos += 6;
18170
18321
  } else {
18171
18322
  s1 = peg$FAILED;
18172
18323
  if (peg$silentFails === 0) {
18173
- peg$fail(peg$e66);
18324
+ peg$fail(peg$e67);
18174
18325
  }
18175
18326
  }
18176
18327
  if (s1 !== peg$FAILED) {
@@ -18231,7 +18382,7 @@ function peg$parse(input, options) {
18231
18382
  s3 = peg$parseBlockTag();
18232
18383
  if (s3 !== peg$FAILED) {
18233
18384
  peg$savedPos = s0;
18234
- s0 = peg$f83(s2);
18385
+ s0 = peg$f84(s2);
18235
18386
  } else {
18236
18387
  peg$currPos = s0;
18237
18388
  s0 = peg$FAILED;
@@ -18242,25 +18393,25 @@ function peg$parse(input, options) {
18242
18393
  }
18243
18394
  if (s0 === peg$FAILED) {
18244
18395
  s0 = peg$currPos;
18245
- if (input.substr(peg$currPos, 9) === peg$c63) {
18246
- s1 = peg$c63;
18396
+ if (input.substr(peg$currPos, 9) === peg$c64) {
18397
+ s1 = peg$c64;
18247
18398
  peg$currPos += 9;
18248
18399
  } else {
18249
18400
  s1 = peg$FAILED;
18250
18401
  if (peg$silentFails === 0) {
18251
- peg$fail(peg$e67);
18402
+ peg$fail(peg$e68);
18252
18403
  }
18253
18404
  }
18254
18405
  if (s1 !== peg$FAILED) {
18255
18406
  s2 = peg$currPos;
18256
18407
  s3 = peg$currPos;
18257
18408
  if (input.charCodeAt(peg$currPos) === 80) {
18258
- s4 = peg$c64;
18409
+ s4 = peg$c65;
18259
18410
  peg$currPos++;
18260
18411
  } else {
18261
18412
  s4 = peg$FAILED;
18262
18413
  if (peg$silentFails === 0) {
18263
- peg$fail(peg$e68);
18414
+ peg$fail(peg$e69);
18264
18415
  }
18265
18416
  }
18266
18417
  if (s4 !== peg$FAILED) {
@@ -18333,7 +18484,7 @@ function peg$parse(input, options) {
18333
18484
  s3 = peg$parseBlockTag();
18334
18485
  if (s3 !== peg$FAILED) {
18335
18486
  peg$savedPos = s0;
18336
- s0 = peg$f84(s2);
18487
+ s0 = peg$f85(s2);
18337
18488
  } else {
18338
18489
  peg$currPos = s0;
18339
18490
  s0 = peg$FAILED;
@@ -18348,13 +18499,13 @@ function peg$parse(input, options) {
18348
18499
  }
18349
18500
  if (s0 === peg$FAILED) {
18350
18501
  s0 = peg$currPos;
18351
- if (input.substr(peg$currPos, 6) === peg$c65) {
18352
- s1 = peg$c65;
18502
+ if (input.substr(peg$currPos, 6) === peg$c66) {
18503
+ s1 = peg$c66;
18353
18504
  peg$currPos += 6;
18354
18505
  } else {
18355
18506
  s1 = peg$FAILED;
18356
18507
  if (peg$silentFails === 0) {
18357
- peg$fail(peg$e69);
18508
+ peg$fail(peg$e70);
18358
18509
  }
18359
18510
  }
18360
18511
  if (s1 !== peg$FAILED) {
@@ -18363,7 +18514,7 @@ function peg$parse(input, options) {
18363
18514
  s3 = peg$parseBlockTag();
18364
18515
  if (s3 !== peg$FAILED) {
18365
18516
  peg$savedPos = s0;
18366
- s0 = peg$f85(s2);
18517
+ s0 = peg$f86(s2);
18367
18518
  } else {
18368
18519
  peg$currPos = s0;
18369
18520
  s0 = peg$FAILED;
@@ -18383,7 +18534,7 @@ function peg$parse(input, options) {
18383
18534
  s2 = peg$parseBlockTag();
18384
18535
  if (s2 !== peg$FAILED) {
18385
18536
  peg$savedPos = s0;
18386
- s0 = peg$f86(s1);
18537
+ s0 = peg$f87(s1);
18387
18538
  } else {
18388
18539
  peg$currPos = s0;
18389
18540
  s0 = peg$FAILED;
@@ -18461,7 +18612,7 @@ function peg$parse(input, options) {
18461
18612
  s3 = peg$parseBlockTag();
18462
18613
  if (s3 !== peg$FAILED) {
18463
18614
  peg$savedPos = s0;
18464
- s0 = peg$f87(s2);
18615
+ s0 = peg$f88(s2);
18465
18616
  } else {
18466
18617
  peg$currPos = s0;
18467
18618
  s0 = peg$FAILED;
@@ -18501,13 +18652,13 @@ function peg$parse(input, options) {
18501
18652
  function peg$parseRef() {
18502
18653
  let s0, s1, s2, s3, s4, s5, s6;
18503
18654
  s0 = peg$currPos;
18504
- if (input.substr(peg$currPos, 2) === peg$c66) {
18505
- s1 = peg$c66;
18655
+ if (input.substr(peg$currPos, 2) === peg$c67) {
18656
+ s1 = peg$c67;
18506
18657
  peg$currPos += 2;
18507
18658
  } else {
18508
18659
  s1 = peg$FAILED;
18509
18660
  if (peg$silentFails === 0) {
18510
- peg$fail(peg$e70);
18661
+ peg$fail(peg$e71);
18511
18662
  }
18512
18663
  }
18513
18664
  if (s1 !== peg$FAILED) {
@@ -18566,7 +18717,7 @@ function peg$parse(input, options) {
18566
18717
  }
18567
18718
  s2 = input.substring(s2, peg$currPos);
18568
18719
  peg$savedPos = s0;
18569
- s0 = peg$f88(s2);
18720
+ s0 = peg$f89(s2);
18570
18721
  } else {
18571
18722
  peg$currPos = s0;
18572
18723
  s0 = peg$FAILED;
@@ -18575,303 +18726,303 @@ function peg$parse(input, options) {
18575
18726
  }
18576
18727
  function peg$parseAlternativeStyleTags() {
18577
18728
  let s0;
18578
- if (input.substr(peg$currPos, 4) === peg$c67) {
18579
- s0 = peg$c67;
18729
+ if (input.substr(peg$currPos, 4) === peg$c68) {
18730
+ s0 = peg$c68;
18580
18731
  peg$currPos += 4;
18581
18732
  } else {
18582
18733
  s0 = peg$FAILED;
18583
18734
  if (peg$silentFails === 0) {
18584
- peg$fail(peg$e71);
18735
+ peg$fail(peg$e72);
18585
18736
  }
18586
18737
  }
18587
18738
  if (s0 === peg$FAILED) {
18588
- if (input.substr(peg$currPos, 6) === peg$c68) {
18589
- s0 = peg$c68;
18739
+ if (input.substr(peg$currPos, 6) === peg$c69) {
18740
+ s0 = peg$c69;
18590
18741
  peg$currPos += 6;
18591
18742
  } else {
18592
18743
  s0 = peg$FAILED;
18593
18744
  if (peg$silentFails === 0) {
18594
- peg$fail(peg$e72);
18745
+ peg$fail(peg$e73);
18595
18746
  }
18596
18747
  }
18597
18748
  if (s0 === peg$FAILED) {
18598
- if (input.substr(peg$currPos, 5) === peg$c69) {
18599
- s0 = peg$c69;
18749
+ if (input.substr(peg$currPos, 5) === peg$c70) {
18750
+ s0 = peg$c70;
18600
18751
  peg$currPos += 5;
18601
18752
  } else {
18602
18753
  s0 = peg$FAILED;
18603
18754
  if (peg$silentFails === 0) {
18604
- peg$fail(peg$e73);
18755
+ peg$fail(peg$e74);
18605
18756
  }
18606
18757
  }
18607
18758
  if (s0 === peg$FAILED) {
18608
- if (input.substr(peg$currPos, 9) === peg$c70) {
18609
- s0 = peg$c70;
18759
+ if (input.substr(peg$currPos, 9) === peg$c71) {
18760
+ s0 = peg$c71;
18610
18761
  peg$currPos += 9;
18611
18762
  } else {
18612
18763
  s0 = peg$FAILED;
18613
18764
  if (peg$silentFails === 0) {
18614
- peg$fail(peg$e74);
18765
+ peg$fail(peg$e75);
18615
18766
  }
18616
18767
  }
18617
18768
  if (s0 === peg$FAILED) {
18618
- if (input.substr(peg$currPos, 6) === peg$c71) {
18619
- s0 = peg$c71;
18769
+ if (input.substr(peg$currPos, 6) === peg$c72) {
18770
+ s0 = peg$c72;
18620
18771
  peg$currPos += 6;
18621
18772
  } else {
18622
18773
  s0 = peg$FAILED;
18623
18774
  if (peg$silentFails === 0) {
18624
- peg$fail(peg$e75);
18775
+ peg$fail(peg$e76);
18625
18776
  }
18626
18777
  }
18627
18778
  if (s0 === peg$FAILED) {
18628
- if (input.substr(peg$currPos, 9) === peg$c72) {
18629
- s0 = peg$c72;
18779
+ if (input.substr(peg$currPos, 9) === peg$c73) {
18780
+ s0 = peg$c73;
18630
18781
  peg$currPos += 9;
18631
18782
  } else {
18632
18783
  s0 = peg$FAILED;
18633
18784
  if (peg$silentFails === 0) {
18634
- peg$fail(peg$e76);
18785
+ peg$fail(peg$e77);
18635
18786
  }
18636
18787
  }
18637
18788
  if (s0 === peg$FAILED) {
18638
- if (input.substr(peg$currPos, 11) === peg$c73) {
18639
- s0 = peg$c73;
18789
+ if (input.substr(peg$currPos, 11) === peg$c74) {
18790
+ s0 = peg$c74;
18640
18791
  peg$currPos += 11;
18641
18792
  } else {
18642
18793
  s0 = peg$FAILED;
18643
18794
  if (peg$silentFails === 0) {
18644
- peg$fail(peg$e77);
18795
+ peg$fail(peg$e78);
18645
18796
  }
18646
18797
  }
18647
18798
  if (s0 === peg$FAILED) {
18648
- if (input.substr(peg$currPos, 3) === peg$c74) {
18649
- s0 = peg$c74;
18799
+ if (input.substr(peg$currPos, 3) === peg$c75) {
18800
+ s0 = peg$c75;
18650
18801
  peg$currPos += 3;
18651
18802
  } else {
18652
18803
  s0 = peg$FAILED;
18653
18804
  if (peg$silentFails === 0) {
18654
- peg$fail(peg$e78);
18805
+ peg$fail(peg$e79);
18655
18806
  }
18656
18807
  }
18657
18808
  if (s0 === peg$FAILED) {
18658
- if (input.substr(peg$currPos, 3) === peg$c75) {
18659
- s0 = peg$c75;
18809
+ if (input.substr(peg$currPos, 3) === peg$c76) {
18810
+ s0 = peg$c76;
18660
18811
  peg$currPos += 3;
18661
18812
  } else {
18662
18813
  s0 = peg$FAILED;
18663
18814
  if (peg$silentFails === 0) {
18664
- peg$fail(peg$e79);
18815
+ peg$fail(peg$e80);
18665
18816
  }
18666
18817
  }
18667
18818
  if (s0 === peg$FAILED) {
18668
- if (input.substr(peg$currPos, 9) === peg$c76) {
18669
- s0 = peg$c76;
18819
+ if (input.substr(peg$currPos, 9) === peg$c77) {
18820
+ s0 = peg$c77;
18670
18821
  peg$currPos += 9;
18671
18822
  } else {
18672
18823
  s0 = peg$FAILED;
18673
18824
  if (peg$silentFails === 0) {
18674
- peg$fail(peg$e80);
18825
+ peg$fail(peg$e81);
18675
18826
  }
18676
18827
  }
18677
18828
  if (s0 === peg$FAILED) {
18678
- if (input.substr(peg$currPos, 15) === peg$c77) {
18679
- s0 = peg$c77;
18829
+ if (input.substr(peg$currPos, 15) === peg$c78) {
18830
+ s0 = peg$c78;
18680
18831
  peg$currPos += 15;
18681
18832
  } else {
18682
18833
  s0 = peg$FAILED;
18683
18834
  if (peg$silentFails === 0) {
18684
- peg$fail(peg$e81);
18835
+ peg$fail(peg$e82);
18685
18836
  }
18686
18837
  }
18687
18838
  if (s0 === peg$FAILED) {
18688
- if (input.substr(peg$currPos, 6) === peg$c78) {
18689
- s0 = peg$c78;
18839
+ if (input.substr(peg$currPos, 6) === peg$c79) {
18840
+ s0 = peg$c79;
18690
18841
  peg$currPos += 6;
18691
18842
  } else {
18692
18843
  s0 = peg$FAILED;
18693
18844
  if (peg$silentFails === 0) {
18694
- peg$fail(peg$e82);
18845
+ peg$fail(peg$e83);
18695
18846
  }
18696
18847
  }
18697
18848
  if (s0 === peg$FAILED) {
18698
- if (input.substr(peg$currPos, 13) === peg$c79) {
18699
- s0 = peg$c79;
18849
+ if (input.substr(peg$currPos, 13) === peg$c80) {
18850
+ s0 = peg$c80;
18700
18851
  peg$currPos += 13;
18701
18852
  } else {
18702
18853
  s0 = peg$FAILED;
18703
18854
  if (peg$silentFails === 0) {
18704
- peg$fail(peg$e83);
18855
+ peg$fail(peg$e84);
18705
18856
  }
18706
18857
  }
18707
18858
  if (s0 === peg$FAILED) {
18708
- if (input.substr(peg$currPos, 16) === peg$c80) {
18709
- s0 = peg$c80;
18859
+ if (input.substr(peg$currPos, 16) === peg$c81) {
18860
+ s0 = peg$c81;
18710
18861
  peg$currPos += 16;
18711
18862
  } else {
18712
18863
  s0 = peg$FAILED;
18713
18864
  if (peg$silentFails === 0) {
18714
- peg$fail(peg$e84);
18865
+ peg$fail(peg$e85);
18715
18866
  }
18716
18867
  }
18717
18868
  if (s0 === peg$FAILED) {
18718
- if (input.substr(peg$currPos, 16) === peg$c81) {
18719
- s0 = peg$c81;
18869
+ if (input.substr(peg$currPos, 16) === peg$c82) {
18870
+ s0 = peg$c82;
18720
18871
  peg$currPos += 16;
18721
18872
  } else {
18722
18873
  s0 = peg$FAILED;
18723
18874
  if (peg$silentFails === 0) {
18724
- peg$fail(peg$e85);
18875
+ peg$fail(peg$e86);
18725
18876
  }
18726
18877
  }
18727
18878
  if (s0 === peg$FAILED) {
18728
- if (input.substr(peg$currPos, 15) === peg$c82) {
18729
- s0 = peg$c82;
18879
+ if (input.substr(peg$currPos, 15) === peg$c83) {
18880
+ s0 = peg$c83;
18730
18881
  peg$currPos += 15;
18731
18882
  } else {
18732
18883
  s0 = peg$FAILED;
18733
18884
  if (peg$silentFails === 0) {
18734
- peg$fail(peg$e86);
18885
+ peg$fail(peg$e87);
18735
18886
  }
18736
18887
  }
18737
18888
  if (s0 === peg$FAILED) {
18738
- if (input.substr(peg$currPos, 14) === peg$c83) {
18739
- s0 = peg$c83;
18889
+ if (input.substr(peg$currPos, 14) === peg$c84) {
18890
+ s0 = peg$c84;
18740
18891
  peg$currPos += 14;
18741
18892
  } else {
18742
18893
  s0 = peg$FAILED;
18743
18894
  if (peg$silentFails === 0) {
18744
- peg$fail(peg$e87);
18895
+ peg$fail(peg$e88);
18745
18896
  }
18746
18897
  }
18747
18898
  if (s0 === peg$FAILED) {
18748
- if (input.substr(peg$currPos, 16) === peg$c84) {
18749
- s0 = peg$c84;
18899
+ if (input.substr(peg$currPos, 16) === peg$c85) {
18900
+ s0 = peg$c85;
18750
18901
  peg$currPos += 16;
18751
18902
  } else {
18752
18903
  s0 = peg$FAILED;
18753
18904
  if (peg$silentFails === 0) {
18754
- peg$fail(peg$e88);
18905
+ peg$fail(peg$e89);
18755
18906
  }
18756
18907
  }
18757
18908
  if (s0 === peg$FAILED) {
18758
- if (input.substr(peg$currPos, 14) === peg$c85) {
18759
- s0 = peg$c85;
18909
+ if (input.substr(peg$currPos, 14) === peg$c86) {
18910
+ s0 = peg$c86;
18760
18911
  peg$currPos += 14;
18761
18912
  } else {
18762
18913
  s0 = peg$FAILED;
18763
18914
  if (peg$silentFails === 0) {
18764
- peg$fail(peg$e89);
18915
+ peg$fail(peg$e90);
18765
18916
  }
18766
18917
  }
18767
18918
  if (s0 === peg$FAILED) {
18768
- if (input.substr(peg$currPos, 15) === peg$c86) {
18769
- s0 = peg$c86;
18919
+ if (input.substr(peg$currPos, 15) === peg$c87) {
18920
+ s0 = peg$c87;
18770
18921
  peg$currPos += 15;
18771
18922
  } else {
18772
18923
  s0 = peg$FAILED;
18773
18924
  if (peg$silentFails === 0) {
18774
- peg$fail(peg$e90);
18925
+ peg$fail(peg$e91);
18775
18926
  }
18776
18927
  }
18777
18928
  if (s0 === peg$FAILED) {
18778
- if (input.substr(peg$currPos, 15) === peg$c87) {
18779
- s0 = peg$c87;
18929
+ if (input.substr(peg$currPos, 15) === peg$c88) {
18930
+ s0 = peg$c88;
18780
18931
  peg$currPos += 15;
18781
18932
  } else {
18782
18933
  s0 = peg$FAILED;
18783
18934
  if (peg$silentFails === 0) {
18784
- peg$fail(peg$e91);
18935
+ peg$fail(peg$e92);
18785
18936
  }
18786
18937
  }
18787
18938
  if (s0 === peg$FAILED) {
18788
- if (input.substr(peg$currPos, 15) === peg$c88) {
18789
- s0 = peg$c88;
18939
+ if (input.substr(peg$currPos, 15) === peg$c89) {
18940
+ s0 = peg$c89;
18790
18941
  peg$currPos += 15;
18791
18942
  } else {
18792
18943
  s0 = peg$FAILED;
18793
18944
  if (peg$silentFails === 0) {
18794
- peg$fail(peg$e92);
18945
+ peg$fail(peg$e93);
18795
18946
  }
18796
18947
  }
18797
18948
  if (s0 === peg$FAILED) {
18798
- if (input.substr(peg$currPos, 14) === peg$c89) {
18799
- s0 = peg$c89;
18949
+ if (input.substr(peg$currPos, 14) === peg$c90) {
18950
+ s0 = peg$c90;
18800
18951
  peg$currPos += 14;
18801
18952
  } else {
18802
18953
  s0 = peg$FAILED;
18803
18954
  if (peg$silentFails === 0) {
18804
- peg$fail(peg$e93);
18955
+ peg$fail(peg$e94);
18805
18956
  }
18806
18957
  }
18807
18958
  if (s0 === peg$FAILED) {
18808
- if (input.substr(peg$currPos, 10) === peg$c90) {
18809
- s0 = peg$c90;
18959
+ if (input.substr(peg$currPos, 10) === peg$c91) {
18960
+ s0 = peg$c91;
18810
18961
  peg$currPos += 10;
18811
18962
  } else {
18812
18963
  s0 = peg$FAILED;
18813
18964
  if (peg$silentFails === 0) {
18814
- peg$fail(peg$e94);
18965
+ peg$fail(peg$e95);
18815
18966
  }
18816
18967
  }
18817
18968
  if (s0 === peg$FAILED) {
18818
- if (input.substr(peg$currPos, 13) === peg$c91) {
18819
- s0 = peg$c91;
18969
+ if (input.substr(peg$currPos, 13) === peg$c92) {
18970
+ s0 = peg$c92;
18820
18971
  peg$currPos += 13;
18821
18972
  } else {
18822
18973
  s0 = peg$FAILED;
18823
18974
  if (peg$silentFails === 0) {
18824
- peg$fail(peg$e95);
18975
+ peg$fail(peg$e96);
18825
18976
  }
18826
18977
  }
18827
18978
  if (s0 === peg$FAILED) {
18828
- if (input.substr(peg$currPos, 19) === peg$c92) {
18829
- s0 = peg$c92;
18979
+ if (input.substr(peg$currPos, 19) === peg$c93) {
18980
+ s0 = peg$c93;
18830
18981
  peg$currPos += 19;
18831
18982
  } else {
18832
18983
  s0 = peg$FAILED;
18833
18984
  if (peg$silentFails === 0) {
18834
- peg$fail(peg$e96);
18985
+ peg$fail(peg$e97);
18835
18986
  }
18836
18987
  }
18837
18988
  if (s0 === peg$FAILED) {
18838
- if (input.substr(peg$currPos, 10) === peg$c93) {
18839
- s0 = peg$c93;
18989
+ if (input.substr(peg$currPos, 10) === peg$c94) {
18990
+ s0 = peg$c94;
18840
18991
  peg$currPos += 10;
18841
18992
  } else {
18842
18993
  s0 = peg$FAILED;
18843
18994
  if (peg$silentFails === 0) {
18844
- peg$fail(peg$e97);
18995
+ peg$fail(peg$e98);
18845
18996
  }
18846
18997
  }
18847
18998
  if (s0 === peg$FAILED) {
18848
- if (input.substr(peg$currPos, 10) === peg$c94) {
18849
- s0 = peg$c94;
18999
+ if (input.substr(peg$currPos, 10) === peg$c95) {
19000
+ s0 = peg$c95;
18850
19001
  peg$currPos += 10;
18851
19002
  } else {
18852
19003
  s0 = peg$FAILED;
18853
19004
  if (peg$silentFails === 0) {
18854
- peg$fail(peg$e98);
19005
+ peg$fail(peg$e99);
18855
19006
  }
18856
19007
  }
18857
19008
  if (s0 === peg$FAILED) {
18858
- if (input.substr(peg$currPos, 13) === peg$c95) {
18859
- s0 = peg$c95;
19009
+ if (input.substr(peg$currPos, 13) === peg$c96) {
19010
+ s0 = peg$c96;
18860
19011
  peg$currPos += 13;
18861
19012
  } else {
18862
19013
  s0 = peg$FAILED;
18863
19014
  if (peg$silentFails === 0) {
18864
- peg$fail(peg$e99);
19015
+ peg$fail(peg$e100);
18865
19016
  }
18866
19017
  }
18867
19018
  if (s0 === peg$FAILED) {
18868
- if (input.substr(peg$currPos, 11) === peg$c96) {
18869
- s0 = peg$c96;
19019
+ if (input.substr(peg$currPos, 11) === peg$c97) {
19020
+ s0 = peg$c97;
18870
19021
  peg$currPos += 11;
18871
19022
  } else {
18872
19023
  s0 = peg$FAILED;
18873
19024
  if (peg$silentFails === 0) {
18874
- peg$fail(peg$e100);
19025
+ peg$fail(peg$e101);
18875
19026
  }
18876
19027
  }
18877
19028
  }
@@ -18907,233 +19058,233 @@ function peg$parse(input, options) {
18907
19058
  }
18908
19059
  function peg$parseColor() {
18909
19060
  let s0;
18910
- if (input.substr(peg$currPos, 4) === peg$c97) {
18911
- s0 = peg$c97;
19061
+ if (input.substr(peg$currPos, 4) === peg$c98) {
19062
+ s0 = peg$c98;
18912
19063
  peg$currPos += 4;
18913
19064
  } else {
18914
19065
  s0 = peg$FAILED;
18915
19066
  if (peg$silentFails === 0) {
18916
- peg$fail(peg$e101);
19067
+ peg$fail(peg$e102);
18917
19068
  }
18918
19069
  }
18919
19070
  if (s0 === peg$FAILED) {
18920
- if (input.substr(peg$currPos, 5) === peg$c98) {
18921
- s0 = peg$c98;
19071
+ if (input.substr(peg$currPos, 5) === peg$c99) {
19072
+ s0 = peg$c99;
18922
19073
  peg$currPos += 5;
18923
19074
  } else {
18924
19075
  s0 = peg$FAILED;
18925
19076
  if (peg$silentFails === 0) {
18926
- peg$fail(peg$e102);
19077
+ peg$fail(peg$e103);
18927
19078
  }
18928
19079
  }
18929
19080
  if (s0 === peg$FAILED) {
18930
- if (input.substr(peg$currPos, 4) === peg$c99) {
18931
- s0 = peg$c99;
19081
+ if (input.substr(peg$currPos, 4) === peg$c100) {
19082
+ s0 = peg$c100;
18932
19083
  peg$currPos += 4;
18933
19084
  } else {
18934
19085
  s0 = peg$FAILED;
18935
19086
  if (peg$silentFails === 0) {
18936
- peg$fail(peg$e103);
19087
+ peg$fail(peg$e104);
18937
19088
  }
18938
19089
  }
18939
19090
  if (s0 === peg$FAILED) {
18940
- if (input.substr(peg$currPos, 5) === peg$c100) {
18941
- s0 = peg$c100;
19091
+ if (input.substr(peg$currPos, 5) === peg$c101) {
19092
+ s0 = peg$c101;
18942
19093
  peg$currPos += 5;
18943
19094
  } else {
18944
19095
  s0 = peg$FAILED;
18945
19096
  if (peg$silentFails === 0) {
18946
- peg$fail(peg$e104);
19097
+ peg$fail(peg$e105);
18947
19098
  }
18948
19099
  }
18949
19100
  if (s0 === peg$FAILED) {
18950
- if (input.substr(peg$currPos, 7) === peg$c101) {
18951
- s0 = peg$c101;
19101
+ if (input.substr(peg$currPos, 7) === peg$c102) {
19102
+ s0 = peg$c102;
18952
19103
  peg$currPos += 7;
18953
19104
  } else {
18954
19105
  s0 = peg$FAILED;
18955
19106
  if (peg$silentFails === 0) {
18956
- peg$fail(peg$e105);
19107
+ peg$fail(peg$e106);
18957
19108
  }
18958
19109
  }
18959
19110
  if (s0 === peg$FAILED) {
18960
- if (input.substr(peg$currPos, 9) === peg$c102) {
18961
- s0 = peg$c102;
19111
+ if (input.substr(peg$currPos, 9) === peg$c103) {
19112
+ s0 = peg$c103;
18962
19113
  peg$currPos += 9;
18963
19114
  } else {
18964
19115
  s0 = peg$FAILED;
18965
19116
  if (peg$silentFails === 0) {
18966
- peg$fail(peg$e106);
19117
+ peg$fail(peg$e107);
18967
19118
  }
18968
19119
  }
18969
19120
  if (s0 === peg$FAILED) {
18970
- if (input.substr(peg$currPos, 4) === peg$c103) {
18971
- s0 = peg$c103;
19121
+ if (input.substr(peg$currPos, 4) === peg$c104) {
19122
+ s0 = peg$c104;
18972
19123
  peg$currPos += 4;
18973
19124
  } else {
18974
19125
  s0 = peg$FAILED;
18975
19126
  if (peg$silentFails === 0) {
18976
- peg$fail(peg$e107);
19127
+ peg$fail(peg$e108);
18977
19128
  }
18978
19129
  }
18979
19130
  if (s0 === peg$FAILED) {
18980
- if (input.substr(peg$currPos, 8) === peg$c104) {
18981
- s0 = peg$c104;
19131
+ if (input.substr(peg$currPos, 8) === peg$c105) {
19132
+ s0 = peg$c105;
18982
19133
  peg$currPos += 8;
18983
19134
  } else {
18984
19135
  s0 = peg$FAILED;
18985
19136
  if (peg$silentFails === 0) {
18986
- peg$fail(peg$e108);
19137
+ peg$fail(peg$e109);
18987
19138
  }
18988
19139
  }
18989
19140
  if (s0 === peg$FAILED) {
18990
- if (input.substr(peg$currPos, 5) === peg$c105) {
18991
- s0 = peg$c105;
19141
+ if (input.substr(peg$currPos, 5) === peg$c106) {
19142
+ s0 = peg$c106;
18992
19143
  peg$currPos += 5;
18993
19144
  } else {
18994
19145
  s0 = peg$FAILED;
18995
19146
  if (peg$silentFails === 0) {
18996
- peg$fail(peg$e109);
19147
+ peg$fail(peg$e110);
18997
19148
  }
18998
19149
  }
18999
19150
  if (s0 === peg$FAILED) {
19000
- if (input.substr(peg$currPos, 4) === peg$c106) {
19001
- s0 = peg$c106;
19151
+ if (input.substr(peg$currPos, 4) === peg$c107) {
19152
+ s0 = peg$c107;
19002
19153
  peg$currPos += 4;
19003
19154
  } else {
19004
19155
  s0 = peg$FAILED;
19005
19156
  if (peg$silentFails === 0) {
19006
- peg$fail(peg$e110);
19157
+ peg$fail(peg$e111);
19007
19158
  }
19008
19159
  }
19009
19160
  if (s0 === peg$FAILED) {
19010
- if (input.substr(peg$currPos, 7) === peg$c107) {
19011
- s0 = peg$c107;
19161
+ if (input.substr(peg$currPos, 7) === peg$c108) {
19162
+ s0 = peg$c108;
19012
19163
  peg$currPos += 7;
19013
19164
  } else {
19014
19165
  s0 = peg$FAILED;
19015
19166
  if (peg$silentFails === 0) {
19016
- peg$fail(peg$e111);
19167
+ peg$fail(peg$e112);
19017
19168
  }
19018
19169
  }
19019
19170
  if (s0 === peg$FAILED) {
19020
- if (input.substr(peg$currPos, 6) === peg$c108) {
19021
- s0 = peg$c108;
19171
+ if (input.substr(peg$currPos, 6) === peg$c109) {
19172
+ s0 = peg$c109;
19022
19173
  peg$currPos += 6;
19023
19174
  } else {
19024
19175
  s0 = peg$FAILED;
19025
19176
  if (peg$silentFails === 0) {
19026
- peg$fail(peg$e112);
19177
+ peg$fail(peg$e113);
19027
19178
  }
19028
19179
  }
19029
19180
  if (s0 === peg$FAILED) {
19030
- if (input.substr(peg$currPos, 4) === peg$c109) {
19031
- s0 = peg$c109;
19181
+ if (input.substr(peg$currPos, 4) === peg$c110) {
19182
+ s0 = peg$c110;
19032
19183
  peg$currPos += 4;
19033
19184
  } else {
19034
19185
  s0 = peg$FAILED;
19035
19186
  if (peg$silentFails === 0) {
19036
- peg$fail(peg$e113);
19187
+ peg$fail(peg$e114);
19037
19188
  }
19038
19189
  }
19039
19190
  if (s0 === peg$FAILED) {
19040
- if (input.substr(peg$currPos, 5) === peg$c110) {
19041
- s0 = peg$c110;
19191
+ if (input.substr(peg$currPos, 5) === peg$c111) {
19192
+ s0 = peg$c111;
19042
19193
  peg$currPos += 5;
19043
19194
  } else {
19044
19195
  s0 = peg$FAILED;
19045
19196
  if (peg$silentFails === 0) {
19046
- peg$fail(peg$e114);
19197
+ peg$fail(peg$e115);
19047
19198
  }
19048
19199
  }
19049
19200
  if (s0 === peg$FAILED) {
19050
- if (input.substr(peg$currPos, 6) === peg$c111) {
19051
- s0 = peg$c111;
19201
+ if (input.substr(peg$currPos, 6) === peg$c112) {
19202
+ s0 = peg$c112;
19052
19203
  peg$currPos += 6;
19053
19204
  } else {
19054
19205
  s0 = peg$FAILED;
19055
19206
  if (peg$silentFails === 0) {
19056
- peg$fail(peg$e115);
19207
+ peg$fail(peg$e116);
19057
19208
  }
19058
19209
  }
19059
19210
  if (s0 === peg$FAILED) {
19060
- if (input.substr(peg$currPos, 4) === peg$c112) {
19061
- s0 = peg$c112;
19211
+ if (input.substr(peg$currPos, 4) === peg$c113) {
19212
+ s0 = peg$c113;
19062
19213
  peg$currPos += 4;
19063
19214
  } else {
19064
19215
  s0 = peg$FAILED;
19065
19216
  if (peg$silentFails === 0) {
19066
- peg$fail(peg$e116);
19217
+ peg$fail(peg$e117);
19067
19218
  }
19068
19219
  }
19069
19220
  if (s0 === peg$FAILED) {
19070
- if (input.substr(peg$currPos, 6) === peg$c113) {
19071
- s0 = peg$c113;
19221
+ if (input.substr(peg$currPos, 6) === peg$c114) {
19222
+ s0 = peg$c114;
19072
19223
  peg$currPos += 6;
19073
19224
  } else {
19074
19225
  s0 = peg$FAILED;
19075
19226
  if (peg$silentFails === 0) {
19076
- peg$fail(peg$e117);
19227
+ peg$fail(peg$e118);
19077
19228
  }
19078
19229
  }
19079
19230
  if (s0 === peg$FAILED) {
19080
- if (input.substr(peg$currPos, 3) === peg$c114) {
19081
- s0 = peg$c114;
19231
+ if (input.substr(peg$currPos, 3) === peg$c115) {
19232
+ s0 = peg$c115;
19082
19233
  peg$currPos += 3;
19083
19234
  } else {
19084
19235
  s0 = peg$FAILED;
19085
19236
  if (peg$silentFails === 0) {
19086
- peg$fail(peg$e118);
19237
+ peg$fail(peg$e119);
19087
19238
  }
19088
19239
  }
19089
19240
  if (s0 === peg$FAILED) {
19090
- if (input.substr(peg$currPos, 6) === peg$c115) {
19091
- s0 = peg$c115;
19241
+ if (input.substr(peg$currPos, 6) === peg$c116) {
19242
+ s0 = peg$c116;
19092
19243
  peg$currPos += 6;
19093
19244
  } else {
19094
19245
  s0 = peg$FAILED;
19095
19246
  if (peg$silentFails === 0) {
19096
- peg$fail(peg$e119);
19247
+ peg$fail(peg$e120);
19097
19248
  }
19098
19249
  }
19099
19250
  if (s0 === peg$FAILED) {
19100
- if (input.substr(peg$currPos, 4) === peg$c116) {
19101
- s0 = peg$c116;
19251
+ if (input.substr(peg$currPos, 4) === peg$c117) {
19252
+ s0 = peg$c117;
19102
19253
  peg$currPos += 4;
19103
19254
  } else {
19104
19255
  s0 = peg$FAILED;
19105
19256
  if (peg$silentFails === 0) {
19106
- peg$fail(peg$e120);
19257
+ peg$fail(peg$e121);
19107
19258
  }
19108
19259
  }
19109
19260
  if (s0 === peg$FAILED) {
19110
- if (input.substr(peg$currPos, 6) === peg$c117) {
19111
- s0 = peg$c117;
19261
+ if (input.substr(peg$currPos, 6) === peg$c118) {
19262
+ s0 = peg$c118;
19112
19263
  peg$currPos += 6;
19113
19264
  } else {
19114
19265
  s0 = peg$FAILED;
19115
19266
  if (peg$silentFails === 0) {
19116
- peg$fail(peg$e121);
19267
+ peg$fail(peg$e122);
19117
19268
  }
19118
19269
  }
19119
19270
  if (s0 === peg$FAILED) {
19120
- if (input.substr(peg$currPos, 5) === peg$c118) {
19121
- s0 = peg$c118;
19271
+ if (input.substr(peg$currPos, 5) === peg$c119) {
19272
+ s0 = peg$c119;
19122
19273
  peg$currPos += 5;
19123
19274
  } else {
19124
19275
  s0 = peg$FAILED;
19125
19276
  if (peg$silentFails === 0) {
19126
- peg$fail(peg$e122);
19277
+ peg$fail(peg$e123);
19127
19278
  }
19128
19279
  }
19129
19280
  if (s0 === peg$FAILED) {
19130
- if (input.substr(peg$currPos, 6) === peg$c119) {
19131
- s0 = peg$c119;
19281
+ if (input.substr(peg$currPos, 6) === peg$c120) {
19282
+ s0 = peg$c120;
19132
19283
  peg$currPos += 6;
19133
19284
  } else {
19134
19285
  s0 = peg$FAILED;
19135
19286
  if (peg$silentFails === 0) {
19136
- peg$fail(peg$e123);
19287
+ peg$fail(peg$e124);
19137
19288
  }
19138
19289
  }
19139
19290
  }
@@ -19166,7 +19317,7 @@ function peg$parse(input, options) {
19166
19317
  s0 = peg$currPos;
19167
19318
  s1 = peg$parsebitmarkMinusMinusString();
19168
19319
  peg$savedPos = s0;
19169
- s1 = peg$f89(s1);
19320
+ s1 = peg$f90(s1);
19170
19321
  s0 = s1;
19171
19322
  peg$silentFails--;
19172
19323
  return s0;
@@ -19192,7 +19343,7 @@ function peg$parse(input, options) {
19192
19343
  }
19193
19344
  }
19194
19345
  peg$savedPos = s0;
19195
- s0 = peg$f90(s1, s2);
19346
+ s0 = peg$f91(s1, s2);
19196
19347
  peg$silentFails--;
19197
19348
  return s0;
19198
19349
  }
@@ -19202,7 +19353,7 @@ function peg$parse(input, options) {
19202
19353
  s1 = peg$parseNL();
19203
19354
  if (s1 !== peg$FAILED) {
19204
19355
  peg$savedPos = s0;
19205
- s1 = peg$f91();
19356
+ s1 = peg$f92();
19206
19357
  }
19207
19358
  s0 = s1;
19208
19359
  if (s0 === peg$FAILED) {
@@ -19331,7 +19482,7 @@ function peg$parse(input, options) {
19331
19482
  }
19332
19483
  if (s1 !== peg$FAILED) {
19333
19484
  peg$savedPos = s0;
19334
- s1 = peg$f92(s1);
19485
+ s1 = peg$f93(s1);
19335
19486
  }
19336
19487
  s0 = s1;
19337
19488
  }
@@ -19340,12 +19491,12 @@ function peg$parse(input, options) {
19340
19491
  function peg$parseBoldHalfTag() {
19341
19492
  let s0;
19342
19493
  if (input.charCodeAt(peg$currPos) === 42) {
19343
- s0 = peg$c120;
19494
+ s0 = peg$c121;
19344
19495
  peg$currPos++;
19345
19496
  } else {
19346
19497
  s0 = peg$FAILED;
19347
19498
  if (peg$silentFails === 0) {
19348
- peg$fail(peg$e124);
19499
+ peg$fail(peg$e125);
19349
19500
  }
19350
19501
  }
19351
19502
  return s0;
@@ -19353,12 +19504,12 @@ function peg$parse(input, options) {
19353
19504
  function peg$parseItalicHalfTag() {
19354
19505
  let s0;
19355
19506
  if (input.charCodeAt(peg$currPos) === 95) {
19356
- s0 = peg$c121;
19507
+ s0 = peg$c122;
19357
19508
  peg$currPos++;
19358
19509
  } else {
19359
19510
  s0 = peg$FAILED;
19360
19511
  if (peg$silentFails === 0) {
19361
- peg$fail(peg$e125);
19512
+ peg$fail(peg$e126);
19362
19513
  }
19363
19514
  }
19364
19515
  return s0;
@@ -19366,12 +19517,12 @@ function peg$parse(input, options) {
19366
19517
  function peg$parseLightHalfTag() {
19367
19518
  let s0;
19368
19519
  if (input.charCodeAt(peg$currPos) === 96) {
19369
- s0 = peg$c122;
19520
+ s0 = peg$c123;
19370
19521
  peg$currPos++;
19371
19522
  } else {
19372
19523
  s0 = peg$FAILED;
19373
19524
  if (peg$silentFails === 0) {
19374
- peg$fail(peg$e126);
19525
+ peg$fail(peg$e127);
19375
19526
  }
19376
19527
  }
19377
19528
  return s0;
@@ -19379,12 +19530,12 @@ function peg$parse(input, options) {
19379
19530
  function peg$parseHighlightHalfTag() {
19380
19531
  let s0;
19381
19532
  if (input.charCodeAt(peg$currPos) === 33) {
19382
- s0 = peg$c123;
19533
+ s0 = peg$c124;
19383
19534
  peg$currPos++;
19384
19535
  } else {
19385
19536
  s0 = peg$FAILED;
19386
19537
  if (peg$silentFails === 0) {
19387
- peg$fail(peg$e127);
19538
+ peg$fail(peg$e128);
19388
19539
  }
19389
19540
  }
19390
19541
  return s0;
@@ -19467,13 +19618,13 @@ function peg$parse(input, options) {
19467
19618
  }
19468
19619
  function peg$parseBodyBitOpenTag() {
19469
19620
  let s0;
19470
- if (input.substr(peg$currPos, 2) === peg$c124) {
19471
- s0 = peg$c124;
19621
+ if (input.substr(peg$currPos, 2) === peg$c125) {
19622
+ s0 = peg$c125;
19472
19623
  peg$currPos += 2;
19473
19624
  } else {
19474
19625
  s0 = peg$FAILED;
19475
19626
  if (peg$silentFails === 0) {
19476
- peg$fail(peg$e128);
19627
+ peg$fail(peg$e129);
19477
19628
  }
19478
19629
  }
19479
19630
  return s0;
@@ -19481,12 +19632,12 @@ function peg$parse(input, options) {
19481
19632
  function peg$parseBodyBitCloseTag() {
19482
19633
  let s0;
19483
19634
  if (input.charCodeAt(peg$currPos) === 93) {
19484
- s0 = peg$c125;
19635
+ s0 = peg$c126;
19485
19636
  peg$currPos++;
19486
19637
  } else {
19487
19638
  s0 = peg$FAILED;
19488
19639
  if (peg$silentFails === 0) {
19489
- peg$fail(peg$e129);
19640
+ peg$fail(peg$e130);
19490
19641
  }
19491
19642
  }
19492
19643
  return s0;
@@ -19532,7 +19683,7 @@ function peg$parse(input, options) {
19532
19683
  s3 = peg$parseBodyBitCloseTag();
19533
19684
  if (s3 !== peg$FAILED) {
19534
19685
  peg$savedPos = s0;
19535
- s0 = peg$f93(s2);
19686
+ s0 = peg$f94(s2);
19536
19687
  } else {
19537
19688
  peg$currPos = s0;
19538
19689
  s0 = peg$FAILED;
@@ -19622,7 +19773,7 @@ function peg$parse(input, options) {
19622
19773
  s3 = peg$parseBoldTag();
19623
19774
  if (s3 !== peg$FAILED) {
19624
19775
  peg$savedPos = s0;
19625
- s0 = peg$f94(s2);
19776
+ s0 = peg$f95(s2);
19626
19777
  } else {
19627
19778
  peg$currPos = s0;
19628
19779
  s0 = peg$FAILED;
@@ -19708,7 +19859,7 @@ function peg$parse(input, options) {
19708
19859
  s3 = peg$parseItalicTag();
19709
19860
  if (s3 !== peg$FAILED) {
19710
19861
  peg$savedPos = s0;
19711
- s0 = peg$f95(s2);
19862
+ s0 = peg$f96(s2);
19712
19863
  } else {
19713
19864
  peg$currPos = s0;
19714
19865
  s0 = peg$FAILED;
@@ -19794,7 +19945,7 @@ function peg$parse(input, options) {
19794
19945
  s3 = peg$parseLightTag();
19795
19946
  if (s3 !== peg$FAILED) {
19796
19947
  peg$savedPos = s0;
19797
- s0 = peg$f96(s2);
19948
+ s0 = peg$f97(s2);
19798
19949
  } else {
19799
19950
  peg$currPos = s0;
19800
19951
  s0 = peg$FAILED;
@@ -19880,7 +20031,7 @@ function peg$parse(input, options) {
19880
20031
  s3 = peg$parseHighlightTag();
19881
20032
  if (s3 !== peg$FAILED) {
19882
20033
  peg$savedPos = s0;
19883
- s0 = peg$f97(s2);
20034
+ s0 = peg$f98(s2);
19884
20035
  } else {
19885
20036
  peg$currPos = s0;
19886
20037
  s0 = peg$FAILED;
@@ -19965,22 +20116,22 @@ function peg$parse(input, options) {
19965
20116
  let s0, s1;
19966
20117
  peg$silentFails++;
19967
20118
  if (input.charCodeAt(peg$currPos) === 10) {
19968
- s0 = peg$c126;
20119
+ s0 = peg$c127;
19969
20120
  peg$currPos++;
19970
20121
  } else {
19971
20122
  s0 = peg$FAILED;
19972
20123
  if (peg$silentFails === 0) {
19973
- peg$fail(peg$e131);
20124
+ peg$fail(peg$e132);
19974
20125
  }
19975
20126
  }
19976
20127
  if (s0 === peg$FAILED) {
19977
- if (input.substr(peg$currPos, 2) === peg$c127) {
19978
- s0 = peg$c127;
20128
+ if (input.substr(peg$currPos, 2) === peg$c128) {
20129
+ s0 = peg$c128;
19979
20130
  peg$currPos += 2;
19980
20131
  } else {
19981
20132
  s0 = peg$FAILED;
19982
20133
  if (peg$silentFails === 0) {
19983
- peg$fail(peg$e132);
20134
+ peg$fail(peg$e133);
19984
20135
  }
19985
20136
  }
19986
20137
  if (s0 === peg$FAILED) {
@@ -19990,7 +20141,7 @@ function peg$parse(input, options) {
19990
20141
  } else {
19991
20142
  s0 = peg$FAILED;
19992
20143
  if (peg$silentFails === 0) {
19993
- peg$fail(peg$e133);
20144
+ peg$fail(peg$e134);
19994
20145
  }
19995
20146
  }
19996
20147
  }
@@ -19999,7 +20150,7 @@ function peg$parse(input, options) {
19999
20150
  if (s0 === peg$FAILED) {
20000
20151
  s1 = peg$FAILED;
20001
20152
  if (peg$silentFails === 0) {
20002
- peg$fail(peg$e130);
20153
+ peg$fail(peg$e131);
20003
20154
  }
20004
20155
  }
20005
20156
  return s0;
@@ -20012,7 +20163,7 @@ function peg$parse(input, options) {
20012
20163
  } else {
20013
20164
  s0 = peg$FAILED;
20014
20165
  if (peg$silentFails === 0) {
20015
- peg$fail(peg$e134);
20166
+ peg$fail(peg$e135);
20016
20167
  }
20017
20168
  }
20018
20169
  return s0;
@@ -20046,35 +20197,35 @@ function peg$parse(input, options) {
20046
20197
  let s0, s1, s2, s3, s4, s5, s6, s7, s8;
20047
20198
  s0 = peg$currPos;
20048
20199
  s1 = peg$currPos;
20049
- if (input.substr(peg$currPos, 4) === peg$c128) {
20050
- s2 = peg$c128;
20200
+ if (input.substr(peg$currPos, 4) === peg$c129) {
20201
+ s2 = peg$c129;
20051
20202
  peg$currPos += 4;
20052
20203
  } else {
20053
20204
  s2 = peg$FAILED;
20054
20205
  if (peg$silentFails === 0) {
20055
- peg$fail(peg$e135);
20206
+ peg$fail(peg$e136);
20056
20207
  }
20057
20208
  }
20058
20209
  if (s2 !== peg$FAILED) {
20059
20210
  if (input.charCodeAt(peg$currPos) === 115) {
20060
- s3 = peg$c129;
20211
+ s3 = peg$c130;
20061
20212
  peg$currPos++;
20062
20213
  } else {
20063
20214
  s3 = peg$FAILED;
20064
20215
  if (peg$silentFails === 0) {
20065
- peg$fail(peg$e136);
20216
+ peg$fail(peg$e137);
20066
20217
  }
20067
20218
  }
20068
20219
  if (s3 === peg$FAILED) {
20069
20220
  s3 = null;
20070
20221
  }
20071
- if (input.substr(peg$currPos, 3) === peg$c130) {
20072
- s4 = peg$c130;
20222
+ if (input.substr(peg$currPos, 3) === peg$c131) {
20223
+ s4 = peg$c131;
20073
20224
  peg$currPos += 3;
20074
20225
  } else {
20075
20226
  s4 = peg$FAILED;
20076
20227
  if (peg$silentFails === 0) {
20077
- peg$fail(peg$e137);
20228
+ peg$fail(peg$e138);
20078
20229
  }
20079
20230
  }
20080
20231
  if (s4 !== peg$FAILED) {
@@ -20152,35 +20303,35 @@ function peg$parse(input, options) {
20152
20303
  s0 = peg$currPos;
20153
20304
  s1 = peg$currPos;
20154
20305
  s2 = peg$currPos;
20155
- if (input.substr(peg$currPos, 4) === peg$c128) {
20156
- s3 = peg$c128;
20306
+ if (input.substr(peg$currPos, 4) === peg$c129) {
20307
+ s3 = peg$c129;
20157
20308
  peg$currPos += 4;
20158
20309
  } else {
20159
20310
  s3 = peg$FAILED;
20160
20311
  if (peg$silentFails === 0) {
20161
- peg$fail(peg$e135);
20312
+ peg$fail(peg$e136);
20162
20313
  }
20163
20314
  }
20164
20315
  if (s3 !== peg$FAILED) {
20165
20316
  if (input.charCodeAt(peg$currPos) === 115) {
20166
- s4 = peg$c129;
20317
+ s4 = peg$c130;
20167
20318
  peg$currPos++;
20168
20319
  } else {
20169
20320
  s4 = peg$FAILED;
20170
20321
  if (peg$silentFails === 0) {
20171
- peg$fail(peg$e136);
20322
+ peg$fail(peg$e137);
20172
20323
  }
20173
20324
  }
20174
20325
  if (s4 === peg$FAILED) {
20175
20326
  s4 = null;
20176
20327
  }
20177
- if (input.substr(peg$currPos, 3) === peg$c130) {
20178
- s5 = peg$c130;
20328
+ if (input.substr(peg$currPos, 3) === peg$c131) {
20329
+ s5 = peg$c131;
20179
20330
  peg$currPos += 3;
20180
20331
  } else {
20181
20332
  s5 = peg$FAILED;
20182
20333
  if (peg$silentFails === 0) {
20183
- peg$fail(peg$e137);
20334
+ peg$fail(peg$e138);
20184
20335
  }
20185
20336
  }
20186
20337
  if (s5 !== peg$FAILED) {
@@ -20195,13 +20346,13 @@ function peg$parse(input, options) {
20195
20346
  s2 = peg$FAILED;
20196
20347
  }
20197
20348
  if (s2 === peg$FAILED) {
20198
- if (input.substr(peg$currPos, 7) === peg$c131) {
20199
- s2 = peg$c131;
20349
+ if (input.substr(peg$currPos, 7) === peg$c132) {
20350
+ s2 = peg$c132;
20200
20351
  peg$currPos += 7;
20201
20352
  } else {
20202
20353
  s2 = peg$FAILED;
20203
20354
  if (peg$silentFails === 0) {
20204
- peg$fail(peg$e138);
20355
+ peg$fail(peg$e139);
20205
20356
  }
20206
20357
  }
20207
20358
  }
@@ -20266,7 +20417,7 @@ function peg$parse(input, options) {
20266
20417
  }
20267
20418
  s2 = input.substring(s2, peg$currPos);
20268
20419
  peg$savedPos = s0;
20269
- s0 = peg$f98(s1, s2);
20420
+ s0 = peg$f99(s1, s2);
20270
20421
  } else {
20271
20422
  peg$currPos = s0;
20272
20423
  s0 = peg$FAILED;
@@ -20281,7 +20432,7 @@ function peg$parse(input, options) {
20281
20432
  } else {
20282
20433
  s0 = peg$FAILED;
20283
20434
  if (peg$silentFails === 0) {
20284
- peg$fail(peg$e139);
20435
+ peg$fail(peg$e140);
20285
20436
  }
20286
20437
  }
20287
20438
  return s0;
@@ -22388,6 +22539,12 @@ var Builder = class extends BaseBuilder {
22388
22539
  data.publications,
22389
22540
  options
22390
22541
  ),
22542
+ relatedBook: this.toAstProperty(
22543
+ bitType,
22544
+ ConfigKey.property_relatedBook,
22545
+ data.relatedBook,
22546
+ options
22547
+ ),
22391
22548
  author: this.toAstProperty(bitType, ConfigKey.property_author, data.author, options),
22392
22549
  subject: this.toAstProperty(bitType, ConfigKey.property_subject, data.subject, options),
22393
22550
  date: this.toAstProperty(bitType, ConfigKey.property_date, data.date, options),