@podlite/markdown 0.0.32 → 0.0.34
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/CHANGELOG.podlite +4 -0
- package/lib/index.cjs +41 -41
- package/lib/index.cjs.map +4 -4
- package/lib/index.esm.js +588 -530
- package/lib/index.esm.js.map +4 -4
- package/package.json +2 -2
package/lib/index.esm.js
CHANGED
|
@@ -2383,7 +2383,7 @@ var require_uri_all = __commonJS({
|
|
|
2383
2383
|
}
|
|
2384
2384
|
var URI_PARSE = /^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i;
|
|
2385
2385
|
var NO_MATCH_IS_UNDEFINED = "".match(/(){0}/)[1] === void 0;
|
|
2386
|
-
function
|
|
2386
|
+
function parse6(uriString) {
|
|
2387
2387
|
var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
2388
2388
|
var components = {};
|
|
2389
2389
|
var protocol = options.iri !== false ? IRI_PROTOCOL : URI_PROTOCOL;
|
|
@@ -2554,8 +2554,8 @@ var require_uri_all = __commonJS({
|
|
|
2554
2554
|
var skipNormalization = arguments[3];
|
|
2555
2555
|
var target = {};
|
|
2556
2556
|
if (!skipNormalization) {
|
|
2557
|
-
base3 =
|
|
2558
|
-
relative =
|
|
2557
|
+
base3 = parse6(serialize2(base3, options), options);
|
|
2558
|
+
relative = parse6(serialize2(relative, options), options);
|
|
2559
2559
|
}
|
|
2560
2560
|
options = options || {};
|
|
2561
2561
|
if (!options.tolerant && relative.scheme) {
|
|
@@ -2606,24 +2606,24 @@ var require_uri_all = __commonJS({
|
|
|
2606
2606
|
}
|
|
2607
2607
|
function resolve(baseURI, relativeURI, options) {
|
|
2608
2608
|
var schemelessOptions = assign({ scheme: "null" }, options);
|
|
2609
|
-
return serialize2(resolveComponents(
|
|
2609
|
+
return serialize2(resolveComponents(parse6(baseURI, schemelessOptions), parse6(relativeURI, schemelessOptions), schemelessOptions, true), schemelessOptions);
|
|
2610
2610
|
}
|
|
2611
2611
|
function normalize2(uri, options) {
|
|
2612
2612
|
if (typeof uri === "string") {
|
|
2613
|
-
uri = serialize2(
|
|
2613
|
+
uri = serialize2(parse6(uri, options), options);
|
|
2614
2614
|
} else if (typeOf(uri) === "object") {
|
|
2615
|
-
uri =
|
|
2615
|
+
uri = parse6(serialize2(uri, options), options);
|
|
2616
2616
|
}
|
|
2617
2617
|
return uri;
|
|
2618
2618
|
}
|
|
2619
2619
|
function equal(uriA, uriB, options) {
|
|
2620
2620
|
if (typeof uriA === "string") {
|
|
2621
|
-
uriA = serialize2(
|
|
2621
|
+
uriA = serialize2(parse6(uriA, options), options);
|
|
2622
2622
|
} else if (typeOf(uriA) === "object") {
|
|
2623
2623
|
uriA = serialize2(uriA, options);
|
|
2624
2624
|
}
|
|
2625
2625
|
if (typeof uriB === "string") {
|
|
2626
|
-
uriB = serialize2(
|
|
2626
|
+
uriB = serialize2(parse6(uriB, options), options);
|
|
2627
2627
|
} else if (typeOf(uriB) === "object") {
|
|
2628
2628
|
uriB = serialize2(uriB, options);
|
|
2629
2629
|
}
|
|
@@ -2638,7 +2638,7 @@ var require_uri_all = __commonJS({
|
|
|
2638
2638
|
var handler = {
|
|
2639
2639
|
scheme: "http",
|
|
2640
2640
|
domainHost: true,
|
|
2641
|
-
parse: function
|
|
2641
|
+
parse: function parse7(components, options) {
|
|
2642
2642
|
if (!components.host) {
|
|
2643
2643
|
components.error = components.error || "HTTP URIs must have a host.";
|
|
2644
2644
|
}
|
|
@@ -2667,7 +2667,7 @@ var require_uri_all = __commonJS({
|
|
|
2667
2667
|
var handler$2 = {
|
|
2668
2668
|
scheme: "ws",
|
|
2669
2669
|
domainHost: true,
|
|
2670
|
-
parse: function
|
|
2670
|
+
parse: function parse7(components, options) {
|
|
2671
2671
|
var wsComponents = components;
|
|
2672
2672
|
wsComponents.secure = isSecure(wsComponents);
|
|
2673
2673
|
wsComponents.resourceName = (wsComponents.path || "/") + (wsComponents.query ? "?" + wsComponents.query : "");
|
|
@@ -2843,7 +2843,7 @@ var require_uri_all = __commonJS({
|
|
|
2843
2843
|
var UUID = /^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/;
|
|
2844
2844
|
var handler$6 = {
|
|
2845
2845
|
scheme: "urn:uuid",
|
|
2846
|
-
parse: function
|
|
2846
|
+
parse: function parse7(urnComponents, options) {
|
|
2847
2847
|
var uuidComponents = urnComponents;
|
|
2848
2848
|
uuidComponents.uuid = uuidComponents.nss;
|
|
2849
2849
|
uuidComponents.nss = void 0;
|
|
@@ -2868,7 +2868,7 @@ var require_uri_all = __commonJS({
|
|
|
2868
2868
|
exports2.SCHEMES = SCHEMES;
|
|
2869
2869
|
exports2.pctEncChar = pctEncChar;
|
|
2870
2870
|
exports2.pctDecChars = pctDecChars;
|
|
2871
|
-
exports2.parse =
|
|
2871
|
+
exports2.parse = parse6;
|
|
2872
2872
|
exports2.removeDotSegments = removeDotSegments;
|
|
2873
2873
|
exports2.serialize = serialize2;
|
|
2874
2874
|
exports2.resolveComponents = resolveComponents;
|
|
@@ -6571,7 +6571,7 @@ var require_json_pointer = __commonJS({
|
|
|
6571
6571
|
api.unescape = function unescape(str) {
|
|
6572
6572
|
return str.replace(/~1/g, "/").replace(/~0/g, "~");
|
|
6573
6573
|
};
|
|
6574
|
-
api.parse = function
|
|
6574
|
+
api.parse = function parse6(pointer2) {
|
|
6575
6575
|
if (pointer2 === "") {
|
|
6576
6576
|
return [];
|
|
6577
6577
|
}
|
|
@@ -12542,59 +12542,6 @@ var require_events = __commonJS({
|
|
|
12542
12542
|
}
|
|
12543
12543
|
});
|
|
12544
12544
|
|
|
12545
|
-
// ../../node_modules/slugify/slugify.js
|
|
12546
|
-
var require_slugify = __commonJS({
|
|
12547
|
-
"../../node_modules/slugify/slugify.js"(exports, module) {
|
|
12548
|
-
(function(name, root, factory) {
|
|
12549
|
-
if (typeof exports === "object") {
|
|
12550
|
-
module.exports = factory();
|
|
12551
|
-
module.exports["default"] = factory();
|
|
12552
|
-
} else if (typeof define === "function" && define.amd) {
|
|
12553
|
-
define(factory);
|
|
12554
|
-
} else {
|
|
12555
|
-
root[name] = factory();
|
|
12556
|
-
}
|
|
12557
|
-
})("slugify", exports, function() {
|
|
12558
|
-
var charMap = JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","\xA2":"cent","\xA3":"pound","\xA4":"currency","\xA5":"yen","\xA9":"(c)","\xAA":"a","\xAE":"(r)","\xBA":"o","\xC0":"A","\xC1":"A","\xC2":"A","\xC3":"A","\xC4":"A","\xC5":"A","\xC6":"AE","\xC7":"C","\xC8":"E","\xC9":"E","\xCA":"E","\xCB":"E","\xCC":"I","\xCD":"I","\xCE":"I","\xCF":"I","\xD0":"D","\xD1":"N","\xD2":"O","\xD3":"O","\xD4":"O","\xD5":"O","\xD6":"O","\xD8":"O","\xD9":"U","\xDA":"U","\xDB":"U","\xDC":"U","\xDD":"Y","\xDE":"TH","\xDF":"ss","\xE0":"a","\xE1":"a","\xE2":"a","\xE3":"a","\xE4":"a","\xE5":"a","\xE6":"ae","\xE7":"c","\xE8":"e","\xE9":"e","\xEA":"e","\xEB":"e","\xEC":"i","\xED":"i","\xEE":"i","\xEF":"i","\xF0":"d","\xF1":"n","\xF2":"o","\xF3":"o","\xF4":"o","\xF5":"o","\xF6":"o","\xF8":"o","\xF9":"u","\xFA":"u","\xFB":"u","\xFC":"u","\xFD":"y","\xFE":"th","\xFF":"y","\u0100":"A","\u0101":"a","\u0102":"A","\u0103":"a","\u0104":"A","\u0105":"a","\u0106":"C","\u0107":"c","\u010C":"C","\u010D":"c","\u010E":"D","\u010F":"d","\u0110":"DJ","\u0111":"dj","\u0112":"E","\u0113":"e","\u0116":"E","\u0117":"e","\u0118":"e","\u0119":"e","\u011A":"E","\u011B":"e","\u011E":"G","\u011F":"g","\u0122":"G","\u0123":"g","\u0128":"I","\u0129":"i","\u012A":"i","\u012B":"i","\u012E":"I","\u012F":"i","\u0130":"I","\u0131":"i","\u0136":"k","\u0137":"k","\u013B":"L","\u013C":"l","\u013D":"L","\u013E":"l","\u0141":"L","\u0142":"l","\u0143":"N","\u0144":"n","\u0145":"N","\u0146":"n","\u0147":"N","\u0148":"n","\u014C":"O","\u014D":"o","\u0150":"O","\u0151":"o","\u0152":"OE","\u0153":"oe","\u0154":"R","\u0155":"r","\u0158":"R","\u0159":"r","\u015A":"S","\u015B":"s","\u015E":"S","\u015F":"s","\u0160":"S","\u0161":"s","\u0162":"T","\u0163":"t","\u0164":"T","\u0165":"t","\u0168":"U","\u0169":"u","\u016A":"u","\u016B":"u","\u016E":"U","\u016F":"u","\u0170":"U","\u0171":"u","\u0172":"U","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017A":"z","\u017B":"Z","\u017C":"z","\u017D":"Z","\u017E":"z","\u018F":"E","\u0192":"f","\u01A0":"O","\u01A1":"o","\u01AF":"U","\u01B0":"u","\u01C8":"LJ","\u01C9":"lj","\u01CB":"NJ","\u01CC":"nj","\u0218":"S","\u0219":"s","\u021A":"T","\u021B":"t","\u0259":"e","\u02DA":"o","\u0386":"A","\u0388":"E","\u0389":"H","\u038A":"I","\u038C":"O","\u038E":"Y","\u038F":"W","\u0390":"i","\u0391":"A","\u0392":"B","\u0393":"G","\u0394":"D","\u0395":"E","\u0396":"Z","\u0397":"H","\u0398":"8","\u0399":"I","\u039A":"K","\u039B":"L","\u039C":"M","\u039D":"N","\u039E":"3","\u039F":"O","\u03A0":"P","\u03A1":"R","\u03A3":"S","\u03A4":"T","\u03A5":"Y","\u03A6":"F","\u03A7":"X","\u03A8":"PS","\u03A9":"W","\u03AA":"I","\u03AB":"Y","\u03AC":"a","\u03AD":"e","\u03AE":"h","\u03AF":"i","\u03B0":"y","\u03B1":"a","\u03B2":"b","\u03B3":"g","\u03B4":"d","\u03B5":"e","\u03B6":"z","\u03B7":"h","\u03B8":"8","\u03B9":"i","\u03BA":"k","\u03BB":"l","\u03BC":"m","\u03BD":"n","\u03BE":"3","\u03BF":"o","\u03C0":"p","\u03C1":"r","\u03C2":"s","\u03C3":"s","\u03C4":"t","\u03C5":"y","\u03C6":"f","\u03C7":"x","\u03C8":"ps","\u03C9":"w","\u03CA":"i","\u03CB":"y","\u03CC":"o","\u03CD":"y","\u03CE":"w","\u0401":"Yo","\u0402":"DJ","\u0404":"Ye","\u0406":"I","\u0407":"Yi","\u0408":"J","\u0409":"LJ","\u040A":"NJ","\u040B":"C","\u040F":"DZ","\u0410":"A","\u0411":"B","\u0412":"V","\u0413":"G","\u0414":"D","\u0415":"E","\u0416":"Zh","\u0417":"Z","\u0418":"I","\u0419":"J","\u041A":"K","\u041B":"L","\u041C":"M","\u041D":"N","\u041E":"O","\u041F":"P","\u0420":"R","\u0421":"S","\u0422":"T","\u0423":"U","\u0424":"F","\u0425":"H","\u0426":"C","\u0427":"Ch","\u0428":"Sh","\u0429":"Sh","\u042A":"U","\u042B":"Y","\u042C":"","\u042D":"E","\u042E":"Yu","\u042F":"Ya","\u0430":"a","\u0431":"b","\u0432":"v","\u0433":"g","\u0434":"d","\u0435":"e","\u0436":"zh","\u0437":"z","\u0438":"i","\u0439":"j","\u043A":"k","\u043B":"l","\u043C":"m","\u043D":"n","\u043E":"o","\u043F":"p","\u0440":"r","\u0441":"s","\u0442":"t","\u0443":"u","\u0444":"f","\u0445":"h","\u0446":"c","\u0447":"ch","\u0448":"sh","\u0449":"sh","\u044A":"u","\u044B":"y","\u044C":"","\u044D":"e","\u044E":"yu","\u044F":"ya","\u0451":"yo","\u0452":"dj","\u0454":"ye","\u0456":"i","\u0457":"yi","\u0458":"j","\u0459":"lj","\u045A":"nj","\u045B":"c","\u045D":"u","\u045F":"dz","\u0490":"G","\u0491":"g","\u0492":"GH","\u0493":"gh","\u049A":"KH","\u049B":"kh","\u04A2":"NG","\u04A3":"ng","\u04AE":"UE","\u04AF":"ue","\u04B0":"U","\u04B1":"u","\u04BA":"H","\u04BB":"h","\u04D8":"AE","\u04D9":"ae","\u04E8":"OE","\u04E9":"oe","\u0531":"A","\u0532":"B","\u0533":"G","\u0534":"D","\u0535":"E","\u0536":"Z","\u0537":"E'","\u0538":"Y'","\u0539":"T'","\u053A":"JH","\u053B":"I","\u053C":"L","\u053D":"X","\u053E":"C'","\u053F":"K","\u0540":"H","\u0541":"D'","\u0542":"GH","\u0543":"TW","\u0544":"M","\u0545":"Y","\u0546":"N","\u0547":"SH","\u0549":"CH","\u054A":"P","\u054B":"J","\u054C":"R'","\u054D":"S","\u054E":"V","\u054F":"T","\u0550":"R","\u0551":"C","\u0553":"P'","\u0554":"Q'","\u0555":"O''","\u0556":"F","\u0587":"EV","\u0621":"a","\u0622":"aa","\u0623":"a","\u0624":"u","\u0625":"i","\u0626":"e","\u0627":"a","\u0628":"b","\u0629":"h","\u062A":"t","\u062B":"th","\u062C":"j","\u062D":"h","\u062E":"kh","\u062F":"d","\u0630":"th","\u0631":"r","\u0632":"z","\u0633":"s","\u0634":"sh","\u0635":"s","\u0636":"dh","\u0637":"t","\u0638":"z","\u0639":"a","\u063A":"gh","\u0641":"f","\u0642":"q","\u0643":"k","\u0644":"l","\u0645":"m","\u0646":"n","\u0647":"h","\u0648":"w","\u0649":"a","\u064A":"y","\u064B":"an","\u064C":"on","\u064D":"en","\u064E":"a","\u064F":"u","\u0650":"e","\u0652":"","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u067E":"p","\u0686":"ch","\u0698":"zh","\u06A9":"k","\u06AF":"g","\u06CC":"y","\u06F0":"0","\u06F1":"1","\u06F2":"2","\u06F3":"3","\u06F4":"4","\u06F5":"5","\u06F6":"6","\u06F7":"7","\u06F8":"8","\u06F9":"9","\u0E3F":"baht","\u10D0":"a","\u10D1":"b","\u10D2":"g","\u10D3":"d","\u10D4":"e","\u10D5":"v","\u10D6":"z","\u10D7":"t","\u10D8":"i","\u10D9":"k","\u10DA":"l","\u10DB":"m","\u10DC":"n","\u10DD":"o","\u10DE":"p","\u10DF":"zh","\u10E0":"r","\u10E1":"s","\u10E2":"t","\u10E3":"u","\u10E4":"f","\u10E5":"k","\u10E6":"gh","\u10E7":"q","\u10E8":"sh","\u10E9":"ch","\u10EA":"ts","\u10EB":"dz","\u10EC":"ts","\u10ED":"ch","\u10EE":"kh","\u10EF":"j","\u10F0":"h","\u1E62":"S","\u1E63":"s","\u1E80":"W","\u1E81":"w","\u1E82":"W","\u1E83":"w","\u1E84":"W","\u1E85":"w","\u1E9E":"SS","\u1EA0":"A","\u1EA1":"a","\u1EA2":"A","\u1EA3":"a","\u1EA4":"A","\u1EA5":"a","\u1EA6":"A","\u1EA7":"a","\u1EA8":"A","\u1EA9":"a","\u1EAA":"A","\u1EAB":"a","\u1EAC":"A","\u1EAD":"a","\u1EAE":"A","\u1EAF":"a","\u1EB0":"A","\u1EB1":"a","\u1EB2":"A","\u1EB3":"a","\u1EB4":"A","\u1EB5":"a","\u1EB6":"A","\u1EB7":"a","\u1EB8":"E","\u1EB9":"e","\u1EBA":"E","\u1EBB":"e","\u1EBC":"E","\u1EBD":"e","\u1EBE":"E","\u1EBF":"e","\u1EC0":"E","\u1EC1":"e","\u1EC2":"E","\u1EC3":"e","\u1EC4":"E","\u1EC5":"e","\u1EC6":"E","\u1EC7":"e","\u1EC8":"I","\u1EC9":"i","\u1ECA":"I","\u1ECB":"i","\u1ECC":"O","\u1ECD":"o","\u1ECE":"O","\u1ECF":"o","\u1ED0":"O","\u1ED1":"o","\u1ED2":"O","\u1ED3":"o","\u1ED4":"O","\u1ED5":"o","\u1ED6":"O","\u1ED7":"o","\u1ED8":"O","\u1ED9":"o","\u1EDA":"O","\u1EDB":"o","\u1EDC":"O","\u1EDD":"o","\u1EDE":"O","\u1EDF":"o","\u1EE0":"O","\u1EE1":"o","\u1EE2":"O","\u1EE3":"o","\u1EE4":"U","\u1EE5":"u","\u1EE6":"U","\u1EE7":"u","\u1EE8":"U","\u1EE9":"u","\u1EEA":"U","\u1EEB":"u","\u1EEC":"U","\u1EED":"u","\u1EEE":"U","\u1EEF":"u","\u1EF0":"U","\u1EF1":"u","\u1EF2":"Y","\u1EF3":"y","\u1EF4":"Y","\u1EF5":"y","\u1EF6":"Y","\u1EF7":"y","\u1EF8":"Y","\u1EF9":"y","\u2013":"-","\u2018":"'","\u2019":"'","\u201C":"\\"","\u201D":"\\"","\u201E":"\\"","\u2020":"+","\u2022":"*","\u2026":"...","\u20A0":"ecu","\u20A2":"cruzeiro","\u20A3":"french franc","\u20A4":"lira","\u20A5":"mill","\u20A6":"naira","\u20A7":"peseta","\u20A8":"rupee","\u20A9":"won","\u20AA":"new shequel","\u20AB":"dong","\u20AC":"euro","\u20AD":"kip","\u20AE":"tugrik","\u20AF":"drachma","\u20B0":"penny","\u20B1":"peso","\u20B2":"guarani","\u20B3":"austral","\u20B4":"hryvnia","\u20B5":"cedi","\u20B8":"kazakhstani tenge","\u20B9":"indian rupee","\u20BA":"turkish lira","\u20BD":"russian ruble","\u20BF":"bitcoin","\u2120":"sm","\u2122":"tm","\u2202":"d","\u2206":"delta","\u2211":"sum","\u221E":"infinity","\u2665":"love","\u5143":"yuan","\u5186":"yen","\uFDFC":"rial","\uFEF5":"laa","\uFEF7":"laa","\uFEF9":"lai","\uFEFB":"la"}`);
|
|
12559
|
-
var locales = JSON.parse('{"bg":{"\u0419":"Y","\u0426":"Ts","\u0429":"Sht","\u042A":"A","\u042C":"Y","\u0439":"y","\u0446":"ts","\u0449":"sht","\u044A":"a","\u044C":"y"},"de":{"\xC4":"AE","\xE4":"ae","\xD6":"OE","\xF6":"oe","\xDC":"UE","\xFC":"ue","\xDF":"ss","%":"prozent","&":"und","|":"oder","\u2211":"summe","\u221E":"unendlich","\u2665":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","\xA2":"centavos","\xA3":"libras","\xA4":"moneda","\u20A3":"francos","\u2211":"suma","\u221E":"infinito","\u2665":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","\xA2":"centime","\xA3":"livre","\xA4":"devise","\u20A3":"franc","\u2211":"somme","\u221E":"infini","\u2665":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","\xA2":"centavo","\u2211":"soma","\xA3":"libra","\u221E":"infinito","\u2665":"amor"},"uk":{"\u0418":"Y","\u0438":"y","\u0419":"Y","\u0439":"y","\u0426":"Ts","\u0446":"ts","\u0425":"Kh","\u0445":"kh","\u0429":"Shch","\u0449":"shch","\u0413":"H","\u0433":"h"},"vi":{"\u0110":"D","\u0111":"d"},"da":{"\xD8":"OE","\xF8":"oe","\xC5":"AA","\xE5":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"st\xF8rre end"},"nb":{"&":"og","\xC5":"AA","\xC6":"AE","\xD8":"OE","\xE5":"aa","\xE6":"ae","\xF8":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","\xC5":"AA","\xC4":"AE","\xD6":"OE","\xE5":"aa","\xE4":"ae","\xF6":"oe"}}');
|
|
12560
|
-
function replace2(string3, options) {
|
|
12561
|
-
if (typeof string3 !== "string") {
|
|
12562
|
-
throw new Error("slugify: string argument expected");
|
|
12563
|
-
}
|
|
12564
|
-
options = typeof options === "string" ? { replacement: options } : options || {};
|
|
12565
|
-
var locale = locales[options.locale] || {};
|
|
12566
|
-
var replacement = options.replacement === void 0 ? "-" : options.replacement;
|
|
12567
|
-
var trim = options.trim === void 0 ? true : options.trim;
|
|
12568
|
-
var slug = string3.normalize().split("").reduce(function(result, ch) {
|
|
12569
|
-
var appendChar = locale[ch];
|
|
12570
|
-
if (appendChar === void 0)
|
|
12571
|
-
appendChar = charMap[ch];
|
|
12572
|
-
if (appendChar === void 0)
|
|
12573
|
-
appendChar = ch;
|
|
12574
|
-
if (appendChar === replacement)
|
|
12575
|
-
appendChar = " ";
|
|
12576
|
-
return result + appendChar.replace(options.remove || /[^\w\s$*_+~.()'"!\-:@]+/g, "");
|
|
12577
|
-
}, "");
|
|
12578
|
-
if (options.strict) {
|
|
12579
|
-
slug = slug.replace(/[^A-Za-z0-9\s]/g, "");
|
|
12580
|
-
}
|
|
12581
|
-
if (trim) {
|
|
12582
|
-
slug = slug.trim();
|
|
12583
|
-
}
|
|
12584
|
-
slug = slug.replace(/\s+/g, replacement);
|
|
12585
|
-
if (options.lower) {
|
|
12586
|
-
slug = slug.toLowerCase();
|
|
12587
|
-
}
|
|
12588
|
-
return slug;
|
|
12589
|
-
}
|
|
12590
|
-
replace2.extend = function(customMap) {
|
|
12591
|
-
Object.assign(charMap, customMap);
|
|
12592
|
-
};
|
|
12593
|
-
return replace2;
|
|
12594
|
-
});
|
|
12595
|
-
}
|
|
12596
|
-
});
|
|
12597
|
-
|
|
12598
12545
|
// ../podlite-schema/src/grammar.js
|
|
12599
12546
|
var require_grammar = __commonJS({
|
|
12600
12547
|
"../podlite-schema/src/grammar.js"(exports, module) {
|
|
@@ -12690,108 +12637,110 @@ var require_grammar = __commonJS({
|
|
|
12690
12637
|
};
|
|
12691
12638
|
function peg$parse(input, options) {
|
|
12692
12639
|
options = options !== void 0 ? options : {};
|
|
12693
|
-
var peg$FAILED = {}, peg$startRuleFunctions = { Document: peg$parseDocument }, peg$startRuleFunction = peg$parseDocument, peg$c0 = function(nodes) {
|
|
12640
|
+
var peg$FAILED = {}, peg$startRuleFunctions = { Document: peg$parseDocument, attributesOnly: peg$parseattributesOnly }, peg$startRuleFunction = peg$parseDocument, peg$c0 = function(nodes) {
|
|
12694
12641
|
return nodes;
|
|
12695
|
-
}, peg$c1 = function() {
|
|
12642
|
+
}, peg$c1 = function(attrs) {
|
|
12643
|
+
return attrs;
|
|
12644
|
+
}, peg$c2 = function() {
|
|
12696
12645
|
return !!options.podMode === true;
|
|
12697
|
-
}, peg$
|
|
12646
|
+
}, peg$c3 = function(n) {
|
|
12698
12647
|
return n;
|
|
12699
|
-
}, peg$
|
|
12648
|
+
}, peg$c4 = peg$anyExpectation(), peg$c5 = function() {
|
|
12700
12649
|
return {
|
|
12701
12650
|
text: text4(),
|
|
12702
12651
|
type: "ambient",
|
|
12703
12652
|
location: location()
|
|
12704
12653
|
};
|
|
12705
|
-
}, peg$
|
|
12654
|
+
}, peg$c6 = /^[ \xA0\u2001\t\f\u2008]/, peg$c7 = peg$classExpectation([" ", "\xA0", "\u2001", " ", "\f", "\u2008"], false, false), peg$c8 = /^[ \t\f]/, peg$c9 = peg$classExpectation([" ", " ", "\f"], false, false), peg$c10 = /^[\n\r]/, peg$c11 = peg$classExpectation(["\n", "\r"], false, false), peg$c12 = function(text5) {
|
|
12706
12655
|
return text5;
|
|
12707
|
-
}, peg$
|
|
12656
|
+
}, peg$c13 = /^[^\n\r]/, peg$c14 = peg$classExpectation(["\n", "\r"], true, false), peg$c15 = "\n", peg$c16 = peg$literalExpectation("\n", false), peg$c17 = "\r", peg$c18 = peg$literalExpectation("\r", false), peg$c19 = function() {
|
|
12708
12657
|
return { type: "blankline" };
|
|
12709
|
-
}, peg$
|
|
12658
|
+
}, peg$c20 = "=begin ", peg$c21 = peg$literalExpectation("=begin ", false), peg$c22 = "=end ", peg$c23 = peg$literalExpectation("=end ", false), peg$c24 = "=for ", peg$c25 = peg$literalExpectation("=for ", false), peg$c26 = "=config", peg$c27 = peg$literalExpectation("=config", false), peg$c28 = "=alias", peg$c29 = peg$literalExpectation("=alias", false), peg$c30 = function(name) {
|
|
12710
12659
|
return isSupportedBlockName(name);
|
|
12711
|
-
}, peg$
|
|
12660
|
+
}, peg$c31 = function(name) {
|
|
12712
12661
|
return name;
|
|
12713
|
-
}, peg$
|
|
12662
|
+
}, peg$c32 = "=", peg$c33 = peg$literalExpectation("=", false), peg$c34 = peg$otherExpectation("text"), peg$c35 = function() {
|
|
12714
12663
|
return text4();
|
|
12715
|
-
}, peg$
|
|
12664
|
+
}, peg$c36 = function() {
|
|
12716
12665
|
return { type: "para", value: text4(), error: true, location: location() };
|
|
12717
|
-
}, peg$
|
|
12666
|
+
}, peg$c37 = function(code2, codes) {
|
|
12718
12667
|
return flattenDeep4([code2, codes]);
|
|
12719
|
-
}, peg$
|
|
12668
|
+
}, peg$c38 = function(code2) {
|
|
12720
12669
|
return [code2];
|
|
12721
|
-
}, peg$
|
|
12670
|
+
}, peg$c39 = ",", peg$c40 = peg$literalExpectation(",", false), peg$c41 = function(code2, codes) {
|
|
12722
12671
|
return flattenDeep4([code2, codes]);
|
|
12723
|
-
}, peg$
|
|
12672
|
+
}, peg$c42 = /^[a-zA-Z0-9]/, peg$c43 = peg$classExpectation([["a", "z"], ["A", "Z"], ["0", "9"]], false, false), peg$c44 = /^[a-zA-Z0-9_\-]/, peg$c45 = peg$classExpectation([["a", "z"], ["A", "Z"], ["0", "9"], "_", "-"], false, false), peg$c46 = "=>", peg$c47 = peg$literalExpectation("=>", false), peg$c48 = function(name, value) {
|
|
12724
12673
|
return { [name]: value };
|
|
12725
|
-
}, peg$
|
|
12674
|
+
}, peg$c49 = function(pair, pairs) {
|
|
12726
12675
|
return { ...pair, ...pairs };
|
|
12727
|
-
}, peg$
|
|
12676
|
+
}, peg$c50 = function(code2) {
|
|
12728
12677
|
return code2;
|
|
12729
|
-
}, peg$
|
|
12678
|
+
}, peg$c51 = ":", peg$c52 = peg$literalExpectation(":", false), peg$c53 = "allow", peg$c54 = peg$literalExpectation("allow", false), peg$c55 = "<", peg$c56 = peg$literalExpectation("<", false), peg$c57 = ">", peg$c58 = peg$literalExpectation(">", false), peg$c59 = function(key, array) {
|
|
12730
12679
|
return { value: array, type: "array" };
|
|
12731
|
-
}, peg$
|
|
12680
|
+
}, peg$c60 = function(key, value) {
|
|
12732
12681
|
return { name: "allow", ...value };
|
|
12733
|
-
}, peg$
|
|
12682
|
+
}, peg$c61 = function(i) {
|
|
12734
12683
|
return i;
|
|
12735
|
-
}, peg$
|
|
12684
|
+
}, peg$c62 = function(all2) {
|
|
12736
12685
|
return all2;
|
|
12737
|
-
}, peg$
|
|
12686
|
+
}, peg$c63 = function(res) {
|
|
12738
12687
|
return [res];
|
|
12739
|
-
}, peg$
|
|
12688
|
+
}, peg$c64 = function() {
|
|
12740
12689
|
return [];
|
|
12741
|
-
}, peg$
|
|
12690
|
+
}, peg$c65 = /^[!]/, peg$c66 = peg$classExpectation(["!"], false, false), peg$c67 = "{", peg$c68 = peg$literalExpectation("{", false), peg$c69 = "}", peg$c70 = peg$literalExpectation("}", false), peg$c71 = function(isFalse, key, hash) {
|
|
12742
12691
|
return { value: hash, type: "map" };
|
|
12743
|
-
}, peg$
|
|
12692
|
+
}, peg$c72 = "[", peg$c73 = peg$literalExpectation("[", false), peg$c74 = function(isFalse, key, array) {
|
|
12744
12693
|
return array;
|
|
12745
|
-
}, peg$
|
|
12694
|
+
}, peg$c75 = "]", peg$c76 = peg$literalExpectation("]", false), peg$c77 = function(isFalse, key) {
|
|
12746
12695
|
return [text4()];
|
|
12747
|
-
}, peg$
|
|
12696
|
+
}, peg$c78 = function(isFalse, key, array) {
|
|
12748
12697
|
return {
|
|
12749
12698
|
value: array,
|
|
12750
12699
|
type: "array"
|
|
12751
12700
|
};
|
|
12752
|
-
}, peg$c78 = function(isFalse, key, array) {
|
|
12753
|
-
return { value: array, type: "array" };
|
|
12754
12701
|
}, peg$c79 = function(isFalse, key, array) {
|
|
12702
|
+
return { value: array, type: "array" };
|
|
12703
|
+
}, peg$c80 = function(isFalse, key, array) {
|
|
12755
12704
|
return { value: array, type: "string" };
|
|
12756
|
-
}, peg$
|
|
12705
|
+
}, peg$c81 = "(", peg$c82 = peg$literalExpectation("(", false), peg$c83 = function(isFalse, key, array) {
|
|
12757
12706
|
return array.length > 1 ? { type: "array", value: array } : { type: "value", value: array[0] };
|
|
12758
|
-
}, peg$
|
|
12707
|
+
}, peg$c84 = ")", peg$c85 = peg$literalExpectation(")", false), peg$c86 = function(isFalse, key) {
|
|
12759
12708
|
return { value: text4() };
|
|
12760
|
-
}, peg$
|
|
12709
|
+
}, peg$c87 = function(isFalse, key, res) {
|
|
12761
12710
|
return {
|
|
12762
12711
|
type: "value",
|
|
12763
12712
|
...res
|
|
12764
12713
|
};
|
|
12765
|
-
}, peg$
|
|
12714
|
+
}, peg$c88 = function(isFalse, key) {
|
|
12766
12715
|
return {
|
|
12767
12716
|
value: !isFalse,
|
|
12768
12717
|
type: "boolean"
|
|
12769
12718
|
};
|
|
12770
|
-
}, peg$
|
|
12719
|
+
}, peg$c89 = function(isFalse, key, value) {
|
|
12771
12720
|
return { name: key, ...value };
|
|
12772
|
-
}, peg$
|
|
12721
|
+
}, peg$c90 = function(first, rest) {
|
|
12773
12722
|
return rest;
|
|
12774
|
-
}, peg$
|
|
12723
|
+
}, peg$c91 = function(first, cont) {
|
|
12775
12724
|
return flattenDeep4([...first, ...cont]);
|
|
12776
|
-
}, peg$
|
|
12725
|
+
}, peg$c92 = /^[^'"]/, peg$c93 = peg$classExpectation(["'", '"'], true, false), peg$c94 = function(text5) {
|
|
12777
12726
|
return text5;
|
|
12778
|
-
}, peg$
|
|
12727
|
+
}, peg$c95 = /^[0-9]/, peg$c96 = peg$classExpectation([["0", "9"]], false, false), peg$c97 = /^[\-+]/, peg$c98 = peg$classExpectation(["-", "+"], false, false), peg$c99 = "True", peg$c100 = peg$literalExpectation("True", false), peg$c101 = function() {
|
|
12779
12728
|
return true;
|
|
12780
|
-
}, peg$
|
|
12729
|
+
}, peg$c102 = "False", peg$c103 = peg$literalExpectation("False", false), peg$c104 = function() {
|
|
12781
12730
|
return false;
|
|
12782
|
-
}, peg$
|
|
12731
|
+
}, peg$c105 = ".", peg$c106 = peg$literalExpectation(".", false), peg$c107 = /^[eE]/, peg$c108 = peg$classExpectation(["e", "E"], false, false), peg$c109 = /^["]/, peg$c110 = peg$classExpectation(['"'], false, false), peg$c111 = /^[^"]/, peg$c112 = peg$classExpectation(['"'], true, false), peg$c113 = /^[']/, peg$c114 = peg$classExpectation(["'"], false, false), peg$c115 = /^[^']/, peg$c116 = peg$classExpectation(["'"], true, false), peg$c117 = function(numberFloat) {
|
|
12783
12732
|
return parseFloat(numberFloat);
|
|
12784
|
-
}, peg$
|
|
12733
|
+
}, peg$c118 = function(number) {
|
|
12785
12734
|
return parseInt(number, 10);
|
|
12786
|
-
}, peg$
|
|
12735
|
+
}, peg$c119 = function(vmargin, name, config) {
|
|
12787
12736
|
return name.match(/code|comment|formula|output|input|markdown|picture|toc|data/) || isNamedBlock2(name);
|
|
12788
|
-
}, peg$
|
|
12737
|
+
}, peg$c120 = function(vmargin, name, config, margins, ename) {
|
|
12789
12738
|
return vmargin.length === margins.length && name === ename;
|
|
12790
|
-
}, peg$
|
|
12739
|
+
}, peg$c121 = function(vmargin, name, config, margins, line) {
|
|
12791
12740
|
return exludeVMargin(vmargin, `${margins}${line}`);
|
|
12792
|
-
}, peg$c121 = function(vmargin, name, config, content4, vmargin2, ename) {
|
|
12793
|
-
return name === ename;
|
|
12794
12741
|
}, peg$c122 = function(vmargin, name, config, content4, vmargin2, ename) {
|
|
12742
|
+
return name === ename;
|
|
12743
|
+
}, peg$c123 = function(vmargin, name, config, content4, vmargin2, ename) {
|
|
12795
12744
|
const type = "block";
|
|
12796
12745
|
return {
|
|
12797
12746
|
type,
|
|
@@ -12799,36 +12748,36 @@ var require_grammar = __commonJS({
|
|
|
12799
12748
|
name,
|
|
12800
12749
|
margin: vmargin
|
|
12801
12750
|
};
|
|
12802
|
-
}, peg$c123 = function(vmargin, name, config, content4, vmargin2, res) {
|
|
12803
|
-
return true;
|
|
12804
12751
|
}, peg$c124 = function(vmargin, name, config, content4, vmargin2, res) {
|
|
12752
|
+
return true;
|
|
12753
|
+
}, peg$c125 = function(vmargin, name, config, content4, vmargin2, res) {
|
|
12805
12754
|
return {
|
|
12806
12755
|
...res,
|
|
12807
12756
|
text: text4(),
|
|
12808
12757
|
config,
|
|
12809
12758
|
location: location()
|
|
12810
12759
|
};
|
|
12811
|
-
}, peg$
|
|
12760
|
+
}, peg$c126 = /^[\-+=_|]/, peg$c127 = peg$classExpectation(["-", "+", "=", "_", "|"], false, false), peg$c128 = function() {
|
|
12812
12761
|
return { type: "separator", text: text4() };
|
|
12813
|
-
}, peg$c128 = function() {
|
|
12814
|
-
return options.isDelimited;
|
|
12815
12762
|
}, peg$c129 = function() {
|
|
12763
|
+
return options.isDelimited;
|
|
12764
|
+
}, peg$c130 = function() {
|
|
12816
12765
|
return {
|
|
12817
12766
|
type: "separator",
|
|
12818
12767
|
text: text4()
|
|
12819
12768
|
};
|
|
12820
|
-
}, peg$
|
|
12769
|
+
}, peg$c131 = function(t) {
|
|
12821
12770
|
return { name: "row", type: "text", value: t };
|
|
12822
|
-
}, peg$
|
|
12771
|
+
}, peg$c132 = function() {
|
|
12823
12772
|
options.separators = [];
|
|
12824
12773
|
return true;
|
|
12825
|
-
}, peg$
|
|
12774
|
+
}, peg$c133 = function(head, t) {
|
|
12826
12775
|
options.separators.push(t.text);
|
|
12827
12776
|
return t;
|
|
12828
|
-
}, peg$
|
|
12777
|
+
}, peg$c134 = function(head, separator, rowtext, t) {
|
|
12829
12778
|
options.separators.push(t.text);
|
|
12830
12779
|
return t;
|
|
12831
|
-
}, peg$
|
|
12780
|
+
}, peg$c135 = function(head, separator, rowtext, bseparator) {
|
|
12832
12781
|
return [
|
|
12833
12782
|
{
|
|
12834
12783
|
name: "row",
|
|
@@ -12837,14 +12786,14 @@ var require_grammar = __commonJS({
|
|
|
12837
12786
|
},
|
|
12838
12787
|
bseparator
|
|
12839
12788
|
];
|
|
12840
|
-
}, peg$
|
|
12789
|
+
}, peg$c136 = function(head, separator, singleRow) {
|
|
12841
12790
|
return [singleRow];
|
|
12842
|
-
}, peg$
|
|
12791
|
+
}, peg$c137 = function(head, separator, rest) {
|
|
12843
12792
|
if (options.separators.length > 1) {
|
|
12844
12793
|
return !options.separators.every((val) => val === options.separators[0]);
|
|
12845
12794
|
}
|
|
12846
12795
|
return true;
|
|
12847
|
-
}, peg$
|
|
12796
|
+
}, peg$c138 = function(head, separator, rest) {
|
|
12848
12797
|
return [
|
|
12849
12798
|
{
|
|
12850
12799
|
name: "head",
|
|
@@ -12854,7 +12803,7 @@ var require_grammar = __commonJS({
|
|
|
12854
12803
|
separator,
|
|
12855
12804
|
...flattenDeep4(rest)
|
|
12856
12805
|
];
|
|
12857
|
-
}, peg$
|
|
12806
|
+
}, peg$c139 = function(rowtest, bseparator) {
|
|
12858
12807
|
return [
|
|
12859
12808
|
{
|
|
12860
12809
|
name: "row",
|
|
@@ -12863,53 +12812,53 @@ var require_grammar = __commonJS({
|
|
|
12863
12812
|
},
|
|
12864
12813
|
bseparator
|
|
12865
12814
|
];
|
|
12866
|
-
}, peg$
|
|
12815
|
+
}, peg$c140 = function(rest) {
|
|
12867
12816
|
return [...flattenDeep4(rest)];
|
|
12868
|
-
}, peg$c140 = function(vmargin, name, config) {
|
|
12869
|
-
return name === "table";
|
|
12870
12817
|
}, peg$c141 = function(vmargin, name, config) {
|
|
12818
|
+
return name === "table";
|
|
12819
|
+
}, peg$c142 = function(vmargin, name, config) {
|
|
12871
12820
|
options.isDelimited = true;
|
|
12872
12821
|
return true;
|
|
12873
|
-
}, peg$
|
|
12822
|
+
}, peg$c143 = function(vmargin, name, config, nodes) {
|
|
12874
12823
|
return nodes;
|
|
12875
|
-
}, peg$
|
|
12824
|
+
}, peg$c144 = function(vmargin, name, config, content4) {
|
|
12876
12825
|
return content4.some((n) => n && (n.name === "row" || n.name === "cell"));
|
|
12877
|
-
}, peg$
|
|
12826
|
+
}, peg$c145 = function(vmargin, name, config, content4, vmargin2, ename) {
|
|
12878
12827
|
return {
|
|
12879
12828
|
type: "block",
|
|
12880
12829
|
content: content4,
|
|
12881
12830
|
name,
|
|
12882
12831
|
margin: vmargin
|
|
12883
12832
|
};
|
|
12884
|
-
}, peg$
|
|
12833
|
+
}, peg$c146 = function(vmargin, name, config, content4, vmargin2, res) {
|
|
12885
12834
|
return {
|
|
12886
12835
|
...res,
|
|
12887
12836
|
text: text4(),
|
|
12888
12837
|
config,
|
|
12889
12838
|
location: location()
|
|
12890
12839
|
};
|
|
12891
|
-
}, peg$
|
|
12840
|
+
}, peg$c147 = function(vmargin, name, config) {
|
|
12892
12841
|
options.isDelimited = true;
|
|
12893
12842
|
return true;
|
|
12894
|
-
}, peg$
|
|
12843
|
+
}, peg$c148 = function(vmargin, name, config, t) {
|
|
12895
12844
|
return t;
|
|
12896
|
-
}, peg$
|
|
12845
|
+
}, peg$c149 = function(vmargin, name, config, content4, vmargin2, ename) {
|
|
12897
12846
|
return {
|
|
12898
12847
|
type: "block",
|
|
12899
12848
|
content: content4,
|
|
12900
12849
|
name,
|
|
12901
12850
|
margin: vmargin
|
|
12902
12851
|
};
|
|
12903
|
-
}, peg$
|
|
12852
|
+
}, peg$c150 = function(vmargin, name, config, content4, vmargin2, res) {
|
|
12904
12853
|
return {
|
|
12905
12854
|
...res,
|
|
12906
12855
|
text: text4(),
|
|
12907
12856
|
config,
|
|
12908
12857
|
location: location()
|
|
12909
12858
|
};
|
|
12910
|
-
}, peg$
|
|
12859
|
+
}, peg$c151 = function(vmargin, name, config, nodes) {
|
|
12911
12860
|
return nodes;
|
|
12912
|
-
}, peg$
|
|
12861
|
+
}, peg$c152 = function(vmargin, name, config, tvmargin, text5) {
|
|
12913
12862
|
const type = name.match(/pod|nested|item|code|defn/) && tvmargin.length - vmargin.length > 0 ? "code" : "para";
|
|
12914
12863
|
return {
|
|
12915
12864
|
text: text5,
|
|
@@ -12923,20 +12872,20 @@ var require_grammar = __commonJS({
|
|
|
12923
12872
|
],
|
|
12924
12873
|
location: location()
|
|
12925
12874
|
};
|
|
12926
|
-
}, peg$
|
|
12875
|
+
}, peg$c153 = function(vmargin, name, config, content4, vmargin2, ename) {
|
|
12927
12876
|
return {
|
|
12928
12877
|
type: "block",
|
|
12929
12878
|
content: content4,
|
|
12930
12879
|
name,
|
|
12931
12880
|
margin: vmargin
|
|
12932
12881
|
};
|
|
12933
|
-
}, peg$
|
|
12882
|
+
}, peg$c154 = function(vmargin, name, config, content4, vmargin2, res) {
|
|
12934
12883
|
return {
|
|
12935
12884
|
...res,
|
|
12936
12885
|
config,
|
|
12937
12886
|
location: location()
|
|
12938
12887
|
};
|
|
12939
|
-
}, peg$
|
|
12888
|
+
}, peg$c155 = function() {
|
|
12940
12889
|
return {
|
|
12941
12890
|
text: text4(),
|
|
12942
12891
|
type: "para",
|
|
@@ -12949,13 +12898,13 @@ var require_grammar = __commonJS({
|
|
|
12949
12898
|
],
|
|
12950
12899
|
location: location()
|
|
12951
12900
|
};
|
|
12952
|
-
}, peg$
|
|
12901
|
+
}, peg$c156 = function() {
|
|
12953
12902
|
return { empty: 1 };
|
|
12954
|
-
}, peg$
|
|
12903
|
+
}, peg$c157 = /^[s]/, peg$c158 = peg$classExpectation(["s"], false, false), peg$c159 = function(line) {
|
|
12955
12904
|
return { text: text4(), type: "ambient1" };
|
|
12956
|
-
}, peg$
|
|
12905
|
+
}, peg$c160 = function(vmargin, name) {
|
|
12957
12906
|
return name.match(/code|comment|formula|output|input|markdown|picture|toc|data/) || isNamedBlock2(name);
|
|
12958
|
-
}, peg$
|
|
12907
|
+
}, peg$c161 = function(vmargin, name, content4) {
|
|
12959
12908
|
return {
|
|
12960
12909
|
margin: vmargin,
|
|
12961
12910
|
type: "block",
|
|
@@ -12964,12 +12913,12 @@ var require_grammar = __commonJS({
|
|
|
12964
12913
|
config: [],
|
|
12965
12914
|
location: location()
|
|
12966
12915
|
};
|
|
12967
|
-
}, peg$c161 = function(vmargin, name) {
|
|
12968
|
-
return name === "table";
|
|
12969
12916
|
}, peg$c162 = function(vmargin, name) {
|
|
12917
|
+
return name === "table";
|
|
12918
|
+
}, peg$c163 = function(vmargin, name) {
|
|
12970
12919
|
options.isDelimited = false;
|
|
12971
12920
|
return true;
|
|
12972
|
-
}, peg$
|
|
12921
|
+
}, peg$c164 = function(vmargin, name, content4) {
|
|
12973
12922
|
return {
|
|
12974
12923
|
margin: vmargin,
|
|
12975
12924
|
type: "block",
|
|
@@ -12978,7 +12927,7 @@ var require_grammar = __commonJS({
|
|
|
12978
12927
|
config: [],
|
|
12979
12928
|
location: location()
|
|
12980
12929
|
};
|
|
12981
|
-
}, peg$
|
|
12930
|
+
}, peg$c165 = function(vmargin, name, first_line, content_rest) {
|
|
12982
12931
|
const content4 = (first_line === "\n" ? "" : first_line) + content_rest;
|
|
12983
12932
|
return {
|
|
12984
12933
|
margin: vmargin,
|
|
@@ -13000,23 +12949,23 @@ var require_grammar = __commonJS({
|
|
|
13000
12949
|
name,
|
|
13001
12950
|
location: location()
|
|
13002
12951
|
};
|
|
13003
|
-
}, peg$
|
|
12952
|
+
}, peg$c166 = "= ", peg$c167 = peg$literalExpectation("= ", false), peg$c168 = function(vmargin, marker, name, replacement) {
|
|
13004
12953
|
return {
|
|
13005
12954
|
name,
|
|
13006
12955
|
type: "alias",
|
|
13007
12956
|
replacement,
|
|
13008
12957
|
margin: vmargin
|
|
13009
12958
|
};
|
|
13010
|
-
}, peg$
|
|
12959
|
+
}, peg$c169 = /^[A-Z]/, peg$c170 = peg$classExpectation([["A", "Z"]], false, false), peg$c171 = "<>", peg$c172 = peg$literalExpectation("<>", false), peg$c173 = function(vmargin, marker, name, config) {
|
|
13011
12960
|
return {
|
|
13012
12961
|
name,
|
|
13013
12962
|
type: "config",
|
|
13014
12963
|
config,
|
|
13015
12964
|
margin: vmargin
|
|
13016
12965
|
};
|
|
13017
|
-
}, peg$
|
|
12966
|
+
}, peg$c174 = function(vmargin, marker, name, config) {
|
|
13018
12967
|
return name.match(/code|comment|formula|output|input|markdown|picture|toc|data/) || isNamedBlock2(name);
|
|
13019
|
-
}, peg$
|
|
12968
|
+
}, peg$c175 = function(vmargin, marker, name, config, content4) {
|
|
13020
12969
|
return {
|
|
13021
12970
|
type: "block",
|
|
13022
12971
|
content: content4 === "" ? [] : [{ type: "verbatim", value: content4 }],
|
|
@@ -13025,12 +12974,12 @@ var require_grammar = __commonJS({
|
|
|
13025
12974
|
config,
|
|
13026
12975
|
location: location()
|
|
13027
12976
|
};
|
|
13028
|
-
}, peg$c175 = function(vmargin, marker, name, config) {
|
|
13029
|
-
return name === "table";
|
|
13030
12977
|
}, peg$c176 = function(vmargin, marker, name, config) {
|
|
12978
|
+
return name === "table";
|
|
12979
|
+
}, peg$c177 = function(vmargin, marker, name, config) {
|
|
13031
12980
|
options.isDelimited = false;
|
|
13032
12981
|
return true;
|
|
13033
|
-
}, peg$
|
|
12982
|
+
}, peg$c178 = function(vmargin, marker, name, config, content4) {
|
|
13034
12983
|
return {
|
|
13035
12984
|
type: "block",
|
|
13036
12985
|
content: content4 === "" ? [] : content4,
|
|
@@ -13039,7 +12988,7 @@ var require_grammar = __commonJS({
|
|
|
13039
12988
|
config,
|
|
13040
12989
|
location: location()
|
|
13041
12990
|
};
|
|
13042
|
-
}, peg$
|
|
12991
|
+
}, peg$c179 = function(vmargin, marker, name, config, content4) {
|
|
13043
12992
|
return {
|
|
13044
12993
|
type: "block",
|
|
13045
12994
|
content: content4 === "" ? [] : [
|
|
@@ -13061,7 +13010,7 @@ var require_grammar = __commonJS({
|
|
|
13061
13010
|
config,
|
|
13062
13011
|
location: location()
|
|
13063
13012
|
};
|
|
13064
|
-
}, peg$
|
|
13013
|
+
}, peg$c180 = /^[a-zA-Z]/, peg$c181 = peg$classExpectation([["a", "z"], ["A", "Z"]], false, false), peg$c182 = peg$otherExpectation("whitespace"), peg$c183 = /^[\r\n \t\f]/, peg$c184 = peg$classExpectation(["\r", "\n", " ", " ", "\f"], false, false), peg$c185 = peg$otherExpectation("space characters"), peg$currPos = 0, peg$savedPos = 0, peg$posDetailsCache = [{ line: 1, column: 1 }], peg$maxFailPos = 0, peg$maxFailExpected = [], peg$silentFails = 0, peg$result;
|
|
13065
13014
|
if ("startRule" in options) {
|
|
13066
13015
|
if (!(options.startRule in peg$startRuleFunctions)) {
|
|
13067
13016
|
throw new Error(`Can't start parsing from rule "` + options.startRule + '".');
|
|
@@ -13180,6 +13129,37 @@ var require_grammar = __commonJS({
|
|
|
13180
13129
|
s0 = s1;
|
|
13181
13130
|
return s0;
|
|
13182
13131
|
}
|
|
13132
|
+
function peg$parseattributesOnly() {
|
|
13133
|
+
var s0, s1, s2, s3;
|
|
13134
|
+
s0 = peg$currPos;
|
|
13135
|
+
s1 = peg$parse_();
|
|
13136
|
+
if (s1 !== peg$FAILED) {
|
|
13137
|
+
s2 = [];
|
|
13138
|
+
s3 = peg$parseattributes();
|
|
13139
|
+
while (s3 !== peg$FAILED) {
|
|
13140
|
+
s2.push(s3);
|
|
13141
|
+
s3 = peg$parseattributes();
|
|
13142
|
+
}
|
|
13143
|
+
if (s2 !== peg$FAILED) {
|
|
13144
|
+
s3 = peg$parse_();
|
|
13145
|
+
if (s3 !== peg$FAILED) {
|
|
13146
|
+
peg$savedPos = s0;
|
|
13147
|
+
s1 = peg$c1(s2);
|
|
13148
|
+
s0 = s1;
|
|
13149
|
+
} else {
|
|
13150
|
+
peg$currPos = s0;
|
|
13151
|
+
s0 = peg$FAILED;
|
|
13152
|
+
}
|
|
13153
|
+
} else {
|
|
13154
|
+
peg$currPos = s0;
|
|
13155
|
+
s0 = peg$FAILED;
|
|
13156
|
+
}
|
|
13157
|
+
} else {
|
|
13158
|
+
peg$currPos = s0;
|
|
13159
|
+
s0 = peg$FAILED;
|
|
13160
|
+
}
|
|
13161
|
+
return s0;
|
|
13162
|
+
}
|
|
13183
13163
|
function peg$parseElement() {
|
|
13184
13164
|
var s0, s1, s2, s3, s4, s5, s6, s7;
|
|
13185
13165
|
s0 = peg$parsedelimitedBlockRaw();
|
|
@@ -13208,7 +13188,7 @@ var require_grammar = __commonJS({
|
|
|
13208
13188
|
if (s0 === peg$FAILED) {
|
|
13209
13189
|
s0 = peg$currPos;
|
|
13210
13190
|
peg$savedPos = peg$currPos;
|
|
13211
|
-
s1 = peg$
|
|
13191
|
+
s1 = peg$c2();
|
|
13212
13192
|
if (s1) {
|
|
13213
13193
|
s1 = void 0;
|
|
13214
13194
|
} else {
|
|
@@ -13224,7 +13204,7 @@ var require_grammar = __commonJS({
|
|
|
13224
13204
|
}
|
|
13225
13205
|
if (s2 !== peg$FAILED) {
|
|
13226
13206
|
peg$savedPos = s0;
|
|
13227
|
-
s1 = peg$
|
|
13207
|
+
s1 = peg$c3(s2);
|
|
13228
13208
|
s0 = s1;
|
|
13229
13209
|
} else {
|
|
13230
13210
|
peg$currPos = s0;
|
|
@@ -13273,7 +13253,7 @@ var require_grammar = __commonJS({
|
|
|
13273
13253
|
} else {
|
|
13274
13254
|
s5 = peg$FAILED;
|
|
13275
13255
|
if (peg$silentFails === 0) {
|
|
13276
|
-
peg$fail(peg$
|
|
13256
|
+
peg$fail(peg$c4);
|
|
13277
13257
|
}
|
|
13278
13258
|
}
|
|
13279
13259
|
if (s5 !== peg$FAILED) {
|
|
@@ -13325,7 +13305,7 @@ var require_grammar = __commonJS({
|
|
|
13325
13305
|
} else {
|
|
13326
13306
|
s5 = peg$FAILED;
|
|
13327
13307
|
if (peg$silentFails === 0) {
|
|
13328
|
-
peg$fail(peg$
|
|
13308
|
+
peg$fail(peg$c4);
|
|
13329
13309
|
}
|
|
13330
13310
|
}
|
|
13331
13311
|
if (s5 !== peg$FAILED) {
|
|
@@ -13350,7 +13330,7 @@ var require_grammar = __commonJS({
|
|
|
13350
13330
|
}
|
|
13351
13331
|
if (s1 !== peg$FAILED) {
|
|
13352
13332
|
peg$savedPos = s0;
|
|
13353
|
-
s1 = peg$
|
|
13333
|
+
s1 = peg$c5();
|
|
13354
13334
|
}
|
|
13355
13335
|
s0 = s1;
|
|
13356
13336
|
}
|
|
@@ -13370,13 +13350,13 @@ var require_grammar = __commonJS({
|
|
|
13370
13350
|
}
|
|
13371
13351
|
function peg$parsehs() {
|
|
13372
13352
|
var s0;
|
|
13373
|
-
if (peg$
|
|
13353
|
+
if (peg$c6.test(input.charAt(peg$currPos))) {
|
|
13374
13354
|
s0 = input.charAt(peg$currPos);
|
|
13375
13355
|
peg$currPos++;
|
|
13376
13356
|
} else {
|
|
13377
13357
|
s0 = peg$FAILED;
|
|
13378
13358
|
if (peg$silentFails === 0) {
|
|
13379
|
-
peg$fail(peg$
|
|
13359
|
+
peg$fail(peg$c7);
|
|
13380
13360
|
}
|
|
13381
13361
|
}
|
|
13382
13362
|
return s0;
|
|
@@ -13384,24 +13364,24 @@ var require_grammar = __commonJS({
|
|
|
13384
13364
|
function peg$parse_() {
|
|
13385
13365
|
var s0, s1;
|
|
13386
13366
|
s0 = [];
|
|
13387
|
-
if (peg$
|
|
13367
|
+
if (peg$c8.test(input.charAt(peg$currPos))) {
|
|
13388
13368
|
s1 = input.charAt(peg$currPos);
|
|
13389
13369
|
peg$currPos++;
|
|
13390
13370
|
} else {
|
|
13391
13371
|
s1 = peg$FAILED;
|
|
13392
13372
|
if (peg$silentFails === 0) {
|
|
13393
|
-
peg$fail(peg$
|
|
13373
|
+
peg$fail(peg$c9);
|
|
13394
13374
|
}
|
|
13395
13375
|
}
|
|
13396
13376
|
while (s1 !== peg$FAILED) {
|
|
13397
13377
|
s0.push(s1);
|
|
13398
|
-
if (peg$
|
|
13378
|
+
if (peg$c8.test(input.charAt(peg$currPos))) {
|
|
13399
13379
|
s1 = input.charAt(peg$currPos);
|
|
13400
13380
|
peg$currPos++;
|
|
13401
13381
|
} else {
|
|
13402
13382
|
s1 = peg$FAILED;
|
|
13403
13383
|
if (peg$silentFails === 0) {
|
|
13404
|
-
peg$fail(peg$
|
|
13384
|
+
peg$fail(peg$c9);
|
|
13405
13385
|
}
|
|
13406
13386
|
}
|
|
13407
13387
|
}
|
|
@@ -13418,13 +13398,13 @@ var require_grammar = __commonJS({
|
|
|
13418
13398
|
s3 = peg$parsehs();
|
|
13419
13399
|
}
|
|
13420
13400
|
if (s2 !== peg$FAILED) {
|
|
13421
|
-
if (peg$
|
|
13401
|
+
if (peg$c10.test(input.charAt(peg$currPos))) {
|
|
13422
13402
|
s3 = input.charAt(peg$currPos);
|
|
13423
13403
|
peg$currPos++;
|
|
13424
13404
|
} else {
|
|
13425
13405
|
s3 = peg$FAILED;
|
|
13426
13406
|
if (peg$silentFails === 0) {
|
|
13427
|
-
peg$fail(peg$
|
|
13407
|
+
peg$fail(peg$c11);
|
|
13428
13408
|
}
|
|
13429
13409
|
}
|
|
13430
13410
|
if (s3 !== peg$FAILED) {
|
|
@@ -13468,7 +13448,7 @@ var require_grammar = __commonJS({
|
|
|
13468
13448
|
s2 = peg$parseEOL();
|
|
13469
13449
|
if (s2 !== peg$FAILED) {
|
|
13470
13450
|
peg$savedPos = s0;
|
|
13471
|
-
s1 = peg$
|
|
13451
|
+
s1 = peg$c12(s1);
|
|
13472
13452
|
s0 = s1;
|
|
13473
13453
|
} else {
|
|
13474
13454
|
peg$currPos = s0;
|
|
@@ -13482,13 +13462,13 @@ var require_grammar = __commonJS({
|
|
|
13482
13462
|
}
|
|
13483
13463
|
function peg$parsechar() {
|
|
13484
13464
|
var s0;
|
|
13485
|
-
if (peg$
|
|
13465
|
+
if (peg$c13.test(input.charAt(peg$currPos))) {
|
|
13486
13466
|
s0 = input.charAt(peg$currPos);
|
|
13487
13467
|
peg$currPos++;
|
|
13488
13468
|
} else {
|
|
13489
13469
|
s0 = peg$FAILED;
|
|
13490
13470
|
if (peg$silentFails === 0) {
|
|
13491
|
-
peg$fail(peg$
|
|
13471
|
+
peg$fail(peg$c14);
|
|
13492
13472
|
}
|
|
13493
13473
|
}
|
|
13494
13474
|
return s0;
|
|
@@ -13496,33 +13476,33 @@ var require_grammar = __commonJS({
|
|
|
13496
13476
|
function peg$parsenewline() {
|
|
13497
13477
|
var s0, s1, s2;
|
|
13498
13478
|
if (input.charCodeAt(peg$currPos) === 10) {
|
|
13499
|
-
s0 = peg$
|
|
13479
|
+
s0 = peg$c15;
|
|
13500
13480
|
peg$currPos++;
|
|
13501
13481
|
} else {
|
|
13502
13482
|
s0 = peg$FAILED;
|
|
13503
13483
|
if (peg$silentFails === 0) {
|
|
13504
|
-
peg$fail(peg$
|
|
13484
|
+
peg$fail(peg$c16);
|
|
13505
13485
|
}
|
|
13506
13486
|
}
|
|
13507
13487
|
if (s0 === peg$FAILED) {
|
|
13508
13488
|
s0 = peg$currPos;
|
|
13509
13489
|
if (input.charCodeAt(peg$currPos) === 13) {
|
|
13510
|
-
s1 = peg$
|
|
13490
|
+
s1 = peg$c17;
|
|
13511
13491
|
peg$currPos++;
|
|
13512
13492
|
} else {
|
|
13513
13493
|
s1 = peg$FAILED;
|
|
13514
13494
|
if (peg$silentFails === 0) {
|
|
13515
|
-
peg$fail(peg$
|
|
13495
|
+
peg$fail(peg$c18);
|
|
13516
13496
|
}
|
|
13517
13497
|
}
|
|
13518
13498
|
if (s1 !== peg$FAILED) {
|
|
13519
13499
|
if (input.charCodeAt(peg$currPos) === 10) {
|
|
13520
|
-
s2 = peg$
|
|
13500
|
+
s2 = peg$c15;
|
|
13521
13501
|
peg$currPos++;
|
|
13522
13502
|
} else {
|
|
13523
13503
|
s2 = peg$FAILED;
|
|
13524
13504
|
if (peg$silentFails === 0) {
|
|
13525
|
-
peg$fail(peg$
|
|
13505
|
+
peg$fail(peg$c16);
|
|
13526
13506
|
}
|
|
13527
13507
|
}
|
|
13528
13508
|
if (s2 === peg$FAILED) {
|
|
@@ -13554,7 +13534,7 @@ var require_grammar = __commonJS({
|
|
|
13554
13534
|
} else {
|
|
13555
13535
|
s1 = peg$FAILED;
|
|
13556
13536
|
if (peg$silentFails === 0) {
|
|
13557
|
-
peg$fail(peg$
|
|
13537
|
+
peg$fail(peg$c4);
|
|
13558
13538
|
}
|
|
13559
13539
|
}
|
|
13560
13540
|
peg$silentFails--;
|
|
@@ -13578,13 +13558,13 @@ var require_grammar = __commonJS({
|
|
|
13578
13558
|
s3 = peg$parsehs();
|
|
13579
13559
|
}
|
|
13580
13560
|
if (s2 !== peg$FAILED) {
|
|
13581
|
-
if (peg$
|
|
13561
|
+
if (peg$c10.test(input.charAt(peg$currPos))) {
|
|
13582
13562
|
s3 = input.charAt(peg$currPos);
|
|
13583
13563
|
peg$currPos++;
|
|
13584
13564
|
} else {
|
|
13585
13565
|
s3 = peg$FAILED;
|
|
13586
13566
|
if (peg$silentFails === 0) {
|
|
13587
|
-
peg$fail(peg$
|
|
13567
|
+
peg$fail(peg$c11);
|
|
13588
13568
|
}
|
|
13589
13569
|
}
|
|
13590
13570
|
if (s3 !== peg$FAILED) {
|
|
@@ -13617,13 +13597,13 @@ var require_grammar = __commonJS({
|
|
|
13617
13597
|
s4 = peg$parsehs();
|
|
13618
13598
|
}
|
|
13619
13599
|
if (s3 !== peg$FAILED) {
|
|
13620
|
-
if (peg$
|
|
13600
|
+
if (peg$c10.test(input.charAt(peg$currPos))) {
|
|
13621
13601
|
s4 = input.charAt(peg$currPos);
|
|
13622
13602
|
peg$currPos++;
|
|
13623
13603
|
} else {
|
|
13624
13604
|
s4 = peg$FAILED;
|
|
13625
13605
|
if (peg$silentFails === 0) {
|
|
13626
|
-
peg$fail(peg$
|
|
13606
|
+
peg$fail(peg$c11);
|
|
13627
13607
|
}
|
|
13628
13608
|
}
|
|
13629
13609
|
if (s4 !== peg$FAILED) {
|
|
@@ -13644,72 +13624,72 @@ var require_grammar = __commonJS({
|
|
|
13644
13624
|
}
|
|
13645
13625
|
if (s1 !== peg$FAILED) {
|
|
13646
13626
|
peg$savedPos = s0;
|
|
13647
|
-
s1 = peg$
|
|
13627
|
+
s1 = peg$c19();
|
|
13648
13628
|
}
|
|
13649
13629
|
s0 = s1;
|
|
13650
13630
|
return s0;
|
|
13651
13631
|
}
|
|
13652
13632
|
function peg$parsemarkerBegin() {
|
|
13653
13633
|
var s0;
|
|
13654
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
13655
|
-
s0 = peg$
|
|
13634
|
+
if (input.substr(peg$currPos, 7) === peg$c20) {
|
|
13635
|
+
s0 = peg$c20;
|
|
13656
13636
|
peg$currPos += 7;
|
|
13657
13637
|
} else {
|
|
13658
13638
|
s0 = peg$FAILED;
|
|
13659
13639
|
if (peg$silentFails === 0) {
|
|
13660
|
-
peg$fail(peg$
|
|
13640
|
+
peg$fail(peg$c21);
|
|
13661
13641
|
}
|
|
13662
13642
|
}
|
|
13663
13643
|
return s0;
|
|
13664
13644
|
}
|
|
13665
13645
|
function peg$parsemarkerEnd() {
|
|
13666
13646
|
var s0;
|
|
13667
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
13668
|
-
s0 = peg$
|
|
13647
|
+
if (input.substr(peg$currPos, 5) === peg$c22) {
|
|
13648
|
+
s0 = peg$c22;
|
|
13669
13649
|
peg$currPos += 5;
|
|
13670
13650
|
} else {
|
|
13671
13651
|
s0 = peg$FAILED;
|
|
13672
13652
|
if (peg$silentFails === 0) {
|
|
13673
|
-
peg$fail(peg$
|
|
13653
|
+
peg$fail(peg$c23);
|
|
13674
13654
|
}
|
|
13675
13655
|
}
|
|
13676
13656
|
return s0;
|
|
13677
13657
|
}
|
|
13678
13658
|
function peg$parsemarkerFor() {
|
|
13679
13659
|
var s0;
|
|
13680
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
13681
|
-
s0 = peg$
|
|
13660
|
+
if (input.substr(peg$currPos, 5) === peg$c24) {
|
|
13661
|
+
s0 = peg$c24;
|
|
13682
13662
|
peg$currPos += 5;
|
|
13683
13663
|
} else {
|
|
13684
13664
|
s0 = peg$FAILED;
|
|
13685
13665
|
if (peg$silentFails === 0) {
|
|
13686
|
-
peg$fail(peg$
|
|
13666
|
+
peg$fail(peg$c25);
|
|
13687
13667
|
}
|
|
13688
13668
|
}
|
|
13689
13669
|
return s0;
|
|
13690
13670
|
}
|
|
13691
13671
|
function peg$parsemarkerConfig() {
|
|
13692
13672
|
var s0;
|
|
13693
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
13694
|
-
s0 = peg$
|
|
13673
|
+
if (input.substr(peg$currPos, 7) === peg$c26) {
|
|
13674
|
+
s0 = peg$c26;
|
|
13695
13675
|
peg$currPos += 7;
|
|
13696
13676
|
} else {
|
|
13697
13677
|
s0 = peg$FAILED;
|
|
13698
13678
|
if (peg$silentFails === 0) {
|
|
13699
|
-
peg$fail(peg$
|
|
13679
|
+
peg$fail(peg$c27);
|
|
13700
13680
|
}
|
|
13701
13681
|
}
|
|
13702
13682
|
return s0;
|
|
13703
13683
|
}
|
|
13704
13684
|
function peg$parsemarkerAlias() {
|
|
13705
13685
|
var s0;
|
|
13706
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
13707
|
-
s0 = peg$
|
|
13686
|
+
if (input.substr(peg$currPos, 6) === peg$c28) {
|
|
13687
|
+
s0 = peg$c28;
|
|
13708
13688
|
peg$currPos += 6;
|
|
13709
13689
|
} else {
|
|
13710
13690
|
s0 = peg$FAILED;
|
|
13711
13691
|
if (peg$silentFails === 0) {
|
|
13712
|
-
peg$fail(peg$
|
|
13692
|
+
peg$fail(peg$c29);
|
|
13713
13693
|
}
|
|
13714
13694
|
}
|
|
13715
13695
|
return s0;
|
|
@@ -13720,7 +13700,7 @@ var require_grammar = __commonJS({
|
|
|
13720
13700
|
s1 = peg$parseidentifier();
|
|
13721
13701
|
if (s1 !== peg$FAILED) {
|
|
13722
13702
|
peg$savedPos = peg$currPos;
|
|
13723
|
-
s2 = peg$
|
|
13703
|
+
s2 = peg$c30(s1);
|
|
13724
13704
|
if (s2) {
|
|
13725
13705
|
s2 = void 0;
|
|
13726
13706
|
} else {
|
|
@@ -13728,7 +13708,7 @@ var require_grammar = __commonJS({
|
|
|
13728
13708
|
}
|
|
13729
13709
|
if (s2 !== peg$FAILED) {
|
|
13730
13710
|
peg$savedPos = s0;
|
|
13731
|
-
s1 = peg$
|
|
13711
|
+
s1 = peg$c31(s1);
|
|
13732
13712
|
s0 = s1;
|
|
13733
13713
|
} else {
|
|
13734
13714
|
peg$currPos = s0;
|
|
@@ -13744,19 +13724,19 @@ var require_grammar = __commonJS({
|
|
|
13744
13724
|
var s0, s1, s2;
|
|
13745
13725
|
s0 = peg$currPos;
|
|
13746
13726
|
if (input.charCodeAt(peg$currPos) === 61) {
|
|
13747
|
-
s1 = peg$
|
|
13727
|
+
s1 = peg$c32;
|
|
13748
13728
|
peg$currPos++;
|
|
13749
13729
|
} else {
|
|
13750
13730
|
s1 = peg$FAILED;
|
|
13751
13731
|
if (peg$silentFails === 0) {
|
|
13752
|
-
peg$fail(peg$
|
|
13732
|
+
peg$fail(peg$c33);
|
|
13753
13733
|
}
|
|
13754
13734
|
}
|
|
13755
13735
|
if (s1 !== peg$FAILED) {
|
|
13756
13736
|
s2 = peg$parsestrictIdentifier();
|
|
13757
13737
|
if (s2 !== peg$FAILED) {
|
|
13758
13738
|
peg$savedPos = s0;
|
|
13759
|
-
s1 = peg$
|
|
13739
|
+
s1 = peg$c31(s2);
|
|
13760
13740
|
s0 = s1;
|
|
13761
13741
|
} else {
|
|
13762
13742
|
peg$currPos = s0;
|
|
@@ -13808,7 +13788,7 @@ var require_grammar = __commonJS({
|
|
|
13808
13788
|
if (s0 === peg$FAILED) {
|
|
13809
13789
|
s1 = peg$FAILED;
|
|
13810
13790
|
if (peg$silentFails === 0) {
|
|
13811
|
-
peg$fail(peg$
|
|
13791
|
+
peg$fail(peg$c34);
|
|
13812
13792
|
}
|
|
13813
13793
|
}
|
|
13814
13794
|
return s0;
|
|
@@ -13887,7 +13867,7 @@ var require_grammar = __commonJS({
|
|
|
13887
13867
|
s3 = peg$parseEOL();
|
|
13888
13868
|
if (s3 !== peg$FAILED) {
|
|
13889
13869
|
peg$savedPos = s0;
|
|
13890
|
-
s1 = peg$
|
|
13870
|
+
s1 = peg$c35();
|
|
13891
13871
|
s0 = s1;
|
|
13892
13872
|
} else {
|
|
13893
13873
|
peg$currPos = s0;
|
|
@@ -13926,7 +13906,7 @@ var require_grammar = __commonJS({
|
|
|
13926
13906
|
s2 = peg$parseEOL();
|
|
13927
13907
|
if (s2 !== peg$FAILED) {
|
|
13928
13908
|
peg$savedPos = s0;
|
|
13929
|
-
s1 = peg$
|
|
13909
|
+
s1 = peg$c35();
|
|
13930
13910
|
s0 = s1;
|
|
13931
13911
|
} else {
|
|
13932
13912
|
peg$currPos = s0;
|
|
@@ -13961,7 +13941,7 @@ var require_grammar = __commonJS({
|
|
|
13961
13941
|
} else {
|
|
13962
13942
|
s5 = peg$FAILED;
|
|
13963
13943
|
if (peg$silentFails === 0) {
|
|
13964
|
-
peg$fail(peg$
|
|
13944
|
+
peg$fail(peg$c4);
|
|
13965
13945
|
}
|
|
13966
13946
|
}
|
|
13967
13947
|
if (s5 !== peg$FAILED) {
|
|
@@ -13996,7 +13976,7 @@ var require_grammar = __commonJS({
|
|
|
13996
13976
|
} else {
|
|
13997
13977
|
s5 = peg$FAILED;
|
|
13998
13978
|
if (peg$silentFails === 0) {
|
|
13999
|
-
peg$fail(peg$
|
|
13979
|
+
peg$fail(peg$c4);
|
|
14000
13980
|
}
|
|
14001
13981
|
}
|
|
14002
13982
|
if (s5 !== peg$FAILED) {
|
|
@@ -14023,7 +14003,7 @@ var require_grammar = __commonJS({
|
|
|
14023
14003
|
s2 = peg$parseEOL();
|
|
14024
14004
|
if (s2 !== peg$FAILED) {
|
|
14025
14005
|
peg$savedPos = s0;
|
|
14026
|
-
s1 = peg$
|
|
14006
|
+
s1 = peg$c36();
|
|
14027
14007
|
s0 = s1;
|
|
14028
14008
|
} else {
|
|
14029
14009
|
peg$currPos = s0;
|
|
@@ -14054,7 +14034,7 @@ var require_grammar = __commonJS({
|
|
|
14054
14034
|
s3 = peg$parsearray_codes();
|
|
14055
14035
|
if (s3 !== peg$FAILED) {
|
|
14056
14036
|
peg$savedPos = s0;
|
|
14057
|
-
s1 = peg$
|
|
14037
|
+
s1 = peg$c37(s1, s3);
|
|
14058
14038
|
s0 = s1;
|
|
14059
14039
|
} else {
|
|
14060
14040
|
peg$currPos = s0;
|
|
@@ -14073,7 +14053,7 @@ var require_grammar = __commonJS({
|
|
|
14073
14053
|
s1 = peg$parseFCode();
|
|
14074
14054
|
if (s1 !== peg$FAILED) {
|
|
14075
14055
|
peg$savedPos = s0;
|
|
14076
|
-
s1 = peg$
|
|
14056
|
+
s1 = peg$c38(s1);
|
|
14077
14057
|
}
|
|
14078
14058
|
s0 = s1;
|
|
14079
14059
|
}
|
|
@@ -14110,12 +14090,12 @@ var require_grammar = __commonJS({
|
|
|
14110
14090
|
s3 = peg$parse_();
|
|
14111
14091
|
if (s3 !== peg$FAILED) {
|
|
14112
14092
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
14113
|
-
s4 = peg$
|
|
14093
|
+
s4 = peg$c39;
|
|
14114
14094
|
peg$currPos++;
|
|
14115
14095
|
} else {
|
|
14116
14096
|
s4 = peg$FAILED;
|
|
14117
14097
|
if (peg$silentFails === 0) {
|
|
14118
|
-
peg$fail(peg$
|
|
14098
|
+
peg$fail(peg$c40);
|
|
14119
14099
|
}
|
|
14120
14100
|
}
|
|
14121
14101
|
if (s4 !== peg$FAILED) {
|
|
@@ -14140,7 +14120,7 @@ var require_grammar = __commonJS({
|
|
|
14140
14120
|
s3 = peg$parsearray_items();
|
|
14141
14121
|
if (s3 !== peg$FAILED) {
|
|
14142
14122
|
peg$savedPos = s0;
|
|
14143
|
-
s1 = peg$
|
|
14123
|
+
s1 = peg$c41(s1, s3);
|
|
14144
14124
|
s0 = s1;
|
|
14145
14125
|
} else {
|
|
14146
14126
|
peg$currPos = s0;
|
|
@@ -14159,7 +14139,7 @@ var require_grammar = __commonJS({
|
|
|
14159
14139
|
s1 = peg$parseitem();
|
|
14160
14140
|
if (s1 !== peg$FAILED) {
|
|
14161
14141
|
peg$savedPos = s0;
|
|
14162
|
-
s1 = peg$
|
|
14142
|
+
s1 = peg$c38(s1);
|
|
14163
14143
|
}
|
|
14164
14144
|
s0 = s1;
|
|
14165
14145
|
}
|
|
@@ -14170,25 +14150,25 @@ var require_grammar = __commonJS({
|
|
|
14170
14150
|
s0 = peg$currPos;
|
|
14171
14151
|
s1 = peg$currPos;
|
|
14172
14152
|
s2 = [];
|
|
14173
|
-
if (peg$
|
|
14153
|
+
if (peg$c42.test(input.charAt(peg$currPos))) {
|
|
14174
14154
|
s3 = input.charAt(peg$currPos);
|
|
14175
14155
|
peg$currPos++;
|
|
14176
14156
|
} else {
|
|
14177
14157
|
s3 = peg$FAILED;
|
|
14178
14158
|
if (peg$silentFails === 0) {
|
|
14179
|
-
peg$fail(peg$
|
|
14159
|
+
peg$fail(peg$c43);
|
|
14180
14160
|
}
|
|
14181
14161
|
}
|
|
14182
14162
|
if (s3 !== peg$FAILED) {
|
|
14183
14163
|
while (s3 !== peg$FAILED) {
|
|
14184
14164
|
s2.push(s3);
|
|
14185
|
-
if (peg$
|
|
14165
|
+
if (peg$c42.test(input.charAt(peg$currPos))) {
|
|
14186
14166
|
s3 = input.charAt(peg$currPos);
|
|
14187
14167
|
peg$currPos++;
|
|
14188
14168
|
} else {
|
|
14189
14169
|
s3 = peg$FAILED;
|
|
14190
14170
|
if (peg$silentFails === 0) {
|
|
14191
|
-
peg$fail(peg$
|
|
14171
|
+
peg$fail(peg$c43);
|
|
14192
14172
|
}
|
|
14193
14173
|
}
|
|
14194
14174
|
}
|
|
@@ -14197,24 +14177,24 @@ var require_grammar = __commonJS({
|
|
|
14197
14177
|
}
|
|
14198
14178
|
if (s2 !== peg$FAILED) {
|
|
14199
14179
|
s3 = [];
|
|
14200
|
-
if (peg$
|
|
14180
|
+
if (peg$c44.test(input.charAt(peg$currPos))) {
|
|
14201
14181
|
s4 = input.charAt(peg$currPos);
|
|
14202
14182
|
peg$currPos++;
|
|
14203
14183
|
} else {
|
|
14204
14184
|
s4 = peg$FAILED;
|
|
14205
14185
|
if (peg$silentFails === 0) {
|
|
14206
|
-
peg$fail(peg$
|
|
14186
|
+
peg$fail(peg$c45);
|
|
14207
14187
|
}
|
|
14208
14188
|
}
|
|
14209
14189
|
while (s4 !== peg$FAILED) {
|
|
14210
14190
|
s3.push(s4);
|
|
14211
|
-
if (peg$
|
|
14191
|
+
if (peg$c44.test(input.charAt(peg$currPos))) {
|
|
14212
14192
|
s4 = input.charAt(peg$currPos);
|
|
14213
14193
|
peg$currPos++;
|
|
14214
14194
|
} else {
|
|
14215
14195
|
s4 = peg$FAILED;
|
|
14216
14196
|
if (peg$silentFails === 0) {
|
|
14217
|
-
peg$fail(peg$
|
|
14197
|
+
peg$fail(peg$c45);
|
|
14218
14198
|
}
|
|
14219
14199
|
}
|
|
14220
14200
|
}
|
|
@@ -14244,22 +14224,22 @@ var require_grammar = __commonJS({
|
|
|
14244
14224
|
s2 = peg$parse_();
|
|
14245
14225
|
if (s2 !== peg$FAILED) {
|
|
14246
14226
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
14247
|
-
s3 = peg$
|
|
14227
|
+
s3 = peg$c39;
|
|
14248
14228
|
peg$currPos++;
|
|
14249
14229
|
} else {
|
|
14250
14230
|
s3 = peg$FAILED;
|
|
14251
14231
|
if (peg$silentFails === 0) {
|
|
14252
|
-
peg$fail(peg$
|
|
14232
|
+
peg$fail(peg$c40);
|
|
14253
14233
|
}
|
|
14254
14234
|
}
|
|
14255
14235
|
if (s3 === peg$FAILED) {
|
|
14256
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
14257
|
-
s3 = peg$
|
|
14236
|
+
if (input.substr(peg$currPos, 2) === peg$c46) {
|
|
14237
|
+
s3 = peg$c46;
|
|
14258
14238
|
peg$currPos += 2;
|
|
14259
14239
|
} else {
|
|
14260
14240
|
s3 = peg$FAILED;
|
|
14261
14241
|
if (peg$silentFails === 0) {
|
|
14262
|
-
peg$fail(peg$
|
|
14242
|
+
peg$fail(peg$c47);
|
|
14263
14243
|
}
|
|
14264
14244
|
}
|
|
14265
14245
|
}
|
|
@@ -14269,7 +14249,7 @@ var require_grammar = __commonJS({
|
|
|
14269
14249
|
s5 = peg$parseitem();
|
|
14270
14250
|
if (s5 !== peg$FAILED) {
|
|
14271
14251
|
peg$savedPos = s0;
|
|
14272
|
-
s1 = peg$
|
|
14252
|
+
s1 = peg$c48(s1, s5);
|
|
14273
14253
|
s0 = s1;
|
|
14274
14254
|
} else {
|
|
14275
14255
|
peg$currPos = s0;
|
|
@@ -14301,12 +14281,12 @@ var require_grammar = __commonJS({
|
|
|
14301
14281
|
s2 = peg$parse_();
|
|
14302
14282
|
if (s2 !== peg$FAILED) {
|
|
14303
14283
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
14304
|
-
s3 = peg$
|
|
14284
|
+
s3 = peg$c39;
|
|
14305
14285
|
peg$currPos++;
|
|
14306
14286
|
} else {
|
|
14307
14287
|
s3 = peg$FAILED;
|
|
14308
14288
|
if (peg$silentFails === 0) {
|
|
14309
|
-
peg$fail(peg$
|
|
14289
|
+
peg$fail(peg$c40);
|
|
14310
14290
|
}
|
|
14311
14291
|
}
|
|
14312
14292
|
if (s3 !== peg$FAILED) {
|
|
@@ -14315,7 +14295,7 @@ var require_grammar = __commonJS({
|
|
|
14315
14295
|
s5 = peg$parsearray_pairs();
|
|
14316
14296
|
if (s5 !== peg$FAILED) {
|
|
14317
14297
|
peg$savedPos = s0;
|
|
14318
|
-
s1 = peg$
|
|
14298
|
+
s1 = peg$c49(s1, s5);
|
|
14319
14299
|
s0 = s1;
|
|
14320
14300
|
} else {
|
|
14321
14301
|
peg$currPos = s0;
|
|
@@ -14342,7 +14322,7 @@ var require_grammar = __commonJS({
|
|
|
14342
14322
|
s1 = peg$parsepair_item();
|
|
14343
14323
|
if (s1 !== peg$FAILED) {
|
|
14344
14324
|
peg$savedPos = s0;
|
|
14345
|
-
s1 = peg$
|
|
14325
|
+
s1 = peg$c50(s1);
|
|
14346
14326
|
}
|
|
14347
14327
|
s0 = s1;
|
|
14348
14328
|
}
|
|
@@ -14354,33 +14334,33 @@ var require_grammar = __commonJS({
|
|
|
14354
14334
|
s1 = peg$parse_();
|
|
14355
14335
|
if (s1 !== peg$FAILED) {
|
|
14356
14336
|
if (input.charCodeAt(peg$currPos) === 58) {
|
|
14357
|
-
s2 = peg$
|
|
14337
|
+
s2 = peg$c51;
|
|
14358
14338
|
peg$currPos++;
|
|
14359
14339
|
} else {
|
|
14360
14340
|
s2 = peg$FAILED;
|
|
14361
14341
|
if (peg$silentFails === 0) {
|
|
14362
|
-
peg$fail(peg$
|
|
14342
|
+
peg$fail(peg$c52);
|
|
14363
14343
|
}
|
|
14364
14344
|
}
|
|
14365
14345
|
if (s2 !== peg$FAILED) {
|
|
14366
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
14367
|
-
s3 = peg$
|
|
14346
|
+
if (input.substr(peg$currPos, 5) === peg$c53) {
|
|
14347
|
+
s3 = peg$c53;
|
|
14368
14348
|
peg$currPos += 5;
|
|
14369
14349
|
} else {
|
|
14370
14350
|
s3 = peg$FAILED;
|
|
14371
14351
|
if (peg$silentFails === 0) {
|
|
14372
|
-
peg$fail(peg$
|
|
14352
|
+
peg$fail(peg$c54);
|
|
14373
14353
|
}
|
|
14374
14354
|
}
|
|
14375
14355
|
if (s3 !== peg$FAILED) {
|
|
14376
14356
|
s4 = peg$currPos;
|
|
14377
14357
|
if (input.charCodeAt(peg$currPos) === 60) {
|
|
14378
|
-
s5 = peg$
|
|
14358
|
+
s5 = peg$c55;
|
|
14379
14359
|
peg$currPos++;
|
|
14380
14360
|
} else {
|
|
14381
14361
|
s5 = peg$FAILED;
|
|
14382
14362
|
if (peg$silentFails === 0) {
|
|
14383
|
-
peg$fail(peg$
|
|
14363
|
+
peg$fail(peg$c56);
|
|
14384
14364
|
}
|
|
14385
14365
|
}
|
|
14386
14366
|
if (s5 !== peg$FAILED) {
|
|
@@ -14391,17 +14371,17 @@ var require_grammar = __commonJS({
|
|
|
14391
14371
|
s8 = peg$parse_();
|
|
14392
14372
|
if (s8 !== peg$FAILED) {
|
|
14393
14373
|
if (input.charCodeAt(peg$currPos) === 62) {
|
|
14394
|
-
s9 = peg$
|
|
14374
|
+
s9 = peg$c57;
|
|
14395
14375
|
peg$currPos++;
|
|
14396
14376
|
} else {
|
|
14397
14377
|
s9 = peg$FAILED;
|
|
14398
14378
|
if (peg$silentFails === 0) {
|
|
14399
|
-
peg$fail(peg$
|
|
14379
|
+
peg$fail(peg$c58);
|
|
14400
14380
|
}
|
|
14401
14381
|
}
|
|
14402
14382
|
if (s9 !== peg$FAILED) {
|
|
14403
14383
|
peg$savedPos = s4;
|
|
14404
|
-
s5 = peg$
|
|
14384
|
+
s5 = peg$c59(s3, s7);
|
|
14405
14385
|
s4 = s5;
|
|
14406
14386
|
} else {
|
|
14407
14387
|
peg$currPos = s4;
|
|
@@ -14427,7 +14407,7 @@ var require_grammar = __commonJS({
|
|
|
14427
14407
|
s5 = peg$parse_();
|
|
14428
14408
|
if (s5 !== peg$FAILED) {
|
|
14429
14409
|
peg$savedPos = s0;
|
|
14430
|
-
s1 = peg$
|
|
14410
|
+
s1 = peg$c60(s3, s4);
|
|
14431
14411
|
s0 = s1;
|
|
14432
14412
|
} else {
|
|
14433
14413
|
peg$currPos = s0;
|
|
@@ -14463,7 +14443,7 @@ var require_grammar = __commonJS({
|
|
|
14463
14443
|
s5 = peg$parse_();
|
|
14464
14444
|
if (s5 !== peg$FAILED) {
|
|
14465
14445
|
peg$savedPos = s2;
|
|
14466
|
-
s3 = peg$
|
|
14446
|
+
s3 = peg$c61(s4);
|
|
14467
14447
|
s2 = s3;
|
|
14468
14448
|
} else {
|
|
14469
14449
|
peg$currPos = s2;
|
|
@@ -14487,7 +14467,7 @@ var require_grammar = __commonJS({
|
|
|
14487
14467
|
s5 = peg$parse_();
|
|
14488
14468
|
if (s5 !== peg$FAILED) {
|
|
14489
14469
|
peg$savedPos = s2;
|
|
14490
|
-
s3 = peg$
|
|
14470
|
+
s3 = peg$c61(s4);
|
|
14491
14471
|
s2 = s3;
|
|
14492
14472
|
} else {
|
|
14493
14473
|
peg$currPos = s2;
|
|
@@ -14504,7 +14484,7 @@ var require_grammar = __commonJS({
|
|
|
14504
14484
|
}
|
|
14505
14485
|
if (s1 !== peg$FAILED) {
|
|
14506
14486
|
peg$savedPos = s0;
|
|
14507
|
-
s1 = peg$
|
|
14487
|
+
s1 = peg$c62(s1);
|
|
14508
14488
|
}
|
|
14509
14489
|
s0 = s1;
|
|
14510
14490
|
if (s0 === peg$FAILED) {
|
|
@@ -14512,7 +14492,7 @@ var require_grammar = __commonJS({
|
|
|
14512
14492
|
s1 = peg$parseitem();
|
|
14513
14493
|
if (s1 !== peg$FAILED) {
|
|
14514
14494
|
peg$savedPos = s0;
|
|
14515
|
-
s1 = peg$
|
|
14495
|
+
s1 = peg$c63(s1);
|
|
14516
14496
|
}
|
|
14517
14497
|
s0 = s1;
|
|
14518
14498
|
if (s0 === peg$FAILED) {
|
|
@@ -14520,7 +14500,7 @@ var require_grammar = __commonJS({
|
|
|
14520
14500
|
s1 = peg$parse_();
|
|
14521
14501
|
if (s1 !== peg$FAILED) {
|
|
14522
14502
|
peg$savedPos = s0;
|
|
14523
|
-
s1 = peg$
|
|
14503
|
+
s1 = peg$c64();
|
|
14524
14504
|
}
|
|
14525
14505
|
s0 = s1;
|
|
14526
14506
|
}
|
|
@@ -14535,22 +14515,22 @@ var require_grammar = __commonJS({
|
|
|
14535
14515
|
s1 = peg$parse_();
|
|
14536
14516
|
if (s1 !== peg$FAILED) {
|
|
14537
14517
|
if (input.charCodeAt(peg$currPos) === 58) {
|
|
14538
|
-
s2 = peg$
|
|
14518
|
+
s2 = peg$c51;
|
|
14539
14519
|
peg$currPos++;
|
|
14540
14520
|
} else {
|
|
14541
14521
|
s2 = peg$FAILED;
|
|
14542
14522
|
if (peg$silentFails === 0) {
|
|
14543
|
-
peg$fail(peg$
|
|
14523
|
+
peg$fail(peg$c52);
|
|
14544
14524
|
}
|
|
14545
14525
|
}
|
|
14546
14526
|
if (s2 !== peg$FAILED) {
|
|
14547
|
-
if (peg$
|
|
14527
|
+
if (peg$c65.test(input.charAt(peg$currPos))) {
|
|
14548
14528
|
s3 = input.charAt(peg$currPos);
|
|
14549
14529
|
peg$currPos++;
|
|
14550
14530
|
} else {
|
|
14551
14531
|
s3 = peg$FAILED;
|
|
14552
14532
|
if (peg$silentFails === 0) {
|
|
14553
|
-
peg$fail(peg$
|
|
14533
|
+
peg$fail(peg$c66);
|
|
14554
14534
|
}
|
|
14555
14535
|
}
|
|
14556
14536
|
if (s3 === peg$FAILED) {
|
|
@@ -14561,12 +14541,12 @@ var require_grammar = __commonJS({
|
|
|
14561
14541
|
if (s4 !== peg$FAILED) {
|
|
14562
14542
|
s5 = peg$currPos;
|
|
14563
14543
|
if (input.charCodeAt(peg$currPos) === 123) {
|
|
14564
|
-
s6 = peg$
|
|
14544
|
+
s6 = peg$c67;
|
|
14565
14545
|
peg$currPos++;
|
|
14566
14546
|
} else {
|
|
14567
14547
|
s6 = peg$FAILED;
|
|
14568
14548
|
if (peg$silentFails === 0) {
|
|
14569
|
-
peg$fail(peg$
|
|
14549
|
+
peg$fail(peg$c68);
|
|
14570
14550
|
}
|
|
14571
14551
|
}
|
|
14572
14552
|
if (s6 !== peg$FAILED) {
|
|
@@ -14577,17 +14557,17 @@ var require_grammar = __commonJS({
|
|
|
14577
14557
|
s9 = peg$parse_();
|
|
14578
14558
|
if (s9 !== peg$FAILED) {
|
|
14579
14559
|
if (input.charCodeAt(peg$currPos) === 125) {
|
|
14580
|
-
s10 = peg$
|
|
14560
|
+
s10 = peg$c69;
|
|
14581
14561
|
peg$currPos++;
|
|
14582
14562
|
} else {
|
|
14583
14563
|
s10 = peg$FAILED;
|
|
14584
14564
|
if (peg$silentFails === 0) {
|
|
14585
|
-
peg$fail(peg$
|
|
14565
|
+
peg$fail(peg$c70);
|
|
14586
14566
|
}
|
|
14587
14567
|
}
|
|
14588
14568
|
if (s10 !== peg$FAILED) {
|
|
14589
14569
|
peg$savedPos = s5;
|
|
14590
|
-
s6 = peg$
|
|
14570
|
+
s6 = peg$c71(s3, s4, s8);
|
|
14591
14571
|
s5 = s6;
|
|
14592
14572
|
} else {
|
|
14593
14573
|
peg$currPos = s5;
|
|
@@ -14612,12 +14592,12 @@ var require_grammar = __commonJS({
|
|
|
14612
14592
|
if (s5 === peg$FAILED) {
|
|
14613
14593
|
s5 = peg$currPos;
|
|
14614
14594
|
if (input.charCodeAt(peg$currPos) === 91) {
|
|
14615
|
-
s6 = peg$
|
|
14595
|
+
s6 = peg$c72;
|
|
14616
14596
|
peg$currPos++;
|
|
14617
14597
|
} else {
|
|
14618
14598
|
s6 = peg$FAILED;
|
|
14619
14599
|
if (peg$silentFails === 0) {
|
|
14620
|
-
peg$fail(peg$
|
|
14600
|
+
peg$fail(peg$c73);
|
|
14621
14601
|
}
|
|
14622
14602
|
}
|
|
14623
14603
|
if (s6 !== peg$FAILED) {
|
|
@@ -14627,7 +14607,7 @@ var require_grammar = __commonJS({
|
|
|
14627
14607
|
s9 = peg$parsearray_items();
|
|
14628
14608
|
if (s9 !== peg$FAILED) {
|
|
14629
14609
|
peg$savedPos = s8;
|
|
14630
|
-
s9 = peg$
|
|
14610
|
+
s9 = peg$c74(s3, s4, s9);
|
|
14631
14611
|
}
|
|
14632
14612
|
s8 = s9;
|
|
14633
14613
|
if (s8 === peg$FAILED) {
|
|
@@ -14638,22 +14618,22 @@ var require_grammar = __commonJS({
|
|
|
14638
14618
|
s12 = peg$currPos;
|
|
14639
14619
|
peg$silentFails++;
|
|
14640
14620
|
if (input.charCodeAt(peg$currPos) === 93) {
|
|
14641
|
-
s13 = peg$
|
|
14621
|
+
s13 = peg$c75;
|
|
14642
14622
|
peg$currPos++;
|
|
14643
14623
|
} else {
|
|
14644
14624
|
s13 = peg$FAILED;
|
|
14645
14625
|
if (peg$silentFails === 0) {
|
|
14646
|
-
peg$fail(peg$
|
|
14626
|
+
peg$fail(peg$c76);
|
|
14647
14627
|
}
|
|
14648
14628
|
}
|
|
14649
14629
|
if (s13 === peg$FAILED) {
|
|
14650
14630
|
if (input.charCodeAt(peg$currPos) === 91) {
|
|
14651
|
-
s13 = peg$
|
|
14631
|
+
s13 = peg$c72;
|
|
14652
14632
|
peg$currPos++;
|
|
14653
14633
|
} else {
|
|
14654
14634
|
s13 = peg$FAILED;
|
|
14655
14635
|
if (peg$silentFails === 0) {
|
|
14656
|
-
peg$fail(peg$
|
|
14636
|
+
peg$fail(peg$c73);
|
|
14657
14637
|
}
|
|
14658
14638
|
}
|
|
14659
14639
|
}
|
|
@@ -14671,7 +14651,7 @@ var require_grammar = __commonJS({
|
|
|
14671
14651
|
} else {
|
|
14672
14652
|
s13 = peg$FAILED;
|
|
14673
14653
|
if (peg$silentFails === 0) {
|
|
14674
|
-
peg$fail(peg$
|
|
14654
|
+
peg$fail(peg$c4);
|
|
14675
14655
|
}
|
|
14676
14656
|
}
|
|
14677
14657
|
if (s13 !== peg$FAILED) {
|
|
@@ -14692,22 +14672,22 @@ var require_grammar = __commonJS({
|
|
|
14692
14672
|
s12 = peg$currPos;
|
|
14693
14673
|
peg$silentFails++;
|
|
14694
14674
|
if (input.charCodeAt(peg$currPos) === 93) {
|
|
14695
|
-
s13 = peg$
|
|
14675
|
+
s13 = peg$c75;
|
|
14696
14676
|
peg$currPos++;
|
|
14697
14677
|
} else {
|
|
14698
14678
|
s13 = peg$FAILED;
|
|
14699
14679
|
if (peg$silentFails === 0) {
|
|
14700
|
-
peg$fail(peg$
|
|
14680
|
+
peg$fail(peg$c76);
|
|
14701
14681
|
}
|
|
14702
14682
|
}
|
|
14703
14683
|
if (s13 === peg$FAILED) {
|
|
14704
14684
|
if (input.charCodeAt(peg$currPos) === 91) {
|
|
14705
|
-
s13 = peg$
|
|
14685
|
+
s13 = peg$c72;
|
|
14706
14686
|
peg$currPos++;
|
|
14707
14687
|
} else {
|
|
14708
14688
|
s13 = peg$FAILED;
|
|
14709
14689
|
if (peg$silentFails === 0) {
|
|
14710
|
-
peg$fail(peg$
|
|
14690
|
+
peg$fail(peg$c73);
|
|
14711
14691
|
}
|
|
14712
14692
|
}
|
|
14713
14693
|
}
|
|
@@ -14725,7 +14705,7 @@ var require_grammar = __commonJS({
|
|
|
14725
14705
|
} else {
|
|
14726
14706
|
s13 = peg$FAILED;
|
|
14727
14707
|
if (peg$silentFails === 0) {
|
|
14728
|
-
peg$fail(peg$
|
|
14708
|
+
peg$fail(peg$c4);
|
|
14729
14709
|
}
|
|
14730
14710
|
}
|
|
14731
14711
|
if (s13 !== peg$FAILED) {
|
|
@@ -14750,7 +14730,7 @@ var require_grammar = __commonJS({
|
|
|
14750
14730
|
}
|
|
14751
14731
|
if (s9 !== peg$FAILED) {
|
|
14752
14732
|
peg$savedPos = s8;
|
|
14753
|
-
s9 = peg$
|
|
14733
|
+
s9 = peg$c77(s3, s4);
|
|
14754
14734
|
}
|
|
14755
14735
|
s8 = s9;
|
|
14756
14736
|
}
|
|
@@ -14758,17 +14738,17 @@ var require_grammar = __commonJS({
|
|
|
14758
14738
|
s9 = peg$parse_();
|
|
14759
14739
|
if (s9 !== peg$FAILED) {
|
|
14760
14740
|
if (input.charCodeAt(peg$currPos) === 93) {
|
|
14761
|
-
s10 = peg$
|
|
14741
|
+
s10 = peg$c75;
|
|
14762
14742
|
peg$currPos++;
|
|
14763
14743
|
} else {
|
|
14764
14744
|
s10 = peg$FAILED;
|
|
14765
14745
|
if (peg$silentFails === 0) {
|
|
14766
|
-
peg$fail(peg$
|
|
14746
|
+
peg$fail(peg$c76);
|
|
14767
14747
|
}
|
|
14768
14748
|
}
|
|
14769
14749
|
if (s10 !== peg$FAILED) {
|
|
14770
14750
|
peg$savedPos = s5;
|
|
14771
|
-
s6 = peg$
|
|
14751
|
+
s6 = peg$c78(s3, s4, s8);
|
|
14772
14752
|
s5 = s6;
|
|
14773
14753
|
} else {
|
|
14774
14754
|
peg$currPos = s5;
|
|
@@ -14793,12 +14773,12 @@ var require_grammar = __commonJS({
|
|
|
14793
14773
|
if (s5 === peg$FAILED) {
|
|
14794
14774
|
s5 = peg$currPos;
|
|
14795
14775
|
if (input.charCodeAt(peg$currPos) === 60) {
|
|
14796
|
-
s6 = peg$
|
|
14776
|
+
s6 = peg$c55;
|
|
14797
14777
|
peg$currPos++;
|
|
14798
14778
|
} else {
|
|
14799
14779
|
s6 = peg$FAILED;
|
|
14800
14780
|
if (peg$silentFails === 0) {
|
|
14801
|
-
peg$fail(peg$
|
|
14781
|
+
peg$fail(peg$c56);
|
|
14802
14782
|
}
|
|
14803
14783
|
}
|
|
14804
14784
|
if (s6 !== peg$FAILED) {
|
|
@@ -14809,17 +14789,17 @@ var require_grammar = __commonJS({
|
|
|
14809
14789
|
s9 = peg$parse_();
|
|
14810
14790
|
if (s9 !== peg$FAILED) {
|
|
14811
14791
|
if (input.charCodeAt(peg$currPos) === 62) {
|
|
14812
|
-
s10 = peg$
|
|
14792
|
+
s10 = peg$c57;
|
|
14813
14793
|
peg$currPos++;
|
|
14814
14794
|
} else {
|
|
14815
14795
|
s10 = peg$FAILED;
|
|
14816
14796
|
if (peg$silentFails === 0) {
|
|
14817
|
-
peg$fail(peg$
|
|
14797
|
+
peg$fail(peg$c58);
|
|
14818
14798
|
}
|
|
14819
14799
|
}
|
|
14820
14800
|
if (s10 !== peg$FAILED) {
|
|
14821
14801
|
peg$savedPos = s5;
|
|
14822
|
-
s6 = peg$
|
|
14802
|
+
s6 = peg$c79(s3, s4, s8);
|
|
14823
14803
|
s5 = s6;
|
|
14824
14804
|
} else {
|
|
14825
14805
|
peg$currPos = s5;
|
|
@@ -14844,12 +14824,12 @@ var require_grammar = __commonJS({
|
|
|
14844
14824
|
if (s5 === peg$FAILED) {
|
|
14845
14825
|
s5 = peg$currPos;
|
|
14846
14826
|
if (input.charCodeAt(peg$currPos) === 60) {
|
|
14847
|
-
s6 = peg$
|
|
14827
|
+
s6 = peg$c55;
|
|
14848
14828
|
peg$currPos++;
|
|
14849
14829
|
} else {
|
|
14850
14830
|
s6 = peg$FAILED;
|
|
14851
14831
|
if (peg$silentFails === 0) {
|
|
14852
|
-
peg$fail(peg$
|
|
14832
|
+
peg$fail(peg$c56);
|
|
14853
14833
|
}
|
|
14854
14834
|
}
|
|
14855
14835
|
if (s6 !== peg$FAILED) {
|
|
@@ -14861,22 +14841,22 @@ var require_grammar = __commonJS({
|
|
|
14861
14841
|
s11 = peg$currPos;
|
|
14862
14842
|
peg$silentFails++;
|
|
14863
14843
|
if (input.charCodeAt(peg$currPos) === 60) {
|
|
14864
|
-
s12 = peg$
|
|
14844
|
+
s12 = peg$c55;
|
|
14865
14845
|
peg$currPos++;
|
|
14866
14846
|
} else {
|
|
14867
14847
|
s12 = peg$FAILED;
|
|
14868
14848
|
if (peg$silentFails === 0) {
|
|
14869
|
-
peg$fail(peg$
|
|
14849
|
+
peg$fail(peg$c56);
|
|
14870
14850
|
}
|
|
14871
14851
|
}
|
|
14872
14852
|
if (s12 === peg$FAILED) {
|
|
14873
14853
|
if (input.charCodeAt(peg$currPos) === 62) {
|
|
14874
|
-
s12 = peg$
|
|
14854
|
+
s12 = peg$c57;
|
|
14875
14855
|
peg$currPos++;
|
|
14876
14856
|
} else {
|
|
14877
14857
|
s12 = peg$FAILED;
|
|
14878
14858
|
if (peg$silentFails === 0) {
|
|
14879
|
-
peg$fail(peg$
|
|
14859
|
+
peg$fail(peg$c58);
|
|
14880
14860
|
}
|
|
14881
14861
|
}
|
|
14882
14862
|
}
|
|
@@ -14894,7 +14874,7 @@ var require_grammar = __commonJS({
|
|
|
14894
14874
|
} else {
|
|
14895
14875
|
s12 = peg$FAILED;
|
|
14896
14876
|
if (peg$silentFails === 0) {
|
|
14897
|
-
peg$fail(peg$
|
|
14877
|
+
peg$fail(peg$c4);
|
|
14898
14878
|
}
|
|
14899
14879
|
}
|
|
14900
14880
|
if (s12 !== peg$FAILED) {
|
|
@@ -14915,22 +14895,22 @@ var require_grammar = __commonJS({
|
|
|
14915
14895
|
s11 = peg$currPos;
|
|
14916
14896
|
peg$silentFails++;
|
|
14917
14897
|
if (input.charCodeAt(peg$currPos) === 60) {
|
|
14918
|
-
s12 = peg$
|
|
14898
|
+
s12 = peg$c55;
|
|
14919
14899
|
peg$currPos++;
|
|
14920
14900
|
} else {
|
|
14921
14901
|
s12 = peg$FAILED;
|
|
14922
14902
|
if (peg$silentFails === 0) {
|
|
14923
|
-
peg$fail(peg$
|
|
14903
|
+
peg$fail(peg$c56);
|
|
14924
14904
|
}
|
|
14925
14905
|
}
|
|
14926
14906
|
if (s12 === peg$FAILED) {
|
|
14927
14907
|
if (input.charCodeAt(peg$currPos) === 62) {
|
|
14928
|
-
s12 = peg$
|
|
14908
|
+
s12 = peg$c57;
|
|
14929
14909
|
peg$currPos++;
|
|
14930
14910
|
} else {
|
|
14931
14911
|
s12 = peg$FAILED;
|
|
14932
14912
|
if (peg$silentFails === 0) {
|
|
14933
|
-
peg$fail(peg$
|
|
14913
|
+
peg$fail(peg$c58);
|
|
14934
14914
|
}
|
|
14935
14915
|
}
|
|
14936
14916
|
}
|
|
@@ -14948,7 +14928,7 @@ var require_grammar = __commonJS({
|
|
|
14948
14928
|
} else {
|
|
14949
14929
|
s12 = peg$FAILED;
|
|
14950
14930
|
if (peg$silentFails === 0) {
|
|
14951
|
-
peg$fail(peg$
|
|
14931
|
+
peg$fail(peg$c4);
|
|
14952
14932
|
}
|
|
14953
14933
|
}
|
|
14954
14934
|
if (s12 !== peg$FAILED) {
|
|
@@ -14975,17 +14955,17 @@ var require_grammar = __commonJS({
|
|
|
14975
14955
|
s9 = peg$parse_();
|
|
14976
14956
|
if (s9 !== peg$FAILED) {
|
|
14977
14957
|
if (input.charCodeAt(peg$currPos) === 62) {
|
|
14978
|
-
s10 = peg$
|
|
14958
|
+
s10 = peg$c57;
|
|
14979
14959
|
peg$currPos++;
|
|
14980
14960
|
} else {
|
|
14981
14961
|
s10 = peg$FAILED;
|
|
14982
14962
|
if (peg$silentFails === 0) {
|
|
14983
|
-
peg$fail(peg$
|
|
14963
|
+
peg$fail(peg$c58);
|
|
14984
14964
|
}
|
|
14985
14965
|
}
|
|
14986
14966
|
if (s10 !== peg$FAILED) {
|
|
14987
14967
|
peg$savedPos = s5;
|
|
14988
|
-
s6 = peg$
|
|
14968
|
+
s6 = peg$c80(s3, s4, s8);
|
|
14989
14969
|
s5 = s6;
|
|
14990
14970
|
} else {
|
|
14991
14971
|
peg$currPos = s5;
|
|
@@ -15010,12 +14990,12 @@ var require_grammar = __commonJS({
|
|
|
15010
14990
|
if (s5 === peg$FAILED) {
|
|
15011
14991
|
s5 = peg$currPos;
|
|
15012
14992
|
if (input.charCodeAt(peg$currPos) === 40) {
|
|
15013
|
-
s6 = peg$
|
|
14993
|
+
s6 = peg$c81;
|
|
15014
14994
|
peg$currPos++;
|
|
15015
14995
|
} else {
|
|
15016
14996
|
s6 = peg$FAILED;
|
|
15017
14997
|
if (peg$silentFails === 0) {
|
|
15018
|
-
peg$fail(peg$
|
|
14998
|
+
peg$fail(peg$c82);
|
|
15019
14999
|
}
|
|
15020
15000
|
}
|
|
15021
15001
|
if (s6 !== peg$FAILED) {
|
|
@@ -15025,7 +15005,7 @@ var require_grammar = __commonJS({
|
|
|
15025
15005
|
s9 = peg$parsearray_items();
|
|
15026
15006
|
if (s9 !== peg$FAILED) {
|
|
15027
15007
|
peg$savedPos = s8;
|
|
15028
|
-
s9 = peg$
|
|
15008
|
+
s9 = peg$c83(s3, s4, s9);
|
|
15029
15009
|
}
|
|
15030
15010
|
s8 = s9;
|
|
15031
15011
|
if (s8 === peg$FAILED) {
|
|
@@ -15036,22 +15016,22 @@ var require_grammar = __commonJS({
|
|
|
15036
15016
|
s12 = peg$currPos;
|
|
15037
15017
|
peg$silentFails++;
|
|
15038
15018
|
if (input.charCodeAt(peg$currPos) === 41) {
|
|
15039
|
-
s13 = peg$
|
|
15019
|
+
s13 = peg$c84;
|
|
15040
15020
|
peg$currPos++;
|
|
15041
15021
|
} else {
|
|
15042
15022
|
s13 = peg$FAILED;
|
|
15043
15023
|
if (peg$silentFails === 0) {
|
|
15044
|
-
peg$fail(peg$
|
|
15024
|
+
peg$fail(peg$c85);
|
|
15045
15025
|
}
|
|
15046
15026
|
}
|
|
15047
15027
|
if (s13 === peg$FAILED) {
|
|
15048
15028
|
if (input.charCodeAt(peg$currPos) === 40) {
|
|
15049
|
-
s13 = peg$
|
|
15029
|
+
s13 = peg$c81;
|
|
15050
15030
|
peg$currPos++;
|
|
15051
15031
|
} else {
|
|
15052
15032
|
s13 = peg$FAILED;
|
|
15053
15033
|
if (peg$silentFails === 0) {
|
|
15054
|
-
peg$fail(peg$
|
|
15034
|
+
peg$fail(peg$c82);
|
|
15055
15035
|
}
|
|
15056
15036
|
}
|
|
15057
15037
|
}
|
|
@@ -15069,7 +15049,7 @@ var require_grammar = __commonJS({
|
|
|
15069
15049
|
} else {
|
|
15070
15050
|
s13 = peg$FAILED;
|
|
15071
15051
|
if (peg$silentFails === 0) {
|
|
15072
|
-
peg$fail(peg$
|
|
15052
|
+
peg$fail(peg$c4);
|
|
15073
15053
|
}
|
|
15074
15054
|
}
|
|
15075
15055
|
if (s13 !== peg$FAILED) {
|
|
@@ -15090,22 +15070,22 @@ var require_grammar = __commonJS({
|
|
|
15090
15070
|
s12 = peg$currPos;
|
|
15091
15071
|
peg$silentFails++;
|
|
15092
15072
|
if (input.charCodeAt(peg$currPos) === 41) {
|
|
15093
|
-
s13 = peg$
|
|
15073
|
+
s13 = peg$c84;
|
|
15094
15074
|
peg$currPos++;
|
|
15095
15075
|
} else {
|
|
15096
15076
|
s13 = peg$FAILED;
|
|
15097
15077
|
if (peg$silentFails === 0) {
|
|
15098
|
-
peg$fail(peg$
|
|
15078
|
+
peg$fail(peg$c85);
|
|
15099
15079
|
}
|
|
15100
15080
|
}
|
|
15101
15081
|
if (s13 === peg$FAILED) {
|
|
15102
15082
|
if (input.charCodeAt(peg$currPos) === 40) {
|
|
15103
|
-
s13 = peg$
|
|
15083
|
+
s13 = peg$c81;
|
|
15104
15084
|
peg$currPos++;
|
|
15105
15085
|
} else {
|
|
15106
15086
|
s13 = peg$FAILED;
|
|
15107
15087
|
if (peg$silentFails === 0) {
|
|
15108
|
-
peg$fail(peg$
|
|
15088
|
+
peg$fail(peg$c82);
|
|
15109
15089
|
}
|
|
15110
15090
|
}
|
|
15111
15091
|
}
|
|
@@ -15123,7 +15103,7 @@ var require_grammar = __commonJS({
|
|
|
15123
15103
|
} else {
|
|
15124
15104
|
s13 = peg$FAILED;
|
|
15125
15105
|
if (peg$silentFails === 0) {
|
|
15126
|
-
peg$fail(peg$
|
|
15106
|
+
peg$fail(peg$c4);
|
|
15127
15107
|
}
|
|
15128
15108
|
}
|
|
15129
15109
|
if (s13 !== peg$FAILED) {
|
|
@@ -15148,7 +15128,7 @@ var require_grammar = __commonJS({
|
|
|
15148
15128
|
}
|
|
15149
15129
|
if (s9 !== peg$FAILED) {
|
|
15150
15130
|
peg$savedPos = s8;
|
|
15151
|
-
s9 = peg$
|
|
15131
|
+
s9 = peg$c86(s3, s4);
|
|
15152
15132
|
}
|
|
15153
15133
|
s8 = s9;
|
|
15154
15134
|
}
|
|
@@ -15156,17 +15136,17 @@ var require_grammar = __commonJS({
|
|
|
15156
15136
|
s9 = peg$parse_();
|
|
15157
15137
|
if (s9 !== peg$FAILED) {
|
|
15158
15138
|
if (input.charCodeAt(peg$currPos) === 41) {
|
|
15159
|
-
s10 = peg$
|
|
15139
|
+
s10 = peg$c84;
|
|
15160
15140
|
peg$currPos++;
|
|
15161
15141
|
} else {
|
|
15162
15142
|
s10 = peg$FAILED;
|
|
15163
15143
|
if (peg$silentFails === 0) {
|
|
15164
|
-
peg$fail(peg$
|
|
15144
|
+
peg$fail(peg$c85);
|
|
15165
15145
|
}
|
|
15166
15146
|
}
|
|
15167
15147
|
if (s10 !== peg$FAILED) {
|
|
15168
15148
|
peg$savedPos = s5;
|
|
15169
|
-
s6 = peg$
|
|
15149
|
+
s6 = peg$c87(s3, s4, s8);
|
|
15170
15150
|
s5 = s6;
|
|
15171
15151
|
} else {
|
|
15172
15152
|
peg$currPos = s5;
|
|
@@ -15193,7 +15173,7 @@ var require_grammar = __commonJS({
|
|
|
15193
15173
|
s6 = peg$parse_();
|
|
15194
15174
|
if (s6 !== peg$FAILED) {
|
|
15195
15175
|
peg$savedPos = s5;
|
|
15196
|
-
s6 = peg$
|
|
15176
|
+
s6 = peg$c88(s3, s4);
|
|
15197
15177
|
}
|
|
15198
15178
|
s5 = s6;
|
|
15199
15179
|
}
|
|
@@ -15205,7 +15185,7 @@ var require_grammar = __commonJS({
|
|
|
15205
15185
|
s6 = peg$parse_();
|
|
15206
15186
|
if (s6 !== peg$FAILED) {
|
|
15207
15187
|
peg$savedPos = s0;
|
|
15208
|
-
s1 = peg$
|
|
15188
|
+
s1 = peg$c89(s3, s4, s5);
|
|
15209
15189
|
s0 = s1;
|
|
15210
15190
|
} else {
|
|
15211
15191
|
peg$currPos = s0;
|
|
@@ -15249,12 +15229,12 @@ var require_grammar = __commonJS({
|
|
|
15249
15229
|
s3 = [];
|
|
15250
15230
|
s4 = peg$currPos;
|
|
15251
15231
|
if (input.charCodeAt(peg$currPos) === 61) {
|
|
15252
|
-
s5 = peg$
|
|
15232
|
+
s5 = peg$c32;
|
|
15253
15233
|
peg$currPos++;
|
|
15254
15234
|
} else {
|
|
15255
15235
|
s5 = peg$FAILED;
|
|
15256
15236
|
if (peg$silentFails === 0) {
|
|
15257
|
-
peg$fail(peg$
|
|
15237
|
+
peg$fail(peg$c33);
|
|
15258
15238
|
}
|
|
15259
15239
|
}
|
|
15260
15240
|
if (s5 !== peg$FAILED) {
|
|
@@ -15276,7 +15256,7 @@ var require_grammar = __commonJS({
|
|
|
15276
15256
|
s9 = peg$parsenewline();
|
|
15277
15257
|
if (s9 !== peg$FAILED) {
|
|
15278
15258
|
peg$savedPos = s4;
|
|
15279
|
-
s5 = peg$
|
|
15259
|
+
s5 = peg$c90(s1, s7);
|
|
15280
15260
|
s4 = s5;
|
|
15281
15261
|
} else {
|
|
15282
15262
|
peg$currPos = s4;
|
|
@@ -15302,12 +15282,12 @@ var require_grammar = __commonJS({
|
|
|
15302
15282
|
s3.push(s4);
|
|
15303
15283
|
s4 = peg$currPos;
|
|
15304
15284
|
if (input.charCodeAt(peg$currPos) === 61) {
|
|
15305
|
-
s5 = peg$
|
|
15285
|
+
s5 = peg$c32;
|
|
15306
15286
|
peg$currPos++;
|
|
15307
15287
|
} else {
|
|
15308
15288
|
s5 = peg$FAILED;
|
|
15309
15289
|
if (peg$silentFails === 0) {
|
|
15310
|
-
peg$fail(peg$
|
|
15290
|
+
peg$fail(peg$c33);
|
|
15311
15291
|
}
|
|
15312
15292
|
}
|
|
15313
15293
|
if (s5 !== peg$FAILED) {
|
|
@@ -15329,7 +15309,7 @@ var require_grammar = __commonJS({
|
|
|
15329
15309
|
s9 = peg$parsenewline();
|
|
15330
15310
|
if (s9 !== peg$FAILED) {
|
|
15331
15311
|
peg$savedPos = s4;
|
|
15332
|
-
s5 = peg$
|
|
15312
|
+
s5 = peg$c90(s1, s7);
|
|
15333
15313
|
s4 = s5;
|
|
15334
15314
|
} else {
|
|
15335
15315
|
peg$currPos = s4;
|
|
@@ -15354,7 +15334,7 @@ var require_grammar = __commonJS({
|
|
|
15354
15334
|
}
|
|
15355
15335
|
if (s3 !== peg$FAILED) {
|
|
15356
15336
|
peg$savedPos = s0;
|
|
15357
|
-
s1 = peg$
|
|
15337
|
+
s1 = peg$c91(s1, s3);
|
|
15358
15338
|
s0 = s1;
|
|
15359
15339
|
} else {
|
|
15360
15340
|
peg$currPos = s0;
|
|
@@ -15375,25 +15355,25 @@ var require_grammar = __commonJS({
|
|
|
15375
15355
|
s0 = peg$currPos;
|
|
15376
15356
|
s1 = peg$currPos;
|
|
15377
15357
|
s2 = [];
|
|
15378
|
-
if (peg$
|
|
15358
|
+
if (peg$c92.test(input.charAt(peg$currPos))) {
|
|
15379
15359
|
s3 = input.charAt(peg$currPos);
|
|
15380
15360
|
peg$currPos++;
|
|
15381
15361
|
} else {
|
|
15382
15362
|
s3 = peg$FAILED;
|
|
15383
15363
|
if (peg$silentFails === 0) {
|
|
15384
|
-
peg$fail(peg$
|
|
15364
|
+
peg$fail(peg$c93);
|
|
15385
15365
|
}
|
|
15386
15366
|
}
|
|
15387
15367
|
if (s3 !== peg$FAILED) {
|
|
15388
15368
|
while (s3 !== peg$FAILED) {
|
|
15389
15369
|
s2.push(s3);
|
|
15390
|
-
if (peg$
|
|
15370
|
+
if (peg$c92.test(input.charAt(peg$currPos))) {
|
|
15391
15371
|
s3 = input.charAt(peg$currPos);
|
|
15392
15372
|
peg$currPos++;
|
|
15393
15373
|
} else {
|
|
15394
15374
|
s3 = peg$FAILED;
|
|
15395
15375
|
if (peg$silentFails === 0) {
|
|
15396
|
-
peg$fail(peg$
|
|
15376
|
+
peg$fail(peg$c93);
|
|
15397
15377
|
}
|
|
15398
15378
|
}
|
|
15399
15379
|
}
|
|
@@ -15407,7 +15387,7 @@ var require_grammar = __commonJS({
|
|
|
15407
15387
|
}
|
|
15408
15388
|
if (s1 !== peg$FAILED) {
|
|
15409
15389
|
peg$savedPos = s0;
|
|
15410
|
-
s1 = peg$
|
|
15390
|
+
s1 = peg$c94(s1);
|
|
15411
15391
|
}
|
|
15412
15392
|
s0 = s1;
|
|
15413
15393
|
return s0;
|
|
@@ -15416,25 +15396,25 @@ var require_grammar = __commonJS({
|
|
|
15416
15396
|
var s0, s1, s2;
|
|
15417
15397
|
s0 = peg$currPos;
|
|
15418
15398
|
s1 = [];
|
|
15419
|
-
if (peg$
|
|
15399
|
+
if (peg$c95.test(input.charAt(peg$currPos))) {
|
|
15420
15400
|
s2 = input.charAt(peg$currPos);
|
|
15421
15401
|
peg$currPos++;
|
|
15422
15402
|
} else {
|
|
15423
15403
|
s2 = peg$FAILED;
|
|
15424
15404
|
if (peg$silentFails === 0) {
|
|
15425
|
-
peg$fail(peg$
|
|
15405
|
+
peg$fail(peg$c96);
|
|
15426
15406
|
}
|
|
15427
15407
|
}
|
|
15428
15408
|
if (s2 !== peg$FAILED) {
|
|
15429
15409
|
while (s2 !== peg$FAILED) {
|
|
15430
15410
|
s1.push(s2);
|
|
15431
|
-
if (peg$
|
|
15411
|
+
if (peg$c95.test(input.charAt(peg$currPos))) {
|
|
15432
15412
|
s2 = input.charAt(peg$currPos);
|
|
15433
15413
|
peg$currPos++;
|
|
15434
15414
|
} else {
|
|
15435
15415
|
s2 = peg$FAILED;
|
|
15436
15416
|
if (peg$silentFails === 0) {
|
|
15437
|
-
peg$fail(peg$
|
|
15417
|
+
peg$fail(peg$c96);
|
|
15438
15418
|
}
|
|
15439
15419
|
}
|
|
15440
15420
|
}
|
|
@@ -15452,13 +15432,13 @@ var require_grammar = __commonJS({
|
|
|
15452
15432
|
var s0, s1, s2, s3, s4;
|
|
15453
15433
|
s0 = peg$currPos;
|
|
15454
15434
|
s1 = peg$currPos;
|
|
15455
|
-
if (peg$
|
|
15435
|
+
if (peg$c97.test(input.charAt(peg$currPos))) {
|
|
15456
15436
|
s2 = input.charAt(peg$currPos);
|
|
15457
15437
|
peg$currPos++;
|
|
15458
15438
|
} else {
|
|
15459
15439
|
s2 = peg$FAILED;
|
|
15460
15440
|
if (peg$silentFails === 0) {
|
|
15461
|
-
peg$fail(peg$
|
|
15441
|
+
peg$fail(peg$c98);
|
|
15462
15442
|
}
|
|
15463
15443
|
}
|
|
15464
15444
|
if (s2 === peg$FAILED) {
|
|
@@ -15466,25 +15446,25 @@ var require_grammar = __commonJS({
|
|
|
15466
15446
|
}
|
|
15467
15447
|
if (s2 !== peg$FAILED) {
|
|
15468
15448
|
s3 = [];
|
|
15469
|
-
if (peg$
|
|
15449
|
+
if (peg$c95.test(input.charAt(peg$currPos))) {
|
|
15470
15450
|
s4 = input.charAt(peg$currPos);
|
|
15471
15451
|
peg$currPos++;
|
|
15472
15452
|
} else {
|
|
15473
15453
|
s4 = peg$FAILED;
|
|
15474
15454
|
if (peg$silentFails === 0) {
|
|
15475
|
-
peg$fail(peg$
|
|
15455
|
+
peg$fail(peg$c96);
|
|
15476
15456
|
}
|
|
15477
15457
|
}
|
|
15478
15458
|
if (s4 !== peg$FAILED) {
|
|
15479
15459
|
while (s4 !== peg$FAILED) {
|
|
15480
15460
|
s3.push(s4);
|
|
15481
|
-
if (peg$
|
|
15461
|
+
if (peg$c95.test(input.charAt(peg$currPos))) {
|
|
15482
15462
|
s4 = input.charAt(peg$currPos);
|
|
15483
15463
|
peg$currPos++;
|
|
15484
15464
|
} else {
|
|
15485
15465
|
s4 = peg$FAILED;
|
|
15486
15466
|
if (peg$silentFails === 0) {
|
|
15487
|
-
peg$fail(peg$
|
|
15467
|
+
peg$fail(peg$c96);
|
|
15488
15468
|
}
|
|
15489
15469
|
}
|
|
15490
15470
|
}
|
|
@@ -15512,34 +15492,34 @@ var require_grammar = __commonJS({
|
|
|
15512
15492
|
function peg$parseBoolean() {
|
|
15513
15493
|
var s0, s1;
|
|
15514
15494
|
s0 = peg$currPos;
|
|
15515
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
15516
|
-
s1 = peg$
|
|
15495
|
+
if (input.substr(peg$currPos, 4) === peg$c99) {
|
|
15496
|
+
s1 = peg$c99;
|
|
15517
15497
|
peg$currPos += 4;
|
|
15518
15498
|
} else {
|
|
15519
15499
|
s1 = peg$FAILED;
|
|
15520
15500
|
if (peg$silentFails === 0) {
|
|
15521
|
-
peg$fail(peg$
|
|
15501
|
+
peg$fail(peg$c100);
|
|
15522
15502
|
}
|
|
15523
15503
|
}
|
|
15524
15504
|
if (s1 !== peg$FAILED) {
|
|
15525
15505
|
peg$savedPos = s0;
|
|
15526
|
-
s1 = peg$
|
|
15506
|
+
s1 = peg$c101();
|
|
15527
15507
|
}
|
|
15528
15508
|
s0 = s1;
|
|
15529
15509
|
if (s0 === peg$FAILED) {
|
|
15530
15510
|
s0 = peg$currPos;
|
|
15531
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
15532
|
-
s1 = peg$
|
|
15511
|
+
if (input.substr(peg$currPos, 5) === peg$c102) {
|
|
15512
|
+
s1 = peg$c102;
|
|
15533
15513
|
peg$currPos += 5;
|
|
15534
15514
|
} else {
|
|
15535
15515
|
s1 = peg$FAILED;
|
|
15536
15516
|
if (peg$silentFails === 0) {
|
|
15537
|
-
peg$fail(peg$
|
|
15517
|
+
peg$fail(peg$c103);
|
|
15538
15518
|
}
|
|
15539
15519
|
}
|
|
15540
15520
|
if (s1 !== peg$FAILED) {
|
|
15541
15521
|
peg$savedPos = s0;
|
|
15542
|
-
s1 = peg$
|
|
15522
|
+
s1 = peg$c104();
|
|
15543
15523
|
}
|
|
15544
15524
|
s0 = s1;
|
|
15545
15525
|
}
|
|
@@ -15553,12 +15533,12 @@ var require_grammar = __commonJS({
|
|
|
15553
15533
|
if (s2 !== peg$FAILED) {
|
|
15554
15534
|
s3 = peg$currPos;
|
|
15555
15535
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
15556
|
-
s4 = peg$
|
|
15536
|
+
s4 = peg$c105;
|
|
15557
15537
|
peg$currPos++;
|
|
15558
15538
|
} else {
|
|
15559
15539
|
s4 = peg$FAILED;
|
|
15560
15540
|
if (peg$silentFails === 0) {
|
|
15561
|
-
peg$fail(peg$
|
|
15541
|
+
peg$fail(peg$c106);
|
|
15562
15542
|
}
|
|
15563
15543
|
}
|
|
15564
15544
|
if (s4 !== peg$FAILED) {
|
|
@@ -15578,13 +15558,13 @@ var require_grammar = __commonJS({
|
|
|
15578
15558
|
s3 = null;
|
|
15579
15559
|
}
|
|
15580
15560
|
if (s3 !== peg$FAILED) {
|
|
15581
|
-
if (peg$
|
|
15561
|
+
if (peg$c107.test(input.charAt(peg$currPos))) {
|
|
15582
15562
|
s4 = input.charAt(peg$currPos);
|
|
15583
15563
|
peg$currPos++;
|
|
15584
15564
|
} else {
|
|
15585
15565
|
s4 = peg$FAILED;
|
|
15586
15566
|
if (peg$silentFails === 0) {
|
|
15587
|
-
peg$fail(peg$
|
|
15567
|
+
peg$fail(peg$c108);
|
|
15588
15568
|
}
|
|
15589
15569
|
}
|
|
15590
15570
|
if (s4 !== peg$FAILED) {
|
|
@@ -15619,12 +15599,12 @@ var require_grammar = __commonJS({
|
|
|
15619
15599
|
s2 = peg$parsenumber();
|
|
15620
15600
|
if (s2 !== peg$FAILED) {
|
|
15621
15601
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
15622
|
-
s3 = peg$
|
|
15602
|
+
s3 = peg$c105;
|
|
15623
15603
|
peg$currPos++;
|
|
15624
15604
|
} else {
|
|
15625
15605
|
s3 = peg$FAILED;
|
|
15626
15606
|
if (peg$silentFails === 0) {
|
|
15627
|
-
peg$fail(peg$
|
|
15607
|
+
peg$fail(peg$c106);
|
|
15628
15608
|
}
|
|
15629
15609
|
}
|
|
15630
15610
|
if (s3 !== peg$FAILED) {
|
|
@@ -15655,36 +15635,36 @@ var require_grammar = __commonJS({
|
|
|
15655
15635
|
function peg$parseitem() {
|
|
15656
15636
|
var s0, s1, s2, s3, s4;
|
|
15657
15637
|
s0 = peg$currPos;
|
|
15658
|
-
if (peg$
|
|
15638
|
+
if (peg$c109.test(input.charAt(peg$currPos))) {
|
|
15659
15639
|
s1 = input.charAt(peg$currPos);
|
|
15660
15640
|
peg$currPos++;
|
|
15661
15641
|
} else {
|
|
15662
15642
|
s1 = peg$FAILED;
|
|
15663
15643
|
if (peg$silentFails === 0) {
|
|
15664
|
-
peg$fail(peg$
|
|
15644
|
+
peg$fail(peg$c110);
|
|
15665
15645
|
}
|
|
15666
15646
|
}
|
|
15667
15647
|
if (s1 !== peg$FAILED) {
|
|
15668
15648
|
s2 = peg$currPos;
|
|
15669
15649
|
s3 = [];
|
|
15670
|
-
if (peg$
|
|
15650
|
+
if (peg$c111.test(input.charAt(peg$currPos))) {
|
|
15671
15651
|
s4 = input.charAt(peg$currPos);
|
|
15672
15652
|
peg$currPos++;
|
|
15673
15653
|
} else {
|
|
15674
15654
|
s4 = peg$FAILED;
|
|
15675
15655
|
if (peg$silentFails === 0) {
|
|
15676
|
-
peg$fail(peg$
|
|
15656
|
+
peg$fail(peg$c112);
|
|
15677
15657
|
}
|
|
15678
15658
|
}
|
|
15679
15659
|
while (s4 !== peg$FAILED) {
|
|
15680
15660
|
s3.push(s4);
|
|
15681
|
-
if (peg$
|
|
15661
|
+
if (peg$c111.test(input.charAt(peg$currPos))) {
|
|
15682
15662
|
s4 = input.charAt(peg$currPos);
|
|
15683
15663
|
peg$currPos++;
|
|
15684
15664
|
} else {
|
|
15685
15665
|
s4 = peg$FAILED;
|
|
15686
15666
|
if (peg$silentFails === 0) {
|
|
15687
|
-
peg$fail(peg$
|
|
15667
|
+
peg$fail(peg$c112);
|
|
15688
15668
|
}
|
|
15689
15669
|
}
|
|
15690
15670
|
}
|
|
@@ -15694,18 +15674,18 @@ var require_grammar = __commonJS({
|
|
|
15694
15674
|
s2 = s3;
|
|
15695
15675
|
}
|
|
15696
15676
|
if (s2 !== peg$FAILED) {
|
|
15697
|
-
if (peg$
|
|
15677
|
+
if (peg$c109.test(input.charAt(peg$currPos))) {
|
|
15698
15678
|
s3 = input.charAt(peg$currPos);
|
|
15699
15679
|
peg$currPos++;
|
|
15700
15680
|
} else {
|
|
15701
15681
|
s3 = peg$FAILED;
|
|
15702
15682
|
if (peg$silentFails === 0) {
|
|
15703
|
-
peg$fail(peg$
|
|
15683
|
+
peg$fail(peg$c110);
|
|
15704
15684
|
}
|
|
15705
15685
|
}
|
|
15706
15686
|
if (s3 !== peg$FAILED) {
|
|
15707
15687
|
peg$savedPos = s0;
|
|
15708
|
-
s1 = peg$
|
|
15688
|
+
s1 = peg$c94(s2);
|
|
15709
15689
|
s0 = s1;
|
|
15710
15690
|
} else {
|
|
15711
15691
|
peg$currPos = s0;
|
|
@@ -15721,36 +15701,36 @@ var require_grammar = __commonJS({
|
|
|
15721
15701
|
}
|
|
15722
15702
|
if (s0 === peg$FAILED) {
|
|
15723
15703
|
s0 = peg$currPos;
|
|
15724
|
-
if (peg$
|
|
15704
|
+
if (peg$c113.test(input.charAt(peg$currPos))) {
|
|
15725
15705
|
s1 = input.charAt(peg$currPos);
|
|
15726
15706
|
peg$currPos++;
|
|
15727
15707
|
} else {
|
|
15728
15708
|
s1 = peg$FAILED;
|
|
15729
15709
|
if (peg$silentFails === 0) {
|
|
15730
|
-
peg$fail(peg$
|
|
15710
|
+
peg$fail(peg$c114);
|
|
15731
15711
|
}
|
|
15732
15712
|
}
|
|
15733
15713
|
if (s1 !== peg$FAILED) {
|
|
15734
15714
|
s2 = peg$currPos;
|
|
15735
15715
|
s3 = [];
|
|
15736
|
-
if (peg$
|
|
15716
|
+
if (peg$c115.test(input.charAt(peg$currPos))) {
|
|
15737
15717
|
s4 = input.charAt(peg$currPos);
|
|
15738
15718
|
peg$currPos++;
|
|
15739
15719
|
} else {
|
|
15740
15720
|
s4 = peg$FAILED;
|
|
15741
15721
|
if (peg$silentFails === 0) {
|
|
15742
|
-
peg$fail(peg$
|
|
15722
|
+
peg$fail(peg$c116);
|
|
15743
15723
|
}
|
|
15744
15724
|
}
|
|
15745
15725
|
while (s4 !== peg$FAILED) {
|
|
15746
15726
|
s3.push(s4);
|
|
15747
|
-
if (peg$
|
|
15727
|
+
if (peg$c115.test(input.charAt(peg$currPos))) {
|
|
15748
15728
|
s4 = input.charAt(peg$currPos);
|
|
15749
15729
|
peg$currPos++;
|
|
15750
15730
|
} else {
|
|
15751
15731
|
s4 = peg$FAILED;
|
|
15752
15732
|
if (peg$silentFails === 0) {
|
|
15753
|
-
peg$fail(peg$
|
|
15733
|
+
peg$fail(peg$c116);
|
|
15754
15734
|
}
|
|
15755
15735
|
}
|
|
15756
15736
|
}
|
|
@@ -15760,18 +15740,18 @@ var require_grammar = __commonJS({
|
|
|
15760
15740
|
s2 = s3;
|
|
15761
15741
|
}
|
|
15762
15742
|
if (s2 !== peg$FAILED) {
|
|
15763
|
-
if (peg$
|
|
15743
|
+
if (peg$c113.test(input.charAt(peg$currPos))) {
|
|
15764
15744
|
s3 = input.charAt(peg$currPos);
|
|
15765
15745
|
peg$currPos++;
|
|
15766
15746
|
} else {
|
|
15767
15747
|
s3 = peg$FAILED;
|
|
15768
15748
|
if (peg$silentFails === 0) {
|
|
15769
|
-
peg$fail(peg$
|
|
15749
|
+
peg$fail(peg$c114);
|
|
15770
15750
|
}
|
|
15771
15751
|
}
|
|
15772
15752
|
if (s3 !== peg$FAILED) {
|
|
15773
15753
|
peg$savedPos = s0;
|
|
15774
|
-
s1 = peg$
|
|
15754
|
+
s1 = peg$c94(s2);
|
|
15775
15755
|
s0 = s1;
|
|
15776
15756
|
} else {
|
|
15777
15757
|
peg$currPos = s0;
|
|
@@ -15792,7 +15772,7 @@ var require_grammar = __commonJS({
|
|
|
15792
15772
|
s1 = peg$parsefloatNumber();
|
|
15793
15773
|
if (s1 !== peg$FAILED) {
|
|
15794
15774
|
peg$savedPos = s0;
|
|
15795
|
-
s1 = peg$
|
|
15775
|
+
s1 = peg$c117(s1);
|
|
15796
15776
|
}
|
|
15797
15777
|
s0 = s1;
|
|
15798
15778
|
if (s0 === peg$FAILED) {
|
|
@@ -15800,7 +15780,7 @@ var require_grammar = __commonJS({
|
|
|
15800
15780
|
s1 = peg$parsenumber();
|
|
15801
15781
|
if (s1 !== peg$FAILED) {
|
|
15802
15782
|
peg$savedPos = s0;
|
|
15803
|
-
s1 = peg$
|
|
15783
|
+
s1 = peg$c118(s1);
|
|
15804
15784
|
}
|
|
15805
15785
|
s0 = s1;
|
|
15806
15786
|
}
|
|
@@ -15829,7 +15809,7 @@ var require_grammar = __commonJS({
|
|
|
15829
15809
|
s5 = peg$parsepod_configuration();
|
|
15830
15810
|
if (s5 !== peg$FAILED) {
|
|
15831
15811
|
peg$savedPos = peg$currPos;
|
|
15832
|
-
s6 = peg$
|
|
15812
|
+
s6 = peg$c119(s1, s3, s5);
|
|
15833
15813
|
if (s6) {
|
|
15834
15814
|
s6 = void 0;
|
|
15835
15815
|
} else {
|
|
@@ -15869,7 +15849,7 @@ var require_grammar = __commonJS({
|
|
|
15869
15849
|
s15 = peg$parsestrictIdentifier();
|
|
15870
15850
|
if (s15 !== peg$FAILED) {
|
|
15871
15851
|
peg$savedPos = peg$currPos;
|
|
15872
|
-
s16 = peg$
|
|
15852
|
+
s16 = peg$c120(s1, s3, s5, s9, s15);
|
|
15873
15853
|
if (s16) {
|
|
15874
15854
|
s16 = void 0;
|
|
15875
15855
|
} else {
|
|
@@ -15928,7 +15908,7 @@ var require_grammar = __commonJS({
|
|
|
15928
15908
|
}
|
|
15929
15909
|
if (s10 !== peg$FAILED) {
|
|
15930
15910
|
peg$savedPos = s8;
|
|
15931
|
-
s9 = peg$
|
|
15911
|
+
s9 = peg$c121(s1, s3, s5, s9, s10);
|
|
15932
15912
|
s8 = s9;
|
|
15933
15913
|
} else {
|
|
15934
15914
|
peg$currPos = s8;
|
|
@@ -15973,7 +15953,7 @@ var require_grammar = __commonJS({
|
|
|
15973
15953
|
s15 = peg$parsestrictIdentifier();
|
|
15974
15954
|
if (s15 !== peg$FAILED) {
|
|
15975
15955
|
peg$savedPos = peg$currPos;
|
|
15976
|
-
s16 = peg$
|
|
15956
|
+
s16 = peg$c120(s1, s3, s5, s9, s15);
|
|
15977
15957
|
if (s16) {
|
|
15978
15958
|
s16 = void 0;
|
|
15979
15959
|
} else {
|
|
@@ -16032,7 +16012,7 @@ var require_grammar = __commonJS({
|
|
|
16032
16012
|
}
|
|
16033
16013
|
if (s10 !== peg$FAILED) {
|
|
16034
16014
|
peg$savedPos = s8;
|
|
16035
|
-
s9 = peg$
|
|
16015
|
+
s9 = peg$c121(s1, s3, s5, s9, s10);
|
|
16036
16016
|
s8 = s9;
|
|
16037
16017
|
} else {
|
|
16038
16018
|
peg$currPos = s8;
|
|
@@ -16061,7 +16041,7 @@ var require_grammar = __commonJS({
|
|
|
16061
16041
|
s11 = peg$parsestrictIdentifier();
|
|
16062
16042
|
if (s11 !== peg$FAILED) {
|
|
16063
16043
|
peg$savedPos = peg$currPos;
|
|
16064
|
-
s12 = peg$
|
|
16044
|
+
s12 = peg$c122(s1, s3, s5, s7, s8, s11);
|
|
16065
16045
|
if (s12) {
|
|
16066
16046
|
s12 = void 0;
|
|
16067
16047
|
} else {
|
|
@@ -16074,7 +16054,7 @@ var require_grammar = __commonJS({
|
|
|
16074
16054
|
}
|
|
16075
16055
|
if (s13 !== peg$FAILED) {
|
|
16076
16056
|
peg$savedPos = s9;
|
|
16077
|
-
s10 = peg$
|
|
16057
|
+
s10 = peg$c123(s1, s3, s5, s7, s8, s11);
|
|
16078
16058
|
s9 = s10;
|
|
16079
16059
|
} else {
|
|
16080
16060
|
peg$currPos = s9;
|
|
@@ -16094,7 +16074,7 @@ var require_grammar = __commonJS({
|
|
|
16094
16074
|
}
|
|
16095
16075
|
if (s9 !== peg$FAILED) {
|
|
16096
16076
|
peg$savedPos = peg$currPos;
|
|
16097
|
-
s10 = peg$
|
|
16077
|
+
s10 = peg$c124(s1, s3, s5, s7, s8, s9);
|
|
16098
16078
|
if (s10) {
|
|
16099
16079
|
s10 = void 0;
|
|
16100
16080
|
} else {
|
|
@@ -16102,7 +16082,7 @@ var require_grammar = __commonJS({
|
|
|
16102
16082
|
}
|
|
16103
16083
|
if (s10 !== peg$FAILED) {
|
|
16104
16084
|
peg$savedPos = s0;
|
|
16105
|
-
s1 = peg$
|
|
16085
|
+
s1 = peg$c125(s1, s3, s5, s7, s8, s9);
|
|
16106
16086
|
s0 = s1;
|
|
16107
16087
|
} else {
|
|
16108
16088
|
peg$currPos = s0;
|
|
@@ -16190,13 +16170,13 @@ var require_grammar = __commonJS({
|
|
|
16190
16170
|
s3 = peg$currPos;
|
|
16191
16171
|
s4 = [];
|
|
16192
16172
|
s5 = peg$currPos;
|
|
16193
|
-
if (peg$
|
|
16173
|
+
if (peg$c126.test(input.charAt(peg$currPos))) {
|
|
16194
16174
|
s6 = input.charAt(peg$currPos);
|
|
16195
16175
|
peg$currPos++;
|
|
16196
16176
|
} else {
|
|
16197
16177
|
s6 = peg$FAILED;
|
|
16198
16178
|
if (peg$silentFails === 0) {
|
|
16199
|
-
peg$fail(peg$
|
|
16179
|
+
peg$fail(peg$c127);
|
|
16200
16180
|
}
|
|
16201
16181
|
}
|
|
16202
16182
|
if (s6 !== peg$FAILED) {
|
|
@@ -16221,13 +16201,13 @@ var require_grammar = __commonJS({
|
|
|
16221
16201
|
while (s5 !== peg$FAILED) {
|
|
16222
16202
|
s4.push(s5);
|
|
16223
16203
|
s5 = peg$currPos;
|
|
16224
|
-
if (peg$
|
|
16204
|
+
if (peg$c126.test(input.charAt(peg$currPos))) {
|
|
16225
16205
|
s6 = input.charAt(peg$currPos);
|
|
16226
16206
|
peg$currPos++;
|
|
16227
16207
|
} else {
|
|
16228
16208
|
s6 = peg$FAILED;
|
|
16229
16209
|
if (peg$silentFails === 0) {
|
|
16230
|
-
peg$fail(peg$
|
|
16210
|
+
peg$fail(peg$c127);
|
|
16231
16211
|
}
|
|
16232
16212
|
}
|
|
16233
16213
|
if (s6 !== peg$FAILED) {
|
|
@@ -16261,7 +16241,7 @@ var require_grammar = __commonJS({
|
|
|
16261
16241
|
s4 = peg$parseEOL();
|
|
16262
16242
|
if (s4 !== peg$FAILED) {
|
|
16263
16243
|
peg$savedPos = s0;
|
|
16264
|
-
s1 = peg$
|
|
16244
|
+
s1 = peg$c128();
|
|
16265
16245
|
s0 = s1;
|
|
16266
16246
|
} else {
|
|
16267
16247
|
peg$currPos = s0;
|
|
@@ -16289,7 +16269,7 @@ var require_grammar = __commonJS({
|
|
|
16289
16269
|
if (s2 === peg$FAILED) {
|
|
16290
16270
|
s2 = peg$currPos;
|
|
16291
16271
|
peg$savedPos = peg$currPos;
|
|
16292
|
-
s3 = peg$
|
|
16272
|
+
s3 = peg$c129();
|
|
16293
16273
|
if (s3) {
|
|
16294
16274
|
s3 = void 0;
|
|
16295
16275
|
} else {
|
|
@@ -16316,7 +16296,7 @@ var require_grammar = __commonJS({
|
|
|
16316
16296
|
}
|
|
16317
16297
|
if (s1 !== peg$FAILED) {
|
|
16318
16298
|
peg$savedPos = s0;
|
|
16319
|
-
s1 = peg$
|
|
16299
|
+
s1 = peg$c130();
|
|
16320
16300
|
}
|
|
16321
16301
|
s0 = s1;
|
|
16322
16302
|
return s0;
|
|
@@ -16327,7 +16307,7 @@ var require_grammar = __commonJS({
|
|
|
16327
16307
|
s1 = peg$parsetext_content();
|
|
16328
16308
|
if (s1 !== peg$FAILED) {
|
|
16329
16309
|
peg$savedPos = s0;
|
|
16330
|
-
s1 = peg$
|
|
16310
|
+
s1 = peg$c131(s1);
|
|
16331
16311
|
}
|
|
16332
16312
|
s0 = s1;
|
|
16333
16313
|
return s0;
|
|
@@ -16336,7 +16316,7 @@ var require_grammar = __commonJS({
|
|
|
16336
16316
|
var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
|
|
16337
16317
|
s0 = peg$currPos;
|
|
16338
16318
|
peg$savedPos = peg$currPos;
|
|
16339
|
-
s1 = peg$
|
|
16319
|
+
s1 = peg$c132();
|
|
16340
16320
|
if (s1) {
|
|
16341
16321
|
s1 = void 0;
|
|
16342
16322
|
} else {
|
|
@@ -16410,7 +16390,7 @@ var require_grammar = __commonJS({
|
|
|
16410
16390
|
s4 = peg$parsetableHeadSeparator();
|
|
16411
16391
|
if (s4 !== peg$FAILED) {
|
|
16412
16392
|
peg$savedPos = s3;
|
|
16413
|
-
s4 = peg$
|
|
16393
|
+
s4 = peg$c133(s2, s4);
|
|
16414
16394
|
}
|
|
16415
16395
|
s3 = s4;
|
|
16416
16396
|
if (s3 !== peg$FAILED) {
|
|
@@ -16483,12 +16463,12 @@ var require_grammar = __commonJS({
|
|
|
16483
16463
|
s8 = peg$parsetableBodyRowSeparator();
|
|
16484
16464
|
if (s8 !== peg$FAILED) {
|
|
16485
16465
|
peg$savedPos = s7;
|
|
16486
|
-
s8 = peg$
|
|
16466
|
+
s8 = peg$c134(s2, s3, s6, s8);
|
|
16487
16467
|
}
|
|
16488
16468
|
s7 = s8;
|
|
16489
16469
|
if (s7 !== peg$FAILED) {
|
|
16490
16470
|
peg$savedPos = s5;
|
|
16491
|
-
s6 = peg$
|
|
16471
|
+
s6 = peg$c135(s2, s3, s6, s7);
|
|
16492
16472
|
s5 = s6;
|
|
16493
16473
|
} else {
|
|
16494
16474
|
peg$currPos = s5;
|
|
@@ -16525,7 +16505,7 @@ var require_grammar = __commonJS({
|
|
|
16525
16505
|
s8 = peg$parsetableRow();
|
|
16526
16506
|
if (s8 !== peg$FAILED) {
|
|
16527
16507
|
peg$savedPos = s5;
|
|
16528
|
-
s6 = peg$
|
|
16508
|
+
s6 = peg$c136(s2, s3, s8);
|
|
16529
16509
|
s5 = s6;
|
|
16530
16510
|
} else {
|
|
16531
16511
|
peg$currPos = s5;
|
|
@@ -16611,12 +16591,12 @@ var require_grammar = __commonJS({
|
|
|
16611
16591
|
s8 = peg$parsetableBodyRowSeparator();
|
|
16612
16592
|
if (s8 !== peg$FAILED) {
|
|
16613
16593
|
peg$savedPos = s7;
|
|
16614
|
-
s8 = peg$
|
|
16594
|
+
s8 = peg$c134(s2, s3, s6, s8);
|
|
16615
16595
|
}
|
|
16616
16596
|
s7 = s8;
|
|
16617
16597
|
if (s7 !== peg$FAILED) {
|
|
16618
16598
|
peg$savedPos = s5;
|
|
16619
|
-
s6 = peg$
|
|
16599
|
+
s6 = peg$c135(s2, s3, s6, s7);
|
|
16620
16600
|
s5 = s6;
|
|
16621
16601
|
} else {
|
|
16622
16602
|
peg$currPos = s5;
|
|
@@ -16653,7 +16633,7 @@ var require_grammar = __commonJS({
|
|
|
16653
16633
|
s8 = peg$parsetableRow();
|
|
16654
16634
|
if (s8 !== peg$FAILED) {
|
|
16655
16635
|
peg$savedPos = s5;
|
|
16656
|
-
s6 = peg$
|
|
16636
|
+
s6 = peg$c136(s2, s3, s8);
|
|
16657
16637
|
s5 = s6;
|
|
16658
16638
|
} else {
|
|
16659
16639
|
peg$currPos = s5;
|
|
@@ -16674,7 +16654,7 @@ var require_grammar = __commonJS({
|
|
|
16674
16654
|
}
|
|
16675
16655
|
if (s4 !== peg$FAILED) {
|
|
16676
16656
|
peg$savedPos = peg$currPos;
|
|
16677
|
-
s5 = peg$
|
|
16657
|
+
s5 = peg$c137(s2, s3, s4);
|
|
16678
16658
|
if (s5) {
|
|
16679
16659
|
s5 = void 0;
|
|
16680
16660
|
} else {
|
|
@@ -16682,7 +16662,7 @@ var require_grammar = __commonJS({
|
|
|
16682
16662
|
}
|
|
16683
16663
|
if (s5 !== peg$FAILED) {
|
|
16684
16664
|
peg$savedPos = s0;
|
|
16685
|
-
s1 = peg$
|
|
16665
|
+
s1 = peg$c138(s2, s3, s4);
|
|
16686
16666
|
s0 = s1;
|
|
16687
16667
|
} else {
|
|
16688
16668
|
peg$currPos = s0;
|
|
@@ -16747,7 +16727,7 @@ var require_grammar = __commonJS({
|
|
|
16747
16727
|
}
|
|
16748
16728
|
if (s4 !== peg$FAILED) {
|
|
16749
16729
|
peg$savedPos = s2;
|
|
16750
|
-
s3 = peg$
|
|
16730
|
+
s3 = peg$c139(s3, s4);
|
|
16751
16731
|
s2 = s3;
|
|
16752
16732
|
} else {
|
|
16753
16733
|
peg$currPos = s2;
|
|
@@ -16800,7 +16780,7 @@ var require_grammar = __commonJS({
|
|
|
16800
16780
|
}
|
|
16801
16781
|
if (s4 !== peg$FAILED) {
|
|
16802
16782
|
peg$savedPos = s2;
|
|
16803
|
-
s3 = peg$
|
|
16783
|
+
s3 = peg$c139(s3, s4);
|
|
16804
16784
|
s2 = s3;
|
|
16805
16785
|
} else {
|
|
16806
16786
|
peg$currPos = s2;
|
|
@@ -16816,7 +16796,7 @@ var require_grammar = __commonJS({
|
|
|
16816
16796
|
}
|
|
16817
16797
|
if (s1 !== peg$FAILED) {
|
|
16818
16798
|
peg$savedPos = s0;
|
|
16819
|
-
s1 = peg$
|
|
16799
|
+
s1 = peg$c140(s1);
|
|
16820
16800
|
}
|
|
16821
16801
|
s0 = s1;
|
|
16822
16802
|
if (s0 === peg$FAILED) {
|
|
@@ -16854,7 +16834,7 @@ var require_grammar = __commonJS({
|
|
|
16854
16834
|
s5 = peg$parsepod_configuration();
|
|
16855
16835
|
if (s5 !== peg$FAILED) {
|
|
16856
16836
|
peg$savedPos = peg$currPos;
|
|
16857
|
-
s6 = peg$
|
|
16837
|
+
s6 = peg$c141(s1, s3, s5);
|
|
16858
16838
|
if (s6) {
|
|
16859
16839
|
s6 = void 0;
|
|
16860
16840
|
} else {
|
|
@@ -16862,7 +16842,7 @@ var require_grammar = __commonJS({
|
|
|
16862
16842
|
}
|
|
16863
16843
|
if (s6 !== peg$FAILED) {
|
|
16864
16844
|
peg$savedPos = peg$currPos;
|
|
16865
|
-
s7 = peg$
|
|
16845
|
+
s7 = peg$c142(s1, s3, s5);
|
|
16866
16846
|
if (s7) {
|
|
16867
16847
|
s7 = void 0;
|
|
16868
16848
|
} else {
|
|
@@ -16914,12 +16894,12 @@ var require_grammar = __commonJS({
|
|
|
16914
16894
|
}
|
|
16915
16895
|
if (s9 !== peg$FAILED) {
|
|
16916
16896
|
peg$savedPos = s8;
|
|
16917
|
-
s9 = peg$
|
|
16897
|
+
s9 = peg$c143(s1, s3, s5, s9);
|
|
16918
16898
|
}
|
|
16919
16899
|
s8 = s9;
|
|
16920
16900
|
if (s8 !== peg$FAILED) {
|
|
16921
16901
|
peg$savedPos = peg$currPos;
|
|
16922
|
-
s9 = peg$
|
|
16902
|
+
s9 = peg$c144(s1, s3, s5, s8);
|
|
16923
16903
|
if (s9) {
|
|
16924
16904
|
s9 = void 0;
|
|
16925
16905
|
} else {
|
|
@@ -16940,7 +16920,7 @@ var require_grammar = __commonJS({
|
|
|
16940
16920
|
s13 = peg$parsestrictIdentifier();
|
|
16941
16921
|
if (s13 !== peg$FAILED) {
|
|
16942
16922
|
peg$savedPos = peg$currPos;
|
|
16943
|
-
s14 = peg$
|
|
16923
|
+
s14 = peg$c122(s1, s3, s5, s8, s10, s13);
|
|
16944
16924
|
if (s14) {
|
|
16945
16925
|
s14 = void 0;
|
|
16946
16926
|
} else {
|
|
@@ -16953,7 +16933,7 @@ var require_grammar = __commonJS({
|
|
|
16953
16933
|
}
|
|
16954
16934
|
if (s15 !== peg$FAILED) {
|
|
16955
16935
|
peg$savedPos = s11;
|
|
16956
|
-
s12 = peg$
|
|
16936
|
+
s12 = peg$c145(s1, s3, s5, s8, s10, s13);
|
|
16957
16937
|
s11 = s12;
|
|
16958
16938
|
} else {
|
|
16959
16939
|
peg$currPos = s11;
|
|
@@ -16973,7 +16953,7 @@ var require_grammar = __commonJS({
|
|
|
16973
16953
|
}
|
|
16974
16954
|
if (s11 !== peg$FAILED) {
|
|
16975
16955
|
peg$savedPos = s0;
|
|
16976
|
-
s1 = peg$
|
|
16956
|
+
s1 = peg$c146(s1, s3, s5, s8, s10, s11);
|
|
16977
16957
|
s0 = s1;
|
|
16978
16958
|
} else {
|
|
16979
16959
|
peg$currPos = s0;
|
|
@@ -17041,7 +17021,7 @@ var require_grammar = __commonJS({
|
|
|
17041
17021
|
s5 = peg$parsepod_configuration();
|
|
17042
17022
|
if (s5 !== peg$FAILED) {
|
|
17043
17023
|
peg$savedPos = peg$currPos;
|
|
17044
|
-
s6 = peg$
|
|
17024
|
+
s6 = peg$c141(s1, s3, s5);
|
|
17045
17025
|
if (s6) {
|
|
17046
17026
|
s6 = void 0;
|
|
17047
17027
|
} else {
|
|
@@ -17049,7 +17029,7 @@ var require_grammar = __commonJS({
|
|
|
17049
17029
|
}
|
|
17050
17030
|
if (s6 !== peg$FAILED) {
|
|
17051
17031
|
peg$savedPos = peg$currPos;
|
|
17052
|
-
s7 = peg$
|
|
17032
|
+
s7 = peg$c147(s1, s3, s5);
|
|
17053
17033
|
if (s7) {
|
|
17054
17034
|
s7 = void 0;
|
|
17055
17035
|
} else {
|
|
@@ -17074,7 +17054,7 @@ var require_grammar = __commonJS({
|
|
|
17074
17054
|
}
|
|
17075
17055
|
if (s11 !== peg$FAILED) {
|
|
17076
17056
|
peg$savedPos = s8;
|
|
17077
|
-
s9 = peg$
|
|
17057
|
+
s9 = peg$c148(s1, s3, s5, s10);
|
|
17078
17058
|
s8 = s9;
|
|
17079
17059
|
} else {
|
|
17080
17060
|
peg$currPos = s8;
|
|
@@ -17103,7 +17083,7 @@ var require_grammar = __commonJS({
|
|
|
17103
17083
|
s12 = peg$parsestrictIdentifier();
|
|
17104
17084
|
if (s12 !== peg$FAILED) {
|
|
17105
17085
|
peg$savedPos = peg$currPos;
|
|
17106
|
-
s13 = peg$
|
|
17086
|
+
s13 = peg$c122(s1, s3, s5, s8, s9, s12);
|
|
17107
17087
|
if (s13) {
|
|
17108
17088
|
s13 = void 0;
|
|
17109
17089
|
} else {
|
|
@@ -17116,7 +17096,7 @@ var require_grammar = __commonJS({
|
|
|
17116
17096
|
}
|
|
17117
17097
|
if (s14 !== peg$FAILED) {
|
|
17118
17098
|
peg$savedPos = s10;
|
|
17119
|
-
s11 = peg$
|
|
17099
|
+
s11 = peg$c149(s1, s3, s5, s8, s9, s12);
|
|
17120
17100
|
s10 = s11;
|
|
17121
17101
|
} else {
|
|
17122
17102
|
peg$currPos = s10;
|
|
@@ -17136,7 +17116,7 @@ var require_grammar = __commonJS({
|
|
|
17136
17116
|
}
|
|
17137
17117
|
if (s10 !== peg$FAILED) {
|
|
17138
17118
|
peg$savedPos = peg$currPos;
|
|
17139
|
-
s11 = peg$
|
|
17119
|
+
s11 = peg$c124(s1, s3, s5, s8, s9, s10);
|
|
17140
17120
|
if (s11) {
|
|
17141
17121
|
s11 = void 0;
|
|
17142
17122
|
} else {
|
|
@@ -17144,7 +17124,7 @@ var require_grammar = __commonJS({
|
|
|
17144
17124
|
}
|
|
17145
17125
|
if (s11 !== peg$FAILED) {
|
|
17146
17126
|
peg$savedPos = s0;
|
|
17147
|
-
s1 = peg$
|
|
17127
|
+
s1 = peg$c150(s1, s3, s5, s8, s9, s10);
|
|
17148
17128
|
s0 = s1;
|
|
17149
17129
|
} else {
|
|
17150
17130
|
peg$currPos = s0;
|
|
@@ -17249,7 +17229,7 @@ var require_grammar = __commonJS({
|
|
|
17249
17229
|
}
|
|
17250
17230
|
if (s8 !== peg$FAILED) {
|
|
17251
17231
|
peg$savedPos = s7;
|
|
17252
|
-
s8 = peg$
|
|
17232
|
+
s8 = peg$c151(s1, s3, s5, s8);
|
|
17253
17233
|
}
|
|
17254
17234
|
s7 = s8;
|
|
17255
17235
|
if (s7 === peg$FAILED) {
|
|
@@ -17285,7 +17265,7 @@ var require_grammar = __commonJS({
|
|
|
17285
17265
|
}
|
|
17286
17266
|
if (s9 !== peg$FAILED) {
|
|
17287
17267
|
peg$savedPos = s7;
|
|
17288
|
-
s8 = peg$
|
|
17268
|
+
s8 = peg$c152(s1, s3, s5, s8, s9);
|
|
17289
17269
|
s7 = s8;
|
|
17290
17270
|
} else {
|
|
17291
17271
|
peg$currPos = s7;
|
|
@@ -17335,7 +17315,7 @@ var require_grammar = __commonJS({
|
|
|
17335
17315
|
}
|
|
17336
17316
|
if (s8 !== peg$FAILED) {
|
|
17337
17317
|
peg$savedPos = s7;
|
|
17338
|
-
s8 = peg$
|
|
17318
|
+
s8 = peg$c151(s1, s3, s5, s8);
|
|
17339
17319
|
}
|
|
17340
17320
|
s7 = s8;
|
|
17341
17321
|
if (s7 === peg$FAILED) {
|
|
@@ -17371,7 +17351,7 @@ var require_grammar = __commonJS({
|
|
|
17371
17351
|
}
|
|
17372
17352
|
if (s9 !== peg$FAILED) {
|
|
17373
17353
|
peg$savedPos = s7;
|
|
17374
|
-
s8 = peg$
|
|
17354
|
+
s8 = peg$c152(s1, s3, s5, s8, s9);
|
|
17375
17355
|
s7 = s8;
|
|
17376
17356
|
} else {
|
|
17377
17357
|
peg$currPos = s7;
|
|
@@ -17398,7 +17378,7 @@ var require_grammar = __commonJS({
|
|
|
17398
17378
|
s10 = peg$parsestrictIdentifier();
|
|
17399
17379
|
if (s10 !== peg$FAILED) {
|
|
17400
17380
|
peg$savedPos = peg$currPos;
|
|
17401
|
-
s11 = peg$
|
|
17381
|
+
s11 = peg$c122(s1, s3, s5, s6, s7, s10);
|
|
17402
17382
|
if (s11) {
|
|
17403
17383
|
s11 = void 0;
|
|
17404
17384
|
} else {
|
|
@@ -17411,7 +17391,7 @@ var require_grammar = __commonJS({
|
|
|
17411
17391
|
}
|
|
17412
17392
|
if (s12 !== peg$FAILED) {
|
|
17413
17393
|
peg$savedPos = s8;
|
|
17414
|
-
s9 = peg$
|
|
17394
|
+
s9 = peg$c153(s1, s3, s5, s6, s7, s10);
|
|
17415
17395
|
s8 = s9;
|
|
17416
17396
|
} else {
|
|
17417
17397
|
peg$currPos = s8;
|
|
@@ -17431,7 +17411,7 @@ var require_grammar = __commonJS({
|
|
|
17431
17411
|
}
|
|
17432
17412
|
if (s8 !== peg$FAILED) {
|
|
17433
17413
|
peg$savedPos = peg$currPos;
|
|
17434
|
-
s9 = peg$
|
|
17414
|
+
s9 = peg$c124(s1, s3, s5, s6, s7, s8);
|
|
17435
17415
|
if (s9) {
|
|
17436
17416
|
s9 = void 0;
|
|
17437
17417
|
} else {
|
|
@@ -17439,7 +17419,7 @@ var require_grammar = __commonJS({
|
|
|
17439
17419
|
}
|
|
17440
17420
|
if (s9 !== peg$FAILED) {
|
|
17441
17421
|
peg$savedPos = s0;
|
|
17442
|
-
s1 = peg$
|
|
17422
|
+
s1 = peg$c154(s1, s3, s5, s6, s7, s8);
|
|
17443
17423
|
s0 = s1;
|
|
17444
17424
|
} else {
|
|
17445
17425
|
peg$currPos = s0;
|
|
@@ -17494,7 +17474,7 @@ var require_grammar = __commonJS({
|
|
|
17494
17474
|
}
|
|
17495
17475
|
if (s1 !== peg$FAILED) {
|
|
17496
17476
|
peg$savedPos = s0;
|
|
17497
|
-
s1 = peg$
|
|
17477
|
+
s1 = peg$c155();
|
|
17498
17478
|
}
|
|
17499
17479
|
s0 = s1;
|
|
17500
17480
|
return s0;
|
|
@@ -17507,30 +17487,30 @@ var require_grammar = __commonJS({
|
|
|
17507
17487
|
s3 = peg$parseemptyline();
|
|
17508
17488
|
if (s3 !== peg$FAILED) {
|
|
17509
17489
|
peg$savedPos = s2;
|
|
17510
|
-
s3 = peg$
|
|
17490
|
+
s3 = peg$c156();
|
|
17511
17491
|
}
|
|
17512
17492
|
s2 = s3;
|
|
17513
17493
|
if (s2 === peg$FAILED) {
|
|
17514
17494
|
s2 = [];
|
|
17515
|
-
if (peg$
|
|
17495
|
+
if (peg$c157.test(input.charAt(peg$currPos))) {
|
|
17516
17496
|
s3 = input.charAt(peg$currPos);
|
|
17517
17497
|
peg$currPos++;
|
|
17518
17498
|
} else {
|
|
17519
17499
|
s3 = peg$FAILED;
|
|
17520
17500
|
if (peg$silentFails === 0) {
|
|
17521
|
-
peg$fail(peg$
|
|
17501
|
+
peg$fail(peg$c158);
|
|
17522
17502
|
}
|
|
17523
17503
|
}
|
|
17524
17504
|
if (s3 !== peg$FAILED) {
|
|
17525
17505
|
while (s3 !== peg$FAILED) {
|
|
17526
17506
|
s2.push(s3);
|
|
17527
|
-
if (peg$
|
|
17507
|
+
if (peg$c157.test(input.charAt(peg$currPos))) {
|
|
17528
17508
|
s3 = input.charAt(peg$currPos);
|
|
17529
17509
|
peg$currPos++;
|
|
17530
17510
|
} else {
|
|
17531
17511
|
s3 = peg$FAILED;
|
|
17532
17512
|
if (peg$silentFails === 0) {
|
|
17533
|
-
peg$fail(peg$
|
|
17513
|
+
peg$fail(peg$c158);
|
|
17534
17514
|
}
|
|
17535
17515
|
}
|
|
17536
17516
|
}
|
|
@@ -17548,30 +17528,30 @@ var require_grammar = __commonJS({
|
|
|
17548
17528
|
s3 = peg$parseemptyline();
|
|
17549
17529
|
if (s3 !== peg$FAILED) {
|
|
17550
17530
|
peg$savedPos = s2;
|
|
17551
|
-
s3 = peg$
|
|
17531
|
+
s3 = peg$c156();
|
|
17552
17532
|
}
|
|
17553
17533
|
s2 = s3;
|
|
17554
17534
|
if (s2 === peg$FAILED) {
|
|
17555
17535
|
s2 = [];
|
|
17556
|
-
if (peg$
|
|
17536
|
+
if (peg$c157.test(input.charAt(peg$currPos))) {
|
|
17557
17537
|
s3 = input.charAt(peg$currPos);
|
|
17558
17538
|
peg$currPos++;
|
|
17559
17539
|
} else {
|
|
17560
17540
|
s3 = peg$FAILED;
|
|
17561
17541
|
if (peg$silentFails === 0) {
|
|
17562
|
-
peg$fail(peg$
|
|
17542
|
+
peg$fail(peg$c158);
|
|
17563
17543
|
}
|
|
17564
17544
|
}
|
|
17565
17545
|
if (s3 !== peg$FAILED) {
|
|
17566
17546
|
while (s3 !== peg$FAILED) {
|
|
17567
17547
|
s2.push(s3);
|
|
17568
|
-
if (peg$
|
|
17548
|
+
if (peg$c157.test(input.charAt(peg$currPos))) {
|
|
17569
17549
|
s3 = input.charAt(peg$currPos);
|
|
17570
17550
|
peg$currPos++;
|
|
17571
17551
|
} else {
|
|
17572
17552
|
s3 = peg$FAILED;
|
|
17573
17553
|
if (peg$silentFails === 0) {
|
|
17574
|
-
peg$fail(peg$
|
|
17554
|
+
peg$fail(peg$c158);
|
|
17575
17555
|
}
|
|
17576
17556
|
}
|
|
17577
17557
|
}
|
|
@@ -17588,7 +17568,7 @@ var require_grammar = __commonJS({
|
|
|
17588
17568
|
}
|
|
17589
17569
|
if (s1 !== peg$FAILED) {
|
|
17590
17570
|
peg$savedPos = s0;
|
|
17591
|
-
s1 = peg$
|
|
17571
|
+
s1 = peg$c159(s1);
|
|
17592
17572
|
}
|
|
17593
17573
|
s0 = s1;
|
|
17594
17574
|
return s0;
|
|
@@ -17625,7 +17605,7 @@ var require_grammar = __commonJS({
|
|
|
17625
17605
|
}
|
|
17626
17606
|
if (s5 !== peg$FAILED) {
|
|
17627
17607
|
peg$savedPos = peg$currPos;
|
|
17628
|
-
s6 = peg$
|
|
17608
|
+
s6 = peg$c160(s1, s3);
|
|
17629
17609
|
if (s6) {
|
|
17630
17610
|
s6 = void 0;
|
|
17631
17611
|
} else {
|
|
@@ -17692,7 +17672,7 @@ var require_grammar = __commonJS({
|
|
|
17692
17672
|
}
|
|
17693
17673
|
if (s7 !== peg$FAILED) {
|
|
17694
17674
|
peg$savedPos = s0;
|
|
17695
|
-
s1 = peg$
|
|
17675
|
+
s1 = peg$c161(s1, s3, s7);
|
|
17696
17676
|
s0 = s1;
|
|
17697
17677
|
} else {
|
|
17698
17678
|
peg$currPos = s0;
|
|
@@ -17756,7 +17736,7 @@ var require_grammar = __commonJS({
|
|
|
17756
17736
|
}
|
|
17757
17737
|
if (s5 !== peg$FAILED) {
|
|
17758
17738
|
peg$savedPos = peg$currPos;
|
|
17759
|
-
s6 = peg$
|
|
17739
|
+
s6 = peg$c162(s1, s3);
|
|
17760
17740
|
if (s6) {
|
|
17761
17741
|
s6 = void 0;
|
|
17762
17742
|
} else {
|
|
@@ -17764,7 +17744,7 @@ var require_grammar = __commonJS({
|
|
|
17764
17744
|
}
|
|
17765
17745
|
if (s6 !== peg$FAILED) {
|
|
17766
17746
|
peg$savedPos = peg$currPos;
|
|
17767
|
-
s7 = peg$
|
|
17747
|
+
s7 = peg$c163(s1, s3);
|
|
17768
17748
|
if (s7) {
|
|
17769
17749
|
s7 = void 0;
|
|
17770
17750
|
} else {
|
|
@@ -17774,7 +17754,7 @@ var require_grammar = __commonJS({
|
|
|
17774
17754
|
s8 = peg$parsetableContents();
|
|
17775
17755
|
if (s8 !== peg$FAILED) {
|
|
17776
17756
|
peg$savedPos = s0;
|
|
17777
|
-
s1 = peg$
|
|
17757
|
+
s1 = peg$c164(s1, s3, s8);
|
|
17778
17758
|
s0 = s1;
|
|
17779
17759
|
} else {
|
|
17780
17760
|
peg$currPos = s0;
|
|
@@ -17901,7 +17881,7 @@ var require_grammar = __commonJS({
|
|
|
17901
17881
|
}
|
|
17902
17882
|
if (s6 !== peg$FAILED) {
|
|
17903
17883
|
peg$savedPos = s0;
|
|
17904
|
-
s1 = peg$
|
|
17884
|
+
s1 = peg$c165(s1, s3, s5, s6);
|
|
17905
17885
|
s0 = s1;
|
|
17906
17886
|
} else {
|
|
17907
17887
|
peg$currPos = s0;
|
|
@@ -17945,13 +17925,13 @@ var require_grammar = __commonJS({
|
|
|
17945
17925
|
s4 = peg$currPos;
|
|
17946
17926
|
s5 = peg$parse_();
|
|
17947
17927
|
if (s5 !== peg$FAILED) {
|
|
17948
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
17949
|
-
s6 = peg$
|
|
17928
|
+
if (input.substr(peg$currPos, 2) === peg$c166) {
|
|
17929
|
+
s6 = peg$c166;
|
|
17950
17930
|
peg$currPos += 2;
|
|
17951
17931
|
} else {
|
|
17952
17932
|
s6 = peg$FAILED;
|
|
17953
17933
|
if (peg$silentFails === 0) {
|
|
17954
|
-
peg$fail(peg$
|
|
17934
|
+
peg$fail(peg$c167);
|
|
17955
17935
|
}
|
|
17956
17936
|
}
|
|
17957
17937
|
if (s6 !== peg$FAILED) {
|
|
@@ -17973,7 +17953,7 @@ var require_grammar = __commonJS({
|
|
|
17973
17953
|
s10 = peg$parsenewline();
|
|
17974
17954
|
if (s10 !== peg$FAILED) {
|
|
17975
17955
|
peg$savedPos = s4;
|
|
17976
|
-
s5 = peg$
|
|
17956
|
+
s5 = peg$c90(s1, s8);
|
|
17977
17957
|
s4 = s5;
|
|
17978
17958
|
} else {
|
|
17979
17959
|
peg$currPos = s4;
|
|
@@ -18004,13 +17984,13 @@ var require_grammar = __commonJS({
|
|
|
18004
17984
|
s4 = peg$currPos;
|
|
18005
17985
|
s5 = peg$parse_();
|
|
18006
17986
|
if (s5 !== peg$FAILED) {
|
|
18007
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
18008
|
-
s6 = peg$
|
|
17987
|
+
if (input.substr(peg$currPos, 2) === peg$c166) {
|
|
17988
|
+
s6 = peg$c166;
|
|
18009
17989
|
peg$currPos += 2;
|
|
18010
17990
|
} else {
|
|
18011
17991
|
s6 = peg$FAILED;
|
|
18012
17992
|
if (peg$silentFails === 0) {
|
|
18013
|
-
peg$fail(peg$
|
|
17993
|
+
peg$fail(peg$c167);
|
|
18014
17994
|
}
|
|
18015
17995
|
}
|
|
18016
17996
|
if (s6 !== peg$FAILED) {
|
|
@@ -18032,7 +18012,7 @@ var require_grammar = __commonJS({
|
|
|
18032
18012
|
s10 = peg$parsenewline();
|
|
18033
18013
|
if (s10 !== peg$FAILED) {
|
|
18034
18014
|
peg$savedPos = s4;
|
|
18035
|
-
s5 = peg$
|
|
18015
|
+
s5 = peg$c90(s1, s8);
|
|
18036
18016
|
s4 = s5;
|
|
18037
18017
|
} else {
|
|
18038
18018
|
peg$currPos = s4;
|
|
@@ -18061,7 +18041,7 @@ var require_grammar = __commonJS({
|
|
|
18061
18041
|
}
|
|
18062
18042
|
if (s3 !== peg$FAILED) {
|
|
18063
18043
|
peg$savedPos = s0;
|
|
18064
|
-
s1 = peg$
|
|
18044
|
+
s1 = peg$c91(s1, s3);
|
|
18065
18045
|
s0 = s1;
|
|
18066
18046
|
} else {
|
|
18067
18047
|
peg$currPos = s0;
|
|
@@ -18088,13 +18068,13 @@ var require_grammar = __commonJS({
|
|
|
18088
18068
|
s1 = s2;
|
|
18089
18069
|
}
|
|
18090
18070
|
if (s1 !== peg$FAILED) {
|
|
18091
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
18092
|
-
s2 = peg$
|
|
18071
|
+
if (input.substr(peg$currPos, 6) === peg$c28) {
|
|
18072
|
+
s2 = peg$c28;
|
|
18093
18073
|
peg$currPos += 6;
|
|
18094
18074
|
} else {
|
|
18095
18075
|
s2 = peg$FAILED;
|
|
18096
18076
|
if (peg$silentFails === 0) {
|
|
18097
|
-
peg$fail(peg$
|
|
18077
|
+
peg$fail(peg$c29);
|
|
18098
18078
|
}
|
|
18099
18079
|
}
|
|
18100
18080
|
if (s2 !== peg$FAILED) {
|
|
@@ -18113,7 +18093,7 @@ var require_grammar = __commonJS({
|
|
|
18113
18093
|
s6 = peg$parsealias_replacement_text();
|
|
18114
18094
|
if (s6 !== peg$FAILED) {
|
|
18115
18095
|
peg$savedPos = s0;
|
|
18116
|
-
s1 = peg$
|
|
18096
|
+
s1 = peg$c168(s1, s2, s4, s6);
|
|
18117
18097
|
s0 = s1;
|
|
18118
18098
|
} else {
|
|
18119
18099
|
peg$currPos = s0;
|
|
@@ -18152,13 +18132,13 @@ var require_grammar = __commonJS({
|
|
|
18152
18132
|
s1 = s2;
|
|
18153
18133
|
}
|
|
18154
18134
|
if (s1 !== peg$FAILED) {
|
|
18155
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
18156
|
-
s2 = peg$
|
|
18135
|
+
if (input.substr(peg$currPos, 7) === peg$c26) {
|
|
18136
|
+
s2 = peg$c26;
|
|
18157
18137
|
peg$currPos += 7;
|
|
18158
18138
|
} else {
|
|
18159
18139
|
s2 = peg$FAILED;
|
|
18160
18140
|
if (peg$silentFails === 0) {
|
|
18161
|
-
peg$fail(peg$
|
|
18141
|
+
peg$fail(peg$c27);
|
|
18162
18142
|
}
|
|
18163
18143
|
}
|
|
18164
18144
|
if (s2 !== peg$FAILED) {
|
|
@@ -18168,23 +18148,23 @@ var require_grammar = __commonJS({
|
|
|
18168
18148
|
s5 = peg$parsestrictIdentifier();
|
|
18169
18149
|
if (s5 === peg$FAILED) {
|
|
18170
18150
|
s5 = peg$currPos;
|
|
18171
|
-
if (peg$
|
|
18151
|
+
if (peg$c169.test(input.charAt(peg$currPos))) {
|
|
18172
18152
|
s6 = input.charAt(peg$currPos);
|
|
18173
18153
|
peg$currPos++;
|
|
18174
18154
|
} else {
|
|
18175
18155
|
s6 = peg$FAILED;
|
|
18176
18156
|
if (peg$silentFails === 0) {
|
|
18177
|
-
peg$fail(peg$
|
|
18157
|
+
peg$fail(peg$c170);
|
|
18178
18158
|
}
|
|
18179
18159
|
}
|
|
18180
18160
|
if (s6 !== peg$FAILED) {
|
|
18181
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
18182
|
-
s7 = peg$
|
|
18161
|
+
if (input.substr(peg$currPos, 2) === peg$c171) {
|
|
18162
|
+
s7 = peg$c171;
|
|
18183
18163
|
peg$currPos += 2;
|
|
18184
18164
|
} else {
|
|
18185
18165
|
s7 = peg$FAILED;
|
|
18186
18166
|
if (peg$silentFails === 0) {
|
|
18187
|
-
peg$fail(peg$
|
|
18167
|
+
peg$fail(peg$c172);
|
|
18188
18168
|
}
|
|
18189
18169
|
}
|
|
18190
18170
|
if (s7 !== peg$FAILED) {
|
|
@@ -18210,7 +18190,7 @@ var require_grammar = __commonJS({
|
|
|
18210
18190
|
s6 = peg$parsepod_configuration();
|
|
18211
18191
|
if (s6 !== peg$FAILED) {
|
|
18212
18192
|
peg$savedPos = s0;
|
|
18213
|
-
s1 = peg$
|
|
18193
|
+
s1 = peg$c173(s1, s2, s4, s6);
|
|
18214
18194
|
s0 = s1;
|
|
18215
18195
|
} else {
|
|
18216
18196
|
peg$currPos = s0;
|
|
@@ -18258,7 +18238,7 @@ var require_grammar = __commonJS({
|
|
|
18258
18238
|
s5 = peg$parsepod_configuration();
|
|
18259
18239
|
if (s5 !== peg$FAILED) {
|
|
18260
18240
|
peg$savedPos = peg$currPos;
|
|
18261
|
-
s6 = peg$
|
|
18241
|
+
s6 = peg$c174(s1, s2, s3, s5);
|
|
18262
18242
|
if (s6) {
|
|
18263
18243
|
s6 = void 0;
|
|
18264
18244
|
} else {
|
|
@@ -18325,7 +18305,7 @@ var require_grammar = __commonJS({
|
|
|
18325
18305
|
}
|
|
18326
18306
|
if (s7 !== peg$FAILED) {
|
|
18327
18307
|
peg$savedPos = s0;
|
|
18328
|
-
s1 = peg$
|
|
18308
|
+
s1 = peg$c175(s1, s2, s3, s5, s7);
|
|
18329
18309
|
s0 = s1;
|
|
18330
18310
|
} else {
|
|
18331
18311
|
peg$currPos = s0;
|
|
@@ -18377,7 +18357,7 @@ var require_grammar = __commonJS({
|
|
|
18377
18357
|
s5 = peg$parsepod_configuration();
|
|
18378
18358
|
if (s5 !== peg$FAILED) {
|
|
18379
18359
|
peg$savedPos = peg$currPos;
|
|
18380
|
-
s6 = peg$
|
|
18360
|
+
s6 = peg$c176(s1, s2, s3, s5);
|
|
18381
18361
|
if (s6) {
|
|
18382
18362
|
s6 = void 0;
|
|
18383
18363
|
} else {
|
|
@@ -18385,7 +18365,7 @@ var require_grammar = __commonJS({
|
|
|
18385
18365
|
}
|
|
18386
18366
|
if (s6 !== peg$FAILED) {
|
|
18387
18367
|
peg$savedPos = peg$currPos;
|
|
18388
|
-
s7 = peg$
|
|
18368
|
+
s7 = peg$c177(s1, s2, s3, s5);
|
|
18389
18369
|
if (s7) {
|
|
18390
18370
|
s7 = void 0;
|
|
18391
18371
|
} else {
|
|
@@ -18395,7 +18375,7 @@ var require_grammar = __commonJS({
|
|
|
18395
18375
|
s8 = peg$parsetableContents();
|
|
18396
18376
|
if (s8 !== peg$FAILED) {
|
|
18397
18377
|
peg$savedPos = s0;
|
|
18398
|
-
s1 = peg$
|
|
18378
|
+
s1 = peg$c178(s1, s2, s3, s5, s8);
|
|
18399
18379
|
s0 = s1;
|
|
18400
18380
|
} else {
|
|
18401
18381
|
peg$currPos = s0;
|
|
@@ -18510,7 +18490,7 @@ var require_grammar = __commonJS({
|
|
|
18510
18490
|
}
|
|
18511
18491
|
if (s6 !== peg$FAILED) {
|
|
18512
18492
|
peg$savedPos = s0;
|
|
18513
|
-
s1 = peg$
|
|
18493
|
+
s1 = peg$c179(s1, s2, s3, s5, s6);
|
|
18514
18494
|
s0 = s1;
|
|
18515
18495
|
} else {
|
|
18516
18496
|
peg$currPos = s0;
|
|
@@ -18542,36 +18522,36 @@ var require_grammar = __commonJS({
|
|
|
18542
18522
|
var s0, s1, s2, s3, s4;
|
|
18543
18523
|
s0 = peg$currPos;
|
|
18544
18524
|
s1 = peg$currPos;
|
|
18545
|
-
if (peg$
|
|
18525
|
+
if (peg$c180.test(input.charAt(peg$currPos))) {
|
|
18546
18526
|
s2 = input.charAt(peg$currPos);
|
|
18547
18527
|
peg$currPos++;
|
|
18548
18528
|
} else {
|
|
18549
18529
|
s2 = peg$FAILED;
|
|
18550
18530
|
if (peg$silentFails === 0) {
|
|
18551
|
-
peg$fail(peg$
|
|
18531
|
+
peg$fail(peg$c181);
|
|
18552
18532
|
}
|
|
18553
18533
|
}
|
|
18554
18534
|
if (s2 !== peg$FAILED) {
|
|
18555
18535
|
s3 = [];
|
|
18556
|
-
if (peg$
|
|
18536
|
+
if (peg$c44.test(input.charAt(peg$currPos))) {
|
|
18557
18537
|
s4 = input.charAt(peg$currPos);
|
|
18558
18538
|
peg$currPos++;
|
|
18559
18539
|
} else {
|
|
18560
18540
|
s4 = peg$FAILED;
|
|
18561
18541
|
if (peg$silentFails === 0) {
|
|
18562
|
-
peg$fail(peg$
|
|
18542
|
+
peg$fail(peg$c45);
|
|
18563
18543
|
}
|
|
18564
18544
|
}
|
|
18565
18545
|
if (s4 !== peg$FAILED) {
|
|
18566
18546
|
while (s4 !== peg$FAILED) {
|
|
18567
18547
|
s3.push(s4);
|
|
18568
|
-
if (peg$
|
|
18548
|
+
if (peg$c44.test(input.charAt(peg$currPos))) {
|
|
18569
18549
|
s4 = input.charAt(peg$currPos);
|
|
18570
18550
|
peg$currPos++;
|
|
18571
18551
|
} else {
|
|
18572
18552
|
s4 = peg$FAILED;
|
|
18573
18553
|
if (peg$silentFails === 0) {
|
|
18574
|
-
peg$fail(peg$
|
|
18554
|
+
peg$fail(peg$c45);
|
|
18575
18555
|
}
|
|
18576
18556
|
}
|
|
18577
18557
|
}
|
|
@@ -18600,24 +18580,24 @@ var require_grammar = __commonJS({
|
|
|
18600
18580
|
var s0, s1;
|
|
18601
18581
|
peg$silentFails++;
|
|
18602
18582
|
s0 = [];
|
|
18603
|
-
if (peg$
|
|
18583
|
+
if (peg$c183.test(input.charAt(peg$currPos))) {
|
|
18604
18584
|
s1 = input.charAt(peg$currPos);
|
|
18605
18585
|
peg$currPos++;
|
|
18606
18586
|
} else {
|
|
18607
18587
|
s1 = peg$FAILED;
|
|
18608
18588
|
if (peg$silentFails === 0) {
|
|
18609
|
-
peg$fail(peg$
|
|
18589
|
+
peg$fail(peg$c184);
|
|
18610
18590
|
}
|
|
18611
18591
|
}
|
|
18612
18592
|
while (s1 !== peg$FAILED) {
|
|
18613
18593
|
s0.push(s1);
|
|
18614
|
-
if (peg$
|
|
18594
|
+
if (peg$c183.test(input.charAt(peg$currPos))) {
|
|
18615
18595
|
s1 = input.charAt(peg$currPos);
|
|
18616
18596
|
peg$currPos++;
|
|
18617
18597
|
} else {
|
|
18618
18598
|
s1 = peg$FAILED;
|
|
18619
18599
|
if (peg$silentFails === 0) {
|
|
18620
|
-
peg$fail(peg$
|
|
18600
|
+
peg$fail(peg$c184);
|
|
18621
18601
|
}
|
|
18622
18602
|
}
|
|
18623
18603
|
}
|
|
@@ -18625,7 +18605,7 @@ var require_grammar = __commonJS({
|
|
|
18625
18605
|
if (s0 === peg$FAILED) {
|
|
18626
18606
|
s1 = peg$FAILED;
|
|
18627
18607
|
if (peg$silentFails === 0) {
|
|
18628
|
-
peg$fail(peg$
|
|
18608
|
+
peg$fail(peg$c182);
|
|
18629
18609
|
}
|
|
18630
18610
|
}
|
|
18631
18611
|
return s0;
|
|
@@ -18634,24 +18614,24 @@ var require_grammar = __commonJS({
|
|
|
18634
18614
|
var s0, s1;
|
|
18635
18615
|
peg$silentFails++;
|
|
18636
18616
|
s0 = [];
|
|
18637
|
-
if (peg$
|
|
18617
|
+
if (peg$c183.test(input.charAt(peg$currPos))) {
|
|
18638
18618
|
s1 = input.charAt(peg$currPos);
|
|
18639
18619
|
peg$currPos++;
|
|
18640
18620
|
} else {
|
|
18641
18621
|
s1 = peg$FAILED;
|
|
18642
18622
|
if (peg$silentFails === 0) {
|
|
18643
|
-
peg$fail(peg$
|
|
18623
|
+
peg$fail(peg$c184);
|
|
18644
18624
|
}
|
|
18645
18625
|
}
|
|
18646
18626
|
while (s1 !== peg$FAILED) {
|
|
18647
18627
|
s0.push(s1);
|
|
18648
|
-
if (peg$
|
|
18628
|
+
if (peg$c183.test(input.charAt(peg$currPos))) {
|
|
18649
18629
|
s1 = input.charAt(peg$currPos);
|
|
18650
18630
|
peg$currPos++;
|
|
18651
18631
|
} else {
|
|
18652
18632
|
s1 = peg$FAILED;
|
|
18653
18633
|
if (peg$silentFails === 0) {
|
|
18654
|
-
peg$fail(peg$
|
|
18634
|
+
peg$fail(peg$c184);
|
|
18655
18635
|
}
|
|
18656
18636
|
}
|
|
18657
18637
|
}
|
|
@@ -18659,7 +18639,7 @@ var require_grammar = __commonJS({
|
|
|
18659
18639
|
if (s0 === peg$FAILED) {
|
|
18660
18640
|
s1 = peg$FAILED;
|
|
18661
18641
|
if (peg$silentFails === 0) {
|
|
18662
|
-
peg$fail(peg$
|
|
18642
|
+
peg$fail(peg$c185);
|
|
18663
18643
|
}
|
|
18664
18644
|
}
|
|
18665
18645
|
return s0;
|
|
@@ -18725,6 +18705,59 @@ var require_grammar = __commonJS({
|
|
|
18725
18705
|
}
|
|
18726
18706
|
});
|
|
18727
18707
|
|
|
18708
|
+
// ../../node_modules/slugify/slugify.js
|
|
18709
|
+
var require_slugify = __commonJS({
|
|
18710
|
+
"../../node_modules/slugify/slugify.js"(exports, module) {
|
|
18711
|
+
(function(name, root, factory) {
|
|
18712
|
+
if (typeof exports === "object") {
|
|
18713
|
+
module.exports = factory();
|
|
18714
|
+
module.exports["default"] = factory();
|
|
18715
|
+
} else if (typeof define === "function" && define.amd) {
|
|
18716
|
+
define(factory);
|
|
18717
|
+
} else {
|
|
18718
|
+
root[name] = factory();
|
|
18719
|
+
}
|
|
18720
|
+
})("slugify", exports, function() {
|
|
18721
|
+
var charMap = JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","\xA2":"cent","\xA3":"pound","\xA4":"currency","\xA5":"yen","\xA9":"(c)","\xAA":"a","\xAE":"(r)","\xBA":"o","\xC0":"A","\xC1":"A","\xC2":"A","\xC3":"A","\xC4":"A","\xC5":"A","\xC6":"AE","\xC7":"C","\xC8":"E","\xC9":"E","\xCA":"E","\xCB":"E","\xCC":"I","\xCD":"I","\xCE":"I","\xCF":"I","\xD0":"D","\xD1":"N","\xD2":"O","\xD3":"O","\xD4":"O","\xD5":"O","\xD6":"O","\xD8":"O","\xD9":"U","\xDA":"U","\xDB":"U","\xDC":"U","\xDD":"Y","\xDE":"TH","\xDF":"ss","\xE0":"a","\xE1":"a","\xE2":"a","\xE3":"a","\xE4":"a","\xE5":"a","\xE6":"ae","\xE7":"c","\xE8":"e","\xE9":"e","\xEA":"e","\xEB":"e","\xEC":"i","\xED":"i","\xEE":"i","\xEF":"i","\xF0":"d","\xF1":"n","\xF2":"o","\xF3":"o","\xF4":"o","\xF5":"o","\xF6":"o","\xF8":"o","\xF9":"u","\xFA":"u","\xFB":"u","\xFC":"u","\xFD":"y","\xFE":"th","\xFF":"y","\u0100":"A","\u0101":"a","\u0102":"A","\u0103":"a","\u0104":"A","\u0105":"a","\u0106":"C","\u0107":"c","\u010C":"C","\u010D":"c","\u010E":"D","\u010F":"d","\u0110":"DJ","\u0111":"dj","\u0112":"E","\u0113":"e","\u0116":"E","\u0117":"e","\u0118":"e","\u0119":"e","\u011A":"E","\u011B":"e","\u011E":"G","\u011F":"g","\u0122":"G","\u0123":"g","\u0128":"I","\u0129":"i","\u012A":"i","\u012B":"i","\u012E":"I","\u012F":"i","\u0130":"I","\u0131":"i","\u0136":"k","\u0137":"k","\u013B":"L","\u013C":"l","\u013D":"L","\u013E":"l","\u0141":"L","\u0142":"l","\u0143":"N","\u0144":"n","\u0145":"N","\u0146":"n","\u0147":"N","\u0148":"n","\u014C":"O","\u014D":"o","\u0150":"O","\u0151":"o","\u0152":"OE","\u0153":"oe","\u0154":"R","\u0155":"r","\u0158":"R","\u0159":"r","\u015A":"S","\u015B":"s","\u015E":"S","\u015F":"s","\u0160":"S","\u0161":"s","\u0162":"T","\u0163":"t","\u0164":"T","\u0165":"t","\u0168":"U","\u0169":"u","\u016A":"u","\u016B":"u","\u016E":"U","\u016F":"u","\u0170":"U","\u0171":"u","\u0172":"U","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017A":"z","\u017B":"Z","\u017C":"z","\u017D":"Z","\u017E":"z","\u018F":"E","\u0192":"f","\u01A0":"O","\u01A1":"o","\u01AF":"U","\u01B0":"u","\u01C8":"LJ","\u01C9":"lj","\u01CB":"NJ","\u01CC":"nj","\u0218":"S","\u0219":"s","\u021A":"T","\u021B":"t","\u0259":"e","\u02DA":"o","\u0386":"A","\u0388":"E","\u0389":"H","\u038A":"I","\u038C":"O","\u038E":"Y","\u038F":"W","\u0390":"i","\u0391":"A","\u0392":"B","\u0393":"G","\u0394":"D","\u0395":"E","\u0396":"Z","\u0397":"H","\u0398":"8","\u0399":"I","\u039A":"K","\u039B":"L","\u039C":"M","\u039D":"N","\u039E":"3","\u039F":"O","\u03A0":"P","\u03A1":"R","\u03A3":"S","\u03A4":"T","\u03A5":"Y","\u03A6":"F","\u03A7":"X","\u03A8":"PS","\u03A9":"W","\u03AA":"I","\u03AB":"Y","\u03AC":"a","\u03AD":"e","\u03AE":"h","\u03AF":"i","\u03B0":"y","\u03B1":"a","\u03B2":"b","\u03B3":"g","\u03B4":"d","\u03B5":"e","\u03B6":"z","\u03B7":"h","\u03B8":"8","\u03B9":"i","\u03BA":"k","\u03BB":"l","\u03BC":"m","\u03BD":"n","\u03BE":"3","\u03BF":"o","\u03C0":"p","\u03C1":"r","\u03C2":"s","\u03C3":"s","\u03C4":"t","\u03C5":"y","\u03C6":"f","\u03C7":"x","\u03C8":"ps","\u03C9":"w","\u03CA":"i","\u03CB":"y","\u03CC":"o","\u03CD":"y","\u03CE":"w","\u0401":"Yo","\u0402":"DJ","\u0404":"Ye","\u0406":"I","\u0407":"Yi","\u0408":"J","\u0409":"LJ","\u040A":"NJ","\u040B":"C","\u040F":"DZ","\u0410":"A","\u0411":"B","\u0412":"V","\u0413":"G","\u0414":"D","\u0415":"E","\u0416":"Zh","\u0417":"Z","\u0418":"I","\u0419":"J","\u041A":"K","\u041B":"L","\u041C":"M","\u041D":"N","\u041E":"O","\u041F":"P","\u0420":"R","\u0421":"S","\u0422":"T","\u0423":"U","\u0424":"F","\u0425":"H","\u0426":"C","\u0427":"Ch","\u0428":"Sh","\u0429":"Sh","\u042A":"U","\u042B":"Y","\u042C":"","\u042D":"E","\u042E":"Yu","\u042F":"Ya","\u0430":"a","\u0431":"b","\u0432":"v","\u0433":"g","\u0434":"d","\u0435":"e","\u0436":"zh","\u0437":"z","\u0438":"i","\u0439":"j","\u043A":"k","\u043B":"l","\u043C":"m","\u043D":"n","\u043E":"o","\u043F":"p","\u0440":"r","\u0441":"s","\u0442":"t","\u0443":"u","\u0444":"f","\u0445":"h","\u0446":"c","\u0447":"ch","\u0448":"sh","\u0449":"sh","\u044A":"u","\u044B":"y","\u044C":"","\u044D":"e","\u044E":"yu","\u044F":"ya","\u0451":"yo","\u0452":"dj","\u0454":"ye","\u0456":"i","\u0457":"yi","\u0458":"j","\u0459":"lj","\u045A":"nj","\u045B":"c","\u045D":"u","\u045F":"dz","\u0490":"G","\u0491":"g","\u0492":"GH","\u0493":"gh","\u049A":"KH","\u049B":"kh","\u04A2":"NG","\u04A3":"ng","\u04AE":"UE","\u04AF":"ue","\u04B0":"U","\u04B1":"u","\u04BA":"H","\u04BB":"h","\u04D8":"AE","\u04D9":"ae","\u04E8":"OE","\u04E9":"oe","\u0531":"A","\u0532":"B","\u0533":"G","\u0534":"D","\u0535":"E","\u0536":"Z","\u0537":"E'","\u0538":"Y'","\u0539":"T'","\u053A":"JH","\u053B":"I","\u053C":"L","\u053D":"X","\u053E":"C'","\u053F":"K","\u0540":"H","\u0541":"D'","\u0542":"GH","\u0543":"TW","\u0544":"M","\u0545":"Y","\u0546":"N","\u0547":"SH","\u0549":"CH","\u054A":"P","\u054B":"J","\u054C":"R'","\u054D":"S","\u054E":"V","\u054F":"T","\u0550":"R","\u0551":"C","\u0553":"P'","\u0554":"Q'","\u0555":"O''","\u0556":"F","\u0587":"EV","\u0621":"a","\u0622":"aa","\u0623":"a","\u0624":"u","\u0625":"i","\u0626":"e","\u0627":"a","\u0628":"b","\u0629":"h","\u062A":"t","\u062B":"th","\u062C":"j","\u062D":"h","\u062E":"kh","\u062F":"d","\u0630":"th","\u0631":"r","\u0632":"z","\u0633":"s","\u0634":"sh","\u0635":"s","\u0636":"dh","\u0637":"t","\u0638":"z","\u0639":"a","\u063A":"gh","\u0641":"f","\u0642":"q","\u0643":"k","\u0644":"l","\u0645":"m","\u0646":"n","\u0647":"h","\u0648":"w","\u0649":"a","\u064A":"y","\u064B":"an","\u064C":"on","\u064D":"en","\u064E":"a","\u064F":"u","\u0650":"e","\u0652":"","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u067E":"p","\u0686":"ch","\u0698":"zh","\u06A9":"k","\u06AF":"g","\u06CC":"y","\u06F0":"0","\u06F1":"1","\u06F2":"2","\u06F3":"3","\u06F4":"4","\u06F5":"5","\u06F6":"6","\u06F7":"7","\u06F8":"8","\u06F9":"9","\u0E3F":"baht","\u10D0":"a","\u10D1":"b","\u10D2":"g","\u10D3":"d","\u10D4":"e","\u10D5":"v","\u10D6":"z","\u10D7":"t","\u10D8":"i","\u10D9":"k","\u10DA":"l","\u10DB":"m","\u10DC":"n","\u10DD":"o","\u10DE":"p","\u10DF":"zh","\u10E0":"r","\u10E1":"s","\u10E2":"t","\u10E3":"u","\u10E4":"f","\u10E5":"k","\u10E6":"gh","\u10E7":"q","\u10E8":"sh","\u10E9":"ch","\u10EA":"ts","\u10EB":"dz","\u10EC":"ts","\u10ED":"ch","\u10EE":"kh","\u10EF":"j","\u10F0":"h","\u1E62":"S","\u1E63":"s","\u1E80":"W","\u1E81":"w","\u1E82":"W","\u1E83":"w","\u1E84":"W","\u1E85":"w","\u1E9E":"SS","\u1EA0":"A","\u1EA1":"a","\u1EA2":"A","\u1EA3":"a","\u1EA4":"A","\u1EA5":"a","\u1EA6":"A","\u1EA7":"a","\u1EA8":"A","\u1EA9":"a","\u1EAA":"A","\u1EAB":"a","\u1EAC":"A","\u1EAD":"a","\u1EAE":"A","\u1EAF":"a","\u1EB0":"A","\u1EB1":"a","\u1EB2":"A","\u1EB3":"a","\u1EB4":"A","\u1EB5":"a","\u1EB6":"A","\u1EB7":"a","\u1EB8":"E","\u1EB9":"e","\u1EBA":"E","\u1EBB":"e","\u1EBC":"E","\u1EBD":"e","\u1EBE":"E","\u1EBF":"e","\u1EC0":"E","\u1EC1":"e","\u1EC2":"E","\u1EC3":"e","\u1EC4":"E","\u1EC5":"e","\u1EC6":"E","\u1EC7":"e","\u1EC8":"I","\u1EC9":"i","\u1ECA":"I","\u1ECB":"i","\u1ECC":"O","\u1ECD":"o","\u1ECE":"O","\u1ECF":"o","\u1ED0":"O","\u1ED1":"o","\u1ED2":"O","\u1ED3":"o","\u1ED4":"O","\u1ED5":"o","\u1ED6":"O","\u1ED7":"o","\u1ED8":"O","\u1ED9":"o","\u1EDA":"O","\u1EDB":"o","\u1EDC":"O","\u1EDD":"o","\u1EDE":"O","\u1EDF":"o","\u1EE0":"O","\u1EE1":"o","\u1EE2":"O","\u1EE3":"o","\u1EE4":"U","\u1EE5":"u","\u1EE6":"U","\u1EE7":"u","\u1EE8":"U","\u1EE9":"u","\u1EEA":"U","\u1EEB":"u","\u1EEC":"U","\u1EED":"u","\u1EEE":"U","\u1EEF":"u","\u1EF0":"U","\u1EF1":"u","\u1EF2":"Y","\u1EF3":"y","\u1EF4":"Y","\u1EF5":"y","\u1EF6":"Y","\u1EF7":"y","\u1EF8":"Y","\u1EF9":"y","\u2013":"-","\u2018":"'","\u2019":"'","\u201C":"\\"","\u201D":"\\"","\u201E":"\\"","\u2020":"+","\u2022":"*","\u2026":"...","\u20A0":"ecu","\u20A2":"cruzeiro","\u20A3":"french franc","\u20A4":"lira","\u20A5":"mill","\u20A6":"naira","\u20A7":"peseta","\u20A8":"rupee","\u20A9":"won","\u20AA":"new shequel","\u20AB":"dong","\u20AC":"euro","\u20AD":"kip","\u20AE":"tugrik","\u20AF":"drachma","\u20B0":"penny","\u20B1":"peso","\u20B2":"guarani","\u20B3":"austral","\u20B4":"hryvnia","\u20B5":"cedi","\u20B8":"kazakhstani tenge","\u20B9":"indian rupee","\u20BA":"turkish lira","\u20BD":"russian ruble","\u20BF":"bitcoin","\u2120":"sm","\u2122":"tm","\u2202":"d","\u2206":"delta","\u2211":"sum","\u221E":"infinity","\u2665":"love","\u5143":"yuan","\u5186":"yen","\uFDFC":"rial","\uFEF5":"laa","\uFEF7":"laa","\uFEF9":"lai","\uFEFB":"la"}`);
|
|
18722
|
+
var locales = JSON.parse('{"bg":{"\u0419":"Y","\u0426":"Ts","\u0429":"Sht","\u042A":"A","\u042C":"Y","\u0439":"y","\u0446":"ts","\u0449":"sht","\u044A":"a","\u044C":"y"},"de":{"\xC4":"AE","\xE4":"ae","\xD6":"OE","\xF6":"oe","\xDC":"UE","\xFC":"ue","\xDF":"ss","%":"prozent","&":"und","|":"oder","\u2211":"summe","\u221E":"unendlich","\u2665":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","\xA2":"centavos","\xA3":"libras","\xA4":"moneda","\u20A3":"francos","\u2211":"suma","\u221E":"infinito","\u2665":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","\xA2":"centime","\xA3":"livre","\xA4":"devise","\u20A3":"franc","\u2211":"somme","\u221E":"infini","\u2665":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","\xA2":"centavo","\u2211":"soma","\xA3":"libra","\u221E":"infinito","\u2665":"amor"},"uk":{"\u0418":"Y","\u0438":"y","\u0419":"Y","\u0439":"y","\u0426":"Ts","\u0446":"ts","\u0425":"Kh","\u0445":"kh","\u0429":"Shch","\u0449":"shch","\u0413":"H","\u0433":"h"},"vi":{"\u0110":"D","\u0111":"d"},"da":{"\xD8":"OE","\xF8":"oe","\xC5":"AA","\xE5":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"st\xF8rre end"},"nb":{"&":"og","\xC5":"AA","\xC6":"AE","\xD8":"OE","\xE5":"aa","\xE6":"ae","\xF8":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","\xC5":"AA","\xC4":"AE","\xD6":"OE","\xE5":"aa","\xE4":"ae","\xF6":"oe"}}');
|
|
18723
|
+
function replace2(string3, options) {
|
|
18724
|
+
if (typeof string3 !== "string") {
|
|
18725
|
+
throw new Error("slugify: string argument expected");
|
|
18726
|
+
}
|
|
18727
|
+
options = typeof options === "string" ? { replacement: options } : options || {};
|
|
18728
|
+
var locale = locales[options.locale] || {};
|
|
18729
|
+
var replacement = options.replacement === void 0 ? "-" : options.replacement;
|
|
18730
|
+
var trim = options.trim === void 0 ? true : options.trim;
|
|
18731
|
+
var slug = string3.normalize().split("").reduce(function(result, ch) {
|
|
18732
|
+
var appendChar = locale[ch];
|
|
18733
|
+
if (appendChar === void 0)
|
|
18734
|
+
appendChar = charMap[ch];
|
|
18735
|
+
if (appendChar === void 0)
|
|
18736
|
+
appendChar = ch;
|
|
18737
|
+
if (appendChar === replacement)
|
|
18738
|
+
appendChar = " ";
|
|
18739
|
+
return result + appendChar.replace(options.remove || /[^\w\s$*_+~.()'"!\-:@]+/g, "");
|
|
18740
|
+
}, "");
|
|
18741
|
+
if (options.strict) {
|
|
18742
|
+
slug = slug.replace(/[^A-Za-z0-9\s]/g, "");
|
|
18743
|
+
}
|
|
18744
|
+
if (trim) {
|
|
18745
|
+
slug = slug.trim();
|
|
18746
|
+
}
|
|
18747
|
+
slug = slug.replace(/\s+/g, replacement);
|
|
18748
|
+
if (options.lower) {
|
|
18749
|
+
slug = slug.toLowerCase();
|
|
18750
|
+
}
|
|
18751
|
+
return slug;
|
|
18752
|
+
}
|
|
18753
|
+
replace2.extend = function(customMap) {
|
|
18754
|
+
Object.assign(charMap, customMap);
|
|
18755
|
+
};
|
|
18756
|
+
return replace2;
|
|
18757
|
+
});
|
|
18758
|
+
}
|
|
18759
|
+
});
|
|
18760
|
+
|
|
18728
18761
|
// ../podlite-schema/src/grammarfc.js
|
|
18729
18762
|
var require_grammarfc = __commonJS({
|
|
18730
18763
|
"../podlite-schema/src/grammarfc.js"(exports, module) {
|
|
@@ -25644,7 +25677,7 @@ var require_package = __commonJS({
|
|
|
25644
25677
|
"../podlite-schema/package.json"(exports, module) {
|
|
25645
25678
|
module.exports = {
|
|
25646
25679
|
name: "@podlite/schema",
|
|
25647
|
-
version: "0.0.
|
|
25680
|
+
version: "0.0.41",
|
|
25648
25681
|
description: "AST tools and schema for Podlite markup language \u2014 validate, traverse, and transform document trees",
|
|
25649
25682
|
main: "./src/index.ts",
|
|
25650
25683
|
homepage: "https://podlite.org",
|
|
@@ -25684,7 +25717,7 @@ var require_package = __commonJS({
|
|
|
25684
25717
|
build: "run-s build:pegjs build_lib build:ast ",
|
|
25685
25718
|
build_lib: "yarn g:build",
|
|
25686
25719
|
"build:ast": "ts-node scripts/make-ast-scheme.ts",
|
|
25687
|
-
"build:pegjs": "pegmill -o src/grammar.js src/grammar.pegjs && pegmill -o src/grammarfc.js src/grammarfc.pegjs",
|
|
25720
|
+
"build:pegjs": "pegmill --allowed-start-rules Document,attributesOnly -o src/grammar.js src/grammar.pegjs && pegmill -o src/grammarfc.js src/grammarfc.pegjs",
|
|
25688
25721
|
watch: "npx nodemon -e js,ts --exec 'yarn' build",
|
|
25689
25722
|
"watch:pegjs": "npx nodemon -e pegmill --exec 'yarn' build:pegjs",
|
|
25690
25723
|
test: "yarn g:jest --passWithNoTests"
|
|
@@ -26336,6 +26369,18 @@ var toAny = (options = {}, plugins = []) => {
|
|
|
26336
26369
|
}
|
|
26337
26370
|
};
|
|
26338
26371
|
|
|
26372
|
+
// ../podlite-schema/src/helpers/parseAttributes.ts
|
|
26373
|
+
var parser = __toESM(require_grammar());
|
|
26374
|
+
function parseAttributes(src) {
|
|
26375
|
+
if (!src || !src.trim())
|
|
26376
|
+
return [];
|
|
26377
|
+
try {
|
|
26378
|
+
return parser.parse(src, { startRule: "attributesOnly" });
|
|
26379
|
+
} catch {
|
|
26380
|
+
return [];
|
|
26381
|
+
}
|
|
26382
|
+
}
|
|
26383
|
+
|
|
26339
26384
|
// ../podlite-schema/src/plugin-clean-location.ts
|
|
26340
26385
|
var pluginCleanLocation = () => (tree) => {
|
|
26341
26386
|
const transformer = makeTransformer_default({
|
|
@@ -26698,7 +26743,7 @@ var rules = {
|
|
|
26698
26743
|
var import_slugify = __toESM(require_slugify());
|
|
26699
26744
|
|
|
26700
26745
|
// ../podlite-schema/src/index.ts
|
|
26701
|
-
var
|
|
26746
|
+
var parser2 = __toESM(require_grammar());
|
|
26702
26747
|
|
|
26703
26748
|
// ../podlite-schema/src/plugin-vmargin.ts
|
|
26704
26749
|
var middle = () => (tree) => {
|
|
@@ -26750,29 +26795,18 @@ var middle2 = () => (tree) => {
|
|
|
26750
26795
|
content: visiter(n.content, ctx, visiter)
|
|
26751
26796
|
};
|
|
26752
26797
|
const conf = config_default(n, ctx);
|
|
26753
|
-
const
|
|
26754
|
-
const
|
|
26755
|
-
const
|
|
26756
|
-
|
|
26757
|
-
const isFormulaBlock = "name" in n && n.name === "formula";
|
|
26758
|
-
const allowValues = [...conf.getAllValues("allow"), ...isCodeBlock ? ["NONE"] : []];
|
|
26759
|
-
if (isNamedBlock(n.name))
|
|
26798
|
+
const name = "name" in n ? n.name : "";
|
|
26799
|
+
const isVerbatimDefault = ["code", "data", "markdown", "picture", "formula"].includes(name);
|
|
26800
|
+
const allowValues = conf.getAllValues("allow");
|
|
26801
|
+
if (isNamedBlock(name))
|
|
26760
26802
|
return n;
|
|
26761
|
-
if (
|
|
26803
|
+
if (isVerbatimDefault && allowValues.length === 0)
|
|
26762
26804
|
return n;
|
|
26763
26805
|
const allowed = allowValues.sort();
|
|
26764
26806
|
const transformer = makeTransformer_default({
|
|
26765
|
-
":verbatim": (n2, ctx2) => {
|
|
26766
|
-
|
|
26767
|
-
|
|
26768
|
-
return fcparser.parse(n2.value, { allowed });
|
|
26769
|
-
},
|
|
26770
|
-
":text": (n2, ctx2) => {
|
|
26771
|
-
return fcparser.parse(n2.value, { allowed });
|
|
26772
|
-
},
|
|
26773
|
-
":block": (n2, ctx2) => {
|
|
26774
|
-
return transformerBlocks(n2, { ...ctx2 });
|
|
26775
|
-
}
|
|
26807
|
+
":verbatim": (n2, ctx2) => fcparser.parse(n2.value, { allowed }),
|
|
26808
|
+
":text": (n2, ctx2) => fcparser.parse(n2.value, { allowed }),
|
|
26809
|
+
":block": (n2, ctx2) => transformerBlocks(n2, { ...ctx2 })
|
|
26776
26810
|
});
|
|
26777
26811
|
return { ...n, content: transformer(n.content, { ...ctx }) };
|
|
26778
26812
|
}
|
|
@@ -27086,6 +27120,28 @@ function parseTsv(text4) {
|
|
|
27086
27120
|
const rows = lines.map((line) => line.split(" "));
|
|
27087
27121
|
return rows.filter((r) => !(r.length === 1 && r[0].trim() === ""));
|
|
27088
27122
|
}
|
|
27123
|
+
function parseMimeType(raw) {
|
|
27124
|
+
if (!raw || typeof raw !== "string")
|
|
27125
|
+
return { type: "", params: {} };
|
|
27126
|
+
const parts = raw.split(";").map((s) => s.trim());
|
|
27127
|
+
const type = (parts.shift() || "").toLowerCase();
|
|
27128
|
+
const params = {};
|
|
27129
|
+
for (const p of parts) {
|
|
27130
|
+
if (!p)
|
|
27131
|
+
continue;
|
|
27132
|
+
const eq = p.indexOf("=");
|
|
27133
|
+
if (eq < 0)
|
|
27134
|
+
continue;
|
|
27135
|
+
const key = p.slice(0, eq).trim().toLowerCase();
|
|
27136
|
+
let value = p.slice(eq + 1).trim();
|
|
27137
|
+
if (value.startsWith('"') && value.endsWith('"') || value.startsWith("'") && value.endsWith("'")) {
|
|
27138
|
+
value = value.slice(1, -1);
|
|
27139
|
+
}
|
|
27140
|
+
if (key)
|
|
27141
|
+
params[key] = value;
|
|
27142
|
+
}
|
|
27143
|
+
return { type, params };
|
|
27144
|
+
}
|
|
27089
27145
|
function findDataBlockByKey(tree, key) {
|
|
27090
27146
|
let found = null;
|
|
27091
27147
|
const walk = (node) => {
|
|
@@ -27158,10 +27214,10 @@ function buildRowBlock(cells, isHeader) {
|
|
|
27158
27214
|
}
|
|
27159
27215
|
return block;
|
|
27160
27216
|
}
|
|
27161
|
-
function csvToTableContent(csvRows) {
|
|
27162
|
-
return csvRows.map((row) => {
|
|
27217
|
+
function csvToTableContent(csvRows, hasHeader = false) {
|
|
27218
|
+
return csvRows.map((row, i) => {
|
|
27163
27219
|
const cells = row.map((v) => buildCellBlock(v.trim()));
|
|
27164
|
-
return buildRowBlock(cells,
|
|
27220
|
+
return buildRowBlock(cells, hasHeader && i === 0);
|
|
27165
27221
|
});
|
|
27166
27222
|
}
|
|
27167
27223
|
function normalizeCellCounts(tableNode, source = "table") {
|
|
@@ -27364,7 +27420,8 @@ var plugin_tables_default = () => (tree) => {
|
|
|
27364
27420
|
console.warn(`[table] no =data block found for data:${ref.target} \u2014 rendered as empty`);
|
|
27365
27421
|
return { ...node, content: [] };
|
|
27366
27422
|
}
|
|
27367
|
-
const
|
|
27423
|
+
const rawMime = config_default(dataBlock, {}).getFirstValue("mime-type");
|
|
27424
|
+
const { type: mimeType, params: mimeParams } = parseMimeType(rawMime);
|
|
27368
27425
|
const isCsv = mimeType === "text/csv";
|
|
27369
27426
|
const isTsv = mimeType === "text/tab-separated-values";
|
|
27370
27427
|
if (isCsv || isTsv) {
|
|
@@ -27376,11 +27433,12 @@ var plugin_tables_default = () => (tree) => {
|
|
|
27376
27433
|
);
|
|
27377
27434
|
return { ...node, content: [] };
|
|
27378
27435
|
}
|
|
27379
|
-
const
|
|
27436
|
+
const hasHeader = mimeParams.header === "present";
|
|
27437
|
+
const filledNode = { ...node, content: csvToTableContent(rows2, hasHeader) };
|
|
27380
27438
|
return normalizeCellCounts(filledNode, `table data:${ref.target}`);
|
|
27381
27439
|
}
|
|
27382
27440
|
console.warn(
|
|
27383
|
-
`[table] =data :key<${ref.target}> has non-tabular mime-type ${
|
|
27441
|
+
`[table] =data :key<${ref.target}> has non-tabular mime-type ${rawMime || "(none)"} \u2014 rendered as =code`
|
|
27384
27442
|
);
|
|
27385
27443
|
return buildCodeFromDataBlock(node, dataBlock);
|
|
27386
27444
|
}
|
|
@@ -27722,7 +27780,7 @@ var ajv = new import_ajv.default({ strict: true, allowUnionTypes: true });
|
|
|
27722
27780
|
function makeTree() {
|
|
27723
27781
|
var plugins = [];
|
|
27724
27782
|
chain.use = use;
|
|
27725
|
-
chain.parse =
|
|
27783
|
+
chain.parse = parse6;
|
|
27726
27784
|
chain.use(plugin_vmargin_default);
|
|
27727
27785
|
chain.use(plugin_items_default);
|
|
27728
27786
|
chain.use(plugin_heading_default);
|
|
@@ -27742,9 +27800,9 @@ function makeTree() {
|
|
|
27742
27800
|
plugins.push(plugin2);
|
|
27743
27801
|
return chain;
|
|
27744
27802
|
}
|
|
27745
|
-
function
|
|
27803
|
+
function parse6(src, opt = { skipChain: 0, podMode: 1 }) {
|
|
27746
27804
|
const { skipChain = 0, podMode = 1 } = opt;
|
|
27747
|
-
let tree =
|
|
27805
|
+
let tree = parser2.parse(src, { podMode });
|
|
27748
27806
|
if (!skipChain) {
|
|
27749
27807
|
for (let i = 0; i < plugins.length; i++) {
|
|
27750
27808
|
const plugin2 = plugins[i];
|
|
@@ -28358,7 +28416,7 @@ function base() {
|
|
|
28358
28416
|
processor.freeze = freeze;
|
|
28359
28417
|
processor.attachers = attachers;
|
|
28360
28418
|
processor.use = use;
|
|
28361
|
-
processor.parse =
|
|
28419
|
+
processor.parse = parse6;
|
|
28362
28420
|
processor.stringify = stringify;
|
|
28363
28421
|
processor.run = run;
|
|
28364
28422
|
processor.runSync = runSync;
|
|
@@ -28481,7 +28539,7 @@ function base() {
|
|
|
28481
28539
|
}
|
|
28482
28540
|
}
|
|
28483
28541
|
}
|
|
28484
|
-
function
|
|
28542
|
+
function parse6(doc) {
|
|
28485
28543
|
processor.freeze();
|
|
28486
28544
|
const file = vfile(doc);
|
|
28487
28545
|
const Parser = processor.Parser;
|
|
@@ -31997,7 +32055,7 @@ function resolveAllLineSuffixes(events, context) {
|
|
|
31997
32055
|
}
|
|
31998
32056
|
|
|
31999
32057
|
// ../../node_modules/micromark/lib/create-tokenizer.js
|
|
32000
|
-
function createTokenizer(
|
|
32058
|
+
function createTokenizer(parser3, initialize, from) {
|
|
32001
32059
|
let point2 = Object.assign(
|
|
32002
32060
|
from ? Object.assign({}, from) : {
|
|
32003
32061
|
line: 1,
|
|
@@ -32029,7 +32087,7 @@ function createTokenizer(parser2, initialize, from) {
|
|
|
32029
32087
|
code: null,
|
|
32030
32088
|
containerState: {},
|
|
32031
32089
|
events: [],
|
|
32032
|
-
parser:
|
|
32090
|
+
parser: parser3,
|
|
32033
32091
|
sliceStream,
|
|
32034
32092
|
sliceSerialize,
|
|
32035
32093
|
now,
|
|
@@ -32371,11 +32429,11 @@ var disable = {
|
|
|
32371
32429
|
};
|
|
32372
32430
|
|
|
32373
32431
|
// ../../node_modules/micromark/lib/parse.js
|
|
32374
|
-
function
|
|
32432
|
+
function parse5(options = {}) {
|
|
32375
32433
|
const constructs2 = combineExtensions(
|
|
32376
32434
|
[constructs_exports].concat(options.extensions || [])
|
|
32377
32435
|
);
|
|
32378
|
-
const
|
|
32436
|
+
const parser3 = {
|
|
32379
32437
|
defined: [],
|
|
32380
32438
|
lazy: {},
|
|
32381
32439
|
constructs: constructs2,
|
|
@@ -32385,11 +32443,11 @@ function parse4(options = {}) {
|
|
|
32385
32443
|
string: create(string),
|
|
32386
32444
|
text: create(text)
|
|
32387
32445
|
};
|
|
32388
|
-
return
|
|
32446
|
+
return parser3;
|
|
32389
32447
|
function create(initial) {
|
|
32390
32448
|
return creator;
|
|
32391
32449
|
function creator(from) {
|
|
32392
|
-
return createTokenizer(
|
|
32450
|
+
return createTokenizer(parser3, initial, from);
|
|
32393
32451
|
}
|
|
32394
32452
|
}
|
|
32395
32453
|
}
|
|
@@ -32519,7 +32577,7 @@ var fromMarkdown = function(value, encoding, options) {
|
|
|
32519
32577
|
}
|
|
32520
32578
|
return compiler(options)(
|
|
32521
32579
|
postprocess(
|
|
32522
|
-
|
|
32580
|
+
parse5(options).document().write(preprocess()(value, encoding, true))
|
|
32523
32581
|
)
|
|
32524
32582
|
);
|
|
32525
32583
|
};
|
|
@@ -33230,7 +33288,7 @@ function defaultOnError(left, right) {
|
|
|
33230
33288
|
|
|
33231
33289
|
// ../../node_modules/remark-parse/lib/index.js
|
|
33232
33290
|
function remarkParse(options) {
|
|
33233
|
-
const
|
|
33291
|
+
const parser3 = (doc) => {
|
|
33234
33292
|
const settings = this.data("settings");
|
|
33235
33293
|
return fromMarkdown(
|
|
33236
33294
|
doc,
|
|
@@ -33240,7 +33298,7 @@ function remarkParse(options) {
|
|
|
33240
33298
|
})
|
|
33241
33299
|
);
|
|
33242
33300
|
};
|
|
33243
|
-
Object.assign(this, { Parser:
|
|
33301
|
+
Object.assign(this, { Parser: parser3 });
|
|
33244
33302
|
}
|
|
33245
33303
|
|
|
33246
33304
|
// ../../node_modules/remark-parse/index.js
|
|
@@ -36427,7 +36485,7 @@ var md2ast = (src, { lineOffset } = { lineOffset: 0 }) => {
|
|
|
36427
36485
|
config.push({ name: "lang", value: lang, type: "string" });
|
|
36428
36486
|
}
|
|
36429
36487
|
if (meta) {
|
|
36430
|
-
config.push(
|
|
36488
|
+
config.push(...parseAttributes(meta));
|
|
36431
36489
|
}
|
|
36432
36490
|
return mkBlock({ type: "block", name: "code", config, location: applyLineOffset(position2) }, [
|
|
36433
36491
|
mkVerbatim(node.value)
|