@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.js CHANGED
@@ -34,6 +34,7 @@ var BitType = superenum({
34
34
  appAiPrompt: "app-ai-prompt",
35
35
  appBitmarkFromEditor: "app-bitmark-from-editor",
36
36
  appBitmarkFromJavascript: "app-bitmark-from-javascript",
37
+ appCalculatorLatex: "app-calculator-latex",
37
38
  appCodeCell: "app-code-cell",
38
39
  appCodeEditor: "app-code-editor",
39
40
  appCodeIde: "app-code-ide",
@@ -453,6 +454,10 @@ var BitType = superenum({
453
454
  reviewRequestForReviewNote: "review-request-for-review-note",
454
455
  reviewReviewerNote: "review-reviewer-note",
455
456
  sampleSolution: "sample-solution",
457
+ sandbox: "sandbox",
458
+ sandboxOutputJson: "sandbox-output-json",
459
+ sandboxOutputMarkup: "sandbox-output-markup",
460
+ sandboxOutputRender: "sandbox-output-render",
456
461
  scorm: "scorm",
457
462
  screenshot: "screenshot",
458
463
  selfAssessment: "self-assessment",
@@ -1154,6 +1159,7 @@ var propertyKeys = {
1154
1159
  property_focusX: "@focusX",
1155
1160
  property_focusY: "@focusY",
1156
1161
  property_format: "@format",
1162
+ property_formula: "@formula",
1157
1163
  property_fullName: "@fullName",
1158
1164
  property_groupTag: "@groupTag",
1159
1165
  property_handInAcceptFileType: "@handInAcceptFileType",
@@ -5078,6 +5084,26 @@ var BITS = {
5078
5084
  baseBitType: BitType.code,
5079
5085
  description: "Standard output bit, used to display standard output from code snippets"
5080
5086
  },
5087
+ [BitType.sandbox]: {
5088
+ since: "4.10.0",
5089
+ baseBitType: BitType.code,
5090
+ description: "A sandbox bit, used to create a sandboxed environment for code execution"
5091
+ },
5092
+ [BitType.sandboxOutputJson]: {
5093
+ since: "4.10.0",
5094
+ baseBitType: BitType.code,
5095
+ description: "A sandbox output JSON bit, used to display JSON output from sandboxed code"
5096
+ },
5097
+ [BitType.sandboxOutputMarkup]: {
5098
+ since: "4.10.0",
5099
+ baseBitType: BitType.code,
5100
+ description: "A sandbox output markup bit, used to display markup output from sandboxed code"
5101
+ },
5102
+ [BitType.sandboxOutputRender]: {
5103
+ since: "4.10.0",
5104
+ baseBitType: BitType.code,
5105
+ description: "A sandbox output render bit, used to display rendered output from sandboxed code"
5106
+ },
5081
5107
  [BitType.step]: {
5082
5108
  since: "1.5.1",
5083
5109
  baseBitType: BitType.article,
@@ -6073,6 +6099,18 @@ var BITS = {
6073
6099
  }
6074
6100
  ]
6075
6101
  },
6102
+ [BitType.appCalculatorLatex]: {
6103
+ since: "4.10.0",
6104
+ baseBitType: BitType.article,
6105
+ description: "A LaTeX calculator bit, used to create a calculator that can interpret LaTeX expressions",
6106
+ tags: [
6107
+ {
6108
+ key: ConfigKey.property_formula,
6109
+ description: "The LaTeX formula for the calculator, used to define the calculation logic",
6110
+ format: TagFormat.plainText
6111
+ }
6112
+ ]
6113
+ },
6076
6114
  [BitType.container]: {
6077
6115
  since: "1.9.0",
6078
6116
  baseBitType: BitType.article,
@@ -9088,7 +9126,7 @@ var instance2 = new Config();
9088
9126
  // src/generated/package_info.ts
9089
9127
  var PACKAGE_INFO = {
9090
9128
  "name": "@gmb/bitmark-parser-generator",
9091
- "version": "4.8.0",
9129
+ "version": "4.10.0",
9092
9130
  "author": "Get More Brain Ltd",
9093
9131
  "license": "ISC",
9094
9132
  "description": "A bitmark parser and generator using Peggy.js"
@@ -9614,6 +9652,8 @@ var NodeType = superenum20({
9614
9652
  footerText: "footerText",
9615
9653
  forKeys: "forKeys",
9616
9654
  format: "format",
9655
+ formula: "formula",
9656
+ formulaValue: "formulaValue",
9617
9657
  forValues: "forValues",
9618
9658
  forValuesValue: "forValuesValue",
9619
9659
  fullName: "fullName",
@@ -11586,7 +11626,7 @@ var TextGenerator = class extends AstWalkerGenerator {
11586
11626
  };
11587
11627
 
11588
11628
  // src/generated/parser/text/text-peggy-parser.js
11589
- var VERSION = "8.34.3";
11629
+ var VERSION = "8.35.0";
11590
11630
  function unbreakscape(str) {
11591
11631
  if (typeof str !== "string") return null;
11592
11632
  return instance3.unbreakscape(str);
@@ -11776,100 +11816,101 @@ function peg$parse(input, options) {
11776
11816
  const peg$c35 = "=";
11777
11817
  const peg$c36 = "|latex|";
11778
11818
  const peg$c37 = "|imageInline:";
11779
- const peg$c38 = "alignmentVertical";
11780
- const peg$c39 = "size";
11781
- const peg$c40 = "top";
11782
- const peg$c41 = "middle";
11783
- const peg$c42 = "bottom";
11784
- const peg$c43 = "baseline";
11785
- const peg$c44 = "sub";
11786
- const peg$c45 = "super";
11787
- const peg$c46 = "text-bottom";
11788
- const peg$c47 = "text-top";
11789
- const peg$c48 = "line-height";
11790
- const peg$c49 = "font-height";
11791
- const peg$c50 = "explicit";
11792
- const peg$c51 = "link:";
11793
- const peg$c52 = "extref:";
11794
- const peg$c53 = "provider:";
11795
- const peg$c54 = "xref:";
11796
- const peg$c55 = "\u25BA";
11797
- const peg$c56 = "symbol:";
11798
- const peg$c57 = "footnote:";
11799
- const peg$c58 = "footnote*:";
11800
- const peg$c59 = "var:";
11801
- const peg$c60 = "code:";
11802
- const peg$c61 = "timer";
11803
- const peg$c62 = "timer:";
11804
- const peg$c63 = "duration:";
11805
- const peg$c64 = "P";
11806
- const peg$c65 = "color:";
11807
- const peg$c66 = "|\u25BA";
11808
- const peg$c67 = "bold";
11809
- const peg$c68 = "italic";
11810
- const peg$c69 = "light";
11811
- const peg$c70 = "highlight";
11812
- const peg$c71 = "strike";
11813
- const peg$c72 = "subscript";
11814
- const peg$c73 = "superscript";
11815
- const peg$c74 = "ins";
11816
- const peg$c75 = "del";
11817
- const peg$c76 = "underline";
11818
- const peg$c77 = "doubleUnderline";
11819
- const peg$c78 = "circle";
11820
- const peg$c79 = "languageEmRed";
11821
- const peg$c80 = "languageEmOrange";
11822
- const peg$c81 = "languageEmYellow";
11823
- const peg$c82 = "languageEmGreen";
11824
- const peg$c83 = "languageEmBlue";
11825
- const peg$c84 = "languageEmPurple";
11826
- const peg$c85 = "languageEmPink";
11827
- const peg$c86 = "languageEmBrown";
11828
- const peg$c87 = "languageEmBlack";
11829
- const peg$c88 = "languageEmWhite";
11830
- const peg$c89 = "languageEmGray";
11831
- const peg$c90 = "languageEm";
11832
- const peg$c91 = "userUnderline";
11833
- const peg$c92 = "userDoubleUnderline";
11834
- const peg$c93 = "userStrike";
11835
- const peg$c94 = "userCircle";
11836
- const peg$c95 = "userHighlight";
11837
- const peg$c96 = "notranslate";
11838
- const peg$c97 = "aqua";
11839
- const peg$c98 = "black";
11840
- const peg$c99 = "blue";
11841
- const peg$c100 = "brown";
11842
- const peg$c101 = "fuchsia";
11843
- const peg$c102 = "lightgrey";
11844
- const peg$c103 = "gray";
11845
- const peg$c104 = "darkgray";
11846
- const peg$c105 = "green";
11847
- const peg$c106 = "lime";
11848
- const peg$c107 = "magenta";
11849
- const peg$c108 = "maroon";
11850
- const peg$c109 = "navy";
11851
- const peg$c110 = "olive";
11852
- const peg$c111 = "orange";
11853
- const peg$c112 = "pink";
11854
- const peg$c113 = "purple";
11855
- const peg$c114 = "red";
11856
- const peg$c115 = "silver";
11857
- const peg$c116 = "teal";
11858
- const peg$c117 = "violet";
11859
- const peg$c118 = "white";
11860
- const peg$c119 = "yellow";
11861
- const peg$c120 = "*";
11862
- const peg$c121 = "_";
11863
- const peg$c122 = "`";
11864
- const peg$c123 = "!";
11865
- const peg$c124 = "[!";
11866
- const peg$c125 = "]";
11867
- const peg$c126 = "\n";
11868
- const peg$c127 = "\r\n";
11869
- const peg$c128 = "http";
11870
- const peg$c129 = "s";
11871
- const peg$c130 = "://";
11872
- const peg$c131 = "mailto:";
11819
+ const peg$c38 = "srcAlt";
11820
+ const peg$c39 = "alignmentVertical";
11821
+ const peg$c40 = "size";
11822
+ const peg$c41 = "top";
11823
+ const peg$c42 = "middle";
11824
+ const peg$c43 = "bottom";
11825
+ const peg$c44 = "baseline";
11826
+ const peg$c45 = "sub";
11827
+ const peg$c46 = "super";
11828
+ const peg$c47 = "text-bottom";
11829
+ const peg$c48 = "text-top";
11830
+ const peg$c49 = "line-height";
11831
+ const peg$c50 = "font-height";
11832
+ const peg$c51 = "explicit";
11833
+ const peg$c52 = "link:";
11834
+ const peg$c53 = "extref:";
11835
+ const peg$c54 = "provider:";
11836
+ const peg$c55 = "xref:";
11837
+ const peg$c56 = "\u25BA";
11838
+ const peg$c57 = "symbol:";
11839
+ const peg$c58 = "footnote:";
11840
+ const peg$c59 = "footnote*:";
11841
+ const peg$c60 = "var:";
11842
+ const peg$c61 = "code:";
11843
+ const peg$c62 = "timer";
11844
+ const peg$c63 = "timer:";
11845
+ const peg$c64 = "duration:";
11846
+ const peg$c65 = "P";
11847
+ const peg$c66 = "color:";
11848
+ const peg$c67 = "|\u25BA";
11849
+ const peg$c68 = "bold";
11850
+ const peg$c69 = "italic";
11851
+ const peg$c70 = "light";
11852
+ const peg$c71 = "highlight";
11853
+ const peg$c72 = "strike";
11854
+ const peg$c73 = "subscript";
11855
+ const peg$c74 = "superscript";
11856
+ const peg$c75 = "ins";
11857
+ const peg$c76 = "del";
11858
+ const peg$c77 = "underline";
11859
+ const peg$c78 = "doubleUnderline";
11860
+ const peg$c79 = "circle";
11861
+ const peg$c80 = "languageEmRed";
11862
+ const peg$c81 = "languageEmOrange";
11863
+ const peg$c82 = "languageEmYellow";
11864
+ const peg$c83 = "languageEmGreen";
11865
+ const peg$c84 = "languageEmBlue";
11866
+ const peg$c85 = "languageEmPurple";
11867
+ const peg$c86 = "languageEmPink";
11868
+ const peg$c87 = "languageEmBrown";
11869
+ const peg$c88 = "languageEmBlack";
11870
+ const peg$c89 = "languageEmWhite";
11871
+ const peg$c90 = "languageEmGray";
11872
+ const peg$c91 = "languageEm";
11873
+ const peg$c92 = "userUnderline";
11874
+ const peg$c93 = "userDoubleUnderline";
11875
+ const peg$c94 = "userStrike";
11876
+ const peg$c95 = "userCircle";
11877
+ const peg$c96 = "userHighlight";
11878
+ const peg$c97 = "notranslate";
11879
+ const peg$c98 = "aqua";
11880
+ const peg$c99 = "black";
11881
+ const peg$c100 = "blue";
11882
+ const peg$c101 = "brown";
11883
+ const peg$c102 = "fuchsia";
11884
+ const peg$c103 = "lightgrey";
11885
+ const peg$c104 = "gray";
11886
+ const peg$c105 = "darkgray";
11887
+ const peg$c106 = "green";
11888
+ const peg$c107 = "lime";
11889
+ const peg$c108 = "magenta";
11890
+ const peg$c109 = "maroon";
11891
+ const peg$c110 = "navy";
11892
+ const peg$c111 = "olive";
11893
+ const peg$c112 = "orange";
11894
+ const peg$c113 = "pink";
11895
+ const peg$c114 = "purple";
11896
+ const peg$c115 = "red";
11897
+ const peg$c116 = "silver";
11898
+ const peg$c117 = "teal";
11899
+ const peg$c118 = "violet";
11900
+ const peg$c119 = "white";
11901
+ const peg$c120 = "yellow";
11902
+ const peg$c121 = "*";
11903
+ const peg$c122 = "_";
11904
+ const peg$c123 = "`";
11905
+ const peg$c124 = "!";
11906
+ const peg$c125 = "[!";
11907
+ const peg$c126 = "]";
11908
+ const peg$c127 = "\n";
11909
+ const peg$c128 = "\r\n";
11910
+ const peg$c129 = "http";
11911
+ const peg$c130 = "s";
11912
+ const peg$c131 = "://";
11913
+ const peg$c132 = "mailto:";
11873
11914
  const peg$r0 = /^[ \t]/;
11874
11915
  const peg$r1 = /^[0-9]/;
11875
11916
  const peg$r2 = /^[\r\u2028-\u2029]/;
@@ -11917,104 +11958,105 @@ function peg$parse(input, options) {
11917
11958
  const peg$e39 = peg$literalExpectation("=", false);
11918
11959
  const peg$e40 = peg$literalExpectation("|latex|", false);
11919
11960
  const peg$e41 = peg$literalExpectation("|imageInline:", false);
11920
- const peg$e42 = peg$literalExpectation("alignmentVertical", false);
11921
- const peg$e43 = peg$literalExpectation("size", false);
11922
- const peg$e44 = peg$literalExpectation("top", false);
11923
- const peg$e45 = peg$literalExpectation("middle", false);
11924
- const peg$e46 = peg$literalExpectation("bottom", false);
11925
- const peg$e47 = peg$literalExpectation("baseline", false);
11926
- const peg$e48 = peg$literalExpectation("sub", false);
11927
- const peg$e49 = peg$literalExpectation("super", false);
11928
- const peg$e50 = peg$literalExpectation("text-bottom", false);
11929
- const peg$e51 = peg$literalExpectation("text-top", false);
11930
- const peg$e52 = peg$literalExpectation("line-height", false);
11931
- const peg$e53 = peg$literalExpectation("font-height", false);
11932
- const peg$e54 = peg$literalExpectation("explicit", false);
11933
- const peg$e55 = peg$literalExpectation("link:", false);
11934
- const peg$e56 = peg$literalExpectation("extref:", false);
11935
- const peg$e57 = peg$literalExpectation("provider:", false);
11936
- const peg$e58 = peg$literalExpectation("xref:", false);
11937
- const peg$e59 = peg$literalExpectation("\u25BA", false);
11938
- const peg$e60 = peg$literalExpectation("symbol:", false);
11939
- const peg$e61 = peg$literalExpectation("footnote:", false);
11940
- const peg$e62 = peg$literalExpectation("footnote*:", false);
11941
- const peg$e63 = peg$literalExpectation("var:", false);
11942
- const peg$e64 = peg$literalExpectation("code:", false);
11943
- const peg$e65 = peg$literalExpectation("timer", false);
11944
- const peg$e66 = peg$literalExpectation("timer:", false);
11945
- const peg$e67 = peg$literalExpectation("duration:", false);
11946
- const peg$e68 = peg$literalExpectation("P", false);
11947
- const peg$e69 = peg$literalExpectation("color:", false);
11948
- const peg$e70 = peg$literalExpectation("|\u25BA", false);
11949
- const peg$e71 = peg$literalExpectation("bold", false);
11950
- const peg$e72 = peg$literalExpectation("italic", false);
11951
- const peg$e73 = peg$literalExpectation("light", false);
11952
- const peg$e74 = peg$literalExpectation("highlight", false);
11953
- const peg$e75 = peg$literalExpectation("strike", false);
11954
- const peg$e76 = peg$literalExpectation("subscript", false);
11955
- const peg$e77 = peg$literalExpectation("superscript", false);
11956
- const peg$e78 = peg$literalExpectation("ins", false);
11957
- const peg$e79 = peg$literalExpectation("del", false);
11958
- const peg$e80 = peg$literalExpectation("underline", false);
11959
- const peg$e81 = peg$literalExpectation("doubleUnderline", false);
11960
- const peg$e82 = peg$literalExpectation("circle", false);
11961
- const peg$e83 = peg$literalExpectation("languageEmRed", false);
11962
- const peg$e84 = peg$literalExpectation("languageEmOrange", false);
11963
- const peg$e85 = peg$literalExpectation("languageEmYellow", false);
11964
- const peg$e86 = peg$literalExpectation("languageEmGreen", false);
11965
- const peg$e87 = peg$literalExpectation("languageEmBlue", false);
11966
- const peg$e88 = peg$literalExpectation("languageEmPurple", false);
11967
- const peg$e89 = peg$literalExpectation("languageEmPink", false);
11968
- const peg$e90 = peg$literalExpectation("languageEmBrown", false);
11969
- const peg$e91 = peg$literalExpectation("languageEmBlack", false);
11970
- const peg$e92 = peg$literalExpectation("languageEmWhite", false);
11971
- const peg$e93 = peg$literalExpectation("languageEmGray", false);
11972
- const peg$e94 = peg$literalExpectation("languageEm", false);
11973
- const peg$e95 = peg$literalExpectation("userUnderline", false);
11974
- const peg$e96 = peg$literalExpectation("userDoubleUnderline", false);
11975
- const peg$e97 = peg$literalExpectation("userStrike", false);
11976
- const peg$e98 = peg$literalExpectation("userCircle", false);
11977
- const peg$e99 = peg$literalExpectation("userHighlight", false);
11978
- const peg$e100 = peg$literalExpectation("notranslate", false);
11979
- const peg$e101 = peg$literalExpectation("aqua", false);
11980
- const peg$e102 = peg$literalExpectation("black", false);
11981
- const peg$e103 = peg$literalExpectation("blue", false);
11982
- const peg$e104 = peg$literalExpectation("brown", false);
11983
- const peg$e105 = peg$literalExpectation("fuchsia", false);
11984
- const peg$e106 = peg$literalExpectation("lightgrey", false);
11985
- const peg$e107 = peg$literalExpectation("gray", false);
11986
- const peg$e108 = peg$literalExpectation("darkgray", false);
11987
- const peg$e109 = peg$literalExpectation("green", false);
11988
- const peg$e110 = peg$literalExpectation("lime", false);
11989
- const peg$e111 = peg$literalExpectation("magenta", false);
11990
- const peg$e112 = peg$literalExpectation("maroon", false);
11991
- const peg$e113 = peg$literalExpectation("navy", false);
11992
- const peg$e114 = peg$literalExpectation("olive", false);
11993
- const peg$e115 = peg$literalExpectation("orange", false);
11994
- const peg$e116 = peg$literalExpectation("pink", false);
11995
- const peg$e117 = peg$literalExpectation("purple", false);
11996
- const peg$e118 = peg$literalExpectation("red", false);
11997
- const peg$e119 = peg$literalExpectation("silver", false);
11998
- const peg$e120 = peg$literalExpectation("teal", false);
11999
- const peg$e121 = peg$literalExpectation("violet", false);
12000
- const peg$e122 = peg$literalExpectation("white", false);
12001
- const peg$e123 = peg$literalExpectation("yellow", false);
12002
- const peg$e124 = peg$literalExpectation("*", false);
12003
- const peg$e125 = peg$literalExpectation("_", false);
12004
- const peg$e126 = peg$literalExpectation("`", false);
12005
- const peg$e127 = peg$literalExpectation("!", false);
12006
- const peg$e128 = peg$literalExpectation("[!", false);
12007
- const peg$e129 = peg$literalExpectation("]", false);
12008
- const peg$e130 = peg$otherExpectation("Line Terminator");
12009
- const peg$e131 = peg$literalExpectation("\n", false);
12010
- const peg$e132 = peg$literalExpectation("\r\n", false);
12011
- const peg$e133 = peg$classExpectation(["\r", ["\u2028", "\u2029"]], false, false, false);
12012
- const peg$e134 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false, false);
12013
- const peg$e135 = peg$literalExpectation("http", false);
12014
- const peg$e136 = peg$literalExpectation("s", false);
12015
- const peg$e137 = peg$literalExpectation("://", false);
12016
- const peg$e138 = peg$literalExpectation("mailto:", false);
12017
- const peg$e139 = peg$classExpectation(["!", ["#", ";"], "=", ["?", "["], ["]", "_"], ["a", "{"], ["}", "~"]], false, false, false);
11961
+ const peg$e42 = peg$literalExpectation("srcAlt", false);
11962
+ const peg$e43 = peg$literalExpectation("alignmentVertical", false);
11963
+ const peg$e44 = peg$literalExpectation("size", false);
11964
+ const peg$e45 = peg$literalExpectation("top", false);
11965
+ const peg$e46 = peg$literalExpectation("middle", false);
11966
+ const peg$e47 = peg$literalExpectation("bottom", false);
11967
+ const peg$e48 = peg$literalExpectation("baseline", false);
11968
+ const peg$e49 = peg$literalExpectation("sub", false);
11969
+ const peg$e50 = peg$literalExpectation("super", false);
11970
+ const peg$e51 = peg$literalExpectation("text-bottom", false);
11971
+ const peg$e52 = peg$literalExpectation("text-top", false);
11972
+ const peg$e53 = peg$literalExpectation("line-height", false);
11973
+ const peg$e54 = peg$literalExpectation("font-height", false);
11974
+ const peg$e55 = peg$literalExpectation("explicit", false);
11975
+ const peg$e56 = peg$literalExpectation("link:", false);
11976
+ const peg$e57 = peg$literalExpectation("extref:", false);
11977
+ const peg$e58 = peg$literalExpectation("provider:", false);
11978
+ const peg$e59 = peg$literalExpectation("xref:", false);
11979
+ const peg$e60 = peg$literalExpectation("\u25BA", false);
11980
+ const peg$e61 = peg$literalExpectation("symbol:", false);
11981
+ const peg$e62 = peg$literalExpectation("footnote:", false);
11982
+ const peg$e63 = peg$literalExpectation("footnote*:", false);
11983
+ const peg$e64 = peg$literalExpectation("var:", false);
11984
+ const peg$e65 = peg$literalExpectation("code:", false);
11985
+ const peg$e66 = peg$literalExpectation("timer", false);
11986
+ const peg$e67 = peg$literalExpectation("timer:", false);
11987
+ const peg$e68 = peg$literalExpectation("duration:", false);
11988
+ const peg$e69 = peg$literalExpectation("P", false);
11989
+ const peg$e70 = peg$literalExpectation("color:", false);
11990
+ const peg$e71 = peg$literalExpectation("|\u25BA", false);
11991
+ const peg$e72 = peg$literalExpectation("bold", false);
11992
+ const peg$e73 = peg$literalExpectation("italic", false);
11993
+ const peg$e74 = peg$literalExpectation("light", false);
11994
+ const peg$e75 = peg$literalExpectation("highlight", false);
11995
+ const peg$e76 = peg$literalExpectation("strike", false);
11996
+ const peg$e77 = peg$literalExpectation("subscript", false);
11997
+ const peg$e78 = peg$literalExpectation("superscript", false);
11998
+ const peg$e79 = peg$literalExpectation("ins", false);
11999
+ const peg$e80 = peg$literalExpectation("del", false);
12000
+ const peg$e81 = peg$literalExpectation("underline", false);
12001
+ const peg$e82 = peg$literalExpectation("doubleUnderline", false);
12002
+ const peg$e83 = peg$literalExpectation("circle", false);
12003
+ const peg$e84 = peg$literalExpectation("languageEmRed", false);
12004
+ const peg$e85 = peg$literalExpectation("languageEmOrange", false);
12005
+ const peg$e86 = peg$literalExpectation("languageEmYellow", false);
12006
+ const peg$e87 = peg$literalExpectation("languageEmGreen", false);
12007
+ const peg$e88 = peg$literalExpectation("languageEmBlue", false);
12008
+ const peg$e89 = peg$literalExpectation("languageEmPurple", false);
12009
+ const peg$e90 = peg$literalExpectation("languageEmPink", false);
12010
+ const peg$e91 = peg$literalExpectation("languageEmBrown", false);
12011
+ const peg$e92 = peg$literalExpectation("languageEmBlack", false);
12012
+ const peg$e93 = peg$literalExpectation("languageEmWhite", false);
12013
+ const peg$e94 = peg$literalExpectation("languageEmGray", false);
12014
+ const peg$e95 = peg$literalExpectation("languageEm", false);
12015
+ const peg$e96 = peg$literalExpectation("userUnderline", false);
12016
+ const peg$e97 = peg$literalExpectation("userDoubleUnderline", false);
12017
+ const peg$e98 = peg$literalExpectation("userStrike", false);
12018
+ const peg$e99 = peg$literalExpectation("userCircle", false);
12019
+ const peg$e100 = peg$literalExpectation("userHighlight", false);
12020
+ const peg$e101 = peg$literalExpectation("notranslate", false);
12021
+ const peg$e102 = peg$literalExpectation("aqua", false);
12022
+ const peg$e103 = peg$literalExpectation("black", false);
12023
+ const peg$e104 = peg$literalExpectation("blue", false);
12024
+ const peg$e105 = peg$literalExpectation("brown", false);
12025
+ const peg$e106 = peg$literalExpectation("fuchsia", false);
12026
+ const peg$e107 = peg$literalExpectation("lightgrey", false);
12027
+ const peg$e108 = peg$literalExpectation("gray", false);
12028
+ const peg$e109 = peg$literalExpectation("darkgray", false);
12029
+ const peg$e110 = peg$literalExpectation("green", false);
12030
+ const peg$e111 = peg$literalExpectation("lime", false);
12031
+ const peg$e112 = peg$literalExpectation("magenta", false);
12032
+ const peg$e113 = peg$literalExpectation("maroon", false);
12033
+ const peg$e114 = peg$literalExpectation("navy", false);
12034
+ const peg$e115 = peg$literalExpectation("olive", false);
12035
+ const peg$e116 = peg$literalExpectation("orange", false);
12036
+ const peg$e117 = peg$literalExpectation("pink", false);
12037
+ const peg$e118 = peg$literalExpectation("purple", false);
12038
+ const peg$e119 = peg$literalExpectation("red", false);
12039
+ const peg$e120 = peg$literalExpectation("silver", false);
12040
+ const peg$e121 = peg$literalExpectation("teal", false);
12041
+ const peg$e122 = peg$literalExpectation("violet", false);
12042
+ const peg$e123 = peg$literalExpectation("white", false);
12043
+ const peg$e124 = peg$literalExpectation("yellow", false);
12044
+ const peg$e125 = peg$literalExpectation("*", false);
12045
+ const peg$e126 = peg$literalExpectation("_", false);
12046
+ const peg$e127 = peg$literalExpectation("`", false);
12047
+ const peg$e128 = peg$literalExpectation("!", false);
12048
+ const peg$e129 = peg$literalExpectation("[!", false);
12049
+ const peg$e130 = peg$literalExpectation("]", false);
12050
+ const peg$e131 = peg$otherExpectation("Line Terminator");
12051
+ const peg$e132 = peg$literalExpectation("\n", false);
12052
+ const peg$e133 = peg$literalExpectation("\r\n", false);
12053
+ const peg$e134 = peg$classExpectation(["\r", ["\u2028", "\u2029"]], false, false, false);
12054
+ const peg$e135 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false, false);
12055
+ const peg$e136 = peg$literalExpectation("http", false);
12056
+ const peg$e137 = peg$literalExpectation("s", false);
12057
+ const peg$e138 = peg$literalExpectation("://", false);
12058
+ const peg$e139 = peg$literalExpectation("mailto:", false);
12059
+ const peg$e140 = peg$classExpectation(["!", ["#", ";"], "=", ["?", "["], ["]", "_"], ["a", "{"], ["}", "~"]], false, false, false);
12018
12060
  function peg$f0() {
12019
12061
  return VERSION;
12020
12062
  }
@@ -12321,101 +12363,104 @@ function peg$parse(input, options) {
12321
12363
  return { comment: str };
12322
12364
  }
12323
12365
  function peg$f67(p, v) {
12324
- return { [p]: parseInt(v) };
12366
+ return { [p]: v };
12325
12367
  }
12326
12368
  function peg$f68(p, v) {
12327
- return { type: "error", msg: p + " must be a positive integer.", found: v };
12369
+ return { [p]: parseInt(v) };
12328
12370
  }
12329
12371
  function peg$f69(p, v) {
12330
- return { [p]: v };
12372
+ return { type: "error", msg: p + " must be a positive integer.", found: v };
12331
12373
  }
12332
12374
  function peg$f70(p, v) {
12333
12375
  return { [p]: v };
12334
12376
  }
12335
- function peg$f71(str) {
12377
+ function peg$f71(p, v) {
12378
+ return { [p]: v };
12379
+ }
12380
+ function peg$f72(str) {
12336
12381
  return { type: "link", attrs: { href: str.trim(), target: "_blank" } };
12337
12382
  }
12338
- function peg$f72(str, rc, p) {
12383
+ function peg$f73(str, rc, p) {
12339
12384
  return { type: "extref", attrs: { extref: str.trim(), references: rc, provider: p.trim() } };
12340
12385
  }
12341
- function peg$f73(str, str2) {
12386
+ function peg$f74(str, str2) {
12342
12387
  return { type: "xref", attrs: { xref: str.trim(), reference: str2.trim() } };
12343
12388
  }
12344
- function peg$f74(str) {
12389
+ function peg$f75(str) {
12345
12390
  return { type: "xref", attrs: { xref: str.trim(), reference: "" } };
12346
12391
  }
12347
- function peg$f75(str) {
12392
+ function peg$f76(str) {
12348
12393
  return { type: "ref", attrs: { reference: str.trim() } };
12349
12394
  }
12350
- function peg$f76(str, ch) {
12395
+ function peg$f77(str, ch) {
12351
12396
  const chain = Object.assign({}, ...ch);
12352
12397
  return { type: "symbol", attrs: { src: str.trim(), ...chain } };
12353
12398
  }
12354
- function peg$f77(str) {
12399
+ function peg$f78(str) {
12355
12400
  return { type: "footnote", attrs: { content: bitmarkPlusString(str.trim()) } };
12356
12401
  }
12357
- function peg$f78(str) {
12402
+ function peg$f79(str) {
12358
12403
  return { type: "footnote*", attrs: { content: bitmarkPlusString(str.trim()) } };
12359
12404
  }
12360
- function peg$f79(str) {
12405
+ function peg$f80(str) {
12361
12406
  return { type: "var", attrs: { name: str.trim() } };
12362
12407
  }
12363
- function peg$f80() {
12408
+ function peg$f81() {
12364
12409
  return { type: "code", attrs: { language: "plain text" } };
12365
12410
  }
12366
- function peg$f81(lang) {
12411
+ function peg$f82(lang) {
12367
12412
  return { type: "code", attrs: { language: lang.trim().toLowerCase() } };
12368
12413
  }
12369
- function peg$f82() {
12414
+ function peg$f83() {
12370
12415
  return { type: "timer", attrs: { name: "" } };
12371
12416
  }
12372
- function peg$f83(str) {
12417
+ function peg$f84(str) {
12373
12418
  return { type: "timer", attrs: { name: str.trim() } };
12374
12419
  }
12375
- function peg$f84(str) {
12420
+ function peg$f85(str) {
12376
12421
  return { type: "duration", attrs: { duration: str } };
12377
12422
  }
12378
- function peg$f85(color) {
12423
+ function peg$f86(color) {
12379
12424
  return { type: "color", attrs: { color } };
12380
12425
  }
12381
- function peg$f86(style) {
12426
+ function peg$f87(style) {
12382
12427
  return { type: style };
12383
12428
  }
12384
- function peg$f87(str) {
12429
+ function peg$f88(str) {
12385
12430
  return { type: "comment", comment: str };
12386
12431
  }
12387
- function peg$f88(r) {
12432
+ function peg$f89(r) {
12388
12433
  return r.trim();
12389
12434
  }
12390
- function peg$f89(bs) {
12435
+ function peg$f90(bs) {
12391
12436
  return [{ type: "paragraph", content: bs, attrs: {} }];
12392
12437
  }
12393
- function peg$f90(first, more) {
12438
+ function peg$f91(first, more) {
12394
12439
  const cleaned_ = cleanEmptyTextNodes(first ? [first, ...more.flat()] : more.flat());
12395
12440
  return cleaned_;
12396
12441
  }
12397
- function peg$f91() {
12442
+ function peg$f92() {
12398
12443
  return { "type": "hardBreak" };
12399
12444
  }
12400
- function peg$f92(t) {
12445
+ function peg$f93(t) {
12401
12446
  return { text: unbreakscape(t), type: "text" };
12402
12447
  }
12403
- function peg$f93(t) {
12448
+ function peg$f94(t) {
12404
12449
  return { index: +t, type: "bit" };
12405
12450
  }
12406
- function peg$f94(t) {
12451
+ function peg$f95(t) {
12407
12452
  return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" };
12408
12453
  }
12409
- function peg$f95(t) {
12454
+ function peg$f96(t) {
12410
12455
  return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" };
12411
12456
  }
12412
- function peg$f96(t) {
12457
+ function peg$f97(t) {
12413
12458
  return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" };
12414
12459
  }
12415
- function peg$f97(t) {
12460
+ function peg$f98(t) {
12416
12461
  return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" };
12417
12462
  }
12418
- function peg$f98(pr, t) {
12463
+ function peg$f99(pr, t) {
12419
12464
  return { pr, t };
12420
12465
  }
12421
12466
  let peg$currPos = options.peg$currPos | 0;
@@ -16597,7 +16642,15 @@ function peg$parse(input, options) {
16597
16642
  if (s1 === peg$FAILED) {
16598
16643
  s1 = null;
16599
16644
  }
16600
- s2 = peg$parseMediaSizeTags();
16645
+ if (input.substr(peg$currPos, 6) === peg$c38) {
16646
+ s2 = peg$c38;
16647
+ peg$currPos += 6;
16648
+ } else {
16649
+ s2 = peg$FAILED;
16650
+ if (peg$silentFails === 0) {
16651
+ peg$fail(peg$e42);
16652
+ }
16653
+ }
16601
16654
  if (s2 !== peg$FAILED) {
16602
16655
  if (input.charCodeAt(peg$currPos) === 58) {
16603
16656
  s3 = peg$c5;
@@ -16645,15 +16698,7 @@ function peg$parse(input, options) {
16645
16698
  s8 = peg$FAILED;
16646
16699
  }
16647
16700
  if (s8 !== peg$FAILED) {
16648
- s9 = input.charAt(peg$currPos);
16649
- if (peg$r1.test(s9)) {
16650
- peg$currPos++;
16651
- } else {
16652
- s9 = peg$FAILED;
16653
- if (peg$silentFails === 0) {
16654
- peg$fail(peg$e15);
16655
- }
16656
- }
16701
+ s9 = peg$parsechar();
16657
16702
  if (s9 !== peg$FAILED) {
16658
16703
  s8 = [s8, s9];
16659
16704
  s7 = s8;
@@ -16665,59 +16710,38 @@ function peg$parse(input, options) {
16665
16710
  peg$currPos = s7;
16666
16711
  s7 = peg$FAILED;
16667
16712
  }
16668
- if (s7 !== peg$FAILED) {
16669
- while (s7 !== peg$FAILED) {
16670
- s6.push(s7);
16671
- s7 = peg$currPos;
16672
- s8 = peg$currPos;
16673
- peg$silentFails++;
16674
- s9 = peg$parseBlockTag();
16675
- peg$silentFails--;
16676
- if (s9 === peg$FAILED) {
16677
- s8 = void 0;
16678
- } else {
16679
- peg$currPos = s8;
16680
- s8 = peg$FAILED;
16681
- }
16682
- if (s8 !== peg$FAILED) {
16683
- s9 = input.charAt(peg$currPos);
16684
- if (peg$r1.test(s9)) {
16685
- peg$currPos++;
16686
- } else {
16687
- s9 = peg$FAILED;
16688
- if (peg$silentFails === 0) {
16689
- peg$fail(peg$e15);
16690
- }
16691
- }
16692
- if (s9 !== peg$FAILED) {
16693
- s8 = [s8, s9];
16694
- s7 = s8;
16695
- } else {
16696
- peg$currPos = s7;
16697
- s7 = peg$FAILED;
16698
- }
16713
+ while (s7 !== peg$FAILED) {
16714
+ s6.push(s7);
16715
+ s7 = peg$currPos;
16716
+ s8 = peg$currPos;
16717
+ peg$silentFails++;
16718
+ s9 = peg$parseBlockTag();
16719
+ peg$silentFails--;
16720
+ if (s9 === peg$FAILED) {
16721
+ s8 = void 0;
16722
+ } else {
16723
+ peg$currPos = s8;
16724
+ s8 = peg$FAILED;
16725
+ }
16726
+ if (s8 !== peg$FAILED) {
16727
+ s9 = peg$parsechar();
16728
+ if (s9 !== peg$FAILED) {
16729
+ s8 = [s8, s9];
16730
+ s7 = s8;
16699
16731
  } else {
16700
16732
  peg$currPos = s7;
16701
16733
  s7 = peg$FAILED;
16702
16734
  }
16735
+ } else {
16736
+ peg$currPos = s7;
16737
+ s7 = peg$FAILED;
16703
16738
  }
16704
- } else {
16705
- s6 = peg$FAILED;
16706
16739
  }
16740
+ s5 = input.substring(s5, peg$currPos);
16741
+ s6 = peg$parseBlockTag();
16707
16742
  if (s6 !== peg$FAILED) {
16708
- s5 = input.substring(s5, peg$currPos);
16709
- } else {
16710
- s5 = s6;
16711
- }
16712
- if (s5 !== peg$FAILED) {
16713
- s6 = peg$parseBlockTag();
16714
- if (s6 !== peg$FAILED) {
16715
- peg$savedPos = s0;
16716
- s0 = peg$f67(s2, s5);
16717
- } else {
16718
- peg$currPos = s0;
16719
- s0 = peg$FAILED;
16720
- }
16743
+ peg$savedPos = s0;
16744
+ s0 = peg$f67(s2, s5);
16721
16745
  } else {
16722
16746
  peg$currPos = s0;
16723
16747
  s0 = peg$FAILED;
@@ -16792,7 +16816,15 @@ function peg$parse(input, options) {
16792
16816
  s8 = peg$FAILED;
16793
16817
  }
16794
16818
  if (s8 !== peg$FAILED) {
16795
- s9 = peg$parsechar();
16819
+ s9 = input.charAt(peg$currPos);
16820
+ if (peg$r1.test(s9)) {
16821
+ peg$currPos++;
16822
+ } else {
16823
+ s9 = peg$FAILED;
16824
+ if (peg$silentFails === 0) {
16825
+ peg$fail(peg$e15);
16826
+ }
16827
+ }
16796
16828
  if (s9 !== peg$FAILED) {
16797
16829
  s8 = [s8, s9];
16798
16830
  s7 = s8;
@@ -16804,38 +16836,59 @@ function peg$parse(input, options) {
16804
16836
  peg$currPos = s7;
16805
16837
  s7 = peg$FAILED;
16806
16838
  }
16807
- while (s7 !== peg$FAILED) {
16808
- s6.push(s7);
16809
- s7 = peg$currPos;
16810
- s8 = peg$currPos;
16811
- peg$silentFails++;
16812
- s9 = peg$parseBlockTag();
16813
- peg$silentFails--;
16814
- if (s9 === peg$FAILED) {
16815
- s8 = void 0;
16816
- } else {
16817
- peg$currPos = s8;
16818
- s8 = peg$FAILED;
16819
- }
16820
- if (s8 !== peg$FAILED) {
16821
- s9 = peg$parsechar();
16822
- if (s9 !== peg$FAILED) {
16823
- s8 = [s8, s9];
16824
- s7 = s8;
16839
+ if (s7 !== peg$FAILED) {
16840
+ while (s7 !== peg$FAILED) {
16841
+ s6.push(s7);
16842
+ s7 = peg$currPos;
16843
+ s8 = peg$currPos;
16844
+ peg$silentFails++;
16845
+ s9 = peg$parseBlockTag();
16846
+ peg$silentFails--;
16847
+ if (s9 === peg$FAILED) {
16848
+ s8 = void 0;
16849
+ } else {
16850
+ peg$currPos = s8;
16851
+ s8 = peg$FAILED;
16852
+ }
16853
+ if (s8 !== peg$FAILED) {
16854
+ s9 = input.charAt(peg$currPos);
16855
+ if (peg$r1.test(s9)) {
16856
+ peg$currPos++;
16857
+ } else {
16858
+ s9 = peg$FAILED;
16859
+ if (peg$silentFails === 0) {
16860
+ peg$fail(peg$e15);
16861
+ }
16862
+ }
16863
+ if (s9 !== peg$FAILED) {
16864
+ s8 = [s8, s9];
16865
+ s7 = s8;
16866
+ } else {
16867
+ peg$currPos = s7;
16868
+ s7 = peg$FAILED;
16869
+ }
16825
16870
  } else {
16826
16871
  peg$currPos = s7;
16827
16872
  s7 = peg$FAILED;
16828
16873
  }
16829
- } else {
16830
- peg$currPos = s7;
16831
- s7 = peg$FAILED;
16832
16874
  }
16875
+ } else {
16876
+ s6 = peg$FAILED;
16833
16877
  }
16834
- s5 = input.substring(s5, peg$currPos);
16835
- s6 = peg$parseBlockTag();
16836
16878
  if (s6 !== peg$FAILED) {
16837
- peg$savedPos = s0;
16838
- s0 = peg$f68(s2, s5);
16879
+ s5 = input.substring(s5, peg$currPos);
16880
+ } else {
16881
+ s5 = s6;
16882
+ }
16883
+ if (s5 !== peg$FAILED) {
16884
+ s6 = peg$parseBlockTag();
16885
+ if (s6 !== peg$FAILED) {
16886
+ peg$savedPos = s0;
16887
+ s0 = peg$f68(s2, s5);
16888
+ } else {
16889
+ peg$currPos = s0;
16890
+ s0 = peg$FAILED;
16891
+ }
16839
16892
  } else {
16840
16893
  peg$currPos = s0;
16841
16894
  s0 = peg$FAILED;
@@ -16862,15 +16915,7 @@ function peg$parse(input, options) {
16862
16915
  if (s1 === peg$FAILED) {
16863
16916
  s1 = null;
16864
16917
  }
16865
- if (input.substr(peg$currPos, 17) === peg$c38) {
16866
- s2 = peg$c38;
16867
- peg$currPos += 17;
16868
- } else {
16869
- s2 = peg$FAILED;
16870
- if (peg$silentFails === 0) {
16871
- peg$fail(peg$e42);
16872
- }
16873
- }
16918
+ s2 = peg$parseMediaSizeTags();
16874
16919
  if (s2 !== peg$FAILED) {
16875
16920
  if (input.charCodeAt(peg$currPos) === 58) {
16876
16921
  s3 = peg$c5;
@@ -16904,16 +16949,64 @@ function peg$parse(input, options) {
16904
16949
  }
16905
16950
  }
16906
16951
  }
16907
- s5 = peg$parseInlineMediaAlignment();
16908
- if (s5 !== peg$FAILED) {
16909
- s6 = peg$parseBlockTag();
16910
- if (s6 !== peg$FAILED) {
16911
- peg$savedPos = s0;
16912
- s0 = peg$f69(s2, s5);
16952
+ s5 = peg$currPos;
16953
+ s6 = [];
16954
+ s7 = peg$currPos;
16955
+ s8 = peg$currPos;
16956
+ peg$silentFails++;
16957
+ s9 = peg$parseBlockTag();
16958
+ peg$silentFails--;
16959
+ if (s9 === peg$FAILED) {
16960
+ s8 = void 0;
16961
+ } else {
16962
+ peg$currPos = s8;
16963
+ s8 = peg$FAILED;
16964
+ }
16965
+ if (s8 !== peg$FAILED) {
16966
+ s9 = peg$parsechar();
16967
+ if (s9 !== peg$FAILED) {
16968
+ s8 = [s8, s9];
16969
+ s7 = s8;
16913
16970
  } else {
16914
- peg$currPos = s0;
16915
- s0 = peg$FAILED;
16971
+ peg$currPos = s7;
16972
+ s7 = peg$FAILED;
16973
+ }
16974
+ } else {
16975
+ peg$currPos = s7;
16976
+ s7 = peg$FAILED;
16977
+ }
16978
+ while (s7 !== peg$FAILED) {
16979
+ s6.push(s7);
16980
+ s7 = peg$currPos;
16981
+ s8 = peg$currPos;
16982
+ peg$silentFails++;
16983
+ s9 = peg$parseBlockTag();
16984
+ peg$silentFails--;
16985
+ if (s9 === peg$FAILED) {
16986
+ s8 = void 0;
16987
+ } else {
16988
+ peg$currPos = s8;
16989
+ s8 = peg$FAILED;
16990
+ }
16991
+ if (s8 !== peg$FAILED) {
16992
+ s9 = peg$parsechar();
16993
+ if (s9 !== peg$FAILED) {
16994
+ s8 = [s8, s9];
16995
+ s7 = s8;
16996
+ } else {
16997
+ peg$currPos = s7;
16998
+ s7 = peg$FAILED;
16999
+ }
17000
+ } else {
17001
+ peg$currPos = s7;
17002
+ s7 = peg$FAILED;
16916
17003
  }
17004
+ }
17005
+ s5 = input.substring(s5, peg$currPos);
17006
+ s6 = peg$parseBlockTag();
17007
+ if (s6 !== peg$FAILED) {
17008
+ peg$savedPos = s0;
17009
+ s0 = peg$f69(s2, s5);
16917
17010
  } else {
16918
17011
  peg$currPos = s0;
16919
17012
  s0 = peg$FAILED;
@@ -16940,9 +17033,9 @@ function peg$parse(input, options) {
16940
17033
  if (s1 === peg$FAILED) {
16941
17034
  s1 = null;
16942
17035
  }
16943
- if (input.substr(peg$currPos, 4) === peg$c39) {
17036
+ if (input.substr(peg$currPos, 17) === peg$c39) {
16944
17037
  s2 = peg$c39;
16945
- peg$currPos += 4;
17038
+ peg$currPos += 17;
16946
17039
  } else {
16947
17040
  s2 = peg$FAILED;
16948
17041
  if (peg$silentFails === 0) {
@@ -16982,7 +17075,7 @@ function peg$parse(input, options) {
16982
17075
  }
16983
17076
  }
16984
17077
  }
16985
- s5 = peg$parseInlineMediaSize();
17078
+ s5 = peg$parseInlineMediaAlignment();
16986
17079
  if (s5 !== peg$FAILED) {
16987
17080
  s6 = peg$parseBlockTag();
16988
17081
  if (s6 !== peg$FAILED) {
@@ -17004,6 +17097,85 @@ function peg$parse(input, options) {
17004
17097
  peg$currPos = s0;
17005
17098
  s0 = peg$FAILED;
17006
17099
  }
17100
+ if (s0 === peg$FAILED) {
17101
+ s0 = peg$currPos;
17102
+ if (input.charCodeAt(peg$currPos) === 64) {
17103
+ s1 = peg$c22;
17104
+ peg$currPos++;
17105
+ } else {
17106
+ s1 = peg$FAILED;
17107
+ if (peg$silentFails === 0) {
17108
+ peg$fail(peg$e26);
17109
+ }
17110
+ }
17111
+ if (s1 === peg$FAILED) {
17112
+ s1 = null;
17113
+ }
17114
+ if (input.substr(peg$currPos, 4) === peg$c40) {
17115
+ s2 = peg$c40;
17116
+ peg$currPos += 4;
17117
+ } else {
17118
+ s2 = peg$FAILED;
17119
+ if (peg$silentFails === 0) {
17120
+ peg$fail(peg$e44);
17121
+ }
17122
+ }
17123
+ if (s2 !== peg$FAILED) {
17124
+ if (input.charCodeAt(peg$currPos) === 58) {
17125
+ s3 = peg$c5;
17126
+ peg$currPos++;
17127
+ } else {
17128
+ s3 = peg$FAILED;
17129
+ if (peg$silentFails === 0) {
17130
+ peg$fail(peg$e8);
17131
+ }
17132
+ }
17133
+ if (s3 !== peg$FAILED) {
17134
+ s4 = [];
17135
+ if (input.charCodeAt(peg$currPos) === 32) {
17136
+ s5 = peg$c12;
17137
+ peg$currPos++;
17138
+ } else {
17139
+ s5 = peg$FAILED;
17140
+ if (peg$silentFails === 0) {
17141
+ peg$fail(peg$e16);
17142
+ }
17143
+ }
17144
+ while (s5 !== peg$FAILED) {
17145
+ s4.push(s5);
17146
+ if (input.charCodeAt(peg$currPos) === 32) {
17147
+ s5 = peg$c12;
17148
+ peg$currPos++;
17149
+ } else {
17150
+ s5 = peg$FAILED;
17151
+ if (peg$silentFails === 0) {
17152
+ peg$fail(peg$e16);
17153
+ }
17154
+ }
17155
+ }
17156
+ s5 = peg$parseInlineMediaSize();
17157
+ if (s5 !== peg$FAILED) {
17158
+ s6 = peg$parseBlockTag();
17159
+ if (s6 !== peg$FAILED) {
17160
+ peg$savedPos = s0;
17161
+ s0 = peg$f71(s2, s5);
17162
+ } else {
17163
+ peg$currPos = s0;
17164
+ s0 = peg$FAILED;
17165
+ }
17166
+ } else {
17167
+ peg$currPos = s0;
17168
+ s0 = peg$FAILED;
17169
+ }
17170
+ } else {
17171
+ peg$currPos = s0;
17172
+ s0 = peg$FAILED;
17173
+ }
17174
+ } else {
17175
+ peg$currPos = s0;
17176
+ s0 = peg$FAILED;
17177
+ }
17178
+ }
17007
17179
  }
17008
17180
  }
17009
17181
  }
@@ -17012,83 +17184,83 @@ function peg$parse(input, options) {
17012
17184
  }
17013
17185
  function peg$parseInlineMediaAlignment() {
17014
17186
  let s0;
17015
- if (input.substr(peg$currPos, 3) === peg$c40) {
17016
- s0 = peg$c40;
17187
+ if (input.substr(peg$currPos, 3) === peg$c41) {
17188
+ s0 = peg$c41;
17017
17189
  peg$currPos += 3;
17018
17190
  } else {
17019
17191
  s0 = peg$FAILED;
17020
17192
  if (peg$silentFails === 0) {
17021
- peg$fail(peg$e44);
17193
+ peg$fail(peg$e45);
17022
17194
  }
17023
17195
  }
17024
17196
  if (s0 === peg$FAILED) {
17025
- if (input.substr(peg$currPos, 6) === peg$c41) {
17026
- s0 = peg$c41;
17197
+ if (input.substr(peg$currPos, 6) === peg$c42) {
17198
+ s0 = peg$c42;
17027
17199
  peg$currPos += 6;
17028
17200
  } else {
17029
17201
  s0 = peg$FAILED;
17030
17202
  if (peg$silentFails === 0) {
17031
- peg$fail(peg$e45);
17203
+ peg$fail(peg$e46);
17032
17204
  }
17033
17205
  }
17034
17206
  if (s0 === peg$FAILED) {
17035
- if (input.substr(peg$currPos, 6) === peg$c42) {
17036
- s0 = peg$c42;
17207
+ if (input.substr(peg$currPos, 6) === peg$c43) {
17208
+ s0 = peg$c43;
17037
17209
  peg$currPos += 6;
17038
17210
  } else {
17039
17211
  s0 = peg$FAILED;
17040
17212
  if (peg$silentFails === 0) {
17041
- peg$fail(peg$e46);
17213
+ peg$fail(peg$e47);
17042
17214
  }
17043
17215
  }
17044
17216
  if (s0 === peg$FAILED) {
17045
- if (input.substr(peg$currPos, 8) === peg$c43) {
17046
- s0 = peg$c43;
17217
+ if (input.substr(peg$currPos, 8) === peg$c44) {
17218
+ s0 = peg$c44;
17047
17219
  peg$currPos += 8;
17048
17220
  } else {
17049
17221
  s0 = peg$FAILED;
17050
17222
  if (peg$silentFails === 0) {
17051
- peg$fail(peg$e47);
17223
+ peg$fail(peg$e48);
17052
17224
  }
17053
17225
  }
17054
17226
  if (s0 === peg$FAILED) {
17055
- if (input.substr(peg$currPos, 3) === peg$c44) {
17056
- s0 = peg$c44;
17227
+ if (input.substr(peg$currPos, 3) === peg$c45) {
17228
+ s0 = peg$c45;
17057
17229
  peg$currPos += 3;
17058
17230
  } else {
17059
17231
  s0 = peg$FAILED;
17060
17232
  if (peg$silentFails === 0) {
17061
- peg$fail(peg$e48);
17233
+ peg$fail(peg$e49);
17062
17234
  }
17063
17235
  }
17064
17236
  if (s0 === peg$FAILED) {
17065
- if (input.substr(peg$currPos, 5) === peg$c45) {
17066
- s0 = peg$c45;
17237
+ if (input.substr(peg$currPos, 5) === peg$c46) {
17238
+ s0 = peg$c46;
17067
17239
  peg$currPos += 5;
17068
17240
  } else {
17069
17241
  s0 = peg$FAILED;
17070
17242
  if (peg$silentFails === 0) {
17071
- peg$fail(peg$e49);
17243
+ peg$fail(peg$e50);
17072
17244
  }
17073
17245
  }
17074
17246
  if (s0 === peg$FAILED) {
17075
- if (input.substr(peg$currPos, 11) === peg$c46) {
17076
- s0 = peg$c46;
17247
+ if (input.substr(peg$currPos, 11) === peg$c47) {
17248
+ s0 = peg$c47;
17077
17249
  peg$currPos += 11;
17078
17250
  } else {
17079
17251
  s0 = peg$FAILED;
17080
17252
  if (peg$silentFails === 0) {
17081
- peg$fail(peg$e50);
17253
+ peg$fail(peg$e51);
17082
17254
  }
17083
17255
  }
17084
17256
  if (s0 === peg$FAILED) {
17085
- if (input.substr(peg$currPos, 8) === peg$c47) {
17086
- s0 = peg$c47;
17257
+ if (input.substr(peg$currPos, 8) === peg$c48) {
17258
+ s0 = peg$c48;
17087
17259
  peg$currPos += 8;
17088
17260
  } else {
17089
17261
  s0 = peg$FAILED;
17090
17262
  if (peg$silentFails === 0) {
17091
- peg$fail(peg$e51);
17263
+ peg$fail(peg$e52);
17092
17264
  }
17093
17265
  }
17094
17266
  }
@@ -17102,53 +17274,53 @@ function peg$parse(input, options) {
17102
17274
  }
17103
17275
  function peg$parseInlineMediaSize() {
17104
17276
  let s0;
17105
- if (input.substr(peg$currPos, 11) === peg$c48) {
17106
- s0 = peg$c48;
17277
+ if (input.substr(peg$currPos, 11) === peg$c49) {
17278
+ s0 = peg$c49;
17107
17279
  peg$currPos += 11;
17108
17280
  } else {
17109
17281
  s0 = peg$FAILED;
17110
17282
  if (peg$silentFails === 0) {
17111
- peg$fail(peg$e52);
17283
+ peg$fail(peg$e53);
17112
17284
  }
17113
17285
  }
17114
17286
  if (s0 === peg$FAILED) {
17115
- if (input.substr(peg$currPos, 11) === peg$c49) {
17116
- s0 = peg$c49;
17287
+ if (input.substr(peg$currPos, 11) === peg$c50) {
17288
+ s0 = peg$c50;
17117
17289
  peg$currPos += 11;
17118
17290
  } else {
17119
17291
  s0 = peg$FAILED;
17120
17292
  if (peg$silentFails === 0) {
17121
- peg$fail(peg$e53);
17293
+ peg$fail(peg$e54);
17122
17294
  }
17123
17295
  }
17124
17296
  if (s0 === peg$FAILED) {
17125
- if (input.substr(peg$currPos, 5) === peg$c45) {
17126
- s0 = peg$c45;
17297
+ if (input.substr(peg$currPos, 5) === peg$c46) {
17298
+ s0 = peg$c46;
17127
17299
  peg$currPos += 5;
17128
17300
  } else {
17129
17301
  s0 = peg$FAILED;
17130
17302
  if (peg$silentFails === 0) {
17131
- peg$fail(peg$e49);
17303
+ peg$fail(peg$e50);
17132
17304
  }
17133
17305
  }
17134
17306
  if (s0 === peg$FAILED) {
17135
- if (input.substr(peg$currPos, 3) === peg$c44) {
17136
- s0 = peg$c44;
17307
+ if (input.substr(peg$currPos, 3) === peg$c45) {
17308
+ s0 = peg$c45;
17137
17309
  peg$currPos += 3;
17138
17310
  } else {
17139
17311
  s0 = peg$FAILED;
17140
17312
  if (peg$silentFails === 0) {
17141
- peg$fail(peg$e48);
17313
+ peg$fail(peg$e49);
17142
17314
  }
17143
17315
  }
17144
17316
  if (s0 === peg$FAILED) {
17145
- if (input.substr(peg$currPos, 8) === peg$c50) {
17146
- s0 = peg$c50;
17317
+ if (input.substr(peg$currPos, 8) === peg$c51) {
17318
+ s0 = peg$c51;
17147
17319
  peg$currPos += 8;
17148
17320
  } else {
17149
17321
  s0 = peg$FAILED;
17150
17322
  if (peg$silentFails === 0) {
17151
- peg$fail(peg$e54);
17323
+ peg$fail(peg$e55);
17152
17324
  }
17153
17325
  }
17154
17326
  }
@@ -17160,13 +17332,13 @@ function peg$parse(input, options) {
17160
17332
  function peg$parseAttrChainItem() {
17161
17333
  let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
17162
17334
  s0 = peg$currPos;
17163
- if (input.substr(peg$currPos, 5) === peg$c51) {
17164
- s1 = peg$c51;
17335
+ if (input.substr(peg$currPos, 5) === peg$c52) {
17336
+ s1 = peg$c52;
17165
17337
  peg$currPos += 5;
17166
17338
  } else {
17167
17339
  s1 = peg$FAILED;
17168
17340
  if (peg$silentFails === 0) {
17169
- peg$fail(peg$e55);
17341
+ peg$fail(peg$e56);
17170
17342
  }
17171
17343
  }
17172
17344
  if (s1 !== peg$FAILED) {
@@ -17227,7 +17399,7 @@ function peg$parse(input, options) {
17227
17399
  s3 = peg$parseBlockTag();
17228
17400
  if (s3 !== peg$FAILED) {
17229
17401
  peg$savedPos = s0;
17230
- s0 = peg$f71(s2);
17402
+ s0 = peg$f72(s2);
17231
17403
  } else {
17232
17404
  peg$currPos = s0;
17233
17405
  s0 = peg$FAILED;
@@ -17238,13 +17410,13 @@ function peg$parse(input, options) {
17238
17410
  }
17239
17411
  if (s0 === peg$FAILED) {
17240
17412
  s0 = peg$currPos;
17241
- if (input.substr(peg$currPos, 7) === peg$c52) {
17242
- s1 = peg$c52;
17413
+ if (input.substr(peg$currPos, 7) === peg$c53) {
17414
+ s1 = peg$c53;
17243
17415
  peg$currPos += 7;
17244
17416
  } else {
17245
17417
  s1 = peg$FAILED;
17246
17418
  if (peg$silentFails === 0) {
17247
- peg$fail(peg$e56);
17419
+ peg$fail(peg$e57);
17248
17420
  }
17249
17421
  }
17250
17422
  if (s1 !== peg$FAILED) {
@@ -17305,13 +17477,13 @@ function peg$parse(input, options) {
17305
17477
  s3 = peg$parseRefsChain();
17306
17478
  s4 = peg$parseBlockTag();
17307
17479
  if (s4 !== peg$FAILED) {
17308
- if (input.substr(peg$currPos, 9) === peg$c53) {
17309
- s5 = peg$c53;
17480
+ if (input.substr(peg$currPos, 9) === peg$c54) {
17481
+ s5 = peg$c54;
17310
17482
  peg$currPos += 9;
17311
17483
  } else {
17312
17484
  s5 = peg$FAILED;
17313
17485
  if (peg$silentFails === 0) {
17314
- peg$fail(peg$e57);
17486
+ peg$fail(peg$e58);
17315
17487
  }
17316
17488
  }
17317
17489
  if (s5 !== peg$FAILED) {
@@ -17372,7 +17544,7 @@ function peg$parse(input, options) {
17372
17544
  s7 = peg$parseBlockTag();
17373
17545
  if (s7 !== peg$FAILED) {
17374
17546
  peg$savedPos = s0;
17375
- s0 = peg$f72(s2, s3, s6);
17547
+ s0 = peg$f73(s2, s3, s6);
17376
17548
  } else {
17377
17549
  peg$currPos = s0;
17378
17550
  s0 = peg$FAILED;
@@ -17391,13 +17563,13 @@ function peg$parse(input, options) {
17391
17563
  }
17392
17564
  if (s0 === peg$FAILED) {
17393
17565
  s0 = peg$currPos;
17394
- if (input.substr(peg$currPos, 5) === peg$c54) {
17395
- s1 = peg$c54;
17566
+ if (input.substr(peg$currPos, 5) === peg$c55) {
17567
+ s1 = peg$c55;
17396
17568
  peg$currPos += 5;
17397
17569
  } else {
17398
17570
  s1 = peg$FAILED;
17399
17571
  if (peg$silentFails === 0) {
17400
- peg$fail(peg$e58);
17572
+ peg$fail(peg$e59);
17401
17573
  }
17402
17574
  }
17403
17575
  if (s1 !== peg$FAILED) {
@@ -17458,12 +17630,12 @@ function peg$parse(input, options) {
17458
17630
  s3 = peg$parseBlockTag();
17459
17631
  if (s3 !== peg$FAILED) {
17460
17632
  if (input.charCodeAt(peg$currPos) === 9658) {
17461
- s4 = peg$c55;
17633
+ s4 = peg$c56;
17462
17634
  peg$currPos++;
17463
17635
  } else {
17464
17636
  s4 = peg$FAILED;
17465
17637
  if (peg$silentFails === 0) {
17466
- peg$fail(peg$e59);
17638
+ peg$fail(peg$e60);
17467
17639
  }
17468
17640
  }
17469
17641
  if (s4 !== peg$FAILED) {
@@ -17524,7 +17696,7 @@ function peg$parse(input, options) {
17524
17696
  s6 = peg$parseBlockTag();
17525
17697
  if (s6 !== peg$FAILED) {
17526
17698
  peg$savedPos = s0;
17527
- s0 = peg$f73(s2, s5);
17699
+ s0 = peg$f74(s2, s5);
17528
17700
  } else {
17529
17701
  peg$currPos = s0;
17530
17702
  s0 = peg$FAILED;
@@ -17543,13 +17715,13 @@ function peg$parse(input, options) {
17543
17715
  }
17544
17716
  if (s0 === peg$FAILED) {
17545
17717
  s0 = peg$currPos;
17546
- if (input.substr(peg$currPos, 5) === peg$c54) {
17547
- s1 = peg$c54;
17718
+ if (input.substr(peg$currPos, 5) === peg$c55) {
17719
+ s1 = peg$c55;
17548
17720
  peg$currPos += 5;
17549
17721
  } else {
17550
17722
  s1 = peg$FAILED;
17551
17723
  if (peg$silentFails === 0) {
17552
- peg$fail(peg$e58);
17724
+ peg$fail(peg$e59);
17553
17725
  }
17554
17726
  }
17555
17727
  if (s1 !== peg$FAILED) {
@@ -17610,7 +17782,7 @@ function peg$parse(input, options) {
17610
17782
  s3 = peg$parseBlockTag();
17611
17783
  if (s3 !== peg$FAILED) {
17612
17784
  peg$savedPos = s0;
17613
- s0 = peg$f74(s2);
17785
+ s0 = peg$f75(s2);
17614
17786
  } else {
17615
17787
  peg$currPos = s0;
17616
17788
  s0 = peg$FAILED;
@@ -17622,12 +17794,12 @@ function peg$parse(input, options) {
17622
17794
  if (s0 === peg$FAILED) {
17623
17795
  s0 = peg$currPos;
17624
17796
  if (input.charCodeAt(peg$currPos) === 9658) {
17625
- s1 = peg$c55;
17797
+ s1 = peg$c56;
17626
17798
  peg$currPos++;
17627
17799
  } else {
17628
17800
  s1 = peg$FAILED;
17629
17801
  if (peg$silentFails === 0) {
17630
- peg$fail(peg$e59);
17802
+ peg$fail(peg$e60);
17631
17803
  }
17632
17804
  }
17633
17805
  if (s1 !== peg$FAILED) {
@@ -17688,7 +17860,7 @@ function peg$parse(input, options) {
17688
17860
  s3 = peg$parseBlockTag();
17689
17861
  if (s3 !== peg$FAILED) {
17690
17862
  peg$savedPos = s0;
17691
- s0 = peg$f75(s2);
17863
+ s0 = peg$f76(s2);
17692
17864
  } else {
17693
17865
  peg$currPos = s0;
17694
17866
  s0 = peg$FAILED;
@@ -17699,13 +17871,13 @@ function peg$parse(input, options) {
17699
17871
  }
17700
17872
  if (s0 === peg$FAILED) {
17701
17873
  s0 = peg$currPos;
17702
- if (input.substr(peg$currPos, 7) === peg$c56) {
17703
- s1 = peg$c56;
17874
+ if (input.substr(peg$currPos, 7) === peg$c57) {
17875
+ s1 = peg$c57;
17704
17876
  peg$currPos += 7;
17705
17877
  } else {
17706
17878
  s1 = peg$FAILED;
17707
17879
  if (peg$silentFails === 0) {
17708
- peg$fail(peg$e60);
17880
+ peg$fail(peg$e61);
17709
17881
  }
17710
17882
  }
17711
17883
  if (s1 !== peg$FAILED) {
@@ -17767,7 +17939,7 @@ function peg$parse(input, options) {
17767
17939
  if (s3 !== peg$FAILED) {
17768
17940
  s4 = peg$parseMediaChain();
17769
17941
  peg$savedPos = s0;
17770
- s0 = peg$f76(s2, s4);
17942
+ s0 = peg$f77(s2, s4);
17771
17943
  } else {
17772
17944
  peg$currPos = s0;
17773
17945
  s0 = peg$FAILED;
@@ -17778,13 +17950,13 @@ function peg$parse(input, options) {
17778
17950
  }
17779
17951
  if (s0 === peg$FAILED) {
17780
17952
  s0 = peg$currPos;
17781
- if (input.substr(peg$currPos, 9) === peg$c57) {
17782
- s1 = peg$c57;
17953
+ if (input.substr(peg$currPos, 9) === peg$c58) {
17954
+ s1 = peg$c58;
17783
17955
  peg$currPos += 9;
17784
17956
  } else {
17785
17957
  s1 = peg$FAILED;
17786
17958
  if (peg$silentFails === 0) {
17787
- peg$fail(peg$e61);
17959
+ peg$fail(peg$e62);
17788
17960
  }
17789
17961
  }
17790
17962
  if (s1 !== peg$FAILED) {
@@ -17845,7 +18017,7 @@ function peg$parse(input, options) {
17845
18017
  s3 = peg$parseBlockTag();
17846
18018
  if (s3 !== peg$FAILED) {
17847
18019
  peg$savedPos = s0;
17848
- s0 = peg$f77(s2);
18020
+ s0 = peg$f78(s2);
17849
18021
  } else {
17850
18022
  peg$currPos = s0;
17851
18023
  s0 = peg$FAILED;
@@ -17856,13 +18028,13 @@ function peg$parse(input, options) {
17856
18028
  }
17857
18029
  if (s0 === peg$FAILED) {
17858
18030
  s0 = peg$currPos;
17859
- if (input.substr(peg$currPos, 10) === peg$c58) {
17860
- s1 = peg$c58;
18031
+ if (input.substr(peg$currPos, 10) === peg$c59) {
18032
+ s1 = peg$c59;
17861
18033
  peg$currPos += 10;
17862
18034
  } else {
17863
18035
  s1 = peg$FAILED;
17864
18036
  if (peg$silentFails === 0) {
17865
- peg$fail(peg$e62);
18037
+ peg$fail(peg$e63);
17866
18038
  }
17867
18039
  }
17868
18040
  if (s1 !== peg$FAILED) {
@@ -17923,7 +18095,7 @@ function peg$parse(input, options) {
17923
18095
  s3 = peg$parseBlockTag();
17924
18096
  if (s3 !== peg$FAILED) {
17925
18097
  peg$savedPos = s0;
17926
- s0 = peg$f78(s2);
18098
+ s0 = peg$f79(s2);
17927
18099
  } else {
17928
18100
  peg$currPos = s0;
17929
18101
  s0 = peg$FAILED;
@@ -17934,13 +18106,13 @@ function peg$parse(input, options) {
17934
18106
  }
17935
18107
  if (s0 === peg$FAILED) {
17936
18108
  s0 = peg$currPos;
17937
- if (input.substr(peg$currPos, 4) === peg$c59) {
17938
- s1 = peg$c59;
18109
+ if (input.substr(peg$currPos, 4) === peg$c60) {
18110
+ s1 = peg$c60;
17939
18111
  peg$currPos += 4;
17940
18112
  } else {
17941
18113
  s1 = peg$FAILED;
17942
18114
  if (peg$silentFails === 0) {
17943
- peg$fail(peg$e63);
18115
+ peg$fail(peg$e64);
17944
18116
  }
17945
18117
  }
17946
18118
  if (s1 !== peg$FAILED) {
@@ -18001,7 +18173,7 @@ function peg$parse(input, options) {
18001
18173
  s3 = peg$parseBlockTag();
18002
18174
  if (s3 !== peg$FAILED) {
18003
18175
  peg$savedPos = s0;
18004
- s0 = peg$f79(s2);
18176
+ s0 = peg$f80(s2);
18005
18177
  } else {
18006
18178
  peg$currPos = s0;
18007
18179
  s0 = peg$FAILED;
@@ -18025,7 +18197,7 @@ function peg$parse(input, options) {
18025
18197
  s2 = peg$parseBlockTag();
18026
18198
  if (s2 !== peg$FAILED) {
18027
18199
  peg$savedPos = s0;
18028
- s0 = peg$f80();
18200
+ s0 = peg$f81();
18029
18201
  } else {
18030
18202
  peg$currPos = s0;
18031
18203
  s0 = peg$FAILED;
@@ -18036,13 +18208,13 @@ function peg$parse(input, options) {
18036
18208
  }
18037
18209
  if (s0 === peg$FAILED) {
18038
18210
  s0 = peg$currPos;
18039
- if (input.substr(peg$currPos, 5) === peg$c60) {
18040
- s1 = peg$c60;
18211
+ if (input.substr(peg$currPos, 5) === peg$c61) {
18212
+ s1 = peg$c61;
18041
18213
  peg$currPos += 5;
18042
18214
  } else {
18043
18215
  s1 = peg$FAILED;
18044
18216
  if (peg$silentFails === 0) {
18045
- peg$fail(peg$e64);
18217
+ peg$fail(peg$e65);
18046
18218
  }
18047
18219
  }
18048
18220
  if (s1 !== peg$FAILED) {
@@ -18103,7 +18275,7 @@ function peg$parse(input, options) {
18103
18275
  s3 = peg$parseBlockTag();
18104
18276
  if (s3 !== peg$FAILED) {
18105
18277
  peg$savedPos = s0;
18106
- s0 = peg$f81(s2);
18278
+ s0 = peg$f82(s2);
18107
18279
  } else {
18108
18280
  peg$currPos = s0;
18109
18281
  s0 = peg$FAILED;
@@ -18114,20 +18286,20 @@ function peg$parse(input, options) {
18114
18286
  }
18115
18287
  if (s0 === peg$FAILED) {
18116
18288
  s0 = peg$currPos;
18117
- if (input.substr(peg$currPos, 5) === peg$c61) {
18118
- s1 = peg$c61;
18289
+ if (input.substr(peg$currPos, 5) === peg$c62) {
18290
+ s1 = peg$c62;
18119
18291
  peg$currPos += 5;
18120
18292
  } else {
18121
18293
  s1 = peg$FAILED;
18122
18294
  if (peg$silentFails === 0) {
18123
- peg$fail(peg$e65);
18295
+ peg$fail(peg$e66);
18124
18296
  }
18125
18297
  }
18126
18298
  if (s1 !== peg$FAILED) {
18127
18299
  s2 = peg$parseBlockTag();
18128
18300
  if (s2 !== peg$FAILED) {
18129
18301
  peg$savedPos = s0;
18130
- s0 = peg$f82();
18302
+ s0 = peg$f83();
18131
18303
  } else {
18132
18304
  peg$currPos = s0;
18133
18305
  s0 = peg$FAILED;
@@ -18138,13 +18310,13 @@ function peg$parse(input, options) {
18138
18310
  }
18139
18311
  if (s0 === peg$FAILED) {
18140
18312
  s0 = peg$currPos;
18141
- if (input.substr(peg$currPos, 6) === peg$c62) {
18142
- s1 = peg$c62;
18313
+ if (input.substr(peg$currPos, 6) === peg$c63) {
18314
+ s1 = peg$c63;
18143
18315
  peg$currPos += 6;
18144
18316
  } else {
18145
18317
  s1 = peg$FAILED;
18146
18318
  if (peg$silentFails === 0) {
18147
- peg$fail(peg$e66);
18319
+ peg$fail(peg$e67);
18148
18320
  }
18149
18321
  }
18150
18322
  if (s1 !== peg$FAILED) {
@@ -18205,7 +18377,7 @@ function peg$parse(input, options) {
18205
18377
  s3 = peg$parseBlockTag();
18206
18378
  if (s3 !== peg$FAILED) {
18207
18379
  peg$savedPos = s0;
18208
- s0 = peg$f83(s2);
18380
+ s0 = peg$f84(s2);
18209
18381
  } else {
18210
18382
  peg$currPos = s0;
18211
18383
  s0 = peg$FAILED;
@@ -18216,25 +18388,25 @@ function peg$parse(input, options) {
18216
18388
  }
18217
18389
  if (s0 === peg$FAILED) {
18218
18390
  s0 = peg$currPos;
18219
- if (input.substr(peg$currPos, 9) === peg$c63) {
18220
- s1 = peg$c63;
18391
+ if (input.substr(peg$currPos, 9) === peg$c64) {
18392
+ s1 = peg$c64;
18221
18393
  peg$currPos += 9;
18222
18394
  } else {
18223
18395
  s1 = peg$FAILED;
18224
18396
  if (peg$silentFails === 0) {
18225
- peg$fail(peg$e67);
18397
+ peg$fail(peg$e68);
18226
18398
  }
18227
18399
  }
18228
18400
  if (s1 !== peg$FAILED) {
18229
18401
  s2 = peg$currPos;
18230
18402
  s3 = peg$currPos;
18231
18403
  if (input.charCodeAt(peg$currPos) === 80) {
18232
- s4 = peg$c64;
18404
+ s4 = peg$c65;
18233
18405
  peg$currPos++;
18234
18406
  } else {
18235
18407
  s4 = peg$FAILED;
18236
18408
  if (peg$silentFails === 0) {
18237
- peg$fail(peg$e68);
18409
+ peg$fail(peg$e69);
18238
18410
  }
18239
18411
  }
18240
18412
  if (s4 !== peg$FAILED) {
@@ -18307,7 +18479,7 @@ function peg$parse(input, options) {
18307
18479
  s3 = peg$parseBlockTag();
18308
18480
  if (s3 !== peg$FAILED) {
18309
18481
  peg$savedPos = s0;
18310
- s0 = peg$f84(s2);
18482
+ s0 = peg$f85(s2);
18311
18483
  } else {
18312
18484
  peg$currPos = s0;
18313
18485
  s0 = peg$FAILED;
@@ -18322,13 +18494,13 @@ function peg$parse(input, options) {
18322
18494
  }
18323
18495
  if (s0 === peg$FAILED) {
18324
18496
  s0 = peg$currPos;
18325
- if (input.substr(peg$currPos, 6) === peg$c65) {
18326
- s1 = peg$c65;
18497
+ if (input.substr(peg$currPos, 6) === peg$c66) {
18498
+ s1 = peg$c66;
18327
18499
  peg$currPos += 6;
18328
18500
  } else {
18329
18501
  s1 = peg$FAILED;
18330
18502
  if (peg$silentFails === 0) {
18331
- peg$fail(peg$e69);
18503
+ peg$fail(peg$e70);
18332
18504
  }
18333
18505
  }
18334
18506
  if (s1 !== peg$FAILED) {
@@ -18337,7 +18509,7 @@ function peg$parse(input, options) {
18337
18509
  s3 = peg$parseBlockTag();
18338
18510
  if (s3 !== peg$FAILED) {
18339
18511
  peg$savedPos = s0;
18340
- s0 = peg$f85(s2);
18512
+ s0 = peg$f86(s2);
18341
18513
  } else {
18342
18514
  peg$currPos = s0;
18343
18515
  s0 = peg$FAILED;
@@ -18357,7 +18529,7 @@ function peg$parse(input, options) {
18357
18529
  s2 = peg$parseBlockTag();
18358
18530
  if (s2 !== peg$FAILED) {
18359
18531
  peg$savedPos = s0;
18360
- s0 = peg$f86(s1);
18532
+ s0 = peg$f87(s1);
18361
18533
  } else {
18362
18534
  peg$currPos = s0;
18363
18535
  s0 = peg$FAILED;
@@ -18435,7 +18607,7 @@ function peg$parse(input, options) {
18435
18607
  s3 = peg$parseBlockTag();
18436
18608
  if (s3 !== peg$FAILED) {
18437
18609
  peg$savedPos = s0;
18438
- s0 = peg$f87(s2);
18610
+ s0 = peg$f88(s2);
18439
18611
  } else {
18440
18612
  peg$currPos = s0;
18441
18613
  s0 = peg$FAILED;
@@ -18475,13 +18647,13 @@ function peg$parse(input, options) {
18475
18647
  function peg$parseRef() {
18476
18648
  let s0, s1, s2, s3, s4, s5, s6;
18477
18649
  s0 = peg$currPos;
18478
- if (input.substr(peg$currPos, 2) === peg$c66) {
18479
- s1 = peg$c66;
18650
+ if (input.substr(peg$currPos, 2) === peg$c67) {
18651
+ s1 = peg$c67;
18480
18652
  peg$currPos += 2;
18481
18653
  } else {
18482
18654
  s1 = peg$FAILED;
18483
18655
  if (peg$silentFails === 0) {
18484
- peg$fail(peg$e70);
18656
+ peg$fail(peg$e71);
18485
18657
  }
18486
18658
  }
18487
18659
  if (s1 !== peg$FAILED) {
@@ -18540,7 +18712,7 @@ function peg$parse(input, options) {
18540
18712
  }
18541
18713
  s2 = input.substring(s2, peg$currPos);
18542
18714
  peg$savedPos = s0;
18543
- s0 = peg$f88(s2);
18715
+ s0 = peg$f89(s2);
18544
18716
  } else {
18545
18717
  peg$currPos = s0;
18546
18718
  s0 = peg$FAILED;
@@ -18549,303 +18721,303 @@ function peg$parse(input, options) {
18549
18721
  }
18550
18722
  function peg$parseAlternativeStyleTags() {
18551
18723
  let s0;
18552
- if (input.substr(peg$currPos, 4) === peg$c67) {
18553
- s0 = peg$c67;
18724
+ if (input.substr(peg$currPos, 4) === peg$c68) {
18725
+ s0 = peg$c68;
18554
18726
  peg$currPos += 4;
18555
18727
  } else {
18556
18728
  s0 = peg$FAILED;
18557
18729
  if (peg$silentFails === 0) {
18558
- peg$fail(peg$e71);
18730
+ peg$fail(peg$e72);
18559
18731
  }
18560
18732
  }
18561
18733
  if (s0 === peg$FAILED) {
18562
- if (input.substr(peg$currPos, 6) === peg$c68) {
18563
- s0 = peg$c68;
18734
+ if (input.substr(peg$currPos, 6) === peg$c69) {
18735
+ s0 = peg$c69;
18564
18736
  peg$currPos += 6;
18565
18737
  } else {
18566
18738
  s0 = peg$FAILED;
18567
18739
  if (peg$silentFails === 0) {
18568
- peg$fail(peg$e72);
18740
+ peg$fail(peg$e73);
18569
18741
  }
18570
18742
  }
18571
18743
  if (s0 === peg$FAILED) {
18572
- if (input.substr(peg$currPos, 5) === peg$c69) {
18573
- s0 = peg$c69;
18744
+ if (input.substr(peg$currPos, 5) === peg$c70) {
18745
+ s0 = peg$c70;
18574
18746
  peg$currPos += 5;
18575
18747
  } else {
18576
18748
  s0 = peg$FAILED;
18577
18749
  if (peg$silentFails === 0) {
18578
- peg$fail(peg$e73);
18750
+ peg$fail(peg$e74);
18579
18751
  }
18580
18752
  }
18581
18753
  if (s0 === peg$FAILED) {
18582
- if (input.substr(peg$currPos, 9) === peg$c70) {
18583
- s0 = peg$c70;
18754
+ if (input.substr(peg$currPos, 9) === peg$c71) {
18755
+ s0 = peg$c71;
18584
18756
  peg$currPos += 9;
18585
18757
  } else {
18586
18758
  s0 = peg$FAILED;
18587
18759
  if (peg$silentFails === 0) {
18588
- peg$fail(peg$e74);
18760
+ peg$fail(peg$e75);
18589
18761
  }
18590
18762
  }
18591
18763
  if (s0 === peg$FAILED) {
18592
- if (input.substr(peg$currPos, 6) === peg$c71) {
18593
- s0 = peg$c71;
18764
+ if (input.substr(peg$currPos, 6) === peg$c72) {
18765
+ s0 = peg$c72;
18594
18766
  peg$currPos += 6;
18595
18767
  } else {
18596
18768
  s0 = peg$FAILED;
18597
18769
  if (peg$silentFails === 0) {
18598
- peg$fail(peg$e75);
18770
+ peg$fail(peg$e76);
18599
18771
  }
18600
18772
  }
18601
18773
  if (s0 === peg$FAILED) {
18602
- if (input.substr(peg$currPos, 9) === peg$c72) {
18603
- s0 = peg$c72;
18774
+ if (input.substr(peg$currPos, 9) === peg$c73) {
18775
+ s0 = peg$c73;
18604
18776
  peg$currPos += 9;
18605
18777
  } else {
18606
18778
  s0 = peg$FAILED;
18607
18779
  if (peg$silentFails === 0) {
18608
- peg$fail(peg$e76);
18780
+ peg$fail(peg$e77);
18609
18781
  }
18610
18782
  }
18611
18783
  if (s0 === peg$FAILED) {
18612
- if (input.substr(peg$currPos, 11) === peg$c73) {
18613
- s0 = peg$c73;
18784
+ if (input.substr(peg$currPos, 11) === peg$c74) {
18785
+ s0 = peg$c74;
18614
18786
  peg$currPos += 11;
18615
18787
  } else {
18616
18788
  s0 = peg$FAILED;
18617
18789
  if (peg$silentFails === 0) {
18618
- peg$fail(peg$e77);
18790
+ peg$fail(peg$e78);
18619
18791
  }
18620
18792
  }
18621
18793
  if (s0 === peg$FAILED) {
18622
- if (input.substr(peg$currPos, 3) === peg$c74) {
18623
- s0 = peg$c74;
18794
+ if (input.substr(peg$currPos, 3) === peg$c75) {
18795
+ s0 = peg$c75;
18624
18796
  peg$currPos += 3;
18625
18797
  } else {
18626
18798
  s0 = peg$FAILED;
18627
18799
  if (peg$silentFails === 0) {
18628
- peg$fail(peg$e78);
18800
+ peg$fail(peg$e79);
18629
18801
  }
18630
18802
  }
18631
18803
  if (s0 === peg$FAILED) {
18632
- if (input.substr(peg$currPos, 3) === peg$c75) {
18633
- s0 = peg$c75;
18804
+ if (input.substr(peg$currPos, 3) === peg$c76) {
18805
+ s0 = peg$c76;
18634
18806
  peg$currPos += 3;
18635
18807
  } else {
18636
18808
  s0 = peg$FAILED;
18637
18809
  if (peg$silentFails === 0) {
18638
- peg$fail(peg$e79);
18810
+ peg$fail(peg$e80);
18639
18811
  }
18640
18812
  }
18641
18813
  if (s0 === peg$FAILED) {
18642
- if (input.substr(peg$currPos, 9) === peg$c76) {
18643
- s0 = peg$c76;
18814
+ if (input.substr(peg$currPos, 9) === peg$c77) {
18815
+ s0 = peg$c77;
18644
18816
  peg$currPos += 9;
18645
18817
  } else {
18646
18818
  s0 = peg$FAILED;
18647
18819
  if (peg$silentFails === 0) {
18648
- peg$fail(peg$e80);
18820
+ peg$fail(peg$e81);
18649
18821
  }
18650
18822
  }
18651
18823
  if (s0 === peg$FAILED) {
18652
- if (input.substr(peg$currPos, 15) === peg$c77) {
18653
- s0 = peg$c77;
18824
+ if (input.substr(peg$currPos, 15) === peg$c78) {
18825
+ s0 = peg$c78;
18654
18826
  peg$currPos += 15;
18655
18827
  } else {
18656
18828
  s0 = peg$FAILED;
18657
18829
  if (peg$silentFails === 0) {
18658
- peg$fail(peg$e81);
18830
+ peg$fail(peg$e82);
18659
18831
  }
18660
18832
  }
18661
18833
  if (s0 === peg$FAILED) {
18662
- if (input.substr(peg$currPos, 6) === peg$c78) {
18663
- s0 = peg$c78;
18834
+ if (input.substr(peg$currPos, 6) === peg$c79) {
18835
+ s0 = peg$c79;
18664
18836
  peg$currPos += 6;
18665
18837
  } else {
18666
18838
  s0 = peg$FAILED;
18667
18839
  if (peg$silentFails === 0) {
18668
- peg$fail(peg$e82);
18840
+ peg$fail(peg$e83);
18669
18841
  }
18670
18842
  }
18671
18843
  if (s0 === peg$FAILED) {
18672
- if (input.substr(peg$currPos, 13) === peg$c79) {
18673
- s0 = peg$c79;
18844
+ if (input.substr(peg$currPos, 13) === peg$c80) {
18845
+ s0 = peg$c80;
18674
18846
  peg$currPos += 13;
18675
18847
  } else {
18676
18848
  s0 = peg$FAILED;
18677
18849
  if (peg$silentFails === 0) {
18678
- peg$fail(peg$e83);
18850
+ peg$fail(peg$e84);
18679
18851
  }
18680
18852
  }
18681
18853
  if (s0 === peg$FAILED) {
18682
- if (input.substr(peg$currPos, 16) === peg$c80) {
18683
- s0 = peg$c80;
18854
+ if (input.substr(peg$currPos, 16) === peg$c81) {
18855
+ s0 = peg$c81;
18684
18856
  peg$currPos += 16;
18685
18857
  } else {
18686
18858
  s0 = peg$FAILED;
18687
18859
  if (peg$silentFails === 0) {
18688
- peg$fail(peg$e84);
18860
+ peg$fail(peg$e85);
18689
18861
  }
18690
18862
  }
18691
18863
  if (s0 === peg$FAILED) {
18692
- if (input.substr(peg$currPos, 16) === peg$c81) {
18693
- s0 = peg$c81;
18864
+ if (input.substr(peg$currPos, 16) === peg$c82) {
18865
+ s0 = peg$c82;
18694
18866
  peg$currPos += 16;
18695
18867
  } else {
18696
18868
  s0 = peg$FAILED;
18697
18869
  if (peg$silentFails === 0) {
18698
- peg$fail(peg$e85);
18870
+ peg$fail(peg$e86);
18699
18871
  }
18700
18872
  }
18701
18873
  if (s0 === peg$FAILED) {
18702
- if (input.substr(peg$currPos, 15) === peg$c82) {
18703
- s0 = peg$c82;
18874
+ if (input.substr(peg$currPos, 15) === peg$c83) {
18875
+ s0 = peg$c83;
18704
18876
  peg$currPos += 15;
18705
18877
  } else {
18706
18878
  s0 = peg$FAILED;
18707
18879
  if (peg$silentFails === 0) {
18708
- peg$fail(peg$e86);
18880
+ peg$fail(peg$e87);
18709
18881
  }
18710
18882
  }
18711
18883
  if (s0 === peg$FAILED) {
18712
- if (input.substr(peg$currPos, 14) === peg$c83) {
18713
- s0 = peg$c83;
18884
+ if (input.substr(peg$currPos, 14) === peg$c84) {
18885
+ s0 = peg$c84;
18714
18886
  peg$currPos += 14;
18715
18887
  } else {
18716
18888
  s0 = peg$FAILED;
18717
18889
  if (peg$silentFails === 0) {
18718
- peg$fail(peg$e87);
18890
+ peg$fail(peg$e88);
18719
18891
  }
18720
18892
  }
18721
18893
  if (s0 === peg$FAILED) {
18722
- if (input.substr(peg$currPos, 16) === peg$c84) {
18723
- s0 = peg$c84;
18894
+ if (input.substr(peg$currPos, 16) === peg$c85) {
18895
+ s0 = peg$c85;
18724
18896
  peg$currPos += 16;
18725
18897
  } else {
18726
18898
  s0 = peg$FAILED;
18727
18899
  if (peg$silentFails === 0) {
18728
- peg$fail(peg$e88);
18900
+ peg$fail(peg$e89);
18729
18901
  }
18730
18902
  }
18731
18903
  if (s0 === peg$FAILED) {
18732
- if (input.substr(peg$currPos, 14) === peg$c85) {
18733
- s0 = peg$c85;
18904
+ if (input.substr(peg$currPos, 14) === peg$c86) {
18905
+ s0 = peg$c86;
18734
18906
  peg$currPos += 14;
18735
18907
  } else {
18736
18908
  s0 = peg$FAILED;
18737
18909
  if (peg$silentFails === 0) {
18738
- peg$fail(peg$e89);
18910
+ peg$fail(peg$e90);
18739
18911
  }
18740
18912
  }
18741
18913
  if (s0 === peg$FAILED) {
18742
- if (input.substr(peg$currPos, 15) === peg$c86) {
18743
- s0 = peg$c86;
18914
+ if (input.substr(peg$currPos, 15) === peg$c87) {
18915
+ s0 = peg$c87;
18744
18916
  peg$currPos += 15;
18745
18917
  } else {
18746
18918
  s0 = peg$FAILED;
18747
18919
  if (peg$silentFails === 0) {
18748
- peg$fail(peg$e90);
18920
+ peg$fail(peg$e91);
18749
18921
  }
18750
18922
  }
18751
18923
  if (s0 === peg$FAILED) {
18752
- if (input.substr(peg$currPos, 15) === peg$c87) {
18753
- s0 = peg$c87;
18924
+ if (input.substr(peg$currPos, 15) === peg$c88) {
18925
+ s0 = peg$c88;
18754
18926
  peg$currPos += 15;
18755
18927
  } else {
18756
18928
  s0 = peg$FAILED;
18757
18929
  if (peg$silentFails === 0) {
18758
- peg$fail(peg$e91);
18930
+ peg$fail(peg$e92);
18759
18931
  }
18760
18932
  }
18761
18933
  if (s0 === peg$FAILED) {
18762
- if (input.substr(peg$currPos, 15) === peg$c88) {
18763
- s0 = peg$c88;
18934
+ if (input.substr(peg$currPos, 15) === peg$c89) {
18935
+ s0 = peg$c89;
18764
18936
  peg$currPos += 15;
18765
18937
  } else {
18766
18938
  s0 = peg$FAILED;
18767
18939
  if (peg$silentFails === 0) {
18768
- peg$fail(peg$e92);
18940
+ peg$fail(peg$e93);
18769
18941
  }
18770
18942
  }
18771
18943
  if (s0 === peg$FAILED) {
18772
- if (input.substr(peg$currPos, 14) === peg$c89) {
18773
- s0 = peg$c89;
18944
+ if (input.substr(peg$currPos, 14) === peg$c90) {
18945
+ s0 = peg$c90;
18774
18946
  peg$currPos += 14;
18775
18947
  } else {
18776
18948
  s0 = peg$FAILED;
18777
18949
  if (peg$silentFails === 0) {
18778
- peg$fail(peg$e93);
18950
+ peg$fail(peg$e94);
18779
18951
  }
18780
18952
  }
18781
18953
  if (s0 === peg$FAILED) {
18782
- if (input.substr(peg$currPos, 10) === peg$c90) {
18783
- s0 = peg$c90;
18954
+ if (input.substr(peg$currPos, 10) === peg$c91) {
18955
+ s0 = peg$c91;
18784
18956
  peg$currPos += 10;
18785
18957
  } else {
18786
18958
  s0 = peg$FAILED;
18787
18959
  if (peg$silentFails === 0) {
18788
- peg$fail(peg$e94);
18960
+ peg$fail(peg$e95);
18789
18961
  }
18790
18962
  }
18791
18963
  if (s0 === peg$FAILED) {
18792
- if (input.substr(peg$currPos, 13) === peg$c91) {
18793
- s0 = peg$c91;
18964
+ if (input.substr(peg$currPos, 13) === peg$c92) {
18965
+ s0 = peg$c92;
18794
18966
  peg$currPos += 13;
18795
18967
  } else {
18796
18968
  s0 = peg$FAILED;
18797
18969
  if (peg$silentFails === 0) {
18798
- peg$fail(peg$e95);
18970
+ peg$fail(peg$e96);
18799
18971
  }
18800
18972
  }
18801
18973
  if (s0 === peg$FAILED) {
18802
- if (input.substr(peg$currPos, 19) === peg$c92) {
18803
- s0 = peg$c92;
18974
+ if (input.substr(peg$currPos, 19) === peg$c93) {
18975
+ s0 = peg$c93;
18804
18976
  peg$currPos += 19;
18805
18977
  } else {
18806
18978
  s0 = peg$FAILED;
18807
18979
  if (peg$silentFails === 0) {
18808
- peg$fail(peg$e96);
18980
+ peg$fail(peg$e97);
18809
18981
  }
18810
18982
  }
18811
18983
  if (s0 === peg$FAILED) {
18812
- if (input.substr(peg$currPos, 10) === peg$c93) {
18813
- s0 = peg$c93;
18984
+ if (input.substr(peg$currPos, 10) === peg$c94) {
18985
+ s0 = peg$c94;
18814
18986
  peg$currPos += 10;
18815
18987
  } else {
18816
18988
  s0 = peg$FAILED;
18817
18989
  if (peg$silentFails === 0) {
18818
- peg$fail(peg$e97);
18990
+ peg$fail(peg$e98);
18819
18991
  }
18820
18992
  }
18821
18993
  if (s0 === peg$FAILED) {
18822
- if (input.substr(peg$currPos, 10) === peg$c94) {
18823
- s0 = peg$c94;
18994
+ if (input.substr(peg$currPos, 10) === peg$c95) {
18995
+ s0 = peg$c95;
18824
18996
  peg$currPos += 10;
18825
18997
  } else {
18826
18998
  s0 = peg$FAILED;
18827
18999
  if (peg$silentFails === 0) {
18828
- peg$fail(peg$e98);
19000
+ peg$fail(peg$e99);
18829
19001
  }
18830
19002
  }
18831
19003
  if (s0 === peg$FAILED) {
18832
- if (input.substr(peg$currPos, 13) === peg$c95) {
18833
- s0 = peg$c95;
19004
+ if (input.substr(peg$currPos, 13) === peg$c96) {
19005
+ s0 = peg$c96;
18834
19006
  peg$currPos += 13;
18835
19007
  } else {
18836
19008
  s0 = peg$FAILED;
18837
19009
  if (peg$silentFails === 0) {
18838
- peg$fail(peg$e99);
19010
+ peg$fail(peg$e100);
18839
19011
  }
18840
19012
  }
18841
19013
  if (s0 === peg$FAILED) {
18842
- if (input.substr(peg$currPos, 11) === peg$c96) {
18843
- s0 = peg$c96;
19014
+ if (input.substr(peg$currPos, 11) === peg$c97) {
19015
+ s0 = peg$c97;
18844
19016
  peg$currPos += 11;
18845
19017
  } else {
18846
19018
  s0 = peg$FAILED;
18847
19019
  if (peg$silentFails === 0) {
18848
- peg$fail(peg$e100);
19020
+ peg$fail(peg$e101);
18849
19021
  }
18850
19022
  }
18851
19023
  }
@@ -18881,233 +19053,233 @@ function peg$parse(input, options) {
18881
19053
  }
18882
19054
  function peg$parseColor() {
18883
19055
  let s0;
18884
- if (input.substr(peg$currPos, 4) === peg$c97) {
18885
- s0 = peg$c97;
19056
+ if (input.substr(peg$currPos, 4) === peg$c98) {
19057
+ s0 = peg$c98;
18886
19058
  peg$currPos += 4;
18887
19059
  } else {
18888
19060
  s0 = peg$FAILED;
18889
19061
  if (peg$silentFails === 0) {
18890
- peg$fail(peg$e101);
19062
+ peg$fail(peg$e102);
18891
19063
  }
18892
19064
  }
18893
19065
  if (s0 === peg$FAILED) {
18894
- if (input.substr(peg$currPos, 5) === peg$c98) {
18895
- s0 = peg$c98;
19066
+ if (input.substr(peg$currPos, 5) === peg$c99) {
19067
+ s0 = peg$c99;
18896
19068
  peg$currPos += 5;
18897
19069
  } else {
18898
19070
  s0 = peg$FAILED;
18899
19071
  if (peg$silentFails === 0) {
18900
- peg$fail(peg$e102);
19072
+ peg$fail(peg$e103);
18901
19073
  }
18902
19074
  }
18903
19075
  if (s0 === peg$FAILED) {
18904
- if (input.substr(peg$currPos, 4) === peg$c99) {
18905
- s0 = peg$c99;
19076
+ if (input.substr(peg$currPos, 4) === peg$c100) {
19077
+ s0 = peg$c100;
18906
19078
  peg$currPos += 4;
18907
19079
  } else {
18908
19080
  s0 = peg$FAILED;
18909
19081
  if (peg$silentFails === 0) {
18910
- peg$fail(peg$e103);
19082
+ peg$fail(peg$e104);
18911
19083
  }
18912
19084
  }
18913
19085
  if (s0 === peg$FAILED) {
18914
- if (input.substr(peg$currPos, 5) === peg$c100) {
18915
- s0 = peg$c100;
19086
+ if (input.substr(peg$currPos, 5) === peg$c101) {
19087
+ s0 = peg$c101;
18916
19088
  peg$currPos += 5;
18917
19089
  } else {
18918
19090
  s0 = peg$FAILED;
18919
19091
  if (peg$silentFails === 0) {
18920
- peg$fail(peg$e104);
19092
+ peg$fail(peg$e105);
18921
19093
  }
18922
19094
  }
18923
19095
  if (s0 === peg$FAILED) {
18924
- if (input.substr(peg$currPos, 7) === peg$c101) {
18925
- s0 = peg$c101;
19096
+ if (input.substr(peg$currPos, 7) === peg$c102) {
19097
+ s0 = peg$c102;
18926
19098
  peg$currPos += 7;
18927
19099
  } else {
18928
19100
  s0 = peg$FAILED;
18929
19101
  if (peg$silentFails === 0) {
18930
- peg$fail(peg$e105);
19102
+ peg$fail(peg$e106);
18931
19103
  }
18932
19104
  }
18933
19105
  if (s0 === peg$FAILED) {
18934
- if (input.substr(peg$currPos, 9) === peg$c102) {
18935
- s0 = peg$c102;
19106
+ if (input.substr(peg$currPos, 9) === peg$c103) {
19107
+ s0 = peg$c103;
18936
19108
  peg$currPos += 9;
18937
19109
  } else {
18938
19110
  s0 = peg$FAILED;
18939
19111
  if (peg$silentFails === 0) {
18940
- peg$fail(peg$e106);
19112
+ peg$fail(peg$e107);
18941
19113
  }
18942
19114
  }
18943
19115
  if (s0 === peg$FAILED) {
18944
- if (input.substr(peg$currPos, 4) === peg$c103) {
18945
- s0 = peg$c103;
19116
+ if (input.substr(peg$currPos, 4) === peg$c104) {
19117
+ s0 = peg$c104;
18946
19118
  peg$currPos += 4;
18947
19119
  } else {
18948
19120
  s0 = peg$FAILED;
18949
19121
  if (peg$silentFails === 0) {
18950
- peg$fail(peg$e107);
19122
+ peg$fail(peg$e108);
18951
19123
  }
18952
19124
  }
18953
19125
  if (s0 === peg$FAILED) {
18954
- if (input.substr(peg$currPos, 8) === peg$c104) {
18955
- s0 = peg$c104;
19126
+ if (input.substr(peg$currPos, 8) === peg$c105) {
19127
+ s0 = peg$c105;
18956
19128
  peg$currPos += 8;
18957
19129
  } else {
18958
19130
  s0 = peg$FAILED;
18959
19131
  if (peg$silentFails === 0) {
18960
- peg$fail(peg$e108);
19132
+ peg$fail(peg$e109);
18961
19133
  }
18962
19134
  }
18963
19135
  if (s0 === peg$FAILED) {
18964
- if (input.substr(peg$currPos, 5) === peg$c105) {
18965
- s0 = peg$c105;
19136
+ if (input.substr(peg$currPos, 5) === peg$c106) {
19137
+ s0 = peg$c106;
18966
19138
  peg$currPos += 5;
18967
19139
  } else {
18968
19140
  s0 = peg$FAILED;
18969
19141
  if (peg$silentFails === 0) {
18970
- peg$fail(peg$e109);
19142
+ peg$fail(peg$e110);
18971
19143
  }
18972
19144
  }
18973
19145
  if (s0 === peg$FAILED) {
18974
- if (input.substr(peg$currPos, 4) === peg$c106) {
18975
- s0 = peg$c106;
19146
+ if (input.substr(peg$currPos, 4) === peg$c107) {
19147
+ s0 = peg$c107;
18976
19148
  peg$currPos += 4;
18977
19149
  } else {
18978
19150
  s0 = peg$FAILED;
18979
19151
  if (peg$silentFails === 0) {
18980
- peg$fail(peg$e110);
19152
+ peg$fail(peg$e111);
18981
19153
  }
18982
19154
  }
18983
19155
  if (s0 === peg$FAILED) {
18984
- if (input.substr(peg$currPos, 7) === peg$c107) {
18985
- s0 = peg$c107;
19156
+ if (input.substr(peg$currPos, 7) === peg$c108) {
19157
+ s0 = peg$c108;
18986
19158
  peg$currPos += 7;
18987
19159
  } else {
18988
19160
  s0 = peg$FAILED;
18989
19161
  if (peg$silentFails === 0) {
18990
- peg$fail(peg$e111);
19162
+ peg$fail(peg$e112);
18991
19163
  }
18992
19164
  }
18993
19165
  if (s0 === peg$FAILED) {
18994
- if (input.substr(peg$currPos, 6) === peg$c108) {
18995
- s0 = peg$c108;
19166
+ if (input.substr(peg$currPos, 6) === peg$c109) {
19167
+ s0 = peg$c109;
18996
19168
  peg$currPos += 6;
18997
19169
  } else {
18998
19170
  s0 = peg$FAILED;
18999
19171
  if (peg$silentFails === 0) {
19000
- peg$fail(peg$e112);
19172
+ peg$fail(peg$e113);
19001
19173
  }
19002
19174
  }
19003
19175
  if (s0 === peg$FAILED) {
19004
- if (input.substr(peg$currPos, 4) === peg$c109) {
19005
- s0 = peg$c109;
19176
+ if (input.substr(peg$currPos, 4) === peg$c110) {
19177
+ s0 = peg$c110;
19006
19178
  peg$currPos += 4;
19007
19179
  } else {
19008
19180
  s0 = peg$FAILED;
19009
19181
  if (peg$silentFails === 0) {
19010
- peg$fail(peg$e113);
19182
+ peg$fail(peg$e114);
19011
19183
  }
19012
19184
  }
19013
19185
  if (s0 === peg$FAILED) {
19014
- if (input.substr(peg$currPos, 5) === peg$c110) {
19015
- s0 = peg$c110;
19186
+ if (input.substr(peg$currPos, 5) === peg$c111) {
19187
+ s0 = peg$c111;
19016
19188
  peg$currPos += 5;
19017
19189
  } else {
19018
19190
  s0 = peg$FAILED;
19019
19191
  if (peg$silentFails === 0) {
19020
- peg$fail(peg$e114);
19192
+ peg$fail(peg$e115);
19021
19193
  }
19022
19194
  }
19023
19195
  if (s0 === peg$FAILED) {
19024
- if (input.substr(peg$currPos, 6) === peg$c111) {
19025
- s0 = peg$c111;
19196
+ if (input.substr(peg$currPos, 6) === peg$c112) {
19197
+ s0 = peg$c112;
19026
19198
  peg$currPos += 6;
19027
19199
  } else {
19028
19200
  s0 = peg$FAILED;
19029
19201
  if (peg$silentFails === 0) {
19030
- peg$fail(peg$e115);
19202
+ peg$fail(peg$e116);
19031
19203
  }
19032
19204
  }
19033
19205
  if (s0 === peg$FAILED) {
19034
- if (input.substr(peg$currPos, 4) === peg$c112) {
19035
- s0 = peg$c112;
19206
+ if (input.substr(peg$currPos, 4) === peg$c113) {
19207
+ s0 = peg$c113;
19036
19208
  peg$currPos += 4;
19037
19209
  } else {
19038
19210
  s0 = peg$FAILED;
19039
19211
  if (peg$silentFails === 0) {
19040
- peg$fail(peg$e116);
19212
+ peg$fail(peg$e117);
19041
19213
  }
19042
19214
  }
19043
19215
  if (s0 === peg$FAILED) {
19044
- if (input.substr(peg$currPos, 6) === peg$c113) {
19045
- s0 = peg$c113;
19216
+ if (input.substr(peg$currPos, 6) === peg$c114) {
19217
+ s0 = peg$c114;
19046
19218
  peg$currPos += 6;
19047
19219
  } else {
19048
19220
  s0 = peg$FAILED;
19049
19221
  if (peg$silentFails === 0) {
19050
- peg$fail(peg$e117);
19222
+ peg$fail(peg$e118);
19051
19223
  }
19052
19224
  }
19053
19225
  if (s0 === peg$FAILED) {
19054
- if (input.substr(peg$currPos, 3) === peg$c114) {
19055
- s0 = peg$c114;
19226
+ if (input.substr(peg$currPos, 3) === peg$c115) {
19227
+ s0 = peg$c115;
19056
19228
  peg$currPos += 3;
19057
19229
  } else {
19058
19230
  s0 = peg$FAILED;
19059
19231
  if (peg$silentFails === 0) {
19060
- peg$fail(peg$e118);
19232
+ peg$fail(peg$e119);
19061
19233
  }
19062
19234
  }
19063
19235
  if (s0 === peg$FAILED) {
19064
- if (input.substr(peg$currPos, 6) === peg$c115) {
19065
- s0 = peg$c115;
19236
+ if (input.substr(peg$currPos, 6) === peg$c116) {
19237
+ s0 = peg$c116;
19066
19238
  peg$currPos += 6;
19067
19239
  } else {
19068
19240
  s0 = peg$FAILED;
19069
19241
  if (peg$silentFails === 0) {
19070
- peg$fail(peg$e119);
19242
+ peg$fail(peg$e120);
19071
19243
  }
19072
19244
  }
19073
19245
  if (s0 === peg$FAILED) {
19074
- if (input.substr(peg$currPos, 4) === peg$c116) {
19075
- s0 = peg$c116;
19246
+ if (input.substr(peg$currPos, 4) === peg$c117) {
19247
+ s0 = peg$c117;
19076
19248
  peg$currPos += 4;
19077
19249
  } else {
19078
19250
  s0 = peg$FAILED;
19079
19251
  if (peg$silentFails === 0) {
19080
- peg$fail(peg$e120);
19252
+ peg$fail(peg$e121);
19081
19253
  }
19082
19254
  }
19083
19255
  if (s0 === peg$FAILED) {
19084
- if (input.substr(peg$currPos, 6) === peg$c117) {
19085
- s0 = peg$c117;
19256
+ if (input.substr(peg$currPos, 6) === peg$c118) {
19257
+ s0 = peg$c118;
19086
19258
  peg$currPos += 6;
19087
19259
  } else {
19088
19260
  s0 = peg$FAILED;
19089
19261
  if (peg$silentFails === 0) {
19090
- peg$fail(peg$e121);
19262
+ peg$fail(peg$e122);
19091
19263
  }
19092
19264
  }
19093
19265
  if (s0 === peg$FAILED) {
19094
- if (input.substr(peg$currPos, 5) === peg$c118) {
19095
- s0 = peg$c118;
19266
+ if (input.substr(peg$currPos, 5) === peg$c119) {
19267
+ s0 = peg$c119;
19096
19268
  peg$currPos += 5;
19097
19269
  } else {
19098
19270
  s0 = peg$FAILED;
19099
19271
  if (peg$silentFails === 0) {
19100
- peg$fail(peg$e122);
19272
+ peg$fail(peg$e123);
19101
19273
  }
19102
19274
  }
19103
19275
  if (s0 === peg$FAILED) {
19104
- if (input.substr(peg$currPos, 6) === peg$c119) {
19105
- s0 = peg$c119;
19276
+ if (input.substr(peg$currPos, 6) === peg$c120) {
19277
+ s0 = peg$c120;
19106
19278
  peg$currPos += 6;
19107
19279
  } else {
19108
19280
  s0 = peg$FAILED;
19109
19281
  if (peg$silentFails === 0) {
19110
- peg$fail(peg$e123);
19282
+ peg$fail(peg$e124);
19111
19283
  }
19112
19284
  }
19113
19285
  }
@@ -19140,7 +19312,7 @@ function peg$parse(input, options) {
19140
19312
  s0 = peg$currPos;
19141
19313
  s1 = peg$parsebitmarkMinusMinusString();
19142
19314
  peg$savedPos = s0;
19143
- s1 = peg$f89(s1);
19315
+ s1 = peg$f90(s1);
19144
19316
  s0 = s1;
19145
19317
  peg$silentFails--;
19146
19318
  return s0;
@@ -19166,7 +19338,7 @@ function peg$parse(input, options) {
19166
19338
  }
19167
19339
  }
19168
19340
  peg$savedPos = s0;
19169
- s0 = peg$f90(s1, s2);
19341
+ s0 = peg$f91(s1, s2);
19170
19342
  peg$silentFails--;
19171
19343
  return s0;
19172
19344
  }
@@ -19176,7 +19348,7 @@ function peg$parse(input, options) {
19176
19348
  s1 = peg$parseNL();
19177
19349
  if (s1 !== peg$FAILED) {
19178
19350
  peg$savedPos = s0;
19179
- s1 = peg$f91();
19351
+ s1 = peg$f92();
19180
19352
  }
19181
19353
  s0 = s1;
19182
19354
  if (s0 === peg$FAILED) {
@@ -19305,7 +19477,7 @@ function peg$parse(input, options) {
19305
19477
  }
19306
19478
  if (s1 !== peg$FAILED) {
19307
19479
  peg$savedPos = s0;
19308
- s1 = peg$f92(s1);
19480
+ s1 = peg$f93(s1);
19309
19481
  }
19310
19482
  s0 = s1;
19311
19483
  }
@@ -19314,12 +19486,12 @@ function peg$parse(input, options) {
19314
19486
  function peg$parseBoldHalfTag() {
19315
19487
  let s0;
19316
19488
  if (input.charCodeAt(peg$currPos) === 42) {
19317
- s0 = peg$c120;
19489
+ s0 = peg$c121;
19318
19490
  peg$currPos++;
19319
19491
  } else {
19320
19492
  s0 = peg$FAILED;
19321
19493
  if (peg$silentFails === 0) {
19322
- peg$fail(peg$e124);
19494
+ peg$fail(peg$e125);
19323
19495
  }
19324
19496
  }
19325
19497
  return s0;
@@ -19327,12 +19499,12 @@ function peg$parse(input, options) {
19327
19499
  function peg$parseItalicHalfTag() {
19328
19500
  let s0;
19329
19501
  if (input.charCodeAt(peg$currPos) === 95) {
19330
- s0 = peg$c121;
19502
+ s0 = peg$c122;
19331
19503
  peg$currPos++;
19332
19504
  } else {
19333
19505
  s0 = peg$FAILED;
19334
19506
  if (peg$silentFails === 0) {
19335
- peg$fail(peg$e125);
19507
+ peg$fail(peg$e126);
19336
19508
  }
19337
19509
  }
19338
19510
  return s0;
@@ -19340,12 +19512,12 @@ function peg$parse(input, options) {
19340
19512
  function peg$parseLightHalfTag() {
19341
19513
  let s0;
19342
19514
  if (input.charCodeAt(peg$currPos) === 96) {
19343
- s0 = peg$c122;
19515
+ s0 = peg$c123;
19344
19516
  peg$currPos++;
19345
19517
  } else {
19346
19518
  s0 = peg$FAILED;
19347
19519
  if (peg$silentFails === 0) {
19348
- peg$fail(peg$e126);
19520
+ peg$fail(peg$e127);
19349
19521
  }
19350
19522
  }
19351
19523
  return s0;
@@ -19353,12 +19525,12 @@ function peg$parse(input, options) {
19353
19525
  function peg$parseHighlightHalfTag() {
19354
19526
  let s0;
19355
19527
  if (input.charCodeAt(peg$currPos) === 33) {
19356
- s0 = peg$c123;
19528
+ s0 = peg$c124;
19357
19529
  peg$currPos++;
19358
19530
  } else {
19359
19531
  s0 = peg$FAILED;
19360
19532
  if (peg$silentFails === 0) {
19361
- peg$fail(peg$e127);
19533
+ peg$fail(peg$e128);
19362
19534
  }
19363
19535
  }
19364
19536
  return s0;
@@ -19441,13 +19613,13 @@ function peg$parse(input, options) {
19441
19613
  }
19442
19614
  function peg$parseBodyBitOpenTag() {
19443
19615
  let s0;
19444
- if (input.substr(peg$currPos, 2) === peg$c124) {
19445
- s0 = peg$c124;
19616
+ if (input.substr(peg$currPos, 2) === peg$c125) {
19617
+ s0 = peg$c125;
19446
19618
  peg$currPos += 2;
19447
19619
  } else {
19448
19620
  s0 = peg$FAILED;
19449
19621
  if (peg$silentFails === 0) {
19450
- peg$fail(peg$e128);
19622
+ peg$fail(peg$e129);
19451
19623
  }
19452
19624
  }
19453
19625
  return s0;
@@ -19455,12 +19627,12 @@ function peg$parse(input, options) {
19455
19627
  function peg$parseBodyBitCloseTag() {
19456
19628
  let s0;
19457
19629
  if (input.charCodeAt(peg$currPos) === 93) {
19458
- s0 = peg$c125;
19630
+ s0 = peg$c126;
19459
19631
  peg$currPos++;
19460
19632
  } else {
19461
19633
  s0 = peg$FAILED;
19462
19634
  if (peg$silentFails === 0) {
19463
- peg$fail(peg$e129);
19635
+ peg$fail(peg$e130);
19464
19636
  }
19465
19637
  }
19466
19638
  return s0;
@@ -19506,7 +19678,7 @@ function peg$parse(input, options) {
19506
19678
  s3 = peg$parseBodyBitCloseTag();
19507
19679
  if (s3 !== peg$FAILED) {
19508
19680
  peg$savedPos = s0;
19509
- s0 = peg$f93(s2);
19681
+ s0 = peg$f94(s2);
19510
19682
  } else {
19511
19683
  peg$currPos = s0;
19512
19684
  s0 = peg$FAILED;
@@ -19596,7 +19768,7 @@ function peg$parse(input, options) {
19596
19768
  s3 = peg$parseBoldTag();
19597
19769
  if (s3 !== peg$FAILED) {
19598
19770
  peg$savedPos = s0;
19599
- s0 = peg$f94(s2);
19771
+ s0 = peg$f95(s2);
19600
19772
  } else {
19601
19773
  peg$currPos = s0;
19602
19774
  s0 = peg$FAILED;
@@ -19682,7 +19854,7 @@ function peg$parse(input, options) {
19682
19854
  s3 = peg$parseItalicTag();
19683
19855
  if (s3 !== peg$FAILED) {
19684
19856
  peg$savedPos = s0;
19685
- s0 = peg$f95(s2);
19857
+ s0 = peg$f96(s2);
19686
19858
  } else {
19687
19859
  peg$currPos = s0;
19688
19860
  s0 = peg$FAILED;
@@ -19768,7 +19940,7 @@ function peg$parse(input, options) {
19768
19940
  s3 = peg$parseLightTag();
19769
19941
  if (s3 !== peg$FAILED) {
19770
19942
  peg$savedPos = s0;
19771
- s0 = peg$f96(s2);
19943
+ s0 = peg$f97(s2);
19772
19944
  } else {
19773
19945
  peg$currPos = s0;
19774
19946
  s0 = peg$FAILED;
@@ -19854,7 +20026,7 @@ function peg$parse(input, options) {
19854
20026
  s3 = peg$parseHighlightTag();
19855
20027
  if (s3 !== peg$FAILED) {
19856
20028
  peg$savedPos = s0;
19857
- s0 = peg$f97(s2);
20029
+ s0 = peg$f98(s2);
19858
20030
  } else {
19859
20031
  peg$currPos = s0;
19860
20032
  s0 = peg$FAILED;
@@ -19939,22 +20111,22 @@ function peg$parse(input, options) {
19939
20111
  let s0, s1;
19940
20112
  peg$silentFails++;
19941
20113
  if (input.charCodeAt(peg$currPos) === 10) {
19942
- s0 = peg$c126;
20114
+ s0 = peg$c127;
19943
20115
  peg$currPos++;
19944
20116
  } else {
19945
20117
  s0 = peg$FAILED;
19946
20118
  if (peg$silentFails === 0) {
19947
- peg$fail(peg$e131);
20119
+ peg$fail(peg$e132);
19948
20120
  }
19949
20121
  }
19950
20122
  if (s0 === peg$FAILED) {
19951
- if (input.substr(peg$currPos, 2) === peg$c127) {
19952
- s0 = peg$c127;
20123
+ if (input.substr(peg$currPos, 2) === peg$c128) {
20124
+ s0 = peg$c128;
19953
20125
  peg$currPos += 2;
19954
20126
  } else {
19955
20127
  s0 = peg$FAILED;
19956
20128
  if (peg$silentFails === 0) {
19957
- peg$fail(peg$e132);
20129
+ peg$fail(peg$e133);
19958
20130
  }
19959
20131
  }
19960
20132
  if (s0 === peg$FAILED) {
@@ -19964,7 +20136,7 @@ function peg$parse(input, options) {
19964
20136
  } else {
19965
20137
  s0 = peg$FAILED;
19966
20138
  if (peg$silentFails === 0) {
19967
- peg$fail(peg$e133);
20139
+ peg$fail(peg$e134);
19968
20140
  }
19969
20141
  }
19970
20142
  }
@@ -19973,7 +20145,7 @@ function peg$parse(input, options) {
19973
20145
  if (s0 === peg$FAILED) {
19974
20146
  s1 = peg$FAILED;
19975
20147
  if (peg$silentFails === 0) {
19976
- peg$fail(peg$e130);
20148
+ peg$fail(peg$e131);
19977
20149
  }
19978
20150
  }
19979
20151
  return s0;
@@ -19986,7 +20158,7 @@ function peg$parse(input, options) {
19986
20158
  } else {
19987
20159
  s0 = peg$FAILED;
19988
20160
  if (peg$silentFails === 0) {
19989
- peg$fail(peg$e134);
20161
+ peg$fail(peg$e135);
19990
20162
  }
19991
20163
  }
19992
20164
  return s0;
@@ -20020,35 +20192,35 @@ function peg$parse(input, options) {
20020
20192
  let s0, s1, s2, s3, s4, s5, s6, s7, s8;
20021
20193
  s0 = peg$currPos;
20022
20194
  s1 = peg$currPos;
20023
- if (input.substr(peg$currPos, 4) === peg$c128) {
20024
- s2 = peg$c128;
20195
+ if (input.substr(peg$currPos, 4) === peg$c129) {
20196
+ s2 = peg$c129;
20025
20197
  peg$currPos += 4;
20026
20198
  } else {
20027
20199
  s2 = peg$FAILED;
20028
20200
  if (peg$silentFails === 0) {
20029
- peg$fail(peg$e135);
20201
+ peg$fail(peg$e136);
20030
20202
  }
20031
20203
  }
20032
20204
  if (s2 !== peg$FAILED) {
20033
20205
  if (input.charCodeAt(peg$currPos) === 115) {
20034
- s3 = peg$c129;
20206
+ s3 = peg$c130;
20035
20207
  peg$currPos++;
20036
20208
  } else {
20037
20209
  s3 = peg$FAILED;
20038
20210
  if (peg$silentFails === 0) {
20039
- peg$fail(peg$e136);
20211
+ peg$fail(peg$e137);
20040
20212
  }
20041
20213
  }
20042
20214
  if (s3 === peg$FAILED) {
20043
20215
  s3 = null;
20044
20216
  }
20045
- if (input.substr(peg$currPos, 3) === peg$c130) {
20046
- s4 = peg$c130;
20217
+ if (input.substr(peg$currPos, 3) === peg$c131) {
20218
+ s4 = peg$c131;
20047
20219
  peg$currPos += 3;
20048
20220
  } else {
20049
20221
  s4 = peg$FAILED;
20050
20222
  if (peg$silentFails === 0) {
20051
- peg$fail(peg$e137);
20223
+ peg$fail(peg$e138);
20052
20224
  }
20053
20225
  }
20054
20226
  if (s4 !== peg$FAILED) {
@@ -20126,35 +20298,35 @@ function peg$parse(input, options) {
20126
20298
  s0 = peg$currPos;
20127
20299
  s1 = peg$currPos;
20128
20300
  s2 = peg$currPos;
20129
- if (input.substr(peg$currPos, 4) === peg$c128) {
20130
- s3 = peg$c128;
20301
+ if (input.substr(peg$currPos, 4) === peg$c129) {
20302
+ s3 = peg$c129;
20131
20303
  peg$currPos += 4;
20132
20304
  } else {
20133
20305
  s3 = peg$FAILED;
20134
20306
  if (peg$silentFails === 0) {
20135
- peg$fail(peg$e135);
20307
+ peg$fail(peg$e136);
20136
20308
  }
20137
20309
  }
20138
20310
  if (s3 !== peg$FAILED) {
20139
20311
  if (input.charCodeAt(peg$currPos) === 115) {
20140
- s4 = peg$c129;
20312
+ s4 = peg$c130;
20141
20313
  peg$currPos++;
20142
20314
  } else {
20143
20315
  s4 = peg$FAILED;
20144
20316
  if (peg$silentFails === 0) {
20145
- peg$fail(peg$e136);
20317
+ peg$fail(peg$e137);
20146
20318
  }
20147
20319
  }
20148
20320
  if (s4 === peg$FAILED) {
20149
20321
  s4 = null;
20150
20322
  }
20151
- if (input.substr(peg$currPos, 3) === peg$c130) {
20152
- s5 = peg$c130;
20323
+ if (input.substr(peg$currPos, 3) === peg$c131) {
20324
+ s5 = peg$c131;
20153
20325
  peg$currPos += 3;
20154
20326
  } else {
20155
20327
  s5 = peg$FAILED;
20156
20328
  if (peg$silentFails === 0) {
20157
- peg$fail(peg$e137);
20329
+ peg$fail(peg$e138);
20158
20330
  }
20159
20331
  }
20160
20332
  if (s5 !== peg$FAILED) {
@@ -20169,13 +20341,13 @@ function peg$parse(input, options) {
20169
20341
  s2 = peg$FAILED;
20170
20342
  }
20171
20343
  if (s2 === peg$FAILED) {
20172
- if (input.substr(peg$currPos, 7) === peg$c131) {
20173
- s2 = peg$c131;
20344
+ if (input.substr(peg$currPos, 7) === peg$c132) {
20345
+ s2 = peg$c132;
20174
20346
  peg$currPos += 7;
20175
20347
  } else {
20176
20348
  s2 = peg$FAILED;
20177
20349
  if (peg$silentFails === 0) {
20178
- peg$fail(peg$e138);
20350
+ peg$fail(peg$e139);
20179
20351
  }
20180
20352
  }
20181
20353
  }
@@ -20240,7 +20412,7 @@ function peg$parse(input, options) {
20240
20412
  }
20241
20413
  s2 = input.substring(s2, peg$currPos);
20242
20414
  peg$savedPos = s0;
20243
- s0 = peg$f98(s1, s2);
20415
+ s0 = peg$f99(s1, s2);
20244
20416
  } else {
20245
20417
  peg$currPos = s0;
20246
20418
  s0 = peg$FAILED;
@@ -20255,7 +20427,7 @@ function peg$parse(input, options) {
20255
20427
  } else {
20256
20428
  s0 = peg$FAILED;
20257
20429
  if (peg$silentFails === 0) {
20258
- peg$fail(peg$e139);
20430
+ peg$fail(peg$e140);
20259
20431
  }
20260
20432
  }
20261
20433
  return s0;
@@ -22802,6 +22974,7 @@ var Builder = class extends BaseBuilder {
22802
22974
  data.ratingLevelSelected,
22803
22975
  options
22804
22976
  ),
22977
+ formula: this.toAstProperty(bitType, ConfigKey.property_formula, data.formula, options),
22805
22978
  markConfig: this.buildMarkConfigs(context, data.markConfig),
22806
22979
  imageSource: this.buildImageSource(context, data.imageSource),
22807
22980
  person: this.buildPerson(context, data.person),