@gmb/bitmark-parser-generator 1.5.13 → 1.5.14

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.
@@ -234,74 +234,79 @@ function peg$parse(input, options) {
234
234
  var peg$c18 = "@";
235
235
  var peg$c19 = "width";
236
236
  var peg$c20 = "height";
237
- var peg$c21 = "=";
238
- var peg$c22 = "\uD835\uDC53";
239
- var peg$c23 = "link:";
240
- var peg$c24 = "var:";
241
- var peg$c25 = "code:";
242
- var peg$c26 = "timer";
243
- var peg$c27 = "timer:";
244
- var peg$c28 = "duration:";
245
- var peg$c29 = "P";
246
- var peg$c30 = "color:";
247
- var peg$c31 = "bold";
248
- var peg$c32 = "italic";
249
- var peg$c33 = "light";
250
- var peg$c34 = "highlight";
251
- var peg$c35 = "strike";
252
- var peg$c36 = "subscript";
253
- var peg$c37 = "superscript";
254
- var peg$c38 = "ins";
255
- var peg$c39 = "del";
256
- var peg$c40 = "underline";
257
- var peg$c41 = "doubleUnderline";
258
- var peg$c42 = "circle";
259
- var peg$c43 = "languageEm";
260
- var peg$c44 = "userUnderline";
261
- var peg$c45 = "userDoubleUnderline";
262
- var peg$c46 = "userStrike";
263
- var peg$c47 = "userCircle";
264
- var peg$c48 = "userHighlight";
265
- var peg$c49 = "aqua";
266
- var peg$c50 = "black";
267
- var peg$c51 = "blue";
268
- var peg$c52 = "pink";
269
- var peg$c53 = "fuchsia";
270
- var peg$c54 = "lightgrey";
271
- var peg$c55 = "gray";
272
- var peg$c56 = "darkgray";
273
- var peg$c57 = "green";
274
- var peg$c58 = "lime";
275
- var peg$c59 = "magenta";
276
- var peg$c60 = "maroon";
277
- var peg$c61 = "navy";
278
- var peg$c62 = "olive";
279
- var peg$c63 = "orange";
280
- var peg$c64 = "purple";
281
- var peg$c65 = "red";
282
- var peg$c66 = "silver";
283
- var peg$c67 = "teal";
284
- var peg$c68 = "violet";
285
- var peg$c69 = "white";
286
- var peg$c70 = "yellow";
287
- var peg$c71 = "*";
288
- var peg$c72 = "_";
289
- var peg$c73 = "`";
290
- var peg$c74 = "!";
291
- var peg$c75 = "[!";
292
- var peg$c76 = "]";
293
- var peg$c77 = "\n";
294
- var peg$c78 = "\r\n";
295
- var peg$c79 = "\r";
296
- var peg$c80 = "\u2028";
297
- var peg$c81 = "\u2029";
298
- var peg$c82 = "http";
299
- var peg$c83 = "s";
300
- var peg$c84 = "://";
301
- var peg$c85 = "mailto:";
302
- var peg$c86 = "~";
303
- var peg$c87 = "^";
304
- var peg$c88 = "'";
237
+ var peg$c21 = "alignment";
238
+ var peg$c22 = "captionAlign";
239
+ var peg$c23 = "left";
240
+ var peg$c24 = "center";
241
+ var peg$c25 = "right";
242
+ var peg$c26 = "=";
243
+ var peg$c27 = "\uD835\uDC53";
244
+ var peg$c28 = "link:";
245
+ var peg$c29 = "var:";
246
+ var peg$c30 = "code:";
247
+ var peg$c31 = "timer";
248
+ var peg$c32 = "timer:";
249
+ var peg$c33 = "duration:";
250
+ var peg$c34 = "P";
251
+ var peg$c35 = "color:";
252
+ var peg$c36 = "bold";
253
+ var peg$c37 = "italic";
254
+ var peg$c38 = "light";
255
+ var peg$c39 = "highlight";
256
+ var peg$c40 = "strike";
257
+ var peg$c41 = "subscript";
258
+ var peg$c42 = "superscript";
259
+ var peg$c43 = "ins";
260
+ var peg$c44 = "del";
261
+ var peg$c45 = "underline";
262
+ var peg$c46 = "doubleUnderline";
263
+ var peg$c47 = "circle";
264
+ var peg$c48 = "languageEm";
265
+ var peg$c49 = "userUnderline";
266
+ var peg$c50 = "userDoubleUnderline";
267
+ var peg$c51 = "userStrike";
268
+ var peg$c52 = "userCircle";
269
+ var peg$c53 = "userHighlight";
270
+ var peg$c54 = "aqua";
271
+ var peg$c55 = "black";
272
+ var peg$c56 = "blue";
273
+ var peg$c57 = "pink";
274
+ var peg$c58 = "fuchsia";
275
+ var peg$c59 = "lightgrey";
276
+ var peg$c60 = "gray";
277
+ var peg$c61 = "darkgray";
278
+ var peg$c62 = "green";
279
+ var peg$c63 = "lime";
280
+ var peg$c64 = "magenta";
281
+ var peg$c65 = "maroon";
282
+ var peg$c66 = "navy";
283
+ var peg$c67 = "olive";
284
+ var peg$c68 = "orange";
285
+ var peg$c69 = "purple";
286
+ var peg$c70 = "red";
287
+ var peg$c71 = "silver";
288
+ var peg$c72 = "teal";
289
+ var peg$c73 = "violet";
290
+ var peg$c74 = "white";
291
+ var peg$c75 = "yellow";
292
+ var peg$c76 = "*";
293
+ var peg$c77 = "_";
294
+ var peg$c78 = "`";
295
+ var peg$c79 = "!";
296
+ var peg$c80 = "[!";
297
+ var peg$c81 = "]";
298
+ var peg$c82 = "\n";
299
+ var peg$c83 = "\r\n";
300
+ var peg$c84 = "\r";
301
+ var peg$c85 = "\u2028";
302
+ var peg$c86 = "\u2029";
303
+ var peg$c87 = "http";
304
+ var peg$c88 = "s";
305
+ var peg$c89 = "://";
306
+ var peg$c90 = "mailto:";
307
+ var peg$c91 = "~";
308
+ var peg$c92 = "^";
309
+ var peg$c93 = "'";
305
310
  var peg$r0 = /^[ \t]/;
306
311
  var peg$r1 = /^[0-9]/;
307
312
  var peg$r2 = /^[\t\v\f \xA0\uFEFF \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/;
@@ -334,87 +339,92 @@ function peg$parse(input, options) {
334
339
  var peg$e22 = peg$classExpectation([["0", "9"]], false, false);
335
340
  var peg$e23 = peg$literalExpectation("width", false);
336
341
  var peg$e24 = peg$literalExpectation("height", false);
337
- var peg$e25 = peg$otherExpectation("StyledString");
338
- var peg$e26 = peg$literalExpectation("=", false);
339
- var peg$e27 = peg$literalExpectation("\uD835\uDC53", false);
340
- var peg$e28 = peg$literalExpectation("link:", false);
341
- var peg$e29 = peg$literalExpectation("var:", false);
342
- var peg$e30 = peg$literalExpectation("code:", false);
343
- var peg$e31 = peg$literalExpectation("timer", false);
344
- var peg$e32 = peg$literalExpectation("timer:", false);
345
- var peg$e33 = peg$literalExpectation("duration:", false);
346
- var peg$e34 = peg$literalExpectation("P", false);
347
- var peg$e35 = peg$literalExpectation("color:", false);
348
- var peg$e36 = peg$literalExpectation("bold", false);
349
- var peg$e37 = peg$literalExpectation("italic", false);
350
- var peg$e38 = peg$literalExpectation("light", false);
351
- var peg$e39 = peg$literalExpectation("highlight", false);
352
- var peg$e40 = peg$literalExpectation("strike", false);
353
- var peg$e41 = peg$literalExpectation("subscript", false);
354
- var peg$e42 = peg$literalExpectation("superscript", false);
355
- var peg$e43 = peg$literalExpectation("ins", false);
356
- var peg$e44 = peg$literalExpectation("del", false);
357
- var peg$e45 = peg$literalExpectation("underline", false);
358
- var peg$e46 = peg$literalExpectation("doubleUnderline", false);
359
- var peg$e47 = peg$literalExpectation("circle", false);
360
- var peg$e48 = peg$literalExpectation("languageEm", false);
361
- var peg$e49 = peg$literalExpectation("userUnderline", false);
362
- var peg$e50 = peg$literalExpectation("userDoubleUnderline", false);
363
- var peg$e51 = peg$literalExpectation("userStrike", false);
364
- var peg$e52 = peg$literalExpectation("userCircle", false);
365
- var peg$e53 = peg$literalExpectation("userHighlight", false);
366
- var peg$e54 = peg$literalExpectation("aqua", false);
367
- var peg$e55 = peg$literalExpectation("black", false);
368
- var peg$e56 = peg$literalExpectation("blue", false);
369
- var peg$e57 = peg$literalExpectation("pink", false);
370
- var peg$e58 = peg$literalExpectation("fuchsia", false);
371
- var peg$e59 = peg$literalExpectation("lightgrey", false);
372
- var peg$e60 = peg$literalExpectation("gray", false);
373
- var peg$e61 = peg$literalExpectation("darkgray", false);
374
- var peg$e62 = peg$literalExpectation("green", false);
375
- var peg$e63 = peg$literalExpectation("lime", false);
376
- var peg$e64 = peg$literalExpectation("magenta", false);
377
- var peg$e65 = peg$literalExpectation("maroon", false);
378
- var peg$e66 = peg$literalExpectation("navy", false);
379
- var peg$e67 = peg$literalExpectation("olive", false);
380
- var peg$e68 = peg$literalExpectation("orange", false);
381
- var peg$e69 = peg$literalExpectation("purple", false);
382
- var peg$e70 = peg$literalExpectation("red", false);
383
- var peg$e71 = peg$literalExpectation("silver", false);
384
- var peg$e72 = peg$literalExpectation("teal", false);
385
- var peg$e73 = peg$literalExpectation("violet", false);
386
- var peg$e74 = peg$literalExpectation("white", false);
387
- var peg$e75 = peg$literalExpectation("yellow", false);
388
- var peg$e76 = peg$otherExpectation("MinimalStyledText");
389
- var peg$e77 = peg$otherExpectation("MinimalStyledString");
390
- var peg$e78 = peg$literalExpectation("*", false);
391
- var peg$e79 = peg$literalExpectation("_", false);
392
- var peg$e80 = peg$literalExpectation("`", false);
393
- var peg$e81 = peg$literalExpectation("!", false);
394
- var peg$e82 = peg$literalExpectation("[!", false);
395
- var peg$e83 = peg$literalExpectation("]", false);
396
- var peg$e84 = peg$otherExpectation("Line Terminator");
397
- var peg$e85 = peg$literalExpectation("\n", false);
398
- var peg$e86 = peg$literalExpectation("\r\n", false);
399
- var peg$e87 = peg$literalExpectation("\r", false);
400
- var peg$e88 = peg$literalExpectation("\u2028", false);
401
- var peg$e89 = peg$literalExpectation("\u2029", false);
402
- var peg$e90 = peg$otherExpectation("whitespace in line");
403
- var peg$e91 = peg$otherExpectation("space");
404
- var peg$e92 = peg$otherExpectation("language tag separator");
405
- var peg$e93 = peg$otherExpectation("white space, separator");
406
- var peg$e94 = peg$classExpectation(["\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], false, false);
407
- var peg$e95 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], false, false);
408
- var peg$e96 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false);
409
- var peg$e97 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029", "\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], true, false);
410
- var peg$e98 = peg$literalExpectation("http", false);
411
- var peg$e99 = peg$literalExpectation("s", false);
412
- var peg$e100 = peg$literalExpectation("://", false);
413
- var peg$e101 = peg$literalExpectation("mailto:", false);
414
- var peg$e102 = peg$classExpectation([["a", "z"], ["A", "Z"], ["0", "9"], "!", "*", "'", "(", ")", "=", ["+", "/"], ".", "_", "?", "#", "@", "[", "]", "$", "&", "(", ")", ",", ";", "%", ":", "{", "}"], false, false);
415
- var peg$e103 = peg$literalExpectation("~", false);
416
- var peg$e104 = peg$literalExpectation("^", false);
417
- var peg$e105 = peg$literalExpectation("'", false);
342
+ var peg$e25 = peg$literalExpectation("alignment", false);
343
+ var peg$e26 = peg$literalExpectation("captionAlign", false);
344
+ var peg$e27 = peg$literalExpectation("left", false);
345
+ var peg$e28 = peg$literalExpectation("center", false);
346
+ var peg$e29 = peg$literalExpectation("right", false);
347
+ var peg$e30 = peg$otherExpectation("StyledString");
348
+ var peg$e31 = peg$literalExpectation("=", false);
349
+ var peg$e32 = peg$literalExpectation("\uD835\uDC53", false);
350
+ var peg$e33 = peg$literalExpectation("link:", false);
351
+ var peg$e34 = peg$literalExpectation("var:", false);
352
+ var peg$e35 = peg$literalExpectation("code:", false);
353
+ var peg$e36 = peg$literalExpectation("timer", false);
354
+ var peg$e37 = peg$literalExpectation("timer:", false);
355
+ var peg$e38 = peg$literalExpectation("duration:", false);
356
+ var peg$e39 = peg$literalExpectation("P", false);
357
+ var peg$e40 = peg$literalExpectation("color:", false);
358
+ var peg$e41 = peg$literalExpectation("bold", false);
359
+ var peg$e42 = peg$literalExpectation("italic", false);
360
+ var peg$e43 = peg$literalExpectation("light", false);
361
+ var peg$e44 = peg$literalExpectation("highlight", false);
362
+ var peg$e45 = peg$literalExpectation("strike", false);
363
+ var peg$e46 = peg$literalExpectation("subscript", false);
364
+ var peg$e47 = peg$literalExpectation("superscript", false);
365
+ var peg$e48 = peg$literalExpectation("ins", false);
366
+ var peg$e49 = peg$literalExpectation("del", false);
367
+ var peg$e50 = peg$literalExpectation("underline", false);
368
+ var peg$e51 = peg$literalExpectation("doubleUnderline", false);
369
+ var peg$e52 = peg$literalExpectation("circle", false);
370
+ var peg$e53 = peg$literalExpectation("languageEm", false);
371
+ var peg$e54 = peg$literalExpectation("userUnderline", false);
372
+ var peg$e55 = peg$literalExpectation("userDoubleUnderline", false);
373
+ var peg$e56 = peg$literalExpectation("userStrike", false);
374
+ var peg$e57 = peg$literalExpectation("userCircle", false);
375
+ var peg$e58 = peg$literalExpectation("userHighlight", false);
376
+ var peg$e59 = peg$literalExpectation("aqua", false);
377
+ var peg$e60 = peg$literalExpectation("black", false);
378
+ var peg$e61 = peg$literalExpectation("blue", false);
379
+ var peg$e62 = peg$literalExpectation("pink", false);
380
+ var peg$e63 = peg$literalExpectation("fuchsia", false);
381
+ var peg$e64 = peg$literalExpectation("lightgrey", false);
382
+ var peg$e65 = peg$literalExpectation("gray", false);
383
+ var peg$e66 = peg$literalExpectation("darkgray", false);
384
+ var peg$e67 = peg$literalExpectation("green", false);
385
+ var peg$e68 = peg$literalExpectation("lime", false);
386
+ var peg$e69 = peg$literalExpectation("magenta", false);
387
+ var peg$e70 = peg$literalExpectation("maroon", false);
388
+ var peg$e71 = peg$literalExpectation("navy", false);
389
+ var peg$e72 = peg$literalExpectation("olive", false);
390
+ var peg$e73 = peg$literalExpectation("orange", false);
391
+ var peg$e74 = peg$literalExpectation("purple", false);
392
+ var peg$e75 = peg$literalExpectation("red", false);
393
+ var peg$e76 = peg$literalExpectation("silver", false);
394
+ var peg$e77 = peg$literalExpectation("teal", false);
395
+ var peg$e78 = peg$literalExpectation("violet", false);
396
+ var peg$e79 = peg$literalExpectation("white", false);
397
+ var peg$e80 = peg$literalExpectation("yellow", false);
398
+ var peg$e81 = peg$otherExpectation("MinimalStyledText");
399
+ var peg$e82 = peg$otherExpectation("MinimalStyledString");
400
+ var peg$e83 = peg$literalExpectation("*", false);
401
+ var peg$e84 = peg$literalExpectation("_", false);
402
+ var peg$e85 = peg$literalExpectation("`", false);
403
+ var peg$e86 = peg$literalExpectation("!", false);
404
+ var peg$e87 = peg$literalExpectation("[!", false);
405
+ var peg$e88 = peg$literalExpectation("]", false);
406
+ var peg$e89 = peg$otherExpectation("Line Terminator");
407
+ var peg$e90 = peg$literalExpectation("\n", false);
408
+ var peg$e91 = peg$literalExpectation("\r\n", false);
409
+ var peg$e92 = peg$literalExpectation("\r", false);
410
+ var peg$e93 = peg$literalExpectation("\u2028", false);
411
+ var peg$e94 = peg$literalExpectation("\u2029", false);
412
+ var peg$e95 = peg$otherExpectation("whitespace in line");
413
+ var peg$e96 = peg$otherExpectation("space");
414
+ var peg$e97 = peg$otherExpectation("language tag separator");
415
+ var peg$e98 = peg$otherExpectation("white space, separator");
416
+ var peg$e99 = peg$classExpectation(["\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], false, false);
417
+ var peg$e100 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], false, false);
418
+ var peg$e101 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false);
419
+ var peg$e102 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029", "\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], true, false);
420
+ var peg$e103 = peg$literalExpectation("http", false);
421
+ var peg$e104 = peg$literalExpectation("s", false);
422
+ var peg$e105 = peg$literalExpectation("://", false);
423
+ var peg$e106 = peg$literalExpectation("mailto:", false);
424
+ var peg$e107 = peg$classExpectation([["a", "z"], ["A", "Z"], ["0", "9"], "!", "*", "'", "(", ")", "=", ["+", "/"], ".", "_", "?", "#", "@", "[", "]", "$", "&", "(", ")", ",", ";", "%", ":", "{", "}"], false, false);
425
+ var peg$e108 = peg$literalExpectation("~", false);
426
+ var peg$e109 = peg$literalExpectation("^", false);
427
+ var peg$e110 = peg$literalExpectation("'", false);
418
428
  var peg$f0 = function (b) { return Object.assign({}, b); };
