astexplorer.app
Version:
https://astexplorer.net with ES Modules support and Hot Reloading
1 lines • 2.42 MB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[32],{"./node_modules/@babel/code-frame/lib/index.js":function(module,exports,__webpack_require__){"use strict";eval('/* WEBPACK VAR INJECTION */(function(process) {\n\nObject.defineProperty(exports, "__esModule", {\n value: true\n});\nexports.codeFrameColumns = codeFrameColumns;\nexports.default = _default;\n\nvar _highlight = __webpack_require__("./node_modules/@babel/highlight/lib/index.js");\n\nlet deprecationWarningShown = false;\n\nfunction getDefs(chalk) {\n return {\n gutter: chalk.grey,\n marker: chalk.red.bold,\n message: chalk.red.bold\n };\n}\n\nconst NEWLINE = /\\r\\n|[\\n\\r\\u2028\\u2029]/;\n\nfunction getMarkerLines(loc, source, opts) {\n const startLoc = Object.assign({\n column: 0,\n line: -1\n }, loc.start);\n const endLoc = Object.assign({}, startLoc, loc.end);\n const {\n linesAbove = 2,\n linesBelow = 3\n } = opts || {};\n const startLine = startLoc.line;\n const startColumn = startLoc.column;\n const endLine = endLoc.line;\n const endColumn = endLoc.column;\n let start = Math.max(startLine - (linesAbove + 1), 0);\n let end = Math.min(source.length, endLine + linesBelow);\n\n if (startLine === -1) {\n start = 0;\n }\n\n if (endLine === -1) {\n end = source.length;\n }\n\n const lineDiff = endLine - startLine;\n const markerLines = {};\n\n if (lineDiff) {\n for (let i = 0; i <= lineDiff; i++) {\n const lineNumber = i + startLine;\n\n if (!startColumn) {\n markerLines[lineNumber] = true;\n } else if (i === 0) {\n const sourceLength = source[lineNumber - 1].length;\n markerLines[lineNumber] = [startColumn, sourceLength - startColumn + 1];\n } else if (i === lineDiff) {\n markerLines[lineNumber] = [0, endColumn];\n } else {\n const sourceLength = source[lineNumber - i].length;\n markerLines[lineNumber] = [0, sourceLength];\n }\n }\n } else {\n if (startColumn === endColumn) {\n if (startColumn) {\n markerLines[startLine] = [startColumn, 0];\n } else {\n markerLines[startLine] = true;\n }\n } else {\n markerLines[startLine] = [startColumn, endColumn - startColumn];\n }\n }\n\n return {\n start,\n end,\n markerLines\n };\n}\n\nfunction codeFrameColumns(rawLines, loc, opts = {}) {\n const highlighted = (opts.highlightCode || opts.forceColor) && (0, _highlight.shouldHighlight)(opts);\n const chalk = (0, _highlight.getChalk)(opts);\n const defs = getDefs(chalk);\n\n const maybeHighlight = (chalkFn, string) => {\n return highlighted ? chalkFn(string) : string;\n };\n\n const lines = rawLines.split(NEWLINE);\n const {\n start,\n end,\n markerLines\n } = getMarkerLines(loc, lines, opts);\n const hasColumns = loc.start && typeof loc.start.column === "number";\n const numberMaxWidth = String(end).length;\n const highlightedLines = highlighted ? (0, _highlight.default)(rawLines, opts) : rawLines;\n let frame = highlightedLines.split(NEWLINE, end).slice(start, end).map((line, index) => {\n const number = start + 1 + index;\n const paddedNumber = ` ${number}`.slice(-numberMaxWidth);\n const gutter = ` ${paddedNumber} |`;\n const hasMarker = markerLines[number];\n const lastMarkerLine = !markerLines[number + 1];\n\n if (hasMarker) {\n let markerLine = "";\n\n if (Array.isArray(hasMarker)) {\n const markerSpacing = line.slice(0, Math.max(hasMarker[0] - 1, 0)).replace(/[^\\t]/g, " ");\n const numberOfMarkers = hasMarker[1] || 1;\n markerLine = ["\\n ", maybeHighlight(defs.gutter, gutter.replace(/\\d/g, " ")), " ", markerSpacing, maybeHighlight(defs.marker, "^").repeat(numberOfMarkers)].join("");\n\n if (lastMarkerLine && opts.message) {\n markerLine += " " + maybeHighlight(defs.message, opts.message);\n }\n }\n\n return [maybeHighlight(defs.marker, ">"), maybeHighlight(defs.gutter, gutter), line.length > 0 ? ` ${line}` : "", markerLine].join("");\n } else {\n return ` ${maybeHighlight(defs.gutter, gutter)}${line.length > 0 ? ` ${line}` : ""}`;\n }\n }).join("\\n");\n\n if (opts.message && !hasColumns) {\n frame = `${" ".repeat(numberMaxWidth + 1)}${opts.message}\\n${frame}`;\n }\n\n if (highlighted) {\n return chalk.reset(frame);\n } else {\n return frame;\n }\n}\n\nfunction _default(rawLines, lineNumber, colNumber, opts = {}) {\n if (!deprecationWarningShown) {\n deprecationWarningShown = true;\n const message = "Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";\n\n if (process.emitWarning) {\n process.emitWarning(message, "DeprecationWarning");\n } else {\n const deprecationError = new Error(message);\n deprecationError.name = "DeprecationWarning";\n console.warn(new Error(message));\n }\n }\n\n colNumber = Math.max(colNumber, 0);\n const location = {\n start: {\n column: colNumber,\n line: lineNumber\n }\n };\n return codeFrameColumns(rawLines, location, opts);\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("./node_modules/process/browser.js")))\n\n//# sourceURL=webpack:///./node_modules/@babel/code-frame/lib/index.js?')},"./node_modules/@babel/compat-data/data/native-modules.json":function(module){eval('module.exports = JSON.parse("{\\"es6.module\\":{\\"chrome\\":\\"61\\",\\"and_chr\\":\\"61\\",\\"edge\\":\\"16\\",\\"firefox\\":\\"60\\",\\"and_ff\\":\\"60\\",\\"node\\":\\"13.2.0\\",\\"opera\\":\\"48\\",\\"op_mob\\":\\"48\\",\\"safari\\":\\"10.1\\",\\"ios\\":\\"10.3\\",\\"samsung\\":\\"8.2\\",\\"android\\":\\"61\\",\\"electron\\":\\"2.0\\",\\"ios_saf\\":\\"10.3\\"}}");\n\n//# sourceURL=webpack:///./node_modules/@babel/compat-data/data/native-modules.json?')},"./node_modules/@babel/compat-data/data/plugins.json":function(module){eval('module.exports = JSON.parse("{\\"proposal-class-static-block\\":{\\"chrome\\":\\"94\\",\\"opera\\":\\"80\\",\\"edge\\":\\"94\\",\\"firefox\\":\\"93\\",\\"node\\":\\"16.11\\"},\\"proposal-private-property-in-object\\":{\\"chrome\\":\\"91\\",\\"opera\\":\\"77\\",\\"edge\\":\\"91\\",\\"firefox\\":\\"90\\",\\"safari\\":\\"15\\",\\"node\\":\\"16.9\\",\\"ios\\":\\"15\\",\\"electron\\":\\"13.0\\"},\\"proposal-class-properties\\":{\\"chrome\\":\\"74\\",\\"opera\\":\\"62\\",\\"edge\\":\\"79\\",\\"firefox\\":\\"90\\",\\"safari\\":\\"14.1\\",\\"node\\":\\"12\\",\\"ios\\":\\"15\\",\\"samsung\\":\\"11\\",\\"electron\\":\\"6.0\\"},\\"proposal-private-methods\\":{\\"chrome\\":\\"84\\",\\"opera\\":\\"70\\",\\"edge\\":\\"84\\",\\"firefox\\":\\"90\\",\\"safari\\":\\"15\\",\\"node\\":\\"14.6\\",\\"ios\\":\\"15\\",\\"samsung\\":\\"14\\",\\"electron\\":\\"10.0\\"},\\"proposal-numeric-separator\\":{\\"chrome\\":\\"75\\",\\"opera\\":\\"62\\",\\"edge\\":\\"79\\",\\"firefox\\":\\"70\\",\\"safari\\":\\"13\\",\\"node\\":\\"12.5\\",\\"ios\\":\\"13\\",\\"samsung\\":\\"11\\",\\"electron\\":\\"6.0\\"},\\"proposal-logical-assignment-operators\\":{\\"chrome\\":\\"85\\",\\"opera\\":\\"71\\",\\"edge\\":\\"85\\",\\"firefox\\":\\"79\\",\\"safari\\":\\"14\\",\\"node\\":\\"15\\",\\"ios\\":\\"14\\",\\"samsung\\":\\"14\\",\\"electron\\":\\"10.0\\"},\\"proposal-nullish-coalescing-operator\\":{\\"chrome\\":\\"80\\",\\"opera\\":\\"67\\",\\"edge\\":\\"80\\",\\"firefox\\":\\"72\\",\\"safari\\":\\"13.1\\",\\"node\\":\\"14\\",\\"ios\\":\\"13.4\\",\\"samsung\\":\\"13\\",\\"electron\\":\\"8.0\\"},\\"proposal-optional-chaining\\":{\\"chrome\\":\\"91\\",\\"opera\\":\\"77\\",\\"edge\\":\\"91\\",\\"firefox\\":\\"74\\",\\"safari\\":\\"13.1\\",\\"node\\":\\"16.9\\",\\"ios\\":\\"13.4\\",\\"electron\\":\\"13.0\\"},\\"proposal-json-strings\\":{\\"chrome\\":\\"66\\",\\"opera\\":\\"53\\",\\"edge\\":\\"79\\",\\"firefox\\":\\"62\\",\\"safari\\":\\"12\\",\\"node\\":\\"10\\",\\"ios\\":\\"12\\",\\"samsung\\":\\"9\\",\\"electron\\":\\"3.0\\"},\\"proposal-optional-catch-binding\\":{\\"chrome\\":\\"66\\",\\"opera\\":\\"53\\",\\"edge\\":\\"79\\",\\"firefox\\":\\"58\\",\\"safari\\":\\"11.1\\",\\"node\\":\\"10\\",\\"ios\\":\\"11.3\\",\\"samsung\\":\\"9\\",\\"electron\\":\\"3.0\\"},\\"transform-parameters\\":{\\"chrome\\":\\"49\\",\\"opera\\":\\"36\\",\\"edge\\":\\"18\\",\\"firefox\\":\\"53\\",\\"node\\":\\"6\\",\\"samsung\\":\\"5\\",\\"electron\\":\\"0.37\\"},\\"proposal-async-generator-functions\\":{\\"chrome\\":\\"63\\",\\"opera\\":\\"50\\",\\"edge\\":\\"79\\",\\"firefox\\":\\"57\\",\\"safari\\":\\"12\\",\\"node\\":\\"10\\",\\"ios\\":\\"12\\",\\"samsung\\":\\"8\\",\\"electron\\":\\"3.0\\"},\\"proposal-object-rest-spread\\":{\\"chrome\\":\\"60\\",\\"opera\\":\\"47\\",\\"edge\\":\\"79\\",\\"firefox\\":\\"55\\",\\"safari\\":\\"11.1\\",\\"node\\":\\"8.3\\",\\"ios\\":\\"11.3\\",\\"samsung\\":\\"8\\",\\"electron\\":\\"2.0\\"},\\"transform-dotall-regex\\":{\\"chrome\\":\\"62\\",\\"opera\\":\\"49\\",\\"edge\\":\\"79\\",\\"firefox\\":\\"78\\",\\"safari\\":\\"11.1\\",\\"node\\":\\"8.10\\",\\"ios\\":\\"11.3\\",\\"samsung\\":\\"8\\",\\"electron\\":\\"3.0\\"},\\"proposal-unicode-property-regex\\":{\\"chrome\\":\\"64\\",\\"opera\\":\\"51\\",\\"edge\\":\\"79\\",\\"firefox\\":\\"78\\",\\"safari\\":\\"11.1\\",\\"node\\":\\"10\\",\\"ios\\":\\"11.3\\",\\"samsung\\":\\"9\\",\\"electron\\":\\"3.0\\"},\\"transform-named-capturing-groups-regex\\":{\\"chrome\\":\\"64\\",\\"opera\\":\\"51\\",\\"edge\\":\\"79\\",\\"firefox\\":\\"78\\",\\"safari\\":\\"11.1\\",\\"node\\":\\"10\\",\\"ios\\":\\"11.3\\",\\"samsung\\":\\"9\\",\\"electron\\":\\"3.0\\"},\\"transform-async-to-generator\\":{\\"chrome\\":\\"55\\",\\"opera\\":\\"42\\",\\"edge\\":\\"15\\",\\"firefox\\":\\"52\\",\\"safari\\":\\"11\\",\\"node\\":\\"7.6\\",\\"ios\\":\\"11\\",\\"samsung\\":\\"6\\",\\"electron\\":\\"1.6\\"},\\"transform-exponentiation-operator\\":{\\"chrome\\":\\"52\\",\\"opera\\":\\"39\\",\\"edge\\":\\"14\\",\\"firefox\\":\\"52\\",\\"safari\\":\\"10.1\\",\\"node\\":\\"7\\",\\"ios\\":\\"10.3\\",\\"samsung\\":\\"6\\",\\"electron\\":\\"1.3\\"},\\"transform-template-literals\\":{\\"chrome\\":\\"41\\",\\"opera\\":\\"28\\",\\"edge\\":\\"13\\",\\"firefox\\":\\"34\\",\\"safari\\":\\"13\\",\\"node\\":\\"4\\",\\"ios\\":\\"13\\",\\"samsung\\":\\"3.4\\",\\"electron\\":\\"0.21\\"},\\"transform-literals\\":{\\"chrome\\":\\"44\\",\\"opera\\":\\"31\\",\\"edge\\":\\"12\\",\\"firefox\\":\\"53\\",\\"safari\\":\\"9\\",\\"node\\":\\"4\\",\\"ios\\":\\"9\\",\\"samsung\\":\\"4\\",\\"electron\\":\\"0.30\\"},\\"transform-function-name\\":{\\"chrome\\":\\"51\\",\\"opera\\":\\"38\\",\\"edge\\":\\"79\\",\\"firefox\\":\\"53\\",\\"safari\\":\\"10\\",\\"node\\":\\"6.5\\",\\"ios\\":\\"10\\",\\"samsung\\":\\"5\\",\\"electron\\":\\"1.2\\"},\\"transform-arrow-functions\\":{\\"chrome\\":\\"47\\",\\"opera\\":\\"34\\",\\"edge\\":\\"13\\",\\"firefox\\":\\"43\\",\\"safari\\":\\"10\\",\\"node\\":\\"6\\",\\"ios\\":\\"10\\",\\"samsung\\":\\"5\\",\\"rhino\\":\\"1.7.13\\",\\"electron\\":\\"0.36\\"},\\"transform-block-scoped-functions\\":{\\"chrome\\":\\"41\\",\\"opera\\":\\"28\\",\\"edge\\":\\"12\\",\\"firefox\\":\\"46\\",\\"safari\\":\\"10\\",\\"node\\":\\"4\\",\\"ie\\":\\"11\\",\\"ios\\":\\"10\\",\\"samsung\\":\\"3.4\\",\\"electron\\":\\"0.21\\"},\\"transform-classes\\":{\\"chrome\\":\\"46\\",\\"opera\\":\\"33\\",\\"edge\\":\\"13\\",\\"firefox\\":\\"45\\",\\"safari\\":\\"10\\",\\"node\\":\\"5\\",\\"ios\\":\\"10\\",\\"samsung\\":\\"5\\",\\"electron\\":\\"0.36\\"},\\"transform-object-super\\":{\\"chrome\\":\\"46\\",\\"opera\\":\\"33\\",\\"edge\\":\\"13\\",\\"firefox\\":\\"45\\",\\"safari\\":\\"10\\",\\"node\\":\\"5\\",\\"ios\\":\\"10\\",\\"samsung\\":\\"5\\",\\"electron\\":\\"0.36\\"},\\"transform-shorthand-properties\\":{\\"chrome\\":\\"43\\",\\"opera\\":\\"30\\",\\"edge\\":\\"12\\",\\"firefox\\":\\"33\\",\\"safari\\":\\"9\\",\\"node\\":\\"4\\",\\"ios\\":\\"9\\",\\"samsung\\":\\"4\\",\\"electron\\":\\"0.27\\"},\\"transform-duplicate-keys\\":{\\"chrome\\":\\"42\\",\\"opera\\":\\"29\\",\\"edge\\":\\"12\\",\\"firefox\\":\\"34\\",\\"safari\\":\\"9\\",\\"node\\":\\"4\\",\\"ios\\":\\"9\\",\\"samsung\\":\\"3.4\\",\\"electron\\":\\"0.25\\"},\\"transform-computed-properties\\":{\\"chrome\\":\\"44\\",\\"opera\\":\\"31\\",\\"edge\\":\\"12\\",\\"firefox\\":\\"34\\",\\"safari\\":\\"7.1\\",\\"node\\":\\"4\\",\\"ios\\":\\"8\\",\\"samsung\\":\\"4\\",\\"electron\\":\\"0.30\\"},\\"transform-for-of\\":{\\"chrome\\":\\"51\\",\\"opera\\":\\"38\\",\\"edge\\":\\"15\\",\\"firefox\\":\\"53\\",\\"safari\\":\\"10\\",\\"node\\":\\"6.5\\",\\"ios\\":\\"10\\",\\"samsung\\":\\"5\\",\\"electron\\":\\"1.2\\"},\\"transform-sticky-regex\\":{\\"chrome\\":\\"49\\",\\"opera\\":\\"36\\",\\"edge\\":\\"13\\",\\"firefox\\":\\"3\\",\\"safari\\":\\"10\\",\\"node\\":\\"6\\",\\"ios\\":\\"10\\",\\"samsung\\":\\"5\\",\\"electron\\":\\"0.37\\"},\\"transform-unicode-escapes\\":{\\"chrome\\":\\"44\\",\\"opera\\":\\"31\\",\\"edge\\":\\"12\\",\\"firefox\\":\\"53\\",\\"safari\\":\\"9\\",\\"node\\":\\"4\\",\\"ios\\":\\"9\\",\\"samsung\\":\\"4\\",\\"electron\\":\\"0.30\\"},\\"transform-unicode-regex\\":{\\"chrome\\":\\"50\\",\\"opera\\":\\"37\\",\\"edge\\":\\"13\\",\\"firefox\\":\\"46\\",\\"safari\\":\\"12\\",\\"node\\":\\"6\\",\\"ios\\":\\"12\\",\\"samsung\\":\\"5\\",\\"electron\\":\\"1.1\\"},\\"transform-spread\\":{\\"chrome\\":\\"46\\",\\"opera\\":\\"33\\",\\"edge\\":\\"13\\",\\"firefox\\":\\"45\\",\\"safari\\":\\"10\\",\\"node\\":\\"5\\",\\"ios\\":\\"10\\",\\"samsung\\":\\"5\\",\\"electron\\":\\"0.36\\"},\\"transform-destructuring\\":{\\"chrome\\":\\"51\\",\\"opera\\":\\"38\\",\\"edge\\":\\"15\\",\\"firefox\\":\\"53\\",\\"safari\\":\\"10\\",\\"node\\":\\"6.5\\",\\"ios\\":\\"10\\",\\"samsung\\":\\"5\\",\\"electron\\":\\"1.2\\"},\\"transform-block-scoping\\":{\\"chrome\\":\\"49\\",\\"opera\\":\\"36\\",\\"edge\\":\\"14\\",\\"firefox\\":\\"51\\",\\"safari\\":\\"11\\",\\"node\\":\\"6\\",\\"ios\\":\\"11\\",\\"samsung\\":\\"5\\",\\"electron\\":\\"0.37\\"},\\"transform-typeof-symbol\\":{\\"chrome\\":\\"38\\",\\"opera\\":\\"25\\",\\"edge\\":\\"12\\",\\"firefox\\":\\"36\\",\\"safari\\":\\"9\\",\\"node\\":\\"0.12\\",\\"ios\\":\\"9\\",\\"samsung\\":\\"3\\",\\"rhino\\":\\"1.7.13\\",\\"electron\\":\\"0.20\\"},\\"transform-new-target\\":{\\"chrome\\":\\"46\\",\\"opera\\":\\"33\\",\\"edge\\":\\"14\\",\\"firefox\\":\\"41\\",\\"safari\\":\\"10\\",\\"node\\":\\"5\\",\\"ios\\":\\"10\\",\\"samsung\\":\\"5\\",\\"electron\\":\\"0.36\\"},\\"transform-regenerator\\":{\\"chrome\\":\\"50\\",\\"opera\\":\\"37\\",\\"edge\\":\\"13\\",\\"firefox\\":\\"53\\",\\"safari\\":\\"10\\",\\"node\\":\\"6\\",\\"ios\\":\\"10\\",\\"samsung\\":\\"5\\",\\"electron\\":\\"1.1\\"},\\"transform-member-expression-literals\\":{\\"chrome\\":\\"7\\",\\"opera\\":\\"12\\",\\"edge\\":\\"12\\",\\"firefox\\":\\"2\\",\\"safari\\":\\"5.1\\",\\"node\\":\\"0.10\\",\\"ie\\":\\"9\\",\\"android\\":\\"4\\",\\"ios\\":\\"6\\",\\"phantom\\":\\"2\\",\\"samsung\\":\\"1\\",\\"rhino\\":\\"1.7.13\\",\\"electron\\":\\"0.20\\"},\\"transform-property-literals\\":{\\"chrome\\":\\"7\\",\\"opera\\":\\"12\\",\\"edge\\":\\"12\\",\\"firefox\\":\\"2\\",\\"safari\\":\\"5.1\\",\\"node\\":\\"0.10\\",\\"ie\\":\\"9\\",\\"android\\":\\"4\\",\\"ios\\":\\"6\\",\\"phantom\\":\\"2\\",\\"samsung\\":\\"1\\",\\"rhino\\":\\"1.7.13\\",\\"electron\\":\\"0.20\\"},\\"transform-reserved-words\\":{\\"chrome\\":\\"13\\",\\"opera\\":\\"10.50\\",\\"edge\\":\\"12\\",\\"firefox\\":\\"2\\",\\"safari\\":\\"3.1\\",\\"node\\":\\"0.10\\",\\"ie\\":\\"9\\",\\"android\\":\\"4.4\\",\\"ios\\":\\"6\\",\\"phantom\\":\\"2\\",\\"samsung\\":\\"1\\",\\"rhino\\":\\"1.7.13\\",\\"electron\\":\\"0.20\\"},\\"proposal-export-namespace-from\\":{\\"chrome\\":\\"72\\",\\"and_chr\\":\\"72\\",\\"edge\\":\\"79\\",\\"firefox\\":\\"80\\",\\"and_ff\\":\\"80\\",\\"node\\":\\"13.2\\",\\"opera\\":\\"60\\",\\"op_mob\\":\\"51\\",\\"samsung\\":\\"11.0\\",\\"android\\":\\"72\\",\\"electron\\":\\"5.0\\"}}");\n\n//# sourceURL=webpack:///./node_modules/@babel/compat-data/data/plugins.json?')},"./node_modules/@babel/compat-data/native-modules.js":function(module,exports,__webpack_require__){eval('module.exports = __webpack_require__("./node_modules/@babel/compat-data/data/native-modules.json");\n\n\n//# sourceURL=webpack:///./node_modules/@babel/compat-data/native-modules.js?')},"./node_modules/@babel/compat-data/plugins.js":function(module,exports,__webpack_require__){eval('module.exports = __webpack_require__("./node_modules/@babel/compat-data/data/plugins.json");\n\n\n//# sourceURL=webpack:///./node_modules/@babel/compat-data/plugins.js?')},"./node_modules/@babel/core/lib/config/cache-contexts.js":function(module,exports){eval("\n\n//# sourceURL=webpack:///./node_modules/@babel/core/lib/config/cache-contexts.js?")},"./node_modules/@babel/core/lib/config/caching.js":function(module,exports,__webpack_require__){"use strict";eval('\n\nObject.defineProperty(exports, "__esModule", {\n value: true\n});\nexports.makeWeakCache = makeWeakCache;\nexports.makeWeakCacheSync = makeWeakCacheSync;\nexports.makeStrongCache = makeStrongCache;\nexports.makeStrongCacheSync = makeStrongCacheSync;\nexports.assertSimpleType = assertSimpleType;\n\nfunction _gensync() {\n const data = __webpack_require__("./node_modules/gensync/index.js");\n\n _gensync = function () {\n return data;\n };\n\n return data;\n}\n\nvar _async = __webpack_require__("./node_modules/@babel/core/lib/gensync-utils/async.js");\n\nvar _util = __webpack_require__("./node_modules/@babel/core/lib/config/util.js");\n\nconst synchronize = gen => {\n return _gensync()(gen).sync;\n};\n\nfunction* genTrue() {\n return true;\n}\n\nfunction makeWeakCache(handler) {\n return makeCachedFunction(WeakMap, handler);\n}\n\nfunction makeWeakCacheSync(handler) {\n return synchronize(makeWeakCache(handler));\n}\n\nfunction makeStrongCache(handler) {\n return makeCachedFunction(Map, handler);\n}\n\nfunction makeStrongCacheSync(handler) {\n return synchronize(makeStrongCache(handler));\n}\n\nfunction makeCachedFunction(CallCache, handler) {\n const callCacheSync = new CallCache();\n const callCacheAsync = new CallCache();\n const futureCache = new CallCache();\n return function* cachedFunction(arg, data) {\n const asyncContext = yield* (0, _async.isAsync)();\n const callCache = asyncContext ? callCacheAsync : callCacheSync;\n const cached = yield* getCachedValueOrWait(asyncContext, callCache, futureCache, arg, data);\n if (cached.valid) return cached.value;\n const cache = new CacheConfigurator(data);\n const handlerResult = handler(arg, cache);\n let finishLock;\n let value;\n\n if ((0, _util.isIterableIterator)(handlerResult)) {\n const gen = handlerResult;\n value = yield* (0, _async.onFirstPause)(gen, () => {\n finishLock = setupAsyncLocks(cache, futureCache, arg);\n });\n } else {\n value = handlerResult;\n }\n\n updateFunctionCache(callCache, cache, arg, value);\n\n if (finishLock) {\n futureCache.delete(arg);\n finishLock.release(value);\n }\n\n return value;\n };\n}\n\nfunction* getCachedValue(cache, arg, data) {\n const cachedValue = cache.get(arg);\n\n if (cachedValue) {\n for (const {\n value,\n valid\n } of cachedValue) {\n if (yield* valid(data)) return {\n valid: true,\n value\n };\n }\n }\n\n return {\n valid: false,\n value: null\n };\n}\n\nfunction* getCachedValueOrWait(asyncContext, callCache, futureCache, arg, data) {\n const cached = yield* getCachedValue(callCache, arg, data);\n\n if (cached.valid) {\n return cached;\n }\n\n if (asyncContext) {\n const cached = yield* getCachedValue(futureCache, arg, data);\n\n if (cached.valid) {\n const value = yield* (0, _async.waitFor)(cached.value.promise);\n return {\n valid: true,\n value\n };\n }\n }\n\n return {\n valid: false,\n value: null\n };\n}\n\nfunction setupAsyncLocks(config, futureCache, arg) {\n const finishLock = new Lock();\n updateFunctionCache(futureCache, config, arg, finishLock);\n return finishLock;\n}\n\nfunction updateFunctionCache(cache, config, arg, value) {\n if (!config.configured()) config.forever();\n let cachedValue = cache.get(arg);\n config.deactivate();\n\n switch (config.mode()) {\n case "forever":\n cachedValue = [{\n value,\n valid: genTrue\n }];\n cache.set(arg, cachedValue);\n break;\n\n case "invalidate":\n cachedValue = [{\n value,\n valid: config.validator()\n }];\n cache.set(arg, cachedValue);\n break;\n\n case "valid":\n if (cachedValue) {\n cachedValue.push({\n value,\n valid: config.validator()\n });\n } else {\n cachedValue = [{\n value,\n valid: config.validator()\n }];\n cache.set(arg, cachedValue);\n }\n\n }\n}\n\nclass CacheConfigurator {\n constructor(data) {\n this._active = true;\n this._never = false;\n this._forever = false;\n this._invalidate = false;\n this._configured = false;\n this._pairs = [];\n this._data = void 0;\n this._data = data;\n }\n\n simple() {\n return makeSimpleConfigurator(this);\n }\n\n mode() {\n if (this._never) return "never";\n if (this._forever) return "forever";\n if (this._invalidate) return "invalidate";\n return "valid";\n }\n\n forever() {\n if (!this._active) {\n throw new Error("Cannot change caching after evaluation has completed.");\n }\n\n if (this._never) {\n throw new Error("Caching has already been configured with .never()");\n }\n\n this._forever = true;\n this._configured = true;\n }\n\n never() {\n if (!this._active) {\n throw new Error("Cannot change caching after evaluation has completed.");\n }\n\n if (this._forever) {\n throw new Error("Caching has already been configured with .forever()");\n }\n\n this._never = true;\n this._configured = true;\n }\n\n using(handler) {\n if (!this._active) {\n throw new Error("Cannot change caching after evaluation has completed.");\n }\n\n if (this._never || this._forever) {\n throw new Error("Caching has already been configured with .never or .forever()");\n }\n\n this._configured = true;\n const key = handler(this._data);\n const fn = (0, _async.maybeAsync)(handler, `You appear to be using an async cache handler, but Babel has been called synchronously`);\n\n if ((0, _async.isThenable)(key)) {\n return key.then(key => {\n this._pairs.push([key, fn]);\n\n return key;\n });\n }\n\n this._pairs.push([key, fn]);\n\n return key;\n }\n\n invalidate(handler) {\n this._invalidate = true;\n return this.using(handler);\n }\n\n validator() {\n const pairs = this._pairs;\n return function* (data) {\n for (const [key, fn] of pairs) {\n if (key !== (yield* fn(data))) return false;\n }\n\n return true;\n };\n }\n\n deactivate() {\n this._active = false;\n }\n\n configured() {\n return this._configured;\n }\n\n}\n\nfunction makeSimpleConfigurator(cache) {\n function cacheFn(val) {\n if (typeof val === "boolean") {\n if (val) cache.forever();else cache.never();\n return;\n }\n\n return cache.using(() => assertSimpleType(val()));\n }\n\n cacheFn.forever = () => cache.forever();\n\n cacheFn.never = () => cache.never();\n\n cacheFn.using = cb => cache.using(() => assertSimpleType(cb()));\n\n cacheFn.invalidate = cb => cache.invalidate(() => assertSimpleType(cb()));\n\n return cacheFn;\n}\n\nfunction assertSimpleType(value) {\n if ((0, _async.isThenable)(value)) {\n throw new Error(`You appear to be using an async cache handler, ` + `which your current version of Babel does not support. ` + `We may add support for this in the future, ` + `but if you\'re on the most recent version of @babel/core and still ` + `seeing this error, then you\'ll need to synchronously handle your caching logic.`);\n }\n\n if (value != null && typeof value !== "string" && typeof value !== "boolean" && typeof value !== "number") {\n throw new Error("Cache keys must be either string, boolean, number, null, or undefined.");\n }\n\n return value;\n}\n\nclass Lock {\n constructor() {\n this.released = false;\n this.promise = void 0;\n this._resolve = void 0;\n this.promise = new Promise(resolve => {\n this._resolve = resolve;\n });\n }\n\n release(value) {\n this.released = true;\n\n this._resolve(value);\n }\n\n}\n\n//# sourceURL=webpack:///./node_modules/@babel/core/lib/config/caching.js?')},"./node_modules/@babel/core/lib/config/config-chain.js":function(module,exports,__webpack_require__){"use strict";eval('\n\nObject.defineProperty(exports, "__esModule", {\n value: true\n});\nexports.buildPresetChain = buildPresetChain;\nexports.buildRootChain = buildRootChain;\nexports.buildPresetChainWalker = void 0;\n\nfunction _path() {\n const data = __webpack_require__("./node_modules/path-browserify/index.js");\n\n _path = function () {\n return data;\n };\n\n return data;\n}\n\nfunction _debug() {\n const data = __webpack_require__("./node_modules/@babel/core/node_modules/debug/src/browser.js");\n\n _debug = function () {\n return data;\n };\n\n return data;\n}\n\nvar _options = __webpack_require__("./node_modules/@babel/core/lib/config/validation/options.js");\n\nvar _patternToRegex = __webpack_require__("./node_modules/@babel/core/lib/config/pattern-to-regex.js");\n\nvar _printer = __webpack_require__("./node_modules/@babel/core/lib/config/printer.js");\n\nvar _files = __webpack_require__("./node_modules/@babel/core/lib/config/files/index-browser.js");\n\nvar _caching = __webpack_require__("./node_modules/@babel/core/lib/config/caching.js");\n\nvar _configDescriptors = __webpack_require__("./node_modules/@babel/core/lib/config/config-descriptors.js");\n\nconst debug = _debug()("babel:config:config-chain");\n\nfunction* buildPresetChain(arg, context) {\n const chain = yield* buildPresetChainWalker(arg, context);\n if (!chain) return null;\n return {\n plugins: dedupDescriptors(chain.plugins),\n presets: dedupDescriptors(chain.presets),\n options: chain.options.map(o => normalizeOptions(o)),\n files: new Set()\n };\n}\n\nconst buildPresetChainWalker = makeChainWalker({\n root: preset => loadPresetDescriptors(preset),\n env: (preset, envName) => loadPresetEnvDescriptors(preset)(envName),\n overrides: (preset, index) => loadPresetOverridesDescriptors(preset)(index),\n overridesEnv: (preset, index, envName) => loadPresetOverridesEnvDescriptors(preset)(index)(envName),\n createLogger: () => () => {}\n});\nexports.buildPresetChainWalker = buildPresetChainWalker;\nconst loadPresetDescriptors = (0, _caching.makeWeakCacheSync)(preset => buildRootDescriptors(preset, preset.alias, _configDescriptors.createUncachedDescriptors));\nconst loadPresetEnvDescriptors = (0, _caching.makeWeakCacheSync)(preset => (0, _caching.makeStrongCacheSync)(envName => buildEnvDescriptors(preset, preset.alias, _configDescriptors.createUncachedDescriptors, envName)));\nconst loadPresetOverridesDescriptors = (0, _caching.makeWeakCacheSync)(preset => (0, _caching.makeStrongCacheSync)(index => buildOverrideDescriptors(preset, preset.alias, _configDescriptors.createUncachedDescriptors, index)));\nconst loadPresetOverridesEnvDescriptors = (0, _caching.makeWeakCacheSync)(preset => (0, _caching.makeStrongCacheSync)(index => (0, _caching.makeStrongCacheSync)(envName => buildOverrideEnvDescriptors(preset, preset.alias, _configDescriptors.createUncachedDescriptors, index, envName))));\n\nfunction* buildRootChain(opts, context) {\n let configReport, babelRcReport;\n const programmaticLogger = new _printer.ConfigPrinter();\n const programmaticChain = yield* loadProgrammaticChain({\n options: opts,\n dirname: context.cwd\n }, context, undefined, programmaticLogger);\n if (!programmaticChain) return null;\n const programmaticReport = yield* programmaticLogger.output();\n let configFile;\n\n if (typeof opts.configFile === "string") {\n configFile = yield* (0, _files.loadConfig)(opts.configFile, context.cwd, context.envName, context.caller);\n } else if (opts.configFile !== false) {\n configFile = yield* (0, _files.findRootConfig)(context.root, context.envName, context.caller);\n }\n\n let {\n babelrc,\n babelrcRoots\n } = opts;\n let babelrcRootsDirectory = context.cwd;\n const configFileChain = emptyChain();\n const configFileLogger = new _printer.ConfigPrinter();\n\n if (configFile) {\n const validatedFile = validateConfigFile(configFile);\n const result = yield* loadFileChain(validatedFile, context, undefined, configFileLogger);\n if (!result) return null;\n configReport = yield* configFileLogger.output();\n\n if (babelrc === undefined) {\n babelrc = validatedFile.options.babelrc;\n }\n\n if (babelrcRoots === undefined) {\n babelrcRootsDirectory = validatedFile.dirname;\n babelrcRoots = validatedFile.options.babelrcRoots;\n }\n\n mergeChain(configFileChain, result);\n }\n\n let ignoreFile, babelrcFile;\n let isIgnored = false;\n const fileChain = emptyChain();\n\n if ((babelrc === true || babelrc === undefined) && typeof context.filename === "string") {\n const pkgData = yield* (0, _files.findPackageData)(context.filename);\n\n if (pkgData && babelrcLoadEnabled(context, pkgData, babelrcRoots, babelrcRootsDirectory)) {\n ({\n ignore: ignoreFile,\n config: babelrcFile\n } = yield* (0, _files.findRelativeConfig)(pkgData, context.envName, context.caller));\n\n if (ignoreFile) {\n fileChain.files.add(ignoreFile.filepath);\n }\n\n if (ignoreFile && shouldIgnore(context, ignoreFile.ignore, null, ignoreFile.dirname)) {\n isIgnored = true;\n }\n\n if (babelrcFile && !isIgnored) {\n const validatedFile = validateBabelrcFile(babelrcFile);\n const babelrcLogger = new _printer.ConfigPrinter();\n const result = yield* loadFileChain(validatedFile, context, undefined, babelrcLogger);\n\n if (!result) {\n isIgnored = true;\n } else {\n babelRcReport = yield* babelrcLogger.output();\n mergeChain(fileChain, result);\n }\n }\n\n if (babelrcFile && isIgnored) {\n fileChain.files.add(babelrcFile.filepath);\n }\n }\n }\n\n if (context.showConfig) {\n console.log(`Babel configs on "${context.filename}" (ascending priority):\\n` + [configReport, babelRcReport, programmaticReport].filter(x => !!x).join("\\n\\n") + "\\n-----End Babel configs-----");\n }\n\n const chain = mergeChain(mergeChain(mergeChain(emptyChain(), configFileChain), fileChain), programmaticChain);\n return {\n plugins: isIgnored ? [] : dedupDescriptors(chain.plugins),\n presets: isIgnored ? [] : dedupDescriptors(chain.presets),\n options: isIgnored ? [] : chain.options.map(o => normalizeOptions(o)),\n fileHandling: isIgnored ? "ignored" : "transpile",\n ignore: ignoreFile || undefined,\n babelrc: babelrcFile || undefined,\n config: configFile || undefined,\n files: chain.files\n };\n}\n\nfunction babelrcLoadEnabled(context, pkgData, babelrcRoots, babelrcRootsDirectory) {\n if (typeof babelrcRoots === "boolean") return babelrcRoots;\n const absoluteRoot = context.root;\n\n if (babelrcRoots === undefined) {\n return pkgData.directories.indexOf(absoluteRoot) !== -1;\n }\n\n let babelrcPatterns = babelrcRoots;\n\n if (!Array.isArray(babelrcPatterns)) {\n babelrcPatterns = [babelrcPatterns];\n }\n\n babelrcPatterns = babelrcPatterns.map(pat => {\n return typeof pat === "string" ? _path().resolve(babelrcRootsDirectory, pat) : pat;\n });\n\n if (babelrcPatterns.length === 1 && babelrcPatterns[0] === absoluteRoot) {\n return pkgData.directories.indexOf(absoluteRoot) !== -1;\n }\n\n return babelrcPatterns.some(pat => {\n if (typeof pat === "string") {\n pat = (0, _patternToRegex.default)(pat, babelrcRootsDirectory);\n }\n\n return pkgData.directories.some(directory => {\n return matchPattern(pat, babelrcRootsDirectory, directory, context);\n });\n });\n}\n\nconst validateConfigFile = (0, _caching.makeWeakCacheSync)(file => ({\n filepath: file.filepath,\n dirname: file.dirname,\n options: (0, _options.validate)("configfile", file.options)\n}));\nconst validateBabelrcFile = (0, _caching.makeWeakCacheSync)(file => ({\n filepath: file.filepath,\n dirname: file.dirname,\n options: (0, _options.validate)("babelrcfile", file.options)\n}));\nconst validateExtendFile = (0, _caching.makeWeakCacheSync)(file => ({\n filepath: file.filepath,\n dirname: file.dirname,\n options: (0, _options.validate)("extendsfile", file.options)\n}));\nconst loadProgrammaticChain = makeChainWalker({\n root: input => buildRootDescriptors(input, "base", _configDescriptors.createCachedDescriptors),\n env: (input, envName) => buildEnvDescriptors(input, "base", _configDescriptors.createCachedDescriptors, envName),\n overrides: (input, index) => buildOverrideDescriptors(input, "base", _configDescriptors.createCachedDescriptors, index),\n overridesEnv: (input, index, envName) => buildOverrideEnvDescriptors(input, "base", _configDescriptors.createCachedDescriptors, index, envName),\n createLogger: (input, context, baseLogger) => buildProgrammaticLogger(input, context, baseLogger)\n});\nconst loadFileChainWalker = makeChainWalker({\n root: file => loadFileDescriptors(file),\n env: (file, envName) => loadFileEnvDescriptors(file)(envName),\n overrides: (file, index) => loadFileOverridesDescriptors(file)(index),\n overridesEnv: (file, index, envName) => loadFileOverridesEnvDescriptors(file)(index)(envName),\n createLogger: (file, context, baseLogger) => buildFileLogger(file.filepath, context, baseLogger)\n});\n\nfunction* loadFileChain(input, context, files, baseLogger) {\n const chain = yield* loadFileChainWalker(input, context, files, baseLogger);\n\n if (chain) {\n chain.files.add(input.filepath);\n }\n\n return chain;\n}\n\nconst loadFileDescriptors = (0, _caching.makeWeakCacheSync)(file => buildRootDescriptors(file, file.filepath, _configDescriptors.createUncachedDescriptors));\nconst loadFileEnvDescriptors = (0, _caching.makeWeakCacheSync)(file => (0, _caching.makeStrongCacheSync)(envName => buildEnvDescriptors(file, file.filepath, _configDescriptors.createUncachedDescriptors, envName)));\nconst loadFileOverridesDescriptors = (0, _caching.makeWeakCacheSync)(file => (0, _caching.makeStrongCacheSync)(index => buildOverrideDescriptors(file, file.filepath, _configDescriptors.createUncachedDescriptors, index)));\nconst loadFileOverridesEnvDescriptors = (0, _caching.makeWeakCacheSync)(file => (0, _caching.makeStrongCacheSync)(index => (0, _caching.makeStrongCacheSync)(envName => buildOverrideEnvDescriptors(file, file.filepath, _configDescriptors.createUncachedDescriptors, index, envName))));\n\nfunction buildFileLogger(filepath, context, baseLogger) {\n if (!baseLogger) {\n return () => {};\n }\n\n return baseLogger.configure(context.showConfig, _printer.ChainFormatter.Config, {\n filepath\n });\n}\n\nfunction buildRootDescriptors({\n dirname,\n options\n}, alias, descriptors) {\n return descriptors(dirname, options, alias);\n}\n\nfunction buildProgrammaticLogger(_, context, baseLogger) {\n var _context$caller;\n\n if (!baseLogger) {\n return () => {};\n }\n\n return baseLogger.configure(context.showConfig, _printer.ChainFormatter.Programmatic, {\n callerName: (_context$caller = context.caller) == null ? void 0 : _context$caller.name\n });\n}\n\nfunction buildEnvDescriptors({\n dirname,\n options\n}, alias, descriptors, envName) {\n const opts = options.env && options.env[envName];\n return opts ? descriptors(dirname, opts, `${alias}.env["${envName}"]`) : null;\n}\n\nfunction buildOverrideDescriptors({\n dirname,\n options\n}, alias, descriptors, index) {\n const opts = options.overrides && options.overrides[index];\n if (!opts) throw new Error("Assertion failure - missing override");\n return descriptors(dirname, opts, `${alias}.overrides[${index}]`);\n}\n\nfunction buildOverrideEnvDescriptors({\n dirname,\n options\n}, alias, descriptors, index, envName) {\n const override = options.overrides && options.overrides[index];\n if (!override) throw new Error("Assertion failure - missing override");\n const opts = override.env && override.env[envName];\n return opts ? descriptors(dirname, opts, `${alias}.overrides[${index}].env["${envName}"]`) : null;\n}\n\nfunction makeChainWalker({\n root,\n env,\n overrides,\n overridesEnv,\n createLogger\n}) {\n return function* (input, context, files = new Set(), baseLogger) {\n const {\n dirname\n } = input;\n const flattenedConfigs = [];\n const rootOpts = root(input);\n\n if (configIsApplicable(rootOpts, dirname, context)) {\n flattenedConfigs.push({\n config: rootOpts,\n envName: undefined,\n index: undefined\n });\n const envOpts = env(input, context.envName);\n\n if (envOpts && configIsApplicable(envOpts, dirname, context)) {\n flattenedConfigs.push({\n config: envOpts,\n envName: context.envName,\n index: undefined\n });\n }\n\n (rootOpts.options.overrides || []).forEach((_, index) => {\n const overrideOps = overrides(input, index);\n\n if (configIsApplicable(overrideOps, dirname, context)) {\n flattenedConfigs.push({\n config: overrideOps,\n index,\n envName: undefined\n });\n const overrideEnvOpts = overridesEnv(input, index, context.envName);\n\n if (overrideEnvOpts && configIsApplicable(overrideEnvOpts, dirname, context)) {\n flattenedConfigs.push({\n config: overrideEnvOpts,\n index,\n envName: context.envName\n });\n }\n }\n });\n }\n\n if (flattenedConfigs.some(({\n config: {\n options: {\n ignore,\n only\n }\n }\n }) => shouldIgnore(context, ignore, only, dirname))) {\n return null;\n }\n\n const chain = emptyChain();\n const logger = createLogger(input, context, baseLogger);\n\n for (const {\n config,\n index,\n envName\n } of flattenedConfigs) {\n if (!(yield* mergeExtendsChain(chain, config.options, dirname, context, files, baseLogger))) {\n return null;\n }\n\n logger(config, index, envName);\n yield* mergeChainOpts(chain, config);\n }\n\n return chain;\n };\n}\n\nfunction* mergeExtendsChain(chain, opts, dirname, context, files, baseLogger) {\n if (opts.extends === undefined) return true;\n const file = yield* (0, _files.loadConfig)(opts.extends, dirname, context.envName, context.caller);\n\n if (files.has(file)) {\n throw new Error(`Configuration cycle detected loading ${file.filepath}.\\n` + `File already loaded following the config chain:\\n` + Array.from(files, file => ` - ${file.filepath}`).join("\\n"));\n }\n\n files.add(file);\n const fileChain = yield* loadFileChain(validateExtendFile(file), context, files, baseLogger);\n files.delete(file);\n if (!fileChain) return false;\n mergeChain(chain, fileChain);\n return true;\n}\n\nfunction mergeChain(target, source) {\n target.options.push(...source.options);\n target.plugins.push(...source.plugins);\n target.presets.push(...source.presets);\n\n for (const file of source.files) {\n target.files.add(file);\n }\n\n return target;\n}\n\nfunction* mergeChainOpts(target, {\n options,\n plugins,\n presets\n}) {\n target.options.push(options);\n target.plugins.push(...(yield* plugins()));\n target.presets.push(...(yield* presets()));\n return target;\n}\n\nfunction emptyChain() {\n return {\n options: [],\n presets: [],\n plugins: [],\n files: new Set()\n };\n}\n\nfunction normalizeOptions(opts) {\n const options = Object.assign({}, opts);\n delete options.extends;\n delete options.env;\n delete options.overrides;\n delete options.plugins;\n delete options.presets;\n delete options.passPerPreset;\n delete options.ignore;\n delete options.only;\n delete options.test;\n delete options.include;\n delete options.exclude;\n\n if (Object.prototype.hasOwnProperty.call(options, "sourceMap")) {\n options.sourceMaps = options.sourceMap;\n delete options.sourceMap;\n }\n\n return options;\n}\n\nfunction dedupDescriptors(items) {\n const map = new Map();\n const descriptors = [];\n\n for (const item of items) {\n if (typeof item.value === "function") {\n const fnKey = item.value;\n let nameMap = map.get(fnKey);\n\n if (!nameMap) {\n nameMap = new Map();\n map.set(fnKey, nameMap);\n }\n\n let desc = nameMap.get(item.name);\n\n if (!desc) {\n desc = {\n value: item\n };\n descriptors.push(desc);\n if (!item.ownPass) nameMap.set(item.name, desc);\n } else {\n desc.value = item;\n }\n } else {\n descriptors.push({\n value: item\n });\n }\n }\n\n return descriptors.reduce((acc, desc) => {\n acc.push(desc.value);\n return acc;\n }, []);\n}\n\nfunction configIsApplicable({\n options\n}, dirname, context) {\n return (options.test === undefined || configFieldIsApplicable(context, options.test, dirname)) && (options.include === undefined || configFieldIsApplicable(context, options.include, dirname)) && (options.exclude === undefined || !configFieldIsApplicable(context, options.exclude, dirname));\n}\n\nfunction configFieldIsApplicable(context, test, dirname) {\n const patterns = Array.isArray(test) ? test : [test];\n return matchesPatterns(context, patterns, dirname);\n}\n\nfunction shouldIgnore(context, ignore, only, dirname) {\n if (ignore && matchesPatterns(context, ignore, dirname)) {\n var _context$filename;\n\n const message = `No config is applied to "${(_context$filename = context.filename) != null ? _context$filename : "(unknown)"}" because it matches one of \\`ignore: ${JSON.stringify(ignore)}\\` from "${dirname}"`;\n debug(message);\n\n if (context.showConfig) {\n console.log(message);\n }\n\n return true;\n }\n\n if (only && !matchesPatterns(context, only, dirname)) {\n var _context$filename2;\n\n const message = `No config is applied to "${(_context$filename2 = context.filename) != null ? _context$filename2 : "(unknown)"}" because it fails to match one of \\`only: ${JSON.stringify(only)}\\` from "${dirname}"`;\n debug(message);\n\n if (context.showConfig) {\n console.log(message);\n }\n\n return true;\n }\n\n return false;\n}\n\nfunction matchesPatterns(context, patterns, dirname) {\n return patterns.some(pattern => matchPattern(pattern, dirname, context.filename, context));\n}\n\nfunction matchPattern(pattern, dirname, pathToTest, context) {\n if (typeof pattern === "function") {\n return !!pattern(pathToTest, {\n dirname,\n envName: context.envName,\n caller: context.caller\n });\n }\n\n if (typeof pathToTest !== "string") {\n throw new Error(`Configuration contains string/RegExp pattern, but no filename was passed to Babel`);\n }\n\n if (typeof pattern === "string") {\n pattern = (0, _patternToRegex.default)(pattern, dirname);\n }\n\n return pattern.test(pathToTest);\n}\n\n//# sourceURL=webpack:///./node_modules/@babel/core/lib/config/config-chain.js?')},"./node_modules/@babel/core/lib/config/config-descriptors.js":function(module,exports,__webpack_require__){"use strict";eval('\n\nObject.defineProperty(exports, "__esModule", {\n value: true\n});\nexports.createCachedDescriptors = createCachedDescriptors;\nexports.createUncachedDescriptors = createUncachedDescriptors;\nexports.createDescriptor = createDescriptor;\n\nfunction _gensync() {\n const data = __webpack_require__("./node_modules/gensync/index.js");\n\n _gensync = function () {\n return data;\n };\n\n return data;\n}\n\nvar _files = __webpack_require__("./node_modules/@babel/core/lib/config/files/index-browser.js");\n\nvar _item = __webpack_require__("./node_modules/@babel/core/lib/config/item.js");\n\nvar _caching = __webpack_require__("./node_modules/@babel/core/lib/config/caching.js");\n\nvar _resolveTargets = __webpack_require__("./node_modules/@babel/core/lib/config/resolve-targets-browser.js");\n\nfunction isEqualDescriptor(a, b) {\n return a.name === b.name && a.value === b.value && a.options === b.options && a.dirname === b.dirname && a.alias === b.alias && a.ownPass === b.ownPass && (a.file && a.file.request) === (b.file && b.file.request) && (a.file && a.file.resolved) === (b.file && b.file.resolved);\n}\n\nfunction* handlerOf(value) {\n return value;\n}\n\nfunction optionsWithResolvedBrowserslistConfigFile(options, dirname) {\n if (typeof options.browserslistConfigFile === "string") {\n options.browserslistConfigFile = (0, _resolveTargets.resolveBrowserslistConfigFile)(options.browserslistConfigFile, dirname);\n }\n\n return options;\n}\n\nfunction createCachedDescriptors(dirname, options, alias) {\n const {\n plugins,\n presets,\n passPerPreset\n } = options;\n return {\n options: optionsWithResolvedBrowserslistConfigFile(options, dirname),\n plugins: plugins ? () => createCachedPluginDescriptors(plugins, dirname)(alias) : () => handlerOf([]),\n presets: presets ? () => createCachedPresetDescriptors(presets, dirname)(alias)(!!passPerPreset) : () => handlerOf([])\n };\n}\n\nfunction createUncachedDescriptors(dirname, options, alias) {\n let plugins;\n let presets;\n return {\n options: optionsWithResolvedBrowserslistConfigFile(options, dirname),\n\n *plugins() {\n if (!plugins) {\n plugins = yield* createPluginDescriptors(options.plugins || [], dirname, alias);\n }\n\n return plugins;\n },\n\n *presets() {\n if (!presets) {\n presets = yield* createPresetDescriptors(options.presets || [], dirname, alias, !!options.passPerPreset);\n }\n\n return presets;\n }\n\n };\n}\n\nconst PRESET_DESCRIPTOR_CACHE = new WeakMap();\nconst createCachedPresetDescriptors = (0, _caching.makeWeakCacheSync)((items, cache) => {\n const dirname = cache.using(dir => dir);\n return (0, _caching.makeStrongCacheSync)(alias => (0, _caching.makeStrongCache)(function* (passPerPreset) {\n const descriptors = yield* createPresetDescriptors(items, dirname, alias, passPerPreset);\n return descriptors.map(desc => loadCachedDescriptor(PRESET_DESCRIPTOR_CACHE, desc));\n }));\n});\nconst PLUGIN_DESCRIPTOR_CACHE = new WeakMap();\nconst createCachedPluginDescriptors = (0, _caching.makeWeakCacheSync)((items, cache) => {\n const dirname = cache.using(dir => dir);\n return (0, _caching.makeStrongCache)(function* (alias) {\n const descriptors = yield* createPluginDescriptors(items, dirname, alias);\n return descriptors.map(desc => loadCachedDescriptor(PLUGIN_DESCRIPTOR_CACHE, desc));\n });\n});\nconst DEFAULT_OPTIONS = {};\n\nfunction loadCachedDescriptor(cache, desc) {\n const {\n value,\n options = DEFAULT_OPTIONS\n } = desc;\n if (options === false) return desc;\n let cacheByOptions = cache.get(value);\n\n if (!cacheByOptions) {\n cacheByOptions = new WeakMap();\n cache.set(value, cacheByOptions);\n }\n\n let possibilities = cacheByOptions.get(options);\n\n if (!possibilities) {\n possibilities = [];\n cacheByOptions.set(options, possibilities);\n }\n\n if (possibilities.indexOf(desc) === -1) {\n const matches = possibilities.filter(possibility => isEqualDescriptor(possibility, desc));\n\n if (matches.length > 0) {\n return matches[0];\n }\n\n possibilities.push(desc);\n }\n\n return desc;\n}\n\nfunction* createPresetDescriptors(items, dirname, alias, passPerPreset) {\n return yield* createDescriptors("preset", items, dirname, alias, passPerPreset);\n}\n\nfunction* createPluginDescriptors(items, dirname, alias) {\n return yield* createDescriptors("plugin", items, dirname, alias);\n}\n\nfunction* createDescriptors(type, items, dirname, alias, ownPass) {\n const descriptors = yield* _gensync().all(items.map((item, index) => createDescriptor(item, dirname, {\n type,\n alias: `${alias}$${index}`,\n ownPass: !!ownPass\n })));\n assertNoDuplicates(descriptors);\n return descriptors;\n}\n\nfunction* createDescriptor(pair, dirname, {\n type,\n alias,\n ownPass\n}) {\n const desc = (0, _item.getItemDescriptor)(pair);\n\n if (desc) {\n return desc;\n }\n\n let name;\n let options;\n let value = pair;\n\n if (Array.isArray(value)) {\n if (value.length === 3) {\n [value, options, name] = value;\n } else {\n [value, options] = value;\n }\n }\n\n let file = undefined;\n let filepath = null;\n\n if (typeof value === "string") {\n if (typeof type !== "string") {\n throw new Error("To resolve a string-based item, the type of item must be given");\n }\n\n const resolver = type === "plugin" ? _files.loadPlugin : _files.loadPreset;\n const request = value;\n ({\n filepath,\n value\n } = yield* resolver(value, dirname));\n file = {\n request,\n resolved: filepath\n };\n }\n\n if (!value) {\n throw new Error(`Unexpected falsy value: ${String(value)}`);\n }\n\n if (typeof value === "object" && value.__esModule) {\n if (value.default) {\n value = value.default;\n } else {\n throw new Error("Must export a default export when using ES6 modules.");\n }\n }\n\n if (typeof value !== "object" && typeof value !== "function") {\n throw new Error(`Unsupported format: ${typeof value}. Expected an object or a function.`);\n }\n\n