Brunobkr/llama.cpp_AlgMor24_github
ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.
03.1k
1(function (global, factory) {2 typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('estraverse')) :3 typeof define === 'function' && define.amd ? define(['estraverse'], factory) :4 (global = global || self, global.esquery = factory(global.estraverse));5}(this, (function (estraverse) { 'use strict';6 7 estraverse = estraverse && Object.prototype.hasOwnProperty.call(estraverse, 'default') ? estraverse['default'] : estraverse;8 9 function _arrayLikeToArray(r, a) {10 (null == a || a > r.length) && (a = r.length);11 for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];12 return n;13 }14 function _arrayWithHoles(r) {15 if (Array.isArray(r)) return r;16 }17 function _arrayWithoutHoles(r) {18 if (Array.isArray(r)) return _arrayLikeToArray(r);19 }20 function _iterableToArray(r) {21 if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);22 }23 function _iterableToArrayLimit(r, l) {24 var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];25 if (null != t) {26 var e,27 n,28 i,29 u,30 a = [],31 f = !0,32 o = !1;33 try {34 if (i = (t = t.call(r)).next, 0 === l) {35 if (Object(t) !== t) return;36 f = !1;37 } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);38 } catch (r) {39 o = !0, n = r;40 } finally {41 try {42 if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;43 } finally {44 if (o) throw n;45 }46 }47 return a;48 }49 }50 function _nonIterableRest() {51 throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");52 }53 function _nonIterableSpread() {54 throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");55 }56 function _slicedToArray(r, e) {57 return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();58 }59 function _toConsumableArray(r) {60 return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();61 }62 function _typeof(o) {63 "@babel/helpers - typeof";64 65 return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {66 return typeof o;67 } : function (o) {68 return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;69 }, _typeof(o);70 }71 function _unsupportedIterableToArray(r, a) {72 if (r) {73 if ("string" == typeof r) return _arrayLikeToArray(r, a);74 var t = {}.toString.call(r).slice(8, -1);75 return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;76 }77 }78 79 var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};80 81 function createCommonjsModule(fn, module) {82 return module = { exports: {} }, fn(module, module.exports), module.exports;83 }84 85 var parser = createCommonjsModule(function (module) {86 /*87 * Generated by PEG.js 0.10.0.88 *89 * http://pegjs.org/90 */91 (function (root, factory) {92 if ( module.exports) {93 module.exports = factory();94 }95 })(commonjsGlobal, function () {96 97 function peg$subclass(child, parent) {98 function ctor() {99 this.constructor = child;100 }101 ctor.prototype = parent.prototype;102 child.prototype = new ctor();103 }104 function peg$SyntaxError(message, expected, found, location) {105 this.message = message;106 this.expected = expected;107 this.found = found;108 this.location = location;109 this.name = "SyntaxError";110 if (typeof Error.captureStackTrace === "function") {111 Error.captureStackTrace(this, peg$SyntaxError);112 }113 }114 peg$subclass(peg$SyntaxError, Error);115 peg$SyntaxError.buildMessage = function (expected, found) {116 var DESCRIBE_EXPECTATION_FNS = {117 literal: function literal(expectation) {118 return "\"" + literalEscape(expectation.text) + "\"";119 },120 "class": function _class(expectation) {121 var escapedParts = "",122 i;123 for (i = 0; i < expectation.parts.length; i++) {124 escapedParts += expectation.parts[i] instanceof Array ? classEscape(expectation.parts[i][0]) + "-" + classEscape(expectation.parts[i][1]) : classEscape(expectation.parts[i]);125 }126 return "[" + (expectation.inverted ? "^" : "") + escapedParts + "]";127 },128 any: function any(expectation) {129 return "any character";130 },131 end: function end(expectation) {132 return "end of input";133 },134 other: function other(expectation) {135 return expectation.description;136 }137 };138 function hex(ch) {139 return ch.charCodeAt(0).toString(16).toUpperCase();140 }141 function literalEscape(s) {142 return s.replace(/\\/g, '\\\\').replace(/"/g, '\\"').replace(/\0/g, '\\0').replace(/\t/g, '\\t').replace(/\n/g, '\\n').replace(/\r/g, '\\r').replace(/[\x00-\x0F]/g, function (ch) {143 return '\\x0' + hex(ch);144 }).replace(/[\x10-\x1F\x7F-\x9F]/g, function (ch) {145 return '\\x' + hex(ch);146 });147 }148 function classEscape(s) {149 return s.replace(/\\/g, '\\\\').replace(/\]/g, '\\]').replace(/\^/g, '\\^').replace(/-/g, '\\-').replace(/\0/g, '\\0').replace(/\t/g, '\\t').replace(/\n/g, '\\n').replace(/\r/g, '\\r').replace(/[\x00-\x0F]/g, function (ch) {150 return '\\x0' + hex(ch);151 }).replace(/[\x10-\x1F\x7F-\x9F]/g, function (ch) {152 return '\\x' + hex(ch);153 });154 }155 function describeExpectation(expectation) {156 return DESCRIBE_EXPECTATION_FNS[expectation.type](expectation);157 }158 function describeExpected(expected) {159 var descriptions = new Array(expected.length),160 i,161 j;162 for (i = 0; i < expected.length; i++) {163 descriptions[i] = describeExpectation(expected[i]);164 }165 descriptions.sort();166 if (descriptions.length > 0) {167 for (i = 1, j = 1; i < descriptions.length; i++) {168 if (descriptions[i - 1] !== descriptions[i]) {169 descriptions[j] = descriptions[i];170 j++;171 }172 }173 descriptions.length = j;174 }175 switch (descriptions.length) {176 case 1:177 return descriptions[0];178 case 2:179 return descriptions[0] + " or " + descriptions[1];180 default:181 return descriptions.slice(0, -1).join(", ") + ", or " + descriptions[descriptions.length - 1];182 }183 }184 function describeFound(found) {185 return found ? "\"" + literalEscape(found) + "\"" : "end of input";186 }187 return "Expected " + describeExpected(expected) + " but " + describeFound(found) + " found.";188 };189 function peg$parse(input, options) {190 options = options !== void 0 ? options : {};191 var peg$FAILED = {},192 peg$startRuleFunctions = {193 start: peg$parsestart194 },195 peg$startRuleFunction = peg$parsestart,196 peg$c0 = function peg$c0(ss) {197 return ss.length === 1 ? ss[0] : {198 type: 'matches',199 selectors: ss200 };201 },202 peg$c1 = function peg$c1() {203 return void 0;204 },205 peg$c2 = " ",206 peg$c3 = peg$literalExpectation(" ", false),207 peg$c4 = /^[^ [\],():#!=><~+.]/,208 peg$c5 = peg$classExpectation([" ", "[", "]", ",", "(", ")", ":", "#", "!", "=", ">", "<", "~", "+", "."], true, false),209 peg$c6 = function peg$c6(i) {210 return i.join('');211 },212 peg$c7 = ">",213 peg$c8 = peg$literalExpectation(">", false),214 peg$c9 = function peg$c9() {215 return 'child';216 },217 peg$c10 = "~",218 peg$c11 = peg$literalExpectation("~", false),219 peg$c12 = function peg$c12() {220 return 'sibling';221 },222 peg$c13 = "+",223 peg$c14 = peg$literalExpectation("+", false),224 peg$c15 = function peg$c15() {225 return 'adjacent';226 },227 peg$c16 = function peg$c16() {228 return 'descendant';229 },230 peg$c17 = ",",231 peg$c18 = peg$literalExpectation(",", false),232 peg$c19 = function peg$c19(s, ss) {233 return [s].concat(ss.map(function (s) {234 return s[3];235 }));236 },237 peg$c20 = function peg$c20(op, s) {238 if (!op) return s;239 return {240 type: op,241 left: {242 type: 'exactNode'243 },244 right: s245 };246 },247 peg$c21 = function peg$c21(a, ops) {248 return ops.reduce(function (memo, rhs) {249 return {250 type: rhs[0],251 left: memo,252 right: rhs[1]253 };254 }, a);255 },256 peg$c22 = "!",257 peg$c23 = peg$literalExpectation("!", false),258 peg$c24 = function peg$c24(subject, as) {259 var b = as.length === 1 ? as[0] : {260 type: 'compound',261 selectors: as262 };263 if (subject) b.subject = true;264 return b;265 },266 peg$c25 = "*",267 peg$c26 = peg$literalExpectation("*", false),268 peg$c27 = function peg$c27(a) {269 return {270 type: 'wildcard',271 value: a272 };273 },274 peg$c28 = "#",275 peg$c29 = peg$literalExpectation("#", false),276 peg$c30 = function peg$c30(i) {277 return {278 type: 'identifier',279 value: i280 };281 },282 peg$c31 = "[",283 peg$c32 = peg$literalExpectation("[", false),284 peg$c33 = "]",285 peg$c34 = peg$literalExpectation("]", false),286 peg$c35 = function peg$c35(v) {287 return v;288 },289 peg$c36 = /^[><!]/,290 peg$c37 = peg$classExpectation([">", "<", "!"], false, false),291 peg$c38 = "=",292 peg$c39 = peg$literalExpectation("=", false),293 peg$c40 = function peg$c40(a) {294 return (a || '') + '=';295 },296 peg$c41 = /^[><]/,297 peg$c42 = peg$classExpectation([">", "<"], false, false),298 peg$c43 = ".",299 peg$c44 = peg$literalExpectation(".", false),300 peg$c45 = function peg$c45(a, as) {301 return [].concat.apply([a], as).join('');302 },303 peg$c46 = function peg$c46(name, op, value) {304 return {305 type: 'attribute',306 name: name,307 operator: op,308 value: value309 };310 },311 peg$c47 = function peg$c47(name) {312 return {313 type: 'attribute',314 name: name315 };316 },317 peg$c48 = "\"",318 peg$c49 = peg$literalExpectation("\"", false),319 peg$c50 = /^[^\\"]/,320 peg$c51 = peg$classExpectation(["\\", "\""], true, false),321 peg$c52 = "\\",322 peg$c53 = peg$literalExpectation("\\", false),323 peg$c54 = peg$anyExpectation(),324 peg$c55 = function peg$c55(a, b) {325 return a + b;326 },327 peg$c56 = function peg$c56(d) {328 return {329 type: 'literal',330 value: strUnescape(d.join(''))331 };332 },333 peg$c57 = "'",334 peg$c58 = peg$literalExpectation("'", false),335 peg$c59 = /^[^\\']/,336 peg$c60 = peg$classExpectation(["\\", "'"], true, false),337 peg$c61 = /^[0-9]/,338 peg$c62 = peg$classExpectation([["0", "9"]], false, false),339 peg$c63 = function peg$c63(a, b) {340 // Can use `a.flat().join('')` once supported341 var leadingDecimals = a ? [].concat.apply([], a).join('') : '';342 return {343 type: 'literal',344 value: parseFloat(leadingDecimals + b.join(''))345 };346 },347 peg$c64 = function peg$c64(i) {348 return {349 type: 'literal',350 value: i351 };352 },353 peg$c65 = "type(",354 peg$c66 = peg$literalExpectation("type(", false),355 peg$c67 = /^[^ )]/,356 peg$c68 = peg$classExpectation([" ", ")"], true, false),357 peg$c69 = ")",358 peg$c70 = peg$literalExpectation(")", false),359 peg$c71 = function peg$c71(t) {360 return {361 type: 'type',362 value: t.join('')363 };364 },365 peg$c72 = /^[imsu]/,366 peg$c73 = peg$classExpectation(["i", "m", "s", "u"], false, false),367 peg$c74 = "/",368 peg$c75 = peg$literalExpectation("/", false),369 peg$c76 = function peg$c76(pattern, flgs) {370 return {371 type: 'regexp',372 value: new RegExp(pattern.join(''), flgs ? flgs.join('') : '')373 };374 },375 peg$c77 = /^[^\]\\]/,376 peg$c78 = peg$classExpectation(["]", "\\"], true, false),377 peg$c79 = function peg$c79(cs) {378 return '[' + cs.join('') + ']';379 },380 peg$c80 = function peg$c80(a) {381 return '\\' + a;382 },383 peg$c81 = /^[^\/\\[]/,384 peg$c82 = peg$classExpectation(["/", "\\", "["], true, false),385 peg$c83 = function peg$c83(cs) {386 return cs.join('');387 },388 peg$c84 = function peg$c84(i, is) {389 return {390 type: 'field',391 name: is.reduce(function (memo, p) {392 return memo + p[0] + p[1];393 }, i)394 };395 },396 peg$c85 = ":not(",397 peg$c86 = peg$literalExpectation(":not(", false),398 peg$c87 = function peg$c87(ss) {399 return {400 type: 'not',401 selectors: ss402 };403 },404 peg$c88 = ":matches(",405 peg$c89 = peg$literalExpectation(":matches(", false),406 peg$c90 = function peg$c90(ss) {407 return {408 type: 'matches',409 selectors: ss410 };411 },412 peg$c91 = ":is(",413 peg$c92 = peg$literalExpectation(":is(", false),414 peg$c93 = ":has(",415 peg$c94 = peg$literalExpectation(":has(", false),416 peg$c95 = function peg$c95(ss) {417 return {418 type: 'has',419 selectors: ss420 };421 },422 peg$c96 = ":first-child",423 peg$c97 = peg$literalExpectation(":first-child", false),424 peg$c98 = function peg$c98() {425 return nth(1);426 },427 peg$c99 = ":last-child",428 peg$c100 = peg$literalExpectation(":last-child", false),429 peg$c101 = function peg$c101() {430 return nthLast(1);431 },432 peg$c102 = ":nth-child(",433 peg$c103 = peg$literalExpectation(":nth-child(", false),434 peg$c104 = function peg$c104(n) {435 return nth(parseInt(n.join(''), 10));436 },437 peg$c105 = ":nth-last-child(",438 peg$c106 = peg$literalExpectation(":nth-last-child(", false),439 peg$c107 = function peg$c107(n) {440 return nthLast(parseInt(n.join(''), 10));441 },442 peg$c108 = ":",443 peg$c109 = peg$literalExpectation(":", false),444 peg$c110 = function peg$c110(c) {445 return {446 type: 'class',447 name: c448 };449 },450 peg$currPos = 0,451 peg$posDetailsCache = [{452 line: 1,453 column: 1454 }],455 peg$maxFailPos = 0,456 peg$maxFailExpected = [],457 peg$resultsCache = {},458 peg$result;459 if ("startRule" in options) {460 if (!(options.startRule in peg$startRuleFunctions)) {461 throw new Error("Can't start parsing from rule \"" + options.startRule + "\".");462 }463 peg$startRuleFunction = peg$startRuleFunctions[options.startRule];464 }465 function peg$literalExpectation(text, ignoreCase) {466 return {467 type: "literal",468 text: text,469 ignoreCase: ignoreCase470 };471 }472 function peg$classExpectation(parts, inverted, ignoreCase) {473 return {474 type: "class",475 parts: parts,476 inverted: inverted,477 ignoreCase: ignoreCase478 };479 }480 function peg$anyExpectation() {481 return {482 type: "any"483 };484 }485 function peg$endExpectation() {486 return {487 type: "end"488 };489 }490 function peg$computePosDetails(pos) {491 var details = peg$posDetailsCache[pos],492 p;493 if (details) {494 return details;495 } else {496 p = pos - 1;497 while (!peg$posDetailsCache[p]) {498 p--;499 }500 details = peg$posDetailsCache[p];501 details = {502 line: details.line,503 column: details.column504 };505 while (p < pos) {506 if (input.charCodeAt(p) === 10) {507 details.line++;508 details.column = 1;509 } else {510 details.column++;511 }512 p++;513 }514 peg$posDetailsCache[pos] = details;515 return details;516 }517 }518 function peg$computeLocation(startPos, endPos) {519 var startPosDetails = peg$computePosDetails(startPos),520 endPosDetails = peg$computePosDetails(endPos);521 return {522 start: {523 offset: startPos,524 line: startPosDetails.line,525 column: startPosDetails.column526 },527 end: {528 offset: endPos,529 line: endPosDetails.line,530 column: endPosDetails.column531 }532 };533 }534 function peg$fail(expected) {535 if (peg$currPos < peg$maxFailPos) {536 return;537 }538 if (peg$currPos > peg$maxFailPos) {539 peg$maxFailPos = peg$currPos;540 peg$maxFailExpected = [];541 }542 peg$maxFailExpected.push(expected);543 }544 function peg$buildStructuredError(expected, found, location) {545 return new peg$SyntaxError(peg$SyntaxError.buildMessage(expected, found), expected, found, location);546 }547 function peg$parsestart() {548 var s0, s1, s2, s3;549 var key = peg$currPos * 36 + 0,550 cached = peg$resultsCache[key];551 if (cached) {552 peg$currPos = cached.nextPos;553 return cached.result;554 }555 s0 = peg$currPos;556 s1 = peg$parse_();557 if (s1 !== peg$FAILED) {558 s2 = peg$parseselectors();559 if (s2 !== peg$FAILED) {560 s3 = peg$parse_();561 if (s3 !== peg$FAILED) {562 s1 = peg$c0(s2);563 s0 = s1;564 } else {565 peg$currPos = s0;566 s0 = peg$FAILED;567 }568 } else {569 peg$currPos = s0;570 s0 = peg$FAILED;571 }572 } else {573 peg$currPos = s0;574 s0 = peg$FAILED;575 }576 if (s0 === peg$FAILED) {577 s0 = peg$currPos;578 s1 = peg$parse_();579 if (s1 !== peg$FAILED) {580 s1 = peg$c1();581 }582 s0 = s1;583 }584 peg$resultsCache[key] = {585 nextPos: peg$currPos,586 result: s0587 };588 return s0;589 }590 function peg$parse_() {591 var s0, s1;592 var key = peg$currPos * 36 + 1,593 cached = peg$resultsCache[key];594 if (cached) {595 peg$currPos = cached.nextPos;596 return cached.result;597 }598 s0 = [];599 if (input.charCodeAt(peg$currPos) === 32) {600 s1 = peg$c2;601 peg$currPos++;602 } else {603 s1 = peg$FAILED;604 {605 peg$fail(peg$c3);606 }607 }608 while (s1 !== peg$FAILED) {609 s0.push(s1);610 if (input.charCodeAt(peg$currPos) === 32) {611 s1 = peg$c2;612 peg$currPos++;613 } else {614 s1 = peg$FAILED;615 {616 peg$fail(peg$c3);617 }618 }619 }620 peg$resultsCache[key] = {621 nextPos: peg$currPos,622 result: s0623 };624 return s0;625 }626 function peg$parseidentifierName() {627 var s0, s1, s2;628 var key = peg$currPos * 36 + 2,629 cached = peg$resultsCache[key];630 if (cached) {631 peg$currPos = cached.nextPos;632 return cached.result;633 }634 s0 = peg$currPos;635 s1 = [];636 if (peg$c4.test(input.charAt(peg$currPos))) {637 s2 = input.charAt(peg$currPos);638 peg$currPos++;639 } else {640 s2 = peg$FAILED;641 {642 peg$fail(peg$c5);643 }644 }645 if (s2 !== peg$FAILED) {646 while (s2 !== peg$FAILED) {647 s1.push(s2);648 if (peg$c4.test(input.charAt(peg$currPos))) {649 s2 = input.charAt(peg$currPos);650 peg$currPos++;651 } else {652 s2 = peg$FAILED;653 {654 peg$fail(peg$c5);655 }656 }657 }658 } else {659 s1 = peg$FAILED;660 }661 if (s1 !== peg$FAILED) {662 s1 = peg$c6(s1);663 }664 s0 = s1;665 peg$resultsCache[key] = {666 nextPos: peg$currPos,667 result: s0668 };669 return s0;670 }671 function peg$parsebinaryOp() {672 var s0, s1, s2, s3;673 var key = peg$currPos * 36 + 3,674 cached = peg$resultsCache[key];675 if (cached) {676 peg$currPos = cached.nextPos;677 return cached.result;678 }679 s0 = peg$currPos;680 s1 = peg$parse_();681 if (s1 !== peg$FAILED) {682 if (input.charCodeAt(peg$currPos) === 62) {683 s2 = peg$c7;684 peg$currPos++;685 } else {686 s2 = peg$FAILED;687 {688 peg$fail(peg$c8);689 }690 }691 if (s2 !== peg$FAILED) {692 s3 = peg$parse_();693 if (s3 !== peg$FAILED) {694 s1 = peg$c9();695 s0 = s1;696 } else {697 peg$currPos = s0;698 s0 = peg$FAILED;699 }700 } else {701 peg$currPos = s0;702 s0 = peg$FAILED;703 }704 } else {705 peg$currPos = s0;706 s0 = peg$FAILED;707 }708 if (s0 === peg$FAILED) {709 s0 = peg$currPos;710 s1 = peg$parse_();711 if (s1 !== peg$FAILED) {712 if (input.charCodeAt(peg$currPos) === 126) {713 s2 = peg$c10;714 peg$currPos++;715 } else {716 s2 = peg$FAILED;717 {718 peg$fail(peg$c11);719 }720 }721 if (s2 !== peg$FAILED) {722 s3 = peg$parse_();723 if (s3 !== peg$FAILED) {724 s1 = peg$c12();725 s0 = s1;726 } else {727 peg$currPos = s0;728 s0 = peg$FAILED;729 }730 } else {731 peg$currPos = s0;732 s0 = peg$FAILED;733 }734 } else {735 peg$currPos = s0;736 s0 = peg$FAILED;737 }738 if (s0 === peg$FAILED) {739 s0 = peg$currPos;740 s1 = peg$parse_();741 if (s1 !== peg$FAILED) {742 if (input.charCodeAt(peg$currPos) === 43) {743 s2 = peg$c13;744 peg$currPos++;745 } else {746 s2 = peg$FAILED;747 {748 peg$fail(peg$c14);749 }750 }751 if (s2 !== peg$FAILED) {752 s3 = peg$parse_();753 if (s3 !== peg$FAILED) {754 s1 = peg$c15();755 s0 = s1;756 } else {757 peg$currPos = s0;758 s0 = peg$FAILED;759 }760 } else {761 peg$currPos = s0;762 s0 = peg$FAILED;763 }764 } else {765 peg$currPos = s0;766 s0 = peg$FAILED;767 }768 if (s0 === peg$FAILED) {769 s0 = peg$currPos;770 if (input.charCodeAt(peg$currPos) === 32) {771 s1 = peg$c2;772 peg$currPos++;773 } else {774 s1 = peg$FAILED;775 {776 peg$fail(peg$c3);777 }778 }779 if (s1 !== peg$FAILED) {780 s2 = peg$parse_();781 if (s2 !== peg$FAILED) {782 s1 = peg$c16();783 s0 = s1;784 } else {785 peg$currPos = s0;786 s0 = peg$FAILED;787 }788 } else {789 peg$currPos = s0;790 s0 = peg$FAILED;791 }792 }793 }794 }795 peg$resultsCache[key] = {796 nextPos: peg$currPos,797 result: s0798 };799 return s0;800 }801 function peg$parsehasSelectors() {802 var s0, s1, s2, s3, s4, s5, s6, s7;803 var key = peg$currPos * 36 + 4,804 cached = peg$resultsCache[key];805 if (cached) {806 peg$currPos = cached.nextPos;807 return cached.result;808 }809 s0 = peg$currPos;810 s1 = peg$parsehasSelector();811 if (s1 !== peg$FAILED) {812 s2 = [];813 s3 = peg$currPos;814 s4 = peg$parse_();815 if (s4 !== peg$FAILED) {816 if (input.charCodeAt(peg$currPos) === 44) {817 s5 = peg$c17;818 peg$currPos++;819 } else {820 s5 = peg$FAILED;821 {822 peg$fail(peg$c18);823 }824 }825 if (s5 !== peg$FAILED) {826 s6 = peg$parse_();827 if (s6 !== peg$FAILED) {828 s7 = peg$parsehasSelector();829 if (s7 !== peg$FAILED) {830 s4 = [s4, s5, s6, s7];831 s3 = s4;832 } else {833 peg$currPos = s3;834 s3 = peg$FAILED;835 }836 } else {837 peg$currPos = s3;838 s3 = peg$FAILED;839 }840 } else {841 peg$currPos = s3;842 s3 = peg$FAILED;843 }844 } else {845 peg$currPos = s3;846 s3 = peg$FAILED;847 }848 while (s3 !== peg$FAILED) {849 s2.push(s3);850 s3 = peg$currPos;851 s4 = peg$parse_();852 if (s4 !== peg$FAILED) {853 if (input.charCodeAt(peg$currPos) === 44) {854 s5 = peg$c17;855 peg$currPos++;856 } else {857 s5 = peg$FAILED;858 {859 peg$fail(peg$c18);860 }861 }862 if (s5 !== peg$FAILED) {863 s6 = peg$parse_();864 if (s6 !== peg$FAILED) {865 s7 = peg$parsehasSelector();866 if (s7 !== peg$FAILED) {867 s4 = [s4, s5, s6, s7];868 s3 = s4;869 } else {870 peg$currPos = s3;871 s3 = peg$FAILED;872 }873 } else {874 peg$currPos = s3;875 s3 = peg$FAILED;876 }877 } else {878 peg$currPos = s3;879 s3 = peg$FAILED;880 }881 } else {882 peg$currPos = s3;883 s3 = peg$FAILED;884 }885 }886 if (s2 !== peg$FAILED) {887 s1 = peg$c19(s1, s2);888 s0 = s1;889 } else {890 peg$currPos = s0;891 s0 = peg$FAILED;892 }893 } else {894 peg$currPos = s0;895 s0 = peg$FAILED;896 }897 peg$resultsCache[key] = {898 nextPos: peg$currPos,899 result: s0900 };901 return s0;902 }903 function peg$parseselectors() {904 var s0, s1, s2, s3, s4, s5, s6, s7;905 var key = peg$currPos * 36 + 5,906 cached = peg$resultsCache[key];907 if (cached) {908 peg$currPos = cached.nextPos;909 return cached.result;910 }911 s0 = peg$currPos;912 s1 = peg$parseselector();913 if (s1 !== peg$FAILED) {914 s2 = [];915 s3 = peg$currPos;916 s4 = peg$parse_();917 if (s4 !== peg$FAILED) {918 if (input.charCodeAt(peg$currPos) === 44) {919 s5 = peg$c17;920 peg$currPos++;921 } else {922 s5 = peg$FAILED;923 {924 peg$fail(peg$c18);925 }926 }927 if (s5 !== peg$FAILED) {928 s6 = peg$parse_();929 if (s6 !== peg$FAILED) {930 s7 = peg$parseselector();931 if (s7 !== peg$FAILED) {932 s4 = [s4, s5, s6, s7];933 s3 = s4;934 } else {935 peg$currPos = s3;936 s3 = peg$FAILED;937 }938 } else {939 peg$currPos = s3;940 s3 = peg$FAILED;941 }942 } else {943 peg$currPos = s3;944 s3 = peg$FAILED;945 }946 } else {947 peg$currPos = s3;948 s3 = peg$FAILED;949 }950 while (s3 !== peg$FAILED) {951 s2.push(s3);952 s3 = peg$currPos;953 s4 = peg$parse_();954 if (s4 !== peg$FAILED) {955 if (input.charCodeAt(peg$currPos) === 44) {956 s5 = peg$c17;957 peg$currPos++;958 } else {959 s5 = peg$FAILED;960 {961 peg$fail(peg$c18);962 }963 }964 if (s5 !== peg$FAILED) {965 s6 = peg$parse_();966 if (s6 !== peg$FAILED) {967 s7 = peg$parseselector();968 if (s7 !== peg$FAILED) {969 s4 = [s4, s5, s6, s7];970 s3 = s4;971 } else {972 peg$currPos = s3;973 s3 = peg$FAILED;974 }975 } else {976 peg$currPos = s3;977 s3 = peg$FAILED;978 }979 } else {980 peg$currPos = s3;981 s3 = peg$FAILED;982 }983 } else {984 peg$currPos = s3;985 s3 = peg$FAILED;986 }987 }988 if (s2 !== peg$FAILED) {989 s1 = peg$c19(s1, s2);990 s0 = s1;991 } else {992 peg$currPos = s0;993 s0 = peg$FAILED;994 }995 } else {996 peg$currPos = s0;997 s0 = peg$FAILED;998 }999 peg$resultsCache[key] = {1000 nextPos: peg$currPos,1001 result: s01002 };1003 return s0;1004 }1005 function peg$parsehasSelector() {1006 var s0, s1, s2;1007 var key = peg$currPos * 36 + 6,1008 cached = peg$resultsCache[key];1009 if (cached) {1010 peg$currPos = cached.nextPos;1011 return cached.result;1012 }1013 s0 = peg$currPos;1014 s1 = peg$parsebinaryOp();1015 if (s1 === peg$FAILED) {1016 s1 = null;1017 }1018 if (s1 !== peg$FAILED) {1019 s2 = peg$parseselector();1020 if (s2 !== peg$FAILED) {1021 s1 = peg$c20(s1, s2);1022 s0 = s1;1023 } else {1024 peg$currPos = s0;1025 s0 = peg$FAILED;1026 }1027 } else {1028 peg$currPos = s0;1029 s0 = peg$FAILED;1030 }1031 peg$resultsCache[key] = {1032 nextPos: peg$currPos,1033 result: s01034 };1035 return s0;1036 }1037 function peg$parseselector() {1038 var s0, s1, s2, s3, s4, s5;1039 var key = peg$currPos * 36 + 7,1040 cached = peg$resultsCache[key];1041 if (cached) {1042 peg$currPos = cached.nextPos;1043 return cached.result;1044 }1045 s0 = peg$currPos;1046 s1 = peg$parsesequence();1047 if (s1 !== peg$FAILED) {1048 s2 = [];1049 s3 = peg$currPos;1050 s4 = peg$parsebinaryOp();1051 if (s4 !== peg$FAILED) {1052 s5 = peg$parsesequence();1053 if (s5 !== peg$FAILED) {1054 s4 = [s4, s5];1055 s3 = s4;1056 } else {1057 peg$currPos = s3;1058 s3 = peg$FAILED;1059 }1060 } else {1061 peg$currPos = s3;1062 s3 = peg$FAILED;1063 }1064 while (s3 !== peg$FAILED) {1065 s2.push(s3);1066 s3 = peg$currPos;1067 s4 = peg$parsebinaryOp();1068 if (s4 !== peg$FAILED) {1069 s5 = peg$parsesequence();1070 if (s5 !== peg$FAILED) {1071 s4 = [s4, s5];1072 s3 = s4;1073 } else {1074 peg$currPos = s3;1075 s3 = peg$FAILED;1076 }1077 } else {1078 peg$currPos = s3;1079 s3 = peg$FAILED;1080 }1081 }1082 if (s2 !== peg$FAILED) {1083 s1 = peg$c21(s1, s2);1084 s0 = s1;1085 } else {1086 peg$currPos = s0;1087 s0 = peg$FAILED;1088 }1089 } else {1090 peg$currPos = s0;1091 s0 = peg$FAILED;1092 }1093 peg$resultsCache[key] = {1094 nextPos: peg$currPos,1095 result: s01096 };1097 return s0;1098 }1099 function peg$parsesequence() {1100 var s0, s1, s2, s3;1101 var key = peg$currPos * 36 + 8,1102 cached = peg$resultsCache[key];1103 if (cached) {1104 peg$currPos = cached.nextPos;1105 return cached.result;1106 }1107 s0 = peg$currPos;1108 if (input.charCodeAt(peg$currPos) === 33) {1109 s1 = peg$c22;1110 peg$currPos++;1111 } else {1112 s1 = peg$FAILED;1113 {1114 peg$fail(peg$c23);1115 }1116 }1117 if (s1 === peg$FAILED) {1118 s1 = null;1119 }1120 if (s1 !== peg$FAILED) {1121 s2 = [];1122 s3 = peg$parseatom();1123 if (s3 !== peg$FAILED) {1124 while (s3 !== peg$FAILED) {1125 s2.push(s3);1126 s3 = peg$parseatom();1127 }1128 } else {1129 s2 = peg$FAILED;1130 }1131 if (s2 !== peg$FAILED) {1132 s1 = peg$c24(s1, s2);1133 s0 = s1;1134 } else {1135 peg$currPos = s0;1136 s0 = peg$FAILED;1137 }1138 } else {1139 peg$currPos = s0;1140 s0 = peg$FAILED;1141 }1142 peg$resultsCache[key] = {1143 nextPos: peg$currPos,1144 result: s01145 };1146 return s0;1147 }1148 function peg$parseatom() {1149 var s0;1150 var key = peg$currPos * 36 + 9,1151 cached = peg$resultsCache[key];1152 if (cached) {1153 peg$currPos = cached.nextPos;1154 return cached.result;1155 }1156 s0 = peg$parsewildcard();1157 if (s0 === peg$FAILED) {1158 s0 = peg$parseidentifier();1159 if (s0 === peg$FAILED) {1160 s0 = peg$parseattr();1161 if (s0 === peg$FAILED) {1162 s0 = peg$parsefield();1163 if (s0 === peg$FAILED) {1164 s0 = peg$parsenegation();1165 if (s0 === peg$FAILED) {1166 s0 = peg$parsematches();1167 if (s0 === peg$FAILED) {1168 s0 = peg$parseis();1169 if (s0 === peg$FAILED) {1170 s0 = peg$parsehas();1171 if (s0 === peg$FAILED) {1172 s0 = peg$parsefirstChild();1173 if (s0 === peg$FAILED) {1174 s0 = peg$parselastChild();1175 if (s0 === peg$FAILED) {1176 s0 = peg$parsenthChild();1177 if (s0 === peg$FAILED) {1178 s0 = peg$parsenthLastChild();1179 if (s0 === peg$FAILED) {1180 s0 = peg$parseclass();1181 }1182 }1183 }1184 }1185 }1186 }1187 }1188 }1189 }1190 }1191 }1192 }1193 peg$resultsCache[key] = {1194 nextPos: peg$currPos,1195 result: s01196 };1197 return s0;1198 }1199 function peg$parsewildcard() {1200 var s0, s1;