{"dependencies":[{"name":"./parse.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":35,"index":35}}],"key":"oIFLmnySivkJYDs32p5Nj0zvZXQ=","exportNames":["*"],"imports":1}},{"name":"./compile.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":2,"column":0,"index":36},"end":{"line":2,"column":49,"index":85}}],"key":"Hw6Aisl1ZUKcYyWdELQ0BzJIta4=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n Object.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function () {\n return nthCheck;\n }\n });\n Object.defineProperty(exports, \"parse\", {\n enumerable: true,\n get: function () {\n return _parseJs.parse;\n }\n });\n Object.defineProperty(exports, \"compile\", {\n enumerable: true,\n get: function () {\n return _compileJs.compile;\n }\n });\n Object.defineProperty(exports, \"generate\", {\n enumerable: true,\n get: function () {\n return _compileJs.generate;\n }\n });\n exports.sequence = sequence;\n var _parseJs = require(_dependencyMap[0], \"./parse.js\");\n var _compileJs = require(_dependencyMap[1], \"./compile.js\");\n /**\n * Parses and compiles a formula to a highly optimized function.\n * Combination of {@link parse} and {@link compile}.\n *\n * If the formula doesn't match any elements,\n * it returns [`boolbase`](https://github.com/fb55/boolbase)'s `falseFunc`.\n * Otherwise, a function accepting an _index_ is returned, which returns\n * whether or not the passed _index_ matches the formula.\n *\n * Note: The nth-rule starts counting at `1`, the returned function at `0`.\n *\n * @param formula The formula to compile.\n * @example\n * const check = nthCheck(\"2n+3\");\n *\n * check(0); // `false`\n * check(1); // `false`\n * check(2); // `true`\n * check(3); // `false`\n * check(4); // `true`\n * check(5); // `false`\n * check(6); // `true`\n */\n function nthCheck(formula) {\n return (0, _compileJs.compile)((0, _parseJs.parse)(formula));\n }\n /**\n * Parses and compiles a formula to a generator that produces a sequence of indices.\n * Combination of {@link parse} and {@link generate}.\n *\n * @param formula The formula to compile.\n * @returns A function that produces a sequence of indices.\n * @example