419
429
  var peg$f1 = function (b) { let lb_ = Object.assign({}, b); removeTempParsingParent(lb_); return lb_; };
420
430
  var peg$f2 = function (b) { return Object.assign({}, b); };
@@ -492,6 +502,8 @@ function peg$parse(input, options) {
492
502
  var peg$f33 = function (t) { return t; };
493
503
  var peg$f34 = function (t, u, ch) {
494
504
  const chain = Object.assign({}, ...ch);
505
+ let imageAlignment_ = chain.alignment || "center";
506
+ delete chain.alignment;
495
507
  let textAlign_ = chain.captionAlign || "left";
496
508
  delete chain.captionAlign;
497
509
  let alt_ = chain.alt || null;
@@ -504,7 +516,7 @@ function peg$parse(input, options) {
504
516
  delete chain.zoomDisabled;
505
517
  let image = {
506
518
  type: t,
507
- attrs: Object.assign({ textAlign: textAlign_, src: u, alt: alt_, title: title_, class: class_, zoomDisabled: zoomDisabled_ }, chain)
519
+ attrs: Object.assign({ alignment: imageAlignment_, textAlign: textAlign_, src: u, alt: alt_, title: title_, class: class_, zoomDisabled: zoomDisabled_ }, chain)
508
520
  };
509
521
  return image;
510
522
  };
@@ -513,39 +525,40 @@ function peg$parse(input, options) {
513
525
  var peg$f37 = function (p, v) { return { [p]: parseInt(v) }; };
514
526
  var peg$f38 = function (p, v) { return { type: "error", msg: p + ' must be an positive integer.', found: v }; };
515
527
  var peg$f39 = function (p, v) { return { [p]: v }; };
516
- var peg$f40 = function (p) { return { [p]: true }; };
517
- var peg$f41 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
518
- var peg$f42 = function (first, more) { return first ? [first, ...more.flat()] : more.flat(); };
519
- var peg$f43 = function () { return { "type": "hardBreak" }; };
520
- var peg$f44 = function (t) { return { text: unbreakscape(t), type: "text" }; };
521
- var peg$f45 = function (t) { return { index: +t, type: "bit" }; };
522
- var peg$f46 = function (t, marks) { if (!marks)
528
+ var peg$f40 = function (p, v) { return { [p]: v }; };
529
+ var peg$f41 = function (p) { return { [p]: true }; };
530
+ var peg$f42 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
531
+ var peg$f43 = function (first, more) { return first ? [first, ...more.flat()] : more.flat(); };
532
+ var peg$f44 = function () { return { "type": "hardBreak" }; };
533
+ var peg$f45 = function (t) { return { text: unbreakscape(t), type: "text" }; };
534
+ var peg$f46 = function (t) { return { index: +t, type: "bit" }; };
535
+ var peg$f47 = function (t, marks) { if (!marks)
523
536
  marks = []; return { marks, text: unbreakscape(t), type: "text" }; };
524
- var peg$f47 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
525
- var peg$f48 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
526
- var peg$f49 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
527
- var peg$f50 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
528
- var peg$f51 = function (u) { return { marks: [{ type: "link", attrs: { href: (u.pr + u.t).trim(), target: '_blank' } }], text: u.t, type: "text" }; };
529
- var peg$f52 = function (ch) { return ch; };
530
- var peg$f53 = function (str) { return { type: 'link', attrs: { href: str.trim(), target: '_blank' } }; };
531
- var peg$f54 = function (str) { return { type: 'var', attrs: { name: str.trim() } }; };
532
- var peg$f55 = function () { return { type: 'code', attrs: { language: "plain text" } }; };
533
- var peg$f56 = function (lang) { return { type: 'code', attrs: { language: lang.trim().toLowerCase() } }; };
534
- var peg$f57 = function () { return { type: 'timer', attrs: { name: "" } }; };
535
- var peg$f58 = function (str) { return { type: 'timer', attrs: { name: str.trim() } }; };
536
- var peg$f59 = function (str) { return { type: 'duration', attrs: { duration: str } }; };
537
- var peg$f60 = function (color) { return { type: 'color', attrs: { color } }; };
538
- var peg$f61 = function (style) { return { type: style }; };
539
- var peg$f62 = function (str) { return { type: "comment", comment: str }; };
540
- var peg$f63 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
541
- var peg$f64 = function (first, more) { return first ? [first, ...more.flat()] : more.flat(); };
542
- var peg$f65 = function (t) { return { text: unbreakscape(t), type: "text" }; };
543
- var peg$f66 = function (t) { return { index: +t, type: "bit" }; };
544
- var peg$f67 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
545
- var peg$f68 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
546
- var peg$f69 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
547
- var peg$f70 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
548
- var peg$f71 = function (pr, t) { return { pr, t }; };
537
+ var peg$f48 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
538
+ var peg$f49 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
539
+ var peg$f50 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
540
+ var peg$f51 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
541
+ var peg$f52 = function (u) { return { marks: [{ type: "link", attrs: { href: (u.pr + u.t).trim(), target: '_blank' } }], text: u.t, type: "text" }; };
542
+ var peg$f53 = function (ch) { return ch; };
543
+ var peg$f54 = function (str) { return { type: 'link', attrs: { href: str.trim(), target: '_blank' } }; };
544
+ var peg$f55 = function (str) { return { type: 'var', attrs: { name: str.trim() } }; };
545
+ var peg$f56 = function () { return { type: 'code', attrs: { language: "plain text" } }; };
546
+ var peg$f57 = function (lang) { return { type: 'code', attrs: { language: lang.trim().toLowerCase() } }; };
547
+ var peg$f58 = function () { return { type: 'timer', attrs: { name: "" } }; };
548
+ var peg$f59 = function (str) { return { type: 'timer', attrs: { name: str.trim() } }; };
549
+ var peg$f60 = function (str) { return { type: 'duration', attrs: { duration: str } }; };
550
+ var peg$f61 = function (color) { return { type: 'color', attrs: { color } }; };
551
+ var peg$f62 = function (style) { return { type: style }; };
552
+ var peg$f63 = function (str) { return { type: "comment", comment: str }; };
553
+ var peg$f64 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
554
+ var peg$f65 = function (first, more) { return first ? [first, ...more.flat()] : more.flat(); };
555
+ var peg$f66 = function (t) { return { text: unbreakscape(t), type: "text" }; };
556
+ var peg$f67 = function (t) { return { index: +t, type: "bit" }; };
557
+ var peg$f68 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
558
+ var peg$f69 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
559
+ var peg$f70 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
560
+ var peg$f71 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
561
+ var peg$f72 = function (pr, t) { return { pr, t }; };
549
562
  var peg$currPos = 0;
550
563
  var peg$savedPos = 0;
551
564
  var peg$posDetailsCache = [{ line: 1, column: 1 }];
@@ -2777,49 +2790,86 @@ function peg$parse(input, options) {
2777
2790
  if (s1 === peg$FAILED) {
2778
2791
  s1 = null;
2779
2792
  }
2780
- s2 = peg$currPos;
2781
- s3 = [];
2782
- s4 = peg$currPos;
2783
- s5 = peg$currPos;
2784
- peg$silentFails++;
2785
- s6 = peg$parseBlockTag();
2786
- if (s6 === peg$FAILED) {
2793
+ s2 = peg$parseAlignmentTags();
2794
+ if (s2 !== peg$FAILED) {
2787
2795
  if (input.charCodeAt(peg$currPos) === 58) {
2788
- s6 = peg$c1;
2796
+ s3 = peg$c1;
2789
2797
  peg$currPos++;
2790
2798
  }
2791
2799
  else {
2792
- s6 = peg$FAILED;
2800
+ s3 = peg$FAILED;
2793
2801
  if (peg$silentFails === 0) {
2794
2802
  peg$fail(peg$e2);
2795
2803
  }
2796
2804
  }
2797
- }
2798
- peg$silentFails--;
2799
- if (s6 === peg$FAILED) {
2800
- s5 = undefined;
2801
- }
2802
- else {
2803
- peg$currPos = s5;
2804
- s5 = peg$FAILED;
2805
- }
2806
- if (s5 !== peg$FAILED) {
2807
- s6 = peg$parsechar();
2808
- if (s6 !== peg$FAILED) {
2809
- s5 = [s5, s6];
2810
- s4 = s5;
2805
+ if (s3 !== peg$FAILED) {
2806
+ s4 = [];
2807
+ if (input.charCodeAt(peg$currPos) === 32) {
2808
+ s5 = peg$c16;
2809
+ peg$currPos++;
2810
+ }
2811
+ else {
2812
+ s5 = peg$FAILED;
2813
+ if (peg$silentFails === 0) {
2814
+ peg$fail(peg$e19);
2815
+ }
2816
+ }
2817
+ while (s5 !== peg$FAILED) {
2818
+ s4.push(s5);
2819
+ if (input.charCodeAt(peg$currPos) === 32) {
2820
+ s5 = peg$c16;
2821
+ peg$currPos++;
2822
+ }
2823
+ else {
2824
+ s5 = peg$FAILED;
2825
+ if (peg$silentFails === 0) {
2826
+ peg$fail(peg$e19);
2827
+ }
2828
+ }
2829
+ }
2830
+ s5 = peg$parseAlignment();
2831
+ if (s5 !== peg$FAILED) {
2832
+ s6 = peg$parseBlockTag();
2833
+ if (s6 !== peg$FAILED) {
2834
+ peg$savedPos = s0;
2835
+ s0 = peg$f39(s2, s5);
2836
+ }
2837
+ else {
2838
+ peg$currPos = s0;
2839
+ s0 = peg$FAILED;
2840
+ }
2841
+ }
2842
+ else {
2843
+ peg$currPos = s0;
2844
+ s0 = peg$FAILED;
2845
+ }
2811
2846
  }
2812
2847
  else {
2813
- peg$currPos = s4;
2814
- s4 = peg$FAILED;
2848
+ peg$currPos = s0;
2849
+ s0 = peg$FAILED;
2815
2850
  }
2816
2851
  }
2817
2852
  else {
2818
- peg$currPos = s4;
2819
- s4 = peg$FAILED;
2853
+ peg$currPos = s0;
2854
+ s0 = peg$FAILED;
2820
2855
  }
2821
- while (s4 !== peg$FAILED) {
2822
- s3.push(s4);
2856
+ if (s0 === peg$FAILED) {
2857
+ s0 = peg$currPos;
2858
+ if (input.charCodeAt(peg$currPos) === 64) {
2859
+ s1 = peg$c18;
2860
+ peg$currPos++;
2861
+ }
2862
+ else {
2863
+ s1 = peg$FAILED;
2864
+ if (peg$silentFails === 0) {
2865
+ peg$fail(peg$e21);
2866
+ }
2867
+ }
2868
+ if (s1 === peg$FAILED) {
2869
+ s1 = null;
2870
+ }
2871
+ s2 = peg$currPos;
2872
+ s3 = [];
2823
2873
  s4 = peg$currPos;
2824
2874
  s5 = peg$currPos;
2825
2875
  peg$silentFails++;
@@ -2835,6 +2885,34 @@ function peg$parse(input, options) {
2835
2885
  peg$fail(peg$e2);
2836
2886
  }
2837
2887
  }
2888
+ if (s6 === peg$FAILED) {
2889
+ s6 = peg$currPos;
2890
+ s7 = peg$parseAlignmentTags();
2891
+ if (s7 !== peg$FAILED) {
2892
+ if (input.charCodeAt(peg$currPos) === 58) {
2893
+ s8 = peg$c1;
2894
+ peg$currPos++;
2895
+ }
2896
+ else {
2897
+ s8 = peg$FAILED;
2898
+ if (peg$silentFails === 0) {
2899
+ peg$fail(peg$e2);
2900
+ }
2901
+ }
2902
+ if (s8 !== peg$FAILED) {
2903
+ s7 = [s7, s8];
2904
+ s6 = s7;
2905
+ }
2906
+ else {
2907
+ peg$currPos = s6;
2908
+ s6 = peg$FAILED;
2909
+ }
2910
+ }
2911
+ else {
2912
+ peg$currPos = s6;
2913
+ s6 = peg$FAILED;
2914
+ }
2915
+ }
2838
2916
  }
2839
2917
  peg$silentFails--;
2840
2918
  if (s6 === peg$FAILED) {
@@ -2859,63 +2937,103 @@ function peg$parse(input, options) {
2859
2937
  peg$currPos = s4;
2860
2938
  s4 = peg$FAILED;
2861
2939
  }
2862
- }
2863
- s2 = input.substring(s2, peg$currPos);
2864
- if (input.charCodeAt(peg$currPos) === 58) {
2865
- s3 = peg$c1;
2866
- peg$currPos++;
2867
- }
2868
- else {
2869
- s3 = peg$FAILED;
2870
- if (peg$silentFails === 0) {
2871
- peg$fail(peg$e2);
2940
+ while (s4 !== peg$FAILED) {
2941
+ s3.push(s4);
2942
+ s4 = peg$currPos;
2943
+ s5 = peg$currPos;
2944
+ peg$silentFails++;
2945
+ s6 = peg$parseBlockTag();
2946
+ if (s6 === peg$FAILED) {
2947
+ if (input.charCodeAt(peg$currPos) === 58) {
2948
+ s6 = peg$c1;
2949
+ peg$currPos++;
2950
+ }
2951
+ else {
2952
+ s6 = peg$FAILED;
2953
+ if (peg$silentFails === 0) {
2954
+ peg$fail(peg$e2);
2955
+ }
2956
+ }
2957
+ if (s6 === peg$FAILED) {
2958
+ s6 = peg$currPos;
2959
+ s7 = peg$parseAlignmentTags();
2960
+ if (s7 !== peg$FAILED) {
2961
+ if (input.charCodeAt(peg$currPos) === 58) {
2962
+ s8 = peg$c1;
2963
+ peg$currPos++;
2964
+ }
2965
+ else {
2966
+ s8 = peg$FAILED;
2967
+ if (peg$silentFails === 0) {
2968
+ peg$fail(peg$e2);
2969
+ }
2970
+ }
2971
+ if (s8 !== peg$FAILED) {
2972
+ s7 = [s7, s8];
2973
+ s6 = s7;
2974
+ }
2975
+ else {
2976
+ peg$currPos = s6;
2977
+ s6 = peg$FAILED;
2978
+ }
2979
+ }
2980
+ else {
2981
+ peg$currPos = s6;
2982
+ s6 = peg$FAILED;
2983
+ }
2984
+ }
2985
+ }
2986
+ peg$silentFails--;
2987
+ if (s6 === peg$FAILED) {
2988
+ s5 = undefined;
2989
+ }
2990
+ else {
2991
+ peg$currPos = s5;
2992
+ s5 = peg$FAILED;
2993
+ }
2994
+ if (s5 !== peg$FAILED) {
2995
+ s6 = peg$parsechar();
2996
+ if (s6 !== peg$FAILED) {
2997
+ s5 = [s5, s6];
2998
+ s4 = s5;
2999
+ }
3000
+ else {
3001
+ peg$currPos = s4;
3002
+ s4 = peg$FAILED;
3003
+ }
3004
+ }
3005
+ else {
3006
+ peg$currPos = s4;
3007
+ s4 = peg$FAILED;
3008
+ }
2872
3009
  }
2873
- }
2874
- if (s3 !== peg$FAILED) {
2875
- if (input.charCodeAt(peg$currPos) === 32) {
2876
- s4 = peg$c16;
3010
+ s2 = input.substring(s2, peg$currPos);
3011
+ if (input.charCodeAt(peg$currPos) === 58) {
3012
+ s3 = peg$c1;
2877
3013
  peg$currPos++;
2878
3014
  }
2879
3015
  else {
2880
- s4 = peg$FAILED;
3016
+ s3 = peg$FAILED;
2881
3017
  if (peg$silentFails === 0) {
2882
- peg$fail(peg$e19);
3018
+ peg$fail(peg$e2);
2883
3019
  }
2884
3020
  }
2885
- if (s4 === peg$FAILED) {
2886
- s4 = null;
2887
- }
2888
- s5 = peg$currPos;
2889
- s6 = [];
2890
- s7 = peg$currPos;
2891
- s8 = peg$currPos;
2892
- peg$silentFails++;
2893
- s9 = peg$parseBlockTag();
2894
- peg$silentFails--;
2895
- if (s9 === peg$FAILED) {
2896
- s8 = undefined;
2897
- }
2898
- else {
2899
- peg$currPos = s8;
2900
- s8 = peg$FAILED;
2901
- }
2902
- if (s8 !== peg$FAILED) {
2903
- s9 = peg$parsechar();
2904
- if (s9 !== peg$FAILED) {
2905
- s8 = [s8, s9];
2906
- s7 = s8;
3021
+ if (s3 !== peg$FAILED) {
3022
+ if (input.charCodeAt(peg$currPos) === 32) {
3023
+ s4 = peg$c16;
3024
+ peg$currPos++;
2907
3025
  }
2908
3026
  else {
2909
- peg$currPos = s7;
2910
- s7 = peg$FAILED;
3027
+ s4 = peg$FAILED;
3028
+ if (peg$silentFails === 0) {
3029
+ peg$fail(peg$e19);
3030
+ }
2911
3031
  }
2912
- }
2913
- else {
2914
- peg$currPos = s7;
2915
- s7 = peg$FAILED;
2916
- }
2917
- while (s7 !== peg$FAILED) {
2918
- s6.push(s7);
3032
+ if (s4 === peg$FAILED) {
3033
+ s4 = null;
3034
+ }
3035
+ s5 = peg$currPos;
3036
+ s6 = [];
2919
3037
  s7 = peg$currPos;
2920
3038
  s8 = peg$currPos;
2921
3039
  peg$silentFails++;
@@ -2943,72 +3061,100 @@ function peg$parse(input, options) {
2943
3061
  peg$currPos = s7;
2944
3062
  s7 = peg$FAILED;
2945
3063
  }
2946
- }
2947
- s5 = input.substring(s5, peg$currPos);
2948
- s6 = peg$parseBlockTag();
2949
- if (s6 !== peg$FAILED) {
2950
- peg$savedPos = s0;
2951
- s0 = peg$f39(s2, s5);
2952
- }
2953
- else {
2954
- peg$currPos = s0;
2955
- s0 = peg$FAILED;
2956
- }
2957
- }
2958
- else {
2959
- peg$currPos = s0;
2960
- s0 = peg$FAILED;
2961
- }
2962
- if (s0 === peg$FAILED) {
2963
- s0 = peg$currPos;
2964
- if (input.charCodeAt(peg$currPos) === 64) {
2965
- s1 = peg$c18;
2966
- peg$currPos++;
2967
- }
2968
- else {
2969
- s1 = peg$FAILED;
2970
- if (peg$silentFails === 0) {
2971
- peg$fail(peg$e21);
3064
+ while (s7 !== peg$FAILED) {
3065
+ s6.push(s7);
3066
+ s7 = peg$currPos;
3067
+ s8 = peg$currPos;
3068
+ peg$silentFails++;
3069
+ s9 = peg$parseBlockTag();
3070
+ peg$silentFails--;
3071
+ if (s9 === peg$FAILED) {
3072
+ s8 = undefined;
3073
+ }
3074
+ else {
3075
+ peg$currPos = s8;
3076
+ s8 = peg$FAILED;
3077
+ }
3078
+ if (s8 !== peg$FAILED) {
3079
+ s9 = peg$parsechar();
3080
+ if (s9 !== peg$FAILED) {
3081
+ s8 = [s8, s9];
3082
+ s7 = s8;
3083
+ }
3084
+ else {
3085
+ peg$currPos = s7;
3086
+ s7 = peg$FAILED;
3087
+ }
3088
+ }
3089
+ else {
3090
+ peg$currPos = s7;
3091
+ s7 = peg$FAILED;
3092
+ }
2972
3093
  }
2973
- }
2974
- if (s1 === peg$FAILED) {
2975
- s1 = null;
2976
- }
2977
- s2 = peg$currPos;
2978
- s3 = [];
2979
- s4 = peg$currPos;
2980
- s5 = peg$currPos;
2981
- peg$silentFails++;
2982
- s6 = peg$parseBlockTag();
2983
- peg$silentFails--;
2984
- if (s6 === peg$FAILED) {
2985
- s5 = undefined;
2986
- }
2987
- else {
2988
- peg$currPos = s5;
2989
- s5 = peg$FAILED;
2990
- }
2991
- if (s5 !== peg$FAILED) {
2992
- s6 = peg$parsechar();
3094
+ s5 = input.substring(s5, peg$currPos);
3095
+ s6 = peg$parseBlockTag();
2993
3096
  if (s6 !== peg$FAILED) {
2994
- s5 = [s5, s6];
2995
- s4 = s5;
3097
+ peg$savedPos = s0;
3098
+ s0 = peg$f40(s2, s5);
2996
3099
  }
2997
3100
  else {
2998
- peg$currPos = s4;
2999
- s4 = peg$FAILED;
3101
+ peg$currPos = s0;
3102
+ s0 = peg$FAILED;
3000
3103
  }
3001
3104
  }
3002
3105
  else {
3003
- peg$currPos = s4;
3004
- s4 = peg$FAILED;
3106
+ peg$currPos = s0;
3107
+ s0 = peg$FAILED;
3005
3108
  }
3006
- while (s4 !== peg$FAILED) {
3007
- s3.push(s4);
3109
+ if (s0 === peg$FAILED) {
3110
+ s0 = peg$currPos;
3111
+ if (input.charCodeAt(peg$currPos) === 64) {
3112
+ s1 = peg$c18;
3113
+ peg$currPos++;
3114
+ }
3115
+ else {
3116
+ s1 = peg$FAILED;
3117
+ if (peg$silentFails === 0) {
3118
+ peg$fail(peg$e21);
3119
+ }
3120
+ }
3121
+ if (s1 === peg$FAILED) {
3122
+ s1 = null;
3123
+ }
3124
+ s2 = peg$currPos;
3125
+ s3 = [];
3008
3126
  s4 = peg$currPos;
3009
3127
  s5 = peg$currPos;
3010
3128
  peg$silentFails++;
3011
3129
  s6 = peg$parseBlockTag();
3130
+ if (s6 === peg$FAILED) {
3131
+ s6 = peg$currPos;
3132
+ s7 = peg$parseAlignmentTags();
3133
+ if (s7 !== peg$FAILED) {
3134
+ if (input.charCodeAt(peg$currPos) === 58) {
3135
+ s8 = peg$c1;
3136
+ peg$currPos++;
3137
+ }
3138
+ else {
3139
+ s8 = peg$FAILED;
3140
+ if (peg$silentFails === 0) {
3141
+ peg$fail(peg$e2);
3142
+ }
3143
+ }
3144
+ if (s8 !== peg$FAILED) {
3145
+ s7 = [s7, s8];
3146
+ s6 = s7;
3147
+ }
3148
+ else {
3149
+ peg$currPos = s6;
3150
+ s6 = peg$FAILED;
3151
+ }
3152
+ }
3153
+ else {
3154
+ peg$currPos = s6;
3155
+ s6 = peg$FAILED;
3156
+ }
3157
+ }
3012
3158
  peg$silentFails--;
3013
3159
  if (s6 === peg$FAILED) {
3014
3160
  s5 = undefined;
@@ -3032,16 +3178,74 @@ function peg$parse(input, options) {
3032
3178
  peg$currPos = s4;
3033
3179
  s4 = peg$FAILED;
3034
3180
  }
3035
- }
3036
- s2 = input.substring(s2, peg$currPos);
3037
- s3 = peg$parseBlockTag();
3038
- if (s3 !== peg$FAILED) {
3039
- peg$savedPos = s0;
3040
- s0 = peg$f40(s2);
3041
- }
3042
- else {
3043
- peg$currPos = s0;
3044
- s0 = peg$FAILED;
3181
+ while (s4 !== peg$FAILED) {
3182
+ s3.push(s4);
3183
+ s4 = peg$currPos;
3184
+ s5 = peg$currPos;
3185
+ peg$silentFails++;
3186
+ s6 = peg$parseBlockTag();
3187
+ if (s6 === peg$FAILED) {
3188
+ s6 = peg$currPos;
3189
+ s7 = peg$parseAlignmentTags();
3190
+ if (s7 !== peg$FAILED) {
3191
+ if (input.charCodeAt(peg$currPos) === 58) {
3192
+ s8 = peg$c1;
3193
+ peg$currPos++;
3194
+ }
3195
+ else {
3196
+ s8 = peg$FAILED;
3197
+ if (peg$silentFails === 0) {
3198
+ peg$fail(peg$e2);
3199
+ }
3200
+ }
3201
+ if (s8 !== peg$FAILED) {
3202
+ s7 = [s7, s8];
3203
+ s6 = s7;
3204
+ }
3205
+ else {
3206
+ peg$currPos = s6;
3207
+ s6 = peg$FAILED;
3208
+ }
3209
+ }
3210
+ else {
3211
+ peg$currPos = s6;
3212
+ s6 = peg$FAILED;
3213
+ }
3214
+ }
3215
+ peg$silentFails--;
3216
+ if (s6 === peg$FAILED) {
3217
+ s5 = undefined;
3218
+ }
3219
+ else {
3220
+ peg$currPos = s5;
3221
+ s5 = peg$FAILED;
3222
+ }
3223
+ if (s5 !== peg$FAILED) {
3224
+ s6 = peg$parsechar();
3225
+ if (s6 !== peg$FAILED) {
3226
+ s5 = [s5, s6];
3227
+ s4 = s5;
3228
+ }
3229
+ else {
3230
+ peg$currPos = s4;
3231
+ s4 = peg$FAILED;
3232
+ }
3233
+ }
3234
+ else {
3235
+ peg$currPos = s4;
3236
+ s4 = peg$FAILED;
3237
+ }
3238
+ }
3239
+ s2 = input.substring(s2, peg$currPos);
3240
+ s3 = peg$parseBlockTag();
3241
+ if (s3 !== peg$FAILED) {
3242
+ peg$savedPos = s0;
3243
+ s0 = peg$f41(s2);
3244
+ }
3245
+ else {
3246
+ peg$currPos = s0;
3247
+ s0 = peg$FAILED;
3248
+ }
3045
3249
  }
3046
3250
  }
3047
3251
  }
@@ -3075,13 +3279,77 @@ function peg$parse(input, options) {
3075
3279
  }
3076
3280
  return s0;
3077
3281
  }
3282
+ function peg$parseAlignmentTags() {
3283
+ var s0;
3284
+ if (input.substr(peg$currPos, 9) === peg$c21) {
3285
+ s0 = peg$c21;
3286
+ peg$currPos += 9;
3287
+ }
3288
+ else {
3289
+ s0 = peg$FAILED;
3290
+ if (peg$silentFails === 0) {
3291
+ peg$fail(peg$e25);
3292
+ }
3293
+ }
3294
+ if (s0 === peg$FAILED) {
3295
+ if (input.substr(peg$currPos, 12) === peg$c22) {
3296
+ s0 = peg$c22;
3297
+ peg$currPos += 12;
3298
+ }
3299
+ else {
3300
+ s0 = peg$FAILED;
3301
+ if (peg$silentFails === 0) {
3302
+ peg$fail(peg$e26);
3303
+ }
3304
+ }
3305
+ }
3306
+ return s0;
3307
+ }
3308
+ function peg$parseAlignment() {
3309
+ var s0;
3310
+ if (input.substr(peg$currPos, 4) === peg$c23) {
3311
+ s0 = peg$c23;
3312
+ peg$currPos += 4;
3313
+ }
3314
+ else {
3315
+ s0 = peg$FAILED;
3316
+ if (peg$silentFails === 0) {
3317
+ peg$fail(peg$e27);
3318
+ }
3319
+ }
3320
+ if (s0 === peg$FAILED) {
3321
+ if (input.substr(peg$currPos, 6) === peg$c24) {
3322
+ s0 = peg$c24;
3323
+ peg$currPos += 6;
3324
+ }
3325
+ else {
3326
+ s0 = peg$FAILED;
3327
+ if (peg$silentFails === 0) {
3328
+ peg$fail(peg$e28);
3329
+ }
3330
+ }
3331
+ if (s0 === peg$FAILED) {
3332
+ if (input.substr(peg$currPos, 5) === peg$c25) {
3333
+ s0 = peg$c25;
3334
+ peg$currPos += 5;
3335
+ }
3336
+ else {
3337
+ s0 = peg$FAILED;
3338
+ if (peg$silentFails === 0) {
3339
+ peg$fail(peg$e29);
3340
+ }
3341
+ }
3342
+ }
3343
+ }
3344
+ return s0;
3345
+ }
3078
3346
  function peg$parsebitmarkPlus() {
3079
3347
  var s0, s1;
3080
3348
  peg$silentFails++;
3081
3349
  s0 = peg$currPos;
3082
3350
  s1 = peg$parseInlineTags();
3083
3351
  peg$savedPos = s0;
3084
- s1 = peg$f41(s1);
3352
+ s1 = peg$f42(s1);
3085
3353
  s0 = s1;
3086
3354
  peg$silentFails--;
3087
3355
  s1 = peg$FAILED;
@@ -3097,7 +3365,7 @@ function peg$parse(input, options) {
3097
3365
  peg$silentFails--;
3098
3366
  s1 = peg$FAILED;
3099
3367
  if (peg$silentFails === 0) {
3100
- peg$fail(peg$e25);
3368
+ peg$fail(peg$e30);
3101
3369
  }
3102
3370
  return s0;
3103
3371
  }
@@ -3121,7 +3389,7 @@ function peg$parse(input, options) {
3121
3389
  }
3122
3390
  }
3123
3391
  peg$savedPos = s0;
3124
- s0 = peg$f42(s1, s2);
3392
+ s0 = peg$f43(s1, s2);
3125
3393
  return s0;
3126
3394
  }
3127
3395
  function peg$parseInlinePlainText() {
@@ -3130,7 +3398,7 @@ function peg$parse(input, options) {
3130
3398
  s1 = peg$parseNL();
3131
3399
  if (s1 !== peg$FAILED) {
3132
3400
  peg$savedPos = s0;
3133
- s1 = peg$f43();
3401
+ s1 = peg$f44();
3134
3402
  }
3135
3403
  s0 = s1;
3136
3404
  if (s0 === peg$FAILED) {
@@ -3273,7 +3541,7 @@ function peg$parse(input, options) {
3273
3541
  }
3274
3542
  if (s1 !== peg$FAILED) {
3275
3543
  peg$savedPos = s0;
3276
- s1 = peg$f44(s1);
3544
+ s1 = peg$f45(s1);
3277
3545
  }
3278
3546
  s0 = s1;
3279
3547
  }
@@ -3282,27 +3550,27 @@ function peg$parse(input, options) {
3282
3550
  function peg$parseInlineHalfTag() {
3283
3551
  var s0;
3284
3552
  if (input.charCodeAt(peg$currPos) === 61) {
3285
- s0 = peg$c21;
3553
+ s0 = peg$c26;
3286
3554
  peg$currPos++;
3287
3555
  }
3288
3556
  else {
3289
3557
  s0 = peg$FAILED;
3290
3558
  if (peg$silentFails === 0) {
3291
- peg$fail(peg$e26);
3559
+ peg$fail(peg$e31);
3292
3560
  }
3293
3561
  }
3294
3562
  return s0;
3295
3563
  }
3296
3564
  function peg$parseInlineLaTexHalfTag() {
3297
3565
  var s0;
3298
- if (input.substr(peg$currPos, 2) === peg$c22) {
3299
- s0 = peg$c22;
3566
+ if (input.substr(peg$currPos, 2) === peg$c27) {
3567
+ s0 = peg$c27;
3300
3568
  peg$currPos += 2;
3301
3569
  }
3302
3570
  else {
3303
3571
  s0 = peg$FAILED;
3304
3572
  if (peg$silentFails === 0) {
3305
- peg$fail(peg$e27);
3573
+ peg$fail(peg$e32);
3306
3574
  }
3307
3575
  }
3308
3576
  return s0;
@@ -3394,7 +3662,7 @@ function peg$parse(input, options) {
3394
3662
  s3 = peg$parseBodyBitCloseTag();
3395
3663
  if (s3 !== peg$FAILED) {
3396
3664
  peg$savedPos = s0;
3397
- s0 = peg$f45(s2);
3665
+ s0 = peg$f46(s2);
3398
3666
  }
3399
3667
  else {
3400
3668
  peg$currPos = s0;
@@ -3567,7 +3835,7 @@ function peg$parse(input, options) {
3567
3835
  s6 = peg$parseAttrChain();
3568
3836
  if (s6 !== peg$FAILED) {
3569
3837
  peg$savedPos = s0;
3570
- s0 = peg$f46(s3, s6);
3838
+ s0 = peg$f47(s3, s6);
3571
3839
  }
3572
3840
  else {
3573
3841
  peg$currPos = s0;
@@ -3738,7 +4006,7 @@ function peg$parse(input, options) {
3738
4006
  s5 = peg$parseBoldTag();
3739
4007
  if (s5 !== peg$FAILED) {
3740
4008
  peg$savedPos = s0;
3741
- s0 = peg$f47(s3);
4009
+ s0 = peg$f48(s3);
3742
4010
  }
3743
4011
  else {
3744
4012
  peg$currPos = s0;
@@ -3904,7 +4172,7 @@ function peg$parse(input, options) {
3904
4172
  s5 = peg$parseItalicTag();
3905
4173
  if (s5 !== peg$FAILED) {
3906
4174
  peg$savedPos = s0;
3907
- s0 = peg$f48(s3);
4175
+ s0 = peg$f49(s3);
3908
4176
  }
3909
4177
  else {
3910
4178
  peg$currPos = s0;
@@ -4070,7 +4338,7 @@ function peg$parse(input, options) {
4070
4338
  s5 = peg$parseLightTag();
4071
4339
  if (s5 !== peg$FAILED) {
4072
4340
  peg$savedPos = s0;
4073
- s0 = peg$f49(s3);
4341
+ s0 = peg$f50(s3);
4074
4342
  }
4075
4343
  else {
4076
4344
  peg$currPos = s0;
@@ -4236,7 +4504,7 @@ function peg$parse(input, options) {
4236
4504
  s5 = peg$parseHighlightTag();
4237
4505
  if (s5 !== peg$FAILED) {
4238
4506
  peg$savedPos = s0;
4239
- s0 = peg$f50(s3);
4507
+ s0 = peg$f51(s3);
4240
4508
  }
4241
4509
  else {
4242
4510
  peg$currPos = s0;
@@ -4252,7 +4520,7 @@ function peg$parse(input, options) {
4252
4520
  s1 = peg$parseUrl();
4253
4521
  if (s1 !== peg$FAILED) {
4254
4522
  peg$savedPos = s0;
4255
- s1 = peg$f51(s1);
4523
+ s1 = peg$f52(s1);
4256
4524
  }
4257
4525
  s0 = s1;
4258
4526
  }
@@ -4436,7 +4704,7 @@ function peg$parse(input, options) {
4436
4704
  }
4437
4705
  if (s2 !== peg$FAILED) {
4438
4706
  peg$savedPos = s0;
4439
- s0 = peg$f52(s2);
4707
+ s0 = peg$f53(s2);
4440
4708
  }
4441
4709
  else {
4442
4710
  peg$currPos = s0;
@@ -4452,14 +4720,14 @@ function peg$parse(input, options) {
4452
4720
  function peg$parseAttrChainItem() {
4453
4721
  var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
4454
4722
  s0 = peg$currPos;
4455
- if (input.substr(peg$currPos, 5) === peg$c23) {
4456
- s1 = peg$c23;
4723
+ if (input.substr(peg$currPos, 5) === peg$c28) {
4724
+ s1 = peg$c28;
4457
4725
  peg$currPos += 5;
4458
4726
  }
4459
4727
  else {
4460
4728
  s1 = peg$FAILED;
4461
4729
  if (peg$silentFails === 0) {
4462
- peg$fail(peg$e28);
4730
+ peg$fail(peg$e33);
4463
4731
  }
4464
4732
  }
4465
4733
  if (s1 !== peg$FAILED) {
@@ -4526,7 +4794,7 @@ function peg$parse(input, options) {
4526
4794
  s3 = peg$parseBlockTag();
4527
4795
  if (s3 !== peg$FAILED) {
4528
4796
  peg$savedPos = s0;
4529
- s0 = peg$f53(s2);
4797
+ s0 = peg$f54(s2);
4530
4798
  }
4531
4799
  else {
4532
4800
  peg$currPos = s0;
@@ -4539,14 +4807,14 @@ function peg$parse(input, options) {
4539
4807
  }
4540
4808
  if (s0 === peg$FAILED) {
4541
4809
  s0 = peg$currPos;
4542
- if (input.substr(peg$currPos, 4) === peg$c24) {
4543
- s1 = peg$c24;
4810
+ if (input.substr(peg$currPos, 4) === peg$c29) {
4811
+ s1 = peg$c29;
4544
4812
  peg$currPos += 4;
4545
4813
  }
4546
4814
  else {
4547
4815
  s1 = peg$FAILED;
4548
4816
  if (peg$silentFails === 0) {
4549
- peg$fail(peg$e29);
4817
+ peg$fail(peg$e34);
4550
4818
  }
4551
4819
  }
4552
4820
  if (s1 !== peg$FAILED) {
@@ -4613,7 +4881,7 @@ function peg$parse(input, options) {
4613
4881
  s3 = peg$parseBlockTag();
4614
4882
  if (s3 !== peg$FAILED) {
4615
4883
  peg$savedPos = s0;
4616
- s0 = peg$f54(s2);
4884
+ s0 = peg$f55(s2);
4617
4885
  }
4618
4886
  else {
4619
4887
  peg$currPos = s0;
@@ -4640,7 +4908,7 @@ function peg$parse(input, options) {
4640
4908
  s2 = peg$parseBlockTag();
4641
4909
  if (s2 !== peg$FAILED) {
4642
4910
  peg$savedPos = s0;
4643
- s0 = peg$f55();
4911
+ s0 = peg$f56();
4644
4912
  }
4645
4913
  else {
4646
4914
  peg$currPos = s0;
@@ -4653,14 +4921,14 @@ function peg$parse(input, options) {
4653
4921
  }
4654
4922
  if (s0 === peg$FAILED) {
4655
4923
  s0 = peg$currPos;
4656
- if (input.substr(peg$currPos, 5) === peg$c25) {
4657
- s1 = peg$c25;
4924
+ if (input.substr(peg$currPos, 5) === peg$c30) {
4925
+ s1 = peg$c30;
4658
4926
  peg$currPos += 5;
4659
4927
  }
4660
4928
  else {
4661
4929
  s1 = peg$FAILED;
4662
4930
  if (peg$silentFails === 0) {
4663
- peg$fail(peg$e30);
4931
+ peg$fail(peg$e35);
4664
4932
  }
4665
4933
  }
4666
4934
  if (s1 !== peg$FAILED) {
@@ -4727,7 +4995,7 @@ function peg$parse(input, options) {
4727
4995
  s3 = peg$parseBlockTag();
4728
4996
  if (s3 !== peg$FAILED) {
4729
4997
  peg$savedPos = s0;
4730
- s0 = peg$f56(s2);
4998
+ s0 = peg$f57(s2);
4731
4999
  }
4732
5000
  else {
4733
5001
  peg$currPos = s0;
@@ -4740,21 +5008,21 @@ function peg$parse(input, options) {
4740
5008
  }
4741
5009
  if (s0 === peg$FAILED) {
4742
5010
  s0 = peg$currPos;
4743
- if (input.substr(peg$currPos, 5) === peg$c26) {
4744
- s1 = peg$c26;
5011
+ if (input.substr(peg$currPos, 5) === peg$c31) {
5012
+ s1 = peg$c31;
4745
5013
  peg$currPos += 5;
4746
5014
  }
4747
5015
  else {
4748
5016
  s1 = peg$FAILED;
4749
5017
  if (peg$silentFails === 0) {
4750
- peg$fail(peg$e31);
5018
+ peg$fail(peg$e36);
4751
5019
  }
4752
5020
  }
4753
5021
  if (s1 !== peg$FAILED) {
4754
5022
  s2 = peg$parseBlockTag();
4755
5023
  if (s2 !== peg$FAILED) {
4756
5024
  peg$savedPos = s0;
4757
- s0 = peg$f57();
5025
+ s0 = peg$f58();
4758
5026
  }
4759
5027
  else {
4760
5028
  peg$currPos = s0;
@@ -4767,14 +5035,14 @@ function peg$parse(input, options) {
4767
5035
  }
4768
5036
  if (s0 === peg$FAILED) {
4769
5037
  s0 = peg$currPos;
4770
- if (input.substr(peg$currPos, 6) === peg$c27) {
4771
- s1 = peg$c27;
5038
+ if (input.substr(peg$currPos, 6) === peg$c32) {
5039
+ s1 = peg$c32;
4772
5040
  peg$currPos += 6;
4773
5041
  }
4774
5042
  else {
4775
5043
  s1 = peg$FAILED;
4776
5044
  if (peg$silentFails === 0) {
4777
- peg$fail(peg$e32);
5045
+ peg$fail(peg$e37);
4778
5046
  }
4779
5047
  }
4780
5048
  if (s1 !== peg$FAILED) {
@@ -4841,7 +5109,7 @@ function peg$parse(input, options) {
4841
5109
  s3 = peg$parseBlockTag();
4842
5110
  if (s3 !== peg$FAILED) {
4843
5111
  peg$savedPos = s0;
4844
- s0 = peg$f58(s2);
5112
+ s0 = peg$f59(s2);
4845
5113
  }
4846
5114
  else {
4847
5115
  peg$currPos = s0;
@@ -4854,27 +5122,27 @@ function peg$parse(input, options) {
4854
5122
  }
4855
5123
  if (s0 === peg$FAILED) {
4856
5124
  s0 = peg$currPos;
4857
- if (input.substr(peg$currPos, 9) === peg$c28) {
4858
- s1 = peg$c28;
5125
+ if (input.substr(peg$currPos, 9) === peg$c33) {
5126
+ s1 = peg$c33;
4859
5127
  peg$currPos += 9;
4860
5128
  }
4861
5129
  else {
4862
5130
  s1 = peg$FAILED;
4863
5131
  if (peg$silentFails === 0) {
4864
- peg$fail(peg$e33);
5132
+ peg$fail(peg$e38);
4865
5133
  }
4866
5134
  }
4867
5135
  if (s1 !== peg$FAILED) {
4868
5136
  s2 = peg$currPos;
4869
5137
  s3 = peg$currPos;
4870
5138
  if (input.charCodeAt(peg$currPos) === 80) {
4871
- s4 = peg$c29;
5139
+ s4 = peg$c34;
4872
5140
  peg$currPos++;
4873
5141
  }
4874
5142
  else {
4875
5143
  s4 = peg$FAILED;
4876
5144
  if (peg$silentFails === 0) {
4877
- peg$fail(peg$e34);
5145
+ peg$fail(peg$e39);
4878
5146
  }
4879
5147
  }
4880
5148
  if (s4 !== peg$FAILED) {
@@ -4955,7 +5223,7 @@ function peg$parse(input, options) {
4955
5223
  s3 = peg$parseBlockTag();
4956
5224
  if (s3 !== peg$FAILED) {
4957
5225
  peg$savedPos = s0;
4958
- s0 = peg$f59(s2);
5226
+ s0 = peg$f60(s2);
4959
5227
  }
4960
5228
  else {
4961
5229
  peg$currPos = s0;
@@ -4973,14 +5241,14 @@ function peg$parse(input, options) {
4973
5241
  }
4974
5242
  if (s0 === peg$FAILED) {
4975
5243
  s0 = peg$currPos;
4976
- if (input.substr(peg$currPos, 6) === peg$c30) {
4977
- s1 = peg$c30;
5244
+ if (input.substr(peg$currPos, 6) === peg$c35) {
5245
+ s1 = peg$c35;
4978
5246
  peg$currPos += 6;
4979
5247
  }
4980
5248
  else {
4981
5249
  s1 = peg$FAILED;
4982
5250
  if (peg$silentFails === 0) {
4983
- peg$fail(peg$e35);
5251
+ peg$fail(peg$e40);
4984
5252
  }
4985
5253
  }
4986
5254
  if (s1 !== peg$FAILED) {
@@ -4989,7 +5257,7 @@ function peg$parse(input, options) {
4989
5257
  s3 = peg$parseBlockTag();
4990
5258
  if (s3 !== peg$FAILED) {
4991
5259
  peg$savedPos = s0;
4992
- s0 = peg$f60(s2);
5260
+ s0 = peg$f61(s2);
4993
5261
  }
4994
5262
  else {
4995
5263
  peg$currPos = s0;
@@ -5012,7 +5280,7 @@ function peg$parse(input, options) {
5012
5280
  s2 = peg$parseBlockTag();
5013
5281
  if (s2 !== peg$FAILED) {
5014
5282
  peg$savedPos = s0;
5015
- s0 = peg$f61(s1);
5283
+ s0 = peg$f62(s1);
5016
5284
  }
5017
5285
  else {
5018
5286
  peg$currPos = s0;
@@ -5099,7 +5367,7 @@ function peg$parse(input, options) {
5099
5367
  s3 = peg$parseBlockTag();
5100
5368
  if (s3 !== peg$FAILED) {
5101
5369
  peg$savedPos = s0;
5102
- s0 = peg$f62(s2);
5370
+ s0 = peg$f63(s2);
5103
5371
  }
5104
5372
  else {
5105
5373
  peg$currPos = s0;
@@ -5123,201 +5391,201 @@ function peg$parse(input, options) {
5123
5391
  }
5124
5392
  function peg$parseAlternativeStyleTags() {
5125
5393
  var s0;
5126
- if (input.substr(peg$currPos, 4) === peg$c31) {
5127
- s0 = peg$c31;
5394
+ if (input.substr(peg$currPos, 4) === peg$c36) {
5395
+ s0 = peg$c36;
5128
5396
  peg$currPos += 4;
5129
5397
  }
5130
5398
  else {
5131
5399
  s0 = peg$FAILED;
5132
5400
  if (peg$silentFails === 0) {
5133
- peg$fail(peg$e36);
5401
+ peg$fail(peg$e41);
5134
5402
  }
5135
5403
  }
5136
5404
  if (s0 === peg$FAILED) {
5137
- if (input.substr(peg$currPos, 6) === peg$c32) {
5138
- s0 = peg$c32;
5405
+ if (input.substr(peg$currPos, 6) === peg$c37) {
5406
+ s0 = peg$c37;
5139
5407
  peg$currPos += 6;
5140
5408
  }
5141
5409
  else {
5142
5410
  s0 = peg$FAILED;
5143
5411
  if (peg$silentFails === 0) {
5144
- peg$fail(peg$e37);
5412
+ peg$fail(peg$e42);
5145
5413
  }
5146
5414
  }
5147
5415
  if (s0 === peg$FAILED) {
5148
- if (input.substr(peg$currPos, 5) === peg$c33) {
5149
- s0 = peg$c33;
5416
+ if (input.substr(peg$currPos, 5) === peg$c38) {
5417
+ s0 = peg$c38;
5150
5418
  peg$currPos += 5;
5151
5419
  }
5152
5420
  else {
5153
5421
  s0 = peg$FAILED;
5154
5422
  if (peg$silentFails === 0) {
5155
- peg$fail(peg$e38);
5423
+ peg$fail(peg$e43);
5156
5424
  }
5157
5425
  }
5158
5426
  if (s0 === peg$FAILED) {
5159
- if (input.substr(peg$currPos, 9) === peg$c34) {
5160
- s0 = peg$c34;
5427
+ if (input.substr(peg$currPos, 9) === peg$c39) {
5428
+ s0 = peg$c39;
5161
5429
  peg$currPos += 9;
5162
5430
  }
5163
5431
  else {
5164
5432
  s0 = peg$FAILED;
5165
5433
  if (peg$silentFails === 0) {
5166
- peg$fail(peg$e39);
5434
+ peg$fail(peg$e44);
5167
5435
  }
5168
5436
  }
5169
5437
  if (s0 === peg$FAILED) {
5170
- if (input.substr(peg$currPos, 6) === peg$c35) {
5171
- s0 = peg$c35;
5438
+ if (input.substr(peg$currPos, 6) === peg$c40) {
5439
+ s0 = peg$c40;
5172
5440
  peg$currPos += 6;
5173
5441
  }
5174
5442
  else {
5175
5443
  s0 = peg$FAILED;
5176
5444
  if (peg$silentFails === 0) {
5177
- peg$fail(peg$e40);
5445
+ peg$fail(peg$e45);
5178
5446
  }
5179
5447
  }
5180
5448
  if (s0 === peg$FAILED) {
5181
- if (input.substr(peg$currPos, 9) === peg$c36) {
5182
- s0 = peg$c36;
5449
+ if (input.substr(peg$currPos, 9) === peg$c41) {
5450
+ s0 = peg$c41;
5183
5451
  peg$currPos += 9;
5184
5452
  }
5185
5453
  else {
5186
5454
  s0 = peg$FAILED;
5187
5455
  if (peg$silentFails === 0) {
5188
- peg$fail(peg$e41);
5456
+ peg$fail(peg$e46);
5189
5457
  }
5190
5458
  }
5191
5459
  if (s0 === peg$FAILED) {
5192
- if (input.substr(peg$currPos, 11) === peg$c37) {
5193
- s0 = peg$c37;
5460
+ if (input.substr(peg$currPos, 11) === peg$c42) {
5461
+ s0 = peg$c42;
5194
5462
  peg$currPos += 11;
5195
5463
  }
5196
5464
  else {
5197
5465
  s0 = peg$FAILED;
5198
5466
  if (peg$silentFails === 0) {
5199
- peg$fail(peg$e42);
5467
+ peg$fail(peg$e47);
5200
5468
  }
5201
5469
  }
5202
5470
  if (s0 === peg$FAILED) {
5203
- if (input.substr(peg$currPos, 3) === peg$c38) {
5204
- s0 = peg$c38;
5471
+ if (input.substr(peg$currPos, 3) === peg$c43) {
5472
+ s0 = peg$c43;
5205
5473
  peg$currPos += 3;
5206
5474
  }
5207
5475
  else {
5208
5476
  s0 = peg$FAILED;
5209
5477
  if (peg$silentFails === 0) {
5210
- peg$fail(peg$e43);
5478
+ peg$fail(peg$e48);
5211
5479
  }
5212
5480
  }
5213
5481
  if (s0 === peg$FAILED) {
5214
- if (input.substr(peg$currPos, 3) === peg$c39) {
5215
- s0 = peg$c39;
5482
+ if (input.substr(peg$currPos, 3) === peg$c44) {
5483
+ s0 = peg$c44;
5216
5484
  peg$currPos += 3;
5217
5485
  }
5218
5486
  else {
5219
5487
  s0 = peg$FAILED;
5220
5488
  if (peg$silentFails === 0) {
5221
- peg$fail(peg$e44);
5489
+ peg$fail(peg$e49);
5222
5490
  }
5223
5491
  }
5224
5492
  if (s0 === peg$FAILED) {
5225
- if (input.substr(peg$currPos, 9) === peg$c40) {
5226
- s0 = peg$c40;
5493
+ if (input.substr(peg$currPos, 9) === peg$c45) {
5494
+ s0 = peg$c45;
5227
5495
  peg$currPos += 9;
5228
5496
  }
5229
5497
  else {
5230
5498
  s0 = peg$FAILED;
5231
5499
  if (peg$silentFails === 0) {
5232
- peg$fail(peg$e45);
5500
+ peg$fail(peg$e50);
5233
5501
  }
5234
5502
  }
5235
5503
  if (s0 === peg$FAILED) {
5236
- if (input.substr(peg$currPos, 15) === peg$c41) {
5237
- s0 = peg$c41;
5504
+ if (input.substr(peg$currPos, 15) === peg$c46) {
5505
+ s0 = peg$c46;
5238
5506
  peg$currPos += 15;
5239
5507
  }
5240
5508
  else {
5241
5509
  s0 = peg$FAILED;
5242
5510
  if (peg$silentFails === 0) {
5243
- peg$fail(peg$e46);
5511
+ peg$fail(peg$e51);
5244
5512
  }
5245
5513
  }
5246
5514
  if (s0 === peg$FAILED) {
5247
- if (input.substr(peg$currPos, 6) === peg$c42) {
5248
- s0 = peg$c42;
5515
+ if (input.substr(peg$currPos, 6) === peg$c47) {
5516
+ s0 = peg$c47;
5249
5517
  peg$currPos += 6;
5250
5518
  }
5251
5519
  else {
5252
5520
  s0 = peg$FAILED;
5253
5521
  if (peg$silentFails === 0) {
5254
- peg$fail(peg$e47);
5522
+ peg$fail(peg$e52);
5255
5523
  }
5256
5524
  }
5257
5525
  if (s0 === peg$FAILED) {
5258
- if (input.substr(peg$currPos, 10) === peg$c43) {
5259
- s0 = peg$c43;
5526
+ if (input.substr(peg$currPos, 10) === peg$c48) {
5527
+ s0 = peg$c48;
5260
5528
  peg$currPos += 10;
5261
5529
  }
5262
5530
  else {
5263
5531
  s0 = peg$FAILED;
5264
5532
  if (peg$silentFails === 0) {
5265
- peg$fail(peg$e48);
5533
+ peg$fail(peg$e53);
5266
5534
  }
5267
5535
  }
5268
5536
  if (s0 === peg$FAILED) {
5269
- if (input.substr(peg$currPos, 13) === peg$c44) {
5270
- s0 = peg$c44;
5537
+ if (input.substr(peg$currPos, 13) === peg$c49) {
5538
+ s0 = peg$c49;
5271
5539
  peg$currPos += 13;
5272
5540
  }
5273
5541
  else {
5274
5542
  s0 = peg$FAILED;
5275
5543
  if (peg$silentFails === 0) {
5276
- peg$fail(peg$e49);
5544
+ peg$fail(peg$e54);
5277
5545
  }
5278
5546
  }
5279
5547
  if (s0 === peg$FAILED) {
5280
- if (input.substr(peg$currPos, 19) === peg$c45) {
5281
- s0 = peg$c45;
5548
+ if (input.substr(peg$currPos, 19) === peg$c50) {
5549
+ s0 = peg$c50;
5282
5550
  peg$currPos += 19;
5283
5551
  }
5284
5552
  else {
5285
5553
  s0 = peg$FAILED;
5286
5554
  if (peg$silentFails === 0) {
5287
- peg$fail(peg$e50);
5555
+ peg$fail(peg$e55);
5288
5556
  }
5289
5557
  }
5290
5558
  if (s0 === peg$FAILED) {
5291
- if (input.substr(peg$currPos, 10) === peg$c46) {
5292
- s0 = peg$c46;
5559
+ if (input.substr(peg$currPos, 10) === peg$c51) {
5560
+ s0 = peg$c51;
5293
5561
  peg$currPos += 10;
5294
5562
  }
5295
5563
  else {
5296
5564
  s0 = peg$FAILED;
5297
5565
  if (peg$silentFails === 0) {
5298
- peg$fail(peg$e51);
5566
+ peg$fail(peg$e56);
5299
5567
  }
5300
5568
  }
5301
5569
  if (s0 === peg$FAILED) {
5302
- if (input.substr(peg$currPos, 10) === peg$c47) {
5303
- s0 = peg$c47;
5570
+ if (input.substr(peg$currPos, 10) === peg$c52) {
5571
+ s0 = peg$c52;
5304
5572
  peg$currPos += 10;
5305
5573
  }
5306
5574
  else {
5307
5575
  s0 = peg$FAILED;
5308
5576
  if (peg$silentFails === 0) {
5309
- peg$fail(peg$e52);
5577
+ peg$fail(peg$e57);
5310
5578
  }
5311
5579
  }
5312
5580
  if (s0 === peg$FAILED) {
5313
- if (input.substr(peg$currPos, 13) === peg$c48) {
5314
- s0 = peg$c48;
5581
+ if (input.substr(peg$currPos, 13) === peg$c53) {
5582
+ s0 = peg$c53;
5315
5583
  peg$currPos += 13;
5316
5584
  }
5317
5585
  else {
5318
5586
  s0 = peg$FAILED;
5319
5587
  if (peg$silentFails === 0) {
5320
- peg$fail(peg$e53);
5588
+ peg$fail(peg$e58);
5321
5589
  }
5322
5590
  }
5323
5591
  }
@@ -5341,245 +5609,245 @@ function peg$parse(input, options) {
5341
5609
  }
5342
5610
  function peg$parseColor() {
5343
5611
  var s0;
5344
- if (input.substr(peg$currPos, 4) === peg$c49) {
5345
- s0 = peg$c49;
5612
+ if (input.substr(peg$currPos, 4) === peg$c54) {
5613
+ s0 = peg$c54;
5346
5614
  peg$currPos += 4;
5347
5615
  }
5348
5616
  else {
5349
5617
  s0 = peg$FAILED;
5350
5618
  if (peg$silentFails === 0) {
5351
- peg$fail(peg$e54);
5619
+ peg$fail(peg$e59);
5352
5620
  }
5353
5621
  }
5354
5622
  if (s0 === peg$FAILED) {
5355
- if (input.substr(peg$currPos, 5) === peg$c50) {
5356
- s0 = peg$c50;
5623
+ if (input.substr(peg$currPos, 5) === peg$c55) {
5624
+ s0 = peg$c55;
5357
5625
  peg$currPos += 5;
5358
5626
  }
5359
5627
  else {
5360
5628
  s0 = peg$FAILED;
5361
5629
  if (peg$silentFails === 0) {
5362
- peg$fail(peg$e55);
5630
+ peg$fail(peg$e60);
5363
5631
  }
5364
5632
  }
5365
5633
  if (s0 === peg$FAILED) {
5366
- if (input.substr(peg$currPos, 4) === peg$c51) {
5367
- s0 = peg$c51;
5634
+ if (input.substr(peg$currPos, 4) === peg$c56) {
5635
+ s0 = peg$c56;
5368
5636
  peg$currPos += 4;
5369
5637
  }
5370
5638
  else {
5371
5639
  s0 = peg$FAILED;
5372
5640
  if (peg$silentFails === 0) {
5373
- peg$fail(peg$e56);
5641
+ peg$fail(peg$e61);
5374
5642
  }
5375
5643
  }
5376
5644
  if (s0 === peg$FAILED) {
5377
- if (input.substr(peg$currPos, 4) === peg$c52) {
5378
- s0 = peg$c52;
5645
+ if (input.substr(peg$currPos, 4) === peg$c57) {
5646
+ s0 = peg$c57;
5379
5647
  peg$currPos += 4;
5380
5648
  }
5381
5649
  else {
5382
5650
  s0 = peg$FAILED;
5383
5651
  if (peg$silentFails === 0) {
5384
- peg$fail(peg$e57);
5652
+ peg$fail(peg$e62);
5385
5653
  }
5386
5654
  }
5387
5655
  if (s0 === peg$FAILED) {
5388
- if (input.substr(peg$currPos, 7) === peg$c53) {
5389
- s0 = peg$c53;
5656
+ if (input.substr(peg$currPos, 7) === peg$c58) {
5657
+ s0 = peg$c58;
5390
5658
  peg$currPos += 7;
5391
5659
  }
5392
5660
  else {
5393
5661
  s0 = peg$FAILED;
5394
5662
  if (peg$silentFails === 0) {
5395
- peg$fail(peg$e58);
5663
+ peg$fail(peg$e63);
5396
5664
  }
5397
5665
  }
5398
5666
  if (s0 === peg$FAILED) {
5399
- if (input.substr(peg$currPos, 9) === peg$c54) {
5400
- s0 = peg$c54;
5667
+ if (input.substr(peg$currPos, 9) === peg$c59) {
5668
+ s0 = peg$c59;
5401
5669
  peg$currPos += 9;
5402
5670
  }
5403
5671
  else {
5404
5672
  s0 = peg$FAILED;
5405
5673
  if (peg$silentFails === 0) {
5406
- peg$fail(peg$e59);
5674
+ peg$fail(peg$e64);
5407
5675
  }
5408
5676
  }
5409
5677
  if (s0 === peg$FAILED) {
5410
- if (input.substr(peg$currPos, 4) === peg$c55) {
5411
- s0 = peg$c55;
5678
+ if (input.substr(peg$currPos, 4) === peg$c60) {
5679
+ s0 = peg$c60;
5412
5680
  peg$currPos += 4;
5413
5681
  }
5414
5682
  else {
5415
5683
  s0 = peg$FAILED;
5416
5684
  if (peg$silentFails === 0) {
5417
- peg$fail(peg$e60);
5685
+ peg$fail(peg$e65);
5418
5686
  }
5419
5687
  }
5420
5688
  if (s0 === peg$FAILED) {
5421
- if (input.substr(peg$currPos, 8) === peg$c56) {
5422
- s0 = peg$c56;
5689
+ if (input.substr(peg$currPos, 8) === peg$c61) {
5690
+ s0 = peg$c61;
5423
5691
  peg$currPos += 8;
5424
5692
  }
5425
5693
  else {
5426
5694
  s0 = peg$FAILED;
5427
5695
  if (peg$silentFails === 0) {
5428
- peg$fail(peg$e61);
5696
+ peg$fail(peg$e66);
5429
5697
  }
5430
5698
  }
5431
5699
  if (s0 === peg$FAILED) {
5432
- if (input.substr(peg$currPos, 5) === peg$c57) {
5433
- s0 = peg$c57;
5700
+ if (input.substr(peg$currPos, 5) === peg$c62) {
5701
+ s0 = peg$c62;
5434
5702
  peg$currPos += 5;
5435
5703
  }
5436
5704
  else {
5437
5705
  s0 = peg$FAILED;
5438
5706
  if (peg$silentFails === 0) {
5439
- peg$fail(peg$e62);
5707
+ peg$fail(peg$e67);
5440
5708
  }
5441
5709
  }
5442
5710
  if (s0 === peg$FAILED) {
5443
- if (input.substr(peg$currPos, 4) === peg$c58) {
5444
- s0 = peg$c58;
5711
+ if (input.substr(peg$currPos, 4) === peg$c63) {
5712
+ s0 = peg$c63;
5445
5713
  peg$currPos += 4;
5446
5714
  }
5447
5715
  else {
5448
5716
  s0 = peg$FAILED;
5449
5717
  if (peg$silentFails === 0) {
5450
- peg$fail(peg$e63);
5718
+ peg$fail(peg$e68);
5451
5719
  }
5452
5720
  }
5453
5721
  if (s0 === peg$FAILED) {
5454
- if (input.substr(peg$currPos, 7) === peg$c59) {
5455
- s0 = peg$c59;
5722
+ if (input.substr(peg$currPos, 7) === peg$c64) {
5723
+ s0 = peg$c64;
5456
5724
  peg$currPos += 7;
5457
5725
  }
5458
5726
  else {
5459
5727
  s0 = peg$FAILED;
5460
5728
  if (peg$silentFails === 0) {
5461
- peg$fail(peg$e64);
5729
+ peg$fail(peg$e69);
5462
5730
  }
5463
5731
  }
5464
5732
  if (s0 === peg$FAILED) {
5465
- if (input.substr(peg$currPos, 6) === peg$c60) {
5466
- s0 = peg$c60;
5733
+ if (input.substr(peg$currPos, 6) === peg$c65) {
5734
+ s0 = peg$c65;
5467
5735
  peg$currPos += 6;
5468
5736
  }
5469
5737
  else {
5470
5738
  s0 = peg$FAILED;
5471
5739
  if (peg$silentFails === 0) {
5472
- peg$fail(peg$e65);
5740
+ peg$fail(peg$e70);
5473
5741
  }
5474
5742
  }
5475
5743
  if (s0 === peg$FAILED) {
5476
- if (input.substr(peg$currPos, 4) === peg$c61) {
5477
- s0 = peg$c61;
5744
+ if (input.substr(peg$currPos, 4) === peg$c66) {
5745
+ s0 = peg$c66;
5478
5746
  peg$currPos += 4;
5479
5747
  }
5480
5748
  else {
5481
5749
  s0 = peg$FAILED;
5482
5750
  if (peg$silentFails === 0) {
5483
- peg$fail(peg$e66);
5751
+ peg$fail(peg$e71);
5484
5752
  }
5485
5753
  }
5486
5754
  if (s0 === peg$FAILED) {
5487
- if (input.substr(peg$currPos, 5) === peg$c62) {
5488
- s0 = peg$c62;
5755
+ if (input.substr(peg$currPos, 5) === peg$c67) {
5756
+ s0 = peg$c67;
5489
5757
  peg$currPos += 5;
5490
5758
  }
5491
5759
  else {
5492
5760
  s0 = peg$FAILED;
5493
5761
  if (peg$silentFails === 0) {
5494
- peg$fail(peg$e67);
5762
+ peg$fail(peg$e72);
5495
5763
  }
5496
5764
  }
5497
5765
  if (s0 === peg$FAILED) {
5498
- if (input.substr(peg$currPos, 6) === peg$c63) {
5499
- s0 = peg$c63;
5766
+ if (input.substr(peg$currPos, 6) === peg$c68) {
5767
+ s0 = peg$c68;
5500
5768
  peg$currPos += 6;
5501
5769
  }
5502
5770
  else {
5503
5771
  s0 = peg$FAILED;
5504
5772
  if (peg$silentFails === 0) {
5505
- peg$fail(peg$e68);
5773
+ peg$fail(peg$e73);
5506
5774
  }
5507
5775
  }
5508
5776
  if (s0 === peg$FAILED) {
5509
- if (input.substr(peg$currPos, 6) === peg$c64) {
5510
- s0 = peg$c64;
5777
+ if (input.substr(peg$currPos, 6) === peg$c69) {
5778
+ s0 = peg$c69;
5511
5779
  peg$currPos += 6;
5512
5780
  }
5513
5781
  else {
5514
5782
  s0 = peg$FAILED;
5515
5783
  if (peg$silentFails === 0) {
5516
- peg$fail(peg$e69);
5784
+ peg$fail(peg$e74);
5517
5785
  }
5518
5786
  }
5519
5787
  if (s0 === peg$FAILED) {
5520
- if (input.substr(peg$currPos, 3) === peg$c65) {
5521
- s0 = peg$c65;
5788
+ if (input.substr(peg$currPos, 3) === peg$c70) {
5789
+ s0 = peg$c70;
5522
5790
  peg$currPos += 3;
5523
5791
  }
5524
5792
  else {
5525
5793
  s0 = peg$FAILED;
5526
5794
  if (peg$silentFails === 0) {
5527
- peg$fail(peg$e70);
5795
+ peg$fail(peg$e75);
5528
5796
  }
5529
5797
  }
5530
5798
  if (s0 === peg$FAILED) {
5531
- if (input.substr(peg$currPos, 6) === peg$c66) {
5532
- s0 = peg$c66;
5799
+ if (input.substr(peg$currPos, 6) === peg$c71) {
5800
+ s0 = peg$c71;
5533
5801
  peg$currPos += 6;
5534
5802
  }
5535
5803
  else {
5536
5804
  s0 = peg$FAILED;
5537
5805
  if (peg$silentFails === 0) {
5538
- peg$fail(peg$e71);
5806
+ peg$fail(peg$e76);
5539
5807
  }
5540
5808
  }
5541
5809
  if (s0 === peg$FAILED) {
5542
- if (input.substr(peg$currPos, 4) === peg$c67) {
5543
- s0 = peg$c67;
5810
+ if (input.substr(peg$currPos, 4) === peg$c72) {
5811
+ s0 = peg$c72;
5544
5812
  peg$currPos += 4;
5545
5813
  }
5546
5814
  else {
5547
5815
  s0 = peg$FAILED;
5548
5816
  if (peg$silentFails === 0) {
5549
- peg$fail(peg$e72);
5817
+ peg$fail(peg$e77);
5550
5818
  }
5551
5819
  }
5552
5820
  if (s0 === peg$FAILED) {
5553
- if (input.substr(peg$currPos, 6) === peg$c68) {
5554
- s0 = peg$c68;
5821
+ if (input.substr(peg$currPos, 6) === peg$c73) {
5822
+ s0 = peg$c73;
5555
5823
  peg$currPos += 6;
5556
5824
  }
5557
5825
  else {
5558
5826
  s0 = peg$FAILED;
5559
5827
  if (peg$silentFails === 0) {
5560
- peg$fail(peg$e73);
5828
+ peg$fail(peg$e78);
5561
5829
  }
5562
5830
  }
5563
5831
  if (s0 === peg$FAILED) {
5564
- if (input.substr(peg$currPos, 5) === peg$c69) {
5565
- s0 = peg$c69;
5832
+ if (input.substr(peg$currPos, 5) === peg$c74) {
5833
+ s0 = peg$c74;
5566
5834
  peg$currPos += 5;
5567
5835
  }
5568
5836
  else {
5569
5837
  s0 = peg$FAILED;
5570
5838
  if (peg$silentFails === 0) {
5571
- peg$fail(peg$e74);
5839
+ peg$fail(peg$e79);
5572
5840
  }
5573
5841
  }
5574
5842
  if (s0 === peg$FAILED) {
5575
- if (input.substr(peg$currPos, 6) === peg$c70) {
5576
- s0 = peg$c70;
5843
+ if (input.substr(peg$currPos, 6) === peg$c75) {
5844
+ s0 = peg$c75;
5577
5845
  peg$currPos += 6;
5578
5846
  }
5579
5847
  else {
5580
5848
  s0 = peg$FAILED;
5581
5849
  if (peg$silentFails === 0) {
5582
- peg$fail(peg$e75);
5850
+ peg$fail(peg$e80);
5583
5851
  }
5584
5852
  }
5585
5853
  }
@@ -5611,12 +5879,12 @@ function peg$parse(input, options) {
5611
5879
  s0 = peg$currPos;
5612
5880
  s1 = peg$parsebitmarkMinusMinusString();
5613
5881
  peg$savedPos = s0;
5614
- s1 = peg$f63(s1);
5882
+ s1 = peg$f64(s1);
5615
5883
  s0 = s1;
5616
5884
  peg$silentFails--;
5617
5885
  s1 = peg$FAILED;
5618
5886
  if (peg$silentFails === 0) {
5619
- peg$fail(peg$e76);
5887
+ peg$fail(peg$e81);
5620
5888
  }
5621
5889
  return s0;
5622
5890
  }
@@ -5641,11 +5909,11 @@ function peg$parse(input, options) {
5641
5909
  }
5642
5910
  }
5643
5911
  peg$savedPos = s0;
5644
- s0 = peg$f64(s1, s2);
5912
+ s0 = peg$f65(s1, s2);
5645
5913
  peg$silentFails--;
5646
5914
  s1 = peg$FAILED;
5647
5915
  if (peg$silentFails === 0) {
5648
- peg$fail(peg$e77);
5916
+ peg$fail(peg$e82);
5649
5917
  }
5650
5918
  return s0;
5651
5919
  }
@@ -5750,7 +6018,7 @@ function peg$parse(input, options) {
5750
6018
  }
5751
6019
  if (s1 !== peg$FAILED) {
5752
6020
  peg$savedPos = s0;
5753
- s1 = peg$f65(s1);
6021
+ s1 = peg$f66(s1);
5754
6022
  }
5755
6023
  s0 = s1;
5756
6024
  if (s0 === peg$FAILED) {
@@ -5761,13 +6029,13 @@ function peg$parse(input, options) {
5761
6029
  function peg$parseBoldHalfTag() {
5762
6030
  var s0;
5763
6031
  if (input.charCodeAt(peg$currPos) === 42) {
5764
- s0 = peg$c71;
6032
+ s0 = peg$c76;
5765
6033
  peg$currPos++;
5766
6034
  }
5767
6035
  else {
5768
6036
  s0 = peg$FAILED;
5769
6037
  if (peg$silentFails === 0) {
5770
- peg$fail(peg$e78);
6038
+ peg$fail(peg$e83);
5771
6039
  }
5772
6040
  }
5773
6041
  return s0;
@@ -5775,13 +6043,13 @@ function peg$parse(input, options) {
5775
6043
  function peg$parseItalicHalfTag() {
5776
6044
  var s0;
5777
6045
  if (input.charCodeAt(peg$currPos) === 95) {
5778
- s0 = peg$c72;
6046
+ s0 = peg$c77;
5779
6047
  peg$currPos++;
5780
6048
  }
5781
6049
  else {
5782
6050
  s0 = peg$FAILED;
5783
6051
  if (peg$silentFails === 0) {
5784
- peg$fail(peg$e79);
6052
+ peg$fail(peg$e84);
5785
6053
  }
5786
6054
  }
5787
6055
  return s0;
@@ -5789,13 +6057,13 @@ function peg$parse(input, options) {
5789
6057
  function peg$parseLightHalfTag() {
5790
6058
  var s0;
5791
6059
  if (input.charCodeAt(peg$currPos) === 96) {
5792
- s0 = peg$c73;
6060
+ s0 = peg$c78;
5793
6061
  peg$currPos++;
5794
6062
  }
5795
6063
  else {
5796
6064
  s0 = peg$FAILED;
5797
6065
  if (peg$silentFails === 0) {
5798
- peg$fail(peg$e80);
6066
+ peg$fail(peg$e85);
5799
6067
  }
5800
6068
  }
5801
6069
  return s0;
@@ -5803,13 +6071,13 @@ function peg$parse(input, options) {
5803
6071
  function peg$parseHighlightHalfTag() {
5804
6072
  var s0;
5805
6073
  if (input.charCodeAt(peg$currPos) === 33) {
5806
- s0 = peg$c74;
6074
+ s0 = peg$c79;
5807
6075
  peg$currPos++;
5808
6076
  }
5809
6077
  else {
5810
6078
  s0 = peg$FAILED;
5811
6079
  if (peg$silentFails === 0) {
5812
- peg$fail(peg$e81);
6080
+ peg$fail(peg$e86);
5813
6081
  }
5814
6082
  }
5815
6083
  return s0;
@@ -5900,14 +6168,14 @@ function peg$parse(input, options) {
5900
6168
  }
5901
6169
  function peg$parseBodyBitOpenTag() {
5902
6170
  var s0;
5903
- if (input.substr(peg$currPos, 2) === peg$c75) {
5904
- s0 = peg$c75;
6171
+ if (input.substr(peg$currPos, 2) === peg$c80) {
6172
+ s0 = peg$c80;
5905
6173
  peg$currPos += 2;
5906
6174
  }
5907
6175
  else {
5908
6176
  s0 = peg$FAILED;
5909
6177
  if (peg$silentFails === 0) {
5910
- peg$fail(peg$e82);
6178
+ peg$fail(peg$e87);
5911
6179
  }
5912
6180
  }
5913
6181
  return s0;
@@ -5915,13 +6183,13 @@ function peg$parse(input, options) {
5915
6183
  function peg$parseBodyBitCloseTag() {
5916
6184
  var s0;
5917
6185
  if (input.charCodeAt(peg$currPos) === 93) {
5918
- s0 = peg$c76;
6186
+ s0 = peg$c81;
5919
6187
  peg$currPos++;
5920
6188
  }
5921
6189
  else {
5922
6190
  s0 = peg$FAILED;
5923
6191
  if (peg$silentFails === 0) {
5924
- peg$fail(peg$e83);
6192
+ peg$fail(peg$e88);
5925
6193
  }
5926
6194
  }
5927
6195
  return s0;
@@ -5971,7 +6239,7 @@ function peg$parse(input, options) {
5971
6239
  s3 = peg$parseBodyBitCloseTag();
5972
6240
  if (s3 !== peg$FAILED) {
5973
6241
  peg$savedPos = s0;
5974
- s0 = peg$f66(s2);
6242
+ s0 = peg$f67(s2);
5975
6243
  }
5976
6244
  else {
5977
6245
  peg$currPos = s0;
@@ -6142,7 +6410,7 @@ function peg$parse(input, options) {
6142
6410
  s5 = peg$parseBoldTag();
6143
6411
  if (s5 !== peg$FAILED) {
6144
6412
  peg$savedPos = s0;
6145
- s0 = peg$f67(s3);
6413
+ s0 = peg$f68(s3);
6146
6414
  }
6147
6415
  else {
6148
6416
  peg$currPos = s0;
@@ -6308,7 +6576,7 @@ function peg$parse(input, options) {
6308
6576
  s5 = peg$parseItalicTag();
6309
6577
  if (s5 !== peg$FAILED) {
6310
6578
  peg$savedPos = s0;
6311
- s0 = peg$f68(s3);
6579
+ s0 = peg$f69(s3);
6312
6580
  }
6313
6581
  else {
6314
6582
  peg$currPos = s0;
@@ -6474,7 +6742,7 @@ function peg$parse(input, options) {
6474
6742
  s5 = peg$parseLightTag();
6475
6743
  if (s5 !== peg$FAILED) {
6476
6744
  peg$savedPos = s0;
6477
- s0 = peg$f69(s3);
6745
+ s0 = peg$f70(s3);
6478
6746
  }
6479
6747
  else {
6480
6748
  peg$currPos = s0;
@@ -6640,7 +6908,7 @@ function peg$parse(input, options) {
6640
6908
  s5 = peg$parseHighlightTag();
6641
6909
  if (s5 !== peg$FAILED) {
6642
6910
  peg$savedPos = s0;
6643
- s0 = peg$f70(s3);
6911
+ s0 = peg$f71(s3);
6644
6912
  }
6645
6913
  else {
6646
6914
  peg$currPos = s0;
@@ -6807,57 +7075,57 @@ function peg$parse(input, options) {
6807
7075
  var s0, s1;
6808
7076
  peg$silentFails++;
6809
7077
  if (input.charCodeAt(peg$currPos) === 10) {
6810
- s0 = peg$c77;
7078
+ s0 = peg$c82;
6811
7079
  peg$currPos++;
6812
7080
  }
6813
7081
  else {
6814
7082
  s0 = peg$FAILED;
6815
7083
  if (peg$silentFails === 0) {
6816
- peg$fail(peg$e85);
7084
+ peg$fail(peg$e90);
6817
7085
  }
6818
7086
  }
6819
7087
  if (s0 === peg$FAILED) {
6820
- if (input.substr(peg$currPos, 2) === peg$c78) {
6821
- s0 = peg$c78;
7088
+ if (input.substr(peg$currPos, 2) === peg$c83) {
7089
+ s0 = peg$c83;
6822
7090
  peg$currPos += 2;
6823
7091
  }
6824
7092
  else {
6825
7093
  s0 = peg$FAILED;
6826
7094
  if (peg$silentFails === 0) {
6827
- peg$fail(peg$e86);
7095
+ peg$fail(peg$e91);
6828
7096
  }
6829
7097
  }
6830
7098
  if (s0 === peg$FAILED) {
6831
7099
  if (input.charCodeAt(peg$currPos) === 13) {
6832
- s0 = peg$c79;
7100
+ s0 = peg$c84;
6833
7101
  peg$currPos++;
6834
7102
  }
6835
7103
  else {
6836
7104
  s0 = peg$FAILED;
6837
7105
  if (peg$silentFails === 0) {
6838
- peg$fail(peg$e87);
7106
+ peg$fail(peg$e92);
6839
7107
  }
6840
7108
  }
6841
7109
  if (s0 === peg$FAILED) {
6842
7110
  if (input.charCodeAt(peg$currPos) === 8232) {
6843
- s0 = peg$c80;
7111
+ s0 = peg$c85;
6844
7112
  peg$currPos++;
6845
7113
  }
6846
7114
  else {
6847
7115
  s0 = peg$FAILED;
6848
7116
  if (peg$silentFails === 0) {
6849
- peg$fail(peg$e88);
7117
+ peg$fail(peg$e93);
6850
7118
  }
6851
7119
  }
6852
7120
  if (s0 === peg$FAILED) {
6853
7121
  if (input.charCodeAt(peg$currPos) === 8233) {
6854
- s0 = peg$c81;
7122
+ s0 = peg$c86;
6855
7123
  peg$currPos++;
6856
7124
  }
6857
7125
  else {
6858
7126
  s0 = peg$FAILED;
6859
7127
  if (peg$silentFails === 0) {
6860
- peg$fail(peg$e89);
7128
+ peg$fail(peg$e94);
6861
7129
  }
6862
7130
  }
6863
7131
  }
@@ -6868,7 +7136,7 @@ function peg$parse(input, options) {
6868
7136
  if (s0 === peg$FAILED) {
6869
7137
  s1 = peg$FAILED;
6870
7138
  if (peg$silentFails === 0) {
6871
- peg$fail(peg$e84);
7139
+ peg$fail(peg$e89);
6872
7140
  }
6873
7141
  }
6874
7142
  return s0;
@@ -6903,7 +7171,7 @@ function peg$parse(input, options) {
6903
7171
  peg$silentFails--;
6904
7172
  s1 = peg$FAILED;
6905
7173
  if (peg$silentFails === 0) {
6906
- peg$fail(peg$e90);
7174
+ peg$fail(peg$e95);
6907
7175
  }
6908
7176
  return s0;
6909
7177
  }
@@ -6927,7 +7195,7 @@ function peg$parse(input, options) {
6927
7195
  peg$silentFails--;
6928
7196
  s1 = peg$FAILED;
6929
7197
  if (peg$silentFails === 0) {
6930
- peg$fail(peg$e91);
7198
+ peg$fail(peg$e96);
6931
7199
  }
6932
7200
  return s0;
6933
7201
  }
@@ -6951,7 +7219,7 @@ function peg$parse(input, options) {
6951
7219
  if (s0 === peg$FAILED) {
6952
7220
  s1 = peg$FAILED;
6953
7221
  if (peg$silentFails === 0) {
6954
- peg$fail(peg$e92);
7222
+ peg$fail(peg$e97);
6955
7223
  }
6956
7224
  }
6957
7225
  return s0;
@@ -6966,14 +7234,14 @@ function peg$parse(input, options) {
6966
7234
  else {
6967
7235
  s0 = peg$FAILED;
6968
7236
  if (peg$silentFails === 0) {
6969
- peg$fail(peg$e94);
7237
+ peg$fail(peg$e99);
6970
7238
  }
6971
7239
  }
6972
7240
  peg$silentFails--;
6973
7241
  if (s0 === peg$FAILED) {
6974
7242
  s1 = peg$FAILED;
6975
7243
  if (peg$silentFails === 0) {
6976
- peg$fail(peg$e93);
7244
+ peg$fail(peg$e98);
6977
7245
  }
6978
7246
  }
6979
7247
  return s0;
@@ -6987,7 +7255,7 @@ function peg$parse(input, options) {
6987
7255
  else {
6988
7256
  s0 = peg$FAILED;
6989
7257
  if (peg$silentFails === 0) {
6990
- peg$fail(peg$e95);
7258
+ peg$fail(peg$e100);
6991
7259
  }
6992
7260
  }
6993
7261
  return s0;
@@ -7001,7 +7269,7 @@ function peg$parse(input, options) {
7001
7269
  else {
7002
7270
  s0 = peg$FAILED;
7003
7271
  if (peg$silentFails === 0) {
7004
- peg$fail(peg$e96);
7272
+ peg$fail(peg$e101);
7005
7273
  }
7006
7274
  }
7007
7275
  return s0;
@@ -7015,7 +7283,7 @@ function peg$parse(input, options) {
7015
7283
  else {
7016
7284
  s0 = peg$FAILED;
7017
7285
  if (peg$silentFails === 0) {
7018
- peg$fail(peg$e97);
7286
+ peg$fail(peg$e102);
7019
7287
  }
7020
7288
  }
7021
7289
  return s0;
@@ -7051,38 +7319,38 @@ function peg$parse(input, options) {
7051
7319
  var s0, s1, s2, s3, s4, s5, s6, s7, s8;
7052
7320
  s0 = peg$currPos;
7053
7321
  s1 = peg$currPos;
7054
- if (input.substr(peg$currPos, 4) === peg$c82) {
7055
- s2 = peg$c82;
7322
+ if (input.substr(peg$currPos, 4) === peg$c87) {
7323
+ s2 = peg$c87;
7056
7324
  peg$currPos += 4;
7057
7325
  }
7058
7326
  else {
7059
7327
  s2 = peg$FAILED;
7060
7328
  if (peg$silentFails === 0) {
7061
- peg$fail(peg$e98);
7329
+ peg$fail(peg$e103);
7062
7330
  }
7063
7331
  }
7064
7332
  if (s2 !== peg$FAILED) {
7065
7333
  if (input.charCodeAt(peg$currPos) === 115) {
7066
- s3 = peg$c83;
7334
+ s3 = peg$c88;
7067
7335
  peg$currPos++;
7068
7336
  }
7069
7337
  else {
7070
7338
  s3 = peg$FAILED;
7071
7339
  if (peg$silentFails === 0) {
7072
- peg$fail(peg$e99);
7340
+ peg$fail(peg$e104);
7073
7341
  }
7074
7342
  }
7075
7343
  if (s3 === peg$FAILED) {
7076
7344
  s3 = null;
7077
7345
  }
7078
- if (input.substr(peg$currPos, 3) === peg$c84) {
7079
- s4 = peg$c84;
7346
+ if (input.substr(peg$currPos, 3) === peg$c89) {
7347
+ s4 = peg$c89;
7080
7348
  peg$currPos += 3;
7081
7349
  }
7082
7350
  else {
7083
7351
  s4 = peg$FAILED;
7084
7352
  if (peg$silentFails === 0) {
7085
- peg$fail(peg$e100);
7353
+ peg$fail(peg$e105);
7086
7354
  }
7087
7355
  }
7088
7356
  if (s4 !== peg$FAILED) {
@@ -7169,38 +7437,38 @@ function peg$parse(input, options) {
7169
7437
  s0 = peg$currPos;
7170
7438
  s1 = peg$currPos;
7171
7439
  s2 = peg$currPos;
7172
- if (input.substr(peg$currPos, 4) === peg$c82) {
7173
- s3 = peg$c82;
7440
+ if (input.substr(peg$currPos, 4) === peg$c87) {
7441
+ s3 = peg$c87;
7174
7442
  peg$currPos += 4;
7175
7443
  }
7176
7444
  else {
7177
7445
  s3 = peg$FAILED;
7178
7446
  if (peg$silentFails === 0) {
7179
- peg$fail(peg$e98);
7447
+ peg$fail(peg$e103);
7180
7448
  }
7181
7449
  }
7182
7450
  if (s3 !== peg$FAILED) {
7183
7451
  if (input.charCodeAt(peg$currPos) === 115) {
7184
- s4 = peg$c83;
7452
+ s4 = peg$c88;
7185
7453
  peg$currPos++;
7186
7454
  }
7187
7455
  else {
7188
7456
  s4 = peg$FAILED;
7189
7457
  if (peg$silentFails === 0) {
7190
- peg$fail(peg$e99);
7458
+ peg$fail(peg$e104);
7191
7459
  }
7192
7460
  }
7193
7461
  if (s4 === peg$FAILED) {
7194
7462
  s4 = null;
7195
7463
  }
7196
- if (input.substr(peg$currPos, 3) === peg$c84) {
7197
- s5 = peg$c84;
7464
+ if (input.substr(peg$currPos, 3) === peg$c89) {
7465
+ s5 = peg$c89;
7198
7466
  peg$currPos += 3;
7199
7467
  }
7200
7468
  else {
7201
7469
  s5 = peg$FAILED;
7202
7470
  if (peg$silentFails === 0) {
7203
- peg$fail(peg$e100);
7471
+ peg$fail(peg$e105);
7204
7472
  }
7205
7473
  }
7206
7474
  if (s5 !== peg$FAILED) {
@@ -7217,14 +7485,14 @@ function peg$parse(input, options) {
7217
7485
  s2 = peg$FAILED;
7218
7486
  }
7219
7487
  if (s2 === peg$FAILED) {
7220
- if (input.substr(peg$currPos, 7) === peg$c85) {
7221
- s2 = peg$c85;
7488
+ if (input.substr(peg$currPos, 7) === peg$c90) {
7489
+ s2 = peg$c90;
7222
7490
  peg$currPos += 7;
7223
7491
  }
7224
7492
  else {
7225
7493
  s2 = peg$FAILED;
7226
7494
  if (peg$silentFails === 0) {
7227
- peg$fail(peg$e101);
7495
+ peg$fail(peg$e106);
7228
7496
  }
7229
7497
  }
7230
7498
  }
@@ -7296,7 +7564,7 @@ function peg$parse(input, options) {
7296
7564
  }
7297
7565
  s2 = input.substring(s2, peg$currPos);
7298
7566
  peg$savedPos = s0;
7299
- s0 = peg$f71(s1, s2);
7567
+ s0 = peg$f72(s1, s2);
7300
7568
  }
7301
7569
  else {
7302
7570
  peg$currPos = s0;
@@ -7313,40 +7581,40 @@ function peg$parse(input, options) {
7313
7581
  else {
7314
7582
  s0 = peg$FAILED;
7315
7583
  if (peg$silentFails === 0) {
7316
- peg$fail(peg$e102);
7584
+ peg$fail(peg$e107);
7317
7585
  }
7318
7586
  }
7319
7587
  if (s0 === peg$FAILED) {
7320
7588
  if (input.charCodeAt(peg$currPos) === 126) {
7321
- s0 = peg$c86;
7589
+ s0 = peg$c91;
7322
7590
  peg$currPos++;
7323
7591
  }
7324
7592
  else {
7325
7593
  s0 = peg$FAILED;
7326
7594
  if (peg$silentFails === 0) {
7327
- peg$fail(peg$e103);
7595
+ peg$fail(peg$e108);
7328
7596
  }
7329
7597
  }
7330
7598
  if (s0 === peg$FAILED) {
7331
7599
  if (input.charCodeAt(peg$currPos) === 94) {
7332
- s0 = peg$c87;
7600
+ s0 = peg$c92;
7333
7601
  peg$currPos++;
7334
7602
  }
7335
7603
  else {
7336
7604
  s0 = peg$FAILED;
7337
7605
  if (peg$silentFails === 0) {
7338
- peg$fail(peg$e104);
7606
+ peg$fail(peg$e109);
7339
7607
  }
7340
7608
  }
7341
7609
  if (s0 === peg$FAILED) {
7342
7610
  if (input.charCodeAt(peg$currPos) === 39) {
7343
- s0 = peg$c88;
7611
+ s0 = peg$c93;
7344
7612
  peg$currPos++;
7345
7613
  }
7346
7614
  else {
7347
7615
  s0 = peg$FAILED;
7348
7616
  if (peg$silentFails === 0) {
7349
- peg$fail(peg$e105);
7617
+ peg$fail(peg$e110);
7350
7618
  }
7351
7619
  }
7352
7620
  }