@gmb/bitmark-parser-generator 5.0.1 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -10213,7 +10213,7 @@ var instance2 = new Config();
10213
10213
  // src/generated/package_info.ts
10214
10214
  var PACKAGE_INFO = {
10215
10215
  "name": "@gmb/bitmark-parser-generator",
10216
- "version": "5.0.1",
10216
+ "version": "5.1.0",
10217
10217
  "author": "Get More Brain Ltd",
10218
10218
  "license": "ISC",
10219
10219
  "description": "A bitmark parser and generator using Peggy.js"
@@ -10510,6 +10510,7 @@ var TextMarkType = {
10510
10510
  timer: "timer",
10511
10511
  duration: "duration",
10512
10512
  color: "color",
10513
+ colorPicker: "colorPicker",
10513
10514
  comment: "comment"
10514
10515
  };
10515
10516
 
@@ -12007,6 +12008,7 @@ var INLINE_MARK_TYPES = [
12007
12008
  TextMarkType.timer,
12008
12009
  TextMarkType.duration,
12009
12010
  TextMarkType.color,
12011
+ TextMarkType.colorPicker,
12010
12012
  TextMarkType.comment
12011
12013
  ];
12012
12014
  var INDENTATION_REGEX = new RegExp(/(\n|\r\n)/, "g");
@@ -12738,7 +12740,7 @@ var TextGenerator = class extends AstWalkerGenerator {
12738
12740
  let s = `${mark.type}`;
12739
12741
  if (mark.attrs) {
12740
12742
  for (const [k, v] of Object.entries(mark.attrs)) {
12741
- if (k === "language" && v !== "plain text" || k === "color" || k === "name" || k === "duration") {
12743
+ if (k === "language" && v !== "plain text" || k === "color" || k === "propertyRef" || k === "name" || k === "duration") {
12742
12744
  s = `${s}:${v}`;
12743
12745
  }
12744
12746
  }
@@ -12929,7 +12931,7 @@ var TextGenerator = class extends AstWalkerGenerator {
12929
12931
  };
12930
12932
 
12931
12933
  // src/generated/parser/text/text-peggy-parser.js
12932
- var VERSION = "8.35.0";
12934
+ var VERSION = "8.37.3";
12933
12935
  function unbreakscape(str) {
12934
12936
  if (typeof str !== "string") return null;
12935
12937
  return instance3.unbreakscape(str);
@@ -13148,72 +13150,83 @@ function peg$parse(input, options) {
13148
13150
  const peg$c64 = "duration:";
13149
13151
  const peg$c65 = "P";
13150
13152
  const peg$c66 = "color:";
13151
- const peg$c67 = "|\u25BA";
13152
- const peg$c68 = "bold";
13153
- const peg$c69 = "italic";
13154
- const peg$c70 = "light";
13155
- const peg$c71 = "highlight";
13156
- const peg$c72 = "strike";
13157
- const peg$c73 = "subscript";
13158
- const peg$c74 = "superscript";
13159
- const peg$c75 = "ins";
13160
- const peg$c76 = "del";
13161
- const peg$c77 = "underline";
13162
- const peg$c78 = "doubleUnderline";
13163
- const peg$c79 = "circle";
13164
- const peg$c80 = "languageEmRed";
13165
- const peg$c81 = "languageEmOrange";
13166
- const peg$c82 = "languageEmYellow";
13167
- const peg$c83 = "languageEmGreen";
13168
- const peg$c84 = "languageEmBlue";
13169
- const peg$c85 = "languageEmPurple";
13170
- const peg$c86 = "languageEmPink";
13171
- const peg$c87 = "languageEmBrown";
13172
- const peg$c88 = "languageEmBlack";
13173
- const peg$c89 = "languageEmWhite";
13174
- const peg$c90 = "languageEmGray";
13175
- const peg$c91 = "languageEm";
13176
- const peg$c92 = "userUnderline";
13177
- const peg$c93 = "userDoubleUnderline";
13178
- const peg$c94 = "userStrike";
13179
- const peg$c95 = "userCircle";
13180
- const peg$c96 = "userHighlight";
13181
- const peg$c97 = "notranslate";
13182
- const peg$c98 = "aqua";
13183
- const peg$c99 = "black";
13184
- const peg$c100 = "blue";
13185
- const peg$c101 = "brown";
13186
- const peg$c102 = "fuchsia";
13187
- const peg$c103 = "lightgrey";
13188
- const peg$c104 = "gray";
13189
- const peg$c105 = "darkgray";
13190
- const peg$c106 = "green";
13191
- const peg$c107 = "lime";
13192
- const peg$c108 = "magenta";
13193
- const peg$c109 = "maroon";
13194
- const peg$c110 = "navy";
13195
- const peg$c111 = "olive";
13196
- const peg$c112 = "orange";
13197
- const peg$c113 = "pink";
13198
- const peg$c114 = "purple";
13199
- const peg$c115 = "red";
13200
- const peg$c116 = "silver";
13201
- const peg$c117 = "teal";
13202
- const peg$c118 = "violet";
13203
- const peg$c119 = "white";
13204
- const peg$c120 = "yellow";
13205
- const peg$c121 = "*";
13206
- const peg$c122 = "_";
13207
- const peg$c123 = "`";
13208
- const peg$c124 = "!";
13209
- const peg$c125 = "[!";
13210
- const peg$c126 = "]";
13211
- const peg$c127 = "\n";
13212
- const peg$c128 = "\r\n";
13213
- const peg$c129 = "http";
13214
- const peg$c130 = "s";
13215
- const peg$c131 = "://";
13216
- const peg$c132 = "mailto:";
13153
+ const peg$c67 = "colorPicker:";
13154
+ const peg$c68 = "|\u25BA";
13155
+ const peg$c69 = "bold";
13156
+ const peg$c70 = "italic";
13157
+ const peg$c71 = "light";
13158
+ const peg$c72 = "highlightOrange";
13159
+ const peg$c73 = "highlightYellow";
13160
+ const peg$c74 = "highlightGreen";
13161
+ const peg$c75 = "highlightBlue";
13162
+ const peg$c76 = "highlightPurple";
13163
+ const peg$c77 = "highlightPink";
13164
+ const peg$c78 = "highlightBrown";
13165
+ const peg$c79 = "highlightBlack";
13166
+ const peg$c80 = "highlightWhite";
13167
+ const peg$c81 = "highlightGray";
13168
+ const peg$c82 = "highlight";
13169
+ const peg$c83 = "strike";
13170
+ const peg$c84 = "subscript";
13171
+ const peg$c85 = "superscript";
13172
+ const peg$c86 = "ins";
13173
+ const peg$c87 = "del";
13174
+ const peg$c88 = "underline";
13175
+ const peg$c89 = "doubleUnderline";
13176
+ const peg$c90 = "circle";
13177
+ const peg$c91 = "languageEmRed";
13178
+ const peg$c92 = "languageEmOrange";
13179
+ const peg$c93 = "languageEmYellow";
13180
+ const peg$c94 = "languageEmGreen";
13181
+ const peg$c95 = "languageEmBlue";
13182
+ const peg$c96 = "languageEmPurple";
13183
+ const peg$c97 = "languageEmPink";
13184
+ const peg$c98 = "languageEmBrown";
13185
+ const peg$c99 = "languageEmBlack";
13186
+ const peg$c100 = "languageEmWhite";
13187
+ const peg$c101 = "languageEmGray";
13188
+ const peg$c102 = "languageEm";
13189
+ const peg$c103 = "userUnderline";
13190
+ const peg$c104 = "userDoubleUnderline";
13191
+ const peg$c105 = "userStrike";
13192
+ const peg$c106 = "userCircle";
13193
+ const peg$c107 = "userHighlight";
13194
+ const peg$c108 = "notranslate";
13195
+ const peg$c109 = "aqua";
13196
+ const peg$c110 = "black";
13197
+ const peg$c111 = "blue";
13198
+ const peg$c112 = "brown";
13199
+ const peg$c113 = "fuchsia";
13200
+ const peg$c114 = "lightgrey";
13201
+ const peg$c115 = "gray";
13202
+ const peg$c116 = "darkgray";
13203
+ const peg$c117 = "green";
13204
+ const peg$c118 = "lime";
13205
+ const peg$c119 = "magenta";
13206
+ const peg$c120 = "maroon";
13207
+ const peg$c121 = "navy";
13208
+ const peg$c122 = "olive";
13209
+ const peg$c123 = "orange";
13210
+ const peg$c124 = "pink";
13211
+ const peg$c125 = "purple";
13212
+ const peg$c126 = "red";
13213
+ const peg$c127 = "silver";
13214
+ const peg$c128 = "teal";
13215
+ const peg$c129 = "violet";
13216
+ const peg$c130 = "white";
13217
+ const peg$c131 = "yellow";
13218
+ const peg$c132 = "*";
13219
+ const peg$c133 = "_";
13220
+ const peg$c134 = "`";
13221
+ const peg$c135 = "!";
13222
+ const peg$c136 = "[!";
13223
+ const peg$c137 = "]";
13224
+ const peg$c138 = "\n";
13225
+ const peg$c139 = "\r\n";
13226
+ const peg$c140 = "http";
13227
+ const peg$c141 = "s";
13228
+ const peg$c142 = "://";
13229
+ const peg$c143 = "mailto:";
13217
13230
  const peg$r0 = /^[ \t]/;
13218
13231
  const peg$r1 = /^[0-9]/;
13219
13232
  const peg$r2 = /^[\r\u2028-\u2029]/;
@@ -13290,76 +13303,87 @@ function peg$parse(input, options) {
13290
13303
  const peg$e68 = peg$literalExpectation("duration:", false);
13291
13304
  const peg$e69 = peg$literalExpectation("P", false);
13292
13305
  const peg$e70 = peg$literalExpectation("color:", false);
13293
- const peg$e71 = peg$literalExpectation("|\u25BA", false);
13294
- const peg$e72 = peg$literalExpectation("bold", false);
13295
- const peg$e73 = peg$literalExpectation("italic", false);
13296
- const peg$e74 = peg$literalExpectation("light", false);
13297
- const peg$e75 = peg$literalExpectation("highlight", false);
13298
- const peg$e76 = peg$literalExpectation("strike", false);
13299
- const peg$e77 = peg$literalExpectation("subscript", false);
13300
- const peg$e78 = peg$literalExpectation("superscript", false);
13301
- const peg$e79 = peg$literalExpectation("ins", false);
13302
- const peg$e80 = peg$literalExpectation("del", false);
13303
- const peg$e81 = peg$literalExpectation("underline", false);
13304
- const peg$e82 = peg$literalExpectation("doubleUnderline", false);
13305
- const peg$e83 = peg$literalExpectation("circle", false);
13306
- const peg$e84 = peg$literalExpectation("languageEmRed", false);
13307
- const peg$e85 = peg$literalExpectation("languageEmOrange", false);
13308
- const peg$e86 = peg$literalExpectation("languageEmYellow", false);
13309
- const peg$e87 = peg$literalExpectation("languageEmGreen", false);
13310
- const peg$e88 = peg$literalExpectation("languageEmBlue", false);
13311
- const peg$e89 = peg$literalExpectation("languageEmPurple", false);
13312
- const peg$e90 = peg$literalExpectation("languageEmPink", false);
13313
- const peg$e91 = peg$literalExpectation("languageEmBrown", false);
13314
- const peg$e92 = peg$literalExpectation("languageEmBlack", false);
13315
- const peg$e93 = peg$literalExpectation("languageEmWhite", false);
13316
- const peg$e94 = peg$literalExpectation("languageEmGray", false);
13317
- const peg$e95 = peg$literalExpectation("languageEm", false);
13318
- const peg$e96 = peg$literalExpectation("userUnderline", false);
13319
- const peg$e97 = peg$literalExpectation("userDoubleUnderline", false);
13320
- const peg$e98 = peg$literalExpectation("userStrike", false);
13321
- const peg$e99 = peg$literalExpectation("userCircle", false);
13322
- const peg$e100 = peg$literalExpectation("userHighlight", false);
13323
- const peg$e101 = peg$literalExpectation("notranslate", false);
13324
- const peg$e102 = peg$literalExpectation("aqua", false);
13325
- const peg$e103 = peg$literalExpectation("black", false);
13326
- const peg$e104 = peg$literalExpectation("blue", false);
13327
- const peg$e105 = peg$literalExpectation("brown", false);
13328
- const peg$e106 = peg$literalExpectation("fuchsia", false);
13329
- const peg$e107 = peg$literalExpectation("lightgrey", false);
13330
- const peg$e108 = peg$literalExpectation("gray", false);
13331
- const peg$e109 = peg$literalExpectation("darkgray", false);
13332
- const peg$e110 = peg$literalExpectation("green", false);
13333
- const peg$e111 = peg$literalExpectation("lime", false);
13334
- const peg$e112 = peg$literalExpectation("magenta", false);
13335
- const peg$e113 = peg$literalExpectation("maroon", false);
13336
- const peg$e114 = peg$literalExpectation("navy", false);
13337
- const peg$e115 = peg$literalExpectation("olive", false);
13338
- const peg$e116 = peg$literalExpectation("orange", false);
13339
- const peg$e117 = peg$literalExpectation("pink", false);
13340
- const peg$e118 = peg$literalExpectation("purple", false);
13341
- const peg$e119 = peg$literalExpectation("red", false);
13342
- const peg$e120 = peg$literalExpectation("silver", false);
13343
- const peg$e121 = peg$literalExpectation("teal", false);
13344
- const peg$e122 = peg$literalExpectation("violet", false);
13345
- const peg$e123 = peg$literalExpectation("white", false);
13346
- const peg$e124 = peg$literalExpectation("yellow", false);
13347
- const peg$e125 = peg$literalExpectation("*", false);
13348
- const peg$e126 = peg$literalExpectation("_", false);
13349
- const peg$e127 = peg$literalExpectation("`", false);
13350
- const peg$e128 = peg$literalExpectation("!", false);
13351
- const peg$e129 = peg$literalExpectation("[!", false);
13352
- const peg$e130 = peg$literalExpectation("]", false);
13353
- const peg$e131 = peg$otherExpectation("Line Terminator");
13354
- const peg$e132 = peg$literalExpectation("\n", false);
13355
- const peg$e133 = peg$literalExpectation("\r\n", false);
13356
- const peg$e134 = peg$classExpectation(["\r", ["\u2028", "\u2029"]], false, false, false);
13357
- const peg$e135 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false, false);
13358
- const peg$e136 = peg$literalExpectation("http", false);
13359
- const peg$e137 = peg$literalExpectation("s", false);
13360
- const peg$e138 = peg$literalExpectation("://", false);
13361
- const peg$e139 = peg$literalExpectation("mailto:", false);
13362
- const peg$e140 = peg$classExpectation(["!", ["#", ";"], "=", ["?", "["], ["]", "_"], ["a", "{"], ["}", "~"]], false, false, false);
13306
+ const peg$e71 = peg$literalExpectation("colorPicker:", false);
13307
+ const peg$e72 = peg$literalExpectation("|\u25BA", false);
13308
+ const peg$e73 = peg$literalExpectation("bold", false);
13309
+ const peg$e74 = peg$literalExpectation("italic", false);
13310
+ const peg$e75 = peg$literalExpectation("light", false);
13311
+ const peg$e76 = peg$literalExpectation("highlightOrange", false);
13312
+ const peg$e77 = peg$literalExpectation("highlightYellow", false);
13313
+ const peg$e78 = peg$literalExpectation("highlightGreen", false);
13314
+ const peg$e79 = peg$literalExpectation("highlightBlue", false);
13315
+ const peg$e80 = peg$literalExpectation("highlightPurple", false);
13316
+ const peg$e81 = peg$literalExpectation("highlightPink", false);
13317
+ const peg$e82 = peg$literalExpectation("highlightBrown", false);
13318
+ const peg$e83 = peg$literalExpectation("highlightBlack", false);
13319
+ const peg$e84 = peg$literalExpectation("highlightWhite", false);
13320
+ const peg$e85 = peg$literalExpectation("highlightGray", false);
13321
+ const peg$e86 = peg$literalExpectation("highlight", false);
13322
+ const peg$e87 = peg$literalExpectation("strike", false);
13323
+ const peg$e88 = peg$literalExpectation("subscript", false);
13324
+ const peg$e89 = peg$literalExpectation("superscript", false);
13325
+ const peg$e90 = peg$literalExpectation("ins", false);
13326
+ const peg$e91 = peg$literalExpectation("del", false);
13327
+ const peg$e92 = peg$literalExpectation("underline", false);
13328
+ const peg$e93 = peg$literalExpectation("doubleUnderline", false);
13329
+ const peg$e94 = peg$literalExpectation("circle", false);
13330
+ const peg$e95 = peg$literalExpectation("languageEmRed", false);
13331
+ const peg$e96 = peg$literalExpectation("languageEmOrange", false);
13332
+ const peg$e97 = peg$literalExpectation("languageEmYellow", false);
13333
+ const peg$e98 = peg$literalExpectation("languageEmGreen", false);
13334
+ const peg$e99 = peg$literalExpectation("languageEmBlue", false);
13335
+ const peg$e100 = peg$literalExpectation("languageEmPurple", false);
13336
+ const peg$e101 = peg$literalExpectation("languageEmPink", false);
13337
+ const peg$e102 = peg$literalExpectation("languageEmBrown", false);
13338
+ const peg$e103 = peg$literalExpectation("languageEmBlack", false);
13339
+ const peg$e104 = peg$literalExpectation("languageEmWhite", false);
13340
+ const peg$e105 = peg$literalExpectation("languageEmGray", false);
13341
+ const peg$e106 = peg$literalExpectation("languageEm", false);
13342
+ const peg$e107 = peg$literalExpectation("userUnderline", false);
13343
+ const peg$e108 = peg$literalExpectation("userDoubleUnderline", false);
13344
+ const peg$e109 = peg$literalExpectation("userStrike", false);
13345
+ const peg$e110 = peg$literalExpectation("userCircle", false);
13346
+ const peg$e111 = peg$literalExpectation("userHighlight", false);
13347
+ const peg$e112 = peg$literalExpectation("notranslate", false);
13348
+ const peg$e113 = peg$literalExpectation("aqua", false);
13349
+ const peg$e114 = peg$literalExpectation("black", false);
13350
+ const peg$e115 = peg$literalExpectation("blue", false);
13351
+ const peg$e116 = peg$literalExpectation("brown", false);
13352
+ const peg$e117 = peg$literalExpectation("fuchsia", false);
13353
+ const peg$e118 = peg$literalExpectation("lightgrey", false);
13354
+ const peg$e119 = peg$literalExpectation("gray", false);
13355
+ const peg$e120 = peg$literalExpectation("darkgray", false);
13356
+ const peg$e121 = peg$literalExpectation("green", false);
13357
+ const peg$e122 = peg$literalExpectation("lime", false);
13358
+ const peg$e123 = peg$literalExpectation("magenta", false);
13359
+ const peg$e124 = peg$literalExpectation("maroon", false);
13360
+ const peg$e125 = peg$literalExpectation("navy", false);
13361
+ const peg$e126 = peg$literalExpectation("olive", false);
13362
+ const peg$e127 = peg$literalExpectation("orange", false);
13363
+ const peg$e128 = peg$literalExpectation("pink", false);
13364
+ const peg$e129 = peg$literalExpectation("purple", false);
13365
+ const peg$e130 = peg$literalExpectation("red", false);
13366
+ const peg$e131 = peg$literalExpectation("silver", false);
13367
+ const peg$e132 = peg$literalExpectation("teal", false);
13368
+ const peg$e133 = peg$literalExpectation("violet", false);
13369
+ const peg$e134 = peg$literalExpectation("white", false);
13370
+ const peg$e135 = peg$literalExpectation("yellow", false);
13371
+ const peg$e136 = peg$literalExpectation("*", false);
13372
+ const peg$e137 = peg$literalExpectation("_", false);
13373
+ const peg$e138 = peg$literalExpectation("`", false);
13374
+ const peg$e139 = peg$literalExpectation("!", false);
13375
+ const peg$e140 = peg$literalExpectation("[!", false);
13376
+ const peg$e141 = peg$literalExpectation("]", false);
13377
+ const peg$e142 = peg$otherExpectation("Line Terminator");
13378
+ const peg$e143 = peg$literalExpectation("\n", false);
13379
+ const peg$e144 = peg$literalExpectation("\r\n", false);
13380
+ const peg$e145 = peg$classExpectation(["\r", ["\u2028", "\u2029"]], false, false, false);
13381
+ const peg$e146 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false, false);
13382
+ const peg$e147 = peg$literalExpectation("http", false);
13383
+ const peg$e148 = peg$literalExpectation("s", false);
13384
+ const peg$e149 = peg$literalExpectation("://", false);
13385
+ const peg$e150 = peg$literalExpectation("mailto:", false);
13386
+ const peg$e151 = peg$classExpectation(["!", ["#", ";"], "=", ["?", "["], ["]", "_"], ["a", "{"], ["}", "~"]], false, false, false);
13363
13387
  function peg$f0() {
13364
13388
  return VERSION;
13365
13389
  }
@@ -13726,44 +13750,47 @@ function peg$parse(input, options) {
13726
13750
  function peg$f86(color) {
13727
13751
  return { type: "color", attrs: { color } };
13728
13752
  }
13729
- function peg$f87(style) {
13753
+ function peg$f87(str) {
13754
+ return { type: "colorPicker", attrs: { propertyRef: str.trim() } };
13755
+ }
13756
+ function peg$f88(style) {
13730
13757
  return { type: style };
13731
13758
  }
13732
- function peg$f88(str) {
13759
+ function peg$f89(str) {
13733
13760
  return { type: "comment", comment: str };
13734
13761
  }
13735
- function peg$f89(r) {
13762
+ function peg$f90(r) {
13736
13763
  return r.trim();
13737
13764
  }
13738
- function peg$f90(bs) {
13765
+ function peg$f91(bs) {
13739
13766
  return [{ type: "paragraph", content: bs, attrs: {} }];
13740
13767
  }
13741
- function peg$f91(first, more) {
13768
+ function peg$f92(first, more) {
13742
13769
  const cleaned_ = cleanEmptyTextNodes(first ? [first, ...more.flat()] : more.flat());
13743
13770
  return cleaned_;
13744
13771
  }
13745
- function peg$f92() {
13772
+ function peg$f93() {
13746
13773
  return { "type": "hardBreak" };
13747
13774
  }
13748
- function peg$f93(t) {
13775
+ function peg$f94(t) {
13749
13776
  return { text: unbreakscape(t), type: "text" };
13750
13777
  }
13751
- function peg$f94(t) {
13778
+ function peg$f95(t) {
13752
13779
  return { index: +t, type: "bit" };
13753
13780
  }
13754
- function peg$f95(t) {
13781
+ function peg$f96(t) {
13755
13782
  return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" };
13756
13783
  }
13757
- function peg$f96(t) {
13784
+ function peg$f97(t) {
13758
13785
  return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" };
13759
13786
  }
13760
- function peg$f97(t) {
13787
+ function peg$f98(t) {
13761
13788
  return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" };
13762
13789
  }
13763
- function peg$f98(t) {
13790
+ function peg$f99(t) {
13764
13791
  return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" };
13765
13792
  }
13766
- function peg$f99(pr, t) {
13793
+ function peg$f100(pr, t) {
13767
13794
  return { pr, t };
13768
13795
  }
13769
13796
  let peg$currPos = options.peg$currPos | 0;
@@ -19827,34 +19854,44 @@ function peg$parse(input, options) {
19827
19854
  }
19828
19855
  if (s0 === peg$FAILED) {
19829
19856
  s0 = peg$currPos;
19830
- s1 = peg$parseAlternativeStyleTags();
19831
- if (s1 !== peg$FAILED) {
19832
- s2 = peg$parseBlockTag();
19833
- if (s2 !== peg$FAILED) {
19834
- peg$savedPos = s0;
19835
- s0 = peg$f87(s1);
19836
- } else {
19837
- peg$currPos = s0;
19838
- s0 = peg$FAILED;
19839
- }
19857
+ if (input.substr(peg$currPos, 12) === peg$c67) {
19858
+ s1 = peg$c67;
19859
+ peg$currPos += 12;
19840
19860
  } else {
19841
- peg$currPos = s0;
19842
- s0 = peg$FAILED;
19861
+ s1 = peg$FAILED;
19862
+ if (peg$silentFails === 0) {
19863
+ peg$fail(peg$e71);
19864
+ }
19843
19865
  }
19844
- if (s0 === peg$FAILED) {
19845
- s0 = peg$currPos;
19846
- if (input.charCodeAt(peg$currPos) === 35) {
19847
- s1 = peg$c21;
19848
- peg$currPos++;
19866
+ if (s1 !== peg$FAILED) {
19867
+ s2 = peg$currPos;
19868
+ s3 = [];
19869
+ s4 = peg$currPos;
19870
+ s5 = peg$currPos;
19871
+ peg$silentFails++;
19872
+ s6 = peg$parseBlockTag();
19873
+ peg$silentFails--;
19874
+ if (s6 === peg$FAILED) {
19875
+ s5 = void 0;
19849
19876
  } else {
19850
- s1 = peg$FAILED;
19851
- if (peg$silentFails === 0) {
19852
- peg$fail(peg$e25);
19877
+ peg$currPos = s5;
19878
+ s5 = peg$FAILED;
19879
+ }
19880
+ if (s5 !== peg$FAILED) {
19881
+ s6 = peg$parsechar();
19882
+ if (s6 !== peg$FAILED) {
19883
+ s5 = [s5, s6];
19884
+ s4 = s5;
19885
+ } else {
19886
+ peg$currPos = s4;
19887
+ s4 = peg$FAILED;
19853
19888
  }
19889
+ } else {
19890
+ peg$currPos = s4;
19891
+ s4 = peg$FAILED;
19854
19892
  }
19855
- if (s1 !== peg$FAILED) {
19856
- s2 = peg$currPos;
19857
- s3 = [];
19893
+ while (s4 !== peg$FAILED) {
19894
+ s3.push(s4);
19858
19895
  s4 = peg$currPos;
19859
19896
  s5 = peg$currPos;
19860
19897
  peg$silentFails++;
@@ -19879,8 +19916,50 @@ function peg$parse(input, options) {
19879
19916
  peg$currPos = s4;
19880
19917
  s4 = peg$FAILED;
19881
19918
  }
19882
- while (s4 !== peg$FAILED) {
19883
- s3.push(s4);
19919
+ }
19920
+ s2 = input.substring(s2, peg$currPos);
19921
+ s3 = peg$parseBlockTag();
19922
+ if (s3 !== peg$FAILED) {
19923
+ peg$savedPos = s0;
19924
+ s0 = peg$f87(s2);
19925
+ } else {
19926
+ peg$currPos = s0;
19927
+ s0 = peg$FAILED;
19928
+ }
19929
+ } else {
19930
+ peg$currPos = s0;
19931
+ s0 = peg$FAILED;
19932
+ }
19933
+ if (s0 === peg$FAILED) {
19934
+ s0 = peg$currPos;
19935
+ s1 = peg$parseAlternativeStyleTags();
19936
+ if (s1 !== peg$FAILED) {
19937
+ s2 = peg$parseBlockTag();
19938
+ if (s2 !== peg$FAILED) {
19939
+ peg$savedPos = s0;
19940
+ s0 = peg$f88(s1);
19941
+ } else {
19942
+ peg$currPos = s0;
19943
+ s0 = peg$FAILED;
19944
+ }
19945
+ } else {
19946
+ peg$currPos = s0;
19947
+ s0 = peg$FAILED;
19948
+ }
19949
+ if (s0 === peg$FAILED) {
19950
+ s0 = peg$currPos;
19951
+ if (input.charCodeAt(peg$currPos) === 35) {
19952
+ s1 = peg$c21;
19953
+ peg$currPos++;
19954
+ } else {
19955
+ s1 = peg$FAILED;
19956
+ if (peg$silentFails === 0) {
19957
+ peg$fail(peg$e25);
19958
+ }
19959
+ }
19960
+ if (s1 !== peg$FAILED) {
19961
+ s2 = peg$currPos;
19962
+ s3 = [];
19884
19963
  s4 = peg$currPos;
19885
19964
  s5 = peg$currPos;
19886
19965
  peg$silentFails++;
@@ -19905,19 +19984,46 @@ function peg$parse(input, options) {
19905
19984
  peg$currPos = s4;
19906
19985
  s4 = peg$FAILED;
19907
19986
  }
19908
- }
19909
- s2 = input.substring(s2, peg$currPos);
19910
- s3 = peg$parseBlockTag();
19911
- if (s3 !== peg$FAILED) {
19912
- peg$savedPos = s0;
19913
- s0 = peg$f88(s2);
19987
+ while (s4 !== peg$FAILED) {
19988
+ s3.push(s4);
19989
+ s4 = peg$currPos;
19990
+ s5 = peg$currPos;
19991
+ peg$silentFails++;
19992
+ s6 = peg$parseBlockTag();
19993
+ peg$silentFails--;
19994
+ if (s6 === peg$FAILED) {
19995
+ s5 = void 0;
19996
+ } else {
19997
+ peg$currPos = s5;
19998
+ s5 = peg$FAILED;
19999
+ }
20000
+ if (s5 !== peg$FAILED) {
20001
+ s6 = peg$parsechar();
20002
+ if (s6 !== peg$FAILED) {
20003
+ s5 = [s5, s6];
20004
+ s4 = s5;
20005
+ } else {
20006
+ peg$currPos = s4;
20007
+ s4 = peg$FAILED;
20008
+ }
20009
+ } else {
20010
+ peg$currPos = s4;
20011
+ s4 = peg$FAILED;
20012
+ }
20013
+ }
20014
+ s2 = input.substring(s2, peg$currPos);
20015
+ s3 = peg$parseBlockTag();
20016
+ if (s3 !== peg$FAILED) {
20017
+ peg$savedPos = s0;
20018
+ s0 = peg$f89(s2);
20019
+ } else {
20020
+ peg$currPos = s0;
20021
+ s0 = peg$FAILED;
20022
+ }
19914
20023
  } else {
19915
20024
  peg$currPos = s0;
19916
20025
  s0 = peg$FAILED;
19917
20026
  }
19918
- } else {
19919
- peg$currPos = s0;
19920
- s0 = peg$FAILED;
19921
20027
  }
19922
20028
  }
19923
20029
  }
@@ -19950,13 +20056,13 @@ function peg$parse(input, options) {
19950
20056
  function peg$parseRef() {
19951
20057
  let s0, s1, s2, s3, s4, s5, s6;
19952
20058
  s0 = peg$currPos;
19953
- if (input.substr(peg$currPos, 2) === peg$c67) {
19954
- s1 = peg$c67;
20059
+ if (input.substr(peg$currPos, 2) === peg$c68) {
20060
+ s1 = peg$c68;
19955
20061
  peg$currPos += 2;
19956
20062
  } else {
19957
20063
  s1 = peg$FAILED;
19958
20064
  if (peg$silentFails === 0) {
19959
- peg$fail(peg$e71);
20065
+ peg$fail(peg$e72);
19960
20066
  }
19961
20067
  }
19962
20068
  if (s1 !== peg$FAILED) {
@@ -20015,7 +20121,7 @@ function peg$parse(input, options) {
20015
20121
  }
20016
20122
  s2 = input.substring(s2, peg$currPos);
20017
20123
  peg$savedPos = s0;
20018
- s0 = peg$f89(s2);
20124
+ s0 = peg$f90(s2);
20019
20125
  } else {
20020
20126
  peg$currPos = s0;
20021
20127
  s0 = peg$FAILED;
@@ -20024,303 +20130,413 @@ function peg$parse(input, options) {
20024
20130
  }
20025
20131
  function peg$parseAlternativeStyleTags() {
20026
20132
  let s0;
20027
- if (input.substr(peg$currPos, 4) === peg$c68) {
20028
- s0 = peg$c68;
20133
+ if (input.substr(peg$currPos, 4) === peg$c69) {
20134
+ s0 = peg$c69;
20029
20135
  peg$currPos += 4;
20030
20136
  } else {
20031
20137
  s0 = peg$FAILED;
20032
20138
  if (peg$silentFails === 0) {
20033
- peg$fail(peg$e72);
20139
+ peg$fail(peg$e73);
20034
20140
  }
20035
20141
  }
20036
20142
  if (s0 === peg$FAILED) {
20037
- if (input.substr(peg$currPos, 6) === peg$c69) {
20038
- s0 = peg$c69;
20143
+ if (input.substr(peg$currPos, 6) === peg$c70) {
20144
+ s0 = peg$c70;
20039
20145
  peg$currPos += 6;
20040
20146
  } else {
20041
20147
  s0 = peg$FAILED;
20042
20148
  if (peg$silentFails === 0) {
20043
- peg$fail(peg$e73);
20149
+ peg$fail(peg$e74);
20044
20150
  }
20045
20151
  }
20046
20152
  if (s0 === peg$FAILED) {
20047
- if (input.substr(peg$currPos, 5) === peg$c70) {
20048
- s0 = peg$c70;
20153
+ if (input.substr(peg$currPos, 5) === peg$c71) {
20154
+ s0 = peg$c71;
20049
20155
  peg$currPos += 5;
20050
20156
  } else {
20051
20157
  s0 = peg$FAILED;
20052
20158
  if (peg$silentFails === 0) {
20053
- peg$fail(peg$e74);
20159
+ peg$fail(peg$e75);
20054
20160
  }
20055
20161
  }
20056
20162
  if (s0 === peg$FAILED) {
20057
- if (input.substr(peg$currPos, 9) === peg$c71) {
20058
- s0 = peg$c71;
20059
- peg$currPos += 9;
20163
+ if (input.substr(peg$currPos, 15) === peg$c72) {
20164
+ s0 = peg$c72;
20165
+ peg$currPos += 15;
20060
20166
  } else {
20061
20167
  s0 = peg$FAILED;
20062
20168
  if (peg$silentFails === 0) {
20063
- peg$fail(peg$e75);
20169
+ peg$fail(peg$e76);
20064
20170
  }
20065
20171
  }
20066
20172
  if (s0 === peg$FAILED) {
20067
- if (input.substr(peg$currPos, 6) === peg$c72) {
20068
- s0 = peg$c72;
20069
- peg$currPos += 6;
20173
+ if (input.substr(peg$currPos, 15) === peg$c73) {
20174
+ s0 = peg$c73;
20175
+ peg$currPos += 15;
20070
20176
  } else {
20071
20177
  s0 = peg$FAILED;
20072
20178
  if (peg$silentFails === 0) {
20073
- peg$fail(peg$e76);
20179
+ peg$fail(peg$e77);
20074
20180
  }
20075
20181
  }
20076
20182
  if (s0 === peg$FAILED) {
20077
- if (input.substr(peg$currPos, 9) === peg$c73) {
20078
- s0 = peg$c73;
20079
- peg$currPos += 9;
20183
+ if (input.substr(peg$currPos, 14) === peg$c74) {
20184
+ s0 = peg$c74;
20185
+ peg$currPos += 14;
20080
20186
  } else {
20081
20187
  s0 = peg$FAILED;
20082
20188
  if (peg$silentFails === 0) {
20083
- peg$fail(peg$e77);
20189
+ peg$fail(peg$e78);
20084
20190
  }
20085
20191
  }
20086
20192
  if (s0 === peg$FAILED) {
20087
- if (input.substr(peg$currPos, 11) === peg$c74) {
20088
- s0 = peg$c74;
20089
- peg$currPos += 11;
20193
+ if (input.substr(peg$currPos, 13) === peg$c75) {
20194
+ s0 = peg$c75;
20195
+ peg$currPos += 13;
20090
20196
  } else {
20091
20197
  s0 = peg$FAILED;
20092
20198
  if (peg$silentFails === 0) {
20093
- peg$fail(peg$e78);
20199
+ peg$fail(peg$e79);
20094
20200
  }
20095
20201
  }
20096
20202
  if (s0 === peg$FAILED) {
20097
- if (input.substr(peg$currPos, 3) === peg$c75) {
20098
- s0 = peg$c75;
20099
- peg$currPos += 3;
20203
+ if (input.substr(peg$currPos, 15) === peg$c76) {
20204
+ s0 = peg$c76;
20205
+ peg$currPos += 15;
20100
20206
  } else {
20101
20207
  s0 = peg$FAILED;
20102
20208
  if (peg$silentFails === 0) {
20103
- peg$fail(peg$e79);
20209
+ peg$fail(peg$e80);
20104
20210
  }
20105
20211
  }
20106
20212
  if (s0 === peg$FAILED) {
20107
- if (input.substr(peg$currPos, 3) === peg$c76) {
20108
- s0 = peg$c76;
20109
- peg$currPos += 3;
20213
+ if (input.substr(peg$currPos, 13) === peg$c77) {
20214
+ s0 = peg$c77;
20215
+ peg$currPos += 13;
20110
20216
  } else {
20111
20217
  s0 = peg$FAILED;
20112
20218
  if (peg$silentFails === 0) {
20113
- peg$fail(peg$e80);
20219
+ peg$fail(peg$e81);
20114
20220
  }
20115
20221
  }
20116
20222
  if (s0 === peg$FAILED) {
20117
- if (input.substr(peg$currPos, 9) === peg$c77) {
20118
- s0 = peg$c77;
20119
- peg$currPos += 9;
20223
+ if (input.substr(peg$currPos, 14) === peg$c78) {
20224
+ s0 = peg$c78;
20225
+ peg$currPos += 14;
20120
20226
  } else {
20121
20227
  s0 = peg$FAILED;
20122
20228
  if (peg$silentFails === 0) {
20123
- peg$fail(peg$e81);
20229
+ peg$fail(peg$e82);
20124
20230
  }
20125
20231
  }
20126
20232
  if (s0 === peg$FAILED) {
20127
- if (input.substr(peg$currPos, 15) === peg$c78) {
20128
- s0 = peg$c78;
20129
- peg$currPos += 15;
20233
+ if (input.substr(peg$currPos, 14) === peg$c79) {
20234
+ s0 = peg$c79;
20235
+ peg$currPos += 14;
20130
20236
  } else {
20131
20237
  s0 = peg$FAILED;
20132
20238
  if (peg$silentFails === 0) {
20133
- peg$fail(peg$e82);
20239
+ peg$fail(peg$e83);
20134
20240
  }
20135
20241
  }
20136
20242
  if (s0 === peg$FAILED) {
20137
- if (input.substr(peg$currPos, 6) === peg$c79) {
20138
- s0 = peg$c79;
20139
- peg$currPos += 6;
20243
+ if (input.substr(peg$currPos, 14) === peg$c80) {
20244
+ s0 = peg$c80;
20245
+ peg$currPos += 14;
20140
20246
  } else {
20141
20247
  s0 = peg$FAILED;
20142
20248
  if (peg$silentFails === 0) {
20143
- peg$fail(peg$e83);
20249
+ peg$fail(peg$e84);
20144
20250
  }
20145
20251
  }
20146
20252
  if (s0 === peg$FAILED) {
20147
- if (input.substr(peg$currPos, 13) === peg$c80) {
20148
- s0 = peg$c80;
20253
+ if (input.substr(peg$currPos, 13) === peg$c81) {
20254
+ s0 = peg$c81;
20149
20255
  peg$currPos += 13;
20150
20256
  } else {
20151
20257
  s0 = peg$FAILED;
20152
20258
  if (peg$silentFails === 0) {
20153
- peg$fail(peg$e84);
20259
+ peg$fail(peg$e85);
20154
20260
  }
20155
20261
  }
20156
20262
  if (s0 === peg$FAILED) {
20157
- if (input.substr(peg$currPos, 16) === peg$c81) {
20158
- s0 = peg$c81;
20159
- peg$currPos += 16;
20263
+ if (input.substr(peg$currPos, 9) === peg$c82) {
20264
+ s0 = peg$c82;
20265
+ peg$currPos += 9;
20160
20266
  } else {
20161
20267
  s0 = peg$FAILED;
20162
20268
  if (peg$silentFails === 0) {
20163
- peg$fail(peg$e85);
20269
+ peg$fail(peg$e86);
20164
20270
  }
20165
20271
  }
20166
20272
  if (s0 === peg$FAILED) {
20167
- if (input.substr(peg$currPos, 16) === peg$c82) {
20168
- s0 = peg$c82;
20169
- peg$currPos += 16;
20273
+ if (input.substr(peg$currPos, 6) === peg$c83) {
20274
+ s0 = peg$c83;
20275
+ peg$currPos += 6;
20170
20276
  } else {
20171
20277
  s0 = peg$FAILED;
20172
20278
  if (peg$silentFails === 0) {
20173
- peg$fail(peg$e86);
20279
+ peg$fail(peg$e87);
20174
20280
  }
20175
20281
  }
20176
20282
  if (s0 === peg$FAILED) {
20177
- if (input.substr(peg$currPos, 15) === peg$c83) {
20178
- s0 = peg$c83;
20179
- peg$currPos += 15;
20283
+ if (input.substr(peg$currPos, 9) === peg$c84) {
20284
+ s0 = peg$c84;
20285
+ peg$currPos += 9;
20180
20286
  } else {
20181
20287
  s0 = peg$FAILED;
20182
20288
  if (peg$silentFails === 0) {
20183
- peg$fail(peg$e87);
20289
+ peg$fail(peg$e88);
20184
20290
  }
20185
20291
  }
20186
20292
  if (s0 === peg$FAILED) {
20187
- if (input.substr(peg$currPos, 14) === peg$c84) {
20188
- s0 = peg$c84;
20189
- peg$currPos += 14;
20293
+ if (input.substr(peg$currPos, 11) === peg$c85) {
20294
+ s0 = peg$c85;
20295
+ peg$currPos += 11;
20190
20296
  } else {
20191
20297
  s0 = peg$FAILED;
20192
20298
  if (peg$silentFails === 0) {
20193
- peg$fail(peg$e88);
20299
+ peg$fail(peg$e89);
20194
20300
  }
20195
20301
  }
20196
20302
  if (s0 === peg$FAILED) {
20197
- if (input.substr(peg$currPos, 16) === peg$c85) {
20198
- s0 = peg$c85;
20199
- peg$currPos += 16;
20303
+ if (input.substr(peg$currPos, 3) === peg$c86) {
20304
+ s0 = peg$c86;
20305
+ peg$currPos += 3;
20200
20306
  } else {
20201
20307
  s0 = peg$FAILED;
20202
20308
  if (peg$silentFails === 0) {
20203
- peg$fail(peg$e89);
20309
+ peg$fail(peg$e90);
20204
20310
  }
20205
20311
  }
20206
20312
  if (s0 === peg$FAILED) {
20207
- if (input.substr(peg$currPos, 14) === peg$c86) {
20208
- s0 = peg$c86;
20209
- peg$currPos += 14;
20313
+ if (input.substr(peg$currPos, 3) === peg$c87) {
20314
+ s0 = peg$c87;
20315
+ peg$currPos += 3;
20210
20316
  } else {
20211
20317
  s0 = peg$FAILED;
20212
20318
  if (peg$silentFails === 0) {
20213
- peg$fail(peg$e90);
20319
+ peg$fail(peg$e91);
20214
20320
  }
20215
20321
  }
20216
20322
  if (s0 === peg$FAILED) {
20217
- if (input.substr(peg$currPos, 15) === peg$c87) {
20218
- s0 = peg$c87;
20219
- peg$currPos += 15;
20323
+ if (input.substr(peg$currPos, 9) === peg$c88) {
20324
+ s0 = peg$c88;
20325
+ peg$currPos += 9;
20220
20326
  } else {
20221
20327
  s0 = peg$FAILED;
20222
20328
  if (peg$silentFails === 0) {
20223
- peg$fail(peg$e91);
20329
+ peg$fail(peg$e92);
20224
20330
  }
20225
20331
  }
20226
20332
  if (s0 === peg$FAILED) {
20227
- if (input.substr(peg$currPos, 15) === peg$c88) {
20228
- s0 = peg$c88;
20333
+ if (input.substr(peg$currPos, 15) === peg$c89) {
20334
+ s0 = peg$c89;
20229
20335
  peg$currPos += 15;
20230
20336
  } else {
20231
20337
  s0 = peg$FAILED;
20232
20338
  if (peg$silentFails === 0) {
20233
- peg$fail(peg$e92);
20339
+ peg$fail(peg$e93);
20234
20340
  }
20235
20341
  }
20236
20342
  if (s0 === peg$FAILED) {
20237
- if (input.substr(peg$currPos, 15) === peg$c89) {
20238
- s0 = peg$c89;
20239
- peg$currPos += 15;
20343
+ if (input.substr(peg$currPos, 6) === peg$c90) {
20344
+ s0 = peg$c90;
20345
+ peg$currPos += 6;
20240
20346
  } else {
20241
20347
  s0 = peg$FAILED;
20242
20348
  if (peg$silentFails === 0) {
20243
- peg$fail(peg$e93);
20349
+ peg$fail(peg$e94);
20244
20350
  }
20245
20351
  }
20246
20352
  if (s0 === peg$FAILED) {
20247
- if (input.substr(peg$currPos, 14) === peg$c90) {
20248
- s0 = peg$c90;
20249
- peg$currPos += 14;
20353
+ if (input.substr(peg$currPos, 13) === peg$c91) {
20354
+ s0 = peg$c91;
20355
+ peg$currPos += 13;
20250
20356
  } else {
20251
20357
  s0 = peg$FAILED;
20252
20358
  if (peg$silentFails === 0) {
20253
- peg$fail(peg$e94);
20359
+ peg$fail(peg$e95);
20254
20360
  }
20255
20361
  }
20256
20362
  if (s0 === peg$FAILED) {
20257
- if (input.substr(peg$currPos, 10) === peg$c91) {
20258
- s0 = peg$c91;
20259
- peg$currPos += 10;
20363
+ if (input.substr(peg$currPos, 16) === peg$c92) {
20364
+ s0 = peg$c92;
20365
+ peg$currPos += 16;
20260
20366
  } else {
20261
20367
  s0 = peg$FAILED;
20262
20368
  if (peg$silentFails === 0) {
20263
- peg$fail(peg$e95);
20369
+ peg$fail(peg$e96);
20264
20370
  }
20265
20371
  }
20266
20372
  if (s0 === peg$FAILED) {
20267
- if (input.substr(peg$currPos, 13) === peg$c92) {
20268
- s0 = peg$c92;
20269
- peg$currPos += 13;
20373
+ if (input.substr(peg$currPos, 16) === peg$c93) {
20374
+ s0 = peg$c93;
20375
+ peg$currPos += 16;
20270
20376
  } else {
20271
20377
  s0 = peg$FAILED;
20272
20378
  if (peg$silentFails === 0) {
20273
- peg$fail(peg$e96);
20379
+ peg$fail(peg$e97);
20274
20380
  }
20275
20381
  }
20276
20382
  if (s0 === peg$FAILED) {
20277
- if (input.substr(peg$currPos, 19) === peg$c93) {
20278
- s0 = peg$c93;
20279
- peg$currPos += 19;
20383
+ if (input.substr(peg$currPos, 15) === peg$c94) {
20384
+ s0 = peg$c94;
20385
+ peg$currPos += 15;
20280
20386
  } else {
20281
20387
  s0 = peg$FAILED;
20282
20388
  if (peg$silentFails === 0) {
20283
- peg$fail(peg$e97);
20389
+ peg$fail(peg$e98);
20284
20390
  }
20285
20391
  }
20286
20392
  if (s0 === peg$FAILED) {
20287
- if (input.substr(peg$currPos, 10) === peg$c94) {
20288
- s0 = peg$c94;
20289
- peg$currPos += 10;
20393
+ if (input.substr(peg$currPos, 14) === peg$c95) {
20394
+ s0 = peg$c95;
20395
+ peg$currPos += 14;
20290
20396
  } else {
20291
20397
  s0 = peg$FAILED;
20292
20398
  if (peg$silentFails === 0) {
20293
- peg$fail(peg$e98);
20399
+ peg$fail(peg$e99);
20294
20400
  }
20295
20401
  }
20296
20402
  if (s0 === peg$FAILED) {
20297
- if (input.substr(peg$currPos, 10) === peg$c95) {
20298
- s0 = peg$c95;
20299
- peg$currPos += 10;
20403
+ if (input.substr(peg$currPos, 16) === peg$c96) {
20404
+ s0 = peg$c96;
20405
+ peg$currPos += 16;
20300
20406
  } else {
20301
20407
  s0 = peg$FAILED;
20302
20408
  if (peg$silentFails === 0) {
20303
- peg$fail(peg$e99);
20409
+ peg$fail(peg$e100);
20304
20410
  }
20305
20411
  }
20306
20412
  if (s0 === peg$FAILED) {
20307
- if (input.substr(peg$currPos, 13) === peg$c96) {
20308
- s0 = peg$c96;
20309
- peg$currPos += 13;
20413
+ if (input.substr(peg$currPos, 14) === peg$c97) {
20414
+ s0 = peg$c97;
20415
+ peg$currPos += 14;
20310
20416
  } else {
20311
20417
  s0 = peg$FAILED;
20312
20418
  if (peg$silentFails === 0) {
20313
- peg$fail(peg$e100);
20419
+ peg$fail(peg$e101);
20314
20420
  }
20315
20421
  }
20316
20422
  if (s0 === peg$FAILED) {
20317
- if (input.substr(peg$currPos, 11) === peg$c97) {
20318
- s0 = peg$c97;
20319
- peg$currPos += 11;
20423
+ if (input.substr(peg$currPos, 15) === peg$c98) {
20424
+ s0 = peg$c98;
20425
+ peg$currPos += 15;
20320
20426
  } else {
20321
20427
  s0 = peg$FAILED;
20322
20428
  if (peg$silentFails === 0) {
20323
- peg$fail(peg$e101);
20429
+ peg$fail(peg$e102);
20430
+ }
20431
+ }
20432
+ if (s0 === peg$FAILED) {
20433
+ if (input.substr(peg$currPos, 15) === peg$c99) {
20434
+ s0 = peg$c99;
20435
+ peg$currPos += 15;
20436
+ } else {
20437
+ s0 = peg$FAILED;
20438
+ if (peg$silentFails === 0) {
20439
+ peg$fail(peg$e103);
20440
+ }
20441
+ }
20442
+ if (s0 === peg$FAILED) {
20443
+ if (input.substr(peg$currPos, 15) === peg$c100) {
20444
+ s0 = peg$c100;
20445
+ peg$currPos += 15;
20446
+ } else {
20447
+ s0 = peg$FAILED;
20448
+ if (peg$silentFails === 0) {
20449
+ peg$fail(peg$e104);
20450
+ }
20451
+ }
20452
+ if (s0 === peg$FAILED) {
20453
+ if (input.substr(peg$currPos, 14) === peg$c101) {
20454
+ s0 = peg$c101;
20455
+ peg$currPos += 14;
20456
+ } else {
20457
+ s0 = peg$FAILED;
20458
+ if (peg$silentFails === 0) {
20459
+ peg$fail(peg$e105);
20460
+ }
20461
+ }
20462
+ if (s0 === peg$FAILED) {
20463
+ if (input.substr(peg$currPos, 10) === peg$c102) {
20464
+ s0 = peg$c102;
20465
+ peg$currPos += 10;
20466
+ } else {
20467
+ s0 = peg$FAILED;
20468
+ if (peg$silentFails === 0) {
20469
+ peg$fail(peg$e106);
20470
+ }
20471
+ }
20472
+ if (s0 === peg$FAILED) {
20473
+ if (input.substr(peg$currPos, 13) === peg$c103) {
20474
+ s0 = peg$c103;
20475
+ peg$currPos += 13;
20476
+ } else {
20477
+ s0 = peg$FAILED;
20478
+ if (peg$silentFails === 0) {
20479
+ peg$fail(peg$e107);
20480
+ }
20481
+ }
20482
+ if (s0 === peg$FAILED) {
20483
+ if (input.substr(peg$currPos, 19) === peg$c104) {
20484
+ s0 = peg$c104;
20485
+ peg$currPos += 19;
20486
+ } else {
20487
+ s0 = peg$FAILED;
20488
+ if (peg$silentFails === 0) {
20489
+ peg$fail(peg$e108);
20490
+ }
20491
+ }
20492
+ if (s0 === peg$FAILED) {
20493
+ if (input.substr(peg$currPos, 10) === peg$c105) {
20494
+ s0 = peg$c105;
20495
+ peg$currPos += 10;
20496
+ } else {
20497
+ s0 = peg$FAILED;
20498
+ if (peg$silentFails === 0) {
20499
+ peg$fail(peg$e109);
20500
+ }
20501
+ }
20502
+ if (s0 === peg$FAILED) {
20503
+ if (input.substr(peg$currPos, 10) === peg$c106) {
20504
+ s0 = peg$c106;
20505
+ peg$currPos += 10;
20506
+ } else {
20507
+ s0 = peg$FAILED;
20508
+ if (peg$silentFails === 0) {
20509
+ peg$fail(peg$e110);
20510
+ }
20511
+ }
20512
+ if (s0 === peg$FAILED) {
20513
+ if (input.substr(peg$currPos, 13) === peg$c107) {
20514
+ s0 = peg$c107;
20515
+ peg$currPos += 13;
20516
+ } else {
20517
+ s0 = peg$FAILED;
20518
+ if (peg$silentFails === 0) {
20519
+ peg$fail(peg$e111);
20520
+ }
20521
+ }
20522
+ if (s0 === peg$FAILED) {
20523
+ if (input.substr(peg$currPos, 11) === peg$c108) {
20524
+ s0 = peg$c108;
20525
+ peg$currPos += 11;
20526
+ } else {
20527
+ s0 = peg$FAILED;
20528
+ if (peg$silentFails === 0) {
20529
+ peg$fail(peg$e112);
20530
+ }
20531
+ }
20532
+ }
20533
+ }
20534
+ }
20535
+ }
20536
+ }
20537
+ }
20538
+ }
20539
+ }
20324
20540
  }
20325
20541
  }
20326
20542
  }
@@ -20356,233 +20572,233 @@ function peg$parse(input, options) {
20356
20572
  }
20357
20573
  function peg$parseColor() {
20358
20574
  let s0;
20359
- if (input.substr(peg$currPos, 4) === peg$c98) {
20360
- s0 = peg$c98;
20575
+ if (input.substr(peg$currPos, 4) === peg$c109) {
20576
+ s0 = peg$c109;
20361
20577
  peg$currPos += 4;
20362
20578
  } else {
20363
20579
  s0 = peg$FAILED;
20364
20580
  if (peg$silentFails === 0) {
20365
- peg$fail(peg$e102);
20581
+ peg$fail(peg$e113);
20366
20582
  }
20367
20583
  }
20368
20584
  if (s0 === peg$FAILED) {
20369
- if (input.substr(peg$currPos, 5) === peg$c99) {
20370
- s0 = peg$c99;
20585
+ if (input.substr(peg$currPos, 5) === peg$c110) {
20586
+ s0 = peg$c110;
20371
20587
  peg$currPos += 5;
20372
20588
  } else {
20373
20589
  s0 = peg$FAILED;
20374
20590
  if (peg$silentFails === 0) {
20375
- peg$fail(peg$e103);
20591
+ peg$fail(peg$e114);
20376
20592
  }
20377
20593
  }
20378
20594
  if (s0 === peg$FAILED) {
20379
- if (input.substr(peg$currPos, 4) === peg$c100) {
20380
- s0 = peg$c100;
20595
+ if (input.substr(peg$currPos, 4) === peg$c111) {
20596
+ s0 = peg$c111;
20381
20597
  peg$currPos += 4;
20382
20598
  } else {
20383
20599
  s0 = peg$FAILED;
20384
20600
  if (peg$silentFails === 0) {
20385
- peg$fail(peg$e104);
20601
+ peg$fail(peg$e115);
20386
20602
  }
20387
20603
  }
20388
20604
  if (s0 === peg$FAILED) {
20389
- if (input.substr(peg$currPos, 5) === peg$c101) {
20390
- s0 = peg$c101;
20605
+ if (input.substr(peg$currPos, 5) === peg$c112) {
20606
+ s0 = peg$c112;
20391
20607
  peg$currPos += 5;
20392
20608
  } else {
20393
20609
  s0 = peg$FAILED;
20394
20610
  if (peg$silentFails === 0) {
20395
- peg$fail(peg$e105);
20611
+ peg$fail(peg$e116);
20396
20612
  }
20397
20613
  }
20398
20614
  if (s0 === peg$FAILED) {
20399
- if (input.substr(peg$currPos, 7) === peg$c102) {
20400
- s0 = peg$c102;
20615
+ if (input.substr(peg$currPos, 7) === peg$c113) {
20616
+ s0 = peg$c113;
20401
20617
  peg$currPos += 7;
20402
20618
  } else {
20403
20619
  s0 = peg$FAILED;
20404
20620
  if (peg$silentFails === 0) {
20405
- peg$fail(peg$e106);
20621
+ peg$fail(peg$e117);
20406
20622
  }
20407
20623
  }
20408
20624
  if (s0 === peg$FAILED) {
20409
- if (input.substr(peg$currPos, 9) === peg$c103) {
20410
- s0 = peg$c103;
20625
+ if (input.substr(peg$currPos, 9) === peg$c114) {
20626
+ s0 = peg$c114;
20411
20627
  peg$currPos += 9;
20412
20628
  } else {
20413
20629
  s0 = peg$FAILED;
20414
20630
  if (peg$silentFails === 0) {
20415
- peg$fail(peg$e107);
20631
+ peg$fail(peg$e118);
20416
20632
  }
20417
20633
  }
20418
20634
  if (s0 === peg$FAILED) {
20419
- if (input.substr(peg$currPos, 4) === peg$c104) {
20420
- s0 = peg$c104;
20635
+ if (input.substr(peg$currPos, 4) === peg$c115) {
20636
+ s0 = peg$c115;
20421
20637
  peg$currPos += 4;
20422
20638
  } else {
20423
20639
  s0 = peg$FAILED;
20424
20640
  if (peg$silentFails === 0) {
20425
- peg$fail(peg$e108);
20641
+ peg$fail(peg$e119);
20426
20642
  }
20427
20643
  }
20428
20644
  if (s0 === peg$FAILED) {
20429
- if (input.substr(peg$currPos, 8) === peg$c105) {
20430
- s0 = peg$c105;
20645
+ if (input.substr(peg$currPos, 8) === peg$c116) {
20646
+ s0 = peg$c116;
20431
20647
  peg$currPos += 8;
20432
20648
  } else {
20433
20649
  s0 = peg$FAILED;
20434
20650
  if (peg$silentFails === 0) {
20435
- peg$fail(peg$e109);
20651
+ peg$fail(peg$e120);
20436
20652
  }
20437
20653
  }
20438
20654
  if (s0 === peg$FAILED) {
20439
- if (input.substr(peg$currPos, 5) === peg$c106) {
20440
- s0 = peg$c106;
20655
+ if (input.substr(peg$currPos, 5) === peg$c117) {
20656
+ s0 = peg$c117;
20441
20657
  peg$currPos += 5;
20442
20658
  } else {
20443
20659
  s0 = peg$FAILED;
20444
20660
  if (peg$silentFails === 0) {
20445
- peg$fail(peg$e110);
20661
+ peg$fail(peg$e121);
20446
20662
  }
20447
20663
  }
20448
20664
  if (s0 === peg$FAILED) {
20449
- if (input.substr(peg$currPos, 4) === peg$c107) {
20450
- s0 = peg$c107;
20665
+ if (input.substr(peg$currPos, 4) === peg$c118) {
20666
+ s0 = peg$c118;
20451
20667
  peg$currPos += 4;
20452
20668
  } else {
20453
20669
  s0 = peg$FAILED;
20454
20670
  if (peg$silentFails === 0) {
20455
- peg$fail(peg$e111);
20671
+ peg$fail(peg$e122);
20456
20672
  }
20457
20673
  }
20458
20674
  if (s0 === peg$FAILED) {
20459
- if (input.substr(peg$currPos, 7) === peg$c108) {
20460
- s0 = peg$c108;
20675
+ if (input.substr(peg$currPos, 7) === peg$c119) {
20676
+ s0 = peg$c119;
20461
20677
  peg$currPos += 7;
20462
20678
  } else {
20463
20679
  s0 = peg$FAILED;
20464
20680
  if (peg$silentFails === 0) {
20465
- peg$fail(peg$e112);
20681
+ peg$fail(peg$e123);
20466
20682
  }
20467
20683
  }
20468
20684
  if (s0 === peg$FAILED) {
20469
- if (input.substr(peg$currPos, 6) === peg$c109) {
20470
- s0 = peg$c109;
20685
+ if (input.substr(peg$currPos, 6) === peg$c120) {
20686
+ s0 = peg$c120;
20471
20687
  peg$currPos += 6;
20472
20688
  } else {
20473
20689
  s0 = peg$FAILED;
20474
20690
  if (peg$silentFails === 0) {
20475
- peg$fail(peg$e113);
20691
+ peg$fail(peg$e124);
20476
20692
  }
20477
20693
  }
20478
20694
  if (s0 === peg$FAILED) {
20479
- if (input.substr(peg$currPos, 4) === peg$c110) {
20480
- s0 = peg$c110;
20695
+ if (input.substr(peg$currPos, 4) === peg$c121) {
20696
+ s0 = peg$c121;
20481
20697
  peg$currPos += 4;
20482
20698
  } else {
20483
20699
  s0 = peg$FAILED;
20484
20700
  if (peg$silentFails === 0) {
20485
- peg$fail(peg$e114);
20701
+ peg$fail(peg$e125);
20486
20702
  }
20487
20703
  }
20488
20704
  if (s0 === peg$FAILED) {
20489
- if (input.substr(peg$currPos, 5) === peg$c111) {
20490
- s0 = peg$c111;
20705
+ if (input.substr(peg$currPos, 5) === peg$c122) {
20706
+ s0 = peg$c122;
20491
20707
  peg$currPos += 5;
20492
20708
  } else {
20493
20709
  s0 = peg$FAILED;
20494
20710
  if (peg$silentFails === 0) {
20495
- peg$fail(peg$e115);
20711
+ peg$fail(peg$e126);
20496
20712
  }
20497
20713
  }
20498
20714
  if (s0 === peg$FAILED) {
20499
- if (input.substr(peg$currPos, 6) === peg$c112) {
20500
- s0 = peg$c112;
20715
+ if (input.substr(peg$currPos, 6) === peg$c123) {
20716
+ s0 = peg$c123;
20501
20717
  peg$currPos += 6;
20502
20718
  } else {
20503
20719
  s0 = peg$FAILED;
20504
20720
  if (peg$silentFails === 0) {
20505
- peg$fail(peg$e116);
20721
+ peg$fail(peg$e127);
20506
20722
  }
20507
20723
  }
20508
20724
  if (s0 === peg$FAILED) {
20509
- if (input.substr(peg$currPos, 4) === peg$c113) {
20510
- s0 = peg$c113;
20725
+ if (input.substr(peg$currPos, 4) === peg$c124) {
20726
+ s0 = peg$c124;
20511
20727
  peg$currPos += 4;
20512
20728
  } else {
20513
20729
  s0 = peg$FAILED;
20514
20730
  if (peg$silentFails === 0) {
20515
- peg$fail(peg$e117);
20731
+ peg$fail(peg$e128);
20516
20732
  }
20517
20733
  }
20518
20734
  if (s0 === peg$FAILED) {
20519
- if (input.substr(peg$currPos, 6) === peg$c114) {
20520
- s0 = peg$c114;
20735
+ if (input.substr(peg$currPos, 6) === peg$c125) {
20736
+ s0 = peg$c125;
20521
20737
  peg$currPos += 6;
20522
20738
  } else {
20523
20739
  s0 = peg$FAILED;
20524
20740
  if (peg$silentFails === 0) {
20525
- peg$fail(peg$e118);
20741
+ peg$fail(peg$e129);
20526
20742
  }
20527
20743
  }
20528
20744
  if (s0 === peg$FAILED) {
20529
- if (input.substr(peg$currPos, 3) === peg$c115) {
20530
- s0 = peg$c115;
20745
+ if (input.substr(peg$currPos, 3) === peg$c126) {
20746
+ s0 = peg$c126;
20531
20747
  peg$currPos += 3;
20532
20748
  } else {
20533
20749
  s0 = peg$FAILED;
20534
20750
  if (peg$silentFails === 0) {
20535
- peg$fail(peg$e119);
20751
+ peg$fail(peg$e130);
20536
20752
  }
20537
20753
  }
20538
20754
  if (s0 === peg$FAILED) {
20539
- if (input.substr(peg$currPos, 6) === peg$c116) {
20540
- s0 = peg$c116;
20755
+ if (input.substr(peg$currPos, 6) === peg$c127) {
20756
+ s0 = peg$c127;
20541
20757
  peg$currPos += 6;
20542
20758
  } else {
20543
20759
  s0 = peg$FAILED;
20544
20760
  if (peg$silentFails === 0) {
20545
- peg$fail(peg$e120);
20761
+ peg$fail(peg$e131);
20546
20762
  }
20547
20763
  }
20548
20764
  if (s0 === peg$FAILED) {
20549
- if (input.substr(peg$currPos, 4) === peg$c117) {
20550
- s0 = peg$c117;
20765
+ if (input.substr(peg$currPos, 4) === peg$c128) {
20766
+ s0 = peg$c128;
20551
20767
  peg$currPos += 4;
20552
20768
  } else {
20553
20769
  s0 = peg$FAILED;
20554
20770
  if (peg$silentFails === 0) {
20555
- peg$fail(peg$e121);
20771
+ peg$fail(peg$e132);
20556
20772
  }
20557
20773
  }
20558
20774
  if (s0 === peg$FAILED) {
20559
- if (input.substr(peg$currPos, 6) === peg$c118) {
20560
- s0 = peg$c118;
20775
+ if (input.substr(peg$currPos, 6) === peg$c129) {
20776
+ s0 = peg$c129;
20561
20777
  peg$currPos += 6;
20562
20778
  } else {
20563
20779
  s0 = peg$FAILED;
20564
20780
  if (peg$silentFails === 0) {
20565
- peg$fail(peg$e122);
20781
+ peg$fail(peg$e133);
20566
20782
  }
20567
20783
  }
20568
20784
  if (s0 === peg$FAILED) {
20569
- if (input.substr(peg$currPos, 5) === peg$c119) {
20570
- s0 = peg$c119;
20785
+ if (input.substr(peg$currPos, 5) === peg$c130) {
20786
+ s0 = peg$c130;
20571
20787
  peg$currPos += 5;
20572
20788
  } else {
20573
20789
  s0 = peg$FAILED;
20574
20790
  if (peg$silentFails === 0) {
20575
- peg$fail(peg$e123);
20791
+ peg$fail(peg$e134);
20576
20792
  }
20577
20793
  }
20578
20794
  if (s0 === peg$FAILED) {
20579
- if (input.substr(peg$currPos, 6) === peg$c120) {
20580
- s0 = peg$c120;
20795
+ if (input.substr(peg$currPos, 6) === peg$c131) {
20796
+ s0 = peg$c131;
20581
20797
  peg$currPos += 6;
20582
20798
  } else {
20583
20799
  s0 = peg$FAILED;
20584
20800
  if (peg$silentFails === 0) {
20585
- peg$fail(peg$e124);
20801
+ peg$fail(peg$e135);
20586
20802
  }
20587
20803
  }
20588
20804
  }
@@ -20615,7 +20831,7 @@ function peg$parse(input, options) {
20615
20831
  s0 = peg$currPos;
20616
20832
  s1 = peg$parsebitmarkMinusMinusString();
20617
20833
  peg$savedPos = s0;
20618
- s1 = peg$f90(s1);
20834
+ s1 = peg$f91(s1);
20619
20835
  s0 = s1;
20620
20836
  peg$silentFails--;
20621
20837
  return s0;
@@ -20641,7 +20857,7 @@ function peg$parse(input, options) {
20641
20857
  }
20642
20858
  }
20643
20859
  peg$savedPos = s0;
20644
- s0 = peg$f91(s1, s2);
20860
+ s0 = peg$f92(s1, s2);
20645
20861
  peg$silentFails--;
20646
20862
  return s0;
20647
20863
  }
@@ -20651,7 +20867,7 @@ function peg$parse(input, options) {
20651
20867
  s1 = peg$parseNL();
20652
20868
  if (s1 !== peg$FAILED) {
20653
20869
  peg$savedPos = s0;
20654
- s1 = peg$f92();
20870
+ s1 = peg$f93();
20655
20871
  }
20656
20872
  s0 = s1;
20657
20873
  if (s0 === peg$FAILED) {
@@ -20780,7 +20996,7 @@ function peg$parse(input, options) {
20780
20996
  }
20781
20997
  if (s1 !== peg$FAILED) {
20782
20998
  peg$savedPos = s0;
20783
- s1 = peg$f93(s1);
20999
+ s1 = peg$f94(s1);
20784
21000
  }
20785
21001
  s0 = s1;
20786
21002
  }
@@ -20789,12 +21005,12 @@ function peg$parse(input, options) {
20789
21005
  function peg$parseBoldHalfTag() {
20790
21006
  let s0;
20791
21007
  if (input.charCodeAt(peg$currPos) === 42) {
20792
- s0 = peg$c121;
21008
+ s0 = peg$c132;
20793
21009
  peg$currPos++;
20794
21010
  } else {
20795
21011
  s0 = peg$FAILED;
20796
21012
  if (peg$silentFails === 0) {
20797
- peg$fail(peg$e125);
21013
+ peg$fail(peg$e136);
20798
21014
  }
20799
21015
  }
20800
21016
  return s0;
@@ -20802,12 +21018,12 @@ function peg$parse(input, options) {
20802
21018
  function peg$parseItalicHalfTag() {
20803
21019
  let s0;
20804
21020
  if (input.charCodeAt(peg$currPos) === 95) {
20805
- s0 = peg$c122;
21021
+ s0 = peg$c133;
20806
21022
  peg$currPos++;
20807
21023
  } else {
20808
21024
  s0 = peg$FAILED;
20809
21025
  if (peg$silentFails === 0) {
20810
- peg$fail(peg$e126);
21026
+ peg$fail(peg$e137);
20811
21027
  }
20812
21028
  }
20813
21029
  return s0;
@@ -20815,12 +21031,12 @@ function peg$parse(input, options) {
20815
21031
  function peg$parseLightHalfTag() {
20816
21032
  let s0;
20817
21033
  if (input.charCodeAt(peg$currPos) === 96) {
20818
- s0 = peg$c123;
21034
+ s0 = peg$c134;
20819
21035
  peg$currPos++;
20820
21036
  } else {
20821
21037
  s0 = peg$FAILED;
20822
21038
  if (peg$silentFails === 0) {
20823
- peg$fail(peg$e127);
21039
+ peg$fail(peg$e138);
20824
21040
  }
20825
21041
  }
20826
21042
  return s0;
@@ -20828,12 +21044,12 @@ function peg$parse(input, options) {
20828
21044
  function peg$parseHighlightHalfTag() {
20829
21045
  let s0;
20830
21046
  if (input.charCodeAt(peg$currPos) === 33) {
20831
- s0 = peg$c124;
21047
+ s0 = peg$c135;
20832
21048
  peg$currPos++;
20833
21049
  } else {
20834
21050
  s0 = peg$FAILED;
20835
21051
  if (peg$silentFails === 0) {
20836
- peg$fail(peg$e128);
21052
+ peg$fail(peg$e139);
20837
21053
  }
20838
21054
  }
20839
21055
  return s0;
@@ -20916,13 +21132,13 @@ function peg$parse(input, options) {
20916
21132
  }
20917
21133
  function peg$parseBodyBitOpenTag() {
20918
21134
  let s0;
20919
- if (input.substr(peg$currPos, 2) === peg$c125) {
20920
- s0 = peg$c125;
21135
+ if (input.substr(peg$currPos, 2) === peg$c136) {
21136
+ s0 = peg$c136;
20921
21137
  peg$currPos += 2;
20922
21138
  } else {
20923
21139
  s0 = peg$FAILED;
20924
21140
  if (peg$silentFails === 0) {
20925
- peg$fail(peg$e129);
21141
+ peg$fail(peg$e140);
20926
21142
  }
20927
21143
  }
20928
21144
  return s0;
@@ -20930,12 +21146,12 @@ function peg$parse(input, options) {
20930
21146
  function peg$parseBodyBitCloseTag() {
20931
21147
  let s0;
20932
21148
  if (input.charCodeAt(peg$currPos) === 93) {
20933
- s0 = peg$c126;
21149
+ s0 = peg$c137;
20934
21150
  peg$currPos++;
20935
21151
  } else {
20936
21152
  s0 = peg$FAILED;
20937
21153
  if (peg$silentFails === 0) {
20938
- peg$fail(peg$e130);
21154
+ peg$fail(peg$e141);
20939
21155
  }
20940
21156
  }
20941
21157
  return s0;
@@ -20981,7 +21197,7 @@ function peg$parse(input, options) {
20981
21197
  s3 = peg$parseBodyBitCloseTag();
20982
21198
  if (s3 !== peg$FAILED) {
20983
21199
  peg$savedPos = s0;
20984
- s0 = peg$f94(s2);
21200
+ s0 = peg$f95(s2);
20985
21201
  } else {
20986
21202
  peg$currPos = s0;
20987
21203
  s0 = peg$FAILED;
@@ -21071,7 +21287,7 @@ function peg$parse(input, options) {
21071
21287
  s3 = peg$parseBoldTag();
21072
21288
  if (s3 !== peg$FAILED) {
21073
21289
  peg$savedPos = s0;
21074
- s0 = peg$f95(s2);
21290
+ s0 = peg$f96(s2);
21075
21291
  } else {
21076
21292
  peg$currPos = s0;
21077
21293
  s0 = peg$FAILED;
@@ -21157,7 +21373,7 @@ function peg$parse(input, options) {
21157
21373
  s3 = peg$parseItalicTag();
21158
21374
  if (s3 !== peg$FAILED) {
21159
21375
  peg$savedPos = s0;
21160
- s0 = peg$f96(s2);
21376
+ s0 = peg$f97(s2);
21161
21377
  } else {
21162
21378
  peg$currPos = s0;
21163
21379
  s0 = peg$FAILED;
@@ -21243,7 +21459,7 @@ function peg$parse(input, options) {
21243
21459
  s3 = peg$parseLightTag();
21244
21460
  if (s3 !== peg$FAILED) {
21245
21461
  peg$savedPos = s0;
21246
- s0 = peg$f97(s2);
21462
+ s0 = peg$f98(s2);
21247
21463
  } else {
21248
21464
  peg$currPos = s0;
21249
21465
  s0 = peg$FAILED;
@@ -21329,7 +21545,7 @@ function peg$parse(input, options) {
21329
21545
  s3 = peg$parseHighlightTag();
21330
21546
  if (s3 !== peg$FAILED) {
21331
21547
  peg$savedPos = s0;
21332
- s0 = peg$f98(s2);
21548
+ s0 = peg$f99(s2);
21333
21549
  } else {
21334
21550
  peg$currPos = s0;
21335
21551
  s0 = peg$FAILED;
@@ -21414,22 +21630,22 @@ function peg$parse(input, options) {
21414
21630
  let s0, s1;
21415
21631
  peg$silentFails++;
21416
21632
  if (input.charCodeAt(peg$currPos) === 10) {
21417
- s0 = peg$c127;
21633
+ s0 = peg$c138;
21418
21634
  peg$currPos++;
21419
21635
  } else {
21420
21636
  s0 = peg$FAILED;
21421
21637
  if (peg$silentFails === 0) {
21422
- peg$fail(peg$e132);
21638
+ peg$fail(peg$e143);
21423
21639
  }
21424
21640
  }
21425
21641
  if (s0 === peg$FAILED) {
21426
- if (input.substr(peg$currPos, 2) === peg$c128) {
21427
- s0 = peg$c128;
21642
+ if (input.substr(peg$currPos, 2) === peg$c139) {
21643
+ s0 = peg$c139;
21428
21644
  peg$currPos += 2;
21429
21645
  } else {
21430
21646
  s0 = peg$FAILED;
21431
21647
  if (peg$silentFails === 0) {
21432
- peg$fail(peg$e133);
21648
+ peg$fail(peg$e144);
21433
21649
  }
21434
21650
  }
21435
21651
  if (s0 === peg$FAILED) {
@@ -21439,7 +21655,7 @@ function peg$parse(input, options) {
21439
21655
  } else {
21440
21656
  s0 = peg$FAILED;
21441
21657
  if (peg$silentFails === 0) {
21442
- peg$fail(peg$e134);
21658
+ peg$fail(peg$e145);
21443
21659
  }
21444
21660
  }
21445
21661
  }
@@ -21448,7 +21664,7 @@ function peg$parse(input, options) {
21448
21664
  if (s0 === peg$FAILED) {
21449
21665
  s1 = peg$FAILED;
21450
21666
  if (peg$silentFails === 0) {
21451
- peg$fail(peg$e131);
21667
+ peg$fail(peg$e142);
21452
21668
  }
21453
21669
  }
21454
21670
  return s0;
@@ -21461,7 +21677,7 @@ function peg$parse(input, options) {
21461
21677
  } else {
21462
21678
  s0 = peg$FAILED;
21463
21679
  if (peg$silentFails === 0) {
21464
- peg$fail(peg$e135);
21680
+ peg$fail(peg$e146);
21465
21681
  }
21466
21682
  }
21467
21683
  return s0;
@@ -21495,35 +21711,35 @@ function peg$parse(input, options) {
21495
21711
  let s0, s1, s2, s3, s4, s5, s6, s7, s8;
21496
21712
  s0 = peg$currPos;
21497
21713
  s1 = peg$currPos;
21498
- if (input.substr(peg$currPos, 4) === peg$c129) {
21499
- s2 = peg$c129;
21714
+ if (input.substr(peg$currPos, 4) === peg$c140) {
21715
+ s2 = peg$c140;
21500
21716
  peg$currPos += 4;
21501
21717
  } else {
21502
21718
  s2 = peg$FAILED;
21503
21719
  if (peg$silentFails === 0) {
21504
- peg$fail(peg$e136);
21720
+ peg$fail(peg$e147);
21505
21721
  }
21506
21722
  }
21507
21723
  if (s2 !== peg$FAILED) {
21508
21724
  if (input.charCodeAt(peg$currPos) === 115) {
21509
- s3 = peg$c130;
21725
+ s3 = peg$c141;
21510
21726
  peg$currPos++;
21511
21727
  } else {
21512
21728
  s3 = peg$FAILED;
21513
21729
  if (peg$silentFails === 0) {
21514
- peg$fail(peg$e137);
21730
+ peg$fail(peg$e148);
21515
21731
  }
21516
21732
  }
21517
21733
  if (s3 === peg$FAILED) {
21518
21734
  s3 = null;
21519
21735
  }
21520
- if (input.substr(peg$currPos, 3) === peg$c131) {
21521
- s4 = peg$c131;
21736
+ if (input.substr(peg$currPos, 3) === peg$c142) {
21737
+ s4 = peg$c142;
21522
21738
  peg$currPos += 3;
21523
21739
  } else {
21524
21740
  s4 = peg$FAILED;
21525
21741
  if (peg$silentFails === 0) {
21526
- peg$fail(peg$e138);
21742
+ peg$fail(peg$e149);
21527
21743
  }
21528
21744
  }
21529
21745
  if (s4 !== peg$FAILED) {
@@ -21601,35 +21817,35 @@ function peg$parse(input, options) {
21601
21817
  s0 = peg$currPos;
21602
21818
  s1 = peg$currPos;
21603
21819
  s2 = peg$currPos;
21604
- if (input.substr(peg$currPos, 4) === peg$c129) {
21605
- s3 = peg$c129;
21820
+ if (input.substr(peg$currPos, 4) === peg$c140) {
21821
+ s3 = peg$c140;
21606
21822
  peg$currPos += 4;
21607
21823
  } else {
21608
21824
  s3 = peg$FAILED;
21609
21825
  if (peg$silentFails === 0) {
21610
- peg$fail(peg$e136);
21826
+ peg$fail(peg$e147);
21611
21827
  }
21612
21828
  }
21613
21829
  if (s3 !== peg$FAILED) {
21614
21830
  if (input.charCodeAt(peg$currPos) === 115) {
21615
- s4 = peg$c130;
21831
+ s4 = peg$c141;
21616
21832
  peg$currPos++;
21617
21833
  } else {
21618
21834
  s4 = peg$FAILED;
21619
21835
  if (peg$silentFails === 0) {
21620
- peg$fail(peg$e137);
21836
+ peg$fail(peg$e148);
21621
21837
  }
21622
21838
  }
21623
21839
  if (s4 === peg$FAILED) {
21624
21840
  s4 = null;
21625
21841
  }
21626
- if (input.substr(peg$currPos, 3) === peg$c131) {
21627
- s5 = peg$c131;
21842
+ if (input.substr(peg$currPos, 3) === peg$c142) {
21843
+ s5 = peg$c142;
21628
21844
  peg$currPos += 3;
21629
21845
  } else {
21630
21846
  s5 = peg$FAILED;
21631
21847
  if (peg$silentFails === 0) {
21632
- peg$fail(peg$e138);
21848
+ peg$fail(peg$e149);
21633
21849
  }
21634
21850
  }
21635
21851
  if (s5 !== peg$FAILED) {
@@ -21644,13 +21860,13 @@ function peg$parse(input, options) {
21644
21860
  s2 = peg$FAILED;
21645
21861
  }
21646
21862
  if (s2 === peg$FAILED) {
21647
- if (input.substr(peg$currPos, 7) === peg$c132) {
21648
- s2 = peg$c132;
21863
+ if (input.substr(peg$currPos, 7) === peg$c143) {
21864
+ s2 = peg$c143;
21649
21865
  peg$currPos += 7;
21650
21866
  } else {
21651
21867
  s2 = peg$FAILED;
21652
21868
  if (peg$silentFails === 0) {
21653
- peg$fail(peg$e139);
21869
+ peg$fail(peg$e150);
21654
21870
  }
21655
21871
  }
21656
21872
  }
@@ -21715,7 +21931,7 @@ function peg$parse(input, options) {
21715
21931
  }
21716
21932
  s2 = input.substring(s2, peg$currPos);
21717
21933
  peg$savedPos = s0;
21718
- s0 = peg$f99(s1, s2);
21934
+ s0 = peg$f100(s1, s2);
21719
21935
  } else {
21720
21936
  peg$currPos = s0;
21721
21937
  s0 = peg$FAILED;
@@ -21730,7 +21946,7 @@ function peg$parse(input, options) {
21730
21946
  } else {
21731
21947
  s0 = peg$FAILED;
21732
21948
  if (peg$silentFails === 0) {
21733
- peg$fail(peg$e140);
21949
+ peg$fail(peg$e151);
21734
21950
  }
21735
21951
  }
21736
21952
  return s0;