@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/browser/bitmark-parser-generator.min.js +1 -1
- package/dist/browser/bundle-report.html +2 -2
- package/dist/browser/cjs/index.cjs +818 -645
- package/dist/browser/cjs/index.cjs.map +1 -1
- package/dist/browser/cjs/index.d.cts +18 -0
- package/dist/browser/esm/index.d.ts +18 -0
- package/dist/browser/esm/index.js +818 -645
- package/dist/browser/esm/index.js.map +1 -1
- package/dist/index.cjs +818 -645
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +18 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.js +818 -645
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -79,6 +79,7 @@ var BitType = (0, import_superenum.superenum)({
|
|
|
79
79
|
appAiPrompt: "app-ai-prompt",
|
|
80
80
|
appBitmarkFromEditor: "app-bitmark-from-editor",
|
|
81
81
|
appBitmarkFromJavascript: "app-bitmark-from-javascript",
|
|
82
|
+
appCalculatorLatex: "app-calculator-latex",
|
|
82
83
|
appCodeCell: "app-code-cell",
|
|
83
84
|
appCodeEditor: "app-code-editor",
|
|
84
85
|
appCodeIde: "app-code-ide",
|
|
@@ -498,6 +499,10 @@ var BitType = (0, import_superenum.superenum)({
|
|
|
498
499
|
reviewRequestForReviewNote: "review-request-for-review-note",
|
|
499
500
|
reviewReviewerNote: "review-reviewer-note",
|
|
500
501
|
sampleSolution: "sample-solution",
|
|
502
|
+
sandbox: "sandbox",
|
|
503
|
+
sandboxOutputJson: "sandbox-output-json",
|
|
504
|
+
sandboxOutputMarkup: "sandbox-output-markup",
|
|
505
|
+
sandboxOutputRender: "sandbox-output-render",
|
|
501
506
|
scorm: "scorm",
|
|
502
507
|
screenshot: "screenshot",
|
|
503
508
|
selfAssessment: "self-assessment",
|
|
@@ -1199,6 +1204,7 @@ var propertyKeys = {
|
|
|
1199
1204
|
property_focusX: "@focusX",
|
|
1200
1205
|
property_focusY: "@focusY",
|
|
1201
1206
|
property_format: "@format",
|
|
1207
|
+
property_formula: "@formula",
|
|
1202
1208
|
property_fullName: "@fullName",
|
|
1203
1209
|
property_groupTag: "@groupTag",
|
|
1204
1210
|
property_handInAcceptFileType: "@handInAcceptFileType",
|
|
@@ -5123,6 +5129,26 @@ var BITS = {
|
|
|
5123
5129
|
baseBitType: BitType.code,
|
|
5124
5130
|
description: "Standard output bit, used to display standard output from code snippets"
|
|
5125
5131
|
},
|
|
5132
|
+
[BitType.sandbox]: {
|
|
5133
|
+
since: "4.10.0",
|
|
5134
|
+
baseBitType: BitType.code,
|
|
5135
|
+
description: "A sandbox bit, used to create a sandboxed environment for code execution"
|
|
5136
|
+
},
|
|
5137
|
+
[BitType.sandboxOutputJson]: {
|
|
5138
|
+
since: "4.10.0",
|
|
5139
|
+
baseBitType: BitType.code,
|
|
5140
|
+
description: "A sandbox output JSON bit, used to display JSON output from sandboxed code"
|
|
5141
|
+
},
|
|
5142
|
+
[BitType.sandboxOutputMarkup]: {
|
|
5143
|
+
since: "4.10.0",
|
|
5144
|
+
baseBitType: BitType.code,
|
|
5145
|
+
description: "A sandbox output markup bit, used to display markup output from sandboxed code"
|
|
5146
|
+
},
|
|
5147
|
+
[BitType.sandboxOutputRender]: {
|
|
5148
|
+
since: "4.10.0",
|
|
5149
|
+
baseBitType: BitType.code,
|
|
5150
|
+
description: "A sandbox output render bit, used to display rendered output from sandboxed code"
|
|
5151
|
+
},
|
|
5126
5152
|
[BitType.step]: {
|
|
5127
5153
|
since: "1.5.1",
|
|
5128
5154
|
baseBitType: BitType.article,
|
|
@@ -6118,6 +6144,18 @@ var BITS = {
|
|
|
6118
6144
|
}
|
|
6119
6145
|
]
|
|
6120
6146
|
},
|
|
6147
|
+
[BitType.appCalculatorLatex]: {
|
|
6148
|
+
since: "4.10.0",
|
|
6149
|
+
baseBitType: BitType.article,
|
|
6150
|
+
description: "A LaTeX calculator bit, used to create a calculator that can interpret LaTeX expressions",
|
|
6151
|
+
tags: [
|
|
6152
|
+
{
|
|
6153
|
+
key: ConfigKey.property_formula,
|
|
6154
|
+
description: "The LaTeX formula for the calculator, used to define the calculation logic",
|
|
6155
|
+
format: TagFormat.plainText
|
|
6156
|
+
}
|
|
6157
|
+
]
|
|
6158
|
+
},
|
|
6121
6159
|
[BitType.container]: {
|
|
6122
6160
|
since: "1.9.0",
|
|
6123
6161
|
baseBitType: BitType.article,
|
|
@@ -9133,7 +9171,7 @@ var instance2 = new Config();
|
|
|
9133
9171
|
// src/generated/package_info.ts
|
|
9134
9172
|
var PACKAGE_INFO = {
|
|
9135
9173
|
"name": "@gmb/bitmark-parser-generator",
|
|
9136
|
-
"version": "4.
|
|
9174
|
+
"version": "4.10.0",
|
|
9137
9175
|
"author": "Get More Brain Ltd",
|
|
9138
9176
|
"license": "ISC",
|
|
9139
9177
|
"description": "A bitmark parser and generator using Peggy.js"
|
|
@@ -9659,6 +9697,8 @@ var NodeType = (0, import_superenum20.superenum)({
|
|
|
9659
9697
|
footerText: "footerText",
|
|
9660
9698
|
forKeys: "forKeys",
|
|
9661
9699
|
format: "format",
|
|
9700
|
+
formula: "formula",
|
|
9701
|
+
formulaValue: "formulaValue",
|
|
9662
9702
|
forValues: "forValues",
|
|
9663
9703
|
forValuesValue: "forValuesValue",
|
|
9664
9704
|
fullName: "fullName",
|
|
@@ -11631,7 +11671,7 @@ var TextGenerator = class extends AstWalkerGenerator {
|
|
|
11631
11671
|
};
|
|
11632
11672
|
|
|
11633
11673
|
// src/generated/parser/text/text-peggy-parser.js
|
|
11634
|
-
var VERSION = "8.
|
|
11674
|
+
var VERSION = "8.35.0";
|
|
11635
11675
|
function unbreakscape(str) {
|
|
11636
11676
|
if (typeof str !== "string") return null;
|
|
11637
11677
|
return instance3.unbreakscape(str);
|
|
@@ -11821,100 +11861,101 @@ function peg$parse(input, options) {
|
|
|
11821
11861
|
const peg$c35 = "=";
|
|
11822
11862
|
const peg$c36 = "|latex|";
|
|
11823
11863
|
const peg$c37 = "|imageInline:";
|
|
11824
|
-
const peg$c38 = "
|
|
11825
|
-
const peg$c39 = "
|
|
11826
|
-
const peg$c40 = "
|
|
11827
|
-
const peg$c41 = "
|
|
11828
|
-
const peg$c42 = "
|
|
11829
|
-
const peg$c43 = "
|
|
11830
|
-
const peg$c44 = "
|
|
11831
|
-
const peg$c45 = "
|
|
11832
|
-
const peg$c46 = "
|
|
11833
|
-
const peg$c47 = "text-
|
|
11834
|
-
const peg$c48 = "
|
|
11835
|
-
const peg$c49 = "
|
|
11836
|
-
const peg$c50 = "
|
|
11837
|
-
const peg$c51 = "
|
|
11838
|
-
const peg$c52 = "
|
|
11839
|
-
const peg$c53 = "
|
|
11840
|
-
const peg$c54 = "
|
|
11841
|
-
const peg$c55 = "
|
|
11842
|
-
const peg$c56 = "
|
|
11843
|
-
const peg$c57 = "
|
|
11844
|
-
const peg$c58 = "footnote
|
|
11845
|
-
const peg$c59 = "
|
|
11846
|
-
const peg$c60 = "
|
|
11847
|
-
const peg$c61 = "
|
|
11848
|
-
const peg$c62 = "timer
|
|
11849
|
-
const peg$c63 = "
|
|
11850
|
-
const peg$c64 = "
|
|
11851
|
-
const peg$c65 = "
|
|
11852
|
-
const peg$c66 = "
|
|
11853
|
-
const peg$c67 = "
|
|
11854
|
-
const peg$c68 = "
|
|
11855
|
-
const peg$c69 = "
|
|
11856
|
-
const peg$c70 = "
|
|
11857
|
-
const peg$c71 = "
|
|
11858
|
-
const peg$c72 = "
|
|
11859
|
-
const peg$c73 = "
|
|
11860
|
-
const peg$c74 = "
|
|
11861
|
-
const peg$c75 = "
|
|
11862
|
-
const peg$c76 = "
|
|
11863
|
-
const peg$c77 = "
|
|
11864
|
-
const peg$c78 = "
|
|
11865
|
-
const peg$c79 = "
|
|
11866
|
-
const peg$c80 = "
|
|
11867
|
-
const peg$c81 = "
|
|
11868
|
-
const peg$c82 = "
|
|
11869
|
-
const peg$c83 = "
|
|
11870
|
-
const peg$c84 = "
|
|
11871
|
-
const peg$c85 = "
|
|
11872
|
-
const peg$c86 = "
|
|
11873
|
-
const peg$c87 = "
|
|
11874
|
-
const peg$c88 = "
|
|
11875
|
-
const peg$c89 = "
|
|
11876
|
-
const peg$c90 = "
|
|
11877
|
-
const peg$c91 = "
|
|
11878
|
-
const peg$c92 = "
|
|
11879
|
-
const peg$c93 = "
|
|
11880
|
-
const peg$c94 = "
|
|
11881
|
-
const peg$c95 = "
|
|
11882
|
-
const peg$c96 = "
|
|
11883
|
-
const peg$c97 = "
|
|
11884
|
-
const peg$c98 = "
|
|
11885
|
-
const peg$c99 = "
|
|
11886
|
-
const peg$c100 = "
|
|
11887
|
-
const peg$c101 = "
|
|
11888
|
-
const peg$c102 = "
|
|
11889
|
-
const peg$c103 = "
|
|
11890
|
-
const peg$c104 = "
|
|
11891
|
-
const peg$c105 = "
|
|
11892
|
-
const peg$c106 = "
|
|
11893
|
-
const peg$c107 = "
|
|
11894
|
-
const peg$c108 = "
|
|
11895
|
-
const peg$c109 = "
|
|
11896
|
-
const peg$c110 = "
|
|
11897
|
-
const peg$c111 = "
|
|
11898
|
-
const peg$c112 = "
|
|
11899
|
-
const peg$c113 = "
|
|
11900
|
-
const peg$c114 = "
|
|
11901
|
-
const peg$c115 = "
|
|
11902
|
-
const peg$c116 = "
|
|
11903
|
-
const peg$c117 = "
|
|
11904
|
-
const peg$c118 = "
|
|
11905
|
-
const peg$c119 = "
|
|
11906
|
-
const peg$c120 = "
|
|
11907
|
-
const peg$c121 = "
|
|
11908
|
-
const peg$c122 = "
|
|
11909
|
-
const peg$c123 = "
|
|
11910
|
-
const peg$c124 = "
|
|
11911
|
-
const peg$c125 = "
|
|
11912
|
-
const peg$c126 = "
|
|
11913
|
-
const peg$c127 = "\
|
|
11914
|
-
const peg$c128 = "
|
|
11915
|
-
const peg$c129 = "
|
|
11916
|
-
const peg$c130 = "
|
|
11917
|
-
const peg$c131 = "
|
|
11864
|
+
const peg$c38 = "srcAlt";
|
|
11865
|
+
const peg$c39 = "alignmentVertical";
|
|
11866
|
+
const peg$c40 = "size";
|
|
11867
|
+
const peg$c41 = "top";
|
|
11868
|
+
const peg$c42 = "middle";
|
|
11869
|
+
const peg$c43 = "bottom";
|
|
11870
|
+
const peg$c44 = "baseline";
|
|
11871
|
+
const peg$c45 = "sub";
|
|
11872
|
+
const peg$c46 = "super";
|
|
11873
|
+
const peg$c47 = "text-bottom";
|
|
11874
|
+
const peg$c48 = "text-top";
|
|
11875
|
+
const peg$c49 = "line-height";
|
|
11876
|
+
const peg$c50 = "font-height";
|
|
11877
|
+
const peg$c51 = "explicit";
|
|
11878
|
+
const peg$c52 = "link:";
|
|
11879
|
+
const peg$c53 = "extref:";
|
|
11880
|
+
const peg$c54 = "provider:";
|
|
11881
|
+
const peg$c55 = "xref:";
|
|
11882
|
+
const peg$c56 = "\u25BA";
|
|
11883
|
+
const peg$c57 = "symbol:";
|
|
11884
|
+
const peg$c58 = "footnote:";
|
|
11885
|
+
const peg$c59 = "footnote*:";
|
|
11886
|
+
const peg$c60 = "var:";
|
|
11887
|
+
const peg$c61 = "code:";
|
|
11888
|
+
const peg$c62 = "timer";
|
|
11889
|
+
const peg$c63 = "timer:";
|
|
11890
|
+
const peg$c64 = "duration:";
|
|
11891
|
+
const peg$c65 = "P";
|
|
11892
|
+
const peg$c66 = "color:";
|
|
11893
|
+
const peg$c67 = "|\u25BA";
|
|
11894
|
+
const peg$c68 = "bold";
|
|
11895
|
+
const peg$c69 = "italic";
|
|
11896
|
+
const peg$c70 = "light";
|
|
11897
|
+
const peg$c71 = "highlight";
|
|
11898
|
+
const peg$c72 = "strike";
|
|
11899
|
+
const peg$c73 = "subscript";
|
|
11900
|
+
const peg$c74 = "superscript";
|
|
11901
|
+
const peg$c75 = "ins";
|
|
11902
|
+
const peg$c76 = "del";
|
|
11903
|
+
const peg$c77 = "underline";
|
|
11904
|
+
const peg$c78 = "doubleUnderline";
|
|
11905
|
+
const peg$c79 = "circle";
|
|
11906
|
+
const peg$c80 = "languageEmRed";
|
|
11907
|
+
const peg$c81 = "languageEmOrange";
|
|
11908
|
+
const peg$c82 = "languageEmYellow";
|
|
11909
|
+
const peg$c83 = "languageEmGreen";
|
|
11910
|
+
const peg$c84 = "languageEmBlue";
|
|
11911
|
+
const peg$c85 = "languageEmPurple";
|
|
11912
|
+
const peg$c86 = "languageEmPink";
|
|
11913
|
+
const peg$c87 = "languageEmBrown";
|
|
11914
|
+
const peg$c88 = "languageEmBlack";
|
|
11915
|
+
const peg$c89 = "languageEmWhite";
|
|
11916
|
+
const peg$c90 = "languageEmGray";
|
|
11917
|
+
const peg$c91 = "languageEm";
|
|
11918
|
+
const peg$c92 = "userUnderline";
|
|
11919
|
+
const peg$c93 = "userDoubleUnderline";
|
|
11920
|
+
const peg$c94 = "userStrike";
|
|
11921
|
+
const peg$c95 = "userCircle";
|
|
11922
|
+
const peg$c96 = "userHighlight";
|
|
11923
|
+
const peg$c97 = "notranslate";
|
|
11924
|
+
const peg$c98 = "aqua";
|
|
11925
|
+
const peg$c99 = "black";
|
|
11926
|
+
const peg$c100 = "blue";
|
|
11927
|
+
const peg$c101 = "brown";
|
|
11928
|
+
const peg$c102 = "fuchsia";
|
|
11929
|
+
const peg$c103 = "lightgrey";
|
|
11930
|
+
const peg$c104 = "gray";
|
|
11931
|
+
const peg$c105 = "darkgray";
|
|
11932
|
+
const peg$c106 = "green";
|
|
11933
|
+
const peg$c107 = "lime";
|
|
11934
|
+
const peg$c108 = "magenta";
|
|
11935
|
+
const peg$c109 = "maroon";
|
|
11936
|
+
const peg$c110 = "navy";
|
|
11937
|
+
const peg$c111 = "olive";
|
|
11938
|
+
const peg$c112 = "orange";
|
|
11939
|
+
const peg$c113 = "pink";
|
|
11940
|
+
const peg$c114 = "purple";
|
|
11941
|
+
const peg$c115 = "red";
|
|
11942
|
+
const peg$c116 = "silver";
|
|
11943
|
+
const peg$c117 = "teal";
|
|
11944
|
+
const peg$c118 = "violet";
|
|
11945
|
+
const peg$c119 = "white";
|
|
11946
|
+
const peg$c120 = "yellow";
|
|
11947
|
+
const peg$c121 = "*";
|
|
11948
|
+
const peg$c122 = "_";
|
|
11949
|
+
const peg$c123 = "`";
|
|
11950
|
+
const peg$c124 = "!";
|
|
11951
|
+
const peg$c125 = "[!";
|
|
11952
|
+
const peg$c126 = "]";
|
|
11953
|
+
const peg$c127 = "\n";
|
|
11954
|
+
const peg$c128 = "\r\n";
|
|
11955
|
+
const peg$c129 = "http";
|
|
11956
|
+
const peg$c130 = "s";
|
|
11957
|
+
const peg$c131 = "://";
|
|
11958
|
+
const peg$c132 = "mailto:";
|
|
11918
11959
|
const peg$r0 = /^[ \t]/;
|
|
11919
11960
|
const peg$r1 = /^[0-9]/;
|
|
11920
11961
|
const peg$r2 = /^[\r\u2028-\u2029]/;
|
|
@@ -11962,104 +12003,105 @@ function peg$parse(input, options) {
|
|
|
11962
12003
|
const peg$e39 = peg$literalExpectation("=", false);
|
|
11963
12004
|
const peg$e40 = peg$literalExpectation("|latex|", false);
|
|
11964
12005
|
const peg$e41 = peg$literalExpectation("|imageInline:", false);
|
|
11965
|
-
const peg$e42 = peg$literalExpectation("
|
|
11966
|
-
const peg$e43 = peg$literalExpectation("
|
|
11967
|
-
const peg$e44 = peg$literalExpectation("
|
|
11968
|
-
const peg$e45 = peg$literalExpectation("
|
|
11969
|
-
const peg$e46 = peg$literalExpectation("
|
|
11970
|
-
const peg$e47 = peg$literalExpectation("
|
|
11971
|
-
const peg$e48 = peg$literalExpectation("
|
|
11972
|
-
const peg$e49 = peg$literalExpectation("
|
|
11973
|
-
const peg$e50 = peg$literalExpectation("
|
|
11974
|
-
const peg$e51 = peg$literalExpectation("text-
|
|
11975
|
-
const peg$e52 = peg$literalExpectation("
|
|
11976
|
-
const peg$e53 = peg$literalExpectation("
|
|
11977
|
-
const peg$e54 = peg$literalExpectation("
|
|
11978
|
-
const peg$e55 = peg$literalExpectation("
|
|
11979
|
-
const peg$e56 = peg$literalExpectation("
|
|
11980
|
-
const peg$e57 = peg$literalExpectation("
|
|
11981
|
-
const peg$e58 = peg$literalExpectation("
|
|
11982
|
-
const peg$e59 = peg$literalExpectation("
|
|
11983
|
-
const peg$e60 = peg$literalExpectation("
|
|
11984
|
-
const peg$e61 = peg$literalExpectation("
|
|
11985
|
-
const peg$e62 = peg$literalExpectation("footnote
|
|
11986
|
-
const peg$e63 = peg$literalExpectation("
|
|
11987
|
-
const peg$e64 = peg$literalExpectation("
|
|
11988
|
-
const peg$e65 = peg$literalExpectation("
|
|
11989
|
-
const peg$e66 = peg$literalExpectation("timer
|
|
11990
|
-
const peg$e67 = peg$literalExpectation("
|
|
11991
|
-
const peg$e68 = peg$literalExpectation("
|
|
11992
|
-
const peg$e69 = peg$literalExpectation("
|
|
11993
|
-
const peg$e70 = peg$literalExpectation("
|
|
11994
|
-
const peg$e71 = peg$literalExpectation("
|
|
11995
|
-
const peg$e72 = peg$literalExpectation("
|
|
11996
|
-
const peg$e73 = peg$literalExpectation("
|
|
11997
|
-
const peg$e74 = peg$literalExpectation("
|
|
11998
|
-
const peg$e75 = peg$literalExpectation("
|
|
11999
|
-
const peg$e76 = peg$literalExpectation("
|
|
12000
|
-
const peg$e77 = peg$literalExpectation("
|
|
12001
|
-
const peg$e78 = peg$literalExpectation("
|
|
12002
|
-
const peg$e79 = peg$literalExpectation("
|
|
12003
|
-
const peg$e80 = peg$literalExpectation("
|
|
12004
|
-
const peg$e81 = peg$literalExpectation("
|
|
12005
|
-
const peg$e82 = peg$literalExpectation("
|
|
12006
|
-
const peg$e83 = peg$literalExpectation("
|
|
12007
|
-
const peg$e84 = peg$literalExpectation("
|
|
12008
|
-
const peg$e85 = peg$literalExpectation("
|
|
12009
|
-
const peg$e86 = peg$literalExpectation("
|
|
12010
|
-
const peg$e87 = peg$literalExpectation("
|
|
12011
|
-
const peg$e88 = peg$literalExpectation("
|
|
12012
|
-
const peg$e89 = peg$literalExpectation("
|
|
12013
|
-
const peg$e90 = peg$literalExpectation("
|
|
12014
|
-
const peg$e91 = peg$literalExpectation("
|
|
12015
|
-
const peg$e92 = peg$literalExpectation("
|
|
12016
|
-
const peg$e93 = peg$literalExpectation("
|
|
12017
|
-
const peg$e94 = peg$literalExpectation("
|
|
12018
|
-
const peg$e95 = peg$literalExpectation("
|
|
12019
|
-
const peg$e96 = peg$literalExpectation("
|
|
12020
|
-
const peg$e97 = peg$literalExpectation("
|
|
12021
|
-
const peg$e98 = peg$literalExpectation("
|
|
12022
|
-
const peg$e99 = peg$literalExpectation("
|
|
12023
|
-
const peg$e100 = peg$literalExpectation("
|
|
12024
|
-
const peg$e101 = peg$literalExpectation("
|
|
12025
|
-
const peg$e102 = peg$literalExpectation("
|
|
12026
|
-
const peg$e103 = peg$literalExpectation("
|
|
12027
|
-
const peg$e104 = peg$literalExpectation("
|
|
12028
|
-
const peg$e105 = peg$literalExpectation("
|
|
12029
|
-
const peg$e106 = peg$literalExpectation("
|
|
12030
|
-
const peg$e107 = peg$literalExpectation("
|
|
12031
|
-
const peg$e108 = peg$literalExpectation("
|
|
12032
|
-
const peg$e109 = peg$literalExpectation("
|
|
12033
|
-
const peg$e110 = peg$literalExpectation("
|
|
12034
|
-
const peg$e111 = peg$literalExpectation("
|
|
12035
|
-
const peg$e112 = peg$literalExpectation("
|
|
12036
|
-
const peg$e113 = peg$literalExpectation("
|
|
12037
|
-
const peg$e114 = peg$literalExpectation("
|
|
12038
|
-
const peg$e115 = peg$literalExpectation("
|
|
12039
|
-
const peg$e116 = peg$literalExpectation("
|
|
12040
|
-
const peg$e117 = peg$literalExpectation("
|
|
12041
|
-
const peg$e118 = peg$literalExpectation("
|
|
12042
|
-
const peg$e119 = peg$literalExpectation("
|
|
12043
|
-
const peg$e120 = peg$literalExpectation("
|
|
12044
|
-
const peg$e121 = peg$literalExpectation("
|
|
12045
|
-
const peg$e122 = peg$literalExpectation("
|
|
12046
|
-
const peg$e123 = peg$literalExpectation("
|
|
12047
|
-
const peg$e124 = peg$literalExpectation("
|
|
12048
|
-
const peg$e125 = peg$literalExpectation("
|
|
12049
|
-
const peg$e126 = peg$literalExpectation("
|
|
12050
|
-
const peg$e127 = peg$literalExpectation("
|
|
12051
|
-
const peg$e128 = peg$literalExpectation("
|
|
12052
|
-
const peg$e129 = peg$literalExpectation("
|
|
12053
|
-
const peg$e130 = peg$
|
|
12054
|
-
const peg$e131 = peg$
|
|
12055
|
-
const peg$e132 = peg$literalExpectation("\
|
|
12056
|
-
const peg$e133 = peg$
|
|
12057
|
-
const peg$e134 = peg$classExpectation(["\
|
|
12058
|
-
const peg$e135 = peg$
|
|
12059
|
-
const peg$e136 = peg$literalExpectation("
|
|
12060
|
-
const peg$e137 = peg$literalExpectation("
|
|
12061
|
-
const peg$e138 = peg$literalExpectation("
|
|
12062
|
-
const peg$e139 = peg$
|
|
12006
|
+
const peg$e42 = peg$literalExpectation("srcAlt", false);
|
|
12007
|
+
const peg$e43 = peg$literalExpectation("alignmentVertical", false);
|
|
12008
|
+
const peg$e44 = peg$literalExpectation("size", false);
|
|
12009
|
+
const peg$e45 = peg$literalExpectation("top", false);
|
|
12010
|
+
const peg$e46 = peg$literalExpectation("middle", false);
|
|
12011
|
+
const peg$e47 = peg$literalExpectation("bottom", false);
|
|
12012
|
+
const peg$e48 = peg$literalExpectation("baseline", false);
|
|
12013
|
+
const peg$e49 = peg$literalExpectation("sub", false);
|
|
12014
|
+
const peg$e50 = peg$literalExpectation("super", false);
|
|
12015
|
+
const peg$e51 = peg$literalExpectation("text-bottom", false);
|
|
12016
|
+
const peg$e52 = peg$literalExpectation("text-top", false);
|
|
12017
|
+
const peg$e53 = peg$literalExpectation("line-height", false);
|
|
12018
|
+
const peg$e54 = peg$literalExpectation("font-height", false);
|
|
12019
|
+
const peg$e55 = peg$literalExpectation("explicit", false);
|
|
12020
|
+
const peg$e56 = peg$literalExpectation("link:", false);
|
|
12021
|
+
const peg$e57 = peg$literalExpectation("extref:", false);
|
|
12022
|
+
const peg$e58 = peg$literalExpectation("provider:", false);
|
|
12023
|
+
const peg$e59 = peg$literalExpectation("xref:", false);
|
|
12024
|
+
const peg$e60 = peg$literalExpectation("\u25BA", false);
|
|
12025
|
+
const peg$e61 = peg$literalExpectation("symbol:", false);
|
|
12026
|
+
const peg$e62 = peg$literalExpectation("footnote:", false);
|
|
12027
|
+
const peg$e63 = peg$literalExpectation("footnote*:", false);
|
|
12028
|
+
const peg$e64 = peg$literalExpectation("var:", false);
|
|
12029
|
+
const peg$e65 = peg$literalExpectation("code:", false);
|
|
12030
|
+
const peg$e66 = peg$literalExpectation("timer", false);
|
|
12031
|
+
const peg$e67 = peg$literalExpectation("timer:", false);
|
|
12032
|
+
const peg$e68 = peg$literalExpectation("duration:", false);
|
|
12033
|
+
const peg$e69 = peg$literalExpectation("P", false);
|
|
12034
|
+
const peg$e70 = peg$literalExpectation("color:", false);
|
|
12035
|
+
const peg$e71 = peg$literalExpectation("|\u25BA", false);
|
|
12036
|
+
const peg$e72 = peg$literalExpectation("bold", false);
|
|
12037
|
+
const peg$e73 = peg$literalExpectation("italic", false);
|
|
12038
|
+
const peg$e74 = peg$literalExpectation("light", false);
|
|
12039
|
+
const peg$e75 = peg$literalExpectation("highlight", false);
|
|
12040
|
+
const peg$e76 = peg$literalExpectation("strike", false);
|
|
12041
|
+
const peg$e77 = peg$literalExpectation("subscript", false);
|
|
12042
|
+
const peg$e78 = peg$literalExpectation("superscript", false);
|
|
12043
|
+
const peg$e79 = peg$literalExpectation("ins", false);
|
|
12044
|
+
const peg$e80 = peg$literalExpectation("del", false);
|
|
12045
|
+
const peg$e81 = peg$literalExpectation("underline", false);
|
|
12046
|
+
const peg$e82 = peg$literalExpectation("doubleUnderline", false);
|
|
12047
|
+
const peg$e83 = peg$literalExpectation("circle", false);
|
|
12048
|
+
const peg$e84 = peg$literalExpectation("languageEmRed", false);
|
|
12049
|
+
const peg$e85 = peg$literalExpectation("languageEmOrange", false);
|
|
12050
|
+
const peg$e86 = peg$literalExpectation("languageEmYellow", false);
|
|
12051
|
+
const peg$e87 = peg$literalExpectation("languageEmGreen", false);
|
|
12052
|
+
const peg$e88 = peg$literalExpectation("languageEmBlue", false);
|
|
12053
|
+
const peg$e89 = peg$literalExpectation("languageEmPurple", false);
|
|
12054
|
+
const peg$e90 = peg$literalExpectation("languageEmPink", false);
|
|
12055
|
+
const peg$e91 = peg$literalExpectation("languageEmBrown", false);
|
|
12056
|
+
const peg$e92 = peg$literalExpectation("languageEmBlack", false);
|
|
12057
|
+
const peg$e93 = peg$literalExpectation("languageEmWhite", false);
|
|
12058
|
+
const peg$e94 = peg$literalExpectation("languageEmGray", false);
|
|
12059
|
+
const peg$e95 = peg$literalExpectation("languageEm", false);
|
|
12060
|
+
const peg$e96 = peg$literalExpectation("userUnderline", false);
|
|
12061
|
+
const peg$e97 = peg$literalExpectation("userDoubleUnderline", false);
|
|
12062
|
+
const peg$e98 = peg$literalExpectation("userStrike", false);
|
|
12063
|
+
const peg$e99 = peg$literalExpectation("userCircle", false);
|
|
12064
|
+
const peg$e100 = peg$literalExpectation("userHighlight", false);
|
|
12065
|
+
const peg$e101 = peg$literalExpectation("notranslate", false);
|
|
12066
|
+
const peg$e102 = peg$literalExpectation("aqua", false);
|
|
12067
|
+
const peg$e103 = peg$literalExpectation("black", false);
|
|
12068
|
+
const peg$e104 = peg$literalExpectation("blue", false);
|
|
12069
|
+
const peg$e105 = peg$literalExpectation("brown", false);
|
|
12070
|
+
const peg$e106 = peg$literalExpectation("fuchsia", false);
|
|
12071
|
+
const peg$e107 = peg$literalExpectation("lightgrey", false);
|
|
12072
|
+
const peg$e108 = peg$literalExpectation("gray", false);
|
|
12073
|
+
const peg$e109 = peg$literalExpectation("darkgray", false);
|
|
12074
|
+
const peg$e110 = peg$literalExpectation("green", false);
|
|
12075
|
+
const peg$e111 = peg$literalExpectation("lime", false);
|
|
12076
|
+
const peg$e112 = peg$literalExpectation("magenta", false);
|
|
12077
|
+
const peg$e113 = peg$literalExpectation("maroon", false);
|
|
12078
|
+
const peg$e114 = peg$literalExpectation("navy", false);
|
|
12079
|
+
const peg$e115 = peg$literalExpectation("olive", false);
|
|
12080
|
+
const peg$e116 = peg$literalExpectation("orange", false);
|
|
12081
|
+
const peg$e117 = peg$literalExpectation("pink", false);
|
|
12082
|
+
const peg$e118 = peg$literalExpectation("purple", false);
|
|
12083
|
+
const peg$e119 = peg$literalExpectation("red", false);
|
|
12084
|
+
const peg$e120 = peg$literalExpectation("silver", false);
|
|
12085
|
+
const peg$e121 = peg$literalExpectation("teal", false);
|
|
12086
|
+
const peg$e122 = peg$literalExpectation("violet", false);
|
|
12087
|
+
const peg$e123 = peg$literalExpectation("white", false);
|
|
12088
|
+
const peg$e124 = peg$literalExpectation("yellow", false);
|
|
12089
|
+
const peg$e125 = peg$literalExpectation("*", false);
|
|
12090
|
+
const peg$e126 = peg$literalExpectation("_", false);
|
|
12091
|
+
const peg$e127 = peg$literalExpectation("`", false);
|
|
12092
|
+
const peg$e128 = peg$literalExpectation("!", false);
|
|
12093
|
+
const peg$e129 = peg$literalExpectation("[!", false);
|
|
12094
|
+
const peg$e130 = peg$literalExpectation("]", false);
|
|
12095
|
+
const peg$e131 = peg$otherExpectation("Line Terminator");
|
|
12096
|
+
const peg$e132 = peg$literalExpectation("\n", false);
|
|
12097
|
+
const peg$e133 = peg$literalExpectation("\r\n", false);
|
|
12098
|
+
const peg$e134 = peg$classExpectation(["\r", ["\u2028", "\u2029"]], false, false, false);
|
|
12099
|
+
const peg$e135 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false, false);
|
|
12100
|
+
const peg$e136 = peg$literalExpectation("http", false);
|
|
12101
|
+
const peg$e137 = peg$literalExpectation("s", false);
|
|
12102
|
+
const peg$e138 = peg$literalExpectation("://", false);
|
|
12103
|
+
const peg$e139 = peg$literalExpectation("mailto:", false);
|
|
12104
|
+
const peg$e140 = peg$classExpectation(["!", ["#", ";"], "=", ["?", "["], ["]", "_"], ["a", "{"], ["}", "~"]], false, false, false);
|
|
12063
12105
|
function peg$f0() {
|
|
12064
12106
|
return VERSION;
|
|
12065
12107
|
}
|
|
@@ -12366,101 +12408,104 @@ function peg$parse(input, options) {
|
|
|
12366
12408
|
return { comment: str };
|
|
12367
12409
|
}
|
|
12368
12410
|
function peg$f67(p, v) {
|
|
12369
|
-
return { [p]:
|
|
12411
|
+
return { [p]: v };
|
|
12370
12412
|
}
|
|
12371
12413
|
function peg$f68(p, v) {
|
|
12372
|
-
return {
|
|
12414
|
+
return { [p]: parseInt(v) };
|
|
12373
12415
|
}
|
|
12374
12416
|
function peg$f69(p, v) {
|
|
12375
|
-
return {
|
|
12417
|
+
return { type: "error", msg: p + " must be a positive integer.", found: v };
|
|
12376
12418
|
}
|
|
12377
12419
|
function peg$f70(p, v) {
|
|
12378
12420
|
return { [p]: v };
|
|
12379
12421
|
}
|
|
12380
|
-
function peg$f71(
|
|
12422
|
+
function peg$f71(p, v) {
|
|
12423
|
+
return { [p]: v };
|
|
12424
|
+
}
|
|
12425
|
+
function peg$f72(str) {
|
|
12381
12426
|
return { type: "link", attrs: { href: str.trim(), target: "_blank" } };
|
|
12382
12427
|
}
|
|
12383
|
-
function peg$
|
|
12428
|
+
function peg$f73(str, rc, p) {
|
|
12384
12429
|
return { type: "extref", attrs: { extref: str.trim(), references: rc, provider: p.trim() } };
|
|
12385
12430
|
}
|
|
12386
|
-
function peg$
|
|
12431
|
+
function peg$f74(str, str2) {
|
|
12387
12432
|
return { type: "xref", attrs: { xref: str.trim(), reference: str2.trim() } };
|
|
12388
12433
|
}
|
|
12389
|
-
function peg$
|
|
12434
|
+
function peg$f75(str) {
|
|
12390
12435
|
return { type: "xref", attrs: { xref: str.trim(), reference: "" } };
|
|
12391
12436
|
}
|
|
12392
|
-
function peg$
|
|
12437
|
+
function peg$f76(str) {
|
|
12393
12438
|
return { type: "ref", attrs: { reference: str.trim() } };
|
|
12394
12439
|
}
|
|
12395
|
-
function peg$
|
|
12440
|
+
function peg$f77(str, ch) {
|
|
12396
12441
|
const chain = Object.assign({}, ...ch);
|
|
12397
12442
|
return { type: "symbol", attrs: { src: str.trim(), ...chain } };
|
|
12398
12443
|
}
|
|
12399
|
-
function peg$
|
|
12444
|
+
function peg$f78(str) {
|
|
12400
12445
|
return { type: "footnote", attrs: { content: bitmarkPlusString(str.trim()) } };
|
|
12401
12446
|
}
|
|
12402
|
-
function peg$
|
|
12447
|
+
function peg$f79(str) {
|
|
12403
12448
|
return { type: "footnote*", attrs: { content: bitmarkPlusString(str.trim()) } };
|
|
12404
12449
|
}
|
|
12405
|
-
function peg$
|
|
12450
|
+
function peg$f80(str) {
|
|
12406
12451
|
return { type: "var", attrs: { name: str.trim() } };
|
|
12407
12452
|
}
|
|
12408
|
-
function peg$
|
|
12453
|
+
function peg$f81() {
|
|
12409
12454
|
return { type: "code", attrs: { language: "plain text" } };
|
|
12410
12455
|
}
|
|
12411
|
-
function peg$
|
|
12456
|
+
function peg$f82(lang) {
|
|
12412
12457
|
return { type: "code", attrs: { language: lang.trim().toLowerCase() } };
|
|
12413
12458
|
}
|
|
12414
|
-
function peg$
|
|
12459
|
+
function peg$f83() {
|
|
12415
12460
|
return { type: "timer", attrs: { name: "" } };
|
|
12416
12461
|
}
|
|
12417
|
-
function peg$
|
|
12462
|
+
function peg$f84(str) {
|
|
12418
12463
|
return { type: "timer", attrs: { name: str.trim() } };
|
|
12419
12464
|
}
|
|
12420
|
-
function peg$
|
|
12465
|
+
function peg$f85(str) {
|
|
12421
12466
|
return { type: "duration", attrs: { duration: str } };
|
|
12422
12467
|
}
|
|
12423
|
-
function peg$
|
|
12468
|
+
function peg$f86(color) {
|
|
12424
12469
|
return { type: "color", attrs: { color } };
|
|
12425
12470
|
}
|
|
12426
|
-
function peg$
|
|
12471
|
+
function peg$f87(style) {
|
|
12427
12472
|
return { type: style };
|
|
12428
12473
|
}
|
|
12429
|
-
function peg$
|
|
12474
|
+
function peg$f88(str) {
|
|
12430
12475
|
return { type: "comment", comment: str };
|
|
12431
12476
|
}
|
|
12432
|
-
function peg$
|
|
12477
|
+
function peg$f89(r) {
|
|
12433
12478
|
return r.trim();
|
|
12434
12479
|
}
|
|
12435
|
-
function peg$
|
|
12480
|
+
function peg$f90(bs) {
|
|
12436
12481
|
return [{ type: "paragraph", content: bs, attrs: {} }];
|
|
12437
12482
|
}
|
|
12438
|
-
function peg$
|
|
12483
|
+
function peg$f91(first, more) {
|
|
12439
12484
|
const cleaned_ = cleanEmptyTextNodes(first ? [first, ...more.flat()] : more.flat());
|
|
12440
12485
|
return cleaned_;
|
|
12441
12486
|
}
|
|
12442
|
-
function peg$
|
|
12487
|
+
function peg$f92() {
|
|
12443
12488
|
return { "type": "hardBreak" };
|
|
12444
12489
|
}
|
|
12445
|
-
function peg$
|
|
12490
|
+
function peg$f93(t) {
|
|
12446
12491
|
return { text: unbreakscape(t), type: "text" };
|
|
12447
12492
|
}
|
|
12448
|
-
function peg$
|
|
12493
|
+
function peg$f94(t) {
|
|
12449
12494
|
return { index: +t, type: "bit" };
|
|
12450
12495
|
}
|
|
12451
|
-
function peg$
|
|
12496
|
+
function peg$f95(t) {
|
|
12452
12497
|
return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" };
|
|
12453
12498
|
}
|
|
12454
|
-
function peg$
|
|
12499
|
+
function peg$f96(t) {
|
|
12455
12500
|
return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" };
|
|
12456
12501
|
}
|
|
12457
|
-
function peg$
|
|
12502
|
+
function peg$f97(t) {
|
|
12458
12503
|
return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" };
|
|
12459
12504
|
}
|
|
12460
|
-
function peg$
|
|
12505
|
+
function peg$f98(t) {
|
|
12461
12506
|
return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" };
|
|
12462
12507
|
}
|
|
12463
|
-
function peg$
|
|
12508
|
+
function peg$f99(pr, t) {
|
|
12464
12509
|
return { pr, t };
|
|
12465
12510
|
}
|
|
12466
12511
|
let peg$currPos = options.peg$currPos | 0;
|
|
@@ -16642,7 +16687,15 @@ function peg$parse(input, options) {
|
|
|
16642
16687
|
if (s1 === peg$FAILED) {
|
|
16643
16688
|
s1 = null;
|
|
16644
16689
|
}
|
|
16645
|
-
|
|
16690
|
+
if (input.substr(peg$currPos, 6) === peg$c38) {
|
|
16691
|
+
s2 = peg$c38;
|
|
16692
|
+
peg$currPos += 6;
|
|
16693
|
+
} else {
|
|
16694
|
+
s2 = peg$FAILED;
|
|
16695
|
+
if (peg$silentFails === 0) {
|
|
16696
|
+
peg$fail(peg$e42);
|
|
16697
|
+
}
|
|
16698
|
+
}
|
|
16646
16699
|
if (s2 !== peg$FAILED) {
|
|
16647
16700
|
if (input.charCodeAt(peg$currPos) === 58) {
|
|
16648
16701
|
s3 = peg$c5;
|
|
@@ -16690,15 +16743,7 @@ function peg$parse(input, options) {
|
|
|
16690
16743
|
s8 = peg$FAILED;
|
|
16691
16744
|
}
|
|
16692
16745
|
if (s8 !== peg$FAILED) {
|
|
16693
|
-
s9 =
|
|
16694
|
-
if (peg$r1.test(s9)) {
|
|
16695
|
-
peg$currPos++;
|
|
16696
|
-
} else {
|
|
16697
|
-
s9 = peg$FAILED;
|
|
16698
|
-
if (peg$silentFails === 0) {
|
|
16699
|
-
peg$fail(peg$e15);
|
|
16700
|
-
}
|
|
16701
|
-
}
|
|
16746
|
+
s9 = peg$parsechar();
|
|
16702
16747
|
if (s9 !== peg$FAILED) {
|
|
16703
16748
|
s8 = [s8, s9];
|
|
16704
16749
|
s7 = s8;
|
|
@@ -16710,59 +16755,38 @@ function peg$parse(input, options) {
|
|
|
16710
16755
|
peg$currPos = s7;
|
|
16711
16756
|
s7 = peg$FAILED;
|
|
16712
16757
|
}
|
|
16713
|
-
|
|
16714
|
-
|
|
16715
|
-
|
|
16716
|
-
|
|
16717
|
-
|
|
16718
|
-
|
|
16719
|
-
|
|
16720
|
-
|
|
16721
|
-
|
|
16722
|
-
|
|
16723
|
-
|
|
16724
|
-
|
|
16725
|
-
|
|
16726
|
-
|
|
16727
|
-
|
|
16728
|
-
|
|
16729
|
-
|
|
16730
|
-
|
|
16731
|
-
} else {
|
|
16732
|
-
s9 = peg$FAILED;
|
|
16733
|
-
if (peg$silentFails === 0) {
|
|
16734
|
-
peg$fail(peg$e15);
|
|
16735
|
-
}
|
|
16736
|
-
}
|
|
16737
|
-
if (s9 !== peg$FAILED) {
|
|
16738
|
-
s8 = [s8, s9];
|
|
16739
|
-
s7 = s8;
|
|
16740
|
-
} else {
|
|
16741
|
-
peg$currPos = s7;
|
|
16742
|
-
s7 = peg$FAILED;
|
|
16743
|
-
}
|
|
16758
|
+
while (s7 !== peg$FAILED) {
|
|
16759
|
+
s6.push(s7);
|
|
16760
|
+
s7 = peg$currPos;
|
|
16761
|
+
s8 = peg$currPos;
|
|
16762
|
+
peg$silentFails++;
|
|
16763
|
+
s9 = peg$parseBlockTag();
|
|
16764
|
+
peg$silentFails--;
|
|
16765
|
+
if (s9 === peg$FAILED) {
|
|
16766
|
+
s8 = void 0;
|
|
16767
|
+
} else {
|
|
16768
|
+
peg$currPos = s8;
|
|
16769
|
+
s8 = peg$FAILED;
|
|
16770
|
+
}
|
|
16771
|
+
if (s8 !== peg$FAILED) {
|
|
16772
|
+
s9 = peg$parsechar();
|
|
16773
|
+
if (s9 !== peg$FAILED) {
|
|
16774
|
+
s8 = [s8, s9];
|
|
16775
|
+
s7 = s8;
|
|
16744
16776
|
} else {
|
|
16745
16777
|
peg$currPos = s7;
|
|
16746
16778
|
s7 = peg$FAILED;
|
|
16747
16779
|
}
|
|
16780
|
+
} else {
|
|
16781
|
+
peg$currPos = s7;
|
|
16782
|
+
s7 = peg$FAILED;
|
|
16748
16783
|
}
|
|
16749
|
-
} else {
|
|
16750
|
-
s6 = peg$FAILED;
|
|
16751
16784
|
}
|
|
16785
|
+
s5 = input.substring(s5, peg$currPos);
|
|
16786
|
+
s6 = peg$parseBlockTag();
|
|
16752
16787
|
if (s6 !== peg$FAILED) {
|
|
16753
|
-
|
|
16754
|
-
|
|
16755
|
-
s5 = s6;
|
|
16756
|
-
}
|
|
16757
|
-
if (s5 !== peg$FAILED) {
|
|
16758
|
-
s6 = peg$parseBlockTag();
|
|
16759
|
-
if (s6 !== peg$FAILED) {
|
|
16760
|
-
peg$savedPos = s0;
|
|
16761
|
-
s0 = peg$f67(s2, s5);
|
|
16762
|
-
} else {
|
|
16763
|
-
peg$currPos = s0;
|
|
16764
|
-
s0 = peg$FAILED;
|
|
16765
|
-
}
|
|
16788
|
+
peg$savedPos = s0;
|
|
16789
|
+
s0 = peg$f67(s2, s5);
|
|
16766
16790
|
} else {
|
|
16767
16791
|
peg$currPos = s0;
|
|
16768
16792
|
s0 = peg$FAILED;
|
|
@@ -16837,7 +16861,15 @@ function peg$parse(input, options) {
|
|
|
16837
16861
|
s8 = peg$FAILED;
|
|
16838
16862
|
}
|
|
16839
16863
|
if (s8 !== peg$FAILED) {
|
|
16840
|
-
s9 = peg$
|
|
16864
|
+
s9 = input.charAt(peg$currPos);
|
|
16865
|
+
if (peg$r1.test(s9)) {
|
|
16866
|
+
peg$currPos++;
|
|
16867
|
+
} else {
|
|
16868
|
+
s9 = peg$FAILED;
|
|
16869
|
+
if (peg$silentFails === 0) {
|
|
16870
|
+
peg$fail(peg$e15);
|
|
16871
|
+
}
|
|
16872
|
+
}
|
|
16841
16873
|
if (s9 !== peg$FAILED) {
|
|
16842
16874
|
s8 = [s8, s9];
|
|
16843
16875
|
s7 = s8;
|
|
@@ -16849,38 +16881,59 @@ function peg$parse(input, options) {
|
|
|
16849
16881
|
peg$currPos = s7;
|
|
16850
16882
|
s7 = peg$FAILED;
|
|
16851
16883
|
}
|
|
16852
|
-
|
|
16853
|
-
|
|
16854
|
-
|
|
16855
|
-
|
|
16856
|
-
|
|
16857
|
-
|
|
16858
|
-
|
|
16859
|
-
|
|
16860
|
-
|
|
16861
|
-
|
|
16862
|
-
|
|
16863
|
-
|
|
16864
|
-
|
|
16865
|
-
|
|
16866
|
-
|
|
16867
|
-
|
|
16868
|
-
|
|
16869
|
-
|
|
16884
|
+
if (s7 !== peg$FAILED) {
|
|
16885
|
+
while (s7 !== peg$FAILED) {
|
|
16886
|
+
s6.push(s7);
|
|
16887
|
+
s7 = peg$currPos;
|
|
16888
|
+
s8 = peg$currPos;
|
|
16889
|
+
peg$silentFails++;
|
|
16890
|
+
s9 = peg$parseBlockTag();
|
|
16891
|
+
peg$silentFails--;
|
|
16892
|
+
if (s9 === peg$FAILED) {
|
|
16893
|
+
s8 = void 0;
|
|
16894
|
+
} else {
|
|
16895
|
+
peg$currPos = s8;
|
|
16896
|
+
s8 = peg$FAILED;
|
|
16897
|
+
}
|
|
16898
|
+
if (s8 !== peg$FAILED) {
|
|
16899
|
+
s9 = input.charAt(peg$currPos);
|
|
16900
|
+
if (peg$r1.test(s9)) {
|
|
16901
|
+
peg$currPos++;
|
|
16902
|
+
} else {
|
|
16903
|
+
s9 = peg$FAILED;
|
|
16904
|
+
if (peg$silentFails === 0) {
|
|
16905
|
+
peg$fail(peg$e15);
|
|
16906
|
+
}
|
|
16907
|
+
}
|
|
16908
|
+
if (s9 !== peg$FAILED) {
|
|
16909
|
+
s8 = [s8, s9];
|
|
16910
|
+
s7 = s8;
|
|
16911
|
+
} else {
|
|
16912
|
+
peg$currPos = s7;
|
|
16913
|
+
s7 = peg$FAILED;
|
|
16914
|
+
}
|
|
16870
16915
|
} else {
|
|
16871
16916
|
peg$currPos = s7;
|
|
16872
16917
|
s7 = peg$FAILED;
|
|
16873
16918
|
}
|
|
16874
|
-
} else {
|
|
16875
|
-
peg$currPos = s7;
|
|
16876
|
-
s7 = peg$FAILED;
|
|
16877
16919
|
}
|
|
16920
|
+
} else {
|
|
16921
|
+
s6 = peg$FAILED;
|
|
16878
16922
|
}
|
|
16879
|
-
s5 = input.substring(s5, peg$currPos);
|
|
16880
|
-
s6 = peg$parseBlockTag();
|
|
16881
16923
|
if (s6 !== peg$FAILED) {
|
|
16882
|
-
|
|
16883
|
-
|
|
16924
|
+
s5 = input.substring(s5, peg$currPos);
|
|
16925
|
+
} else {
|
|
16926
|
+
s5 = s6;
|
|
16927
|
+
}
|
|
16928
|
+
if (s5 !== peg$FAILED) {
|
|
16929
|
+
s6 = peg$parseBlockTag();
|
|
16930
|
+
if (s6 !== peg$FAILED) {
|
|
16931
|
+
peg$savedPos = s0;
|
|
16932
|
+
s0 = peg$f68(s2, s5);
|
|
16933
|
+
} else {
|
|
16934
|
+
peg$currPos = s0;
|
|
16935
|
+
s0 = peg$FAILED;
|
|
16936
|
+
}
|
|
16884
16937
|
} else {
|
|
16885
16938
|
peg$currPos = s0;
|
|
16886
16939
|
s0 = peg$FAILED;
|
|
@@ -16907,15 +16960,7 @@ function peg$parse(input, options) {
|
|
|
16907
16960
|
if (s1 === peg$FAILED) {
|
|
16908
16961
|
s1 = null;
|
|
16909
16962
|
}
|
|
16910
|
-
|
|
16911
|
-
s2 = peg$c38;
|
|
16912
|
-
peg$currPos += 17;
|
|
16913
|
-
} else {
|
|
16914
|
-
s2 = peg$FAILED;
|
|
16915
|
-
if (peg$silentFails === 0) {
|
|
16916
|
-
peg$fail(peg$e42);
|
|
16917
|
-
}
|
|
16918
|
-
}
|
|
16963
|
+
s2 = peg$parseMediaSizeTags();
|
|
16919
16964
|
if (s2 !== peg$FAILED) {
|
|
16920
16965
|
if (input.charCodeAt(peg$currPos) === 58) {
|
|
16921
16966
|
s3 = peg$c5;
|
|
@@ -16949,16 +16994,64 @@ function peg$parse(input, options) {
|
|
|
16949
16994
|
}
|
|
16950
16995
|
}
|
|
16951
16996
|
}
|
|
16952
|
-
s5 = peg$
|
|
16953
|
-
|
|
16954
|
-
|
|
16955
|
-
|
|
16956
|
-
|
|
16957
|
-
|
|
16997
|
+
s5 = peg$currPos;
|
|
16998
|
+
s6 = [];
|
|
16999
|
+
s7 = peg$currPos;
|
|
17000
|
+
s8 = peg$currPos;
|
|
17001
|
+
peg$silentFails++;
|
|
17002
|
+
s9 = peg$parseBlockTag();
|
|
17003
|
+
peg$silentFails--;
|
|
17004
|
+
if (s9 === peg$FAILED) {
|
|
17005
|
+
s8 = void 0;
|
|
17006
|
+
} else {
|
|
17007
|
+
peg$currPos = s8;
|
|
17008
|
+
s8 = peg$FAILED;
|
|
17009
|
+
}
|
|
17010
|
+
if (s8 !== peg$FAILED) {
|
|
17011
|
+
s9 = peg$parsechar();
|
|
17012
|
+
if (s9 !== peg$FAILED) {
|
|
17013
|
+
s8 = [s8, s9];
|
|
17014
|
+
s7 = s8;
|
|
16958
17015
|
} else {
|
|
16959
|
-
peg$currPos =
|
|
16960
|
-
|
|
17016
|
+
peg$currPos = s7;
|
|
17017
|
+
s7 = peg$FAILED;
|
|
17018
|
+
}
|
|
17019
|
+
} else {
|
|
17020
|
+
peg$currPos = s7;
|
|
17021
|
+
s7 = peg$FAILED;
|
|
17022
|
+
}
|
|
17023
|
+
while (s7 !== peg$FAILED) {
|
|
17024
|
+
s6.push(s7);
|
|
17025
|
+
s7 = peg$currPos;
|
|
17026
|
+
s8 = peg$currPos;
|
|
17027
|
+
peg$silentFails++;
|
|
17028
|
+
s9 = peg$parseBlockTag();
|
|
17029
|
+
peg$silentFails--;
|
|
17030
|
+
if (s9 === peg$FAILED) {
|
|
17031
|
+
s8 = void 0;
|
|
17032
|
+
} else {
|
|
17033
|
+
peg$currPos = s8;
|
|
17034
|
+
s8 = peg$FAILED;
|
|
17035
|
+
}
|
|
17036
|
+
if (s8 !== peg$FAILED) {
|
|
17037
|
+
s9 = peg$parsechar();
|
|
17038
|
+
if (s9 !== peg$FAILED) {
|
|
17039
|
+
s8 = [s8, s9];
|
|
17040
|
+
s7 = s8;
|
|
17041
|
+
} else {
|
|
17042
|
+
peg$currPos = s7;
|
|
17043
|
+
s7 = peg$FAILED;
|
|
17044
|
+
}
|
|
17045
|
+
} else {
|
|
17046
|
+
peg$currPos = s7;
|
|
17047
|
+
s7 = peg$FAILED;
|
|
16961
17048
|
}
|
|
17049
|
+
}
|
|
17050
|
+
s5 = input.substring(s5, peg$currPos);
|
|
17051
|
+
s6 = peg$parseBlockTag();
|
|
17052
|
+
if (s6 !== peg$FAILED) {
|
|
17053
|
+
peg$savedPos = s0;
|
|
17054
|
+
s0 = peg$f69(s2, s5);
|
|
16962
17055
|
} else {
|
|
16963
17056
|
peg$currPos = s0;
|
|
16964
17057
|
s0 = peg$FAILED;
|
|
@@ -16985,9 +17078,9 @@ function peg$parse(input, options) {
|
|
|
16985
17078
|
if (s1 === peg$FAILED) {
|
|
16986
17079
|
s1 = null;
|
|
16987
17080
|
}
|
|
16988
|
-
if (input.substr(peg$currPos,
|
|
17081
|
+
if (input.substr(peg$currPos, 17) === peg$c39) {
|
|
16989
17082
|
s2 = peg$c39;
|
|
16990
|
-
peg$currPos +=
|
|
17083
|
+
peg$currPos += 17;
|
|
16991
17084
|
} else {
|
|
16992
17085
|
s2 = peg$FAILED;
|
|
16993
17086
|
if (peg$silentFails === 0) {
|
|
@@ -17027,7 +17120,7 @@ function peg$parse(input, options) {
|
|
|
17027
17120
|
}
|
|
17028
17121
|
}
|
|
17029
17122
|
}
|
|
17030
|
-
s5 = peg$
|
|
17123
|
+
s5 = peg$parseInlineMediaAlignment();
|
|
17031
17124
|
if (s5 !== peg$FAILED) {
|
|
17032
17125
|
s6 = peg$parseBlockTag();
|
|
17033
17126
|
if (s6 !== peg$FAILED) {
|
|
@@ -17049,6 +17142,85 @@ function peg$parse(input, options) {
|
|
|
17049
17142
|
peg$currPos = s0;
|
|
17050
17143
|
s0 = peg$FAILED;
|
|
17051
17144
|
}
|
|
17145
|
+
if (s0 === peg$FAILED) {
|
|
17146
|
+
s0 = peg$currPos;
|
|
17147
|
+
if (input.charCodeAt(peg$currPos) === 64) {
|
|
17148
|
+
s1 = peg$c22;
|
|
17149
|
+
peg$currPos++;
|
|
17150
|
+
} else {
|
|
17151
|
+
s1 = peg$FAILED;
|
|
17152
|
+
if (peg$silentFails === 0) {
|
|
17153
|
+
peg$fail(peg$e26);
|
|
17154
|
+
}
|
|
17155
|
+
}
|
|
17156
|
+
if (s1 === peg$FAILED) {
|
|
17157
|
+
s1 = null;
|
|
17158
|
+
}
|
|
17159
|
+
if (input.substr(peg$currPos, 4) === peg$c40) {
|
|
17160
|
+
s2 = peg$c40;
|
|
17161
|
+
peg$currPos += 4;
|
|
17162
|
+
} else {
|
|
17163
|
+
s2 = peg$FAILED;
|
|
17164
|
+
if (peg$silentFails === 0) {
|
|
17165
|
+
peg$fail(peg$e44);
|
|
17166
|
+
}
|
|
17167
|
+
}
|
|
17168
|
+
if (s2 !== peg$FAILED) {
|
|
17169
|
+
if (input.charCodeAt(peg$currPos) === 58) {
|
|
17170
|
+
s3 = peg$c5;
|
|
17171
|
+
peg$currPos++;
|
|
17172
|
+
} else {
|
|
17173
|
+
s3 = peg$FAILED;
|
|
17174
|
+
if (peg$silentFails === 0) {
|
|
17175
|
+
peg$fail(peg$e8);
|
|
17176
|
+
}
|
|
17177
|
+
}
|
|
17178
|
+
if (s3 !== peg$FAILED) {
|
|
17179
|
+
s4 = [];
|
|
17180
|
+
if (input.charCodeAt(peg$currPos) === 32) {
|
|
17181
|
+
s5 = peg$c12;
|
|
17182
|
+
peg$currPos++;
|
|
17183
|
+
} else {
|
|
17184
|
+
s5 = peg$FAILED;
|
|
17185
|
+
if (peg$silentFails === 0) {
|
|
17186
|
+
peg$fail(peg$e16);
|
|
17187
|
+
}
|
|
17188
|
+
}
|
|
17189
|
+
while (s5 !== peg$FAILED) {
|
|
17190
|
+
s4.push(s5);
|
|
17191
|
+
if (input.charCodeAt(peg$currPos) === 32) {
|
|
17192
|
+
s5 = peg$c12;
|
|
17193
|
+
peg$currPos++;
|
|
17194
|
+
} else {
|
|
17195
|
+
s5 = peg$FAILED;
|
|
17196
|
+
if (peg$silentFails === 0) {
|
|
17197
|
+
peg$fail(peg$e16);
|
|
17198
|
+
}
|
|
17199
|
+
}
|
|
17200
|
+
}
|
|
17201
|
+
s5 = peg$parseInlineMediaSize();
|
|
17202
|
+
if (s5 !== peg$FAILED) {
|
|
17203
|
+
s6 = peg$parseBlockTag();
|
|
17204
|
+
if (s6 !== peg$FAILED) {
|
|
17205
|
+
peg$savedPos = s0;
|
|
17206
|
+
s0 = peg$f71(s2, s5);
|
|
17207
|
+
} else {
|
|
17208
|
+
peg$currPos = s0;
|
|
17209
|
+
s0 = peg$FAILED;
|
|
17210
|
+
}
|
|
17211
|
+
} else {
|
|
17212
|
+
peg$currPos = s0;
|
|
17213
|
+
s0 = peg$FAILED;
|
|
17214
|
+
}
|
|
17215
|
+
} else {
|
|
17216
|
+
peg$currPos = s0;
|
|
17217
|
+
s0 = peg$FAILED;
|
|
17218
|
+
}
|
|
17219
|
+
} else {
|
|
17220
|
+
peg$currPos = s0;
|
|
17221
|
+
s0 = peg$FAILED;
|
|
17222
|
+
}
|
|
17223
|
+
}
|
|
17052
17224
|
}
|
|
17053
17225
|
}
|
|
17054
17226
|
}
|
|
@@ -17057,83 +17229,83 @@ function peg$parse(input, options) {
|
|
|
17057
17229
|
}
|
|
17058
17230
|
function peg$parseInlineMediaAlignment() {
|
|
17059
17231
|
let s0;
|
|
17060
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
17061
|
-
s0 = peg$
|
|
17232
|
+
if (input.substr(peg$currPos, 3) === peg$c41) {
|
|
17233
|
+
s0 = peg$c41;
|
|
17062
17234
|
peg$currPos += 3;
|
|
17063
17235
|
} else {
|
|
17064
17236
|
s0 = peg$FAILED;
|
|
17065
17237
|
if (peg$silentFails === 0) {
|
|
17066
|
-
peg$fail(peg$
|
|
17238
|
+
peg$fail(peg$e45);
|
|
17067
17239
|
}
|
|
17068
17240
|
}
|
|
17069
17241
|
if (s0 === peg$FAILED) {
|
|
17070
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
17071
|
-
s0 = peg$
|
|
17242
|
+
if (input.substr(peg$currPos, 6) === peg$c42) {
|
|
17243
|
+
s0 = peg$c42;
|
|
17072
17244
|
peg$currPos += 6;
|
|
17073
17245
|
} else {
|
|
17074
17246
|
s0 = peg$FAILED;
|
|
17075
17247
|
if (peg$silentFails === 0) {
|
|
17076
|
-
peg$fail(peg$
|
|
17248
|
+
peg$fail(peg$e46);
|
|
17077
17249
|
}
|
|
17078
17250
|
}
|
|
17079
17251
|
if (s0 === peg$FAILED) {
|
|
17080
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
17081
|
-
s0 = peg$
|
|
17252
|
+
if (input.substr(peg$currPos, 6) === peg$c43) {
|
|
17253
|
+
s0 = peg$c43;
|
|
17082
17254
|
peg$currPos += 6;
|
|
17083
17255
|
} else {
|
|
17084
17256
|
s0 = peg$FAILED;
|
|
17085
17257
|
if (peg$silentFails === 0) {
|
|
17086
|
-
peg$fail(peg$
|
|
17258
|
+
peg$fail(peg$e47);
|
|
17087
17259
|
}
|
|
17088
17260
|
}
|
|
17089
17261
|
if (s0 === peg$FAILED) {
|
|
17090
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
17091
|
-
s0 = peg$
|
|
17262
|
+
if (input.substr(peg$currPos, 8) === peg$c44) {
|
|
17263
|
+
s0 = peg$c44;
|
|
17092
17264
|
peg$currPos += 8;
|
|
17093
17265
|
} else {
|
|
17094
17266
|
s0 = peg$FAILED;
|
|
17095
17267
|
if (peg$silentFails === 0) {
|
|
17096
|
-
peg$fail(peg$
|
|
17268
|
+
peg$fail(peg$e48);
|
|
17097
17269
|
}
|
|
17098
17270
|
}
|
|
17099
17271
|
if (s0 === peg$FAILED) {
|
|
17100
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
17101
|
-
s0 = peg$
|
|
17272
|
+
if (input.substr(peg$currPos, 3) === peg$c45) {
|
|
17273
|
+
s0 = peg$c45;
|
|
17102
17274
|
peg$currPos += 3;
|
|
17103
17275
|
} else {
|
|
17104
17276
|
s0 = peg$FAILED;
|
|
17105
17277
|
if (peg$silentFails === 0) {
|
|
17106
|
-
peg$fail(peg$
|
|
17278
|
+
peg$fail(peg$e49);
|
|
17107
17279
|
}
|
|
17108
17280
|
}
|
|
17109
17281
|
if (s0 === peg$FAILED) {
|
|
17110
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
17111
|
-
s0 = peg$
|
|
17282
|
+
if (input.substr(peg$currPos, 5) === peg$c46) {
|
|
17283
|
+
s0 = peg$c46;
|
|
17112
17284
|
peg$currPos += 5;
|
|
17113
17285
|
} else {
|
|
17114
17286
|
s0 = peg$FAILED;
|
|
17115
17287
|
if (peg$silentFails === 0) {
|
|
17116
|
-
peg$fail(peg$
|
|
17288
|
+
peg$fail(peg$e50);
|
|
17117
17289
|
}
|
|
17118
17290
|
}
|
|
17119
17291
|
if (s0 === peg$FAILED) {
|
|
17120
|
-
if (input.substr(peg$currPos, 11) === peg$
|
|
17121
|
-
s0 = peg$
|
|
17292
|
+
if (input.substr(peg$currPos, 11) === peg$c47) {
|
|
17293
|
+
s0 = peg$c47;
|
|
17122
17294
|
peg$currPos += 11;
|
|
17123
17295
|
} else {
|
|
17124
17296
|
s0 = peg$FAILED;
|
|
17125
17297
|
if (peg$silentFails === 0) {
|
|
17126
|
-
peg$fail(peg$
|
|
17298
|
+
peg$fail(peg$e51);
|
|
17127
17299
|
}
|
|
17128
17300
|
}
|
|
17129
17301
|
if (s0 === peg$FAILED) {
|
|
17130
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
17131
|
-
s0 = peg$
|
|
17302
|
+
if (input.substr(peg$currPos, 8) === peg$c48) {
|
|
17303
|
+
s0 = peg$c48;
|
|
17132
17304
|
peg$currPos += 8;
|
|
17133
17305
|
} else {
|
|
17134
17306
|
s0 = peg$FAILED;
|
|
17135
17307
|
if (peg$silentFails === 0) {
|
|
17136
|
-
peg$fail(peg$
|
|
17308
|
+
peg$fail(peg$e52);
|
|
17137
17309
|
}
|
|
17138
17310
|
}
|
|
17139
17311
|
}
|
|
@@ -17147,53 +17319,53 @@ function peg$parse(input, options) {
|
|
|
17147
17319
|
}
|
|
17148
17320
|
function peg$parseInlineMediaSize() {
|
|
17149
17321
|
let s0;
|
|
17150
|
-
if (input.substr(peg$currPos, 11) === peg$
|
|
17151
|
-
s0 = peg$
|
|
17322
|
+
if (input.substr(peg$currPos, 11) === peg$c49) {
|
|
17323
|
+
s0 = peg$c49;
|
|
17152
17324
|
peg$currPos += 11;
|
|
17153
17325
|
} else {
|
|
17154
17326
|
s0 = peg$FAILED;
|
|
17155
17327
|
if (peg$silentFails === 0) {
|
|
17156
|
-
peg$fail(peg$
|
|
17328
|
+
peg$fail(peg$e53);
|
|
17157
17329
|
}
|
|
17158
17330
|
}
|
|
17159
17331
|
if (s0 === peg$FAILED) {
|
|
17160
|
-
if (input.substr(peg$currPos, 11) === peg$
|
|
17161
|
-
s0 = peg$
|
|
17332
|
+
if (input.substr(peg$currPos, 11) === peg$c50) {
|
|
17333
|
+
s0 = peg$c50;
|
|
17162
17334
|
peg$currPos += 11;
|
|
17163
17335
|
} else {
|
|
17164
17336
|
s0 = peg$FAILED;
|
|
17165
17337
|
if (peg$silentFails === 0) {
|
|
17166
|
-
peg$fail(peg$
|
|
17338
|
+
peg$fail(peg$e54);
|
|
17167
17339
|
}
|
|
17168
17340
|
}
|
|
17169
17341
|
if (s0 === peg$FAILED) {
|
|
17170
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
17171
|
-
s0 = peg$
|
|
17342
|
+
if (input.substr(peg$currPos, 5) === peg$c46) {
|
|
17343
|
+
s0 = peg$c46;
|
|
17172
17344
|
peg$currPos += 5;
|
|
17173
17345
|
} else {
|
|
17174
17346
|
s0 = peg$FAILED;
|
|
17175
17347
|
if (peg$silentFails === 0) {
|
|
17176
|
-
peg$fail(peg$
|
|
17348
|
+
peg$fail(peg$e50);
|
|
17177
17349
|
}
|
|
17178
17350
|
}
|
|
17179
17351
|
if (s0 === peg$FAILED) {
|
|
17180
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
17181
|
-
s0 = peg$
|
|
17352
|
+
if (input.substr(peg$currPos, 3) === peg$c45) {
|
|
17353
|
+
s0 = peg$c45;
|
|
17182
17354
|
peg$currPos += 3;
|
|
17183
17355
|
} else {
|
|
17184
17356
|
s0 = peg$FAILED;
|
|
17185
17357
|
if (peg$silentFails === 0) {
|
|
17186
|
-
peg$fail(peg$
|
|
17358
|
+
peg$fail(peg$e49);
|
|
17187
17359
|
}
|
|
17188
17360
|
}
|
|
17189
17361
|
if (s0 === peg$FAILED) {
|
|
17190
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
17191
|
-
s0 = peg$
|
|
17362
|
+
if (input.substr(peg$currPos, 8) === peg$c51) {
|
|
17363
|
+
s0 = peg$c51;
|
|
17192
17364
|
peg$currPos += 8;
|
|
17193
17365
|
} else {
|
|
17194
17366
|
s0 = peg$FAILED;
|
|
17195
17367
|
if (peg$silentFails === 0) {
|
|
17196
|
-
peg$fail(peg$
|
|
17368
|
+
peg$fail(peg$e55);
|
|
17197
17369
|
}
|
|
17198
17370
|
}
|
|
17199
17371
|
}
|
|
@@ -17205,13 +17377,13 @@ function peg$parse(input, options) {
|
|
|
17205
17377
|
function peg$parseAttrChainItem() {
|
|
17206
17378
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
|
|
17207
17379
|
s0 = peg$currPos;
|
|
17208
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
17209
|
-
s1 = peg$
|
|
17380
|
+
if (input.substr(peg$currPos, 5) === peg$c52) {
|
|
17381
|
+
s1 = peg$c52;
|
|
17210
17382
|
peg$currPos += 5;
|
|
17211
17383
|
} else {
|
|
17212
17384
|
s1 = peg$FAILED;
|
|
17213
17385
|
if (peg$silentFails === 0) {
|
|
17214
|
-
peg$fail(peg$
|
|
17386
|
+
peg$fail(peg$e56);
|
|
17215
17387
|
}
|
|
17216
17388
|
}
|
|
17217
17389
|
if (s1 !== peg$FAILED) {
|
|
@@ -17272,7 +17444,7 @@ function peg$parse(input, options) {
|
|
|
17272
17444
|
s3 = peg$parseBlockTag();
|
|
17273
17445
|
if (s3 !== peg$FAILED) {
|
|
17274
17446
|
peg$savedPos = s0;
|
|
17275
|
-
s0 = peg$
|
|
17447
|
+
s0 = peg$f72(s2);
|
|
17276
17448
|
} else {
|
|
17277
17449
|
peg$currPos = s0;
|
|
17278
17450
|
s0 = peg$FAILED;
|
|
@@ -17283,13 +17455,13 @@ function peg$parse(input, options) {
|
|
|
17283
17455
|
}
|
|
17284
17456
|
if (s0 === peg$FAILED) {
|
|
17285
17457
|
s0 = peg$currPos;
|
|
17286
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
17287
|
-
s1 = peg$
|
|
17458
|
+
if (input.substr(peg$currPos, 7) === peg$c53) {
|
|
17459
|
+
s1 = peg$c53;
|
|
17288
17460
|
peg$currPos += 7;
|
|
17289
17461
|
} else {
|
|
17290
17462
|
s1 = peg$FAILED;
|
|
17291
17463
|
if (peg$silentFails === 0) {
|
|
17292
|
-
peg$fail(peg$
|
|
17464
|
+
peg$fail(peg$e57);
|
|
17293
17465
|
}
|
|
17294
17466
|
}
|
|
17295
17467
|
if (s1 !== peg$FAILED) {
|
|
@@ -17350,13 +17522,13 @@ function peg$parse(input, options) {
|
|
|
17350
17522
|
s3 = peg$parseRefsChain();
|
|
17351
17523
|
s4 = peg$parseBlockTag();
|
|
17352
17524
|
if (s4 !== peg$FAILED) {
|
|
17353
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
17354
|
-
s5 = peg$
|
|
17525
|
+
if (input.substr(peg$currPos, 9) === peg$c54) {
|
|
17526
|
+
s5 = peg$c54;
|
|
17355
17527
|
peg$currPos += 9;
|
|
17356
17528
|
} else {
|
|
17357
17529
|
s5 = peg$FAILED;
|
|
17358
17530
|
if (peg$silentFails === 0) {
|
|
17359
|
-
peg$fail(peg$
|
|
17531
|
+
peg$fail(peg$e58);
|
|
17360
17532
|
}
|
|
17361
17533
|
}
|
|
17362
17534
|
if (s5 !== peg$FAILED) {
|
|
@@ -17417,7 +17589,7 @@ function peg$parse(input, options) {
|
|
|
17417
17589
|
s7 = peg$parseBlockTag();
|
|
17418
17590
|
if (s7 !== peg$FAILED) {
|
|
17419
17591
|
peg$savedPos = s0;
|
|
17420
|
-
s0 = peg$
|
|
17592
|
+
s0 = peg$f73(s2, s3, s6);
|
|
17421
17593
|
} else {
|
|
17422
17594
|
peg$currPos = s0;
|
|
17423
17595
|
s0 = peg$FAILED;
|
|
@@ -17436,13 +17608,13 @@ function peg$parse(input, options) {
|
|
|
17436
17608
|
}
|
|
17437
17609
|
if (s0 === peg$FAILED) {
|
|
17438
17610
|
s0 = peg$currPos;
|
|
17439
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
17440
|
-
s1 = peg$
|
|
17611
|
+
if (input.substr(peg$currPos, 5) === peg$c55) {
|
|
17612
|
+
s1 = peg$c55;
|
|
17441
17613
|
peg$currPos += 5;
|
|
17442
17614
|
} else {
|
|
17443
17615
|
s1 = peg$FAILED;
|
|
17444
17616
|
if (peg$silentFails === 0) {
|
|
17445
|
-
peg$fail(peg$
|
|
17617
|
+
peg$fail(peg$e59);
|
|
17446
17618
|
}
|
|
17447
17619
|
}
|
|
17448
17620
|
if (s1 !== peg$FAILED) {
|
|
@@ -17503,12 +17675,12 @@ function peg$parse(input, options) {
|
|
|
17503
17675
|
s3 = peg$parseBlockTag();
|
|
17504
17676
|
if (s3 !== peg$FAILED) {
|
|
17505
17677
|
if (input.charCodeAt(peg$currPos) === 9658) {
|
|
17506
|
-
s4 = peg$
|
|
17678
|
+
s4 = peg$c56;
|
|
17507
17679
|
peg$currPos++;
|
|
17508
17680
|
} else {
|
|
17509
17681
|
s4 = peg$FAILED;
|
|
17510
17682
|
if (peg$silentFails === 0) {
|
|
17511
|
-
peg$fail(peg$
|
|
17683
|
+
peg$fail(peg$e60);
|
|
17512
17684
|
}
|
|
17513
17685
|
}
|
|
17514
17686
|
if (s4 !== peg$FAILED) {
|
|
@@ -17569,7 +17741,7 @@ function peg$parse(input, options) {
|
|
|
17569
17741
|
s6 = peg$parseBlockTag();
|
|
17570
17742
|
if (s6 !== peg$FAILED) {
|
|
17571
17743
|
peg$savedPos = s0;
|
|
17572
|
-
s0 = peg$
|
|
17744
|
+
s0 = peg$f74(s2, s5);
|
|
17573
17745
|
} else {
|
|
17574
17746
|
peg$currPos = s0;
|
|
17575
17747
|
s0 = peg$FAILED;
|
|
@@ -17588,13 +17760,13 @@ function peg$parse(input, options) {
|
|
|
17588
17760
|
}
|
|
17589
17761
|
if (s0 === peg$FAILED) {
|
|
17590
17762
|
s0 = peg$currPos;
|
|
17591
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
17592
|
-
s1 = peg$
|
|
17763
|
+
if (input.substr(peg$currPos, 5) === peg$c55) {
|
|
17764
|
+
s1 = peg$c55;
|
|
17593
17765
|
peg$currPos += 5;
|
|
17594
17766
|
} else {
|
|
17595
17767
|
s1 = peg$FAILED;
|
|
17596
17768
|
if (peg$silentFails === 0) {
|
|
17597
|
-
peg$fail(peg$
|
|
17769
|
+
peg$fail(peg$e59);
|
|
17598
17770
|
}
|
|
17599
17771
|
}
|
|
17600
17772
|
if (s1 !== peg$FAILED) {
|
|
@@ -17655,7 +17827,7 @@ function peg$parse(input, options) {
|
|
|
17655
17827
|
s3 = peg$parseBlockTag();
|
|
17656
17828
|
if (s3 !== peg$FAILED) {
|
|
17657
17829
|
peg$savedPos = s0;
|
|
17658
|
-
s0 = peg$
|
|
17830
|
+
s0 = peg$f75(s2);
|
|
17659
17831
|
} else {
|
|
17660
17832
|
peg$currPos = s0;
|
|
17661
17833
|
s0 = peg$FAILED;
|
|
@@ -17667,12 +17839,12 @@ function peg$parse(input, options) {
|
|
|
17667
17839
|
if (s0 === peg$FAILED) {
|
|
17668
17840
|
s0 = peg$currPos;
|
|
17669
17841
|
if (input.charCodeAt(peg$currPos) === 9658) {
|
|
17670
|
-
s1 = peg$
|
|
17842
|
+
s1 = peg$c56;
|
|
17671
17843
|
peg$currPos++;
|
|
17672
17844
|
} else {
|
|
17673
17845
|
s1 = peg$FAILED;
|
|
17674
17846
|
if (peg$silentFails === 0) {
|
|
17675
|
-
peg$fail(peg$
|
|
17847
|
+
peg$fail(peg$e60);
|
|
17676
17848
|
}
|
|
17677
17849
|
}
|
|
17678
17850
|
if (s1 !== peg$FAILED) {
|
|
@@ -17733,7 +17905,7 @@ function peg$parse(input, options) {
|
|
|
17733
17905
|
s3 = peg$parseBlockTag();
|
|
17734
17906
|
if (s3 !== peg$FAILED) {
|
|
17735
17907
|
peg$savedPos = s0;
|
|
17736
|
-
s0 = peg$
|
|
17908
|
+
s0 = peg$f76(s2);
|
|
17737
17909
|
} else {
|
|
17738
17910
|
peg$currPos = s0;
|
|
17739
17911
|
s0 = peg$FAILED;
|
|
@@ -17744,13 +17916,13 @@ function peg$parse(input, options) {
|
|
|
17744
17916
|
}
|
|
17745
17917
|
if (s0 === peg$FAILED) {
|
|
17746
17918
|
s0 = peg$currPos;
|
|
17747
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
17748
|
-
s1 = peg$
|
|
17919
|
+
if (input.substr(peg$currPos, 7) === peg$c57) {
|
|
17920
|
+
s1 = peg$c57;
|
|
17749
17921
|
peg$currPos += 7;
|
|
17750
17922
|
} else {
|
|
17751
17923
|
s1 = peg$FAILED;
|
|
17752
17924
|
if (peg$silentFails === 0) {
|
|
17753
|
-
peg$fail(peg$
|
|
17925
|
+
peg$fail(peg$e61);
|
|
17754
17926
|
}
|
|
17755
17927
|
}
|
|
17756
17928
|
if (s1 !== peg$FAILED) {
|
|
@@ -17812,7 +17984,7 @@ function peg$parse(input, options) {
|
|
|
17812
17984
|
if (s3 !== peg$FAILED) {
|
|
17813
17985
|
s4 = peg$parseMediaChain();
|
|
17814
17986
|
peg$savedPos = s0;
|
|
17815
|
-
s0 = peg$
|
|
17987
|
+
s0 = peg$f77(s2, s4);
|
|
17816
17988
|
} else {
|
|
17817
17989
|
peg$currPos = s0;
|
|
17818
17990
|
s0 = peg$FAILED;
|
|
@@ -17823,13 +17995,13 @@ function peg$parse(input, options) {
|
|
|
17823
17995
|
}
|
|
17824
17996
|
if (s0 === peg$FAILED) {
|
|
17825
17997
|
s0 = peg$currPos;
|
|
17826
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
17827
|
-
s1 = peg$
|
|
17998
|
+
if (input.substr(peg$currPos, 9) === peg$c58) {
|
|
17999
|
+
s1 = peg$c58;
|
|
17828
18000
|
peg$currPos += 9;
|
|
17829
18001
|
} else {
|
|
17830
18002
|
s1 = peg$FAILED;
|
|
17831
18003
|
if (peg$silentFails === 0) {
|
|
17832
|
-
peg$fail(peg$
|
|
18004
|
+
peg$fail(peg$e62);
|
|
17833
18005
|
}
|
|
17834
18006
|
}
|
|
17835
18007
|
if (s1 !== peg$FAILED) {
|
|
@@ -17890,7 +18062,7 @@ function peg$parse(input, options) {
|
|
|
17890
18062
|
s3 = peg$parseBlockTag();
|
|
17891
18063
|
if (s3 !== peg$FAILED) {
|
|
17892
18064
|
peg$savedPos = s0;
|
|
17893
|
-
s0 = peg$
|
|
18065
|
+
s0 = peg$f78(s2);
|
|
17894
18066
|
} else {
|
|
17895
18067
|
peg$currPos = s0;
|
|
17896
18068
|
s0 = peg$FAILED;
|
|
@@ -17901,13 +18073,13 @@ function peg$parse(input, options) {
|
|
|
17901
18073
|
}
|
|
17902
18074
|
if (s0 === peg$FAILED) {
|
|
17903
18075
|
s0 = peg$currPos;
|
|
17904
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
17905
|
-
s1 = peg$
|
|
18076
|
+
if (input.substr(peg$currPos, 10) === peg$c59) {
|
|
18077
|
+
s1 = peg$c59;
|
|
17906
18078
|
peg$currPos += 10;
|
|
17907
18079
|
} else {
|
|
17908
18080
|
s1 = peg$FAILED;
|
|
17909
18081
|
if (peg$silentFails === 0) {
|
|
17910
|
-
peg$fail(peg$
|
|
18082
|
+
peg$fail(peg$e63);
|
|
17911
18083
|
}
|
|
17912
18084
|
}
|
|
17913
18085
|
if (s1 !== peg$FAILED) {
|
|
@@ -17968,7 +18140,7 @@ function peg$parse(input, options) {
|
|
|
17968
18140
|
s3 = peg$parseBlockTag();
|
|
17969
18141
|
if (s3 !== peg$FAILED) {
|
|
17970
18142
|
peg$savedPos = s0;
|
|
17971
|
-
s0 = peg$
|
|
18143
|
+
s0 = peg$f79(s2);
|
|
17972
18144
|
} else {
|
|
17973
18145
|
peg$currPos = s0;
|
|
17974
18146
|
s0 = peg$FAILED;
|
|
@@ -17979,13 +18151,13 @@ function peg$parse(input, options) {
|
|
|
17979
18151
|
}
|
|
17980
18152
|
if (s0 === peg$FAILED) {
|
|
17981
18153
|
s0 = peg$currPos;
|
|
17982
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
17983
|
-
s1 = peg$
|
|
18154
|
+
if (input.substr(peg$currPos, 4) === peg$c60) {
|
|
18155
|
+
s1 = peg$c60;
|
|
17984
18156
|
peg$currPos += 4;
|
|
17985
18157
|
} else {
|
|
17986
18158
|
s1 = peg$FAILED;
|
|
17987
18159
|
if (peg$silentFails === 0) {
|
|
17988
|
-
peg$fail(peg$
|
|
18160
|
+
peg$fail(peg$e64);
|
|
17989
18161
|
}
|
|
17990
18162
|
}
|
|
17991
18163
|
if (s1 !== peg$FAILED) {
|
|
@@ -18046,7 +18218,7 @@ function peg$parse(input, options) {
|
|
|
18046
18218
|
s3 = peg$parseBlockTag();
|
|
18047
18219
|
if (s3 !== peg$FAILED) {
|
|
18048
18220
|
peg$savedPos = s0;
|
|
18049
|
-
s0 = peg$
|
|
18221
|
+
s0 = peg$f80(s2);
|
|
18050
18222
|
} else {
|
|
18051
18223
|
peg$currPos = s0;
|
|
18052
18224
|
s0 = peg$FAILED;
|
|
@@ -18070,7 +18242,7 @@ function peg$parse(input, options) {
|
|
|
18070
18242
|
s2 = peg$parseBlockTag();
|
|
18071
18243
|
if (s2 !== peg$FAILED) {
|
|
18072
18244
|
peg$savedPos = s0;
|
|
18073
|
-
s0 = peg$
|
|
18245
|
+
s0 = peg$f81();
|
|
18074
18246
|
} else {
|
|
18075
18247
|
peg$currPos = s0;
|
|
18076
18248
|
s0 = peg$FAILED;
|
|
@@ -18081,13 +18253,13 @@ function peg$parse(input, options) {
|
|
|
18081
18253
|
}
|
|
18082
18254
|
if (s0 === peg$FAILED) {
|
|
18083
18255
|
s0 = peg$currPos;
|
|
18084
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
18085
|
-
s1 = peg$
|
|
18256
|
+
if (input.substr(peg$currPos, 5) === peg$c61) {
|
|
18257
|
+
s1 = peg$c61;
|
|
18086
18258
|
peg$currPos += 5;
|
|
18087
18259
|
} else {
|
|
18088
18260
|
s1 = peg$FAILED;
|
|
18089
18261
|
if (peg$silentFails === 0) {
|
|
18090
|
-
peg$fail(peg$
|
|
18262
|
+
peg$fail(peg$e65);
|
|
18091
18263
|
}
|
|
18092
18264
|
}
|
|
18093
18265
|
if (s1 !== peg$FAILED) {
|
|
@@ -18148,7 +18320,7 @@ function peg$parse(input, options) {
|
|
|
18148
18320
|
s3 = peg$parseBlockTag();
|
|
18149
18321
|
if (s3 !== peg$FAILED) {
|
|
18150
18322
|
peg$savedPos = s0;
|
|
18151
|
-
s0 = peg$
|
|
18323
|
+
s0 = peg$f82(s2);
|
|
18152
18324
|
} else {
|
|
18153
18325
|
peg$currPos = s0;
|
|
18154
18326
|
s0 = peg$FAILED;
|
|
@@ -18159,20 +18331,20 @@ function peg$parse(input, options) {
|
|
|
18159
18331
|
}
|
|
18160
18332
|
if (s0 === peg$FAILED) {
|
|
18161
18333
|
s0 = peg$currPos;
|
|
18162
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
18163
|
-
s1 = peg$
|
|
18334
|
+
if (input.substr(peg$currPos, 5) === peg$c62) {
|
|
18335
|
+
s1 = peg$c62;
|
|
18164
18336
|
peg$currPos += 5;
|
|
18165
18337
|
} else {
|
|
18166
18338
|
s1 = peg$FAILED;
|
|
18167
18339
|
if (peg$silentFails === 0) {
|
|
18168
|
-
peg$fail(peg$
|
|
18340
|
+
peg$fail(peg$e66);
|
|
18169
18341
|
}
|
|
18170
18342
|
}
|
|
18171
18343
|
if (s1 !== peg$FAILED) {
|
|
18172
18344
|
s2 = peg$parseBlockTag();
|
|
18173
18345
|
if (s2 !== peg$FAILED) {
|
|
18174
18346
|
peg$savedPos = s0;
|
|
18175
|
-
s0 = peg$
|
|
18347
|
+
s0 = peg$f83();
|
|
18176
18348
|
} else {
|
|
18177
18349
|
peg$currPos = s0;
|
|
18178
18350
|
s0 = peg$FAILED;
|
|
@@ -18183,13 +18355,13 @@ function peg$parse(input, options) {
|
|
|
18183
18355
|
}
|
|
18184
18356
|
if (s0 === peg$FAILED) {
|
|
18185
18357
|
s0 = peg$currPos;
|
|
18186
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
18187
|
-
s1 = peg$
|
|
18358
|
+
if (input.substr(peg$currPos, 6) === peg$c63) {
|
|
18359
|
+
s1 = peg$c63;
|
|
18188
18360
|
peg$currPos += 6;
|
|
18189
18361
|
} else {
|
|
18190
18362
|
s1 = peg$FAILED;
|
|
18191
18363
|
if (peg$silentFails === 0) {
|
|
18192
|
-
peg$fail(peg$
|
|
18364
|
+
peg$fail(peg$e67);
|
|
18193
18365
|
}
|
|
18194
18366
|
}
|
|
18195
18367
|
if (s1 !== peg$FAILED) {
|
|
@@ -18250,7 +18422,7 @@ function peg$parse(input, options) {
|
|
|
18250
18422
|
s3 = peg$parseBlockTag();
|
|
18251
18423
|
if (s3 !== peg$FAILED) {
|
|
18252
18424
|
peg$savedPos = s0;
|
|
18253
|
-
s0 = peg$
|
|
18425
|
+
s0 = peg$f84(s2);
|
|
18254
18426
|
} else {
|
|
18255
18427
|
peg$currPos = s0;
|
|
18256
18428
|
s0 = peg$FAILED;
|
|
@@ -18261,25 +18433,25 @@ function peg$parse(input, options) {
|
|
|
18261
18433
|
}
|
|
18262
18434
|
if (s0 === peg$FAILED) {
|
|
18263
18435
|
s0 = peg$currPos;
|
|
18264
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
18265
|
-
s1 = peg$
|
|
18436
|
+
if (input.substr(peg$currPos, 9) === peg$c64) {
|
|
18437
|
+
s1 = peg$c64;
|
|
18266
18438
|
peg$currPos += 9;
|
|
18267
18439
|
} else {
|
|
18268
18440
|
s1 = peg$FAILED;
|
|
18269
18441
|
if (peg$silentFails === 0) {
|
|
18270
|
-
peg$fail(peg$
|
|
18442
|
+
peg$fail(peg$e68);
|
|
18271
18443
|
}
|
|
18272
18444
|
}
|
|
18273
18445
|
if (s1 !== peg$FAILED) {
|
|
18274
18446
|
s2 = peg$currPos;
|
|
18275
18447
|
s3 = peg$currPos;
|
|
18276
18448
|
if (input.charCodeAt(peg$currPos) === 80) {
|
|
18277
|
-
s4 = peg$
|
|
18449
|
+
s4 = peg$c65;
|
|
18278
18450
|
peg$currPos++;
|
|
18279
18451
|
} else {
|
|
18280
18452
|
s4 = peg$FAILED;
|
|
18281
18453
|
if (peg$silentFails === 0) {
|
|
18282
|
-
peg$fail(peg$
|
|
18454
|
+
peg$fail(peg$e69);
|
|
18283
18455
|
}
|
|
18284
18456
|
}
|
|
18285
18457
|
if (s4 !== peg$FAILED) {
|
|
@@ -18352,7 +18524,7 @@ function peg$parse(input, options) {
|
|
|
18352
18524
|
s3 = peg$parseBlockTag();
|
|
18353
18525
|
if (s3 !== peg$FAILED) {
|
|
18354
18526
|
peg$savedPos = s0;
|
|
18355
|
-
s0 = peg$
|
|
18527
|
+
s0 = peg$f85(s2);
|
|
18356
18528
|
} else {
|
|
18357
18529
|
peg$currPos = s0;
|
|
18358
18530
|
s0 = peg$FAILED;
|
|
@@ -18367,13 +18539,13 @@ function peg$parse(input, options) {
|
|
|
18367
18539
|
}
|
|
18368
18540
|
if (s0 === peg$FAILED) {
|
|
18369
18541
|
s0 = peg$currPos;
|
|
18370
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
18371
|
-
s1 = peg$
|
|
18542
|
+
if (input.substr(peg$currPos, 6) === peg$c66) {
|
|
18543
|
+
s1 = peg$c66;
|
|
18372
18544
|
peg$currPos += 6;
|
|
18373
18545
|
} else {
|
|
18374
18546
|
s1 = peg$FAILED;
|
|
18375
18547
|
if (peg$silentFails === 0) {
|
|
18376
|
-
peg$fail(peg$
|
|
18548
|
+
peg$fail(peg$e70);
|
|
18377
18549
|
}
|
|
18378
18550
|
}
|
|
18379
18551
|
if (s1 !== peg$FAILED) {
|
|
@@ -18382,7 +18554,7 @@ function peg$parse(input, options) {
|
|
|
18382
18554
|
s3 = peg$parseBlockTag();
|
|
18383
18555
|
if (s3 !== peg$FAILED) {
|
|
18384
18556
|
peg$savedPos = s0;
|
|
18385
|
-
s0 = peg$
|
|
18557
|
+
s0 = peg$f86(s2);
|
|
18386
18558
|
} else {
|
|
18387
18559
|
peg$currPos = s0;
|
|
18388
18560
|
s0 = peg$FAILED;
|
|
@@ -18402,7 +18574,7 @@ function peg$parse(input, options) {
|
|
|
18402
18574
|
s2 = peg$parseBlockTag();
|
|
18403
18575
|
if (s2 !== peg$FAILED) {
|
|
18404
18576
|
peg$savedPos = s0;
|
|
18405
|
-
s0 = peg$
|
|
18577
|
+
s0 = peg$f87(s1);
|
|
18406
18578
|
} else {
|
|
18407
18579
|
peg$currPos = s0;
|
|
18408
18580
|
s0 = peg$FAILED;
|
|
@@ -18480,7 +18652,7 @@ function peg$parse(input, options) {
|
|
|
18480
18652
|
s3 = peg$parseBlockTag();
|
|
18481
18653
|
if (s3 !== peg$FAILED) {
|
|
18482
18654
|
peg$savedPos = s0;
|
|
18483
|
-
s0 = peg$
|
|
18655
|
+
s0 = peg$f88(s2);
|
|
18484
18656
|
} else {
|
|
18485
18657
|
peg$currPos = s0;
|
|
18486
18658
|
s0 = peg$FAILED;
|
|
@@ -18520,13 +18692,13 @@ function peg$parse(input, options) {
|
|
|
18520
18692
|
function peg$parseRef() {
|
|
18521
18693
|
let s0, s1, s2, s3, s4, s5, s6;
|
|
18522
18694
|
s0 = peg$currPos;
|
|
18523
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
18524
|
-
s1 = peg$
|
|
18695
|
+
if (input.substr(peg$currPos, 2) === peg$c67) {
|
|
18696
|
+
s1 = peg$c67;
|
|
18525
18697
|
peg$currPos += 2;
|
|
18526
18698
|
} else {
|
|
18527
18699
|
s1 = peg$FAILED;
|
|
18528
18700
|
if (peg$silentFails === 0) {
|
|
18529
|
-
peg$fail(peg$
|
|
18701
|
+
peg$fail(peg$e71);
|
|
18530
18702
|
}
|
|
18531
18703
|
}
|
|
18532
18704
|
if (s1 !== peg$FAILED) {
|
|
@@ -18585,7 +18757,7 @@ function peg$parse(input, options) {
|
|
|
18585
18757
|
}
|
|
18586
18758
|
s2 = input.substring(s2, peg$currPos);
|
|
18587
18759
|
peg$savedPos = s0;
|
|
18588
|
-
s0 = peg$
|
|
18760
|
+
s0 = peg$f89(s2);
|
|
18589
18761
|
} else {
|
|
18590
18762
|
peg$currPos = s0;
|
|
18591
18763
|
s0 = peg$FAILED;
|
|
@@ -18594,303 +18766,303 @@ function peg$parse(input, options) {
|
|
|
18594
18766
|
}
|
|
18595
18767
|
function peg$parseAlternativeStyleTags() {
|
|
18596
18768
|
let s0;
|
|
18597
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
18598
|
-
s0 = peg$
|
|
18769
|
+
if (input.substr(peg$currPos, 4) === peg$c68) {
|
|
18770
|
+
s0 = peg$c68;
|
|
18599
18771
|
peg$currPos += 4;
|
|
18600
18772
|
} else {
|
|
18601
18773
|
s0 = peg$FAILED;
|
|
18602
18774
|
if (peg$silentFails === 0) {
|
|
18603
|
-
peg$fail(peg$
|
|
18775
|
+
peg$fail(peg$e72);
|
|
18604
18776
|
}
|
|
18605
18777
|
}
|
|
18606
18778
|
if (s0 === peg$FAILED) {
|
|
18607
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
18608
|
-
s0 = peg$
|
|
18779
|
+
if (input.substr(peg$currPos, 6) === peg$c69) {
|
|
18780
|
+
s0 = peg$c69;
|
|
18609
18781
|
peg$currPos += 6;
|
|
18610
18782
|
} else {
|
|
18611
18783
|
s0 = peg$FAILED;
|
|
18612
18784
|
if (peg$silentFails === 0) {
|
|
18613
|
-
peg$fail(peg$
|
|
18785
|
+
peg$fail(peg$e73);
|
|
18614
18786
|
}
|
|
18615
18787
|
}
|
|
18616
18788
|
if (s0 === peg$FAILED) {
|
|
18617
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
18618
|
-
s0 = peg$
|
|
18789
|
+
if (input.substr(peg$currPos, 5) === peg$c70) {
|
|
18790
|
+
s0 = peg$c70;
|
|
18619
18791
|
peg$currPos += 5;
|
|
18620
18792
|
} else {
|
|
18621
18793
|
s0 = peg$FAILED;
|
|
18622
18794
|
if (peg$silentFails === 0) {
|
|
18623
|
-
peg$fail(peg$
|
|
18795
|
+
peg$fail(peg$e74);
|
|
18624
18796
|
}
|
|
18625
18797
|
}
|
|
18626
18798
|
if (s0 === peg$FAILED) {
|
|
18627
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
18628
|
-
s0 = peg$
|
|
18799
|
+
if (input.substr(peg$currPos, 9) === peg$c71) {
|
|
18800
|
+
s0 = peg$c71;
|
|
18629
18801
|
peg$currPos += 9;
|
|
18630
18802
|
} else {
|
|
18631
18803
|
s0 = peg$FAILED;
|
|
18632
18804
|
if (peg$silentFails === 0) {
|
|
18633
|
-
peg$fail(peg$
|
|
18805
|
+
peg$fail(peg$e75);
|
|
18634
18806
|
}
|
|
18635
18807
|
}
|
|
18636
18808
|
if (s0 === peg$FAILED) {
|
|
18637
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
18638
|
-
s0 = peg$
|
|
18809
|
+
if (input.substr(peg$currPos, 6) === peg$c72) {
|
|
18810
|
+
s0 = peg$c72;
|
|
18639
18811
|
peg$currPos += 6;
|
|
18640
18812
|
} else {
|
|
18641
18813
|
s0 = peg$FAILED;
|
|
18642
18814
|
if (peg$silentFails === 0) {
|
|
18643
|
-
peg$fail(peg$
|
|
18815
|
+
peg$fail(peg$e76);
|
|
18644
18816
|
}
|
|
18645
18817
|
}
|
|
18646
18818
|
if (s0 === peg$FAILED) {
|
|
18647
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
18648
|
-
s0 = peg$
|
|
18819
|
+
if (input.substr(peg$currPos, 9) === peg$c73) {
|
|
18820
|
+
s0 = peg$c73;
|
|
18649
18821
|
peg$currPos += 9;
|
|
18650
18822
|
} else {
|
|
18651
18823
|
s0 = peg$FAILED;
|
|
18652
18824
|
if (peg$silentFails === 0) {
|
|
18653
|
-
peg$fail(peg$
|
|
18825
|
+
peg$fail(peg$e77);
|
|
18654
18826
|
}
|
|
18655
18827
|
}
|
|
18656
18828
|
if (s0 === peg$FAILED) {
|
|
18657
|
-
if (input.substr(peg$currPos, 11) === peg$
|
|
18658
|
-
s0 = peg$
|
|
18829
|
+
if (input.substr(peg$currPos, 11) === peg$c74) {
|
|
18830
|
+
s0 = peg$c74;
|
|
18659
18831
|
peg$currPos += 11;
|
|
18660
18832
|
} else {
|
|
18661
18833
|
s0 = peg$FAILED;
|
|
18662
18834
|
if (peg$silentFails === 0) {
|
|
18663
|
-
peg$fail(peg$
|
|
18835
|
+
peg$fail(peg$e78);
|
|
18664
18836
|
}
|
|
18665
18837
|
}
|
|
18666
18838
|
if (s0 === peg$FAILED) {
|
|
18667
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
18668
|
-
s0 = peg$
|
|
18839
|
+
if (input.substr(peg$currPos, 3) === peg$c75) {
|
|
18840
|
+
s0 = peg$c75;
|
|
18669
18841
|
peg$currPos += 3;
|
|
18670
18842
|
} else {
|
|
18671
18843
|
s0 = peg$FAILED;
|
|
18672
18844
|
if (peg$silentFails === 0) {
|
|
18673
|
-
peg$fail(peg$
|
|
18845
|
+
peg$fail(peg$e79);
|
|
18674
18846
|
}
|
|
18675
18847
|
}
|
|
18676
18848
|
if (s0 === peg$FAILED) {
|
|
18677
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
18678
|
-
s0 = peg$
|
|
18849
|
+
if (input.substr(peg$currPos, 3) === peg$c76) {
|
|
18850
|
+
s0 = peg$c76;
|
|
18679
18851
|
peg$currPos += 3;
|
|
18680
18852
|
} else {
|
|
18681
18853
|
s0 = peg$FAILED;
|
|
18682
18854
|
if (peg$silentFails === 0) {
|
|
18683
|
-
peg$fail(peg$
|
|
18855
|
+
peg$fail(peg$e80);
|
|
18684
18856
|
}
|
|
18685
18857
|
}
|
|
18686
18858
|
if (s0 === peg$FAILED) {
|
|
18687
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
18688
|
-
s0 = peg$
|
|
18859
|
+
if (input.substr(peg$currPos, 9) === peg$c77) {
|
|
18860
|
+
s0 = peg$c77;
|
|
18689
18861
|
peg$currPos += 9;
|
|
18690
18862
|
} else {
|
|
18691
18863
|
s0 = peg$FAILED;
|
|
18692
18864
|
if (peg$silentFails === 0) {
|
|
18693
|
-
peg$fail(peg$
|
|
18865
|
+
peg$fail(peg$e81);
|
|
18694
18866
|
}
|
|
18695
18867
|
}
|
|
18696
18868
|
if (s0 === peg$FAILED) {
|
|
18697
|
-
if (input.substr(peg$currPos, 15) === peg$
|
|
18698
|
-
s0 = peg$
|
|
18869
|
+
if (input.substr(peg$currPos, 15) === peg$c78) {
|
|
18870
|
+
s0 = peg$c78;
|
|
18699
18871
|
peg$currPos += 15;
|
|
18700
18872
|
} else {
|
|
18701
18873
|
s0 = peg$FAILED;
|
|
18702
18874
|
if (peg$silentFails === 0) {
|
|
18703
|
-
peg$fail(peg$
|
|
18875
|
+
peg$fail(peg$e82);
|
|
18704
18876
|
}
|
|
18705
18877
|
}
|
|
18706
18878
|
if (s0 === peg$FAILED) {
|
|
18707
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
18708
|
-
s0 = peg$
|
|
18879
|
+
if (input.substr(peg$currPos, 6) === peg$c79) {
|
|
18880
|
+
s0 = peg$c79;
|
|
18709
18881
|
peg$currPos += 6;
|
|
18710
18882
|
} else {
|
|
18711
18883
|
s0 = peg$FAILED;
|
|
18712
18884
|
if (peg$silentFails === 0) {
|
|
18713
|
-
peg$fail(peg$
|
|
18885
|
+
peg$fail(peg$e83);
|
|
18714
18886
|
}
|
|
18715
18887
|
}
|
|
18716
18888
|
if (s0 === peg$FAILED) {
|
|
18717
|
-
if (input.substr(peg$currPos, 13) === peg$
|
|
18718
|
-
s0 = peg$
|
|
18889
|
+
if (input.substr(peg$currPos, 13) === peg$c80) {
|
|
18890
|
+
s0 = peg$c80;
|
|
18719
18891
|
peg$currPos += 13;
|
|
18720
18892
|
} else {
|
|
18721
18893
|
s0 = peg$FAILED;
|
|
18722
18894
|
if (peg$silentFails === 0) {
|
|
18723
|
-
peg$fail(peg$
|
|
18895
|
+
peg$fail(peg$e84);
|
|
18724
18896
|
}
|
|
18725
18897
|
}
|
|
18726
18898
|
if (s0 === peg$FAILED) {
|
|
18727
|
-
if (input.substr(peg$currPos, 16) === peg$
|
|
18728
|
-
s0 = peg$
|
|
18899
|
+
if (input.substr(peg$currPos, 16) === peg$c81) {
|
|
18900
|
+
s0 = peg$c81;
|
|
18729
18901
|
peg$currPos += 16;
|
|
18730
18902
|
} else {
|
|
18731
18903
|
s0 = peg$FAILED;
|
|
18732
18904
|
if (peg$silentFails === 0) {
|
|
18733
|
-
peg$fail(peg$
|
|
18905
|
+
peg$fail(peg$e85);
|
|
18734
18906
|
}
|
|
18735
18907
|
}
|
|
18736
18908
|
if (s0 === peg$FAILED) {
|
|
18737
|
-
if (input.substr(peg$currPos, 16) === peg$
|
|
18738
|
-
s0 = peg$
|
|
18909
|
+
if (input.substr(peg$currPos, 16) === peg$c82) {
|
|
18910
|
+
s0 = peg$c82;
|
|
18739
18911
|
peg$currPos += 16;
|
|
18740
18912
|
} else {
|
|
18741
18913
|
s0 = peg$FAILED;
|
|
18742
18914
|
if (peg$silentFails === 0) {
|
|
18743
|
-
peg$fail(peg$
|
|
18915
|
+
peg$fail(peg$e86);
|
|
18744
18916
|
}
|
|
18745
18917
|
}
|
|
18746
18918
|
if (s0 === peg$FAILED) {
|
|
18747
|
-
if (input.substr(peg$currPos, 15) === peg$
|
|
18748
|
-
s0 = peg$
|
|
18919
|
+
if (input.substr(peg$currPos, 15) === peg$c83) {
|
|
18920
|
+
s0 = peg$c83;
|
|
18749
18921
|
peg$currPos += 15;
|
|
18750
18922
|
} else {
|
|
18751
18923
|
s0 = peg$FAILED;
|
|
18752
18924
|
if (peg$silentFails === 0) {
|
|
18753
|
-
peg$fail(peg$
|
|
18925
|
+
peg$fail(peg$e87);
|
|
18754
18926
|
}
|
|
18755
18927
|
}
|
|
18756
18928
|
if (s0 === peg$FAILED) {
|
|
18757
|
-
if (input.substr(peg$currPos, 14) === peg$
|
|
18758
|
-
s0 = peg$
|
|
18929
|
+
if (input.substr(peg$currPos, 14) === peg$c84) {
|
|
18930
|
+
s0 = peg$c84;
|
|
18759
18931
|
peg$currPos += 14;
|
|
18760
18932
|
} else {
|
|
18761
18933
|
s0 = peg$FAILED;
|
|
18762
18934
|
if (peg$silentFails === 0) {
|
|
18763
|
-
peg$fail(peg$
|
|
18935
|
+
peg$fail(peg$e88);
|
|
18764
18936
|
}
|
|
18765
18937
|
}
|
|
18766
18938
|
if (s0 === peg$FAILED) {
|
|
18767
|
-
if (input.substr(peg$currPos, 16) === peg$
|
|
18768
|
-
s0 = peg$
|
|
18939
|
+
if (input.substr(peg$currPos, 16) === peg$c85) {
|
|
18940
|
+
s0 = peg$c85;
|
|
18769
18941
|
peg$currPos += 16;
|
|
18770
18942
|
} else {
|
|
18771
18943
|
s0 = peg$FAILED;
|
|
18772
18944
|
if (peg$silentFails === 0) {
|
|
18773
|
-
peg$fail(peg$
|
|
18945
|
+
peg$fail(peg$e89);
|
|
18774
18946
|
}
|
|
18775
18947
|
}
|
|
18776
18948
|
if (s0 === peg$FAILED) {
|
|
18777
|
-
if (input.substr(peg$currPos, 14) === peg$
|
|
18778
|
-
s0 = peg$
|
|
18949
|
+
if (input.substr(peg$currPos, 14) === peg$c86) {
|
|
18950
|
+
s0 = peg$c86;
|
|
18779
18951
|
peg$currPos += 14;
|
|
18780
18952
|
} else {
|
|
18781
18953
|
s0 = peg$FAILED;
|
|
18782
18954
|
if (peg$silentFails === 0) {
|
|
18783
|
-
peg$fail(peg$
|
|
18955
|
+
peg$fail(peg$e90);
|
|
18784
18956
|
}
|
|
18785
18957
|
}
|
|
18786
18958
|
if (s0 === peg$FAILED) {
|
|
18787
|
-
if (input.substr(peg$currPos, 15) === peg$
|
|
18788
|
-
s0 = peg$
|
|
18959
|
+
if (input.substr(peg$currPos, 15) === peg$c87) {
|
|
18960
|
+
s0 = peg$c87;
|
|
18789
18961
|
peg$currPos += 15;
|
|
18790
18962
|
} else {
|
|
18791
18963
|
s0 = peg$FAILED;
|
|
18792
18964
|
if (peg$silentFails === 0) {
|
|
18793
|
-
peg$fail(peg$
|
|
18965
|
+
peg$fail(peg$e91);
|
|
18794
18966
|
}
|
|
18795
18967
|
}
|
|
18796
18968
|
if (s0 === peg$FAILED) {
|
|
18797
|
-
if (input.substr(peg$currPos, 15) === peg$
|
|
18798
|
-
s0 = peg$
|
|
18969
|
+
if (input.substr(peg$currPos, 15) === peg$c88) {
|
|
18970
|
+
s0 = peg$c88;
|
|
18799
18971
|
peg$currPos += 15;
|
|
18800
18972
|
} else {
|
|
18801
18973
|
s0 = peg$FAILED;
|
|
18802
18974
|
if (peg$silentFails === 0) {
|
|
18803
|
-
peg$fail(peg$
|
|
18975
|
+
peg$fail(peg$e92);
|
|
18804
18976
|
}
|
|
18805
18977
|
}
|
|
18806
18978
|
if (s0 === peg$FAILED) {
|
|
18807
|
-
if (input.substr(peg$currPos, 15) === peg$
|
|
18808
|
-
s0 = peg$
|
|
18979
|
+
if (input.substr(peg$currPos, 15) === peg$c89) {
|
|
18980
|
+
s0 = peg$c89;
|
|
18809
18981
|
peg$currPos += 15;
|
|
18810
18982
|
} else {
|
|
18811
18983
|
s0 = peg$FAILED;
|
|
18812
18984
|
if (peg$silentFails === 0) {
|
|
18813
|
-
peg$fail(peg$
|
|
18985
|
+
peg$fail(peg$e93);
|
|
18814
18986
|
}
|
|
18815
18987
|
}
|
|
18816
18988
|
if (s0 === peg$FAILED) {
|
|
18817
|
-
if (input.substr(peg$currPos, 14) === peg$
|
|
18818
|
-
s0 = peg$
|
|
18989
|
+
if (input.substr(peg$currPos, 14) === peg$c90) {
|
|
18990
|
+
s0 = peg$c90;
|
|
18819
18991
|
peg$currPos += 14;
|
|
18820
18992
|
} else {
|
|
18821
18993
|
s0 = peg$FAILED;
|
|
18822
18994
|
if (peg$silentFails === 0) {
|
|
18823
|
-
peg$fail(peg$
|
|
18995
|
+
peg$fail(peg$e94);
|
|
18824
18996
|
}
|
|
18825
18997
|
}
|
|
18826
18998
|
if (s0 === peg$FAILED) {
|
|
18827
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
18828
|
-
s0 = peg$
|
|
18999
|
+
if (input.substr(peg$currPos, 10) === peg$c91) {
|
|
19000
|
+
s0 = peg$c91;
|
|
18829
19001
|
peg$currPos += 10;
|
|
18830
19002
|
} else {
|
|
18831
19003
|
s0 = peg$FAILED;
|
|
18832
19004
|
if (peg$silentFails === 0) {
|
|
18833
|
-
peg$fail(peg$
|
|
19005
|
+
peg$fail(peg$e95);
|
|
18834
19006
|
}
|
|
18835
19007
|
}
|
|
18836
19008
|
if (s0 === peg$FAILED) {
|
|
18837
|
-
if (input.substr(peg$currPos, 13) === peg$
|
|
18838
|
-
s0 = peg$
|
|
19009
|
+
if (input.substr(peg$currPos, 13) === peg$c92) {
|
|
19010
|
+
s0 = peg$c92;
|
|
18839
19011
|
peg$currPos += 13;
|
|
18840
19012
|
} else {
|
|
18841
19013
|
s0 = peg$FAILED;
|
|
18842
19014
|
if (peg$silentFails === 0) {
|
|
18843
|
-
peg$fail(peg$
|
|
19015
|
+
peg$fail(peg$e96);
|
|
18844
19016
|
}
|
|
18845
19017
|
}
|
|
18846
19018
|
if (s0 === peg$FAILED) {
|
|
18847
|
-
if (input.substr(peg$currPos, 19) === peg$
|
|
18848
|
-
s0 = peg$
|
|
19019
|
+
if (input.substr(peg$currPos, 19) === peg$c93) {
|
|
19020
|
+
s0 = peg$c93;
|
|
18849
19021
|
peg$currPos += 19;
|
|
18850
19022
|
} else {
|
|
18851
19023
|
s0 = peg$FAILED;
|
|
18852
19024
|
if (peg$silentFails === 0) {
|
|
18853
|
-
peg$fail(peg$
|
|
19025
|
+
peg$fail(peg$e97);
|
|
18854
19026
|
}
|
|
18855
19027
|
}
|
|
18856
19028
|
if (s0 === peg$FAILED) {
|
|
18857
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
18858
|
-
s0 = peg$
|
|
19029
|
+
if (input.substr(peg$currPos, 10) === peg$c94) {
|
|
19030
|
+
s0 = peg$c94;
|
|
18859
19031
|
peg$currPos += 10;
|
|
18860
19032
|
} else {
|
|
18861
19033
|
s0 = peg$FAILED;
|
|
18862
19034
|
if (peg$silentFails === 0) {
|
|
18863
|
-
peg$fail(peg$
|
|
19035
|
+
peg$fail(peg$e98);
|
|
18864
19036
|
}
|
|
18865
19037
|
}
|
|
18866
19038
|
if (s0 === peg$FAILED) {
|
|
18867
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
18868
|
-
s0 = peg$
|
|
19039
|
+
if (input.substr(peg$currPos, 10) === peg$c95) {
|
|
19040
|
+
s0 = peg$c95;
|
|
18869
19041
|
peg$currPos += 10;
|
|
18870
19042
|
} else {
|
|
18871
19043
|
s0 = peg$FAILED;
|
|
18872
19044
|
if (peg$silentFails === 0) {
|
|
18873
|
-
peg$fail(peg$
|
|
19045
|
+
peg$fail(peg$e99);
|
|
18874
19046
|
}
|
|
18875
19047
|
}
|
|
18876
19048
|
if (s0 === peg$FAILED) {
|
|
18877
|
-
if (input.substr(peg$currPos, 13) === peg$
|
|
18878
|
-
s0 = peg$
|
|
19049
|
+
if (input.substr(peg$currPos, 13) === peg$c96) {
|
|
19050
|
+
s0 = peg$c96;
|
|
18879
19051
|
peg$currPos += 13;
|
|
18880
19052
|
} else {
|
|
18881
19053
|
s0 = peg$FAILED;
|
|
18882
19054
|
if (peg$silentFails === 0) {
|
|
18883
|
-
peg$fail(peg$
|
|
19055
|
+
peg$fail(peg$e100);
|
|
18884
19056
|
}
|
|
18885
19057
|
}
|
|
18886
19058
|
if (s0 === peg$FAILED) {
|
|
18887
|
-
if (input.substr(peg$currPos, 11) === peg$
|
|
18888
|
-
s0 = peg$
|
|
19059
|
+
if (input.substr(peg$currPos, 11) === peg$c97) {
|
|
19060
|
+
s0 = peg$c97;
|
|
18889
19061
|
peg$currPos += 11;
|
|
18890
19062
|
} else {
|
|
18891
19063
|
s0 = peg$FAILED;
|
|
18892
19064
|
if (peg$silentFails === 0) {
|
|
18893
|
-
peg$fail(peg$
|
|
19065
|
+
peg$fail(peg$e101);
|
|
18894
19066
|
}
|
|
18895
19067
|
}
|
|
18896
19068
|
}
|
|
@@ -18926,233 +19098,233 @@ function peg$parse(input, options) {
|
|
|
18926
19098
|
}
|
|
18927
19099
|
function peg$parseColor() {
|
|
18928
19100
|
let s0;
|
|
18929
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
18930
|
-
s0 = peg$
|
|
19101
|
+
if (input.substr(peg$currPos, 4) === peg$c98) {
|
|
19102
|
+
s0 = peg$c98;
|
|
18931
19103
|
peg$currPos += 4;
|
|
18932
19104
|
} else {
|
|
18933
19105
|
s0 = peg$FAILED;
|
|
18934
19106
|
if (peg$silentFails === 0) {
|
|
18935
|
-
peg$fail(peg$
|
|
19107
|
+
peg$fail(peg$e102);
|
|
18936
19108
|
}
|
|
18937
19109
|
}
|
|
18938
19110
|
if (s0 === peg$FAILED) {
|
|
18939
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
18940
|
-
s0 = peg$
|
|
19111
|
+
if (input.substr(peg$currPos, 5) === peg$c99) {
|
|
19112
|
+
s0 = peg$c99;
|
|
18941
19113
|
peg$currPos += 5;
|
|
18942
19114
|
} else {
|
|
18943
19115
|
s0 = peg$FAILED;
|
|
18944
19116
|
if (peg$silentFails === 0) {
|
|
18945
|
-
peg$fail(peg$
|
|
19117
|
+
peg$fail(peg$e103);
|
|
18946
19118
|
}
|
|
18947
19119
|
}
|
|
18948
19120
|
if (s0 === peg$FAILED) {
|
|
18949
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
18950
|
-
s0 = peg$
|
|
19121
|
+
if (input.substr(peg$currPos, 4) === peg$c100) {
|
|
19122
|
+
s0 = peg$c100;
|
|
18951
19123
|
peg$currPos += 4;
|
|
18952
19124
|
} else {
|
|
18953
19125
|
s0 = peg$FAILED;
|
|
18954
19126
|
if (peg$silentFails === 0) {
|
|
18955
|
-
peg$fail(peg$
|
|
19127
|
+
peg$fail(peg$e104);
|
|
18956
19128
|
}
|
|
18957
19129
|
}
|
|
18958
19130
|
if (s0 === peg$FAILED) {
|
|
18959
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
18960
|
-
s0 = peg$
|
|
19131
|
+
if (input.substr(peg$currPos, 5) === peg$c101) {
|
|
19132
|
+
s0 = peg$c101;
|
|
18961
19133
|
peg$currPos += 5;
|
|
18962
19134
|
} else {
|
|
18963
19135
|
s0 = peg$FAILED;
|
|
18964
19136
|
if (peg$silentFails === 0) {
|
|
18965
|
-
peg$fail(peg$
|
|
19137
|
+
peg$fail(peg$e105);
|
|
18966
19138
|
}
|
|
18967
19139
|
}
|
|
18968
19140
|
if (s0 === peg$FAILED) {
|
|
18969
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
18970
|
-
s0 = peg$
|
|
19141
|
+
if (input.substr(peg$currPos, 7) === peg$c102) {
|
|
19142
|
+
s0 = peg$c102;
|
|
18971
19143
|
peg$currPos += 7;
|
|
18972
19144
|
} else {
|
|
18973
19145
|
s0 = peg$FAILED;
|
|
18974
19146
|
if (peg$silentFails === 0) {
|
|
18975
|
-
peg$fail(peg$
|
|
19147
|
+
peg$fail(peg$e106);
|
|
18976
19148
|
}
|
|
18977
19149
|
}
|
|
18978
19150
|
if (s0 === peg$FAILED) {
|
|
18979
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
18980
|
-
s0 = peg$
|
|
19151
|
+
if (input.substr(peg$currPos, 9) === peg$c103) {
|
|
19152
|
+
s0 = peg$c103;
|
|
18981
19153
|
peg$currPos += 9;
|
|
18982
19154
|
} else {
|
|
18983
19155
|
s0 = peg$FAILED;
|
|
18984
19156
|
if (peg$silentFails === 0) {
|
|
18985
|
-
peg$fail(peg$
|
|
19157
|
+
peg$fail(peg$e107);
|
|
18986
19158
|
}
|
|
18987
19159
|
}
|
|
18988
19160
|
if (s0 === peg$FAILED) {
|
|
18989
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
18990
|
-
s0 = peg$
|
|
19161
|
+
if (input.substr(peg$currPos, 4) === peg$c104) {
|
|
19162
|
+
s0 = peg$c104;
|
|
18991
19163
|
peg$currPos += 4;
|
|
18992
19164
|
} else {
|
|
18993
19165
|
s0 = peg$FAILED;
|
|
18994
19166
|
if (peg$silentFails === 0) {
|
|
18995
|
-
peg$fail(peg$
|
|
19167
|
+
peg$fail(peg$e108);
|
|
18996
19168
|
}
|
|
18997
19169
|
}
|
|
18998
19170
|
if (s0 === peg$FAILED) {
|
|
18999
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
19000
|
-
s0 = peg$
|
|
19171
|
+
if (input.substr(peg$currPos, 8) === peg$c105) {
|
|
19172
|
+
s0 = peg$c105;
|
|
19001
19173
|
peg$currPos += 8;
|
|
19002
19174
|
} else {
|
|
19003
19175
|
s0 = peg$FAILED;
|
|
19004
19176
|
if (peg$silentFails === 0) {
|
|
19005
|
-
peg$fail(peg$
|
|
19177
|
+
peg$fail(peg$e109);
|
|
19006
19178
|
}
|
|
19007
19179
|
}
|
|
19008
19180
|
if (s0 === peg$FAILED) {
|
|
19009
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
19010
|
-
s0 = peg$
|
|
19181
|
+
if (input.substr(peg$currPos, 5) === peg$c106) {
|
|
19182
|
+
s0 = peg$c106;
|
|
19011
19183
|
peg$currPos += 5;
|
|
19012
19184
|
} else {
|
|
19013
19185
|
s0 = peg$FAILED;
|
|
19014
19186
|
if (peg$silentFails === 0) {
|
|
19015
|
-
peg$fail(peg$
|
|
19187
|
+
peg$fail(peg$e110);
|
|
19016
19188
|
}
|
|
19017
19189
|
}
|
|
19018
19190
|
if (s0 === peg$FAILED) {
|
|
19019
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
19020
|
-
s0 = peg$
|
|
19191
|
+
if (input.substr(peg$currPos, 4) === peg$c107) {
|
|
19192
|
+
s0 = peg$c107;
|
|
19021
19193
|
peg$currPos += 4;
|
|
19022
19194
|
} else {
|
|
19023
19195
|
s0 = peg$FAILED;
|
|
19024
19196
|
if (peg$silentFails === 0) {
|
|
19025
|
-
peg$fail(peg$
|
|
19197
|
+
peg$fail(peg$e111);
|
|
19026
19198
|
}
|
|
19027
19199
|
}
|
|
19028
19200
|
if (s0 === peg$FAILED) {
|
|
19029
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
19030
|
-
s0 = peg$
|
|
19201
|
+
if (input.substr(peg$currPos, 7) === peg$c108) {
|
|
19202
|
+
s0 = peg$c108;
|
|
19031
19203
|
peg$currPos += 7;
|
|
19032
19204
|
} else {
|
|
19033
19205
|
s0 = peg$FAILED;
|
|
19034
19206
|
if (peg$silentFails === 0) {
|
|
19035
|
-
peg$fail(peg$
|
|
19207
|
+
peg$fail(peg$e112);
|
|
19036
19208
|
}
|
|
19037
19209
|
}
|
|
19038
19210
|
if (s0 === peg$FAILED) {
|
|
19039
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
19040
|
-
s0 = peg$
|
|
19211
|
+
if (input.substr(peg$currPos, 6) === peg$c109) {
|
|
19212
|
+
s0 = peg$c109;
|
|
19041
19213
|
peg$currPos += 6;
|
|
19042
19214
|
} else {
|
|
19043
19215
|
s0 = peg$FAILED;
|
|
19044
19216
|
if (peg$silentFails === 0) {
|
|
19045
|
-
peg$fail(peg$
|
|
19217
|
+
peg$fail(peg$e113);
|
|
19046
19218
|
}
|
|
19047
19219
|
}
|
|
19048
19220
|
if (s0 === peg$FAILED) {
|
|
19049
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
19050
|
-
s0 = peg$
|
|
19221
|
+
if (input.substr(peg$currPos, 4) === peg$c110) {
|
|
19222
|
+
s0 = peg$c110;
|
|
19051
19223
|
peg$currPos += 4;
|
|
19052
19224
|
} else {
|
|
19053
19225
|
s0 = peg$FAILED;
|
|
19054
19226
|
if (peg$silentFails === 0) {
|
|
19055
|
-
peg$fail(peg$
|
|
19227
|
+
peg$fail(peg$e114);
|
|
19056
19228
|
}
|
|
19057
19229
|
}
|
|
19058
19230
|
if (s0 === peg$FAILED) {
|
|
19059
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
19060
|
-
s0 = peg$
|
|
19231
|
+
if (input.substr(peg$currPos, 5) === peg$c111) {
|
|
19232
|
+
s0 = peg$c111;
|
|
19061
19233
|
peg$currPos += 5;
|
|
19062
19234
|
} else {
|
|
19063
19235
|
s0 = peg$FAILED;
|
|
19064
19236
|
if (peg$silentFails === 0) {
|
|
19065
|
-
peg$fail(peg$
|
|
19237
|
+
peg$fail(peg$e115);
|
|
19066
19238
|
}
|
|
19067
19239
|
}
|
|
19068
19240
|
if (s0 === peg$FAILED) {
|
|
19069
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
19070
|
-
s0 = peg$
|
|
19241
|
+
if (input.substr(peg$currPos, 6) === peg$c112) {
|
|
19242
|
+
s0 = peg$c112;
|
|
19071
19243
|
peg$currPos += 6;
|
|
19072
19244
|
} else {
|
|
19073
19245
|
s0 = peg$FAILED;
|
|
19074
19246
|
if (peg$silentFails === 0) {
|
|
19075
|
-
peg$fail(peg$
|
|
19247
|
+
peg$fail(peg$e116);
|
|
19076
19248
|
}
|
|
19077
19249
|
}
|
|
19078
19250
|
if (s0 === peg$FAILED) {
|
|
19079
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
19080
|
-
s0 = peg$
|
|
19251
|
+
if (input.substr(peg$currPos, 4) === peg$c113) {
|
|
19252
|
+
s0 = peg$c113;
|
|
19081
19253
|
peg$currPos += 4;
|
|
19082
19254
|
} else {
|
|
19083
19255
|
s0 = peg$FAILED;
|
|
19084
19256
|
if (peg$silentFails === 0) {
|
|
19085
|
-
peg$fail(peg$
|
|
19257
|
+
peg$fail(peg$e117);
|
|
19086
19258
|
}
|
|
19087
19259
|
}
|
|
19088
19260
|
if (s0 === peg$FAILED) {
|
|
19089
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
19090
|
-
s0 = peg$
|
|
19261
|
+
if (input.substr(peg$currPos, 6) === peg$c114) {
|
|
19262
|
+
s0 = peg$c114;
|
|
19091
19263
|
peg$currPos += 6;
|
|
19092
19264
|
} else {
|
|
19093
19265
|
s0 = peg$FAILED;
|
|
19094
19266
|
if (peg$silentFails === 0) {
|
|
19095
|
-
peg$fail(peg$
|
|
19267
|
+
peg$fail(peg$e118);
|
|
19096
19268
|
}
|
|
19097
19269
|
}
|
|
19098
19270
|
if (s0 === peg$FAILED) {
|
|
19099
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
19100
|
-
s0 = peg$
|
|
19271
|
+
if (input.substr(peg$currPos, 3) === peg$c115) {
|
|
19272
|
+
s0 = peg$c115;
|
|
19101
19273
|
peg$currPos += 3;
|
|
19102
19274
|
} else {
|
|
19103
19275
|
s0 = peg$FAILED;
|
|
19104
19276
|
if (peg$silentFails === 0) {
|
|
19105
|
-
peg$fail(peg$
|
|
19277
|
+
peg$fail(peg$e119);
|
|
19106
19278
|
}
|
|
19107
19279
|
}
|
|
19108
19280
|
if (s0 === peg$FAILED) {
|
|
19109
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
19110
|
-
s0 = peg$
|
|
19281
|
+
if (input.substr(peg$currPos, 6) === peg$c116) {
|
|
19282
|
+
s0 = peg$c116;
|
|
19111
19283
|
peg$currPos += 6;
|
|
19112
19284
|
} else {
|
|
19113
19285
|
s0 = peg$FAILED;
|
|
19114
19286
|
if (peg$silentFails === 0) {
|
|
19115
|
-
peg$fail(peg$
|
|
19287
|
+
peg$fail(peg$e120);
|
|
19116
19288
|
}
|
|
19117
19289
|
}
|
|
19118
19290
|
if (s0 === peg$FAILED) {
|
|
19119
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
19120
|
-
s0 = peg$
|
|
19291
|
+
if (input.substr(peg$currPos, 4) === peg$c117) {
|
|
19292
|
+
s0 = peg$c117;
|
|
19121
19293
|
peg$currPos += 4;
|
|
19122
19294
|
} else {
|
|
19123
19295
|
s0 = peg$FAILED;
|
|
19124
19296
|
if (peg$silentFails === 0) {
|
|
19125
|
-
peg$fail(peg$
|
|
19297
|
+
peg$fail(peg$e121);
|
|
19126
19298
|
}
|
|
19127
19299
|
}
|
|
19128
19300
|
if (s0 === peg$FAILED) {
|
|
19129
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
19130
|
-
s0 = peg$
|
|
19301
|
+
if (input.substr(peg$currPos, 6) === peg$c118) {
|
|
19302
|
+
s0 = peg$c118;
|
|
19131
19303
|
peg$currPos += 6;
|
|
19132
19304
|
} else {
|
|
19133
19305
|
s0 = peg$FAILED;
|
|
19134
19306
|
if (peg$silentFails === 0) {
|
|
19135
|
-
peg$fail(peg$
|
|
19307
|
+
peg$fail(peg$e122);
|
|
19136
19308
|
}
|
|
19137
19309
|
}
|
|
19138
19310
|
if (s0 === peg$FAILED) {
|
|
19139
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
19140
|
-
s0 = peg$
|
|
19311
|
+
if (input.substr(peg$currPos, 5) === peg$c119) {
|
|
19312
|
+
s0 = peg$c119;
|
|
19141
19313
|
peg$currPos += 5;
|
|
19142
19314
|
} else {
|
|
19143
19315
|
s0 = peg$FAILED;
|
|
19144
19316
|
if (peg$silentFails === 0) {
|
|
19145
|
-
peg$fail(peg$
|
|
19317
|
+
peg$fail(peg$e123);
|
|
19146
19318
|
}
|
|
19147
19319
|
}
|
|
19148
19320
|
if (s0 === peg$FAILED) {
|
|
19149
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
19150
|
-
s0 = peg$
|
|
19321
|
+
if (input.substr(peg$currPos, 6) === peg$c120) {
|
|
19322
|
+
s0 = peg$c120;
|
|
19151
19323
|
peg$currPos += 6;
|
|
19152
19324
|
} else {
|
|
19153
19325
|
s0 = peg$FAILED;
|
|
19154
19326
|
if (peg$silentFails === 0) {
|
|
19155
|
-
peg$fail(peg$
|
|
19327
|
+
peg$fail(peg$e124);
|
|
19156
19328
|
}
|
|
19157
19329
|
}
|
|
19158
19330
|
}
|
|
@@ -19185,7 +19357,7 @@ function peg$parse(input, options) {
|
|
|
19185
19357
|
s0 = peg$currPos;
|
|
19186
19358
|
s1 = peg$parsebitmarkMinusMinusString();
|
|
19187
19359
|
peg$savedPos = s0;
|
|
19188
|
-
s1 = peg$
|
|
19360
|
+
s1 = peg$f90(s1);
|
|
19189
19361
|
s0 = s1;
|
|
19190
19362
|
peg$silentFails--;
|
|
19191
19363
|
return s0;
|
|
@@ -19211,7 +19383,7 @@ function peg$parse(input, options) {
|
|
|
19211
19383
|
}
|
|
19212
19384
|
}
|
|
19213
19385
|
peg$savedPos = s0;
|
|
19214
|
-
s0 = peg$
|
|
19386
|
+
s0 = peg$f91(s1, s2);
|
|
19215
19387
|
peg$silentFails--;
|
|
19216
19388
|
return s0;
|
|
19217
19389
|
}
|
|
@@ -19221,7 +19393,7 @@ function peg$parse(input, options) {
|
|
|
19221
19393
|
s1 = peg$parseNL();
|
|
19222
19394
|
if (s1 !== peg$FAILED) {
|
|
19223
19395
|
peg$savedPos = s0;
|
|
19224
|
-
s1 = peg$
|
|
19396
|
+
s1 = peg$f92();
|
|
19225
19397
|
}
|
|
19226
19398
|
s0 = s1;
|
|
19227
19399
|
if (s0 === peg$FAILED) {
|
|
@@ -19350,7 +19522,7 @@ function peg$parse(input, options) {
|
|
|
19350
19522
|
}
|
|
19351
19523
|
if (s1 !== peg$FAILED) {
|
|
19352
19524
|
peg$savedPos = s0;
|
|
19353
|
-
s1 = peg$
|
|
19525
|
+
s1 = peg$f93(s1);
|
|
19354
19526
|
}
|
|
19355
19527
|
s0 = s1;
|
|
19356
19528
|
}
|
|
@@ -19359,12 +19531,12 @@ function peg$parse(input, options) {
|
|
|
19359
19531
|
function peg$parseBoldHalfTag() {
|
|
19360
19532
|
let s0;
|
|
19361
19533
|
if (input.charCodeAt(peg$currPos) === 42) {
|
|
19362
|
-
s0 = peg$
|
|
19534
|
+
s0 = peg$c121;
|
|
19363
19535
|
peg$currPos++;
|
|
19364
19536
|
} else {
|
|
19365
19537
|
s0 = peg$FAILED;
|
|
19366
19538
|
if (peg$silentFails === 0) {
|
|
19367
|
-
peg$fail(peg$
|
|
19539
|
+
peg$fail(peg$e125);
|
|
19368
19540
|
}
|
|
19369
19541
|
}
|
|
19370
19542
|
return s0;
|
|
@@ -19372,12 +19544,12 @@ function peg$parse(input, options) {
|
|
|
19372
19544
|
function peg$parseItalicHalfTag() {
|
|
19373
19545
|
let s0;
|
|
19374
19546
|
if (input.charCodeAt(peg$currPos) === 95) {
|
|
19375
|
-
s0 = peg$
|
|
19547
|
+
s0 = peg$c122;
|
|
19376
19548
|
peg$currPos++;
|
|
19377
19549
|
} else {
|
|
19378
19550
|
s0 = peg$FAILED;
|
|
19379
19551
|
if (peg$silentFails === 0) {
|
|
19380
|
-
peg$fail(peg$
|
|
19552
|
+
peg$fail(peg$e126);
|
|
19381
19553
|
}
|
|
19382
19554
|
}
|
|
19383
19555
|
return s0;
|
|
@@ -19385,12 +19557,12 @@ function peg$parse(input, options) {
|
|
|
19385
19557
|
function peg$parseLightHalfTag() {
|
|
19386
19558
|
let s0;
|
|
19387
19559
|
if (input.charCodeAt(peg$currPos) === 96) {
|
|
19388
|
-
s0 = peg$
|
|
19560
|
+
s0 = peg$c123;
|
|
19389
19561
|
peg$currPos++;
|
|
19390
19562
|
} else {
|
|
19391
19563
|
s0 = peg$FAILED;
|
|
19392
19564
|
if (peg$silentFails === 0) {
|
|
19393
|
-
peg$fail(peg$
|
|
19565
|
+
peg$fail(peg$e127);
|
|
19394
19566
|
}
|
|
19395
19567
|
}
|
|
19396
19568
|
return s0;
|
|
@@ -19398,12 +19570,12 @@ function peg$parse(input, options) {
|
|
|
19398
19570
|
function peg$parseHighlightHalfTag() {
|
|
19399
19571
|
let s0;
|
|
19400
19572
|
if (input.charCodeAt(peg$currPos) === 33) {
|
|
19401
|
-
s0 = peg$
|
|
19573
|
+
s0 = peg$c124;
|
|
19402
19574
|
peg$currPos++;
|
|
19403
19575
|
} else {
|
|
19404
19576
|
s0 = peg$FAILED;
|
|
19405
19577
|
if (peg$silentFails === 0) {
|
|
19406
|
-
peg$fail(peg$
|
|
19578
|
+
peg$fail(peg$e128);
|
|
19407
19579
|
}
|
|
19408
19580
|
}
|
|
19409
19581
|
return s0;
|
|
@@ -19486,13 +19658,13 @@ function peg$parse(input, options) {
|
|
|
19486
19658
|
}
|
|
19487
19659
|
function peg$parseBodyBitOpenTag() {
|
|
19488
19660
|
let s0;
|
|
19489
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
19490
|
-
s0 = peg$
|
|
19661
|
+
if (input.substr(peg$currPos, 2) === peg$c125) {
|
|
19662
|
+
s0 = peg$c125;
|
|
19491
19663
|
peg$currPos += 2;
|
|
19492
19664
|
} else {
|
|
19493
19665
|
s0 = peg$FAILED;
|
|
19494
19666
|
if (peg$silentFails === 0) {
|
|
19495
|
-
peg$fail(peg$
|
|
19667
|
+
peg$fail(peg$e129);
|
|
19496
19668
|
}
|
|
19497
19669
|
}
|
|
19498
19670
|
return s0;
|
|
@@ -19500,12 +19672,12 @@ function peg$parse(input, options) {
|
|
|
19500
19672
|
function peg$parseBodyBitCloseTag() {
|
|
19501
19673
|
let s0;
|
|
19502
19674
|
if (input.charCodeAt(peg$currPos) === 93) {
|
|
19503
|
-
s0 = peg$
|
|
19675
|
+
s0 = peg$c126;
|
|
19504
19676
|
peg$currPos++;
|
|
19505
19677
|
} else {
|
|
19506
19678
|
s0 = peg$FAILED;
|
|
19507
19679
|
if (peg$silentFails === 0) {
|
|
19508
|
-
peg$fail(peg$
|
|
19680
|
+
peg$fail(peg$e130);
|
|
19509
19681
|
}
|
|
19510
19682
|
}
|
|
19511
19683
|
return s0;
|
|
@@ -19551,7 +19723,7 @@ function peg$parse(input, options) {
|
|
|
19551
19723
|
s3 = peg$parseBodyBitCloseTag();
|
|
19552
19724
|
if (s3 !== peg$FAILED) {
|
|
19553
19725
|
peg$savedPos = s0;
|
|
19554
|
-
s0 = peg$
|
|
19726
|
+
s0 = peg$f94(s2);
|
|
19555
19727
|
} else {
|
|
19556
19728
|
peg$currPos = s0;
|
|
19557
19729
|
s0 = peg$FAILED;
|
|
@@ -19641,7 +19813,7 @@ function peg$parse(input, options) {
|
|
|
19641
19813
|
s3 = peg$parseBoldTag();
|
|
19642
19814
|
if (s3 !== peg$FAILED) {
|
|
19643
19815
|
peg$savedPos = s0;
|
|
19644
|
-
s0 = peg$
|
|
19816
|
+
s0 = peg$f95(s2);
|
|
19645
19817
|
} else {
|
|
19646
19818
|
peg$currPos = s0;
|
|
19647
19819
|
s0 = peg$FAILED;
|
|
@@ -19727,7 +19899,7 @@ function peg$parse(input, options) {
|
|
|
19727
19899
|
s3 = peg$parseItalicTag();
|
|
19728
19900
|
if (s3 !== peg$FAILED) {
|
|
19729
19901
|
peg$savedPos = s0;
|
|
19730
|
-
s0 = peg$
|
|
19902
|
+
s0 = peg$f96(s2);
|
|
19731
19903
|
} else {
|
|
19732
19904
|
peg$currPos = s0;
|
|
19733
19905
|
s0 = peg$FAILED;
|
|
@@ -19813,7 +19985,7 @@ function peg$parse(input, options) {
|
|
|
19813
19985
|
s3 = peg$parseLightTag();
|
|
19814
19986
|
if (s3 !== peg$FAILED) {
|
|
19815
19987
|
peg$savedPos = s0;
|
|
19816
|
-
s0 = peg$
|
|
19988
|
+
s0 = peg$f97(s2);
|
|
19817
19989
|
} else {
|
|
19818
19990
|
peg$currPos = s0;
|
|
19819
19991
|
s0 = peg$FAILED;
|
|
@@ -19899,7 +20071,7 @@ function peg$parse(input, options) {
|
|
|
19899
20071
|
s3 = peg$parseHighlightTag();
|
|
19900
20072
|
if (s3 !== peg$FAILED) {
|
|
19901
20073
|
peg$savedPos = s0;
|
|
19902
|
-
s0 = peg$
|
|
20074
|
+
s0 = peg$f98(s2);
|
|
19903
20075
|
} else {
|
|
19904
20076
|
peg$currPos = s0;
|
|
19905
20077
|
s0 = peg$FAILED;
|
|
@@ -19984,22 +20156,22 @@ function peg$parse(input, options) {
|
|
|
19984
20156
|
let s0, s1;
|
|
19985
20157
|
peg$silentFails++;
|
|
19986
20158
|
if (input.charCodeAt(peg$currPos) === 10) {
|
|
19987
|
-
s0 = peg$
|
|
20159
|
+
s0 = peg$c127;
|
|
19988
20160
|
peg$currPos++;
|
|
19989
20161
|
} else {
|
|
19990
20162
|
s0 = peg$FAILED;
|
|
19991
20163
|
if (peg$silentFails === 0) {
|
|
19992
|
-
peg$fail(peg$
|
|
20164
|
+
peg$fail(peg$e132);
|
|
19993
20165
|
}
|
|
19994
20166
|
}
|
|
19995
20167
|
if (s0 === peg$FAILED) {
|
|
19996
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
19997
|
-
s0 = peg$
|
|
20168
|
+
if (input.substr(peg$currPos, 2) === peg$c128) {
|
|
20169
|
+
s0 = peg$c128;
|
|
19998
20170
|
peg$currPos += 2;
|
|
19999
20171
|
} else {
|
|
20000
20172
|
s0 = peg$FAILED;
|
|
20001
20173
|
if (peg$silentFails === 0) {
|
|
20002
|
-
peg$fail(peg$
|
|
20174
|
+
peg$fail(peg$e133);
|
|
20003
20175
|
}
|
|
20004
20176
|
}
|
|
20005
20177
|
if (s0 === peg$FAILED) {
|
|
@@ -20009,7 +20181,7 @@ function peg$parse(input, options) {
|
|
|
20009
20181
|
} else {
|
|
20010
20182
|
s0 = peg$FAILED;
|
|
20011
20183
|
if (peg$silentFails === 0) {
|
|
20012
|
-
peg$fail(peg$
|
|
20184
|
+
peg$fail(peg$e134);
|
|
20013
20185
|
}
|
|
20014
20186
|
}
|
|
20015
20187
|
}
|
|
@@ -20018,7 +20190,7 @@ function peg$parse(input, options) {
|
|
|
20018
20190
|
if (s0 === peg$FAILED) {
|
|
20019
20191
|
s1 = peg$FAILED;
|
|
20020
20192
|
if (peg$silentFails === 0) {
|
|
20021
|
-
peg$fail(peg$
|
|
20193
|
+
peg$fail(peg$e131);
|
|
20022
20194
|
}
|
|
20023
20195
|
}
|
|
20024
20196
|
return s0;
|
|
@@ -20031,7 +20203,7 @@ function peg$parse(input, options) {
|
|
|
20031
20203
|
} else {
|
|
20032
20204
|
s0 = peg$FAILED;
|
|
20033
20205
|
if (peg$silentFails === 0) {
|
|
20034
|
-
peg$fail(peg$
|
|
20206
|
+
peg$fail(peg$e135);
|
|
20035
20207
|
}
|
|
20036
20208
|
}
|
|
20037
20209
|
return s0;
|
|
@@ -20065,35 +20237,35 @@ function peg$parse(input, options) {
|
|
|
20065
20237
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8;
|
|
20066
20238
|
s0 = peg$currPos;
|
|
20067
20239
|
s1 = peg$currPos;
|
|
20068
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
20069
|
-
s2 = peg$
|
|
20240
|
+
if (input.substr(peg$currPos, 4) === peg$c129) {
|
|
20241
|
+
s2 = peg$c129;
|
|
20070
20242
|
peg$currPos += 4;
|
|
20071
20243
|
} else {
|
|
20072
20244
|
s2 = peg$FAILED;
|
|
20073
20245
|
if (peg$silentFails === 0) {
|
|
20074
|
-
peg$fail(peg$
|
|
20246
|
+
peg$fail(peg$e136);
|
|
20075
20247
|
}
|
|
20076
20248
|
}
|
|
20077
20249
|
if (s2 !== peg$FAILED) {
|
|
20078
20250
|
if (input.charCodeAt(peg$currPos) === 115) {
|
|
20079
|
-
s3 = peg$
|
|
20251
|
+
s3 = peg$c130;
|
|
20080
20252
|
peg$currPos++;
|
|
20081
20253
|
} else {
|
|
20082
20254
|
s3 = peg$FAILED;
|
|
20083
20255
|
if (peg$silentFails === 0) {
|
|
20084
|
-
peg$fail(peg$
|
|
20256
|
+
peg$fail(peg$e137);
|
|
20085
20257
|
}
|
|
20086
20258
|
}
|
|
20087
20259
|
if (s3 === peg$FAILED) {
|
|
20088
20260
|
s3 = null;
|
|
20089
20261
|
}
|
|
20090
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
20091
|
-
s4 = peg$
|
|
20262
|
+
if (input.substr(peg$currPos, 3) === peg$c131) {
|
|
20263
|
+
s4 = peg$c131;
|
|
20092
20264
|
peg$currPos += 3;
|
|
20093
20265
|
} else {
|
|
20094
20266
|
s4 = peg$FAILED;
|
|
20095
20267
|
if (peg$silentFails === 0) {
|
|
20096
|
-
peg$fail(peg$
|
|
20268
|
+
peg$fail(peg$e138);
|
|
20097
20269
|
}
|
|
20098
20270
|
}
|
|
20099
20271
|
if (s4 !== peg$FAILED) {
|
|
@@ -20171,35 +20343,35 @@ function peg$parse(input, options) {
|
|
|
20171
20343
|
s0 = peg$currPos;
|
|
20172
20344
|
s1 = peg$currPos;
|
|
20173
20345
|
s2 = peg$currPos;
|
|
20174
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
20175
|
-
s3 = peg$
|
|
20346
|
+
if (input.substr(peg$currPos, 4) === peg$c129) {
|
|
20347
|
+
s3 = peg$c129;
|
|
20176
20348
|
peg$currPos += 4;
|
|
20177
20349
|
} else {
|
|
20178
20350
|
s3 = peg$FAILED;
|
|
20179
20351
|
if (peg$silentFails === 0) {
|
|
20180
|
-
peg$fail(peg$
|
|
20352
|
+
peg$fail(peg$e136);
|
|
20181
20353
|
}
|
|
20182
20354
|
}
|
|
20183
20355
|
if (s3 !== peg$FAILED) {
|
|
20184
20356
|
if (input.charCodeAt(peg$currPos) === 115) {
|
|
20185
|
-
s4 = peg$
|
|
20357
|
+
s4 = peg$c130;
|
|
20186
20358
|
peg$currPos++;
|
|
20187
20359
|
} else {
|
|
20188
20360
|
s4 = peg$FAILED;
|
|
20189
20361
|
if (peg$silentFails === 0) {
|
|
20190
|
-
peg$fail(peg$
|
|
20362
|
+
peg$fail(peg$e137);
|
|
20191
20363
|
}
|
|
20192
20364
|
}
|
|
20193
20365
|
if (s4 === peg$FAILED) {
|
|
20194
20366
|
s4 = null;
|
|
20195
20367
|
}
|
|
20196
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
20197
|
-
s5 = peg$
|
|
20368
|
+
if (input.substr(peg$currPos, 3) === peg$c131) {
|
|
20369
|
+
s5 = peg$c131;
|
|
20198
20370
|
peg$currPos += 3;
|
|
20199
20371
|
} else {
|
|
20200
20372
|
s5 = peg$FAILED;
|
|
20201
20373
|
if (peg$silentFails === 0) {
|
|
20202
|
-
peg$fail(peg$
|
|
20374
|
+
peg$fail(peg$e138);
|
|
20203
20375
|
}
|
|
20204
20376
|
}
|
|
20205
20377
|
if (s5 !== peg$FAILED) {
|
|
@@ -20214,13 +20386,13 @@ function peg$parse(input, options) {
|
|
|
20214
20386
|
s2 = peg$FAILED;
|
|
20215
20387
|
}
|
|
20216
20388
|
if (s2 === peg$FAILED) {
|
|
20217
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
20218
|
-
s2 = peg$
|
|
20389
|
+
if (input.substr(peg$currPos, 7) === peg$c132) {
|
|
20390
|
+
s2 = peg$c132;
|
|
20219
20391
|
peg$currPos += 7;
|
|
20220
20392
|
} else {
|
|
20221
20393
|
s2 = peg$FAILED;
|
|
20222
20394
|
if (peg$silentFails === 0) {
|
|
20223
|
-
peg$fail(peg$
|
|
20395
|
+
peg$fail(peg$e139);
|
|
20224
20396
|
}
|
|
20225
20397
|
}
|
|
20226
20398
|
}
|
|
@@ -20285,7 +20457,7 @@ function peg$parse(input, options) {
|
|
|
20285
20457
|
}
|
|
20286
20458
|
s2 = input.substring(s2, peg$currPos);
|
|
20287
20459
|
peg$savedPos = s0;
|
|
20288
|
-
s0 = peg$
|
|
20460
|
+
s0 = peg$f99(s1, s2);
|
|
20289
20461
|
} else {
|
|
20290
20462
|
peg$currPos = s0;
|
|
20291
20463
|
s0 = peg$FAILED;
|
|
@@ -20300,7 +20472,7 @@ function peg$parse(input, options) {
|
|
|
20300
20472
|
} else {
|
|
20301
20473
|
s0 = peg$FAILED;
|
|
20302
20474
|
if (peg$silentFails === 0) {
|
|
20303
|
-
peg$fail(peg$
|
|
20475
|
+
peg$fail(peg$e140);
|
|
20304
20476
|
}
|
|
20305
20477
|
}
|
|
20306
20478
|
return s0;
|
|
@@ -22847,6 +23019,7 @@ var Builder = class extends BaseBuilder {
|
|
|
22847
23019
|
data.ratingLevelSelected,
|
|
22848
23020
|
options
|
|
22849
23021
|
),
|
|
23022
|
+
formula: this.toAstProperty(bitType, ConfigKey.property_formula, data.formula, options),
|
|
22850
23023
|
markConfig: this.buildMarkConfigs(context, data.markConfig),
|
|
22851
23024
|
imageSource: this.buildImageSource(context, data.imageSource),
|
|
22852
23025
|
person: this.buildPerson(context, data.person),
|