@gmb/bitmark-parser-generator 4.8.0 → 4.10.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.cjs CHANGED
@@ -93,6 +93,7 @@ var BitType = (0, import_superenum.superenum)({
93
93
  appAiPrompt: "app-ai-prompt",
94
94
  appBitmarkFromEditor: "app-bitmark-from-editor",
95
95
  appBitmarkFromJavascript: "app-bitmark-from-javascript",
96
+ appCalculatorLatex: "app-calculator-latex",
96
97
  appCodeCell: "app-code-cell",
97
98
  appCodeEditor: "app-code-editor",
98
99
  appCodeIde: "app-code-ide",
@@ -512,6 +513,10 @@ var BitType = (0, import_superenum.superenum)({
512
513
  reviewRequestForReviewNote: "review-request-for-review-note",
513
514
  reviewReviewerNote: "review-reviewer-note",
514
515
  sampleSolution: "sample-solution",
516
+ sandbox: "sandbox",
517
+ sandboxOutputJson: "sandbox-output-json",
518
+ sandboxOutputMarkup: "sandbox-output-markup",
519
+ sandboxOutputRender: "sandbox-output-render",
515
520
  scorm: "scorm",
516
521
  screenshot: "screenshot",
517
522
  selfAssessment: "self-assessment",
@@ -1213,6 +1218,7 @@ var propertyKeys = {
1213
1218
  property_focusX: "@focusX",
1214
1219
  property_focusY: "@focusY",
1215
1220
  property_format: "@format",
1221
+ property_formula: "@formula",
1216
1222
  property_fullName: "@fullName",
1217
1223
  property_groupTag: "@groupTag",
1218
1224
  property_handInAcceptFileType: "@handInAcceptFileType",
@@ -5137,6 +5143,26 @@ var BITS = {
5137
5143
  baseBitType: BitType.code,
5138
5144
  description: "Standard output bit, used to display standard output from code snippets"
5139
5145
  },
5146
+ [BitType.sandbox]: {
5147
+ since: "4.10.0",
5148
+ baseBitType: BitType.code,
5149
+ description: "A sandbox bit, used to create a sandboxed environment for code execution"
5150
+ },
5151
+ [BitType.sandboxOutputJson]: {
5152
+ since: "4.10.0",
5153
+ baseBitType: BitType.code,
5154
+ description: "A sandbox output JSON bit, used to display JSON output from sandboxed code"
5155
+ },
5156
+ [BitType.sandboxOutputMarkup]: {
5157
+ since: "4.10.0",
5158
+ baseBitType: BitType.code,
5159
+ description: "A sandbox output markup bit, used to display markup output from sandboxed code"
5160
+ },
5161
+ [BitType.sandboxOutputRender]: {
5162
+ since: "4.10.0",
5163
+ baseBitType: BitType.code,
5164
+ description: "A sandbox output render bit, used to display rendered output from sandboxed code"
5165
+ },
5140
5166
  [BitType.step]: {
5141
5167
  since: "1.5.1",
5142
5168
  baseBitType: BitType.article,
@@ -6132,6 +6158,18 @@ var BITS = {
6132
6158
  }
6133
6159
  ]
6134
6160
  },
6161
+ [BitType.appCalculatorLatex]: {
6162
+ since: "4.10.0",
6163
+ baseBitType: BitType.article,
6164
+ description: "A LaTeX calculator bit, used to create a calculator that can interpret LaTeX expressions",
6165
+ tags: [
6166
+ {
6167
+ key: ConfigKey.property_formula,
6168
+ description: "The LaTeX formula for the calculator, used to define the calculation logic",
6169
+ format: TagFormat.plainText
6170
+ }
6171
+ ]
6172
+ },
6135
6173
  [BitType.container]: {
6136
6174
  since: "1.9.0",
6137
6175
  baseBitType: BitType.article,
@@ -9147,7 +9185,7 @@ var instance2 = new Config();
9147
9185
  // src/generated/package_info.ts
9148
9186
  var PACKAGE_INFO = {
9149
9187
  "name": "@gmb/bitmark-parser-generator",
9150
- "version": "4.8.0",
9188
+ "version": "4.10.0",
9151
9189
  "author": "Get More Brain Ltd",
9152
9190
  "license": "ISC",
9153
9191
  "description": "A bitmark parser and generator using Peggy.js"
@@ -9673,6 +9711,8 @@ var NodeType = (0, import_superenum20.superenum)({
9673
9711
  footerText: "footerText",
9674
9712
  forKeys: "forKeys",
9675
9713
  format: "format",
9714
+ formula: "formula",
9715
+ formulaValue: "formulaValue",
9676
9716
  forValues: "forValues",
9677
9717
  forValuesValue: "forValuesValue",
9678
9718
  fullName: "fullName",
@@ -11645,7 +11685,7 @@ var TextGenerator = class extends AstWalkerGenerator {
11645
11685
  };
11646
11686
 
11647
11687
  // src/generated/parser/text/text-peggy-parser.js
11648
- var VERSION = "8.34.3";
11688
+ var VERSION = "8.35.0";
11649
11689
  function unbreakscape(str) {
11650
11690
  if (typeof str !== "string") return null;
11651
11691
  return instance3.unbreakscape(str);
@@ -11835,100 +11875,101 @@ function peg$parse(input, options) {
11835
11875
  const peg$c35 = "=";
11836
11876
  const peg$c36 = "|latex|";
11837
11877
  const peg$c37 = "|imageInline:";
11838
- const peg$c38 = "alignmentVertical";
11839
- const peg$c39 = "size";
11840
- const peg$c40 = "top";
11841
- const peg$c41 = "middle";
11842
- const peg$c42 = "bottom";
11843
- const peg$c43 = "baseline";
11844
- const peg$c44 = "sub";
11845
- const peg$c45 = "super";
11846
- const peg$c46 = "text-bottom";
11847
- const peg$c47 = "text-top";
11848
- const peg$c48 = "line-height";
11849
- const peg$c49 = "font-height";
11850
- const peg$c50 = "explicit";
11851
- const peg$c51 = "link:";
11852
- const peg$c52 = "extref:";
11853
- const peg$c53 = "provider:";
11854
- const peg$c54 = "xref:";
11855
- const peg$c55 = "\u25BA";
11856
- const peg$c56 = "symbol:";
11857
- const peg$c57 = "footnote:";
11858
- const peg$c58 = "footnote*:";
11859
- const peg$c59 = "var:";
11860
- const peg$c60 = "code:";
11861
- const peg$c61 = "timer";
11862
- const peg$c62 = "timer:";
11863
- const peg$c63 = "duration:";
11864
- const peg$c64 = "P";
11865
- const peg$c65 = "color:";
11866
- const peg$c66 = "|\u25BA";
11867
- const peg$c67 = "bold";
11868
- const peg$c68 = "italic";
11869
- const peg$c69 = "light";
11870
- const peg$c70 = "highlight";
11871
- const peg$c71 = "strike";
11872
- const peg$c72 = "subscript";
11873
- const peg$c73 = "superscript";
11874
- const peg$c74 = "ins";
11875
- const peg$c75 = "del";
11876
- const peg$c76 = "underline";
11877
- const peg$c77 = "doubleUnderline";
11878
- const peg$c78 = "circle";
11879
- const peg$c79 = "languageEmRed";
11880
- const peg$c80 = "languageEmOrange";
11881
- const peg$c81 = "languageEmYellow";
11882
- const peg$c82 = "languageEmGreen";
11883
- const peg$c83 = "languageEmBlue";
11884
- const peg$c84 = "languageEmPurple";
11885
- const peg$c85 = "languageEmPink";
11886
- const peg$c86 = "languageEmBrown";
11887
- const peg$c87 = "languageEmBlack";
11888
- const peg$c88 = "languageEmWhite";
11889
- const peg$c89 = "languageEmGray";
11890
- const peg$c90 = "languageEm";
11891
- const peg$c91 = "userUnderline";
11892
- const peg$c92 = "userDoubleUnderline";
11893
- const peg$c93 = "userStrike";
11894
- const peg$c94 = "userCircle";
11895
- const peg$c95 = "userHighlight";
11896
- const peg$c96 = "notranslate";
11897
- const peg$c97 = "aqua";
11898
- const peg$c98 = "black";
11899
- const peg$c99 = "blue";
11900
- const peg$c100 = "brown";
11901
- const peg$c101 = "fuchsia";
11902
- const peg$c102 = "lightgrey";
11903
- const peg$c103 = "gray";
11904
- const peg$c104 = "darkgray";
11905
- const peg$c105 = "green";
11906
- const peg$c106 = "lime";
11907
- const peg$c107 = "magenta";
11908
- const peg$c108 = "maroon";
11909
- const peg$c109 = "navy";
11910
- const peg$c110 = "olive";
11911
- const peg$c111 = "orange";
11912
- const peg$c112 = "pink";
11913
- const peg$c113 = "purple";
11914
- const peg$c114 = "red";
11915
- const peg$c115 = "silver";
11916
- const peg$c116 = "teal";
11917
- const peg$c117 = "violet";
11918
- const peg$c118 = "white";
11919
- const peg$c119 = "yellow";
11920
- const peg$c120 = "*";
11921
- const peg$c121 = "_";
11922
- const peg$c122 = "`";
11923
- const peg$c123 = "!";
11924
- const peg$c124 = "[!";
11925
- const peg$c125 = "]";
11926
- const peg$c126 = "\n";
11927
- const peg$c127 = "\r\n";
11928
- const peg$c128 = "http";
11929
- const peg$c129 = "s";
11930
- const peg$c130 = "://";
11931
- const peg$c131 = "mailto:";
11878
+ const peg$c38 = "srcAlt";
11879
+ const peg$c39 = "alignmentVertical";
11880
+ const peg$c40 = "size";
11881
+ const peg$c41 = "top";
11882
+ const peg$c42 = "middle";
11883
+ const peg$c43 = "bottom";
11884
+ const peg$c44 = "baseline";
11885
+ const peg$c45 = "sub";
11886
+ const peg$c46 = "super";
11887
+ const peg$c47 = "text-bottom";
11888
+ const peg$c48 = "text-top";
11889
+ const peg$c49 = "line-height";
11890
+ const peg$c50 = "font-height";
11891
+ const peg$c51 = "explicit";
11892
+ const peg$c52 = "link:";
11893
+ const peg$c53 = "extref:";
11894
+ const peg$c54 = "provider:";
11895
+ const peg$c55 = "xref:";
11896
+ const peg$c56 = "\u25BA";
11897
+ const peg$c57 = "symbol:";
11898
+ const peg$c58 = "footnote:";
11899
+ const peg$c59 = "footnote*:";
11900
+ const peg$c60 = "var:";
11901
+ const peg$c61 = "code:";
11902
+ const peg$c62 = "timer";
11903
+ const peg$c63 = "timer:";
11904
+ const peg$c64 = "duration:";
11905
+ const peg$c65 = "P";
11906
+ const peg$c66 = "color:";
11907
+ const peg$c67 = "|\u25BA";
11908
+ const peg$c68 = "bold";
11909
+ const peg$c69 = "italic";
11910
+ const peg$c70 = "light";
11911
+ const peg$c71 = "highlight";
11912
+ const peg$c72 = "strike";
11913
+ const peg$c73 = "subscript";
11914
+ const peg$c74 = "superscript";
11915
+ const peg$c75 = "ins";
11916
+ const peg$c76 = "del";
11917
+ const peg$c77 = "underline";
11918
+ const peg$c78 = "doubleUnderline";
11919
+ const peg$c79 = "circle";
11920
+ const peg$c80 = "languageEmRed";
11921
+ const peg$c81 = "languageEmOrange";
11922
+ const peg$c82 = "languageEmYellow";
11923
+ const peg$c83 = "languageEmGreen";
11924
+ const peg$c84 = "languageEmBlue";
11925
+ const peg$c85 = "languageEmPurple";
11926
+ const peg$c86 = "languageEmPink";
11927
+ const peg$c87 = "languageEmBrown";
11928
+ const peg$c88 = "languageEmBlack";
11929
+ const peg$c89 = "languageEmWhite";
11930
+ const peg$c90 = "languageEmGray";
11931
+ const peg$c91 = "languageEm";
11932
+ const peg$c92 = "userUnderline";
11933
+ const peg$c93 = "userDoubleUnderline";
11934
+ const peg$c94 = "userStrike";
11935
+ const peg$c95 = "userCircle";
11936
+ const peg$c96 = "userHighlight";
11937
+ const peg$c97 = "notranslate";
11938
+ const peg$c98 = "aqua";
11939
+ const peg$c99 = "black";
11940
+ const peg$c100 = "blue";
11941
+ const peg$c101 = "brown";
11942
+ const peg$c102 = "fuchsia";
11943
+ const peg$c103 = "lightgrey";
11944
+ const peg$c104 = "gray";
11945
+ const peg$c105 = "darkgray";
11946
+ const peg$c106 = "green";
11947
+ const peg$c107 = "lime";
11948
+ const peg$c108 = "magenta";
11949
+ const peg$c109 = "maroon";
11950
+ const peg$c110 = "navy";
11951
+ const peg$c111 = "olive";
11952
+ const peg$c112 = "orange";
11953
+ const peg$c113 = "pink";
11954
+ const peg$c114 = "purple";
11955
+ const peg$c115 = "red";
11956
+ const peg$c116 = "silver";
11957
+ const peg$c117 = "teal";
11958
+ const peg$c118 = "violet";
11959
+ const peg$c119 = "white";
11960
+ const peg$c120 = "yellow";
11961
+ const peg$c121 = "*";
11962
+ const peg$c122 = "_";
11963
+ const peg$c123 = "`";
11964
+ const peg$c124 = "!";
11965
+ const peg$c125 = "[!";
11966
+ const peg$c126 = "]";
11967
+ const peg$c127 = "\n";
11968
+ const peg$c128 = "\r\n";
11969
+ const peg$c129 = "http";
11970
+ const peg$c130 = "s";
11971
+ const peg$c131 = "://";
11972
+ const peg$c132 = "mailto:";
11932
11973
  const peg$r0 = /^[ \t]/;
11933
11974
  const peg$r1 = /^[0-9]/;
11934
11975
  const peg$r2 = /^[\r\u2028-\u2029]/;
@@ -11976,104 +12017,105 @@ function peg$parse(input, options) {
11976
12017
  const peg$e39 = peg$literalExpectation("=", false);
11977
12018
  const peg$e40 = peg$literalExpectation("|latex|", false);
11978
12019
  const peg$e41 = peg$literalExpectation("|imageInline:", false);
11979
- const peg$e42 = peg$literalExpectation("alignmentVertical", false);
11980
- const peg$e43 = peg$literalExpectation("size", false);
11981
- const peg$e44 = peg$literalExpectation("top", false);
11982
- const peg$e45 = peg$literalExpectation("middle", false);
11983
- const peg$e46 = peg$literalExpectation("bottom", false);
11984
- const peg$e47 = peg$literalExpectation("baseline", false);
11985
- const peg$e48 = peg$literalExpectation("sub", false);
11986
- const peg$e49 = peg$literalExpectation("super", false);
11987
- const peg$e50 = peg$literalExpectation("text-bottom", false);
11988
- const peg$e51 = peg$literalExpectation("text-top", false);
11989
- const peg$e52 = peg$literalExpectation("line-height", false);
11990
- const peg$e53 = peg$literalExpectation("font-height", false);
11991
- const peg$e54 = peg$literalExpectation("explicit", false);
11992
- const peg$e55 = peg$literalExpectation("link:", false);
11993
- const peg$e56 = peg$literalExpectation("extref:", false);
11994
- const peg$e57 = peg$literalExpectation("provider:", false);
11995
- const peg$e58 = peg$literalExpectation("xref:", false);
11996
- const peg$e59 = peg$literalExpectation("\u25BA", false);
11997
- const peg$e60 = peg$literalExpectation("symbol:", false);
11998
- const peg$e61 = peg$literalExpectation("footnote:", false);
11999
- const peg$e62 = peg$literalExpectation("footnote*:", false);
12000
- const peg$e63 = peg$literalExpectation("var:", false);
12001
- const peg$e64 = peg$literalExpectation("code:", false);
12002
- const peg$e65 = peg$literalExpectation("timer", false);
12003
- const peg$e66 = peg$literalExpectation("timer:", false);
12004
- const peg$e67 = peg$literalExpectation("duration:", false);
12005
- const peg$e68 = peg$literalExpectation("P", false);
12006
- const peg$e69 = peg$literalExpectation("color:", false);
12007
- const peg$e70 = peg$literalExpectation("|\u25BA", false);
12008
- const peg$e71 = peg$literalExpectation("bold", false);
12009
- const peg$e72 = peg$literalExpectation("italic", false);
12010
- const peg$e73 = peg$literalExpectation("light", false);
12011
- const peg$e74 = peg$literalExpectation("highlight", false);
12012
- const peg$e75 = peg$literalExpectation("strike", false);
12013
- const peg$e76 = peg$literalExpectation("subscript", false);
12014
- const peg$e77 = peg$literalExpectation("superscript", false);
12015
- const peg$e78 = peg$literalExpectation("ins", false);
12016
- const peg$e79 = peg$literalExpectation("del", false);
12017
- const peg$e80 = peg$literalExpectation("underline", false);
12018
- const peg$e81 = peg$literalExpectation("doubleUnderline", false);
12019
- const peg$e82 = peg$literalExpectation("circle", false);
12020
- const peg$e83 = peg$literalExpectation("languageEmRed", false);
12021
- const peg$e84 = peg$literalExpectation("languageEmOrange", false);
12022
- const peg$e85 = peg$literalExpectation("languageEmYellow", false);
12023
- const peg$e86 = peg$literalExpectation("languageEmGreen", false);
12024
- const peg$e87 = peg$literalExpectation("languageEmBlue", false);
12025
- const peg$e88 = peg$literalExpectation("languageEmPurple", false);
12026
- const peg$e89 = peg$literalExpectation("languageEmPink", false);
12027
- const peg$e90 = peg$literalExpectation("languageEmBrown", false);
12028
- const peg$e91 = peg$literalExpectation("languageEmBlack", false);
12029
- const peg$e92 = peg$literalExpectation("languageEmWhite", false);
12030
- const peg$e93 = peg$literalExpectation("languageEmGray", false);
12031
- const peg$e94 = peg$literalExpectation("languageEm", false);
12032
- const peg$e95 = peg$literalExpectation("userUnderline", false);
12033
- const peg$e96 = peg$literalExpectation("userDoubleUnderline", false);
12034
- const peg$e97 = peg$literalExpectation("userStrike", false);
12035
- const peg$e98 = peg$literalExpectation("userCircle", false);
12036
- const peg$e99 = peg$literalExpectation("userHighlight", false);
12037
- const peg$e100 = peg$literalExpectation("notranslate", false);
12038
- const peg$e101 = peg$literalExpectation("aqua", false);
12039
- const peg$e102 = peg$literalExpectation("black", false);
12040
- const peg$e103 = peg$literalExpectation("blue", false);
12041
- const peg$e104 = peg$literalExpectation("brown", false);
12042
- const peg$e105 = peg$literalExpectation("fuchsia", false);
12043
- const peg$e106 = peg$literalExpectation("lightgrey", false);
12044
- const peg$e107 = peg$literalExpectation("gray", false);
12045
- const peg$e108 = peg$literalExpectation("darkgray", false);
12046
- const peg$e109 = peg$literalExpectation("green", false);
12047
- const peg$e110 = peg$literalExpectation("lime", false);
12048
- const peg$e111 = peg$literalExpectation("magenta", false);
12049
- const peg$e112 = peg$literalExpectation("maroon", false);
12050
- const peg$e113 = peg$literalExpectation("navy", false);
12051
- const peg$e114 = peg$literalExpectation("olive", false);
12052
- const peg$e115 = peg$literalExpectation("orange", false);
12053
- const peg$e116 = peg$literalExpectation("pink", false);
12054
- const peg$e117 = peg$literalExpectation("purple", false);
12055
- const peg$e118 = peg$literalExpectation("red", false);
12056
- const peg$e119 = peg$literalExpectation("silver", false);
12057
- const peg$e120 = peg$literalExpectation("teal", false);
12058
- const peg$e121 = peg$literalExpectation("violet", false);
12059
- const peg$e122 = peg$literalExpectation("white", false);
12060
- const peg$e123 = peg$literalExpectation("yellow", false);
12061
- const peg$e124 = peg$literalExpectation("*", false);
12062
- const peg$e125 = peg$literalExpectation("_", false);
12063
- const peg$e126 = peg$literalExpectation("`", false);
12064
- const peg$e127 = peg$literalExpectation("!", false);
12065
- const peg$e128 = peg$literalExpectation("[!", false);
12066
- const peg$e129 = peg$literalExpectation("]", false);
12067
- const peg$e130 = peg$otherExpectation("Line Terminator");
12068
- const peg$e131 = peg$literalExpectation("\n", false);
12069
- const peg$e132 = peg$literalExpectation("\r\n", false);
12070
- const peg$e133 = peg$classExpectation(["\r", ["\u2028", "\u2029"]], false, false, false);
12071
- const peg$e134 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false, false);
12072
- const peg$e135 = peg$literalExpectation("http", false);
12073
- const peg$e136 = peg$literalExpectation("s", false);
12074
- const peg$e137 = peg$literalExpectation("://", false);
12075
- const peg$e138 = peg$literalExpectation("mailto:", false);
12076
- const peg$e139 = peg$classExpectation(["!", ["#", ";"], "=", ["?", "["], ["]", "_"], ["a", "{"], ["}", "~"]], false, false, false);
12020
+ const peg$e42 = peg$literalExpectation("srcAlt", false);
12021
+ const peg$e43 = peg$literalExpectation("alignmentVertical", false);
12022
+ const peg$e44 = peg$literalExpectation("size", false);
12023
+ const peg$e45 = peg$literalExpectation("top", false);
12024
+ const peg$e46 = peg$literalExpectation("middle", false);
12025
+ const peg$e47 = peg$literalExpectation("bottom", false);
12026
+ const peg$e48 = peg$literalExpectation("baseline", false);
12027
+ const peg$e49 = peg$literalExpectation("sub", false);
12028
+ const peg$e50 = peg$literalExpectation("super", false);
12029
+ const peg$e51 = peg$literalExpectation("text-bottom", false);
12030
+ const peg$e52 = peg$literalExpectation("text-top", false);
12031
+ const peg$e53 = peg$literalExpectation("line-height", false);
12032
+ const peg$e54 = peg$literalExpectation("font-height", false);
12033
+ const peg$e55 = peg$literalExpectation("explicit", false);
12034
+ const peg$e56 = peg$literalExpectation("link:", false);
12035
+ const peg$e57 = peg$literalExpectation("extref:", false);
12036
+ const peg$e58 = peg$literalExpectation("provider:", false);
12037
+ const peg$e59 = peg$literalExpectation("xref:", false);
12038
+ const peg$e60 = peg$literalExpectation("\u25BA", false);
12039
+ const peg$e61 = peg$literalExpectation("symbol:", false);
12040
+ const peg$e62 = peg$literalExpectation("footnote:", false);
12041
+ const peg$e63 = peg$literalExpectation("footnote*:", false);
12042
+ const peg$e64 = peg$literalExpectation("var:", false);
12043
+ const peg$e65 = peg$literalExpectation("code:", false);
12044
+ const peg$e66 = peg$literalExpectation("timer", false);
12045
+ const peg$e67 = peg$literalExpectation("timer:", false);
12046
+ const peg$e68 = peg$literalExpectation("duration:", false);
12047
+ const peg$e69 = peg$literalExpectation("P", false);
12048
+ const peg$e70 = peg$literalExpectation("color:", false);
12049
+ const peg$e71 = peg$literalExpectation("|\u25BA", false);
12050
+ const peg$e72 = peg$literalExpectation("bold", false);
12051
+ const peg$e73 = peg$literalExpectation("italic", false);
12052
+ const peg$e74 = peg$literalExpectation("light", false);
12053
+ const peg$e75 = peg$literalExpectation("highlight", false);
12054
+ const peg$e76 = peg$literalExpectation("strike", false);
12055
+ const peg$e77 = peg$literalExpectation("subscript", false);
12056
+ const peg$e78 = peg$literalExpectation("superscript", false);
12057
+ const peg$e79 = peg$literalExpectation("ins", false);
12058
+ const peg$e80 = peg$literalExpectation("del", false);
12059
+ const peg$e81 = peg$literalExpectation("underline", false);
12060
+ const peg$e82 = peg$literalExpectation("doubleUnderline", false);
12061
+ const peg$e83 = peg$literalExpectation("circle", false);
12062
+ const peg$e84 = peg$literalExpectation("languageEmRed", false);
12063
+ const peg$e85 = peg$literalExpectation("languageEmOrange", false);
12064
+ const peg$e86 = peg$literalExpectation("languageEmYellow", false);
12065
+ const peg$e87 = peg$literalExpectation("languageEmGreen", false);
12066
+ const peg$e88 = peg$literalExpectation("languageEmBlue", false);
12067
+ const peg$e89 = peg$literalExpectation("languageEmPurple", false);
12068
+ const peg$e90 = peg$literalExpectation("languageEmPink", false);
12069
+ const peg$e91 = peg$literalExpectation("languageEmBrown", false);
12070
+ const peg$e92 = peg$literalExpectation("languageEmBlack", false);
12071
+ const peg$e93 = peg$literalExpectation("languageEmWhite", false);
12072
+ const peg$e94 = peg$literalExpectation("languageEmGray", false);
12073
+ const peg$e95 = peg$literalExpectation("languageEm", false);
12074
+ const peg$e96 = peg$literalExpectation("userUnderline", false);
12075
+ const peg$e97 = peg$literalExpectation("userDoubleUnderline", false);
12076
+ const peg$e98 = peg$literalExpectation("userStrike", false);
12077
+ const peg$e99 = peg$literalExpectation("userCircle", false);
12078
+ const peg$e100 = peg$literalExpectation("userHighlight", false);
12079
+ const peg$e101 = peg$literalExpectation("notranslate", false);
12080
+ const peg$e102 = peg$literalExpectation("aqua", false);
12081
+ const peg$e103 = peg$literalExpectation("black", false);
12082
+ const peg$e104 = peg$literalExpectation("blue", false);
12083
+ const peg$e105 = peg$literalExpectation("brown", false);
12084
+ const peg$e106 = peg$literalExpectation("fuchsia", false);
12085
+ const peg$e107 = peg$literalExpectation("lightgrey", false);
12086
+ const peg$e108 = peg$literalExpectation("gray", false);
12087
+ const peg$e109 = peg$literalExpectation("darkgray", false);
12088
+ const peg$e110 = peg$literalExpectation("green", false);
12089
+ const peg$e111 = peg$literalExpectation("lime", false);
12090
+ const peg$e112 = peg$literalExpectation("magenta", false);
12091
+ const peg$e113 = peg$literalExpectation("maroon", false);
12092
+ const peg$e114 = peg$literalExpectation("navy", false);
12093
+ const peg$e115 = peg$literalExpectation("olive", false);
12094
+ const peg$e116 = peg$literalExpectation("orange", false);
12095
+ const peg$e117 = peg$literalExpectation("pink", false);
12096
+ const peg$e118 = peg$literalExpectation("purple", false);
12097
+ const peg$e119 = peg$literalExpectation("red", false);
12098
+ const peg$e120 = peg$literalExpectation("silver", false);
12099
+ const peg$e121 = peg$literalExpectation("teal", false);
12100
+ const peg$e122 = peg$literalExpectation("violet", false);
12101
+ const peg$e123 = peg$literalExpectation("white", false);
12102
+ const peg$e124 = peg$literalExpectation("yellow", false);
12103
+ const peg$e125 = peg$literalExpectation("*", false);
12104
+ const peg$e126 = peg$literalExpectation("_", false);
12105
+ const peg$e127 = peg$literalExpectation("`", false);
12106
+ const peg$e128 = peg$literalExpectation("!", false);
12107
+ const peg$e129 = peg$literalExpectation("[!", false);
12108
+ const peg$e130 = peg$literalExpectation("]", false);
12109
+ const peg$e131 = peg$otherExpectation("Line Terminator");
12110
+ const peg$e132 = peg$literalExpectation("\n", false);
12111
+ const peg$e133 = peg$literalExpectation("\r\n", false);
12112
+ const peg$e134 = peg$classExpectation(["\r", ["\u2028", "\u2029"]], false, false, false);
12113
+ const peg$e135 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false, false);
12114
+ const peg$e136 = peg$literalExpectation("http", false);
12115
+ const peg$e137 = peg$literalExpectation("s", false);
12116
+ const peg$e138 = peg$literalExpectation("://", false);
12117
+ const peg$e139 = peg$literalExpectation("mailto:", false);
12118
+ const peg$e140 = peg$classExpectation(["!", ["#", ";"], "=", ["?", "["], ["]", "_"], ["a", "{"], ["}", "~"]], false, false, false);
12077
12119
  function peg$f0() {
12078
12120
  return VERSION;
12079
12121
  }
@@ -12380,101 +12422,104 @@ function peg$parse(input, options) {
12380
12422
  return { comment: str };
12381
12423
  }
12382
12424
  function peg$f67(p, v) {
12383
- return { [p]: parseInt(v) };
12425
+ return { [p]: v };
12384
12426
  }
12385
12427
  function peg$f68(p, v) {
12386
- return { type: "error", msg: p + " must be a positive integer.", found: v };
12428
+ return { [p]: parseInt(v) };
12387
12429
  }
12388
12430
  function peg$f69(p, v) {
12389
- return { [p]: v };
12431
+ return { type: "error", msg: p + " must be a positive integer.", found: v };
12390
12432
  }
12391
12433
  function peg$f70(p, v) {
12392
12434
  return { [p]: v };
12393
12435
  }
12394
- function peg$f71(str) {
12436
+ function peg$f71(p, v) {
12437
+ return { [p]: v };
12438
+ }
12439
+ function peg$f72(str) {
12395
12440
  return { type: "link", attrs: { href: str.trim(), target: "_blank" } };
12396
12441
  }
12397
- function peg$f72(str, rc, p) {
12442
+ function peg$f73(str, rc, p) {
12398
12443
  return { type: "extref", attrs: { extref: str.trim(), references: rc, provider: p.trim() } };
12399
12444
  }
12400
- function peg$f73(str, str2) {
12445
+ function peg$f74(str, str2) {
12401
12446
  return { type: "xref", attrs: { xref: str.trim(), reference: str2.trim() } };
12402
12447
  }
12403
- function peg$f74(str) {
12448
+ function peg$f75(str) {
12404
12449
  return { type: "xref", attrs: { xref: str.trim(), reference: "" } };
12405
12450
  }
12406
- function peg$f75(str) {
12451
+ function peg$f76(str) {
12407
12452
  return { type: "ref", attrs: { reference: str.trim() } };
12408
12453
  }
12409
- function peg$f76(str, ch) {
12454
+ function peg$f77(str, ch) {
12410
12455
  const chain = Object.assign({}, ...ch);
12411
12456
  return { type: "symbol", attrs: { src: str.trim(), ...chain } };
12412
12457
  }
12413
- function peg$f77(str) {
12458
+ function peg$f78(str) {
12414
12459
  return { type: "footnote", attrs: { content: bitmarkPlusString(str.trim()) } };
12415
12460
  }
12416
- function peg$f78(str) {
12461
+ function peg$f79(str) {
12417
12462
  return { type: "footnote*", attrs: { content: bitmarkPlusString(str.trim()) } };
12418
12463
  }
12419
- function peg$f79(str) {
12464
+ function peg$f80(str) {
12420
12465
  return { type: "var", attrs: { name: str.trim() } };
12421
12466
  }
12422
- function peg$f80() {
12467
+ function peg$f81() {
12423
12468
  return { type: "code", attrs: { language: "plain text" } };
12424
12469
  }
12425
- function peg$f81(lang) {
12470
+ function peg$f82(lang) {
12426
12471
  return { type: "code", attrs: { language: lang.trim().toLowerCase() } };
12427
12472
  }
12428
- function peg$f82() {
12473
+ function peg$f83() {
12429
12474
  return { type: "timer", attrs: { name: "" } };
12430
12475
  }
12431
- function peg$f83(str) {
12476
+ function peg$f84(str) {
12432
12477
  return { type: "timer", attrs: { name: str.trim() } };
12433
12478
  }
12434
- function peg$f84(str) {
12479
+ function peg$f85(str) {
12435
12480
  return { type: "duration", attrs: { duration: str } };
12436
12481
  }
12437
- function peg$f85(color) {
12482
+ function peg$f86(color) {
12438
12483
  return { type: "color", attrs: { color } };
12439
12484
  }
12440
- function peg$f86(style) {
12485
+ function peg$f87(style) {
12441
12486
  return { type: style };
12442
12487
  }
12443
- function peg$f87(str) {
12488
+ function peg$f88(str) {
12444
12489
  return { type: "comment", comment: str };
12445
12490
  }
12446
- function peg$f88(r) {
12491
+ function peg$f89(r) {
12447
12492
  return r.trim();
12448
12493
  }
12449
- function peg$f89(bs) {
12494
+ function peg$f90(bs) {
12450
12495
  return [{ type: "paragraph", content: bs, attrs: {} }];
12451
12496
  }
12452
- function peg$f90(first, more) {
12497
+ function peg$f91(first, more) {
12453
12498
  const cleaned_ = cleanEmptyTextNodes(first ? [first, ...more.flat()] : more.flat());
12454
12499
  return cleaned_;
12455
12500
  }
12456
- function peg$f91() {
12501
+ function peg$f92() {
12457
12502
  return { "type": "hardBreak" };
12458
12503
  }
12459
- function peg$f92(t) {
12504
+ function peg$f93(t) {
12460
12505
  return { text: unbreakscape(t), type: "text" };
12461
12506
  }
12462
- function peg$f93(t) {
12507
+ function peg$f94(t) {
12463
12508
  return { index: +t, type: "bit" };
12464
12509
  }
12465
- function peg$f94(t) {
12510
+ function peg$f95(t) {
12466
12511
  return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" };
12467
12512
  }
12468
- function peg$f95(t) {
12513
+ function peg$f96(t) {
12469
12514
  return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" };
12470
12515
  }
12471
- function peg$f96(t) {
12516
+ function peg$f97(t) {
12472
12517
  return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" };
12473
12518
  }
12474
- function peg$f97(t) {
12519
+ function peg$f98(t) {
12475
12520
  return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" };
12476
12521
  }
12477
- function peg$f98(pr, t) {
12522
+ function peg$f99(pr, t) {
12478
12523
  return { pr, t };
12479
12524
  }
12480
12525
  let peg$currPos = options.peg$currPos | 0;
@@ -16656,7 +16701,15 @@ function peg$parse(input, options) {
16656
16701
  if (s1 === peg$FAILED) {
16657
16702
  s1 = null;
16658
16703
  }
16659
- s2 = peg$parseMediaSizeTags();
16704
+ if (input.substr(peg$currPos, 6) === peg$c38) {
16705
+ s2 = peg$c38;
16706
+ peg$currPos += 6;
16707
+ } else {
16708
+ s2 = peg$FAILED;
16709
+ if (peg$silentFails === 0) {
16710
+ peg$fail(peg$e42);
16711
+ }
16712
+ }
16660
16713
  if (s2 !== peg$FAILED) {
16661
16714
  if (input.charCodeAt(peg$currPos) === 58) {
16662
16715
  s3 = peg$c5;
@@ -16704,15 +16757,7 @@ function peg$parse(input, options) {
16704
16757
  s8 = peg$FAILED;
16705
16758
  }
16706
16759
  if (s8 !== peg$FAILED) {
16707
- s9 = input.charAt(peg$currPos);
16708
- if (peg$r1.test(s9)) {
16709
- peg$currPos++;
16710
- } else {
16711
- s9 = peg$FAILED;
16712
- if (peg$silentFails === 0) {
16713
- peg$fail(peg$e15);
16714
- }
16715
- }
16760
+ s9 = peg$parsechar();
16716
16761
  if (s9 !== peg$FAILED) {
16717
16762
  s8 = [s8, s9];
16718
16763
  s7 = s8;
@@ -16724,59 +16769,38 @@ function peg$parse(input, options) {
16724
16769
  peg$currPos = s7;
16725
16770
  s7 = peg$FAILED;
16726
16771
  }
16727
- if (s7 !== peg$FAILED) {
16728
- while (s7 !== peg$FAILED) {
16729
- s6.push(s7);
16730
- s7 = peg$currPos;
16731
- s8 = peg$currPos;
16732
- peg$silentFails++;
16733
- s9 = peg$parseBlockTag();
16734
- peg$silentFails--;
16735
- if (s9 === peg$FAILED) {
16736
- s8 = void 0;
16737
- } else {
16738
- peg$currPos = s8;
16739
- s8 = peg$FAILED;
16740
- }
16741
- if (s8 !== peg$FAILED) {
16742
- s9 = input.charAt(peg$currPos);
16743
- if (peg$r1.test(s9)) {
16744
- peg$currPos++;
16745
- } else {
16746
- s9 = peg$FAILED;
16747
- if (peg$silentFails === 0) {
16748
- peg$fail(peg$e15);
16749
- }
16750
- }
16751
- if (s9 !== peg$FAILED) {
16752
- s8 = [s8, s9];
16753
- s7 = s8;
16754
- } else {
16755
- peg$currPos = s7;
16756
- s7 = peg$FAILED;
16757
- }
16772
+ while (s7 !== peg$FAILED) {
16773
+ s6.push(s7);
16774
+ s7 = peg$currPos;
16775
+ s8 = peg$currPos;
16776
+ peg$silentFails++;
16777
+ s9 = peg$parseBlockTag();
16778
+ peg$silentFails--;
16779
+ if (s9 === peg$FAILED) {
16780
+ s8 = void 0;
16781
+ } else {
16782
+ peg$currPos = s8;
16783
+ s8 = peg$FAILED;
16784
+ }
16785
+ if (s8 !== peg$FAILED) {
16786
+ s9 = peg$parsechar();
16787
+ if (s9 !== peg$FAILED) {
16788
+ s8 = [s8, s9];
16789
+ s7 = s8;
16758
16790
  } else {
16759
16791
  peg$currPos = s7;
16760
16792
  s7 = peg$FAILED;
16761
16793
  }
16794
+ } else {
16795
+ peg$currPos = s7;
16796
+ s7 = peg$FAILED;
16762
16797
  }
16763
- } else {
16764
- s6 = peg$FAILED;
16765
16798
  }
16799
+ s5 = input.substring(s5, peg$currPos);
16800
+ s6 = peg$parseBlockTag();
16766
16801
  if (s6 !== peg$FAILED) {
16767
- s5 = input.substring(s5, peg$currPos);
16768
- } else {
16769
- s5 = s6;
16770
- }
16771
- if (s5 !== peg$FAILED) {
16772
- s6 = peg$parseBlockTag();
16773
- if (s6 !== peg$FAILED) {
16774
- peg$savedPos = s0;
16775
- s0 = peg$f67(s2, s5);
16776
- } else {
16777
- peg$currPos = s0;
16778
- s0 = peg$FAILED;
16779
- }
16802
+ peg$savedPos = s0;
16803
+ s0 = peg$f67(s2, s5);
16780
16804
  } else {
16781
16805
  peg$currPos = s0;
16782
16806
  s0 = peg$FAILED;
@@ -16851,7 +16875,15 @@ function peg$parse(input, options) {
16851
16875
  s8 = peg$FAILED;
16852
16876
  }
16853
16877
  if (s8 !== peg$FAILED) {
16854
- s9 = peg$parsechar();
16878
+ s9 = input.charAt(peg$currPos);
16879
+ if (peg$r1.test(s9)) {
16880
+ peg$currPos++;
16881
+ } else {
16882
+ s9 = peg$FAILED;
16883
+ if (peg$silentFails === 0) {
16884
+ peg$fail(peg$e15);
16885
+ }
16886
+ }
16855
16887
  if (s9 !== peg$FAILED) {
16856
16888
  s8 = [s8, s9];
16857
16889
  s7 = s8;
@@ -16863,38 +16895,59 @@ function peg$parse(input, options) {
16863
16895
  peg$currPos = s7;
16864
16896
  s7 = peg$FAILED;
16865
16897
  }
16866
- while (s7 !== peg$FAILED) {
16867
- s6.push(s7);
16868
- s7 = peg$currPos;
16869
- s8 = peg$currPos;
16870
- peg$silentFails++;
16871
- s9 = peg$parseBlockTag();
16872
- peg$silentFails--;
16873
- if (s9 === peg$FAILED) {
16874
- s8 = void 0;
16875
- } else {
16876
- peg$currPos = s8;
16877
- s8 = peg$FAILED;
16878
- }
16879
- if (s8 !== peg$FAILED) {
16880
- s9 = peg$parsechar();
16881
- if (s9 !== peg$FAILED) {
16882
- s8 = [s8, s9];
16883
- s7 = s8;
16898
+ if (s7 !== peg$FAILED) {
16899
+ while (s7 !== peg$FAILED) {
16900
+ s6.push(s7);
16901
+ s7 = peg$currPos;
16902
+ s8 = peg$currPos;
16903
+ peg$silentFails++;
16904
+ s9 = peg$parseBlockTag();
16905
+ peg$silentFails--;
16906
+ if (s9 === peg$FAILED) {
16907
+ s8 = void 0;
16908
+ } else {
16909
+ peg$currPos = s8;
16910
+ s8 = peg$FAILED;
16911
+ }
16912
+ if (s8 !== peg$FAILED) {
16913
+ s9 = input.charAt(peg$currPos);
16914
+ if (peg$r1.test(s9)) {
16915
+ peg$currPos++;
16916
+ } else {
16917
+ s9 = peg$FAILED;
16918
+ if (peg$silentFails === 0) {
16919
+ peg$fail(peg$e15);
16920
+ }
16921
+ }
16922
+ if (s9 !== peg$FAILED) {
16923
+ s8 = [s8, s9];
16924
+ s7 = s8;
16925
+ } else {
16926
+ peg$currPos = s7;
16927
+ s7 = peg$FAILED;
16928
+ }
16884
16929
  } else {
16885
16930
  peg$currPos = s7;
16886
16931
  s7 = peg$FAILED;
16887
16932
  }
16888
- } else {
16889
- peg$currPos = s7;
16890
- s7 = peg$FAILED;
16891
16933
  }
16934
+ } else {
16935
+ s6 = peg$FAILED;
16892
16936
  }
16893
- s5 = input.substring(s5, peg$currPos);
16894
- s6 = peg$parseBlockTag();
16895
16937
  if (s6 !== peg$FAILED) {
16896
- peg$savedPos = s0;
16897
- s0 = peg$f68(s2, s5);
16938
+ s5 = input.substring(s5, peg$currPos);
16939
+ } else {
16940
+ s5 = s6;
16941
+ }
16942
+ if (s5 !== peg$FAILED) {
16943
+ s6 = peg$parseBlockTag();
16944
+ if (s6 !== peg$FAILED) {
16945
+ peg$savedPos = s0;
16946
+ s0 = peg$f68(s2, s5);
16947
+ } else {
16948
+ peg$currPos = s0;
16949
+ s0 = peg$FAILED;
16950
+ }
16898
16951
  } else {
16899
16952
  peg$currPos = s0;
16900
16953
  s0 = peg$FAILED;
@@ -16921,15 +16974,7 @@ function peg$parse(input, options) {
16921
16974
  if (s1 === peg$FAILED) {
16922
16975
  s1 = null;
16923
16976
  }
16924
- if (input.substr(peg$currPos, 17) === peg$c38) {
16925
- s2 = peg$c38;
16926
- peg$currPos += 17;
16927
- } else {
16928
- s2 = peg$FAILED;
16929
- if (peg$silentFails === 0) {
16930
- peg$fail(peg$e42);
16931
- }
16932
- }
16977
+ s2 = peg$parseMediaSizeTags();
16933
16978
  if (s2 !== peg$FAILED) {
16934
16979
  if (input.charCodeAt(peg$currPos) === 58) {
16935
16980
  s3 = peg$c5;
@@ -16963,16 +17008,64 @@ function peg$parse(input, options) {
16963
17008
  }
16964
17009
  }
16965
17010
  }
16966
- s5 = peg$parseInlineMediaAlignment();
16967
- if (s5 !== peg$FAILED) {
16968
- s6 = peg$parseBlockTag();
16969
- if (s6 !== peg$FAILED) {
16970
- peg$savedPos = s0;
16971
- s0 = peg$f69(s2, s5);
17011
+ s5 = peg$currPos;
17012
+ s6 = [];
17013
+ s7 = peg$currPos;
17014
+ s8 = peg$currPos;
17015
+ peg$silentFails++;
17016
+ s9 = peg$parseBlockTag();
17017
+ peg$silentFails--;
17018
+ if (s9 === peg$FAILED) {
17019
+ s8 = void 0;
17020
+ } else {
17021
+ peg$currPos = s8;
17022
+ s8 = peg$FAILED;
17023
+ }
17024
+ if (s8 !== peg$FAILED) {
17025
+ s9 = peg$parsechar();
17026
+ if (s9 !== peg$FAILED) {
17027
+ s8 = [s8, s9];
17028
+ s7 = s8;
16972
17029
  } else {
16973
- peg$currPos = s0;
16974
- s0 = peg$FAILED;
17030
+ peg$currPos = s7;
17031
+ s7 = peg$FAILED;
17032
+ }
17033
+ } else {
17034
+ peg$currPos = s7;
17035
+ s7 = peg$FAILED;
17036
+ }
17037
+ while (s7 !== peg$FAILED) {
17038
+ s6.push(s7);
17039
+ s7 = peg$currPos;
17040
+ s8 = peg$currPos;
17041
+ peg$silentFails++;
17042
+ s9 = peg$parseBlockTag();
17043
+ peg$silentFails--;
17044
+ if (s9 === peg$FAILED) {
17045
+ s8 = void 0;
17046
+ } else {
17047
+ peg$currPos = s8;
17048
+ s8 = peg$FAILED;
17049
+ }
17050
+ if (s8 !== peg$FAILED) {
17051
+ s9 = peg$parsechar();
17052
+ if (s9 !== peg$FAILED) {
17053
+ s8 = [s8, s9];
17054
+ s7 = s8;
17055
+ } else {
17056
+ peg$currPos = s7;
17057
+ s7 = peg$FAILED;
17058
+ }
17059
+ } else {
17060
+ peg$currPos = s7;
17061
+ s7 = peg$FAILED;
16975
17062
  }
17063
+ }
17064
+ s5 = input.substring(s5, peg$currPos);
17065
+ s6 = peg$parseBlockTag();
17066
+ if (s6 !== peg$FAILED) {
17067
+ peg$savedPos = s0;
17068
+ s0 = peg$f69(s2, s5);
16976
17069
  } else {
16977
17070
  peg$currPos = s0;
16978
17071
  s0 = peg$FAILED;
@@ -16999,9 +17092,9 @@ function peg$parse(input, options) {
16999
17092
  if (s1 === peg$FAILED) {
17000
17093
  s1 = null;
17001
17094
  }
17002
- if (input.substr(peg$currPos, 4) === peg$c39) {
17095
+ if (input.substr(peg$currPos, 17) === peg$c39) {
17003
17096
  s2 = peg$c39;
17004
- peg$currPos += 4;
17097
+ peg$currPos += 17;
17005
17098
  } else {
17006
17099
  s2 = peg$FAILED;
17007
17100
  if (peg$silentFails === 0) {
@@ -17041,7 +17134,7 @@ function peg$parse(input, options) {
17041
17134
  }
17042
17135
  }
17043
17136
  }
17044
- s5 = peg$parseInlineMediaSize();
17137
+ s5 = peg$parseInlineMediaAlignment();
17045
17138
  if (s5 !== peg$FAILED) {
17046
17139
  s6 = peg$parseBlockTag();
17047
17140
  if (s6 !== peg$FAILED) {
@@ -17063,6 +17156,85 @@ function peg$parse(input, options) {
17063
17156
  peg$currPos = s0;
17064
17157
  s0 = peg$FAILED;
17065
17158
  }
17159
+ if (s0 === peg$FAILED) {
17160
+ s0 = peg$currPos;
17161
+ if (input.charCodeAt(peg$currPos) === 64) {
17162
+ s1 = peg$c22;
17163
+ peg$currPos++;
17164
+ } else {
17165
+ s1 = peg$FAILED;
17166
+ if (peg$silentFails === 0) {
17167
+ peg$fail(peg$e26);
17168
+ }
17169
+ }
17170
+ if (s1 === peg$FAILED) {
17171
+ s1 = null;
17172
+ }
17173
+ if (input.substr(peg$currPos, 4) === peg$c40) {
17174
+ s2 = peg$c40;
17175
+ peg$currPos += 4;
17176
+ } else {
17177
+ s2 = peg$FAILED;
17178
+ if (peg$silentFails === 0) {
17179
+ peg$fail(peg$e44);
17180
+ }
17181
+ }
17182
+ if (s2 !== peg$FAILED) {
17183
+ if (input.charCodeAt(peg$currPos) === 58) {
17184
+ s3 = peg$c5;
17185
+ peg$currPos++;
17186
+ } else {
17187
+ s3 = peg$FAILED;
17188
+ if (peg$silentFails === 0) {
17189
+ peg$fail(peg$e8);
17190
+ }
17191
+ }
17192
+ if (s3 !== peg$FAILED) {
17193
+ s4 = [];
17194
+ if (input.charCodeAt(peg$currPos) === 32) {
17195
+ s5 = peg$c12;
17196
+ peg$currPos++;
17197
+ } else {
17198
+ s5 = peg$FAILED;
17199
+ if (peg$silentFails === 0) {
17200
+ peg$fail(peg$e16);
17201
+ }
17202
+ }
17203
+ while (s5 !== peg$FAILED) {
17204
+ s4.push(s5);
17205
+ if (input.charCodeAt(peg$currPos) === 32) {
17206
+ s5 = peg$c12;
17207
+ peg$currPos++;
17208
+ } else {
17209
+ s5 = peg$FAILED;
17210
+ if (peg$silentFails === 0) {
17211
+ peg$fail(peg$e16);
17212
+ }
17213
+ }
17214
+ }
17215
+ s5 = peg$parseInlineMediaSize();
17216
+ if (s5 !== peg$FAILED) {
17217
+ s6 = peg$parseBlockTag();
17218
+ if (s6 !== peg$FAILED) {
17219
+ peg$savedPos = s0;
17220
+ s0 = peg$f71(s2, s5);
17221
+ } else {
17222
+ peg$currPos = s0;
17223
+ s0 = peg$FAILED;
17224
+ }
17225
+ } else {
17226
+ peg$currPos = s0;
17227
+ s0 = peg$FAILED;
17228
+ }
17229
+ } else {
17230
+ peg$currPos = s0;
17231
+ s0 = peg$FAILED;
17232
+ }
17233
+ } else {
17234
+ peg$currPos = s0;
17235
+ s0 = peg$FAILED;
17236
+ }
17237
+ }
17066
17238
  }
17067
17239
  }
17068
17240
  }
@@ -17071,83 +17243,83 @@ function peg$parse(input, options) {
17071
17243
  }
17072
17244
  function peg$parseInlineMediaAlignment() {
17073
17245
  let s0;
17074
- if (input.substr(peg$currPos, 3) === peg$c40) {
17075
- s0 = peg$c40;
17246
+ if (input.substr(peg$currPos, 3) === peg$c41) {
17247
+ s0 = peg$c41;
17076
17248
  peg$currPos += 3;
17077
17249
  } else {
17078
17250
  s0 = peg$FAILED;
17079
17251
  if (peg$silentFails === 0) {
17080
- peg$fail(peg$e44);
17252
+ peg$fail(peg$e45);
17081
17253
  }
17082
17254
  }
17083
17255
  if (s0 === peg$FAILED) {
17084
- if (input.substr(peg$currPos, 6) === peg$c41) {
17085
- s0 = peg$c41;
17256
+ if (input.substr(peg$currPos, 6) === peg$c42) {
17257
+ s0 = peg$c42;
17086
17258
  peg$currPos += 6;
17087
17259
  } else {
17088
17260
  s0 = peg$FAILED;
17089
17261
  if (peg$silentFails === 0) {
17090
- peg$fail(peg$e45);
17262
+ peg$fail(peg$e46);
17091
17263
  }
17092
17264
  }
17093
17265
  if (s0 === peg$FAILED) {
17094
- if (input.substr(peg$currPos, 6) === peg$c42) {
17095
- s0 = peg$c42;
17266
+ if (input.substr(peg$currPos, 6) === peg$c43) {
17267
+ s0 = peg$c43;
17096
17268
  peg$currPos += 6;
17097
17269
  } else {
17098
17270
  s0 = peg$FAILED;
17099
17271
  if (peg$silentFails === 0) {
17100
- peg$fail(peg$e46);
17272
+ peg$fail(peg$e47);
17101
17273
  }
17102
17274
  }
17103
17275
  if (s0 === peg$FAILED) {
17104
- if (input.substr(peg$currPos, 8) === peg$c43) {
17105
- s0 = peg$c43;
17276
+ if (input.substr(peg$currPos, 8) === peg$c44) {
17277
+ s0 = peg$c44;
17106
17278
  peg$currPos += 8;
17107
17279
  } else {
17108
17280
  s0 = peg$FAILED;
17109
17281
  if (peg$silentFails === 0) {
17110
- peg$fail(peg$e47);
17282
+ peg$fail(peg$e48);
17111
17283
  }
17112
17284
  }
17113
17285
  if (s0 === peg$FAILED) {
17114
- if (input.substr(peg$currPos, 3) === peg$c44) {
17115
- s0 = peg$c44;
17286
+ if (input.substr(peg$currPos, 3) === peg$c45) {
17287
+ s0 = peg$c45;
17116
17288
  peg$currPos += 3;
17117
17289
  } else {
17118
17290
  s0 = peg$FAILED;
17119
17291
  if (peg$silentFails === 0) {
17120
- peg$fail(peg$e48);
17292
+ peg$fail(peg$e49);
17121
17293
  }
17122
17294
  }
17123
17295
  if (s0 === peg$FAILED) {
17124
- if (input.substr(peg$currPos, 5) === peg$c45) {
17125
- s0 = peg$c45;
17296
+ if (input.substr(peg$currPos, 5) === peg$c46) {
17297
+ s0 = peg$c46;
17126
17298
  peg$currPos += 5;
17127
17299
  } else {
17128
17300
  s0 = peg$FAILED;
17129
17301
  if (peg$silentFails === 0) {
17130
- peg$fail(peg$e49);
17302
+ peg$fail(peg$e50);
17131
17303
  }
17132
17304
  }
17133
17305
  if (s0 === peg$FAILED) {
17134
- if (input.substr(peg$currPos, 11) === peg$c46) {
17135
- s0 = peg$c46;
17306
+ if (input.substr(peg$currPos, 11) === peg$c47) {
17307
+ s0 = peg$c47;
17136
17308
  peg$currPos += 11;
17137
17309
  } else {
17138
17310
  s0 = peg$FAILED;
17139
17311
  if (peg$silentFails === 0) {
17140
- peg$fail(peg$e50);
17312
+ peg$fail(peg$e51);
17141
17313
  }
17142
17314
  }
17143
17315
  if (s0 === peg$FAILED) {
17144
- if (input.substr(peg$currPos, 8) === peg$c47) {
17145
- s0 = peg$c47;
17316
+ if (input.substr(peg$currPos, 8) === peg$c48) {
17317
+ s0 = peg$c48;
17146
17318
  peg$currPos += 8;
17147
17319
  } else {
17148
17320
  s0 = peg$FAILED;
17149
17321
  if (peg$silentFails === 0) {
17150
- peg$fail(peg$e51);
17322
+ peg$fail(peg$e52);
17151
17323
  }
17152
17324
  }
17153
17325
  }
@@ -17161,53 +17333,53 @@ function peg$parse(input, options) {
17161
17333
  }
17162
17334
  function peg$parseInlineMediaSize() {
17163
17335
  let s0;
17164
- if (input.substr(peg$currPos, 11) === peg$c48) {
17165
- s0 = peg$c48;
17336
+ if (input.substr(peg$currPos, 11) === peg$c49) {
17337
+ s0 = peg$c49;
17166
17338
  peg$currPos += 11;
17167
17339
  } else {
17168
17340
  s0 = peg$FAILED;
17169
17341
  if (peg$silentFails === 0) {
17170
- peg$fail(peg$e52);
17342
+ peg$fail(peg$e53);
17171
17343
  }
17172
17344
  }
17173
17345
  if (s0 === peg$FAILED) {
17174
- if (input.substr(peg$currPos, 11) === peg$c49) {
17175
- s0 = peg$c49;
17346
+ if (input.substr(peg$currPos, 11) === peg$c50) {
17347
+ s0 = peg$c50;
17176
17348
  peg$currPos += 11;
17177
17349
  } else {
17178
17350
  s0 = peg$FAILED;
17179
17351
  if (peg$silentFails === 0) {
17180
- peg$fail(peg$e53);
17352
+ peg$fail(peg$e54);
17181
17353
  }
17182
17354
  }
17183
17355
  if (s0 === peg$FAILED) {
17184
- if (input.substr(peg$currPos, 5) === peg$c45) {
17185
- s0 = peg$c45;
17356
+ if (input.substr(peg$currPos, 5) === peg$c46) {
17357
+ s0 = peg$c46;
17186
17358
  peg$currPos += 5;
17187
17359
  } else {
17188
17360
  s0 = peg$FAILED;
17189
17361
  if (peg$silentFails === 0) {
17190
- peg$fail(peg$e49);
17362
+ peg$fail(peg$e50);
17191
17363
  }
17192
17364
  }
17193
17365
  if (s0 === peg$FAILED) {
17194
- if (input.substr(peg$currPos, 3) === peg$c44) {
17195
- s0 = peg$c44;
17366
+ if (input.substr(peg$currPos, 3) === peg$c45) {
17367
+ s0 = peg$c45;
17196
17368
  peg$currPos += 3;
17197
17369
  } else {
17198
17370
  s0 = peg$FAILED;
17199
17371
  if (peg$silentFails === 0) {
17200
- peg$fail(peg$e48);
17372
+ peg$fail(peg$e49);
17201
17373
  }
17202
17374
  }
17203
17375
  if (s0 === peg$FAILED) {
17204
- if (input.substr(peg$currPos, 8) === peg$c50) {
17205
- s0 = peg$c50;
17376
+ if (input.substr(peg$currPos, 8) === peg$c51) {
17377
+ s0 = peg$c51;
17206
17378
  peg$currPos += 8;
17207
17379
  } else {
17208
17380
  s0 = peg$FAILED;
17209
17381
  if (peg$silentFails === 0) {
17210
- peg$fail(peg$e54);
17382
+ peg$fail(peg$e55);
17211
17383
  }
17212
17384
  }
17213
17385
  }
@@ -17219,13 +17391,13 @@ function peg$parse(input, options) {
17219
17391
  function peg$parseAttrChainItem() {
17220
17392
  let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
17221
17393
  s0 = peg$currPos;
17222
- if (input.substr(peg$currPos, 5) === peg$c51) {
17223
- s1 = peg$c51;
17394
+ if (input.substr(peg$currPos, 5) === peg$c52) {
17395
+ s1 = peg$c52;
17224
17396
  peg$currPos += 5;
17225
17397
  } else {
17226
17398
  s1 = peg$FAILED;
17227
17399
  if (peg$silentFails === 0) {
17228
- peg$fail(peg$e55);
17400
+ peg$fail(peg$e56);
17229
17401
  }
17230
17402
  }
17231
17403
  if (s1 !== peg$FAILED) {
@@ -17286,7 +17458,7 @@ function peg$parse(input, options) {
17286
17458
  s3 = peg$parseBlockTag();
17287
17459
  if (s3 !== peg$FAILED) {
17288
17460
  peg$savedPos = s0;
17289
- s0 = peg$f71(s2);
17461
+ s0 = peg$f72(s2);
17290
17462
  } else {
17291
17463
  peg$currPos = s0;
17292
17464
  s0 = peg$FAILED;
@@ -17297,13 +17469,13 @@ function peg$parse(input, options) {
17297
17469
  }
17298
17470
  if (s0 === peg$FAILED) {
17299
17471
  s0 = peg$currPos;
17300
- if (input.substr(peg$currPos, 7) === peg$c52) {
17301
- s1 = peg$c52;
17472
+ if (input.substr(peg$currPos, 7) === peg$c53) {
17473
+ s1 = peg$c53;
17302
17474
  peg$currPos += 7;
17303
17475
  } else {
17304
17476
  s1 = peg$FAILED;
17305
17477
  if (peg$silentFails === 0) {
17306
- peg$fail(peg$e56);
17478
+ peg$fail(peg$e57);
17307
17479
  }
17308
17480
  }
17309
17481
  if (s1 !== peg$FAILED) {
@@ -17364,13 +17536,13 @@ function peg$parse(input, options) {
17364
17536
  s3 = peg$parseRefsChain();
17365
17537
  s4 = peg$parseBlockTag();
17366
17538
  if (s4 !== peg$FAILED) {
17367
- if (input.substr(peg$currPos, 9) === peg$c53) {
17368
- s5 = peg$c53;
17539
+ if (input.substr(peg$currPos, 9) === peg$c54) {
17540
+ s5 = peg$c54;
17369
17541
  peg$currPos += 9;
17370
17542
  } else {
17371
17543
  s5 = peg$FAILED;
17372
17544
  if (peg$silentFails === 0) {
17373
- peg$fail(peg$e57);
17545
+ peg$fail(peg$e58);
17374
17546
  }
17375
17547
  }
17376
17548
  if (s5 !== peg$FAILED) {
@@ -17431,7 +17603,7 @@ function peg$parse(input, options) {
17431
17603
  s7 = peg$parseBlockTag();
17432
17604
  if (s7 !== peg$FAILED) {
17433
17605
  peg$savedPos = s0;
17434
- s0 = peg$f72(s2, s3, s6);
17606
+ s0 = peg$f73(s2, s3, s6);
17435
17607
  } else {
17436
17608
  peg$currPos = s0;
17437
17609
  s0 = peg$FAILED;
@@ -17450,13 +17622,13 @@ function peg$parse(input, options) {
17450
17622
  }
17451
17623
  if (s0 === peg$FAILED) {
17452
17624
  s0 = peg$currPos;
17453
- if (input.substr(peg$currPos, 5) === peg$c54) {
17454
- s1 = peg$c54;
17625
+ if (input.substr(peg$currPos, 5) === peg$c55) {
17626
+ s1 = peg$c55;
17455
17627
  peg$currPos += 5;
17456
17628
  } else {
17457
17629
  s1 = peg$FAILED;
17458
17630
  if (peg$silentFails === 0) {
17459
- peg$fail(peg$e58);
17631
+ peg$fail(peg$e59);
17460
17632
  }
17461
17633
  }
17462
17634
  if (s1 !== peg$FAILED) {
@@ -17517,12 +17689,12 @@ function peg$parse(input, options) {
17517
17689
  s3 = peg$parseBlockTag();
17518
17690
  if (s3 !== peg$FAILED) {
17519
17691
  if (input.charCodeAt(peg$currPos) === 9658) {
17520
- s4 = peg$c55;
17692
+ s4 = peg$c56;
17521
17693
  peg$currPos++;
17522
17694
  } else {
17523
17695
  s4 = peg$FAILED;
17524
17696
  if (peg$silentFails === 0) {
17525
- peg$fail(peg$e59);
17697
+ peg$fail(peg$e60);
17526
17698
  }
17527
17699
  }
17528
17700
  if (s4 !== peg$FAILED) {
@@ -17583,7 +17755,7 @@ function peg$parse(input, options) {
17583
17755
  s6 = peg$parseBlockTag();
17584
17756
  if (s6 !== peg$FAILED) {
17585
17757
  peg$savedPos = s0;
17586
- s0 = peg$f73(s2, s5);
17758
+ s0 = peg$f74(s2, s5);
17587
17759
  } else {
17588
17760
  peg$currPos = s0;
17589
17761
  s0 = peg$FAILED;
@@ -17602,13 +17774,13 @@ function peg$parse(input, options) {
17602
17774
  }
17603
17775
  if (s0 === peg$FAILED) {
17604
17776
  s0 = peg$currPos;
17605
- if (input.substr(peg$currPos, 5) === peg$c54) {
17606
- s1 = peg$c54;
17777
+ if (input.substr(peg$currPos, 5) === peg$c55) {
17778
+ s1 = peg$c55;
17607
17779
  peg$currPos += 5;
17608
17780
  } else {
17609
17781
  s1 = peg$FAILED;
17610
17782
  if (peg$silentFails === 0) {
17611
- peg$fail(peg$e58);
17783
+ peg$fail(peg$e59);
17612
17784
  }
17613
17785
  }
17614
17786
  if (s1 !== peg$FAILED) {
@@ -17669,7 +17841,7 @@ function peg$parse(input, options) {
17669
17841
  s3 = peg$parseBlockTag();
17670
17842
  if (s3 !== peg$FAILED) {
17671
17843
  peg$savedPos = s0;
17672
- s0 = peg$f74(s2);
17844
+ s0 = peg$f75(s2);
17673
17845
  } else {
17674
17846
  peg$currPos = s0;
17675
17847
  s0 = peg$FAILED;
@@ -17681,12 +17853,12 @@ function peg$parse(input, options) {
17681
17853
  if (s0 === peg$FAILED) {
17682
17854
  s0 = peg$currPos;
17683
17855
  if (input.charCodeAt(peg$currPos) === 9658) {
17684
- s1 = peg$c55;
17856
+ s1 = peg$c56;
17685
17857
  peg$currPos++;
17686
17858
  } else {
17687
17859
  s1 = peg$FAILED;
17688
17860
  if (peg$silentFails === 0) {
17689
- peg$fail(peg$e59);
17861
+ peg$fail(peg$e60);
17690
17862
  }
17691
17863
  }
17692
17864
  if (s1 !== peg$FAILED) {
@@ -17747,7 +17919,7 @@ function peg$parse(input, options) {
17747
17919
  s3 = peg$parseBlockTag();
17748
17920
  if (s3 !== peg$FAILED) {
17749
17921
  peg$savedPos = s0;
17750
- s0 = peg$f75(s2);
17922
+ s0 = peg$f76(s2);
17751
17923
  } else {
17752
17924
  peg$currPos = s0;
17753
17925
  s0 = peg$FAILED;
@@ -17758,13 +17930,13 @@ function peg$parse(input, options) {
17758
17930
  }
17759
17931
  if (s0 === peg$FAILED) {
17760
17932
  s0 = peg$currPos;
17761
- if (input.substr(peg$currPos, 7) === peg$c56) {
17762
- s1 = peg$c56;
17933
+ if (input.substr(peg$currPos, 7) === peg$c57) {
17934
+ s1 = peg$c57;
17763
17935
  peg$currPos += 7;
17764
17936
  } else {
17765
17937
  s1 = peg$FAILED;
17766
17938
  if (peg$silentFails === 0) {
17767
- peg$fail(peg$e60);
17939
+ peg$fail(peg$e61);
17768
17940
  }
17769
17941
  }
17770
17942
  if (s1 !== peg$FAILED) {
@@ -17826,7 +17998,7 @@ function peg$parse(input, options) {
17826
17998
  if (s3 !== peg$FAILED) {
17827
17999
  s4 = peg$parseMediaChain();
17828
18000
  peg$savedPos = s0;
17829
- s0 = peg$f76(s2, s4);
18001
+ s0 = peg$f77(s2, s4);
17830
18002
  } else {
17831
18003
  peg$currPos = s0;
17832
18004
  s0 = peg$FAILED;
@@ -17837,13 +18009,13 @@ function peg$parse(input, options) {
17837
18009
  }
17838
18010
  if (s0 === peg$FAILED) {
17839
18011
  s0 = peg$currPos;
17840
- if (input.substr(peg$currPos, 9) === peg$c57) {
17841
- s1 = peg$c57;
18012
+ if (input.substr(peg$currPos, 9) === peg$c58) {
18013
+ s1 = peg$c58;
17842
18014
  peg$currPos += 9;
17843
18015
  } else {
17844
18016
  s1 = peg$FAILED;
17845
18017
  if (peg$silentFails === 0) {
17846
- peg$fail(peg$e61);
18018
+ peg$fail(peg$e62);
17847
18019
  }
17848
18020
  }
17849
18021
  if (s1 !== peg$FAILED) {
@@ -17904,7 +18076,7 @@ function peg$parse(input, options) {
17904
18076
  s3 = peg$parseBlockTag();
17905
18077
  if (s3 !== peg$FAILED) {
17906
18078
  peg$savedPos = s0;
17907
- s0 = peg$f77(s2);
18079
+ s0 = peg$f78(s2);
17908
18080
  } else {
17909
18081
  peg$currPos = s0;
17910
18082
  s0 = peg$FAILED;
@@ -17915,13 +18087,13 @@ function peg$parse(input, options) {
17915
18087
  }
17916
18088
  if (s0 === peg$FAILED) {
17917
18089
  s0 = peg$currPos;
17918
- if (input.substr(peg$currPos, 10) === peg$c58) {
17919
- s1 = peg$c58;
18090
+ if (input.substr(peg$currPos, 10) === peg$c59) {
18091
+ s1 = peg$c59;
17920
18092
  peg$currPos += 10;
17921
18093
  } else {
17922
18094
  s1 = peg$FAILED;
17923
18095
  if (peg$silentFails === 0) {
17924
- peg$fail(peg$e62);
18096
+ peg$fail(peg$e63);
17925
18097
  }
17926
18098
  }
17927
18099
  if (s1 !== peg$FAILED) {
@@ -17982,7 +18154,7 @@ function peg$parse(input, options) {
17982
18154
  s3 = peg$parseBlockTag();
17983
18155
  if (s3 !== peg$FAILED) {
17984
18156
  peg$savedPos = s0;
17985
- s0 = peg$f78(s2);
18157
+ s0 = peg$f79(s2);
17986
18158
  } else {
17987
18159
  peg$currPos = s0;
17988
18160
  s0 = peg$FAILED;
@@ -17993,13 +18165,13 @@ function peg$parse(input, options) {
17993
18165
  }
17994
18166
  if (s0 === peg$FAILED) {
17995
18167
  s0 = peg$currPos;
17996
- if (input.substr(peg$currPos, 4) === peg$c59) {
17997
- s1 = peg$c59;
18168
+ if (input.substr(peg$currPos, 4) === peg$c60) {
18169
+ s1 = peg$c60;
17998
18170
  peg$currPos += 4;
17999
18171
  } else {
18000
18172
  s1 = peg$FAILED;
18001
18173
  if (peg$silentFails === 0) {
18002
- peg$fail(peg$e63);
18174
+ peg$fail(peg$e64);
18003
18175
  }
18004
18176
  }
18005
18177
  if (s1 !== peg$FAILED) {
@@ -18060,7 +18232,7 @@ function peg$parse(input, options) {
18060
18232
  s3 = peg$parseBlockTag();
18061
18233
  if (s3 !== peg$FAILED) {
18062
18234
  peg$savedPos = s0;
18063
- s0 = peg$f79(s2);
18235
+ s0 = peg$f80(s2);
18064
18236
  } else {
18065
18237
  peg$currPos = s0;
18066
18238
  s0 = peg$FAILED;
@@ -18084,7 +18256,7 @@ function peg$parse(input, options) {
18084
18256
  s2 = peg$parseBlockTag();
18085
18257
  if (s2 !== peg$FAILED) {
18086
18258
  peg$savedPos = s0;
18087
- s0 = peg$f80();
18259
+ s0 = peg$f81();
18088
18260
  } else {
18089
18261
  peg$currPos = s0;
18090
18262
  s0 = peg$FAILED;
@@ -18095,13 +18267,13 @@ function peg$parse(input, options) {
18095
18267
  }
18096
18268
  if (s0 === peg$FAILED) {
18097
18269
  s0 = peg$currPos;
18098
- if (input.substr(peg$currPos, 5) === peg$c60) {
18099
- s1 = peg$c60;
18270
+ if (input.substr(peg$currPos, 5) === peg$c61) {
18271
+ s1 = peg$c61;
18100
18272
  peg$currPos += 5;
18101
18273
  } else {
18102
18274
  s1 = peg$FAILED;
18103
18275
  if (peg$silentFails === 0) {
18104
- peg$fail(peg$e64);
18276
+ peg$fail(peg$e65);
18105
18277
  }
18106
18278
  }
18107
18279
  if (s1 !== peg$FAILED) {
@@ -18162,7 +18334,7 @@ function peg$parse(input, options) {
18162
18334
  s3 = peg$parseBlockTag();
18163
18335
  if (s3 !== peg$FAILED) {
18164
18336
  peg$savedPos = s0;
18165
- s0 = peg$f81(s2);
18337
+ s0 = peg$f82(s2);
18166
18338
  } else {
18167
18339
  peg$currPos = s0;
18168
18340
  s0 = peg$FAILED;
@@ -18173,20 +18345,20 @@ function peg$parse(input, options) {
18173
18345
  }
18174
18346
  if (s0 === peg$FAILED) {
18175
18347
  s0 = peg$currPos;
18176
- if (input.substr(peg$currPos, 5) === peg$c61) {
18177
- s1 = peg$c61;
18348
+ if (input.substr(peg$currPos, 5) === peg$c62) {
18349
+ s1 = peg$c62;
18178
18350
  peg$currPos += 5;
18179
18351
  } else {
18180
18352
  s1 = peg$FAILED;
18181
18353
  if (peg$silentFails === 0) {
18182
- peg$fail(peg$e65);
18354
+ peg$fail(peg$e66);
18183
18355
  }
18184
18356
  }
18185
18357
  if (s1 !== peg$FAILED) {
18186
18358
  s2 = peg$parseBlockTag();
18187
18359
  if (s2 !== peg$FAILED) {
18188
18360
  peg$savedPos = s0;
18189
- s0 = peg$f82();
18361
+ s0 = peg$f83();
18190
18362
  } else {
18191
18363
  peg$currPos = s0;
18192
18364
  s0 = peg$FAILED;
@@ -18197,13 +18369,13 @@ function peg$parse(input, options) {
18197
18369
  }
18198
18370
  if (s0 === peg$FAILED) {
18199
18371
  s0 = peg$currPos;
18200
- if (input.substr(peg$currPos, 6) === peg$c62) {
18201
- s1 = peg$c62;
18372
+ if (input.substr(peg$currPos, 6) === peg$c63) {
18373
+ s1 = peg$c63;
18202
18374
  peg$currPos += 6;
18203
18375
  } else {
18204
18376
  s1 = peg$FAILED;
18205
18377
  if (peg$silentFails === 0) {
18206
- peg$fail(peg$e66);
18378
+ peg$fail(peg$e67);
18207
18379
  }
18208
18380
  }
18209
18381
  if (s1 !== peg$FAILED) {
@@ -18264,7 +18436,7 @@ function peg$parse(input, options) {
18264
18436
  s3 = peg$parseBlockTag();
18265
18437
  if (s3 !== peg$FAILED) {
18266
18438
  peg$savedPos = s0;
18267
- s0 = peg$f83(s2);
18439
+ s0 = peg$f84(s2);
18268
18440
  } else {
18269
18441
  peg$currPos = s0;
18270
18442
  s0 = peg$FAILED;
@@ -18275,25 +18447,25 @@ function peg$parse(input, options) {
18275
18447
  }
18276
18448
  if (s0 === peg$FAILED) {
18277
18449
  s0 = peg$currPos;
18278
- if (input.substr(peg$currPos, 9) === peg$c63) {
18279
- s1 = peg$c63;
18450
+ if (input.substr(peg$currPos, 9) === peg$c64) {
18451
+ s1 = peg$c64;
18280
18452
  peg$currPos += 9;
18281
18453
  } else {
18282
18454
  s1 = peg$FAILED;
18283
18455
  if (peg$silentFails === 0) {
18284
- peg$fail(peg$e67);
18456
+ peg$fail(peg$e68);
18285
18457
  }
18286
18458
  }
18287
18459
  if (s1 !== peg$FAILED) {
18288
18460
  s2 = peg$currPos;
18289
18461
  s3 = peg$currPos;
18290
18462
  if (input.charCodeAt(peg$currPos) === 80) {
18291
- s4 = peg$c64;
18463
+ s4 = peg$c65;
18292
18464
  peg$currPos++;
18293
18465
  } else {
18294
18466
  s4 = peg$FAILED;
18295
18467
  if (peg$silentFails === 0) {
18296
- peg$fail(peg$e68);
18468
+ peg$fail(peg$e69);
18297
18469
  }
18298
18470
  }
18299
18471
  if (s4 !== peg$FAILED) {
@@ -18366,7 +18538,7 @@ function peg$parse(input, options) {
18366
18538
  s3 = peg$parseBlockTag();
18367
18539
  if (s3 !== peg$FAILED) {
18368
18540
  peg$savedPos = s0;
18369
- s0 = peg$f84(s2);
18541
+ s0 = peg$f85(s2);
18370
18542
  } else {
18371
18543
  peg$currPos = s0;
18372
18544
  s0 = peg$FAILED;
@@ -18381,13 +18553,13 @@ function peg$parse(input, options) {
18381
18553
  }
18382
18554
  if (s0 === peg$FAILED) {
18383
18555
  s0 = peg$currPos;
18384
- if (input.substr(peg$currPos, 6) === peg$c65) {
18385
- s1 = peg$c65;
18556
+ if (input.substr(peg$currPos, 6) === peg$c66) {
18557
+ s1 = peg$c66;
18386
18558
  peg$currPos += 6;
18387
18559
  } else {
18388
18560
  s1 = peg$FAILED;
18389
18561
  if (peg$silentFails === 0) {
18390
- peg$fail(peg$e69);
18562
+ peg$fail(peg$e70);
18391
18563
  }
18392
18564
  }
18393
18565
  if (s1 !== peg$FAILED) {
@@ -18396,7 +18568,7 @@ function peg$parse(input, options) {
18396
18568
  s3 = peg$parseBlockTag();
18397
18569
  if (s3 !== peg$FAILED) {
18398
18570
  peg$savedPos = s0;
18399
- s0 = peg$f85(s2);
18571
+ s0 = peg$f86(s2);
18400
18572
  } else {
18401
18573
  peg$currPos = s0;
18402
18574
  s0 = peg$FAILED;
@@ -18416,7 +18588,7 @@ function peg$parse(input, options) {
18416
18588
  s2 = peg$parseBlockTag();
18417
18589
  if (s2 !== peg$FAILED) {
18418
18590
  peg$savedPos = s0;
18419
- s0 = peg$f86(s1);
18591
+ s0 = peg$f87(s1);
18420
18592
  } else {
18421
18593
  peg$currPos = s0;
18422
18594
  s0 = peg$FAILED;
@@ -18494,7 +18666,7 @@ function peg$parse(input, options) {
18494
18666
  s3 = peg$parseBlockTag();
18495
18667
  if (s3 !== peg$FAILED) {
18496
18668
  peg$savedPos = s0;
18497
- s0 = peg$f87(s2);
18669
+ s0 = peg$f88(s2);
18498
18670
  } else {
18499
18671
  peg$currPos = s0;
18500
18672
  s0 = peg$FAILED;
@@ -18534,13 +18706,13 @@ function peg$parse(input, options) {
18534
18706
  function peg$parseRef() {
18535
18707
  let s0, s1, s2, s3, s4, s5, s6;
18536
18708
  s0 = peg$currPos;
18537
- if (input.substr(peg$currPos, 2) === peg$c66) {
18538
- s1 = peg$c66;
18709
+ if (input.substr(peg$currPos, 2) === peg$c67) {
18710
+ s1 = peg$c67;
18539
18711
  peg$currPos += 2;
18540
18712
  } else {
18541
18713
  s1 = peg$FAILED;
18542
18714
  if (peg$silentFails === 0) {
18543
- peg$fail(peg$e70);
18715
+ peg$fail(peg$e71);
18544
18716
  }
18545
18717
  }
18546
18718
  if (s1 !== peg$FAILED) {
@@ -18599,7 +18771,7 @@ function peg$parse(input, options) {
18599
18771
  }
18600
18772
  s2 = input.substring(s2, peg$currPos);
18601
18773
  peg$savedPos = s0;
18602
- s0 = peg$f88(s2);
18774
+ s0 = peg$f89(s2);
18603
18775
  } else {
18604
18776
  peg$currPos = s0;
18605
18777
  s0 = peg$FAILED;
@@ -18608,303 +18780,303 @@ function peg$parse(input, options) {
18608
18780
  }
18609
18781
  function peg$parseAlternativeStyleTags() {
18610
18782
  let s0;
18611
- if (input.substr(peg$currPos, 4) === peg$c67) {
18612
- s0 = peg$c67;
18783
+ if (input.substr(peg$currPos, 4) === peg$c68) {
18784
+ s0 = peg$c68;
18613
18785
  peg$currPos += 4;
18614
18786
  } else {
18615
18787
  s0 = peg$FAILED;
18616
18788
  if (peg$silentFails === 0) {
18617
- peg$fail(peg$e71);
18789
+ peg$fail(peg$e72);
18618
18790
  }
18619
18791
  }
18620
18792
  if (s0 === peg$FAILED) {
18621
- if (input.substr(peg$currPos, 6) === peg$c68) {
18622
- s0 = peg$c68;
18793
+ if (input.substr(peg$currPos, 6) === peg$c69) {
18794
+ s0 = peg$c69;
18623
18795
  peg$currPos += 6;
18624
18796
  } else {
18625
18797
  s0 = peg$FAILED;
18626
18798
  if (peg$silentFails === 0) {
18627
- peg$fail(peg$e72);
18799
+ peg$fail(peg$e73);
18628
18800
  }
18629
18801
  }
18630
18802
  if (s0 === peg$FAILED) {
18631
- if (input.substr(peg$currPos, 5) === peg$c69) {
18632
- s0 = peg$c69;
18803
+ if (input.substr(peg$currPos, 5) === peg$c70) {
18804
+ s0 = peg$c70;
18633
18805
  peg$currPos += 5;
18634
18806
  } else {
18635
18807
  s0 = peg$FAILED;
18636
18808
  if (peg$silentFails === 0) {
18637
- peg$fail(peg$e73);
18809
+ peg$fail(peg$e74);
18638
18810
  }
18639
18811
  }
18640
18812
  if (s0 === peg$FAILED) {
18641
- if (input.substr(peg$currPos, 9) === peg$c70) {
18642
- s0 = peg$c70;
18813
+ if (input.substr(peg$currPos, 9) === peg$c71) {
18814
+ s0 = peg$c71;
18643
18815
  peg$currPos += 9;
18644
18816
  } else {
18645
18817
  s0 = peg$FAILED;
18646
18818
  if (peg$silentFails === 0) {
18647
- peg$fail(peg$e74);
18819
+ peg$fail(peg$e75);
18648
18820
  }
18649
18821
  }
18650
18822
  if (s0 === peg$FAILED) {
18651
- if (input.substr(peg$currPos, 6) === peg$c71) {
18652
- s0 = peg$c71;
18823
+ if (input.substr(peg$currPos, 6) === peg$c72) {
18824
+ s0 = peg$c72;
18653
18825
  peg$currPos += 6;
18654
18826
  } else {
18655
18827
  s0 = peg$FAILED;
18656
18828
  if (peg$silentFails === 0) {
18657
- peg$fail(peg$e75);
18829
+ peg$fail(peg$e76);
18658
18830
  }
18659
18831
  }
18660
18832
  if (s0 === peg$FAILED) {
18661
- if (input.substr(peg$currPos, 9) === peg$c72) {
18662
- s0 = peg$c72;
18833
+ if (input.substr(peg$currPos, 9) === peg$c73) {
18834
+ s0 = peg$c73;
18663
18835
  peg$currPos += 9;
18664
18836
  } else {
18665
18837
  s0 = peg$FAILED;
18666
18838
  if (peg$silentFails === 0) {
18667
- peg$fail(peg$e76);
18839
+ peg$fail(peg$e77);
18668
18840
  }
18669
18841
  }
18670
18842
  if (s0 === peg$FAILED) {
18671
- if (input.substr(peg$currPos, 11) === peg$c73) {
18672
- s0 = peg$c73;
18843
+ if (input.substr(peg$currPos, 11) === peg$c74) {
18844
+ s0 = peg$c74;
18673
18845
  peg$currPos += 11;
18674
18846
  } else {
18675
18847
  s0 = peg$FAILED;
18676
18848
  if (peg$silentFails === 0) {
18677
- peg$fail(peg$e77);
18849
+ peg$fail(peg$e78);
18678
18850
  }
18679
18851
  }
18680
18852
  if (s0 === peg$FAILED) {
18681
- if (input.substr(peg$currPos, 3) === peg$c74) {
18682
- s0 = peg$c74;
18853
+ if (input.substr(peg$currPos, 3) === peg$c75) {
18854
+ s0 = peg$c75;
18683
18855
  peg$currPos += 3;
18684
18856
  } else {
18685
18857
  s0 = peg$FAILED;
18686
18858
  if (peg$silentFails === 0) {
18687
- peg$fail(peg$e78);
18859
+ peg$fail(peg$e79);
18688
18860
  }
18689
18861
  }
18690
18862
  if (s0 === peg$FAILED) {
18691
- if (input.substr(peg$currPos, 3) === peg$c75) {
18692
- s0 = peg$c75;
18863
+ if (input.substr(peg$currPos, 3) === peg$c76) {
18864
+ s0 = peg$c76;
18693
18865
  peg$currPos += 3;
18694
18866
  } else {
18695
18867
  s0 = peg$FAILED;
18696
18868
  if (peg$silentFails === 0) {
18697
- peg$fail(peg$e79);
18869
+ peg$fail(peg$e80);
18698
18870
  }
18699
18871
  }
18700
18872
  if (s0 === peg$FAILED) {
18701
- if (input.substr(peg$currPos, 9) === peg$c76) {
18702
- s0 = peg$c76;
18873
+ if (input.substr(peg$currPos, 9) === peg$c77) {
18874
+ s0 = peg$c77;
18703
18875
  peg$currPos += 9;
18704
18876
  } else {
18705
18877
  s0 = peg$FAILED;
18706
18878
  if (peg$silentFails === 0) {
18707
- peg$fail(peg$e80);
18879
+ peg$fail(peg$e81);
18708
18880
  }
18709
18881
  }
18710
18882
  if (s0 === peg$FAILED) {
18711
- if (input.substr(peg$currPos, 15) === peg$c77) {
18712
- s0 = peg$c77;
18883
+ if (input.substr(peg$currPos, 15) === peg$c78) {
18884
+ s0 = peg$c78;
18713
18885
  peg$currPos += 15;
18714
18886
  } else {
18715
18887
  s0 = peg$FAILED;
18716
18888
  if (peg$silentFails === 0) {
18717
- peg$fail(peg$e81);
18889
+ peg$fail(peg$e82);
18718
18890
  }
18719
18891
  }
18720
18892
  if (s0 === peg$FAILED) {
18721
- if (input.substr(peg$currPos, 6) === peg$c78) {
18722
- s0 = peg$c78;
18893
+ if (input.substr(peg$currPos, 6) === peg$c79) {
18894
+ s0 = peg$c79;
18723
18895
  peg$currPos += 6;
18724
18896
  } else {
18725
18897
  s0 = peg$FAILED;
18726
18898
  if (peg$silentFails === 0) {
18727
- peg$fail(peg$e82);
18899
+ peg$fail(peg$e83);
18728
18900
  }
18729
18901
  }
18730
18902
  if (s0 === peg$FAILED) {
18731
- if (input.substr(peg$currPos, 13) === peg$c79) {
18732
- s0 = peg$c79;
18903
+ if (input.substr(peg$currPos, 13) === peg$c80) {
18904
+ s0 = peg$c80;
18733
18905
  peg$currPos += 13;
18734
18906
  } else {
18735
18907
  s0 = peg$FAILED;
18736
18908
  if (peg$silentFails === 0) {
18737
- peg$fail(peg$e83);
18909
+ peg$fail(peg$e84);
18738
18910
  }
18739
18911
  }
18740
18912
  if (s0 === peg$FAILED) {
18741
- if (input.substr(peg$currPos, 16) === peg$c80) {
18742
- s0 = peg$c80;
18913
+ if (input.substr(peg$currPos, 16) === peg$c81) {
18914
+ s0 = peg$c81;
18743
18915
  peg$currPos += 16;
18744
18916
  } else {
18745
18917
  s0 = peg$FAILED;
18746
18918
  if (peg$silentFails === 0) {
18747
- peg$fail(peg$e84);
18919
+ peg$fail(peg$e85);
18748
18920
  }
18749
18921
  }
18750
18922
  if (s0 === peg$FAILED) {
18751
- if (input.substr(peg$currPos, 16) === peg$c81) {
18752
- s0 = peg$c81;
18923
+ if (input.substr(peg$currPos, 16) === peg$c82) {
18924
+ s0 = peg$c82;
18753
18925
  peg$currPos += 16;
18754
18926
  } else {
18755
18927
  s0 = peg$FAILED;
18756
18928
  if (peg$silentFails === 0) {
18757
- peg$fail(peg$e85);
18929
+ peg$fail(peg$e86);
18758
18930
  }
18759
18931
  }
18760
18932
  if (s0 === peg$FAILED) {
18761
- if (input.substr(peg$currPos, 15) === peg$c82) {
18762
- s0 = peg$c82;
18933
+ if (input.substr(peg$currPos, 15) === peg$c83) {
18934
+ s0 = peg$c83;
18763
18935
  peg$currPos += 15;
18764
18936
  } else {
18765
18937
  s0 = peg$FAILED;
18766
18938
  if (peg$silentFails === 0) {
18767
- peg$fail(peg$e86);
18939
+ peg$fail(peg$e87);
18768
18940
  }
18769
18941
  }
18770
18942
  if (s0 === peg$FAILED) {
18771
- if (input.substr(peg$currPos, 14) === peg$c83) {
18772
- s0 = peg$c83;
18943
+ if (input.substr(peg$currPos, 14) === peg$c84) {
18944
+ s0 = peg$c84;
18773
18945
  peg$currPos += 14;
18774
18946
  } else {
18775
18947
  s0 = peg$FAILED;
18776
18948
  if (peg$silentFails === 0) {
18777
- peg$fail(peg$e87);
18949
+ peg$fail(peg$e88);
18778
18950
  }
18779
18951
  }
18780
18952
  if (s0 === peg$FAILED) {
18781
- if (input.substr(peg$currPos, 16) === peg$c84) {
18782
- s0 = peg$c84;
18953
+ if (input.substr(peg$currPos, 16) === peg$c85) {
18954
+ s0 = peg$c85;
18783
18955
  peg$currPos += 16;
18784
18956
  } else {
18785
18957
  s0 = peg$FAILED;
18786
18958
  if (peg$silentFails === 0) {
18787
- peg$fail(peg$e88);
18959
+ peg$fail(peg$e89);
18788
18960
  }
18789
18961
  }
18790
18962
  if (s0 === peg$FAILED) {
18791
- if (input.substr(peg$currPos, 14) === peg$c85) {
18792
- s0 = peg$c85;
18963
+ if (input.substr(peg$currPos, 14) === peg$c86) {
18964
+ s0 = peg$c86;
18793
18965
  peg$currPos += 14;
18794
18966
  } else {
18795
18967
  s0 = peg$FAILED;
18796
18968
  if (peg$silentFails === 0) {
18797
- peg$fail(peg$e89);
18969
+ peg$fail(peg$e90);
18798
18970
  }
18799
18971
  }
18800
18972
  if (s0 === peg$FAILED) {
18801
- if (input.substr(peg$currPos, 15) === peg$c86) {
18802
- s0 = peg$c86;
18973
+ if (input.substr(peg$currPos, 15) === peg$c87) {
18974
+ s0 = peg$c87;
18803
18975
  peg$currPos += 15;
18804
18976
  } else {
18805
18977
  s0 = peg$FAILED;
18806
18978
  if (peg$silentFails === 0) {
18807
- peg$fail(peg$e90);
18979
+ peg$fail(peg$e91);
18808
18980
  }
18809
18981
  }
18810
18982
  if (s0 === peg$FAILED) {
18811
- if (input.substr(peg$currPos, 15) === peg$c87) {
18812
- s0 = peg$c87;
18983
+ if (input.substr(peg$currPos, 15) === peg$c88) {
18984
+ s0 = peg$c88;
18813
18985
  peg$currPos += 15;
18814
18986
  } else {
18815
18987
  s0 = peg$FAILED;
18816
18988
  if (peg$silentFails === 0) {
18817
- peg$fail(peg$e91);
18989
+ peg$fail(peg$e92);
18818
18990
  }
18819
18991
  }
18820
18992
  if (s0 === peg$FAILED) {
18821
- if (input.substr(peg$currPos, 15) === peg$c88) {
18822
- s0 = peg$c88;
18993
+ if (input.substr(peg$currPos, 15) === peg$c89) {
18994
+ s0 = peg$c89;
18823
18995
  peg$currPos += 15;
18824
18996
  } else {
18825
18997
  s0 = peg$FAILED;
18826
18998
  if (peg$silentFails === 0) {
18827
- peg$fail(peg$e92);
18999
+ peg$fail(peg$e93);
18828
19000
  }
18829
19001
  }
18830
19002
  if (s0 === peg$FAILED) {
18831
- if (input.substr(peg$currPos, 14) === peg$c89) {
18832
- s0 = peg$c89;
19003
+ if (input.substr(peg$currPos, 14) === peg$c90) {
19004
+ s0 = peg$c90;
18833
19005
  peg$currPos += 14;
18834
19006
  } else {
18835
19007
  s0 = peg$FAILED;
18836
19008
  if (peg$silentFails === 0) {
18837
- peg$fail(peg$e93);
19009
+ peg$fail(peg$e94);
18838
19010
  }
18839
19011
  }
18840
19012
  if (s0 === peg$FAILED) {
18841
- if (input.substr(peg$currPos, 10) === peg$c90) {
18842
- s0 = peg$c90;
19013
+ if (input.substr(peg$currPos, 10) === peg$c91) {
19014
+ s0 = peg$c91;
18843
19015
  peg$currPos += 10;
18844
19016
  } else {
18845
19017
  s0 = peg$FAILED;
18846
19018
  if (peg$silentFails === 0) {
18847
- peg$fail(peg$e94);
19019
+ peg$fail(peg$e95);
18848
19020
  }
18849
19021
  }
18850
19022
  if (s0 === peg$FAILED) {
18851
- if (input.substr(peg$currPos, 13) === peg$c91) {
18852
- s0 = peg$c91;
19023
+ if (input.substr(peg$currPos, 13) === peg$c92) {
19024
+ s0 = peg$c92;
18853
19025
  peg$currPos += 13;
18854
19026
  } else {
18855
19027
  s0 = peg$FAILED;
18856
19028
  if (peg$silentFails === 0) {
18857
- peg$fail(peg$e95);
19029
+ peg$fail(peg$e96);
18858
19030
  }
18859
19031
  }
18860
19032
  if (s0 === peg$FAILED) {
18861
- if (input.substr(peg$currPos, 19) === peg$c92) {
18862
- s0 = peg$c92;
19033
+ if (input.substr(peg$currPos, 19) === peg$c93) {
19034
+ s0 = peg$c93;
18863
19035
  peg$currPos += 19;
18864
19036
  } else {
18865
19037
  s0 = peg$FAILED;
18866
19038
  if (peg$silentFails === 0) {
18867
- peg$fail(peg$e96);
19039
+ peg$fail(peg$e97);
18868
19040
  }
18869
19041
  }
18870
19042
  if (s0 === peg$FAILED) {
18871
- if (input.substr(peg$currPos, 10) === peg$c93) {
18872
- s0 = peg$c93;
19043
+ if (input.substr(peg$currPos, 10) === peg$c94) {
19044
+ s0 = peg$c94;
18873
19045
  peg$currPos += 10;
18874
19046
  } else {
18875
19047
  s0 = peg$FAILED;
18876
19048
  if (peg$silentFails === 0) {
18877
- peg$fail(peg$e97);
19049
+ peg$fail(peg$e98);
18878
19050
  }
18879
19051
  }
18880
19052
  if (s0 === peg$FAILED) {
18881
- if (input.substr(peg$currPos, 10) === peg$c94) {
18882
- s0 = peg$c94;
19053
+ if (input.substr(peg$currPos, 10) === peg$c95) {
19054
+ s0 = peg$c95;
18883
19055
  peg$currPos += 10;
18884
19056
  } else {
18885
19057
  s0 = peg$FAILED;
18886
19058
  if (peg$silentFails === 0) {
18887
- peg$fail(peg$e98);
19059
+ peg$fail(peg$e99);
18888
19060
  }
18889
19061
  }
18890
19062
  if (s0 === peg$FAILED) {
18891
- if (input.substr(peg$currPos, 13) === peg$c95) {
18892
- s0 = peg$c95;
19063
+ if (input.substr(peg$currPos, 13) === peg$c96) {
19064
+ s0 = peg$c96;
18893
19065
  peg$currPos += 13;
18894
19066
  } else {
18895
19067
  s0 = peg$FAILED;
18896
19068
  if (peg$silentFails === 0) {
18897
- peg$fail(peg$e99);
19069
+ peg$fail(peg$e100);
18898
19070
  }
18899
19071
  }
18900
19072
  if (s0 === peg$FAILED) {
18901
- if (input.substr(peg$currPos, 11) === peg$c96) {
18902
- s0 = peg$c96;
19073
+ if (input.substr(peg$currPos, 11) === peg$c97) {
19074
+ s0 = peg$c97;
18903
19075
  peg$currPos += 11;
18904
19076
  } else {
18905
19077
  s0 = peg$FAILED;
18906
19078
  if (peg$silentFails === 0) {
18907
- peg$fail(peg$e100);
19079
+ peg$fail(peg$e101);
18908
19080
  }
18909
19081
  }
18910
19082
  }
@@ -18940,233 +19112,233 @@ function peg$parse(input, options) {
18940
19112
  }
18941
19113
  function peg$parseColor() {
18942
19114
  let s0;
18943
- if (input.substr(peg$currPos, 4) === peg$c97) {
18944
- s0 = peg$c97;
19115
+ if (input.substr(peg$currPos, 4) === peg$c98) {
19116
+ s0 = peg$c98;
18945
19117
  peg$currPos += 4;
18946
19118
  } else {
18947
19119
  s0 = peg$FAILED;
18948
19120
  if (peg$silentFails === 0) {
18949
- peg$fail(peg$e101);
19121
+ peg$fail(peg$e102);
18950
19122
  }
18951
19123
  }
18952
19124
  if (s0 === peg$FAILED) {
18953
- if (input.substr(peg$currPos, 5) === peg$c98) {
18954
- s0 = peg$c98;
19125
+ if (input.substr(peg$currPos, 5) === peg$c99) {
19126
+ s0 = peg$c99;
18955
19127
  peg$currPos += 5;
18956
19128
  } else {
18957
19129
  s0 = peg$FAILED;
18958
19130
  if (peg$silentFails === 0) {
18959
- peg$fail(peg$e102);
19131
+ peg$fail(peg$e103);
18960
19132
  }
18961
19133
  }
18962
19134
  if (s0 === peg$FAILED) {
18963
- if (input.substr(peg$currPos, 4) === peg$c99) {
18964
- s0 = peg$c99;
19135
+ if (input.substr(peg$currPos, 4) === peg$c100) {
19136
+ s0 = peg$c100;
18965
19137
  peg$currPos += 4;
18966
19138
  } else {
18967
19139
  s0 = peg$FAILED;
18968
19140
  if (peg$silentFails === 0) {
18969
- peg$fail(peg$e103);
19141
+ peg$fail(peg$e104);
18970
19142
  }
18971
19143
  }
18972
19144
  if (s0 === peg$FAILED) {
18973
- if (input.substr(peg$currPos, 5) === peg$c100) {
18974
- s0 = peg$c100;
19145
+ if (input.substr(peg$currPos, 5) === peg$c101) {
19146
+ s0 = peg$c101;
18975
19147
  peg$currPos += 5;
18976
19148
  } else {
18977
19149
  s0 = peg$FAILED;
18978
19150
  if (peg$silentFails === 0) {
18979
- peg$fail(peg$e104);
19151
+ peg$fail(peg$e105);
18980
19152
  }
18981
19153
  }
18982
19154
  if (s0 === peg$FAILED) {
18983
- if (input.substr(peg$currPos, 7) === peg$c101) {
18984
- s0 = peg$c101;
19155
+ if (input.substr(peg$currPos, 7) === peg$c102) {
19156
+ s0 = peg$c102;
18985
19157
  peg$currPos += 7;
18986
19158
  } else {
18987
19159
  s0 = peg$FAILED;
18988
19160
  if (peg$silentFails === 0) {
18989
- peg$fail(peg$e105);
19161
+ peg$fail(peg$e106);
18990
19162
  }
18991
19163
  }
18992
19164
  if (s0 === peg$FAILED) {
18993
- if (input.substr(peg$currPos, 9) === peg$c102) {
18994
- s0 = peg$c102;
19165
+ if (input.substr(peg$currPos, 9) === peg$c103) {
19166
+ s0 = peg$c103;
18995
19167
  peg$currPos += 9;
18996
19168
  } else {
18997
19169
  s0 = peg$FAILED;
18998
19170
  if (peg$silentFails === 0) {
18999
- peg$fail(peg$e106);
19171
+ peg$fail(peg$e107);
19000
19172
  }
19001
19173
  }
19002
19174
  if (s0 === peg$FAILED) {
19003
- if (input.substr(peg$currPos, 4) === peg$c103) {
19004
- s0 = peg$c103;
19175
+ if (input.substr(peg$currPos, 4) === peg$c104) {
19176
+ s0 = peg$c104;
19005
19177
  peg$currPos += 4;
19006
19178
  } else {
19007
19179
  s0 = peg$FAILED;
19008
19180
  if (peg$silentFails === 0) {
19009
- peg$fail(peg$e107);
19181
+ peg$fail(peg$e108);
19010
19182
  }
19011
19183
  }
19012
19184
  if (s0 === peg$FAILED) {
19013
- if (input.substr(peg$currPos, 8) === peg$c104) {
19014
- s0 = peg$c104;
19185
+ if (input.substr(peg$currPos, 8) === peg$c105) {
19186
+ s0 = peg$c105;
19015
19187
  peg$currPos += 8;
19016
19188
  } else {
19017
19189
  s0 = peg$FAILED;
19018
19190
  if (peg$silentFails === 0) {
19019
- peg$fail(peg$e108);
19191
+ peg$fail(peg$e109);
19020
19192
  }
19021
19193
  }
19022
19194
  if (s0 === peg$FAILED) {
19023
- if (input.substr(peg$currPos, 5) === peg$c105) {
19024
- s0 = peg$c105;
19195
+ if (input.substr(peg$currPos, 5) === peg$c106) {
19196
+ s0 = peg$c106;
19025
19197
  peg$currPos += 5;
19026
19198
  } else {
19027
19199
  s0 = peg$FAILED;
19028
19200
  if (peg$silentFails === 0) {
19029
- peg$fail(peg$e109);
19201
+ peg$fail(peg$e110);
19030
19202
  }
19031
19203
  }
19032
19204
  if (s0 === peg$FAILED) {
19033
- if (input.substr(peg$currPos, 4) === peg$c106) {
19034
- s0 = peg$c106;
19205
+ if (input.substr(peg$currPos, 4) === peg$c107) {
19206
+ s0 = peg$c107;
19035
19207
  peg$currPos += 4;
19036
19208
  } else {
19037
19209
  s0 = peg$FAILED;
19038
19210
  if (peg$silentFails === 0) {
19039
- peg$fail(peg$e110);
19211
+ peg$fail(peg$e111);
19040
19212
  }
19041
19213
  }
19042
19214
  if (s0 === peg$FAILED) {
19043
- if (input.substr(peg$currPos, 7) === peg$c107) {
19044
- s0 = peg$c107;
19215
+ if (input.substr(peg$currPos, 7) === peg$c108) {
19216
+ s0 = peg$c108;
19045
19217
  peg$currPos += 7;
19046
19218
  } else {
19047
19219
  s0 = peg$FAILED;
19048
19220
  if (peg$silentFails === 0) {
19049
- peg$fail(peg$e111);
19221
+ peg$fail(peg$e112);
19050
19222
  }
19051
19223
  }
19052
19224
  if (s0 === peg$FAILED) {
19053
- if (input.substr(peg$currPos, 6) === peg$c108) {
19054
- s0 = peg$c108;
19225
+ if (input.substr(peg$currPos, 6) === peg$c109) {
19226
+ s0 = peg$c109;
19055
19227
  peg$currPos += 6;
19056
19228
  } else {
19057
19229
  s0 = peg$FAILED;
19058
19230
  if (peg$silentFails === 0) {
19059
- peg$fail(peg$e112);
19231
+ peg$fail(peg$e113);
19060
19232
  }
19061
19233
  }
19062
19234
  if (s0 === peg$FAILED) {
19063
- if (input.substr(peg$currPos, 4) === peg$c109) {
19064
- s0 = peg$c109;
19235
+ if (input.substr(peg$currPos, 4) === peg$c110) {
19236
+ s0 = peg$c110;
19065
19237
  peg$currPos += 4;
19066
19238
  } else {
19067
19239
  s0 = peg$FAILED;
19068
19240
  if (peg$silentFails === 0) {
19069
- peg$fail(peg$e113);
19241
+ peg$fail(peg$e114);
19070
19242
  }
19071
19243
  }
19072
19244
  if (s0 === peg$FAILED) {
19073
- if (input.substr(peg$currPos, 5) === peg$c110) {
19074
- s0 = peg$c110;
19245
+ if (input.substr(peg$currPos, 5) === peg$c111) {
19246
+ s0 = peg$c111;
19075
19247
  peg$currPos += 5;
19076
19248
  } else {
19077
19249
  s0 = peg$FAILED;
19078
19250
  if (peg$silentFails === 0) {
19079
- peg$fail(peg$e114);
19251
+ peg$fail(peg$e115);
19080
19252
  }
19081
19253
  }
19082
19254
  if (s0 === peg$FAILED) {
19083
- if (input.substr(peg$currPos, 6) === peg$c111) {
19084
- s0 = peg$c111;
19255
+ if (input.substr(peg$currPos, 6) === peg$c112) {
19256
+ s0 = peg$c112;
19085
19257
  peg$currPos += 6;
19086
19258
  } else {
19087
19259
  s0 = peg$FAILED;
19088
19260
  if (peg$silentFails === 0) {
19089
- peg$fail(peg$e115);
19261
+ peg$fail(peg$e116);
19090
19262
  }
19091
19263
  }
19092
19264
  if (s0 === peg$FAILED) {
19093
- if (input.substr(peg$currPos, 4) === peg$c112) {
19094
- s0 = peg$c112;
19265
+ if (input.substr(peg$currPos, 4) === peg$c113) {
19266
+ s0 = peg$c113;
19095
19267
  peg$currPos += 4;
19096
19268
  } else {
19097
19269
  s0 = peg$FAILED;
19098
19270
  if (peg$silentFails === 0) {
19099
- peg$fail(peg$e116);
19271
+ peg$fail(peg$e117);
19100
19272
  }
19101
19273
  }
19102
19274
  if (s0 === peg$FAILED) {
19103
- if (input.substr(peg$currPos, 6) === peg$c113) {
19104
- s0 = peg$c113;
19275
+ if (input.substr(peg$currPos, 6) === peg$c114) {
19276
+ s0 = peg$c114;
19105
19277
  peg$currPos += 6;
19106
19278
  } else {
19107
19279
  s0 = peg$FAILED;
19108
19280
  if (peg$silentFails === 0) {
19109
- peg$fail(peg$e117);
19281
+ peg$fail(peg$e118);
19110
19282
  }
19111
19283
  }
19112
19284
  if (s0 === peg$FAILED) {
19113
- if (input.substr(peg$currPos, 3) === peg$c114) {
19114
- s0 = peg$c114;
19285
+ if (input.substr(peg$currPos, 3) === peg$c115) {
19286
+ s0 = peg$c115;
19115
19287
  peg$currPos += 3;
19116
19288
  } else {
19117
19289
  s0 = peg$FAILED;
19118
19290
  if (peg$silentFails === 0) {
19119
- peg$fail(peg$e118);
19291
+ peg$fail(peg$e119);
19120
19292
  }
19121
19293
  }
19122
19294
  if (s0 === peg$FAILED) {
19123
- if (input.substr(peg$currPos, 6) === peg$c115) {
19124
- s0 = peg$c115;
19295
+ if (input.substr(peg$currPos, 6) === peg$c116) {
19296
+ s0 = peg$c116;
19125
19297
  peg$currPos += 6;
19126
19298
  } else {
19127
19299
  s0 = peg$FAILED;
19128
19300
  if (peg$silentFails === 0) {
19129
- peg$fail(peg$e119);
19301
+ peg$fail(peg$e120);
19130
19302
  }
19131
19303
  }
19132
19304
  if (s0 === peg$FAILED) {
19133
- if (input.substr(peg$currPos, 4) === peg$c116) {
19134
- s0 = peg$c116;
19305
+ if (input.substr(peg$currPos, 4) === peg$c117) {
19306
+ s0 = peg$c117;
19135
19307
  peg$currPos += 4;
19136
19308
  } else {
19137
19309
  s0 = peg$FAILED;
19138
19310
  if (peg$silentFails === 0) {
19139
- peg$fail(peg$e120);
19311
+ peg$fail(peg$e121);
19140
19312
  }
19141
19313
  }
19142
19314
  if (s0 === peg$FAILED) {
19143
- if (input.substr(peg$currPos, 6) === peg$c117) {
19144
- s0 = peg$c117;
19315
+ if (input.substr(peg$currPos, 6) === peg$c118) {
19316
+ s0 = peg$c118;
19145
19317
  peg$currPos += 6;
19146
19318
  } else {
19147
19319
  s0 = peg$FAILED;
19148
19320
  if (peg$silentFails === 0) {
19149
- peg$fail(peg$e121);
19321
+ peg$fail(peg$e122);
19150
19322
  }
19151
19323
  }
19152
19324
  if (s0 === peg$FAILED) {
19153
- if (input.substr(peg$currPos, 5) === peg$c118) {
19154
- s0 = peg$c118;
19325
+ if (input.substr(peg$currPos, 5) === peg$c119) {
19326
+ s0 = peg$c119;
19155
19327
  peg$currPos += 5;
19156
19328
  } else {
19157
19329
  s0 = peg$FAILED;
19158
19330
  if (peg$silentFails === 0) {
19159
- peg$fail(peg$e122);
19331
+ peg$fail(peg$e123);
19160
19332
  }
19161
19333
  }
19162
19334
  if (s0 === peg$FAILED) {
19163
- if (input.substr(peg$currPos, 6) === peg$c119) {
19164
- s0 = peg$c119;
19335
+ if (input.substr(peg$currPos, 6) === peg$c120) {
19336
+ s0 = peg$c120;
19165
19337
  peg$currPos += 6;
19166
19338
  } else {
19167
19339
  s0 = peg$FAILED;
19168
19340
  if (peg$silentFails === 0) {
19169
- peg$fail(peg$e123);
19341
+ peg$fail(peg$e124);
19170
19342
  }
19171
19343
  }
19172
19344
  }
@@ -19199,7 +19371,7 @@ function peg$parse(input, options) {
19199
19371
  s0 = peg$currPos;
19200
19372
  s1 = peg$parsebitmarkMinusMinusString();
19201
19373
  peg$savedPos = s0;
19202
- s1 = peg$f89(s1);
19374
+ s1 = peg$f90(s1);
19203
19375
  s0 = s1;
19204
19376
  peg$silentFails--;
19205
19377
  return s0;
@@ -19225,7 +19397,7 @@ function peg$parse(input, options) {
19225
19397
  }
19226
19398
  }
19227
19399
  peg$savedPos = s0;
19228
- s0 = peg$f90(s1, s2);
19400
+ s0 = peg$f91(s1, s2);
19229
19401
  peg$silentFails--;
19230
19402
  return s0;
19231
19403
  }
@@ -19235,7 +19407,7 @@ function peg$parse(input, options) {
19235
19407
  s1 = peg$parseNL();
19236
19408
  if (s1 !== peg$FAILED) {
19237
19409
  peg$savedPos = s0;
19238
- s1 = peg$f91();
19410
+ s1 = peg$f92();
19239
19411
  }
19240
19412
  s0 = s1;
19241
19413
  if (s0 === peg$FAILED) {
@@ -19364,7 +19536,7 @@ function peg$parse(input, options) {
19364
19536
  }
19365
19537
  if (s1 !== peg$FAILED) {
19366
19538
  peg$savedPos = s0;
19367
- s1 = peg$f92(s1);
19539
+ s1 = peg$f93(s1);
19368
19540
  }
19369
19541
  s0 = s1;
19370
19542
  }
@@ -19373,12 +19545,12 @@ function peg$parse(input, options) {
19373
19545
  function peg$parseBoldHalfTag() {
19374
19546
  let s0;
19375
19547
  if (input.charCodeAt(peg$currPos) === 42) {
19376
- s0 = peg$c120;
19548
+ s0 = peg$c121;
19377
19549
  peg$currPos++;
19378
19550
  } else {
19379
19551
  s0 = peg$FAILED;
19380
19552
  if (peg$silentFails === 0) {
19381
- peg$fail(peg$e124);
19553
+ peg$fail(peg$e125);
19382
19554
  }
19383
19555
  }
19384
19556
  return s0;
@@ -19386,12 +19558,12 @@ function peg$parse(input, options) {
19386
19558
  function peg$parseItalicHalfTag() {
19387
19559
  let s0;
19388
19560
  if (input.charCodeAt(peg$currPos) === 95) {
19389
- s0 = peg$c121;
19561
+ s0 = peg$c122;
19390
19562
  peg$currPos++;
19391
19563
  } else {
19392
19564
  s0 = peg$FAILED;
19393
19565
  if (peg$silentFails === 0) {
19394
- peg$fail(peg$e125);
19566
+ peg$fail(peg$e126);
19395
19567
  }
19396
19568
  }
19397
19569
  return s0;
@@ -19399,12 +19571,12 @@ function peg$parse(input, options) {
19399
19571
  function peg$parseLightHalfTag() {
19400
19572
  let s0;
19401
19573
  if (input.charCodeAt(peg$currPos) === 96) {
19402
- s0 = peg$c122;
19574
+ s0 = peg$c123;
19403
19575
  peg$currPos++;
19404
19576
  } else {
19405
19577
  s0 = peg$FAILED;
19406
19578
  if (peg$silentFails === 0) {
19407
- peg$fail(peg$e126);
19579
+ peg$fail(peg$e127);
19408
19580
  }
19409
19581
  }
19410
19582
  return s0;
@@ -19412,12 +19584,12 @@ function peg$parse(input, options) {
19412
19584
  function peg$parseHighlightHalfTag() {
19413
19585
  let s0;
19414
19586
  if (input.charCodeAt(peg$currPos) === 33) {
19415
- s0 = peg$c123;
19587
+ s0 = peg$c124;
19416
19588
  peg$currPos++;
19417
19589
  } else {
19418
19590
  s0 = peg$FAILED;
19419
19591
  if (peg$silentFails === 0) {
19420
- peg$fail(peg$e127);
19592
+ peg$fail(peg$e128);
19421
19593
  }
19422
19594
  }
19423
19595
  return s0;
@@ -19500,13 +19672,13 @@ function peg$parse(input, options) {
19500
19672
  }
19501
19673
  function peg$parseBodyBitOpenTag() {
19502
19674
  let s0;
19503
- if (input.substr(peg$currPos, 2) === peg$c124) {
19504
- s0 = peg$c124;
19675
+ if (input.substr(peg$currPos, 2) === peg$c125) {
19676
+ s0 = peg$c125;
19505
19677
  peg$currPos += 2;
19506
19678
  } else {
19507
19679
  s0 = peg$FAILED;
19508
19680
  if (peg$silentFails === 0) {
19509
- peg$fail(peg$e128);
19681
+ peg$fail(peg$e129);
19510
19682
  }
19511
19683
  }
19512
19684
  return s0;
@@ -19514,12 +19686,12 @@ function peg$parse(input, options) {
19514
19686
  function peg$parseBodyBitCloseTag() {
19515
19687
  let s0;
19516
19688
  if (input.charCodeAt(peg$currPos) === 93) {
19517
- s0 = peg$c125;
19689
+ s0 = peg$c126;
19518
19690
  peg$currPos++;
19519
19691
  } else {
19520
19692
  s0 = peg$FAILED;
19521
19693
  if (peg$silentFails === 0) {
19522
- peg$fail(peg$e129);
19694
+ peg$fail(peg$e130);
19523
19695
  }
19524
19696
  }
19525
19697
  return s0;
@@ -19565,7 +19737,7 @@ function peg$parse(input, options) {
19565
19737
  s3 = peg$parseBodyBitCloseTag();
19566
19738
  if (s3 !== peg$FAILED) {
19567
19739
  peg$savedPos = s0;
19568
- s0 = peg$f93(s2);
19740
+ s0 = peg$f94(s2);
19569
19741
  } else {
19570
19742
  peg$currPos = s0;
19571
19743
  s0 = peg$FAILED;
@@ -19655,7 +19827,7 @@ function peg$parse(input, options) {
19655
19827
  s3 = peg$parseBoldTag();
19656
19828
  if (s3 !== peg$FAILED) {
19657
19829
  peg$savedPos = s0;
19658
- s0 = peg$f94(s2);
19830
+ s0 = peg$f95(s2);
19659
19831
  } else {
19660
19832
  peg$currPos = s0;
19661
19833
  s0 = peg$FAILED;
@@ -19741,7 +19913,7 @@ function peg$parse(input, options) {
19741
19913
  s3 = peg$parseItalicTag();
19742
19914
  if (s3 !== peg$FAILED) {
19743
19915
  peg$savedPos = s0;
19744
- s0 = peg$f95(s2);
19916
+ s0 = peg$f96(s2);
19745
19917
  } else {
19746
19918
  peg$currPos = s0;
19747
19919
  s0 = peg$FAILED;
@@ -19827,7 +19999,7 @@ function peg$parse(input, options) {
19827
19999
  s3 = peg$parseLightTag();
19828
20000
  if (s3 !== peg$FAILED) {
19829
20001
  peg$savedPos = s0;
19830
- s0 = peg$f96(s2);
20002
+ s0 = peg$f97(s2);
19831
20003
  } else {
19832
20004
  peg$currPos = s0;
19833
20005
  s0 = peg$FAILED;
@@ -19913,7 +20085,7 @@ function peg$parse(input, options) {
19913
20085
  s3 = peg$parseHighlightTag();
19914
20086
  if (s3 !== peg$FAILED) {
19915
20087
  peg$savedPos = s0;
19916
- s0 = peg$f97(s2);
20088
+ s0 = peg$f98(s2);
19917
20089
  } else {
19918
20090
  peg$currPos = s0;
19919
20091
  s0 = peg$FAILED;
@@ -19998,22 +20170,22 @@ function peg$parse(input, options) {
19998
20170
  let s0, s1;
19999
20171
  peg$silentFails++;
20000
20172
  if (input.charCodeAt(peg$currPos) === 10) {
20001
- s0 = peg$c126;
20173
+ s0 = peg$c127;
20002
20174
  peg$currPos++;
20003
20175
  } else {
20004
20176
  s0 = peg$FAILED;
20005
20177
  if (peg$silentFails === 0) {
20006
- peg$fail(peg$e131);
20178
+ peg$fail(peg$e132);
20007
20179
  }
20008
20180
  }
20009
20181
  if (s0 === peg$FAILED) {
20010
- if (input.substr(peg$currPos, 2) === peg$c127) {
20011
- s0 = peg$c127;
20182
+ if (input.substr(peg$currPos, 2) === peg$c128) {
20183
+ s0 = peg$c128;
20012
20184
  peg$currPos += 2;
20013
20185
  } else {
20014
20186
  s0 = peg$FAILED;
20015
20187
  if (peg$silentFails === 0) {
20016
- peg$fail(peg$e132);
20188
+ peg$fail(peg$e133);
20017
20189
  }
20018
20190
  }
20019
20191
  if (s0 === peg$FAILED) {
@@ -20023,7 +20195,7 @@ function peg$parse(input, options) {
20023
20195
  } else {
20024
20196
  s0 = peg$FAILED;
20025
20197
  if (peg$silentFails === 0) {
20026
- peg$fail(peg$e133);
20198
+ peg$fail(peg$e134);
20027
20199
  }
20028
20200
  }
20029
20201
  }
@@ -20032,7 +20204,7 @@ function peg$parse(input, options) {
20032
20204
  if (s0 === peg$FAILED) {
20033
20205
  s1 = peg$FAILED;
20034
20206
  if (peg$silentFails === 0) {
20035
- peg$fail(peg$e130);
20207
+ peg$fail(peg$e131);
20036
20208
  }
20037
20209
  }
20038
20210
  return s0;
@@ -20045,7 +20217,7 @@ function peg$parse(input, options) {
20045
20217
  } else {
20046
20218
  s0 = peg$FAILED;
20047
20219
  if (peg$silentFails === 0) {
20048
- peg$fail(peg$e134);
20220
+ peg$fail(peg$e135);
20049
20221
  }
20050
20222
  }
20051
20223
  return s0;
@@ -20079,35 +20251,35 @@ function peg$parse(input, options) {
20079
20251
  let s0, s1, s2, s3, s4, s5, s6, s7, s8;
20080
20252
  s0 = peg$currPos;
20081
20253
  s1 = peg$currPos;
20082
- if (input.substr(peg$currPos, 4) === peg$c128) {
20083
- s2 = peg$c128;
20254
+ if (input.substr(peg$currPos, 4) === peg$c129) {
20255
+ s2 = peg$c129;
20084
20256
  peg$currPos += 4;
20085
20257
  } else {
20086
20258
  s2 = peg$FAILED;
20087
20259
  if (peg$silentFails === 0) {
20088
- peg$fail(peg$e135);
20260
+ peg$fail(peg$e136);
20089
20261
  }
20090
20262
  }
20091
20263
  if (s2 !== peg$FAILED) {
20092
20264
  if (input.charCodeAt(peg$currPos) === 115) {
20093
- s3 = peg$c129;
20265
+ s3 = peg$c130;
20094
20266
  peg$currPos++;
20095
20267
  } else {
20096
20268
  s3 = peg$FAILED;
20097
20269
  if (peg$silentFails === 0) {
20098
- peg$fail(peg$e136);
20270
+ peg$fail(peg$e137);
20099
20271
  }
20100
20272
  }
20101
20273
  if (s3 === peg$FAILED) {
20102
20274
  s3 = null;
20103
20275
  }
20104
- if (input.substr(peg$currPos, 3) === peg$c130) {
20105
- s4 = peg$c130;
20276
+ if (input.substr(peg$currPos, 3) === peg$c131) {
20277
+ s4 = peg$c131;
20106
20278
  peg$currPos += 3;
20107
20279
  } else {
20108
20280
  s4 = peg$FAILED;
20109
20281
  if (peg$silentFails === 0) {
20110
- peg$fail(peg$e137);
20282
+ peg$fail(peg$e138);
20111
20283
  }
20112
20284
  }
20113
20285
  if (s4 !== peg$FAILED) {
@@ -20185,35 +20357,35 @@ function peg$parse(input, options) {
20185
20357
  s0 = peg$currPos;
20186
20358
  s1 = peg$currPos;
20187
20359
  s2 = peg$currPos;
20188
- if (input.substr(peg$currPos, 4) === peg$c128) {
20189
- s3 = peg$c128;
20360
+ if (input.substr(peg$currPos, 4) === peg$c129) {
20361
+ s3 = peg$c129;
20190
20362
  peg$currPos += 4;
20191
20363
  } else {
20192
20364
  s3 = peg$FAILED;
20193
20365
  if (peg$silentFails === 0) {
20194
- peg$fail(peg$e135);
20366
+ peg$fail(peg$e136);
20195
20367
  }
20196
20368
  }
20197
20369
  if (s3 !== peg$FAILED) {
20198
20370
  if (input.charCodeAt(peg$currPos) === 115) {
20199
- s4 = peg$c129;
20371
+ s4 = peg$c130;
20200
20372
  peg$currPos++;
20201
20373
  } else {
20202
20374
  s4 = peg$FAILED;
20203
20375
  if (peg$silentFails === 0) {
20204
- peg$fail(peg$e136);
20376
+ peg$fail(peg$e137);
20205
20377
  }
20206
20378
  }
20207
20379
  if (s4 === peg$FAILED) {
20208
20380
  s4 = null;
20209
20381
  }
20210
- if (input.substr(peg$currPos, 3) === peg$c130) {
20211
- s5 = peg$c130;
20382
+ if (input.substr(peg$currPos, 3) === peg$c131) {
20383
+ s5 = peg$c131;
20212
20384
  peg$currPos += 3;
20213
20385
  } else {
20214
20386
  s5 = peg$FAILED;
20215
20387
  if (peg$silentFails === 0) {
20216
- peg$fail(peg$e137);
20388
+ peg$fail(peg$e138);
20217
20389
  }
20218
20390
  }
20219
20391
  if (s5 !== peg$FAILED) {
@@ -20228,13 +20400,13 @@ function peg$parse(input, options) {
20228
20400
  s2 = peg$FAILED;
20229
20401
  }
20230
20402
  if (s2 === peg$FAILED) {
20231
- if (input.substr(peg$currPos, 7) === peg$c131) {
20232
- s2 = peg$c131;
20403
+ if (input.substr(peg$currPos, 7) === peg$c132) {
20404
+ s2 = peg$c132;
20233
20405
  peg$currPos += 7;
20234
20406
  } else {
20235
20407
  s2 = peg$FAILED;
20236
20408
  if (peg$silentFails === 0) {
20237
- peg$fail(peg$e138);
20409
+ peg$fail(peg$e139);
20238
20410
  }
20239
20411
  }
20240
20412
  }
@@ -20299,7 +20471,7 @@ function peg$parse(input, options) {
20299
20471
  }
20300
20472
  s2 = input.substring(s2, peg$currPos);
20301
20473
  peg$savedPos = s0;
20302
- s0 = peg$f98(s1, s2);
20474
+ s0 = peg$f99(s1, s2);
20303
20475
  } else {
20304
20476
  peg$currPos = s0;
20305
20477
  s0 = peg$FAILED;
@@ -20314,7 +20486,7 @@ function peg$parse(input, options) {
20314
20486
  } else {
20315
20487
  s0 = peg$FAILED;
20316
20488
  if (peg$silentFails === 0) {
20317
- peg$fail(peg$e139);
20489
+ peg$fail(peg$e140);
20318
20490
  }
20319
20491
  }
20320
20492
  return s0;
@@ -22861,6 +23033,7 @@ var Builder = class extends BaseBuilder {
22861
23033
  data.ratingLevelSelected,
22862
23034
  options
22863
23035
  ),
23036
+ formula: this.toAstProperty(bitType, ConfigKey.property_formula, data.formula, options),
22864
23037
  markConfig: this.buildMarkConfigs(context, data.markConfig),
22865
23038
  imageSource: this.buildImageSource(context, data.imageSource),
22866
23039
  person: this.buildPerson(context, data.person),