diff --git a/packages/next/build/compiler.ts b/packages/next/build/compiler.ts index c3926e4594ff5..250e11cbbda85 100644 --- a/packages/next/build/compiler.ts +++ b/packages/next/build/compiler.ts @@ -1,4 +1,6 @@ -import webpack, { Stats, Configuration } from 'webpack' +// eslint-disable-next-line import/no-extraneous-dependencies +import type { Stats, Configuration } from 'webpack' +import webpack from 'next/dist/compiled/webpack/webpack' export type CompilerResult = { errors: string[] diff --git a/packages/next/build/index.ts b/packages/next/build/index.ts index f0052a59da7de..217a17c4dd0be 100644 --- a/packages/next/build/index.ts +++ b/packages/next/build/index.ts @@ -402,6 +402,7 @@ export default async function build( pagesDir, entrypoints: entrypoints.client, rewrites, + webpack5: false, }), getBaseWebpackConfig(dir, { tracer: chromeProfiler, @@ -413,6 +414,7 @@ export default async function build( pagesDir, entrypoints: entrypoints.server, rewrites, + webpack5: false, }), ]) diff --git a/packages/next/build/webpack-config.ts b/packages/next/build/webpack-config.ts index 39a1c1371b9d5..79f0a6fcbdddf 100644 --- a/packages/next/build/webpack-config.ts +++ b/packages/next/build/webpack-config.ts @@ -7,8 +7,12 @@ import semver from 'next/dist/compiled/semver' // @ts-ignore No typings yet import TerserPlugin from './webpack/plugins/terser-webpack-plugin/src/index.js' import path from 'path' -import webpack from 'webpack' -import { Configuration } from 'webpack' +import webpack, { + isWebpack5, + init as initWebpack, +} from 'next/dist/compiled/webpack/webpack' +// eslint-disable-next-line import/no-extraneous-dependencies +import type { Configuration } from 'webpack' import { DOT_NEXT_ALIAS, NEXT_PROJECT_ROOT, @@ -62,15 +66,6 @@ import { NextConfig } from '../next-server/server/config' type ExcludesFalse = (x: T | false) => x is T -const isWebpack5 = parseInt(webpack.version!) === 5 - -if (isWebpack5 && semver.lt(webpack.version!, '5.11.1')) { - Log.error( - `webpack 5 version must be greater than v5.11.1 to work properly with Next.js, please upgrade to continue!\nSee more info here: https://err.sh/next.js/invalid-webpack-5-version` - ) - process.exit(1) -} - const devtoolRevertWarning = execOnce((devtool: Configuration['devtool']) => { console.warn( chalk.yellow.bold('Warning: ') + @@ -198,6 +193,7 @@ export default async function getBaseWebpackConfig( reactProductionProfiling = false, entrypoints, rewrites, + webpack5 = false, }: { buildId: string config: NextConfig @@ -209,8 +205,11 @@ export default async function getBaseWebpackConfig( reactProductionProfiling?: boolean entrypoints: WebpackEntrypoints rewrites: Rewrite[] + webpack5: boolean } ): Promise { + initWebpack(webpack5) + const productionBrowserSourceMaps = config.productionBrowserSourceMaps && !isServer let plugins: PluginMetaData[] = [] diff --git a/packages/next/build/webpack/config/blocks/base.ts b/packages/next/build/webpack/config/blocks/base.ts index 386a303694318..75863cf86f9aa 100644 --- a/packages/next/build/webpack/config/blocks/base.ts +++ b/packages/next/build/webpack/config/blocks/base.ts @@ -1,6 +1,7 @@ import isWslBoolean from 'next/dist/compiled/is-wsl' import curry from 'next/dist/compiled/lodash.curry' -import { Configuration } from 'webpack' +// eslint-disable-next-line import/no-extraneous-dependencies +import type { Configuration } from 'webpack' import { ConfigurationContext } from '../utils' const isWindows = process.platform === 'win32' || isWslBoolean diff --git a/packages/next/build/webpack/config/blocks/css/index.ts b/packages/next/build/webpack/config/blocks/css/index.ts index 1d4b85b7dfb27..90bd14803f1e0 100644 --- a/packages/next/build/webpack/config/blocks/css/index.ts +++ b/packages/next/build/webpack/config/blocks/css/index.ts @@ -1,6 +1,6 @@ import curry from 'next/dist/compiled/lodash.curry' import path from 'path' -import webpack, { Configuration } from 'webpack' +import type webpack from 'next/dist/compiled/webpack/webpack' import MiniCssExtractPlugin from '../../../plugins/mini-css-extract-plugin' import { loader, plugin } from '../../helpers' import { ConfigurationContext, ConfigurationFn, pipe } from '../../utils' @@ -26,7 +26,7 @@ const regexSassModules = /\.module\.(scss|sass)$/ export const css = curry(async function css( ctx: ConfigurationContext, - config: Configuration + config: webpack.Configuration ) { const { prependData: sassPrependData, diff --git a/packages/next/build/webpack/config/blocks/css/loaders/client.ts b/packages/next/build/webpack/config/blocks/css/loaders/client.ts index 3e260ce069c8d..bc2dda726136c 100644 --- a/packages/next/build/webpack/config/blocks/css/loaders/client.ts +++ b/packages/next/build/webpack/config/blocks/css/loaders/client.ts @@ -1,4 +1,5 @@ -import webpack from 'webpack' +// eslint-disable-next-line import/no-extraneous-dependencies +import type webpack from 'webpack' import MiniCssExtractPlugin from '../../../../plugins/mini-css-extract-plugin' export function getClientStyleLoader({ diff --git a/packages/next/build/webpack/config/blocks/css/loaders/getCssModuleLocalIdent.ts b/packages/next/build/webpack/config/blocks/css/loaders/getCssModuleLocalIdent.ts index 6ddedfe3d064d..dce05e98e4885 100644 --- a/packages/next/build/webpack/config/blocks/css/loaders/getCssModuleLocalIdent.ts +++ b/packages/next/build/webpack/config/blocks/css/loaders/getCssModuleLocalIdent.ts @@ -1,6 +1,7 @@ import loaderUtils from 'loader-utils' import path from 'path' -import webpack from 'webpack' +// eslint-disable-next-line import/no-extraneous-dependencies +import type webpack from 'webpack' const regexLikeIndexModule = /(? source export default NoopLoader diff --git a/packages/next/build/webpack/plugins/build-manifest-plugin.ts b/packages/next/build/webpack/plugins/build-manifest-plugin.ts index dfe28783c1a0b..3b3f8a2c23d60 100644 --- a/packages/next/build/webpack/plugins/build-manifest-plugin.ts +++ b/packages/next/build/webpack/plugins/build-manifest-plugin.ts @@ -1,5 +1,10 @@ import devalue from 'next/dist/compiled/devalue' -import webpack, { Compiler, compilation as CompilationType } from 'webpack' +import webpack, { + isWebpack5, + onWebpackInit, +} from 'next/dist/compiled/webpack/webpack' +// eslint-disable-next-line import/no-extraneous-dependencies +import type { Compiler, compilation as CompilationType } from 'webpack' import sources from 'webpack-sources' import { BUILD_MANIFEST, @@ -17,9 +22,10 @@ import { getSortedRoutes } from '../../../next-server/lib/router/utils' import { tracer, traceFn } from '../../tracer' // @ts-ignore: TODO: remove ignore when webpack 5 is stable -const { RawSource } = webpack.sources || sources - -const isWebpack5 = parseInt(webpack.version!) === 5 +let RawSource: typeof sources.RawSource +onWebpackInit(function () { + ;({ RawSource } = (webpack as any).sources || sources) +}) type DeepMutable = { -readonly [P in keyof T]: DeepMutable } diff --git a/packages/next/build/webpack/plugins/chunk-names-plugin.ts b/packages/next/build/webpack/plugins/chunk-names-plugin.ts index 8d12acd9d17f5..9e112ce80c6f3 100644 --- a/packages/next/build/webpack/plugins/chunk-names-plugin.ts +++ b/packages/next/build/webpack/plugins/chunk-names-plugin.ts @@ -1,4 +1,5 @@ -import { Compiler } from 'webpack' +// eslint-disable-next-line import/no-extraneous-dependencies +import type { Compiler } from 'webpack' // This plugin mirrors webpack 3 `filename` and `chunkfilename` behavior // This fixes https://github.com/webpack/webpack/issues/6598 // This plugin is based on https://github.com/researchgate/webpack/commit/2f28947fa0c63ccbb18f39c0098bd791a2c37090 diff --git a/packages/next/build/webpack/plugins/css-minimizer-plugin.ts b/packages/next/build/webpack/plugins/css-minimizer-plugin.ts index 84af2bbaa9e33..11e44058cd865 100644 --- a/packages/next/build/webpack/plugins/css-minimizer-plugin.ts +++ b/packages/next/build/webpack/plugins/css-minimizer-plugin.ts @@ -1,12 +1,18 @@ import cssnanoSimple from 'cssnano-simple' import postcssScss from 'next/dist/compiled/postcss-scss' import postcss, { Parser } from 'postcss' -import webpack from 'webpack' +import webpack, { + isWebpack5, + onWebpackInit, +} from 'next/dist/compiled/webpack/webpack' import sources from 'webpack-sources' import { tracer, traceAsyncFn } from '../../tracer' // @ts-ignore: TODO: remove ignore when webpack 5 is stable -const { RawSource, SourceMapSource } = webpack.sources || sources +let RawSource: typeof sources.RawSource, SourceMapSource: typeof sources.SourceMapSource +onWebpackInit(function () { + ;({ RawSource, SourceMapSource } = (webpack as any).sources || sources) +}) // https://github.com/NMFR/optimize-css-assets-webpack-plugin/blob/0a410a9bf28c7b0e81a3470a13748e68ca2f50aa/src/index.js#L20 const CSS_REGEX = /\.css(\?.*)?$/i @@ -17,8 +23,6 @@ type CssMinimizerPluginOptions = { } } -const isWebpack5 = parseInt(webpack.version!) === 5 - export class CssMinimizerPlugin { __next_css_remove = true diff --git a/packages/next/build/webpack/plugins/font-stylesheet-gathering-plugin.ts b/packages/next/build/webpack/plugins/font-stylesheet-gathering-plugin.ts index f53e832985e5c..b8f99a2c7db0d 100644 --- a/packages/next/build/webpack/plugins/font-stylesheet-gathering-plugin.ts +++ b/packages/next/build/webpack/plugins/font-stylesheet-gathering-plugin.ts @@ -1,4 +1,9 @@ -import webpack, { compilation as CompilationType, Compiler } from 'webpack' +// eslint-disable-next-line import/no-extraneous-dependencies +import type { compilation as CompilationType, Compiler } from 'webpack' +import webpack, { + BasicEvaluatedExpression, + isWebpack5, +} from 'next/dist/compiled/webpack/webpack' import { namedTypes } from 'ast-types' import sources from 'webpack-sources' import { @@ -15,15 +20,6 @@ import { // @ts-ignore: TODO: remove ignore when webpack 5 is stable const { RawSource } = webpack.sources || sources -const isWebpack5 = parseInt(webpack.version!) === 5 - -let BasicEvaluatedExpression: any -if (isWebpack5) { - BasicEvaluatedExpression = require('webpack/lib/javascript/BasicEvaluatedExpression') -} else { - BasicEvaluatedExpression = require('webpack/lib/BasicEvaluatedExpression') -} - async function minifyCss(css: string): Promise { return new Promise((resolve) => postcss([ diff --git a/packages/next/build/webpack/plugins/jsconfig-paths-plugin.ts b/packages/next/build/webpack/plugins/jsconfig-paths-plugin.ts index 0e3ee873ca936..1986543978da9 100644 --- a/packages/next/build/webpack/plugins/jsconfig-paths-plugin.ts +++ b/packages/next/build/webpack/plugins/jsconfig-paths-plugin.ts @@ -4,7 +4,8 @@ * https://github.com/microsoft/TypeScript/blob/214df64e287804577afa1fea0184c18c40f7d1ca/LICENSE.txt */ import path from 'path' -import { ResolvePlugin } from 'webpack' +// eslint-disable-next-line import/no-extraneous-dependencies +import type { ResolvePlugin } from 'webpack' import { debug } from 'next/dist/compiled/debug' const log = debug('next:jsconfig-paths-plugin') diff --git a/packages/next/build/webpack/plugins/mini-css-extract-plugin/src/CssDependency.js b/packages/next/build/webpack/plugins/mini-css-extract-plugin/src/CssDependency.js index 3969bacf7d348..dee9d81d6bb4f 100644 --- a/packages/next/build/webpack/plugins/mini-css-extract-plugin/src/CssDependency.js +++ b/packages/next/build/webpack/plugins/mini-css-extract-plugin/src/CssDependency.js @@ -1,59 +1,63 @@ -import webpack from 'webpack' +import webpack, { + onWebpackInit, + isWebpack5, +} from 'next/dist/compiled/webpack/webpack' -class CssDependency extends webpack.Dependency { - constructor( - { identifier, content, media, sourceMap }, - context, - identifierIndex - ) { - super() +let CssDependency +onWebpackInit(function () { + CssDependency = class extends webpack.Dependency { + constructor( + { identifier, content, media, sourceMap }, + context, + identifierIndex + ) { + super() - this.identifier = identifier - this.identifierIndex = identifierIndex - this.content = content - this.media = media - this.sourceMap = sourceMap - this.context = context - } + this.identifier = identifier + this.identifierIndex = identifierIndex + this.content = content + this.media = media + this.sourceMap = sourceMap + this.context = context + } - getResourceIdentifier() { - return `css-module-${this.identifier}-${this.identifierIndex}` + getResourceIdentifier() { + return `css-module-${this.identifier}-${this.identifierIndex}` + } } -} -const isWebpack5 = parseInt(webpack.version) === 5 - -if (isWebpack5) { // @ts-ignore TODO: remove ts-ignore when webpack 5 is stable - webpack.util.serialization.register( - CssDependency, - 'next/dist/build/webpack/plugins/mini-css-extract-plugin/src/CssDependency', - null, - { - serialize(obj, { write }) { - write(obj.identifier) - write(obj.content) - write(obj.media) - write(obj.sourceMap) - write(obj.context) - write(obj.identifierIndex) - }, - deserialize({ read }) { - const obj = new CssDependency( - { - identifier: read(), - content: read(), - media: read(), - sourceMap: read(), - }, - read(), - read() - ) + if (isWebpack5) { + webpack.util.serialization.register( + CssDependency, + 'next/dist/build/webpack/plugins/mini-css-extract-plugin/src/CssDependency', + null, + { + serialize(obj, { write }) { + write(obj.identifier) + write(obj.content) + write(obj.media) + write(obj.sourceMap) + write(obj.context) + write(obj.identifierIndex) + }, + deserialize({ read }) { + const obj = new CssDependency( + { + identifier: read(), + content: read(), + media: read(), + sourceMap: read(), + }, + read(), + read() + ) - return obj - }, - } - ) -} + return obj + }, + } + ) + } +}) -export default CssDependency +export { CssDependency as default } diff --git a/packages/next/build/webpack/plugins/mini-css-extract-plugin/src/CssModule.js b/packages/next/build/webpack/plugins/mini-css-extract-plugin/src/CssModule.js index 45ab2a1f0c78f..d171a092104da 100644 --- a/packages/next/build/webpack/plugins/mini-css-extract-plugin/src/CssModule.js +++ b/packages/next/build/webpack/plugins/mini-css-extract-plugin/src/CssModule.js @@ -1,97 +1,102 @@ -import webpack from 'webpack' - -class CssModule extends webpack.Module { - constructor(dependency) { - super('css/mini-extract', dependency.context) - this.id = '' - this._identifier = dependency.identifier - this._identifierIndex = dependency.identifierIndex - this.content = dependency.content - this.media = dependency.media - this.sourceMap = dependency.sourceMap - } // no source() so webpack doesn't do add stuff to the bundle - - size() { - return this.content.length - } +import webpack, { + onWebpackInit, + isWebpack5, +} from 'next/dist/compiled/webpack/webpack' + +let CssModule + +onWebpackInit(function () { + CssModule = class extends webpack.Module { + constructor(dependency) { + super('css/mini-extract', dependency.context) + this.id = '' + this._identifier = dependency.identifier + this._identifierIndex = dependency.identifierIndex + this.content = dependency.content + this.media = dependency.media + this.sourceMap = dependency.sourceMap + } // no source() so webpack doesn't do add stuff to the bundle + + size() { + return this.content.length + } - identifier() { - return `css ${this._identifier} ${this._identifierIndex}` - } + identifier() { + return `css ${this._identifier} ${this._identifierIndex}` + } - readableIdentifier(requestShortener) { - return `css ${requestShortener.shorten(this._identifier)}${ - this._identifierIndex ? ` (${this._identifierIndex})` : '' - }` - } + readableIdentifier(requestShortener) { + return `css ${requestShortener.shorten(this._identifier)}${ + this._identifierIndex ? ` (${this._identifierIndex})` : '' + }` + } - nameForCondition() { - const resource = this._identifier.split('!').pop() + nameForCondition() { + const resource = this._identifier.split('!').pop() - const idx = resource.indexOf('?') + const idx = resource.indexOf('?') - if (idx >= 0) { - return resource.substring(0, idx) + if (idx >= 0) { + return resource.substring(0, idx) + } + + return resource } - return resource - } + updateCacheModule(module) { + this.content = module.content + this.media = module.media + this.sourceMap = module.sourceMap + } - updateCacheModule(module) { - this.content = module.content - this.media = module.media - this.sourceMap = module.sourceMap - } + needRebuild() { + return true + } - needRebuild() { - return true - } + build(options, compilation, resolver, fileSystem, callback) { + this.buildInfo = {} + this.buildMeta = {} + callback() + } - build(options, compilation, resolver, fileSystem, callback) { - this.buildInfo = {} - this.buildMeta = {} - callback() + updateHash(hash, context) { + super.updateHash(hash, context) + hash.update(this.content) + hash.update(this.media || '') + hash.update(this.sourceMap ? JSON.stringify(this.sourceMap) : '') + } } - updateHash(hash, context) { - super.updateHash(hash, context) - hash.update(this.content) - hash.update(this.media || '') - hash.update(this.sourceMap ? JSON.stringify(this.sourceMap) : '') + if (isWebpack5) { + // @ts-ignore TODO: remove ts-ignore when webpack 5 is stable + webpack.util.serialization.register( + CssModule, + 'next/dist/build/webpack/plugins/mini-css-extract-plugin/src/CssModule', + null, + { + serialize(obj, { write }) { + write(obj.context) + write(obj._identifier) + write(obj._identifierIndex) + write(obj.content) + write(obj.media) + write(obj.sourceMap) + }, + deserialize({ read }) { + const obj = new CssModule({ + context: read(), + identifier: read(), + identifierIndex: read(), + content: read(), + media: read(), + sourceMap: read(), + }) + + return obj + }, + } + ) } -} - -const isWebpack5 = parseInt(webpack.version) === 5 - -if (isWebpack5) { - // @ts-ignore TODO: remove ts-ignore when webpack 5 is stable - webpack.util.serialization.register( - CssModule, - 'next/dist/build/webpack/plugins/mini-css-extract-plugin/src/CssModule', - null, - { - serialize(obj, { write }) { - write(obj.context) - write(obj._identifier) - write(obj._identifierIndex) - write(obj.content) - write(obj.media) - write(obj.sourceMap) - }, - deserialize({ read }) { - const obj = new CssModule({ - context: read(), - identifier: read(), - identifierIndex: read(), - content: read(), - media: read(), - sourceMap: read(), - }) - - return obj - }, - } - ) -} +}) -export default CssModule +export { CssModule as default } diff --git a/packages/next/build/webpack/plugins/mini-css-extract-plugin/src/index.js b/packages/next/build/webpack/plugins/mini-css-extract-plugin/src/index.js index 4f0ece4826a26..caa73ad20697a 100644 --- a/packages/next/build/webpack/plugins/mini-css-extract-plugin/src/index.js +++ b/packages/next/build/webpack/plugins/mini-css-extract-plugin/src/index.js @@ -1,19 +1,25 @@ /* eslint-disable class-methods-use-this */ -import webpack from 'webpack' +import webpack, { + isWebpack5, + onWebpackInit, +} from 'next/dist/compiled/webpack/webpack' import sources from 'webpack-sources' import CssDependency from './CssDependency' import CssModule from './CssModule' -const { ConcatSource, SourceMapSource, OriginalSource } = - webpack.sources || sources -const { - Template, - util: { createHash }, -} = webpack +let ConcatSource, SourceMapSource, OriginalSource, Template, createHash +onWebpackInit(function () { + ;({ ConcatSource, SourceMapSource, OriginalSource } = + webpack.sources || sources) + + ;({ + Template, + util: { createHash }, + } = webpack) +}) -const isWebpack5 = parseInt(webpack.version) === 5 const MODULE_TYPE = 'css/mini-extract' const pluginName = 'mini-css-extract-plugin' diff --git a/packages/next/build/webpack/plugins/mini-css-extract-plugin/src/loader.js b/packages/next/build/webpack/plugins/mini-css-extract-plugin/src/loader.js index 104497739266e..91f31a25bd11d 100644 --- a/packages/next/build/webpack/plugins/mini-css-extract-plugin/src/loader.js +++ b/packages/next/build/webpack/plugins/mini-css-extract-plugin/src/loader.js @@ -1,12 +1,13 @@ import NativeModule from 'module' import loaderUtils from 'loader-utils' -import webpack from 'webpack' -import NodeTargetPlugin from 'webpack/lib/node/NodeTargetPlugin' +import webpack, { + isWebpack5, + NodeTargetPlugin, +} from 'next/dist/compiled/webpack/webpack' import CssDependency from './CssDependency' -const isWebpack5 = parseInt(webpack.version) === 5 const pluginName = 'mini-css-extract-plugin' function evalModuleCode(loaderContext, code, filename) { diff --git a/packages/next/build/webpack/plugins/next-drop-client-page-plugin.ts b/packages/next/build/webpack/plugins/next-drop-client-page-plugin.ts index 3a746b34b1823..71488628f03d8 100644 --- a/packages/next/build/webpack/plugins/next-drop-client-page-plugin.ts +++ b/packages/next/build/webpack/plugins/next-drop-client-page-plugin.ts @@ -1,13 +1,8 @@ -import { - Compiler, - compilation as CompilationType, - Plugin, - version, -} from 'webpack' +// eslint-disable-next-line import/no-extraneous-dependencies +import type { Compiler, compilation as CompilationType, Plugin } from 'webpack' +import { isWebpack5 } from 'next/dist/compiled/webpack/webpack' import { STRING_LITERAL_DROP_BUNDLE } from '../../../next-server/lib/constants' -const isWebpack5 = parseInt(version!) === 5 - export const ampFirstEntryNamesMap: WeakMap< CompilationType.Compilation, string[] diff --git a/packages/next/build/webpack/plugins/nextjs-require-cache-hot-reloader.ts b/packages/next/build/webpack/plugins/nextjs-require-cache-hot-reloader.ts index 3d9276b253144..8ecfdb8db4053 100644 --- a/packages/next/build/webpack/plugins/nextjs-require-cache-hot-reloader.ts +++ b/packages/next/build/webpack/plugins/nextjs-require-cache-hot-reloader.ts @@ -1,9 +1,9 @@ -import { Compiler, Plugin, version } from 'webpack' +// eslint-disable-next-line import/no-extraneous-dependencies +import type { Compiler, Plugin } from 'webpack' +import { isWebpack5 } from 'next/dist/compiled/webpack/webpack' import { realpathSync } from 'fs' import path from 'path' -const isWebpack5 = parseInt(version!) === 5 - function deleteCache(filePath: string) { try { delete require.cache[realpathSync(filePath)] diff --git a/packages/next/build/webpack/plugins/nextjs-ssr-import.ts b/packages/next/build/webpack/plugins/nextjs-ssr-import.ts index a5aa5e81a97bf..7418aca5a4867 100644 --- a/packages/next/build/webpack/plugins/nextjs-ssr-import.ts +++ b/packages/next/build/webpack/plugins/nextjs-ssr-import.ts @@ -1,5 +1,6 @@ import { join, resolve, relative, dirname } from 'path' -import { Compiler } from 'webpack' +// eslint-disable-next-line import/no-extraneous-dependencies +import type { Compiler } from 'webpack' // This plugin modifies the require-ensure code generated by Webpack // to work with Next.js SSR diff --git a/packages/next/build/webpack/plugins/nextjs-ssr-module-cache.ts b/packages/next/build/webpack/plugins/nextjs-ssr-module-cache.ts index 9953a65780a61..bf2442b82b62e 100644 --- a/packages/next/build/webpack/plugins/nextjs-ssr-module-cache.ts +++ b/packages/next/build/webpack/plugins/nextjs-ssr-module-cache.ts @@ -1,11 +1,14 @@ -import webpack from 'webpack' +import webpack, { onWebpackInit } from 'next/dist/compiled/webpack/webpack' import sources from 'webpack-sources' import { join, relative, dirname } from 'path' import getRouteFromEntrypoint from '../../../next-server/server/get-route-from-entrypoint' const SSR_MODULE_CACHE_FILENAME = 'ssr-module-cache.js' // @ts-ignore: TODO: remove ignore when webpack 5 is stable -const { RawSource } = webpack.sources || sources +let RawSource: typeof sources.RawSource +onWebpackInit(function () { + ;({ RawSource } = (webpack as any).sources || sources) +}) // By default webpack keeps initialized modules per-module. // This means that if you have 2 entrypoints loaded into the same app diff --git a/packages/next/build/webpack/plugins/pages-manifest-plugin.ts b/packages/next/build/webpack/plugins/pages-manifest-plugin.ts index fbd5b332c4ded..108fbe1d59160 100644 --- a/packages/next/build/webpack/plugins/pages-manifest-plugin.ts +++ b/packages/next/build/webpack/plugins/pages-manifest-plugin.ts @@ -1,4 +1,9 @@ -import webpack, { Compiler, Plugin } from 'webpack' +// eslint-disable-next-line import/no-extraneous-dependencies +import type { Compiler, Plugin } from 'webpack' +import webpack, { + isWebpack5, + onWebpackInit, +} from 'next/dist/compiled/webpack/webpack' import sources from 'webpack-sources' import { PAGES_MANIFEST } from '../../../next-server/lib/constants' import getRouteFromEntrypoint from '../../../next-server/server/get-route-from-entrypoint' @@ -6,9 +11,10 @@ import getRouteFromEntrypoint from '../../../next-server/server/get-route-from-e export type PagesManifest = { [page: string]: string } // @ts-ignore: TODO: remove ignore when webpack 5 is stable -const { RawSource } = webpack.sources || sources - -const isWebpack5 = parseInt(webpack.version!) === 5 +let RawSource: typeof sources.RawSource +onWebpackInit(function () { + ;({ RawSource } = (webpack as any).sources || sources) +}) // This plugin creates a pages-manifest.json from page entrypoints. // This is used for mapping paths like `/` to `.next/server/static//pages/index.js` when doing SSR diff --git a/packages/next/build/webpack/plugins/react-loadable-plugin.ts b/packages/next/build/webpack/plugins/react-loadable-plugin.ts index c2f3400b4fa56..7fbd64dc0814e 100644 --- a/packages/next/build/webpack/plugins/react-loadable-plugin.ts +++ b/packages/next/build/webpack/plugins/react-loadable-plugin.ts @@ -22,6 +22,11 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWAR // Modified to strip out unneeded results for Next's specific use case import webpack, { + isWebpack5, + onWebpackInit, +} from 'next/dist/compiled/webpack/webpack' +// eslint-disable-next-line import/no-extraneous-dependencies +import type { // eslint-disable-next-line @typescript-eslint/no-unused-vars compilation as CompilationType, Compiler, @@ -29,9 +34,10 @@ import webpack, { import sources from 'webpack-sources' // @ts-ignore: TODO: remove ignore when webpack 5 is stable -const { RawSource } = webpack.sources || sources - -const isWebpack5 = parseInt(webpack.version!) === 5 +let RawSource: typeof sources.RawSource +onWebpackInit(function () { + ;({ RawSource } = (webpack as any).sources || sources) +}) function getModulesIterable(compilation: any, chunk: any) { if (isWebpack5) { diff --git a/packages/next/build/webpack/plugins/serverless-plugin.ts b/packages/next/build/webpack/plugins/serverless-plugin.ts index b8599ba772b91..20bf98c0f12e4 100644 --- a/packages/next/build/webpack/plugins/serverless-plugin.ts +++ b/packages/next/build/webpack/plugins/serverless-plugin.ts @@ -1,10 +1,6 @@ -import { Compiler } from 'webpack' -import webpack from 'webpack' -const isWebpack5 = parseInt(webpack.version!) === 5 - -const GraphHelpers = isWebpack5 - ? undefined - : require('webpack/lib/GraphHelpers') +// eslint-disable-next-line import/no-extraneous-dependencies +import type { Compiler } from 'webpack' +import { isWebpack5, GraphHelpers } from 'next/dist/compiled/webpack/webpack' /** * Makes sure there are no dynamic chunks when the target is serverless diff --git a/packages/next/build/webpack/plugins/terser-webpack-plugin/src/index.js b/packages/next/build/webpack/plugins/terser-webpack-plugin/src/index.js index d4d4edd3a1432..edc745893b323 100644 --- a/packages/next/build/webpack/plugins/terser-webpack-plugin/src/index.js +++ b/packages/next/build/webpack/plugins/terser-webpack-plugin/src/index.js @@ -1,7 +1,10 @@ // @ts-nocheck import * as path from 'path' - -import webpack, { ModuleFilenameHelpers, Compilation } from 'webpack' +import webpack, { + Compilation, + ModuleFilenameHelpers, + isWebpack5, +} from 'next/dist/compiled/webpack/webpack' import sources from 'webpack-sources' import pLimit from 'p-limit' import jestWorker from 'jest-worker' @@ -9,8 +12,6 @@ import crypto from 'crypto' import cacache from 'next/dist/compiled/cacache' import { tracer, traceAsyncFn } from '../../../../tracer' -const isWebpack5 = parseInt(webpack.version) === 5 - function getEcmaVersion(environment) { // ES 6th if ( diff --git a/packages/next/build/webpack/plugins/webpack-conformance-plugin/index.ts b/packages/next/build/webpack/plugins/webpack-conformance-plugin/index.ts index 58a096b762e35..8aaca01fa0709 100644 --- a/packages/next/build/webpack/plugins/webpack-conformance-plugin/index.ts +++ b/packages/next/build/webpack/plugins/webpack-conformance-plugin/index.ts @@ -1,7 +1,8 @@ // eslint-disable-next-line import/no-extraneous-dependencies import { NodePath } from 'ast-types/lib/node-path' import { visit } from 'next/dist/compiled/recast' -import { compilation as CompilationType, Compiler } from 'webpack' +// eslint-disable-next-line import/no-extraneous-dependencies +import type { compilation as CompilationType, Compiler } from 'webpack' import { IConformanceAnomaly, IConformanceTestResult, diff --git a/packages/next/build/webpack/plugins/wellknown-errors-plugin/index.ts b/packages/next/build/webpack/plugins/wellknown-errors-plugin/index.ts index 4e36cee1276d2..3c78bf0717019 100644 --- a/packages/next/build/webpack/plugins/wellknown-errors-plugin/index.ts +++ b/packages/next/build/webpack/plugins/wellknown-errors-plugin/index.ts @@ -1,4 +1,5 @@ -import { Compiler } from 'webpack' +// eslint-disable-next-line import/no-extraneous-dependencies +import type { Compiler } from 'webpack' import { getModuleBuildError } from './webpackModuleError' export class WellKnownErrorsPlugin { diff --git a/packages/next/build/webpack/plugins/wellknown-errors-plugin/webpackModuleError.ts b/packages/next/build/webpack/plugins/wellknown-errors-plugin/webpackModuleError.ts index 23dc367684861..08a6018e5bb8b 100644 --- a/packages/next/build/webpack/plugins/wellknown-errors-plugin/webpackModuleError.ts +++ b/packages/next/build/webpack/plugins/wellknown-errors-plugin/webpackModuleError.ts @@ -1,7 +1,7 @@ import { readFileSync } from 'fs' import * as path from 'path' -// eslint-disable-next-line @typescript-eslint/no-unused-vars -import { compilation as CompilationType } from 'webpack' +// eslint-disable-next-line import/no-extraneous-dependencies +import type { compilation as CompilationType } from 'webpack' import { getBabelError } from './parseBabel' import { getCssError } from './parseCss' import { getScssError } from './parseScss' diff --git a/packages/next/bundles/webpack/bundle4.js b/packages/next/bundles/webpack/bundle4.js new file mode 100644 index 0000000000000..998f393035414 --- /dev/null +++ b/packages/next/bundles/webpack/bundle4.js @@ -0,0 +1,11 @@ +/* eslint-disable import/no-extraneous-dependencies */ + +module.exports = function () { + return { + default: require('webpack'), + BasicEvaluatedExpression: require('webpack/lib/BasicEvaluatedExpression'), + NodeTargetPlugin: require('webpack/lib/node/NodeTargetPlugin'), + ModuleFilenameHelpers: require('webpack/lib/ModuleFilenameHelpers'), + GraphHelpers: require('webpack/lib/GraphHelpers'), + } +} diff --git a/packages/next/bundles/webpack/bundle5.js b/packages/next/bundles/webpack/bundle5.js new file mode 100644 index 0000000000000..482b76692a8a1 --- /dev/null +++ b/packages/next/bundles/webpack/bundle5.js @@ -0,0 +1,11 @@ +/* eslint-disable import/no-extraneous-dependencies */ + +module.exports = function () { + return { + default: require('webpack5'), + BasicEvaluatedExpression: require('webpack5/lib/javascript/BasicEvaluatedExpression'), + ModuleFilenameHelpers: require('webpack5/lib/ModuleFilenameHelpers'), + NodeTargetPlugin: require('webpack5/lib/node/NodeTargetPlugin'), + StringXor: require('webpack5/lib/util/StringXor'), + } +} diff --git a/packages/next/bundles/webpack/packages/webpack.js b/packages/next/bundles/webpack/packages/webpack.js new file mode 100644 index 0000000000000..c746f7b8ab978 --- /dev/null +++ b/packages/next/bundles/webpack/packages/webpack.js @@ -0,0 +1,26 @@ +exports.__esModule = true + +exports.isWebpack5 = false + +exports.default = undefined + +let initialized = false +let initFns = [] +exports.init = function (useWebpack5) { + if (useWebpack5) { + exports.isWebpack5 = true + Object.assign(exports, require('./bundle5')()) + initialized = true + for (const cb of initFns) cb() + } else { + exports.isWebpack5 = false + Object.assign(exports, require('./bundle4')()) + initialized = true + for (const cb of initFns) cb() + } +} + +exports.onWebpackInit = function (cb) { + if (initialized) cb() + initFns.push(cb) +} diff --git a/packages/next/compiled/postcss-flexbugs-fixes/index.js b/packages/next/compiled/postcss-flexbugs-fixes/index.js index 5d6d3da68ead8..22d6ab092c9bf 100644 --- a/packages/next/compiled/postcss-flexbugs-fixes/index.js +++ b/packages/next/compiled/postcss-flexbugs-fixes/index.js @@ -1 +1 @@ -module.exports=(()=>{var e={738:e=>{"use strict";e.exports=((e,t)=>{t=t||process.argv;const r=e.startsWith("-")?"":e.length===1?"-":"--";const n=t.indexOf(r+e);const i=t.indexOf("--");return n!==-1&&(i===-1?true:n{var n=r(802);function shouldSetZeroBasis(e){if(!e){return false}return e==="0"||e.replace(/\s/g,"")==="0px"}function properBasis(e){if(shouldSetZeroBasis(e)){return"0%"}return e}e.exports=function(e){if(e.prop==="flex"){var t=n.list.space(e.value);var r="0";var i="1";var s="0%";if(t[0]){r=t[0]}if(t[1]){if(!isNaN(t[1])){i=t[1]}else{s=t[1]}}if(t[2]){s=t[2]}e.value=r+" "+i+" "+properBasis(s)}}},94:(e,t,r)=>{var n=r(802);e.exports=function(e){if(e.prop==="flex"){var t=n.list.space(e.value);var r=t[0];var i=t[1]||"1";var s=t[2]||"0%";if(s==="0%")s=null;e.value=r+" "+i+(s?" "+s:"")}}},495:(e,t,r)=>{var n=r(802);e.exports=function(e){var t=/(\d{1,}) (\d{1,}) (calc\(.*\))/g;var r=t.exec(e.value);if(e.prop==="flex"&&r){var i=n.decl({prop:"flex-grow",value:r[1],source:e.source});var s=n.decl({prop:"flex-shrink",value:r[2],source:e.source});var o=n.decl({prop:"flex-basis",value:r[3],source:e.source});e.parent.insertBefore(e,i);e.parent.insertBefore(e,s);e.parent.insertBefore(e,o);e.remove()}}},937:(e,t,r)=>{var n=r(802);var i=r(125);var s=r(94);var o=r(495);var u=["none","auto","content","inherit","initial","unset"];e.exports=n.plugin("postcss-flexbugs-fixes",function(e){var t=Object.assign({bug4:true,bug6:true,bug81a:true},e);return function(e){e.walkDecls(function(e){if(e.value.indexOf("var(")>-1){return}if(e.value==="none"){return}var r=n.list.space(e.value);if(u.indexOf(e.value)>0&&r.length===1){return}if(t.bug4){i(e)}if(t.bug6){s(e)}if(t.bug81a){o(e)}})}})},917:(e,t,r)=>{"use strict";t.__esModule=true;t.default=void 0;var n=_interopRequireDefault(r(5));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}var i=function(e){_inheritsLoose(AtRule,e);function AtRule(t){var r;r=e.call(this,t)||this;r.type="atrule";return r}var t=AtRule.prototype;t.append=function append(){var t;if(!this.nodes)this.nodes=[];for(var r=arguments.length,n=new Array(r),i=0;i{"use strict";t.__esModule=true;t.default=void 0;var n=_interopRequireDefault(r(944));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}var i=function(e){_inheritsLoose(Comment,e);function Comment(t){var r;r=e.call(this,t)||this;r.type="comment";return r}return Comment}(n.default);var s=i;t.default=s;e.exports=t.default},5:(e,t,r)=>{"use strict";t.__esModule=true;t.default=void 0;var n=_interopRequireDefault(r(95));var i=_interopRequireDefault(r(711));var s=_interopRequireDefault(r(944));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,t){for(var r=0;r=u.length)break;l=u[f++]}else{f=u.next();if(f.done)break;l=f.value}var c=l;this.nodes.push(c)}}return this};t.prepend=function prepend(){for(var e=arguments.length,t=new Array(e),r=0;r=n.length)break;o=n[s++]}else{s=n.next();if(s.done)break;o=s.value}var u=o;var a=this.normalize(u,this.first,"prepend").reverse();for(var f=a,l=Array.isArray(f),c=0,f=l?f:f[Symbol.iterator]();;){var h;if(l){if(c>=f.length)break;h=f[c++]}else{c=f.next();if(c.done)break;h=c.value}var p=h;this.nodes.unshift(p)}for(var d in this.indexes){this.indexes[d]=this.indexes[d]+a.length}}return this};t.cleanRaws=function cleanRaws(t){e.prototype.cleanRaws.call(this,t);if(this.nodes){for(var r=this.nodes,n=Array.isArray(r),i=0,r=n?r:r[Symbol.iterator]();;){var s;if(n){if(i>=r.length)break;s=r[i++]}else{i=r.next();if(i.done)break;s=i.value}var o=s;o.cleanRaws(t)}}};t.insertBefore=function insertBefore(e,t){e=this.index(e);var r=e===0?"prepend":false;var n=this.normalize(t,this.nodes[e],r).reverse();for(var i=n,s=Array.isArray(i),o=0,i=s?i:i[Symbol.iterator]();;){var u;if(s){if(o>=i.length)break;u=i[o++]}else{o=i.next();if(o.done)break;u=o.value}var a=u;this.nodes.splice(e,0,a)}var f;for(var l in this.indexes){f=this.indexes[l];if(e<=f){this.indexes[l]=f+n.length}}return this};t.insertAfter=function insertAfter(e,t){e=this.index(e);var r=this.normalize(t,this.nodes[e]).reverse();for(var n=r,i=Array.isArray(n),s=0,n=i?n:n[Symbol.iterator]();;){var o;if(i){if(s>=n.length)break;o=n[s++]}else{s=n.next();if(s.done)break;o=s.value}var u=o;this.nodes.splice(e+1,0,u)}var a;for(var f in this.indexes){a=this.indexes[f];if(e=e){this.indexes[r]=t-1}}return this};t.removeAll=function removeAll(){for(var e=this.nodes,t=Array.isArray(e),r=0,e=t?e:e[Symbol.iterator]();;){var n;if(t){if(r>=e.length)break;n=e[r++]}else{r=e.next();if(r.done)break;n=r.value}var i=n;i.parent=undefined}this.nodes=[];return this};t.replaceValues=function replaceValues(e,t,r){if(!r){r=t;t={}}this.walkDecls(function(n){if(t.props&&t.props.indexOf(n.prop)===-1)return;if(t.fast&&n.value.indexOf(t.fast)===-1)return;n.value=n.value.replace(e,r)});return this};t.every=function every(e){return this.nodes.every(e)};t.some=function some(e){return this.nodes.some(e)};t.index=function index(e){if(typeof e==="number"){return e}return this.nodes.indexOf(e)};t.normalize=function normalize(e,t){var s=this;if(typeof e==="string"){var o=r(317);e=cleanSource(o(e).nodes)}else if(Array.isArray(e)){e=e.slice(0);for(var u=e,a=Array.isArray(u),f=0,u=a?u:u[Symbol.iterator]();;){var l;if(a){if(f>=u.length)break;l=u[f++]}else{f=u.next();if(f.done)break;l=f.value}var c=l;if(c.parent)c.parent.removeChild(c,"ignore")}}else if(e.type==="root"){e=e.nodes.slice(0);for(var h=e,p=Array.isArray(h),d=0,h=p?h:h[Symbol.iterator]();;){var v;if(p){if(d>=h.length)break;v=h[d++]}else{d=h.next();if(d.done)break;v=d.value}var w=v;if(w.parent)w.parent.removeChild(w,"ignore")}}else if(e.type){e=[e]}else if(e.prop){if(typeof e.value==="undefined"){throw new Error("Value field is missed in node creation")}else if(typeof e.value!=="string"){e.value=String(e.value)}e=[new n.default(e)]}else if(e.selector){var m=r(4);e=[new m(e)]}else if(e.name){var g=r(917);e=[new g(e)]}else if(e.text){e=[new i.default(e)]}else{throw new Error("Unknown node type in node creation")}var y=e.map(function(e){if(e.parent)e.parent.removeChild(e);if(typeof e.raws.before==="undefined"){if(t&&typeof t.raws.before!=="undefined"){e.raws.before=t.raws.before.replace(/[^\s]/g,"")}}e.parent=s;return e});return y};_createClass(Container,[{key:"first",get:function get(){if(!this.nodes)return undefined;return this.nodes[0]}},{key:"last",get:function get(){if(!this.nodes)return undefined;return this.nodes[this.nodes.length-1]}}]);return Container}(s.default);var u=o;t.default=u;e.exports=t.default},610:(e,t,r)=>{"use strict";t.__esModule=true;t.default=void 0;var n=_interopRequireDefault(r(736));var i=_interopRequireDefault(r(242));var s=_interopRequireDefault(r(526));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _assertThisInitialized(e){if(e===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}function _wrapNativeSuper(e){var t=typeof Map==="function"?new Map:undefined;_wrapNativeSuper=function _wrapNativeSuper(e){if(e===null||!_isNativeFunction(e))return e;if(typeof e!=="function"){throw new TypeError("Super expression must either be null or a function")}if(typeof t!=="undefined"){if(t.has(e))return t.get(e);t.set(e,Wrapper)}function Wrapper(){return _construct(e,arguments,_getPrototypeOf(this).constructor)}Wrapper.prototype=Object.create(e.prototype,{constructor:{value:Wrapper,enumerable:false,writable:true,configurable:true}});return _setPrototypeOf(Wrapper,e)};return _wrapNativeSuper(e)}function isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Date.prototype.toString.call(Reflect.construct(Date,[],function(){}));return true}catch(e){return false}}function _construct(e,t,r){if(isNativeReflectConstruct()){_construct=Reflect.construct}else{_construct=function _construct(e,t,r){var n=[null];n.push.apply(n,t);var i=Function.bind.apply(e,n);var s=new i;if(r)_setPrototypeOf(s,r.prototype);return s}}return _construct.apply(null,arguments)}function _isNativeFunction(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function _setPrototypeOf(e,t){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(e,t){e.__proto__=t;return e};return _setPrototypeOf(e,t)}function _getPrototypeOf(e){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(e){return e.__proto__||Object.getPrototypeOf(e)};return _getPrototypeOf(e)}var o=function(e){_inheritsLoose(CssSyntaxError,e);function CssSyntaxError(t,r,n,i,s,o){var u;u=e.call(this,t)||this;u.name="CssSyntaxError";u.reason=t;if(s){u.file=s}if(i){u.source=i}if(o){u.plugin=o}if(typeof r!=="undefined"&&typeof n!=="undefined"){u.line=r;u.column=n}u.setMessage();if(Error.captureStackTrace){Error.captureStackTrace(_assertThisInitialized(u),CssSyntaxError)}return u}var t=CssSyntaxError.prototype;t.setMessage=function setMessage(){this.message=this.plugin?this.plugin+": ":"";this.message+=this.file?this.file:"";if(typeof this.line!=="undefined"){this.message+=":"+this.line+":"+this.column}this.message+=": "+this.reason};t.showSourceCode=function showSourceCode(e){var t=this;if(!this.source)return"";var r=this.source;if(s.default){if(typeof e==="undefined")e=n.default.stdout;if(e)r=(0,s.default)(r)}var o=r.split(/\r?\n/);var u=Math.max(this.line-3,0);var a=Math.min(this.line+2,o.length);var f=String(a).length;function mark(t){if(e&&i.default.red){return i.default.red.bold(t)}return t}function aside(t){if(e&&i.default.gray){return i.default.gray(t)}return t}return o.slice(u,a).map(function(e,r){var n=u+1+r;var i=" "+(" "+n).slice(-f)+" | ";if(n===t.line){var s=aside(i.replace(/\d/g," "))+e.slice(0,t.column-1).replace(/[^\t]/g," ");return mark(">")+aside(i)+e+"\n "+s+mark("^")}return" "+aside(i)+e}).join("\n")};t.toString=function toString(){var e=this.showSourceCode();if(e){e="\n\n"+e+"\n"}return this.name+": "+this.message+e};return CssSyntaxError}(_wrapNativeSuper(Error));var u=o;t.default=u;e.exports=t.default},95:(e,t,r)=>{"use strict";t.__esModule=true;t.default=void 0;var n=_interopRequireDefault(r(944));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}var i=function(e){_inheritsLoose(Declaration,e);function Declaration(t){var r;r=e.call(this,t)||this;r.type="decl";return r}return Declaration}(n.default);var s=i;t.default=s;e.exports=t.default},508:(e,t,r)=>{"use strict";t.__esModule=true;t.default=void 0;var n=_interopRequireDefault(r(622));var i=_interopRequireDefault(r(610));var s=_interopRequireDefault(r(487));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,t){for(var r=0;r"}if(this.map)this.map.file=this.from}var e=Input.prototype;e.error=function error(e,t,r,n){if(n===void 0){n={}}var s;var o=this.origin(t,r);if(o){s=new i.default(e,o.line,o.column,o.source,o.file,n.plugin)}else{s=new i.default(e,t,r,this.css,this.file,n.plugin)}s.input={line:t,column:r,source:this.css};if(this.file)s.input.file=this.file;return s};e.origin=function origin(e,t){if(!this.map)return false;var r=this.map.consumer();var n=r.originalPositionFor({line:e,column:t});if(!n.source)return false;var i={file:this.mapResolve(n.source),line:n.line,column:n.column};var s=r.sourceContentFor(n.source);if(s)i.source=s;return i};e.mapResolve=function mapResolve(e){if(/^\w+:\/\//.test(e)){return e}return n.default.resolve(this.map.consumer().sourceRoot||".",e)};_createClass(Input,[{key:"from",get:function get(){return this.file||this.id}}]);return Input}();var a=u;t.default=a;e.exports=t.default},338:(e,t,r)=>{"use strict";t.__esModule=true;t.default=void 0;var n=_interopRequireDefault(r(966));var i=_interopRequireDefault(r(880));var s=_interopRequireDefault(r(759));var o=_interopRequireDefault(r(446));var u=_interopRequireDefault(r(317));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,t){for(var r=0;rparseInt(o[1])){console.error("Unknown error from PostCSS plugin. Your current PostCSS "+"version is "+i+", but "+r+" uses "+n+". Perhaps this is the source of the error below.")}}}}catch(e){if(console&&console.error)console.error(e)}};e.asyncTick=function asyncTick(e,t){var r=this;if(this.plugin>=this.processor.plugins.length){this.processed=true;return e()}try{var n=this.processor.plugins[this.plugin];var i=this.run(n);this.plugin+=1;if(isPromise(i)){i.then(function(){r.asyncTick(e,t)}).catch(function(e){r.handleError(e,n);r.processed=true;t(e)})}else{this.asyncTick(e,t)}}catch(e){this.processed=true;t(e)}};e.async=function async(){var e=this;if(this.processed){return new Promise(function(t,r){if(e.error){r(e.error)}else{t(e.stringify())}})}if(this.processing){return this.processing}this.processing=new Promise(function(t,r){if(e.error)return r(e.error);e.plugin=0;e.asyncTick(t,r)}).then(function(){e.processed=true;return e.stringify()});return this.processing};e.sync=function sync(){if(this.processed)return this.result;this.processed=true;if(this.processing){throw new Error("Use process(css).then(cb) to work with async plugins")}if(this.error)throw this.error;for(var e=this.result.processor.plugins,t=Array.isArray(e),r=0,e=t?e:e[Symbol.iterator]();;){var n;if(t){if(r>=e.length)break;n=e[r++]}else{r=e.next();if(r.done)break;n=r.value}var i=n;var s=this.run(i);if(isPromise(s)){throw new Error("Use process(css).then(cb) to work with async plugins")}}return this.result};e.run=function run(e){this.result.lastPlugin=e;try{return e(this.result.root,this.result)}catch(t){this.handleError(t,e);throw t}};e.stringify=function stringify(){if(this.stringified)return this.result;this.stringified=true;this.sync();var e=this.result.opts;var t=i.default;if(e.syntax)t=e.syntax.stringify;if(e.stringifier)t=e.stringifier;if(t.stringify)t=t.stringify;var r=new n.default(t,this.result.root,this.result.opts);var s=r.generate();this.result.css=s[0];this.result.map=s[1];return this.result};_createClass(LazyResult,[{key:"processor",get:function get(){return this.result.processor}},{key:"opts",get:function get(){return this.result.opts}},{key:"css",get:function get(){return this.stringify().css}},{key:"content",get:function get(){return this.stringify().content}},{key:"map",get:function get(){return this.stringify().map}},{key:"root",get:function get(){return this.sync().root}},{key:"messages",get:function get(){return this.sync().messages}}]);return LazyResult}();var f=a;t.default=f;e.exports=t.default},315:(e,t)=>{"use strict";t.__esModule=true;t.default=void 0;var r={split:function split(e,t,r){var n=[];var i="";var split=false;var s=0;var o=false;var u=false;for(var a=0;a0)s-=1}else if(s===0){if(t.indexOf(f)!==-1)split=true}if(split){if(i!=="")n.push(i.trim());i="";split=false}else{i+=f}}if(r||i!=="")n.push(i.trim());return n},space:function space(e){var t=[" ","\n","\t"];return r.split(e,t)},comma:function comma(e){return r.split(e,[","],true)}};var n=r;t.default=n;e.exports=t.default},966:(e,t,r)=>{"use strict";t.__esModule=true;t.default=void 0;var n=_interopRequireDefault(r(241));var i=_interopRequireDefault(r(622));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var s=function(){function MapGenerator(e,t,r){this.stringify=e;this.mapOpts=r.map||{};this.root=t;this.opts=r}var e=MapGenerator.prototype;e.isMap=function isMap(){if(typeof this.opts.map!=="undefined"){return!!this.opts.map}return this.previous().length>0};e.previous=function previous(){var e=this;if(!this.previousMaps){this.previousMaps=[];this.root.walk(function(t){if(t.source&&t.source.input.map){var r=t.source.input.map;if(e.previousMaps.indexOf(r)===-1){e.previousMaps.push(r)}}})}return this.previousMaps};e.isInline=function isInline(){if(typeof this.mapOpts.inline!=="undefined"){return this.mapOpts.inline}var e=this.mapOpts.annotation;if(typeof e!=="undefined"&&e!==true){return false}if(this.previous().length){return this.previous().some(function(e){return e.inline})}return true};e.isSourcesContent=function isSourcesContent(){if(typeof this.mapOpts.sourcesContent!=="undefined"){return this.mapOpts.sourcesContent}if(this.previous().length){return this.previous().some(function(e){return e.withContent()})}return true};e.clearAnnotation=function clearAnnotation(){if(this.mapOpts.annotation===false)return;var e;for(var t=this.root.nodes.length-1;t>=0;t--){e=this.root.nodes[t];if(e.type!=="comment")continue;if(e.text.indexOf("# sourceMappingURL=")===0){this.root.removeChild(t)}}};e.setSourcesContent=function setSourcesContent(){var e=this;var t={};this.root.walk(function(r){if(r.source){var n=r.source.input.from;if(n&&!t[n]){t[n]=true;var i=e.relative(n);e.map.setSourceContent(i,r.source.input.css)}}})};e.applyPrevMaps=function applyPrevMaps(){for(var e=this.previous(),t=Array.isArray(e),r=0,e=t?e:e[Symbol.iterator]();;){var s;if(t){if(r>=e.length)break;s=e[r++]}else{r=e.next();if(r.done)break;s=r.value}var o=s;var u=this.relative(o.file);var a=o.root||i.default.dirname(o.file);var f=void 0;if(this.mapOpts.sourcesContent===false){f=new n.default.SourceMapConsumer(o.text);if(f.sourcesContent){f.sourcesContent=f.sourcesContent.map(function(){return null})}}else{f=o.consumer()}this.map.applySourceMap(f,u,this.relative(a))}};e.isAnnotation=function isAnnotation(){if(this.isInline()){return true}if(typeof this.mapOpts.annotation!=="undefined"){return this.mapOpts.annotation}if(this.previous().length){return this.previous().some(function(e){return e.annotation})}return true};e.toBase64=function toBase64(e){if(Buffer){return Buffer.from(e).toString("base64")}return window.btoa(unescape(encodeURIComponent(e)))};e.addAnnotation=function addAnnotation(){var e;if(this.isInline()){e="data:application/json;base64,"+this.toBase64(this.map.toString())}else if(typeof this.mapOpts.annotation==="string"){e=this.mapOpts.annotation}else{e=this.outputFile()+".map"}var t="\n";if(this.css.indexOf("\r\n")!==-1)t="\r\n";this.css+=t+"/*# sourceMappingURL="+e+" */"};e.outputFile=function outputFile(){if(this.opts.to){return this.relative(this.opts.to)}if(this.opts.from){return this.relative(this.opts.from)}return"to.css"};e.generateMap=function generateMap(){this.generateString();if(this.isSourcesContent())this.setSourcesContent();if(this.previous().length>0)this.applyPrevMaps();if(this.isAnnotation())this.addAnnotation();if(this.isInline()){return[this.css]}return[this.css,this.map]};e.relative=function relative(e){if(e.indexOf("<")===0)return e;if(/^\w+:\/\//.test(e))return e;var t=this.opts.to?i.default.dirname(this.opts.to):".";if(typeof this.mapOpts.annotation==="string"){t=i.default.dirname(i.default.resolve(t,this.mapOpts.annotation))}e=i.default.relative(t,e);if(i.default.sep==="\\"){return e.replace(/\\/g,"/")}return e};e.sourcePath=function sourcePath(e){if(this.mapOpts.from){return this.mapOpts.from}return this.relative(e.source.input.from)};e.generateString=function generateString(){var e=this;this.css="";this.map=new n.default.SourceMapGenerator({file:this.outputFile()});var t=1;var r=1;var i,s;this.stringify(this.root,function(n,o,u){e.css+=n;if(o&&u!=="end"){if(o.source&&o.source.start){e.map.addMapping({source:e.sourcePath(o),generated:{line:t,column:r-1},original:{line:o.source.start.line,column:o.source.start.column-1}})}else{e.map.addMapping({source:"",original:{line:1,column:0},generated:{line:t,column:r-1}})}}i=n.match(/\n/g);if(i){t+=i.length;s=n.lastIndexOf("\n");r=n.length-s}else{r+=n.length}if(o&&u!=="start"){var a=o.parent||{raws:{}};if(o.type!=="decl"||o!==a.last||a.raws.semicolon){if(o.source&&o.source.end){e.map.addMapping({source:e.sourcePath(o),generated:{line:t,column:r-2},original:{line:o.source.end.line,column:o.source.end.column-1}})}else{e.map.addMapping({source:"",original:{line:1,column:0},generated:{line:t,column:r-1}})}}}})};e.generate=function generate(){this.clearAnnotation();if(this.isMap()){return this.generateMap()}var e="";this.stringify(this.root,function(t){e+=t});return[e]};return MapGenerator}();var o=s;t.default=o;e.exports=t.default},944:(e,t,r)=>{"use strict";t.__esModule=true;t.default=void 0;var n=_interopRequireDefault(r(610));var i=_interopRequireDefault(r(224));var s=_interopRequireDefault(r(880));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function cloneNode(e,t){var r=new e.constructor;for(var n in e){if(!e.hasOwnProperty(n))continue;var i=e[n];var s=typeof i;if(n==="parent"&&s==="object"){if(t)r[n]=t}else if(n==="source"){r[n]=i}else if(i instanceof Array){r[n]=i.map(function(e){return cloneNode(e,r)})}else{if(s==="object"&&i!==null)i=cloneNode(i);r[n]=i}}return r}var o=function(){function Node(e){if(e===void 0){e={}}this.raws={};if(process.env.NODE_ENV!=="production"){if(typeof e!=="object"&&typeof e!=="undefined"){throw new Error("PostCSS nodes constructor accepts object, not "+JSON.stringify(e))}}for(var t in e){this[t]=e[t]}}var e=Node.prototype;e.error=function error(e,t){if(t===void 0){t={}}if(this.source){var r=this.positionBy(t);return this.source.input.error(e,r.line,r.column,t)}return new n.default(e)};e.warn=function warn(e,t,r){var n={node:this};for(var i in r){n[i]=r[i]}return e.warn(t,n)};e.remove=function remove(){if(this.parent){this.parent.removeChild(this)}this.parent=undefined;return this};e.toString=function toString(e){if(e===void 0){e=s.default}if(e.stringify)e=e.stringify;var t="";e(this,function(e){t+=e});return t};e.clone=function clone(e){if(e===void 0){e={}}var t=cloneNode(this);for(var r in e){t[r]=e[r]}return t};e.cloneBefore=function cloneBefore(e){if(e===void 0){e={}}var t=this.clone(e);this.parent.insertBefore(this,t);return t};e.cloneAfter=function cloneAfter(e){if(e===void 0){e={}}var t=this.clone(e);this.parent.insertAfter(this,t);return t};e.replaceWith=function replaceWith(){if(this.parent){for(var e=arguments.length,t=new Array(e),r=0;r{"use strict";t.__esModule=true;t.default=void 0;var n=_interopRequireDefault(r(760));var i=_interopRequireDefault(r(508));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function parse(e,t){var r=new i.default(e,t);var s=new n.default(r);try{s.parse()}catch(e){if(process.env.NODE_ENV!=="production"){if(e.name==="CssSyntaxError"&&t&&t.from){if(/\.scss$/i.test(t.from)){e.message+="\nYou tried to parse SCSS with "+"the standard CSS parser; "+"try again with the postcss-scss parser"}else if(/\.sass/i.test(t.from)){e.message+="\nYou tried to parse Sass with "+"the standard CSS parser; "+"try again with the postcss-sass parser"}else if(/\.less$/i.test(t.from)){e.message+="\nYou tried to parse Less with "+"the standard CSS parser; "+"try again with the postcss-less parser"}}}throw e}return s.root}var s=parse;t.default=s;e.exports=t.default},760:(e,t,r)=>{"use strict";t.__esModule=true;t.default=void 0;var n=_interopRequireDefault(r(95));var i=_interopRequireDefault(r(918));var s=_interopRequireDefault(r(711));var o=_interopRequireDefault(r(917));var u=_interopRequireDefault(r(659));var a=_interopRequireDefault(r(4));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var f=function(){function Parser(e){this.input=e;this.root=new u.default;this.current=this.root;this.spaces="";this.semicolon=false;this.createTokenizer();this.root.source={input:e,start:{line:1,column:1}}}var e=Parser.prototype;e.createTokenizer=function createTokenizer(){this.tokenizer=(0,i.default)(this.input)};e.parse=function parse(){var e;while(!this.tokenizer.endOfFile()){e=this.tokenizer.nextToken();switch(e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}}this.endFile()};e.comment=function comment(e){var t=new s.default;this.init(t,e[2],e[3]);t.source.end={line:e[4],column:e[5]};var r=e[1].slice(2,-2);if(/^\s*$/.test(r)){t.text="";t.raws.left=r;t.raws.right=""}else{var n=r.match(/^(\s*)([^]*[^\s])(\s*)$/);t.text=n[2];t.raws.left=n[1];t.raws.right=n[3]}};e.emptyRule=function emptyRule(e){var t=new a.default;this.init(t,e[2],e[3]);t.selector="";t.raws.between="";this.current=t};e.other=function other(e){var t=false;var r=null;var n=false;var i=null;var s=[];var o=[];var u=e;while(u){r=u[0];o.push(u);if(r==="("||r==="["){if(!i)i=u;s.push(r==="("?")":"]")}else if(s.length===0){if(r===";"){if(n){this.decl(o);return}else{break}}else if(r==="{"){this.rule(o);return}else if(r==="}"){this.tokenizer.back(o.pop());t=true;break}else if(r===":"){n=true}}else if(r===s[s.length-1]){s.pop();if(s.length===0)i=null}u=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile())t=true;if(s.length>0)this.unclosedBracket(i);if(t&&n){while(o.length){u=o[o.length-1][0];if(u!=="space"&&u!=="comment")break;this.tokenizer.back(o.pop())}this.decl(o)}else{this.unknownWord(o)}};e.rule=function rule(e){e.pop();var t=new a.default;this.init(t,e[0][2],e[0][3]);t.raws.between=this.spacesAndCommentsFromEnd(e);this.raw(t,"selector",e);this.current=t};e.decl=function decl(e){var t=new n.default;this.init(t);var r=e[e.length-1];if(r[0]===";"){this.semicolon=true;e.pop()}if(r[4]){t.source.end={line:r[4],column:r[5]}}else{t.source.end={line:r[2],column:r[3]}}while(e[0][0]!=="word"){if(e.length===1)this.unknownWord(e);t.raws.before+=e.shift()[1]}t.source.start={line:e[0][2],column:e[0][3]};t.prop="";while(e.length){var i=e[0][0];if(i===":"||i==="space"||i==="comment"){break}t.prop+=e.shift()[1]}t.raws.between="";var s;while(e.length){s=e.shift();if(s[0]===":"){t.raws.between+=s[1];break}else{if(s[0]==="word"&&/\w/.test(s[1])){this.unknownWord([s])}t.raws.between+=s[1]}}if(t.prop[0]==="_"||t.prop[0]==="*"){t.raws.before+=t.prop[0];t.prop=t.prop.slice(1)}t.raws.between+=this.spacesAndCommentsFromStart(e);this.precheckMissedSemicolon(e);for(var o=e.length-1;o>0;o--){s=e[o];if(s[1].toLowerCase()==="!important"){t.important=true;var u=this.stringFrom(e,o);u=this.spacesFromEnd(e)+u;if(u!==" !important")t.raws.important=u;break}else if(s[1].toLowerCase()==="important"){var a=e.slice(0);var f="";for(var l=o;l>0;l--){var c=a[l][0];if(f.trim().indexOf("!")===0&&c!=="space"){break}f=a.pop()[1]+f}if(f.trim().indexOf("!")===0){t.important=true;t.raws.important=f;e=a}}if(s[0]!=="space"&&s[0]!=="comment"){break}}this.raw(t,"value",e);if(t.value.indexOf(":")!==-1)this.checkMissedSemicolon(e)};e.atrule=function atrule(e){var t=new o.default;t.name=e[1].slice(1);if(t.name===""){this.unnamedAtrule(t,e)}this.init(t,e[2],e[3]);var r;var n;var i=false;var s=false;var u=[];while(!this.tokenizer.endOfFile()){e=this.tokenizer.nextToken();if(e[0]===";"){t.source.end={line:e[2],column:e[3]};this.semicolon=true;break}else if(e[0]==="{"){s=true;break}else if(e[0]==="}"){if(u.length>0){n=u.length-1;r=u[n];while(r&&r[0]==="space"){r=u[--n]}if(r){t.source.end={line:r[4],column:r[5]}}}this.end(e);break}else{u.push(e)}if(this.tokenizer.endOfFile()){i=true;break}}t.raws.between=this.spacesAndCommentsFromEnd(u);if(u.length){t.raws.afterName=this.spacesAndCommentsFromStart(u);this.raw(t,"params",u);if(i){e=u[u.length-1];t.source.end={line:e[4],column:e[5]};this.spaces=t.raws.between;t.raws.between=""}}else{t.raws.afterName="";t.params=""}if(s){t.nodes=[];this.current=t}};e.end=function end(e){if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.semicolon=false;this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.spaces="";if(this.current.parent){this.current.source.end={line:e[2],column:e[3]};this.current=this.current.parent}else{this.unexpectedClose(e)}};e.endFile=function endFile(){if(this.current.parent)this.unclosedBlock();if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.current.raws.after=(this.current.raws.after||"")+this.spaces};e.freeSemicolon=function freeSemicolon(e){this.spaces+=e[1];if(this.current.nodes){var t=this.current.nodes[this.current.nodes.length-1];if(t&&t.type==="rule"&&!t.raws.ownSemicolon){t.raws.ownSemicolon=this.spaces;this.spaces=""}}};e.init=function init(e,t,r){this.current.push(e);e.source={start:{line:t,column:r},input:this.input};e.raws.before=this.spaces;this.spaces="";if(e.type!=="comment")this.semicolon=false};e.raw=function raw(e,t,r){var n,i;var s=r.length;var o="";var u=true;var a,f;var l=/^([.|#])?([\w])+/i;for(var c=0;c=0;i--){n=e[i];if(n[0]!=="space"){r+=1;if(r===2)break}}throw this.input.error("Missed semicolon",n[2],n[3])};return Parser}();t.default=f;e.exports=t.default},802:(e,t,r)=>{"use strict";t.__esModule=true;t.default=void 0;var n=_interopRequireDefault(r(95));var i=_interopRequireDefault(r(65));var s=_interopRequireDefault(r(880));var o=_interopRequireDefault(r(711));var u=_interopRequireDefault(r(917));var a=_interopRequireDefault(r(870));var f=_interopRequireDefault(r(317));var l=_interopRequireDefault(r(315));var c=_interopRequireDefault(r(4));var h=_interopRequireDefault(r(659));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function postcss(){for(var e=arguments.length,t=new Array(e),r=0;r{"use strict";t.__esModule=true;t.default=void 0;var n=_interopRequireDefault(r(241));var i=_interopRequireDefault(r(622));var s=_interopRequireDefault(r(747));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function fromBase64(e){if(Buffer){return Buffer.from(e,"base64").toString()}else{return window.atob(e)}}var o=function(){function PreviousMap(e,t){this.loadAnnotation(e);this.inline=this.startWith(this.annotation,"data:");var r=t.map?t.map.prev:undefined;var n=this.loadMap(t.from,r);if(n)this.text=n}var e=PreviousMap.prototype;e.consumer=function consumer(){if(!this.consumerCache){this.consumerCache=new n.default.SourceMapConsumer(this.text)}return this.consumerCache};e.withContent=function withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)};e.startWith=function startWith(e,t){if(!e)return false;return e.substr(0,t.length)===t};e.getAnnotationURL=function getAnnotationURL(e){return e.match(/\/\*\s*# sourceMappingURL=(.*)\s*\*\//)[1].trim()};e.loadAnnotation=function loadAnnotation(e){var t=e.match(/\/\*\s*# sourceMappingURL=(.*)\s*\*\//gm);if(t&&t.length>0){var r=t[t.length-1];if(r){this.annotation=this.getAnnotationURL(r)}}};e.decodeInline=function decodeInline(e){var t=/^data:application\/json;charset=utf-?8;base64,/;var r=/^data:application\/json;base64,/;var n="data:application/json,";if(this.startWith(e,n)){return decodeURIComponent(e.substr(n.length))}if(t.test(e)||r.test(e)){return fromBase64(e.substr(RegExp.lastMatch.length))}var i=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+i)};e.loadMap=function loadMap(e,t){if(t===false)return false;if(t){if(typeof t==="string"){return t}else if(typeof t==="function"){var r=t(e);if(r&&s.default.existsSync&&s.default.existsSync(r)){return s.default.readFileSync(r,"utf-8").toString().trim()}else{throw new Error("Unable to load previous source map: "+r.toString())}}else if(t instanceof n.default.SourceMapConsumer){return n.default.SourceMapGenerator.fromSourceMap(t).toString()}else if(t instanceof n.default.SourceMapGenerator){return t.toString()}else if(this.isMap(t)){return JSON.stringify(t)}else{throw new Error("Unsupported previous source map format: "+t.toString())}}else if(this.inline){return this.decodeInline(this.annotation)}else if(this.annotation){var o=this.annotation;if(e)o=i.default.join(i.default.dirname(e),o);this.root=i.default.dirname(o);if(s.default.existsSync&&s.default.existsSync(o)){return s.default.readFileSync(o,"utf-8").toString().trim()}else{return false}}};e.isMap=function isMap(e){if(typeof e!=="object")return false;return typeof e.mappings==="string"||typeof e._mappings==="string"};return PreviousMap}();var u=o;t.default=u;e.exports=t.default},65:(e,t,r)=>{"use strict";t.__esModule=true;t.default=void 0;var n=_interopRequireDefault(r(338));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=function(){function Processor(e){if(e===void 0){e=[]}this.version="7.0.32";this.plugins=this.normalize(e)}var e=Processor.prototype;e.use=function use(e){this.plugins=this.plugins.concat(this.normalize([e]));return this};e.process=function(e){function process(t){return e.apply(this,arguments)}process.toString=function(){return e.toString()};return process}(function(e,t){if(t===void 0){t={}}if(this.plugins.length===0&&t.parser===t.stringifier){if(process.env.NODE_ENV!=="production"){if(typeof console!=="undefined"&&console.warn){console.warn("You did not set any plugins, parser, or stringifier. "+"Right now, PostCSS does nothing. Pick plugins for your case "+"on https://www.postcss.parts/ and use them in postcss.config.js.")}}}return new n.default(this,e,t)});e.normalize=function normalize(e){var t=[];for(var r=e,n=Array.isArray(r),i=0,r=n?r:r[Symbol.iterator]();;){var s;if(n){if(i>=r.length)break;s=r[i++]}else{i=r.next();if(i.done)break;s=i.value}var o=s;if(o.postcss)o=o.postcss;if(typeof o==="object"&&Array.isArray(o.plugins)){t=t.concat(o.plugins)}else if(typeof o==="function"){t.push(o)}else if(typeof o==="object"&&(o.parse||o.stringify)){if(process.env.NODE_ENV!=="production"){throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use "+"one of the syntax/parser/stringifier options as outlined "+"in your PostCSS runner documentation.")}}else{throw new Error(o+" is not a PostCSS plugin")}}return t};return Processor}();var s=i;t.default=s;e.exports=t.default},446:(e,t,r)=>{"use strict";t.__esModule=true;t.default=void 0;var n=_interopRequireDefault(r(325));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,t){for(var r=0;r{"use strict";t.__esModule=true;t.default=void 0;var n=_interopRequireDefault(r(5));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}var i=function(e){_inheritsLoose(Root,e);function Root(t){var r;r=e.call(this,t)||this;r.type="root";if(!r.nodes)r.nodes=[];return r}var t=Root.prototype;t.removeChild=function removeChild(t,r){var n=this.index(t);if(!r&&n===0&&this.nodes.length>1){this.nodes[1].raws.before=this.nodes[n].raws.before}return e.prototype.removeChild.call(this,t)};t.normalize=function normalize(t,r,n){var i=e.prototype.normalize.call(this,t);if(r){if(n==="prepend"){if(this.nodes.length>1){r.raws.before=this.nodes[1].raws.before}else{delete r.raws.before}}else if(this.first!==r){for(var s=i,o=Array.isArray(s),u=0,s=o?s:s[Symbol.iterator]();;){var a;if(o){if(u>=s.length)break;a=s[u++]}else{u=s.next();if(u.done)break;a=u.value}var f=a;f.raws.before=r.raws.before}}}return i};t.toResult=function toResult(e){if(e===void 0){e={}}var t=r(338);var n=r(65);var i=new t(new n,this,e);return i.stringify()};return Root}(n.default);var s=i;t.default=s;e.exports=t.default},4:(e,t,r)=>{"use strict";t.__esModule=true;t.default=void 0;var n=_interopRequireDefault(r(5));var i=_interopRequireDefault(r(315));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,t){for(var r=0;r{"use strict";t.__esModule=true;t.default=void 0;var r={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:false};function capitalize(e){return e[0].toUpperCase()+e.slice(1)}var n=function(){function Stringifier(e){this.builder=e}var e=Stringifier.prototype;e.stringify=function stringify(e,t){this[e.type](e,t)};e.root=function root(e){this.body(e);if(e.raws.after)this.builder(e.raws.after)};e.comment=function comment(e){var t=this.raw(e,"left","commentLeft");var r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)};e.decl=function decl(e,t){var r=this.raw(e,"between","colon");var n=e.prop+r+this.rawValue(e,"value");if(e.important){n+=e.raws.important||" !important"}if(t)n+=";";this.builder(n,e)};e.rule=function rule(e){this.block(e,this.rawValue(e,"selector"));if(e.raws.ownSemicolon){this.builder(e.raws.ownSemicolon,e,"end")}};e.atrule=function atrule(e,t){var r="@"+e.name;var n=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName!=="undefined"){r+=e.raws.afterName}else if(n){r+=" "}if(e.nodes){this.block(e,r+n)}else{var i=(e.raws.between||"")+(t?";":"");this.builder(r+n+i,e)}};e.body=function body(e){var t=e.nodes.length-1;while(t>0){if(e.nodes[t].type!=="comment")break;t-=1}var r=this.raw(e,"semicolon");for(var n=0;n0){if(typeof e.raws.after!=="undefined"){t=e.raws.after;if(t.indexOf("\n")!==-1){t=t.replace(/[^\n]+$/,"")}return false}}});if(t)t=t.replace(/[^\s]/g,"");return t};e.rawBeforeOpen=function rawBeforeOpen(e){var t;e.walk(function(e){if(e.type!=="decl"){t=e.raws.between;if(typeof t!=="undefined")return false}});return t};e.rawColon=function rawColon(e){var t;e.walkDecls(function(e){if(typeof e.raws.between!=="undefined"){t=e.raws.between.replace(/[^\s:]/g,"");return false}});return t};e.beforeAfter=function beforeAfter(e,t){var r;if(e.type==="decl"){r=this.raw(e,null,"beforeDecl")}else if(e.type==="comment"){r=this.raw(e,null,"beforeComment")}else if(t==="before"){r=this.raw(e,null,"beforeRule")}else{r=this.raw(e,null,"beforeClose")}var n=e.parent;var i=0;while(n&&n.type!=="root"){i+=1;n=n.parent}if(r.indexOf("\n")!==-1){var s=this.raw(e,null,"indent");if(s.length){for(var o=0;o{"use strict";t.__esModule=true;t.default=void 0;var n=_interopRequireDefault(r(224));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function stringify(e,t){var r=new n.default(t);r.stringify(e)}var i=stringify;t.default=i;e.exports=t.default},526:(e,t,r)=>{"use strict";t.__esModule=true;t.default=void 0;var n=_interopRequireDefault(r(242));var i=_interopRequireDefault(r(918));var s=_interopRequireDefault(r(508));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var o={brackets:n.default.cyan,"at-word":n.default.cyan,comment:n.default.gray,string:n.default.green,class:n.default.yellow,call:n.default.cyan,hash:n.default.magenta,"(":n.default.cyan,")":n.default.cyan,"{":n.default.yellow,"}":n.default.yellow,"[":n.default.yellow,"]":n.default.yellow,":":n.default.yellow,";":n.default.yellow};function getTokenType(e,t){var r=e[0],n=e[1];if(r==="word"){if(n[0]==="."){return"class"}if(n[0]==="#"){return"hash"}}if(!t.endOfFile()){var i=t.nextToken();t.back(i);if(i[0]==="brackets"||i[0]==="(")return"call"}return r}function terminalHighlight(e){var t=(0,i.default)(new s.default(e),{ignoreErrors:true});var r="";var n=function _loop(){var e=t.nextToken();var n=o[getTokenType(e,t)];if(n){r+=e[1].split(/\r?\n/).map(function(e){return n(e)}).join("\n")}else{r+=e[1]}};while(!t.endOfFile()){n()}return r}var u=terminalHighlight;t.default=u;e.exports=t.default},918:(e,t)=>{"use strict";t.__esModule=true;t.default=tokenizer;var r="'".charCodeAt(0);var n='"'.charCodeAt(0);var i="\\".charCodeAt(0);var s="/".charCodeAt(0);var o="\n".charCodeAt(0);var u=" ".charCodeAt(0);var a="\f".charCodeAt(0);var f="\t".charCodeAt(0);var l="\r".charCodeAt(0);var c="[".charCodeAt(0);var h="]".charCodeAt(0);var p="(".charCodeAt(0);var d=")".charCodeAt(0);var v="{".charCodeAt(0);var w="}".charCodeAt(0);var m=";".charCodeAt(0);var g="*".charCodeAt(0);var y=":".charCodeAt(0);var b="@".charCodeAt(0);var R=/[ \n\t\r\f{}()'"\\;/[\]#]/g;var C=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g;var S=/.[\\/("'\n]/;var O=/[a-f0-9]/i;function tokenizer(e,t){if(t===void 0){t={}}var A=e.css.valueOf();var M=t.ignoreErrors;var D,k,x,E,q,N,B;var I,F,T,j,z,L,P;var V=A.length;var W=-1;var U=1;var $=0;var G=[];var Y=[];function position(){return $}function unclosed(t){throw e.error("Unclosed "+t,U,$-W)}function endOfFile(){return Y.length===0&&$>=V}function nextToken(e){if(Y.length)return Y.pop();if($>=V)return;var t=e?e.ignoreUnclosed:false;D=A.charCodeAt($);if(D===o||D===a||D===l&&A.charCodeAt($+1)!==o){W=$;U+=1}switch(D){case o:case u:case f:case l:case a:k=$;do{k+=1;D=A.charCodeAt(k);if(D===o){W=k;U+=1}}while(D===u||D===o||D===f||D===l||D===a);P=["space",A.slice($,k)];$=k-1;break;case c:case h:case v:case w:case y:case m:case d:var J=String.fromCharCode(D);P=[J,J,U,$-W];break;case p:z=G.length?G.pop()[1]:"";L=A.charCodeAt($+1);if(z==="url"&&L!==r&&L!==n&&L!==u&&L!==o&&L!==f&&L!==a&&L!==l){k=$;do{T=false;k=A.indexOf(")",k+1);if(k===-1){if(M||t){k=$;break}else{unclosed("bracket")}}j=k;while(A.charCodeAt(j-1)===i){j-=1;T=!T}}while(T);P=["brackets",A.slice($,k+1),U,$-W,U,k-W];$=k}else{k=A.indexOf(")",$+1);N=A.slice($,k+1);if(k===-1||S.test(N)){P=["(","(",U,$-W]}else{P=["brackets",N,U,$-W,U,k-W];$=k}}break;case r:case n:x=D===r?"'":'"';k=$;do{T=false;k=A.indexOf(x,k+1);if(k===-1){if(M||t){k=$+1;break}else{unclosed("string")}}j=k;while(A.charCodeAt(j-1)===i){j-=1;T=!T}}while(T);N=A.slice($,k+1);E=N.split("\n");q=E.length-1;if(q>0){I=U+q;F=k-E[q].length}else{I=U;F=W}P=["string",A.slice($,k+1),U,$-W,I,k-F];W=F;U=I;$=k;break;case b:R.lastIndex=$+1;R.test(A);if(R.lastIndex===0){k=A.length-1}else{k=R.lastIndex-2}P=["at-word",A.slice($,k+1),U,$-W,U,k-W];$=k;break;case i:k=$;B=true;while(A.charCodeAt(k+1)===i){k+=1;B=!B}D=A.charCodeAt(k+1);if(B&&D!==s&&D!==u&&D!==o&&D!==f&&D!==l&&D!==a){k+=1;if(O.test(A.charAt(k))){while(O.test(A.charAt(k+1))){k+=1}if(A.charCodeAt(k+1)===u){k+=1}}}P=["word",A.slice($,k+1),U,$-W,U,k-W];$=k;break;default:if(D===s&&A.charCodeAt($+1)===g){k=A.indexOf("*/",$+2)+1;if(k===0){if(M||t){k=A.length}else{unclosed("comment")}}N=A.slice($,k+1);E=N.split("\n");q=E.length-1;if(q>0){I=U+q;F=k-E[q].length}else{I=U;F=W}P=["comment",N,U,$-W,I,k-F];W=F;U=I;$=k}else{C.lastIndex=$+1;C.test(A);if(C.lastIndex===0){k=A.length-1}else{k=C.lastIndex-2}P=["word",A.slice($,k+1),U,$-W,U,k-W];G.push(P);$=k}break}$++;return P}function back(e){Y.push(e)}return{back:back,nextToken:nextToken,endOfFile:endOfFile,position:position}}e.exports=t.default},870:(e,t)=>{"use strict";t.__esModule=true;t.default=void 0;var r={prefix:function prefix(e){var t=e.match(/^(-\w+-)/);if(t){return t[0]}return""},unprefixed:function unprefixed(e){return e.replace(/^-\w+-/,"")}};var n=r;t.default=n;e.exports=t.default},759:(e,t)=>{"use strict";t.__esModule=true;t.default=warnOnce;var r={};function warnOnce(e){if(r[e])return;r[e]=true;if(typeof console!=="undefined"&&console.warn){console.warn(e)}}e.exports=t.default},325:(e,t)=>{"use strict";t.__esModule=true;t.default=void 0;var r=function(){function Warning(e,t){if(t===void 0){t={}}this.type="warning";this.text=e;if(t.node&&t.node.source){var r=t.node.positionBy(t);this.line=r.line;this.column=r.column}for(var n in t){this[n]=t[n]}}var e=Warning.prototype;e.toString=function toString(){if(this.node){return this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message}if(this.plugin){return this.plugin+": "+this.text}return this.text};return Warning}();var n=r;t.default=n;e.exports=t.default},736:(e,t,r)=>{"use strict";const n=r(87);const i=r(738);const{env:s}=process;let o;if(i("no-color")||i("no-colors")||i("color=false")||i("color=never")){o=0}else if(i("color")||i("colors")||i("color=true")||i("color=always")){o=1}if("FORCE_COLOR"in s){if(s.FORCE_COLOR===true||s.FORCE_COLOR==="true"){o=1}else if(s.FORCE_COLOR===false||s.FORCE_COLOR==="false"){o=0}else{o=s.FORCE_COLOR.length===0?1:Math.min(parseInt(s.FORCE_COLOR,10),3)}}function translateLevel(e){if(e===0){return false}return{level:e,hasBasic:true,has256:e>=2,has16m:e>=3}}function supportsColor(e){if(o===0){return 0}if(i("color=16m")||i("color=full")||i("color=truecolor")){return 3}if(i("color=256")){return 2}if(e&&!e.isTTY&&o===undefined){return 0}const t=o||0;if(s.TERM==="dumb"){return t}if(process.platform==="win32"){const e=n.release().split(".");if(Number(process.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586){return Number(e[2])>=14931?3:2}return 1}if("CI"in s){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(e=>e in s)||s.CI_NAME==="codeship"){return 1}return t}if("TEAMCITY_VERSION"in s){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(s.TEAMCITY_VERSION)?1:0}if(s.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in s){const e=parseInt((s.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(s.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(s.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(s.TERM)){return 1}if("COLORTERM"in s){return 1}return t}function getSupportLevel(e){const t=supportsColor(e);return translateLevel(t)}e.exports={supportsColor:getSupportLevel,stdout:getSupportLevel(process.stdout),stderr:getSupportLevel(process.stderr)}},242:e=>{"use strict";e.exports=require("chalk")},747:e=>{"use strict";e.exports=require("fs")},241:e=>{"use strict";e.exports=require("next/dist/compiled/source-map")},87:e=>{"use strict";e.exports=require("os")},622:e=>{"use strict";e.exports=require("path")}};var t={};function __webpack_require__(r){if(t[r]){return t[r].exports}var n=t[r]={exports:{}};var i=true;try{e[r](n,n.exports,__webpack_require__);i=false}finally{if(i)delete t[r]}return n.exports}__webpack_require__.ab=__dirname+"/";return __webpack_require__(937)})(); \ No newline at end of file +module.exports=(()=>{var e={125:(e,r,a)=>{var u=a(43);function shouldSetZeroBasis(e){if(!e){return false}return e==="0"||e.replace(/\s/g,"")==="0px"}function properBasis(e){if(shouldSetZeroBasis(e)){return"0%"}return e}e.exports=function(e){if(e.prop==="flex"){var r=u.list.space(e.value);var a="0";var t="1";var i="0%";if(r[0]){a=r[0]}if(r[1]){if(!isNaN(r[1])){t=r[1]}else{i=r[1]}}if(r[2]){i=r[2]}e.value=a+" "+t+" "+properBasis(i)}}},94:(e,r,a)=>{var u=a(43);e.exports=function(e){if(e.prop==="flex"){var r=u.list.space(e.value);var a=r[0];var t=r[1]||"1";var i=r[2]||"0%";if(i==="0%")i=null;e.value=a+" "+t+(i?" "+i:"")}}},495:(e,r,a)=>{var u=a(43);e.exports=function(e){var r=/(\d{1,}) (\d{1,}) (calc\(.*\))/g;var a=r.exec(e.value);if(e.prop==="flex"&&a){var t=u.decl({prop:"flex-grow",value:a[1],source:e.source});var i=u.decl({prop:"flex-shrink",value:a[2],source:e.source});var s=u.decl({prop:"flex-basis",value:a[3],source:e.source});e.parent.insertBefore(e,t);e.parent.insertBefore(e,i);e.parent.insertBefore(e,s);e.remove()}}},937:(e,r,a)=>{var u=a(43);var t=a(125);var i=a(94);var s=a(495);var n=["none","auto","content","inherit","initial","unset"];e.exports=u.plugin("postcss-flexbugs-fixes",function(e){var r=Object.assign({bug4:true,bug6:true,bug81a:true},e);return function(e){e.walkDecls(function(e){if(e.value.indexOf("var(")>-1){return}if(e.value==="none"){return}var a=u.list.space(e.value);if(n.indexOf(e.value)>0&&a.length===1){return}if(r.bug4){t(e)}if(r.bug6){i(e)}if(r.bug81a){s(e)}})}})},43:e=>{"use strict";e.exports=require("postcss")}};var r={};function __webpack_require__(a){if(r[a]){return r[a].exports}var u=r[a]={exports:{}};var t=true;try{e[a](u,u.exports,__webpack_require__);t=false}finally{if(t)delete r[a]}return u.exports}__webpack_require__.ab=__dirname+"/";return __webpack_require__(937)})(); \ No newline at end of file diff --git a/packages/next/compiled/postcss-loader/cjs.js b/packages/next/compiled/postcss-loader/cjs.js index 014d06c36efa7..0771722e0b07b 100644 --- a/packages/next/compiled/postcss-loader/cjs.js +++ b/packages/next/compiled/postcss-loader/cjs.js @@ -1 +1 @@ -module.exports=(()=>{var e={7548:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t.default=_default;var n=_interopRequireWildcard(r(2421));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}let s=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const i=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const s=Object.assign({},n,e.end);const{linesAbove:i=2,linesBelow:o=3}=r||{};const a=n.line;const l=n.column;const c=s.line;const f=s.column;let u=Math.max(a-(i+1),0);let h=Math.min(t.length,c+o);if(a===-1){u=0}if(c===-1){h=t.length}const p=c-a;const d={};if(p){for(let e=0;e<=p;e++){const r=e+a;if(!l){d[r]=true}else if(e===0){const e=t[r-1].length;d[r]=[l,e-l+1]}else if(e===p){d[r]=[0,f]}else{const n=t[r-e].length;d[r]=[0,n]}}}else{if(l===f){if(l){d[a]=[l,0]}else{d[a]=true}}else{d[a]=[l,f-l]}}return{start:u,end:h,markerLines:d}}function codeFrameColumns(e,t,r={}){const s=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r);const o=(0,n.getChalk)(r);const a=getDefs(o);const l=(e,t)=>{return s?e(t):t};const c=e.split(i);const{start:f,end:u,markerLines:h}=getMarkerLines(t,c,r);const p=t.start&&typeof t.start.column==="number";const d=String(u).length;const g=s?(0,n.default)(e,r):e;let w=g.split(i).slice(f,u).map((e,t)=>{const n=f+1+t;const s=` ${n}`.slice(-d);const i=` ${s} | `;const o=h[n];const c=!h[n+1];if(o){let t="";if(Array.isArray(o)){const n=e.slice(0,Math.max(o[0]-1,0)).replace(/[^\t]/g," ");const s=o[1]||1;t=["\n ",l(a.gutter,i.replace(/\d/g," ")),n,l(a.marker,"^").repeat(s)].join("");if(c&&r.message){t+=" "+l(a.message,r.message)}}return[l(a.marker,">"),l(a.gutter,i),e,t].join("")}else{return` ${l(a.gutter,i)}${e}`}}).join("\n");if(r.message&&!p){w=`${" ".repeat(d+1)}${r.message}\n${w}`}if(s){return o.reset(w)}else{return w}}function _default(e,t,r,n={}){if(!s){s=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const i={start:{column:r,line:t}};return codeFrameColumns(e,i,n)}},9115:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const o=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const a=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,o)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,o)||isInAstralSet(e,a)}function isIdentifierName(e){let t=true;for(let r=0,n=Array.from(e);r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(9115);var s=r(5390)},5390:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},2421:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shouldHighlight=shouldHighlight;t.getChalk=getChalk;t.default=highlight;var n=_interopRequireWildcard(r(8035));var s=r(9586);var i=_interopRequireDefault(r(2242));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsx_tag:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const o=/\r\n|[\n\r\u2028\u2029]/;const a=/^[a-z][\w-]*$/i;const l=/^[()[\]{}]$/;function getTokenType(e){const[t,r]=e.slice(-2);const i=(0,n.matchToToken)(e);if(i.type==="name"){if((0,s.isKeyword)(i.value)||(0,s.isReservedWord)(i.value)){return"keyword"}if(a.test(i.value)&&(r[t-1]==="<"||r.substr(t-2,2)=="n(e)).join("\n")}else{return t[0]}})}function shouldHighlight(e){return i.default.supportsColor||e.forceColor}function getChalk(e){let t=i.default;if(e.forceColor){t=new i.default.constructor({enabled:true,level:1})}return t}function highlight(e,t={}){if(shouldHighlight(t)){const r=getChalk(t);const n=getDefs(r);return highlightTokens(n,e)}else{return e}}},9775:e=>{"use strict";const t=()=>{const e=Error.prepareStackTrace;Error.prepareStackTrace=((e,t)=>t);const t=(new Error).stack.slice(1);Error.prepareStackTrace=e;return t};e.exports=t;e.exports.default=t},9736:(e,t,r)=>{"use strict";var n=r(1669);var s=r(3108);var i=function errorEx(e,t){if(!e||e.constructor!==String){t=e||{};e=Error.name}var r=function ErrorEXError(n){if(!this){return new ErrorEXError(n)}n=n instanceof Error?n.message:n||this.message;Error.call(this,n);Error.captureStackTrace(this,r);this.name=e;Object.defineProperty(this,"message",{configurable:true,enumerable:false,get:function(){var e=n.split(/\r?\n/g);for(var r in t){if(!t.hasOwnProperty(r)){continue}var i=t[r];if("message"in i){e=i.message(this[r],e)||e;if(!s(e)){e=[e]}}}return e.join("\n")},set:function(e){n=e}});var i=null;var o=Object.getOwnPropertyDescriptor(this,"stack");var a=o.get;var l=o.value;delete o.value;delete o.writable;o.set=function(e){i=e};o.get=function(){var e=(i||(a?a.call(this):l)).split(/\r?\n+/g);if(!i){e[0]=this.name+": "+this.message}var r=1;for(var n in t){if(!t.hasOwnProperty(n)){continue}var s=t[n];if("line"in s){var o=s.line(this[n]);if(o){e.splice(r++,0," "+o)}}if("stack"in s){s.stack(this[n],e)}}return e.join("\n")};Object.defineProperty(this,"stack",o)};if(Object.setPrototypeOf){Object.setPrototypeOf(r.prototype,Error.prototype);Object.setPrototypeOf(r,Error)}else{n.inherits(r,Error)}return r};i.append=function(e,t){return{message:function(r,n){r=r||t;if(r){n[0]+=" "+e.replace("%s",r.toString())}return n}}};i.line=function(e,t){return{line:function(r){r=r||t;if(r){return e.replace("%s",r.toString())}return null}}};e.exports=i},4786:(e,t,r)=>{"use strict";const n=r(5622);const s=r(8388);const i=r(2982);e.exports=(e=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}const t=i(__filename);const r=s(n.dirname(t),e);const o=require.cache[r];if(o&&o.parent){let e=o.parent.children.length;while(e--){if(o.parent.children[e].id===r){o.parent.children.splice(e,1)}}}delete require.cache[r];const a=require.cache[t];return a===undefined?require(r):a.require(r)})},8388:(e,t,r)=>{"use strict";const n=r(5622);const s=r(2282);const i=r(5747);const o=(e,t,r)=>{if(typeof e!=="string"){throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof e}\``)}if(typeof t!=="string"){throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof t}\``)}try{e=i.realpathSync(e)}catch(t){if(t.code==="ENOENT"){e=n.resolve(e)}else if(r){return null}else{throw t}}const o=n.join(e,"noop.js");const a=()=>s._resolveFilename(t,{id:o,filename:o,paths:s._nodeModulePaths(e)});if(r){try{return a()}catch(e){return null}}return a()};e.exports=((e,t)=>o(e,t));e.exports.silent=((e,t)=>o(e,t,true))},3108:e=>{"use strict";e.exports=function isArrayish(e){if(!e){return false}return e instanceof Array||Array.isArray(e)||e.length>=0&&e.splice instanceof Function}},9842:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return t.call(e)=="[object Array]"}},8035:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:undefined};if(e[1])t.type="string",t.closed=!!(e[3]||e[4]);else if(e[5])t.type="comment";else if(e[6])t.type="comment",t.closed=!!e[7];else if(e[8])t.type="regex";else if(e[9])t.type="number";else if(e[10])t.type="name";else if(e[11])t.type="punctuator";else if(e[12])t.type="whitespace";return t}},5235:e=>{"use strict";e.exports=parseJson;function parseJson(e,t,r){r=r||20;try{return JSON.parse(e,t)}catch(t){if(typeof e!=="string"){const t=Array.isArray(e)&&e.length===0;const r="Cannot parse "+(t?"an empty array":String(e));throw new TypeError(r)}const n=t.message.match(/^Unexpected token.*position\s+(\d+)/i);const s=n?+n[1]:t.message.match(/^Unexpected end of JSON.*/i)?e.length-1:null;if(s!=null){const n=s<=r?0:s-r;const i=s+r>=e.length?e.length:s+r;t.message+=` while parsing near '${n===0?"":"..."}${e.slice(n,i)}${i===e.length?"":"..."}'`}else{t.message+=` while parsing '${e.slice(0,r*2)}'`}throw t}}},7153:(e,t)=>{function set(e,t,r){if(typeof r.value==="object")r.value=klona(r.value);if(!r.enumerable||r.get||r.set||!r.configurable||!r.writable||t==="__proto__"){Object.defineProperty(e,t,r)}else e[t]=r.value}function klona(e){if(typeof e!=="object")return e;var t=0,r,n,s,i=Object.prototype.toString.call(e);if(i==="[object Object]"){s=Object.create(e.__proto__||null)}else if(i==="[object Array]"){s=Array(e.length)}else if(i==="[object Set]"){s=new Set;e.forEach(function(e){s.add(klona(e))})}else if(i==="[object Map]"){s=new Map;e.forEach(function(e,t){s.set(klona(t),klona(e))})}else if(i==="[object Date]"){s=new Date(+e)}else if(i==="[object RegExp]"){s=new RegExp(e.source,e.flags)}else if(i==="[object DataView]"){s=new e.constructor(klona(e.buffer))}else if(i==="[object ArrayBuffer]"){s=e.slice(0)}else if(i.slice(-6)==="Array]"){s=new e.constructor(e)}if(s){for(n=Object.getOwnPropertySymbols(e);t{"use strict";var n=r(9842);var s=r(4858);var i=Array.prototype.slice;e.exports=LineColumnFinder;function LineColumnFinder(e,t){if(!(this instanceof LineColumnFinder)){if(typeof t==="number"){return new LineColumnFinder(e).fromIndex(t)}return new LineColumnFinder(e,t)}this.str=e||"";this.lineToIndex=buildLineToIndex(this.str);t=t||{};this.origin=typeof t.origin==="undefined"?1:t.origin}LineColumnFinder.prototype.fromIndex=function(e){if(e<0||e>=this.str.length||isNaN(e)){return null}var t=findLowerIndexInRangeArray(e,this.lineToIndex);return{line:t+this.origin,col:e-this.lineToIndex[t]+this.origin}};LineColumnFinder.prototype.toIndex=function(e,t){if(typeof t==="undefined"){if(n(e)&&e.length>=2){return this.toIndex(e[0],e[1])}if(s(e)&&"line"in e&&("col"in e||"column"in e)){return this.toIndex(e.line,"col"in e?e.col:e.column)}return-1}if(isNaN(e)||isNaN(t)){return-1}e-=this.origin;t-=this.origin;if(e>=0&&t>=0&&e=t[t.length-1]){return t.length-1}var r=0,n=t.length-2,s;while(r>1);if(e=t[s+1]){r=s+1}else{r=s;break}}return r}},4858:(e,t,r)=>{"use strict";var n=r(9842);e.exports=function isObject(e){return e!=null&&typeof e==="object"&&n(e)===false}},6356:(e,t)=>{"use strict";var r="\n";var n="\r";var s=function(){function LinesAndColumns(e){this.string=e;var t=[0];for(var s=0;sthis.string.length){return null}var t=0;var r=this.offsets;while(r[t+1]<=e){t++}var n=e-r[t];return{line:t,column:n}};LinesAndColumns.prototype.indexForLocation=function(e){var t=e.line,r=e.column;if(t<0||t>=this.offsets.length){return null}if(r<0||r>this.lengthOfLine(t)){return null}return this.offsets[t]+r};LinesAndColumns.prototype.lengthOfLine=function(e){var t=this.offsets[e];var r=e===this.offsets.length-1?this.string.length:this.offsets[e+1];return r-t};return LinesAndColumns}();t.__esModule=true;t.default=s},2982:(e,t,r)=>{"use strict";const n=r(9775);e.exports=(e=>{const t=n();if(!e){return t[2].getFileName()}let r=false;t.shift();for(const n of t){const t=n.getFileName();if(typeof t!=="string"){continue}if(t===e){r=true;continue}if(t==="module.js"){continue}if(r&&t!==e){return t}}})},7987:(e,t,r)=>{"use strict";var n=r(2098);var s=r(7361);var i=r(3169);const o={anchorPrefix:"a",customTags:null,indent:2,indentSeq:true,keepCstNodes:false,keepNodeTypes:true,keepBlobsInJSON:true,mapAsMap:false,maxAliasCount:100,prettyErrors:false,simpleKeys:false,version:"1.2"};const a={get binary(){return s.binaryOptions},set binary(e){Object.assign(s.binaryOptions,e)},get bool(){return s.boolOptions},set bool(e){Object.assign(s.boolOptions,e)},get int(){return s.intOptions},set int(e){Object.assign(s.intOptions,e)},get null(){return s.nullOptions},set null(e){Object.assign(s.nullOptions,e)},get str(){return s.strOptions},set str(e){Object.assign(s.strOptions,e)}};const l={"1.0":{schema:"yaml-1.1",merge:true,tagPrefixes:[{handle:"!",prefix:n.defaultTagPrefix},{handle:"!!",prefix:"tag:private.yaml.org,2002:"}]},1.1:{schema:"yaml-1.1",merge:true,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:n.defaultTagPrefix}]},1.2:{schema:"core",merge:false,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:n.defaultTagPrefix}]}};function stringifyTag(e,t){if((e.version||e.options.version)==="1.0"){const e=t.match(/^tag:private\.yaml\.org,2002:([^:/]+)$/);if(e)return"!"+e[1];const r=t.match(/^tag:([a-zA-Z0-9-]+)\.yaml\.org,2002:(.*)/);return r?`!${r[1]}/${r[2]}`:`!${t.replace(/^tag:/,"")}`}let r=e.tagPrefixes.find(e=>t.indexOf(e.prefix)===0);if(!r){const n=e.getDefaults().tagPrefixes;r=n&&n.find(e=>t.indexOf(e.prefix)===0)}if(!r)return t[0]==="!"?t:`!<${t}>`;const n=t.substr(r.prefix.length).replace(/[!,[\]{}]/g,e=>({"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"})[e]);return r.handle+n}function getTagObject(e,t){if(t instanceof s.Alias)return s.Alias;if(t.tag){const r=e.filter(e=>e.tag===t.tag);if(r.length>0)return r.find(e=>e.format===t.format)||r[0]}let r,n;if(t instanceof s.Scalar){n=t.value;const s=e.filter(e=>e.identify&&e.identify(n)||e.class&&n instanceof e.class);r=s.find(e=>e.format===t.format)||s.find(e=>!e.format)}else{n=t;r=e.find(e=>e.nodeClass&&n instanceof e.nodeClass)}if(!r){const e=n&&n.constructor?n.constructor.name:typeof n;throw new Error(`Tag not resolved for ${e} value`)}return r}function stringifyProps(e,t,{anchors:r,doc:n}){const s=[];const i=n.anchors.getName(e);if(i){r[i]=e;s.push(`&${i}`)}if(e.tag){s.push(stringifyTag(n,e.tag))}else if(!t.default){s.push(stringifyTag(n,t.tag))}return s.join(" ")}function stringify(e,t,r,n){const{anchors:i,schema:o}=t.doc;let a;if(!(e instanceof s.Node)){const t={aliasNodes:[],onTagObj:e=>a=e,prevObjects:new Map};e=o.createNode(e,true,null,t);for(const e of t.aliasNodes){e.source=e.source.node;let t=i.getName(e.source);if(!t){t=i.newName();i.map[t]=e.source}}}if(e instanceof s.Pair)return e.toString(t,r,n);if(!a)a=getTagObject(o.tags,e);const l=stringifyProps(e,a,t);if(l.length>0)t.indentAtStart=(t.indentAtStart||0)+l.length+1;const c=typeof a.stringify==="function"?a.stringify(e,t,r,n):e instanceof s.Scalar?s.stringifyString(e,t,r,n):e.toString(t,r,n);if(!l)return c;return e instanceof s.Scalar||c[0]==="{"||c[0]==="["?`${l} ${c}`:`${l}\n${t.indent}${c}`}class Anchors{static validAnchorNode(e){return e instanceof s.Scalar||e instanceof s.YAMLSeq||e instanceof s.YAMLMap}constructor(e){n._defineProperty(this,"map",{});this.prefix=e}createAlias(e,t){this.setAnchor(e,t);return new s.Alias(e)}createMergePair(...e){const t=new s.Merge;t.value.items=e.map(e=>{if(e instanceof s.Alias){if(e.source instanceof s.YAMLMap)return e}else if(e instanceof s.YAMLMap){return this.createAlias(e)}throw new Error("Merge sources must be Map nodes or their Aliases")});return t}getName(e){const{map:t}=this;return Object.keys(t).find(r=>t[r]===e)}getNames(){return Object.keys(this.map)}getNode(e){return this.map[e]}newName(e){if(!e)e=this.prefix;const t=Object.keys(this.map);for(let r=1;true;++r){const n=`${e}${r}`;if(!t.includes(n))return n}}resolveNodes(){const{map:e,_cstAliases:t}=this;Object.keys(e).forEach(t=>{e[t]=e[t].resolved});t.forEach(e=>{e.source=e.source.resolved});delete this._cstAliases}setAnchor(e,t){if(e!=null&&!Anchors.validAnchorNode(e)){throw new Error("Anchors may only be set for Scalar, Seq and Map nodes")}if(t&&/[\x00-\x19\s,[\]{}]/.test(t)){throw new Error("Anchor names must not contain whitespace or control characters")}const{map:r}=this;const n=e&&Object.keys(r).find(t=>r[t]===e);if(n){if(!t){return n}else if(n!==t){delete r[n];r[t]=e}}else{if(!t){if(!e)return null;t=this.newName()}r[t]=e}return t}}const c=(e,t)=>{if(e&&typeof e==="object"){const{tag:r}=e;if(e instanceof s.Collection){if(r)t[r]=true;e.items.forEach(e=>c(e,t))}else if(e instanceof s.Pair){c(e.key,t);c(e.value,t)}else if(e instanceof s.Scalar){if(r)t[r]=true}}return t};const f=e=>Object.keys(c(e,{}));function parseContents(e,t){const r={before:[],after:[]};let i=undefined;let o=false;for(const a of t){if(a.valueRange){if(i!==undefined){const t="Document contains trailing content not separated by a ... or --- line";e.errors.push(new n.YAMLSyntaxError(a,t));break}const t=s.resolveNode(e,a);if(o){t.spaceBefore=true;o=false}i=t}else if(a.comment!==null){const e=i===undefined?r.before:r.after;e.push(a.comment)}else if(a.type===n.Type.BLANK_LINE){o=true;if(i===undefined&&r.before.length>0&&!e.commentBefore){e.commentBefore=r.before.join("\n");r.before=[]}}}e.contents=i||null;if(!i){e.comment=r.before.concat(r.after).join("\n")||null}else{const t=r.before.join("\n");if(t){const e=i instanceof s.Collection&&i.items[0]?i.items[0]:i;e.commentBefore=e.commentBefore?`${t}\n${e.commentBefore}`:t}e.comment=r.after.join("\n")||null}}function resolveTagDirective({tagPrefixes:e},t){const[r,s]=t.parameters;if(!r||!s){const e="Insufficient parameters given for %TAG directive";throw new n.YAMLSemanticError(t,e)}if(e.some(e=>e.handle===r)){const e="The %TAG directive must only be given at most once per handle in the same document.";throw new n.YAMLSemanticError(t,e)}return{handle:r,prefix:s}}function resolveYamlDirective(e,t){let[r]=t.parameters;if(t.name==="YAML:1.0")r="1.0";if(!r){const e="Insufficient parameters given for %YAML directive";throw new n.YAMLSemanticError(t,e)}if(!l[r]){const s=e.version||e.options.version;const i=`Document will be parsed as YAML ${s} rather than YAML ${r}`;e.warnings.push(new n.YAMLWarning(t,i))}return r}function parseDirectives(e,t,r){const s=[];let i=false;for(const r of t){const{comment:t,name:o}=r;switch(o){case"TAG":try{e.tagPrefixes.push(resolveTagDirective(e,r))}catch(t){e.errors.push(t)}i=true;break;case"YAML":case"YAML:1.0":if(e.version){const t="The %YAML directive must only be given at most once per document.";e.errors.push(new n.YAMLSemanticError(r,t))}try{e.version=resolveYamlDirective(e,r)}catch(t){e.errors.push(t)}i=true;break;default:if(o){const t=`YAML only supports %TAG and %YAML directives, and not %${o}`;e.warnings.push(new n.YAMLWarning(r,t))}}if(t)s.push(t)}if(r&&!i&&"1.1"===(e.version||r.version||e.options.version)){const t=({handle:e,prefix:t})=>({handle:e,prefix:t});e.tagPrefixes=r.tagPrefixes.map(t);e.version=r.version}e.commentBefore=s.join("\n")||null}function assertCollection(e){if(e instanceof s.Collection)return true;throw new Error("Expected a YAML collection as document contents")}class Document{constructor(e){this.anchors=new Anchors(e.anchorPrefix);this.commentBefore=null;this.comment=null;this.contents=null;this.directivesEndMarker=null;this.errors=[];this.options=e;this.schema=null;this.tagPrefixes=[];this.version=null;this.warnings=[]}add(e){assertCollection(this.contents);return this.contents.add(e)}addIn(e,t){assertCollection(this.contents);this.contents.addIn(e,t)}delete(e){assertCollection(this.contents);return this.contents.delete(e)}deleteIn(e){if(s.isEmptyPath(e)){if(this.contents==null)return false;this.contents=null;return true}assertCollection(this.contents);return this.contents.deleteIn(e)}getDefaults(){return Document.defaults[this.version]||Document.defaults[this.options.version]||{}}get(e,t){return this.contents instanceof s.Collection?this.contents.get(e,t):undefined}getIn(e,t){if(s.isEmptyPath(e))return!t&&this.contents instanceof s.Scalar?this.contents.value:this.contents;return this.contents instanceof s.Collection?this.contents.getIn(e,t):undefined}has(e){return this.contents instanceof s.Collection?this.contents.has(e):false}hasIn(e){if(s.isEmptyPath(e))return this.contents!==undefined;return this.contents instanceof s.Collection?this.contents.hasIn(e):false}set(e,t){assertCollection(this.contents);this.contents.set(e,t)}setIn(e,t){if(s.isEmptyPath(e))this.contents=t;else{assertCollection(this.contents);this.contents.setIn(e,t)}}setSchema(e,t){if(!e&&!t&&this.schema)return;if(typeof e==="number")e=e.toFixed(1);if(e==="1.0"||e==="1.1"||e==="1.2"){if(this.version)this.version=e;else this.options.version=e;delete this.options.schema}else if(e&&typeof e==="string"){this.options.schema=e}if(Array.isArray(t))this.options.customTags=t;const r=Object.assign({},this.getDefaults(),this.options);this.schema=new i.Schema(r)}parse(e,t){if(this.options.keepCstNodes)this.cstNode=e;if(this.options.keepNodeTypes)this.type="DOCUMENT";const{directives:r=[],contents:s=[],directivesEndMarker:i,error:o,valueRange:a}=e;if(o){if(!o.source)o.source=this;this.errors.push(o)}parseDirectives(this,r,t);if(i)this.directivesEndMarker=true;this.range=a?[a.start,a.end]:null;this.setSchema();this.anchors._cstAliases=[];parseContents(this,s);this.anchors.resolveNodes();if(this.options.prettyErrors){for(const e of this.errors)if(e instanceof n.YAMLError)e.makePretty();for(const e of this.warnings)if(e instanceof n.YAMLError)e.makePretty()}return this}listNonDefaultTags(){return f(this.contents).filter(e=>e.indexOf(i.Schema.defaultPrefix)!==0)}setTagPrefix(e,t){if(e[0]!=="!"||e[e.length-1]!=="!")throw new Error("Handle must start and end with !");if(t){const r=this.tagPrefixes.find(t=>t.handle===e);if(r)r.prefix=t;else this.tagPrefixes.push({handle:e,prefix:t})}else{this.tagPrefixes=this.tagPrefixes.filter(t=>t.handle!==e)}}toJSON(e,t){const{keepBlobsInJSON:r,mapAsMap:n,maxAliasCount:i}=this.options;const o=r&&(typeof e!=="string"||!(this.contents instanceof s.Scalar));const a={doc:this,indentStep:" ",keep:o,mapAsMap:o&&!!n,maxAliasCount:i,stringify:stringify};const l=Object.keys(this.anchors.map);if(l.length>0)a.anchors=new Map(l.map(e=>[this.anchors.map[e],{alias:[],aliasCount:0,count:1}]));const c=s.toJSON(this.contents,e,a);if(typeof t==="function"&&a.anchors)for(const{count:e,res:r}of a.anchors.values())t(r,e);return c}toString(){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");const e=this.options.indent;if(!Number.isInteger(e)||e<=0){const t=JSON.stringify(e);throw new Error(`"indent" option must be a positive integer, not ${t}`)}this.setSchema();const t=[];let r=false;if(this.version){let e="%YAML 1.2";if(this.schema.name==="yaml-1.1"){if(this.version==="1.0")e="%YAML:1.0";else if(this.version==="1.1")e="%YAML 1.1"}t.push(e);r=true}const n=this.listNonDefaultTags();this.tagPrefixes.forEach(({handle:e,prefix:s})=>{if(n.some(e=>e.indexOf(s)===0)){t.push(`%TAG ${e} ${s}`);r=true}});if(r||this.directivesEndMarker)t.push("---");if(this.commentBefore){if(r||!this.directivesEndMarker)t.unshift("");t.unshift(this.commentBefore.replace(/^/gm,"#"))}const i={anchors:{},doc:this,indent:"",indentStep:" ".repeat(e),stringify:stringify};let o=false;let a=null;if(this.contents){if(this.contents instanceof s.Node){if(this.contents.spaceBefore&&(r||this.directivesEndMarker))t.push("");if(this.contents.commentBefore)t.push(this.contents.commentBefore.replace(/^/gm,"#"));i.forceBlockIndent=!!this.comment;a=this.contents.comment}const e=a?null:()=>o=true;const n=stringify(this.contents,i,()=>a=null,e);t.push(s.addComment(n,"",a))}else if(this.contents!==undefined){t.push(stringify(this.contents,i))}if(this.comment){if((!o||a)&&t[t.length-1]!=="")t.push("");t.push(this.comment.replace(/^/gm,"#"))}return t.join("\n")+"\n"}}n._defineProperty(Document,"defaults",l);t.Document=Document;t.defaultOptions=o;t.scalarOptions=a},2098:(e,t)=>{"use strict";const r={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."};const n={ALIAS:"ALIAS",BLANK_LINE:"BLANK_LINE",BLOCK_FOLDED:"BLOCK_FOLDED",BLOCK_LITERAL:"BLOCK_LITERAL",COMMENT:"COMMENT",DIRECTIVE:"DIRECTIVE",DOCUMENT:"DOCUMENT",FLOW_MAP:"FLOW_MAP",FLOW_SEQ:"FLOW_SEQ",MAP:"MAP",MAP_KEY:"MAP_KEY",MAP_VALUE:"MAP_VALUE",PLAIN:"PLAIN",QUOTE_DOUBLE:"QUOTE_DOUBLE",QUOTE_SINGLE:"QUOTE_SINGLE",SEQ:"SEQ",SEQ_ITEM:"SEQ_ITEM"};const s="tag:yaml.org,2002:";const i={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function findLineStarts(e){const t=[0];let r=e.indexOf("\n");while(r!==-1){r+=1;t.push(r);r=e.indexOf("\n",r)}return t}function getSrcInfo(e){let t,r;if(typeof e==="string"){t=findLineStarts(e);r=e}else{if(Array.isArray(e))e=e[0];if(e&&e.context){if(!e.lineStarts)e.lineStarts=findLineStarts(e.context.src);t=e.lineStarts;r=e.context.src}}return{lineStarts:t,src:r}}function getLinePos(e,t){if(typeof e!=="number"||e<0)return null;const{lineStarts:r,src:n}=getSrcInfo(t);if(!r||!n||e>n.length)return null;for(let t=0;t=1)||e>r.length)return null;const s=r[e-1];let i=r[e];while(i&&i>s&&n[i-1]==="\n")--i;return n.slice(s,i)}function getPrettyContext({start:e,end:t},r,n=80){let s=getLine(e.line,r);if(!s)return null;let{col:i}=e;if(s.length>n){if(i<=n-10){s=s.substr(0,n-1)+"…"}else{const e=Math.round(n/2);if(s.length>i+e)s=s.substr(0,i+e-1)+"…";i-=s.length-n;s="…"+s.substr(1-n)}}let o=1;let a="";if(t){if(t.line===e.line&&i+(t.col-e.col)<=n+1){o=t.col-e.col}else{o=Math.min(s.length+1,n)-i;a="…"}}const l=i>1?" ".repeat(i-1):"";const c="^".repeat(o);return`${s}\n${l}${c}${a}`}class Range{static copy(e){return new Range(e.start,e.end)}constructor(e,t){this.start=e;this.end=t||e}isEmpty(){return typeof this.start!=="number"||!this.end||this.end<=this.start}setOrigRange(e,t){const{start:r,end:n}=this;if(e.length===0||n<=e[0]){this.origStart=r;this.origEnd=n;return t}let s=t;while(sr)break;else++s}this.origStart=r+s;const i=s;while(s=n)break;else++s}this.origEnd=n+s;return i}}class Node{static addStringTerminator(e,t,r){if(r[r.length-1]==="\n")return r;const n=Node.endOfWhiteSpace(e,t);return n>=e.length||e[n]==="\n"?r+"\n":r}static atDocumentBoundary(e,t,n){const s=e[t];if(!s)return true;const i=e[t-1];if(i&&i!=="\n")return false;if(n){if(s!==n)return false}else{if(s!==r.DIRECTIVES_END&&s!==r.DOCUMENT_END)return false}const o=e[t+1];const a=e[t+2];if(o!==s||a!==s)return false;const l=e[t+3];return!l||l==="\n"||l==="\t"||l===" "}static endOfIdentifier(e,t){let r=e[t];const n=r==="<";const s=n?["\n","\t"," ",">"]:["\n","\t"," ","[","]","{","}",","];while(r&&s.indexOf(r)===-1)r=e[t+=1];if(n&&r===">")t+=1;return t}static endOfIndent(e,t){let r=e[t];while(r===" ")r=e[t+=1];return t}static endOfLine(e,t){let r=e[t];while(r&&r!=="\n")r=e[t+=1];return t}static endOfWhiteSpace(e,t){let r=e[t];while(r==="\t"||r===" ")r=e[t+=1];return t}static startOfLine(e,t){let r=e[t-1];if(r==="\n")return t;while(r&&r!=="\n")r=e[t-=1];return t+1}static endOfBlockIndent(e,t,r){const n=Node.endOfIndent(e,r);if(n>r+t){return n}else{const t=Node.endOfWhiteSpace(e,n);const r=e[t];if(!r||r==="\n")return t}return null}static atBlank(e,t,r){const n=e[t];return n==="\n"||n==="\t"||n===" "||r&&!n}static nextNodeIsIndented(e,t,r){if(!e||t<0)return false;if(t>0)return true;return r&&e==="-"}static normalizeOffset(e,t){const r=e[t];return!r?t:r!=="\n"&&e[t-1]==="\n"?t-1:Node.endOfWhiteSpace(e,t)}static foldNewline(e,t,r){let n=0;let s=false;let i="";let o=e[t+1];while(o===" "||o==="\t"||o==="\n"){switch(o){case"\n":n=0;t+=1;i+="\n";break;case"\t":if(n<=r)s=true;t=Node.endOfWhiteSpace(e,t+2)-1;break;case" ":n+=1;t+=1;break}o=e[t+1]}if(!i)i=" ";if(o&&n<=r)s=true;return{fold:i,offset:t,error:s}}constructor(e,t,r){Object.defineProperty(this,"context",{value:r||null,writable:true});this.error=null;this.range=null;this.valueRange=null;this.props=t||[];this.type=e;this.value=null}getPropValue(e,t,r){if(!this.context)return null;const{src:n}=this.context;const s=this.props[e];return s&&n[s.start]===t?n.slice(s.start+(r?1:0),s.end):null}get anchor(){for(let e=0;e0?e.join("\n"):null}commentHasRequiredWhitespace(e){const{src:t}=this.context;if(this.header&&e===this.header.end)return false;if(!this.valueRange)return false;const{end:r}=this.valueRange;return e!==r||Node.atBlank(t,r-1)}get hasComment(){if(this.context){const{src:e}=this.context;for(let t=0;tr.setOrigRange(e,t));return t}toString(){const{context:{src:e},range:t,value:r}=this;if(r!=null)return r;const n=e.slice(t.start,t.end);return Node.addStringTerminator(e,t.end,n)}}class YAMLError extends Error{constructor(e,t,r){if(!r||!(t instanceof Node))throw new Error(`Invalid arguments for new ${e}`);super();this.name=e;this.message=r;this.source=t}makePretty(){if(!this.source)return;this.nodeType=this.source.type;const e=this.source.context&&this.source.context.root;if(typeof this.offset==="number"){this.range=new Range(this.offset,this.offset+1);const t=e&&getLinePos(this.offset,e);if(t){const e={line:t.line,col:t.col+1};this.linePos={start:t,end:e}}delete this.offset}else{this.range=this.source.range;this.linePos=this.source.rangeAsLinePos}if(this.linePos){const{line:t,col:r}=this.linePos.start;this.message+=` at line ${t}, column ${r}`;const n=e&&getPrettyContext(this.linePos,e);if(n)this.message+=`:\n\n${n}\n`}delete this.source}}class YAMLReferenceError extends YAMLError{constructor(e,t){super("YAMLReferenceError",e,t)}}class YAMLSemanticError extends YAMLError{constructor(e,t){super("YAMLSemanticError",e,t)}}class YAMLSyntaxError extends YAMLError{constructor(e,t){super("YAMLSyntaxError",e,t)}}class YAMLWarning extends YAMLError{constructor(e,t){super("YAMLWarning",e,t)}}function _defineProperty(e,t,r){if(t in e){Object.defineProperty(e,t,{value:r,enumerable:true,configurable:true,writable:true})}else{e[t]=r}return e}class PlainValue extends Node{static endOfLine(e,t,r){let n=e[t];let s=t;while(n&&n!=="\n"){if(r&&(n==="["||n==="]"||n==="{"||n==="}"||n===","))break;const t=e[s+1];if(n===":"&&(!t||t==="\n"||t==="\t"||t===" "||r&&t===","))break;if((n===" "||n==="\t")&&t==="#")break;s+=1;n=t}return s}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:t}=this.valueRange;const{src:r}=this.context;let n=r[t-1];while(ei?r.slice(i,n+1):e}else{s+=e}}const i=r[e];switch(i){case"\t":{const e="Plain value cannot start with a tab character";const t=[new YAMLSemanticError(this,e)];return{errors:t,str:s}}case"@":case"`":{const e=`Plain value cannot start with reserved character ${i}`;const t=[new YAMLSemanticError(this,e)];return{errors:t,str:s}}default:return s}}parseBlockValue(e){const{indent:t,inFlow:r,src:n}=this.context;let s=e;let i=e;for(let e=n[s];e==="\n";e=n[s]){if(Node.atDocumentBoundary(n,s+1))break;const e=Node.endOfBlockIndent(n,t,s+1);if(e===null||n[e]==="#")break;if(n[e]==="\n"){s=e}else{i=PlainValue.endOfLine(n,e,r);s=i}}if(this.valueRange.isEmpty())this.valueRange.start=e;this.valueRange.end=i;return i}parse(e,t){this.context=e;const{inFlow:r,src:n}=e;let s=t;const i=n[s];if(i&&i!=="#"&&i!=="\n"){s=PlainValue.endOfLine(n,t,r)}this.valueRange=new Range(t,s);s=Node.endOfWhiteSpace(n,s);s=this.parseComment(s);if(!this.hasComment||this.valueRange.isEmpty()){s=this.parseBlockValue(s)}return s}}t.Char=r;t.Node=Node;t.PlainValue=PlainValue;t.Range=Range;t.Type=n;t.YAMLError=YAMLError;t.YAMLReferenceError=YAMLReferenceError;t.YAMLSemanticError=YAMLSemanticError;t.YAMLSyntaxError=YAMLSyntaxError;t.YAMLWarning=YAMLWarning;t._defineProperty=_defineProperty;t.defaultTagPrefix=s;t.defaultTags=i},3169:(e,t,r)=>{"use strict";var n=r(2098);var s=r(7361);var i=r(3641);function createMap(e,t,r){const n=new s.YAMLMap(e);if(t instanceof Map){for(const[s,i]of t)n.items.push(e.createPair(s,i,r))}else if(t&&typeof t==="object"){for(const s of Object.keys(t))n.items.push(e.createPair(s,t[s],r))}if(typeof e.sortMapEntries==="function"){n.items.sort(e.sortMapEntries)}return n}const o={createNode:createMap,default:true,nodeClass:s.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:s.resolveMap};function createSeq(e,t,r){const n=new s.YAMLSeq(e);if(t&&t[Symbol.iterator]){for(const s of t){const t=e.createNode(s,r.wrapScalars,null,r);n.items.push(t)}}return n}const a={createNode:createSeq,default:true,nodeClass:s.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:s.resolveSeq};const l={identify:e=>typeof e==="string",default:true,tag:"tag:yaml.org,2002:str",resolve:s.resolveString,stringify(e,t,r,n){t=Object.assign({actualString:true},t);return s.stringifyString(e,t,r,n)},options:s.strOptions};const c=[o,a,l];const f=e=>typeof e==="bigint"||Number.isInteger(e);const u=(e,t,r)=>s.intOptions.asBigInt?BigInt(e):parseInt(t,r);function intStringify(e,t,r){const{value:n}=e;if(f(n)&&n>=0)return r+n.toString(t);return s.stringifyNumber(e)}const h={identify:e=>e==null,createNode:(e,t,r)=>r.wrapScalars?new s.Scalar(null):null,default:true,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:s.nullOptions,stringify:()=>s.nullOptions.nullStr};const p={identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>e[0]==="t"||e[0]==="T",options:s.boolOptions,stringify:({value:e})=>e?s.boolOptions.trueStr:s.boolOptions.falseStr};const d={identify:e=>f(e)&&e>=0,default:true,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o([0-7]+)$/,resolve:(e,t)=>u(e,t,8),options:s.intOptions,stringify:e=>intStringify(e,8,"0o")};const g={identify:f,default:true,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:e=>u(e,e,10),options:s.intOptions,stringify:s.stringifyNumber};const w={identify:e=>f(e)&&e>=0,default:true,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x([0-9a-fA-F]+)$/,resolve:(e,t)=>u(e,t,16),options:s.intOptions,stringify:e=>intStringify(e,16,"0x")};const y={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(e,t)=>t?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:s.stringifyNumber};const m={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify:({value:e})=>Number(e).toExponential()};const S={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.([0-9]+)|[0-9]+\.([0-9]*))$/,resolve(e,t,r){const n=t||r;const i=new s.Scalar(parseFloat(e));if(n&&n[n.length-1]==="0")i.minFractionDigits=n.length;return i},stringify:s.stringifyNumber};const b=c.concat([h,p,d,g,w,y,m,S]);const O=e=>typeof e==="bigint"||Number.isInteger(e);const A=({value:e})=>JSON.stringify(e);const E=[o,a,{identify:e=>typeof e==="string",default:true,tag:"tag:yaml.org,2002:str",resolve:s.resolveString,stringify:A},{identify:e=>e==null,createNode:(e,t,r)=>r.wrapScalars?new s.Scalar(null):null,default:true,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:A},{identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>e==="true",stringify:A},{identify:O,default:true,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:e=>s.intOptions.asBigInt?BigInt(e):parseInt(e,10),stringify:({value:e})=>O(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:A}];E.scalarFallback=(e=>{throw new SyntaxError(`Unresolved plain scalar ${JSON.stringify(e)}`)});const M=({value:e})=>e?s.boolOptions.trueStr:s.boolOptions.falseStr;const N=e=>typeof e==="bigint"||Number.isInteger(e);function intResolve$1(e,t,r){let n=t.replace(/_/g,"");if(s.intOptions.asBigInt){switch(r){case 2:n=`0b${n}`;break;case 8:n=`0o${n}`;break;case 16:n=`0x${n}`;break}const t=BigInt(n);return e==="-"?BigInt(-1)*t:t}const i=parseInt(n,r);return e==="-"?-1*i:i}function intStringify$1(e,t,r){const{value:n}=e;if(N(n)){const e=n.toString(t);return n<0?"-"+r+e.substr(1):r+e}return s.stringifyNumber(e)}const C=c.concat([{identify:e=>e==null,createNode:(e,t,r)=>r.wrapScalars?new s.Scalar(null):null,default:true,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:s.nullOptions,stringify:()=>s.nullOptions.nullStr},{identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>true,options:s.boolOptions,stringify:M},{identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>false,options:s.boolOptions,stringify:M},{identify:N,default:true,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^([-+]?)0b([0-1_]+)$/,resolve:(e,t,r)=>intResolve$1(t,r,2),stringify:e=>intStringify$1(e,2,"0b")},{identify:N,default:true,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^([-+]?)0([0-7_]+)$/,resolve:(e,t,r)=>intResolve$1(t,r,8),stringify:e=>intStringify$1(e,8,"0")},{identify:N,default:true,tag:"tag:yaml.org,2002:int",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:(e,t,r)=>intResolve$1(t,r,10),stringify:s.stringifyNumber},{identify:N,default:true,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^([-+]?)0x([0-9a-fA-F_]+)$/,resolve:(e,t,r)=>intResolve$1(t,r,16),stringify:e=>intStringify$1(e,16,"0x")},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(e,t)=>t?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:s.stringifyNumber},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?([0-9][0-9_]*)?(\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify:({value:e})=>Number(e).toExponential()},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.([0-9_]*)$/,resolve(e,t){const r=new s.Scalar(parseFloat(e.replace(/_/g,"")));if(t){const e=t.replace(/_/g,"");if(e[e.length-1]==="0")r.minFractionDigits=e.length}return r},stringify:s.stringifyNumber}],i.binary,i.omap,i.pairs,i.set,i.intTime,i.floatTime,i.timestamp);const T={core:b,failsafe:c,json:E,yaml11:C};const L={binary:i.binary,bool:p,float:S,floatExp:m,floatNaN:y,floatTime:i.floatTime,int:g,intHex:w,intOct:d,intTime:i.intTime,map:o,null:h,omap:i.omap,pairs:i.pairs,seq:a,set:i.set,timestamp:i.timestamp};function findTagObject(e,t,r){if(t){const e=r.filter(e=>e.tag===t);const n=e.find(e=>!e.format)||e[0];if(!n)throw new Error(`Tag ${t} not found`);return n}return r.find(t=>(t.identify&&t.identify(e)||t.class&&e instanceof t.class)&&!t.format)}function createNode(e,t,r){if(e instanceof s.Node)return e;const{defaultPrefix:n,onTagObj:i,prevObjects:l,schema:c,wrapScalars:f}=r;if(t&&t.startsWith("!!"))t=n+t.slice(2);let u=findTagObject(e,t,c.tags);if(!u){if(typeof e.toJSON==="function")e=e.toJSON();if(typeof e!=="object")return f?new s.Scalar(e):e;u=e instanceof Map?o:e[Symbol.iterator]?a:o}if(i){i(u);delete r.onTagObj}const h={};if(e&&typeof e==="object"&&l){const t=l.get(e);if(t){const e=new s.Alias(t);r.aliasNodes.push(e);return e}h.value=e;l.set(e,h)}h.node=u.createNode?u.createNode(r.schema,e,r):f?new s.Scalar(e):e;if(t&&h.node instanceof s.Node)h.node.tag=t;return h.node}function getSchemaTags(e,t,r,n){let s=e[n.replace(/\W/g,"")];if(!s){const t=Object.keys(e).map(e=>JSON.stringify(e)).join(", ");throw new Error(`Unknown schema "${n}"; use one of ${t}`)}if(Array.isArray(r)){for(const e of r)s=s.concat(e)}else if(typeof r==="function"){s=r(s.slice())}for(let e=0;eJSON.stringify(e)).join(", ");throw new Error(`Unknown custom tag "${r}"; use one of ${e}`)}s[e]=n}}return s}const R=(e,t)=>e.keyt.key?1:0;class Schema{constructor({customTags:e,merge:t,schema:r,sortMapEntries:n,tags:s}){this.merge=!!t;this.name=r;this.sortMapEntries=n===true?R:n||null;if(!e&&s)i.warnOptionDeprecation("tags","customTags");this.tags=getSchemaTags(T,L,e||s,r)}createNode(e,t,r,n){const s={defaultPrefix:Schema.defaultPrefix,schema:this,wrapScalars:t};const i=n?Object.assign(n,s):s;return createNode(e,r,i)}createPair(e,t,r){if(!r)r={wrapScalars:true};const n=this.createNode(e,r.wrapScalars,null,r);const i=this.createNode(t,r.wrapScalars,null,r);return new s.Pair(n,i)}}n._defineProperty(Schema,"defaultPrefix",n.defaultTagPrefix);n._defineProperty(Schema,"defaultTags",n.defaultTags);t.Schema=Schema},5712:(e,t,r)=>{"use strict";var n=r(2098);var s=r(5294);r(7361);var i=r(7987);var o=r(3169);var a=r(3641);function createNode(e,t=true,r){if(r===undefined&&typeof t==="string"){r=t;t=true}const n=Object.assign({},i.Document.defaults[i.defaultOptions.version],i.defaultOptions);const s=new o.Schema(n);return s.createNode(e,t,r)}class Document extends i.Document{constructor(e){super(Object.assign({},i.defaultOptions,e))}}function parseAllDocuments(e,t){const r=[];let n;for(const i of s.parse(e)){const e=new Document(t);e.parse(i,n);r.push(e);n=e}return r}function parseDocument(e,t){const r=s.parse(e);const i=new Document(t).parse(r[0]);if(r.length>1){const e="Source contains multiple documents; please use YAML.parseAllDocuments()";i.errors.unshift(new n.YAMLSemanticError(r[1],e))}return i}function parse(e,t){const r=parseDocument(e,t);r.warnings.forEach(e=>a.warn(e));if(r.errors.length>0)throw r.errors[0];return r.toJSON()}function stringify(e,t){const r=new Document(t);r.contents=e;return String(r)}const l={createNode:createNode,defaultOptions:i.defaultOptions,Document:Document,parse:parse,parseAllDocuments:parseAllDocuments,parseCST:s.parse,parseDocument:parseDocument,scalarOptions:i.scalarOptions,stringify:stringify};t.YAML=l},5294:(e,t,r)=>{"use strict";var n=r(2098);class BlankLine extends n.Node{constructor(){super(n.Type.BLANK_LINE)}get includesTrailingLines(){return true}parse(e,t){this.context=e;this.range=new n.Range(t,t+1);return t+1}}class CollectionItem extends n.Node{constructor(e,t){super(e,t);this.node=null}get includesTrailingLines(){return!!this.node&&this.node.includesTrailingLines}parse(e,t){this.context=e;const{parseNode:r,src:s}=e;let{atLineStart:i,lineStart:o}=e;if(!i&&this.type===n.Type.SEQ_ITEM)this.error=new n.YAMLSemanticError(this,"Sequence items must not have preceding content on the same line");const a=i?t-o:e.indent;let l=n.Node.endOfWhiteSpace(s,t+1);let c=s[l];const f=c==="#";const u=[];let h=null;while(c==="\n"||c==="#"){if(c==="#"){const e=n.Node.endOfLine(s,l+1);u.push(new n.Range(l,e));l=e}else{i=true;o=l+1;const e=n.Node.endOfWhiteSpace(s,o);if(s[e]==="\n"&&u.length===0){h=new BlankLine;o=h.parse({src:s},o)}l=n.Node.endOfIndent(s,o)}c=s[l]}if(n.Node.nextNodeIsIndented(c,l-(o+a),this.type!==n.Type.SEQ_ITEM)){this.node=r({atLineStart:i,inCollection:false,indent:a,lineStart:o,parent:this},l)}else if(c&&o>t+1){l=o-1}if(this.node){if(h){const t=e.parent.items||e.parent.contents;if(t)t.push(h)}if(u.length)Array.prototype.push.apply(this.props,u);l=this.node.range.end}else{if(f){const e=u[0];this.props.push(e);l=e.end}else{l=n.Node.endOfLine(s,t+1)}}const p=this.node?this.node.valueRange.end:l;this.valueRange=new n.Range(t,p);return l}setOrigRanges(e,t){t=super.setOrigRanges(e,t);return this.node?this.node.setOrigRanges(e,t):t}toString(){const{context:{src:e},node:t,range:r,value:s}=this;if(s!=null)return s;const i=t?e.slice(r.start,t.range.start)+String(t):e.slice(r.start,r.end);return n.Node.addStringTerminator(e,r.end,i)}}class Comment extends n.Node{constructor(){super(n.Type.COMMENT)}parse(e,t){this.context=e;const r=this.parseComment(t);this.range=new n.Range(t,r);return r}}function grabCollectionEndComments(e){let t=e;while(t instanceof CollectionItem)t=t.node;if(!(t instanceof Collection))return null;const r=t.items.length;let s=-1;for(let e=r-1;e>=0;--e){const r=t.items[e];if(r.type===n.Type.COMMENT){const{indent:t,lineStart:n}=r.context;if(t>0&&r.range.start>=n+t)break;s=e}else if(r.type===n.Type.BLANK_LINE)s=e;else break}if(s===-1)return null;const i=t.items.splice(s,r-s);const o=i[0].range.start;while(true){t.range.end=o;if(t.valueRange&&t.valueRange.end>o)t.valueRange.end=o;if(t===e)break;t=t.context.parent}return i}class Collection extends n.Node{static nextContentHasIndent(e,t,r){const s=n.Node.endOfLine(e,t)+1;t=n.Node.endOfWhiteSpace(e,s);const i=e[t];if(!i)return false;if(t>=s+r)return true;if(i!=="#"&&i!=="\n")return false;return Collection.nextContentHasIndent(e,t,r)}constructor(e){super(e.type===n.Type.SEQ_ITEM?n.Type.SEQ:n.Type.MAP);for(let t=e.props.length-1;t>=0;--t){if(e.props[t].start0}parse(e,t){this.context=e;const{parseNode:r,src:s}=e;let i=n.Node.startOfLine(s,t);const o=this.items[0];o.context.parent=this;this.valueRange=n.Range.copy(o.valueRange);const a=o.range.start-o.context.lineStart;let l=t;l=n.Node.normalizeOffset(s,l);let c=s[l];let f=n.Node.endOfWhiteSpace(s,i)===l;let u=false;while(c){while(c==="\n"||c==="#"){if(f&&c==="\n"&&!u){const e=new BlankLine;l=e.parse({src:s},l);this.valueRange.end=l;if(l>=s.length){c=null;break}this.items.push(e);l-=1}else if(c==="#"){if(l=s.length){c=null;break}}i=l+1;l=n.Node.endOfIndent(s,i);if(n.Node.atBlank(s,l)){const e=n.Node.endOfWhiteSpace(s,l);const t=s[e];if(!t||t==="\n"||t==="#"){l=e}}c=s[l];f=true}if(!c){break}if(l!==i+a&&(f||c!==":")){if(lt)l=i;break}else if(!this.error){const e="All collection items must start at the same column";this.error=new n.YAMLSyntaxError(this,e)}}if(o.type===n.Type.SEQ_ITEM){if(c!=="-"){if(i>t)l=i;break}}else if(c==="-"&&!this.error){const e=s[l+1];if(!e||e==="\n"||e==="\t"||e===" "){const e="A collection cannot be both a mapping and a sequence";this.error=new n.YAMLSyntaxError(this,e)}}const e=r({atLineStart:f,inCollection:true,indent:a,lineStart:i,parent:this},l);if(!e)return l;this.items.push(e);this.valueRange.end=e.valueRange.end;l=n.Node.normalizeOffset(s,e.range.end);c=s[l];f=false;u=e.includesTrailingLines;if(c){let e=l-1;let t=s[e];while(t===" "||t==="\t")t=s[--e];if(t==="\n"){i=e+1;f=true}}const h=grabCollectionEndComments(e);if(h)Array.prototype.push.apply(this.items,h)}return l}setOrigRanges(e,t){t=super.setOrigRanges(e,t);this.items.forEach(r=>{t=r.setOrigRanges(e,t)});return t}toString(){const{context:{src:e},items:t,range:r,value:s}=this;if(s!=null)return s;let i=e.slice(r.start,t[0].range.start)+String(t[0]);for(let e=1;e0){this.contents=this.directives;this.directives=[]}return i}}if(t[i]){this.directivesEndMarker=new n.Range(i,i+3);return i+3}if(s){this.error=new n.YAMLSemanticError(this,"Missing directives-end indicator line")}else if(this.directives.length>0){this.contents=this.directives;this.directives=[]}return i}parseContents(e){const{parseNode:t,src:r}=this.context;if(!this.contents)this.contents=[];let s=e;while(r[s-1]==="-")s-=1;let i=n.Node.endOfWhiteSpace(r,e);let o=s===e;this.valueRange=new n.Range(i);while(!n.Node.atDocumentBoundary(r,i,n.Char.DOCUMENT_END)){switch(r[i]){case"\n":if(o){const e=new BlankLine;i=e.parse({src:r},i);if(i{t=r.setOrigRanges(e,t)});if(this.directivesEndMarker)t=this.directivesEndMarker.setOrigRange(e,t);this.contents.forEach(r=>{t=r.setOrigRanges(e,t)});if(this.documentEndMarker)t=this.documentEndMarker.setOrigRange(e,t);return t}toString(){const{contents:e,directives:t,value:r}=this;if(r!=null)return r;let s=t.join("");if(e.length>0){if(t.length>0||e[0].type===n.Type.COMMENT)s+="---\n";s+=e.join("")}if(s[s.length-1]!=="\n")s+="\n";return s}}class Alias extends n.Node{parse(e,t){this.context=e;const{src:r}=e;let s=n.Node.endOfIdentifier(r,t+1);this.valueRange=new n.Range(t+1,s);s=n.Node.endOfWhiteSpace(r,s);s=this.parseComment(s);return s}}const s={CLIP:"CLIP",KEEP:"KEEP",STRIP:"STRIP"};class BlockValue extends n.Node{constructor(e,t){super(e,t);this.blockIndent=null;this.chomping=s.CLIP;this.header=null}get includesTrailingLines(){return this.chomping===s.KEEP}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:t}=this.valueRange;const{indent:r,src:i}=this.context;if(this.valueRange.isEmpty())return"";let o=null;let a=i[t-1];while(a==="\n"||a==="\t"||a===" "){t-=1;if(t<=e){if(this.chomping===s.KEEP)break;else return""}if(a==="\n")o=t;a=i[t-1]}let l=t+1;if(o){if(this.chomping===s.KEEP){l=o;t=this.valueRange.end}else{t=o}}const c=r+this.blockIndent;const f=this.type===n.Type.BLOCK_FOLDED;let u=true;let h="";let p="";let d=false;for(let r=e;rl){l=c}}else if(s&&s!=="\n"&&c{if(r instanceof n.Node){t=r.setOrigRanges(e,t)}else if(e.length===0){r.origOffset=r.offset}else{let n=t;while(nr.offset)break;else++n}r.origOffset=r.offset+n;t=n}});return t}toString(){const{context:{src:e},items:t,range:r,value:s}=this;if(s!=null)return s;const i=t.filter(e=>e instanceof n.Node);let o="";let a=r.start;i.forEach(t=>{const r=e.slice(a,t.range.start);a=t.range.end;o+=r+String(t);if(o[o.length-1]==="\n"&&e[a-1]!=="\n"&&e[a]==="\n"){a+=1}});o+=e.slice(a,r.end);return n.Node.addStringTerminator(e,r.end,o)}}class QuoteDouble extends n.Node{static endOfQuote(e,t){let r=e[t];while(r&&r!=='"'){t+=r==="\\"?2:1;r=e[t]}return t+1}get strValue(){if(!this.valueRange||!this.context)return null;const e=[];const{start:t,end:r}=this.valueRange;const{indent:s,src:i}=this.context;if(i[r-1]!=='"')e.push(new n.YAMLSyntaxError(this,'Missing closing "quote'));let o="";for(let a=t+1;ae?i.slice(e,a+1):t}else{o+=t}}return e.length>0?{errors:e,str:o}:o}parseCharCode(e,t,r){const{src:s}=this.context;const i=s.substr(e,t);const o=i.length===t&&/^[0-9a-fA-F]+$/.test(i);const a=o?parseInt(i,16):NaN;if(isNaN(a)){r.push(new n.YAMLSyntaxError(this,`Invalid escape sequence ${s.substr(e-2,t+2)}`));return s.substr(e-2,t+2)}return String.fromCodePoint(a)}parse(e,t){this.context=e;const{src:r}=e;let s=QuoteDouble.endOfQuote(r,t+1);this.valueRange=new n.Range(t,s);s=n.Node.endOfWhiteSpace(r,s);s=this.parseComment(s);return s}}class QuoteSingle extends n.Node{static endOfQuote(e,t){let r=e[t];while(r){if(r==="'"){if(e[t+1]!=="'")break;r=e[t+=2]}else{r=e[t+=1]}}return t+1}get strValue(){if(!this.valueRange||!this.context)return null;const e=[];const{start:t,end:r}=this.valueRange;const{indent:s,src:i}=this.context;if(i[r-1]!=="'")e.push(new n.YAMLSyntaxError(this,"Missing closing 'quote"));let o="";for(let a=t+1;ae?i.slice(e,a+1):t}else{o+=t}}return e.length>0?{errors:e,str:o}:o}parse(e,t){this.context=e;const{src:r}=e;let s=QuoteSingle.endOfQuote(r,t+1);this.valueRange=new n.Range(t,s);s=n.Node.endOfWhiteSpace(r,s);s=this.parseComment(s);return s}}function createNewNode(e,t){switch(e){case n.Type.ALIAS:return new Alias(e,t);case n.Type.BLOCK_FOLDED:case n.Type.BLOCK_LITERAL:return new BlockValue(e,t);case n.Type.FLOW_MAP:case n.Type.FLOW_SEQ:return new FlowCollection(e,t);case n.Type.MAP_KEY:case n.Type.MAP_VALUE:case n.Type.SEQ_ITEM:return new CollectionItem(e,t);case n.Type.COMMENT:case n.Type.PLAIN:return new n.PlainValue(e,t);case n.Type.QUOTE_DOUBLE:return new QuoteDouble(e,t);case n.Type.QUOTE_SINGLE:return new QuoteSingle(e,t);default:return null}}class ParseContext{static parseType(e,t,r){switch(e[t]){case"*":return n.Type.ALIAS;case">":return n.Type.BLOCK_FOLDED;case"|":return n.Type.BLOCK_LITERAL;case"{":return n.Type.FLOW_MAP;case"[":return n.Type.FLOW_SEQ;case"?":return!r&&n.Node.atBlank(e,t+1,true)?n.Type.MAP_KEY:n.Type.PLAIN;case":":return!r&&n.Node.atBlank(e,t+1,true)?n.Type.MAP_VALUE:n.Type.PLAIN;case"-":return!r&&n.Node.atBlank(e,t+1,true)?n.Type.SEQ_ITEM:n.Type.PLAIN;case'"':return n.Type.QUOTE_DOUBLE;case"'":return n.Type.QUOTE_SINGLE;default:return n.Type.PLAIN}}constructor(e={},{atLineStart:t,inCollection:r,inFlow:s,indent:i,lineStart:o,parent:a}={}){n._defineProperty(this,"parseNode",(e,t)=>{if(n.Node.atDocumentBoundary(this.src,t))return null;const r=new ParseContext(this,e);const{props:s,type:i,valueStart:o}=r.parseProps(t);const a=createNewNode(i,s);let l=a.parse(r,o);a.range=new n.Range(t,l);if(l<=t){a.error=new Error(`Node#parse consumed no characters`);a.error.parseEnd=l;a.error.source=a;a.range.end=t+1}if(r.nodeStartsCollection(a)){if(!a.error&&!r.atLineStart&&r.parent.type===n.Type.DOCUMENT){a.error=new n.YAMLSyntaxError(a,"Block collection must not have preceding content here (e.g. directives-end indicator)")}const e=new Collection(a);l=e.parse(new ParseContext(r),l);e.range=new n.Range(t,l);return e}return a});this.atLineStart=t!=null?t:e.atLineStart||false;this.inCollection=r!=null?r:e.inCollection||false;this.inFlow=s!=null?s:e.inFlow||false;this.indent=i!=null?i:e.indent;this.lineStart=o!=null?o:e.lineStart;this.parent=a!=null?a:e.parent||{};this.root=e.root;this.src=e.src}nodeStartsCollection(e){const{inCollection:t,inFlow:r,src:s}=this;if(t||r)return false;if(e instanceof CollectionItem)return true;let i=e.range.end;if(s[i]==="\n"||s[i-1]==="\n")return false;i=n.Node.endOfWhiteSpace(s,i);return s[i]===":"}parseProps(e){const{inFlow:t,parent:r,src:s}=this;const i=[];let o=false;e=this.atLineStart?n.Node.endOfIndent(s,e):n.Node.endOfWhiteSpace(s,e);let a=s[e];while(a===n.Char.ANCHOR||a===n.Char.COMMENT||a===n.Char.TAG||a==="\n"){if(a==="\n"){const t=e+1;const i=n.Node.endOfIndent(s,t);const a=i-(t+this.indent);const l=r.type===n.Type.SEQ_ITEM&&r.context.atLineStart;if(!n.Node.nextNodeIsIndented(s[i],a,!l))break;this.atLineStart=true;this.lineStart=t;o=false;e=i}else if(a===n.Char.COMMENT){const t=n.Node.endOfLine(s,e+1);i.push(new n.Range(e,t));e=t}else{let t=n.Node.endOfIdentifier(s,e+1);if(a===n.Char.TAG&&s[t]===","&&/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+,\d\d\d\d(-\d\d){0,2}\/\S/.test(s.slice(e+1,t+13))){t=n.Node.endOfIdentifier(s,t+5)}i.push(new n.Range(e,t));o=true;e=n.Node.endOfWhiteSpace(s,t)}a=s[e]}if(o&&a===":"&&n.Node.atBlank(s,e+1,true))e-=1;const l=ParseContext.parseType(s,e,t);return{props:i,type:l,valueStart:e}}}function parse(e){const t=[];if(e.indexOf("\r")!==-1){e=e.replace(/\r\n?/g,(e,r)=>{if(e.length>1)t.push(r);return"\n"})}const r=[];let n=0;do{const t=new Document;const s=new ParseContext({src:e});n=t.parse(s,n);r.push(t)}while(n{if(t.length===0)return false;for(let e=1;er.join("...\n"));return r}t.parse=parse},7361:(e,t,r)=>{"use strict";var n=r(2098);function addCommentBefore(e,t,r){if(!r)return e;const n=r.replace(/[\s\S]^/gm,`$&${t}#`);return`#${n}\n${t}${e}`}function addComment(e,t,r){return!r?e:r.indexOf("\n")===-1?`${e} #${r}`:`${e}\n`+r.replace(/^/gm,`${t||""}#`)}class Node{}function toJSON(e,t,r){if(Array.isArray(e))return e.map((e,t)=>toJSON(e,String(t),r));if(e&&typeof e.toJSON==="function"){const n=r&&r.anchors&&r.anchors.get(e);if(n)r.onCreate=(e=>{n.res=e;delete r.onCreate});const s=e.toJSON(t,r);if(n&&r.onCreate)r.onCreate(s);return s}if((!r||!r.keep)&&typeof e==="bigint")return Number(e);return e}class Scalar extends Node{constructor(e){super();this.value=e}toJSON(e,t){return t&&t.keep?this.value:toJSON(this.value,e,t)}toString(){return String(this.value)}}function collectionFromPath(e,t,r){let n=r;for(let e=t.length-1;e>=0;--e){const r=t[e];const s=Number.isInteger(r)&&r>=0?[]:{};s[r]=n;n=s}return e.createNode(n,false)}const s=e=>e==null||typeof e==="object"&&e[Symbol.iterator]().next().done;class Collection extends Node{constructor(e){super();n._defineProperty(this,"items",[]);this.schema=e}addIn(e,t){if(s(e))this.add(t);else{const[r,...n]=e;const s=this.get(r,true);if(s instanceof Collection)s.addIn(n,t);else if(s===undefined&&this.schema)this.set(r,collectionFromPath(this.schema,n,t));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${n}`)}}deleteIn([e,...t]){if(t.length===0)return this.delete(e);const r=this.get(e,true);if(r instanceof Collection)return r.deleteIn(t);else throw new Error(`Expected YAML collection at ${e}. Remaining path: ${t}`)}getIn([e,...t],r){const n=this.get(e,true);if(t.length===0)return!r&&n instanceof Scalar?n.value:n;else return n instanceof Collection?n.getIn(t,r):undefined}hasAllNullValues(){return this.items.every(e=>{if(!e||e.type!=="PAIR")return false;const t=e.value;return t==null||t instanceof Scalar&&t.value==null&&!t.commentBefore&&!t.comment&&!t.tag})}hasIn([e,...t]){if(t.length===0)return this.has(e);const r=this.get(e,true);return r instanceof Collection?r.hasIn(t):false}setIn([e,...t],r){if(t.length===0){this.set(e,r)}else{const n=this.get(e,true);if(n instanceof Collection)n.setIn(t,r);else if(n===undefined&&this.schema)this.set(e,collectionFromPath(this.schema,t,r));else throw new Error(`Expected YAML collection at ${e}. Remaining path: ${t}`)}}toJSON(){return null}toString(e,{blockItem:t,flowChars:r,isMap:s,itemIndent:i},o,a){const{indent:l,indentStep:c,stringify:f}=e;const u=this.type===n.Type.FLOW_MAP||this.type===n.Type.FLOW_SEQ||e.inFlow;if(u)i+=c;const h=s&&this.hasAllNullValues();e=Object.assign({},e,{allNullValues:h,indent:i,inFlow:u,type:null});let p=false;let d=false;const g=this.items.reduce((t,r,n)=>{let s;if(r){if(!p&&r.spaceBefore)t.push({type:"comment",str:""});if(r.commentBefore)r.commentBefore.match(/^.*$/gm).forEach(e=>{t.push({type:"comment",str:`#${e}`})});if(r.comment)s=r.comment;if(u&&(!p&&r.spaceBefore||r.commentBefore||r.comment||r.key&&(r.key.commentBefore||r.key.comment)||r.value&&(r.value.commentBefore||r.value.comment)))d=true}p=false;let o=f(r,e,()=>s=null,()=>p=true);if(u&&!d&&o.includes("\n"))d=true;if(u&&ne.str);if(d||n.reduce((e,t)=>e+t.length+2,2)>Collection.maxFlowStringSingleLineLength){w=e;for(const e of n){w+=e?`\n${c}${l}${e}`:"\n"}w+=`\n${l}${t}`}else{w=`${e} ${n.join(" ")} ${t}`}}else{const e=g.map(t);w=e.shift();for(const t of e)w+=t?`\n${l}${t}`:"\n"}if(this.comment){w+="\n"+this.comment.replace(/^/gm,`${l}#`);if(o)o()}else if(p&&a)a();return w}}n._defineProperty(Collection,"maxFlowStringSingleLineLength",60);function asItemIndex(e){let t=e instanceof Scalar?e.value:e;if(t&&typeof t==="string")t=Number(t);return Number.isInteger(t)&&t>=0?t:null}class YAMLSeq extends Collection{add(e){this.items.push(e)}delete(e){const t=asItemIndex(e);if(typeof t!=="number")return false;const r=this.items.splice(t,1);return r.length>0}get(e,t){const r=asItemIndex(e);if(typeof r!=="number")return undefined;const n=this.items[r];return!t&&n instanceof Scalar?n.value:n}has(e){const t=asItemIndex(e);return typeof t==="number"&&te.type==="comment"?e.str:`- ${e.str}`,flowChars:{start:"[",end:"]"},isMap:false,itemIndent:(e.indent||"")+" "},t,r)}}const i=(e,t,r)=>{if(t===null)return"";if(typeof t!=="object")return String(t);if(e instanceof Node&&r&&r.doc)return e.toString({anchors:{},doc:r.doc,indent:"",indentStep:r.indentStep,inFlow:true,inStringifyKey:true,stringify:r.stringify});return JSON.stringify(t)};class Pair extends Node{constructor(e,t=null){super();this.key=e;this.value=t;this.type=Pair.Type.PAIR}get commentBefore(){return this.key instanceof Node?this.key.commentBefore:undefined}set commentBefore(e){if(this.key==null)this.key=new Scalar(null);if(this.key instanceof Node)this.key.commentBefore=e;else{const e="Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node.";throw new Error(e)}}addToJSMap(e,t){const r=toJSON(this.key,"",e);if(t instanceof Map){const n=toJSON(this.value,r,e);t.set(r,n)}else if(t instanceof Set){t.add(r)}else{const n=i(this.key,r,e);t[n]=toJSON(this.value,n,e)}return t}toJSON(e,t){const r=t&&t.mapAsMap?new Map:{};return this.addToJSMap(t,r)}toString(e,t,r){if(!e||!e.doc)return JSON.stringify(this);const{indent:s,indentSeq:i,simpleKeys:o}=e.doc.options;let{key:a,value:l}=this;let c=a instanceof Node&&a.comment;if(o){if(c){throw new Error("With simple keys, key nodes cannot have comments")}if(a instanceof Collection){const e="With simple keys, collection cannot be used as a key value";throw new Error(e)}}const f=!o&&(!a||c||a instanceof Collection||a.type===n.Type.BLOCK_FOLDED||a.type===n.Type.BLOCK_LITERAL);const{doc:u,indent:h,indentStep:p,stringify:d}=e;e=Object.assign({},e,{implicitKey:!f,indent:h+p});let g=false;let w=d(a,e,()=>c=null,()=>g=true);w=addComment(w,e.indent,c);if(e.allNullValues&&!o){if(this.comment){w=addComment(w,e.indent,this.comment);if(t)t()}else if(g&&!c&&r)r();return e.inFlow?w:`? ${w}`}w=f?`? ${w}\n${h}:`:`${w}:`;if(this.comment){w=addComment(w,e.indent,this.comment);if(t)t()}let y="";let m=null;if(l instanceof Node){if(l.spaceBefore)y="\n";if(l.commentBefore){const t=l.commentBefore.replace(/^/gm,`${e.indent}#`);y+=`\n${t}`}m=l.comment}else if(l&&typeof l==="object"){l=u.schema.createNode(l,true)}e.implicitKey=false;if(!f&&!this.comment&&l instanceof Scalar)e.indentAtStart=w.length+1;g=false;if(!i&&s>=2&&!e.inFlow&&!f&&l instanceof YAMLSeq&&l.type!==n.Type.FLOW_SEQ&&!l.tag&&!u.anchors.getName(l)){e.indent=e.indent.substr(2)}const S=d(l,e,()=>m=null,()=>g=true);let b=" ";if(y||this.comment){b=`${y}\n${e.indent}`}else if(!f&&l instanceof Collection){const t=S[0]==="["||S[0]==="{";if(!t||S.includes("\n"))b=`\n${e.indent}`}if(g&&!m&&r)r();return addComment(w+b+S,e.indent,m)}}n._defineProperty(Pair,"Type",{PAIR:"PAIR",MERGE_PAIR:"MERGE_PAIR"});const o=(e,t)=>{if(e instanceof Alias){const r=t.get(e.source);return r.count*r.aliasCount}else if(e instanceof Collection){let r=0;for(const n of e.items){const e=o(n,t);if(e>r)r=e}return r}else if(e instanceof Pair){const r=o(e.key,t);const n=o(e.value,t);return Math.max(r,n)}return 1};class Alias extends Node{static stringify({range:e,source:t},{anchors:r,doc:n,implicitKey:s,inStringifyKey:i}){let o=Object.keys(r).find(e=>r[e]===t);if(!o&&i)o=n.anchors.getName(t)||n.anchors.newName();if(o)return`*${o}${s?" ":""}`;const a=n.anchors.getName(t)?"Alias node must be after source node":"Source node not found for alias node";throw new Error(`${a} [${e}]`)}constructor(e){super();this.source=e;this.type=n.Type.ALIAS}set tag(e){throw new Error("Alias nodes cannot have tags")}toJSON(e,t){if(!t)return toJSON(this.source,e,t);const{anchors:r,maxAliasCount:s}=t;const i=r.get(this.source);if(!i||i.res===undefined){const e="This should not happen: Alias anchor was not resolved?";if(this.cstNode)throw new n.YAMLReferenceError(this.cstNode,e);else throw new ReferenceError(e)}if(s>=0){i.count+=1;if(i.aliasCount===0)i.aliasCount=o(this.source,r);if(i.count*i.aliasCount>s){const e="Excessive alias count indicates a resource exhaustion attack";if(this.cstNode)throw new n.YAMLReferenceError(this.cstNode,e);else throw new ReferenceError(e)}}return i.res}toString(e){return Alias.stringify(this,e)}}n._defineProperty(Alias,"default",true);function findPair(e,t){const r=t instanceof Scalar?t.value:t;for(const n of e){if(n instanceof Pair){if(n.key===t||n.key===r)return n;if(n.key&&n.key.value===r)return n}}return undefined}class YAMLMap extends Collection{add(e,t){if(!e)e=new Pair(e);else if(!(e instanceof Pair))e=new Pair(e.key||e,e.value);const r=findPair(this.items,e.key);const n=this.schema&&this.schema.sortMapEntries;if(r){if(t)r.value=e.value;else throw new Error(`Key ${e.key} already set`)}else if(n){const t=this.items.findIndex(t=>n(e,t)<0);if(t===-1)this.items.push(e);else this.items.splice(t,0,e)}else{this.items.push(e)}}delete(e){const t=findPair(this.items,e);if(!t)return false;const r=this.items.splice(this.items.indexOf(t),1);return r.length>0}get(e,t){const r=findPair(this.items,e);const n=r&&r.value;return!t&&n instanceof Scalar?n.value:n}has(e){return!!findPair(this.items,e)}set(e,t){this.add(new Pair(e,t),true)}toJSON(e,t,r){const n=r?new r:t&&t.mapAsMap?new Map:{};if(t&&t.onCreate)t.onCreate(n);for(const e of this.items)e.addToJSMap(t,n);return n}toString(e,t,r){if(!e)return JSON.stringify(this);for(const e of this.items){if(!(e instanceof Pair))throw new Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`)}return super.toString(e,{blockItem:e=>e.str,flowChars:{start:"{",end:"}"},isMap:true,itemIndent:e.indent||""},t,r)}}const a="<<";class Merge extends Pair{constructor(e){if(e instanceof Pair){let t=e.value;if(!(t instanceof YAMLSeq)){t=new YAMLSeq;t.items.push(e.value);t.range=e.value.range}super(e.key,t);this.range=e.range}else{super(new Scalar(a),new YAMLSeq)}this.type=Pair.Type.MERGE_PAIR}addToJSMap(e,t){for(const{source:r}of this.value.items){if(!(r instanceof YAMLMap))throw new Error("Merge sources must be maps");const n=r.toJSON(null,e,Map);for(const[e,r]of n){if(t instanceof Map){if(!t.has(e))t.set(e,r)}else if(t instanceof Set){t.add(e)}else{if(!Object.prototype.hasOwnProperty.call(t,e))t[e]=r}}}return t}toString(e,t){const r=this.value;if(r.items.length>1)return super.toString(e,t);this.value=r.items[0];const n=super.toString(e,t);this.value=r;return n}}const l={defaultType:n.Type.BLOCK_LITERAL,lineWidth:76};const c={trueStr:"true",falseStr:"false"};const f={asBigInt:false};const u={nullStr:"null"};const h={defaultType:n.Type.PLAIN,doubleQuoted:{jsonEncoding:false,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};function resolveScalar(e,t,r){for(const{format:r,test:n,resolve:s}of t){if(n){const t=e.match(n);if(t){let e=s.apply(null,t);if(!(e instanceof Scalar))e=new Scalar(e);if(r)e.format=r;return e}}}if(r)e=r(e);return new Scalar(e)}const p="flow";const d="block";const g="quoted";const w=(e,t)=>{let r=e[t+1];while(r===" "||r==="\t"){do{r=e[t+=1]}while(r&&r!=="\n");r=e[t+1]}return t};function foldFlowLines(e,t,r,{indentAtStart:n,lineWidth:s=80,minContentWidth:i=20,onFold:o,onOverflow:a}){if(!s||s<0)return e;const l=Math.max(1+i,1+s-t.length);if(e.length<=l)return e;const c=[];const f={};let u=s-(typeof n==="number"?n:t.length);let h=undefined;let p=undefined;let y=false;let m=-1;if(r===d){m=w(e,m);if(m!==-1)u=m+l}for(let t;t=e[m+=1];){if(r===g&&t==="\\"){switch(e[m+1]){case"x":m+=3;break;case"u":m+=5;break;case"U":m+=9;break;default:m+=1}}if(t==="\n"){if(r===d)m=w(e,m);u=m+l;h=undefined}else{if(t===" "&&p&&p!==" "&&p!=="\n"&&p!=="\t"){const t=e[m+1];if(t&&t!==" "&&t!=="\n"&&t!=="\t")h=m}if(m>=u){if(h){c.push(h);u=h+l;h=undefined}else if(r===g){while(p===" "||p==="\t"){p=t;t=e[m+=1];y=true}c.push(m-2);f[m-2]=true;u=m-2+l;h=undefined}else{y=true}}}p=t}if(y&&a)a();if(c.length===0)return e;if(o)o();let S=e.slice(0,c[0]);for(let n=0;ne?Object.assign({indentAtStart:e},h.fold):h.fold;const m=e=>/^(%|---|\.\.\.)/m.test(e);function lineLengthOverLimit(e,t){const r=e.length;if(r<=t)return false;for(let n=0,s=0;nt)return true;s=n+1;if(r-s<=t)return false}}return true}function doubleQuotedString(e,t){const{implicitKey:r}=t;const{jsonEncoding:n,minMultiLineLength:s}=h.doubleQuoted;const i=JSON.stringify(e);if(n)return i;const o=t.indent||(m(e)?" ":"");let a="";let l=0;for(let e=0,t=i[e];t;t=i[++e]){if(t===" "&&i[e+1]==="\\"&&i[e+2]==="n"){a+=i.slice(l,e)+"\\ ";e+=1;l=e;t="\\"}if(t==="\\")switch(i[e+1]){case"u":{a+=i.slice(l,e);const t=i.substr(e+2,4);switch(t){case"0000":a+="\\0";break;case"0007":a+="\\a";break;case"000b":a+="\\v";break;case"001b":a+="\\e";break;case"0085":a+="\\N";break;case"00a0":a+="\\_";break;case"2028":a+="\\L";break;case"2029":a+="\\P";break;default:if(t.substr(0,2)==="00")a+="\\x"+t.substr(2);else a+=i.substr(e,6)}e+=5;l=e+1}break;case"n":if(r||i[e+2]==='"'||i.length";if(!r)return f+"\n";let u="";let p="";r=r.replace(/[\n\t ]*$/,e=>{const t=e.indexOf("\n");if(t===-1){f+="-"}else if(r===e||t!==e.length-1){f+="+";if(o)o()}p=e.replace(/\n$/,"");return""}).replace(/^[\n ]*/,e=>{if(e.indexOf(" ")!==-1)f+=l;const t=e.match(/ +$/);if(t){u=e.slice(0,-t[0].length);return t[0]}else{u=e;return""}});if(p)p=p.replace(/\n+(?!\n|$)/g,`$&${a}`);if(u)u=u.replace(/\n+/g,`$&${a}`);if(e){f+=" #"+e.replace(/ ?[\r\n]+/g," ");if(i)i()}if(!r)return`${f}${l}\n${a}${p}`;if(c){r=r.replace(/\n+/g,`$&${a}`);return`${f}\n${a}${u}${r}${p}`}r=r.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${a}`);const g=foldFlowLines(`${u}${r}${p}`,a,d,h.fold);return`${f}\n${a}${g}`}function plainString(e,t,r,s){const{comment:i,type:o,value:a}=e;const{actualString:l,implicitKey:c,indent:f,inFlow:u}=t;if(c&&/[\n[\]{},]/.test(a)||u&&/[[\]{},]/.test(a)){return doubleQuotedString(a,t)}if(!a||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(a)){return c||u||a.indexOf("\n")===-1?a.indexOf('"')!==-1&&a.indexOf("'")===-1?singleQuotedString(a,t):doubleQuotedString(a,t):blockString(e,t,r,s)}if(!c&&!u&&o!==n.Type.PLAIN&&a.indexOf("\n")!==-1){return blockString(e,t,r,s)}if(f===""&&m(a)){t.forceBlockIndent=true;return blockString(e,t,r,s)}const h=a.replace(/\n+/g,`$&\n${f}`);if(l){const{tags:e}=t.doc.schema;const r=resolveScalar(h,e,e.scalarFallback).value;if(typeof r!=="string")return doubleQuotedString(a,t)}const d=c?h:foldFlowLines(h,f,p,y(t));if(i&&!u&&(d.indexOf("\n")!==-1||i.indexOf("\n")!==-1)){if(r)r();return addCommentBefore(d,f,i)}return d}function stringifyString(e,t,r,s){const{defaultType:i}=h;const{implicitKey:o,inFlow:a}=t;let{type:l,value:c}=e;if(typeof c!=="string"){c=String(c);e=Object.assign({},e,{value:c})}const f=i=>{switch(i){case n.Type.BLOCK_FOLDED:case n.Type.BLOCK_LITERAL:return blockString(e,t,r,s);case n.Type.QUOTE_DOUBLE:return doubleQuotedString(c,t);case n.Type.QUOTE_SINGLE:return singleQuotedString(c,t);case n.Type.PLAIN:return plainString(e,t,r,s);default:return null}};if(l!==n.Type.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(c)){l=n.Type.QUOTE_DOUBLE}else if((o||a)&&(l===n.Type.BLOCK_FOLDED||l===n.Type.BLOCK_LITERAL)){l=n.Type.QUOTE_DOUBLE}let u=f(l);if(u===null){u=f(i);if(u===null)throw new Error(`Unsupported default string type ${i}`)}return u}function stringifyNumber({format:e,minFractionDigits:t,tag:r,value:n}){if(typeof n==="bigint")return String(n);if(!isFinite(n))return isNaN(n)?".nan":n<0?"-.inf":".inf";let s=JSON.stringify(n);if(!e&&t&&(!r||r==="tag:yaml.org,2002:float")&&/^\d/.test(s)){let e=s.indexOf(".");if(e<0){e=s.length;s+="."}let r=t-(s.length-e-1);while(r-- >0)s+="0"}return s}function checkFlowCollectionEnd(e,t){let r,s;switch(t.type){case n.Type.FLOW_MAP:r="}";s="flow map";break;case n.Type.FLOW_SEQ:r="]";s="flow sequence";break;default:e.push(new n.YAMLSemanticError(t,"Not a flow collection!?"));return}let i;for(let e=t.items.length-1;e>=0;--e){const r=t.items[e];if(!r||r.type!==n.Type.COMMENT){i=r;break}}if(i&&i.char!==r){const o=`Expected ${s} to end with ${r}`;let a;if(typeof i.offset==="number"){a=new n.YAMLSemanticError(t,o);a.offset=i.offset+1}else{a=new n.YAMLSemanticError(i,o);if(i.range&&i.range.end)a.offset=i.range.end-i.range.start}e.push(a)}}function checkFlowCommentSpace(e,t){const r=t.context.src[t.range.start-1];if(r!=="\n"&&r!=="\t"&&r!==" "){const r="Comments must be separated from other tokens by white space characters";e.push(new n.YAMLSemanticError(t,r))}}function getLongKeyError(e,t){const r=String(t);const s=r.substr(0,8)+"..."+r.substr(-8);return new n.YAMLSemanticError(e,`The "${s}" key is too long`)}function resolveComments(e,t){for(const{afterKey:r,before:n,comment:s}of t){let t=e.items[n];if(!t){if(s!==undefined){if(e.comment)e.comment+="\n"+s;else e.comment=s}}else{if(r&&t.value)t=t.value;if(s===undefined){if(r||!t.commentBefore)t.spaceBefore=true}else{if(t.commentBefore)t.commentBefore+="\n"+s;else t.commentBefore=s}}}}function resolveString(e,t){const r=t.strValue;if(!r)return"";if(typeof r==="string")return r;r.errors.forEach(r=>{if(!r.source)r.source=t;e.errors.push(r)});return r.str}function resolveTagHandle(e,t){const{handle:r,suffix:s}=t.tag;let i=e.tagPrefixes.find(e=>e.handle===r);if(!i){const s=e.getDefaults().tagPrefixes;if(s)i=s.find(e=>e.handle===r);if(!i)throw new n.YAMLSemanticError(t,`The ${r} tag handle is non-default and was not declared.`)}if(!s)throw new n.YAMLSemanticError(t,`The ${r} tag has no suffix.`);if(r==="!"&&(e.version||e.options.version)==="1.0"){if(s[0]==="^"){e.warnings.push(new n.YAMLWarning(t,"YAML 1.0 ^ tag expansion is not supported"));return s}if(/[:/]/.test(s)){const e=s.match(/^([a-z0-9-]+)\/(.*)/i);return e?`tag:${e[1]}.yaml.org,2002:${e[2]}`:`tag:${s}`}}return i.prefix+decodeURIComponent(s)}function resolveTagName(e,t){const{tag:r,type:s}=t;let i=false;if(r){const{handle:s,suffix:o,verbatim:a}=r;if(a){if(a!=="!"&&a!=="!!")return a;const r=`Verbatim tags aren't resolved, so ${a} is invalid.`;e.errors.push(new n.YAMLSemanticError(t,r))}else if(s==="!"&&!o){i=true}else{try{return resolveTagHandle(e,t)}catch(t){e.errors.push(t)}}}switch(s){case n.Type.BLOCK_FOLDED:case n.Type.BLOCK_LITERAL:case n.Type.QUOTE_DOUBLE:case n.Type.QUOTE_SINGLE:return n.defaultTags.STR;case n.Type.FLOW_MAP:case n.Type.MAP:return n.defaultTags.MAP;case n.Type.FLOW_SEQ:case n.Type.SEQ:return n.defaultTags.SEQ;case n.Type.PLAIN:return i?n.defaultTags.STR:null;default:return null}}function resolveByTagName(e,t,r){const{tags:n}=e.schema;const s=[];for(const i of n){if(i.tag===r){if(i.test)s.push(i);else{const r=i.resolve(e,t);return r instanceof Collection?r:new Scalar(r)}}}const i=resolveString(e,t);if(typeof i==="string"&&s.length>0)return resolveScalar(i,s,n.scalarFallback);return null}function getFallbackTagName({type:e}){switch(e){case n.Type.FLOW_MAP:case n.Type.MAP:return n.defaultTags.MAP;case n.Type.FLOW_SEQ:case n.Type.SEQ:return n.defaultTags.SEQ;default:return n.defaultTags.STR}}function resolveTag(e,t,r){try{const n=resolveByTagName(e,t,r);if(n){if(r&&t.tag)n.tag=r;return n}}catch(r){if(!r.source)r.source=t;e.errors.push(r);return null}try{const s=getFallbackTagName(t);if(!s)throw new Error(`The tag ${r} is unavailable`);const i=`The tag ${r} is unavailable, falling back to ${s}`;e.warnings.push(new n.YAMLWarning(t,i));const o=resolveByTagName(e,t,s);o.tag=r;return o}catch(r){const s=new n.YAMLReferenceError(t,r.message);s.stack=r.stack;e.errors.push(s);return null}}const S=e=>{if(!e)return false;const{type:t}=e;return t===n.Type.MAP_KEY||t===n.Type.MAP_VALUE||t===n.Type.SEQ_ITEM};function resolveNodeProps(e,t){const r={before:[],after:[]};let s=false;let i=false;const o=S(t.context.parent)?t.context.parent.props.concat(t.props):t.props;for(const{start:a,end:l}of o){switch(t.context.src[a]){case n.Char.COMMENT:{if(!t.commentHasRequiredWhitespace(a)){const r="Comments must be separated from other tokens by white space characters";e.push(new n.YAMLSemanticError(t,r))}const{header:s,valueRange:i}=t;const o=i&&(a>i.start||s&&a>s.start)?r.after:r.before;o.push(t.context.src.slice(a+1,l));break}case n.Char.ANCHOR:if(s){const r="A node can have at most one anchor";e.push(new n.YAMLSemanticError(t,r))}s=true;break;case n.Char.TAG:if(i){const r="A node can have at most one tag";e.push(new n.YAMLSemanticError(t,r))}i=true;break}}return{comments:r,hasAnchor:s,hasTag:i}}function resolveNodeValue(e,t){const{anchors:r,errors:s,schema:i}=e;if(t.type===n.Type.ALIAS){const e=t.rawValue;const i=r.getNode(e);if(!i){const r=`Aliased anchor not found: ${e}`;s.push(new n.YAMLReferenceError(t,r));return null}const o=new Alias(i);r._cstAliases.push(o);return o}const o=resolveTagName(e,t);if(o)return resolveTag(e,t,o);if(t.type!==n.Type.PLAIN){const e=`Failed to resolve ${t.type} node here`;s.push(new n.YAMLSyntaxError(t,e));return null}try{const r=resolveString(e,t);return resolveScalar(r,i.tags,i.tags.scalarFallback)}catch(e){if(!e.source)e.source=t;s.push(e);return null}}function resolveNode(e,t){if(!t)return null;if(t.error)e.errors.push(t.error);const{comments:r,hasAnchor:s,hasTag:i}=resolveNodeProps(e.errors,t);if(s){const{anchors:r}=e;const n=t.anchor;const s=r.getNode(n);if(s)r.map[r.newName(n)]=s;r.map[n]=t}if(t.type===n.Type.ALIAS&&(s||i)){const r="An alias node must not specify any properties";e.errors.push(new n.YAMLSemanticError(t,r))}const o=resolveNodeValue(e,t);if(o){o.range=[t.range.start,t.range.end];if(e.options.keepCstNodes)o.cstNode=t;if(e.options.keepNodeTypes)o.type=t.type;const n=r.before.join("\n");if(n){o.commentBefore=o.commentBefore?`${o.commentBefore}\n${n}`:n}const s=r.after.join("\n");if(s)o.comment=o.comment?`${o.comment}\n${s}`:s}return t.resolved=o}function resolveMap(e,t){if(t.type!==n.Type.MAP&&t.type!==n.Type.FLOW_MAP){const r=`A ${t.type} node cannot be resolved as a mapping`;e.errors.push(new n.YAMLSyntaxError(t,r));return null}const{comments:r,items:s}=t.type===n.Type.FLOW_MAP?resolveFlowMapItems(e,t):resolveBlockMapItems(e,t);const i=new YAMLMap;i.items=s;resolveComments(i,r);let o=false;for(let r=0;r{if(e instanceof Alias){const{type:t}=e.source;if(t===n.Type.MAP||t===n.Type.FLOW_MAP)return false;return o="Merge nodes aliases can only point to maps"}return o="Merge nodes can only have Alias nodes as values"});if(o)e.errors.push(new n.YAMLSemanticError(t,o))}else{for(let o=r+1;o{if(s.length===0)return false;const{start:i}=s[0];if(t&&i>t.valueRange.start)return false;if(r[i]!==n.Char.COMMENT)return false;for(let t=e;t0){r=new n.PlainValue(n.Type.PLAIN,[]);r.context={parent:l,src:l.context.src};const e=l.range.start+1;r.range={start:e,end:e};r.valueRange={start:e,end:e};if(typeof l.range.origStart==="number"){const e=l.range.origStart+1;r.range.origStart=r.range.origEnd=e;r.valueRange.origStart=r.valueRange.origEnd=e}}const a=new Pair(i,resolveNode(e,r));resolvePairComment(l,a);s.push(a);if(i&&typeof o==="number"){if(l.range.start>o+1024)e.errors.push(getLongKeyError(t,i))}i=undefined;o=null}break;default:if(i!==undefined)s.push(new Pair(i));i=resolveNode(e,l);o=l.range.start;if(l.error)e.errors.push(l.error);e:for(let r=a+1;;++r){const s=t.items[r];switch(s&&s.type){case n.Type.BLANK_LINE:case n.Type.COMMENT:continue e;case n.Type.MAP_VALUE:break e;default:{const t="Implicit map keys need to be followed by map values";e.errors.push(new n.YAMLSemanticError(l,t));break e}}}if(l.valueRangeContainsNewline){const t="Implicit map keys need to be on a single line";e.errors.push(new n.YAMLSemanticError(l,t))}}}if(i!==undefined)s.push(new Pair(i));return{comments:r,items:s}}function resolveFlowMapItems(e,t){const r=[];const s=[];let i=undefined;let o=false;let a="{";for(let l=0;le instanceof Pair&&e.key instanceof Collection)){const r="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";e.warnings.push(new n.YAMLWarning(t,r))}t.resolved=i;return i}function resolveBlockSeqItems(e,t){const r=[];const s=[];for(let i=0;ia+1024)e.errors.push(getLongKeyError(t,o));const{src:s}=c.context;for(let t=a;t{"use strict";var n=r(2098);var s=r(7361);const i={identify:e=>e instanceof Uint8Array,default:false,tag:"tag:yaml.org,2002:binary",resolve:(e,t)=>{const r=s.resolveString(e,t);if(typeof Buffer==="function"){return Buffer.from(r,"base64")}else if(typeof atob==="function"){const e=atob(r.replace(/[\n\r]/g,""));const t=new Uint8Array(e.length);for(let r=0;r{let l;if(typeof Buffer==="function"){l=r instanceof Buffer?r.toString("base64"):Buffer.from(r.buffer).toString("base64")}else if(typeof btoa==="function"){let e="";for(let t=0;t1){const e="Each pair must have its own sequence indicator";throw new n.YAMLSemanticError(t,e)}const e=i.items[0]||new s.Pair;if(i.commentBefore)e.commentBefore=e.commentBefore?`${i.commentBefore}\n${e.commentBefore}`:i.commentBefore;if(i.comment)e.comment=e.comment?`${i.comment}\n${e.comment}`:i.comment;i=e}r.items[e]=i instanceof s.Pair?i:new s.Pair(i)}return r}function createPairs(e,t,r){const n=new s.YAMLSeq(e);n.tag="tag:yaml.org,2002:pairs";for(const s of t){let t,i;if(Array.isArray(s)){if(s.length===2){t=s[0];i=s[1]}else throw new TypeError(`Expected [key, value] tuple: ${s}`)}else if(s&&s instanceof Object){const e=Object.keys(s);if(e.length===1){t=e[0];i=s[t]}else throw new TypeError(`Expected { key: value } tuple: ${s}`)}else{t=s}const o=e.createPair(t,i,r);n.items.push(o)}return n}const o={default:false,tag:"tag:yaml.org,2002:pairs",resolve:parsePairs,createNode:createPairs};class YAMLOMap extends s.YAMLSeq{constructor(){super();n._defineProperty(this,"add",s.YAMLMap.prototype.add.bind(this));n._defineProperty(this,"delete",s.YAMLMap.prototype.delete.bind(this));n._defineProperty(this,"get",s.YAMLMap.prototype.get.bind(this));n._defineProperty(this,"has",s.YAMLMap.prototype.has.bind(this));n._defineProperty(this,"set",s.YAMLMap.prototype.set.bind(this));this.tag=YAMLOMap.tag}toJSON(e,t){const r=new Map;if(t&&t.onCreate)t.onCreate(r);for(const e of this.items){let n,i;if(e instanceof s.Pair){n=s.toJSON(e.key,"",t);i=s.toJSON(e.value,n,t)}else{n=s.toJSON(e,"",t)}if(r.has(n))throw new Error("Ordered maps must not include duplicate keys");r.set(n,i)}return r}}n._defineProperty(YAMLOMap,"tag","tag:yaml.org,2002:omap");function parseOMap(e,t){const r=parsePairs(e,t);const i=[];for(const{key:e}of r.items){if(e instanceof s.Scalar){if(i.includes(e.value)){const e="Ordered maps must not include duplicate keys";throw new n.YAMLSemanticError(t,e)}else{i.push(e.value)}}}return Object.assign(new YAMLOMap,r)}function createOMap(e,t,r){const n=createPairs(e,t,r);const s=new YAMLOMap;s.items=n.items;return s}const a={identify:e=>e instanceof Map,nodeClass:YAMLOMap,default:false,tag:"tag:yaml.org,2002:omap",resolve:parseOMap,createNode:createOMap};class YAMLSet extends s.YAMLMap{constructor(){super();this.tag=YAMLSet.tag}add(e){const t=e instanceof s.Pair?e:new s.Pair(e);const r=s.findPair(this.items,t.key);if(!r)this.items.push(t)}get(e,t){const r=s.findPair(this.items,e);return!t&&r instanceof s.Pair?r.key instanceof s.Scalar?r.key.value:r.key:r}set(e,t){if(typeof t!=="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);const r=s.findPair(this.items,e);if(r&&!t){this.items.splice(this.items.indexOf(r),1)}else if(!r&&t){this.items.push(new s.Pair(e))}}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,r){if(!e)return JSON.stringify(this);if(this.hasAllNullValues())return super.toString(e,t,r);else throw new Error("Set items must all have null values")}}n._defineProperty(YAMLSet,"tag","tag:yaml.org,2002:set");function parseSet(e,t){const r=s.resolveMap(e,t);if(!r.hasAllNullValues())throw new n.YAMLSemanticError(t,"Set items must all have null values");return Object.assign(new YAMLSet,r)}function createSet(e,t,r){const n=new YAMLSet;for(const s of t)n.items.push(e.createPair(s,null,r));return n}const l={identify:e=>e instanceof Set,nodeClass:YAMLSet,default:false,tag:"tag:yaml.org,2002:set",resolve:parseSet,createNode:createSet};const c=(e,t)=>{const r=t.split(":").reduce((e,t)=>e*60+Number(t),0);return e==="-"?-r:r};const f=({value:e})=>{if(isNaN(e)||!isFinite(e))return s.stringifyNumber(e);let t="";if(e<0){t="-";e=Math.abs(e)}const r=[e%60];if(e<60){r.unshift(0)}else{e=Math.round((e-r[0])/60);r.unshift(e%60);if(e>=60){e=Math.round((e-r[0])/60);r.unshift(e)}}return t+r.map(e=>e<10?"0"+String(e):String(e)).join(":").replace(/000000\d*$/,"")};const u={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+)$/,resolve:(e,t,r)=>c(t,r.replace(/_/g,"")),stringify:f};const h={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*)$/,resolve:(e,t,r)=>c(t,r.replace(/_/g,"")),stringify:f};const p={identify:e=>e instanceof Date,default:true,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^(?:"+"([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})"+"(?:(?:t|T|[ \\t]+)"+"([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)"+"(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?"+")?"+")$"),resolve:(e,t,r,n,s,i,o,a,l)=>{if(a)a=(a+"00").substr(1,3);let f=Date.UTC(t,r-1,n,s||0,i||0,o||0,a||0);if(l&&l!=="Z"){let e=c(l[0],l.slice(1));if(Math.abs(e)<30)e*=60;f-=6e4*e}return new Date(f)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")};function shouldWarn(e){const t=typeof process!=="undefined"&&process.env||{};if(e){if(typeof YAML_SILENCE_DEPRECATION_WARNINGS!=="undefined")return!YAML_SILENCE_DEPRECATION_WARNINGS;return!t.YAML_SILENCE_DEPRECATION_WARNINGS}if(typeof YAML_SILENCE_WARNINGS!=="undefined")return!YAML_SILENCE_WARNINGS;return!t.YAML_SILENCE_WARNINGS}function warn(e,t){if(shouldWarn(false)){const r=typeof process!=="undefined"&&process.emitWarning;if(r)r(e,t);else{console.warn(t?`${t}: ${e}`:e)}}}function warnFileDeprecation(e){if(shouldWarn(true)){const t=e.replace(/.*yaml[/\\]/i,"").replace(/\.js$/,"").replace(/\\/g,"/");warn(`The endpoint 'yaml/${t}' will be removed in a future release.`,"DeprecationWarning")}}const d={};function warnOptionDeprecation(e,t){if(!d[e]&&shouldWarn(true)){d[e]=true;let r=`The option '${e}' will be removed in a future release`;r+=t?`, use '${t}' instead.`:".";warn(r,"DeprecationWarning")}}t.binary=i;t.floatTime=h;t.intTime=u;t.omap=a;t.pairs=o;t.set=l;t.timestamp=p;t.warn=warn;t.warnFileDeprecation=warnFileDeprecation;t.warnOptionDeprecation=warnOptionDeprecation},6918:(e,t,r)=>{e.exports=r(5712).YAML},2099:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Explorer=void 0;var n=_interopRequireDefault(r(5622));var s=r(7340);var i=r(3723);var o=r(7911);var a=r(92);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class Explorer extends s.ExplorerBase{constructor(e){super(e)}async search(e=process.cwd()){const t=await(0,a.getDirectory)(e);const r=await this.searchFromDirectory(t);return r}async searchFromDirectory(e){const t=n.default.resolve(process.cwd(),e);const r=async()=>{const e=await this.searchDirectory(t);const r=this.nextDirectoryToSearch(t,e);if(r){return this.searchFromDirectory(r)}const n=await this.config.transform(e);return n};if(this.searchCache){return(0,o.cacheWrapper)(this.searchCache,t,r)}return r()}async searchDirectory(e){for await(const t of this.config.searchPlaces){const r=await this.loadSearchPlace(e,t);if(this.shouldSearchStopWithResult(r)===true){return r}}return null}async loadSearchPlace(e,t){const r=n.default.join(e,t);const s=await(0,i.readFile)(r);const o=await this.createCosmiconfigResult(r,s);return o}async loadFileContent(e,t){if(t===null){return null}if(t.trim()===""){return undefined}const r=this.getLoaderEntryForFile(e);const n=await r(e,t);return n}async createCosmiconfigResult(e,t){const r=await this.loadFileContent(e,t);const n=this.loadedContentToCosmiconfigResult(e,r);return n}async load(e){this.validateFilePath(e);const t=n.default.resolve(process.cwd(),e);const r=async()=>{const e=await(0,i.readFile)(t,{throwNotFound:true});const r=await this.createCosmiconfigResult(t,e);const n=await this.config.transform(r);return n};if(this.loadCache){return(0,o.cacheWrapper)(this.loadCache,t,r)}return r()}}t.Explorer=Explorer},7340:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getExtensionDescription=getExtensionDescription;t.ExplorerBase=void 0;var n=_interopRequireDefault(r(5622));var s=r(1751);var i=r(5777);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class ExplorerBase{constructor(e){if(e.cache===true){this.loadCache=new Map;this.searchCache=new Map}this.config=e;this.validateConfig()}clearLoadCache(){if(this.loadCache){this.loadCache.clear()}}clearSearchCache(){if(this.searchCache){this.searchCache.clear()}}clearCaches(){this.clearLoadCache();this.clearSearchCache()}validateConfig(){const e=this.config;e.searchPlaces.forEach(t=>{const r=n.default.extname(t)||"noExt";const s=e.loaders[r];if(!s){throw new Error(`No loader specified for ${getExtensionDescription(t)}, so searchPlaces item "${t}" is invalid`)}if(typeof s!=="function"){throw new Error(`loader for ${getExtensionDescription(t)} is not a function (type provided: "${typeof s}"), so searchPlaces item "${t}" is invalid`)}})}shouldSearchStopWithResult(e){if(e===null)return false;if(e.isEmpty&&this.config.ignoreEmptySearchPlaces)return false;return true}nextDirectoryToSearch(e,t){if(this.shouldSearchStopWithResult(t)){return null}const r=nextDirUp(e);if(r===e||e===this.config.stopDir){return null}return r}loadPackageProp(e,t){const r=s.loaders.loadJson(e,t);const n=(0,i.getPropertyByPath)(r,this.config.packageProp);return n||null}getLoaderEntryForFile(e){if(n.default.basename(e)==="package.json"){const e=this.loadPackageProp.bind(this);return e}const t=n.default.extname(e)||"noExt";const r=this.config.loaders[t];if(!r){throw new Error(`No loader specified for ${getExtensionDescription(e)}`)}return r}loadedContentToCosmiconfigResult(e,t){if(t===null){return null}if(t===undefined){return{filepath:e,config:undefined,isEmpty:true}}return{config:t,filepath:e}}validateFilePath(e){if(!e){throw new Error("load must pass a non-empty string")}}}t.ExplorerBase=ExplorerBase;function nextDirUp(e){return n.default.dirname(e)}function getExtensionDescription(e){const t=n.default.extname(e);return t?`extension "${t}"`:"files without extensions"}},7487:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExplorerSync=void 0;var n=_interopRequireDefault(r(5622));var s=r(7340);var i=r(3723);var o=r(7911);var a=r(92);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class ExplorerSync extends s.ExplorerBase{constructor(e){super(e)}searchSync(e=process.cwd()){const t=(0,a.getDirectorySync)(e);const r=this.searchFromDirectorySync(t);return r}searchFromDirectorySync(e){const t=n.default.resolve(process.cwd(),e);const r=()=>{const e=this.searchDirectorySync(t);const r=this.nextDirectoryToSearch(t,e);if(r){return this.searchFromDirectorySync(r)}const n=this.config.transform(e);return n};if(this.searchCache){return(0,o.cacheWrapperSync)(this.searchCache,t,r)}return r()}searchDirectorySync(e){for(const t of this.config.searchPlaces){const r=this.loadSearchPlaceSync(e,t);if(this.shouldSearchStopWithResult(r)===true){return r}}return null}loadSearchPlaceSync(e,t){const r=n.default.join(e,t);const s=(0,i.readFileSync)(r);const o=this.createCosmiconfigResultSync(r,s);return o}loadFileContentSync(e,t){if(t===null){return null}if(t.trim()===""){return undefined}const r=this.getLoaderEntryForFile(e);const n=r(e,t);return n}createCosmiconfigResultSync(e,t){const r=this.loadFileContentSync(e,t);const n=this.loadedContentToCosmiconfigResult(e,r);return n}loadSync(e){this.validateFilePath(e);const t=n.default.resolve(process.cwd(),e);const r=()=>{const e=(0,i.readFileSync)(t,{throwNotFound:true});const r=this.createCosmiconfigResultSync(t,e);const n=this.config.transform(r);return n};if(this.loadCache){return(0,o.cacheWrapperSync)(this.loadCache,t,r)}return r()}}t.ExplorerSync=ExplorerSync},7911:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.cacheWrapper=cacheWrapper;t.cacheWrapperSync=cacheWrapperSync;async function cacheWrapper(e,t,r){const n=e.get(t);if(n!==undefined){return n}const s=await r();e.set(t,s);return s}function cacheWrapperSync(e,t,r){const n=e.get(t);if(n!==undefined){return n}const s=r();e.set(t,s);return s}},92:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getDirectory=getDirectory;t.getDirectorySync=getDirectorySync;var n=_interopRequireDefault(r(5622));var s=r(2527);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}async function getDirectory(e){const t=await(0,s.isDirectory)(e);if(t===true){return e}const r=n.default.dirname(e);return r}function getDirectorySync(e){const t=(0,s.isDirectorySync)(e);if(t===true){return e}const r=n.default.dirname(e);return r}},5777:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getPropertyByPath=getPropertyByPath;function getPropertyByPath(e,t){if(typeof t==="string"&&Object.prototype.hasOwnProperty.call(e,t)){return e[t]}const r=typeof t==="string"?t.split("."):t;return r.reduce((e,t)=>{if(e===undefined){return e}return e[t]},e)}},8018:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.cosmiconfig=cosmiconfig;t.cosmiconfigSync=cosmiconfigSync;t.defaultLoaders=void 0;var n=_interopRequireDefault(r(2087));var s=r(2099);var i=r(7487);var o=r(1751);var a=r(5695);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function cosmiconfig(e,t={}){const r=normalizeOptions(e,t);const n=new s.Explorer(r);return{search:n.search.bind(n),load:n.load.bind(n),clearLoadCache:n.clearLoadCache.bind(n),clearSearchCache:n.clearSearchCache.bind(n),clearCaches:n.clearCaches.bind(n)}}function cosmiconfigSync(e,t={}){const r=normalizeOptions(e,t);const n=new i.ExplorerSync(r);return{search:n.searchSync.bind(n),load:n.loadSync.bind(n),clearLoadCache:n.clearLoadCache.bind(n),clearSearchCache:n.clearSearchCache.bind(n),clearCaches:n.clearCaches.bind(n)}}const l=Object.freeze({".cjs":o.loaders.loadJs,".js":o.loaders.loadJs,".json":o.loaders.loadJson,".yaml":o.loaders.loadYaml,".yml":o.loaders.loadYaml,noExt:o.loaders.loadYaml});t.defaultLoaders=l;const c=function identity(e){return e};function normalizeOptions(e,t){const r={packageProp:e,searchPlaces:["package.json",`.${e}rc`,`.${e}rc.json`,`.${e}rc.yaml`,`.${e}rc.yml`,`.${e}rc.js`,`.${e}rc.cjs`,`${e}.config.js`,`${e}.config.cjs`],ignoreEmptySearchPlaces:true,stopDir:n.default.homedir(),cache:true,transform:c,loaders:l};const s={...r,...t,loaders:{...r.loaders,...t.loaders}};return s}},1751:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.loaders=void 0;let n;const s=function loadJs(e){if(n===undefined){n=r(4786)}const t=n(e);return t};let i;const o=function loadJson(e,t){if(i===undefined){i=r(8222)}try{const r=i(t);return r}catch(t){t.message=`JSON Error in ${e}:\n${t.message}`;throw t}};let a;const l=function loadYaml(e,t){if(a===undefined){a=r(6918)}try{const r=a.parse(t,{prettyErrors:true});return r}catch(t){t.message=`YAML Error in ${e}:\n${t.message}`;throw t}};const c={loadJs:s,loadJson:o,loadYaml:l};t.loaders=c},3723:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.readFile=readFile;t.readFileSync=readFileSync;var n=_interopRequireDefault(r(5747));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}async function fsReadFileAsync(e,t){return new Promise((r,s)=>{n.default.readFile(e,t,(e,t)=>{if(e){s(e);return}r(t)})})}async function readFile(e,t={}){const r=t.throwNotFound===true;try{const t=await fsReadFileAsync(e,"utf8");return t}catch(e){if(r===false&&e.code==="ENOENT"){return null}throw e}}function readFileSync(e,t={}){const r=t.throwNotFound===true;try{const t=n.default.readFileSync(e,"utf8");return t}catch(e){if(r===false&&e.code==="ENOENT"){return null}throw e}}},5695:()=>{"use strict"},8222:(e,t,r)=>{"use strict";const n=r(9736);const s=r(5235);const{default:i}=r(6356);const{codeFrameColumns:o}=r(7548);const a=n("JSONError",{fileName:n.append("in %s"),codeFrame:n.append("\n\n%s\n")});e.exports=((e,t,r)=>{if(typeof t==="string"){r=t;t=null}try{try{return JSON.parse(e,t)}catch(r){s(e,t);throw r}}catch(t){t.message=t.message.replace(/\n/g,"");const n=t.message.match(/in JSON at position (\d+) while parsing near/);const s=new a(t);if(r){s.fileName=r}if(n&&n.length>0){const t=new i(e);const r=Number(n[1]);const a=t.locationForIndex(r);const l=o(e,{start:{line:a.line+1,column:a.column+1}},{highlightCode:true});s.codeFrame=l}throw s}})},2527:(e,t,r)=>{"use strict";const{promisify:n}=r(1669);const s=r(5747);async function isType(e,t,r){if(typeof r!=="string"){throw new TypeError(`Expected a string, got ${typeof r}`)}try{const i=await n(s[e])(r);return i[t]()}catch(e){if(e.code==="ENOENT"){return false}throw e}}function isTypeSync(e,t,r){if(typeof r!=="string"){throw new TypeError(`Expected a string, got ${typeof r}`)}try{return s[e](r)[t]()}catch(e){if(e.code==="ENOENT"){return false}throw e}}t.isFile=isType.bind(null,"stat","isFile");t.isDirectory=isType.bind(null,"stat","isDirectory");t.isSymlink=isType.bind(null,"lstat","isSymbolicLink");t.isFileSync=isTypeSync.bind(null,"statSync","isFile");t.isDirectorySync=isTypeSync.bind(null,"statSync","isDirectory");t.isSymlinkSync=isTypeSync.bind(null,"lstatSync","isSymbolicLink")},3518:e=>{"use strict";class SyntaxError extends Error{constructor(e){super(e);const{line:t,column:r,reason:n,plugin:s,file:i}=e;this.name="SyntaxError";this.message=`${this.name}\n\n`;if(typeof t!=="undefined"){this.message+=`(${t}:${r}) `}this.message+=s?`${s}: `:"";this.message+=i?`${i} `:" ";this.message+=`${n}`;const o=e.showSourceCode();if(o){this.message+=`\n\n${o}\n`}this.stack=false}}e.exports=SyntaxError},2555:e=>{"use strict";class Warning extends Error{constructor(e){super(e);const{text:t,line:r,column:n,plugin:s}=e;this.name="Warning";this.message=`${this.name}\n\n`;if(typeof r!=="undefined"){this.message+=`(${r}:${n}) `}this.message+=s?`${s}: `:"";this.message+=`${t}`;this.stack=false}}e.exports=Warning},3082:(e,t,r)=>{"use strict";e.exports=r(2072).default},2072:(e,t,r)=>{"use strict";var n;n={value:true};t.default=loader;var s=r(8710);var i=_interopRequireDefault(r(3225));var o=_interopRequireDefault(r(8547));var a=r(2519);var l=_interopRequireDefault(r(4698));var c=_interopRequireDefault(r(2555));var f=_interopRequireDefault(r(3518));var u=_interopRequireDefault(r(7988));var h=r(2351);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}async function loader(e,t,r){const n=(0,s.getOptions)(this);(0,i.default)(u.default,n,{name:"PostCSS Loader",baseDataPath:"options"});const p=this.async();const d=typeof n.postcssOptions==="undefined"||typeof n.postcssOptions.config==="undefined"?true:n.postcssOptions.config;let g;if(d){try{g=await(0,h.loadConfig)(this,d)}catch(e){p(e);return}}const w=typeof n.sourceMap!=="undefined"?n.sourceMap:this.sourceMap;const{plugins:y,processOptions:m}=(0,h.getPostcssOptions)(this,g,n.postcssOptions);if(w){m.map={inline:false,annotation:false,...m.map}}if(t&&m.map){m.map.prev=(0,h.normalizeSourceMap)(t,this.context)}let S;if(r&&r.ast&&r.ast.type==="postcss"&&(0,a.satisfies)(r.ast.version,`^${l.default.version}`)){({root:S}=r.ast)}if(!S&&n.execute){e=(0,h.exec)(e,this)}let b;try{b=await(0,o.default)(y).process(S||e,m)}catch(e){if(e.file){this.addDependency(e.file)}if(e.name==="CssSyntaxError"){p(new f.default(e))}else{p(e)}return}for(const e of b.warnings()){this.emitWarning(new c.default(e))}for(const e of b.messages){if(e.type==="dependency"){this.addDependency(e.file)}if(e.type==="asset"&&e.content&&e.file){this.emitFile(e.file,e.content,e.sourceMap,e.info)}}let O=b.map?b.map.toJSON():undefined;if(O&&w){O=(0,h.normalizeSourceMapAfterPostcss)(O,this.context)}const A={type:"postcss",version:b.processor.version,root:b.root};p(null,b.css,O,{ast:A})}},2351:(e,t,r)=>{"use strict";e=r.nmd(e);Object.defineProperty(t,"__esModule",{value:true});t.loadConfig=loadConfig;t.getPostcssOptions=getPostcssOptions;t.exec=exec;t.normalizeSourceMap=normalizeSourceMap;t.normalizeSourceMapAfterPostcss=normalizeSourceMapAfterPostcss;var n=_interopRequireDefault(r(5622));var s=_interopRequireDefault(r(2282));var i=r(7153);var o=r(8018);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const a=e;const l=(e,t)=>new Promise((r,n)=>{e.stat(t,(e,t)=>{if(e){n(e)}r(t)})});function exec(e,t){const{resource:r,context:n}=t;const i=new s.default(r,a);i.paths=s.default._nodeModulePaths(n);i.filename=r;i._compile(e,r);return i.exports}async function loadConfig(e,t){const r=typeof t==="string"?n.default.resolve(t):n.default.dirname(e.resourcePath);let s;try{s=await l(e.fs,r)}catch(e){throw new Error(`No PostCSS config found in: ${r}`)}const a=(0,o.cosmiconfig)("postcss");let c;try{if(s.isFile()){c=await a.load(r)}else{c=await a.search(r)}}catch(e){throw e}if(!c){return{}}e.addDependency(c.filepath);if(c.isEmpty){return c}if(typeof c.config==="function"){const t={mode:e.mode,file:e.resourcePath,webpackLoaderContext:e};c.config=c.config(t)}c=(0,i.klona)(c);return c}function loadPlugin(e,t,r){try{if(!t||Object.keys(t).length===0){const t=require(e);if(t.default){return t.default}return t}const n=require(e);if(n.default){return n.default(t)}return n(t)}catch(t){throw new Error(`Loading PostCSS "${e}" plugin failed: ${t.message}\n\n(@${r})`)}}function pluginFactory(){const e=new Map;return t=>{if(typeof t==="undefined"){return e}if(Array.isArray(t)){for(const r of t){if(Array.isArray(r)){const[t,n]=r;e.set(t,n)}else if(r&&typeof r==="function"){e.set(r)}else if(r&&Object.keys(r).length===1&&(typeof r[Object.keys(r)[0]]==="object"||typeof r[Object.keys(r)[0]]==="boolean")&&r[Object.keys(r)[0]]!==null){const[t]=Object.keys(r);const n=r[t];if(n===false){e.delete(t)}else{e.set(t,n)}}else if(r){e.set(r)}}}else{const r=Object.entries(t);for(const[t,n]of r){if(n===false){e.delete(t)}else{e.set(t,n)}}}return e}}function getPostcssOptions(e,t={},r={}){const s=e.resourcePath;let o=r;if(typeof o==="function"){o=o(e)}let a=[];try{const r=pluginFactory();if(t.config&&t.config.plugins){r(t.config.plugins)}r(o.plugins);a=[...r()].map(e=>{const[t,r]=e;if(typeof t==="string"){return loadPlugin(t,r,s)}return t})}catch(t){e.emitError(t)}const l=t.config||{};if(l.from){l.from=n.default.resolve(n.default.dirname(t.filepath),l.from)}if(l.to){l.to=n.default.resolve(n.default.dirname(t.filepath),l.to)}delete l.plugins;const c=(0,i.klona)(o);if(c.from){c.from=n.default.resolve(e.rootContext,c.from)}if(c.to){c.to=n.default.resolve(e.rootContext,c.to)}delete c.config;delete c.plugins;const f={from:s,to:s,map:false,...l,...c};if(typeof f.parser==="string"){try{f.parser=require(f.parser)}catch(t){e.emitError(new Error(`Loading PostCSS "${f.parser}" parser failed: ${t.message}\n\n(@${s})`))}}if(typeof f.stringifier==="string"){try{f.stringifier=require(f.stringifier)}catch(t){e.emitError(new Error(`Loading PostCSS "${f.stringifier}" stringifier failed: ${t.message}\n\n(@${s})`))}}if(typeof f.syntax==="string"){try{f.syntax=require(f.syntax)}catch(t){e.emitError(new Error(`Loading PostCSS "${f.syntax}" syntax failed: ${t.message}\n\n(@${s})`))}}if(f.map===true){f.map={inline:true}}return{plugins:a,processOptions:f}}const c=/^[a-z]:[/\\]|^\\\\/i;const f=/^[a-z0-9+\-.]+:/i;function getURLType(e){if(e[0]==="/"){if(e[1]==="/"){return"scheme-relative"}return"path-absolute"}if(c.test(e)){return"path-absolute"}return f.test(e)?"absolute":"path-relative"}function normalizeSourceMap(e,t){let r=e;if(typeof r==="string"){r=JSON.parse(r)}delete r.file;const{sourceRoot:s}=r;delete r.sourceRoot;if(r.sources){r.sources=r.sources.map(e=>{const r=getURLType(e);if(r==="path-relative"||r==="path-absolute"){const i=r==="path-relative"&&s?n.default.resolve(s,n.default.normalize(e)):n.default.normalize(e);return n.default.relative(t,i)}return e})}return r}function normalizeSourceMapAfterPostcss(e,t){const r=e;delete r.file;r.sourceRoot="";r.sources=r.sources.map(e=>{if(e.indexOf("<")===0){return e}const r=getURLType(e);if(r==="path-relative"){return n.default.resolve(t,e)}return e});return r}},6942:(e,t,r)=>{"use strict";let n=r(9190);class AtRule extends n{constructor(e){super(e);this.type="atrule"}append(...e){if(!this.proxyOf.nodes)this.nodes=[];return super.append(...e)}prepend(...e){if(!this.proxyOf.nodes)this.nodes=[];return super.prepend(...e)}}e.exports=AtRule;AtRule.default=AtRule;n.registerAtRule(AtRule)},8472:(e,t,r)=>{"use strict";let n=r(2759);class Comment extends n{constructor(e){super(e);this.type="comment"}}e.exports=Comment;Comment.default=Comment},9190:(e,t,r)=>{"use strict";let n=r(7892);let{isClean:s}=r(1932);let i=r(8472);let o=r(2759);let a,l,c;function cleanSource(e){return e.map(e=>{if(e.nodes)e.nodes=cleanSource(e.nodes);delete e.source;return e})}function markDirtyUp(e){e[s]=false;if(e.proxyOf.nodes){for(let t of e.proxyOf.nodes){markDirtyUp(t)}}}function rebuild(e){if(e.type==="atrule"){Object.setPrototypeOf(e,c.prototype)}else if(e.type==="rule"){Object.setPrototypeOf(e,l.prototype)}else if(e.type==="decl"){Object.setPrototypeOf(e,n.prototype)}else if(e.type==="comment"){Object.setPrototypeOf(e,i.prototype)}if(e.nodes){e.nodes.forEach(e=>{rebuild(e)})}}class Container extends o{push(e){e.parent=this;this.proxyOf.nodes.push(e);return this}each(e){if(!this.proxyOf.nodes)return undefined;let t=this.getIterator();let r,n;while(this.indexes[t]{let n;try{n=e(t,r)}catch(e){throw t.addToError(e)}if(n!==false&&t.walk){n=t.walk(e)}return n})}walkDecls(e,t){if(!t){t=e;return this.walk((e,r)=>{if(e.type==="decl"){return t(e,r)}})}if(e instanceof RegExp){return this.walk((r,n)=>{if(r.type==="decl"&&e.test(r.prop)){return t(r,n)}})}return this.walk((r,n)=>{if(r.type==="decl"&&r.prop===e){return t(r,n)}})}walkRules(e,t){if(!t){t=e;return this.walk((e,r)=>{if(e.type==="rule"){return t(e,r)}})}if(e instanceof RegExp){return this.walk((r,n)=>{if(r.type==="rule"&&e.test(r.selector)){return t(r,n)}})}return this.walk((r,n)=>{if(r.type==="rule"&&r.selector===e){return t(r,n)}})}walkAtRules(e,t){if(!t){t=e;return this.walk((e,r)=>{if(e.type==="atrule"){return t(e,r)}})}if(e instanceof RegExp){return this.walk((r,n)=>{if(r.type==="atrule"&&e.test(r.name)){return t(r,n)}})}return this.walk((r,n)=>{if(r.type==="atrule"&&r.name===e){return t(r,n)}})}walkComments(e){return this.walk((t,r)=>{if(t.type==="comment"){return e(t,r)}})}append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}this.markDirty();return this}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes){this.indexes[t]=this.indexes[t]+e.length}}this.markDirty();return this}cleanRaws(e){super.cleanRaws(e);if(this.nodes){for(let t of this.nodes)t.cleanRaws(e)}}insertBefore(e,t){e=this.index(e);let r=e===0?"prepend":false;let n=this.normalize(t,this.proxyOf.nodes[e],r).reverse();for(let t of n)this.proxyOf.nodes.splice(e,0,t);let s;for(let t in this.indexes){s=this.indexes[t];if(e<=s){this.indexes[t]=s+n.length}}this.markDirty();return this}insertAfter(e,t){e=this.index(e);let r=this.normalize(t,this.proxyOf.nodes[e]).reverse();for(let t of r)this.proxyOf.nodes.splice(e+1,0,t);let n;for(let t in this.indexes){n=this.indexes[t];if(e=e){this.indexes[r]=t-1}}this.markDirty();return this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=undefined;this.proxyOf.nodes=[];this.markDirty();return this}replaceValues(e,t,r){if(!r){r=t;t={}}this.walkDecls(n=>{if(t.props&&!t.props.includes(n.prop))return;if(t.fast&&!n.value.includes(t.fast))return;n.value=n.value.replace(e,r)});this.markDirty();return this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){if(typeof e==="number")return e;if(e.proxyOf)e=e.proxyOf;return this.proxyOf.nodes.indexOf(e)}get first(){if(!this.proxyOf.nodes)return undefined;return this.proxyOf.nodes[0]}get last(){if(!this.proxyOf.nodes)return undefined;return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(e,t){if(typeof e==="string"){e=cleanSource(a(e).nodes)}else if(Array.isArray(e)){e=e.slice(0);for(let t of e){if(t.parent)t.parent.removeChild(t,"ignore")}}else if(e.type==="root"){e=e.nodes.slice(0);for(let t of e){if(t.parent)t.parent.removeChild(t,"ignore")}}else if(e.type){e=[e]}else if(e.prop){if(typeof e.value==="undefined"){throw new Error("Value field is missed in node creation")}else if(typeof e.value!=="string"){e.value=String(e.value)}e=[new n(e)]}else if(e.selector){e=[new l(e)]}else if(e.name){e=[new c(e)]}else if(e.text){e=[new i(e)]}else{throw new Error("Unknown node type in node creation")}let r=e.map(e=>{if(typeof e.markDirty!=="function")rebuild(e);if(e.parent)e.parent.removeChild(e);if(e[s])markDirtyUp(e);if(typeof e.raws.before==="undefined"){if(t&&typeof t.raws.before!=="undefined"){e.raws.before=t.raws.before.replace(/\S/g,"")}}e.parent=this;return e});return r}getProxyProcessor(){return{set(e,t,r){if(e[t]===r)return true;e[t]=r;if(t==="name"||t==="params"||t==="selector"){e.markDirty()}return true},get(e,t){if(t==="proxyOf"){return e}else if(!e[t]){return e[t]}else if(t==="each"||typeof t==="string"&&t.startsWith("walk")){return(...r)=>{return e[t](...r.map(e=>{if(typeof e==="function"){return(t,r)=>e(t.toProxy(),r)}else{return e}}))}}else if(t==="every"||t==="some"){return r=>{return e[t]((e,...t)=>r(e.toProxy(),...t))}}else if(t==="root"){return()=>e.root().toProxy()}else if(t==="nodes"){return e.nodes.map(e=>e.toProxy())}else if(t==="first"||t==="last"){return e[t].toProxy()}else{return e[t]}}}}getIterator(){if(!this.lastEach)this.lastEach=0;if(!this.indexes)this.indexes={};this.lastEach+=1;let e=this.lastEach;this.indexes[e]=0;return e}}Container.registerParse=(e=>{a=e});Container.registerRule=(e=>{l=e});Container.registerAtRule=(e=>{c=e});e.exports=Container;Container.default=Container},1540:(e,t,r)=>{"use strict";let{red:n,bold:s,gray:i,options:o}=r(1185);let a=r(3536);class CssSyntaxError extends Error{constructor(e,t,r,n,s,i){super(e);this.name="CssSyntaxError";this.reason=e;if(s){this.file=s}if(n){this.source=n}if(i){this.plugin=i}if(typeof t!=="undefined"&&typeof r!=="undefined"){this.line=t;this.column=r}this.setMessage();if(Error.captureStackTrace){Error.captureStackTrace(this,CssSyntaxError)}}setMessage(){this.message=this.plugin?this.plugin+": ":"";this.message+=this.file?this.file:"";if(typeof this.line!=="undefined"){this.message+=":"+this.line+":"+this.column}this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;if(e==null)e=o.enabled;if(a){if(e)t=a(t)}let r=t.split(/\r?\n/);let l=Math.max(this.line-3,0);let c=Math.min(this.line+2,r.length);let f=String(c).length;let u,h;if(e){u=(e=>s(n(e)));h=(e=>i(e))}else{u=h=(e=>e)}return r.slice(l,c).map((e,t)=>{let r=l+1+t;let n=" "+(" "+r).slice(-f)+" | ";if(r===this.line){let t=h(n.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return u(">")+h(n)+e+"\n "+t+u("^")}return" "+h(n)+e}).join("\n")}toString(){let e=this.showSourceCode();if(e){e="\n\n"+e+"\n"}return this.name+": "+this.message+e}}e.exports=CssSyntaxError;CssSyntaxError.default=CssSyntaxError},7892:(e,t,r)=>{"use strict";let n=r(2759);class Declaration extends n{constructor(e){if(e&&typeof e.value!=="undefined"&&typeof e.value!=="string"){e={...e,value:String(e.value)}}super(e);this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}e.exports=Declaration;Declaration.default=Declaration},4639:(e,t,r)=>{"use strict";let{fileURLToPath:n,pathToFileURL:s}=r(8835);let{resolve:i,isAbsolute:o}=r(5622);let{nanoid:a}=r(9067);let l=r(674);let c=r(3536);let f=r(1540);let u=r(8446);class Input{constructor(e,t={}){if(e===null||typeof e==="undefined"||typeof e==="object"&&!e.toString){throw new Error(`PostCSS received ${e} instead of CSS string`)}this.css=e.toString();if(this.css[0]==="\ufeff"||this.css[0]==="￾"){this.hasBOM=true;this.css=this.css.slice(1)}else{this.hasBOM=false}if(t.from){if(/^\w+:\/\//.test(t.from)||o(t.from)){this.file=t.from}else{this.file=i(t.from)}}let r=new u(this.css,t);if(r.text){this.map=r;let e=r.consumer().file;if(!this.file&&e)this.file=this.mapResolve(e)}if(!this.file){this.id=""}if(this.map)this.map.file=this.from}fromOffset(e){let t=l(this.css);this.fromOffset=(e=>t.fromIndex(e));return this.fromOffset(e)}error(e,t,r,n={}){let i;if(!r){let e=this.fromOffset(t);t=e.line;r=e.col}let o=this.origin(t,r);if(o){i=new f(e,o.line,o.column,o.source,o.file,n.plugin)}else{i=new f(e,t,r,this.css,this.file,n.plugin)}i.input={line:t,column:r,source:this.css};if(this.file){i.input.url=s(this.file).toString();i.input.file=this.file}return i}origin(e,t){if(!this.map)return false;let r=this.map.consumer();let i=r.originalPositionFor({line:e,column:t});if(!i.source)return false;let a;if(o(i.source)){a=s(i.source)}else{a=new URL(i.source,this.map.consumer().sourceRoot||s(this.map.mapFile))}let l={url:a.toString(),line:i.line,column:i.column};if(a.protocol==="file:"){l.file=n(a)}let c=r.sourceContentFor(i.source);if(c)l.source=c;return l}mapResolve(e){if(/^\w+:\/\//.test(e)){return e}return i(this.map.consumer().sourceRoot||this.map.root||".",e)}get from(){return this.file||this.id}}e.exports=Input;Input.default=Input;if(c&&c.registerInput){c.registerInput(Input)}},3420:(e,t,r)=>{"use strict";let n=r(8072);let{isClean:s}=r(1932);let i=r(7411);let o=r(3855);let a=r(4038);let l=r(9009);let c=r(6015);const f={root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"};const u=0;function isPromise(e){return typeof e==="object"&&typeof e.then==="function"}function getEvents(e){let t=false;let r=f[e.type];if(e.type==="decl"){t=e.prop.toLowerCase()}else if(e.type==="atrule"){t=e.name.toLowerCase()}if(t&&e.append){return[r,r+"-"+t,u,r+"Exit",r+"Exit-"+t]}else if(t){return[r,r+"-"+t,r+"Exit",r+"Exit-"+t]}else if(e.append){return[r,u,r+"Exit"]}else{return[r,r+"Exit"]}}function toStack(e){let t;if(e.type==="root"){t=["Root",u,"RootExit"]}else{t=getEvents(e)}return{node:e,events:t,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function cleanMarks(e){e[s]=false;if(e.nodes)e.nodes.forEach(e=>cleanMarks(e));return e}let h={};class LazyResult{constructor(e,t,r){this.stringified=false;this.processed=false;let n;if(typeof t==="object"&&t!==null&&t.type==="root"){n=cleanMarks(t)}else if(t instanceof LazyResult||t instanceof a){n=cleanMarks(t.root);if(t.map){if(typeof r.map==="undefined")r.map={};if(!r.map.inline)r.map.inline=false;r.map.prev=t.map}}else{let e=l;if(r.syntax)e=r.syntax.parse;if(r.parser)e=r.parser;if(e.parse)e=e.parse;try{n=e(t,r)}catch(e){this.processed=true;this.error=e}}this.result=new a(e,n,r);this.helpers={...h,result:this.result,postcss:h};this.plugins=this.processor.plugins.map(e=>{if(typeof e==="object"&&e.prepare){return{...e,...e.prepare(this.result)}}else{return e}})}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(e,t){if(process.env.NODE_ENV!=="production"){if(!("from"in this.opts)){o("Without `from` option PostCSS could generate wrong source map "+"and will not find Browserslist config. Set it to CSS file path "+"or to `undefined` to prevent this warning.")}}return this.async().then(e,t)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){if(this.error)return Promise.reject(this.error);if(this.processed)return Promise.resolve(this.result);if(!this.processing){this.processing=this.runAsync()}return this.processing}sync(){if(this.error)throw this.error;if(this.processed)return this.result;this.processed=true;if(this.processing){throw this.getAsyncError()}for(let e of this.plugins){let t=this.runOnRoot(e);if(isPromise(t)){throw this.getAsyncError()}}this.prepareVisitors();if(this.hasListener){let e=this.result.root;while(!e[s]){e[s]=true;this.walkSync(e)}if(this.listeners.OnceExit){this.visitSync(this.listeners.OnceExit,e)}}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=true;this.sync();let e=this.result.opts;let t=i;if(e.syntax)t=e.syntax.stringify;if(e.stringifier)t=e.stringifier;if(t.stringify)t=t.stringify;let r=new n(t,this.result.root,this.result.opts);let s=r.generate();this.result.css=s[0];this.result.map=s[1];return this.result}walkSync(e){e[s]=true;let t=getEvents(e);for(let r of t){if(r===u){if(e.nodes){e.each(e=>{if(!e[s])this.walkSync(e)})}}else{let t=this.listeners[r];if(t){if(this.visitSync(t,e.toProxy()))return}}}}visitSync(e,t){for(let[r,n]of e){this.result.lastPlugin=r;let e;try{e=n(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if(t.type!=="root"&&!t.parent)return true;if(isPromise(e)){throw this.getAsyncError()}}}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e==="object"&&e.Once){return e.Once(this.result.root,this.helpers)}else if(typeof e==="function"){return e(this.result.root,this.result)}}catch(e){throw this.handleError(e)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let r=this.result.lastPlugin;try{if(t)t.addToError(e);this.error=e;if(e.name==="CssSyntaxError"&&!e.plugin){e.plugin=r.postcssPlugin;e.setMessage()}else if(r.postcssVersion){if(process.env.NODE_ENV!=="production"){let e=r.postcssPlugin;let t=r.postcssVersion;let n=this.result.processor.version;let s=t.split(".");let i=n.split(".");if(s[0]!==i[0]||parseInt(s[1])>parseInt(i[1])){console.error("Unknown error from PostCSS plugin. Your current PostCSS "+"version is "+n+", but "+e+" uses "+t+". Perhaps this is the source of the error below.")}}}}catch(e){if(console&&console.error)console.error(e)}return e}async runAsync(){this.plugin=0;for(let e=0;e0){let e=this.visitTick(t);if(isPromise(e)){try{await e}catch(e){let r=t[t.length-1].node;throw this.handleError(e,r)}}}}if(this.listeners.OnceExit){for(let[t,r]of this.listeners.OnceExit){this.result.lastPlugin=t;try{await r(e,this.helpers)}catch(e){throw this.handleError(e)}}}}this.processed=true;return this.stringify()}prepareVisitors(){this.listeners={};let e=(e,t,r)=>{if(!this.listeners[t])this.listeners[t]=[];this.listeners[t].push([e,r])};for(let t of this.plugins){if(typeof t==="object"){for(let r of["Root","Declaration","Rule","AtRule","Comment","DeclarationExit","RuleExit","AtRuleExit","CommentExit","RootExit","OnceExit"]){if(typeof t[r]==="object"){for(let n in t[r]){if(n==="*"){e(t,r,t[r][n])}else{e(t,r+"-"+n.toLowerCase(),t[r][n])}}}else if(typeof t[r]==="function"){e(t,r,t[r])}}}}this.hasListener=Object.keys(this.listeners).length>0}visitTick(e){let t=e[e.length-1];let{node:r,visitors:n}=t;if(r.type!=="root"&&!r.parent){e.pop();return}if(n.length>0&&t.visitorIndex{h=e});e.exports=LazyResult;LazyResult.default=LazyResult;c.registerLazyResult(LazyResult)},457:e=>{"use strict";let t={split(e,t,r){let n=[];let s="";let i=false;let o=0;let a=false;let l=false;for(let r of e){if(a){if(l){l=false}else if(r==="\\"){l=true}else if(r===a){a=false}}else if(r==='"'||r==="'"){a=r}else if(r==="("){o+=1}else if(r===")"){if(o>0)o-=1}else if(o===0){if(t.includes(r))i=true}if(i){if(s!=="")n.push(s.trim());s="";i=false}else{s+=r}}if(r||s!=="")n.push(s.trim());return n},space(e){let r=[" ","\n","\t"];return t.split(e,r)},comma(e){return t.split(e,[","],true)}};e.exports=t;t.default=t},8072:(e,t,r)=>{"use strict";let{dirname:n,resolve:s,relative:i,sep:o}=r(5622);let{pathToFileURL:a}=r(8835);let l=r(6241);class MapGenerator{constructor(e,t,r){this.stringify=e;this.mapOpts=r.map||{};this.root=t;this.opts=r}isMap(){if(typeof this.opts.map!=="undefined"){return!!this.opts.map}return this.previous().length>0}previous(){if(!this.previousMaps){this.previousMaps=[];this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;if(!this.previousMaps.includes(t)){this.previousMaps.push(t)}}})}return this.previousMaps}isInline(){if(typeof this.mapOpts.inline!=="undefined"){return this.mapOpts.inline}let e=this.mapOpts.annotation;if(typeof e!=="undefined"&&e!==true){return false}if(this.previous().length){return this.previous().some(e=>e.inline)}return true}isSourcesContent(){if(typeof this.mapOpts.sourcesContent!=="undefined"){return this.mapOpts.sourcesContent}if(this.previous().length){return this.previous().some(e=>e.withContent())}return true}clearAnnotation(){if(this.mapOpts.annotation===false)return;let e;for(let t=this.root.nodes.length-1;t>=0;t--){e=this.root.nodes[t];if(e.type!=="comment")continue;if(e.text.indexOf("# sourceMappingURL=")===0){this.root.removeChild(t)}}}setSourcesContent(){let e={};this.root.walk(t=>{if(t.source){let r=t.source.input.from;if(r&&!e[r]){e[r]=true;this.map.setSourceContent(this.toUrl(this.path(r)),t.source.input.css)}}})}applyPrevMaps(){for(let e of this.previous()){let t=this.toUrl(this.path(e.file));let r=e.root||n(e.file);let s;if(this.mapOpts.sourcesContent===false){s=new l.SourceMapConsumer(e.text);if(s.sourcesContent){s.sourcesContent=s.sourcesContent.map(()=>null)}}else{s=e.consumer()}this.map.applySourceMap(s,t,this.toUrl(this.path(r)))}}isAnnotation(){if(this.isInline()){return true}if(typeof this.mapOpts.annotation!=="undefined"){return this.mapOpts.annotation}if(this.previous().length){return this.previous().some(e=>e.annotation)}return true}toBase64(e){if(Buffer){return Buffer.from(e).toString("base64")}else{return window.btoa(unescape(encodeURIComponent(e)))}}addAnnotation(){let e;if(this.isInline()){e="data:application/json;base64,"+this.toBase64(this.map.toString())}else if(typeof this.mapOpts.annotation==="string"){e=this.mapOpts.annotation}else if(typeof this.mapOpts.annotation==="function"){e=this.mapOpts.annotation(this.opts.to,this.root)}else{e=this.outputFile()+".map"}let t="\n";if(this.css.includes("\r\n"))t="\r\n";this.css+=t+"/*# sourceMappingURL="+e+" */"}outputFile(){if(this.opts.to){return this.path(this.opts.to)}if(this.opts.from){return this.path(this.opts.from)}return"to.css"}generateMap(){this.generateString();if(this.isSourcesContent())this.setSourcesContent();if(this.previous().length>0)this.applyPrevMaps();if(this.isAnnotation())this.addAnnotation();if(this.isInline()){return[this.css]}return[this.css,this.map]}path(e){if(e.indexOf("<")===0)return e;if(/^\w+:\/\//.test(e))return e;if(this.mapOpts.absolute)return e;let t=this.opts.to?n(this.opts.to):".";if(typeof this.mapOpts.annotation==="string"){t=n(s(t,this.mapOpts.annotation))}e=i(t,e);return e}toUrl(e){if(o==="\\"){e=e.replace(/\\/g,"/")}return encodeURI(e).replace(/[#?]/g,encodeURIComponent)}sourcePath(e){if(this.mapOpts.from){return this.toUrl(this.mapOpts.from)}else if(this.mapOpts.absolute){return a(e.source.input.from).toString()}else{return this.toUrl(this.path(e.source.input.from))}}generateString(){this.css="";this.map=new l.SourceMapGenerator({file:this.outputFile()});let e=1;let t=1;let r,n;this.stringify(this.root,(s,i,o)=>{this.css+=s;if(i&&o!=="end"){if(i.source&&i.source.start){this.map.addMapping({source:this.sourcePath(i),generated:{line:e,column:t-1},original:{line:i.source.start.line,column:i.source.start.column-1}})}else{this.map.addMapping({source:"",original:{line:1,column:0},generated:{line:e,column:t-1}})}}r=s.match(/\n/g);if(r){e+=r.length;n=s.lastIndexOf("\n");t=s.length-n}else{t+=s.length}if(i&&o!=="start"){let r=i.parent||{raws:{}};if(i.type!=="decl"||i!==r.last||r.raws.semicolon){if(i.source&&i.source.end){this.map.addMapping({source:this.sourcePath(i),generated:{line:e,column:t-2},original:{line:i.source.end.line,column:i.source.end.column-1}})}else{this.map.addMapping({source:"",original:{line:1,column:0},generated:{line:e,column:t-1}})}}}})}generate(){this.clearAnnotation();if(this.isMap()){return this.generateMap()}let e="";this.stringify(this.root,t=>{e+=t});return[e]}}e.exports=MapGenerator},2759:(e,t,r)=>{"use strict";let n=r(1540);let s=r(1552);let{isClean:i}=r(1932);let o=r(7411);function cloneNode(e,t){let r=new e.constructor;for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n)){continue}if(n==="proxyCache")continue;let s=e[n];let i=typeof s;if(n==="parent"&&i==="object"){if(t)r[n]=t}else if(n==="source"){r[n]=s}else if(Array.isArray(s)){r[n]=s.map(e=>cloneNode(e,r))}else{if(i==="object"&&s!==null)s=cloneNode(s);r[n]=s}}return r}class Node{constructor(e={}){this.raws={};this[i]=false;for(let t in e){if(t==="nodes"){this.nodes=[];for(let r of e[t]){if(typeof r.clone==="function"){this.append(r.clone())}else{this.append(r)}}}else{this[t]=e[t]}}}error(e,t={}){if(this.source){let r=this.positionBy(t);return this.source.input.error(e,r.line,r.column,t)}return new n(e)}warn(e,t,r){let n={node:this};for(let e in r)n[e]=r[e];return e.warn(t,n)}remove(){if(this.parent){this.parent.removeChild(this)}this.parent=undefined;return this}toString(e=o){if(e.stringify)e=e.stringify;let t="";e(this,e=>{t+=e});return t}clone(e={}){let t=cloneNode(this);for(let r in e){t[r]=e[r]}return t}cloneBefore(e={}){let t=this.clone(e);this.parent.insertBefore(this,t);return t}cloneAfter(e={}){let t=this.clone(e);this.parent.insertAfter(this,t);return t}replaceWith(...e){if(this.parent){let t=this;let r=false;for(let n of e){if(n===this){r=true}else if(r){this.parent.insertAfter(t,n);t=n}else{this.parent.insertBefore(t,n)}}if(!r){this.remove()}}return this}next(){if(!this.parent)return undefined;let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){if(!this.parent)return undefined;let e=this.parent.index(this);return this.parent.nodes[e-1]}before(e){this.parent.insertBefore(this,e);return this}after(e){this.parent.insertAfter(this,e);return this}root(){let e=this;while(e.parent)e=e.parent;return e}raw(e,t){let r=new s;return r.raw(this,e,t)}cleanRaws(e){delete this.raws.before;delete this.raws.after;if(!e)delete this.raws.between}toJSON(){let e={};for(let t in this){if(!Object.prototype.hasOwnProperty.call(this,t)){continue}if(t==="parent")continue;let r=this[t];if(Array.isArray(r)){e[t]=r.map(e=>{if(typeof e==="object"&&e.toJSON){return e.toJSON()}else{return e}})}else if(typeof r==="object"&&r.toJSON){e[t]=r.toJSON()}else{e[t]=r}}return e}positionInside(e){let t=this.toString();let r=this.source.start.column;let n=this.source.start.line;for(let s=0;se.root().toProxy()}else{return e[t]}}}}toProxy(){if(!this.proxyCache){this.proxyCache=new Proxy(this,this.getProxyProcessor())}return this.proxyCache}addToError(e){e.postcssNode=this;if(e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}markDirty(){if(this[i]){this[i]=false;let e=this;while(e=e.parent){e[i]=false}}}get proxyOf(){return this}}e.exports=Node;Node.default=Node},9009:(e,t,r)=>{"use strict";let n=r(9190);let s=r(2411);let i=r(4639);function parse(e,t){let r=new i(e,t);let n=new s(r);try{n.parse()}catch(e){if(process.env.NODE_ENV!=="production"){if(e.name==="CssSyntaxError"&&t&&t.from){if(/\.scss$/i.test(t.from)){e.message+="\nYou tried to parse SCSS with "+"the standard CSS parser; "+"try again with the postcss-scss parser"}else if(/\.sass/i.test(t.from)){e.message+="\nYou tried to parse Sass with "+"the standard CSS parser; "+"try again with the postcss-sass parser"}else if(/\.less$/i.test(t.from)){e.message+="\nYou tried to parse Less with "+"the standard CSS parser; "+"try again with the postcss-less parser"}}}throw e}return n.root}e.exports=parse;parse.default=parse;n.registerParse(parse)},2411:(e,t,r)=>{"use strict";let n=r(7892);let s=r(4956);let i=r(8472);let o=r(6942);let a=r(6015);let l=r(2545);class Parser{constructor(e){this.input=e;this.root=new a;this.current=this.root;this.spaces="";this.semicolon=false;this.customProperty=false;this.createTokenizer();this.root.source={input:e,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=s(this.input)}parse(){let e;while(!this.tokenizer.endOfFile()){e=this.tokenizer.nextToken();switch(e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}}this.endFile()}comment(e){let t=new i;this.init(t,e[2]);t.source.end=this.getPosition(e[3]||e[2]);let r=e[1].slice(2,-2);if(/^\s*$/.test(r)){t.text="";t.raws.left=r;t.raws.right=""}else{let e=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2];t.raws.left=e[1];t.raws.right=e[3]}}emptyRule(e){let t=new l;this.init(t,e[2]);t.selector="";t.raws.between="";this.current=t}other(e){let t=false;let r=null;let n=false;let s=null;let i=[];let o=e[1].startsWith("--");let a=[];let l=e;while(l){r=l[0];a.push(l);if(r==="("||r==="["){if(!s)s=l;i.push(r==="("?")":"]")}else if(o&&n&&r==="{"){if(!s)s=l;i.push("}")}else if(i.length===0){if(r===";"){if(n){this.decl(a,o);return}else{break}}else if(r==="{"){this.rule(a);return}else if(r==="}"){this.tokenizer.back(a.pop());t=true;break}else if(r===":"){n=true}}else if(r===i[i.length-1]){i.pop();if(i.length===0)s=null}l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile())t=true;if(i.length>0)this.unclosedBracket(s);if(t&&n){while(a.length){l=a[a.length-1][0];if(l!=="space"&&l!=="comment")break;this.tokenizer.back(a.pop())}this.decl(a,o)}else{this.unknownWord(a)}}rule(e){e.pop();let t=new l;this.init(t,e[0][2]);t.raws.between=this.spacesAndCommentsFromEnd(e);this.raw(t,"selector",e);this.current=t}decl(e,t){let r=new n;this.init(r,e[0][2]);let s=e[e.length-1];if(s[0]===";"){this.semicolon=true;e.pop()}r.source.end=this.getPosition(s[3]||s[2]);while(e[0][0]!=="word"){if(e.length===1)this.unknownWord(e);r.raws.before+=e.shift()[1]}r.source.start=this.getPosition(e[0][2]);r.prop="";while(e.length){let t=e[0][0];if(t===":"||t==="space"||t==="comment"){break}r.prop+=e.shift()[1]}r.raws.between="";let i;while(e.length){i=e.shift();if(i[0]===":"){r.raws.between+=i[1];break}else{if(i[0]==="word"&&/\w/.test(i[1])){this.unknownWord([i])}r.raws.between+=i[1]}}if(r.prop[0]==="_"||r.prop[0]==="*"){r.raws.before+=r.prop[0];r.prop=r.prop.slice(1)}let o=this.spacesAndCommentsFromStart(e);this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){i=e[t];if(i[1].toLowerCase()==="!important"){r.important=true;let n=this.stringFrom(e,t);n=this.spacesFromEnd(e)+n;if(n!==" !important")r.raws.important=n;break}else if(i[1].toLowerCase()==="important"){let n=e.slice(0);let s="";for(let e=t;e>0;e--){let t=n[e][0];if(s.trim().indexOf("!")===0&&t!=="space"){break}s=n.pop()[1]+s}if(s.trim().indexOf("!")===0){r.important=true;r.raws.important=s;e=n}}if(i[0]!=="space"&&i[0]!=="comment"){break}}let a=e.some(e=>e[0]!=="space"&&e[0]!=="comment");this.raw(r,"value",e);if(a){r.raws.between+=o}else{r.value=o+r.value}if(r.value.includes(":")&&!t){this.checkMissedSemicolon(e)}}atrule(e){let t=new o;t.name=e[1].slice(1);if(t.name===""){this.unnamedAtrule(t,e)}this.init(t,e[2]);let r;let n;let s;let i=false;let a=false;let l=[];let c=[];while(!this.tokenizer.endOfFile()){e=this.tokenizer.nextToken();r=e[0];if(r==="("||r==="["){c.push(r==="("?")":"]")}else if(r==="{"&&c.length>0){c.push("}")}else if(r===c[c.length-1]){c.pop()}if(c.length===0){if(r===";"){t.source.end=this.getPosition(e[2]);this.semicolon=true;break}else if(r==="{"){a=true;break}else if(r==="}"){if(l.length>0){s=l.length-1;n=l[s];while(n&&n[0]==="space"){n=l[--s]}if(n){t.source.end=this.getPosition(n[3]||n[2])}}this.end(e);break}else{l.push(e)}}else{l.push(e)}if(this.tokenizer.endOfFile()){i=true;break}}t.raws.between=this.spacesAndCommentsFromEnd(l);if(l.length){t.raws.afterName=this.spacesAndCommentsFromStart(l);this.raw(t,"params",l);if(i){e=l[l.length-1];t.source.end=this.getPosition(e[3]||e[2]);this.spaces=t.raws.between;t.raws.between=""}}else{t.raws.afterName="";t.params=""}if(a){t.nodes=[];this.current=t}}end(e){if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.semicolon=false;this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.spaces="";if(this.current.parent){this.current.source.end=this.getPosition(e[2]);this.current=this.current.parent}else{this.unexpectedClose(e)}}endFile(){if(this.current.parent)this.unclosedBlock();if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.current.raws.after=(this.current.raws.after||"")+this.spaces}freeSemicolon(e){this.spaces+=e[1];if(this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];if(e&&e.type==="rule"&&!e.raws.ownSemicolon){e.raws.ownSemicolon=this.spaces;this.spaces=""}}}getPosition(e){let t=this.input.fromOffset(e);return{offset:e,line:t.line,column:t.col}}init(e,t){this.current.push(e);e.source={start:this.getPosition(t),input:this.input};e.raws.before=this.spaces;this.spaces="";if(e.type!=="comment")this.semicolon=false}raw(e,t,r){let n,s;let i=r.length;let o="";let a=true;let l,c;let f=/^([#.|])?(\w)+/i;for(let t=0;te+t[1],"");e.raws[t]={value:o,raw:n}}e[t]=o}spacesAndCommentsFromEnd(e){let t;let r="";while(e.length){t=e[e.length-1][0];if(t!=="space"&&t!=="comment")break;r=e.pop()[1]+r}return r}spacesAndCommentsFromStart(e){let t;let r="";while(e.length){t=e[0][0];if(t!=="space"&&t!=="comment")break;r+=e.shift()[1]}return r}spacesFromEnd(e){let t;let r="";while(e.length){t=e[e.length-1][0];if(t!=="space")break;r=e.pop()[1]+r}return r}stringFrom(e,t){let r="";for(let n=t;n=0;s--){n=e[s];if(n[0]!=="space"){r+=1;if(r===2)break}}throw this.input.error("Missed semicolon",n[2])}}e.exports=Parser},8547:(e,t,r)=>{"use strict";let n=r(1540);let s=r(7892);let i=r(3420);let o=r(9190);let a=r(2376);let l=r(7411);let c=r(1994);let f=r(8472);let u=r(6942);let h=r(4038);let p=r(4639);let d=r(9009);let g=r(457);let w=r(2545);let y=r(6015);let m=r(2759);function postcss(...e){if(e.length===1&&Array.isArray(e[0])){e=e[0]}return new a(e,postcss)}postcss.plugin=function plugin(e,t){if(console&&console.warn){console.warn("postcss.plugin was deprecated. Migration guide:\n"+"https://evilmartians.com/chronicles/postcss-8-plugin-migration");if(process.env.LANG&&process.env.LANG.startsWith("cn")){console.warn("postcss.plugin 被弃用. 迁移指南:\n"+"https://www.w3ctech.com/topic/2226")}}function creator(...r){let n=t(...r);n.postcssPlugin=e;n.postcssVersion=(new a).version;return n}let r;Object.defineProperty(creator,"postcss",{get(){if(!r)r=creator();return r}});creator.process=function(e,t,r){return postcss([creator(r)]).process(e,t)};return creator};postcss.stringify=l;postcss.parse=d;postcss.list=g;postcss.comment=(e=>new f(e));postcss.atRule=(e=>new u(e));postcss.decl=(e=>new s(e));postcss.rule=(e=>new w(e));postcss.root=(e=>new y(e));postcss.CssSyntaxError=n;postcss.Declaration=s;postcss.Container=o;postcss.Comment=f;postcss.Warning=c;postcss.AtRule=u;postcss.Result=h;postcss.Input=p;postcss.Rule=w;postcss.Root=y;postcss.Node=m;i.registerPostcss(postcss);e.exports=postcss;postcss.default=postcss},8446:(e,t,r)=>{"use strict";let{existsSync:n,readFileSync:s}=r(5747);let{dirname:i,join:o}=r(5622);let a=r(6241);function fromBase64(e){if(Buffer){return Buffer.from(e,"base64").toString()}else{return window.atob(e)}}class PreviousMap{constructor(e,t){if(t.map===false)return;this.loadAnnotation(e);this.inline=this.startWith(this.annotation,"data:");let r=t.map?t.map.prev:undefined;let n=this.loadMap(t.from,r);if(!this.mapFile&&t.from){this.mapFile=t.from}if(this.mapFile)this.root=i(this.mapFile);if(n)this.text=n}consumer(){if(!this.consumerCache){this.consumerCache=new a.SourceMapConsumer(this.text)}return this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(e,t){if(!e)return false;return e.substr(0,t.length)===t}getAnnotationURL(e){return e.match(/\/\*\s*# sourceMappingURL=(.*)\s*\*\//)[1].trim()}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=.*\s*\*\//gm);if(t&&t.length>0){let e=t[t.length-1];if(e){this.annotation=this.getAnnotationURL(e)}}}decodeInline(e){let t=/^data:application\/json;charset=utf-?8;base64,/;let r=/^data:application\/json;base64,/;let n=/^data:application\/json;charset=utf-?8,/;let s=/^data:application\/json,/;if(n.test(e)||s.test(e)){return decodeURIComponent(e.substr(RegExp.lastMatch.length))}if(t.test(e)||r.test(e)){return fromBase64(e.substr(RegExp.lastMatch.length))}let i=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+i)}loadFile(e){this.root=i(e);if(n(e)){this.mapFile=e;return s(e,"utf-8").toString().trim()}}loadMap(e,t){if(t===false)return false;if(t){if(typeof t==="string"){return t}else if(typeof t==="function"){let r=t(e);if(r){let e=this.loadFile(r);if(!e){throw new Error("Unable to load previous source map: "+r.toString())}return e}}else if(t instanceof a.SourceMapConsumer){return a.SourceMapGenerator.fromSourceMap(t).toString()}else if(t instanceof a.SourceMapGenerator){return t.toString()}else if(this.isMap(t)){return JSON.stringify(t)}else{throw new Error("Unsupported previous source map format: "+t.toString())}}else if(this.inline){return this.decodeInline(this.annotation)}else if(this.annotation){let t=this.annotation;if(e)t=o(i(e),t);return this.loadFile(t)}}isMap(e){if(typeof e!=="object")return false;return typeof e.mappings==="string"||typeof e._mappings==="string"||Array.isArray(e.sections)}}e.exports=PreviousMap;PreviousMap.default=PreviousMap},2376:(e,t,r)=>{"use strict";let n=r(3420);let s=r(6015);class Processor{constructor(e=[]){this.version="8.1.7";this.plugins=this.normalize(e)}use(e){this.plugins=this.plugins.concat(this.normalize([e]));return this}process(e,t={}){if(this.plugins.length===0&&t.parser===t.stringifier&&!t.hideNothingWarning){if(process.env.NODE_ENV!=="production"){if(typeof console!=="undefined"&&console.warn){console.warn("You did not set any plugins, parser, or stringifier. "+"Right now, PostCSS does nothing. Pick plugins for your case "+"on https://www.postcss.parts/ and use them in postcss.config.js.")}}}return new n(this,e,t)}normalize(e){let t=[];for(let r of e){if(r.postcss===true){r=r()}else if(r.postcss){r=r.postcss}if(typeof r==="object"&&Array.isArray(r.plugins)){t=t.concat(r.plugins)}else if(typeof r==="object"&&r.postcssPlugin){t.push(r)}else if(typeof r==="function"){t.push(r)}else if(typeof r==="object"&&(r.parse||r.stringify)){if(process.env.NODE_ENV!=="production"){throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use "+"one of the syntax/parser/stringifier options as outlined "+"in your PostCSS runner documentation.")}}else{throw new Error(r+" is not a PostCSS plugin")}}return t}}e.exports=Processor;Processor.default=Processor;s.registerProcessor(Processor)},4038:(e,t,r)=>{"use strict";let n=r(1994);class Result{constructor(e,t,r){this.processor=e;this.messages=[];this.root=t;this.opts=r;this.css=undefined;this.map=undefined}toString(){return this.css}warn(e,t={}){if(!t.plugin){if(this.lastPlugin&&this.lastPlugin.postcssPlugin){t.plugin=this.lastPlugin.postcssPlugin}}let r=new n(e,t);this.messages.push(r);return r}warnings(){return this.messages.filter(e=>e.type==="warning")}get content(){return this.css}}e.exports=Result;Result.default=Result},6015:(e,t,r)=>{"use strict";let n=r(9190);let s,i;class Root extends n{constructor(e){super(e);this.type="root";if(!this.nodes)this.nodes=[]}removeChild(e,t){let r=this.index(e);if(!t&&r===0&&this.nodes.length>1){this.nodes[1].raws.before=this.nodes[r].raws.before}return super.removeChild(e)}normalize(e,t,r){let n=super.normalize(e);if(t){if(r==="prepend"){if(this.nodes.length>1){t.raws.before=this.nodes[1].raws.before}else{delete t.raws.before}}else if(this.first!==t){for(let e of n){e.raws.before=t.raws.before}}}return n}toResult(e={}){let t=new s(new i,this,e);return t.stringify()}}Root.registerLazyResult=(e=>{s=e});Root.registerProcessor=(e=>{i=e});e.exports=Root;Root.default=Root},2545:(e,t,r)=>{"use strict";let n=r(9190);let s=r(457);class Rule extends n{constructor(e){super(e);this.type="rule";if(!this.nodes)this.nodes=[]}get selectors(){return s.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null;let r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}}e.exports=Rule;Rule.default=Rule;n.registerRule(Rule)},1552:e=>{"use strict";const t={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:false};function capitalize(e){return e[0].toUpperCase()+e.slice(1)}class Stringifier{constructor(e){this.builder=e}stringify(e,t){this[e.type](e,t)}root(e){this.root=e;this.body(e);if(e.raws.after)this.builder(e.raws.after)}comment(e){let t=this.raw(e,"left","commentLeft");let r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)}decl(e,t){let r=this.raw(e,"between","colon");let n=e.prop+r+this.rawValue(e,"value");if(e.important){n+=e.raws.important||" !important"}if(t)n+=";";this.builder(n,e)}rule(e){this.block(e,this.rawValue(e,"selector"));if(e.raws.ownSemicolon){this.builder(e.raws.ownSemicolon,e,"end")}}atrule(e,t){let r="@"+e.name;let n=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName!=="undefined"){r+=e.raws.afterName}else if(n){r+=" "}if(e.nodes){this.block(e,r+n)}else{let s=(e.raws.between||"")+(t?";":"");this.builder(r+n+s,e)}}body(e){let t=e.nodes.length-1;while(t>0){if(e.nodes[t].type!=="comment")break;t-=1}let r=this.raw(e,"semicolon");for(let n=0;n{s=e.raws[r];if(typeof s!=="undefined")return false})}}if(typeof s==="undefined")s=t[n];o.rawCache[n]=s;return s}rawSemicolon(e){let t;e.walk(e=>{if(e.nodes&&e.nodes.length&&e.last.type==="decl"){t=e.raws.semicolon;if(typeof t!=="undefined")return false}});return t}rawEmptyBody(e){let t;e.walk(e=>{if(e.nodes&&e.nodes.length===0){t=e.raws.after;if(typeof t!=="undefined")return false}});return t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;e.walk(r=>{let n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e){if(typeof r.raws.before!=="undefined"){let e=r.raws.before.split("\n");t=e[e.length-1];t=t.replace(/\S/g,"");return false}}});return t}rawBeforeComment(e,t){let r;e.walkComments(e=>{if(typeof e.raws.before!=="undefined"){r=e.raws.before;if(r.includes("\n")){r=r.replace(/[^\n]+$/,"")}return false}});if(typeof r==="undefined"){r=this.raw(t,null,"beforeDecl")}else if(r){r=r.replace(/\S/g,"")}return r}rawBeforeDecl(e,t){let r;e.walkDecls(e=>{if(typeof e.raws.before!=="undefined"){r=e.raws.before;if(r.includes("\n")){r=r.replace(/[^\n]+$/,"")}return false}});if(typeof r==="undefined"){r=this.raw(t,null,"beforeRule")}else if(r){r=r.replace(/\S/g,"")}return r}rawBeforeRule(e){let t;e.walk(r=>{if(r.nodes&&(r.parent!==e||e.first!==r)){if(typeof r.raws.before!=="undefined"){t=r.raws.before;if(t.includes("\n")){t=t.replace(/[^\n]+$/,"")}return false}}});if(t)t=t.replace(/\S/g,"");return t}rawBeforeClose(e){let t;e.walk(e=>{if(e.nodes&&e.nodes.length>0){if(typeof e.raws.after!=="undefined"){t=e.raws.after;if(t.includes("\n")){t=t.replace(/[^\n]+$/,"")}return false}}});if(t)t=t.replace(/\S/g,"");return t}rawBeforeOpen(e){let t;e.walk(e=>{if(e.type!=="decl"){t=e.raws.between;if(typeof t!=="undefined")return false}});return t}rawColon(e){let t;e.walkDecls(e=>{if(typeof e.raws.between!=="undefined"){t=e.raws.between.replace(/[^\s:]/g,"");return false}});return t}beforeAfter(e,t){let r;if(e.type==="decl"){r=this.raw(e,null,"beforeDecl")}else if(e.type==="comment"){r=this.raw(e,null,"beforeComment")}else if(t==="before"){r=this.raw(e,null,"beforeRule")}else{r=this.raw(e,null,"beforeClose")}let n=e.parent;let s=0;while(n&&n.type!=="root"){s+=1;n=n.parent}if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length){for(let e=0;e{"use strict";let n=r(1552);function stringify(e,t){let r=new n(t);r.stringify(e)}e.exports=stringify;stringify.default=stringify},1932:e=>{"use strict";e.exports.isClean=Symbol("isClean")},3536:(e,t,r)=>{"use strict";let{cyan:n,gray:s,green:i,yellow:o,magenta:a}=r(1185);let l=r(4956);let c;function registerInput(e){c=e}const f={brackets:n,"at-word":n,comment:s,string:i,class:o,hash:a,call:n,"(":n,")":n,"{":o,"}":o,"[":o,"]":o,":":o,";":o};function getTokenType([e,t],r){if(e==="word"){if(t[0]==="."){return"class"}if(t[0]==="#"){return"hash"}}if(!r.endOfFile()){let e=r.nextToken();r.back(e);if(e[0]==="brackets"||e[0]==="(")return"call"}return e}function terminalHighlight(e){let t=l(new c(e),{ignoreErrors:true});let r="";while(!t.endOfFile()){let e=t.nextToken();let n=f[getTokenType(e,t)];if(n){r+=e[1].split(/\r?\n/).map(e=>n(e)).join("\n")}else{r+=e[1]}}return r}terminalHighlight.registerInput=registerInput;e.exports=terminalHighlight},4956:e=>{"use strict";const t="'".charCodeAt(0);const r='"'.charCodeAt(0);const n="\\".charCodeAt(0);const s="/".charCodeAt(0);const i="\n".charCodeAt(0);const o=" ".charCodeAt(0);const a="\f".charCodeAt(0);const l="\t".charCodeAt(0);const c="\r".charCodeAt(0);const f="[".charCodeAt(0);const u="]".charCodeAt(0);const h="(".charCodeAt(0);const p=")".charCodeAt(0);const d="{".charCodeAt(0);const g="}".charCodeAt(0);const w=";".charCodeAt(0);const y="*".charCodeAt(0);const m=":".charCodeAt(0);const S="@".charCodeAt(0);const b=/[\t\n\f\r "#'()/;[\\\]{}]/g;const O=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g;const A=/.[\n"'(/\\]/;const E=/[\da-f]/i;e.exports=function tokenizer(e,M={}){let N=e.css.valueOf();let C=M.ignoreErrors;let T,L,R,v,_;let x,$,D,F,B;let I=N.length;let P=0;let Y=[];let j=[];function position(){return P}function unclosed(t){throw e.error("Unclosed "+t,P)}function endOfFile(){return j.length===0&&P>=I}function nextToken(e){if(j.length)return j.pop();if(P>=I)return;let M=e?e.ignoreUnclosed:false;T=N.charCodeAt(P);switch(T){case i:case o:case l:case c:case a:{L=P;do{L+=1;T=N.charCodeAt(L)}while(T===o||T===i||T===l||T===c||T===a);B=["space",N.slice(P,L)];P=L-1;break}case f:case u:case d:case g:case m:case w:case p:{let e=String.fromCharCode(T);B=[e,e,P];break}case h:{D=Y.length?Y.pop()[1]:"";F=N.charCodeAt(P+1);if(D==="url"&&F!==t&&F!==r&&F!==o&&F!==i&&F!==l&&F!==a&&F!==c){L=P;do{x=false;L=N.indexOf(")",L+1);if(L===-1){if(C||M){L=P;break}else{unclosed("bracket")}}$=L;while(N.charCodeAt($-1)===n){$-=1;x=!x}}while(x);B=["brackets",N.slice(P,L+1),P,L];P=L}else{L=N.indexOf(")",P+1);v=N.slice(P,L+1);if(L===-1||A.test(v)){B=["(","(",P]}else{B=["brackets",v,P,L];P=L}}break}case t:case r:{R=T===t?"'":'"';L=P;do{x=false;L=N.indexOf(R,L+1);if(L===-1){if(C||M){L=P+1;break}else{unclosed("string")}}$=L;while(N.charCodeAt($-1)===n){$-=1;x=!x}}while(x);B=["string",N.slice(P,L+1),P,L];P=L;break}case S:{b.lastIndex=P+1;b.test(N);if(b.lastIndex===0){L=N.length-1}else{L=b.lastIndex-2}B=["at-word",N.slice(P,L+1),P,L];P=L;break}case n:{L=P;_=true;while(N.charCodeAt(L+1)===n){L+=1;_=!_}T=N.charCodeAt(L+1);if(_&&T!==s&&T!==o&&T!==i&&T!==l&&T!==c&&T!==a){L+=1;if(E.test(N.charAt(L))){while(E.test(N.charAt(L+1))){L+=1}if(N.charCodeAt(L+1)===o){L+=1}}}B=["word",N.slice(P,L+1),P,L];P=L;break}default:{if(T===s&&N.charCodeAt(P+1)===y){L=N.indexOf("*/",P+2)+1;if(L===0){if(C||M){L=N.length}else{unclosed("comment")}}B=["comment",N.slice(P,L+1),P,L];P=L}else{O.lastIndex=P+1;O.test(N);if(O.lastIndex===0){L=N.length-1}else{L=O.lastIndex-2}B=["word",N.slice(P,L+1),P,L];Y.push(B);P=L}break}}P++;return B}function back(e){j.push(e)}return{back:back,nextToken:nextToken,endOfFile:endOfFile,position:position}}},3855:e=>{"use strict";let t={};e.exports=function warnOnce(e){if(t[e])return;t[e]=true;if(typeof console!=="undefined"&&console.warn){console.warn(e)}}},1994:e=>{"use strict";class Warning{constructor(e,t={}){this.type="warning";this.text=e;if(t.node&&t.node.source){let e=t.node.positionBy(t);this.line=e.line;this.column=e.column}for(let e in t)this[e]=t[e]}toString(){if(this.node){return this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message}if(this.plugin){return this.plugin+": "+this.text}return this.text}}e.exports=Warning;Warning.default=Warning},1185:(e,t)=>{let r=!("NO_COLOR"in process.env)&&("FORCE_COLOR"in process.env||process.platform==="win32"||process.stdout!=null&&process.stdout.isTTY&&process.env.TERM&&process.env.TERM!=="dumb");const n=(e,t,n,s)=>i=>r?e+(~(i+="").indexOf(t,4)?i.replace(n,s):i)+t:i;const s=(e,t)=>{return n(`[${e}m`,`[${t}m`,new RegExp(`\\x1b\\[${t}m`,"g"),`[${e}m`)};t.options=Object.defineProperty({},"enabled",{get:()=>r,set:e=>r=e});t.reset=s(0,0);t.bold=n("","",/\x1b\[22m/g,"");t.dim=n("","",/\x1b\[22m/g,"");t.italic=s(3,23);t.underline=s(4,24);t.inverse=s(7,27);t.hidden=s(8,28);t.strikethrough=s(9,29);t.black=s(30,39);t.red=s(31,39);t.green=s(32,39);t.yellow=s(33,39);t.blue=s(34,39);t.magenta=s(35,39);t.cyan=s(36,39);t.white=s(37,39);t.gray=s(90,39);t.bgBlack=s(40,49);t.bgRed=s(41,49);t.bgGreen=s(42,49);t.bgYellow=s(43,49);t.bgBlue=s(44,49);t.bgMagenta=s(45,49);t.bgCyan=s(46,49);t.bgWhite=s(47,49);t.blackBright=s(90,39);t.redBright=s(91,39);t.greenBright=s(92,39);t.yellowBright=s(93,39);t.blueBright=s(94,39);t.magentaBright=s(95,39);t.cyanBright=s(96,39);t.whiteBright=s(97,39);t.bgBlackBright=s(100,49);t.bgRedBright=s(101,49);t.bgGreenBright=s(102,49);t.bgYellowBright=s(103,49);t.bgBlueBright=s(104,49);t.bgMagentaBright=s(105,49);t.bgCyanBright=s(106,49);t.bgWhiteBright=s(107,49)},9067:e=>{let t="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW";let r=(e,t)=>{return()=>{let r="";let n=t;while(n--){r+=e[Math.random()*e.length|0]}return r}};let n=(e=21)=>{let r="";let n=e;while(n--){r+=t[Math.random()*64|0]}return r};e.exports={nanoid:n,customAlphabet:r}},7988:e=>{"use strict";e.exports=JSON.parse('{"type":"object","properties":{"postcssOptions":{"description":"Options to pass through to `Postcss`.","anyOf":[{"type":"object","additionalProperties":true,"properties":{"config":{"description":"Allows to specify PostCSS Config Path (https://github.com/postcss/postcss-loader#config)","anyOf":[{"description":"Allows to specify the path to the configuration file","type":"string"},{"description":"Enables/Disables autoloading config","type":"boolean"}]}}},{"instanceof":"Function"}]},"execute":{"description":"Enables/Disables PostCSS parser support in \'CSS-in-JS\' (https://github.com/postcss/postcss-loader#execute)","type":"boolean"},"sourceMap":{"description":"Enables/Disables generation of source maps (https://github.com/postcss/postcss-loader#sourcemap)","type":"boolean"}},"additionalProperties":false}')},4698:e=>{"use strict";e.exports=JSON.parse('{"name":"postcss","version":"8.1.7","description":"Tool for transforming styles with JS plugins","engines":{"node":"^10 || ^12 || >=14"},"exports":{".":{"require":"./lib/postcss.js","import":"./lib/postcss.mjs","types":"./lib/postcss.d.ts"},"./":"./"},"main":"./lib/postcss.js","types":"./lib/postcss.d.ts","keywords":["css","postcss","rework","preprocessor","parser","source map","transform","manipulation","transpiler"],"funding":{"type":"opencollective","url":"https://opencollective.com/postcss/"},"author":"Andrey Sitnik ","license":"MIT","homepage":"https://postcss.org/","repository":"postcss/postcss","dependencies":{"colorette":"^1.2.1","line-column":"^1.0.2","nanoid":"^3.1.16","source-map":"^0.6.1"},"browser":{"./lib/terminal-highlight":false,"colorette":false,"fs":false}}')},2242:e=>{"use strict";e.exports=require("chalk")},5747:e=>{"use strict";e.exports=require("fs")},8710:e=>{"use strict";e.exports=require("loader-utils")},2282:e=>{"use strict";e.exports=require("module")},3225:e=>{"use strict";e.exports=require("next/dist/compiled/schema-utils")},2519:e=>{"use strict";e.exports=require("next/dist/compiled/semver")},6241:e=>{"use strict";e.exports=require("next/dist/compiled/source-map")},2087:e=>{"use strict";e.exports=require("os")},5622:e=>{"use strict";e.exports=require("path")},8835:e=>{"use strict";e.exports=require("url")},1669:e=>{"use strict";e.exports=require("util")}};var t={};function __webpack_require__(r){if(t[r]){return t[r].exports}var n=t[r]={id:r,loaded:false,exports:{}};var s=true;try{e[r](n,n.exports,__webpack_require__);s=false}finally{if(s)delete t[r]}n.loaded=true;return n.exports}(()=>{__webpack_require__.nmd=(e=>{e.paths=[];if(!e.children)e.children=[];return e})})();__webpack_require__.ab=__dirname+"/";return __webpack_require__(3082)})(); \ No newline at end of file +module.exports=(()=>{var e={7548:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t.default=_default;var r=_interopRequireWildcard(n(2421));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var o=r?Object.getOwnPropertyDescriptor(e,s):null;if(o&&(o.get||o.set)){Object.defineProperty(n,s,o)}else{n[s]=e[s]}}}n.default=e;if(t){t.set(e,n)}return n}let s=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const o=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,n){const r=Object.assign({column:0,line:-1},e.start);const s=Object.assign({},r,e.end);const{linesAbove:o=2,linesBelow:i=3}=n||{};const a=r.line;const c=r.column;const l=s.line;const f=s.column;let u=Math.max(a-(o+1),0);let h=Math.min(t.length,l+i);if(a===-1){u=0}if(l===-1){h=t.length}const d=l-a;const p={};if(d){for(let e=0;e<=d;e++){const n=e+a;if(!c){p[n]=true}else if(e===0){const e=t[n-1].length;p[n]=[c,e-c+1]}else if(e===d){p[n]=[0,f]}else{const r=t[n-e].length;p[n]=[0,r]}}}else{if(c===f){if(c){p[a]=[c,0]}else{p[a]=true}}else{p[a]=[c,f-c]}}return{start:u,end:h,markerLines:p}}function codeFrameColumns(e,t,n={}){const s=(n.highlightCode||n.forceColor)&&(0,r.shouldHighlight)(n);const i=(0,r.getChalk)(n);const a=getDefs(i);const c=(e,t)=>{return s?e(t):t};const l=e.split(o);const{start:f,end:u,markerLines:h}=getMarkerLines(t,l,n);const d=t.start&&typeof t.start.column==="number";const p=String(u).length;const g=s?(0,r.default)(e,n):e;let y=g.split(o).slice(f,u).map((e,t)=>{const r=f+1+t;const s=` ${r}`.slice(-p);const o=` ${s} | `;const i=h[r];const l=!h[r+1];if(i){let t="";if(Array.isArray(i)){const r=e.slice(0,Math.max(i[0]-1,0)).replace(/[^\t]/g," ");const s=i[1]||1;t=["\n ",c(a.gutter,o.replace(/\d/g," ")),r,c(a.marker,"^").repeat(s)].join("");if(l&&n.message){t+=" "+c(a.message,n.message)}}return[c(a.marker,">"),c(a.gutter,o),e,t].join("")}else{return` ${c(a.gutter,o)}${e}`}}).join("\n");if(n.message&&!d){y=`${" ".repeat(p+1)}${n.message}\n${y}`}if(s){return i.reset(y)}else{return y}}function _default(e,t,n,r={}){if(!s){s=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}n=Math.max(n,0);const o={start:{column:n,line:t}};return codeFrameColumns(e,o,r)}},9115:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let n="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let r="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+n+"]");const o=new RegExp("["+n+r+"]");n=r=null;const i=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const a=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let n=65536;for(let r=0,s=t.length;re)return false;n+=t[r+1];if(n>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,i)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&o.test(String.fromCharCode(e))}return isInAstralSet(e,i)||isInAstralSet(e,a)}function isIdentifierName(e){let t=true;for(let n=0,r=Array.from(e);n{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return r.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return r.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return r.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var r=n(9115);var s=n(5390)},5390:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const n={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const r=new Set(n.keyword);const s=new Set(n.strict);const o=new Set(n.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return o.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return r.has(e)}},2421:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shouldHighlight=shouldHighlight;t.getChalk=getChalk;t.default=highlight;var r=_interopRequireWildcard(n(8035));var s=n(9586);var o=_interopRequireDefault(n(2242));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var o=r?Object.getOwnPropertyDescriptor(e,s):null;if(o&&(o.get||o.set)){Object.defineProperty(n,s,o)}else{n[s]=e[s]}}}n.default=e;if(t){t.set(e,n)}return n}function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsx_tag:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const i=/\r\n|[\n\r\u2028\u2029]/;const a=/^[a-z][\w-]*$/i;const c=/^[()[\]{}]$/;function getTokenType(e){const[t,n]=e.slice(-2);const o=(0,r.matchToToken)(e);if(o.type==="name"){if((0,s.isKeyword)(o.value)||(0,s.isReservedWord)(o.value)){return"keyword"}if(a.test(o.value)&&(n[t-1]==="<"||n.substr(t-2,2)=="r(e)).join("\n")}else{return t[0]}})}function shouldHighlight(e){return o.default.supportsColor||e.forceColor}function getChalk(e){let t=o.default;if(e.forceColor){t=new o.default.constructor({enabled:true,level:1})}return t}function highlight(e,t={}){if(shouldHighlight(t)){const n=getChalk(t);const r=getDefs(n);return highlightTokens(r,e)}else{return e}}},9775:e=>{"use strict";const t=()=>{const e=Error.prepareStackTrace;Error.prepareStackTrace=((e,t)=>t);const t=(new Error).stack.slice(1);Error.prepareStackTrace=e;return t};e.exports=t;e.exports.default=t},9736:(e,t,n)=>{"use strict";var r=n(1669);var s=n(3108);var o=function errorEx(e,t){if(!e||e.constructor!==String){t=e||{};e=Error.name}var n=function ErrorEXError(r){if(!this){return new ErrorEXError(r)}r=r instanceof Error?r.message:r||this.message;Error.call(this,r);Error.captureStackTrace(this,n);this.name=e;Object.defineProperty(this,"message",{configurable:true,enumerable:false,get:function(){var e=r.split(/\r?\n/g);for(var n in t){if(!t.hasOwnProperty(n)){continue}var o=t[n];if("message"in o){e=o.message(this[n],e)||e;if(!s(e)){e=[e]}}}return e.join("\n")},set:function(e){r=e}});var o=null;var i=Object.getOwnPropertyDescriptor(this,"stack");var a=i.get;var c=i.value;delete i.value;delete i.writable;i.set=function(e){o=e};i.get=function(){var e=(o||(a?a.call(this):c)).split(/\r?\n+/g);if(!o){e[0]=this.name+": "+this.message}var n=1;for(var r in t){if(!t.hasOwnProperty(r)){continue}var s=t[r];if("line"in s){var i=s.line(this[r]);if(i){e.splice(n++,0," "+i)}}if("stack"in s){s.stack(this[r],e)}}return e.join("\n")};Object.defineProperty(this,"stack",i)};if(Object.setPrototypeOf){Object.setPrototypeOf(n.prototype,Error.prototype);Object.setPrototypeOf(n,Error)}else{r.inherits(n,Error)}return n};o.append=function(e,t){return{message:function(n,r){n=n||t;if(n){r[0]+=" "+e.replace("%s",n.toString())}return r}}};o.line=function(e,t){return{line:function(n){n=n||t;if(n){return e.replace("%s",n.toString())}return null}}};e.exports=o},4786:(e,t,n)=>{"use strict";const r=n(5622);const s=n(8388);const o=n(2982);e.exports=(e=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}const t=o(__filename);const n=s(r.dirname(t),e);const i=require.cache[n];if(i&&i.parent){let e=i.parent.children.length;while(e--){if(i.parent.children[e].id===n){i.parent.children.splice(e,1)}}}delete require.cache[n];const a=require.cache[t];return a===undefined?require(n):a.require(n)})},8388:(e,t,n)=>{"use strict";const r=n(5622);const s=n(2282);const o=n(5747);const i=(e,t,n)=>{if(typeof e!=="string"){throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof e}\``)}if(typeof t!=="string"){throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof t}\``)}try{e=o.realpathSync(e)}catch(t){if(t.code==="ENOENT"){e=r.resolve(e)}else if(n){return null}else{throw t}}const i=r.join(e,"noop.js");const a=()=>s._resolveFilename(t,{id:i,filename:i,paths:s._nodeModulePaths(e)});if(n){try{return a()}catch(e){return null}}return a()};e.exports=((e,t)=>i(e,t));e.exports.silent=((e,t)=>i(e,t,true))},3108:e=>{"use strict";e.exports=function isArrayish(e){if(!e){return false}return e instanceof Array||Array.isArray(e)||e.length>=0&&e.splice instanceof Function}},8035:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:undefined};if(e[1])t.type="string",t.closed=!!(e[3]||e[4]);else if(e[5])t.type="comment";else if(e[6])t.type="comment",t.closed=!!e[7];else if(e[8])t.type="regex";else if(e[9])t.type="number";else if(e[10])t.type="name";else if(e[11])t.type="punctuator";else if(e[12])t.type="whitespace";return t}},5235:e=>{"use strict";e.exports=parseJson;function parseJson(e,t,n){n=n||20;try{return JSON.parse(e,t)}catch(t){if(typeof e!=="string"){const t=Array.isArray(e)&&e.length===0;const n="Cannot parse "+(t?"an empty array":String(e));throw new TypeError(n)}const r=t.message.match(/^Unexpected token.*position\s+(\d+)/i);const s=r?+r[1]:t.message.match(/^Unexpected end of JSON.*/i)?e.length-1:null;if(s!=null){const r=s<=n?0:s-n;const o=s+n>=e.length?e.length:s+n;t.message+=` while parsing near '${r===0?"":"..."}${e.slice(r,o)}${o===e.length?"":"..."}'`}else{t.message+=` while parsing '${e.slice(0,n*2)}'`}throw t}}},7153:(e,t)=>{function set(e,t,n){if(typeof n.value==="object")n.value=klona(n.value);if(!n.enumerable||n.get||n.set||!n.configurable||!n.writable||t==="__proto__"){Object.defineProperty(e,t,n)}else e[t]=n.value}function klona(e){if(typeof e!=="object")return e;var t=0,n,r,s,o=Object.prototype.toString.call(e);if(o==="[object Object]"){s=Object.create(e.__proto__||null)}else if(o==="[object Array]"){s=Array(e.length)}else if(o==="[object Set]"){s=new Set;e.forEach(function(e){s.add(klona(e))})}else if(o==="[object Map]"){s=new Map;e.forEach(function(e,t){s.set(klona(t),klona(e))})}else if(o==="[object Date]"){s=new Date(+e)}else if(o==="[object RegExp]"){s=new RegExp(e.source,e.flags)}else if(o==="[object DataView]"){s=new e.constructor(klona(e.buffer))}else if(o==="[object ArrayBuffer]"){s=e.slice(0)}else if(o.slice(-6)==="Array]"){s=new e.constructor(e)}if(s){for(r=Object.getOwnPropertySymbols(e);t{"use strict";var n="\n";var r="\r";var s=function(){function LinesAndColumns(e){this.string=e;var t=[0];for(var s=0;sthis.string.length){return null}var t=0;var n=this.offsets;while(n[t+1]<=e){t++}var r=e-n[t];return{line:t,column:r}};LinesAndColumns.prototype.indexForLocation=function(e){var t=e.line,n=e.column;if(t<0||t>=this.offsets.length){return null}if(n<0||n>this.lengthOfLine(t)){return null}return this.offsets[t]+n};LinesAndColumns.prototype.lengthOfLine=function(e){var t=this.offsets[e];var n=e===this.offsets.length-1?this.string.length:this.offsets[e+1];return n-t};return LinesAndColumns}();t.__esModule=true;t.default=s},2982:(e,t,n)=>{"use strict";const r=n(9775);e.exports=(e=>{const t=r();if(!e){return t[2].getFileName()}let n=false;t.shift();for(const r of t){const t=r.getFileName();if(typeof t!=="string"){continue}if(t===e){n=true;continue}if(t==="module.js"){continue}if(n&&t!==e){return t}}})},7987:(e,t,n)=>{"use strict";var r=n(2098);var s=n(7361);var o=n(3169);const i={anchorPrefix:"a",customTags:null,indent:2,indentSeq:true,keepCstNodes:false,keepNodeTypes:true,keepBlobsInJSON:true,mapAsMap:false,maxAliasCount:100,prettyErrors:false,simpleKeys:false,version:"1.2"};const a={get binary(){return s.binaryOptions},set binary(e){Object.assign(s.binaryOptions,e)},get bool(){return s.boolOptions},set bool(e){Object.assign(s.boolOptions,e)},get int(){return s.intOptions},set int(e){Object.assign(s.intOptions,e)},get null(){return s.nullOptions},set null(e){Object.assign(s.nullOptions,e)},get str(){return s.strOptions},set str(e){Object.assign(s.strOptions,e)}};const c={"1.0":{schema:"yaml-1.1",merge:true,tagPrefixes:[{handle:"!",prefix:r.defaultTagPrefix},{handle:"!!",prefix:"tag:private.yaml.org,2002:"}]},1.1:{schema:"yaml-1.1",merge:true,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:r.defaultTagPrefix}]},1.2:{schema:"core",merge:false,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:r.defaultTagPrefix}]}};function stringifyTag(e,t){if((e.version||e.options.version)==="1.0"){const e=t.match(/^tag:private\.yaml\.org,2002:([^:/]+)$/);if(e)return"!"+e[1];const n=t.match(/^tag:([a-zA-Z0-9-]+)\.yaml\.org,2002:(.*)/);return n?`!${n[1]}/${n[2]}`:`!${t.replace(/^tag:/,"")}`}let n=e.tagPrefixes.find(e=>t.indexOf(e.prefix)===0);if(!n){const r=e.getDefaults().tagPrefixes;n=r&&r.find(e=>t.indexOf(e.prefix)===0)}if(!n)return t[0]==="!"?t:`!<${t}>`;const r=t.substr(n.prefix.length).replace(/[!,[\]{}]/g,e=>({"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"})[e]);return n.handle+r}function getTagObject(e,t){if(t instanceof s.Alias)return s.Alias;if(t.tag){const n=e.filter(e=>e.tag===t.tag);if(n.length>0)return n.find(e=>e.format===t.format)||n[0]}let n,r;if(t instanceof s.Scalar){r=t.value;const s=e.filter(e=>e.identify&&e.identify(r)||e.class&&r instanceof e.class);n=s.find(e=>e.format===t.format)||s.find(e=>!e.format)}else{r=t;n=e.find(e=>e.nodeClass&&r instanceof e.nodeClass)}if(!n){const e=r&&r.constructor?r.constructor.name:typeof r;throw new Error(`Tag not resolved for ${e} value`)}return n}function stringifyProps(e,t,{anchors:n,doc:r}){const s=[];const o=r.anchors.getName(e);if(o){n[o]=e;s.push(`&${o}`)}if(e.tag){s.push(stringifyTag(r,e.tag))}else if(!t.default){s.push(stringifyTag(r,t.tag))}return s.join(" ")}function stringify(e,t,n,r){const{anchors:o,schema:i}=t.doc;let a;if(!(e instanceof s.Node)){const t={aliasNodes:[],onTagObj:e=>a=e,prevObjects:new Map};e=i.createNode(e,true,null,t);for(const e of t.aliasNodes){e.source=e.source.node;let t=o.getName(e.source);if(!t){t=o.newName();o.map[t]=e.source}}}if(e instanceof s.Pair)return e.toString(t,n,r);if(!a)a=getTagObject(i.tags,e);const c=stringifyProps(e,a,t);if(c.length>0)t.indentAtStart=(t.indentAtStart||0)+c.length+1;const l=typeof a.stringify==="function"?a.stringify(e,t,n,r):e instanceof s.Scalar?s.stringifyString(e,t,n,r):e.toString(t,n,r);if(!c)return l;return e instanceof s.Scalar||l[0]==="{"||l[0]==="["?`${c} ${l}`:`${c}\n${t.indent}${l}`}class Anchors{static validAnchorNode(e){return e instanceof s.Scalar||e instanceof s.YAMLSeq||e instanceof s.YAMLMap}constructor(e){r._defineProperty(this,"map",{});this.prefix=e}createAlias(e,t){this.setAnchor(e,t);return new s.Alias(e)}createMergePair(...e){const t=new s.Merge;t.value.items=e.map(e=>{if(e instanceof s.Alias){if(e.source instanceof s.YAMLMap)return e}else if(e instanceof s.YAMLMap){return this.createAlias(e)}throw new Error("Merge sources must be Map nodes or their Aliases")});return t}getName(e){const{map:t}=this;return Object.keys(t).find(n=>t[n]===e)}getNames(){return Object.keys(this.map)}getNode(e){return this.map[e]}newName(e){if(!e)e=this.prefix;const t=Object.keys(this.map);for(let n=1;true;++n){const r=`${e}${n}`;if(!t.includes(r))return r}}resolveNodes(){const{map:e,_cstAliases:t}=this;Object.keys(e).forEach(t=>{e[t]=e[t].resolved});t.forEach(e=>{e.source=e.source.resolved});delete this._cstAliases}setAnchor(e,t){if(e!=null&&!Anchors.validAnchorNode(e)){throw new Error("Anchors may only be set for Scalar, Seq and Map nodes")}if(t&&/[\x00-\x19\s,[\]{}]/.test(t)){throw new Error("Anchor names must not contain whitespace or control characters")}const{map:n}=this;const r=e&&Object.keys(n).find(t=>n[t]===e);if(r){if(!t){return r}else if(r!==t){delete n[r];n[t]=e}}else{if(!t){if(!e)return null;t=this.newName()}n[t]=e}return t}}const l=(e,t)=>{if(e&&typeof e==="object"){const{tag:n}=e;if(e instanceof s.Collection){if(n)t[n]=true;e.items.forEach(e=>l(e,t))}else if(e instanceof s.Pair){l(e.key,t);l(e.value,t)}else if(e instanceof s.Scalar){if(n)t[n]=true}}return t};const f=e=>Object.keys(l(e,{}));function parseContents(e,t){const n={before:[],after:[]};let o=undefined;let i=false;for(const a of t){if(a.valueRange){if(o!==undefined){const t="Document contains trailing content not separated by a ... or --- line";e.errors.push(new r.YAMLSyntaxError(a,t));break}const t=s.resolveNode(e,a);if(i){t.spaceBefore=true;i=false}o=t}else if(a.comment!==null){const e=o===undefined?n.before:n.after;e.push(a.comment)}else if(a.type===r.Type.BLANK_LINE){i=true;if(o===undefined&&n.before.length>0&&!e.commentBefore){e.commentBefore=n.before.join("\n");n.before=[]}}}e.contents=o||null;if(!o){e.comment=n.before.concat(n.after).join("\n")||null}else{const t=n.before.join("\n");if(t){const e=o instanceof s.Collection&&o.items[0]?o.items[0]:o;e.commentBefore=e.commentBefore?`${t}\n${e.commentBefore}`:t}e.comment=n.after.join("\n")||null}}function resolveTagDirective({tagPrefixes:e},t){const[n,s]=t.parameters;if(!n||!s){const e="Insufficient parameters given for %TAG directive";throw new r.YAMLSemanticError(t,e)}if(e.some(e=>e.handle===n)){const e="The %TAG directive must only be given at most once per handle in the same document.";throw new r.YAMLSemanticError(t,e)}return{handle:n,prefix:s}}function resolveYamlDirective(e,t){let[n]=t.parameters;if(t.name==="YAML:1.0")n="1.0";if(!n){const e="Insufficient parameters given for %YAML directive";throw new r.YAMLSemanticError(t,e)}if(!c[n]){const s=e.version||e.options.version;const o=`Document will be parsed as YAML ${s} rather than YAML ${n}`;e.warnings.push(new r.YAMLWarning(t,o))}return n}function parseDirectives(e,t,n){const s=[];let o=false;for(const n of t){const{comment:t,name:i}=n;switch(i){case"TAG":try{e.tagPrefixes.push(resolveTagDirective(e,n))}catch(t){e.errors.push(t)}o=true;break;case"YAML":case"YAML:1.0":if(e.version){const t="The %YAML directive must only be given at most once per document.";e.errors.push(new r.YAMLSemanticError(n,t))}try{e.version=resolveYamlDirective(e,n)}catch(t){e.errors.push(t)}o=true;break;default:if(i){const t=`YAML only supports %TAG and %YAML directives, and not %${i}`;e.warnings.push(new r.YAMLWarning(n,t))}}if(t)s.push(t)}if(n&&!o&&"1.1"===(e.version||n.version||e.options.version)){const t=({handle:e,prefix:t})=>({handle:e,prefix:t});e.tagPrefixes=n.tagPrefixes.map(t);e.version=n.version}e.commentBefore=s.join("\n")||null}function assertCollection(e){if(e instanceof s.Collection)return true;throw new Error("Expected a YAML collection as document contents")}class Document{constructor(e){this.anchors=new Anchors(e.anchorPrefix);this.commentBefore=null;this.comment=null;this.contents=null;this.directivesEndMarker=null;this.errors=[];this.options=e;this.schema=null;this.tagPrefixes=[];this.version=null;this.warnings=[]}add(e){assertCollection(this.contents);return this.contents.add(e)}addIn(e,t){assertCollection(this.contents);this.contents.addIn(e,t)}delete(e){assertCollection(this.contents);return this.contents.delete(e)}deleteIn(e){if(s.isEmptyPath(e)){if(this.contents==null)return false;this.contents=null;return true}assertCollection(this.contents);return this.contents.deleteIn(e)}getDefaults(){return Document.defaults[this.version]||Document.defaults[this.options.version]||{}}get(e,t){return this.contents instanceof s.Collection?this.contents.get(e,t):undefined}getIn(e,t){if(s.isEmptyPath(e))return!t&&this.contents instanceof s.Scalar?this.contents.value:this.contents;return this.contents instanceof s.Collection?this.contents.getIn(e,t):undefined}has(e){return this.contents instanceof s.Collection?this.contents.has(e):false}hasIn(e){if(s.isEmptyPath(e))return this.contents!==undefined;return this.contents instanceof s.Collection?this.contents.hasIn(e):false}set(e,t){assertCollection(this.contents);this.contents.set(e,t)}setIn(e,t){if(s.isEmptyPath(e))this.contents=t;else{assertCollection(this.contents);this.contents.setIn(e,t)}}setSchema(e,t){if(!e&&!t&&this.schema)return;if(typeof e==="number")e=e.toFixed(1);if(e==="1.0"||e==="1.1"||e==="1.2"){if(this.version)this.version=e;else this.options.version=e;delete this.options.schema}else if(e&&typeof e==="string"){this.options.schema=e}if(Array.isArray(t))this.options.customTags=t;const n=Object.assign({},this.getDefaults(),this.options);this.schema=new o.Schema(n)}parse(e,t){if(this.options.keepCstNodes)this.cstNode=e;if(this.options.keepNodeTypes)this.type="DOCUMENT";const{directives:n=[],contents:s=[],directivesEndMarker:o,error:i,valueRange:a}=e;if(i){if(!i.source)i.source=this;this.errors.push(i)}parseDirectives(this,n,t);if(o)this.directivesEndMarker=true;this.range=a?[a.start,a.end]:null;this.setSchema();this.anchors._cstAliases=[];parseContents(this,s);this.anchors.resolveNodes();if(this.options.prettyErrors){for(const e of this.errors)if(e instanceof r.YAMLError)e.makePretty();for(const e of this.warnings)if(e instanceof r.YAMLError)e.makePretty()}return this}listNonDefaultTags(){return f(this.contents).filter(e=>e.indexOf(o.Schema.defaultPrefix)!==0)}setTagPrefix(e,t){if(e[0]!=="!"||e[e.length-1]!=="!")throw new Error("Handle must start and end with !");if(t){const n=this.tagPrefixes.find(t=>t.handle===e);if(n)n.prefix=t;else this.tagPrefixes.push({handle:e,prefix:t})}else{this.tagPrefixes=this.tagPrefixes.filter(t=>t.handle!==e)}}toJSON(e,t){const{keepBlobsInJSON:n,mapAsMap:r,maxAliasCount:o}=this.options;const i=n&&(typeof e!=="string"||!(this.contents instanceof s.Scalar));const a={doc:this,indentStep:" ",keep:i,mapAsMap:i&&!!r,maxAliasCount:o,stringify:stringify};const c=Object.keys(this.anchors.map);if(c.length>0)a.anchors=new Map(c.map(e=>[this.anchors.map[e],{alias:[],aliasCount:0,count:1}]));const l=s.toJSON(this.contents,e,a);if(typeof t==="function"&&a.anchors)for(const{count:e,res:n}of a.anchors.values())t(n,e);return l}toString(){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");const e=this.options.indent;if(!Number.isInteger(e)||e<=0){const t=JSON.stringify(e);throw new Error(`"indent" option must be a positive integer, not ${t}`)}this.setSchema();const t=[];let n=false;if(this.version){let e="%YAML 1.2";if(this.schema.name==="yaml-1.1"){if(this.version==="1.0")e="%YAML:1.0";else if(this.version==="1.1")e="%YAML 1.1"}t.push(e);n=true}const r=this.listNonDefaultTags();this.tagPrefixes.forEach(({handle:e,prefix:s})=>{if(r.some(e=>e.indexOf(s)===0)){t.push(`%TAG ${e} ${s}`);n=true}});if(n||this.directivesEndMarker)t.push("---");if(this.commentBefore){if(n||!this.directivesEndMarker)t.unshift("");t.unshift(this.commentBefore.replace(/^/gm,"#"))}const o={anchors:{},doc:this,indent:"",indentStep:" ".repeat(e),stringify:stringify};let i=false;let a=null;if(this.contents){if(this.contents instanceof s.Node){if(this.contents.spaceBefore&&(n||this.directivesEndMarker))t.push("");if(this.contents.commentBefore)t.push(this.contents.commentBefore.replace(/^/gm,"#"));o.forceBlockIndent=!!this.comment;a=this.contents.comment}const e=a?null:()=>i=true;const r=stringify(this.contents,o,()=>a=null,e);t.push(s.addComment(r,"",a))}else if(this.contents!==undefined){t.push(stringify(this.contents,o))}if(this.comment){if((!i||a)&&t[t.length-1]!=="")t.push("");t.push(this.comment.replace(/^/gm,"#"))}return t.join("\n")+"\n"}}r._defineProperty(Document,"defaults",c);t.Document=Document;t.defaultOptions=i;t.scalarOptions=a},2098:(e,t)=>{"use strict";const n={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."};const r={ALIAS:"ALIAS",BLANK_LINE:"BLANK_LINE",BLOCK_FOLDED:"BLOCK_FOLDED",BLOCK_LITERAL:"BLOCK_LITERAL",COMMENT:"COMMENT",DIRECTIVE:"DIRECTIVE",DOCUMENT:"DOCUMENT",FLOW_MAP:"FLOW_MAP",FLOW_SEQ:"FLOW_SEQ",MAP:"MAP",MAP_KEY:"MAP_KEY",MAP_VALUE:"MAP_VALUE",PLAIN:"PLAIN",QUOTE_DOUBLE:"QUOTE_DOUBLE",QUOTE_SINGLE:"QUOTE_SINGLE",SEQ:"SEQ",SEQ_ITEM:"SEQ_ITEM"};const s="tag:yaml.org,2002:";const o={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function findLineStarts(e){const t=[0];let n=e.indexOf("\n");while(n!==-1){n+=1;t.push(n);n=e.indexOf("\n",n)}return t}function getSrcInfo(e){let t,n;if(typeof e==="string"){t=findLineStarts(e);n=e}else{if(Array.isArray(e))e=e[0];if(e&&e.context){if(!e.lineStarts)e.lineStarts=findLineStarts(e.context.src);t=e.lineStarts;n=e.context.src}}return{lineStarts:t,src:n}}function getLinePos(e,t){if(typeof e!=="number"||e<0)return null;const{lineStarts:n,src:r}=getSrcInfo(t);if(!n||!r||e>r.length)return null;for(let t=0;t=1)||e>n.length)return null;const s=n[e-1];let o=n[e];while(o&&o>s&&r[o-1]==="\n")--o;return r.slice(s,o)}function getPrettyContext({start:e,end:t},n,r=80){let s=getLine(e.line,n);if(!s)return null;let{col:o}=e;if(s.length>r){if(o<=r-10){s=s.substr(0,r-1)+"…"}else{const e=Math.round(r/2);if(s.length>o+e)s=s.substr(0,o+e-1)+"…";o-=s.length-r;s="…"+s.substr(1-r)}}let i=1;let a="";if(t){if(t.line===e.line&&o+(t.col-e.col)<=r+1){i=t.col-e.col}else{i=Math.min(s.length+1,r)-o;a="…"}}const c=o>1?" ".repeat(o-1):"";const l="^".repeat(i);return`${s}\n${c}${l}${a}`}class Range{static copy(e){return new Range(e.start,e.end)}constructor(e,t){this.start=e;this.end=t||e}isEmpty(){return typeof this.start!=="number"||!this.end||this.end<=this.start}setOrigRange(e,t){const{start:n,end:r}=this;if(e.length===0||r<=e[0]){this.origStart=n;this.origEnd=r;return t}let s=t;while(sn)break;else++s}this.origStart=n+s;const o=s;while(s=r)break;else++s}this.origEnd=r+s;return o}}class Node{static addStringTerminator(e,t,n){if(n[n.length-1]==="\n")return n;const r=Node.endOfWhiteSpace(e,t);return r>=e.length||e[r]==="\n"?n+"\n":n}static atDocumentBoundary(e,t,r){const s=e[t];if(!s)return true;const o=e[t-1];if(o&&o!=="\n")return false;if(r){if(s!==r)return false}else{if(s!==n.DIRECTIVES_END&&s!==n.DOCUMENT_END)return false}const i=e[t+1];const a=e[t+2];if(i!==s||a!==s)return false;const c=e[t+3];return!c||c==="\n"||c==="\t"||c===" "}static endOfIdentifier(e,t){let n=e[t];const r=n==="<";const s=r?["\n","\t"," ",">"]:["\n","\t"," ","[","]","{","}",","];while(n&&s.indexOf(n)===-1)n=e[t+=1];if(r&&n===">")t+=1;return t}static endOfIndent(e,t){let n=e[t];while(n===" ")n=e[t+=1];return t}static endOfLine(e,t){let n=e[t];while(n&&n!=="\n")n=e[t+=1];return t}static endOfWhiteSpace(e,t){let n=e[t];while(n==="\t"||n===" ")n=e[t+=1];return t}static startOfLine(e,t){let n=e[t-1];if(n==="\n")return t;while(n&&n!=="\n")n=e[t-=1];return t+1}static endOfBlockIndent(e,t,n){const r=Node.endOfIndent(e,n);if(r>n+t){return r}else{const t=Node.endOfWhiteSpace(e,r);const n=e[t];if(!n||n==="\n")return t}return null}static atBlank(e,t,n){const r=e[t];return r==="\n"||r==="\t"||r===" "||n&&!r}static nextNodeIsIndented(e,t,n){if(!e||t<0)return false;if(t>0)return true;return n&&e==="-"}static normalizeOffset(e,t){const n=e[t];return!n?t:n!=="\n"&&e[t-1]==="\n"?t-1:Node.endOfWhiteSpace(e,t)}static foldNewline(e,t,n){let r=0;let s=false;let o="";let i=e[t+1];while(i===" "||i==="\t"||i==="\n"){switch(i){case"\n":r=0;t+=1;o+="\n";break;case"\t":if(r<=n)s=true;t=Node.endOfWhiteSpace(e,t+2)-1;break;case" ":r+=1;t+=1;break}i=e[t+1]}if(!o)o=" ";if(i&&r<=n)s=true;return{fold:o,offset:t,error:s}}constructor(e,t,n){Object.defineProperty(this,"context",{value:n||null,writable:true});this.error=null;this.range=null;this.valueRange=null;this.props=t||[];this.type=e;this.value=null}getPropValue(e,t,n){if(!this.context)return null;const{src:r}=this.context;const s=this.props[e];return s&&r[s.start]===t?r.slice(s.start+(n?1:0),s.end):null}get anchor(){for(let e=0;e0?e.join("\n"):null}commentHasRequiredWhitespace(e){const{src:t}=this.context;if(this.header&&e===this.header.end)return false;if(!this.valueRange)return false;const{end:n}=this.valueRange;return e!==n||Node.atBlank(t,n-1)}get hasComment(){if(this.context){const{src:e}=this.context;for(let t=0;tn.setOrigRange(e,t));return t}toString(){const{context:{src:e},range:t,value:n}=this;if(n!=null)return n;const r=e.slice(t.start,t.end);return Node.addStringTerminator(e,t.end,r)}}class YAMLError extends Error{constructor(e,t,n){if(!n||!(t instanceof Node))throw new Error(`Invalid arguments for new ${e}`);super();this.name=e;this.message=n;this.source=t}makePretty(){if(!this.source)return;this.nodeType=this.source.type;const e=this.source.context&&this.source.context.root;if(typeof this.offset==="number"){this.range=new Range(this.offset,this.offset+1);const t=e&&getLinePos(this.offset,e);if(t){const e={line:t.line,col:t.col+1};this.linePos={start:t,end:e}}delete this.offset}else{this.range=this.source.range;this.linePos=this.source.rangeAsLinePos}if(this.linePos){const{line:t,col:n}=this.linePos.start;this.message+=` at line ${t}, column ${n}`;const r=e&&getPrettyContext(this.linePos,e);if(r)this.message+=`:\n\n${r}\n`}delete this.source}}class YAMLReferenceError extends YAMLError{constructor(e,t){super("YAMLReferenceError",e,t)}}class YAMLSemanticError extends YAMLError{constructor(e,t){super("YAMLSemanticError",e,t)}}class YAMLSyntaxError extends YAMLError{constructor(e,t){super("YAMLSyntaxError",e,t)}}class YAMLWarning extends YAMLError{constructor(e,t){super("YAMLWarning",e,t)}}function _defineProperty(e,t,n){if(t in e){Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true})}else{e[t]=n}return e}class PlainValue extends Node{static endOfLine(e,t,n){let r=e[t];let s=t;while(r&&r!=="\n"){if(n&&(r==="["||r==="]"||r==="{"||r==="}"||r===","))break;const t=e[s+1];if(r===":"&&(!t||t==="\n"||t==="\t"||t===" "||n&&t===","))break;if((r===" "||r==="\t")&&t==="#")break;s+=1;r=t}return s}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:t}=this.valueRange;const{src:n}=this.context;let r=n[t-1];while(eo?n.slice(o,r+1):e}else{s+=e}}const o=n[e];switch(o){case"\t":{const e="Plain value cannot start with a tab character";const t=[new YAMLSemanticError(this,e)];return{errors:t,str:s}}case"@":case"`":{const e=`Plain value cannot start with reserved character ${o}`;const t=[new YAMLSemanticError(this,e)];return{errors:t,str:s}}default:return s}}parseBlockValue(e){const{indent:t,inFlow:n,src:r}=this.context;let s=e;let o=e;for(let e=r[s];e==="\n";e=r[s]){if(Node.atDocumentBoundary(r,s+1))break;const e=Node.endOfBlockIndent(r,t,s+1);if(e===null||r[e]==="#")break;if(r[e]==="\n"){s=e}else{o=PlainValue.endOfLine(r,e,n);s=o}}if(this.valueRange.isEmpty())this.valueRange.start=e;this.valueRange.end=o;return o}parse(e,t){this.context=e;const{inFlow:n,src:r}=e;let s=t;const o=r[s];if(o&&o!=="#"&&o!=="\n"){s=PlainValue.endOfLine(r,t,n)}this.valueRange=new Range(t,s);s=Node.endOfWhiteSpace(r,s);s=this.parseComment(s);if(!this.hasComment||this.valueRange.isEmpty()){s=this.parseBlockValue(s)}return s}}t.Char=n;t.Node=Node;t.PlainValue=PlainValue;t.Range=Range;t.Type=r;t.YAMLError=YAMLError;t.YAMLReferenceError=YAMLReferenceError;t.YAMLSemanticError=YAMLSemanticError;t.YAMLSyntaxError=YAMLSyntaxError;t.YAMLWarning=YAMLWarning;t._defineProperty=_defineProperty;t.defaultTagPrefix=s;t.defaultTags=o},3169:(e,t,n)=>{"use strict";var r=n(2098);var s=n(7361);var o=n(3641);function createMap(e,t,n){const r=new s.YAMLMap(e);if(t instanceof Map){for(const[s,o]of t)r.items.push(e.createPair(s,o,n))}else if(t&&typeof t==="object"){for(const s of Object.keys(t))r.items.push(e.createPair(s,t[s],n))}if(typeof e.sortMapEntries==="function"){r.items.sort(e.sortMapEntries)}return r}const i={createNode:createMap,default:true,nodeClass:s.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:s.resolveMap};function createSeq(e,t,n){const r=new s.YAMLSeq(e);if(t&&t[Symbol.iterator]){for(const s of t){const t=e.createNode(s,n.wrapScalars,null,n);r.items.push(t)}}return r}const a={createNode:createSeq,default:true,nodeClass:s.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:s.resolveSeq};const c={identify:e=>typeof e==="string",default:true,tag:"tag:yaml.org,2002:str",resolve:s.resolveString,stringify(e,t,n,r){t=Object.assign({actualString:true},t);return s.stringifyString(e,t,n,r)},options:s.strOptions};const l=[i,a,c];const f=e=>typeof e==="bigint"||Number.isInteger(e);const u=(e,t,n)=>s.intOptions.asBigInt?BigInt(e):parseInt(t,n);function intStringify(e,t,n){const{value:r}=e;if(f(r)&&r>=0)return n+r.toString(t);return s.stringifyNumber(e)}const h={identify:e=>e==null,createNode:(e,t,n)=>n.wrapScalars?new s.Scalar(null):null,default:true,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:s.nullOptions,stringify:()=>s.nullOptions.nullStr};const d={identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>e[0]==="t"||e[0]==="T",options:s.boolOptions,stringify:({value:e})=>e?s.boolOptions.trueStr:s.boolOptions.falseStr};const p={identify:e=>f(e)&&e>=0,default:true,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o([0-7]+)$/,resolve:(e,t)=>u(e,t,8),options:s.intOptions,stringify:e=>intStringify(e,8,"0o")};const g={identify:f,default:true,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:e=>u(e,e,10),options:s.intOptions,stringify:s.stringifyNumber};const y={identify:e=>f(e)&&e>=0,default:true,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x([0-9a-fA-F]+)$/,resolve:(e,t)=>u(e,t,16),options:s.intOptions,stringify:e=>intStringify(e,16,"0x")};const w={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(e,t)=>t?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:s.stringifyNumber};const S={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify:({value:e})=>Number(e).toExponential()};const m={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.([0-9]+)|[0-9]+\.([0-9]*))$/,resolve(e,t,n){const r=t||n;const o=new s.Scalar(parseFloat(e));if(r&&r[r.length-1]==="0")o.minFractionDigits=r.length;return o},stringify:s.stringifyNumber};const O=l.concat([h,d,p,g,y,w,S,m]);const b=e=>typeof e==="bigint"||Number.isInteger(e);const E=({value:e})=>JSON.stringify(e);const M=[i,a,{identify:e=>typeof e==="string",default:true,tag:"tag:yaml.org,2002:str",resolve:s.resolveString,stringify:E},{identify:e=>e==null,createNode:(e,t,n)=>n.wrapScalars?new s.Scalar(null):null,default:true,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:E},{identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>e==="true",stringify:E},{identify:b,default:true,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:e=>s.intOptions.asBigInt?BigInt(e):parseInt(e,10),stringify:({value:e})=>b(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:E}];M.scalarFallback=(e=>{throw new SyntaxError(`Unresolved plain scalar ${JSON.stringify(e)}`)});const A=({value:e})=>e?s.boolOptions.trueStr:s.boolOptions.falseStr;const N=e=>typeof e==="bigint"||Number.isInteger(e);function intResolve$1(e,t,n){let r=t.replace(/_/g,"");if(s.intOptions.asBigInt){switch(n){case 2:r=`0b${r}`;break;case 8:r=`0o${r}`;break;case 16:r=`0x${r}`;break}const t=BigInt(r);return e==="-"?BigInt(-1)*t:t}const o=parseInt(r,n);return e==="-"?-1*o:o}function intStringify$1(e,t,n){const{value:r}=e;if(N(r)){const e=r.toString(t);return r<0?"-"+n+e.substr(1):n+e}return s.stringifyNumber(e)}const T=l.concat([{identify:e=>e==null,createNode:(e,t,n)=>n.wrapScalars?new s.Scalar(null):null,default:true,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:s.nullOptions,stringify:()=>s.nullOptions.nullStr},{identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>true,options:s.boolOptions,stringify:A},{identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>false,options:s.boolOptions,stringify:A},{identify:N,default:true,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^([-+]?)0b([0-1_]+)$/,resolve:(e,t,n)=>intResolve$1(t,n,2),stringify:e=>intStringify$1(e,2,"0b")},{identify:N,default:true,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^([-+]?)0([0-7_]+)$/,resolve:(e,t,n)=>intResolve$1(t,n,8),stringify:e=>intStringify$1(e,8,"0")},{identify:N,default:true,tag:"tag:yaml.org,2002:int",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:(e,t,n)=>intResolve$1(t,n,10),stringify:s.stringifyNumber},{identify:N,default:true,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^([-+]?)0x([0-9a-fA-F_]+)$/,resolve:(e,t,n)=>intResolve$1(t,n,16),stringify:e=>intStringify$1(e,16,"0x")},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(e,t)=>t?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:s.stringifyNumber},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?([0-9][0-9_]*)?(\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify:({value:e})=>Number(e).toExponential()},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.([0-9_]*)$/,resolve(e,t){const n=new s.Scalar(parseFloat(e.replace(/_/g,"")));if(t){const e=t.replace(/_/g,"");if(e[e.length-1]==="0")n.minFractionDigits=e.length}return n},stringify:s.stringifyNumber}],o.binary,o.omap,o.pairs,o.set,o.intTime,o.floatTime,o.timestamp);const v={core:O,failsafe:l,json:M,yaml11:T};const L={binary:o.binary,bool:d,float:m,floatExp:S,floatNaN:w,floatTime:o.floatTime,int:g,intHex:y,intOct:p,intTime:o.intTime,map:i,null:h,omap:o.omap,pairs:o.pairs,seq:a,set:o.set,timestamp:o.timestamp};function findTagObject(e,t,n){if(t){const e=n.filter(e=>e.tag===t);const r=e.find(e=>!e.format)||e[0];if(!r)throw new Error(`Tag ${t} not found`);return r}return n.find(t=>(t.identify&&t.identify(e)||t.class&&e instanceof t.class)&&!t.format)}function createNode(e,t,n){if(e instanceof s.Node)return e;const{defaultPrefix:r,onTagObj:o,prevObjects:c,schema:l,wrapScalars:f}=n;if(t&&t.startsWith("!!"))t=r+t.slice(2);let u=findTagObject(e,t,l.tags);if(!u){if(typeof e.toJSON==="function")e=e.toJSON();if(typeof e!=="object")return f?new s.Scalar(e):e;u=e instanceof Map?i:e[Symbol.iterator]?a:i}if(o){o(u);delete n.onTagObj}const h={};if(e&&typeof e==="object"&&c){const t=c.get(e);if(t){const e=new s.Alias(t);n.aliasNodes.push(e);return e}h.value=e;c.set(e,h)}h.node=u.createNode?u.createNode(n.schema,e,n):f?new s.Scalar(e):e;if(t&&h.node instanceof s.Node)h.node.tag=t;return h.node}function getSchemaTags(e,t,n,r){let s=e[r.replace(/\W/g,"")];if(!s){const t=Object.keys(e).map(e=>JSON.stringify(e)).join(", ");throw new Error(`Unknown schema "${r}"; use one of ${t}`)}if(Array.isArray(n)){for(const e of n)s=s.concat(e)}else if(typeof n==="function"){s=n(s.slice())}for(let e=0;eJSON.stringify(e)).join(", ");throw new Error(`Unknown custom tag "${n}"; use one of ${e}`)}s[e]=r}}return s}const C=(e,t)=>e.keyt.key?1:0;class Schema{constructor({customTags:e,merge:t,schema:n,sortMapEntries:r,tags:s}){this.merge=!!t;this.name=n;this.sortMapEntries=r===true?C:r||null;if(!e&&s)o.warnOptionDeprecation("tags","customTags");this.tags=getSchemaTags(v,L,e||s,n)}createNode(e,t,n,r){const s={defaultPrefix:Schema.defaultPrefix,schema:this,wrapScalars:t};const o=r?Object.assign(r,s):s;return createNode(e,n,o)}createPair(e,t,n){if(!n)n={wrapScalars:true};const r=this.createNode(e,n.wrapScalars,null,n);const o=this.createNode(t,n.wrapScalars,null,n);return new s.Pair(r,o)}}r._defineProperty(Schema,"defaultPrefix",r.defaultTagPrefix);r._defineProperty(Schema,"defaultTags",r.defaultTags);t.Schema=Schema},5712:(e,t,n)=>{"use strict";var r=n(2098);var s=n(5294);n(7361);var o=n(7987);var i=n(3169);var a=n(3641);function createNode(e,t=true,n){if(n===undefined&&typeof t==="string"){n=t;t=true}const r=Object.assign({},o.Document.defaults[o.defaultOptions.version],o.defaultOptions);const s=new i.Schema(r);return s.createNode(e,t,n)}class Document extends o.Document{constructor(e){super(Object.assign({},o.defaultOptions,e))}}function parseAllDocuments(e,t){const n=[];let r;for(const o of s.parse(e)){const e=new Document(t);e.parse(o,r);n.push(e);r=e}return n}function parseDocument(e,t){const n=s.parse(e);const o=new Document(t).parse(n[0]);if(n.length>1){const e="Source contains multiple documents; please use YAML.parseAllDocuments()";o.errors.unshift(new r.YAMLSemanticError(n[1],e))}return o}function parse(e,t){const n=parseDocument(e,t);n.warnings.forEach(e=>a.warn(e));if(n.errors.length>0)throw n.errors[0];return n.toJSON()}function stringify(e,t){const n=new Document(t);n.contents=e;return String(n)}const c={createNode:createNode,defaultOptions:o.defaultOptions,Document:Document,parse:parse,parseAllDocuments:parseAllDocuments,parseCST:s.parse,parseDocument:parseDocument,scalarOptions:o.scalarOptions,stringify:stringify};t.YAML=c},5294:(e,t,n)=>{"use strict";var r=n(2098);class BlankLine extends r.Node{constructor(){super(r.Type.BLANK_LINE)}get includesTrailingLines(){return true}parse(e,t){this.context=e;this.range=new r.Range(t,t+1);return t+1}}class CollectionItem extends r.Node{constructor(e,t){super(e,t);this.node=null}get includesTrailingLines(){return!!this.node&&this.node.includesTrailingLines}parse(e,t){this.context=e;const{parseNode:n,src:s}=e;let{atLineStart:o,lineStart:i}=e;if(!o&&this.type===r.Type.SEQ_ITEM)this.error=new r.YAMLSemanticError(this,"Sequence items must not have preceding content on the same line");const a=o?t-i:e.indent;let c=r.Node.endOfWhiteSpace(s,t+1);let l=s[c];const f=l==="#";const u=[];let h=null;while(l==="\n"||l==="#"){if(l==="#"){const e=r.Node.endOfLine(s,c+1);u.push(new r.Range(c,e));c=e}else{o=true;i=c+1;const e=r.Node.endOfWhiteSpace(s,i);if(s[e]==="\n"&&u.length===0){h=new BlankLine;i=h.parse({src:s},i)}c=r.Node.endOfIndent(s,i)}l=s[c]}if(r.Node.nextNodeIsIndented(l,c-(i+a),this.type!==r.Type.SEQ_ITEM)){this.node=n({atLineStart:o,inCollection:false,indent:a,lineStart:i,parent:this},c)}else if(l&&i>t+1){c=i-1}if(this.node){if(h){const t=e.parent.items||e.parent.contents;if(t)t.push(h)}if(u.length)Array.prototype.push.apply(this.props,u);c=this.node.range.end}else{if(f){const e=u[0];this.props.push(e);c=e.end}else{c=r.Node.endOfLine(s,t+1)}}const d=this.node?this.node.valueRange.end:c;this.valueRange=new r.Range(t,d);return c}setOrigRanges(e,t){t=super.setOrigRanges(e,t);return this.node?this.node.setOrigRanges(e,t):t}toString(){const{context:{src:e},node:t,range:n,value:s}=this;if(s!=null)return s;const o=t?e.slice(n.start,t.range.start)+String(t):e.slice(n.start,n.end);return r.Node.addStringTerminator(e,n.end,o)}}class Comment extends r.Node{constructor(){super(r.Type.COMMENT)}parse(e,t){this.context=e;const n=this.parseComment(t);this.range=new r.Range(t,n);return n}}function grabCollectionEndComments(e){let t=e;while(t instanceof CollectionItem)t=t.node;if(!(t instanceof Collection))return null;const n=t.items.length;let s=-1;for(let e=n-1;e>=0;--e){const n=t.items[e];if(n.type===r.Type.COMMENT){const{indent:t,lineStart:r}=n.context;if(t>0&&n.range.start>=r+t)break;s=e}else if(n.type===r.Type.BLANK_LINE)s=e;else break}if(s===-1)return null;const o=t.items.splice(s,n-s);const i=o[0].range.start;while(true){t.range.end=i;if(t.valueRange&&t.valueRange.end>i)t.valueRange.end=i;if(t===e)break;t=t.context.parent}return o}class Collection extends r.Node{static nextContentHasIndent(e,t,n){const s=r.Node.endOfLine(e,t)+1;t=r.Node.endOfWhiteSpace(e,s);const o=e[t];if(!o)return false;if(t>=s+n)return true;if(o!=="#"&&o!=="\n")return false;return Collection.nextContentHasIndent(e,t,n)}constructor(e){super(e.type===r.Type.SEQ_ITEM?r.Type.SEQ:r.Type.MAP);for(let t=e.props.length-1;t>=0;--t){if(e.props[t].start0}parse(e,t){this.context=e;const{parseNode:n,src:s}=e;let o=r.Node.startOfLine(s,t);const i=this.items[0];i.context.parent=this;this.valueRange=r.Range.copy(i.valueRange);const a=i.range.start-i.context.lineStart;let c=t;c=r.Node.normalizeOffset(s,c);let l=s[c];let f=r.Node.endOfWhiteSpace(s,o)===c;let u=false;while(l){while(l==="\n"||l==="#"){if(f&&l==="\n"&&!u){const e=new BlankLine;c=e.parse({src:s},c);this.valueRange.end=c;if(c>=s.length){l=null;break}this.items.push(e);c-=1}else if(l==="#"){if(c=s.length){l=null;break}}o=c+1;c=r.Node.endOfIndent(s,o);if(r.Node.atBlank(s,c)){const e=r.Node.endOfWhiteSpace(s,c);const t=s[e];if(!t||t==="\n"||t==="#"){c=e}}l=s[c];f=true}if(!l){break}if(c!==o+a&&(f||l!==":")){if(ct)c=o;break}else if(!this.error){const e="All collection items must start at the same column";this.error=new r.YAMLSyntaxError(this,e)}}if(i.type===r.Type.SEQ_ITEM){if(l!=="-"){if(o>t)c=o;break}}else if(l==="-"&&!this.error){const e=s[c+1];if(!e||e==="\n"||e==="\t"||e===" "){const e="A collection cannot be both a mapping and a sequence";this.error=new r.YAMLSyntaxError(this,e)}}const e=n({atLineStart:f,inCollection:true,indent:a,lineStart:o,parent:this},c);if(!e)return c;this.items.push(e);this.valueRange.end=e.valueRange.end;c=r.Node.normalizeOffset(s,e.range.end);l=s[c];f=false;u=e.includesTrailingLines;if(l){let e=c-1;let t=s[e];while(t===" "||t==="\t")t=s[--e];if(t==="\n"){o=e+1;f=true}}const h=grabCollectionEndComments(e);if(h)Array.prototype.push.apply(this.items,h)}return c}setOrigRanges(e,t){t=super.setOrigRanges(e,t);this.items.forEach(n=>{t=n.setOrigRanges(e,t)});return t}toString(){const{context:{src:e},items:t,range:n,value:s}=this;if(s!=null)return s;let o=e.slice(n.start,t[0].range.start)+String(t[0]);for(let e=1;e0){this.contents=this.directives;this.directives=[]}return o}}if(t[o]){this.directivesEndMarker=new r.Range(o,o+3);return o+3}if(s){this.error=new r.YAMLSemanticError(this,"Missing directives-end indicator line")}else if(this.directives.length>0){this.contents=this.directives;this.directives=[]}return o}parseContents(e){const{parseNode:t,src:n}=this.context;if(!this.contents)this.contents=[];let s=e;while(n[s-1]==="-")s-=1;let o=r.Node.endOfWhiteSpace(n,e);let i=s===e;this.valueRange=new r.Range(o);while(!r.Node.atDocumentBoundary(n,o,r.Char.DOCUMENT_END)){switch(n[o]){case"\n":if(i){const e=new BlankLine;o=e.parse({src:n},o);if(o{t=n.setOrigRanges(e,t)});if(this.directivesEndMarker)t=this.directivesEndMarker.setOrigRange(e,t);this.contents.forEach(n=>{t=n.setOrigRanges(e,t)});if(this.documentEndMarker)t=this.documentEndMarker.setOrigRange(e,t);return t}toString(){const{contents:e,directives:t,value:n}=this;if(n!=null)return n;let s=t.join("");if(e.length>0){if(t.length>0||e[0].type===r.Type.COMMENT)s+="---\n";s+=e.join("")}if(s[s.length-1]!=="\n")s+="\n";return s}}class Alias extends r.Node{parse(e,t){this.context=e;const{src:n}=e;let s=r.Node.endOfIdentifier(n,t+1);this.valueRange=new r.Range(t+1,s);s=r.Node.endOfWhiteSpace(n,s);s=this.parseComment(s);return s}}const s={CLIP:"CLIP",KEEP:"KEEP",STRIP:"STRIP"};class BlockValue extends r.Node{constructor(e,t){super(e,t);this.blockIndent=null;this.chomping=s.CLIP;this.header=null}get includesTrailingLines(){return this.chomping===s.KEEP}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:t}=this.valueRange;const{indent:n,src:o}=this.context;if(this.valueRange.isEmpty())return"";let i=null;let a=o[t-1];while(a==="\n"||a==="\t"||a===" "){t-=1;if(t<=e){if(this.chomping===s.KEEP)break;else return""}if(a==="\n")i=t;a=o[t-1]}let c=t+1;if(i){if(this.chomping===s.KEEP){c=i;t=this.valueRange.end}else{t=i}}const l=n+this.blockIndent;const f=this.type===r.Type.BLOCK_FOLDED;let u=true;let h="";let d="";let p=false;for(let n=e;nc){c=l}}else if(s&&s!=="\n"&&l{if(n instanceof r.Node){t=n.setOrigRanges(e,t)}else if(e.length===0){n.origOffset=n.offset}else{let r=t;while(rn.offset)break;else++r}n.origOffset=n.offset+r;t=r}});return t}toString(){const{context:{src:e},items:t,range:n,value:s}=this;if(s!=null)return s;const o=t.filter(e=>e instanceof r.Node);let i="";let a=n.start;o.forEach(t=>{const n=e.slice(a,t.range.start);a=t.range.end;i+=n+String(t);if(i[i.length-1]==="\n"&&e[a-1]!=="\n"&&e[a]==="\n"){a+=1}});i+=e.slice(a,n.end);return r.Node.addStringTerminator(e,n.end,i)}}class QuoteDouble extends r.Node{static endOfQuote(e,t){let n=e[t];while(n&&n!=='"'){t+=n==="\\"?2:1;n=e[t]}return t+1}get strValue(){if(!this.valueRange||!this.context)return null;const e=[];const{start:t,end:n}=this.valueRange;const{indent:s,src:o}=this.context;if(o[n-1]!=='"')e.push(new r.YAMLSyntaxError(this,'Missing closing "quote'));let i="";for(let a=t+1;ae?o.slice(e,a+1):t}else{i+=t}}return e.length>0?{errors:e,str:i}:i}parseCharCode(e,t,n){const{src:s}=this.context;const o=s.substr(e,t);const i=o.length===t&&/^[0-9a-fA-F]+$/.test(o);const a=i?parseInt(o,16):NaN;if(isNaN(a)){n.push(new r.YAMLSyntaxError(this,`Invalid escape sequence ${s.substr(e-2,t+2)}`));return s.substr(e-2,t+2)}return String.fromCodePoint(a)}parse(e,t){this.context=e;const{src:n}=e;let s=QuoteDouble.endOfQuote(n,t+1);this.valueRange=new r.Range(t,s);s=r.Node.endOfWhiteSpace(n,s);s=this.parseComment(s);return s}}class QuoteSingle extends r.Node{static endOfQuote(e,t){let n=e[t];while(n){if(n==="'"){if(e[t+1]!=="'")break;n=e[t+=2]}else{n=e[t+=1]}}return t+1}get strValue(){if(!this.valueRange||!this.context)return null;const e=[];const{start:t,end:n}=this.valueRange;const{indent:s,src:o}=this.context;if(o[n-1]!=="'")e.push(new r.YAMLSyntaxError(this,"Missing closing 'quote"));let i="";for(let a=t+1;ae?o.slice(e,a+1):t}else{i+=t}}return e.length>0?{errors:e,str:i}:i}parse(e,t){this.context=e;const{src:n}=e;let s=QuoteSingle.endOfQuote(n,t+1);this.valueRange=new r.Range(t,s);s=r.Node.endOfWhiteSpace(n,s);s=this.parseComment(s);return s}}function createNewNode(e,t){switch(e){case r.Type.ALIAS:return new Alias(e,t);case r.Type.BLOCK_FOLDED:case r.Type.BLOCK_LITERAL:return new BlockValue(e,t);case r.Type.FLOW_MAP:case r.Type.FLOW_SEQ:return new FlowCollection(e,t);case r.Type.MAP_KEY:case r.Type.MAP_VALUE:case r.Type.SEQ_ITEM:return new CollectionItem(e,t);case r.Type.COMMENT:case r.Type.PLAIN:return new r.PlainValue(e,t);case r.Type.QUOTE_DOUBLE:return new QuoteDouble(e,t);case r.Type.QUOTE_SINGLE:return new QuoteSingle(e,t);default:return null}}class ParseContext{static parseType(e,t,n){switch(e[t]){case"*":return r.Type.ALIAS;case">":return r.Type.BLOCK_FOLDED;case"|":return r.Type.BLOCK_LITERAL;case"{":return r.Type.FLOW_MAP;case"[":return r.Type.FLOW_SEQ;case"?":return!n&&r.Node.atBlank(e,t+1,true)?r.Type.MAP_KEY:r.Type.PLAIN;case":":return!n&&r.Node.atBlank(e,t+1,true)?r.Type.MAP_VALUE:r.Type.PLAIN;case"-":return!n&&r.Node.atBlank(e,t+1,true)?r.Type.SEQ_ITEM:r.Type.PLAIN;case'"':return r.Type.QUOTE_DOUBLE;case"'":return r.Type.QUOTE_SINGLE;default:return r.Type.PLAIN}}constructor(e={},{atLineStart:t,inCollection:n,inFlow:s,indent:o,lineStart:i,parent:a}={}){r._defineProperty(this,"parseNode",(e,t)=>{if(r.Node.atDocumentBoundary(this.src,t))return null;const n=new ParseContext(this,e);const{props:s,type:o,valueStart:i}=n.parseProps(t);const a=createNewNode(o,s);let c=a.parse(n,i);a.range=new r.Range(t,c);if(c<=t){a.error=new Error(`Node#parse consumed no characters`);a.error.parseEnd=c;a.error.source=a;a.range.end=t+1}if(n.nodeStartsCollection(a)){if(!a.error&&!n.atLineStart&&n.parent.type===r.Type.DOCUMENT){a.error=new r.YAMLSyntaxError(a,"Block collection must not have preceding content here (e.g. directives-end indicator)")}const e=new Collection(a);c=e.parse(new ParseContext(n),c);e.range=new r.Range(t,c);return e}return a});this.atLineStart=t!=null?t:e.atLineStart||false;this.inCollection=n!=null?n:e.inCollection||false;this.inFlow=s!=null?s:e.inFlow||false;this.indent=o!=null?o:e.indent;this.lineStart=i!=null?i:e.lineStart;this.parent=a!=null?a:e.parent||{};this.root=e.root;this.src=e.src}nodeStartsCollection(e){const{inCollection:t,inFlow:n,src:s}=this;if(t||n)return false;if(e instanceof CollectionItem)return true;let o=e.range.end;if(s[o]==="\n"||s[o-1]==="\n")return false;o=r.Node.endOfWhiteSpace(s,o);return s[o]===":"}parseProps(e){const{inFlow:t,parent:n,src:s}=this;const o=[];let i=false;e=this.atLineStart?r.Node.endOfIndent(s,e):r.Node.endOfWhiteSpace(s,e);let a=s[e];while(a===r.Char.ANCHOR||a===r.Char.COMMENT||a===r.Char.TAG||a==="\n"){if(a==="\n"){const t=e+1;const o=r.Node.endOfIndent(s,t);const a=o-(t+this.indent);const c=n.type===r.Type.SEQ_ITEM&&n.context.atLineStart;if(!r.Node.nextNodeIsIndented(s[o],a,!c))break;this.atLineStart=true;this.lineStart=t;i=false;e=o}else if(a===r.Char.COMMENT){const t=r.Node.endOfLine(s,e+1);o.push(new r.Range(e,t));e=t}else{let t=r.Node.endOfIdentifier(s,e+1);if(a===r.Char.TAG&&s[t]===","&&/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+,\d\d\d\d(-\d\d){0,2}\/\S/.test(s.slice(e+1,t+13))){t=r.Node.endOfIdentifier(s,t+5)}o.push(new r.Range(e,t));i=true;e=r.Node.endOfWhiteSpace(s,t)}a=s[e]}if(i&&a===":"&&r.Node.atBlank(s,e+1,true))e-=1;const c=ParseContext.parseType(s,e,t);return{props:o,type:c,valueStart:e}}}function parse(e){const t=[];if(e.indexOf("\r")!==-1){e=e.replace(/\r\n?/g,(e,n)=>{if(e.length>1)t.push(n);return"\n"})}const n=[];let r=0;do{const t=new Document;const s=new ParseContext({src:e});r=t.parse(s,r);n.push(t)}while(r{if(t.length===0)return false;for(let e=1;en.join("...\n"));return n}t.parse=parse},7361:(e,t,n)=>{"use strict";var r=n(2098);function addCommentBefore(e,t,n){if(!n)return e;const r=n.replace(/[\s\S]^/gm,`$&${t}#`);return`#${r}\n${t}${e}`}function addComment(e,t,n){return!n?e:n.indexOf("\n")===-1?`${e} #${n}`:`${e}\n`+n.replace(/^/gm,`${t||""}#`)}class Node{}function toJSON(e,t,n){if(Array.isArray(e))return e.map((e,t)=>toJSON(e,String(t),n));if(e&&typeof e.toJSON==="function"){const r=n&&n.anchors&&n.anchors.get(e);if(r)n.onCreate=(e=>{r.res=e;delete n.onCreate});const s=e.toJSON(t,n);if(r&&n.onCreate)n.onCreate(s);return s}if((!n||!n.keep)&&typeof e==="bigint")return Number(e);return e}class Scalar extends Node{constructor(e){super();this.value=e}toJSON(e,t){return t&&t.keep?this.value:toJSON(this.value,e,t)}toString(){return String(this.value)}}function collectionFromPath(e,t,n){let r=n;for(let e=t.length-1;e>=0;--e){const n=t[e];const s=Number.isInteger(n)&&n>=0?[]:{};s[n]=r;r=s}return e.createNode(r,false)}const s=e=>e==null||typeof e==="object"&&e[Symbol.iterator]().next().done;class Collection extends Node{constructor(e){super();r._defineProperty(this,"items",[]);this.schema=e}addIn(e,t){if(s(e))this.add(t);else{const[n,...r]=e;const s=this.get(n,true);if(s instanceof Collection)s.addIn(r,t);else if(s===undefined&&this.schema)this.set(n,collectionFromPath(this.schema,r,t));else throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}}deleteIn([e,...t]){if(t.length===0)return this.delete(e);const n=this.get(e,true);if(n instanceof Collection)return n.deleteIn(t);else throw new Error(`Expected YAML collection at ${e}. Remaining path: ${t}`)}getIn([e,...t],n){const r=this.get(e,true);if(t.length===0)return!n&&r instanceof Scalar?r.value:r;else return r instanceof Collection?r.getIn(t,n):undefined}hasAllNullValues(){return this.items.every(e=>{if(!e||e.type!=="PAIR")return false;const t=e.value;return t==null||t instanceof Scalar&&t.value==null&&!t.commentBefore&&!t.comment&&!t.tag})}hasIn([e,...t]){if(t.length===0)return this.has(e);const n=this.get(e,true);return n instanceof Collection?n.hasIn(t):false}setIn([e,...t],n){if(t.length===0){this.set(e,n)}else{const r=this.get(e,true);if(r instanceof Collection)r.setIn(t,n);else if(r===undefined&&this.schema)this.set(e,collectionFromPath(this.schema,t,n));else throw new Error(`Expected YAML collection at ${e}. Remaining path: ${t}`)}}toJSON(){return null}toString(e,{blockItem:t,flowChars:n,isMap:s,itemIndent:o},i,a){const{indent:c,indentStep:l,stringify:f}=e;const u=this.type===r.Type.FLOW_MAP||this.type===r.Type.FLOW_SEQ||e.inFlow;if(u)o+=l;const h=s&&this.hasAllNullValues();e=Object.assign({},e,{allNullValues:h,indent:o,inFlow:u,type:null});let d=false;let p=false;const g=this.items.reduce((t,n,r)=>{let s;if(n){if(!d&&n.spaceBefore)t.push({type:"comment",str:""});if(n.commentBefore)n.commentBefore.match(/^.*$/gm).forEach(e=>{t.push({type:"comment",str:`#${e}`})});if(n.comment)s=n.comment;if(u&&(!d&&n.spaceBefore||n.commentBefore||n.comment||n.key&&(n.key.commentBefore||n.key.comment)||n.value&&(n.value.commentBefore||n.value.comment)))p=true}d=false;let i=f(n,e,()=>s=null,()=>d=true);if(u&&!p&&i.includes("\n"))p=true;if(u&&re.str);if(p||r.reduce((e,t)=>e+t.length+2,2)>Collection.maxFlowStringSingleLineLength){y=e;for(const e of r){y+=e?`\n${l}${c}${e}`:"\n"}y+=`\n${c}${t}`}else{y=`${e} ${r.join(" ")} ${t}`}}else{const e=g.map(t);y=e.shift();for(const t of e)y+=t?`\n${c}${t}`:"\n"}if(this.comment){y+="\n"+this.comment.replace(/^/gm,`${c}#`);if(i)i()}else if(d&&a)a();return y}}r._defineProperty(Collection,"maxFlowStringSingleLineLength",60);function asItemIndex(e){let t=e instanceof Scalar?e.value:e;if(t&&typeof t==="string")t=Number(t);return Number.isInteger(t)&&t>=0?t:null}class YAMLSeq extends Collection{add(e){this.items.push(e)}delete(e){const t=asItemIndex(e);if(typeof t!=="number")return false;const n=this.items.splice(t,1);return n.length>0}get(e,t){const n=asItemIndex(e);if(typeof n!=="number")return undefined;const r=this.items[n];return!t&&r instanceof Scalar?r.value:r}has(e){const t=asItemIndex(e);return typeof t==="number"&&te.type==="comment"?e.str:`- ${e.str}`,flowChars:{start:"[",end:"]"},isMap:false,itemIndent:(e.indent||"")+" "},t,n)}}const o=(e,t,n)=>{if(t===null)return"";if(typeof t!=="object")return String(t);if(e instanceof Node&&n&&n.doc)return e.toString({anchors:{},doc:n.doc,indent:"",indentStep:n.indentStep,inFlow:true,inStringifyKey:true,stringify:n.stringify});return JSON.stringify(t)};class Pair extends Node{constructor(e,t=null){super();this.key=e;this.value=t;this.type=Pair.Type.PAIR}get commentBefore(){return this.key instanceof Node?this.key.commentBefore:undefined}set commentBefore(e){if(this.key==null)this.key=new Scalar(null);if(this.key instanceof Node)this.key.commentBefore=e;else{const e="Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node.";throw new Error(e)}}addToJSMap(e,t){const n=toJSON(this.key,"",e);if(t instanceof Map){const r=toJSON(this.value,n,e);t.set(n,r)}else if(t instanceof Set){t.add(n)}else{const r=o(this.key,n,e);t[r]=toJSON(this.value,r,e)}return t}toJSON(e,t){const n=t&&t.mapAsMap?new Map:{};return this.addToJSMap(t,n)}toString(e,t,n){if(!e||!e.doc)return JSON.stringify(this);const{indent:s,indentSeq:o,simpleKeys:i}=e.doc.options;let{key:a,value:c}=this;let l=a instanceof Node&&a.comment;if(i){if(l){throw new Error("With simple keys, key nodes cannot have comments")}if(a instanceof Collection){const e="With simple keys, collection cannot be used as a key value";throw new Error(e)}}const f=!i&&(!a||l||a instanceof Collection||a.type===r.Type.BLOCK_FOLDED||a.type===r.Type.BLOCK_LITERAL);const{doc:u,indent:h,indentStep:d,stringify:p}=e;e=Object.assign({},e,{implicitKey:!f,indent:h+d});let g=false;let y=p(a,e,()=>l=null,()=>g=true);y=addComment(y,e.indent,l);if(e.allNullValues&&!i){if(this.comment){y=addComment(y,e.indent,this.comment);if(t)t()}else if(g&&!l&&n)n();return e.inFlow?y:`? ${y}`}y=f?`? ${y}\n${h}:`:`${y}:`;if(this.comment){y=addComment(y,e.indent,this.comment);if(t)t()}let w="";let S=null;if(c instanceof Node){if(c.spaceBefore)w="\n";if(c.commentBefore){const t=c.commentBefore.replace(/^/gm,`${e.indent}#`);w+=`\n${t}`}S=c.comment}else if(c&&typeof c==="object"){c=u.schema.createNode(c,true)}e.implicitKey=false;if(!f&&!this.comment&&c instanceof Scalar)e.indentAtStart=y.length+1;g=false;if(!o&&s>=2&&!e.inFlow&&!f&&c instanceof YAMLSeq&&c.type!==r.Type.FLOW_SEQ&&!c.tag&&!u.anchors.getName(c)){e.indent=e.indent.substr(2)}const m=p(c,e,()=>S=null,()=>g=true);let O=" ";if(w||this.comment){O=`${w}\n${e.indent}`}else if(!f&&c instanceof Collection){const t=m[0]==="["||m[0]==="{";if(!t||m.includes("\n"))O=`\n${e.indent}`}if(g&&!S&&n)n();return addComment(y+O+m,e.indent,S)}}r._defineProperty(Pair,"Type",{PAIR:"PAIR",MERGE_PAIR:"MERGE_PAIR"});const i=(e,t)=>{if(e instanceof Alias){const n=t.get(e.source);return n.count*n.aliasCount}else if(e instanceof Collection){let n=0;for(const r of e.items){const e=i(r,t);if(e>n)n=e}return n}else if(e instanceof Pair){const n=i(e.key,t);const r=i(e.value,t);return Math.max(n,r)}return 1};class Alias extends Node{static stringify({range:e,source:t},{anchors:n,doc:r,implicitKey:s,inStringifyKey:o}){let i=Object.keys(n).find(e=>n[e]===t);if(!i&&o)i=r.anchors.getName(t)||r.anchors.newName();if(i)return`*${i}${s?" ":""}`;const a=r.anchors.getName(t)?"Alias node must be after source node":"Source node not found for alias node";throw new Error(`${a} [${e}]`)}constructor(e){super();this.source=e;this.type=r.Type.ALIAS}set tag(e){throw new Error("Alias nodes cannot have tags")}toJSON(e,t){if(!t)return toJSON(this.source,e,t);const{anchors:n,maxAliasCount:s}=t;const o=n.get(this.source);if(!o||o.res===undefined){const e="This should not happen: Alias anchor was not resolved?";if(this.cstNode)throw new r.YAMLReferenceError(this.cstNode,e);else throw new ReferenceError(e)}if(s>=0){o.count+=1;if(o.aliasCount===0)o.aliasCount=i(this.source,n);if(o.count*o.aliasCount>s){const e="Excessive alias count indicates a resource exhaustion attack";if(this.cstNode)throw new r.YAMLReferenceError(this.cstNode,e);else throw new ReferenceError(e)}}return o.res}toString(e){return Alias.stringify(this,e)}}r._defineProperty(Alias,"default",true);function findPair(e,t){const n=t instanceof Scalar?t.value:t;for(const r of e){if(r instanceof Pair){if(r.key===t||r.key===n)return r;if(r.key&&r.key.value===n)return r}}return undefined}class YAMLMap extends Collection{add(e,t){if(!e)e=new Pair(e);else if(!(e instanceof Pair))e=new Pair(e.key||e,e.value);const n=findPair(this.items,e.key);const r=this.schema&&this.schema.sortMapEntries;if(n){if(t)n.value=e.value;else throw new Error(`Key ${e.key} already set`)}else if(r){const t=this.items.findIndex(t=>r(e,t)<0);if(t===-1)this.items.push(e);else this.items.splice(t,0,e)}else{this.items.push(e)}}delete(e){const t=findPair(this.items,e);if(!t)return false;const n=this.items.splice(this.items.indexOf(t),1);return n.length>0}get(e,t){const n=findPair(this.items,e);const r=n&&n.value;return!t&&r instanceof Scalar?r.value:r}has(e){return!!findPair(this.items,e)}set(e,t){this.add(new Pair(e,t),true)}toJSON(e,t,n){const r=n?new n:t&&t.mapAsMap?new Map:{};if(t&&t.onCreate)t.onCreate(r);for(const e of this.items)e.addToJSMap(t,r);return r}toString(e,t,n){if(!e)return JSON.stringify(this);for(const e of this.items){if(!(e instanceof Pair))throw new Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`)}return super.toString(e,{blockItem:e=>e.str,flowChars:{start:"{",end:"}"},isMap:true,itemIndent:e.indent||""},t,n)}}const a="<<";class Merge extends Pair{constructor(e){if(e instanceof Pair){let t=e.value;if(!(t instanceof YAMLSeq)){t=new YAMLSeq;t.items.push(e.value);t.range=e.value.range}super(e.key,t);this.range=e.range}else{super(new Scalar(a),new YAMLSeq)}this.type=Pair.Type.MERGE_PAIR}addToJSMap(e,t){for(const{source:n}of this.value.items){if(!(n instanceof YAMLMap))throw new Error("Merge sources must be maps");const r=n.toJSON(null,e,Map);for(const[e,n]of r){if(t instanceof Map){if(!t.has(e))t.set(e,n)}else if(t instanceof Set){t.add(e)}else{if(!Object.prototype.hasOwnProperty.call(t,e))t[e]=n}}}return t}toString(e,t){const n=this.value;if(n.items.length>1)return super.toString(e,t);this.value=n.items[0];const r=super.toString(e,t);this.value=n;return r}}const c={defaultType:r.Type.BLOCK_LITERAL,lineWidth:76};const l={trueStr:"true",falseStr:"false"};const f={asBigInt:false};const u={nullStr:"null"};const h={defaultType:r.Type.PLAIN,doubleQuoted:{jsonEncoding:false,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};function resolveScalar(e,t,n){for(const{format:n,test:r,resolve:s}of t){if(r){const t=e.match(r);if(t){let e=s.apply(null,t);if(!(e instanceof Scalar))e=new Scalar(e);if(n)e.format=n;return e}}}if(n)e=n(e);return new Scalar(e)}const d="flow";const p="block";const g="quoted";const y=(e,t)=>{let n=e[t+1];while(n===" "||n==="\t"){do{n=e[t+=1]}while(n&&n!=="\n");n=e[t+1]}return t};function foldFlowLines(e,t,n,{indentAtStart:r,lineWidth:s=80,minContentWidth:o=20,onFold:i,onOverflow:a}){if(!s||s<0)return e;const c=Math.max(1+o,1+s-t.length);if(e.length<=c)return e;const l=[];const f={};let u=s-(typeof r==="number"?r:t.length);let h=undefined;let d=undefined;let w=false;let S=-1;if(n===p){S=y(e,S);if(S!==-1)u=S+c}for(let t;t=e[S+=1];){if(n===g&&t==="\\"){switch(e[S+1]){case"x":S+=3;break;case"u":S+=5;break;case"U":S+=9;break;default:S+=1}}if(t==="\n"){if(n===p)S=y(e,S);u=S+c;h=undefined}else{if(t===" "&&d&&d!==" "&&d!=="\n"&&d!=="\t"){const t=e[S+1];if(t&&t!==" "&&t!=="\n"&&t!=="\t")h=S}if(S>=u){if(h){l.push(h);u=h+c;h=undefined}else if(n===g){while(d===" "||d==="\t"){d=t;t=e[S+=1];w=true}l.push(S-2);f[S-2]=true;u=S-2+c;h=undefined}else{w=true}}}d=t}if(w&&a)a();if(l.length===0)return e;if(i)i();let m=e.slice(0,l[0]);for(let r=0;re?Object.assign({indentAtStart:e},h.fold):h.fold;const S=e=>/^(%|---|\.\.\.)/m.test(e);function lineLengthOverLimit(e,t){const n=e.length;if(n<=t)return false;for(let r=0,s=0;rt)return true;s=r+1;if(n-s<=t)return false}}return true}function doubleQuotedString(e,t){const{implicitKey:n}=t;const{jsonEncoding:r,minMultiLineLength:s}=h.doubleQuoted;const o=JSON.stringify(e);if(r)return o;const i=t.indent||(S(e)?" ":"");let a="";let c=0;for(let e=0,t=o[e];t;t=o[++e]){if(t===" "&&o[e+1]==="\\"&&o[e+2]==="n"){a+=o.slice(c,e)+"\\ ";e+=1;c=e;t="\\"}if(t==="\\")switch(o[e+1]){case"u":{a+=o.slice(c,e);const t=o.substr(e+2,4);switch(t){case"0000":a+="\\0";break;case"0007":a+="\\a";break;case"000b":a+="\\v";break;case"001b":a+="\\e";break;case"0085":a+="\\N";break;case"00a0":a+="\\_";break;case"2028":a+="\\L";break;case"2029":a+="\\P";break;default:if(t.substr(0,2)==="00")a+="\\x"+t.substr(2);else a+=o.substr(e,6)}e+=5;c=e+1}break;case"n":if(n||o[e+2]==='"'||o.length";if(!n)return f+"\n";let u="";let d="";n=n.replace(/[\n\t ]*$/,e=>{const t=e.indexOf("\n");if(t===-1){f+="-"}else if(n===e||t!==e.length-1){f+="+";if(i)i()}d=e.replace(/\n$/,"");return""}).replace(/^[\n ]*/,e=>{if(e.indexOf(" ")!==-1)f+=c;const t=e.match(/ +$/);if(t){u=e.slice(0,-t[0].length);return t[0]}else{u=e;return""}});if(d)d=d.replace(/\n+(?!\n|$)/g,`$&${a}`);if(u)u=u.replace(/\n+/g,`$&${a}`);if(e){f+=" #"+e.replace(/ ?[\r\n]+/g," ");if(o)o()}if(!n)return`${f}${c}\n${a}${d}`;if(l){n=n.replace(/\n+/g,`$&${a}`);return`${f}\n${a}${u}${n}${d}`}n=n.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${a}`);const g=foldFlowLines(`${u}${n}${d}`,a,p,h.fold);return`${f}\n${a}${g}`}function plainString(e,t,n,s){const{comment:o,type:i,value:a}=e;const{actualString:c,implicitKey:l,indent:f,inFlow:u}=t;if(l&&/[\n[\]{},]/.test(a)||u&&/[[\]{},]/.test(a)){return doubleQuotedString(a,t)}if(!a||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(a)){return l||u||a.indexOf("\n")===-1?a.indexOf('"')!==-1&&a.indexOf("'")===-1?singleQuotedString(a,t):doubleQuotedString(a,t):blockString(e,t,n,s)}if(!l&&!u&&i!==r.Type.PLAIN&&a.indexOf("\n")!==-1){return blockString(e,t,n,s)}if(f===""&&S(a)){t.forceBlockIndent=true;return blockString(e,t,n,s)}const h=a.replace(/\n+/g,`$&\n${f}`);if(c){const{tags:e}=t.doc.schema;const n=resolveScalar(h,e,e.scalarFallback).value;if(typeof n!=="string")return doubleQuotedString(a,t)}const p=l?h:foldFlowLines(h,f,d,w(t));if(o&&!u&&(p.indexOf("\n")!==-1||o.indexOf("\n")!==-1)){if(n)n();return addCommentBefore(p,f,o)}return p}function stringifyString(e,t,n,s){const{defaultType:o}=h;const{implicitKey:i,inFlow:a}=t;let{type:c,value:l}=e;if(typeof l!=="string"){l=String(l);e=Object.assign({},e,{value:l})}const f=o=>{switch(o){case r.Type.BLOCK_FOLDED:case r.Type.BLOCK_LITERAL:return blockString(e,t,n,s);case r.Type.QUOTE_DOUBLE:return doubleQuotedString(l,t);case r.Type.QUOTE_SINGLE:return singleQuotedString(l,t);case r.Type.PLAIN:return plainString(e,t,n,s);default:return null}};if(c!==r.Type.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(l)){c=r.Type.QUOTE_DOUBLE}else if((i||a)&&(c===r.Type.BLOCK_FOLDED||c===r.Type.BLOCK_LITERAL)){c=r.Type.QUOTE_DOUBLE}let u=f(c);if(u===null){u=f(o);if(u===null)throw new Error(`Unsupported default string type ${o}`)}return u}function stringifyNumber({format:e,minFractionDigits:t,tag:n,value:r}){if(typeof r==="bigint")return String(r);if(!isFinite(r))return isNaN(r)?".nan":r<0?"-.inf":".inf";let s=JSON.stringify(r);if(!e&&t&&(!n||n==="tag:yaml.org,2002:float")&&/^\d/.test(s)){let e=s.indexOf(".");if(e<0){e=s.length;s+="."}let n=t-(s.length-e-1);while(n-- >0)s+="0"}return s}function checkFlowCollectionEnd(e,t){let n,s;switch(t.type){case r.Type.FLOW_MAP:n="}";s="flow map";break;case r.Type.FLOW_SEQ:n="]";s="flow sequence";break;default:e.push(new r.YAMLSemanticError(t,"Not a flow collection!?"));return}let o;for(let e=t.items.length-1;e>=0;--e){const n=t.items[e];if(!n||n.type!==r.Type.COMMENT){o=n;break}}if(o&&o.char!==n){const i=`Expected ${s} to end with ${n}`;let a;if(typeof o.offset==="number"){a=new r.YAMLSemanticError(t,i);a.offset=o.offset+1}else{a=new r.YAMLSemanticError(o,i);if(o.range&&o.range.end)a.offset=o.range.end-o.range.start}e.push(a)}}function checkFlowCommentSpace(e,t){const n=t.context.src[t.range.start-1];if(n!=="\n"&&n!=="\t"&&n!==" "){const n="Comments must be separated from other tokens by white space characters";e.push(new r.YAMLSemanticError(t,n))}}function getLongKeyError(e,t){const n=String(t);const s=n.substr(0,8)+"..."+n.substr(-8);return new r.YAMLSemanticError(e,`The "${s}" key is too long`)}function resolveComments(e,t){for(const{afterKey:n,before:r,comment:s}of t){let t=e.items[r];if(!t){if(s!==undefined){if(e.comment)e.comment+="\n"+s;else e.comment=s}}else{if(n&&t.value)t=t.value;if(s===undefined){if(n||!t.commentBefore)t.spaceBefore=true}else{if(t.commentBefore)t.commentBefore+="\n"+s;else t.commentBefore=s}}}}function resolveString(e,t){const n=t.strValue;if(!n)return"";if(typeof n==="string")return n;n.errors.forEach(n=>{if(!n.source)n.source=t;e.errors.push(n)});return n.str}function resolveTagHandle(e,t){const{handle:n,suffix:s}=t.tag;let o=e.tagPrefixes.find(e=>e.handle===n);if(!o){const s=e.getDefaults().tagPrefixes;if(s)o=s.find(e=>e.handle===n);if(!o)throw new r.YAMLSemanticError(t,`The ${n} tag handle is non-default and was not declared.`)}if(!s)throw new r.YAMLSemanticError(t,`The ${n} tag has no suffix.`);if(n==="!"&&(e.version||e.options.version)==="1.0"){if(s[0]==="^"){e.warnings.push(new r.YAMLWarning(t,"YAML 1.0 ^ tag expansion is not supported"));return s}if(/[:/]/.test(s)){const e=s.match(/^([a-z0-9-]+)\/(.*)/i);return e?`tag:${e[1]}.yaml.org,2002:${e[2]}`:`tag:${s}`}}return o.prefix+decodeURIComponent(s)}function resolveTagName(e,t){const{tag:n,type:s}=t;let o=false;if(n){const{handle:s,suffix:i,verbatim:a}=n;if(a){if(a!=="!"&&a!=="!!")return a;const n=`Verbatim tags aren't resolved, so ${a} is invalid.`;e.errors.push(new r.YAMLSemanticError(t,n))}else if(s==="!"&&!i){o=true}else{try{return resolveTagHandle(e,t)}catch(t){e.errors.push(t)}}}switch(s){case r.Type.BLOCK_FOLDED:case r.Type.BLOCK_LITERAL:case r.Type.QUOTE_DOUBLE:case r.Type.QUOTE_SINGLE:return r.defaultTags.STR;case r.Type.FLOW_MAP:case r.Type.MAP:return r.defaultTags.MAP;case r.Type.FLOW_SEQ:case r.Type.SEQ:return r.defaultTags.SEQ;case r.Type.PLAIN:return o?r.defaultTags.STR:null;default:return null}}function resolveByTagName(e,t,n){const{tags:r}=e.schema;const s=[];for(const o of r){if(o.tag===n){if(o.test)s.push(o);else{const n=o.resolve(e,t);return n instanceof Collection?n:new Scalar(n)}}}const o=resolveString(e,t);if(typeof o==="string"&&s.length>0)return resolveScalar(o,s,r.scalarFallback);return null}function getFallbackTagName({type:e}){switch(e){case r.Type.FLOW_MAP:case r.Type.MAP:return r.defaultTags.MAP;case r.Type.FLOW_SEQ:case r.Type.SEQ:return r.defaultTags.SEQ;default:return r.defaultTags.STR}}function resolveTag(e,t,n){try{const r=resolveByTagName(e,t,n);if(r){if(n&&t.tag)r.tag=n;return r}}catch(n){if(!n.source)n.source=t;e.errors.push(n);return null}try{const s=getFallbackTagName(t);if(!s)throw new Error(`The tag ${n} is unavailable`);const o=`The tag ${n} is unavailable, falling back to ${s}`;e.warnings.push(new r.YAMLWarning(t,o));const i=resolveByTagName(e,t,s);i.tag=n;return i}catch(n){const s=new r.YAMLReferenceError(t,n.message);s.stack=n.stack;e.errors.push(s);return null}}const m=e=>{if(!e)return false;const{type:t}=e;return t===r.Type.MAP_KEY||t===r.Type.MAP_VALUE||t===r.Type.SEQ_ITEM};function resolveNodeProps(e,t){const n={before:[],after:[]};let s=false;let o=false;const i=m(t.context.parent)?t.context.parent.props.concat(t.props):t.props;for(const{start:a,end:c}of i){switch(t.context.src[a]){case r.Char.COMMENT:{if(!t.commentHasRequiredWhitespace(a)){const n="Comments must be separated from other tokens by white space characters";e.push(new r.YAMLSemanticError(t,n))}const{header:s,valueRange:o}=t;const i=o&&(a>o.start||s&&a>s.start)?n.after:n.before;i.push(t.context.src.slice(a+1,c));break}case r.Char.ANCHOR:if(s){const n="A node can have at most one anchor";e.push(new r.YAMLSemanticError(t,n))}s=true;break;case r.Char.TAG:if(o){const n="A node can have at most one tag";e.push(new r.YAMLSemanticError(t,n))}o=true;break}}return{comments:n,hasAnchor:s,hasTag:o}}function resolveNodeValue(e,t){const{anchors:n,errors:s,schema:o}=e;if(t.type===r.Type.ALIAS){const e=t.rawValue;const o=n.getNode(e);if(!o){const n=`Aliased anchor not found: ${e}`;s.push(new r.YAMLReferenceError(t,n));return null}const i=new Alias(o);n._cstAliases.push(i);return i}const i=resolveTagName(e,t);if(i)return resolveTag(e,t,i);if(t.type!==r.Type.PLAIN){const e=`Failed to resolve ${t.type} node here`;s.push(new r.YAMLSyntaxError(t,e));return null}try{const n=resolveString(e,t);return resolveScalar(n,o.tags,o.tags.scalarFallback)}catch(e){if(!e.source)e.source=t;s.push(e);return null}}function resolveNode(e,t){if(!t)return null;if(t.error)e.errors.push(t.error);const{comments:n,hasAnchor:s,hasTag:o}=resolveNodeProps(e.errors,t);if(s){const{anchors:n}=e;const r=t.anchor;const s=n.getNode(r);if(s)n.map[n.newName(r)]=s;n.map[r]=t}if(t.type===r.Type.ALIAS&&(s||o)){const n="An alias node must not specify any properties";e.errors.push(new r.YAMLSemanticError(t,n))}const i=resolveNodeValue(e,t);if(i){i.range=[t.range.start,t.range.end];if(e.options.keepCstNodes)i.cstNode=t;if(e.options.keepNodeTypes)i.type=t.type;const r=n.before.join("\n");if(r){i.commentBefore=i.commentBefore?`${i.commentBefore}\n${r}`:r}const s=n.after.join("\n");if(s)i.comment=i.comment?`${i.comment}\n${s}`:s}return t.resolved=i}function resolveMap(e,t){if(t.type!==r.Type.MAP&&t.type!==r.Type.FLOW_MAP){const n=`A ${t.type} node cannot be resolved as a mapping`;e.errors.push(new r.YAMLSyntaxError(t,n));return null}const{comments:n,items:s}=t.type===r.Type.FLOW_MAP?resolveFlowMapItems(e,t):resolveBlockMapItems(e,t);const o=new YAMLMap;o.items=s;resolveComments(o,n);let i=false;for(let n=0;n{if(e instanceof Alias){const{type:t}=e.source;if(t===r.Type.MAP||t===r.Type.FLOW_MAP)return false;return i="Merge nodes aliases can only point to maps"}return i="Merge nodes can only have Alias nodes as values"});if(i)e.errors.push(new r.YAMLSemanticError(t,i))}else{for(let i=n+1;i{if(s.length===0)return false;const{start:o}=s[0];if(t&&o>t.valueRange.start)return false;if(n[o]!==r.Char.COMMENT)return false;for(let t=e;t0){n=new r.PlainValue(r.Type.PLAIN,[]);n.context={parent:c,src:c.context.src};const e=c.range.start+1;n.range={start:e,end:e};n.valueRange={start:e,end:e};if(typeof c.range.origStart==="number"){const e=c.range.origStart+1;n.range.origStart=n.range.origEnd=e;n.valueRange.origStart=n.valueRange.origEnd=e}}const a=new Pair(o,resolveNode(e,n));resolvePairComment(c,a);s.push(a);if(o&&typeof i==="number"){if(c.range.start>i+1024)e.errors.push(getLongKeyError(t,o))}o=undefined;i=null}break;default:if(o!==undefined)s.push(new Pair(o));o=resolveNode(e,c);i=c.range.start;if(c.error)e.errors.push(c.error);e:for(let n=a+1;;++n){const s=t.items[n];switch(s&&s.type){case r.Type.BLANK_LINE:case r.Type.COMMENT:continue e;case r.Type.MAP_VALUE:break e;default:{const t="Implicit map keys need to be followed by map values";e.errors.push(new r.YAMLSemanticError(c,t));break e}}}if(c.valueRangeContainsNewline){const t="Implicit map keys need to be on a single line";e.errors.push(new r.YAMLSemanticError(c,t))}}}if(o!==undefined)s.push(new Pair(o));return{comments:n,items:s}}function resolveFlowMapItems(e,t){const n=[];const s=[];let o=undefined;let i=false;let a="{";for(let c=0;ce instanceof Pair&&e.key instanceof Collection)){const n="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";e.warnings.push(new r.YAMLWarning(t,n))}t.resolved=o;return o}function resolveBlockSeqItems(e,t){const n=[];const s=[];for(let o=0;oa+1024)e.errors.push(getLongKeyError(t,i));const{src:s}=l.context;for(let t=a;t{"use strict";var r=n(2098);var s=n(7361);const o={identify:e=>e instanceof Uint8Array,default:false,tag:"tag:yaml.org,2002:binary",resolve:(e,t)=>{const n=s.resolveString(e,t);if(typeof Buffer==="function"){return Buffer.from(n,"base64")}else if(typeof atob==="function"){const e=atob(n.replace(/[\n\r]/g,""));const t=new Uint8Array(e.length);for(let n=0;n{let c;if(typeof Buffer==="function"){c=n instanceof Buffer?n.toString("base64"):Buffer.from(n.buffer).toString("base64")}else if(typeof btoa==="function"){let e="";for(let t=0;t1){const e="Each pair must have its own sequence indicator";throw new r.YAMLSemanticError(t,e)}const e=o.items[0]||new s.Pair;if(o.commentBefore)e.commentBefore=e.commentBefore?`${o.commentBefore}\n${e.commentBefore}`:o.commentBefore;if(o.comment)e.comment=e.comment?`${o.comment}\n${e.comment}`:o.comment;o=e}n.items[e]=o instanceof s.Pair?o:new s.Pair(o)}return n}function createPairs(e,t,n){const r=new s.YAMLSeq(e);r.tag="tag:yaml.org,2002:pairs";for(const s of t){let t,o;if(Array.isArray(s)){if(s.length===2){t=s[0];o=s[1]}else throw new TypeError(`Expected [key, value] tuple: ${s}`)}else if(s&&s instanceof Object){const e=Object.keys(s);if(e.length===1){t=e[0];o=s[t]}else throw new TypeError(`Expected { key: value } tuple: ${s}`)}else{t=s}const i=e.createPair(t,o,n);r.items.push(i)}return r}const i={default:false,tag:"tag:yaml.org,2002:pairs",resolve:parsePairs,createNode:createPairs};class YAMLOMap extends s.YAMLSeq{constructor(){super();r._defineProperty(this,"add",s.YAMLMap.prototype.add.bind(this));r._defineProperty(this,"delete",s.YAMLMap.prototype.delete.bind(this));r._defineProperty(this,"get",s.YAMLMap.prototype.get.bind(this));r._defineProperty(this,"has",s.YAMLMap.prototype.has.bind(this));r._defineProperty(this,"set",s.YAMLMap.prototype.set.bind(this));this.tag=YAMLOMap.tag}toJSON(e,t){const n=new Map;if(t&&t.onCreate)t.onCreate(n);for(const e of this.items){let r,o;if(e instanceof s.Pair){r=s.toJSON(e.key,"",t);o=s.toJSON(e.value,r,t)}else{r=s.toJSON(e,"",t)}if(n.has(r))throw new Error("Ordered maps must not include duplicate keys");n.set(r,o)}return n}}r._defineProperty(YAMLOMap,"tag","tag:yaml.org,2002:omap");function parseOMap(e,t){const n=parsePairs(e,t);const o=[];for(const{key:e}of n.items){if(e instanceof s.Scalar){if(o.includes(e.value)){const e="Ordered maps must not include duplicate keys";throw new r.YAMLSemanticError(t,e)}else{o.push(e.value)}}}return Object.assign(new YAMLOMap,n)}function createOMap(e,t,n){const r=createPairs(e,t,n);const s=new YAMLOMap;s.items=r.items;return s}const a={identify:e=>e instanceof Map,nodeClass:YAMLOMap,default:false,tag:"tag:yaml.org,2002:omap",resolve:parseOMap,createNode:createOMap};class YAMLSet extends s.YAMLMap{constructor(){super();this.tag=YAMLSet.tag}add(e){const t=e instanceof s.Pair?e:new s.Pair(e);const n=s.findPair(this.items,t.key);if(!n)this.items.push(t)}get(e,t){const n=s.findPair(this.items,e);return!t&&n instanceof s.Pair?n.key instanceof s.Scalar?n.key.value:n.key:n}set(e,t){if(typeof t!=="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);const n=s.findPair(this.items,e);if(n&&!t){this.items.splice(this.items.indexOf(n),1)}else if(!n&&t){this.items.push(new s.Pair(e))}}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues())return super.toString(e,t,n);else throw new Error("Set items must all have null values")}}r._defineProperty(YAMLSet,"tag","tag:yaml.org,2002:set");function parseSet(e,t){const n=s.resolveMap(e,t);if(!n.hasAllNullValues())throw new r.YAMLSemanticError(t,"Set items must all have null values");return Object.assign(new YAMLSet,n)}function createSet(e,t,n){const r=new YAMLSet;for(const s of t)r.items.push(e.createPair(s,null,n));return r}const c={identify:e=>e instanceof Set,nodeClass:YAMLSet,default:false,tag:"tag:yaml.org,2002:set",resolve:parseSet,createNode:createSet};const l=(e,t)=>{const n=t.split(":").reduce((e,t)=>e*60+Number(t),0);return e==="-"?-n:n};const f=({value:e})=>{if(isNaN(e)||!isFinite(e))return s.stringifyNumber(e);let t="";if(e<0){t="-";e=Math.abs(e)}const n=[e%60];if(e<60){n.unshift(0)}else{e=Math.round((e-n[0])/60);n.unshift(e%60);if(e>=60){e=Math.round((e-n[0])/60);n.unshift(e)}}return t+n.map(e=>e<10?"0"+String(e):String(e)).join(":").replace(/000000\d*$/,"")};const u={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+)$/,resolve:(e,t,n)=>l(t,n.replace(/_/g,"")),stringify:f};const h={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*)$/,resolve:(e,t,n)=>l(t,n.replace(/_/g,"")),stringify:f};const d={identify:e=>e instanceof Date,default:true,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^(?:"+"([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})"+"(?:(?:t|T|[ \\t]+)"+"([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)"+"(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?"+")?"+")$"),resolve:(e,t,n,r,s,o,i,a,c)=>{if(a)a=(a+"00").substr(1,3);let f=Date.UTC(t,n-1,r,s||0,o||0,i||0,a||0);if(c&&c!=="Z"){let e=l(c[0],c.slice(1));if(Math.abs(e)<30)e*=60;f-=6e4*e}return new Date(f)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")};function shouldWarn(e){const t=typeof process!=="undefined"&&process.env||{};if(e){if(typeof YAML_SILENCE_DEPRECATION_WARNINGS!=="undefined")return!YAML_SILENCE_DEPRECATION_WARNINGS;return!t.YAML_SILENCE_DEPRECATION_WARNINGS}if(typeof YAML_SILENCE_WARNINGS!=="undefined")return!YAML_SILENCE_WARNINGS;return!t.YAML_SILENCE_WARNINGS}function warn(e,t){if(shouldWarn(false)){const n=typeof process!=="undefined"&&process.emitWarning;if(n)n(e,t);else{console.warn(t?`${t}: ${e}`:e)}}}function warnFileDeprecation(e){if(shouldWarn(true)){const t=e.replace(/.*yaml[/\\]/i,"").replace(/\.js$/,"").replace(/\\/g,"/");warn(`The endpoint 'yaml/${t}' will be removed in a future release.`,"DeprecationWarning")}}const p={};function warnOptionDeprecation(e,t){if(!p[e]&&shouldWarn(true)){p[e]=true;let n=`The option '${e}' will be removed in a future release`;n+=t?`, use '${t}' instead.`:".";warn(n,"DeprecationWarning")}}t.binary=o;t.floatTime=h;t.intTime=u;t.omap=a;t.pairs=i;t.set=c;t.timestamp=d;t.warn=warn;t.warnFileDeprecation=warnFileDeprecation;t.warnOptionDeprecation=warnOptionDeprecation},6918:(e,t,n)=>{e.exports=n(5712).YAML},2099:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Explorer=void 0;var r=_interopRequireDefault(n(5622));var s=n(7340);var o=n(3723);var i=n(7911);var a=n(92);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class Explorer extends s.ExplorerBase{constructor(e){super(e)}async search(e=process.cwd()){const t=await(0,a.getDirectory)(e);const n=await this.searchFromDirectory(t);return n}async searchFromDirectory(e){const t=r.default.resolve(process.cwd(),e);const n=async()=>{const e=await this.searchDirectory(t);const n=this.nextDirectoryToSearch(t,e);if(n){return this.searchFromDirectory(n)}const r=await this.config.transform(e);return r};if(this.searchCache){return(0,i.cacheWrapper)(this.searchCache,t,n)}return n()}async searchDirectory(e){for await(const t of this.config.searchPlaces){const n=await this.loadSearchPlace(e,t);if(this.shouldSearchStopWithResult(n)===true){return n}}return null}async loadSearchPlace(e,t){const n=r.default.join(e,t);const s=await(0,o.readFile)(n);const i=await this.createCosmiconfigResult(n,s);return i}async loadFileContent(e,t){if(t===null){return null}if(t.trim()===""){return undefined}const n=this.getLoaderEntryForFile(e);const r=await n(e,t);return r}async createCosmiconfigResult(e,t){const n=await this.loadFileContent(e,t);const r=this.loadedContentToCosmiconfigResult(e,n);return r}async load(e){this.validateFilePath(e);const t=r.default.resolve(process.cwd(),e);const n=async()=>{const e=await(0,o.readFile)(t,{throwNotFound:true});const n=await this.createCosmiconfigResult(t,e);const r=await this.config.transform(n);return r};if(this.loadCache){return(0,i.cacheWrapper)(this.loadCache,t,n)}return n()}}t.Explorer=Explorer},7340:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getExtensionDescription=getExtensionDescription;t.ExplorerBase=void 0;var r=_interopRequireDefault(n(5622));var s=n(1751);var o=n(5777);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class ExplorerBase{constructor(e){if(e.cache===true){this.loadCache=new Map;this.searchCache=new Map}this.config=e;this.validateConfig()}clearLoadCache(){if(this.loadCache){this.loadCache.clear()}}clearSearchCache(){if(this.searchCache){this.searchCache.clear()}}clearCaches(){this.clearLoadCache();this.clearSearchCache()}validateConfig(){const e=this.config;e.searchPlaces.forEach(t=>{const n=r.default.extname(t)||"noExt";const s=e.loaders[n];if(!s){throw new Error(`No loader specified for ${getExtensionDescription(t)}, so searchPlaces item "${t}" is invalid`)}if(typeof s!=="function"){throw new Error(`loader for ${getExtensionDescription(t)} is not a function (type provided: "${typeof s}"), so searchPlaces item "${t}" is invalid`)}})}shouldSearchStopWithResult(e){if(e===null)return false;if(e.isEmpty&&this.config.ignoreEmptySearchPlaces)return false;return true}nextDirectoryToSearch(e,t){if(this.shouldSearchStopWithResult(t)){return null}const n=nextDirUp(e);if(n===e||e===this.config.stopDir){return null}return n}loadPackageProp(e,t){const n=s.loaders.loadJson(e,t);const r=(0,o.getPropertyByPath)(n,this.config.packageProp);return r||null}getLoaderEntryForFile(e){if(r.default.basename(e)==="package.json"){const e=this.loadPackageProp.bind(this);return e}const t=r.default.extname(e)||"noExt";const n=this.config.loaders[t];if(!n){throw new Error(`No loader specified for ${getExtensionDescription(e)}`)}return n}loadedContentToCosmiconfigResult(e,t){if(t===null){return null}if(t===undefined){return{filepath:e,config:undefined,isEmpty:true}}return{config:t,filepath:e}}validateFilePath(e){if(!e){throw new Error("load must pass a non-empty string")}}}t.ExplorerBase=ExplorerBase;function nextDirUp(e){return r.default.dirname(e)}function getExtensionDescription(e){const t=r.default.extname(e);return t?`extension "${t}"`:"files without extensions"}},7487:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExplorerSync=void 0;var r=_interopRequireDefault(n(5622));var s=n(7340);var o=n(3723);var i=n(7911);var a=n(92);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class ExplorerSync extends s.ExplorerBase{constructor(e){super(e)}searchSync(e=process.cwd()){const t=(0,a.getDirectorySync)(e);const n=this.searchFromDirectorySync(t);return n}searchFromDirectorySync(e){const t=r.default.resolve(process.cwd(),e);const n=()=>{const e=this.searchDirectorySync(t);const n=this.nextDirectoryToSearch(t,e);if(n){return this.searchFromDirectorySync(n)}const r=this.config.transform(e);return r};if(this.searchCache){return(0,i.cacheWrapperSync)(this.searchCache,t,n)}return n()}searchDirectorySync(e){for(const t of this.config.searchPlaces){const n=this.loadSearchPlaceSync(e,t);if(this.shouldSearchStopWithResult(n)===true){return n}}return null}loadSearchPlaceSync(e,t){const n=r.default.join(e,t);const s=(0,o.readFileSync)(n);const i=this.createCosmiconfigResultSync(n,s);return i}loadFileContentSync(e,t){if(t===null){return null}if(t.trim()===""){return undefined}const n=this.getLoaderEntryForFile(e);const r=n(e,t);return r}createCosmiconfigResultSync(e,t){const n=this.loadFileContentSync(e,t);const r=this.loadedContentToCosmiconfigResult(e,n);return r}loadSync(e){this.validateFilePath(e);const t=r.default.resolve(process.cwd(),e);const n=()=>{const e=(0,o.readFileSync)(t,{throwNotFound:true});const n=this.createCosmiconfigResultSync(t,e);const r=this.config.transform(n);return r};if(this.loadCache){return(0,i.cacheWrapperSync)(this.loadCache,t,n)}return n()}}t.ExplorerSync=ExplorerSync},7911:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.cacheWrapper=cacheWrapper;t.cacheWrapperSync=cacheWrapperSync;async function cacheWrapper(e,t,n){const r=e.get(t);if(r!==undefined){return r}const s=await n();e.set(t,s);return s}function cacheWrapperSync(e,t,n){const r=e.get(t);if(r!==undefined){return r}const s=n();e.set(t,s);return s}},92:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getDirectory=getDirectory;t.getDirectorySync=getDirectorySync;var r=_interopRequireDefault(n(5622));var s=n(2527);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}async function getDirectory(e){const t=await(0,s.isDirectory)(e);if(t===true){return e}const n=r.default.dirname(e);return n}function getDirectorySync(e){const t=(0,s.isDirectorySync)(e);if(t===true){return e}const n=r.default.dirname(e);return n}},5777:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getPropertyByPath=getPropertyByPath;function getPropertyByPath(e,t){if(typeof t==="string"&&Object.prototype.hasOwnProperty.call(e,t)){return e[t]}const n=typeof t==="string"?t.split("."):t;return n.reduce((e,t)=>{if(e===undefined){return e}return e[t]},e)}},8018:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.cosmiconfig=cosmiconfig;t.cosmiconfigSync=cosmiconfigSync;t.defaultLoaders=void 0;var r=_interopRequireDefault(n(2087));var s=n(2099);var o=n(7487);var i=n(1751);var a=n(5695);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function cosmiconfig(e,t={}){const n=normalizeOptions(e,t);const r=new s.Explorer(n);return{search:r.search.bind(r),load:r.load.bind(r),clearLoadCache:r.clearLoadCache.bind(r),clearSearchCache:r.clearSearchCache.bind(r),clearCaches:r.clearCaches.bind(r)}}function cosmiconfigSync(e,t={}){const n=normalizeOptions(e,t);const r=new o.ExplorerSync(n);return{search:r.searchSync.bind(r),load:r.loadSync.bind(r),clearLoadCache:r.clearLoadCache.bind(r),clearSearchCache:r.clearSearchCache.bind(r),clearCaches:r.clearCaches.bind(r)}}const c=Object.freeze({".cjs":i.loaders.loadJs,".js":i.loaders.loadJs,".json":i.loaders.loadJson,".yaml":i.loaders.loadYaml,".yml":i.loaders.loadYaml,noExt:i.loaders.loadYaml});t.defaultLoaders=c;const l=function identity(e){return e};function normalizeOptions(e,t){const n={packageProp:e,searchPlaces:["package.json",`.${e}rc`,`.${e}rc.json`,`.${e}rc.yaml`,`.${e}rc.yml`,`.${e}rc.js`,`.${e}rc.cjs`,`${e}.config.js`,`${e}.config.cjs`],ignoreEmptySearchPlaces:true,stopDir:r.default.homedir(),cache:true,transform:l,loaders:c};const s={...n,...t,loaders:{...n.loaders,...t.loaders}};return s}},1751:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.loaders=void 0;let r;const s=function loadJs(e){if(r===undefined){r=n(4786)}const t=r(e);return t};let o;const i=function loadJson(e,t){if(o===undefined){o=n(8222)}try{const n=o(t);return n}catch(t){t.message=`JSON Error in ${e}:\n${t.message}`;throw t}};let a;const c=function loadYaml(e,t){if(a===undefined){a=n(6918)}try{const n=a.parse(t,{prettyErrors:true});return n}catch(t){t.message=`YAML Error in ${e}:\n${t.message}`;throw t}};const l={loadJs:s,loadJson:i,loadYaml:c};t.loaders=l},3723:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.readFile=readFile;t.readFileSync=readFileSync;var r=_interopRequireDefault(n(5747));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}async function fsReadFileAsync(e,t){return new Promise((n,s)=>{r.default.readFile(e,t,(e,t)=>{if(e){s(e);return}n(t)})})}async function readFile(e,t={}){const n=t.throwNotFound===true;try{const t=await fsReadFileAsync(e,"utf8");return t}catch(e){if(n===false&&e.code==="ENOENT"){return null}throw e}}function readFileSync(e,t={}){const n=t.throwNotFound===true;try{const t=r.default.readFileSync(e,"utf8");return t}catch(e){if(n===false&&e.code==="ENOENT"){return null}throw e}}},5695:()=>{"use strict"},8222:(e,t,n)=>{"use strict";const r=n(9736);const s=n(5235);const{default:o}=n(6356);const{codeFrameColumns:i}=n(7548);const a=r("JSONError",{fileName:r.append("in %s"),codeFrame:r.append("\n\n%s\n")});e.exports=((e,t,n)=>{if(typeof t==="string"){n=t;t=null}try{try{return JSON.parse(e,t)}catch(n){s(e,t);throw n}}catch(t){t.message=t.message.replace(/\n/g,"");const r=t.message.match(/in JSON at position (\d+) while parsing near/);const s=new a(t);if(n){s.fileName=n}if(r&&r.length>0){const t=new o(e);const n=Number(r[1]);const a=t.locationForIndex(n);const c=i(e,{start:{line:a.line+1,column:a.column+1}},{highlightCode:true});s.codeFrame=c}throw s}})},2527:(e,t,n)=>{"use strict";const{promisify:r}=n(1669);const s=n(5747);async function isType(e,t,n){if(typeof n!=="string"){throw new TypeError(`Expected a string, got ${typeof n}`)}try{const o=await r(s[e])(n);return o[t]()}catch(e){if(e.code==="ENOENT"){return false}throw e}}function isTypeSync(e,t,n){if(typeof n!=="string"){throw new TypeError(`Expected a string, got ${typeof n}`)}try{return s[e](n)[t]()}catch(e){if(e.code==="ENOENT"){return false}throw e}}t.isFile=isType.bind(null,"stat","isFile");t.isDirectory=isType.bind(null,"stat","isDirectory");t.isSymlink=isType.bind(null,"lstat","isSymbolicLink");t.isFileSync=isTypeSync.bind(null,"statSync","isFile");t.isDirectorySync=isTypeSync.bind(null,"statSync","isDirectory");t.isSymlinkSync=isTypeSync.bind(null,"lstatSync","isSymbolicLink")},3518:e=>{"use strict";class SyntaxError extends Error{constructor(e){super(e);const{line:t,column:n,reason:r,plugin:s,file:o}=e;this.name="SyntaxError";this.message=`${this.name}\n\n`;if(typeof t!=="undefined"){this.message+=`(${t}:${n}) `}this.message+=s?`${s}: `:"";this.message+=o?`${o} `:" ";this.message+=`${r}`;const i=e.showSourceCode();if(i){this.message+=`\n\n${i}\n`}this.stack=false}}e.exports=SyntaxError},2555:e=>{"use strict";class Warning extends Error{constructor(e){super(e);const{text:t,line:n,column:r,plugin:s}=e;this.name="Warning";this.message=`${this.name}\n\n`;if(typeof n!=="undefined"){this.message+=`(${n}:${r}) `}this.message+=s?`${s}: `:"";this.message+=`${t}`;this.stack=false}}e.exports=Warning},3082:(e,t,n)=>{"use strict";e.exports=n(2072).default},2072:(e,t,n)=>{"use strict";var r;r={value:true};t.default=loader;var s=n(8710);var o=_interopRequireDefault(n(3225));var i=_interopRequireDefault(n(2043));var a=n(2519);var c=_interopRequireDefault(n(4698));var l=_interopRequireDefault(n(2555));var f=_interopRequireDefault(n(3518));var u=_interopRequireDefault(n(7988));var h=n(2351);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}async function loader(e,t,n){const r=(0,s.getOptions)(this);(0,o.default)(u.default,r,{name:"PostCSS Loader",baseDataPath:"options"});const d=this.async();const p=typeof r.postcssOptions==="undefined"||typeof r.postcssOptions.config==="undefined"?true:r.postcssOptions.config;let g;if(p){try{g=await(0,h.loadConfig)(this,p)}catch(e){d(e);return}}const y=typeof r.sourceMap!=="undefined"?r.sourceMap:this.sourceMap;const{plugins:w,processOptions:S}=(0,h.getPostcssOptions)(this,g,r.postcssOptions);if(y){S.map={inline:false,annotation:false,...S.map}}if(t&&S.map){S.map.prev=(0,h.normalizeSourceMap)(t,this.context)}let m;if(n&&n.ast&&n.ast.type==="postcss"&&(0,a.satisfies)(n.ast.version,`^${c.default.version}`)){({root:m}=n.ast)}if(!m&&r.execute){e=(0,h.exec)(e,this)}let O;try{O=await(0,i.default)(w).process(m||e,S)}catch(e){if(e.file){this.addDependency(e.file)}if(e.name==="CssSyntaxError"){d(new f.default(e))}else{d(e)}return}for(const e of O.warnings()){this.emitWarning(new l.default(e))}for(const e of O.messages){if(e.type==="dependency"){this.addDependency(e.file)}if(e.type==="asset"&&e.content&&e.file){this.emitFile(e.file,e.content,e.sourceMap,e.info)}}let b=O.map?O.map.toJSON():undefined;if(b&&y){b=(0,h.normalizeSourceMapAfterPostcss)(b,this.context)}const E={type:"postcss",version:O.processor.version,root:O.root};d(null,O.css,b,{ast:E})}},2351:(e,t,n)=>{"use strict";e=n.nmd(e);Object.defineProperty(t,"__esModule",{value:true});t.loadConfig=loadConfig;t.getPostcssOptions=getPostcssOptions;t.exec=exec;t.normalizeSourceMap=normalizeSourceMap;t.normalizeSourceMapAfterPostcss=normalizeSourceMapAfterPostcss;var r=_interopRequireDefault(n(5622));var s=_interopRequireDefault(n(2282));var o=n(7153);var i=n(8018);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const a=e;const c=(e,t)=>new Promise((n,r)=>{e.stat(t,(e,t)=>{if(e){r(e)}n(t)})});function exec(e,t){const{resource:n,context:r}=t;const o=new s.default(n,a);o.paths=s.default._nodeModulePaths(r);o.filename=n;o._compile(e,n);return o.exports}async function loadConfig(e,t){const n=typeof t==="string"?r.default.resolve(t):r.default.dirname(e.resourcePath);let s;try{s=await c(e.fs,n)}catch(e){throw new Error(`No PostCSS config found in: ${n}`)}const a=(0,i.cosmiconfig)("postcss");let l;try{if(s.isFile()){l=await a.load(n)}else{l=await a.search(n)}}catch(e){throw e}if(!l){return{}}e.addDependency(l.filepath);if(l.isEmpty){return l}if(typeof l.config==="function"){const t={mode:e.mode,file:e.resourcePath,webpackLoaderContext:e};l.config=l.config(t)}l=(0,o.klona)(l);return l}function loadPlugin(e,t,n){try{if(!t||Object.keys(t).length===0){const t=require(e);if(t.default){return t.default}return t}const r=require(e);if(r.default){return r.default(t)}return r(t)}catch(t){throw new Error(`Loading PostCSS "${e}" plugin failed: ${t.message}\n\n(@${n})`)}}function pluginFactory(){const e=new Map;return t=>{if(typeof t==="undefined"){return e}if(Array.isArray(t)){for(const n of t){if(Array.isArray(n)){const[t,r]=n;e.set(t,r)}else if(n&&typeof n==="function"){e.set(n)}else if(n&&Object.keys(n).length===1&&(typeof n[Object.keys(n)[0]]==="object"||typeof n[Object.keys(n)[0]]==="boolean")&&n[Object.keys(n)[0]]!==null){const[t]=Object.keys(n);const r=n[t];if(r===false){e.delete(t)}else{e.set(t,r)}}else if(n){e.set(n)}}}else{const n=Object.entries(t);for(const[t,r]of n){if(r===false){e.delete(t)}else{e.set(t,r)}}}return e}}function getPostcssOptions(e,t={},n={}){const s=e.resourcePath;let i=n;if(typeof i==="function"){i=i(e)}let a=[];try{const n=pluginFactory();if(t.config&&t.config.plugins){n(t.config.plugins)}n(i.plugins);a=[...n()].map(e=>{const[t,n]=e;if(typeof t==="string"){return loadPlugin(t,n,s)}return t})}catch(t){e.emitError(t)}const c=t.config||{};if(c.from){c.from=r.default.resolve(r.default.dirname(t.filepath),c.from)}if(c.to){c.to=r.default.resolve(r.default.dirname(t.filepath),c.to)}delete c.plugins;const l=(0,o.klona)(i);if(l.from){l.from=r.default.resolve(e.rootContext,l.from)}if(l.to){l.to=r.default.resolve(e.rootContext,l.to)}delete l.config;delete l.plugins;const f={from:s,to:s,map:false,...c,...l};if(typeof f.parser==="string"){try{f.parser=require(f.parser)}catch(t){e.emitError(new Error(`Loading PostCSS "${f.parser}" parser failed: ${t.message}\n\n(@${s})`))}}if(typeof f.stringifier==="string"){try{f.stringifier=require(f.stringifier)}catch(t){e.emitError(new Error(`Loading PostCSS "${f.stringifier}" stringifier failed: ${t.message}\n\n(@${s})`))}}if(typeof f.syntax==="string"){try{f.syntax=require(f.syntax)}catch(t){e.emitError(new Error(`Loading PostCSS "${f.syntax}" syntax failed: ${t.message}\n\n(@${s})`))}}if(f.map===true){f.map={inline:true}}return{plugins:a,processOptions:f}}const l=/^[a-z]:[/\\]|^\\\\/i;const f=/^[a-z0-9+\-.]+:/i;function getURLType(e){if(e[0]==="/"){if(e[1]==="/"){return"scheme-relative"}return"path-absolute"}if(l.test(e)){return"path-absolute"}return f.test(e)?"absolute":"path-relative"}function normalizeSourceMap(e,t){let n=e;if(typeof n==="string"){n=JSON.parse(n)}delete n.file;const{sourceRoot:s}=n;delete n.sourceRoot;if(n.sources){n.sources=n.sources.map(e=>{const n=getURLType(e);if(n==="path-relative"||n==="path-absolute"){const o=n==="path-relative"&&s?r.default.resolve(s,r.default.normalize(e)):r.default.normalize(e);return r.default.relative(t,o)}return e})}return n}function normalizeSourceMapAfterPostcss(e,t){const n=e;delete n.file;n.sourceRoot="";n.sources=n.sources.map(e=>{if(e.indexOf("<")===0){return e}const n=getURLType(e);if(n==="path-relative"){return r.default.resolve(t,e)}return e});return n}},7988:e=>{"use strict";e.exports=JSON.parse('{"type":"object","properties":{"postcssOptions":{"description":"Options to pass through to `Postcss`.","anyOf":[{"type":"object","additionalProperties":true,"properties":{"config":{"description":"Allows to specify PostCSS Config Path (https://github.com/postcss/postcss-loader#config)","anyOf":[{"description":"Allows to specify the path to the configuration file","type":"string"},{"description":"Enables/Disables autoloading config","type":"boolean"}]}}},{"instanceof":"Function"}]},"execute":{"description":"Enables/Disables PostCSS parser support in \'CSS-in-JS\' (https://github.com/postcss/postcss-loader#execute)","type":"boolean"},"sourceMap":{"description":"Enables/Disables generation of source maps (https://github.com/postcss/postcss-loader#sourcemap)","type":"boolean"}},"additionalProperties":false}')},4698:e=>{"use strict";e.exports=JSON.parse('{"name":"postcss","version":"8.1.7","description":"Tool for transforming styles with JS plugins","engines":{"node":"^10 || ^12 || >=14"},"exports":{".":{"require":"./lib/postcss.js","import":"./lib/postcss.mjs","types":"./lib/postcss.d.ts"},"./":"./"},"main":"./lib/postcss.js","types":"./lib/postcss.d.ts","keywords":["css","postcss","rework","preprocessor","parser","source map","transform","manipulation","transpiler"],"funding":{"type":"opencollective","url":"https://opencollective.com/postcss/"},"author":"Andrey Sitnik ","license":"MIT","homepage":"https://postcss.org/","repository":"postcss/postcss","dependencies":{"colorette":"^1.2.1","line-column":"^1.0.2","nanoid":"^3.1.16","source-map":"^0.6.1"},"browser":{"./lib/terminal-highlight":false,"colorette":false,"fs":false}}')},2242:e=>{"use strict";e.exports=require("chalk")},5747:e=>{"use strict";e.exports=require("fs")},8710:e=>{"use strict";e.exports=require("loader-utils")},2282:e=>{"use strict";e.exports=require("module")},3225:e=>{"use strict";e.exports=require("next/dist/compiled/schema-utils")},2519:e=>{"use strict";e.exports=require("next/dist/compiled/semver")},2087:e=>{"use strict";e.exports=require("os")},5622:e=>{"use strict";e.exports=require("path")},2043:e=>{"use strict";e.exports=require("postcss")},1669:e=>{"use strict";e.exports=require("util")}};var t={};function __webpack_require__(n){if(t[n]){return t[n].exports}var r=t[n]={id:n,loaded:false,exports:{}};var s=true;try{e[n](r,r.exports,__webpack_require__);s=false}finally{if(s)delete t[n]}r.loaded=true;return r.exports}(()=>{__webpack_require__.nmd=(e=>{e.paths=[];if(!e.children)e.children=[];return e})})();__webpack_require__.ab=__dirname+"/";return __webpack_require__(3082)})(); \ No newline at end of file diff --git a/packages/next/compiled/postcss-preset-env/index.js b/packages/next/compiled/postcss-preset-env/index.js index f028673befb17..2c8eff98df129 100644 --- a/packages/next/compiled/postcss-preset-env/index.js +++ b/packages/next/compiled/postcss-preset-env/index.js @@ -1 +1 @@ -module.exports=(()=>{var e={7306:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});function rgb2hue(e,r,t){var n=arguments.length>3&&arguments[3]!==undefined?arguments[3]:0;var i=rgb2value(e,r,t);var o=rgb2whiteness(e,r,t);var s=i-o;if(s){var a=i===e?(r-t)/s:i===r?(t-e)/s:(e-r)/s;var u=i===e?a<0?360/60:0/60:i===r?120/60:240/60;var f=(a+u)*60;return f}else{return n}}function hue2rgb(e,r,t){var n=t<0?t+360:t>360?t-360:t;var i=n*6<360?e+(r-e)*n/60:n*2<360?r:n*3<720?e+(r-e)*(240-n)/60:e;return i}function rgb2value(e,r,t){var n=Math.max(e,r,t);return n}function rgb2whiteness(e,r,t){var n=Math.min(e,r,t);return n}function matrix(e,r){return r.map(function(r){return r.reduce(function(r,t,n){return r+e[n]*t},0)})}var t=96.42;var n=100;var i=82.49;var o=Math.pow(6,3)/Math.pow(29,3);var s=Math.pow(29,3)/Math.pow(3,3);function rgb2hsl(e,r,t,n){var i=rgb2hue(e,r,t,n);var o=rgb2value(e,r,t);var s=rgb2whiteness(e,r,t);var a=o-s;var u=(o+s)/2;var f=a===0?0:a/(100-Math.abs(2*u-100))*100;return[i,f,u]}function hsl2rgb(e,r,t){var n=t<=50?t*(r+100)/100:t+r-t*r/100;var i=t*2-n;var o=[hue2rgb(i,n,e+120),hue2rgb(i,n,e),hue2rgb(i,n,e-120)],s=o[0],a=o[1],u=o[2];return[s,a,u]}var a=function(){function sliceIterator(e,r){var t=[];var n=true;var i=false;var o=undefined;try{for(var s=e[Symbol.iterator](),a;!(n=(a=s.next()).done);n=true){t.push(a.value);if(r&&t.length===r)break}}catch(e){i=true;o=e}finally{try{if(!n&&s["return"])s["return"]()}finally{if(i)throw o}}return t}return function(e,r){if(Array.isArray(e)){return e}else if(Symbol.iterator in Object(e)){return sliceIterator(e,r)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();function rgb2hwb(e,r,t,n){var i=rgb2hue(e,r,t,n);var o=rgb2whiteness(e,r,t);var s=rgb2value(e,r,t);var a=100-s;return[i,o,a]}function hwb2rgb(e,r,t,n){var i=hsl2rgb(e,100,50,n).map(function(e){return e*(100-r-t)/100+r}),o=a(i,3),s=o[0],u=o[1],f=o[2];return[s,u,f]}var u=function(){function sliceIterator(e,r){var t=[];var n=true;var i=false;var o=undefined;try{for(var s=e[Symbol.iterator](),a;!(n=(a=s.next()).done);n=true){t.push(a.value);if(r&&t.length===r)break}}catch(e){i=true;o=e}finally{try{if(!n&&s["return"])s["return"]()}finally{if(i)throw o}}return t}return function(e,r){if(Array.isArray(e)){return e}else if(Symbol.iterator in Object(e)){return sliceIterator(e,r)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();function rgb2hsv(e,r,t,n){var i=rgb2value(e,r,t);var o=rgb2whiteness(e,r,t);var s=rgb2hue(e,r,t,n);var a=i===o?0:(i-o)/i*100;return[s,a,i]}function hsv2rgb(e,r,t){var n=Math.floor(e/60);var i=e/60-n&1?e/60-n:1-e/60-n;var o=t*(100-r)/100;var s=t*(100-r*i)/100;var a=n===5?[t,o,s]:n===4?[s,o,t]:n===3?[o,s,t]:n===2?[o,t,s]:n===1?[s,t,o]:[t,s,o],f=u(a,3),c=f[0],l=f[1],p=f[2];return[c,l,p]}var f=function(){function sliceIterator(e,r){var t=[];var n=true;var i=false;var o=undefined;try{for(var s=e[Symbol.iterator](),a;!(n=(a=s.next()).done);n=true){t.push(a.value);if(r&&t.length===r)break}}catch(e){i=true;o=e}finally{try{if(!n&&s["return"])s["return"]()}finally{if(i)throw o}}return t}return function(e,r){if(Array.isArray(e)){return e}else if(Symbol.iterator in Object(e)){return sliceIterator(e,r)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();function rgb2xyz(e,r,t){var n=[e,r,t].map(function(e){return e>4.045?Math.pow((e+5.5)/105.5,2.4)*100:e/12.92}),i=f(n,3),o=i[0],s=i[1],a=i[2];var u=matrix([o,s,a],[[.4124564,.3575761,.1804375],[.2126729,.7151522,.072175],[.0193339,.119192,.9503041]]),c=f(u,3),l=c[0],p=c[1],h=c[2];return[l,p,h]}function xyz2rgb(e,r,t){var n=matrix([e,r,t],[[3.2404542,-1.5371385,-.4985314],[-.969266,1.8760108,.041556],[.0556434,-.2040259,1.0572252]]),i=f(n,3),o=i[0],s=i[1],a=i[2];var u=[o,s,a].map(function(e){return e>.31308?1.055*Math.pow(e/100,1/2.4)*100-5.5:12.92*e}),c=f(u,3),l=c[0],p=c[1],h=c[2];return[l,p,h]}function hsl2hsv(e,r,t){var n=r*(t<50?t:100-t)/100;var i=n===0?0:2*n/(t+n)*100;var o=t+n;return[e,i,o]}function hsv2hsl(e,r,t){var n=(200-r)*t/100;var i=n===0||n===200?0:r*t/100/(n<=100?n:200-n)*100,o=n*5/10;return[e,i,o]}function hwb2hsv(e,r,t){var n=e,i=t===100?0:100-r/(100-t)*100,o=100-t;return[n,i,o]}function hsv2hwb(e,r,t){var n=e,i=(100-r)*t/100,o=100-t;return[n,i,o]}var c=function(){function sliceIterator(e,r){var t=[];var n=true;var i=false;var o=undefined;try{for(var s=e[Symbol.iterator](),a;!(n=(a=s.next()).done);n=true){t.push(a.value);if(r&&t.length===r)break}}catch(e){i=true;o=e}finally{try{if(!n&&s["return"])s["return"]()}finally{if(i)throw o}}return t}return function(e,r){if(Array.isArray(e)){return e}else if(Symbol.iterator in Object(e)){return sliceIterator(e,r)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();function lab2xyz(e,r,a){var u=(e+16)/116;var f=r/500+u;var l=u-a/200;var p=Math.pow(f,3)>o?Math.pow(f,3):(116*f-16)/s,h=e>s*o?Math.pow((e+16)/116,3):e/s,B=Math.pow(l,3)>o?Math.pow(l,3):(116*l-16)/s;var v=matrix([p*t,h*n,B*i],[[.9555766,-.0230393,.0631636],[-.0282895,1.0099416,.0210077],[.0122982,-.020483,1.3299098]]),d=c(v,3),b=d[0],y=d[1],g=d[2];return[b,y,g]}function xyz2lab(e,r,a){var u=matrix([e,r,a],[[1.0478112,.0228866,-.050127],[.0295424,.9904844,-.0170491],[-.0092345,.0150436,.7521316]]),f=c(u,3),l=f[0],p=f[1],h=f[2];var B=[l/t,p/n,h/i].map(function(e){return e>o?Math.cbrt(e):(s*e+16)/116}),v=c(B,3),d=v[0],b=v[1],y=v[2];var g=116*b-16,m=500*(d-b),C=200*(b-y);return[g,m,C]}function lab2lch(e,r,t){var n=[Math.sqrt(Math.pow(r,2)+Math.pow(t,2)),Math.atan2(t,r)*180/Math.PI],i=n[0],o=n[1];return[e,i,o]}function lch2lab(e,r,t){var n=r*Math.cos(t*Math.PI/180),i=r*Math.sin(t*Math.PI/180);return[e,n,i]}var l=function(){function sliceIterator(e,r){var t=[];var n=true;var i=false;var o=undefined;try{for(var s=e[Symbol.iterator](),a;!(n=(a=s.next()).done);n=true){t.push(a.value);if(r&&t.length===r)break}}catch(e){i=true;o=e}finally{try{if(!n&&s["return"])s["return"]()}finally{if(i)throw o}}return t}return function(e,r){if(Array.isArray(e)){return e}else if(Symbol.iterator in Object(e)){return sliceIterator(e,r)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();function rgb2lab(e,r,t){var n=rgb2xyz(e,r,t),i=l(n,3),o=i[0],s=i[1],a=i[2];var u=xyz2lab(o,s,a),f=l(u,3),c=f[0],p=f[1],h=f[2];return[c,p,h]}function lab2rgb(e,r,t){var n=lab2xyz(e,r,t),i=l(n,3),o=i[0],s=i[1],a=i[2];var u=xyz2rgb(o,s,a),f=l(u,3),c=f[0],p=f[1],h=f[2];return[c,p,h]}function rgb2lch(e,r,t){var n=rgb2xyz(e,r,t),i=l(n,3),o=i[0],s=i[1],a=i[2];var u=xyz2lab(o,s,a),f=l(u,3),c=f[0],p=f[1],h=f[2];var B=lab2lch(c,p,h),v=l(B,3),d=v[0],b=v[1],y=v[2];return[d,b,y]}function lch2rgb(e,r,t){var n=lch2lab(e,r,t),i=l(n,3),o=i[0],s=i[1],a=i[2];var u=lab2xyz(o,s,a),f=l(u,3),c=f[0],p=f[1],h=f[2];var B=xyz2rgb(c,p,h),v=l(B,3),d=v[0],b=v[1],y=v[2];return[d,b,y]}function hwb2hsl(e,r,t){var n=hwb2hsv(e,r,t),i=l(n,3),o=i[0],s=i[1],a=i[2];var u=hsv2hsl(o,s,a),f=l(u,3),c=f[0],p=f[1],h=f[2];return[c,p,h]}function hsl2hwb(e,r,t){var n=hsl2hsv(e,r,t),i=l(n,3),o=i[1],s=i[2];var a=hsv2hwb(e,o,s),u=l(a,3),f=u[1],c=u[2];return[e,f,c]}function hsl2lab(e,r,t){var n=hsl2rgb(e,r,t),i=l(n,3),o=i[0],s=i[1],a=i[2];var u=rgb2xyz(o,s,a),f=l(u,3),c=f[0],p=f[1],h=f[2];var B=xyz2lab(c,p,h),v=l(B,3),d=v[0],b=v[1],y=v[2];return[d,b,y]}function lab2hsl(e,r,t,n){var i=lab2xyz(e,r,t),o=l(i,3),s=o[0],a=o[1],u=o[2];var f=xyz2rgb(s,a,u),c=l(f,3),p=c[0],h=c[1],B=c[2];var v=rgb2hsl(p,h,B,n),d=l(v,3),b=d[0],y=d[1],g=d[2];return[b,y,g]}function hsl2lch(e,r,t){var n=hsl2rgb(e,r,t),i=l(n,3),o=i[0],s=i[1],a=i[2];var u=rgb2xyz(o,s,a),f=l(u,3),c=f[0],p=f[1],h=f[2];var B=xyz2lab(c,p,h),v=l(B,3),d=v[0],b=v[1],y=v[2];var g=lab2lch(d,b,y),m=l(g,3),C=m[0],w=m[1],S=m[2];return[C,w,S]}function lch2hsl(e,r,t,n){var i=lch2lab(e,r,t),o=l(i,3),s=o[0],a=o[1],u=o[2];var f=lab2xyz(s,a,u),c=l(f,3),p=c[0],h=c[1],B=c[2];var v=xyz2rgb(p,h,B),d=l(v,3),b=d[0],y=d[1],g=d[2];var m=rgb2hsl(b,y,g,n),C=l(m,3),w=C[0],S=C[1],O=C[2];return[w,S,O]}function hsl2xyz(e,r,t){var n=hsl2rgb(e,r,t),i=l(n,3),o=i[0],s=i[1],a=i[2];var u=rgb2xyz(o,s,a),f=l(u,3),c=f[0],p=f[1],h=f[2];return[c,p,h]}function xyz2hsl(e,r,t,n){var i=xyz2rgb(e,r,t),o=l(i,3),s=o[0],a=o[1],u=o[2];var f=rgb2hsl(s,a,u,n),c=l(f,3),p=c[0],h=c[1],B=c[2];return[p,h,B]}function hwb2lab(e,r,t){var n=hwb2rgb(e,r,t),i=l(n,3),o=i[0],s=i[1],a=i[2];var u=rgb2xyz(o,s,a),f=l(u,3),c=f[0],p=f[1],h=f[2];var B=xyz2lab(c,p,h),v=l(B,3),d=v[0],b=v[1],y=v[2];return[d,b,y]}function lab2hwb(e,r,t,n){var i=lab2xyz(e,r,t),o=l(i,3),s=o[0],a=o[1],u=o[2];var f=xyz2rgb(s,a,u),c=l(f,3),p=c[0],h=c[1],B=c[2];var v=rgb2hwb(p,h,B,n),d=l(v,3),b=d[0],y=d[1],g=d[2];return[b,y,g]}function hwb2lch(e,r,t){var n=hwb2rgb(e,r,t),i=l(n,3),o=i[0],s=i[1],a=i[2];var u=rgb2xyz(o,s,a),f=l(u,3),c=f[0],p=f[1],h=f[2];var B=xyz2lab(c,p,h),v=l(B,3),d=v[0],b=v[1],y=v[2];var g=lab2lch(d,b,y),m=l(g,3),C=m[0],w=m[1],S=m[2];return[C,w,S]}function lch2hwb(e,r,t,n){var i=lch2lab(e,r,t),o=l(i,3),s=o[0],a=o[1],u=o[2];var f=lab2xyz(s,a,u),c=l(f,3),p=c[0],h=c[1],B=c[2];var v=xyz2rgb(p,h,B),d=l(v,3),b=d[0],y=d[1],g=d[2];var m=rgb2hwb(b,y,g,n),C=l(m,3),w=C[0],S=C[1],O=C[2];return[w,S,O]}function hwb2xyz(e,r,t){var n=hwb2rgb(e,r,t),i=l(n,3),o=i[0],s=i[1],a=i[2];var u=rgb2xyz(o,s,a),f=l(u,3),c=f[0],p=f[1],h=f[2];return[c,p,h]}function xyz2hwb(e,r,t,n){var i=xyz2rgb(e,r,t),o=l(i,3),s=o[0],a=o[1],u=o[2];var f=rgb2hwb(s,a,u,n),c=l(f,3),p=c[0],h=c[1],B=c[2];return[p,h,B]}function hsv2lab(e,r,t){var n=hsv2rgb(e,r,t),i=l(n,3),o=i[0],s=i[1],a=i[2];var u=rgb2xyz(o,s,a),f=l(u,3),c=f[0],p=f[1],h=f[2];var B=xyz2lab(c,p,h),v=l(B,3),d=v[0],b=v[1],y=v[2];return[d,b,y]}function lab2hsv(e,r,t,n){var i=lab2xyz(e,r,t),o=l(i,3),s=o[0],a=o[1],u=o[2];var f=xyz2rgb(s,a,u),c=l(f,3),p=c[0],h=c[1],B=c[2];var v=rgb2hsv(p,h,B,n),d=l(v,3),b=d[0],y=d[1],g=d[2];return[b,y,g]}function hsv2lch(e,r,t){var n=hsv2rgb(e,r,t),i=l(n,3),o=i[0],s=i[1],a=i[2];var u=rgb2xyz(o,s,a),f=l(u,3),c=f[0],p=f[1],h=f[2];var B=xyz2lab(c,p,h),v=l(B,3),d=v[0],b=v[1],y=v[2];var g=lab2lch(d,b,y),m=l(g,3),C=m[0],w=m[1],S=m[2];return[C,w,S]}function lch2hsv(e,r,t,n){var i=lch2lab(e,r,t),o=l(i,3),s=o[0],a=o[1],u=o[2];var f=lab2xyz(s,a,u),c=l(f,3),p=c[0],h=c[1],B=c[2];var v=xyz2rgb(p,h,B),d=l(v,3),b=d[0],y=d[1],g=d[2];var m=rgb2hsv(b,y,g,n),C=l(m,3),w=C[0],S=C[1],O=C[2];return[w,S,O]}function hsv2xyz(e,r,t){var n=hsv2rgb(e,r,t),i=l(n,3),o=i[0],s=i[1],a=i[2];var u=rgb2xyz(o,s,a),f=l(u,3),c=f[0],p=f[1],h=f[2];return[c,p,h]}function xyz2hsv(e,r,t,n){var i=xyz2rgb(e,r,t),o=l(i,3),s=o[0],a=o[1],u=o[2];var f=rgb2hsv(s,a,u,n),c=l(f,3),p=c[0],h=c[1],B=c[2];return[p,h,B]}function xyz2lch(e,r,t){var n=xyz2lab(e,r,t),i=l(n,3),o=i[0],s=i[1],a=i[2];var u=lab2lch(o,s,a),f=l(u,3),c=f[0],p=f[1],h=f[2];return[c,p,h]}function lch2xyz(e,r,t){var n=lch2lab(e,r,t),i=l(n,3),o=i[0],s=i[1],a=i[2];var u=lab2xyz(o,s,a),f=l(u,3),c=f[0],p=f[1],h=f[2];return[c,p,h]}var p={rgb2hsl:rgb2hsl,rgb2hwb:rgb2hwb,rgb2lab:rgb2lab,rgb2lch:rgb2lch,rgb2hsv:rgb2hsv,rgb2xyz:rgb2xyz,hsl2rgb:hsl2rgb,hsl2hwb:hsl2hwb,hsl2lab:hsl2lab,hsl2lch:hsl2lch,hsl2hsv:hsl2hsv,hsl2xyz:hsl2xyz,hwb2rgb:hwb2rgb,hwb2hsl:hwb2hsl,hwb2lab:hwb2lab,hwb2lch:hwb2lch,hwb2hsv:hwb2hsv,hwb2xyz:hwb2xyz,lab2rgb:lab2rgb,lab2hsl:lab2hsl,lab2hwb:lab2hwb,lab2lch:lab2lch,lab2hsv:lab2hsv,lab2xyz:lab2xyz,lch2rgb:lch2rgb,lch2hsl:lch2hsl,lch2hwb:lch2hwb,lch2lab:lch2lab,lch2hsv:lch2hsv,lch2xyz:lch2xyz,hsv2rgb:hsv2rgb,hsv2hsl:hsv2hsl,hsv2hwb:hsv2hwb,hsv2lab:hsv2lab,hsv2lch:hsv2lch,hsv2xyz:hsv2xyz,xyz2rgb:xyz2rgb,xyz2hsl:xyz2hsl,xyz2hwb:xyz2hwb,xyz2lab:xyz2lab,xyz2lch:xyz2lch,xyz2hsv:xyz2hsv,rgb2hue:rgb2hue};r.rgb2hsl=rgb2hsl;r.rgb2hwb=rgb2hwb;r.rgb2lab=rgb2lab;r.rgb2lch=rgb2lch;r.rgb2hsv=rgb2hsv;r.rgb2xyz=rgb2xyz;r.hsl2rgb=hsl2rgb;r.hsl2hwb=hsl2hwb;r.hsl2lab=hsl2lab;r.hsl2lch=hsl2lch;r.hsl2hsv=hsl2hsv;r.hsl2xyz=hsl2xyz;r.hwb2rgb=hwb2rgb;r.hwb2hsl=hwb2hsl;r.hwb2lab=hwb2lab;r.hwb2lch=hwb2lch;r.hwb2hsv=hwb2hsv;r.hwb2xyz=hwb2xyz;r.lab2rgb=lab2rgb;r.lab2hsl=lab2hsl;r.lab2hwb=lab2hwb;r.lab2lch=lab2lch;r.lab2hsv=lab2hsv;r.lab2xyz=lab2xyz;r.lch2rgb=lch2rgb;r.lch2hsl=lch2hsl;r.lch2hwb=lch2hwb;r.lch2lab=lch2lab;r.lch2hsv=lch2hsv;r.lch2xyz=lch2xyz;r.hsv2rgb=hsv2rgb;r.hsv2hsl=hsv2hsl;r.hsv2hwb=hsv2hwb;r.hsv2lab=hsv2lab;r.hsv2lch=hsv2lch;r.hsv2xyz=hsv2xyz;r.xyz2rgb=xyz2rgb;r.xyz2hsl=xyz2hsl;r.xyz2hwb=xyz2hwb;r.xyz2lab=xyz2lab;r.xyz2lch=xyz2lch;r.xyz2hsv=xyz2hsv;r.rgb2hue=rgb2hue;r.default=p},8950:(e,r,t)=>{"use strict";var n=t(4338).feature;function browsersSort(e,r){e=e.split(" ");r=r.split(" ");if(e[0]>r[0]){return 1}else if(e[0]=t.length)break;s=t[o++]}else{o=t.next();if(o.done)break;s=o.value}var a=s;i[a]=Object.assign({},r)}}function add(e,r){for(var t=e,n=Array.isArray(t),o=0,t=n?t:t[Symbol.iterator]();;){var s;if(n){if(o>=t.length)break;s=t[o++]}else{o=t.next();if(o.done)break;s=o.value}var a=s;i[a].browsers=i[a].browsers.concat(r.browsers).sort(browsersSort)}}e.exports=i;f(t(5111),function(e){return prefix(["border-radius","border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius"],{mistakes:["-khtml-","-ms-","-o-"],feature:"border-radius",browsers:e})});f(t(7368),function(e){return prefix(["box-shadow"],{mistakes:["-khtml-"],feature:"css-boxshadow",browsers:e})});f(t(4243),function(e){return prefix(["animation","animation-name","animation-duration","animation-delay","animation-direction","animation-fill-mode","animation-iteration-count","animation-play-state","animation-timing-function","@keyframes"],{mistakes:["-khtml-","-ms-"],feature:"css-animation",browsers:e})});f(t(3409),function(e){return prefix(["transition","transition-property","transition-duration","transition-delay","transition-timing-function"],{mistakes:["-khtml-","-ms-"],browsers:e,feature:"css-transitions"})});f(t(9357),function(e){return prefix(["transform","transform-origin"],{feature:"transforms2d",browsers:e})});var o=t(5165);f(o,function(e){prefix(["perspective","perspective-origin"],{feature:"transforms3d",browsers:e});return prefix(["transform-style"],{mistakes:["-ms-","-o-"],browsers:e,feature:"transforms3d"})});f(o,{match:/y\sx|y\s#2/},function(e){return prefix(["backface-visibility"],{mistakes:["-ms-","-o-"],feature:"transforms3d",browsers:e})});var s=t(8615);f(s,{match:/y\sx/},function(e){return prefix(["linear-gradient","repeating-linear-gradient","radial-gradient","repeating-radial-gradient"],{props:["background","background-image","border-image","mask","list-style","list-style-image","content","mask-image"],mistakes:["-ms-"],feature:"css-gradients",browsers:e})});f(s,{match:/a\sx/},function(e){e=e.map(function(e){if(/firefox|op/.test(e)){return e}else{return e+" old"}});return add(["linear-gradient","repeating-linear-gradient","radial-gradient","repeating-radial-gradient"],{feature:"css-gradients",browsers:e})});f(t(3568),function(e){return prefix(["box-sizing"],{feature:"css3-boxsizing",browsers:e})});f(t(184),function(e){return prefix(["filter"],{feature:"css-filters",browsers:e})});f(t(8587),function(e){return prefix(["filter-function"],{props:["background","background-image","border-image","mask","list-style","list-style-image","content","mask-image"],feature:"css-filter-function",browsers:e})});var a=t(3330);f(a,{match:/y\sx|y\s#2/},function(e){return prefix(["backdrop-filter"],{feature:"css-backdrop-filter",browsers:e})});f(t(5113),function(e){return prefix(["element"],{props:["background","background-image","border-image","mask","list-style","list-style-image","content","mask-image"],feature:"css-element-function",browsers:e})});f(t(9086),function(e){prefix(["columns","column-width","column-gap","column-rule","column-rule-color","column-rule-width","column-count","column-rule-style","column-span","column-fill"],{feature:"multicolumn",browsers:e});var r=e.filter(function(e){return!/firefox/.test(e)});prefix(["break-before","break-after","break-inside"],{feature:"multicolumn",browsers:r})});f(t(2312),function(e){return prefix(["user-select"],{mistakes:["-khtml-"],feature:"user-select-none",browsers:e})});var u=t(6296);f(u,{match:/a\sx/},function(e){e=e.map(function(e){if(/ie|firefox/.test(e)){return e}else{return e+" 2009"}});prefix(["display-flex","inline-flex"],{props:["display"],feature:"flexbox",browsers:e});prefix(["flex","flex-grow","flex-shrink","flex-basis"],{feature:"flexbox",browsers:e});prefix(["flex-direction","flex-wrap","flex-flow","justify-content","order","align-items","align-self","align-content"],{feature:"flexbox",browsers:e})});f(u,{match:/y\sx/},function(e){add(["display-flex","inline-flex"],{feature:"flexbox",browsers:e});add(["flex","flex-grow","flex-shrink","flex-basis"],{feature:"flexbox",browsers:e});add(["flex-direction","flex-wrap","flex-flow","justify-content","order","align-items","align-self","align-content"],{feature:"flexbox",browsers:e})});f(t(9900),function(e){return prefix(["calc"],{props:["*"],feature:"calc",browsers:e})});f(t(5364),function(e){return prefix(["background-origin","background-size"],{feature:"background-img-opts",browsers:e})});f(t(7542),function(e){return prefix(["background-clip"],{feature:"background-clip-text",browsers:e})});f(t(3519),function(e){return prefix(["font-feature-settings","font-variant-ligatures","font-language-override"],{feature:"font-feature",browsers:e})});f(t(9573),function(e){return prefix(["font-kerning"],{feature:"font-kerning",browsers:e})});f(t(8846),function(e){return prefix(["border-image"],{feature:"border-image",browsers:e})});f(t(9335),function(e){return prefix(["::selection"],{selector:true,feature:"css-selection",browsers:e})});f(t(8814),function(e){prefix(["::placeholder"],{selector:true,feature:"css-placeholder",browsers:e.concat(["ie 10 old","ie 11 old","firefox 18 old"])})});f(t(562),function(e){return prefix(["hyphens"],{feature:"css-hyphens",browsers:e})});var c=t(6626);f(c,function(e){return prefix([":fullscreen"],{selector:true,feature:"fullscreen",browsers:e})});f(c,{match:/x(\s#2|$)/},function(e){return prefix(["::backdrop"],{selector:true,feature:"fullscreen",browsers:e})});f(t(6340),function(e){return prefix(["tab-size"],{feature:"css3-tabsize",browsers:e})});var l=t(5736);var p=["width","min-width","max-width","height","min-height","max-height","inline-size","min-inline-size","max-inline-size","block-size","min-block-size","max-block-size","grid","grid-template","grid-template-rows","grid-template-columns","grid-auto-columns","grid-auto-rows"];f(l,function(e){return prefix(["max-content","min-content"],{props:p,feature:"intrinsic-width",browsers:e})});f(l,{match:/x|\s#4/},function(e){return prefix(["fill","fill-available","stretch"],{props:p,feature:"intrinsic-width",browsers:e})});f(l,{match:/x|\s#5/},function(e){return prefix(["fit-content"],{props:p,feature:"intrinsic-width",browsers:e})});f(t(7294),function(e){return prefix(["zoom-in","zoom-out"],{props:["cursor"],feature:"css3-cursors-newer",browsers:e})});f(t(4968),function(e){return prefix(["grab","grabbing"],{props:["cursor"],feature:"css3-cursors-grab",browsers:e})});f(t(72),function(e){return prefix(["sticky"],{props:["position"],feature:"css-sticky",browsers:e})});f(t(4480),function(e){return prefix(["touch-action"],{feature:"pointer",browsers:e})});var h=t(7150);f(h,function(e){return prefix(["text-decoration-style","text-decoration-color","text-decoration-line","text-decoration"],{feature:"text-decoration",browsers:e})});f(h,{match:/x.*#[235]/},function(e){return prefix(["text-decoration-skip","text-decoration-skip-ink"],{feature:"text-decoration",browsers:e})});f(t(3251),function(e){return prefix(["text-size-adjust"],{feature:"text-size-adjust",browsers:e})});f(t(1905),function(e){prefix(["mask-clip","mask-composite","mask-image","mask-origin","mask-repeat","mask-border-repeat","mask-border-source"],{feature:"css-masks",browsers:e});prefix(["mask","mask-position","mask-size","mask-border","mask-border-outset","mask-border-width","mask-border-slice"],{feature:"css-masks",browsers:e})});f(t(2584),function(e){return prefix(["clip-path"],{feature:"css-clip-path",browsers:e})});f(t(941),function(e){return prefix(["box-decoration-break"],{feature:"css-boxdecorationbreak",browsers:e})});f(t(6904),function(e){return prefix(["object-fit","object-position"],{feature:"object-fit",browsers:e})});f(t(9471),function(e){return prefix(["shape-margin","shape-outside","shape-image-threshold"],{feature:"css-shapes",browsers:e})});f(t(3613),function(e){return prefix(["text-overflow"],{feature:"text-overflow",browsers:e})});f(t(1222),function(e){return prefix(["@viewport"],{feature:"css-deviceadaptation",browsers:e})});var B=t(4482);f(B,{match:/( x($| )|a #2)/},function(e){return prefix(["@resolution"],{feature:"css-media-resolution",browsers:e})});f(t(2250),function(e){return prefix(["text-align-last"],{feature:"css-text-align-last",browsers:e})});var v=t(4828);f(v,{match:/y x|a x #1/},function(e){return prefix(["pixelated"],{props:["image-rendering"],feature:"css-crisp-edges",browsers:e})});f(v,{match:/a x #2/},function(e){return prefix(["image-rendering"],{feature:"css-crisp-edges",browsers:e})});var d=t(6341);f(d,function(e){return prefix(["border-inline-start","border-inline-end","margin-inline-start","margin-inline-end","padding-inline-start","padding-inline-end"],{feature:"css-logical-props",browsers:e})});f(d,{match:/x\s#2/},function(e){return prefix(["border-block-start","border-block-end","margin-block-start","margin-block-end","padding-block-start","padding-block-end"],{feature:"css-logical-props",browsers:e})});var b=t(497);f(b,{match:/#2|x/},function(e){return prefix(["appearance"],{feature:"css-appearance",browsers:e})});f(t(2782),function(e){return prefix(["scroll-snap-type","scroll-snap-coordinate","scroll-snap-destination","scroll-snap-points-x","scroll-snap-points-y"],{feature:"css-snappoints",browsers:e})});f(t(9373),function(e){return prefix(["flow-into","flow-from","region-fragment"],{feature:"css-regions",browsers:e})});f(t(8913),function(e){return prefix(["image-set"],{props:["background","background-image","border-image","cursor","mask","mask-image","list-style","list-style-image","content"],feature:"css-image-set",browsers:e})});var y=t(3726);f(y,{match:/a|x/},function(e){return prefix(["writing-mode"],{feature:"css-writing-mode",browsers:e})});f(t(9089),function(e){return prefix(["cross-fade"],{props:["background","background-image","border-image","mask","list-style","list-style-image","content","mask-image"],feature:"css-cross-fade",browsers:e})});f(t(6541),function(e){return prefix([":read-only",":read-write"],{selector:true,feature:"css-read-only-write",browsers:e})});f(t(1082),function(e){return prefix(["text-emphasis","text-emphasis-position","text-emphasis-style","text-emphasis-color"],{feature:"text-emphasis",browsers:e})});var g=t(8490);f(g,function(e){prefix(["display-grid","inline-grid"],{props:["display"],feature:"css-grid",browsers:e});prefix(["grid-template-columns","grid-template-rows","grid-row-start","grid-column-start","grid-row-end","grid-column-end","grid-row","grid-column","grid-area","grid-template","grid-template-areas","place-self"],{feature:"css-grid",browsers:e})});f(g,{match:/a x/},function(e){return prefix(["grid-column-align","grid-row-align"],{feature:"css-grid",browsers:e})});f(t(9971),function(e){return prefix(["text-spacing"],{feature:"css-text-spacing",browsers:e})});f(t(8203),function(e){return prefix([":any-link"],{selector:true,feature:"css-any-link",browsers:e})});var m=t(517);f(m,function(e){return prefix(["isolate"],{props:["unicode-bidi"],feature:"css-unicode-bidi",browsers:e})});f(m,{match:/y x|a x #2/},function(e){return prefix(["plaintext"],{props:["unicode-bidi"],feature:"css-unicode-bidi",browsers:e})});f(m,{match:/y x/},function(e){return prefix(["isolate-override"],{props:["unicode-bidi"],feature:"css-unicode-bidi",browsers:e})});var C=t(4422);f(C,{match:/a #1/},function(e){return prefix(["overscroll-behavior"],{feature:"css-overscroll-behavior",browsers:e})});f(t(3662),function(e){return prefix(["color-adjust"],{feature:"css-color-adjust",browsers:e})});f(t(5340),function(e){return prefix(["text-orientation"],{feature:"css-text-orientation",browsers:e})})},9949:(e,r,t)=>{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n=t.length)break;o=t[i++]}else{i=t.next();if(i.done)break;o=i.value}var s=o;if(!r||r===s){this.add(e,s)}}};return AtRule}(n);e.exports=i},9945:(e,r,t)=>{"use strict";var n=t(3561);var i=t(7802);var o=t(4338).agents;var s=t(2242);var a=t(2200);var u=t(8774);var f=t(8950);var c=t(4393);var l="\n"+" Replace Autoprefixer `browsers` option to Browserslist config.\n"+" Use `browserslist` key in `package.json` or `.browserslistrc` file.\n"+"\n"+" Using `browsers` option can cause errors. Browserslist config \n"+" can be used for Babel, Autoprefixer, postcss-normalize and other tools.\n"+"\n"+" If you really need to use option, rename it to `overrideBrowserslist`.\n"+"\n"+" Learn more at:\n"+" https://github.com/browserslist/browserslist#readme\n"+" https://twitter.com/browserslist\n"+"\n";function isPlainObject(e){return Object.prototype.toString.apply(e)==="[object Object]"}var p={};function timeCapsule(e,r){if(r.browsers.selected.length===0){return}if(r.add.selectors.length>0){return}if(Object.keys(r.add).length>2){return}e.warn("Greetings, time traveller. "+"We are in the golden age of prefix-less CSS, "+"where Autoprefixer is no longer needed for your stylesheet.")}e.exports=i.plugin("autoprefixer",function(){for(var r=arguments.length,t=new Array(r),n=0;n{"use strict";function last(e){return e[e.length-1]}var r={parse:function parse(e){var r=[""];var t=[r];for(var n=e,i=Array.isArray(n),o=0,n=i?n:n[Symbol.iterator]();;){var s;if(i){if(o>=n.length)break;s=n[o++]}else{o=n.next();if(o.done)break;s=o.value}var a=s;if(a==="("){r=[""];last(t).push(r);t.push(r);continue}if(a===")"){t.pop();r=last(t);r.push("");continue}r[r.length-1]+=a}return t[0]},stringify:function stringify(e){var t="";for(var n=e,i=Array.isArray(n),o=0,n=i?n:n[Symbol.iterator]();;){var s;if(i){if(o>=n.length)break;s=n[o++]}else{o=n.next();if(o.done)break;s=o.value}var a=s;if(typeof a==="object"){t+="("+r.stringify(a)+")";continue}t+=a}return t}};e.exports=r},2200:(e,r,t)=>{"use strict";var n=t(3561);var i=t(4338).agents;var o=t(3020);var s=function(){Browsers.prefixes=function prefixes(){if(this.prefixesCache){return this.prefixesCache}this.prefixesCache=[];for(var e in i){this.prefixesCache.push("-"+i[e].prefix+"-")}this.prefixesCache=o.uniq(this.prefixesCache).sort(function(e,r){return r.length-e.length});return this.prefixesCache};Browsers.withPrefix=function withPrefix(e){if(!this.prefixesRegexp){this.prefixesRegexp=new RegExp(this.prefixes().join("|"))}return this.prefixesRegexp.test(e)};function Browsers(e,r,t,n){this.data=e;this.options=t||{};this.browserslistOpts=n||{};this.selected=this.parse(r)}var e=Browsers.prototype;e.parse=function parse(e){var r={};for(var t in this.browserslistOpts){r[t]=this.browserslistOpts[t]}r.path=this.options.from;r.env=this.options.env;return n(e,r)};e.prefix=function prefix(e){var r=e.split(" "),t=r[0],n=r[1];var i=this.data[t];var prefix=i.prefix_exceptions&&i.prefix_exceptions[n];if(!prefix){prefix=i.prefix}return"-"+prefix+"-"};e.isSelected=function isSelected(e){return this.selected.includes(e)};return Browsers}();e.exports=s},8802:(e,r,t)=>{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n=t.length)break;s=t[o++]}else{o=t.next();if(o.done)break;s=o.value}var a=s;if(a===r){continue}if(e.includes(a)){return true}}return false};r.set=function set(e,r){e.prop=this.prefixed(e.prop,r);return e};r.needCascade=function needCascade(e){if(!e._autoprefixerCascade){e._autoprefixerCascade=this.all.options.cascade!==false&&e.raw("before").includes("\n")}return e._autoprefixerCascade};r.maxPrefixed=function maxPrefixed(e,r){if(r._autoprefixerMax){return r._autoprefixerMax}var t=0;for(var n=e,i=Array.isArray(n),s=0,n=i?n:n[Symbol.iterator]();;){var a;if(i){if(s>=n.length)break;a=n[s++]}else{s=n.next();if(s.done)break;a=s.value}var u=a;u=o.removeNote(u);if(u.length>t){t=u.length}}r._autoprefixerMax=t;return r._autoprefixerMax};r.calcBefore=function calcBefore(e,r,t){if(t===void 0){t=""}var n=this.maxPrefixed(e,r);var i=n-o.removeNote(t).length;var s=r.raw("before");if(i>0){s+=Array(i).fill(" ").join("")}return s};r.restoreBefore=function restoreBefore(e){var r=e.raw("before").split("\n");var t=r[r.length-1];this.all.group(e).up(function(e){var r=e.raw("before").split("\n");var n=r[r.length-1];if(n.length{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";e.exports=function(e){var r;if(e==="-webkit- 2009"||e==="-moz-"){r=2009}else if(e==="-ms-"){r=2012}else if(e==="-webkit-"){r="final"}if(e==="-webkit- 2009"){e="-webkit-"}return[r,e]}},5302:(e,r,t)=>{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n=i.length)break;a=i[s++]}else{s=i.next();if(s.done)break;a=s.value}var u=a;if(u.type==="function"&&u.value===this.name){u.nodes=this.newDirection(u.nodes);u.nodes=this.normalize(u.nodes);if(r==="-webkit- old"){var f=this.oldWebkit(u);if(!f){return false}}else{u.nodes=this.convertDirection(u.nodes);u.value=r+u.value}}}return t.toString()};r.replaceFirst=function replaceFirst(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n=t.length)break;o=t[i++]}else{i=t.next();if(i.done)break;o=i.value}var s=o;if(r==="before"&&s.type==="space"){r="at"}else if(r==="at"&&s.value==="at"){r="after"}else if(r==="after"&&s.type==="space"){return true}else if(s.type==="div"){break}else{r="before"}}return false};r.convertDirection=function convertDirection(e){if(e.length>0){if(e[0].value==="to"){this.fixDirection(e)}else if(e[0].value.includes("deg")){this.fixAngle(e)}else if(this.isRadial(e)){this.fixRadial(e)}}return e};r.fixDirection=function fixDirection(e){e.splice(0,2);for(var r=e,t=Array.isArray(r),n=0,r=t?r:r[Symbol.iterator]();;){var i;if(t){if(n>=r.length)break;i=r[n++]}else{n=r.next();if(n.done)break;i=n.value}var o=i;if(o.type==="div"){break}if(o.type==="word"){o.value=this.revertDirection(o.value)}}};r.fixAngle=function fixAngle(e){var r=e[0].value;r=parseFloat(r);r=Math.abs(450-r)%360;r=this.roundFloat(r,3);e[0].value=r+"deg"};r.fixRadial=function fixRadial(e){var r=[];var t=[];var n,i,o,s,a;for(s=0;s=o.length)break;u=o[a++]}else{a=o.next();if(a.done)break;u=a.value}var f=u;i[i.length-1].push(f);if(f.type==="div"&&f.value===","){i.push([])}}this.oldDirection(i);this.colorStops(i);e.nodes=[];for(var c=0,l=i;c=n.length)break;s=n[o++]}else{o=n.next();if(o.done)break;s=o.value}var a=s;if(a.type==="word"){t.push(a.value.toLowerCase())}}t=t.join(" ");var u=this.oldDirections[t]||t;e[0]=[{type:"word",value:u},r];return e[0]}};r.cloneDiv=function cloneDiv(e){for(var r=e,t=Array.isArray(r),n=0,r=t?r:r[Symbol.iterator]();;){var i;if(t){if(n>=r.length)break;i=r[n++]}else{n=r.next();if(n.done)break;i=n.value}var o=i;if(o.type==="div"&&o.value===","){return o}}return{type:"div",value:",",after:" "}};r.colorStops=function colorStops(e){var r=[];for(var t=0;t{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n1){r.cloneBefore({prop:"-ms-grid-rows",value:u({value:"repeat("+d.length+", auto)",gap:v.row}),raws:{}})}c({gap:v,hasColumns:p,decl:r,result:i});var b=o({rows:d,gap:v});s(b,r,i);return r};return GridTemplateAreas}(n);_defineProperty(p,"names",["grid-template-areas"]);e.exports=p},2951:(e,r,t)=>{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n0;var b=Boolean(h);var y=Boolean(B);u({gap:c,hasColumns:y,decl:r,result:i});s(v,r,i);if(b&&y||d){r.cloneBefore({prop:"-ms-grid-rows",value:h,raws:{}})}if(y){r.cloneBefore({prop:"-ms-grid-columns",value:B,raws:{}})}return r};return GridTemplate}(n);_defineProperty(c,"names",["grid-template"]);e.exports=c},7833:(e,r,t)=>{"use strict";var n=t(4532);var i=t(7802).list;var o=t(3020).uniq;var s=t(3020).escapeRegexp;var a=t(3020).splitSelector;function convert(e){if(e&&e.length===2&&e[0]==="span"&&parseInt(e[1],10)>0){return[false,parseInt(e[1],10)]}if(e&&e.length===1&&parseInt(e[0],10)>0){return[parseInt(e[0],10),false]}return[false,false]}function translate(e,r,t){var n=e[r];var i=e[t];if(!n){return[false,false]}var o=convert(n),s=o[0],a=o[1];var u=convert(i),f=u[0],c=u[1];if(s&&!i){return[s,false]}if(a&&f){return[f-a,a]}if(s&&c){return[s,c]}if(s&&f){return[s,f-s]}return[false,false]}function parse(e){var r=n(e.value);var t=[];var i=0;t[i]=[];for(var o=r.nodes,s=Array.isArray(o),a=0,o=s?o:o[Symbol.iterator]();;){var u;if(s){if(a>=o.length)break;u=o[a++]}else{a=o.next();if(a.done)break;u=a.value}var f=u;if(f.type==="div"){i+=1;t[i]=[]}else if(f.type==="word"){t[i].push(f.value)}}return t}function insertDecl(e,r,t){if(t&&!e.parent.some(function(e){return e.prop==="-ms-"+r})){e.cloneBefore({prop:"-ms-"+r,value:t.toString()})}}function prefixTrackProp(e){var r=e.prop,t=e.prefix;return t+r.replace("template-","")}function transformRepeat(e,r){var t=e.nodes;var i=r.gap;var o=t.reduce(function(e,r){if(r.type==="div"&&r.value===","){e.key="size"}else{e[e.key].push(n.stringify(r))}return e},{key:"count",size:[],count:[]}),s=o.count,a=o.size;if(i){var u=function(){a=a.filter(function(e){return e.trim()});var e=[];var r=function _loop(r){a.forEach(function(t,n){if(n>0||r>1){e.push(i)}e.push(t)})};for(var t=1;t<=s;t++){r(t)}return{v:e.join(" ")}}();if(typeof u==="object")return u.v}return"("+a.join("")+")["+s.join("")+"]"}function prefixTrackValue(e){var r=e.value,t=e.gap;var i=n(r).nodes.reduce(function(e,r){if(r.type==="function"&&r.value==="repeat"){return e.concat({type:"word",value:transformRepeat(r,{gap:t})})}if(t&&r.type==="space"){return e.concat({type:"space",value:" "},{type:"word",value:t},r)}return e.concat(r)},[]);return n.stringify(i)}var u=/^\.+$/;function track(e,r){return{start:e,end:r,span:r-e}}function getColumns(e){return e.trim().split(/\s+/g)}function parseGridAreas(e){var r=e.rows,t=e.gap;return r.reduce(function(e,r,n){if(t.row)n*=2;if(r.trim()==="")return e;getColumns(r).forEach(function(r,i){if(u.test(r))return;if(t.column)i*=2;if(typeof e[r]==="undefined"){e[r]={column:track(i+1,i+2),row:track(n+1,n+2)}}else{var o=e[r],s=o.column,a=o.row;s.start=Math.min(s.start,i+1);s.end=Math.max(s.end,i+2);s.span=s.end-s.start;a.start=Math.min(a.start,n+1);a.end=Math.max(a.end,n+2);a.span=a.end-a.start}});return e},{})}function testTrack(e){return e.type==="word"&&/^\[.+]$/.test(e.value)}function verifyRowSize(e){if(e.areas.length>e.rows.length){e.rows.push("auto")}return e}function parseTemplate(e){var r=e.decl,t=e.gap;var i=n(r.value).nodes.reduce(function(e,r){var t=r.type,i=r.value;if(testTrack(r)||t==="space")return e;if(t==="string"){e=verifyRowSize(e);e.areas.push(i)}if(t==="word"||t==="function"){e[e.key].push(n.stringify(r))}if(t==="div"&&i==="/"){e.key="columns";e=verifyRowSize(e)}return e},{key:"rows",columns:[],rows:[],areas:[]});return{areas:parseGridAreas({rows:i.areas,gap:t}),columns:prefixTrackValue({value:i.columns.join(" "),gap:t.column}),rows:prefixTrackValue({value:i.rows.join(" "),gap:t.row})}}function getMSDecls(e,r,t){if(r===void 0){r=false}if(t===void 0){t=false}return[].concat({prop:"-ms-grid-row",value:String(e.row.start)},e.row.span>1||r?{prop:"-ms-grid-row-span",value:String(e.row.span)}:[],{prop:"-ms-grid-column",value:String(e.column.start)},e.column.span>1||t?{prop:"-ms-grid-column-span",value:String(e.column.span)}:[])}function getParentMedia(e){if(e.type==="atrule"&&e.name==="media"){return e}if(!e.parent){return false}return getParentMedia(e.parent)}function changeDuplicateAreaSelectors(e,r){e=e.map(function(e){var r=i.space(e);var t=i.comma(e);if(r.length>t.length){e=r.slice(-1).join("")}return e});return e.map(function(e){var t=r.map(function(r,t){var n=t===0?"":" ";return""+n+r+" > "+e});return t})}function selectorsEqual(e,r){return e.selectors.some(function(e){return r.selectors.some(function(r){return r===e})})}function parseGridTemplatesData(e){var r=[];e.walkDecls(/grid-template(-areas)?$/,function(e){var t=e.parent;var n=getParentMedia(t);var i=getGridGap(e);var s=inheritGridGap(e,i);var a=parseTemplate({decl:e,gap:s||i}),u=a.areas;var f=Object.keys(u);if(f.length===0){return true}var c=r.reduce(function(e,r,t){var n=r.allAreas;var i=n&&f.some(function(e){return n.includes(e)});return i?t:e},null);if(c!==null){var l=r[c],p=l.allAreas,h=l.rules;var B=h.some(function(e){return e.hasDuplicates===false&&selectorsEqual(e,t)});var v=false;var d=h.reduce(function(e,r){if(!r.params&&selectorsEqual(r,t)){v=true;return r.duplicateAreaNames}if(!v){f.forEach(function(t){if(r.areas[t]){e.push(t)}})}return o(e)},[]);h.forEach(function(e){f.forEach(function(r){var t=e.areas[r];if(t&&t.row.span!==u[r].row.span){u[r].row.updateSpan=true}if(t&&t.column.span!==u[r].column.span){u[r].column.updateSpan=true}})});r[c].allAreas=o([].concat(p,f));r[c].rules.push({hasDuplicates:!B,params:n.params,selectors:t.selectors,node:t,duplicateAreaNames:d,areas:u})}else{r.push({allAreas:f,areasCount:0,rules:[{hasDuplicates:false,duplicateRules:[],params:n.params,selectors:t.selectors,node:t,duplicateAreaNames:[],areas:u}]})}return undefined});return r}function insertAreas(e,r){var t=parseGridTemplatesData(e);if(t.length===0){return undefined}var n={};e.walkDecls("grid-area",function(o){var s=o.parent;var a=s.first.prop==="-ms-grid-row";var u=getParentMedia(s);if(r(o)){return undefined}var f=u?e.index(u):e.index(s);var c=o.value;var l=t.filter(function(e){return e.allAreas.includes(c)})[0];if(!l){return true}var p=l.allAreas[l.allAreas.length-1];var h=i.space(s.selector);var B=i.comma(s.selector);var v=h.length>1&&h.length>B.length;if(a){return false}if(!n[p]){n[p]={}}var d=false;for(var b=l.rules,y=Array.isArray(b),g=0,b=y?b:b[Symbol.iterator]();;){var m;if(y){if(g>=b.length)break;m=b[g++]}else{g=b.next();if(g.done)break;m=g.value}var C=m;var w=C.areas[c];var S=C.duplicateAreaNames.includes(c);if(!w){var O=e.index(n[p].lastRule);if(f>O){n[p].lastRule=u||s}continue}if(C.params&&!n[p][C.params]){n[p][C.params]=[]}if((!C.hasDuplicates||!S)&&!C.params){getMSDecls(w,false,false).reverse().forEach(function(e){return s.prepend(Object.assign(e,{raws:{between:o.raws.between}}))});n[p].lastRule=s;d=true}else if(C.hasDuplicates&&!C.params&&!v){(function(){var e=s.clone();e.removeAll();getMSDecls(w,w.row.updateSpan,w.column.updateSpan).reverse().forEach(function(r){return e.prepend(Object.assign(r,{raws:{between:o.raws.between}}))});e.selectors=changeDuplicateAreaSelectors(e.selectors,C.selectors);if(n[p].lastRule){n[p].lastRule.after(e)}n[p].lastRule=e;d=true})()}else if(C.hasDuplicates&&!C.params&&v&&s.selector.includes(C.selectors[0])){s.walkDecls(/-ms-grid-(row|column)/,function(e){return e.remove()});getMSDecls(w,w.row.updateSpan,w.column.updateSpan).reverse().forEach(function(e){return s.prepend(Object.assign(e,{raws:{between:o.raws.between}}))})}else if(C.params){(function(){var r=s.clone();r.removeAll();getMSDecls(w,w.row.updateSpan,w.column.updateSpan).reverse().forEach(function(e){return r.prepend(Object.assign(e,{raws:{between:o.raws.between}}))});if(C.hasDuplicates&&S){r.selectors=changeDuplicateAreaSelectors(r.selectors,C.selectors)}r.raws=C.node.raws;if(e.index(C.node.parent)>f){C.node.parent.append(r)}else{n[p][C.params].push(r)}if(!d){n[p].lastRule=u||s}})()}}return undefined});Object.keys(n).forEach(function(e){var r=n[e];var t=r.lastRule;Object.keys(r).reverse().filter(function(e){return e!=="lastRule"}).forEach(function(e){if(r[e].length>0&&t){t.after({name:"media",params:e});t.next().append(r[e])}})});return undefined}function warnMissedAreas(e,r,t){var n=Object.keys(e);r.root().walkDecls("grid-area",function(e){n=n.filter(function(r){return r!==e.value})});if(n.length>0){r.warn(t,"Can not find grid areas: "+n.join(", "))}return undefined}function warnTemplateSelectorNotFound(e,r){var t=e.parent;var n=e.root();var o=false;var s=i.space(t.selector).filter(function(e){return e!==">"}).slice(0,-1);if(s.length>0){var a=false;var u=null;n.walkDecls(/grid-template(-areas)?$/,function(r){var t=r.parent;var n=t.selectors;var f=parseTemplate({decl:r,gap:getGridGap(r)}),c=f.areas;var l=c[e.value];for(var p=n,h=Array.isArray(p),B=0,p=h?p:p[Symbol.iterator]();;){var v;if(h){if(B>=p.length)break;v=p[B++]}else{B=p.next();if(B.done)break;v=B.value}var d=v;if(a){break}var b=i.space(d).filter(function(e){return e!==">"});a=b.every(function(e,r){return e===s[r]})}if(a||!l){return true}if(!u){u=t.selector}if(u&&u!==t.selector){o=true}return undefined});if(!a&&o){e.warn(r,"Autoprefixer cannot find a grid-template "+('containing the duplicate grid-area "'+e.value+'" ')+("with full selector matching: "+s.join(" ")))}}}function warnIfGridRowColumnExists(e,r){var t=e.parent;var n=[];t.walkDecls(/^grid-(row|column)/,function(e){if(!e.prop.endsWith("-end")&&!e.value.startsWith("span")){n.push(e)}});if(n.length>0){n.forEach(function(e){e.warn(r,"You already have a grid-area declaration present in the rule. "+("You should use either grid-area or "+e.prop+", not both"))})}return undefined}function getGridGap(e){var r={};var t=/^(grid-)?((row|column)-)?gap$/;e.parent.walkDecls(t,function(e){var t=e.prop,i=e.value;if(/^(grid-)?gap$/.test(t)){var o=n(i).nodes,s=o[0],a=o[2];r.row=s&&n.stringify(s);r.column=a?n.stringify(a):r.row}if(/^(grid-)?row-gap$/.test(t))r.row=i;if(/^(grid-)?column-gap$/.test(t))r.column=i});return r}function parseMediaParams(e){if(!e){return false}var r=n(e);var t;var i;r.walk(function(e){if(e.type==="word"&&/min|max/g.test(e.value)){t=e.value}else if(e.value.includes("px")){i=parseInt(e.value.replace(/\D/g,""))}});return[t,i]}function shouldInheritGap(e,r){var t;var n=a(e);var i=a(r);if(n[0].lengthi[0].length){var o=n[0].reduce(function(e,r,t){var n=r[0];var o=i[0][0][0];if(n===o){return t}return false},false);if(o){t=i[0].every(function(e,r){return e.every(function(e,t){return n[0].slice(o)[r][t]===e})})}}else{t=i.some(function(e){return e.every(function(e,r){return e.every(function(e,t){return n[0][r][t]===e})})})}return t}function inheritGridGap(e,r){var t=e.parent;var n=getParentMedia(t);var i=t.root();var o=a(t.selector);if(Object.keys(r).length>0){return false}var u=parseMediaParams(n.params),f=u[0];var c=o[0];var l=s(c[c.length-1][0]);var p=new RegExp("("+l+"$)|("+l+"[,.])");var h;i.walkRules(p,function(e){var r;if(t.toString()===e.toString()){return false}e.walkDecls("grid-gap",function(e){return r=getGridGap(e)});if(!r||Object.keys(r).length===0){return true}if(!shouldInheritGap(t.selector,e.selector)){return true}var n=getParentMedia(e);if(n){var i=parseMediaParams(n.params)[0];if(i===f){h=r;return true}}else{h=r;return true}return undefined});if(h&&Object.keys(h).length>0){return h}return false}function warnGridGap(e){var r=e.gap,t=e.hasColumns,n=e.decl,i=e.result;var o=r.row&&r.column;if(!t&&(o||r.column&&!r.row)){delete r.column;n.warn(i,"Can not implement grid-gap without grid-template-columns")}}function normalizeRowColumn(e){var r=n(e).nodes.reduce(function(e,r){if(r.type==="function"&&r.value==="repeat"){var t="count";var i=r.nodes.reduce(function(e,r){if(r.type==="word"&&t==="count"){e[0]=Math.abs(parseInt(r.value));return e}if(r.type==="div"&&r.value===","){t="value";return e}if(t==="value"){e[1]+=n.stringify(r)}return e},[0,""]),o=i[0],s=i[1];if(o){for(var a=0;a *:nth-child("+(c.length-r)+")")}).join(", ");var s=i.clone().removeAll();s.selector=o;s.append({prop:"-ms-grid-row",value:n.start});s.append({prop:"-ms-grid-column",value:t.start});i.after(s)});return undefined}e.exports={parse:parse,translate:translate,parseTemplate:parseTemplate,parseGridAreas:parseGridAreas,warnMissedAreas:warnMissedAreas,insertAreas:insertAreas,insertDecl:insertDecl,prefixTrackProp:prefixTrackProp,prefixTrackValue:prefixTrackValue,getGridGap:getGridGap,warnGridGap:warnGridGap,warnTemplateSelectorNotFound:warnTemplateSelectorNotFound,warnIfGridRowColumnExists:warnIfGridRowColumnExists,inheritGridGap:inheritGridGap,autoplaceGridItems:autoplaceGridItems}},3690:(e,r,t)=>{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n=r.length)break;i=r[n++]}else{n=r.next();if(n.done)break;i=n.value}var o=i;if(e.value.includes(o+"(")){return true}}return false};r.set=function set(r,t){r=e.prototype.set.call(this,r,t);if(t==="-ms-"){r.value=r.value.replace(/rotatez/gi,"rotate")}return r};r.insert=function insert(r,t,n){if(t==="-ms-"){if(!this.contain3d(r)&&!this.keyframeParents(r)){return e.prototype.insert.call(this,r,t,n)}}else if(t==="-o-"){if(!this.contain3d(r)){return e.prototype.insert.call(this,r,t,n)}}else{return e.prototype.insert.call(this,r,t,n)}return undefined};return TransformDecl}(n);_defineProperty(i,"names",["transform","transform-origin"]);_defineProperty(i,"functions3d",["matrix3d","translate3d","translateZ","scale3d","scaleZ","rotate3d","rotateX","rotateY","perspective"]);e.exports=i},1661:(e,r,t)=>{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";var n=t(3561);function capitalize(e){return e.slice(0,1).toUpperCase()+e.slice(1)}var i={ie:"IE",ie_mob:"IE Mobile",ios_saf:"iOS",op_mini:"Opera Mini",op_mob:"Opera Mobile",and_chr:"Chrome for Android",and_ff:"Firefox for Android",and_uc:"UC for Android"};function prefix(e,r,t){var n=" "+e;if(t)n+=" *";n+=": ";n+=r.map(function(e){return e.replace(/^-(.*)-$/g,"$1")}).join(", ");n+="\n";return n}e.exports=function(e){if(e.browsers.selected.length===0){return"No browsers selected"}var r={};for(var t=e.browsers.selected,o=Array.isArray(t),s=0,t=o?t:t[Symbol.iterator]();;){var a;if(o){if(s>=t.length)break;a=t[s++]}else{s=t.next();if(s.done)break;a=s.value}var u=a;var f=u.split(" ");var c=f[0];var l=f[1];c=i[c]||capitalize(c);if(r[c]){r[c].push(l)}else{r[c]=[l]}}var p="Browsers:\n";for(var h in r){var B=r[h];B=B.sort(function(e,r){return parseFloat(r)-parseFloat(e)});p+=" "+h+": "+B.join(", ")+"\n"}var v=n.coverage(e.browsers.selected);var d=Math.round(v*100)/100;p+="\nThese browsers account for "+d+"% of all users globally\n";var b=[];for(var y in e.add){var g=e.add[y];if(y[0]==="@"&&g.prefixes){b.push(prefix(y,g.prefixes))}}if(b.length>0){p+="\nAt-Rules:\n"+b.sort().join("")}var m=[];for(var C=e.add.selectors,w=Array.isArray(C),S=0,C=w?C:C[Symbol.iterator]();;){var O;if(w){if(S>=C.length)break;O=C[S++]}else{S=C.next();if(S.done)break;O=S.value}var T=O;if(T.prefixes){m.push(prefix(T.name,T.prefixes))}}if(m.length>0){p+="\nSelectors:\n"+m.sort().join("")}var E=[];var k=[];var P=false;for(var D in e.add){var A=e.add[D];if(D[0]!=="@"&&A.prefixes){var R=D.indexOf("grid-")===0;if(R)P=true;k.push(prefix(D,A.prefixes,R))}if(!Array.isArray(A.values)){continue}for(var F=A.values,x=Array.isArray(F),j=0,F=x?F:F[Symbol.iterator]();;){var I;if(x){if(j>=F.length)break;I=F[j++]}else{j=F.next();if(j.done)break;I=j.value}var M=I;var N=M.name.includes("grid");if(N)P=true;var _=prefix(M.name,M.prefixes,N);if(!E.includes(_)){E.push(_)}}}if(k.length>0){p+="\nProperties:\n"+k.sort().join("")}if(E.length>0){p+="\nValues:\n"+E.sort().join("")}if(P){p+="\n* - Prefixes will be added only on grid: true option.\n"}if(!b.length&&!m.length&&!k.length&&!E.length){p+="\nAwesome! Your browsers don't require any vendor prefixes."+"\nNow you can remove Autoprefixer from build steps."}return p}},9013:e=>{"use strict";var r=function(){function OldSelector(e,r){this.prefix=r;this.prefixed=e.prefixed(this.prefix);this.regexp=e.regexp(this.prefix);this.prefixeds=e.possible().map(function(r){return[e.prefixed(r),e.regexp(r)]});this.unprefixed=e.name;this.nameRegexp=e.regexp()}var e=OldSelector.prototype;e.isHack=function isHack(e){var r=e.parent.index(e)+1;var t=e.parent.nodes;while(r=o.length)break;u=o[a++]}else{a=o.next();if(a.done)break;u=a.value}var f=u,c=f[0],l=f[1];if(n.includes(c)&&n.match(l)){i=true;break}}if(!i){return true}r+=1}return true};e.check=function check(e){if(!e.selector.includes(this.prefixed)){return false}if(!e.selector.match(this.regexp)){return false}if(this.isHack(e)){return false}return true};return OldSelector}();e.exports=r},342:(e,r,t)=>{"use strict";var n=t(3020);var i=function(){function OldValue(e,r,t,i){this.unprefixed=e;this.prefixed=r;this.string=t||r;this.regexp=i||n.regexp(r)}var e=OldValue.prototype;e.check=function check(e){if(e.includes(this.string)){return!!e.match(this.regexp)}return false};return OldValue}();e.exports=i},1171:(e,r,t)=>{"use strict";var n=t(7802).vendor;var i=t(2200);var o=t(3020);function _clone(e,r){var t=new e.constructor;for(var n=0,i=Object.keys(e||{});n=s.length)break;f=s[u++]}else{u=s.next();if(u.done)break;f=u.value}var c=f;if(this.add(e,c,i.concat([c]),r)){i.push(c)}}return i};e.clone=function clone(e,r){return Prefixer.clone(e,r)};return Prefixer}();e.exports=s},8774:(e,r,t)=>{"use strict";var n=t(7802).vendor;var i=t(8802);var o=t(6512);var s=t(4664);var a=t(4363);var u=t(358);var f=t(2200);var c=t(8128);var l=t(9949);var p=t(3943);var h=t(3020);c.hack(t(6255));c.hack(t(2696));i.hack(t(8437));i.hack(t(5187));i.hack(t(440));i.hack(t(4174));i.hack(t(6233));i.hack(t(7298));i.hack(t(6436));i.hack(t(5302));i.hack(t(576));i.hack(t(2004));i.hack(t(5806));i.hack(t(567));i.hack(t(5652));i.hack(t(8451));i.hack(t(7636));i.hack(t(4404));i.hack(t(1258));i.hack(t(1661));i.hack(t(1891));i.hack(t(7828));i.hack(t(6010));i.hack(t(3047));i.hack(t(4494));i.hack(t(2257));i.hack(t(6740));i.hack(t(8768));i.hack(t(2951));i.hack(t(4590));i.hack(t(4565));i.hack(t(5061));i.hack(t(2158));i.hack(t(3690));i.hack(t(9556));i.hack(t(6698));i.hack(t(7446));i.hack(t(453));i.hack(t(5280));i.hack(t(6598));i.hack(t(665));i.hack(t(3275));i.hack(t(7862));i.hack(t(7751));i.hack(t(5612));i.hack(t(7621));p.hack(t(5137));p.hack(t(5505));p.hack(t(5600));p.hack(t(8042));p.hack(t(9372));p.hack(t(9028));p.hack(t(4010));p.hack(t(9392));var B={};var v=function(){function Prefixes(e,r,t){if(t===void 0){t={}}this.data=e;this.browsers=r;this.options=t;var n=this.preprocess(this.select(this.data));this.add=n[0];this.remove=n[1];this.transition=new s(this);this.processor=new a(this)}var e=Prefixes.prototype;e.cleaner=function cleaner(){if(this.cleanerCache){return this.cleanerCache}if(this.browsers.selected.length){var e=new f(this.browsers.data,[]);this.cleanerCache=new Prefixes(this.data,e,this.options)}else{return this}return this.cleanerCache};e.select=function select(e){var r=this;var t={add:{},remove:{}};var n=function _loop(n){var i=e[n];var o=i.browsers.map(function(e){var r=e.split(" ");return{browser:r[0]+" "+r[1],note:r[2]}});var s=o.filter(function(e){return e.note}).map(function(e){return r.browsers.prefix(e.browser)+" "+e.note});s=h.uniq(s);o=o.filter(function(e){return r.browsers.isSelected(e.browser)}).map(function(e){var t=r.browsers.prefix(e.browser);if(e.note){return t+" "+e.note}else{return t}});o=r.sort(h.uniq(o));if(r.options.flexbox==="no-2009"){o=o.filter(function(e){return!e.includes("2009")})}var a=i.browsers.map(function(e){return r.browsers.prefix(e)});if(i.mistakes){a=a.concat(i.mistakes)}a=a.concat(s);a=h.uniq(a);if(o.length){t.add[n]=o;if(o.length=f.length)break;v=f[B++]}else{B=f.next();if(B.done)break;v=B.value}var d=v;if(!r[d]){r[d]={values:[]}}r[d].values.push(a)}}else{var b=r[t]&&r[t].values||[];r[t]=i.load(t,n,this);r[t].values=b}}}var y={selectors:[]};for(var g in e.remove){var m=e.remove[g];if(this.data[g].selector){var C=c.load(g,m);for(var w=m,S=Array.isArray(w),O=0,w=S?w:w[Symbol.iterator]();;){var T;if(S){if(O>=w.length)break;T=w[O++]}else{O=w.next();if(O.done)break;T=O.value}var E=T;y.selectors.push(C.old(E))}}else if(g==="@keyframes"||g==="@viewport"){for(var k=m,P=Array.isArray(k),D=0,k=P?k:k[Symbol.iterator]();;){var A;if(P){if(D>=k.length)break;A=k[D++]}else{D=k.next();if(D.done)break;A=D.value}var R=A;var F="@"+R+g.slice(1);y[F]={remove:true}}}else if(g==="@resolution"){y[g]=new o(g,m,this)}else{var x=this.data[g].props;if(x){var j=p.load(g,[],this);for(var I=m,M=Array.isArray(I),N=0,I=M?I:I[Symbol.iterator]();;){var _;if(M){if(N>=I.length)break;_=I[N++]}else{N=I.next();if(N.done)break;_=N.value}var L=_;var q=j.old(L);if(q){for(var G=x,J=Array.isArray(G),U=0,G=J?G:G[Symbol.iterator]();;){var H;if(J){if(U>=G.length)break;H=G[U++]}else{U=G.next();if(U.done)break;H=U.value}var Q=H;if(!y[Q]){y[Q]={}}if(!y[Q].values){y[Q].values=[]}y[Q].values.push(q)}}}}else{for(var K=m,W=Array.isArray(K),Y=0,K=W?K:K[Symbol.iterator]();;){var z;if(W){if(Y>=K.length)break;z=K[Y++]}else{Y=K.next();if(Y.done)break;z=Y.value}var $=z;var X=this.decl(g).old(g,$);if(g==="align-self"){var Z=r[g]&&r[g].prefixes;if(Z){if($==="-webkit- 2009"&&Z.includes("-webkit-")){continue}else if($==="-webkit-"&&Z.includes("-webkit- 2009")){continue}}}for(var V=X,ee=Array.isArray(V),re=0,V=ee?V:V[Symbol.iterator]();;){var te;if(ee){if(re>=V.length)break;te=V[re++]}else{re=V.next();if(re.done)break;te=re.value}var ne=te;if(!y[ne]){y[ne]={}}y[ne].remove=true}}}}}return[r,y]};e.decl=function decl(e){var decl=B[e];if(decl){return decl}else{B[e]=i.load(e);return B[e]}};e.unprefixed=function unprefixed(e){var r=this.normalize(n.unprefixed(e));if(r==="flex-direction"){r="flex-flow"}return r};e.normalize=function normalize(e){return this.decl(e).normalize(e)};e.prefixed=function prefixed(e,r){e=n.unprefixed(e);return this.decl(e).prefixed(e,r)};e.values=function values(e,r){var t=this[e];var n=t["*"]&&t["*"].values;var values=t[r]&&t[r].values;if(n&&values){return h.uniq(n.concat(values))}else{return n||values||[]}};e.group=function group(e){var r=this;var t=e.parent;var n=t.index(e);var i=t.nodes.length;var o=this.unprefixed(e.prop);var s=function checker(e,s){n+=e;while(n>=0&&n{"use strict";var n=t(4532);var i=t(3943);var o=t(7833).insertAreas;var s=/(^|[^-])linear-gradient\(\s*(top|left|right|bottom)/i;var a=/(^|[^-])radial-gradient\(\s*\d+(\w*|%)\s+\d+(\w*|%)\s*,/i;var u=/(!\s*)?autoprefixer:\s*ignore\s+next/i;var f=/(!\s*)?autoprefixer\s*grid:\s*(on|off|(no-)?autoplace)/i;var c=["width","height","min-width","max-width","min-height","max-height","inline-size","min-inline-size","max-inline-size","block-size","min-block-size","max-block-size"];function hasGridTemplate(e){return e.parent.some(function(e){return e.prop==="grid-template"||e.prop==="grid-template-areas"})}function hasRowsAndColumns(e){var r=e.parent.some(function(e){return e.prop==="grid-template-rows"});var t=e.parent.some(function(e){return e.prop==="grid-template-columns"});return r&&t}var l=function(){function Processor(e){this.prefixes=e}var e=Processor.prototype;e.add=function add(e,r){var t=this;var u=this.prefixes.add["@resolution"];var f=this.prefixes.add["@keyframes"];var l=this.prefixes.add["@viewport"];var p=this.prefixes.add["@supports"];e.walkAtRules(function(e){if(e.name==="keyframes"){if(!t.disabled(e,r)){return f&&f.process(e)}}else if(e.name==="viewport"){if(!t.disabled(e,r)){return l&&l.process(e)}}else if(e.name==="supports"){if(t.prefixes.options.supports!==false&&!t.disabled(e,r)){return p.process(e)}}else if(e.name==="media"&&e.params.includes("-resolution")){if(!t.disabled(e,r)){return u&&u.process(e)}}return undefined});e.walkRules(function(e){if(t.disabled(e,r))return undefined;return t.prefixes.add.selectors.map(function(t){return t.process(e,r)})});function insideGrid(e){return e.parent.nodes.some(function(e){if(e.type!=="decl")return false;var r=e.prop==="display"&&/(inline-)?grid/.test(e.value);var t=e.prop.startsWith("grid-template");var n=/^grid-([A-z]+-)?gap/.test(e.prop);return r||t||n})}function insideFlex(e){return e.parent.some(function(e){return e.prop==="display"&&/(inline-)?flex/.test(e.value)})}var h=this.gridStatus(e,r)&&this.prefixes.add["grid-area"]&&this.prefixes.add["grid-area"].prefixes;e.walkDecls(function(e){if(t.disabledDecl(e,r))return undefined;var i=e.parent;var o=e.prop;var u=e.value;if(o==="grid-row-span"){r.warn("grid-row-span is not part of final Grid Layout. Use grid-row.",{node:e});return undefined}else if(o==="grid-column-span"){r.warn("grid-column-span is not part of final Grid Layout. Use grid-column.",{node:e});return undefined}else if(o==="display"&&u==="box"){r.warn("You should write display: flex by final spec "+"instead of display: box",{node:e});return undefined}else if(o==="text-emphasis-position"){if(u==="under"||u==="over"){r.warn("You should use 2 values for text-emphasis-position "+"For example, `under left` instead of just `under`.",{node:e})}}else if(/^(align|justify|place)-(items|content)$/.test(o)&&insideFlex(e)){if(u==="start"||u==="end"){r.warn(u+" value has mixed support, consider using "+("flex-"+u+" instead"),{node:e})}}else if(o==="text-decoration-skip"&&u==="ink"){r.warn("Replace text-decoration-skip: ink to "+"text-decoration-skip-ink: auto, because spec had been changed",{node:e})}else{if(h){if(/^(align|justify|place)-items$/.test(o)&&insideGrid(e)){var f=o.replace("-items","-self");r.warn("IE does not support "+o+" on grid containers. "+("Try using "+f+" on child elements instead: ")+(e.parent.selector+" > * { "+f+": "+e.value+" }"),{node:e})}else if(/^(align|justify|place)-content$/.test(o)&&insideGrid(e)){r.warn("IE does not support "+e.prop+" on grid containers",{node:e})}else if(o==="display"&&e.value==="contents"){r.warn("Please do not use display: contents; "+"if you have grid setting enabled",{node:e});return undefined}else if(e.prop==="grid-gap"){var l=t.gridStatus(e,r);if(l==="autoplace"&&!hasRowsAndColumns(e)&&!hasGridTemplate(e)){r.warn("grid-gap only works if grid-template(-areas) is being "+"used or both rows and columns have been declared "+"and cells have not been manually "+"placed inside the explicit grid",{node:e})}else if((l===true||l==="no-autoplace")&&!hasGridTemplate(e)){r.warn("grid-gap only works if grid-template(-areas) is being used",{node:e})}}else if(o==="grid-auto-columns"){r.warn("grid-auto-columns is not supported by IE",{node:e});return undefined}else if(o==="grid-auto-rows"){r.warn("grid-auto-rows is not supported by IE",{node:e});return undefined}else if(o==="grid-auto-flow"){var p=i.some(function(e){return e.prop==="grid-template-rows"});var B=i.some(function(e){return e.prop==="grid-template-columns"});if(hasGridTemplate(e)){r.warn("grid-auto-flow is not supported by IE",{node:e})}else if(u.includes("dense")){r.warn("grid-auto-flow: dense is not supported by IE",{node:e})}else if(!p&&!B){r.warn("grid-auto-flow works only if grid-template-rows and "+"grid-template-columns are present in the same rule",{node:e})}return undefined}else if(u.includes("auto-fit")){r.warn("auto-fit value is not supported by IE",{node:e,word:"auto-fit"});return undefined}else if(u.includes("auto-fill")){r.warn("auto-fill value is not supported by IE",{node:e,word:"auto-fill"});return undefined}else if(o.startsWith("grid-template")&&u.includes("[")){r.warn("Autoprefixer currently does not support line names. "+"Try using grid-template-areas instead.",{node:e,word:"["})}}if(u.includes("radial-gradient")){if(a.test(e.value)){r.warn("Gradient has outdated direction syntax. "+"New syntax is like `closest-side at 0 0` "+"instead of `0 0, closest-side`.",{node:e})}else{var v=n(u);for(var d=v.nodes,b=Array.isArray(d),y=0,d=b?d:d[Symbol.iterator]();;){var g;if(b){if(y>=d.length)break;g=d[y++]}else{y=d.next();if(y.done)break;g=y.value}var m=g;if(m.type==="function"&&m.value==="radial-gradient"){for(var C=m.nodes,w=Array.isArray(C),S=0,C=w?C:C[Symbol.iterator]();;){var O;if(w){if(S>=C.length)break;O=C[S++]}else{S=C.next();if(S.done)break;O=S.value}var T=O;if(T.type==="word"){if(T.value==="cover"){r.warn("Gradient has outdated direction syntax. "+"Replace `cover` to `farthest-corner`.",{node:e})}else if(T.value==="contain"){r.warn("Gradient has outdated direction syntax. "+"Replace `contain` to `closest-side`.",{node:e})}}}}}}}if(u.includes("linear-gradient")){if(s.test(u)){r.warn("Gradient has outdated direction syntax. "+"New syntax is like `to left` instead of `right`.",{node:e})}}}if(c.includes(e.prop)){if(!e.value.includes("-fill-available")){if(e.value.includes("fill-available")){r.warn("Replace fill-available to stretch, "+"because spec had been changed",{node:e})}else if(e.value.includes("fill")){var E=n(u);if(E.nodes.some(function(e){return e.type==="word"&&e.value==="fill"})){r.warn("Replace fill to stretch, because spec had been changed",{node:e})}}}}var k;if(e.prop==="transition"||e.prop==="transition-property"){return t.prefixes.transition.add(e,r)}else if(e.prop==="align-self"){var P=t.displayType(e);if(P!=="grid"&&t.prefixes.options.flexbox!==false){k=t.prefixes.add["align-self"];if(k&&k.prefixes){k.process(e)}}if(P!=="flex"&&t.gridStatus(e,r)!==false){k=t.prefixes.add["grid-row-align"];if(k&&k.prefixes){return k.process(e,r)}}}else if(e.prop==="justify-self"){var D=t.displayType(e);if(D!=="flex"&&t.gridStatus(e,r)!==false){k=t.prefixes.add["grid-column-align"];if(k&&k.prefixes){return k.process(e,r)}}}else if(e.prop==="place-self"){k=t.prefixes.add["place-self"];if(k&&k.prefixes&&t.gridStatus(e,r)!==false){return k.process(e,r)}}else{k=t.prefixes.add[e.prop];if(k&&k.prefixes){return k.process(e,r)}}return undefined});if(this.gridStatus(e,r)){o(e,this.disabled)}return e.walkDecls(function(e){if(t.disabledValue(e,r))return;var n=t.prefixes.unprefixed(e.prop);var o=t.prefixes.values("add",n);if(Array.isArray(o)){for(var s=o,a=Array.isArray(s),u=0,s=a?s:s[Symbol.iterator]();;){var f;if(a){if(u>=s.length)break;f=s[u++]}else{u=s.next();if(u.done)break;f=u.value}var c=f;if(c.process)c.process(e,r)}}i.save(t.prefixes,e)})};e.remove=function remove(e,r){var t=this;var n=this.prefixes.remove["@resolution"];e.walkAtRules(function(e,i){if(t.prefixes.remove["@"+e.name]){if(!t.disabled(e,r)){e.parent.removeChild(i)}}else if(e.name==="media"&&e.params.includes("-resolution")&&n){n.clean(e)}});var i=function _loop(){if(s){if(a>=o.length)return"break";u=o[a++]}else{a=o.next();if(a.done)return"break";u=a.value}var n=u;e.walkRules(function(e,i){if(n.check(e)){if(!t.disabled(e,r)){e.parent.removeChild(i)}}})};for(var o=this.prefixes.remove.selectors,s=Array.isArray(o),a=0,o=s?o:o[Symbol.iterator]();;){var u;var f=i();if(f==="break")break}return e.walkDecls(function(e,n){if(t.disabled(e,r))return;var i=e.parent;var o=t.prefixes.unprefixed(e.prop);if(e.prop==="transition"||e.prop==="transition-property"){t.prefixes.transition.remove(e)}if(t.prefixes.remove[e.prop]&&t.prefixes.remove[e.prop].remove){var s=t.prefixes.group(e).down(function(e){return t.prefixes.normalize(e.prop)===o});if(o==="flex-flow"){s=true}if(e.prop==="-webkit-box-orient"){var a={"flex-direction":true,"flex-flow":true};if(!e.parent.some(function(e){return a[e.prop]}))return}if(s&&!t.withHackValue(e)){if(e.raw("before").includes("\n")){t.reduceSpaces(e)}i.removeChild(n);return}}for(var u=t.prefixes.values("remove",o),f=Array.isArray(u),c=0,u=f?u:u[Symbol.iterator]();;){var l;if(f){if(c>=u.length)break;l=u[c++]}else{c=u.next();if(c.done)break;l=c.value}var p=l;if(!p.check)continue;if(!p.check(e.value))continue;o=p.unprefixed;var h=t.prefixes.group(e).down(function(e){return e.value.includes(o)});if(h){i.removeChild(n);return}}})};e.withHackValue=function withHackValue(e){return e.prop==="-webkit-background-clip"&&e.value==="text"};e.disabledValue=function disabledValue(e,r){if(this.gridStatus(e,r)===false&&e.type==="decl"){if(e.prop==="display"&&e.value.includes("grid")){return true}}if(this.prefixes.options.flexbox===false&&e.type==="decl"){if(e.prop==="display"&&e.value.includes("flex")){return true}}return this.disabled(e,r)};e.disabledDecl=function disabledDecl(e,r){if(this.gridStatus(e,r)===false&&e.type==="decl"){if(e.prop.includes("grid")||e.prop==="justify-items"){return true}}if(this.prefixes.options.flexbox===false&&e.type==="decl"){var t=["order","justify-content","align-items","align-content"];if(e.prop.includes("flex")||t.includes(e.prop)){return true}}return this.disabled(e,r)};e.disabled=function disabled(e,r){if(!e)return false;if(e._autoprefixerDisabled!==undefined){return e._autoprefixerDisabled}if(e.parent){var t=e.prev();if(t&&t.type==="comment"&&u.test(t.text)){e._autoprefixerDisabled=true;e._autoprefixerSelfDisabled=true;return true}}var n=null;if(e.nodes){var i;e.each(function(e){if(e.type!=="comment")return;if(/(!\s*)?autoprefixer:\s*(off|on)/i.test(e.text)){if(typeof i!=="undefined"){r.warn("Second Autoprefixer control comment "+"was ignored. Autoprefixer applies control "+"comment to whole block, not to next rules.",{node:e})}else{i=/on/i.test(e.text)}}});if(i!==undefined){n=!i}}if(!e.nodes||n===null){if(e.parent){var o=this.disabled(e.parent,r);if(e.parent._autoprefixerSelfDisabled===true){n=false}else{n=o}}else{n=false}}e._autoprefixerDisabled=n;return n};e.reduceSpaces=function reduceSpaces(e){var r=false;this.prefixes.group(e).up(function(){r=true;return true});if(r){return}var t=e.raw("before").split("\n");var n=t[t.length-1].length;var i=false;this.prefixes.group(e).down(function(e){t=e.raw("before").split("\n");var r=t.length-1;if(t[r].length>n){if(i===false){i=t[r].length-n}t[r]=t[r].slice(0,-i);e.raws.before=t.join("\n")}})};e.displayType=function displayType(e){for(var r=e.parent.nodes,t=Array.isArray(r),n=0,r=t?r:r[Symbol.iterator]();;){var i;if(t){if(n>=r.length)break;i=r[n++]}else{n=r.next();if(n.done)break;i=n.value}var o=i;if(o.prop!=="display"){continue}if(o.value.includes("flex")){return"flex"}if(o.value.includes("grid")){return"grid"}}return false};e.gridStatus=function gridStatus(e,r){if(!e)return false;if(e._autoprefixerGridStatus!==undefined){return e._autoprefixerGridStatus}var t=null;if(e.nodes){var n;e.each(function(e){if(e.type!=="comment")return;if(f.test(e.text)){var t=/:\s*autoplace/i.test(e.text);var i=/no-autoplace/i.test(e.text);if(typeof n!=="undefined"){r.warn("Second Autoprefixer grid control comment was "+"ignored. Autoprefixer applies control comments to the whole "+"block, not to the next rules.",{node:e})}else if(t){n="autoplace"}else if(i){n=true}else{n=/on/i.test(e.text)}}});if(n!==undefined){t=n}}if(e.type==="atrule"&&e.name==="supports"){var i=e.params;if(i.includes("grid")&&i.includes("auto")){t=false}}if(!e.nodes||t===null){if(e.parent){var o=this.gridStatus(e.parent,r);if(e.parent._autoprefixerSelfDisabled===true){t=false}else{t=o}}else if(typeof this.prefixes.options.grid!=="undefined"){t=this.prefixes.options.grid}else if(typeof process.env.AUTOPREFIXER_GRID!=="undefined"){if(process.env.AUTOPREFIXER_GRID==="autoplace"){t="autoplace"}else{t=true}}else{t=false}}e._autoprefixerGridStatus=t;return t};return Processor}();e.exports=l},6512:(e,r,t)=>{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n=t.length)break;s=t[i++]}else{i=t.next();if(i.done)break;s=i.value}var a=s;this.bad.push(this.prefixName(a,"min"));this.bad.push(this.prefixName(a,"max"))}}e.params=o.editList(e.params,function(e){return e.filter(function(e){return r.bad.every(function(r){return!e.includes(r)})})})};r.process=function process(e){var r=this;var t=this.parentPrefix(e);var n=t?[t]:this.prefixes;e.params=o.editList(e.params,function(e,t){for(var i=e,u=Array.isArray(i),f=0,i=u?i:i[Symbol.iterator]();;){var c;if(u){if(f>=i.length)break;c=i[f++]}else{f=i.next();if(f.done)break;c=f.value}var l=c;if(!l.includes("min-resolution")&&!l.includes("max-resolution")){t.push(l);continue}var p=function _loop(){if(B){if(v>=h.length)return"break";d=h[v++]}else{v=h.next();if(v.done)return"break";d=v.value}var e=d;var n=l.replace(s,function(t){var n=t.match(a);return r.prefixQuery(e,n[1],n[2],n[3],n[4])});t.push(n)};for(var h=n,B=Array.isArray(h),v=0,h=B?h:h[Symbol.iterator]();;){var d;var b=p();if(b==="break")break}t.push(l)}return o.uniq(t)})};return Resolution}(i);e.exports=u},8128:(e,r,t)=>{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n=s.length)return"break";f=s[u++]}else{u=s.next();if(u.done)return"break";f=u.value}var e=f;prefixeds[e]=n.map(function(t){return r.replace(t,e)}).join(", ")};for(var s=this.possible(),a=Array.isArray(s),u=0,s=a?s:s[Symbol.iterator]();;){var f;var c=o();if(c==="break")break}}else{for(var l=this.possible(),p=Array.isArray(l),h=0,l=p?l:l[Symbol.iterator]();;){var B;if(p){if(h>=l.length)break;B=l[h++]}else{h=l.next();if(h.done)break;B=h.value}var v=B;prefixeds[v]=this.replace(e.selector,v)}}e._autoprefixerPrefixeds[this.name]=prefixeds;return e._autoprefixerPrefixeds};r.already=function already(e,r,t){var n=e.parent.index(e)-1;while(n>=0){var i=e.parent.nodes[n];if(i.type!=="rule"){return false}var o=false;for(var s in r[this.name]){var a=r[this.name][s];if(i.selector===a){if(t===s){return true}else{o=true;break}}}if(!o){return false}n-=1}return false};r.replace=function replace(e,r){return e.replace(this.regexp(),"$1"+this.prefixed(r))};r.add=function add(e,r){var t=this.prefixeds(e);if(this.already(e,t,r)){return}var n=this.clone(e,{selector:t[this.name][r]});e.parent.insertBefore(e,n)};r.old=function old(e){return new o(this,e)};return Selector}(s);e.exports=f},358:(e,r,t)=>{"use strict";var n=t(7802);var i=t(4338).feature(t(6681));var o=t(2200);var s=t(4408);var a=t(3943);var u=t(3020);var f=[];for(var c in i.stats){var l=i.stats[c];for(var p in l){var h=l[p];if(/y/.test(h)){f.push(c+" "+p)}}}var B=function(){function Supports(e,r){this.Prefixes=e;this.all=r}var e=Supports.prototype;e.prefixer=function prefixer(){if(this.prefixerCache){return this.prefixerCache}var e=this.all.browsers.selected.filter(function(e){return f.includes(e)});var r=new o(this.all.browsers.data,e,this.all.options);this.prefixerCache=new this.Prefixes(this.all.data,r,this.all.options);return this.prefixerCache};e.parse=function parse(e){var r=e.split(":");var t=r[0];var n=r[1];if(!n)n="";return[t.trim(),n.trim()]};e.virtual=function virtual(e){var r=this.parse(e),t=r[0],i=r[1];var o=n.parse("a{}").first;o.append({prop:t,value:i,raws:{before:""}});return o};e.prefixed=function prefixed(e){var r=this.virtual(e);if(this.disabled(r.first)){return r.nodes}var t={warn:function warn(){return null}};var n=this.prefixer().add[r.first.prop];n&&n.process&&n.process(r.first,t);for(var i=r.nodes,o=Array.isArray(i),s=0,i=o?i:i[Symbol.iterator]();;){var u;if(o){if(s>=i.length)break;u=i[s++]}else{s=i.next();if(s.done)break;u=s.value}var f=u;for(var c=this.prefixer().values("add",r.first.prop),l=Array.isArray(c),p=0,c=l?c:c[Symbol.iterator]();;){var h;if(l){if(p>=c.length)break;h=c[p++]}else{p=c.next();if(p.done)break;h=p.value}var B=h;B.process(f)}a.save(this.all,f)}return r.nodes};e.isNot=function isNot(e){return typeof e==="string"&&/not\s*/i.test(e)};e.isOr=function isOr(e){return typeof e==="string"&&/\s*or\s*/i.test(e)};e.isProp=function isProp(e){return typeof e==="object"&&e.length===1&&typeof e[0]==="string"};e.isHack=function isHack(e,r){var t=new RegExp("(\\(|\\s)"+u.escapeRegexp(r)+":");return!t.test(e)};e.toRemove=function toRemove(e,r){var t=this.parse(e),n=t[0],i=t[1];var o=this.all.unprefixed(n);var s=this.all.cleaner();if(s.remove[n]&&s.remove[n].remove&&!this.isHack(r,o)){return true}for(var a=s.values("remove",o),u=Array.isArray(a),f=0,a=u?a:a[Symbol.iterator]();;){var c;if(u){if(f>=a.length)break;c=a[f++]}else{f=a.next();if(f.done)break;c=f.value}var l=c;if(l.check(i)){return true}}return false};e.remove=function remove(e,r){var t=0;while(t=t.length)break;o=t[i++]}else{i=t.next();if(i.done)break;o=i.value}var s=o;r.push([s.prop+": "+s.value]);r.push(" or ")}r[r.length-1]="";return r};e.normalize=function normalize(e){var r=this;if(typeof e!=="object"){return e}e=e.filter(function(e){return e!==""});if(typeof e[0]==="string"&&e[0].includes(":")){return[s.stringify(e)]}return e.map(function(e){return r.normalize(e)})};e.add=function add(e,r){var t=this;return e.map(function(e){if(t.isProp(e)){var n=t.prefixed(e[0]);if(n.length>1){return t.convert(n)}return e}if(typeof e==="object"){return t.add(e,r)}return e})};e.process=function process(e){var r=s.parse(e.params);r=this.normalize(r);r=this.remove(r,e.params);r=this.add(r,e.params);r=this.cleanBrackets(r);e.params=s.stringify(r)};e.disabled=function disabled(e){if(!this.all.options.grid){if(e.prop==="display"&&e.value.includes("grid")){return true}if(e.prop.includes("grid")||e.prop==="justify-items"){return true}}if(this.all.options.flexbox===false){if(e.prop==="display"&&e.value.includes("flex")){return true}var r=["order","justify-content","align-items","align-content"];if(e.prop.includes("flex")||r.includes(e.prop)){return true}}return false};return Supports}();e.exports=B},4664:(e,r,t)=>{"use strict";function _defineProperty(e,r,t){if(r in e){Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true})}else{e[r]=t}return e}var n=t(4532);var i=t(7802).vendor;var o=t(7802).list;var s=t(2200);var a=function(){function Transition(e){_defineProperty(this,"props",["transition","transition-property"]);this.prefixes=e}var e=Transition.prototype;e.add=function add(e,r){var t=this;var n,i;var add=this.prefixes.add[e.prop];var o=this.ruleVendorPrefixes(e);var s=o||add&&add.prefixes||[];var a=this.parse(e.value);var u=a.map(function(e){return t.findProp(e)});var f=[];if(u.some(function(e){return e[0]==="-"})){return}for(var c=a,l=Array.isArray(c),p=0,c=l?c:c[Symbol.iterator]();;){var h;if(l){if(p>=c.length)break;h=c[p++]}else{p=c.next();if(p.done)break;h=p.value}var B=h;i=this.findProp(B);if(i[0]==="-")continue;var v=this.prefixes.add[i];if(!v||!v.prefixes)continue;for(var d=v.prefixes,b=Array.isArray(d),y=0,d=b?d:d[Symbol.iterator]();;){if(b){if(y>=d.length)break;n=d[y++]}else{y=d.next();if(y.done)break;n=y.value}if(o&&!o.some(function(e){return n.includes(e)})){continue}var g=this.prefixes.prefixed(i,n);if(g!=="-ms-transform"&&!u.includes(g)){if(!this.disabled(i,n)){f.push(this.clone(i,g,B))}}}}a=a.concat(f);var m=this.stringify(a);var C=this.stringify(this.cleanFromUnprefixed(a,"-webkit-"));if(s.includes("-webkit-")){this.cloneBefore(e,"-webkit-"+e.prop,C)}this.cloneBefore(e,e.prop,C);if(s.includes("-o-")){var w=this.stringify(this.cleanFromUnprefixed(a,"-o-"));this.cloneBefore(e,"-o-"+e.prop,w)}for(var S=s,O=Array.isArray(S),T=0,S=O?S:S[Symbol.iterator]();;){if(O){if(T>=S.length)break;n=S[T++]}else{T=S.next();if(T.done)break;n=T.value}if(n!=="-webkit-"&&n!=="-o-"){var E=this.stringify(this.cleanOtherPrefixes(a,n));this.cloneBefore(e,n+e.prop,E)}}if(m!==e.value&&!this.already(e,e.prop,m)){this.checkForWarning(r,e);e.cloneBefore();e.value=m}};e.findProp=function findProp(e){var r=e[0].value;if(/^\d/.test(r)){for(var t=e.entries(),n=Array.isArray(t),i=0,t=n?t:t[Symbol.iterator]();;){var o;if(n){if(i>=t.length)break;o=t[i++]}else{i=t.next();if(i.done)break;o=i.value}var s=o,a=s[0],u=s[1];if(a!==0&&u.type==="word"){return u.value}}}return r};e.already=function already(e,r,t){return e.parent.some(function(e){return e.prop===r&&e.value===t})};e.cloneBefore=function cloneBefore(e,r,t){if(!this.already(e,r,t)){e.cloneBefore({prop:r,value:t})}};e.checkForWarning=function checkForWarning(e,r){if(r.prop!=="transition-property"){return}r.parent.each(function(t){if(t.type!=="decl"){return undefined}if(t.prop.indexOf("transition-")!==0){return undefined}if(t.prop==="transition-property"){return undefined}if(o.comma(t.value).length>1){r.warn(e,"Replace transition-property to transition, "+"because Autoprefixer could not support "+"any cases of transition-property "+"and other transition-*")}return false})};e.remove=function remove(e){var r=this;var t=this.parse(e.value);t=t.filter(function(e){var t=r.prefixes.remove[r.findProp(e)];return!t||!t.remove});var n=this.stringify(t);if(e.value===n){return}if(t.length===0){e.remove();return}var i=e.parent.some(function(r){return r.prop===e.prop&&r.value===n});var o=e.parent.some(function(r){return r!==e&&r.prop===e.prop&&r.value.length>n.length});if(i||o){e.remove();return}e.value=n};e.parse=function parse(e){var r=n(e);var t=[];var i=[];for(var o=r.nodes,s=Array.isArray(o),a=0,o=s?o:o[Symbol.iterator]();;){var u;if(s){if(a>=o.length)break;u=o[a++]}else{a=o.next();if(a.done)break;u=a.value}var f=u;i.push(f);if(f.type==="div"&&f.value===","){t.push(i);i=[]}}t.push(i);return t.filter(function(e){return e.length>0})};e.stringify=function stringify(e){if(e.length===0){return""}var r=[];for(var t=e,i=Array.isArray(t),o=0,t=i?t:t[Symbol.iterator]();;){var s;if(i){if(o>=t.length)break;s=t[o++]}else{o=t.next();if(o.done)break;s=o.value}var a=s;if(a[a.length-1].type!=="div"){a.push(this.div(e))}r=r.concat(a)}if(r[0].type==="div"){r=r.slice(1)}if(r[r.length-1].type==="div"){r=r.slice(0,+-2+1||0)}return n.stringify({nodes:r})};e.clone=function clone(e,r,t){var n=[];var i=false;for(var o=t,s=Array.isArray(o),a=0,o=s?o:o[Symbol.iterator]();;){var u;if(s){if(a>=o.length)break;u=o[a++]}else{a=o.next();if(a.done)break;u=a.value}var f=u;if(!i&&f.type==="word"&&f.value===e){n.push({type:"word",value:r});i=true}else{n.push(f)}}return n};e.div=function div(e){for(var r=e,t=Array.isArray(r),n=0,r=t?r:r[Symbol.iterator]();;){var i;if(t){if(n>=r.length)break;i=r[n++]}else{n=r.next();if(n.done)break;i=n.value}var o=i;for(var s=o,a=Array.isArray(s),u=0,s=a?s:s[Symbol.iterator]();;){var f;if(a){if(u>=s.length)break;f=s[u++]}else{u=s.next();if(u.done)break;f=u.value}var c=f;if(c.type==="div"&&c.value===","){return c}}}return{type:"div",value:",",after:" "}};e.cleanOtherPrefixes=function cleanOtherPrefixes(e,r){var t=this;return e.filter(function(e){var n=i.prefix(t.findProp(e));return n===""||n===r})};e.cleanFromUnprefixed=function cleanFromUnprefixed(e,r){var t=this;var n=e.map(function(e){return t.findProp(e)}).filter(function(e){return e.slice(0,r.length)===r}).map(function(e){return t.prefixes.unprefixed(e)});var o=[];for(var s=e,a=Array.isArray(s),u=0,s=a?s:s[Symbol.iterator]();;){var f;if(a){if(u>=s.length)break;f=s[u++]}else{u=s.next();if(u.done)break;f=u.value}var c=f;var l=this.findProp(c);var p=i.prefix(l);if(!n.includes(l)&&(p===r||p==="")){o.push(c)}}return o};e.disabled=function disabled(e,r){var t=["order","justify-content","align-self","align-content"];if(e.includes("flex")||t.includes(e)){if(this.prefixes.options.flexbox===false){return true}if(this.prefixes.options.flexbox==="no-2009"){return r.includes("2009")}}return undefined};e.ruleVendorPrefixes=function ruleVendorPrefixes(e){var r=e.parent;if(r.type!=="rule"){return false}else if(!r.selector.includes(":-")){return false}var t=s.prefixes().filter(function(e){return r.selector.includes(":"+e)});return t.length>0?t:false};return Transition}();e.exports=a},3020:(e,r,t)=>{"use strict";var n=t(7802).list;e.exports={error:function error(e){var r=new Error(e);r.autoprefixer=true;throw r},uniq:function uniq(e){var r=[];for(var t=e,n=Array.isArray(t),i=0,t=n?t:t[Symbol.iterator]();;){var o;if(n){if(i>=t.length)break;o=t[i++]}else{i=t.next();if(i.done)break;o=i.value}var s=o;if(!r.includes(s)){r.push(s)}}return r},removeNote:function removeNote(e){if(!e.includes(" ")){return e}return e.split(" ")[0]},escapeRegexp:function escapeRegexp(e){return e.replace(/[$()*+-.?[\\\]^{|}]/g,"\\$&")},regexp:function regexp(e,r){if(r===void 0){r=true}if(r){e=this.escapeRegexp(e)}return new RegExp("(^|[\\s,(])("+e+"($|[\\s(,]))","gi")},editList:function editList(e,r){var t=n.comma(e);var i=r(t,[]);if(t===i){return e}var o=e.match(/,\s*/);o=o?o[0]:", ";return i.join(o)},splitSelector:function splitSelector(e){return n.comma(e).map(function(e){return n.space(e).map(function(e){return e.split(/(?=\.|#)/g)})})}}},3943:(e,r,t)=>{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{var n=t(2597);var i=t(6087);var o=t(8554);function ValueParser(e){if(this instanceof ValueParser){this.nodes=n(e);return this}return new ValueParser(e)}ValueParser.prototype.toString=function(){return Array.isArray(this.nodes)?o(this.nodes):""};ValueParser.prototype.walk=function(e,r){i(this.nodes,e,r);return this};ValueParser.unit=t(2745);ValueParser.walk=i;ValueParser.stringify=o;e.exports=ValueParser},2597:e=>{var r="(".charCodeAt(0);var t=")".charCodeAt(0);var n="'".charCodeAt(0);var i='"'.charCodeAt(0);var o="\\".charCodeAt(0);var s="/".charCodeAt(0);var a=",".charCodeAt(0);var u=":".charCodeAt(0);var f="*".charCodeAt(0);var c="u".charCodeAt(0);var l="U".charCodeAt(0);var p="+".charCodeAt(0);var h=/^[a-f0-9?-]+$/i;e.exports=function(e){var B=[];var v=e;var d,b,y,g,m,C,w,S;var O=0;var T=v.charCodeAt(O);var E=v.length;var k=[{nodes:B}];var P=0;var D;var A="";var R="";var F="";while(O{function stringifyNode(e,r){var t=e.type;var n=e.value;var i;var o;if(r&&(o=r(e))!==undefined){return o}else if(t==="word"||t==="space"){return n}else if(t==="string"){i=e.quote||"";return i+n+(e.unclosed?"":i)}else if(t==="comment"){return"/*"+n+(e.unclosed?"":"*/")}else if(t==="div"){return(e.before||"")+n+(e.after||"")}else if(Array.isArray(e.nodes)){i=stringify(e.nodes,r);if(t!=="function"){return i}return n+"("+(e.before||"")+i+(e.after||"")+(e.unclosed?"":")")}return n}function stringify(e,r){var t,n;if(Array.isArray(e)){t="";for(n=e.length-1;~n;n-=1){t=stringifyNode(e[n],r)+t}return t}return stringifyNode(e,r)}e.exports=stringify},2745:e=>{var r="-".charCodeAt(0);var t="+".charCodeAt(0);var n=".".charCodeAt(0);var i="e".charCodeAt(0);var o="E".charCodeAt(0);function likeNumber(e){var i=e.charCodeAt(0);var o;if(i===t||i===r){o=e.charCodeAt(1);if(o>=48&&o<=57){return true}var s=e.charCodeAt(2);if(o===n&&s>=48&&s<=57){return true}return false}if(i===n){o=e.charCodeAt(1);if(o>=48&&o<=57){return true}return false}if(i>=48&&i<=57){return true}return false}e.exports=function(e){var s=0;var a=e.length;var u;var f;var c;if(a===0||!likeNumber(e)){return false}u=e.charCodeAt(s);if(u===t||u===r){s++}while(s57){break}s+=1}u=e.charCodeAt(s);f=e.charCodeAt(s+1);if(u===n&&f>=48&&f<=57){s+=2;while(s57){break}s+=1}}u=e.charCodeAt(s);f=e.charCodeAt(s+1);c=e.charCodeAt(s+2);if((u===i||u===o)&&(f>=48&&f<=57||(f===t||f===r)&&c>=48&&c<=57)){s+=f===t||f===r?3:2;while(s57){break}s+=1}}return{number:e.slice(0,s),unit:e.slice(s)}}},6087:e=>{e.exports=function walk(e,r,t){var n,i,o,s;for(n=0,i=e.length;n{"use strict";e.exports=balanced;function balanced(e,r,t){if(e instanceof RegExp)e=maybeMatch(e,t);if(r instanceof RegExp)r=maybeMatch(r,t);var n=range(e,r,t);return n&&{start:n[0],end:n[1],pre:t.slice(0,n[0]),body:t.slice(n[0]+e.length,n[1]),post:t.slice(n[1]+r.length)}}function maybeMatch(e,r){var t=r.match(e);return t?t[0]:null}balanced.range=range;function range(e,r,t){var n,i,o,s,a;var u=t.indexOf(e);var f=t.indexOf(r,u+1);var c=u;if(u>=0&&f>0){n=[];o=t.length;while(c>=0&&!a){if(c==u){n.push(c);u=t.indexOf(e,c+1)}else if(n.length==1){a=[n.pop(),f]}else{i=n.pop();if(i=0?u:f}if(n.length){a=[o,s]}}return a}},7542:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{36:"KB P M R S YB U",257:"I J K L",548:"C N D"},C:{1:"3 4 5 6 7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",16:"0 1 eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z kB sB",130:"2"},D:{36:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{16:"dB WB",36:"G Y O F H E A B C N D fB gB hB iB XB T Q mB nB"},F:{16:"0 1 2 3 4 5 6 7 8 9 E B C I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V oB pB qB rB T ZB tB Q"},G:{16:"H D WB uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{16:"CC"},I:{16:"bB G M DC EC FC GC aB HC IC"},J:{16:"F A"},K:{16:"A B C DB T ZB Q"},L:{16:"U"},M:{16:"OB"},N:{16:"A B"},O:{16:"JC"},P:{16:"G KC LC MC NC OC XB PC QC"},Q:{16:"RC"},R:{16:"SC"},S:{130:"jB"}},B:1,C:"CSS3 Background-clip: text"}},5364:e=>{e.exports={A:{A:{1:"E A B",2:"O F H lB"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB kB",36:"sB"},D:{1:"0 1 2 3 4 5 6 7 8 9 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",516:"G Y O F H E A B C N D"},E:{1:"F H E A B C N D hB iB XB T Q mB nB",772:"G Y O dB WB fB gB"},F:{1:"0 1 2 3 4 5 6 7 8 9 B C I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V qB rB T ZB tB Q",2:"E oB",36:"pB"},G:{1:"H D yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",4:"WB uB aB xB",516:"TC"},H:{132:"CC"},I:{1:"M HC IC",36:"DC",516:"bB G GC aB",548:"EC FC"},J:{1:"F A"},K:{1:"A B C DB T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{1:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:4,C:"CSS3 Background-image options"}},8846:e=>{e.exports={A:{A:{1:"B",2:"O F H E A lB"},B:{1:"D I J K L KB P M R S YB U",129:"C N"},C:{1:"4 5 6 7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB",260:"0 1 2 3 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z",804:"G Y O F H E A B C N D kB sB"},D:{1:"AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",260:"5 6 7 8 9",388:"0 1 2 3 4 k l m n o p q r s t u v w x y z",1412:"I J K L Z a b c d e f g h i j",1956:"G Y O F H E A B C N D"},E:{129:"A B C N D iB XB T Q mB nB",1412:"O F H E gB hB",1956:"G Y dB WB fB"},F:{1:"0 1 2 3 4 5 6 7 8 9 x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E oB pB",260:"s t u v w",388:"I J K L Z a b c d e f g h i j k l m n o p q r",1796:"qB rB",1828:"B C T ZB tB Q"},G:{129:"D 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",1412:"H xB yB zB 0B",1956:"WB uB aB TC"},H:{1828:"CC"},I:{388:"M HC IC",1956:"bB G DC EC FC GC aB"},J:{1412:"A",1924:"F"},K:{1:"DB",2:"A",1828:"B C T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{1:"B",2:"A"},O:{388:"JC"},P:{1:"MC NC OC XB PC QC",260:"KC LC",388:"G"},Q:{260:"RC"},R:{260:"SC"},S:{260:"jB"}},B:4,C:"CSS3 Border images"}},5111:e=>{e.exports={A:{A:{1:"E A B",2:"O F H lB"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"4 5 6 7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",257:"0 1 2 3 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z",289:"bB kB sB",292:"eB"},D:{1:"0 1 2 3 4 5 6 7 8 9 Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",33:"G"},E:{1:"Y F H E A B C N D hB iB XB T Q mB nB",33:"G dB WB",129:"O fB gB"},F:{1:"0 1 2 3 4 5 6 7 8 9 B C I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V qB rB T ZB tB Q",2:"E oB pB"},G:{1:"H D uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",33:"WB"},H:{2:"CC"},I:{1:"bB G M EC FC GC aB HC IC",33:"DC"},J:{1:"F A"},K:{1:"B C DB T ZB Q",2:"A"},L:{1:"U"},M:{1:"OB"},N:{1:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{257:"jB"}},B:4,C:"CSS3 Border-radius (rounded corners)"}},9900:e=>{e.exports={A:{A:{2:"O F H lB",260:"E",516:"A B"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB kB sB",33:"G Y O F H E A B C N D I"},D:{1:"0 1 2 3 4 5 6 7 8 9 g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"G Y O F H E A B C N D I J K L",33:"Z a b c d e f"},E:{1:"F H E A B C N D gB hB iB XB T Q mB nB",2:"G Y dB WB fB",33:"O"},F:{1:"0 1 2 3 4 5 6 7 8 9 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E B C oB pB qB rB T ZB tB Q"},G:{1:"H D yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",2:"WB uB aB TC",33:"xB"},H:{2:"CC"},I:{1:"M",2:"bB G DC EC FC GC aB",132:"HC IC"},J:{1:"A",2:"F"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{1:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:4,C:"calc() as CSS unit value"}},4243:e=>{e.exports={A:{A:{1:"A B",2:"O F H E lB"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB G kB sB",33:"Y O F H E A B C N D I"},D:{1:"0 1 2 3 4 5 6 7 8 9 x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",33:"G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w"},E:{1:"E A B C N D iB XB T Q mB nB",2:"dB WB",33:"O F H fB gB hB",292:"G Y"},F:{1:"0 1 2 3 4 5 6 7 8 9 k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V Q",2:"E B oB pB qB rB T ZB tB",33:"C I J K L Z a b c d e f g h i j"},G:{1:"D 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",33:"H xB yB zB",164:"WB uB aB TC"},H:{2:"CC"},I:{1:"M",33:"G GC aB HC IC",164:"bB DC EC FC"},J:{33:"F A"},K:{1:"DB Q",2:"A B C T ZB"},L:{1:"U"},M:{1:"OB"},N:{1:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{33:"RC"},R:{1:"SC"},S:{1:"jB"}},B:5,C:"CSS Animation"}},8203:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{1:"KB P M R S YB U",2:"C N D I J K L"},C:{1:"4 5 6 7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",16:"eB",33:"0 1 2 3 bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z kB sB"},D:{1:"JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",16:"G Y O F H E A B C N D",33:"0 1 2 3 4 5 6 7 8 9 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB"},E:{1:"E A B C N D iB XB T Q mB nB",16:"G Y O dB WB fB",33:"F H gB hB"},F:{1:"6 7 8 9 AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E B C oB pB qB rB T ZB tB Q",33:"0 1 2 3 4 5 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},G:{1:"D 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",16:"WB uB aB TC",33:"H xB yB zB"},H:{2:"CC"},I:{1:"M",16:"bB G DC EC FC GC aB",33:"HC IC"},J:{16:"F A"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{2:"A B"},O:{33:"JC"},P:{1:"OC XB PC QC",16:"G",33:"KC LC MC NC"},Q:{1:"RC"},R:{1:"SC"},S:{33:"jB"}},B:5,C:"CSS :any-link selector"}},497:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{1:"S YB U",33:"R",164:"KB P M",388:"C N D I J K L"},C:{1:"P M OB R S",164:"0 1 2 3 4 5 6 7 8 9 p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB",676:"eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o kB sB"},D:{1:"S YB U vB wB cB",33:"R",164:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M"},E:{164:"G Y O F H E A B C N D dB WB fB gB hB iB XB T Q mB nB"},F:{2:"E B C oB pB qB rB T ZB tB Q",33:"FB W V",164:"0 1 2 3 4 5 6 7 8 9 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB"},G:{164:"H D WB uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{164:"bB G M DC EC FC GC aB HC IC"},J:{164:"F A"},K:{2:"A B C T ZB Q",164:"DB"},L:{1:"U"},M:{164:"OB"},N:{2:"A",388:"B"},O:{164:"JC"},P:{164:"G KC LC MC NC OC XB PC QC"},Q:{164:"RC"},R:{164:"SC"},S:{164:"jB"}},B:5,C:"CSS Appearance"}},3330:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{1:"KB P M R S YB U",2:"C N D I J",257:"K L"},C:{2:"0 1 2 3 4 5 6 7 8 9 eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB kB sB",578:"FB W V VB QB RB SB TB UB KB P M OB R S"},D:{1:"SB TB UB KB P M R S YB U vB wB cB",2:"0 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z",194:"1 2 3 4 5 6 7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB"},E:{2:"G Y O F H dB WB fB gB hB",33:"E A B C N D iB XB T Q mB nB"},F:{1:"IB JB X LB MB NB FB W V",2:"E B C I J K L Z a b c d e f g h i j k l m n oB pB qB rB T ZB tB Q",194:"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x y z AB BB CB EB GB HB"},G:{2:"H WB uB aB TC xB yB zB",33:"D 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{1:"M",2:"bB G DC EC FC GC aB HC IC"},J:{2:"F A"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{578:"OB"},N:{2:"A B"},O:{2:"JC"},P:{1:"QC",2:"G",194:"KC LC MC NC OC XB PC"},Q:{194:"RC"},R:{194:"SC"},S:{2:"jB"}},B:7,C:"CSS Backdrop Filter"}},941:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{2:"C N D I J K L",164:"KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l kB sB"},D:{2:"G Y O F H E A B C N D I J K L Z a b",164:"0 1 2 3 4 5 6 7 8 9 c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{2:"G Y O dB WB fB",164:"F H E A B C N D gB hB iB XB T Q mB nB"},F:{2:"E oB pB qB rB",129:"B C T ZB tB Q",164:"0 1 2 3 4 5 6 7 8 9 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V"},G:{2:"WB uB aB TC xB",164:"H D yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{132:"CC"},I:{2:"bB G DC EC FC GC aB",164:"M HC IC"},J:{2:"F",164:"A"},K:{2:"A",129:"B C T ZB Q",164:"DB"},L:{164:"U"},M:{1:"OB"},N:{2:"A B"},O:{1:"JC"},P:{164:"G KC LC MC NC OC XB PC QC"},Q:{164:"RC"},R:{164:"SC"},S:{1:"jB"}},B:5,C:"CSS box-decoration-break"}},7368:e=>{e.exports={A:{A:{1:"E A B",2:"O F H lB"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB",33:"kB sB"},D:{1:"0 1 2 3 4 5 6 7 8 9 A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",33:"G Y O F H E"},E:{1:"O F H E A B C N D fB gB hB iB XB T Q mB nB",33:"Y",164:"G dB WB"},F:{1:"0 1 2 3 4 5 6 7 8 9 B C I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V qB rB T ZB tB Q",2:"E oB pB"},G:{1:"H D TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",33:"uB aB",164:"WB"},H:{2:"CC"},I:{1:"G M GC aB HC IC",164:"bB DC EC FC"},J:{1:"A",33:"F"},K:{1:"B C DB T ZB Q",2:"A"},L:{1:"U"},M:{1:"OB"},N:{1:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:4,C:"CSS3 Box-shadow"}},2584:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{2:"C N D I J K",260:"KB P M R S YB U",3138:"L"},C:{1:"8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB",132:"0 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z kB sB",644:"1 2 3 4 5 6 7"},D:{2:"G Y O F H E A B C N D I J K L Z a b c d",260:"9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",292:"0 1 2 3 4 5 6 7 8 e f g h i j k l m n o p q r s t u v w x y z"},E:{2:"G Y O dB WB fB gB",292:"F H E A B C N D hB iB XB T Q mB nB"},F:{2:"E B C oB pB qB rB T ZB tB Q",260:"0 1 2 3 4 5 6 7 8 9 w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",292:"I J K L Z a b c d e f g h i j k l m n o p q r s t u v"},G:{2:"WB uB aB TC xB",292:"H D yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{2:"bB G DC EC FC GC aB",260:"M",292:"HC IC"},J:{2:"F A"},K:{2:"A B C T ZB Q",260:"DB"},L:{260:"U"},M:{1:"OB"},N:{2:"A B"},O:{292:"JC"},P:{292:"G KC LC MC NC OC XB PC QC"},Q:{292:"RC"},R:{260:"SC"},S:{644:"jB"}},B:4,C:"CSS clip-path property (for HTML)"}},3662:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{2:"C N D I J K L",33:"KB P M R S YB U"},C:{1:"2 3 4 5 6 7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"0 1 eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z kB sB"},D:{16:"G Y O F H E A B C N D I J K L",33:"0 1 2 3 4 5 6 7 8 9 Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{2:"G Y dB WB fB",33:"O F H E A B C N D gB hB iB XB T Q mB nB"},F:{2:"E B C oB pB qB rB T ZB tB Q",33:"0 1 2 3 4 5 6 7 8 9 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V"},G:{16:"H D WB uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{16:"bB G M DC EC FC GC aB HC IC"},J:{16:"F A"},K:{2:"A B C DB T ZB Q"},L:{16:"U"},M:{1:"OB"},N:{16:"A B"},O:{16:"JC"},P:{16:"G KC LC MC NC OC XB PC QC"},Q:{33:"RC"},R:{16:"SC"},S:{1:"jB"}},B:5,C:"CSS color-adjust"}},4828:e=>{e.exports={A:{A:{2:"O lB",2340:"F H E A B"},B:{2:"C N D I J K L",1025:"KB P M R S YB U"},C:{2:"eB bB kB",513:"JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",545:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB sB"},D:{2:"G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u",1025:"0 1 2 3 4 5 6 7 8 9 v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{1:"A B C N D XB T Q mB nB",2:"G Y dB WB fB",164:"O",4644:"F H E gB hB iB"},F:{2:"E B I J K L Z a b c d e f g h oB pB qB rB T ZB",545:"C tB Q",1025:"0 1 2 3 4 5 6 7 8 9 i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V"},G:{1:"D 2B 3B 4B 5B 6B 7B 8B 9B AC BC",2:"WB uB aB",4260:"TC xB",4644:"H yB zB 0B 1B"},H:{2:"CC"},I:{2:"bB G DC EC FC GC aB HC IC",1025:"M"},J:{2:"F",4260:"A"},K:{2:"A B T ZB",545:"C Q",1025:"DB"},L:{1025:"U"},M:{545:"OB"},N:{2340:"A B"},O:{1:"JC"},P:{1025:"G KC LC MC NC OC XB PC QC"},Q:{1025:"RC"},R:{1025:"SC"},S:{4097:"jB"}},B:7,C:"Crisp edges/pixelated images"}},9089:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{2:"C N D I J K L",33:"KB P M R S YB U"},C:{2:"0 1 2 3 4 5 6 7 8 9 eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S kB sB"},D:{2:"G Y O F H E A B C N D I J",33:"0 1 2 3 4 5 6 7 8 9 K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{1:"A B C N D XB T Q mB nB",2:"G Y dB WB",33:"O F H E fB gB hB iB"},F:{2:"E B C oB pB qB rB T ZB tB Q",33:"0 1 2 3 4 5 6 7 8 9 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V"},G:{1:"D 2B 3B 4B 5B 6B 7B 8B 9B AC BC",2:"WB uB aB",33:"H TC xB yB zB 0B 1B"},H:{2:"CC"},I:{2:"bB G DC EC FC GC aB",33:"M HC IC"},J:{2:"F A"},K:{2:"A B C T ZB Q",33:"DB"},L:{33:"U"},M:{2:"OB"},N:{2:"A B"},O:{33:"JC"},P:{33:"G KC LC MC NC OC XB PC QC"},Q:{33:"RC"},R:{33:"SC"},S:{2:"jB"}},B:4,C:"CSS Cross-Fade Function"}},1222:e=>{e.exports={A:{A:{2:"O F H E lB",164:"A B"},B:{66:"KB P M R S YB U",164:"C N D I J K L"},C:{2:"0 1 2 3 4 5 6 7 8 9 eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S kB sB"},D:{2:"G Y O F H E A B C N D I J K L Z a b c d e f g h i",66:"0 1 2 3 4 5 6 7 8 9 j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{2:"G Y O F H E A B C N D dB WB fB gB hB iB XB T Q mB nB"},F:{2:"E B C I J K L Z a b c d e f g h i j k l m n o p q r s t oB pB qB rB T ZB tB Q",66:"0 1 2 3 4 5 6 7 8 9 u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V"},G:{2:"H D WB uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{292:"CC"},I:{2:"bB G M DC EC FC GC aB HC IC"},J:{2:"F A"},K:{2:"A DB",292:"B C T ZB Q"},L:{2:"U"},M:{2:"OB"},N:{164:"A B"},O:{2:"JC"},P:{2:"G KC LC MC NC OC XB PC QC"},Q:{66:"RC"},R:{2:"SC"},S:{2:"jB"}},B:5,C:"CSS Device Adaptation"}},5113:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{2:"C N D I J K L KB P M R S YB U"},C:{33:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",164:"eB bB kB sB"},D:{2:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{2:"G Y O F H E A B C N D dB WB fB gB hB iB XB T Q mB nB"},F:{2:"0 1 2 3 4 5 6 7 8 9 E B C I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V oB pB qB rB T ZB tB Q"},G:{2:"H D WB uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{2:"bB G M DC EC FC GC aB HC IC"},J:{2:"F A"},K:{2:"A B C DB T ZB Q"},L:{2:"U"},M:{33:"OB"},N:{2:"A B"},O:{2:"JC"},P:{2:"G KC LC MC NC OC XB PC QC"},Q:{2:"RC"},R:{2:"SC"},S:{33:"jB"}},B:5,C:"CSS element() function"}},6681:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB G Y O F H E A B C N D I J K L Z a b kB sB"},D:{1:"0 1 2 3 4 5 6 7 8 9 i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"G Y O F H E A B C N D I J K L Z a b c d e f g h"},E:{1:"E A B C N D iB XB T Q mB nB",2:"G Y O F H dB WB fB gB hB"},F:{1:"0 1 2 3 4 5 6 7 8 9 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V Q",2:"E B C oB pB qB rB T ZB tB"},G:{1:"D 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",2:"H WB uB aB TC xB yB zB"},H:{1:"CC"},I:{1:"M HC IC",2:"bB G DC EC FC GC aB"},J:{2:"F A"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{2:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:4,C:"CSS Feature Queries"}},8587:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{2:"C N D I J K L KB P M R S YB U"},C:{2:"0 1 2 3 4 5 6 7 8 9 eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S kB sB"},D:{2:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{1:"A B C N D iB XB T Q mB nB",2:"G Y O F H dB WB fB gB hB",33:"E"},F:{2:"0 1 2 3 4 5 6 7 8 9 E B C I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V oB pB qB rB T ZB tB Q"},G:{1:"D 2B 3B 4B 5B 6B 7B 8B 9B AC BC",2:"H WB uB aB TC xB yB zB",33:"0B 1B"},H:{2:"CC"},I:{2:"bB G M DC EC FC GC aB HC IC"},J:{2:"F A"},K:{2:"A B C DB T ZB Q"},L:{2:"U"},M:{2:"OB"},N:{2:"A B"},O:{2:"JC"},P:{2:"G KC LC MC NC OC XB PC QC"},Q:{2:"RC"},R:{2:"SC"},S:{2:"jB"}},B:5,C:"CSS filter() function"}},184:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{1:"KB P M R S YB U",1028:"N D I J K L",1346:"C"},C:{1:"0 1 2 3 4 5 6 7 8 9 p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB kB",196:"o",516:"G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n sB"},D:{1:"7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"G Y O F H E A B C N D I J K",33:"0 1 2 3 4 5 6 L Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},E:{1:"A B C N D iB XB T Q mB nB",2:"G Y dB WB fB",33:"O F H E gB hB"},F:{1:"0 1 2 3 4 5 6 7 8 9 u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E B C oB pB qB rB T ZB tB Q",33:"I J K L Z a b c d e f g h i j k l m n o p q r s t"},G:{1:"D 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",2:"WB uB aB TC",33:"H xB yB zB 0B"},H:{2:"CC"},I:{1:"M",2:"bB G DC EC FC GC aB",33:"HC IC"},J:{2:"F",33:"A"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{2:"A B"},O:{1:"JC"},P:{1:"MC NC OC XB PC QC",33:"G KC LC"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:5,C:"CSS Filter Effects"}},8615:e=>{e.exports={A:{A:{1:"A B",2:"O F H E lB"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB kB",260:"J K L Z a b c d e f g h i j k l m n o p",292:"G Y O F H E A B C N D I sB"},D:{1:"0 1 2 3 4 5 6 7 8 9 g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",33:"A B C N D I J K L Z a b c d e f",548:"G Y O F H E"},E:{2:"dB WB",260:"F H E A B C N D gB hB iB XB T Q mB nB",292:"O fB",804:"G Y"},F:{1:"0 1 2 3 4 5 6 7 8 9 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V Q",2:"E B oB pB qB rB",33:"C tB",164:"T ZB"},G:{260:"H D yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",292:"TC xB",804:"WB uB aB"},H:{2:"CC"},I:{1:"M HC IC",33:"G GC aB",548:"bB DC EC FC"},J:{1:"A",548:"F"},K:{1:"DB Q",2:"A B",33:"C",164:"T ZB"},L:{1:"U"},M:{1:"OB"},N:{1:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:4,C:"CSS Gradients"}},8490:e=>{e.exports={A:{A:{2:"O F H lB",8:"E",292:"A B"},B:{1:"J K L KB P M R S YB U",292:"C N D I"},C:{1:"8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB G Y O F H E A B C N D I J K L kB sB",8:"Z a b c d e f g h i j k l m n o p q r s t",584:"0 1 2 3 4 5 u v w x y z",1025:"6 7"},D:{1:"CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"G Y O F H E A B C N D I J K L Z a b c d e",8:"f g h i",200:"0 1 2 3 4 5 6 7 8 9 j k l m n o p q r s t u v w x y z AB",1025:"BB"},E:{1:"B C N D XB T Q mB nB",2:"G Y dB WB fB",8:"O F H E A gB hB iB"},F:{1:"0 1 2 3 4 5 6 7 8 9 y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E B C I J K L Z a b c d e f g h oB pB qB rB T ZB tB Q",200:"i j k l m n o p q r s t u v w x"},G:{1:"D 3B 4B 5B 6B 7B 8B 9B AC BC",2:"WB uB aB TC",8:"H xB yB zB 0B 1B 2B"},H:{2:"CC"},I:{1:"M",2:"bB G DC EC FC GC",8:"aB HC IC"},J:{2:"F A"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{292:"A B"},O:{1:"JC"},P:{1:"LC MC NC OC XB PC QC",2:"KC",8:"G"},Q:{1:"RC"},R:{2:"SC"},S:{1:"jB"}},B:4,C:"CSS Grid Layout (level 1)"}},562:e=>{e.exports={A:{A:{2:"O F H E lB",33:"A B"},B:{33:"C N D I J K L",132:"KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB G Y kB sB",33:"O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w"},D:{1:"wB cB",2:"0 1 2 3 4 5 6 7 8 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z",132:"9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB"},E:{2:"G Y dB WB",33:"O F H E A B C N D fB gB hB iB XB T Q mB nB"},F:{2:"E B C I J K L Z a b c d e f g h i j k l m n o p q r s t u v oB pB qB rB T ZB tB Q",132:"0 1 2 3 4 5 6 7 8 9 w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V"},G:{2:"WB uB",33:"H D aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{1:"M",2:"bB G DC EC FC GC aB HC IC"},J:{2:"F A"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{2:"A B"},O:{4:"JC"},P:{1:"LC MC NC OC XB PC QC",2:"G",132:"KC"},Q:{2:"RC"},R:{132:"SC"},S:{1:"jB"}},B:5,C:"CSS Hyphenation"}},8913:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{2:"C N D I J K L",33:"KB P M R S YB U"},C:{2:"0 1 2 3 4 5 6 7 8 9 eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S kB sB"},D:{2:"G Y O F H E A B C N D I J K L Z a",33:"0 1 2 3 4 5 6 7 8 9 b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{2:"G Y dB WB fB",33:"O F H E gB hB iB",129:"A B C N D XB T Q mB nB"},F:{2:"E B C oB pB qB rB T ZB tB Q",33:"0 1 2 3 4 5 6 7 8 9 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V"},G:{2:"WB uB aB TC",33:"H xB yB zB 0B 1B",129:"D 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{2:"bB G DC EC FC GC aB",33:"M HC IC"},J:{2:"F",33:"A"},K:{2:"A B C T ZB Q",33:"DB"},L:{33:"U"},M:{2:"OB"},N:{2:"A B"},O:{33:"JC"},P:{33:"G KC LC MC NC OC XB PC QC"},Q:{33:"RC"},R:{33:"SC"},S:{2:"jB"}},B:5,C:"CSS image-set"}},6341:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{2:"C N D I J K L",3588:"KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB",164:"bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u kB sB"},D:{292:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB",2052:"vB wB cB",3588:"NB FB W V VB QB RB SB TB UB KB P M R S YB U"},E:{292:"G Y O F H E A B C dB WB fB gB hB iB XB T",2052:"nB",3588:"N D Q mB"},F:{2:"E B C oB pB qB rB T ZB tB Q",292:"0 1 2 3 4 5 6 7 8 9 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z",3588:"AB BB CB EB GB HB IB JB X LB MB NB FB W V"},G:{292:"H WB uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B",3588:"D 7B 8B 9B AC BC"},H:{2:"CC"},I:{292:"bB G DC EC FC GC aB HC IC",3588:"M"},J:{292:"F A"},K:{2:"A B C T ZB Q",3588:"DB"},L:{3588:"U"},M:{1:"OB"},N:{2:"A B"},O:{292:"JC"},P:{292:"G KC LC MC NC OC",3588:"XB PC QC"},Q:{3588:"RC"},R:{3588:"SC"},S:{3588:"jB"}},B:5,C:"CSS Logical Properties"}},1905:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{2:"C N D I J",164:"KB P M R S YB U",3138:"K",12292:"L"},C:{1:"7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB",260:"0 1 2 3 4 5 6 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z kB sB"},D:{164:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{2:"dB WB",164:"G Y O F H E A B C N D fB gB hB iB XB T Q mB nB"},F:{2:"E B C oB pB qB rB T ZB tB Q",164:"0 1 2 3 4 5 6 7 8 9 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V"},G:{164:"H D WB uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{164:"M HC IC",676:"bB G DC EC FC GC aB"},J:{164:"F A"},K:{2:"A B C T ZB Q",164:"DB"},L:{164:"U"},M:{1:"OB"},N:{2:"A B"},O:{164:"JC"},P:{164:"G KC LC MC NC OC XB PC QC"},Q:{164:"RC"},R:{164:"SC"},S:{260:"jB"}},B:4,C:"CSS Masks"}},4482:e=>{e.exports={A:{A:{2:"O F H lB",132:"E A B"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB",260:"G Y O F H E A B C N D I kB sB"},D:{1:"0 1 2 3 4 5 6 7 8 9 j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",548:"G Y O F H E A B C N D I J K L Z a b c d e f g h i"},E:{2:"dB WB",548:"G Y O F H E A B C N D fB gB hB iB XB T Q mB nB"},F:{1:"0 1 2 3 4 5 6 7 8 9 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V Q",2:"E",548:"B C oB pB qB rB T ZB tB"},G:{16:"WB",548:"H D uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{132:"CC"},I:{1:"M HC IC",16:"DC EC",548:"bB G FC GC aB"},J:{548:"F A"},K:{1:"DB Q",548:"A B C T ZB"},L:{1:"U"},M:{1:"OB"},N:{132:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:2,C:"Media Queries: resolution feature"}},4422:e=>{e.exports={A:{A:{2:"O F H E lB",132:"A B"},B:{1:"KB P M R S YB U",132:"C N D I J K",516:"L"},C:{1:"DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"0 1 2 3 4 5 6 7 8 9 eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB kB sB"},D:{1:"JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB",260:"HB IB"},E:{2:"G Y O F H E A B C N D dB WB fB gB hB iB XB T Q mB nB"},F:{1:"6 7 8 9 AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"0 1 2 3 E B C I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z oB pB qB rB T ZB tB Q",260:"4 5"},G:{2:"H D WB uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{1:"M",2:"bB G DC EC FC GC aB HC IC"},J:{2:"F A"},K:{2:"A B C DB T ZB Q"},L:{1:"U"},M:{2:"OB"},N:{132:"A B"},O:{2:"JC"},P:{1:"NC OC XB PC QC",2:"G KC LC MC"},Q:{1:"RC"},R:{2:"SC"},S:{2:"jB"}},B:7,C:"CSS overscroll-behavior"}},8814:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{1:"KB P M R S YB U",36:"C N D I J K L"},C:{1:"5 6 7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB G Y O F H E A B C N D I J K L kB sB",33:"0 1 2 3 4 Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},D:{1:"BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",36:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB"},E:{1:"B C N D XB T Q mB nB",2:"G dB WB",36:"Y O F H E A fB gB hB iB"},F:{1:"0 1 2 3 4 5 6 7 8 9 y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E B C oB pB qB rB T ZB tB Q",36:"I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{1:"D 3B 4B 5B 6B 7B 8B 9B AC BC",2:"WB uB",36:"H aB TC xB yB zB 0B 1B 2B"},H:{2:"CC"},I:{1:"M",36:"bB G DC EC FC GC aB HC IC"},J:{36:"F A"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{36:"A B"},O:{1:"JC"},P:{1:"MC NC OC XB PC QC",36:"G KC LC"},Q:{1:"RC"},R:{1:"SC"},S:{33:"jB"}},B:5,C:"::placeholder CSS pseudo-element"}},6541:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{1:"N D I J K L KB P M R S YB U",2:"C"},C:{1:"UB KB P M OB R S",16:"eB",33:"0 1 2 3 4 5 6 7 8 9 bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB kB sB"},D:{1:"0 1 2 3 4 5 6 7 8 9 q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",16:"G Y O F H E A B C N D",132:"I J K L Z a b c d e f g h i j k l m n o p"},E:{1:"E A B C N D iB XB T Q mB nB",16:"dB WB",132:"G Y O F H fB gB hB"},F:{1:"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",16:"E B oB pB qB rB T",132:"C I J K L Z a b c ZB tB Q"},G:{1:"D 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",16:"WB uB",132:"H aB TC xB yB zB"},H:{2:"CC"},I:{1:"M",16:"DC EC",132:"bB G FC GC aB HC IC"},J:{1:"A",132:"F"},K:{1:"DB",2:"A B T",132:"C ZB Q"},L:{1:"U"},M:{1:"OB"},N:{2:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{33:"jB"}},B:1,C:"CSS :read-only and :read-write selectors"}},9373:e=>{e.exports={A:{A:{2:"O F H E lB",420:"A B"},B:{2:"KB P M R S YB U",420:"C N D I J K L"},C:{2:"0 1 2 3 4 5 6 7 8 9 eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S kB sB"},D:{2:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",36:"I J K L",66:"Z a b c d e f g h i j k l m n o"},E:{2:"G Y O C N D dB WB fB T Q mB nB",33:"F H E A B gB hB iB XB"},F:{2:"0 1 2 3 4 5 6 7 8 9 E B C I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V oB pB qB rB T ZB tB Q"},G:{2:"D WB uB aB TC xB 5B 6B 7B 8B 9B AC BC",33:"H yB zB 0B 1B 2B 3B 4B"},H:{2:"CC"},I:{2:"bB G M DC EC FC GC aB HC IC"},J:{2:"F A"},K:{2:"A B C DB T ZB Q"},L:{2:"U"},M:{2:"OB"},N:{420:"A B"},O:{2:"JC"},P:{2:"G KC LC MC NC OC XB PC QC"},Q:{2:"RC"},R:{2:"SC"},S:{2:"jB"}},B:5,C:"CSS Regions"}},9335:e=>{e.exports={A:{A:{1:"E A B",2:"O F H lB"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",33:"0 1 2 3 4 5 6 7 8 9 eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB kB sB"},D:{1:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{1:"G Y O F H E A B C N D dB WB fB gB hB iB XB T Q mB nB"},F:{1:"0 1 2 3 4 5 6 7 8 9 B C I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V oB pB qB rB T ZB tB Q",2:"E"},G:{2:"H D WB uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{1:"M HC IC",2:"bB G DC EC FC GC aB"},J:{1:"A",2:"F"},K:{1:"C DB ZB Q",16:"A B T"},L:{1:"U"},M:{1:"OB"},N:{1:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{33:"jB"}},B:5,C:"::selection CSS pseudo-element"}},9471:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{1:"KB P M R S YB U",2:"C N D I J K L"},C:{1:"GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"0 1 2 3 4 eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z kB sB",322:"5 6 7 8 9 AB BB CB DB EB PB"},D:{1:"0 1 2 3 4 5 6 7 8 9 r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n",194:"o p q"},E:{1:"B C N D XB T Q mB nB",2:"G Y O F dB WB fB gB",33:"H E A hB iB"},F:{1:"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E B C I J K L Z a b c d oB pB qB rB T ZB tB Q"},G:{1:"D 3B 4B 5B 6B 7B 8B 9B AC BC",2:"WB uB aB TC xB yB",33:"H zB 0B 1B 2B"},H:{2:"CC"},I:{1:"M",2:"bB G DC EC FC GC aB HC IC"},J:{2:"F A"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{2:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{2:"jB"}},B:4,C:"CSS Shapes Level 1"}},2782:e=>{e.exports={A:{A:{2:"O F H E lB",6308:"A",6436:"B"},B:{1:"KB P M R S YB U",6436:"C N D I J K L"},C:{1:"MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s kB sB",2052:"0 1 2 3 4 5 6 7 8 9 t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB"},D:{1:"NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB",8258:"X LB MB"},E:{1:"B C N D T Q mB nB",2:"G Y O F H dB WB fB gB hB",3108:"E A iB XB"},F:{1:"IB JB X LB MB NB FB W V",2:"0 1 2 3 4 5 6 7 E B C I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z oB pB qB rB T ZB tB Q",8258:"8 9 AB BB CB EB GB HB"},G:{1:"D 4B 5B 6B 7B 8B 9B AC BC",2:"H WB uB aB TC xB yB zB",3108:"0B 1B 2B 3B"},H:{2:"CC"},I:{1:"M",2:"bB G DC EC FC GC aB HC IC"},J:{2:"F A"},K:{2:"A B C DB T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{2:"A B"},O:{2:"JC"},P:{1:"XB PC QC",2:"G KC LC MC NC OC"},Q:{2:"RC"},R:{2:"SC"},S:{2052:"jB"}},B:4,C:"CSS Scroll Snap"}},72:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{2:"C N D I",1028:"KB P M R S YB U",4100:"J K L"},C:{1:"DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB G Y O F H E A B C N D I J K L Z a b c d e f kB sB",194:"g h i j k l",516:"0 1 2 3 4 5 6 7 8 9 m n o p q r s t u v w x y z AB BB CB"},D:{2:"0 1 2 3 4 5 G Y O F H E A B C N D I J K L Z a b c r s t u v w x y z",322:"6 7 8 9 d e f g h i j k l m n o p q",1028:"AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{1:"N D mB nB",2:"G Y O dB WB fB",33:"H E A B C hB iB XB T Q",2084:"F gB"},F:{2:"E B C I J K L Z a b c d e f g h i j k l m n o p q r s oB pB qB rB T ZB tB Q",322:"t u v",1028:"0 1 2 3 4 5 6 7 8 9 w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V"},G:{1:"D 8B 9B AC BC",2:"WB uB aB TC",33:"H zB 0B 1B 2B 3B 4B 5B 6B 7B",2084:"xB yB"},H:{2:"CC"},I:{2:"bB G DC EC FC GC aB HC IC",1028:"M"},J:{2:"F A"},K:{2:"A B C T ZB Q",1028:"DB"},L:{1028:"U"},M:{1:"OB"},N:{2:"A B"},O:{1028:"JC"},P:{1:"LC MC NC OC XB PC QC",2:"G KC"},Q:{1028:"RC"},R:{2:"SC"},S:{516:"jB"}},B:5,C:"CSS position:sticky"}},2250:e=>{e.exports={A:{A:{132:"O F H E A B lB"},B:{1:"KB P M R S YB U",4:"C N D I J K L"},C:{1:"3 4 5 6 7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB G Y O F H E A B kB sB",33:"0 1 2 C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},D:{1:"1 2 3 4 5 6 7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o",322:"0 p q r s t u v w x y z"},E:{2:"G Y O F H E A B C N D dB WB fB gB hB iB XB T Q mB nB"},F:{1:"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E B C I J K L Z a b oB pB qB rB T ZB tB Q",578:"c d e f g h i j k l m n"},G:{2:"H D WB uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{1:"M",2:"bB G DC EC FC GC aB HC IC"},J:{2:"F A"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{132:"A B"},O:{1:"JC"},P:{1:"KC LC MC NC OC XB PC QC",2:"G"},Q:{2:"RC"},R:{1:"SC"},S:{33:"jB"}},B:5,C:"CSS3 text-align-last"}},5340:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{1:"KB P M R S YB U",2:"C N D I J K L"},C:{1:"0 1 2 3 4 5 6 7 8 9 v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r kB sB",194:"s t u"},D:{1:"2 3 4 5 6 7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"0 1 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},E:{2:"G Y O F H E dB WB fB gB hB iB",16:"A",33:"B C N D XB T Q mB nB"},F:{1:"0 1 2 3 4 5 6 7 8 9 p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E B C I J K L Z a b c d e f g h i j k l m n o oB pB qB rB T ZB tB Q"},G:{1:"D 2B 3B 4B 5B 6B 7B 8B 9B AC BC",2:"H WB uB aB TC xB yB zB 0B 1B"},H:{2:"CC"},I:{1:"M",2:"bB G DC EC FC GC aB HC IC"},J:{2:"F A"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{2:"A B"},O:{1:"JC"},P:{1:"KC LC MC NC OC XB PC QC",2:"G"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:4,C:"CSS text-orientation"}},9971:e=>{e.exports={A:{A:{2:"O F lB",161:"H E A B"},B:{2:"KB P M R S YB U",161:"C N D I J K L"},C:{2:"0 1 2 3 4 5 6 7 8 9 eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S kB sB"},D:{2:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{2:"G Y O F H E A B C N D dB WB fB gB hB iB XB T Q mB nB"},F:{2:"0 1 2 3 4 5 6 7 8 9 E B C I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V oB pB qB rB T ZB tB Q"},G:{2:"H D WB uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{2:"bB G M DC EC FC GC aB HC IC"},J:{2:"F A"},K:{2:"A B C DB T ZB Q"},L:{2:"U"},M:{2:"OB"},N:{16:"A B"},O:{2:"JC"},P:{2:"G KC LC MC NC OC XB PC QC"},Q:{2:"RC"},R:{2:"SC"},S:{2:"jB"}},B:5,C:"CSS Text 4 text-spacing"}},3409:e=>{e.exports={A:{A:{1:"A B",2:"O F H E lB"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB kB sB",33:"Y O F H E A B C N D I",164:"G"},D:{1:"0 1 2 3 4 5 6 7 8 9 g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",33:"G Y O F H E A B C N D I J K L Z a b c d e f"},E:{1:"F H E A B C N D gB hB iB XB T Q mB nB",33:"O fB",164:"G Y dB WB"},F:{1:"0 1 2 3 4 5 6 7 8 9 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V Q",2:"E oB pB",33:"C",164:"B qB rB T ZB tB"},G:{1:"H D yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",33:"xB",164:"WB uB aB TC"},H:{2:"CC"},I:{1:"M HC IC",33:"bB G DC EC FC GC aB"},J:{1:"A",33:"F"},K:{1:"DB Q",33:"C",164:"A B T ZB"},L:{1:"U"},M:{1:"OB"},N:{1:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:5,C:"CSS3 Transitions"}},517:e=>{e.exports={A:{A:{132:"O F H E A B lB"},B:{1:"KB P M R S YB U",132:"C N D I J K L"},C:{1:"4 5 6 7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",33:"0 1 2 3 K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z",132:"eB bB G Y O F H E kB sB",292:"A B C N D I J"},D:{1:"2 3 4 5 6 7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",132:"G Y O F H E A B C N D I J",548:"0 1 K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},E:{132:"G Y O F H dB WB fB gB hB",548:"E A B C N D iB XB T Q mB nB"},F:{132:"0 1 2 3 4 5 6 7 8 9 E B C I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V oB pB qB rB T ZB tB Q"},G:{132:"H WB uB aB TC xB yB zB",548:"D 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{16:"CC"},I:{1:"M",16:"bB G DC EC FC GC aB HC IC"},J:{16:"F A"},K:{16:"A B C DB T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{132:"A B"},O:{16:"JC"},P:{1:"KC LC MC NC OC XB PC QC",16:"G"},Q:{16:"RC"},R:{16:"SC"},S:{33:"jB"}},B:4,C:"CSS unicode-bidi property"}},3726:e=>{e.exports={A:{A:{132:"O F H E A B lB"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p kB sB",322:"q r s t u"},D:{1:"2 3 4 5 6 7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"G Y O",16:"F",33:"0 1 H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},E:{1:"B C N D T Q mB nB",2:"G dB WB",16:"Y",33:"O F H E A fB gB hB iB XB"},F:{1:"0 1 2 3 4 5 6 7 8 9 p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E B C oB pB qB rB T ZB tB Q",33:"I J K L Z a b c d e f g h i j k l m n o"},G:{1:"D 4B 5B 6B 7B 8B 9B AC BC",16:"WB uB aB",33:"H TC xB yB zB 0B 1B 2B 3B"},H:{2:"CC"},I:{1:"M",2:"DC EC FC",33:"bB G GC aB HC IC"},J:{33:"F A"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{36:"A B"},O:{1:"JC"},P:{1:"KC LC MC NC OC XB PC QC",33:"G"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:4,C:"CSS writing-mode property"}},3568:e=>{e.exports={A:{A:{1:"H E A B",8:"O F lB"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",33:"eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i kB sB"},D:{1:"0 1 2 3 4 5 6 7 8 9 A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",33:"G Y O F H E"},E:{1:"O F H E A B C N D fB gB hB iB XB T Q mB nB",33:"G Y dB WB"},F:{1:"0 1 2 3 4 5 6 7 8 9 B C I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V oB pB qB rB T ZB tB Q",2:"E"},G:{1:"H D TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",33:"WB uB aB"},H:{1:"CC"},I:{1:"G M GC aB HC IC",33:"bB DC EC FC"},J:{1:"A",33:"F"},K:{1:"A B C DB T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{1:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:5,C:"CSS3 Box-sizing"}},4968:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{1:"I J K L KB P M R S YB U",2:"C N D"},C:{1:"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",33:"eB bB G Y O F H E A B C N D I J K L Z a b c d e f g kB sB"},D:{1:"MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",33:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB"},E:{1:"B C N D T Q mB nB",33:"G Y O F H E A dB WB fB gB hB iB XB"},F:{1:"9 C AB BB CB EB GB HB IB JB X LB MB NB FB W V tB Q",2:"E B oB pB qB rB T ZB",33:"0 1 2 3 4 5 6 7 8 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},G:{2:"H D WB uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{1:"M",2:"bB G DC EC FC GC aB HC IC"},J:{33:"F A"},K:{2:"A B C T ZB Q",33:"DB"},L:{1:"U"},M:{2:"OB"},N:{2:"A B"},O:{2:"JC"},P:{2:"G KC LC MC NC OC XB PC QC"},Q:{33:"RC"},R:{2:"SC"},S:{2:"jB"}},B:3,C:"CSS grab & grabbing cursors"}},7294:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",33:"eB bB G Y O F H E A B C N D I J K L Z a b c d kB sB"},D:{1:"0 1 2 3 4 5 6 7 8 9 r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",33:"G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q"},E:{1:"E A B C N D iB XB T Q mB nB",33:"G Y O F H dB WB fB gB hB"},F:{1:"0 1 2 3 4 5 6 7 8 9 C e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V tB Q",2:"E B oB pB qB rB T ZB",33:"I J K L Z a b c d"},G:{2:"H D WB uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{1:"M",2:"bB G DC EC FC GC aB HC IC"},J:{33:"F A"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{2:"OB"},N:{2:"A B"},O:{2:"JC"},P:{2:"G KC LC MC NC OC XB PC QC"},Q:{2:"RC"},R:{2:"SC"},S:{2:"jB"}},B:4,C:"CSS3 Cursors: zoom-in & zoom-out"}},6340:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{1:"KB P M R S YB U",2:"C N D I J K L"},C:{2:"eB bB kB sB",33:"7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",164:"0 1 2 3 4 5 6 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},D:{1:"0 1 2 3 4 5 6 7 8 9 w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"G Y O F H E A B C N D I J K L Z a",132:"b c d e f g h i j k l m n o p q r s t u v"},E:{1:"D mB nB",2:"G Y O dB WB fB",132:"F H E A B C N gB hB iB XB T Q"},F:{1:"0 1 2 3 4 5 6 7 8 9 j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E oB pB qB",132:"I J K L Z a b c d e f g h i",164:"B C rB T ZB tB Q"},G:{1:"D BC",2:"WB uB aB TC xB",132:"H yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC"},H:{164:"CC"},I:{1:"M",2:"bB G DC EC FC GC aB",132:"HC IC"},J:{132:"F A"},K:{1:"DB",2:"A",164:"B C T ZB Q"},L:{1:"U"},M:{33:"OB"},N:{2:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{164:"jB"}},B:5,C:"CSS3 tab-size"}},6296:e=>{e.exports={A:{A:{2:"O F H E lB",1028:"B",1316:"A"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",164:"eB bB G Y O F H E A B C N D I J K L Z a b kB sB",516:"c d e f g h"},D:{1:"0 1 2 3 4 5 6 7 8 9 j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",33:"b c d e f g h i",164:"G Y O F H E A B C N D I J K L Z a"},E:{1:"E A B C N D iB XB T Q mB nB",33:"F H gB hB",164:"G Y O dB WB fB"},F:{1:"0 1 2 3 4 5 6 7 8 9 K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V Q",2:"E B C oB pB qB rB T ZB tB",33:"I J"},G:{1:"D 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",33:"H yB zB",164:"WB uB aB TC xB"},H:{1:"CC"},I:{1:"M HC IC",164:"bB G DC EC FC GC aB"},J:{1:"A",164:"F"},K:{1:"DB Q",2:"A B C T ZB"},L:{1:"U"},M:{1:"OB"},N:{1:"B",292:"A"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:4,C:"CSS Flexible Box Layout Module"}},3519:e=>{e.exports={A:{A:{1:"A B",2:"O F H E lB"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB kB sB",33:"I J K L Z a b c d e f g h i j k l m n",164:"G Y O F H E A B C N D"},D:{1:"2 3 4 5 6 7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"G Y O F H E A B C N D I",33:"0 1 b c d e f g h i j k l m n o p q r s t u v w x y z",292:"J K L Z a"},E:{1:"A B C N D iB XB T Q mB nB",2:"F H E dB WB gB hB",4:"G Y O fB"},F:{1:"0 1 2 3 4 5 6 7 8 9 p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E B C oB pB qB rB T ZB tB Q",33:"I J K L Z a b c d e f g h i j k l m n o"},G:{1:"D 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",2:"H yB zB 0B",4:"WB uB aB TC xB"},H:{2:"CC"},I:{1:"M",2:"bB G DC EC FC GC aB",33:"HC IC"},J:{2:"F",33:"A"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{2:"A B"},O:{1:"JC"},P:{1:"KC LC MC NC OC XB PC QC",33:"G"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:4,C:"CSS font-feature-settings"}},9573:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{1:"KB P M R S YB U",2:"C N D I J K L"},C:{1:"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB G Y O F H E A B C N D I J K L Z a b c d kB sB",194:"e f g h i j k l m n"},D:{1:"0 1 2 3 4 5 6 7 8 9 n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"G Y O F H E A B C N D I J K L Z a b c d e f g h i",33:"j k l m"},E:{1:"A B C N D iB XB T Q mB nB",2:"G Y O dB WB fB gB",33:"F H E hB"},F:{1:"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E B C I oB pB qB rB T ZB tB Q",33:"J K L Z"},G:{2:"WB uB aB TC xB yB",33:"H D zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{1:"M IC",2:"bB G DC EC FC GC aB",33:"HC"},J:{2:"F",33:"A"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{2:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:4,C:"CSS3 font-kerning"}},6626:e=>{e.exports={A:{A:{2:"O F H E A lB",548:"B"},B:{1:"KB P M R S YB U",516:"C N D I J K L"},C:{1:"IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB G Y O F H E kB sB",676:"0 A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z",1700:"1 2 3 4 5 6 7 8 9 AB BB CB DB EB PB GB HB"},D:{1:"W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"G Y O F H E A B C N D",676:"I J K L Z",804:"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB"},E:{2:"G Y dB WB",676:"fB",804:"O F H E A B C N D gB hB iB XB T Q mB nB"},F:{1:"IB JB X LB MB NB FB W V Q",2:"E B C oB pB qB rB T ZB tB",804:"0 1 2 3 4 5 6 7 8 9 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB"},G:{2:"H WB uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B",2052:"D 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{2:"bB G M DC EC FC GC aB HC IC"},J:{2:"F",292:"A"},K:{2:"A B C T ZB Q",804:"DB"},L:{804:"U"},M:{1:"OB"},N:{2:"A",548:"B"},O:{804:"JC"},P:{1:"XB PC QC",804:"G KC LC MC NC OC"},Q:{804:"RC"},R:{804:"SC"},S:{1:"jB"}},B:1,C:"Full Screen API"}},5736:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{2:"C N D I J K L",1537:"KB P M R S YB U"},C:{2:"eB",932:"0 1 2 3 4 5 6 7 8 9 bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB kB sB",2308:"X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S"},D:{2:"G Y O F H E A B C N D I J K L Z a b",545:"c d e f g h i j k l m n o p q r s t u v w x y z",1537:"0 1 2 3 4 5 6 7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{2:"G Y O dB WB fB",516:"B C N D T Q mB nB",548:"E A iB XB",676:"F H gB hB"},F:{2:"E B C oB pB qB rB T ZB tB Q",513:"o",545:"I J K L Z a b c d e f g h i j k l m",1537:"0 1 2 3 4 5 6 7 8 9 n p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V"},G:{2:"WB uB aB TC xB",548:"D 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",676:"H yB zB"},H:{2:"CC"},I:{2:"bB G DC EC FC GC aB",545:"HC IC",1537:"M"},J:{2:"F",545:"A"},K:{2:"A B C T ZB Q",1537:"DB"},L:{1537:"U"},M:{2340:"OB"},N:{2:"A B"},O:{1:"JC"},P:{545:"G",1537:"KC LC MC NC OC XB PC QC"},Q:{545:"RC"},R:{1537:"SC"},S:{932:"jB"}},B:5,C:"Intrinsic & Extrinsic Sizing"}},9086:e=>{e.exports={A:{A:{1:"A B",2:"O F H E lB"},B:{1:"C N D I J K L",516:"KB P M R S YB U"},C:{132:"6 7 8 9 AB BB CB DB EB PB GB HB IB",164:"0 1 2 3 4 5 eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z kB sB",516:"JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S"},D:{420:"0 1 2 3 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z",516:"4 5 6 7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{1:"A B C N D XB T Q mB nB",132:"E iB",164:"F H hB",420:"G Y O dB WB fB gB"},F:{1:"C T ZB tB Q",2:"E B oB pB qB rB",420:"I J K L Z a b c d e f g h i j k l m n o p q",516:"0 1 2 3 4 5 6 7 8 9 r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V"},G:{1:"D 2B 3B 4B 5B 6B 7B 8B 9B AC BC",132:"0B 1B",164:"H yB zB",420:"WB uB aB TC xB"},H:{1:"CC"},I:{420:"bB G DC EC FC GC aB HC IC",516:"M"},J:{420:"F A"},K:{1:"C T ZB Q",2:"A B",516:"DB"},L:{516:"U"},M:{132:"OB"},N:{1:"A B"},O:{1:"JC"},P:{1:"KC LC MC NC OC XB PC QC",420:"G"},Q:{132:"RC"},R:{132:"SC"},S:{164:"jB"}},B:4,C:"CSS3 Multiple column layout"}},6904:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{1:"KB P M R S YB U",2:"C N D I",260:"J K L"},C:{1:"0 1 2 3 4 5 6 7 8 9 q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p kB sB"},D:{1:"0 1 2 3 4 5 6 7 8 9 l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"G Y O F H E A B C N D I J K L Z a b c d e f g h i j k"},E:{1:"A B C N D XB T Q mB nB",2:"G Y O F dB WB fB gB",132:"H E hB iB"},F:{1:"0 1 2 3 4 5 6 7 8 9 Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E I J K L oB pB qB",33:"B C rB T ZB tB Q"},G:{1:"D 2B 3B 4B 5B 6B 7B 8B 9B AC BC",2:"WB uB aB TC xB yB",132:"H zB 0B 1B"},H:{33:"CC"},I:{1:"M IC",2:"bB G DC EC FC GC aB HC"},J:{2:"F A"},K:{1:"DB",2:"A",33:"B C T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{2:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:4,C:"CSS3 object-fit/object-position"}},4480:e=>{e.exports={A:{A:{1:"B",2:"O F H E lB",164:"A"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB G Y kB sB",8:"O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u",328:"0 1 2 3 4 5 6 7 8 9 v w x y z AB BB CB"},D:{1:"9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"G Y O F H E A B C N D I J K L Z a b",8:"0 1 2 3 4 5 c d e f g h i j k l m n o p q r s t u v w x y z",584:"6 7 8"},E:{1:"N D mB nB",2:"G Y O dB WB fB",8:"F H E A B C gB hB iB XB T",1096:"Q"},F:{1:"0 1 2 3 4 5 6 7 8 9 w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E B C oB pB qB rB T ZB tB Q",8:"I J K L Z a b c d e f g h i j k l m n o p q r s",584:"t u v"},G:{1:"D 9B AC BC",8:"H WB uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B",6148:"8B"},H:{2:"CC"},I:{1:"M",8:"bB G DC EC FC GC aB HC IC"},J:{8:"F A"},K:{1:"DB",2:"A",8:"B C T ZB Q"},L:{1:"U"},M:{328:"OB"},N:{1:"B",36:"A"},O:{8:"JC"},P:{1:"LC MC NC OC XB PC QC",2:"KC",8:"G"},Q:{1:"RC"},R:{2:"SC"},S:{328:"jB"}},B:2,C:"Pointer events"}},7150:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{2:"C N D I J K L",2052:"KB P M R S YB U"},C:{2:"eB bB G Y kB sB",1028:"0 1 2 3 4 5 6 7 8 9 q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",1060:"O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p"},D:{2:"G Y O F H E A B C N D I J K L Z a b c d e f",226:"0 1 2 3 4 5 6 7 8 9 g h i j k l m n o p q r s t u v w x y z AB",2052:"BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{2:"G Y O F dB WB fB gB",772:"N D Q mB nB",804:"H E A B C iB XB T",1316:"hB"},F:{2:"E B C I J K L Z a b c d e f g h i j k l m n o oB pB qB rB T ZB tB Q",226:"p q r s t u v w x",2052:"0 1 2 3 4 5 6 7 8 9 y z AB BB CB EB GB HB IB JB X LB MB NB FB W V"},G:{2:"WB uB aB TC xB yB",292:"H D zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{1:"M",2:"bB G DC EC FC GC aB HC IC"},J:{2:"F A"},K:{2:"A B C T ZB Q",2052:"DB"},L:{2052:"U"},M:{1:"OB"},N:{2:"A B"},O:{2052:"JC"},P:{2:"G KC LC",2052:"MC NC OC XB PC QC"},Q:{2:"RC"},R:{1:"SC"},S:{1028:"jB"}},B:4,C:"text-decoration styling"}},1082:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{2:"C N D I J K L",164:"KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y kB sB",322:"z"},D:{2:"G Y O F H E A B C N D I J K L Z a b c d e",164:"0 1 2 3 4 5 6 7 8 9 f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{1:"H E A B C N D hB iB XB T Q mB nB",2:"G Y O dB WB fB",164:"F gB"},F:{2:"E B C oB pB qB rB T ZB tB Q",164:"0 1 2 3 4 5 6 7 8 9 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V"},G:{1:"H D yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",2:"WB uB aB TC xB"},H:{2:"CC"},I:{2:"bB G DC EC FC GC aB",164:"M HC IC"},J:{2:"F",164:"A"},K:{2:"A B C T ZB Q",164:"DB"},L:{164:"U"},M:{1:"OB"},N:{2:"A B"},O:{164:"JC"},P:{164:"G KC LC MC NC OC XB PC QC"},Q:{164:"RC"},R:{164:"SC"},S:{1:"jB"}},B:4,C:"text-emphasis styling"}},3613:e=>{e.exports={A:{A:{1:"O F H E A B",2:"lB"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",8:"eB bB G Y O kB sB"},D:{1:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{1:"G Y O F H E A B C N D dB WB fB gB hB iB XB T Q mB nB"},F:{1:"0 1 2 3 4 5 6 7 8 9 B C I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V T ZB tB Q",33:"E oB pB qB rB"},G:{1:"H D WB uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{1:"CC"},I:{1:"bB G M DC EC FC GC aB HC IC"},J:{1:"F A"},K:{1:"DB Q",33:"A B C T ZB"},L:{1:"U"},M:{1:"OB"},N:{1:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:4,C:"CSS3 Text-overflow"}},3251:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{1:"KB P M R S YB U",33:"C N D I J K L"},C:{2:"0 1 2 3 4 5 6 7 8 9 eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S kB sB"},D:{1:"8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"0 1 2 3 4 5 6 7 G Y O F H E A B C N D I J K L Z a b c d e f h i j k l m n o p q r s t u v w x y z",258:"g"},E:{2:"G Y O F H E A B C N D dB WB gB hB iB XB T Q mB nB",258:"fB"},F:{1:"0 1 2 3 4 5 6 7 8 9 x z AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E B C I J K L Z a b c d e f g h i j k l m n o p q r s t u v w y oB pB qB rB T ZB tB Q"},G:{2:"WB uB aB",33:"H D TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{1:"M",2:"bB G DC EC FC GC aB HC IC"},J:{2:"F A"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{33:"OB"},N:{161:"A B"},O:{1:"JC"},P:{1:"KC LC MC NC OC XB PC QC",2:"G"},Q:{2:"RC"},R:{2:"SC"},S:{2:"jB"}},B:7,C:"CSS text-size-adjust"}},9357:e=>{e.exports={A:{A:{2:"lB",8:"O F H",129:"A B",161:"E"},B:{1:"K L KB P M R S YB U",129:"C N D I J"},C:{1:"0 1 2 3 4 5 6 7 8 9 J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB",33:"G Y O F H E A B C N D I kB sB"},D:{1:"0 1 2 3 4 5 6 7 8 9 q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",33:"G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p"},E:{1:"E A B C N D iB XB T Q mB nB",33:"G Y O F H dB WB fB gB hB"},F:{1:"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V Q",2:"E oB pB",33:"B C I J K L Z a b c qB rB T ZB tB"},G:{1:"D 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",33:"H WB uB aB TC xB yB zB"},H:{2:"CC"},I:{1:"M",33:"bB G DC EC FC GC aB HC IC"},J:{33:"F A"},K:{1:"B C DB T ZB Q",2:"A"},L:{1:"U"},M:{1:"OB"},N:{1:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:5,C:"CSS3 2D Transforms"}},5165:e=>{e.exports={A:{A:{2:"O F H E lB",132:"A B"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB G Y O F H E kB sB",33:"A B C N D I"},D:{1:"0 1 2 3 4 5 6 7 8 9 q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"G Y O F H E A B",33:"C N D I J K L Z a b c d e f g h i j k l m n o p"},E:{2:"dB WB",33:"G Y O F H fB gB hB",257:"E A B C N D iB XB T Q mB nB"},F:{1:"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E B C oB pB qB rB T ZB tB Q",33:"I J K L Z a b c"},G:{33:"H WB uB aB TC xB yB zB",257:"D 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{1:"M",2:"DC EC FC",33:"bB G GC aB HC IC"},J:{33:"F A"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{132:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:5,C:"CSS3 3D Transforms"}},2312:e=>{e.exports={A:{A:{2:"O F H E lB",33:"A B"},B:{1:"KB P M R S YB U",33:"C N D I J K L"},C:{1:"NB FB W V VB QB RB SB TB UB KB P M OB R S",33:"0 1 2 3 4 5 6 7 8 9 eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB kB sB"},D:{1:"8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",33:"0 1 2 3 4 5 6 7 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},E:{33:"G Y O F H E A B C N D dB WB fB gB hB iB XB T Q mB nB"},F:{1:"0 1 2 3 4 5 6 7 8 9 v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E B C oB pB qB rB T ZB tB Q",33:"I J K L Z a b c d e f g h i j k l m n o p q r s t u"},G:{33:"H D WB uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{1:"M",33:"bB G DC EC FC GC aB HC IC"},J:{33:"F A"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{33:"A B"},O:{2:"JC"},P:{1:"LC MC NC OC XB PC QC",33:"G KC"},Q:{1:"RC"},R:{2:"SC"},S:{33:"jB"}},B:5,C:"CSS user-select: none"}},7232:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(7802));const i=/:blank([^\w-]|$)/gi;var o=n.plugin("css-blank-pseudo",e=>{const r=String(Object(e).replaceWith||"[blank]");const t=Boolean("preserve"in Object(e)?e.preserve:true);return e=>{e.walkRules(i,e=>{const n=e.selector.replace(i,(e,t)=>{return`${r}${t}`});const o=e.clone({selector:n});if(t){e.before(o)}else{e.replaceWith(o)}})}});e.exports=o},8071:e=>{"use strict";var r={};var t=r.hasOwnProperty;var n=function merge(e,r){if(!e){return r}var n={};for(var i in r){n[i]=t.call(e,i)?e[i]:r[i]}return n};var i=/[ -,\.\/;-@\[-\^`\{-~]/;var o=/[ -,\.\/;-@\[\]\^`\{-~]/;var s=/['"\\]/;var a=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g;var u=function cssesc(e,r){r=n(r,cssesc.options);if(r.quotes!="single"&&r.quotes!="double"){r.quotes="single"}var t=r.quotes=="double"?'"':"'";var s=r.isIdentifier;var u=e.charAt(0);var f="";var c=0;var l=e.length;while(c126){if(h>=55296&&h<=56319&&c{"use strict";r.__esModule=true;var n=t(3103);var i=_interopRequireDefault(n);var o=t(610);var s=_interopRequireWildcard(o);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var r={};if(e!=null){for(var t in e){if(Object.prototype.hasOwnProperty.call(e,t))r[t]=e[t]}}r.default=e;return r}}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var a=function parser(e){return new i.default(e)};Object.assign(a,s);delete a.__esModule;r.default=a;e.exports=r["default"]},7031:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t1&&arguments[1]!==undefined?arguments[1]:{};_classCallCheck(this,Parser);this.rule=e;this.options=Object.assign({lossy:false,safe:false},r);this.position=0;this.css=typeof this.rule==="string"?this.rule:this.rule.selector;this.tokens=(0,_.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var t=getTokenSourceSpan(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new p.default({source:t});this.root.errorGenerator=this._errorGenerator();var n=new B.default({source:{start:{line:1,column:1}}});this.root.append(n);this.current=n;this.loop()}Parser.prototype._errorGenerator=function _errorGenerator(){var e=this;return function(r,t){if(typeof e.rule==="string"){return new Error(r)}return e.rule.error(r,t)}};Parser.prototype.attribute=function attribute(){var e=[];var r=this.currToken;this.position++;while(this.position1&&arguments[1]!==undefined?arguments[1]:false;var n="";var i="";e.forEach(function(e){var o=r.lossySpace(e.spaces.before,t);var s=r.lossySpace(e.rawSpaceBefore,t);n+=o+r.lossySpace(e.spaces.after,t&&o.length===0);i+=o+e.value+r.lossySpace(e.rawSpaceAfter,t&&s.length===0)});if(i===n){i=undefined}var o={space:n,rawSpace:i};return o};Parser.prototype.isNamedCombinator=function isNamedCombinator(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:this.position;return this.tokens[e+0]&&this.tokens[e+0][N.FIELDS.TYPE]===q.slash&&this.tokens[e+1]&&this.tokens[e+1][N.FIELDS.TYPE]===q.word&&this.tokens[e+2]&&this.tokens[e+2][N.FIELDS.TYPE]===q.slash};Parser.prototype.namedCombinator=function namedCombinator(){if(this.isNamedCombinator()){var e=this.content(this.tokens[this.position+1]);var r=(0,U.unesc)(e).toLowerCase();var t={};if(r!==e){t.value="/"+e+"/"}var n=new F.default({value:"/"+r+"/",source:getSource(this.currToken[N.FIELDS.START_LINE],this.currToken[N.FIELDS.START_COL],this.tokens[this.position+2][N.FIELDS.END_LINE],this.tokens[this.position+2][N.FIELDS.END_COL]),sourceIndex:this.currToken[N.FIELDS.START_POS],raws:t});this.position=this.position+3;return n}else{this.unexpected()}};Parser.prototype.combinator=function combinator(){var e=this;if(this.content()==="|"){return this.namespace()}var r=this.locateNextMeaningfulToken(this.position);if(r<0||this.tokens[r][N.FIELDS.TYPE]===q.comma){var t=this.parseWhitespaceEquivalentTokens(r);if(t.length>0){var n=this.current.last;if(n){var i=this.convertWhitespaceNodesToSpace(t),o=i.space,s=i.rawSpace;if(s!==undefined){n.rawSpaceAfter+=s}n.spaces.after+=o}else{t.forEach(function(r){return e.newNode(r)})}}return}var a=this.currToken;var u=undefined;if(r>this.position){u=this.parseWhitespaceEquivalentTokens(r)}var f=void 0;if(this.isNamedCombinator()){f=this.namedCombinator()}else if(this.currToken[N.FIELDS.TYPE]===q.combinator){f=new F.default({value:this.content(),source:getTokenSource(this.currToken),sourceIndex:this.currToken[N.FIELDS.START_POS]});this.position++}else if(H[this.currToken[N.FIELDS.TYPE]]){}else if(!u){this.unexpected()}if(f){if(u){var c=this.convertWhitespaceNodesToSpace(u),l=c.space,p=c.rawSpace;f.spaces.before=l;f.rawSpaceBefore=p}}else{var h=this.convertWhitespaceNodesToSpace(u,true),B=h.space,v=h.rawSpace;if(!v){v=B}var d={};var b={spaces:{}};if(B.endsWith(" ")&&v.endsWith(" ")){d.before=B.slice(0,B.length-1);b.spaces.before=v.slice(0,v.length-1)}else if(B.startsWith(" ")&&v.startsWith(" ")){d.after=B.slice(1);b.spaces.after=v.slice(1)}else{b.value=v}f=new F.default({value:" ",source:getTokenSourceSpan(a,this.tokens[this.position-1]),sourceIndex:a[N.FIELDS.START_POS],spaces:d,raws:b})}if(this.currToken&&this.currToken[N.FIELDS.TYPE]===q.space){f.spaces.after=this.optionalSpace(this.content());this.position++}return this.newNode(f)};Parser.prototype.comma=function comma(){if(this.position===this.tokens.length-1){this.root.trailingComma=true;this.position++;return}this.current._inferEndPosition();var e=new B.default({source:{start:tokenStart(this.tokens[this.position+1])}});this.current.parent.append(e);this.current=e;this.position++};Parser.prototype.comment=function comment(){var e=this.currToken;this.newNode(new y.default({value:this.content(),source:getTokenSource(e),sourceIndex:e[N.FIELDS.START_POS]}));this.position++};Parser.prototype.error=function error(e,r){throw this.root.error(e,r)};Parser.prototype.missingBackslash=function missingBackslash(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[N.FIELDS.START_POS]})};Parser.prototype.missingParenthesis=function missingParenthesis(){return this.expected("opening parenthesis",this.currToken[N.FIELDS.START_POS])};Parser.prototype.missingSquareBracket=function missingSquareBracket(){return this.expected("opening square bracket",this.currToken[N.FIELDS.START_POS])};Parser.prototype.unexpected=function unexpected(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[N.FIELDS.START_POS])};Parser.prototype.namespace=function namespace(){var e=this.prevToken&&this.content(this.prevToken)||true;if(this.nextToken[N.FIELDS.TYPE]===q.word){this.position++;return this.word(e)}else if(this.nextToken[N.FIELDS.TYPE]===q.asterisk){this.position++;return this.universal(e)}};Parser.prototype.nesting=function nesting(){if(this.nextToken){var e=this.content(this.nextToken);if(e==="|"){this.position++;return}}var r=this.currToken;this.newNode(new j.default({value:this.content(),source:getTokenSource(r),sourceIndex:r[N.FIELDS.START_POS]}));this.position++};Parser.prototype.parentheses=function parentheses(){var e=this.current.last;var r=1;this.position++;if(e&&e.type===J.PSEUDO){var t=new B.default({source:{start:tokenStart(this.tokens[this.position-1])}});var n=this.current;e.append(t);this.current=t;while(this.position1&&e.nextToken&&e.nextToken[N.FIELDS.TYPE]===q.openParenthesis){e.error("Misplaced parenthesis.",{index:e.nextToken[N.FIELDS.START_POS]})}})}else{return this.expected(["pseudo-class","pseudo-element"],this.currToken[N.FIELDS.START_POS])}};Parser.prototype.space=function space(){var e=this.content();if(this.position===0||this.prevToken[N.FIELDS.TYPE]===q.comma||this.prevToken[N.FIELDS.TYPE]===q.openParenthesis){this.spaces=this.optionalSpace(e);this.position++}else if(this.position===this.tokens.length-1||this.nextToken[N.FIELDS.TYPE]===q.comma||this.nextToken[N.FIELDS.TYPE]===q.closeParenthesis){this.current.last.spaces.after=this.optionalSpace(e);this.position++}else{this.combinator()}};Parser.prototype.string=function string(){var e=this.currToken;this.newNode(new O.default({value:this.content(),source:getTokenSource(e),sourceIndex:e[N.FIELDS.START_POS]}));this.position++};Parser.prototype.universal=function universal(e){var r=this.nextToken;if(r&&this.content(r)==="|"){this.position++;return this.namespace()}var t=this.currToken;this.newNode(new A.default({value:this.content(),source:getTokenSource(t),sourceIndex:t[N.FIELDS.START_POS]}),e);this.position++};Parser.prototype.splitWord=function splitWord(e,r){var t=this;var n=this.nextToken;var i=this.content();while(n&&~[q.dollar,q.caret,q.equals,q.word].indexOf(n[N.FIELDS.TYPE])){this.position++;var o=this.content();i+=o;if(o.lastIndexOf("\\")===o.length-1){var s=this.nextToken;if(s&&s[N.FIELDS.TYPE]===q.space){i+=this.requiredSpace(this.content(s));this.position++}}n=this.nextToken}var a=(0,u.default)(i,".").filter(function(e){return i[e-1]!=="\\"});var f=(0,u.default)(i,"#");var l=(0,u.default)(i,"#{");if(l.length){f=f.filter(function(e){return!~l.indexOf(e)})}var p=(0,M.default)((0,c.default)([0].concat(a,f)));p.forEach(function(n,o){var s=p[o+1]||i.length;var u=i.slice(n,s);if(o===0&&r){return r.call(t,u,p.length)}var c=void 0;var l=t.currToken;var h=l[N.FIELDS.START_POS]+p[o];var B=getSource(l[1],l[2]+n,l[3],l[2]+(s-1));if(~a.indexOf(n)){var v={value:u.slice(1),source:B,sourceIndex:h};c=new d.default(unescapeProp(v,"value"))}else if(~f.indexOf(n)){var b={value:u.slice(1),source:B,sourceIndex:h};c=new m.default(unescapeProp(b,"value"))}else{var y={value:u,source:B,sourceIndex:h};unescapeProp(y,"value");c=new w.default(y)}t.newNode(c,e);e=null});this.position++};Parser.prototype.word=function word(e){var r=this.nextToken;if(r&&this.content(r)==="|"){this.position++;return this.namespace()}return this.splitWord(e)};Parser.prototype.loop=function loop(){while(this.position0&&arguments[0]!==undefined?arguments[0]:this.currToken;return this.css.slice(e[N.FIELDS.START_POS],e[N.FIELDS.END_POS])};Parser.prototype.locateNextMeaningfulToken=function locateNextMeaningfulToken(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:this.position+1;var r=e;while(r{"use strict";r.__esModule=true;var n=t(7031);var i=_interopRequireDefault(n);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}var o=function(){function Processor(e,r){_classCallCheck(this,Processor);this.func=e||function noop(){};this.funcRes=null;this.options=r}Processor.prototype._shouldUpdateSelector=function _shouldUpdateSelector(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var t=Object.assign({},this.options,r);if(t.updateSelector===false){return false}else{return typeof e!=="string"}};Processor.prototype._isLossy=function _isLossy(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var r=Object.assign({},this.options,e);if(r.lossless===false){return true}else{return false}};Processor.prototype._root=function _root(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var t=new i.default(e,this._parseOptions(r));return t.root};Processor.prototype._parseOptions=function _parseOptions(e){return{lossy:this._isLossy(e)}};Processor.prototype._run=function _run(e){var r=this;var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return new Promise(function(n,i){try{var o=r._root(e,t);Promise.resolve(r.func(o)).then(function(n){var i=undefined;if(r._shouldUpdateSelector(e,t)){i=o.toString();e.selector=i}return{transform:n,root:o,string:i}}).then(n,i)}catch(e){i(e);return}})};Processor.prototype._runSync=function _runSync(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var t=this._root(e,r);var n=this.func(t);if(n&&typeof n.then==="function"){throw new Error("Selector processor returned a promise to a synchronous call.")}var i=undefined;if(r.updateSelector&&typeof e!=="string"){i=t.toString();e.selector=i}return{transform:n,root:t,string:i}};Processor.prototype.ast=function ast(e,r){return this._run(e,r).then(function(e){return e.root})};Processor.prototype.astSync=function astSync(e,r){return this._runSync(e,r).root};Processor.prototype.transform=function transform(e,r){return this._run(e,r).then(function(e){return e.transform})};Processor.prototype.transformSync=function transformSync(e,r){return this._runSync(e,r).transform};Processor.prototype.process=function process(e,r){return this._run(e,r).then(function(e){return e.string||e.root.toString()})};Processor.prototype.processSync=function processSync(e,r){var t=this._runSync(e,r);return t.string||t.root.toString()};return Processor}();r.default=o;e.exports=r["default"]},7386:(e,r,t)=>{"use strict";r.__esModule=true;var n;var i=function(){function defineProperties(e,r){for(var t=0;t0&&arguments[0]!==undefined?arguments[0]:{};_classCallCheck(this,Attribute);var t=_possibleConstructorReturn(this,e.call(this,handleDeprecatedContructorOpts(r)));t.type=l.ATTRIBUTE;t.raws=t.raws||{};Object.defineProperty(t.raws,"unquoted",{get:h(function(){return t.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:h(function(){return t.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")});t._constructed=true;return t}Attribute.prototype.getQuotedValue=function getQuotedValue(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var r=this._determineQuoteMark(e);var t=g[r];var n=(0,s.default)(this._value,t);return n};Attribute.prototype._determineQuoteMark=function _determineQuoteMark(e){return e.smart?this.smartQuoteMark(e):this.preferredQuoteMark(e)};Attribute.prototype.setValue=function setValue(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};this._value=e;this._quoteMark=this._determineQuoteMark(r);this._syncRawValue()};Attribute.prototype.smartQuoteMark=function smartQuoteMark(e){var r=this.value;var t=r.replace(/[^']/g,"").length;var n=r.replace(/[^"]/g,"").length;if(t+n===0){var i=(0,s.default)(r,{isIdentifier:true});if(i===r){return Attribute.NO_QUOTE}else{var o=this.preferredQuoteMark(e);if(o===Attribute.NO_QUOTE){var a=this.quoteMark||e.quoteMark||Attribute.DOUBLE_QUOTE;var u=g[a];var f=(0,s.default)(r,u);if(f.length1&&arguments[1]!==undefined?arguments[1]:e;var t=arguments.length>2&&arguments[2]!==undefined?arguments[2]:defaultAttrConcat;var n=this._spacesFor(r);return t(this.stringifyProperty(e),n)};Attribute.prototype.offsetOf=function offsetOf(e){var r=1;var t=this._spacesFor("attribute");r+=t.before.length;if(e==="namespace"||e==="ns"){return this.namespace?r:-1}if(e==="attributeNS"){return r}r+=this.namespaceString.length;if(this.namespace){r+=1}if(e==="attribute"){return r}r+=this.stringifyProperty("attribute").length;r+=t.after.length;var n=this._spacesFor("operator");r+=n.before.length;var i=this.stringifyProperty("operator");if(e==="operator"){return i?r:-1}r+=i.length;r+=n.after.length;var o=this._spacesFor("value");r+=o.before.length;var s=this.stringifyProperty("value");if(e==="value"){return s?r:-1}r+=s.length;r+=o.after.length;var a=this._spacesFor("insensitive");r+=a.before.length;if(e==="insensitive"){return this.insensitive?r:-1}return-1};Attribute.prototype.toString=function toString(){var e=this;var r=[this.rawSpaceBefore,"["];r.push(this._stringFor("qualifiedAttribute","attribute"));if(this.operator&&this.value){r.push(this._stringFor("operator"));r.push(this._stringFor("value"));r.push(this._stringFor("insensitiveFlag","insensitive",function(r,t){if(r.length>0&&!e.quoted&&t.before.length===0&&!(e.spaces.value&&e.spaces.value.after)){t.before=" "}return defaultAttrConcat(r,t)}))}r.push("]");r.push(this.rawSpaceAfter);return r.join("")};i(Attribute,[{key:"quoted",get:function get(){var e=this.quoteMark;return e==="'"||e==='"'},set:function set(e){d()}},{key:"quoteMark",get:function get(){return this._quoteMark},set:function set(e){if(!this._constructed){this._quoteMark=e;return}if(this._quoteMark!==e){this._quoteMark=e;this._syncRawValue()}}},{key:"qualifiedAttribute",get:function get(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function get(){return this.insensitive?"i":""}},{key:"value",get:function get(){return this._value},set:function set(e){if(this._constructed){var r=unescapeValue(e),t=r.deprecatedUsage,n=r.unescaped,i=r.quoteMark;if(t){v()}if(n===this._value&&i===this._quoteMark){return}this._value=n;this._quoteMark=i;this._syncRawValue()}else{this._value=e}}},{key:"attribute",get:function get(){return this._attribute},set:function set(e){this._handleEscapes("attribute",e);this._attribute=e}}]);return Attribute}(c.default);y.NO_QUOTE=null;y.SINGLE_QUOTE="'";y.DOUBLE_QUOTE='"';r.default=y;var g=(n={"'":{quotes:"single",wrap:true},'"':{quotes:"double",wrap:true}},n[null]={isIdentifier:true},n);function defaultAttrConcat(e,r){return""+r.before+e+r.after}},2329:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t{"use strict";r.__esModule=true;var n=t(9883);var i=_interopRequireDefault(n);var o=t(1478);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Combinator,e);function Combinator(r){_classCallCheck(this,Combinator);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.COMBINATOR;return t}return Combinator}(i.default);r.default=s;e.exports=r["default"]},9380:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(9883);var i=_interopRequireDefault(n);var o=t(1478);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Comment,e);function Comment(r){_classCallCheck(this,Comment);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.COMMENT;return t}return Comment}(i.default);r.default=s;e.exports=r["default"]},7061:(e,r,t)=>{"use strict";r.__esModule=true;r.universal=r.tag=r.string=r.selector=r.root=r.pseudo=r.nesting=r.id=r.comment=r.combinator=r.className=r.attribute=undefined;var n=t(7386);var i=_interopRequireDefault(n);var o=t(2329);var s=_interopRequireDefault(o);var a=t(3665);var u=_interopRequireDefault(a);var f=t(9380);var c=_interopRequireDefault(f);var l=t(5649);var p=_interopRequireDefault(l);var h=t(3283);var B=_interopRequireDefault(h);var v=t(1489);var d=_interopRequireDefault(v);var b=t(9625);var y=_interopRequireDefault(b);var g=t(1789);var m=_interopRequireDefault(g);var C=t(6275);var w=_interopRequireDefault(C);var S=t(5963);var O=_interopRequireDefault(S);var T=t(4637);var E=_interopRequireDefault(T);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var k=r.attribute=function attribute(e){return new i.default(e)};var P=r.className=function className(e){return new s.default(e)};var D=r.combinator=function combinator(e){return new u.default(e)};var A=r.comment=function comment(e){return new c.default(e)};var R=r.id=function id(e){return new p.default(e)};var F=r.nesting=function nesting(e){return new B.default(e)};var x=r.pseudo=function pseudo(e){return new d.default(e)};var j=r.root=function root(e){return new y.default(e)};var I=r.selector=function selector(e){return new m.default(e)};var M=r.string=function string(e){return new w.default(e)};var N=r.tag=function tag(e){return new O.default(e)};var _=r.universal=function universal(e){return new E.default(e)}},4014:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t=e){this.indexes[t]=r-1}}return this};Container.prototype.removeAll=function removeAll(){for(var e=this.nodes,r=Array.isArray(e),t=0,e=r?e:e[Symbol.iterator]();;){var n;if(r){if(t>=e.length)break;n=e[t++]}else{t=e.next();if(t.done)break;n=t.value}var i=n;i.parent=undefined}this.nodes=[];return this};Container.prototype.empty=function empty(){return this.removeAll()};Container.prototype.insertAfter=function insertAfter(e,r){r.parent=this;var t=this.index(e);this.nodes.splice(t+1,0,r);r.parent=this;var n=void 0;for(var i in this.indexes){n=this.indexes[i];if(t<=n){this.indexes[i]=n+1}}return this};Container.prototype.insertBefore=function insertBefore(e,r){r.parent=this;var t=this.index(e);this.nodes.splice(t,0,r);r.parent=this;var n=void 0;for(var i in this.indexes){n=this.indexes[i];if(n<=t){this.indexes[i]=n+1}}return this};Container.prototype._findChildAtPosition=function _findChildAtPosition(e,r){var t=undefined;this.each(function(n){if(n.atPosition){var i=n.atPosition(e,r);if(i){t=i;return false}}else if(n.isAtPosition(e,r)){t=n;return false}});return t};Container.prototype.atPosition=function atPosition(e,r){if(this.isAtPosition(e,r)){return this._findChildAtPosition(e,r)||this}else{return undefined}};Container.prototype._inferEndPosition=function _inferEndPosition(){if(this.last&&this.last.source&&this.last.source.end){this.source=this.source||{};this.source.end=this.source.end||{};Object.assign(this.source.end,this.last.source.end)}};Container.prototype.each=function each(e){if(!this.lastEach){this.lastEach=0}if(!this.indexes){this.indexes={}}this.lastEach++;var r=this.lastEach;this.indexes[r]=0;if(!this.length){return undefined}var t=void 0,n=void 0;while(this.indexes[r]{"use strict";r.__esModule=true;r.isUniversal=r.isTag=r.isString=r.isSelector=r.isRoot=r.isPseudo=r.isNesting=r.isIdentifier=r.isComment=r.isCombinator=r.isClassName=r.isAttribute=undefined;var n=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var i;r.isNode=isNode;r.isPseudoElement=isPseudoElement;r.isPseudoClass=isPseudoClass;r.isContainer=isContainer;r.isNamespace=isNamespace;var o=t(1478);var s=(i={},i[o.ATTRIBUTE]=true,i[o.CLASS]=true,i[o.COMBINATOR]=true,i[o.COMMENT]=true,i[o.ID]=true,i[o.NESTING]=true,i[o.PSEUDO]=true,i[o.ROOT]=true,i[o.SELECTOR]=true,i[o.STRING]=true,i[o.TAG]=true,i[o.UNIVERSAL]=true,i);function isNode(e){return(typeof e==="undefined"?"undefined":n(e))==="object"&&s[e.type]}function isNodeType(e,r){return isNode(r)&&r.type===e}var a=r.isAttribute=isNodeType.bind(null,o.ATTRIBUTE);var u=r.isClassName=isNodeType.bind(null,o.CLASS);var f=r.isCombinator=isNodeType.bind(null,o.COMBINATOR);var c=r.isComment=isNodeType.bind(null,o.COMMENT);var l=r.isIdentifier=isNodeType.bind(null,o.ID);var p=r.isNesting=isNodeType.bind(null,o.NESTING);var h=r.isPseudo=isNodeType.bind(null,o.PSEUDO);var B=r.isRoot=isNodeType.bind(null,o.ROOT);var v=r.isSelector=isNodeType.bind(null,o.SELECTOR);var d=r.isString=isNodeType.bind(null,o.STRING);var b=r.isTag=isNodeType.bind(null,o.TAG);var y=r.isUniversal=isNodeType.bind(null,o.UNIVERSAL);function isPseudoElement(e){return h(e)&&e.value&&(e.value.startsWith("::")||e.value===":before"||e.value===":after")}function isPseudoClass(e){return h(e)&&!isPseudoElement(e)}function isContainer(e){return!!(isNode(e)&&e.walk)}function isNamespace(e){return a(e)||b(e)}},5649:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(9883);var i=_interopRequireDefault(n);var o=t(1478);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(ID,e);function ID(r){_classCallCheck(this,ID);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.ID;return t}ID.prototype.toString=function toString(){return[this.rawSpaceBefore,String("#"+this.stringifyProperty("value")),this.rawSpaceAfter].join("")};return ID}(i.default);r.default=s;e.exports=r["default"]},610:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(1478);Object.keys(n).forEach(function(e){if(e==="default"||e==="__esModule")return;Object.defineProperty(r,e,{enumerable:true,get:function get(){return n[e]}})});var i=t(7061);Object.keys(i).forEach(function(e){if(e==="default"||e==="__esModule")return;Object.defineProperty(r,e,{enumerable:true,get:function get(){return i[e]}})});var o=t(8835);Object.keys(o).forEach(function(e){if(e==="default"||e==="__esModule")return;Object.defineProperty(r,e,{enumerable:true,get:function get(){return o[e]}})})},5032:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t{"use strict";r.__esModule=true;var n=t(9883);var i=_interopRequireDefault(n);var o=t(1478);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Nesting,e);function Nesting(r){_classCallCheck(this,Nesting);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.NESTING;t.value="&";return t}return Nesting}(i.default);r.default=s;e.exports=r["default"]},9883:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t0&&arguments[0]!==undefined?arguments[0]:{};_classCallCheck(this,Node);Object.assign(this,e);this.spaces=this.spaces||{};this.spaces.before=this.spaces.before||"";this.spaces.after=this.spaces.after||""}Node.prototype.remove=function remove(){if(this.parent){this.parent.removeChild(this)}this.parent=undefined;return this};Node.prototype.replaceWith=function replaceWith(){if(this.parent){for(var e in arguments){this.parent.insertBefore(this,arguments[e])}this.remove()}return this};Node.prototype.next=function next(){return this.parent.at(this.parent.index(this)+1)};Node.prototype.prev=function prev(){return this.parent.at(this.parent.index(this)-1)};Node.prototype.clone=function clone(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var r=s(this);for(var t in e){r[t]=e[t]}return r};Node.prototype.appendToPropertyAndEscape=function appendToPropertyAndEscape(e,r,t){if(!this.raws){this.raws={}}var n=this[e];var i=this.raws[e];this[e]=n+r;if(i||t!==r){this.raws[e]=(i||n)+t}else{delete this.raws[e]}};Node.prototype.setPropertyAndEscape=function setPropertyAndEscape(e,r,t){if(!this.raws){this.raws={}}this[e]=r;this.raws[e]=t};Node.prototype.setPropertyWithoutEscape=function setPropertyWithoutEscape(e,r){this[e]=r;if(this.raws){delete this.raws[e]}};Node.prototype.isAtPosition=function isAtPosition(e,r){if(this.source&&this.source.start&&this.source.end){if(this.source.start.line>e){return false}if(this.source.end.liner){return false}if(this.source.end.line===e&&this.source.end.column{"use strict";r.__esModule=true;var n=t(4014);var i=_interopRequireDefault(n);var o=t(1478);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Pseudo,e);function Pseudo(r){_classCallCheck(this,Pseudo);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.PSEUDO;return t}Pseudo.prototype.toString=function toString(){var e=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),e,this.rawSpaceAfter].join("")};return Pseudo}(i.default);r.default=s;e.exports=r["default"]},9625:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t{"use strict";r.__esModule=true;var n=t(4014);var i=_interopRequireDefault(n);var o=t(1478);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Selector,e);function Selector(r){_classCallCheck(this,Selector);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.SELECTOR;return t}return Selector}(i.default);r.default=s;e.exports=r["default"]},6275:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(9883);var i=_interopRequireDefault(n);var o=t(1478);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(String,e);function String(r){_classCallCheck(this,String);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.STRING;return t}return String}(i.default);r.default=s;e.exports=r["default"]},5963:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(5032);var i=_interopRequireDefault(n);var o=t(1478);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Tag,e);function Tag(r){_classCallCheck(this,Tag);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.TAG;return t}return Tag}(i.default);r.default=s;e.exports=r["default"]},1478:(e,r)=>{"use strict";r.__esModule=true;var t=r.TAG="tag";var n=r.STRING="string";var i=r.SELECTOR="selector";var o=r.ROOT="root";var s=r.PSEUDO="pseudo";var a=r.NESTING="nesting";var u=r.ID="id";var f=r.COMMENT="comment";var c=r.COMBINATOR="combinator";var l=r.CLASS="class";var p=r.ATTRIBUTE="attribute";var h=r.UNIVERSAL="universal"},4637:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(5032);var i=_interopRequireDefault(n);var o=t(1478);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Universal,e);function Universal(r){_classCallCheck(this,Universal);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.UNIVERSAL;t.value="*";return t}return Universal}(i.default);r.default=s;e.exports=r["default"]},534:(e,r)=>{"use strict";r.__esModule=true;r.default=sortAscending;function sortAscending(e){return e.sort(function(e,r){return e-r})}e.exports=r["default"]},6582:(e,r)=>{"use strict";r.__esModule=true;var t=r.ampersand=38;var n=r.asterisk=42;var i=r.at=64;var o=r.comma=44;var s=r.colon=58;var a=r.semicolon=59;var u=r.openParenthesis=40;var f=r.closeParenthesis=41;var c=r.openSquare=91;var l=r.closeSquare=93;var p=r.dollar=36;var h=r.tilde=126;var B=r.caret=94;var v=r.plus=43;var d=r.equals=61;var b=r.pipe=124;var y=r.greaterThan=62;var g=r.space=32;var m=r.singleQuote=39;var C=r.doubleQuote=34;var w=r.slash=47;var S=r.bang=33;var O=r.backslash=92;var T=r.cr=13;var E=r.feed=12;var k=r.newline=10;var P=r.tab=9;var D=r.str=m;var A=r.comment=-1;var R=r.word=-2;var F=r.combinator=-3},8606:(e,r,t)=>{"use strict";r.__esModule=true;r.FIELDS=undefined;var n,i;r.default=tokenize;var o=t(6582);var s=_interopRequireWildcard(o);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var r={};if(e!=null){for(var t in e){if(Object.prototype.hasOwnProperty.call(e,t))r[t]=e[t]}}r.default=e;return r}}var a=(n={},n[s.tab]=true,n[s.newline]=true,n[s.cr]=true,n[s.feed]=true,n);var u=(i={},i[s.space]=true,i[s.tab]=true,i[s.newline]=true,i[s.cr]=true,i[s.feed]=true,i[s.ampersand]=true,i[s.asterisk]=true,i[s.bang]=true,i[s.comma]=true,i[s.colon]=true,i[s.semicolon]=true,i[s.openParenthesis]=true,i[s.closeParenthesis]=true,i[s.openSquare]=true,i[s.closeSquare]=true,i[s.singleQuote]=true,i[s.doubleQuote]=true,i[s.plus]=true,i[s.pipe]=true,i[s.tilde]=true,i[s.greaterThan]=true,i[s.equals]=true,i[s.dollar]=true,i[s.caret]=true,i[s.slash]=true,i);var f={};var c="0123456789abcdefABCDEF";for(var l=0;l0){g=a+d;m=y-b[d].length}else{g=a;m=o}w=s.comment;a=g;h=g;p=y-m}else if(c===s.slash){y=u;w=c;h=a;p=u-o;f=y+1}else{y=consumeWord(t,u);w=s.word;h=a;p=y-o}f=y+1;break}r.push([w,a,u-o,h,p,u,f]);if(m){o=m;m=null}u=f}return r}},5971:(e,r)=>{"use strict";r.__esModule=true;r.default=ensureObject;function ensureObject(e){for(var r=arguments.length,t=Array(r>1?r-1:0),n=1;n0){var i=t.shift();if(!e[i]){e[i]={}}e=e[i]}}e.exports=r["default"]},6052:(e,r)=>{"use strict";r.__esModule=true;r.default=getProp;function getProp(e){for(var r=arguments.length,t=Array(r>1?r-1:0),n=1;n0){var i=t.shift();if(!e[i]){return undefined}e=e[i]}return e}e.exports=r["default"]},426:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(3865);Object.defineProperty(r,"unesc",{enumerable:true,get:function get(){return _interopRequireDefault(n).default}});var i=t(6052);Object.defineProperty(r,"getProp",{enumerable:true,get:function get(){return _interopRequireDefault(i).default}});var o=t(5971);Object.defineProperty(r,"ensureObject",{enumerable:true,get:function get(){return _interopRequireDefault(o).default}});var s=t(6483);Object.defineProperty(r,"stripComments",{enumerable:true,get:function get(){return _interopRequireDefault(s).default}});function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},6483:(e,r)=>{"use strict";r.__esModule=true;r.default=stripComments;function stripComments(e){var r="";var t=e.indexOf("/*");var n=0;while(t>=0){r=r+e.slice(n,t);var i=e.indexOf("*/",t+2);if(i<0){return r}n=i+2;t=e.indexOf("/*",n)}r=r+e.slice(n);return r}e.exports=r["default"]},3865:(e,r)=>{"use strict";r.__esModule=true;r.default=unesc;var t=/\\(?:([0-9a-fA-F]{6})|([0-9a-fA-F]{1,5})(?: |(?![0-9a-fA-F])))/g;var n=/\\(.)/g;function unesc(e){e=e.replace(t,function(e,r,t){var n=r||t;var i=parseInt(n,16);return String.fromCharCode(i)});e=e.replace(n,function(e,r){return r});return e}e.exports=r["default"]},6082:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(3624));var i=_interopDefault(t(7802));const o=/:has/;var s=i.plugin("css-has-pseudo",e=>{const r=Boolean("preserve"in Object(e)?e.preserve:true);return e=>{e.walkRules(o,e=>{const t=n(e=>{e.walkPseudos(e=>{if(e.value===":has"&&e.nodes){const r=checkIfParentIsNot(e);e.value=r?":not-has":":has";const t=n.attribute({attribute:encodeURIComponent(String(e)).replace(/%3A/g,":").replace(/%5B/g,"[").replace(/%5D/g,"]").replace(/%2C/g,",").replace(/[():%\[\],]/g,"\\$&")});if(r){e.parent.parent.replaceWith(t)}else{e.replaceWith(t)}}})}).processSync(e.selector);const i=e.clone({selector:t});if(r){e.before(i)}else{e.replaceWith(i)}})}});function checkIfParentIsNot(e){return Object(Object(e.parent).parent).type==="pseudo"&&e.parent.parent.value===":not"}e.exports=s},4990:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(7802));const i=/^media$/i;const o=/\(\s*prefers-color-scheme\s*:\s*(dark|light|no-preference)\s*\)/i;const s={dark:48,light:70,"no-preference":22};const a=(e,r)=>`(color-index: ${s[r.toLowerCase()]})`;var u=n.plugin("postcss-prefers-color-scheme",e=>{const r="preserve"in Object(e)?e.preserve:true;return e=>{e.walkAtRules(i,e=>{const t=e.params;const n=t.replace(o,a);if(t!==n){if(r){e.cloneBefore({params:n})}else{e.params=n}}})}});e.exports=u},132:e=>{e.exports=function flatten(e,r){r=typeof r=="number"?r:Infinity;if(!r){if(Array.isArray(e)){return e.map(function(e){return e})}return e}return _flatten(e,1);function _flatten(e,t){return e.reduce(function(e,n){if(Array.isArray(n)&&t{"use strict";e.exports=((e,r)=>{r=r||process.argv;const t=e.startsWith("-")?"":e.length===1?"-":"--";const n=r.indexOf(t+e);const i=r.indexOf("--");return n!==-1&&(i===-1?true:n{e.exports=function(e,r){var t=-1,n=[];while((t=e.indexOf(r,t+1))!==-1)n.push(t);return n}},4782:e=>{var r=/<%=([\s\S]+?)%>/g;e.exports=r},1717:(e,r,t)=>{e=t.nmd(e);var n=t(4782),i=t(8777);var o=800,s=16;var a=1/0,u=9007199254740991;var f="[object Arguments]",c="[object Array]",l="[object AsyncFunction]",p="[object Boolean]",h="[object Date]",B="[object DOMException]",v="[object Error]",d="[object Function]",b="[object GeneratorFunction]",y="[object Map]",g="[object Number]",m="[object Null]",C="[object Object]",w="[object Proxy]",S="[object RegExp]",O="[object Set]",T="[object String]",E="[object Symbol]",k="[object Undefined]",P="[object WeakMap]";var D="[object ArrayBuffer]",A="[object DataView]",R="[object Float32Array]",F="[object Float64Array]",x="[object Int8Array]",j="[object Int16Array]",I="[object Int32Array]",M="[object Uint8Array]",N="[object Uint8ClampedArray]",_="[object Uint16Array]",L="[object Uint32Array]";var q=/\b__p \+= '';/g,G=/\b(__p \+=) '' \+/g,J=/(__e\(.*?\)|\b__t\)) \+\n'';/g;var U=/[\\^$.*+?()[\]{}|]/g;var H=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g;var Q=/^\[object .+?Constructor\]$/;var K=/^(?:0|[1-9]\d*)$/;var W=/($^)/;var Y=/['\n\r\u2028\u2029\\]/g;var z={};z[R]=z[F]=z[x]=z[j]=z[I]=z[M]=z[N]=z[_]=z[L]=true;z[f]=z[c]=z[D]=z[p]=z[A]=z[h]=z[v]=z[d]=z[y]=z[g]=z[C]=z[S]=z[O]=z[T]=z[P]=false;var $={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};var X=typeof global=="object"&&global&&global.Object===Object&&global;var Z=typeof self=="object"&&self&&self.Object===Object&&self;var V=X||Z||Function("return this")();var ee=true&&r&&!r.nodeType&&r;var re=ee&&"object"=="object"&&e&&!e.nodeType&&e;var te=re&&re.exports===ee;var ne=te&&X.process;var ie=function(){try{var e=re&&re.require&&re.require("util").types;if(e){return e}return ne&&ne.binding&&ne.binding("util")}catch(e){}}();var oe=ie&&ie.isTypedArray;function apply(e,r,t){switch(t.length){case 0:return e.call(r);case 1:return e.call(r,t[0]);case 2:return e.call(r,t[0],t[1]);case 3:return e.call(r,t[0],t[1],t[2])}return e.apply(r,t)}function arrayMap(e,r){var t=-1,n=e==null?0:e.length,i=Array(n);while(++t1?t[i-1]:undefined,s=i>2?t[2]:undefined;o=e.length>3&&typeof o=="function"?(i--,o):undefined;if(s&&isIterateeCall(t[0],t[1],s)){o=i<3?undefined:o;i=1}r=Object(r);while(++n-1&&e%1==0&&e0){if(++r>=o){return arguments[0]}}else{r=0}return e.apply(undefined,arguments)}}function toSource(e){if(e!=null){try{return fe.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function eq(e,r){return e===r||e!==e&&r!==r}var De=baseIsArguments(function(){return arguments}())?baseIsArguments:function(e){return isObjectLike(e)&&ce.call(e,"callee")&&!ye.call(e,"callee")};var Ae=Array.isArray;function isArrayLike(e){return e!=null&&isLength(e.length)&&!isFunction(e)}var Re=Ce||stubFalse;function isError(e){if(!isObjectLike(e)){return false}var r=baseGetTag(e);return r==v||r==B||typeof e.message=="string"&&typeof e.name=="string"&&!isPlainObject(e)}function isFunction(e){if(!isObject(e)){return false}var r=baseGetTag(e);return r==d||r==b||r==l||r==w}function isLength(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=u}function isObject(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}function isObjectLike(e){return e!=null&&typeof e=="object"}function isPlainObject(e){if(!isObjectLike(e)||baseGetTag(e)!=C){return false}var r=be(e);if(r===null){return true}var t=ce.call(r,"constructor")&&r.constructor;return typeof t=="function"&&t instanceof t&&fe.call(t)==he}function isSymbol(e){return typeof e=="symbol"||isObjectLike(e)&&baseGetTag(e)==E}var Fe=oe?baseUnary(oe):baseIsTypedArray;function toString(e){return e==null?"":baseToString(e)}var xe=createAssigner(function(e,r,t,n){copyObject(r,keysIn(r),e,n)});function keys(e){return isArrayLike(e)?arrayLikeKeys(e):baseKeys(e)}function keysIn(e){return isArrayLike(e)?arrayLikeKeys(e,true):baseKeysIn(e)}function template(e,r,t){var o=i.imports._.templateSettings||i;if(t&&isIterateeCall(e,r,t)){r=undefined}e=toString(e);r=xe({},r,o,customDefaultsAssignIn);var s=xe({},r.imports,o.imports,customDefaultsAssignIn),a=keys(s),u=baseValues(s,a);var f,c,l=0,p=r.interpolate||W,h="__p += '";var B=RegExp((r.escape||W).source+"|"+p.source+"|"+(p===n?H:W).source+"|"+(r.evaluate||W).source+"|$","g");var v=ce.call(r,"sourceURL")?"//# sourceURL="+(r.sourceURL+"").replace(/[\r\n]/g," ")+"\n":"";e.replace(B,function(r,t,n,i,o,s){n||(n=i);h+=e.slice(l,s).replace(Y,escapeStringChar);if(t){f=true;h+="' +\n__e("+t+") +\n'"}if(o){c=true;h+="';\n"+o+";\n__p += '"}if(n){h+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"}l=s+r.length;return r});h+="';\n";var d=ce.call(r,"variable")&&r.variable;if(!d){h="with (obj) {\n"+h+"\n}\n"}h=(c?h.replace(q,""):h).replace(G,"$1").replace(J,"$1;");h="function("+(d||"obj")+") {\n"+(d?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(f?", __e = _.escape":"")+(c?", __j = Array.prototype.join;\n"+"function print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var b=je(function(){return Function(a,v+"return "+h).apply(undefined,u)});b.source=h;if(isError(b)){throw b}return b}var je=baseRest(function(e,r){try{return apply(e,undefined,r)}catch(e){return isError(e)?e:new Error(e)}});function constant(e){return function(){return e}}function identity(e){return e}function stubFalse(){return false}e.exports=template},8777:(e,r,t)=>{var n=t(4782);var i=1/0;var o="[object Null]",s="[object Symbol]",a="[object Undefined]";var u=/[&<>"']/g,f=RegExp(u.source);var c=/<%-([\s\S]+?)%>/g,l=/<%([\s\S]+?)%>/g;var p={"&":"&","<":"<",">":">",'"':""","'":"'"};var h=typeof global=="object"&&global&&global.Object===Object&&global;var B=typeof self=="object"&&self&&self.Object===Object&&self;var v=h||B||Function("return this")();function arrayMap(e,r){var t=-1,n=e==null?0:e.length,i=Array(n);while(++t{"use strict";e.exports={wrap:wrapRange,limit:limitRange,validate:validateRange,test:testRange,curry:curry,name:name};function wrapRange(e,r,t){var n=r-e;return((t-e)%n+n)%n+e}function limitRange(e,r,t){return Math.max(e,Math.min(r,t))}function validateRange(e,r,t,n,i){if(!testRange(e,r,t,n,i)){throw new Error(t+" is outside of range ["+e+","+r+")")}return t}function testRange(e,r,t,n,i){return!(tr||i&&t===r||n&&t===e)}function name(e,r,t,n){return(t?"(":"[")+e+","+r+(n?")":"]")}function curry(e,r,t,n){var i=name.bind(null,e,r,t,n);return{wrap:wrapRange.bind(null,e,r),limit:limitRange.bind(null,e,r),validate:function(i){return validateRange(e,r,i,t,n)},test:function(i){return testRange(e,r,i,t,n)},toString:i,name:i}}},4182:e=>{"use strict";var r=Math.abs;var t=Math.round;function almostEq(e,t){return r(e-t)<=9.5367432e-7}function GCD(e,r){if(almostEq(r,0))return e;return GCD(r,e%r)}function findPrecision(e){var r=1;while(!almostEq(t(e*r)/r,e)){r*=10}return r}function num2fraction(e){if(e===0||e==="0")return"0";if(typeof e==="string"){e=parseFloat(e)}var n=findPrecision(e);var i=e*n;var o=r(GCD(i,n));var s=i/o;var a=n/o;return t(s)+"/"+t(a)}e.exports=num2fraction},8344:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});var n=t(7802);var i=_interopRequireDefault(n);var o=t(3433);var s=_interopRequireDefault(o);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function nodeIsInsensitiveAttribute(e){return e.type==="attribute"&&e.insensitive}function selectorHasInsensitiveAttribute(e){return e.some(nodeIsInsensitiveAttribute)}function transformString(e,r,t){var n=t.charAt(r);if(n===""){return e}var i=e.map(function(e){return e+n});var o=n.toLocaleUpperCase();if(o!==n){i=i.concat(e.map(function(e){return e+o}))}return transformString(i,r+1,t)}function createSensitiveAtributes(e){var r=transformString([""],0,e.value);return r.map(function(r){var t=e.clone({spaces:{after:e.spaces.after,before:e.spaces.before},insensitive:false});t.setValue(r);return t})}function createNewSelectors(e){var r=[s.default.selector()];e.walk(function(e){if(!nodeIsInsensitiveAttribute(e)){r.forEach(function(r){r.append(e.clone())});return}var t=createSensitiveAtributes(e);var n=[];t.forEach(function(e){r.forEach(function(r){var t=r.clone();t.append(e);n.push(t)})});r=n});return r}function transform(e){var r=[];e.each(function(e){if(selectorHasInsensitiveAttribute(e)){r=r.concat(createNewSelectors(e));e.remove()}});if(r.length){r.forEach(function(r){return e.append(r)})}}var a=/i(\s*\/\*[\W\w]*?\*\/)*\s*\]/;r.default=i.default.plugin("postcss-attribute-case-insensitive",function(){return function(e){e.walkRules(a,function(e){e.selector=(0,s.default)(transform).processSync(e.selector)})}});e.exports=r.default},868:e=>{"use strict";var r={};var t=r.hasOwnProperty;var n=function merge(e,r){if(!e){return r}var n={};for(var i in r){n[i]=t.call(e,i)?e[i]:r[i]}return n};var i=/[ -,\.\/;-@\[-\^`\{-~]/;var o=/[ -,\.\/;-@\[\]\^`\{-~]/;var s=/['"\\]/;var a=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g;var u=function cssesc(e,r){r=n(r,cssesc.options);if(r.quotes!="single"&&r.quotes!="double"){r.quotes="single"}var t=r.quotes=="double"?'"':"'";var s=r.isIdentifier;var u=e.charAt(0);var f="";var c=0;var l=e.length;while(c126){if(h>=55296&&h<=56319&&c{"use strict";r.__esModule=true;var n=t(2897);var i=_interopRequireDefault(n);var o=t(8402);var s=_interopRequireWildcard(o);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var r={};if(e!=null){for(var t in e){if(Object.prototype.hasOwnProperty.call(e,t))r[t]=e[t]}}r.default=e;return r}}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var a=function parser(e){return new i.default(e)};Object.assign(a,s);delete a.__esModule;r.default=a;e.exports=r["default"]},2401:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t1&&arguments[1]!==undefined?arguments[1]:{};_classCallCheck(this,Parser);this.rule=e;this.options=Object.assign({lossy:false,safe:false},r);this.position=0;this.css=typeof this.rule==="string"?this.rule:this.rule.selector;this.tokens=(0,_.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var t=getTokenSourceSpan(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new p.default({source:t});this.root.errorGenerator=this._errorGenerator();var n=new B.default({source:{start:{line:1,column:1}}});this.root.append(n);this.current=n;this.loop()}Parser.prototype._errorGenerator=function _errorGenerator(){var e=this;return function(r,t){if(typeof e.rule==="string"){return new Error(r)}return e.rule.error(r,t)}};Parser.prototype.attribute=function attribute(){var e=[];var r=this.currToken;this.position++;while(this.position1&&arguments[1]!==undefined?arguments[1]:false;var n="";var i="";e.forEach(function(e){var o=r.lossySpace(e.spaces.before,t);var s=r.lossySpace(e.rawSpaceBefore,t);n+=o+r.lossySpace(e.spaces.after,t&&o.length===0);i+=o+e.value+r.lossySpace(e.rawSpaceAfter,t&&s.length===0)});if(i===n){i=undefined}var o={space:n,rawSpace:i};return o};Parser.prototype.isNamedCombinator=function isNamedCombinator(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:this.position;return this.tokens[e+0]&&this.tokens[e+0][N.FIELDS.TYPE]===q.slash&&this.tokens[e+1]&&this.tokens[e+1][N.FIELDS.TYPE]===q.word&&this.tokens[e+2]&&this.tokens[e+2][N.FIELDS.TYPE]===q.slash};Parser.prototype.namedCombinator=function namedCombinator(){if(this.isNamedCombinator()){var e=this.content(this.tokens[this.position+1]);var r=(0,U.unesc)(e).toLowerCase();var t={};if(r!==e){t.value="/"+e+"/"}var n=new F.default({value:"/"+r+"/",source:getSource(this.currToken[N.FIELDS.START_LINE],this.currToken[N.FIELDS.START_COL],this.tokens[this.position+2][N.FIELDS.END_LINE],this.tokens[this.position+2][N.FIELDS.END_COL]),sourceIndex:this.currToken[N.FIELDS.START_POS],raws:t});this.position=this.position+3;return n}else{this.unexpected()}};Parser.prototype.combinator=function combinator(){var e=this;if(this.content()==="|"){return this.namespace()}var r=this.locateNextMeaningfulToken(this.position);if(r<0||this.tokens[r][N.FIELDS.TYPE]===q.comma){var t=this.parseWhitespaceEquivalentTokens(r);if(t.length>0){var n=this.current.last;if(n){var i=this.convertWhitespaceNodesToSpace(t),o=i.space,s=i.rawSpace;if(s!==undefined){n.rawSpaceAfter+=s}n.spaces.after+=o}else{t.forEach(function(r){return e.newNode(r)})}}return}var a=this.currToken;var u=undefined;if(r>this.position){u=this.parseWhitespaceEquivalentTokens(r)}var f=void 0;if(this.isNamedCombinator()){f=this.namedCombinator()}else if(this.currToken[N.FIELDS.TYPE]===q.combinator){f=new F.default({value:this.content(),source:getTokenSource(this.currToken),sourceIndex:this.currToken[N.FIELDS.START_POS]});this.position++}else if(H[this.currToken[N.FIELDS.TYPE]]){}else if(!u){this.unexpected()}if(f){if(u){var c=this.convertWhitespaceNodesToSpace(u),l=c.space,p=c.rawSpace;f.spaces.before=l;f.rawSpaceBefore=p}}else{var h=this.convertWhitespaceNodesToSpace(u,true),B=h.space,v=h.rawSpace;if(!v){v=B}var d={};var b={spaces:{}};if(B.endsWith(" ")&&v.endsWith(" ")){d.before=B.slice(0,B.length-1);b.spaces.before=v.slice(0,v.length-1)}else if(B.startsWith(" ")&&v.startsWith(" ")){d.after=B.slice(1);b.spaces.after=v.slice(1)}else{b.value=v}f=new F.default({value:" ",source:getTokenSourceSpan(a,this.tokens[this.position-1]),sourceIndex:a[N.FIELDS.START_POS],spaces:d,raws:b})}if(this.currToken&&this.currToken[N.FIELDS.TYPE]===q.space){f.spaces.after=this.optionalSpace(this.content());this.position++}return this.newNode(f)};Parser.prototype.comma=function comma(){if(this.position===this.tokens.length-1){this.root.trailingComma=true;this.position++;return}this.current._inferEndPosition();var e=new B.default({source:{start:tokenStart(this.tokens[this.position+1])}});this.current.parent.append(e);this.current=e;this.position++};Parser.prototype.comment=function comment(){var e=this.currToken;this.newNode(new y.default({value:this.content(),source:getTokenSource(e),sourceIndex:e[N.FIELDS.START_POS]}));this.position++};Parser.prototype.error=function error(e,r){throw this.root.error(e,r)};Parser.prototype.missingBackslash=function missingBackslash(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[N.FIELDS.START_POS]})};Parser.prototype.missingParenthesis=function missingParenthesis(){return this.expected("opening parenthesis",this.currToken[N.FIELDS.START_POS])};Parser.prototype.missingSquareBracket=function missingSquareBracket(){return this.expected("opening square bracket",this.currToken[N.FIELDS.START_POS])};Parser.prototype.unexpected=function unexpected(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[N.FIELDS.START_POS])};Parser.prototype.namespace=function namespace(){var e=this.prevToken&&this.content(this.prevToken)||true;if(this.nextToken[N.FIELDS.TYPE]===q.word){this.position++;return this.word(e)}else if(this.nextToken[N.FIELDS.TYPE]===q.asterisk){this.position++;return this.universal(e)}};Parser.prototype.nesting=function nesting(){if(this.nextToken){var e=this.content(this.nextToken);if(e==="|"){this.position++;return}}var r=this.currToken;this.newNode(new j.default({value:this.content(),source:getTokenSource(r),sourceIndex:r[N.FIELDS.START_POS]}));this.position++};Parser.prototype.parentheses=function parentheses(){var e=this.current.last;var r=1;this.position++;if(e&&e.type===J.PSEUDO){var t=new B.default({source:{start:tokenStart(this.tokens[this.position-1])}});var n=this.current;e.append(t);this.current=t;while(this.position1&&e.nextToken&&e.nextToken[N.FIELDS.TYPE]===q.openParenthesis){e.error("Misplaced parenthesis.",{index:e.nextToken[N.FIELDS.START_POS]})}})}else{return this.expected(["pseudo-class","pseudo-element"],this.currToken[N.FIELDS.START_POS])}};Parser.prototype.space=function space(){var e=this.content();if(this.position===0||this.prevToken[N.FIELDS.TYPE]===q.comma||this.prevToken[N.FIELDS.TYPE]===q.openParenthesis){this.spaces=this.optionalSpace(e);this.position++}else if(this.position===this.tokens.length-1||this.nextToken[N.FIELDS.TYPE]===q.comma||this.nextToken[N.FIELDS.TYPE]===q.closeParenthesis){this.current.last.spaces.after=this.optionalSpace(e);this.position++}else{this.combinator()}};Parser.prototype.string=function string(){var e=this.currToken;this.newNode(new O.default({value:this.content(),source:getTokenSource(e),sourceIndex:e[N.FIELDS.START_POS]}));this.position++};Parser.prototype.universal=function universal(e){var r=this.nextToken;if(r&&this.content(r)==="|"){this.position++;return this.namespace()}var t=this.currToken;this.newNode(new A.default({value:this.content(),source:getTokenSource(t),sourceIndex:t[N.FIELDS.START_POS]}),e);this.position++};Parser.prototype.splitWord=function splitWord(e,r){var t=this;var n=this.nextToken;var i=this.content();while(n&&~[q.dollar,q.caret,q.equals,q.word].indexOf(n[N.FIELDS.TYPE])){this.position++;var o=this.content();i+=o;if(o.lastIndexOf("\\")===o.length-1){var s=this.nextToken;if(s&&s[N.FIELDS.TYPE]===q.space){i+=this.requiredSpace(this.content(s));this.position++}}n=this.nextToken}var a=(0,u.default)(i,".").filter(function(e){return i[e-1]!=="\\"});var f=(0,u.default)(i,"#");var l=(0,u.default)(i,"#{");if(l.length){f=f.filter(function(e){return!~l.indexOf(e)})}var p=(0,M.default)((0,c.default)([0].concat(a,f)));p.forEach(function(n,o){var s=p[o+1]||i.length;var u=i.slice(n,s);if(o===0&&r){return r.call(t,u,p.length)}var c=void 0;var l=t.currToken;var h=l[N.FIELDS.START_POS]+p[o];var B=getSource(l[1],l[2]+n,l[3],l[2]+(s-1));if(~a.indexOf(n)){var v={value:u.slice(1),source:B,sourceIndex:h};c=new d.default(unescapeProp(v,"value"))}else if(~f.indexOf(n)){var b={value:u.slice(1),source:B,sourceIndex:h};c=new m.default(unescapeProp(b,"value"))}else{var y={value:u,source:B,sourceIndex:h};unescapeProp(y,"value");c=new w.default(y)}t.newNode(c,e);e=null});this.position++};Parser.prototype.word=function word(e){var r=this.nextToken;if(r&&this.content(r)==="|"){this.position++;return this.namespace()}return this.splitWord(e)};Parser.prototype.loop=function loop(){while(this.position0&&arguments[0]!==undefined?arguments[0]:this.currToken;return this.css.slice(e[N.FIELDS.START_POS],e[N.FIELDS.END_POS])};Parser.prototype.locateNextMeaningfulToken=function locateNextMeaningfulToken(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:this.position+1;var r=e;while(r{"use strict";r.__esModule=true;var n=t(2401);var i=_interopRequireDefault(n);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}var o=function(){function Processor(e,r){_classCallCheck(this,Processor);this.func=e||function noop(){};this.funcRes=null;this.options=r}Processor.prototype._shouldUpdateSelector=function _shouldUpdateSelector(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var t=Object.assign({},this.options,r);if(t.updateSelector===false){return false}else{return typeof e!=="string"}};Processor.prototype._isLossy=function _isLossy(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var r=Object.assign({},this.options,e);if(r.lossless===false){return true}else{return false}};Processor.prototype._root=function _root(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var t=new i.default(e,this._parseOptions(r));return t.root};Processor.prototype._parseOptions=function _parseOptions(e){return{lossy:this._isLossy(e)}};Processor.prototype._run=function _run(e){var r=this;var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return new Promise(function(n,i){try{var o=r._root(e,t);Promise.resolve(r.func(o)).then(function(n){var i=undefined;if(r._shouldUpdateSelector(e,t)){i=o.toString();e.selector=i}return{transform:n,root:o,string:i}}).then(n,i)}catch(e){i(e);return}})};Processor.prototype._runSync=function _runSync(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var t=this._root(e,r);var n=this.func(t);if(n&&typeof n.then==="function"){throw new Error("Selector processor returned a promise to a synchronous call.")}var i=undefined;if(r.updateSelector&&typeof e!=="string"){i=t.toString();e.selector=i}return{transform:n,root:t,string:i}};Processor.prototype.ast=function ast(e,r){return this._run(e,r).then(function(e){return e.root})};Processor.prototype.astSync=function astSync(e,r){return this._runSync(e,r).root};Processor.prototype.transform=function transform(e,r){return this._run(e,r).then(function(e){return e.transform})};Processor.prototype.transformSync=function transformSync(e,r){return this._runSync(e,r).transform};Processor.prototype.process=function process(e,r){return this._run(e,r).then(function(e){return e.string||e.root.toString()})};Processor.prototype.processSync=function processSync(e,r){var t=this._runSync(e,r);return t.string||t.root.toString()};return Processor}();r.default=o;e.exports=r["default"]},168:(e,r,t)=>{"use strict";r.__esModule=true;var n;var i=function(){function defineProperties(e,r){for(var t=0;t0&&arguments[0]!==undefined?arguments[0]:{};_classCallCheck(this,Attribute);var t=_possibleConstructorReturn(this,e.call(this,handleDeprecatedContructorOpts(r)));t.type=l.ATTRIBUTE;t.raws=t.raws||{};Object.defineProperty(t.raws,"unquoted",{get:h(function(){return t.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:h(function(){return t.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")});t._constructed=true;return t}Attribute.prototype.getQuotedValue=function getQuotedValue(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var r=this._determineQuoteMark(e);var t=g[r];var n=(0,s.default)(this._value,t);return n};Attribute.prototype._determineQuoteMark=function _determineQuoteMark(e){return e.smart?this.smartQuoteMark(e):this.preferredQuoteMark(e)};Attribute.prototype.setValue=function setValue(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};this._value=e;this._quoteMark=this._determineQuoteMark(r);this._syncRawValue()};Attribute.prototype.smartQuoteMark=function smartQuoteMark(e){var r=this.value;var t=r.replace(/[^']/g,"").length;var n=r.replace(/[^"]/g,"").length;if(t+n===0){var i=(0,s.default)(r,{isIdentifier:true});if(i===r){return Attribute.NO_QUOTE}else{var o=this.preferredQuoteMark(e);if(o===Attribute.NO_QUOTE){var a=this.quoteMark||e.quoteMark||Attribute.DOUBLE_QUOTE;var u=g[a];var f=(0,s.default)(r,u);if(f.length1&&arguments[1]!==undefined?arguments[1]:e;var t=arguments.length>2&&arguments[2]!==undefined?arguments[2]:defaultAttrConcat;var n=this._spacesFor(r);return t(this.stringifyProperty(e),n)};Attribute.prototype.offsetOf=function offsetOf(e){var r=1;var t=this._spacesFor("attribute");r+=t.before.length;if(e==="namespace"||e==="ns"){return this.namespace?r:-1}if(e==="attributeNS"){return r}r+=this.namespaceString.length;if(this.namespace){r+=1}if(e==="attribute"){return r}r+=this.stringifyProperty("attribute").length;r+=t.after.length;var n=this._spacesFor("operator");r+=n.before.length;var i=this.stringifyProperty("operator");if(e==="operator"){return i?r:-1}r+=i.length;r+=n.after.length;var o=this._spacesFor("value");r+=o.before.length;var s=this.stringifyProperty("value");if(e==="value"){return s?r:-1}r+=s.length;r+=o.after.length;var a=this._spacesFor("insensitive");r+=a.before.length;if(e==="insensitive"){return this.insensitive?r:-1}return-1};Attribute.prototype.toString=function toString(){var e=this;var r=[this.rawSpaceBefore,"["];r.push(this._stringFor("qualifiedAttribute","attribute"));if(this.operator&&this.value){r.push(this._stringFor("operator"));r.push(this._stringFor("value"));r.push(this._stringFor("insensitiveFlag","insensitive",function(r,t){if(r.length>0&&!e.quoted&&t.before.length===0&&!(e.spaces.value&&e.spaces.value.after)){t.before=" "}return defaultAttrConcat(r,t)}))}r.push("]");r.push(this.rawSpaceAfter);return r.join("")};i(Attribute,[{key:"quoted",get:function get(){var e=this.quoteMark;return e==="'"||e==='"'},set:function set(e){d()}},{key:"quoteMark",get:function get(){return this._quoteMark},set:function set(e){if(!this._constructed){this._quoteMark=e;return}if(this._quoteMark!==e){this._quoteMark=e;this._syncRawValue()}}},{key:"qualifiedAttribute",get:function get(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function get(){return this.insensitive?"i":""}},{key:"value",get:function get(){return this._value},set:function set(e){if(this._constructed){var r=unescapeValue(e),t=r.deprecatedUsage,n=r.unescaped,i=r.quoteMark;if(t){v()}if(n===this._value&&i===this._quoteMark){return}this._value=n;this._quoteMark=i;this._syncRawValue()}else{this._value=e}}},{key:"attribute",get:function get(){return this._attribute},set:function set(e){this._handleEscapes("attribute",e);this._attribute=e}}]);return Attribute}(c.default);y.NO_QUOTE=null;y.SINGLE_QUOTE="'";y.DOUBLE_QUOTE='"';r.default=y;var g=(n={"'":{quotes:"single",wrap:true},'"':{quotes:"double",wrap:true}},n[null]={isIdentifier:true},n);function defaultAttrConcat(e,r){return""+r.before+e+r.after}},2219:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t{"use strict";r.__esModule=true;var n=t(6202);var i=_interopRequireDefault(n);var o=t(6821);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Combinator,e);function Combinator(r){_classCallCheck(this,Combinator);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.COMBINATOR;return t}return Combinator}(i.default);r.default=s;e.exports=r["default"]},6249:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(6202);var i=_interopRequireDefault(n);var o=t(6821);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Comment,e);function Comment(r){_classCallCheck(this,Comment);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.COMMENT;return t}return Comment}(i.default);r.default=s;e.exports=r["default"]},720:(e,r,t)=>{"use strict";r.__esModule=true;r.universal=r.tag=r.string=r.selector=r.root=r.pseudo=r.nesting=r.id=r.comment=r.combinator=r.className=r.attribute=undefined;var n=t(168);var i=_interopRequireDefault(n);var o=t(2219);var s=_interopRequireDefault(o);var a=t(8296);var u=_interopRequireDefault(a);var f=t(6249);var c=_interopRequireDefault(f);var l=t(5325);var p=_interopRequireDefault(l);var h=t(996);var B=_interopRequireDefault(h);var v=t(4382);var d=_interopRequireDefault(v);var b=t(1921);var y=_interopRequireDefault(b);var g=t(8470);var m=_interopRequireDefault(g);var C=t(6137);var w=_interopRequireDefault(C);var S=t(1797);var O=_interopRequireDefault(S);var T=t(3860);var E=_interopRequireDefault(T);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var k=r.attribute=function attribute(e){return new i.default(e)};var P=r.className=function className(e){return new s.default(e)};var D=r.combinator=function combinator(e){return new u.default(e)};var A=r.comment=function comment(e){return new c.default(e)};var R=r.id=function id(e){return new p.default(e)};var F=r.nesting=function nesting(e){return new B.default(e)};var x=r.pseudo=function pseudo(e){return new d.default(e)};var j=r.root=function root(e){return new y.default(e)};var I=r.selector=function selector(e){return new m.default(e)};var M=r.string=function string(e){return new w.default(e)};var N=r.tag=function tag(e){return new O.default(e)};var _=r.universal=function universal(e){return new E.default(e)}},6663:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t=e){this.indexes[t]=r-1}}return this};Container.prototype.removeAll=function removeAll(){for(var e=this.nodes,r=Array.isArray(e),t=0,e=r?e:e[Symbol.iterator]();;){var n;if(r){if(t>=e.length)break;n=e[t++]}else{t=e.next();if(t.done)break;n=t.value}var i=n;i.parent=undefined}this.nodes=[];return this};Container.prototype.empty=function empty(){return this.removeAll()};Container.prototype.insertAfter=function insertAfter(e,r){r.parent=this;var t=this.index(e);this.nodes.splice(t+1,0,r);r.parent=this;var n=void 0;for(var i in this.indexes){n=this.indexes[i];if(t<=n){this.indexes[i]=n+1}}return this};Container.prototype.insertBefore=function insertBefore(e,r){r.parent=this;var t=this.index(e);this.nodes.splice(t,0,r);r.parent=this;var n=void 0;for(var i in this.indexes){n=this.indexes[i];if(n<=t){this.indexes[i]=n+1}}return this};Container.prototype._findChildAtPosition=function _findChildAtPosition(e,r){var t=undefined;this.each(function(n){if(n.atPosition){var i=n.atPosition(e,r);if(i){t=i;return false}}else if(n.isAtPosition(e,r)){t=n;return false}});return t};Container.prototype.atPosition=function atPosition(e,r){if(this.isAtPosition(e,r)){return this._findChildAtPosition(e,r)||this}else{return undefined}};Container.prototype._inferEndPosition=function _inferEndPosition(){if(this.last&&this.last.source&&this.last.source.end){this.source=this.source||{};this.source.end=this.source.end||{};Object.assign(this.source.end,this.last.source.end)}};Container.prototype.each=function each(e){if(!this.lastEach){this.lastEach=0}if(!this.indexes){this.indexes={}}this.lastEach++;var r=this.lastEach;this.indexes[r]=0;if(!this.length){return undefined}var t=void 0,n=void 0;while(this.indexes[r]{"use strict";r.__esModule=true;r.isUniversal=r.isTag=r.isString=r.isSelector=r.isRoot=r.isPseudo=r.isNesting=r.isIdentifier=r.isComment=r.isCombinator=r.isClassName=r.isAttribute=undefined;var n=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var i;r.isNode=isNode;r.isPseudoElement=isPseudoElement;r.isPseudoClass=isPseudoClass;r.isContainer=isContainer;r.isNamespace=isNamespace;var o=t(6821);var s=(i={},i[o.ATTRIBUTE]=true,i[o.CLASS]=true,i[o.COMBINATOR]=true,i[o.COMMENT]=true,i[o.ID]=true,i[o.NESTING]=true,i[o.PSEUDO]=true,i[o.ROOT]=true,i[o.SELECTOR]=true,i[o.STRING]=true,i[o.TAG]=true,i[o.UNIVERSAL]=true,i);function isNode(e){return(typeof e==="undefined"?"undefined":n(e))==="object"&&s[e.type]}function isNodeType(e,r){return isNode(r)&&r.type===e}var a=r.isAttribute=isNodeType.bind(null,o.ATTRIBUTE);var u=r.isClassName=isNodeType.bind(null,o.CLASS);var f=r.isCombinator=isNodeType.bind(null,o.COMBINATOR);var c=r.isComment=isNodeType.bind(null,o.COMMENT);var l=r.isIdentifier=isNodeType.bind(null,o.ID);var p=r.isNesting=isNodeType.bind(null,o.NESTING);var h=r.isPseudo=isNodeType.bind(null,o.PSEUDO);var B=r.isRoot=isNodeType.bind(null,o.ROOT);var v=r.isSelector=isNodeType.bind(null,o.SELECTOR);var d=r.isString=isNodeType.bind(null,o.STRING);var b=r.isTag=isNodeType.bind(null,o.TAG);var y=r.isUniversal=isNodeType.bind(null,o.UNIVERSAL);function isPseudoElement(e){return h(e)&&e.value&&(e.value.startsWith("::")||e.value===":before"||e.value===":after")}function isPseudoClass(e){return h(e)&&!isPseudoElement(e)}function isContainer(e){return!!(isNode(e)&&e.walk)}function isNamespace(e){return a(e)||b(e)}},5325:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(6202);var i=_interopRequireDefault(n);var o=t(6821);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(ID,e);function ID(r){_classCallCheck(this,ID);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.ID;return t}ID.prototype.toString=function toString(){return[this.rawSpaceBefore,String("#"+this.stringifyProperty("value")),this.rawSpaceAfter].join("")};return ID}(i.default);r.default=s;e.exports=r["default"]},8402:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(6821);Object.keys(n).forEach(function(e){if(e==="default"||e==="__esModule")return;Object.defineProperty(r,e,{enumerable:true,get:function get(){return n[e]}})});var i=t(720);Object.keys(i).forEach(function(e){if(e==="default"||e==="__esModule")return;Object.defineProperty(r,e,{enumerable:true,get:function get(){return i[e]}})});var o=t(4667);Object.keys(o).forEach(function(e){if(e==="default"||e==="__esModule")return;Object.defineProperty(r,e,{enumerable:true,get:function get(){return o[e]}})})},1950:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t{"use strict";r.__esModule=true;var n=t(6202);var i=_interopRequireDefault(n);var o=t(6821);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Nesting,e);function Nesting(r){_classCallCheck(this,Nesting);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.NESTING;t.value="&";return t}return Nesting}(i.default);r.default=s;e.exports=r["default"]},6202:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t0&&arguments[0]!==undefined?arguments[0]:{};_classCallCheck(this,Node);Object.assign(this,e);this.spaces=this.spaces||{};this.spaces.before=this.spaces.before||"";this.spaces.after=this.spaces.after||""}Node.prototype.remove=function remove(){if(this.parent){this.parent.removeChild(this)}this.parent=undefined;return this};Node.prototype.replaceWith=function replaceWith(){if(this.parent){for(var e in arguments){this.parent.insertBefore(this,arguments[e])}this.remove()}return this};Node.prototype.next=function next(){return this.parent.at(this.parent.index(this)+1)};Node.prototype.prev=function prev(){return this.parent.at(this.parent.index(this)-1)};Node.prototype.clone=function clone(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var r=s(this);for(var t in e){r[t]=e[t]}return r};Node.prototype.appendToPropertyAndEscape=function appendToPropertyAndEscape(e,r,t){if(!this.raws){this.raws={}}var n=this[e];var i=this.raws[e];this[e]=n+r;if(i||t!==r){this.raws[e]=(i||n)+t}else{delete this.raws[e]}};Node.prototype.setPropertyAndEscape=function setPropertyAndEscape(e,r,t){if(!this.raws){this.raws={}}this[e]=r;this.raws[e]=t};Node.prototype.setPropertyWithoutEscape=function setPropertyWithoutEscape(e,r){this[e]=r;if(this.raws){delete this.raws[e]}};Node.prototype.isAtPosition=function isAtPosition(e,r){if(this.source&&this.source.start&&this.source.end){if(this.source.start.line>e){return false}if(this.source.end.liner){return false}if(this.source.end.line===e&&this.source.end.column{"use strict";r.__esModule=true;var n=t(6663);var i=_interopRequireDefault(n);var o=t(6821);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Pseudo,e);function Pseudo(r){_classCallCheck(this,Pseudo);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.PSEUDO;return t}Pseudo.prototype.toString=function toString(){var e=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),e,this.rawSpaceAfter].join("")};return Pseudo}(i.default);r.default=s;e.exports=r["default"]},1921:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t{"use strict";r.__esModule=true;var n=t(6663);var i=_interopRequireDefault(n);var o=t(6821);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Selector,e);function Selector(r){_classCallCheck(this,Selector);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.SELECTOR;return t}return Selector}(i.default);r.default=s;e.exports=r["default"]},6137:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(6202);var i=_interopRequireDefault(n);var o=t(6821);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(String,e);function String(r){_classCallCheck(this,String);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.STRING;return t}return String}(i.default);r.default=s;e.exports=r["default"]},1797:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(1950);var i=_interopRequireDefault(n);var o=t(6821);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Tag,e);function Tag(r){_classCallCheck(this,Tag);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.TAG;return t}return Tag}(i.default);r.default=s;e.exports=r["default"]},6821:(e,r)=>{"use strict";r.__esModule=true;var t=r.TAG="tag";var n=r.STRING="string";var i=r.SELECTOR="selector";var o=r.ROOT="root";var s=r.PSEUDO="pseudo";var a=r.NESTING="nesting";var u=r.ID="id";var f=r.COMMENT="comment";var c=r.COMBINATOR="combinator";var l=r.CLASS="class";var p=r.ATTRIBUTE="attribute";var h=r.UNIVERSAL="universal"},3860:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(1950);var i=_interopRequireDefault(n);var o=t(6821);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Universal,e);function Universal(r){_classCallCheck(this,Universal);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.UNIVERSAL;t.value="*";return t}return Universal}(i.default);r.default=s;e.exports=r["default"]},8017:(e,r)=>{"use strict";r.__esModule=true;r.default=sortAscending;function sortAscending(e){return e.sort(function(e,r){return e-r})}e.exports=r["default"]},866:(e,r)=>{"use strict";r.__esModule=true;var t=r.ampersand=38;var n=r.asterisk=42;var i=r.at=64;var o=r.comma=44;var s=r.colon=58;var a=r.semicolon=59;var u=r.openParenthesis=40;var f=r.closeParenthesis=41;var c=r.openSquare=91;var l=r.closeSquare=93;var p=r.dollar=36;var h=r.tilde=126;var B=r.caret=94;var v=r.plus=43;var d=r.equals=61;var b=r.pipe=124;var y=r.greaterThan=62;var g=r.space=32;var m=r.singleQuote=39;var C=r.doubleQuote=34;var w=r.slash=47;var S=r.bang=33;var O=r.backslash=92;var T=r.cr=13;var E=r.feed=12;var k=r.newline=10;var P=r.tab=9;var D=r.str=m;var A=r.comment=-1;var R=r.word=-2;var F=r.combinator=-3},2188:(e,r,t)=>{"use strict";r.__esModule=true;r.FIELDS=undefined;var n,i;r.default=tokenize;var o=t(866);var s=_interopRequireWildcard(o);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var r={};if(e!=null){for(var t in e){if(Object.prototype.hasOwnProperty.call(e,t))r[t]=e[t]}}r.default=e;return r}}var a=(n={},n[s.tab]=true,n[s.newline]=true,n[s.cr]=true,n[s.feed]=true,n);var u=(i={},i[s.space]=true,i[s.tab]=true,i[s.newline]=true,i[s.cr]=true,i[s.feed]=true,i[s.ampersand]=true,i[s.asterisk]=true,i[s.bang]=true,i[s.comma]=true,i[s.colon]=true,i[s.semicolon]=true,i[s.openParenthesis]=true,i[s.closeParenthesis]=true,i[s.openSquare]=true,i[s.closeSquare]=true,i[s.singleQuote]=true,i[s.doubleQuote]=true,i[s.plus]=true,i[s.pipe]=true,i[s.tilde]=true,i[s.greaterThan]=true,i[s.equals]=true,i[s.dollar]=true,i[s.caret]=true,i[s.slash]=true,i);var f={};var c="0123456789abcdefABCDEF";for(var l=0;l0){g=a+d;m=y-b[d].length}else{g=a;m=o}w=s.comment;a=g;h=g;p=y-m}else if(c===s.slash){y=u;w=c;h=a;p=u-o;f=y+1}else{y=consumeWord(t,u);w=s.word;h=a;p=y-o}f=y+1;break}r.push([w,a,u-o,h,p,u,f]);if(m){o=m;m=null}u=f}return r}},7479:(e,r)=>{"use strict";r.__esModule=true;r.default=ensureObject;function ensureObject(e){for(var r=arguments.length,t=Array(r>1?r-1:0),n=1;n0){var i=t.shift();if(!e[i]){e[i]={}}e=e[i]}}e.exports=r["default"]},9977:(e,r)=>{"use strict";r.__esModule=true;r.default=getProp;function getProp(e){for(var r=arguments.length,t=Array(r>1?r-1:0),n=1;n0){var i=t.shift();if(!e[i]){return undefined}e=e[i]}return e}e.exports=r["default"]},5247:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(4680);Object.defineProperty(r,"unesc",{enumerable:true,get:function get(){return _interopRequireDefault(n).default}});var i=t(9977);Object.defineProperty(r,"getProp",{enumerable:true,get:function get(){return _interopRequireDefault(i).default}});var o=t(7479);Object.defineProperty(r,"ensureObject",{enumerable:true,get:function get(){return _interopRequireDefault(o).default}});var s=t(4236);Object.defineProperty(r,"stripComments",{enumerable:true,get:function get(){return _interopRequireDefault(s).default}});function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},4236:(e,r)=>{"use strict";r.__esModule=true;r.default=stripComments;function stripComments(e){var r="";var t=e.indexOf("/*");var n=0;while(t>=0){r=r+e.slice(n,t);var i=e.indexOf("*/",t+2);if(i<0){return r}n=i+2;t=e.indexOf("/*",n)}r=r+e.slice(n);return r}e.exports=r["default"]},4680:(e,r)=>{"use strict";r.__esModule=true;r.default=unesc;var t=/\\(?:([0-9a-fA-F]{6})|([0-9a-fA-F]{1,5})(?: |(?![0-9a-fA-F])))/g;var n=/\\(.)/g;function unesc(e){e=e.replace(t,function(e,r,t){var n=r||t;var i=parseInt(n,16);return String.fromCharCode(i)});e=e.replace(n,function(e,r){return r});return e}e.exports=r["default"]},2616:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(7802));var i=_interopDefault(t(4510));var o=n.plugin("postcss-color-functional-notation",e=>{const r="preserve"in Object(e)?Boolean(e.preserve):false;return e=>{e.walkDecls(e=>{const t=e.value;if(u.test(t)){const n=i(t).parse();n.walkType("func",e=>{if(f.test(e.value)){const r=e.nodes.slice(1,-1);const t=P(e,r);const n=D(e,r);const i=A(e,r);if(t||n||i){const t=r[3];const n=r[4];if(n){if(g(n)&&!d(n)){n.unit="";n.value=String(n.value/100)}if(C(e)){e.value+="a"}}else if(w(e)){e.value=e.value.slice(0,-1)}if(t&&O(t)){t.replaceWith(R())}if(i){r[0].unit=r[1].unit=r[2].unit="";r[0].value=String(Math.floor(r[0].value*255/100));r[1].value=String(Math.floor(r[1].value*255/100));r[2].value=String(Math.floor(r[2].value*255/100))}e.nodes.splice(3,0,[R()]);e.nodes.splice(2,0,[R()])}}});const o=String(n);if(o!==t){if(r){e.cloneBefore({value:o})}else{e.value=o}}}})}});const s=/^%?$/i;const a=/^calc$/i;const u=/(^|[^\w-])(hsla?|rgba?)\(/i;const f=/^(hsla?|rgba?)$/i;const c=/^hsla?$/i;const l=/^(hsl|rgb)$/i;const p=/^(hsla|rgba)$/i;const h=/^(deg|grad|rad|turn)?$/i;const B=/^rgba?$/i;const v=e=>d(e)||e.type==="number"&&s.test(e.unit);const d=e=>e.type==="func"&&a.test(e.value);const b=e=>d(e)||e.type==="number"&&h.test(e.unit);const y=e=>d(e)||e.type==="number"&&e.unit==="";const g=e=>d(e)||e.type==="number"&&(e.unit==="%"||e.unit===""&&e.value==="0");const m=e=>e.type==="func"&&c.test(e.value);const C=e=>e.type==="func"&&l.test(e.value);const w=e=>e.type==="func"&&p.test(e.value);const S=e=>e.type==="func"&&B.test(e.value);const O=e=>e.type==="operator"&&e.value==="/";const T=[b,g,g,O,v];const E=[y,y,y,O,v];const k=[g,g,g,O,v];const P=(e,r)=>m(e)&&r.every((e,r)=>typeof T[r]==="function"&&T[r](e));const D=(e,r)=>S(e)&&r.every((e,r)=>typeof E[r]==="function"&&E[r](e));const A=(e,r)=>S(e)&&r.every((e,r)=>typeof k[r]==="function"&&k[r](e));const R=()=>i.comma({value:","});e.exports=o},8283:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(7802));var i=_interopDefault(t(4510));var o=t(7306);function _slicedToArray(e,r){return _arrayWithHoles(e)||_iterableToArrayLimit(e,r)||_nonIterableRest()}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _iterableToArrayLimit(e,r){var t=[];var n=true;var i=false;var o=undefined;try{for(var s=e[Symbol.iterator](),a;!(n=(a=s.next()).done);n=true){t.push(a.value);if(r&&t.length===r)break}}catch(e){i=true;o=e}finally{try{if(!n&&s["return"]!=null)s["return"]()}finally{if(i)throw o}}return t}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}var s=n.plugin("postcss-color-gray",e=>r=>{r.walkDecls(r=>{if(u(r)){const t=r.value;const n=i(t).parse();n.walk(e=>{const r=S(e),t=_slicedToArray(r,2),n=t[0],s=t[1];if(n!==undefined){e.value="rgb";const r=o.lab2rgb(n,0,0).map(e=>Math.max(Math.min(Math.round(e*2.55),255),0)),t=_slicedToArray(r,3),a=t[0],u=t[1],f=t[2];const c=e.first;const l=e.last;e.removeAll().append(c).append(i.number({value:a})).append(i.comma({value:","})).append(i.number({value:u})).append(i.comma({value:","})).append(i.number({value:f}));if(s<1){e.value+="a";e.append(i.comma({value:","})).append(i.number({value:s}))}e.append(l)}});const s=n.toString();if(t!==s){if(Object(e).preserve){r.cloneBefore({value:s})}else{r.value=s}}}})});const a=/(^|[^\w-])gray\(/i;const u=e=>a.test(Object(e).value);const f=e=>Object(e).type==="number";const c=e=>Object(e).type==="operator";const l=e=>Object(e).type==="func";const p=/^calc$/i;const h=e=>l(e)&&p.test(e.value);const B=/^gray$/i;const v=e=>l(e)&&B.test(e.value)&&e.nodes&&e.nodes.length;const d=e=>f(e)&&e.unit==="%";const b=e=>f(e)&&e.unit==="";const y=e=>c(e)&&e.value==="/";const g=e=>b(e)?Number(e.value):undefined;const m=e=>y(e)?null:undefined;const C=e=>h(e)?String(e):b(e)?Number(e.value):d(e)?Number(e.value)/100:undefined;const w=[g,m,C];const S=e=>{const r=[];if(v(e)){const t=e.nodes.slice(1,-1);for(const e in t){const n=typeof w[e]==="function"?w[e](t[e]):undefined;if(n!==undefined){if(n!==null){r.push(n)}}else{return[]}}return r}else{return[]}};e.exports=s},8276:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(7802));var i=_interopDefault(t(4510));var o=n.plugin("postcss-color-hex-alpha",e=>{const r="preserve"in Object(e)?Boolean(e.preserve):false;return e=>{e.walkDecls(e=>{if(a(e)){const t=i(e.value).parse();f(t,e=>{if(l(e)){e.replaceWith(p(e))}});const n=String(t);if(e.value!==n){if(r){e.cloneBefore({value:n})}else{e.value=n}}}})}});const s=/#([0-9A-Fa-f]{4}(?:[0-9A-Fa-f]{4})?)\b/;const a=e=>s.test(e.value);const u=/^#([0-9A-Fa-f]{4}(?:[0-9A-Fa-f]{4})?)$/;const f=(e,r)=>{if(Object(e.nodes).length){e.nodes.slice().forEach(e=>{r(e);f(e,r)})}};const c=1e5;const l=e=>e.type==="word"&&u.test(e.value);const p=e=>{const r=e.value;const t=`0x${r.length===5?r.slice(1).replace(/[0-9A-f]/g,"$&$&"):r.slice(1)}`;const n=[parseInt(t.slice(2,4),16),parseInt(t.slice(4,6),16),parseInt(t.slice(6,8),16),Math.round(parseInt(t.slice(8,10),16)/255*c)/c],o=n[0],s=n[1],a=n[2],u=n[3];const f=i.func({value:"rgba",raws:Object.assign({},e.raws)});f.append(i.paren({value:"("}));f.append(i.number({value:o}));f.append(i.comma({value:","}));f.append(i.number({value:s}));f.append(i.comma({value:","}));f.append(i.number({value:a}));f.append(i.comma({value:","}));f.append(i.number({value:u}));f.append(i.paren({value:")"}));return f};e.exports=o},1455:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(4510));var i=_interopDefault(t(5747));var o=_interopDefault(t(5622));var s=_interopDefault(t(7802));var a=t(7306);function asyncGeneratorStep(e,r,t,n,i,o,s){try{var a=e[o](s);var u=a.value}catch(e){t(e);return}if(a.done){r(u)}else{Promise.resolve(u).then(n,i)}}function _asyncToGenerator(e){return function(){var r=this,t=arguments;return new Promise(function(n,i){var o=e.apply(r,t);function _next(e){asyncGeneratorStep(o,n,i,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(o,n,i,_next,_throw,"throw",e)}_next(undefined)})}}function _defineProperty(e,r,t){if(r in e){Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true})}else{e[r]=t}return e}function _objectSpread(e){for(var r=1;r{const o=l(e)?t:p(e)?i:null;if(o){e.nodes.slice().forEach(e=>{if(h(e)){const t=e.prop;o[t]=n(e.value).parse();if(!r.preserve){e.remove()}}});if(!r.preserve&&B(e)){e.remove()}}});return _objectSpread({},t,i)}const u=/^html$/i;const f=/^:root$/i;const c=/^--[A-z][\w-]*$/;const l=e=>e.type==="rule"&&u.test(e.selector)&&Object(e.nodes).length;const p=e=>e.type==="rule"&&f.test(e.selector)&&Object(e.nodes).length;const h=e=>e.type==="decl"&&c.test(e.prop);const B=e=>Object(e.nodes).length===0;function importCustomPropertiesFromCSSAST(e){return getCustomProperties(e,{preserve:true})}function importCustomPropertiesFromCSSFile(e){return _importCustomPropertiesFromCSSFile.apply(this,arguments)}function _importCustomPropertiesFromCSSFile(){_importCustomPropertiesFromCSSFile=_asyncToGenerator(function*(e){const r=yield v(e);const t=s.parse(r,{from:e});return importCustomPropertiesFromCSSAST(t)});return _importCustomPropertiesFromCSSFile.apply(this,arguments)}function importCustomPropertiesFromObject(e){const r=Object.assign({},Object(e).customProperties||Object(e)["custom-properties"]);for(const e in r){r[e]=n(r[e]).parse()}return r}function importCustomPropertiesFromJSONFile(e){return _importCustomPropertiesFromJSONFile.apply(this,arguments)}function _importCustomPropertiesFromJSONFile(){_importCustomPropertiesFromJSONFile=_asyncToGenerator(function*(e){const r=yield d(e);return importCustomPropertiesFromObject(r)});return _importCustomPropertiesFromJSONFile.apply(this,arguments)}function importCustomPropertiesFromJSFile(e){return _importCustomPropertiesFromJSFile.apply(this,arguments)}function _importCustomPropertiesFromJSFile(){_importCustomPropertiesFromJSFile=_asyncToGenerator(function*(e){const r=yield Promise.resolve(require(e));return importCustomPropertiesFromObject(r)});return _importCustomPropertiesFromJSFile.apply(this,arguments)}function importCustomPropertiesFromSources(e){return e.map(e=>{if(e instanceof Promise){return e}else if(e instanceof Function){return e()}const r=e===Object(e)?e:{from:String(e)};if(r.customProperties||r["custom-properties"]){return r}const t=o.resolve(String(r.from||""));const n=(r.type||o.extname(t).slice(1)).toLowerCase();return{type:n,from:t}}).reduce(function(){var e=_asyncToGenerator(function*(e,r){const t=yield r,n=t.type,i=t.from;if(n==="ast"){return Object.assign(yield e,importCustomPropertiesFromCSSAST(i))}if(n==="css"){return Object.assign(yield e,yield importCustomPropertiesFromCSSFile(i))}if(n==="js"){return Object.assign(yield e,yield importCustomPropertiesFromJSFile(i))}if(n==="json"){return Object.assign(yield e,yield importCustomPropertiesFromJSONFile(i))}return Object.assign(yield e,yield importCustomPropertiesFromObject(yield r))});return function(r,t){return e.apply(this,arguments)}}(),{})}const v=e=>new Promise((r,t)=>{i.readFile(e,"utf8",(e,n)=>{if(e){t(e)}else{r(n)}})});const d=function(){var e=_asyncToGenerator(function*(e){return JSON.parse(yield v(e))});return function readJSON(r){return e.apply(this,arguments)}}();function convertDtoD(e){return e%360}function convertGtoD(e){return e*.9%360}function convertRtoD(e){return e*180/Math.PI%360}function convertTtoD(e){return e*360%360}function convertNtoRGB(e){const r={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],transparent:[0,0,0],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};return r[e]&&r[e].map(e=>e/2.55)}function convertHtoRGB(e){const r=(e.match(b)||[]).slice(1),t=_slicedToArray(r,8),n=t[0],i=t[1],o=t[2],s=t[3],a=t[4],u=t[5],f=t[6],c=t[7];if(a!==undefined||n!==undefined){const e=a!==undefined?parseInt(a,16):n!==undefined?parseInt(n+n,16):0;const r=u!==undefined?parseInt(u,16):i!==undefined?parseInt(i+i,16):0;const t=f!==undefined?parseInt(f,16):o!==undefined?parseInt(o+o,16):0;const l=c!==undefined?parseInt(c,16):s!==undefined?parseInt(s+s,16):255;return[e,r,t,l].map(e=>e/2.55)}return undefined}const b=/^#(?:([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?|([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?)$/i;class Color{constructor(e){this.color=Object(Object(e).color||e);this.color.colorspace=this.color.colorspace?this.color.colorspace:"red"in e&&"green"in e&&"blue"in e?"rgb":"hue"in e&&"saturation"in e&&"lightness"in e?"hsl":"hue"in e&&"whiteness"in e&&"blackness"in e?"hwb":"unknown";if(e.colorspace==="rgb"){this.color.hue=a.rgb2hue(e.red,e.green,e.blue,e.hue||0)}}alpha(e){const r=this.color;return e===undefined?r.alpha:new Color(assign(r,{alpha:e}))}blackness(e){const r=color2hwb(this.color);return e===undefined?r.blackness:new Color(assign(r,{blackness:e}))}blend(e,r,t="rgb"){const n=this.color;return new Color(blend(n,e,r,t))}blenda(e,r,t="rgb"){const n=this.color;return new Color(blend(n,e,r,t,true))}blue(e){const r=color2rgb(this.color);return e===undefined?r.blue:new Color(assign(r,{blue:e}))}contrast(e){const r=this.color;return new Color(contrast(r,e))}green(e){const r=color2rgb(this.color);return e===undefined?r.green:new Color(assign(r,{green:e}))}hue(e){const r=color2hsl(this.color);return e===undefined?r.hue:new Color(assign(r,{hue:e}))}lightness(e){const r=color2hsl(this.color);return e===undefined?r.lightness:new Color(assign(r,{lightness:e}))}red(e){const r=color2rgb(this.color);return e===undefined?r.red:new Color(assign(r,{red:e}))}rgb(e,r,t){const n=color2rgb(this.color);return new Color(assign(n,{red:e,green:r,blue:t}))}saturation(e){const r=color2hsl(this.color);return e===undefined?r.saturation:new Color(assign(r,{saturation:e}))}shade(e){const r=color2hwb(this.color);const t={hue:0,whiteness:0,blackness:100,colorspace:"hwb"};const n="rgb";return e===undefined?r.blackness:new Color(blend(r,t,e,n))}tint(e){const r=color2hwb(this.color);const t={hue:0,whiteness:100,blackness:0,colorspace:"hwb"};const n="rgb";return e===undefined?r.blackness:new Color(blend(r,t,e,n))}whiteness(e){const r=color2hwb(this.color);return e===undefined?r.whiteness:new Color(assign(r,{whiteness:e}))}toHSL(){return color2hslString(this.color)}toHWB(){return color2hwbString(this.color)}toLegacy(){return color2legacyString(this.color)}toRGB(){return color2rgbString(this.color)}toRGBLegacy(){return color2rgbLegacyString(this.color)}toString(){return color2string(this.color)}}function blend(e,r,t,n,i){const o=t/100;const s=1-o;if(n==="hsl"){const t=color2hsl(e),n=t.hue,a=t.saturation,u=t.lightness,f=t.alpha;const c=color2hsl(r),l=c.hue,p=c.saturation,h=c.lightness,B=c.alpha;const v=n*s+l*o,d=a*s+p*o,b=u*s+h*o,y=i?f*s+B*o:f;return{hue:v,saturation:d,lightness:b,alpha:y,colorspace:"hsl"}}else if(n==="hwb"){const t=color2hwb(e),n=t.hue,a=t.whiteness,u=t.blackness,f=t.alpha;const c=color2hwb(r),l=c.hue,p=c.whiteness,h=c.blackness,B=c.alpha;const v=n*s+l*o,d=a*s+p*o,b=u*s+h*o,y=i?f*s+B*o:f;return{hue:v,whiteness:d,blackness:b,alpha:y,colorspace:"hwb"}}else{const t=color2rgb(e),n=t.red,a=t.green,u=t.blue,f=t.alpha;const c=color2rgb(r),l=c.red,p=c.green,h=c.blue,B=c.alpha;const v=n*s+l*o,d=a*s+p*o,b=u*s+h*o,y=i?f*s+B*o:f;return{red:v,green:d,blue:b,alpha:y,colorspace:"rgb"}}}function assign(e,r){const t=Object.assign({},e);Object.keys(r).forEach(n=>{const i=n==="hue";const o=!i&&y.test(n);const s=normalize(r[n],n);t[n]=s;if(o){t.hue=a.rgb2hue(t.red,t.green,t.blue,e.hue||0)}});return t}function normalize(e,r){const t=r==="hue";const n=0;const i=t?360:100;const o=Math.min(Math.max(t?e%360:e,n),i);return o}function color2rgb(e){const r=e.colorspace==="hsl"?a.hsl2rgb(e.hue,e.saturation,e.lightness):e.colorspace==="hwb"?a.hwb2rgb(e.hue,e.whiteness,e.blackness):[e.red,e.green,e.blue],t=_slicedToArray(r,3),n=t[0],i=t[1],o=t[2];return{red:n,green:i,blue:o,hue:e.hue,alpha:e.alpha,colorspace:"rgb"}}function color2hsl(e){const r=e.colorspace==="rgb"?a.rgb2hsl(e.red,e.green,e.blue,e.hue):e.colorspace==="hwb"?a.hwb2hsl(e.hue,e.whiteness,e.blackness):[e.hue,e.saturation,e.lightness],t=_slicedToArray(r,3),n=t[0],i=t[1],o=t[2];return{hue:n,saturation:i,lightness:o,alpha:e.alpha,colorspace:"hsl"}}function color2hwb(e){const r=e.colorspace==="rgb"?a.rgb2hwb(e.red,e.green,e.blue,e.hue):e.colorspace==="hsl"?a.hsl2hwb(e.hue,e.saturation,e.lightness):[e.hue,e.whiteness,e.blackness],t=_slicedToArray(r,3),n=t[0],i=t[1],o=t[2];return{hue:n,whiteness:i,blackness:o,alpha:e.alpha,colorspace:"hwb"}}function contrast(e,r){const t=color2hwb(e);const n=color2rgb(e);const i=rgb2luminance(n.red,n.green,n.blue);const o=i<.5?{hue:t.hue,whiteness:100,blackness:0,alpha:t.alpha,colorspace:"hwb"}:{hue:t.hue,whiteness:0,blackness:100,alpha:t.alpha,colorspace:"hwb"};const s=colors2contrast(e,o);const a=s>4.5?colors2contrastRatioColor(t,o):o;return blend(o,a,r,"hwb",false)}function colors2contrast(e,r){const t=color2rgb(e);const n=color2rgb(r);const i=rgb2luminance(t.red,t.green,t.blue);const o=rgb2luminance(n.red,n.green,n.blue);return i>o?(i+.05)/(o+.05):(o+.05)/(i+.05)}function rgb2luminance(e,r,t){const n=[channel2luminance(e),channel2luminance(r),channel2luminance(t)],i=n[0],o=n[1],s=n[2];const a=.2126*i+.7152*o+.0722*s;return a}function channel2luminance(e){const r=e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4);return r}function colors2contrastRatioColor(e,r){const t=Object.assign({},e);let n=e.whiteness;let i=e.blackness;let o=r.whiteness;let s=r.blackness;while(Math.abs(n-o)>100||Math.abs(i-s)>100){const r=Math.round((o+n)/2);const a=Math.round((s+i)/2);t.whiteness=r;t.blackness=a;if(colors2contrast(t,e)>4.5){o=r;s=a}else{n=r;i=a}}return t}const y=/^(blue|green|red)$/i;function color2string(e){return e.colorspace==="hsl"?color2hslString(e):e.colorspace==="hwb"?color2hwbString(e):color2rgbString(e)}function color2hslString(e){const r=color2hsl(e);const t=r.alpha===100;const n=r.hue;const i=Math.round(r.saturation*1e10)/1e10;const o=Math.round(r.lightness*1e10)/1e10;const s=Math.round(r.alpha*1e10)/1e10;return`hsl(${n} ${i}% ${o}%${t?"":` / ${s}%`})`}function color2hwbString(e){const r=color2hwb(e);const t=r.alpha===100;const n=r.hue;const i=Math.round(r.whiteness*1e10)/1e10;const o=Math.round(r.blackness*1e10)/1e10;const s=Math.round(r.alpha*1e10)/1e10;return`hwb(${n} ${i}% ${o}%${t?"":` / ${s}%`})`}function color2rgbString(e){const r=color2rgb(e);const t=r.alpha===100;const n=Math.round(r.red*1e10)/1e10;const i=Math.round(r.green*1e10)/1e10;const o=Math.round(r.blue*1e10)/1e10;const s=Math.round(r.alpha*1e10)/1e10;return`rgb(${n}% ${i}% ${o}%${t?"":` / ${s}%`})`}function color2legacyString(e){return e.colorspace==="hsl"?color2hslLegacyString(e):color2rgbLegacyString(e)}function color2rgbLegacyString(e){const r=color2rgb(e);const t=r.alpha===100;const n=t?"rgb":"rgba";const i=Math.round(r.red*255/100);const o=Math.round(r.green*255/100);const s=Math.round(r.blue*255/100);const a=Math.round(r.alpha/100*1e10)/1e10;return`${n}(${i}, ${o}, ${s}${t?"":`, ${a}`})`}function color2hslLegacyString(e){const r=color2hsl(e);const t=r.alpha===100;const n=t?"hsl":"hsla";const i=r.hue;const o=Math.round(r.saturation*1e10)/1e10;const s=Math.round(r.lightness*1e10)/1e10;const a=Math.round(r.alpha/100*1e10)/1e10;return`${n}(${i}, ${o}%, ${s}%${t?"":`, ${a}`})`}function manageUnresolved(e,r,t,n){if("warn"===r.unresolved){r.decl.warn(r.result,n,{word:t})}else if("ignore"!==r.unresolved){throw r.decl.error(n,{word:t})}}function transformAST(e,r){e.nodes.slice(0).forEach(e=>{if(isColorModFunction(e)){if(r.transformVars){transformVariables(e,r)}const t=transformColorModFunction(e,r);if(t){e.replaceWith(n.word({raws:e.raws,value:r.stringifier(t)}))}}else if(e.nodes&&Object(e.nodes).length){transformAST(e,r)}})}function transformVariables(e,r){walk(e,e=>{if(isVariable(e)){const t=transformArgsByParams(e,[[transformWord,isComma,transformNode]]),n=_slicedToArray(t,2),i=n[0],o=n[1];if(i in r.customProperties){let t=r.customProperties[i];if(N.test(t)){const e=t.clone();transformVariables(e,r);t=e}if(t.nodes.length===1&&t.nodes[0].nodes.length){t.nodes[0].nodes.forEach(r=>{e.parent.insertBefore(e,r)})}e.remove()}else if(o&&o.nodes.length===1&&o.nodes[0].nodes.length){transformVariables(o,r);e.replaceWith(...o.nodes[0].nodes[0])}}})}function transformColor(e,r){if(isRGBFunction(e)){return transformRGBFunction(e,r)}else if(isHSLFunction(e)){return transformHSLFunction(e,r)}else if(isHWBFunction(e)){return transformHWBFunction(e,r)}else if(isColorModFunction(e)){return transformColorModFunction(e,r)}else if(isHexColor(e)){return transformHexColor(e,r)}else if(isNamedColor(e)){return transformNamedColor(e,r)}else{return manageUnresolved(e,r,e.value,`Expected a color`)}}function transformRGBFunction(e,r){const t=transformArgsByParams(e,[[transformPercentage,transformPercentage,transformPercentage,isSlash,transformAlpha],[transformRGBNumber,transformRGBNumber,transformRGBNumber,isSlash,transformAlpha],[transformPercentage,isComma,transformPercentage,isComma,transformPercentage,isComma,transformAlpha],[transformRGBNumber,isComma,transformRGBNumber,isComma,transformRGBNumber,isComma,transformAlpha]]),n=_slicedToArray(t,4),i=n[0],o=n[1],s=n[2],a=n[3],u=a===void 0?100:a;if(i!==undefined){const e=new Color({red:i,green:o,blue:s,alpha:u,colorspace:"rgb"});return e}else{return manageUnresolved(e,r,e.value,`Expected a valid rgb() function`)}}function transformHSLFunction(e,r){const t=transformArgsByParams(e,[[transformHue,transformPercentage,transformPercentage,isSlash,transformAlpha],[transformHue,isComma,transformPercentage,isComma,transformPercentage,isComma,transformAlpha]]),n=_slicedToArray(t,4),i=n[0],o=n[1],s=n[2],a=n[3],u=a===void 0?100:a;if(s!==undefined){const e=new Color({hue:i,saturation:o,lightness:s,alpha:u,colorspace:"hsl"});return e}else{return manageUnresolved(e,r,e.value,`Expected a valid hsl() function`)}}function transformHWBFunction(e,r){const t=transformArgsByParams(e,[[transformHue,transformPercentage,transformPercentage,isSlash,transformAlpha]]),n=_slicedToArray(t,4),i=n[0],o=n[1],s=n[2],a=n[3],u=a===void 0?100:a;if(s!==undefined){const e=new Color({hue:i,whiteness:o,blackness:s,alpha:u,colorspace:"hwb"});return e}else{return manageUnresolved(e,r,e.value,`Expected a valid hwb() function`)}}function transformColorModFunction(e,r){const t=(e.nodes||[]).slice(1,-1)||[],n=_toArray(t),i=n[0],o=n.slice(1);if(i!==undefined){const t=isHue(i)?new Color({hue:transformHue(i,r),saturation:100,lightness:50,alpha:100,colorspace:"hsl"}):transformColor(i,r);if(t){const e=transformColorByAdjusters(t,o,r);return e}else{return manageUnresolved(e,r,e.value,`Expected a valid color`)}}else{return manageUnresolved(e,r,e.value,`Expected a valid color-mod() function`)}}function transformHexColor(e,r){if(E.test(e.value)){const r=convertHtoRGB(e.value),t=_slicedToArray(r,4),n=t[0],i=t[1],o=t[2],s=t[3];const a=new Color({red:n,green:i,blue:o,alpha:s});return a}else{return manageUnresolved(e,r,e.value,`Expected a valid hex color`)}}function transformNamedColor(e,r){if(isNamedColor(e)){const r=convertNtoRGB(e.value),t=_slicedToArray(r,3),n=t[0],i=t[1],o=t[2];const s=new Color({red:n,green:i,blue:o,alpha:100,colorspace:"rgb"});return s}else{return manageUnresolved(e,r,e.value,`Expected a valid named-color`)}}function transformColorByAdjusters(e,r,t){const n=r.reduce((e,r)=>{if(isAlphaBlueGreenRedAdjuster(r)){return transformAlphaBlueGreenRedAdjuster(e,r,t)}else if(isRGBAdjuster(r)){return transformRGBAdjuster(e,r,t)}else if(isHueAdjuster(r)){return transformHueAdjuster(e,r,t)}else if(isBlacknessLightnessSaturationWhitenessAdjuster(r)){return transformBlacknessLightnessSaturationWhitenessAdjuster(e,r,t)}else if(isShadeTintAdjuster(r)){return transformShadeTintAdjuster(e,r,t)}else if(isBlendAdjuster(r)){return transformBlendAdjuster(e,r,r.value==="blenda",t)}else if(isContrastAdjuster(r)){return transformContrastAdjuster(e,r,t)}else{manageUnresolved(r,t,r.value,`Expected a valid color adjuster`);return e}},e);return n}function transformAlphaBlueGreenRedAdjuster(e,r,t){const n=transformArgsByParams(r,g.test(r.value)?[[transformMinusPlusOperator,transformAlpha],[transformTimesOperator,transformPercentage],[transformAlpha]]:[[transformMinusPlusOperator,transformPercentage],[transformMinusPlusOperator,transformRGBNumber],[transformTimesOperator,transformPercentage],[transformPercentage],[transformRGBNumber]]),i=_slicedToArray(n,2),o=i[0],s=i[1];if(o!==undefined){const t=r.value.toLowerCase().replace(g,"alpha");const n=e[t]();const i=s!==undefined?o==="+"?n+Number(s):o==="-"?n-Number(s):o==="*"?n*Number(s):Number(s):Number(o);const a=e[t](i);return a}else{return manageUnresolved(r,t,r.value,`Expected a valid modifier()`)}}function transformRGBAdjuster(e,r,t){const n=transformArgsByParams(r,[[transformMinusPlusOperator,transformPercentage,transformPercentage,transformPercentage],[transformMinusPlusOperator,transformRGBNumber,transformRGBNumber,transformRGBNumber],[transformMinusPlusOperator,transformHexColor],[transformTimesOperator,transformPercentage]]),i=_slicedToArray(n,4),o=i[0],s=i[1],a=i[2],u=i[3];if(s!==undefined&&s.color){const r=e.rgb(o==="+"?e.red()+s.red():e.red()-s.red(),o==="+"?e.green()+s.green():e.green()-s.green(),o==="+"?e.blue()+s.blue():e.blue()-s.blue());return r}else if(o!==undefined&&R.test(o)){const r=e.rgb(o==="+"?e.red()+s:e.red()-s,o==="+"?e.green()+a:e.green()-a,o==="+"?e.blue()+u:e.blue()-u);return r}else if(o!==undefined&&s!==undefined){const r=e.rgb(e.red()*s,e.green()*s,e.blue()*s);return r}else{return manageUnresolved(r,t,r.value,`Expected a valid rgb() adjuster`)}}function transformBlendAdjuster(e,r,t,n){const i=transformArgsByParams(r,[[transformColor,transformPercentage,transformColorSpace]]),o=_slicedToArray(i,3),s=o[0],a=o[1],u=o[2],f=u===void 0?"rgb":u;if(a!==undefined){const r=t?e.blenda(s.color,a,f):e.blend(s.color,a,f);return r}else{return manageUnresolved(r,n,r.value,`Expected a valid blend() adjuster)`)}}function transformContrastAdjuster(e,r,t){const n=transformArgsByParams(r,[[transformPercentage]]),i=_slicedToArray(n,1),o=i[0];if(o!==undefined){const r=e.contrast(o);return r}else{return manageUnresolved(r,t,r.value,`Expected a valid contrast() adjuster)`)}}function transformHueAdjuster(e,r,t){const n=transformArgsByParams(r,[[transformMinusPlusTimesOperator,transformHue],[transformHue]]),i=_slicedToArray(n,2),o=i[0],s=i[1];if(o!==undefined){const r=e.hue();const t=s!==undefined?o==="+"?r+Number(s):o==="-"?r-Number(s):o==="*"?r*Number(s):Number(s):Number(o);return e.hue(t)}else{return manageUnresolved(r,t,r.value,`Expected a valid hue() function)`)}}function transformBlacknessLightnessSaturationWhitenessAdjuster(e,r,t){const n=r.value.toLowerCase().replace(/^b$/,"blackness").replace(/^l$/,"lightness").replace(/^s$/,"saturation").replace(/^w$/,"whiteness");const i=transformArgsByParams(r,[[transformMinusPlusTimesOperator,transformPercentage],[transformPercentage]]),o=_slicedToArray(i,2),s=o[0],a=o[1];if(s!==undefined){const r=e[n]();const t=a!==undefined?s==="+"?r+Number(a):s==="-"?r-Number(a):s==="*"?r*Number(a):Number(a):Number(s);return e[n](t)}else{return manageUnresolved(r,t,r.value,`Expected a valid ${n}() function)`)}}function transformShadeTintAdjuster(e,r,t){const n=r.value.toLowerCase();const i=transformArgsByParams(r,[[transformPercentage]]),o=_slicedToArray(i,1),s=o[0];if(s!==undefined){const r=Number(s);return e[n](r)}else{return manageUnresolved(r,t,r.value,`Expected valid ${n}() arguments`)}}function transformColorSpace(e,r){if(isColorSpace(e)){return e.value}else{return manageUnresolved(e,r,e.value,`Expected a valid color space)`)}}function transformAlpha(e,r){if(isNumber(e)){return e.value*100}else if(isPercentage(e)){return transformPercentage(e,r)}else{return manageUnresolved(e,r,e.value,`Expected a valid alpha value)`)}}function transformRGBNumber(e,r){if(isNumber(e)){return e.value/2.55}else{return manageUnresolved(e,r,e.value,`Expected a valid RGB value)`)}}function transformHue(e,r){if(isHue(e)){const r=e.unit.toLowerCase();if(r==="grad"){return convertGtoD(e.value)}else if(r==="rad"){return convertRtoD(e.value)}else if(r==="turn"){return convertTtoD(e.value)}else{return convertDtoD(e.value)}}else{return manageUnresolved(e,r,e.value,`Expected a valid hue`)}}function transformPercentage(e,r){if(isPercentage(e)){return Number(e.value)}else{return manageUnresolved(e,r,e.value,`Expected a valid hue`)}}function transformMinusPlusOperator(e,r){if(isMinusPlusOperator(e)){return e.value}else{return manageUnresolved(e,r,e.value,`Expected a plus or minus operator`)}}function transformTimesOperator(e,r){if(isTimesOperator(e)){return e.value}else{return manageUnresolved(e,r,e.value,`Expected a times operator`)}}function transformMinusPlusTimesOperator(e,r){if(isMinusPlusTimesOperator(e)){return e.value}else{return manageUnresolved(e,r,e.value,`Expected a plus, minus, or times operator`)}}function transformWord(e,r){if(isWord(e)){return e.value}else{return manageUnresolved(e,r,e.value,`Expected a valid word`)}}function transformNode(e){return Object(e)}function transformArgsByParams(e,r){const t=(e.nodes||[]).slice(1,-1);const n={unresolved:"ignore"};return r.map(e=>t.map((r,t)=>typeof e[t]==="function"?e[t](r,n):undefined).filter(e=>typeof e!=="boolean")).filter(e=>e.every(e=>e!==undefined))[0]||[]}function walk(e,r){r(e);if(Object(e.nodes).length){e.nodes.slice().forEach(e=>{walk(e,r)})}}function isVariable(e){return Object(e).type==="func"&&M.test(e.value)}function isAlphaBlueGreenRedAdjuster(e){return Object(e).type==="func"&&m.test(e.value)}function isRGBAdjuster(e){return Object(e).type==="func"&&x.test(e.value)}function isHueAdjuster(e){return Object(e).type==="func"&&D.test(e.value)}function isBlacknessLightnessSaturationWhitenessAdjuster(e){return Object(e).type==="func"&&C.test(e.value)}function isShadeTintAdjuster(e){return Object(e).type==="func"&&I.test(e.value)}function isBlendAdjuster(e){return Object(e).type==="func"&&w.test(e.value)}function isContrastAdjuster(e){return Object(e).type==="func"&&T.test(e.value)}function isRGBFunction(e){return Object(e).type==="func"&&j.test(e.value)}function isHSLFunction(e){return Object(e).type==="func"&&k.test(e.value)}function isHWBFunction(e){return Object(e).type==="func"&&A.test(e.value)}function isColorModFunction(e){return Object(e).type==="func"&&S.test(e.value)}function isNamedColor(e){return Object(e).type==="word"&&Boolean(convertNtoRGB(e.value))}function isHexColor(e){return Object(e).type==="word"&&E.test(e.value)}function isColorSpace(e){return Object(e).type==="word"&&O.test(e.value)}function isHue(e){return Object(e).type==="number"&&P.test(e.unit)}function isComma(e){return Object(e).type==="comma"}function isSlash(e){return Object(e).type==="operator"&&e.value==="/"}function isNumber(e){return Object(e).type==="number"&&e.unit===""}function isMinusPlusOperator(e){return Object(e).type==="operator"&&R.test(e.value)}function isMinusPlusTimesOperator(e){return Object(e).type==="operator"&&F.test(e.value)}function isTimesOperator(e){return Object(e).type==="operator"&&_.test(e.value)}function isPercentage(e){return Object(e).type==="number"&&(e.unit==="%"||e.value==="0")}function isWord(e){return Object(e).type==="word"}const g=/^a(lpha)?$/i;const m=/^(a(lpha)?|blue|green|red)$/i;const C=/^(b(lackness)?|l(ightness)?|s(aturation)?|w(hiteness)?)$/i;const w=/^blenda?$/i;const S=/^color-mod$/i;const O=/^(hsl|hwb|rgb)$/i;const T=/^contrast$/i;const E=/^#(?:([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?|([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?)$/i;const k=/^hsla?$/i;const P=/^(deg|grad|rad|turn)?$/i;const D=/^h(ue)?$/i;const A=/^hwb$/i;const R=/^[+-]$/;const F=/^[*+-]$/;const x=/^rgb$/i;const j=/^rgba?$/i;const I=/^(shade|tint)$/i;const M=/^var$/i;const N=/(^|[^\w-])var\(/i;const _=/^[*]$/;var L=s.plugin("postcss-color-mod-function",e=>{const r=String(Object(e).unresolved||"throw").toLowerCase();const t=Object(e).stringifier||(e=>e.toLegacy());const i=[].concat(Object(e).importFrom||[]);const o="transformVars"in Object(e)?e.transformVars:true;const s=importCustomPropertiesFromSources(i);return function(){var e=_asyncToGenerator(function*(e,i){const a=Object.assign(yield s,getCustomProperties(e,{preserve:true}));e.walkDecls(e=>{const s=e.value;if(q.test(s)){const u=n(s,{loose:true}).parse();transformAST(u,{unresolved:r,stringifier:t,transformVars:o,decl:e,result:i,customProperties:a});const f=u.toString();if(s!==f){e.value=f}}})});return function(r,t){return e.apply(this,arguments)}}()});const q=/(^|[^\w-])color-mod\(/i;e.exports=L},2344:(e,r,t)=>{const n=t(7802);const i=t(4510);const o="#639";const s=/(^|[^\w-])rebeccapurple([^\w-]|$)/;e.exports=n.plugin("postcss-color-rebeccapurple",()=>e=>{e.walkDecls(e=>{const r=e.value;if(r&&s.test(r)){const t=i(r).parse();t.walk(e=>{if(e.type==="word"&&e.value==="rebeccapurple"){e.value=o}});e.value=t.toString()}})})},9103:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(7802));var i=_interopDefault(t(5747));var o=_interopDefault(t(5622));function asyncGeneratorStep(e,r,t,n,i,o,s){try{var a=e[o](s);var u=a.value}catch(e){t(e);return}if(a.done){r(u)}else{Promise.resolve(u).then(n,i)}}function _asyncToGenerator(e){return function(){var r=this,t=arguments;return new Promise(function(n,i){var o=e.apply(r,t);function _next(e){asyncGeneratorStep(o,n,i,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(o,n,i,_next,_throw,"throw",e)}_next(undefined)})}}function _defineProperty(e,r,t){if(r in e){Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true})}else{e[r]=t}return e}function _objectSpread(e){for(var r=1;r0){o-=1}}else if(o===0){if(r&&h.test(n+a)){i=true}else if(!r&&a===","){i=true}}if(i){t.push(r?new MediaExpression(n+a):new MediaQuery(n));n="";i=false}else{n+=a}}if(n!==""){t.push(r?new MediaExpression(n):new MediaQuery(n))}return t}class MediaQueryList{constructor(e){this.nodes=parse(e)}invert(){this.nodes.forEach(e=>{e.invert()});return this}clone(){return new MediaQueryList(String(this))}toString(){return this.nodes.join(",")}}class MediaQuery{constructor(e){const r=e.match(B),t=_slicedToArray(r,4),n=t[1],i=t[2],o=t[3];const s=i.match(v)||[],a=_slicedToArray(s,9),u=a[1],f=u===void 0?"":u,c=a[2],l=c===void 0?" ":c,p=a[3],h=p===void 0?"":p,d=a[4],b=d===void 0?"":d,y=a[5],g=y===void 0?"":y,m=a[6],C=m===void 0?"":m,w=a[7],S=w===void 0?"":w,O=a[8],T=O===void 0?"":O;const E={before:n,after:o,afterModifier:l,originalModifier:f||"",beforeAnd:b,and:g,beforeExpression:C};const k=parse(S||T,true);Object.assign(this,{modifier:f,type:h,raws:E,nodes:k})}clone(e){const r=new MediaQuery(String(this));Object.assign(r,e);return r}invert(){this.modifier=this.modifier?"":this.raws.originalModifier;return this}toString(){const e=this.raws;return`${e.before}${this.modifier}${this.modifier?`${e.afterModifier}`:""}${this.type}${e.beforeAnd}${e.and}${e.beforeExpression}${this.nodes.join("")}${this.raws.after}`}}class MediaExpression{constructor(e){const r=e.match(h)||[null,e],t=_slicedToArray(r,5),n=t[1],i=t[2],o=i===void 0?"":i,s=t[3],a=s===void 0?"":s,u=t[4],f=u===void 0?"":u;const c={after:o,and:a,afterAnd:f};Object.assign(this,{value:n,raws:c})}clone(e){const r=new MediaExpression(String(this));Object.assign(r,e);return r}toString(){const e=this.raws;return`${this.value}${e.after}${e.and}${e.afterAnd}`}}const s="(not|only)";const a="(all|print|screen|speech)";const u="([\\W\\w]*)";const f="([\\W\\w]+)";const c="(\\s*)";const l="(\\s+)";const p="(?:(\\s+)(and))";const h=new RegExp(`^${f}(?:${p}${l})$`,"i");const B=new RegExp(`^${c}${u}${c}$`);const v=new RegExp(`^(?:${s}${l})?(?:${a}(?:${p}${l}${f})?|${f})$`,"i");var d=e=>new MediaQueryList(e);var b=(e,r)=>{const t={};e.nodes.slice().forEach(e=>{if(m(e)){const n=e.params.match(g),i=_slicedToArray(n,3),o=i[1],s=i[2];t[o]=d(s);if(!Object(r).preserve){e.remove()}}});return t};const y=/^custom-media$/i;const g=/^(--[A-z][\w-]*)\s+([\W\w]+)\s*$/;const m=e=>e.type==="atrule"&&y.test(e.name)&&g.test(e.params);function getCustomMediaFromCSSFile(e){return _getCustomMediaFromCSSFile.apply(this,arguments)}function _getCustomMediaFromCSSFile(){_getCustomMediaFromCSSFile=_asyncToGenerator(function*(e){const r=yield C(e);const t=n.parse(r,{from:e});return b(t,{preserve:true})});return _getCustomMediaFromCSSFile.apply(this,arguments)}function getCustomMediaFromObject(e){const r=Object.assign({},Object(e).customMedia,Object(e)["custom-media"]);for(const e in r){r[e]=d(r[e])}return r}function getCustomMediaFromJSONFile(e){return _getCustomMediaFromJSONFile.apply(this,arguments)}function _getCustomMediaFromJSONFile(){_getCustomMediaFromJSONFile=_asyncToGenerator(function*(e){const r=yield w(e);return getCustomMediaFromObject(r)});return _getCustomMediaFromJSONFile.apply(this,arguments)}function getCustomMediaFromJSFile(e){return _getCustomMediaFromJSFile.apply(this,arguments)}function _getCustomMediaFromJSFile(){_getCustomMediaFromJSFile=_asyncToGenerator(function*(e){const r=yield Promise.resolve(require(e));return getCustomMediaFromObject(r)});return _getCustomMediaFromJSFile.apply(this,arguments)}function getCustomMediaFromSources(e){return e.map(e=>{if(e instanceof Promise){return e}else if(e instanceof Function){return e()}const r=e===Object(e)?e:{from:String(e)};if(Object(r).customMedia||Object(r)["custom-media"]){return r}const t=o.resolve(String(r.from||""));const n=(r.type||o.extname(t).slice(1)).toLowerCase();return{type:n,from:t}}).reduce(function(){var e=_asyncToGenerator(function*(e,r){const t=yield r,n=t.type,i=t.from;if(n==="css"||n==="pcss"){return Object.assign(yield e,yield getCustomMediaFromCSSFile(i))}if(n==="js"){return Object.assign(yield e,yield getCustomMediaFromJSFile(i))}if(n==="json"){return Object.assign(yield e,yield getCustomMediaFromJSONFile(i))}return Object.assign(yield e,getCustomMediaFromObject(yield r))});return function(r,t){return e.apply(this,arguments)}}(),{})}const C=e=>new Promise((r,t)=>{i.readFile(e,"utf8",(e,n)=>{if(e){t(e)}else{r(n)}})});const w=function(){var e=_asyncToGenerator(function*(e){return JSON.parse(yield C(e))});return function readJSON(r){return e.apply(this,arguments)}}();function transformMediaList(e,r){let t=e.nodes.length-1;while(t>=0){const n=transformMedia(e.nodes[t],r);if(n.length){e.nodes.splice(t,1,...n)}--t}return e}function transformMedia(e,r){const t=[];for(const u in e.nodes){const f=e.nodes[u],c=f.value,l=f.nodes;const p=c.replace(S,"$1");if(p in r){var n=true;var i=false;var o=undefined;try{for(var s=r[p].nodes[Symbol.iterator](),a;!(n=(a=s.next()).done);n=true){const n=a.value;const i=e.modifier!==n.modifier?e.modifier||n.modifier:"";const o=e.clone({modifier:i,raws:!i||e.modifier?_objectSpread({},e.raws):_objectSpread({},n.raws),type:e.type||n.type});if(o.type===n.type){Object.assign(o.raws,{and:n.raws.and,beforeAnd:n.raws.beforeAnd,beforeExpression:n.raws.beforeExpression})}o.nodes.splice(u,1,...n.clone().nodes.map(r=>{if(e.nodes[u].raws.and){r.raws=_objectSpread({},e.nodes[u].raws)}r.spaces=_objectSpread({},e.nodes[u].spaces);return r}));const s=O(r,p);const f=transformMedia(o,s);if(f.length){t.push(...f)}else{t.push(o)}}}catch(e){i=true;o=e}finally{try{if(!n&&s.return!=null){s.return()}}finally{if(i){throw o}}}return t}else if(l&&l.length){transformMediaList(e.nodes[u],r)}}return t}const S=/\((--[A-z][\w-]*)\)/;const O=(e,r)=>{const t=Object.assign({},e);delete t[r];return t};var T=(e,r,t)=>{e.walkAtRules(E,e=>{if(k.test(e.params)){const n=d(e.params);const i=String(transformMediaList(n,r));if(t.preserve){e.cloneBefore({params:i})}else{e.params=i}}})};const E=/^media$/i;const k=/\(--[A-z][\w-]*\)/;function writeCustomMediaToCssFile(e,r){return _writeCustomMediaToCssFile.apply(this,arguments)}function _writeCustomMediaToCssFile(){_writeCustomMediaToCssFile=_asyncToGenerator(function*(e,r){const t=Object.keys(r).reduce((e,t)=>{e.push(`@custom-media ${t} ${r[t]};`);return e},[]).join("\n");const n=`${t}\n`;yield D(e,n)});return _writeCustomMediaToCssFile.apply(this,arguments)}function writeCustomMediaToJsonFile(e,r){return _writeCustomMediaToJsonFile.apply(this,arguments)}function _writeCustomMediaToJsonFile(){_writeCustomMediaToJsonFile=_asyncToGenerator(function*(e,r){const t=JSON.stringify({"custom-media":r},null," ");const n=`${t}\n`;yield D(e,n)});return _writeCustomMediaToJsonFile.apply(this,arguments)}function writeCustomMediaToCjsFile(e,r){return _writeCustomMediaToCjsFile.apply(this,arguments)}function _writeCustomMediaToCjsFile(){_writeCustomMediaToCjsFile=_asyncToGenerator(function*(e,r){const t=Object.keys(r).reduce((e,t)=>{e.push(`\t\t'${A(t)}': '${A(r[t])}'`);return e},[]).join(",\n");const n=`module.exports = {\n\tcustomMedia: {\n${t}\n\t}\n};\n`;yield D(e,n)});return _writeCustomMediaToCjsFile.apply(this,arguments)}function writeCustomMediaToMjsFile(e,r){return _writeCustomMediaToMjsFile.apply(this,arguments)}function _writeCustomMediaToMjsFile(){_writeCustomMediaToMjsFile=_asyncToGenerator(function*(e,r){const t=Object.keys(r).reduce((e,t)=>{e.push(`\t'${A(t)}': '${A(r[t])}'`);return e},[]).join(",\n");const n=`export const customMedia = {\n${t}\n};\n`;yield D(e,n)});return _writeCustomMediaToMjsFile.apply(this,arguments)}function writeCustomMediaToExports(e,r){return Promise.all(r.map(function(){var r=_asyncToGenerator(function*(r){if(r instanceof Function){yield r(P(e))}else{const t=r===Object(r)?r:{to:String(r)};const n=t.toJSON||P;if("customMedia"in t){t.customMedia=n(e)}else if("custom-media"in t){t["custom-media"]=n(e)}else{const r=String(t.to||"");const i=(t.type||o.extname(r).slice(1)).toLowerCase();const s=n(e);if(i==="css"){yield writeCustomMediaToCssFile(r,s)}if(i==="js"){yield writeCustomMediaToCjsFile(r,s)}if(i==="json"){yield writeCustomMediaToJsonFile(r,s)}if(i==="mjs"){yield writeCustomMediaToMjsFile(r,s)}}}});return function(e){return r.apply(this,arguments)}}()))}const P=e=>{return Object.keys(e).reduce((r,t)=>{r[t]=String(e[t]);return r},{})};const D=(e,r)=>new Promise((t,n)=>{i.writeFile(e,r,e=>{if(e){n(e)}else{t()}})});const A=e=>e.replace(/\\([\s\S])|(')/g,"\\$1$2").replace(/\n/g,"\\n").replace(/\r/g,"\\r");var R=n.plugin("postcss-custom-media",e=>{const r="preserve"in Object(e)?Boolean(e.preserve):false;const t=[].concat(Object(e).importFrom||[]);const n=[].concat(Object(e).exportTo||[]);const i=getCustomMediaFromSources(t);return function(){var e=_asyncToGenerator(function*(e){const t=Object.assign(yield i,b(e,{preserve:r}));yield writeCustomMediaToExports(t,n);T(e,t,{preserve:r})});return function(r){return e.apply(this,arguments)}}()});e.exports=R},4164:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(7802));var i=_interopDefault(t(4510));var o=_interopDefault(t(5747));var s=_interopDefault(t(5622));function asyncGeneratorStep(e,r,t,n,i,o,s){try{var a=e[o](s);var u=a.value}catch(e){t(e);return}if(a.done){r(u)}else{Promise.resolve(u).then(n,i)}}function _asyncToGenerator(e){return function(){var r=this,t=arguments;return new Promise(function(n,i){var o=e.apply(r,t);function _next(e){asyncGeneratorStep(o,n,i,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(o,n,i,_next,_throw,"throw",e)}_next(undefined)})}}function parse(e){return i(e).parse()}function isBlockIgnored(e){var r=e.selector?e:e.parent;return/(!\s*)?postcss-custom-properties:\s*off\b/i.test(r.toString())}function isRuleIgnored(e){var r=e.prev();return Boolean(isBlockIgnored(e)||r&&r.type==="comment"&&/(!\s*)?postcss-custom-properties:\s*ignore\s+next\b/i.test(r.text))}function getCustomPropertiesFromRoot(e,r){const t={};const n={};e.nodes.slice().forEach(e=>{const i=c(e)?t:l(e)?n:null;if(i){e.nodes.slice().forEach(e=>{if(p(e)&&!isBlockIgnored(e)){const t=e.prop;i[t]=parse(e.value).nodes;if(!r.preserve){e.remove()}}});if(!r.preserve&&h(e)&&!isBlockIgnored(e)){e.remove()}}});return Object.assign({},t,n)}const a=/^html$/i;const u=/^:root$/i;const f=/^--[A-z][\w-]*$/;const c=e=>e.type==="rule"&&a.test(e.selector)&&Object(e.nodes).length;const l=e=>e.type==="rule"&&u.test(e.selector)&&Object(e.nodes).length;const p=e=>e.type==="decl"&&f.test(e.prop);const h=e=>Object(e.nodes).length===0;function getCustomPropertiesFromCSSFile(e){return _getCustomPropertiesFromCSSFile.apply(this,arguments)}function _getCustomPropertiesFromCSSFile(){_getCustomPropertiesFromCSSFile=_asyncToGenerator(function*(e){const r=yield B(e);const t=n.parse(r,{from:e});return getCustomPropertiesFromRoot(t,{preserve:true})});return _getCustomPropertiesFromCSSFile.apply(this,arguments)}function getCustomPropertiesFromObject(e){const r=Object.assign({},Object(e).customProperties,Object(e)["custom-properties"]);for(const e in r){r[e]=parse(String(r[e])).nodes}return r}function getCustomPropertiesFromJSONFile(e){return _getCustomPropertiesFromJSONFile.apply(this,arguments)}function _getCustomPropertiesFromJSONFile(){_getCustomPropertiesFromJSONFile=_asyncToGenerator(function*(e){const r=yield v(e);return getCustomPropertiesFromObject(r)});return _getCustomPropertiesFromJSONFile.apply(this,arguments)}function getCustomPropertiesFromJSFile(e){return _getCustomPropertiesFromJSFile.apply(this,arguments)}function _getCustomPropertiesFromJSFile(){_getCustomPropertiesFromJSFile=_asyncToGenerator(function*(e){const r=yield Promise.resolve(require(e));return getCustomPropertiesFromObject(r)});return _getCustomPropertiesFromJSFile.apply(this,arguments)}function getCustomPropertiesFromImports(e){return e.map(e=>{if(e instanceof Promise){return e}else if(e instanceof Function){return e()}const r=e===Object(e)?e:{from:String(e)};if(r.customProperties||r["custom-properties"]){return r}const t=s.resolve(String(r.from||""));const n=(r.type||s.extname(t).slice(1)).toLowerCase();return{type:n,from:t}}).reduce(function(){var e=_asyncToGenerator(function*(e,r){const t=yield r,n=t.type,i=t.from;if(n==="css"){return Object.assign(yield e,yield getCustomPropertiesFromCSSFile(i))}if(n==="js"){return Object.assign(yield e,yield getCustomPropertiesFromJSFile(i))}if(n==="json"){return Object.assign(yield e,yield getCustomPropertiesFromJSONFile(i))}return Object.assign(yield e,yield getCustomPropertiesFromObject(yield r))});return function(r,t){return e.apply(this,arguments)}}(),{})}const B=e=>new Promise((r,t)=>{o.readFile(e,"utf8",(e,n)=>{if(e){t(e)}else{r(n)}})});const v=function(){var e=_asyncToGenerator(function*(e){return JSON.parse(yield B(e))});return function readJSON(r){return e.apply(this,arguments)}}();function transformValueAST(e,r){if(e.nodes&&e.nodes.length){e.nodes.slice().forEach(t=>{if(b(t)){const n=t.nodes.slice(1,-1),i=n[0],o=n[1],s=n.slice(2);const a=i.value;if(a in Object(r)){const e=y(r[a],t.raws.before);t.replaceWith(...e);retransformValueAST({nodes:e},r,a)}else if(s.length){const n=e.nodes.indexOf(t);if(n!==-1){e.nodes.splice(n,1,...y(s,t.raws.before))}transformValueAST(e,r)}}else{transformValueAST(t,r)}})}return e}function retransformValueAST(e,r,t){const n=Object.assign({},r);delete n[t];return transformValueAST(e,n)}const d=/^var$/i;const b=e=>e.type==="func"&&d.test(e.value)&&Object(e.nodes).length>0;const y=(e,r)=>{const t=g(e,null);if(t[0]){t[0].raws.before=r}return t};const g=(e,r)=>e.map(e=>m(e,r));const m=(e,r)=>{const t=new e.constructor(e);for(const n in e){if(n==="parent"){t.parent=r}else if(Object(e[n]).constructor===Array){t[n]=g(e.nodes,t)}else if(Object(e[n]).constructor===Object){t[n]=Object.assign({},e[n])}}return t};var C=(e,r,t)=>{e.walkDecls(e=>{if(O(e)&&!isRuleIgnored(e)){const n=e.value;const i=parse(n);const o=String(transformValueAST(i,r));if(o!==n){if(t.preserve){e.cloneBefore({value:o})}else{e.value=o}}}})};const w=/^--[A-z][\w-]*$/;const S=/(^|[^\w-])var\([\W\w]+\)/;const O=e=>!w.test(e.prop)&&S.test(e.value);function writeCustomPropertiesToCssFile(e,r){return _writeCustomPropertiesToCssFile.apply(this,arguments)}function _writeCustomPropertiesToCssFile(){_writeCustomPropertiesToCssFile=_asyncToGenerator(function*(e,r){const t=Object.keys(r).reduce((e,t)=>{e.push(`\t${t}: ${r[t]};`);return e},[]).join("\n");const n=`:root {\n${t}\n}\n`;yield E(e,n)});return _writeCustomPropertiesToCssFile.apply(this,arguments)}function writeCustomPropertiesToJsonFile(e,r){return _writeCustomPropertiesToJsonFile.apply(this,arguments)}function _writeCustomPropertiesToJsonFile(){_writeCustomPropertiesToJsonFile=_asyncToGenerator(function*(e,r){const t=JSON.stringify({"custom-properties":r},null," ");const n=`${t}\n`;yield E(e,n)});return _writeCustomPropertiesToJsonFile.apply(this,arguments)}function writeCustomPropertiesToCjsFile(e,r){return _writeCustomPropertiesToCjsFile.apply(this,arguments)}function _writeCustomPropertiesToCjsFile(){_writeCustomPropertiesToCjsFile=_asyncToGenerator(function*(e,r){const t=Object.keys(r).reduce((e,t)=>{e.push(`\t\t'${k(t)}': '${k(r[t])}'`);return e},[]).join(",\n");const n=`module.exports = {\n\tcustomProperties: {\n${t}\n\t}\n};\n`;yield E(e,n)});return _writeCustomPropertiesToCjsFile.apply(this,arguments)}function writeCustomPropertiesToMjsFile(e,r){return _writeCustomPropertiesToMjsFile.apply(this,arguments)}function _writeCustomPropertiesToMjsFile(){_writeCustomPropertiesToMjsFile=_asyncToGenerator(function*(e,r){const t=Object.keys(r).reduce((e,t)=>{e.push(`\t'${k(t)}': '${k(r[t])}'`);return e},[]).join(",\n");const n=`export const customProperties = {\n${t}\n};\n`;yield E(e,n)});return _writeCustomPropertiesToMjsFile.apply(this,arguments)}function writeCustomPropertiesToExports(e,r){return Promise.all(r.map(function(){var r=_asyncToGenerator(function*(r){if(r instanceof Function){yield r(T(e))}else{const t=r===Object(r)?r:{to:String(r)};const n=t.toJSON||T;if("customProperties"in t){t.customProperties=n(e)}else if("custom-properties"in t){t["custom-properties"]=n(e)}else{const r=String(t.to||"");const i=(t.type||s.extname(t.to).slice(1)).toLowerCase();const o=n(e);if(i==="css"){yield writeCustomPropertiesToCssFile(r,o)}if(i==="js"){yield writeCustomPropertiesToCjsFile(r,o)}if(i==="json"){yield writeCustomPropertiesToJsonFile(r,o)}if(i==="mjs"){yield writeCustomPropertiesToMjsFile(r,o)}}}});return function(e){return r.apply(this,arguments)}}()))}const T=e=>{return Object.keys(e).reduce((r,t)=>{r[t]=String(e[t]);return r},{})};const E=(e,r)=>new Promise((t,n)=>{o.writeFile(e,r,e=>{if(e){n(e)}else{t()}})});const k=e=>e.replace(/\\([\s\S])|(')/g,"\\$1$2").replace(/\n/g,"\\n").replace(/\r/g,"\\r");var P=n.plugin("postcss-custom-properties",e=>{const r="preserve"in Object(e)?Boolean(e.preserve):true;const t=[].concat(Object(e).importFrom||[]);const n=[].concat(Object(e).exportTo||[]);const i=getCustomPropertiesFromImports(t);const o=e=>{const t=getCustomPropertiesFromRoot(e,{preserve:r});C(e,t,{preserve:r})};const s=function(){var e=_asyncToGenerator(function*(e){const t=Object.assign({},yield i,getCustomPropertiesFromRoot(e,{preserve:r}));yield writeCustomPropertiesToExports(t,n);C(e,t,{preserve:r})});return function asyncTransform(r){return e.apply(this,arguments)}}();const a=t.length===0&&n.length===0;return a?o:s});e.exports=P},9677:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(9508));var i=_interopDefault(t(5747));var o=_interopDefault(t(5622));var s=_interopDefault(t(7802));function asyncGeneratorStep(e,r,t,n,i,o,s){try{var a=e[o](s);var u=a.value}catch(e){t(e);return}if(a.done){r(u)}else{Promise.resolve(u).then(n,i)}}function _asyncToGenerator(e){return function(){var r=this,t=arguments;return new Promise(function(n,i){var o=e.apply(r,t);function _next(e){asyncGeneratorStep(o,n,i,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(o,n,i,_next,_throw,"throw",e)}_next(undefined)})}}function _defineProperty(e,r,t){if(r in e){Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true})}else{e[r]=t}return e}function _objectSpread(e){for(var r=1;r{let r;n(e=>{r=e}).processSync(e);return r};var u=(e,r)=>{const t={};e.nodes.slice().forEach(e=>{if(l(e)){const n=e.params.match(c),i=_slicedToArray(n,3),o=i[1],s=i[2];t[o]=a(s);if(!Object(r).preserve){e.remove()}}});return t};const f=/^custom-selector$/i;const c=/^(:--[A-z][\w-]*)\s+([\W\w]+)\s*$/;const l=e=>e.type==="atrule"&&f.test(e.name)&&c.test(e.params);function transformSelectorList(e,r){let t=e.nodes.length-1;while(t>=0){const n=transformSelector(e.nodes[t],r);if(n.length){e.nodes.splice(t,1,...n)}--t}return e}function transformSelector(e,r){const t=[];for(const u in e.nodes){const f=e.nodes[u],c=f.value,l=f.nodes;if(c in r){var n=true;var i=false;var o=undefined;try{for(var s=r[c].nodes[Symbol.iterator](),a;!(n=(a=s.next()).done);n=true){const n=a.value;const i=e.clone();i.nodes.splice(u,1,...n.clone().nodes.map(r=>{r.spaces=_objectSpread({},e.nodes[u].spaces);return r}));const o=transformSelector(i,r);d(i.nodes,Number(u));if(o.length){t.push(...o)}else{t.push(i)}}}catch(e){i=true;o=e}finally{try{if(!n&&s.return!=null){s.return()}}finally{if(i){throw o}}}return t}else if(l&&l.length){transformSelectorList(e.nodes[u],r)}}return t}const p=/^(tag|universal)$/;const h=/^(class|id|pseudo|tag|universal)$/;const B=e=>p.test(Object(e).type);const v=e=>h.test(Object(e).type);const d=(e,r)=>{if(r&&B(e[r])&&v(e[r-1])){let t=r-1;while(t&&v(e[t])){--t}if(t{e.walkRules(y,e=>{const i=n(e=>{transformSelectorList(e,r,t)}).processSync(e.selector);if(t.preserve){e.cloneBefore({selector:i})}else{e.selector=i}})};const y=/:--[A-z][\w-]*/;function importCustomSelectorsFromCSSAST(e){return u(e)}function importCustomSelectorsFromCSSFile(e){return _importCustomSelectorsFromCSSFile.apply(this,arguments)}function _importCustomSelectorsFromCSSFile(){_importCustomSelectorsFromCSSFile=_asyncToGenerator(function*(e){const r=yield g(o.resolve(e));const t=s.parse(r,{from:o.resolve(e)});return importCustomSelectorsFromCSSAST(t)});return _importCustomSelectorsFromCSSFile.apply(this,arguments)}function importCustomSelectorsFromObject(e){const r=Object.assign({},Object(e).customSelectors||Object(e)["custom-selectors"]);for(const e in r){r[e]=a(r[e])}return r}function importCustomSelectorsFromJSONFile(e){return _importCustomSelectorsFromJSONFile.apply(this,arguments)}function _importCustomSelectorsFromJSONFile(){_importCustomSelectorsFromJSONFile=_asyncToGenerator(function*(e){const r=yield m(o.resolve(e));return importCustomSelectorsFromObject(r)});return _importCustomSelectorsFromJSONFile.apply(this,arguments)}function importCustomSelectorsFromJSFile(e){return _importCustomSelectorsFromJSFile.apply(this,arguments)}function _importCustomSelectorsFromJSFile(){_importCustomSelectorsFromJSFile=_asyncToGenerator(function*(e){const r=yield Promise.resolve(require(o.resolve(e)));return importCustomSelectorsFromObject(r)});return _importCustomSelectorsFromJSFile.apply(this,arguments)}function importCustomSelectorsFromSources(e){return e.map(e=>{if(e instanceof Promise){return e}else if(e instanceof Function){return e()}const r=e===Object(e)?e:{from:String(e)};if(Object(r).customSelectors||Object(r)["custom-selectors"]){return r}const t=String(r.from||"");const n=(r.type||o.extname(t).slice(1)).toLowerCase();return{type:n,from:t}}).reduce(function(){var e=_asyncToGenerator(function*(e,r){const t=yield r,n=t.type,i=t.from;if(n==="ast"){return Object.assign(e,importCustomSelectorsFromCSSAST(i))}if(n==="css"){return Object.assign(e,yield importCustomSelectorsFromCSSFile(i))}if(n==="js"){return Object.assign(e,yield importCustomSelectorsFromJSFile(i))}if(n==="json"){return Object.assign(e,yield importCustomSelectorsFromJSONFile(i))}return Object.assign(e,importCustomSelectorsFromObject(yield r))});return function(r,t){return e.apply(this,arguments)}}(),{})}const g=e=>new Promise((r,t)=>{i.readFile(e,"utf8",(e,n)=>{if(e){t(e)}else{r(n)}})});const m=function(){var e=_asyncToGenerator(function*(e){return JSON.parse(yield g(e))});return function readJSON(r){return e.apply(this,arguments)}}();function exportCustomSelectorsToCssFile(e,r){return _exportCustomSelectorsToCssFile.apply(this,arguments)}function _exportCustomSelectorsToCssFile(){_exportCustomSelectorsToCssFile=_asyncToGenerator(function*(e,r){const t=Object.keys(r).reduce((e,t)=>{e.push(`@custom-selector ${t} ${r[t]};`);return e},[]).join("\n");const n=`${t}\n`;yield w(e,n)});return _exportCustomSelectorsToCssFile.apply(this,arguments)}function exportCustomSelectorsToJsonFile(e,r){return _exportCustomSelectorsToJsonFile.apply(this,arguments)}function _exportCustomSelectorsToJsonFile(){_exportCustomSelectorsToJsonFile=_asyncToGenerator(function*(e,r){const t=JSON.stringify({"custom-selectors":r},null," ");const n=`${t}\n`;yield w(e,n)});return _exportCustomSelectorsToJsonFile.apply(this,arguments)}function exportCustomSelectorsToCjsFile(e,r){return _exportCustomSelectorsToCjsFile.apply(this,arguments)}function _exportCustomSelectorsToCjsFile(){_exportCustomSelectorsToCjsFile=_asyncToGenerator(function*(e,r){const t=Object.keys(r).reduce((e,t)=>{e.push(`\t\t'${S(t)}': '${S(r[t])}'`);return e},[]).join(",\n");const n=`module.exports = {\n\tcustomSelectors: {\n${t}\n\t}\n};\n`;yield w(e,n)});return _exportCustomSelectorsToCjsFile.apply(this,arguments)}function exportCustomSelectorsToMjsFile(e,r){return _exportCustomSelectorsToMjsFile.apply(this,arguments)}function _exportCustomSelectorsToMjsFile(){_exportCustomSelectorsToMjsFile=_asyncToGenerator(function*(e,r){const t=Object.keys(r).reduce((e,t)=>{e.push(`\t'${S(t)}': '${S(r[t])}'`);return e},[]).join(",\n");const n=`export const customSelectors = {\n${t}\n};\n`;yield w(e,n)});return _exportCustomSelectorsToMjsFile.apply(this,arguments)}function exportCustomSelectorsToDestinations(e,r){return Promise.all(r.map(function(){var r=_asyncToGenerator(function*(r){if(r instanceof Function){yield r(C(e))}else{const t=r===Object(r)?r:{to:String(r)};const n=t.toJSON||C;if("customSelectors"in t){t.customSelectors=n(e)}else if("custom-selectors"in t){t["custom-selectors"]=n(e)}else{const r=String(t.to||"");const i=(t.type||o.extname(t.to).slice(1)).toLowerCase();const s=n(e);if(i==="css"){yield exportCustomSelectorsToCssFile(r,s)}if(i==="js"){yield exportCustomSelectorsToCjsFile(r,s)}if(i==="json"){yield exportCustomSelectorsToJsonFile(r,s)}if(i==="mjs"){yield exportCustomSelectorsToMjsFile(r,s)}}}});return function(e){return r.apply(this,arguments)}}()))}const C=e=>{return Object.keys(e).reduce((r,t)=>{r[t]=String(e[t]);return r},{})};const w=(e,r)=>new Promise((t,n)=>{i.writeFile(e,r,e=>{if(e){n(e)}else{t()}})});const S=e=>e.replace(/\\([\s\S])|(')/g,"\\$1$2").replace(/\n/g,"\\n").replace(/\r/g,"\\r");var O=s.plugin("postcss-custom-selectors",e=>{const r=Boolean(Object(e).preserve);const t=[].concat(Object(e).importFrom||[]);const n=[].concat(Object(e).exportTo||[]);const i=importCustomSelectorsFromSources(t);return function(){var e=_asyncToGenerator(function*(e){const t=Object.assign(yield i,u(e,{preserve:r}));yield exportCustomSelectorsToDestinations(t,n);b(e,t,{preserve:r})});return function(r){return e.apply(this,arguments)}}()});e.exports=O},4593:e=>{"use strict";var r={};var t=r.hasOwnProperty;var n=function merge(e,r){if(!e){return r}var n={};for(var i in r){n[i]=t.call(e,i)?e[i]:r[i]}return n};var i=/[ -,\.\/;-@\[-\^`\{-~]/;var o=/[ -,\.\/;-@\[\]\^`\{-~]/;var s=/['"\\]/;var a=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g;var u=function cssesc(e,r){r=n(r,cssesc.options);if(r.quotes!="single"&&r.quotes!="double"){r.quotes="single"}var t=r.quotes=="double"?'"':"'";var s=r.isIdentifier;var u=e.charAt(0);var f="";var c=0;var l=e.length;while(c126){if(h>=55296&&h<=56319&&c{"use strict";r.__esModule=true;var n=t(1699);var i=_interopRequireDefault(n);var o=t(8129);var s=_interopRequireWildcard(o);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var r={};if(e!=null){for(var t in e){if(Object.prototype.hasOwnProperty.call(e,t))r[t]=e[t]}}r.default=e;return r}}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var a=function parser(e){return new i.default(e)};Object.assign(a,s);delete a.__esModule;r.default=a;e.exports=r["default"]},6343:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t1&&arguments[1]!==undefined?arguments[1]:{};_classCallCheck(this,Parser);this.rule=e;this.options=Object.assign({lossy:false,safe:false},r);this.position=0;this.css=typeof this.rule==="string"?this.rule:this.rule.selector;this.tokens=(0,_.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var t=getTokenSourceSpan(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new p.default({source:t});this.root.errorGenerator=this._errorGenerator();var n=new B.default({source:{start:{line:1,column:1}}});this.root.append(n);this.current=n;this.loop()}Parser.prototype._errorGenerator=function _errorGenerator(){var e=this;return function(r,t){if(typeof e.rule==="string"){return new Error(r)}return e.rule.error(r,t)}};Parser.prototype.attribute=function attribute(){var e=[];var r=this.currToken;this.position++;while(this.position1&&arguments[1]!==undefined?arguments[1]:false;var n="";var i="";e.forEach(function(e){var o=r.lossySpace(e.spaces.before,t);var s=r.lossySpace(e.rawSpaceBefore,t);n+=o+r.lossySpace(e.spaces.after,t&&o.length===0);i+=o+e.value+r.lossySpace(e.rawSpaceAfter,t&&s.length===0)});if(i===n){i=undefined}var o={space:n,rawSpace:i};return o};Parser.prototype.isNamedCombinator=function isNamedCombinator(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:this.position;return this.tokens[e+0]&&this.tokens[e+0][N.FIELDS.TYPE]===q.slash&&this.tokens[e+1]&&this.tokens[e+1][N.FIELDS.TYPE]===q.word&&this.tokens[e+2]&&this.tokens[e+2][N.FIELDS.TYPE]===q.slash};Parser.prototype.namedCombinator=function namedCombinator(){if(this.isNamedCombinator()){var e=this.content(this.tokens[this.position+1]);var r=(0,U.unesc)(e).toLowerCase();var t={};if(r!==e){t.value="/"+e+"/"}var n=new F.default({value:"/"+r+"/",source:getSource(this.currToken[N.FIELDS.START_LINE],this.currToken[N.FIELDS.START_COL],this.tokens[this.position+2][N.FIELDS.END_LINE],this.tokens[this.position+2][N.FIELDS.END_COL]),sourceIndex:this.currToken[N.FIELDS.START_POS],raws:t});this.position=this.position+3;return n}else{this.unexpected()}};Parser.prototype.combinator=function combinator(){var e=this;if(this.content()==="|"){return this.namespace()}var r=this.locateNextMeaningfulToken(this.position);if(r<0||this.tokens[r][N.FIELDS.TYPE]===q.comma){var t=this.parseWhitespaceEquivalentTokens(r);if(t.length>0){var n=this.current.last;if(n){var i=this.convertWhitespaceNodesToSpace(t),o=i.space,s=i.rawSpace;if(s!==undefined){n.rawSpaceAfter+=s}n.spaces.after+=o}else{t.forEach(function(r){return e.newNode(r)})}}return}var a=this.currToken;var u=undefined;if(r>this.position){u=this.parseWhitespaceEquivalentTokens(r)}var f=void 0;if(this.isNamedCombinator()){f=this.namedCombinator()}else if(this.currToken[N.FIELDS.TYPE]===q.combinator){f=new F.default({value:this.content(),source:getTokenSource(this.currToken),sourceIndex:this.currToken[N.FIELDS.START_POS]});this.position++}else if(H[this.currToken[N.FIELDS.TYPE]]){}else if(!u){this.unexpected()}if(f){if(u){var c=this.convertWhitespaceNodesToSpace(u),l=c.space,p=c.rawSpace;f.spaces.before=l;f.rawSpaceBefore=p}}else{var h=this.convertWhitespaceNodesToSpace(u,true),B=h.space,v=h.rawSpace;if(!v){v=B}var d={};var b={spaces:{}};if(B.endsWith(" ")&&v.endsWith(" ")){d.before=B.slice(0,B.length-1);b.spaces.before=v.slice(0,v.length-1)}else if(B.startsWith(" ")&&v.startsWith(" ")){d.after=B.slice(1);b.spaces.after=v.slice(1)}else{b.value=v}f=new F.default({value:" ",source:getTokenSourceSpan(a,this.tokens[this.position-1]),sourceIndex:a[N.FIELDS.START_POS],spaces:d,raws:b})}if(this.currToken&&this.currToken[N.FIELDS.TYPE]===q.space){f.spaces.after=this.optionalSpace(this.content());this.position++}return this.newNode(f)};Parser.prototype.comma=function comma(){if(this.position===this.tokens.length-1){this.root.trailingComma=true;this.position++;return}this.current._inferEndPosition();var e=new B.default({source:{start:tokenStart(this.tokens[this.position+1])}});this.current.parent.append(e);this.current=e;this.position++};Parser.prototype.comment=function comment(){var e=this.currToken;this.newNode(new y.default({value:this.content(),source:getTokenSource(e),sourceIndex:e[N.FIELDS.START_POS]}));this.position++};Parser.prototype.error=function error(e,r){throw this.root.error(e,r)};Parser.prototype.missingBackslash=function missingBackslash(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[N.FIELDS.START_POS]})};Parser.prototype.missingParenthesis=function missingParenthesis(){return this.expected("opening parenthesis",this.currToken[N.FIELDS.START_POS])};Parser.prototype.missingSquareBracket=function missingSquareBracket(){return this.expected("opening square bracket",this.currToken[N.FIELDS.START_POS])};Parser.prototype.unexpected=function unexpected(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[N.FIELDS.START_POS])};Parser.prototype.namespace=function namespace(){var e=this.prevToken&&this.content(this.prevToken)||true;if(this.nextToken[N.FIELDS.TYPE]===q.word){this.position++;return this.word(e)}else if(this.nextToken[N.FIELDS.TYPE]===q.asterisk){this.position++;return this.universal(e)}};Parser.prototype.nesting=function nesting(){if(this.nextToken){var e=this.content(this.nextToken);if(e==="|"){this.position++;return}}var r=this.currToken;this.newNode(new j.default({value:this.content(),source:getTokenSource(r),sourceIndex:r[N.FIELDS.START_POS]}));this.position++};Parser.prototype.parentheses=function parentheses(){var e=this.current.last;var r=1;this.position++;if(e&&e.type===J.PSEUDO){var t=new B.default({source:{start:tokenStart(this.tokens[this.position-1])}});var n=this.current;e.append(t);this.current=t;while(this.position1&&e.nextToken&&e.nextToken[N.FIELDS.TYPE]===q.openParenthesis){e.error("Misplaced parenthesis.",{index:e.nextToken[N.FIELDS.START_POS]})}})}else{return this.expected(["pseudo-class","pseudo-element"],this.currToken[N.FIELDS.START_POS])}};Parser.prototype.space=function space(){var e=this.content();if(this.position===0||this.prevToken[N.FIELDS.TYPE]===q.comma||this.prevToken[N.FIELDS.TYPE]===q.openParenthesis){this.spaces=this.optionalSpace(e);this.position++}else if(this.position===this.tokens.length-1||this.nextToken[N.FIELDS.TYPE]===q.comma||this.nextToken[N.FIELDS.TYPE]===q.closeParenthesis){this.current.last.spaces.after=this.optionalSpace(e);this.position++}else{this.combinator()}};Parser.prototype.string=function string(){var e=this.currToken;this.newNode(new O.default({value:this.content(),source:getTokenSource(e),sourceIndex:e[N.FIELDS.START_POS]}));this.position++};Parser.prototype.universal=function universal(e){var r=this.nextToken;if(r&&this.content(r)==="|"){this.position++;return this.namespace()}var t=this.currToken;this.newNode(new A.default({value:this.content(),source:getTokenSource(t),sourceIndex:t[N.FIELDS.START_POS]}),e);this.position++};Parser.prototype.splitWord=function splitWord(e,r){var t=this;var n=this.nextToken;var i=this.content();while(n&&~[q.dollar,q.caret,q.equals,q.word].indexOf(n[N.FIELDS.TYPE])){this.position++;var o=this.content();i+=o;if(o.lastIndexOf("\\")===o.length-1){var s=this.nextToken;if(s&&s[N.FIELDS.TYPE]===q.space){i+=this.requiredSpace(this.content(s));this.position++}}n=this.nextToken}var a=(0,u.default)(i,".").filter(function(e){return i[e-1]!=="\\"});var f=(0,u.default)(i,"#");var l=(0,u.default)(i,"#{");if(l.length){f=f.filter(function(e){return!~l.indexOf(e)})}var p=(0,M.default)((0,c.default)([0].concat(a,f)));p.forEach(function(n,o){var s=p[o+1]||i.length;var u=i.slice(n,s);if(o===0&&r){return r.call(t,u,p.length)}var c=void 0;var l=t.currToken;var h=l[N.FIELDS.START_POS]+p[o];var B=getSource(l[1],l[2]+n,l[3],l[2]+(s-1));if(~a.indexOf(n)){var v={value:u.slice(1),source:B,sourceIndex:h};c=new d.default(unescapeProp(v,"value"))}else if(~f.indexOf(n)){var b={value:u.slice(1),source:B,sourceIndex:h};c=new m.default(unescapeProp(b,"value"))}else{var y={value:u,source:B,sourceIndex:h};unescapeProp(y,"value");c=new w.default(y)}t.newNode(c,e);e=null});this.position++};Parser.prototype.word=function word(e){var r=this.nextToken;if(r&&this.content(r)==="|"){this.position++;return this.namespace()}return this.splitWord(e)};Parser.prototype.loop=function loop(){while(this.position0&&arguments[0]!==undefined?arguments[0]:this.currToken;return this.css.slice(e[N.FIELDS.START_POS],e[N.FIELDS.END_POS])};Parser.prototype.locateNextMeaningfulToken=function locateNextMeaningfulToken(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:this.position+1;var r=e;while(r{"use strict";r.__esModule=true;var n=t(6343);var i=_interopRequireDefault(n);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}var o=function(){function Processor(e,r){_classCallCheck(this,Processor);this.func=e||function noop(){};this.funcRes=null;this.options=r}Processor.prototype._shouldUpdateSelector=function _shouldUpdateSelector(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var t=Object.assign({},this.options,r);if(t.updateSelector===false){return false}else{return typeof e!=="string"}};Processor.prototype._isLossy=function _isLossy(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var r=Object.assign({},this.options,e);if(r.lossless===false){return true}else{return false}};Processor.prototype._root=function _root(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var t=new i.default(e,this._parseOptions(r));return t.root};Processor.prototype._parseOptions=function _parseOptions(e){return{lossy:this._isLossy(e)}};Processor.prototype._run=function _run(e){var r=this;var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return new Promise(function(n,i){try{var o=r._root(e,t);Promise.resolve(r.func(o)).then(function(n){var i=undefined;if(r._shouldUpdateSelector(e,t)){i=o.toString();e.selector=i}return{transform:n,root:o,string:i}}).then(n,i)}catch(e){i(e);return}})};Processor.prototype._runSync=function _runSync(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var t=this._root(e,r);var n=this.func(t);if(n&&typeof n.then==="function"){throw new Error("Selector processor returned a promise to a synchronous call.")}var i=undefined;if(r.updateSelector&&typeof e!=="string"){i=t.toString();e.selector=i}return{transform:n,root:t,string:i}};Processor.prototype.ast=function ast(e,r){return this._run(e,r).then(function(e){return e.root})};Processor.prototype.astSync=function astSync(e,r){return this._runSync(e,r).root};Processor.prototype.transform=function transform(e,r){return this._run(e,r).then(function(e){return e.transform})};Processor.prototype.transformSync=function transformSync(e,r){return this._runSync(e,r).transform};Processor.prototype.process=function process(e,r){return this._run(e,r).then(function(e){return e.string||e.root.toString()})};Processor.prototype.processSync=function processSync(e,r){var t=this._runSync(e,r);return t.string||t.root.toString()};return Processor}();r.default=o;e.exports=r["default"]},9341:(e,r,t)=>{"use strict";r.__esModule=true;var n;var i=function(){function defineProperties(e,r){for(var t=0;t0&&arguments[0]!==undefined?arguments[0]:{};_classCallCheck(this,Attribute);var t=_possibleConstructorReturn(this,e.call(this,handleDeprecatedContructorOpts(r)));t.type=l.ATTRIBUTE;t.raws=t.raws||{};Object.defineProperty(t.raws,"unquoted",{get:h(function(){return t.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:h(function(){return t.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")});t._constructed=true;return t}Attribute.prototype.getQuotedValue=function getQuotedValue(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var r=this._determineQuoteMark(e);var t=g[r];var n=(0,s.default)(this._value,t);return n};Attribute.prototype._determineQuoteMark=function _determineQuoteMark(e){return e.smart?this.smartQuoteMark(e):this.preferredQuoteMark(e)};Attribute.prototype.setValue=function setValue(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};this._value=e;this._quoteMark=this._determineQuoteMark(r);this._syncRawValue()};Attribute.prototype.smartQuoteMark=function smartQuoteMark(e){var r=this.value;var t=r.replace(/[^']/g,"").length;var n=r.replace(/[^"]/g,"").length;if(t+n===0){var i=(0,s.default)(r,{isIdentifier:true});if(i===r){return Attribute.NO_QUOTE}else{var o=this.preferredQuoteMark(e);if(o===Attribute.NO_QUOTE){var a=this.quoteMark||e.quoteMark||Attribute.DOUBLE_QUOTE;var u=g[a];var f=(0,s.default)(r,u);if(f.length1&&arguments[1]!==undefined?arguments[1]:e;var t=arguments.length>2&&arguments[2]!==undefined?arguments[2]:defaultAttrConcat;var n=this._spacesFor(r);return t(this.stringifyProperty(e),n)};Attribute.prototype.offsetOf=function offsetOf(e){var r=1;var t=this._spacesFor("attribute");r+=t.before.length;if(e==="namespace"||e==="ns"){return this.namespace?r:-1}if(e==="attributeNS"){return r}r+=this.namespaceString.length;if(this.namespace){r+=1}if(e==="attribute"){return r}r+=this.stringifyProperty("attribute").length;r+=t.after.length;var n=this._spacesFor("operator");r+=n.before.length;var i=this.stringifyProperty("operator");if(e==="operator"){return i?r:-1}r+=i.length;r+=n.after.length;var o=this._spacesFor("value");r+=o.before.length;var s=this.stringifyProperty("value");if(e==="value"){return s?r:-1}r+=s.length;r+=o.after.length;var a=this._spacesFor("insensitive");r+=a.before.length;if(e==="insensitive"){return this.insensitive?r:-1}return-1};Attribute.prototype.toString=function toString(){var e=this;var r=[this.rawSpaceBefore,"["];r.push(this._stringFor("qualifiedAttribute","attribute"));if(this.operator&&this.value){r.push(this._stringFor("operator"));r.push(this._stringFor("value"));r.push(this._stringFor("insensitiveFlag","insensitive",function(r,t){if(r.length>0&&!e.quoted&&t.before.length===0&&!(e.spaces.value&&e.spaces.value.after)){t.before=" "}return defaultAttrConcat(r,t)}))}r.push("]");r.push(this.rawSpaceAfter);return r.join("")};i(Attribute,[{key:"quoted",get:function get(){var e=this.quoteMark;return e==="'"||e==='"'},set:function set(e){d()}},{key:"quoteMark",get:function get(){return this._quoteMark},set:function set(e){if(!this._constructed){this._quoteMark=e;return}if(this._quoteMark!==e){this._quoteMark=e;this._syncRawValue()}}},{key:"qualifiedAttribute",get:function get(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function get(){return this.insensitive?"i":""}},{key:"value",get:function get(){return this._value},set:function set(e){if(this._constructed){var r=unescapeValue(e),t=r.deprecatedUsage,n=r.unescaped,i=r.quoteMark;if(t){v()}if(n===this._value&&i===this._quoteMark){return}this._value=n;this._quoteMark=i;this._syncRawValue()}else{this._value=e}}},{key:"attribute",get:function get(){return this._attribute},set:function set(e){this._handleEscapes("attribute",e);this._attribute=e}}]);return Attribute}(c.default);y.NO_QUOTE=null;y.SINGLE_QUOTE="'";y.DOUBLE_QUOTE='"';r.default=y;var g=(n={"'":{quotes:"single",wrap:true},'"':{quotes:"double",wrap:true}},n[null]={isIdentifier:true},n);function defaultAttrConcat(e,r){return""+r.before+e+r.after}},5890:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t{"use strict";r.__esModule=true;var n=t(4181);var i=_interopRequireDefault(n);var o=t(5929);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Combinator,e);function Combinator(r){_classCallCheck(this,Combinator);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.COMBINATOR;return t}return Combinator}(i.default);r.default=s;e.exports=r["default"]},6708:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(4181);var i=_interopRequireDefault(n);var o=t(5929);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Comment,e);function Comment(r){_classCallCheck(this,Comment);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.COMMENT;return t}return Comment}(i.default);r.default=s;e.exports=r["default"]},7669:(e,r,t)=>{"use strict";r.__esModule=true;r.universal=r.tag=r.string=r.selector=r.root=r.pseudo=r.nesting=r.id=r.comment=r.combinator=r.className=r.attribute=undefined;var n=t(9341);var i=_interopRequireDefault(n);var o=t(5890);var s=_interopRequireDefault(o);var a=t(9099);var u=_interopRequireDefault(a);var f=t(6708);var c=_interopRequireDefault(f);var l=t(8881);var p=_interopRequireDefault(l);var h=t(1899);var B=_interopRequireDefault(h);var v=t(9630);var d=_interopRequireDefault(v);var b=t(9878);var y=_interopRequireDefault(b);var g=t(2640);var m=_interopRequireDefault(g);var C=t(1753);var w=_interopRequireDefault(C);var S=t(6611);var O=_interopRequireDefault(S);var T=t(8963);var E=_interopRequireDefault(T);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var k=r.attribute=function attribute(e){return new i.default(e)};var P=r.className=function className(e){return new s.default(e)};var D=r.combinator=function combinator(e){return new u.default(e)};var A=r.comment=function comment(e){return new c.default(e)};var R=r.id=function id(e){return new p.default(e)};var F=r.nesting=function nesting(e){return new B.default(e)};var x=r.pseudo=function pseudo(e){return new d.default(e)};var j=r.root=function root(e){return new y.default(e)};var I=r.selector=function selector(e){return new m.default(e)};var M=r.string=function string(e){return new w.default(e)};var N=r.tag=function tag(e){return new O.default(e)};var _=r.universal=function universal(e){return new E.default(e)}},6962:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t=e){this.indexes[t]=r-1}}return this};Container.prototype.removeAll=function removeAll(){for(var e=this.nodes,r=Array.isArray(e),t=0,e=r?e:e[Symbol.iterator]();;){var n;if(r){if(t>=e.length)break;n=e[t++]}else{t=e.next();if(t.done)break;n=t.value}var i=n;i.parent=undefined}this.nodes=[];return this};Container.prototype.empty=function empty(){return this.removeAll()};Container.prototype.insertAfter=function insertAfter(e,r){r.parent=this;var t=this.index(e);this.nodes.splice(t+1,0,r);r.parent=this;var n=void 0;for(var i in this.indexes){n=this.indexes[i];if(t<=n){this.indexes[i]=n+1}}return this};Container.prototype.insertBefore=function insertBefore(e,r){r.parent=this;var t=this.index(e);this.nodes.splice(t,0,r);r.parent=this;var n=void 0;for(var i in this.indexes){n=this.indexes[i];if(n<=t){this.indexes[i]=n+1}}return this};Container.prototype._findChildAtPosition=function _findChildAtPosition(e,r){var t=undefined;this.each(function(n){if(n.atPosition){var i=n.atPosition(e,r);if(i){t=i;return false}}else if(n.isAtPosition(e,r)){t=n;return false}});return t};Container.prototype.atPosition=function atPosition(e,r){if(this.isAtPosition(e,r)){return this._findChildAtPosition(e,r)||this}else{return undefined}};Container.prototype._inferEndPosition=function _inferEndPosition(){if(this.last&&this.last.source&&this.last.source.end){this.source=this.source||{};this.source.end=this.source.end||{};Object.assign(this.source.end,this.last.source.end)}};Container.prototype.each=function each(e){if(!this.lastEach){this.lastEach=0}if(!this.indexes){this.indexes={}}this.lastEach++;var r=this.lastEach;this.indexes[r]=0;if(!this.length){return undefined}var t=void 0,n=void 0;while(this.indexes[r]{"use strict";r.__esModule=true;r.isUniversal=r.isTag=r.isString=r.isSelector=r.isRoot=r.isPseudo=r.isNesting=r.isIdentifier=r.isComment=r.isCombinator=r.isClassName=r.isAttribute=undefined;var n=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var i;r.isNode=isNode;r.isPseudoElement=isPseudoElement;r.isPseudoClass=isPseudoClass;r.isContainer=isContainer;r.isNamespace=isNamespace;var o=t(5929);var s=(i={},i[o.ATTRIBUTE]=true,i[o.CLASS]=true,i[o.COMBINATOR]=true,i[o.COMMENT]=true,i[o.ID]=true,i[o.NESTING]=true,i[o.PSEUDO]=true,i[o.ROOT]=true,i[o.SELECTOR]=true,i[o.STRING]=true,i[o.TAG]=true,i[o.UNIVERSAL]=true,i);function isNode(e){return(typeof e==="undefined"?"undefined":n(e))==="object"&&s[e.type]}function isNodeType(e,r){return isNode(r)&&r.type===e}var a=r.isAttribute=isNodeType.bind(null,o.ATTRIBUTE);var u=r.isClassName=isNodeType.bind(null,o.CLASS);var f=r.isCombinator=isNodeType.bind(null,o.COMBINATOR);var c=r.isComment=isNodeType.bind(null,o.COMMENT);var l=r.isIdentifier=isNodeType.bind(null,o.ID);var p=r.isNesting=isNodeType.bind(null,o.NESTING);var h=r.isPseudo=isNodeType.bind(null,o.PSEUDO);var B=r.isRoot=isNodeType.bind(null,o.ROOT);var v=r.isSelector=isNodeType.bind(null,o.SELECTOR);var d=r.isString=isNodeType.bind(null,o.STRING);var b=r.isTag=isNodeType.bind(null,o.TAG);var y=r.isUniversal=isNodeType.bind(null,o.UNIVERSAL);function isPseudoElement(e){return h(e)&&e.value&&(e.value.startsWith("::")||e.value===":before"||e.value===":after")}function isPseudoClass(e){return h(e)&&!isPseudoElement(e)}function isContainer(e){return!!(isNode(e)&&e.walk)}function isNamespace(e){return a(e)||b(e)}},8881:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(4181);var i=_interopRequireDefault(n);var o=t(5929);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(ID,e);function ID(r){_classCallCheck(this,ID);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.ID;return t}ID.prototype.toString=function toString(){return[this.rawSpaceBefore,String("#"+this.stringifyProperty("value")),this.rawSpaceAfter].join("")};return ID}(i.default);r.default=s;e.exports=r["default"]},8129:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(5929);Object.keys(n).forEach(function(e){if(e==="default"||e==="__esModule")return;Object.defineProperty(r,e,{enumerable:true,get:function get(){return n[e]}})});var i=t(7669);Object.keys(i).forEach(function(e){if(e==="default"||e==="__esModule")return;Object.defineProperty(r,e,{enumerable:true,get:function get(){return i[e]}})});var o=t(5117);Object.keys(o).forEach(function(e){if(e==="default"||e==="__esModule")return;Object.defineProperty(r,e,{enumerable:true,get:function get(){return o[e]}})})},6951:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t{"use strict";r.__esModule=true;var n=t(4181);var i=_interopRequireDefault(n);var o=t(5929);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Nesting,e);function Nesting(r){_classCallCheck(this,Nesting);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.NESTING;t.value="&";return t}return Nesting}(i.default);r.default=s;e.exports=r["default"]},4181:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t0&&arguments[0]!==undefined?arguments[0]:{};_classCallCheck(this,Node);Object.assign(this,e);this.spaces=this.spaces||{};this.spaces.before=this.spaces.before||"";this.spaces.after=this.spaces.after||""}Node.prototype.remove=function remove(){if(this.parent){this.parent.removeChild(this)}this.parent=undefined;return this};Node.prototype.replaceWith=function replaceWith(){if(this.parent){for(var e in arguments){this.parent.insertBefore(this,arguments[e])}this.remove()}return this};Node.prototype.next=function next(){return this.parent.at(this.parent.index(this)+1)};Node.prototype.prev=function prev(){return this.parent.at(this.parent.index(this)-1)};Node.prototype.clone=function clone(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var r=s(this);for(var t in e){r[t]=e[t]}return r};Node.prototype.appendToPropertyAndEscape=function appendToPropertyAndEscape(e,r,t){if(!this.raws){this.raws={}}var n=this[e];var i=this.raws[e];this[e]=n+r;if(i||t!==r){this.raws[e]=(i||n)+t}else{delete this.raws[e]}};Node.prototype.setPropertyAndEscape=function setPropertyAndEscape(e,r,t){if(!this.raws){this.raws={}}this[e]=r;this.raws[e]=t};Node.prototype.setPropertyWithoutEscape=function setPropertyWithoutEscape(e,r){this[e]=r;if(this.raws){delete this.raws[e]}};Node.prototype.isAtPosition=function isAtPosition(e,r){if(this.source&&this.source.start&&this.source.end){if(this.source.start.line>e){return false}if(this.source.end.liner){return false}if(this.source.end.line===e&&this.source.end.column{"use strict";r.__esModule=true;var n=t(6962);var i=_interopRequireDefault(n);var o=t(5929);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Pseudo,e);function Pseudo(r){_classCallCheck(this,Pseudo);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.PSEUDO;return t}Pseudo.prototype.toString=function toString(){var e=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),e,this.rawSpaceAfter].join("")};return Pseudo}(i.default);r.default=s;e.exports=r["default"]},9878:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t{"use strict";r.__esModule=true;var n=t(6962);var i=_interopRequireDefault(n);var o=t(5929);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Selector,e);function Selector(r){_classCallCheck(this,Selector);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.SELECTOR;return t}return Selector}(i.default);r.default=s;e.exports=r["default"]},1753:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(4181);var i=_interopRequireDefault(n);var o=t(5929);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(String,e);function String(r){_classCallCheck(this,String);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.STRING;return t}return String}(i.default);r.default=s;e.exports=r["default"]},6611:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(6951);var i=_interopRequireDefault(n);var o=t(5929);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Tag,e);function Tag(r){_classCallCheck(this,Tag);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.TAG;return t}return Tag}(i.default);r.default=s;e.exports=r["default"]},5929:(e,r)=>{"use strict";r.__esModule=true;var t=r.TAG="tag";var n=r.STRING="string";var i=r.SELECTOR="selector";var o=r.ROOT="root";var s=r.PSEUDO="pseudo";var a=r.NESTING="nesting";var u=r.ID="id";var f=r.COMMENT="comment";var c=r.COMBINATOR="combinator";var l=r.CLASS="class";var p=r.ATTRIBUTE="attribute";var h=r.UNIVERSAL="universal"},8963:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(6951);var i=_interopRequireDefault(n);var o=t(5929);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Universal,e);function Universal(r){_classCallCheck(this,Universal);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.UNIVERSAL;t.value="*";return t}return Universal}(i.default);r.default=s;e.exports=r["default"]},6680:(e,r)=>{"use strict";r.__esModule=true;r.default=sortAscending;function sortAscending(e){return e.sort(function(e,r){return e-r})}e.exports=r["default"]},2371:(e,r)=>{"use strict";r.__esModule=true;var t=r.ampersand=38;var n=r.asterisk=42;var i=r.at=64;var o=r.comma=44;var s=r.colon=58;var a=r.semicolon=59;var u=r.openParenthesis=40;var f=r.closeParenthesis=41;var c=r.openSquare=91;var l=r.closeSquare=93;var p=r.dollar=36;var h=r.tilde=126;var B=r.caret=94;var v=r.plus=43;var d=r.equals=61;var b=r.pipe=124;var y=r.greaterThan=62;var g=r.space=32;var m=r.singleQuote=39;var C=r.doubleQuote=34;var w=r.slash=47;var S=r.bang=33;var O=r.backslash=92;var T=r.cr=13;var E=r.feed=12;var k=r.newline=10;var P=r.tab=9;var D=r.str=m;var A=r.comment=-1;var R=r.word=-2;var F=r.combinator=-3},8780:(e,r,t)=>{"use strict";r.__esModule=true;r.FIELDS=undefined;var n,i;r.default=tokenize;var o=t(2371);var s=_interopRequireWildcard(o);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var r={};if(e!=null){for(var t in e){if(Object.prototype.hasOwnProperty.call(e,t))r[t]=e[t]}}r.default=e;return r}}var a=(n={},n[s.tab]=true,n[s.newline]=true,n[s.cr]=true,n[s.feed]=true,n);var u=(i={},i[s.space]=true,i[s.tab]=true,i[s.newline]=true,i[s.cr]=true,i[s.feed]=true,i[s.ampersand]=true,i[s.asterisk]=true,i[s.bang]=true,i[s.comma]=true,i[s.colon]=true,i[s.semicolon]=true,i[s.openParenthesis]=true,i[s.closeParenthesis]=true,i[s.openSquare]=true,i[s.closeSquare]=true,i[s.singleQuote]=true,i[s.doubleQuote]=true,i[s.plus]=true,i[s.pipe]=true,i[s.tilde]=true,i[s.greaterThan]=true,i[s.equals]=true,i[s.dollar]=true,i[s.caret]=true,i[s.slash]=true,i);var f={};var c="0123456789abcdefABCDEF";for(var l=0;l0){g=a+d;m=y-b[d].length}else{g=a;m=o}w=s.comment;a=g;h=g;p=y-m}else if(c===s.slash){y=u;w=c;h=a;p=u-o;f=y+1}else{y=consumeWord(t,u);w=s.word;h=a;p=y-o}f=y+1;break}r.push([w,a,u-o,h,p,u,f]);if(m){o=m;m=null}u=f}return r}},1431:(e,r)=>{"use strict";r.__esModule=true;r.default=ensureObject;function ensureObject(e){for(var r=arguments.length,t=Array(r>1?r-1:0),n=1;n0){var i=t.shift();if(!e[i]){e[i]={}}e=e[i]}}e.exports=r["default"]},9833:(e,r)=>{"use strict";r.__esModule=true;r.default=getProp;function getProp(e){for(var r=arguments.length,t=Array(r>1?r-1:0),n=1;n0){var i=t.shift();if(!e[i]){return undefined}e=e[i]}return e}e.exports=r["default"]},2429:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(8844);Object.defineProperty(r,"unesc",{enumerable:true,get:function get(){return _interopRequireDefault(n).default}});var i=t(9833);Object.defineProperty(r,"getProp",{enumerable:true,get:function get(){return _interopRequireDefault(i).default}});var o=t(1431);Object.defineProperty(r,"ensureObject",{enumerable:true,get:function get(){return _interopRequireDefault(o).default}});var s=t(107);Object.defineProperty(r,"stripComments",{enumerable:true,get:function get(){return _interopRequireDefault(s).default}});function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},107:(e,r)=>{"use strict";r.__esModule=true;r.default=stripComments;function stripComments(e){var r="";var t=e.indexOf("/*");var n=0;while(t>=0){r=r+e.slice(n,t);var i=e.indexOf("*/",t+2);if(i<0){return r}n=i+2;t=e.indexOf("/*",n)}r=r+e.slice(n);return r}e.exports=r["default"]},8844:(e,r)=>{"use strict";r.__esModule=true;r.default=unesc;var t=/\\(?:([0-9a-fA-F]{6})|([0-9a-fA-F]{1,5})(?: |(?![0-9a-fA-F])))/g;var n=/\\(.)/g;function unesc(e){e=e.replace(t,function(e,r,t){var n=r||t;var i=parseInt(n,16);return String.fromCharCode(i)});e=e.replace(n,function(e,r){return r});return e}e.exports=r["default"]},689:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(7802));var i=_interopDefault(t(8784));var o=n.plugin("postcss-dir-pseudo-class",e=>{const r=Object(e).dir;const t=Boolean(Object(e).preserve);return e=>{e.walkRules(/:dir\([^\)]*\)/,e=>{let n=e;if(t){n=e.cloneBefore()}n.selector=i(e=>{e.nodes.forEach(e=>{e.walk(t=>{if("pseudo"===t.type&&":dir"===t.value){const n=t.prev();const o=t.next();const s=n&&n.type&&"combinator"===n.type&&" "===n.value;const a=o&&o.type&&"combinator"===o.type&&" "===o.value;if(s&&(a||!o)){t.replaceWith(i.universal())}else{t.remove()}const u=e.nodes[0];const f=u&&"combinator"===u.type&&" "===u.value;const c=u&&"tag"===u.type&&"html"===u.value;const l=u&&"pseudo"===u.type&&":root"===u.value;if(u&&!c&&!l&&!f){e.prepend(i.combinator({value:" "}))}const p=t.nodes.toString();const h=r===p;const B=i.attribute({attribute:"dir",operator:"=",quoteMark:'"',value:`"${p}"`});const v=i.pseudo({value:`${c||l?"":"html"}:not`});v.append(i.attribute({attribute:"dir",operator:"=",quoteMark:'"',value:`"${"ltr"===p?"rtl":"ltr"}"`}));if(h){if(c){e.insertAfter(u,v)}else{e.prepend(v)}}else if(c){e.insertAfter(u,B)}else{e.prepend(B)}}})})}).processSync(n.selector)})}});e.exports=o},1060:e=>{"use strict";var r={};var t=r.hasOwnProperty;var n=function merge(e,r){if(!e){return r}var n={};for(var i in r){n[i]=t.call(e,i)?e[i]:r[i]}return n};var i=/[ -,\.\/;-@\[-\^`\{-~]/;var o=/[ -,\.\/;-@\[\]\^`\{-~]/;var s=/['"\\]/;var a=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g;var u=function cssesc(e,r){r=n(r,cssesc.options);if(r.quotes!="single"&&r.quotes!="double"){r.quotes="single"}var t=r.quotes=="double"?'"':"'";var s=r.isIdentifier;var u=e.charAt(0);var f="";var c=0;var l=e.length;while(c126){if(h>=55296&&h<=56319&&c{"use strict";r.__esModule=true;var n=t(5257);var i=_interopRequireDefault(n);var o=t(3945);var s=_interopRequireWildcard(o);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var r={};if(e!=null){for(var t in e){if(Object.prototype.hasOwnProperty.call(e,t))r[t]=e[t]}}r.default=e;return r}}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var a=function parser(e){return new i.default(e)};Object.assign(a,s);delete a.__esModule;r.default=a;e.exports=r["default"]},7656:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t1&&arguments[1]!==undefined?arguments[1]:{};_classCallCheck(this,Parser);this.rule=e;this.options=Object.assign({lossy:false,safe:false},r);this.position=0;this.css=typeof this.rule==="string"?this.rule:this.rule.selector;this.tokens=(0,_.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var t=getTokenSourceSpan(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new p.default({source:t});this.root.errorGenerator=this._errorGenerator();var n=new B.default({source:{start:{line:1,column:1}}});this.root.append(n);this.current=n;this.loop()}Parser.prototype._errorGenerator=function _errorGenerator(){var e=this;return function(r,t){if(typeof e.rule==="string"){return new Error(r)}return e.rule.error(r,t)}};Parser.prototype.attribute=function attribute(){var e=[];var r=this.currToken;this.position++;while(this.position1&&arguments[1]!==undefined?arguments[1]:false;var n="";var i="";e.forEach(function(e){var o=r.lossySpace(e.spaces.before,t);var s=r.lossySpace(e.rawSpaceBefore,t);n+=o+r.lossySpace(e.spaces.after,t&&o.length===0);i+=o+e.value+r.lossySpace(e.rawSpaceAfter,t&&s.length===0)});if(i===n){i=undefined}var o={space:n,rawSpace:i};return o};Parser.prototype.isNamedCombinator=function isNamedCombinator(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:this.position;return this.tokens[e+0]&&this.tokens[e+0][N.FIELDS.TYPE]===q.slash&&this.tokens[e+1]&&this.tokens[e+1][N.FIELDS.TYPE]===q.word&&this.tokens[e+2]&&this.tokens[e+2][N.FIELDS.TYPE]===q.slash};Parser.prototype.namedCombinator=function namedCombinator(){if(this.isNamedCombinator()){var e=this.content(this.tokens[this.position+1]);var r=(0,U.unesc)(e).toLowerCase();var t={};if(r!==e){t.value="/"+e+"/"}var n=new F.default({value:"/"+r+"/",source:getSource(this.currToken[N.FIELDS.START_LINE],this.currToken[N.FIELDS.START_COL],this.tokens[this.position+2][N.FIELDS.END_LINE],this.tokens[this.position+2][N.FIELDS.END_COL]),sourceIndex:this.currToken[N.FIELDS.START_POS],raws:t});this.position=this.position+3;return n}else{this.unexpected()}};Parser.prototype.combinator=function combinator(){var e=this;if(this.content()==="|"){return this.namespace()}var r=this.locateNextMeaningfulToken(this.position);if(r<0||this.tokens[r][N.FIELDS.TYPE]===q.comma){var t=this.parseWhitespaceEquivalentTokens(r);if(t.length>0){var n=this.current.last;if(n){var i=this.convertWhitespaceNodesToSpace(t),o=i.space,s=i.rawSpace;if(s!==undefined){n.rawSpaceAfter+=s}n.spaces.after+=o}else{t.forEach(function(r){return e.newNode(r)})}}return}var a=this.currToken;var u=undefined;if(r>this.position){u=this.parseWhitespaceEquivalentTokens(r)}var f=void 0;if(this.isNamedCombinator()){f=this.namedCombinator()}else if(this.currToken[N.FIELDS.TYPE]===q.combinator){f=new F.default({value:this.content(),source:getTokenSource(this.currToken),sourceIndex:this.currToken[N.FIELDS.START_POS]});this.position++}else if(H[this.currToken[N.FIELDS.TYPE]]){}else if(!u){this.unexpected()}if(f){if(u){var c=this.convertWhitespaceNodesToSpace(u),l=c.space,p=c.rawSpace;f.spaces.before=l;f.rawSpaceBefore=p}}else{var h=this.convertWhitespaceNodesToSpace(u,true),B=h.space,v=h.rawSpace;if(!v){v=B}var d={};var b={spaces:{}};if(B.endsWith(" ")&&v.endsWith(" ")){d.before=B.slice(0,B.length-1);b.spaces.before=v.slice(0,v.length-1)}else if(B.startsWith(" ")&&v.startsWith(" ")){d.after=B.slice(1);b.spaces.after=v.slice(1)}else{b.value=v}f=new F.default({value:" ",source:getTokenSourceSpan(a,this.tokens[this.position-1]),sourceIndex:a[N.FIELDS.START_POS],spaces:d,raws:b})}if(this.currToken&&this.currToken[N.FIELDS.TYPE]===q.space){f.spaces.after=this.optionalSpace(this.content());this.position++}return this.newNode(f)};Parser.prototype.comma=function comma(){if(this.position===this.tokens.length-1){this.root.trailingComma=true;this.position++;return}this.current._inferEndPosition();var e=new B.default({source:{start:tokenStart(this.tokens[this.position+1])}});this.current.parent.append(e);this.current=e;this.position++};Parser.prototype.comment=function comment(){var e=this.currToken;this.newNode(new y.default({value:this.content(),source:getTokenSource(e),sourceIndex:e[N.FIELDS.START_POS]}));this.position++};Parser.prototype.error=function error(e,r){throw this.root.error(e,r)};Parser.prototype.missingBackslash=function missingBackslash(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[N.FIELDS.START_POS]})};Parser.prototype.missingParenthesis=function missingParenthesis(){return this.expected("opening parenthesis",this.currToken[N.FIELDS.START_POS])};Parser.prototype.missingSquareBracket=function missingSquareBracket(){return this.expected("opening square bracket",this.currToken[N.FIELDS.START_POS])};Parser.prototype.unexpected=function unexpected(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[N.FIELDS.START_POS])};Parser.prototype.namespace=function namespace(){var e=this.prevToken&&this.content(this.prevToken)||true;if(this.nextToken[N.FIELDS.TYPE]===q.word){this.position++;return this.word(e)}else if(this.nextToken[N.FIELDS.TYPE]===q.asterisk){this.position++;return this.universal(e)}};Parser.prototype.nesting=function nesting(){if(this.nextToken){var e=this.content(this.nextToken);if(e==="|"){this.position++;return}}var r=this.currToken;this.newNode(new j.default({value:this.content(),source:getTokenSource(r),sourceIndex:r[N.FIELDS.START_POS]}));this.position++};Parser.prototype.parentheses=function parentheses(){var e=this.current.last;var r=1;this.position++;if(e&&e.type===J.PSEUDO){var t=new B.default({source:{start:tokenStart(this.tokens[this.position-1])}});var n=this.current;e.append(t);this.current=t;while(this.position1&&e.nextToken&&e.nextToken[N.FIELDS.TYPE]===q.openParenthesis){e.error("Misplaced parenthesis.",{index:e.nextToken[N.FIELDS.START_POS]})}})}else{return this.expected(["pseudo-class","pseudo-element"],this.currToken[N.FIELDS.START_POS])}};Parser.prototype.space=function space(){var e=this.content();if(this.position===0||this.prevToken[N.FIELDS.TYPE]===q.comma||this.prevToken[N.FIELDS.TYPE]===q.openParenthesis){this.spaces=this.optionalSpace(e);this.position++}else if(this.position===this.tokens.length-1||this.nextToken[N.FIELDS.TYPE]===q.comma||this.nextToken[N.FIELDS.TYPE]===q.closeParenthesis){this.current.last.spaces.after=this.optionalSpace(e);this.position++}else{this.combinator()}};Parser.prototype.string=function string(){var e=this.currToken;this.newNode(new O.default({value:this.content(),source:getTokenSource(e),sourceIndex:e[N.FIELDS.START_POS]}));this.position++};Parser.prototype.universal=function universal(e){var r=this.nextToken;if(r&&this.content(r)==="|"){this.position++;return this.namespace()}var t=this.currToken;this.newNode(new A.default({value:this.content(),source:getTokenSource(t),sourceIndex:t[N.FIELDS.START_POS]}),e);this.position++};Parser.prototype.splitWord=function splitWord(e,r){var t=this;var n=this.nextToken;var i=this.content();while(n&&~[q.dollar,q.caret,q.equals,q.word].indexOf(n[N.FIELDS.TYPE])){this.position++;var o=this.content();i+=o;if(o.lastIndexOf("\\")===o.length-1){var s=this.nextToken;if(s&&s[N.FIELDS.TYPE]===q.space){i+=this.requiredSpace(this.content(s));this.position++}}n=this.nextToken}var a=(0,u.default)(i,".").filter(function(e){return i[e-1]!=="\\"});var f=(0,u.default)(i,"#");var l=(0,u.default)(i,"#{");if(l.length){f=f.filter(function(e){return!~l.indexOf(e)})}var p=(0,M.default)((0,c.default)([0].concat(a,f)));p.forEach(function(n,o){var s=p[o+1]||i.length;var u=i.slice(n,s);if(o===0&&r){return r.call(t,u,p.length)}var c=void 0;var l=t.currToken;var h=l[N.FIELDS.START_POS]+p[o];var B=getSource(l[1],l[2]+n,l[3],l[2]+(s-1));if(~a.indexOf(n)){var v={value:u.slice(1),source:B,sourceIndex:h};c=new d.default(unescapeProp(v,"value"))}else if(~f.indexOf(n)){var b={value:u.slice(1),source:B,sourceIndex:h};c=new m.default(unescapeProp(b,"value"))}else{var y={value:u,source:B,sourceIndex:h};unescapeProp(y,"value");c=new w.default(y)}t.newNode(c,e);e=null});this.position++};Parser.prototype.word=function word(e){var r=this.nextToken;if(r&&this.content(r)==="|"){this.position++;return this.namespace()}return this.splitWord(e)};Parser.prototype.loop=function loop(){while(this.position0&&arguments[0]!==undefined?arguments[0]:this.currToken;return this.css.slice(e[N.FIELDS.START_POS],e[N.FIELDS.END_POS])};Parser.prototype.locateNextMeaningfulToken=function locateNextMeaningfulToken(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:this.position+1;var r=e;while(r{"use strict";r.__esModule=true;var n=t(7656);var i=_interopRequireDefault(n);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}var o=function(){function Processor(e,r){_classCallCheck(this,Processor);this.func=e||function noop(){};this.funcRes=null;this.options=r}Processor.prototype._shouldUpdateSelector=function _shouldUpdateSelector(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var t=Object.assign({},this.options,r);if(t.updateSelector===false){return false}else{return typeof e!=="string"}};Processor.prototype._isLossy=function _isLossy(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var r=Object.assign({},this.options,e);if(r.lossless===false){return true}else{return false}};Processor.prototype._root=function _root(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var t=new i.default(e,this._parseOptions(r));return t.root};Processor.prototype._parseOptions=function _parseOptions(e){return{lossy:this._isLossy(e)}};Processor.prototype._run=function _run(e){var r=this;var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return new Promise(function(n,i){try{var o=r._root(e,t);Promise.resolve(r.func(o)).then(function(n){var i=undefined;if(r._shouldUpdateSelector(e,t)){i=o.toString();e.selector=i}return{transform:n,root:o,string:i}}).then(n,i)}catch(e){i(e);return}})};Processor.prototype._runSync=function _runSync(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var t=this._root(e,r);var n=this.func(t);if(n&&typeof n.then==="function"){throw new Error("Selector processor returned a promise to a synchronous call.")}var i=undefined;if(r.updateSelector&&typeof e!=="string"){i=t.toString();e.selector=i}return{transform:n,root:t,string:i}};Processor.prototype.ast=function ast(e,r){return this._run(e,r).then(function(e){return e.root})};Processor.prototype.astSync=function astSync(e,r){return this._runSync(e,r).root};Processor.prototype.transform=function transform(e,r){return this._run(e,r).then(function(e){return e.transform})};Processor.prototype.transformSync=function transformSync(e,r){return this._runSync(e,r).transform};Processor.prototype.process=function process(e,r){return this._run(e,r).then(function(e){return e.string||e.root.toString()})};Processor.prototype.processSync=function processSync(e,r){var t=this._runSync(e,r);return t.string||t.root.toString()};return Processor}();r.default=o;e.exports=r["default"]},2248:(e,r,t)=>{"use strict";r.__esModule=true;var n;var i=function(){function defineProperties(e,r){for(var t=0;t0&&arguments[0]!==undefined?arguments[0]:{};_classCallCheck(this,Attribute);var t=_possibleConstructorReturn(this,e.call(this,handleDeprecatedContructorOpts(r)));t.type=l.ATTRIBUTE;t.raws=t.raws||{};Object.defineProperty(t.raws,"unquoted",{get:h(function(){return t.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:h(function(){return t.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")});t._constructed=true;return t}Attribute.prototype.getQuotedValue=function getQuotedValue(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var r=this._determineQuoteMark(e);var t=g[r];var n=(0,s.default)(this._value,t);return n};Attribute.prototype._determineQuoteMark=function _determineQuoteMark(e){return e.smart?this.smartQuoteMark(e):this.preferredQuoteMark(e)};Attribute.prototype.setValue=function setValue(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};this._value=e;this._quoteMark=this._determineQuoteMark(r);this._syncRawValue()};Attribute.prototype.smartQuoteMark=function smartQuoteMark(e){var r=this.value;var t=r.replace(/[^']/g,"").length;var n=r.replace(/[^"]/g,"").length;if(t+n===0){var i=(0,s.default)(r,{isIdentifier:true});if(i===r){return Attribute.NO_QUOTE}else{var o=this.preferredQuoteMark(e);if(o===Attribute.NO_QUOTE){var a=this.quoteMark||e.quoteMark||Attribute.DOUBLE_QUOTE;var u=g[a];var f=(0,s.default)(r,u);if(f.length1&&arguments[1]!==undefined?arguments[1]:e;var t=arguments.length>2&&arguments[2]!==undefined?arguments[2]:defaultAttrConcat;var n=this._spacesFor(r);return t(this.stringifyProperty(e),n)};Attribute.prototype.offsetOf=function offsetOf(e){var r=1;var t=this._spacesFor("attribute");r+=t.before.length;if(e==="namespace"||e==="ns"){return this.namespace?r:-1}if(e==="attributeNS"){return r}r+=this.namespaceString.length;if(this.namespace){r+=1}if(e==="attribute"){return r}r+=this.stringifyProperty("attribute").length;r+=t.after.length;var n=this._spacesFor("operator");r+=n.before.length;var i=this.stringifyProperty("operator");if(e==="operator"){return i?r:-1}r+=i.length;r+=n.after.length;var o=this._spacesFor("value");r+=o.before.length;var s=this.stringifyProperty("value");if(e==="value"){return s?r:-1}r+=s.length;r+=o.after.length;var a=this._spacesFor("insensitive");r+=a.before.length;if(e==="insensitive"){return this.insensitive?r:-1}return-1};Attribute.prototype.toString=function toString(){var e=this;var r=[this.rawSpaceBefore,"["];r.push(this._stringFor("qualifiedAttribute","attribute"));if(this.operator&&this.value){r.push(this._stringFor("operator"));r.push(this._stringFor("value"));r.push(this._stringFor("insensitiveFlag","insensitive",function(r,t){if(r.length>0&&!e.quoted&&t.before.length===0&&!(e.spaces.value&&e.spaces.value.after)){t.before=" "}return defaultAttrConcat(r,t)}))}r.push("]");r.push(this.rawSpaceAfter);return r.join("")};i(Attribute,[{key:"quoted",get:function get(){var e=this.quoteMark;return e==="'"||e==='"'},set:function set(e){d()}},{key:"quoteMark",get:function get(){return this._quoteMark},set:function set(e){if(!this._constructed){this._quoteMark=e;return}if(this._quoteMark!==e){this._quoteMark=e;this._syncRawValue()}}},{key:"qualifiedAttribute",get:function get(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function get(){return this.insensitive?"i":""}},{key:"value",get:function get(){return this._value},set:function set(e){if(this._constructed){var r=unescapeValue(e),t=r.deprecatedUsage,n=r.unescaped,i=r.quoteMark;if(t){v()}if(n===this._value&&i===this._quoteMark){return}this._value=n;this._quoteMark=i;this._syncRawValue()}else{this._value=e}}},{key:"attribute",get:function get(){return this._attribute},set:function set(e){this._handleEscapes("attribute",e);this._attribute=e}}]);return Attribute}(c.default);y.NO_QUOTE=null;y.SINGLE_QUOTE="'";y.DOUBLE_QUOTE='"';r.default=y;var g=(n={"'":{quotes:"single",wrap:true},'"':{quotes:"double",wrap:true}},n[null]={isIdentifier:true},n);function defaultAttrConcat(e,r){return""+r.before+e+r.after}},9726:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t{"use strict";r.__esModule=true;var n=t(4123);var i=_interopRequireDefault(n);var o=t(4578);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Combinator,e);function Combinator(r){_classCallCheck(this,Combinator);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.COMBINATOR;return t}return Combinator}(i.default);r.default=s;e.exports=r["default"]},1114:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(4123);var i=_interopRequireDefault(n);var o=t(4578);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Comment,e);function Comment(r){_classCallCheck(this,Comment);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.COMMENT;return t}return Comment}(i.default);r.default=s;e.exports=r["default"]},7670:(e,r,t)=>{"use strict";r.__esModule=true;r.universal=r.tag=r.string=r.selector=r.root=r.pseudo=r.nesting=r.id=r.comment=r.combinator=r.className=r.attribute=undefined;var n=t(2248);var i=_interopRequireDefault(n);var o=t(9726);var s=_interopRequireDefault(o);var a=t(2658);var u=_interopRequireDefault(a);var f=t(1114);var c=_interopRequireDefault(f);var l=t(5101);var p=_interopRequireDefault(l);var h=t(5);var B=_interopRequireDefault(h);var v=t(9901);var d=_interopRequireDefault(v);var b=t(9489);var y=_interopRequireDefault(b);var g=t(5707);var m=_interopRequireDefault(g);var C=t(5660);var w=_interopRequireDefault(C);var S=t(3894);var O=_interopRequireDefault(S);var T=t(6184);var E=_interopRequireDefault(T);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var k=r.attribute=function attribute(e){return new i.default(e)};var P=r.className=function className(e){return new s.default(e)};var D=r.combinator=function combinator(e){return new u.default(e)};var A=r.comment=function comment(e){return new c.default(e)};var R=r.id=function id(e){return new p.default(e)};var F=r.nesting=function nesting(e){return new B.default(e)};var x=r.pseudo=function pseudo(e){return new d.default(e)};var j=r.root=function root(e){return new y.default(e)};var I=r.selector=function selector(e){return new m.default(e)};var M=r.string=function string(e){return new w.default(e)};var N=r.tag=function tag(e){return new O.default(e)};var _=r.universal=function universal(e){return new E.default(e)}},8553:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t=e){this.indexes[t]=r-1}}return this};Container.prototype.removeAll=function removeAll(){for(var e=this.nodes,r=Array.isArray(e),t=0,e=r?e:e[Symbol.iterator]();;){var n;if(r){if(t>=e.length)break;n=e[t++]}else{t=e.next();if(t.done)break;n=t.value}var i=n;i.parent=undefined}this.nodes=[];return this};Container.prototype.empty=function empty(){return this.removeAll()};Container.prototype.insertAfter=function insertAfter(e,r){r.parent=this;var t=this.index(e);this.nodes.splice(t+1,0,r);r.parent=this;var n=void 0;for(var i in this.indexes){n=this.indexes[i];if(t<=n){this.indexes[i]=n+1}}return this};Container.prototype.insertBefore=function insertBefore(e,r){r.parent=this;var t=this.index(e);this.nodes.splice(t,0,r);r.parent=this;var n=void 0;for(var i in this.indexes){n=this.indexes[i];if(n<=t){this.indexes[i]=n+1}}return this};Container.prototype._findChildAtPosition=function _findChildAtPosition(e,r){var t=undefined;this.each(function(n){if(n.atPosition){var i=n.atPosition(e,r);if(i){t=i;return false}}else if(n.isAtPosition(e,r)){t=n;return false}});return t};Container.prototype.atPosition=function atPosition(e,r){if(this.isAtPosition(e,r)){return this._findChildAtPosition(e,r)||this}else{return undefined}};Container.prototype._inferEndPosition=function _inferEndPosition(){if(this.last&&this.last.source&&this.last.source.end){this.source=this.source||{};this.source.end=this.source.end||{};Object.assign(this.source.end,this.last.source.end)}};Container.prototype.each=function each(e){if(!this.lastEach){this.lastEach=0}if(!this.indexes){this.indexes={}}this.lastEach++;var r=this.lastEach;this.indexes[r]=0;if(!this.length){return undefined}var t=void 0,n=void 0;while(this.indexes[r]{"use strict";r.__esModule=true;r.isUniversal=r.isTag=r.isString=r.isSelector=r.isRoot=r.isPseudo=r.isNesting=r.isIdentifier=r.isComment=r.isCombinator=r.isClassName=r.isAttribute=undefined;var n=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var i;r.isNode=isNode;r.isPseudoElement=isPseudoElement;r.isPseudoClass=isPseudoClass;r.isContainer=isContainer;r.isNamespace=isNamespace;var o=t(4578);var s=(i={},i[o.ATTRIBUTE]=true,i[o.CLASS]=true,i[o.COMBINATOR]=true,i[o.COMMENT]=true,i[o.ID]=true,i[o.NESTING]=true,i[o.PSEUDO]=true,i[o.ROOT]=true,i[o.SELECTOR]=true,i[o.STRING]=true,i[o.TAG]=true,i[o.UNIVERSAL]=true,i);function isNode(e){return(typeof e==="undefined"?"undefined":n(e))==="object"&&s[e.type]}function isNodeType(e,r){return isNode(r)&&r.type===e}var a=r.isAttribute=isNodeType.bind(null,o.ATTRIBUTE);var u=r.isClassName=isNodeType.bind(null,o.CLASS);var f=r.isCombinator=isNodeType.bind(null,o.COMBINATOR);var c=r.isComment=isNodeType.bind(null,o.COMMENT);var l=r.isIdentifier=isNodeType.bind(null,o.ID);var p=r.isNesting=isNodeType.bind(null,o.NESTING);var h=r.isPseudo=isNodeType.bind(null,o.PSEUDO);var B=r.isRoot=isNodeType.bind(null,o.ROOT);var v=r.isSelector=isNodeType.bind(null,o.SELECTOR);var d=r.isString=isNodeType.bind(null,o.STRING);var b=r.isTag=isNodeType.bind(null,o.TAG);var y=r.isUniversal=isNodeType.bind(null,o.UNIVERSAL);function isPseudoElement(e){return h(e)&&e.value&&(e.value.startsWith("::")||e.value===":before"||e.value===":after")}function isPseudoClass(e){return h(e)&&!isPseudoElement(e)}function isContainer(e){return!!(isNode(e)&&e.walk)}function isNamespace(e){return a(e)||b(e)}},5101:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(4123);var i=_interopRequireDefault(n);var o=t(4578);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(ID,e);function ID(r){_classCallCheck(this,ID);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.ID;return t}ID.prototype.toString=function toString(){return[this.rawSpaceBefore,String("#"+this.stringifyProperty("value")),this.rawSpaceAfter].join("")};return ID}(i.default);r.default=s;e.exports=r["default"]},3945:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(4578);Object.keys(n).forEach(function(e){if(e==="default"||e==="__esModule")return;Object.defineProperty(r,e,{enumerable:true,get:function get(){return n[e]}})});var i=t(7670);Object.keys(i).forEach(function(e){if(e==="default"||e==="__esModule")return;Object.defineProperty(r,e,{enumerable:true,get:function get(){return i[e]}})});var o=t(9869);Object.keys(o).forEach(function(e){if(e==="default"||e==="__esModule")return;Object.defineProperty(r,e,{enumerable:true,get:function get(){return o[e]}})})},5229:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t{"use strict";r.__esModule=true;var n=t(4123);var i=_interopRequireDefault(n);var o=t(4578);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Nesting,e);function Nesting(r){_classCallCheck(this,Nesting);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.NESTING;t.value="&";return t}return Nesting}(i.default);r.default=s;e.exports=r["default"]},4123:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t0&&arguments[0]!==undefined?arguments[0]:{};_classCallCheck(this,Node);Object.assign(this,e);this.spaces=this.spaces||{};this.spaces.before=this.spaces.before||"";this.spaces.after=this.spaces.after||""}Node.prototype.remove=function remove(){if(this.parent){this.parent.removeChild(this)}this.parent=undefined;return this};Node.prototype.replaceWith=function replaceWith(){if(this.parent){for(var e in arguments){this.parent.insertBefore(this,arguments[e])}this.remove()}return this};Node.prototype.next=function next(){return this.parent.at(this.parent.index(this)+1)};Node.prototype.prev=function prev(){return this.parent.at(this.parent.index(this)-1)};Node.prototype.clone=function clone(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var r=s(this);for(var t in e){r[t]=e[t]}return r};Node.prototype.appendToPropertyAndEscape=function appendToPropertyAndEscape(e,r,t){if(!this.raws){this.raws={}}var n=this[e];var i=this.raws[e];this[e]=n+r;if(i||t!==r){this.raws[e]=(i||n)+t}else{delete this.raws[e]}};Node.prototype.setPropertyAndEscape=function setPropertyAndEscape(e,r,t){if(!this.raws){this.raws={}}this[e]=r;this.raws[e]=t};Node.prototype.setPropertyWithoutEscape=function setPropertyWithoutEscape(e,r){this[e]=r;if(this.raws){delete this.raws[e]}};Node.prototype.isAtPosition=function isAtPosition(e,r){if(this.source&&this.source.start&&this.source.end){if(this.source.start.line>e){return false}if(this.source.end.liner){return false}if(this.source.end.line===e&&this.source.end.column{"use strict";r.__esModule=true;var n=t(8553);var i=_interopRequireDefault(n);var o=t(4578);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Pseudo,e);function Pseudo(r){_classCallCheck(this,Pseudo);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.PSEUDO;return t}Pseudo.prototype.toString=function toString(){var e=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),e,this.rawSpaceAfter].join("")};return Pseudo}(i.default);r.default=s;e.exports=r["default"]},9489:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t{"use strict";r.__esModule=true;var n=t(8553);var i=_interopRequireDefault(n);var o=t(4578);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Selector,e);function Selector(r){_classCallCheck(this,Selector);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.SELECTOR;return t}return Selector}(i.default);r.default=s;e.exports=r["default"]},5660:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(4123);var i=_interopRequireDefault(n);var o=t(4578);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(String,e);function String(r){_classCallCheck(this,String);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.STRING;return t}return String}(i.default);r.default=s;e.exports=r["default"]},3894:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(5229);var i=_interopRequireDefault(n);var o=t(4578);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Tag,e);function Tag(r){_classCallCheck(this,Tag);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.TAG;return t}return Tag}(i.default);r.default=s;e.exports=r["default"]},4578:(e,r)=>{"use strict";r.__esModule=true;var t=r.TAG="tag";var n=r.STRING="string";var i=r.SELECTOR="selector";var o=r.ROOT="root";var s=r.PSEUDO="pseudo";var a=r.NESTING="nesting";var u=r.ID="id";var f=r.COMMENT="comment";var c=r.COMBINATOR="combinator";var l=r.CLASS="class";var p=r.ATTRIBUTE="attribute";var h=r.UNIVERSAL="universal"},6184:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(5229);var i=_interopRequireDefault(n);var o=t(4578);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Universal,e);function Universal(r){_classCallCheck(this,Universal);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.UNIVERSAL;t.value="*";return t}return Universal}(i.default);r.default=s;e.exports=r["default"]},8576:(e,r)=>{"use strict";r.__esModule=true;r.default=sortAscending;function sortAscending(e){return e.sort(function(e,r){return e-r})}e.exports=r["default"]},7688:(e,r)=>{"use strict";r.__esModule=true;var t=r.ampersand=38;var n=r.asterisk=42;var i=r.at=64;var o=r.comma=44;var s=r.colon=58;var a=r.semicolon=59;var u=r.openParenthesis=40;var f=r.closeParenthesis=41;var c=r.openSquare=91;var l=r.closeSquare=93;var p=r.dollar=36;var h=r.tilde=126;var B=r.caret=94;var v=r.plus=43;var d=r.equals=61;var b=r.pipe=124;var y=r.greaterThan=62;var g=r.space=32;var m=r.singleQuote=39;var C=r.doubleQuote=34;var w=r.slash=47;var S=r.bang=33;var O=r.backslash=92;var T=r.cr=13;var E=r.feed=12;var k=r.newline=10;var P=r.tab=9;var D=r.str=m;var A=r.comment=-1;var R=r.word=-2;var F=r.combinator=-3},8850:(e,r,t)=>{"use strict";r.__esModule=true;r.FIELDS=undefined;var n,i;r.default=tokenize;var o=t(7688);var s=_interopRequireWildcard(o);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var r={};if(e!=null){for(var t in e){if(Object.prototype.hasOwnProperty.call(e,t))r[t]=e[t]}}r.default=e;return r}}var a=(n={},n[s.tab]=true,n[s.newline]=true,n[s.cr]=true,n[s.feed]=true,n);var u=(i={},i[s.space]=true,i[s.tab]=true,i[s.newline]=true,i[s.cr]=true,i[s.feed]=true,i[s.ampersand]=true,i[s.asterisk]=true,i[s.bang]=true,i[s.comma]=true,i[s.colon]=true,i[s.semicolon]=true,i[s.openParenthesis]=true,i[s.closeParenthesis]=true,i[s.openSquare]=true,i[s.closeSquare]=true,i[s.singleQuote]=true,i[s.doubleQuote]=true,i[s.plus]=true,i[s.pipe]=true,i[s.tilde]=true,i[s.greaterThan]=true,i[s.equals]=true,i[s.dollar]=true,i[s.caret]=true,i[s.slash]=true,i);var f={};var c="0123456789abcdefABCDEF";for(var l=0;l0){g=a+d;m=y-b[d].length}else{g=a;m=o}w=s.comment;a=g;h=g;p=y-m}else if(c===s.slash){y=u;w=c;h=a;p=u-o;f=y+1}else{y=consumeWord(t,u);w=s.word;h=a;p=y-o}f=y+1;break}r.push([w,a,u-o,h,p,u,f]);if(m){o=m;m=null}u=f}return r}},9941:(e,r)=>{"use strict";r.__esModule=true;r.default=ensureObject;function ensureObject(e){for(var r=arguments.length,t=Array(r>1?r-1:0),n=1;n0){var i=t.shift();if(!e[i]){e[i]={}}e=e[i]}}e.exports=r["default"]},5666:(e,r)=>{"use strict";r.__esModule=true;r.default=getProp;function getProp(e){for(var r=arguments.length,t=Array(r>1?r-1:0),n=1;n0){var i=t.shift();if(!e[i]){return undefined}e=e[i]}return e}e.exports=r["default"]},1870:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(2758);Object.defineProperty(r,"unesc",{enumerable:true,get:function get(){return _interopRequireDefault(n).default}});var i=t(5666);Object.defineProperty(r,"getProp",{enumerable:true,get:function get(){return _interopRequireDefault(i).default}});var o=t(9941);Object.defineProperty(r,"ensureObject",{enumerable:true,get:function get(){return _interopRequireDefault(o).default}});var s=t(791);Object.defineProperty(r,"stripComments",{enumerable:true,get:function get(){return _interopRequireDefault(s).default}});function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},791:(e,r)=>{"use strict";r.__esModule=true;r.default=stripComments;function stripComments(e){var r="";var t=e.indexOf("/*");var n=0;while(t>=0){r=r+e.slice(n,t);var i=e.indexOf("*/",t+2);if(i<0){return r}n=i+2;t=e.indexOf("/*",n)}r=r+e.slice(n);return r}e.exports=r["default"]},2758:(e,r)=>{"use strict";r.__esModule=true;r.default=unesc;var t=/\\(?:([0-9a-fA-F]{6})|([0-9a-fA-F]{1,5})(?: |(?![0-9a-fA-F])))/g;var n=/\\(.)/g;function unesc(e){e=e.replace(t,function(e,r,t){var n=r||t;var i=parseInt(n,16);return String.fromCharCode(i)});e=e.replace(n,function(e,r){return r});return e}e.exports=r["default"]},9730:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(7802));var i=_interopDefault(t(4510));var o=n.plugin("postcss-double-position-gradients",e=>{const r="preserve"in Object(e)?Boolean(e.preserve):true;return e=>{e.walkDecls(e=>{const t=e.value;if(s.test(t)){const n=i(t).parse();n.walkFunctionNodes(e=>{if(a.test(e.value)){const r=e.nodes.slice(1,-1);r.forEach((t,n)=>{const o=Object(r[n-1]);const s=Object(r[n-2]);const a=s.type&&o.type==="number"&&t.type==="number";if(a){const r=s.clone();const n=i.comma({value:",",raws:{after:" "}});e.insertBefore(t,n);e.insertBefore(t,r)}})}});const o=n.toString();if(t!==o){e.cloneBefore({value:o});if(!r){e.remove()}}}})}});const s=/(repeating-)?(conic|linear|radial)-gradient\([\W\w]*\)/i;const a=/^(repeating-)?(conic|linear|radial)-gradient$/i;e.exports=o},8541:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(4510));var i=_interopDefault(t(5747));var o=_interopDefault(t(5622));var s=_interopDefault(t(7802));function asyncGeneratorStep(e,r,t,n,i,o,s){try{var a=e[o](s);var u=a.value}catch(e){t(e);return}if(a.done){r(u)}else{Promise.resolve(u).then(n,i)}}function _asyncToGenerator(e){return function(){var r=this,t=arguments;return new Promise(function(n,i){var o=e.apply(r,t);function _next(e){asyncGeneratorStep(o,n,i,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(o,n,i,_next,_throw,"throw",e)}_next(undefined)})}}const a=/^--/;var u=e=>{const r=String(e.nodes.slice(1,-1));return a.test(r)?r:undefined};var f=(e,r)=>{const t=u(e);if(typeof t==="string"&&t in r){e.replaceWith(...c(r[t],e.raws.before))}};const c=(e,r)=>{const t=l(e,null);if(t[0]){t[0].raws.before=r}return t};const l=(e,r)=>e.map(e=>p(e,r));const p=(e,r)=>{const t=new e.constructor(e);for(const n in e){if(n==="parent"){t.parent=r}else if(Object(e[n]).constructor===Array){t[n]=l(e.nodes,t)}else if(Object(e[n]).constructor===Object){t[n]=Object.assign({},e[n])}}return t};var h=e=>e&&e.type==="func"&&e.value==="env";function walk(e,r){e.nodes.slice(0).forEach(e=>{if(e.nodes){walk(e,r)}if(h(e)){r(e)}})}var B=(e,r)=>{const t=n(e).parse();walk(t,e=>{f(e,r)});return String(t)};var v=e=>e&&e.type==="atrule";var d=e=>e&&e.type==="decl";var b=e=>v(e)&&e.params||d(e)&&e.value;function setSupportedValue(e,r){if(v(e)){e.params=r}if(d(e)){e.value=r}}function importEnvironmentVariablesFromObject(e){const r=Object.assign({},Object(e).environmentVariables||Object(e)["environment-variables"]);for(const e in r){r[e]=n(r[e]).parse().nodes}return r}function importEnvironmentVariablesFromJSONFile(e){return _importEnvironmentVariablesFromJSONFile.apply(this,arguments)}function _importEnvironmentVariablesFromJSONFile(){_importEnvironmentVariablesFromJSONFile=_asyncToGenerator(function*(e){const r=yield g(o.resolve(e));return importEnvironmentVariablesFromObject(r)});return _importEnvironmentVariablesFromJSONFile.apply(this,arguments)}function importEnvironmentVariablesFromJSFile(e){return _importEnvironmentVariablesFromJSFile.apply(this,arguments)}function _importEnvironmentVariablesFromJSFile(){_importEnvironmentVariablesFromJSFile=_asyncToGenerator(function*(e){const r=yield Promise.resolve(require(o.resolve(e)));return importEnvironmentVariablesFromObject(r)});return _importEnvironmentVariablesFromJSFile.apply(this,arguments)}function importEnvironmentVariablesFromSources(e){return e.map(e=>{if(e instanceof Promise){return e}else if(e instanceof Function){return e()}const r=e===Object(e)?e:{from:String(e)};if(r.environmentVariables||r["environment-variables"]){return r}const t=String(r.from||"");const n=(r.type||o.extname(t).slice(1)).toLowerCase();return{type:n,from:t}}).reduce(function(){var e=_asyncToGenerator(function*(e,r){const t=yield r,n=t.type,i=t.from;if(n==="js"){return Object.assign(e,yield importEnvironmentVariablesFromJSFile(i))}if(n==="json"){return Object.assign(e,yield importEnvironmentVariablesFromJSONFile(i))}return Object.assign(e,importEnvironmentVariablesFromObject(yield r))});return function(r,t){return e.apply(this,arguments)}}(),{})}const y=e=>new Promise((r,t)=>{i.readFile(e,"utf8",(e,n)=>{if(e){t(e)}else{r(n)}})});const g=function(){var e=_asyncToGenerator(function*(e){return JSON.parse(yield y(e))});return function readJSON(r){return e.apply(this,arguments)}}();var m=s.plugin("postcss-env-fn",e=>{const r=[].concat(Object(e).importFrom||[]);const t=importEnvironmentVariablesFromSources(r);return function(){var e=_asyncToGenerator(function*(e){const r=yield t;e.walk(e=>{const t=b(e);if(t){const n=B(t,r);if(n!==t){setSupportedValue(e,n)}}})});return function(r){return e.apply(this,arguments)}}()});e.exports=m},9550:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(7802));const i=/:focus-visible([^\w-]|$)/gi;var o=n.plugin("postcss-focus-visible",e=>{const r=String(Object(e).replaceWith||".focus-visible");const t=Boolean("preserve"in Object(e)?e.preserve:true);return e=>{e.walkRules(i,e=>{const n=e.selector.replace(i,(e,t)=>{return`${r}${t}`});const o=e.clone({selector:n});if(t){e.before(o)}else{e.replaceWith(o)}})}});e.exports=o},5917:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(7802));const i=/:focus-within([^\w-]|$)/gi;var o=n.plugin("postcss-focus-within",e=>{const r=String(Object(e).replaceWith||"[focus-within]");const t=Boolean("preserve"in Object(e)?e.preserve:true);return e=>{e.walkRules(i,e=>{const n=e.selector.replace(i,(e,t)=>{return`${r}${t}`});const o=e.clone({selector:n});if(t){e.before(o)}else{e.replaceWith(o)}})}});e.exports=o},9633:(e,r,t)=>{var n=t(7802);var i={"font-variant-ligatures":{"common-ligatures":'"liga", "clig"',"no-common-ligatures":'"liga", "clig off"',"discretionary-ligatures":'"dlig"',"no-discretionary-ligatures":'"dlig" off',"historical-ligatures":'"hlig"',"no-historical-ligatures":'"hlig" off',contextual:'"calt"',"no-contextual":'"calt" off'},"font-variant-position":{sub:'"subs"',super:'"sups"',normal:'"subs" off, "sups" off'},"font-variant-caps":{"small-caps":'"c2sc"',"all-small-caps":'"smcp", "c2sc"',"petite-caps":'"pcap"',"all-petite-caps":'"pcap", "c2pc"',unicase:'"unic"',"titling-caps":'"titl"'},"font-variant-numeric":{"lining-nums":'"lnum"',"oldstyle-nums":'"onum"',"proportional-nums":'"pnum"',"tabular-nums":'"tnum"',"diagonal-fractions":'"frac"',"stacked-fractions":'"afrc"',ordinal:'"ordn"',"slashed-zero":'"zero"'},"font-kerning":{normal:'"kern"',none:'"kern" off'},"font-variant":{normal:"normal",inherit:"inherit"}};for(var o in i){var s=i[o];for(var a in s){if(!(a in i["font-variant"])){i["font-variant"][a]=s[a]}}}function getFontFeatureSettingsPrevTo(e){var r=null;e.parent.walkDecls(function(e){if(e.prop==="font-feature-settings"){r=e}});if(r===null){r=e.clone();r.prop="font-feature-settings";r.value="";e.parent.insertBefore(e,r)}return r}e.exports=n.plugin("postcss-font-variant",function(){return function(e){e.walkRules(function(e){var r=null;e.walkDecls(function(e){if(!i[e.prop]){return null}var t=e.value;if(e.prop==="font-variant"){t=e.value.split(/\s+/g).map(function(e){return i["font-variant"][e]}).join(", ")}else if(i[e.prop][e.value]){t=i[e.prop][e.value]}if(r===null){r=getFontFeatureSettingsPrevTo(e)}if(r.value&&r.value!==t){r.value+=", "+t}else{r.value=t}})})}})},7411:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(7802));const i=/^(column-gap|gap|row-gap)$/i;var o=n.plugin("postcss-gap-properties",e=>{const r="preserve"in Object(e)?Boolean(e.preserve):true;return e=>{e.walkDecls(i,e=>{e.cloneBefore({prop:`grid-${e.prop}`});if(!r){e.remove()}})}});e.exports=o},3767:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(7802));var i=_interopDefault(t(4510));var o=e=>Object(e).type==="comma";const s=/^(-webkit-)?image-set$/i;var a=e=>Object(e).type==="func"&&/^(cross-fade|image|(repeating-)?(conic|linear|radial)-gradient|url)$/i.test(e.value)&&!(e.parent.parent&&e.parent.parent.type==="func"&&s.test(e.parent.parent.value))?String(e):Object(e).type==="string"?e.value:false;const u={dpcm:2.54,dpi:1,dppx:96,x:96};var f=(e,r)=>{if(Object(e).type==="number"&&e.unit in u){const t=Number(e.value)*u[e.unit.toLowerCase()];const i=Math.floor(t/u.x*100)/100;if(t in r){return false}else{const e=r[t]=n.atRule({name:"media",params:`(-webkit-min-device-pixel-ratio: ${i}), (min-resolution: ${t}dpi)`});return e}}else{return false}};var c=(e,r,t)=>{if(e.oninvalid==="warn"){e.decl.warn(e.result,r,{word:String(t)})}else if(e.oninvalid==="throw"){throw e.decl.error(r,{word:String(t)})}};var l=(e,r,t)=>{const n=r.parent;const i={};let s=e.length;let u=-1;while(ue-r).map(e=>i[e]);if(l.length){const e=l[0].nodes[0].nodes[0];if(l.length===1){r.value=e.value}else{const i=n.nodes;const o=i.slice(0,i.indexOf(r)).concat(e);if(o.length){const e=n.cloneBefore().removeAll();e.append(o)}n.before(l.slice(1));if(!t.preserve){r.remove();if(!n.nodes.length){n.remove()}}}}};const p=/(^|[^\w-])(-webkit-)?image-set\(/;const h=/^(-webkit-)?image-set$/i;var B=n.plugin("postcss-image-set-function",e=>{const r="preserve"in Object(e)?Boolean(e.preserve):true;const t="oninvalid"in Object(e)?e.oninvalid:"ignore";return(e,n)=>{e.walkDecls(e=>{const o=e.value;if(p.test(o)){const s=i(o).parse();s.walkType("func",i=>{if(h.test(i.value)){l(i.nodes.slice(1,-1),e,{decl:e,oninvalid:t,preserve:r,result:n})}})}})}});e.exports=B},7678:(e,r,t)=>{var n=t(7802);var i=t(6656);e.exports=n.plugin("postcss-initial",function(e){e=e||{};e.reset=e.reset||"all";e.replace=e.replace||false;var r=i(e.reset==="inherited");var t=function(e,r){var t=false;r.parent.walkDecls(function(e){if(e.prop===r.prop&&e.value!==r.value){t=true}});return t};return function(n){n.walkDecls(function(n){if(n.value.indexOf("initial")<0){return}var i=r(n.prop,n.value);if(i.length===0)return;i.forEach(function(e){if(!t(n.prop,n)){n.cloneBefore(e)}});if(e.replace===true){n.remove()}})}})},6656:(e,r,t)=>{var n=t(1717);var i=t(9614);function _getRulesMap(e){return e.filter(function(e){return!e.combined}).reduce(function(e,r){e[r.prop.replace(/\-/g,"")]=r.initial;return e},{})}function _compileDecls(e){var r=_getRulesMap(e);return e.map(function(e){if(e.combined&&e.initial){var t=n(e.initial.replace(/\-/g,""));e.initial=t(r)}return e})}function _getRequirements(e){return e.reduce(function(e,r){if(!r.contains)return e;return r.contains.reduce(function(e,t){e[t]=r;return e},e)},{})}function _expandContainments(e){var r=_getRequirements(e);return e.filter(function(e){return!e.contains}).map(function(e){var t=r[e.prop];if(t){e.requiredBy=t.prop;e.basic=e.basic||t.basic;e.inherited=e.inherited||t.inherited}return e})}var o=_expandContainments(_compileDecls(i));function _clearDecls(e,r){return e.map(function(e){return{prop:e.prop,value:r.replace(/initial/g,e.initial)}})}function _allDecls(e){return o.filter(function(r){var t=r.combined||r.basic;if(e)return t&&r.inherited;return t})}function _concreteDecl(e){return o.filter(function(r){return e===r.prop||e===r.requiredBy})}function makeFallbackFunction(e){return function(r,t){var n;if(r==="all"){n=_allDecls(e)}else{n=_concreteDecl(r)}return _clearDecls(n,t)}}e.exports=makeFallbackFunction},557:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=t(7306);var i=_interopDefault(t(7802));var o=_interopDefault(t(4510));var s=i.plugin("postcss-lab-function",e=>{const r="preserve"in Object(e)?Boolean(e.preserve):false;return e=>{e.walkDecls(e=>{const t=e.value;if(a.test(t)){const i=o(t).parse();i.walkType("func",e=>{if(u.test(e.value)){const r=e.nodes.slice(1,-1);const t=f.test(e.value);const i=c.test(e.value);const o=!i&&S(r);const s=!i&&O(r);const a=i&&T(r);if(o||s){e.value="rgb";const i=r[3];const o=r[4];if(o){if(y(o)&&!v(o)){o.unit="";o.value=String(o.value/100)}if(o.value==="1"){i.remove();o.remove()}else{e.value+="a"}}if(i&&g(i)){i.replaceWith(E())}const s=t?n.lab2rgb:n.lch2rgb;const a=s(...[r[0].value,r[1].value,r[2].value].map(e=>parseFloat(e))).map(e=>Math.max(Math.min(parseInt(e*2.55),255),0));r[0].value=String(a[0]);r[1].value=String(a[1]);r[2].value=String(a[2]);e.nodes.splice(3,0,[E()]);e.nodes.splice(2,0,[E()])}else if(a){e.value="rgb";const t=r[2];const i=n.lab2rgb(...[r[0].value,0,0].map(e=>parseFloat(e))).map(e=>Math.max(Math.min(parseInt(e*2.55),255),0));e.removeAll().append(P("(")).append(k(i[0])).append(E()).append(k(i[1])).append(E()).append(k(i[2])).append(P(")"));if(t){if(y(t)&&!v(t)){t.unit="";t.value=String(t.value/100)}if(t.value!=="1"){e.value+="a";e.insertBefore(e.last,E()).insertBefore(e.last,t)}}}}});const s=String(i);if(r){e.cloneBefore({value:s})}else{e.value=s}}})}});const a=/(^|[^\w-])(lab|lch|gray)\(/i;const u=/^(lab|lch|gray)$/i;const f=/^lab$/i;const c=/^gray$/i;const l=/^%?$/i;const p=/^calc$/i;const h=/^(deg|grad|rad|turn)?$/i;const B=e=>v(e)||e.type==="number"&&l.test(e.unit);const v=e=>e.type==="func"&&p.test(e.value);const d=e=>v(e)||e.type==="number"&&h.test(e.unit);const b=e=>v(e)||e.type==="number"&&e.unit==="";const y=e=>v(e)||e.type==="number"&&e.unit==="%";const g=e=>e.type==="operator"&&e.value==="/";const m=[b,b,b,g,B];const C=[b,b,d,g,B];const w=[b,g,B];const S=e=>e.every((e,r)=>typeof m[r]==="function"&&m[r](e));const O=e=>e.every((e,r)=>typeof C[r]==="function"&&C[r](e));const T=e=>e.every((e,r)=>typeof w[r]==="function"&&w[r](e));const E=()=>o.comma({value:","});const k=e=>o.number({value:e});const P=e=>o.paren({value:e});e.exports=s},8500:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(7802));var i=(e,r)=>{const t=Object(e.parent).type==="rule"?e.parent.clone({raws:{}}).removeAll():n.rule({selector:"&"});t.selectors=t.selectors.map(e=>`${e}:dir(${r})`);return t};const o=/^\s*logical\s+/i;const s=/^border(-width|-style|-color)?$/i;const a=/^border-(block|block-start|block-end|inline|inline-start|inline-end|start|end)(-(width|style|color))?$/i;var u={border:(e,r,t)=>{const n=o.test(r[0]);if(n){r[0]=r[0].replace(o,"")}const a=[e.clone({prop:`border-top${e.prop.replace(s,"$1")}`,value:r[0]}),e.clone({prop:`border-left${e.prop.replace(s,"$1")}`,value:r[1]||r[0]}),e.clone({prop:`border-bottom${e.prop.replace(s,"$1")}`,value:r[2]||r[0]}),e.clone({prop:`border-right${e.prop.replace(s,"$1")}`,value:r[3]||r[1]||r[0]})];const u=[e.clone({prop:`border-top${e.prop.replace(s,"$1")}`,value:r[0]}),e.clone({prop:`border-right${e.prop.replace(s,"$1")}`,value:r[1]||r[0]}),e.clone({prop:`border-bottom${e.prop.replace(s,"$1")}`,value:r[2]||r[0]}),e.clone({prop:`border-left${e.prop.replace(s,"$1")}`,value:r[3]||r[1]||r[0]})];return n?1===r.length?e.clone({value:e.value.replace(o,"")}):!r[3]||r[3]===r[1]?[e.clone({prop:`border-top${e.prop.replace(s,"$1")}`,value:r[0]}),e.clone({prop:`border-right${e.prop.replace(s,"$1")}`,value:r[3]||r[1]||r[0]}),e.clone({prop:`border-bottom${e.prop.replace(s,"$1")}`,value:r[2]||r[0]}),e.clone({prop:`border-left${e.prop.replace(s,"$1")}`,value:r[1]||r[0]})]:"ltr"===t?a:"rtl"===t?u:[i(e,"ltr").append(a),i(e,"rtl").append(u)]:null},"border-block":(e,r)=>[e.clone({prop:`border-top${e.prop.replace(a,"$2")}`,value:r[0]}),e.clone({prop:`border-bottom${e.prop.replace(a,"$2")}`,value:r[0]})],"border-block-start":e=>{e.prop="border-top"},"border-block-end":e=>{e.prop="border-bottom"},"border-inline":(e,r,t)=>{const n=[e.clone({prop:`border-left${e.prop.replace(a,"$2")}`,value:r[0]}),e.clone({prop:`border-right${e.prop.replace(a,"$2")}`,value:r[1]||r[0]})];const o=[e.clone({prop:`border-right${e.prop.replace(a,"$2")}`,value:r[0]}),e.clone({prop:`border-left${e.prop.replace(a,"$2")}`,value:r[1]||r[0]})];const s=1===r.length||2===r.length&&r[0]===r[1];return s?n:"ltr"===t?n:"rtl"===t?o:[i(e,"ltr").append(n),i(e,"rtl").append(o)]},"border-inline-start":(e,r,t)=>{const n=e.clone({prop:`border-left${e.prop.replace(a,"$2")}`});const o=e.clone({prop:`border-right${e.prop.replace(a,"$2")}`});return"ltr"===t?n:"rtl"===t?o:[i(e,"ltr").append(n),i(e,"rtl").append(o)]},"border-inline-end":(e,r,t)=>{const n=e.clone({prop:`border-right${e.prop.replace(a,"$2")}`});const o=e.clone({prop:`border-left${e.prop.replace(a,"$2")}`});return"ltr"===t?n:"rtl"===t?o:[i(e,"ltr").append(n),i(e,"rtl").append(o)]},"border-start":(e,r,t)=>{const n=[e.clone({prop:`border-top${e.prop.replace(a,"$2")}`,value:r[0]}),e.clone({prop:`border-left${e.prop.replace(a,"$2")}`,value:r[1]||r[0]})];const o=[e.clone({prop:`border-top${e.prop.replace(a,"$2")}`,value:r[0]}),e.clone({prop:`border-right${e.prop.replace(a,"$2")}`,value:r[1]||r[0]})];return"ltr"===t?n:"rtl"===t?o:[i(e,"ltr").append(n),i(e,"rtl").append(o)]},"border-end":(e,r,t)=>{const n=[e.clone({prop:`border-bottom${e.prop.replace(a,"$2")}`,value:r[0]}),e.clone({prop:`border-right${e.prop.replace(a,"$2")}`,value:r[1]||r[0]})];const o=[e.clone({prop:`border-bottom${e.prop.replace(a,"$2")}`,value:r[0]}),e.clone({prop:`border-left${e.prop.replace(a,"$2")}`,value:r[1]||r[0]})];return"ltr"===t?n:"rtl"===t?o:[i(e,"ltr").append(n),i(e,"rtl").append(o)]}};var f=(e,r,t)=>{const n=e.clone({value:"left"});const o=e.clone({value:"right"});return/^inline-start$/i.test(e.value)?"ltr"===t?n:"rtl"===t?o:[i(e,"ltr").append(n),i(e,"rtl").append(o)]:/^inline-end$/i.test(e.value)?"ltr"===t?o:"rtl"===t?n:[i(e,"ltr").append(o),i(e,"rtl").append(n)]:null};var c=(e,r,t)=>{if("logical"!==r[0]){return[e.clone({prop:"top",value:r[0]}),e.clone({prop:"right",value:r[1]||r[0]}),e.clone({prop:"bottom",value:r[2]||r[0]}),e.clone({prop:"left",value:r[3]||r[1]||r[0]})]}const n=!r[4]||r[4]===r[2];const o=[e.clone({prop:"top",value:r[1]}),e.clone({prop:"left",value:r[2]||r[1]}),e.clone({prop:"bottom",value:r[3]||r[1]}),e.clone({prop:"right",value:r[4]||r[2]||r[1]})];const s=[e.clone({prop:"top",value:r[1]}),e.clone({prop:"right",value:r[2]||r[1]}),e.clone({prop:"bottom",value:r[3]||r[1]}),e.clone({prop:"left",value:r[4]||r[2]||r[1]})];return n||"ltr"===t?o:"rtl"===t?s:[i(e,"ltr").append(o),i(e,"rtl").append(s)]};var l=e=>/^block$/i.test(e.value)?e.clone({value:"vertical"}):/^inline$/i.test(e.value)?e.clone({value:"horizontal"}):null;var p=/^(inset|margin|padding)(?:-(block|block-start|block-end|inline|inline-start|inline-end|start|end))$/i;var h=/^inset-/i;var B=(e,r,t)=>e.clone({prop:`${e.prop.replace(p,"$1")}${r}`.replace(h,""),value:t});var v={block:(e,r)=>[B(e,"-top",r[0]),B(e,"-bottom",r[1]||r[0])],"block-start":e=>{e.prop=e.prop.replace(p,"$1-top").replace(h,"")},"block-end":e=>{e.prop=e.prop.replace(p,"$1-bottom").replace(h,"")},inline:(e,r,t)=>{const n=[B(e,"-left",r[0]),B(e,"-right",r[1]||r[0])];const o=[B(e,"-right",r[0]),B(e,"-left",r[1]||r[0])];const s=1===r.length||2===r.length&&r[0]===r[1];return s?n:"ltr"===t?n:"rtl"===t?o:[i(e,"ltr").append(n),i(e,"rtl").append(o)]},"inline-start":(e,r,t)=>{const n=B(e,"-left",e.value);const o=B(e,"-right",e.value);return"ltr"===t?n:"rtl"===t?o:[i(e,"ltr").append(n),i(e,"rtl").append(o)]},"inline-end":(e,r,t)=>{const n=B(e,"-right",e.value);const o=B(e,"-left",e.value);return"ltr"===t?n:"rtl"===t?o:[i(e,"ltr").append(n),i(e,"rtl").append(o)]},start:(e,r,t)=>{const n=[B(e,"-top",r[0]),B(e,"-left",r[1]||r[0])];const o=[B(e,"-top",r[0]),B(e,"-right",r[1]||r[0])];return"ltr"===t?n:"rtl"===t?o:[i(e,"ltr").append(n),i(e,"rtl").append(o)]},end:(e,r,t)=>{const n=[B(e,"-bottom",r[0]),B(e,"-right",r[1]||r[0])];const o=[B(e,"-bottom",r[0]),B(e,"-left",r[1]||r[0])];return"ltr"===t?n:"rtl"===t?o:[i(e,"ltr").append(n),i(e,"rtl").append(o)]}};var d=/^(min-|max-)?(block|inline)-(size)$/i;var b=e=>{e.prop=e.prop.replace(d,(e,r,t)=>`${r||""}${"block"===t?"height":"width"}`)};var y=(e,r,t)=>{if("logical"!==r[0]){return null}const n=!r[4]||r[4]===r[2];const o=e.clone({value:[r[1],r[4]||r[2]||r[1],r[3]||r[1],r[2]||r[1]].join(" ")});const s=e.clone({value:[r[1],r[2]||r[1],r[3]||r[1],r[4]||r[2]||r[1]].join(" ")});return n?e.clone({value:e.value.replace(/^\s*logical\s+/i,"")}):"ltr"===t?o:"rtl"===t?s:[i(e,"ltr").append(o),i(e,"rtl").append(s)]};var g=(e,r,t)=>{const n=e.clone({value:"left"});const o=e.clone({value:"right"});return/^start$/i.test(e.value)?"ltr"===t?n:"rtl"===t?o:[i(e,"ltr").append(n),i(e,"rtl").append(o)]:/^end$/i.test(e.value)?"ltr"===t?o:"rtl"===t?n:[i(e,"ltr").append(o),i(e,"rtl").append(n)]:null};function splitByComma(e,r){return splitByRegExp(e,/^,$/,r)}function splitBySpace(e,r){return splitByRegExp(e,/^\s$/,r)}function splitBySlash(e,r){return splitByRegExp(e,/^\/$/,r)}function splitByRegExp(e,r,t){const n=[];let i="";let o=false;let s=0;let a=-1;while(++a0){s-=1}}else if(s===0){if(r.test(u)){o=true}}if(o){if(!t||i.trim()){n.push(t?i.trim():i)}if(!t){n.push(u)}i="";o=false}else{i+=u}}if(i!==""){n.push(t?i.trim():i)}return n}var m=(e,r,t)=>{const n=[];const o=[];splitByComma(e.value).forEach(e=>{let r=false;splitBySpace(e).forEach((e,t,i)=>{if(e in C){r=true;C[e].ltr.forEach(e=>{const r=i.slice();r.splice(t,1,e);if(n.length&&!/^,$/.test(n[n.length-1])){n.push(",")}n.push(r.join(""))});C[e].rtl.forEach(e=>{const r=i.slice();r.splice(t,1,e);if(o.length&&!/^,$/.test(o[o.length-1])){o.push(",")}o.push(r.join(""))})}});if(!r){n.push(e);o.push(e)}});const s=e.clone({value:n.join("")});const a=e.clone({value:o.join("")});return n.length&&"ltr"===t?s:o.length&&"rtl"===t?a:s.value!==a.value?[i(e,"ltr").append(s),i(e,"rtl").append(a)]:null};const C={"border-block":{ltr:["border-top","border-bottom"],rtl:["border-top","border-bottom"]},"border-block-color":{ltr:["border-top-color","border-bottom-color"],rtl:["border-top-color","border-bottom-color"]},"border-block-end":{ltr:["border-bottom"],rtl:["border-bottom"]},"border-block-end-color":{ltr:["border-bottom-color"],rtl:["border-bottom-color"]},"border-block-end-style":{ltr:["border-bottom-style"],rtl:["border-bottom-style"]},"border-block-end-width":{ltr:["border-bottom-width"],rtl:["border-bottom-width"]},"border-block-start":{ltr:["border-top"],rtl:["border-top"]},"border-block-start-color":{ltr:["border-top-color"],rtl:["border-top-color"]},"border-block-start-style":{ltr:["border-top-style"],rtl:["border-top-style"]},"border-block-start-width":{ltr:["border-top-width"],rtl:["border-top-width"]},"border-block-style":{ltr:["border-top-style","border-bottom-style"],rtl:["border-top-style","border-bottom-style"]},"border-block-width":{ltr:["border-top-width","border-bottom-width"],rtl:["border-top-width","border-bottom-width"]},"border-end":{ltr:["border-bottom","border-right"],rtl:["border-bottom","border-left"]},"border-end-color":{ltr:["border-bottom-color","border-right-color"],rtl:["border-bottom-color","border-left-color"]},"border-end-style":{ltr:["border-bottom-style","border-right-style"],rtl:["border-bottom-style","border-left-style"]},"border-end-width":{ltr:["border-bottom-width","border-right-width"],rtl:["border-bottom-width","border-left-width"]},"border-inline":{ltr:["border-left","border-right"],rtl:["border-left","border-right"]},"border-inline-color":{ltr:["border-left-color","border-right-color"],rtl:["border-left-color","border-right-color"]},"border-inline-end":{ltr:["border-right"],rtl:["border-left"]},"border-inline-end-color":{ltr:["border-right-color"],rtl:["border-left-color"]},"border-inline-end-style":{ltr:["border-right-style"],rtl:["border-left-style"]},"border-inline-end-width":{ltr:["border-right-width"],rtl:["border-left-width"]},"border-inline-start":{ltr:["border-left"],rtl:["border-right"]},"border-inline-start-color":{ltr:["border-left-color"],rtl:["border-right-color"]},"border-inline-start-style":{ltr:["border-left-style"],rtl:["border-right-style"]},"border-inline-start-width":{ltr:["border-left-width"],rtl:["border-right-width"]},"border-inline-style":{ltr:["border-left-style","border-right-style"],rtl:["border-left-style","border-right-style"]},"border-inline-width":{ltr:["border-left-width","border-right-width"],rtl:["border-left-width","border-right-width"]},"border-start":{ltr:["border-top","border-left"],rtl:["border-top","border-right"]},"border-start-color":{ltr:["border-top-color","border-left-color"],rtl:["border-top-color","border-right-color"]},"border-start-style":{ltr:["border-top-style","border-left-style"],rtl:["border-top-style","border-right-style"]},"border-start-width":{ltr:["border-top-width","border-left-width"],rtl:["border-top-width","border-right-width"]},"block-size":{ltr:["height"],rtl:["height"]},"inline-size":{ltr:["width"],rtl:["width"]},inset:{ltr:["top","right","bottom","left"],rtl:["top","right","bottom","left"]},"inset-block":{ltr:["top","bottom"],rtl:["top","bottom"]},"inset-block-start":{ltr:["top"],rtl:["top"]},"inset-block-end":{ltr:["bottom"],rtl:["bottom"]},"inset-end":{ltr:["bottom","right"],rtl:["bottom","left"]},"inset-inline":{ltr:["left","right"],rtl:["left","right"]},"inset-inline-start":{ltr:["left"],rtl:["right"]},"inset-inline-end":{ltr:["right"],rtl:["left"]},"inset-start":{ltr:["top","left"],rtl:["top","right"]},"margin-block":{ltr:["margin-top","margin-bottom"],rtl:["margin-top","margin-bottom"]},"margin-block-start":{ltr:["margin-top"],rtl:["margin-top"]},"margin-block-end":{ltr:["margin-bottom"],rtl:["margin-bottom"]},"margin-end":{ltr:["margin-bottom","margin-right"],rtl:["margin-bottom","margin-left"]},"margin-inline":{ltr:["margin-left","margin-right"],rtl:["margin-left","margin-right"]},"margin-inline-start":{ltr:["margin-left"],rtl:["margin-right"]},"margin-inline-end":{ltr:["margin-right"],rtl:["margin-left"]},"margin-start":{ltr:["margin-top","margin-left"],rtl:["margin-top","margin-right"]},"padding-block":{ltr:["padding-top","padding-bottom"],rtl:["padding-top","padding-bottom"]},"padding-block-start":{ltr:["padding-top"],rtl:["padding-top"]},"padding-block-end":{ltr:["padding-bottom"],rtl:["padding-bottom"]},"padding-end":{ltr:["padding-bottom","padding-right"],rtl:["padding-bottom","padding-left"]},"padding-inline":{ltr:["padding-left","padding-right"],rtl:["padding-left","padding-right"]},"padding-inline-start":{ltr:["padding-left"],rtl:["padding-right"]},"padding-inline-end":{ltr:["padding-right"],rtl:["padding-left"]},"padding-start":{ltr:["padding-top","padding-left"],rtl:["padding-top","padding-right"]}};var w=/^(?:(inset|margin|padding)(?:-(block|block-start|block-end|inline|inline-start|inline-end|start|end))|(min-|max-)?(block|inline)-(size))$/i;const S={border:u["border"],"border-width":u["border"],"border-style":u["border"],"border-color":u["border"],"border-block":u["border-block"],"border-block-width":u["border-block"],"border-block-style":u["border-block"],"border-block-color":u["border-block"],"border-block-start":u["border-block-start"],"border-block-start-width":u["border-block-start"],"border-block-start-style":u["border-block-start"],"border-block-start-color":u["border-block-start"],"border-block-end":u["border-block-end"],"border-block-end-width":u["border-block-end"],"border-block-end-style":u["border-block-end"],"border-block-end-color":u["border-block-end"],"border-inline":u["border-inline"],"border-inline-width":u["border-inline"],"border-inline-style":u["border-inline"],"border-inline-color":u["border-inline"],"border-inline-start":u["border-inline-start"],"border-inline-start-width":u["border-inline-start"],"border-inline-start-style":u["border-inline-start"],"border-inline-start-color":u["border-inline-start"],"border-inline-end":u["border-inline-end"],"border-inline-end-width":u["border-inline-end"],"border-inline-end-style":u["border-inline-end"],"border-inline-end-color":u["border-inline-end"],"border-start":u["border-start"],"border-start-width":u["border-start"],"border-start-style":u["border-start"],"border-start-color":u["border-start"],"border-end":u["border-end"],"border-end-width":u["border-end"],"border-end-style":u["border-end"],"border-end-color":u["border-end"],clear:f,inset:c,margin:y,padding:y,block:v["block"],"block-start":v["block-start"],"block-end":v["block-end"],inline:v["inline"],"inline-start":v["inline-start"],"inline-end":v["inline-end"],start:v["start"],end:v["end"],float:f,resize:l,size:b,"text-align":g,transition:m,"transition-property":m};const O=/^border(-block|-inline|-start|-end)?(-width|-style|-color)?$/i;var T=n.plugin("postcss-logical-properties",e=>{const r=Boolean(Object(e).preserve);const t=!r&&typeof Object(e).dir==="string"?/^rtl$/i.test(e.dir)?"rtl":"ltr":false;return e=>{e.walkDecls(e=>{const n=e.parent;const i=O.test(e.prop)?splitBySlash(e.value,true):splitBySpace(e.value,true);const o=e.prop.replace(w,"$2$5").toLowerCase();if(o in S){const s=S[o](e,i,t);if(s){[].concat(s).forEach(r=>{if(r.type==="rule"){n.before(r)}else{e.before(r)}});if(!r){e.remove();if(!n.nodes.length){n.remove()}}}}})}});e.exports=T},8334:(e,r,t)=>{var n=t(7802);e.exports=n.plugin("postcss-media-minmax",function(){return function(e){var r={width:"px",height:"px","device-width":"px","device-height":"px","aspect-ratio":"","device-aspect-ratio":"",color:"","color-index":"",monochrome:"",resolution:"dpi"};var t=Object.keys(r);var n=.001;var i={">":1,"<":-1};var o={">":"min","<":"max"};function create_query(e,t,s,a,u){return a.replace(/([-\d\.]+)(.*)/,function(a,u,f){var c=parseFloat(u);if(parseFloat(u)||s){if(!s){if(f==="px"&&c===parseInt(u,10)){u=c+i[t]}else{u=Number(Math.round(parseFloat(u)+n*i[t]+"e6")+"e-6")}}}else{u=i[t]+r[e]}return"("+o[t]+"-"+e+": "+u+f+")"})}e.walkAtRules(function(e,r){if(e.name!=="media"&&e.name!=="custom-media"){return}e.params=e.params.replace(/\(\s*([a-z-]+?)\s*([<>])(=?)\s*((?:-?\d*\.?(?:\s*\/?\s*)?\d+[a-z]*)?)\s*\)/gi,function(r,n,i,o,s){var a="";if(t.indexOf(n)>-1){return create_query(n,i,o,s,e.params)}return r});e.params=e.params.replace(/\(\s*((?:-?\d*\.?(?:\s*\/?\s*)?\d+[a-z]*)?)\s*(<|>)(=?)\s*([a-z-]+)\s*(<|>)(=?)\s*((?:-?\d*\.?(?:\s*\/?\s*)?\d+[a-z]*)?)\s*\)/gi,function(e,r,n,i,o,s,a,u){if(t.indexOf(o)>-1){if(n==="<"&&s==="<"||n===">"&&s===">"){var f=n==="<"?r:u;var c=n==="<"?u:r;var l=i;var p=a;if(n===">"){l=a;p=i}return create_query(o,">",l,f)+" and "+create_query(o,"<",p,c)}}return e})})}})},9186:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=t(7802);var i=_interopDefault(n);function shiftNodesBeforeParent(e){const r=e.parent;const t=r.index(e);if(t){r.cloneBefore().removeAll().append(r.nodes.slice(0,t))}r.before(e);return r}function cleanupParent(e){if(!e.nodes.length){e.remove()}}var o=/&(?:[^\w-|]|$)/;const s=/&/g;function mergeSelectors(e,r){return e.reduce((e,t)=>e.concat(r.map(e=>e.replace(s,t))),[])}function transformRuleWithinRule(e){const r=shiftNodesBeforeParent(e);e.selectors=mergeSelectors(r.selectors,e.selectors);const t=e.type==="rule"&&r.type==="rule"&&e.selector===r.selector||e.type==="atrule"&&r.type==="atrule"&&e.params===r.params;if(t){e.append(...r.nodes)}cleanupParent(r)}const a=e=>e.type==="rule"&&Object(e.parent).type==="rule"&&e.selectors.every(e=>e.trim().lastIndexOf("&")===0&&o.test(e));const u=n.list.comma;function transformNestRuleWithinRule(e){const r=shiftNodesBeforeParent(e);const t=r.clone().removeAll().append(e.nodes);e.replaceWith(t);t.selectors=mergeSelectors(r.selectors,u(e.params));cleanupParent(r);walk(t)}const f=e=>e.type==="atrule"&&e.name==="nest"&&Object(e.parent).type==="rule"&&u(e.params).every(e=>e.split("&").length===2&&o.test(e));var c=["document","media","supports"];function atruleWithinRule(e){const r=shiftNodesBeforeParent(e);const t=r.clone().removeAll().append(e.nodes);e.append(t);cleanupParent(r);walk(t)}const l=e=>e.type==="atrule"&&c.indexOf(e.name)!==-1&&Object(e.parent).type==="rule";const p=n.list.comma;function mergeParams(e,r){return p(e).map(e=>p(r).map(r=>`${e} and ${r}`).join(", ")).join(", ")}function transformAtruleWithinAtrule(e){const r=shiftNodesBeforeParent(e);e.params=mergeParams(r.params,e.params);cleanupParent(r)}const h=e=>e.type==="atrule"&&c.indexOf(e.name)!==-1&&Object(e.parent).type==="atrule"&&e.name===e.parent.name;function walk(e){e.nodes.slice(0).forEach(r=>{if(r.parent===e){if(a(r)){transformRuleWithinRule(r)}else if(f(r)){transformNestRuleWithinRule(r)}else if(l(r)){atruleWithinRule(r)}else if(h(r)){transformAtruleWithinAtrule(r)}if(Object(r.nodes).length){walk(r)}}})}var B=i.plugin("postcss-nesting",()=>walk);e.exports=B},5636:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(7802));function _toArray(e){return _arrayWithHoles(e)||_iterableToArray(e)||_nonIterableRest()}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _iterableToArray(e){if(Symbol.iterator in Object(e)||Object.prototype.toString.call(e)==="[object Arguments]")return Array.from(e)}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}const i=n.list.space;const o=/^overflow$/i;var s=n.plugin("postcss-overflow-shorthand",e=>{const r="preserve"in Object(e)?Boolean(e.preserve):true;return e=>{e.walkDecls(o,e=>{const t=i(e.value),n=_toArray(t),o=n[0],s=n[1],a=n.slice(2);if(s&&!a.length){e.cloneBefore({prop:`${e.prop}-x`,value:o});e.cloneBefore({prop:`${e.prop}-y`,value:s});if(!r){e.remove()}}})}});e.exports=s},401:(e,r,t)=>{var n=t(7802);e.exports=n.plugin("postcss-page-break",function(){return function(e){e.walkDecls(/^break-(inside|before|after)/,function(e){if(e.value.search(/column|region/)>=0){return}var r;switch(e.value){case"page":r="always";break;case"avoid-page":r="avoid";break;default:r=e.value}e.cloneBefore({prop:"page-"+e.prop,value:r})})}})},4739:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(7802));var i=_interopDefault(t(4510));const o=/^place-(content|items|self)/;var s=n.plugin("postcss-place",e=>{const r="preserve"in Object(e)?Boolean(e.prefix):true;return e=>{e.walkDecls(o,e=>{const t=e.prop.match(o)[1];const n=i(e.value).parse();const s=n.nodes[0].nodes;const a=s.length===1?e.value:String(s.slice(0,1)).trim();const u=s.length===1?e.value:String(s.slice(1)).trim();e.cloneBefore({prop:`align-${t}`,value:a});e.cloneBefore({prop:`justify-${t}`,value:u});if(!r){e.remove()}})}});e.exports=s},469:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(9945));var i=_interopDefault(t(3561));var o=_interopDefault(t(3094));var s=_interopDefault(t(7802));var a=_interopDefault(t(8344));var u=_interopDefault(t(7232));var f=_interopDefault(t(2616));var c=_interopDefault(t(8283));var l=_interopDefault(t(8276));var p=_interopDefault(t(1455));var h=_interopDefault(t(2344));var B=_interopDefault(t(9103));var v=_interopDefault(t(4164));var d=_interopDefault(t(9677));var b=_interopDefault(t(689));var y=_interopDefault(t(9730));var g=_interopDefault(t(8541));var m=_interopDefault(t(9550));var C=_interopDefault(t(5917));var w=_interopDefault(t(9633));var S=_interopDefault(t(7411));var O=_interopDefault(t(6082));var T=_interopDefault(t(3767));var E=_interopDefault(t(7678));var k=_interopDefault(t(557));var P=_interopDefault(t(8500));var D=_interopDefault(t(8334));var A=_interopDefault(t(9186));var R=_interopDefault(t(5636));var F=_interopDefault(t(401));var x=_interopDefault(t(4739));var j=_interopDefault(t(4990));var I=_interopDefault(t(8037));var M=_interopDefault(t(1084));var N=_interopDefault(t(5252));var _=_interopDefault(t(1790));var L=t(4338);var q=_interopDefault(t(5747));var G=_interopDefault(t(5622));var J=s.plugin("postcss-system-ui-font",()=>e=>{e.walkDecls(U,e=>{e.value=e.value.replace(K,W)})});const U=/(?:^(?:-|\\002d){2})|(?:^font(?:-family)?$)/i;const H="[\\f\\n\\r\\x09\\x20]";const Q=["system-ui","-apple-system","Segoe UI","Roboto","Ubuntu","Cantarell","Noto Sans","sans-serif"];const K=new RegExp(`(^|,|${H}+)(?:system-ui${H}*)(?:,${H}*(?:${Q.join("|")})${H}*)?(,|$)`,"i");const W=`$1${Q.join(", ")}$2`;var Y={"all-property":E,"any-link-pseudo-class":I,"blank-pseudo-class":u,"break-properties":F,"case-insensitive-attributes":a,"color-functional-notation":f,"color-mod-function":p,"custom-media-queries":B,"custom-properties":v,"custom-selectors":d,"dir-pseudo-class":b,"double-position-gradients":y,"environment-variables":g,"focus-visible-pseudo-class":m,"focus-within-pseudo-class":C,"font-variant-property":w,"gap-properties":S,"gray-function":c,"has-pseudo-class":O,"hexadecimal-alpha-notation":l,"image-set-function":T,"lab-function":k,"logical-properties-and-values":P,"matches-pseudo-class":N,"media-query-ranges":D,"nesting-rules":A,"not-pseudo-class":_,"overflow-property":R,"overflow-wrap-property":M,"place-properties":x,"prefers-color-scheme-query":j,"rebeccapurple-color":h,"system-ui-font-family":J};function getTransformedInsertions(e,r){return Object.keys(e).map(t=>[].concat(e[t]).map(e=>({[r]:true,plugin:e,id:t}))).reduce((e,r)=>e.concat(r),[])}function getUnsupportedBrowsersByFeature(e){const r=L.features[e];if(r){const e=L.feature(r).stats;const t=Object.keys(e).reduce((r,t)=>r.concat(Object.keys(e[t]).filter(r=>e[t][r].indexOf("y")!==0).map(e=>`${t} ${e}`)),[]);return t}else{return["> 0%"]}}var z=["custom-media-queries","custom-properties","environment-variables","image-set-function","media-query-ranges","prefers-color-scheme-query","nesting-rules","custom-selectors","any-link-pseudo-class","case-insensitive-attributes","focus-visible-pseudo-class","focus-within-pseudo-class","matches-pseudo-class","not-pseudo-class","logical-properties-and-values","dir-pseudo-class","all-property","color-functional-notation","double-position-gradients","gray-function","hexadecimal-alpha-notation","lab-function","rebeccapurple-color","color-mod-function","blank-pseudo-class","break-properties","font-variant-property","has-pseudo-class","gap-properties","overflow-property","overflow-wrap-property","place-properties","system-ui-font-family"];function asyncGeneratorStep(e,r,t,n,i,o,s){try{var a=e[o](s);var u=a.value}catch(e){t(e);return}if(a.done){r(u)}else{Promise.resolve(u).then(n,i)}}function _asyncToGenerator(e){return function(){var r=this,t=arguments;return new Promise(function(n,i){var o=e.apply(r,t);function _next(e){asyncGeneratorStep(o,n,i,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(o,n,i,_next,_throw,"throw",e)}_next(undefined)})}}function getCustomMediaAsCss(e){const r=Object.keys(e).reduce((r,t)=>{r.push(`@custom-media ${t} ${e[t]};`);return r},[]).join("\n");const t=`${r}\n`;return t}function getCustomPropertiesAsCss(e){const r=Object.keys(e).reduce((r,t)=>{r.push(`\t${t}: ${e[t]};`);return r},[]).join("\n");const t=`:root {\n${r}\n}\n`;return t}function getCustomSelectorsAsCss(e){const r=Object.keys(e).reduce((r,t)=>{r.push(`@custom-selector ${t} ${e[t]};`);return r},[]).join("\n");const t=`${r}\n`;return t}function writeExportsToCssFile(e,r,t,n){return _writeExportsToCssFile.apply(this,arguments)}function _writeExportsToCssFile(){_writeExportsToCssFile=_asyncToGenerator(function*(e,r,t,n){const i=getCustomPropertiesAsCss(t);const o=getCustomMediaAsCss(r);const s=getCustomSelectorsAsCss(n);const a=`${o}\n${s}\n${i}`;yield writeFile(e,a)});return _writeExportsToCssFile.apply(this,arguments)}function writeExportsToJsonFile(e,r,t,n){return _writeExportsToJsonFile.apply(this,arguments)}function _writeExportsToJsonFile(){_writeExportsToJsonFile=_asyncToGenerator(function*(e,r,t,n){const i=JSON.stringify({"custom-media":r,"custom-properties":t,"custom-selectors":n},null," ");const o=`${i}\n`;yield writeFile(e,o)});return _writeExportsToJsonFile.apply(this,arguments)}function getObjectWithKeyAsCjs(e,r){const t=Object.keys(r).reduce((e,t)=>{e.push(`\t\t'${escapeForJS(t)}': '${escapeForJS(r[t])}'`);return e},[]).join(",\n");const n=`\n\t${e}: {\n${t}\n\t}`;return n}function writeExportsToCjsFile(e,r,t,n){return _writeExportsToCjsFile.apply(this,arguments)}function _writeExportsToCjsFile(){_writeExportsToCjsFile=_asyncToGenerator(function*(e,r,t,n){const i=getObjectWithKeyAsCjs("customMedia",r);const o=getObjectWithKeyAsCjs("customProperties",t);const s=getObjectWithKeyAsCjs("customSelectors",n);const a=`module.exports = {${i},${o},${s}\n};\n`;yield writeFile(e,a)});return _writeExportsToCjsFile.apply(this,arguments)}function getObjectWithKeyAsMjs(e,r){const t=Object.keys(r).reduce((e,t)=>{e.push(`\t'${escapeForJS(t)}': '${escapeForJS(r[t])}'`);return e},[]).join(",\n");const n=`export const ${e} = {\n${t}\n};\n`;return n}function writeExportsToMjsFile(e,r,t,n){return _writeExportsToMjsFile.apply(this,arguments)}function _writeExportsToMjsFile(){_writeExportsToMjsFile=_asyncToGenerator(function*(e,r,t,n){const i=getObjectWithKeyAsMjs("customMedia",r);const o=getObjectWithKeyAsMjs("customProperties",t);const s=getObjectWithKeyAsMjs("customSelectors",n);const a=`${i}\n${o}\n${s}`;yield writeFile(e,a)});return _writeExportsToMjsFile.apply(this,arguments)}function writeToExports(e,r){return Promise.all([].concat(r).map(function(){var r=_asyncToGenerator(function*(r){if(r instanceof Function){yield r({customMedia:getObjectWithStringifiedKeys(e.customMedia),customProperties:getObjectWithStringifiedKeys(e.customProperties),customSelectors:getObjectWithStringifiedKeys(e.customSelectors)})}else{const t=r===Object(r)?r:{to:String(r)};const n=t.toJSON||getObjectWithStringifiedKeys;if("customMedia"in t||"customProperties"in t||"customSelectors"in t){t.customMedia=n(e.customMedia);t.customProperties=n(e.customProperties);t.customSelectors=n(e.customSelectors)}else if("custom-media"in t||"custom-properties"in t||"custom-selectors"in t){t["custom-media"]=n(e.customMedia);t["custom-properties"]=n(e.customProperties);t["custom-selectors"]=n(e.customSelectors)}else{const r=String(t.to||"");const i=(t.type||G.extname(t.to).slice(1)).toLowerCase();const o=n(e.customMedia);const s=n(e.customProperties);const a=n(e.customSelectors);if(i==="css"){yield writeExportsToCssFile(r,o,s,a)}if(i==="js"){yield writeExportsToCjsFile(r,o,s,a)}if(i==="json"){yield writeExportsToJsonFile(r,o,s,a)}if(i==="mjs"){yield writeExportsToMjsFile(r,o,s,a)}}}});return function(e){return r.apply(this,arguments)}}()))}function getObjectWithStringifiedKeys(e){return Object.keys(e).reduce((r,t)=>{r[t]=String(e[t]);return r},{})}function writeFile(e,r){return new Promise((t,n)=>{q.writeFile(e,r,e=>{if(e){n(e)}else{t()}})})}function escapeForJS(e){return e.replace(/\\([\s\S])|(')/g,"\\$1$2").replace(/\n/g,"\\n").replace(/\r/g,"\\r")}var $=s.plugin("postcss-preset-env",e=>{const r=Object(Object(e).features);const t=Object(Object(e).insertBefore);const s=Object(Object(e).insertAfter);const a=Object(e).browsers;const u="stage"in Object(e)?e.stage===false?5:parseInt(e.stage)||0:2;const f=Object(e).autoprefixer;const c=X(Object(e));const l=f===false?()=>{}:n(Object.assign({overrideBrowserslist:a},f));const p=o.concat(getTransformedInsertions(t,"insertBefore"),getTransformedInsertions(s,"insertAfter")).filter(e=>e.insertBefore||e.id in Y).sort((e,r)=>z.indexOf(e.id)-z.indexOf(r.id)||(e.insertBefore?-1:r.insertBefore?1:0)||(e.insertAfter?1:r.insertAfter?-1:0)).map(e=>{const r=getUnsupportedBrowsersByFeature(e.caniuse);return e.insertBefore||e.insertAfter?{browsers:r,plugin:e.plugin,id:`${e.insertBefore?"before":"after"}-${e.id}`,stage:6}:{browsers:r,plugin:Y[e.id],id:e.id,stage:e.stage}});const h=p.filter(e=>e.id in r?r[e.id]:e.stage>=u).map(e=>({browsers:e.browsers,plugin:typeof e.plugin.process==="function"?r[e.id]===true?c?e.plugin(Object.assign({},c)):e.plugin():c?e.plugin(Object.assign({},c,r[e.id])):e.plugin(Object.assign({},r[e.id])):e.plugin,id:e.id}));const B=i(a,{ignoreUnknownVersions:true});const v=h.filter(e=>B.some(r=>i(e.browsers,{ignoreUnknownVersions:true}).some(e=>e===r)));return(r,t)=>{const n=v.reduce((e,r)=>e.then(()=>r.plugin(t.root,t)),Promise.resolve()).then(()=>l(t.root,t)).then(()=>{if(Object(e).exportTo){writeToExports(c.exportTo,e.exportTo)}});return n}});const X=e=>{if("importFrom"in e||"exportTo"in e||"preserve"in e){const r={};if("importFrom"in e){r.importFrom=e.importFrom}if("exportTo"in e){r.exportTo={customMedia:{},customProperties:{},customSelectors:{}}}if("preserve"in e){r.preserve=e.preserve}return r}return false};e.exports=$},8037:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(7802));var i=_interopDefault(t(3901));const o=/:any-link/;var s=n.plugin("postcss-pseudo-class-any-link",e=>{const r="preserve"in Object(e)?Boolean(e.preserve):true;return e=>{e.walkRules(o,e=>{const t=e.raws.selector&&e.raws.selector.raw||e.selector;if(t[t.length-1]!==":"){const n=i(e=>{let r;let t;let n;let i;let o;let s=-1;while(n=e.nodes[++s]){t=-1;while(r=n.nodes[++t]){if(r.value===":any-link"){i=n.clone();o=n.clone();i.nodes[t].value=":link";o.nodes[t].value=":visited";e.nodes.splice(s--,1,i,o);break}}}}).processSync(t);if(n!==t){if(r){e.cloneBefore({selector:n})}else{e.selector=n}}}})}});e.exports=s},3454:e=>{"use strict";var r={};var t=r.hasOwnProperty;var n=function merge(e,r){if(!e){return r}var n={};for(var i in r){n[i]=t.call(e,i)?e[i]:r[i]}return n};var i=/[ -,\.\/;-@\[-\^`\{-~]/;var o=/[ -,\.\/;-@\[\]\^`\{-~]/;var s=/['"\\]/;var a=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g;var u=function cssesc(e,r){r=n(r,cssesc.options);if(r.quotes!="single"&&r.quotes!="double"){r.quotes="single"}var t=r.quotes=="double"?'"':"'";var s=r.isIdentifier;var u=e.charAt(0);var f="";var c=0;var l=e.length;while(c126){if(h>=55296&&h<=56319&&c{"use strict";r.__esModule=true;var n=t(6075);var i=_interopRequireDefault(n);var o=t(1996);var s=_interopRequireWildcard(o);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var r={};if(e!=null){for(var t in e){if(Object.prototype.hasOwnProperty.call(e,t))r[t]=e[t]}}r.default=e;return r}}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var a=function parser(e){return new i.default(e)};Object.assign(a,s);delete a.__esModule;r.default=a;e.exports=r["default"]},2522:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t1&&arguments[1]!==undefined?arguments[1]:{};_classCallCheck(this,Parser);this.rule=e;this.options=Object.assign({lossy:false,safe:false},r);this.position=0;this.css=typeof this.rule==="string"?this.rule:this.rule.selector;this.tokens=(0,_.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var t=getTokenSourceSpan(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new p.default({source:t});this.root.errorGenerator=this._errorGenerator();var n=new B.default({source:{start:{line:1,column:1}}});this.root.append(n);this.current=n;this.loop()}Parser.prototype._errorGenerator=function _errorGenerator(){var e=this;return function(r,t){if(typeof e.rule==="string"){return new Error(r)}return e.rule.error(r,t)}};Parser.prototype.attribute=function attribute(){var e=[];var r=this.currToken;this.position++;while(this.position1&&arguments[1]!==undefined?arguments[1]:false;var n="";var i="";e.forEach(function(e){var o=r.lossySpace(e.spaces.before,t);var s=r.lossySpace(e.rawSpaceBefore,t);n+=o+r.lossySpace(e.spaces.after,t&&o.length===0);i+=o+e.value+r.lossySpace(e.rawSpaceAfter,t&&s.length===0)});if(i===n){i=undefined}var o={space:n,rawSpace:i};return o};Parser.prototype.isNamedCombinator=function isNamedCombinator(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:this.position;return this.tokens[e+0]&&this.tokens[e+0][N.FIELDS.TYPE]===q.slash&&this.tokens[e+1]&&this.tokens[e+1][N.FIELDS.TYPE]===q.word&&this.tokens[e+2]&&this.tokens[e+2][N.FIELDS.TYPE]===q.slash};Parser.prototype.namedCombinator=function namedCombinator(){if(this.isNamedCombinator()){var e=this.content(this.tokens[this.position+1]);var r=(0,U.unesc)(e).toLowerCase();var t={};if(r!==e){t.value="/"+e+"/"}var n=new F.default({value:"/"+r+"/",source:getSource(this.currToken[N.FIELDS.START_LINE],this.currToken[N.FIELDS.START_COL],this.tokens[this.position+2][N.FIELDS.END_LINE],this.tokens[this.position+2][N.FIELDS.END_COL]),sourceIndex:this.currToken[N.FIELDS.START_POS],raws:t});this.position=this.position+3;return n}else{this.unexpected()}};Parser.prototype.combinator=function combinator(){var e=this;if(this.content()==="|"){return this.namespace()}var r=this.locateNextMeaningfulToken(this.position);if(r<0||this.tokens[r][N.FIELDS.TYPE]===q.comma){var t=this.parseWhitespaceEquivalentTokens(r);if(t.length>0){var n=this.current.last;if(n){var i=this.convertWhitespaceNodesToSpace(t),o=i.space,s=i.rawSpace;if(s!==undefined){n.rawSpaceAfter+=s}n.spaces.after+=o}else{t.forEach(function(r){return e.newNode(r)})}}return}var a=this.currToken;var u=undefined;if(r>this.position){u=this.parseWhitespaceEquivalentTokens(r)}var f=void 0;if(this.isNamedCombinator()){f=this.namedCombinator()}else if(this.currToken[N.FIELDS.TYPE]===q.combinator){f=new F.default({value:this.content(),source:getTokenSource(this.currToken),sourceIndex:this.currToken[N.FIELDS.START_POS]});this.position++}else if(H[this.currToken[N.FIELDS.TYPE]]){}else if(!u){this.unexpected()}if(f){if(u){var c=this.convertWhitespaceNodesToSpace(u),l=c.space,p=c.rawSpace;f.spaces.before=l;f.rawSpaceBefore=p}}else{var h=this.convertWhitespaceNodesToSpace(u,true),B=h.space,v=h.rawSpace;if(!v){v=B}var d={};var b={spaces:{}};if(B.endsWith(" ")&&v.endsWith(" ")){d.before=B.slice(0,B.length-1);b.spaces.before=v.slice(0,v.length-1)}else if(B.startsWith(" ")&&v.startsWith(" ")){d.after=B.slice(1);b.spaces.after=v.slice(1)}else{b.value=v}f=new F.default({value:" ",source:getTokenSourceSpan(a,this.tokens[this.position-1]),sourceIndex:a[N.FIELDS.START_POS],spaces:d,raws:b})}if(this.currToken&&this.currToken[N.FIELDS.TYPE]===q.space){f.spaces.after=this.optionalSpace(this.content());this.position++}return this.newNode(f)};Parser.prototype.comma=function comma(){if(this.position===this.tokens.length-1){this.root.trailingComma=true;this.position++;return}this.current._inferEndPosition();var e=new B.default({source:{start:tokenStart(this.tokens[this.position+1])}});this.current.parent.append(e);this.current=e;this.position++};Parser.prototype.comment=function comment(){var e=this.currToken;this.newNode(new y.default({value:this.content(),source:getTokenSource(e),sourceIndex:e[N.FIELDS.START_POS]}));this.position++};Parser.prototype.error=function error(e,r){throw this.root.error(e,r)};Parser.prototype.missingBackslash=function missingBackslash(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[N.FIELDS.START_POS]})};Parser.prototype.missingParenthesis=function missingParenthesis(){return this.expected("opening parenthesis",this.currToken[N.FIELDS.START_POS])};Parser.prototype.missingSquareBracket=function missingSquareBracket(){return this.expected("opening square bracket",this.currToken[N.FIELDS.START_POS])};Parser.prototype.unexpected=function unexpected(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[N.FIELDS.START_POS])};Parser.prototype.namespace=function namespace(){var e=this.prevToken&&this.content(this.prevToken)||true;if(this.nextToken[N.FIELDS.TYPE]===q.word){this.position++;return this.word(e)}else if(this.nextToken[N.FIELDS.TYPE]===q.asterisk){this.position++;return this.universal(e)}};Parser.prototype.nesting=function nesting(){if(this.nextToken){var e=this.content(this.nextToken);if(e==="|"){this.position++;return}}var r=this.currToken;this.newNode(new j.default({value:this.content(),source:getTokenSource(r),sourceIndex:r[N.FIELDS.START_POS]}));this.position++};Parser.prototype.parentheses=function parentheses(){var e=this.current.last;var r=1;this.position++;if(e&&e.type===J.PSEUDO){var t=new B.default({source:{start:tokenStart(this.tokens[this.position-1])}});var n=this.current;e.append(t);this.current=t;while(this.position1&&e.nextToken&&e.nextToken[N.FIELDS.TYPE]===q.openParenthesis){e.error("Misplaced parenthesis.",{index:e.nextToken[N.FIELDS.START_POS]})}})}else{return this.expected(["pseudo-class","pseudo-element"],this.currToken[N.FIELDS.START_POS])}};Parser.prototype.space=function space(){var e=this.content();if(this.position===0||this.prevToken[N.FIELDS.TYPE]===q.comma||this.prevToken[N.FIELDS.TYPE]===q.openParenthesis){this.spaces=this.optionalSpace(e);this.position++}else if(this.position===this.tokens.length-1||this.nextToken[N.FIELDS.TYPE]===q.comma||this.nextToken[N.FIELDS.TYPE]===q.closeParenthesis){this.current.last.spaces.after=this.optionalSpace(e);this.position++}else{this.combinator()}};Parser.prototype.string=function string(){var e=this.currToken;this.newNode(new O.default({value:this.content(),source:getTokenSource(e),sourceIndex:e[N.FIELDS.START_POS]}));this.position++};Parser.prototype.universal=function universal(e){var r=this.nextToken;if(r&&this.content(r)==="|"){this.position++;return this.namespace()}var t=this.currToken;this.newNode(new A.default({value:this.content(),source:getTokenSource(t),sourceIndex:t[N.FIELDS.START_POS]}),e);this.position++};Parser.prototype.splitWord=function splitWord(e,r){var t=this;var n=this.nextToken;var i=this.content();while(n&&~[q.dollar,q.caret,q.equals,q.word].indexOf(n[N.FIELDS.TYPE])){this.position++;var o=this.content();i+=o;if(o.lastIndexOf("\\")===o.length-1){var s=this.nextToken;if(s&&s[N.FIELDS.TYPE]===q.space){i+=this.requiredSpace(this.content(s));this.position++}}n=this.nextToken}var a=(0,u.default)(i,".").filter(function(e){return i[e-1]!=="\\"});var f=(0,u.default)(i,"#");var l=(0,u.default)(i,"#{");if(l.length){f=f.filter(function(e){return!~l.indexOf(e)})}var p=(0,M.default)((0,c.default)([0].concat(a,f)));p.forEach(function(n,o){var s=p[o+1]||i.length;var u=i.slice(n,s);if(o===0&&r){return r.call(t,u,p.length)}var c=void 0;var l=t.currToken;var h=l[N.FIELDS.START_POS]+p[o];var B=getSource(l[1],l[2]+n,l[3],l[2]+(s-1));if(~a.indexOf(n)){var v={value:u.slice(1),source:B,sourceIndex:h};c=new d.default(unescapeProp(v,"value"))}else if(~f.indexOf(n)){var b={value:u.slice(1),source:B,sourceIndex:h};c=new m.default(unescapeProp(b,"value"))}else{var y={value:u,source:B,sourceIndex:h};unescapeProp(y,"value");c=new w.default(y)}t.newNode(c,e);e=null});this.position++};Parser.prototype.word=function word(e){var r=this.nextToken;if(r&&this.content(r)==="|"){this.position++;return this.namespace()}return this.splitWord(e)};Parser.prototype.loop=function loop(){while(this.position0&&arguments[0]!==undefined?arguments[0]:this.currToken;return this.css.slice(e[N.FIELDS.START_POS],e[N.FIELDS.END_POS])};Parser.prototype.locateNextMeaningfulToken=function locateNextMeaningfulToken(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:this.position+1;var r=e;while(r{"use strict";r.__esModule=true;var n=t(2522);var i=_interopRequireDefault(n);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}var o=function(){function Processor(e,r){_classCallCheck(this,Processor);this.func=e||function noop(){};this.funcRes=null;this.options=r}Processor.prototype._shouldUpdateSelector=function _shouldUpdateSelector(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var t=Object.assign({},this.options,r);if(t.updateSelector===false){return false}else{return typeof e!=="string"}};Processor.prototype._isLossy=function _isLossy(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var r=Object.assign({},this.options,e);if(r.lossless===false){return true}else{return false}};Processor.prototype._root=function _root(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var t=new i.default(e,this._parseOptions(r));return t.root};Processor.prototype._parseOptions=function _parseOptions(e){return{lossy:this._isLossy(e)}};Processor.prototype._run=function _run(e){var r=this;var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return new Promise(function(n,i){try{var o=r._root(e,t);Promise.resolve(r.func(o)).then(function(n){var i=undefined;if(r._shouldUpdateSelector(e,t)){i=o.toString();e.selector=i}return{transform:n,root:o,string:i}}).then(n,i)}catch(e){i(e);return}})};Processor.prototype._runSync=function _runSync(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var t=this._root(e,r);var n=this.func(t);if(n&&typeof n.then==="function"){throw new Error("Selector processor returned a promise to a synchronous call.")}var i=undefined;if(r.updateSelector&&typeof e!=="string"){i=t.toString();e.selector=i}return{transform:n,root:t,string:i}};Processor.prototype.ast=function ast(e,r){return this._run(e,r).then(function(e){return e.root})};Processor.prototype.astSync=function astSync(e,r){return this._runSync(e,r).root};Processor.prototype.transform=function transform(e,r){return this._run(e,r).then(function(e){return e.transform})};Processor.prototype.transformSync=function transformSync(e,r){return this._runSync(e,r).transform};Processor.prototype.process=function process(e,r){return this._run(e,r).then(function(e){return e.string||e.root.toString()})};Processor.prototype.processSync=function processSync(e,r){var t=this._runSync(e,r);return t.string||t.root.toString()};return Processor}();r.default=o;e.exports=r["default"]},9655:(e,r,t)=>{"use strict";r.__esModule=true;var n;var i=function(){function defineProperties(e,r){for(var t=0;t0&&arguments[0]!==undefined?arguments[0]:{};_classCallCheck(this,Attribute);var t=_possibleConstructorReturn(this,e.call(this,handleDeprecatedContructorOpts(r)));t.type=l.ATTRIBUTE;t.raws=t.raws||{};Object.defineProperty(t.raws,"unquoted",{get:h(function(){return t.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:h(function(){return t.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")});t._constructed=true;return t}Attribute.prototype.getQuotedValue=function getQuotedValue(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var r=this._determineQuoteMark(e);var t=g[r];var n=(0,s.default)(this._value,t);return n};Attribute.prototype._determineQuoteMark=function _determineQuoteMark(e){return e.smart?this.smartQuoteMark(e):this.preferredQuoteMark(e)};Attribute.prototype.setValue=function setValue(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};this._value=e;this._quoteMark=this._determineQuoteMark(r);this._syncRawValue()};Attribute.prototype.smartQuoteMark=function smartQuoteMark(e){var r=this.value;var t=r.replace(/[^']/g,"").length;var n=r.replace(/[^"]/g,"").length;if(t+n===0){var i=(0,s.default)(r,{isIdentifier:true});if(i===r){return Attribute.NO_QUOTE}else{var o=this.preferredQuoteMark(e);if(o===Attribute.NO_QUOTE){var a=this.quoteMark||e.quoteMark||Attribute.DOUBLE_QUOTE;var u=g[a];var f=(0,s.default)(r,u);if(f.length1&&arguments[1]!==undefined?arguments[1]:e;var t=arguments.length>2&&arguments[2]!==undefined?arguments[2]:defaultAttrConcat;var n=this._spacesFor(r);return t(this.stringifyProperty(e),n)};Attribute.prototype.offsetOf=function offsetOf(e){var r=1;var t=this._spacesFor("attribute");r+=t.before.length;if(e==="namespace"||e==="ns"){return this.namespace?r:-1}if(e==="attributeNS"){return r}r+=this.namespaceString.length;if(this.namespace){r+=1}if(e==="attribute"){return r}r+=this.stringifyProperty("attribute").length;r+=t.after.length;var n=this._spacesFor("operator");r+=n.before.length;var i=this.stringifyProperty("operator");if(e==="operator"){return i?r:-1}r+=i.length;r+=n.after.length;var o=this._spacesFor("value");r+=o.before.length;var s=this.stringifyProperty("value");if(e==="value"){return s?r:-1}r+=s.length;r+=o.after.length;var a=this._spacesFor("insensitive");r+=a.before.length;if(e==="insensitive"){return this.insensitive?r:-1}return-1};Attribute.prototype.toString=function toString(){var e=this;var r=[this.rawSpaceBefore,"["];r.push(this._stringFor("qualifiedAttribute","attribute"));if(this.operator&&this.value){r.push(this._stringFor("operator"));r.push(this._stringFor("value"));r.push(this._stringFor("insensitiveFlag","insensitive",function(r,t){if(r.length>0&&!e.quoted&&t.before.length===0&&!(e.spaces.value&&e.spaces.value.after)){t.before=" "}return defaultAttrConcat(r,t)}))}r.push("]");r.push(this.rawSpaceAfter);return r.join("")};i(Attribute,[{key:"quoted",get:function get(){var e=this.quoteMark;return e==="'"||e==='"'},set:function set(e){d()}},{key:"quoteMark",get:function get(){return this._quoteMark},set:function set(e){if(!this._constructed){this._quoteMark=e;return}if(this._quoteMark!==e){this._quoteMark=e;this._syncRawValue()}}},{key:"qualifiedAttribute",get:function get(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function get(){return this.insensitive?"i":""}},{key:"value",get:function get(){return this._value},set:function set(e){if(this._constructed){var r=unescapeValue(e),t=r.deprecatedUsage,n=r.unescaped,i=r.quoteMark;if(t){v()}if(n===this._value&&i===this._quoteMark){return}this._value=n;this._quoteMark=i;this._syncRawValue()}else{this._value=e}}},{key:"attribute",get:function get(){return this._attribute},set:function set(e){this._handleEscapes("attribute",e);this._attribute=e}}]);return Attribute}(c.default);y.NO_QUOTE=null;y.SINGLE_QUOTE="'";y.DOUBLE_QUOTE='"';r.default=y;var g=(n={"'":{quotes:"single",wrap:true},'"':{quotes:"double",wrap:true}},n[null]={isIdentifier:true},n);function defaultAttrConcat(e,r){return""+r.before+e+r.after}},9318:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t{"use strict";r.__esModule=true;var n=t(2789);var i=_interopRequireDefault(n);var o=t(9426);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Combinator,e);function Combinator(r){_classCallCheck(this,Combinator);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.COMBINATOR;return t}return Combinator}(i.default);r.default=s;e.exports=r["default"]},8154:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(2789);var i=_interopRequireDefault(n);var o=t(9426);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Comment,e);function Comment(r){_classCallCheck(this,Comment);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.COMMENT;return t}return Comment}(i.default);r.default=s;e.exports=r["default"]},1505:(e,r,t)=>{"use strict";r.__esModule=true;r.universal=r.tag=r.string=r.selector=r.root=r.pseudo=r.nesting=r.id=r.comment=r.combinator=r.className=r.attribute=undefined;var n=t(9655);var i=_interopRequireDefault(n);var o=t(9318);var s=_interopRequireDefault(o);var a=t(8638);var u=_interopRequireDefault(a);var f=t(8154);var c=_interopRequireDefault(f);var l=t(3396);var p=_interopRequireDefault(l);var h=t(4143);var B=_interopRequireDefault(h);var v=t(6502);var d=_interopRequireDefault(v);var b=t(2206);var y=_interopRequireDefault(b);var g=t(8703);var m=_interopRequireDefault(g);var C=t(5446);var w=_interopRequireDefault(C);var S=t(6674);var O=_interopRequireDefault(S);var T=t(4544);var E=_interopRequireDefault(T);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var k=r.attribute=function attribute(e){return new i.default(e)};var P=r.className=function className(e){return new s.default(e)};var D=r.combinator=function combinator(e){return new u.default(e)};var A=r.comment=function comment(e){return new c.default(e)};var R=r.id=function id(e){return new p.default(e)};var F=r.nesting=function nesting(e){return new B.default(e)};var x=r.pseudo=function pseudo(e){return new d.default(e)};var j=r.root=function root(e){return new y.default(e)};var I=r.selector=function selector(e){return new m.default(e)};var M=r.string=function string(e){return new w.default(e)};var N=r.tag=function tag(e){return new O.default(e)};var _=r.universal=function universal(e){return new E.default(e)}},8787:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t=e){this.indexes[t]=r-1}}return this};Container.prototype.removeAll=function removeAll(){for(var e=this.nodes,r=Array.isArray(e),t=0,e=r?e:e[Symbol.iterator]();;){var n;if(r){if(t>=e.length)break;n=e[t++]}else{t=e.next();if(t.done)break;n=t.value}var i=n;i.parent=undefined}this.nodes=[];return this};Container.prototype.empty=function empty(){return this.removeAll()};Container.prototype.insertAfter=function insertAfter(e,r){r.parent=this;var t=this.index(e);this.nodes.splice(t+1,0,r);r.parent=this;var n=void 0;for(var i in this.indexes){n=this.indexes[i];if(t<=n){this.indexes[i]=n+1}}return this};Container.prototype.insertBefore=function insertBefore(e,r){r.parent=this;var t=this.index(e);this.nodes.splice(t,0,r);r.parent=this;var n=void 0;for(var i in this.indexes){n=this.indexes[i];if(n<=t){this.indexes[i]=n+1}}return this};Container.prototype._findChildAtPosition=function _findChildAtPosition(e,r){var t=undefined;this.each(function(n){if(n.atPosition){var i=n.atPosition(e,r);if(i){t=i;return false}}else if(n.isAtPosition(e,r)){t=n;return false}});return t};Container.prototype.atPosition=function atPosition(e,r){if(this.isAtPosition(e,r)){return this._findChildAtPosition(e,r)||this}else{return undefined}};Container.prototype._inferEndPosition=function _inferEndPosition(){if(this.last&&this.last.source&&this.last.source.end){this.source=this.source||{};this.source.end=this.source.end||{};Object.assign(this.source.end,this.last.source.end)}};Container.prototype.each=function each(e){if(!this.lastEach){this.lastEach=0}if(!this.indexes){this.indexes={}}this.lastEach++;var r=this.lastEach;this.indexes[r]=0;if(!this.length){return undefined}var t=void 0,n=void 0;while(this.indexes[r]{"use strict";r.__esModule=true;r.isUniversal=r.isTag=r.isString=r.isSelector=r.isRoot=r.isPseudo=r.isNesting=r.isIdentifier=r.isComment=r.isCombinator=r.isClassName=r.isAttribute=undefined;var n=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var i;r.isNode=isNode;r.isPseudoElement=isPseudoElement;r.isPseudoClass=isPseudoClass;r.isContainer=isContainer;r.isNamespace=isNamespace;var o=t(9426);var s=(i={},i[o.ATTRIBUTE]=true,i[o.CLASS]=true,i[o.COMBINATOR]=true,i[o.COMMENT]=true,i[o.ID]=true,i[o.NESTING]=true,i[o.PSEUDO]=true,i[o.ROOT]=true,i[o.SELECTOR]=true,i[o.STRING]=true,i[o.TAG]=true,i[o.UNIVERSAL]=true,i);function isNode(e){return(typeof e==="undefined"?"undefined":n(e))==="object"&&s[e.type]}function isNodeType(e,r){return isNode(r)&&r.type===e}var a=r.isAttribute=isNodeType.bind(null,o.ATTRIBUTE);var u=r.isClassName=isNodeType.bind(null,o.CLASS);var f=r.isCombinator=isNodeType.bind(null,o.COMBINATOR);var c=r.isComment=isNodeType.bind(null,o.COMMENT);var l=r.isIdentifier=isNodeType.bind(null,o.ID);var p=r.isNesting=isNodeType.bind(null,o.NESTING);var h=r.isPseudo=isNodeType.bind(null,o.PSEUDO);var B=r.isRoot=isNodeType.bind(null,o.ROOT);var v=r.isSelector=isNodeType.bind(null,o.SELECTOR);var d=r.isString=isNodeType.bind(null,o.STRING);var b=r.isTag=isNodeType.bind(null,o.TAG);var y=r.isUniversal=isNodeType.bind(null,o.UNIVERSAL);function isPseudoElement(e){return h(e)&&e.value&&(e.value.startsWith("::")||e.value===":before"||e.value===":after")}function isPseudoClass(e){return h(e)&&!isPseudoElement(e)}function isContainer(e){return!!(isNode(e)&&e.walk)}function isNamespace(e){return a(e)||b(e)}},3396:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(2789);var i=_interopRequireDefault(n);var o=t(9426);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(ID,e);function ID(r){_classCallCheck(this,ID);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.ID;return t}ID.prototype.toString=function toString(){return[this.rawSpaceBefore,String("#"+this.stringifyProperty("value")),this.rawSpaceAfter].join("")};return ID}(i.default);r.default=s;e.exports=r["default"]},1996:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(9426);Object.keys(n).forEach(function(e){if(e==="default"||e==="__esModule")return;Object.defineProperty(r,e,{enumerable:true,get:function get(){return n[e]}})});var i=t(1505);Object.keys(i).forEach(function(e){if(e==="default"||e==="__esModule")return;Object.defineProperty(r,e,{enumerable:true,get:function get(){return i[e]}})});var o=t(2794);Object.keys(o).forEach(function(e){if(e==="default"||e==="__esModule")return;Object.defineProperty(r,e,{enumerable:true,get:function get(){return o[e]}})})},9908:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t{"use strict";r.__esModule=true;var n=t(2789);var i=_interopRequireDefault(n);var o=t(9426);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Nesting,e);function Nesting(r){_classCallCheck(this,Nesting);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.NESTING;t.value="&";return t}return Nesting}(i.default);r.default=s;e.exports=r["default"]},2789:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t0&&arguments[0]!==undefined?arguments[0]:{};_classCallCheck(this,Node);Object.assign(this,e);this.spaces=this.spaces||{};this.spaces.before=this.spaces.before||"";this.spaces.after=this.spaces.after||""}Node.prototype.remove=function remove(){if(this.parent){this.parent.removeChild(this)}this.parent=undefined;return this};Node.prototype.replaceWith=function replaceWith(){if(this.parent){for(var e in arguments){this.parent.insertBefore(this,arguments[e])}this.remove()}return this};Node.prototype.next=function next(){return this.parent.at(this.parent.index(this)+1)};Node.prototype.prev=function prev(){return this.parent.at(this.parent.index(this)-1)};Node.prototype.clone=function clone(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var r=s(this);for(var t in e){r[t]=e[t]}return r};Node.prototype.appendToPropertyAndEscape=function appendToPropertyAndEscape(e,r,t){if(!this.raws){this.raws={}}var n=this[e];var i=this.raws[e];this[e]=n+r;if(i||t!==r){this.raws[e]=(i||n)+t}else{delete this.raws[e]}};Node.prototype.setPropertyAndEscape=function setPropertyAndEscape(e,r,t){if(!this.raws){this.raws={}}this[e]=r;this.raws[e]=t};Node.prototype.setPropertyWithoutEscape=function setPropertyWithoutEscape(e,r){this[e]=r;if(this.raws){delete this.raws[e]}};Node.prototype.isAtPosition=function isAtPosition(e,r){if(this.source&&this.source.start&&this.source.end){if(this.source.start.line>e){return false}if(this.source.end.liner){return false}if(this.source.end.line===e&&this.source.end.column{"use strict";r.__esModule=true;var n=t(8787);var i=_interopRequireDefault(n);var o=t(9426);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Pseudo,e);function Pseudo(r){_classCallCheck(this,Pseudo);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.PSEUDO;return t}Pseudo.prototype.toString=function toString(){var e=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),e,this.rawSpaceAfter].join("")};return Pseudo}(i.default);r.default=s;e.exports=r["default"]},2206:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t{"use strict";r.__esModule=true;var n=t(8787);var i=_interopRequireDefault(n);var o=t(9426);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Selector,e);function Selector(r){_classCallCheck(this,Selector);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.SELECTOR;return t}return Selector}(i.default);r.default=s;e.exports=r["default"]},5446:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(2789);var i=_interopRequireDefault(n);var o=t(9426);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(String,e);function String(r){_classCallCheck(this,String);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.STRING;return t}return String}(i.default);r.default=s;e.exports=r["default"]},6674:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(9908);var i=_interopRequireDefault(n);var o=t(9426);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Tag,e);function Tag(r){_classCallCheck(this,Tag);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.TAG;return t}return Tag}(i.default);r.default=s;e.exports=r["default"]},9426:(e,r)=>{"use strict";r.__esModule=true;var t=r.TAG="tag";var n=r.STRING="string";var i=r.SELECTOR="selector";var o=r.ROOT="root";var s=r.PSEUDO="pseudo";var a=r.NESTING="nesting";var u=r.ID="id";var f=r.COMMENT="comment";var c=r.COMBINATOR="combinator";var l=r.CLASS="class";var p=r.ATTRIBUTE="attribute";var h=r.UNIVERSAL="universal"},4544:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(9908);var i=_interopRequireDefault(n);var o=t(9426);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Universal,e);function Universal(r){_classCallCheck(this,Universal);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.UNIVERSAL;t.value="*";return t}return Universal}(i.default);r.default=s;e.exports=r["default"]},4850:(e,r)=>{"use strict";r.__esModule=true;r.default=sortAscending;function sortAscending(e){return e.sort(function(e,r){return e-r})}e.exports=r["default"]},8656:(e,r)=>{"use strict";r.__esModule=true;var t=r.ampersand=38;var n=r.asterisk=42;var i=r.at=64;var o=r.comma=44;var s=r.colon=58;var a=r.semicolon=59;var u=r.openParenthesis=40;var f=r.closeParenthesis=41;var c=r.openSquare=91;var l=r.closeSquare=93;var p=r.dollar=36;var h=r.tilde=126;var B=r.caret=94;var v=r.plus=43;var d=r.equals=61;var b=r.pipe=124;var y=r.greaterThan=62;var g=r.space=32;var m=r.singleQuote=39;var C=r.doubleQuote=34;var w=r.slash=47;var S=r.bang=33;var O=r.backslash=92;var T=r.cr=13;var E=r.feed=12;var k=r.newline=10;var P=r.tab=9;var D=r.str=m;var A=r.comment=-1;var R=r.word=-2;var F=r.combinator=-3},3474:(e,r,t)=>{"use strict";r.__esModule=true;r.FIELDS=undefined;var n,i;r.default=tokenize;var o=t(8656);var s=_interopRequireWildcard(o);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var r={};if(e!=null){for(var t in e){if(Object.prototype.hasOwnProperty.call(e,t))r[t]=e[t]}}r.default=e;return r}}var a=(n={},n[s.tab]=true,n[s.newline]=true,n[s.cr]=true,n[s.feed]=true,n);var u=(i={},i[s.space]=true,i[s.tab]=true,i[s.newline]=true,i[s.cr]=true,i[s.feed]=true,i[s.ampersand]=true,i[s.asterisk]=true,i[s.bang]=true,i[s.comma]=true,i[s.colon]=true,i[s.semicolon]=true,i[s.openParenthesis]=true,i[s.closeParenthesis]=true,i[s.openSquare]=true,i[s.closeSquare]=true,i[s.singleQuote]=true,i[s.doubleQuote]=true,i[s.plus]=true,i[s.pipe]=true,i[s.tilde]=true,i[s.greaterThan]=true,i[s.equals]=true,i[s.dollar]=true,i[s.caret]=true,i[s.slash]=true,i);var f={};var c="0123456789abcdefABCDEF";for(var l=0;l0){g=a+d;m=y-b[d].length}else{g=a;m=o}w=s.comment;a=g;h=g;p=y-m}else if(c===s.slash){y=u;w=c;h=a;p=u-o;f=y+1}else{y=consumeWord(t,u);w=s.word;h=a;p=y-o}f=y+1;break}r.push([w,a,u-o,h,p,u,f]);if(m){o=m;m=null}u=f}return r}},7708:(e,r)=>{"use strict";r.__esModule=true;r.default=ensureObject;function ensureObject(e){for(var r=arguments.length,t=Array(r>1?r-1:0),n=1;n0){var i=t.shift();if(!e[i]){e[i]={}}e=e[i]}}e.exports=r["default"]},1348:(e,r)=>{"use strict";r.__esModule=true;r.default=getProp;function getProp(e){for(var r=arguments.length,t=Array(r>1?r-1:0),n=1;n0){var i=t.shift();if(!e[i]){return undefined}e=e[i]}return e}e.exports=r["default"]},4277:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(1381);Object.defineProperty(r,"unesc",{enumerable:true,get:function get(){return _interopRequireDefault(n).default}});var i=t(1348);Object.defineProperty(r,"getProp",{enumerable:true,get:function get(){return _interopRequireDefault(i).default}});var o=t(7708);Object.defineProperty(r,"ensureObject",{enumerable:true,get:function get(){return _interopRequireDefault(o).default}});var s=t(6527);Object.defineProperty(r,"stripComments",{enumerable:true,get:function get(){return _interopRequireDefault(s).default}});function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},6527:(e,r)=>{"use strict";r.__esModule=true;r.default=stripComments;function stripComments(e){var r="";var t=e.indexOf("/*");var n=0;while(t>=0){r=r+e.slice(n,t);var i=e.indexOf("*/",t+2);if(i<0){return r}n=i+2;t=e.indexOf("/*",n)}r=r+e.slice(n);return r}e.exports=r["default"]},1381:(e,r)=>{"use strict";r.__esModule=true;r.default=unesc;var t=/\\(?:([0-9a-fA-F]{6})|([0-9a-fA-F]{1,5})(?: |(?![0-9a-fA-F])))/g;var n=/\\(.)/g;function unesc(e){e=e.replace(t,function(e,r,t){var n=r||t;var i=parseInt(n,16);return String.fromCharCode(i)});e=e.replace(n,function(e,r){return r});return e}e.exports=r["default"]},1084:(e,r,t)=>{var n=t(7802);e.exports=n.plugin("postcss-replace-overflow-wrap",function(e){e=e||{};var r=e.method||"replace";return function(e){e.walkDecls("overflow-wrap",function(e){e.cloneBefore({prop:"word-wrap"});if(r==="replace"){e.remove()}})}})},5252:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});var n=t(7802);var i=_interopRequireDefault(n);var o=t(4991);var s=_interopRequireDefault(o);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function explodeSelectors(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};return function(r){r.walkRules(function(r){if(r.selector&&r.selector.indexOf(":matches")>-1){r.selector=(0,s.default)(r,e)}})}}r.default=i.default.plugin("postcss-selector-matches",explodeSelectors);e.exports=r.default},4991:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=replaceRuleSelector;var n=t(8315);var i=_interopRequireDefault(n);var o=t(3353);var s=_interopRequireDefault(o);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _toConsumableArray(e){if(Array.isArray(e)){for(var r=0,t=Array(e.length);r-1){var t=[];var n=e.match(/^\s+/);var o=n?n[0]:"";var u=i.default.comma(e);u.forEach(function(e){var n=e.indexOf(a);var u=e.slice(0,n);var f=e.slice(n);var c=(0,s.default)("(",")",f);var l=c&&c.body?i.default.comma(c.body).reduce(function(e,t){return[].concat(_toConsumableArray(e),_toConsumableArray(explodeSelector(t,r)))},[]):[f];var p=c&&c.post?explodeSelector(c.post,r):[];var h=void 0;if(p.length===0){if(n===-1||u.indexOf(" ")>-1){h=l.map(function(e){return o+u+e})}else{h=l.map(function(e){return normalizeSelector(e,o,u)})}}else{h=[];p.forEach(function(e){l.forEach(function(r){h.push(o+u+r+e)})})}t=[].concat(_toConsumableArray(t),_toConsumableArray(h))});return t}return[e]}function replaceRuleSelector(e,r){var t=e.raws&&e.raws.before?e.raws.before.split("\n").pop():"";return explodeSelector(e.selector,r).join(","+(r.lineBreak?"\n"+t:" "))}e.exports=r.default},1790:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});var n=t(7802);var i=_interopRequireDefault(n);var o=t(8315);var s=_interopRequireDefault(o);var a=t(3353);var u=_interopRequireDefault(a);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function explodeSelector(e,r){var t=locatePseudoClass(r,e);if(r&&t>-1){var n=r.slice(0,t);var i=(0,u.default)("(",")",r.slice(t));var o=i.body?s.default.comma(i.body).map(function(r){return explodeSelector(e,r)}).join(`)${e}(`):"";var a=i.post?explodeSelector(e,i.post):"";return`${n}${e}(${o})${a}`}return r}var f={};function locatePseudoClass(e,r){f[r]=f[r]||new RegExp(`([^\\\\]|^)${r}`);var t=f[r];var n=e.search(t);if(n===-1){return-1}return n+e.slice(n).indexOf(r)}function explodeSelectors(e){return function(){return function(r){r.walkRules(function(r){if(r.selector&&r.selector.indexOf(e)>-1){r.selector=explodeSelector(e,r.selector)}})}}}r.default=i.default.plugin("postcss-selector-not",explodeSelectors(":not"));e.exports=r.default},2591:(e,r,t)=>{"use strict";const n=t(3573);class AtWord extends n{constructor(e){super(e);this.type="atword"}toString(){let e=this.quoted?this.raws.quote:"";return[this.raws.before,"@",String.prototype.toString.call(this.value),this.raws.after].join("")}}n.registerWalker(AtWord);e.exports=AtWord},4521:(e,r,t)=>{"use strict";const n=t(3573);const i=t(4748);class Colon extends i{constructor(e){super(e);this.type="colon"}}n.registerWalker(Colon);e.exports=Colon},3654:(e,r,t)=>{"use strict";const n=t(3573);const i=t(4748);class Comma extends i{constructor(e){super(e);this.type="comma"}}n.registerWalker(Comma);e.exports=Comma},7393:(e,r,t)=>{"use strict";const n=t(3573);const i=t(4748);class Comment extends i{constructor(e){super(e);this.type="comment";this.inline=Object(e).inline||false}toString(){return[this.raws.before,this.inline?"//":"/*",String(this.value),this.inline?"":"*/",this.raws.after].join("")}}n.registerWalker(Comment);e.exports=Comment},3573:(e,r,t)=>{"use strict";const n=t(4748);class Container extends n{constructor(e){super(e);if(!this.nodes){this.nodes=[]}}push(e){e.parent=this;this.nodes.push(e);return this}each(e){if(!this.lastEach)this.lastEach=0;if(!this.indexes)this.indexes={};this.lastEach+=1;let r=this.lastEach,t,n;this.indexes[r]=0;if(!this.nodes)return undefined;while(this.indexes[r]{let n=e(r,t);if(n!==false&&r.walk){n=r.walk(e)}return n})}walkType(e,r){if(!e||!r){throw new Error("Parameters {type} and {callback} are required.")}const t=typeof e==="function";return this.walk((n,i)=>{if(t&&n instanceof e||!t&&n.type===e){return r.call(this,n,i)}})}append(e){e.parent=this;this.nodes.push(e);return this}prepend(e){e.parent=this;this.nodes.unshift(e);return this}cleanRaws(e){super.cleanRaws(e);if(this.nodes){for(let r of this.nodes)r.cleanRaws(e)}}insertAfter(e,r){let t=this.index(e),n;this.nodes.splice(t+1,0,r);for(let e in this.indexes){n=this.indexes[e];if(t<=n){this.indexes[e]=n+this.nodes.length}}return this}insertBefore(e,r){let t=this.index(e),n;this.nodes.splice(t,0,r);for(let e in this.indexes){n=this.indexes[e];if(t<=n){this.indexes[e]=n+this.nodes.length}}return this}removeChild(e){e=this.index(e);this.nodes[e].parent=undefined;this.nodes.splice(e,1);let r;for(let t in this.indexes){r=this.indexes[t];if(r>=e){this.indexes[t]=r-1}}return this}removeAll(){for(let e of this.nodes)e.parent=undefined;this.nodes=[];return this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){if(typeof e==="number"){return e}else{return this.nodes.indexOf(e)}}get first(){if(!this.nodes)return undefined;return this.nodes[0]}get last(){if(!this.nodes)return undefined;return this.nodes[this.nodes.length-1]}toString(){let e=this.nodes.map(String).join("");if(this.value){e=this.value+e}if(this.raws.before){e=this.raws.before+e}if(this.raws.after){e+=this.raws.after}return e}}Container.registerWalker=(e=>{let r="walk"+e.name;if(r.lastIndexOf("s")!==r.length-1){r+="s"}if(Container.prototype[r]){return}Container.prototype[r]=function(r){return this.walkType(e,r)}});e.exports=Container},7647:e=>{"use strict";class ParserError extends Error{constructor(e){super(e);this.name=this.constructor.name;this.message=e||"An error ocurred while parsing.";if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(this,this.constructor)}else{this.stack=new Error(e).stack}}}e.exports=ParserError},8386:e=>{"use strict";class TokenizeError extends Error{constructor(e){super(e);this.name=this.constructor.name;this.message=e||"An error ocurred while tokzenizing.";if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(this,this.constructor)}else{this.stack=new Error(e).stack}}}e.exports=TokenizeError},8494:(e,r,t)=>{"use strict";const n=t(3573);class FunctionNode extends n{constructor(e){super(e);this.type="func";this.unbalanced=-1}}n.registerWalker(FunctionNode);e.exports=FunctionNode},4510:(e,r,t)=>{"use strict";const n=t(2217);const i=t(2591);const o=t(4521);const s=t(3654);const a=t(7393);const u=t(8494);const f=t(3024);const c=t(6961);const l=t(7968);const p=t(2891);const h=t(6609);const B=t(9483);const v=t(8406);let d=function(e,r){return new n(e,r)};d.atword=function(e){return new i(e)};d.colon=function(e){return new o(Object.assign({value:":"},e))};d.comma=function(e){return new s(Object.assign({value:","},e))};d.comment=function(e){return new a(e)};d.func=function(e){return new u(e)};d.number=function(e){return new f(e)};d.operator=function(e){return new c(e)};d.paren=function(e){return new l(Object.assign({value:"("},e))};d.string=function(e){return new p(Object.assign({quote:"'"},e))};d.value=function(e){return new B(e)};d.word=function(e){return new v(e)};d.unicodeRange=function(e){return new h(e)};e.exports=d},4748:e=>{"use strict";let r=function(e,t){let n=new e.constructor;for(let i in e){if(!e.hasOwnProperty(i))continue;let o=e[i],s=typeof o;if(i==="parent"&&s==="object"){if(t)n[i]=t}else if(i==="source"){n[i]=o}else if(o instanceof Array){n[i]=o.map(e=>r(e,n))}else if(i!=="before"&&i!=="after"&&i!=="between"&&i!=="semicolon"){if(s==="object"&&o!==null)o=r(o);n[i]=o}}return n};e.exports=class Node{constructor(e){e=e||{};this.raws={before:"",after:""};for(let r in e){this[r]=e[r]}}remove(){if(this.parent){this.parent.removeChild(this)}this.parent=undefined;return this}toString(){return[this.raws.before,String(this.value),this.raws.after].join("")}clone(e){e=e||{};let t=r(this);for(let r in e){t[r]=e[r]}return t}cloneBefore(e){e=e||{};let r=this.clone(e);this.parent.insertBefore(this,r);return r}cloneAfter(e){e=e||{};let r=this.clone(e);this.parent.insertAfter(this,r);return r}replaceWith(){let e=Array.prototype.slice.call(arguments);if(this.parent){for(let r of e){this.parent.insertBefore(this,r)}this.remove()}return this}moveTo(e){this.cleanRaws(this.root()===e.root());this.remove();e.append(this);return this}moveBefore(e){this.cleanRaws(this.root()===e.root());this.remove();e.parent.insertBefore(e,this);return this}moveAfter(e){this.cleanRaws(this.root()===e.root());this.remove();e.parent.insertAfter(e,this);return this}next(){let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){let e=this.parent.index(this);return this.parent.nodes[e-1]}toJSON(){let e={};for(let r in this){if(!this.hasOwnProperty(r))continue;if(r==="parent")continue;let t=this[r];if(t instanceof Array){e[r]=t.map(e=>{if(typeof e==="object"&&e.toJSON){return e.toJSON()}else{return e}})}else if(typeof t==="object"&&t.toJSON){e[r]=t.toJSON()}else{e[r]=t}}return e}root(){let e=this;while(e.parent)e=e.parent;return e}cleanRaws(e){delete this.raws.before;delete this.raws.after;if(!e)delete this.raws.between}positionInside(e){let r=this.toString(),t=this.source.start.column,n=this.source.start.line;for(let i=0;i{"use strict";const n=t(3573);const i=t(4748);class NumberNode extends i{constructor(e){super(e);this.type="number";this.unit=Object(e).unit||""}toString(){return[this.raws.before,String(this.value),this.unit,this.raws.after].join("")}}n.registerWalker(NumberNode);e.exports=NumberNode},6961:(e,r,t)=>{"use strict";const n=t(3573);const i=t(4748);class Operator extends i{constructor(e){super(e);this.type="operator"}}n.registerWalker(Operator);e.exports=Operator},7968:(e,r,t)=>{"use strict";const n=t(3573);const i=t(4748);class Parenthesis extends i{constructor(e){super(e);this.type="paren";this.parenType=""}}n.registerWalker(Parenthesis);e.exports=Parenthesis},2217:(e,r,t)=>{"use strict";const n=t(523);const i=t(9483);const o=t(2591);const s=t(4521);const a=t(3654);const u=t(7393);const f=t(8494);const c=t(3024);const l=t(6961);const p=t(7968);const h=t(2891);const B=t(8406);const v=t(6609);const d=t(6145);const b=t(132);const y=t(5417);const g=t(6258);const m=t(7647);function sortAscending(e){return e.sort((e,r)=>e-r)}e.exports=class Parser{constructor(e,r){const t={loose:false};this.cache=[];this.input=e;this.options=Object.assign({},t,r);this.position=0;this.unbalanced=0;this.root=new n;let o=new i;this.root.append(o);this.current=o;this.tokens=d(e,this.options)}parse(){return this.loop()}colon(){let e=this.currToken;this.newNode(new s({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]}));this.position++}comma(){let e=this.currToken;this.newNode(new a({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]}));this.position++}comment(){let e=false,r=this.currToken[1].replace(/\/\*|\*\//g,""),t;if(this.options.loose&&r.startsWith("//")){r=r.substring(2);e=true}t=new u({value:r,inline:e,source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]});this.newNode(t);this.position++}error(e,r){throw new m(e+` at line: ${r[2]}, column ${r[3]}`)}loop(){while(this.position0){if(this.current.type==="func"&&this.current.value==="calc"){if(this.prevToken[0]!=="space"&&this.prevToken[0]!=="("){this.error("Syntax Error",this.currToken)}else if(this.nextToken[0]!=="space"&&this.nextToken[0]!=="word"){this.error("Syntax Error",this.currToken)}else if(this.nextToken[0]==="word"&&this.current.last.type!=="operator"&&this.current.last.value!=="("){this.error("Syntax Error",this.currToken)}}else if(this.nextToken[0]==="space"||this.nextToken[0]==="operator"||this.prevToken[0]==="operator"){this.error("Syntax Error",this.currToken)}}}if(!this.options.loose){if(this.nextToken[0]==="word"){return this.word()}}else{if((!this.current.nodes.length||this.current.last&&this.current.last.type==="operator")&&this.nextToken[0]==="word"){return this.word()}}}r=new l({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]});this.position++;return this.newNode(r)}parseTokens(){switch(this.currToken[0]){case"space":this.space();break;case"colon":this.colon();break;case"comma":this.comma();break;case"comment":this.comment();break;case"(":this.parenOpen();break;case")":this.parenClose();break;case"atword":case"word":this.word();break;case"operator":this.operator();break;case"string":this.string();break;case"unicoderange":this.unicodeRange();break;default:this.word();break}}parenOpen(){let e=1,r=this.position+1,t=this.currToken,n;while(r=this.tokens.length-1&&!this.current.unbalanced){return}this.current.unbalanced--;if(this.current.unbalanced<0){this.error("Expected opening parenthesis",e)}if(!this.current.unbalanced&&this.cache.length){this.current=this.cache.pop()}}space(){let e=this.currToken;if(this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"){this.current.last.raws.after+=e[1];this.position++}else{this.spaces=e[1];this.position++}}unicodeRange(){let e=this.currToken;this.newNode(new v({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]}));this.position++}splitWord(){let e=this.nextToken,r=this.currToken[1],t=/^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/,n=/^(?!\#([a-z0-9]+))[\#\{\}]/gi,i,s;if(!n.test(r)){while(e&&e[0]==="word"){this.position++;let t=this.currToken[1];r+=t;e=this.nextToken}}i=y(r,"@");s=sortAscending(g(b([[0],i])));s.forEach((n,a)=>{let u=s[a+1]||r.length,l=r.slice(n,u),p;if(~i.indexOf(n)){p=new o({value:l.slice(1),source:{start:{line:this.currToken[2],column:this.currToken[3]+n},end:{line:this.currToken[4],column:this.currToken[3]+(u-1)}},sourceIndex:this.currToken[6]+s[a]})}else if(t.test(this.currToken[1])){let e=l.replace(t,"");p=new c({value:l.replace(e,""),source:{start:{line:this.currToken[2],column:this.currToken[3]+n},end:{line:this.currToken[4],column:this.currToken[3]+(u-1)}},sourceIndex:this.currToken[6]+s[a],unit:e})}else{p=new(e&&e[0]==="("?f:B)({value:l,source:{start:{line:this.currToken[2],column:this.currToken[3]+n},end:{line:this.currToken[4],column:this.currToken[3]+(u-1)}},sourceIndex:this.currToken[6]+s[a]});if(p.constructor.name==="Word"){p.isHex=/^#(.+)/.test(l);p.isColor=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(l)}else{this.cache.push(this.current)}}this.newNode(p)});this.position++}string(){let e=this.currToken,r=this.currToken[1],t=/^(\"|\')/,n=t.test(r),i="",o;if(n){i=r.match(t)[0];r=r.slice(1,r.length-1)}o=new h({value:r,source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6],quoted:n});o.raws.quote=i;this.newNode(o);this.position++}word(){return this.splitWord()}newNode(e){if(this.spaces){e.raws.before+=this.spaces;this.spaces=""}return this.current.append(e)}get currToken(){return this.tokens[this.position]}get nextToken(){return this.tokens[this.position+1]}get prevToken(){return this.tokens[this.position-1]}}},523:(e,r,t)=>{"use strict";const n=t(3573);e.exports=class Root extends n{constructor(e){super(e);this.type="root"}}},2891:(e,r,t)=>{"use strict";const n=t(3573);const i=t(4748);class StringNode extends i{constructor(e){super(e);this.type="string"}toString(){let e=this.quoted?this.raws.quote:"";return[this.raws.before,e,this.value+"",e,this.raws.after].join("")}}n.registerWalker(StringNode);e.exports=StringNode},6145:(e,r,t)=>{"use strict";const n="{".charCodeAt(0);const i="}".charCodeAt(0);const o="(".charCodeAt(0);const s=")".charCodeAt(0);const a="'".charCodeAt(0);const u='"'.charCodeAt(0);const f="\\".charCodeAt(0);const c="/".charCodeAt(0);const l=".".charCodeAt(0);const p=",".charCodeAt(0);const h=":".charCodeAt(0);const B="*".charCodeAt(0);const v="-".charCodeAt(0);const d="+".charCodeAt(0);const b="#".charCodeAt(0);const y="\n".charCodeAt(0);const g=" ".charCodeAt(0);const m="\f".charCodeAt(0);const C="\t".charCodeAt(0);const w="\r".charCodeAt(0);const S="@".charCodeAt(0);const O="e".charCodeAt(0);const T="E".charCodeAt(0);const E="0".charCodeAt(0);const k="9".charCodeAt(0);const P="u".charCodeAt(0);const D="U".charCodeAt(0);const A=/[ \n\t\r\{\(\)'"\\;,/]/g;const R=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;const F=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g;const x=/^[a-z0-9]/i;const j=/^[a-f0-9?\-]/i;const I=t(1669);const M=t(8386);e.exports=function tokenize(e,r){r=r||{};let t=[],N=e.valueOf(),_=N.length,L=-1,q=1,G=0,J=0,U=null,H,Q,K,W,Y,z,$,X,Z,V,ee,re;function unclosed(e){let r=I.format("Unclosed %s at line: %d, column: %d, token: %d",e,q,G-L,G);throw new M(r)}function tokenizeError(){let e=I.format("Syntax error at line: %d, column: %d, token: %d",q,G-L,G);throw new M(e)}while(G<_){H=N.charCodeAt(G);if(H===y){L=G;q+=1}switch(H){case y:case g:case C:case w:case m:Q=G;do{Q+=1;H=N.charCodeAt(Q);if(H===y){L=Q;q+=1}}while(H===g||H===y||H===C||H===w||H===m);t.push(["space",N.slice(G,Q),q,G-L,q,Q-L,G]);G=Q-1;break;case h:Q=G+1;t.push(["colon",N.slice(G,Q),q,G-L,q,Q-L,G]);G=Q-1;break;case p:Q=G+1;t.push(["comma",N.slice(G,Q),q,G-L,q,Q-L,G]);G=Q-1;break;case n:t.push(["{","{",q,G-L,q,Q-L,G]);break;case i:t.push(["}","}",q,G-L,q,Q-L,G]);break;case o:J++;U=!U&&J===1&&t.length>0&&t[t.length-1][0]==="word"&&t[t.length-1][1]==="url";t.push(["(","(",q,G-L,q,Q-L,G]);break;case s:J--;U=U&&J>0;t.push([")",")",q,G-L,q,Q-L,G]);break;case a:case u:K=H===a?"'":'"';Q=G;do{V=false;Q=N.indexOf(K,Q+1);if(Q===-1){unclosed("quote",K)}ee=Q;while(N.charCodeAt(ee-1)===f){ee-=1;V=!V}}while(V);t.push(["string",N.slice(G,Q+1),q,G-L,q,Q-L,G]);G=Q;break;case S:A.lastIndex=G+1;A.test(N);if(A.lastIndex===0){Q=N.length-1}else{Q=A.lastIndex-2}t.push(["atword",N.slice(G,Q+1),q,G-L,q,Q-L,G]);G=Q;break;case f:Q=G;H=N.charCodeAt(Q+1);if($&&(H!==c&&H!==g&&H!==y&&H!==C&&H!==w&&H!==m)){Q+=1}t.push(["word",N.slice(G,Q+1),q,G-L,q,Q-L,G]);G=Q;break;case d:case v:case B:Q=G+1;re=N.slice(G+1,Q+1);let e=N.slice(G-1,G);if(H===v&&re.charCodeAt(0)===v){Q++;t.push(["word",N.slice(G,Q),q,G-L,q,Q-L,G]);G=Q-1;break}t.push(["operator",N.slice(G,Q),q,G-L,q,Q-L,G]);G=Q-1;break;default:if(H===c&&(N.charCodeAt(G+1)===B||r.loose&&!U&&N.charCodeAt(G+1)===c)){const e=N.charCodeAt(G+1)===B;if(e){Q=N.indexOf("*/",G+2)+1;if(Q===0){unclosed("comment","*/")}}else{const e=N.indexOf("\n",G+2);Q=e!==-1?e-1:_}z=N.slice(G,Q+1);W=z.split("\n");Y=W.length-1;if(Y>0){X=q+Y;Z=Q-W[Y].length}else{X=q;Z=L}t.push(["comment",z,q,G-L,X,Q-Z,G]);L=Z;q=X;G=Q}else if(H===b&&!x.test(N.slice(G+1,G+2))){Q=G+1;t.push(["#",N.slice(G,Q),q,G-L,q,Q-L,G]);G=Q-1}else if((H===P||H===D)&&N.charCodeAt(G+1)===d){Q=G+2;do{Q+=1;H=N.charCodeAt(Q)}while(Q<_&&j.test(N.slice(Q,Q+1)));t.push(["unicoderange",N.slice(G,Q),q,G-L,q,Q-L,G]);G=Q-1}else if(H===c){Q=G+1;t.push(["operator",N.slice(G,Q),q,G-L,q,Q-L,G]);G=Q-1}else{let e=R;if(H>=E&&H<=k){e=F}e.lastIndex=G+1;e.test(N);if(e.lastIndex===0){Q=N.length-1}else{Q=e.lastIndex-2}if(e===F||H===l){let e=N.charCodeAt(Q),r=N.charCodeAt(Q+1),t=N.charCodeAt(Q+2);if((e===O||e===T)&&(r===v||r===d)&&(t>=E&&t<=k)){F.lastIndex=Q+2;F.test(N);if(F.lastIndex===0){Q=N.length-1}else{Q=F.lastIndex-2}}}t.push(["word",N.slice(G,Q+1),q,G-L,q,Q-L,G]);G=Q}break}G++}return t}},6609:(e,r,t)=>{"use strict";const n=t(3573);const i=t(4748);class UnicodeRange extends i{constructor(e){super(e);this.type="unicode-range"}}n.registerWalker(UnicodeRange);e.exports=UnicodeRange},9483:(e,r,t)=>{"use strict";const n=t(3573);e.exports=class Value extends n{constructor(e){super(e);this.type="value";this.unbalanced=0}}},8406:(e,r,t)=>{"use strict";const n=t(3573);const i=t(4748);class Word extends i{constructor(e){super(e);this.type="word"}}n.registerWalker(Word);e.exports=Word},3917:(e,r,t)=>{"use strict";r.__esModule=true;r.default=void 0;var n=_interopRequireDefault(t(7005));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,r){e.prototype=Object.create(r.prototype);e.prototype.constructor=e;e.__proto__=r}var i=function(e){_inheritsLoose(AtRule,e);function AtRule(r){var t;t=e.call(this,r)||this;t.type="atrule";return t}var r=AtRule.prototype;r.append=function append(){var r;if(!this.nodes)this.nodes=[];for(var t=arguments.length,n=new Array(t),i=0;i{"use strict";r.__esModule=true;r.default=void 0;var n=_interopRequireDefault(t(944));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,r){e.prototype=Object.create(r.prototype);e.prototype.constructor=e;e.__proto__=r}var i=function(e){_inheritsLoose(Comment,e);function Comment(r){var t;t=e.call(this,r)||this;t.type="comment";return t}return Comment}(n.default);var o=i;r.default=o;e.exports=r.default},7005:(e,r,t)=>{"use strict";r.__esModule=true;r.default=void 0;var n=_interopRequireDefault(t(2095));var i=_interopRequireDefault(t(9711));var o=_interopRequireDefault(t(944));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,r){for(var t=0;t=a.length)break;c=a[f++]}else{f=a.next();if(f.done)break;c=f.value}var l=c;this.nodes.push(l)}}return this};r.prepend=function prepend(){for(var e=arguments.length,r=new Array(e),t=0;t=n.length)break;s=n[o++]}else{o=n.next();if(o.done)break;s=o.value}var a=s;var u=this.normalize(a,this.first,"prepend").reverse();for(var f=u,c=Array.isArray(f),l=0,f=c?f:f[Symbol.iterator]();;){var p;if(c){if(l>=f.length)break;p=f[l++]}else{l=f.next();if(l.done)break;p=l.value}var h=p;this.nodes.unshift(h)}for(var B in this.indexes){this.indexes[B]=this.indexes[B]+u.length}}return this};r.cleanRaws=function cleanRaws(r){e.prototype.cleanRaws.call(this,r);if(this.nodes){for(var t=this.nodes,n=Array.isArray(t),i=0,t=n?t:t[Symbol.iterator]();;){var o;if(n){if(i>=t.length)break;o=t[i++]}else{i=t.next();if(i.done)break;o=i.value}var s=o;s.cleanRaws(r)}}};r.insertBefore=function insertBefore(e,r){e=this.index(e);var t=e===0?"prepend":false;var n=this.normalize(r,this.nodes[e],t).reverse();for(var i=n,o=Array.isArray(i),s=0,i=o?i:i[Symbol.iterator]();;){var a;if(o){if(s>=i.length)break;a=i[s++]}else{s=i.next();if(s.done)break;a=s.value}var u=a;this.nodes.splice(e,0,u)}var f;for(var c in this.indexes){f=this.indexes[c];if(e<=f){this.indexes[c]=f+n.length}}return this};r.insertAfter=function insertAfter(e,r){e=this.index(e);var t=this.normalize(r,this.nodes[e]).reverse();for(var n=t,i=Array.isArray(n),o=0,n=i?n:n[Symbol.iterator]();;){var s;if(i){if(o>=n.length)break;s=n[o++]}else{o=n.next();if(o.done)break;s=o.value}var a=s;this.nodes.splice(e+1,0,a)}var u;for(var f in this.indexes){u=this.indexes[f];if(e=e){this.indexes[t]=r-1}}return this};r.removeAll=function removeAll(){for(var e=this.nodes,r=Array.isArray(e),t=0,e=r?e:e[Symbol.iterator]();;){var n;if(r){if(t>=e.length)break;n=e[t++]}else{t=e.next();if(t.done)break;n=t.value}var i=n;i.parent=undefined}this.nodes=[];return this};r.replaceValues=function replaceValues(e,r,t){if(!t){t=r;r={}}this.walkDecls(function(n){if(r.props&&r.props.indexOf(n.prop)===-1)return;if(r.fast&&n.value.indexOf(r.fast)===-1)return;n.value=n.value.replace(e,t)});return this};r.every=function every(e){return this.nodes.every(e)};r.some=function some(e){return this.nodes.some(e)};r.index=function index(e){if(typeof e==="number"){return e}return this.nodes.indexOf(e)};r.normalize=function normalize(e,r){var o=this;if(typeof e==="string"){var s=t(8317);e=cleanSource(s(e).nodes)}else if(Array.isArray(e)){e=e.slice(0);for(var a=e,u=Array.isArray(a),f=0,a=u?a:a[Symbol.iterator]();;){var c;if(u){if(f>=a.length)break;c=a[f++]}else{f=a.next();if(f.done)break;c=f.value}var l=c;if(l.parent)l.parent.removeChild(l,"ignore")}}else if(e.type==="root"){e=e.nodes.slice(0);for(var p=e,h=Array.isArray(p),B=0,p=h?p:p[Symbol.iterator]();;){var v;if(h){if(B>=p.length)break;v=p[B++]}else{B=p.next();if(B.done)break;v=B.value}var d=v;if(d.parent)d.parent.removeChild(d,"ignore")}}else if(e.type){e=[e]}else if(e.prop){if(typeof e.value==="undefined"){throw new Error("Value field is missed in node creation")}else if(typeof e.value!=="string"){e.value=String(e.value)}e=[new n.default(e)]}else if(e.selector){var b=t(6004);e=[new b(e)]}else if(e.name){var y=t(3917);e=[new y(e)]}else if(e.text){e=[new i.default(e)]}else{throw new Error("Unknown node type in node creation")}var g=e.map(function(e){if(e.parent)e.parent.removeChild(e);if(typeof e.raws.before==="undefined"){if(r&&typeof r.raws.before!=="undefined"){e.raws.before=r.raws.before.replace(/[^\s]/g,"")}}e.parent=o;return e});return g};_createClass(Container,[{key:"first",get:function get(){if(!this.nodes)return undefined;return this.nodes[0]}},{key:"last",get:function get(){if(!this.nodes)return undefined;return this.nodes[this.nodes.length-1]}}]);return Container}(o.default);var a=s;r.default=a;e.exports=r.default},4610:(e,r,t)=>{"use strict";r.__esModule=true;r.default=void 0;var n=_interopRequireDefault(t(6736));var i=_interopRequireDefault(t(2242));var o=_interopRequireDefault(t(1526));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _assertThisInitialized(e){if(e===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function _inheritsLoose(e,r){e.prototype=Object.create(r.prototype);e.prototype.constructor=e;e.__proto__=r}function _wrapNativeSuper(e){var r=typeof Map==="function"?new Map:undefined;_wrapNativeSuper=function _wrapNativeSuper(e){if(e===null||!_isNativeFunction(e))return e;if(typeof e!=="function"){throw new TypeError("Super expression must either be null or a function")}if(typeof r!=="undefined"){if(r.has(e))return r.get(e);r.set(e,Wrapper)}function Wrapper(){return _construct(e,arguments,_getPrototypeOf(this).constructor)}Wrapper.prototype=Object.create(e.prototype,{constructor:{value:Wrapper,enumerable:false,writable:true,configurable:true}});return _setPrototypeOf(Wrapper,e)};return _wrapNativeSuper(e)}function isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Date.prototype.toString.call(Reflect.construct(Date,[],function(){}));return true}catch(e){return false}}function _construct(e,r,t){if(isNativeReflectConstruct()){_construct=Reflect.construct}else{_construct=function _construct(e,r,t){var n=[null];n.push.apply(n,r);var i=Function.bind.apply(e,n);var o=new i;if(t)_setPrototypeOf(o,t.prototype);return o}}return _construct.apply(null,arguments)}function _isNativeFunction(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function _setPrototypeOf(e,r){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(e,r){e.__proto__=r;return e};return _setPrototypeOf(e,r)}function _getPrototypeOf(e){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(e){return e.__proto__||Object.getPrototypeOf(e)};return _getPrototypeOf(e)}var s=function(e){_inheritsLoose(CssSyntaxError,e);function CssSyntaxError(r,t,n,i,o,s){var a;a=e.call(this,r)||this;a.name="CssSyntaxError";a.reason=r;if(o){a.file=o}if(i){a.source=i}if(s){a.plugin=s}if(typeof t!=="undefined"&&typeof n!=="undefined"){a.line=t;a.column=n}a.setMessage();if(Error.captureStackTrace){Error.captureStackTrace(_assertThisInitialized(a),CssSyntaxError)}return a}var r=CssSyntaxError.prototype;r.setMessage=function setMessage(){this.message=this.plugin?this.plugin+": ":"";this.message+=this.file?this.file:"";if(typeof this.line!=="undefined"){this.message+=":"+this.line+":"+this.column}this.message+=": "+this.reason};r.showSourceCode=function showSourceCode(e){var r=this;if(!this.source)return"";var t=this.source;if(o.default){if(typeof e==="undefined")e=n.default.stdout;if(e)t=(0,o.default)(t)}var s=t.split(/\r?\n/);var a=Math.max(this.line-3,0);var u=Math.min(this.line+2,s.length);var f=String(u).length;function mark(r){if(e&&i.default.red){return i.default.red.bold(r)}return r}function aside(r){if(e&&i.default.gray){return i.default.gray(r)}return r}return s.slice(a,u).map(function(e,t){var n=a+1+t;var i=" "+(" "+n).slice(-f)+" | ";if(n===r.line){var o=aside(i.replace(/\d/g," "))+e.slice(0,r.column-1).replace(/[^\t]/g," ");return mark(">")+aside(i)+e+"\n "+o+mark("^")}return" "+aside(i)+e}).join("\n")};r.toString=function toString(){var e=this.showSourceCode();if(e){e="\n\n"+e+"\n"}return this.name+": "+this.message+e};return CssSyntaxError}(_wrapNativeSuper(Error));var a=s;r.default=a;e.exports=r.default},2095:(e,r,t)=>{"use strict";r.__esModule=true;r.default=void 0;var n=_interopRequireDefault(t(944));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,r){e.prototype=Object.create(r.prototype);e.prototype.constructor=e;e.__proto__=r}var i=function(e){_inheritsLoose(Declaration,e);function Declaration(r){var t;t=e.call(this,r)||this;t.type="decl";return t}return Declaration}(n.default);var o=i;r.default=o;e.exports=r.default},5508:(e,r,t)=>{"use strict";r.__esModule=true;r.default=void 0;var n=_interopRequireDefault(t(5622));var i=_interopRequireDefault(t(4610));var o=_interopRequireDefault(t(3487));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,r){for(var t=0;t"}if(this.map)this.map.file=this.from}var e=Input.prototype;e.error=function error(e,r,t,n){if(n===void 0){n={}}var o;var s=this.origin(r,t);if(s){o=new i.default(e,s.line,s.column,s.source,s.file,n.plugin)}else{o=new i.default(e,r,t,this.css,this.file,n.plugin)}o.input={line:r,column:t,source:this.css};if(this.file)o.input.file=this.file;return o};e.origin=function origin(e,r){if(!this.map)return false;var t=this.map.consumer();var n=t.originalPositionFor({line:e,column:r});if(!n.source)return false;var i={file:this.mapResolve(n.source),line:n.line,column:n.column};var o=t.sourceContentFor(n.source);if(o)i.source=o;return i};e.mapResolve=function mapResolve(e){if(/^\w+:\/\//.test(e)){return e}return n.default.resolve(this.map.consumer().sourceRoot||".",e)};_createClass(Input,[{key:"from",get:function get(){return this.file||this.id}}]);return Input}();var u=a;r.default=u;e.exports=r.default},2338:(e,r,t)=>{"use strict";r.__esModule=true;r.default=void 0;var n=_interopRequireDefault(t(2966));var i=_interopRequireDefault(t(1880));var o=_interopRequireDefault(t(9759));var s=_interopRequireDefault(t(3446));var a=_interopRequireDefault(t(8317));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,r){for(var t=0;tparseInt(s[1])){console.error("Unknown error from PostCSS plugin. Your current PostCSS "+"version is "+i+", but "+t+" uses "+n+". Perhaps this is the source of the error below.")}}}}catch(e){if(console&&console.error)console.error(e)}};e.asyncTick=function asyncTick(e,r){var t=this;if(this.plugin>=this.processor.plugins.length){this.processed=true;return e()}try{var n=this.processor.plugins[this.plugin];var i=this.run(n);this.plugin+=1;if(isPromise(i)){i.then(function(){t.asyncTick(e,r)}).catch(function(e){t.handleError(e,n);t.processed=true;r(e)})}else{this.asyncTick(e,r)}}catch(e){this.processed=true;r(e)}};e.async=function async(){var e=this;if(this.processed){return new Promise(function(r,t){if(e.error){t(e.error)}else{r(e.stringify())}})}if(this.processing){return this.processing}this.processing=new Promise(function(r,t){if(e.error)return t(e.error);e.plugin=0;e.asyncTick(r,t)}).then(function(){e.processed=true;return e.stringify()});return this.processing};e.sync=function sync(){if(this.processed)return this.result;this.processed=true;if(this.processing){throw new Error("Use process(css).then(cb) to work with async plugins")}if(this.error)throw this.error;for(var e=this.result.processor.plugins,r=Array.isArray(e),t=0,e=r?e:e[Symbol.iterator]();;){var n;if(r){if(t>=e.length)break;n=e[t++]}else{t=e.next();if(t.done)break;n=t.value}var i=n;var o=this.run(i);if(isPromise(o)){throw new Error("Use process(css).then(cb) to work with async plugins")}}return this.result};e.run=function run(e){this.result.lastPlugin=e;try{return e(this.result.root,this.result)}catch(r){this.handleError(r,e);throw r}};e.stringify=function stringify(){if(this.stringified)return this.result;this.stringified=true;this.sync();var e=this.result.opts;var r=i.default;if(e.syntax)r=e.syntax.stringify;if(e.stringifier)r=e.stringifier;if(r.stringify)r=r.stringify;var t=new n.default(r,this.result.root,this.result.opts);var o=t.generate();this.result.css=o[0];this.result.map=o[1];return this.result};_createClass(LazyResult,[{key:"processor",get:function get(){return this.result.processor}},{key:"opts",get:function get(){return this.result.opts}},{key:"css",get:function get(){return this.stringify().css}},{key:"content",get:function get(){return this.stringify().content}},{key:"map",get:function get(){return this.stringify().map}},{key:"root",get:function get(){return this.sync().root}},{key:"messages",get:function get(){return this.sync().messages}}]);return LazyResult}();var f=u;r.default=f;e.exports=r.default},8315:(e,r)=>{"use strict";r.__esModule=true;r.default=void 0;var t={split:function split(e,r,t){var n=[];var i="";var split=false;var o=0;var s=false;var a=false;for(var u=0;u0)o-=1}else if(o===0){if(r.indexOf(f)!==-1)split=true}if(split){if(i!=="")n.push(i.trim());i="";split=false}else{i+=f}}if(t||i!=="")n.push(i.trim());return n},space:function space(e){var r=[" ","\n","\t"];return t.split(e,r)},comma:function comma(e){return t.split(e,[","],true)}};var n=t;r.default=n;e.exports=r.default},2966:(e,r,t)=>{"use strict";r.__esModule=true;r.default=void 0;var n=_interopRequireDefault(t(6241));var i=_interopRequireDefault(t(5622));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var o=function(){function MapGenerator(e,r,t){this.stringify=e;this.mapOpts=t.map||{};this.root=r;this.opts=t}var e=MapGenerator.prototype;e.isMap=function isMap(){if(typeof this.opts.map!=="undefined"){return!!this.opts.map}return this.previous().length>0};e.previous=function previous(){var e=this;if(!this.previousMaps){this.previousMaps=[];this.root.walk(function(r){if(r.source&&r.source.input.map){var t=r.source.input.map;if(e.previousMaps.indexOf(t)===-1){e.previousMaps.push(t)}}})}return this.previousMaps};e.isInline=function isInline(){if(typeof this.mapOpts.inline!=="undefined"){return this.mapOpts.inline}var e=this.mapOpts.annotation;if(typeof e!=="undefined"&&e!==true){return false}if(this.previous().length){return this.previous().some(function(e){return e.inline})}return true};e.isSourcesContent=function isSourcesContent(){if(typeof this.mapOpts.sourcesContent!=="undefined"){return this.mapOpts.sourcesContent}if(this.previous().length){return this.previous().some(function(e){return e.withContent()})}return true};e.clearAnnotation=function clearAnnotation(){if(this.mapOpts.annotation===false)return;var e;for(var r=this.root.nodes.length-1;r>=0;r--){e=this.root.nodes[r];if(e.type!=="comment")continue;if(e.text.indexOf("# sourceMappingURL=")===0){this.root.removeChild(r)}}};e.setSourcesContent=function setSourcesContent(){var e=this;var r={};this.root.walk(function(t){if(t.source){var n=t.source.input.from;if(n&&!r[n]){r[n]=true;var i=e.relative(n);e.map.setSourceContent(i,t.source.input.css)}}})};e.applyPrevMaps=function applyPrevMaps(){for(var e=this.previous(),r=Array.isArray(e),t=0,e=r?e:e[Symbol.iterator]();;){var o;if(r){if(t>=e.length)break;o=e[t++]}else{t=e.next();if(t.done)break;o=t.value}var s=o;var a=this.relative(s.file);var u=s.root||i.default.dirname(s.file);var f=void 0;if(this.mapOpts.sourcesContent===false){f=new n.default.SourceMapConsumer(s.text);if(f.sourcesContent){f.sourcesContent=f.sourcesContent.map(function(){return null})}}else{f=s.consumer()}this.map.applySourceMap(f,a,this.relative(u))}};e.isAnnotation=function isAnnotation(){if(this.isInline()){return true}if(typeof this.mapOpts.annotation!=="undefined"){return this.mapOpts.annotation}if(this.previous().length){return this.previous().some(function(e){return e.annotation})}return true};e.toBase64=function toBase64(e){if(Buffer){return Buffer.from(e).toString("base64")}return window.btoa(unescape(encodeURIComponent(e)))};e.addAnnotation=function addAnnotation(){var e;if(this.isInline()){e="data:application/json;base64,"+this.toBase64(this.map.toString())}else if(typeof this.mapOpts.annotation==="string"){e=this.mapOpts.annotation}else{e=this.outputFile()+".map"}var r="\n";if(this.css.indexOf("\r\n")!==-1)r="\r\n";this.css+=r+"/*# sourceMappingURL="+e+" */"};e.outputFile=function outputFile(){if(this.opts.to){return this.relative(this.opts.to)}if(this.opts.from){return this.relative(this.opts.from)}return"to.css"};e.generateMap=function generateMap(){this.generateString();if(this.isSourcesContent())this.setSourcesContent();if(this.previous().length>0)this.applyPrevMaps();if(this.isAnnotation())this.addAnnotation();if(this.isInline()){return[this.css]}return[this.css,this.map]};e.relative=function relative(e){if(e.indexOf("<")===0)return e;if(/^\w+:\/\//.test(e))return e;var r=this.opts.to?i.default.dirname(this.opts.to):".";if(typeof this.mapOpts.annotation==="string"){r=i.default.dirname(i.default.resolve(r,this.mapOpts.annotation))}e=i.default.relative(r,e);if(i.default.sep==="\\"){return e.replace(/\\/g,"/")}return e};e.sourcePath=function sourcePath(e){if(this.mapOpts.from){return this.mapOpts.from}return this.relative(e.source.input.from)};e.generateString=function generateString(){var e=this;this.css="";this.map=new n.default.SourceMapGenerator({file:this.outputFile()});var r=1;var t=1;var i,o;this.stringify(this.root,function(n,s,a){e.css+=n;if(s&&a!=="end"){if(s.source&&s.source.start){e.map.addMapping({source:e.sourcePath(s),generated:{line:r,column:t-1},original:{line:s.source.start.line,column:s.source.start.column-1}})}else{e.map.addMapping({source:"",original:{line:1,column:0},generated:{line:r,column:t-1}})}}i=n.match(/\n/g);if(i){r+=i.length;o=n.lastIndexOf("\n");t=n.length-o}else{t+=n.length}if(s&&a!=="start"){var u=s.parent||{raws:{}};if(s.type!=="decl"||s!==u.last||u.raws.semicolon){if(s.source&&s.source.end){e.map.addMapping({source:e.sourcePath(s),generated:{line:r,column:t-2},original:{line:s.source.end.line,column:s.source.end.column-1}})}else{e.map.addMapping({source:"",original:{line:1,column:0},generated:{line:r,column:t-1}})}}}})};e.generate=function generate(){this.clearAnnotation();if(this.isMap()){return this.generateMap()}var e="";this.stringify(this.root,function(r){e+=r});return[e]};return MapGenerator}();var s=o;r.default=s;e.exports=r.default},944:(e,r,t)=>{"use strict";r.__esModule=true;r.default=void 0;var n=_interopRequireDefault(t(4610));var i=_interopRequireDefault(t(4224));var o=_interopRequireDefault(t(1880));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function cloneNode(e,r){var t=new e.constructor;for(var n in e){if(!e.hasOwnProperty(n))continue;var i=e[n];var o=typeof i;if(n==="parent"&&o==="object"){if(r)t[n]=r}else if(n==="source"){t[n]=i}else if(i instanceof Array){t[n]=i.map(function(e){return cloneNode(e,t)})}else{if(o==="object"&&i!==null)i=cloneNode(i);t[n]=i}}return t}var s=function(){function Node(e){if(e===void 0){e={}}this.raws={};if(process.env.NODE_ENV!=="production"){if(typeof e!=="object"&&typeof e!=="undefined"){throw new Error("PostCSS nodes constructor accepts object, not "+JSON.stringify(e))}}for(var r in e){this[r]=e[r]}}var e=Node.prototype;e.error=function error(e,r){if(r===void 0){r={}}if(this.source){var t=this.positionBy(r);return this.source.input.error(e,t.line,t.column,r)}return new n.default(e)};e.warn=function warn(e,r,t){var n={node:this};for(var i in t){n[i]=t[i]}return e.warn(r,n)};e.remove=function remove(){if(this.parent){this.parent.removeChild(this)}this.parent=undefined;return this};e.toString=function toString(e){if(e===void 0){e=o.default}if(e.stringify)e=e.stringify;var r="";e(this,function(e){r+=e});return r};e.clone=function clone(e){if(e===void 0){e={}}var r=cloneNode(this);for(var t in e){r[t]=e[t]}return r};e.cloneBefore=function cloneBefore(e){if(e===void 0){e={}}var r=this.clone(e);this.parent.insertBefore(this,r);return r};e.cloneAfter=function cloneAfter(e){if(e===void 0){e={}}var r=this.clone(e);this.parent.insertAfter(this,r);return r};e.replaceWith=function replaceWith(){if(this.parent){for(var e=arguments.length,r=new Array(e),t=0;t{"use strict";r.__esModule=true;r.default=void 0;var n=_interopRequireDefault(t(9760));var i=_interopRequireDefault(t(5508));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function parse(e,r){var t=new i.default(e,r);var o=new n.default(t);try{o.parse()}catch(e){if(process.env.NODE_ENV!=="production"){if(e.name==="CssSyntaxError"&&r&&r.from){if(/\.scss$/i.test(r.from)){e.message+="\nYou tried to parse SCSS with "+"the standard CSS parser; "+"try again with the postcss-scss parser"}else if(/\.sass/i.test(r.from)){e.message+="\nYou tried to parse Sass with "+"the standard CSS parser; "+"try again with the postcss-sass parser"}else if(/\.less$/i.test(r.from)){e.message+="\nYou tried to parse Less with "+"the standard CSS parser; "+"try again with the postcss-less parser"}}}throw e}return o.root}var o=parse;r.default=o;e.exports=r.default},9760:(e,r,t)=>{"use strict";r.__esModule=true;r.default=void 0;var n=_interopRequireDefault(t(2095));var i=_interopRequireDefault(t(918));var o=_interopRequireDefault(t(9711));var s=_interopRequireDefault(t(3917));var a=_interopRequireDefault(t(9659));var u=_interopRequireDefault(t(6004));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var f=function(){function Parser(e){this.input=e;this.root=new a.default;this.current=this.root;this.spaces="";this.semicolon=false;this.createTokenizer();this.root.source={input:e,start:{line:1,column:1}}}var e=Parser.prototype;e.createTokenizer=function createTokenizer(){this.tokenizer=(0,i.default)(this.input)};e.parse=function parse(){var e;while(!this.tokenizer.endOfFile()){e=this.tokenizer.nextToken();switch(e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}}this.endFile()};e.comment=function comment(e){var r=new o.default;this.init(r,e[2],e[3]);r.source.end={line:e[4],column:e[5]};var t=e[1].slice(2,-2);if(/^\s*$/.test(t)){r.text="";r.raws.left=t;r.raws.right=""}else{var n=t.match(/^(\s*)([^]*[^\s])(\s*)$/);r.text=n[2];r.raws.left=n[1];r.raws.right=n[3]}};e.emptyRule=function emptyRule(e){var r=new u.default;this.init(r,e[2],e[3]);r.selector="";r.raws.between="";this.current=r};e.other=function other(e){var r=false;var t=null;var n=false;var i=null;var o=[];var s=[];var a=e;while(a){t=a[0];s.push(a);if(t==="("||t==="["){if(!i)i=a;o.push(t==="("?")":"]")}else if(o.length===0){if(t===";"){if(n){this.decl(s);return}else{break}}else if(t==="{"){this.rule(s);return}else if(t==="}"){this.tokenizer.back(s.pop());r=true;break}else if(t===":"){n=true}}else if(t===o[o.length-1]){o.pop();if(o.length===0)i=null}a=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile())r=true;if(o.length>0)this.unclosedBracket(i);if(r&&n){while(s.length){a=s[s.length-1][0];if(a!=="space"&&a!=="comment")break;this.tokenizer.back(s.pop())}this.decl(s)}else{this.unknownWord(s)}};e.rule=function rule(e){e.pop();var r=new u.default;this.init(r,e[0][2],e[0][3]);r.raws.between=this.spacesAndCommentsFromEnd(e);this.raw(r,"selector",e);this.current=r};e.decl=function decl(e){var r=new n.default;this.init(r);var t=e[e.length-1];if(t[0]===";"){this.semicolon=true;e.pop()}if(t[4]){r.source.end={line:t[4],column:t[5]}}else{r.source.end={line:t[2],column:t[3]}}while(e[0][0]!=="word"){if(e.length===1)this.unknownWord(e);r.raws.before+=e.shift()[1]}r.source.start={line:e[0][2],column:e[0][3]};r.prop="";while(e.length){var i=e[0][0];if(i===":"||i==="space"||i==="comment"){break}r.prop+=e.shift()[1]}r.raws.between="";var o;while(e.length){o=e.shift();if(o[0]===":"){r.raws.between+=o[1];break}else{if(o[0]==="word"&&/\w/.test(o[1])){this.unknownWord([o])}r.raws.between+=o[1]}}if(r.prop[0]==="_"||r.prop[0]==="*"){r.raws.before+=r.prop[0];r.prop=r.prop.slice(1)}r.raws.between+=this.spacesAndCommentsFromStart(e);this.precheckMissedSemicolon(e);for(var s=e.length-1;s>0;s--){o=e[s];if(o[1].toLowerCase()==="!important"){r.important=true;var a=this.stringFrom(e,s);a=this.spacesFromEnd(e)+a;if(a!==" !important")r.raws.important=a;break}else if(o[1].toLowerCase()==="important"){var u=e.slice(0);var f="";for(var c=s;c>0;c--){var l=u[c][0];if(f.trim().indexOf("!")===0&&l!=="space"){break}f=u.pop()[1]+f}if(f.trim().indexOf("!")===0){r.important=true;r.raws.important=f;e=u}}if(o[0]!=="space"&&o[0]!=="comment"){break}}this.raw(r,"value",e);if(r.value.indexOf(":")!==-1)this.checkMissedSemicolon(e)};e.atrule=function atrule(e){var r=new s.default;r.name=e[1].slice(1);if(r.name===""){this.unnamedAtrule(r,e)}this.init(r,e[2],e[3]);var t;var n;var i=false;var o=false;var a=[];while(!this.tokenizer.endOfFile()){e=this.tokenizer.nextToken();if(e[0]===";"){r.source.end={line:e[2],column:e[3]};this.semicolon=true;break}else if(e[0]==="{"){o=true;break}else if(e[0]==="}"){if(a.length>0){n=a.length-1;t=a[n];while(t&&t[0]==="space"){t=a[--n]}if(t){r.source.end={line:t[4],column:t[5]}}}this.end(e);break}else{a.push(e)}if(this.tokenizer.endOfFile()){i=true;break}}r.raws.between=this.spacesAndCommentsFromEnd(a);if(a.length){r.raws.afterName=this.spacesAndCommentsFromStart(a);this.raw(r,"params",a);if(i){e=a[a.length-1];r.source.end={line:e[4],column:e[5]};this.spaces=r.raws.between;r.raws.between=""}}else{r.raws.afterName="";r.params=""}if(o){r.nodes=[];this.current=r}};e.end=function end(e){if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.semicolon=false;this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.spaces="";if(this.current.parent){this.current.source.end={line:e[2],column:e[3]};this.current=this.current.parent}else{this.unexpectedClose(e)}};e.endFile=function endFile(){if(this.current.parent)this.unclosedBlock();if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.current.raws.after=(this.current.raws.after||"")+this.spaces};e.freeSemicolon=function freeSemicolon(e){this.spaces+=e[1];if(this.current.nodes){var r=this.current.nodes[this.current.nodes.length-1];if(r&&r.type==="rule"&&!r.raws.ownSemicolon){r.raws.ownSemicolon=this.spaces;this.spaces=""}}};e.init=function init(e,r,t){this.current.push(e);e.source={start:{line:r,column:t},input:this.input};e.raws.before=this.spaces;this.spaces="";if(e.type!=="comment")this.semicolon=false};e.raw=function raw(e,r,t){var n,i;var o=t.length;var s="";var a=true;var u,f;var c=/^([.|#])?([\w])+/i;for(var l=0;l=0;i--){n=e[i];if(n[0]!=="space"){t+=1;if(t===2)break}}throw this.input.error("Missed semicolon",n[2],n[3])};return Parser}();r.default=f;e.exports=r.default},7802:(e,r,t)=>{"use strict";r.__esModule=true;r.default=void 0;var n=_interopRequireDefault(t(2095));var i=_interopRequireDefault(t(2065));var o=_interopRequireDefault(t(1880));var s=_interopRequireDefault(t(9711));var a=_interopRequireDefault(t(3917));var u=_interopRequireDefault(t(5870));var f=_interopRequireDefault(t(8317));var c=_interopRequireDefault(t(8315));var l=_interopRequireDefault(t(6004));var p=_interopRequireDefault(t(9659));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function postcss(){for(var e=arguments.length,r=new Array(e),t=0;t{"use strict";r.__esModule=true;r.default=void 0;var n=_interopRequireDefault(t(6241));var i=_interopRequireDefault(t(5622));var o=_interopRequireDefault(t(5747));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function fromBase64(e){if(Buffer){return Buffer.from(e,"base64").toString()}else{return window.atob(e)}}var s=function(){function PreviousMap(e,r){this.loadAnnotation(e);this.inline=this.startWith(this.annotation,"data:");var t=r.map?r.map.prev:undefined;var n=this.loadMap(r.from,t);if(n)this.text=n}var e=PreviousMap.prototype;e.consumer=function consumer(){if(!this.consumerCache){this.consumerCache=new n.default.SourceMapConsumer(this.text)}return this.consumerCache};e.withContent=function withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)};e.startWith=function startWith(e,r){if(!e)return false;return e.substr(0,r.length)===r};e.getAnnotationURL=function getAnnotationURL(e){return e.match(/\/\*\s*# sourceMappingURL=(.*)\s*\*\//)[1].trim()};e.loadAnnotation=function loadAnnotation(e){var r=e.match(/\/\*\s*# sourceMappingURL=(.*)\s*\*\//gm);if(r&&r.length>0){var t=r[r.length-1];if(t){this.annotation=this.getAnnotationURL(t)}}};e.decodeInline=function decodeInline(e){var r=/^data:application\/json;charset=utf-?8;base64,/;var t=/^data:application\/json;base64,/;var n="data:application/json,";if(this.startWith(e,n)){return decodeURIComponent(e.substr(n.length))}if(r.test(e)||t.test(e)){return fromBase64(e.substr(RegExp.lastMatch.length))}var i=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+i)};e.loadMap=function loadMap(e,r){if(r===false)return false;if(r){if(typeof r==="string"){return r}else if(typeof r==="function"){var t=r(e);if(t&&o.default.existsSync&&o.default.existsSync(t)){return o.default.readFileSync(t,"utf-8").toString().trim()}else{throw new Error("Unable to load previous source map: "+t.toString())}}else if(r instanceof n.default.SourceMapConsumer){return n.default.SourceMapGenerator.fromSourceMap(r).toString()}else if(r instanceof n.default.SourceMapGenerator){return r.toString()}else if(this.isMap(r)){return JSON.stringify(r)}else{throw new Error("Unsupported previous source map format: "+r.toString())}}else if(this.inline){return this.decodeInline(this.annotation)}else if(this.annotation){var s=this.annotation;if(e)s=i.default.join(i.default.dirname(e),s);this.root=i.default.dirname(s);if(o.default.existsSync&&o.default.existsSync(s)){return o.default.readFileSync(s,"utf-8").toString().trim()}else{return false}}};e.isMap=function isMap(e){if(typeof e!=="object")return false;return typeof e.mappings==="string"||typeof e._mappings==="string"};return PreviousMap}();var a=s;r.default=a;e.exports=r.default},2065:(e,r,t)=>{"use strict";r.__esModule=true;r.default=void 0;var n=_interopRequireDefault(t(2338));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=function(){function Processor(e){if(e===void 0){e=[]}this.version="7.0.32";this.plugins=this.normalize(e)}var e=Processor.prototype;e.use=function use(e){this.plugins=this.plugins.concat(this.normalize([e]));return this};e.process=function(e){function process(r){return e.apply(this,arguments)}process.toString=function(){return e.toString()};return process}(function(e,r){if(r===void 0){r={}}if(this.plugins.length===0&&r.parser===r.stringifier){if(process.env.NODE_ENV!=="production"){if(typeof console!=="undefined"&&console.warn){console.warn("You did not set any plugins, parser, or stringifier. "+"Right now, PostCSS does nothing. Pick plugins for your case "+"on https://www.postcss.parts/ and use them in postcss.config.js.")}}}return new n.default(this,e,r)});e.normalize=function normalize(e){var r=[];for(var t=e,n=Array.isArray(t),i=0,t=n?t:t[Symbol.iterator]();;){var o;if(n){if(i>=t.length)break;o=t[i++]}else{i=t.next();if(i.done)break;o=i.value}var s=o;if(s.postcss)s=s.postcss;if(typeof s==="object"&&Array.isArray(s.plugins)){r=r.concat(s.plugins)}else if(typeof s==="function"){r.push(s)}else if(typeof s==="object"&&(s.parse||s.stringify)){if(process.env.NODE_ENV!=="production"){throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use "+"one of the syntax/parser/stringifier options as outlined "+"in your PostCSS runner documentation.")}}else{throw new Error(s+" is not a PostCSS plugin")}}return r};return Processor}();var o=i;r.default=o;e.exports=r.default},3446:(e,r,t)=>{"use strict";r.__esModule=true;r.default=void 0;var n=_interopRequireDefault(t(9325));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,r){for(var t=0;t{"use strict";r.__esModule=true;r.default=void 0;var n=_interopRequireDefault(t(7005));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,r){e.prototype=Object.create(r.prototype);e.prototype.constructor=e;e.__proto__=r}var i=function(e){_inheritsLoose(Root,e);function Root(r){var t;t=e.call(this,r)||this;t.type="root";if(!t.nodes)t.nodes=[];return t}var r=Root.prototype;r.removeChild=function removeChild(r,t){var n=this.index(r);if(!t&&n===0&&this.nodes.length>1){this.nodes[1].raws.before=this.nodes[n].raws.before}return e.prototype.removeChild.call(this,r)};r.normalize=function normalize(r,t,n){var i=e.prototype.normalize.call(this,r);if(t){if(n==="prepend"){if(this.nodes.length>1){t.raws.before=this.nodes[1].raws.before}else{delete t.raws.before}}else if(this.first!==t){for(var o=i,s=Array.isArray(o),a=0,o=s?o:o[Symbol.iterator]();;){var u;if(s){if(a>=o.length)break;u=o[a++]}else{a=o.next();if(a.done)break;u=a.value}var f=u;f.raws.before=t.raws.before}}}return i};r.toResult=function toResult(e){if(e===void 0){e={}}var r=t(2338);var n=t(2065);var i=new r(new n,this,e);return i.stringify()};return Root}(n.default);var o=i;r.default=o;e.exports=r.default},6004:(e,r,t)=>{"use strict";r.__esModule=true;r.default=void 0;var n=_interopRequireDefault(t(7005));var i=_interopRequireDefault(t(8315));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,r){for(var t=0;t{"use strict";r.__esModule=true;r.default=void 0;var t={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:false};function capitalize(e){return e[0].toUpperCase()+e.slice(1)}var n=function(){function Stringifier(e){this.builder=e}var e=Stringifier.prototype;e.stringify=function stringify(e,r){this[e.type](e,r)};e.root=function root(e){this.body(e);if(e.raws.after)this.builder(e.raws.after)};e.comment=function comment(e){var r=this.raw(e,"left","commentLeft");var t=this.raw(e,"right","commentRight");this.builder("/*"+r+e.text+t+"*/",e)};e.decl=function decl(e,r){var t=this.raw(e,"between","colon");var n=e.prop+t+this.rawValue(e,"value");if(e.important){n+=e.raws.important||" !important"}if(r)n+=";";this.builder(n,e)};e.rule=function rule(e){this.block(e,this.rawValue(e,"selector"));if(e.raws.ownSemicolon){this.builder(e.raws.ownSemicolon,e,"end")}};e.atrule=function atrule(e,r){var t="@"+e.name;var n=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName!=="undefined"){t+=e.raws.afterName}else if(n){t+=" "}if(e.nodes){this.block(e,t+n)}else{var i=(e.raws.between||"")+(r?";":"");this.builder(t+n+i,e)}};e.body=function body(e){var r=e.nodes.length-1;while(r>0){if(e.nodes[r].type!=="comment")break;r-=1}var t=this.raw(e,"semicolon");for(var n=0;n0){if(typeof e.raws.after!=="undefined"){r=e.raws.after;if(r.indexOf("\n")!==-1){r=r.replace(/[^\n]+$/,"")}return false}}});if(r)r=r.replace(/[^\s]/g,"");return r};e.rawBeforeOpen=function rawBeforeOpen(e){var r;e.walk(function(e){if(e.type!=="decl"){r=e.raws.between;if(typeof r!=="undefined")return false}});return r};e.rawColon=function rawColon(e){var r;e.walkDecls(function(e){if(typeof e.raws.between!=="undefined"){r=e.raws.between.replace(/[^\s:]/g,"");return false}});return r};e.beforeAfter=function beforeAfter(e,r){var t;if(e.type==="decl"){t=this.raw(e,null,"beforeDecl")}else if(e.type==="comment"){t=this.raw(e,null,"beforeComment")}else if(r==="before"){t=this.raw(e,null,"beforeRule")}else{t=this.raw(e,null,"beforeClose")}var n=e.parent;var i=0;while(n&&n.type!=="root"){i+=1;n=n.parent}if(t.indexOf("\n")!==-1){var o=this.raw(e,null,"indent");if(o.length){for(var s=0;s{"use strict";r.__esModule=true;r.default=void 0;var n=_interopRequireDefault(t(4224));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function stringify(e,r){var t=new n.default(r);t.stringify(e)}var i=stringify;r.default=i;e.exports=r.default},1526:(e,r,t)=>{"use strict";r.__esModule=true;r.default=void 0;var n=_interopRequireDefault(t(2242));var i=_interopRequireDefault(t(918));var o=_interopRequireDefault(t(5508));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var s={brackets:n.default.cyan,"at-word":n.default.cyan,comment:n.default.gray,string:n.default.green,class:n.default.yellow,call:n.default.cyan,hash:n.default.magenta,"(":n.default.cyan,")":n.default.cyan,"{":n.default.yellow,"}":n.default.yellow,"[":n.default.yellow,"]":n.default.yellow,":":n.default.yellow,";":n.default.yellow};function getTokenType(e,r){var t=e[0],n=e[1];if(t==="word"){if(n[0]==="."){return"class"}if(n[0]==="#"){return"hash"}}if(!r.endOfFile()){var i=r.nextToken();r.back(i);if(i[0]==="brackets"||i[0]==="(")return"call"}return t}function terminalHighlight(e){var r=(0,i.default)(new o.default(e),{ignoreErrors:true});var t="";var n=function _loop(){var e=r.nextToken();var n=s[getTokenType(e,r)];if(n){t+=e[1].split(/\r?\n/).map(function(e){return n(e)}).join("\n")}else{t+=e[1]}};while(!r.endOfFile()){n()}return t}var a=terminalHighlight;r.default=a;e.exports=r.default},918:(e,r)=>{"use strict";r.__esModule=true;r.default=tokenizer;var t="'".charCodeAt(0);var n='"'.charCodeAt(0);var i="\\".charCodeAt(0);var o="/".charCodeAt(0);var s="\n".charCodeAt(0);var a=" ".charCodeAt(0);var u="\f".charCodeAt(0);var f="\t".charCodeAt(0);var c="\r".charCodeAt(0);var l="[".charCodeAt(0);var p="]".charCodeAt(0);var h="(".charCodeAt(0);var B=")".charCodeAt(0);var v="{".charCodeAt(0);var d="}".charCodeAt(0);var b=";".charCodeAt(0);var y="*".charCodeAt(0);var g=":".charCodeAt(0);var m="@".charCodeAt(0);var C=/[ \n\t\r\f{}()'"\\;/[\]#]/g;var w=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g;var S=/.[\\/("'\n]/;var O=/[a-f0-9]/i;function tokenizer(e,r){if(r===void 0){r={}}var T=e.css.valueOf();var E=r.ignoreErrors;var k,P,D,A,R,F,x;var j,I,M,N,_,L,q;var G=T.length;var J=-1;var U=1;var H=0;var Q=[];var K=[];function position(){return H}function unclosed(r){throw e.error("Unclosed "+r,U,H-J)}function endOfFile(){return K.length===0&&H>=G}function nextToken(e){if(K.length)return K.pop();if(H>=G)return;var r=e?e.ignoreUnclosed:false;k=T.charCodeAt(H);if(k===s||k===u||k===c&&T.charCodeAt(H+1)!==s){J=H;U+=1}switch(k){case s:case a:case f:case c:case u:P=H;do{P+=1;k=T.charCodeAt(P);if(k===s){J=P;U+=1}}while(k===a||k===s||k===f||k===c||k===u);q=["space",T.slice(H,P)];H=P-1;break;case l:case p:case v:case d:case g:case b:case B:var W=String.fromCharCode(k);q=[W,W,U,H-J];break;case h:_=Q.length?Q.pop()[1]:"";L=T.charCodeAt(H+1);if(_==="url"&&L!==t&&L!==n&&L!==a&&L!==s&&L!==f&&L!==u&&L!==c){P=H;do{M=false;P=T.indexOf(")",P+1);if(P===-1){if(E||r){P=H;break}else{unclosed("bracket")}}N=P;while(T.charCodeAt(N-1)===i){N-=1;M=!M}}while(M);q=["brackets",T.slice(H,P+1),U,H-J,U,P-J];H=P}else{P=T.indexOf(")",H+1);F=T.slice(H,P+1);if(P===-1||S.test(F)){q=["(","(",U,H-J]}else{q=["brackets",F,U,H-J,U,P-J];H=P}}break;case t:case n:D=k===t?"'":'"';P=H;do{M=false;P=T.indexOf(D,P+1);if(P===-1){if(E||r){P=H+1;break}else{unclosed("string")}}N=P;while(T.charCodeAt(N-1)===i){N-=1;M=!M}}while(M);F=T.slice(H,P+1);A=F.split("\n");R=A.length-1;if(R>0){j=U+R;I=P-A[R].length}else{j=U;I=J}q=["string",T.slice(H,P+1),U,H-J,j,P-I];J=I;U=j;H=P;break;case m:C.lastIndex=H+1;C.test(T);if(C.lastIndex===0){P=T.length-1}else{P=C.lastIndex-2}q=["at-word",T.slice(H,P+1),U,H-J,U,P-J];H=P;break;case i:P=H;x=true;while(T.charCodeAt(P+1)===i){P+=1;x=!x}k=T.charCodeAt(P+1);if(x&&k!==o&&k!==a&&k!==s&&k!==f&&k!==c&&k!==u){P+=1;if(O.test(T.charAt(P))){while(O.test(T.charAt(P+1))){P+=1}if(T.charCodeAt(P+1)===a){P+=1}}}q=["word",T.slice(H,P+1),U,H-J,U,P-J];H=P;break;default:if(k===o&&T.charCodeAt(H+1)===y){P=T.indexOf("*/",H+2)+1;if(P===0){if(E||r){P=T.length}else{unclosed("comment")}}F=T.slice(H,P+1);A=F.split("\n");R=A.length-1;if(R>0){j=U+R;I=P-A[R].length}else{j=U;I=J}q=["comment",F,U,H-J,j,P-I];J=I;U=j;H=P}else{w.lastIndex=H+1;w.test(T);if(w.lastIndex===0){P=T.length-1}else{P=w.lastIndex-2}q=["word",T.slice(H,P+1),U,H-J,U,P-J];Q.push(q);H=P}break}H++;return q}function back(e){K.push(e)}return{back:back,nextToken:nextToken,endOfFile:endOfFile,position:position}}e.exports=r.default},5870:(e,r)=>{"use strict";r.__esModule=true;r.default=void 0;var t={prefix:function prefix(e){var r=e.match(/^(-\w+-)/);if(r){return r[0]}return""},unprefixed:function unprefixed(e){return e.replace(/^-\w+-/,"")}};var n=t;r.default=n;e.exports=r.default},9759:(e,r)=>{"use strict";r.__esModule=true;r.default=warnOnce;var t={};function warnOnce(e){if(t[e])return;t[e]=true;if(typeof console!=="undefined"&&console.warn){console.warn(e)}}e.exports=r.default},9325:(e,r)=>{"use strict";r.__esModule=true;r.default=void 0;var t=function(){function Warning(e,r){if(r===void 0){r={}}this.type="warning";this.text=e;if(r.node&&r.node.source){var t=r.node.positionBy(r);this.line=t.line;this.column=t.column}for(var n in r){this[n]=r[n]}}var e=Warning.prototype;e.toString=function toString(){if(this.node){return this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message}if(this.plugin){return this.plugin+": "+this.text}return this.text};return Warning}();var n=t;r.default=n;e.exports=r.default},6736:(e,r,t)=>{"use strict";const n=t(2087);const i=t(6738);const{env:o}=process;let s;if(i("no-color")||i("no-colors")||i("color=false")||i("color=never")){s=0}else if(i("color")||i("colors")||i("color=true")||i("color=always")){s=1}if("FORCE_COLOR"in o){if(o.FORCE_COLOR===true||o.FORCE_COLOR==="true"){s=1}else if(o.FORCE_COLOR===false||o.FORCE_COLOR==="false"){s=0}else{s=o.FORCE_COLOR.length===0?1:Math.min(parseInt(o.FORCE_COLOR,10),3)}}function translateLevel(e){if(e===0){return false}return{level:e,hasBasic:true,has256:e>=2,has16m:e>=3}}function supportsColor(e){if(s===0){return 0}if(i("color=16m")||i("color=full")||i("color=truecolor")){return 3}if(i("color=256")){return 2}if(e&&!e.isTTY&&s===undefined){return 0}const r=s||0;if(o.TERM==="dumb"){return r}if(process.platform==="win32"){const e=n.release().split(".");if(Number(process.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586){return Number(e[2])>=14931?3:2}return 1}if("CI"in o){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(e=>e in o)||o.CI_NAME==="codeship"){return 1}return r}if("TEAMCITY_VERSION"in o){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION)?1:0}if(o.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in o){const e=parseInt((o.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(o.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(o.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)){return 1}if("COLORTERM"in o){return 1}return r}function getSupportLevel(e){const r=supportsColor(e);return translateLevel(r)}e.exports={supportsColor:getSupportLevel,stdout:getSupportLevel(process.stdout),stderr:getSupportLevel(process.stderr)}},6258:e=>{"use strict";function unique_pred(e,r){var t=1,n=e.length,i=e[0],o=e[0];for(var s=1;s{"use strict";e.exports=JSON.parse('[{"id":"all-property","title":"`all` Property","description":"A property for defining the reset of all properties of an element","specification":"https://www.w3.org/TR/css-cascade-3/#all-shorthand","stage":3,"caniuse":"css-all","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/all"},"example":"a {\\n all: initial;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/maximkoretskiy/postcss-initial"}]},{"id":"any-link-pseudo-class","title":"`:any-link` Hyperlink Pseudo-Class","description":"A pseudo-class for matching anchor elements independent of whether they have been visited","specification":"https://www.w3.org/TR/selectors-4/#any-link-pseudo","stage":2,"caniuse":"css-any-link","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/:any-link"},"example":"nav :any-link > span {\\n background-color: yellow;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/jonathantneal/postcss-pseudo-class-any-link"}]},{"id":"blank-pseudo-class","title":"`:blank` Empty-Value Pseudo-Class","description":"A pseudo-class for matching form elements when they are empty","specification":"https://drafts.csswg.org/selectors-4/#blank","stage":1,"example":"input:blank {\\n background-color: yellow;\\n}","polyfills":[{"type":"JavaScript Library","link":"https://github.com/csstools/css-blank-pseudo"},{"type":"PostCSS Plugin","link":"https://github.com/csstools/css-blank-pseudo"}]},{"id":"break-properties","title":"Break Properties","description":"Properties for defining the break behavior between and within boxes","specification":"https://www.w3.org/TR/css-break-3/#breaking-controls","stage":3,"caniuse":"multicolumn","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/break-after"},"example":"a {\\n break-inside: avoid;\\n break-before: avoid-column;\\n break-after: always;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/shrpne/postcss-page-break"}]},{"id":"case-insensitive-attributes","title":"Case-Insensitive Attributes","description":"An attribute selector matching attribute values case-insensitively","specification":"https://www.w3.org/TR/selectors-4/#attribute-case","stage":2,"caniuse":"css-case-insensitive","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors"},"example":"[frame=hsides i] {\\n border-style: solid none;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/Semigradsky/postcss-attribute-case-insensitive"}]},{"id":"color-adjust","title":"`color-adjust` Property","description":"The color-adjust property is a non-standard CSS extension that can be used to force printing of background colors and images","specification":"https://www.w3.org/TR/css-color-4/#color-adjust","stage":2,"caniuse":"css-color-adjust","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/color-adjust"},"example":".background {\\n background-color:#ccc;\\n}\\n.background.color-adjust {\\n color-adjust: economy;\\n}\\n.background.color-adjust-exact {\\n color-adjust: exact;\\n}"},{"id":"color-functional-notation","title":"Color Functional Notation","description":"A space and slash separated notation for specifying colors","specification":"https://drafts.csswg.org/css-color/#ref-for-funcdef-rgb%E2%91%A1%E2%91%A0","stage":1,"example":"em {\\n background-color: hsl(120deg 100% 25%);\\n box-shadow: 0 0 0 10px hwb(120deg 100% 25% / 80%);\\n color: rgb(0 255 0);\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/jonathantneal/postcss-color-functional-notation"}]},{"id":"color-mod-function","title":"`color-mod()` Function","description":"A function for modifying colors","specification":"https://www.w3.org/TR/css-color-4/#funcdef-color-mod","stage":-1,"example":"p {\\n color: color-mod(black alpha(50%));\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/jonathantneal/postcss-color-mod-function"}]},{"id":"custom-media-queries","title":"Custom Media Queries","description":"An at-rule for defining aliases that represent media queries","specification":"https://drafts.csswg.org/mediaqueries-5/#at-ruledef-custom-media","stage":1,"example":"@custom-media --narrow-window (max-width: 30em);\\n\\n@media (--narrow-window) {}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/postcss/postcss-custom-media"}]},{"id":"custom-properties","title":"Custom Properties","description":"A syntax for defining custom values accepted by all CSS properties","specification":"https://www.w3.org/TR/css-variables-1/","stage":3,"caniuse":"css-variables","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/var"},"example":"img {\\n --some-length: 32px;\\n\\n height: var(--some-length);\\n width: var(--some-length);\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/postcss/postcss-custom-properties"}]},{"id":"custom-property-sets","title":"Custom Property Sets","description":"A syntax for storing properties in named variables, referenceable in other style rules","specification":"https://tabatkins.github.io/specs/css-apply-rule/","stage":-1,"caniuse":"css-apply-rule","example":"img {\\n --some-length-styles: {\\n height: 32px;\\n width: 32px;\\n };\\n\\n @apply --some-length-styles;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/pascalduez/postcss-apply"}]},{"id":"custom-selectors","title":"Custom Selectors","description":"An at-rule for defining aliases that represent selectors","specification":"https://drafts.csswg.org/css-extensions/#custom-selectors","stage":1,"example":"@custom-selector :--heading h1, h2, h3, h4, h5, h6;\\n\\narticle :--heading + p {}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/postcss/postcss-custom-selectors"}]},{"id":"dir-pseudo-class","title":"`:dir` Directionality Pseudo-Class","description":"A pseudo-class for matching elements based on their directionality","specification":"https://www.w3.org/TR/selectors-4/#dir-pseudo","stage":2,"caniuse":"css-dir-pseudo","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/:dir"},"example":"blockquote:dir(rtl) {\\n margin-right: 10px;\\n}\\n\\nblockquote:dir(ltr) {\\n margin-left: 10px;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/jonathantneal/postcss-dir-pseudo-class"}]},{"id":"double-position-gradients","title":"Double Position Gradients","description":"A syntax for using two positions in a gradient.","specification":"https://www.w3.org/TR/css-images-4/#color-stop-syntax","stage":2,"caniuse-compat":{"and_chr":{"71":"y"},"chrome":{"71":"y"}},"example":".pie_chart {\\n background-image: conic-gradient(yellowgreen 40%, gold 0deg 75%, #f06 0deg);\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/jonathantneal/postcss-double-position-gradients"}]},{"id":"environment-variables","title":"Custom Environment Variables","description":"A syntax for using custom values accepted by CSS globally","specification":"https://drafts.csswg.org/css-env-1/","stage":0,"caniuse-compat":{"and_chr":{"69":"y"},"chrome":{"69":"y"},"ios_saf":{"11.2":"y"},"safari":{"11.2":"y"}},"docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/env"},"example":"@media (max-width: env(--brand-small)) {\\n body {\\n padding: env(--brand-spacing);\\n }\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/jonathantneal/postcss-env-function"}]},{"id":"focus-visible-pseudo-class","title":"`:focus-visible` Focus-Indicated Pseudo-Class","description":"A pseudo-class for matching focused elements that indicate that focus to a user","specification":"https://www.w3.org/TR/selectors-4/#focus-visible-pseudo","stage":2,"caniuse":"css-focus-visible","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible"},"example":":focus:not(:focus-visible) {\\n outline: 0;\\n}","polyfills":[{"type":"JavaScript Library","link":"https://github.com/WICG/focus-visible"},{"type":"PostCSS Plugin","link":"https://github.com/jonathantneal/postcss-focus-visible"}]},{"id":"focus-within-pseudo-class","title":"`:focus-within` Focus Container Pseudo-Class","description":"A pseudo-class for matching elements that are either focused or that have focused descendants","specification":"https://www.w3.org/TR/selectors-4/#focus-within-pseudo","stage":2,"caniuse":"css-focus-within","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-within"},"example":"form:focus-within {\\n background: rgba(0, 0, 0, 0.3);\\n}","polyfills":[{"type":"JavaScript Library","link":"https://github.com/jonathantneal/focus-within"},{"type":"PostCSS Plugin","link":"https://github.com/jonathantneal/postcss-focus-within"}]},{"id":"font-variant-property","title":"`font-variant` Property","description":"A property for defining the usage of alternate glyphs in a font","specification":"https://www.w3.org/TR/css-fonts-3/#propdef-font-variant","stage":3,"caniuse":"font-variant-alternates","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant"},"example":"h2 {\\n font-variant: small-caps;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/postcss/postcss-font-variant"}]},{"id":"gap-properties","title":"Gap Properties","description":"Properties for defining gutters within a layout","specification":"https://www.w3.org/TR/css-grid-1/#gutters","stage":3,"caniuse-compat":{"chrome":{"66":"y"},"edge":{"16":"y"},"firefox":{"61":"y"},"safari":{"11.2":"y","TP":"y"}},"docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/gap"},"example":".grid-1 {\\n gap: 20px;\\n}\\n\\n.grid-2 {\\n column-gap: 40px;\\n row-gap: 20px;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/jonathantneal/postcss-gap-properties"}]},{"id":"gray-function","title":"`gray()` Function","description":"A function for specifying fully desaturated colors","specification":"https://www.w3.org/TR/css-color-4/#funcdef-gray","stage":2,"example":"p {\\n color: gray(50);\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/postcss/postcss-color-gray"}]},{"id":"grid-layout","title":"Grid Layout","description":"A syntax for using a grid concept to lay out content","specification":"https://www.w3.org/TR/css-grid-1/","stage":3,"caniuse":"css-grid","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/grid"},"example":"section {\\n display: grid;\\n grid-template-columns: 100px 100px 100px;\\n grid-gap: 10px;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/postcss/autoprefixer"}]},{"id":"has-pseudo-class","title":"`:has()` Relational Pseudo-Class","description":"A pseudo-class for matching ancestor and sibling elements","specification":"https://www.w3.org/TR/selectors-4/#has-pseudo","stage":2,"caniuse":"css-has","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/:has"},"example":"a:has(> img) {\\n display: block;\\n}","polyfills":[{"type":"JavaScript Library","link":"https://github.com/csstools/css-has-pseudo"},{"type":"PostCSS Plugin","link":"https://github.com/csstools/css-has-pseudo"}]},{"id":"hexadecimal-alpha-notation","title":"Hexadecimal Alpha Notation","description":"A 4 & 8 character hex color notation for specifying the opacity level","specification":"https://www.w3.org/TR/css-color-4/#hex-notation","stage":2,"caniuse":"css-rrggbbaa","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Syntax_2"},"example":"section {\\n background-color: #f3f3f3f3;\\n color: #0003;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/postcss/postcss-color-hex-alpha"}]},{"id":"hwb-function","title":"`hwb()` Function","description":"A function for specifying colors by hue and then a degree of whiteness and blackness to mix into it","specification":"https://www.w3.org/TR/css-color-4/#funcdef-hwb","stage":2,"example":"p {\\n color: hwb(120 44% 50%);\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/postcss/postcss-color-hwb"}]},{"id":"image-set-function","title":"`image-set()` Function","description":"A function for specifying image sources based on the user’s resolution","specification":"https://www.w3.org/TR/css-images-4/#image-set-notation","stage":2,"caniuse":"css-image-set","example":"p {\\n background-image: image-set(\\n \\"foo.png\\" 1x,\\n \\"foo-2x.png\\" 2x,\\n \\"foo-print.png\\" 600dpi\\n );\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/jonathantneal/postcss-image-set-function"}]},{"id":"in-out-of-range-pseudo-class","title":"`:in-range` and `:out-of-range` Pseudo-Classes","description":"A pseudo-class for matching elements that have range limitations","specification":"https://www.w3.org/TR/selectors-4/#range-pseudos","stage":2,"caniuse":"css-in-out-of-range","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/:in-range"},"example":"input:in-range {\\n background-color: rgba(0, 255, 0, 0.25);\\n}\\ninput:out-of-range {\\n background-color: rgba(255, 0, 0, 0.25);\\n border: 2px solid red;\\n}"},{"id":"lab-function","title":"`lab()` Function","description":"A function for specifying colors expressed in the CIE Lab color space","specification":"https://www.w3.org/TR/css-color-4/#funcdef-lab","stage":2,"example":"body {\\n color: lab(240 50 20);\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/jonathantneal/postcss-lab-function"}]},{"id":"lch-function","title":"`lch()` Function","description":"A function for specifying colors expressed in the CIE Lab color space with chroma and hue","specification":"https://www.w3.org/TR/css-color-4/#funcdef-lch","stage":2,"example":"body {\\n color: lch(53 105 40);\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/jonathantneal/postcss-lab-function"}]},{"id":"logical-properties-and-values","title":"Logical Properties and Values","description":"Flow-relative (left-to-right or right-to-left) properties and values","specification":"https://www.w3.org/TR/css-logical-1/","stage":2,"caniuse":"css-logical-props","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties"},"example":"span:first-child {\\n float: inline-start;\\n margin-inline-start: 10px;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/jonathantneal/postcss-logical-properties"}]},{"id":"matches-pseudo-class","title":"`:matches()` Matches-Any Pseudo-Class","description":"A pseudo-class for matching elements in a selector list","specification":"https://www.w3.org/TR/selectors-4/#matches-pseudo","stage":2,"caniuse":"css-matches-pseudo","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/:matches"},"example":"p:matches(:first-child, .special) {\\n margin-top: 1em;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/postcss/postcss-selector-matches"}]},{"id":"media-query-ranges","title":"Media Query Ranges","description":"A syntax for defining media query ranges using ordinary comparison operators","specification":"https://www.w3.org/TR/mediaqueries-4/#range-context","stage":3,"docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Using_media_queries#Syntax_improvements_in_Level_4"},"example":"@media (width < 480px) {}\\n\\n@media (480px <= width < 768px) {}\\n\\n@media (width >= 768px) {}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/postcss/postcss-media-minmax"}]},{"id":"nesting-rules","title":"Nesting Rules","description":"A syntax for nesting relative rules within rules","specification":"https://drafts.csswg.org/css-nesting-1/","stage":1,"example":"article {\\n & p {\\n color: #333;\\n }\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/jonathantneal/postcss-nesting"}]},{"id":"not-pseudo-class","title":"`:not()` Negation List Pseudo-Class","description":"A pseudo-class for ignoring elements in a selector list","specification":"https://www.w3.org/TR/selectors-4/#negation-pseudo","stage":2,"caniuse":"css-not-sel-list","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/:not"},"example":"p:not(:first-child, .special) {\\n margin-top: 1em;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/postcss/postcss-selector-not"}]},{"id":"overflow-property","title":"`overflow` Shorthand Property","description":"A property for defining `overflow-x` and `overflow-y`","specification":"https://www.w3.org/TR/css-overflow-3/#propdef-overflow","stage":2,"caniuse":"css-overflow","caniuse-compat":{"and_chr":{"68":"y"},"and_ff":{"61":"y"},"chrome":{"68":"y"},"firefox":{"61":"y"}},"docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/overflow"},"example":"html {\\n overflow: hidden auto;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/jonathantneal/postcss-overflow-shorthand"}]},{"id":"overflow-wrap-property","title":"`overflow-wrap` Property","description":"A property for defining whether to insert line breaks within words to prevent overflowing","specification":"https://www.w3.org/TR/css-text-3/#overflow-wrap-property","stage":2,"caniuse":"wordwrap","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-wrap"},"example":"p {\\n overflow-wrap: break-word;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/mattdimu/postcss-replace-overflow-wrap"}]},{"id":"overscroll-behavior-property","title":"`overscroll-behavior` Property","description":"Properties for controlling when the scroll position of a scroll container reaches the edge of a scrollport","specification":"https://drafts.csswg.org/css-overscroll-behavior","stage":1,"caniuse":"css-overscroll-behavior","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/overscroll-behavior"},"example":".messages {\\n height: 220px;\\n overflow: auto;\\n overscroll-behavior-y: contain;\\n}\\n\\nbody {\\n margin: 0;\\n overscroll-behavior: none;\\n}"},{"id":"place-properties","title":"Place Properties","description":"Properties for defining alignment within a layout","specification":"https://www.w3.org/TR/css-align-3/#place-items-property","stage":2,"caniuse-compat":{"chrome":{"59":"y"},"firefox":{"45":"y"}},"docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/place-content"},"example":".example {\\n place-content: flex-end;\\n place-items: center / space-between;\\n place-self: flex-start / center;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/jonathantneal/postcss-place"}]},{"id":"prefers-color-scheme-query","title":"`prefers-color-scheme` Media Query","description":"A media query to detect if the user has requested the system use a light or dark color theme","specification":"https://drafts.csswg.org/mediaqueries-5/#prefers-color-scheme","stage":1,"caniuse":"prefers-color-scheme","caniuse-compat":{"ios_saf":{"12.1":"y"},"safari":{"12.1":"y"}},"example":"body {\\n background-color: white;\\n color: black;\\n}\\n\\n@media (prefers-color-scheme: dark) {\\n body {\\n background-color: black;\\n color: white;\\n }\\n}","polyfills":[{"type":"JavaScript Library","link":"https://github.com/csstools/css-prefers-color-scheme"},{"type":"PostCSS Plugin","link":"https://github.com/csstools/css-prefers-color-scheme"}]},{"id":"prefers-reduced-motion-query","title":"`prefers-reduced-motion` Media Query","description":"A media query to detect if the user has requested less animation and general motion on the page","specification":"https://drafts.csswg.org/mediaqueries-5/#prefers-reduced-motion","stage":1,"caniuse":"prefers-reduced-motion","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion"},"example":".animation {\\n animation: vibrate 0.3s linear infinite both; \\n}\\n\\n@media (prefers-reduced-motion: reduce) {\\n .animation {\\n animation: none;\\n }\\n}"},{"id":"read-only-write-pseudo-class","title":"`:read-only` and `:read-write` selectors","description":"Pseudo-classes to match elements which are considered user-alterable","specification":"https://www.w3.org/TR/selectors-4/#rw-pseudos","stage":2,"caniuse":"css-read-only-write","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/:read-only"},"example":"input:read-only {\\n background-color: #ccc;\\n}"},{"id":"rebeccapurple-color","title":"`rebeccapurple` Color","description":"A particularly lovely shade of purple in memory of Rebecca Alison Meyer","specification":"https://www.w3.org/TR/css-color-4/#valdef-color-rebeccapurple","stage":2,"caniuse":"css-rebeccapurple","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/color_value"},"example":"html {\\n color: rebeccapurple;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/postcss/postcss-color-rebeccapurple"}]},{"id":"system-ui-font-family","title":"`system-ui` Font Family","description":"A generic font used to match the user’s interface","specification":"https://www.w3.org/TR/css-fonts-4/#system-ui-def","stage":2,"caniuse":"font-family-system-ui","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/font-family#Syntax"},"example":"body {\\n font-family: system-ui;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/JLHwung/postcss-font-family-system-ui"}]},{"id":"when-else-rules","title":"When/Else Rules","description":"At-rules for specifying media queries and support queries in a single grammar","specification":"https://tabatkins.github.io/specs/css-when-else/","stage":0,"example":"@when media(width >= 640px) and (supports(display: flex) or supports(display: grid)) {\\n /* A */\\n} @else media(pointer: coarse) {\\n /* B */\\n} @else {\\n /* C */\\n}"},{"id":"where-pseudo-class","title":"`:where()` Zero-Specificity Pseudo-Class","description":"A pseudo-class for matching elements in a selector list without contributing specificity","specification":"https://drafts.csswg.org/selectors-4/#where-pseudo","stage":1,"example":"a:where(:not(:hover)) {\\n text-decoration: none;\\n}"}]')},9614:e=>{"use strict";e.exports=JSON.parse('[{"prop":"animation","initial":"${animation-name} ${animation-duration} ${animation-timing-function} ${animation-delay} ${animation-iteration-count} ${animation-direction} ${animation-fill-mode} ${animation-play-state}","combined":true},{"prop":"animation-delay","initial":"0s"},{"prop":"animation-direction","initial":"normal"},{"prop":"animation-duration","initial":"0s"},{"prop":"animation-fill-mode","initial":"none"},{"prop":"animation-iteration-count","initial":"1"},{"prop":"animation-name","initial":"none"},{"prop":"animation-play-state","initial":"running"},{"prop":"animation-timing-function","initial":"ease"},{"prop":"backface-visibility","initial":"visible","basic":true},{"prop":"background","initial":"${background-color} ${background-image} ${background-repeat} ${background-position} / ${background-size} ${background-origin} ${background-clip} ${background-attachment}","combined":true},{"prop":"background-attachment","initial":"scroll"},{"prop":"background-clip","initial":"border-box"},{"prop":"background-color","initial":"transparent"},{"prop":"background-image","initial":"none"},{"prop":"background-origin","initial":"padding-box"},{"prop":"background-position","initial":"0 0"},{"prop":"background-position-x","initial":"0"},{"prop":"background-position-y","initial":"0"},{"prop":"background-repeat","initial":"repeat"},{"prop":"background-size","initial":"auto auto"},{"prop":"border","initial":"${border-width} ${border-style} ${border-color}","combined":true},{"prop":"border-style","initial":"none"},{"prop":"border-width","initial":"medium"},{"prop":"border-color","initial":"currentColor"},{"prop":"border-bottom","initial":"0"},{"prop":"border-bottom-color","initial":"currentColor"},{"prop":"border-bottom-left-radius","initial":"0"},{"prop":"border-bottom-right-radius","initial":"0"},{"prop":"border-bottom-style","initial":"none"},{"prop":"border-bottom-width","initial":"medium"},{"prop":"border-collapse","initial":"separate","basic":true,"inherited":true},{"prop":"border-image","initial":"none","basic":true},{"prop":"border-left","initial":"0"},{"prop":"border-left-color","initial":"currentColor"},{"prop":"border-left-style","initial":"none"},{"prop":"border-left-width","initial":"medium"},{"prop":"border-radius","initial":"0","basic":true},{"prop":"border-right","initial":"0"},{"prop":"border-right-color","initial":"currentColor"},{"prop":"border-right-style","initial":"none"},{"prop":"border-right-width","initial":"medium"},{"prop":"border-spacing","initial":"0","basic":true,"inherited":true},{"prop":"border-top","initial":"0"},{"prop":"border-top-color","initial":"currentColor"},{"prop":"border-top-left-radius","initial":"0"},{"prop":"border-top-right-radius","initial":"0"},{"prop":"border-top-style","initial":"none"},{"prop":"border-top-width","initial":"medium"},{"prop":"bottom","initial":"auto","basic":true},{"prop":"box-shadow","initial":"none","basic":true},{"prop":"box-sizing","initial":"content-box","basic":true},{"prop":"caption-side","initial":"top","basic":true,"inherited":true},{"prop":"clear","initial":"none","basic":true},{"prop":"clip","initial":"auto","basic":true},{"prop":"color","initial":"#000","basic":true},{"prop":"columns","initial":"auto","basic":true},{"prop":"column-count","initial":"auto","basic":true},{"prop":"column-fill","initial":"balance","basic":true},{"prop":"column-gap","initial":"normal","basic":true},{"prop":"column-rule","initial":"${column-rule-width} ${column-rule-style} ${column-rule-color}","combined":true},{"prop":"column-rule-color","initial":"currentColor"},{"prop":"column-rule-style","initial":"none"},{"prop":"column-rule-width","initial":"medium"},{"prop":"column-span","initial":"1","basic":true},{"prop":"column-width","initial":"auto","basic":true},{"prop":"content","initial":"normal","basic":true},{"prop":"counter-increment","initial":"none","basic":true},{"prop":"counter-reset","initial":"none","basic":true},{"prop":"cursor","initial":"auto","basic":true,"inherited":true},{"prop":"direction","initial":"ltr","basic":true,"inherited":true},{"prop":"display","initial":"inline","basic":true},{"prop":"empty-cells","initial":"show","basic":true,"inherited":true},{"prop":"float","initial":"none","basic":true},{"prop":"font","contains":["font-style","font-variant","font-weight","font-stretch","font-size","line-height","font-family"],"basic":true,"inherited":true},{"prop":"font-family","initial":"serif"},{"prop":"font-size","initial":"medium"},{"prop":"font-style","initial":"normal"},{"prop":"font-variant","initial":"normal"},{"prop":"font-weight","initial":"normal"},{"prop":"font-stretch","initial":"normal"},{"prop":"line-height","initial":"normal","inherited":true},{"prop":"height","initial":"auto","basic":true},{"prop":"hyphens","initial":"none","basic":true,"inherited":true},{"prop":"left","initial":"auto","basic":true},{"prop":"letter-spacing","initial":"normal","basic":true,"inherited":true},{"prop":"list-style","initial":"${list-style-type} ${list-style-position} ${list-style-image}","combined":true,"inherited":true},{"prop":"list-style-image","initial":"none"},{"prop":"list-style-position","initial":"outside"},{"prop":"list-style-type","initial":"disc"},{"prop":"margin","initial":"0","basic":true},{"prop":"margin-bottom","initial":"0"},{"prop":"margin-left","initial":"0"},{"prop":"margin-right","initial":"0"},{"prop":"margin-top","initial":"0"},{"prop":"max-height","initial":"none","basic":true},{"prop":"max-width","initial":"none","basic":true},{"prop":"min-height","initial":"0","basic":true},{"prop":"min-width","initial":"0","basic":true},{"prop":"opacity","initial":"1","basic":true},{"prop":"orphans","initial":"2","basic":true},{"prop":"outline","initial":"${outline-width} ${outline-style} ${outline-color}","combined":true},{"prop":"outline-color","initial":"invert"},{"prop":"outline-style","initial":"none"},{"prop":"outline-width","initial":"medium"},{"prop":"overflow","initial":"visible","basic":true},{"prop":"overflow-x","initial":"visible","basic":true},{"prop":"overflow-y","initial":"visible","basic":true},{"prop":"padding","initial":"0","basic":true},{"prop":"padding-bottom","initial":"0"},{"prop":"padding-left","initial":"0"},{"prop":"padding-right","initial":"0"},{"prop":"padding-top","initial":"0"},{"prop":"page-break-after","initial":"auto","basic":true},{"prop":"page-break-before","initial":"auto","basic":true},{"prop":"page-break-inside","initial":"auto","basic":true},{"prop":"perspective","initial":"none","basic":true},{"prop":"perspective-origin","initial":"50% 50%","basic":true},{"prop":"position","initial":"static","basic":true},{"prop":"quotes","initial":"“ ” ‘ ’"},{"prop":"right","initial":"auto","basic":true},{"prop":"tab-size","initial":"8","basic":true,"inherited":true},{"prop":"table-layout","initial":"auto","basic":true},{"prop":"text-align","initial":"left","basic":true,"inherited":true},{"prop":"text-align-last","initial":"auto","basic":true,"inherited":true},{"prop":"text-decoration","initial":"${text-decoration-line}","combined":true},{"prop":"text-decoration-color","initial":"inherited"},{"prop":"text-decoration-color","initial":"currentColor"},{"prop":"text-decoration-line","initial":"none"},{"prop":"text-decoration-style","initial":"solid"},{"prop":"text-indent","initial":"0","basic":true,"inherited":true},{"prop":"text-shadow","initial":"none","basic":true,"inherited":true},{"prop":"text-transform","initial":"none","basic":true,"inherited":true},{"prop":"top","initial":"auto","basic":true},{"prop":"transform","initial":"none","basic":true},{"prop":"transform-origin","initial":"50% 50% 0","basic":true},{"prop":"transform-style","initial":"flat","basic":true},{"prop":"transition","initial":"${transition-property} ${transition-duration} ${transition-timing-function} ${transition-delay}","combined":true},{"prop":"transition-delay","initial":"0s"},{"prop":"transition-duration","initial":"0s"},{"prop":"transition-property","initial":"none"},{"prop":"transition-timing-function","initial":"ease"},{"prop":"unicode-bidi","initial":"normal","basic":true},{"prop":"vertical-align","initial":"baseline","basic":true},{"prop":"visibility","initial":"visible","basic":true,"inherited":true},{"prop":"white-space","initial":"normal","basic":true,"inherited":true},{"prop":"widows","initial":"2","basic":true,"inherited":true},{"prop":"width","initial":"auto","basic":true},{"prop":"word-spacing","initial":"normal","basic":true,"inherited":true},{"prop":"z-index","initial":"auto","basic":true}]')},3561:e=>{"use strict";e.exports=require("browserslist")},4338:e=>{"use strict";e.exports=require("caniuse-lite")},2242:e=>{"use strict";e.exports=require("chalk")},5747:e=>{"use strict";e.exports=require("fs")},6241:e=>{"use strict";e.exports=require("next/dist/compiled/source-map")},2087:e=>{"use strict";e.exports=require("os")},5622:e=>{"use strict";e.exports=require("path")},1669:e=>{"use strict";e.exports=require("util")}};var r={};function __webpack_require__(t){if(r[t]){return r[t].exports}var n=r[t]={id:t,loaded:false,exports:{}};var i=true;try{e[t](n,n.exports,__webpack_require__);i=false}finally{if(i)delete r[t]}n.loaded=true;return n.exports}(()=>{__webpack_require__.nmd=(e=>{e.paths=[];if(!e.children)e.children=[];return e})})();__webpack_require__.ab=__dirname+"/";return __webpack_require__(469)})(); \ No newline at end of file +module.exports=(()=>{var e={7306:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});function rgb2hue(e,r,t){var n=arguments.length>3&&arguments[3]!==undefined?arguments[3]:0;var i=rgb2value(e,r,t);var o=rgb2whiteness(e,r,t);var s=i-o;if(s){var a=i===e?(r-t)/s:i===r?(t-e)/s:(e-r)/s;var u=i===e?a<0?360/60:0/60:i===r?120/60:240/60;var c=(a+u)*60;return c}else{return n}}function hue2rgb(e,r,t){var n=t<0?t+360:t>360?t-360:t;var i=n*6<360?e+(r-e)*n/60:n*2<360?r:n*3<720?e+(r-e)*(240-n)/60:e;return i}function rgb2value(e,r,t){var n=Math.max(e,r,t);return n}function rgb2whiteness(e,r,t){var n=Math.min(e,r,t);return n}function matrix(e,r){return r.map(function(r){return r.reduce(function(r,t,n){return r+e[n]*t},0)})}var t=96.42;var n=100;var i=82.49;var o=Math.pow(6,3)/Math.pow(29,3);var s=Math.pow(29,3)/Math.pow(3,3);function rgb2hsl(e,r,t,n){var i=rgb2hue(e,r,t,n);var o=rgb2value(e,r,t);var s=rgb2whiteness(e,r,t);var a=o-s;var u=(o+s)/2;var c=a===0?0:a/(100-Math.abs(2*u-100))*100;return[i,c,u]}function hsl2rgb(e,r,t){var n=t<=50?t*(r+100)/100:t+r-t*r/100;var i=t*2-n;var o=[hue2rgb(i,n,e+120),hue2rgb(i,n,e),hue2rgb(i,n,e-120)],s=o[0],a=o[1],u=o[2];return[s,a,u]}var a=function(){function sliceIterator(e,r){var t=[];var n=true;var i=false;var o=undefined;try{for(var s=e[Symbol.iterator](),a;!(n=(a=s.next()).done);n=true){t.push(a.value);if(r&&t.length===r)break}}catch(e){i=true;o=e}finally{try{if(!n&&s["return"])s["return"]()}finally{if(i)throw o}}return t}return function(e,r){if(Array.isArray(e)){return e}else if(Symbol.iterator in Object(e)){return sliceIterator(e,r)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();function rgb2hwb(e,r,t,n){var i=rgb2hue(e,r,t,n);var o=rgb2whiteness(e,r,t);var s=rgb2value(e,r,t);var a=100-s;return[i,o,a]}function hwb2rgb(e,r,t,n){var i=hsl2rgb(e,100,50,n).map(function(e){return e*(100-r-t)/100+r}),o=a(i,3),s=o[0],u=o[1],c=o[2];return[s,u,c]}var u=function(){function sliceIterator(e,r){var t=[];var n=true;var i=false;var o=undefined;try{for(var s=e[Symbol.iterator](),a;!(n=(a=s.next()).done);n=true){t.push(a.value);if(r&&t.length===r)break}}catch(e){i=true;o=e}finally{try{if(!n&&s["return"])s["return"]()}finally{if(i)throw o}}return t}return function(e,r){if(Array.isArray(e)){return e}else if(Symbol.iterator in Object(e)){return sliceIterator(e,r)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();function rgb2hsv(e,r,t,n){var i=rgb2value(e,r,t);var o=rgb2whiteness(e,r,t);var s=rgb2hue(e,r,t,n);var a=i===o?0:(i-o)/i*100;return[s,a,i]}function hsv2rgb(e,r,t){var n=Math.floor(e/60);var i=e/60-n&1?e/60-n:1-e/60-n;var o=t*(100-r)/100;var s=t*(100-r*i)/100;var a=n===5?[t,o,s]:n===4?[s,o,t]:n===3?[o,s,t]:n===2?[o,t,s]:n===1?[s,t,o]:[t,s,o],c=u(a,3),f=c[0],l=c[1],p=c[2];return[f,l,p]}var c=function(){function sliceIterator(e,r){var t=[];var n=true;var i=false;var o=undefined;try{for(var s=e[Symbol.iterator](),a;!(n=(a=s.next()).done);n=true){t.push(a.value);if(r&&t.length===r)break}}catch(e){i=true;o=e}finally{try{if(!n&&s["return"])s["return"]()}finally{if(i)throw o}}return t}return function(e,r){if(Array.isArray(e)){return e}else if(Symbol.iterator in Object(e)){return sliceIterator(e,r)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();function rgb2xyz(e,r,t){var n=[e,r,t].map(function(e){return e>4.045?Math.pow((e+5.5)/105.5,2.4)*100:e/12.92}),i=c(n,3),o=i[0],s=i[1],a=i[2];var u=matrix([o,s,a],[[.4124564,.3575761,.1804375],[.2126729,.7151522,.072175],[.0193339,.119192,.9503041]]),f=c(u,3),l=f[0],p=f[1],h=f[2];return[l,p,h]}function xyz2rgb(e,r,t){var n=matrix([e,r,t],[[3.2404542,-1.5371385,-.4985314],[-.969266,1.8760108,.041556],[.0556434,-.2040259,1.0572252]]),i=c(n,3),o=i[0],s=i[1],a=i[2];var u=[o,s,a].map(function(e){return e>.31308?1.055*Math.pow(e/100,1/2.4)*100-5.5:12.92*e}),f=c(u,3),l=f[0],p=f[1],h=f[2];return[l,p,h]}function hsl2hsv(e,r,t){var n=r*(t<50?t:100-t)/100;var i=n===0?0:2*n/(t+n)*100;var o=t+n;return[e,i,o]}function hsv2hsl(e,r,t){var n=(200-r)*t/100;var i=n===0||n===200?0:r*t/100/(n<=100?n:200-n)*100,o=n*5/10;return[e,i,o]}function hwb2hsv(e,r,t){var n=e,i=t===100?0:100-r/(100-t)*100,o=100-t;return[n,i,o]}function hsv2hwb(e,r,t){var n=e,i=(100-r)*t/100,o=100-t;return[n,i,o]}var f=function(){function sliceIterator(e,r){var t=[];var n=true;var i=false;var o=undefined;try{for(var s=e[Symbol.iterator](),a;!(n=(a=s.next()).done);n=true){t.push(a.value);if(r&&t.length===r)break}}catch(e){i=true;o=e}finally{try{if(!n&&s["return"])s["return"]()}finally{if(i)throw o}}return t}return function(e,r){if(Array.isArray(e)){return e}else if(Symbol.iterator in Object(e)){return sliceIterator(e,r)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();function lab2xyz(e,r,a){var u=(e+16)/116;var c=r/500+u;var l=u-a/200;var p=Math.pow(c,3)>o?Math.pow(c,3):(116*c-16)/s,h=e>s*o?Math.pow((e+16)/116,3):e/s,B=Math.pow(l,3)>o?Math.pow(l,3):(116*l-16)/s;var v=matrix([p*t,h*n,B*i],[[.9555766,-.0230393,.0631636],[-.0282895,1.0099416,.0210077],[.0122982,-.020483,1.3299098]]),d=f(v,3),b=d[0],y=d[1],g=d[2];return[b,y,g]}function xyz2lab(e,r,a){var u=matrix([e,r,a],[[1.0478112,.0228866,-.050127],[.0295424,.9904844,-.0170491],[-.0092345,.0150436,.7521316]]),c=f(u,3),l=c[0],p=c[1],h=c[2];var B=[l/t,p/n,h/i].map(function(e){return e>o?Math.cbrt(e):(s*e+16)/116}),v=f(B,3),d=v[0],b=v[1],y=v[2];var g=116*b-16,m=500*(d-b),C=200*(b-y);return[g,m,C]}function lab2lch(e,r,t){var n=[Math.sqrt(Math.pow(r,2)+Math.pow(t,2)),Math.atan2(t,r)*180/Math.PI],i=n[0],o=n[1];return[e,i,o]}function lch2lab(e,r,t){var n=r*Math.cos(t*Math.PI/180),i=r*Math.sin(t*Math.PI/180);return[e,n,i]}var l=function(){function sliceIterator(e,r){var t=[];var n=true;var i=false;var o=undefined;try{for(var s=e[Symbol.iterator](),a;!(n=(a=s.next()).done);n=true){t.push(a.value);if(r&&t.length===r)break}}catch(e){i=true;o=e}finally{try{if(!n&&s["return"])s["return"]()}finally{if(i)throw o}}return t}return function(e,r){if(Array.isArray(e)){return e}else if(Symbol.iterator in Object(e)){return sliceIterator(e,r)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();function rgb2lab(e,r,t){var n=rgb2xyz(e,r,t),i=l(n,3),o=i[0],s=i[1],a=i[2];var u=xyz2lab(o,s,a),c=l(u,3),f=c[0],p=c[1],h=c[2];return[f,p,h]}function lab2rgb(e,r,t){var n=lab2xyz(e,r,t),i=l(n,3),o=i[0],s=i[1],a=i[2];var u=xyz2rgb(o,s,a),c=l(u,3),f=c[0],p=c[1],h=c[2];return[f,p,h]}function rgb2lch(e,r,t){var n=rgb2xyz(e,r,t),i=l(n,3),o=i[0],s=i[1],a=i[2];var u=xyz2lab(o,s,a),c=l(u,3),f=c[0],p=c[1],h=c[2];var B=lab2lch(f,p,h),v=l(B,3),d=v[0],b=v[1],y=v[2];return[d,b,y]}function lch2rgb(e,r,t){var n=lch2lab(e,r,t),i=l(n,3),o=i[0],s=i[1],a=i[2];var u=lab2xyz(o,s,a),c=l(u,3),f=c[0],p=c[1],h=c[2];var B=xyz2rgb(f,p,h),v=l(B,3),d=v[0],b=v[1],y=v[2];return[d,b,y]}function hwb2hsl(e,r,t){var n=hwb2hsv(e,r,t),i=l(n,3),o=i[0],s=i[1],a=i[2];var u=hsv2hsl(o,s,a),c=l(u,3),f=c[0],p=c[1],h=c[2];return[f,p,h]}function hsl2hwb(e,r,t){var n=hsl2hsv(e,r,t),i=l(n,3),o=i[1],s=i[2];var a=hsv2hwb(e,o,s),u=l(a,3),c=u[1],f=u[2];return[e,c,f]}function hsl2lab(e,r,t){var n=hsl2rgb(e,r,t),i=l(n,3),o=i[0],s=i[1],a=i[2];var u=rgb2xyz(o,s,a),c=l(u,3),f=c[0],p=c[1],h=c[2];var B=xyz2lab(f,p,h),v=l(B,3),d=v[0],b=v[1],y=v[2];return[d,b,y]}function lab2hsl(e,r,t,n){var i=lab2xyz(e,r,t),o=l(i,3),s=o[0],a=o[1],u=o[2];var c=xyz2rgb(s,a,u),f=l(c,3),p=f[0],h=f[1],B=f[2];var v=rgb2hsl(p,h,B,n),d=l(v,3),b=d[0],y=d[1],g=d[2];return[b,y,g]}function hsl2lch(e,r,t){var n=hsl2rgb(e,r,t),i=l(n,3),o=i[0],s=i[1],a=i[2];var u=rgb2xyz(o,s,a),c=l(u,3),f=c[0],p=c[1],h=c[2];var B=xyz2lab(f,p,h),v=l(B,3),d=v[0],b=v[1],y=v[2];var g=lab2lch(d,b,y),m=l(g,3),C=m[0],w=m[1],S=m[2];return[C,w,S]}function lch2hsl(e,r,t,n){var i=lch2lab(e,r,t),o=l(i,3),s=o[0],a=o[1],u=o[2];var c=lab2xyz(s,a,u),f=l(c,3),p=f[0],h=f[1],B=f[2];var v=xyz2rgb(p,h,B),d=l(v,3),b=d[0],y=d[1],g=d[2];var m=rgb2hsl(b,y,g,n),C=l(m,3),w=C[0],S=C[1],T=C[2];return[w,S,T]}function hsl2xyz(e,r,t){var n=hsl2rgb(e,r,t),i=l(n,3),o=i[0],s=i[1],a=i[2];var u=rgb2xyz(o,s,a),c=l(u,3),f=c[0],p=c[1],h=c[2];return[f,p,h]}function xyz2hsl(e,r,t,n){var i=xyz2rgb(e,r,t),o=l(i,3),s=o[0],a=o[1],u=o[2];var c=rgb2hsl(s,a,u,n),f=l(c,3),p=f[0],h=f[1],B=f[2];return[p,h,B]}function hwb2lab(e,r,t){var n=hwb2rgb(e,r,t),i=l(n,3),o=i[0],s=i[1],a=i[2];var u=rgb2xyz(o,s,a),c=l(u,3),f=c[0],p=c[1],h=c[2];var B=xyz2lab(f,p,h),v=l(B,3),d=v[0],b=v[1],y=v[2];return[d,b,y]}function lab2hwb(e,r,t,n){var i=lab2xyz(e,r,t),o=l(i,3),s=o[0],a=o[1],u=o[2];var c=xyz2rgb(s,a,u),f=l(c,3),p=f[0],h=f[1],B=f[2];var v=rgb2hwb(p,h,B,n),d=l(v,3),b=d[0],y=d[1],g=d[2];return[b,y,g]}function hwb2lch(e,r,t){var n=hwb2rgb(e,r,t),i=l(n,3),o=i[0],s=i[1],a=i[2];var u=rgb2xyz(o,s,a),c=l(u,3),f=c[0],p=c[1],h=c[2];var B=xyz2lab(f,p,h),v=l(B,3),d=v[0],b=v[1],y=v[2];var g=lab2lch(d,b,y),m=l(g,3),C=m[0],w=m[1],S=m[2];return[C,w,S]}function lch2hwb(e,r,t,n){var i=lch2lab(e,r,t),o=l(i,3),s=o[0],a=o[1],u=o[2];var c=lab2xyz(s,a,u),f=l(c,3),p=f[0],h=f[1],B=f[2];var v=xyz2rgb(p,h,B),d=l(v,3),b=d[0],y=d[1],g=d[2];var m=rgb2hwb(b,y,g,n),C=l(m,3),w=C[0],S=C[1],T=C[2];return[w,S,T]}function hwb2xyz(e,r,t){var n=hwb2rgb(e,r,t),i=l(n,3),o=i[0],s=i[1],a=i[2];var u=rgb2xyz(o,s,a),c=l(u,3),f=c[0],p=c[1],h=c[2];return[f,p,h]}function xyz2hwb(e,r,t,n){var i=xyz2rgb(e,r,t),o=l(i,3),s=o[0],a=o[1],u=o[2];var c=rgb2hwb(s,a,u,n),f=l(c,3),p=f[0],h=f[1],B=f[2];return[p,h,B]}function hsv2lab(e,r,t){var n=hsv2rgb(e,r,t),i=l(n,3),o=i[0],s=i[1],a=i[2];var u=rgb2xyz(o,s,a),c=l(u,3),f=c[0],p=c[1],h=c[2];var B=xyz2lab(f,p,h),v=l(B,3),d=v[0],b=v[1],y=v[2];return[d,b,y]}function lab2hsv(e,r,t,n){var i=lab2xyz(e,r,t),o=l(i,3),s=o[0],a=o[1],u=o[2];var c=xyz2rgb(s,a,u),f=l(c,3),p=f[0],h=f[1],B=f[2];var v=rgb2hsv(p,h,B,n),d=l(v,3),b=d[0],y=d[1],g=d[2];return[b,y,g]}function hsv2lch(e,r,t){var n=hsv2rgb(e,r,t),i=l(n,3),o=i[0],s=i[1],a=i[2];var u=rgb2xyz(o,s,a),c=l(u,3),f=c[0],p=c[1],h=c[2];var B=xyz2lab(f,p,h),v=l(B,3),d=v[0],b=v[1],y=v[2];var g=lab2lch(d,b,y),m=l(g,3),C=m[0],w=m[1],S=m[2];return[C,w,S]}function lch2hsv(e,r,t,n){var i=lch2lab(e,r,t),o=l(i,3),s=o[0],a=o[1],u=o[2];var c=lab2xyz(s,a,u),f=l(c,3),p=f[0],h=f[1],B=f[2];var v=xyz2rgb(p,h,B),d=l(v,3),b=d[0],y=d[1],g=d[2];var m=rgb2hsv(b,y,g,n),C=l(m,3),w=C[0],S=C[1],T=C[2];return[w,S,T]}function hsv2xyz(e,r,t){var n=hsv2rgb(e,r,t),i=l(n,3),o=i[0],s=i[1],a=i[2];var u=rgb2xyz(o,s,a),c=l(u,3),f=c[0],p=c[1],h=c[2];return[f,p,h]}function xyz2hsv(e,r,t,n){var i=xyz2rgb(e,r,t),o=l(i,3),s=o[0],a=o[1],u=o[2];var c=rgb2hsv(s,a,u,n),f=l(c,3),p=f[0],h=f[1],B=f[2];return[p,h,B]}function xyz2lch(e,r,t){var n=xyz2lab(e,r,t),i=l(n,3),o=i[0],s=i[1],a=i[2];var u=lab2lch(o,s,a),c=l(u,3),f=c[0],p=c[1],h=c[2];return[f,p,h]}function lch2xyz(e,r,t){var n=lch2lab(e,r,t),i=l(n,3),o=i[0],s=i[1],a=i[2];var u=lab2xyz(o,s,a),c=l(u,3),f=c[0],p=c[1],h=c[2];return[f,p,h]}var p={rgb2hsl:rgb2hsl,rgb2hwb:rgb2hwb,rgb2lab:rgb2lab,rgb2lch:rgb2lch,rgb2hsv:rgb2hsv,rgb2xyz:rgb2xyz,hsl2rgb:hsl2rgb,hsl2hwb:hsl2hwb,hsl2lab:hsl2lab,hsl2lch:hsl2lch,hsl2hsv:hsl2hsv,hsl2xyz:hsl2xyz,hwb2rgb:hwb2rgb,hwb2hsl:hwb2hsl,hwb2lab:hwb2lab,hwb2lch:hwb2lch,hwb2hsv:hwb2hsv,hwb2xyz:hwb2xyz,lab2rgb:lab2rgb,lab2hsl:lab2hsl,lab2hwb:lab2hwb,lab2lch:lab2lch,lab2hsv:lab2hsv,lab2xyz:lab2xyz,lch2rgb:lch2rgb,lch2hsl:lch2hsl,lch2hwb:lch2hwb,lch2lab:lch2lab,lch2hsv:lch2hsv,lch2xyz:lch2xyz,hsv2rgb:hsv2rgb,hsv2hsl:hsv2hsl,hsv2hwb:hsv2hwb,hsv2lab:hsv2lab,hsv2lch:hsv2lch,hsv2xyz:hsv2xyz,xyz2rgb:xyz2rgb,xyz2hsl:xyz2hsl,xyz2hwb:xyz2hwb,xyz2lab:xyz2lab,xyz2lch:xyz2lch,xyz2hsv:xyz2hsv,rgb2hue:rgb2hue};r.rgb2hsl=rgb2hsl;r.rgb2hwb=rgb2hwb;r.rgb2lab=rgb2lab;r.rgb2lch=rgb2lch;r.rgb2hsv=rgb2hsv;r.rgb2xyz=rgb2xyz;r.hsl2rgb=hsl2rgb;r.hsl2hwb=hsl2hwb;r.hsl2lab=hsl2lab;r.hsl2lch=hsl2lch;r.hsl2hsv=hsl2hsv;r.hsl2xyz=hsl2xyz;r.hwb2rgb=hwb2rgb;r.hwb2hsl=hwb2hsl;r.hwb2lab=hwb2lab;r.hwb2lch=hwb2lch;r.hwb2hsv=hwb2hsv;r.hwb2xyz=hwb2xyz;r.lab2rgb=lab2rgb;r.lab2hsl=lab2hsl;r.lab2hwb=lab2hwb;r.lab2lch=lab2lch;r.lab2hsv=lab2hsv;r.lab2xyz=lab2xyz;r.lch2rgb=lch2rgb;r.lch2hsl=lch2hsl;r.lch2hwb=lch2hwb;r.lch2lab=lch2lab;r.lch2hsv=lch2hsv;r.lch2xyz=lch2xyz;r.hsv2rgb=hsv2rgb;r.hsv2hsl=hsv2hsl;r.hsv2hwb=hsv2hwb;r.hsv2lab=hsv2lab;r.hsv2lch=hsv2lch;r.hsv2xyz=hsv2xyz;r.xyz2rgb=xyz2rgb;r.xyz2hsl=xyz2hsl;r.xyz2hwb=xyz2hwb;r.xyz2lab=xyz2lab;r.xyz2lch=xyz2lch;r.xyz2hsv=xyz2hsv;r.rgb2hue=rgb2hue;r.default=p},8950:(e,r,t)=>{"use strict";var n=t(4338).feature;function browsersSort(e,r){e=e.split(" ");r=r.split(" ");if(e[0]>r[0]){return 1}else if(e[0]=t.length)break;s=t[o++]}else{o=t.next();if(o.done)break;s=o.value}var a=s;i[a]=Object.assign({},r)}}function add(e,r){for(var t=e,n=Array.isArray(t),o=0,t=n?t:t[Symbol.iterator]();;){var s;if(n){if(o>=t.length)break;s=t[o++]}else{o=t.next();if(o.done)break;s=o.value}var a=s;i[a].browsers=i[a].browsers.concat(r.browsers).sort(browsersSort)}}e.exports=i;f(t(5111),function(e){return prefix(["border-radius","border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius"],{mistakes:["-khtml-","-ms-","-o-"],feature:"border-radius",browsers:e})});f(t(7368),function(e){return prefix(["box-shadow"],{mistakes:["-khtml-"],feature:"css-boxshadow",browsers:e})});f(t(4243),function(e){return prefix(["animation","animation-name","animation-duration","animation-delay","animation-direction","animation-fill-mode","animation-iteration-count","animation-play-state","animation-timing-function","@keyframes"],{mistakes:["-khtml-","-ms-"],feature:"css-animation",browsers:e})});f(t(3409),function(e){return prefix(["transition","transition-property","transition-duration","transition-delay","transition-timing-function"],{mistakes:["-khtml-","-ms-"],browsers:e,feature:"css-transitions"})});f(t(9357),function(e){return prefix(["transform","transform-origin"],{feature:"transforms2d",browsers:e})});var o=t(5165);f(o,function(e){prefix(["perspective","perspective-origin"],{feature:"transforms3d",browsers:e});return prefix(["transform-style"],{mistakes:["-ms-","-o-"],browsers:e,feature:"transforms3d"})});f(o,{match:/y\sx|y\s#2/},function(e){return prefix(["backface-visibility"],{mistakes:["-ms-","-o-"],feature:"transforms3d",browsers:e})});var s=t(8615);f(s,{match:/y\sx/},function(e){return prefix(["linear-gradient","repeating-linear-gradient","radial-gradient","repeating-radial-gradient"],{props:["background","background-image","border-image","mask","list-style","list-style-image","content","mask-image"],mistakes:["-ms-"],feature:"css-gradients",browsers:e})});f(s,{match:/a\sx/},function(e){e=e.map(function(e){if(/firefox|op/.test(e)){return e}else{return e+" old"}});return add(["linear-gradient","repeating-linear-gradient","radial-gradient","repeating-radial-gradient"],{feature:"css-gradients",browsers:e})});f(t(3568),function(e){return prefix(["box-sizing"],{feature:"css3-boxsizing",browsers:e})});f(t(184),function(e){return prefix(["filter"],{feature:"css-filters",browsers:e})});f(t(8587),function(e){return prefix(["filter-function"],{props:["background","background-image","border-image","mask","list-style","list-style-image","content","mask-image"],feature:"css-filter-function",browsers:e})});var a=t(3330);f(a,{match:/y\sx|y\s#2/},function(e){return prefix(["backdrop-filter"],{feature:"css-backdrop-filter",browsers:e})});f(t(5113),function(e){return prefix(["element"],{props:["background","background-image","border-image","mask","list-style","list-style-image","content","mask-image"],feature:"css-element-function",browsers:e})});f(t(9086),function(e){prefix(["columns","column-width","column-gap","column-rule","column-rule-color","column-rule-width","column-count","column-rule-style","column-span","column-fill"],{feature:"multicolumn",browsers:e});var r=e.filter(function(e){return!/firefox/.test(e)});prefix(["break-before","break-after","break-inside"],{feature:"multicolumn",browsers:r})});f(t(2312),function(e){return prefix(["user-select"],{mistakes:["-khtml-"],feature:"user-select-none",browsers:e})});var u=t(6296);f(u,{match:/a\sx/},function(e){e=e.map(function(e){if(/ie|firefox/.test(e)){return e}else{return e+" 2009"}});prefix(["display-flex","inline-flex"],{props:["display"],feature:"flexbox",browsers:e});prefix(["flex","flex-grow","flex-shrink","flex-basis"],{feature:"flexbox",browsers:e});prefix(["flex-direction","flex-wrap","flex-flow","justify-content","order","align-items","align-self","align-content"],{feature:"flexbox",browsers:e})});f(u,{match:/y\sx/},function(e){add(["display-flex","inline-flex"],{feature:"flexbox",browsers:e});add(["flex","flex-grow","flex-shrink","flex-basis"],{feature:"flexbox",browsers:e});add(["flex-direction","flex-wrap","flex-flow","justify-content","order","align-items","align-self","align-content"],{feature:"flexbox",browsers:e})});f(t(9900),function(e){return prefix(["calc"],{props:["*"],feature:"calc",browsers:e})});f(t(5364),function(e){return prefix(["background-origin","background-size"],{feature:"background-img-opts",browsers:e})});f(t(7542),function(e){return prefix(["background-clip"],{feature:"background-clip-text",browsers:e})});f(t(3519),function(e){return prefix(["font-feature-settings","font-variant-ligatures","font-language-override"],{feature:"font-feature",browsers:e})});f(t(9573),function(e){return prefix(["font-kerning"],{feature:"font-kerning",browsers:e})});f(t(8846),function(e){return prefix(["border-image"],{feature:"border-image",browsers:e})});f(t(9335),function(e){return prefix(["::selection"],{selector:true,feature:"css-selection",browsers:e})});f(t(8814),function(e){prefix(["::placeholder"],{selector:true,feature:"css-placeholder",browsers:e.concat(["ie 10 old","ie 11 old","firefox 18 old"])})});f(t(562),function(e){return prefix(["hyphens"],{feature:"css-hyphens",browsers:e})});var c=t(6626);f(c,function(e){return prefix([":fullscreen"],{selector:true,feature:"fullscreen",browsers:e})});f(c,{match:/x(\s#2|$)/},function(e){return prefix(["::backdrop"],{selector:true,feature:"fullscreen",browsers:e})});f(t(6340),function(e){return prefix(["tab-size"],{feature:"css3-tabsize",browsers:e})});var l=t(5736);var p=["width","min-width","max-width","height","min-height","max-height","inline-size","min-inline-size","max-inline-size","block-size","min-block-size","max-block-size","grid","grid-template","grid-template-rows","grid-template-columns","grid-auto-columns","grid-auto-rows"];f(l,function(e){return prefix(["max-content","min-content"],{props:p,feature:"intrinsic-width",browsers:e})});f(l,{match:/x|\s#4/},function(e){return prefix(["fill","fill-available","stretch"],{props:p,feature:"intrinsic-width",browsers:e})});f(l,{match:/x|\s#5/},function(e){return prefix(["fit-content"],{props:p,feature:"intrinsic-width",browsers:e})});f(t(7294),function(e){return prefix(["zoom-in","zoom-out"],{props:["cursor"],feature:"css3-cursors-newer",browsers:e})});f(t(4968),function(e){return prefix(["grab","grabbing"],{props:["cursor"],feature:"css3-cursors-grab",browsers:e})});f(t(72),function(e){return prefix(["sticky"],{props:["position"],feature:"css-sticky",browsers:e})});f(t(4480),function(e){return prefix(["touch-action"],{feature:"pointer",browsers:e})});var h=t(7150);f(h,function(e){return prefix(["text-decoration-style","text-decoration-color","text-decoration-line","text-decoration"],{feature:"text-decoration",browsers:e})});f(h,{match:/x.*#[235]/},function(e){return prefix(["text-decoration-skip","text-decoration-skip-ink"],{feature:"text-decoration",browsers:e})});f(t(3251),function(e){return prefix(["text-size-adjust"],{feature:"text-size-adjust",browsers:e})});f(t(1905),function(e){prefix(["mask-clip","mask-composite","mask-image","mask-origin","mask-repeat","mask-border-repeat","mask-border-source"],{feature:"css-masks",browsers:e});prefix(["mask","mask-position","mask-size","mask-border","mask-border-outset","mask-border-width","mask-border-slice"],{feature:"css-masks",browsers:e})});f(t(2584),function(e){return prefix(["clip-path"],{feature:"css-clip-path",browsers:e})});f(t(941),function(e){return prefix(["box-decoration-break"],{feature:"css-boxdecorationbreak",browsers:e})});f(t(6904),function(e){return prefix(["object-fit","object-position"],{feature:"object-fit",browsers:e})});f(t(9471),function(e){return prefix(["shape-margin","shape-outside","shape-image-threshold"],{feature:"css-shapes",browsers:e})});f(t(3613),function(e){return prefix(["text-overflow"],{feature:"text-overflow",browsers:e})});f(t(1222),function(e){return prefix(["@viewport"],{feature:"css-deviceadaptation",browsers:e})});var B=t(4482);f(B,{match:/( x($| )|a #2)/},function(e){return prefix(["@resolution"],{feature:"css-media-resolution",browsers:e})});f(t(2250),function(e){return prefix(["text-align-last"],{feature:"css-text-align-last",browsers:e})});var v=t(4828);f(v,{match:/y x|a x #1/},function(e){return prefix(["pixelated"],{props:["image-rendering"],feature:"css-crisp-edges",browsers:e})});f(v,{match:/a x #2/},function(e){return prefix(["image-rendering"],{feature:"css-crisp-edges",browsers:e})});var d=t(6341);f(d,function(e){return prefix(["border-inline-start","border-inline-end","margin-inline-start","margin-inline-end","padding-inline-start","padding-inline-end"],{feature:"css-logical-props",browsers:e})});f(d,{match:/x\s#2/},function(e){return prefix(["border-block-start","border-block-end","margin-block-start","margin-block-end","padding-block-start","padding-block-end"],{feature:"css-logical-props",browsers:e})});var b=t(497);f(b,{match:/#2|x/},function(e){return prefix(["appearance"],{feature:"css-appearance",browsers:e})});f(t(2782),function(e){return prefix(["scroll-snap-type","scroll-snap-coordinate","scroll-snap-destination","scroll-snap-points-x","scroll-snap-points-y"],{feature:"css-snappoints",browsers:e})});f(t(9373),function(e){return prefix(["flow-into","flow-from","region-fragment"],{feature:"css-regions",browsers:e})});f(t(8913),function(e){return prefix(["image-set"],{props:["background","background-image","border-image","cursor","mask","mask-image","list-style","list-style-image","content"],feature:"css-image-set",browsers:e})});var y=t(3726);f(y,{match:/a|x/},function(e){return prefix(["writing-mode"],{feature:"css-writing-mode",browsers:e})});f(t(9089),function(e){return prefix(["cross-fade"],{props:["background","background-image","border-image","mask","list-style","list-style-image","content","mask-image"],feature:"css-cross-fade",browsers:e})});f(t(6541),function(e){return prefix([":read-only",":read-write"],{selector:true,feature:"css-read-only-write",browsers:e})});f(t(1082),function(e){return prefix(["text-emphasis","text-emphasis-position","text-emphasis-style","text-emphasis-color"],{feature:"text-emphasis",browsers:e})});var g=t(8490);f(g,function(e){prefix(["display-grid","inline-grid"],{props:["display"],feature:"css-grid",browsers:e});prefix(["grid-template-columns","grid-template-rows","grid-row-start","grid-column-start","grid-row-end","grid-column-end","grid-row","grid-column","grid-area","grid-template","grid-template-areas","place-self"],{feature:"css-grid",browsers:e})});f(g,{match:/a x/},function(e){return prefix(["grid-column-align","grid-row-align"],{feature:"css-grid",browsers:e})});f(t(9971),function(e){return prefix(["text-spacing"],{feature:"css-text-spacing",browsers:e})});f(t(8203),function(e){return prefix([":any-link"],{selector:true,feature:"css-any-link",browsers:e})});var m=t(517);f(m,function(e){return prefix(["isolate"],{props:["unicode-bidi"],feature:"css-unicode-bidi",browsers:e})});f(m,{match:/y x|a x #2/},function(e){return prefix(["plaintext"],{props:["unicode-bidi"],feature:"css-unicode-bidi",browsers:e})});f(m,{match:/y x/},function(e){return prefix(["isolate-override"],{props:["unicode-bidi"],feature:"css-unicode-bidi",browsers:e})});var C=t(4422);f(C,{match:/a #1/},function(e){return prefix(["overscroll-behavior"],{feature:"css-overscroll-behavior",browsers:e})});f(t(3662),function(e){return prefix(["color-adjust"],{feature:"css-color-adjust",browsers:e})});f(t(5340),function(e){return prefix(["text-orientation"],{feature:"css-text-orientation",browsers:e})})},9949:(e,r,t)=>{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n=t.length)break;o=t[i++]}else{i=t.next();if(i.done)break;o=i.value}var s=o;if(!r||r===s){this.add(e,s)}}};return AtRule}(n);e.exports=i},9945:(e,r,t)=>{"use strict";var n=t(3561);var i=t(2043);var o=t(4338).agents;var s=t(2242);var a=t(2200);var u=t(8774);var c=t(8950);var f=t(4393);var l="\n"+" Replace Autoprefixer `browsers` option to Browserslist config.\n"+" Use `browserslist` key in `package.json` or `.browserslistrc` file.\n"+"\n"+" Using `browsers` option can cause errors. Browserslist config \n"+" can be used for Babel, Autoprefixer, postcss-normalize and other tools.\n"+"\n"+" If you really need to use option, rename it to `overrideBrowserslist`.\n"+"\n"+" Learn more at:\n"+" https://github.com/browserslist/browserslist#readme\n"+" https://twitter.com/browserslist\n"+"\n";function isPlainObject(e){return Object.prototype.toString.apply(e)==="[object Object]"}var p={};function timeCapsule(e,r){if(r.browsers.selected.length===0){return}if(r.add.selectors.length>0){return}if(Object.keys(r.add).length>2){return}e.warn("Greetings, time traveller. "+"We are in the golden age of prefix-less CSS, "+"where Autoprefixer is no longer needed for your stylesheet.")}e.exports=i.plugin("autoprefixer",function(){for(var r=arguments.length,t=new Array(r),n=0;n{"use strict";function last(e){return e[e.length-1]}var r={parse:function parse(e){var r=[""];var t=[r];for(var n=e,i=Array.isArray(n),o=0,n=i?n:n[Symbol.iterator]();;){var s;if(i){if(o>=n.length)break;s=n[o++]}else{o=n.next();if(o.done)break;s=o.value}var a=s;if(a==="("){r=[""];last(t).push(r);t.push(r);continue}if(a===")"){t.pop();r=last(t);r.push("");continue}r[r.length-1]+=a}return t[0]},stringify:function stringify(e){var t="";for(var n=e,i=Array.isArray(n),o=0,n=i?n:n[Symbol.iterator]();;){var s;if(i){if(o>=n.length)break;s=n[o++]}else{o=n.next();if(o.done)break;s=o.value}var a=s;if(typeof a==="object"){t+="("+r.stringify(a)+")";continue}t+=a}return t}};e.exports=r},2200:(e,r,t)=>{"use strict";var n=t(3561);var i=t(4338).agents;var o=t(3020);var s=function(){Browsers.prefixes=function prefixes(){if(this.prefixesCache){return this.prefixesCache}this.prefixesCache=[];for(var e in i){this.prefixesCache.push("-"+i[e].prefix+"-")}this.prefixesCache=o.uniq(this.prefixesCache).sort(function(e,r){return r.length-e.length});return this.prefixesCache};Browsers.withPrefix=function withPrefix(e){if(!this.prefixesRegexp){this.prefixesRegexp=new RegExp(this.prefixes().join("|"))}return this.prefixesRegexp.test(e)};function Browsers(e,r,t,n){this.data=e;this.options=t||{};this.browserslistOpts=n||{};this.selected=this.parse(r)}var e=Browsers.prototype;e.parse=function parse(e){var r={};for(var t in this.browserslistOpts){r[t]=this.browserslistOpts[t]}r.path=this.options.from;r.env=this.options.env;return n(e,r)};e.prefix=function prefix(e){var r=e.split(" "),t=r[0],n=r[1];var i=this.data[t];var prefix=i.prefix_exceptions&&i.prefix_exceptions[n];if(!prefix){prefix=i.prefix}return"-"+prefix+"-"};e.isSelected=function isSelected(e){return this.selected.includes(e)};return Browsers}();e.exports=s},8802:(e,r,t)=>{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n=t.length)break;s=t[o++]}else{o=t.next();if(o.done)break;s=o.value}var a=s;if(a===r){continue}if(e.includes(a)){return true}}return false};r.set=function set(e,r){e.prop=this.prefixed(e.prop,r);return e};r.needCascade=function needCascade(e){if(!e._autoprefixerCascade){e._autoprefixerCascade=this.all.options.cascade!==false&&e.raw("before").includes("\n")}return e._autoprefixerCascade};r.maxPrefixed=function maxPrefixed(e,r){if(r._autoprefixerMax){return r._autoprefixerMax}var t=0;for(var n=e,i=Array.isArray(n),s=0,n=i?n:n[Symbol.iterator]();;){var a;if(i){if(s>=n.length)break;a=n[s++]}else{s=n.next();if(s.done)break;a=s.value}var u=a;u=o.removeNote(u);if(u.length>t){t=u.length}}r._autoprefixerMax=t;return r._autoprefixerMax};r.calcBefore=function calcBefore(e,r,t){if(t===void 0){t=""}var n=this.maxPrefixed(e,r);var i=n-o.removeNote(t).length;var s=r.raw("before");if(i>0){s+=Array(i).fill(" ").join("")}return s};r.restoreBefore=function restoreBefore(e){var r=e.raw("before").split("\n");var t=r[r.length-1];this.all.group(e).up(function(e){var r=e.raw("before").split("\n");var n=r[r.length-1];if(n.length{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";e.exports=function(e){var r;if(e==="-webkit- 2009"||e==="-moz-"){r=2009}else if(e==="-ms-"){r=2012}else if(e==="-webkit-"){r="final"}if(e==="-webkit- 2009"){e="-webkit-"}return[r,e]}},5302:(e,r,t)=>{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n=i.length)break;a=i[s++]}else{s=i.next();if(s.done)break;a=s.value}var u=a;if(u.type==="function"&&u.value===this.name){u.nodes=this.newDirection(u.nodes);u.nodes=this.normalize(u.nodes);if(r==="-webkit- old"){var c=this.oldWebkit(u);if(!c){return false}}else{u.nodes=this.convertDirection(u.nodes);u.value=r+u.value}}}return t.toString()};r.replaceFirst=function replaceFirst(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n=t.length)break;o=t[i++]}else{i=t.next();if(i.done)break;o=i.value}var s=o;if(r==="before"&&s.type==="space"){r="at"}else if(r==="at"&&s.value==="at"){r="after"}else if(r==="after"&&s.type==="space"){return true}else if(s.type==="div"){break}else{r="before"}}return false};r.convertDirection=function convertDirection(e){if(e.length>0){if(e[0].value==="to"){this.fixDirection(e)}else if(e[0].value.includes("deg")){this.fixAngle(e)}else if(this.isRadial(e)){this.fixRadial(e)}}return e};r.fixDirection=function fixDirection(e){e.splice(0,2);for(var r=e,t=Array.isArray(r),n=0,r=t?r:r[Symbol.iterator]();;){var i;if(t){if(n>=r.length)break;i=r[n++]}else{n=r.next();if(n.done)break;i=n.value}var o=i;if(o.type==="div"){break}if(o.type==="word"){o.value=this.revertDirection(o.value)}}};r.fixAngle=function fixAngle(e){var r=e[0].value;r=parseFloat(r);r=Math.abs(450-r)%360;r=this.roundFloat(r,3);e[0].value=r+"deg"};r.fixRadial=function fixRadial(e){var r=[];var t=[];var n,i,o,s,a;for(s=0;s=o.length)break;u=o[a++]}else{a=o.next();if(a.done)break;u=a.value}var c=u;i[i.length-1].push(c);if(c.type==="div"&&c.value===","){i.push([])}}this.oldDirection(i);this.colorStops(i);e.nodes=[];for(var f=0,l=i;f=n.length)break;s=n[o++]}else{o=n.next();if(o.done)break;s=o.value}var a=s;if(a.type==="word"){t.push(a.value.toLowerCase())}}t=t.join(" ");var u=this.oldDirections[t]||t;e[0]=[{type:"word",value:u},r];return e[0]}};r.cloneDiv=function cloneDiv(e){for(var r=e,t=Array.isArray(r),n=0,r=t?r:r[Symbol.iterator]();;){var i;if(t){if(n>=r.length)break;i=r[n++]}else{n=r.next();if(n.done)break;i=n.value}var o=i;if(o.type==="div"&&o.value===","){return o}}return{type:"div",value:",",after:" "}};r.colorStops=function colorStops(e){var r=[];for(var t=0;t{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n1){r.cloneBefore({prop:"-ms-grid-rows",value:u({value:"repeat("+d.length+", auto)",gap:v.row}),raws:{}})}f({gap:v,hasColumns:p,decl:r,result:i});var b=o({rows:d,gap:v});s(b,r,i);return r};return GridTemplateAreas}(n);_defineProperty(p,"names",["grid-template-areas"]);e.exports=p},2951:(e,r,t)=>{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n0;var b=Boolean(h);var y=Boolean(B);u({gap:f,hasColumns:y,decl:r,result:i});s(v,r,i);if(b&&y||d){r.cloneBefore({prop:"-ms-grid-rows",value:h,raws:{}})}if(y){r.cloneBefore({prop:"-ms-grid-columns",value:B,raws:{}})}return r};return GridTemplate}(n);_defineProperty(f,"names",["grid-template"]);e.exports=f},7833:(e,r,t)=>{"use strict";var n=t(4532);var i=t(2043).list;var o=t(3020).uniq;var s=t(3020).escapeRegexp;var a=t(3020).splitSelector;function convert(e){if(e&&e.length===2&&e[0]==="span"&&parseInt(e[1],10)>0){return[false,parseInt(e[1],10)]}if(e&&e.length===1&&parseInt(e[0],10)>0){return[parseInt(e[0],10),false]}return[false,false]}function translate(e,r,t){var n=e[r];var i=e[t];if(!n){return[false,false]}var o=convert(n),s=o[0],a=o[1];var u=convert(i),c=u[0],f=u[1];if(s&&!i){return[s,false]}if(a&&c){return[c-a,a]}if(s&&f){return[s,f]}if(s&&c){return[s,c-s]}return[false,false]}function parse(e){var r=n(e.value);var t=[];var i=0;t[i]=[];for(var o=r.nodes,s=Array.isArray(o),a=0,o=s?o:o[Symbol.iterator]();;){var u;if(s){if(a>=o.length)break;u=o[a++]}else{a=o.next();if(a.done)break;u=a.value}var c=u;if(c.type==="div"){i+=1;t[i]=[]}else if(c.type==="word"){t[i].push(c.value)}}return t}function insertDecl(e,r,t){if(t&&!e.parent.some(function(e){return e.prop==="-ms-"+r})){e.cloneBefore({prop:"-ms-"+r,value:t.toString()})}}function prefixTrackProp(e){var r=e.prop,t=e.prefix;return t+r.replace("template-","")}function transformRepeat(e,r){var t=e.nodes;var i=r.gap;var o=t.reduce(function(e,r){if(r.type==="div"&&r.value===","){e.key="size"}else{e[e.key].push(n.stringify(r))}return e},{key:"count",size:[],count:[]}),s=o.count,a=o.size;if(i){var u=function(){a=a.filter(function(e){return e.trim()});var e=[];var r=function _loop(r){a.forEach(function(t,n){if(n>0||r>1){e.push(i)}e.push(t)})};for(var t=1;t<=s;t++){r(t)}return{v:e.join(" ")}}();if(typeof u==="object")return u.v}return"("+a.join("")+")["+s.join("")+"]"}function prefixTrackValue(e){var r=e.value,t=e.gap;var i=n(r).nodes.reduce(function(e,r){if(r.type==="function"&&r.value==="repeat"){return e.concat({type:"word",value:transformRepeat(r,{gap:t})})}if(t&&r.type==="space"){return e.concat({type:"space",value:" "},{type:"word",value:t},r)}return e.concat(r)},[]);return n.stringify(i)}var u=/^\.+$/;function track(e,r){return{start:e,end:r,span:r-e}}function getColumns(e){return e.trim().split(/\s+/g)}function parseGridAreas(e){var r=e.rows,t=e.gap;return r.reduce(function(e,r,n){if(t.row)n*=2;if(r.trim()==="")return e;getColumns(r).forEach(function(r,i){if(u.test(r))return;if(t.column)i*=2;if(typeof e[r]==="undefined"){e[r]={column:track(i+1,i+2),row:track(n+1,n+2)}}else{var o=e[r],s=o.column,a=o.row;s.start=Math.min(s.start,i+1);s.end=Math.max(s.end,i+2);s.span=s.end-s.start;a.start=Math.min(a.start,n+1);a.end=Math.max(a.end,n+2);a.span=a.end-a.start}});return e},{})}function testTrack(e){return e.type==="word"&&/^\[.+]$/.test(e.value)}function verifyRowSize(e){if(e.areas.length>e.rows.length){e.rows.push("auto")}return e}function parseTemplate(e){var r=e.decl,t=e.gap;var i=n(r.value).nodes.reduce(function(e,r){var t=r.type,i=r.value;if(testTrack(r)||t==="space")return e;if(t==="string"){e=verifyRowSize(e);e.areas.push(i)}if(t==="word"||t==="function"){e[e.key].push(n.stringify(r))}if(t==="div"&&i==="/"){e.key="columns";e=verifyRowSize(e)}return e},{key:"rows",columns:[],rows:[],areas:[]});return{areas:parseGridAreas({rows:i.areas,gap:t}),columns:prefixTrackValue({value:i.columns.join(" "),gap:t.column}),rows:prefixTrackValue({value:i.rows.join(" "),gap:t.row})}}function getMSDecls(e,r,t){if(r===void 0){r=false}if(t===void 0){t=false}return[].concat({prop:"-ms-grid-row",value:String(e.row.start)},e.row.span>1||r?{prop:"-ms-grid-row-span",value:String(e.row.span)}:[],{prop:"-ms-grid-column",value:String(e.column.start)},e.column.span>1||t?{prop:"-ms-grid-column-span",value:String(e.column.span)}:[])}function getParentMedia(e){if(e.type==="atrule"&&e.name==="media"){return e}if(!e.parent){return false}return getParentMedia(e.parent)}function changeDuplicateAreaSelectors(e,r){e=e.map(function(e){var r=i.space(e);var t=i.comma(e);if(r.length>t.length){e=r.slice(-1).join("")}return e});return e.map(function(e){var t=r.map(function(r,t){var n=t===0?"":" ";return""+n+r+" > "+e});return t})}function selectorsEqual(e,r){return e.selectors.some(function(e){return r.selectors.some(function(r){return r===e})})}function parseGridTemplatesData(e){var r=[];e.walkDecls(/grid-template(-areas)?$/,function(e){var t=e.parent;var n=getParentMedia(t);var i=getGridGap(e);var s=inheritGridGap(e,i);var a=parseTemplate({decl:e,gap:s||i}),u=a.areas;var c=Object.keys(u);if(c.length===0){return true}var f=r.reduce(function(e,r,t){var n=r.allAreas;var i=n&&c.some(function(e){return n.includes(e)});return i?t:e},null);if(f!==null){var l=r[f],p=l.allAreas,h=l.rules;var B=h.some(function(e){return e.hasDuplicates===false&&selectorsEqual(e,t)});var v=false;var d=h.reduce(function(e,r){if(!r.params&&selectorsEqual(r,t)){v=true;return r.duplicateAreaNames}if(!v){c.forEach(function(t){if(r.areas[t]){e.push(t)}})}return o(e)},[]);h.forEach(function(e){c.forEach(function(r){var t=e.areas[r];if(t&&t.row.span!==u[r].row.span){u[r].row.updateSpan=true}if(t&&t.column.span!==u[r].column.span){u[r].column.updateSpan=true}})});r[f].allAreas=o([].concat(p,c));r[f].rules.push({hasDuplicates:!B,params:n.params,selectors:t.selectors,node:t,duplicateAreaNames:d,areas:u})}else{r.push({allAreas:c,areasCount:0,rules:[{hasDuplicates:false,duplicateRules:[],params:n.params,selectors:t.selectors,node:t,duplicateAreaNames:[],areas:u}]})}return undefined});return r}function insertAreas(e,r){var t=parseGridTemplatesData(e);if(t.length===0){return undefined}var n={};e.walkDecls("grid-area",function(o){var s=o.parent;var a=s.first.prop==="-ms-grid-row";var u=getParentMedia(s);if(r(o)){return undefined}var c=u?e.index(u):e.index(s);var f=o.value;var l=t.filter(function(e){return e.allAreas.includes(f)})[0];if(!l){return true}var p=l.allAreas[l.allAreas.length-1];var h=i.space(s.selector);var B=i.comma(s.selector);var v=h.length>1&&h.length>B.length;if(a){return false}if(!n[p]){n[p]={}}var d=false;for(var b=l.rules,y=Array.isArray(b),g=0,b=y?b:b[Symbol.iterator]();;){var m;if(y){if(g>=b.length)break;m=b[g++]}else{g=b.next();if(g.done)break;m=g.value}var C=m;var w=C.areas[f];var S=C.duplicateAreaNames.includes(f);if(!w){var T=e.index(n[p].lastRule);if(c>T){n[p].lastRule=u||s}continue}if(C.params&&!n[p][C.params]){n[p][C.params]=[]}if((!C.hasDuplicates||!S)&&!C.params){getMSDecls(w,false,false).reverse().forEach(function(e){return s.prepend(Object.assign(e,{raws:{between:o.raws.between}}))});n[p].lastRule=s;d=true}else if(C.hasDuplicates&&!C.params&&!v){(function(){var e=s.clone();e.removeAll();getMSDecls(w,w.row.updateSpan,w.column.updateSpan).reverse().forEach(function(r){return e.prepend(Object.assign(r,{raws:{between:o.raws.between}}))});e.selectors=changeDuplicateAreaSelectors(e.selectors,C.selectors);if(n[p].lastRule){n[p].lastRule.after(e)}n[p].lastRule=e;d=true})()}else if(C.hasDuplicates&&!C.params&&v&&s.selector.includes(C.selectors[0])){s.walkDecls(/-ms-grid-(row|column)/,function(e){return e.remove()});getMSDecls(w,w.row.updateSpan,w.column.updateSpan).reverse().forEach(function(e){return s.prepend(Object.assign(e,{raws:{between:o.raws.between}}))})}else if(C.params){(function(){var r=s.clone();r.removeAll();getMSDecls(w,w.row.updateSpan,w.column.updateSpan).reverse().forEach(function(e){return r.prepend(Object.assign(e,{raws:{between:o.raws.between}}))});if(C.hasDuplicates&&S){r.selectors=changeDuplicateAreaSelectors(r.selectors,C.selectors)}r.raws=C.node.raws;if(e.index(C.node.parent)>c){C.node.parent.append(r)}else{n[p][C.params].push(r)}if(!d){n[p].lastRule=u||s}})()}}return undefined});Object.keys(n).forEach(function(e){var r=n[e];var t=r.lastRule;Object.keys(r).reverse().filter(function(e){return e!=="lastRule"}).forEach(function(e){if(r[e].length>0&&t){t.after({name:"media",params:e});t.next().append(r[e])}})});return undefined}function warnMissedAreas(e,r,t){var n=Object.keys(e);r.root().walkDecls("grid-area",function(e){n=n.filter(function(r){return r!==e.value})});if(n.length>0){r.warn(t,"Can not find grid areas: "+n.join(", "))}return undefined}function warnTemplateSelectorNotFound(e,r){var t=e.parent;var n=e.root();var o=false;var s=i.space(t.selector).filter(function(e){return e!==">"}).slice(0,-1);if(s.length>0){var a=false;var u=null;n.walkDecls(/grid-template(-areas)?$/,function(r){var t=r.parent;var n=t.selectors;var c=parseTemplate({decl:r,gap:getGridGap(r)}),f=c.areas;var l=f[e.value];for(var p=n,h=Array.isArray(p),B=0,p=h?p:p[Symbol.iterator]();;){var v;if(h){if(B>=p.length)break;v=p[B++]}else{B=p.next();if(B.done)break;v=B.value}var d=v;if(a){break}var b=i.space(d).filter(function(e){return e!==">"});a=b.every(function(e,r){return e===s[r]})}if(a||!l){return true}if(!u){u=t.selector}if(u&&u!==t.selector){o=true}return undefined});if(!a&&o){e.warn(r,"Autoprefixer cannot find a grid-template "+('containing the duplicate grid-area "'+e.value+'" ')+("with full selector matching: "+s.join(" ")))}}}function warnIfGridRowColumnExists(e,r){var t=e.parent;var n=[];t.walkDecls(/^grid-(row|column)/,function(e){if(!e.prop.endsWith("-end")&&!e.value.startsWith("span")){n.push(e)}});if(n.length>0){n.forEach(function(e){e.warn(r,"You already have a grid-area declaration present in the rule. "+("You should use either grid-area or "+e.prop+", not both"))})}return undefined}function getGridGap(e){var r={};var t=/^(grid-)?((row|column)-)?gap$/;e.parent.walkDecls(t,function(e){var t=e.prop,i=e.value;if(/^(grid-)?gap$/.test(t)){var o=n(i).nodes,s=o[0],a=o[2];r.row=s&&n.stringify(s);r.column=a?n.stringify(a):r.row}if(/^(grid-)?row-gap$/.test(t))r.row=i;if(/^(grid-)?column-gap$/.test(t))r.column=i});return r}function parseMediaParams(e){if(!e){return false}var r=n(e);var t;var i;r.walk(function(e){if(e.type==="word"&&/min|max/g.test(e.value)){t=e.value}else if(e.value.includes("px")){i=parseInt(e.value.replace(/\D/g,""))}});return[t,i]}function shouldInheritGap(e,r){var t;var n=a(e);var i=a(r);if(n[0].lengthi[0].length){var o=n[0].reduce(function(e,r,t){var n=r[0];var o=i[0][0][0];if(n===o){return t}return false},false);if(o){t=i[0].every(function(e,r){return e.every(function(e,t){return n[0].slice(o)[r][t]===e})})}}else{t=i.some(function(e){return e.every(function(e,r){return e.every(function(e,t){return n[0][r][t]===e})})})}return t}function inheritGridGap(e,r){var t=e.parent;var n=getParentMedia(t);var i=t.root();var o=a(t.selector);if(Object.keys(r).length>0){return false}var u=parseMediaParams(n.params),c=u[0];var f=o[0];var l=s(f[f.length-1][0]);var p=new RegExp("("+l+"$)|("+l+"[,.])");var h;i.walkRules(p,function(e){var r;if(t.toString()===e.toString()){return false}e.walkDecls("grid-gap",function(e){return r=getGridGap(e)});if(!r||Object.keys(r).length===0){return true}if(!shouldInheritGap(t.selector,e.selector)){return true}var n=getParentMedia(e);if(n){var i=parseMediaParams(n.params)[0];if(i===c){h=r;return true}}else{h=r;return true}return undefined});if(h&&Object.keys(h).length>0){return h}return false}function warnGridGap(e){var r=e.gap,t=e.hasColumns,n=e.decl,i=e.result;var o=r.row&&r.column;if(!t&&(o||r.column&&!r.row)){delete r.column;n.warn(i,"Can not implement grid-gap without grid-template-columns")}}function normalizeRowColumn(e){var r=n(e).nodes.reduce(function(e,r){if(r.type==="function"&&r.value==="repeat"){var t="count";var i=r.nodes.reduce(function(e,r){if(r.type==="word"&&t==="count"){e[0]=Math.abs(parseInt(r.value));return e}if(r.type==="div"&&r.value===","){t="value";return e}if(t==="value"){e[1]+=n.stringify(r)}return e},[0,""]),o=i[0],s=i[1];if(o){for(var a=0;a *:nth-child("+(f.length-r)+")")}).join(", ");var s=i.clone().removeAll();s.selector=o;s.append({prop:"-ms-grid-row",value:n.start});s.append({prop:"-ms-grid-column",value:t.start});i.after(s)});return undefined}e.exports={parse:parse,translate:translate,parseTemplate:parseTemplate,parseGridAreas:parseGridAreas,warnMissedAreas:warnMissedAreas,insertAreas:insertAreas,insertDecl:insertDecl,prefixTrackProp:prefixTrackProp,prefixTrackValue:prefixTrackValue,getGridGap:getGridGap,warnGridGap:warnGridGap,warnTemplateSelectorNotFound:warnTemplateSelectorNotFound,warnIfGridRowColumnExists:warnIfGridRowColumnExists,inheritGridGap:inheritGridGap,autoplaceGridItems:autoplaceGridItems}},3690:(e,r,t)=>{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n=r.length)break;i=r[n++]}else{n=r.next();if(n.done)break;i=n.value}var o=i;if(e.value.includes(o+"(")){return true}}return false};r.set=function set(r,t){r=e.prototype.set.call(this,r,t);if(t==="-ms-"){r.value=r.value.replace(/rotatez/gi,"rotate")}return r};r.insert=function insert(r,t,n){if(t==="-ms-"){if(!this.contain3d(r)&&!this.keyframeParents(r)){return e.prototype.insert.call(this,r,t,n)}}else if(t==="-o-"){if(!this.contain3d(r)){return e.prototype.insert.call(this,r,t,n)}}else{return e.prototype.insert.call(this,r,t,n)}return undefined};return TransformDecl}(n);_defineProperty(i,"names",["transform","transform-origin"]);_defineProperty(i,"functions3d",["matrix3d","translate3d","translateZ","scale3d","scaleZ","rotate3d","rotateX","rotateY","perspective"]);e.exports=i},1661:(e,r,t)=>{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{"use strict";var n=t(3561);function capitalize(e){return e.slice(0,1).toUpperCase()+e.slice(1)}var i={ie:"IE",ie_mob:"IE Mobile",ios_saf:"iOS",op_mini:"Opera Mini",op_mob:"Opera Mobile",and_chr:"Chrome for Android",and_ff:"Firefox for Android",and_uc:"UC for Android"};function prefix(e,r,t){var n=" "+e;if(t)n+=" *";n+=": ";n+=r.map(function(e){return e.replace(/^-(.*)-$/g,"$1")}).join(", ");n+="\n";return n}e.exports=function(e){if(e.browsers.selected.length===0){return"No browsers selected"}var r={};for(var t=e.browsers.selected,o=Array.isArray(t),s=0,t=o?t:t[Symbol.iterator]();;){var a;if(o){if(s>=t.length)break;a=t[s++]}else{s=t.next();if(s.done)break;a=s.value}var u=a;var c=u.split(" ");var f=c[0];var l=c[1];f=i[f]||capitalize(f);if(r[f]){r[f].push(l)}else{r[f]=[l]}}var p="Browsers:\n";for(var h in r){var B=r[h];B=B.sort(function(e,r){return parseFloat(r)-parseFloat(e)});p+=" "+h+": "+B.join(", ")+"\n"}var v=n.coverage(e.browsers.selected);var d=Math.round(v*100)/100;p+="\nThese browsers account for "+d+"% of all users globally\n";var b=[];for(var y in e.add){var g=e.add[y];if(y[0]==="@"&&g.prefixes){b.push(prefix(y,g.prefixes))}}if(b.length>0){p+="\nAt-Rules:\n"+b.sort().join("")}var m=[];for(var C=e.add.selectors,w=Array.isArray(C),S=0,C=w?C:C[Symbol.iterator]();;){var T;if(w){if(S>=C.length)break;T=C[S++]}else{S=C.next();if(S.done)break;T=S.value}var O=T;if(O.prefixes){m.push(prefix(O.name,O.prefixes))}}if(m.length>0){p+="\nSelectors:\n"+m.sort().join("")}var E=[];var k=[];var P=false;for(var D in e.add){var A=e.add[D];if(D[0]!=="@"&&A.prefixes){var F=D.indexOf("grid-")===0;if(F)P=true;k.push(prefix(D,A.prefixes,F))}if(!Array.isArray(A.values)){continue}for(var R=A.values,x=Array.isArray(R),j=0,R=x?R:R[Symbol.iterator]();;){var I;if(x){if(j>=R.length)break;I=R[j++]}else{j=R.next();if(j.done)break;I=j.value}var _=I;var M=_.name.includes("grid");if(M)P=true;var N=prefix(_.name,_.prefixes,M);if(!E.includes(N)){E.push(N)}}}if(k.length>0){p+="\nProperties:\n"+k.sort().join("")}if(E.length>0){p+="\nValues:\n"+E.sort().join("")}if(P){p+="\n* - Prefixes will be added only on grid: true option.\n"}if(!b.length&&!m.length&&!k.length&&!E.length){p+="\nAwesome! Your browsers don't require any vendor prefixes."+"\nNow you can remove Autoprefixer from build steps."}return p}},9013:e=>{"use strict";var r=function(){function OldSelector(e,r){this.prefix=r;this.prefixed=e.prefixed(this.prefix);this.regexp=e.regexp(this.prefix);this.prefixeds=e.possible().map(function(r){return[e.prefixed(r),e.regexp(r)]});this.unprefixed=e.name;this.nameRegexp=e.regexp()}var e=OldSelector.prototype;e.isHack=function isHack(e){var r=e.parent.index(e)+1;var t=e.parent.nodes;while(r=o.length)break;u=o[a++]}else{a=o.next();if(a.done)break;u=a.value}var c=u,f=c[0],l=c[1];if(n.includes(f)&&n.match(l)){i=true;break}}if(!i){return true}r+=1}return true};e.check=function check(e){if(!e.selector.includes(this.prefixed)){return false}if(!e.selector.match(this.regexp)){return false}if(this.isHack(e)){return false}return true};return OldSelector}();e.exports=r},342:(e,r,t)=>{"use strict";var n=t(3020);var i=function(){function OldValue(e,r,t,i){this.unprefixed=e;this.prefixed=r;this.string=t||r;this.regexp=i||n.regexp(r)}var e=OldValue.prototype;e.check=function check(e){if(e.includes(this.string)){return!!e.match(this.regexp)}return false};return OldValue}();e.exports=i},1171:(e,r,t)=>{"use strict";var n=t(2043).vendor;var i=t(2200);var o=t(3020);function _clone(e,r){var t=new e.constructor;for(var n=0,i=Object.keys(e||{});n=s.length)break;c=s[u++]}else{u=s.next();if(u.done)break;c=u.value}var f=c;if(this.add(e,f,i.concat([f]),r)){i.push(f)}}return i};e.clone=function clone(e,r){return Prefixer.clone(e,r)};return Prefixer}();e.exports=s},8774:(e,r,t)=>{"use strict";var n=t(2043).vendor;var i=t(8802);var o=t(6512);var s=t(4664);var a=t(4363);var u=t(358);var c=t(2200);var f=t(8128);var l=t(9949);var p=t(3943);var h=t(3020);f.hack(t(6255));f.hack(t(2696));i.hack(t(8437));i.hack(t(5187));i.hack(t(440));i.hack(t(4174));i.hack(t(6233));i.hack(t(7298));i.hack(t(6436));i.hack(t(5302));i.hack(t(576));i.hack(t(2004));i.hack(t(5806));i.hack(t(567));i.hack(t(5652));i.hack(t(8451));i.hack(t(7636));i.hack(t(4404));i.hack(t(1258));i.hack(t(1661));i.hack(t(1891));i.hack(t(7828));i.hack(t(6010));i.hack(t(3047));i.hack(t(4494));i.hack(t(2257));i.hack(t(6740));i.hack(t(8768));i.hack(t(2951));i.hack(t(4590));i.hack(t(4565));i.hack(t(5061));i.hack(t(2158));i.hack(t(3690));i.hack(t(9556));i.hack(t(6698));i.hack(t(7446));i.hack(t(453));i.hack(t(5280));i.hack(t(6598));i.hack(t(665));i.hack(t(3275));i.hack(t(7862));i.hack(t(7751));i.hack(t(5612));i.hack(t(7621));p.hack(t(5137));p.hack(t(5505));p.hack(t(5600));p.hack(t(8042));p.hack(t(9372));p.hack(t(9028));p.hack(t(4010));p.hack(t(9392));var B={};var v=function(){function Prefixes(e,r,t){if(t===void 0){t={}}this.data=e;this.browsers=r;this.options=t;var n=this.preprocess(this.select(this.data));this.add=n[0];this.remove=n[1];this.transition=new s(this);this.processor=new a(this)}var e=Prefixes.prototype;e.cleaner=function cleaner(){if(this.cleanerCache){return this.cleanerCache}if(this.browsers.selected.length){var e=new c(this.browsers.data,[]);this.cleanerCache=new Prefixes(this.data,e,this.options)}else{return this}return this.cleanerCache};e.select=function select(e){var r=this;var t={add:{},remove:{}};var n=function _loop(n){var i=e[n];var o=i.browsers.map(function(e){var r=e.split(" ");return{browser:r[0]+" "+r[1],note:r[2]}});var s=o.filter(function(e){return e.note}).map(function(e){return r.browsers.prefix(e.browser)+" "+e.note});s=h.uniq(s);o=o.filter(function(e){return r.browsers.isSelected(e.browser)}).map(function(e){var t=r.browsers.prefix(e.browser);if(e.note){return t+" "+e.note}else{return t}});o=r.sort(h.uniq(o));if(r.options.flexbox==="no-2009"){o=o.filter(function(e){return!e.includes("2009")})}var a=i.browsers.map(function(e){return r.browsers.prefix(e)});if(i.mistakes){a=a.concat(i.mistakes)}a=a.concat(s);a=h.uniq(a);if(o.length){t.add[n]=o;if(o.length=c.length)break;v=c[B++]}else{B=c.next();if(B.done)break;v=B.value}var d=v;if(!r[d]){r[d]={values:[]}}r[d].values.push(a)}}else{var b=r[t]&&r[t].values||[];r[t]=i.load(t,n,this);r[t].values=b}}}var y={selectors:[]};for(var g in e.remove){var m=e.remove[g];if(this.data[g].selector){var C=f.load(g,m);for(var w=m,S=Array.isArray(w),T=0,w=S?w:w[Symbol.iterator]();;){var O;if(S){if(T>=w.length)break;O=w[T++]}else{T=w.next();if(T.done)break;O=T.value}var E=O;y.selectors.push(C.old(E))}}else if(g==="@keyframes"||g==="@viewport"){for(var k=m,P=Array.isArray(k),D=0,k=P?k:k[Symbol.iterator]();;){var A;if(P){if(D>=k.length)break;A=k[D++]}else{D=k.next();if(D.done)break;A=D.value}var F=A;var R="@"+F+g.slice(1);y[R]={remove:true}}}else if(g==="@resolution"){y[g]=new o(g,m,this)}else{var x=this.data[g].props;if(x){var j=p.load(g,[],this);for(var I=m,_=Array.isArray(I),M=0,I=_?I:I[Symbol.iterator]();;){var N;if(_){if(M>=I.length)break;N=I[M++]}else{M=I.next();if(M.done)break;N=M.value}var L=N;var q=j.old(L);if(q){for(var G=x,J=Array.isArray(G),H=0,G=J?G:G[Symbol.iterator]();;){var U;if(J){if(H>=G.length)break;U=G[H++]}else{H=G.next();if(H.done)break;U=H.value}var Q=U;if(!y[Q]){y[Q]={}}if(!y[Q].values){y[Q].values=[]}y[Q].values.push(q)}}}}else{for(var K=m,W=Array.isArray(K),Y=0,K=W?K:K[Symbol.iterator]();;){var z;if(W){if(Y>=K.length)break;z=K[Y++]}else{Y=K.next();if(Y.done)break;z=Y.value}var $=z;var X=this.decl(g).old(g,$);if(g==="align-self"){var Z=r[g]&&r[g].prefixes;if(Z){if($==="-webkit- 2009"&&Z.includes("-webkit-")){continue}else if($==="-webkit-"&&Z.includes("-webkit- 2009")){continue}}}for(var V=X,ee=Array.isArray(V),re=0,V=ee?V:V[Symbol.iterator]();;){var te;if(ee){if(re>=V.length)break;te=V[re++]}else{re=V.next();if(re.done)break;te=re.value}var ne=te;if(!y[ne]){y[ne]={}}y[ne].remove=true}}}}}return[r,y]};e.decl=function decl(e){var decl=B[e];if(decl){return decl}else{B[e]=i.load(e);return B[e]}};e.unprefixed=function unprefixed(e){var r=this.normalize(n.unprefixed(e));if(r==="flex-direction"){r="flex-flow"}return r};e.normalize=function normalize(e){return this.decl(e).normalize(e)};e.prefixed=function prefixed(e,r){e=n.unprefixed(e);return this.decl(e).prefixed(e,r)};e.values=function values(e,r){var t=this[e];var n=t["*"]&&t["*"].values;var values=t[r]&&t[r].values;if(n&&values){return h.uniq(n.concat(values))}else{return n||values||[]}};e.group=function group(e){var r=this;var t=e.parent;var n=t.index(e);var i=t.nodes.length;var o=this.unprefixed(e.prop);var s=function checker(e,s){n+=e;while(n>=0&&n{"use strict";var n=t(4532);var i=t(3943);var o=t(7833).insertAreas;var s=/(^|[^-])linear-gradient\(\s*(top|left|right|bottom)/i;var a=/(^|[^-])radial-gradient\(\s*\d+(\w*|%)\s+\d+(\w*|%)\s*,/i;var u=/(!\s*)?autoprefixer:\s*ignore\s+next/i;var c=/(!\s*)?autoprefixer\s*grid:\s*(on|off|(no-)?autoplace)/i;var f=["width","height","min-width","max-width","min-height","max-height","inline-size","min-inline-size","max-inline-size","block-size","min-block-size","max-block-size"];function hasGridTemplate(e){return e.parent.some(function(e){return e.prop==="grid-template"||e.prop==="grid-template-areas"})}function hasRowsAndColumns(e){var r=e.parent.some(function(e){return e.prop==="grid-template-rows"});var t=e.parent.some(function(e){return e.prop==="grid-template-columns"});return r&&t}var l=function(){function Processor(e){this.prefixes=e}var e=Processor.prototype;e.add=function add(e,r){var t=this;var u=this.prefixes.add["@resolution"];var c=this.prefixes.add["@keyframes"];var l=this.prefixes.add["@viewport"];var p=this.prefixes.add["@supports"];e.walkAtRules(function(e){if(e.name==="keyframes"){if(!t.disabled(e,r)){return c&&c.process(e)}}else if(e.name==="viewport"){if(!t.disabled(e,r)){return l&&l.process(e)}}else if(e.name==="supports"){if(t.prefixes.options.supports!==false&&!t.disabled(e,r)){return p.process(e)}}else if(e.name==="media"&&e.params.includes("-resolution")){if(!t.disabled(e,r)){return u&&u.process(e)}}return undefined});e.walkRules(function(e){if(t.disabled(e,r))return undefined;return t.prefixes.add.selectors.map(function(t){return t.process(e,r)})});function insideGrid(e){return e.parent.nodes.some(function(e){if(e.type!=="decl")return false;var r=e.prop==="display"&&/(inline-)?grid/.test(e.value);var t=e.prop.startsWith("grid-template");var n=/^grid-([A-z]+-)?gap/.test(e.prop);return r||t||n})}function insideFlex(e){return e.parent.some(function(e){return e.prop==="display"&&/(inline-)?flex/.test(e.value)})}var h=this.gridStatus(e,r)&&this.prefixes.add["grid-area"]&&this.prefixes.add["grid-area"].prefixes;e.walkDecls(function(e){if(t.disabledDecl(e,r))return undefined;var i=e.parent;var o=e.prop;var u=e.value;if(o==="grid-row-span"){r.warn("grid-row-span is not part of final Grid Layout. Use grid-row.",{node:e});return undefined}else if(o==="grid-column-span"){r.warn("grid-column-span is not part of final Grid Layout. Use grid-column.",{node:e});return undefined}else if(o==="display"&&u==="box"){r.warn("You should write display: flex by final spec "+"instead of display: box",{node:e});return undefined}else if(o==="text-emphasis-position"){if(u==="under"||u==="over"){r.warn("You should use 2 values for text-emphasis-position "+"For example, `under left` instead of just `under`.",{node:e})}}else if(/^(align|justify|place)-(items|content)$/.test(o)&&insideFlex(e)){if(u==="start"||u==="end"){r.warn(u+" value has mixed support, consider using "+("flex-"+u+" instead"),{node:e})}}else if(o==="text-decoration-skip"&&u==="ink"){r.warn("Replace text-decoration-skip: ink to "+"text-decoration-skip-ink: auto, because spec had been changed",{node:e})}else{if(h){if(/^(align|justify|place)-items$/.test(o)&&insideGrid(e)){var c=o.replace("-items","-self");r.warn("IE does not support "+o+" on grid containers. "+("Try using "+c+" on child elements instead: ")+(e.parent.selector+" > * { "+c+": "+e.value+" }"),{node:e})}else if(/^(align|justify|place)-content$/.test(o)&&insideGrid(e)){r.warn("IE does not support "+e.prop+" on grid containers",{node:e})}else if(o==="display"&&e.value==="contents"){r.warn("Please do not use display: contents; "+"if you have grid setting enabled",{node:e});return undefined}else if(e.prop==="grid-gap"){var l=t.gridStatus(e,r);if(l==="autoplace"&&!hasRowsAndColumns(e)&&!hasGridTemplate(e)){r.warn("grid-gap only works if grid-template(-areas) is being "+"used or both rows and columns have been declared "+"and cells have not been manually "+"placed inside the explicit grid",{node:e})}else if((l===true||l==="no-autoplace")&&!hasGridTemplate(e)){r.warn("grid-gap only works if grid-template(-areas) is being used",{node:e})}}else if(o==="grid-auto-columns"){r.warn("grid-auto-columns is not supported by IE",{node:e});return undefined}else if(o==="grid-auto-rows"){r.warn("grid-auto-rows is not supported by IE",{node:e});return undefined}else if(o==="grid-auto-flow"){var p=i.some(function(e){return e.prop==="grid-template-rows"});var B=i.some(function(e){return e.prop==="grid-template-columns"});if(hasGridTemplate(e)){r.warn("grid-auto-flow is not supported by IE",{node:e})}else if(u.includes("dense")){r.warn("grid-auto-flow: dense is not supported by IE",{node:e})}else if(!p&&!B){r.warn("grid-auto-flow works only if grid-template-rows and "+"grid-template-columns are present in the same rule",{node:e})}return undefined}else if(u.includes("auto-fit")){r.warn("auto-fit value is not supported by IE",{node:e,word:"auto-fit"});return undefined}else if(u.includes("auto-fill")){r.warn("auto-fill value is not supported by IE",{node:e,word:"auto-fill"});return undefined}else if(o.startsWith("grid-template")&&u.includes("[")){r.warn("Autoprefixer currently does not support line names. "+"Try using grid-template-areas instead.",{node:e,word:"["})}}if(u.includes("radial-gradient")){if(a.test(e.value)){r.warn("Gradient has outdated direction syntax. "+"New syntax is like `closest-side at 0 0` "+"instead of `0 0, closest-side`.",{node:e})}else{var v=n(u);for(var d=v.nodes,b=Array.isArray(d),y=0,d=b?d:d[Symbol.iterator]();;){var g;if(b){if(y>=d.length)break;g=d[y++]}else{y=d.next();if(y.done)break;g=y.value}var m=g;if(m.type==="function"&&m.value==="radial-gradient"){for(var C=m.nodes,w=Array.isArray(C),S=0,C=w?C:C[Symbol.iterator]();;){var T;if(w){if(S>=C.length)break;T=C[S++]}else{S=C.next();if(S.done)break;T=S.value}var O=T;if(O.type==="word"){if(O.value==="cover"){r.warn("Gradient has outdated direction syntax. "+"Replace `cover` to `farthest-corner`.",{node:e})}else if(O.value==="contain"){r.warn("Gradient has outdated direction syntax. "+"Replace `contain` to `closest-side`.",{node:e})}}}}}}}if(u.includes("linear-gradient")){if(s.test(u)){r.warn("Gradient has outdated direction syntax. "+"New syntax is like `to left` instead of `right`.",{node:e})}}}if(f.includes(e.prop)){if(!e.value.includes("-fill-available")){if(e.value.includes("fill-available")){r.warn("Replace fill-available to stretch, "+"because spec had been changed",{node:e})}else if(e.value.includes("fill")){var E=n(u);if(E.nodes.some(function(e){return e.type==="word"&&e.value==="fill"})){r.warn("Replace fill to stretch, because spec had been changed",{node:e})}}}}var k;if(e.prop==="transition"||e.prop==="transition-property"){return t.prefixes.transition.add(e,r)}else if(e.prop==="align-self"){var P=t.displayType(e);if(P!=="grid"&&t.prefixes.options.flexbox!==false){k=t.prefixes.add["align-self"];if(k&&k.prefixes){k.process(e)}}if(P!=="flex"&&t.gridStatus(e,r)!==false){k=t.prefixes.add["grid-row-align"];if(k&&k.prefixes){return k.process(e,r)}}}else if(e.prop==="justify-self"){var D=t.displayType(e);if(D!=="flex"&&t.gridStatus(e,r)!==false){k=t.prefixes.add["grid-column-align"];if(k&&k.prefixes){return k.process(e,r)}}}else if(e.prop==="place-self"){k=t.prefixes.add["place-self"];if(k&&k.prefixes&&t.gridStatus(e,r)!==false){return k.process(e,r)}}else{k=t.prefixes.add[e.prop];if(k&&k.prefixes){return k.process(e,r)}}return undefined});if(this.gridStatus(e,r)){o(e,this.disabled)}return e.walkDecls(function(e){if(t.disabledValue(e,r))return;var n=t.prefixes.unprefixed(e.prop);var o=t.prefixes.values("add",n);if(Array.isArray(o)){for(var s=o,a=Array.isArray(s),u=0,s=a?s:s[Symbol.iterator]();;){var c;if(a){if(u>=s.length)break;c=s[u++]}else{u=s.next();if(u.done)break;c=u.value}var f=c;if(f.process)f.process(e,r)}}i.save(t.prefixes,e)})};e.remove=function remove(e,r){var t=this;var n=this.prefixes.remove["@resolution"];e.walkAtRules(function(e,i){if(t.prefixes.remove["@"+e.name]){if(!t.disabled(e,r)){e.parent.removeChild(i)}}else if(e.name==="media"&&e.params.includes("-resolution")&&n){n.clean(e)}});var i=function _loop(){if(s){if(a>=o.length)return"break";u=o[a++]}else{a=o.next();if(a.done)return"break";u=a.value}var n=u;e.walkRules(function(e,i){if(n.check(e)){if(!t.disabled(e,r)){e.parent.removeChild(i)}}})};for(var o=this.prefixes.remove.selectors,s=Array.isArray(o),a=0,o=s?o:o[Symbol.iterator]();;){var u;var c=i();if(c==="break")break}return e.walkDecls(function(e,n){if(t.disabled(e,r))return;var i=e.parent;var o=t.prefixes.unprefixed(e.prop);if(e.prop==="transition"||e.prop==="transition-property"){t.prefixes.transition.remove(e)}if(t.prefixes.remove[e.prop]&&t.prefixes.remove[e.prop].remove){var s=t.prefixes.group(e).down(function(e){return t.prefixes.normalize(e.prop)===o});if(o==="flex-flow"){s=true}if(e.prop==="-webkit-box-orient"){var a={"flex-direction":true,"flex-flow":true};if(!e.parent.some(function(e){return a[e.prop]}))return}if(s&&!t.withHackValue(e)){if(e.raw("before").includes("\n")){t.reduceSpaces(e)}i.removeChild(n);return}}for(var u=t.prefixes.values("remove",o),c=Array.isArray(u),f=0,u=c?u:u[Symbol.iterator]();;){var l;if(c){if(f>=u.length)break;l=u[f++]}else{f=u.next();if(f.done)break;l=f.value}var p=l;if(!p.check)continue;if(!p.check(e.value))continue;o=p.unprefixed;var h=t.prefixes.group(e).down(function(e){return e.value.includes(o)});if(h){i.removeChild(n);return}}})};e.withHackValue=function withHackValue(e){return e.prop==="-webkit-background-clip"&&e.value==="text"};e.disabledValue=function disabledValue(e,r){if(this.gridStatus(e,r)===false&&e.type==="decl"){if(e.prop==="display"&&e.value.includes("grid")){return true}}if(this.prefixes.options.flexbox===false&&e.type==="decl"){if(e.prop==="display"&&e.value.includes("flex")){return true}}return this.disabled(e,r)};e.disabledDecl=function disabledDecl(e,r){if(this.gridStatus(e,r)===false&&e.type==="decl"){if(e.prop.includes("grid")||e.prop==="justify-items"){return true}}if(this.prefixes.options.flexbox===false&&e.type==="decl"){var t=["order","justify-content","align-items","align-content"];if(e.prop.includes("flex")||t.includes(e.prop)){return true}}return this.disabled(e,r)};e.disabled=function disabled(e,r){if(!e)return false;if(e._autoprefixerDisabled!==undefined){return e._autoprefixerDisabled}if(e.parent){var t=e.prev();if(t&&t.type==="comment"&&u.test(t.text)){e._autoprefixerDisabled=true;e._autoprefixerSelfDisabled=true;return true}}var n=null;if(e.nodes){var i;e.each(function(e){if(e.type!=="comment")return;if(/(!\s*)?autoprefixer:\s*(off|on)/i.test(e.text)){if(typeof i!=="undefined"){r.warn("Second Autoprefixer control comment "+"was ignored. Autoprefixer applies control "+"comment to whole block, not to next rules.",{node:e})}else{i=/on/i.test(e.text)}}});if(i!==undefined){n=!i}}if(!e.nodes||n===null){if(e.parent){var o=this.disabled(e.parent,r);if(e.parent._autoprefixerSelfDisabled===true){n=false}else{n=o}}else{n=false}}e._autoprefixerDisabled=n;return n};e.reduceSpaces=function reduceSpaces(e){var r=false;this.prefixes.group(e).up(function(){r=true;return true});if(r){return}var t=e.raw("before").split("\n");var n=t[t.length-1].length;var i=false;this.prefixes.group(e).down(function(e){t=e.raw("before").split("\n");var r=t.length-1;if(t[r].length>n){if(i===false){i=t[r].length-n}t[r]=t[r].slice(0,-i);e.raws.before=t.join("\n")}})};e.displayType=function displayType(e){for(var r=e.parent.nodes,t=Array.isArray(r),n=0,r=t?r:r[Symbol.iterator]();;){var i;if(t){if(n>=r.length)break;i=r[n++]}else{n=r.next();if(n.done)break;i=n.value}var o=i;if(o.prop!=="display"){continue}if(o.value.includes("flex")){return"flex"}if(o.value.includes("grid")){return"grid"}}return false};e.gridStatus=function gridStatus(e,r){if(!e)return false;if(e._autoprefixerGridStatus!==undefined){return e._autoprefixerGridStatus}var t=null;if(e.nodes){var n;e.each(function(e){if(e.type!=="comment")return;if(c.test(e.text)){var t=/:\s*autoplace/i.test(e.text);var i=/no-autoplace/i.test(e.text);if(typeof n!=="undefined"){r.warn("Second Autoprefixer grid control comment was "+"ignored. Autoprefixer applies control comments to the whole "+"block, not to the next rules.",{node:e})}else if(t){n="autoplace"}else if(i){n=true}else{n=/on/i.test(e.text)}}});if(n!==undefined){t=n}}if(e.type==="atrule"&&e.name==="supports"){var i=e.params;if(i.includes("grid")&&i.includes("auto")){t=false}}if(!e.nodes||t===null){if(e.parent){var o=this.gridStatus(e.parent,r);if(e.parent._autoprefixerSelfDisabled===true){t=false}else{t=o}}else if(typeof this.prefixes.options.grid!=="undefined"){t=this.prefixes.options.grid}else if(typeof process.env.AUTOPREFIXER_GRID!=="undefined"){if(process.env.AUTOPREFIXER_GRID==="autoplace"){t="autoplace"}else{t=true}}else{t=false}}e._autoprefixerGridStatus=t;return t};return Processor}();e.exports=l},6512:(e,r,t)=>{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n=t.length)break;s=t[i++]}else{i=t.next();if(i.done)break;s=i.value}var a=s;this.bad.push(this.prefixName(a,"min"));this.bad.push(this.prefixName(a,"max"))}}e.params=o.editList(e.params,function(e){return e.filter(function(e){return r.bad.every(function(r){return!e.includes(r)})})})};r.process=function process(e){var r=this;var t=this.parentPrefix(e);var n=t?[t]:this.prefixes;e.params=o.editList(e.params,function(e,t){for(var i=e,u=Array.isArray(i),c=0,i=u?i:i[Symbol.iterator]();;){var f;if(u){if(c>=i.length)break;f=i[c++]}else{c=i.next();if(c.done)break;f=c.value}var l=f;if(!l.includes("min-resolution")&&!l.includes("max-resolution")){t.push(l);continue}var p=function _loop(){if(B){if(v>=h.length)return"break";d=h[v++]}else{v=h.next();if(v.done)return"break";d=v.value}var e=d;var n=l.replace(s,function(t){var n=t.match(a);return r.prefixQuery(e,n[1],n[2],n[3],n[4])});t.push(n)};for(var h=n,B=Array.isArray(h),v=0,h=B?h:h[Symbol.iterator]();;){var d;var b=p();if(b==="break")break}t.push(l)}return o.uniq(t)})};return Resolution}(i);e.exports=u},8128:(e,r,t)=>{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n=s.length)return"break";c=s[u++]}else{u=s.next();if(u.done)return"break";c=u.value}var e=c;prefixeds[e]=n.map(function(t){return r.replace(t,e)}).join(", ")};for(var s=this.possible(),a=Array.isArray(s),u=0,s=a?s:s[Symbol.iterator]();;){var c;var f=o();if(f==="break")break}}else{for(var l=this.possible(),p=Array.isArray(l),h=0,l=p?l:l[Symbol.iterator]();;){var B;if(p){if(h>=l.length)break;B=l[h++]}else{h=l.next();if(h.done)break;B=h.value}var v=B;prefixeds[v]=this.replace(e.selector,v)}}e._autoprefixerPrefixeds[this.name]=prefixeds;return e._autoprefixerPrefixeds};r.already=function already(e,r,t){var n=e.parent.index(e)-1;while(n>=0){var i=e.parent.nodes[n];if(i.type!=="rule"){return false}var o=false;for(var s in r[this.name]){var a=r[this.name][s];if(i.selector===a){if(t===s){return true}else{o=true;break}}}if(!o){return false}n-=1}return false};r.replace=function replace(e,r){return e.replace(this.regexp(),"$1"+this.prefixed(r))};r.add=function add(e,r){var t=this.prefixeds(e);if(this.already(e,t,r)){return}var n=this.clone(e,{selector:t[this.name][r]});e.parent.insertBefore(e,n)};r.old=function old(e){return new o(this,e)};return Selector}(s);e.exports=c},358:(e,r,t)=>{"use strict";var n=t(2043);var i=t(4338).feature(t(6681));var o=t(2200);var s=t(4408);var a=t(3943);var u=t(3020);var c=[];for(var f in i.stats){var l=i.stats[f];for(var p in l){var h=l[p];if(/y/.test(h)){c.push(f+" "+p)}}}var B=function(){function Supports(e,r){this.Prefixes=e;this.all=r}var e=Supports.prototype;e.prefixer=function prefixer(){if(this.prefixerCache){return this.prefixerCache}var e=this.all.browsers.selected.filter(function(e){return c.includes(e)});var r=new o(this.all.browsers.data,e,this.all.options);this.prefixerCache=new this.Prefixes(this.all.data,r,this.all.options);return this.prefixerCache};e.parse=function parse(e){var r=e.split(":");var t=r[0];var n=r[1];if(!n)n="";return[t.trim(),n.trim()]};e.virtual=function virtual(e){var r=this.parse(e),t=r[0],i=r[1];var o=n.parse("a{}").first;o.append({prop:t,value:i,raws:{before:""}});return o};e.prefixed=function prefixed(e){var r=this.virtual(e);if(this.disabled(r.first)){return r.nodes}var t={warn:function warn(){return null}};var n=this.prefixer().add[r.first.prop];n&&n.process&&n.process(r.first,t);for(var i=r.nodes,o=Array.isArray(i),s=0,i=o?i:i[Symbol.iterator]();;){var u;if(o){if(s>=i.length)break;u=i[s++]}else{s=i.next();if(s.done)break;u=s.value}var c=u;for(var f=this.prefixer().values("add",r.first.prop),l=Array.isArray(f),p=0,f=l?f:f[Symbol.iterator]();;){var h;if(l){if(p>=f.length)break;h=f[p++]}else{p=f.next();if(p.done)break;h=p.value}var B=h;B.process(c)}a.save(this.all,c)}return r.nodes};e.isNot=function isNot(e){return typeof e==="string"&&/not\s*/i.test(e)};e.isOr=function isOr(e){return typeof e==="string"&&/\s*or\s*/i.test(e)};e.isProp=function isProp(e){return typeof e==="object"&&e.length===1&&typeof e[0]==="string"};e.isHack=function isHack(e,r){var t=new RegExp("(\\(|\\s)"+u.escapeRegexp(r)+":");return!t.test(e)};e.toRemove=function toRemove(e,r){var t=this.parse(e),n=t[0],i=t[1];var o=this.all.unprefixed(n);var s=this.all.cleaner();if(s.remove[n]&&s.remove[n].remove&&!this.isHack(r,o)){return true}for(var a=s.values("remove",o),u=Array.isArray(a),c=0,a=u?a:a[Symbol.iterator]();;){var f;if(u){if(c>=a.length)break;f=a[c++]}else{c=a.next();if(c.done)break;f=c.value}var l=f;if(l.check(i)){return true}}return false};e.remove=function remove(e,r){var t=0;while(t=t.length)break;o=t[i++]}else{i=t.next();if(i.done)break;o=i.value}var s=o;r.push([s.prop+": "+s.value]);r.push(" or ")}r[r.length-1]="";return r};e.normalize=function normalize(e){var r=this;if(typeof e!=="object"){return e}e=e.filter(function(e){return e!==""});if(typeof e[0]==="string"&&e[0].includes(":")){return[s.stringify(e)]}return e.map(function(e){return r.normalize(e)})};e.add=function add(e,r){var t=this;return e.map(function(e){if(t.isProp(e)){var n=t.prefixed(e[0]);if(n.length>1){return t.convert(n)}return e}if(typeof e==="object"){return t.add(e,r)}return e})};e.process=function process(e){var r=s.parse(e.params);r=this.normalize(r);r=this.remove(r,e.params);r=this.add(r,e.params);r=this.cleanBrackets(r);e.params=s.stringify(r)};e.disabled=function disabled(e){if(!this.all.options.grid){if(e.prop==="display"&&e.value.includes("grid")){return true}if(e.prop.includes("grid")||e.prop==="justify-items"){return true}}if(this.all.options.flexbox===false){if(e.prop==="display"&&e.value.includes("flex")){return true}var r=["order","justify-content","align-items","align-content"];if(e.prop.includes("flex")||r.includes(e.prop)){return true}}return false};return Supports}();e.exports=B},4664:(e,r,t)=>{"use strict";function _defineProperty(e,r,t){if(r in e){Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true})}else{e[r]=t}return e}var n=t(4532);var i=t(2043).vendor;var o=t(2043).list;var s=t(2200);var a=function(){function Transition(e){_defineProperty(this,"props",["transition","transition-property"]);this.prefixes=e}var e=Transition.prototype;e.add=function add(e,r){var t=this;var n,i;var add=this.prefixes.add[e.prop];var o=this.ruleVendorPrefixes(e);var s=o||add&&add.prefixes||[];var a=this.parse(e.value);var u=a.map(function(e){return t.findProp(e)});var c=[];if(u.some(function(e){return e[0]==="-"})){return}for(var f=a,l=Array.isArray(f),p=0,f=l?f:f[Symbol.iterator]();;){var h;if(l){if(p>=f.length)break;h=f[p++]}else{p=f.next();if(p.done)break;h=p.value}var B=h;i=this.findProp(B);if(i[0]==="-")continue;var v=this.prefixes.add[i];if(!v||!v.prefixes)continue;for(var d=v.prefixes,b=Array.isArray(d),y=0,d=b?d:d[Symbol.iterator]();;){if(b){if(y>=d.length)break;n=d[y++]}else{y=d.next();if(y.done)break;n=y.value}if(o&&!o.some(function(e){return n.includes(e)})){continue}var g=this.prefixes.prefixed(i,n);if(g!=="-ms-transform"&&!u.includes(g)){if(!this.disabled(i,n)){c.push(this.clone(i,g,B))}}}}a=a.concat(c);var m=this.stringify(a);var C=this.stringify(this.cleanFromUnprefixed(a,"-webkit-"));if(s.includes("-webkit-")){this.cloneBefore(e,"-webkit-"+e.prop,C)}this.cloneBefore(e,e.prop,C);if(s.includes("-o-")){var w=this.stringify(this.cleanFromUnprefixed(a,"-o-"));this.cloneBefore(e,"-o-"+e.prop,w)}for(var S=s,T=Array.isArray(S),O=0,S=T?S:S[Symbol.iterator]();;){if(T){if(O>=S.length)break;n=S[O++]}else{O=S.next();if(O.done)break;n=O.value}if(n!=="-webkit-"&&n!=="-o-"){var E=this.stringify(this.cleanOtherPrefixes(a,n));this.cloneBefore(e,n+e.prop,E)}}if(m!==e.value&&!this.already(e,e.prop,m)){this.checkForWarning(r,e);e.cloneBefore();e.value=m}};e.findProp=function findProp(e){var r=e[0].value;if(/^\d/.test(r)){for(var t=e.entries(),n=Array.isArray(t),i=0,t=n?t:t[Symbol.iterator]();;){var o;if(n){if(i>=t.length)break;o=t[i++]}else{i=t.next();if(i.done)break;o=i.value}var s=o,a=s[0],u=s[1];if(a!==0&&u.type==="word"){return u.value}}}return r};e.already=function already(e,r,t){return e.parent.some(function(e){return e.prop===r&&e.value===t})};e.cloneBefore=function cloneBefore(e,r,t){if(!this.already(e,r,t)){e.cloneBefore({prop:r,value:t})}};e.checkForWarning=function checkForWarning(e,r){if(r.prop!=="transition-property"){return}r.parent.each(function(t){if(t.type!=="decl"){return undefined}if(t.prop.indexOf("transition-")!==0){return undefined}if(t.prop==="transition-property"){return undefined}if(o.comma(t.value).length>1){r.warn(e,"Replace transition-property to transition, "+"because Autoprefixer could not support "+"any cases of transition-property "+"and other transition-*")}return false})};e.remove=function remove(e){var r=this;var t=this.parse(e.value);t=t.filter(function(e){var t=r.prefixes.remove[r.findProp(e)];return!t||!t.remove});var n=this.stringify(t);if(e.value===n){return}if(t.length===0){e.remove();return}var i=e.parent.some(function(r){return r.prop===e.prop&&r.value===n});var o=e.parent.some(function(r){return r!==e&&r.prop===e.prop&&r.value.length>n.length});if(i||o){e.remove();return}e.value=n};e.parse=function parse(e){var r=n(e);var t=[];var i=[];for(var o=r.nodes,s=Array.isArray(o),a=0,o=s?o:o[Symbol.iterator]();;){var u;if(s){if(a>=o.length)break;u=o[a++]}else{a=o.next();if(a.done)break;u=a.value}var c=u;i.push(c);if(c.type==="div"&&c.value===","){t.push(i);i=[]}}t.push(i);return t.filter(function(e){return e.length>0})};e.stringify=function stringify(e){if(e.length===0){return""}var r=[];for(var t=e,i=Array.isArray(t),o=0,t=i?t:t[Symbol.iterator]();;){var s;if(i){if(o>=t.length)break;s=t[o++]}else{o=t.next();if(o.done)break;s=o.value}var a=s;if(a[a.length-1].type!=="div"){a.push(this.div(e))}r=r.concat(a)}if(r[0].type==="div"){r=r.slice(1)}if(r[r.length-1].type==="div"){r=r.slice(0,+-2+1||0)}return n.stringify({nodes:r})};e.clone=function clone(e,r,t){var n=[];var i=false;for(var o=t,s=Array.isArray(o),a=0,o=s?o:o[Symbol.iterator]();;){var u;if(s){if(a>=o.length)break;u=o[a++]}else{a=o.next();if(a.done)break;u=a.value}var c=u;if(!i&&c.type==="word"&&c.value===e){n.push({type:"word",value:r});i=true}else{n.push(c)}}return n};e.div=function div(e){for(var r=e,t=Array.isArray(r),n=0,r=t?r:r[Symbol.iterator]();;){var i;if(t){if(n>=r.length)break;i=r[n++]}else{n=r.next();if(n.done)break;i=n.value}var o=i;for(var s=o,a=Array.isArray(s),u=0,s=a?s:s[Symbol.iterator]();;){var c;if(a){if(u>=s.length)break;c=s[u++]}else{u=s.next();if(u.done)break;c=u.value}var f=c;if(f.type==="div"&&f.value===","){return f}}}return{type:"div",value:",",after:" "}};e.cleanOtherPrefixes=function cleanOtherPrefixes(e,r){var t=this;return e.filter(function(e){var n=i.prefix(t.findProp(e));return n===""||n===r})};e.cleanFromUnprefixed=function cleanFromUnprefixed(e,r){var t=this;var n=e.map(function(e){return t.findProp(e)}).filter(function(e){return e.slice(0,r.length)===r}).map(function(e){return t.prefixes.unprefixed(e)});var o=[];for(var s=e,a=Array.isArray(s),u=0,s=a?s:s[Symbol.iterator]();;){var c;if(a){if(u>=s.length)break;c=s[u++]}else{u=s.next();if(u.done)break;c=u.value}var f=c;var l=this.findProp(f);var p=i.prefix(l);if(!n.includes(l)&&(p===r||p==="")){o.push(f)}}return o};e.disabled=function disabled(e,r){var t=["order","justify-content","align-self","align-content"];if(e.includes("flex")||t.includes(e)){if(this.prefixes.options.flexbox===false){return true}if(this.prefixes.options.flexbox==="no-2009"){return r.includes("2009")}}return undefined};e.ruleVendorPrefixes=function ruleVendorPrefixes(e){var r=e.parent;if(r.type!=="rule"){return false}else if(!r.selector.includes(":-")){return false}var t=s.prefixes().filter(function(e){return r.selector.includes(":"+e)});return t.length>0?t:false};return Transition}();e.exports=a},3020:(e,r,t)=>{"use strict";var n=t(2043).list;e.exports={error:function error(e){var r=new Error(e);r.autoprefixer=true;throw r},uniq:function uniq(e){var r=[];for(var t=e,n=Array.isArray(t),i=0,t=n?t:t[Symbol.iterator]();;){var o;if(n){if(i>=t.length)break;o=t[i++]}else{i=t.next();if(i.done)break;o=i.value}var s=o;if(!r.includes(s)){r.push(s)}}return r},removeNote:function removeNote(e){if(!e.includes(" ")){return e}return e.split(" ")[0]},escapeRegexp:function escapeRegexp(e){return e.replace(/[$()*+-.?[\\\]^{|}]/g,"\\$&")},regexp:function regexp(e,r){if(r===void 0){r=true}if(r){e=this.escapeRegexp(e)}return new RegExp("(^|[\\s,(])("+e+"($|[\\s(,]))","gi")},editList:function editList(e,r){var t=n.comma(e);var i=r(t,[]);if(t===i){return e}var o=e.match(/,\s*/);o=o?o[0]:", ";return i.join(o)},splitSelector:function splitSelector(e){return n.comma(e).map(function(e){return n.space(e).map(function(e){return e.split(/(?=\.|#)/g)})})}}},3943:(e,r,t)=>{"use strict";function _defaults(e,r){var t=Object.getOwnPropertyNames(r);for(var n=0;n{var n=t(2597);var i=t(6087);var o=t(8554);function ValueParser(e){if(this instanceof ValueParser){this.nodes=n(e);return this}return new ValueParser(e)}ValueParser.prototype.toString=function(){return Array.isArray(this.nodes)?o(this.nodes):""};ValueParser.prototype.walk=function(e,r){i(this.nodes,e,r);return this};ValueParser.unit=t(2745);ValueParser.walk=i;ValueParser.stringify=o;e.exports=ValueParser},2597:e=>{var r="(".charCodeAt(0);var t=")".charCodeAt(0);var n="'".charCodeAt(0);var i='"'.charCodeAt(0);var o="\\".charCodeAt(0);var s="/".charCodeAt(0);var a=",".charCodeAt(0);var u=":".charCodeAt(0);var c="*".charCodeAt(0);var f="u".charCodeAt(0);var l="U".charCodeAt(0);var p="+".charCodeAt(0);var h=/^[a-f0-9?-]+$/i;e.exports=function(e){var B=[];var v=e;var d,b,y,g,m,C,w,S;var T=0;var O=v.charCodeAt(T);var E=v.length;var k=[{nodes:B}];var P=0;var D;var A="";var F="";var R="";while(T{function stringifyNode(e,r){var t=e.type;var n=e.value;var i;var o;if(r&&(o=r(e))!==undefined){return o}else if(t==="word"||t==="space"){return n}else if(t==="string"){i=e.quote||"";return i+n+(e.unclosed?"":i)}else if(t==="comment"){return"/*"+n+(e.unclosed?"":"*/")}else if(t==="div"){return(e.before||"")+n+(e.after||"")}else if(Array.isArray(e.nodes)){i=stringify(e.nodes,r);if(t!=="function"){return i}return n+"("+(e.before||"")+i+(e.after||"")+(e.unclosed?"":")")}return n}function stringify(e,r){var t,n;if(Array.isArray(e)){t="";for(n=e.length-1;~n;n-=1){t=stringifyNode(e[n],r)+t}return t}return stringifyNode(e,r)}e.exports=stringify},2745:e=>{var r="-".charCodeAt(0);var t="+".charCodeAt(0);var n=".".charCodeAt(0);var i="e".charCodeAt(0);var o="E".charCodeAt(0);function likeNumber(e){var i=e.charCodeAt(0);var o;if(i===t||i===r){o=e.charCodeAt(1);if(o>=48&&o<=57){return true}var s=e.charCodeAt(2);if(o===n&&s>=48&&s<=57){return true}return false}if(i===n){o=e.charCodeAt(1);if(o>=48&&o<=57){return true}return false}if(i>=48&&i<=57){return true}return false}e.exports=function(e){var s=0;var a=e.length;var u;var c;var f;if(a===0||!likeNumber(e)){return false}u=e.charCodeAt(s);if(u===t||u===r){s++}while(s57){break}s+=1}u=e.charCodeAt(s);c=e.charCodeAt(s+1);if(u===n&&c>=48&&c<=57){s+=2;while(s57){break}s+=1}}u=e.charCodeAt(s);c=e.charCodeAt(s+1);f=e.charCodeAt(s+2);if((u===i||u===o)&&(c>=48&&c<=57||(c===t||c===r)&&f>=48&&f<=57)){s+=c===t||c===r?3:2;while(s57){break}s+=1}}return{number:e.slice(0,s),unit:e.slice(s)}}},6087:e=>{e.exports=function walk(e,r,t){var n,i,o,s;for(n=0,i=e.length;n{"use strict";e.exports=balanced;function balanced(e,r,t){if(e instanceof RegExp)e=maybeMatch(e,t);if(r instanceof RegExp)r=maybeMatch(r,t);var n=range(e,r,t);return n&&{start:n[0],end:n[1],pre:t.slice(0,n[0]),body:t.slice(n[0]+e.length,n[1]),post:t.slice(n[1]+r.length)}}function maybeMatch(e,r){var t=r.match(e);return t?t[0]:null}balanced.range=range;function range(e,r,t){var n,i,o,s,a;var u=t.indexOf(e);var c=t.indexOf(r,u+1);var f=u;if(u>=0&&c>0){n=[];o=t.length;while(f>=0&&!a){if(f==u){n.push(f);u=t.indexOf(e,f+1)}else if(n.length==1){a=[n.pop(),c]}else{i=n.pop();if(i=0?u:c}if(n.length){a=[o,s]}}return a}},7542:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{36:"KB P M R S YB U",257:"I J K L",548:"C N D"},C:{1:"3 4 5 6 7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",16:"0 1 eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z kB sB",130:"2"},D:{36:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{16:"dB WB",36:"G Y O F H E A B C N D fB gB hB iB XB T Q mB nB"},F:{16:"0 1 2 3 4 5 6 7 8 9 E B C I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V oB pB qB rB T ZB tB Q"},G:{16:"H D WB uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{16:"CC"},I:{16:"bB G M DC EC FC GC aB HC IC"},J:{16:"F A"},K:{16:"A B C DB T ZB Q"},L:{16:"U"},M:{16:"OB"},N:{16:"A B"},O:{16:"JC"},P:{16:"G KC LC MC NC OC XB PC QC"},Q:{16:"RC"},R:{16:"SC"},S:{130:"jB"}},B:1,C:"CSS3 Background-clip: text"}},5364:e=>{e.exports={A:{A:{1:"E A B",2:"O F H lB"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB kB",36:"sB"},D:{1:"0 1 2 3 4 5 6 7 8 9 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",516:"G Y O F H E A B C N D"},E:{1:"F H E A B C N D hB iB XB T Q mB nB",772:"G Y O dB WB fB gB"},F:{1:"0 1 2 3 4 5 6 7 8 9 B C I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V qB rB T ZB tB Q",2:"E oB",36:"pB"},G:{1:"H D yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",4:"WB uB aB xB",516:"TC"},H:{132:"CC"},I:{1:"M HC IC",36:"DC",516:"bB G GC aB",548:"EC FC"},J:{1:"F A"},K:{1:"A B C DB T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{1:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:4,C:"CSS3 Background-image options"}},8846:e=>{e.exports={A:{A:{1:"B",2:"O F H E A lB"},B:{1:"D I J K L KB P M R S YB U",129:"C N"},C:{1:"4 5 6 7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB",260:"0 1 2 3 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z",804:"G Y O F H E A B C N D kB sB"},D:{1:"AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",260:"5 6 7 8 9",388:"0 1 2 3 4 k l m n o p q r s t u v w x y z",1412:"I J K L Z a b c d e f g h i j",1956:"G Y O F H E A B C N D"},E:{129:"A B C N D iB XB T Q mB nB",1412:"O F H E gB hB",1956:"G Y dB WB fB"},F:{1:"0 1 2 3 4 5 6 7 8 9 x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E oB pB",260:"s t u v w",388:"I J K L Z a b c d e f g h i j k l m n o p q r",1796:"qB rB",1828:"B C T ZB tB Q"},G:{129:"D 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",1412:"H xB yB zB 0B",1956:"WB uB aB TC"},H:{1828:"CC"},I:{388:"M HC IC",1956:"bB G DC EC FC GC aB"},J:{1412:"A",1924:"F"},K:{1:"DB",2:"A",1828:"B C T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{1:"B",2:"A"},O:{388:"JC"},P:{1:"MC NC OC XB PC QC",260:"KC LC",388:"G"},Q:{260:"RC"},R:{260:"SC"},S:{260:"jB"}},B:4,C:"CSS3 Border images"}},5111:e=>{e.exports={A:{A:{1:"E A B",2:"O F H lB"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"4 5 6 7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",257:"0 1 2 3 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z",289:"bB kB sB",292:"eB"},D:{1:"0 1 2 3 4 5 6 7 8 9 Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",33:"G"},E:{1:"Y F H E A B C N D hB iB XB T Q mB nB",33:"G dB WB",129:"O fB gB"},F:{1:"0 1 2 3 4 5 6 7 8 9 B C I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V qB rB T ZB tB Q",2:"E oB pB"},G:{1:"H D uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",33:"WB"},H:{2:"CC"},I:{1:"bB G M EC FC GC aB HC IC",33:"DC"},J:{1:"F A"},K:{1:"B C DB T ZB Q",2:"A"},L:{1:"U"},M:{1:"OB"},N:{1:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{257:"jB"}},B:4,C:"CSS3 Border-radius (rounded corners)"}},9900:e=>{e.exports={A:{A:{2:"O F H lB",260:"E",516:"A B"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB kB sB",33:"G Y O F H E A B C N D I"},D:{1:"0 1 2 3 4 5 6 7 8 9 g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"G Y O F H E A B C N D I J K L",33:"Z a b c d e f"},E:{1:"F H E A B C N D gB hB iB XB T Q mB nB",2:"G Y dB WB fB",33:"O"},F:{1:"0 1 2 3 4 5 6 7 8 9 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E B C oB pB qB rB T ZB tB Q"},G:{1:"H D yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",2:"WB uB aB TC",33:"xB"},H:{2:"CC"},I:{1:"M",2:"bB G DC EC FC GC aB",132:"HC IC"},J:{1:"A",2:"F"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{1:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:4,C:"calc() as CSS unit value"}},4243:e=>{e.exports={A:{A:{1:"A B",2:"O F H E lB"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB G kB sB",33:"Y O F H E A B C N D I"},D:{1:"0 1 2 3 4 5 6 7 8 9 x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",33:"G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w"},E:{1:"E A B C N D iB XB T Q mB nB",2:"dB WB",33:"O F H fB gB hB",292:"G Y"},F:{1:"0 1 2 3 4 5 6 7 8 9 k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V Q",2:"E B oB pB qB rB T ZB tB",33:"C I J K L Z a b c d e f g h i j"},G:{1:"D 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",33:"H xB yB zB",164:"WB uB aB TC"},H:{2:"CC"},I:{1:"M",33:"G GC aB HC IC",164:"bB DC EC FC"},J:{33:"F A"},K:{1:"DB Q",2:"A B C T ZB"},L:{1:"U"},M:{1:"OB"},N:{1:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{33:"RC"},R:{1:"SC"},S:{1:"jB"}},B:5,C:"CSS Animation"}},8203:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{1:"KB P M R S YB U",2:"C N D I J K L"},C:{1:"4 5 6 7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",16:"eB",33:"0 1 2 3 bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z kB sB"},D:{1:"JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",16:"G Y O F H E A B C N D",33:"0 1 2 3 4 5 6 7 8 9 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB"},E:{1:"E A B C N D iB XB T Q mB nB",16:"G Y O dB WB fB",33:"F H gB hB"},F:{1:"6 7 8 9 AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E B C oB pB qB rB T ZB tB Q",33:"0 1 2 3 4 5 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},G:{1:"D 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",16:"WB uB aB TC",33:"H xB yB zB"},H:{2:"CC"},I:{1:"M",16:"bB G DC EC FC GC aB",33:"HC IC"},J:{16:"F A"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{2:"A B"},O:{33:"JC"},P:{1:"OC XB PC QC",16:"G",33:"KC LC MC NC"},Q:{1:"RC"},R:{1:"SC"},S:{33:"jB"}},B:5,C:"CSS :any-link selector"}},497:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{1:"S YB U",33:"R",164:"KB P M",388:"C N D I J K L"},C:{1:"P M OB R S",164:"0 1 2 3 4 5 6 7 8 9 p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB",676:"eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o kB sB"},D:{1:"S YB U vB wB cB",33:"R",164:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M"},E:{164:"G Y O F H E A B C N D dB WB fB gB hB iB XB T Q mB nB"},F:{2:"E B C oB pB qB rB T ZB tB Q",33:"FB W V",164:"0 1 2 3 4 5 6 7 8 9 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB"},G:{164:"H D WB uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{164:"bB G M DC EC FC GC aB HC IC"},J:{164:"F A"},K:{2:"A B C T ZB Q",164:"DB"},L:{1:"U"},M:{164:"OB"},N:{2:"A",388:"B"},O:{164:"JC"},P:{164:"G KC LC MC NC OC XB PC QC"},Q:{164:"RC"},R:{164:"SC"},S:{164:"jB"}},B:5,C:"CSS Appearance"}},3330:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{1:"KB P M R S YB U",2:"C N D I J",257:"K L"},C:{2:"0 1 2 3 4 5 6 7 8 9 eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB kB sB",578:"FB W V VB QB RB SB TB UB KB P M OB R S"},D:{1:"SB TB UB KB P M R S YB U vB wB cB",2:"0 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z",194:"1 2 3 4 5 6 7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB"},E:{2:"G Y O F H dB WB fB gB hB",33:"E A B C N D iB XB T Q mB nB"},F:{1:"IB JB X LB MB NB FB W V",2:"E B C I J K L Z a b c d e f g h i j k l m n oB pB qB rB T ZB tB Q",194:"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x y z AB BB CB EB GB HB"},G:{2:"H WB uB aB TC xB yB zB",33:"D 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{1:"M",2:"bB G DC EC FC GC aB HC IC"},J:{2:"F A"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{578:"OB"},N:{2:"A B"},O:{2:"JC"},P:{1:"QC",2:"G",194:"KC LC MC NC OC XB PC"},Q:{194:"RC"},R:{194:"SC"},S:{2:"jB"}},B:7,C:"CSS Backdrop Filter"}},941:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{2:"C N D I J K L",164:"KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l kB sB"},D:{2:"G Y O F H E A B C N D I J K L Z a b",164:"0 1 2 3 4 5 6 7 8 9 c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{2:"G Y O dB WB fB",164:"F H E A B C N D gB hB iB XB T Q mB nB"},F:{2:"E oB pB qB rB",129:"B C T ZB tB Q",164:"0 1 2 3 4 5 6 7 8 9 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V"},G:{2:"WB uB aB TC xB",164:"H D yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{132:"CC"},I:{2:"bB G DC EC FC GC aB",164:"M HC IC"},J:{2:"F",164:"A"},K:{2:"A",129:"B C T ZB Q",164:"DB"},L:{164:"U"},M:{1:"OB"},N:{2:"A B"},O:{1:"JC"},P:{164:"G KC LC MC NC OC XB PC QC"},Q:{164:"RC"},R:{164:"SC"},S:{1:"jB"}},B:5,C:"CSS box-decoration-break"}},7368:e=>{e.exports={A:{A:{1:"E A B",2:"O F H lB"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB",33:"kB sB"},D:{1:"0 1 2 3 4 5 6 7 8 9 A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",33:"G Y O F H E"},E:{1:"O F H E A B C N D fB gB hB iB XB T Q mB nB",33:"Y",164:"G dB WB"},F:{1:"0 1 2 3 4 5 6 7 8 9 B C I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V qB rB T ZB tB Q",2:"E oB pB"},G:{1:"H D TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",33:"uB aB",164:"WB"},H:{2:"CC"},I:{1:"G M GC aB HC IC",164:"bB DC EC FC"},J:{1:"A",33:"F"},K:{1:"B C DB T ZB Q",2:"A"},L:{1:"U"},M:{1:"OB"},N:{1:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:4,C:"CSS3 Box-shadow"}},2584:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{2:"C N D I J K",260:"KB P M R S YB U",3138:"L"},C:{1:"8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB",132:"0 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z kB sB",644:"1 2 3 4 5 6 7"},D:{2:"G Y O F H E A B C N D I J K L Z a b c d",260:"9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",292:"0 1 2 3 4 5 6 7 8 e f g h i j k l m n o p q r s t u v w x y z"},E:{2:"G Y O dB WB fB gB",292:"F H E A B C N D hB iB XB T Q mB nB"},F:{2:"E B C oB pB qB rB T ZB tB Q",260:"0 1 2 3 4 5 6 7 8 9 w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",292:"I J K L Z a b c d e f g h i j k l m n o p q r s t u v"},G:{2:"WB uB aB TC xB",292:"H D yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{2:"bB G DC EC FC GC aB",260:"M",292:"HC IC"},J:{2:"F A"},K:{2:"A B C T ZB Q",260:"DB"},L:{260:"U"},M:{1:"OB"},N:{2:"A B"},O:{292:"JC"},P:{292:"G KC LC MC NC OC XB PC QC"},Q:{292:"RC"},R:{260:"SC"},S:{644:"jB"}},B:4,C:"CSS clip-path property (for HTML)"}},3662:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{2:"C N D I J K L",33:"KB P M R S YB U"},C:{1:"2 3 4 5 6 7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"0 1 eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z kB sB"},D:{16:"G Y O F H E A B C N D I J K L",33:"0 1 2 3 4 5 6 7 8 9 Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{2:"G Y dB WB fB",33:"O F H E A B C N D gB hB iB XB T Q mB nB"},F:{2:"E B C oB pB qB rB T ZB tB Q",33:"0 1 2 3 4 5 6 7 8 9 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V"},G:{16:"H D WB uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{16:"bB G M DC EC FC GC aB HC IC"},J:{16:"F A"},K:{2:"A B C DB T ZB Q"},L:{16:"U"},M:{1:"OB"},N:{16:"A B"},O:{16:"JC"},P:{16:"G KC LC MC NC OC XB PC QC"},Q:{33:"RC"},R:{16:"SC"},S:{1:"jB"}},B:5,C:"CSS color-adjust"}},4828:e=>{e.exports={A:{A:{2:"O lB",2340:"F H E A B"},B:{2:"C N D I J K L",1025:"KB P M R S YB U"},C:{2:"eB bB kB",513:"JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",545:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB sB"},D:{2:"G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u",1025:"0 1 2 3 4 5 6 7 8 9 v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{1:"A B C N D XB T Q mB nB",2:"G Y dB WB fB",164:"O",4644:"F H E gB hB iB"},F:{2:"E B I J K L Z a b c d e f g h oB pB qB rB T ZB",545:"C tB Q",1025:"0 1 2 3 4 5 6 7 8 9 i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V"},G:{1:"D 2B 3B 4B 5B 6B 7B 8B 9B AC BC",2:"WB uB aB",4260:"TC xB",4644:"H yB zB 0B 1B"},H:{2:"CC"},I:{2:"bB G DC EC FC GC aB HC IC",1025:"M"},J:{2:"F",4260:"A"},K:{2:"A B T ZB",545:"C Q",1025:"DB"},L:{1025:"U"},M:{545:"OB"},N:{2340:"A B"},O:{1:"JC"},P:{1025:"G KC LC MC NC OC XB PC QC"},Q:{1025:"RC"},R:{1025:"SC"},S:{4097:"jB"}},B:7,C:"Crisp edges/pixelated images"}},9089:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{2:"C N D I J K L",33:"KB P M R S YB U"},C:{2:"0 1 2 3 4 5 6 7 8 9 eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S kB sB"},D:{2:"G Y O F H E A B C N D I J",33:"0 1 2 3 4 5 6 7 8 9 K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{1:"A B C N D XB T Q mB nB",2:"G Y dB WB",33:"O F H E fB gB hB iB"},F:{2:"E B C oB pB qB rB T ZB tB Q",33:"0 1 2 3 4 5 6 7 8 9 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V"},G:{1:"D 2B 3B 4B 5B 6B 7B 8B 9B AC BC",2:"WB uB aB",33:"H TC xB yB zB 0B 1B"},H:{2:"CC"},I:{2:"bB G DC EC FC GC aB",33:"M HC IC"},J:{2:"F A"},K:{2:"A B C T ZB Q",33:"DB"},L:{33:"U"},M:{2:"OB"},N:{2:"A B"},O:{33:"JC"},P:{33:"G KC LC MC NC OC XB PC QC"},Q:{33:"RC"},R:{33:"SC"},S:{2:"jB"}},B:4,C:"CSS Cross-Fade Function"}},1222:e=>{e.exports={A:{A:{2:"O F H E lB",164:"A B"},B:{66:"KB P M R S YB U",164:"C N D I J K L"},C:{2:"0 1 2 3 4 5 6 7 8 9 eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S kB sB"},D:{2:"G Y O F H E A B C N D I J K L Z a b c d e f g h i",66:"0 1 2 3 4 5 6 7 8 9 j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{2:"G Y O F H E A B C N D dB WB fB gB hB iB XB T Q mB nB"},F:{2:"E B C I J K L Z a b c d e f g h i j k l m n o p q r s t oB pB qB rB T ZB tB Q",66:"0 1 2 3 4 5 6 7 8 9 u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V"},G:{2:"H D WB uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{292:"CC"},I:{2:"bB G M DC EC FC GC aB HC IC"},J:{2:"F A"},K:{2:"A DB",292:"B C T ZB Q"},L:{2:"U"},M:{2:"OB"},N:{164:"A B"},O:{2:"JC"},P:{2:"G KC LC MC NC OC XB PC QC"},Q:{66:"RC"},R:{2:"SC"},S:{2:"jB"}},B:5,C:"CSS Device Adaptation"}},5113:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{2:"C N D I J K L KB P M R S YB U"},C:{33:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",164:"eB bB kB sB"},D:{2:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{2:"G Y O F H E A B C N D dB WB fB gB hB iB XB T Q mB nB"},F:{2:"0 1 2 3 4 5 6 7 8 9 E B C I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V oB pB qB rB T ZB tB Q"},G:{2:"H D WB uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{2:"bB G M DC EC FC GC aB HC IC"},J:{2:"F A"},K:{2:"A B C DB T ZB Q"},L:{2:"U"},M:{33:"OB"},N:{2:"A B"},O:{2:"JC"},P:{2:"G KC LC MC NC OC XB PC QC"},Q:{2:"RC"},R:{2:"SC"},S:{33:"jB"}},B:5,C:"CSS element() function"}},6681:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB G Y O F H E A B C N D I J K L Z a b kB sB"},D:{1:"0 1 2 3 4 5 6 7 8 9 i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"G Y O F H E A B C N D I J K L Z a b c d e f g h"},E:{1:"E A B C N D iB XB T Q mB nB",2:"G Y O F H dB WB fB gB hB"},F:{1:"0 1 2 3 4 5 6 7 8 9 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V Q",2:"E B C oB pB qB rB T ZB tB"},G:{1:"D 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",2:"H WB uB aB TC xB yB zB"},H:{1:"CC"},I:{1:"M HC IC",2:"bB G DC EC FC GC aB"},J:{2:"F A"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{2:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:4,C:"CSS Feature Queries"}},8587:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{2:"C N D I J K L KB P M R S YB U"},C:{2:"0 1 2 3 4 5 6 7 8 9 eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S kB sB"},D:{2:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{1:"A B C N D iB XB T Q mB nB",2:"G Y O F H dB WB fB gB hB",33:"E"},F:{2:"0 1 2 3 4 5 6 7 8 9 E B C I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V oB pB qB rB T ZB tB Q"},G:{1:"D 2B 3B 4B 5B 6B 7B 8B 9B AC BC",2:"H WB uB aB TC xB yB zB",33:"0B 1B"},H:{2:"CC"},I:{2:"bB G M DC EC FC GC aB HC IC"},J:{2:"F A"},K:{2:"A B C DB T ZB Q"},L:{2:"U"},M:{2:"OB"},N:{2:"A B"},O:{2:"JC"},P:{2:"G KC LC MC NC OC XB PC QC"},Q:{2:"RC"},R:{2:"SC"},S:{2:"jB"}},B:5,C:"CSS filter() function"}},184:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{1:"KB P M R S YB U",1028:"N D I J K L",1346:"C"},C:{1:"0 1 2 3 4 5 6 7 8 9 p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB kB",196:"o",516:"G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n sB"},D:{1:"7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"G Y O F H E A B C N D I J K",33:"0 1 2 3 4 5 6 L Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},E:{1:"A B C N D iB XB T Q mB nB",2:"G Y dB WB fB",33:"O F H E gB hB"},F:{1:"0 1 2 3 4 5 6 7 8 9 u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E B C oB pB qB rB T ZB tB Q",33:"I J K L Z a b c d e f g h i j k l m n o p q r s t"},G:{1:"D 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",2:"WB uB aB TC",33:"H xB yB zB 0B"},H:{2:"CC"},I:{1:"M",2:"bB G DC EC FC GC aB",33:"HC IC"},J:{2:"F",33:"A"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{2:"A B"},O:{1:"JC"},P:{1:"MC NC OC XB PC QC",33:"G KC LC"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:5,C:"CSS Filter Effects"}},8615:e=>{e.exports={A:{A:{1:"A B",2:"O F H E lB"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB kB",260:"J K L Z a b c d e f g h i j k l m n o p",292:"G Y O F H E A B C N D I sB"},D:{1:"0 1 2 3 4 5 6 7 8 9 g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",33:"A B C N D I J K L Z a b c d e f",548:"G Y O F H E"},E:{2:"dB WB",260:"F H E A B C N D gB hB iB XB T Q mB nB",292:"O fB",804:"G Y"},F:{1:"0 1 2 3 4 5 6 7 8 9 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V Q",2:"E B oB pB qB rB",33:"C tB",164:"T ZB"},G:{260:"H D yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",292:"TC xB",804:"WB uB aB"},H:{2:"CC"},I:{1:"M HC IC",33:"G GC aB",548:"bB DC EC FC"},J:{1:"A",548:"F"},K:{1:"DB Q",2:"A B",33:"C",164:"T ZB"},L:{1:"U"},M:{1:"OB"},N:{1:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:4,C:"CSS Gradients"}},8490:e=>{e.exports={A:{A:{2:"O F H lB",8:"E",292:"A B"},B:{1:"J K L KB P M R S YB U",292:"C N D I"},C:{1:"8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB G Y O F H E A B C N D I J K L kB sB",8:"Z a b c d e f g h i j k l m n o p q r s t",584:"0 1 2 3 4 5 u v w x y z",1025:"6 7"},D:{1:"CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"G Y O F H E A B C N D I J K L Z a b c d e",8:"f g h i",200:"0 1 2 3 4 5 6 7 8 9 j k l m n o p q r s t u v w x y z AB",1025:"BB"},E:{1:"B C N D XB T Q mB nB",2:"G Y dB WB fB",8:"O F H E A gB hB iB"},F:{1:"0 1 2 3 4 5 6 7 8 9 y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E B C I J K L Z a b c d e f g h oB pB qB rB T ZB tB Q",200:"i j k l m n o p q r s t u v w x"},G:{1:"D 3B 4B 5B 6B 7B 8B 9B AC BC",2:"WB uB aB TC",8:"H xB yB zB 0B 1B 2B"},H:{2:"CC"},I:{1:"M",2:"bB G DC EC FC GC",8:"aB HC IC"},J:{2:"F A"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{292:"A B"},O:{1:"JC"},P:{1:"LC MC NC OC XB PC QC",2:"KC",8:"G"},Q:{1:"RC"},R:{2:"SC"},S:{1:"jB"}},B:4,C:"CSS Grid Layout (level 1)"}},562:e=>{e.exports={A:{A:{2:"O F H E lB",33:"A B"},B:{33:"C N D I J K L",132:"KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB G Y kB sB",33:"O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w"},D:{1:"wB cB",2:"0 1 2 3 4 5 6 7 8 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z",132:"9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB"},E:{2:"G Y dB WB",33:"O F H E A B C N D fB gB hB iB XB T Q mB nB"},F:{2:"E B C I J K L Z a b c d e f g h i j k l m n o p q r s t u v oB pB qB rB T ZB tB Q",132:"0 1 2 3 4 5 6 7 8 9 w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V"},G:{2:"WB uB",33:"H D aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{1:"M",2:"bB G DC EC FC GC aB HC IC"},J:{2:"F A"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{2:"A B"},O:{4:"JC"},P:{1:"LC MC NC OC XB PC QC",2:"G",132:"KC"},Q:{2:"RC"},R:{132:"SC"},S:{1:"jB"}},B:5,C:"CSS Hyphenation"}},8913:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{2:"C N D I J K L",33:"KB P M R S YB U"},C:{2:"0 1 2 3 4 5 6 7 8 9 eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S kB sB"},D:{2:"G Y O F H E A B C N D I J K L Z a",33:"0 1 2 3 4 5 6 7 8 9 b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{2:"G Y dB WB fB",33:"O F H E gB hB iB",129:"A B C N D XB T Q mB nB"},F:{2:"E B C oB pB qB rB T ZB tB Q",33:"0 1 2 3 4 5 6 7 8 9 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V"},G:{2:"WB uB aB TC",33:"H xB yB zB 0B 1B",129:"D 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{2:"bB G DC EC FC GC aB",33:"M HC IC"},J:{2:"F",33:"A"},K:{2:"A B C T ZB Q",33:"DB"},L:{33:"U"},M:{2:"OB"},N:{2:"A B"},O:{33:"JC"},P:{33:"G KC LC MC NC OC XB PC QC"},Q:{33:"RC"},R:{33:"SC"},S:{2:"jB"}},B:5,C:"CSS image-set"}},6341:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{2:"C N D I J K L",3588:"KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB",164:"bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u kB sB"},D:{292:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB",2052:"vB wB cB",3588:"NB FB W V VB QB RB SB TB UB KB P M R S YB U"},E:{292:"G Y O F H E A B C dB WB fB gB hB iB XB T",2052:"nB",3588:"N D Q mB"},F:{2:"E B C oB pB qB rB T ZB tB Q",292:"0 1 2 3 4 5 6 7 8 9 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z",3588:"AB BB CB EB GB HB IB JB X LB MB NB FB W V"},G:{292:"H WB uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B",3588:"D 7B 8B 9B AC BC"},H:{2:"CC"},I:{292:"bB G DC EC FC GC aB HC IC",3588:"M"},J:{292:"F A"},K:{2:"A B C T ZB Q",3588:"DB"},L:{3588:"U"},M:{1:"OB"},N:{2:"A B"},O:{292:"JC"},P:{292:"G KC LC MC NC OC",3588:"XB PC QC"},Q:{3588:"RC"},R:{3588:"SC"},S:{3588:"jB"}},B:5,C:"CSS Logical Properties"}},1905:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{2:"C N D I J",164:"KB P M R S YB U",3138:"K",12292:"L"},C:{1:"7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB",260:"0 1 2 3 4 5 6 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z kB sB"},D:{164:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{2:"dB WB",164:"G Y O F H E A B C N D fB gB hB iB XB T Q mB nB"},F:{2:"E B C oB pB qB rB T ZB tB Q",164:"0 1 2 3 4 5 6 7 8 9 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V"},G:{164:"H D WB uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{164:"M HC IC",676:"bB G DC EC FC GC aB"},J:{164:"F A"},K:{2:"A B C T ZB Q",164:"DB"},L:{164:"U"},M:{1:"OB"},N:{2:"A B"},O:{164:"JC"},P:{164:"G KC LC MC NC OC XB PC QC"},Q:{164:"RC"},R:{164:"SC"},S:{260:"jB"}},B:4,C:"CSS Masks"}},4482:e=>{e.exports={A:{A:{2:"O F H lB",132:"E A B"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB",260:"G Y O F H E A B C N D I kB sB"},D:{1:"0 1 2 3 4 5 6 7 8 9 j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",548:"G Y O F H E A B C N D I J K L Z a b c d e f g h i"},E:{2:"dB WB",548:"G Y O F H E A B C N D fB gB hB iB XB T Q mB nB"},F:{1:"0 1 2 3 4 5 6 7 8 9 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V Q",2:"E",548:"B C oB pB qB rB T ZB tB"},G:{16:"WB",548:"H D uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{132:"CC"},I:{1:"M HC IC",16:"DC EC",548:"bB G FC GC aB"},J:{548:"F A"},K:{1:"DB Q",548:"A B C T ZB"},L:{1:"U"},M:{1:"OB"},N:{132:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:2,C:"Media Queries: resolution feature"}},4422:e=>{e.exports={A:{A:{2:"O F H E lB",132:"A B"},B:{1:"KB P M R S YB U",132:"C N D I J K",516:"L"},C:{1:"DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"0 1 2 3 4 5 6 7 8 9 eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB kB sB"},D:{1:"JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB",260:"HB IB"},E:{2:"G Y O F H E A B C N D dB WB fB gB hB iB XB T Q mB nB"},F:{1:"6 7 8 9 AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"0 1 2 3 E B C I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z oB pB qB rB T ZB tB Q",260:"4 5"},G:{2:"H D WB uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{1:"M",2:"bB G DC EC FC GC aB HC IC"},J:{2:"F A"},K:{2:"A B C DB T ZB Q"},L:{1:"U"},M:{2:"OB"},N:{132:"A B"},O:{2:"JC"},P:{1:"NC OC XB PC QC",2:"G KC LC MC"},Q:{1:"RC"},R:{2:"SC"},S:{2:"jB"}},B:7,C:"CSS overscroll-behavior"}},8814:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{1:"KB P M R S YB U",36:"C N D I J K L"},C:{1:"5 6 7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB G Y O F H E A B C N D I J K L kB sB",33:"0 1 2 3 4 Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},D:{1:"BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",36:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB"},E:{1:"B C N D XB T Q mB nB",2:"G dB WB",36:"Y O F H E A fB gB hB iB"},F:{1:"0 1 2 3 4 5 6 7 8 9 y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E B C oB pB qB rB T ZB tB Q",36:"I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{1:"D 3B 4B 5B 6B 7B 8B 9B AC BC",2:"WB uB",36:"H aB TC xB yB zB 0B 1B 2B"},H:{2:"CC"},I:{1:"M",36:"bB G DC EC FC GC aB HC IC"},J:{36:"F A"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{36:"A B"},O:{1:"JC"},P:{1:"MC NC OC XB PC QC",36:"G KC LC"},Q:{1:"RC"},R:{1:"SC"},S:{33:"jB"}},B:5,C:"::placeholder CSS pseudo-element"}},6541:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{1:"N D I J K L KB P M R S YB U",2:"C"},C:{1:"UB KB P M OB R S",16:"eB",33:"0 1 2 3 4 5 6 7 8 9 bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB kB sB"},D:{1:"0 1 2 3 4 5 6 7 8 9 q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",16:"G Y O F H E A B C N D",132:"I J K L Z a b c d e f g h i j k l m n o p"},E:{1:"E A B C N D iB XB T Q mB nB",16:"dB WB",132:"G Y O F H fB gB hB"},F:{1:"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",16:"E B oB pB qB rB T",132:"C I J K L Z a b c ZB tB Q"},G:{1:"D 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",16:"WB uB",132:"H aB TC xB yB zB"},H:{2:"CC"},I:{1:"M",16:"DC EC",132:"bB G FC GC aB HC IC"},J:{1:"A",132:"F"},K:{1:"DB",2:"A B T",132:"C ZB Q"},L:{1:"U"},M:{1:"OB"},N:{2:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{33:"jB"}},B:1,C:"CSS :read-only and :read-write selectors"}},9373:e=>{e.exports={A:{A:{2:"O F H E lB",420:"A B"},B:{2:"KB P M R S YB U",420:"C N D I J K L"},C:{2:"0 1 2 3 4 5 6 7 8 9 eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S kB sB"},D:{2:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",36:"I J K L",66:"Z a b c d e f g h i j k l m n o"},E:{2:"G Y O C N D dB WB fB T Q mB nB",33:"F H E A B gB hB iB XB"},F:{2:"0 1 2 3 4 5 6 7 8 9 E B C I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V oB pB qB rB T ZB tB Q"},G:{2:"D WB uB aB TC xB 5B 6B 7B 8B 9B AC BC",33:"H yB zB 0B 1B 2B 3B 4B"},H:{2:"CC"},I:{2:"bB G M DC EC FC GC aB HC IC"},J:{2:"F A"},K:{2:"A B C DB T ZB Q"},L:{2:"U"},M:{2:"OB"},N:{420:"A B"},O:{2:"JC"},P:{2:"G KC LC MC NC OC XB PC QC"},Q:{2:"RC"},R:{2:"SC"},S:{2:"jB"}},B:5,C:"CSS Regions"}},9335:e=>{e.exports={A:{A:{1:"E A B",2:"O F H lB"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",33:"0 1 2 3 4 5 6 7 8 9 eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB kB sB"},D:{1:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{1:"G Y O F H E A B C N D dB WB fB gB hB iB XB T Q mB nB"},F:{1:"0 1 2 3 4 5 6 7 8 9 B C I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V oB pB qB rB T ZB tB Q",2:"E"},G:{2:"H D WB uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{1:"M HC IC",2:"bB G DC EC FC GC aB"},J:{1:"A",2:"F"},K:{1:"C DB ZB Q",16:"A B T"},L:{1:"U"},M:{1:"OB"},N:{1:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{33:"jB"}},B:5,C:"::selection CSS pseudo-element"}},9471:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{1:"KB P M R S YB U",2:"C N D I J K L"},C:{1:"GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"0 1 2 3 4 eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z kB sB",322:"5 6 7 8 9 AB BB CB DB EB PB"},D:{1:"0 1 2 3 4 5 6 7 8 9 r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n",194:"o p q"},E:{1:"B C N D XB T Q mB nB",2:"G Y O F dB WB fB gB",33:"H E A hB iB"},F:{1:"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E B C I J K L Z a b c d oB pB qB rB T ZB tB Q"},G:{1:"D 3B 4B 5B 6B 7B 8B 9B AC BC",2:"WB uB aB TC xB yB",33:"H zB 0B 1B 2B"},H:{2:"CC"},I:{1:"M",2:"bB G DC EC FC GC aB HC IC"},J:{2:"F A"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{2:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{2:"jB"}},B:4,C:"CSS Shapes Level 1"}},2782:e=>{e.exports={A:{A:{2:"O F H E lB",6308:"A",6436:"B"},B:{1:"KB P M R S YB U",6436:"C N D I J K L"},C:{1:"MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s kB sB",2052:"0 1 2 3 4 5 6 7 8 9 t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB"},D:{1:"NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB",8258:"X LB MB"},E:{1:"B C N D T Q mB nB",2:"G Y O F H dB WB fB gB hB",3108:"E A iB XB"},F:{1:"IB JB X LB MB NB FB W V",2:"0 1 2 3 4 5 6 7 E B C I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z oB pB qB rB T ZB tB Q",8258:"8 9 AB BB CB EB GB HB"},G:{1:"D 4B 5B 6B 7B 8B 9B AC BC",2:"H WB uB aB TC xB yB zB",3108:"0B 1B 2B 3B"},H:{2:"CC"},I:{1:"M",2:"bB G DC EC FC GC aB HC IC"},J:{2:"F A"},K:{2:"A B C DB T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{2:"A B"},O:{2:"JC"},P:{1:"XB PC QC",2:"G KC LC MC NC OC"},Q:{2:"RC"},R:{2:"SC"},S:{2052:"jB"}},B:4,C:"CSS Scroll Snap"}},72:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{2:"C N D I",1028:"KB P M R S YB U",4100:"J K L"},C:{1:"DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB G Y O F H E A B C N D I J K L Z a b c d e f kB sB",194:"g h i j k l",516:"0 1 2 3 4 5 6 7 8 9 m n o p q r s t u v w x y z AB BB CB"},D:{2:"0 1 2 3 4 5 G Y O F H E A B C N D I J K L Z a b c r s t u v w x y z",322:"6 7 8 9 d e f g h i j k l m n o p q",1028:"AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{1:"N D mB nB",2:"G Y O dB WB fB",33:"H E A B C hB iB XB T Q",2084:"F gB"},F:{2:"E B C I J K L Z a b c d e f g h i j k l m n o p q r s oB pB qB rB T ZB tB Q",322:"t u v",1028:"0 1 2 3 4 5 6 7 8 9 w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V"},G:{1:"D 8B 9B AC BC",2:"WB uB aB TC",33:"H zB 0B 1B 2B 3B 4B 5B 6B 7B",2084:"xB yB"},H:{2:"CC"},I:{2:"bB G DC EC FC GC aB HC IC",1028:"M"},J:{2:"F A"},K:{2:"A B C T ZB Q",1028:"DB"},L:{1028:"U"},M:{1:"OB"},N:{2:"A B"},O:{1028:"JC"},P:{1:"LC MC NC OC XB PC QC",2:"G KC"},Q:{1028:"RC"},R:{2:"SC"},S:{516:"jB"}},B:5,C:"CSS position:sticky"}},2250:e=>{e.exports={A:{A:{132:"O F H E A B lB"},B:{1:"KB P M R S YB U",4:"C N D I J K L"},C:{1:"3 4 5 6 7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB G Y O F H E A B kB sB",33:"0 1 2 C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},D:{1:"1 2 3 4 5 6 7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o",322:"0 p q r s t u v w x y z"},E:{2:"G Y O F H E A B C N D dB WB fB gB hB iB XB T Q mB nB"},F:{1:"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E B C I J K L Z a b oB pB qB rB T ZB tB Q",578:"c d e f g h i j k l m n"},G:{2:"H D WB uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{1:"M",2:"bB G DC EC FC GC aB HC IC"},J:{2:"F A"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{132:"A B"},O:{1:"JC"},P:{1:"KC LC MC NC OC XB PC QC",2:"G"},Q:{2:"RC"},R:{1:"SC"},S:{33:"jB"}},B:5,C:"CSS3 text-align-last"}},5340:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{1:"KB P M R S YB U",2:"C N D I J K L"},C:{1:"0 1 2 3 4 5 6 7 8 9 v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r kB sB",194:"s t u"},D:{1:"2 3 4 5 6 7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"0 1 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},E:{2:"G Y O F H E dB WB fB gB hB iB",16:"A",33:"B C N D XB T Q mB nB"},F:{1:"0 1 2 3 4 5 6 7 8 9 p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E B C I J K L Z a b c d e f g h i j k l m n o oB pB qB rB T ZB tB Q"},G:{1:"D 2B 3B 4B 5B 6B 7B 8B 9B AC BC",2:"H WB uB aB TC xB yB zB 0B 1B"},H:{2:"CC"},I:{1:"M",2:"bB G DC EC FC GC aB HC IC"},J:{2:"F A"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{2:"A B"},O:{1:"JC"},P:{1:"KC LC MC NC OC XB PC QC",2:"G"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:4,C:"CSS text-orientation"}},9971:e=>{e.exports={A:{A:{2:"O F lB",161:"H E A B"},B:{2:"KB P M R S YB U",161:"C N D I J K L"},C:{2:"0 1 2 3 4 5 6 7 8 9 eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S kB sB"},D:{2:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{2:"G Y O F H E A B C N D dB WB fB gB hB iB XB T Q mB nB"},F:{2:"0 1 2 3 4 5 6 7 8 9 E B C I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V oB pB qB rB T ZB tB Q"},G:{2:"H D WB uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{2:"bB G M DC EC FC GC aB HC IC"},J:{2:"F A"},K:{2:"A B C DB T ZB Q"},L:{2:"U"},M:{2:"OB"},N:{16:"A B"},O:{2:"JC"},P:{2:"G KC LC MC NC OC XB PC QC"},Q:{2:"RC"},R:{2:"SC"},S:{2:"jB"}},B:5,C:"CSS Text 4 text-spacing"}},3409:e=>{e.exports={A:{A:{1:"A B",2:"O F H E lB"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB kB sB",33:"Y O F H E A B C N D I",164:"G"},D:{1:"0 1 2 3 4 5 6 7 8 9 g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",33:"G Y O F H E A B C N D I J K L Z a b c d e f"},E:{1:"F H E A B C N D gB hB iB XB T Q mB nB",33:"O fB",164:"G Y dB WB"},F:{1:"0 1 2 3 4 5 6 7 8 9 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V Q",2:"E oB pB",33:"C",164:"B qB rB T ZB tB"},G:{1:"H D yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",33:"xB",164:"WB uB aB TC"},H:{2:"CC"},I:{1:"M HC IC",33:"bB G DC EC FC GC aB"},J:{1:"A",33:"F"},K:{1:"DB Q",33:"C",164:"A B T ZB"},L:{1:"U"},M:{1:"OB"},N:{1:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:5,C:"CSS3 Transitions"}},517:e=>{e.exports={A:{A:{132:"O F H E A B lB"},B:{1:"KB P M R S YB U",132:"C N D I J K L"},C:{1:"4 5 6 7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",33:"0 1 2 3 K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z",132:"eB bB G Y O F H E kB sB",292:"A B C N D I J"},D:{1:"2 3 4 5 6 7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",132:"G Y O F H E A B C N D I J",548:"0 1 K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},E:{132:"G Y O F H dB WB fB gB hB",548:"E A B C N D iB XB T Q mB nB"},F:{132:"0 1 2 3 4 5 6 7 8 9 E B C I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V oB pB qB rB T ZB tB Q"},G:{132:"H WB uB aB TC xB yB zB",548:"D 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{16:"CC"},I:{1:"M",16:"bB G DC EC FC GC aB HC IC"},J:{16:"F A"},K:{16:"A B C DB T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{132:"A B"},O:{16:"JC"},P:{1:"KC LC MC NC OC XB PC QC",16:"G"},Q:{16:"RC"},R:{16:"SC"},S:{33:"jB"}},B:4,C:"CSS unicode-bidi property"}},3726:e=>{e.exports={A:{A:{132:"O F H E A B lB"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p kB sB",322:"q r s t u"},D:{1:"2 3 4 5 6 7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"G Y O",16:"F",33:"0 1 H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},E:{1:"B C N D T Q mB nB",2:"G dB WB",16:"Y",33:"O F H E A fB gB hB iB XB"},F:{1:"0 1 2 3 4 5 6 7 8 9 p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E B C oB pB qB rB T ZB tB Q",33:"I J K L Z a b c d e f g h i j k l m n o"},G:{1:"D 4B 5B 6B 7B 8B 9B AC BC",16:"WB uB aB",33:"H TC xB yB zB 0B 1B 2B 3B"},H:{2:"CC"},I:{1:"M",2:"DC EC FC",33:"bB G GC aB HC IC"},J:{33:"F A"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{36:"A B"},O:{1:"JC"},P:{1:"KC LC MC NC OC XB PC QC",33:"G"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:4,C:"CSS writing-mode property"}},3568:e=>{e.exports={A:{A:{1:"H E A B",8:"O F lB"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",33:"eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i kB sB"},D:{1:"0 1 2 3 4 5 6 7 8 9 A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",33:"G Y O F H E"},E:{1:"O F H E A B C N D fB gB hB iB XB T Q mB nB",33:"G Y dB WB"},F:{1:"0 1 2 3 4 5 6 7 8 9 B C I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V oB pB qB rB T ZB tB Q",2:"E"},G:{1:"H D TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",33:"WB uB aB"},H:{1:"CC"},I:{1:"G M GC aB HC IC",33:"bB DC EC FC"},J:{1:"A",33:"F"},K:{1:"A B C DB T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{1:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:5,C:"CSS3 Box-sizing"}},4968:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{1:"I J K L KB P M R S YB U",2:"C N D"},C:{1:"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",33:"eB bB G Y O F H E A B C N D I J K L Z a b c d e f g kB sB"},D:{1:"MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",33:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB"},E:{1:"B C N D T Q mB nB",33:"G Y O F H E A dB WB fB gB hB iB XB"},F:{1:"9 C AB BB CB EB GB HB IB JB X LB MB NB FB W V tB Q",2:"E B oB pB qB rB T ZB",33:"0 1 2 3 4 5 6 7 8 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},G:{2:"H D WB uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{1:"M",2:"bB G DC EC FC GC aB HC IC"},J:{33:"F A"},K:{2:"A B C T ZB Q",33:"DB"},L:{1:"U"},M:{2:"OB"},N:{2:"A B"},O:{2:"JC"},P:{2:"G KC LC MC NC OC XB PC QC"},Q:{33:"RC"},R:{2:"SC"},S:{2:"jB"}},B:3,C:"CSS grab & grabbing cursors"}},7294:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",33:"eB bB G Y O F H E A B C N D I J K L Z a b c d kB sB"},D:{1:"0 1 2 3 4 5 6 7 8 9 r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",33:"G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q"},E:{1:"E A B C N D iB XB T Q mB nB",33:"G Y O F H dB WB fB gB hB"},F:{1:"0 1 2 3 4 5 6 7 8 9 C e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V tB Q",2:"E B oB pB qB rB T ZB",33:"I J K L Z a b c d"},G:{2:"H D WB uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{1:"M",2:"bB G DC EC FC GC aB HC IC"},J:{33:"F A"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{2:"OB"},N:{2:"A B"},O:{2:"JC"},P:{2:"G KC LC MC NC OC XB PC QC"},Q:{2:"RC"},R:{2:"SC"},S:{2:"jB"}},B:4,C:"CSS3 Cursors: zoom-in & zoom-out"}},6340:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{1:"KB P M R S YB U",2:"C N D I J K L"},C:{2:"eB bB kB sB",33:"7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",164:"0 1 2 3 4 5 6 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},D:{1:"0 1 2 3 4 5 6 7 8 9 w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"G Y O F H E A B C N D I J K L Z a",132:"b c d e f g h i j k l m n o p q r s t u v"},E:{1:"D mB nB",2:"G Y O dB WB fB",132:"F H E A B C N gB hB iB XB T Q"},F:{1:"0 1 2 3 4 5 6 7 8 9 j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E oB pB qB",132:"I J K L Z a b c d e f g h i",164:"B C rB T ZB tB Q"},G:{1:"D BC",2:"WB uB aB TC xB",132:"H yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC"},H:{164:"CC"},I:{1:"M",2:"bB G DC EC FC GC aB",132:"HC IC"},J:{132:"F A"},K:{1:"DB",2:"A",164:"B C T ZB Q"},L:{1:"U"},M:{33:"OB"},N:{2:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{164:"jB"}},B:5,C:"CSS3 tab-size"}},6296:e=>{e.exports={A:{A:{2:"O F H E lB",1028:"B",1316:"A"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",164:"eB bB G Y O F H E A B C N D I J K L Z a b kB sB",516:"c d e f g h"},D:{1:"0 1 2 3 4 5 6 7 8 9 j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",33:"b c d e f g h i",164:"G Y O F H E A B C N D I J K L Z a"},E:{1:"E A B C N D iB XB T Q mB nB",33:"F H gB hB",164:"G Y O dB WB fB"},F:{1:"0 1 2 3 4 5 6 7 8 9 K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V Q",2:"E B C oB pB qB rB T ZB tB",33:"I J"},G:{1:"D 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",33:"H yB zB",164:"WB uB aB TC xB"},H:{1:"CC"},I:{1:"M HC IC",164:"bB G DC EC FC GC aB"},J:{1:"A",164:"F"},K:{1:"DB Q",2:"A B C T ZB"},L:{1:"U"},M:{1:"OB"},N:{1:"B",292:"A"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:4,C:"CSS Flexible Box Layout Module"}},3519:e=>{e.exports={A:{A:{1:"A B",2:"O F H E lB"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB kB sB",33:"I J K L Z a b c d e f g h i j k l m n",164:"G Y O F H E A B C N D"},D:{1:"2 3 4 5 6 7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"G Y O F H E A B C N D I",33:"0 1 b c d e f g h i j k l m n o p q r s t u v w x y z",292:"J K L Z a"},E:{1:"A B C N D iB XB T Q mB nB",2:"F H E dB WB gB hB",4:"G Y O fB"},F:{1:"0 1 2 3 4 5 6 7 8 9 p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E B C oB pB qB rB T ZB tB Q",33:"I J K L Z a b c d e f g h i j k l m n o"},G:{1:"D 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",2:"H yB zB 0B",4:"WB uB aB TC xB"},H:{2:"CC"},I:{1:"M",2:"bB G DC EC FC GC aB",33:"HC IC"},J:{2:"F",33:"A"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{2:"A B"},O:{1:"JC"},P:{1:"KC LC MC NC OC XB PC QC",33:"G"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:4,C:"CSS font-feature-settings"}},9573:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{1:"KB P M R S YB U",2:"C N D I J K L"},C:{1:"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB G Y O F H E A B C N D I J K L Z a b c d kB sB",194:"e f g h i j k l m n"},D:{1:"0 1 2 3 4 5 6 7 8 9 n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"G Y O F H E A B C N D I J K L Z a b c d e f g h i",33:"j k l m"},E:{1:"A B C N D iB XB T Q mB nB",2:"G Y O dB WB fB gB",33:"F H E hB"},F:{1:"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E B C I oB pB qB rB T ZB tB Q",33:"J K L Z"},G:{2:"WB uB aB TC xB yB",33:"H D zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{1:"M IC",2:"bB G DC EC FC GC aB",33:"HC"},J:{2:"F",33:"A"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{2:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:4,C:"CSS3 font-kerning"}},6626:e=>{e.exports={A:{A:{2:"O F H E A lB",548:"B"},B:{1:"KB P M R S YB U",516:"C N D I J K L"},C:{1:"IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB G Y O F H E kB sB",676:"0 A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z",1700:"1 2 3 4 5 6 7 8 9 AB BB CB DB EB PB GB HB"},D:{1:"W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"G Y O F H E A B C N D",676:"I J K L Z",804:"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB"},E:{2:"G Y dB WB",676:"fB",804:"O F H E A B C N D gB hB iB XB T Q mB nB"},F:{1:"IB JB X LB MB NB FB W V Q",2:"E B C oB pB qB rB T ZB tB",804:"0 1 2 3 4 5 6 7 8 9 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB"},G:{2:"H WB uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B",2052:"D 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{2:"bB G M DC EC FC GC aB HC IC"},J:{2:"F",292:"A"},K:{2:"A B C T ZB Q",804:"DB"},L:{804:"U"},M:{1:"OB"},N:{2:"A",548:"B"},O:{804:"JC"},P:{1:"XB PC QC",804:"G KC LC MC NC OC"},Q:{804:"RC"},R:{804:"SC"},S:{1:"jB"}},B:1,C:"Full Screen API"}},5736:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{2:"C N D I J K L",1537:"KB P M R S YB U"},C:{2:"eB",932:"0 1 2 3 4 5 6 7 8 9 bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB kB sB",2308:"X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S"},D:{2:"G Y O F H E A B C N D I J K L Z a b",545:"c d e f g h i j k l m n o p q r s t u v w x y z",1537:"0 1 2 3 4 5 6 7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{2:"G Y O dB WB fB",516:"B C N D T Q mB nB",548:"E A iB XB",676:"F H gB hB"},F:{2:"E B C oB pB qB rB T ZB tB Q",513:"o",545:"I J K L Z a b c d e f g h i j k l m",1537:"0 1 2 3 4 5 6 7 8 9 n p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V"},G:{2:"WB uB aB TC xB",548:"D 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",676:"H yB zB"},H:{2:"CC"},I:{2:"bB G DC EC FC GC aB",545:"HC IC",1537:"M"},J:{2:"F",545:"A"},K:{2:"A B C T ZB Q",1537:"DB"},L:{1537:"U"},M:{2340:"OB"},N:{2:"A B"},O:{1:"JC"},P:{545:"G",1537:"KC LC MC NC OC XB PC QC"},Q:{545:"RC"},R:{1537:"SC"},S:{932:"jB"}},B:5,C:"Intrinsic & Extrinsic Sizing"}},9086:e=>{e.exports={A:{A:{1:"A B",2:"O F H E lB"},B:{1:"C N D I J K L",516:"KB P M R S YB U"},C:{132:"6 7 8 9 AB BB CB DB EB PB GB HB IB",164:"0 1 2 3 4 5 eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z kB sB",516:"JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S"},D:{420:"0 1 2 3 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z",516:"4 5 6 7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{1:"A B C N D XB T Q mB nB",132:"E iB",164:"F H hB",420:"G Y O dB WB fB gB"},F:{1:"C T ZB tB Q",2:"E B oB pB qB rB",420:"I J K L Z a b c d e f g h i j k l m n o p q",516:"0 1 2 3 4 5 6 7 8 9 r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V"},G:{1:"D 2B 3B 4B 5B 6B 7B 8B 9B AC BC",132:"0B 1B",164:"H yB zB",420:"WB uB aB TC xB"},H:{1:"CC"},I:{420:"bB G DC EC FC GC aB HC IC",516:"M"},J:{420:"F A"},K:{1:"C T ZB Q",2:"A B",516:"DB"},L:{516:"U"},M:{132:"OB"},N:{1:"A B"},O:{1:"JC"},P:{1:"KC LC MC NC OC XB PC QC",420:"G"},Q:{132:"RC"},R:{132:"SC"},S:{164:"jB"}},B:4,C:"CSS3 Multiple column layout"}},6904:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{1:"KB P M R S YB U",2:"C N D I",260:"J K L"},C:{1:"0 1 2 3 4 5 6 7 8 9 q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p kB sB"},D:{1:"0 1 2 3 4 5 6 7 8 9 l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"G Y O F H E A B C N D I J K L Z a b c d e f g h i j k"},E:{1:"A B C N D XB T Q mB nB",2:"G Y O F dB WB fB gB",132:"H E hB iB"},F:{1:"0 1 2 3 4 5 6 7 8 9 Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E I J K L oB pB qB",33:"B C rB T ZB tB Q"},G:{1:"D 2B 3B 4B 5B 6B 7B 8B 9B AC BC",2:"WB uB aB TC xB yB",132:"H zB 0B 1B"},H:{33:"CC"},I:{1:"M IC",2:"bB G DC EC FC GC aB HC"},J:{2:"F A"},K:{1:"DB",2:"A",33:"B C T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{2:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:4,C:"CSS3 object-fit/object-position"}},4480:e=>{e.exports={A:{A:{1:"B",2:"O F H E lB",164:"A"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB G Y kB sB",8:"O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u",328:"0 1 2 3 4 5 6 7 8 9 v w x y z AB BB CB"},D:{1:"9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"G Y O F H E A B C N D I J K L Z a b",8:"0 1 2 3 4 5 c d e f g h i j k l m n o p q r s t u v w x y z",584:"6 7 8"},E:{1:"N D mB nB",2:"G Y O dB WB fB",8:"F H E A B C gB hB iB XB T",1096:"Q"},F:{1:"0 1 2 3 4 5 6 7 8 9 w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E B C oB pB qB rB T ZB tB Q",8:"I J K L Z a b c d e f g h i j k l m n o p q r s",584:"t u v"},G:{1:"D 9B AC BC",8:"H WB uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B",6148:"8B"},H:{2:"CC"},I:{1:"M",8:"bB G DC EC FC GC aB HC IC"},J:{8:"F A"},K:{1:"DB",2:"A",8:"B C T ZB Q"},L:{1:"U"},M:{328:"OB"},N:{1:"B",36:"A"},O:{8:"JC"},P:{1:"LC MC NC OC XB PC QC",2:"KC",8:"G"},Q:{1:"RC"},R:{2:"SC"},S:{328:"jB"}},B:2,C:"Pointer events"}},7150:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{2:"C N D I J K L",2052:"KB P M R S YB U"},C:{2:"eB bB G Y kB sB",1028:"0 1 2 3 4 5 6 7 8 9 q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",1060:"O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p"},D:{2:"G Y O F H E A B C N D I J K L Z a b c d e f",226:"0 1 2 3 4 5 6 7 8 9 g h i j k l m n o p q r s t u v w x y z AB",2052:"BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{2:"G Y O F dB WB fB gB",772:"N D Q mB nB",804:"H E A B C iB XB T",1316:"hB"},F:{2:"E B C I J K L Z a b c d e f g h i j k l m n o oB pB qB rB T ZB tB Q",226:"p q r s t u v w x",2052:"0 1 2 3 4 5 6 7 8 9 y z AB BB CB EB GB HB IB JB X LB MB NB FB W V"},G:{2:"WB uB aB TC xB yB",292:"H D zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{1:"M",2:"bB G DC EC FC GC aB HC IC"},J:{2:"F A"},K:{2:"A B C T ZB Q",2052:"DB"},L:{2052:"U"},M:{1:"OB"},N:{2:"A B"},O:{2052:"JC"},P:{2:"G KC LC",2052:"MC NC OC XB PC QC"},Q:{2:"RC"},R:{1:"SC"},S:{1028:"jB"}},B:4,C:"text-decoration styling"}},1082:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{2:"C N D I J K L",164:"KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y kB sB",322:"z"},D:{2:"G Y O F H E A B C N D I J K L Z a b c d e",164:"0 1 2 3 4 5 6 7 8 9 f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{1:"H E A B C N D hB iB XB T Q mB nB",2:"G Y O dB WB fB",164:"F gB"},F:{2:"E B C oB pB qB rB T ZB tB Q",164:"0 1 2 3 4 5 6 7 8 9 I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V"},G:{1:"H D yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",2:"WB uB aB TC xB"},H:{2:"CC"},I:{2:"bB G DC EC FC GC aB",164:"M HC IC"},J:{2:"F",164:"A"},K:{2:"A B C T ZB Q",164:"DB"},L:{164:"U"},M:{1:"OB"},N:{2:"A B"},O:{164:"JC"},P:{164:"G KC LC MC NC OC XB PC QC"},Q:{164:"RC"},R:{164:"SC"},S:{1:"jB"}},B:4,C:"text-emphasis styling"}},3613:e=>{e.exports={A:{A:{1:"O F H E A B",2:"lB"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",8:"eB bB G Y O kB sB"},D:{1:"0 1 2 3 4 5 6 7 8 9 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB"},E:{1:"G Y O F H E A B C N D dB WB fB gB hB iB XB T Q mB nB"},F:{1:"0 1 2 3 4 5 6 7 8 9 B C I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V T ZB tB Q",33:"E oB pB qB rB"},G:{1:"H D WB uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{1:"CC"},I:{1:"bB G M DC EC FC GC aB HC IC"},J:{1:"F A"},K:{1:"DB Q",33:"A B C T ZB"},L:{1:"U"},M:{1:"OB"},N:{1:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:4,C:"CSS3 Text-overflow"}},3251:e=>{e.exports={A:{A:{2:"O F H E A B lB"},B:{1:"KB P M R S YB U",33:"C N D I J K L"},C:{2:"0 1 2 3 4 5 6 7 8 9 eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S kB sB"},D:{1:"8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"0 1 2 3 4 5 6 7 G Y O F H E A B C N D I J K L Z a b c d e f h i j k l m n o p q r s t u v w x y z",258:"g"},E:{2:"G Y O F H E A B C N D dB WB gB hB iB XB T Q mB nB",258:"fB"},F:{1:"0 1 2 3 4 5 6 7 8 9 x z AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E B C I J K L Z a b c d e f g h i j k l m n o p q r s t u v w y oB pB qB rB T ZB tB Q"},G:{2:"WB uB aB",33:"H D TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{1:"M",2:"bB G DC EC FC GC aB HC IC"},J:{2:"F A"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{33:"OB"},N:{161:"A B"},O:{1:"JC"},P:{1:"KC LC MC NC OC XB PC QC",2:"G"},Q:{2:"RC"},R:{2:"SC"},S:{2:"jB"}},B:7,C:"CSS text-size-adjust"}},9357:e=>{e.exports={A:{A:{2:"lB",8:"O F H",129:"A B",161:"E"},B:{1:"K L KB P M R S YB U",129:"C N D I J"},C:{1:"0 1 2 3 4 5 6 7 8 9 J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB",33:"G Y O F H E A B C N D I kB sB"},D:{1:"0 1 2 3 4 5 6 7 8 9 q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",33:"G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p"},E:{1:"E A B C N D iB XB T Q mB nB",33:"G Y O F H dB WB fB gB hB"},F:{1:"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V Q",2:"E oB pB",33:"B C I J K L Z a b c qB rB T ZB tB"},G:{1:"D 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC",33:"H WB uB aB TC xB yB zB"},H:{2:"CC"},I:{1:"M",33:"bB G DC EC FC GC aB HC IC"},J:{33:"F A"},K:{1:"B C DB T ZB Q",2:"A"},L:{1:"U"},M:{1:"OB"},N:{1:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:5,C:"CSS3 2D Transforms"}},5165:e=>{e.exports={A:{A:{2:"O F H E lB",132:"A B"},B:{1:"C N D I J K L KB P M R S YB U"},C:{1:"0 1 2 3 4 5 6 7 8 9 J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M OB R S",2:"eB bB G Y O F H E kB sB",33:"A B C N D I"},D:{1:"0 1 2 3 4 5 6 7 8 9 q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",2:"G Y O F H E A B",33:"C N D I J K L Z a b c d e f g h i j k l m n o p"},E:{2:"dB WB",33:"G Y O F H fB gB hB",257:"E A B C N D iB XB T Q mB nB"},F:{1:"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E B C oB pB qB rB T ZB tB Q",33:"I J K L Z a b c"},G:{33:"H WB uB aB TC xB yB zB",257:"D 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{1:"M",2:"DC EC FC",33:"bB G GC aB HC IC"},J:{33:"F A"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{132:"A B"},O:{1:"JC"},P:{1:"G KC LC MC NC OC XB PC QC"},Q:{1:"RC"},R:{1:"SC"},S:{1:"jB"}},B:5,C:"CSS3 3D Transforms"}},2312:e=>{e.exports={A:{A:{2:"O F H E lB",33:"A B"},B:{1:"KB P M R S YB U",33:"C N D I J K L"},C:{1:"NB FB W V VB QB RB SB TB UB KB P M OB R S",33:"0 1 2 3 4 5 6 7 8 9 eB bB G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB PB GB HB IB JB X LB MB kB sB"},D:{1:"8 9 AB BB CB DB EB PB GB HB IB JB X LB MB NB FB W V VB QB RB SB TB UB KB P M R S YB U vB wB cB",33:"0 1 2 3 4 5 6 7 G Y O F H E A B C N D I J K L Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},E:{33:"G Y O F H E A B C N D dB WB fB gB hB iB XB T Q mB nB"},F:{1:"0 1 2 3 4 5 6 7 8 9 v w x y z AB BB CB EB GB HB IB JB X LB MB NB FB W V",2:"E B C oB pB qB rB T ZB tB Q",33:"I J K L Z a b c d e f g h i j k l m n o p q r s t u"},G:{33:"H D WB uB aB TC xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC"},H:{2:"CC"},I:{1:"M",33:"bB G DC EC FC GC aB HC IC"},J:{33:"F A"},K:{1:"DB",2:"A B C T ZB Q"},L:{1:"U"},M:{1:"OB"},N:{33:"A B"},O:{2:"JC"},P:{1:"LC MC NC OC XB PC QC",33:"G KC"},Q:{1:"RC"},R:{2:"SC"},S:{33:"jB"}},B:5,C:"CSS user-select: none"}},7232:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(2043));const i=/:blank([^\w-]|$)/gi;var o=n.plugin("css-blank-pseudo",e=>{const r=String(Object(e).replaceWith||"[blank]");const t=Boolean("preserve"in Object(e)?e.preserve:true);return e=>{e.walkRules(i,e=>{const n=e.selector.replace(i,(e,t)=>{return`${r}${t}`});const o=e.clone({selector:n});if(t){e.before(o)}else{e.replaceWith(o)}})}});e.exports=o},8071:e=>{"use strict";var r={};var t=r.hasOwnProperty;var n=function merge(e,r){if(!e){return r}var n={};for(var i in r){n[i]=t.call(e,i)?e[i]:r[i]}return n};var i=/[ -,\.\/;-@\[-\^`\{-~]/;var o=/[ -,\.\/;-@\[\]\^`\{-~]/;var s=/['"\\]/;var a=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g;var u=function cssesc(e,r){r=n(r,cssesc.options);if(r.quotes!="single"&&r.quotes!="double"){r.quotes="single"}var t=r.quotes=="double"?'"':"'";var s=r.isIdentifier;var u=e.charAt(0);var c="";var f=0;var l=e.length;while(f126){if(h>=55296&&h<=56319&&f{"use strict";r.__esModule=true;var n=t(3103);var i=_interopRequireDefault(n);var o=t(610);var s=_interopRequireWildcard(o);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var r={};if(e!=null){for(var t in e){if(Object.prototype.hasOwnProperty.call(e,t))r[t]=e[t]}}r.default=e;return r}}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var a=function parser(e){return new i.default(e)};Object.assign(a,s);delete a.__esModule;r.default=a;e.exports=r["default"]},7031:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t1&&arguments[1]!==undefined?arguments[1]:{};_classCallCheck(this,Parser);this.rule=e;this.options=Object.assign({lossy:false,safe:false},r);this.position=0;this.css=typeof this.rule==="string"?this.rule:this.rule.selector;this.tokens=(0,N.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var t=getTokenSourceSpan(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new p.default({source:t});this.root.errorGenerator=this._errorGenerator();var n=new B.default({source:{start:{line:1,column:1}}});this.root.append(n);this.current=n;this.loop()}Parser.prototype._errorGenerator=function _errorGenerator(){var e=this;return function(r,t){if(typeof e.rule==="string"){return new Error(r)}return e.rule.error(r,t)}};Parser.prototype.attribute=function attribute(){var e=[];var r=this.currToken;this.position++;while(this.position1&&arguments[1]!==undefined?arguments[1]:false;var n="";var i="";e.forEach(function(e){var o=r.lossySpace(e.spaces.before,t);var s=r.lossySpace(e.rawSpaceBefore,t);n+=o+r.lossySpace(e.spaces.after,t&&o.length===0);i+=o+e.value+r.lossySpace(e.rawSpaceAfter,t&&s.length===0)});if(i===n){i=undefined}var o={space:n,rawSpace:i};return o};Parser.prototype.isNamedCombinator=function isNamedCombinator(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:this.position;return this.tokens[e+0]&&this.tokens[e+0][M.FIELDS.TYPE]===q.slash&&this.tokens[e+1]&&this.tokens[e+1][M.FIELDS.TYPE]===q.word&&this.tokens[e+2]&&this.tokens[e+2][M.FIELDS.TYPE]===q.slash};Parser.prototype.namedCombinator=function namedCombinator(){if(this.isNamedCombinator()){var e=this.content(this.tokens[this.position+1]);var r=(0,H.unesc)(e).toLowerCase();var t={};if(r!==e){t.value="/"+e+"/"}var n=new R.default({value:"/"+r+"/",source:getSource(this.currToken[M.FIELDS.START_LINE],this.currToken[M.FIELDS.START_COL],this.tokens[this.position+2][M.FIELDS.END_LINE],this.tokens[this.position+2][M.FIELDS.END_COL]),sourceIndex:this.currToken[M.FIELDS.START_POS],raws:t});this.position=this.position+3;return n}else{this.unexpected()}};Parser.prototype.combinator=function combinator(){var e=this;if(this.content()==="|"){return this.namespace()}var r=this.locateNextMeaningfulToken(this.position);if(r<0||this.tokens[r][M.FIELDS.TYPE]===q.comma){var t=this.parseWhitespaceEquivalentTokens(r);if(t.length>0){var n=this.current.last;if(n){var i=this.convertWhitespaceNodesToSpace(t),o=i.space,s=i.rawSpace;if(s!==undefined){n.rawSpaceAfter+=s}n.spaces.after+=o}else{t.forEach(function(r){return e.newNode(r)})}}return}var a=this.currToken;var u=undefined;if(r>this.position){u=this.parseWhitespaceEquivalentTokens(r)}var c=void 0;if(this.isNamedCombinator()){c=this.namedCombinator()}else if(this.currToken[M.FIELDS.TYPE]===q.combinator){c=new R.default({value:this.content(),source:getTokenSource(this.currToken),sourceIndex:this.currToken[M.FIELDS.START_POS]});this.position++}else if(U[this.currToken[M.FIELDS.TYPE]]){}else if(!u){this.unexpected()}if(c){if(u){var f=this.convertWhitespaceNodesToSpace(u),l=f.space,p=f.rawSpace;c.spaces.before=l;c.rawSpaceBefore=p}}else{var h=this.convertWhitespaceNodesToSpace(u,true),B=h.space,v=h.rawSpace;if(!v){v=B}var d={};var b={spaces:{}};if(B.endsWith(" ")&&v.endsWith(" ")){d.before=B.slice(0,B.length-1);b.spaces.before=v.slice(0,v.length-1)}else if(B.startsWith(" ")&&v.startsWith(" ")){d.after=B.slice(1);b.spaces.after=v.slice(1)}else{b.value=v}c=new R.default({value:" ",source:getTokenSourceSpan(a,this.tokens[this.position-1]),sourceIndex:a[M.FIELDS.START_POS],spaces:d,raws:b})}if(this.currToken&&this.currToken[M.FIELDS.TYPE]===q.space){c.spaces.after=this.optionalSpace(this.content());this.position++}return this.newNode(c)};Parser.prototype.comma=function comma(){if(this.position===this.tokens.length-1){this.root.trailingComma=true;this.position++;return}this.current._inferEndPosition();var e=new B.default({source:{start:tokenStart(this.tokens[this.position+1])}});this.current.parent.append(e);this.current=e;this.position++};Parser.prototype.comment=function comment(){var e=this.currToken;this.newNode(new y.default({value:this.content(),source:getTokenSource(e),sourceIndex:e[M.FIELDS.START_POS]}));this.position++};Parser.prototype.error=function error(e,r){throw this.root.error(e,r)};Parser.prototype.missingBackslash=function missingBackslash(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[M.FIELDS.START_POS]})};Parser.prototype.missingParenthesis=function missingParenthesis(){return this.expected("opening parenthesis",this.currToken[M.FIELDS.START_POS])};Parser.prototype.missingSquareBracket=function missingSquareBracket(){return this.expected("opening square bracket",this.currToken[M.FIELDS.START_POS])};Parser.prototype.unexpected=function unexpected(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[M.FIELDS.START_POS])};Parser.prototype.namespace=function namespace(){var e=this.prevToken&&this.content(this.prevToken)||true;if(this.nextToken[M.FIELDS.TYPE]===q.word){this.position++;return this.word(e)}else if(this.nextToken[M.FIELDS.TYPE]===q.asterisk){this.position++;return this.universal(e)}};Parser.prototype.nesting=function nesting(){if(this.nextToken){var e=this.content(this.nextToken);if(e==="|"){this.position++;return}}var r=this.currToken;this.newNode(new j.default({value:this.content(),source:getTokenSource(r),sourceIndex:r[M.FIELDS.START_POS]}));this.position++};Parser.prototype.parentheses=function parentheses(){var e=this.current.last;var r=1;this.position++;if(e&&e.type===J.PSEUDO){var t=new B.default({source:{start:tokenStart(this.tokens[this.position-1])}});var n=this.current;e.append(t);this.current=t;while(this.position1&&e.nextToken&&e.nextToken[M.FIELDS.TYPE]===q.openParenthesis){e.error("Misplaced parenthesis.",{index:e.nextToken[M.FIELDS.START_POS]})}})}else{return this.expected(["pseudo-class","pseudo-element"],this.currToken[M.FIELDS.START_POS])}};Parser.prototype.space=function space(){var e=this.content();if(this.position===0||this.prevToken[M.FIELDS.TYPE]===q.comma||this.prevToken[M.FIELDS.TYPE]===q.openParenthesis){this.spaces=this.optionalSpace(e);this.position++}else if(this.position===this.tokens.length-1||this.nextToken[M.FIELDS.TYPE]===q.comma||this.nextToken[M.FIELDS.TYPE]===q.closeParenthesis){this.current.last.spaces.after=this.optionalSpace(e);this.position++}else{this.combinator()}};Parser.prototype.string=function string(){var e=this.currToken;this.newNode(new T.default({value:this.content(),source:getTokenSource(e),sourceIndex:e[M.FIELDS.START_POS]}));this.position++};Parser.prototype.universal=function universal(e){var r=this.nextToken;if(r&&this.content(r)==="|"){this.position++;return this.namespace()}var t=this.currToken;this.newNode(new A.default({value:this.content(),source:getTokenSource(t),sourceIndex:t[M.FIELDS.START_POS]}),e);this.position++};Parser.prototype.splitWord=function splitWord(e,r){var t=this;var n=this.nextToken;var i=this.content();while(n&&~[q.dollar,q.caret,q.equals,q.word].indexOf(n[M.FIELDS.TYPE])){this.position++;var o=this.content();i+=o;if(o.lastIndexOf("\\")===o.length-1){var s=this.nextToken;if(s&&s[M.FIELDS.TYPE]===q.space){i+=this.requiredSpace(this.content(s));this.position++}}n=this.nextToken}var a=(0,u.default)(i,".").filter(function(e){return i[e-1]!=="\\"});var c=(0,u.default)(i,"#");var l=(0,u.default)(i,"#{");if(l.length){c=c.filter(function(e){return!~l.indexOf(e)})}var p=(0,_.default)((0,f.default)([0].concat(a,c)));p.forEach(function(n,o){var s=p[o+1]||i.length;var u=i.slice(n,s);if(o===0&&r){return r.call(t,u,p.length)}var f=void 0;var l=t.currToken;var h=l[M.FIELDS.START_POS]+p[o];var B=getSource(l[1],l[2]+n,l[3],l[2]+(s-1));if(~a.indexOf(n)){var v={value:u.slice(1),source:B,sourceIndex:h};f=new d.default(unescapeProp(v,"value"))}else if(~c.indexOf(n)){var b={value:u.slice(1),source:B,sourceIndex:h};f=new m.default(unescapeProp(b,"value"))}else{var y={value:u,source:B,sourceIndex:h};unescapeProp(y,"value");f=new w.default(y)}t.newNode(f,e);e=null});this.position++};Parser.prototype.word=function word(e){var r=this.nextToken;if(r&&this.content(r)==="|"){this.position++;return this.namespace()}return this.splitWord(e)};Parser.prototype.loop=function loop(){while(this.position0&&arguments[0]!==undefined?arguments[0]:this.currToken;return this.css.slice(e[M.FIELDS.START_POS],e[M.FIELDS.END_POS])};Parser.prototype.locateNextMeaningfulToken=function locateNextMeaningfulToken(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:this.position+1;var r=e;while(r{"use strict";r.__esModule=true;var n=t(7031);var i=_interopRequireDefault(n);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}var o=function(){function Processor(e,r){_classCallCheck(this,Processor);this.func=e||function noop(){};this.funcRes=null;this.options=r}Processor.prototype._shouldUpdateSelector=function _shouldUpdateSelector(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var t=Object.assign({},this.options,r);if(t.updateSelector===false){return false}else{return typeof e!=="string"}};Processor.prototype._isLossy=function _isLossy(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var r=Object.assign({},this.options,e);if(r.lossless===false){return true}else{return false}};Processor.prototype._root=function _root(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var t=new i.default(e,this._parseOptions(r));return t.root};Processor.prototype._parseOptions=function _parseOptions(e){return{lossy:this._isLossy(e)}};Processor.prototype._run=function _run(e){var r=this;var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return new Promise(function(n,i){try{var o=r._root(e,t);Promise.resolve(r.func(o)).then(function(n){var i=undefined;if(r._shouldUpdateSelector(e,t)){i=o.toString();e.selector=i}return{transform:n,root:o,string:i}}).then(n,i)}catch(e){i(e);return}})};Processor.prototype._runSync=function _runSync(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var t=this._root(e,r);var n=this.func(t);if(n&&typeof n.then==="function"){throw new Error("Selector processor returned a promise to a synchronous call.")}var i=undefined;if(r.updateSelector&&typeof e!=="string"){i=t.toString();e.selector=i}return{transform:n,root:t,string:i}};Processor.prototype.ast=function ast(e,r){return this._run(e,r).then(function(e){return e.root})};Processor.prototype.astSync=function astSync(e,r){return this._runSync(e,r).root};Processor.prototype.transform=function transform(e,r){return this._run(e,r).then(function(e){return e.transform})};Processor.prototype.transformSync=function transformSync(e,r){return this._runSync(e,r).transform};Processor.prototype.process=function process(e,r){return this._run(e,r).then(function(e){return e.string||e.root.toString()})};Processor.prototype.processSync=function processSync(e,r){var t=this._runSync(e,r);return t.string||t.root.toString()};return Processor}();r.default=o;e.exports=r["default"]},7386:(e,r,t)=>{"use strict";r.__esModule=true;var n;var i=function(){function defineProperties(e,r){for(var t=0;t0&&arguments[0]!==undefined?arguments[0]:{};_classCallCheck(this,Attribute);var t=_possibleConstructorReturn(this,e.call(this,handleDeprecatedContructorOpts(r)));t.type=l.ATTRIBUTE;t.raws=t.raws||{};Object.defineProperty(t.raws,"unquoted",{get:h(function(){return t.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:h(function(){return t.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")});t._constructed=true;return t}Attribute.prototype.getQuotedValue=function getQuotedValue(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var r=this._determineQuoteMark(e);var t=g[r];var n=(0,s.default)(this._value,t);return n};Attribute.prototype._determineQuoteMark=function _determineQuoteMark(e){return e.smart?this.smartQuoteMark(e):this.preferredQuoteMark(e)};Attribute.prototype.setValue=function setValue(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};this._value=e;this._quoteMark=this._determineQuoteMark(r);this._syncRawValue()};Attribute.prototype.smartQuoteMark=function smartQuoteMark(e){var r=this.value;var t=r.replace(/[^']/g,"").length;var n=r.replace(/[^"]/g,"").length;if(t+n===0){var i=(0,s.default)(r,{isIdentifier:true});if(i===r){return Attribute.NO_QUOTE}else{var o=this.preferredQuoteMark(e);if(o===Attribute.NO_QUOTE){var a=this.quoteMark||e.quoteMark||Attribute.DOUBLE_QUOTE;var u=g[a];var c=(0,s.default)(r,u);if(c.length1&&arguments[1]!==undefined?arguments[1]:e;var t=arguments.length>2&&arguments[2]!==undefined?arguments[2]:defaultAttrConcat;var n=this._spacesFor(r);return t(this.stringifyProperty(e),n)};Attribute.prototype.offsetOf=function offsetOf(e){var r=1;var t=this._spacesFor("attribute");r+=t.before.length;if(e==="namespace"||e==="ns"){return this.namespace?r:-1}if(e==="attributeNS"){return r}r+=this.namespaceString.length;if(this.namespace){r+=1}if(e==="attribute"){return r}r+=this.stringifyProperty("attribute").length;r+=t.after.length;var n=this._spacesFor("operator");r+=n.before.length;var i=this.stringifyProperty("operator");if(e==="operator"){return i?r:-1}r+=i.length;r+=n.after.length;var o=this._spacesFor("value");r+=o.before.length;var s=this.stringifyProperty("value");if(e==="value"){return s?r:-1}r+=s.length;r+=o.after.length;var a=this._spacesFor("insensitive");r+=a.before.length;if(e==="insensitive"){return this.insensitive?r:-1}return-1};Attribute.prototype.toString=function toString(){var e=this;var r=[this.rawSpaceBefore,"["];r.push(this._stringFor("qualifiedAttribute","attribute"));if(this.operator&&this.value){r.push(this._stringFor("operator"));r.push(this._stringFor("value"));r.push(this._stringFor("insensitiveFlag","insensitive",function(r,t){if(r.length>0&&!e.quoted&&t.before.length===0&&!(e.spaces.value&&e.spaces.value.after)){t.before=" "}return defaultAttrConcat(r,t)}))}r.push("]");r.push(this.rawSpaceAfter);return r.join("")};i(Attribute,[{key:"quoted",get:function get(){var e=this.quoteMark;return e==="'"||e==='"'},set:function set(e){d()}},{key:"quoteMark",get:function get(){return this._quoteMark},set:function set(e){if(!this._constructed){this._quoteMark=e;return}if(this._quoteMark!==e){this._quoteMark=e;this._syncRawValue()}}},{key:"qualifiedAttribute",get:function get(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function get(){return this.insensitive?"i":""}},{key:"value",get:function get(){return this._value},set:function set(e){if(this._constructed){var r=unescapeValue(e),t=r.deprecatedUsage,n=r.unescaped,i=r.quoteMark;if(t){v()}if(n===this._value&&i===this._quoteMark){return}this._value=n;this._quoteMark=i;this._syncRawValue()}else{this._value=e}}},{key:"attribute",get:function get(){return this._attribute},set:function set(e){this._handleEscapes("attribute",e);this._attribute=e}}]);return Attribute}(f.default);y.NO_QUOTE=null;y.SINGLE_QUOTE="'";y.DOUBLE_QUOTE='"';r.default=y;var g=(n={"'":{quotes:"single",wrap:true},'"':{quotes:"double",wrap:true}},n[null]={isIdentifier:true},n);function defaultAttrConcat(e,r){return""+r.before+e+r.after}},2329:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t{"use strict";r.__esModule=true;var n=t(9883);var i=_interopRequireDefault(n);var o=t(1478);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Combinator,e);function Combinator(r){_classCallCheck(this,Combinator);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.COMBINATOR;return t}return Combinator}(i.default);r.default=s;e.exports=r["default"]},9380:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(9883);var i=_interopRequireDefault(n);var o=t(1478);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Comment,e);function Comment(r){_classCallCheck(this,Comment);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.COMMENT;return t}return Comment}(i.default);r.default=s;e.exports=r["default"]},7061:(e,r,t)=>{"use strict";r.__esModule=true;r.universal=r.tag=r.string=r.selector=r.root=r.pseudo=r.nesting=r.id=r.comment=r.combinator=r.className=r.attribute=undefined;var n=t(7386);var i=_interopRequireDefault(n);var o=t(2329);var s=_interopRequireDefault(o);var a=t(3665);var u=_interopRequireDefault(a);var c=t(9380);var f=_interopRequireDefault(c);var l=t(5649);var p=_interopRequireDefault(l);var h=t(3283);var B=_interopRequireDefault(h);var v=t(1489);var d=_interopRequireDefault(v);var b=t(9625);var y=_interopRequireDefault(b);var g=t(1789);var m=_interopRequireDefault(g);var C=t(6275);var w=_interopRequireDefault(C);var S=t(5963);var T=_interopRequireDefault(S);var O=t(4637);var E=_interopRequireDefault(O);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var k=r.attribute=function attribute(e){return new i.default(e)};var P=r.className=function className(e){return new s.default(e)};var D=r.combinator=function combinator(e){return new u.default(e)};var A=r.comment=function comment(e){return new f.default(e)};var F=r.id=function id(e){return new p.default(e)};var R=r.nesting=function nesting(e){return new B.default(e)};var x=r.pseudo=function pseudo(e){return new d.default(e)};var j=r.root=function root(e){return new y.default(e)};var I=r.selector=function selector(e){return new m.default(e)};var _=r.string=function string(e){return new w.default(e)};var M=r.tag=function tag(e){return new T.default(e)};var N=r.universal=function universal(e){return new E.default(e)}},4014:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t=e){this.indexes[t]=r-1}}return this};Container.prototype.removeAll=function removeAll(){for(var e=this.nodes,r=Array.isArray(e),t=0,e=r?e:e[Symbol.iterator]();;){var n;if(r){if(t>=e.length)break;n=e[t++]}else{t=e.next();if(t.done)break;n=t.value}var i=n;i.parent=undefined}this.nodes=[];return this};Container.prototype.empty=function empty(){return this.removeAll()};Container.prototype.insertAfter=function insertAfter(e,r){r.parent=this;var t=this.index(e);this.nodes.splice(t+1,0,r);r.parent=this;var n=void 0;for(var i in this.indexes){n=this.indexes[i];if(t<=n){this.indexes[i]=n+1}}return this};Container.prototype.insertBefore=function insertBefore(e,r){r.parent=this;var t=this.index(e);this.nodes.splice(t,0,r);r.parent=this;var n=void 0;for(var i in this.indexes){n=this.indexes[i];if(n<=t){this.indexes[i]=n+1}}return this};Container.prototype._findChildAtPosition=function _findChildAtPosition(e,r){var t=undefined;this.each(function(n){if(n.atPosition){var i=n.atPosition(e,r);if(i){t=i;return false}}else if(n.isAtPosition(e,r)){t=n;return false}});return t};Container.prototype.atPosition=function atPosition(e,r){if(this.isAtPosition(e,r)){return this._findChildAtPosition(e,r)||this}else{return undefined}};Container.prototype._inferEndPosition=function _inferEndPosition(){if(this.last&&this.last.source&&this.last.source.end){this.source=this.source||{};this.source.end=this.source.end||{};Object.assign(this.source.end,this.last.source.end)}};Container.prototype.each=function each(e){if(!this.lastEach){this.lastEach=0}if(!this.indexes){this.indexes={}}this.lastEach++;var r=this.lastEach;this.indexes[r]=0;if(!this.length){return undefined}var t=void 0,n=void 0;while(this.indexes[r]{"use strict";r.__esModule=true;r.isUniversal=r.isTag=r.isString=r.isSelector=r.isRoot=r.isPseudo=r.isNesting=r.isIdentifier=r.isComment=r.isCombinator=r.isClassName=r.isAttribute=undefined;var n=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var i;r.isNode=isNode;r.isPseudoElement=isPseudoElement;r.isPseudoClass=isPseudoClass;r.isContainer=isContainer;r.isNamespace=isNamespace;var o=t(1478);var s=(i={},i[o.ATTRIBUTE]=true,i[o.CLASS]=true,i[o.COMBINATOR]=true,i[o.COMMENT]=true,i[o.ID]=true,i[o.NESTING]=true,i[o.PSEUDO]=true,i[o.ROOT]=true,i[o.SELECTOR]=true,i[o.STRING]=true,i[o.TAG]=true,i[o.UNIVERSAL]=true,i);function isNode(e){return(typeof e==="undefined"?"undefined":n(e))==="object"&&s[e.type]}function isNodeType(e,r){return isNode(r)&&r.type===e}var a=r.isAttribute=isNodeType.bind(null,o.ATTRIBUTE);var u=r.isClassName=isNodeType.bind(null,o.CLASS);var c=r.isCombinator=isNodeType.bind(null,o.COMBINATOR);var f=r.isComment=isNodeType.bind(null,o.COMMENT);var l=r.isIdentifier=isNodeType.bind(null,o.ID);var p=r.isNesting=isNodeType.bind(null,o.NESTING);var h=r.isPseudo=isNodeType.bind(null,o.PSEUDO);var B=r.isRoot=isNodeType.bind(null,o.ROOT);var v=r.isSelector=isNodeType.bind(null,o.SELECTOR);var d=r.isString=isNodeType.bind(null,o.STRING);var b=r.isTag=isNodeType.bind(null,o.TAG);var y=r.isUniversal=isNodeType.bind(null,o.UNIVERSAL);function isPseudoElement(e){return h(e)&&e.value&&(e.value.startsWith("::")||e.value===":before"||e.value===":after")}function isPseudoClass(e){return h(e)&&!isPseudoElement(e)}function isContainer(e){return!!(isNode(e)&&e.walk)}function isNamespace(e){return a(e)||b(e)}},5649:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(9883);var i=_interopRequireDefault(n);var o=t(1478);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(ID,e);function ID(r){_classCallCheck(this,ID);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.ID;return t}ID.prototype.toString=function toString(){return[this.rawSpaceBefore,String("#"+this.stringifyProperty("value")),this.rawSpaceAfter].join("")};return ID}(i.default);r.default=s;e.exports=r["default"]},610:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(1478);Object.keys(n).forEach(function(e){if(e==="default"||e==="__esModule")return;Object.defineProperty(r,e,{enumerable:true,get:function get(){return n[e]}})});var i=t(7061);Object.keys(i).forEach(function(e){if(e==="default"||e==="__esModule")return;Object.defineProperty(r,e,{enumerable:true,get:function get(){return i[e]}})});var o=t(8835);Object.keys(o).forEach(function(e){if(e==="default"||e==="__esModule")return;Object.defineProperty(r,e,{enumerable:true,get:function get(){return o[e]}})})},5032:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t{"use strict";r.__esModule=true;var n=t(9883);var i=_interopRequireDefault(n);var o=t(1478);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Nesting,e);function Nesting(r){_classCallCheck(this,Nesting);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.NESTING;t.value="&";return t}return Nesting}(i.default);r.default=s;e.exports=r["default"]},9883:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t0&&arguments[0]!==undefined?arguments[0]:{};_classCallCheck(this,Node);Object.assign(this,e);this.spaces=this.spaces||{};this.spaces.before=this.spaces.before||"";this.spaces.after=this.spaces.after||""}Node.prototype.remove=function remove(){if(this.parent){this.parent.removeChild(this)}this.parent=undefined;return this};Node.prototype.replaceWith=function replaceWith(){if(this.parent){for(var e in arguments){this.parent.insertBefore(this,arguments[e])}this.remove()}return this};Node.prototype.next=function next(){return this.parent.at(this.parent.index(this)+1)};Node.prototype.prev=function prev(){return this.parent.at(this.parent.index(this)-1)};Node.prototype.clone=function clone(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var r=s(this);for(var t in e){r[t]=e[t]}return r};Node.prototype.appendToPropertyAndEscape=function appendToPropertyAndEscape(e,r,t){if(!this.raws){this.raws={}}var n=this[e];var i=this.raws[e];this[e]=n+r;if(i||t!==r){this.raws[e]=(i||n)+t}else{delete this.raws[e]}};Node.prototype.setPropertyAndEscape=function setPropertyAndEscape(e,r,t){if(!this.raws){this.raws={}}this[e]=r;this.raws[e]=t};Node.prototype.setPropertyWithoutEscape=function setPropertyWithoutEscape(e,r){this[e]=r;if(this.raws){delete this.raws[e]}};Node.prototype.isAtPosition=function isAtPosition(e,r){if(this.source&&this.source.start&&this.source.end){if(this.source.start.line>e){return false}if(this.source.end.liner){return false}if(this.source.end.line===e&&this.source.end.column{"use strict";r.__esModule=true;var n=t(4014);var i=_interopRequireDefault(n);var o=t(1478);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Pseudo,e);function Pseudo(r){_classCallCheck(this,Pseudo);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.PSEUDO;return t}Pseudo.prototype.toString=function toString(){var e=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),e,this.rawSpaceAfter].join("")};return Pseudo}(i.default);r.default=s;e.exports=r["default"]},9625:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t{"use strict";r.__esModule=true;var n=t(4014);var i=_interopRequireDefault(n);var o=t(1478);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Selector,e);function Selector(r){_classCallCheck(this,Selector);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.SELECTOR;return t}return Selector}(i.default);r.default=s;e.exports=r["default"]},6275:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(9883);var i=_interopRequireDefault(n);var o=t(1478);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(String,e);function String(r){_classCallCheck(this,String);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.STRING;return t}return String}(i.default);r.default=s;e.exports=r["default"]},5963:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(5032);var i=_interopRequireDefault(n);var o=t(1478);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Tag,e);function Tag(r){_classCallCheck(this,Tag);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.TAG;return t}return Tag}(i.default);r.default=s;e.exports=r["default"]},1478:(e,r)=>{"use strict";r.__esModule=true;var t=r.TAG="tag";var n=r.STRING="string";var i=r.SELECTOR="selector";var o=r.ROOT="root";var s=r.PSEUDO="pseudo";var a=r.NESTING="nesting";var u=r.ID="id";var c=r.COMMENT="comment";var f=r.COMBINATOR="combinator";var l=r.CLASS="class";var p=r.ATTRIBUTE="attribute";var h=r.UNIVERSAL="universal"},4637:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(5032);var i=_interopRequireDefault(n);var o=t(1478);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Universal,e);function Universal(r){_classCallCheck(this,Universal);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.UNIVERSAL;t.value="*";return t}return Universal}(i.default);r.default=s;e.exports=r["default"]},534:(e,r)=>{"use strict";r.__esModule=true;r.default=sortAscending;function sortAscending(e){return e.sort(function(e,r){return e-r})}e.exports=r["default"]},6582:(e,r)=>{"use strict";r.__esModule=true;var t=r.ampersand=38;var n=r.asterisk=42;var i=r.at=64;var o=r.comma=44;var s=r.colon=58;var a=r.semicolon=59;var u=r.openParenthesis=40;var c=r.closeParenthesis=41;var f=r.openSquare=91;var l=r.closeSquare=93;var p=r.dollar=36;var h=r.tilde=126;var B=r.caret=94;var v=r.plus=43;var d=r.equals=61;var b=r.pipe=124;var y=r.greaterThan=62;var g=r.space=32;var m=r.singleQuote=39;var C=r.doubleQuote=34;var w=r.slash=47;var S=r.bang=33;var T=r.backslash=92;var O=r.cr=13;var E=r.feed=12;var k=r.newline=10;var P=r.tab=9;var D=r.str=m;var A=r.comment=-1;var F=r.word=-2;var R=r.combinator=-3},8606:(e,r,t)=>{"use strict";r.__esModule=true;r.FIELDS=undefined;var n,i;r.default=tokenize;var o=t(6582);var s=_interopRequireWildcard(o);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var r={};if(e!=null){for(var t in e){if(Object.prototype.hasOwnProperty.call(e,t))r[t]=e[t]}}r.default=e;return r}}var a=(n={},n[s.tab]=true,n[s.newline]=true,n[s.cr]=true,n[s.feed]=true,n);var u=(i={},i[s.space]=true,i[s.tab]=true,i[s.newline]=true,i[s.cr]=true,i[s.feed]=true,i[s.ampersand]=true,i[s.asterisk]=true,i[s.bang]=true,i[s.comma]=true,i[s.colon]=true,i[s.semicolon]=true,i[s.openParenthesis]=true,i[s.closeParenthesis]=true,i[s.openSquare]=true,i[s.closeSquare]=true,i[s.singleQuote]=true,i[s.doubleQuote]=true,i[s.plus]=true,i[s.pipe]=true,i[s.tilde]=true,i[s.greaterThan]=true,i[s.equals]=true,i[s.dollar]=true,i[s.caret]=true,i[s.slash]=true,i);var c={};var f="0123456789abcdefABCDEF";for(var l=0;l0){g=a+d;m=y-b[d].length}else{g=a;m=o}w=s.comment;a=g;h=g;p=y-m}else if(f===s.slash){y=u;w=f;h=a;p=u-o;c=y+1}else{y=consumeWord(t,u);w=s.word;h=a;p=y-o}c=y+1;break}r.push([w,a,u-o,h,p,u,c]);if(m){o=m;m=null}u=c}return r}},5971:(e,r)=>{"use strict";r.__esModule=true;r.default=ensureObject;function ensureObject(e){for(var r=arguments.length,t=Array(r>1?r-1:0),n=1;n0){var i=t.shift();if(!e[i]){e[i]={}}e=e[i]}}e.exports=r["default"]},6052:(e,r)=>{"use strict";r.__esModule=true;r.default=getProp;function getProp(e){for(var r=arguments.length,t=Array(r>1?r-1:0),n=1;n0){var i=t.shift();if(!e[i]){return undefined}e=e[i]}return e}e.exports=r["default"]},426:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(3865);Object.defineProperty(r,"unesc",{enumerable:true,get:function get(){return _interopRequireDefault(n).default}});var i=t(6052);Object.defineProperty(r,"getProp",{enumerable:true,get:function get(){return _interopRequireDefault(i).default}});var o=t(5971);Object.defineProperty(r,"ensureObject",{enumerable:true,get:function get(){return _interopRequireDefault(o).default}});var s=t(6483);Object.defineProperty(r,"stripComments",{enumerable:true,get:function get(){return _interopRequireDefault(s).default}});function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},6483:(e,r)=>{"use strict";r.__esModule=true;r.default=stripComments;function stripComments(e){var r="";var t=e.indexOf("/*");var n=0;while(t>=0){r=r+e.slice(n,t);var i=e.indexOf("*/",t+2);if(i<0){return r}n=i+2;t=e.indexOf("/*",n)}r=r+e.slice(n);return r}e.exports=r["default"]},3865:(e,r)=>{"use strict";r.__esModule=true;r.default=unesc;var t=/\\(?:([0-9a-fA-F]{6})|([0-9a-fA-F]{1,5})(?: |(?![0-9a-fA-F])))/g;var n=/\\(.)/g;function unesc(e){e=e.replace(t,function(e,r,t){var n=r||t;var i=parseInt(n,16);return String.fromCharCode(i)});e=e.replace(n,function(e,r){return r});return e}e.exports=r["default"]},6082:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(3624));var i=_interopDefault(t(2043));const o=/:has/;var s=i.plugin("css-has-pseudo",e=>{const r=Boolean("preserve"in Object(e)?e.preserve:true);return e=>{e.walkRules(o,e=>{const t=n(e=>{e.walkPseudos(e=>{if(e.value===":has"&&e.nodes){const r=checkIfParentIsNot(e);e.value=r?":not-has":":has";const t=n.attribute({attribute:encodeURIComponent(String(e)).replace(/%3A/g,":").replace(/%5B/g,"[").replace(/%5D/g,"]").replace(/%2C/g,",").replace(/[():%\[\],]/g,"\\$&")});if(r){e.parent.parent.replaceWith(t)}else{e.replaceWith(t)}}})}).processSync(e.selector);const i=e.clone({selector:t});if(r){e.before(i)}else{e.replaceWith(i)}})}});function checkIfParentIsNot(e){return Object(Object(e.parent).parent).type==="pseudo"&&e.parent.parent.value===":not"}e.exports=s},4990:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(2043));const i=/^media$/i;const o=/\(\s*prefers-color-scheme\s*:\s*(dark|light|no-preference)\s*\)/i;const s={dark:48,light:70,"no-preference":22};const a=(e,r)=>`(color-index: ${s[r.toLowerCase()]})`;var u=n.plugin("postcss-prefers-color-scheme",e=>{const r="preserve"in Object(e)?e.preserve:true;return e=>{e.walkAtRules(i,e=>{const t=e.params;const n=t.replace(o,a);if(t!==n){if(r){e.cloneBefore({params:n})}else{e.params=n}}})}});e.exports=u},132:e=>{e.exports=function flatten(e,r){r=typeof r=="number"?r:Infinity;if(!r){if(Array.isArray(e)){return e.map(function(e){return e})}return e}return _flatten(e,1);function _flatten(e,t){return e.reduce(function(e,n){if(Array.isArray(n)&&t{e.exports=function(e,r){var t=-1,n=[];while((t=e.indexOf(r,t+1))!==-1)n.push(t);return n}},4782:e=>{var r=/<%=([\s\S]+?)%>/g;e.exports=r},1717:(e,r,t)=>{e=t.nmd(e);var n=t(4782),i=t(8777);var o=800,s=16;var a=1/0,u=9007199254740991;var c="[object Arguments]",f="[object Array]",l="[object AsyncFunction]",p="[object Boolean]",h="[object Date]",B="[object DOMException]",v="[object Error]",d="[object Function]",b="[object GeneratorFunction]",y="[object Map]",g="[object Number]",m="[object Null]",C="[object Object]",w="[object Proxy]",S="[object RegExp]",T="[object Set]",O="[object String]",E="[object Symbol]",k="[object Undefined]",P="[object WeakMap]";var D="[object ArrayBuffer]",A="[object DataView]",F="[object Float32Array]",R="[object Float64Array]",x="[object Int8Array]",j="[object Int16Array]",I="[object Int32Array]",_="[object Uint8Array]",M="[object Uint8ClampedArray]",N="[object Uint16Array]",L="[object Uint32Array]";var q=/\b__p \+= '';/g,G=/\b(__p \+=) '' \+/g,J=/(__e\(.*?\)|\b__t\)) \+\n'';/g;var H=/[\\^$.*+?()[\]{}|]/g;var U=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g;var Q=/^\[object .+?Constructor\]$/;var K=/^(?:0|[1-9]\d*)$/;var W=/($^)/;var Y=/['\n\r\u2028\u2029\\]/g;var z={};z[F]=z[R]=z[x]=z[j]=z[I]=z[_]=z[M]=z[N]=z[L]=true;z[c]=z[f]=z[D]=z[p]=z[A]=z[h]=z[v]=z[d]=z[y]=z[g]=z[C]=z[S]=z[T]=z[O]=z[P]=false;var $={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};var X=typeof global=="object"&&global&&global.Object===Object&&global;var Z=typeof self=="object"&&self&&self.Object===Object&&self;var V=X||Z||Function("return this")();var ee=true&&r&&!r.nodeType&&r;var re=ee&&"object"=="object"&&e&&!e.nodeType&&e;var te=re&&re.exports===ee;var ne=te&&X.process;var ie=function(){try{var e=re&&re.require&&re.require("util").types;if(e){return e}return ne&&ne.binding&&ne.binding("util")}catch(e){}}();var oe=ie&&ie.isTypedArray;function apply(e,r,t){switch(t.length){case 0:return e.call(r);case 1:return e.call(r,t[0]);case 2:return e.call(r,t[0],t[1]);case 3:return e.call(r,t[0],t[1],t[2])}return e.apply(r,t)}function arrayMap(e,r){var t=-1,n=e==null?0:e.length,i=Array(n);while(++t1?t[i-1]:undefined,s=i>2?t[2]:undefined;o=e.length>3&&typeof o=="function"?(i--,o):undefined;if(s&&isIterateeCall(t[0],t[1],s)){o=i<3?undefined:o;i=1}r=Object(r);while(++n-1&&e%1==0&&e0){if(++r>=o){return arguments[0]}}else{r=0}return e.apply(undefined,arguments)}}function toSource(e){if(e!=null){try{return ce.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function eq(e,r){return e===r||e!==e&&r!==r}var De=baseIsArguments(function(){return arguments}())?baseIsArguments:function(e){return isObjectLike(e)&&fe.call(e,"callee")&&!ye.call(e,"callee")};var Ae=Array.isArray;function isArrayLike(e){return e!=null&&isLength(e.length)&&!isFunction(e)}var Fe=Ce||stubFalse;function isError(e){if(!isObjectLike(e)){return false}var r=baseGetTag(e);return r==v||r==B||typeof e.message=="string"&&typeof e.name=="string"&&!isPlainObject(e)}function isFunction(e){if(!isObject(e)){return false}var r=baseGetTag(e);return r==d||r==b||r==l||r==w}function isLength(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=u}function isObject(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}function isObjectLike(e){return e!=null&&typeof e=="object"}function isPlainObject(e){if(!isObjectLike(e)||baseGetTag(e)!=C){return false}var r=be(e);if(r===null){return true}var t=fe.call(r,"constructor")&&r.constructor;return typeof t=="function"&&t instanceof t&&ce.call(t)==he}function isSymbol(e){return typeof e=="symbol"||isObjectLike(e)&&baseGetTag(e)==E}var Re=oe?baseUnary(oe):baseIsTypedArray;function toString(e){return e==null?"":baseToString(e)}var xe=createAssigner(function(e,r,t,n){copyObject(r,keysIn(r),e,n)});function keys(e){return isArrayLike(e)?arrayLikeKeys(e):baseKeys(e)}function keysIn(e){return isArrayLike(e)?arrayLikeKeys(e,true):baseKeysIn(e)}function template(e,r,t){var o=i.imports._.templateSettings||i;if(t&&isIterateeCall(e,r,t)){r=undefined}e=toString(e);r=xe({},r,o,customDefaultsAssignIn);var s=xe({},r.imports,o.imports,customDefaultsAssignIn),a=keys(s),u=baseValues(s,a);var c,f,l=0,p=r.interpolate||W,h="__p += '";var B=RegExp((r.escape||W).source+"|"+p.source+"|"+(p===n?U:W).source+"|"+(r.evaluate||W).source+"|$","g");var v=fe.call(r,"sourceURL")?"//# sourceURL="+(r.sourceURL+"").replace(/[\r\n]/g," ")+"\n":"";e.replace(B,function(r,t,n,i,o,s){n||(n=i);h+=e.slice(l,s).replace(Y,escapeStringChar);if(t){c=true;h+="' +\n__e("+t+") +\n'"}if(o){f=true;h+="';\n"+o+";\n__p += '"}if(n){h+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"}l=s+r.length;return r});h+="';\n";var d=fe.call(r,"variable")&&r.variable;if(!d){h="with (obj) {\n"+h+"\n}\n"}h=(f?h.replace(q,""):h).replace(G,"$1").replace(J,"$1;");h="function("+(d||"obj")+") {\n"+(d?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(c?", __e = _.escape":"")+(f?", __j = Array.prototype.join;\n"+"function print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var b=je(function(){return Function(a,v+"return "+h).apply(undefined,u)});b.source=h;if(isError(b)){throw b}return b}var je=baseRest(function(e,r){try{return apply(e,undefined,r)}catch(e){return isError(e)?e:new Error(e)}});function constant(e){return function(){return e}}function identity(e){return e}function stubFalse(){return false}e.exports=template},8777:(e,r,t)=>{var n=t(4782);var i=1/0;var o="[object Null]",s="[object Symbol]",a="[object Undefined]";var u=/[&<>"']/g,c=RegExp(u.source);var f=/<%-([\s\S]+?)%>/g,l=/<%([\s\S]+?)%>/g;var p={"&":"&","<":"<",">":">",'"':""","'":"'"};var h=typeof global=="object"&&global&&global.Object===Object&&global;var B=typeof self=="object"&&self&&self.Object===Object&&self;var v=h||B||Function("return this")();function arrayMap(e,r){var t=-1,n=e==null?0:e.length,i=Array(n);while(++t{"use strict";e.exports={wrap:wrapRange,limit:limitRange,validate:validateRange,test:testRange,curry:curry,name:name};function wrapRange(e,r,t){var n=r-e;return((t-e)%n+n)%n+e}function limitRange(e,r,t){return Math.max(e,Math.min(r,t))}function validateRange(e,r,t,n,i){if(!testRange(e,r,t,n,i)){throw new Error(t+" is outside of range ["+e+","+r+")")}return t}function testRange(e,r,t,n,i){return!(tr||i&&t===r||n&&t===e)}function name(e,r,t,n){return(t?"(":"[")+e+","+r+(n?")":"]")}function curry(e,r,t,n){var i=name.bind(null,e,r,t,n);return{wrap:wrapRange.bind(null,e,r),limit:limitRange.bind(null,e,r),validate:function(i){return validateRange(e,r,i,t,n)},test:function(i){return testRange(e,r,i,t,n)},toString:i,name:i}}},4182:e=>{"use strict";var r=Math.abs;var t=Math.round;function almostEq(e,t){return r(e-t)<=9.5367432e-7}function GCD(e,r){if(almostEq(r,0))return e;return GCD(r,e%r)}function findPrecision(e){var r=1;while(!almostEq(t(e*r)/r,e)){r*=10}return r}function num2fraction(e){if(e===0||e==="0")return"0";if(typeof e==="string"){e=parseFloat(e)}var n=findPrecision(e);var i=e*n;var o=r(GCD(i,n));var s=i/o;var a=n/o;return t(s)+"/"+t(a)}e.exports=num2fraction},8344:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});var n=t(2043);var i=_interopRequireDefault(n);var o=t(3433);var s=_interopRequireDefault(o);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function nodeIsInsensitiveAttribute(e){return e.type==="attribute"&&e.insensitive}function selectorHasInsensitiveAttribute(e){return e.some(nodeIsInsensitiveAttribute)}function transformString(e,r,t){var n=t.charAt(r);if(n===""){return e}var i=e.map(function(e){return e+n});var o=n.toLocaleUpperCase();if(o!==n){i=i.concat(e.map(function(e){return e+o}))}return transformString(i,r+1,t)}function createSensitiveAtributes(e){var r=transformString([""],0,e.value);return r.map(function(r){var t=e.clone({spaces:{after:e.spaces.after,before:e.spaces.before},insensitive:false});t.setValue(r);return t})}function createNewSelectors(e){var r=[s.default.selector()];e.walk(function(e){if(!nodeIsInsensitiveAttribute(e)){r.forEach(function(r){r.append(e.clone())});return}var t=createSensitiveAtributes(e);var n=[];t.forEach(function(e){r.forEach(function(r){var t=r.clone();t.append(e);n.push(t)})});r=n});return r}function transform(e){var r=[];e.each(function(e){if(selectorHasInsensitiveAttribute(e)){r=r.concat(createNewSelectors(e));e.remove()}});if(r.length){r.forEach(function(r){return e.append(r)})}}var a=/i(\s*\/\*[\W\w]*?\*\/)*\s*\]/;r.default=i.default.plugin("postcss-attribute-case-insensitive",function(){return function(e){e.walkRules(a,function(e){e.selector=(0,s.default)(transform).processSync(e.selector)})}});e.exports=r.default},868:e=>{"use strict";var r={};var t=r.hasOwnProperty;var n=function merge(e,r){if(!e){return r}var n={};for(var i in r){n[i]=t.call(e,i)?e[i]:r[i]}return n};var i=/[ -,\.\/;-@\[-\^`\{-~]/;var o=/[ -,\.\/;-@\[\]\^`\{-~]/;var s=/['"\\]/;var a=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g;var u=function cssesc(e,r){r=n(r,cssesc.options);if(r.quotes!="single"&&r.quotes!="double"){r.quotes="single"}var t=r.quotes=="double"?'"':"'";var s=r.isIdentifier;var u=e.charAt(0);var c="";var f=0;var l=e.length;while(f126){if(h>=55296&&h<=56319&&f{"use strict";r.__esModule=true;var n=t(2897);var i=_interopRequireDefault(n);var o=t(8402);var s=_interopRequireWildcard(o);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var r={};if(e!=null){for(var t in e){if(Object.prototype.hasOwnProperty.call(e,t))r[t]=e[t]}}r.default=e;return r}}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var a=function parser(e){return new i.default(e)};Object.assign(a,s);delete a.__esModule;r.default=a;e.exports=r["default"]},2401:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t1&&arguments[1]!==undefined?arguments[1]:{};_classCallCheck(this,Parser);this.rule=e;this.options=Object.assign({lossy:false,safe:false},r);this.position=0;this.css=typeof this.rule==="string"?this.rule:this.rule.selector;this.tokens=(0,N.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var t=getTokenSourceSpan(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new p.default({source:t});this.root.errorGenerator=this._errorGenerator();var n=new B.default({source:{start:{line:1,column:1}}});this.root.append(n);this.current=n;this.loop()}Parser.prototype._errorGenerator=function _errorGenerator(){var e=this;return function(r,t){if(typeof e.rule==="string"){return new Error(r)}return e.rule.error(r,t)}};Parser.prototype.attribute=function attribute(){var e=[];var r=this.currToken;this.position++;while(this.position1&&arguments[1]!==undefined?arguments[1]:false;var n="";var i="";e.forEach(function(e){var o=r.lossySpace(e.spaces.before,t);var s=r.lossySpace(e.rawSpaceBefore,t);n+=o+r.lossySpace(e.spaces.after,t&&o.length===0);i+=o+e.value+r.lossySpace(e.rawSpaceAfter,t&&s.length===0)});if(i===n){i=undefined}var o={space:n,rawSpace:i};return o};Parser.prototype.isNamedCombinator=function isNamedCombinator(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:this.position;return this.tokens[e+0]&&this.tokens[e+0][M.FIELDS.TYPE]===q.slash&&this.tokens[e+1]&&this.tokens[e+1][M.FIELDS.TYPE]===q.word&&this.tokens[e+2]&&this.tokens[e+2][M.FIELDS.TYPE]===q.slash};Parser.prototype.namedCombinator=function namedCombinator(){if(this.isNamedCombinator()){var e=this.content(this.tokens[this.position+1]);var r=(0,H.unesc)(e).toLowerCase();var t={};if(r!==e){t.value="/"+e+"/"}var n=new R.default({value:"/"+r+"/",source:getSource(this.currToken[M.FIELDS.START_LINE],this.currToken[M.FIELDS.START_COL],this.tokens[this.position+2][M.FIELDS.END_LINE],this.tokens[this.position+2][M.FIELDS.END_COL]),sourceIndex:this.currToken[M.FIELDS.START_POS],raws:t});this.position=this.position+3;return n}else{this.unexpected()}};Parser.prototype.combinator=function combinator(){var e=this;if(this.content()==="|"){return this.namespace()}var r=this.locateNextMeaningfulToken(this.position);if(r<0||this.tokens[r][M.FIELDS.TYPE]===q.comma){var t=this.parseWhitespaceEquivalentTokens(r);if(t.length>0){var n=this.current.last;if(n){var i=this.convertWhitespaceNodesToSpace(t),o=i.space,s=i.rawSpace;if(s!==undefined){n.rawSpaceAfter+=s}n.spaces.after+=o}else{t.forEach(function(r){return e.newNode(r)})}}return}var a=this.currToken;var u=undefined;if(r>this.position){u=this.parseWhitespaceEquivalentTokens(r)}var c=void 0;if(this.isNamedCombinator()){c=this.namedCombinator()}else if(this.currToken[M.FIELDS.TYPE]===q.combinator){c=new R.default({value:this.content(),source:getTokenSource(this.currToken),sourceIndex:this.currToken[M.FIELDS.START_POS]});this.position++}else if(U[this.currToken[M.FIELDS.TYPE]]){}else if(!u){this.unexpected()}if(c){if(u){var f=this.convertWhitespaceNodesToSpace(u),l=f.space,p=f.rawSpace;c.spaces.before=l;c.rawSpaceBefore=p}}else{var h=this.convertWhitespaceNodesToSpace(u,true),B=h.space,v=h.rawSpace;if(!v){v=B}var d={};var b={spaces:{}};if(B.endsWith(" ")&&v.endsWith(" ")){d.before=B.slice(0,B.length-1);b.spaces.before=v.slice(0,v.length-1)}else if(B.startsWith(" ")&&v.startsWith(" ")){d.after=B.slice(1);b.spaces.after=v.slice(1)}else{b.value=v}c=new R.default({value:" ",source:getTokenSourceSpan(a,this.tokens[this.position-1]),sourceIndex:a[M.FIELDS.START_POS],spaces:d,raws:b})}if(this.currToken&&this.currToken[M.FIELDS.TYPE]===q.space){c.spaces.after=this.optionalSpace(this.content());this.position++}return this.newNode(c)};Parser.prototype.comma=function comma(){if(this.position===this.tokens.length-1){this.root.trailingComma=true;this.position++;return}this.current._inferEndPosition();var e=new B.default({source:{start:tokenStart(this.tokens[this.position+1])}});this.current.parent.append(e);this.current=e;this.position++};Parser.prototype.comment=function comment(){var e=this.currToken;this.newNode(new y.default({value:this.content(),source:getTokenSource(e),sourceIndex:e[M.FIELDS.START_POS]}));this.position++};Parser.prototype.error=function error(e,r){throw this.root.error(e,r)};Parser.prototype.missingBackslash=function missingBackslash(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[M.FIELDS.START_POS]})};Parser.prototype.missingParenthesis=function missingParenthesis(){return this.expected("opening parenthesis",this.currToken[M.FIELDS.START_POS])};Parser.prototype.missingSquareBracket=function missingSquareBracket(){return this.expected("opening square bracket",this.currToken[M.FIELDS.START_POS])};Parser.prototype.unexpected=function unexpected(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[M.FIELDS.START_POS])};Parser.prototype.namespace=function namespace(){var e=this.prevToken&&this.content(this.prevToken)||true;if(this.nextToken[M.FIELDS.TYPE]===q.word){this.position++;return this.word(e)}else if(this.nextToken[M.FIELDS.TYPE]===q.asterisk){this.position++;return this.universal(e)}};Parser.prototype.nesting=function nesting(){if(this.nextToken){var e=this.content(this.nextToken);if(e==="|"){this.position++;return}}var r=this.currToken;this.newNode(new j.default({value:this.content(),source:getTokenSource(r),sourceIndex:r[M.FIELDS.START_POS]}));this.position++};Parser.prototype.parentheses=function parentheses(){var e=this.current.last;var r=1;this.position++;if(e&&e.type===J.PSEUDO){var t=new B.default({source:{start:tokenStart(this.tokens[this.position-1])}});var n=this.current;e.append(t);this.current=t;while(this.position1&&e.nextToken&&e.nextToken[M.FIELDS.TYPE]===q.openParenthesis){e.error("Misplaced parenthesis.",{index:e.nextToken[M.FIELDS.START_POS]})}})}else{return this.expected(["pseudo-class","pseudo-element"],this.currToken[M.FIELDS.START_POS])}};Parser.prototype.space=function space(){var e=this.content();if(this.position===0||this.prevToken[M.FIELDS.TYPE]===q.comma||this.prevToken[M.FIELDS.TYPE]===q.openParenthesis){this.spaces=this.optionalSpace(e);this.position++}else if(this.position===this.tokens.length-1||this.nextToken[M.FIELDS.TYPE]===q.comma||this.nextToken[M.FIELDS.TYPE]===q.closeParenthesis){this.current.last.spaces.after=this.optionalSpace(e);this.position++}else{this.combinator()}};Parser.prototype.string=function string(){var e=this.currToken;this.newNode(new T.default({value:this.content(),source:getTokenSource(e),sourceIndex:e[M.FIELDS.START_POS]}));this.position++};Parser.prototype.universal=function universal(e){var r=this.nextToken;if(r&&this.content(r)==="|"){this.position++;return this.namespace()}var t=this.currToken;this.newNode(new A.default({value:this.content(),source:getTokenSource(t),sourceIndex:t[M.FIELDS.START_POS]}),e);this.position++};Parser.prototype.splitWord=function splitWord(e,r){var t=this;var n=this.nextToken;var i=this.content();while(n&&~[q.dollar,q.caret,q.equals,q.word].indexOf(n[M.FIELDS.TYPE])){this.position++;var o=this.content();i+=o;if(o.lastIndexOf("\\")===o.length-1){var s=this.nextToken;if(s&&s[M.FIELDS.TYPE]===q.space){i+=this.requiredSpace(this.content(s));this.position++}}n=this.nextToken}var a=(0,u.default)(i,".").filter(function(e){return i[e-1]!=="\\"});var c=(0,u.default)(i,"#");var l=(0,u.default)(i,"#{");if(l.length){c=c.filter(function(e){return!~l.indexOf(e)})}var p=(0,_.default)((0,f.default)([0].concat(a,c)));p.forEach(function(n,o){var s=p[o+1]||i.length;var u=i.slice(n,s);if(o===0&&r){return r.call(t,u,p.length)}var f=void 0;var l=t.currToken;var h=l[M.FIELDS.START_POS]+p[o];var B=getSource(l[1],l[2]+n,l[3],l[2]+(s-1));if(~a.indexOf(n)){var v={value:u.slice(1),source:B,sourceIndex:h};f=new d.default(unescapeProp(v,"value"))}else if(~c.indexOf(n)){var b={value:u.slice(1),source:B,sourceIndex:h};f=new m.default(unescapeProp(b,"value"))}else{var y={value:u,source:B,sourceIndex:h};unescapeProp(y,"value");f=new w.default(y)}t.newNode(f,e);e=null});this.position++};Parser.prototype.word=function word(e){var r=this.nextToken;if(r&&this.content(r)==="|"){this.position++;return this.namespace()}return this.splitWord(e)};Parser.prototype.loop=function loop(){while(this.position0&&arguments[0]!==undefined?arguments[0]:this.currToken;return this.css.slice(e[M.FIELDS.START_POS],e[M.FIELDS.END_POS])};Parser.prototype.locateNextMeaningfulToken=function locateNextMeaningfulToken(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:this.position+1;var r=e;while(r{"use strict";r.__esModule=true;var n=t(2401);var i=_interopRequireDefault(n);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}var o=function(){function Processor(e,r){_classCallCheck(this,Processor);this.func=e||function noop(){};this.funcRes=null;this.options=r}Processor.prototype._shouldUpdateSelector=function _shouldUpdateSelector(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var t=Object.assign({},this.options,r);if(t.updateSelector===false){return false}else{return typeof e!=="string"}};Processor.prototype._isLossy=function _isLossy(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var r=Object.assign({},this.options,e);if(r.lossless===false){return true}else{return false}};Processor.prototype._root=function _root(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var t=new i.default(e,this._parseOptions(r));return t.root};Processor.prototype._parseOptions=function _parseOptions(e){return{lossy:this._isLossy(e)}};Processor.prototype._run=function _run(e){var r=this;var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return new Promise(function(n,i){try{var o=r._root(e,t);Promise.resolve(r.func(o)).then(function(n){var i=undefined;if(r._shouldUpdateSelector(e,t)){i=o.toString();e.selector=i}return{transform:n,root:o,string:i}}).then(n,i)}catch(e){i(e);return}})};Processor.prototype._runSync=function _runSync(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var t=this._root(e,r);var n=this.func(t);if(n&&typeof n.then==="function"){throw new Error("Selector processor returned a promise to a synchronous call.")}var i=undefined;if(r.updateSelector&&typeof e!=="string"){i=t.toString();e.selector=i}return{transform:n,root:t,string:i}};Processor.prototype.ast=function ast(e,r){return this._run(e,r).then(function(e){return e.root})};Processor.prototype.astSync=function astSync(e,r){return this._runSync(e,r).root};Processor.prototype.transform=function transform(e,r){return this._run(e,r).then(function(e){return e.transform})};Processor.prototype.transformSync=function transformSync(e,r){return this._runSync(e,r).transform};Processor.prototype.process=function process(e,r){return this._run(e,r).then(function(e){return e.string||e.root.toString()})};Processor.prototype.processSync=function processSync(e,r){var t=this._runSync(e,r);return t.string||t.root.toString()};return Processor}();r.default=o;e.exports=r["default"]},168:(e,r,t)=>{"use strict";r.__esModule=true;var n;var i=function(){function defineProperties(e,r){for(var t=0;t0&&arguments[0]!==undefined?arguments[0]:{};_classCallCheck(this,Attribute);var t=_possibleConstructorReturn(this,e.call(this,handleDeprecatedContructorOpts(r)));t.type=l.ATTRIBUTE;t.raws=t.raws||{};Object.defineProperty(t.raws,"unquoted",{get:h(function(){return t.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:h(function(){return t.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")});t._constructed=true;return t}Attribute.prototype.getQuotedValue=function getQuotedValue(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var r=this._determineQuoteMark(e);var t=g[r];var n=(0,s.default)(this._value,t);return n};Attribute.prototype._determineQuoteMark=function _determineQuoteMark(e){return e.smart?this.smartQuoteMark(e):this.preferredQuoteMark(e)};Attribute.prototype.setValue=function setValue(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};this._value=e;this._quoteMark=this._determineQuoteMark(r);this._syncRawValue()};Attribute.prototype.smartQuoteMark=function smartQuoteMark(e){var r=this.value;var t=r.replace(/[^']/g,"").length;var n=r.replace(/[^"]/g,"").length;if(t+n===0){var i=(0,s.default)(r,{isIdentifier:true});if(i===r){return Attribute.NO_QUOTE}else{var o=this.preferredQuoteMark(e);if(o===Attribute.NO_QUOTE){var a=this.quoteMark||e.quoteMark||Attribute.DOUBLE_QUOTE;var u=g[a];var c=(0,s.default)(r,u);if(c.length1&&arguments[1]!==undefined?arguments[1]:e;var t=arguments.length>2&&arguments[2]!==undefined?arguments[2]:defaultAttrConcat;var n=this._spacesFor(r);return t(this.stringifyProperty(e),n)};Attribute.prototype.offsetOf=function offsetOf(e){var r=1;var t=this._spacesFor("attribute");r+=t.before.length;if(e==="namespace"||e==="ns"){return this.namespace?r:-1}if(e==="attributeNS"){return r}r+=this.namespaceString.length;if(this.namespace){r+=1}if(e==="attribute"){return r}r+=this.stringifyProperty("attribute").length;r+=t.after.length;var n=this._spacesFor("operator");r+=n.before.length;var i=this.stringifyProperty("operator");if(e==="operator"){return i?r:-1}r+=i.length;r+=n.after.length;var o=this._spacesFor("value");r+=o.before.length;var s=this.stringifyProperty("value");if(e==="value"){return s?r:-1}r+=s.length;r+=o.after.length;var a=this._spacesFor("insensitive");r+=a.before.length;if(e==="insensitive"){return this.insensitive?r:-1}return-1};Attribute.prototype.toString=function toString(){var e=this;var r=[this.rawSpaceBefore,"["];r.push(this._stringFor("qualifiedAttribute","attribute"));if(this.operator&&this.value){r.push(this._stringFor("operator"));r.push(this._stringFor("value"));r.push(this._stringFor("insensitiveFlag","insensitive",function(r,t){if(r.length>0&&!e.quoted&&t.before.length===0&&!(e.spaces.value&&e.spaces.value.after)){t.before=" "}return defaultAttrConcat(r,t)}))}r.push("]");r.push(this.rawSpaceAfter);return r.join("")};i(Attribute,[{key:"quoted",get:function get(){var e=this.quoteMark;return e==="'"||e==='"'},set:function set(e){d()}},{key:"quoteMark",get:function get(){return this._quoteMark},set:function set(e){if(!this._constructed){this._quoteMark=e;return}if(this._quoteMark!==e){this._quoteMark=e;this._syncRawValue()}}},{key:"qualifiedAttribute",get:function get(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function get(){return this.insensitive?"i":""}},{key:"value",get:function get(){return this._value},set:function set(e){if(this._constructed){var r=unescapeValue(e),t=r.deprecatedUsage,n=r.unescaped,i=r.quoteMark;if(t){v()}if(n===this._value&&i===this._quoteMark){return}this._value=n;this._quoteMark=i;this._syncRawValue()}else{this._value=e}}},{key:"attribute",get:function get(){return this._attribute},set:function set(e){this._handleEscapes("attribute",e);this._attribute=e}}]);return Attribute}(f.default);y.NO_QUOTE=null;y.SINGLE_QUOTE="'";y.DOUBLE_QUOTE='"';r.default=y;var g=(n={"'":{quotes:"single",wrap:true},'"':{quotes:"double",wrap:true}},n[null]={isIdentifier:true},n);function defaultAttrConcat(e,r){return""+r.before+e+r.after}},2219:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t{"use strict";r.__esModule=true;var n=t(6202);var i=_interopRequireDefault(n);var o=t(6821);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Combinator,e);function Combinator(r){_classCallCheck(this,Combinator);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.COMBINATOR;return t}return Combinator}(i.default);r.default=s;e.exports=r["default"]},6249:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(6202);var i=_interopRequireDefault(n);var o=t(6821);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Comment,e);function Comment(r){_classCallCheck(this,Comment);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.COMMENT;return t}return Comment}(i.default);r.default=s;e.exports=r["default"]},720:(e,r,t)=>{"use strict";r.__esModule=true;r.universal=r.tag=r.string=r.selector=r.root=r.pseudo=r.nesting=r.id=r.comment=r.combinator=r.className=r.attribute=undefined;var n=t(168);var i=_interopRequireDefault(n);var o=t(2219);var s=_interopRequireDefault(o);var a=t(8296);var u=_interopRequireDefault(a);var c=t(6249);var f=_interopRequireDefault(c);var l=t(5325);var p=_interopRequireDefault(l);var h=t(996);var B=_interopRequireDefault(h);var v=t(4382);var d=_interopRequireDefault(v);var b=t(1921);var y=_interopRequireDefault(b);var g=t(8470);var m=_interopRequireDefault(g);var C=t(6137);var w=_interopRequireDefault(C);var S=t(1797);var T=_interopRequireDefault(S);var O=t(3860);var E=_interopRequireDefault(O);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var k=r.attribute=function attribute(e){return new i.default(e)};var P=r.className=function className(e){return new s.default(e)};var D=r.combinator=function combinator(e){return new u.default(e)};var A=r.comment=function comment(e){return new f.default(e)};var F=r.id=function id(e){return new p.default(e)};var R=r.nesting=function nesting(e){return new B.default(e)};var x=r.pseudo=function pseudo(e){return new d.default(e)};var j=r.root=function root(e){return new y.default(e)};var I=r.selector=function selector(e){return new m.default(e)};var _=r.string=function string(e){return new w.default(e)};var M=r.tag=function tag(e){return new T.default(e)};var N=r.universal=function universal(e){return new E.default(e)}},6663:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t=e){this.indexes[t]=r-1}}return this};Container.prototype.removeAll=function removeAll(){for(var e=this.nodes,r=Array.isArray(e),t=0,e=r?e:e[Symbol.iterator]();;){var n;if(r){if(t>=e.length)break;n=e[t++]}else{t=e.next();if(t.done)break;n=t.value}var i=n;i.parent=undefined}this.nodes=[];return this};Container.prototype.empty=function empty(){return this.removeAll()};Container.prototype.insertAfter=function insertAfter(e,r){r.parent=this;var t=this.index(e);this.nodes.splice(t+1,0,r);r.parent=this;var n=void 0;for(var i in this.indexes){n=this.indexes[i];if(t<=n){this.indexes[i]=n+1}}return this};Container.prototype.insertBefore=function insertBefore(e,r){r.parent=this;var t=this.index(e);this.nodes.splice(t,0,r);r.parent=this;var n=void 0;for(var i in this.indexes){n=this.indexes[i];if(n<=t){this.indexes[i]=n+1}}return this};Container.prototype._findChildAtPosition=function _findChildAtPosition(e,r){var t=undefined;this.each(function(n){if(n.atPosition){var i=n.atPosition(e,r);if(i){t=i;return false}}else if(n.isAtPosition(e,r)){t=n;return false}});return t};Container.prototype.atPosition=function atPosition(e,r){if(this.isAtPosition(e,r)){return this._findChildAtPosition(e,r)||this}else{return undefined}};Container.prototype._inferEndPosition=function _inferEndPosition(){if(this.last&&this.last.source&&this.last.source.end){this.source=this.source||{};this.source.end=this.source.end||{};Object.assign(this.source.end,this.last.source.end)}};Container.prototype.each=function each(e){if(!this.lastEach){this.lastEach=0}if(!this.indexes){this.indexes={}}this.lastEach++;var r=this.lastEach;this.indexes[r]=0;if(!this.length){return undefined}var t=void 0,n=void 0;while(this.indexes[r]{"use strict";r.__esModule=true;r.isUniversal=r.isTag=r.isString=r.isSelector=r.isRoot=r.isPseudo=r.isNesting=r.isIdentifier=r.isComment=r.isCombinator=r.isClassName=r.isAttribute=undefined;var n=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var i;r.isNode=isNode;r.isPseudoElement=isPseudoElement;r.isPseudoClass=isPseudoClass;r.isContainer=isContainer;r.isNamespace=isNamespace;var o=t(6821);var s=(i={},i[o.ATTRIBUTE]=true,i[o.CLASS]=true,i[o.COMBINATOR]=true,i[o.COMMENT]=true,i[o.ID]=true,i[o.NESTING]=true,i[o.PSEUDO]=true,i[o.ROOT]=true,i[o.SELECTOR]=true,i[o.STRING]=true,i[o.TAG]=true,i[o.UNIVERSAL]=true,i);function isNode(e){return(typeof e==="undefined"?"undefined":n(e))==="object"&&s[e.type]}function isNodeType(e,r){return isNode(r)&&r.type===e}var a=r.isAttribute=isNodeType.bind(null,o.ATTRIBUTE);var u=r.isClassName=isNodeType.bind(null,o.CLASS);var c=r.isCombinator=isNodeType.bind(null,o.COMBINATOR);var f=r.isComment=isNodeType.bind(null,o.COMMENT);var l=r.isIdentifier=isNodeType.bind(null,o.ID);var p=r.isNesting=isNodeType.bind(null,o.NESTING);var h=r.isPseudo=isNodeType.bind(null,o.PSEUDO);var B=r.isRoot=isNodeType.bind(null,o.ROOT);var v=r.isSelector=isNodeType.bind(null,o.SELECTOR);var d=r.isString=isNodeType.bind(null,o.STRING);var b=r.isTag=isNodeType.bind(null,o.TAG);var y=r.isUniversal=isNodeType.bind(null,o.UNIVERSAL);function isPseudoElement(e){return h(e)&&e.value&&(e.value.startsWith("::")||e.value===":before"||e.value===":after")}function isPseudoClass(e){return h(e)&&!isPseudoElement(e)}function isContainer(e){return!!(isNode(e)&&e.walk)}function isNamespace(e){return a(e)||b(e)}},5325:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(6202);var i=_interopRequireDefault(n);var o=t(6821);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(ID,e);function ID(r){_classCallCheck(this,ID);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.ID;return t}ID.prototype.toString=function toString(){return[this.rawSpaceBefore,String("#"+this.stringifyProperty("value")),this.rawSpaceAfter].join("")};return ID}(i.default);r.default=s;e.exports=r["default"]},8402:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(6821);Object.keys(n).forEach(function(e){if(e==="default"||e==="__esModule")return;Object.defineProperty(r,e,{enumerable:true,get:function get(){return n[e]}})});var i=t(720);Object.keys(i).forEach(function(e){if(e==="default"||e==="__esModule")return;Object.defineProperty(r,e,{enumerable:true,get:function get(){return i[e]}})});var o=t(4667);Object.keys(o).forEach(function(e){if(e==="default"||e==="__esModule")return;Object.defineProperty(r,e,{enumerable:true,get:function get(){return o[e]}})})},1950:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t{"use strict";r.__esModule=true;var n=t(6202);var i=_interopRequireDefault(n);var o=t(6821);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Nesting,e);function Nesting(r){_classCallCheck(this,Nesting);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.NESTING;t.value="&";return t}return Nesting}(i.default);r.default=s;e.exports=r["default"]},6202:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t0&&arguments[0]!==undefined?arguments[0]:{};_classCallCheck(this,Node);Object.assign(this,e);this.spaces=this.spaces||{};this.spaces.before=this.spaces.before||"";this.spaces.after=this.spaces.after||""}Node.prototype.remove=function remove(){if(this.parent){this.parent.removeChild(this)}this.parent=undefined;return this};Node.prototype.replaceWith=function replaceWith(){if(this.parent){for(var e in arguments){this.parent.insertBefore(this,arguments[e])}this.remove()}return this};Node.prototype.next=function next(){return this.parent.at(this.parent.index(this)+1)};Node.prototype.prev=function prev(){return this.parent.at(this.parent.index(this)-1)};Node.prototype.clone=function clone(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var r=s(this);for(var t in e){r[t]=e[t]}return r};Node.prototype.appendToPropertyAndEscape=function appendToPropertyAndEscape(e,r,t){if(!this.raws){this.raws={}}var n=this[e];var i=this.raws[e];this[e]=n+r;if(i||t!==r){this.raws[e]=(i||n)+t}else{delete this.raws[e]}};Node.prototype.setPropertyAndEscape=function setPropertyAndEscape(e,r,t){if(!this.raws){this.raws={}}this[e]=r;this.raws[e]=t};Node.prototype.setPropertyWithoutEscape=function setPropertyWithoutEscape(e,r){this[e]=r;if(this.raws){delete this.raws[e]}};Node.prototype.isAtPosition=function isAtPosition(e,r){if(this.source&&this.source.start&&this.source.end){if(this.source.start.line>e){return false}if(this.source.end.liner){return false}if(this.source.end.line===e&&this.source.end.column{"use strict";r.__esModule=true;var n=t(6663);var i=_interopRequireDefault(n);var o=t(6821);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Pseudo,e);function Pseudo(r){_classCallCheck(this,Pseudo);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.PSEUDO;return t}Pseudo.prototype.toString=function toString(){var e=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),e,this.rawSpaceAfter].join("")};return Pseudo}(i.default);r.default=s;e.exports=r["default"]},1921:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t{"use strict";r.__esModule=true;var n=t(6663);var i=_interopRequireDefault(n);var o=t(6821);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Selector,e);function Selector(r){_classCallCheck(this,Selector);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.SELECTOR;return t}return Selector}(i.default);r.default=s;e.exports=r["default"]},6137:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(6202);var i=_interopRequireDefault(n);var o=t(6821);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(String,e);function String(r){_classCallCheck(this,String);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.STRING;return t}return String}(i.default);r.default=s;e.exports=r["default"]},1797:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(1950);var i=_interopRequireDefault(n);var o=t(6821);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Tag,e);function Tag(r){_classCallCheck(this,Tag);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.TAG;return t}return Tag}(i.default);r.default=s;e.exports=r["default"]},6821:(e,r)=>{"use strict";r.__esModule=true;var t=r.TAG="tag";var n=r.STRING="string";var i=r.SELECTOR="selector";var o=r.ROOT="root";var s=r.PSEUDO="pseudo";var a=r.NESTING="nesting";var u=r.ID="id";var c=r.COMMENT="comment";var f=r.COMBINATOR="combinator";var l=r.CLASS="class";var p=r.ATTRIBUTE="attribute";var h=r.UNIVERSAL="universal"},3860:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(1950);var i=_interopRequireDefault(n);var o=t(6821);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Universal,e);function Universal(r){_classCallCheck(this,Universal);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.UNIVERSAL;t.value="*";return t}return Universal}(i.default);r.default=s;e.exports=r["default"]},8017:(e,r)=>{"use strict";r.__esModule=true;r.default=sortAscending;function sortAscending(e){return e.sort(function(e,r){return e-r})}e.exports=r["default"]},866:(e,r)=>{"use strict";r.__esModule=true;var t=r.ampersand=38;var n=r.asterisk=42;var i=r.at=64;var o=r.comma=44;var s=r.colon=58;var a=r.semicolon=59;var u=r.openParenthesis=40;var c=r.closeParenthesis=41;var f=r.openSquare=91;var l=r.closeSquare=93;var p=r.dollar=36;var h=r.tilde=126;var B=r.caret=94;var v=r.plus=43;var d=r.equals=61;var b=r.pipe=124;var y=r.greaterThan=62;var g=r.space=32;var m=r.singleQuote=39;var C=r.doubleQuote=34;var w=r.slash=47;var S=r.bang=33;var T=r.backslash=92;var O=r.cr=13;var E=r.feed=12;var k=r.newline=10;var P=r.tab=9;var D=r.str=m;var A=r.comment=-1;var F=r.word=-2;var R=r.combinator=-3},2188:(e,r,t)=>{"use strict";r.__esModule=true;r.FIELDS=undefined;var n,i;r.default=tokenize;var o=t(866);var s=_interopRequireWildcard(o);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var r={};if(e!=null){for(var t in e){if(Object.prototype.hasOwnProperty.call(e,t))r[t]=e[t]}}r.default=e;return r}}var a=(n={},n[s.tab]=true,n[s.newline]=true,n[s.cr]=true,n[s.feed]=true,n);var u=(i={},i[s.space]=true,i[s.tab]=true,i[s.newline]=true,i[s.cr]=true,i[s.feed]=true,i[s.ampersand]=true,i[s.asterisk]=true,i[s.bang]=true,i[s.comma]=true,i[s.colon]=true,i[s.semicolon]=true,i[s.openParenthesis]=true,i[s.closeParenthesis]=true,i[s.openSquare]=true,i[s.closeSquare]=true,i[s.singleQuote]=true,i[s.doubleQuote]=true,i[s.plus]=true,i[s.pipe]=true,i[s.tilde]=true,i[s.greaterThan]=true,i[s.equals]=true,i[s.dollar]=true,i[s.caret]=true,i[s.slash]=true,i);var c={};var f="0123456789abcdefABCDEF";for(var l=0;l0){g=a+d;m=y-b[d].length}else{g=a;m=o}w=s.comment;a=g;h=g;p=y-m}else if(f===s.slash){y=u;w=f;h=a;p=u-o;c=y+1}else{y=consumeWord(t,u);w=s.word;h=a;p=y-o}c=y+1;break}r.push([w,a,u-o,h,p,u,c]);if(m){o=m;m=null}u=c}return r}},7479:(e,r)=>{"use strict";r.__esModule=true;r.default=ensureObject;function ensureObject(e){for(var r=arguments.length,t=Array(r>1?r-1:0),n=1;n0){var i=t.shift();if(!e[i]){e[i]={}}e=e[i]}}e.exports=r["default"]},9977:(e,r)=>{"use strict";r.__esModule=true;r.default=getProp;function getProp(e){for(var r=arguments.length,t=Array(r>1?r-1:0),n=1;n0){var i=t.shift();if(!e[i]){return undefined}e=e[i]}return e}e.exports=r["default"]},5247:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(4680);Object.defineProperty(r,"unesc",{enumerable:true,get:function get(){return _interopRequireDefault(n).default}});var i=t(9977);Object.defineProperty(r,"getProp",{enumerable:true,get:function get(){return _interopRequireDefault(i).default}});var o=t(7479);Object.defineProperty(r,"ensureObject",{enumerable:true,get:function get(){return _interopRequireDefault(o).default}});var s=t(4236);Object.defineProperty(r,"stripComments",{enumerable:true,get:function get(){return _interopRequireDefault(s).default}});function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},4236:(e,r)=>{"use strict";r.__esModule=true;r.default=stripComments;function stripComments(e){var r="";var t=e.indexOf("/*");var n=0;while(t>=0){r=r+e.slice(n,t);var i=e.indexOf("*/",t+2);if(i<0){return r}n=i+2;t=e.indexOf("/*",n)}r=r+e.slice(n);return r}e.exports=r["default"]},4680:(e,r)=>{"use strict";r.__esModule=true;r.default=unesc;var t=/\\(?:([0-9a-fA-F]{6})|([0-9a-fA-F]{1,5})(?: |(?![0-9a-fA-F])))/g;var n=/\\(.)/g;function unesc(e){e=e.replace(t,function(e,r,t){var n=r||t;var i=parseInt(n,16);return String.fromCharCode(i)});e=e.replace(n,function(e,r){return r});return e}e.exports=r["default"]},2616:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(2043));var i=_interopDefault(t(4510));var o=n.plugin("postcss-color-functional-notation",e=>{const r="preserve"in Object(e)?Boolean(e.preserve):false;return e=>{e.walkDecls(e=>{const t=e.value;if(u.test(t)){const n=i(t).parse();n.walkType("func",e=>{if(c.test(e.value)){const r=e.nodes.slice(1,-1);const t=P(e,r);const n=D(e,r);const i=A(e,r);if(t||n||i){const t=r[3];const n=r[4];if(n){if(g(n)&&!d(n)){n.unit="";n.value=String(n.value/100)}if(C(e)){e.value+="a"}}else if(w(e)){e.value=e.value.slice(0,-1)}if(t&&T(t)){t.replaceWith(F())}if(i){r[0].unit=r[1].unit=r[2].unit="";r[0].value=String(Math.floor(r[0].value*255/100));r[1].value=String(Math.floor(r[1].value*255/100));r[2].value=String(Math.floor(r[2].value*255/100))}e.nodes.splice(3,0,[F()]);e.nodes.splice(2,0,[F()])}}});const o=String(n);if(o!==t){if(r){e.cloneBefore({value:o})}else{e.value=o}}}})}});const s=/^%?$/i;const a=/^calc$/i;const u=/(^|[^\w-])(hsla?|rgba?)\(/i;const c=/^(hsla?|rgba?)$/i;const f=/^hsla?$/i;const l=/^(hsl|rgb)$/i;const p=/^(hsla|rgba)$/i;const h=/^(deg|grad|rad|turn)?$/i;const B=/^rgba?$/i;const v=e=>d(e)||e.type==="number"&&s.test(e.unit);const d=e=>e.type==="func"&&a.test(e.value);const b=e=>d(e)||e.type==="number"&&h.test(e.unit);const y=e=>d(e)||e.type==="number"&&e.unit==="";const g=e=>d(e)||e.type==="number"&&(e.unit==="%"||e.unit===""&&e.value==="0");const m=e=>e.type==="func"&&f.test(e.value);const C=e=>e.type==="func"&&l.test(e.value);const w=e=>e.type==="func"&&p.test(e.value);const S=e=>e.type==="func"&&B.test(e.value);const T=e=>e.type==="operator"&&e.value==="/";const O=[b,g,g,T,v];const E=[y,y,y,T,v];const k=[g,g,g,T,v];const P=(e,r)=>m(e)&&r.every((e,r)=>typeof O[r]==="function"&&O[r](e));const D=(e,r)=>S(e)&&r.every((e,r)=>typeof E[r]==="function"&&E[r](e));const A=(e,r)=>S(e)&&r.every((e,r)=>typeof k[r]==="function"&&k[r](e));const F=()=>i.comma({value:","});e.exports=o},8283:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(2043));var i=_interopDefault(t(4510));var o=t(7306);function _slicedToArray(e,r){return _arrayWithHoles(e)||_iterableToArrayLimit(e,r)||_nonIterableRest()}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _iterableToArrayLimit(e,r){var t=[];var n=true;var i=false;var o=undefined;try{for(var s=e[Symbol.iterator](),a;!(n=(a=s.next()).done);n=true){t.push(a.value);if(r&&t.length===r)break}}catch(e){i=true;o=e}finally{try{if(!n&&s["return"]!=null)s["return"]()}finally{if(i)throw o}}return t}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}var s=n.plugin("postcss-color-gray",e=>r=>{r.walkDecls(r=>{if(u(r)){const t=r.value;const n=i(t).parse();n.walk(e=>{const r=S(e),t=_slicedToArray(r,2),n=t[0],s=t[1];if(n!==undefined){e.value="rgb";const r=o.lab2rgb(n,0,0).map(e=>Math.max(Math.min(Math.round(e*2.55),255),0)),t=_slicedToArray(r,3),a=t[0],u=t[1],c=t[2];const f=e.first;const l=e.last;e.removeAll().append(f).append(i.number({value:a})).append(i.comma({value:","})).append(i.number({value:u})).append(i.comma({value:","})).append(i.number({value:c}));if(s<1){e.value+="a";e.append(i.comma({value:","})).append(i.number({value:s}))}e.append(l)}});const s=n.toString();if(t!==s){if(Object(e).preserve){r.cloneBefore({value:s})}else{r.value=s}}}})});const a=/(^|[^\w-])gray\(/i;const u=e=>a.test(Object(e).value);const c=e=>Object(e).type==="number";const f=e=>Object(e).type==="operator";const l=e=>Object(e).type==="func";const p=/^calc$/i;const h=e=>l(e)&&p.test(e.value);const B=/^gray$/i;const v=e=>l(e)&&B.test(e.value)&&e.nodes&&e.nodes.length;const d=e=>c(e)&&e.unit==="%";const b=e=>c(e)&&e.unit==="";const y=e=>f(e)&&e.value==="/";const g=e=>b(e)?Number(e.value):undefined;const m=e=>y(e)?null:undefined;const C=e=>h(e)?String(e):b(e)?Number(e.value):d(e)?Number(e.value)/100:undefined;const w=[g,m,C];const S=e=>{const r=[];if(v(e)){const t=e.nodes.slice(1,-1);for(const e in t){const n=typeof w[e]==="function"?w[e](t[e]):undefined;if(n!==undefined){if(n!==null){r.push(n)}}else{return[]}}return r}else{return[]}};e.exports=s},8276:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(2043));var i=_interopDefault(t(4510));var o=n.plugin("postcss-color-hex-alpha",e=>{const r="preserve"in Object(e)?Boolean(e.preserve):false;return e=>{e.walkDecls(e=>{if(a(e)){const t=i(e.value).parse();c(t,e=>{if(l(e)){e.replaceWith(p(e))}});const n=String(t);if(e.value!==n){if(r){e.cloneBefore({value:n})}else{e.value=n}}}})}});const s=/#([0-9A-Fa-f]{4}(?:[0-9A-Fa-f]{4})?)\b/;const a=e=>s.test(e.value);const u=/^#([0-9A-Fa-f]{4}(?:[0-9A-Fa-f]{4})?)$/;const c=(e,r)=>{if(Object(e.nodes).length){e.nodes.slice().forEach(e=>{r(e);c(e,r)})}};const f=1e5;const l=e=>e.type==="word"&&u.test(e.value);const p=e=>{const r=e.value;const t=`0x${r.length===5?r.slice(1).replace(/[0-9A-f]/g,"$&$&"):r.slice(1)}`;const n=[parseInt(t.slice(2,4),16),parseInt(t.slice(4,6),16),parseInt(t.slice(6,8),16),Math.round(parseInt(t.slice(8,10),16)/255*f)/f],o=n[0],s=n[1],a=n[2],u=n[3];const c=i.func({value:"rgba",raws:Object.assign({},e.raws)});c.append(i.paren({value:"("}));c.append(i.number({value:o}));c.append(i.comma({value:","}));c.append(i.number({value:s}));c.append(i.comma({value:","}));c.append(i.number({value:a}));c.append(i.comma({value:","}));c.append(i.number({value:u}));c.append(i.paren({value:")"}));return c};e.exports=o},1455:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(4510));var i=_interopDefault(t(5747));var o=_interopDefault(t(5622));var s=_interopDefault(t(2043));var a=t(7306);function asyncGeneratorStep(e,r,t,n,i,o,s){try{var a=e[o](s);var u=a.value}catch(e){t(e);return}if(a.done){r(u)}else{Promise.resolve(u).then(n,i)}}function _asyncToGenerator(e){return function(){var r=this,t=arguments;return new Promise(function(n,i){var o=e.apply(r,t);function _next(e){asyncGeneratorStep(o,n,i,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(o,n,i,_next,_throw,"throw",e)}_next(undefined)})}}function _defineProperty(e,r,t){if(r in e){Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true})}else{e[r]=t}return e}function _objectSpread(e){for(var r=1;r{const o=l(e)?t:p(e)?i:null;if(o){e.nodes.slice().forEach(e=>{if(h(e)){const t=e.prop;o[t]=n(e.value).parse();if(!r.preserve){e.remove()}}});if(!r.preserve&&B(e)){e.remove()}}});return _objectSpread({},t,i)}const u=/^html$/i;const c=/^:root$/i;const f=/^--[A-z][\w-]*$/;const l=e=>e.type==="rule"&&u.test(e.selector)&&Object(e.nodes).length;const p=e=>e.type==="rule"&&c.test(e.selector)&&Object(e.nodes).length;const h=e=>e.type==="decl"&&f.test(e.prop);const B=e=>Object(e.nodes).length===0;function importCustomPropertiesFromCSSAST(e){return getCustomProperties(e,{preserve:true})}function importCustomPropertiesFromCSSFile(e){return _importCustomPropertiesFromCSSFile.apply(this,arguments)}function _importCustomPropertiesFromCSSFile(){_importCustomPropertiesFromCSSFile=_asyncToGenerator(function*(e){const r=yield v(e);const t=s.parse(r,{from:e});return importCustomPropertiesFromCSSAST(t)});return _importCustomPropertiesFromCSSFile.apply(this,arguments)}function importCustomPropertiesFromObject(e){const r=Object.assign({},Object(e).customProperties||Object(e)["custom-properties"]);for(const e in r){r[e]=n(r[e]).parse()}return r}function importCustomPropertiesFromJSONFile(e){return _importCustomPropertiesFromJSONFile.apply(this,arguments)}function _importCustomPropertiesFromJSONFile(){_importCustomPropertiesFromJSONFile=_asyncToGenerator(function*(e){const r=yield d(e);return importCustomPropertiesFromObject(r)});return _importCustomPropertiesFromJSONFile.apply(this,arguments)}function importCustomPropertiesFromJSFile(e){return _importCustomPropertiesFromJSFile.apply(this,arguments)}function _importCustomPropertiesFromJSFile(){_importCustomPropertiesFromJSFile=_asyncToGenerator(function*(e){const r=yield Promise.resolve(require(e));return importCustomPropertiesFromObject(r)});return _importCustomPropertiesFromJSFile.apply(this,arguments)}function importCustomPropertiesFromSources(e){return e.map(e=>{if(e instanceof Promise){return e}else if(e instanceof Function){return e()}const r=e===Object(e)?e:{from:String(e)};if(r.customProperties||r["custom-properties"]){return r}const t=o.resolve(String(r.from||""));const n=(r.type||o.extname(t).slice(1)).toLowerCase();return{type:n,from:t}}).reduce(function(){var e=_asyncToGenerator(function*(e,r){const t=yield r,n=t.type,i=t.from;if(n==="ast"){return Object.assign(yield e,importCustomPropertiesFromCSSAST(i))}if(n==="css"){return Object.assign(yield e,yield importCustomPropertiesFromCSSFile(i))}if(n==="js"){return Object.assign(yield e,yield importCustomPropertiesFromJSFile(i))}if(n==="json"){return Object.assign(yield e,yield importCustomPropertiesFromJSONFile(i))}return Object.assign(yield e,yield importCustomPropertiesFromObject(yield r))});return function(r,t){return e.apply(this,arguments)}}(),{})}const v=e=>new Promise((r,t)=>{i.readFile(e,"utf8",(e,n)=>{if(e){t(e)}else{r(n)}})});const d=function(){var e=_asyncToGenerator(function*(e){return JSON.parse(yield v(e))});return function readJSON(r){return e.apply(this,arguments)}}();function convertDtoD(e){return e%360}function convertGtoD(e){return e*.9%360}function convertRtoD(e){return e*180/Math.PI%360}function convertTtoD(e){return e*360%360}function convertNtoRGB(e){const r={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],transparent:[0,0,0],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};return r[e]&&r[e].map(e=>e/2.55)}function convertHtoRGB(e){const r=(e.match(b)||[]).slice(1),t=_slicedToArray(r,8),n=t[0],i=t[1],o=t[2],s=t[3],a=t[4],u=t[5],c=t[6],f=t[7];if(a!==undefined||n!==undefined){const e=a!==undefined?parseInt(a,16):n!==undefined?parseInt(n+n,16):0;const r=u!==undefined?parseInt(u,16):i!==undefined?parseInt(i+i,16):0;const t=c!==undefined?parseInt(c,16):o!==undefined?parseInt(o+o,16):0;const l=f!==undefined?parseInt(f,16):s!==undefined?parseInt(s+s,16):255;return[e,r,t,l].map(e=>e/2.55)}return undefined}const b=/^#(?:([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?|([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?)$/i;class Color{constructor(e){this.color=Object(Object(e).color||e);this.color.colorspace=this.color.colorspace?this.color.colorspace:"red"in e&&"green"in e&&"blue"in e?"rgb":"hue"in e&&"saturation"in e&&"lightness"in e?"hsl":"hue"in e&&"whiteness"in e&&"blackness"in e?"hwb":"unknown";if(e.colorspace==="rgb"){this.color.hue=a.rgb2hue(e.red,e.green,e.blue,e.hue||0)}}alpha(e){const r=this.color;return e===undefined?r.alpha:new Color(assign(r,{alpha:e}))}blackness(e){const r=color2hwb(this.color);return e===undefined?r.blackness:new Color(assign(r,{blackness:e}))}blend(e,r,t="rgb"){const n=this.color;return new Color(blend(n,e,r,t))}blenda(e,r,t="rgb"){const n=this.color;return new Color(blend(n,e,r,t,true))}blue(e){const r=color2rgb(this.color);return e===undefined?r.blue:new Color(assign(r,{blue:e}))}contrast(e){const r=this.color;return new Color(contrast(r,e))}green(e){const r=color2rgb(this.color);return e===undefined?r.green:new Color(assign(r,{green:e}))}hue(e){const r=color2hsl(this.color);return e===undefined?r.hue:new Color(assign(r,{hue:e}))}lightness(e){const r=color2hsl(this.color);return e===undefined?r.lightness:new Color(assign(r,{lightness:e}))}red(e){const r=color2rgb(this.color);return e===undefined?r.red:new Color(assign(r,{red:e}))}rgb(e,r,t){const n=color2rgb(this.color);return new Color(assign(n,{red:e,green:r,blue:t}))}saturation(e){const r=color2hsl(this.color);return e===undefined?r.saturation:new Color(assign(r,{saturation:e}))}shade(e){const r=color2hwb(this.color);const t={hue:0,whiteness:0,blackness:100,colorspace:"hwb"};const n="rgb";return e===undefined?r.blackness:new Color(blend(r,t,e,n))}tint(e){const r=color2hwb(this.color);const t={hue:0,whiteness:100,blackness:0,colorspace:"hwb"};const n="rgb";return e===undefined?r.blackness:new Color(blend(r,t,e,n))}whiteness(e){const r=color2hwb(this.color);return e===undefined?r.whiteness:new Color(assign(r,{whiteness:e}))}toHSL(){return color2hslString(this.color)}toHWB(){return color2hwbString(this.color)}toLegacy(){return color2legacyString(this.color)}toRGB(){return color2rgbString(this.color)}toRGBLegacy(){return color2rgbLegacyString(this.color)}toString(){return color2string(this.color)}}function blend(e,r,t,n,i){const o=t/100;const s=1-o;if(n==="hsl"){const t=color2hsl(e),n=t.hue,a=t.saturation,u=t.lightness,c=t.alpha;const f=color2hsl(r),l=f.hue,p=f.saturation,h=f.lightness,B=f.alpha;const v=n*s+l*o,d=a*s+p*o,b=u*s+h*o,y=i?c*s+B*o:c;return{hue:v,saturation:d,lightness:b,alpha:y,colorspace:"hsl"}}else if(n==="hwb"){const t=color2hwb(e),n=t.hue,a=t.whiteness,u=t.blackness,c=t.alpha;const f=color2hwb(r),l=f.hue,p=f.whiteness,h=f.blackness,B=f.alpha;const v=n*s+l*o,d=a*s+p*o,b=u*s+h*o,y=i?c*s+B*o:c;return{hue:v,whiteness:d,blackness:b,alpha:y,colorspace:"hwb"}}else{const t=color2rgb(e),n=t.red,a=t.green,u=t.blue,c=t.alpha;const f=color2rgb(r),l=f.red,p=f.green,h=f.blue,B=f.alpha;const v=n*s+l*o,d=a*s+p*o,b=u*s+h*o,y=i?c*s+B*o:c;return{red:v,green:d,blue:b,alpha:y,colorspace:"rgb"}}}function assign(e,r){const t=Object.assign({},e);Object.keys(r).forEach(n=>{const i=n==="hue";const o=!i&&y.test(n);const s=normalize(r[n],n);t[n]=s;if(o){t.hue=a.rgb2hue(t.red,t.green,t.blue,e.hue||0)}});return t}function normalize(e,r){const t=r==="hue";const n=0;const i=t?360:100;const o=Math.min(Math.max(t?e%360:e,n),i);return o}function color2rgb(e){const r=e.colorspace==="hsl"?a.hsl2rgb(e.hue,e.saturation,e.lightness):e.colorspace==="hwb"?a.hwb2rgb(e.hue,e.whiteness,e.blackness):[e.red,e.green,e.blue],t=_slicedToArray(r,3),n=t[0],i=t[1],o=t[2];return{red:n,green:i,blue:o,hue:e.hue,alpha:e.alpha,colorspace:"rgb"}}function color2hsl(e){const r=e.colorspace==="rgb"?a.rgb2hsl(e.red,e.green,e.blue,e.hue):e.colorspace==="hwb"?a.hwb2hsl(e.hue,e.whiteness,e.blackness):[e.hue,e.saturation,e.lightness],t=_slicedToArray(r,3),n=t[0],i=t[1],o=t[2];return{hue:n,saturation:i,lightness:o,alpha:e.alpha,colorspace:"hsl"}}function color2hwb(e){const r=e.colorspace==="rgb"?a.rgb2hwb(e.red,e.green,e.blue,e.hue):e.colorspace==="hsl"?a.hsl2hwb(e.hue,e.saturation,e.lightness):[e.hue,e.whiteness,e.blackness],t=_slicedToArray(r,3),n=t[0],i=t[1],o=t[2];return{hue:n,whiteness:i,blackness:o,alpha:e.alpha,colorspace:"hwb"}}function contrast(e,r){const t=color2hwb(e);const n=color2rgb(e);const i=rgb2luminance(n.red,n.green,n.blue);const o=i<.5?{hue:t.hue,whiteness:100,blackness:0,alpha:t.alpha,colorspace:"hwb"}:{hue:t.hue,whiteness:0,blackness:100,alpha:t.alpha,colorspace:"hwb"};const s=colors2contrast(e,o);const a=s>4.5?colors2contrastRatioColor(t,o):o;return blend(o,a,r,"hwb",false)}function colors2contrast(e,r){const t=color2rgb(e);const n=color2rgb(r);const i=rgb2luminance(t.red,t.green,t.blue);const o=rgb2luminance(n.red,n.green,n.blue);return i>o?(i+.05)/(o+.05):(o+.05)/(i+.05)}function rgb2luminance(e,r,t){const n=[channel2luminance(e),channel2luminance(r),channel2luminance(t)],i=n[0],o=n[1],s=n[2];const a=.2126*i+.7152*o+.0722*s;return a}function channel2luminance(e){const r=e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4);return r}function colors2contrastRatioColor(e,r){const t=Object.assign({},e);let n=e.whiteness;let i=e.blackness;let o=r.whiteness;let s=r.blackness;while(Math.abs(n-o)>100||Math.abs(i-s)>100){const r=Math.round((o+n)/2);const a=Math.round((s+i)/2);t.whiteness=r;t.blackness=a;if(colors2contrast(t,e)>4.5){o=r;s=a}else{n=r;i=a}}return t}const y=/^(blue|green|red)$/i;function color2string(e){return e.colorspace==="hsl"?color2hslString(e):e.colorspace==="hwb"?color2hwbString(e):color2rgbString(e)}function color2hslString(e){const r=color2hsl(e);const t=r.alpha===100;const n=r.hue;const i=Math.round(r.saturation*1e10)/1e10;const o=Math.round(r.lightness*1e10)/1e10;const s=Math.round(r.alpha*1e10)/1e10;return`hsl(${n} ${i}% ${o}%${t?"":` / ${s}%`})`}function color2hwbString(e){const r=color2hwb(e);const t=r.alpha===100;const n=r.hue;const i=Math.round(r.whiteness*1e10)/1e10;const o=Math.round(r.blackness*1e10)/1e10;const s=Math.round(r.alpha*1e10)/1e10;return`hwb(${n} ${i}% ${o}%${t?"":` / ${s}%`})`}function color2rgbString(e){const r=color2rgb(e);const t=r.alpha===100;const n=Math.round(r.red*1e10)/1e10;const i=Math.round(r.green*1e10)/1e10;const o=Math.round(r.blue*1e10)/1e10;const s=Math.round(r.alpha*1e10)/1e10;return`rgb(${n}% ${i}% ${o}%${t?"":` / ${s}%`})`}function color2legacyString(e){return e.colorspace==="hsl"?color2hslLegacyString(e):color2rgbLegacyString(e)}function color2rgbLegacyString(e){const r=color2rgb(e);const t=r.alpha===100;const n=t?"rgb":"rgba";const i=Math.round(r.red*255/100);const o=Math.round(r.green*255/100);const s=Math.round(r.blue*255/100);const a=Math.round(r.alpha/100*1e10)/1e10;return`${n}(${i}, ${o}, ${s}${t?"":`, ${a}`})`}function color2hslLegacyString(e){const r=color2hsl(e);const t=r.alpha===100;const n=t?"hsl":"hsla";const i=r.hue;const o=Math.round(r.saturation*1e10)/1e10;const s=Math.round(r.lightness*1e10)/1e10;const a=Math.round(r.alpha/100*1e10)/1e10;return`${n}(${i}, ${o}%, ${s}%${t?"":`, ${a}`})`}function manageUnresolved(e,r,t,n){if("warn"===r.unresolved){r.decl.warn(r.result,n,{word:t})}else if("ignore"!==r.unresolved){throw r.decl.error(n,{word:t})}}function transformAST(e,r){e.nodes.slice(0).forEach(e=>{if(isColorModFunction(e)){if(r.transformVars){transformVariables(e,r)}const t=transformColorModFunction(e,r);if(t){e.replaceWith(n.word({raws:e.raws,value:r.stringifier(t)}))}}else if(e.nodes&&Object(e.nodes).length){transformAST(e,r)}})}function transformVariables(e,r){walk(e,e=>{if(isVariable(e)){const t=transformArgsByParams(e,[[transformWord,isComma,transformNode]]),n=_slicedToArray(t,2),i=n[0],o=n[1];if(i in r.customProperties){let t=r.customProperties[i];if(M.test(t)){const e=t.clone();transformVariables(e,r);t=e}if(t.nodes.length===1&&t.nodes[0].nodes.length){t.nodes[0].nodes.forEach(r=>{e.parent.insertBefore(e,r)})}e.remove()}else if(o&&o.nodes.length===1&&o.nodes[0].nodes.length){transformVariables(o,r);e.replaceWith(...o.nodes[0].nodes[0])}}})}function transformColor(e,r){if(isRGBFunction(e)){return transformRGBFunction(e,r)}else if(isHSLFunction(e)){return transformHSLFunction(e,r)}else if(isHWBFunction(e)){return transformHWBFunction(e,r)}else if(isColorModFunction(e)){return transformColorModFunction(e,r)}else if(isHexColor(e)){return transformHexColor(e,r)}else if(isNamedColor(e)){return transformNamedColor(e,r)}else{return manageUnresolved(e,r,e.value,`Expected a color`)}}function transformRGBFunction(e,r){const t=transformArgsByParams(e,[[transformPercentage,transformPercentage,transformPercentage,isSlash,transformAlpha],[transformRGBNumber,transformRGBNumber,transformRGBNumber,isSlash,transformAlpha],[transformPercentage,isComma,transformPercentage,isComma,transformPercentage,isComma,transformAlpha],[transformRGBNumber,isComma,transformRGBNumber,isComma,transformRGBNumber,isComma,transformAlpha]]),n=_slicedToArray(t,4),i=n[0],o=n[1],s=n[2],a=n[3],u=a===void 0?100:a;if(i!==undefined){const e=new Color({red:i,green:o,blue:s,alpha:u,colorspace:"rgb"});return e}else{return manageUnresolved(e,r,e.value,`Expected a valid rgb() function`)}}function transformHSLFunction(e,r){const t=transformArgsByParams(e,[[transformHue,transformPercentage,transformPercentage,isSlash,transformAlpha],[transformHue,isComma,transformPercentage,isComma,transformPercentage,isComma,transformAlpha]]),n=_slicedToArray(t,4),i=n[0],o=n[1],s=n[2],a=n[3],u=a===void 0?100:a;if(s!==undefined){const e=new Color({hue:i,saturation:o,lightness:s,alpha:u,colorspace:"hsl"});return e}else{return manageUnresolved(e,r,e.value,`Expected a valid hsl() function`)}}function transformHWBFunction(e,r){const t=transformArgsByParams(e,[[transformHue,transformPercentage,transformPercentage,isSlash,transformAlpha]]),n=_slicedToArray(t,4),i=n[0],o=n[1],s=n[2],a=n[3],u=a===void 0?100:a;if(s!==undefined){const e=new Color({hue:i,whiteness:o,blackness:s,alpha:u,colorspace:"hwb"});return e}else{return manageUnresolved(e,r,e.value,`Expected a valid hwb() function`)}}function transformColorModFunction(e,r){const t=(e.nodes||[]).slice(1,-1)||[],n=_toArray(t),i=n[0],o=n.slice(1);if(i!==undefined){const t=isHue(i)?new Color({hue:transformHue(i,r),saturation:100,lightness:50,alpha:100,colorspace:"hsl"}):transformColor(i,r);if(t){const e=transformColorByAdjusters(t,o,r);return e}else{return manageUnresolved(e,r,e.value,`Expected a valid color`)}}else{return manageUnresolved(e,r,e.value,`Expected a valid color-mod() function`)}}function transformHexColor(e,r){if(E.test(e.value)){const r=convertHtoRGB(e.value),t=_slicedToArray(r,4),n=t[0],i=t[1],o=t[2],s=t[3];const a=new Color({red:n,green:i,blue:o,alpha:s});return a}else{return manageUnresolved(e,r,e.value,`Expected a valid hex color`)}}function transformNamedColor(e,r){if(isNamedColor(e)){const r=convertNtoRGB(e.value),t=_slicedToArray(r,3),n=t[0],i=t[1],o=t[2];const s=new Color({red:n,green:i,blue:o,alpha:100,colorspace:"rgb"});return s}else{return manageUnresolved(e,r,e.value,`Expected a valid named-color`)}}function transformColorByAdjusters(e,r,t){const n=r.reduce((e,r)=>{if(isAlphaBlueGreenRedAdjuster(r)){return transformAlphaBlueGreenRedAdjuster(e,r,t)}else if(isRGBAdjuster(r)){return transformRGBAdjuster(e,r,t)}else if(isHueAdjuster(r)){return transformHueAdjuster(e,r,t)}else if(isBlacknessLightnessSaturationWhitenessAdjuster(r)){return transformBlacknessLightnessSaturationWhitenessAdjuster(e,r,t)}else if(isShadeTintAdjuster(r)){return transformShadeTintAdjuster(e,r,t)}else if(isBlendAdjuster(r)){return transformBlendAdjuster(e,r,r.value==="blenda",t)}else if(isContrastAdjuster(r)){return transformContrastAdjuster(e,r,t)}else{manageUnresolved(r,t,r.value,`Expected a valid color adjuster`);return e}},e);return n}function transformAlphaBlueGreenRedAdjuster(e,r,t){const n=transformArgsByParams(r,g.test(r.value)?[[transformMinusPlusOperator,transformAlpha],[transformTimesOperator,transformPercentage],[transformAlpha]]:[[transformMinusPlusOperator,transformPercentage],[transformMinusPlusOperator,transformRGBNumber],[transformTimesOperator,transformPercentage],[transformPercentage],[transformRGBNumber]]),i=_slicedToArray(n,2),o=i[0],s=i[1];if(o!==undefined){const t=r.value.toLowerCase().replace(g,"alpha");const n=e[t]();const i=s!==undefined?o==="+"?n+Number(s):o==="-"?n-Number(s):o==="*"?n*Number(s):Number(s):Number(o);const a=e[t](i);return a}else{return manageUnresolved(r,t,r.value,`Expected a valid modifier()`)}}function transformRGBAdjuster(e,r,t){const n=transformArgsByParams(r,[[transformMinusPlusOperator,transformPercentage,transformPercentage,transformPercentage],[transformMinusPlusOperator,transformRGBNumber,transformRGBNumber,transformRGBNumber],[transformMinusPlusOperator,transformHexColor],[transformTimesOperator,transformPercentage]]),i=_slicedToArray(n,4),o=i[0],s=i[1],a=i[2],u=i[3];if(s!==undefined&&s.color){const r=e.rgb(o==="+"?e.red()+s.red():e.red()-s.red(),o==="+"?e.green()+s.green():e.green()-s.green(),o==="+"?e.blue()+s.blue():e.blue()-s.blue());return r}else if(o!==undefined&&F.test(o)){const r=e.rgb(o==="+"?e.red()+s:e.red()-s,o==="+"?e.green()+a:e.green()-a,o==="+"?e.blue()+u:e.blue()-u);return r}else if(o!==undefined&&s!==undefined){const r=e.rgb(e.red()*s,e.green()*s,e.blue()*s);return r}else{return manageUnresolved(r,t,r.value,`Expected a valid rgb() adjuster`)}}function transformBlendAdjuster(e,r,t,n){const i=transformArgsByParams(r,[[transformColor,transformPercentage,transformColorSpace]]),o=_slicedToArray(i,3),s=o[0],a=o[1],u=o[2],c=u===void 0?"rgb":u;if(a!==undefined){const r=t?e.blenda(s.color,a,c):e.blend(s.color,a,c);return r}else{return manageUnresolved(r,n,r.value,`Expected a valid blend() adjuster)`)}}function transformContrastAdjuster(e,r,t){const n=transformArgsByParams(r,[[transformPercentage]]),i=_slicedToArray(n,1),o=i[0];if(o!==undefined){const r=e.contrast(o);return r}else{return manageUnresolved(r,t,r.value,`Expected a valid contrast() adjuster)`)}}function transformHueAdjuster(e,r,t){const n=transformArgsByParams(r,[[transformMinusPlusTimesOperator,transformHue],[transformHue]]),i=_slicedToArray(n,2),o=i[0],s=i[1];if(o!==undefined){const r=e.hue();const t=s!==undefined?o==="+"?r+Number(s):o==="-"?r-Number(s):o==="*"?r*Number(s):Number(s):Number(o);return e.hue(t)}else{return manageUnresolved(r,t,r.value,`Expected a valid hue() function)`)}}function transformBlacknessLightnessSaturationWhitenessAdjuster(e,r,t){const n=r.value.toLowerCase().replace(/^b$/,"blackness").replace(/^l$/,"lightness").replace(/^s$/,"saturation").replace(/^w$/,"whiteness");const i=transformArgsByParams(r,[[transformMinusPlusTimesOperator,transformPercentage],[transformPercentage]]),o=_slicedToArray(i,2),s=o[0],a=o[1];if(s!==undefined){const r=e[n]();const t=a!==undefined?s==="+"?r+Number(a):s==="-"?r-Number(a):s==="*"?r*Number(a):Number(a):Number(s);return e[n](t)}else{return manageUnresolved(r,t,r.value,`Expected a valid ${n}() function)`)}}function transformShadeTintAdjuster(e,r,t){const n=r.value.toLowerCase();const i=transformArgsByParams(r,[[transformPercentage]]),o=_slicedToArray(i,1),s=o[0];if(s!==undefined){const r=Number(s);return e[n](r)}else{return manageUnresolved(r,t,r.value,`Expected valid ${n}() arguments`)}}function transformColorSpace(e,r){if(isColorSpace(e)){return e.value}else{return manageUnresolved(e,r,e.value,`Expected a valid color space)`)}}function transformAlpha(e,r){if(isNumber(e)){return e.value*100}else if(isPercentage(e)){return transformPercentage(e,r)}else{return manageUnresolved(e,r,e.value,`Expected a valid alpha value)`)}}function transformRGBNumber(e,r){if(isNumber(e)){return e.value/2.55}else{return manageUnresolved(e,r,e.value,`Expected a valid RGB value)`)}}function transformHue(e,r){if(isHue(e)){const r=e.unit.toLowerCase();if(r==="grad"){return convertGtoD(e.value)}else if(r==="rad"){return convertRtoD(e.value)}else if(r==="turn"){return convertTtoD(e.value)}else{return convertDtoD(e.value)}}else{return manageUnresolved(e,r,e.value,`Expected a valid hue`)}}function transformPercentage(e,r){if(isPercentage(e)){return Number(e.value)}else{return manageUnresolved(e,r,e.value,`Expected a valid hue`)}}function transformMinusPlusOperator(e,r){if(isMinusPlusOperator(e)){return e.value}else{return manageUnresolved(e,r,e.value,`Expected a plus or minus operator`)}}function transformTimesOperator(e,r){if(isTimesOperator(e)){return e.value}else{return manageUnresolved(e,r,e.value,`Expected a times operator`)}}function transformMinusPlusTimesOperator(e,r){if(isMinusPlusTimesOperator(e)){return e.value}else{return manageUnresolved(e,r,e.value,`Expected a plus, minus, or times operator`)}}function transformWord(e,r){if(isWord(e)){return e.value}else{return manageUnresolved(e,r,e.value,`Expected a valid word`)}}function transformNode(e){return Object(e)}function transformArgsByParams(e,r){const t=(e.nodes||[]).slice(1,-1);const n={unresolved:"ignore"};return r.map(e=>t.map((r,t)=>typeof e[t]==="function"?e[t](r,n):undefined).filter(e=>typeof e!=="boolean")).filter(e=>e.every(e=>e!==undefined))[0]||[]}function walk(e,r){r(e);if(Object(e.nodes).length){e.nodes.slice().forEach(e=>{walk(e,r)})}}function isVariable(e){return Object(e).type==="func"&&_.test(e.value)}function isAlphaBlueGreenRedAdjuster(e){return Object(e).type==="func"&&m.test(e.value)}function isRGBAdjuster(e){return Object(e).type==="func"&&x.test(e.value)}function isHueAdjuster(e){return Object(e).type==="func"&&D.test(e.value)}function isBlacknessLightnessSaturationWhitenessAdjuster(e){return Object(e).type==="func"&&C.test(e.value)}function isShadeTintAdjuster(e){return Object(e).type==="func"&&I.test(e.value)}function isBlendAdjuster(e){return Object(e).type==="func"&&w.test(e.value)}function isContrastAdjuster(e){return Object(e).type==="func"&&O.test(e.value)}function isRGBFunction(e){return Object(e).type==="func"&&j.test(e.value)}function isHSLFunction(e){return Object(e).type==="func"&&k.test(e.value)}function isHWBFunction(e){return Object(e).type==="func"&&A.test(e.value)}function isColorModFunction(e){return Object(e).type==="func"&&S.test(e.value)}function isNamedColor(e){return Object(e).type==="word"&&Boolean(convertNtoRGB(e.value))}function isHexColor(e){return Object(e).type==="word"&&E.test(e.value)}function isColorSpace(e){return Object(e).type==="word"&&T.test(e.value)}function isHue(e){return Object(e).type==="number"&&P.test(e.unit)}function isComma(e){return Object(e).type==="comma"}function isSlash(e){return Object(e).type==="operator"&&e.value==="/"}function isNumber(e){return Object(e).type==="number"&&e.unit===""}function isMinusPlusOperator(e){return Object(e).type==="operator"&&F.test(e.value)}function isMinusPlusTimesOperator(e){return Object(e).type==="operator"&&R.test(e.value)}function isTimesOperator(e){return Object(e).type==="operator"&&N.test(e.value)}function isPercentage(e){return Object(e).type==="number"&&(e.unit==="%"||e.value==="0")}function isWord(e){return Object(e).type==="word"}const g=/^a(lpha)?$/i;const m=/^(a(lpha)?|blue|green|red)$/i;const C=/^(b(lackness)?|l(ightness)?|s(aturation)?|w(hiteness)?)$/i;const w=/^blenda?$/i;const S=/^color-mod$/i;const T=/^(hsl|hwb|rgb)$/i;const O=/^contrast$/i;const E=/^#(?:([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?|([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?)$/i;const k=/^hsla?$/i;const P=/^(deg|grad|rad|turn)?$/i;const D=/^h(ue)?$/i;const A=/^hwb$/i;const F=/^[+-]$/;const R=/^[*+-]$/;const x=/^rgb$/i;const j=/^rgba?$/i;const I=/^(shade|tint)$/i;const _=/^var$/i;const M=/(^|[^\w-])var\(/i;const N=/^[*]$/;var L=s.plugin("postcss-color-mod-function",e=>{const r=String(Object(e).unresolved||"throw").toLowerCase();const t=Object(e).stringifier||(e=>e.toLegacy());const i=[].concat(Object(e).importFrom||[]);const o="transformVars"in Object(e)?e.transformVars:true;const s=importCustomPropertiesFromSources(i);return function(){var e=_asyncToGenerator(function*(e,i){const a=Object.assign(yield s,getCustomProperties(e,{preserve:true}));e.walkDecls(e=>{const s=e.value;if(q.test(s)){const u=n(s,{loose:true}).parse();transformAST(u,{unresolved:r,stringifier:t,transformVars:o,decl:e,result:i,customProperties:a});const c=u.toString();if(s!==c){e.value=c}}})});return function(r,t){return e.apply(this,arguments)}}()});const q=/(^|[^\w-])color-mod\(/i;e.exports=L},2344:(e,r,t)=>{const n=t(2043);const i=t(4510);const o="#639";const s=/(^|[^\w-])rebeccapurple([^\w-]|$)/;e.exports=n.plugin("postcss-color-rebeccapurple",()=>e=>{e.walkDecls(e=>{const r=e.value;if(r&&s.test(r)){const t=i(r).parse();t.walk(e=>{if(e.type==="word"&&e.value==="rebeccapurple"){e.value=o}});e.value=t.toString()}})})},9103:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(2043));var i=_interopDefault(t(5747));var o=_interopDefault(t(5622));function asyncGeneratorStep(e,r,t,n,i,o,s){try{var a=e[o](s);var u=a.value}catch(e){t(e);return}if(a.done){r(u)}else{Promise.resolve(u).then(n,i)}}function _asyncToGenerator(e){return function(){var r=this,t=arguments;return new Promise(function(n,i){var o=e.apply(r,t);function _next(e){asyncGeneratorStep(o,n,i,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(o,n,i,_next,_throw,"throw",e)}_next(undefined)})}}function _defineProperty(e,r,t){if(r in e){Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true})}else{e[r]=t}return e}function _objectSpread(e){for(var r=1;r0){o-=1}}else if(o===0){if(r&&h.test(n+a)){i=true}else if(!r&&a===","){i=true}}if(i){t.push(r?new MediaExpression(n+a):new MediaQuery(n));n="";i=false}else{n+=a}}if(n!==""){t.push(r?new MediaExpression(n):new MediaQuery(n))}return t}class MediaQueryList{constructor(e){this.nodes=parse(e)}invert(){this.nodes.forEach(e=>{e.invert()});return this}clone(){return new MediaQueryList(String(this))}toString(){return this.nodes.join(",")}}class MediaQuery{constructor(e){const r=e.match(B),t=_slicedToArray(r,4),n=t[1],i=t[2],o=t[3];const s=i.match(v)||[],a=_slicedToArray(s,9),u=a[1],c=u===void 0?"":u,f=a[2],l=f===void 0?" ":f,p=a[3],h=p===void 0?"":p,d=a[4],b=d===void 0?"":d,y=a[5],g=y===void 0?"":y,m=a[6],C=m===void 0?"":m,w=a[7],S=w===void 0?"":w,T=a[8],O=T===void 0?"":T;const E={before:n,after:o,afterModifier:l,originalModifier:c||"",beforeAnd:b,and:g,beforeExpression:C};const k=parse(S||O,true);Object.assign(this,{modifier:c,type:h,raws:E,nodes:k})}clone(e){const r=new MediaQuery(String(this));Object.assign(r,e);return r}invert(){this.modifier=this.modifier?"":this.raws.originalModifier;return this}toString(){const e=this.raws;return`${e.before}${this.modifier}${this.modifier?`${e.afterModifier}`:""}${this.type}${e.beforeAnd}${e.and}${e.beforeExpression}${this.nodes.join("")}${this.raws.after}`}}class MediaExpression{constructor(e){const r=e.match(h)||[null,e],t=_slicedToArray(r,5),n=t[1],i=t[2],o=i===void 0?"":i,s=t[3],a=s===void 0?"":s,u=t[4],c=u===void 0?"":u;const f={after:o,and:a,afterAnd:c};Object.assign(this,{value:n,raws:f})}clone(e){const r=new MediaExpression(String(this));Object.assign(r,e);return r}toString(){const e=this.raws;return`${this.value}${e.after}${e.and}${e.afterAnd}`}}const s="(not|only)";const a="(all|print|screen|speech)";const u="([\\W\\w]*)";const c="([\\W\\w]+)";const f="(\\s*)";const l="(\\s+)";const p="(?:(\\s+)(and))";const h=new RegExp(`^${c}(?:${p}${l})$`,"i");const B=new RegExp(`^${f}${u}${f}$`);const v=new RegExp(`^(?:${s}${l})?(?:${a}(?:${p}${l}${c})?|${c})$`,"i");var d=e=>new MediaQueryList(e);var b=(e,r)=>{const t={};e.nodes.slice().forEach(e=>{if(m(e)){const n=e.params.match(g),i=_slicedToArray(n,3),o=i[1],s=i[2];t[o]=d(s);if(!Object(r).preserve){e.remove()}}});return t};const y=/^custom-media$/i;const g=/^(--[A-z][\w-]*)\s+([\W\w]+)\s*$/;const m=e=>e.type==="atrule"&&y.test(e.name)&&g.test(e.params);function getCustomMediaFromCSSFile(e){return _getCustomMediaFromCSSFile.apply(this,arguments)}function _getCustomMediaFromCSSFile(){_getCustomMediaFromCSSFile=_asyncToGenerator(function*(e){const r=yield C(e);const t=n.parse(r,{from:e});return b(t,{preserve:true})});return _getCustomMediaFromCSSFile.apply(this,arguments)}function getCustomMediaFromObject(e){const r=Object.assign({},Object(e).customMedia,Object(e)["custom-media"]);for(const e in r){r[e]=d(r[e])}return r}function getCustomMediaFromJSONFile(e){return _getCustomMediaFromJSONFile.apply(this,arguments)}function _getCustomMediaFromJSONFile(){_getCustomMediaFromJSONFile=_asyncToGenerator(function*(e){const r=yield w(e);return getCustomMediaFromObject(r)});return _getCustomMediaFromJSONFile.apply(this,arguments)}function getCustomMediaFromJSFile(e){return _getCustomMediaFromJSFile.apply(this,arguments)}function _getCustomMediaFromJSFile(){_getCustomMediaFromJSFile=_asyncToGenerator(function*(e){const r=yield Promise.resolve(require(e));return getCustomMediaFromObject(r)});return _getCustomMediaFromJSFile.apply(this,arguments)}function getCustomMediaFromSources(e){return e.map(e=>{if(e instanceof Promise){return e}else if(e instanceof Function){return e()}const r=e===Object(e)?e:{from:String(e)};if(Object(r).customMedia||Object(r)["custom-media"]){return r}const t=o.resolve(String(r.from||""));const n=(r.type||o.extname(t).slice(1)).toLowerCase();return{type:n,from:t}}).reduce(function(){var e=_asyncToGenerator(function*(e,r){const t=yield r,n=t.type,i=t.from;if(n==="css"||n==="pcss"){return Object.assign(yield e,yield getCustomMediaFromCSSFile(i))}if(n==="js"){return Object.assign(yield e,yield getCustomMediaFromJSFile(i))}if(n==="json"){return Object.assign(yield e,yield getCustomMediaFromJSONFile(i))}return Object.assign(yield e,getCustomMediaFromObject(yield r))});return function(r,t){return e.apply(this,arguments)}}(),{})}const C=e=>new Promise((r,t)=>{i.readFile(e,"utf8",(e,n)=>{if(e){t(e)}else{r(n)}})});const w=function(){var e=_asyncToGenerator(function*(e){return JSON.parse(yield C(e))});return function readJSON(r){return e.apply(this,arguments)}}();function transformMediaList(e,r){let t=e.nodes.length-1;while(t>=0){const n=transformMedia(e.nodes[t],r);if(n.length){e.nodes.splice(t,1,...n)}--t}return e}function transformMedia(e,r){const t=[];for(const u in e.nodes){const c=e.nodes[u],f=c.value,l=c.nodes;const p=f.replace(S,"$1");if(p in r){var n=true;var i=false;var o=undefined;try{for(var s=r[p].nodes[Symbol.iterator](),a;!(n=(a=s.next()).done);n=true){const n=a.value;const i=e.modifier!==n.modifier?e.modifier||n.modifier:"";const o=e.clone({modifier:i,raws:!i||e.modifier?_objectSpread({},e.raws):_objectSpread({},n.raws),type:e.type||n.type});if(o.type===n.type){Object.assign(o.raws,{and:n.raws.and,beforeAnd:n.raws.beforeAnd,beforeExpression:n.raws.beforeExpression})}o.nodes.splice(u,1,...n.clone().nodes.map(r=>{if(e.nodes[u].raws.and){r.raws=_objectSpread({},e.nodes[u].raws)}r.spaces=_objectSpread({},e.nodes[u].spaces);return r}));const s=T(r,p);const c=transformMedia(o,s);if(c.length){t.push(...c)}else{t.push(o)}}}catch(e){i=true;o=e}finally{try{if(!n&&s.return!=null){s.return()}}finally{if(i){throw o}}}return t}else if(l&&l.length){transformMediaList(e.nodes[u],r)}}return t}const S=/\((--[A-z][\w-]*)\)/;const T=(e,r)=>{const t=Object.assign({},e);delete t[r];return t};var O=(e,r,t)=>{e.walkAtRules(E,e=>{if(k.test(e.params)){const n=d(e.params);const i=String(transformMediaList(n,r));if(t.preserve){e.cloneBefore({params:i})}else{e.params=i}}})};const E=/^media$/i;const k=/\(--[A-z][\w-]*\)/;function writeCustomMediaToCssFile(e,r){return _writeCustomMediaToCssFile.apply(this,arguments)}function _writeCustomMediaToCssFile(){_writeCustomMediaToCssFile=_asyncToGenerator(function*(e,r){const t=Object.keys(r).reduce((e,t)=>{e.push(`@custom-media ${t} ${r[t]};`);return e},[]).join("\n");const n=`${t}\n`;yield D(e,n)});return _writeCustomMediaToCssFile.apply(this,arguments)}function writeCustomMediaToJsonFile(e,r){return _writeCustomMediaToJsonFile.apply(this,arguments)}function _writeCustomMediaToJsonFile(){_writeCustomMediaToJsonFile=_asyncToGenerator(function*(e,r){const t=JSON.stringify({"custom-media":r},null," ");const n=`${t}\n`;yield D(e,n)});return _writeCustomMediaToJsonFile.apply(this,arguments)}function writeCustomMediaToCjsFile(e,r){return _writeCustomMediaToCjsFile.apply(this,arguments)}function _writeCustomMediaToCjsFile(){_writeCustomMediaToCjsFile=_asyncToGenerator(function*(e,r){const t=Object.keys(r).reduce((e,t)=>{e.push(`\t\t'${A(t)}': '${A(r[t])}'`);return e},[]).join(",\n");const n=`module.exports = {\n\tcustomMedia: {\n${t}\n\t}\n};\n`;yield D(e,n)});return _writeCustomMediaToCjsFile.apply(this,arguments)}function writeCustomMediaToMjsFile(e,r){return _writeCustomMediaToMjsFile.apply(this,arguments)}function _writeCustomMediaToMjsFile(){_writeCustomMediaToMjsFile=_asyncToGenerator(function*(e,r){const t=Object.keys(r).reduce((e,t)=>{e.push(`\t'${A(t)}': '${A(r[t])}'`);return e},[]).join(",\n");const n=`export const customMedia = {\n${t}\n};\n`;yield D(e,n)});return _writeCustomMediaToMjsFile.apply(this,arguments)}function writeCustomMediaToExports(e,r){return Promise.all(r.map(function(){var r=_asyncToGenerator(function*(r){if(r instanceof Function){yield r(P(e))}else{const t=r===Object(r)?r:{to:String(r)};const n=t.toJSON||P;if("customMedia"in t){t.customMedia=n(e)}else if("custom-media"in t){t["custom-media"]=n(e)}else{const r=String(t.to||"");const i=(t.type||o.extname(r).slice(1)).toLowerCase();const s=n(e);if(i==="css"){yield writeCustomMediaToCssFile(r,s)}if(i==="js"){yield writeCustomMediaToCjsFile(r,s)}if(i==="json"){yield writeCustomMediaToJsonFile(r,s)}if(i==="mjs"){yield writeCustomMediaToMjsFile(r,s)}}}});return function(e){return r.apply(this,arguments)}}()))}const P=e=>{return Object.keys(e).reduce((r,t)=>{r[t]=String(e[t]);return r},{})};const D=(e,r)=>new Promise((t,n)=>{i.writeFile(e,r,e=>{if(e){n(e)}else{t()}})});const A=e=>e.replace(/\\([\s\S])|(')/g,"\\$1$2").replace(/\n/g,"\\n").replace(/\r/g,"\\r");var F=n.plugin("postcss-custom-media",e=>{const r="preserve"in Object(e)?Boolean(e.preserve):false;const t=[].concat(Object(e).importFrom||[]);const n=[].concat(Object(e).exportTo||[]);const i=getCustomMediaFromSources(t);return function(){var e=_asyncToGenerator(function*(e){const t=Object.assign(yield i,b(e,{preserve:r}));yield writeCustomMediaToExports(t,n);O(e,t,{preserve:r})});return function(r){return e.apply(this,arguments)}}()});e.exports=F},4164:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(2043));var i=_interopDefault(t(4510));var o=_interopDefault(t(5747));var s=_interopDefault(t(5622));function asyncGeneratorStep(e,r,t,n,i,o,s){try{var a=e[o](s);var u=a.value}catch(e){t(e);return}if(a.done){r(u)}else{Promise.resolve(u).then(n,i)}}function _asyncToGenerator(e){return function(){var r=this,t=arguments;return new Promise(function(n,i){var o=e.apply(r,t);function _next(e){asyncGeneratorStep(o,n,i,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(o,n,i,_next,_throw,"throw",e)}_next(undefined)})}}function parse(e){return i(e).parse()}function isBlockIgnored(e){var r=e.selector?e:e.parent;return/(!\s*)?postcss-custom-properties:\s*off\b/i.test(r.toString())}function isRuleIgnored(e){var r=e.prev();return Boolean(isBlockIgnored(e)||r&&r.type==="comment"&&/(!\s*)?postcss-custom-properties:\s*ignore\s+next\b/i.test(r.text))}function getCustomPropertiesFromRoot(e,r){const t={};const n={};e.nodes.slice().forEach(e=>{const i=f(e)?t:l(e)?n:null;if(i){e.nodes.slice().forEach(e=>{if(p(e)&&!isBlockIgnored(e)){const t=e.prop;i[t]=parse(e.value).nodes;if(!r.preserve){e.remove()}}});if(!r.preserve&&h(e)&&!isBlockIgnored(e)){e.remove()}}});return Object.assign({},t,n)}const a=/^html$/i;const u=/^:root$/i;const c=/^--[A-z][\w-]*$/;const f=e=>e.type==="rule"&&a.test(e.selector)&&Object(e.nodes).length;const l=e=>e.type==="rule"&&u.test(e.selector)&&Object(e.nodes).length;const p=e=>e.type==="decl"&&c.test(e.prop);const h=e=>Object(e.nodes).length===0;function getCustomPropertiesFromCSSFile(e){return _getCustomPropertiesFromCSSFile.apply(this,arguments)}function _getCustomPropertiesFromCSSFile(){_getCustomPropertiesFromCSSFile=_asyncToGenerator(function*(e){const r=yield B(e);const t=n.parse(r,{from:e});return getCustomPropertiesFromRoot(t,{preserve:true})});return _getCustomPropertiesFromCSSFile.apply(this,arguments)}function getCustomPropertiesFromObject(e){const r=Object.assign({},Object(e).customProperties,Object(e)["custom-properties"]);for(const e in r){r[e]=parse(String(r[e])).nodes}return r}function getCustomPropertiesFromJSONFile(e){return _getCustomPropertiesFromJSONFile.apply(this,arguments)}function _getCustomPropertiesFromJSONFile(){_getCustomPropertiesFromJSONFile=_asyncToGenerator(function*(e){const r=yield v(e);return getCustomPropertiesFromObject(r)});return _getCustomPropertiesFromJSONFile.apply(this,arguments)}function getCustomPropertiesFromJSFile(e){return _getCustomPropertiesFromJSFile.apply(this,arguments)}function _getCustomPropertiesFromJSFile(){_getCustomPropertiesFromJSFile=_asyncToGenerator(function*(e){const r=yield Promise.resolve(require(e));return getCustomPropertiesFromObject(r)});return _getCustomPropertiesFromJSFile.apply(this,arguments)}function getCustomPropertiesFromImports(e){return e.map(e=>{if(e instanceof Promise){return e}else if(e instanceof Function){return e()}const r=e===Object(e)?e:{from:String(e)};if(r.customProperties||r["custom-properties"]){return r}const t=s.resolve(String(r.from||""));const n=(r.type||s.extname(t).slice(1)).toLowerCase();return{type:n,from:t}}).reduce(function(){var e=_asyncToGenerator(function*(e,r){const t=yield r,n=t.type,i=t.from;if(n==="css"){return Object.assign(yield e,yield getCustomPropertiesFromCSSFile(i))}if(n==="js"){return Object.assign(yield e,yield getCustomPropertiesFromJSFile(i))}if(n==="json"){return Object.assign(yield e,yield getCustomPropertiesFromJSONFile(i))}return Object.assign(yield e,yield getCustomPropertiesFromObject(yield r))});return function(r,t){return e.apply(this,arguments)}}(),{})}const B=e=>new Promise((r,t)=>{o.readFile(e,"utf8",(e,n)=>{if(e){t(e)}else{r(n)}})});const v=function(){var e=_asyncToGenerator(function*(e){return JSON.parse(yield B(e))});return function readJSON(r){return e.apply(this,arguments)}}();function transformValueAST(e,r){if(e.nodes&&e.nodes.length){e.nodes.slice().forEach(t=>{if(b(t)){const n=t.nodes.slice(1,-1),i=n[0],o=n[1],s=n.slice(2);const a=i.value;if(a in Object(r)){const e=y(r[a],t.raws.before);t.replaceWith(...e);retransformValueAST({nodes:e},r,a)}else if(s.length){const n=e.nodes.indexOf(t);if(n!==-1){e.nodes.splice(n,1,...y(s,t.raws.before))}transformValueAST(e,r)}}else{transformValueAST(t,r)}})}return e}function retransformValueAST(e,r,t){const n=Object.assign({},r);delete n[t];return transformValueAST(e,n)}const d=/^var$/i;const b=e=>e.type==="func"&&d.test(e.value)&&Object(e.nodes).length>0;const y=(e,r)=>{const t=g(e,null);if(t[0]){t[0].raws.before=r}return t};const g=(e,r)=>e.map(e=>m(e,r));const m=(e,r)=>{const t=new e.constructor(e);for(const n in e){if(n==="parent"){t.parent=r}else if(Object(e[n]).constructor===Array){t[n]=g(e.nodes,t)}else if(Object(e[n]).constructor===Object){t[n]=Object.assign({},e[n])}}return t};var C=(e,r,t)=>{e.walkDecls(e=>{if(T(e)&&!isRuleIgnored(e)){const n=e.value;const i=parse(n);const o=String(transformValueAST(i,r));if(o!==n){if(t.preserve){e.cloneBefore({value:o})}else{e.value=o}}}})};const w=/^--[A-z][\w-]*$/;const S=/(^|[^\w-])var\([\W\w]+\)/;const T=e=>!w.test(e.prop)&&S.test(e.value);function writeCustomPropertiesToCssFile(e,r){return _writeCustomPropertiesToCssFile.apply(this,arguments)}function _writeCustomPropertiesToCssFile(){_writeCustomPropertiesToCssFile=_asyncToGenerator(function*(e,r){const t=Object.keys(r).reduce((e,t)=>{e.push(`\t${t}: ${r[t]};`);return e},[]).join("\n");const n=`:root {\n${t}\n}\n`;yield E(e,n)});return _writeCustomPropertiesToCssFile.apply(this,arguments)}function writeCustomPropertiesToJsonFile(e,r){return _writeCustomPropertiesToJsonFile.apply(this,arguments)}function _writeCustomPropertiesToJsonFile(){_writeCustomPropertiesToJsonFile=_asyncToGenerator(function*(e,r){const t=JSON.stringify({"custom-properties":r},null," ");const n=`${t}\n`;yield E(e,n)});return _writeCustomPropertiesToJsonFile.apply(this,arguments)}function writeCustomPropertiesToCjsFile(e,r){return _writeCustomPropertiesToCjsFile.apply(this,arguments)}function _writeCustomPropertiesToCjsFile(){_writeCustomPropertiesToCjsFile=_asyncToGenerator(function*(e,r){const t=Object.keys(r).reduce((e,t)=>{e.push(`\t\t'${k(t)}': '${k(r[t])}'`);return e},[]).join(",\n");const n=`module.exports = {\n\tcustomProperties: {\n${t}\n\t}\n};\n`;yield E(e,n)});return _writeCustomPropertiesToCjsFile.apply(this,arguments)}function writeCustomPropertiesToMjsFile(e,r){return _writeCustomPropertiesToMjsFile.apply(this,arguments)}function _writeCustomPropertiesToMjsFile(){_writeCustomPropertiesToMjsFile=_asyncToGenerator(function*(e,r){const t=Object.keys(r).reduce((e,t)=>{e.push(`\t'${k(t)}': '${k(r[t])}'`);return e},[]).join(",\n");const n=`export const customProperties = {\n${t}\n};\n`;yield E(e,n)});return _writeCustomPropertiesToMjsFile.apply(this,arguments)}function writeCustomPropertiesToExports(e,r){return Promise.all(r.map(function(){var r=_asyncToGenerator(function*(r){if(r instanceof Function){yield r(O(e))}else{const t=r===Object(r)?r:{to:String(r)};const n=t.toJSON||O;if("customProperties"in t){t.customProperties=n(e)}else if("custom-properties"in t){t["custom-properties"]=n(e)}else{const r=String(t.to||"");const i=(t.type||s.extname(t.to).slice(1)).toLowerCase();const o=n(e);if(i==="css"){yield writeCustomPropertiesToCssFile(r,o)}if(i==="js"){yield writeCustomPropertiesToCjsFile(r,o)}if(i==="json"){yield writeCustomPropertiesToJsonFile(r,o)}if(i==="mjs"){yield writeCustomPropertiesToMjsFile(r,o)}}}});return function(e){return r.apply(this,arguments)}}()))}const O=e=>{return Object.keys(e).reduce((r,t)=>{r[t]=String(e[t]);return r},{})};const E=(e,r)=>new Promise((t,n)=>{o.writeFile(e,r,e=>{if(e){n(e)}else{t()}})});const k=e=>e.replace(/\\([\s\S])|(')/g,"\\$1$2").replace(/\n/g,"\\n").replace(/\r/g,"\\r");var P=n.plugin("postcss-custom-properties",e=>{const r="preserve"in Object(e)?Boolean(e.preserve):true;const t=[].concat(Object(e).importFrom||[]);const n=[].concat(Object(e).exportTo||[]);const i=getCustomPropertiesFromImports(t);const o=e=>{const t=getCustomPropertiesFromRoot(e,{preserve:r});C(e,t,{preserve:r})};const s=function(){var e=_asyncToGenerator(function*(e){const t=Object.assign({},yield i,getCustomPropertiesFromRoot(e,{preserve:r}));yield writeCustomPropertiesToExports(t,n);C(e,t,{preserve:r})});return function asyncTransform(r){return e.apply(this,arguments)}}();const a=t.length===0&&n.length===0;return a?o:s});e.exports=P},9677:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(9508));var i=_interopDefault(t(5747));var o=_interopDefault(t(5622));var s=_interopDefault(t(2043));function asyncGeneratorStep(e,r,t,n,i,o,s){try{var a=e[o](s);var u=a.value}catch(e){t(e);return}if(a.done){r(u)}else{Promise.resolve(u).then(n,i)}}function _asyncToGenerator(e){return function(){var r=this,t=arguments;return new Promise(function(n,i){var o=e.apply(r,t);function _next(e){asyncGeneratorStep(o,n,i,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(o,n,i,_next,_throw,"throw",e)}_next(undefined)})}}function _defineProperty(e,r,t){if(r in e){Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true})}else{e[r]=t}return e}function _objectSpread(e){for(var r=1;r{let r;n(e=>{r=e}).processSync(e);return r};var u=(e,r)=>{const t={};e.nodes.slice().forEach(e=>{if(l(e)){const n=e.params.match(f),i=_slicedToArray(n,3),o=i[1],s=i[2];t[o]=a(s);if(!Object(r).preserve){e.remove()}}});return t};const c=/^custom-selector$/i;const f=/^(:--[A-z][\w-]*)\s+([\W\w]+)\s*$/;const l=e=>e.type==="atrule"&&c.test(e.name)&&f.test(e.params);function transformSelectorList(e,r){let t=e.nodes.length-1;while(t>=0){const n=transformSelector(e.nodes[t],r);if(n.length){e.nodes.splice(t,1,...n)}--t}return e}function transformSelector(e,r){const t=[];for(const u in e.nodes){const c=e.nodes[u],f=c.value,l=c.nodes;if(f in r){var n=true;var i=false;var o=undefined;try{for(var s=r[f].nodes[Symbol.iterator](),a;!(n=(a=s.next()).done);n=true){const n=a.value;const i=e.clone();i.nodes.splice(u,1,...n.clone().nodes.map(r=>{r.spaces=_objectSpread({},e.nodes[u].spaces);return r}));const o=transformSelector(i,r);d(i.nodes,Number(u));if(o.length){t.push(...o)}else{t.push(i)}}}catch(e){i=true;o=e}finally{try{if(!n&&s.return!=null){s.return()}}finally{if(i){throw o}}}return t}else if(l&&l.length){transformSelectorList(e.nodes[u],r)}}return t}const p=/^(tag|universal)$/;const h=/^(class|id|pseudo|tag|universal)$/;const B=e=>p.test(Object(e).type);const v=e=>h.test(Object(e).type);const d=(e,r)=>{if(r&&B(e[r])&&v(e[r-1])){let t=r-1;while(t&&v(e[t])){--t}if(t{e.walkRules(y,e=>{const i=n(e=>{transformSelectorList(e,r,t)}).processSync(e.selector);if(t.preserve){e.cloneBefore({selector:i})}else{e.selector=i}})};const y=/:--[A-z][\w-]*/;function importCustomSelectorsFromCSSAST(e){return u(e)}function importCustomSelectorsFromCSSFile(e){return _importCustomSelectorsFromCSSFile.apply(this,arguments)}function _importCustomSelectorsFromCSSFile(){_importCustomSelectorsFromCSSFile=_asyncToGenerator(function*(e){const r=yield g(o.resolve(e));const t=s.parse(r,{from:o.resolve(e)});return importCustomSelectorsFromCSSAST(t)});return _importCustomSelectorsFromCSSFile.apply(this,arguments)}function importCustomSelectorsFromObject(e){const r=Object.assign({},Object(e).customSelectors||Object(e)["custom-selectors"]);for(const e in r){r[e]=a(r[e])}return r}function importCustomSelectorsFromJSONFile(e){return _importCustomSelectorsFromJSONFile.apply(this,arguments)}function _importCustomSelectorsFromJSONFile(){_importCustomSelectorsFromJSONFile=_asyncToGenerator(function*(e){const r=yield m(o.resolve(e));return importCustomSelectorsFromObject(r)});return _importCustomSelectorsFromJSONFile.apply(this,arguments)}function importCustomSelectorsFromJSFile(e){return _importCustomSelectorsFromJSFile.apply(this,arguments)}function _importCustomSelectorsFromJSFile(){_importCustomSelectorsFromJSFile=_asyncToGenerator(function*(e){const r=yield Promise.resolve(require(o.resolve(e)));return importCustomSelectorsFromObject(r)});return _importCustomSelectorsFromJSFile.apply(this,arguments)}function importCustomSelectorsFromSources(e){return e.map(e=>{if(e instanceof Promise){return e}else if(e instanceof Function){return e()}const r=e===Object(e)?e:{from:String(e)};if(Object(r).customSelectors||Object(r)["custom-selectors"]){return r}const t=String(r.from||"");const n=(r.type||o.extname(t).slice(1)).toLowerCase();return{type:n,from:t}}).reduce(function(){var e=_asyncToGenerator(function*(e,r){const t=yield r,n=t.type,i=t.from;if(n==="ast"){return Object.assign(e,importCustomSelectorsFromCSSAST(i))}if(n==="css"){return Object.assign(e,yield importCustomSelectorsFromCSSFile(i))}if(n==="js"){return Object.assign(e,yield importCustomSelectorsFromJSFile(i))}if(n==="json"){return Object.assign(e,yield importCustomSelectorsFromJSONFile(i))}return Object.assign(e,importCustomSelectorsFromObject(yield r))});return function(r,t){return e.apply(this,arguments)}}(),{})}const g=e=>new Promise((r,t)=>{i.readFile(e,"utf8",(e,n)=>{if(e){t(e)}else{r(n)}})});const m=function(){var e=_asyncToGenerator(function*(e){return JSON.parse(yield g(e))});return function readJSON(r){return e.apply(this,arguments)}}();function exportCustomSelectorsToCssFile(e,r){return _exportCustomSelectorsToCssFile.apply(this,arguments)}function _exportCustomSelectorsToCssFile(){_exportCustomSelectorsToCssFile=_asyncToGenerator(function*(e,r){const t=Object.keys(r).reduce((e,t)=>{e.push(`@custom-selector ${t} ${r[t]};`);return e},[]).join("\n");const n=`${t}\n`;yield w(e,n)});return _exportCustomSelectorsToCssFile.apply(this,arguments)}function exportCustomSelectorsToJsonFile(e,r){return _exportCustomSelectorsToJsonFile.apply(this,arguments)}function _exportCustomSelectorsToJsonFile(){_exportCustomSelectorsToJsonFile=_asyncToGenerator(function*(e,r){const t=JSON.stringify({"custom-selectors":r},null," ");const n=`${t}\n`;yield w(e,n)});return _exportCustomSelectorsToJsonFile.apply(this,arguments)}function exportCustomSelectorsToCjsFile(e,r){return _exportCustomSelectorsToCjsFile.apply(this,arguments)}function _exportCustomSelectorsToCjsFile(){_exportCustomSelectorsToCjsFile=_asyncToGenerator(function*(e,r){const t=Object.keys(r).reduce((e,t)=>{e.push(`\t\t'${S(t)}': '${S(r[t])}'`);return e},[]).join(",\n");const n=`module.exports = {\n\tcustomSelectors: {\n${t}\n\t}\n};\n`;yield w(e,n)});return _exportCustomSelectorsToCjsFile.apply(this,arguments)}function exportCustomSelectorsToMjsFile(e,r){return _exportCustomSelectorsToMjsFile.apply(this,arguments)}function _exportCustomSelectorsToMjsFile(){_exportCustomSelectorsToMjsFile=_asyncToGenerator(function*(e,r){const t=Object.keys(r).reduce((e,t)=>{e.push(`\t'${S(t)}': '${S(r[t])}'`);return e},[]).join(",\n");const n=`export const customSelectors = {\n${t}\n};\n`;yield w(e,n)});return _exportCustomSelectorsToMjsFile.apply(this,arguments)}function exportCustomSelectorsToDestinations(e,r){return Promise.all(r.map(function(){var r=_asyncToGenerator(function*(r){if(r instanceof Function){yield r(C(e))}else{const t=r===Object(r)?r:{to:String(r)};const n=t.toJSON||C;if("customSelectors"in t){t.customSelectors=n(e)}else if("custom-selectors"in t){t["custom-selectors"]=n(e)}else{const r=String(t.to||"");const i=(t.type||o.extname(t.to).slice(1)).toLowerCase();const s=n(e);if(i==="css"){yield exportCustomSelectorsToCssFile(r,s)}if(i==="js"){yield exportCustomSelectorsToCjsFile(r,s)}if(i==="json"){yield exportCustomSelectorsToJsonFile(r,s)}if(i==="mjs"){yield exportCustomSelectorsToMjsFile(r,s)}}}});return function(e){return r.apply(this,arguments)}}()))}const C=e=>{return Object.keys(e).reduce((r,t)=>{r[t]=String(e[t]);return r},{})};const w=(e,r)=>new Promise((t,n)=>{i.writeFile(e,r,e=>{if(e){n(e)}else{t()}})});const S=e=>e.replace(/\\([\s\S])|(')/g,"\\$1$2").replace(/\n/g,"\\n").replace(/\r/g,"\\r");var T=s.plugin("postcss-custom-selectors",e=>{const r=Boolean(Object(e).preserve);const t=[].concat(Object(e).importFrom||[]);const n=[].concat(Object(e).exportTo||[]);const i=importCustomSelectorsFromSources(t);return function(){var e=_asyncToGenerator(function*(e){const t=Object.assign(yield i,u(e,{preserve:r}));yield exportCustomSelectorsToDestinations(t,n);b(e,t,{preserve:r})});return function(r){return e.apply(this,arguments)}}()});e.exports=T},4593:e=>{"use strict";var r={};var t=r.hasOwnProperty;var n=function merge(e,r){if(!e){return r}var n={};for(var i in r){n[i]=t.call(e,i)?e[i]:r[i]}return n};var i=/[ -,\.\/;-@\[-\^`\{-~]/;var o=/[ -,\.\/;-@\[\]\^`\{-~]/;var s=/['"\\]/;var a=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g;var u=function cssesc(e,r){r=n(r,cssesc.options);if(r.quotes!="single"&&r.quotes!="double"){r.quotes="single"}var t=r.quotes=="double"?'"':"'";var s=r.isIdentifier;var u=e.charAt(0);var c="";var f=0;var l=e.length;while(f126){if(h>=55296&&h<=56319&&f{"use strict";r.__esModule=true;var n=t(1699);var i=_interopRequireDefault(n);var o=t(8129);var s=_interopRequireWildcard(o);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var r={};if(e!=null){for(var t in e){if(Object.prototype.hasOwnProperty.call(e,t))r[t]=e[t]}}r.default=e;return r}}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var a=function parser(e){return new i.default(e)};Object.assign(a,s);delete a.__esModule;r.default=a;e.exports=r["default"]},6343:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t1&&arguments[1]!==undefined?arguments[1]:{};_classCallCheck(this,Parser);this.rule=e;this.options=Object.assign({lossy:false,safe:false},r);this.position=0;this.css=typeof this.rule==="string"?this.rule:this.rule.selector;this.tokens=(0,N.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var t=getTokenSourceSpan(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new p.default({source:t});this.root.errorGenerator=this._errorGenerator();var n=new B.default({source:{start:{line:1,column:1}}});this.root.append(n);this.current=n;this.loop()}Parser.prototype._errorGenerator=function _errorGenerator(){var e=this;return function(r,t){if(typeof e.rule==="string"){return new Error(r)}return e.rule.error(r,t)}};Parser.prototype.attribute=function attribute(){var e=[];var r=this.currToken;this.position++;while(this.position1&&arguments[1]!==undefined?arguments[1]:false;var n="";var i="";e.forEach(function(e){var o=r.lossySpace(e.spaces.before,t);var s=r.lossySpace(e.rawSpaceBefore,t);n+=o+r.lossySpace(e.spaces.after,t&&o.length===0);i+=o+e.value+r.lossySpace(e.rawSpaceAfter,t&&s.length===0)});if(i===n){i=undefined}var o={space:n,rawSpace:i};return o};Parser.prototype.isNamedCombinator=function isNamedCombinator(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:this.position;return this.tokens[e+0]&&this.tokens[e+0][M.FIELDS.TYPE]===q.slash&&this.tokens[e+1]&&this.tokens[e+1][M.FIELDS.TYPE]===q.word&&this.tokens[e+2]&&this.tokens[e+2][M.FIELDS.TYPE]===q.slash};Parser.prototype.namedCombinator=function namedCombinator(){if(this.isNamedCombinator()){var e=this.content(this.tokens[this.position+1]);var r=(0,H.unesc)(e).toLowerCase();var t={};if(r!==e){t.value="/"+e+"/"}var n=new R.default({value:"/"+r+"/",source:getSource(this.currToken[M.FIELDS.START_LINE],this.currToken[M.FIELDS.START_COL],this.tokens[this.position+2][M.FIELDS.END_LINE],this.tokens[this.position+2][M.FIELDS.END_COL]),sourceIndex:this.currToken[M.FIELDS.START_POS],raws:t});this.position=this.position+3;return n}else{this.unexpected()}};Parser.prototype.combinator=function combinator(){var e=this;if(this.content()==="|"){return this.namespace()}var r=this.locateNextMeaningfulToken(this.position);if(r<0||this.tokens[r][M.FIELDS.TYPE]===q.comma){var t=this.parseWhitespaceEquivalentTokens(r);if(t.length>0){var n=this.current.last;if(n){var i=this.convertWhitespaceNodesToSpace(t),o=i.space,s=i.rawSpace;if(s!==undefined){n.rawSpaceAfter+=s}n.spaces.after+=o}else{t.forEach(function(r){return e.newNode(r)})}}return}var a=this.currToken;var u=undefined;if(r>this.position){u=this.parseWhitespaceEquivalentTokens(r)}var c=void 0;if(this.isNamedCombinator()){c=this.namedCombinator()}else if(this.currToken[M.FIELDS.TYPE]===q.combinator){c=new R.default({value:this.content(),source:getTokenSource(this.currToken),sourceIndex:this.currToken[M.FIELDS.START_POS]});this.position++}else if(U[this.currToken[M.FIELDS.TYPE]]){}else if(!u){this.unexpected()}if(c){if(u){var f=this.convertWhitespaceNodesToSpace(u),l=f.space,p=f.rawSpace;c.spaces.before=l;c.rawSpaceBefore=p}}else{var h=this.convertWhitespaceNodesToSpace(u,true),B=h.space,v=h.rawSpace;if(!v){v=B}var d={};var b={spaces:{}};if(B.endsWith(" ")&&v.endsWith(" ")){d.before=B.slice(0,B.length-1);b.spaces.before=v.slice(0,v.length-1)}else if(B.startsWith(" ")&&v.startsWith(" ")){d.after=B.slice(1);b.spaces.after=v.slice(1)}else{b.value=v}c=new R.default({value:" ",source:getTokenSourceSpan(a,this.tokens[this.position-1]),sourceIndex:a[M.FIELDS.START_POS],spaces:d,raws:b})}if(this.currToken&&this.currToken[M.FIELDS.TYPE]===q.space){c.spaces.after=this.optionalSpace(this.content());this.position++}return this.newNode(c)};Parser.prototype.comma=function comma(){if(this.position===this.tokens.length-1){this.root.trailingComma=true;this.position++;return}this.current._inferEndPosition();var e=new B.default({source:{start:tokenStart(this.tokens[this.position+1])}});this.current.parent.append(e);this.current=e;this.position++};Parser.prototype.comment=function comment(){var e=this.currToken;this.newNode(new y.default({value:this.content(),source:getTokenSource(e),sourceIndex:e[M.FIELDS.START_POS]}));this.position++};Parser.prototype.error=function error(e,r){throw this.root.error(e,r)};Parser.prototype.missingBackslash=function missingBackslash(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[M.FIELDS.START_POS]})};Parser.prototype.missingParenthesis=function missingParenthesis(){return this.expected("opening parenthesis",this.currToken[M.FIELDS.START_POS])};Parser.prototype.missingSquareBracket=function missingSquareBracket(){return this.expected("opening square bracket",this.currToken[M.FIELDS.START_POS])};Parser.prototype.unexpected=function unexpected(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[M.FIELDS.START_POS])};Parser.prototype.namespace=function namespace(){var e=this.prevToken&&this.content(this.prevToken)||true;if(this.nextToken[M.FIELDS.TYPE]===q.word){this.position++;return this.word(e)}else if(this.nextToken[M.FIELDS.TYPE]===q.asterisk){this.position++;return this.universal(e)}};Parser.prototype.nesting=function nesting(){if(this.nextToken){var e=this.content(this.nextToken);if(e==="|"){this.position++;return}}var r=this.currToken;this.newNode(new j.default({value:this.content(),source:getTokenSource(r),sourceIndex:r[M.FIELDS.START_POS]}));this.position++};Parser.prototype.parentheses=function parentheses(){var e=this.current.last;var r=1;this.position++;if(e&&e.type===J.PSEUDO){var t=new B.default({source:{start:tokenStart(this.tokens[this.position-1])}});var n=this.current;e.append(t);this.current=t;while(this.position1&&e.nextToken&&e.nextToken[M.FIELDS.TYPE]===q.openParenthesis){e.error("Misplaced parenthesis.",{index:e.nextToken[M.FIELDS.START_POS]})}})}else{return this.expected(["pseudo-class","pseudo-element"],this.currToken[M.FIELDS.START_POS])}};Parser.prototype.space=function space(){var e=this.content();if(this.position===0||this.prevToken[M.FIELDS.TYPE]===q.comma||this.prevToken[M.FIELDS.TYPE]===q.openParenthesis){this.spaces=this.optionalSpace(e);this.position++}else if(this.position===this.tokens.length-1||this.nextToken[M.FIELDS.TYPE]===q.comma||this.nextToken[M.FIELDS.TYPE]===q.closeParenthesis){this.current.last.spaces.after=this.optionalSpace(e);this.position++}else{this.combinator()}};Parser.prototype.string=function string(){var e=this.currToken;this.newNode(new T.default({value:this.content(),source:getTokenSource(e),sourceIndex:e[M.FIELDS.START_POS]}));this.position++};Parser.prototype.universal=function universal(e){var r=this.nextToken;if(r&&this.content(r)==="|"){this.position++;return this.namespace()}var t=this.currToken;this.newNode(new A.default({value:this.content(),source:getTokenSource(t),sourceIndex:t[M.FIELDS.START_POS]}),e);this.position++};Parser.prototype.splitWord=function splitWord(e,r){var t=this;var n=this.nextToken;var i=this.content();while(n&&~[q.dollar,q.caret,q.equals,q.word].indexOf(n[M.FIELDS.TYPE])){this.position++;var o=this.content();i+=o;if(o.lastIndexOf("\\")===o.length-1){var s=this.nextToken;if(s&&s[M.FIELDS.TYPE]===q.space){i+=this.requiredSpace(this.content(s));this.position++}}n=this.nextToken}var a=(0,u.default)(i,".").filter(function(e){return i[e-1]!=="\\"});var c=(0,u.default)(i,"#");var l=(0,u.default)(i,"#{");if(l.length){c=c.filter(function(e){return!~l.indexOf(e)})}var p=(0,_.default)((0,f.default)([0].concat(a,c)));p.forEach(function(n,o){var s=p[o+1]||i.length;var u=i.slice(n,s);if(o===0&&r){return r.call(t,u,p.length)}var f=void 0;var l=t.currToken;var h=l[M.FIELDS.START_POS]+p[o];var B=getSource(l[1],l[2]+n,l[3],l[2]+(s-1));if(~a.indexOf(n)){var v={value:u.slice(1),source:B,sourceIndex:h};f=new d.default(unescapeProp(v,"value"))}else if(~c.indexOf(n)){var b={value:u.slice(1),source:B,sourceIndex:h};f=new m.default(unescapeProp(b,"value"))}else{var y={value:u,source:B,sourceIndex:h};unescapeProp(y,"value");f=new w.default(y)}t.newNode(f,e);e=null});this.position++};Parser.prototype.word=function word(e){var r=this.nextToken;if(r&&this.content(r)==="|"){this.position++;return this.namespace()}return this.splitWord(e)};Parser.prototype.loop=function loop(){while(this.position0&&arguments[0]!==undefined?arguments[0]:this.currToken;return this.css.slice(e[M.FIELDS.START_POS],e[M.FIELDS.END_POS])};Parser.prototype.locateNextMeaningfulToken=function locateNextMeaningfulToken(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:this.position+1;var r=e;while(r{"use strict";r.__esModule=true;var n=t(6343);var i=_interopRequireDefault(n);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}var o=function(){function Processor(e,r){_classCallCheck(this,Processor);this.func=e||function noop(){};this.funcRes=null;this.options=r}Processor.prototype._shouldUpdateSelector=function _shouldUpdateSelector(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var t=Object.assign({},this.options,r);if(t.updateSelector===false){return false}else{return typeof e!=="string"}};Processor.prototype._isLossy=function _isLossy(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var r=Object.assign({},this.options,e);if(r.lossless===false){return true}else{return false}};Processor.prototype._root=function _root(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var t=new i.default(e,this._parseOptions(r));return t.root};Processor.prototype._parseOptions=function _parseOptions(e){return{lossy:this._isLossy(e)}};Processor.prototype._run=function _run(e){var r=this;var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return new Promise(function(n,i){try{var o=r._root(e,t);Promise.resolve(r.func(o)).then(function(n){var i=undefined;if(r._shouldUpdateSelector(e,t)){i=o.toString();e.selector=i}return{transform:n,root:o,string:i}}).then(n,i)}catch(e){i(e);return}})};Processor.prototype._runSync=function _runSync(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var t=this._root(e,r);var n=this.func(t);if(n&&typeof n.then==="function"){throw new Error("Selector processor returned a promise to a synchronous call.")}var i=undefined;if(r.updateSelector&&typeof e!=="string"){i=t.toString();e.selector=i}return{transform:n,root:t,string:i}};Processor.prototype.ast=function ast(e,r){return this._run(e,r).then(function(e){return e.root})};Processor.prototype.astSync=function astSync(e,r){return this._runSync(e,r).root};Processor.prototype.transform=function transform(e,r){return this._run(e,r).then(function(e){return e.transform})};Processor.prototype.transformSync=function transformSync(e,r){return this._runSync(e,r).transform};Processor.prototype.process=function process(e,r){return this._run(e,r).then(function(e){return e.string||e.root.toString()})};Processor.prototype.processSync=function processSync(e,r){var t=this._runSync(e,r);return t.string||t.root.toString()};return Processor}();r.default=o;e.exports=r["default"]},9341:(e,r,t)=>{"use strict";r.__esModule=true;var n;var i=function(){function defineProperties(e,r){for(var t=0;t0&&arguments[0]!==undefined?arguments[0]:{};_classCallCheck(this,Attribute);var t=_possibleConstructorReturn(this,e.call(this,handleDeprecatedContructorOpts(r)));t.type=l.ATTRIBUTE;t.raws=t.raws||{};Object.defineProperty(t.raws,"unquoted",{get:h(function(){return t.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:h(function(){return t.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")});t._constructed=true;return t}Attribute.prototype.getQuotedValue=function getQuotedValue(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var r=this._determineQuoteMark(e);var t=g[r];var n=(0,s.default)(this._value,t);return n};Attribute.prototype._determineQuoteMark=function _determineQuoteMark(e){return e.smart?this.smartQuoteMark(e):this.preferredQuoteMark(e)};Attribute.prototype.setValue=function setValue(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};this._value=e;this._quoteMark=this._determineQuoteMark(r);this._syncRawValue()};Attribute.prototype.smartQuoteMark=function smartQuoteMark(e){var r=this.value;var t=r.replace(/[^']/g,"").length;var n=r.replace(/[^"]/g,"").length;if(t+n===0){var i=(0,s.default)(r,{isIdentifier:true});if(i===r){return Attribute.NO_QUOTE}else{var o=this.preferredQuoteMark(e);if(o===Attribute.NO_QUOTE){var a=this.quoteMark||e.quoteMark||Attribute.DOUBLE_QUOTE;var u=g[a];var c=(0,s.default)(r,u);if(c.length1&&arguments[1]!==undefined?arguments[1]:e;var t=arguments.length>2&&arguments[2]!==undefined?arguments[2]:defaultAttrConcat;var n=this._spacesFor(r);return t(this.stringifyProperty(e),n)};Attribute.prototype.offsetOf=function offsetOf(e){var r=1;var t=this._spacesFor("attribute");r+=t.before.length;if(e==="namespace"||e==="ns"){return this.namespace?r:-1}if(e==="attributeNS"){return r}r+=this.namespaceString.length;if(this.namespace){r+=1}if(e==="attribute"){return r}r+=this.stringifyProperty("attribute").length;r+=t.after.length;var n=this._spacesFor("operator");r+=n.before.length;var i=this.stringifyProperty("operator");if(e==="operator"){return i?r:-1}r+=i.length;r+=n.after.length;var o=this._spacesFor("value");r+=o.before.length;var s=this.stringifyProperty("value");if(e==="value"){return s?r:-1}r+=s.length;r+=o.after.length;var a=this._spacesFor("insensitive");r+=a.before.length;if(e==="insensitive"){return this.insensitive?r:-1}return-1};Attribute.prototype.toString=function toString(){var e=this;var r=[this.rawSpaceBefore,"["];r.push(this._stringFor("qualifiedAttribute","attribute"));if(this.operator&&this.value){r.push(this._stringFor("operator"));r.push(this._stringFor("value"));r.push(this._stringFor("insensitiveFlag","insensitive",function(r,t){if(r.length>0&&!e.quoted&&t.before.length===0&&!(e.spaces.value&&e.spaces.value.after)){t.before=" "}return defaultAttrConcat(r,t)}))}r.push("]");r.push(this.rawSpaceAfter);return r.join("")};i(Attribute,[{key:"quoted",get:function get(){var e=this.quoteMark;return e==="'"||e==='"'},set:function set(e){d()}},{key:"quoteMark",get:function get(){return this._quoteMark},set:function set(e){if(!this._constructed){this._quoteMark=e;return}if(this._quoteMark!==e){this._quoteMark=e;this._syncRawValue()}}},{key:"qualifiedAttribute",get:function get(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function get(){return this.insensitive?"i":""}},{key:"value",get:function get(){return this._value},set:function set(e){if(this._constructed){var r=unescapeValue(e),t=r.deprecatedUsage,n=r.unescaped,i=r.quoteMark;if(t){v()}if(n===this._value&&i===this._quoteMark){return}this._value=n;this._quoteMark=i;this._syncRawValue()}else{this._value=e}}},{key:"attribute",get:function get(){return this._attribute},set:function set(e){this._handleEscapes("attribute",e);this._attribute=e}}]);return Attribute}(f.default);y.NO_QUOTE=null;y.SINGLE_QUOTE="'";y.DOUBLE_QUOTE='"';r.default=y;var g=(n={"'":{quotes:"single",wrap:true},'"':{quotes:"double",wrap:true}},n[null]={isIdentifier:true},n);function defaultAttrConcat(e,r){return""+r.before+e+r.after}},5890:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t{"use strict";r.__esModule=true;var n=t(4181);var i=_interopRequireDefault(n);var o=t(5929);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Combinator,e);function Combinator(r){_classCallCheck(this,Combinator);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.COMBINATOR;return t}return Combinator}(i.default);r.default=s;e.exports=r["default"]},6708:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(4181);var i=_interopRequireDefault(n);var o=t(5929);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Comment,e);function Comment(r){_classCallCheck(this,Comment);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.COMMENT;return t}return Comment}(i.default);r.default=s;e.exports=r["default"]},7669:(e,r,t)=>{"use strict";r.__esModule=true;r.universal=r.tag=r.string=r.selector=r.root=r.pseudo=r.nesting=r.id=r.comment=r.combinator=r.className=r.attribute=undefined;var n=t(9341);var i=_interopRequireDefault(n);var o=t(5890);var s=_interopRequireDefault(o);var a=t(9099);var u=_interopRequireDefault(a);var c=t(6708);var f=_interopRequireDefault(c);var l=t(8881);var p=_interopRequireDefault(l);var h=t(3446);var B=_interopRequireDefault(h);var v=t(9630);var d=_interopRequireDefault(v);var b=t(9878);var y=_interopRequireDefault(b);var g=t(2640);var m=_interopRequireDefault(g);var C=t(1753);var w=_interopRequireDefault(C);var S=t(6611);var T=_interopRequireDefault(S);var O=t(8963);var E=_interopRequireDefault(O);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var k=r.attribute=function attribute(e){return new i.default(e)};var P=r.className=function className(e){return new s.default(e)};var D=r.combinator=function combinator(e){return new u.default(e)};var A=r.comment=function comment(e){return new f.default(e)};var F=r.id=function id(e){return new p.default(e)};var R=r.nesting=function nesting(e){return new B.default(e)};var x=r.pseudo=function pseudo(e){return new d.default(e)};var j=r.root=function root(e){return new y.default(e)};var I=r.selector=function selector(e){return new m.default(e)};var _=r.string=function string(e){return new w.default(e)};var M=r.tag=function tag(e){return new T.default(e)};var N=r.universal=function universal(e){return new E.default(e)}},6962:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t=e){this.indexes[t]=r-1}}return this};Container.prototype.removeAll=function removeAll(){for(var e=this.nodes,r=Array.isArray(e),t=0,e=r?e:e[Symbol.iterator]();;){var n;if(r){if(t>=e.length)break;n=e[t++]}else{t=e.next();if(t.done)break;n=t.value}var i=n;i.parent=undefined}this.nodes=[];return this};Container.prototype.empty=function empty(){return this.removeAll()};Container.prototype.insertAfter=function insertAfter(e,r){r.parent=this;var t=this.index(e);this.nodes.splice(t+1,0,r);r.parent=this;var n=void 0;for(var i in this.indexes){n=this.indexes[i];if(t<=n){this.indexes[i]=n+1}}return this};Container.prototype.insertBefore=function insertBefore(e,r){r.parent=this;var t=this.index(e);this.nodes.splice(t,0,r);r.parent=this;var n=void 0;for(var i in this.indexes){n=this.indexes[i];if(n<=t){this.indexes[i]=n+1}}return this};Container.prototype._findChildAtPosition=function _findChildAtPosition(e,r){var t=undefined;this.each(function(n){if(n.atPosition){var i=n.atPosition(e,r);if(i){t=i;return false}}else if(n.isAtPosition(e,r)){t=n;return false}});return t};Container.prototype.atPosition=function atPosition(e,r){if(this.isAtPosition(e,r)){return this._findChildAtPosition(e,r)||this}else{return undefined}};Container.prototype._inferEndPosition=function _inferEndPosition(){if(this.last&&this.last.source&&this.last.source.end){this.source=this.source||{};this.source.end=this.source.end||{};Object.assign(this.source.end,this.last.source.end)}};Container.prototype.each=function each(e){if(!this.lastEach){this.lastEach=0}if(!this.indexes){this.indexes={}}this.lastEach++;var r=this.lastEach;this.indexes[r]=0;if(!this.length){return undefined}var t=void 0,n=void 0;while(this.indexes[r]{"use strict";r.__esModule=true;r.isUniversal=r.isTag=r.isString=r.isSelector=r.isRoot=r.isPseudo=r.isNesting=r.isIdentifier=r.isComment=r.isCombinator=r.isClassName=r.isAttribute=undefined;var n=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var i;r.isNode=isNode;r.isPseudoElement=isPseudoElement;r.isPseudoClass=isPseudoClass;r.isContainer=isContainer;r.isNamespace=isNamespace;var o=t(5929);var s=(i={},i[o.ATTRIBUTE]=true,i[o.CLASS]=true,i[o.COMBINATOR]=true,i[o.COMMENT]=true,i[o.ID]=true,i[o.NESTING]=true,i[o.PSEUDO]=true,i[o.ROOT]=true,i[o.SELECTOR]=true,i[o.STRING]=true,i[o.TAG]=true,i[o.UNIVERSAL]=true,i);function isNode(e){return(typeof e==="undefined"?"undefined":n(e))==="object"&&s[e.type]}function isNodeType(e,r){return isNode(r)&&r.type===e}var a=r.isAttribute=isNodeType.bind(null,o.ATTRIBUTE);var u=r.isClassName=isNodeType.bind(null,o.CLASS);var c=r.isCombinator=isNodeType.bind(null,o.COMBINATOR);var f=r.isComment=isNodeType.bind(null,o.COMMENT);var l=r.isIdentifier=isNodeType.bind(null,o.ID);var p=r.isNesting=isNodeType.bind(null,o.NESTING);var h=r.isPseudo=isNodeType.bind(null,o.PSEUDO);var B=r.isRoot=isNodeType.bind(null,o.ROOT);var v=r.isSelector=isNodeType.bind(null,o.SELECTOR);var d=r.isString=isNodeType.bind(null,o.STRING);var b=r.isTag=isNodeType.bind(null,o.TAG);var y=r.isUniversal=isNodeType.bind(null,o.UNIVERSAL);function isPseudoElement(e){return h(e)&&e.value&&(e.value.startsWith("::")||e.value===":before"||e.value===":after")}function isPseudoClass(e){return h(e)&&!isPseudoElement(e)}function isContainer(e){return!!(isNode(e)&&e.walk)}function isNamespace(e){return a(e)||b(e)}},8881:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(4181);var i=_interopRequireDefault(n);var o=t(5929);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(ID,e);function ID(r){_classCallCheck(this,ID);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.ID;return t}ID.prototype.toString=function toString(){return[this.rawSpaceBefore,String("#"+this.stringifyProperty("value")),this.rawSpaceAfter].join("")};return ID}(i.default);r.default=s;e.exports=r["default"]},8129:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(5929);Object.keys(n).forEach(function(e){if(e==="default"||e==="__esModule")return;Object.defineProperty(r,e,{enumerable:true,get:function get(){return n[e]}})});var i=t(7669);Object.keys(i).forEach(function(e){if(e==="default"||e==="__esModule")return;Object.defineProperty(r,e,{enumerable:true,get:function get(){return i[e]}})});var o=t(5117);Object.keys(o).forEach(function(e){if(e==="default"||e==="__esModule")return;Object.defineProperty(r,e,{enumerable:true,get:function get(){return o[e]}})})},6951:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t{"use strict";r.__esModule=true;var n=t(4181);var i=_interopRequireDefault(n);var o=t(5929);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Nesting,e);function Nesting(r){_classCallCheck(this,Nesting);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.NESTING;t.value="&";return t}return Nesting}(i.default);r.default=s;e.exports=r["default"]},4181:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t0&&arguments[0]!==undefined?arguments[0]:{};_classCallCheck(this,Node);Object.assign(this,e);this.spaces=this.spaces||{};this.spaces.before=this.spaces.before||"";this.spaces.after=this.spaces.after||""}Node.prototype.remove=function remove(){if(this.parent){this.parent.removeChild(this)}this.parent=undefined;return this};Node.prototype.replaceWith=function replaceWith(){if(this.parent){for(var e in arguments){this.parent.insertBefore(this,arguments[e])}this.remove()}return this};Node.prototype.next=function next(){return this.parent.at(this.parent.index(this)+1)};Node.prototype.prev=function prev(){return this.parent.at(this.parent.index(this)-1)};Node.prototype.clone=function clone(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var r=s(this);for(var t in e){r[t]=e[t]}return r};Node.prototype.appendToPropertyAndEscape=function appendToPropertyAndEscape(e,r,t){if(!this.raws){this.raws={}}var n=this[e];var i=this.raws[e];this[e]=n+r;if(i||t!==r){this.raws[e]=(i||n)+t}else{delete this.raws[e]}};Node.prototype.setPropertyAndEscape=function setPropertyAndEscape(e,r,t){if(!this.raws){this.raws={}}this[e]=r;this.raws[e]=t};Node.prototype.setPropertyWithoutEscape=function setPropertyWithoutEscape(e,r){this[e]=r;if(this.raws){delete this.raws[e]}};Node.prototype.isAtPosition=function isAtPosition(e,r){if(this.source&&this.source.start&&this.source.end){if(this.source.start.line>e){return false}if(this.source.end.liner){return false}if(this.source.end.line===e&&this.source.end.column{"use strict";r.__esModule=true;var n=t(6962);var i=_interopRequireDefault(n);var o=t(5929);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Pseudo,e);function Pseudo(r){_classCallCheck(this,Pseudo);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.PSEUDO;return t}Pseudo.prototype.toString=function toString(){var e=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),e,this.rawSpaceAfter].join("")};return Pseudo}(i.default);r.default=s;e.exports=r["default"]},9878:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t{"use strict";r.__esModule=true;var n=t(6962);var i=_interopRequireDefault(n);var o=t(5929);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Selector,e);function Selector(r){_classCallCheck(this,Selector);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.SELECTOR;return t}return Selector}(i.default);r.default=s;e.exports=r["default"]},1753:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(4181);var i=_interopRequireDefault(n);var o=t(5929);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(String,e);function String(r){_classCallCheck(this,String);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.STRING;return t}return String}(i.default);r.default=s;e.exports=r["default"]},6611:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(6951);var i=_interopRequireDefault(n);var o=t(5929);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Tag,e);function Tag(r){_classCallCheck(this,Tag);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.TAG;return t}return Tag}(i.default);r.default=s;e.exports=r["default"]},5929:(e,r)=>{"use strict";r.__esModule=true;var t=r.TAG="tag";var n=r.STRING="string";var i=r.SELECTOR="selector";var o=r.ROOT="root";var s=r.PSEUDO="pseudo";var a=r.NESTING="nesting";var u=r.ID="id";var c=r.COMMENT="comment";var f=r.COMBINATOR="combinator";var l=r.CLASS="class";var p=r.ATTRIBUTE="attribute";var h=r.UNIVERSAL="universal"},8963:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(6951);var i=_interopRequireDefault(n);var o=t(5929);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Universal,e);function Universal(r){_classCallCheck(this,Universal);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.UNIVERSAL;t.value="*";return t}return Universal}(i.default);r.default=s;e.exports=r["default"]},6680:(e,r)=>{"use strict";r.__esModule=true;r.default=sortAscending;function sortAscending(e){return e.sort(function(e,r){return e-r})}e.exports=r["default"]},2371:(e,r)=>{"use strict";r.__esModule=true;var t=r.ampersand=38;var n=r.asterisk=42;var i=r.at=64;var o=r.comma=44;var s=r.colon=58;var a=r.semicolon=59;var u=r.openParenthesis=40;var c=r.closeParenthesis=41;var f=r.openSquare=91;var l=r.closeSquare=93;var p=r.dollar=36;var h=r.tilde=126;var B=r.caret=94;var v=r.plus=43;var d=r.equals=61;var b=r.pipe=124;var y=r.greaterThan=62;var g=r.space=32;var m=r.singleQuote=39;var C=r.doubleQuote=34;var w=r.slash=47;var S=r.bang=33;var T=r.backslash=92;var O=r.cr=13;var E=r.feed=12;var k=r.newline=10;var P=r.tab=9;var D=r.str=m;var A=r.comment=-1;var F=r.word=-2;var R=r.combinator=-3},8780:(e,r,t)=>{"use strict";r.__esModule=true;r.FIELDS=undefined;var n,i;r.default=tokenize;var o=t(2371);var s=_interopRequireWildcard(o);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var r={};if(e!=null){for(var t in e){if(Object.prototype.hasOwnProperty.call(e,t))r[t]=e[t]}}r.default=e;return r}}var a=(n={},n[s.tab]=true,n[s.newline]=true,n[s.cr]=true,n[s.feed]=true,n);var u=(i={},i[s.space]=true,i[s.tab]=true,i[s.newline]=true,i[s.cr]=true,i[s.feed]=true,i[s.ampersand]=true,i[s.asterisk]=true,i[s.bang]=true,i[s.comma]=true,i[s.colon]=true,i[s.semicolon]=true,i[s.openParenthesis]=true,i[s.closeParenthesis]=true,i[s.openSquare]=true,i[s.closeSquare]=true,i[s.singleQuote]=true,i[s.doubleQuote]=true,i[s.plus]=true,i[s.pipe]=true,i[s.tilde]=true,i[s.greaterThan]=true,i[s.equals]=true,i[s.dollar]=true,i[s.caret]=true,i[s.slash]=true,i);var c={};var f="0123456789abcdefABCDEF";for(var l=0;l0){g=a+d;m=y-b[d].length}else{g=a;m=o}w=s.comment;a=g;h=g;p=y-m}else if(f===s.slash){y=u;w=f;h=a;p=u-o;c=y+1}else{y=consumeWord(t,u);w=s.word;h=a;p=y-o}c=y+1;break}r.push([w,a,u-o,h,p,u,c]);if(m){o=m;m=null}u=c}return r}},1431:(e,r)=>{"use strict";r.__esModule=true;r.default=ensureObject;function ensureObject(e){for(var r=arguments.length,t=Array(r>1?r-1:0),n=1;n0){var i=t.shift();if(!e[i]){e[i]={}}e=e[i]}}e.exports=r["default"]},9833:(e,r)=>{"use strict";r.__esModule=true;r.default=getProp;function getProp(e){for(var r=arguments.length,t=Array(r>1?r-1:0),n=1;n0){var i=t.shift();if(!e[i]){return undefined}e=e[i]}return e}e.exports=r["default"]},2429:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(8844);Object.defineProperty(r,"unesc",{enumerable:true,get:function get(){return _interopRequireDefault(n).default}});var i=t(9833);Object.defineProperty(r,"getProp",{enumerable:true,get:function get(){return _interopRequireDefault(i).default}});var o=t(1431);Object.defineProperty(r,"ensureObject",{enumerable:true,get:function get(){return _interopRequireDefault(o).default}});var s=t(107);Object.defineProperty(r,"stripComments",{enumerable:true,get:function get(){return _interopRequireDefault(s).default}});function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},107:(e,r)=>{"use strict";r.__esModule=true;r.default=stripComments;function stripComments(e){var r="";var t=e.indexOf("/*");var n=0;while(t>=0){r=r+e.slice(n,t);var i=e.indexOf("*/",t+2);if(i<0){return r}n=i+2;t=e.indexOf("/*",n)}r=r+e.slice(n);return r}e.exports=r["default"]},8844:(e,r)=>{"use strict";r.__esModule=true;r.default=unesc;var t=/\\(?:([0-9a-fA-F]{6})|([0-9a-fA-F]{1,5})(?: |(?![0-9a-fA-F])))/g;var n=/\\(.)/g;function unesc(e){e=e.replace(t,function(e,r,t){var n=r||t;var i=parseInt(n,16);return String.fromCharCode(i)});e=e.replace(n,function(e,r){return r});return e}e.exports=r["default"]},689:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(2043));var i=_interopDefault(t(8784));var o=n.plugin("postcss-dir-pseudo-class",e=>{const r=Object(e).dir;const t=Boolean(Object(e).preserve);return e=>{e.walkRules(/:dir\([^\)]*\)/,e=>{let n=e;if(t){n=e.cloneBefore()}n.selector=i(e=>{e.nodes.forEach(e=>{e.walk(t=>{if("pseudo"===t.type&&":dir"===t.value){const n=t.prev();const o=t.next();const s=n&&n.type&&"combinator"===n.type&&" "===n.value;const a=o&&o.type&&"combinator"===o.type&&" "===o.value;if(s&&(a||!o)){t.replaceWith(i.universal())}else{t.remove()}const u=e.nodes[0];const c=u&&"combinator"===u.type&&" "===u.value;const f=u&&"tag"===u.type&&"html"===u.value;const l=u&&"pseudo"===u.type&&":root"===u.value;if(u&&!f&&!l&&!c){e.prepend(i.combinator({value:" "}))}const p=t.nodes.toString();const h=r===p;const B=i.attribute({attribute:"dir",operator:"=",quoteMark:'"',value:`"${p}"`});const v=i.pseudo({value:`${f||l?"":"html"}:not`});v.append(i.attribute({attribute:"dir",operator:"=",quoteMark:'"',value:`"${"ltr"===p?"rtl":"ltr"}"`}));if(h){if(f){e.insertAfter(u,v)}else{e.prepend(v)}}else if(f){e.insertAfter(u,B)}else{e.prepend(B)}}})})}).processSync(n.selector)})}});e.exports=o},1060:e=>{"use strict";var r={};var t=r.hasOwnProperty;var n=function merge(e,r){if(!e){return r}var n={};for(var i in r){n[i]=t.call(e,i)?e[i]:r[i]}return n};var i=/[ -,\.\/;-@\[-\^`\{-~]/;var o=/[ -,\.\/;-@\[\]\^`\{-~]/;var s=/['"\\]/;var a=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g;var u=function cssesc(e,r){r=n(r,cssesc.options);if(r.quotes!="single"&&r.quotes!="double"){r.quotes="single"}var t=r.quotes=="double"?'"':"'";var s=r.isIdentifier;var u=e.charAt(0);var c="";var f=0;var l=e.length;while(f126){if(h>=55296&&h<=56319&&f{"use strict";r.__esModule=true;var n=t(5257);var i=_interopRequireDefault(n);var o=t(3945);var s=_interopRequireWildcard(o);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var r={};if(e!=null){for(var t in e){if(Object.prototype.hasOwnProperty.call(e,t))r[t]=e[t]}}r.default=e;return r}}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var a=function parser(e){return new i.default(e)};Object.assign(a,s);delete a.__esModule;r.default=a;e.exports=r["default"]},7656:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t1&&arguments[1]!==undefined?arguments[1]:{};_classCallCheck(this,Parser);this.rule=e;this.options=Object.assign({lossy:false,safe:false},r);this.position=0;this.css=typeof this.rule==="string"?this.rule:this.rule.selector;this.tokens=(0,N.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var t=getTokenSourceSpan(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new p.default({source:t});this.root.errorGenerator=this._errorGenerator();var n=new B.default({source:{start:{line:1,column:1}}});this.root.append(n);this.current=n;this.loop()}Parser.prototype._errorGenerator=function _errorGenerator(){var e=this;return function(r,t){if(typeof e.rule==="string"){return new Error(r)}return e.rule.error(r,t)}};Parser.prototype.attribute=function attribute(){var e=[];var r=this.currToken;this.position++;while(this.position1&&arguments[1]!==undefined?arguments[1]:false;var n="";var i="";e.forEach(function(e){var o=r.lossySpace(e.spaces.before,t);var s=r.lossySpace(e.rawSpaceBefore,t);n+=o+r.lossySpace(e.spaces.after,t&&o.length===0);i+=o+e.value+r.lossySpace(e.rawSpaceAfter,t&&s.length===0)});if(i===n){i=undefined}var o={space:n,rawSpace:i};return o};Parser.prototype.isNamedCombinator=function isNamedCombinator(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:this.position;return this.tokens[e+0]&&this.tokens[e+0][M.FIELDS.TYPE]===q.slash&&this.tokens[e+1]&&this.tokens[e+1][M.FIELDS.TYPE]===q.word&&this.tokens[e+2]&&this.tokens[e+2][M.FIELDS.TYPE]===q.slash};Parser.prototype.namedCombinator=function namedCombinator(){if(this.isNamedCombinator()){var e=this.content(this.tokens[this.position+1]);var r=(0,H.unesc)(e).toLowerCase();var t={};if(r!==e){t.value="/"+e+"/"}var n=new R.default({value:"/"+r+"/",source:getSource(this.currToken[M.FIELDS.START_LINE],this.currToken[M.FIELDS.START_COL],this.tokens[this.position+2][M.FIELDS.END_LINE],this.tokens[this.position+2][M.FIELDS.END_COL]),sourceIndex:this.currToken[M.FIELDS.START_POS],raws:t});this.position=this.position+3;return n}else{this.unexpected()}};Parser.prototype.combinator=function combinator(){var e=this;if(this.content()==="|"){return this.namespace()}var r=this.locateNextMeaningfulToken(this.position);if(r<0||this.tokens[r][M.FIELDS.TYPE]===q.comma){var t=this.parseWhitespaceEquivalentTokens(r);if(t.length>0){var n=this.current.last;if(n){var i=this.convertWhitespaceNodesToSpace(t),o=i.space,s=i.rawSpace;if(s!==undefined){n.rawSpaceAfter+=s}n.spaces.after+=o}else{t.forEach(function(r){return e.newNode(r)})}}return}var a=this.currToken;var u=undefined;if(r>this.position){u=this.parseWhitespaceEquivalentTokens(r)}var c=void 0;if(this.isNamedCombinator()){c=this.namedCombinator()}else if(this.currToken[M.FIELDS.TYPE]===q.combinator){c=new R.default({value:this.content(),source:getTokenSource(this.currToken),sourceIndex:this.currToken[M.FIELDS.START_POS]});this.position++}else if(U[this.currToken[M.FIELDS.TYPE]]){}else if(!u){this.unexpected()}if(c){if(u){var f=this.convertWhitespaceNodesToSpace(u),l=f.space,p=f.rawSpace;c.spaces.before=l;c.rawSpaceBefore=p}}else{var h=this.convertWhitespaceNodesToSpace(u,true),B=h.space,v=h.rawSpace;if(!v){v=B}var d={};var b={spaces:{}};if(B.endsWith(" ")&&v.endsWith(" ")){d.before=B.slice(0,B.length-1);b.spaces.before=v.slice(0,v.length-1)}else if(B.startsWith(" ")&&v.startsWith(" ")){d.after=B.slice(1);b.spaces.after=v.slice(1)}else{b.value=v}c=new R.default({value:" ",source:getTokenSourceSpan(a,this.tokens[this.position-1]),sourceIndex:a[M.FIELDS.START_POS],spaces:d,raws:b})}if(this.currToken&&this.currToken[M.FIELDS.TYPE]===q.space){c.spaces.after=this.optionalSpace(this.content());this.position++}return this.newNode(c)};Parser.prototype.comma=function comma(){if(this.position===this.tokens.length-1){this.root.trailingComma=true;this.position++;return}this.current._inferEndPosition();var e=new B.default({source:{start:tokenStart(this.tokens[this.position+1])}});this.current.parent.append(e);this.current=e;this.position++};Parser.prototype.comment=function comment(){var e=this.currToken;this.newNode(new y.default({value:this.content(),source:getTokenSource(e),sourceIndex:e[M.FIELDS.START_POS]}));this.position++};Parser.prototype.error=function error(e,r){throw this.root.error(e,r)};Parser.prototype.missingBackslash=function missingBackslash(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[M.FIELDS.START_POS]})};Parser.prototype.missingParenthesis=function missingParenthesis(){return this.expected("opening parenthesis",this.currToken[M.FIELDS.START_POS])};Parser.prototype.missingSquareBracket=function missingSquareBracket(){return this.expected("opening square bracket",this.currToken[M.FIELDS.START_POS])};Parser.prototype.unexpected=function unexpected(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[M.FIELDS.START_POS])};Parser.prototype.namespace=function namespace(){var e=this.prevToken&&this.content(this.prevToken)||true;if(this.nextToken[M.FIELDS.TYPE]===q.word){this.position++;return this.word(e)}else if(this.nextToken[M.FIELDS.TYPE]===q.asterisk){this.position++;return this.universal(e)}};Parser.prototype.nesting=function nesting(){if(this.nextToken){var e=this.content(this.nextToken);if(e==="|"){this.position++;return}}var r=this.currToken;this.newNode(new j.default({value:this.content(),source:getTokenSource(r),sourceIndex:r[M.FIELDS.START_POS]}));this.position++};Parser.prototype.parentheses=function parentheses(){var e=this.current.last;var r=1;this.position++;if(e&&e.type===J.PSEUDO){var t=new B.default({source:{start:tokenStart(this.tokens[this.position-1])}});var n=this.current;e.append(t);this.current=t;while(this.position1&&e.nextToken&&e.nextToken[M.FIELDS.TYPE]===q.openParenthesis){e.error("Misplaced parenthesis.",{index:e.nextToken[M.FIELDS.START_POS]})}})}else{return this.expected(["pseudo-class","pseudo-element"],this.currToken[M.FIELDS.START_POS])}};Parser.prototype.space=function space(){var e=this.content();if(this.position===0||this.prevToken[M.FIELDS.TYPE]===q.comma||this.prevToken[M.FIELDS.TYPE]===q.openParenthesis){this.spaces=this.optionalSpace(e);this.position++}else if(this.position===this.tokens.length-1||this.nextToken[M.FIELDS.TYPE]===q.comma||this.nextToken[M.FIELDS.TYPE]===q.closeParenthesis){this.current.last.spaces.after=this.optionalSpace(e);this.position++}else{this.combinator()}};Parser.prototype.string=function string(){var e=this.currToken;this.newNode(new T.default({value:this.content(),source:getTokenSource(e),sourceIndex:e[M.FIELDS.START_POS]}));this.position++};Parser.prototype.universal=function universal(e){var r=this.nextToken;if(r&&this.content(r)==="|"){this.position++;return this.namespace()}var t=this.currToken;this.newNode(new A.default({value:this.content(),source:getTokenSource(t),sourceIndex:t[M.FIELDS.START_POS]}),e);this.position++};Parser.prototype.splitWord=function splitWord(e,r){var t=this;var n=this.nextToken;var i=this.content();while(n&&~[q.dollar,q.caret,q.equals,q.word].indexOf(n[M.FIELDS.TYPE])){this.position++;var o=this.content();i+=o;if(o.lastIndexOf("\\")===o.length-1){var s=this.nextToken;if(s&&s[M.FIELDS.TYPE]===q.space){i+=this.requiredSpace(this.content(s));this.position++}}n=this.nextToken}var a=(0,u.default)(i,".").filter(function(e){return i[e-1]!=="\\"});var c=(0,u.default)(i,"#");var l=(0,u.default)(i,"#{");if(l.length){c=c.filter(function(e){return!~l.indexOf(e)})}var p=(0,_.default)((0,f.default)([0].concat(a,c)));p.forEach(function(n,o){var s=p[o+1]||i.length;var u=i.slice(n,s);if(o===0&&r){return r.call(t,u,p.length)}var f=void 0;var l=t.currToken;var h=l[M.FIELDS.START_POS]+p[o];var B=getSource(l[1],l[2]+n,l[3],l[2]+(s-1));if(~a.indexOf(n)){var v={value:u.slice(1),source:B,sourceIndex:h};f=new d.default(unescapeProp(v,"value"))}else if(~c.indexOf(n)){var b={value:u.slice(1),source:B,sourceIndex:h};f=new m.default(unescapeProp(b,"value"))}else{var y={value:u,source:B,sourceIndex:h};unescapeProp(y,"value");f=new w.default(y)}t.newNode(f,e);e=null});this.position++};Parser.prototype.word=function word(e){var r=this.nextToken;if(r&&this.content(r)==="|"){this.position++;return this.namespace()}return this.splitWord(e)};Parser.prototype.loop=function loop(){while(this.position0&&arguments[0]!==undefined?arguments[0]:this.currToken;return this.css.slice(e[M.FIELDS.START_POS],e[M.FIELDS.END_POS])};Parser.prototype.locateNextMeaningfulToken=function locateNextMeaningfulToken(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:this.position+1;var r=e;while(r{"use strict";r.__esModule=true;var n=t(7656);var i=_interopRequireDefault(n);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}var o=function(){function Processor(e,r){_classCallCheck(this,Processor);this.func=e||function noop(){};this.funcRes=null;this.options=r}Processor.prototype._shouldUpdateSelector=function _shouldUpdateSelector(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var t=Object.assign({},this.options,r);if(t.updateSelector===false){return false}else{return typeof e!=="string"}};Processor.prototype._isLossy=function _isLossy(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var r=Object.assign({},this.options,e);if(r.lossless===false){return true}else{return false}};Processor.prototype._root=function _root(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var t=new i.default(e,this._parseOptions(r));return t.root};Processor.prototype._parseOptions=function _parseOptions(e){return{lossy:this._isLossy(e)}};Processor.prototype._run=function _run(e){var r=this;var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return new Promise(function(n,i){try{var o=r._root(e,t);Promise.resolve(r.func(o)).then(function(n){var i=undefined;if(r._shouldUpdateSelector(e,t)){i=o.toString();e.selector=i}return{transform:n,root:o,string:i}}).then(n,i)}catch(e){i(e);return}})};Processor.prototype._runSync=function _runSync(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var t=this._root(e,r);var n=this.func(t);if(n&&typeof n.then==="function"){throw new Error("Selector processor returned a promise to a synchronous call.")}var i=undefined;if(r.updateSelector&&typeof e!=="string"){i=t.toString();e.selector=i}return{transform:n,root:t,string:i}};Processor.prototype.ast=function ast(e,r){return this._run(e,r).then(function(e){return e.root})};Processor.prototype.astSync=function astSync(e,r){return this._runSync(e,r).root};Processor.prototype.transform=function transform(e,r){return this._run(e,r).then(function(e){return e.transform})};Processor.prototype.transformSync=function transformSync(e,r){return this._runSync(e,r).transform};Processor.prototype.process=function process(e,r){return this._run(e,r).then(function(e){return e.string||e.root.toString()})};Processor.prototype.processSync=function processSync(e,r){var t=this._runSync(e,r);return t.string||t.root.toString()};return Processor}();r.default=o;e.exports=r["default"]},2248:(e,r,t)=>{"use strict";r.__esModule=true;var n;var i=function(){function defineProperties(e,r){for(var t=0;t0&&arguments[0]!==undefined?arguments[0]:{};_classCallCheck(this,Attribute);var t=_possibleConstructorReturn(this,e.call(this,handleDeprecatedContructorOpts(r)));t.type=l.ATTRIBUTE;t.raws=t.raws||{};Object.defineProperty(t.raws,"unquoted",{get:h(function(){return t.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:h(function(){return t.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")});t._constructed=true;return t}Attribute.prototype.getQuotedValue=function getQuotedValue(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var r=this._determineQuoteMark(e);var t=g[r];var n=(0,s.default)(this._value,t);return n};Attribute.prototype._determineQuoteMark=function _determineQuoteMark(e){return e.smart?this.smartQuoteMark(e):this.preferredQuoteMark(e)};Attribute.prototype.setValue=function setValue(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};this._value=e;this._quoteMark=this._determineQuoteMark(r);this._syncRawValue()};Attribute.prototype.smartQuoteMark=function smartQuoteMark(e){var r=this.value;var t=r.replace(/[^']/g,"").length;var n=r.replace(/[^"]/g,"").length;if(t+n===0){var i=(0,s.default)(r,{isIdentifier:true});if(i===r){return Attribute.NO_QUOTE}else{var o=this.preferredQuoteMark(e);if(o===Attribute.NO_QUOTE){var a=this.quoteMark||e.quoteMark||Attribute.DOUBLE_QUOTE;var u=g[a];var c=(0,s.default)(r,u);if(c.length1&&arguments[1]!==undefined?arguments[1]:e;var t=arguments.length>2&&arguments[2]!==undefined?arguments[2]:defaultAttrConcat;var n=this._spacesFor(r);return t(this.stringifyProperty(e),n)};Attribute.prototype.offsetOf=function offsetOf(e){var r=1;var t=this._spacesFor("attribute");r+=t.before.length;if(e==="namespace"||e==="ns"){return this.namespace?r:-1}if(e==="attributeNS"){return r}r+=this.namespaceString.length;if(this.namespace){r+=1}if(e==="attribute"){return r}r+=this.stringifyProperty("attribute").length;r+=t.after.length;var n=this._spacesFor("operator");r+=n.before.length;var i=this.stringifyProperty("operator");if(e==="operator"){return i?r:-1}r+=i.length;r+=n.after.length;var o=this._spacesFor("value");r+=o.before.length;var s=this.stringifyProperty("value");if(e==="value"){return s?r:-1}r+=s.length;r+=o.after.length;var a=this._spacesFor("insensitive");r+=a.before.length;if(e==="insensitive"){return this.insensitive?r:-1}return-1};Attribute.prototype.toString=function toString(){var e=this;var r=[this.rawSpaceBefore,"["];r.push(this._stringFor("qualifiedAttribute","attribute"));if(this.operator&&this.value){r.push(this._stringFor("operator"));r.push(this._stringFor("value"));r.push(this._stringFor("insensitiveFlag","insensitive",function(r,t){if(r.length>0&&!e.quoted&&t.before.length===0&&!(e.spaces.value&&e.spaces.value.after)){t.before=" "}return defaultAttrConcat(r,t)}))}r.push("]");r.push(this.rawSpaceAfter);return r.join("")};i(Attribute,[{key:"quoted",get:function get(){var e=this.quoteMark;return e==="'"||e==='"'},set:function set(e){d()}},{key:"quoteMark",get:function get(){return this._quoteMark},set:function set(e){if(!this._constructed){this._quoteMark=e;return}if(this._quoteMark!==e){this._quoteMark=e;this._syncRawValue()}}},{key:"qualifiedAttribute",get:function get(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function get(){return this.insensitive?"i":""}},{key:"value",get:function get(){return this._value},set:function set(e){if(this._constructed){var r=unescapeValue(e),t=r.deprecatedUsage,n=r.unescaped,i=r.quoteMark;if(t){v()}if(n===this._value&&i===this._quoteMark){return}this._value=n;this._quoteMark=i;this._syncRawValue()}else{this._value=e}}},{key:"attribute",get:function get(){return this._attribute},set:function set(e){this._handleEscapes("attribute",e);this._attribute=e}}]);return Attribute}(f.default);y.NO_QUOTE=null;y.SINGLE_QUOTE="'";y.DOUBLE_QUOTE='"';r.default=y;var g=(n={"'":{quotes:"single",wrap:true},'"':{quotes:"double",wrap:true}},n[null]={isIdentifier:true},n);function defaultAttrConcat(e,r){return""+r.before+e+r.after}},9726:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t{"use strict";r.__esModule=true;var n=t(4123);var i=_interopRequireDefault(n);var o=t(4578);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Combinator,e);function Combinator(r){_classCallCheck(this,Combinator);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.COMBINATOR;return t}return Combinator}(i.default);r.default=s;e.exports=r["default"]},1114:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(4123);var i=_interopRequireDefault(n);var o=t(4578);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Comment,e);function Comment(r){_classCallCheck(this,Comment);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.COMMENT;return t}return Comment}(i.default);r.default=s;e.exports=r["default"]},7670:(e,r,t)=>{"use strict";r.__esModule=true;r.universal=r.tag=r.string=r.selector=r.root=r.pseudo=r.nesting=r.id=r.comment=r.combinator=r.className=r.attribute=undefined;var n=t(2248);var i=_interopRequireDefault(n);var o=t(9726);var s=_interopRequireDefault(o);var a=t(2658);var u=_interopRequireDefault(a);var c=t(1114);var f=_interopRequireDefault(c);var l=t(5101);var p=_interopRequireDefault(l);var h=t(5);var B=_interopRequireDefault(h);var v=t(9901);var d=_interopRequireDefault(v);var b=t(9489);var y=_interopRequireDefault(b);var g=t(5707);var m=_interopRequireDefault(g);var C=t(5660);var w=_interopRequireDefault(C);var S=t(3894);var T=_interopRequireDefault(S);var O=t(6184);var E=_interopRequireDefault(O);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var k=r.attribute=function attribute(e){return new i.default(e)};var P=r.className=function className(e){return new s.default(e)};var D=r.combinator=function combinator(e){return new u.default(e)};var A=r.comment=function comment(e){return new f.default(e)};var F=r.id=function id(e){return new p.default(e)};var R=r.nesting=function nesting(e){return new B.default(e)};var x=r.pseudo=function pseudo(e){return new d.default(e)};var j=r.root=function root(e){return new y.default(e)};var I=r.selector=function selector(e){return new m.default(e)};var _=r.string=function string(e){return new w.default(e)};var M=r.tag=function tag(e){return new T.default(e)};var N=r.universal=function universal(e){return new E.default(e)}},8553:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t=e){this.indexes[t]=r-1}}return this};Container.prototype.removeAll=function removeAll(){for(var e=this.nodes,r=Array.isArray(e),t=0,e=r?e:e[Symbol.iterator]();;){var n;if(r){if(t>=e.length)break;n=e[t++]}else{t=e.next();if(t.done)break;n=t.value}var i=n;i.parent=undefined}this.nodes=[];return this};Container.prototype.empty=function empty(){return this.removeAll()};Container.prototype.insertAfter=function insertAfter(e,r){r.parent=this;var t=this.index(e);this.nodes.splice(t+1,0,r);r.parent=this;var n=void 0;for(var i in this.indexes){n=this.indexes[i];if(t<=n){this.indexes[i]=n+1}}return this};Container.prototype.insertBefore=function insertBefore(e,r){r.parent=this;var t=this.index(e);this.nodes.splice(t,0,r);r.parent=this;var n=void 0;for(var i in this.indexes){n=this.indexes[i];if(n<=t){this.indexes[i]=n+1}}return this};Container.prototype._findChildAtPosition=function _findChildAtPosition(e,r){var t=undefined;this.each(function(n){if(n.atPosition){var i=n.atPosition(e,r);if(i){t=i;return false}}else if(n.isAtPosition(e,r)){t=n;return false}});return t};Container.prototype.atPosition=function atPosition(e,r){if(this.isAtPosition(e,r)){return this._findChildAtPosition(e,r)||this}else{return undefined}};Container.prototype._inferEndPosition=function _inferEndPosition(){if(this.last&&this.last.source&&this.last.source.end){this.source=this.source||{};this.source.end=this.source.end||{};Object.assign(this.source.end,this.last.source.end)}};Container.prototype.each=function each(e){if(!this.lastEach){this.lastEach=0}if(!this.indexes){this.indexes={}}this.lastEach++;var r=this.lastEach;this.indexes[r]=0;if(!this.length){return undefined}var t=void 0,n=void 0;while(this.indexes[r]{"use strict";r.__esModule=true;r.isUniversal=r.isTag=r.isString=r.isSelector=r.isRoot=r.isPseudo=r.isNesting=r.isIdentifier=r.isComment=r.isCombinator=r.isClassName=r.isAttribute=undefined;var n=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var i;r.isNode=isNode;r.isPseudoElement=isPseudoElement;r.isPseudoClass=isPseudoClass;r.isContainer=isContainer;r.isNamespace=isNamespace;var o=t(4578);var s=(i={},i[o.ATTRIBUTE]=true,i[o.CLASS]=true,i[o.COMBINATOR]=true,i[o.COMMENT]=true,i[o.ID]=true,i[o.NESTING]=true,i[o.PSEUDO]=true,i[o.ROOT]=true,i[o.SELECTOR]=true,i[o.STRING]=true,i[o.TAG]=true,i[o.UNIVERSAL]=true,i);function isNode(e){return(typeof e==="undefined"?"undefined":n(e))==="object"&&s[e.type]}function isNodeType(e,r){return isNode(r)&&r.type===e}var a=r.isAttribute=isNodeType.bind(null,o.ATTRIBUTE);var u=r.isClassName=isNodeType.bind(null,o.CLASS);var c=r.isCombinator=isNodeType.bind(null,o.COMBINATOR);var f=r.isComment=isNodeType.bind(null,o.COMMENT);var l=r.isIdentifier=isNodeType.bind(null,o.ID);var p=r.isNesting=isNodeType.bind(null,o.NESTING);var h=r.isPseudo=isNodeType.bind(null,o.PSEUDO);var B=r.isRoot=isNodeType.bind(null,o.ROOT);var v=r.isSelector=isNodeType.bind(null,o.SELECTOR);var d=r.isString=isNodeType.bind(null,o.STRING);var b=r.isTag=isNodeType.bind(null,o.TAG);var y=r.isUniversal=isNodeType.bind(null,o.UNIVERSAL);function isPseudoElement(e){return h(e)&&e.value&&(e.value.startsWith("::")||e.value===":before"||e.value===":after")}function isPseudoClass(e){return h(e)&&!isPseudoElement(e)}function isContainer(e){return!!(isNode(e)&&e.walk)}function isNamespace(e){return a(e)||b(e)}},5101:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(4123);var i=_interopRequireDefault(n);var o=t(4578);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(ID,e);function ID(r){_classCallCheck(this,ID);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.ID;return t}ID.prototype.toString=function toString(){return[this.rawSpaceBefore,String("#"+this.stringifyProperty("value")),this.rawSpaceAfter].join("")};return ID}(i.default);r.default=s;e.exports=r["default"]},3945:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(4578);Object.keys(n).forEach(function(e){if(e==="default"||e==="__esModule")return;Object.defineProperty(r,e,{enumerable:true,get:function get(){return n[e]}})});var i=t(7670);Object.keys(i).forEach(function(e){if(e==="default"||e==="__esModule")return;Object.defineProperty(r,e,{enumerable:true,get:function get(){return i[e]}})});var o=t(9869);Object.keys(o).forEach(function(e){if(e==="default"||e==="__esModule")return;Object.defineProperty(r,e,{enumerable:true,get:function get(){return o[e]}})})},5229:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t{"use strict";r.__esModule=true;var n=t(4123);var i=_interopRequireDefault(n);var o=t(4578);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Nesting,e);function Nesting(r){_classCallCheck(this,Nesting);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.NESTING;t.value="&";return t}return Nesting}(i.default);r.default=s;e.exports=r["default"]},4123:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t0&&arguments[0]!==undefined?arguments[0]:{};_classCallCheck(this,Node);Object.assign(this,e);this.spaces=this.spaces||{};this.spaces.before=this.spaces.before||"";this.spaces.after=this.spaces.after||""}Node.prototype.remove=function remove(){if(this.parent){this.parent.removeChild(this)}this.parent=undefined;return this};Node.prototype.replaceWith=function replaceWith(){if(this.parent){for(var e in arguments){this.parent.insertBefore(this,arguments[e])}this.remove()}return this};Node.prototype.next=function next(){return this.parent.at(this.parent.index(this)+1)};Node.prototype.prev=function prev(){return this.parent.at(this.parent.index(this)-1)};Node.prototype.clone=function clone(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var r=s(this);for(var t in e){r[t]=e[t]}return r};Node.prototype.appendToPropertyAndEscape=function appendToPropertyAndEscape(e,r,t){if(!this.raws){this.raws={}}var n=this[e];var i=this.raws[e];this[e]=n+r;if(i||t!==r){this.raws[e]=(i||n)+t}else{delete this.raws[e]}};Node.prototype.setPropertyAndEscape=function setPropertyAndEscape(e,r,t){if(!this.raws){this.raws={}}this[e]=r;this.raws[e]=t};Node.prototype.setPropertyWithoutEscape=function setPropertyWithoutEscape(e,r){this[e]=r;if(this.raws){delete this.raws[e]}};Node.prototype.isAtPosition=function isAtPosition(e,r){if(this.source&&this.source.start&&this.source.end){if(this.source.start.line>e){return false}if(this.source.end.liner){return false}if(this.source.end.line===e&&this.source.end.column{"use strict";r.__esModule=true;var n=t(8553);var i=_interopRequireDefault(n);var o=t(4578);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Pseudo,e);function Pseudo(r){_classCallCheck(this,Pseudo);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.PSEUDO;return t}Pseudo.prototype.toString=function toString(){var e=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),e,this.rawSpaceAfter].join("")};return Pseudo}(i.default);r.default=s;e.exports=r["default"]},9489:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t{"use strict";r.__esModule=true;var n=t(8553);var i=_interopRequireDefault(n);var o=t(4578);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Selector,e);function Selector(r){_classCallCheck(this,Selector);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.SELECTOR;return t}return Selector}(i.default);r.default=s;e.exports=r["default"]},5660:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(4123);var i=_interopRequireDefault(n);var o=t(4578);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(String,e);function String(r){_classCallCheck(this,String);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.STRING;return t}return String}(i.default);r.default=s;e.exports=r["default"]},3894:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(5229);var i=_interopRequireDefault(n);var o=t(4578);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Tag,e);function Tag(r){_classCallCheck(this,Tag);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.TAG;return t}return Tag}(i.default);r.default=s;e.exports=r["default"]},4578:(e,r)=>{"use strict";r.__esModule=true;var t=r.TAG="tag";var n=r.STRING="string";var i=r.SELECTOR="selector";var o=r.ROOT="root";var s=r.PSEUDO="pseudo";var a=r.NESTING="nesting";var u=r.ID="id";var c=r.COMMENT="comment";var f=r.COMBINATOR="combinator";var l=r.CLASS="class";var p=r.ATTRIBUTE="attribute";var h=r.UNIVERSAL="universal"},6184:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(5229);var i=_interopRequireDefault(n);var o=t(4578);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Universal,e);function Universal(r){_classCallCheck(this,Universal);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.UNIVERSAL;t.value="*";return t}return Universal}(i.default);r.default=s;e.exports=r["default"]},8576:(e,r)=>{"use strict";r.__esModule=true;r.default=sortAscending;function sortAscending(e){return e.sort(function(e,r){return e-r})}e.exports=r["default"]},7688:(e,r)=>{"use strict";r.__esModule=true;var t=r.ampersand=38;var n=r.asterisk=42;var i=r.at=64;var o=r.comma=44;var s=r.colon=58;var a=r.semicolon=59;var u=r.openParenthesis=40;var c=r.closeParenthesis=41;var f=r.openSquare=91;var l=r.closeSquare=93;var p=r.dollar=36;var h=r.tilde=126;var B=r.caret=94;var v=r.plus=43;var d=r.equals=61;var b=r.pipe=124;var y=r.greaterThan=62;var g=r.space=32;var m=r.singleQuote=39;var C=r.doubleQuote=34;var w=r.slash=47;var S=r.bang=33;var T=r.backslash=92;var O=r.cr=13;var E=r.feed=12;var k=r.newline=10;var P=r.tab=9;var D=r.str=m;var A=r.comment=-1;var F=r.word=-2;var R=r.combinator=-3},8850:(e,r,t)=>{"use strict";r.__esModule=true;r.FIELDS=undefined;var n,i;r.default=tokenize;var o=t(7688);var s=_interopRequireWildcard(o);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var r={};if(e!=null){for(var t in e){if(Object.prototype.hasOwnProperty.call(e,t))r[t]=e[t]}}r.default=e;return r}}var a=(n={},n[s.tab]=true,n[s.newline]=true,n[s.cr]=true,n[s.feed]=true,n);var u=(i={},i[s.space]=true,i[s.tab]=true,i[s.newline]=true,i[s.cr]=true,i[s.feed]=true,i[s.ampersand]=true,i[s.asterisk]=true,i[s.bang]=true,i[s.comma]=true,i[s.colon]=true,i[s.semicolon]=true,i[s.openParenthesis]=true,i[s.closeParenthesis]=true,i[s.openSquare]=true,i[s.closeSquare]=true,i[s.singleQuote]=true,i[s.doubleQuote]=true,i[s.plus]=true,i[s.pipe]=true,i[s.tilde]=true,i[s.greaterThan]=true,i[s.equals]=true,i[s.dollar]=true,i[s.caret]=true,i[s.slash]=true,i);var c={};var f="0123456789abcdefABCDEF";for(var l=0;l0){g=a+d;m=y-b[d].length}else{g=a;m=o}w=s.comment;a=g;h=g;p=y-m}else if(f===s.slash){y=u;w=f;h=a;p=u-o;c=y+1}else{y=consumeWord(t,u);w=s.word;h=a;p=y-o}c=y+1;break}r.push([w,a,u-o,h,p,u,c]);if(m){o=m;m=null}u=c}return r}},9941:(e,r)=>{"use strict";r.__esModule=true;r.default=ensureObject;function ensureObject(e){for(var r=arguments.length,t=Array(r>1?r-1:0),n=1;n0){var i=t.shift();if(!e[i]){e[i]={}}e=e[i]}}e.exports=r["default"]},5666:(e,r)=>{"use strict";r.__esModule=true;r.default=getProp;function getProp(e){for(var r=arguments.length,t=Array(r>1?r-1:0),n=1;n0){var i=t.shift();if(!e[i]){return undefined}e=e[i]}return e}e.exports=r["default"]},1870:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(2758);Object.defineProperty(r,"unesc",{enumerable:true,get:function get(){return _interopRequireDefault(n).default}});var i=t(5666);Object.defineProperty(r,"getProp",{enumerable:true,get:function get(){return _interopRequireDefault(i).default}});var o=t(9941);Object.defineProperty(r,"ensureObject",{enumerable:true,get:function get(){return _interopRequireDefault(o).default}});var s=t(791);Object.defineProperty(r,"stripComments",{enumerable:true,get:function get(){return _interopRequireDefault(s).default}});function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},791:(e,r)=>{"use strict";r.__esModule=true;r.default=stripComments;function stripComments(e){var r="";var t=e.indexOf("/*");var n=0;while(t>=0){r=r+e.slice(n,t);var i=e.indexOf("*/",t+2);if(i<0){return r}n=i+2;t=e.indexOf("/*",n)}r=r+e.slice(n);return r}e.exports=r["default"]},2758:(e,r)=>{"use strict";r.__esModule=true;r.default=unesc;var t=/\\(?:([0-9a-fA-F]{6})|([0-9a-fA-F]{1,5})(?: |(?![0-9a-fA-F])))/g;var n=/\\(.)/g;function unesc(e){e=e.replace(t,function(e,r,t){var n=r||t;var i=parseInt(n,16);return String.fromCharCode(i)});e=e.replace(n,function(e,r){return r});return e}e.exports=r["default"]},9730:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(2043));var i=_interopDefault(t(4510));var o=n.plugin("postcss-double-position-gradients",e=>{const r="preserve"in Object(e)?Boolean(e.preserve):true;return e=>{e.walkDecls(e=>{const t=e.value;if(s.test(t)){const n=i(t).parse();n.walkFunctionNodes(e=>{if(a.test(e.value)){const r=e.nodes.slice(1,-1);r.forEach((t,n)=>{const o=Object(r[n-1]);const s=Object(r[n-2]);const a=s.type&&o.type==="number"&&t.type==="number";if(a){const r=s.clone();const n=i.comma({value:",",raws:{after:" "}});e.insertBefore(t,n);e.insertBefore(t,r)}})}});const o=n.toString();if(t!==o){e.cloneBefore({value:o});if(!r){e.remove()}}}})}});const s=/(repeating-)?(conic|linear|radial)-gradient\([\W\w]*\)/i;const a=/^(repeating-)?(conic|linear|radial)-gradient$/i;e.exports=o},8541:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(4510));var i=_interopDefault(t(5747));var o=_interopDefault(t(5622));var s=_interopDefault(t(2043));function asyncGeneratorStep(e,r,t,n,i,o,s){try{var a=e[o](s);var u=a.value}catch(e){t(e);return}if(a.done){r(u)}else{Promise.resolve(u).then(n,i)}}function _asyncToGenerator(e){return function(){var r=this,t=arguments;return new Promise(function(n,i){var o=e.apply(r,t);function _next(e){asyncGeneratorStep(o,n,i,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(o,n,i,_next,_throw,"throw",e)}_next(undefined)})}}const a=/^--/;var u=e=>{const r=String(e.nodes.slice(1,-1));return a.test(r)?r:undefined};var c=(e,r)=>{const t=u(e);if(typeof t==="string"&&t in r){e.replaceWith(...f(r[t],e.raws.before))}};const f=(e,r)=>{const t=l(e,null);if(t[0]){t[0].raws.before=r}return t};const l=(e,r)=>e.map(e=>p(e,r));const p=(e,r)=>{const t=new e.constructor(e);for(const n in e){if(n==="parent"){t.parent=r}else if(Object(e[n]).constructor===Array){t[n]=l(e.nodes,t)}else if(Object(e[n]).constructor===Object){t[n]=Object.assign({},e[n])}}return t};var h=e=>e&&e.type==="func"&&e.value==="env";function walk(e,r){e.nodes.slice(0).forEach(e=>{if(e.nodes){walk(e,r)}if(h(e)){r(e)}})}var B=(e,r)=>{const t=n(e).parse();walk(t,e=>{c(e,r)});return String(t)};var v=e=>e&&e.type==="atrule";var d=e=>e&&e.type==="decl";var b=e=>v(e)&&e.params||d(e)&&e.value;function setSupportedValue(e,r){if(v(e)){e.params=r}if(d(e)){e.value=r}}function importEnvironmentVariablesFromObject(e){const r=Object.assign({},Object(e).environmentVariables||Object(e)["environment-variables"]);for(const e in r){r[e]=n(r[e]).parse().nodes}return r}function importEnvironmentVariablesFromJSONFile(e){return _importEnvironmentVariablesFromJSONFile.apply(this,arguments)}function _importEnvironmentVariablesFromJSONFile(){_importEnvironmentVariablesFromJSONFile=_asyncToGenerator(function*(e){const r=yield g(o.resolve(e));return importEnvironmentVariablesFromObject(r)});return _importEnvironmentVariablesFromJSONFile.apply(this,arguments)}function importEnvironmentVariablesFromJSFile(e){return _importEnvironmentVariablesFromJSFile.apply(this,arguments)}function _importEnvironmentVariablesFromJSFile(){_importEnvironmentVariablesFromJSFile=_asyncToGenerator(function*(e){const r=yield Promise.resolve(require(o.resolve(e)));return importEnvironmentVariablesFromObject(r)});return _importEnvironmentVariablesFromJSFile.apply(this,arguments)}function importEnvironmentVariablesFromSources(e){return e.map(e=>{if(e instanceof Promise){return e}else if(e instanceof Function){return e()}const r=e===Object(e)?e:{from:String(e)};if(r.environmentVariables||r["environment-variables"]){return r}const t=String(r.from||"");const n=(r.type||o.extname(t).slice(1)).toLowerCase();return{type:n,from:t}}).reduce(function(){var e=_asyncToGenerator(function*(e,r){const t=yield r,n=t.type,i=t.from;if(n==="js"){return Object.assign(e,yield importEnvironmentVariablesFromJSFile(i))}if(n==="json"){return Object.assign(e,yield importEnvironmentVariablesFromJSONFile(i))}return Object.assign(e,importEnvironmentVariablesFromObject(yield r))});return function(r,t){return e.apply(this,arguments)}}(),{})}const y=e=>new Promise((r,t)=>{i.readFile(e,"utf8",(e,n)=>{if(e){t(e)}else{r(n)}})});const g=function(){var e=_asyncToGenerator(function*(e){return JSON.parse(yield y(e))});return function readJSON(r){return e.apply(this,arguments)}}();var m=s.plugin("postcss-env-fn",e=>{const r=[].concat(Object(e).importFrom||[]);const t=importEnvironmentVariablesFromSources(r);return function(){var e=_asyncToGenerator(function*(e){const r=yield t;e.walk(e=>{const t=b(e);if(t){const n=B(t,r);if(n!==t){setSupportedValue(e,n)}}})});return function(r){return e.apply(this,arguments)}}()});e.exports=m},9550:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(2043));const i=/:focus-visible([^\w-]|$)/gi;var o=n.plugin("postcss-focus-visible",e=>{const r=String(Object(e).replaceWith||".focus-visible");const t=Boolean("preserve"in Object(e)?e.preserve:true);return e=>{e.walkRules(i,e=>{const n=e.selector.replace(i,(e,t)=>{return`${r}${t}`});const o=e.clone({selector:n});if(t){e.before(o)}else{e.replaceWith(o)}})}});e.exports=o},5917:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(2043));const i=/:focus-within([^\w-]|$)/gi;var o=n.plugin("postcss-focus-within",e=>{const r=String(Object(e).replaceWith||"[focus-within]");const t=Boolean("preserve"in Object(e)?e.preserve:true);return e=>{e.walkRules(i,e=>{const n=e.selector.replace(i,(e,t)=>{return`${r}${t}`});const o=e.clone({selector:n});if(t){e.before(o)}else{e.replaceWith(o)}})}});e.exports=o},9633:(e,r,t)=>{var n=t(2043);var i={"font-variant-ligatures":{"common-ligatures":'"liga", "clig"',"no-common-ligatures":'"liga", "clig off"',"discretionary-ligatures":'"dlig"',"no-discretionary-ligatures":'"dlig" off',"historical-ligatures":'"hlig"',"no-historical-ligatures":'"hlig" off',contextual:'"calt"',"no-contextual":'"calt" off'},"font-variant-position":{sub:'"subs"',super:'"sups"',normal:'"subs" off, "sups" off'},"font-variant-caps":{"small-caps":'"c2sc"',"all-small-caps":'"smcp", "c2sc"',"petite-caps":'"pcap"',"all-petite-caps":'"pcap", "c2pc"',unicase:'"unic"',"titling-caps":'"titl"'},"font-variant-numeric":{"lining-nums":'"lnum"',"oldstyle-nums":'"onum"',"proportional-nums":'"pnum"',"tabular-nums":'"tnum"',"diagonal-fractions":'"frac"',"stacked-fractions":'"afrc"',ordinal:'"ordn"',"slashed-zero":'"zero"'},"font-kerning":{normal:'"kern"',none:'"kern" off'},"font-variant":{normal:"normal",inherit:"inherit"}};for(var o in i){var s=i[o];for(var a in s){if(!(a in i["font-variant"])){i["font-variant"][a]=s[a]}}}function getFontFeatureSettingsPrevTo(e){var r=null;e.parent.walkDecls(function(e){if(e.prop==="font-feature-settings"){r=e}});if(r===null){r=e.clone();r.prop="font-feature-settings";r.value="";e.parent.insertBefore(e,r)}return r}e.exports=n.plugin("postcss-font-variant",function(){return function(e){e.walkRules(function(e){var r=null;e.walkDecls(function(e){if(!i[e.prop]){return null}var t=e.value;if(e.prop==="font-variant"){t=e.value.split(/\s+/g).map(function(e){return i["font-variant"][e]}).join(", ")}else if(i[e.prop][e.value]){t=i[e.prop][e.value]}if(r===null){r=getFontFeatureSettingsPrevTo(e)}if(r.value&&r.value!==t){r.value+=", "+t}else{r.value=t}})})}})},7411:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(2043));const i=/^(column-gap|gap|row-gap)$/i;var o=n.plugin("postcss-gap-properties",e=>{const r="preserve"in Object(e)?Boolean(e.preserve):true;return e=>{e.walkDecls(i,e=>{e.cloneBefore({prop:`grid-${e.prop}`});if(!r){e.remove()}})}});e.exports=o},3767:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(2043));var i=_interopDefault(t(4510));var o=e=>Object(e).type==="comma";const s=/^(-webkit-)?image-set$/i;var a=e=>Object(e).type==="func"&&/^(cross-fade|image|(repeating-)?(conic|linear|radial)-gradient|url)$/i.test(e.value)&&!(e.parent.parent&&e.parent.parent.type==="func"&&s.test(e.parent.parent.value))?String(e):Object(e).type==="string"?e.value:false;const u={dpcm:2.54,dpi:1,dppx:96,x:96};var c=(e,r)=>{if(Object(e).type==="number"&&e.unit in u){const t=Number(e.value)*u[e.unit.toLowerCase()];const i=Math.floor(t/u.x*100)/100;if(t in r){return false}else{const e=r[t]=n.atRule({name:"media",params:`(-webkit-min-device-pixel-ratio: ${i}), (min-resolution: ${t}dpi)`});return e}}else{return false}};var f=(e,r,t)=>{if(e.oninvalid==="warn"){e.decl.warn(e.result,r,{word:String(t)})}else if(e.oninvalid==="throw"){throw e.decl.error(r,{word:String(t)})}};var l=(e,r,t)=>{const n=r.parent;const i={};let s=e.length;let u=-1;while(ue-r).map(e=>i[e]);if(l.length){const e=l[0].nodes[0].nodes[0];if(l.length===1){r.value=e.value}else{const i=n.nodes;const o=i.slice(0,i.indexOf(r)).concat(e);if(o.length){const e=n.cloneBefore().removeAll();e.append(o)}n.before(l.slice(1));if(!t.preserve){r.remove();if(!n.nodes.length){n.remove()}}}}};const p=/(^|[^\w-])(-webkit-)?image-set\(/;const h=/^(-webkit-)?image-set$/i;var B=n.plugin("postcss-image-set-function",e=>{const r="preserve"in Object(e)?Boolean(e.preserve):true;const t="oninvalid"in Object(e)?e.oninvalid:"ignore";return(e,n)=>{e.walkDecls(e=>{const o=e.value;if(p.test(o)){const s=i(o).parse();s.walkType("func",i=>{if(h.test(i.value)){l(i.nodes.slice(1,-1),e,{decl:e,oninvalid:t,preserve:r,result:n})}})}})}});e.exports=B},7678:(e,r,t)=>{var n=t(2043);var i=t(6656);e.exports=n.plugin("postcss-initial",function(e){e=e||{};e.reset=e.reset||"all";e.replace=e.replace||false;var r=i(e.reset==="inherited");var t=function(e,r){var t=false;r.parent.walkDecls(function(e){if(e.prop===r.prop&&e.value!==r.value){t=true}});return t};return function(n){n.walkDecls(function(n){if(n.value.indexOf("initial")<0){return}var i=r(n.prop,n.value);if(i.length===0)return;i.forEach(function(e){if(!t(n.prop,n)){n.cloneBefore(e)}});if(e.replace===true){n.remove()}})}})},6656:(e,r,t)=>{var n=t(1717);var i=t(9614);function _getRulesMap(e){return e.filter(function(e){return!e.combined}).reduce(function(e,r){e[r.prop.replace(/\-/g,"")]=r.initial;return e},{})}function _compileDecls(e){var r=_getRulesMap(e);return e.map(function(e){if(e.combined&&e.initial){var t=n(e.initial.replace(/\-/g,""));e.initial=t(r)}return e})}function _getRequirements(e){return e.reduce(function(e,r){if(!r.contains)return e;return r.contains.reduce(function(e,t){e[t]=r;return e},e)},{})}function _expandContainments(e){var r=_getRequirements(e);return e.filter(function(e){return!e.contains}).map(function(e){var t=r[e.prop];if(t){e.requiredBy=t.prop;e.basic=e.basic||t.basic;e.inherited=e.inherited||t.inherited}return e})}var o=_expandContainments(_compileDecls(i));function _clearDecls(e,r){return e.map(function(e){return{prop:e.prop,value:r.replace(/initial/g,e.initial)}})}function _allDecls(e){return o.filter(function(r){var t=r.combined||r.basic;if(e)return t&&r.inherited;return t})}function _concreteDecl(e){return o.filter(function(r){return e===r.prop||e===r.requiredBy})}function makeFallbackFunction(e){return function(r,t){var n;if(r==="all"){n=_allDecls(e)}else{n=_concreteDecl(r)}return _clearDecls(n,t)}}e.exports=makeFallbackFunction},557:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=t(7306);var i=_interopDefault(t(2043));var o=_interopDefault(t(4510));var s=i.plugin("postcss-lab-function",e=>{const r="preserve"in Object(e)?Boolean(e.preserve):false;return e=>{e.walkDecls(e=>{const t=e.value;if(a.test(t)){const i=o(t).parse();i.walkType("func",e=>{if(u.test(e.value)){const r=e.nodes.slice(1,-1);const t=c.test(e.value);const i=f.test(e.value);const o=!i&&S(r);const s=!i&&T(r);const a=i&&O(r);if(o||s){e.value="rgb";const i=r[3];const o=r[4];if(o){if(y(o)&&!v(o)){o.unit="";o.value=String(o.value/100)}if(o.value==="1"){i.remove();o.remove()}else{e.value+="a"}}if(i&&g(i)){i.replaceWith(E())}const s=t?n.lab2rgb:n.lch2rgb;const a=s(...[r[0].value,r[1].value,r[2].value].map(e=>parseFloat(e))).map(e=>Math.max(Math.min(parseInt(e*2.55),255),0));r[0].value=String(a[0]);r[1].value=String(a[1]);r[2].value=String(a[2]);e.nodes.splice(3,0,[E()]);e.nodes.splice(2,0,[E()])}else if(a){e.value="rgb";const t=r[2];const i=n.lab2rgb(...[r[0].value,0,0].map(e=>parseFloat(e))).map(e=>Math.max(Math.min(parseInt(e*2.55),255),0));e.removeAll().append(P("(")).append(k(i[0])).append(E()).append(k(i[1])).append(E()).append(k(i[2])).append(P(")"));if(t){if(y(t)&&!v(t)){t.unit="";t.value=String(t.value/100)}if(t.value!=="1"){e.value+="a";e.insertBefore(e.last,E()).insertBefore(e.last,t)}}}}});const s=String(i);if(r){e.cloneBefore({value:s})}else{e.value=s}}})}});const a=/(^|[^\w-])(lab|lch|gray)\(/i;const u=/^(lab|lch|gray)$/i;const c=/^lab$/i;const f=/^gray$/i;const l=/^%?$/i;const p=/^calc$/i;const h=/^(deg|grad|rad|turn)?$/i;const B=e=>v(e)||e.type==="number"&&l.test(e.unit);const v=e=>e.type==="func"&&p.test(e.value);const d=e=>v(e)||e.type==="number"&&h.test(e.unit);const b=e=>v(e)||e.type==="number"&&e.unit==="";const y=e=>v(e)||e.type==="number"&&e.unit==="%";const g=e=>e.type==="operator"&&e.value==="/";const m=[b,b,b,g,B];const C=[b,b,d,g,B];const w=[b,g,B];const S=e=>e.every((e,r)=>typeof m[r]==="function"&&m[r](e));const T=e=>e.every((e,r)=>typeof C[r]==="function"&&C[r](e));const O=e=>e.every((e,r)=>typeof w[r]==="function"&&w[r](e));const E=()=>o.comma({value:","});const k=e=>o.number({value:e});const P=e=>o.paren({value:e});e.exports=s},8500:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(2043));var i=(e,r)=>{const t=Object(e.parent).type==="rule"?e.parent.clone({raws:{}}).removeAll():n.rule({selector:"&"});t.selectors=t.selectors.map(e=>`${e}:dir(${r})`);return t};const o=/^\s*logical\s+/i;const s=/^border(-width|-style|-color)?$/i;const a=/^border-(block|block-start|block-end|inline|inline-start|inline-end|start|end)(-(width|style|color))?$/i;var u={border:(e,r,t)=>{const n=o.test(r[0]);if(n){r[0]=r[0].replace(o,"")}const a=[e.clone({prop:`border-top${e.prop.replace(s,"$1")}`,value:r[0]}),e.clone({prop:`border-left${e.prop.replace(s,"$1")}`,value:r[1]||r[0]}),e.clone({prop:`border-bottom${e.prop.replace(s,"$1")}`,value:r[2]||r[0]}),e.clone({prop:`border-right${e.prop.replace(s,"$1")}`,value:r[3]||r[1]||r[0]})];const u=[e.clone({prop:`border-top${e.prop.replace(s,"$1")}`,value:r[0]}),e.clone({prop:`border-right${e.prop.replace(s,"$1")}`,value:r[1]||r[0]}),e.clone({prop:`border-bottom${e.prop.replace(s,"$1")}`,value:r[2]||r[0]}),e.clone({prop:`border-left${e.prop.replace(s,"$1")}`,value:r[3]||r[1]||r[0]})];return n?1===r.length?e.clone({value:e.value.replace(o,"")}):!r[3]||r[3]===r[1]?[e.clone({prop:`border-top${e.prop.replace(s,"$1")}`,value:r[0]}),e.clone({prop:`border-right${e.prop.replace(s,"$1")}`,value:r[3]||r[1]||r[0]}),e.clone({prop:`border-bottom${e.prop.replace(s,"$1")}`,value:r[2]||r[0]}),e.clone({prop:`border-left${e.prop.replace(s,"$1")}`,value:r[1]||r[0]})]:"ltr"===t?a:"rtl"===t?u:[i(e,"ltr").append(a),i(e,"rtl").append(u)]:null},"border-block":(e,r)=>[e.clone({prop:`border-top${e.prop.replace(a,"$2")}`,value:r[0]}),e.clone({prop:`border-bottom${e.prop.replace(a,"$2")}`,value:r[0]})],"border-block-start":e=>{e.prop="border-top"},"border-block-end":e=>{e.prop="border-bottom"},"border-inline":(e,r,t)=>{const n=[e.clone({prop:`border-left${e.prop.replace(a,"$2")}`,value:r[0]}),e.clone({prop:`border-right${e.prop.replace(a,"$2")}`,value:r[1]||r[0]})];const o=[e.clone({prop:`border-right${e.prop.replace(a,"$2")}`,value:r[0]}),e.clone({prop:`border-left${e.prop.replace(a,"$2")}`,value:r[1]||r[0]})];const s=1===r.length||2===r.length&&r[0]===r[1];return s?n:"ltr"===t?n:"rtl"===t?o:[i(e,"ltr").append(n),i(e,"rtl").append(o)]},"border-inline-start":(e,r,t)=>{const n=e.clone({prop:`border-left${e.prop.replace(a,"$2")}`});const o=e.clone({prop:`border-right${e.prop.replace(a,"$2")}`});return"ltr"===t?n:"rtl"===t?o:[i(e,"ltr").append(n),i(e,"rtl").append(o)]},"border-inline-end":(e,r,t)=>{const n=e.clone({prop:`border-right${e.prop.replace(a,"$2")}`});const o=e.clone({prop:`border-left${e.prop.replace(a,"$2")}`});return"ltr"===t?n:"rtl"===t?o:[i(e,"ltr").append(n),i(e,"rtl").append(o)]},"border-start":(e,r,t)=>{const n=[e.clone({prop:`border-top${e.prop.replace(a,"$2")}`,value:r[0]}),e.clone({prop:`border-left${e.prop.replace(a,"$2")}`,value:r[1]||r[0]})];const o=[e.clone({prop:`border-top${e.prop.replace(a,"$2")}`,value:r[0]}),e.clone({prop:`border-right${e.prop.replace(a,"$2")}`,value:r[1]||r[0]})];return"ltr"===t?n:"rtl"===t?o:[i(e,"ltr").append(n),i(e,"rtl").append(o)]},"border-end":(e,r,t)=>{const n=[e.clone({prop:`border-bottom${e.prop.replace(a,"$2")}`,value:r[0]}),e.clone({prop:`border-right${e.prop.replace(a,"$2")}`,value:r[1]||r[0]})];const o=[e.clone({prop:`border-bottom${e.prop.replace(a,"$2")}`,value:r[0]}),e.clone({prop:`border-left${e.prop.replace(a,"$2")}`,value:r[1]||r[0]})];return"ltr"===t?n:"rtl"===t?o:[i(e,"ltr").append(n),i(e,"rtl").append(o)]}};var c=(e,r,t)=>{const n=e.clone({value:"left"});const o=e.clone({value:"right"});return/^inline-start$/i.test(e.value)?"ltr"===t?n:"rtl"===t?o:[i(e,"ltr").append(n),i(e,"rtl").append(o)]:/^inline-end$/i.test(e.value)?"ltr"===t?o:"rtl"===t?n:[i(e,"ltr").append(o),i(e,"rtl").append(n)]:null};var f=(e,r,t)=>{if("logical"!==r[0]){return[e.clone({prop:"top",value:r[0]}),e.clone({prop:"right",value:r[1]||r[0]}),e.clone({prop:"bottom",value:r[2]||r[0]}),e.clone({prop:"left",value:r[3]||r[1]||r[0]})]}const n=!r[4]||r[4]===r[2];const o=[e.clone({prop:"top",value:r[1]}),e.clone({prop:"left",value:r[2]||r[1]}),e.clone({prop:"bottom",value:r[3]||r[1]}),e.clone({prop:"right",value:r[4]||r[2]||r[1]})];const s=[e.clone({prop:"top",value:r[1]}),e.clone({prop:"right",value:r[2]||r[1]}),e.clone({prop:"bottom",value:r[3]||r[1]}),e.clone({prop:"left",value:r[4]||r[2]||r[1]})];return n||"ltr"===t?o:"rtl"===t?s:[i(e,"ltr").append(o),i(e,"rtl").append(s)]};var l=e=>/^block$/i.test(e.value)?e.clone({value:"vertical"}):/^inline$/i.test(e.value)?e.clone({value:"horizontal"}):null;var p=/^(inset|margin|padding)(?:-(block|block-start|block-end|inline|inline-start|inline-end|start|end))$/i;var h=/^inset-/i;var B=(e,r,t)=>e.clone({prop:`${e.prop.replace(p,"$1")}${r}`.replace(h,""),value:t});var v={block:(e,r)=>[B(e,"-top",r[0]),B(e,"-bottom",r[1]||r[0])],"block-start":e=>{e.prop=e.prop.replace(p,"$1-top").replace(h,"")},"block-end":e=>{e.prop=e.prop.replace(p,"$1-bottom").replace(h,"")},inline:(e,r,t)=>{const n=[B(e,"-left",r[0]),B(e,"-right",r[1]||r[0])];const o=[B(e,"-right",r[0]),B(e,"-left",r[1]||r[0])];const s=1===r.length||2===r.length&&r[0]===r[1];return s?n:"ltr"===t?n:"rtl"===t?o:[i(e,"ltr").append(n),i(e,"rtl").append(o)]},"inline-start":(e,r,t)=>{const n=B(e,"-left",e.value);const o=B(e,"-right",e.value);return"ltr"===t?n:"rtl"===t?o:[i(e,"ltr").append(n),i(e,"rtl").append(o)]},"inline-end":(e,r,t)=>{const n=B(e,"-right",e.value);const o=B(e,"-left",e.value);return"ltr"===t?n:"rtl"===t?o:[i(e,"ltr").append(n),i(e,"rtl").append(o)]},start:(e,r,t)=>{const n=[B(e,"-top",r[0]),B(e,"-left",r[1]||r[0])];const o=[B(e,"-top",r[0]),B(e,"-right",r[1]||r[0])];return"ltr"===t?n:"rtl"===t?o:[i(e,"ltr").append(n),i(e,"rtl").append(o)]},end:(e,r,t)=>{const n=[B(e,"-bottom",r[0]),B(e,"-right",r[1]||r[0])];const o=[B(e,"-bottom",r[0]),B(e,"-left",r[1]||r[0])];return"ltr"===t?n:"rtl"===t?o:[i(e,"ltr").append(n),i(e,"rtl").append(o)]}};var d=/^(min-|max-)?(block|inline)-(size)$/i;var b=e=>{e.prop=e.prop.replace(d,(e,r,t)=>`${r||""}${"block"===t?"height":"width"}`)};var y=(e,r,t)=>{if("logical"!==r[0]){return null}const n=!r[4]||r[4]===r[2];const o=e.clone({value:[r[1],r[4]||r[2]||r[1],r[3]||r[1],r[2]||r[1]].join(" ")});const s=e.clone({value:[r[1],r[2]||r[1],r[3]||r[1],r[4]||r[2]||r[1]].join(" ")});return n?e.clone({value:e.value.replace(/^\s*logical\s+/i,"")}):"ltr"===t?o:"rtl"===t?s:[i(e,"ltr").append(o),i(e,"rtl").append(s)]};var g=(e,r,t)=>{const n=e.clone({value:"left"});const o=e.clone({value:"right"});return/^start$/i.test(e.value)?"ltr"===t?n:"rtl"===t?o:[i(e,"ltr").append(n),i(e,"rtl").append(o)]:/^end$/i.test(e.value)?"ltr"===t?o:"rtl"===t?n:[i(e,"ltr").append(o),i(e,"rtl").append(n)]:null};function splitByComma(e,r){return splitByRegExp(e,/^,$/,r)}function splitBySpace(e,r){return splitByRegExp(e,/^\s$/,r)}function splitBySlash(e,r){return splitByRegExp(e,/^\/$/,r)}function splitByRegExp(e,r,t){const n=[];let i="";let o=false;let s=0;let a=-1;while(++a0){s-=1}}else if(s===0){if(r.test(u)){o=true}}if(o){if(!t||i.trim()){n.push(t?i.trim():i)}if(!t){n.push(u)}i="";o=false}else{i+=u}}if(i!==""){n.push(t?i.trim():i)}return n}var m=(e,r,t)=>{const n=[];const o=[];splitByComma(e.value).forEach(e=>{let r=false;splitBySpace(e).forEach((e,t,i)=>{if(e in C){r=true;C[e].ltr.forEach(e=>{const r=i.slice();r.splice(t,1,e);if(n.length&&!/^,$/.test(n[n.length-1])){n.push(",")}n.push(r.join(""))});C[e].rtl.forEach(e=>{const r=i.slice();r.splice(t,1,e);if(o.length&&!/^,$/.test(o[o.length-1])){o.push(",")}o.push(r.join(""))})}});if(!r){n.push(e);o.push(e)}});const s=e.clone({value:n.join("")});const a=e.clone({value:o.join("")});return n.length&&"ltr"===t?s:o.length&&"rtl"===t?a:s.value!==a.value?[i(e,"ltr").append(s),i(e,"rtl").append(a)]:null};const C={"border-block":{ltr:["border-top","border-bottom"],rtl:["border-top","border-bottom"]},"border-block-color":{ltr:["border-top-color","border-bottom-color"],rtl:["border-top-color","border-bottom-color"]},"border-block-end":{ltr:["border-bottom"],rtl:["border-bottom"]},"border-block-end-color":{ltr:["border-bottom-color"],rtl:["border-bottom-color"]},"border-block-end-style":{ltr:["border-bottom-style"],rtl:["border-bottom-style"]},"border-block-end-width":{ltr:["border-bottom-width"],rtl:["border-bottom-width"]},"border-block-start":{ltr:["border-top"],rtl:["border-top"]},"border-block-start-color":{ltr:["border-top-color"],rtl:["border-top-color"]},"border-block-start-style":{ltr:["border-top-style"],rtl:["border-top-style"]},"border-block-start-width":{ltr:["border-top-width"],rtl:["border-top-width"]},"border-block-style":{ltr:["border-top-style","border-bottom-style"],rtl:["border-top-style","border-bottom-style"]},"border-block-width":{ltr:["border-top-width","border-bottom-width"],rtl:["border-top-width","border-bottom-width"]},"border-end":{ltr:["border-bottom","border-right"],rtl:["border-bottom","border-left"]},"border-end-color":{ltr:["border-bottom-color","border-right-color"],rtl:["border-bottom-color","border-left-color"]},"border-end-style":{ltr:["border-bottom-style","border-right-style"],rtl:["border-bottom-style","border-left-style"]},"border-end-width":{ltr:["border-bottom-width","border-right-width"],rtl:["border-bottom-width","border-left-width"]},"border-inline":{ltr:["border-left","border-right"],rtl:["border-left","border-right"]},"border-inline-color":{ltr:["border-left-color","border-right-color"],rtl:["border-left-color","border-right-color"]},"border-inline-end":{ltr:["border-right"],rtl:["border-left"]},"border-inline-end-color":{ltr:["border-right-color"],rtl:["border-left-color"]},"border-inline-end-style":{ltr:["border-right-style"],rtl:["border-left-style"]},"border-inline-end-width":{ltr:["border-right-width"],rtl:["border-left-width"]},"border-inline-start":{ltr:["border-left"],rtl:["border-right"]},"border-inline-start-color":{ltr:["border-left-color"],rtl:["border-right-color"]},"border-inline-start-style":{ltr:["border-left-style"],rtl:["border-right-style"]},"border-inline-start-width":{ltr:["border-left-width"],rtl:["border-right-width"]},"border-inline-style":{ltr:["border-left-style","border-right-style"],rtl:["border-left-style","border-right-style"]},"border-inline-width":{ltr:["border-left-width","border-right-width"],rtl:["border-left-width","border-right-width"]},"border-start":{ltr:["border-top","border-left"],rtl:["border-top","border-right"]},"border-start-color":{ltr:["border-top-color","border-left-color"],rtl:["border-top-color","border-right-color"]},"border-start-style":{ltr:["border-top-style","border-left-style"],rtl:["border-top-style","border-right-style"]},"border-start-width":{ltr:["border-top-width","border-left-width"],rtl:["border-top-width","border-right-width"]},"block-size":{ltr:["height"],rtl:["height"]},"inline-size":{ltr:["width"],rtl:["width"]},inset:{ltr:["top","right","bottom","left"],rtl:["top","right","bottom","left"]},"inset-block":{ltr:["top","bottom"],rtl:["top","bottom"]},"inset-block-start":{ltr:["top"],rtl:["top"]},"inset-block-end":{ltr:["bottom"],rtl:["bottom"]},"inset-end":{ltr:["bottom","right"],rtl:["bottom","left"]},"inset-inline":{ltr:["left","right"],rtl:["left","right"]},"inset-inline-start":{ltr:["left"],rtl:["right"]},"inset-inline-end":{ltr:["right"],rtl:["left"]},"inset-start":{ltr:["top","left"],rtl:["top","right"]},"margin-block":{ltr:["margin-top","margin-bottom"],rtl:["margin-top","margin-bottom"]},"margin-block-start":{ltr:["margin-top"],rtl:["margin-top"]},"margin-block-end":{ltr:["margin-bottom"],rtl:["margin-bottom"]},"margin-end":{ltr:["margin-bottom","margin-right"],rtl:["margin-bottom","margin-left"]},"margin-inline":{ltr:["margin-left","margin-right"],rtl:["margin-left","margin-right"]},"margin-inline-start":{ltr:["margin-left"],rtl:["margin-right"]},"margin-inline-end":{ltr:["margin-right"],rtl:["margin-left"]},"margin-start":{ltr:["margin-top","margin-left"],rtl:["margin-top","margin-right"]},"padding-block":{ltr:["padding-top","padding-bottom"],rtl:["padding-top","padding-bottom"]},"padding-block-start":{ltr:["padding-top"],rtl:["padding-top"]},"padding-block-end":{ltr:["padding-bottom"],rtl:["padding-bottom"]},"padding-end":{ltr:["padding-bottom","padding-right"],rtl:["padding-bottom","padding-left"]},"padding-inline":{ltr:["padding-left","padding-right"],rtl:["padding-left","padding-right"]},"padding-inline-start":{ltr:["padding-left"],rtl:["padding-right"]},"padding-inline-end":{ltr:["padding-right"],rtl:["padding-left"]},"padding-start":{ltr:["padding-top","padding-left"],rtl:["padding-top","padding-right"]}};var w=/^(?:(inset|margin|padding)(?:-(block|block-start|block-end|inline|inline-start|inline-end|start|end))|(min-|max-)?(block|inline)-(size))$/i;const S={border:u["border"],"border-width":u["border"],"border-style":u["border"],"border-color":u["border"],"border-block":u["border-block"],"border-block-width":u["border-block"],"border-block-style":u["border-block"],"border-block-color":u["border-block"],"border-block-start":u["border-block-start"],"border-block-start-width":u["border-block-start"],"border-block-start-style":u["border-block-start"],"border-block-start-color":u["border-block-start"],"border-block-end":u["border-block-end"],"border-block-end-width":u["border-block-end"],"border-block-end-style":u["border-block-end"],"border-block-end-color":u["border-block-end"],"border-inline":u["border-inline"],"border-inline-width":u["border-inline"],"border-inline-style":u["border-inline"],"border-inline-color":u["border-inline"],"border-inline-start":u["border-inline-start"],"border-inline-start-width":u["border-inline-start"],"border-inline-start-style":u["border-inline-start"],"border-inline-start-color":u["border-inline-start"],"border-inline-end":u["border-inline-end"],"border-inline-end-width":u["border-inline-end"],"border-inline-end-style":u["border-inline-end"],"border-inline-end-color":u["border-inline-end"],"border-start":u["border-start"],"border-start-width":u["border-start"],"border-start-style":u["border-start"],"border-start-color":u["border-start"],"border-end":u["border-end"],"border-end-width":u["border-end"],"border-end-style":u["border-end"],"border-end-color":u["border-end"],clear:c,inset:f,margin:y,padding:y,block:v["block"],"block-start":v["block-start"],"block-end":v["block-end"],inline:v["inline"],"inline-start":v["inline-start"],"inline-end":v["inline-end"],start:v["start"],end:v["end"],float:c,resize:l,size:b,"text-align":g,transition:m,"transition-property":m};const T=/^border(-block|-inline|-start|-end)?(-width|-style|-color)?$/i;var O=n.plugin("postcss-logical-properties",e=>{const r=Boolean(Object(e).preserve);const t=!r&&typeof Object(e).dir==="string"?/^rtl$/i.test(e.dir)?"rtl":"ltr":false;return e=>{e.walkDecls(e=>{const n=e.parent;const i=T.test(e.prop)?splitBySlash(e.value,true):splitBySpace(e.value,true);const o=e.prop.replace(w,"$2$5").toLowerCase();if(o in S){const s=S[o](e,i,t);if(s){[].concat(s).forEach(r=>{if(r.type==="rule"){n.before(r)}else{e.before(r)}});if(!r){e.remove();if(!n.nodes.length){n.remove()}}}}})}});e.exports=O},8334:(e,r,t)=>{var n=t(2043);e.exports=n.plugin("postcss-media-minmax",function(){return function(e){var r={width:"px",height:"px","device-width":"px","device-height":"px","aspect-ratio":"","device-aspect-ratio":"",color:"","color-index":"",monochrome:"",resolution:"dpi"};var t=Object.keys(r);var n=.001;var i={">":1,"<":-1};var o={">":"min","<":"max"};function create_query(e,t,s,a,u){return a.replace(/([-\d\.]+)(.*)/,function(a,u,c){var f=parseFloat(u);if(parseFloat(u)||s){if(!s){if(c==="px"&&f===parseInt(u,10)){u=f+i[t]}else{u=Number(Math.round(parseFloat(u)+n*i[t]+"e6")+"e-6")}}}else{u=i[t]+r[e]}return"("+o[t]+"-"+e+": "+u+c+")"})}e.walkAtRules(function(e,r){if(e.name!=="media"&&e.name!=="custom-media"){return}e.params=e.params.replace(/\(\s*([a-z-]+?)\s*([<>])(=?)\s*((?:-?\d*\.?(?:\s*\/?\s*)?\d+[a-z]*)?)\s*\)/gi,function(r,n,i,o,s){var a="";if(t.indexOf(n)>-1){return create_query(n,i,o,s,e.params)}return r});e.params=e.params.replace(/\(\s*((?:-?\d*\.?(?:\s*\/?\s*)?\d+[a-z]*)?)\s*(<|>)(=?)\s*([a-z-]+)\s*(<|>)(=?)\s*((?:-?\d*\.?(?:\s*\/?\s*)?\d+[a-z]*)?)\s*\)/gi,function(e,r,n,i,o,s,a,u){if(t.indexOf(o)>-1){if(n==="<"&&s==="<"||n===">"&&s===">"){var c=n==="<"?r:u;var f=n==="<"?u:r;var l=i;var p=a;if(n===">"){l=a;p=i}return create_query(o,">",l,c)+" and "+create_query(o,"<",p,f)}}return e})})}})},9186:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=t(2043);var i=_interopDefault(n);function shiftNodesBeforeParent(e){const r=e.parent;const t=r.index(e);if(t){r.cloneBefore().removeAll().append(r.nodes.slice(0,t))}r.before(e);return r}function cleanupParent(e){if(!e.nodes.length){e.remove()}}var o=/&(?:[^\w-|]|$)/;const s=/&/g;function mergeSelectors(e,r){return e.reduce((e,t)=>e.concat(r.map(e=>e.replace(s,t))),[])}function transformRuleWithinRule(e){const r=shiftNodesBeforeParent(e);e.selectors=mergeSelectors(r.selectors,e.selectors);const t=e.type==="rule"&&r.type==="rule"&&e.selector===r.selector||e.type==="atrule"&&r.type==="atrule"&&e.params===r.params;if(t){e.append(...r.nodes)}cleanupParent(r)}const a=e=>e.type==="rule"&&Object(e.parent).type==="rule"&&e.selectors.every(e=>e.trim().lastIndexOf("&")===0&&o.test(e));const u=n.list.comma;function transformNestRuleWithinRule(e){const r=shiftNodesBeforeParent(e);const t=r.clone().removeAll().append(e.nodes);e.replaceWith(t);t.selectors=mergeSelectors(r.selectors,u(e.params));cleanupParent(r);walk(t)}const c=e=>e.type==="atrule"&&e.name==="nest"&&Object(e.parent).type==="rule"&&u(e.params).every(e=>e.split("&").length===2&&o.test(e));var f=["document","media","supports"];function atruleWithinRule(e){const r=shiftNodesBeforeParent(e);const t=r.clone().removeAll().append(e.nodes);e.append(t);cleanupParent(r);walk(t)}const l=e=>e.type==="atrule"&&f.indexOf(e.name)!==-1&&Object(e.parent).type==="rule";const p=n.list.comma;function mergeParams(e,r){return p(e).map(e=>p(r).map(r=>`${e} and ${r}`).join(", ")).join(", ")}function transformAtruleWithinAtrule(e){const r=shiftNodesBeforeParent(e);e.params=mergeParams(r.params,e.params);cleanupParent(r)}const h=e=>e.type==="atrule"&&f.indexOf(e.name)!==-1&&Object(e.parent).type==="atrule"&&e.name===e.parent.name;function walk(e){e.nodes.slice(0).forEach(r=>{if(r.parent===e){if(a(r)){transformRuleWithinRule(r)}else if(c(r)){transformNestRuleWithinRule(r)}else if(l(r)){atruleWithinRule(r)}else if(h(r)){transformAtruleWithinAtrule(r)}if(Object(r.nodes).length){walk(r)}}})}var B=i.plugin("postcss-nesting",()=>walk);e.exports=B},5636:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(2043));function _toArray(e){return _arrayWithHoles(e)||_iterableToArray(e)||_nonIterableRest()}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _iterableToArray(e){if(Symbol.iterator in Object(e)||Object.prototype.toString.call(e)==="[object Arguments]")return Array.from(e)}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}const i=n.list.space;const o=/^overflow$/i;var s=n.plugin("postcss-overflow-shorthand",e=>{const r="preserve"in Object(e)?Boolean(e.preserve):true;return e=>{e.walkDecls(o,e=>{const t=i(e.value),n=_toArray(t),o=n[0],s=n[1],a=n.slice(2);if(s&&!a.length){e.cloneBefore({prop:`${e.prop}-x`,value:o});e.cloneBefore({prop:`${e.prop}-y`,value:s});if(!r){e.remove()}}})}});e.exports=s},401:(e,r,t)=>{var n=t(2043);e.exports=n.plugin("postcss-page-break",function(){return function(e){e.walkDecls(/^break-(inside|before|after)/,function(e){if(e.value.search(/column|region/)>=0){return}var r;switch(e.value){case"page":r="always";break;case"avoid-page":r="avoid";break;default:r=e.value}e.cloneBefore({prop:"page-"+e.prop,value:r})})}})},4739:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(2043));var i=_interopDefault(t(4510));const o=/^place-(content|items|self)/;var s=n.plugin("postcss-place",e=>{const r="preserve"in Object(e)?Boolean(e.prefix):true;return e=>{e.walkDecls(o,e=>{const t=e.prop.match(o)[1];const n=i(e.value).parse();const s=n.nodes[0].nodes;const a=s.length===1?e.value:String(s.slice(0,1)).trim();const u=s.length===1?e.value:String(s.slice(1)).trim();e.cloneBefore({prop:`align-${t}`,value:a});e.cloneBefore({prop:`justify-${t}`,value:u});if(!r){e.remove()}})}});e.exports=s},469:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(9945));var i=_interopDefault(t(3561));var o=_interopDefault(t(3094));var s=_interopDefault(t(2043));var a=_interopDefault(t(8344));var u=_interopDefault(t(7232));var c=_interopDefault(t(2616));var f=_interopDefault(t(8283));var l=_interopDefault(t(8276));var p=_interopDefault(t(1455));var h=_interopDefault(t(2344));var B=_interopDefault(t(9103));var v=_interopDefault(t(4164));var d=_interopDefault(t(9677));var b=_interopDefault(t(689));var y=_interopDefault(t(9730));var g=_interopDefault(t(8541));var m=_interopDefault(t(9550));var C=_interopDefault(t(5917));var w=_interopDefault(t(9633));var S=_interopDefault(t(7411));var T=_interopDefault(t(6082));var O=_interopDefault(t(3767));var E=_interopDefault(t(7678));var k=_interopDefault(t(557));var P=_interopDefault(t(8500));var D=_interopDefault(t(8334));var A=_interopDefault(t(9186));var F=_interopDefault(t(5636));var R=_interopDefault(t(401));var x=_interopDefault(t(4739));var j=_interopDefault(t(4990));var I=_interopDefault(t(8037));var _=_interopDefault(t(1084));var M=_interopDefault(t(5252));var N=_interopDefault(t(1790));var L=t(4338);var q=_interopDefault(t(5747));var G=_interopDefault(t(5622));var J=s.plugin("postcss-system-ui-font",()=>e=>{e.walkDecls(H,e=>{e.value=e.value.replace(K,W)})});const H=/(?:^(?:-|\\002d){2})|(?:^font(?:-family)?$)/i;const U="[\\f\\n\\r\\x09\\x20]";const Q=["system-ui","-apple-system","Segoe UI","Roboto","Ubuntu","Cantarell","Noto Sans","sans-serif"];const K=new RegExp(`(^|,|${U}+)(?:system-ui${U}*)(?:,${U}*(?:${Q.join("|")})${U}*)?(,|$)`,"i");const W=`$1${Q.join(", ")}$2`;var Y={"all-property":E,"any-link-pseudo-class":I,"blank-pseudo-class":u,"break-properties":R,"case-insensitive-attributes":a,"color-functional-notation":c,"color-mod-function":p,"custom-media-queries":B,"custom-properties":v,"custom-selectors":d,"dir-pseudo-class":b,"double-position-gradients":y,"environment-variables":g,"focus-visible-pseudo-class":m,"focus-within-pseudo-class":C,"font-variant-property":w,"gap-properties":S,"gray-function":f,"has-pseudo-class":T,"hexadecimal-alpha-notation":l,"image-set-function":O,"lab-function":k,"logical-properties-and-values":P,"matches-pseudo-class":M,"media-query-ranges":D,"nesting-rules":A,"not-pseudo-class":N,"overflow-property":F,"overflow-wrap-property":_,"place-properties":x,"prefers-color-scheme-query":j,"rebeccapurple-color":h,"system-ui-font-family":J};function getTransformedInsertions(e,r){return Object.keys(e).map(t=>[].concat(e[t]).map(e=>({[r]:true,plugin:e,id:t}))).reduce((e,r)=>e.concat(r),[])}function getUnsupportedBrowsersByFeature(e){const r=L.features[e];if(r){const e=L.feature(r).stats;const t=Object.keys(e).reduce((r,t)=>r.concat(Object.keys(e[t]).filter(r=>e[t][r].indexOf("y")!==0).map(e=>`${t} ${e}`)),[]);return t}else{return["> 0%"]}}var z=["custom-media-queries","custom-properties","environment-variables","image-set-function","media-query-ranges","prefers-color-scheme-query","nesting-rules","custom-selectors","any-link-pseudo-class","case-insensitive-attributes","focus-visible-pseudo-class","focus-within-pseudo-class","matches-pseudo-class","not-pseudo-class","logical-properties-and-values","dir-pseudo-class","all-property","color-functional-notation","double-position-gradients","gray-function","hexadecimal-alpha-notation","lab-function","rebeccapurple-color","color-mod-function","blank-pseudo-class","break-properties","font-variant-property","has-pseudo-class","gap-properties","overflow-property","overflow-wrap-property","place-properties","system-ui-font-family"];function asyncGeneratorStep(e,r,t,n,i,o,s){try{var a=e[o](s);var u=a.value}catch(e){t(e);return}if(a.done){r(u)}else{Promise.resolve(u).then(n,i)}}function _asyncToGenerator(e){return function(){var r=this,t=arguments;return new Promise(function(n,i){var o=e.apply(r,t);function _next(e){asyncGeneratorStep(o,n,i,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(o,n,i,_next,_throw,"throw",e)}_next(undefined)})}}function getCustomMediaAsCss(e){const r=Object.keys(e).reduce((r,t)=>{r.push(`@custom-media ${t} ${e[t]};`);return r},[]).join("\n");const t=`${r}\n`;return t}function getCustomPropertiesAsCss(e){const r=Object.keys(e).reduce((r,t)=>{r.push(`\t${t}: ${e[t]};`);return r},[]).join("\n");const t=`:root {\n${r}\n}\n`;return t}function getCustomSelectorsAsCss(e){const r=Object.keys(e).reduce((r,t)=>{r.push(`@custom-selector ${t} ${e[t]};`);return r},[]).join("\n");const t=`${r}\n`;return t}function writeExportsToCssFile(e,r,t,n){return _writeExportsToCssFile.apply(this,arguments)}function _writeExportsToCssFile(){_writeExportsToCssFile=_asyncToGenerator(function*(e,r,t,n){const i=getCustomPropertiesAsCss(t);const o=getCustomMediaAsCss(r);const s=getCustomSelectorsAsCss(n);const a=`${o}\n${s}\n${i}`;yield writeFile(e,a)});return _writeExportsToCssFile.apply(this,arguments)}function writeExportsToJsonFile(e,r,t,n){return _writeExportsToJsonFile.apply(this,arguments)}function _writeExportsToJsonFile(){_writeExportsToJsonFile=_asyncToGenerator(function*(e,r,t,n){const i=JSON.stringify({"custom-media":r,"custom-properties":t,"custom-selectors":n},null," ");const o=`${i}\n`;yield writeFile(e,o)});return _writeExportsToJsonFile.apply(this,arguments)}function getObjectWithKeyAsCjs(e,r){const t=Object.keys(r).reduce((e,t)=>{e.push(`\t\t'${escapeForJS(t)}': '${escapeForJS(r[t])}'`);return e},[]).join(",\n");const n=`\n\t${e}: {\n${t}\n\t}`;return n}function writeExportsToCjsFile(e,r,t,n){return _writeExportsToCjsFile.apply(this,arguments)}function _writeExportsToCjsFile(){_writeExportsToCjsFile=_asyncToGenerator(function*(e,r,t,n){const i=getObjectWithKeyAsCjs("customMedia",r);const o=getObjectWithKeyAsCjs("customProperties",t);const s=getObjectWithKeyAsCjs("customSelectors",n);const a=`module.exports = {${i},${o},${s}\n};\n`;yield writeFile(e,a)});return _writeExportsToCjsFile.apply(this,arguments)}function getObjectWithKeyAsMjs(e,r){const t=Object.keys(r).reduce((e,t)=>{e.push(`\t'${escapeForJS(t)}': '${escapeForJS(r[t])}'`);return e},[]).join(",\n");const n=`export const ${e} = {\n${t}\n};\n`;return n}function writeExportsToMjsFile(e,r,t,n){return _writeExportsToMjsFile.apply(this,arguments)}function _writeExportsToMjsFile(){_writeExportsToMjsFile=_asyncToGenerator(function*(e,r,t,n){const i=getObjectWithKeyAsMjs("customMedia",r);const o=getObjectWithKeyAsMjs("customProperties",t);const s=getObjectWithKeyAsMjs("customSelectors",n);const a=`${i}\n${o}\n${s}`;yield writeFile(e,a)});return _writeExportsToMjsFile.apply(this,arguments)}function writeToExports(e,r){return Promise.all([].concat(r).map(function(){var r=_asyncToGenerator(function*(r){if(r instanceof Function){yield r({customMedia:getObjectWithStringifiedKeys(e.customMedia),customProperties:getObjectWithStringifiedKeys(e.customProperties),customSelectors:getObjectWithStringifiedKeys(e.customSelectors)})}else{const t=r===Object(r)?r:{to:String(r)};const n=t.toJSON||getObjectWithStringifiedKeys;if("customMedia"in t||"customProperties"in t||"customSelectors"in t){t.customMedia=n(e.customMedia);t.customProperties=n(e.customProperties);t.customSelectors=n(e.customSelectors)}else if("custom-media"in t||"custom-properties"in t||"custom-selectors"in t){t["custom-media"]=n(e.customMedia);t["custom-properties"]=n(e.customProperties);t["custom-selectors"]=n(e.customSelectors)}else{const r=String(t.to||"");const i=(t.type||G.extname(t.to).slice(1)).toLowerCase();const o=n(e.customMedia);const s=n(e.customProperties);const a=n(e.customSelectors);if(i==="css"){yield writeExportsToCssFile(r,o,s,a)}if(i==="js"){yield writeExportsToCjsFile(r,o,s,a)}if(i==="json"){yield writeExportsToJsonFile(r,o,s,a)}if(i==="mjs"){yield writeExportsToMjsFile(r,o,s,a)}}}});return function(e){return r.apply(this,arguments)}}()))}function getObjectWithStringifiedKeys(e){return Object.keys(e).reduce((r,t)=>{r[t]=String(e[t]);return r},{})}function writeFile(e,r){return new Promise((t,n)=>{q.writeFile(e,r,e=>{if(e){n(e)}else{t()}})})}function escapeForJS(e){return e.replace(/\\([\s\S])|(')/g,"\\$1$2").replace(/\n/g,"\\n").replace(/\r/g,"\\r")}var $=s.plugin("postcss-preset-env",e=>{const r=Object(Object(e).features);const t=Object(Object(e).insertBefore);const s=Object(Object(e).insertAfter);const a=Object(e).browsers;const u="stage"in Object(e)?e.stage===false?5:parseInt(e.stage)||0:2;const c=Object(e).autoprefixer;const f=X(Object(e));const l=c===false?()=>{}:n(Object.assign({overrideBrowserslist:a},c));const p=o.concat(getTransformedInsertions(t,"insertBefore"),getTransformedInsertions(s,"insertAfter")).filter(e=>e.insertBefore||e.id in Y).sort((e,r)=>z.indexOf(e.id)-z.indexOf(r.id)||(e.insertBefore?-1:r.insertBefore?1:0)||(e.insertAfter?1:r.insertAfter?-1:0)).map(e=>{const r=getUnsupportedBrowsersByFeature(e.caniuse);return e.insertBefore||e.insertAfter?{browsers:r,plugin:e.plugin,id:`${e.insertBefore?"before":"after"}-${e.id}`,stage:6}:{browsers:r,plugin:Y[e.id],id:e.id,stage:e.stage}});const h=p.filter(e=>e.id in r?r[e.id]:e.stage>=u).map(e=>({browsers:e.browsers,plugin:typeof e.plugin.process==="function"?r[e.id]===true?f?e.plugin(Object.assign({},f)):e.plugin():f?e.plugin(Object.assign({},f,r[e.id])):e.plugin(Object.assign({},r[e.id])):e.plugin,id:e.id}));const B=i(a,{ignoreUnknownVersions:true});const v=h.filter(e=>B.some(r=>i(e.browsers,{ignoreUnknownVersions:true}).some(e=>e===r)));return(r,t)=>{const n=v.reduce((e,r)=>e.then(()=>r.plugin(t.root,t)),Promise.resolve()).then(()=>l(t.root,t)).then(()=>{if(Object(e).exportTo){writeToExports(f.exportTo,e.exportTo)}});return n}});const X=e=>{if("importFrom"in e||"exportTo"in e||"preserve"in e){const r={};if("importFrom"in e){r.importFrom=e.importFrom}if("exportTo"in e){r.exportTo={customMedia:{},customProperties:{},customSelectors:{}}}if("preserve"in e){r.preserve=e.preserve}return r}return false};e.exports=$},8037:(e,r,t)=>{"use strict";function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(2043));var i=_interopDefault(t(3901));const o=/:any-link/;var s=n.plugin("postcss-pseudo-class-any-link",e=>{const r="preserve"in Object(e)?Boolean(e.preserve):true;return e=>{e.walkRules(o,e=>{const t=e.raws.selector&&e.raws.selector.raw||e.selector;if(t[t.length-1]!==":"){const n=i(e=>{let r;let t;let n;let i;let o;let s=-1;while(n=e.nodes[++s]){t=-1;while(r=n.nodes[++t]){if(r.value===":any-link"){i=n.clone();o=n.clone();i.nodes[t].value=":link";o.nodes[t].value=":visited";e.nodes.splice(s--,1,i,o);break}}}}).processSync(t);if(n!==t){if(r){e.cloneBefore({selector:n})}else{e.selector=n}}}})}});e.exports=s},3454:e=>{"use strict";var r={};var t=r.hasOwnProperty;var n=function merge(e,r){if(!e){return r}var n={};for(var i in r){n[i]=t.call(e,i)?e[i]:r[i]}return n};var i=/[ -,\.\/;-@\[-\^`\{-~]/;var o=/[ -,\.\/;-@\[\]\^`\{-~]/;var s=/['"\\]/;var a=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g;var u=function cssesc(e,r){r=n(r,cssesc.options);if(r.quotes!="single"&&r.quotes!="double"){r.quotes="single"}var t=r.quotes=="double"?'"':"'";var s=r.isIdentifier;var u=e.charAt(0);var c="";var f=0;var l=e.length;while(f126){if(h>=55296&&h<=56319&&f{"use strict";r.__esModule=true;var n=t(6075);var i=_interopRequireDefault(n);var o=t(1996);var s=_interopRequireWildcard(o);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var r={};if(e!=null){for(var t in e){if(Object.prototype.hasOwnProperty.call(e,t))r[t]=e[t]}}r.default=e;return r}}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var a=function parser(e){return new i.default(e)};Object.assign(a,s);delete a.__esModule;r.default=a;e.exports=r["default"]},2522:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t1&&arguments[1]!==undefined?arguments[1]:{};_classCallCheck(this,Parser);this.rule=e;this.options=Object.assign({lossy:false,safe:false},r);this.position=0;this.css=typeof this.rule==="string"?this.rule:this.rule.selector;this.tokens=(0,N.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var t=getTokenSourceSpan(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new p.default({source:t});this.root.errorGenerator=this._errorGenerator();var n=new B.default({source:{start:{line:1,column:1}}});this.root.append(n);this.current=n;this.loop()}Parser.prototype._errorGenerator=function _errorGenerator(){var e=this;return function(r,t){if(typeof e.rule==="string"){return new Error(r)}return e.rule.error(r,t)}};Parser.prototype.attribute=function attribute(){var e=[];var r=this.currToken;this.position++;while(this.position1&&arguments[1]!==undefined?arguments[1]:false;var n="";var i="";e.forEach(function(e){var o=r.lossySpace(e.spaces.before,t);var s=r.lossySpace(e.rawSpaceBefore,t);n+=o+r.lossySpace(e.spaces.after,t&&o.length===0);i+=o+e.value+r.lossySpace(e.rawSpaceAfter,t&&s.length===0)});if(i===n){i=undefined}var o={space:n,rawSpace:i};return o};Parser.prototype.isNamedCombinator=function isNamedCombinator(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:this.position;return this.tokens[e+0]&&this.tokens[e+0][M.FIELDS.TYPE]===q.slash&&this.tokens[e+1]&&this.tokens[e+1][M.FIELDS.TYPE]===q.word&&this.tokens[e+2]&&this.tokens[e+2][M.FIELDS.TYPE]===q.slash};Parser.prototype.namedCombinator=function namedCombinator(){if(this.isNamedCombinator()){var e=this.content(this.tokens[this.position+1]);var r=(0,H.unesc)(e).toLowerCase();var t={};if(r!==e){t.value="/"+e+"/"}var n=new R.default({value:"/"+r+"/",source:getSource(this.currToken[M.FIELDS.START_LINE],this.currToken[M.FIELDS.START_COL],this.tokens[this.position+2][M.FIELDS.END_LINE],this.tokens[this.position+2][M.FIELDS.END_COL]),sourceIndex:this.currToken[M.FIELDS.START_POS],raws:t});this.position=this.position+3;return n}else{this.unexpected()}};Parser.prototype.combinator=function combinator(){var e=this;if(this.content()==="|"){return this.namespace()}var r=this.locateNextMeaningfulToken(this.position);if(r<0||this.tokens[r][M.FIELDS.TYPE]===q.comma){var t=this.parseWhitespaceEquivalentTokens(r);if(t.length>0){var n=this.current.last;if(n){var i=this.convertWhitespaceNodesToSpace(t),o=i.space,s=i.rawSpace;if(s!==undefined){n.rawSpaceAfter+=s}n.spaces.after+=o}else{t.forEach(function(r){return e.newNode(r)})}}return}var a=this.currToken;var u=undefined;if(r>this.position){u=this.parseWhitespaceEquivalentTokens(r)}var c=void 0;if(this.isNamedCombinator()){c=this.namedCombinator()}else if(this.currToken[M.FIELDS.TYPE]===q.combinator){c=new R.default({value:this.content(),source:getTokenSource(this.currToken),sourceIndex:this.currToken[M.FIELDS.START_POS]});this.position++}else if(U[this.currToken[M.FIELDS.TYPE]]){}else if(!u){this.unexpected()}if(c){if(u){var f=this.convertWhitespaceNodesToSpace(u),l=f.space,p=f.rawSpace;c.spaces.before=l;c.rawSpaceBefore=p}}else{var h=this.convertWhitespaceNodesToSpace(u,true),B=h.space,v=h.rawSpace;if(!v){v=B}var d={};var b={spaces:{}};if(B.endsWith(" ")&&v.endsWith(" ")){d.before=B.slice(0,B.length-1);b.spaces.before=v.slice(0,v.length-1)}else if(B.startsWith(" ")&&v.startsWith(" ")){d.after=B.slice(1);b.spaces.after=v.slice(1)}else{b.value=v}c=new R.default({value:" ",source:getTokenSourceSpan(a,this.tokens[this.position-1]),sourceIndex:a[M.FIELDS.START_POS],spaces:d,raws:b})}if(this.currToken&&this.currToken[M.FIELDS.TYPE]===q.space){c.spaces.after=this.optionalSpace(this.content());this.position++}return this.newNode(c)};Parser.prototype.comma=function comma(){if(this.position===this.tokens.length-1){this.root.trailingComma=true;this.position++;return}this.current._inferEndPosition();var e=new B.default({source:{start:tokenStart(this.tokens[this.position+1])}});this.current.parent.append(e);this.current=e;this.position++};Parser.prototype.comment=function comment(){var e=this.currToken;this.newNode(new y.default({value:this.content(),source:getTokenSource(e),sourceIndex:e[M.FIELDS.START_POS]}));this.position++};Parser.prototype.error=function error(e,r){throw this.root.error(e,r)};Parser.prototype.missingBackslash=function missingBackslash(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[M.FIELDS.START_POS]})};Parser.prototype.missingParenthesis=function missingParenthesis(){return this.expected("opening parenthesis",this.currToken[M.FIELDS.START_POS])};Parser.prototype.missingSquareBracket=function missingSquareBracket(){return this.expected("opening square bracket",this.currToken[M.FIELDS.START_POS])};Parser.prototype.unexpected=function unexpected(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[M.FIELDS.START_POS])};Parser.prototype.namespace=function namespace(){var e=this.prevToken&&this.content(this.prevToken)||true;if(this.nextToken[M.FIELDS.TYPE]===q.word){this.position++;return this.word(e)}else if(this.nextToken[M.FIELDS.TYPE]===q.asterisk){this.position++;return this.universal(e)}};Parser.prototype.nesting=function nesting(){if(this.nextToken){var e=this.content(this.nextToken);if(e==="|"){this.position++;return}}var r=this.currToken;this.newNode(new j.default({value:this.content(),source:getTokenSource(r),sourceIndex:r[M.FIELDS.START_POS]}));this.position++};Parser.prototype.parentheses=function parentheses(){var e=this.current.last;var r=1;this.position++;if(e&&e.type===J.PSEUDO){var t=new B.default({source:{start:tokenStart(this.tokens[this.position-1])}});var n=this.current;e.append(t);this.current=t;while(this.position1&&e.nextToken&&e.nextToken[M.FIELDS.TYPE]===q.openParenthesis){e.error("Misplaced parenthesis.",{index:e.nextToken[M.FIELDS.START_POS]})}})}else{return this.expected(["pseudo-class","pseudo-element"],this.currToken[M.FIELDS.START_POS])}};Parser.prototype.space=function space(){var e=this.content();if(this.position===0||this.prevToken[M.FIELDS.TYPE]===q.comma||this.prevToken[M.FIELDS.TYPE]===q.openParenthesis){this.spaces=this.optionalSpace(e);this.position++}else if(this.position===this.tokens.length-1||this.nextToken[M.FIELDS.TYPE]===q.comma||this.nextToken[M.FIELDS.TYPE]===q.closeParenthesis){this.current.last.spaces.after=this.optionalSpace(e);this.position++}else{this.combinator()}};Parser.prototype.string=function string(){var e=this.currToken;this.newNode(new T.default({value:this.content(),source:getTokenSource(e),sourceIndex:e[M.FIELDS.START_POS]}));this.position++};Parser.prototype.universal=function universal(e){var r=this.nextToken;if(r&&this.content(r)==="|"){this.position++;return this.namespace()}var t=this.currToken;this.newNode(new A.default({value:this.content(),source:getTokenSource(t),sourceIndex:t[M.FIELDS.START_POS]}),e);this.position++};Parser.prototype.splitWord=function splitWord(e,r){var t=this;var n=this.nextToken;var i=this.content();while(n&&~[q.dollar,q.caret,q.equals,q.word].indexOf(n[M.FIELDS.TYPE])){this.position++;var o=this.content();i+=o;if(o.lastIndexOf("\\")===o.length-1){var s=this.nextToken;if(s&&s[M.FIELDS.TYPE]===q.space){i+=this.requiredSpace(this.content(s));this.position++}}n=this.nextToken}var a=(0,u.default)(i,".").filter(function(e){return i[e-1]!=="\\"});var c=(0,u.default)(i,"#");var l=(0,u.default)(i,"#{");if(l.length){c=c.filter(function(e){return!~l.indexOf(e)})}var p=(0,_.default)((0,f.default)([0].concat(a,c)));p.forEach(function(n,o){var s=p[o+1]||i.length;var u=i.slice(n,s);if(o===0&&r){return r.call(t,u,p.length)}var f=void 0;var l=t.currToken;var h=l[M.FIELDS.START_POS]+p[o];var B=getSource(l[1],l[2]+n,l[3],l[2]+(s-1));if(~a.indexOf(n)){var v={value:u.slice(1),source:B,sourceIndex:h};f=new d.default(unescapeProp(v,"value"))}else if(~c.indexOf(n)){var b={value:u.slice(1),source:B,sourceIndex:h};f=new m.default(unescapeProp(b,"value"))}else{var y={value:u,source:B,sourceIndex:h};unescapeProp(y,"value");f=new w.default(y)}t.newNode(f,e);e=null});this.position++};Parser.prototype.word=function word(e){var r=this.nextToken;if(r&&this.content(r)==="|"){this.position++;return this.namespace()}return this.splitWord(e)};Parser.prototype.loop=function loop(){while(this.position0&&arguments[0]!==undefined?arguments[0]:this.currToken;return this.css.slice(e[M.FIELDS.START_POS],e[M.FIELDS.END_POS])};Parser.prototype.locateNextMeaningfulToken=function locateNextMeaningfulToken(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:this.position+1;var r=e;while(r{"use strict";r.__esModule=true;var n=t(2522);var i=_interopRequireDefault(n);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}var o=function(){function Processor(e,r){_classCallCheck(this,Processor);this.func=e||function noop(){};this.funcRes=null;this.options=r}Processor.prototype._shouldUpdateSelector=function _shouldUpdateSelector(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var t=Object.assign({},this.options,r);if(t.updateSelector===false){return false}else{return typeof e!=="string"}};Processor.prototype._isLossy=function _isLossy(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var r=Object.assign({},this.options,e);if(r.lossless===false){return true}else{return false}};Processor.prototype._root=function _root(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var t=new i.default(e,this._parseOptions(r));return t.root};Processor.prototype._parseOptions=function _parseOptions(e){return{lossy:this._isLossy(e)}};Processor.prototype._run=function _run(e){var r=this;var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return new Promise(function(n,i){try{var o=r._root(e,t);Promise.resolve(r.func(o)).then(function(n){var i=undefined;if(r._shouldUpdateSelector(e,t)){i=o.toString();e.selector=i}return{transform:n,root:o,string:i}}).then(n,i)}catch(e){i(e);return}})};Processor.prototype._runSync=function _runSync(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var t=this._root(e,r);var n=this.func(t);if(n&&typeof n.then==="function"){throw new Error("Selector processor returned a promise to a synchronous call.")}var i=undefined;if(r.updateSelector&&typeof e!=="string"){i=t.toString();e.selector=i}return{transform:n,root:t,string:i}};Processor.prototype.ast=function ast(e,r){return this._run(e,r).then(function(e){return e.root})};Processor.prototype.astSync=function astSync(e,r){return this._runSync(e,r).root};Processor.prototype.transform=function transform(e,r){return this._run(e,r).then(function(e){return e.transform})};Processor.prototype.transformSync=function transformSync(e,r){return this._runSync(e,r).transform};Processor.prototype.process=function process(e,r){return this._run(e,r).then(function(e){return e.string||e.root.toString()})};Processor.prototype.processSync=function processSync(e,r){var t=this._runSync(e,r);return t.string||t.root.toString()};return Processor}();r.default=o;e.exports=r["default"]},9655:(e,r,t)=>{"use strict";r.__esModule=true;var n;var i=function(){function defineProperties(e,r){for(var t=0;t0&&arguments[0]!==undefined?arguments[0]:{};_classCallCheck(this,Attribute);var t=_possibleConstructorReturn(this,e.call(this,handleDeprecatedContructorOpts(r)));t.type=l.ATTRIBUTE;t.raws=t.raws||{};Object.defineProperty(t.raws,"unquoted",{get:h(function(){return t.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:h(function(){return t.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")});t._constructed=true;return t}Attribute.prototype.getQuotedValue=function getQuotedValue(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var r=this._determineQuoteMark(e);var t=g[r];var n=(0,s.default)(this._value,t);return n};Attribute.prototype._determineQuoteMark=function _determineQuoteMark(e){return e.smart?this.smartQuoteMark(e):this.preferredQuoteMark(e)};Attribute.prototype.setValue=function setValue(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};this._value=e;this._quoteMark=this._determineQuoteMark(r);this._syncRawValue()};Attribute.prototype.smartQuoteMark=function smartQuoteMark(e){var r=this.value;var t=r.replace(/[^']/g,"").length;var n=r.replace(/[^"]/g,"").length;if(t+n===0){var i=(0,s.default)(r,{isIdentifier:true});if(i===r){return Attribute.NO_QUOTE}else{var o=this.preferredQuoteMark(e);if(o===Attribute.NO_QUOTE){var a=this.quoteMark||e.quoteMark||Attribute.DOUBLE_QUOTE;var u=g[a];var c=(0,s.default)(r,u);if(c.length1&&arguments[1]!==undefined?arguments[1]:e;var t=arguments.length>2&&arguments[2]!==undefined?arguments[2]:defaultAttrConcat;var n=this._spacesFor(r);return t(this.stringifyProperty(e),n)};Attribute.prototype.offsetOf=function offsetOf(e){var r=1;var t=this._spacesFor("attribute");r+=t.before.length;if(e==="namespace"||e==="ns"){return this.namespace?r:-1}if(e==="attributeNS"){return r}r+=this.namespaceString.length;if(this.namespace){r+=1}if(e==="attribute"){return r}r+=this.stringifyProperty("attribute").length;r+=t.after.length;var n=this._spacesFor("operator");r+=n.before.length;var i=this.stringifyProperty("operator");if(e==="operator"){return i?r:-1}r+=i.length;r+=n.after.length;var o=this._spacesFor("value");r+=o.before.length;var s=this.stringifyProperty("value");if(e==="value"){return s?r:-1}r+=s.length;r+=o.after.length;var a=this._spacesFor("insensitive");r+=a.before.length;if(e==="insensitive"){return this.insensitive?r:-1}return-1};Attribute.prototype.toString=function toString(){var e=this;var r=[this.rawSpaceBefore,"["];r.push(this._stringFor("qualifiedAttribute","attribute"));if(this.operator&&this.value){r.push(this._stringFor("operator"));r.push(this._stringFor("value"));r.push(this._stringFor("insensitiveFlag","insensitive",function(r,t){if(r.length>0&&!e.quoted&&t.before.length===0&&!(e.spaces.value&&e.spaces.value.after)){t.before=" "}return defaultAttrConcat(r,t)}))}r.push("]");r.push(this.rawSpaceAfter);return r.join("")};i(Attribute,[{key:"quoted",get:function get(){var e=this.quoteMark;return e==="'"||e==='"'},set:function set(e){d()}},{key:"quoteMark",get:function get(){return this._quoteMark},set:function set(e){if(!this._constructed){this._quoteMark=e;return}if(this._quoteMark!==e){this._quoteMark=e;this._syncRawValue()}}},{key:"qualifiedAttribute",get:function get(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function get(){return this.insensitive?"i":""}},{key:"value",get:function get(){return this._value},set:function set(e){if(this._constructed){var r=unescapeValue(e),t=r.deprecatedUsage,n=r.unescaped,i=r.quoteMark;if(t){v()}if(n===this._value&&i===this._quoteMark){return}this._value=n;this._quoteMark=i;this._syncRawValue()}else{this._value=e}}},{key:"attribute",get:function get(){return this._attribute},set:function set(e){this._handleEscapes("attribute",e);this._attribute=e}}]);return Attribute}(f.default);y.NO_QUOTE=null;y.SINGLE_QUOTE="'";y.DOUBLE_QUOTE='"';r.default=y;var g=(n={"'":{quotes:"single",wrap:true},'"':{quotes:"double",wrap:true}},n[null]={isIdentifier:true},n);function defaultAttrConcat(e,r){return""+r.before+e+r.after}},9318:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t{"use strict";r.__esModule=true;var n=t(2789);var i=_interopRequireDefault(n);var o=t(9426);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Combinator,e);function Combinator(r){_classCallCheck(this,Combinator);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.COMBINATOR;return t}return Combinator}(i.default);r.default=s;e.exports=r["default"]},8154:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(2789);var i=_interopRequireDefault(n);var o=t(9426);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Comment,e);function Comment(r){_classCallCheck(this,Comment);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.COMMENT;return t}return Comment}(i.default);r.default=s;e.exports=r["default"]},1505:(e,r,t)=>{"use strict";r.__esModule=true;r.universal=r.tag=r.string=r.selector=r.root=r.pseudo=r.nesting=r.id=r.comment=r.combinator=r.className=r.attribute=undefined;var n=t(9655);var i=_interopRequireDefault(n);var o=t(9318);var s=_interopRequireDefault(o);var a=t(8638);var u=_interopRequireDefault(a);var c=t(8154);var f=_interopRequireDefault(c);var l=t(3396);var p=_interopRequireDefault(l);var h=t(4143);var B=_interopRequireDefault(h);var v=t(6502);var d=_interopRequireDefault(v);var b=t(2206);var y=_interopRequireDefault(b);var g=t(8703);var m=_interopRequireDefault(g);var C=t(5446);var w=_interopRequireDefault(C);var S=t(6674);var T=_interopRequireDefault(S);var O=t(4544);var E=_interopRequireDefault(O);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var k=r.attribute=function attribute(e){return new i.default(e)};var P=r.className=function className(e){return new s.default(e)};var D=r.combinator=function combinator(e){return new u.default(e)};var A=r.comment=function comment(e){return new f.default(e)};var F=r.id=function id(e){return new p.default(e)};var R=r.nesting=function nesting(e){return new B.default(e)};var x=r.pseudo=function pseudo(e){return new d.default(e)};var j=r.root=function root(e){return new y.default(e)};var I=r.selector=function selector(e){return new m.default(e)};var _=r.string=function string(e){return new w.default(e)};var M=r.tag=function tag(e){return new T.default(e)};var N=r.universal=function universal(e){return new E.default(e)}},8787:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t=e){this.indexes[t]=r-1}}return this};Container.prototype.removeAll=function removeAll(){for(var e=this.nodes,r=Array.isArray(e),t=0,e=r?e:e[Symbol.iterator]();;){var n;if(r){if(t>=e.length)break;n=e[t++]}else{t=e.next();if(t.done)break;n=t.value}var i=n;i.parent=undefined}this.nodes=[];return this};Container.prototype.empty=function empty(){return this.removeAll()};Container.prototype.insertAfter=function insertAfter(e,r){r.parent=this;var t=this.index(e);this.nodes.splice(t+1,0,r);r.parent=this;var n=void 0;for(var i in this.indexes){n=this.indexes[i];if(t<=n){this.indexes[i]=n+1}}return this};Container.prototype.insertBefore=function insertBefore(e,r){r.parent=this;var t=this.index(e);this.nodes.splice(t,0,r);r.parent=this;var n=void 0;for(var i in this.indexes){n=this.indexes[i];if(n<=t){this.indexes[i]=n+1}}return this};Container.prototype._findChildAtPosition=function _findChildAtPosition(e,r){var t=undefined;this.each(function(n){if(n.atPosition){var i=n.atPosition(e,r);if(i){t=i;return false}}else if(n.isAtPosition(e,r)){t=n;return false}});return t};Container.prototype.atPosition=function atPosition(e,r){if(this.isAtPosition(e,r)){return this._findChildAtPosition(e,r)||this}else{return undefined}};Container.prototype._inferEndPosition=function _inferEndPosition(){if(this.last&&this.last.source&&this.last.source.end){this.source=this.source||{};this.source.end=this.source.end||{};Object.assign(this.source.end,this.last.source.end)}};Container.prototype.each=function each(e){if(!this.lastEach){this.lastEach=0}if(!this.indexes){this.indexes={}}this.lastEach++;var r=this.lastEach;this.indexes[r]=0;if(!this.length){return undefined}var t=void 0,n=void 0;while(this.indexes[r]{"use strict";r.__esModule=true;r.isUniversal=r.isTag=r.isString=r.isSelector=r.isRoot=r.isPseudo=r.isNesting=r.isIdentifier=r.isComment=r.isCombinator=r.isClassName=r.isAttribute=undefined;var n=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var i;r.isNode=isNode;r.isPseudoElement=isPseudoElement;r.isPseudoClass=isPseudoClass;r.isContainer=isContainer;r.isNamespace=isNamespace;var o=t(9426);var s=(i={},i[o.ATTRIBUTE]=true,i[o.CLASS]=true,i[o.COMBINATOR]=true,i[o.COMMENT]=true,i[o.ID]=true,i[o.NESTING]=true,i[o.PSEUDO]=true,i[o.ROOT]=true,i[o.SELECTOR]=true,i[o.STRING]=true,i[o.TAG]=true,i[o.UNIVERSAL]=true,i);function isNode(e){return(typeof e==="undefined"?"undefined":n(e))==="object"&&s[e.type]}function isNodeType(e,r){return isNode(r)&&r.type===e}var a=r.isAttribute=isNodeType.bind(null,o.ATTRIBUTE);var u=r.isClassName=isNodeType.bind(null,o.CLASS);var c=r.isCombinator=isNodeType.bind(null,o.COMBINATOR);var f=r.isComment=isNodeType.bind(null,o.COMMENT);var l=r.isIdentifier=isNodeType.bind(null,o.ID);var p=r.isNesting=isNodeType.bind(null,o.NESTING);var h=r.isPseudo=isNodeType.bind(null,o.PSEUDO);var B=r.isRoot=isNodeType.bind(null,o.ROOT);var v=r.isSelector=isNodeType.bind(null,o.SELECTOR);var d=r.isString=isNodeType.bind(null,o.STRING);var b=r.isTag=isNodeType.bind(null,o.TAG);var y=r.isUniversal=isNodeType.bind(null,o.UNIVERSAL);function isPseudoElement(e){return h(e)&&e.value&&(e.value.startsWith("::")||e.value===":before"||e.value===":after")}function isPseudoClass(e){return h(e)&&!isPseudoElement(e)}function isContainer(e){return!!(isNode(e)&&e.walk)}function isNamespace(e){return a(e)||b(e)}},3396:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(2789);var i=_interopRequireDefault(n);var o=t(9426);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(ID,e);function ID(r){_classCallCheck(this,ID);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.ID;return t}ID.prototype.toString=function toString(){return[this.rawSpaceBefore,String("#"+this.stringifyProperty("value")),this.rawSpaceAfter].join("")};return ID}(i.default);r.default=s;e.exports=r["default"]},1996:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(9426);Object.keys(n).forEach(function(e){if(e==="default"||e==="__esModule")return;Object.defineProperty(r,e,{enumerable:true,get:function get(){return n[e]}})});var i=t(1505);Object.keys(i).forEach(function(e){if(e==="default"||e==="__esModule")return;Object.defineProperty(r,e,{enumerable:true,get:function get(){return i[e]}})});var o=t(2794);Object.keys(o).forEach(function(e){if(e==="default"||e==="__esModule")return;Object.defineProperty(r,e,{enumerable:true,get:function get(){return o[e]}})})},9908:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t{"use strict";r.__esModule=true;var n=t(2789);var i=_interopRequireDefault(n);var o=t(9426);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Nesting,e);function Nesting(r){_classCallCheck(this,Nesting);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.NESTING;t.value="&";return t}return Nesting}(i.default);r.default=s;e.exports=r["default"]},2789:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t0&&arguments[0]!==undefined?arguments[0]:{};_classCallCheck(this,Node);Object.assign(this,e);this.spaces=this.spaces||{};this.spaces.before=this.spaces.before||"";this.spaces.after=this.spaces.after||""}Node.prototype.remove=function remove(){if(this.parent){this.parent.removeChild(this)}this.parent=undefined;return this};Node.prototype.replaceWith=function replaceWith(){if(this.parent){for(var e in arguments){this.parent.insertBefore(this,arguments[e])}this.remove()}return this};Node.prototype.next=function next(){return this.parent.at(this.parent.index(this)+1)};Node.prototype.prev=function prev(){return this.parent.at(this.parent.index(this)-1)};Node.prototype.clone=function clone(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var r=s(this);for(var t in e){r[t]=e[t]}return r};Node.prototype.appendToPropertyAndEscape=function appendToPropertyAndEscape(e,r,t){if(!this.raws){this.raws={}}var n=this[e];var i=this.raws[e];this[e]=n+r;if(i||t!==r){this.raws[e]=(i||n)+t}else{delete this.raws[e]}};Node.prototype.setPropertyAndEscape=function setPropertyAndEscape(e,r,t){if(!this.raws){this.raws={}}this[e]=r;this.raws[e]=t};Node.prototype.setPropertyWithoutEscape=function setPropertyWithoutEscape(e,r){this[e]=r;if(this.raws){delete this.raws[e]}};Node.prototype.isAtPosition=function isAtPosition(e,r){if(this.source&&this.source.start&&this.source.end){if(this.source.start.line>e){return false}if(this.source.end.liner){return false}if(this.source.end.line===e&&this.source.end.column{"use strict";r.__esModule=true;var n=t(8787);var i=_interopRequireDefault(n);var o=t(9426);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Pseudo,e);function Pseudo(r){_classCallCheck(this,Pseudo);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.PSEUDO;return t}Pseudo.prototype.toString=function toString(){var e=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),e,this.rawSpaceAfter].join("")};return Pseudo}(i.default);r.default=s;e.exports=r["default"]},2206:(e,r,t)=>{"use strict";r.__esModule=true;var n=function(){function defineProperties(e,r){for(var t=0;t{"use strict";r.__esModule=true;var n=t(8787);var i=_interopRequireDefault(n);var o=t(9426);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Selector,e);function Selector(r){_classCallCheck(this,Selector);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.SELECTOR;return t}return Selector}(i.default);r.default=s;e.exports=r["default"]},5446:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(2789);var i=_interopRequireDefault(n);var o=t(9426);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(String,e);function String(r){_classCallCheck(this,String);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.STRING;return t}return String}(i.default);r.default=s;e.exports=r["default"]},6674:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(9908);var i=_interopRequireDefault(n);var o=t(9426);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Tag,e);function Tag(r){_classCallCheck(this,Tag);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.TAG;return t}return Tag}(i.default);r.default=s;e.exports=r["default"]},9426:(e,r)=>{"use strict";r.__esModule=true;var t=r.TAG="tag";var n=r.STRING="string";var i=r.SELECTOR="selector";var o=r.ROOT="root";var s=r.PSEUDO="pseudo";var a=r.NESTING="nesting";var u=r.ID="id";var c=r.COMMENT="comment";var f=r.COMBINATOR="combinator";var l=r.CLASS="class";var p=r.ATTRIBUTE="attribute";var h=r.UNIVERSAL="universal"},4544:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(9908);var i=_interopRequireDefault(n);var o=t(9426);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,r){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r&&(typeof r==="object"||typeof r==="function")?r:e}function _inherits(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof r)}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(r)Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r}var s=function(e){_inherits(Universal,e);function Universal(r){_classCallCheck(this,Universal);var t=_possibleConstructorReturn(this,e.call(this,r));t.type=o.UNIVERSAL;t.value="*";return t}return Universal}(i.default);r.default=s;e.exports=r["default"]},4850:(e,r)=>{"use strict";r.__esModule=true;r.default=sortAscending;function sortAscending(e){return e.sort(function(e,r){return e-r})}e.exports=r["default"]},8656:(e,r)=>{"use strict";r.__esModule=true;var t=r.ampersand=38;var n=r.asterisk=42;var i=r.at=64;var o=r.comma=44;var s=r.colon=58;var a=r.semicolon=59;var u=r.openParenthesis=40;var c=r.closeParenthesis=41;var f=r.openSquare=91;var l=r.closeSquare=93;var p=r.dollar=36;var h=r.tilde=126;var B=r.caret=94;var v=r.plus=43;var d=r.equals=61;var b=r.pipe=124;var y=r.greaterThan=62;var g=r.space=32;var m=r.singleQuote=39;var C=r.doubleQuote=34;var w=r.slash=47;var S=r.bang=33;var T=r.backslash=92;var O=r.cr=13;var E=r.feed=12;var k=r.newline=10;var P=r.tab=9;var D=r.str=m;var A=r.comment=-1;var F=r.word=-2;var R=r.combinator=-3},3474:(e,r,t)=>{"use strict";r.__esModule=true;r.FIELDS=undefined;var n,i;r.default=tokenize;var o=t(8656);var s=_interopRequireWildcard(o);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var r={};if(e!=null){for(var t in e){if(Object.prototype.hasOwnProperty.call(e,t))r[t]=e[t]}}r.default=e;return r}}var a=(n={},n[s.tab]=true,n[s.newline]=true,n[s.cr]=true,n[s.feed]=true,n);var u=(i={},i[s.space]=true,i[s.tab]=true,i[s.newline]=true,i[s.cr]=true,i[s.feed]=true,i[s.ampersand]=true,i[s.asterisk]=true,i[s.bang]=true,i[s.comma]=true,i[s.colon]=true,i[s.semicolon]=true,i[s.openParenthesis]=true,i[s.closeParenthesis]=true,i[s.openSquare]=true,i[s.closeSquare]=true,i[s.singleQuote]=true,i[s.doubleQuote]=true,i[s.plus]=true,i[s.pipe]=true,i[s.tilde]=true,i[s.greaterThan]=true,i[s.equals]=true,i[s.dollar]=true,i[s.caret]=true,i[s.slash]=true,i);var c={};var f="0123456789abcdefABCDEF";for(var l=0;l0){g=a+d;m=y-b[d].length}else{g=a;m=o}w=s.comment;a=g;h=g;p=y-m}else if(f===s.slash){y=u;w=f;h=a;p=u-o;c=y+1}else{y=consumeWord(t,u);w=s.word;h=a;p=y-o}c=y+1;break}r.push([w,a,u-o,h,p,u,c]);if(m){o=m;m=null}u=c}return r}},7708:(e,r)=>{"use strict";r.__esModule=true;r.default=ensureObject;function ensureObject(e){for(var r=arguments.length,t=Array(r>1?r-1:0),n=1;n0){var i=t.shift();if(!e[i]){e[i]={}}e=e[i]}}e.exports=r["default"]},1348:(e,r)=>{"use strict";r.__esModule=true;r.default=getProp;function getProp(e){for(var r=arguments.length,t=Array(r>1?r-1:0),n=1;n0){var i=t.shift();if(!e[i]){return undefined}e=e[i]}return e}e.exports=r["default"]},4277:(e,r,t)=>{"use strict";r.__esModule=true;var n=t(1381);Object.defineProperty(r,"unesc",{enumerable:true,get:function get(){return _interopRequireDefault(n).default}});var i=t(1348);Object.defineProperty(r,"getProp",{enumerable:true,get:function get(){return _interopRequireDefault(i).default}});var o=t(7708);Object.defineProperty(r,"ensureObject",{enumerable:true,get:function get(){return _interopRequireDefault(o).default}});var s=t(6527);Object.defineProperty(r,"stripComments",{enumerable:true,get:function get(){return _interopRequireDefault(s).default}});function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},6527:(e,r)=>{"use strict";r.__esModule=true;r.default=stripComments;function stripComments(e){var r="";var t=e.indexOf("/*");var n=0;while(t>=0){r=r+e.slice(n,t);var i=e.indexOf("*/",t+2);if(i<0){return r}n=i+2;t=e.indexOf("/*",n)}r=r+e.slice(n);return r}e.exports=r["default"]},1381:(e,r)=>{"use strict";r.__esModule=true;r.default=unesc;var t=/\\(?:([0-9a-fA-F]{6})|([0-9a-fA-F]{1,5})(?: |(?![0-9a-fA-F])))/g;var n=/\\(.)/g;function unesc(e){e=e.replace(t,function(e,r,t){var n=r||t;var i=parseInt(n,16);return String.fromCharCode(i)});e=e.replace(n,function(e,r){return r});return e}e.exports=r["default"]},1084:(e,r,t)=>{var n=t(2043);e.exports=n.plugin("postcss-replace-overflow-wrap",function(e){e=e||{};var r=e.method||"replace";return function(e){e.walkDecls("overflow-wrap",function(e){e.cloneBefore({prop:"word-wrap"});if(r==="replace"){e.remove()}})}})},5252:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});var n=t(2043);var i=_interopRequireDefault(n);var o=t(4991);var s=_interopRequireDefault(o);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function explodeSelectors(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};return function(r){r.walkRules(function(r){if(r.selector&&r.selector.indexOf(":matches")>-1){r.selector=(0,s.default)(r,e)}})}}r.default=i.default.plugin("postcss-selector-matches",explodeSelectors);e.exports=r.default},4991:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=replaceRuleSelector;var n=t(8315);var i=_interopRequireDefault(n);var o=t(3353);var s=_interopRequireDefault(o);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _toConsumableArray(e){if(Array.isArray(e)){for(var r=0,t=Array(e.length);r-1){var t=[];var n=e.match(/^\s+/);var o=n?n[0]:"";var u=i.default.comma(e);u.forEach(function(e){var n=e.indexOf(a);var u=e.slice(0,n);var c=e.slice(n);var f=(0,s.default)("(",")",c);var l=f&&f.body?i.default.comma(f.body).reduce(function(e,t){return[].concat(_toConsumableArray(e),_toConsumableArray(explodeSelector(t,r)))},[]):[c];var p=f&&f.post?explodeSelector(f.post,r):[];var h=void 0;if(p.length===0){if(n===-1||u.indexOf(" ")>-1){h=l.map(function(e){return o+u+e})}else{h=l.map(function(e){return normalizeSelector(e,o,u)})}}else{h=[];p.forEach(function(e){l.forEach(function(r){h.push(o+u+r+e)})})}t=[].concat(_toConsumableArray(t),_toConsumableArray(h))});return t}return[e]}function replaceRuleSelector(e,r){var t=e.raws&&e.raws.before?e.raws.before.split("\n").pop():"";return explodeSelector(e.selector,r).join(","+(r.lineBreak?"\n"+t:" "))}e.exports=r.default},1790:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});var n=t(2043);var i=_interopRequireDefault(n);var o=t(8315);var s=_interopRequireDefault(o);var a=t(3353);var u=_interopRequireDefault(a);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function explodeSelector(e,r){var t=locatePseudoClass(r,e);if(r&&t>-1){var n=r.slice(0,t);var i=(0,u.default)("(",")",r.slice(t));var o=i.body?s.default.comma(i.body).map(function(r){return explodeSelector(e,r)}).join(`)${e}(`):"";var a=i.post?explodeSelector(e,i.post):"";return`${n}${e}(${o})${a}`}return r}var c={};function locatePseudoClass(e,r){c[r]=c[r]||new RegExp(`([^\\\\]|^)${r}`);var t=c[r];var n=e.search(t);if(n===-1){return-1}return n+e.slice(n).indexOf(r)}function explodeSelectors(e){return function(){return function(r){r.walkRules(function(r){if(r.selector&&r.selector.indexOf(e)>-1){r.selector=explodeSelector(e,r.selector)}})}}}r.default=i.default.plugin("postcss-selector-not",explodeSelectors(":not"));e.exports=r.default},2591:(e,r,t)=>{"use strict";const n=t(3573);class AtWord extends n{constructor(e){super(e);this.type="atword"}toString(){let e=this.quoted?this.raws.quote:"";return[this.raws.before,"@",String.prototype.toString.call(this.value),this.raws.after].join("")}}n.registerWalker(AtWord);e.exports=AtWord},4521:(e,r,t)=>{"use strict";const n=t(3573);const i=t(4748);class Colon extends i{constructor(e){super(e);this.type="colon"}}n.registerWalker(Colon);e.exports=Colon},3654:(e,r,t)=>{"use strict";const n=t(3573);const i=t(4748);class Comma extends i{constructor(e){super(e);this.type="comma"}}n.registerWalker(Comma);e.exports=Comma},7393:(e,r,t)=>{"use strict";const n=t(3573);const i=t(4748);class Comment extends i{constructor(e){super(e);this.type="comment";this.inline=Object(e).inline||false}toString(){return[this.raws.before,this.inline?"//":"/*",String(this.value),this.inline?"":"*/",this.raws.after].join("")}}n.registerWalker(Comment);e.exports=Comment},3573:(e,r,t)=>{"use strict";const n=t(4748);class Container extends n{constructor(e){super(e);if(!this.nodes){this.nodes=[]}}push(e){e.parent=this;this.nodes.push(e);return this}each(e){if(!this.lastEach)this.lastEach=0;if(!this.indexes)this.indexes={};this.lastEach+=1;let r=this.lastEach,t,n;this.indexes[r]=0;if(!this.nodes)return undefined;while(this.indexes[r]{let n=e(r,t);if(n!==false&&r.walk){n=r.walk(e)}return n})}walkType(e,r){if(!e||!r){throw new Error("Parameters {type} and {callback} are required.")}const t=typeof e==="function";return this.walk((n,i)=>{if(t&&n instanceof e||!t&&n.type===e){return r.call(this,n,i)}})}append(e){e.parent=this;this.nodes.push(e);return this}prepend(e){e.parent=this;this.nodes.unshift(e);return this}cleanRaws(e){super.cleanRaws(e);if(this.nodes){for(let r of this.nodes)r.cleanRaws(e)}}insertAfter(e,r){let t=this.index(e),n;this.nodes.splice(t+1,0,r);for(let e in this.indexes){n=this.indexes[e];if(t<=n){this.indexes[e]=n+this.nodes.length}}return this}insertBefore(e,r){let t=this.index(e),n;this.nodes.splice(t,0,r);for(let e in this.indexes){n=this.indexes[e];if(t<=n){this.indexes[e]=n+this.nodes.length}}return this}removeChild(e){e=this.index(e);this.nodes[e].parent=undefined;this.nodes.splice(e,1);let r;for(let t in this.indexes){r=this.indexes[t];if(r>=e){this.indexes[t]=r-1}}return this}removeAll(){for(let e of this.nodes)e.parent=undefined;this.nodes=[];return this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){if(typeof e==="number"){return e}else{return this.nodes.indexOf(e)}}get first(){if(!this.nodes)return undefined;return this.nodes[0]}get last(){if(!this.nodes)return undefined;return this.nodes[this.nodes.length-1]}toString(){let e=this.nodes.map(String).join("");if(this.value){e=this.value+e}if(this.raws.before){e=this.raws.before+e}if(this.raws.after){e+=this.raws.after}return e}}Container.registerWalker=(e=>{let r="walk"+e.name;if(r.lastIndexOf("s")!==r.length-1){r+="s"}if(Container.prototype[r]){return}Container.prototype[r]=function(r){return this.walkType(e,r)}});e.exports=Container},7647:e=>{"use strict";class ParserError extends Error{constructor(e){super(e);this.name=this.constructor.name;this.message=e||"An error ocurred while parsing.";if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(this,this.constructor)}else{this.stack=new Error(e).stack}}}e.exports=ParserError},8386:e=>{"use strict";class TokenizeError extends Error{constructor(e){super(e);this.name=this.constructor.name;this.message=e||"An error ocurred while tokzenizing.";if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(this,this.constructor)}else{this.stack=new Error(e).stack}}}e.exports=TokenizeError},8494:(e,r,t)=>{"use strict";const n=t(3573);class FunctionNode extends n{constructor(e){super(e);this.type="func";this.unbalanced=-1}}n.registerWalker(FunctionNode);e.exports=FunctionNode},4510:(e,r,t)=>{"use strict";const n=t(2217);const i=t(2591);const o=t(4521);const s=t(3654);const a=t(7393);const u=t(8494);const c=t(3024);const f=t(6961);const l=t(7968);const p=t(2891);const h=t(6609);const B=t(9483);const v=t(8406);let d=function(e,r){return new n(e,r)};d.atword=function(e){return new i(e)};d.colon=function(e){return new o(Object.assign({value:":"},e))};d.comma=function(e){return new s(Object.assign({value:","},e))};d.comment=function(e){return new a(e)};d.func=function(e){return new u(e)};d.number=function(e){return new c(e)};d.operator=function(e){return new f(e)};d.paren=function(e){return new l(Object.assign({value:"("},e))};d.string=function(e){return new p(Object.assign({quote:"'"},e))};d.value=function(e){return new B(e)};d.word=function(e){return new v(e)};d.unicodeRange=function(e){return new h(e)};e.exports=d},4748:e=>{"use strict";let r=function(e,t){let n=new e.constructor;for(let i in e){if(!e.hasOwnProperty(i))continue;let o=e[i],s=typeof o;if(i==="parent"&&s==="object"){if(t)n[i]=t}else if(i==="source"){n[i]=o}else if(o instanceof Array){n[i]=o.map(e=>r(e,n))}else if(i!=="before"&&i!=="after"&&i!=="between"&&i!=="semicolon"){if(s==="object"&&o!==null)o=r(o);n[i]=o}}return n};e.exports=class Node{constructor(e){e=e||{};this.raws={before:"",after:""};for(let r in e){this[r]=e[r]}}remove(){if(this.parent){this.parent.removeChild(this)}this.parent=undefined;return this}toString(){return[this.raws.before,String(this.value),this.raws.after].join("")}clone(e){e=e||{};let t=r(this);for(let r in e){t[r]=e[r]}return t}cloneBefore(e){e=e||{};let r=this.clone(e);this.parent.insertBefore(this,r);return r}cloneAfter(e){e=e||{};let r=this.clone(e);this.parent.insertAfter(this,r);return r}replaceWith(){let e=Array.prototype.slice.call(arguments);if(this.parent){for(let r of e){this.parent.insertBefore(this,r)}this.remove()}return this}moveTo(e){this.cleanRaws(this.root()===e.root());this.remove();e.append(this);return this}moveBefore(e){this.cleanRaws(this.root()===e.root());this.remove();e.parent.insertBefore(e,this);return this}moveAfter(e){this.cleanRaws(this.root()===e.root());this.remove();e.parent.insertAfter(e,this);return this}next(){let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){let e=this.parent.index(this);return this.parent.nodes[e-1]}toJSON(){let e={};for(let r in this){if(!this.hasOwnProperty(r))continue;if(r==="parent")continue;let t=this[r];if(t instanceof Array){e[r]=t.map(e=>{if(typeof e==="object"&&e.toJSON){return e.toJSON()}else{return e}})}else if(typeof t==="object"&&t.toJSON){e[r]=t.toJSON()}else{e[r]=t}}return e}root(){let e=this;while(e.parent)e=e.parent;return e}cleanRaws(e){delete this.raws.before;delete this.raws.after;if(!e)delete this.raws.between}positionInside(e){let r=this.toString(),t=this.source.start.column,n=this.source.start.line;for(let i=0;i{"use strict";const n=t(3573);const i=t(4748);class NumberNode extends i{constructor(e){super(e);this.type="number";this.unit=Object(e).unit||""}toString(){return[this.raws.before,String(this.value),this.unit,this.raws.after].join("")}}n.registerWalker(NumberNode);e.exports=NumberNode},6961:(e,r,t)=>{"use strict";const n=t(3573);const i=t(4748);class Operator extends i{constructor(e){super(e);this.type="operator"}}n.registerWalker(Operator);e.exports=Operator},7968:(e,r,t)=>{"use strict";const n=t(3573);const i=t(4748);class Parenthesis extends i{constructor(e){super(e);this.type="paren";this.parenType=""}}n.registerWalker(Parenthesis);e.exports=Parenthesis},2217:(e,r,t)=>{"use strict";const n=t(523);const i=t(9483);const o=t(2591);const s=t(4521);const a=t(3654);const u=t(7393);const c=t(8494);const f=t(3024);const l=t(6961);const p=t(7968);const h=t(2891);const B=t(8406);const v=t(6609);const d=t(6145);const b=t(132);const y=t(5417);const g=t(6258);const m=t(7647);function sortAscending(e){return e.sort((e,r)=>e-r)}e.exports=class Parser{constructor(e,r){const t={loose:false};this.cache=[];this.input=e;this.options=Object.assign({},t,r);this.position=0;this.unbalanced=0;this.root=new n;let o=new i;this.root.append(o);this.current=o;this.tokens=d(e,this.options)}parse(){return this.loop()}colon(){let e=this.currToken;this.newNode(new s({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]}));this.position++}comma(){let e=this.currToken;this.newNode(new a({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]}));this.position++}comment(){let e=false,r=this.currToken[1].replace(/\/\*|\*\//g,""),t;if(this.options.loose&&r.startsWith("//")){r=r.substring(2);e=true}t=new u({value:r,inline:e,source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]});this.newNode(t);this.position++}error(e,r){throw new m(e+` at line: ${r[2]}, column ${r[3]}`)}loop(){while(this.position0){if(this.current.type==="func"&&this.current.value==="calc"){if(this.prevToken[0]!=="space"&&this.prevToken[0]!=="("){this.error("Syntax Error",this.currToken)}else if(this.nextToken[0]!=="space"&&this.nextToken[0]!=="word"){this.error("Syntax Error",this.currToken)}else if(this.nextToken[0]==="word"&&this.current.last.type!=="operator"&&this.current.last.value!=="("){this.error("Syntax Error",this.currToken)}}else if(this.nextToken[0]==="space"||this.nextToken[0]==="operator"||this.prevToken[0]==="operator"){this.error("Syntax Error",this.currToken)}}}if(!this.options.loose){if(this.nextToken[0]==="word"){return this.word()}}else{if((!this.current.nodes.length||this.current.last&&this.current.last.type==="operator")&&this.nextToken[0]==="word"){return this.word()}}}r=new l({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]});this.position++;return this.newNode(r)}parseTokens(){switch(this.currToken[0]){case"space":this.space();break;case"colon":this.colon();break;case"comma":this.comma();break;case"comment":this.comment();break;case"(":this.parenOpen();break;case")":this.parenClose();break;case"atword":case"word":this.word();break;case"operator":this.operator();break;case"string":this.string();break;case"unicoderange":this.unicodeRange();break;default:this.word();break}}parenOpen(){let e=1,r=this.position+1,t=this.currToken,n;while(r=this.tokens.length-1&&!this.current.unbalanced){return}this.current.unbalanced--;if(this.current.unbalanced<0){this.error("Expected opening parenthesis",e)}if(!this.current.unbalanced&&this.cache.length){this.current=this.cache.pop()}}space(){let e=this.currToken;if(this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"){this.current.last.raws.after+=e[1];this.position++}else{this.spaces=e[1];this.position++}}unicodeRange(){let e=this.currToken;this.newNode(new v({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]}));this.position++}splitWord(){let e=this.nextToken,r=this.currToken[1],t=/^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/,n=/^(?!\#([a-z0-9]+))[\#\{\}]/gi,i,s;if(!n.test(r)){while(e&&e[0]==="word"){this.position++;let t=this.currToken[1];r+=t;e=this.nextToken}}i=y(r,"@");s=sortAscending(g(b([[0],i])));s.forEach((n,a)=>{let u=s[a+1]||r.length,l=r.slice(n,u),p;if(~i.indexOf(n)){p=new o({value:l.slice(1),source:{start:{line:this.currToken[2],column:this.currToken[3]+n},end:{line:this.currToken[4],column:this.currToken[3]+(u-1)}},sourceIndex:this.currToken[6]+s[a]})}else if(t.test(this.currToken[1])){let e=l.replace(t,"");p=new f({value:l.replace(e,""),source:{start:{line:this.currToken[2],column:this.currToken[3]+n},end:{line:this.currToken[4],column:this.currToken[3]+(u-1)}},sourceIndex:this.currToken[6]+s[a],unit:e})}else{p=new(e&&e[0]==="("?c:B)({value:l,source:{start:{line:this.currToken[2],column:this.currToken[3]+n},end:{line:this.currToken[4],column:this.currToken[3]+(u-1)}},sourceIndex:this.currToken[6]+s[a]});if(p.constructor.name==="Word"){p.isHex=/^#(.+)/.test(l);p.isColor=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(l)}else{this.cache.push(this.current)}}this.newNode(p)});this.position++}string(){let e=this.currToken,r=this.currToken[1],t=/^(\"|\')/,n=t.test(r),i="",o;if(n){i=r.match(t)[0];r=r.slice(1,r.length-1)}o=new h({value:r,source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6],quoted:n});o.raws.quote=i;this.newNode(o);this.position++}word(){return this.splitWord()}newNode(e){if(this.spaces){e.raws.before+=this.spaces;this.spaces=""}return this.current.append(e)}get currToken(){return this.tokens[this.position]}get nextToken(){return this.tokens[this.position+1]}get prevToken(){return this.tokens[this.position-1]}}},523:(e,r,t)=>{"use strict";const n=t(3573);e.exports=class Root extends n{constructor(e){super(e);this.type="root"}}},2891:(e,r,t)=>{"use strict";const n=t(3573);const i=t(4748);class StringNode extends i{constructor(e){super(e);this.type="string"}toString(){let e=this.quoted?this.raws.quote:"";return[this.raws.before,e,this.value+"",e,this.raws.after].join("")}}n.registerWalker(StringNode);e.exports=StringNode},6145:(e,r,t)=>{"use strict";const n="{".charCodeAt(0);const i="}".charCodeAt(0);const o="(".charCodeAt(0);const s=")".charCodeAt(0);const a="'".charCodeAt(0);const u='"'.charCodeAt(0);const c="\\".charCodeAt(0);const f="/".charCodeAt(0);const l=".".charCodeAt(0);const p=",".charCodeAt(0);const h=":".charCodeAt(0);const B="*".charCodeAt(0);const v="-".charCodeAt(0);const d="+".charCodeAt(0);const b="#".charCodeAt(0);const y="\n".charCodeAt(0);const g=" ".charCodeAt(0);const m="\f".charCodeAt(0);const C="\t".charCodeAt(0);const w="\r".charCodeAt(0);const S="@".charCodeAt(0);const T="e".charCodeAt(0);const O="E".charCodeAt(0);const E="0".charCodeAt(0);const k="9".charCodeAt(0);const P="u".charCodeAt(0);const D="U".charCodeAt(0);const A=/[ \n\t\r\{\(\)'"\\;,/]/g;const F=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;const R=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g;const x=/^[a-z0-9]/i;const j=/^[a-f0-9?\-]/i;const I=t(1669);const _=t(8386);e.exports=function tokenize(e,r){r=r||{};let t=[],M=e.valueOf(),N=M.length,L=-1,q=1,G=0,J=0,H=null,U,Q,K,W,Y,z,$,X,Z,V,ee,re;function unclosed(e){let r=I.format("Unclosed %s at line: %d, column: %d, token: %d",e,q,G-L,G);throw new _(r)}function tokenizeError(){let e=I.format("Syntax error at line: %d, column: %d, token: %d",q,G-L,G);throw new _(e)}while(G0&&t[t.length-1][0]==="word"&&t[t.length-1][1]==="url";t.push(["(","(",q,G-L,q,Q-L,G]);break;case s:J--;H=H&&J>0;t.push([")",")",q,G-L,q,Q-L,G]);break;case a:case u:K=U===a?"'":'"';Q=G;do{V=false;Q=M.indexOf(K,Q+1);if(Q===-1){unclosed("quote",K)}ee=Q;while(M.charCodeAt(ee-1)===c){ee-=1;V=!V}}while(V);t.push(["string",M.slice(G,Q+1),q,G-L,q,Q-L,G]);G=Q;break;case S:A.lastIndex=G+1;A.test(M);if(A.lastIndex===0){Q=M.length-1}else{Q=A.lastIndex-2}t.push(["atword",M.slice(G,Q+1),q,G-L,q,Q-L,G]);G=Q;break;case c:Q=G;U=M.charCodeAt(Q+1);if($&&(U!==f&&U!==g&&U!==y&&U!==C&&U!==w&&U!==m)){Q+=1}t.push(["word",M.slice(G,Q+1),q,G-L,q,Q-L,G]);G=Q;break;case d:case v:case B:Q=G+1;re=M.slice(G+1,Q+1);let e=M.slice(G-1,G);if(U===v&&re.charCodeAt(0)===v){Q++;t.push(["word",M.slice(G,Q),q,G-L,q,Q-L,G]);G=Q-1;break}t.push(["operator",M.slice(G,Q),q,G-L,q,Q-L,G]);G=Q-1;break;default:if(U===f&&(M.charCodeAt(G+1)===B||r.loose&&!H&&M.charCodeAt(G+1)===f)){const e=M.charCodeAt(G+1)===B;if(e){Q=M.indexOf("*/",G+2)+1;if(Q===0){unclosed("comment","*/")}}else{const e=M.indexOf("\n",G+2);Q=e!==-1?e-1:N}z=M.slice(G,Q+1);W=z.split("\n");Y=W.length-1;if(Y>0){X=q+Y;Z=Q-W[Y].length}else{X=q;Z=L}t.push(["comment",z,q,G-L,X,Q-Z,G]);L=Z;q=X;G=Q}else if(U===b&&!x.test(M.slice(G+1,G+2))){Q=G+1;t.push(["#",M.slice(G,Q),q,G-L,q,Q-L,G]);G=Q-1}else if((U===P||U===D)&&M.charCodeAt(G+1)===d){Q=G+2;do{Q+=1;U=M.charCodeAt(Q)}while(Q=E&&U<=k){e=R}e.lastIndex=G+1;e.test(M);if(e.lastIndex===0){Q=M.length-1}else{Q=e.lastIndex-2}if(e===R||U===l){let e=M.charCodeAt(Q),r=M.charCodeAt(Q+1),t=M.charCodeAt(Q+2);if((e===T||e===O)&&(r===v||r===d)&&(t>=E&&t<=k)){R.lastIndex=Q+2;R.test(M);if(R.lastIndex===0){Q=M.length-1}else{Q=R.lastIndex-2}}}t.push(["word",M.slice(G,Q+1),q,G-L,q,Q-L,G]);G=Q}break}G++}return t}},6609:(e,r,t)=>{"use strict";const n=t(3573);const i=t(4748);class UnicodeRange extends i{constructor(e){super(e);this.type="unicode-range"}}n.registerWalker(UnicodeRange);e.exports=UnicodeRange},9483:(e,r,t)=>{"use strict";const n=t(3573);e.exports=class Value extends n{constructor(e){super(e);this.type="value";this.unbalanced=0}}},8406:(e,r,t)=>{"use strict";const n=t(3573);const i=t(4748);class Word extends i{constructor(e){super(e);this.type="word"}}n.registerWalker(Word);e.exports=Word},8315:(e,r)=>{"use strict";r.__esModule=true;r.default=void 0;var t={split:function split(e,r,t){var n=[];var i="";var split=false;var o=0;var s=false;var a=false;for(var u=0;u0)o-=1}else if(o===0){if(r.indexOf(c)!==-1)split=true}if(split){if(i!=="")n.push(i.trim());i="";split=false}else{i+=c}}if(t||i!=="")n.push(i.trim());return n},space:function space(e){var r=[" ","\n","\t"];return t.split(e,r)},comma:function comma(e){return t.split(e,[","],true)}};var n=t;r.default=n;e.exports=r.default},6258:e=>{"use strict";function unique_pred(e,r){var t=1,n=e.length,i=e[0],o=e[0];for(var s=1;s{"use strict";e.exports=JSON.parse('[{"id":"all-property","title":"`all` Property","description":"A property for defining the reset of all properties of an element","specification":"https://www.w3.org/TR/css-cascade-3/#all-shorthand","stage":3,"caniuse":"css-all","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/all"},"example":"a {\\n all: initial;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/maximkoretskiy/postcss-initial"}]},{"id":"any-link-pseudo-class","title":"`:any-link` Hyperlink Pseudo-Class","description":"A pseudo-class for matching anchor elements independent of whether they have been visited","specification":"https://www.w3.org/TR/selectors-4/#any-link-pseudo","stage":2,"caniuse":"css-any-link","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/:any-link"},"example":"nav :any-link > span {\\n background-color: yellow;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/jonathantneal/postcss-pseudo-class-any-link"}]},{"id":"blank-pseudo-class","title":"`:blank` Empty-Value Pseudo-Class","description":"A pseudo-class for matching form elements when they are empty","specification":"https://drafts.csswg.org/selectors-4/#blank","stage":1,"example":"input:blank {\\n background-color: yellow;\\n}","polyfills":[{"type":"JavaScript Library","link":"https://github.com/csstools/css-blank-pseudo"},{"type":"PostCSS Plugin","link":"https://github.com/csstools/css-blank-pseudo"}]},{"id":"break-properties","title":"Break Properties","description":"Properties for defining the break behavior between and within boxes","specification":"https://www.w3.org/TR/css-break-3/#breaking-controls","stage":3,"caniuse":"multicolumn","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/break-after"},"example":"a {\\n break-inside: avoid;\\n break-before: avoid-column;\\n break-after: always;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/shrpne/postcss-page-break"}]},{"id":"case-insensitive-attributes","title":"Case-Insensitive Attributes","description":"An attribute selector matching attribute values case-insensitively","specification":"https://www.w3.org/TR/selectors-4/#attribute-case","stage":2,"caniuse":"css-case-insensitive","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors"},"example":"[frame=hsides i] {\\n border-style: solid none;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/Semigradsky/postcss-attribute-case-insensitive"}]},{"id":"color-adjust","title":"`color-adjust` Property","description":"The color-adjust property is a non-standard CSS extension that can be used to force printing of background colors and images","specification":"https://www.w3.org/TR/css-color-4/#color-adjust","stage":2,"caniuse":"css-color-adjust","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/color-adjust"},"example":".background {\\n background-color:#ccc;\\n}\\n.background.color-adjust {\\n color-adjust: economy;\\n}\\n.background.color-adjust-exact {\\n color-adjust: exact;\\n}"},{"id":"color-functional-notation","title":"Color Functional Notation","description":"A space and slash separated notation for specifying colors","specification":"https://drafts.csswg.org/css-color/#ref-for-funcdef-rgb%E2%91%A1%E2%91%A0","stage":1,"example":"em {\\n background-color: hsl(120deg 100% 25%);\\n box-shadow: 0 0 0 10px hwb(120deg 100% 25% / 80%);\\n color: rgb(0 255 0);\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/jonathantneal/postcss-color-functional-notation"}]},{"id":"color-mod-function","title":"`color-mod()` Function","description":"A function for modifying colors","specification":"https://www.w3.org/TR/css-color-4/#funcdef-color-mod","stage":-1,"example":"p {\\n color: color-mod(black alpha(50%));\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/jonathantneal/postcss-color-mod-function"}]},{"id":"custom-media-queries","title":"Custom Media Queries","description":"An at-rule for defining aliases that represent media queries","specification":"https://drafts.csswg.org/mediaqueries-5/#at-ruledef-custom-media","stage":1,"example":"@custom-media --narrow-window (max-width: 30em);\\n\\n@media (--narrow-window) {}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/postcss/postcss-custom-media"}]},{"id":"custom-properties","title":"Custom Properties","description":"A syntax for defining custom values accepted by all CSS properties","specification":"https://www.w3.org/TR/css-variables-1/","stage":3,"caniuse":"css-variables","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/var"},"example":"img {\\n --some-length: 32px;\\n\\n height: var(--some-length);\\n width: var(--some-length);\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/postcss/postcss-custom-properties"}]},{"id":"custom-property-sets","title":"Custom Property Sets","description":"A syntax for storing properties in named variables, referenceable in other style rules","specification":"https://tabatkins.github.io/specs/css-apply-rule/","stage":-1,"caniuse":"css-apply-rule","example":"img {\\n --some-length-styles: {\\n height: 32px;\\n width: 32px;\\n };\\n\\n @apply --some-length-styles;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/pascalduez/postcss-apply"}]},{"id":"custom-selectors","title":"Custom Selectors","description":"An at-rule for defining aliases that represent selectors","specification":"https://drafts.csswg.org/css-extensions/#custom-selectors","stage":1,"example":"@custom-selector :--heading h1, h2, h3, h4, h5, h6;\\n\\narticle :--heading + p {}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/postcss/postcss-custom-selectors"}]},{"id":"dir-pseudo-class","title":"`:dir` Directionality Pseudo-Class","description":"A pseudo-class for matching elements based on their directionality","specification":"https://www.w3.org/TR/selectors-4/#dir-pseudo","stage":2,"caniuse":"css-dir-pseudo","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/:dir"},"example":"blockquote:dir(rtl) {\\n margin-right: 10px;\\n}\\n\\nblockquote:dir(ltr) {\\n margin-left: 10px;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/jonathantneal/postcss-dir-pseudo-class"}]},{"id":"double-position-gradients","title":"Double Position Gradients","description":"A syntax for using two positions in a gradient.","specification":"https://www.w3.org/TR/css-images-4/#color-stop-syntax","stage":2,"caniuse-compat":{"and_chr":{"71":"y"},"chrome":{"71":"y"}},"example":".pie_chart {\\n background-image: conic-gradient(yellowgreen 40%, gold 0deg 75%, #f06 0deg);\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/jonathantneal/postcss-double-position-gradients"}]},{"id":"environment-variables","title":"Custom Environment Variables","description":"A syntax for using custom values accepted by CSS globally","specification":"https://drafts.csswg.org/css-env-1/","stage":0,"caniuse-compat":{"and_chr":{"69":"y"},"chrome":{"69":"y"},"ios_saf":{"11.2":"y"},"safari":{"11.2":"y"}},"docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/env"},"example":"@media (max-width: env(--brand-small)) {\\n body {\\n padding: env(--brand-spacing);\\n }\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/jonathantneal/postcss-env-function"}]},{"id":"focus-visible-pseudo-class","title":"`:focus-visible` Focus-Indicated Pseudo-Class","description":"A pseudo-class for matching focused elements that indicate that focus to a user","specification":"https://www.w3.org/TR/selectors-4/#focus-visible-pseudo","stage":2,"caniuse":"css-focus-visible","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible"},"example":":focus:not(:focus-visible) {\\n outline: 0;\\n}","polyfills":[{"type":"JavaScript Library","link":"https://github.com/WICG/focus-visible"},{"type":"PostCSS Plugin","link":"https://github.com/jonathantneal/postcss-focus-visible"}]},{"id":"focus-within-pseudo-class","title":"`:focus-within` Focus Container Pseudo-Class","description":"A pseudo-class for matching elements that are either focused or that have focused descendants","specification":"https://www.w3.org/TR/selectors-4/#focus-within-pseudo","stage":2,"caniuse":"css-focus-within","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-within"},"example":"form:focus-within {\\n background: rgba(0, 0, 0, 0.3);\\n}","polyfills":[{"type":"JavaScript Library","link":"https://github.com/jonathantneal/focus-within"},{"type":"PostCSS Plugin","link":"https://github.com/jonathantneal/postcss-focus-within"}]},{"id":"font-variant-property","title":"`font-variant` Property","description":"A property for defining the usage of alternate glyphs in a font","specification":"https://www.w3.org/TR/css-fonts-3/#propdef-font-variant","stage":3,"caniuse":"font-variant-alternates","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant"},"example":"h2 {\\n font-variant: small-caps;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/postcss/postcss-font-variant"}]},{"id":"gap-properties","title":"Gap Properties","description":"Properties for defining gutters within a layout","specification":"https://www.w3.org/TR/css-grid-1/#gutters","stage":3,"caniuse-compat":{"chrome":{"66":"y"},"edge":{"16":"y"},"firefox":{"61":"y"},"safari":{"11.2":"y","TP":"y"}},"docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/gap"},"example":".grid-1 {\\n gap: 20px;\\n}\\n\\n.grid-2 {\\n column-gap: 40px;\\n row-gap: 20px;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/jonathantneal/postcss-gap-properties"}]},{"id":"gray-function","title":"`gray()` Function","description":"A function for specifying fully desaturated colors","specification":"https://www.w3.org/TR/css-color-4/#funcdef-gray","stage":2,"example":"p {\\n color: gray(50);\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/postcss/postcss-color-gray"}]},{"id":"grid-layout","title":"Grid Layout","description":"A syntax for using a grid concept to lay out content","specification":"https://www.w3.org/TR/css-grid-1/","stage":3,"caniuse":"css-grid","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/grid"},"example":"section {\\n display: grid;\\n grid-template-columns: 100px 100px 100px;\\n grid-gap: 10px;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/postcss/autoprefixer"}]},{"id":"has-pseudo-class","title":"`:has()` Relational Pseudo-Class","description":"A pseudo-class for matching ancestor and sibling elements","specification":"https://www.w3.org/TR/selectors-4/#has-pseudo","stage":2,"caniuse":"css-has","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/:has"},"example":"a:has(> img) {\\n display: block;\\n}","polyfills":[{"type":"JavaScript Library","link":"https://github.com/csstools/css-has-pseudo"},{"type":"PostCSS Plugin","link":"https://github.com/csstools/css-has-pseudo"}]},{"id":"hexadecimal-alpha-notation","title":"Hexadecimal Alpha Notation","description":"A 4 & 8 character hex color notation for specifying the opacity level","specification":"https://www.w3.org/TR/css-color-4/#hex-notation","stage":2,"caniuse":"css-rrggbbaa","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Syntax_2"},"example":"section {\\n background-color: #f3f3f3f3;\\n color: #0003;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/postcss/postcss-color-hex-alpha"}]},{"id":"hwb-function","title":"`hwb()` Function","description":"A function for specifying colors by hue and then a degree of whiteness and blackness to mix into it","specification":"https://www.w3.org/TR/css-color-4/#funcdef-hwb","stage":2,"example":"p {\\n color: hwb(120 44% 50%);\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/postcss/postcss-color-hwb"}]},{"id":"image-set-function","title":"`image-set()` Function","description":"A function for specifying image sources based on the user’s resolution","specification":"https://www.w3.org/TR/css-images-4/#image-set-notation","stage":2,"caniuse":"css-image-set","example":"p {\\n background-image: image-set(\\n \\"foo.png\\" 1x,\\n \\"foo-2x.png\\" 2x,\\n \\"foo-print.png\\" 600dpi\\n );\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/jonathantneal/postcss-image-set-function"}]},{"id":"in-out-of-range-pseudo-class","title":"`:in-range` and `:out-of-range` Pseudo-Classes","description":"A pseudo-class for matching elements that have range limitations","specification":"https://www.w3.org/TR/selectors-4/#range-pseudos","stage":2,"caniuse":"css-in-out-of-range","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/:in-range"},"example":"input:in-range {\\n background-color: rgba(0, 255, 0, 0.25);\\n}\\ninput:out-of-range {\\n background-color: rgba(255, 0, 0, 0.25);\\n border: 2px solid red;\\n}"},{"id":"lab-function","title":"`lab()` Function","description":"A function for specifying colors expressed in the CIE Lab color space","specification":"https://www.w3.org/TR/css-color-4/#funcdef-lab","stage":2,"example":"body {\\n color: lab(240 50 20);\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/jonathantneal/postcss-lab-function"}]},{"id":"lch-function","title":"`lch()` Function","description":"A function for specifying colors expressed in the CIE Lab color space with chroma and hue","specification":"https://www.w3.org/TR/css-color-4/#funcdef-lch","stage":2,"example":"body {\\n color: lch(53 105 40);\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/jonathantneal/postcss-lab-function"}]},{"id":"logical-properties-and-values","title":"Logical Properties and Values","description":"Flow-relative (left-to-right or right-to-left) properties and values","specification":"https://www.w3.org/TR/css-logical-1/","stage":2,"caniuse":"css-logical-props","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties"},"example":"span:first-child {\\n float: inline-start;\\n margin-inline-start: 10px;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/jonathantneal/postcss-logical-properties"}]},{"id":"matches-pseudo-class","title":"`:matches()` Matches-Any Pseudo-Class","description":"A pseudo-class for matching elements in a selector list","specification":"https://www.w3.org/TR/selectors-4/#matches-pseudo","stage":2,"caniuse":"css-matches-pseudo","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/:matches"},"example":"p:matches(:first-child, .special) {\\n margin-top: 1em;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/postcss/postcss-selector-matches"}]},{"id":"media-query-ranges","title":"Media Query Ranges","description":"A syntax for defining media query ranges using ordinary comparison operators","specification":"https://www.w3.org/TR/mediaqueries-4/#range-context","stage":3,"docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Using_media_queries#Syntax_improvements_in_Level_4"},"example":"@media (width < 480px) {}\\n\\n@media (480px <= width < 768px) {}\\n\\n@media (width >= 768px) {}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/postcss/postcss-media-minmax"}]},{"id":"nesting-rules","title":"Nesting Rules","description":"A syntax for nesting relative rules within rules","specification":"https://drafts.csswg.org/css-nesting-1/","stage":1,"example":"article {\\n & p {\\n color: #333;\\n }\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/jonathantneal/postcss-nesting"}]},{"id":"not-pseudo-class","title":"`:not()` Negation List Pseudo-Class","description":"A pseudo-class for ignoring elements in a selector list","specification":"https://www.w3.org/TR/selectors-4/#negation-pseudo","stage":2,"caniuse":"css-not-sel-list","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/:not"},"example":"p:not(:first-child, .special) {\\n margin-top: 1em;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/postcss/postcss-selector-not"}]},{"id":"overflow-property","title":"`overflow` Shorthand Property","description":"A property for defining `overflow-x` and `overflow-y`","specification":"https://www.w3.org/TR/css-overflow-3/#propdef-overflow","stage":2,"caniuse":"css-overflow","caniuse-compat":{"and_chr":{"68":"y"},"and_ff":{"61":"y"},"chrome":{"68":"y"},"firefox":{"61":"y"}},"docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/overflow"},"example":"html {\\n overflow: hidden auto;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/jonathantneal/postcss-overflow-shorthand"}]},{"id":"overflow-wrap-property","title":"`overflow-wrap` Property","description":"A property for defining whether to insert line breaks within words to prevent overflowing","specification":"https://www.w3.org/TR/css-text-3/#overflow-wrap-property","stage":2,"caniuse":"wordwrap","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-wrap"},"example":"p {\\n overflow-wrap: break-word;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/mattdimu/postcss-replace-overflow-wrap"}]},{"id":"overscroll-behavior-property","title":"`overscroll-behavior` Property","description":"Properties for controlling when the scroll position of a scroll container reaches the edge of a scrollport","specification":"https://drafts.csswg.org/css-overscroll-behavior","stage":1,"caniuse":"css-overscroll-behavior","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/overscroll-behavior"},"example":".messages {\\n height: 220px;\\n overflow: auto;\\n overscroll-behavior-y: contain;\\n}\\n\\nbody {\\n margin: 0;\\n overscroll-behavior: none;\\n}"},{"id":"place-properties","title":"Place Properties","description":"Properties for defining alignment within a layout","specification":"https://www.w3.org/TR/css-align-3/#place-items-property","stage":2,"caniuse-compat":{"chrome":{"59":"y"},"firefox":{"45":"y"}},"docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/place-content"},"example":".example {\\n place-content: flex-end;\\n place-items: center / space-between;\\n place-self: flex-start / center;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/jonathantneal/postcss-place"}]},{"id":"prefers-color-scheme-query","title":"`prefers-color-scheme` Media Query","description":"A media query to detect if the user has requested the system use a light or dark color theme","specification":"https://drafts.csswg.org/mediaqueries-5/#prefers-color-scheme","stage":1,"caniuse":"prefers-color-scheme","caniuse-compat":{"ios_saf":{"12.1":"y"},"safari":{"12.1":"y"}},"example":"body {\\n background-color: white;\\n color: black;\\n}\\n\\n@media (prefers-color-scheme: dark) {\\n body {\\n background-color: black;\\n color: white;\\n }\\n}","polyfills":[{"type":"JavaScript Library","link":"https://github.com/csstools/css-prefers-color-scheme"},{"type":"PostCSS Plugin","link":"https://github.com/csstools/css-prefers-color-scheme"}]},{"id":"prefers-reduced-motion-query","title":"`prefers-reduced-motion` Media Query","description":"A media query to detect if the user has requested less animation and general motion on the page","specification":"https://drafts.csswg.org/mediaqueries-5/#prefers-reduced-motion","stage":1,"caniuse":"prefers-reduced-motion","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion"},"example":".animation {\\n animation: vibrate 0.3s linear infinite both; \\n}\\n\\n@media (prefers-reduced-motion: reduce) {\\n .animation {\\n animation: none;\\n }\\n}"},{"id":"read-only-write-pseudo-class","title":"`:read-only` and `:read-write` selectors","description":"Pseudo-classes to match elements which are considered user-alterable","specification":"https://www.w3.org/TR/selectors-4/#rw-pseudos","stage":2,"caniuse":"css-read-only-write","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/:read-only"},"example":"input:read-only {\\n background-color: #ccc;\\n}"},{"id":"rebeccapurple-color","title":"`rebeccapurple` Color","description":"A particularly lovely shade of purple in memory of Rebecca Alison Meyer","specification":"https://www.w3.org/TR/css-color-4/#valdef-color-rebeccapurple","stage":2,"caniuse":"css-rebeccapurple","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/color_value"},"example":"html {\\n color: rebeccapurple;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/postcss/postcss-color-rebeccapurple"}]},{"id":"system-ui-font-family","title":"`system-ui` Font Family","description":"A generic font used to match the user’s interface","specification":"https://www.w3.org/TR/css-fonts-4/#system-ui-def","stage":2,"caniuse":"font-family-system-ui","docs":{"mdn":"https://developer.mozilla.org/en-US/docs/Web/CSS/font-family#Syntax"},"example":"body {\\n font-family: system-ui;\\n}","polyfills":[{"type":"PostCSS Plugin","link":"https://github.com/JLHwung/postcss-font-family-system-ui"}]},{"id":"when-else-rules","title":"When/Else Rules","description":"At-rules for specifying media queries and support queries in a single grammar","specification":"https://tabatkins.github.io/specs/css-when-else/","stage":0,"example":"@when media(width >= 640px) and (supports(display: flex) or supports(display: grid)) {\\n /* A */\\n} @else media(pointer: coarse) {\\n /* B */\\n} @else {\\n /* C */\\n}"},{"id":"where-pseudo-class","title":"`:where()` Zero-Specificity Pseudo-Class","description":"A pseudo-class for matching elements in a selector list without contributing specificity","specification":"https://drafts.csswg.org/selectors-4/#where-pseudo","stage":1,"example":"a:where(:not(:hover)) {\\n text-decoration: none;\\n}"}]')},9614:e=>{"use strict";e.exports=JSON.parse('[{"prop":"animation","initial":"${animation-name} ${animation-duration} ${animation-timing-function} ${animation-delay} ${animation-iteration-count} ${animation-direction} ${animation-fill-mode} ${animation-play-state}","combined":true},{"prop":"animation-delay","initial":"0s"},{"prop":"animation-direction","initial":"normal"},{"prop":"animation-duration","initial":"0s"},{"prop":"animation-fill-mode","initial":"none"},{"prop":"animation-iteration-count","initial":"1"},{"prop":"animation-name","initial":"none"},{"prop":"animation-play-state","initial":"running"},{"prop":"animation-timing-function","initial":"ease"},{"prop":"backface-visibility","initial":"visible","basic":true},{"prop":"background","initial":"${background-color} ${background-image} ${background-repeat} ${background-position} / ${background-size} ${background-origin} ${background-clip} ${background-attachment}","combined":true},{"prop":"background-attachment","initial":"scroll"},{"prop":"background-clip","initial":"border-box"},{"prop":"background-color","initial":"transparent"},{"prop":"background-image","initial":"none"},{"prop":"background-origin","initial":"padding-box"},{"prop":"background-position","initial":"0 0"},{"prop":"background-position-x","initial":"0"},{"prop":"background-position-y","initial":"0"},{"prop":"background-repeat","initial":"repeat"},{"prop":"background-size","initial":"auto auto"},{"prop":"border","initial":"${border-width} ${border-style} ${border-color}","combined":true},{"prop":"border-style","initial":"none"},{"prop":"border-width","initial":"medium"},{"prop":"border-color","initial":"currentColor"},{"prop":"border-bottom","initial":"0"},{"prop":"border-bottom-color","initial":"currentColor"},{"prop":"border-bottom-left-radius","initial":"0"},{"prop":"border-bottom-right-radius","initial":"0"},{"prop":"border-bottom-style","initial":"none"},{"prop":"border-bottom-width","initial":"medium"},{"prop":"border-collapse","initial":"separate","basic":true,"inherited":true},{"prop":"border-image","initial":"none","basic":true},{"prop":"border-left","initial":"0"},{"prop":"border-left-color","initial":"currentColor"},{"prop":"border-left-style","initial":"none"},{"prop":"border-left-width","initial":"medium"},{"prop":"border-radius","initial":"0","basic":true},{"prop":"border-right","initial":"0"},{"prop":"border-right-color","initial":"currentColor"},{"prop":"border-right-style","initial":"none"},{"prop":"border-right-width","initial":"medium"},{"prop":"border-spacing","initial":"0","basic":true,"inherited":true},{"prop":"border-top","initial":"0"},{"prop":"border-top-color","initial":"currentColor"},{"prop":"border-top-left-radius","initial":"0"},{"prop":"border-top-right-radius","initial":"0"},{"prop":"border-top-style","initial":"none"},{"prop":"border-top-width","initial":"medium"},{"prop":"bottom","initial":"auto","basic":true},{"prop":"box-shadow","initial":"none","basic":true},{"prop":"box-sizing","initial":"content-box","basic":true},{"prop":"caption-side","initial":"top","basic":true,"inherited":true},{"prop":"clear","initial":"none","basic":true},{"prop":"clip","initial":"auto","basic":true},{"prop":"color","initial":"#000","basic":true},{"prop":"columns","initial":"auto","basic":true},{"prop":"column-count","initial":"auto","basic":true},{"prop":"column-fill","initial":"balance","basic":true},{"prop":"column-gap","initial":"normal","basic":true},{"prop":"column-rule","initial":"${column-rule-width} ${column-rule-style} ${column-rule-color}","combined":true},{"prop":"column-rule-color","initial":"currentColor"},{"prop":"column-rule-style","initial":"none"},{"prop":"column-rule-width","initial":"medium"},{"prop":"column-span","initial":"1","basic":true},{"prop":"column-width","initial":"auto","basic":true},{"prop":"content","initial":"normal","basic":true},{"prop":"counter-increment","initial":"none","basic":true},{"prop":"counter-reset","initial":"none","basic":true},{"prop":"cursor","initial":"auto","basic":true,"inherited":true},{"prop":"direction","initial":"ltr","basic":true,"inherited":true},{"prop":"display","initial":"inline","basic":true},{"prop":"empty-cells","initial":"show","basic":true,"inherited":true},{"prop":"float","initial":"none","basic":true},{"prop":"font","contains":["font-style","font-variant","font-weight","font-stretch","font-size","line-height","font-family"],"basic":true,"inherited":true},{"prop":"font-family","initial":"serif"},{"prop":"font-size","initial":"medium"},{"prop":"font-style","initial":"normal"},{"prop":"font-variant","initial":"normal"},{"prop":"font-weight","initial":"normal"},{"prop":"font-stretch","initial":"normal"},{"prop":"line-height","initial":"normal","inherited":true},{"prop":"height","initial":"auto","basic":true},{"prop":"hyphens","initial":"none","basic":true,"inherited":true},{"prop":"left","initial":"auto","basic":true},{"prop":"letter-spacing","initial":"normal","basic":true,"inherited":true},{"prop":"list-style","initial":"${list-style-type} ${list-style-position} ${list-style-image}","combined":true,"inherited":true},{"prop":"list-style-image","initial":"none"},{"prop":"list-style-position","initial":"outside"},{"prop":"list-style-type","initial":"disc"},{"prop":"margin","initial":"0","basic":true},{"prop":"margin-bottom","initial":"0"},{"prop":"margin-left","initial":"0"},{"prop":"margin-right","initial":"0"},{"prop":"margin-top","initial":"0"},{"prop":"max-height","initial":"none","basic":true},{"prop":"max-width","initial":"none","basic":true},{"prop":"min-height","initial":"0","basic":true},{"prop":"min-width","initial":"0","basic":true},{"prop":"opacity","initial":"1","basic":true},{"prop":"orphans","initial":"2","basic":true},{"prop":"outline","initial":"${outline-width} ${outline-style} ${outline-color}","combined":true},{"prop":"outline-color","initial":"invert"},{"prop":"outline-style","initial":"none"},{"prop":"outline-width","initial":"medium"},{"prop":"overflow","initial":"visible","basic":true},{"prop":"overflow-x","initial":"visible","basic":true},{"prop":"overflow-y","initial":"visible","basic":true},{"prop":"padding","initial":"0","basic":true},{"prop":"padding-bottom","initial":"0"},{"prop":"padding-left","initial":"0"},{"prop":"padding-right","initial":"0"},{"prop":"padding-top","initial":"0"},{"prop":"page-break-after","initial":"auto","basic":true},{"prop":"page-break-before","initial":"auto","basic":true},{"prop":"page-break-inside","initial":"auto","basic":true},{"prop":"perspective","initial":"none","basic":true},{"prop":"perspective-origin","initial":"50% 50%","basic":true},{"prop":"position","initial":"static","basic":true},{"prop":"quotes","initial":"“ ” ‘ ’"},{"prop":"right","initial":"auto","basic":true},{"prop":"tab-size","initial":"8","basic":true,"inherited":true},{"prop":"table-layout","initial":"auto","basic":true},{"prop":"text-align","initial":"left","basic":true,"inherited":true},{"prop":"text-align-last","initial":"auto","basic":true,"inherited":true},{"prop":"text-decoration","initial":"${text-decoration-line}","combined":true},{"prop":"text-decoration-color","initial":"inherited"},{"prop":"text-decoration-color","initial":"currentColor"},{"prop":"text-decoration-line","initial":"none"},{"prop":"text-decoration-style","initial":"solid"},{"prop":"text-indent","initial":"0","basic":true,"inherited":true},{"prop":"text-shadow","initial":"none","basic":true,"inherited":true},{"prop":"text-transform","initial":"none","basic":true,"inherited":true},{"prop":"top","initial":"auto","basic":true},{"prop":"transform","initial":"none","basic":true},{"prop":"transform-origin","initial":"50% 50% 0","basic":true},{"prop":"transform-style","initial":"flat","basic":true},{"prop":"transition","initial":"${transition-property} ${transition-duration} ${transition-timing-function} ${transition-delay}","combined":true},{"prop":"transition-delay","initial":"0s"},{"prop":"transition-duration","initial":"0s"},{"prop":"transition-property","initial":"none"},{"prop":"transition-timing-function","initial":"ease"},{"prop":"unicode-bidi","initial":"normal","basic":true},{"prop":"vertical-align","initial":"baseline","basic":true},{"prop":"visibility","initial":"visible","basic":true,"inherited":true},{"prop":"white-space","initial":"normal","basic":true,"inherited":true},{"prop":"widows","initial":"2","basic":true,"inherited":true},{"prop":"width","initial":"auto","basic":true},{"prop":"word-spacing","initial":"normal","basic":true,"inherited":true},{"prop":"z-index","initial":"auto","basic":true}]')},3561:e=>{"use strict";e.exports=require("browserslist")},4338:e=>{"use strict";e.exports=require("caniuse-lite")},2242:e=>{"use strict";e.exports=require("chalk")},5747:e=>{"use strict";e.exports=require("fs")},5622:e=>{"use strict";e.exports=require("path")},2043:e=>{"use strict";e.exports=require("postcss")},1669:e=>{"use strict";e.exports=require("util")}};var r={};function __webpack_require__(t){if(r[t]){return r[t].exports}var n=r[t]={id:t,loaded:false,exports:{}};var i=true;try{e[t](n,n.exports,__webpack_require__);i=false}finally{if(i)delete r[t]}n.loaded=true;return n.exports}(()=>{__webpack_require__.nmd=(e=>{e.paths=[];if(!e.children)e.children=[];return e})})();__webpack_require__.ab=__dirname+"/";return __webpack_require__(469)})(); \ No newline at end of file diff --git a/packages/next/compiled/webpack/LICENSE b/packages/next/compiled/webpack/LICENSE new file mode 100644 index 0000000000000..8c11fc7289b75 --- /dev/null +++ b/packages/next/compiled/webpack/LICENSE @@ -0,0 +1,20 @@ +Copyright JS Foundation and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/packages/next/compiled/webpack/amd-define.js b/packages/next/compiled/webpack/amd-define.js new file mode 100644 index 0000000000000..0d32606a1ae0d --- /dev/null +++ b/packages/next/compiled/webpack/amd-define.js @@ -0,0 +1,3 @@ +module.exports = function() { + throw new Error("define cannot be used indirect"); +}; diff --git a/packages/next/compiled/webpack/amd-options.js b/packages/next/compiled/webpack/amd-options.js new file mode 100644 index 0000000000000..f7dd4753385c1 --- /dev/null +++ b/packages/next/compiled/webpack/amd-options.js @@ -0,0 +1,2 @@ +/* globals __webpack_amd_options__ */ +module.exports = __webpack_amd_options__; diff --git a/packages/next/compiled/webpack/assert.js b/packages/next/compiled/webpack/assert.js new file mode 100644 index 0000000000000..a9aa6ada70280 --- /dev/null +++ b/packages/next/compiled/webpack/assert.js @@ -0,0 +1,506 @@ +'use strict'; + +var objectAssign = require('object-assign'); + +// compare and isBuffer taken from https://github.com/feross/buffer/blob/680e9e5e488f22aac27599a57dc844a6315928dd/index.js +// original notice: + +/*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh + * @license MIT + */ +function compare(a, b) { + if (a === b) { + return 0; + } + + var x = a.length; + var y = b.length; + + for (var i = 0, len = Math.min(x, y); i < len; ++i) { + if (a[i] !== b[i]) { + x = a[i]; + y = b[i]; + break; + } + } + + if (x < y) { + return -1; + } + if (y < x) { + return 1; + } + return 0; +} +function isBuffer(b) { + if (global.Buffer && typeof global.Buffer.isBuffer === 'function') { + return global.Buffer.isBuffer(b); + } + return !!(b != null && b._isBuffer); +} + +// based on node assert, original notice: +// NB: The URL to the CommonJS spec is kept just for tradition. +// node-assert has evolved a lot since then, both in API and behavior. + +// http://wiki.commonjs.org/wiki/Unit_Testing/1.0 +// +// THIS IS NOT TESTED NOR LIKELY TO WORK OUTSIDE V8! +// +// Originally from narwhal.js (http://narwhaljs.org) +// Copyright (c) 2009 Thomas Robinson <280north.com> +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the 'Software'), to +// deal in the Software without restriction, including without limitation the +// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +// sell copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +var util = require('util/'); +var hasOwn = Object.prototype.hasOwnProperty; +var pSlice = Array.prototype.slice; +var functionsHaveNames = (function () { + return function foo() {}.name === 'foo'; +}()); +function pToString (obj) { + return Object.prototype.toString.call(obj); +} +function isView(arrbuf) { + if (isBuffer(arrbuf)) { + return false; + } + if (typeof global.ArrayBuffer !== 'function') { + return false; + } + if (typeof ArrayBuffer.isView === 'function') { + return ArrayBuffer.isView(arrbuf); + } + if (!arrbuf) { + return false; + } + if (arrbuf instanceof DataView) { + return true; + } + if (arrbuf.buffer && arrbuf.buffer instanceof ArrayBuffer) { + return true; + } + return false; +} +// 1. The assert module provides functions that throw +// AssertionError's when particular conditions are not met. The +// assert module must conform to the following interface. + +var assert = module.exports = ok; + +// 2. The AssertionError is defined in assert. +// new assert.AssertionError({ message: message, +// actual: actual, +// expected: expected }) + +var regex = /\s*function\s+([^\(\s]*)\s*/; +// based on https://github.com/ljharb/function.prototype.name/blob/adeeeec8bfcc6068b187d7d9fb3d5bb1d3a30899/implementation.js +function getName(func) { + if (!util.isFunction(func)) { + return; + } + if (functionsHaveNames) { + return func.name; + } + var str = func.toString(); + var match = str.match(regex); + return match && match[1]; +} +assert.AssertionError = function AssertionError(options) { + this.name = 'AssertionError'; + this.actual = options.actual; + this.expected = options.expected; + this.operator = options.operator; + if (options.message) { + this.message = options.message; + this.generatedMessage = false; + } else { + this.message = getMessage(this); + this.generatedMessage = true; + } + var stackStartFunction = options.stackStartFunction || fail; + if (Error.captureStackTrace) { + Error.captureStackTrace(this, stackStartFunction); + } else { + // non v8 browsers so we can have a stacktrace + var err = new Error(); + if (err.stack) { + var out = err.stack; + + // try to strip useless frames + var fn_name = getName(stackStartFunction); + var idx = out.indexOf('\n' + fn_name); + if (idx >= 0) { + // once we have located the function frame + // we need to strip out everything before it (and its line) + var next_line = out.indexOf('\n', idx + 1); + out = out.substring(next_line + 1); + } + + this.stack = out; + } + } +}; + +// assert.AssertionError instanceof Error +util.inherits(assert.AssertionError, Error); + +function truncate(s, n) { + if (typeof s === 'string') { + return s.length < n ? s : s.slice(0, n); + } else { + return s; + } +} +function inspect(something) { + if (functionsHaveNames || !util.isFunction(something)) { + return util.inspect(something); + } + var rawname = getName(something); + var name = rawname ? ': ' + rawname : ''; + return '[Function' + name + ']'; +} +function getMessage(self) { + return truncate(inspect(self.actual), 128) + ' ' + + self.operator + ' ' + + truncate(inspect(self.expected), 128); +} + +// At present only the three keys mentioned above are used and +// understood by the spec. Implementations or sub modules can pass +// other keys to the AssertionError's constructor - they will be +// ignored. + +// 3. All of the following functions must throw an AssertionError +// when a corresponding condition is not met, with a message that +// may be undefined if not provided. All assertion methods provide +// both the actual and expected values to the assertion error for +// display purposes. + +function fail(actual, expected, message, operator, stackStartFunction) { + throw new assert.AssertionError({ + message: message, + actual: actual, + expected: expected, + operator: operator, + stackStartFunction: stackStartFunction + }); +} + +// EXTENSION! allows for well behaved errors defined elsewhere. +assert.fail = fail; + +// 4. Pure assertion tests whether a value is truthy, as determined +// by !!guard. +// assert.ok(guard, message_opt); +// This statement is equivalent to assert.equal(true, !!guard, +// message_opt);. To test strictly for the value true, use +// assert.strictEqual(true, guard, message_opt);. + +function ok(value, message) { + if (!value) fail(value, true, message, '==', assert.ok); +} +assert.ok = ok; + +// 5. The equality assertion tests shallow, coercive equality with +// ==. +// assert.equal(actual, expected, message_opt); + +assert.equal = function equal(actual, expected, message) { + if (actual != expected) fail(actual, expected, message, '==', assert.equal); +}; + +// 6. The non-equality assertion tests for whether two objects are not equal +// with != assert.notEqual(actual, expected, message_opt); + +assert.notEqual = function notEqual(actual, expected, message) { + if (actual == expected) { + fail(actual, expected, message, '!=', assert.notEqual); + } +}; + +// 7. The equivalence assertion tests a deep equality relation. +// assert.deepEqual(actual, expected, message_opt); + +assert.deepEqual = function deepEqual(actual, expected, message) { + if (!_deepEqual(actual, expected, false)) { + fail(actual, expected, message, 'deepEqual', assert.deepEqual); + } +}; + +assert.deepStrictEqual = function deepStrictEqual(actual, expected, message) { + if (!_deepEqual(actual, expected, true)) { + fail(actual, expected, message, 'deepStrictEqual', assert.deepStrictEqual); + } +}; + +function _deepEqual(actual, expected, strict, memos) { + // 7.1. All identical values are equivalent, as determined by ===. + if (actual === expected) { + return true; + } else if (isBuffer(actual) && isBuffer(expected)) { + return compare(actual, expected) === 0; + + // 7.2. If the expected value is a Date object, the actual value is + // equivalent if it is also a Date object that refers to the same time. + } else if (util.isDate(actual) && util.isDate(expected)) { + return actual.getTime() === expected.getTime(); + + // 7.3 If the expected value is a RegExp object, the actual value is + // equivalent if it is also a RegExp object with the same source and + // properties (`global`, `multiline`, `lastIndex`, `ignoreCase`). + } else if (util.isRegExp(actual) && util.isRegExp(expected)) { + return actual.source === expected.source && + actual.global === expected.global && + actual.multiline === expected.multiline && + actual.lastIndex === expected.lastIndex && + actual.ignoreCase === expected.ignoreCase; + + // 7.4. Other pairs that do not both pass typeof value == 'object', + // equivalence is determined by ==. + } else if ((actual === null || typeof actual !== 'object') && + (expected === null || typeof expected !== 'object')) { + return strict ? actual === expected : actual == expected; + + // If both values are instances of typed arrays, wrap their underlying + // ArrayBuffers in a Buffer each to increase performance + // This optimization requires the arrays to have the same type as checked by + // Object.prototype.toString (aka pToString). Never perform binary + // comparisons for Float*Arrays, though, since e.g. +0 === -0 but their + // bit patterns are not identical. + } else if (isView(actual) && isView(expected) && + pToString(actual) === pToString(expected) && + !(actual instanceof Float32Array || + actual instanceof Float64Array)) { + return compare(new Uint8Array(actual.buffer), + new Uint8Array(expected.buffer)) === 0; + + // 7.5 For all other Object pairs, including Array objects, equivalence is + // determined by having the same number of owned properties (as verified + // with Object.prototype.hasOwnProperty.call), the same set of keys + // (although not necessarily the same order), equivalent values for every + // corresponding key, and an identical 'prototype' property. Note: this + // accounts for both named and indexed properties on Arrays. + } else if (isBuffer(actual) !== isBuffer(expected)) { + return false; + } else { + memos = memos || {actual: [], expected: []}; + + var actualIndex = memos.actual.indexOf(actual); + if (actualIndex !== -1) { + if (actualIndex === memos.expected.indexOf(expected)) { + return true; + } + } + + memos.actual.push(actual); + memos.expected.push(expected); + + return objEquiv(actual, expected, strict, memos); + } +} + +function isArguments(object) { + return Object.prototype.toString.call(object) == '[object Arguments]'; +} + +function objEquiv(a, b, strict, actualVisitedObjects) { + if (a === null || a === undefined || b === null || b === undefined) + return false; + // if one is a primitive, the other must be same + if (util.isPrimitive(a) || util.isPrimitive(b)) + return a === b; + if (strict && Object.getPrototypeOf(a) !== Object.getPrototypeOf(b)) + return false; + var aIsArgs = isArguments(a); + var bIsArgs = isArguments(b); + if ((aIsArgs && !bIsArgs) || (!aIsArgs && bIsArgs)) + return false; + if (aIsArgs) { + a = pSlice.call(a); + b = pSlice.call(b); + return _deepEqual(a, b, strict); + } + var ka = objectKeys(a); + var kb = objectKeys(b); + var key, i; + // having the same number of owned properties (keys incorporates + // hasOwnProperty) + if (ka.length !== kb.length) + return false; + //the same set of keys (although not necessarily the same order), + ka.sort(); + kb.sort(); + //~~~cheap key test + for (i = ka.length - 1; i >= 0; i--) { + if (ka[i] !== kb[i]) + return false; + } + //equivalent values for every corresponding key, and + //~~~possibly expensive deep test + for (i = ka.length - 1; i >= 0; i--) { + key = ka[i]; + if (!_deepEqual(a[key], b[key], strict, actualVisitedObjects)) + return false; + } + return true; +} + +// 8. The non-equivalence assertion tests for any deep inequality. +// assert.notDeepEqual(actual, expected, message_opt); + +assert.notDeepEqual = function notDeepEqual(actual, expected, message) { + if (_deepEqual(actual, expected, false)) { + fail(actual, expected, message, 'notDeepEqual', assert.notDeepEqual); + } +}; + +assert.notDeepStrictEqual = notDeepStrictEqual; +function notDeepStrictEqual(actual, expected, message) { + if (_deepEqual(actual, expected, true)) { + fail(actual, expected, message, 'notDeepStrictEqual', notDeepStrictEqual); + } +} + + +// 9. The strict equality assertion tests strict equality, as determined by ===. +// assert.strictEqual(actual, expected, message_opt); + +assert.strictEqual = function strictEqual(actual, expected, message) { + if (actual !== expected) { + fail(actual, expected, message, '===', assert.strictEqual); + } +}; + +// 10. The strict non-equality assertion tests for strict inequality, as +// determined by !==. assert.notStrictEqual(actual, expected, message_opt); + +assert.notStrictEqual = function notStrictEqual(actual, expected, message) { + if (actual === expected) { + fail(actual, expected, message, '!==', assert.notStrictEqual); + } +}; + +function expectedException(actual, expected) { + if (!actual || !expected) { + return false; + } + + if (Object.prototype.toString.call(expected) == '[object RegExp]') { + return expected.test(actual); + } + + try { + if (actual instanceof expected) { + return true; + } + } catch (e) { + // Ignore. The instanceof check doesn't work for arrow functions. + } + + if (Error.isPrototypeOf(expected)) { + return false; + } + + return expected.call({}, actual) === true; +} + +function _tryBlock(block) { + var error; + try { + block(); + } catch (e) { + error = e; + } + return error; +} + +function _throws(shouldThrow, block, expected, message) { + var actual; + + if (typeof block !== 'function') { + throw new TypeError('"block" argument must be a function'); + } + + if (typeof expected === 'string') { + message = expected; + expected = null; + } + + actual = _tryBlock(block); + + message = (expected && expected.name ? ' (' + expected.name + ').' : '.') + + (message ? ' ' + message : '.'); + + if (shouldThrow && !actual) { + fail(actual, expected, 'Missing expected exception' + message); + } + + var userProvidedMessage = typeof message === 'string'; + var isUnwantedException = !shouldThrow && util.isError(actual); + var isUnexpectedException = !shouldThrow && actual && !expected; + + if ((isUnwantedException && + userProvidedMessage && + expectedException(actual, expected)) || + isUnexpectedException) { + fail(actual, expected, 'Got unwanted exception' + message); + } + + if ((shouldThrow && actual && expected && + !expectedException(actual, expected)) || (!shouldThrow && actual)) { + throw actual; + } +} + +// 11. Expected to throw an error: +// assert.throws(block, Error_opt, message_opt); + +assert.throws = function(block, /*optional*/error, /*optional*/message) { + _throws(true, block, error, message); +}; + +// EXTENSION! This is annoying to write outside this module. +assert.doesNotThrow = function(block, /*optional*/error, /*optional*/message) { + _throws(false, block, error, message); +}; + +assert.ifError = function(err) { if (err) throw err; }; + +// Expose a strict only variant of assert +function strict(value, message) { + if (!value) fail(value, true, message, '==', strict); +} +assert.strict = objectAssign(strict, assert, { + equal: assert.strictEqual, + deepEqual: assert.deepStrictEqual, + notEqual: assert.notStrictEqual, + notDeepEqual: assert.notDeepStrictEqual +}); +assert.strict.strict = assert.strict; + +var objectKeys = Object.keys || function (obj) { + var keys = []; + for (var key in obj) { + if (hasOwn.call(obj, key)) keys.push(key); + } + return keys; +}; diff --git a/packages/next/compiled/webpack/browser.js b/packages/next/compiled/webpack/browser.js new file mode 100644 index 0000000000000..22d9a2ad4516d --- /dev/null +++ b/packages/next/compiled/webpack/browser.js @@ -0,0 +1,49 @@ +exports.endianness = function () { return 'LE' }; + +exports.hostname = function () { + if (typeof location !== 'undefined') { + return location.hostname + } + else return ''; +}; + +exports.loadavg = function () { return [] }; + +exports.uptime = function () { return 0 }; + +exports.freemem = function () { + return Number.MAX_VALUE; +}; + +exports.totalmem = function () { + return Number.MAX_VALUE; +}; + +exports.cpus = function () { return [] }; + +exports.type = function () { return 'Browser' }; + +exports.release = function () { + if (typeof navigator !== 'undefined') { + return navigator.appVersion; + } + return ''; +}; + +exports.networkInterfaces += exports.getNetworkInterfaces += function () { return {} }; + +exports.arch = function () { return 'javascript' }; + +exports.platform = function () { return 'browser' }; + +exports.tmpdir = exports.tmpDir = function () { + return '/tmp'; +}; + +exports.EOL = '\n'; + +exports.homedir = function () { + return '/' +}; diff --git a/packages/next/compiled/webpack/browser1.js b/packages/next/compiled/webpack/browser1.js new file mode 100644 index 0000000000000..d059362306586 --- /dev/null +++ b/packages/next/compiled/webpack/browser1.js @@ -0,0 +1,184 @@ +// shim for using process in browser +var process = module.exports = {}; + +// cached from whatever global is present so that test runners that stub it +// don't break things. But we need to wrap it in a try catch in case it is +// wrapped in strict mode code which doesn't define any globals. It's inside a +// function because try/catches deoptimize in certain engines. + +var cachedSetTimeout; +var cachedClearTimeout; + +function defaultSetTimout() { + throw new Error('setTimeout has not been defined'); +} +function defaultClearTimeout () { + throw new Error('clearTimeout has not been defined'); +} +(function () { + try { + if (typeof setTimeout === 'function') { + cachedSetTimeout = setTimeout; + } else { + cachedSetTimeout = defaultSetTimout; + } + } catch (e) { + cachedSetTimeout = defaultSetTimout; + } + try { + if (typeof clearTimeout === 'function') { + cachedClearTimeout = clearTimeout; + } else { + cachedClearTimeout = defaultClearTimeout; + } + } catch (e) { + cachedClearTimeout = defaultClearTimeout; + } +} ()) +function runTimeout(fun) { + if (cachedSetTimeout === setTimeout) { + //normal enviroments in sane situations + return setTimeout(fun, 0); + } + // if setTimeout wasn't available but was latter defined + if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) { + cachedSetTimeout = setTimeout; + return setTimeout(fun, 0); + } + try { + // when when somebody has screwed with setTimeout but no I.E. maddness + return cachedSetTimeout(fun, 0); + } catch(e){ + try { + // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally + return cachedSetTimeout.call(null, fun, 0); + } catch(e){ + // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error + return cachedSetTimeout.call(this, fun, 0); + } + } + + +} +function runClearTimeout(marker) { + if (cachedClearTimeout === clearTimeout) { + //normal enviroments in sane situations + return clearTimeout(marker); + } + // if clearTimeout wasn't available but was latter defined + if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) { + cachedClearTimeout = clearTimeout; + return clearTimeout(marker); + } + try { + // when when somebody has screwed with setTimeout but no I.E. maddness + return cachedClearTimeout(marker); + } catch (e){ + try { + // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally + return cachedClearTimeout.call(null, marker); + } catch (e){ + // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error. + // Some versions of I.E. have different rules for clearTimeout vs setTimeout + return cachedClearTimeout.call(this, marker); + } + } + + + +} +var queue = []; +var draining = false; +var currentQueue; +var queueIndex = -1; + +function cleanUpNextTick() { + if (!draining || !currentQueue) { + return; + } + draining = false; + if (currentQueue.length) { + queue = currentQueue.concat(queue); + } else { + queueIndex = -1; + } + if (queue.length) { + drainQueue(); + } +} + +function drainQueue() { + if (draining) { + return; + } + var timeout = runTimeout(cleanUpNextTick); + draining = true; + + var len = queue.length; + while(len) { + currentQueue = queue; + queue = []; + while (++queueIndex < len) { + if (currentQueue) { + currentQueue[queueIndex].run(); + } + } + queueIndex = -1; + len = queue.length; + } + currentQueue = null; + draining = false; + runClearTimeout(timeout); +} + +process.nextTick = function (fun) { + var args = new Array(arguments.length - 1); + if (arguments.length > 1) { + for (var i = 1; i < arguments.length; i++) { + args[i - 1] = arguments[i]; + } + } + queue.push(new Item(fun, args)); + if (queue.length === 1 && !draining) { + runTimeout(drainQueue); + } +}; + +// v8 likes predictible objects +function Item(fun, array) { + this.fun = fun; + this.array = array; +} +Item.prototype.run = function () { + this.fun.apply(null, this.array); +}; +process.title = 'browser'; +process.browser = true; +process.env = {}; +process.argv = []; +process.version = ''; // empty string to avoid regexp issues +process.versions = {}; + +function noop() {} + +process.on = noop; +process.addListener = noop; +process.once = noop; +process.off = noop; +process.removeListener = noop; +process.removeAllListeners = noop; +process.emit = noop; +process.prependListener = noop; +process.prependOnceListener = noop; + +process.listeners = function (name) { return [] } + +process.binding = function (name) { + throw new Error('process.binding is not supported'); +}; + +process.cwd = function () { return '/' }; +process.chdir = function (dir) { + throw new Error('process.chdir is not supported'); +}; +process.umask = function() { return 0; }; diff --git a/packages/next/compiled/webpack/bundle4.js b/packages/next/compiled/webpack/bundle4.js new file mode 100644 index 0000000000000..ff42738796ce1 --- /dev/null +++ b/packages/next/compiled/webpack/bundle4.js @@ -0,0 +1 @@ +module.exports=(()=>{var e={93798:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.cloneNode=cloneNode;function cloneNode(e){var t={};for(var n in e){t[n]=e[n]}return t}},51826:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r={numberLiteralFromRaw:true,withLoc:true,withRaw:true,funcParam:true,indexLiteral:true,memIndexLiteral:true,instruction:true,objectInstruction:true,traverse:true,signatures:true,cloneNode:true};Object.defineProperty(t,"numberLiteralFromRaw",{enumerable:true,get:function get(){return i.numberLiteralFromRaw}});Object.defineProperty(t,"withLoc",{enumerable:true,get:function get(){return i.withLoc}});Object.defineProperty(t,"withRaw",{enumerable:true,get:function get(){return i.withRaw}});Object.defineProperty(t,"funcParam",{enumerable:true,get:function get(){return i.funcParam}});Object.defineProperty(t,"indexLiteral",{enumerable:true,get:function get(){return i.indexLiteral}});Object.defineProperty(t,"memIndexLiteral",{enumerable:true,get:function get(){return i.memIndexLiteral}});Object.defineProperty(t,"instruction",{enumerable:true,get:function get(){return i.instruction}});Object.defineProperty(t,"objectInstruction",{enumerable:true,get:function get(){return i.objectInstruction}});Object.defineProperty(t,"traverse",{enumerable:true,get:function get(){return o.traverse}});Object.defineProperty(t,"signatures",{enumerable:true,get:function get(){return a.signatures}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function get(){return l.cloneNode}});var s=n(2519);Object.keys(s).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(r,e))return;Object.defineProperty(t,e,{enumerable:true,get:function get(){return s[e]}})});var i=n(26727);var o=n(98190);var a=n(24029);var c=n(21064);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(r,e))return;Object.defineProperty(t,e,{enumerable:true,get:function get(){return c[e]}})});var l=n(93798)},26727:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.numberLiteralFromRaw=numberLiteralFromRaw;t.instruction=instruction;t.objectInstruction=objectInstruction;t.withLoc=withLoc;t.withRaw=withRaw;t.funcParam=funcParam;t.indexLiteral=indexLiteral;t.memIndexLiteral=memIndexLiteral;var r=n(78532);var s=n(2519);function numberLiteralFromRaw(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"i32";var n=e;if(typeof e==="string"){e=e.replace(/_/g,"")}if(typeof e==="number"){return(0,s.numberLiteral)(e,String(n))}else{switch(t){case"i32":{return(0,s.numberLiteral)((0,r.parse32I)(e),String(n))}case"u32":{return(0,s.numberLiteral)((0,r.parseU32)(e),String(n))}case"i64":{return(0,s.longNumberLiteral)((0,r.parse64I)(e),String(n))}case"f32":{return(0,s.floatLiteral)((0,r.parse32F)(e),(0,r.isNanLiteral)(e),(0,r.isInfLiteral)(e),String(n))}default:{return(0,s.floatLiteral)((0,r.parse64F)(e),(0,r.isNanLiteral)(e),(0,r.isInfLiteral)(e),String(n))}}}}function instruction(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return(0,s.instr)(e,undefined,t,n)}function objectInstruction(e,t){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:[];var r=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{};return(0,s.instr)(e,t,n,r)}function withLoc(e,t,n){var r={start:n,end:t};e.loc=r;return e}function withRaw(e,t){e.raw=t;return e}function funcParam(e,t){return{id:t,valtype:e}}function indexLiteral(e){var t=numberLiteralFromRaw(e,"u32");return t}function memIndexLiteral(e){var t=numberLiteralFromRaw(e,"u32");return t}},90430:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createPath=createPath;function _extends(){_extends=Object.assign||function(e){for(var t=1;t2&&arguments[2]!==undefined?arguments[2]:0;if(!r){throw new Error("inList"+" error: "+("insert can only be used for nodes that are within lists"||0))}if(!(s!=null)){throw new Error("parentPath != null"+" error: "+("Can not remove root node"||0))}var a=s.node[i];var c=a.findIndex(function(e){return e===n});a.splice(c+o,0,t)}function remove(e){var t=e.node,n=e.parentKey,r=e.parentPath;if(!(r!=null)){throw new Error("parentPath != null"+" error: "+("Can not remove root node"||0))}var s=r.node;var i=s[n];if(Array.isArray(i)){s[n]=i.filter(function(e){return e!==t})}else{delete s[n]}t._deleted=true}function stop(e){e.shouldStop=true}function replaceWith(e,t){var n=e.parentPath.node;var r=n[e.parentKey];if(Array.isArray(r)){var s=r.findIndex(function(t){return t===e.node});r.splice(s,1,t)}else{n[e.parentKey]=t}e.node._deleted=true;e.node=t}function bindNodeOperations(e,t){var n=Object.keys(e);var r={};n.forEach(function(n){r[n]=e[n].bind(null,t)});return r}function createPathOperations(e){return bindNodeOperations({findParent:findParent,replaceWith:replaceWith,remove:remove,insertBefore:insertBefore,insertAfter:insertAfter,stop:stop},e)}function createPath(e){var t=_extends({},e);Object.assign(t,createPathOperations(t));return t}},2519:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.module=_module;t.moduleMetadata=moduleMetadata;t.moduleNameMetadata=moduleNameMetadata;t.functionNameMetadata=functionNameMetadata;t.localNameMetadata=localNameMetadata;t.binaryModule=binaryModule;t.quoteModule=quoteModule;t.sectionMetadata=sectionMetadata;t.producersSectionMetadata=producersSectionMetadata;t.producerMetadata=producerMetadata;t.producerMetadataVersionedName=producerMetadataVersionedName;t.loopInstruction=loopInstruction;t.instr=instr;t.ifInstruction=ifInstruction;t.stringLiteral=stringLiteral;t.numberLiteral=numberLiteral;t.longNumberLiteral=longNumberLiteral;t.floatLiteral=floatLiteral;t.elem=elem;t.indexInFuncSection=indexInFuncSection;t.valtypeLiteral=valtypeLiteral;t.typeInstruction=typeInstruction;t.start=start;t.globalType=globalType;t.leadingComment=leadingComment;t.blockComment=blockComment;t.data=data;t.global=global;t.table=table;t.memory=memory;t.funcImportDescr=funcImportDescr;t.moduleImport=moduleImport;t.moduleExportDescr=moduleExportDescr;t.moduleExport=moduleExport;t.limit=limit;t.signature=signature;t.program=program;t.identifier=identifier;t.blockInstruction=blockInstruction;t.callInstruction=callInstruction;t.callIndirectInstruction=callIndirectInstruction;t.byteArray=byteArray;t.func=func;t.internalBrUnless=internalBrUnless;t.internalGoto=internalGoto;t.internalCallExtern=internalCallExtern;t.internalEndAndReturn=internalEndAndReturn;t.assertInternalCallExtern=t.assertInternalGoto=t.assertInternalBrUnless=t.assertFunc=t.assertByteArray=t.assertCallIndirectInstruction=t.assertCallInstruction=t.assertBlockInstruction=t.assertIdentifier=t.assertProgram=t.assertSignature=t.assertLimit=t.assertModuleExport=t.assertModuleExportDescr=t.assertModuleImport=t.assertFuncImportDescr=t.assertMemory=t.assertTable=t.assertGlobal=t.assertData=t.assertBlockComment=t.assertLeadingComment=t.assertGlobalType=t.assertStart=t.assertTypeInstruction=t.assertValtypeLiteral=t.assertIndexInFuncSection=t.assertElem=t.assertFloatLiteral=t.assertLongNumberLiteral=t.assertNumberLiteral=t.assertStringLiteral=t.assertIfInstruction=t.assertInstr=t.assertLoopInstruction=t.assertProducerMetadataVersionedName=t.assertProducerMetadata=t.assertProducersSectionMetadata=t.assertSectionMetadata=t.assertQuoteModule=t.assertBinaryModule=t.assertLocalNameMetadata=t.assertFunctionNameMetadata=t.assertModuleNameMetadata=t.assertModuleMetadata=t.assertModule=t.isIntrinsic=t.isImportDescr=t.isNumericLiteral=t.isExpression=t.isInstruction=t.isBlock=t.isNode=t.isInternalEndAndReturn=t.isInternalCallExtern=t.isInternalGoto=t.isInternalBrUnless=t.isFunc=t.isByteArray=t.isCallIndirectInstruction=t.isCallInstruction=t.isBlockInstruction=t.isIdentifier=t.isProgram=t.isSignature=t.isLimit=t.isModuleExport=t.isModuleExportDescr=t.isModuleImport=t.isFuncImportDescr=t.isMemory=t.isTable=t.isGlobal=t.isData=t.isBlockComment=t.isLeadingComment=t.isGlobalType=t.isStart=t.isTypeInstruction=t.isValtypeLiteral=t.isIndexInFuncSection=t.isElem=t.isFloatLiteral=t.isLongNumberLiteral=t.isNumberLiteral=t.isStringLiteral=t.isIfInstruction=t.isInstr=t.isLoopInstruction=t.isProducerMetadataVersionedName=t.isProducerMetadata=t.isProducersSectionMetadata=t.isSectionMetadata=t.isQuoteModule=t.isBinaryModule=t.isLocalNameMetadata=t.isFunctionNameMetadata=t.isModuleNameMetadata=t.isModuleMetadata=t.isModule=void 0;t.nodeAndUnionTypes=t.unionTypesMap=t.assertInternalEndAndReturn=void 0;function _typeof(e){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(e){return typeof e}}else{_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}function isTypeOf(e){return function(t){return t.type===e}}function assertTypeOf(e){return function(t){return function(){if(!(t.type===e)){throw new Error("n.type === t"+" error: "+(undefined||"unknown"))}}()}}function _module(e,t,n){if(e!==null&&e!==undefined){if(!(typeof e==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(e)||0))}}if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof fields === "object" && typeof fields.length !== "undefined"'+" error: "+(undefined||"unknown"))}var r={type:"Module",id:e,fields:t};if(typeof n!=="undefined"){r.metadata=n}return r}function moduleMetadata(e,t,n,r){if(!(_typeof(e)==="object"&&typeof e.length!=="undefined")){throw new Error('typeof sections === "object" && typeof sections.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(t!==null&&t!==undefined){if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof functionNames === "object" && typeof functionNames.length !== "undefined"'+" error: "+(undefined||"unknown"))}}if(n!==null&&n!==undefined){if(!(_typeof(n)==="object"&&typeof n.length!=="undefined")){throw new Error('typeof localNames === "object" && typeof localNames.length !== "undefined"'+" error: "+(undefined||"unknown"))}}if(r!==null&&r!==undefined){if(!(_typeof(r)==="object"&&typeof r.length!=="undefined")){throw new Error('typeof producers === "object" && typeof producers.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var s={type:"ModuleMetadata",sections:e};if(typeof t!=="undefined"&&t.length>0){s.functionNames=t}if(typeof n!=="undefined"&&n.length>0){s.localNames=n}if(typeof r!=="undefined"&&r.length>0){s.producers=r}return s}function moduleNameMetadata(e){if(!(typeof e==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(e)||0))}var t={type:"ModuleNameMetadata",value:e};return t}function functionNameMetadata(e,t){if(!(typeof e==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(e)||0))}if(!(typeof t==="number")){throw new Error('typeof index === "number"'+" error: "+("Argument index must be of type number, given: "+_typeof(t)||0))}var n={type:"FunctionNameMetadata",value:e,index:t};return n}function localNameMetadata(e,t,n){if(!(typeof e==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(e)||0))}if(!(typeof t==="number")){throw new Error('typeof localIndex === "number"'+" error: "+("Argument localIndex must be of type number, given: "+_typeof(t)||0))}if(!(typeof n==="number")){throw new Error('typeof functionIndex === "number"'+" error: "+("Argument functionIndex must be of type number, given: "+_typeof(n)||0))}var r={type:"LocalNameMetadata",value:e,localIndex:t,functionIndex:n};return r}function binaryModule(e,t){if(e!==null&&e!==undefined){if(!(typeof e==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(e)||0))}}if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof blob === "object" && typeof blob.length !== "undefined"'+" error: "+(undefined||"unknown"))}var n={type:"BinaryModule",id:e,blob:t};return n}function quoteModule(e,t){if(e!==null&&e!==undefined){if(!(typeof e==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(e)||0))}}if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof string === "object" && typeof string.length !== "undefined"'+" error: "+(undefined||"unknown"))}var n={type:"QuoteModule",id:e,string:t};return n}function sectionMetadata(e,t,n,r){if(!(typeof t==="number")){throw new Error('typeof startOffset === "number"'+" error: "+("Argument startOffset must be of type number, given: "+_typeof(t)||0))}var s={type:"SectionMetadata",section:e,startOffset:t,size:n,vectorOfSize:r};return s}function producersSectionMetadata(e){if(!(_typeof(e)==="object"&&typeof e.length!=="undefined")){throw new Error('typeof producers === "object" && typeof producers.length !== "undefined"'+" error: "+(undefined||"unknown"))}var t={type:"ProducersSectionMetadata",producers:e};return t}function producerMetadata(e,t,n){if(!(_typeof(e)==="object"&&typeof e.length!=="undefined")){throw new Error('typeof language === "object" && typeof language.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof processedBy === "object" && typeof processedBy.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(n)==="object"&&typeof n.length!=="undefined")){throw new Error('typeof sdk === "object" && typeof sdk.length !== "undefined"'+" error: "+(undefined||"unknown"))}var r={type:"ProducerMetadata",language:e,processedBy:t,sdk:n};return r}function producerMetadataVersionedName(e,t){if(!(typeof e==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(e)||0))}if(!(typeof t==="string")){throw new Error('typeof version === "string"'+" error: "+("Argument version must be of type string, given: "+_typeof(t)||0))}var n={type:"ProducerMetadataVersionedName",name:e,version:t};return n}function loopInstruction(e,t,n){if(!(_typeof(n)==="object"&&typeof n.length!=="undefined")){throw new Error('typeof instr === "object" && typeof instr.length !== "undefined"'+" error: "+(undefined||"unknown"))}var r={type:"LoopInstruction",id:"loop",label:e,resulttype:t,instr:n};return r}function instr(e,t,n,r){if(!(typeof e==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(e)||0))}if(!(_typeof(n)==="object"&&typeof n.length!=="undefined")){throw new Error('typeof args === "object" && typeof args.length !== "undefined"'+" error: "+(undefined||"unknown"))}var s={type:"Instr",id:e,args:n};if(typeof t!=="undefined"){s.object=t}if(typeof r!=="undefined"&&Object.keys(r).length!==0){s.namedArgs=r}return s}function ifInstruction(e,t,n,r,s){if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof test === "object" && typeof test.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(r)==="object"&&typeof r.length!=="undefined")){throw new Error('typeof consequent === "object" && typeof consequent.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(s)==="object"&&typeof s.length!=="undefined")){throw new Error('typeof alternate === "object" && typeof alternate.length !== "undefined"'+" error: "+(undefined||"unknown"))}var i={type:"IfInstruction",id:"if",testLabel:e,test:t,result:n,consequent:r,alternate:s};return i}function stringLiteral(e){if(!(typeof e==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(e)||0))}var t={type:"StringLiteral",value:e};return t}function numberLiteral(e,t){if(!(typeof e==="number")){throw new Error('typeof value === "number"'+" error: "+("Argument value must be of type number, given: "+_typeof(e)||0))}if(!(typeof t==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(t)||0))}var n={type:"NumberLiteral",value:e,raw:t};return n}function longNumberLiteral(e,t){if(!(typeof t==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(t)||0))}var n={type:"LongNumberLiteral",value:e,raw:t};return n}function floatLiteral(e,t,n,r){if(!(typeof e==="number")){throw new Error('typeof value === "number"'+" error: "+("Argument value must be of type number, given: "+_typeof(e)||0))}if(t!==null&&t!==undefined){if(!(typeof t==="boolean")){throw new Error('typeof nan === "boolean"'+" error: "+("Argument nan must be of type boolean, given: "+_typeof(t)||0))}}if(n!==null&&n!==undefined){if(!(typeof n==="boolean")){throw new Error('typeof inf === "boolean"'+" error: "+("Argument inf must be of type boolean, given: "+_typeof(n)||0))}}if(!(typeof r==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(r)||0))}var s={type:"FloatLiteral",value:e,raw:r};if(t===true){s.nan=true}if(n===true){s.inf=true}return s}function elem(e,t,n){if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof offset === "object" && typeof offset.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(n)==="object"&&typeof n.length!=="undefined")){throw new Error('typeof funcs === "object" && typeof funcs.length !== "undefined"'+" error: "+(undefined||"unknown"))}var r={type:"Elem",table:e,offset:t,funcs:n};return r}function indexInFuncSection(e){var t={type:"IndexInFuncSection",index:e};return t}function valtypeLiteral(e){var t={type:"ValtypeLiteral",name:e};return t}function typeInstruction(e,t){var n={type:"TypeInstruction",id:e,functype:t};return n}function start(e){var t={type:"Start",index:e};return t}function globalType(e,t){var n={type:"GlobalType",valtype:e,mutability:t};return n}function leadingComment(e){if(!(typeof e==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(e)||0))}var t={type:"LeadingComment",value:e};return t}function blockComment(e){if(!(typeof e==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(e)||0))}var t={type:"BlockComment",value:e};return t}function data(e,t,n){var r={type:"Data",memoryIndex:e,offset:t,init:n};return r}function global(e,t,n){if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof init === "object" && typeof init.length !== "undefined"'+" error: "+(undefined||"unknown"))}var r={type:"Global",globalType:e,init:t,name:n};return r}function table(e,t,n,r){if(!(t.type==="Limit")){throw new Error('limits.type === "Limit"'+" error: "+("Argument limits must be of type Limit, given: "+t.type||0))}if(r!==null&&r!==undefined){if(!(_typeof(r)==="object"&&typeof r.length!=="undefined")){throw new Error('typeof elements === "object" && typeof elements.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var s={type:"Table",elementType:e,limits:t,name:n};if(typeof r!=="undefined"&&r.length>0){s.elements=r}return s}function memory(e,t){var n={type:"Memory",limits:e,id:t};return n}function funcImportDescr(e,t){var n={type:"FuncImportDescr",id:e,signature:t};return n}function moduleImport(e,t,n){if(!(typeof e==="string")){throw new Error('typeof module === "string"'+" error: "+("Argument module must be of type string, given: "+_typeof(e)||0))}if(!(typeof t==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(t)||0))}var r={type:"ModuleImport",module:e,name:t,descr:n};return r}function moduleExportDescr(e,t){var n={type:"ModuleExportDescr",exportType:e,id:t};return n}function moduleExport(e,t){if(!(typeof e==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(e)||0))}var n={type:"ModuleExport",name:e,descr:t};return n}function limit(e,t){if(!(typeof e==="number")){throw new Error('typeof min === "number"'+" error: "+("Argument min must be of type number, given: "+_typeof(e)||0))}if(t!==null&&t!==undefined){if(!(typeof t==="number")){throw new Error('typeof max === "number"'+" error: "+("Argument max must be of type number, given: "+_typeof(t)||0))}}var n={type:"Limit",min:e};if(typeof t!=="undefined"){n.max=t}return n}function signature(e,t){if(!(_typeof(e)==="object"&&typeof e.length!=="undefined")){throw new Error('typeof params === "object" && typeof params.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof results === "object" && typeof results.length !== "undefined"'+" error: "+(undefined||"unknown"))}var n={type:"Signature",params:e,results:t};return n}function program(e){if(!(_typeof(e)==="object"&&typeof e.length!=="undefined")){throw new Error('typeof body === "object" && typeof body.length !== "undefined"'+" error: "+(undefined||"unknown"))}var t={type:"Program",body:e};return t}function identifier(e,t){if(!(typeof e==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(e)||0))}if(t!==null&&t!==undefined){if(!(typeof t==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(t)||0))}}var n={type:"Identifier",value:e};if(typeof t!=="undefined"){n.raw=t}return n}function blockInstruction(e,t,n){if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof instr === "object" && typeof instr.length !== "undefined"'+" error: "+(undefined||"unknown"))}var r={type:"BlockInstruction",id:"block",label:e,instr:t,result:n};return r}function callInstruction(e,t,n){if(t!==null&&t!==undefined){if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof instrArgs === "object" && typeof instrArgs.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var r={type:"CallInstruction",id:"call",index:e};if(typeof t!=="undefined"&&t.length>0){r.instrArgs=t}if(typeof n!=="undefined"){r.numeric=n}return r}function callIndirectInstruction(e,t){if(t!==null&&t!==undefined){if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof intrs === "object" && typeof intrs.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var n={type:"CallIndirectInstruction",id:"call_indirect",signature:e};if(typeof t!=="undefined"&&t.length>0){n.intrs=t}return n}function byteArray(e){if(!(_typeof(e)==="object"&&typeof e.length!=="undefined")){throw new Error('typeof values === "object" && typeof values.length !== "undefined"'+" error: "+(undefined||"unknown"))}var t={type:"ByteArray",values:e};return t}function func(e,t,n,r,s){if(!(_typeof(n)==="object"&&typeof n.length!=="undefined")){throw new Error('typeof body === "object" && typeof body.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(r!==null&&r!==undefined){if(!(typeof r==="boolean")){throw new Error('typeof isExternal === "boolean"'+" error: "+("Argument isExternal must be of type boolean, given: "+_typeof(r)||0))}}var i={type:"Func",name:e,signature:t,body:n};if(r===true){i.isExternal=true}if(typeof s!=="undefined"){i.metadata=s}return i}function internalBrUnless(e){if(!(typeof e==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(e)||0))}var t={type:"InternalBrUnless",target:e};return t}function internalGoto(e){if(!(typeof e==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(e)||0))}var t={type:"InternalGoto",target:e};return t}function internalCallExtern(e){if(!(typeof e==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(e)||0))}var t={type:"InternalCallExtern",target:e};return t}function internalEndAndReturn(){var e={type:"InternalEndAndReturn"};return e}var n=isTypeOf("Module");t.isModule=n;var r=isTypeOf("ModuleMetadata");t.isModuleMetadata=r;var s=isTypeOf("ModuleNameMetadata");t.isModuleNameMetadata=s;var i=isTypeOf("FunctionNameMetadata");t.isFunctionNameMetadata=i;var o=isTypeOf("LocalNameMetadata");t.isLocalNameMetadata=o;var a=isTypeOf("BinaryModule");t.isBinaryModule=a;var c=isTypeOf("QuoteModule");t.isQuoteModule=c;var l=isTypeOf("SectionMetadata");t.isSectionMetadata=l;var u=isTypeOf("ProducersSectionMetadata");t.isProducersSectionMetadata=u;var f=isTypeOf("ProducerMetadata");t.isProducerMetadata=f;var p=isTypeOf("ProducerMetadataVersionedName");t.isProducerMetadataVersionedName=p;var d=isTypeOf("LoopInstruction");t.isLoopInstruction=d;var h=isTypeOf("Instr");t.isInstr=h;var m=isTypeOf("IfInstruction");t.isIfInstruction=m;var y=isTypeOf("StringLiteral");t.isStringLiteral=y;var g=isTypeOf("NumberLiteral");t.isNumberLiteral=g;var v=isTypeOf("LongNumberLiteral");t.isLongNumberLiteral=v;var b=isTypeOf("FloatLiteral");t.isFloatLiteral=b;var w=isTypeOf("Elem");t.isElem=w;var k=isTypeOf("IndexInFuncSection");t.isIndexInFuncSection=k;var x=isTypeOf("ValtypeLiteral");t.isValtypeLiteral=x;var S=isTypeOf("TypeInstruction");t.isTypeInstruction=S;var E=isTypeOf("Start");t.isStart=E;var O=isTypeOf("GlobalType");t.isGlobalType=O;var C=isTypeOf("LeadingComment");t.isLeadingComment=C;var M=isTypeOf("BlockComment");t.isBlockComment=M;var A=isTypeOf("Data");t.isData=A;var I=isTypeOf("Global");t.isGlobal=I;var T=isTypeOf("Table");t.isTable=T;var R=isTypeOf("Memory");t.isMemory=R;var j=isTypeOf("FuncImportDescr");t.isFuncImportDescr=j;var F=isTypeOf("ModuleImport");t.isModuleImport=F;var N=isTypeOf("ModuleExportDescr");t.isModuleExportDescr=N;var D=isTypeOf("ModuleExport");t.isModuleExport=D;var P=isTypeOf("Limit");t.isLimit=P;var L=isTypeOf("Signature");t.isSignature=L;var q=isTypeOf("Program");t.isProgram=q;var _=isTypeOf("Identifier");t.isIdentifier=_;var z=isTypeOf("BlockInstruction");t.isBlockInstruction=z;var B=isTypeOf("CallInstruction");t.isCallInstruction=B;var W=isTypeOf("CallIndirectInstruction");t.isCallIndirectInstruction=W;var U=isTypeOf("ByteArray");t.isByteArray=U;var H=isTypeOf("Func");t.isFunc=H;var J=isTypeOf("InternalBrUnless");t.isInternalBrUnless=J;var G=isTypeOf("InternalGoto");t.isInternalGoto=G;var X=isTypeOf("InternalCallExtern");t.isInternalCallExtern=X;var Q=isTypeOf("InternalEndAndReturn");t.isInternalEndAndReturn=Q;var V=function isNode(e){return n(e)||r(e)||s(e)||i(e)||o(e)||a(e)||c(e)||l(e)||u(e)||f(e)||p(e)||d(e)||h(e)||m(e)||y(e)||g(e)||v(e)||b(e)||w(e)||k(e)||x(e)||S(e)||E(e)||O(e)||C(e)||M(e)||A(e)||I(e)||T(e)||R(e)||j(e)||F(e)||N(e)||D(e)||P(e)||L(e)||q(e)||_(e)||z(e)||B(e)||W(e)||U(e)||H(e)||J(e)||G(e)||X(e)||Q(e)};t.isNode=V;var K=function isBlock(e){return d(e)||z(e)||H(e)};t.isBlock=K;var Y=function isInstruction(e){return d(e)||h(e)||m(e)||S(e)||z(e)||B(e)||W(e)};t.isInstruction=Y;var Z=function isExpression(e){return h(e)||y(e)||g(e)||v(e)||b(e)||x(e)||_(e)};t.isExpression=Z;var $=function isNumericLiteral(e){return g(e)||v(e)||b(e)};t.isNumericLiteral=$;var ee=function isImportDescr(e){return O(e)||T(e)||R(e)||j(e)};t.isImportDescr=ee;var te=function isIntrinsic(e){return J(e)||G(e)||X(e)||Q(e)};t.isIntrinsic=te;var ne=assertTypeOf("Module");t.assertModule=ne;var re=assertTypeOf("ModuleMetadata");t.assertModuleMetadata=re;var se=assertTypeOf("ModuleNameMetadata");t.assertModuleNameMetadata=se;var ie=assertTypeOf("FunctionNameMetadata");t.assertFunctionNameMetadata=ie;var oe=assertTypeOf("LocalNameMetadata");t.assertLocalNameMetadata=oe;var ae=assertTypeOf("BinaryModule");t.assertBinaryModule=ae;var ce=assertTypeOf("QuoteModule");t.assertQuoteModule=ce;var le=assertTypeOf("SectionMetadata");t.assertSectionMetadata=le;var ue=assertTypeOf("ProducersSectionMetadata");t.assertProducersSectionMetadata=ue;var fe=assertTypeOf("ProducerMetadata");t.assertProducerMetadata=fe;var pe=assertTypeOf("ProducerMetadataVersionedName");t.assertProducerMetadataVersionedName=pe;var de=assertTypeOf("LoopInstruction");t.assertLoopInstruction=de;var he=assertTypeOf("Instr");t.assertInstr=he;var me=assertTypeOf("IfInstruction");t.assertIfInstruction=me;var ye=assertTypeOf("StringLiteral");t.assertStringLiteral=ye;var ge=assertTypeOf("NumberLiteral");t.assertNumberLiteral=ge;var ve=assertTypeOf("LongNumberLiteral");t.assertLongNumberLiteral=ve;var be=assertTypeOf("FloatLiteral");t.assertFloatLiteral=be;var we=assertTypeOf("Elem");t.assertElem=we;var ke=assertTypeOf("IndexInFuncSection");t.assertIndexInFuncSection=ke;var xe=assertTypeOf("ValtypeLiteral");t.assertValtypeLiteral=xe;var Se=assertTypeOf("TypeInstruction");t.assertTypeInstruction=Se;var Ee=assertTypeOf("Start");t.assertStart=Ee;var Oe=assertTypeOf("GlobalType");t.assertGlobalType=Oe;var Ce=assertTypeOf("LeadingComment");t.assertLeadingComment=Ce;var Me=assertTypeOf("BlockComment");t.assertBlockComment=Me;var Ae=assertTypeOf("Data");t.assertData=Ae;var Ie=assertTypeOf("Global");t.assertGlobal=Ie;var Te=assertTypeOf("Table");t.assertTable=Te;var Re=assertTypeOf("Memory");t.assertMemory=Re;var je=assertTypeOf("FuncImportDescr");t.assertFuncImportDescr=je;var Fe=assertTypeOf("ModuleImport");t.assertModuleImport=Fe;var Ne=assertTypeOf("ModuleExportDescr");t.assertModuleExportDescr=Ne;var De=assertTypeOf("ModuleExport");t.assertModuleExport=De;var Pe=assertTypeOf("Limit");t.assertLimit=Pe;var Le=assertTypeOf("Signature");t.assertSignature=Le;var qe=assertTypeOf("Program");t.assertProgram=qe;var _e=assertTypeOf("Identifier");t.assertIdentifier=_e;var ze=assertTypeOf("BlockInstruction");t.assertBlockInstruction=ze;var Be=assertTypeOf("CallInstruction");t.assertCallInstruction=Be;var We=assertTypeOf("CallIndirectInstruction");t.assertCallIndirectInstruction=We;var Ue=assertTypeOf("ByteArray");t.assertByteArray=Ue;var He=assertTypeOf("Func");t.assertFunc=He;var Je=assertTypeOf("InternalBrUnless");t.assertInternalBrUnless=Je;var Ge=assertTypeOf("InternalGoto");t.assertInternalGoto=Ge;var Xe=assertTypeOf("InternalCallExtern");t.assertInternalCallExtern=Xe;var Qe=assertTypeOf("InternalEndAndReturn");t.assertInternalEndAndReturn=Qe;var Ve={Module:["Node"],ModuleMetadata:["Node"],ModuleNameMetadata:["Node"],FunctionNameMetadata:["Node"],LocalNameMetadata:["Node"],BinaryModule:["Node"],QuoteModule:["Node"],SectionMetadata:["Node"],ProducersSectionMetadata:["Node"],ProducerMetadata:["Node"],ProducerMetadataVersionedName:["Node"],LoopInstruction:["Node","Block","Instruction"],Instr:["Node","Expression","Instruction"],IfInstruction:["Node","Instruction"],StringLiteral:["Node","Expression"],NumberLiteral:["Node","NumericLiteral","Expression"],LongNumberLiteral:["Node","NumericLiteral","Expression"],FloatLiteral:["Node","NumericLiteral","Expression"],Elem:["Node"],IndexInFuncSection:["Node"],ValtypeLiteral:["Node","Expression"],TypeInstruction:["Node","Instruction"],Start:["Node"],GlobalType:["Node","ImportDescr"],LeadingComment:["Node"],BlockComment:["Node"],Data:["Node"],Global:["Node"],Table:["Node","ImportDescr"],Memory:["Node","ImportDescr"],FuncImportDescr:["Node","ImportDescr"],ModuleImport:["Node"],ModuleExportDescr:["Node"],ModuleExport:["Node"],Limit:["Node"],Signature:["Node"],Program:["Node"],Identifier:["Node","Expression"],BlockInstruction:["Node","Block","Instruction"],CallInstruction:["Node","Instruction"],CallIndirectInstruction:["Node","Instruction"],ByteArray:["Node"],Func:["Node","Block"],InternalBrUnless:["Node","Intrinsic"],InternalGoto:["Node","Intrinsic"],InternalCallExtern:["Node","Intrinsic"],InternalEndAndReturn:["Node","Intrinsic"]};t.unionTypesMap=Ve;var Ke=["Module","ModuleMetadata","ModuleNameMetadata","FunctionNameMetadata","LocalNameMetadata","BinaryModule","QuoteModule","SectionMetadata","ProducersSectionMetadata","ProducerMetadata","ProducerMetadataVersionedName","LoopInstruction","Instr","IfInstruction","StringLiteral","NumberLiteral","LongNumberLiteral","FloatLiteral","Elem","IndexInFuncSection","ValtypeLiteral","TypeInstruction","Start","GlobalType","LeadingComment","BlockComment","Data","Global","Table","Memory","FuncImportDescr","ModuleImport","ModuleExportDescr","ModuleExport","Limit","Signature","Program","Identifier","BlockInstruction","CallInstruction","CallIndirectInstruction","ByteArray","Func","InternalBrUnless","InternalGoto","InternalCallExtern","InternalEndAndReturn","Node","Block","Instruction","Expression","NumericLiteral","ImportDescr","Intrinsic"];t.nodeAndUnionTypes=Ke},24029:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.signatures=void 0;function sign(e,t){return[e,t]}var n="u32";var r="i32";var s="i64";var i="f32";var o="f64";var a=function vector(e){var t=[e];t.vector=true;return t};var c={unreachable:sign([],[]),nop:sign([],[]),br:sign([n],[]),br_if:sign([n],[]),br_table:sign(a(n),[]),return:sign([],[]),call:sign([n],[]),call_indirect:sign([n],[])};var l={drop:sign([],[]),select:sign([],[])};var u={get_local:sign([n],[]),set_local:sign([n],[]),tee_local:sign([n],[]),get_global:sign([n],[]),set_global:sign([n],[])};var f={"i32.load":sign([n,n],[r]),"i64.load":sign([n,n],[]),"f32.load":sign([n,n],[]),"f64.load":sign([n,n],[]),"i32.load8_s":sign([n,n],[r]),"i32.load8_u":sign([n,n],[r]),"i32.load16_s":sign([n,n],[r]),"i32.load16_u":sign([n,n],[r]),"i64.load8_s":sign([n,n],[s]),"i64.load8_u":sign([n,n],[s]),"i64.load16_s":sign([n,n],[s]),"i64.load16_u":sign([n,n],[s]),"i64.load32_s":sign([n,n],[s]),"i64.load32_u":sign([n,n],[s]),"i32.store":sign([n,n],[]),"i64.store":sign([n,n],[]),"f32.store":sign([n,n],[]),"f64.store":sign([n,n],[]),"i32.store8":sign([n,n],[]),"i32.store16":sign([n,n],[]),"i64.store8":sign([n,n],[]),"i64.store16":sign([n,n],[]),"i64.store32":sign([n,n],[]),current_memory:sign([],[]),grow_memory:sign([],[])};var p={"i32.const":sign([r],[r]),"i64.const":sign([s],[s]),"f32.const":sign([i],[i]),"f64.const":sign([o],[o]),"i32.eqz":sign([r],[r]),"i32.eq":sign([r,r],[r]),"i32.ne":sign([r,r],[r]),"i32.lt_s":sign([r,r],[r]),"i32.lt_u":sign([r,r],[r]),"i32.gt_s":sign([r,r],[r]),"i32.gt_u":sign([r,r],[r]),"i32.le_s":sign([r,r],[r]),"i32.le_u":sign([r,r],[r]),"i32.ge_s":sign([r,r],[r]),"i32.ge_u":sign([r,r],[r]),"i64.eqz":sign([s],[s]),"i64.eq":sign([s,s],[r]),"i64.ne":sign([s,s],[r]),"i64.lt_s":sign([s,s],[r]),"i64.lt_u":sign([s,s],[r]),"i64.gt_s":sign([s,s],[r]),"i64.gt_u":sign([s,s],[r]),"i64.le_s":sign([s,s],[r]),"i64.le_u":sign([s,s],[r]),"i64.ge_s":sign([s,s],[r]),"i64.ge_u":sign([s,s],[r]),"f32.eq":sign([i,i],[r]),"f32.ne":sign([i,i],[r]),"f32.lt":sign([i,i],[r]),"f32.gt":sign([i,i],[r]),"f32.le":sign([i,i],[r]),"f32.ge":sign([i,i],[r]),"f64.eq":sign([o,o],[r]),"f64.ne":sign([o,o],[r]),"f64.lt":sign([o,o],[r]),"f64.gt":sign([o,o],[r]),"f64.le":sign([o,o],[r]),"f64.ge":sign([o,o],[r]),"i32.clz":sign([r],[r]),"i32.ctz":sign([r],[r]),"i32.popcnt":sign([r],[r]),"i32.add":sign([r,r],[r]),"i32.sub":sign([r,r],[r]),"i32.mul":sign([r,r],[r]),"i32.div_s":sign([r,r],[r]),"i32.div_u":sign([r,r],[r]),"i32.rem_s":sign([r,r],[r]),"i32.rem_u":sign([r,r],[r]),"i32.and":sign([r,r],[r]),"i32.or":sign([r,r],[r]),"i32.xor":sign([r,r],[r]),"i32.shl":sign([r,r],[r]),"i32.shr_s":sign([r,r],[r]),"i32.shr_u":sign([r,r],[r]),"i32.rotl":sign([r,r],[r]),"i32.rotr":sign([r,r],[r]),"i64.clz":sign([s],[s]),"i64.ctz":sign([s],[s]),"i64.popcnt":sign([s],[s]),"i64.add":sign([s,s],[s]),"i64.sub":sign([s,s],[s]),"i64.mul":sign([s,s],[s]),"i64.div_s":sign([s,s],[s]),"i64.div_u":sign([s,s],[s]),"i64.rem_s":sign([s,s],[s]),"i64.rem_u":sign([s,s],[s]),"i64.and":sign([s,s],[s]),"i64.or":sign([s,s],[s]),"i64.xor":sign([s,s],[s]),"i64.shl":sign([s,s],[s]),"i64.shr_s":sign([s,s],[s]),"i64.shr_u":sign([s,s],[s]),"i64.rotl":sign([s,s],[s]),"i64.rotr":sign([s,s],[s]),"f32.abs":sign([i],[i]),"f32.neg":sign([i],[i]),"f32.ceil":sign([i],[i]),"f32.floor":sign([i],[i]),"f32.trunc":sign([i],[i]),"f32.nearest":sign([i],[i]),"f32.sqrt":sign([i],[i]),"f32.add":sign([i,i],[i]),"f32.sub":sign([i,i],[i]),"f32.mul":sign([i,i],[i]),"f32.div":sign([i,i],[i]),"f32.min":sign([i,i],[i]),"f32.max":sign([i,i],[i]),"f32.copysign":sign([i,i],[i]),"f64.abs":sign([o],[o]),"f64.neg":sign([o],[o]),"f64.ceil":sign([o],[o]),"f64.floor":sign([o],[o]),"f64.trunc":sign([o],[o]),"f64.nearest":sign([o],[o]),"f64.sqrt":sign([o],[o]),"f64.add":sign([o,o],[o]),"f64.sub":sign([o,o],[o]),"f64.mul":sign([o,o],[o]),"f64.div":sign([o,o],[o]),"f64.min":sign([o,o],[o]),"f64.max":sign([o,o],[o]),"f64.copysign":sign([o,o],[o]),"i32.wrap/i64":sign([s],[r]),"i32.trunc_s/f32":sign([i],[r]),"i32.trunc_u/f32":sign([i],[r]),"i32.trunc_s/f64":sign([i],[r]),"i32.trunc_u/f64":sign([o],[r]),"i64.extend_s/i32":sign([r],[s]),"i64.extend_u/i32":sign([r],[s]),"i64.trunc_s/f32":sign([i],[s]),"i64.trunc_u/f32":sign([i],[s]),"i64.trunc_s/f64":sign([o],[s]),"i64.trunc_u/f64":sign([o],[s]),"f32.convert_s/i32":sign([r],[i]),"f32.convert_u/i32":sign([r],[i]),"f32.convert_s/i64":sign([s],[i]),"f32.convert_u/i64":sign([s],[i]),"f32.demote/f64":sign([o],[i]),"f64.convert_s/i32":sign([r],[o]),"f64.convert_u/i32":sign([r],[o]),"f64.convert_s/i64":sign([s],[o]),"f64.convert_u/i64":sign([s],[o]),"f64.promote/f32":sign([i],[o]),"i32.reinterpret/f32":sign([i],[r]),"i64.reinterpret/f64":sign([o],[s]),"f32.reinterpret/i32":sign([r],[i]),"f64.reinterpret/i64":sign([s],[o])};var d=Object.assign({},c,l,u,f,p);t.signatures=d},98190:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.traverse=traverse;var r=n(90430);var s=n(2519);function walk(e,t){var n=false;function innerWalk(e,t){if(n){return}var s=e.node;if(s===undefined){console.warn("traversing with an empty context");return}if(s._deleted===true){return}var i=(0,r.createPath)(e);t(s.type,i);if(i.shouldStop){n=true;return}Object.keys(s).forEach(function(e){var n=s[e];if(n===null||n===undefined){return}var r=Array.isArray(n)?n:[n];r.forEach(function(r){if(typeof r.type==="string"){var s={node:r,parentKey:e,parentPath:i,shouldStop:false,inList:Array.isArray(n)};innerWalk(s,t)}})})}innerWalk(e,t)}var i=function noop(){};function traverse(e,t){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:i;var r=arguments.length>3&&arguments[3]!==undefined?arguments[3]:i;Object.keys(t).forEach(function(e){if(!s.nodeAndUnionTypes.includes(e)){throw new Error("Unexpected visitor ".concat(e))}});var o={node:e,inList:false,shouldStop:false,parentPath:null,parentKey:null};walk(o,function(e,i){if(typeof t[e]==="function"){n(e,i);t[e](i);r(e,i)}var o=s.unionTypesMap[e];if(!o){throw new Error("Unexpected node type ".concat(e))}o.forEach(function(e){if(typeof t[e]==="function"){n(e,i);t[e](i);r(e,i)}})})}},21064:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isAnonymous=isAnonymous;t.getSectionMetadata=getSectionMetadata;t.getSectionMetadatas=getSectionMetadatas;t.sortSectionMetadata=sortSectionMetadata;t.orderedInsertNode=orderedInsertNode;t.assertHasLoc=assertHasLoc;t.getEndOfSection=getEndOfSection;t.shiftLoc=shiftLoc;t.shiftSection=shiftSection;t.signatureForOpcode=signatureForOpcode;t.getUniqueNameGenerator=getUniqueNameGenerator;t.getStartByteOffset=getStartByteOffset;t.getEndByteOffset=getEndByteOffset;t.getFunctionBeginingByteOffset=getFunctionBeginingByteOffset;t.getEndBlockByteOffset=getEndBlockByteOffset;t.getStartBlockByteOffset=getStartBlockByteOffset;var r=n(24029);var s=n(98190);var i=_interopRequireWildcard(n(7072));function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};if(r.get||r.set){Object.defineProperty(t,n,r)}else{t[n]=e[n]}}}}t.default=e;return t}}function _sliceIterator(e,t){var n=[];var r=true;var s=false;var i=undefined;try{for(var o=e[Symbol.iterator](),a;!(r=(a=o.next()).done);r=true){n.push(a.value);if(t&&n.length===t)break}}catch(e){s=true;i=e}finally{try{if(!r&&o["return"]!=null)o["return"]()}finally{if(s)throw i}}return n}function _slicedToArray(e,t){if(Array.isArray(e)){return e}else if(Symbol.iterator in Object(e)){return _sliceIterator(e,t)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}function _typeof(e){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(e){return typeof e}}else{_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}function isAnonymous(e){return e.raw===""}function getSectionMetadata(e,t){var n;(0,s.traverse)(e,{SectionMetadata:function(e){function SectionMetadata(t){return e.apply(this,arguments)}SectionMetadata.toString=function(){return e.toString()};return SectionMetadata}(function(e){var r=e.node;if(r.section===t){n=r}})});return n}function getSectionMetadatas(e,t){var n=[];(0,s.traverse)(e,{SectionMetadata:function(e){function SectionMetadata(t){return e.apply(this,arguments)}SectionMetadata.toString=function(){return e.toString()};return SectionMetadata}(function(e){var r=e.node;if(r.section===t){n.push(r)}})});return n}function sortSectionMetadata(e){if(e.metadata==null){console.warn("sortSectionMetadata: no metadata to sort");return}e.metadata.sections.sort(function(e,t){var n=i.default.sections[e.section];var r=i.default.sections[t.section];if(typeof n!=="number"||typeof r!=="number"){throw new Error("Section id not found")}return n-r})}function orderedInsertNode(e,t){assertHasLoc(t);var n=false;if(t.type==="ModuleExport"){e.fields.push(t);return}e.fields=e.fields.reduce(function(e,r){var s=Infinity;if(r.loc!=null){s=r.loc.end.column}if(n===false&&t.loc.start.column0&&arguments[0]!==undefined?arguments[0]:"temp";if(!(t in e)){e[t]=0}else{e[t]=e[t]+1}return t+"_"+e[t]}}function getStartByteOffset(e){if(typeof e.loc==="undefined"||typeof e.loc.start==="undefined"){throw new Error("Can not get byte offset without loc informations, node: "+String(e.id))}return e.loc.start.column}function getEndByteOffset(e){if(typeof e.loc==="undefined"||typeof e.loc.end==="undefined"){throw new Error("Can not get byte offset without loc informations, node: "+e.type)}return e.loc.end.column}function getFunctionBeginingByteOffset(e){if(!(e.body.length>0)){throw new Error("n.body.length > 0"+" error: "+(undefined||"unknown"))}var t=_slicedToArray(e.body,1),n=t[0];return getStartByteOffset(n)}function getEndBlockByteOffset(e){if(!(e.instr.length>0||e.body.length>0)){throw new Error("n.instr.length > 0 || n.body.length > 0"+" error: "+(undefined||"unknown"))}var t;if(e.instr){t=e.instr[e.instr.length-1]}if(e.body){t=e.body[e.body.length-1]}if(!(_typeof(t)==="object")){throw new Error('typeof lastInstruction === "object"'+" error: "+(undefined||"unknown"))}return getStartByteOffset(t)}function getStartBlockByteOffset(e){if(!(e.instr.length>0||e.body.length>0)){throw new Error("n.instr.length > 0 || n.body.length > 0"+" error: "+(undefined||"unknown"))}var t;if(e.instr){var n=_slicedToArray(e.instr,1);t=n[0]}if(e.body){var r=_slicedToArray(e.body,1);t=r[0]}if(!(_typeof(t)==="object")){throw new Error('typeof fistInstruction === "object"'+" error: "+(undefined||"unknown"))}return getStartByteOffset(t)}},40245:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=parse;function parse(e){e=e.toUpperCase();var t=e.indexOf("P");var n,r;if(t!==-1){n=e.substring(0,t);r=parseInt(e.substring(t+1))}else{n=e;r=0}var s=n.indexOf(".");if(s!==-1){var i=parseInt(n.substring(0,s),16);var o=Math.sign(i);i=o*i;var a=n.length-s-1;var c=parseInt(n.substring(s+1),16);var l=a>0?c/Math.pow(16,a):0;if(o===0){if(l===0){n=o}else{if(Object.is(o,-0)){n=-l}else{n=l}}}else{n=o*(i+l)}}else{n=parseInt(n,16)}return n*(t!==-1?Math.pow(2,r):1)}},5043:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.LinkError=t.CompileError=t.RuntimeError=void 0;function _typeof(e){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(e){return typeof e}}else{_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}function _classCallCheck(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,t){if(t&&(_typeof(t)==="object"||typeof t==="function")){return t}if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function _inherits(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function")}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var n=function(e){_inherits(RuntimeError,e);function RuntimeError(){_classCallCheck(this,RuntimeError);return _possibleConstructorReturn(this,(RuntimeError.__proto__||Object.getPrototypeOf(RuntimeError)).apply(this,arguments))}return RuntimeError}(Error);t.RuntimeError=n;var r=function(e){_inherits(CompileError,e);function CompileError(){_classCallCheck(this,CompileError);return _possibleConstructorReturn(this,(CompileError.__proto__||Object.getPrototypeOf(CompileError)).apply(this,arguments))}return CompileError}(Error);t.CompileError=r;var s=function(e){_inherits(LinkError,e);function LinkError(){_classCallCheck(this,LinkError);return _possibleConstructorReturn(this,(LinkError.__proto__||Object.getPrototypeOf(LinkError)).apply(this,arguments))}return LinkError}(Error);t.LinkError=s},57496:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.overrideBytesInBuffer=overrideBytesInBuffer;t.makeBuffer=makeBuffer;t.fromHexdump=fromHexdump;function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameFromAst=codeFrameFromAst;t.codeFrameFromSource=codeFrameFromSource;var r=n(90217);function _typeof(e){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(e){return typeof e}}else{_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}var s=5;function repeat(e,t){return Array(t).fill(e).join("")}function codeFrameFromAst(e,t){return codeFrameFromSource((0,r.print)(e),t)}function codeFrameFromSource(e,t){var n=t.start,r=t.end;var i=1;if(_typeof(r)==="object"){i=r.column-n.column+1}return e.split("\n").reduce(function(e,t,r){if(Math.abs(n.line-r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeTransition=makeTransition;t.FSM=void 0;function _sliceIterator(e,t){var n=[];var r=true;var s=false;var i=undefined;try{for(var o=e[Symbol.iterator](),a;!(r=(a=o.next()).done);r=true){n.push(a.value);if(t&&n.length===t)break}}catch(e){s=true;i=e}finally{try{if(!r&&o["return"]!=null)o["return"]()}finally{if(s)throw i}}return n}function _slicedToArray(e,t){if(Array.isArray(e)){return e}else if(Symbol.iterator in Object(e)){return _sliceIterator(e,t)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}function _classCallCheck(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(e,t){for(var n=0;n2&&arguments[2]!==undefined?arguments[2]:{},r=n.n,s=r===void 0?1:r,i=n.allowedSeparator;return function(n){if(i){if(n.input[n.ptr]===i){if(e.test(n.input.substring(n.ptr-1,n.ptr))){return[n.currentState,1]}else{return[n.terminatingState,0]}}}if(e.test(n.input.substring(n.ptr,n.ptr+s))){return[t,s]}return false}}function combineTransitions(e){return function(){var t=false;var n=e[this.currentState]||[];for(var r=0;r2&&arguments[2]!==undefined?arguments[2]:n;_classCallCheck(this,FSM);this.initialState=t;this.terminatingState=r;if(r===n||!e[r]){e[r]=[]}this.transitionFunction=combineTransitions.call(this,e)}_createClass(FSM,[{key:"run",value:function run(e){this.input=e;this.ptr=0;this.currentState=this.initialState;var t="";var n,r;while(this.currentState!==this.terminatingState&&this.ptr{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.moduleContextFromModuleAST=moduleContextFromModuleAST;t.ModuleContext=void 0;var r=n(51826);function _classCallCheck(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(e,t){for(var n=0;ne&&e>=0}},{key:"getLabel",value:function getLabel(e){return this.labels[e]}},{key:"popLabel",value:function popLabel(){this.labels.shift()}},{key:"hasLocal",value:function hasLocal(e){return typeof this.getLocal(e)!=="undefined"}},{key:"getLocal",value:function getLocal(e){return this.locals[e]}},{key:"addLocal",value:function addLocal(e){this.locals.push(e)}},{key:"addType",value:function addType(e){if(!(e.functype.type==="Signature")){throw new Error('type.functype.type === "Signature"'+" error: "+(undefined||"unknown"))}this.types.push(e.functype)}},{key:"hasType",value:function hasType(e){return this.types[e]!==undefined}},{key:"getType",value:function getType(e){return this.types[e]}},{key:"hasGlobal",value:function hasGlobal(e){return this.globals.length>e&&e>=0}},{key:"getGlobal",value:function getGlobal(e){return this.globals[e].type}},{key:"getGlobalOffsetByIdentifier",value:function getGlobalOffsetByIdentifier(e){if(!(typeof e==="string")){throw new Error('typeof name === "string"'+" error: "+(undefined||"unknown"))}return this.globalsOffsetByIdentifier[e]}},{key:"defineGlobal",value:function defineGlobal(e){var t=e.globalType.valtype;var n=e.globalType.mutability;this.globals.push({type:t,mutability:n});if(typeof e.name!=="undefined"){this.globalsOffsetByIdentifier[e.name.value]=this.globals.length-1}}},{key:"importGlobal",value:function importGlobal(e,t){this.globals.push({type:e,mutability:t})}},{key:"isMutableGlobal",value:function isMutableGlobal(e){return this.globals[e].mutability==="var"}},{key:"isImmutableGlobal",value:function isImmutableGlobal(e){return this.globals[e].mutability==="const"}},{key:"hasMemory",value:function hasMemory(e){return this.mems.length>e&&e>=0}},{key:"addMemory",value:function addMemory(e,t){this.mems.push({min:e,max:t})}},{key:"getMemory",value:function getMemory(e){return this.mems[e]}}]);return ModuleContext}();t.ModuleContext=s},7072:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"getSectionForNode",{enumerable:true,get:function get(){return r.getSectionForNode}});t.default=void 0;var r=n(2721);var s="illegal";var i=[0,97,115,109];var o=[1,0,0,0];function invertMap(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:function(e){return e};var n={};var r=Object.keys(e);for(var s=0,i=r.length;s2&&arguments[2]!==undefined?arguments[2]:0;return{name:e,object:t,numberOfArgs:n}}function createSymbol(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;return{name:e,numberOfArgs:t}}var a={func:96,result:64};var c={0:"Func",1:"Table",2:"Mem",3:"Global"};var l=invertMap(c);var u={127:"i32",126:"i64",125:"f32",124:"f64",123:"v128"};var f=invertMap(u);var p={112:"anyfunc"};var d=Object.assign({},u,{64:null,127:"i32",126:"i64",125:"f32",124:"f64"});var h={0:"const",1:"var"};var m=invertMap(h);var y={0:"func",1:"table",2:"mem",3:"global"};var g={custom:0,type:1,import:2,func:3,table:4,memory:5,global:6,export:7,start:8,element:9,code:10,data:11};var v={0:createSymbol("unreachable"),1:createSymbol("nop"),2:createSymbol("block"),3:createSymbol("loop"),4:createSymbol("if"),5:createSymbol("else"),6:s,7:s,8:s,9:s,10:s,11:createSymbol("end"),12:createSymbol("br",1),13:createSymbol("br_if",1),14:createSymbol("br_table"),15:createSymbol("return"),16:createSymbol("call",1),17:createSymbol("call_indirect",2),18:s,19:s,20:s,21:s,22:s,23:s,24:s,25:s,26:createSymbol("drop"),27:createSymbol("select"),28:s,29:s,30:s,31:s,32:createSymbol("get_local",1),33:createSymbol("set_local",1),34:createSymbol("tee_local",1),35:createSymbol("get_global",1),36:createSymbol("set_global",1),37:s,38:s,39:s,40:createSymbolObject("load","u32",1),41:createSymbolObject("load","u64",1),42:createSymbolObject("load","f32",1),43:createSymbolObject("load","f64",1),44:createSymbolObject("load8_s","u32",1),45:createSymbolObject("load8_u","u32",1),46:createSymbolObject("load16_s","u32",1),47:createSymbolObject("load16_u","u32",1),48:createSymbolObject("load8_s","u64",1),49:createSymbolObject("load8_u","u64",1),50:createSymbolObject("load16_s","u64",1),51:createSymbolObject("load16_u","u64",1),52:createSymbolObject("load32_s","u64",1),53:createSymbolObject("load32_u","u64",1),54:createSymbolObject("store","u32",1),55:createSymbolObject("store","u64",1),56:createSymbolObject("store","f32",1),57:createSymbolObject("store","f64",1),58:createSymbolObject("store8","u32",1),59:createSymbolObject("store16","u32",1),60:createSymbolObject("store8","u64",1),61:createSymbolObject("store16","u64",1),62:createSymbolObject("store32","u64",1),63:createSymbolObject("current_memory"),64:createSymbolObject("grow_memory"),65:createSymbolObject("const","i32",1),66:createSymbolObject("const","i64",1),67:createSymbolObject("const","f32",1),68:createSymbolObject("const","f64",1),69:createSymbolObject("eqz","i32"),70:createSymbolObject("eq","i32"),71:createSymbolObject("ne","i32"),72:createSymbolObject("lt_s","i32"),73:createSymbolObject("lt_u","i32"),74:createSymbolObject("gt_s","i32"),75:createSymbolObject("gt_u","i32"),76:createSymbolObject("le_s","i32"),77:createSymbolObject("le_u","i32"),78:createSymbolObject("ge_s","i32"),79:createSymbolObject("ge_u","i32"),80:createSymbolObject("eqz","i64"),81:createSymbolObject("eq","i64"),82:createSymbolObject("ne","i64"),83:createSymbolObject("lt_s","i64"),84:createSymbolObject("lt_u","i64"),85:createSymbolObject("gt_s","i64"),86:createSymbolObject("gt_u","i64"),87:createSymbolObject("le_s","i64"),88:createSymbolObject("le_u","i64"),89:createSymbolObject("ge_s","i64"),90:createSymbolObject("ge_u","i64"),91:createSymbolObject("eq","f32"),92:createSymbolObject("ne","f32"),93:createSymbolObject("lt","f32"),94:createSymbolObject("gt","f32"),95:createSymbolObject("le","f32"),96:createSymbolObject("ge","f32"),97:createSymbolObject("eq","f64"),98:createSymbolObject("ne","f64"),99:createSymbolObject("lt","f64"),100:createSymbolObject("gt","f64"),101:createSymbolObject("le","f64"),102:createSymbolObject("ge","f64"),103:createSymbolObject("clz","i32"),104:createSymbolObject("ctz","i32"),105:createSymbolObject("popcnt","i32"),106:createSymbolObject("add","i32"),107:createSymbolObject("sub","i32"),108:createSymbolObject("mul","i32"),109:createSymbolObject("div_s","i32"),110:createSymbolObject("div_u","i32"),111:createSymbolObject("rem_s","i32"),112:createSymbolObject("rem_u","i32"),113:createSymbolObject("and","i32"),114:createSymbolObject("or","i32"),115:createSymbolObject("xor","i32"),116:createSymbolObject("shl","i32"),117:createSymbolObject("shr_s","i32"),118:createSymbolObject("shr_u","i32"),119:createSymbolObject("rotl","i32"),120:createSymbolObject("rotr","i32"),121:createSymbolObject("clz","i64"),122:createSymbolObject("ctz","i64"),123:createSymbolObject("popcnt","i64"),124:createSymbolObject("add","i64"),125:createSymbolObject("sub","i64"),126:createSymbolObject("mul","i64"),127:createSymbolObject("div_s","i64"),128:createSymbolObject("div_u","i64"),129:createSymbolObject("rem_s","i64"),130:createSymbolObject("rem_u","i64"),131:createSymbolObject("and","i64"),132:createSymbolObject("or","i64"),133:createSymbolObject("xor","i64"),134:createSymbolObject("shl","i64"),135:createSymbolObject("shr_s","i64"),136:createSymbolObject("shr_u","i64"),137:createSymbolObject("rotl","i64"),138:createSymbolObject("rotr","i64"),139:createSymbolObject("abs","f32"),140:createSymbolObject("neg","f32"),141:createSymbolObject("ceil","f32"),142:createSymbolObject("floor","f32"),143:createSymbolObject("trunc","f32"),144:createSymbolObject("nearest","f32"),145:createSymbolObject("sqrt","f32"),146:createSymbolObject("add","f32"),147:createSymbolObject("sub","f32"),148:createSymbolObject("mul","f32"),149:createSymbolObject("div","f32"),150:createSymbolObject("min","f32"),151:createSymbolObject("max","f32"),152:createSymbolObject("copysign","f32"),153:createSymbolObject("abs","f64"),154:createSymbolObject("neg","f64"),155:createSymbolObject("ceil","f64"),156:createSymbolObject("floor","f64"),157:createSymbolObject("trunc","f64"),158:createSymbolObject("nearest","f64"),159:createSymbolObject("sqrt","f64"),160:createSymbolObject("add","f64"),161:createSymbolObject("sub","f64"),162:createSymbolObject("mul","f64"),163:createSymbolObject("div","f64"),164:createSymbolObject("min","f64"),165:createSymbolObject("max","f64"),166:createSymbolObject("copysign","f64"),167:createSymbolObject("wrap/i64","i32"),168:createSymbolObject("trunc_s/f32","i32"),169:createSymbolObject("trunc_u/f32","i32"),170:createSymbolObject("trunc_s/f64","i32"),171:createSymbolObject("trunc_u/f64","i32"),172:createSymbolObject("extend_s/i32","i64"),173:createSymbolObject("extend_u/i32","i64"),174:createSymbolObject("trunc_s/f32","i64"),175:createSymbolObject("trunc_u/f32","i64"),176:createSymbolObject("trunc_s/f64","i64"),177:createSymbolObject("trunc_u/f64","i64"),178:createSymbolObject("convert_s/i32","f32"),179:createSymbolObject("convert_u/i32","f32"),180:createSymbolObject("convert_s/i64","f32"),181:createSymbolObject("convert_u/i64","f32"),182:createSymbolObject("demote/f64","f32"),183:createSymbolObject("convert_s/i32","f64"),184:createSymbolObject("convert_u/i32","f64"),185:createSymbolObject("convert_s/i64","f64"),186:createSymbolObject("convert_u/i64","f64"),187:createSymbolObject("promote/f32","f64"),188:createSymbolObject("reinterpret/f32","i32"),189:createSymbolObject("reinterpret/f64","i64"),190:createSymbolObject("reinterpret/i32","f32"),191:createSymbolObject("reinterpret/i64","f64")};var b=invertMap(v,function(e){if(typeof e.object==="string"){return"".concat(e.object,".").concat(e.name)}return e.name});var w={symbolsByByte:v,sections:g,magicModuleHeader:i,moduleVersion:o,types:a,valtypes:u,exportTypes:c,blockTypes:d,tableTypes:p,globalTypes:h,importTypes:y,valtypesByString:f,globalTypesByString:m,exportTypesByName:l,symbolsByName:b};t.default=w},2721:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getSectionForNode=getSectionForNode;function getSectionForNode(e){switch(e.type){case"ModuleImport":return"import";case"CallInstruction":case"CallIndirectInstruction":case"Func":case"Instr":return"code";case"ModuleExport":return"export";case"Start":return"start";case"TypeInstruction":return"type";case"IndexInFuncSection":return"func";case"Global":return"global";default:return}}},37059:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createEmptySection=createEmptySection;var r=n(21052);var s=n(57496);var i=_interopRequireDefault(n(7072));var o=_interopRequireWildcard(n(51826));function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};if(r.get||r.set){Object.defineProperty(t,n,r)}else{t[n]=e[n]}}}}t.default=e;return t}}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _typeof(e){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(e){return typeof e}}else{_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}function findLastSection(e,t){var n=i.default.sections[t];var r=e.body[0].metadata.sections;var s;var o=0;for(var a=0,c=r.length;ao&&n{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"resizeSectionByteSize",{enumerable:true,get:function get(){return r.resizeSectionByteSize}});Object.defineProperty(t,"resizeSectionVecSize",{enumerable:true,get:function get(){return r.resizeSectionVecSize}});Object.defineProperty(t,"createEmptySection",{enumerable:true,get:function get(){return s.createEmptySection}});Object.defineProperty(t,"removeSections",{enumerable:true,get:function get(){return i.removeSections}});var r=n(5679);var s=n(37059);var i=n(41012)},41012:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.removeSections=removeSections;var r=n(51826);var s=n(57496);function removeSections(e,t,n){var i=(0,r.getSectionMetadatas)(e,n);if(i.length===0){throw new Error("Section metadata not found")}return i.reverse().reduce(function(t,i){var o=i.startOffset-1;var a=n==="start"?i.size.loc.end.column+1:i.startOffset+i.size.value+1;var c=-(a-o);var l=false;(0,r.traverse)(e,{SectionMetadata:function SectionMetadata(t){if(t.node.section===n){l=true;return t.remove()}if(l===true){(0,r.shiftSection)(e,t.node,c)}}});var u=[];return(0,s.overrideBytesInBuffer)(t,o,a,u)},t)}},5679:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resizeSectionByteSize=resizeSectionByteSize;t.resizeSectionVecSize=resizeSectionVecSize;var r=n(21052);var s=n(51826);var i=n(57496);function resizeSectionByteSize(e,t,n,o){var a=(0,s.getSectionMetadata)(e,n);if(typeof a==="undefined"){throw new Error("Section metadata not found")}if(typeof a.size.loc==="undefined"){throw new Error("SectionMetadata "+n+" has no loc")}var c=a.size.loc.start.column;var l=a.size.loc.end.column;var u=a.size.value+o;var f=(0,r.encodeU32)(u);a.size.value=u;var p=l-c;var d=f.length;if(d!==p){var h=d-p;a.size.loc.end.column=c+d;o+=h;a.vectorOfSize.loc.start.column+=h;a.vectorOfSize.loc.end.column+=h}var m=false;(0,s.traverse)(e,{SectionMetadata:function SectionMetadata(t){if(t.node.section===n){m=true;return}if(m===true){(0,s.shiftSection)(e,t.node,o)}}});return(0,i.overrideBytesInBuffer)(t,c,l,f)}function resizeSectionVecSize(e,t,n,o){var a=(0,s.getSectionMetadata)(e,n);if(typeof a==="undefined"){throw new Error("Section metadata not found")}if(typeof a.vectorOfSize.loc==="undefined"){throw new Error("SectionMetadata "+n+" has no loc")}if(a.vectorOfSize.value===-1){return t}var c=a.vectorOfSize.loc.start.column;var l=a.vectorOfSize.loc.end.column;var u=a.vectorOfSize.value+o;var f=(0,r.encodeU32)(u);a.vectorOfSize.value=u;a.vectorOfSize.loc.end.column=c+f.length;return(0,i.overrideBytesInBuffer)(t,c,l,f)}},6175:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.encodeF32=encodeF32;t.encodeF64=encodeF64;t.decodeF32=decodeF32;t.decodeF64=decodeF64;t.DOUBLE_PRECISION_MANTISSA=t.SINGLE_PRECISION_MANTISSA=t.NUMBER_OF_BYTE_F64=t.NUMBER_OF_BYTE_F32=void 0;var r=n(96096);var s=4;t.NUMBER_OF_BYTE_F32=s;var i=8;t.NUMBER_OF_BYTE_F64=i;var o=23;t.SINGLE_PRECISION_MANTISSA=o;var a=52;t.DOUBLE_PRECISION_MANTISSA=a;function encodeF32(e){var t=[];(0,r.write)(t,e,0,true,o,s);return t}function encodeF64(e){var t=[];(0,r.write)(t,e,0,true,a,i);return t}function decodeF32(e){var t=Buffer.from(e);return(0,r.read)(t,0,true,o,s)}function decodeF64(e){var t=Buffer.from(e);return(0,r.read)(t,0,true,a,i)}},47132:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.extract=extract;t.inject=inject;t.getSign=getSign;t.highOrder=highOrder;function extract(e,t,n,r){if(n<0||n>32){throw new Error("Bad value for bitLength.")}if(r===undefined){r=0}else if(r!==0&&r!==1){throw new Error("Bad value for defaultBit.")}var s=r*255;var i=0;var o=t+n;var a=Math.floor(t/8);var c=t%8;var l=Math.floor(o/8);var u=o%8;if(u!==0){i=get(l)&(1<a){l--;i=i<<8|get(l)}i>>>=c;return i;function get(t){var n=e[t];return n===undefined?s:n}}function inject(e,t,n,r){if(n<0||n>32){throw new Error("Bad value for bitLength.")}var s=Math.floor((t+n-1)/8);if(t<0||s>=e.length){throw new Error("Index out of range.")}var i=Math.floor(t/8);var o=t%8;while(n>0){if(r&1){e[i]|=1<>=1;n--;o=(o+1)%8;if(o===0){i++}}}function getSign(e){return e[e.length-1]>>>7}function highOrder(e,t){var n=t.length;var r=(e^1)*255;while(n>0&&t[n-1]===r){n--}if(n===0){return-1}var s=t[n-1];var i=n*8-1;for(var o=7;o>0;o--){if((s>>o&1)===e){break}i--}return i}},26896:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.alloc=alloc;t.free=free;t.resize=resize;t.readInt=readInt;t.readUInt=readUInt;t.writeInt64=writeInt64;t.writeUInt64=writeUInt64;var n=[];var r=20;var s=-0x8000000000000000;var i=0x7ffffffffffffc00;var o=0xfffffffffffff800;var a=4294967296;var c=0x10000000000000000;function lowestBit(e){return e&-e}function isLossyToAdd(e,t){if(t===0){return false}var n=lowestBit(t);var r=e+n;if(r===e){return true}if(r-n!==e){return true}return false}function alloc(e){var t=n[e];if(t){n[e]=undefined}else{t=new Buffer(e)}t.fill(0);return t}function free(e){var t=e.length;if(t=0;i--){r=r*256+e[i]}}else{for(var o=t-1;o>=0;o--){var a=e[o];r*=256;if(isLossyToAdd(r,a)){s=true}r+=a}}return{value:r,lossy:s}}function readUInt(e){var t=e.length;var n=0;var r=false;if(t<7){for(var s=t-1;s>=0;s--){n=n*256+e[s]}}else{for(var i=t-1;i>=0;i--){var o=e[i];n*=256;if(isLossyToAdd(n,o)){r=true}n+=o}}return{value:n,lossy:r}}function writeInt64(e,t){if(ei){throw new Error("Value out of range.")}if(e<0){e+=c}writeUInt64(e,t)}function writeUInt64(e,t){if(e<0||e>o){throw new Error("Value out of range.")}var n=e%a;var r=Math.floor(e/a);t.writeUInt32LE(n,0);t.writeUInt32LE(r,4)}},86781:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.decodeInt64=decodeInt64;t.decodeUInt64=decodeUInt64;t.decodeInt32=decodeInt32;t.decodeUInt32=decodeUInt32;t.encodeU32=encodeU32;t.encodeI32=encodeI32;t.encodeI64=encodeI64;t.MAX_NUMBER_OF_BYTE_U64=t.MAX_NUMBER_OF_BYTE_U32=void 0;var r=_interopRequireDefault(n(94978));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var s=5;t.MAX_NUMBER_OF_BYTE_U32=s;var i=10;t.MAX_NUMBER_OF_BYTE_U64=i;function decodeInt64(e,t){return r.default.decodeInt64(e,t)}function decodeUInt64(e,t){return r.default.decodeUInt64(e,t)}function decodeInt32(e,t){return r.default.decodeInt32(e,t)}function decodeUInt32(e,t){return r.default.decodeUInt32(e,t)}function encodeU32(e){return r.default.encodeUInt32(e)}function encodeI32(e){return r.default.encodeInt32(e)}function encodeI64(e){return r.default.encodeInt64(e)}},94978:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=_interopRequireDefault(n(60667));var s=_interopRequireWildcard(n(47132));var i=_interopRequireWildcard(n(26896));function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};if(r.get||r.set){Object.defineProperty(t,n,r)}else{t[n]=e[n]}}}}t.default=e;return t}}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var o=-2147483648;var a=2147483647;var c=4294967295;function signedBitCount(e){return s.highOrder(s.getSign(e)^1,e)+2}function unsignedBitCount(e){var t=s.highOrder(1,e)+1;return t?t:1}function encodeBufferCommon(e,t){var n;var r;if(t){n=s.getSign(e);r=signedBitCount(e)}else{n=0;r=unsignedBitCount(e)}var o=Math.ceil(r/7);var a=i.alloc(o);for(var c=0;c=128){n++}n++;if(t+n>e.length){}return n}function decodeBufferCommon(e,t,n){t=t===undefined?0:t;var r=encodedLength(e,t);var o=r*7;var a=Math.ceil(o/8);var c=i.alloc(a);var l=0;while(r>0){s.inject(c,l,7,e[t]);l+=7;t++;r--}var u;var f;if(n){var p=c[a-1];var d=l%8;if(d!==0){var h=32-d;p=c[a-1]=p<>h&255}u=p>>7;f=u*255}else{u=0;f=0}while(a>1&&c[a-1]===f&&(!n||c[a-2]>>7===u)){a--}c=i.resize(c,a);return{value:c,nextIndex:t}}function encodeIntBuffer(e){return encodeBufferCommon(e,true)}function decodeIntBuffer(e,t){return decodeBufferCommon(e,t,true)}function encodeInt32(e){var t=i.alloc(4);t.writeInt32LE(e,0);var n=encodeIntBuffer(t);i.free(t);return n}function decodeInt32(e,t){var n=decodeIntBuffer(e,t);var r=i.readInt(n.value);var s=r.value;i.free(n.value);if(sa){throw new Error("integer too large")}return{value:s,nextIndex:n.nextIndex}}function encodeInt64(e){var t=i.alloc(8);i.writeInt64(e,t);var n=encodeIntBuffer(t);i.free(t);return n}function decodeInt64(e,t){var n=decodeIntBuffer(e,t);var s=r.default.fromBytesLE(n.value,false);i.free(n.value);return{value:s,nextIndex:n.nextIndex,lossy:false}}function encodeUIntBuffer(e){return encodeBufferCommon(e,false)}function decodeUIntBuffer(e,t){return decodeBufferCommon(e,t,false)}function encodeUInt32(e){var t=i.alloc(4);t.writeUInt32LE(e,0);var n=encodeUIntBuffer(t);i.free(t);return n}function decodeUInt32(e,t){var n=decodeUIntBuffer(e,t);var r=i.readUInt(n.value);var s=r.value;i.free(n.value);if(s>c){throw new Error("integer too large")}return{value:s,nextIndex:n.nextIndex}}function encodeUInt64(e){var t=i.alloc(8);i.writeUInt64(e,t);var n=encodeUIntBuffer(t);i.free(t);return n}function decodeUInt64(e,t){var n=decodeUIntBuffer(e,t);var s=r.default.fromBytesLE(n.value,true);i.free(n.value);return{value:s,nextIndex:n.nextIndex,lossy:false}}var l={decodeInt32:decodeInt32,decodeInt64:decodeInt64,decodeIntBuffer:decodeIntBuffer,decodeUInt32:decodeUInt32,decodeUInt64:decodeUInt64,decodeUIntBuffer:decodeUIntBuffer,encodeInt32:encodeInt32,encodeInt64:encodeInt64,encodeIntBuffer:encodeIntBuffer,encodeUInt32:encodeUInt32,encodeUInt64:encodeUInt64,encodeUIntBuffer:encodeUIntBuffer};t.default=l},35969:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.decode=decode;function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=65536){throw new Error("invalid UTF-8 encoding")}else{return t}}function decode(e){return _decode(e).map(function(e){return String.fromCharCode(e)}).join("")}function _decode(e){if(e.length===0){return[]}{var t=_toArray(e),n=t[0],r=t.slice(1);if(n<128){return[code(0,n)].concat(_toConsumableArray(_decode(r)))}if(n<192){throw new Error("invalid UTF-8 encoding")}}{var s=_toArray(e),i=s[0],o=s[1],a=s.slice(2);if(i<224){return[code(128,((i&31)<<6)+con(o))].concat(_toConsumableArray(_decode(a)))}}{var c=_toArray(e),l=c[0],u=c[1],f=c[2],p=c.slice(3);if(l<240){return[code(2048,((l&15)<<12)+(con(u)<<6)+con(f))].concat(_toConsumableArray(_decode(p)))}}{var d=_toArray(e),h=d[0],m=d[1],y=d[2],g=d[3],v=d.slice(4);if(h<248){return[code(65536,(((h&7)<<18)+con(m)<<12)+(con(y)<<6)+con(g))].concat(_toConsumableArray(_decode(v)))}}throw new Error("invalid UTF-8 encoding")}},33885:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.encode=encode;function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t>>6,con(n)].concat(_toConsumableArray(_encode(r)))}if(n<65536){return[224|n>>>12,con(n>>>6),con(n)].concat(_toConsumableArray(_encode(r)))}if(n<1114112){return[240|n>>>18,con(n>>>12),con(n>>>6),con(n)].concat(_toConsumableArray(_encode(r)))}throw new Error("utf8")}},2844:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"decode",{enumerable:true,get:function get(){return r.decode}});Object.defineProperty(t,"encode",{enumerable:true,get:function get(){return s.encode}});var r=n(35969);var s=n(33885)},45731:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.applyOperations=applyOperations;var r=n(21052);var s=n(72599);var i=n(51826);var o=n(82706);var a=n(57496);var c=n(7072);function _sliceIterator(e,t){var n=[];var r=true;var s=false;var i=undefined;try{for(var o=e[Symbol.iterator](),a;!(r=(a=o.next()).done);r=true){n.push(a.value);if(t&&n.length===t)break}}catch(e){s=true;i=e}finally{try{if(!r&&o["return"]!=null)o["return"]()}finally{if(s)throw i}}return n}function _slicedToArray(e,t){if(Array.isArray(e)){return e}else if(Symbol.iterator in Object(e)){return _sliceIterator(e,t)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}function shiftLocNodeByDelta(e,t){(0,i.assertHasLoc)(e);e.loc.start.column+=t;e.loc.end.column+=t}function applyUpdate(e,t,n){var o=_slicedToArray(n,2),l=o[0],u=o[1];var f=0;(0,i.assertHasLoc)(l);var p=(0,c.getSectionForNode)(u);var d=(0,r.encodeNode)(u);t=(0,a.overrideBytesInBuffer)(t,l.loc.start.column,l.loc.end.column,d);if(p==="code"){(0,i.traverse)(e,{Func:function Func(e){var n=e.node;var o=n.body.find(function(e){return e===u})!==undefined;if(o===true){(0,i.assertHasLoc)(n);var c=(0,r.encodeNode)(l).length;var f=d.length-c;if(f!==0){var p=n.metadata.bodySize+f;var h=(0,s.encodeU32)(p);var m=n.loc.start.column;var y=m+1;t=(0,a.overrideBytesInBuffer)(t,m,y,h)}}}})}var h=d.length-(l.loc.end.column-l.loc.start.column);u.loc={start:{line:-1,column:-1},end:{line:-1,column:-1}};u.loc.start.column=l.loc.start.column;u.loc.end.column=l.loc.start.column+d.length;return{uint8Buffer:t,deltaBytes:h,deltaElements:f}}function applyDelete(e,t,n){var r=-1;(0,i.assertHasLoc)(n);var s=(0,c.getSectionForNode)(n);if(s==="start"){var l=(0,i.getSectionMetadata)(e,"start");t=(0,o.removeSections)(e,t,"start");var u=-(l.size.value+1);return{uint8Buffer:t,deltaBytes:u,deltaElements:r}}var f=[];t=(0,a.overrideBytesInBuffer)(t,n.loc.start.column,n.loc.end.column,f);var p=-(n.loc.end.column-n.loc.start.column);return{uint8Buffer:t,deltaBytes:p,deltaElements:r}}function applyAdd(e,t,n){var s=+1;var l=(0,c.getSectionForNode)(n);var u=(0,i.getSectionMetadata)(e,l);if(typeof u==="undefined"){var f=(0,o.createEmptySection)(e,t,l);t=f.uint8Buffer;u=f.sectionMetadata}if((0,i.isFunc)(n)){var p=n.body;if(p.length===0||p[p.length-1].id!=="end"){throw new Error("expressions must be ended")}}if((0,i.isGlobal)(n)){var p=n.init;if(p.length===0||p[p.length-1].id!=="end"){throw new Error("expressions must be ended")}}var d=(0,r.encodeNode)(n);var h=(0,i.getEndOfSection)(u);var m=h;var y=d.length;t=(0,a.overrideBytesInBuffer)(t,h,m,d);n.loc={start:{line:-1,column:h},end:{line:-1,column:h+y}};if(n.type==="Func"){var g=d[0];n.metadata={bodySize:g}}if(n.type!=="IndexInFuncSection"){(0,i.orderedInsertNode)(e.body[0],n)}return{uint8Buffer:t,deltaBytes:y,deltaElements:s}}function applyOperations(e,t,n){n.forEach(function(r){var s;var i;switch(r.kind){case"update":s=applyUpdate(e,t,[r.oldNode,r.node]);i=(0,c.getSectionForNode)(r.node);break;case"delete":s=applyDelete(e,t,r.node);i=(0,c.getSectionForNode)(r.node);break;case"add":s=applyAdd(e,t,r.node);i=(0,c.getSectionForNode)(r.node);break;default:throw new Error("Unknown operation")}if(s.deltaElements!==0&&i!=="start"){var a=s.uint8Buffer.length;s.uint8Buffer=(0,o.resizeSectionVecSize)(e,s.uint8Buffer,i,s.deltaElements);s.deltaBytes+=s.uint8Buffer.length-a}if(s.deltaBytes!==0&&i!=="start"){var l=s.uint8Buffer.length;s.uint8Buffer=(0,o.resizeSectionByteSize)(e,s.uint8Buffer,i,s.deltaBytes);s.deltaBytes+=s.uint8Buffer.length-l}if(s.deltaBytes!==0){n.forEach(function(e){switch(e.kind){case"update":shiftLocNodeByDelta(e.oldNode,s.deltaBytes);break;case"delete":shiftLocNodeByDelta(e.node,s.deltaBytes);break}})}t=s.uint8Buffer});return t}},87362:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.edit=edit;t.editWithAST=editWithAST;t.add=add;t.addWithAST=addWithAST;var r=n(73726);var s=n(51826);var i=n(93798);var o=n(50218);var a=_interopRequireWildcard(n(7072));var c=n(45731);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};if(r.get||r.set){Object.defineProperty(t,n,r)}else{t[n]=e[n]}}}}t.default=e;return t}}function hashNode(e){return JSON.stringify(e)}function preprocess(e){var t=(0,o.shrinkPaddedLEB128)(new Uint8Array(e));return t.buffer}function sortBySectionOrder(e){var t=new Map;var n=true;var r=false;var s=undefined;try{for(var i=e[Symbol.iterator](),o;!(n=(o=i.next()).done);n=true){var c=o.value;t.set(c,t.size)}}catch(e){r=true;s=e}finally{try{if(!n&&i.return!=null){i.return()}}finally{if(r){throw s}}}e.sort(function(e,n){var r=(0,a.getSectionForNode)(e);var s=(0,a.getSectionForNode)(n);var i=a.default.sections[r];var o=a.default.sections[s];if(typeof i!=="number"||typeof o!=="number"){throw new Error("Section id not found")}if(i===o){return t.get(e)-t.get(n)}return i-o})}function edit(e,t){e=preprocess(e);var n=(0,r.decode)(e);return editWithAST(n,e,t)}function editWithAST(e,t,n){var r=[];var o=new Uint8Array(t);var a;function before(e,t){a=(0,i.cloneNode)(t.node)}function after(e,t){if(t.node._deleted===true){r.push({kind:"delete",node:t.node})}else if(hashNode(a)!==hashNode(t.node)){r.push({kind:"update",oldNode:a,node:t.node})}}(0,s.traverse)(e,n,before,after);o=(0,c.applyOperations)(e,o,r);return o.buffer}function add(e,t){e=preprocess(e);var n=(0,r.decode)(e);return addWithAST(n,e,t)}function addWithAST(e,t,n){sortBySectionOrder(n);var r=new Uint8Array(t);var s=n.map(function(e){return{kind:"add",node:e}});r=(0,c.applyOperations)(e,r,s);return r.buffer}},72599:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.encodeVersion=encodeVersion;t.encodeHeader=encodeHeader;t.encodeU32=encodeU32;t.encodeI32=encodeI32;t.encodeI64=encodeI64;t.encodeVec=encodeVec;t.encodeValtype=encodeValtype;t.encodeMutability=encodeMutability;t.encodeUTF8Vec=encodeUTF8Vec;t.encodeLimits=encodeLimits;t.encodeModuleImport=encodeModuleImport;t.encodeSectionMetadata=encodeSectionMetadata;t.encodeCallInstruction=encodeCallInstruction;t.encodeCallIndirectInstruction=encodeCallIndirectInstruction;t.encodeModuleExport=encodeModuleExport;t.encodeTypeInstruction=encodeTypeInstruction;t.encodeInstr=encodeInstr;t.encodeStringLiteral=encodeStringLiteral;t.encodeGlobal=encodeGlobal;t.encodeFuncBody=encodeFuncBody;t.encodeIndexInFuncSection=encodeIndexInFuncSection;t.encodeElem=encodeElem;var r=_interopRequireWildcard(n(86781));var s=_interopRequireWildcard(n(6175));var i=_interopRequireWildcard(n(2844));var o=_interopRequireDefault(n(7072));var a=n(21052);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};if(r.get||r.set){Object.defineProperty(t,n,r)}else{t[n]=e[n]}}}}t.default=e;return t}}function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.encodeNode=encodeNode;t.encodeU32=void 0;var r=_interopRequireWildcard(n(72599));function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};if(r.get||r.set){Object.defineProperty(t,n,r)}else{t[n]=e[n]}}}}t.default=e;return t}}function encodeNode(e){switch(e.type){case"ModuleImport":return r.encodeModuleImport(e);case"SectionMetadata":return r.encodeSectionMetadata(e);case"CallInstruction":return r.encodeCallInstruction(e);case"CallIndirectInstruction":return r.encodeCallIndirectInstruction(e);case"TypeInstruction":return r.encodeTypeInstruction(e);case"Instr":return r.encodeInstr(e);case"ModuleExport":return r.encodeModuleExport(e);case"Global":return r.encodeGlobal(e);case"Func":return r.encodeFuncBody(e);case"IndexInFuncSection":return r.encodeIndexInFuncSection(e);case"StringLiteral":return r.encodeStringLiteral(e);case"Elem":return r.encodeElem(e);default:throw new Error("Unsupported encoding for node of type: "+JSON.stringify(e.type))}}var s=r.encodeU32;t.encodeU32=s},50218:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shrinkPaddedLEB128=shrinkPaddedLEB128;var r=n(73726);var s=n(8391);function _typeof(e){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(e){return typeof e}}else{_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}function _classCallCheck(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,t){if(t&&(_typeof(t)==="object"||typeof t==="function")){return t}if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function _inherits(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function")}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var i=function(e){_inherits(OptimizerError,e);function OptimizerError(e,t){var n;_classCallCheck(this,OptimizerError);n=_possibleConstructorReturn(this,(OptimizerError.__proto__||Object.getPrototypeOf(OptimizerError)).call(this,"Error while optimizing: "+e+": "+t.message));n.stack=t.stack;return n}return OptimizerError}(Error);var o={ignoreCodeSection:true,ignoreDataSection:true};function shrinkPaddedLEB128(e){try{var t=(0,r.decode)(e.buffer,o);return(0,s.shrinkPaddedLEB128)(t,e)}catch(e){throw new i("shrinkPaddedLEB128",e)}}},8391:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shrinkPaddedLEB128=shrinkPaddedLEB128;var r=n(51826);var s=n(72599);var i=n(57496);function shiftFollowingSections(e,t,n){var s=t.section;var i=false;(0,r.traverse)(e,{SectionMetadata:function SectionMetadata(t){if(t.node.section===s){i=true;return}if(i===true){(0,r.shiftSection)(e,t.node,n)}}})}function shrinkPaddedLEB128(e,t){(0,r.traverse)(e,{SectionMetadata:function SectionMetadata(n){var r=n.node;{var o=(0,s.encodeU32)(r.size.value);var a=o.length;var c=r.size.loc.start.column;var l=r.size.loc.end.column;var u=l-c;if(a!==u){var f=u-a;t=(0,i.overrideBytesInBuffer)(t,c,l,o);shiftFollowingSections(e,r,-f)}}}});return t}},64026:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.decode=decode;var r=n(5043);var s=_interopRequireWildcard(n(6175));var i=_interopRequireWildcard(n(2844));var o=_interopRequireWildcard(n(51826));var a=n(86781);var c=_interopRequireDefault(n(7072));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};if(r.get||r.set){Object.defineProperty(t,n,r)}else{t[n]=e[n]}}}}t.default=e;return t}}function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=n.length}function eatBytes(e){u=u+e}function readBytesAtOffset(e,t){var r=[];for(var s=0;s>7?-1:1;var r=0;for(var i=0;i>7?-1:1;var r=0;for(var i=0;in.length){throw new Error("unexpected end")}var e=readBytes(4);if(byteArrayEq(c.default.magicModuleHeader,e)===false){throw new r.CompileError("magic header not detected")}dump(e,"wasm magic header");eatBytes(4)}function parseVersion(){if(isEOF()===true||u+4>n.length){throw new Error("unexpected end")}var e=readBytes(4);if(byteArrayEq(c.default.moduleVersion,e)===false){throw new r.CompileError("unknown binary version")}dump(e,"wasm version");eatBytes(4)}function parseVec(e){var t=readU32();var n=t.value;eatBytes(t.nextIndex);dump([n],"number");if(n===0){return[]}var s=[];for(var i=0;i=40&&s<=64){if(i.name==="grow_memory"||i.name==="current_memory"){var K=readU32();var Y=K.value;eatBytes(K.nextIndex);if(Y!==0){throw new Error("zero flag expected")}dump([Y],"index")}else{var Z=readU32();var $=Z.value;eatBytes(Z.nextIndex);dump([$],"align");var ee=readU32();var te=ee.value;eatBytes(ee.nextIndex);dump([te],"offset")}}else if(s>=65&&s<=68){if(i.object==="i32"){var ne=read32();var re=ne.value;eatBytes(ne.nextIndex);dump([re],"i32 value");u.push(o.numberLiteralFromRaw(re))}if(i.object==="u32"){var se=readU32();var ie=se.value;eatBytes(se.nextIndex);dump([ie],"u32 value");u.push(o.numberLiteralFromRaw(ie))}if(i.object==="i64"){var oe=read64();var ae=oe.value;eatBytes(oe.nextIndex);dump([Number(ae.toString())],"i64 value");var ce=ae.high,le=ae.low;var ue={type:"LongNumberLiteral",value:{high:ce,low:le}};u.push(ue)}if(i.object==="u64"){var fe=readU64();var pe=fe.value;eatBytes(fe.nextIndex);dump([Number(pe.toString())],"u64 value");var de=pe.high,he=pe.low;var me={type:"LongNumberLiteral",value:{high:de,low:he}};u.push(me)}if(i.object==="f32"){var ye=readF32();var ge=ye.value;eatBytes(ye.nextIndex);dump([ge],"f32 value");u.push(o.floatLiteral(ge,ye.nan,ye.inf,String(ge)))}if(i.object==="f64"){var ve=readF64();var be=ve.value;eatBytes(ve.nextIndex);dump([be],"f64 value");u.push(o.floatLiteral(be,ve.nan,ve.inf,String(be)))}}else{for(var we=0;we=e||e===c.default.sections.custom){e=n+1}else{if(n!==c.default.sections.custom)throw new r.CompileError("Unexpected section: "+toHex(n))}var s=e;var i=u;var a=getPosition();var l=readU32();var f=l.value;eatBytes(l.nextIndex);var p=function(){var e=getPosition();return o.withLoc(o.numberLiteralFromRaw(f),e,a)}();switch(n){case c.default.sections.type:{dumpSep("section Type");dump([n],"section code");dump([f],"section size");var d=getPosition();var h=readU32();var m=h.value;eatBytes(h.nextIndex);var y=o.sectionMetadata("type",i,p,function(){var e=getPosition();return o.withLoc(o.numberLiteralFromRaw(m),e,d)}());var g=parseTypeSection(m);return{nodes:g,metadata:y,nextSectionIndex:s}}case c.default.sections.table:{dumpSep("section Table");dump([n],"section code");dump([f],"section size");var v=getPosition();var b=readU32();var w=b.value;eatBytes(b.nextIndex);dump([w],"num tables");var k=o.sectionMetadata("table",i,p,function(){var e=getPosition();return o.withLoc(o.numberLiteralFromRaw(w),e,v)}());var x=parseTableSection(w);return{nodes:x,metadata:k,nextSectionIndex:s}}case c.default.sections.import:{dumpSep("section Import");dump([n],"section code");dump([f],"section size");var S=getPosition();var E=readU32();var O=E.value;eatBytes(E.nextIndex);dump([O],"number of imports");var C=o.sectionMetadata("import",i,p,function(){var e=getPosition();return o.withLoc(o.numberLiteralFromRaw(O),e,S)}());var M=parseImportSection(O);return{nodes:M,metadata:C,nextSectionIndex:s}}case c.default.sections.func:{dumpSep("section Function");dump([n],"section code");dump([f],"section size");var A=getPosition();var I=readU32();var T=I.value;eatBytes(I.nextIndex);var R=o.sectionMetadata("func",i,p,function(){var e=getPosition();return o.withLoc(o.numberLiteralFromRaw(T),e,A)}());parseFuncSection(T);var j=[];return{nodes:j,metadata:R,nextSectionIndex:s}}case c.default.sections.export:{dumpSep("section Export");dump([n],"section code");dump([f],"section size");var F=getPosition();var N=readU32();var D=N.value;eatBytes(N.nextIndex);var P=o.sectionMetadata("export",i,p,function(){var e=getPosition();return o.withLoc(o.numberLiteralFromRaw(D),e,F)}());parseExportSection(D);var L=[];return{nodes:L,metadata:P,nextSectionIndex:s}}case c.default.sections.code:{dumpSep("section Code");dump([n],"section code");dump([f],"section size");var q=getPosition();var _=readU32();var z=_.value;eatBytes(_.nextIndex);var B=o.sectionMetadata("code",i,p,function(){var e=getPosition();return o.withLoc(o.numberLiteralFromRaw(z),e,q)}());if(t.ignoreCodeSection===true){var W=f-_.nextIndex;eatBytes(W)}else{parseCodeSection(z)}var U=[];return{nodes:U,metadata:B,nextSectionIndex:s}}case c.default.sections.start:{dumpSep("section Start");dump([n],"section code");dump([f],"section size");var H=o.sectionMetadata("start",i,p);var J=[parseStartSection()];return{nodes:J,metadata:H,nextSectionIndex:s}}case c.default.sections.element:{dumpSep("section Element");dump([n],"section code");dump([f],"section size");var G=getPosition();var X=readU32();var Q=X.value;eatBytes(X.nextIndex);var V=o.sectionMetadata("element",i,p,function(){var e=getPosition();return o.withLoc(o.numberLiteralFromRaw(Q),e,G)}());var K=parseElemSection(Q);return{nodes:K,metadata:V,nextSectionIndex:s}}case c.default.sections.global:{dumpSep("section Global");dump([n],"section code");dump([f],"section size");var Y=getPosition();var Z=readU32();var $=Z.value;eatBytes(Z.nextIndex);var ee=o.sectionMetadata("global",i,p,function(){var e=getPosition();return o.withLoc(o.numberLiteralFromRaw($),e,Y)}());var te=parseGlobalSection($);return{nodes:te,metadata:ee,nextSectionIndex:s}}case c.default.sections.memory:{dumpSep("section Memory");dump([n],"section code");dump([f],"section size");var ne=getPosition();var re=readU32();var se=re.value;eatBytes(re.nextIndex);var ie=o.sectionMetadata("memory",i,p,function(){var e=getPosition();return o.withLoc(o.numberLiteralFromRaw(se),e,ne)}());var oe=parseMemorySection(se);return{nodes:oe,metadata:ie,nextSectionIndex:s}}case c.default.sections.data:{dumpSep("section Data");dump([n],"section code");dump([f],"section size");var ae=o.sectionMetadata("data",i,p);var ce=getPosition();var le=readU32();var ue=le.value;eatBytes(le.nextIndex);ae.vectorOfSize=function(){var e=getPosition();return o.withLoc(o.numberLiteralFromRaw(ue),e,ce)}();if(t.ignoreDataSection===true){var fe=f-le.nextIndex;eatBytes(fe);dumpSep("ignore data ("+f+" bytes)");return{nodes:[],metadata:ae,nextSectionIndex:s}}else{var pe=parseDataSection(ue);return{nodes:pe,metadata:ae,nextSectionIndex:s}}}case c.default.sections.custom:{dumpSep("section Custom");dump([n],"section code");dump([f],"section size");var de=[o.sectionMetadata("custom",i,p)];var he=readUTF8String();eatBytes(he.nextIndex);dump([],"section name (".concat(he.value,")"));var me=f-he.nextIndex;if(he.value==="name"){var ye=u;try{de.push.apply(de,_toConsumableArray(parseNameSection(me)))}catch(e){console.warn('Failed to decode custom "name" section @'.concat(u,"; ignoring (").concat(e.message,")."));eatBytes(u-(ye+me))}}else if(he.value==="producers"){var ge=u;try{de.push(parseProducersSection())}catch(e){console.warn('Failed to decode custom "producers" section @'.concat(u,"; ignoring (").concat(e.message,")."));eatBytes(u-(ge+me))}}else{eatBytes(me);dumpSep("ignore custom "+JSON.stringify(he.value)+" section ("+me+" bytes)")}return{nodes:[],metadata:de,nextSectionIndex:s}}}throw new r.CompileError("Unexpected section: "+toHex(n))}parseModuleHeader();parseVersion();var p=[];var d=0;var h={sections:[],functionNames:[],localNames:[],producers:[]};while(u{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.decode=decode;var r=_interopRequireWildcard(n(64026));var s=_interopRequireWildcard(n(51826));function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};if(r.get||r.set){Object.defineProperty(t,n,r)}else{t[n]=e[n]}}}}t.default=e;return t}}var i={dump:false,ignoreCodeSection:false,ignoreDataSection:false,ignoreCustomNameSection:false};function restoreFunctionNames(e){var t=[];s.traverse(e,{FunctionNameMetadata:function FunctionNameMetadata(e){var n=e.node;t.push({name:n.value,index:n.index})}});if(t.length===0){return}s.traverse(e,{Func:function(e){function Func(t){return e.apply(this,arguments)}Func.toString=function(){return e.toString()};return Func}(function(e){var n=e.node;var r=n.name;var s=r.value;var i=Number(s.replace("func_",""));var o=t.find(function(e){return e.index===i});if(o){var a=r.value;r.value=o.name;r.numeric=a;delete r.raw}}),ModuleExport:function(e){function ModuleExport(t){return e.apply(this,arguments)}ModuleExport.toString=function(){return e.toString()};return ModuleExport}(function(e){var n=e.node;if(n.descr.exportType==="Func"){var r=n.descr.id;var i=r.value;var o=t.find(function(e){return e.index===i});if(o){n.descr.id=s.identifier(o.name)}}}),ModuleImport:function(e){function ModuleImport(t){return e.apply(this,arguments)}ModuleImport.toString=function(){return e.toString()};return ModuleImport}(function(e){var n=e.node;if(n.descr.type==="FuncImportDescr"){var r=n.descr.id;var i=Number(r.replace("func_",""));var o=t.find(function(e){return e.index===i});if(o){n.descr.id=s.identifier(o.name)}}}),CallInstruction:function(e){function CallInstruction(t){return e.apply(this,arguments)}CallInstruction.toString=function(){return e.toString()};return CallInstruction}(function(e){var n=e.node;var r=n.index.value;var i=t.find(function(e){return e.index===r});if(i){var o=n.index;n.index=s.identifier(i.name);n.numeric=o;delete n.raw}})})}function restoreLocalNames(e){var t=[];s.traverse(e,{LocalNameMetadata:function LocalNameMetadata(e){var n=e.node;t.push({name:n.value,localIndex:n.localIndex,functionIndex:n.functionIndex})}});if(t.length===0){return}s.traverse(e,{Func:function(e){function Func(t){return e.apply(this,arguments)}Func.toString=function(){return e.toString()};return Func}(function(e){var n=e.node;var r=n.signature;if(r.type!=="Signature"){return}var s=n.name;var i=s.value;var o=Number(i.replace("func_",""));r.params.forEach(function(e,n){var r=t.find(function(e){return e.localIndex===n&&e.functionIndex===o});if(r&&r.name!==""){e.id=r.name}})})})}function restoreModuleName(e){s.traverse(e,{ModuleNameMetadata:function(e){function ModuleNameMetadata(t){return e.apply(this,arguments)}ModuleNameMetadata.toString=function(){return e.toString()};return ModuleNameMetadata}(function(t){s.traverse(e,{Module:function(e){function Module(t){return e.apply(this,arguments)}Module.toString=function(){return e.toString()};return Module}(function(e){var n=e.node;var r=t.node.value;if(r===""){r=null}n.id=r})})})})}function decode(e,t){var n=Object.assign({},i,t);var s=r.decode(e,n);if(n.ignoreCustomNameSection===false){restoreFunctionNames(s);restoreLocalNames(s);restoreModuleName(s)}return s}},29142:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parse=parse;var r=n(7560);var s=_interopRequireWildcard(n(51826));var i=n(29187);var o=n(82801);var a=n(84482);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};if(r.get||r.set){Object.defineProperty(t,n,r)}else{t[n]=e[n]}}}}t.default=e;return t}}function _typeof(e){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(e){return typeof e}}else{_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0){return s.table(o,n,e,i)}else{return s.table(o,n,e)}}function parseImport(){if(u.type!==a.tokens.string){throw new Error("Expected a string, "+u.type+" given.")}var e=u.value;eatToken();if(u.type!==a.tokens.string){throw new Error("Expected a string, "+u.type+" given.")}var n=u.value;eatToken();eatTokenOfType(a.tokens.openParen);var i;if(isKeyword(u,a.keywords.func)){eatToken();var o=[];var l=[];var f;var p=s.identifier(c("func"));if(u.type===a.tokens.identifier){p=identifierFromToken(u);eatToken()}while(u.type===a.tokens.openParen){eatToken();if(lookaheadAndCheck(a.keywords.type)===true){eatToken();f=parseTypeReference()}else if(lookaheadAndCheck(a.keywords.param)===true){eatToken();o.push.apply(o,_toConsumableArray(parseFuncParam()))}else if(lookaheadAndCheck(a.keywords.result)===true){eatToken();l.push.apply(l,_toConsumableArray(parseFuncResult()))}else{throw function(){return new Error("\n"+(0,r.codeFrameFromSource)(t,u.loc)+"\n"+"Unexpected token in import of type"+", given "+tokenToString(u))}()}eatTokenOfType(a.tokens.closeParen)}if(typeof p==="undefined"){throw new Error("Imported function must have a name")}i=s.funcImportDescr(p,f!==undefined?f:s.signature(o,l))}else if(isKeyword(u,a.keywords.global)){eatToken();if(u.type===a.tokens.openParen){eatToken();eatTokenOfType(a.tokens.keyword);var d=u.value;eatToken();i=s.globalType(d,"var");eatTokenOfType(a.tokens.closeParen)}else{var h=u.value;eatTokenOfType(a.tokens.valtype);i=s.globalType(h,"const")}}else if(isKeyword(u,a.keywords.memory)===true){eatToken();i=parseMemory()}else if(isKeyword(u,a.keywords.table)===true){eatToken();i=parseTable()}else{throw new Error("Unsupported import type: "+tokenToString(u))}eatTokenOfType(a.tokens.closeParen);return s.moduleImport(e,n,i)}function parseBlock(){var e=s.identifier(c("block"));var n=null;var i=[];if(u.type===a.tokens.identifier){e=identifierFromToken(u);eatToken()}else{e=s.withRaw(e,"")}while(u.type===a.tokens.openParen){eatToken();if(lookaheadAndCheck(a.keywords.result)===true){eatToken();n=u.value;eatToken()}else if(lookaheadAndCheck(a.tokens.name)===true||lookaheadAndCheck(a.tokens.valtype)===true||u.type==="keyword"){i.push(parseFuncInstr())}else{throw function(){return new Error("\n"+(0,r.codeFrameFromSource)(t,u.loc)+"\n"+"Unexpected token in block body of type"+", given "+tokenToString(u))}()}maybeIgnoreComment();eatTokenOfType(a.tokens.closeParen)}return s.blockInstruction(e,i,n)}function parseIf(){var e=null;var n=s.identifier(c("if"));var i=[];var o=[];var l=[];if(u.type===a.tokens.identifier){n=identifierFromToken(u);eatToken()}else{n=s.withRaw(n,"")}while(u.type===a.tokens.openParen){eatToken();if(isKeyword(u,a.keywords.result)===true){eatToken();e=u.value;eatTokenOfType(a.tokens.valtype);eatTokenOfType(a.tokens.closeParen);continue}if(isKeyword(u,a.keywords.then)===true){eatToken();while(u.type===a.tokens.openParen){eatToken();if(lookaheadAndCheck(a.tokens.name)===true||lookaheadAndCheck(a.tokens.valtype)===true||u.type==="keyword"){o.push(parseFuncInstr())}else{throw function(){return new Error("\n"+(0,r.codeFrameFromSource)(t,u.loc)+"\n"+"Unexpected token in consequent body of type"+", given "+tokenToString(u))}()}eatTokenOfType(a.tokens.closeParen)}eatTokenOfType(a.tokens.closeParen);continue}if(isKeyword(u,a.keywords.else)){eatToken();while(u.type===a.tokens.openParen){eatToken();if(lookaheadAndCheck(a.tokens.name)===true||lookaheadAndCheck(a.tokens.valtype)===true||u.type==="keyword"){l.push(parseFuncInstr())}else{throw function(){return new Error("\n"+(0,r.codeFrameFromSource)(t,u.loc)+"\n"+"Unexpected token in alternate body of type"+", given "+tokenToString(u))}()}eatTokenOfType(a.tokens.closeParen)}eatTokenOfType(a.tokens.closeParen);continue}if(lookaheadAndCheck(a.tokens.name)===true||lookaheadAndCheck(a.tokens.valtype)===true||u.type==="keyword"){i.push(parseFuncInstr());eatTokenOfType(a.tokens.closeParen);continue}throw function(){return new Error("\n"+(0,r.codeFrameFromSource)(t,u.loc)+"\n"+"Unexpected token in if body"+", given "+tokenToString(u))}()}return s.ifInstruction(n,i,e,o,l)}function parseLoop(){var e=s.identifier(c("loop"));var n;var i=[];if(u.type===a.tokens.identifier){e=identifierFromToken(u);eatToken()}else{e=s.withRaw(e,"")}while(u.type===a.tokens.openParen){eatToken();if(lookaheadAndCheck(a.keywords.result)===true){eatToken();n=u.value;eatToken()}else if(lookaheadAndCheck(a.tokens.name)===true||lookaheadAndCheck(a.tokens.valtype)===true||u.type==="keyword"){i.push(parseFuncInstr())}else{throw function(){return new Error("\n"+(0,r.codeFrameFromSource)(t,u.loc)+"\n"+"Unexpected token in loop body"+", given "+tokenToString(u))}()}eatTokenOfType(a.tokens.closeParen)}return s.loopInstruction(e,n,i)}function parseCallIndirect(){var e;var t=[];var n=[];var r=[];while(u.type!==a.tokens.closeParen){if(lookaheadAndCheck(a.tokens.openParen,a.keywords.type)){eatToken();eatToken();e=parseTypeReference()}else if(lookaheadAndCheck(a.tokens.openParen,a.keywords.param)){eatToken();eatToken();if(u.type!==a.tokens.closeParen){t.push.apply(t,_toConsumableArray(parseFuncParam()))}}else if(lookaheadAndCheck(a.tokens.openParen,a.keywords.result)){eatToken();eatToken();if(u.type!==a.tokens.closeParen){n.push.apply(n,_toConsumableArray(parseFuncResult()))}}else{eatTokenOfType(a.tokens.openParen);r.push(parseFuncInstr())}eatTokenOfType(a.tokens.closeParen)}return s.callIndirectInstruction(e!==undefined?e:s.signature(t,n),r)}function parseExport(){if(u.type!==a.tokens.string){throw new Error("Expected string after export, got: "+u.type)}var e=u.value;eatToken();var t=parseModuleExportDescr();return s.moduleExport(e,t)}function parseModuleExportDescr(){var e=getStartLoc();var t="";var n;eatTokenOfType(a.tokens.openParen);while(u.type!==a.tokens.closeParen){if(isKeyword(u,a.keywords.func)){t="Func";eatToken();n=parseExportIndex(u)}else if(isKeyword(u,a.keywords.table)){t="Table";eatToken();n=parseExportIndex(u)}else if(isKeyword(u,a.keywords.global)){t="Global";eatToken();n=parseExportIndex(u)}else if(isKeyword(u,a.keywords.memory)){t="Memory";eatToken();n=parseExportIndex(u)}eatToken()}if(t===""){throw new Error("Unknown export type")}if(n===undefined){throw new Error("Exported function must have a name")}var r=s.moduleExportDescr(t,n);var i=getEndLoc();eatTokenOfType(a.tokens.closeParen);return s.withLoc(r,i,e)}function parseModule(){var t=null;var r=false;var i=false;var o=[];if(u.type===a.tokens.identifier){t=u.value;eatToken()}if(hasPlugin("wast")&&u.type===a.tokens.name&&u.value==="binary"){eatToken();r=true}if(hasPlugin("wast")&&u.type===a.tokens.name&&u.value==="quote"){eatToken();i=true}if(r===true){var c=[];while(u.type===a.tokens.string){c.push(u.value);eatToken();maybeIgnoreComment()}eatTokenOfType(a.tokens.closeParen);return s.binaryModule(t,c)}if(i===true){var f=[];while(u.type===a.tokens.string){f.push(u.value);eatToken()}eatTokenOfType(a.tokens.closeParen);return s.quoteModule(t,f)}while(u.type!==a.tokens.closeParen){o.push(walk());if(l.registredExportedElements.length>0){l.registredExportedElements.forEach(function(e){o.push(s.moduleExport(e.name,s.moduleExportDescr(e.exportType,e.id)))});l.registredExportedElements=[]}u=e[n]}eatTokenOfType(a.tokens.closeParen);return s.module(t,o)}function parseFuncInstrArguments(e){var n=[];var i={};var o=0;while(u.type===a.tokens.name||isKeyword(u,a.keywords.offset)){var c=u.value;eatToken();eatTokenOfType(a.tokens.equal);var l=void 0;if(u.type===a.tokens.number){l=s.numberLiteralFromRaw(u.value)}else{throw new Error("Unexpected type for argument: "+u.type)}i[c]=l;eatToken()}var f=e.vector?Infinity:e.length;while(u.type!==a.tokens.closeParen&&(u.type===a.tokens.openParen||o0){return s.callInstruction(h,m)}else{return s.callInstruction(h)}}else if(isKeyword(u,a.keywords.if)){eatToken();return parseIf()}else if(isKeyword(u,a.keywords.module)&&hasPlugin("wast")){eatToken();var y=parseModule();return y}else{throw function(){return new Error("\n"+(0,r.codeFrameFromSource)(t,u.loc)+"\n"+"Unexpected instruction in function body"+", given "+tokenToString(u))}()}}function parseFunc(){var e=s.identifier(c("func"));var n;var i=[];var o=[];var l=[];if(u.type===a.tokens.identifier){e=identifierFromToken(u);eatToken()}else{e=s.withRaw(e,"")}maybeIgnoreComment();while(u.type===a.tokens.openParen||u.type===a.tokens.name||u.type===a.tokens.valtype){if(u.type===a.tokens.name||u.type===a.tokens.valtype){i.push(parseFuncInstr());continue}eatToken();if(lookaheadAndCheck(a.keywords.param)===true){eatToken();o.push.apply(o,_toConsumableArray(parseFuncParam()))}else if(lookaheadAndCheck(a.keywords.result)===true){eatToken();l.push.apply(l,_toConsumableArray(parseFuncResult()))}else if(lookaheadAndCheck(a.keywords.export)===true){eatToken();parseFuncExport(e)}else if(lookaheadAndCheck(a.keywords.type)===true){eatToken();n=parseTypeReference()}else if(lookaheadAndCheck(a.tokens.name)===true||lookaheadAndCheck(a.tokens.valtype)===true||u.type==="keyword"){i.push(parseFuncInstr())}else{throw function(){return new Error("\n"+(0,r.codeFrameFromSource)(t,u.loc)+"\n"+"Unexpected token in func body"+", given "+tokenToString(u))}()}eatTokenOfType(a.tokens.closeParen)}return s.func(e,n!==undefined?n:s.signature(o,l),i)}function parseFuncExport(e){if(u.type!==a.tokens.string){throw function(){return new Error("\n"+(0,r.codeFrameFromSource)(t,u.loc)+"\n"+"Function export expected a string"+", given "+tokenToString(u))}()}var n=u.value;eatToken();var i=s.identifier(e.value);l.registredExportedElements.push({exportType:"Func",name:n,id:i})}function parseType(){var e;var t=[];var n=[];if(u.type===a.tokens.identifier){e=identifierFromToken(u);eatToken()}if(lookaheadAndCheck(a.tokens.openParen,a.keywords.func)){eatToken();eatToken();if(u.type===a.tokens.closeParen){eatToken();return s.typeInstruction(e,s.signature([],[]))}if(lookaheadAndCheck(a.tokens.openParen,a.keywords.param)){eatToken();eatToken();t=parseFuncParam();eatTokenOfType(a.tokens.closeParen)}if(lookaheadAndCheck(a.tokens.openParen,a.keywords.result)){eatToken();eatToken();n=parseFuncResult();eatTokenOfType(a.tokens.closeParen)}eatTokenOfType(a.tokens.closeParen)}return s.typeInstruction(e,s.signature(t,n))}function parseFuncResult(){var e=[];while(u.type!==a.tokens.closeParen){if(u.type!==a.tokens.valtype){throw function(){return new Error("\n"+(0,r.codeFrameFromSource)(t,u.loc)+"\n"+"Unexpected token in func result"+", given "+tokenToString(u))}()}var n=u.value;eatToken();e.push(n)}return e}function parseTypeReference(){var e;if(u.type===a.tokens.identifier){e=identifierFromToken(u);eatToken()}else if(u.type===a.tokens.number){e=s.numberLiteralFromRaw(u.value);eatToken()}return e}function parseGlobal(){var e=s.identifier(c("global"));var n;var i=null;maybeIgnoreComment();if(u.type===a.tokens.identifier){e=identifierFromToken(u);eatToken()}else{e=s.withRaw(e,"")}if(lookaheadAndCheck(a.tokens.openParen,a.keywords.export)){eatToken();eatToken();var o=u.value;eatTokenOfType(a.tokens.string);l.registredExportedElements.push({exportType:"Global",name:o,id:e});eatTokenOfType(a.tokens.closeParen)}if(lookaheadAndCheck(a.tokens.openParen,a.keywords.import)){eatToken();eatToken();var f=u.value;eatTokenOfType(a.tokens.string);var p=u.value;eatTokenOfType(a.tokens.string);i={module:f,name:p,descr:undefined};eatTokenOfType(a.tokens.closeParen)}if(u.type===a.tokens.valtype){n=s.globalType(u.value,"const");eatToken()}else if(u.type===a.tokens.openParen){eatToken();if(isKeyword(u,a.keywords.mut)===false){throw function(){return new Error("\n"+(0,r.codeFrameFromSource)(t,u.loc)+"\n"+"Unsupported global type, expected mut"+", given "+tokenToString(u))}()}eatToken();n=s.globalType(u.value,"var");eatToken();eatTokenOfType(a.tokens.closeParen)}if(n===undefined){throw function(){return new Error("\n"+(0,r.codeFrameFromSource)(t,u.loc)+"\n"+"Could not determine global type"+", given "+tokenToString(u))}()}maybeIgnoreComment();var d=[];if(i!=null){i.descr=n;d.push(s.moduleImport(i.module,i.name,i.descr))}while(u.type===a.tokens.openParen){eatToken();d.push(parseFuncInstr());eatTokenOfType(a.tokens.closeParen)}return s.global(n,d,e)}function parseFuncParam(){var e=[];var t;var n;if(u.type===a.tokens.identifier){t=u.value;eatToken()}if(u.type===a.tokens.valtype){n=u.value;eatToken();e.push({id:t,valtype:n});if(t===undefined){while(u.type===a.tokens.valtype){n=u.value;eatToken();e.push({id:undefined,valtype:n})}}}else{}return e}function parseElem(){var e=s.indexLiteral(0);var n=[];var i=[];if(u.type===a.tokens.identifier){e=identifierFromToken(u);eatToken()}if(u.type===a.tokens.number){e=s.indexLiteral(u.value);eatToken()}while(u.type!==a.tokens.closeParen){if(lookaheadAndCheck(a.tokens.openParen,a.keywords.offset)){eatToken();eatToken();while(u.type!==a.tokens.closeParen){eatTokenOfType(a.tokens.openParen);n.push(parseFuncInstr());eatTokenOfType(a.tokens.closeParen)}eatTokenOfType(a.tokens.closeParen)}else if(u.type===a.tokens.identifier){i.push(s.identifier(u.value));eatToken()}else if(u.type===a.tokens.number){i.push(s.indexLiteral(u.value));eatToken()}else if(u.type===a.tokens.openParen){eatToken();n.push(parseFuncInstr());eatTokenOfType(a.tokens.closeParen)}else{throw function(){return new Error("\n"+(0,r.codeFrameFromSource)(t,u.loc)+"\n"+"Unsupported token in elem"+", given "+tokenToString(u))}()}}return s.elem(e,n,i)}function parseStart(){if(u.type===a.tokens.identifier){var e=identifierFromToken(u);eatToken();return s.start(e)}if(u.type===a.tokens.number){var t=s.indexLiteral(u.value);eatToken();return s.start(t)}throw new Error("Unknown start, token: "+tokenToString(u))}if(u.type===a.tokens.openParen){eatToken();var f=getStartLoc();if(isKeyword(u,a.keywords.export)){eatToken();var p=parseExport();var d=getEndLoc();return s.withLoc(p,d,f)}if(isKeyword(u,a.keywords.loop)){eatToken();var h=parseLoop();var m=getEndLoc();return s.withLoc(h,m,f)}if(isKeyword(u,a.keywords.func)){eatToken();var y=parseFunc();var g=getEndLoc();maybeIgnoreComment();eatTokenOfType(a.tokens.closeParen);return s.withLoc(y,g,f)}if(isKeyword(u,a.keywords.module)){eatToken();var v=parseModule();var b=getEndLoc();return s.withLoc(v,b,f)}if(isKeyword(u,a.keywords.import)){eatToken();var w=parseImport();var k=getEndLoc();eatTokenOfType(a.tokens.closeParen);return s.withLoc(w,k,f)}if(isKeyword(u,a.keywords.block)){eatToken();var x=parseBlock();var S=getEndLoc();eatTokenOfType(a.tokens.closeParen);return s.withLoc(x,S,f)}if(isKeyword(u,a.keywords.memory)){eatToken();var E=parseMemory();var O=getEndLoc();eatTokenOfType(a.tokens.closeParen);return s.withLoc(E,O,f)}if(isKeyword(u,a.keywords.data)){eatToken();var C=parseData();var M=getEndLoc();eatTokenOfType(a.tokens.closeParen);return s.withLoc(C,M,f)}if(isKeyword(u,a.keywords.table)){eatToken();var A=parseTable();var I=getEndLoc();eatTokenOfType(a.tokens.closeParen);return s.withLoc(A,I,f)}if(isKeyword(u,a.keywords.global)){eatToken();var T=parseGlobal();var R=getEndLoc();eatTokenOfType(a.tokens.closeParen);return s.withLoc(T,R,f)}if(isKeyword(u,a.keywords.type)){eatToken();var j=parseType();var F=getEndLoc();eatTokenOfType(a.tokens.closeParen);return s.withLoc(j,F,f)}if(isKeyword(u,a.keywords.start)){eatToken();var N=parseStart();var D=getEndLoc();eatTokenOfType(a.tokens.closeParen);return s.withLoc(N,D,f)}if(isKeyword(u,a.keywords.elem)){eatToken();var P=parseElem();var L=getEndLoc();eatTokenOfType(a.tokens.closeParen);return s.withLoc(P,L,f)}var q=parseFuncInstr();var _=getEndLoc();maybeIgnoreComment();if(_typeof(q)==="object"){if(typeof u!=="undefined"){eatTokenOfType(a.tokens.closeParen)}return s.withLoc(q,_,f)}}if(u.type===a.tokens.comment){var z=getStartLoc();var B=u.opts.type==="leading"?s.leadingComment:s.blockComment;var W=B(u.value);eatToken();var U=getEndLoc();return s.withLoc(W,U,z)}throw function(){return new Error("\n"+(0,r.codeFrameFromSource)(t,u.loc)+"\n"+"Unknown token"+", given "+tokenToString(u))}()}var u=[];while(n{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r={parse:true};t.parse=parse;var s=_interopRequireWildcard(n(29142));var i=n(84482);var o=n(29187);Object.keys(o).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(r,e))return;Object.defineProperty(t,e,{enumerable:true,get:function get(){return o[e]}})});function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};if(r.get||r.set){Object.defineProperty(t,n,r)}else{t[n]=e[n]}}}}t.default=e;return t}}function parse(e){var t=(0,i.tokenize)(e);var n=s.parse(t,e);return n}},29187:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parse32F=parse32F;t.parse64F=parse64F;t.parse32I=parse32I;t.parseU32=parseU32;t.parse64I=parse64I;t.isInfLiteral=isInfLiteral;t.isNanLiteral=isNanLiteral;var r=_interopRequireDefault(n(60667));var s=_interopRequireDefault(n(40245));var i=n(5043);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function parse32F(e){if(isHexLiteral(e)){return(0,s.default)(e)}if(isInfLiteral(e)){return e[0]==="-"?-1:1}if(isNanLiteral(e)){return(e[0]==="-"?-1:1)*(e.includes(":")?parseInt(e.substring(e.indexOf(":")+1),16):4194304)}return parseFloat(e)}function parse64F(e){if(isHexLiteral(e)){return(0,s.default)(e)}if(isInfLiteral(e)){return e[0]==="-"?-1:1}if(isNanLiteral(e)){return(e[0]==="-"?-1:1)*(e.includes(":")?parseInt(e.substring(e.indexOf(":")+1),16):0x8000000000000)}if(isHexLiteral(e)){return(0,s.default)(e)}return parseFloat(e)}function parse32I(e){var t=0;if(isHexLiteral(e)){t=~~parseInt(e,16)}else if(isDecimalExponentLiteral(e)){throw new Error("This number literal format is yet to be implemented.")}else{t=parseInt(e,10)}return t}function parseU32(e){var t=parse32I(e);if(t<0){throw new i.CompileError("Illegal value for u32: "+e)}return t}function parse64I(e){var t;if(isHexLiteral(e)){t=r.default.fromString(e,false,16)}else if(isDecimalExponentLiteral(e)){throw new Error("This number literal format is yet to be implemented.")}else{t=r.default.fromString(e)}return{high:t.high,low:t.low}}var o=/^\+?-?nan/;var a=/^\+?-?inf/;function isInfLiteral(e){return a.test(e.toLowerCase())}function isNanLiteral(e){return o.test(e.toLowerCase())}function isDecimalExponentLiteral(e){return!isHexLiteral(e)&&e.toUpperCase().includes("E")}function isHexLiteral(e){return e.substring(0,2).toUpperCase()==="0X"||e.substring(0,3).toUpperCase()==="-0X"}},82801:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parseString=parseString;var n=[0,7,8,9,10,11,12,13,26,27,127];function decodeControlCharacter(e){switch(e){case"t":return 9;case"n":return 10;case"r":return 13;case'"':return 34;case"′":return 39;case"\\":return 92}return-1}var r=92;var s=34;function parseString(e){var t=[];var i=0;while(i{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.tokenize=tokenize;t.tokens=t.keywords=void 0;var r=n(77691);var s=n(7560);function getCodeFrame(e,t,n){var r={start:{line:t,column:n}};return"\n"+(0,s.codeFrameFromSource)(e,r)+"\n"}var i=/\s/;var o=/\(|\)/;var a=/[a-z0-9_/]/i;var c=/[a-z0-9!#$%&*+./:<=>?@\\[\]^_`|~-]/i;var l=["i32","i64","f32","f64"];var u=/[0-9|.|_]/;var f=/nan|inf/;function isNewLine(e){return e.charCodeAt(0)===10||e.charCodeAt(0)===13}function Token(e,t,n,r){var s=arguments.length>4&&arguments[4]!==undefined?arguments[4]:{};var i={type:e,value:t,loc:{start:n,end:r}};if(Object.keys(s).length>0){i["opts"]=s}return i}var p={openParen:"openParen",closeParen:"closeParen",number:"number",string:"string",name:"name",identifier:"identifier",valtype:"valtype",dot:"dot",comment:"comment",equal:"equal",keyword:"keyword"};var d={module:"module",func:"func",param:"param",result:"result",export:"export",loop:"loop",block:"block",if:"if",then:"then",else:"else",call:"call",call_indirect:"call_indirect",import:"import",memory:"memory",table:"table",global:"global",anyfunc:"anyfunc",mut:"mut",data:"data",type:"type",elem:"elem",start:"start",offset:"offset"};t.keywords=d;var h="_";var m=new r.FSM({START:[(0,r.makeTransition)(/-|\+/,"AFTER_SIGN"),(0,r.makeTransition)(/nan:0x/,"NAN_HEX",{n:6}),(0,r.makeTransition)(/nan|inf/,"STOP",{n:3}),(0,r.makeTransition)(/0x/,"HEX",{n:2}),(0,r.makeTransition)(/[0-9]/,"DEC"),(0,r.makeTransition)(/\./,"DEC_FRAC")],AFTER_SIGN:[(0,r.makeTransition)(/nan:0x/,"NAN_HEX",{n:6}),(0,r.makeTransition)(/nan|inf/,"STOP",{n:3}),(0,r.makeTransition)(/0x/,"HEX",{n:2}),(0,r.makeTransition)(/[0-9]/,"DEC"),(0,r.makeTransition)(/\./,"DEC_FRAC")],DEC_FRAC:[(0,r.makeTransition)(/[0-9]/,"DEC_FRAC",{allowedSeparator:h}),(0,r.makeTransition)(/e|E/,"DEC_SIGNED_EXP")],DEC:[(0,r.makeTransition)(/[0-9]/,"DEC",{allowedSeparator:h}),(0,r.makeTransition)(/\./,"DEC_FRAC"),(0,r.makeTransition)(/e|E/,"DEC_SIGNED_EXP")],DEC_SIGNED_EXP:[(0,r.makeTransition)(/\+|-/,"DEC_EXP"),(0,r.makeTransition)(/[0-9]/,"DEC_EXP")],DEC_EXP:[(0,r.makeTransition)(/[0-9]/,"DEC_EXP",{allowedSeparator:h})],HEX:[(0,r.makeTransition)(/[0-9|A-F|a-f]/,"HEX",{allowedSeparator:h}),(0,r.makeTransition)(/\./,"HEX_FRAC"),(0,r.makeTransition)(/p|P/,"HEX_SIGNED_EXP")],HEX_FRAC:[(0,r.makeTransition)(/[0-9|A-F|a-f]/,"HEX_FRAC",{allowedSeparator:h}),(0,r.makeTransition)(/p|P|/,"HEX_SIGNED_EXP")],HEX_SIGNED_EXP:[(0,r.makeTransition)(/[0-9|+|-]/,"HEX_EXP")],HEX_EXP:[(0,r.makeTransition)(/[0-9]/,"HEX_EXP",{allowedSeparator:h})],NAN_HEX:[(0,r.makeTransition)(/[0-9|A-F|a-f]/,"NAN_HEX",{allowedSeparator:h})],STOP:[]},"START","STOP");function tokenize(e){var t=0;var n=e[t];var r=1;var s=1;var h=[];function pushToken(e){return function(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var i=n.startColumn||r-String(t).length;delete n.startColumn;var o=n.endColumn||i+String(t).length-1;delete n.endColumn;var a={line:s,column:i};var c={line:s,column:o};h.push(Token(e,t,a,c,n))}}var y=pushToken(p.closeParen);var g=pushToken(p.openParen);var v=pushToken(p.number);var b=pushToken(p.valtype);var w=pushToken(p.name);var k=pushToken(p.identifier);var x=pushToken(p.keyword);var S=pushToken(p.dot);var E=pushToken(p.string);var O=pushToken(p.comment);var C=pushToken(p.equal);function lookahead(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:1;var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1;return e.substring(t+r,t+r+n).toLowerCase()}function eatCharacter(){var s=arguments.length>0&&arguments[0]!==undefined?arguments[0]:1;r+=s;t+=s;n=e[t]}while(t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.print=print;var r=n(51826);var s=_interopRequireDefault(n(60667));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _typeof(e){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(e){return typeof e}}else{_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}function _sliceIterator(e,t){var n=[];var r=true;var s=false;var i=undefined;try{for(var o=e[Symbol.iterator](),a;!(r=(a=o.next()).done);r=true){n.push(a.value);if(t&&n.length===t)break}}catch(e){s=true;i=e}finally{try{if(!r&&o["return"]!=null)o["return"]()}finally{if(s)throw i}}return n}function _slicedToArray(e,t){if(Array.isArray(e)){return e}else if(Symbol.iterator in Object(e)){return _sliceIterator(e,t)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}var i=false;var o=" ";var a=function quote(e){return'"'.concat(e,'"')};function indent(e){return Array(e).fill(o+o).join("")}function print(e){if(e.type==="Program"){return printProgram(e,0)}else{throw new Error("Unsupported node in print of type: "+String(e.type))}}function printProgram(e,t){return e.body.reduce(function(e,n){if(n.type==="Module"){e+=printModule(n,t+1)}if(n.type==="Func"){e+=printFunc(n,t+1)}if(n.type==="BlockComment"){e+=printBlockComment(n)}if(n.type==="LeadingComment"){e+=printLeadingComment(n)}if(i===false){e+="\n"}return e},"")}function printTypeInstruction(e){var t="";t+="(";t+="type";t+=o;if(e.id!=null){t+=printIndex(e.id);t+=o}t+="(";t+="func";e.functype.params.forEach(function(e){t+=o;t+="(";t+="param";t+=o;t+=printFuncParam(e);t+=")"});e.functype.results.forEach(function(e){t+=o;t+="(";t+="result";t+=o;t+=e;t+=")"});t+=")";t+=")";return t}function printModule(e,t){var n="(";n+="module";if(typeof e.id==="string"){n+=o;n+=e.id}if(i===false){n+="\n"}else{n+=o}e.fields.forEach(function(e){if(i===false){n+=indent(t)}switch(e.type){case"Func":{n+=printFunc(e,t+1);break}case"TypeInstruction":{n+=printTypeInstruction(e);break}case"Table":{n+=printTable(e);break}case"Global":{n+=printGlobal(e,t+1);break}case"ModuleExport":{n+=printModuleExport(e);break}case"ModuleImport":{n+=printModuleImport(e);break}case"Memory":{n+=printMemory(e);break}case"BlockComment":{n+=printBlockComment(e);break}case"LeadingComment":{n+=printLeadingComment(e);break}case"Start":{n+=printStart(e);break}case"Elem":{n+=printElem(e,t);break}case"Data":{n+=printData(e,t);break}default:throw new Error("Unsupported node in printModule: "+String(e.type))}if(i===false){n+="\n"}});n+=")";return n}function printData(e,t){var n="";n+="(";n+="data";n+=o;n+=printIndex(e.memoryIndex);n+=o;n+=printInstruction(e.offset,t);n+=o;n+='"';e.init.values.forEach(function(e){if(e<=31||e==34||e==92||e>=127){n+="\\";n+=("00"+e.toString(16)).substr(-2)}else if(e>255){throw new Error("Unsupported byte in data segment: "+e)}else{n+=String.fromCharCode(e)}});n+='"';n+=")";return n}function printElem(e,t){var n="";n+="(";n+="elem";n+=o;n+=printIndex(e.table);var r=_slicedToArray(e.offset,1),s=r[0];n+=o;n+="(";n+="offset";n+=o;n+=printInstruction(s,t);n+=")";e.funcs.forEach(function(e){n+=o;n+=printIndex(e)});n+=")";return n}function printStart(e){var t="";t+="(";t+="start";t+=o;t+=printIndex(e.index);t+=")";return t}function printLeadingComment(e){if(i===true){return""}var t="";t+=";;";t+=e.value;t+="\n";return t}function printBlockComment(e){if(i===true){return""}var t="";t+="(;";t+=e.value;t+=";)";t+="\n";return t}function printSignature(e){var t="";e.params.forEach(function(e){t+=o;t+="(";t+="param";t+=o;t+=printFuncParam(e);t+=")"});e.results.forEach(function(e){t+=o;t+="(";t+="result";t+=o;t+=e;t+=")"});return t}function printModuleImportDescr(e){var t="";if(e.type==="FuncImportDescr"){t+="(";t+="func";if((0,r.isAnonymous)(e.id)===false){t+=o;t+=printIdentifier(e.id)}t+=printSignature(e.signature);t+=")"}if(e.type==="GlobalType"){t+="(";t+="global";t+=o;t+=printGlobalType(e);t+=")"}if(e.type==="Table"){t+=printTable(e)}return t}function printModuleImport(e){var t="";t+="(";t+="import";t+=o;t+=a(e.module);t+=o;t+=a(e.name);t+=o;t+=printModuleImportDescr(e.descr);t+=")";return t}function printGlobalType(e){var t="";if(e.mutability==="var"){t+="(";t+="mut";t+=o;t+=e.valtype;t+=")"}else{t+=e.valtype}return t}function printGlobal(e,t){var n="";n+="(";n+="global";n+=o;if(e.name!=null&&(0,r.isAnonymous)(e.name)===false){n+=printIdentifier(e.name);n+=o}n+=printGlobalType(e.globalType);n+=o;e.init.forEach(function(e){n+=printInstruction(e,t+1)});n+=")";return n}function printTable(e){var t="";t+="(";t+="table";t+=o;if(e.name!=null&&(0,r.isAnonymous)(e.name)===false){t+=printIdentifier(e.name);t+=o}t+=printLimit(e.limits);t+=o;t+=e.elementType;t+=")";return t}function printFuncParam(e){var t="";if(typeof e.id==="string"){t+="$"+e.id;t+=o}t+=e.valtype;return t}function printFunc(e,t){var n="";n+="(";n+="func";if(e.name!=null){if(e.name.type==="Identifier"&&(0,r.isAnonymous)(e.name)===false){n+=o;n+=printIdentifier(e.name)}}if(e.signature.type==="Signature"){n+=printSignature(e.signature)}else{var s=e.signature;n+=o;n+="(";n+="type";n+=o;n+=printIndex(s);n+=")"}if(e.body.length>0){if(e.body.length===1&&e.body[0].id==="end"){n+=")";return n}if(i===false){n+="\n"}e.body.forEach(function(e){if(e.id!=="end"){n+=indent(t);n+=printInstruction(e,t);if(i===false){n+="\n"}}});n+=indent(t-1)+")"}else{n+=")"}return n}function printInstruction(e,t){switch(e.type){case"Instr":return printGenericInstruction(e,t+1);case"BlockInstruction":return printBlockInstruction(e,t+1);case"IfInstruction":return printIfInstruction(e,t+1);case"CallInstruction":return printCallInstruction(e,t+1);case"CallIndirectInstruction":return printCallIndirectIntruction(e,t+1);case"LoopInstruction":return printLoopInstruction(e,t+1);default:throw new Error("Unsupported instruction: "+JSON.stringify(e.type))}}function printCallIndirectIntruction(e,t){var n="";n+="(";n+="call_indirect";if(e.signature.type==="Signature"){n+=printSignature(e.signature)}else if(e.signature.type==="Identifier"){n+=o;n+="(";n+="type";n+=o;n+=printIdentifier(e.signature);n+=")"}else{throw new Error("CallIndirectInstruction: unsupported signature "+JSON.stringify(e.signature.type))}n+=o;if(e.intrs!=null){e.intrs.forEach(function(r,s){n+=printInstruction(r,t+1);if(s!==e.intrs.length-1){n+=o}})}n+=")";return n}function printLoopInstruction(e,t){var n="";n+="(";n+="loop";if(e.label!=null&&(0,r.isAnonymous)(e.label)===false){n+=o;n+=printIdentifier(e.label)}if(typeof e.resulttype==="string"){n+=o;n+="(";n+="result";n+=o;n+=e.resulttype;n+=")"}if(e.instr.length>0){e.instr.forEach(function(e){if(i===false){n+="\n"}n+=indent(t);n+=printInstruction(e,t+1)});if(i===false){n+="\n";n+=indent(t-1)}}n+=")";return n}function printCallInstruction(e,t){var n="";n+="(";n+="call";n+=o;n+=printIndex(e.index);if(_typeof(e.instrArgs)==="object"){e.instrArgs.forEach(function(e){n+=o;n+=printFuncInstructionArg(e,t+1)})}n+=")";return n}function printIfInstruction(e,t){var n="";n+="(";n+="if";if(e.testLabel!=null&&(0,r.isAnonymous)(e.testLabel)===false){n+=o;n+=printIdentifier(e.testLabel)}if(typeof e.result==="string"){n+=o;n+="(";n+="result";n+=o;n+=e.result;n+=")"}if(e.test.length>0){n+=o;e.test.forEach(function(e){n+=printInstruction(e,t+1)})}if(e.consequent.length>0){if(i===false){n+="\n"}n+=indent(t);n+="(";n+="then";t++;e.consequent.forEach(function(e){if(i===false){n+="\n"}n+=indent(t);n+=printInstruction(e,t+1)});t--;if(i===false){n+="\n";n+=indent(t)}n+=")"}else{if(i===false){n+="\n";n+=indent(t)}n+="(";n+="then";n+=")"}if(e.alternate.length>0){if(i===false){n+="\n"}n+=indent(t);n+="(";n+="else";t++;e.alternate.forEach(function(e){if(i===false){n+="\n"}n+=indent(t);n+=printInstruction(e,t+1)});t--;if(i===false){n+="\n";n+=indent(t)}n+=")"}else{if(i===false){n+="\n";n+=indent(t)}n+="(";n+="else";n+=")"}if(i===false){n+="\n";n+=indent(t-1)}n+=")";return n}function printBlockInstruction(e,t){var n="";n+="(";n+="block";if(e.label!=null&&(0,r.isAnonymous)(e.label)===false){n+=o;n+=printIdentifier(e.label)}if(typeof e.result==="string"){n+=o;n+="(";n+="result";n+=o;n+=e.result;n+=")"}if(e.instr.length>0){e.instr.forEach(function(e){if(i===false){n+="\n"}n+=indent(t);n+=printInstruction(e,t+1)});if(i===false){n+="\n"}n+=indent(t-1);n+=")"}else{n+=")"}return n}function printGenericInstruction(e,t){var n="";n+="(";if(typeof e.object==="string"){n+=e.object;n+="."}n+=e.id;e.args.forEach(function(e){n+=o;n+=printFuncInstructionArg(e,t+1)});n+=")";return n}function printLongNumberLiteral(e){if(typeof e.raw==="string"){return e.raw}var t=e.value,n=t.low,r=t.high;var i=new s.default(n,r);return i.toString()}function printFloatLiteral(e){if(typeof e.raw==="string"){return e.raw}return String(e.value)}function printFuncInstructionArg(e,t){var n="";if(e.type==="NumberLiteral"){n+=printNumberLiteral(e)}if(e.type==="LongNumberLiteral"){n+=printLongNumberLiteral(e)}if(e.type==="Identifier"&&(0,r.isAnonymous)(e)===false){n+=printIdentifier(e)}if(e.type==="ValtypeLiteral"){n+=e.name}if(e.type==="FloatLiteral"){n+=printFloatLiteral(e)}if((0,r.isInstruction)(e)){n+=printInstruction(e,t+1)}return n}function printNumberLiteral(e){if(typeof e.raw==="string"){return e.raw}return String(e.value)}function printModuleExport(e){var t="";t+="(";t+="export";t+=o;t+=a(e.name);if(e.descr.exportType==="Func"){t+=o;t+="(";t+="func";t+=o;t+=printIndex(e.descr.id);t+=")"}else if(e.descr.exportType==="Global"){t+=o;t+="(";t+="global";t+=o;t+=printIndex(e.descr.id);t+=")"}else if(e.descr.exportType==="Memory"||e.descr.exportType==="Mem"){t+=o;t+="(";t+="memory";t+=o;t+=printIndex(e.descr.id);t+=")"}else if(e.descr.exportType==="Table"){t+=o;t+="(";t+="table";t+=o;t+=printIndex(e.descr.id);t+=")"}else{throw new Error("printModuleExport: unknown type: "+e.descr.exportType)}t+=")";return t}function printIdentifier(e){return"$"+e.value}function printIndex(e){if(e.type==="Identifier"){return printIdentifier(e)}else if(e.type==="NumberLiteral"){return printNumberLiteral(e)}else{throw new Error("Unsupported index: "+e.type)}}function printMemory(e){var t="";t+="(";t+="memory";if(e.id!=null){t+=o;t+=printIndex(e.id);t+=o}t+=printLimit(e.limits);t+=")";return t}function printLimit(e){var t="";t+=e.min+"";if(e.max!=null){t+=o;t+=String(e.max)}return t}},96096:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.read=read;t.write=write;function read(e,t,n,r,s){var i,o;var a=s*8-r-1;var c=(1<>1;var u=-7;var f=n?s-1:0;var p=n?-1:1;var d=e[t+f];f+=p;i=d&(1<<-u)-1;d>>=-u;u+=a;for(;u>0;i=i*256+e[t+f],f+=p,u-=8){}o=i&(1<<-u)-1;i>>=-u;u+=r;for(;u>0;o=o*256+e[t+f],f+=p,u-=8){}if(i===0){i=1-l}else if(i===c){return o?NaN:(d?-1:1)*Infinity}else{o=o+Math.pow(2,r);i=i-l}return(d?-1:1)*o*Math.pow(2,i-r)}function write(e,t,n,r,s,i){var o,a,c;var l=i*8-s-1;var u=(1<>1;var p=s===23?Math.pow(2,-24)-Math.pow(2,-77):0;var d=r?0:i-1;var h=r?1:-1;var m=t<0||t===0&&1/t<0?1:0;t=Math.abs(t);if(isNaN(t)||t===Infinity){a=isNaN(t)?1:0;o=u}else{o=Math.floor(Math.log(t)/Math.LN2);if(t*(c=Math.pow(2,-o))<1){o--;c*=2}if(o+f>=1){t+=p/c}else{t+=p*Math.pow(2,1-f)}if(t*c>=2){o++;c/=2}if(o+f>=u){a=0;o=u}else if(o+f>=1){a=(t*c-1)*Math.pow(2,s);o=o+f}else{a=t*Math.pow(2,f-1)*Math.pow(2,s);o=0}}for(;s>=8;e[n+d]=a&255,d+=h,a/=256,s-=8){}o=o<0;e[n+d]=o&255,d+=h,o/=256,l-=8){}e[n+d-h]|=m*128}},60667:e=>{e.exports=Long;var t=null;try{t=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(e){}function Long(e,t,n){this.low=e|0;this.high=t|0;this.unsigned=!!n}Long.prototype.__isLong__;Object.defineProperty(Long.prototype,"__isLong__",{value:true});function isLong(e){return(e&&e["__isLong__"])===true}Long.isLong=isLong;var n={};var r={};function fromInt(e,t){var s,i,o;if(t){e>>>=0;if(o=0<=e&&e<256){i=r[e];if(i)return i}s=fromBits(e,(e|0)<0?-1:0,true);if(o)r[e]=s;return s}else{e|=0;if(o=-128<=e&&e<128){i=n[e];if(i)return i}s=fromBits(e,e<0?-1:0,false);if(o)n[e]=s;return s}}Long.fromInt=fromInt;function fromNumber(e,t){if(isNaN(e))return t?p:f;if(t){if(e<0)return p;if(e>=c)return g}else{if(e<=-l)return v;if(e+1>=l)return y}if(e<0)return fromNumber(-e,t).neg();return fromBits(e%a|0,e/a|0,t)}Long.fromNumber=fromNumber;function fromBits(e,t,n){return new Long(e,t,n)}Long.fromBits=fromBits;var s=Math.pow;function fromString(e,t,n){if(e.length===0)throw Error("empty string");if(e==="NaN"||e==="Infinity"||e==="+Infinity"||e==="-Infinity")return f;if(typeof t==="number"){n=t,t=false}else{t=!!t}n=n||10;if(n<2||360)throw Error("interior hyphen");else if(r===0){return fromString(e.substring(1),t,n).neg()}var i=fromNumber(s(n,8));var o=f;for(var a=0;a>>0:this.low};b.toNumber=function toNumber(){if(this.unsigned)return(this.high>>>0)*a+(this.low>>>0);return this.high*a+(this.low>>>0)};b.toString=function toString(e){e=e||10;if(e<2||36>>0,u=l.toString(e);o=c;if(o.isZero())return u+a;else{while(u.length<6)u="0"+u;a=""+u+a}}};b.getHighBits=function getHighBits(){return this.high};b.getHighBitsUnsigned=function getHighBitsUnsigned(){return this.high>>>0};b.getLowBits=function getLowBits(){return this.low};b.getLowBitsUnsigned=function getLowBitsUnsigned(){return this.low>>>0};b.getNumBitsAbs=function getNumBitsAbs(){if(this.isNegative())return this.eq(v)?64:this.neg().getNumBitsAbs();var e=this.high!=0?this.high:this.low;for(var t=31;t>0;t--)if((e&1<=0};b.isOdd=function isOdd(){return(this.low&1)===1};b.isEven=function isEven(){return(this.low&1)===0};b.equals=function equals(e){if(!isLong(e))e=fromValue(e);if(this.unsigned!==e.unsigned&&this.high>>>31===1&&e.high>>>31===1)return false;return this.high===e.high&&this.low===e.low};b.eq=b.equals;b.notEquals=function notEquals(e){return!this.eq(e)};b.neq=b.notEquals;b.ne=b.notEquals;b.lessThan=function lessThan(e){return this.comp(e)<0};b.lt=b.lessThan;b.lessThanOrEqual=function lessThanOrEqual(e){return this.comp(e)<=0};b.lte=b.lessThanOrEqual;b.le=b.lessThanOrEqual;b.greaterThan=function greaterThan(e){return this.comp(e)>0};b.gt=b.greaterThan;b.greaterThanOrEqual=function greaterThanOrEqual(e){return this.comp(e)>=0};b.gte=b.greaterThanOrEqual;b.ge=b.greaterThanOrEqual;b.compare=function compare(e){if(!isLong(e))e=fromValue(e);if(this.eq(e))return 0;var t=this.isNegative(),n=e.isNegative();if(t&&!n)return-1;if(!t&&n)return 1;if(!this.unsigned)return this.sub(e).isNegative()?-1:1;return e.high>>>0>this.high>>>0||e.high===this.high&&e.low>>>0>this.low>>>0?-1:1};b.comp=b.compare;b.negate=function negate(){if(!this.unsigned&&this.eq(v))return v;return this.not().add(d)};b.neg=b.negate;b.add=function add(e){if(!isLong(e))e=fromValue(e);var t=this.high>>>16;var n=this.high&65535;var r=this.low>>>16;var s=this.low&65535;var i=e.high>>>16;var o=e.high&65535;var a=e.low>>>16;var c=e.low&65535;var l=0,u=0,f=0,p=0;p+=s+c;f+=p>>>16;p&=65535;f+=r+a;u+=f>>>16;f&=65535;u+=n+o;l+=u>>>16;u&=65535;l+=t+i;l&=65535;return fromBits(f<<16|p,l<<16|u,this.unsigned)};b.subtract=function subtract(e){if(!isLong(e))e=fromValue(e);return this.add(e.neg())};b.sub=b.subtract;b.multiply=function multiply(e){if(this.isZero())return f;if(!isLong(e))e=fromValue(e);if(t){var n=t["mul"](this.low,this.high,e.low,e.high);return fromBits(n,t["get_high"](),this.unsigned)}if(e.isZero())return f;if(this.eq(v))return e.isOdd()?v:f;if(e.eq(v))return this.isOdd()?v:f;if(this.isNegative()){if(e.isNegative())return this.neg().mul(e.neg());else return this.neg().mul(e).neg()}else if(e.isNegative())return this.mul(e.neg()).neg();if(this.lt(u)&&e.lt(u))return fromNumber(this.toNumber()*e.toNumber(),this.unsigned);var r=this.high>>>16;var s=this.high&65535;var i=this.low>>>16;var o=this.low&65535;var a=e.high>>>16;var c=e.high&65535;var l=e.low>>>16;var p=e.low&65535;var d=0,h=0,m=0,y=0;y+=o*p;m+=y>>>16;y&=65535;m+=i*p;h+=m>>>16;m&=65535;m+=o*l;h+=m>>>16;m&=65535;h+=s*p;d+=h>>>16;h&=65535;h+=i*l;d+=h>>>16;h&=65535;h+=o*c;d+=h>>>16;h&=65535;d+=r*p+s*l+i*c+o*a;d&=65535;return fromBits(m<<16|y,d<<16|h,this.unsigned)};b.mul=b.multiply;b.divide=function divide(e){if(!isLong(e))e=fromValue(e);if(e.isZero())throw Error("division by zero");if(t){if(!this.unsigned&&this.high===-2147483648&&e.low===-1&&e.high===-1){return this}var n=(this.unsigned?t["div_u"]:t["div_s"])(this.low,this.high,e.low,e.high);return fromBits(n,t["get_high"](),this.unsigned)}if(this.isZero())return this.unsigned?p:f;var r,i,o;if(!this.unsigned){if(this.eq(v)){if(e.eq(d)||e.eq(m))return v;else if(e.eq(v))return d;else{var a=this.shr(1);r=a.div(e).shl(1);if(r.eq(f)){return e.isNegative()?d:m}else{i=this.sub(e.mul(r));o=r.add(i.div(e));return o}}}else if(e.eq(v))return this.unsigned?p:f;if(this.isNegative()){if(e.isNegative())return this.neg().div(e.neg());return this.neg().div(e).neg()}else if(e.isNegative())return this.div(e.neg()).neg();o=f}else{if(!e.unsigned)e=e.toUnsigned();if(e.gt(this))return p;if(e.gt(this.shru(1)))return h;o=p}i=this;while(i.gte(e)){r=Math.max(1,Math.floor(i.toNumber()/e.toNumber()));var c=Math.ceil(Math.log(r)/Math.LN2),l=c<=48?1:s(2,c-48),u=fromNumber(r),y=u.mul(e);while(y.isNegative()||y.gt(i)){r-=l;u=fromNumber(r,this.unsigned);y=u.mul(e)}if(u.isZero())u=d;o=o.add(u);i=i.sub(y)}return o};b.div=b.divide;b.modulo=function modulo(e){if(!isLong(e))e=fromValue(e);if(t){var n=(this.unsigned?t["rem_u"]:t["rem_s"])(this.low,this.high,e.low,e.high);return fromBits(n,t["get_high"](),this.unsigned)}return this.sub(this.div(e).mul(e))};b.mod=b.modulo;b.rem=b.modulo;b.not=function not(){return fromBits(~this.low,~this.high,this.unsigned)};b.and=function and(e){if(!isLong(e))e=fromValue(e);return fromBits(this.low&e.low,this.high&e.high,this.unsigned)};b.or=function or(e){if(!isLong(e))e=fromValue(e);return fromBits(this.low|e.low,this.high|e.high,this.unsigned)};b.xor=function xor(e){if(!isLong(e))e=fromValue(e);return fromBits(this.low^e.low,this.high^e.high,this.unsigned)};b.shiftLeft=function shiftLeft(e){if(isLong(e))e=e.toInt();if((e&=63)===0)return this;else if(e<32)return fromBits(this.low<>>32-e,this.unsigned);else return fromBits(0,this.low<>>e|this.high<<32-e,this.high>>e,this.unsigned);else return fromBits(this.high>>e-32,this.high>=0?0:-1,this.unsigned)};b.shr=b.shiftRight;b.shiftRightUnsigned=function shiftRightUnsigned(e){if(isLong(e))e=e.toInt();if((e&=63)===0)return this;if(e<32)return fromBits(this.low>>>e|this.high<<32-e,this.high>>>e,this.unsigned);if(e===32)return fromBits(this.high,0,this.unsigned);return fromBits(this.high>>>e-32,0,this.unsigned)};b.shru=b.shiftRightUnsigned;b.shr_u=b.shiftRightUnsigned;b.rotateLeft=function rotateLeft(e){var t;if(isLong(e))e=e.toInt();if((e&=63)===0)return this;if(e===32)return fromBits(this.high,this.low,this.unsigned);if(e<32){t=32-e;return fromBits(this.low<>>t,this.high<>>t,this.unsigned)}e-=32;t=32-e;return fromBits(this.high<>>t,this.low<>>t,this.unsigned)};b.rotl=b.rotateLeft;b.rotateRight=function rotateRight(e){var t;if(isLong(e))e=e.toInt();if((e&=63)===0)return this;if(e===32)return fromBits(this.high,this.low,this.unsigned);if(e<32){t=32-e;return fromBits(this.high<>>e,this.low<>>e,this.unsigned)}e-=32;t=32-e;return fromBits(this.low<>>e,this.high<>>e,this.unsigned)};b.rotr=b.rotateRight;b.toSigned=function toSigned(){if(!this.unsigned)return this;return fromBits(this.low,this.high,false)};b.toUnsigned=function toUnsigned(){if(this.unsigned)return this;return fromBits(this.low,this.high,true)};b.toBytes=function toBytes(e){return e?this.toBytesLE():this.toBytesBE()};b.toBytesLE=function toBytesLE(){var e=this.high,t=this.low;return[t&255,t>>>8&255,t>>>16&255,t>>>24,e&255,e>>>8&255,e>>>16&255,e>>>24]};b.toBytesBE=function toBytesBE(){var e=this.high,t=this.low;return[e>>>24,e>>>16&255,e>>>8&255,e&255,t>>>24,t>>>16&255,t>>>8&255,t&255]};Long.fromBytes=function fromBytes(e,t,n){return n?Long.fromBytesLE(e,t):Long.fromBytesBE(e,t)};Long.fromBytesLE=function fromBytesLE(e,t){return new Long(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,t)};Long.fromBytesBE=function fromBytesBE(e,t){return new Long(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],t)}},73983:(e,t,n)=>{"use strict";var r=n(5794);e.exports=defineKeywords;function defineKeywords(e,t){if(Array.isArray(t)){for(var n=0;n{"use strict";var r=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d:\d\d)?$/i;var s=/t|\s/i;var i={date:compareDate,time:compareTime,"date-time":compareDateTime};var o={type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:false};e.exports=function(e){var t="format"+e;return function defFunc(r){defFunc.definition={type:"string",inline:n(89350),statements:true,errors:"full",dependencies:["format"],metaSchema:{anyOf:[{type:"string"},o]}};r.addKeyword(t,defFunc.definition);r.addKeyword("formatExclusive"+e,{dependencies:["format"+e],metaSchema:{anyOf:[{type:"boolean"},o]}});extendFormats(r);return r}};function extendFormats(e){var t=e._formats;for(var n in i){var r=t[n];if(typeof r!="object"||r instanceof RegExp||!r.validate)r=t[n]={validate:r};if(!r.compare)r.compare=i[n]}}function compareDate(e,t){if(!(e&&t))return;if(e>t)return 1;if(et)return 1;if(e{"use strict";e.exports={metaSchemaRef:metaSchemaRef};var t="http://json-schema.org/draft-07/schema";function metaSchemaRef(e){var n=e._opts.defaultMeta;if(typeof n=="string")return{$ref:n};if(e.getSchema(t))return{$ref:t};console.warn("meta schema not defined");return{}}},38119:e=>{"use strict";e.exports=function defFunc(e){defFunc.definition={type:"object",macro:function(e,t){if(!e)return true;var n=Object.keys(t.properties);if(n.length==0)return true;return{required:n}},metaSchema:{type:"boolean"},dependencies:["properties"]};e.addKeyword("allRequired",defFunc.definition);return e}},4103:e=>{"use strict";e.exports=function defFunc(e){defFunc.definition={type:"object",macro:function(e){if(e.length==0)return true;if(e.length==1)return{required:e};var t=e.map(function(e){return{required:[e]}});return{anyOf:t}},metaSchema:{type:"array",items:{type:"string"}}};e.addKeyword("anyRequired",defFunc.definition);return e}},36509:(e,t,n)=>{"use strict";var r=n(34363);e.exports=function defFunc(e){defFunc.definition={type:"object",macro:function(e){var t=[];for(var n in e)t.push(getSchema(n,e[n]));return{allOf:t}},metaSchema:{type:"object",propertyNames:{type:"string",format:"json-pointer"},additionalProperties:r.metaSchemaRef(e)}};e.addKeyword("deepProperties",defFunc.definition);return e};function getSchema(e,t){var n=e.split("/");var r={};var s=r;for(var i=1;i{"use strict";e.exports=function defFunc(e){defFunc.definition={type:"object",inline:function(e,t,n){var r="";for(var s=0;s{"use strict";e.exports=function generate__formatLimit(e,t,n){var r=" ";var s=e.level;var i=e.dataLevel;var o=e.schema[t];var a=e.schemaPath+e.util.getProperty(t);var c=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var u;var f="data"+(i||"");var p="valid"+s;r+="var "+p+" = undefined;";if(e.opts.format===false){r+=" "+p+" = true; ";return r}var d=e.schema.format,h=e.opts.$data&&d.$data,m="";if(h){var y=e.util.getData(d.$data,i,e.dataPathArr),g="format"+s,v="compare"+s;r+=" var "+g+" = formats["+y+"] , "+v+" = "+g+" && "+g+".compare;"}else{var g=e.formats[d];if(!(g&&g.compare)){r+=" "+p+" = true; ";return r}var v="formats"+e.util.getProperty(d)+".compare"}var b=t=="formatMaximum",w="formatExclusive"+(b?"Maximum":"Minimum"),k=e.schema[w],x=e.opts.$data&&k&&k.$data,S=b?"<":">",E="result"+s;var O=e.opts.$data&&o&&o.$data,C;if(O){r+=" var schema"+s+" = "+e.util.getData(o.$data,i,e.dataPathArr)+"; ";C="schema"+s}else{C=o}if(x){var M=e.util.getData(k.$data,i,e.dataPathArr),A="exclusive"+s,I="op"+s,T="' + "+I+" + '";r+=" var schemaExcl"+s+" = "+M+"; ";M="schemaExcl"+s;r+=" if (typeof "+M+" != 'boolean' && "+M+" !== undefined) { "+p+" = false; ";var u=w;var R=R||[];R.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+(u||"_formatExclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ";if(e.opts.messages!==false){r+=" , message: '"+w+" should be boolean' "}if(e.opts.verbose){r+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "}r+=" } "}else{r+=" {} "}var j=r;r=R.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+j+"]); "}else{r+=" validate.errors = ["+j+"]; return false; "}}else{r+=" var err = "+j+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+=" } ";if(l){m+="}";r+=" else { "}if(O){r+=" if ("+C+" === undefined) "+p+" = true; else if (typeof "+C+" != 'string') "+p+" = false; else { ";m+="}"}if(h){r+=" if (!"+v+") "+p+" = true; else { ";m+="}"}r+=" var "+E+" = "+v+"("+f+", ";if(O){r+=""+C}else{r+=""+e.util.toQuotedString(o)}r+=" ); if ("+E+" === undefined) "+p+" = false; var "+A+" = "+M+" === true; if ("+p+" === undefined) { "+p+" = "+A+" ? "+E+" "+S+" 0 : "+E+" "+S+"= 0; } if (!"+p+") var op"+s+" = "+A+" ? '"+S+"' : '"+S+"=';"}else{var A=k===true,T=S;if(!A)T+="=";var I="'"+T+"'";if(O){r+=" if ("+C+" === undefined) "+p+" = true; else if (typeof "+C+" != 'string') "+p+" = false; else { ";m+="}"}if(h){r+=" if (!"+v+") "+p+" = true; else { ";m+="}"}r+=" var "+E+" = "+v+"("+f+", ";if(O){r+=""+C}else{r+=""+e.util.toQuotedString(o)}r+=" ); if ("+E+" === undefined) "+p+" = false; if ("+p+" === undefined) "+p+" = "+E+" "+S;if(!A){r+="="}r+=" 0;"}r+=""+m+"if (!"+p+") { ";var u=t;var R=R||[];R.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+(u||"_formatLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { comparison: "+I+", limit: ";if(O){r+=""+C}else{r+=""+e.util.toQuotedString(o)}r+=" , exclusive: "+A+" } ";if(e.opts.messages!==false){r+=" , message: 'should be "+T+' "';if(O){r+="' + "+C+" + '"}else{r+=""+e.util.escapeQuotes(o)}r+="\"' "}if(e.opts.verbose){r+=" , schema: ";if(O){r+="validate.schema"+a}else{r+=""+e.util.toQuotedString(o)}r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "}r+=" } "}else{r+=" {} "}var j=r;r=R.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+j+"]); "}else{r+=" validate.errors = ["+j+"]; return false; "}}else{r+=" var err = "+j+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+="}";return r}},38510:e=>{"use strict";e.exports=function generate_patternRequired(e,t,n){var r=" ";var s=e.level;var i=e.dataLevel;var o=e.schema[t];var a=e.schemaPath+e.util.getProperty(t);var c=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var u="data"+(i||"");var f="valid"+s;var p="key"+s,d="idx"+s,h="patternMatched"+s,m="dataProperties"+s,y="",g=e.opts.ownProperties;r+="var "+f+" = true;";if(g){r+=" var "+m+" = undefined;"}var v=o;if(v){var b,w=-1,k=v.length-1;while(w{"use strict";e.exports=function generate_switch(e,t,n){var r=" ";var s=e.level;var i=e.dataLevel;var o=e.schema[t];var a=e.schemaPath+e.util.getProperty(t);var c=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var u="data"+(i||"");var f="valid"+s;var p="errs__"+s;var d=e.util.copy(e);var h="";d.level++;var m="valid"+d.level;var y="ifPassed"+e.level,g=d.baseId,v;r+="var "+y+";";var b=o;if(b){var w,k=-1,x=b.length-1;while(k0:e.util.schemaHasRules(w.if,e.RULES.all))){r+=" var "+p+" = errors; ";var S=e.compositeRule;e.compositeRule=d.compositeRule=true;d.createErrors=false;d.schema=w.if;d.schemaPath=a+"["+k+"].if";d.errSchemaPath=c+"/"+k+"/if";r+=" "+e.validate(d)+" ";d.baseId=g;d.createErrors=true;e.compositeRule=d.compositeRule=S;r+=" "+y+" = "+m+"; if ("+y+") { ";if(typeof w.then=="boolean"){if(w.then===false){var E=E||[];E.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+"switch"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { caseIndex: "+k+" } ";if(e.opts.messages!==false){r+=" , message: 'should pass \"switch\" keyword validation' "}if(e.opts.verbose){r+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "}r+=" } "}else{r+=" {} "}var O=r;r=E.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+O+"]); "}else{r+=" validate.errors = ["+O+"]; return false; "}}else{r+=" var err = "+O+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}r+=" var "+m+" = "+w.then+"; "}else{d.schema=w.then;d.schemaPath=a+"["+k+"].then";d.errSchemaPath=c+"/"+k+"/then";r+=" "+e.validate(d)+" ";d.baseId=g}r+=" } else { errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } } "}else{r+=" "+y+" = true; ";if(typeof w.then=="boolean"){if(w.then===false){var E=E||[];E.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+"switch"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { caseIndex: "+k+" } ";if(e.opts.messages!==false){r+=" , message: 'should pass \"switch\" keyword validation' "}if(e.opts.verbose){r+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "}r+=" } "}else{r+=" {} "}var O=r;r=E.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+O+"]); "}else{r+=" validate.errors = ["+O+"]; return false; "}}else{r+=" var err = "+O+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}r+=" var "+m+" = "+w.then+"; "}else{d.schema=w.then;d.schemaPath=a+"["+k+"].then";d.errSchemaPath=c+"/"+k+"/then";r+=" "+e.validate(d)+" ";d.baseId=g}}v=w.continue}}r+=""+h+"var "+f+" = "+m+";";return r}},19962:e=>{"use strict";var t={};var n={timestamp:function(){return Date.now()},datetime:function(){return(new Date).toISOString()},date:function(){return(new Date).toISOString().slice(0,10)},time:function(){return(new Date).toISOString().slice(11)},random:function(){return Math.random()},randomint:function(e){var t=e&&e.max||2;return function(){return Math.floor(Math.random()*t)}},seq:function(e){var n=e&&e.name||"";t[n]=t[n]||0;return function(){return t[n]++}}};e.exports=function defFunc(e){defFunc.definition={compile:function(e,t,n){var r={};for(var s in e){var i=e[s];var o=getDefault(typeof i=="string"?i:i.func);r[s]=o.length?o(i.args):o}return n.opts.useDefaults&&!n.compositeRule?assignDefaults:noop;function assignDefaults(t){for(var s in e){if(t[s]===undefined||n.opts.useDefaults=="empty"&&(t[s]===null||t[s]===""))t[s]=r[s]()}return true}function noop(){return true}},DEFAULTS:n,metaSchema:{type:"object",additionalProperties:{type:["string","object"],additionalProperties:false,required:["func","args"],properties:{func:{type:"string"},args:{type:"object"}}}}};e.addKeyword("dynamicDefaults",defFunc.definition);return e;function getDefault(e){var t=n[e];if(t)return t;throw new Error('invalid "dynamicDefaults" keyword property value: '+e)}}},60904:(e,t,n)=>{"use strict";e.exports=n(79392)("Maximum")},5137:(e,t,n)=>{"use strict";e.exports=n(79392)("Minimum")},5794:(e,t,n)=>{"use strict";e.exports={instanceof:n(84464),range:n(99933),regexp:n(62583),typeof:n(6909),dynamicDefaults:n(19962),allRequired:n(38119),anyRequired:n(4103),oneRequired:n(83975),prohibited:n(14955),uniqueItemProperties:n(12333),deepProperties:n(36509),deepRequired:n(22173),formatMinimum:n(5137),formatMaximum:n(60904),patternRequired:n(45213),switch:n(30167),select:n(11535),transform:n(11044)}},84464:e=>{"use strict";var t={Object:Object,Array:Array,Function:Function,Number:Number,String:String,Date:Date,RegExp:RegExp};e.exports=function defFunc(e){if(typeof Buffer!="undefined")t.Buffer=Buffer;if(typeof Promise!="undefined")t.Promise=Promise;defFunc.definition={compile:function(e){if(typeof e=="string"){var t=getConstructor(e);return function(e){return e instanceof t}}var n=e.map(getConstructor);return function(e){for(var t=0;t{"use strict";e.exports=function defFunc(e){defFunc.definition={type:"object",macro:function(e){if(e.length==0)return true;if(e.length==1)return{required:e};var t=e.map(function(e){return{required:[e]}});return{oneOf:t}},metaSchema:{type:"array",items:{type:"string"}}};e.addKeyword("oneRequired",defFunc.definition);return e}},45213:(e,t,n)=>{"use strict";e.exports=function defFunc(e){defFunc.definition={type:"object",inline:n(38510),statements:true,errors:"full",metaSchema:{type:"array",items:{type:"string",format:"regex"},uniqueItems:true}};e.addKeyword("patternRequired",defFunc.definition);return e}},14955:e=>{"use strict";e.exports=function defFunc(e){defFunc.definition={type:"object",macro:function(e){if(e.length==0)return true;if(e.length==1)return{not:{required:e}};var t=e.map(function(e){return{required:[e]}});return{not:{anyOf:t}}},metaSchema:{type:"array",items:{type:"string"}}};e.addKeyword("prohibited",defFunc.definition);return e}},99933:e=>{"use strict";e.exports=function defFunc(e){defFunc.definition={type:"number",macro:function(e,t){var n=e[0],r=e[1],s=t.exclusiveRange;validateRangeSchema(n,r,s);return s===true?{exclusiveMinimum:n,exclusiveMaximum:r}:{minimum:n,maximum:r}},metaSchema:{type:"array",minItems:2,maxItems:2,items:{type:"number"}}};e.addKeyword("range",defFunc.definition);e.addKeyword("exclusiveRange");return e;function validateRangeSchema(e,t,n){if(n!==undefined&&typeof n!="boolean")throw new Error("Invalid schema for exclusiveRange keyword, should be boolean");if(e>t||n&&e==t)throw new Error("There are no numbers in range")}}},62583:e=>{"use strict";e.exports=function defFunc(e){defFunc.definition={type:"string",inline:function(e,t,n){return getRegExp()+".test(data"+(e.dataLevel||"")+")";function getRegExp(){try{if(typeof n=="object")return new RegExp(n.pattern,n.flags);var e=n.match(/^\/(.*)\/([gimuy]*)$/);if(e)return new RegExp(e[1],e[2]);throw new Error("cannot parse string into RegExp")}catch(e){console.error("regular expression",n,"is invalid");throw e}}},metaSchema:{type:["string","object"],properties:{pattern:{type:"string"},flags:{type:"string"}},required:["pattern"],additionalProperties:false}};e.addKeyword("regexp",defFunc.definition);return e}},11535:(e,t,n)=>{"use strict";var r=n(34363);e.exports=function defFunc(e){if(!e._opts.$data){console.warn("keyword select requires $data option");return e}var t=r.metaSchemaRef(e);var n=[];defFunc.definition={validate:function v(e,t,n){if(n.selectCases===undefined)throw new Error('keyword "selectCases" is absent');var r=getCompiledSchemas(n,false);var s=r.cases[e];if(s===undefined)s=r.default;if(typeof s=="boolean")return s;var i=s(t);if(!i)v.errors=s.errors;return i},$data:true,metaSchema:{type:["string","number","boolean","null"]}};e.addKeyword("select",defFunc.definition);e.addKeyword("selectCases",{compile:function(e,t){var n=getCompiledSchemas(t);for(var r in e)n.cases[r]=compileOrBoolean(e[r]);return function(){return true}},valid:true,metaSchema:{type:"object",additionalProperties:t}});e.addKeyword("selectDefault",{compile:function(e,t){var n=getCompiledSchemas(t);n.default=compileOrBoolean(e);return function(){return true}},valid:true,metaSchema:t});return e;function getCompiledSchemas(e,t){var r;n.some(function(t){if(t.parentSchema===e){r=t;return true}});if(!r&&t!==false){r={parentSchema:e,cases:{},default:true};n.push(r)}return r}function compileOrBoolean(t){return typeof t=="boolean"?t:e.compile(t)}}},30167:(e,t,n)=>{"use strict";var r=n(34363);e.exports=function defFunc(e){if(e.RULES.keywords.switch&&e.RULES.keywords.if)return;var t=r.metaSchemaRef(e);defFunc.definition={inline:n(11407),statements:true,errors:"full",metaSchema:{type:"array",items:{required:["then"],properties:{if:t,then:{anyOf:[{type:"boolean"},t]},continue:{type:"boolean"}},additionalProperties:false,dependencies:{continue:["if"]}}}};e.addKeyword("switch",defFunc.definition);return e}},11044:e=>{"use strict";e.exports=function defFunc(e){var t={trimLeft:function(e){return e.replace(/^[\s]+/,"")},trimRight:function(e){return e.replace(/[\s]+$/,"")},trim:function(e){return e.trim()},toLowerCase:function(e){return e.toLowerCase()},toUpperCase:function(e){return e.toUpperCase()},toEnumCase:function(e,t){return t.hash[makeHashTableKey(e)]||e}};defFunc.definition={type:"string",errors:false,modifying:true,valid:true,compile:function(e,n){var r;if(e.indexOf("toEnumCase")!==-1){r={hash:{}};if(!n.enum)throw new Error('Missing enum. To use `transform:["toEnumCase"]`, `enum:[...]` is required.');for(var s=n.enum.length;s--;s){var i=n.enum[s];if(typeof i!=="string")continue;var o=makeHashTableKey(i);if(r.hash[o])throw new Error('Invalid enum uniqueness. To use `transform:["toEnumCase"]`, all values must be unique when case insensitive.');r.hash[o]=i}}return function(n,s,i,o){if(!i)return;for(var a=0,c=e.length;a{"use strict";var t=["undefined","string","number","object","function","boolean","symbol"];e.exports=function defFunc(e){defFunc.definition={inline:function(e,t,n){var r="data"+(e.dataLevel||"");if(typeof n=="string")return"typeof "+r+' == "'+n+'"';n="validate.schema"+e.schemaPath+"."+t;return n+".indexOf(typeof "+r+") >= 0"},metaSchema:{anyOf:[{type:"string",enum:t},{type:"array",items:{type:"string",enum:t}}]}};e.addKeyword("typeof",defFunc.definition);return e}},12333:e=>{"use strict";var t=["number","integer","string","boolean","null"];e.exports=function defFunc(e){defFunc.definition={type:"array",compile:function(e,t,n){var r=n.util.equal;var s=getScalarKeys(e,t);return function(t){if(t.length>1){for(var n=0;n=0})}},11313:(e,t,n)=>{"use strict";var r=n(46225),s=n(90974),i=n(34970),o=n(97822),a=n(58093),c=n(64571),l=n(69594),u=n(91668),f=n(34403);e.exports=Ajv;Ajv.prototype.validate=validate;Ajv.prototype.compile=compile;Ajv.prototype.addSchema=addSchema;Ajv.prototype.addMetaSchema=addMetaSchema;Ajv.prototype.validateSchema=validateSchema;Ajv.prototype.getSchema=getSchema;Ajv.prototype.removeSchema=removeSchema;Ajv.prototype.addFormat=addFormat;Ajv.prototype.errorsText=errorsText;Ajv.prototype._addSchema=_addSchema;Ajv.prototype._compile=_compile;Ajv.prototype.compileAsync=n(58316);var p=n(54319);Ajv.prototype.addKeyword=p.add;Ajv.prototype.getKeyword=p.get;Ajv.prototype.removeKeyword=p.remove;Ajv.prototype.validateKeyword=p.validate;var d=n(17137);Ajv.ValidationError=d.Validation;Ajv.MissingRefError=d.MissingRef;Ajv.$dataMetaSchema=u;var h="http://json-schema.org/draft-07/schema";var m=["removeAdditional","useDefaults","coerceTypes","strictDefaults"];var y=["/properties"];function Ajv(e){if(!(this instanceof Ajv))return new Ajv(e);e=this._opts=f.copy(e)||{};setLogger(this);this._schemas={};this._refs={};this._fragments={};this._formats=c(e.format);this._cache=e.cache||new i;this._loadingSchemas={};this._compilations=[];this.RULES=l();this._getId=chooseGetId(e);e.loopRequired=e.loopRequired||Infinity;if(e.errorDataPath=="property")e._errorDataPathProperty=true;if(e.serialize===undefined)e.serialize=a;this._metaOpts=getMetaSchemaOptions(this);if(e.formats)addInitialFormats(this);if(e.keywords)addInitialKeywords(this);addDefaultMetaSchema(this);if(typeof e.meta=="object")this.addMetaSchema(e.meta);if(e.nullable)this.addKeyword("nullable",{metaSchema:{type:"boolean"}});addInitialSchemas(this)}function validate(e,t){var n;if(typeof e=="string"){n=this.getSchema(e);if(!n)throw new Error('no schema with key or ref "'+e+'"')}else{var r=this._addSchema(e);n=r.validate||this._compile(r)}var s=n(t);if(n.$async!==true)this.errors=n.errors;return s}function compile(e,t){var n=this._addSchema(e,undefined,t);return n.validate||this._compile(n)}function addSchema(e,t,n,r){if(Array.isArray(e)){for(var i=0;i{"use strict";var t=e.exports=function Cache(){this._cache={}};t.prototype.put=function Cache_put(e,t){this._cache[e]=t};t.prototype.get=function Cache_get(e){return this._cache[e]};t.prototype.del=function Cache_del(e){delete this._cache[e]};t.prototype.clear=function Cache_clear(){this._cache={}}},58316:(e,t,n)=>{"use strict";var r=n(17137).MissingRef;e.exports=compileAsync;function compileAsync(e,t,n){var s=this;if(typeof this._opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");if(typeof t=="function"){n=t;t=undefined}var i=loadMetaSchemaOf(e).then(function(){var n=s._addSchema(e,undefined,t);return n.validate||_compileAsync(n)});if(n){i.then(function(e){n(null,e)},n)}return i;function loadMetaSchemaOf(e){var t=e.$schema;return t&&!s.getSchema(t)?compileAsync.call(s,{$ref:t},true):Promise.resolve()}function _compileAsync(e){try{return s._compile(e)}catch(e){if(e instanceof r)return loadMissingSchema(e);throw e}function loadMissingSchema(n){var r=n.missingSchema;if(added(r))throw new Error("Schema "+r+" is loaded but "+n.missingRef+" cannot be resolved");var i=s._loadingSchemas[r];if(!i){i=s._loadingSchemas[r]=s._opts.loadSchema(r);i.then(removePromise,removePromise)}return i.then(function(e){if(!added(r)){return loadMetaSchemaOf(e).then(function(){if(!added(r))s.addSchema(e,r,undefined,t)})}}).then(function(){return _compileAsync(e)});function removePromise(){delete s._loadingSchemas[r]}function added(e){return s._refs[e]||s._schemas[e]}}}}},17137:(e,t,n)=>{"use strict";var r=n(90974);e.exports={Validation:errorSubclass(ValidationError),MissingRef:errorSubclass(MissingRefError)};function ValidationError(e){this.message="validation failed";this.errors=e;this.ajv=this.validation=true}MissingRefError.message=function(e,t){return"can't resolve reference "+t+" from id "+e};function MissingRefError(e,t,n){this.message=n||MissingRefError.message(e,t);this.missingRef=r.url(e,t);this.missingSchema=r.normalizeId(r.fullPath(this.missingRef))}function errorSubclass(e){e.prototype=Object.create(Error.prototype);e.prototype.constructor=e;return e}},64571:(e,t,n)=>{"use strict";var r=n(34403);var s=/^(\d\d\d\d)-(\d\d)-(\d\d)$/;var i=[0,31,28,31,30,31,30,31,31,30,31,30,31];var o=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i;var a=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i;var c=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;var l=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;var u=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i;var f=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i;var p=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i;var d=/^(?:\/(?:[^~/]|~0|~1)*)*$/;var h=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i;var m=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;e.exports=formats;function formats(e){e=e=="full"?"full":"fast";return r.copy(formats[e])}formats.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":u,url:f,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:a,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:p,"json-pointer":d,"json-pointer-uri-fragment":h,"relative-json-pointer":m};formats.full={date:date,time:time,"date-time":date_time,uri:uri,"uri-reference":l,"uri-template":u,url:f,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:a,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:p,"json-pointer":d,"json-pointer-uri-fragment":h,"relative-json-pointer":m};function isLeapYear(e){return e%4===0&&(e%100!==0||e%400===0)}function date(e){var t=e.match(s);if(!t)return false;var n=+t[1];var r=+t[2];var o=+t[3];return r>=1&&r<=12&&o>=1&&o<=(r==2&&isLeapYear(n)?29:i[r])}function time(e,t){var n=e.match(o);if(!n)return false;var r=n[1];var s=n[2];var i=n[3];var a=n[5];return(r<=23&&s<=59&&i<=59||r==23&&s==59&&i==60)&&(!t||a)}var y=/t|\s/i;function date_time(e){var t=e.split(y);return t.length==2&&date(t[0])&&time(t[1],true)}var g=/\/|:/;function uri(e){return g.test(e)&&c.test(e)}var v=/[^\\]\\Z/;function regex(e){if(v.test(e))return false;try{new RegExp(e);return true}catch(e){return false}}},46225:(e,t,n)=>{"use strict";var r=n(90974),s=n(34403),i=n(17137),o=n(58093);var a=n(93088);var c=s.ucs2length;var l=n(27689);var u=i.Validation;e.exports=compile;function compile(e,t,n,f){var p=this,d=this._opts,h=[undefined],m={},y=[],g={},v=[],b={},w=[];t=t||{schema:e,refVal:h,refs:m};var k=checkCompiling.call(this,e,t,f);var x=this._compilations[k.index];if(k.compiling)return x.callValidate=callValidate;var S=this._formats;var E=this.RULES;try{var O=localCompile(e,t,n,f);x.validate=O;var C=x.callValidate;if(C){C.schema=O.schema;C.errors=null;C.refs=O.refs;C.refVal=O.refVal;C.root=O.root;C.$async=O.$async;if(d.sourceCode)C.source=O.source}return O}finally{endCompiling.call(this,e,t,f)}function callValidate(){var e=x.validate;var t=e.apply(this,arguments);callValidate.errors=e.errors;return t}function localCompile(e,n,o,f){var g=!n||n&&n.schema==e;if(n.schema!=t.schema)return compile.call(p,e,n,o,f);var b=e.$async===true;var k=a({isTop:true,schema:e,isRoot:g,baseId:f,root:n,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:i.MissingRef,RULES:E,validate:a,util:s,resolve:r,resolveRef:resolveRef,usePattern:usePattern,useDefault:useDefault,useCustomRule:useCustomRule,opts:d,formats:S,logger:p.logger,self:p});k=vars(h,refValCode)+vars(y,patternCode)+vars(v,defaultCode)+vars(w,customRuleCode)+k;if(d.processCode)k=d.processCode(k,e);var x;try{var O=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",k);x=O(p,E,S,t,h,v,w,l,c,u);h[0]=x}catch(e){p.logger.error("Error compiling schema, function code:",k);throw e}x.schema=e;x.errors=null;x.refs=m;x.refVal=h;x.root=g?x:n;if(b)x.$async=true;if(d.sourceCode===true){x.source={code:k,patterns:y,defaults:v}}return x}function resolveRef(e,s,i){s=r.url(e,s);var o=m[s];var a,c;if(o!==undefined){a=h[o];c="refVal["+o+"]";return resolvedRef(a,c)}if(!i&&t.refs){var l=t.refs[s];if(l!==undefined){a=t.refVal[l];c=addLocalRef(s,a);return resolvedRef(a,c)}}c=addLocalRef(s);var u=r.call(p,localCompile,t,s);if(u===undefined){var f=n&&n[s];if(f){u=r.inlineRef(f,d.inlineRefs)?f:compile.call(p,f,t,n,e)}}if(u===undefined){removeLocalRef(s)}else{replaceLocalRef(s,u);return resolvedRef(u,c)}}function addLocalRef(e,t){var n=h.length;h[n]=t;m[e]=n;return"refVal"+n}function removeLocalRef(e){delete m[e]}function replaceLocalRef(e,t){var n=m[e];h[n]=t}function resolvedRef(e,t){return typeof e=="object"||typeof e=="boolean"?{code:t,schema:e,inline:true}:{code:t,$async:e&&!!e.$async}}function usePattern(e){var t=g[e];if(t===undefined){t=g[e]=y.length;y[t]=e}return"pattern"+t}function useDefault(e){switch(typeof e){case"boolean":case"number":return""+e;case"string":return s.toQuotedString(e);case"object":if(e===null)return"null";var t=o(e);var n=b[t];if(n===undefined){n=b[t]=v.length;v[n]=e}return"default"+n}}function useCustomRule(e,t,n,r){if(p._opts.validateSchema!==false){var s=e.definition.dependencies;if(s&&!s.every(function(e){return Object.prototype.hasOwnProperty.call(n,e)}))throw new Error("parent schema must have all required keywords: "+s.join(","));var i=e.definition.validateSchema;if(i){var o=i(t);if(!o){var a="keyword schema is invalid: "+p.errorsText(i.errors);if(p._opts.validateSchema=="log")p.logger.error(a);else throw new Error(a)}}}var c=e.definition.compile,l=e.definition.inline,u=e.definition.macro;var f;if(c){f=c.call(p,t,n,r)}else if(u){f=u.call(p,t,n,r);if(d.validateSchema!==false)p.validateSchema(f,true)}else if(l){f=l.call(p,r,e.keyword,t,n)}else{f=e.definition.validate;if(!f)return}if(f===undefined)throw new Error('custom keyword "'+e.keyword+'"failed to compile');var h=w.length;w[h]=f;return{code:"customRule"+h,validate:f}}}function checkCompiling(e,t,n){var r=compIndex.call(this,e,t,n);if(r>=0)return{index:r,compiling:true};r=this._compilations.length;this._compilations[r]={schema:e,root:t,baseId:n};return{index:r,compiling:false}}function endCompiling(e,t,n){var r=compIndex.call(this,e,t,n);if(r>=0)this._compilations.splice(r,1)}function compIndex(e,t,n){for(var r=0;r{"use strict";var r=n(57620),s=n(27689),i=n(34403),o=n(97822),a=n(97084);e.exports=resolve;resolve.normalizeId=normalizeId;resolve.fullPath=getFullPath;resolve.url=resolveUrl;resolve.ids=resolveIds;resolve.inlineRef=inlineRef;resolve.schema=resolveSchema;function resolve(e,t,n){var r=this._refs[n];if(typeof r=="string"){if(this._refs[r])r=this._refs[r];else return resolve.call(this,e,t,r)}r=r||this._schemas[n];if(r instanceof o){return inlineRef(r.schema,this._opts.inlineRefs)?r.schema:r.validate||this._compile(r)}var s=resolveSchema.call(this,t,n);var i,a,c;if(s){i=s.schema;t=s.root;c=s.baseId}if(i instanceof o){a=i.validate||e.call(this,i.schema,t,undefined,c)}else if(i!==undefined){a=inlineRef(i,this._opts.inlineRefs)?i:e.call(this,i,t,undefined,c)}return a}function resolveSchema(e,t){var n=r.parse(t),s=_getFullPath(n),i=getFullPath(this._getId(e.schema));if(Object.keys(e.schema).length===0||s!==i){var a=normalizeId(s);var c=this._refs[a];if(typeof c=="string"){return resolveRecursive.call(this,e,c,n)}else if(c instanceof o){if(!c.validate)this._compile(c);e=c}else{c=this._schemas[a];if(c instanceof o){if(!c.validate)this._compile(c);if(a==normalizeId(t))return{schema:c,root:e,baseId:i};e=c}else{return}}if(!e.schema)return;i=getFullPath(this._getId(e.schema))}return getJsonPointer.call(this,n,i,e.schema,e)}function resolveRecursive(e,t,n){var r=resolveSchema.call(this,e,t);if(r){var s=r.schema;var i=r.baseId;e=r.root;var o=this._getId(s);if(o)i=resolveUrl(i,o);return getJsonPointer.call(this,n,i,s,e)}}var c=i.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function getJsonPointer(e,t,n,r){e.fragment=e.fragment||"";if(e.fragment.slice(0,1)!="/")return;var s=e.fragment.split("/");for(var o=1;o{"use strict";var r=n(82854),s=n(34403).toHash;e.exports=function rules(){var e=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}];var t=["type","$comment"];var n=["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"];var i=["number","integer","string","array","object","boolean","null"];e.all=s(t);e.types=s(i);e.forEach(function(n){n.rules=n.rules.map(function(n){var s;if(typeof n=="object"){var i=Object.keys(n)[0];s=n[i];n=i;s.forEach(function(n){t.push(n);e.all[n]=true})}t.push(n);var o=e.all[n]={keyword:n,code:r[n],implements:s};return o});e.all.$comment={keyword:"$comment",code:r.$comment};if(n.type)e.types[n.type]=n});e.keywords=s(t.concat(n));e.custom={};return e}},97822:(e,t,n)=>{"use strict";var r=n(34403);e.exports=SchemaObject;function SchemaObject(e){r.copy(e,this)}},14330:e=>{"use strict";e.exports=function ucs2length(e){var t=0,n=e.length,r=0,s;while(r=55296&&s<=56319&&r{"use strict";e.exports={copy:copy,checkDataType:checkDataType,checkDataTypes:checkDataTypes,coerceToTypes:coerceToTypes,toHash:toHash,getProperty:getProperty,escapeQuotes:escapeQuotes,equal:n(27689),ucs2length:n(14330),varOccurences:varOccurences,varReplace:varReplace,schemaHasRules:schemaHasRules,schemaHasRulesExcept:schemaHasRulesExcept,schemaUnknownRules:schemaUnknownRules,toQuotedString:toQuotedString,getPathExpr:getPathExpr,getPath:getPath,getData:getData,unescapeFragment:unescapeFragment,unescapeJsonPointer:unescapeJsonPointer,escapeFragment:escapeFragment,escapeJsonPointer:escapeJsonPointer};function copy(e,t){t=t||{};for(var n in e)t[n]=e[n];return t}function checkDataType(e,t,n,r){var s=r?" !== ":" === ",i=r?" || ":" && ",o=r?"!":"",a=r?"":"!";switch(e){case"null":return t+s+"null";case"array":return o+"Array.isArray("+t+")";case"object":return"("+o+t+i+"typeof "+t+s+'"object"'+i+a+"Array.isArray("+t+"))";case"integer":return"(typeof "+t+s+'"number"'+i+a+"("+t+" % 1)"+i+t+s+t+(n?i+o+"isFinite("+t+")":"")+")";case"number":return"(typeof "+t+s+'"'+e+'"'+(n?i+o+"isFinite("+t+")":"")+")";default:return"typeof "+t+s+'"'+e+'"'}}function checkDataTypes(e,t,n){switch(e.length){case 1:return checkDataType(e[0],t,n,true);default:var r="";var s=toHash(e);if(s.array&&s.object){r=s.null?"(":"(!"+t+" || ";r+="typeof "+t+' !== "object")';delete s.null;delete s.array;delete s.object}if(s.number)delete s.integer;for(var i in s)r+=(r?" && ":"")+checkDataType(i,t,n,true);return r}}var r=toHash(["string","number","integer","boolean","null"]);function coerceToTypes(e,t){if(Array.isArray(t)){var n=[];for(var s=0;s=t)throw new Error("Cannot access property/index "+r+" levels up, current level is "+t);return n[t-r]}if(r>t)throw new Error("Cannot access data "+r+" levels up, current level is "+t);i="data"+(t-r||"");if(!s)return i}var l=i;var u=s.split("/");for(var f=0;f{"use strict";var t=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];e.exports=function(e,n){for(var r=0;r{"use strict";var r=n(98938);e.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:r.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:r.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}}},38789:e=>{"use strict";e.exports=function generate__limit(e,t,n){var r=" ";var s=e.level;var i=e.dataLevel;var o=e.schema[t];var a=e.schemaPath+e.util.getProperty(t);var c=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var u;var f="data"+(i||"");var p=e.opts.$data&&o&&o.$data,d;if(p){r+=" var schema"+s+" = "+e.util.getData(o.$data,i,e.dataPathArr)+"; ";d="schema"+s}else{d=o}var h=t=="maximum",m=h?"exclusiveMaximum":"exclusiveMinimum",y=e.schema[m],g=e.opts.$data&&y&&y.$data,v=h?"<":">",b=h?">":"<",u=undefined;if(!(p||typeof o=="number"||o===undefined)){throw new Error(t+" must be number")}if(!(g||y===undefined||typeof y=="number"||typeof y=="boolean")){throw new Error(m+" must be number or boolean")}if(g){var w=e.util.getData(y.$data,i,e.dataPathArr),k="exclusive"+s,x="exclType"+s,S="exclIsNumber"+s,E="op"+s,O="' + "+E+" + '";r+=" var schemaExcl"+s+" = "+w+"; ";w="schemaExcl"+s;r+=" var "+k+"; var "+x+" = typeof "+w+"; if ("+x+" != 'boolean' && "+x+" != 'undefined' && "+x+" != 'number') { ";var u=m;var C=C||[];C.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+(u||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ";if(e.opts.messages!==false){r+=" , message: '"+m+" should be boolean' "}if(e.opts.verbose){r+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "}r+=" } "}else{r+=" {} "}var M=r;r=C.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+M+"]); "}else{r+=" validate.errors = ["+M+"]; return false; "}}else{r+=" var err = "+M+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+=" } else if ( ";if(p){r+=" ("+d+" !== undefined && typeof "+d+" != 'number') || "}r+=" "+x+" == 'number' ? ( ("+k+" = "+d+" === undefined || "+w+" "+v+"= "+d+") ? "+f+" "+b+"= "+w+" : "+f+" "+b+" "+d+" ) : ( ("+k+" = "+w+" === true) ? "+f+" "+b+"= "+d+" : "+f+" "+b+" "+d+" ) || "+f+" !== "+f+") { var op"+s+" = "+k+" ? '"+v+"' : '"+v+"='; ";if(o===undefined){u=m;c=e.errSchemaPath+"/"+m;d=w;p=g}}else{var S=typeof y=="number",O=v;if(S&&p){var E="'"+O+"'";r+=" if ( ";if(p){r+=" ("+d+" !== undefined && typeof "+d+" != 'number') || "}r+=" ( "+d+" === undefined || "+y+" "+v+"= "+d+" ? "+f+" "+b+"= "+y+" : "+f+" "+b+" "+d+" ) || "+f+" !== "+f+") { "}else{if(S&&o===undefined){k=true;u=m;c=e.errSchemaPath+"/"+m;d=y;b+="="}else{if(S)d=Math[h?"min":"max"](y,o);if(y===(S?d:true)){k=true;u=m;c=e.errSchemaPath+"/"+m;b+="="}else{k=false;O+="="}}var E="'"+O+"'";r+=" if ( ";if(p){r+=" ("+d+" !== undefined && typeof "+d+" != 'number') || "}r+=" "+f+" "+b+" "+d+" || "+f+" !== "+f+") { "}}u=u||t;var C=C||[];C.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+(u||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { comparison: "+E+", limit: "+d+", exclusive: "+k+" } ";if(e.opts.messages!==false){r+=" , message: 'should be "+O+" ";if(p){r+="' + "+d}else{r+=""+d+"'"}}if(e.opts.verbose){r+=" , schema: ";if(p){r+="validate.schema"+a}else{r+=""+o}r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "}r+=" } "}else{r+=" {} "}var M=r;r=C.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+M+"]); "}else{r+=" validate.errors = ["+M+"]; return false; "}}else{r+=" var err = "+M+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+=" } ";if(l){r+=" else { "}return r}},86674:e=>{"use strict";e.exports=function generate__limitItems(e,t,n){var r=" ";var s=e.level;var i=e.dataLevel;var o=e.schema[t];var a=e.schemaPath+e.util.getProperty(t);var c=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var u;var f="data"+(i||"");var p=e.opts.$data&&o&&o.$data,d;if(p){r+=" var schema"+s+" = "+e.util.getData(o.$data,i,e.dataPathArr)+"; ";d="schema"+s}else{d=o}if(!(p||typeof o=="number")){throw new Error(t+" must be number")}var h=t=="maxItems"?">":"<";r+="if ( ";if(p){r+=" ("+d+" !== undefined && typeof "+d+" != 'number') || "}r+=" "+f+".length "+h+" "+d+") { ";var u=t;var m=m||[];m.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+(u||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+d+" } ";if(e.opts.messages!==false){r+=" , message: 'should NOT have ";if(t=="maxItems"){r+="more"}else{r+="fewer"}r+=" than ";if(p){r+="' + "+d+" + '"}else{r+=""+o}r+=" items' "}if(e.opts.verbose){r+=" , schema: ";if(p){r+="validate.schema"+a}else{r+=""+o}r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "}r+=" } "}else{r+=" {} "}var y=r;r=m.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+y+"]); "}else{r+=" validate.errors = ["+y+"]; return false; "}}else{r+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+="} ";if(l){r+=" else { "}return r}},93647:e=>{"use strict";e.exports=function generate__limitLength(e,t,n){var r=" ";var s=e.level;var i=e.dataLevel;var o=e.schema[t];var a=e.schemaPath+e.util.getProperty(t);var c=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var u;var f="data"+(i||"");var p=e.opts.$data&&o&&o.$data,d;if(p){r+=" var schema"+s+" = "+e.util.getData(o.$data,i,e.dataPathArr)+"; ";d="schema"+s}else{d=o}if(!(p||typeof o=="number")){throw new Error(t+" must be number")}var h=t=="maxLength"?">":"<";r+="if ( ";if(p){r+=" ("+d+" !== undefined && typeof "+d+" != 'number') || "}if(e.opts.unicode===false){r+=" "+f+".length "}else{r+=" ucs2length("+f+") "}r+=" "+h+" "+d+") { ";var u=t;var m=m||[];m.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+(u||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+d+" } ";if(e.opts.messages!==false){r+=" , message: 'should NOT be ";if(t=="maxLength"){r+="longer"}else{r+="shorter"}r+=" than ";if(p){r+="' + "+d+" + '"}else{r+=""+o}r+=" characters' "}if(e.opts.verbose){r+=" , schema: ";if(p){r+="validate.schema"+a}else{r+=""+o}r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "}r+=" } "}else{r+=" {} "}var y=r;r=m.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+y+"]); "}else{r+=" validate.errors = ["+y+"]; return false; "}}else{r+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+="} ";if(l){r+=" else { "}return r}},66432:e=>{"use strict";e.exports=function generate__limitProperties(e,t,n){var r=" ";var s=e.level;var i=e.dataLevel;var o=e.schema[t];var a=e.schemaPath+e.util.getProperty(t);var c=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var u;var f="data"+(i||"");var p=e.opts.$data&&o&&o.$data,d;if(p){r+=" var schema"+s+" = "+e.util.getData(o.$data,i,e.dataPathArr)+"; ";d="schema"+s}else{d=o}if(!(p||typeof o=="number")){throw new Error(t+" must be number")}var h=t=="maxProperties"?">":"<";r+="if ( ";if(p){r+=" ("+d+" !== undefined && typeof "+d+" != 'number') || "}r+=" Object.keys("+f+").length "+h+" "+d+") { ";var u=t;var m=m||[];m.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+(u||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+d+" } ";if(e.opts.messages!==false){r+=" , message: 'should NOT have ";if(t=="maxProperties"){r+="more"}else{r+="fewer"}r+=" than ";if(p){r+="' + "+d+" + '"}else{r+=""+o}r+=" properties' "}if(e.opts.verbose){r+=" , schema: ";if(p){r+="validate.schema"+a}else{r+=""+o}r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "}r+=" } "}else{r+=" {} "}var y=r;r=m.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+y+"]); "}else{r+=" validate.errors = ["+y+"]; return false; "}}else{r+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+="} ";if(l){r+=" else { "}return r}},81378:e=>{"use strict";e.exports=function generate_allOf(e,t,n){var r=" ";var s=e.schema[t];var i=e.schemaPath+e.util.getProperty(t);var o=e.errSchemaPath+"/"+t;var a=!e.opts.allErrors;var c=e.util.copy(e);var l="";c.level++;var u="valid"+c.level;var f=c.baseId,p=true;var d=s;if(d){var h,m=-1,y=d.length-1;while(m0||h===false:e.util.schemaHasRules(h,e.RULES.all)){p=false;c.schema=h;c.schemaPath=i+"["+m+"]";c.errSchemaPath=o+"/"+m;r+=" "+e.validate(c)+" ";c.baseId=f;if(a){r+=" if ("+u+") { ";l+="}"}}}}if(a){if(p){r+=" if (true) { "}else{r+=" "+l.slice(0,-1)+" "}}return r}},59410:e=>{"use strict";e.exports=function generate_anyOf(e,t,n){var r=" ";var s=e.level;var i=e.dataLevel;var o=e.schema[t];var a=e.schemaPath+e.util.getProperty(t);var c=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var u="data"+(i||"");var f="valid"+s;var p="errs__"+s;var d=e.util.copy(e);var h="";d.level++;var m="valid"+d.level;var y=o.every(function(t){return e.opts.strictKeywords?typeof t=="object"&&Object.keys(t).length>0||t===false:e.util.schemaHasRules(t,e.RULES.all)});if(y){var g=d.baseId;r+=" var "+p+" = errors; var "+f+" = false; ";var v=e.compositeRule;e.compositeRule=d.compositeRule=true;var b=o;if(b){var w,k=-1,x=b.length-1;while(k{"use strict";e.exports=function generate_comment(e,t,n){var r=" ";var s=e.schema[t];var i=e.errSchemaPath+"/"+t;var o=!e.opts.allErrors;var a=e.util.toQuotedString(s);if(e.opts.$comment===true){r+=" console.log("+a+");"}else if(typeof e.opts.$comment=="function"){r+=" self._opts.$comment("+a+", "+e.util.toQuotedString(i)+", validate.root.schema);"}return r}},58544:e=>{"use strict";e.exports=function generate_const(e,t,n){var r=" ";var s=e.level;var i=e.dataLevel;var o=e.schema[t];var a=e.schemaPath+e.util.getProperty(t);var c=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var u="data"+(i||"");var f="valid"+s;var p=e.opts.$data&&o&&o.$data,d;if(p){r+=" var schema"+s+" = "+e.util.getData(o.$data,i,e.dataPathArr)+"; ";d="schema"+s}else{d=o}if(!p){r+=" var schema"+s+" = validate.schema"+a+";"}r+="var "+f+" = equal("+u+", schema"+s+"); if (!"+f+") { ";var h=h||[];h.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+"const"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { allowedValue: schema"+s+" } ";if(e.opts.messages!==false){r+=" , message: 'should be equal to constant' "}if(e.opts.verbose){r+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "}r+=" } "}else{r+=" {} "}var m=r;r=h.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+m+"]); "}else{r+=" validate.errors = ["+m+"]; return false; "}}else{r+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+=" }";if(l){r+=" else { "}return r}},31622:e=>{"use strict";e.exports=function generate_contains(e,t,n){var r=" ";var s=e.level;var i=e.dataLevel;var o=e.schema[t];var a=e.schemaPath+e.util.getProperty(t);var c=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var u="data"+(i||"");var f="valid"+s;var p="errs__"+s;var d=e.util.copy(e);var h="";d.level++;var m="valid"+d.level;var y="i"+s,g=d.dataLevel=e.dataLevel+1,v="data"+g,b=e.baseId,w=e.opts.strictKeywords?typeof o=="object"&&Object.keys(o).length>0||o===false:e.util.schemaHasRules(o,e.RULES.all);r+="var "+p+" = errors;var "+f+";";if(w){var k=e.compositeRule;e.compositeRule=d.compositeRule=true;d.schema=o;d.schemaPath=a;d.errSchemaPath=c;r+=" var "+m+" = false; for (var "+y+" = 0; "+y+" < "+u+".length; "+y+"++) { ";d.errorPath=e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers,true);var x=u+"["+y+"]";d.dataPathArr[g]=y;var S=e.validate(d);d.baseId=b;if(e.util.varOccurences(S,v)<2){r+=" "+e.util.varReplace(S,v,x)+" "}else{r+=" var "+v+" = "+x+"; "+S+" "}r+=" if ("+m+") break; } ";e.compositeRule=d.compositeRule=k;r+=" "+h+" if (!"+m+") {"}else{r+=" if ("+u+".length == 0) {"}var E=E||[];E.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+"contains"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ";if(e.opts.messages!==false){r+=" , message: 'should contain a valid item' "}if(e.opts.verbose){r+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "}r+=" } "}else{r+=" {} "}var O=r;r=E.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+O+"]); "}else{r+=" validate.errors = ["+O+"]; return false; "}}else{r+=" var err = "+O+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+=" } else { ";if(w){r+=" errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } "}if(e.opts.allErrors){r+=" } "}return r}},78890:e=>{"use strict";e.exports=function generate_custom(e,t,n){var r=" ";var s=e.level;var i=e.dataLevel;var o=e.schema[t];var a=e.schemaPath+e.util.getProperty(t);var c=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var u;var f="data"+(i||"");var p="valid"+s;var d="errs__"+s;var h=e.opts.$data&&o&&o.$data,m;if(h){r+=" var schema"+s+" = "+e.util.getData(o.$data,i,e.dataPathArr)+"; ";m="schema"+s}else{m=o}var y=this,g="definition"+s,v=y.definition,b="";var w,k,x,S,E;if(h&&v.$data){E="keywordValidate"+s;var O=v.validateSchema;r+=" var "+g+" = RULES.custom['"+t+"'].definition; var "+E+" = "+g+".validate;"}else{S=e.useCustomRule(y,o,e.schema,e);if(!S)return;m="validate.schema"+a;E=S.code;w=v.compile;k=v.inline;x=v.macro}var C=E+".errors",M="i"+s,A="ruleErr"+s,I=v.async;if(I&&!e.async)throw new Error("async keyword in sync schema");if(!(k||x)){r+=""+C+" = null;"}r+="var "+d+" = errors;var "+p+";";if(h&&v.$data){b+="}";r+=" if ("+m+" === undefined) { "+p+" = true; } else { ";if(O){b+="}";r+=" "+p+" = "+g+".validateSchema("+m+"); if ("+p+") { "}}if(k){if(v.statements){r+=" "+S.validate+" "}else{r+=" "+p+" = "+S.validate+"; "}}else if(x){var T=e.util.copy(e);var b="";T.level++;var R="valid"+T.level;T.schema=S.validate;T.schemaPath="";var j=e.compositeRule;e.compositeRule=T.compositeRule=true;var F=e.validate(T).replace(/validate\.schema/g,E);e.compositeRule=T.compositeRule=j;r+=" "+F}else{var N=N||[];N.push(r);r="";r+=" "+E+".call( ";if(e.opts.passContext){r+="this"}else{r+="self"}if(w||v.schema===false){r+=" , "+f+" "}else{r+=" , "+m+" , "+f+" , validate.schema"+e.schemaPath+" "}r+=" , (dataPath || '')";if(e.errorPath!='""'){r+=" + "+e.errorPath}var D=i?"data"+(i-1||""):"parentData",P=i?e.dataPathArr[i]:"parentDataProperty";r+=" , "+D+" , "+P+" , rootData ) ";var L=r;r=N.pop();if(v.errors===false){r+=" "+p+" = ";if(I){r+="await "}r+=""+L+"; "}else{if(I){C="customErrors"+s;r+=" var "+C+" = null; try { "+p+" = await "+L+"; } catch (e) { "+p+" = false; if (e instanceof ValidationError) "+C+" = e.errors; else throw e; } "}else{r+=" "+C+" = null; "+p+" = "+L+"; "}}}if(v.modifying){r+=" if ("+D+") "+f+" = "+D+"["+P+"];"}r+=""+b;if(v.valid){if(l){r+=" if (true) { "}}else{r+=" if ( ";if(v.valid===undefined){r+=" !";if(x){r+=""+R}else{r+=""+p}}else{r+=" "+!v.valid+" "}r+=") { ";u=y.keyword;var N=N||[];N.push(r);r="";var N=N||[];N.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+(u||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { keyword: '"+y.keyword+"' } ";if(e.opts.messages!==false){r+=" , message: 'should pass \""+y.keyword+"\" keyword validation' "}if(e.opts.verbose){r+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "}r+=" } "}else{r+=" {} "}var q=r;r=N.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+q+"]); "}else{r+=" validate.errors = ["+q+"]; return false; "}}else{r+=" var err = "+q+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}var _=r;r=N.pop();if(k){if(v.errors){if(v.errors!="full"){r+=" for (var "+M+"="+d+"; "+M+"{"use strict";e.exports=function generate_dependencies(e,t,n){var r=" ";var s=e.level;var i=e.dataLevel;var o=e.schema[t];var a=e.schemaPath+e.util.getProperty(t);var c=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var u="data"+(i||"");var f="errs__"+s;var p=e.util.copy(e);var d="";p.level++;var h="valid"+p.level;var m={},y={},g=e.opts.ownProperties;for(k in o){if(k=="__proto__")continue;var v=o[k];var b=Array.isArray(v)?y:m;b[k]=v}r+="var "+f+" = errors;";var w=e.errorPath;r+="var missing"+s+";";for(var k in y){b=y[k];if(b.length){r+=" if ( "+u+e.util.getProperty(k)+" !== undefined ";if(g){r+=" && Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(k)+"') "}if(l){r+=" && ( ";var x=b;if(x){var S,E=-1,O=x.length-1;while(E0||v===false:e.util.schemaHasRules(v,e.RULES.all)){r+=" "+h+" = true; if ( "+u+e.util.getProperty(k)+" !== undefined ";if(g){r+=" && Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(k)+"') "}r+=") { ";p.schema=v;p.schemaPath=a+e.util.getProperty(k);p.errSchemaPath=c+"/"+e.util.escapeFragment(k);r+=" "+e.validate(p)+" ";p.baseId=D;r+=" } ";if(l){r+=" if ("+h+") { ";d+="}"}}}if(l){r+=" "+d+" if ("+f+" == errors) {"}return r}},31291:e=>{"use strict";e.exports=function generate_enum(e,t,n){var r=" ";var s=e.level;var i=e.dataLevel;var o=e.schema[t];var a=e.schemaPath+e.util.getProperty(t);var c=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var u="data"+(i||"");var f="valid"+s;var p=e.opts.$data&&o&&o.$data,d;if(p){r+=" var schema"+s+" = "+e.util.getData(o.$data,i,e.dataPathArr)+"; ";d="schema"+s}else{d=o}var h="i"+s,m="schema"+s;if(!p){r+=" var "+m+" = validate.schema"+a+";"}r+="var "+f+";";if(p){r+=" if (schema"+s+" === undefined) "+f+" = true; else if (!Array.isArray(schema"+s+")) "+f+" = false; else {"}r+=""+f+" = false;for (var "+h+"=0; "+h+"<"+m+".length; "+h+"++) if (equal("+u+", "+m+"["+h+"])) { "+f+" = true; break; }";if(p){r+=" } "}r+=" if (!"+f+") { ";var y=y||[];y.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+"enum"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { allowedValues: schema"+s+" } ";if(e.opts.messages!==false){r+=" , message: 'should be equal to one of the allowed values' "}if(e.opts.verbose){r+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "}r+=" } "}else{r+=" {} "}var g=r;r=y.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+g+"]); "}else{r+=" validate.errors = ["+g+"]; return false; "}}else{r+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+=" }";if(l){r+=" else { "}return r}},33864:e=>{"use strict";e.exports=function generate_format(e,t,n){var r=" ";var s=e.level;var i=e.dataLevel;var o=e.schema[t];var a=e.schemaPath+e.util.getProperty(t);var c=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var u="data"+(i||"");if(e.opts.format===false){if(l){r+=" if (true) { "}return r}var f=e.opts.$data&&o&&o.$data,p;if(f){r+=" var schema"+s+" = "+e.util.getData(o.$data,i,e.dataPathArr)+"; ";p="schema"+s}else{p=o}var d=e.opts.unknownFormats,h=Array.isArray(d);if(f){var m="format"+s,y="isObject"+s,g="formatType"+s;r+=" var "+m+" = formats["+p+"]; var "+y+" = typeof "+m+" == 'object' && !("+m+" instanceof RegExp) && "+m+".validate; var "+g+" = "+y+" && "+m+".type || 'string'; if ("+y+") { ";if(e.async){r+=" var async"+s+" = "+m+".async; "}r+=" "+m+" = "+m+".validate; } if ( ";if(f){r+=" ("+p+" !== undefined && typeof "+p+" != 'string') || "}r+=" (";if(d!="ignore"){r+=" ("+p+" && !"+m+" ";if(h){r+=" && self._opts.unknownFormats.indexOf("+p+") == -1 "}r+=") || "}r+=" ("+m+" && "+g+" == '"+n+"' && !(typeof "+m+" == 'function' ? ";if(e.async){r+=" (async"+s+" ? await "+m+"("+u+") : "+m+"("+u+")) "}else{r+=" "+m+"("+u+") "}r+=" : "+m+".test("+u+"))))) {"}else{var m=e.formats[o];if(!m){if(d=="ignore"){e.logger.warn('unknown format "'+o+'" ignored in schema at path "'+e.errSchemaPath+'"');if(l){r+=" if (true) { "}return r}else if(h&&d.indexOf(o)>=0){if(l){r+=" if (true) { "}return r}else{throw new Error('unknown format "'+o+'" is used in schema at path "'+e.errSchemaPath+'"')}}var y=typeof m=="object"&&!(m instanceof RegExp)&&m.validate;var g=y&&m.type||"string";if(y){var v=m.async===true;m=m.validate}if(g!=n){if(l){r+=" if (true) { "}return r}if(v){if(!e.async)throw new Error("async format in sync schema");var b="formats"+e.util.getProperty(o)+".validate";r+=" if (!(await "+b+"("+u+"))) { "}else{r+=" if (! ";var b="formats"+e.util.getProperty(o);if(y)b+=".validate";if(typeof m=="function"){r+=" "+b+"("+u+") "}else{r+=" "+b+".test("+u+") "}r+=") { "}}var w=w||[];w.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+"format"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { format: ";if(f){r+=""+p}else{r+=""+e.util.toQuotedString(o)}r+=" } ";if(e.opts.messages!==false){r+=" , message: 'should match format \"";if(f){r+="' + "+p+" + '"}else{r+=""+e.util.escapeQuotes(o)}r+="\"' "}if(e.opts.verbose){r+=" , schema: ";if(f){r+="validate.schema"+a}else{r+=""+e.util.toQuotedString(o)}r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "}r+=" } "}else{r+=" {} "}var k=r;r=w.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+k+"]); "}else{r+=" validate.errors = ["+k+"]; return false; "}}else{r+=" var err = "+k+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+=" } ";if(l){r+=" else { "}return r}},21450:e=>{"use strict";e.exports=function generate_if(e,t,n){var r=" ";var s=e.level;var i=e.dataLevel;var o=e.schema[t];var a=e.schemaPath+e.util.getProperty(t);var c=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var u="data"+(i||"");var f="valid"+s;var p="errs__"+s;var d=e.util.copy(e);d.level++;var h="valid"+d.level;var m=e.schema["then"],y=e.schema["else"],g=m!==undefined&&(e.opts.strictKeywords?typeof m=="object"&&Object.keys(m).length>0||m===false:e.util.schemaHasRules(m,e.RULES.all)),v=y!==undefined&&(e.opts.strictKeywords?typeof y=="object"&&Object.keys(y).length>0||y===false:e.util.schemaHasRules(y,e.RULES.all)),b=d.baseId;if(g||v){var w;d.createErrors=false;d.schema=o;d.schemaPath=a;d.errSchemaPath=c;r+=" var "+p+" = errors; var "+f+" = true; ";var k=e.compositeRule;e.compositeRule=d.compositeRule=true;r+=" "+e.validate(d)+" ";d.baseId=b;d.createErrors=true;r+=" errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } ";e.compositeRule=d.compositeRule=k;if(g){r+=" if ("+h+") { ";d.schema=e.schema["then"];d.schemaPath=e.schemaPath+".then";d.errSchemaPath=e.errSchemaPath+"/then";r+=" "+e.validate(d)+" ";d.baseId=b;r+=" "+f+" = "+h+"; ";if(g&&v){w="ifClause"+s;r+=" var "+w+" = 'then'; "}else{w="'then'"}r+=" } ";if(v){r+=" else { "}}else{r+=" if (!"+h+") { "}if(v){d.schema=e.schema["else"];d.schemaPath=e.schemaPath+".else";d.errSchemaPath=e.errSchemaPath+"/else";r+=" "+e.validate(d)+" ";d.baseId=b;r+=" "+f+" = "+h+"; ";if(g&&v){w="ifClause"+s;r+=" var "+w+" = 'else'; "}else{w="'else'"}r+=" } "}r+=" if (!"+f+") { var err = ";if(e.createErrors!==false){r+=" { keyword: '"+"if"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { failingKeyword: "+w+" } ";if(e.opts.messages!==false){r+=" , message: 'should match \"' + "+w+" + '\" schema' "}if(e.opts.verbose){r+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "}r+=" } "}else{r+=" {} "}r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(vErrors); "}else{r+=" validate.errors = vErrors; return false; "}}r+=" } ";if(l){r+=" else { "}}else{if(l){r+=" if (true) { "}}return r}},82854:(e,t,n)=>{"use strict";e.exports={$ref:n(80055),allOf:n(81378),anyOf:n(59410),$comment:n(19224),const:n(58544),contains:n(31622),dependencies:n(12970),enum:n(31291),format:n(33864),if:n(21450),items:n(58194),maximum:n(38789),minimum:n(38789),maxItems:n(86674),minItems:n(86674),maxLength:n(93647),minLength:n(93647),maxProperties:n(66432),minProperties:n(66432),multipleOf:n(3247),not:n(24347),oneOf:n(32172),pattern:n(42272),properties:n(89323),propertyNames:n(41822),required:n(49006),uniqueItems:n(64656),validate:n(93088)}},58194:e=>{"use strict";e.exports=function generate_items(e,t,n){var r=" ";var s=e.level;var i=e.dataLevel;var o=e.schema[t];var a=e.schemaPath+e.util.getProperty(t);var c=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var u="data"+(i||"");var f="valid"+s;var p="errs__"+s;var d=e.util.copy(e);var h="";d.level++;var m="valid"+d.level;var y="i"+s,g=d.dataLevel=e.dataLevel+1,v="data"+g,b=e.baseId;r+="var "+p+" = errors;var "+f+";";if(Array.isArray(o)){var w=e.schema.additionalItems;if(w===false){r+=" "+f+" = "+u+".length <= "+o.length+"; ";var k=c;c=e.errSchemaPath+"/additionalItems";r+=" if (!"+f+") { ";var x=x||[];x.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+"additionalItems"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+o.length+" } ";if(e.opts.messages!==false){r+=" , message: 'should NOT have more than "+o.length+" items' "}if(e.opts.verbose){r+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "}r+=" } "}else{r+=" {} "}var S=r;r=x.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+S+"]); "}else{r+=" validate.errors = ["+S+"]; return false; "}}else{r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+=" } ";c=k;if(l){h+="}";r+=" else { "}}var E=o;if(E){var O,C=-1,M=E.length-1;while(C0||O===false:e.util.schemaHasRules(O,e.RULES.all)){r+=" "+m+" = true; if ("+u+".length > "+C+") { ";var A=u+"["+C+"]";d.schema=O;d.schemaPath=a+"["+C+"]";d.errSchemaPath=c+"/"+C;d.errorPath=e.util.getPathExpr(e.errorPath,C,e.opts.jsonPointers,true);d.dataPathArr[g]=C;var I=e.validate(d);d.baseId=b;if(e.util.varOccurences(I,v)<2){r+=" "+e.util.varReplace(I,v,A)+" "}else{r+=" var "+v+" = "+A+"; "+I+" "}r+=" } ";if(l){r+=" if ("+m+") { ";h+="}"}}}}if(typeof w=="object"&&(e.opts.strictKeywords?typeof w=="object"&&Object.keys(w).length>0||w===false:e.util.schemaHasRules(w,e.RULES.all))){d.schema=w;d.schemaPath=e.schemaPath+".additionalItems";d.errSchemaPath=e.errSchemaPath+"/additionalItems";r+=" "+m+" = true; if ("+u+".length > "+o.length+") { for (var "+y+" = "+o.length+"; "+y+" < "+u+".length; "+y+"++) { ";d.errorPath=e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers,true);var A=u+"["+y+"]";d.dataPathArr[g]=y;var I=e.validate(d);d.baseId=b;if(e.util.varOccurences(I,v)<2){r+=" "+e.util.varReplace(I,v,A)+" "}else{r+=" var "+v+" = "+A+"; "+I+" "}if(l){r+=" if (!"+m+") break; "}r+=" } } ";if(l){r+=" if ("+m+") { ";h+="}"}}}else if(e.opts.strictKeywords?typeof o=="object"&&Object.keys(o).length>0||o===false:e.util.schemaHasRules(o,e.RULES.all)){d.schema=o;d.schemaPath=a;d.errSchemaPath=c;r+=" for (var "+y+" = "+0+"; "+y+" < "+u+".length; "+y+"++) { ";d.errorPath=e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers,true);var A=u+"["+y+"]";d.dataPathArr[g]=y;var I=e.validate(d);d.baseId=b;if(e.util.varOccurences(I,v)<2){r+=" "+e.util.varReplace(I,v,A)+" "}else{r+=" var "+v+" = "+A+"; "+I+" "}if(l){r+=" if (!"+m+") break; "}r+=" }"}if(l){r+=" "+h+" if ("+p+" == errors) {"}return r}},3247:e=>{"use strict";e.exports=function generate_multipleOf(e,t,n){var r=" ";var s=e.level;var i=e.dataLevel;var o=e.schema[t];var a=e.schemaPath+e.util.getProperty(t);var c=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var u="data"+(i||"");var f=e.opts.$data&&o&&o.$data,p;if(f){r+=" var schema"+s+" = "+e.util.getData(o.$data,i,e.dataPathArr)+"; ";p="schema"+s}else{p=o}if(!(f||typeof o=="number")){throw new Error(t+" must be number")}r+="var division"+s+";if (";if(f){r+=" "+p+" !== undefined && ( typeof "+p+" != 'number' || "}r+=" (division"+s+" = "+u+" / "+p+", ";if(e.opts.multipleOfPrecision){r+=" Math.abs(Math.round(division"+s+") - division"+s+") > 1e-"+e.opts.multipleOfPrecision+" "}else{r+=" division"+s+" !== parseInt(division"+s+") "}r+=" ) ";if(f){r+=" ) "}r+=" ) { ";var d=d||[];d.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+"multipleOf"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { multipleOf: "+p+" } ";if(e.opts.messages!==false){r+=" , message: 'should be multiple of ";if(f){r+="' + "+p}else{r+=""+p+"'"}}if(e.opts.verbose){r+=" , schema: ";if(f){r+="validate.schema"+a}else{r+=""+o}r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "}r+=" } "}else{r+=" {} "}var h=r;r=d.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+h+"]); "}else{r+=" validate.errors = ["+h+"]; return false; "}}else{r+=" var err = "+h+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+="} ";if(l){r+=" else { "}return r}},24347:e=>{"use strict";e.exports=function generate_not(e,t,n){var r=" ";var s=e.level;var i=e.dataLevel;var o=e.schema[t];var a=e.schemaPath+e.util.getProperty(t);var c=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var u="data"+(i||"");var f="errs__"+s;var p=e.util.copy(e);p.level++;var d="valid"+p.level;if(e.opts.strictKeywords?typeof o=="object"&&Object.keys(o).length>0||o===false:e.util.schemaHasRules(o,e.RULES.all)){p.schema=o;p.schemaPath=a;p.errSchemaPath=c;r+=" var "+f+" = errors; ";var h=e.compositeRule;e.compositeRule=p.compositeRule=true;p.createErrors=false;var m;if(p.opts.allErrors){m=p.opts.allErrors;p.opts.allErrors=false}r+=" "+e.validate(p)+" ";p.createErrors=true;if(m)p.opts.allErrors=m;e.compositeRule=p.compositeRule=h;r+=" if ("+d+") { ";var y=y||[];y.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ";if(e.opts.messages!==false){r+=" , message: 'should NOT be valid' "}if(e.opts.verbose){r+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "}r+=" } "}else{r+=" {} "}var g=r;r=y.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+g+"]); "}else{r+=" validate.errors = ["+g+"]; return false; "}}else{r+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+=" } else { errors = "+f+"; if (vErrors !== null) { if ("+f+") vErrors.length = "+f+"; else vErrors = null; } ";if(e.opts.allErrors){r+=" } "}}else{r+=" var err = ";if(e.createErrors!==false){r+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ";if(e.opts.messages!==false){r+=" , message: 'should NOT be valid' "}if(e.opts.verbose){r+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "}r+=" } "}else{r+=" {} "}r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(l){r+=" if (false) { "}}return r}},32172:e=>{"use strict";e.exports=function generate_oneOf(e,t,n){var r=" ";var s=e.level;var i=e.dataLevel;var o=e.schema[t];var a=e.schemaPath+e.util.getProperty(t);var c=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var u="data"+(i||"");var f="valid"+s;var p="errs__"+s;var d=e.util.copy(e);var h="";d.level++;var m="valid"+d.level;var y=d.baseId,g="prevValid"+s,v="passingSchemas"+s;r+="var "+p+" = errors , "+g+" = false , "+f+" = false , "+v+" = null; ";var b=e.compositeRule;e.compositeRule=d.compositeRule=true;var w=o;if(w){var k,x=-1,S=w.length-1;while(x0||k===false:e.util.schemaHasRules(k,e.RULES.all)){d.schema=k;d.schemaPath=a+"["+x+"]";d.errSchemaPath=c+"/"+x;r+=" "+e.validate(d)+" ";d.baseId=y}else{r+=" var "+m+" = true; "}if(x){r+=" if ("+m+" && "+g+") { "+f+" = false; "+v+" = ["+v+", "+x+"]; } else { ";h+="}"}r+=" if ("+m+") { "+f+" = "+g+" = true; "+v+" = "+x+"; }"}}e.compositeRule=d.compositeRule=b;r+=""+h+"if (!"+f+") { var err = ";if(e.createErrors!==false){r+=" { keyword: '"+"oneOf"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { passingSchemas: "+v+" } ";if(e.opts.messages!==false){r+=" , message: 'should match exactly one schema in oneOf' "}if(e.opts.verbose){r+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "}r+=" } "}else{r+=" {} "}r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(vErrors); "}else{r+=" validate.errors = vErrors; return false; "}}r+="} else { errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; }";if(e.opts.allErrors){r+=" } "}return r}},42272:e=>{"use strict";e.exports=function generate_pattern(e,t,n){var r=" ";var s=e.level;var i=e.dataLevel;var o=e.schema[t];var a=e.schemaPath+e.util.getProperty(t);var c=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var u="data"+(i||"");var f=e.opts.$data&&o&&o.$data,p;if(f){r+=" var schema"+s+" = "+e.util.getData(o.$data,i,e.dataPathArr)+"; ";p="schema"+s}else{p=o}var d=f?"(new RegExp("+p+"))":e.usePattern(o);r+="if ( ";if(f){r+=" ("+p+" !== undefined && typeof "+p+" != 'string') || "}r+=" !"+d+".test("+u+") ) { ";var h=h||[];h.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+"pattern"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { pattern: ";if(f){r+=""+p}else{r+=""+e.util.toQuotedString(o)}r+=" } ";if(e.opts.messages!==false){r+=" , message: 'should match pattern \"";if(f){r+="' + "+p+" + '"}else{r+=""+e.util.escapeQuotes(o)}r+="\"' "}if(e.opts.verbose){r+=" , schema: ";if(f){r+="validate.schema"+a}else{r+=""+e.util.toQuotedString(o)}r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "}r+=" } "}else{r+=" {} "}var m=r;r=h.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+m+"]); "}else{r+=" validate.errors = ["+m+"]; return false; "}}else{r+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+="} ";if(l){r+=" else { "}return r}},89323:e=>{"use strict";e.exports=function generate_properties(e,t,n){var r=" ";var s=e.level;var i=e.dataLevel;var o=e.schema[t];var a=e.schemaPath+e.util.getProperty(t);var c=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var u="data"+(i||"");var f="errs__"+s;var p=e.util.copy(e);var d="";p.level++;var h="valid"+p.level;var m="key"+s,y="idx"+s,g=p.dataLevel=e.dataLevel+1,v="data"+g,b="dataProperties"+s;var w=Object.keys(o||{}).filter(notProto),k=e.schema.patternProperties||{},x=Object.keys(k).filter(notProto),S=e.schema.additionalProperties,E=w.length||x.length,O=S===false,C=typeof S=="object"&&Object.keys(S).length,M=e.opts.removeAdditional,A=O||C||M,I=e.opts.ownProperties,T=e.baseId;var R=e.schema.required;if(R&&!(e.opts.$data&&R.$data)&&R.length8){r+=" || validate.schema"+a+".hasOwnProperty("+m+") "}else{var F=w;if(F){var N,D=-1,P=F.length-1;while(D0||$===false:e.util.schemaHasRules($,e.RULES.all)){var ee=e.util.getProperty(N),X=u+ee,te=V&&$.default!==undefined;p.schema=$;p.schemaPath=a+ee;p.errSchemaPath=c+"/"+e.util.escapeFragment(N);p.errorPath=e.util.getPath(e.errorPath,N,e.opts.jsonPointers);p.dataPathArr[g]=e.util.toQuotedString(N);var Q=e.validate(p);p.baseId=T;if(e.util.varOccurences(Q,v)<2){Q=e.util.varReplace(Q,v,X);var ne=X}else{var ne=v;r+=" var "+v+" = "+X+"; "}if(te){r+=" "+Q+" "}else{if(j&&j[N]){r+=" if ( "+ne+" === undefined ";if(I){r+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(N)+"') "}r+=") { "+h+" = false; ";var B=e.errorPath,U=c,re=e.util.escapeQuotes(N);if(e.opts._errorDataPathProperty){e.errorPath=e.util.getPath(B,N,e.opts.jsonPointers)}c=e.errSchemaPath+"/required";var H=H||[];H.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+re+"' } ";if(e.opts.messages!==false){r+=" , message: '";if(e.opts._errorDataPathProperty){r+="is a required property"}else{r+="should have required property \\'"+re+"\\'"}r+="' "}if(e.opts.verbose){r+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "}r+=" } "}else{r+=" {} "}var J=r;r=H.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+J+"]); "}else{r+=" validate.errors = ["+J+"]; return false; "}}else{r+=" var err = "+J+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}c=U;e.errorPath=B;r+=" } else { "}else{if(l){r+=" if ( "+ne+" === undefined ";if(I){r+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(N)+"') "}r+=") { "+h+" = true; } else { "}else{r+=" if ("+ne+" !== undefined ";if(I){r+=" && Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(N)+"') "}r+=" ) { "}}r+=" "+Q+" } "}}if(l){r+=" if ("+h+") { ";d+="}"}}}}if(x.length){var se=x;if(se){var q,ie=-1,oe=se.length-1;while(ie0||$===false:e.util.schemaHasRules($,e.RULES.all)){p.schema=$;p.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(q);p.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(q);if(I){r+=" "+b+" = "+b+" || Object.keys("+u+"); for (var "+y+"=0; "+y+"<"+b+".length; "+y+"++) { var "+m+" = "+b+"["+y+"]; "}else{r+=" for (var "+m+" in "+u+") { "}r+=" if ("+e.usePattern(q)+".test("+m+")) { ";p.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);var X=u+"["+m+"]";p.dataPathArr[g]=m;var Q=e.validate(p);p.baseId=T;if(e.util.varOccurences(Q,v)<2){r+=" "+e.util.varReplace(Q,v,X)+" "}else{r+=" var "+v+" = "+X+"; "+Q+" "}if(l){r+=" if (!"+h+") break; "}r+=" } ";if(l){r+=" else "+h+" = true; "}r+=" } ";if(l){r+=" if ("+h+") { ";d+="}"}}}}}if(l){r+=" "+d+" if ("+f+" == errors) {"}return r}},41822:e=>{"use strict";e.exports=function generate_propertyNames(e,t,n){var r=" ";var s=e.level;var i=e.dataLevel;var o=e.schema[t];var a=e.schemaPath+e.util.getProperty(t);var c=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var u="data"+(i||"");var f="errs__"+s;var p=e.util.copy(e);var d="";p.level++;var h="valid"+p.level;r+="var "+f+" = errors;";if(e.opts.strictKeywords?typeof o=="object"&&Object.keys(o).length>0||o===false:e.util.schemaHasRules(o,e.RULES.all)){p.schema=o;p.schemaPath=a;p.errSchemaPath=c;var m="key"+s,y="idx"+s,g="i"+s,v="' + "+m+" + '",b=p.dataLevel=e.dataLevel+1,w="data"+b,k="dataProperties"+s,x=e.opts.ownProperties,S=e.baseId;if(x){r+=" var "+k+" = undefined; "}if(x){r+=" "+k+" = "+k+" || Object.keys("+u+"); for (var "+y+"=0; "+y+"<"+k+".length; "+y+"++) { var "+m+" = "+k+"["+y+"]; "}else{r+=" for (var "+m+" in "+u+") { "}r+=" var startErrs"+s+" = errors; ";var E=m;var O=e.compositeRule;e.compositeRule=p.compositeRule=true;var C=e.validate(p);p.baseId=S;if(e.util.varOccurences(C,w)<2){r+=" "+e.util.varReplace(C,w,E)+" "}else{r+=" var "+w+" = "+E+"; "+C+" "}e.compositeRule=p.compositeRule=O;r+=" if (!"+h+") { for (var "+g+"=startErrs"+s+"; "+g+"{"use strict";e.exports=function generate_ref(e,t,n){var r=" ";var s=e.level;var i=e.dataLevel;var o=e.schema[t];var a=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l="data"+(i||"");var u="valid"+s;var f,p;if(o=="#"||o=="#/"){if(e.isRoot){f=e.async;p="validate"}else{f=e.root.schema.$async===true;p="root.refVal[0]"}}else{var d=e.resolveRef(e.baseId,o,e.isRoot);if(d===undefined){var h=e.MissingRefError.message(e.baseId,o);if(e.opts.missingRefs=="fail"){e.logger.error(h);var m=m||[];m.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+"$ref"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(a)+" , params: { ref: '"+e.util.escapeQuotes(o)+"' } ";if(e.opts.messages!==false){r+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(o)+"' "}if(e.opts.verbose){r+=" , schema: "+e.util.toQuotedString(o)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}r+=" } "}else{r+=" {} "}var y=r;r=m.pop();if(!e.compositeRule&&c){if(e.async){r+=" throw new ValidationError(["+y+"]); "}else{r+=" validate.errors = ["+y+"]; return false; "}}else{r+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}if(c){r+=" if (false) { "}}else if(e.opts.missingRefs=="ignore"){e.logger.warn(h);if(c){r+=" if (true) { "}}else{throw new e.MissingRefError(e.baseId,o,h)}}else if(d.inline){var g=e.util.copy(e);g.level++;var v="valid"+g.level;g.schema=d.schema;g.schemaPath="";g.errSchemaPath=o;var b=e.validate(g).replace(/validate\.schema/g,d.code);r+=" "+b+" ";if(c){r+=" if ("+v+") { "}}else{f=d.$async===true||e.async&&d.$async!==false;p=d.code}}if(p){var m=m||[];m.push(r);r="";if(e.opts.passContext){r+=" "+p+".call(this, "}else{r+=" "+p+"( "}r+=" "+l+", (dataPath || '')";if(e.errorPath!='""'){r+=" + "+e.errorPath}var w=i?"data"+(i-1||""):"parentData",k=i?e.dataPathArr[i]:"parentDataProperty";r+=" , "+w+" , "+k+", rootData) ";var x=r;r=m.pop();if(f){if(!e.async)throw new Error("async schema referenced by sync schema");if(c){r+=" var "+u+"; "}r+=" try { await "+x+"; ";if(c){r+=" "+u+" = true; "}r+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ";if(c){r+=" "+u+" = false; "}r+=" } ";if(c){r+=" if ("+u+") { "}}else{r+=" if (!"+x+") { if (vErrors === null) vErrors = "+p+".errors; else vErrors = vErrors.concat("+p+".errors); errors = vErrors.length; } ";if(c){r+=" else { "}}}return r}},49006:e=>{"use strict";e.exports=function generate_required(e,t,n){var r=" ";var s=e.level;var i=e.dataLevel;var o=e.schema[t];var a=e.schemaPath+e.util.getProperty(t);var c=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var u="data"+(i||"");var f="valid"+s;var p=e.opts.$data&&o&&o.$data,d;if(p){r+=" var schema"+s+" = "+e.util.getData(o.$data,i,e.dataPathArr)+"; ";d="schema"+s}else{d=o}var h="schema"+s;if(!p){if(o.length0||w===false:e.util.schemaHasRules(w,e.RULES.all)))){m[m.length]=g}}}}else{var m=o}}if(p||m.length){var k=e.errorPath,x=p||m.length>=e.opts.loopRequired,S=e.opts.ownProperties;if(l){r+=" var missing"+s+"; ";if(x){if(!p){r+=" var "+h+" = validate.schema"+a+"; "}var E="i"+s,O="schema"+s+"["+E+"]",C="' + "+O+" + '";if(e.opts._errorDataPathProperty){e.errorPath=e.util.getPathExpr(k,O,e.opts.jsonPointers)}r+=" var "+f+" = true; ";if(p){r+=" if (schema"+s+" === undefined) "+f+" = true; else if (!Array.isArray(schema"+s+")) "+f+" = false; else {"}r+=" for (var "+E+" = 0; "+E+" < "+h+".length; "+E+"++) { "+f+" = "+u+"["+h+"["+E+"]] !== undefined ";if(S){r+=" && Object.prototype.hasOwnProperty.call("+u+", "+h+"["+E+"]) "}r+="; if (!"+f+") break; } ";if(p){r+=" } "}r+=" if (!"+f+") { ";var M=M||[];M.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+C+"' } ";if(e.opts.messages!==false){r+=" , message: '";if(e.opts._errorDataPathProperty){r+="is a required property"}else{r+="should have required property \\'"+C+"\\'"}r+="' "}if(e.opts.verbose){r+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "}r+=" } "}else{r+=" {} "}var A=r;r=M.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+A+"]); "}else{r+=" validate.errors = ["+A+"]; return false; "}}else{r+=" var err = "+A+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+=" } else { "}else{r+=" if ( ";var I=m;if(I){var T,E=-1,R=I.length-1;while(E{"use strict";e.exports=function generate_uniqueItems(e,t,n){var r=" ";var s=e.level;var i=e.dataLevel;var o=e.schema[t];var a=e.schemaPath+e.util.getProperty(t);var c=e.errSchemaPath+"/"+t;var l=!e.opts.allErrors;var u="data"+(i||"");var f="valid"+s;var p=e.opts.$data&&o&&o.$data,d;if(p){r+=" var schema"+s+" = "+e.util.getData(o.$data,i,e.dataPathArr)+"; ";d="schema"+s}else{d=o}if((o||p)&&e.opts.uniqueItems!==false){if(p){r+=" var "+f+"; if ("+d+" === false || "+d+" === undefined) "+f+" = true; else if (typeof "+d+" != 'boolean') "+f+" = false; else { "}r+=" var i = "+u+".length , "+f+" = true , j; if (i > 1) { ";var h=e.schema.items&&e.schema.items.type,m=Array.isArray(h);if(!h||h=="object"||h=="array"||m&&(h.indexOf("object")>=0||h.indexOf("array")>=0)){r+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+u+"[i], "+u+"[j])) { "+f+" = false; break outer; } } } "}else{r+=" var itemIndices = {}, item; for (;i--;) { var item = "+u+"[i]; ";var y="checkDataType"+(m?"s":"");r+=" if ("+e.util[y](h,"item",e.opts.strictNumbers,true)+") continue; ";if(m){r+=" if (typeof item == 'string') item = '\"' + item; "}r+=" if (typeof itemIndices[item] == 'number') { "+f+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}r+=" } ";if(p){r+=" } "}r+=" if (!"+f+") { ";var g=g||[];g.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+"uniqueItems"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { i: i, j: j } ";if(e.opts.messages!==false){r+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "}if(e.opts.verbose){r+=" , schema: ";if(p){r+="validate.schema"+a}else{r+=""+o}r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "}r+=" } "}else{r+=" {} "}var v=r;r=g.pop();if(!e.compositeRule&&l){if(e.async){r+=" throw new ValidationError(["+v+"]); "}else{r+=" validate.errors = ["+v+"]; return false; "}}else{r+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+=" } ";if(l){r+=" else { "}}else{if(l){r+=" if (true) { "}}return r}},93088:e=>{"use strict";e.exports=function generate_validate(e,t,n){var r="";var s=e.schema.$async===true,i=e.util.schemaHasRulesExcept(e.schema,e.RULES.all,"$ref"),o=e.self._getId(e.schema);if(e.opts.strictKeywords){var a=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(a){var c="unknown keyword: "+a;if(e.opts.strictKeywords==="log")e.logger.warn(c);else throw new Error(c)}}if(e.isTop){r+=" var validate = ";if(s){e.async=true;r+="async "}r+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ";if(o&&(e.opts.sourceCode||e.opts.processCode)){r+=" "+("/*# sourceURL="+o+" */")+" "}}if(typeof e.schema=="boolean"||!(i||e.schema.$ref)){var t="false schema";var l=e.level;var u=e.dataLevel;var f=e.schema[t];var p=e.schemaPath+e.util.getProperty(t);var d=e.errSchemaPath+"/"+t;var h=!e.opts.allErrors;var m;var y="data"+(u||"");var g="valid"+l;if(e.schema===false){if(e.isTop){h=true}else{r+=" var "+g+" = false; "}var v=v||[];v.push(r);r="";if(e.createErrors!==false){r+=" { keyword: '"+(m||"false schema")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: {} ";if(e.opts.messages!==false){r+=" , message: 'boolean schema is false' "}if(e.opts.verbose){r+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+y+" "}r+=" } "}else{r+=" {} "}var b=r;r=v.pop();if(!e.compositeRule&&h){if(e.async){r+=" throw new ValidationError(["+b+"]); "}else{r+=" validate.errors = ["+b+"]; return false; "}}else{r+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}else{if(e.isTop){if(s){r+=" return data; "}else{r+=" validate.errors = null; return true; "}}else{r+=" var "+g+" = true; "}}if(e.isTop){r+=" }; return validate; "}return r}if(e.isTop){var w=e.isTop,l=e.level=0,u=e.dataLevel=0,y="data";e.rootId=e.resolve.fullPath(e.self._getId(e.root.schema));e.baseId=e.baseId||e.rootId;delete e.isTop;e.dataPathArr=[""];if(e.schema.default!==undefined&&e.opts.useDefaults&&e.opts.strictDefaults){var k="default is ignored in the schema root";if(e.opts.strictDefaults==="log")e.logger.warn(k);else throw new Error(k)}r+=" var vErrors = null; ";r+=" var errors = 0; ";r+=" if (rootData === undefined) rootData = data; "}else{var l=e.level,u=e.dataLevel,y="data"+(u||"");if(o)e.baseId=e.resolve.url(e.baseId,o);if(s&&!e.async)throw new Error("async schema in sync schema");r+=" var errs_"+l+" = errors;"}var g="valid"+l,h=!e.opts.allErrors,x="",S="";var m;var E=e.schema.type,O=Array.isArray(E);if(E&&e.opts.nullable&&e.schema.nullable===true){if(O){if(E.indexOf("null")==-1)E=E.concat("null")}else if(E!="null"){E=[E,"null"];O=true}}if(O&&E.length==1){E=E[0];O=false}if(e.schema.$ref&&i){if(e.opts.extendRefs=="fail"){throw new Error('$ref: validation keywords used in schema at path "'+e.errSchemaPath+'" (see option extendRefs)')}else if(e.opts.extendRefs!==true){i=false;e.logger.warn('$ref: keywords ignored in schema at path "'+e.errSchemaPath+'"')}}if(e.schema.$comment&&e.opts.$comment){r+=" "+e.RULES.all.$comment.code(e,"$comment")}if(E){if(e.opts.coerceTypes){var C=e.util.coerceToTypes(e.opts.coerceTypes,E)}var M=e.RULES.types[E];if(C||O||M===true||M&&!$shouldUseGroup(M)){var p=e.schemaPath+".type",d=e.errSchemaPath+"/type";var p=e.schemaPath+".type",d=e.errSchemaPath+"/type",A=O?"checkDataTypes":"checkDataType";r+=" if ("+e.util[A](E,y,e.opts.strictNumbers,true)+") { ";if(C){var I="dataType"+l,T="coerced"+l;r+=" var "+I+" = typeof "+y+"; var "+T+" = undefined; ";if(e.opts.coerceTypes=="array"){r+=" if ("+I+" == 'object' && Array.isArray("+y+") && "+y+".length == 1) { "+y+" = "+y+"[0]; "+I+" = typeof "+y+"; if ("+e.util.checkDataType(e.schema.type,y,e.opts.strictNumbers)+") "+T+" = "+y+"; } "}r+=" if ("+T+" !== undefined) ; ";var R=C;if(R){var j,F=-1,N=R.length-1;while(F{"use strict";var r=/^[a-z_$][a-z0-9_$-]*$/i;var s=n(78890);var i=n(40518);e.exports={add:addKeyword,get:getKeyword,remove:removeKeyword,validate:validateKeyword};function addKeyword(e,t){var n=this.RULES;if(n.keywords[e])throw new Error("Keyword "+e+" is already defined");if(!r.test(e))throw new Error("Keyword "+e+" is not a valid identifier");if(t){this.validateKeyword(t,true);var i=t.type;if(Array.isArray(i)){for(var o=0;o{"use strict";e.exports=function diff(e){var t=arguments.length;var n=0;while(++n{"use strict";e.exports=function(e){return flat(e,[])};function flat(e,t){var n=0,r;var s=e.length;for(;n{"use strict";e.exports=function union(e){if(!Array.isArray(e)){throw new TypeError("arr-union expects the first argument to be an array.")}var t=arguments.length;var n=0;while(++n=0){continue}e.push(i)}}return e}},40068:e=>{"use strict";e.exports=function unique(e){if(!Array.isArray(e)){throw new TypeError("array-unique expects an array.")}var t=e.length;var n=-1;while(n++{"use strict";e.exports=function(e,t){if(e===null||typeof e==="undefined"){throw new TypeError("expected first argument to be an object.")}if(typeof t==="undefined"||typeof Symbol==="undefined"){return e}if(typeof Object.getOwnPropertySymbols!=="function"){return e}var n=Object.prototype.propertyIsEnumerable;var r=Object(e);var s=arguments.length,i=0;while(++i{"use strict";function atob(e){return Buffer.from(e,"base64").toString("binary")}e.exports=atob.atob=atob},92568:(e,t,n)=>{"use strict";var r=n(31669);var s=n(93150);var i=n(28047);var o=n(97141);var a=n(97328);var c=n(99657);var l=n(29859);var u=n(13157);function namespace(e){var t=e?i.namespace(e):i;var n=[];function Base(e,n){if(!(this instanceof Base)){return new Base(e,n)}t.call(this,e);this.is("base");this.initBase(e,n)}r.inherits(Base,t);o(Base);Base.prototype.initBase=function(t,r){this.options=c({},this.options,r);this.cache=this.cache||{};this.define("registered",{});if(e)this[e]={};this.define("_callbacks",this._callbacks);if(a(t)){this.visit("set",t)}Base.run(this,"use",n)};Base.prototype.is=function(e){if(typeof e!=="string"){throw new TypeError("expected name to be a string")}this.define("is"+l(e),true);this.define("_name",e);this.define("_appname",e);return this};Base.prototype.isRegistered=function(e,t){if(this.registered.hasOwnProperty(e)){return true}if(t!==false){this.registered[e]=true;this.emit("plugin",e)}return false};Base.prototype.use=function(e){e.call(this,this);return this};Base.prototype.define=function(e,t){if(a(e)){return this.visit("define",e)}s(this,e,t);return this};Base.prototype.mixin=function(e,t){Base.prototype[e]=t;return this};Base.prototype.mixins=Base.prototype.mixins||[];Object.defineProperty(Base.prototype,"base",{configurable:true,get:function(){return this.parent?this.parent.base:this}});s(Base,"use",function(e){n.push(e);return Base});s(Base,"run",function(e,t,n){var r=n.length,s=0;while(r--){e[t](n[s++])}return Base});s(Base,"extend",u.extend(Base,function(e,t){e.prototype.mixins=e.prototype.mixins||[];s(e,"mixin",function(t){var n=t(e.prototype,e);if(typeof n==="function"){e.prototype.mixins.push(n)}return e});s(e,"mixins",function(t){Base.run(t,"mixin",e.prototype.mixins);return e});e.prototype.mixin=function(t,n){e.prototype[t]=n;return this};return Base}));s(Base,"mixin",function(e){var t=e(Base.prototype,Base);if(typeof t==="function"){Base.prototype.mixins.push(t)}return Base});s(Base,"mixins",function(e){Base.run(e,"mixin",Base.prototype.mixins);return Base});s(Base,"inherit",u.inherit);s(Base,"bubble",u.bubble);return Base}e.exports=namespace();e.exports.namespace=namespace},93150:(e,t,n)=>{"use strict";var r=n(85721);e.exports=function defineProperty(e,t,n){if(typeof e!=="object"&&typeof e!=="function"){throw new TypeError("expected an object or function.")}if(typeof t!=="string"){throw new TypeError("expected `prop` to be a string.")}if(r(n)&&("set"in n||"get"in n)){return Object.defineProperty(e,t,n)}return Object.defineProperty(e,t,{configurable:true,enumerable:false,writable:true,value:n})}},40538:(e,t,n)=>{"use strict";var r=n(72325);var s=n(40068);var i=n(72533);var o=n(22814);var a=n(63277);var c=n(79699);var l=n(24691);var u=1024*64;var f={};function braces(e,t){var n=l.createKey(String(e),t);var r=[];var i=t&&t.cache===false;if(!i&&f.hasOwnProperty(n)){return f[n]}if(Array.isArray(e)){for(var o=0;o=n){throw new Error("expected pattern to be less than "+n+" characters")}function create(){if(e===""||e.length<3){return[e]}if(l.isEmptySets(e)){return[]}if(l.isQuotedString(e)){return[e.slice(1,-1)]}var n=new c(t);var r=!t||t.expand!==true?n.optimize(e,t):n.expand(e,t);var i=r.output;if(t&&t.noempty===true){i=i.filter(Boolean)}if(t&&t.nodupes===true){i=s(i)}Object.defineProperty(i,"result",{enumerable:false,value:r});return i}return memoize("create",e,t,create)};braces.makeRe=function(e,t){if(typeof e!=="string"){throw new TypeError("expected a string")}var n=t&&t.maxLength||u;if(e.length>=n){throw new Error("expected pattern to be less than "+n+" characters")}function makeRe(){var n=braces(e,t);var s=i({strictErrors:false},t);return r(n,s)}return memoize("makeRe",e,t,makeRe)};braces.parse=function(e,t){var n=new c(t);return n.parse(e,t)};braces.compile=function(e,t){var n=new c(t);return n.compile(e,t)};braces.clearCache=function(){f=braces.cache={}};function memoize(e,t,n,r){var s=l.createKey(e+":"+t,n);var i=n&&n.cache===false;if(i){braces.clearCache();return r(t,n)}if(f.hasOwnProperty(s)){return f[s]}var o=r(t,n);f[s]=o;return o}braces.Braces=c;braces.compilers=o;braces.parsers=a;braces.cache=f;e.exports=braces},79699:(e,t,n)=>{"use strict";var r=n(72533);var s=n(74253);var i=n(22814);var o=n(63277);var a=n(24691);function Braces(e){this.options=r({},e)}Braces.prototype.init=function(e){if(this.isInitialized)return;this.isInitialized=true;var t=a.createOptions({},this.options,e);this.snapdragon=this.options.snapdragon||new s(t);this.compiler=this.snapdragon.compiler;this.parser=this.snapdragon.parser;i(this.snapdragon,t);o(this.snapdragon,t);a.define(this.snapdragon,"parse",function(e,t){var n=s.prototype.parse.apply(this,arguments);this.parser.ast.input=e;var r=this.parser.stack;while(r.length){addParent({type:"brace.close",val:""},r.pop())}function addParent(e,t){a.define(e,"parent",t);t.nodes.push(e)}a.define(n,"parser",this.parser);return n})};Braces.prototype.parse=function(e,t){if(e&&typeof e==="object"&&e.nodes)return e;this.init(t);return this.snapdragon.parse(e,t)};Braces.prototype.compile=function(e,t){if(typeof e==="string"){e=this.parse(e,t)}else{this.init(t)}return this.snapdragon.compile(e,t)};Braces.prototype.expand=function(e){var t=this.parse(e,{expand:true});return this.compile(t,{expand:true})};Braces.prototype.optimize=function(e){var t=this.parse(e,{optimize:true});return this.compile(t,{optimize:true})};e.exports=Braces},22814:(e,t,n)=>{"use strict";var r=n(24691);e.exports=function(e,t){e.compiler.set("bos",function(){if(this.output)return;this.ast.queue=isEscaped(this.ast)?[this.ast.val]:[];this.ast.count=1}).set("bracket",function(e){var t=e.close;var n=!e.escaped?"[":"\\[";var s=e.negated;var i=e.inner;i=i.replace(/\\(?=[\\\w]|$)/g,"\\\\");if(i==="]-"){i="\\]\\-"}if(s&&i.indexOf(".")===-1){i+="."}if(s&&i.indexOf("/")===-1){i+="/"}var o=n+s+i+t;var a=e.parent.queue;var c=r.arrayify(a.pop());a.push(r.join(c,o));a.push.apply(a,[])}).set("brace",function(e){e.queue=isEscaped(e)?[e.val]:[];e.count=1;return this.mapVisit(e.nodes)}).set("brace.open",function(e){e.parent.open=e.val}).set("text",function(e){var n=e.parent.queue;var s=e.escaped;var i=[e.val];if(e.optimize===false){t=r.extend({},t,{optimize:false})}if(e.multiplier>1){e.parent.count*=e.multiplier}if(t.quantifiers===true&&r.isQuantifier(e.val)){s=true}else if(e.val.length>1){if(isType(e.parent,"brace")&&!isEscaped(e)){var o=r.expand(e.val,t);i=o.segs;if(o.isOptimized){e.parent.isOptimized=true}if(!i.length){var a=o.val||e.val;if(t.unescape!==false){a=a.replace(/\\([,.])/g,"$1");a=a.replace(/["'`]/g,"")}i=[a];s=true}}}else if(e.val===","){if(t.expand){e.parent.queue.push([""]);i=[""]}else{i=["|"]}}else{s=true}if(s&&isType(e.parent,"brace")){if(e.parent.nodes.length<=4&&e.parent.count===1){e.parent.escaped=true}else if(e.parent.length<=3){e.parent.escaped=true}}if(!hasQueue(e.parent)){e.parent.queue=i;return}var c=r.arrayify(n.pop());if(e.parent.count>1&&t.expand){c=multiply(c,e.parent.count);e.parent.count=1}n.push(r.join(r.flatten(c),i.shift()));n.push.apply(n,i)}).set("brace.close",function(e){var n=e.parent.queue;var s=e.parent.parent;var i=s.queue.pop();var o=e.parent.open;var a=e.val;if(o&&a&&isOptimized(e,t)){o="(";a=")"}var c=r.last(n);if(e.parent.count>1&&t.expand){c=multiply(n.pop(),e.parent.count);e.parent.count=1;n.push(c)}if(a&&typeof c==="string"&&c.length===1){o="";a=""}if((isLiteralBrace(e,t)||noInner(e))&&!e.parent.hasEmpty){n.push(r.join(o,n.pop()||""));n=r.flatten(r.join(n,a))}if(typeof i==="undefined"){s.queue=[n]}else{s.queue.push(r.flatten(r.join(i,n)))}}).set("eos",function(e){if(this.input)return;if(t.optimize!==false){this.output=r.last(r.flatten(this.ast.queue))}else if(Array.isArray(r.last(this.ast.queue))){this.output=r.flatten(this.ast.queue.pop())}else{this.output=r.flatten(this.ast.queue)}if(e.parent.count>1&&t.expand){this.output=multiply(this.output,e.parent.count)}this.output=r.arrayify(this.output);this.ast.queue=[]})};function multiply(e,t,n){return r.flatten(r.repeat(r.arrayify(e),t))}function isEscaped(e){return e.escaped===true}function isOptimized(e,t){if(e.parent.isOptimized)return true;return isType(e.parent,"brace")&&!isEscaped(e.parent)&&t.expand!==true}function isLiteralBrace(e,t){return isEscaped(e.parent)||t.optimize!==false}function noInner(e,t){if(e.parent.queue.length===1){return true}var n=e.parent.nodes;return n.length===3&&isType(n[0],"brace.open")&&!isType(n[1],"text")&&isType(n[2],"brace.close")}function isType(e,t){return typeof e!=="undefined"&&e.type===t}function hasQueue(e){return Array.isArray(e.queue)&&e.queue.length}},63277:(e,t,n)=>{"use strict";var r=n(16227);var s=n(24691);e.exports=function(e,t){e.parser.set("bos",function(){if(!this.parsed){this.ast=this.nodes[0]=new r(this.ast)}}).set("escape",function(){var e=this.position();var n=this.match(/^(?:\\(.)|\$\{)/);if(!n)return;var i=this.prev();var o=s.last(i.nodes);var a=e(new r({type:"text",multiplier:1,val:n[0]}));if(a.val==="\\\\"){return a}if(a.val==="${"){var c=this.input;var l=-1;var u;while(u=c[++l]){this.consume(1);a.val+=u;if(u==="\\"){a.val+=c[++l];continue}if(u==="}"){break}}}if(this.options.unescape!==false){a.val=a.val.replace(/\\([{}])/g,"$1")}if(o.val==='"'&&this.input.charAt(0)==='"'){o.val=a.val;this.consume(1);return}return concatNodes.call(this,e,a,i,t)}).set("bracket",function(){var e=this.isInside("brace");var t=this.position();var n=this.match(/^(?:\[([!^]?)([^\]]{2,}|\]-)(\]|[^*+?]+)|\[)/);if(!n)return;var s=this.prev();var i=n[0];var o=n[1]?"^":"";var a=n[2]||"";var c=n[3]||"";if(e&&s.type==="brace"){s.text=s.text||"";s.text+=i}var l=this.input.slice(0,2);if(a===""&&l==="\\]"){a+=l;this.consume(2);var u=this.input;var f=-1;var p;while(p=u[++f]){this.consume(1);if(p==="]"){c=p;break}a+=p}}return t(new r({type:"bracket",val:i,escaped:c!=="]",negated:o,inner:a,close:c}))}).set("multiplier",function(){var e=this.isInside("brace");var n=this.position();var s=this.match(/^\{((?:,|\{,+\})+)\}/);if(!s)return;this.multiplier=true;var i=this.prev();var o=s[0];if(e&&i.type==="brace"){i.text=i.text||"";i.text+=o}var a=n(new r({type:"text",multiplier:1,match:s,val:o}));return concatNodes.call(this,n,a,i,t)}).set("brace.open",function(){var e=this.position();var t=this.match(/^\{(?!(?:[^\\}]?|,+)\})/);if(!t)return;var n=this.prev();var i=s.last(n.nodes);if(i&&i.val&&isExtglobChar(i.val.slice(-1))){i.optimize=false}var o=e(new r({type:"brace.open",val:t[0]}));var a=e(new r({type:"brace",nodes:[]}));a.push(o);n.push(a);this.push("brace",a)}).set("brace.close",function(){var e=this.position();var t=this.match(/^\}/);if(!t||!t[0])return;var n=this.pop("brace");var i=e(new r({type:"brace.close",val:t[0]}));if(!this.isType(n,"brace")){if(this.options.strict){throw new Error('missing opening "{"')}i.type="text";i.multiplier=0;i.escaped=true;return i}var o=this.prev();var a=s.last(o.nodes);if(a.text){var c=s.last(a.nodes);if(c.val===")"&&/[!@*?+]\(/.test(a.text)){var l=a.nodes[0];var u=a.nodes[1];if(l.type==="brace.open"&&u&&u.type==="text"){u.optimize=false}}}if(n.nodes.length>2){var f=n.nodes[1];if(f.type==="text"&&f.val===","){n.nodes.splice(1,1);n.nodes.push(f)}}n.push(i)}).set("boundary",function(){var e=this.position();var t=this.match(/^[$^](?!\{)/);if(!t)return;return e(new r({type:"text",val:t[0]}))}).set("nobrace",function(){var e=this.isInside("brace");var t=this.position();var n=this.match(/^\{[^,]?\}/);if(!n)return;var s=this.prev();var i=n[0];if(e&&s.type==="brace"){s.text=s.text||"";s.text+=i}return t(new r({type:"text",multiplier:0,val:i}))}).set("text",function(){var e=this.isInside("brace");var n=this.position();var s=this.match(/^((?!\\)[^${}[\]])+/);if(!s)return;var i=this.prev();var o=s[0];if(e&&i.type==="brace"){i.text=i.text||"";i.text+=o}var a=n(new r({type:"text",multiplier:1,val:o}));return concatNodes.call(this,n,a,i,t)})};function isExtglobChar(e){return e==="!"||e==="@"||e==="*"||e==="?"||e==="+"}function concatNodes(e,t,n,r){t.orig=t.val;var i=this.prev();var o=s.last(i.nodes);var a=false;if(t.val.length>1){var c=t.val.charAt(0);var l=t.val.slice(-1);a=c==='"'&&l==='"'||c==="'"&&l==="'"||c==="`"&&l==="`"}if(a&&r.unescape!==false){t.val=t.val.slice(1,t.val.length-1);t.escaped=true}if(t.match){var u=t.match[1];if(!u||u.indexOf("}")===-1){u=t.match[0]}var f=u.replace(/\{/g,",").replace(/\}/g,"");t.multiplier*=f.length;t.val=""}var p=o.type==="text"&&o.multiplier===1&&t.multiplier===1&&t.val;if(p){o.val+=t.val;return}i.push(t)}},24691:(e,t,n)=>{"use strict";var r=n(24178);var s=e.exports;s.extend=n(72533);s.flatten=n(89108);s.isObject=n(97328);s.fillRange=n(73488);s.repeat=n(69503);s.unique=n(40068);s.define=function(e,t,n){Object.defineProperty(e,t,{writable:true,configurable:true,enumerable:false,value:n})};s.isEmptySets=function(e){return/^(?:\{,\})+$/.test(e)};s.isQuotedString=function(e){var t=e.charAt(0);if(t==="'"||t==='"'||t==="`"){return e.slice(-1)===t}return false};s.createKey=function(e,t){var n=e;if(typeof t==="undefined"){return n}var r=Object.keys(t);for(var s=0;s1){if(n.optimize===false){i.val=r[0];return i}i.segs=s.stringifyArray(i.segs)}else if(r.length===1){var o=e.split("..");if(o.length===1){i.val=i.segs[i.segs.length-1]||i.val||e;i.segs=[];return i}if(o.length===2&&o[0]===o[1]){i.escaped=true;i.val=o[0];i.segs=[];return i}if(o.length>1){if(n.optimize!==false){n.optimize=true;delete n.expand}if(n.optimize!==true){var a=Math.min(o[0],o[1]);var c=Math.max(o[0],o[1]);var l=o[2]||1;if(n.rangeLimit!==false&&(c-a)/l>=n.rangeLimit){throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.")}}o.push(n);i.segs=s.fillRange.apply(null,o);if(!i.segs.length){i.escaped=true;i.val=e;return i}if(n.optimize===true){i.segs=s.stringifyArray(i.segs)}if(i.segs===""){i.val=e}else{i.val=i.segs[0]}return i}}else{i.val=e}return i};s.escapeBrackets=function(e){return function(t){if(t.escaped&&t.val==="b"){t.val="\\b";return}if(t.val!=="("&&t.val!=="[")return;var n=s.extend({},e);var r=[];var i=[];var o=[];var a=t.val;var c=t.str;var l=t.idx-1;while(++l{"use strict";var r=n(97328);var s=n(97141);var i=n(56595);var o=n(30328);var a=n(46405);var c=n(72281);var l=n(3826);var u=n(65297);var f=n(84927);function namespace(e){function Cache(t){if(e){this[e]={}}if(t){this.set(t)}}s(Cache.prototype);Cache.prototype.set=function(t,n){if(Array.isArray(t)&&arguments.length===2){t=o(t)}if(r(t)||Array.isArray(t)){this.visit("set",t)}else{f(e?this[e]:this,t,n);this.emit("set",t,n)}return this};Cache.prototype.union=function(t,n){if(Array.isArray(t)&&arguments.length===2){t=o(t)}var r=e?this[e]:this;a(r,t,arrayify(n));this.emit("union",n);return this};Cache.prototype.get=function(t){t=o(arguments);var n=e?this[e]:this;var r=l(n,t);this.emit("get",t,r);return r};Cache.prototype.has=function(t){t=o(arguments);var n=e?this[e]:this;var r=l(n,t);var s=typeof r!=="undefined";this.emit("has",t,s);return s};Cache.prototype.del=function(t){if(Array.isArray(t)){this.visit("del",t)}else{c(e?this[e]:this,t);this.emit("del",t)}return this};Cache.prototype.clear=function(){if(e){this[e]={}}};Cache.prototype.visit=function(e,t){i(this,e,t);return this};return Cache}function arrayify(e){return e?Array.isArray(e)?e:[e]:[]}e.exports=namespace();e.exports.namespace=namespace},5787:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=n(30036);var s=n(92413);function evCommon(){var e=process.hrtime();var t=e[0]*1e6+Math.round(e[1]/1e3);return{ts:t,pid:process.pid,tid:process.pid}}var i=function(e){r.__extends(Tracer,e);function Tracer(t){if(t===void 0){t={}}var n=e.call(this)||this;n.noStream=false;n.events=[];if(typeof t!=="object"){throw new Error("Invalid options passed (must be an object)")}if(t.parent!=null&&typeof t.parent!=="object"){throw new Error("Invalid option (parent) passed (must be an object)")}if(t.fields!=null&&typeof t.fields!=="object"){throw new Error("Invalid option (fields) passed (must be an object)")}if(t.objectMode!=null&&(t.objectMode!==true&&t.objectMode!==false)){throw new Error("Invalid option (objectsMode) passed (must be a boolean)")}n.noStream=t.noStream||false;n.parent=t.parent;if(n.parent){n.fields=Object.assign({},t.parent&&t.parent.fields)}else{n.fields={}}if(t.fields){Object.assign(n.fields,t.fields)}if(!n.fields.cat){n.fields.cat="default"}else if(Array.isArray(n.fields.cat)){n.fields.cat=n.fields.cat.join(",")}if(!n.fields.args){n.fields.args={}}if(n.parent){n._push=n.parent._push.bind(n.parent)}else{n._objectMode=Boolean(t.objectMode);var r={objectMode:n._objectMode};if(n._objectMode){n._push=n.push}else{n._push=n._pushString;r.encoding="utf8"}s.Readable.call(n,r)}return n}Tracer.prototype.flush=function(){if(this.noStream===true){for(var e=0,t=this.events;e{"use strict";var r=n(31669);var s=n(34954);var i=n(63018);var o=n(27504);var a=n(97328);var c=e.exports;c.isObject=function isObject(e){return a(e)||typeof e==="function"};c.has=function has(e,t){t=c.arrayify(t);var n=t.length;if(c.isObject(e)){for(var r in e){if(t.indexOf(r)>-1){return true}}var s=c.nativeKeys(e);return c.has(s,t)}if(Array.isArray(e)){var i=e;while(n--){if(i.indexOf(t[n])>-1){return true}}return false}throw new TypeError("expected an array or object.")};c.hasAll=function hasAll(e,t){t=c.arrayify(t);var n=t.length;while(n--){if(!c.has(e,t[n])){return false}}return true};c.arrayify=function arrayify(e){return e?Array.isArray(e)?e:[e]:[]};c.noop=function noop(){return};c.identity=function identity(e){return e};c.hasConstructor=function hasConstructor(e){return c.isObject(e)&&typeof e.constructor!=="undefined"};c.nativeKeys=function nativeKeys(e){if(!c.hasConstructor(e))return[];var t=Object.getOwnPropertyNames(e);if("caller"in e)t.push("caller");return t};c.getDescriptor=function getDescriptor(e,t){if(!c.isObject(e)){throw new TypeError("expected an object.")}if(typeof t!=="string"){throw new TypeError("expected key to be a string.")}return Object.getOwnPropertyDescriptor(e,t)};c.copyDescriptor=function copyDescriptor(e,t,n){if(!c.isObject(e)){throw new TypeError("expected receiving object to be an object.")}if(!c.isObject(t)){throw new TypeError("expected providing object to be an object.")}if(typeof n!=="string"){throw new TypeError("expected name to be a string.")}var r=c.getDescriptor(t,n);if(r)Object.defineProperty(e,n,r)};c.copy=function copy(e,t,n){if(!c.isObject(e)){throw new TypeError("expected receiving object to be an object.")}if(!c.isObject(t)){throw new TypeError("expected providing object to be an object.")}var r=Object.getOwnPropertyNames(t);var s=Object.keys(t);var o=r.length,a;n=c.arrayify(n);while(o--){a=r[o];if(c.has(s,a)){i(e,a,t[a])}else if(!(a in e)&&!c.has(n,a)){c.copyDescriptor(e,t,a)}}};c.inherit=function inherit(e,t,n){if(!c.isObject(e)){throw new TypeError("expected receiving object to be an object.")}if(!c.isObject(t)){throw new TypeError("expected providing object to be an object.")}var r=[];for(var s in t){r.push(s);e[s]=t[s]}r=r.concat(c.arrayify(n));var i=t.prototype||t;var o=e.prototype||e;c.copy(o,i,r)};c.extend=function(){return o.apply(null,arguments)};c.bubble=function(e,t){t=t||[];e.bubble=function(n,r){if(Array.isArray(r)){t=s([],t,r)}var i=t.length;var o=-1;while(++o{"use strict";var r=n(61345);var s=n(76519);e.exports=function(e,t,n){var i;if(typeof n==="string"&&t in e){var o=[].slice.call(arguments,2);i=e[t].apply(e,o)}else if(Array.isArray(n)){i=s.apply(null,arguments)}else{i=r.apply(null,arguments)}if(typeof i!=="undefined"){return i}return e}},97141:e=>{if(true){e.exports=Emitter}function Emitter(e){if(e)return mixin(e)}function mixin(e){for(var t in Emitter.prototype){e[t]=Emitter.prototype[t]}return e}Emitter.prototype.on=Emitter.prototype.addEventListener=function(e,t){this._callbacks=this._callbacks||{};(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t);return this};Emitter.prototype.once=function(e,t){function on(){this.off(e,on);t.apply(this,arguments)}on.fn=t;this.on(e,on);return this};Emitter.prototype.off=Emitter.prototype.removeListener=Emitter.prototype.removeAllListeners=Emitter.prototype.removeEventListener=function(e,t){this._callbacks=this._callbacks||{};if(0==arguments.length){this._callbacks={};return this}var n=this._callbacks["$"+e];if(!n)return this;if(1==arguments.length){delete this._callbacks["$"+e];return this}var r;for(var s=0;s{"use strict";e.exports=function copyDescriptor(e,t,n,r){if(!isObject(t)&&typeof t!=="function"){r=n;n=t;t=e}if(!isObject(e)&&typeof e!=="function"){throw new TypeError("expected the first argument to be an object")}if(!isObject(t)&&typeof t!=="function"){throw new TypeError("expected provider to be an object")}if(typeof r!=="string"){r=n}if(typeof n!=="string"){throw new TypeError("expected key to be a string")}if(!(n in t)){throw new Error('property "'+n+'" does not exist')}var s=Object.getOwnPropertyDescriptor(t,n);if(s)Object.defineProperty(e,r,s)};function isObject(e){return{}.toString.call(e)==="[object Object]"}},73487:(e,t)=>{function isArray(e){if(Array.isArray){return Array.isArray(e)}return objectToString(e)==="[object Array]"}t.isArray=isArray;function isBoolean(e){return typeof e==="boolean"}t.isBoolean=isBoolean;function isNull(e){return e===null}t.isNull=isNull;function isNullOrUndefined(e){return e==null}t.isNullOrUndefined=isNullOrUndefined;function isNumber(e){return typeof e==="number"}t.isNumber=isNumber;function isString(e){return typeof e==="string"}t.isString=isString;function isSymbol(e){return typeof e==="symbol"}t.isSymbol=isSymbol;function isUndefined(e){return e===void 0}t.isUndefined=isUndefined;function isRegExp(e){return objectToString(e)==="[object RegExp]"}t.isRegExp=isRegExp;function isObject(e){return typeof e==="object"&&e!==null}t.isObject=isObject;function isDate(e){return objectToString(e)==="[object Date]"}t.isDate=isDate;function isError(e){return objectToString(e)==="[object Error]"||e instanceof Error}t.isError=isError;function isFunction(e){return typeof e==="function"}t.isFunction=isFunction;function isPrimitive(e){return e===null||typeof e==="boolean"||typeof e==="number"||typeof e==="string"||typeof e==="symbol"||typeof e==="undefined"}t.isPrimitive=isPrimitive;t.isBuffer=Buffer.isBuffer;function objectToString(e){return Object.prototype.toString.call(e)}},62800:e=>{"use strict";var t="%[a-f0-9]{2}";var n=new RegExp(t,"gi");var r=new RegExp("("+t+")+","gi");function decodeComponents(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(e.length===1){return e}t=t||1;var n=e.slice(0,t);var r=e.slice(t);return Array.prototype.concat.call([],decodeComponents(n),decodeComponents(r))}function decode(e){try{return decodeURIComponent(e)}catch(s){var t=e.match(n);for(var r=1;r{"use strict";var r=n(64255);e.exports=function defineProperty(e,t,n){if(typeof e!=="object"&&typeof e!=="function"){throw new TypeError("expected an object or function.")}if(typeof t!=="string"){throw new TypeError("expected `prop` to be a string.")}if(r(n)&&("set"in n||"get"in n)){return Object.defineProperty(e,t,n)}return Object.defineProperty(e,t,{configurable:true,enumerable:false,writable:true,value:n})}},47588:(e,t,n)=>{"use strict";var r=n(99117);var s={get:"function",set:"function",configurable:"boolean",enumerable:"boolean"};function isAccessorDescriptor(e,t){if(typeof t==="string"){var n=Object.getOwnPropertyDescriptor(e,t);return typeof n!=="undefined"}if(r(e)!=="object"){return false}if(has(e,"value")||has(e,"writable")){return false}if(!has(e,"get")||typeof e.get!=="function"){return false}if(has(e,"set")&&typeof e[i]!=="function"&&typeof e[i]!=="undefined"){return false}for(var i in e){if(!s.hasOwnProperty(i)){continue}if(r(e[i])===s[i]){continue}if(typeof e[i]!=="undefined"){return false}}return true}function has(e,t){return{}.hasOwnProperty.call(e,t)}e.exports=isAccessorDescriptor},99117:(e,t,n)=>{var r=n(6324);var s=Object.prototype.toString;e.exports=function kindOf(e){if(typeof e==="undefined"){return"undefined"}if(e===null){return"null"}if(e===true||e===false||e instanceof Boolean){return"boolean"}if(typeof e==="string"||e instanceof String){return"string"}if(typeof e==="number"||e instanceof Number){return"number"}if(typeof e==="function"||e instanceof Function){return"function"}if(typeof Array.isArray!=="undefined"&&Array.isArray(e)){return"array"}if(e instanceof RegExp){return"regexp"}if(e instanceof Date){return"date"}var t=s.call(e);if(t==="[object RegExp]"){return"regexp"}if(t==="[object Date]"){return"date"}if(t==="[object Arguments]"){return"arguments"}if(t==="[object Error]"){return"error"}if(r(e)){return"buffer"}if(t==="[object Set]"){return"set"}if(t==="[object WeakSet]"){return"weakset"}if(t==="[object Map]"){return"map"}if(t==="[object WeakMap]"){return"weakmap"}if(t==="[object Symbol]"){return"symbol"}if(t==="[object Int8Array]"){return"int8array"}if(t==="[object Uint8Array]"){return"uint8array"}if(t==="[object Uint8ClampedArray]"){return"uint8clampedarray"}if(t==="[object Int16Array]"){return"int16array"}if(t==="[object Uint16Array]"){return"uint16array"}if(t==="[object Int32Array]"){return"int32array"}if(t==="[object Uint32Array]"){return"uint32array"}if(t==="[object Float32Array]"){return"float32array"}if(t==="[object Float64Array]"){return"float64array"}return"object"}},63173:(e,t,n)=>{"use strict";var r=n(53889);var s={configurable:"boolean",enumerable:"boolean",writable:"boolean"};function isDataDescriptor(e,t){if(r(e)!=="object"){return false}if(typeof t==="string"){var n=Object.getOwnPropertyDescriptor(e,t);return typeof n!=="undefined"}if(!("value"in e)&&!("writable"in e)){return false}for(var i in e){if(i==="value")continue;if(!s.hasOwnProperty(i)){continue}if(r(e[i])===s[i]){continue}if(typeof e[i]!=="undefined"){return false}}return true}e.exports=isDataDescriptor},53889:(e,t,n)=>{var r=n(6324);var s=Object.prototype.toString;e.exports=function kindOf(e){if(typeof e==="undefined"){return"undefined"}if(e===null){return"null"}if(e===true||e===false||e instanceof Boolean){return"boolean"}if(typeof e==="string"||e instanceof String){return"string"}if(typeof e==="number"||e instanceof Number){return"number"}if(typeof e==="function"||e instanceof Function){return"function"}if(typeof Array.isArray!=="undefined"&&Array.isArray(e)){return"array"}if(e instanceof RegExp){return"regexp"}if(e instanceof Date){return"date"}var t=s.call(e);if(t==="[object RegExp]"){return"regexp"}if(t==="[object Date]"){return"date"}if(t==="[object Arguments]"){return"arguments"}if(t==="[object Error]"){return"error"}if(r(e)){return"buffer"}if(t==="[object Set]"){return"set"}if(t==="[object WeakSet]"){return"weakset"}if(t==="[object Map]"){return"map"}if(t==="[object WeakMap]"){return"weakmap"}if(t==="[object Symbol]"){return"symbol"}if(t==="[object Int8Array]"){return"int8array"}if(t==="[object Uint8Array]"){return"uint8array"}if(t==="[object Uint8ClampedArray]"){return"uint8clampedarray"}if(t==="[object Int16Array]"){return"int16array"}if(t==="[object Uint16Array]"){return"uint16array"}if(t==="[object Int32Array]"){return"int32array"}if(t==="[object Uint32Array]"){return"uint32array"}if(t==="[object Float32Array]"){return"float32array"}if(t==="[object Float64Array]"){return"float64array"}return"object"}},64255:(e,t,n)=>{"use strict";var r=n(52595);var s=n(47588);var i=n(63173);e.exports=function isDescriptor(e,t){if(r(e)!=="object"){return false}if("get"in e){return s(e,t)}return i(e,t)}},52595:e=>{var t=Object.prototype.toString;e.exports=function kindOf(e){var n=typeof e;if(n==="undefined"){return"undefined"}if(e===null){return"null"}if(e===true||e===false||e instanceof Boolean){return"boolean"}if(n==="string"||e instanceof String){return"string"}if(n==="number"||e instanceof Number){return"number"}if(n==="function"||e instanceof Function){if(typeof e.constructor.name!=="undefined"&&e.constructor.name.slice(0,9)==="Generator"){return"generatorfunction"}return"function"}if(typeof Array.isArray!=="undefined"&&Array.isArray(e)){return"array"}if(e instanceof RegExp){return"regexp"}if(e instanceof Date){return"date"}n=t.call(e);if(n==="[object RegExp]"){return"regexp"}if(n==="[object Date]"){return"date"}if(n==="[object Arguments]"){return"arguments"}if(n==="[object Error]"){return"error"}if(n==="[object Promise]"){return"promise"}if(isBuffer(e)){return"buffer"}if(n==="[object Set]"){return"set"}if(n==="[object WeakSet]"){return"weakset"}if(n==="[object Map]"){return"map"}if(n==="[object WeakMap]"){return"weakmap"}if(n==="[object Symbol]"){return"symbol"}if(n==="[object Map Iterator]"){return"mapiterator"}if(n==="[object Set Iterator]"){return"setiterator"}if(n==="[object String Iterator]"){return"stringiterator"}if(n==="[object Array Iterator]"){return"arrayiterator"}if(n==="[object Int8Array]"){return"int8array"}if(n==="[object Uint8Array]"){return"uint8array"}if(n==="[object Uint8ClampedArray]"){return"uint8clampedarray"}if(n==="[object Int16Array]"){return"int16array"}if(n==="[object Uint16Array]"){return"uint16array"}if(n==="[object Int32Array]"){return"int32array"}if(n==="[object Uint32Array]"){return"uint32array"}if(n==="[object Float32Array]"){return"float32array"}if(n==="[object Float64Array]"){return"float64array"}return"object"};function isBuffer(e){return e.constructor&&typeof e.constructor.isBuffer==="function"&&e.constructor.isBuffer(e)}},42752:(e,t,n)=>{"use strict";const r=n(702);const s=n(50290);e.exports=class AliasFieldPlugin{constructor(e,t,n){this.source=e;this.field=t;this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("AliasFieldPlugin",(n,i,o)=>{if(!n.descriptionFileData)return o();const a=s(e,n);if(!a)return o();const c=r.getField(n.descriptionFileData,this.field);if(typeof c!=="object"){if(i.log)i.log("Field '"+this.field+"' doesn't contain a valid alias configuration");return o()}const l=c[a];const u=c[a.replace(/^\.\//,"")];const f=typeof l!=="undefined"?l:u;if(f===a)return o();if(f===undefined)return o();if(f===false){const e=Object.assign({},n,{path:false});return o(null,e)}const p=Object.assign({},n,{path:n.descriptionFileRoot,request:f});e.doResolve(t,p,"aliased from description file "+n.descriptionFilePath+" with mapping '"+a+"' to '"+f+"'",i,(e,t)=>{if(e)return o(e);if(t===undefined)return o(null,null);o(null,t)})})}}},51547:e=>{"use strict";function startsWith(e,t){const n=e.length;const r=t.length;if(r>n){return false}let s=-1;while(++s{const i=n.request||n.path;if(!i)return s();for(const o of this.options){if(i===o.name||!o.onlyModule&&startsWith(i,o.name+"/")){if(i!==o.alias&&!startsWith(i,o.alias+"/")){const a=o.alias+i.substr(o.name.length);const c=Object.assign({},n,{request:a});return e.doResolve(t,c,"aliased with mapping '"+o.name+"': '"+o.alias+"' to '"+a+"'",r,(e,t)=>{if(e)return s(e);if(t===undefined)return s(null,null);s(null,t)})}}}return s()})}}},66477:e=>{"use strict";e.exports=class AppendPlugin{constructor(e,t,n){this.source=e;this.appending=t;this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("AppendPlugin",(n,r,s)=>{const i=Object.assign({},n,{path:n.path+this.appending,relativePath:n.relativePath&&n.relativePath+this.appending});e.doResolve(t,i,this.appending,r,s)})}}},89429:e=>{"use strict";class Storage{constructor(e){this.duration=e;this.running=new Map;this.data=new Map;this.levels=[];if(e>0){this.levels.push(new Set,new Set,new Set,new Set,new Set,new Set,new Set,new Set,new Set);for(let t=8e3;t0&&!this.nextTick)this.interval=setInterval(this.tick,Math.floor(this.duration/this.levels.length))}finished(e,t,n){const r=this.running.get(e);this.running.delete(e);if(this.duration>0){this.data.set(e,[t,n]);const r=this.levels[0];this.count-=r.size;r.add(e);this.count+=r.size;this.ensureTick()}for(let e=0;e0){this.data.set(e,[t,n]);const r=this.levels[0];this.count-=r.size;r.add(e);this.count+=r.size;this.ensureTick()}}provide(e,t,n){if(typeof e!=="string"){n(new TypeError("path must be a string"));return}let r=this.running.get(e);if(r){r.push(n);return}if(this.duration>0){this.checkTicks();const t=this.data.get(e);if(t){return process.nextTick(()=>{n.apply(null,t)})}}this.running.set(e,r=[n]);t(e,(t,n)=>{this.finished(e,t,n)})}provideSync(e,t){if(typeof e!=="string"){throw new TypeError("path must be a string")}if(this.duration>0){this.checkTicks();const t=this.data.get(e);if(t){if(t[0])throw t[0];return t[1]}}let n;try{n=t(e)}catch(t){this.finishedSync(e,t);throw t}this.finishedSync(e,null,n);return n}tick(){const e=this.levels.pop();for(let t of e){this.data.delete(t)}this.count-=e.size;e.clear();this.levels.unshift(e);if(this.count===0){clearInterval(this.interval);this.interval=null;this.nextTick=null;return true}else if(this.nextTick){this.nextTick+=Math.floor(this.duration/this.levels.length);const e=(new Date).getTime();if(this.nextTick>e){this.nextTick=null;this.interval=setInterval(this.tick,Math.floor(this.duration/this.levels.length));return true}}else if(this.passive){clearInterval(this.interval);this.interval=null;this.nextTick=(new Date).getTime()+Math.floor(this.duration/this.levels.length)}else{this.passive=true}}checkTicks(){this.passive=false;if(this.nextTick){while(!this.tick());}}purge(e){if(!e){this.count=0;clearInterval(this.interval);this.nextTick=null;this.data.clear();this.levels.forEach(e=>{e.clear()})}else if(typeof e==="string"){for(let t of this.data.keys()){if(t.startsWith(e))this.data.delete(t)}}else{for(let t=e.length-1;t>=0;t--){this.purge(e[t])}}}}e.exports=class CachedInputFileSystem{constructor(e,t){this.fileSystem=e;this._statStorage=new Storage(t);this._readdirStorage=new Storage(t);this._readFileStorage=new Storage(t);this._readJsonStorage=new Storage(t);this._readlinkStorage=new Storage(t);this._stat=this.fileSystem.stat?this.fileSystem.stat.bind(this.fileSystem):null;if(!this._stat)this.stat=null;this._statSync=this.fileSystem.statSync?this.fileSystem.statSync.bind(this.fileSystem):null;if(!this._statSync)this.statSync=null;this._readdir=this.fileSystem.readdir?this.fileSystem.readdir.bind(this.fileSystem):null;if(!this._readdir)this.readdir=null;this._readdirSync=this.fileSystem.readdirSync?this.fileSystem.readdirSync.bind(this.fileSystem):null;if(!this._readdirSync)this.readdirSync=null;this._readFile=this.fileSystem.readFile?this.fileSystem.readFile.bind(this.fileSystem):null;if(!this._readFile)this.readFile=null;this._readFileSync=this.fileSystem.readFileSync?this.fileSystem.readFileSync.bind(this.fileSystem):null;if(!this._readFileSync)this.readFileSync=null;if(this.fileSystem.readJson){this._readJson=this.fileSystem.readJson.bind(this.fileSystem)}else if(this.readFile){this._readJson=((e,t)=>{this.readFile(e,(e,n)=>{if(e)return t(e);let r;try{r=JSON.parse(n.toString("utf-8"))}catch(e){return t(e)}t(null,r)})})}else{this.readJson=null}if(this.fileSystem.readJsonSync){this._readJsonSync=this.fileSystem.readJsonSync.bind(this.fileSystem)}else if(this.readFileSync){this._readJsonSync=(e=>{const t=this.readFileSync(e);const n=JSON.parse(t.toString("utf-8"));return n})}else{this.readJsonSync=null}this._readlink=this.fileSystem.readlink?this.fileSystem.readlink.bind(this.fileSystem):null;if(!this._readlink)this.readlink=null;this._readlinkSync=this.fileSystem.readlinkSync?this.fileSystem.readlinkSync.bind(this.fileSystem):null;if(!this._readlinkSync)this.readlinkSync=null}stat(e,t){this._statStorage.provide(e,this._stat,t)}readdir(e,t){this._readdirStorage.provide(e,this._readdir,t)}readFile(e,t){this._readFileStorage.provide(e,this._readFile,t)}readJson(e,t){this._readJsonStorage.provide(e,this._readJson,t)}readlink(e,t){this._readlinkStorage.provide(e,this._readlink,t)}statSync(e){return this._statStorage.provideSync(e,this._statSync)}readdirSync(e){return this._readdirStorage.provideSync(e,this._readdirSync)}readFileSync(e){return this._readFileStorage.provideSync(e,this._readFileSync)}readJsonSync(e){return this._readJsonStorage.provideSync(e,this._readJsonSync)}readlinkSync(e){return this._readlinkStorage.provideSync(e,this._readlinkSync)}purge(e){this._statStorage.purge(e);this._readdirStorage.purge(e);this._readFileStorage.purge(e);this._readlinkStorage.purge(e);this._readJsonStorage.purge(e)}}},39929:(e,t,n)=>{"use strict";const r=n(71453);const s=n(702);const i=n(8266);e.exports=class ConcordExtensionsPlugin{constructor(e,t,n){this.source=e;this.options=t;this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("ConcordExtensionsPlugin",(n,o,a)=>{const c=s.getField(n.descriptionFileData,"concord");if(!c)return a();const l=r.getExtensions(n.context,c);if(!l)return a();i(l,(r,s)=>{const i=Object.assign({},n,{path:n.path+r,relativePath:n.relativePath&&n.relativePath+r});e.doResolve(t,i,"concord extension: "+r,o,s)},(e,t)=>{if(e)return a(e);if(t===undefined)return a(null,null);a(null,t)})})}}},23443:(e,t,n)=>{"use strict";const r=n(85622);const s=n(71453);const i=n(702);e.exports=class ConcordMainPlugin{constructor(e,t,n){this.source=e;this.options=t;this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("ConcordMainPlugin",(n,o,a)=>{if(n.path!==n.descriptionFileRoot)return a();const c=i.getField(n.descriptionFileData,"concord");if(!c)return a();const l=s.getMain(n.context,c);if(!l)return a();const u=Object.assign({},n,{request:l});const f=r.basename(n.descriptionFilePath);return e.doResolve(t,u,"use "+l+" from "+f,o,a)})}}},57580:(e,t,n)=>{"use strict";const r=n(71453);const s=n(702);const i=n(50290);e.exports=class ConcordModulesPlugin{constructor(e,t,n){this.source=e;this.options=t;this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("ConcordModulesPlugin",(n,o,a)=>{const c=i(e,n);if(!c)return a();const l=s.getField(n.descriptionFileData,"concord");if(!l)return a();const u=r.matchModule(n.context,l,c);if(u===c)return a();if(u===undefined)return a();if(u===false){const e=Object.assign({},n,{path:false});return a(null,e)}const f=Object.assign({},n,{path:n.descriptionFileRoot,request:u});e.doResolve(t,f,"aliased from description file "+n.descriptionFilePath+" with mapping '"+c+"' to '"+u+"'",o,(e,t)=>{if(e)return a(e);if(t===undefined)return a(null,null);a(null,t)})})}}},66826:(e,t,n)=>{"use strict";const r=n(702);e.exports=class DescriptionFilePlugin{constructor(e,t,n){this.source=e;this.filenames=[].concat(t);this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("DescriptionFilePlugin",(n,s,i)=>{const o=n.path;r.loadDescriptionFile(e,o,this.filenames,s,(r,a)=>{if(r)return i(r);if(!a){if(s.missing){this.filenames.forEach(t=>{s.missing.add(e.join(o,t))})}if(s.log)s.log("No description file found");return i()}const c="."+n.path.substr(a.directory.length).replace(/\\/g,"/");const l=Object.assign({},n,{descriptionFilePath:a.path,descriptionFileData:a.content,descriptionFileRoot:a.directory,relativePath:c});e.doResolve(t,l,"using description file: "+a.path+" (relative path: "+c+")",s,(e,t)=>{if(e)return i(e);if(t===undefined)return i(null,null);i(null,t)})})})}}},702:(e,t,n)=>{"use strict";const r=n(8266);function loadDescriptionFile(e,t,n,s,i){(function findDescriptionFile(){r(n,(n,r)=>{const i=e.join(t,n);if(e.fileSystem.readJson){e.fileSystem.readJson(i,(e,t)=>{if(e){if(typeof e.code!=="undefined")return r();return onJson(e)}onJson(null,t)})}else{e.fileSystem.readFile(i,(e,t)=>{if(e)return r();let n;try{n=JSON.parse(t)}catch(e){onJson(e)}onJson(null,n)})}function onJson(e,n){if(e){if(s.log)s.log(i+" (directory description file): "+e);else e.message=i+" (directory description file): "+e;return r(e)}r(null,{content:n,directory:t,path:i})}},(e,n)=>{if(e)return i(e);if(n){return i(null,n)}else{t=cdUp(t);if(!t){return i()}else{return findDescriptionFile()}}})})()}function getField(e,t){if(!e)return undefined;if(Array.isArray(t)){let n=e;for(let e=0;e{"use strict";e.exports=class DirectoryExistsPlugin{constructor(e,t){this.source=e;this.target=t}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("DirectoryExistsPlugin",(n,r,s)=>{const i=e.fileSystem;const o=n.path;i.stat(o,(i,a)=>{if(i||!a){if(r.missing)r.missing.add(o);if(r.log)r.log(o+" doesn't exist");return s()}if(!a.isDirectory()){if(r.missing)r.missing.add(o);if(r.log)r.log(o+" is not a directory");return s()}e.doResolve(t,n,"existing directory",r,s)})})}}},98699:e=>{"use strict";e.exports=class FileExistsPlugin{constructor(e,t){this.source=e;this.target=t}apply(e){const t=e.ensureHook(this.target);const n=e.fileSystem;e.getHook(this.source).tapAsync("FileExistsPlugin",(r,s,i)=>{const o=r.path;n.stat(o,(n,a)=>{if(n||!a){if(s.missing)s.missing.add(o);if(s.log)s.log(o+" doesn't exist");return i()}if(!a.isFile()){if(s.missing)s.missing.add(o);if(s.log)s.log(o+" is not a file");return i()}e.doResolve(t,r,"existing file: "+o,s,i)})})}}},87295:e=>{"use strict";e.exports=class FileKindPlugin{constructor(e,t){this.source=e;this.target=t}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("FileKindPlugin",(n,r,s)=>{if(n.directory)return s();const i=Object.assign({},n);delete i.directory;e.doResolve(t,i,null,r,s)})}}},71474:e=>{"use strict";e.exports=class JoinRequestPlugin{constructor(e,t){this.source=e;this.target=t}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("JoinRequestPlugin",(n,r,s)=>{const i=Object.assign({},n,{path:e.join(n.path,n.request),relativePath:n.relativePath&&e.join(n.relativePath,n.request),request:undefined});e.doResolve(t,i,null,r,s)})}}},73507:(e,t,n)=>{"use strict";const r=n(85622);e.exports=class MainFieldPlugin{constructor(e,t,n){this.source=e;this.options=t;this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("MainFieldPlugin",(n,s,i)=>{if(n.path!==n.descriptionFileRoot)return i();if(n.alreadyTriedMainField===n.descriptionFilePath)return i();const o=n.descriptionFileData;const a=r.basename(n.descriptionFilePath);let c;const l=this.options.name;if(Array.isArray(l)){let e=o;for(let t=0;t{"use strict";e.exports=class ModuleAppendPlugin{constructor(e,t,n){this.source=e;this.appending=t;this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("ModuleAppendPlugin",(n,r,s)=>{const i=n.request.indexOf("/"),o=n.request.indexOf("\\");const a=i<0?o:o<0?i:i{"use strict";e.exports=class ModuleKindPlugin{constructor(e,t){this.source=e;this.target=t}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("ModuleKindPlugin",(n,r,s)=>{if(!n.module)return s();const i=Object.assign({},n);delete i.module;e.doResolve(t,i,"resolve as module",r,(e,t)=>{if(e)return s(e);if(t===undefined)return s(null,null);s(null,t)})})}}},3688:(e,t,n)=>{"use strict";const r=n(8266);const s=n(48608);e.exports=class ModulesInHierachicDirectoriesPlugin{constructor(e,t,n){this.source=e;this.directories=[].concat(t);this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("ModulesInHierachicDirectoriesPlugin",(n,i,o)=>{const a=e.fileSystem;const c=s(n.path).paths.map(t=>{return this.directories.map(n=>e.join(t,n))}).reduce((e,t)=>{e.push.apply(e,t);return e},[]);r(c,(r,s)=>{a.stat(r,(o,a)=>{if(!o&&a&&a.isDirectory()){const o=Object.assign({},n,{path:r,request:"./"+n.request});const a="looking for modules in "+r;return e.doResolve(t,o,a,i,s)}if(i.log)i.log(r+" doesn't exist or is not a directory");if(i.missing)i.missing.add(r);return s()})},o)})}}},48952:e=>{"use strict";e.exports=class ModulesInRootPlugin{constructor(e,t,n){this.source=e;this.path=t;this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("ModulesInRootPlugin",(n,r,s)=>{const i=Object.assign({},n,{path:this.path,request:"./"+n.request});e.doResolve(t,i,"looking for modules in "+this.path,r,s)})}}},79135:e=>{"use strict";e.exports=class NextPlugin{constructor(e,t){this.source=e;this.target=t}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("NextPlugin",(n,r,s)=>{e.doResolve(t,n,null,r,s)})}}},15193:(e,t,n)=>{"use strict";const r=n(90552);class NodeJsInputFileSystem{readdir(e,t){r.readdir(e,(e,n)=>{t(e,n&&n.map(e=>{return e.normalize?e.normalize("NFC"):e}))})}readdirSync(e){const t=r.readdirSync(e);return t&&t.map(e=>{return e.normalize?e.normalize("NFC"):e})}}const s=["stat","statSync","readFile","readFileSync","readlink","readlinkSync"];for(const e of s){Object.defineProperty(NodeJsInputFileSystem.prototype,e,{configurable:true,writable:true,value:r[e].bind(r)})}e.exports=NodeJsInputFileSystem},15234:e=>{"use strict";e.exports=class ParsePlugin{constructor(e,t){this.source=e;this.target=t}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("ParsePlugin",(n,r,s)=>{const i=e.parse(n.request);const o=Object.assign({},n,i);if(n.query&&!i.query){o.query=n.query}if(i&&r.log){if(i.module)r.log("Parsed request is a module");if(i.directory)r.log("Parsed request is a directory")}e.doResolve(t,o,null,r,s)})}}},37432:(e,t,n)=>{"use strict";const r=n(31669);const s=n(41354);const i=n(69689);const o=n(95734);const a=n(96496);const c=n(95478);const l=/^\.$|^\.[\\/]|^\.\.$|^\.\.[\\/]|^\/|^[A-Z]:[\\/]/i;const u=/[\\/]$/i;const f=n(85626);const p=new Map;const d=n(58579);function withName(e,t){t.name=e;return t}function toCamelCase(e){return e.replace(/-([a-z])/g,e=>e.substr(1).toUpperCase())}const h=r.deprecate((e,t)=>{e.add(t)},"Resolver: 'missing' is now a Set. Use add instead of push.");const m=r.deprecate(e=>{return e},"Resolver: The callback argument was splitted into resolveContext and callback.");const y=r.deprecate(e=>{return e},"Resolver#doResolve: The type arguments (string) is now a hook argument (Hook). Pass a reference to the hook instead.");class Resolver extends s{constructor(e){super();this.fileSystem=e;this.hooks={resolveStep:withName("resolveStep",new i(["hook","request"])),noResolve:withName("noResolve",new i(["request","error"])),resolve:withName("resolve",new o(["request","resolveContext"])),result:new a(["result","resolveContext"])};this._pluginCompat.tap("Resolver: before/after",e=>{if(/^before-/.test(e.name)){e.name=e.name.substr(7);e.stage=-10}else if(/^after-/.test(e.name)){e.name=e.name.substr(6);e.stage=10}});this._pluginCompat.tap("Resolver: step hooks",e=>{const t=e.name;const n=!/^resolve(-s|S)tep$|^no(-r|R)esolve$/.test(t);if(n){e.async=true;this.ensureHook(t);const n=e.fn;e.fn=((e,t,r)=>{const s=(e,t)=>{if(e)return r(e);if(t!==undefined)return r(null,t);r()};for(const e in t){s[e]=t[e]}n.call(this,e,s)})}})}ensureHook(e){if(typeof e!=="string")return e;e=toCamelCase(e);if(/^before/.test(e)){return this.ensureHook(e[6].toLowerCase()+e.substr(7)).withOptions({stage:-10})}if(/^after/.test(e)){return this.ensureHook(e[5].toLowerCase()+e.substr(6)).withOptions({stage:10})}const t=this.hooks[e];if(!t){return this.hooks[e]=withName(e,new o(["request","resolveContext"]))}return t}getHook(e){if(typeof e!=="string")return e;e=toCamelCase(e);if(/^before/.test(e)){return this.getHook(e[6].toLowerCase()+e.substr(7)).withOptions({stage:-10})}if(/^after/.test(e)){return this.getHook(e[5].toLowerCase()+e.substr(6)).withOptions({stage:10})}const t=this.hooks[e];if(!t){throw new Error(`Hook ${e} doesn't exist`)}return t}resolveSync(e,t,n){let r,s,i=false;this.resolve(e,t,n,{},(e,t)=>{r=e;s=t;i=true});if(!i)throw new Error("Cannot 'resolveSync' because the fileSystem is not sync. Use 'resolve'!");if(r)throw r;return s}resolve(e,t,n,r,s){if(typeof s!=="function"){s=m(r)}const i={context:e,path:t,request:n};const o="resolve '"+n+"' in '"+t+"'";return this.doResolve(this.hooks.resolve,i,o,{missing:r.missing,stack:r.stack},(e,t)=>{if(!e&&t){return s(null,t.path===false?false:t.path+(t.query||""),t)}const n=new Set;n.push=(e=>h(n,e));const a=[];return this.doResolve(this.hooks.resolve,i,o,{log:e=>{if(r.log){r.log(e)}a.push(e)},missing:n,stack:r.stack},(e,t)=>{if(e)return s(e);const r=new Error("Can't "+o);r.details=a.join("\n");r.missing=Array.from(n);this.hooks.noResolve.call(i,r);return s(r)})})}doResolve(e,t,n,r,s){if(typeof s!=="function"){s=m(r)}if(typeof e==="string"){const t=toCamelCase(e);e=y(this.hooks[t]);if(!e){throw new Error(`Hook "${t}" doesn't exist`)}}if(typeof s!=="function")throw new Error("callback is not a function "+Array.from(arguments));if(!r)throw new Error("resolveContext is not an object "+Array.from(arguments));const i=e.name+": ("+t.path+") "+(t.request||"")+(t.query||"")+(t.directory?" directory":"")+(t.module?" module":"");let o;if(r.stack){o=new Set(r.stack);if(r.stack.has(i)){const e=new Error("Recursion in resolving\nStack:\n "+Array.from(o).join("\n "));e.recursion=true;if(r.log)r.log("abort resolving because of recursion");return s(e)}o.add(i)}else{o=new Set([i])}this.hooks.resolveStep.call(e,t);if(e.isUsed()){const i=c({log:r.log,missing:r.missing,stack:o},n);return e.callAsync(t,i,(e,t)=>{if(e)return s(e);if(t)return s(null,t);s()})}else{s()}}parse(e){if(e==="")return null;const t={request:"",query:"",module:false,directory:false,file:false};const n=e.indexOf("?");if(n===0){t.query=e}else if(n>0){t.request=e.slice(0,n);t.query=e.slice(n)}else{t.request=e}if(t.request){t.module=this.isModule(t.request);t.directory=this.isDirectory(t.request);if(t.directory){t.request=t.request.substr(0,t.request.length-1)}}return t}isModule(e){return!l.test(e)}isDirectory(e){return u.test(e)}join(e,t){let n;let r=p.get(e);if(typeof r==="undefined"){p.set(e,r=new Map)}else{n=r.get(t);if(typeof n!=="undefined")return n}n=f(e,t);r.set(t,n);return n}normalize(e){return d(e)}}e.exports=Resolver},53990:(e,t,n)=>{"use strict";const r=n(37432);const s=n(57746);const i=n(15234);const o=n(66826);const a=n(79135);const c=n(16442);const l=n(12726);const u=n(87295);const f=n(71474);const p=n(3688);const d=n(48952);const h=n(51547);const m=n(42752);const y=n(39929);const g=n(23443);const v=n(57580);const b=n(73688);const w=n(98699);const k=n(21300);const x=n(73507);const S=n(50318);const E=n(66477);const O=n(78177);const C=n(39222);const M=n(10615);const A=n(73882);const I=n(3501);t.createResolver=function(e){let t=e.modules||["node_modules"];const n=e.descriptionFiles||["package.json"];const T=e.plugins&&e.plugins.slice()||[];let R=e.mainFields||["main"];const j=e.aliasFields||[];const F=e.mainFiles||["index"];let N=e.extensions||[".js",".json",".node"];const D=e.enforceExtension||false;let P=e.moduleExtensions||[];const L=e.enforceModuleExtension||false;let q=e.alias||[];const _=typeof e.symlinks!=="undefined"?e.symlinks:true;const z=e.resolveToContext||false;const B=e.roots||[];const W=e.restrictions||[];let U=e.unsafeCache||false;const H=typeof e.cacheWithContext!=="undefined"?e.cacheWithContext:true;const J=e.concord||false;const G=e.cachePredicate||function(){return true};const X=e.fileSystem;const Q=e.useSyncFileSystemCalls;let V=e.resolver;if(!V){V=new r(Q?new s(X):X)}N=[].concat(N);P=[].concat(P);t=mergeFilteredToArray([].concat(t),e=>{return!isAbsolutePath(e)});R=R.map(e=>{if(typeof e==="string"||Array.isArray(e)){e={name:e,forceRelative:true}}return e});if(typeof q==="object"&&!Array.isArray(q)){q=Object.keys(q).map(e=>{let t=false;let n=q[e];if(/\$$/.test(e)){t=true;e=e.substr(0,e.length-1)}if(typeof n==="string"){n={alias:n}}n=Object.assign({name:e,onlyModule:t},n);return n})}if(U&&typeof U!=="object"){U={}}V.ensureHook("resolve");V.ensureHook("parsedResolve");V.ensureHook("describedResolve");V.ensureHook("rawModule");V.ensureHook("module");V.ensureHook("relative");V.ensureHook("describedRelative");V.ensureHook("directory");V.ensureHook("existingDirectory");V.ensureHook("undescribedRawFile");V.ensureHook("rawFile");V.ensureHook("file");V.ensureHook("existingFile");V.ensureHook("resolved");if(U){T.push(new I("resolve",G,U,H,"new-resolve"));T.push(new i("new-resolve","parsed-resolve"))}else{T.push(new i("resolve","parsed-resolve"))}T.push(new o("parsed-resolve",n,"described-resolve"));T.push(new a("after-parsed-resolve","described-resolve"));if(q.length>0)T.push(new h("described-resolve",q,"resolve"));if(J){T.push(new v("described-resolve",{},"resolve"))}j.forEach(e=>{T.push(new m("described-resolve",e,"resolve"))});T.push(new l("after-described-resolve","raw-module"));B.forEach(e=>{T.push(new O("after-described-resolve",e,"relative"))});T.push(new f("after-described-resolve","relative"));P.forEach(e=>{T.push(new A("raw-module",e,"module"))});if(!L)T.push(new c("raw-module",null,"module"));t.forEach(e=>{if(Array.isArray(e))T.push(new p("module",e,"resolve"));else T.push(new d("module",e,"resolve"))});T.push(new o("relative",n,"described-relative"));T.push(new a("after-relative","described-relative"));T.push(new u("described-relative","raw-file"));T.push(new c("described-relative","as directory","directory"));T.push(new b("directory","existing-directory"));if(z){T.push(new a("existing-directory","resolved"))}else{if(J){T.push(new g("existing-directory",{},"resolve"))}R.forEach(e=>{T.push(new x("existing-directory",e,"resolve"))});F.forEach(e=>{T.push(new S("existing-directory",e,"undescribed-raw-file"))});T.push(new o("undescribed-raw-file",n,"raw-file"));T.push(new a("after-undescribed-raw-file","raw-file"));if(!D){T.push(new c("raw-file","no extension","file"))}if(J){T.push(new y("raw-file",{},"file"))}N.forEach(e=>{T.push(new E("raw-file",e,"file"))});if(q.length>0)T.push(new h("file",q,"resolve"));if(J){T.push(new v("file",{},"resolve"))}j.forEach(e=>{T.push(new m("file",e,"resolve"))});if(_)T.push(new k("file","relative"));T.push(new w("file","existing-file"));T.push(new a("existing-file","resolved"))}if(W.length>0){T.push(new C(V.hooks.resolved,W))}T.push(new M(V.hooks.resolved));T.forEach(e=>{e.apply(V)});return V};function mergeFilteredToArray(e,t){return e.reduce((e,n)=>{if(t(n)){const t=e[e.length-1];if(Array.isArray(t)){t.push(n)}else{e.push([n])}return e}else{e.push(n);return e}},[])}function isAbsolutePath(e){return/^[A-Z]:|^\//.test(e)}},39222:e=>{"use strict";const t="/".charCodeAt(0);const n="\\".charCodeAt(0);const r=(e,r)=>{if(!e.startsWith(r))return false;if(e.length===r.length)return true;const s=e.charCodeAt(r.length);return s===t||s===n};e.exports=class RestrictionsPlugin{constructor(e,t){this.source=e;this.restrictions=t}apply(e){e.getHook(this.source).tapAsync("RestrictionsPlugin",(e,t,n)=>{if(typeof e.path==="string"){const s=e.path;for(let e=0;e{"use strict";e.exports=class ResultPlugin{constructor(e){this.source=e}apply(e){this.source.tapAsync("ResultPlugin",(t,n,r)=>{const s=Object.assign({},t);if(n.log)n.log("reporting result "+s.path);e.hooks.result.callAsync(s,n,e=>{if(e)return r(e);r(null,s)})})}}},78177:e=>{"use strict";class RootPlugin{constructor(e,t,n){this.root=t;this.source=e;this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("RootPlugin",(n,r,s)=>{const i=n.request;if(!i)return s();if(!i.startsWith("/"))return s();const o=e.join(this.root,i.slice(1));const a=Object.assign(n,{path:o,relativePath:n.relativePath&&o});e.doResolve(t,a,`root path ${this.root}`,r,s)})}}e.exports=RootPlugin},21300:(e,t,n)=>{"use strict";const r=n(48608);const s=n(8266);e.exports=class SymlinkPlugin{constructor(e,t){this.source=e;this.target=t}apply(e){const t=e.ensureHook(this.target);const n=e.fileSystem;e.getHook(this.source).tapAsync("SymlinkPlugin",(i,o,a)=>{const c=r(i.path);const l=c.seqments;const u=c.paths;let f=false;s.withIndex(u,(e,t,r)=>{n.readlink(e,(e,n)=>{if(!e&&n){l[t]=n;f=true;if(/^(\/|[a-zA-Z]:($|\\))/.test(n))return r(null,t)}r()})},(n,r)=>{if(!f)return a();const s=typeof r==="number"?l.slice(0,r+1):l.slice();const c=s.reverse().reduce((t,n)=>{return e.join(t,n)});const u=Object.assign({},i,{path:c});e.doResolve(t,u,"resolved symlink to "+c,o,a)})})}}},57746:e=>{"use strict";function SyncAsyncFileSystemDecorator(e){this.fs=e;if(e.statSync){this.stat=function(t,n){let r;try{r=e.statSync(t)}catch(e){return n(e)}n(null,r)}}if(e.readdirSync){this.readdir=function(t,n){let r;try{r=e.readdirSync(t)}catch(e){return n(e)}n(null,r)}}if(e.readFileSync){this.readFile=function(t,n){let r;try{r=e.readFileSync(t)}catch(e){return n(e)}n(null,r)}}if(e.readlinkSync){this.readlink=function(t,n){let r;try{r=e.readlinkSync(t)}catch(e){return n(e)}n(null,r)}}if(e.readJsonSync){this.readJson=function(t,n){let r;try{r=e.readJsonSync(t)}catch(e){return n(e)}n(null,r)}}}e.exports=SyncAsyncFileSystemDecorator},16442:e=>{"use strict";e.exports=class TryNextPlugin{constructor(e,t,n){this.source=e;this.message=t;this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("TryNextPlugin",(n,r,s)=>{e.doResolve(t,n,this.message,r,s)})}}},3501:e=>{"use strict";function getCacheId(e,t){return JSON.stringify({context:t?e.context:"",path:e.path,query:e.query,request:e.request})}e.exports=class UnsafeCachePlugin{constructor(e,t,n,r,s){this.source=e;this.filterPredicate=t;this.withContext=r;this.cache=n||{};this.target=s}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("UnsafeCachePlugin",(n,r,s)=>{if(!this.filterPredicate(n))return s();const i=getCacheId(n,this.withContext);const o=this.cache[i];if(o){return s(null,o)}e.doResolve(t,n,null,r,(e,t)=>{if(e)return s(e);if(t)return s(null,this.cache[i]=t);s()})})}}},50318:e=>{"use strict";e.exports=class UseFilePlugin{constructor(e,t,n){this.source=e;this.filename=t;this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("UseFilePlugin",(n,r,s)=>{const i=e.join(n.path,this.filename);const o=Object.assign({},n,{path:i,relativePath:n.relativePath&&e.join(n.relativePath,this.filename)});e.doResolve(t,o,"using path: "+i,r,s)})}}},71453:(e,t,n)=>{"use strict";const r=n(48834).P;function parseType(e){const t=e.split("+");const n=t.shift();return{type:n==="*"?null:n,features:t}}function isTypeMatched(e,t){if(typeof e==="string")e=parseType(e);if(typeof t==="string")t=parseType(t);if(t.type&&t.type!==e.type)return false;return t.features.every(t=>{return e.features.indexOf(t)>=0})}function isResourceTypeMatched(e,t){e=e.split("/");t=t.split("/");if(e.length!==t.length)return false;for(let n=0;n{return isResourceTypeMatched(e,t)})}function isEnvironment(e,t){return e.environments&&e.environments.every(e=>{return isTypeMatched(e,t)})}const s={};function getGlobRegExp(e){const t=s[e]||(s[e]=r(e));return t}function matchGlob(e,t){const n=getGlobRegExp(e);return n.exec(t)}function isGlobMatched(e,t){return!!matchGlob(e,t)}function isConditionMatched(e,t){const n=t.split("|");return n.some(function testFn(t){t=t.trim();const n=/^!/.test(t);if(n)return!testFn(t.substr(1));if(/^[a-z]+:/.test(t)){const n=/^([a-z]+):\s*/.exec(t);const r=t.substr(n[0].length);const s=n[1];switch(s){case"referrer":return isGlobMatched(r,e.referrer);default:return false}}else if(t.indexOf("/")>=0){return isResourceTypeSupported(e,t)}else{return isEnvironment(e,t)}})}function isKeyMatched(e,t){for(;;){const n=/^\[([^\]]+)\]\s*/.exec(t);if(!n)return t;t=t.substr(n[0].length);const r=n[1];if(!isConditionMatched(e,r)){return false}}}function getField(e,t,n){let r;Object.keys(t).forEach(s=>{const i=isKeyMatched(e,s);if(i===n){r=t[s]}});return r}function getMain(e,t){return getField(e,t,"main")}function getExtensions(e,t){return getField(e,t,"extensions")}function matchModule(e,t,n){const r=getField(e,t,"modules");if(!r)return n;let s=n;const i=Object.keys(r);let o=0;let a;let c;for(let t=0;ti.length){throw new Error("Request '"+n+"' matches recursively")}}}return s;function replaceMatcher(e){switch(e){case"/**":{const e=a[c++];return e?"/"+e:""}case"**":case"*":return a[c++]}}}function matchType(e,t,n){const r=getField(e,t,"types");if(!r)return undefined;let s;Object.keys(r).forEach(t=>{const i=isKeyMatched(e,t);if(isGlobMatched(i,n)){const e=r[t];if(!s&&/\/\*$/.test(e))throw new Error("value ('"+e+"') of key '"+t+"' contains '*', but there is no previous value defined");s=e.replace(/\/\*$/,"/"+s)}});return s}t.parseType=parseType;t.isTypeMatched=isTypeMatched;t.isResourceTypeSupported=isResourceTypeSupported;t.isEnvironment=isEnvironment;t.isGlobMatched=isGlobMatched;t.isConditionMatched=isConditionMatched;t.isKeyMatched=isKeyMatched;t.getField=getField;t.getMain=getMain;t.getExtensions=getExtensions;t.matchModule=matchModule;t.matchType=matchType},95478:e=>{"use strict";e.exports=function createInnerContext(e,t,n){let r=false;const s={log:(()=>{if(!e.log)return undefined;if(!t)return e.log;const n=n=>{if(!r){e.log(t);r=true}e.log(" "+n)};return n})(),stack:e.stack,missing:e.missing};return s}},8266:e=>{"use strict";e.exports=function forEachBail(e,t,n){if(e.length===0)return n();let r=e.length;let s;let i=[];for(let n=0;n{if(e>=r)return;i.push(e);if(t.length>0){r=e+1;i=i.filter(t=>{return t<=e});s=t}if(i.length===r){n.apply(null,s);r=0}}}};e.exports.withIndex=function forEachBailWithIndex(e,t,n){if(e.length===0)return n();let r=e.length;let s;let i=[];for(let n=0;n{if(e>=r)return;i.push(e);if(t.length>0){r=e+1;i=i.filter(t=>{return t<=e});s=t}if(i.length===r){n.apply(null,s);r=0}}}}},50290:e=>{"use strict";e.exports=function getInnerRequest(e,t){if(typeof t.__innerRequest==="string"&&t.__innerRequest_request===t.request&&t.__innerRequest_relativePath===t.relativePath)return t.__innerRequest;let n;if(t.request){n=t.request;if(/^\.\.?\//.test(n)&&t.relativePath){n=e.join(t.relativePath,n)}}else{n=t.relativePath}t.__innerRequest_request=t.request;t.__innerRequest_relativePath=t.relativePath;return t.__innerRequest=n}},48608:e=>{"use strict";e.exports=function getPaths(e){const t=e.split(/(.*?[\\/]+)/);const n=[e];const r=[t[t.length-1]];let s=t[t.length-1];e=e.substr(0,e.length-s.length-1);for(let i=t.length-2;i>2;i-=2){n.push(e);s=t[i];e=e.substr(0,e.length-s.length)||"/";r.push(s.substr(0,s.length-1))}s=t[1];r.push(s);n.push(s);return{paths:n,seqments:r}};e.exports.basename=function basename(e){const t=e.lastIndexOf("/"),n=e.lastIndexOf("\\");const r=t<0?n:n<0?t:t{"use strict";function globToRegExp(e){if(/^\(.+\)$/.test(e)){return new RegExp(e.substr(1,e.length-2))}const t=tokenize(e);const n=createRoot();const r=t.map(n).join("");return new RegExp("^"+r+"$")}const n={"@(":"one","?(":"zero-one","+(":"one-many","*(":"zero-many","|":"segment-sep","/**/":"any-path-segments","**":"any-path","*":"any-path-segment","?":"any-char","{":"or","/":"path-sep",",":"comma",")":"closing-segment","}":"closing-or"};function tokenize(e){return e.split(/([@?+*]\(|\/\*\*\/|\*\*|[?*]|\[[!^]?(?:[^\]\\]|\\.)+\]|\{|,|\/|[|)}])/g).map(e=>{if(!e)return null;const t=n[e];if(t){return{type:t}}if(e[0]==="["){if(e[1]==="^"||e[1]==="!"){return{type:"inverted-char-set",value:e.substr(2,e.length-3)}}else{return{type:"char-set",value:e.substr(1,e.length-2)}}}return{type:"string",value:e}}).filter(Boolean).concat({type:"end"})}function createRoot(){const e=[];const t=createSeqment();let n=true;return function(r){switch(r.type){case"or":e.push(n);return"(";case"comma":if(e.length){n=e[e.length-1];return"|"}else{return t({type:"string",value:","},n)}case"closing-or":if(e.length===0)throw new Error("Unmatched '}'");e.pop();return")";case"end":if(e.length)throw new Error("Unmatched '{'");return t(r,n);default:{const e=t(r,n);n=false;return e}}}}function createSeqment(){const e=[];const t=createSimple();return function(n,r){switch(n.type){case"one":case"one-many":case"zero-many":case"zero-one":e.push(n.type);return"(";case"segment-sep":if(e.length){return"|"}else{return t({type:"string",value:"|"},r)}case"closing-segment":{const t=e.pop();switch(t){case"one":return")";case"one-many":return")+";case"zero-many":return")*";case"zero-one":return")?"}throw new Error("Unexcepted segment "+t)}case"end":if(e.length>0){throw new Error("Unmatched segment, missing ')'")}return t(n,r);default:return t(n,r)}}}function createSimple(){return function(e,t){switch(e.type){case"path-sep":return"[\\\\/]+";case"any-path-segments":return"[\\\\/]+(?:(.+)[\\\\/]+)?";case"any-path":return"(.*)";case"any-path-segment":if(t){return"\\.[\\\\/]+(?:.*[\\\\/]+)?([^\\\\/]+)"}else{return"([^\\\\/]*)"}case"any-char":return"[^\\\\/]";case"inverted-char-set":return"[^"+e.value+"]";case"char-set":return"["+e.value+"]";case"string":return e.value.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");case"end":return"";default:throw new Error("Unsupported token '"+e.type+"'")}}}t.P=globToRegExp},51926:(e,t,n)=>{"use strict";const r=n(53990);const s=n(15193);const i=n(89429);const o=new i(new s,4e3);const a={environments:["node+es3+es5+process+native"]};const c=r.createResolver({extensions:[".js",".json",".node"],fileSystem:o});e.exports=function resolve(e,t,n,r,s){if(typeof e==="string"){s=r;r=n;n=t;t=e;e=a}if(typeof s!=="function"){s=r}c.resolve(e,t,n,r,s)};const l=r.createResolver({extensions:[".js",".json",".node"],useSyncFileSystemCalls:true,fileSystem:o});e.exports.sync=function resolveSync(e,t,n){if(typeof e==="string"){n=t;t=e;e=a}return l.resolveSync(e,t,n)};const u=r.createResolver({extensions:[".js",".json",".node"],resolveToContext:true,fileSystem:o});e.exports.context=function resolveContext(e,t,n,resolveContext,r){if(typeof e==="string"){r=resolveContext;resolveContext=n;n=t;t=e;e=a}if(typeof r!=="function"){r=resolveContext}u.resolve(e,t,n,resolveContext,r)};const f=r.createResolver({extensions:[".js",".json",".node"],resolveToContext:true,useSyncFileSystemCalls:true,fileSystem:o});e.exports.context.sync=function resolveContextSync(e,t,n){if(typeof e==="string"){n=t;t=e;e=a}return f.resolveSync(e,t,n)};const p=r.createResolver({extensions:[".js",".json",".node"],moduleExtensions:["-loader"],mainFields:["loader","main"],fileSystem:o});e.exports.loader=function resolveLoader(e,t,n,r,s){if(typeof e==="string"){s=r;r=n;n=t;t=e;e=a}if(typeof s!=="function"){s=r}p.resolve(e,t,n,r,s)};const d=r.createResolver({extensions:[".js",".json",".node"],moduleExtensions:["-loader"],mainFields:["loader","main"],useSyncFileSystemCalls:true,fileSystem:o});e.exports.loader.sync=function resolveLoaderSync(e,t,n){if(typeof e==="string"){n=t;t=e;e=a}return d.resolveSync(e,t,n)};e.exports.create=function create(e){e=Object.assign({fileSystem:o},e);const t=r.createResolver(e);return function(e,n,r,s,i){if(typeof e==="string"){i=s;s=r;r=n;n=e;e=a}if(typeof i!=="function"){i=s}t.resolve(e,n,r,s,i)}};e.exports.create.sync=function createSync(e){e=Object.assign({useSyncFileSystemCalls:true,fileSystem:o},e);const t=r.createResolver(e);return function(e,n,r){if(typeof e==="string"){r=n;n=e;e=a}return t.resolveSync(e,n,r)}};e.exports.ResolverFactory=r;e.exports.NodeJsInputFileSystem=s;e.exports.CachedInputFileSystem=i},85626:(e,t,n)=>{"use strict";const r=n(58579);const s=/^[A-Z]:([\\\/]|$)/i;const i=/^\//i;e.exports=function join(e,t){if(!t)return r(e);if(s.test(t))return r(t.replace(/\//g,"\\"));if(i.test(t))return r(t);if(e=="/")return r(e+t);if(s.test(e))return r(e.replace(/\//g,"\\")+"\\"+t.replace(/\//g,"\\"));if(i.test(e))return r(e+"/"+t);return r(e+"/"+t)}},58579:e=>{"use strict";e.exports=function normalize(e){var t=e.split(/(\\+|\/+)/);if(t.length===1)return e;var n=[];var r=0;for(var s=0,i=false;s{var r=n(12778);function init(e,t,n){if(!!t&&typeof t!="string"){t=t.message||t.name}r(this,{type:e,name:e,cause:typeof t!="string"?t:n,message:t},"ewr")}function CustomError(e,t){Error.call(this);if(Error.captureStackTrace)Error.captureStackTrace(this,this.constructor);init.call(this,"CustomError",e,t)}CustomError.prototype=new Error;function createError(e,t,n){var r=function(n,s){init.call(this,t,n,s);if(t=="FilesystemError"){this.code=this.cause.code;this.path=this.cause.path;this.errno=this.cause.errno;this.message=(e.errno[this.cause.errno]?e.errno[this.cause.errno].description:this.cause.message)+(this.cause.path?" ["+this.cause.path+"]":"")}Error.call(this);if(Error.captureStackTrace)Error.captureStackTrace(this,r)};r.prototype=!!n?new n:new CustomError;return r}e.exports=function(e){var t=function(t,n){return createError(e,t,n)};return{CustomError:CustomError,FilesystemError:t("FilesystemError"),createError:t}}},55:(e,t,n)=>{var r=e.exports.all=[{errno:-2,code:"ENOENT",description:"no such file or directory"},{errno:-1,code:"UNKNOWN",description:"unknown error"},{errno:0,code:"OK",description:"success"},{errno:1,code:"EOF",description:"end of file"},{errno:2,code:"EADDRINFO",description:"getaddrinfo error"},{errno:3,code:"EACCES",description:"permission denied"},{errno:4,code:"EAGAIN",description:"resource temporarily unavailable"},{errno:5,code:"EADDRINUSE",description:"address already in use"},{errno:6,code:"EADDRNOTAVAIL",description:"address not available"},{errno:7,code:"EAFNOSUPPORT",description:"address family not supported"},{errno:8,code:"EALREADY",description:"connection already in progress"},{errno:9,code:"EBADF",description:"bad file descriptor"},{errno:10,code:"EBUSY",description:"resource busy or locked"},{errno:11,code:"ECONNABORTED",description:"software caused connection abort"},{errno:12,code:"ECONNREFUSED",description:"connection refused"},{errno:13,code:"ECONNRESET",description:"connection reset by peer"},{errno:14,code:"EDESTADDRREQ",description:"destination address required"},{errno:15,code:"EFAULT",description:"bad address in system call argument"},{errno:16,code:"EHOSTUNREACH",description:"host is unreachable"},{errno:17,code:"EINTR",description:"interrupted system call"},{errno:18,code:"EINVAL",description:"invalid argument"},{errno:19,code:"EISCONN",description:"socket is already connected"},{errno:20,code:"EMFILE",description:"too many open files"},{errno:21,code:"EMSGSIZE",description:"message too long"},{errno:22,code:"ENETDOWN",description:"network is down"},{errno:23,code:"ENETUNREACH",description:"network is unreachable"},{errno:24,code:"ENFILE",description:"file table overflow"},{errno:25,code:"ENOBUFS",description:"no buffer space available"},{errno:26,code:"ENOMEM",description:"not enough memory"},{errno:27,code:"ENOTDIR",description:"not a directory"},{errno:28,code:"EISDIR",description:"illegal operation on a directory"},{errno:29,code:"ENONET",description:"machine is not on the network"},{errno:31,code:"ENOTCONN",description:"socket is not connected"},{errno:32,code:"ENOTSOCK",description:"socket operation on non-socket"},{errno:33,code:"ENOTSUP",description:"operation not supported on socket"},{errno:34,code:"ENOENT",description:"no such file or directory"},{errno:35,code:"ENOSYS",description:"function not implemented"},{errno:36,code:"EPIPE",description:"broken pipe"},{errno:37,code:"EPROTO",description:"protocol error"},{errno:38,code:"EPROTONOSUPPORT",description:"protocol not supported"},{errno:39,code:"EPROTOTYPE",description:"protocol wrong type for socket"},{errno:40,code:"ETIMEDOUT",description:"connection timed out"},{errno:41,code:"ECHARSET",description:"invalid Unicode character"},{errno:42,code:"EAIFAMNOSUPPORT",description:"address family for hostname not supported"},{errno:44,code:"EAISERVICE",description:"servname not supported for ai_socktype"},{errno:45,code:"EAISOCKTYPE",description:"ai_socktype not supported"},{errno:46,code:"ESHUTDOWN",description:"cannot send after transport endpoint shutdown"},{errno:47,code:"EEXIST",description:"file already exists"},{errno:48,code:"ESRCH",description:"no such process"},{errno:49,code:"ENAMETOOLONG",description:"name too long"},{errno:50,code:"EPERM",description:"operation not permitted"},{errno:51,code:"ELOOP",description:"too many symbolic links encountered"},{errno:52,code:"EXDEV",description:"cross-device link not permitted"},{errno:53,code:"ENOTEMPTY",description:"directory not empty"},{errno:54,code:"ENOSPC",description:"no space left on device"},{errno:55,code:"EIO",description:"i/o error"},{errno:56,code:"EROFS",description:"read-only file system"},{errno:57,code:"ENODEV",description:"no such device"},{errno:58,code:"ESPIPE",description:"invalid seek"},{errno:59,code:"ECANCELED",description:"operation canceled"}];e.exports.errno={};e.exports.code={};r.forEach(function(t){e.exports.errno[t.errno]=t;e.exports.code[t.code]=t});e.exports.custom=n(55978)(e.exports);e.exports.create=e.exports.custom.createError},90094:(e,t,n)=>{(function(){"use strict";var e=n(18350);function isNode(e){if(e==null){return false}return typeof e==="object"&&typeof e.type==="string"}function isProperty(t,n){return(t===e.Syntax.ObjectExpression||t===e.Syntax.ObjectPattern)&&n==="properties"}function Visitor(t,n){n=n||{};this.__visitor=t||this;this.__childVisitorKeys=n.childVisitorKeys?Object.assign({},e.VisitorKeys,n.childVisitorKeys):e.VisitorKeys;if(n.fallback==="iteration"){this.__fallback=Object.keys}else if(typeof n.fallback==="function"){this.__fallback=n.fallback}}Visitor.prototype.visitChildren=function(t){var n,r,s,i,o,a,c;if(t==null){return}n=t.type||e.Syntax.Property;r=this.__childVisitorKeys[n];if(!r){if(this.__fallback){r=this.__fallback(t)}else{throw new Error("Unknown node type "+n+".")}}for(s=0,i=r.length;s{(function clone(e){"use strict";var t,r,s,i,o,a;function deepCopy(e){var t={},n,r;for(n in e){if(e.hasOwnProperty(n)){r=e[n];if(typeof r==="object"&&r!==null){t[n]=deepCopy(r)}else{t[n]=r}}}return t}function upperBound(e,t){var n,r,s,i;r=e.length;s=0;while(r){n=r>>>1;i=s+n;if(t(e[i])){r=n}else{s=i+1;r-=n+1}}return s}t={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};s={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};i={};o={};a={};r={Break:i,Skip:o,Remove:a};function Reference(e,t){this.parent=e;this.key=t}Reference.prototype.replace=function replace(e){this.parent[this.key]=e};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(e,t,n,r){this.node=e;this.path=t;this.wrap=n;this.ref=r}function Controller(){}Controller.prototype.path=function path(){var e,t,n,r,s,i;function addToPath(e,t){if(Array.isArray(t)){for(n=0,r=t.length;n=0){u=d[f];h=a[u];if(!h){continue}if(Array.isArray(h)){p=h.length;while((p-=1)>=0){if(!h[p]){continue}if(isProperty(c,d[f])){s=new Element(h[p],[u,p],"Property",null)}else if(isNode(h[p])){s=new Element(h[p],[u,p],null,null)}else{continue}n.push(s)}}else if(isNode(h)){n.push(new Element(h,u,null,null))}}}}};Controller.prototype.replace=function replace(e,t){var n,r,s,c,l,u,f,p,d,h,m,y,g;function removeElem(e){var t,r,s,i;if(e.ref.remove()){r=e.ref.key;i=e.ref.parent;t=n.length;while(t--){s=n[t];if(s.ref&&s.ref.parent===i){if(s.ref.key=0){g=d[f];h=s[g];if(!h){continue}if(Array.isArray(h)){p=h.length;while((p-=1)>=0){if(!h[p]){continue}if(isProperty(c,d[f])){u=new Element(h[p],[g,p],"Property",new Reference(h,p))}else if(isNode(h[p])){u=new Element(h[p],[g,p],null,new Reference(h,p))}else{continue}n.push(u)}}else if(isNode(h)){n.push(new Element(h,g,null,new Reference(s,g)))}}}return y.root};function traverse(e,t){var n=new Controller;return n.traverse(e,t)}function replace(e,t){var n=new Controller;return n.replace(e,t)}function extendCommentRange(e,t){var n;n=upperBound(t,function search(t){return t.range[0]>e.range[0]});e.extendedRange=[e.range[0],e.range[1]];if(n!==t.length){e.extendedRange[1]=t[n].range[0]}n-=1;if(n>=0){e.extendedRange[0]=t[n].range[1]}return e}function attachComments(e,t,n){var s=[],i,o,a,c;if(!e.range){throw new Error("attachComments needs range information")}if(!n.length){if(t.length){for(a=0,o=t.length;ae.range[0]){break}if(t.extendedRange[1]===e.range[0]){if(!e.leadingComments){e.leadingComments=[]}e.leadingComments.push(t);s.splice(c,1)}else{c+=1}}if(c===s.length){return r.Break}if(s[c].extendedRange[0]>e.range[1]){return r.Skip}}});c=0;traverse(e,{leave:function(e){var t;while(ce.range[1]){return r.Skip}}});return e}e.version=n(35464).i8;e.Syntax=t;e.traverse=traverse;e.replace=replace;e.attachComments=attachComments;e.VisitorKeys=s;e.VisitorOption=r;e.Controller=Controller;e.cloneEnvironment=function(){return clone({})};return e})(t)},39646:(e,t,n)=>{"use strict";var r=n(4147);var s=n(89555);var i=n(31185)("expand-brackets");var o=n(72533);var a=n(74253);var c=n(72325);function brackets(e,t){i("initializing from <%s>",__filename);var n=brackets.create(e,t);return n.output}brackets.match=function(e,t,n){e=[].concat(e);var r=o({},n);var s=brackets.matcher(t,r);var i=e.length;var a=-1;var c=[];while(++a{"use strict";var r=n(20803);e.exports=function(e){e.compiler.set("escape",function(e){return this.emit("\\"+e.val.replace(/^\\/,""),e)}).set("text",function(e){return this.emit(e.val.replace(/([{}])/g,"\\$1"),e)}).set("posix",function(e){if(e.val==="[::]"){return this.emit("\\[::\\]",e)}var t=r[e.inner];if(typeof t==="undefined"){t="["+e.inner+"]"}return this.emit(t,e)}).set("bracket",function(e){return this.mapVisit(e.nodes)}).set("bracket.open",function(e){return this.emit(e.val,e)}).set("bracket.inner",function(e){var t=e.val;if(t==="["||t==="]"){return this.emit("\\"+e.val,e)}if(t==="^]"){return this.emit("^\\]",e)}if(t==="^"){return this.emit("^",e)}if(/-/.test(t)&&!/(\d-\d|\w-\w)/.test(t)){t=t.split("-").join("\\-")}var n=t.charAt(0)==="^";if(n&&t.indexOf("/")===-1){t+="/"}if(n&&t.indexOf(".")===-1){t+="."}t=t.replace(/\\([1-9])/g,"$1");return this.emit(t,e)}).set("bracket.close",function(e){var t=e.val.replace(/^\\/,"");if(e.parent.escaped===true){return this.emit("\\"+t,e)}return this.emit(t,e)})}},89555:(e,t,n)=>{"use strict";var r=n(9434);var s=n(63018);var i="(\\[(?=.*\\])|\\])+";var o=r.createRegex(i);function parsers(e){e.state=e.state||{};e.parser.sets.bracket=e.parser.sets.bracket||[];e.parser.capture("escape",function(){if(this.isInside("bracket"))return;var e=this.position();var t=this.match(/^\\(.)/);if(!t)return;return e({type:"escape",val:t[0]})}).capture("text",function(){if(this.isInside("bracket"))return;var e=this.position();var t=this.match(o);if(!t||!t[0])return;return e({type:"text",val:t[0]})}).capture("posix",function(){var t=this.position();var n=this.match(/^\[:(.*?):\](?=.*\])/);if(!n)return;var r=this.isInside("bracket");if(r){e.posix++}return t({type:"posix",insideBracket:r,inner:n[1],val:n[0]})}).capture("bracket",function(){}).capture("bracket.open",function(){var e=this.parsed;var t=this.position();var n=this.match(/^\[(?=.*\])/);if(!n)return;var i=this.prev();var o=r.last(i.nodes);if(e.slice(-1)==="\\"&&!this.isInside("bracket")){o.val=o.val.slice(0,o.val.length-1);return t({type:"escape",val:n[0]})}var a=t({type:"bracket.open",val:n[0]});if(o.type==="bracket.open"||this.isInside("bracket")){a.val="\\"+a.val;a.type="bracket.inner";a.escaped=true;return a}var c=t({type:"bracket",nodes:[a]});s(c,"parent",i);s(a,"parent",c);this.push("bracket",c);i.nodes.push(c)}).capture("bracket.inner",function(){if(!this.isInside("bracket"))return;var e=this.position();var t=this.match(o);if(!t||!t[0])return;var n=this.input.charAt(0);var r=t[0];var s=e({type:"bracket.inner",val:r});if(r==="\\\\"){return s}var i=r.charAt(0);var a=r.slice(-1);if(i==="!"){r="^"+r.slice(1)}if(a==="\\"||r==="^"&&n==="]"){r+=this.input[0];this.consume(1)}s.val=r;return s}).capture("bracket.close",function(){var e=this.parsed;var t=this.position();var n=this.match(/^\]/);if(!n)return;var i=this.prev();var o=r.last(i.nodes);if(e.slice(-1)==="\\"&&!this.isInside("bracket")){o.val=o.val.slice(0,o.val.length-1);return t({type:"escape",val:n[0]})}var a=t({type:"bracket.close",rest:this.input,val:n[0]});if(o.type==="bracket.open"){a.type="bracket.inner";a.escaped=true;return a}var c=this.pop("bracket");if(!this.isType(c,"bracket")){if(this.options.strict){throw new Error('missing opening "["')}a.type="bracket.inner";a.escaped=true;return a}c.nodes.push(a);s(a,"parent",c)})}e.exports=parsers;e.exports.TEXT_REGEX=i},9434:(e,t,n)=>{"use strict";var r=n(72325);var s=n(50466);var i;t.last=function(e){return e[e.length-1]};t.createRegex=function(e,t){if(i)return i;var n={contains:true,strictClose:false};var o=s.create(e,n);var a;if(typeof t==="string"){a=r("^(?:"+t+"|"+o+")",n)}else{a=r(o,n)}return i=a}},72533:(e,t,n)=>{"use strict";var r=n(77242);e.exports=function extend(e){if(!r(e)){e={}}var t=arguments.length;for(var n=1;n{"use strict";var r=n(72533);var s=n(40068);var i=n(72325);var o=n(24998);var a=n(83895);var c=n(96513);var l=n(70354);var u=1024*64;function extglob(e,t){return extglob.create(e,t).output}extglob.match=function(e,t,n){if(typeof t!=="string"){throw new TypeError("expected pattern to be a string")}e=l.arrayify(e);var r=extglob.matcher(t,n);var i=e.length;var o=-1;var a=[];while(++ou){throw new Error("expected pattern to be less than "+u+" characters")}function makeRe(){var n=r({strictErrors:false},t);if(n.strictErrors===true)n.strict=true;var s=extglob.create(e,n);return i(s.output,n)}var n=l.memoize("makeRe",e,t,makeRe);if(n.source.length>u){throw new SyntaxError("potentially malicious regex detected")}return n};extglob.cache=l.cache;extglob.clearCache=function(){extglob.cache.__data__={}};extglob.Extglob=c;extglob.compilers=o;extglob.parsers=a;e.exports=extglob},24998:(e,t,n)=>{"use strict";var r=n(39646);e.exports=function(e){function star(){if(typeof e.options.star==="function"){return e.options.star.apply(this,arguments)}if(typeof e.options.star==="string"){return e.options.star}return".*?"}e.use(r.compilers);e.compiler.set("escape",function(e){return this.emit(e.val,e)}).set("dot",function(e){return this.emit("\\"+e.val,e)}).set("qmark",function(e){var t="[^\\\\/.]";var n=this.prev();if(e.parsed.slice(-1)==="("){var r=e.rest.charAt(0);if(r!=="!"&&r!=="="&&r!==":"){return this.emit(t,e)}return this.emit(e.val,e)}if(n.type==="text"&&n.val){return this.emit(t,e)}if(e.val.length>1){t+="{"+e.val.length+"}"}return this.emit(t,e)}).set("plus",function(e){var t=e.parsed.slice(-1);if(t==="]"||t===")"){return this.emit(e.val,e)}var n=this.output.slice(-1);if(!this.output||/[?*+]/.test(n)&&e.parent.type!=="bracket"){return this.emit("\\+",e)}if(/\w/.test(n)&&!e.inside){return this.emit("+\\+?",e)}return this.emit("+",e)}).set("star",function(e){var t=this.prev();var n=t.type!=="text"&&t.type!=="escape"?"(?!\\.)":"";return this.emit(n+star.call(this,e),e)}).set("paren",function(e){return this.mapVisit(e.nodes)}).set("paren.open",function(e){var t=this.options.capture?"(":"";switch(e.parent.prefix){case"!":case"^":return this.emit(t+"(?:(?!(?:",e);case"*":case"+":case"?":case"@":return this.emit(t+"(?:",e);default:{var n=e.val;if(this.options.bash===true){n="\\"+n}else if(!this.options.capture&&n==="("&&e.parent.rest[0]!=="?"){n+="?:"}return this.emit(n,e)}}}).set("paren.close",function(e){var t=this.options.capture?")":"";switch(e.prefix){case"!":case"^":var n=/^(\)|$)/.test(e.rest)?"$":"";var r=star.call(this,e);if(e.parent.hasSlash&&!this.options.star&&this.options.slash!==false){r=".*?"}return this.emit(n+("))"+r+")")+t,e);case"*":case"+":case"?":return this.emit(")"+e.prefix+t,e);case"@":return this.emit(")"+t,e);default:{var s=(this.options.bash===true?"\\":"")+")";return this.emit(s,e)}}}).set("text",function(e){var t=e.val.replace(/[\[\]]/g,"\\$&");return this.emit(t,e)})}},96513:(e,t,n)=>{"use strict";var r=n(74253);var s=n(63122);var i=n(72533);var o=n(24998);var a=n(83895);function Extglob(e){this.options=i({source:"extglob"},e);this.snapdragon=this.options.snapdragon||new r(this.options);this.snapdragon.patterns=this.snapdragon.patterns||{};this.compiler=this.snapdragon.compiler;this.parser=this.snapdragon.parser;o(this.snapdragon);a(this.snapdragon);s(this.snapdragon,"parse",function(e,t){var n=r.prototype.parse.apply(this,arguments);n.input=e;var i=this.parser.stack.pop();if(i&&this.options.strict!==true){var o=i.nodes[0];o.val="\\"+o.val;var a=o.parent.nodes[1];if(a.type==="star"){a.loose=true}}s(n,"parser",this.parser);return n});s(this,"parse",function(e,t){return this.snapdragon.parse.apply(this.snapdragon,arguments)});s(this,"compile",function(e,t){return this.snapdragon.compile.apply(this.snapdragon,arguments)})}e.exports=Extglob},83895:(e,t,n)=>{"use strict";var r=n(39646);var s=n(63122);var i=n(70354);var o="([!@*?+]?\\(|\\)|[*?.+\\\\]|\\[:?(?=.*\\])|:?\\])+";var a=i.createRegex(o);function parsers(e){e.state=e.state||{};e.use(r.parsers);e.parser.sets.paren=e.parser.sets.paren||[];e.parser.capture("paren.open",function(){var e=this.parsed;var t=this.position();var n=this.match(/^([!@*?+])?\(/);if(!n)return;var r=this.prev();var i=n[1];var o=n[0];var a=t({type:"paren.open",parsed:e,val:o});var c=t({type:"paren",prefix:i,nodes:[a]});if(i==="!"&&r.type==="paren"&&r.prefix==="!"){r.prefix="@";c.prefix="@"}s(c,"rest",this.input);s(c,"parsed",e);s(c,"parent",r);s(a,"parent",c);this.push("paren",c);r.nodes.push(c)}).capture("paren.close",function(){var e=this.parsed;var t=this.position();var n=this.match(/^\)/);if(!n)return;var r=this.pop("paren");var i=t({type:"paren.close",rest:this.input,parsed:e,val:n[0]});if(!this.isType(r,"paren")){if(this.options.strict){throw new Error('missing opening paren: "("')}i.escaped=true;return i}i.prefix=r.prefix;r.nodes.push(i);s(i,"parent",r)}).capture("escape",function(){var e=this.position();var t=this.match(/^\\(.)/);if(!t)return;return e({type:"escape",val:t[0],ch:t[1]})}).capture("qmark",function(){var t=this.parsed;var n=this.position();var r=this.match(/^\?+(?!\()/);if(!r)return;e.state.metachar=true;return n({type:"qmark",rest:this.input,parsed:t,val:r[0]})}).capture("star",/^\*(?!\()/).capture("plus",/^\+(?!\()/).capture("dot",/^\./).capture("text",a)}e.exports.TEXT_REGEX=o;e.exports=parsers},70354:(e,t,n)=>{"use strict";var r=n(50466);var s=n(63096);var i=e.exports;var o=i.cache=new s;i.arrayify=function(e){if(!Array.isArray(e)){return[e]}return e};i.memoize=function(e,t,n,r){var s=i.createKey(e+t,n);if(o.has(e,s)){return o.get(e,s)}var a=r(t,n);if(n&&n.cache===false){return a}o.set(e,s,a);return a};i.createKey=function(e,t){var n=e;if(typeof t==="undefined"){return n}for(var r in t){n+=";"+r+"="+String(t[r])}return n};i.createRegex=function(e){var t={contains:true,strictClose:false};return r(e,t)}},63122:(e,t,n)=>{"use strict";var r=n(85721);e.exports=function defineProperty(e,t,n){if(typeof e!=="object"&&typeof e!=="function"){throw new TypeError("expected an object or function.")}if(typeof t!=="string"){throw new TypeError("expected `prop` to be a string.")}if(r(n)&&("set"in n||"get"in n)){return Object.defineProperty(e,t,n)}return Object.defineProperty(e,t,{configurable:true,enumerable:false,writable:true,value:n})}},27689:e=>{"use strict";e.exports=function equal(e,t){if(e===t)return true;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return false;var n,r,s;if(Array.isArray(e)){n=e.length;if(n!=t.length)return false;for(r=n;r--!==0;)if(!equal(e[r],t[r]))return false;return true}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();s=Object.keys(e);n=s.length;if(n!==Object.keys(t).length)return false;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,s[r]))return false;for(r=n;r--!==0;){var i=s[r];if(!equal(e[i],t[i]))return false}return true}return e!==e&&t!==t}},58093:e=>{"use strict";e.exports=function(e,t){if(!t)t={};if(typeof t==="function")t={cmp:t};var n=typeof t.cycles==="boolean"?t.cycles:false;var r=t.cmp&&function(e){return function(t){return function(n,r){var s={key:n,value:t[n]};var i={key:r,value:t[r]};return e(s,i)}}}(t.cmp);var s=[];return function stringify(e){if(e&&e.toJSON&&typeof e.toJSON==="function"){e=e.toJSON()}if(e===undefined)return;if(typeof e=="number")return isFinite(e)?""+e:"null";if(typeof e!=="object")return JSON.stringify(e);var t,i;if(Array.isArray(e)){i="[";for(t=0;t{"use strict";var r=n(31669);var s=n(86110);var i=n(72533);var o=n(69626);var a=n(50887);function fillRange(e,t,n,o){if(typeof e==="undefined"){return[]}if(typeof t==="undefined"||e===t){var a=typeof e==="string";if(s(e)&&!toNumber(e)){return[a?"0":0]}return[e]}if(typeof n!=="number"&&typeof n!=="string"){o=n;n=undefined}if(typeof o==="function"){o={transform:o}}var c=i({step:n},o);if(c.step&&!isValidNumber(c.step)){if(c.strictRanges===true){throw new TypeError("expected options.step to be a number")}return[]}c.isNumber=isValidNumber(e)&&isValidNumber(t);if(!c.isNumber&&!isValid(e,t)){if(c.strictRanges===true){throw new RangeError("invalid range arguments: "+r.inspect([e,t]))}return[]}c.isPadded=isPadded(e)||isPadded(t);c.toString=c.stringify||typeof c.step==="string"||typeof e==="string"||typeof t==="string"||!c.isNumber;if(c.isPadded){c.maxLength=Math.max(String(e).length,String(t).length)}if(typeof c.optimize==="boolean")c.toRegex=c.optimize;if(typeof c.makeRe==="boolean")c.toRegex=c.makeRe;return expand(e,t,c)}function expand(e,t,n){var r=n.isNumber?toNumber(e):e.charCodeAt(0);var s=n.isNumber?toNumber(t):t.charCodeAt(0);var i=Math.abs(toNumber(n.step))||1;if(n.toRegex&&i===1){return toRange(r,s,e,t,n)}var o={greater:[],lesser:[]};var a=r=s){var u=n.isNumber?r:String.fromCharCode(r);if(n.toRegex&&(u>=0||!n.isNumber)){o.greater.push(u)}else{o.lesser.push(Math.abs(u))}if(n.isPadded){u=zeros(u,n)}if(n.toString){u=String(u)}if(typeof n.transform==="function"){c[l++]=n.transform(u,r,s,i,l,c,n)}else{c[l++]=u}if(a){r+=i}else{r-=i}}if(n.toRegex===true){return toSequence(c,o,n)}return c}function toRange(e,t,n,r,s){if(s.isPadded){return a(n,r,s)}if(s.isNumber){return a(Math.min(e,t),Math.max(e,t),s)}var n=String.fromCharCode(Math.min(e,t));var r=String.fromCharCode(Math.max(e,t));return"["+n+"-"+r+"]"}function toSequence(e,t,n){var r="",s="";if(t.greater.length){r=t.greater.join("|")}if(t.lesser.length){s="-("+t.lesser.join("|")+")"}var i=r&&s?r+"|"+s:r||s;if(n.capture){return"("+i+")"}return i}function zeros(e,t){if(t.isPadded){var n=String(e);var r=n.length;var s="";if(n.charAt(0)==="-"){s="-";n=n.slice(1)}var i=t.maxLength-r;var a=o("0",i);e=s+a+n}if(t.stringify){return String(e)}return e}function toNumber(e){return Number(e)||0}function isPadded(e){return/^-?0\d/.test(e)}function isValid(e,t){return(isValidNumber(e)||isValidLetter(e))&&(isValidNumber(t)||isValidLetter(t))}function isValidLetter(e){return typeof e==="string"&&e.length===1&&/^\w+$/.test(e)}function isValidNumber(e){return s(e)&&!/\./.test(e)}e.exports=fillRange},85451:e=>{"use strict";e.exports=function forIn(e,t,n){for(var r in e){if(t.call(n,e[r],r,e)===false){break}}}},63096:(e,t,n)=>{"use strict";var r=n(22219);function FragmentCache(e){this.caches=e||{}}FragmentCache.prototype={cache:function(e){return this.caches[e]||(this.caches[e]=new r)},set:function(e,t,n){var r=this.cache(e);r.set(t,n);return r},has:function(e,t){return typeof this.get(e,t)!=="undefined"},get:function(e,t){var n=this.cache(e);if(typeof t==="string"){return n.get(t)}return n}};t=e.exports=FragmentCache},3826:e=>{e.exports=function(e,t,n,r,s){if(!isObject(e)||!t){return e}t=toString(t);if(n)t+="."+toString(n);if(r)t+="."+toString(r);if(s)t+="."+toString(s);if(t in e){return e[t]}var i=t.split(".");var o=i.length;var a=-1;while(e&&++a{"use strict";e.exports=clone;function clone(e){if(e===null||typeof e!=="object")return e;if(e instanceof Object)var t={__proto__:e.__proto__};else var t=Object.create(null);Object.getOwnPropertyNames(e).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))});return t}},90552:(e,t,n)=>{var r=n(35747);var s=n(11290);var i=n(54410);var o=n(89132);var a=n(31669);var c;var l;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){c=Symbol.for("graceful-fs.queue");l=Symbol.for("graceful-fs.previous")}else{c="___graceful-fs.queue";l="___graceful-fs.previous"}function noop(){}function publishQueue(e,t){Object.defineProperty(e,c,{get:function(){return t}})}var u=noop;if(a.debuglog)u=a.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))u=function(){var e=a.format.apply(a,arguments);e="GFS4: "+e.split(/\n/).join("\nGFS4: ");console.error(e)};if(!r[c]){var f=global[c]||[];publishQueue(r,f);r.close=function(e){function close(t,n){return e.call(r,t,function(e){if(!e){retry()}if(typeof n==="function")n.apply(this,arguments)})}Object.defineProperty(close,l,{value:e});return close}(r.close);r.closeSync=function(e){function closeSync(t){e.apply(r,arguments);retry()}Object.defineProperty(closeSync,l,{value:e});return closeSync}(r.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",function(){u(r[c]);n(42357).equal(r[c].length,0)})}}if(!global[c]){publishQueue(global,r[c])}e.exports=patch(o(r));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!r.__patched){e.exports=patch(r);r.__patched=true}function patch(e){s(e);e.gracefulify=patch;e.createReadStream=createReadStream;e.createWriteStream=createWriteStream;var t=e.readFile;e.readFile=readFile;function readFile(e,n,r){if(typeof n==="function")r=n,n=null;return go$readFile(e,n,r);function go$readFile(e,n,r){return t(e,n,function(t){if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))enqueue([go$readFile,[e,n,r]]);else{if(typeof r==="function")r.apply(this,arguments);retry()}})}}var n=e.writeFile;e.writeFile=writeFile;function writeFile(e,t,r,s){if(typeof r==="function")s=r,r=null;return go$writeFile(e,t,r,s);function go$writeFile(e,t,r,s){return n(e,t,r,function(n){if(n&&(n.code==="EMFILE"||n.code==="ENFILE"))enqueue([go$writeFile,[e,t,r,s]]);else{if(typeof s==="function")s.apply(this,arguments);retry()}})}}var r=e.appendFile;if(r)e.appendFile=appendFile;function appendFile(e,t,n,s){if(typeof n==="function")s=n,n=null;return go$appendFile(e,t,n,s);function go$appendFile(e,t,n,s){return r(e,t,n,function(r){if(r&&(r.code==="EMFILE"||r.code==="ENFILE"))enqueue([go$appendFile,[e,t,n,s]]);else{if(typeof s==="function")s.apply(this,arguments);retry()}})}}var o=e.readdir;e.readdir=readdir;function readdir(e,t,n){var r=[e];if(typeof t!=="function"){r.push(t)}else{n=t}r.push(go$readdir$cb);return go$readdir(r);function go$readdir$cb(e,t){if(t&&t.sort)t.sort();if(e&&(e.code==="EMFILE"||e.code==="ENFILE"))enqueue([go$readdir,[r]]);else{if(typeof n==="function")n.apply(this,arguments);retry()}}}function go$readdir(t){return o.apply(e,t)}if(process.version.substr(0,4)==="v0.8"){var a=i(e);ReadStream=a.ReadStream;WriteStream=a.WriteStream}var c=e.ReadStream;if(c){ReadStream.prototype=Object.create(c.prototype);ReadStream.prototype.open=ReadStream$open}var l=e.WriteStream;if(l){WriteStream.prototype=Object.create(l.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(e,"ReadStream",{get:function(){return ReadStream},set:function(e){ReadStream=e},enumerable:true,configurable:true});Object.defineProperty(e,"WriteStream",{get:function(){return WriteStream},set:function(e){WriteStream=e},enumerable:true,configurable:true});var u=ReadStream;Object.defineProperty(e,"FileReadStream",{get:function(){return u},set:function(e){u=e},enumerable:true,configurable:true});var f=WriteStream;Object.defineProperty(e,"FileWriteStream",{get:function(){return f},set:function(e){f=e},enumerable:true,configurable:true});function ReadStream(e,t){if(this instanceof ReadStream)return c.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var e=this;open(e.path,e.flags,e.mode,function(t,n){if(t){if(e.autoClose)e.destroy();e.emit("error",t)}else{e.fd=n;e.emit("open",n);e.read()}})}function WriteStream(e,t){if(this instanceof WriteStream)return l.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var e=this;open(e.path,e.flags,e.mode,function(t,n){if(t){e.destroy();e.emit("error",t)}else{e.fd=n;e.emit("open",n)}})}function createReadStream(t,n){return new e.ReadStream(t,n)}function createWriteStream(t,n){return new e.WriteStream(t,n)}var p=e.open;e.open=open;function open(e,t,n,r){if(typeof n==="function")r=n,n=null;return go$open(e,t,n,r);function go$open(e,t,n,r){return p(e,t,n,function(s,i){if(s&&(s.code==="EMFILE"||s.code==="ENFILE"))enqueue([go$open,[e,t,n,r]]);else{if(typeof r==="function")r.apply(this,arguments);retry()}})}}return e}function enqueue(e){u("ENQUEUE",e[0].name,e[1]);r[c].push(e)}function retry(){var e=r[c].shift();if(e){u("RETRY",e[0].name,e[1]);e[0].apply(null,e[1])}}},54410:(e,t,n)=>{var r=n(92413).Stream;e.exports=legacy;function legacy(e){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(t,n){if(!(this instanceof ReadStream))return new ReadStream(t,n);r.call(this);var s=this;this.path=t;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;n=n||{};var i=Object.keys(n);for(var o=0,a=i.length;othis.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick(function(){s._read()});return}e.open(this.path,this.flags,this.mode,function(e,t){if(e){s.emit("error",e);s.readable=false;return}s.fd=t;s.emit("open",t);s._read()})}function WriteStream(t,n){if(!(this instanceof WriteStream))return new WriteStream(t,n);r.call(this);this.path=t;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;n=n||{};var s=Object.keys(n);for(var i=0,o=s.length;i= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=e.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},11290:(e,t,n)=>{var r=n(27619);var s=process.cwd;var i=null;var o=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!i)i=s.call(process);return i};try{process.cwd()}catch(e){}var a=process.chdir;process.chdir=function(e){i=null;a.call(process,e)};e.exports=patch;function patch(e){if(r.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(e)}if(!e.lutimes){patchLutimes(e)}e.chown=chownFix(e.chown);e.fchown=chownFix(e.fchown);e.lchown=chownFix(e.lchown);e.chmod=chmodFix(e.chmod);e.fchmod=chmodFix(e.fchmod);e.lchmod=chmodFix(e.lchmod);e.chownSync=chownFixSync(e.chownSync);e.fchownSync=chownFixSync(e.fchownSync);e.lchownSync=chownFixSync(e.lchownSync);e.chmodSync=chmodFixSync(e.chmodSync);e.fchmodSync=chmodFixSync(e.fchmodSync);e.lchmodSync=chmodFixSync(e.lchmodSync);e.stat=statFix(e.stat);e.fstat=statFix(e.fstat);e.lstat=statFix(e.lstat);e.statSync=statFixSync(e.statSync);e.fstatSync=statFixSync(e.fstatSync);e.lstatSync=statFixSync(e.lstatSync);if(!e.lchmod){e.lchmod=function(e,t,n){if(n)process.nextTick(n)};e.lchmodSync=function(){}}if(!e.lchown){e.lchown=function(e,t,n,r){if(r)process.nextTick(r)};e.lchownSync=function(){}}if(o==="win32"){e.rename=function(t){return function(n,r,s){var i=Date.now();var o=0;t(n,r,function CB(a){if(a&&(a.code==="EACCES"||a.code==="EPERM")&&Date.now()-i<6e4){setTimeout(function(){e.stat(r,function(e,i){if(e&&e.code==="ENOENT")t(n,r,CB);else s(a)})},o);if(o<100)o+=10;return}if(s)s(a)})}}(e.rename)}e.read=function(t){function read(n,r,s,i,o,a){var c;if(a&&typeof a==="function"){var l=0;c=function(u,f,p){if(u&&u.code==="EAGAIN"&&l<10){l++;return t.call(e,n,r,s,i,o,c)}a.apply(this,arguments)}}return t.call(e,n,r,s,i,o,c)}read.__proto__=t;return read}(e.read);e.readSync=function(t){return function(n,r,s,i,o){var a=0;while(true){try{return t.call(e,n,r,s,i,o)}catch(e){if(e.code==="EAGAIN"&&a<10){a++;continue}throw e}}}}(e.readSync);function patchLchmod(e){e.lchmod=function(t,n,s){e.open(t,r.O_WRONLY|r.O_SYMLINK,n,function(t,r){if(t){if(s)s(t);return}e.fchmod(r,n,function(t){e.close(r,function(e){if(s)s(t||e)})})})};e.lchmodSync=function(t,n){var s=e.openSync(t,r.O_WRONLY|r.O_SYMLINK,n);var i=true;var o;try{o=e.fchmodSync(s,n);i=false}finally{if(i){try{e.closeSync(s)}catch(e){}}else{e.closeSync(s)}}return o}}function patchLutimes(e){if(r.hasOwnProperty("O_SYMLINK")){e.lutimes=function(t,n,s,i){e.open(t,r.O_SYMLINK,function(t,r){if(t){if(i)i(t);return}e.futimes(r,n,s,function(t){e.close(r,function(e){if(i)i(t||e)})})})};e.lutimesSync=function(t,n,s){var i=e.openSync(t,r.O_SYMLINK);var o;var a=true;try{o=e.futimesSync(i,n,s);a=false}finally{if(a){try{e.closeSync(i)}catch(e){}}else{e.closeSync(i)}}return o}}else{e.lutimes=function(e,t,n,r){if(r)process.nextTick(r)};e.lutimesSync=function(){}}}function chmodFix(t){if(!t)return t;return function(n,r,s){return t.call(e,n,r,function(e){if(chownErOk(e))e=null;if(s)s.apply(this,arguments)})}}function chmodFixSync(t){if(!t)return t;return function(n,r){try{return t.call(e,n,r)}catch(e){if(!chownErOk(e))throw e}}}function chownFix(t){if(!t)return t;return function(n,r,s,i){return t.call(e,n,r,s,function(e){if(chownErOk(e))e=null;if(i)i.apply(this,arguments)})}}function chownFixSync(t){if(!t)return t;return function(n,r,s){try{return t.call(e,n,r,s)}catch(e){if(!chownErOk(e))throw e}}}function statFix(t){if(!t)return t;return function(n,r,s){if(typeof r==="function"){s=r;r=null}function callback(e,t){if(t){if(t.uid<0)t.uid+=4294967296;if(t.gid<0)t.gid+=4294967296}if(s)s.apply(this,arguments)}return r?t.call(e,n,r,callback):t.call(e,n,callback)}}function statFixSync(t){if(!t)return t;return function(n,r){var s=r?t.call(e,n,r):t.call(e,n);if(s.uid<0)s.uid+=4294967296;if(s.gid<0)s.gid+=4294967296;return s}}function chownErOk(e){if(!e)return true;if(e.code==="ENOSYS")return true;var t=!process.getuid||process.getuid()!==0;if(t){if(e.code==="EINVAL"||e.code==="EPERM")return true}return false}}},65297:(e,t,n)=>{"use strict";var r=n(97328);var s=n(37855);var i=n(3826);e.exports=function(e,t){return s(r(e)&&t?i(e,t):e)}},37855:(e,t,n)=>{"use strict";var r=n(79722);var s=n(86110);e.exports=function hasValue(e){if(s(e)){return true}switch(r(e)){case"null":case"boolean":case"function":return true;case"string":case"arguments":return e.length!==0;case"error":return e.message!=="";case"array":var t=e.length;if(t===0){return false}for(var n=0;n{var r=n(6324);var s=Object.prototype.toString;e.exports=function kindOf(e){if(typeof e==="undefined"){return"undefined"}if(e===null){return"null"}if(e===true||e===false||e instanceof Boolean){return"boolean"}if(typeof e==="string"||e instanceof String){return"string"}if(typeof e==="number"||e instanceof Number){return"number"}if(typeof e==="function"||e instanceof Function){return"function"}if(typeof Array.isArray!=="undefined"&&Array.isArray(e)){return"array"}if(e instanceof RegExp){return"regexp"}if(e instanceof Date){return"date"}var t=s.call(e);if(t==="[object RegExp]"){return"regexp"}if(t==="[object Date]"){return"date"}if(t==="[object Arguments]"){return"arguments"}if(t==="[object Error]"){return"error"}if(t==="[object Promise]"){return"promise"}if(r(e)){return"buffer"}if(t==="[object Set]"){return"set"}if(t==="[object WeakSet]"){return"weakset"}if(t==="[object Map]"){return"map"}if(t==="[object WeakMap]"){return"weakmap"}if(t==="[object Symbol]"){return"symbol"}if(t==="[object Int8Array]"){return"int8array"}if(t==="[object Uint8Array]"){return"uint8array"}if(t==="[object Uint8ClampedArray]"){return"uint8clampedarray"}if(t==="[object Int16Array]"){return"int16array"}if(t==="[object Uint16Array]"){return"uint16array"}if(t==="[object Int32Array]"){return"int32array"}if(t==="[object Uint32Array]"){return"uint32array"}if(t==="[object Float32Array]"){return"float32array"}if(t==="[object Float64Array]"){return"float64array"}return"object"}},76919:(e,t,n)=>{try{var r=n(31669);if(typeof r.inherits!=="function")throw"";e.exports=r.inherits}catch(t){e.exports=n(27526)}},27526:e=>{if(typeof Object.create==="function"){e.exports=function inherits(e,t){if(t){e.super_=t;e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}})}}}else{e.exports=function inherits(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype;e.prototype=new n;e.prototype.constructor=e}}}},47240:(e,t,n)=>{"use strict";var r=n(97513);var s={get:"function",set:"function",configurable:"boolean",enumerable:"boolean"};function isAccessorDescriptor(e,t){if(typeof t==="string"){var n=Object.getOwnPropertyDescriptor(e,t);return typeof n!=="undefined"}if(r(e)!=="object"){return false}if(has(e,"value")||has(e,"writable")){return false}if(!has(e,"get")||typeof e.get!=="function"){return false}if(has(e,"set")&&typeof e[i]!=="function"&&typeof e[i]!=="undefined"){return false}for(var i in e){if(!s.hasOwnProperty(i)){continue}if(r(e[i])===s[i]){continue}if(typeof e[i]!=="undefined"){return false}}return true}function has(e,t){return{}.hasOwnProperty.call(e,t)}e.exports=isAccessorDescriptor},97513:e=>{var t=Object.prototype.toString;e.exports=function kindOf(e){if(e===void 0)return"undefined";if(e===null)return"null";var n=typeof e;if(n==="boolean")return"boolean";if(n==="string")return"string";if(n==="number")return"number";if(n==="symbol")return"symbol";if(n==="function"){return isGeneratorFn(e)?"generatorfunction":"function"}if(isArray(e))return"array";if(isBuffer(e))return"buffer";if(isArguments(e))return"arguments";if(isDate(e))return"date";if(isError(e))return"error";if(isRegexp(e))return"regexp";switch(ctorName(e)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(isGeneratorObj(e)){return"generator"}n=t.call(e);switch(n){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return n.slice(8,-1).toLowerCase().replace(/\s/g,"")};function ctorName(e){return typeof e.constructor==="function"?e.constructor.name:null}function isArray(e){if(Array.isArray)return Array.isArray(e);return e instanceof Array}function isError(e){return e instanceof Error||typeof e.message==="string"&&e.constructor&&typeof e.constructor.stackTraceLimit==="number"}function isDate(e){if(e instanceof Date)return true;return typeof e.toDateString==="function"&&typeof e.getDate==="function"&&typeof e.setDate==="function"}function isRegexp(e){if(e instanceof RegExp)return true;return typeof e.flags==="string"&&typeof e.ignoreCase==="boolean"&&typeof e.multiline==="boolean"&&typeof e.global==="boolean"}function isGeneratorFn(e,t){return ctorName(e)==="GeneratorFunction"}function isGeneratorObj(e){return typeof e.throw==="function"&&typeof e.return==="function"&&typeof e.next==="function"}function isArguments(e){try{if(typeof e.length==="number"&&typeof e.callee==="function"){return true}}catch(e){if(e.message.indexOf("callee")!==-1){return true}}return false}function isBuffer(e){if(e.constructor&&typeof e.constructor.isBuffer==="function"){return e.constructor.isBuffer(e)}return false}},6324:e=>{e.exports=function(e){return e!=null&&(isBuffer(e)||isSlowBuffer(e)||!!e._isBuffer)};function isBuffer(e){return!!e.constructor&&typeof e.constructor.isBuffer==="function"&&e.constructor.isBuffer(e)}function isSlowBuffer(e){return typeof e.readFloatLE==="function"&&typeof e.slice==="function"&&isBuffer(e.slice(0,0))}},43700:(e,t,n)=>{"use strict";var r=n(64522);e.exports=function isDataDescriptor(e,t){var n={configurable:"boolean",enumerable:"boolean",writable:"boolean"};if(r(e)!=="object"){return false}if(typeof t==="string"){var s=Object.getOwnPropertyDescriptor(e,t);return typeof s!=="undefined"}if(!("value"in e)&&!("writable"in e)){return false}for(var i in e){if(i==="value")continue;if(!n.hasOwnProperty(i)){continue}if(r(e[i])===n[i]){continue}if(typeof e[i]!=="undefined"){return false}}return true}},64522:e=>{var t=Object.prototype.toString;e.exports=function kindOf(e){if(e===void 0)return"undefined";if(e===null)return"null";var n=typeof e;if(n==="boolean")return"boolean";if(n==="string")return"string";if(n==="number")return"number";if(n==="symbol")return"symbol";if(n==="function"){return isGeneratorFn(e)?"generatorfunction":"function"}if(isArray(e))return"array";if(isBuffer(e))return"buffer";if(isArguments(e))return"arguments";if(isDate(e))return"date";if(isError(e))return"error";if(isRegexp(e))return"regexp";switch(ctorName(e)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(isGeneratorObj(e)){return"generator"}n=t.call(e);switch(n){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return n.slice(8,-1).toLowerCase().replace(/\s/g,"")};function ctorName(e){return typeof e.constructor==="function"?e.constructor.name:null}function isArray(e){if(Array.isArray)return Array.isArray(e);return e instanceof Array}function isError(e){return e instanceof Error||typeof e.message==="string"&&e.constructor&&typeof e.constructor.stackTraceLimit==="number"}function isDate(e){if(e instanceof Date)return true;return typeof e.toDateString==="function"&&typeof e.getDate==="function"&&typeof e.setDate==="function"}function isRegexp(e){if(e instanceof RegExp)return true;return typeof e.flags==="string"&&typeof e.ignoreCase==="boolean"&&typeof e.multiline==="boolean"&&typeof e.global==="boolean"}function isGeneratorFn(e,t){return ctorName(e)==="GeneratorFunction"}function isGeneratorObj(e){return typeof e.throw==="function"&&typeof e.return==="function"&&typeof e.next==="function"}function isArguments(e){try{if(typeof e.length==="number"&&typeof e.callee==="function"){return true}}catch(e){if(e.message.indexOf("callee")!==-1){return true}}return false}function isBuffer(e){if(e.constructor&&typeof e.constructor.isBuffer==="function"){return e.constructor.isBuffer(e)}return false}},85721:(e,t,n)=>{"use strict";var r=n(61526);var s=n(47240);var i=n(43700);e.exports=function isDescriptor(e,t){if(r(e)!=="object"){return false}if("get"in e){return s(e,t)}return i(e,t)}},61526:e=>{var t=Object.prototype.toString;e.exports=function kindOf(e){if(e===void 0)return"undefined";if(e===null)return"null";var n=typeof e;if(n==="boolean")return"boolean";if(n==="string")return"string";if(n==="number")return"number";if(n==="symbol")return"symbol";if(n==="function"){return isGeneratorFn(e)?"generatorfunction":"function"}if(isArray(e))return"array";if(isBuffer(e))return"buffer";if(isArguments(e))return"arguments";if(isDate(e))return"date";if(isError(e))return"error";if(isRegexp(e))return"regexp";switch(ctorName(e)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(isGeneratorObj(e)){return"generator"}n=t.call(e);switch(n){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return n.slice(8,-1).toLowerCase().replace(/\s/g,"")};function ctorName(e){return typeof e.constructor==="function"?e.constructor.name:null}function isArray(e){if(Array.isArray)return Array.isArray(e);return e instanceof Array}function isError(e){return e instanceof Error||typeof e.message==="string"&&e.constructor&&typeof e.constructor.stackTraceLimit==="number"}function isDate(e){if(e instanceof Date)return true;return typeof e.toDateString==="function"&&typeof e.getDate==="function"&&typeof e.setDate==="function"}function isRegexp(e){if(e instanceof RegExp)return true;return typeof e.flags==="string"&&typeof e.ignoreCase==="boolean"&&typeof e.multiline==="boolean"&&typeof e.global==="boolean"}function isGeneratorFn(e,t){return ctorName(e)==="GeneratorFunction"}function isGeneratorObj(e){return typeof e.throw==="function"&&typeof e.return==="function"&&typeof e.next==="function"}function isArguments(e){try{if(typeof e.length==="number"&&typeof e.callee==="function"){return true}}catch(e){if(e.message.indexOf("callee")!==-1){return true}}return false}function isBuffer(e){if(e.constructor&&typeof e.constructor.isBuffer==="function"){return e.constructor.isBuffer(e)}return false}},77242:e=>{"use strict";e.exports=function isExtendable(e){return typeof e!=="undefined"&&e!==null&&(typeof e==="object"||typeof e==="function")}},86110:(e,t,n)=>{"use strict";var r=n(49413);e.exports=function isNumber(e){var t=r(e);if(t==="string"){if(!e.trim())return false}else if(t!=="number"){return false}return e-e+1>=0}},58263:(e,t,n)=>{"use strict";var r=n(97328);function isObjectObject(e){return r(e)===true&&Object.prototype.toString.call(e)==="[object Object]"}e.exports=function isPlainObject(e){var t,n;if(isObjectObject(e)===false)return false;t=e.constructor;if(typeof t!=="function")return false;n=t.prototype;if(isObjectObject(n)===false)return false;if(n.hasOwnProperty("isPrototypeOf")===false){return false}return true}},59842:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return t.call(e)=="[object Array]"}},97328:e=>{"use strict";e.exports=function isObject(e){return e!=null&&typeof e==="object"&&Array.isArray(e)===false}},15235:e=>{"use strict";e.exports=parseJson;function parseJson(e,t,n){n=n||20;try{return JSON.parse(e,t)}catch(t){if(typeof e!=="string"){const t=Array.isArray(e)&&e.length===0;const n="Cannot parse "+(t?"an empty array":String(e));throw new TypeError(n)}const r=t.message.match(/^Unexpected token.*position\s+(\d+)/i);const s=r?+r[1]:t.message.match(/^Unexpected end of JSON.*/i)?e.length-1:null;if(s!=null){const r=s<=n?0:s-n;const i=s+n>=e.length?e.length:s+n;t.message+=` while parsing near '${r===0?"":"..."}${e.slice(r,i)}${i===e.length?"":"..."}'`}else{t.message+=` while parsing '${e.slice(0,n*2)}'`}throw t}}},97084:e=>{"use strict";var t=e.exports=function(e,t,n){if(typeof t=="function"){n=t;t={}}n=t.cb||n;var r=typeof n=="function"?n:n.pre||function(){};var s=n.post||function(){};_traverse(t,r,s,e,"",e)};t.keywords={additionalItems:true,items:true,contains:true,additionalProperties:true,propertyNames:true,not:true};t.arrayKeywords={items:true,allOf:true,anyOf:true,oneOf:true};t.propsKeywords={definitions:true,properties:true,patternProperties:true,dependencies:true};t.skipKeywords={default:true,enum:true,const:true,required:true,maximum:true,minimum:true,exclusiveMaximum:true,exclusiveMinimum:true,multipleOf:true,maxLength:true,minLength:true,pattern:true,format:true,maxItems:true,minItems:true,uniqueItems:true,maxProperties:true,minProperties:true};function _traverse(e,n,r,s,i,o,a,c,l,u){if(s&&typeof s=="object"&&!Array.isArray(s)){n(s,i,o,a,c,l,u);for(var f in s){var p=s[f];if(Array.isArray(p)){if(f in t.arrayKeywords){for(var d=0;d{var r=n(6324);var s=Object.prototype.toString;e.exports=function kindOf(e){if(typeof e==="undefined"){return"undefined"}if(e===null){return"null"}if(e===true||e===false||e instanceof Boolean){return"boolean"}if(typeof e==="string"||e instanceof String){return"string"}if(typeof e==="number"||e instanceof Number){return"number"}if(typeof e==="function"||e instanceof Function){return"function"}if(typeof Array.isArray!=="undefined"&&Array.isArray(e)){return"array"}if(e instanceof RegExp){return"regexp"}if(e instanceof Date){return"date"}var t=s.call(e);if(t==="[object RegExp]"){return"regexp"}if(t==="[object Date]"){return"date"}if(t==="[object Arguments]"){return"arguments"}if(t==="[object Error]"){return"error"}if(r(e)){return"buffer"}if(t==="[object Set]"){return"set"}if(t==="[object WeakSet]"){return"weakset"}if(t==="[object Map]"){return"map"}if(t==="[object WeakMap]"){return"weakmap"}if(t==="[object Symbol]"){return"symbol"}if(t==="[object Int8Array]"){return"int8array"}if(t==="[object Uint8Array]"){return"uint8array"}if(t==="[object Uint8ClampedArray]"){return"uint8clampedarray"}if(t==="[object Int16Array]"){return"int16array"}if(t==="[object Uint16Array]"){return"uint16array"}if(t==="[object Int32Array]"){return"int32array"}if(t==="[object Uint32Array]"){return"uint32array"}if(t==="[object Float32Array]"){return"float32array"}if(t==="[object Float64Array]"){return"float64array"}return"object"}},49448:e=>{"use strict";class LoadingLoaderError extends Error{constructor(e){super(e);this.name="LoaderRunnerError";Error.captureStackTrace(this,this.constructor)}}e.exports=LoadingLoaderError},68318:(e,t,n)=>{var r=n(35747);var s=r.readFile.bind(r);var i=n(55102);function utf8BufferToString(e){var t=e.toString("utf-8");if(t.charCodeAt(0)===65279){return t.substr(1)}else{return t}}function splitQuery(e){var t=e.indexOf("?");if(t<0)return[e,""];return[e.substr(0,t),e.substr(t)]}function dirname(e){if(e==="/")return"/";var t=e.lastIndexOf("/");var n=e.lastIndexOf("\\");var r=e.indexOf("/");var s=e.indexOf("\\");var i=t>n?t:n;var o=t>n?r:s;if(i<0)return e;if(i===o)return e.substr(0,i+1);return e.substr(0,i)}function createLoaderObject(e){var t={path:null,query:null,options:null,ident:null,normal:null,pitch:null,raw:null,data:null,pitchExecuted:false,normalExecuted:false};Object.defineProperty(t,"request",{enumerable:true,get:function(){return t.path+t.query},set:function(e){if(typeof e==="string"){var n=splitQuery(e);t.path=n[0];t.query=n[1];t.options=undefined;t.ident=undefined}else{if(!e.loader)throw new Error("request should be a string or object with loader and object ("+JSON.stringify(e)+")");t.path=e.loader;t.options=e.options;t.ident=e.ident;if(t.options===null)t.query="";else if(t.options===undefined)t.query="";else if(typeof t.options==="string")t.query="?"+t.options;else if(t.ident)t.query="??"+t.ident;else if(typeof t.options==="object"&&t.options.ident)t.query="??"+t.options.ident;else t.query="?"+JSON.stringify(t.options)}}});t.request=e;if(Object.preventExtensions){Object.preventExtensions(t)}return t}function runSyncOrAsync(e,t,n,r){var s=true;var i=false;var o=false;var a=false;t.async=function async(){if(i){if(a)return;throw new Error("async(): The callback was already called.")}s=false;return c};var c=t.callback=function(){if(i){if(a)return;throw new Error("callback(): The callback was already called.")}i=true;s=false;try{r.apply(null,arguments)}catch(e){o=true;throw e}};try{var l=function LOADER_EXECUTION(){return e.apply(t,n)}();if(s){i=true;if(l===undefined)return r();if(l&&typeof l==="object"&&typeof l.then==="function"){return l.then(function(e){r(null,e)},r)}return r(null,l)}}catch(e){if(o)throw e;if(i){if(typeof e==="object"&&e.stack)console.error(e.stack);else console.error(e);return}i=true;a=true;r(e)}}function convertArgs(e,t){if(!t&&Buffer.isBuffer(e[0]))e[0]=utf8BufferToString(e[0]);else if(t&&typeof e[0]==="string")e[0]=new Buffer(e[0],"utf-8")}function iteratePitchingLoaders(e,t,n){if(t.loaderIndex>=t.loaders.length)return processResource(e,t,n);var r=t.loaders[t.loaderIndex];if(r.pitchExecuted){t.loaderIndex++;return iteratePitchingLoaders(e,t,n)}i(r,function(s){if(s){t.cacheable(false);return n(s)}var i=r.pitch;r.pitchExecuted=true;if(!i)return iteratePitchingLoaders(e,t,n);runSyncOrAsync(i,t,[t.remainingRequest,t.previousRequest,r.data={}],function(r){if(r)return n(r);var s=Array.prototype.slice.call(arguments,1);if(s.length>0){t.loaderIndex--;iterateNormalLoaders(e,t,s,n)}else{iteratePitchingLoaders(e,t,n)}})})}function processResource(e,t,n){t.loaderIndex=t.loaders.length-1;var r=t.resourcePath;if(r){t.addDependency(r);e.readResource(r,function(r,s){if(r)return n(r);e.resourceBuffer=s;iterateNormalLoaders(e,t,[s],n)})}else{iterateNormalLoaders(e,t,[null],n)}}function iterateNormalLoaders(e,t,n,r){if(t.loaderIndex<0)return r(null,n);var s=t.loaders[t.loaderIndex];if(s.normalExecuted){t.loaderIndex--;return iterateNormalLoaders(e,t,n,r)}var i=s.normal;s.normalExecuted=true;if(!i){return iterateNormalLoaders(e,t,n,r)}convertArgs(n,s.raw);runSyncOrAsync(i,t,n,function(n){if(n)return r(n);var s=Array.prototype.slice.call(arguments,1);iterateNormalLoaders(e,t,s,r)})}t.getContext=function getContext(e){var t=splitQuery(e);return dirname(t[0])};t.runLoaders=function runLoaders(e,t){var n=e.resource||"";var r=e.loaders||[];var i=e.context||{};var o=e.readResource||s;var a=n&&splitQuery(n);var c=a?a[0]:undefined;var l=a?a[1]:undefined;var u=c?dirname(c):null;var f=true;var p=[];var d=[];r=r.map(createLoaderObject);i.context=u;i.loaderIndex=0;i.loaders=r;i.resourcePath=c;i.resourceQuery=l;i.async=null;i.callback=null;i.cacheable=function cacheable(e){if(e===false){f=false}};i.dependency=i.addDependency=function addDependency(e){p.push(e)};i.addContextDependency=function addContextDependency(e){d.push(e)};i.getDependencies=function getDependencies(){return p.slice()};i.getContextDependencies=function getContextDependencies(){return d.slice()};i.clearDependencies=function clearDependencies(){p.length=0;d.length=0;f=true};Object.defineProperty(i,"resource",{enumerable:true,get:function(){if(i.resourcePath===undefined)return undefined;return i.resourcePath+i.resourceQuery},set:function(e){var t=e&&splitQuery(e);i.resourcePath=t?t[0]:undefined;i.resourceQuery=t?t[1]:undefined}});Object.defineProperty(i,"request",{enumerable:true,get:function(){return i.loaders.map(function(e){return e.request}).concat(i.resource||"").join("!")}});Object.defineProperty(i,"remainingRequest",{enumerable:true,get:function(){if(i.loaderIndex>=i.loaders.length-1&&!i.resource)return"";return i.loaders.slice(i.loaderIndex+1).map(function(e){return e.request}).concat(i.resource||"").join("!")}});Object.defineProperty(i,"currentRequest",{enumerable:true,get:function(){return i.loaders.slice(i.loaderIndex).map(function(e){return e.request}).concat(i.resource||"").join("!")}});Object.defineProperty(i,"previousRequest",{enumerable:true,get:function(){return i.loaders.slice(0,i.loaderIndex).map(function(e){return e.request}).join("!")}});Object.defineProperty(i,"query",{enumerable:true,get:function(){var e=i.loaders[i.loaderIndex];return e.options&&typeof e.options==="object"?e.options:e.query}});Object.defineProperty(i,"data",{enumerable:true,get:function(){return i.loaders[i.loaderIndex].data}});if(Object.preventExtensions){Object.preventExtensions(i)}var h={resourceBuffer:null,readResource:o};iteratePitchingLoaders(h,i,function(e,n){if(e){return t(e,{cacheable:f,fileDependencies:p,contextDependencies:d})}t(null,{result:n,resourceBuffer:h.resourceBuffer,cacheable:f,fileDependencies:p,contextDependencies:d})})}},55102:(e,t,n)=>{var r=n(49448);e.exports=function loadLoader(e,t){if(typeof System==="object"&&typeof System.import==="function"){System.import(e.path).catch(t).then(function(n){e.normal=typeof n==="function"?n:n.default;e.pitch=n.pitch;e.raw=n.raw;if(typeof e.normal!=="function"&&typeof e.pitch!=="function"){return t(new r("Module '"+e.path+"' is not a loader (must have normal or pitch function)"))}t()})}else{try{var n=require(e.path)}catch(n){if(n instanceof Error&&n.code==="EMFILE"){var s=loadLoader.bind(null,e,t);if(typeof setImmediate==="function"){return setImmediate(s)}else{return process.nextTick(s)}}return t(n)}if(typeof n!=="function"&&typeof n!=="object"){return t(new r("Module '"+e.path+"' is not a loader (export function or es6 module)"))}e.normal=typeof n==="function"?n:n.default;e.pitch=n.pitch;e.raw=n.raw;if(typeof e.normal!=="function"&&typeof e.pitch!=="function"){return t(new r("Module '"+e.path+"' is not a loader (must have normal or pitch function)"))}t()}}},22219:e=>{"use strict";var t=Object.prototype.hasOwnProperty;e.exports=MapCache;function MapCache(e){this.__data__=e||{}}MapCache.prototype.set=function mapSet(e,t){if(e!=="__proto__"){this.__data__[e]=t}return this};MapCache.prototype.get=function mapGet(e){return e==="__proto__"?undefined:this.__data__[e]};MapCache.prototype.has=function mapHas(e){return e!=="__proto__"&&t.call(this.__data__,e)};MapCache.prototype.del=function mapDelete(e){return this.has(e)&&delete this.__data__[e]}},76519:(e,t,n)=>{"use strict";var r=n(31669);var s=n(61345);e.exports=function mapVisit(e,t,n){if(isObject(n)){return s.apply(null,arguments)}if(!Array.isArray(n)){throw new TypeError("expected an array: "+r.inspect(n))}var i=[].slice.call(arguments,3);for(var o=0;o{var r=n(23375);var s=n(55);var i=n(30675);var o=i.Readable;var a=i.Writable;function MemoryFileSystemError(e,t){Error.call(this);if(Error.captureStackTrace)Error.captureStackTrace(this,arguments.callee);this.code=e.code;this.errno=e.errno;this.message=e.description;this.path=t}MemoryFileSystemError.prototype=new Error;function MemoryFileSystem(e){this.data=e||{}}e.exports=MemoryFileSystem;function isDir(e){if(typeof e!=="object")return false;return e[""]===true}function isFile(e){if(typeof e!=="object")return false;return!e[""]}function pathToArray(e){e=r(e);var t=/^\//.test(e);if(!t){if(!/^[A-Za-z]:/.test(e)){throw new MemoryFileSystemError(s.code.EINVAL,e)}e=e.replace(/[\\\/]+/g,"\\");e=e.split(/[\\\/]/);e[0]=e[0].toUpperCase()}else{e=e.replace(/\/+/g,"/");e=e.substr(1).split("/")}if(!e[e.length-1])e.pop();return e}function trueFn(){return true}function falseFn(){return false}MemoryFileSystem.prototype.meta=function(e){var t=pathToArray(e);var n=this.data;for(var r=0;r{var r=n(23375);var s=/^[A-Z]:([\\\/]|$)/i;var i=/^\//i;e.exports=function join(e,t){if(!t)return r(e);if(s.test(t))return r(t.replace(/\//g,"\\"));if(i.test(t))return r(t);if(e=="/")return r(e+t);if(s.test(e))return r(e.replace(/\//g,"\\")+"\\"+t.replace(/\//g,"\\"));if(i.test(e))return r(e+"/"+t);return r(e+"/"+t)}},23375:e=>{e.exports=function normalize(e){var t=e.split(/(\\+|\/+)/);if(t.length===1)return e;var n=[];var r=0;for(var s=0,i=false;s{"use strict";var r=n(31669);var s=n(40538);var i=n(72325);var o=n(8370);var a=n(83759);var c=n(82703);var l=n(2265);var u=n(15546);var f=1024*64;function micromatch(e,t,n){t=u.arrayify(t);e=u.arrayify(e);var r=t.length;if(e.length===0||r===0){return[]}if(r===1){return micromatch.match(e,t[0],n)}var s=[];var i=[];var o=-1;while(++of){throw new Error("expected pattern to be less than "+f+" characters")}function makeRe(){var n=micromatch.create(e,t);var r=[];var s=n.map(function(e){e.ast.state=e.state;r.push(e.ast);return e.output});var o=i(s.join("|"),t);Object.defineProperty(o,"result",{configurable:true,enumerable:false,value:r});return o}return memoize("makeRe",e,t,makeRe)};micromatch.braces=function(e,t){if(typeof e!=="string"&&!Array.isArray(e)){throw new TypeError("expected pattern to be an array or string")}function expand(){if(t&&t.nobrace===true||!/\{.*\}/.test(e)){return u.arrayify(e)}return s(e,t)}return memoize("braces",e,t,expand)};micromatch.braceExpand=function(e,t){var n=o({},t,{expand:true});return micromatch.braces(e,n)};micromatch.create=function(e,t){return memoize("create",e,t,function(){function create(e,t){return micromatch.compile(micromatch.parse(e,t),t)}e=micromatch.braces(e,t);var n=e.length;var r=-1;var s=[];while(++r{e.exports=new(n(63096))},83759:(e,t,n)=>{"use strict";var r=n(1761);var s=n(69420);e.exports=function(e){var t=e.compiler.compilers;var n=e.options;e.use(r.compilers);var i=t.escape;var o=t.qmark;var a=t.slash;var c=t.star;var l=t.text;var u=t.plus;var f=t.dot;if(n.extglob===false||n.noext===true){e.compiler.use(escapeExtglobs)}else{e.use(s.compilers)}e.use(function(){this.options.star=this.options.star||function(){return"[^\\\\/]*?"}});e.compiler.set("dot",f).set("escape",i).set("plus",u).set("slash",a).set("qmark",o).set("star",c).set("text",l)};function escapeExtglobs(e){e.set("paren",function(e){var t="";visit(e,function(e){if(e.val)t+=(/^\W/.test(e.val)?"\\":"")+e.val});return this.emit(t,e)});function visit(e,t){return e.nodes?mapVisit(e.nodes,t):t(e)}function mapVisit(e,t){var n=e.length;var r=-1;while(++r{"use strict";var r=n(69420);var s=n(1761);var i=n(50466);var o=n(72325);var a;var c="([!@*?+]?\\(|\\)|\\[:?(?=.*?:?\\])|:?\\]|[*+?!^$.\\\\/])+";var l=function(e){return a||(a=textRegex(c))};e.exports=function(e){var t=e.parser.parsers;e.use(s.parsers);var n=t.escape;var i=t.slash;var o=t.qmark;var a=t.plus;var c=t.star;var u=t.dot;e.use(r.parsers);e.parser.use(function(){this.notRegex=/^\!+(?!\()/}).capture("escape",n).capture("slash",i).capture("qmark",o).capture("star",c).capture("plus",a).capture("dot",u).capture("text",function(){if(this.isInside("bracket"))return;var e=this.position();var t=this.match(l(this.options));if(!t||!t[0])return;var n=t[0].replace(/([[\]^$])/g,"\\$1");return e({type:"text",val:n})})};function textRegex(e){var t=i.create(e,{contains:true,strictClose:false});var n="(?:[\\^]|\\\\|";return o(n+t+")",{strictClose:false})}},15546:(e,t,n)=>{"use strict";var r=e.exports;var s=n(85622);var i=n(74253);r.define=n(14980);r.diff=n(26164);r.extend=n(8370);r.pick=n(17751);r.typeOf=n(442);r.unique=n(40068);r.isWindows=function(){return s.sep==="\\"||process.platform==="win32"};r.instantiate=function(e,t){var n;if(r.typeOf(e)==="object"&&e.snapdragon){n=e.snapdragon}else if(r.typeOf(t)==="object"&&t.snapdragon){n=t.snapdragon}else{n=new i(t)}r.define(n,"parse",function(e,t){var n=i.prototype.parse.apply(this,arguments);n.input=e;var s=this.parser.stack.pop();if(s&&this.options.strictErrors!==true){var o=s.nodes[0];var a=s.nodes[1];if(s.type==="bracket"){if(a.val.charAt(0)==="["){a.val="\\"+a.val}}else{o.val="\\"+o.val;var c=o.parent.nodes[1];if(c.type==="star"){c.loose=true}}}r.define(n,"parser",this.parser);return n});return n};r.createKey=function(e,t){if(r.typeOf(t)!=="object"){return e}var n=e;var s=Object.keys(t);for(var i=0;i{"use strict";var r=n(97328);var s=n(85721);var i=typeof Reflect!=="undefined"&&Reflect.defineProperty?Reflect.defineProperty:Object.defineProperty;e.exports=function defineProperty(e,t,n){if(!r(e)&&typeof e!=="function"&&!Array.isArray(e)){throw new TypeError("expected an object, function, or array")}if(typeof t!=="string"){throw new TypeError('expected "key" to be a string')}if(s(n)){i(e,t,n);return e}i(e,t,{configurable:true,enumerable:false,writable:true,value:n});return e}},8370:(e,t,n)=>{"use strict";var r=n(73663);var s=n(93604);e.exports=Object.assign||function(e){if(e===null||typeof e==="undefined"){throw new TypeError("Cannot convert undefined or null to object")}if(!isObject(e)){e={}}for(var t=1;t{"use strict";var r=n(58263);e.exports=function isExtendable(e){return r(e)||typeof e==="function"||Array.isArray(e)}},442:e=>{var t=Object.prototype.toString;e.exports=function kindOf(e){if(e===void 0)return"undefined";if(e===null)return"null";var n=typeof e;if(n==="boolean")return"boolean";if(n==="string")return"string";if(n==="number")return"number";if(n==="symbol")return"symbol";if(n==="function"){return isGeneratorFn(e)?"generatorfunction":"function"}if(isArray(e))return"array";if(isBuffer(e))return"buffer";if(isArguments(e))return"arguments";if(isDate(e))return"date";if(isError(e))return"error";if(isRegexp(e))return"regexp";switch(ctorName(e)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(isGeneratorObj(e)){return"generator"}n=t.call(e);switch(n){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return n.slice(8,-1).toLowerCase().replace(/\s/g,"")};function ctorName(e){return typeof e.constructor==="function"?e.constructor.name:null}function isArray(e){if(Array.isArray)return Array.isArray(e);return e instanceof Array}function isError(e){return e instanceof Error||typeof e.message==="string"&&e.constructor&&typeof e.constructor.stackTraceLimit==="number"}function isDate(e){if(e instanceof Date)return true;return typeof e.toDateString==="function"&&typeof e.getDate==="function"&&typeof e.setDate==="function"}function isRegexp(e){if(e instanceof RegExp)return true;return typeof e.flags==="string"&&typeof e.ignoreCase==="boolean"&&typeof e.multiline==="boolean"&&typeof e.global==="boolean"}function isGeneratorFn(e,t){return ctorName(e)==="GeneratorFunction"}function isGeneratorObj(e){return typeof e.throw==="function"&&typeof e.return==="function"&&typeof e.next==="function"}function isArguments(e){try{if(typeof e.length==="number"&&typeof e.callee==="function"){return true}}catch(e){if(e.message.indexOf("callee")!==-1){return true}}return false}function isBuffer(e){if(e.constructor&&typeof e.constructor.isBuffer==="function"){return e.constructor.isBuffer(e)}return false}},99657:(e,t,n)=>{"use strict";var r=n(55662);var s=n(85451);function mixinDeep(e,t){var n=arguments.length,r=0;while(++r{"use strict";var r=n(58263);e.exports=function isExtendable(e){return r(e)||typeof e==="function"||Array.isArray(e)}},1761:(e,t,n)=>{"use strict";var r=n(31669);var s=n(72325);var i=n(38091);var o=n(29454);var a=n(35253);var c=n(1416);var l=n(1838);var u=1024*64;function nanomatch(e,t,n){t=l.arrayify(t);e=l.arrayify(e);var r=t.length;if(e.length===0||r===0){return[]}if(r===1){return nanomatch.match(e,t[0],n)}var s=false;var i=[];var o=[];var a=-1;while(++au){throw new Error("expected pattern to be less than "+u+" characters")}function makeRe(){var n=l.extend({wrap:false},t);var r=nanomatch.create(e,n);var i=s(r.output,n);l.define(i,"result",r);return i}return memoize("makeRe",e,t,makeRe)};nanomatch.create=function(e,t){if(typeof e!=="string"){throw new TypeError("expected a string")}function create(){return nanomatch.compile(nanomatch.parse(e,t),t)}return memoize("create",e,t,create)};nanomatch.parse=function(e,t){if(typeof e!=="string"){throw new TypeError("expected a string")}function parse(){var n=l.instantiate(null,t);a(n,t);var r=n.parse(e,t);l.define(r,"snapdragon",n);r.input=e;return r}return memoize("parse",e,t,parse)};nanomatch.compile=function(e,t){if(typeof e==="string"){e=nanomatch.parse(e,t)}function compile(){var n=l.instantiate(e,t);o(n,t);return n.compile(e,t)}return memoize("compile",e.input,t,compile)};nanomatch.clearCache=function(){nanomatch.cache.__data__={}};function compose(e,t,n){var r;return memoize("compose",String(e),t,function(){return function(s){if(!r){r=[];for(var i=0;i{e.exports=new(n(63096))},29454:e=>{"use strict";e.exports=function(e,t){function slash(){if(t&&typeof t.slash==="string"){return t.slash}if(t&&typeof t.slash==="function"){return t.slash.call(e)}return"\\\\/"}function star(){if(t&&typeof t.star==="string"){return t.star}if(t&&typeof t.star==="function"){return t.star.call(e)}return"[^"+slash()+"]*?"}var n=e.ast=e.parser.ast;n.state=e.parser.state;e.compiler.state=n.state;e.compiler.set("not",function(e){var t=this.prev();if(this.options.nonegate===true||t.type!=="bos"){return this.emit("\\"+e.val,e)}return this.emit(e.val,e)}).set("escape",function(e){if(this.options.unescape&&/^[-\w_.]/.test(e.val)){return this.emit(e.val,e)}return this.emit("\\"+e.val,e)}).set("quoted",function(e){return this.emit(e.val,e)}).set("dollar",function(e){if(e.parent.type==="bracket"){return this.emit(e.val,e)}return this.emit("\\"+e.val,e)}).set("dot",function(e){if(e.dotfiles===true)this.dotfiles=true;return this.emit("\\"+e.val,e)}).set("backslash",function(e){return this.emit(e.val,e)}).set("slash",function(e,t,n){var r="["+slash()+"]";var s=e.parent;var i=this.prev();while(s.type==="paren"&&!s.hasSlash){s.hasSlash=true;s=s.parent}if(i.addQmark){r+="?"}if(e.rest.slice(0,2)==="\\b"){return this.emit(r,e)}if(e.parsed==="**"||e.parsed==="./**"){this.output="(?:"+this.output;return this.emit(r+")?",e)}if(e.parsed==="!**"&&this.options.nonegate!==true){return this.emit(r+"?\\b",e)}return this.emit(r,e)}).set("bracket",function(e){var t=e.close;var n=!e.escaped?"[":"\\[";var r=e.negated;var s=e.inner;var i=e.val;if(e.escaped===true){s=s.replace(/\\?(\W)/g,"\\$1");r=""}if(s==="]-"){s="\\]\\-"}if(r&&s.indexOf(".")===-1){s+="."}if(r&&s.indexOf("/")===-1){s+="/"}i=n+r+s+t;return this.emit(i,e)}).set("square",function(e){var t=(/^\W/.test(e.val)?"\\":"")+e.val;return this.emit(t,e)}).set("qmark",function(e){var t=this.prev();var n="[^.\\\\/]";if(this.options.dot||t.type!=="bos"&&t.type!=="slash"){n="[^\\\\/]"}if(e.parsed.slice(-1)==="("){var r=e.rest.charAt(0);if(r==="!"||r==="="||r===":"){return this.emit(e.val,e)}}if(e.val.length>1){n+="{"+e.val.length+"}"}return this.emit(n,e)}).set("plus",function(e){var t=e.parsed.slice(-1);if(t==="]"||t===")"){return this.emit(e.val,e)}if(!this.output||/[?*+]/.test(n)&&e.parent.type!=="bracket"){return this.emit("\\+",e)}var n=this.output.slice(-1);if(/\w/.test(n)&&!e.inside){return this.emit("+\\+?",e)}return this.emit("+",e)}).set("globstar",function(e,t,n){if(!this.output){this.state.leadingGlobstar=true}var r=this.prev();var s=this.prev(2);var i=this.next();var o=this.next(2);var a=r.type;var c=e.val;if(r.type==="slash"&&i.type==="slash"){if(s.type==="text"){this.output+="?";if(o.type!=="text"){this.output+="\\b"}}}var l=e.parsed;if(l.charAt(0)==="!"){l=l.slice(1)}var u=e.isInside.paren||e.isInside.brace;if(l&&a!=="slash"&&a!=="bos"&&!u){c=star()}else{c=this.options.dot!==true?"(?:(?!(?:["+slash()+"]|^)\\.).)*?":"(?:(?!(?:["+slash()+"]|^)(?:\\.{1,2})($|["+slash()+"]))(?!\\.{2}).)*?"}if((a==="slash"||a==="bos")&&this.options.dot!==true){c="(?!\\.)"+c}if(r.type==="slash"&&i.type==="slash"&&s.type!=="text"){if(o.type==="text"||o.type==="star"){e.addQmark=true}}if(this.options.capture){c="("+c+")"}return this.emit(c,e)}).set("star",function(e,t,n){var r=t[n-2]||{};var s=this.prev();var i=this.next();var o=s.type;function isStart(e){return e.type==="bos"||e.type==="slash"}if(this.output===""&&this.options.contains!==true){this.output="(?!["+slash()+"])"}if(o==="bracket"&&this.options.bash===false){var a=i&&i.type==="bracket"?star():"*?";if(!s.nodes||s.nodes[1].type!=="posix"){return this.emit(a,e)}}var c=!this.dotfiles&&o!=="text"&&o!=="escape"?this.options.dot?"(?!(?:^|["+slash()+"])\\.{1,2}(?:$|["+slash()+"]))":"(?!\\.)":"";if(isStart(s)||isStart(r)&&o==="not"){if(c!=="(?!\\.)"){c+="(?!(\\.{2}|\\.["+slash()+"]))(?=.)"}else{c+="(?=.)"}}else if(c==="(?!\\.)"){c=""}if(s.type==="not"&&r.type==="bos"&&this.options.dot===true){this.output="(?!\\.)"+this.output}var l=c+star();if(this.options.capture){l="("+l+")"}return this.emit(l,e)}).set("text",function(e){return this.emit(e.val,e)}).set("eos",function(e){var t=this.prev();var n=e.val;this.output="(?:\\.["+slash()+"](?=.))?"+this.output;if(this.state.metachar&&t.type!=="qmark"&&t.type!=="slash"){n+=this.options.contains?"["+slash()+"]?":"(?:["+slash()+"]|$)"}return this.emit(n,e)});if(t&&typeof t.compilers==="function"){t.compilers(e.compiler)}}},35253:(e,t,n)=>{"use strict";var r=n(50466);var s=n(72325);var i;var o="[\\[!*+?$^\"'.\\\\/]+";var a=createTextRegex(o);e.exports=function(e,t){var n=e.parser;var r=n.options;n.state={slashes:0,paths:[]};n.ast.state=n.state;n.capture("prefix",function(){if(this.parsed)return;var e=this.match(/^\.[\\/]/);if(!e)return;this.state.strictOpen=!!this.options.strictOpen;this.state.addPrefix=true}).capture("escape",function(){if(this.isInside("bracket"))return;var e=this.position();var t=this.match(/^(?:\\(.)|([$^]))/);if(!t)return;return e({type:"escape",val:t[2]||t[1]})}).capture("quoted",function(){var e=this.position();var t=this.match(/^["']/);if(!t)return;var n=t[0];if(this.input.indexOf(n)===-1){return e({type:"escape",val:n})}var r=advanceTo(this.input,n);this.consume(r.len);return e({type:"quoted",val:r.esc})}).capture("not",function(){var e=this.parsed;var t=this.position();var n=this.match(this.notRegex||/^!+/);if(!n)return;var r=n[0];var s=r.length%2===1;if(e===""&&!s){r=""}if(e===""&&s&&this.options.nonegate!==true){this.bos.val="(?!^(?:";this.append=")$).*";r=""}return t({type:"not",val:r})}).capture("dot",function(){var e=this.parsed;var t=this.position();var n=this.match(/^\.+/);if(!n)return;var r=n[0];this.state.dot=r==="."&&(e===""||e.slice(-1)==="/");return t({type:"dot",dotfiles:this.state.dot,val:r})}).capture("plus",/^\+(?!\()/).capture("qmark",function(){var e=this.parsed;var t=this.position();var n=this.match(/^\?+(?!\()/);if(!n)return;this.state.metachar=true;this.state.qmark=true;return t({type:"qmark",parsed:e,val:n[0]})}).capture("globstar",function(){var e=this.parsed;var t=this.position();var n=this.match(/^\*{2}(?![*(])(?=[,)/]|$)/);if(!n)return;var s=r.noglobstar!==true?"globstar":"star";var i=t({type:s,parsed:e});this.state.metachar=true;while(this.input.slice(0,4)==="/**/"){this.input=this.input.slice(3)}i.isInside={brace:this.isInside("brace"),paren:this.isInside("paren")};if(s==="globstar"){this.state.globstar=true;i.val="**"}else{this.state.star=true;i.val="*"}return i}).capture("star",function(){var e=this.position();var t=/^(?:\*(?![*(])|[*]{3,}(?!\()|[*]{2}(?![(/]|$)|\*(?=\*\())/;var n=this.match(t);if(!n)return;this.state.metachar=true;this.state.star=true;return e({type:"star",val:n[0]})}).capture("slash",function(){var e=this.position();var t=this.match(/^\//);if(!t)return;this.state.slashes++;return e({type:"slash",val:t[0]})}).capture("backslash",function(){var e=this.position();var t=this.match(/^\\(?![*+?(){}[\]'"])/);if(!t)return;var n=t[0];if(this.isInside("bracket")){n="\\"}else if(n.length>1){n="\\\\"}return e({type:"backslash",val:n})}).capture("square",function(){if(this.isInside("bracket"))return;var e=this.position();var t=this.match(/^\[([^!^\\])\]/);if(!t)return;return e({type:"square",val:t[1]})}).capture("bracket",function(){var e=this.position();var t=this.match(/^(?:\[([!^]?)([^\]]+|\]-)(\]|[^*+?]+)|\[)/);if(!t)return;var n=t[0];var r=t[1]?"^":"";var s=(t[2]||"").replace(/\\\\+/,"\\\\");var i=t[3]||"";if(t[2]&&s.length{"use strict";var r=e.exports;var s=n(85622);var i=n(4873)();var o=n(74253);r.define=n(33472);r.diff=n(26164);r.extend=n(38091);r.pick=n(17751);r.typeOf=n(45708);r.unique=n(40068);r.isEmptyString=function(e){return String(e)===""||String(e)==="./"};r.isWindows=function(){return s.sep==="\\"||i===true};r.last=function(e,t){return e[e.length-(t||1)]};r.instantiate=function(e,t){var n;if(r.typeOf(e)==="object"&&e.snapdragon){n=e.snapdragon}else if(r.typeOf(t)==="object"&&t.snapdragon){n=t.snapdragon}else{n=new o(t)}r.define(n,"parse",function(e,t){var n=o.prototype.parse.call(this,e,t);n.input=e;var s=this.parser.stack.pop();if(s&&this.options.strictErrors!==true){var i=s.nodes[0];var a=s.nodes[1];if(s.type==="bracket"){if(a.val.charAt(0)==="["){a.val="\\"+a.val}}else{i.val="\\"+i.val;var c=i.parent.nodes[1];if(c.type==="star"){c.loose=true}}}r.define(n,"parser",this.parser);return n});return n};r.createKey=function(e,t){if(typeof t==="undefined"){return e}var n=e;for(var r in t){if(t.hasOwnProperty(r)){n+=";"+r+"="+String(t[r])}}return n};r.arrayify=function(e){if(typeof e==="string")return[e];return e?Array.isArray(e)?e:[e]:[]};r.isString=function(e){return typeof e==="string"};r.isRegex=function(e){return r.typeOf(e)==="regexp"};r.isObject=function(e){return r.typeOf(e)==="object"};r.escapeRegex=function(e){return e.replace(/[-[\]{}()^$|*+?.\\/\s]/g,"\\$&")};r.combineDupes=function(e,t){t=r.arrayify(t).join("|").split("|");t=t.map(function(e){return e.replace(/\\?([+*\\/])/g,"\\$1")});var n=t.join("|");var s=new RegExp("("+n+")(?=\\1)","g");return e.replace(s,"")};r.hasSpecialChars=function(e){return/(?:(?:(^|\/)[!.])|[*?+()|[\]{}]|[+@]\()/.test(e)};r.toPosixPath=function(e){return e.replace(/\\+/g,"/")};r.unescape=function(e){return r.toPosixPath(e.replace(/\\(?=[*+?!.])/g,""))};r.stripDrive=function(e){return r.isWindows()?e.replace(/^[a-z]:[\\/]+?/i,"/"):e};r.stripPrefix=function(e){if(e.charAt(0)==="."&&(e.charAt(1)==="/"||e.charAt(1)==="\\")){return e.slice(2)}return e};r.isSimpleChar=function(e){return e.trim()===""||e==="."};r.isSlash=function(e){return e==="/"||e==="\\/"||e==="\\"||e==="\\\\"};r.matchPath=function(e,t){return t&&t.contains?r.containsPattern(e,t):r.equalsPattern(e,t)};r._equals=function(e,t,n){return n===e||n===t};r._contains=function(e,t,n){return e.indexOf(n)!==-1||t.indexOf(n)!==-1};r.equalsPattern=function(e,t){var n=r.unixify(t);t=t||{};return function fn(s){var i=r._equals(s,n(s),e);if(i===true||t.nocase!==true){return i}var o=s.toLowerCase();return r._equals(o,n(o),e)}};r.containsPattern=function(e,t){var n=r.unixify(t);t=t||{};return function(s){var i=r._contains(s,n(s),e);if(i===true||t.nocase!==true){return i}var o=s.toLowerCase();return r._contains(o,n(o),e)}};r.matchBasename=function(e){return function(t){return e.test(t)||e.test(s.basename(t))}};r.identity=function(e){return e};r.value=function(e,t,n){if(n&&n.unixify===false){return e}if(n&&typeof n.unixify==="function"){return n.unixify(e)}return t(e)};r.unixify=function(e){var t=e||{};return function(e){if(t.stripPrefix!==false){e=r.stripPrefix(e)}if(t.unescape===true){e=r.unescape(e)}if(t.unixify===true||r.isWindows()){e=r.toPosixPath(e)}return e}}},33472:(e,t,n)=>{"use strict";var r=n(97328);var s=n(85721);var i=typeof Reflect!=="undefined"&&Reflect.defineProperty?Reflect.defineProperty:Object.defineProperty;e.exports=function defineProperty(e,t,n){if(!r(e)&&typeof e!=="function"&&!Array.isArray(e)){throw new TypeError("expected an object, function, or array")}if(typeof t!=="string"){throw new TypeError('expected "key" to be a string')}if(s(n)){i(e,t,n);return e}i(e,t,{configurable:true,enumerable:false,writable:true,value:n});return e}},38091:(e,t,n)=>{"use strict";var r=n(59080);var s=n(93604);e.exports=Object.assign||function(e){if(e===null||typeof e==="undefined"){throw new TypeError("Cannot convert undefined or null to object")}if(!isObject(e)){e={}}for(var t=1;t{"use strict";var r=n(58263);e.exports=function isExtendable(e){return r(e)||typeof e==="function"||Array.isArray(e)}},4873:(e,t)=>{(function(n){if(t&&typeof t==="object"&&"object"!=="undefined"){e.exports=n()}else if(typeof define==="function"&&define.amd){define([],n)}else if(typeof window!=="undefined"){window.isWindows=n()}else if(typeof global!=="undefined"){global.isWindows=n()}else if(typeof self!=="undefined"){self.isWindows=n()}else{this.isWindows=n()}})(function(){"use strict";return function isWindows(){return process&&(process.platform==="win32"||/^(msys|cygwin)$/.test(process.env.OSTYPE))}})},45708:e=>{var t=Object.prototype.toString;e.exports=function kindOf(e){if(e===void 0)return"undefined";if(e===null)return"null";var n=typeof e;if(n==="boolean")return"boolean";if(n==="string")return"string";if(n==="number")return"number";if(n==="symbol")return"symbol";if(n==="function"){return isGeneratorFn(e)?"generatorfunction":"function"}if(isArray(e))return"array";if(isBuffer(e))return"buffer";if(isArguments(e))return"arguments";if(isDate(e))return"date";if(isError(e))return"error";if(isRegexp(e))return"regexp";switch(ctorName(e)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(isGeneratorObj(e)){return"generator"}n=t.call(e);switch(n){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return n.slice(8,-1).toLowerCase().replace(/\s/g,"")};function ctorName(e){return typeof e.constructor==="function"?e.constructor.name:null}function isArray(e){if(Array.isArray)return Array.isArray(e);return e instanceof Array}function isError(e){return e instanceof Error||typeof e.message==="string"&&e.constructor&&typeof e.constructor.stackTraceLimit==="number"}function isDate(e){if(e instanceof Date)return true;return typeof e.toDateString==="function"&&typeof e.getDate==="function"&&typeof e.setDate==="function"}function isRegexp(e){if(e instanceof RegExp)return true;return typeof e.flags==="string"&&typeof e.ignoreCase==="boolean"&&typeof e.multiline==="boolean"&&typeof e.global==="boolean"}function isGeneratorFn(e,t){return ctorName(e)==="GeneratorFunction"}function isGeneratorObj(e){return typeof e.throw==="function"&&typeof e.return==="function"&&typeof e.next==="function"}function isArguments(e){try{if(typeof e.length==="number"&&typeof e.callee==="function"){return true}}catch(e){if(e.message.indexOf("callee")!==-1){return true}}return false}function isBuffer(e){if(e.constructor&&typeof e.constructor.isBuffer==="function"){return e.constructor.isBuffer(e)}return false}},39669:(e,t,n)=>{t.assert=n.ab+"assert.js";t.buffer=n.ab+"index.js";t.child_process=null;t.cluster=null;t.console=n.ab+"index1.js";t.constants=n.ab+"constants.json";t.crypto=n.ab+"index2.js";t.dgram=null;t.dns=null;t.domain=n.ab+"index3.js";t.events=n.ab+"events.js";t.fs=null;t.http=n.ab+"index4.js";t.https=n.ab+"index5.js";t.module=null;t.net=null;t.os=n.ab+"browser.js";t.path=n.ab+"index6.js";t.punycode=n.ab+"punycode.js";t.process=n.ab+"browser1.js";t.querystring=n.ab+"index7.js";t.readline=null;t.repl=null;t.stream=n.ab+"index8.js";t._stream_duplex=n.ab+"duplex.js";t._stream_passthrough=n.ab+"passthrough.js";t._stream_readable=n.ab+"readable.js";t._stream_transform=n.ab+"transform.js";t._stream_writable=n.ab+"writable.js";t.string_decoder=n.ab+"string_decoder.js";t.sys=n.ab+"util.js";t.timers=n.ab+"main.js";t.tls=null;t.tty=n.ab+"index9.js";t.url=n.ab+"url.js";t.util=n.ab+"util.js";t.vm=n.ab+"index10.js";t.zlib=n.ab+"index11.js"},40858:(e,t,n)=>{"use strict";var r=n(49413);var s=n(44016);var i=n(63018);function copy(e,t,n){if(!isObject(e)){throw new TypeError("expected receiving object to be an object.")}if(!isObject(t)){throw new TypeError("expected providing object to be an object.")}var r=nativeKeys(t);var o=Object.keys(t);var a=r.length;n=arrayify(n);while(a--){var c=r[a];if(has(o,c)){i(e,c,t[c])}else if(!(c in e)&&!has(n,c)){s(e,t,c)}}}function isObject(e){return r(e)==="object"||typeof e==="function"}function has(e,t){t=arrayify(t);var n=t.length;if(isObject(e)){for(var r in e){if(t.indexOf(r)>-1){return true}}var s=nativeKeys(e);return has(s,t)}if(Array.isArray(e)){var i=e;while(n--){if(i.indexOf(t[n])>-1){return true}}return false}throw new TypeError("expected an array or object.")}function arrayify(e){return e?Array.isArray(e)?e:[e]:[]}function hasConstructor(e){return isObject(e)&&typeof e.constructor!=="undefined"}function nativeKeys(e){if(!hasConstructor(e))return[];return Object.getOwnPropertyNames(e)}e.exports=copy;e.exports.has=has},61345:(e,t,n)=>{"use strict";var r=n(97328);e.exports=function visit(e,t,n,s){if(!r(e)&&typeof e!=="function"){throw new Error("object-visit expects `thisArg` to be an object.")}if(typeof t!=="string"){throw new Error("object-visit expects `method` name to be a string")}if(typeof e[t]!=="function"){return e}var i=[].slice.call(arguments,3);n=n||{};for(var o in n){var a=[o,n[o]].concat(i);e[t].apply(e,a)}return e}},17751:(e,t,n)=>{"use strict";var r=n(97328);e.exports=function pick(e,t){if(!r(e)&&typeof e!=="function"){return{}}var n={};if(typeof t==="string"){if(t in e){n[t]=e[t]}return n}var s=t.length;var i=-1;while(++i{function pascalcase(e){if(typeof e!=="string"){throw new TypeError("expected a string.")}e=e.replace(/([A-Z])/g," $1");if(e.length===1){return e.toUpperCase()}e=e.replace(/^[\W_]+|[\W_]+$/g,"").toLowerCase();e=e.charAt(0).toUpperCase()+e.slice(1);return e.replace(/[\W_]+(\w|$)/g,function(e,t){return t.toUpperCase()})}e.exports=pascalcase},20803:e=>{"use strict";e.exports={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"}},37843:e=>{"use strict";if(typeof process==="undefined"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0){e.exports={nextTick:nextTick}}else{e.exports=process}function nextTick(e,t,n,r){if(typeof e!=="function"){throw new TypeError('"callback" argument must be a function')}var s=arguments.length;var i,o;switch(s){case 0:case 1:return process.nextTick(e);case 2:return process.nextTick(function afterTickOne(){e.call(null,t)});case 3:return process.nextTick(function afterTickTwo(){e.call(null,t,n)});case 4:return process.nextTick(function afterTickThree(){e.call(null,t,n,r)});default:i=new Array(s-1);o=0;while(o-1:false};return{enumerable:s("enumerable"),configurable:s("configurable"),writable:s("writable"),value:e}},n=function(n,r,s,i){var o;i=t(s,i);if(typeof r=="object"){for(o in r){if(Object.hasOwnProperty.call(r,o)){i.value=r[o];e(n,o,i)}}return n}return e(n,r,i)};return n})},68139:(e,t,n)=>{e.exports=n(76417).randomBytes},88393:(e,t,n)=>{"use strict";var r=n(37843);var s=Object.keys||function(e){var t=[];for(var n in e){t.push(n)}return t};e.exports=Duplex;var i=Object.create(n(73487));i.inherits=n(76919);var o=n(80284);var a=n(36100);i.inherits(Duplex,o);{var c=s(a.prototype);for(var l=0;l{"use strict";e.exports=PassThrough;var r=n(65469);var s=Object.create(n(73487));s.inherits=n(76919);s.inherits(PassThrough,r);function PassThrough(e){if(!(this instanceof PassThrough))return new PassThrough(e);r.call(this,e)}PassThrough.prototype._transform=function(e,t,n){n(null,e)}},80284:(e,t,n)=>{"use strict";var r=n(37843);e.exports=Readable;var s=n(59842);var i;Readable.ReadableState=ReadableState;var o=n(28614).EventEmitter;var a=function(e,t){return e.listeners(t).length};var c=n(35016);var l=n(84810).Buffer;var u=global.Uint8Array||function(){};function _uint8ArrayToBuffer(e){return l.from(e)}function _isUint8Array(e){return l.isBuffer(e)||e instanceof u}var f=Object.create(n(73487));f.inherits=n(76919);var p=n(31669);var d=void 0;if(p&&p.debuglog){d=p.debuglog("stream")}else{d=function(){}}var h=n(38739);var m=n(3090);var y;f.inherits(Readable,c);var g=["error","close","destroy","pause","resume"];function prependListener(e,t,n){if(typeof e.prependListener==="function")return e.prependListener(t,n);if(!e._events||!e._events[t])e.on(t,n);else if(s(e._events[t]))e._events[t].unshift(n);else e._events[t]=[n,e._events[t]]}function ReadableState(e,t){i=i||n(88393);e=e||{};var r=t instanceof i;this.objectMode=!!e.objectMode;if(r)this.objectMode=this.objectMode||!!e.readableObjectMode;var s=e.highWaterMark;var o=e.readableHighWaterMark;var a=this.objectMode?16:16*1024;if(s||s===0)this.highWaterMark=s;else if(r&&(o||o===0))this.highWaterMark=o;else this.highWaterMark=a;this.highWaterMark=Math.floor(this.highWaterMark);this.buffer=new h;this.length=0;this.pipes=null;this.pipesCount=0;this.flowing=null;this.ended=false;this.endEmitted=false;this.reading=false;this.sync=true;this.needReadable=false;this.emittedReadable=false;this.readableListening=false;this.resumeScheduled=false;this.destroyed=false;this.defaultEncoding=e.defaultEncoding||"utf8";this.awaitDrain=0;this.readingMore=false;this.decoder=null;this.encoding=null;if(e.encoding){if(!y)y=n(96224).s;this.decoder=new y(e.encoding);this.encoding=e.encoding}}function Readable(e){i=i||n(88393);if(!(this instanceof Readable))return new Readable(e);this._readableState=new ReadableState(e,this);this.readable=true;if(e){if(typeof e.read==="function")this._read=e.read;if(typeof e.destroy==="function")this._destroy=e.destroy}c.call(this)}Object.defineProperty(Readable.prototype,"destroyed",{get:function(){if(this._readableState===undefined){return false}return this._readableState.destroyed},set:function(e){if(!this._readableState){return}this._readableState.destroyed=e}});Readable.prototype.destroy=m.destroy;Readable.prototype._undestroy=m.undestroy;Readable.prototype._destroy=function(e,t){this.push(null);t(e)};Readable.prototype.push=function(e,t){var n=this._readableState;var r;if(!n.objectMode){if(typeof e==="string"){t=t||n.defaultEncoding;if(t!==n.encoding){e=l.from(e,t);t=""}r=true}}else{r=true}return readableAddChunk(this,e,t,false,r)};Readable.prototype.unshift=function(e){return readableAddChunk(this,e,null,true,false)};function readableAddChunk(e,t,n,r,s){var i=e._readableState;if(t===null){i.reading=false;onEofChunk(e,i)}else{var o;if(!s)o=chunkInvalid(i,t);if(o){e.emit("error",o)}else if(i.objectMode||t&&t.length>0){if(typeof t!=="string"&&!i.objectMode&&Object.getPrototypeOf(t)!==l.prototype){t=_uint8ArrayToBuffer(t)}if(r){if(i.endEmitted)e.emit("error",new Error("stream.unshift() after end event"));else addChunk(e,i,t,true)}else if(i.ended){e.emit("error",new Error("stream.push() after EOF"))}else{i.reading=false;if(i.decoder&&!n){t=i.decoder.write(t);if(i.objectMode||t.length!==0)addChunk(e,i,t,false);else maybeReadMore(e,i)}else{addChunk(e,i,t,false)}}}else if(!r){i.reading=false}}return needMoreData(i)}function addChunk(e,t,n,r){if(t.flowing&&t.length===0&&!t.sync){e.emit("data",n);e.read(0)}else{t.length+=t.objectMode?1:n.length;if(r)t.buffer.unshift(n);else t.buffer.push(n);if(t.needReadable)emitReadable(e)}maybeReadMore(e,t)}function chunkInvalid(e,t){var n;if(!_isUint8Array(t)&&typeof t!=="string"&&t!==undefined&&!e.objectMode){n=new TypeError("Invalid non-string/buffer chunk")}return n}function needMoreData(e){return!e.ended&&(e.needReadable||e.length=v){e=v}else{e--;e|=e>>>1;e|=e>>>2;e|=e>>>4;e|=e>>>8;e|=e>>>16;e++}return e}function howMuchToRead(e,t){if(e<=0||t.length===0&&t.ended)return 0;if(t.objectMode)return 1;if(e!==e){if(t.flowing&&t.length)return t.buffer.head.data.length;else return t.length}if(e>t.highWaterMark)t.highWaterMark=computeNewHighWaterMark(e);if(e<=t.length)return e;if(!t.ended){t.needReadable=true;return 0}return t.length}Readable.prototype.read=function(e){d("read",e);e=parseInt(e,10);var t=this._readableState;var n=e;if(e!==0)t.emittedReadable=false;if(e===0&&t.needReadable&&(t.length>=t.highWaterMark||t.ended)){d("read: emitReadable",t.length,t.ended);if(t.length===0&&t.ended)endReadable(this);else emitReadable(this);return null}e=howMuchToRead(e,t);if(e===0&&t.ended){if(t.length===0)endReadable(this);return null}var r=t.needReadable;d("need readable",r);if(t.length===0||t.length-e0)s=fromList(e,t);else s=null;if(s===null){t.needReadable=true;e=0}else{t.length-=e}if(t.length===0){if(!t.ended)t.needReadable=true;if(n!==e&&t.ended)endReadable(this)}if(s!==null)this.emit("data",s);return s};function onEofChunk(e,t){if(t.ended)return;if(t.decoder){var n=t.decoder.end();if(n&&n.length){t.buffer.push(n);t.length+=t.objectMode?1:n.length}}t.ended=true;emitReadable(e)}function emitReadable(e){var t=e._readableState;t.needReadable=false;if(!t.emittedReadable){d("emitReadable",t.flowing);t.emittedReadable=true;if(t.sync)r.nextTick(emitReadable_,e);else emitReadable_(e)}}function emitReadable_(e){d("emit readable");e.emit("readable");flow(e)}function maybeReadMore(e,t){if(!t.readingMore){t.readingMore=true;r.nextTick(maybeReadMore_,e,t)}}function maybeReadMore_(e,t){var n=t.length;while(!t.reading&&!t.flowing&&!t.ended&&t.length1&&indexOf(s.pipes,e)!==-1)&&!l){d("false write response, pause",n._readableState.awaitDrain);n._readableState.awaitDrain++;u=true}n.pause()}}function onerror(t){d("onerror",t);unpipe();e.removeListener("error",onerror);if(a(e,"error")===0)e.emit("error",t)}prependListener(e,"error",onerror);function onclose(){e.removeListener("finish",onfinish);unpipe()}e.once("close",onclose);function onfinish(){d("onfinish");e.removeListener("close",onclose);unpipe()}e.once("finish",onfinish);function unpipe(){d("unpipe");n.unpipe(e)}e.emit("pipe",n);if(!s.flowing){d("pipe resume");n.resume()}return e};function pipeOnDrain(e){return function(){var t=e._readableState;d("pipeOnDrain",t.awaitDrain);if(t.awaitDrain)t.awaitDrain--;if(t.awaitDrain===0&&a(e,"data")){t.flowing=true;flow(e)}}}Readable.prototype.unpipe=function(e){var t=this._readableState;var n={hasUnpiped:false};if(t.pipesCount===0)return this;if(t.pipesCount===1){if(e&&e!==t.pipes)return this;if(!e)e=t.pipes;t.pipes=null;t.pipesCount=0;t.flowing=false;if(e)e.emit("unpipe",this,n);return this}if(!e){var r=t.pipes;var s=t.pipesCount;t.pipes=null;t.pipesCount=0;t.flowing=false;for(var i=0;i=t.length){if(t.decoder)n=t.buffer.join("");else if(t.buffer.length===1)n=t.buffer.head.data;else n=t.buffer.concat(t.length);t.buffer.clear()}else{n=fromListPartial(e,t.buffer,t.decoder)}return n}function fromListPartial(e,t,n){var r;if(ei.length?i.length:e;if(o===i.length)s+=i;else s+=i.slice(0,e);e-=o;if(e===0){if(o===i.length){++r;if(n.next)t.head=n.next;else t.head=t.tail=null}else{t.head=n;n.data=i.slice(o)}break}++r}t.length-=r;return s}function copyFromBuffer(e,t){var n=l.allocUnsafe(e);var r=t.head;var s=1;r.data.copy(n);e-=r.data.length;while(r=r.next){var i=r.data;var o=e>i.length?i.length:e;i.copy(n,n.length-e,0,o);e-=o;if(e===0){if(o===i.length){++s;if(r.next)t.head=r.next;else t.head=t.tail=null}else{t.head=r;r.data=i.slice(o)}break}++s}t.length-=s;return n}function endReadable(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');if(!t.endEmitted){t.ended=true;r.nextTick(endReadableNT,t,e)}}function endReadableNT(e,t){if(!e.endEmitted&&e.length===0){e.endEmitted=true;t.readable=false;t.emit("end")}}function indexOf(e,t){for(var n=0,r=e.length;n{"use strict";e.exports=Transform;var r=n(88393);var s=Object.create(n(73487));s.inherits=n(76919);s.inherits(Transform,r);function afterTransform(e,t){var n=this._transformState;n.transforming=false;var r=n.writecb;if(!r){return this.emit("error",new Error("write callback called multiple times"))}n.writechunk=null;n.writecb=null;if(t!=null)this.push(t);r(e);var s=this._readableState;s.reading=false;if(s.needReadable||s.length{"use strict";var r=n(37843);e.exports=Writable;function WriteReq(e,t,n){this.chunk=e;this.encoding=t;this.callback=n;this.next=null}function CorkedRequest(e){var t=this;this.next=null;this.entry=null;this.finish=function(){onCorkedFinish(t,e)}}var s=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:r.nextTick;var i;Writable.WritableState=WritableState;var o=Object.create(n(73487));o.inherits=n(76919);var a={deprecate:n(49209)};var c=n(35016);var l=n(84810).Buffer;var u=global.Uint8Array||function(){};function _uint8ArrayToBuffer(e){return l.from(e)}function _isUint8Array(e){return l.isBuffer(e)||e instanceof u}var f=n(3090);o.inherits(Writable,c);function nop(){}function WritableState(e,t){i=i||n(88393);e=e||{};var r=t instanceof i;this.objectMode=!!e.objectMode;if(r)this.objectMode=this.objectMode||!!e.writableObjectMode;var s=e.highWaterMark;var o=e.writableHighWaterMark;var a=this.objectMode?16:16*1024;if(s||s===0)this.highWaterMark=s;else if(r&&(o||o===0))this.highWaterMark=o;else this.highWaterMark=a;this.highWaterMark=Math.floor(this.highWaterMark);this.finalCalled=false;this.needDrain=false;this.ending=false;this.ended=false;this.finished=false;this.destroyed=false;var c=e.decodeStrings===false;this.decodeStrings=!c;this.defaultEncoding=e.defaultEncoding||"utf8";this.length=0;this.writing=false;this.corked=0;this.sync=true;this.bufferProcessing=false;this.onwrite=function(e){onwrite(t,e)};this.writecb=null;this.writelen=0;this.bufferedRequest=null;this.lastBufferedRequest=null;this.pendingcb=0;this.prefinished=false;this.errorEmitted=false;this.bufferedRequestCount=0;this.corkedRequestsFree=new CorkedRequest(this)}WritableState.prototype.getBuffer=function getBuffer(){var e=this.bufferedRequest;var t=[];while(e){t.push(e);e=e.next}return t};(function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:a.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer "+"instead.","DEP0003")})}catch(e){}})();var p;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function"){p=Function.prototype[Symbol.hasInstance];Object.defineProperty(Writable,Symbol.hasInstance,{value:function(e){if(p.call(this,e))return true;if(this!==Writable)return false;return e&&e._writableState instanceof WritableState}})}else{p=function(e){return e instanceof this}}function Writable(e){i=i||n(88393);if(!p.call(Writable,this)&&!(this instanceof i)){return new Writable(e)}this._writableState=new WritableState(e,this);this.writable=true;if(e){if(typeof e.write==="function")this._write=e.write;if(typeof e.writev==="function")this._writev=e.writev;if(typeof e.destroy==="function")this._destroy=e.destroy;if(typeof e.final==="function")this._final=e.final}c.call(this)}Writable.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function writeAfterEnd(e,t){var n=new Error("write after end");e.emit("error",n);r.nextTick(t,n)}function validChunk(e,t,n,s){var i=true;var o=false;if(n===null){o=new TypeError("May not write null values to stream")}else if(typeof n!=="string"&&n!==undefined&&!t.objectMode){o=new TypeError("Invalid non-string/buffer chunk")}if(o){e.emit("error",o);r.nextTick(s,o);i=false}return i}Writable.prototype.write=function(e,t,n){var r=this._writableState;var s=false;var i=!r.objectMode&&_isUint8Array(e);if(i&&!l.isBuffer(e)){e=_uint8ArrayToBuffer(e)}if(typeof t==="function"){n=t;t=null}if(i)t="buffer";else if(!t)t=r.defaultEncoding;if(typeof n!=="function")n=nop;if(r.ended)writeAfterEnd(this,n);else if(i||validChunk(this,r,e,n)){r.pendingcb++;s=writeOrBuffer(this,r,i,e,t,n)}return s};Writable.prototype.cork=function(){var e=this._writableState;e.corked++};Writable.prototype.uncork=function(){var e=this._writableState;if(e.corked){e.corked--;if(!e.writing&&!e.corked&&!e.finished&&!e.bufferProcessing&&e.bufferedRequest)clearBuffer(this,e)}};Writable.prototype.setDefaultEncoding=function setDefaultEncoding(e){if(typeof e==="string")e=e.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);this._writableState.defaultEncoding=e;return this};function decodeChunk(e,t,n){if(!e.objectMode&&e.decodeStrings!==false&&typeof t==="string"){t=l.from(t,n)}return t}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:false,get:function(){return this._writableState.highWaterMark}});function writeOrBuffer(e,t,n,r,s,i){if(!n){var o=decodeChunk(t,r,s);if(r!==o){n=true;s="buffer";r=o}}var a=t.objectMode?1:r.length;t.length+=a;var c=t.length{"use strict";function _classCallCheck(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}var r=n(84810).Buffer;var s=n(31669);function copyBuffer(e,t,n){e.copy(t,n)}e.exports=function(){function BufferList(){_classCallCheck(this,BufferList);this.head=null;this.tail=null;this.length=0}BufferList.prototype.push=function push(e){var t={data:e,next:null};if(this.length>0)this.tail.next=t;else this.head=t;this.tail=t;++this.length};BufferList.prototype.unshift=function unshift(e){var t={data:e,next:this.head};if(this.length===0)this.tail=t;this.head=t;++this.length};BufferList.prototype.shift=function shift(){if(this.length===0)return;var e=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return e};BufferList.prototype.clear=function clear(){this.head=this.tail=null;this.length=0};BufferList.prototype.join=function join(e){if(this.length===0)return"";var t=this.head;var n=""+t.data;while(t=t.next){n+=e+t.data}return n};BufferList.prototype.concat=function concat(e){if(this.length===0)return r.alloc(0);if(this.length===1)return this.head.data;var t=r.allocUnsafe(e>>>0);var n=this.head;var s=0;while(n){copyBuffer(n.data,t,s);s+=n.data.length;n=n.next}return t};return BufferList}();if(s&&s.inspect&&s.inspect.custom){e.exports.prototype[s.inspect.custom]=function(){var e=s.inspect({length:this.length});return this.constructor.name+" "+e}}},3090:(e,t,n)=>{"use strict";var r=n(37843);function destroy(e,t){var n=this;var s=this._readableState&&this._readableState.destroyed;var i=this._writableState&&this._writableState.destroyed;if(s||i){if(t){t(e)}else if(e&&(!this._writableState||!this._writableState.errorEmitted)){r.nextTick(emitErrorNT,this,e)}return this}if(this._readableState){this._readableState.destroyed=true}if(this._writableState){this._writableState.destroyed=true}this._destroy(e||null,function(e){if(!t&&e){r.nextTick(emitErrorNT,n,e);if(n._writableState){n._writableState.errorEmitted=true}}else if(t){t(e)}});return this}function undestroy(){if(this._readableState){this._readableState.destroyed=false;this._readableState.reading=false;this._readableState.ended=false;this._readableState.endEmitted=false}if(this._writableState){this._writableState.destroyed=false;this._writableState.ended=false;this._writableState.ending=false;this._writableState.finished=false;this._writableState.errorEmitted=false}}function emitErrorNT(e,t){e.emit("error",t)}e.exports={destroy:destroy,undestroy:undestroy}},35016:(e,t,n)=>{e.exports=n(92413)},84810:(e,t,n)=>{var r=n(64293);var s=r.Buffer;function copyProps(e,t){for(var n in e){t[n]=e[n]}}if(s.from&&s.alloc&&s.allocUnsafe&&s.allocUnsafeSlow){e.exports=r}else{copyProps(r,t);t.Buffer=SafeBuffer}function SafeBuffer(e,t,n){return s(e,t,n)}copyProps(s,SafeBuffer);SafeBuffer.from=function(e,t,n){if(typeof e==="number"){throw new TypeError("Argument must not be a number")}return s(e,t,n)};SafeBuffer.alloc=function(e,t,n){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}var r=s(e);if(t!==undefined){if(typeof n==="string"){r.fill(t,n)}else{r.fill(t)}}else{r.fill(0)}return r};SafeBuffer.allocUnsafe=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return s(e)};SafeBuffer.allocUnsafeSlow=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return r.SlowBuffer(e)}},96224:(e,t,n)=>{"use strict";var r=n(84810).Buffer;var s=r.isEncoding||function(e){e=""+e;switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return true;default:return false}};function _normalizeEncoding(e){if(!e)return"utf8";var t;while(true){switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase();t=true}}}function normalizeEncoding(e){var t=_normalizeEncoding(e);if(typeof t!=="string"&&(r.isEncoding===s||!s(e)))throw new Error("Unknown encoding: "+e);return t||e}t.s=StringDecoder;function StringDecoder(e){this.encoding=normalizeEncoding(e);var t;switch(this.encoding){case"utf16le":this.text=utf16Text;this.end=utf16End;t=4;break;case"utf8":this.fillLast=utf8FillLast;t=4;break;case"base64":this.text=base64Text;this.end=base64End;t=3;break;default:this.write=simpleWrite;this.end=simpleEnd;return}this.lastNeed=0;this.lastTotal=0;this.lastChar=r.allocUnsafe(t)}StringDecoder.prototype.write=function(e){if(e.length===0)return"";var t;var n;if(this.lastNeed){t=this.fillLast(e);if(t===undefined)return"";n=this.lastNeed;this.lastNeed=0}else{n=0}if(n>5===6)return 2;else if(e>>4===14)return 3;else if(e>>3===30)return 4;return e>>6===2?-1:-2}function utf8CheckIncomplete(e,t,n){var r=t.length-1;if(r=0){if(s>0)e.lastNeed=s-1;return s}if(--r=0){if(s>0)e.lastNeed=s-2;return s}if(--r=0){if(s>0){if(s===2)s=0;else e.lastNeed=s-3}return s}return 0}function utf8CheckExtraBytes(e,t,n){if((t[0]&192)!==128){e.lastNeed=0;return"�"}if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128){e.lastNeed=1;return"�"}if(e.lastNeed>2&&t.length>2){if((t[2]&192)!==128){e.lastNeed=2;return"�"}}}}function utf8FillLast(e){var t=this.lastTotal-this.lastNeed;var n=utf8CheckExtraBytes(this,e,t);if(n!==undefined)return n;if(this.lastNeed<=e.length){e.copy(this.lastChar,t,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}e.copy(this.lastChar,t,0,e.length);this.lastNeed-=e.length}function utf8Text(e,t){var n=utf8CheckIncomplete(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);e.copy(this.lastChar,0,r);return e.toString("utf8",t,r)}function utf8End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed)return t+"�";return t}function utf16Text(e,t){if((e.length-t)%2===0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319){this.lastNeed=2;this.lastTotal=4;this.lastChar[0]=e[e.length-2];this.lastChar[1]=e[e.length-1];return n.slice(0,-1)}}return n}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=e[e.length-1];return e.toString("utf16le",t,e.length-1)}function utf16End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function base64Text(e,t){var n=(e.length-t)%3;if(n===0)return e.toString("base64",t);this.lastNeed=3-n;this.lastTotal=3;if(n===1){this.lastChar[0]=e[e.length-1]}else{this.lastChar[0]=e[e.length-2];this.lastChar[1]=e[e.length-1]}return e.toString("base64",t,e.length-n)}function base64End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed)return t+this.lastChar.toString("base64",0,3-this.lastNeed);return t}function simpleWrite(e){return e.toString(this.encoding)}function simpleEnd(e){return e&&e.length?this.write(e):""}},30675:(e,t,n)=>{var r=n(92413);if(process.env.READABLE_STREAM==="disable"&&r){e.exports=r;t=e.exports=r.Readable;t.Readable=r.Readable;t.Writable=r.Writable;t.Duplex=r.Duplex;t.Transform=r.Transform;t.PassThrough=r.PassThrough;t.Stream=r}else{t=e.exports=n(80284);t.Stream=r||t;t.Readable=t;t.Writable=n(36100);t.Duplex=n(88393);t.Transform=n(65469);t.PassThrough=n(55125)}},50466:(e,t,n)=>{"use strict";var r=n(98134);var s=n(28589);function toRegex(e,t){return new RegExp(toRegex.create(e,t))}toRegex.create=function(e,t){if(typeof e!=="string"){throw new TypeError("expected a string")}var n=r({},t);if(n.contains===true){n.strictNegate=false}var i=n.strictOpen!==false?"^":"";var o=n.strictClose!==false?"$":"";var a=n.endChar?n.endChar:"+";var c=e;if(n.strictNegate===false){c="(?:(?!(?:"+e+")).)"+a}else{c="(?:(?!^(?:"+e+")$).)"+a}var l=i+c+o;if(n.safe===true&&s(l)===false){throw new Error("potentially unsafe regular expression: "+l)}return l};e.exports=toRegex},98134:(e,t,n)=>{"use strict";var r=n(55114);var s=n(93604);e.exports=Object.assign||function(e){if(e===null||typeof e==="undefined"){throw new TypeError("Cannot convert undefined or null to object")}if(!isObject(e)){e={}}for(var t=1;t{"use strict";var r=n(58263);e.exports=function isExtendable(e){return r(e)||typeof e==="function"||Array.isArray(e)}},69503:e=>{"use strict";e.exports=function repeat(e,t){var n=new Array(t);for(var r=0;r{"use strict";var t="";var n;e.exports=repeat;function repeat(e,r){if(typeof e!=="string"){throw new TypeError("expected a string")}if(r===1)return e;if(r===2)return e+e;var s=e.length*r;if(n!==e||typeof n==="undefined"){n=e;t=""}else if(t.length>=s){return t.substr(0,s)}while(s>t.length&&r>1){if(r&1){t+=e}r>>=1;e+=e}t+=e;t=t.substr(0,s);return t}},35961:(e,t,n)=>{var r=n(67221);var s=n(98349);var i=n(26125);var o=n(4162);e.exports=function(e){var t=0,n,a,c={type:s.ROOT,stack:[]},l=c,u=c.stack,f=[];var p=function(t){r.error(e,"Nothing to repeat at column "+(t-1))};var d=r.strToChars(e);n=d.length;while(t{var r=n(98349);t.wordBoundary=function(){return{type:r.POSITION,value:"b"}};t.nonWordBoundary=function(){return{type:r.POSITION,value:"B"}};t.begin=function(){return{type:r.POSITION,value:"^"}};t.end=function(){return{type:r.POSITION,value:"$"}}},26125:(e,t,n)=>{var r=n(98349);var s=function(){return[{type:r.RANGE,from:48,to:57}]};var i=function(){return[{type:r.CHAR,value:95},{type:r.RANGE,from:97,to:122},{type:r.RANGE,from:65,to:90}].concat(s())};var o=function(){return[{type:r.CHAR,value:9},{type:r.CHAR,value:10},{type:r.CHAR,value:11},{type:r.CHAR,value:12},{type:r.CHAR,value:13},{type:r.CHAR,value:32},{type:r.CHAR,value:160},{type:r.CHAR,value:5760},{type:r.CHAR,value:6158},{type:r.CHAR,value:8192},{type:r.CHAR,value:8193},{type:r.CHAR,value:8194},{type:r.CHAR,value:8195},{type:r.CHAR,value:8196},{type:r.CHAR,value:8197},{type:r.CHAR,value:8198},{type:r.CHAR,value:8199},{type:r.CHAR,value:8200},{type:r.CHAR,value:8201},{type:r.CHAR,value:8202},{type:r.CHAR,value:8232},{type:r.CHAR,value:8233},{type:r.CHAR,value:8239},{type:r.CHAR,value:8287},{type:r.CHAR,value:12288},{type:r.CHAR,value:65279}]};var a=function(){return[{type:r.CHAR,value:10},{type:r.CHAR,value:13},{type:r.CHAR,value:8232},{type:r.CHAR,value:8233}]};t.words=function(){return{type:r.SET,set:i(),not:false}};t.notWords=function(){return{type:r.SET,set:i(),not:true}};t.ints=function(){return{type:r.SET,set:s(),not:false}};t.notInts=function(){return{type:r.SET,set:s(),not:true}};t.whitespace=function(){return{type:r.SET,set:o(),not:false}};t.notWhitespace=function(){return{type:r.SET,set:o(),not:true}};t.anyChar=function(){return{type:r.SET,set:a(),not:true}}},98349:e=>{e.exports={ROOT:0,GROUP:1,POSITION:2,SET:3,RANGE:4,REPETITION:5,REFERENCE:6,CHAR:7}},67221:(e,t,n)=>{var r=n(98349);var s=n(26125);var i="@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^ ?";var o={0:0,t:9,n:10,v:11,f:12,r:13};t.strToChars=function(e){var t=/(\[\\b\])|(\\)?\\(?:u([A-F0-9]{4})|x([A-F0-9]{2})|(0?[0-7]{2})|c([@A-Z\[\\\]\^?])|([0tnvfr]))/g;e=e.replace(t,function(e,t,n,r,s,a,c,l){if(n){return e}var u=t?8:r?parseInt(r,16):s?parseInt(s,16):a?parseInt(a,8):c?i.indexOf(c):o[l];var f=String.fromCharCode(u);if(/[\[\]{}\^$.|?*+()]/.test(f)){f="\\"+f}return f});return e};t.tokenizeClass=function(e,n){var i=[];var o=/\\(?:(w)|(d)|(s)|(W)|(D)|(S))|((?:(?:\\)(.)|([^\]\\]))-(?:\\)?([^\]]))|(\])|(?:\\)?(.)/g;var a,c;while((a=o.exec(e))!=null){if(a[1]){i.push(s.words())}else if(a[2]){i.push(s.ints())}else if(a[3]){i.push(s.whitespace())}else if(a[4]){i.push(s.notWords())}else if(a[5]){i.push(s.notInts())}else if(a[6]){i.push(s.notWhitespace())}else if(a[7]){i.push({type:r.RANGE,from:(a[8]||a[9]).charCodeAt(0),to:a[10].charCodeAt(0)})}else if(c=a[12]){i.push({type:r.CHAR,value:c.charCodeAt(0)})}else{return[i,o.lastIndex]}}t.error(n,"Unterminated character class")};t.error=function(e,t){throw new SyntaxError("Invalid regular expression: /"+e+"/: "+t)}},28589:(e,t,n)=>{var r=n(35961);var s=r.types;e.exports=function(e,t){if(!t)t={};var n=t.limit===undefined?25:t.limit;if(isRegExp(e))e=e.source;else if(typeof e!=="string")e=String(e);try{e=r(e)}catch(e){return false}var i=0;return function walk(e,t){if(e.type===s.REPETITION){t++;i++;if(t>1)return false;if(i>n)return false}if(e.options){for(var r=0,o=e.options.length;r{"use strict";var r=n(68139);var s=16;var i=generateUID();var o=new RegExp('(\\\\)?"@__(F|R|D|M|S|U|I)-'+i+'-(\\d+)__@"',"g");var a=/\{\s*\[native code\]\s*\}/g;var c=/function.*?\(/;var l=/.*?=>.*?/;var u=/[<>\/\u2028\u2029]/g;var f=["*","async"];var p={"<":"\\u003C",">":"\\u003E","/":"\\u002F","\u2028":"\\u2028","\u2029":"\\u2029"};function escapeUnsafeChars(e){return p[e]}function generateUID(){var e=r(s);var t="";for(var n=0;n0});var s=r.filter(function(e){return f.indexOf(e)===-1});if(s.length>0){return(r.indexOf("async")>-1?"async ":"")+"function"+(r.join("").indexOf("*")>-1?"*":"")+t.substr(n)}return t}if(t.ignoreFunction&&typeof e==="function"){e=undefined}if(e===undefined){return String(e)}var y;if(t.isJSON&&!t.space){y=JSON.stringify(e)}else{y=JSON.stringify(e,t.isJSON?null:replacer,t.space)}if(typeof y!=="string"){return String(y)}if(t.unsafe!==true){y=y.replace(u,escapeUnsafeChars)}if(n.length===0&&r.length===0&&s.length===0&&p.length===0&&d.length===0&&h.length===0&&m.length===0){return y}return y.replace(o,function(e,i,o,a){if(i){return e}if(o==="D"){return'new Date("'+s[a].toISOString()+'")'}if(o==="R"){return"new RegExp("+serialize(r[a].source)+', "'+r[a].flags+'")'}if(o==="M"){return"new Map("+serialize(Array.from(p[a].entries()),t)+")"}if(o==="S"){return"new Set("+serialize(Array.from(d[a].values()),t)+")"}if(o==="U"){return"undefined"}if(o==="I"){return m[a]}var c=n[a];return serializeFunc(c)})}},84927:(e,t,n)=>{"use strict";var r=n(24178);var s=n(72533);var i=n(58263);var o=n(77242);e.exports=function(e,t,n){if(!o(e)){return e}if(Array.isArray(t)){t=[].concat.apply([],t).join(".")}if(typeof t!=="string"){return e}var a=r(t,{sep:".",brackets:true}).filter(isValidKey);var c=a.length;var l=-1;var u=e;while(++l{"use strict";var r=n(97328);var s=n(88954);var i=n(60118);var o;function Node(e,t,n){if(typeof t!=="string"){n=t;t=null}s(this,"parent",n);s(this,"isNode",true);s(this,"expect",null);if(typeof t!=="string"&&r(e)){lazyKeys();var i=Object.keys(e);for(var a=0;a{"use strict";var r=n(85721);e.exports=function defineProperty(e,t,n){if(typeof e!=="object"&&typeof e!=="function"){throw new TypeError("expected an object or function.")}if(typeof t!=="string"){throw new TypeError("expected `prop` to be a string.")}if(r(n)&&("set"in n||"get"in n)){return Object.defineProperty(e,t,n)}return Object.defineProperty(e,t,{configurable:true,enumerable:false,writable:true,value:n})}},60118:(e,t,n)=>{"use strict";var r=n(49413);var s=e.exports;s.isNode=function(e){return r(e)==="object"&&e.isNode===true};s.noop=function(e){append(this,"",e)};s.identity=function(e){append(this,e.val,e)};s.append=function(e){return function(t){append(this,e,t)}};s.toNoop=function(e,t){if(t){e.nodes=t}else{delete e.nodes;e.type="text";e.val=""}};s.visit=function(e,t){assert(s.isNode(e),"expected node to be an instance of Node");assert(isFunction(t),"expected a visitor function");t(e);return e.nodes?s.mapVisit(e,t):e};s.mapVisit=function(e,t){assert(s.isNode(e),"expected node to be an instance of Node");assert(isArray(e.nodes),"expected node.nodes to be an array");assert(isFunction(t),"expected a visitor function");for(var n=0;n0};s.isInside=function(e,t,n){assert(s.isNode(t),"expected node to be an instance of Node");assert(isObject(e),"expected state to be an object");if(Array.isArray(n)){for(var i=0;i{"use strict";var r=n(92568);var s=n(63018);var i=n(65114);var o=n(91036);var a=n(73331);var c={};var l={};function Snapdragon(e){r.call(this,null,e);this.options=a.extend({source:"string"},this.options);this.compiler=new i(this.options);this.parser=new o(this.options);Object.defineProperty(this,"compilers",{get:function(){return this.compiler.compilers}});Object.defineProperty(this,"parsers",{get:function(){return this.parser.parsers}});Object.defineProperty(this,"regex",{get:function(){return this.parser.regex}})}r.extend(Snapdragon);Snapdragon.prototype.capture=function(){return this.parser.capture.apply(this.parser,arguments)};Snapdragon.prototype.use=function(e){e.call(this,this);return this};Snapdragon.prototype.parse=function(e,t){this.options=a.extend({},this.options,t);var n=this.parser.parse(e,this.options);s(n,"parser",this.parser);return n};Snapdragon.prototype.compile=function(e,t){this.options=a.extend({},this.options,t);var n=this.compiler.compile(e,this.options);s(n,"compiler",this.compiler);return n};e.exports=Snapdragon;e.exports.Compiler=i;e.exports.Parser=o},65114:(e,t,n)=>{"use strict";var r=n(64687);var s=n(63018);var i=n(31185)("snapdragon:compiler");var o=n(73331);function Compiler(e,t){i("initializing",__filename);this.options=o.extend({source:"string"},e);this.state=t||{};this.compilers={};this.output="";this.set("eos",function(e){return this.emit(e.val,e)});this.set("noop",function(e){return this.emit(e.val,e)});this.set("bos",function(e){return this.emit(e.val,e)});r(this)}Compiler.prototype={error:function(e,t){var n=t.position||{start:{column:0}};var r=this.options.source+" column:"+n.start.column+": "+e;var s=new Error(r);s.reason=e;s.column=n.start.column;s.source=this.pattern;if(this.options.silent){this.errors.push(s)}else{throw s}},define:function(e,t){s(this,e,t);return this},emit:function(e,t){this.output+=e;return e},set:function(e,t){this.compilers[e]=t;return this},get:function(e){return this.compilers[e]},prev:function(e){return this.ast.nodes[this.idx-(e||1)]||{type:"bos",val:""}},next:function(e){return this.ast.nodes[this.idx+(e||1)]||{type:"eos",val:""}},visit:function(e,t,n){var r=this.compilers[e.type];this.idx=n;if(typeof r!=="function"){throw this.error('compiler "'+e.type+'" is not registered',e)}return r.call(this,e,t,n)},mapVisit:function(e){if(!Array.isArray(e)){throw new TypeError("expected an array")}var t=e.length;var n=-1;while(++n{"use strict";var r=n(64687);var s=n(31669);var i=n(22219);var o=n(63018);var a=n(31185)("snapdragon:parser");var c=n(99516);var l=n(73331);function Parser(e){a("initializing",__filename);this.options=l.extend({source:"string"},e);this.init(this.options);r(this)}Parser.prototype={constructor:Parser,init:function(e){this.orig="";this.input="";this.parsed="";this.column=1;this.line=1;this.regex=new i;this.errors=this.errors||[];this.parsers=this.parsers||{};this.types=this.types||[];this.sets=this.sets||{};this.fns=this.fns||[];this.currentType="root";var t=this.position();this.bos=t({type:"bos",val:""});this.ast={type:"root",errors:this.errors,nodes:[this.bos]};o(this.bos,"parent",this.ast);this.nodes=[this.ast];this.count=0;this.setCount=0;this.stack=[]},error:function(e,t){var n=t.position||{start:{column:0,line:0}};var r=n.start.line;var s=n.start.column;var i=this.options.source;var o=i+" : "+e;var a=new Error(o);a.source=i;a.reason=e;a.pos=n;if(this.options.silent){this.errors.push(a)}else{throw a}},define:function(e,t){o(this,e,t);return this},position:function(){var e={line:this.line,column:this.column};var t=this;return function(n){o(n,"position",new c(e,t));return n}},set:function(e,t){if(this.types.indexOf(e)===-1){this.types.push(e)}this.parsers[e]=t.bind(this);return this},get:function(e){return this.parsers[e]},push:function(e,t){this.sets[e]=this.sets[e]||[];this.count++;this.stack.push(t);return this.sets[e].push(t)},pop:function(e){this.sets[e]=this.sets[e]||[];this.count--;this.stack.pop();return this.sets[e].pop()},isInside:function(e){this.sets[e]=this.sets[e]||[];return this.sets[e].length>0},isType:function(e,t){return e&&e.type===t},prev:function(e){return this.stack.length>0?l.last(this.stack,e):l.last(this.nodes,e)},consume:function(e){this.input=this.input.substr(e)},updatePosition:function(e,t){var n=e.match(/\n/g);if(n)this.line+=n.length;var r=e.lastIndexOf("\n");this.column=~r?t-r:this.column+t;this.parsed+=e;this.consume(t)},match:function(e){var t=e.exec(this.input);if(t){this.updatePosition(t[0],t[0].length);return t}},capture:function(e,t){if(typeof t==="function"){return this.set.apply(this,arguments)}this.regex.set(e,t);this.set(e,function(){var n=this.parsed;var r=this.position();var s=this.match(t);if(!s||!s[0])return;var i=this.prev();var a=r({type:e,val:s[0],parsed:n,rest:this.input});if(s[1]){a.inner=s[1]}o(a,"inside",this.stack.length>0);o(a,"parent",i);i.nodes.push(a)}.bind(this));return this},capturePair:function(e,t,n,r){this.sets[e]=this.sets[e]||[];this.set(e+".open",function(){var n=this.parsed;var s=this.position();var i=this.match(t);if(!i||!i[0])return;var a=i[0];this.setCount++;this.specialChars=true;var c=s({type:e+".open",val:a,rest:this.input});if(typeof i[1]!=="undefined"){c.inner=i[1]}var l=this.prev();var u=s({type:e,nodes:[c]});o(u,"rest",this.input);o(u,"parsed",n);o(u,"prefix",i[1]);o(u,"parent",l);o(c,"parent",u);if(typeof r==="function"){r.call(this,c,u)}this.push(e,u);l.nodes.push(u)});this.set(e+".close",function(){var t=this.position();var r=this.match(n);if(!r||!r[0])return;var s=this.pop(e);var i=t({type:e+".close",rest:this.input,suffix:r[1],val:r[0]});if(!this.isType(s,e)){if(this.options.strict){throw new Error('missing opening "'+e+'"')}this.setCount--;i.escaped=true;return i}if(i.suffix==="\\"){s.escaped=true;i.escaped=true}s.nodes.push(i);o(i,"parent",s)});return this},eos:function(){var e=this.position();if(this.input)return;var t=this.prev();while(t.type!=="root"&&!t.visited){if(this.options.strict===true){throw new SyntaxError("invalid syntax:"+s.inspect(t,null,2))}if(!hasDelims(t)){t.parent.escaped=true;t.escaped=true}visit(t,function(e){if(!hasDelims(e.parent)){e.parent.escaped=true;e.escaped=true}});t=t.parent}var n=e({type:"eos",val:this.append||""});o(n,"parent",this.ast);return n},next:function(){var e=this.parsed;var t=this.types.length;var n=-1;var r;while(++n{"use strict";var r=n(63018);e.exports=function Position(e,t){this.start=e;this.end={line:t.line,column:t.column};r(this,"content",t.orig);r(this,"source",t.options.source)}},82951:(e,t,n)=>{"use strict";var r=n(35747);var s=n(85622);var i=n(63018);var o=n(73331);e.exports=mixin;function mixin(e){i(e,"_comment",e.comment);e.map=new o.SourceMap.SourceMapGenerator;e.position={line:1,column:1};e.content={};e.files={};for(var n in t){i(e,n,t[n])}}t.updatePosition=function(e){var t=e.match(/\n/g);if(t)this.position.line+=t.length;var n=e.lastIndexOf("\n");this.position.column=~n?e.length-n:this.position.column+e.length};t.emit=function(e,t){var n=t.position||{};var r=n.source;if(r){if(n.filepath){r=o.unixify(n.filepath)}this.map.addMapping({source:r,generated:{line:this.position.line,column:Math.max(this.position.column-1,0)},original:{line:n.start.line,column:n.start.column-1}});if(n.content){this.addContent(r,n)}if(n.filepath){this.addFile(r,n)}this.updatePosition(e);this.output+=e}return e};t.addFile=function(e,t){if(typeof t.content!=="string")return;if(Object.prototype.hasOwnProperty.call(this.files,e))return;this.files[e]=t.content};t.addContent=function(e,t){if(typeof t.content!=="string")return;if(Object.prototype.hasOwnProperty.call(this.content,e))return;this.map.setSourceContent(e,t.content)};t.applySourceMaps=function(){Object.keys(this.files).forEach(function(e){var t=this.files[e];this.map.setSourceContent(e,t);if(this.options.inputSourcemaps===true){var n=o.sourceMapResolve.resolveSync(t,e,r.readFileSync);if(n){var i=new o.SourceMap.SourceMapConsumer(n.map);var a=n.sourcesRelativeTo;this.map.applySourceMap(i,e,o.unixify(s.dirname(a)))}}},this)};t.comment=function(e){if(/^# sourceMappingURL=/.test(e.comment)){return this.emit("",e.position)}return this._comment(e)}},73331:(e,t,n)=>{"use strict";t.extend=n(72533);t.SourceMap=n(96241);t.sourceMapResolve=n(35561);t.unixify=function(e){return e.split(/\\+/).join("/")};t.isString=function(e){return e&&typeof e==="string"};t.arrayify=function(e){if(typeof e==="string")return[e];return e?Array.isArray(e)?e:[e]:[]};t.last=function(e,t){return e[e.length-(t||1)]}},18143:(e,t,n)=>{"use strict";const r=n(21483).y;const s=n(21483).P;class CodeNode{constructor(e){this.generatedCode=e}clone(){return new CodeNode(this.generatedCode)}getGeneratedCode(){return this.generatedCode}getMappings(e){const t=r(this.generatedCode);const n=Array(t+1).join(";");if(t>0){e.unfinishedGeneratedLine=s(this.generatedCode);if(e.unfinishedGeneratedLine>0){return n+"A"}else{return n}}else{const t=e.unfinishedGeneratedLine;e.unfinishedGeneratedLine+=s(this.generatedCode);if(t===0&&e.unfinishedGeneratedLine>0){return"A"}else{return""}}}addGeneratedCode(e){this.generatedCode+=e}mapGeneratedCode(e){const t=e(this.generatedCode);return new CodeNode(t)}getNormalizedNodes(){return[this]}merge(e){if(e instanceof CodeNode){this.generatedCode+=e.generatedCode;return this}return false}}e.exports=CodeNode},36480:e=>{"use strict";class MappingsContext{constructor(){this.sourcesIndices=new Map;this.sourcesContent=new Map;this.hasSourceContent=false;this.currentOriginalLine=1;this.currentSource=0;this.unfinishedGeneratedLine=false}ensureSource(e,t){let n=this.sourcesIndices.get(e);if(typeof n==="number"){return n}n=this.sourcesIndices.size;this.sourcesIndices.set(e,n);this.sourcesContent.set(e,t);if(typeof t==="string")this.hasSourceContent=true;return n}getArrays(){const e=[];const t=[];for(const n of this.sourcesContent){e.push(n[0]);t.push(n[1])}return{sources:e,sourcesContent:t}}}e.exports=MappingsContext},5893:(e,t,n)=>{"use strict";const r=n(51245);const s=n(21483).y;const i=n(21483).P;const o=";AAAA";class SingleLineNode{constructor(e,t,n,r){this.generatedCode=e;this.originalSource=n;this.source=t;this.line=r||1;this._numberOfLines=s(this.generatedCode);this._endsWithNewLine=e[e.length-1]==="\n"}clone(){return new SingleLineNode(this.generatedCode,this.source,this.originalSource,this.line)}getGeneratedCode(){return this.generatedCode}getMappings(e){if(!this.generatedCode)return"";const t=this._numberOfLines;const n=e.ensureSource(this.source,this.originalSource);let s="A";if(e.unfinishedGeneratedLine)s=","+r.encode(e.unfinishedGeneratedLine);s+=r.encode(n-e.currentSource);s+=r.encode(this.line-e.currentOriginalLine);s+="A";e.currentSource=n;e.currentOriginalLine=this.line;const a=e.unfinishedGeneratedLine=i(this.generatedCode);s+=Array(t).join(o);if(a===0){s+=";"}else{if(t!==0)s+=o}return s}getNormalizedNodes(){return[this]}mapGeneratedCode(e){const t=e(this.generatedCode);return new SingleLineNode(t,this.source,this.originalSource,this.line)}merge(e){if(e instanceof SingleLineNode){return this.mergeSingleLineNode(e)}return false}mergeSingleLineNode(e){if(this.source===e.source&&this.originalSource===e.originalSource){if(this.line===e.line){this.generatedCode+=e.generatedCode;this._numberOfLines+=e._numberOfLines;this._endsWithNewLine=e._endsWithNewLine;return this}else if(this.line+1===e.line&&this._endsWithNewLine&&this._numberOfLines===1&&e._numberOfLines<=1){return new a(this.generatedCode+e.generatedCode,this.source,this.originalSource,this.line)}}return false}}e.exports=SingleLineNode;const a=n(92775)},98497:(e,t,n)=>{"use strict";const r=n(18143);const s=n(92775);const i=n(36480);const o=n(21483).y;class SourceListMap{constructor(e,t,n){if(Array.isArray(e)){this.children=e}else{this.children=[];if(e||t)this.add(e,t,n)}}add(e,t,n){if(typeof e==="string"){if(t){this.children.push(new s(e,t,n))}else if(this.children.length>0&&this.children[this.children.length-1]instanceof r){this.children[this.children.length-1].addGeneratedCode(e)}else{this.children.push(new r(e))}}else if(e.getMappings&&e.getGeneratedCode){this.children.push(e)}else if(e.children){e.children.forEach(function(e){this.children.push(e)},this)}else{throw new Error("Invalid arguments to SourceListMap.protfotype.add: Expected string, Node or SourceListMap")}}preprend(e,t,n){if(typeof e==="string"){if(t){this.children.unshift(new s(e,t,n))}else if(this.children.length>0&&this.children[this.children.length-1].preprendGeneratedCode){this.children[this.children.length-1].preprendGeneratedCode(e)}else{this.children.unshift(new r(e))}}else if(e.getMappings&&e.getGeneratedCode){this.children.unshift(e)}else if(e.children){e.children.slice().reverse().forEach(function(e){this.children.unshift(e)},this)}else{throw new Error("Invalid arguments to SourceListMap.protfotype.prerend: Expected string, Node or SourceListMap")}}mapGeneratedCode(e){const t=[];this.children.forEach(function(e){e.getNormalizedNodes().forEach(function(e){t.push(e)})});const n=[];t.forEach(function(t){t=t.mapGeneratedCode(e);if(n.length===0){n.push(t)}else{const e=n[n.length-1];const r=e.merge(t);if(r){n[n.length-1]=r}else{n.push(t)}}});return new SourceListMap(n)}toString(){return this.children.map(function(e){return e.getGeneratedCode()}).join("")}toStringWithSourceMap(e){const t=new i;const n=this.children.map(function(e){return e.getGeneratedCode()}).join("");const r=this.children.map(function(e){return e.getMappings(t)}).join("");const s=t.getArrays();return{source:n,map:{version:3,file:e&&e.file,sources:s.sources,sourcesContent:t.hasSourceContent?s.sourcesContent:undefined,mappings:r}}}}e.exports=SourceListMap},92775:(e,t,n)=>{"use strict";const r=n(51245);const s=n(21483).y;const i=n(21483).P;const o=";AACA";class SourceNode{constructor(e,t,n,r){this.generatedCode=e;this.originalSource=n;this.source=t;this.startingLine=r||1;this._numberOfLines=s(this.generatedCode);this._endsWithNewLine=e[e.length-1]==="\n"}clone(){return new SourceNode(this.generatedCode,this.source,this.originalSource,this.startingLine)}getGeneratedCode(){return this.generatedCode}addGeneratedCode(e){this.generatedCode+=e;this._numberOfLines+=s(e);this._endsWithNewLine=e[e.length-1]==="\n"}getMappings(e){if(!this.generatedCode)return"";const t=this._numberOfLines;const n=e.ensureSource(this.source,this.originalSource);let s="A";if(e.unfinishedGeneratedLine)s=","+r.encode(e.unfinishedGeneratedLine);s+=r.encode(n-e.currentSource);s+=r.encode(this.startingLine-e.currentOriginalLine);s+="A";e.currentSource=n;e.currentOriginalLine=this.startingLine+t-1;const a=e.unfinishedGeneratedLine=i(this.generatedCode);s+=Array(t).join(o);if(a===0){s+=";"}else{if(t!==0){s+=o}e.currentOriginalLine++}return s}mapGeneratedCode(e){throw new Error("Cannot map generated code on a SourceMap. Normalize to SingleLineNode first.")}getNormalizedNodes(){var e=[];var t=this.startingLine;var n=this.generatedCode;var r=0;var s=n.length;while(r{var n={};var r={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("").forEach(function(e,t){n[e]=t;r[t]=e});var s={};s.encode=function base64_encode(e){if(e in r){return r[e]}throw new TypeError("Must be between 0 and 63: "+e)};s.decode=function base64_decode(e){if(e in n){return n[e]}throw new TypeError("Not a valid base 64 digit: "+e)};var i=5;var o=1<>1;return t?-n:n}t.encode=function base64VLQ_encode(e){var t="";var n;var r=toVLQSigned(e);do{n=r&a;r>>>=i;if(r>0){n|=c}t+=s.encode(n)}while(r>0);return t};t.decode=function base64VLQ_decode(e,t){var n=0;var r=e.length;var o=0;var l=0;var u,f;do{if(n>=r){throw new Error("Expected more digits in base 64 VLQ value.")}f=s.decode(e.charAt(n++));u=!!(f&c);f&=a;o=o+(f<{"use strict";const r=n(51245);const s=n(92775);const i=n(18143);const o=n(98497);e.exports=function fromStringWithSourceMap(e,t){const n=t.sources;const a=t.sourcesContent;const c=t.mappings.split(";");const l=e.split("\n");const u=[];let f=null;let p=1;let d=0;let h;function addCode(e){if(f&&f instanceof i){f.addGeneratedCode(e)}else if(f&&f instanceof s&&!e.trim()){f.addGeneratedCode(e);h++}else{f=new i(e);u.push(f)}}function addSource(e,t,n,r){if(f&&f instanceof s&&f.source===t&&h===r){f.addGeneratedCode(e);h++}else{f=new s(e,t,n,r);h=r+1;u.push(f)}}c.forEach(function(e,t){let n=l[t];if(typeof n==="undefined")return;if(t!==l.length-1)n+="\n";if(!e)return addCode(n);e={value:0,rest:e};let r=false;while(e.rest)r=processMapping(e,n,r)||r;if(!r)addCode(n)});if(c.length{"use strict";t.y=function getNumberOfLines(e){let t=-1;let n=-1;do{t++;n=e.indexOf("\n",n+1)}while(n>=0);return t};t.P=function getUnfinishedLine(e){const t=e.lastIndexOf("\n");if(t===-1)return e.length;else return e.length-t-1}},58546:(e,t,n)=>{t.SourceListMap=n(98497);n(92775);n(5893);n(18143);n(36480);t.fromStringWithSourceMap=n(97375)},43737:(e,t,n)=>{var r=n(62800);function customDecodeUriComponent(e){return r(e.replace(/\+/g,"%2B"))}e.exports=customDecodeUriComponent},79522:(e,t,n)=>{var r=n(78835);function resolveUrl(){return Array.prototype.reduce.call(arguments,function(e,t){return r.resolve(e,t)})}e.exports=resolveUrl},35561:(e,t,n)=>{var r=n(53849);var s=n(79522);var i=n(43737);var o=n(22803);var a=n(63248);function callbackAsync(e,t,n){setImmediate(function(){e(t,n)})}function parseMapToJSON(e,t){try{return JSON.parse(e.replace(/^\)\]\}'/,""))}catch(e){e.sourceMapData=t;throw e}}function readSync(e,t,n){var r=i(t);try{return String(e(r))}catch(e){e.sourceMapData=n;throw e}}function resolveSourceMap(e,t,n,r){var s;try{s=resolveSourceMapHelper(e,t)}catch(e){return callbackAsync(r,e)}if(!s||s.map){return callbackAsync(r,null,s)}var o=i(s.url);n(o,function(e,t){if(e){e.sourceMapData=s;return r(e)}s.map=String(t);try{s.map=parseMapToJSON(s.map,s)}catch(e){return r(e)}r(null,s)})}function resolveSourceMapSync(e,t,n){var r=resolveSourceMapHelper(e,t);if(!r||r.map){return r}r.map=readSync(n,r.url,r);r.map=parseMapToJSON(r.map,r);return r}var c=/^data:([^,;]*)(;[^,;]*)*(?:,(.*))?$/;var l=/^(?:application|text)\/json$/;var u="utf-8";function base64ToBuf(e){var t=a(e);var n=t.length;var r=new Uint8Array(n);for(var s=0;s{"use strict";var r=n(46616);e.exports=function(e,t,n){if(typeof e!=="string"){throw new TypeError("expected a string")}if(typeof t==="function"){n=t;t=null}if(typeof t==="string"){t={sep:t}}var s=r({sep:"."},t);var i=s.quotes||['"',"'","`"];var o;if(s.brackets===true){o={"<":">","(":")","[":"]","{":"}"}}else if(s.brackets){o=s.brackets}var a=[];var c=[];var l=[""];var u=s.sep;var f=e.length;var p=-1;var d;function expected(){if(o&&c.length){return o[c[c.length-1]]}}while(++p{"use strict";var r=n(42);var s=n(93604);e.exports=Object.assign||function(e){if(e===null||typeof e==="undefined"){throw new TypeError("Cannot convert undefined or null to object")}if(!isObject(e)){e={}}for(var t=1;t{"use strict";var r=n(58263);e.exports=function isExtendable(e){return r(e)||typeof e==="function"||Array.isArray(e)}},27504:(e,t,n)=>{"use strict";var r=n(40858);var s=n(63018);var i=n(31669);function extend(e,t){if(typeof e!=="function"){throw new TypeError("expected Parent to be a function.")}return function(n,o){if(typeof n!=="function"){throw new TypeError("expected Ctor to be a function.")}i.inherits(n,e);r(n,e);if(typeof o==="object"){var a=Object.create(o);for(var c in a){n.prototype[c]=a[c]}}s(n.prototype,"_parent_",{configurable:true,set:function(){},get:function(){return e.prototype}});if(typeof t==="function"){t(n,e)}n.extend=extend(n,t)}}e.exports=extend},18151:(e,t,n)=>{"use strict";const r=n(21468);const s=n(66443);class AsyncParallelBailHookCodeFactory extends s{content({onError:e,onResult:t,onDone:n}){let r="";r+=`var _results = new Array(${this.options.taps.length});\n`;r+="var _checkDone = () => {\n";r+="for(var i = 0; i < _results.length; i++) {\n";r+="var item = _results[i];\n";r+="if(item === undefined) return false;\n";r+="if(item.result !== undefined) {\n";r+=t("item.result");r+="return true;\n";r+="}\n";r+="if(item.error) {\n";r+=e("item.error");r+="return true;\n";r+="}\n";r+="}\n";r+="return false;\n";r+="}\n";r+=this.callTapsParallel({onError:(e,t,n,r)=>{let s="";s+=`if(${e} < _results.length && ((_results.length = ${e+1}), (_results[${e}] = { error: ${t} }), _checkDone())) {\n`;s+=r(true);s+="} else {\n";s+=n();s+="}\n";return s},onResult:(e,t,n,r)=>{let s="";s+=`if(${e} < _results.length && (${t} !== undefined && (_results.length = ${e+1}), (_results[${e}] = { result: ${t} }), _checkDone())) {\n`;s+=r(true);s+="} else {\n";s+=n();s+="}\n";return s},onTap:(e,t,n,r)=>{let s="";if(e>0){s+=`if(${e} >= _results.length) {\n`;s+=n();s+="} else {\n"}s+=t();if(e>0)s+="}\n";return s},onDone:n});return r}}const i=new AsyncParallelBailHookCodeFactory;class AsyncParallelBailHook extends r{compile(e){i.setup(this,e);return i.create(e)}}Object.defineProperties(AsyncParallelBailHook.prototype,{_call:{value:undefined,configurable:true,writable:true}});e.exports=AsyncParallelBailHook},31684:(e,t,n)=>{"use strict";const r=n(21468);const s=n(66443);class AsyncParallelHookCodeFactory extends s{content({onError:e,onDone:t}){return this.callTapsParallel({onError:(t,n,r,s)=>e(n)+s(true),onDone:t})}}const i=new AsyncParallelHookCodeFactory;class AsyncParallelHook extends r{compile(e){i.setup(this,e);return i.create(e)}}Object.defineProperties(AsyncParallelHook.prototype,{_call:{value:undefined,configurable:true,writable:true}});e.exports=AsyncParallelHook},95734:(e,t,n)=>{"use strict";const r=n(21468);const s=n(66443);class AsyncSeriesBailHookCodeFactory extends s{content({onError:e,onResult:t,resultReturns:n,onDone:r}){return this.callTapsSeries({onError:(t,n,r,s)=>e(n)+s(true),onResult:(e,n,r)=>`if(${n} !== undefined) {\n${t(n)};\n} else {\n${r()}}\n`,resultReturns:n,onDone:r})}}const i=new AsyncSeriesBailHookCodeFactory;class AsyncSeriesBailHook extends r{compile(e){i.setup(this,e);return i.create(e)}}Object.defineProperties(AsyncSeriesBailHook.prototype,{_call:{value:undefined,configurable:true,writable:true}});e.exports=AsyncSeriesBailHook},96496:(e,t,n)=>{"use strict";const r=n(21468);const s=n(66443);class AsyncSeriesHookCodeFactory extends s{content({onError:e,onDone:t}){return this.callTapsSeries({onError:(t,n,r,s)=>e(n)+s(true),onDone:t})}}const i=new AsyncSeriesHookCodeFactory;class AsyncSeriesHook extends r{compile(e){i.setup(this,e);return i.create(e)}}Object.defineProperties(AsyncSeriesHook.prototype,{_call:{value:undefined,configurable:true,writable:true}});e.exports=AsyncSeriesHook},58118:(e,t,n)=>{"use strict";const r=n(21468);const s=n(66443);class AsyncSeriesWaterfallHookCodeFactory extends s{content({onError:e,onResult:t,onDone:n}){return this.callTapsSeries({onError:(t,n,r,s)=>e(n)+s(true),onResult:(e,t,n)=>{let r="";r+=`if(${t} !== undefined) {\n`;r+=`${this._args[0]} = ${t};\n`;r+=`}\n`;r+=n();return r},onDone:()=>t(this._args[0])})}}const i=new AsyncSeriesWaterfallHookCodeFactory;class AsyncSeriesWaterfallHook extends r{constructor(e){super(e);if(e.length<1)throw new Error("Waterfall hooks must have at least one argument")}compile(e){i.setup(this,e);return i.create(e)}}Object.defineProperties(AsyncSeriesWaterfallHook.prototype,{_call:{value:undefined,configurable:true,writable:true}});e.exports=AsyncSeriesWaterfallHook},21468:e=>{"use strict";class Hook{constructor(e){if(!Array.isArray(e))e=[];this._args=e;this.taps=[];this.interceptors=[];this.call=this._call;this.promise=this._promise;this.callAsync=this._callAsync;this._x=undefined}compile(e){throw new Error("Abstract: should be overriden")}_createCall(e){return this.compile({taps:this.taps,interceptors:this.interceptors,args:this._args,type:e})}tap(e,t){if(typeof e==="string")e={name:e};if(typeof e!=="object"||e===null)throw new Error("Invalid arguments to tap(options: Object, fn: function)");e=Object.assign({type:"sync",fn:t},e);if(typeof e.name!=="string"||e.name==="")throw new Error("Missing name for tap");e=this._runRegisterInterceptors(e);this._insert(e)}tapAsync(e,t){if(typeof e==="string")e={name:e};if(typeof e!=="object"||e===null)throw new Error("Invalid arguments to tapAsync(options: Object, fn: function)");e=Object.assign({type:"async",fn:t},e);if(typeof e.name!=="string"||e.name==="")throw new Error("Missing name for tapAsync");e=this._runRegisterInterceptors(e);this._insert(e)}tapPromise(e,t){if(typeof e==="string")e={name:e};if(typeof e!=="object"||e===null)throw new Error("Invalid arguments to tapPromise(options: Object, fn: function)");e=Object.assign({type:"promise",fn:t},e);if(typeof e.name!=="string"||e.name==="")throw new Error("Missing name for tapPromise");e=this._runRegisterInterceptors(e);this._insert(e)}_runRegisterInterceptors(e){for(const t of this.interceptors){if(t.register){const n=t.register(e);if(n!==undefined)e=n}}return e}withOptions(e){const t=t=>Object.assign({},e,typeof t==="string"?{name:t}:t);e=Object.assign({},e,this._withOptions);const n=this._withOptionsBase||this;const r=Object.create(n);r.tapAsync=((e,r)=>n.tapAsync(t(e),r)),r.tap=((e,r)=>n.tap(t(e),r));r.tapPromise=((e,r)=>n.tapPromise(t(e),r));r._withOptions=e;r._withOptionsBase=n;return r}isUsed(){return this.taps.length>0||this.interceptors.length>0}intercept(e){this._resetCompilation();this.interceptors.push(Object.assign({},e));if(e.register){for(let t=0;t0){r--;const e=this.taps[r];this.taps[r+1]=e;const s=e.stage||0;if(t){if(t.has(e.name)){t.delete(e.name);continue}if(t.size>0){continue}}if(s>n){continue}r++;break}this.taps[r]=e}}function createCompileDelegate(e,t){return function lazyCompileHook(...n){this[e]=this._createCall(t);return this[e](...n)}}Object.defineProperties(Hook.prototype,{_call:{value:createCompileDelegate("call","sync"),configurable:true,writable:true},_promise:{value:createCompileDelegate("promise","promise"),configurable:true,writable:true},_callAsync:{value:createCompileDelegate("callAsync","async"),configurable:true,writable:true}});e.exports=Hook},66443:e=>{"use strict";class HookCodeFactory{constructor(e){this.config=e;this.options=undefined;this._args=undefined}create(e){this.init(e);let t;switch(this.options.type){case"sync":t=new Function(this.args(),'"use strict";\n'+this.header()+this.content({onError:e=>`throw ${e};\n`,onResult:e=>`return ${e};\n`,resultReturns:true,onDone:()=>"",rethrowIfPossible:true}));break;case"async":t=new Function(this.args({after:"_callback"}),'"use strict";\n'+this.header()+this.content({onError:e=>`_callback(${e});\n`,onResult:e=>`_callback(null, ${e});\n`,onDone:()=>"_callback();\n"}));break;case"promise":let e=false;const n=this.content({onError:t=>{e=true;return`_error(${t});\n`},onResult:e=>`_resolve(${e});\n`,onDone:()=>"_resolve();\n"});let r="";r+='"use strict";\n';r+="return new Promise((_resolve, _reject) => {\n";if(e){r+="var _sync = true;\n";r+="function _error(_err) {\n";r+="if(_sync)\n";r+="_resolve(Promise.resolve().then(() => { throw _err; }));\n";r+="else\n";r+="_reject(_err);\n";r+="};\n"}r+=this.header();r+=n;if(e){r+="_sync = false;\n"}r+="});\n";t=new Function(this.args(),r);break}this.deinit();return t}setup(e,t){e._x=t.taps.map(e=>e.fn)}init(e){this.options=e;this._args=e.args.slice()}deinit(){this.options=undefined;this._args=undefined}header(){let e="";if(this.needContext()){e+="var _context = {};\n"}else{e+="var _context;\n"}e+="var _x = this._x;\n";if(this.options.interceptors.length>0){e+="var _taps = this.taps;\n";e+="var _interceptors = this.interceptors;\n"}for(let t=0;t {\n`;else o+=`_err${e} => {\n`;o+=`if(_err${e}) {\n`;o+=t(`_err${e}`);o+="} else {\n";if(n){o+=n(`_result${e}`)}if(r){o+=r()}o+="}\n";o+="}";i+=`_fn${e}(${this.args({before:a.context?"_context":undefined,after:o})});\n`;break;case"promise":i+=`var _hasResult${e} = false;\n`;i+=`var _promise${e} = _fn${e}(${this.args({before:a.context?"_context":undefined})});\n`;i+=`if (!_promise${e} || !_promise${e}.then)\n`;i+=` throw new Error('Tap function (tapPromise) did not return promise (returned ' + _promise${e} + ')');\n`;i+=`_promise${e}.then(_result${e} => {\n`;i+=`_hasResult${e} = true;\n`;if(n){i+=n(`_result${e}`)}if(r){i+=r()}i+=`}, _err${e} => {\n`;i+=`if(_hasResult${e}) throw _err${e};\n`;i+=t(`_err${e}`);i+="});\n";break}return i}callTapsSeries({onError:e,onResult:t,resultReturns:n,onDone:r,doneReturns:s,rethrowIfPossible:i}){if(this.options.taps.length===0)return r();const o=this.options.taps.findIndex(e=>e.type!=="sync");const a=n||s||false;let c="";let l=r;for(let n=this.options.taps.length-1;n>=0;n--){const s=n;const u=l!==r&&this.options.taps[s].type!=="sync";if(u){c+=`function _next${s}() {\n`;c+=l();c+=`}\n`;l=(()=>`${a?"return ":""}_next${s}();\n`)}const f=l;const p=e=>{if(e)return"";return r()};const d=this.callTap(s,{onError:t=>e(s,t,f,p),onResult:t&&(e=>{return t(s,e,f,p)}),onDone:!t&&f,rethrowIfPossible:i&&(o<0||sd)}c+=l();return c}callTapsLooping({onError:e,onDone:t,rethrowIfPossible:n}){if(this.options.taps.length===0)return t();const r=this.options.taps.every(e=>e.type==="sync");let s="";if(!r){s+="var _looper = () => {\n";s+="var _loopAsync = false;\n"}s+="var _loop;\n";s+="do {\n";s+="_loop = false;\n";for(let e=0;e{let i="";i+=`if(${t} !== undefined) {\n`;i+="_loop = true;\n";if(!r)i+="if(_loopAsync) _looper();\n";i+=s(true);i+=`} else {\n`;i+=n();i+=`}\n`;return i},onDone:t&&(()=>{let e="";e+="if(!_loop) {\n";e+=t();e+="}\n";return e}),rethrowIfPossible:n&&r});s+="} while(_loop);\n";if(!r){s+="_loopAsync = true;\n";s+="};\n";s+="_looper();\n"}return s}callTapsParallel({onError:e,onResult:t,onDone:n,rethrowIfPossible:r,onTap:s=((e,t)=>t())}){if(this.options.taps.length<=1){return this.callTapsSeries({onError:e,onResult:t,onDone:n,rethrowIfPossible:r})}let i="";i+="do {\n";i+=`var _counter = ${this.options.taps.length};\n`;if(n){i+="var _done = () => {\n";i+=n();i+="};\n"}for(let o=0;o{if(n)return"if(--_counter === 0) _done();\n";else return"--_counter;"};const c=e=>{if(e||!n)return"_counter = 0;\n";else return"_counter = 0;\n_done();\n"};i+="if(_counter <= 0) break;\n";i+=s(o,()=>this.callTap(o,{onError:t=>{let n="";n+="if(_counter > 0) {\n";n+=e(o,t,a,c);n+="}\n";return n},onResult:t&&(e=>{let n="";n+="if(_counter > 0) {\n";n+=t(o,e,a,c);n+="}\n";return n}),onDone:!t&&(()=>{return a()}),rethrowIfPossible:r}),a,c)}i+="} while(false);\n";return i}args({before:e,after:t}={}){let n=this._args;if(e)n=[e].concat(n);if(t)n=n.concat(t);if(n.length===0){return""}else{return n.join(", ")}}getTapFn(e){return`_x[${e}]`}getTap(e){return`_taps[${e}]`}getInterceptor(e){return`_interceptors[${e}]`}}e.exports=HookCodeFactory},77079:e=>{"use strict";class HookMap{constructor(e){this._map=new Map;this._factory=e;this._interceptors=[]}get(e){return this._map.get(e)}for(e){const t=this.get(e);if(t!==undefined){return t}let n=this._factory(e);const r=this._interceptors;for(let t=0;tt},e))}tap(e,t,n){return this.for(e).tap(t,n)}tapAsync(e,t,n){return this.for(e).tapAsync(t,n)}tapPromise(e,t,n){return this.for(e).tapPromise(t,n)}}e.exports=HookMap},13103:(e,t,n)=>{"use strict";const r=n(21468);class MultiHook{constructor(e){this.hooks=e}tap(e,t){for(const n of this.hooks){n.tap(e,t)}}tapAsync(e,t){for(const n of this.hooks){n.tapAsync(e,t)}}tapPromise(e,t){for(const n of this.hooks){n.tapPromise(e,t)}}isUsed(){for(const e of this.hooks){if(e.isUsed())return true}return false}intercept(e){for(const t of this.hooks){t.intercept(e)}}withOptions(e){return new MultiHook(this.hooks.map(t=>t.withOptions(e)))}}e.exports=MultiHook},1626:(e,t,n)=>{"use strict";const r=n(21468);const s=n(66443);class SyncBailHookCodeFactory extends s{content({onError:e,onResult:t,resultReturns:n,onDone:r,rethrowIfPossible:s}){return this.callTapsSeries({onError:(t,n)=>e(n),onResult:(e,n,r)=>`if(${n} !== undefined) {\n${t(n)};\n} else {\n${r()}}\n`,resultReturns:n,onDone:r,rethrowIfPossible:s})}}const i=new SyncBailHookCodeFactory;class SyncBailHook extends r{tapAsync(){throw new Error("tapAsync is not supported on a SyncBailHook")}tapPromise(){throw new Error("tapPromise is not supported on a SyncBailHook")}compile(e){i.setup(this,e);return i.create(e)}}e.exports=SyncBailHook},69689:(e,t,n)=>{"use strict";const r=n(21468);const s=n(66443);class SyncHookCodeFactory extends s{content({onError:e,onDone:t,rethrowIfPossible:n}){return this.callTapsSeries({onError:(t,n)=>e(n),onDone:t,rethrowIfPossible:n})}}const i=new SyncHookCodeFactory;class SyncHook extends r{tapAsync(){throw new Error("tapAsync is not supported on a SyncHook")}tapPromise(){throw new Error("tapPromise is not supported on a SyncHook")}compile(e){i.setup(this,e);return i.create(e)}}e.exports=SyncHook},50179:(e,t,n)=>{"use strict";const r=n(21468);const s=n(66443);class SyncLoopHookCodeFactory extends s{content({onError:e,onDone:t,rethrowIfPossible:n}){return this.callTapsLooping({onError:(t,n)=>e(n),onDone:t,rethrowIfPossible:n})}}const i=new SyncLoopHookCodeFactory;class SyncLoopHook extends r{tapAsync(){throw new Error("tapAsync is not supported on a SyncLoopHook")}tapPromise(){throw new Error("tapPromise is not supported on a SyncLoopHook")}compile(e){i.setup(this,e);return i.create(e)}}e.exports=SyncLoopHook},36093:(e,t,n)=>{"use strict";const r=n(21468);const s=n(66443);class SyncWaterfallHookCodeFactory extends s{content({onError:e,onResult:t,resultReturns:n,rethrowIfPossible:r}){return this.callTapsSeries({onError:(t,n)=>e(n),onResult:(e,t,n)=>{let r="";r+=`if(${t} !== undefined) {\n`;r+=`${this._args[0]} = ${t};\n`;r+=`}\n`;r+=n();return r},onDone:()=>t(this._args[0]),doneReturns:n,rethrowIfPossible:r})}}const i=new SyncWaterfallHookCodeFactory;class SyncWaterfallHook extends r{constructor(e){super(e);if(e.length<1)throw new Error("Waterfall hooks must have at least one argument")}tapAsync(){throw new Error("tapAsync is not supported on a SyncWaterfallHook")}tapPromise(){throw new Error("tapPromise is not supported on a SyncWaterfallHook")}compile(e){i.setup(this,e);return i.create(e)}}e.exports=SyncWaterfallHook},41354:(e,t,n)=>{"use strict";const r=n(31669);const s=n(1626);function Tapable(){this._pluginCompat=new s(["options"]);this._pluginCompat.tap({name:"Tapable camelCase",stage:100},e=>{e.names.add(e.name.replace(/[- ]([a-z])/g,(e,t)=>t.toUpperCase()))});this._pluginCompat.tap({name:"Tapable this.hooks",stage:200},e=>{let t;for(const n of e.names){t=this.hooks[n];if(t!==undefined){break}}if(t!==undefined){const n={name:e.fn.name||"unnamed compat plugin",stage:e.stage||0};if(e.async)t.tapAsync(n,e.fn);else t.tap(n,e.fn);return true}})}e.exports=Tapable;Tapable.addCompatLayer=function addCompatLayer(e){Tapable.call(e);e.plugin=Tapable.prototype.plugin;e.apply=Tapable.prototype.apply};Tapable.prototype.plugin=r.deprecate(function plugin(e,t){if(Array.isArray(e)){e.forEach(function(e){this.plugin(e,t)},this);return}const n=this._pluginCompat.call({name:e,fn:t,names:new Set([e])});if(!n){throw new Error(`Plugin could not be registered at '${e}'. Hook was not found.\n`+"BREAKING CHANGE: There need to exist a hook at 'this.hooks'. "+"To create a compatibility layer for this hook, hook into 'this._pluginCompat'.")}},"Tapable.plugin is deprecated. Use new API on `.hooks` instead");Tapable.prototype.apply=r.deprecate(function apply(){for(var e=0;e{"use strict";t.__esModule=true;t.Tapable=n(41354);t.SyncHook=n(69689);t.SyncBailHook=n(1626);t.SyncWaterfallHook=n(36093);t.SyncLoopHook=n(50179);t.AsyncParallelHook=n(31684);t.AsyncParallelBailHook=n(18151);t.AsyncSeriesHook=n(96496);t.AsyncSeriesBailHook=n(95734);t.AsyncSeriesWaterfallHook=n(58118);t.HookMap=n(77079);t.MultiHook=n(13103)},35770:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=_interopRequireDefault(n(12087));var s=_interopRequireDefault(n(36801));var i=_interopRequireDefault(n(61844));var o=_interopRequireDefault(n(53982));var a=_interopRequireDefault(n(86393));var c=_interopRequireDefault(n(47543));var l=_interopRequireDefault(n(60328));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const u=n.ab+"worker.js";class TaskRunner{constructor(e={}){const{cache:t,parallel:n}=e;this.cacheDir=t===true?(0,i.default)({name:"terser-webpack-plugin"})||r.default.tmpdir():t;const s=r.default.cpus()||{length:1};this.maxConcurrentWorkers=c.default?1:n===true?s.length-1:Math.min(Number(n)||0,s.length-1)}run(e,t){if(!e.length){t(null,[]);return}if(this.maxConcurrentWorkers>1){const e=process.platform==="win32"?{maxConcurrentWorkers:this.maxConcurrentWorkers,maxConcurrentCallsPerWorker:1}:{maxConcurrentWorkers:this.maxConcurrentWorkers};this.workers=(0,o.default)(e,n.ab+"worker.js");this.boundWorkers=((e,t)=>{try{this.workers((0,a.default)(e),t)}catch(e){t(e)}})}else{this.boundWorkers=((e,t)=>{try{t(null,(0,l.default)(e))}catch(e){t(e)}})}let r=e.length;const i=[];const c=(e,n)=>{r-=1;i[e]=n;if(!r){t(null,i)}};e.forEach((e,t)=>{const n=()=>{this.boundWorkers(e,(n,r)=>{const i=n?{error:n}:r;const o=()=>c(t,i);if(this.cacheDir&&!i.error){s.default.put(this.cacheDir,(0,a.default)(e.cacheKeys),JSON.stringify(r)).then(o,o)}else{o()}})};if(this.cacheDir){s.default.get(this.cacheDir,(0,a.default)(e.cacheKeys)).then(({data:e})=>c(t,JSON.parse(e)),n)}else{n()}})}exit(){if(this.workers){o.default.end(this.workers)}}}t.default=TaskRunner},45245:(e,t,n)=>{"use strict";const r=n(8299);e.exports=r.default},8299:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=_interopRequireDefault(n(76417));var s=_interopRequireDefault(n(85622));var i=n(96241);var o=n(50932);var a=_interopRequireDefault(n(72372));var c=_interopRequireDefault(n(74491));var l=_interopRequireDefault(n(33225));var u=_interopRequireDefault(n(86393));var f=_interopRequireDefault(n(92203));var p=_interopRequireDefault(n(11840));var d=_interopRequireDefault(n(35770));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);if(t)r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable});n.push.apply(n,r)}return n}function _objectSpread(e){for(var t=1;ttrue),warningsFilter:i=(()=>true),extractComments:o=false,sourceMap:a=false,cache:c=false,cacheKeys:u=(e=>e),parallel:f=false,include:d,exclude:h}=e;this.options={test:r,chunkFilter:s,warningsFilter:i,extractComments:o,sourceMap:a,cache:c,cacheKeys:u,parallel:f,include:d,exclude:h,minify:t,terserOptions:_objectSpread({output:{comments:o?false:/^\**!|@preserve|@license|@cc_on/i}},n)}}static isSourceMap(e){return Boolean(e&&e.version&&e.sources&&Array.isArray(e.sources)&&typeof e.mappings==="string")}static buildSourceMap(e){if(!e||!TerserPlugin.isSourceMap(e)){return null}return new i.SourceMapConsumer(e)}static buildError(e,t,n,r){if(e.line){const s=n&&n.originalPositionFor({line:e.line,column:e.col});if(s&&s.source&&r){return new Error(`${t} from Terser\n${e.message} [${r.shorten(s.source)}:${s.line},${s.column}][${t}:${e.line},${e.col}]`)}return new Error(`${t} from Terser\n${e.message} [${t}:${e.line},${e.col}]`)}else if(e.stack){return new Error(`${t} from Terser\n${e.stack}`)}return new Error(`${t} from Terser\n${e.message}`)}static buildWarning(e,t,n,r,s){let i=e;let o="";let a=null;if(n){const s=h.exec(e);if(s){const e=+s[1];const c=+s[2];const l=n.originalPositionFor({line:e,column:c});if(l&&l.source&&l.source!==t&&r){({source:a}=l);i=`${i.replace(h,"")}`;o=`[${r.shorten(l.source)}:${l.line},${l.column}]`}}}if(s&&!s(e,a)){return null}return`Terser Plugin: ${i}${o}`}apply(e){const t=e=>{e.useSourceMap=true};const i=(t,i,l)=>{const u=new d.default({cache:this.options.cache,parallel:this.options.parallel});const p=new WeakSet;const h=[];const{chunkFilter:m}=this.options;Array.from(i).filter(e=>m&&m(e)).reduce((e,t)=>e.concat(t.files||[]),[]).concat(t.additionalChunkAssets||[]).filter(c.default.matchObject.bind(null,this.options)).forEach(s=>{let i;const o=t.assets[s];if(p.has(o)){return}try{let c;if(this.options.sourceMap&&o.sourceAndMap){const{source:e,map:n}=o.sourceAndMap();c=e;if(TerserPlugin.isSourceMap(n)){i=n}else{i=n;t.warnings.push(new Error(`${s} contains invalid source map`))}}else{c=o.source();i=null}let l=false;if(this.options.extractComments){l=this.options.extractComments.filename||`${s}.LICENSE`;if(typeof l==="function"){l=l(s)}}const u={file:s,input:c,inputSourceMap:i,commentsFile:l,extractComments:this.options.extractComments,terserOptions:this.options.terserOptions,minify:this.options.minify};if(this.options.cache){const e={terser:f.default.version,node_version:process.version,"terser-webpack-plugin":n(9122).i8,"terser-webpack-plugin-options":this.options,hash:r.default.createHash("md4").update(c).digest("hex")};u.cacheKeys=this.options.cacheKeys(e,s)}h.push(u)}catch(n){t.errors.push(TerserPlugin.buildError(n,s,TerserPlugin.buildSourceMap(i),new a.default(e.context)))}});u.run(h,(n,r)=>{if(n){t.errors.push(n);return}r.forEach((n,r)=>{const{file:i,input:c,inputSourceMap:l,commentsFile:u}=h[r];const{error:f,map:d,code:m,warnings:y}=n;let{extractedComments:g}=n;let v=null;if(f||y&&y.length>0){v=TerserPlugin.buildSourceMap(l)}if(f){t.errors.push(TerserPlugin.buildError(f,i,v,new a.default(e.context)));return}let b;if(d){b=new o.SourceMapSource(m,i,JSON.parse(d),c,l,true)}else{b=new o.RawSource(m)}if(u&&g&&g.length>0){if(u in t.assets){const e=t.assets[u].source();g=g.filter(t=>!e.includes(t))}if(g.length>0){if(this.options.extractComments.banner!==false){let e=this.options.extractComments.banner||`For license information please see ${s.default.posix.basename(u)}`;if(typeof e==="function"){e=e(u)}if(e){b=new o.ConcatSource(`/*! ${e} */\n`,b)}}const e=new o.RawSource(`${g.join("\n\n")}\n`);if(u in t.assets){if(t.assets[u]instanceof o.ConcatSource){t.assets[u].add("\n");t.assets[u].add(e)}else{t.assets[u]=new o.ConcatSource(t.assets[u],"\n",e)}}else{t.assets[u]=e}}}p.add(t.assets[i]=b);if(y&&y.length>0){y.forEach(n=>{const r=TerserPlugin.buildWarning(n,i,v,new a.default(e.context),this.options.warningsFilter);if(r){t.warnings.push(r)}})}});u.exit();l()})};const l={name:this.constructor.name};e.hooks.compilation.tap(l,e=>{if(this.options.sourceMap){e.hooks.buildModule.tap(l,t)}const{mainTemplate:n,chunkTemplate:r}=e;for(const e of[n,r]){e.hooks.hashForChunk.tap(l,e=>{const t=(0,u.default)({terser:f.default.version,terserOptions:this.options.terserOptions});e.update("TerserPlugin");e.update(t)})}e.hooks.optimizeChunkAssets.tapAsync(l,i.bind(this,e))})}}var m=TerserPlugin;t.default=m},60328:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var r=n(54775);function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);if(t)r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable});n.push.apply(n,r)}return n}function _objectSpread(e){for(var t=1;t({ecma:e,warnings:t,parse:_objectSpread({},n),compress:typeof r==="boolean"?r:_objectSpread({},r),mangle:s==null?true:typeof s==="boolean"?s:_objectSpread({},s),output:_objectSpread({shebang:true,comments:false,beautify:false,semicolons:true},o),module:i,sourceMap:null,toplevel:a,nameCache:c,ie8:l,keep_classnames:u,keep_fnames:f,safari10:p});const i=(e,t,n)=>{const r={};const s=t.output.comments;if(typeof e.extractComments==="boolean"){r.preserve=s;r.extract=/^\**!|@preserve|@license|@cc_on/i}else if(typeof e.extractComments==="string"||e.extractComments instanceof RegExp){r.preserve=s;r.extract=e.extractComments}else if(typeof e.extractComments==="function"){r.preserve=s;r.extract=e.extractComments}else if(Object.prototype.hasOwnProperty.call(e.extractComments,"condition")){r.preserve=s;r.extract=e.extractComments.condition}else{r.preserve=false;r.extract=s}["preserve","extract"].forEach(e=>{let t;let n;switch(typeof r[e]){case"boolean":r[e]=r[e]?()=>true:()=>false;break;case"function":break;case"string":if(r[e]==="all"){r[e]=(()=>true);break}if(r[e]==="some"){r[e]=((e,t)=>{return t.type==="comment2"&&/^\**!|@preserve|@license|@cc_on/i.test(t.value)});break}t=r[e];r[e]=((e,n)=>{return new RegExp(t).test(n.value)});break;default:n=r[e];r[e]=((e,t)=>n.test(t.value))}});return(e,t)=>{if(r.extract(e,t)){const e=t.type==="comment2"?`/*${t.value}*/`:`//${t.value}`;if(!n.includes(e)){n.push(e)}}return r.preserve(e,t)}};const o=e=>{const{file:t,input:n,inputSourceMap:o,extractComments:a,minify:c}=e;if(c){return c({[t]:n},o)}const l=s(e.terserOptions);if(o){l.sourceMap=true}const u=[];if(a){l.output.comments=i(e,l,u)}const{error:f,map:p,code:d,warnings:h}=(0,r.minify)({[t]:n},l);return{error:f,map:p,code:d,warnings:h,extractedComments:u}};var a=o;t.default=a},30328:(e,t,n)=>{"use strict";var r=n(49413);e.exports=function toPath(e){if(r(e)!=="arguments"){e=arguments}return filter(e).join(".")};function filter(e){var t=e.length;var n=-1;var s=[];while(++n{"use strict";var r=n(69626);var s=n(86110);var i={};function toRegexRange(e,t,n){if(s(e)===false){throw new RangeError("toRegexRange: first argument is invalid.")}if(typeof t==="undefined"||e===t){return String(e)}if(s(t)===false){throw new RangeError("toRegexRange: second argument is invalid.")}n=n||{};var r=String(n.relaxZeros);var o=String(n.shorthand);var a=String(n.capture);var c=e+":"+t+"="+r+o+a;if(i.hasOwnProperty(c)){return i[c].result}var l=Math.min(e,t);var u=Math.max(e,t);if(Math.abs(l-u)===1){var f=e+"|"+t;if(n.capture){return"("+f+")"}return f}var p=padding(e)||padding(t);var d=[];var h=[];var m={min:e,max:t,a:l,b:u};if(p){m.isPadded=p;m.maxLen=String(m.max).length}if(l<0){var y=u<0?Math.abs(u):1;var g=Math.abs(l);h=splitToPatterns(y,g,m,n);l=m.a=0}if(u>=0){d=splitToPatterns(l,u,m,n)}m.negatives=h;m.positives=d;m.result=siftPatterns(h,d,n);if(n.capture&&d.length+h.length>1){m.result="("+m.result+")"}i[c]=m;return m.result}function siftPatterns(e,t,n){var r=filterPatterns(e,t,"-",false,n)||[];var s=filterPatterns(t,e,"",false,n)||[];var i=filterPatterns(e,t,"-?",true,n)||[];var o=r.concat(i).concat(s);return o.join("|")}function splitToRanges(e,t){e=Number(e);t=Number(t);var n=1;var r=[t];var s=+countNines(e,n);while(e<=s&&s<=t){r=push(r,s);n+=1;s=+countNines(e,n)}var i=1;s=countZeros(t+1,i)-1;while(e1){l.digits.pop()}l.digits.push(f.digits[0]);l.string=l.pattern+toQuantifier(l.digits);c=u+1;continue}if(n.isPadded){p=padZeros(u,n)}f.string=p+f.pattern+toQuantifier(f.digits);a.push(f);c=u+1;l=f}return a}function filterPatterns(e,t,n,r,s){var i=[];for(var o=0;ot?1:t>e?-1:0}function push(e,t){if(e.indexOf(t)===-1)e.push(t);return e}function contains(e,t,n){for(var r=0;r{"use strict";var r=n(28589);var s=n(64914);var i=n(84216);var o=n(50466);var a=1024*64;var c={};e.exports=function(e,t){if(!Array.isArray(e)){return makeRe(e,t)}return makeRe(e.join("|"),t)};function makeRe(e,t){if(e instanceof RegExp){return e}if(typeof e!=="string"){throw new TypeError("expected a string")}if(e.length>a){throw new Error("expected pattern to be less than "+a+" characters")}var n=e;if(!t||t&&t.cache!==false){n=createKey(e,t);if(c.hasOwnProperty(n)){return c[n]}}var s=i({},t);if(s.contains===true){if(s.negate===true){s.strictNegate=false}else{s.strict=false}}if(s.strict===false){s.strictOpen=false;s.strictClose=false}var l=s.strictOpen!==false?"^":"";var u=s.strictClose!==false?"$":"";var f=s.flags||"";var p;if(s.nocase===true&&!/i/.test(f)){f+="i"}try{if(s.negate||typeof s.strictNegate==="boolean"){e=o.create(e,s)}var d=l+"(?:"+e+")"+u;p=new RegExp(d,f);if(s.safe===true&&r(p)===false){throw new Error("potentially unsafe regular expression: "+p.source)}}catch(r){if(s.strictErrors===true||s.safe===true){r.key=n;r.pattern=e;r.originalOptions=t;r.createdOptions=s;throw r}try{p=new RegExp("^"+e.replace(/(\W)/g,"\\$1")+"$")}catch(e){p=/.^/}}if(s.cache!==false){memoize(p,n,e,s)}return p}function memoize(e,t,n,r){s(e,"cached",true);s(e,"pattern",n);s(e,"options",r);s(e,"key",t);c[t]=e}function createKey(e,t){if(!t)return e;var n=e;for(var r in t){if(t.hasOwnProperty(r)){n+=";"+r+"="+String(t[r])}}return n}e.exports.makeRe=makeRe},64914:(e,t,n)=>{"use strict";var r=n(97328);var s=n(85721);var i=typeof Reflect!=="undefined"&&Reflect.defineProperty?Reflect.defineProperty:Object.defineProperty;e.exports=function defineProperty(e,t,n){if(!r(e)&&typeof e!=="function"&&!Array.isArray(e)){throw new TypeError("expected an object, function, or array")}if(typeof t!=="string"){throw new TypeError('expected "key" to be a string')}if(s(n)){i(e,t,n);return e}i(e,t,{configurable:true,enumerable:false,writable:true,value:n});return e}},84216:(e,t,n)=>{"use strict";var r=n(42368);var s=n(93604);e.exports=Object.assign||function(e){if(e===null||typeof e==="undefined"){throw new TypeError("Cannot convert undefined or null to object")}if(!isObject(e)){e={}}for(var t=1;t{"use strict";var r=n(58263);e.exports=function isExtendable(e){return r(e)||typeof e==="function"||Array.isArray(e)}},30036:e=>{var t;var n;var r;var s;var i;var o;var a;var c;var l;var u;var f;var p;var d;var h;var m;var y;var g;var v;var b;var w;var k;var x;(function(t){var n=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],function(e){t(createExporter(n,createExporter(e)))})}else if(true&&typeof e.exports==="object"){t(createExporter(n,createExporter(e.exports)))}else{t(createExporter(n))}function createExporter(e,t){if(e!==n){if(typeof Object.create==="function"){Object.defineProperty(e,"__esModule",{value:true})}else{e.__esModule=true}}return function(n,r){return e[n]=t?t(n,r):r}}})(function(e){var S=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(t.hasOwnProperty(n))e[n]=t[n]};t=function(e,t){S(e,t);function __(){this.constructor=e}e.prototype=t===null?Object.create(t):(__.prototype=t.prototype,new __)};n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;a--)if(o=e[a])i=(s<3?o(i):s>3?o(t,n,i):o(t,n))||i;return s>3&&i&&Object.defineProperty(t,n,i),i};i=function(e,t){return function(n,r){t(n,r,e)}};o=function(e,t){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(e,t)};a=function(e,t,n,r){function adopt(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,s){function fulfilled(e){try{step(r.next(e))}catch(e){s(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){s(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())})};c=function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,s,i,o;return o={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function verb(e){return function(t){return step([e,t])}}function step(o){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,s&&(i=o[0]&2?s["return"]:o[0]?s["throw"]||((i=s["return"])&&i.call(s),0):s.next)&&!(i=i.call(s,o[1])).done)return i;if(s=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;s=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]=e.length)e=void 0;return{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};f=function(e,t){var n=typeof Symbol==="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),s,i=[],o;try{while((t===void 0||t-- >0)&&!(s=r.next()).done)i.push(s.value)}catch(e){o={error:e}}finally{try{if(s&&!s.done&&(n=r["return"]))n.call(r)}finally{if(o)throw o.error}}return i};p=function(){for(var e=[],t=0;t1||resume(e,t)})}}function resume(e,t){try{step(r[e](t))}catch(e){settle(i[0][3],e)}}function step(e){e.value instanceof h?Promise.resolve(e.value.v).then(fulfill,reject):settle(i[0][2],e)}function fulfill(e){resume("next",e)}function reject(e){resume("throw",e)}function settle(e,t){if(e(t),i.shift(),i.length)resume(i[0][0],i[0][1])}};y=function(e){var t,n;return t={},verb("next"),verb("throw",function(e){throw e}),verb("return"),t[Symbol.iterator]=function(){return this},t;function verb(r,s){t[r]=e[r]?function(t){return(n=!n)?{value:h(e[r](t)),done:r==="return"}:s?s(t):t}:s}};g=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof u==="function"?u(e):e[Symbol.iterator](),n={},verb("next"),verb("throw"),verb("return"),n[Symbol.asyncIterator]=function(){return this},n);function verb(t){n[t]=e[t]&&function(n){return new Promise(function(r,s){n=e[t](n),settle(r,s,n.done,n.value)})}}function settle(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}};v=function(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e};b=function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(Object.hasOwnProperty.call(e,n))t[n]=e[n];t["default"]=e;return t};w=function(e){return e&&e.__esModule?e:{default:e}};k=function(e,t){if(!t.has(e)){throw new TypeError("attempted to get private field on non-instance")}return t.get(e)};x=function(e,t,n){if(!t.has(e)){throw new TypeError("attempted to set private field on non-instance")}t.set(e,n);return n};e("__extends",t);e("__assign",n);e("__rest",r);e("__decorate",s);e("__param",i);e("__metadata",o);e("__awaiter",a);e("__generator",c);e("__exportStar",l);e("__values",u);e("__read",f);e("__spread",p);e("__spreadArrays",d);e("__await",h);e("__asyncGenerator",m);e("__asyncDelegator",y);e("__asyncValues",g);e("__makeTemplateObject",v);e("__importStar",b);e("__importDefault",w);e("__classPrivateFieldGet",k);e("__classPrivateFieldSet",x)})},46405:(e,t,n)=>{"use strict";var r=n(77242);var s=n(34954);var i=n(3826);var o=n(84927);e.exports=function unionValue(e,t,n){if(!r(e)){throw new TypeError("union-value expects the first argument to be an object.")}if(typeof t!=="string"){throw new TypeError("union-value expects `prop` to be a string.")}var a=arrayify(i(e,t));o(e,t,s(a,arrayify(n)));return e};function arrayify(e){if(e===null||typeof e==="undefined"){return[]}if(Array.isArray(e)){return e}return[e]}},72281:(e,t,n)=>{"use strict";var r=n(97328);var s=n(96234);e.exports=function unset(e,t){if(!r(e)){throw new TypeError("expected an object.")}if(e.hasOwnProperty(t)){delete e[t];return true}if(s(e,t)){var n=t.split(".");var i=n.pop();while(n.length&&n[n.length-1].slice(-1)==="\\"){i=n.pop().slice(0,-1)+"."+i}while(n.length)e=e[t=n.shift()];return delete e[i]}return true}},96234:(e,t,n)=>{"use strict";var r=n(26100);var s=n(33629);var i=n(3826);e.exports=function(e,t,n){if(r(e)){return s(i(e,t),n)}return s(e,t)}},26100:(e,t,n)=>{"use strict";var r=n(59842);e.exports=function isObject(e){return e!=null&&typeof e==="object"&&r(e)===false}},33629:e=>{"use strict";e.exports=function hasValue(e,t){if(e===null||e===undefined){return false}if(typeof e==="boolean"){return true}if(typeof e==="number"){if(e===0&&t===true){return false}return true}if(e.length!==undefined){return e.length!==0}for(var n in e){if(e.hasOwnProperty(n)){return true}}return false}},57620:function(e,t){(function(e,n){true?n(t):0})(this,function(e){"use strict";function merge(){for(var e=arguments.length,t=Array(e),n=0;n1){t[0]=t[0].slice(0,-1);var r=t.length-1;for(var s=1;s= 0x80 (not a basic code point)","invalid-input":"Invalid input"};var v=o-a;var b=Math.floor;var w=String.fromCharCode;function error$1(e){throw new RangeError(g[e])}function map(e,t){var n=[];var r=e.length;while(r--){n[r]=t(e[r])}return n}function mapDomain(e,t){var n=e.split("@");var r="";if(n.length>1){r=n[0]+"@";e=n[1]}e=e.replace(y,".");var s=e.split(".");var i=map(s,t).join(".");return r+i}function ucs2decode(e){var t=[];var n=0;var r=e.length;while(n=55296&&s<=56319&&n>1;e+=b(e/t);for(;e>v*c>>1;r+=o){e=b(e/v)}return b(r+(v+1)*e/(e+l))};var O=function decode(e){var t=[];var n=e.length;var r=0;var s=p;var l=f;var u=e.lastIndexOf(d);if(u<0){u=0}for(var h=0;h=128){error$1("not-basic")}t.push(e.charCodeAt(h))}for(var m=u>0?u+1:0;m=n){error$1("invalid-input")}var w=x(e.charCodeAt(m++));if(w>=o||w>b((i-r)/g)){error$1("overflow")}r+=w*g;var k=v<=l?a:v>=l+c?c:v-l;if(wb(i/S)){error$1("overflow")}g*=S}var O=t.length+1;l=E(r-y,O,y==0);if(b(r/O)>i-s){error$1("overflow")}s+=b(r/O);r%=O;t.splice(r++,0,s)}return String.fromCodePoint.apply(String,t)};var C=function encode(e){var t=[];e=ucs2decode(e);var n=e.length;var r=p;var s=0;var l=f;var u=true;var h=false;var m=undefined;try{for(var y=e[Symbol.iterator](),g;!(u=(g=y.next()).done);u=true){var v=g.value;if(v<128){t.push(w(v))}}}catch(e){h=true;m=e}finally{try{if(!u&&y.return){y.return()}}finally{if(h){throw m}}}var k=t.length;var x=k;if(k){t.push(d)}while(x=r&&Rb((i-s)/j)){error$1("overflow")}s+=(O-r)*j;r=O;var F=true;var N=false;var D=undefined;try{for(var P=e[Symbol.iterator](),L;!(F=(L=P.next()).done);F=true){var q=L.value;if(qi){error$1("overflow")}if(q==r){var _=s;for(var z=o;;z+=o){var B=z<=l?a:z>=l+c?c:z-l;if(_>6|192).toString(16).toUpperCase()+"%"+(t&63|128).toString(16).toUpperCase();else n="%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(t&63|128).toString(16).toUpperCase();return n}function pctDecChars(e){var t="";var n=0;var r=e.length;while(n=194&&s<224){if(r-n>=6){var i=parseInt(e.substr(n+4,2),16);t+=String.fromCharCode((s&31)<<6|i&63)}else{t+=e.substr(n,6)}n+=6}else if(s>=224){if(r-n>=9){var o=parseInt(e.substr(n+4,2),16);var a=parseInt(e.substr(n+7,2),16);t+=String.fromCharCode((s&15)<<12|(o&63)<<6|a&63)}else{t+=e.substr(n,9)}n+=9}else{t+=e.substr(n,3);n+=3}}return t}function _normalizeComponentEncoding(e,t){function decodeUnreserved(e){var n=pctDecChars(e);return!n.match(t.UNRESERVED)?e:n}if(e.scheme)e.scheme=String(e.scheme).replace(t.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(t.NOT_SCHEME,"");if(e.userinfo!==undefined)e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_USERINFO,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.host!==undefined)e.host=String(e.host).replace(t.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(t.NOT_HOST,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.path!==undefined)e.path=String(e.path).replace(t.PCT_ENCODED,decodeUnreserved).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.query!==undefined)e.query=String(e.query).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_QUERY,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.fragment!==undefined)e.fragment=String(e.fragment).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_FRAGMENT,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);return e}function _stripLeadingZeros(e){return e.replace(/^0*(.*)/,"$1")||"0"}function _normalizeIPv4(e,t){var n=e.match(t.IPV4ADDRESS)||[];var s=r(n,2),i=s[1];if(i){return i.split(".").map(_stripLeadingZeros).join(".")}else{return e}}function _normalizeIPv6(e,t){var n=e.match(t.IPV6ADDRESS)||[];var s=r(n,3),i=s[1],o=s[2];if(i){var a=i.toLowerCase().split("::").reverse(),c=r(a,2),l=c[0],u=c[1];var f=u?u.split(":").map(_stripLeadingZeros):[];var p=l.split(":").map(_stripLeadingZeros);var d=t.IPV4ADDRESS.test(p[p.length-1]);var h=d?7:8;var m=p.length-h;var y=Array(h);for(var g=0;g1){var k=y.slice(0,b.index);var x=y.slice(b.index+b.length);w=k.join(":")+"::"+x.join(":")}else{w=y.join(":")}if(o){w+="%"+o}return w}else{return e}}var R=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i;var j="".match(/(){0}/)[1]===undefined;function parse(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var s={};var i=r.iri!==false?n:t;if(r.reference==="suffix")e=(r.scheme?r.scheme+":":"")+"//"+e;var o=e.match(R);if(o){if(j){s.scheme=o[1];s.userinfo=o[3];s.host=o[4];s.port=parseInt(o[5],10);s.path=o[6]||"";s.query=o[7];s.fragment=o[8];if(isNaN(s.port)){s.port=o[5]}}else{s.scheme=o[1]||undefined;s.userinfo=e.indexOf("@")!==-1?o[3]:undefined;s.host=e.indexOf("//")!==-1?o[4]:undefined;s.port=parseInt(o[5],10);s.path=o[6]||"";s.query=e.indexOf("?")!==-1?o[7]:undefined;s.fragment=e.indexOf("#")!==-1?o[8]:undefined;if(isNaN(s.port)){s.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?o[4]:undefined}}if(s.host){s.host=_normalizeIPv6(_normalizeIPv4(s.host,i),i)}if(s.scheme===undefined&&s.userinfo===undefined&&s.host===undefined&&s.port===undefined&&!s.path&&s.query===undefined){s.reference="same-document"}else if(s.scheme===undefined){s.reference="relative"}else if(s.fragment===undefined){s.reference="absolute"}else{s.reference="uri"}if(r.reference&&r.reference!=="suffix"&&r.reference!==s.reference){s.error=s.error||"URI is not a "+r.reference+" reference."}var a=T[(r.scheme||s.scheme||"").toLowerCase()];if(!r.unicodeSupport&&(!a||!a.unicodeSupport)){if(s.host&&(r.domainHost||a&&a.domainHost)){try{s.host=I.toASCII(s.host.replace(i.PCT_ENCODED,pctDecChars).toLowerCase())}catch(e){s.error=s.error||"Host's domain name can not be converted to ASCII via punycode: "+e}}_normalizeComponentEncoding(s,t)}else{_normalizeComponentEncoding(s,i)}if(a&&a.parse){a.parse(s,r)}}else{s.error=s.error||"URI can not be parsed."}return s}function _recomposeAuthority(e,r){var s=r.iri!==false?n:t;var i=[];if(e.userinfo!==undefined){i.push(e.userinfo);i.push("@")}if(e.host!==undefined){i.push(_normalizeIPv6(_normalizeIPv4(String(e.host),s),s).replace(s.IPV6ADDRESS,function(e,t,n){return"["+t+(n?"%25"+n:"")+"]"}))}if(typeof e.port==="number"){i.push(":");i.push(e.port.toString(10))}return i.length?i.join(""):undefined}var F=/^\.\.?\//;var N=/^\/\.(\/|$)/;var D=/^\/\.\.(\/|$)/;var P=/^\/?(?:.|\n)*?(?=\/|$)/;function removeDotSegments(e){var t=[];while(e.length){if(e.match(F)){e=e.replace(F,"")}else if(e.match(N)){e=e.replace(N,"/")}else if(e.match(D)){e=e.replace(D,"/");t.pop()}else if(e==="."||e===".."){e=""}else{var n=e.match(P);if(n){var r=n[0];e=e.slice(r.length);t.push(r)}else{throw new Error("Unexpected dot segment condition")}}}return t.join("")}function serialize(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var s=r.iri?n:t;var i=[];var o=T[(r.scheme||e.scheme||"").toLowerCase()];if(o&&o.serialize)o.serialize(e,r);if(e.host){if(s.IPV6ADDRESS.test(e.host)){}else if(r.domainHost||o&&o.domainHost){try{e.host=!r.iri?I.toASCII(e.host.replace(s.PCT_ENCODED,pctDecChars).toLowerCase()):I.toUnicode(e.host)}catch(t){e.error=e.error||"Host's domain name can not be converted to "+(!r.iri?"ASCII":"Unicode")+" via punycode: "+t}}}_normalizeComponentEncoding(e,s);if(r.reference!=="suffix"&&e.scheme){i.push(e.scheme);i.push(":")}var a=_recomposeAuthority(e,r);if(a!==undefined){if(r.reference!=="suffix"){i.push("//")}i.push(a);if(e.path&&e.path.charAt(0)!=="/"){i.push("/")}}if(e.path!==undefined){var c=e.path;if(!r.absolutePath&&(!o||!o.absolutePath)){c=removeDotSegments(c)}if(a===undefined){c=c.replace(/^\/\//,"/%2F")}i.push(c)}if(e.query!==undefined){i.push("?");i.push(e.query)}if(e.fragment!==undefined){i.push("#");i.push(e.fragment)}return i.join("")}function resolveComponents(e,t){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var r=arguments[3];var s={};if(!r){e=parse(serialize(e,n),n);t=parse(serialize(t,n),n)}n=n||{};if(!n.tolerant&&t.scheme){s.scheme=t.scheme;s.userinfo=t.userinfo;s.host=t.host;s.port=t.port;s.path=removeDotSegments(t.path||"");s.query=t.query}else{if(t.userinfo!==undefined||t.host!==undefined||t.port!==undefined){s.userinfo=t.userinfo;s.host=t.host;s.port=t.port;s.path=removeDotSegments(t.path||"");s.query=t.query}else{if(!t.path){s.path=e.path;if(t.query!==undefined){s.query=t.query}else{s.query=e.query}}else{if(t.path.charAt(0)==="/"){s.path=removeDotSegments(t.path)}else{if((e.userinfo!==undefined||e.host!==undefined||e.port!==undefined)&&!e.path){s.path="/"+t.path}else if(!e.path){s.path=t.path}else{s.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path}s.path=removeDotSegments(s.path)}s.query=t.query}s.userinfo=e.userinfo;s.host=e.host;s.port=e.port}s.scheme=e.scheme}s.fragment=t.fragment;return s}function resolve(e,t,n){var r=assign({scheme:"null"},n);return serialize(resolveComponents(parse(e,r),parse(t,r),r,true),r)}function normalize(e,t){if(typeof e==="string"){e=serialize(parse(e,t),t)}else if(typeOf(e)==="object"){e=parse(serialize(e,t),t)}return e}function equal(e,t,n){if(typeof e==="string"){e=serialize(parse(e,n),n)}else if(typeOf(e)==="object"){e=serialize(e,n)}if(typeof t==="string"){t=serialize(parse(t,n),n)}else if(typeOf(t)==="object"){t=serialize(t,n)}return e===t}function escapeComponent(e,r){return e&&e.toString().replace(!r||!r.iri?t.ESCAPE:n.ESCAPE,pctEncChar)}function unescapeComponent(e,r){return e&&e.toString().replace(!r||!r.iri?t.PCT_ENCODED:n.PCT_ENCODED,pctDecChars)}var L={scheme:"http",domainHost:true,parse:function parse(e,t){if(!e.host){e.error=e.error||"HTTP URIs must have a host."}return e},serialize:function serialize(e,t){if(e.port===(String(e.scheme).toLowerCase()!=="https"?80:443)||e.port===""){e.port=undefined}if(!e.path){e.path="/"}return e}};var q={scheme:"https",domainHost:L.domainHost,parse:L.parse,serialize:L.serialize};var _={};var z=true;var B="[A-Za-z0-9\\-\\.\\_\\~"+(z?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]";var W="[0-9A-Fa-f]";var U=subexp(subexp("%[EFef]"+W+"%"+W+W+"%"+W+W)+"|"+subexp("%[89A-Fa-f]"+W+"%"+W+W)+"|"+subexp("%"+W+W));var H="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]";var J="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]";var G=merge(J,'[\\"\\\\]');var X="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]";var Q=new RegExp(B,"g");var V=new RegExp(U,"g");var K=new RegExp(merge("[^]",H,"[\\.]",'[\\"]',G),"g");var Y=new RegExp(merge("[^]",B,X),"g");var Z=Y;function decodeUnreserved(e){var t=pctDecChars(e);return!t.match(Q)?e:t}var $={scheme:"mailto",parse:function parse$$1(e,t){var n=e;var r=n.to=n.path?n.path.split(","):[];n.path=undefined;if(n.query){var s=false;var i={};var o=n.query.split("&");for(var a=0,c=o.length;a{var r=n(85622);"use strict";function urix(e){if(r.sep==="\\"){return e.replace(/\\/g,"/").replace(/^[a-z]:\/?/i,"/")}return e}e.exports=urix},64687:e=>{"use strict";e.exports=function base(e,t){if(!isObject(e)&&typeof e!=="function"){throw new TypeError("expected an object or function")}var n=isObject(t)?t:{};var r=typeof n.prop==="string"?n.prop:"fns";if(!Array.isArray(e[r])){define(e,r,[])}define(e,"use",use);define(e,"run",function(t){if(!isObject(t))return;if(!t.use||!t.run){define(t,r,t[r]||[]);define(t,"use",use)}if(!t[r]||t[r].indexOf(base)===-1){t.use(base)}var n=this||e;var s=n[r];var i=s.length;var o=-1;while(++o{e.exports=n(31669).deprecate},41473:(e,t,n)=>{e.exports=n(47257)},12337:(e,t,n)=>{"use strict";const r=n(313);class CachedSource extends r{constructor(e){super();this._source=e;this._cachedSource=undefined;this._cachedSize=undefined;this._cachedMaps={};if(e.node)this.node=function(e){return this._source.node(e)};if(e.listMap)this.listMap=function(e){return this._source.listMap(e)}}source(){if(typeof this._cachedSource!=="undefined")return this._cachedSource;return this._cachedSource=this._source.source()}size(){if(typeof this._cachedSize!=="undefined")return this._cachedSize;if(typeof this._cachedSource!=="undefined"){if(Buffer.from.length===1)return new Buffer(this._cachedSource).length;return this._cachedSize=Buffer.byteLength(this._cachedSource)}return this._cachedSize=this._source.size()}sourceAndMap(e){const t=JSON.stringify(e);if(typeof this._cachedSource!=="undefined"&&t in this._cachedMaps)return{source:this._cachedSource,map:this._cachedMaps[t]};else if(typeof this._cachedSource!=="undefined"){return{source:this._cachedSource,map:this._cachedMaps[t]=this._source.map(e)}}else if(t in this._cachedMaps){return{source:this._cachedSource=this._source.source(),map:this._cachedMaps[t]}}const n=this._source.sourceAndMap(e);this._cachedSource=n.source;this._cachedMaps[t]=n.map;return{source:this._cachedSource,map:this._cachedMaps[t]}}map(e){if(!e)e={};const t=JSON.stringify(e);if(t in this._cachedMaps)return this._cachedMaps[t];return this._cachedMaps[t]=this._source.map()}updateHash(e){this._source.updateHash(e)}}e.exports=CachedSource},97634:(e,t,n)=>{"use strict";const r=n(96241).SourceNode;const s=n(58546).SourceListMap;const i=n(313);class ConcatSource extends i{constructor(){super();this.children=[];for(var e=0;e{"use strict";var r=n(96241).SourceNode;var s=n(96241).SourceMapConsumer;var i=n(58546).SourceListMap;var o=n(313);class LineToLineMappedSource extends o{constructor(e,t,n){super();this._value=e;this._name=t;this._originalSource=n}source(){return this._value}node(e){var t=this._value;var n=this._name;var s=t.split("\n");var i=new r(null,null,null,s.map(function(e,t){return new r(t+1,0,n,e+(t!=s.length-1?"\n":""))}));i.setSourceContent(n,this._originalSource);return i}listMap(e){return new i(this._value,this._name,this._originalSource)}updateHash(e){e.update(this._value);e.update(this._originalSource)}}n(22423)(LineToLineMappedSource.prototype);e.exports=LineToLineMappedSource},71118:(e,t,n)=>{"use strict";var r=n(96241).SourceNode;var s=n(96241).SourceMapConsumer;var i=n(58546).SourceListMap;var o=n(313);var a=/(?!$)[^\n\r;{}]*[\n\r;{}]*/g;function _splitCode(e){return e.match(a)||[]}class OriginalSource extends o{constructor(e,t){super();this._value=e;this._name=t}source(){return this._value}node(e){e=e||{};var t=this._sourceMap;var n=this._value;var s=this._name;var i=n.split("\n");var o=new r(null,null,null,i.map(function(t,n){var o=0;if(e.columns===false){var a=t+(n!=i.length-1?"\n":"");return new r(n+1,0,s,a)}return new r(null,null,null,_splitCode(t+(n!=i.length-1?"\n":"")).map(function(e){if(/^\s*$/.test(e)){o+=e.length;return e}var t=new r(n+1,o,s,e);o+=e.length;return t}))}));o.setSourceContent(s,n);return o}listMap(e){return new i(this._value,this._name,this._value)}updateHash(e){e.update(this._value)}}n(22423)(OriginalSource.prototype);e.exports=OriginalSource},6234:(e,t,n)=>{"use strict";var r=n(313);var s=n(96241).SourceNode;var i=/\n(?=.|\s)/g;function cloneAndPrefix(e,t,n){if(typeof e==="string"){var r=e.replace(i,"\n"+t);if(n.length>0)r=n.pop()+r;if(/\n$/.test(e))n.push(t);return r}else{var o=new s(e.line,e.column,e.source,e.children.map(function(e){return cloneAndPrefix(e,t,n)}),e.name);o.sourceContents=e.sourceContents;return o}}class PrefixSource extends r{constructor(e,t){super();this._source=t;this._prefix=e}source(){var e=typeof this._source==="string"?this._source:this._source.source();var t=this._prefix;return t+e.replace(i,"\n"+t)}node(e){var t=this._source.node(e);var n=this._prefix;var r=[];var i=new s;t.walkSourceContents(function(e,t){i.setSourceContent(e,t)});var o=true;t.walk(function(e,t){var i=e.split(/(\n)/);for(var a=0;a{"use strict";var r=n(313);var s=n(96241).SourceNode;var i=n(58546).SourceListMap;class RawSource extends r{constructor(e){super();this._value=e}source(){return this._value}map(e){return null}node(e){return new s(null,null,null,this._value)}listMap(e){return new i(this._value)}updateHash(e){e.update(this._value)}}e.exports=RawSource},38395:(e,t,n)=>{"use strict";var r=n(313);var s=n(96241).SourceNode;class Replacement{constructor(e,t,n,r,s){this.start=e;this.end=t;this.content=n;this.insertIndex=r;this.name=s}}class ReplaceSource extends r{constructor(e,t){super();this._source=e;this._name=t;this.replacements=[]}replace(e,t,n,r){if(typeof n!=="string")throw new Error("insertion must be a string, but is a "+typeof n);this.replacements.push(new Replacement(e,t,n,this.replacements.length,r))}insert(e,t,n){if(typeof t!=="string")throw new Error("insertion must be a string, but is a "+typeof t+": "+t);this.replacements.push(new Replacement(e,e-1,t,this.replacements.length,n))}source(e){return this._replaceString(this._source.source())}original(){return this._source}_sortReplacements(){this.replacements.sort(function(e,t){var n=t.end-e.end;if(n!==0)return n;n=t.start-e.start;if(n!==0)return n;return t.insertIndex-e.insertIndex})}_replaceString(e){if(typeof e!=="string")throw new Error("str must be a string, but is a "+typeof e+": "+e);this._sortReplacements();var t=[e];this.replacements.forEach(function(e){var n=t.pop();var r=this._splitString(n,Math.floor(e.end+1));var s=this._splitString(r[0],Math.floor(e.start));t.push(r[1],e.content,s[0])},this);let n="";for(let e=t.length-1;e>=0;--e){n+=t[e]}return n}node(e){var t=this._source.node(e);if(this.replacements.length===0){return t}this._sortReplacements();var n=new ReplacementEnumerator(this.replacements);var r=[];var i=0;var o=Object.create(null);var a=Object.create(null);var c=new s;t.walkSourceContents(function(e,t){c.setSourceContent(e,t);o["$"+e]=t});var l=this._replaceInStringNode.bind(this,r,n,function getOriginalSource(e){var t="$"+e.source;var n=a[t];if(!n){var r=o[t];if(!r)return null;n=r.split("\n").map(function(e){return e+"\n"});a[t]=n}if(e.line>n.length)return null;var s=n[e.line-1];return s.substr(e.column)});t.walk(function(e,t){i=l(e,i,t)});var u=n.footer();if(u){r.push(u)}c.add(r);return c}listMap(e){this._sortReplacements();var t=this._source.listMap(e);var n=0;var r=this.replacements;var s=r.length-1;var i=0;t=t.mapGeneratedCode(function(e){var t=n+e.length;if(i>e.length){i-=e.length;e=""}else{if(i>0){e=e.substr(i);n+=i;i=0}var o="";while(s>=0&&r[s].start=0){o+=r[s].content;s--}if(o){t.add(o)}return t}_splitString(e,t){return t<=0?["",e]:[e.substr(0,t),e.substr(t)]}_replaceInStringNode(e,t,n,r,i,o){var a=undefined;do{var c=t.position-i;if(c<0){c=0}if(c>=r.length||t.done){if(t.emit){var l=new s(o.line,o.column,o.source,r,o.name);e.push(l)}return i+r.length}var u=o.column;var f;if(c>0){f=r.slice(0,c);if(a===undefined){a=n(o)}if(a&&a.length>=c&&a.startsWith(f)){o.column+=c;a=a.substr(c)}}var p=t.next();if(!p){if(c>0){var d=new s(o.line,u,o.source,f,o.name);e.push(d)}if(t.value){e.push(new s(o.line,o.column,o.source,t.value,o.name||t.name))}}r=r.substr(c);i+=c}while(true)}}class ReplacementEnumerator{constructor(e){this.replacements=e||[];this.index=this.replacements.length;this.done=false;this.emit=false;this.next()}next(){if(this.done)return true;if(this.emit){var e=this.replacements[this.index];var t=Math.floor(e.end+1);this.position=t;this.value=e.content;this.name=e.name}else{this.index--;if(this.index<0){this.done=true}else{var n=this.replacements[this.index];var r=Math.floor(n.start);this.position=r}}if(this.position<0)this.position=0;this.emit=!this.emit;return this.emit}footer(){if(!this.done&&!this.emit)this.next();if(this.done){return[]}else{var e="";for(var t=this.index;t>=0;t--){var n=this.replacements[t];e+=n.content}return e}}}n(22423)(ReplaceSource.prototype);e.exports=ReplaceSource},313:(e,t,n)=>{"use strict";var r=n(96241).SourceNode;var s=n(96241).SourceMapConsumer;class Source{source(){throw new Error("Abstract")}size(){if(Buffer.from.length===1)return new Buffer(this.source()).length;return Buffer.byteLength(this.source())}map(e){return null}sourceAndMap(e){return{source:this.source(),map:this.map()}}node(){throw new Error("Abstract")}listNode(){throw new Error("Abstract")}updateHash(e){var t=this.source();e.update(t||"")}}e.exports=Source},22423:e=>{"use strict";e.exports=function mixinSourceAndMap(e){e.map=function(e){e=e||{};if(e.columns===false){return this.listMap(e).toStringWithSourceMap({file:"x"}).map}return this.node(e).toStringWithSourceMap({file:"x"}).map.toJSON()};e.sourceAndMap=function(e){e=e||{};if(e.columns===false){return this.listMap(e).toStringWithSourceMap({file:"x"})}var t=this.node(e).toStringWithSourceMap({file:"x"});return{source:t.code,map:t.map.toJSON()}}}},61221:(e,t,n)=>{"use strict";var r=n(96241).SourceNode;var s=n(96241).SourceMapConsumer;var i=n(96241).SourceMapGenerator;var o=n(58546).SourceListMap;var a=n(58546).fromStringWithSourceMap;var c=n(313);var l=n(31086);class SourceMapSource extends c{constructor(e,t,n,r,s,i){super();this._value=e;this._name=t;this._sourceMap=n;this._originalSource=r;this._innerSourceMap=s;this._removeOriginalSource=i}source(){return this._value}node(e){var t=this._sourceMap;var n=r.fromStringWithSourceMap(this._value,new s(t));n.setSourceContent(this._name,this._originalSource);var i=this._innerSourceMap;if(i){n=l(n,new s(i),this._name,this._removeOriginalSource)}return n}listMap(e){e=e||{};if(e.module===false)return new o(this._value,this._name,this._value);return a(this._value,typeof this._sourceMap==="string"?JSON.parse(this._sourceMap):this._sourceMap)}updateHash(e){e.update(this._value);if(this._originalSource)e.update(this._originalSource)}}n(22423)(SourceMapSource.prototype);e.exports=SourceMapSource},31086:(e,t,n)=>{"use strict";var r=n(96241).SourceNode;var s=n(96241).SourceMapConsumer;var i=function(e,t,n,i){var o=new r;var a=[];var c={};var l={};var u={};var f={};t.eachMapping(function(e){(l[e.generatedLine]=l[e.generatedLine]||[]).push(e)},null,s.GENERATED_ORDER);e.walkSourceContents(function(e,t){c["$"+e]=t});var p=c["$"+n];var d=p?p.split("\n"):undefined;e.walk(function(e,s){var p;if(s.source===n&&s.line&&l[s.line]){var h;var m=l[s.line];for(var y=0;y0){var E=v.slice(h.generatedColumn,s.column);var O=x.slice(h.originalColumn,h.originalColumn+S);if(E===O){h=Object.assign({},h,{originalColumn:h.originalColumn+S,generatedColumn:s.column})}}if(!h.name&&s.name){g=x.slice(h.originalColumn,h.originalColumn+s.name.length)===s.name}}}p=h.source;a.push(new r(h.originalLine,h.originalColumn,p,e,g?s.name:h.name));if(!("$"+p in u)){u["$"+p]=true;var C=t.sourceContentFor(p,true);if(C){o.setSourceContent(p,C)}}return}}if(i&&s.source===n||!s.source){a.push(e);return}p=s.source;a.push(new r(s.line,s.column,p,e,s.name));if("$"+p in c){if(!("$"+p in u)){o.setSourceContent(p,c["$"+p]);delete c["$"+p]}}});o.add(a);return o};e.exports=i},50932:(e,t,n)=>{t.Source=n(313);t.RawSource=n(4798);t.OriginalSource=n(71118);t.SourceMapSource=n(61221);t.LineToLineMappedSource=n(5906);t.CachedSource=n(12337);t.ConcatSource=n(97634);t.ReplaceSource=n(38395);t.PrefixSource=n(6234)},5896:(e,t,n)=>{"use strict";const r=n(53119);const s=n(77466);const i=n(47742);const o={__webpack_require__:"__webpack_require__",__webpack_public_path__:"__webpack_require__.p",__webpack_modules__:"__webpack_require__.m",__webpack_chunk_load__:"__webpack_require__.e",__non_webpack_require__:"require",__webpack_nonce__:"__webpack_require__.nc","require.onError":"__webpack_require__.oe"};const a={__non_webpack_require__:true};const c={__webpack_public_path__:"string",__webpack_require__:"function",__webpack_modules__:"object",__webpack_chunk_load__:"function",__webpack_nonce__:"string"};class APIPlugin{apply(e){e.hooks.compilation.tap("APIPlugin",(e,{normalModuleFactory:t})=>{e.dependencyFactories.set(r,new i);e.dependencyTemplates.set(r,new r.Template);const n=e=>{Object.keys(o).forEach(t=>{e.hooks.expression.for(t).tap("APIPlugin",a[t]?s.toConstantDependency(e,o[t]):s.toConstantDependencyWithWebpackRequire(e,o[t]));const n=c[t];if(n){e.hooks.evaluateTypeof.for(t).tap("APIPlugin",s.evaluateToString(n))}})};t.hooks.parser.for("javascript/auto").tap("APIPlugin",n);t.hooks.parser.for("javascript/dynamic").tap("APIPlugin",n);t.hooks.parser.for("javascript/esm").tap("APIPlugin",n)})}}e.exports=APIPlugin},21112:(e,t,n)=>{"use strict";const r=n(1891);const s=/at ([a-zA-Z0-9_.]*)/;function createMessage(e){return`Abstract method${e?" "+e:""}. Must be overridden.`}function Message(){this.stack=undefined;Error.captureStackTrace(this);const e=this.stack.split("\n")[3].match(s);this.message=e&&e[1]?createMessage(e[1]):createMessage()}class AbstractMethodError extends r{constructor(){super((new Message).message);this.name="AbstractMethodError"}}e.exports=AbstractMethodError},60012:(e,t,n)=>{"use strict";const{ConcatSource:r}=n(50932);const s=n(73720);class AmdMainTemplatePlugin{constructor(e){if(!e||typeof e==="string"){this.name=e;this.requireAsWrapper=false}else{this.name=e.name;this.requireAsWrapper=e.requireAsWrapper}}apply(e){const{mainTemplate:t,chunkTemplate:n}=e;const i=(e,n,i)=>{const o=n.getModules().filter(e=>e.external);const a=JSON.stringify(o.map(e=>typeof e.request==="object"?e.request.amd:e.request));const c=o.map(e=>`__WEBPACK_EXTERNAL_MODULE_${s.toIdentifier(`${e.id}`)}__`).join(", ");if(this.requireAsWrapper){return new r(`require(${a}, function(${c}) { return `,e,"});")}else if(this.name){const s=t.getAssetPath(this.name,{hash:i,chunk:n});return new r(`define(${JSON.stringify(s)}, ${a}, function(${c}) { return `,e,"});")}else if(c){return new r(`define(${a}, function(${c}) { return `,e,"});")}else{return new r("define(function() { return ",e,"});")}};for(const e of[t,n]){e.hooks.renderWithEntry.tap("AmdMainTemplatePlugin",i)}t.hooks.globalHashPaths.tap("AmdMainTemplatePlugin",e=>{if(this.name){e.push(this.name)}return e});t.hooks.hash.tap("AmdMainTemplatePlugin",e=>{e.update("exports amd");if(this.name){e.update(this.name)}})}}e.exports=AmdMainTemplatePlugin},63979:(e,t,n)=>{"use strict";const r=n(24796);e.exports=class AsyncDependenciesBlock extends r{constructor(e,t,n,r){super();if(typeof e==="string"){e={name:e}}else if(!e){e={name:undefined}}this.groupOptions=e;this.chunkGroup=undefined;this.module=t;this.loc=n;this.request=r;this.parent=undefined}get chunkName(){return this.groupOptions.name}set chunkName(e){this.groupOptions.name=e}get chunks(){throw new Error("Moved to AsyncDependenciesBlock.chunkGroup")}set chunks(e){throw new Error("Moved to AsyncDependenciesBlock.chunkGroup")}updateHash(e){e.update(JSON.stringify(this.groupOptions));e.update(this.chunkGroup&&this.chunkGroup.chunks.map(e=>{return e.id!==null?e.id:""}).join(",")||"");super.updateHash(e)}disconnect(){this.chunkGroup=undefined;super.disconnect()}unseal(){this.chunkGroup=undefined;super.unseal()}sortItems(){super.sortItems()}}},27794:(e,t,n)=>{"use strict";const r=n(1891);class AsyncDependencyToInitialChunkError extends r{constructor(e,t,n){super(`It's not allowed to load an initial chunk on demand. The chunk name "${e}" is already used by an entrypoint.`);this.name="AsyncDependencyToInitialChunkError";this.module=t;this.loc=n;Error.captureStackTrace(this,this.constructor)}}e.exports=AsyncDependencyToInitialChunkError},32955:(e,t,n)=>{"use strict";const r=n(36386);const s=n(98373);const i=n(99578);class AutomaticPrefetchPlugin{apply(e){e.hooks.compilation.tap("AutomaticPrefetchPlugin",(e,{normalModuleFactory:t})=>{e.dependencyFactories.set(s,t)});let t=null;e.hooks.afterCompile.tap("AutomaticPrefetchPlugin",e=>{t=e.modules.filter(e=>e instanceof i).map(e=>({context:e.context,request:e.request}))});e.hooks.make.tapAsync("AutomaticPrefetchPlugin",(n,i)=>{if(!t)return i();r.forEach(t,(t,r)=>{n.prefetch(t.context||e.context,new s(t.request),r)},i)})}}e.exports=AutomaticPrefetchPlugin},11696:(e,t,n)=>{"use strict";const{ConcatSource:r}=n(50932);const s=n(74491);const i=n(73720);const o=n(33225);const a=n(10171);const c=e=>{if(!e.includes("\n")){return i.toComment(e)}return`/*!\n * ${e.replace(/\*\//g,"* /").split("\n").join("\n * ")}\n */`};class BannerPlugin{constructor(e){if(arguments.length>1){throw new Error("BannerPlugin only takes one argument (pass an options object)")}o(a,e,"Banner Plugin");if(typeof e==="string"||typeof e==="function"){e={banner:e}}this.options=e;const t=e.banner;if(typeof t==="function"){const e=t;this.banner=this.options.raw?e:t=>c(e(t))}else{const e=this.options.raw?t:c(t);this.banner=(()=>e)}}apply(e){const t=this.options;const n=this.banner;const i=s.matchObject.bind(undefined,t);e.hooks.compilation.tap("BannerPlugin",e=>{e.hooks.optimizeChunkAssets.tap("BannerPlugin",s=>{for(const o of s){if(t.entryOnly&&!o.canBeInitial()){continue}for(const t of o.files){if(!i(t)){continue}let s="";let a=t;const c=e.hash;const l=a.indexOf("?");if(l>=0){s=a.substr(l);a=a.substr(0,l)}const u=a.lastIndexOf("/");const f=u===-1?a:a.substr(u+1);const p={hash:c,chunk:o,filename:a,basename:f,query:s};const d=e.getPath(n(p),p);e.updateAsset(t,e=>new r(d,"\n",e))}}})})}}e.exports=BannerPlugin},52518:e=>{"use strict";const t=0;const n=1;const r=2;const s=3;const i=4;const o=5;const a=6;const c=7;const l=8;const u=9;const f=10;const p=11;class BasicEvaluatedExpression{constructor(){this.type=t;this.range=null;this.falsy=false;this.truthy=false;this.bool=null;this.number=null;this.regExp=null;this.string=null;this.quasis=null;this.parts=null;this.array=null;this.items=null;this.options=null;this.prefix=null;this.postfix=null;this.wrappedInnerExpressions=null;this.expression=null}isNull(){return this.type===n}isString(){return this.type===r}isNumber(){return this.type===s}isBoolean(){return this.type===i}isRegExp(){return this.type===o}isConditional(){return this.type===a}isArray(){return this.type===c}isConstArray(){return this.type===l}isIdentifier(){return this.type===u}isWrapped(){return this.type===f}isTemplateString(){return this.type===p}isTruthy(){return this.truthy}isFalsy(){return this.falsy}asBool(){if(this.truthy)return true;if(this.falsy)return false;if(this.isBoolean())return this.bool;if(this.isNull())return false;if(this.isString())return this.string!=="";if(this.isNumber())return this.number!==0;if(this.isRegExp())return true;if(this.isArray())return true;if(this.isConstArray())return true;if(this.isWrapped()){return this.prefix&&this.prefix.asBool()||this.postfix&&this.postfix.asBool()?true:undefined}if(this.isTemplateString()){const e=this.asString();if(typeof e==="string")return e!==""}return undefined}asString(){if(this.isBoolean())return`${this.bool}`;if(this.isNull())return"null";if(this.isString())return this.string;if(this.isNumber())return`${this.number}`;if(this.isRegExp())return`${this.regExp}`;if(this.isArray()){let e=[];for(const t of this.items){const n=t.asString();if(n===undefined)return undefined;e.push(n)}return`${e}`}if(this.isConstArray())return`${this.array}`;if(this.isTemplateString()){let e="";for(const t of this.parts){const n=t.asString();if(n===undefined)return undefined;e+=n}return e}return undefined}setString(e){this.type=r;this.string=e;return this}setNull(){this.type=n;return this}setNumber(e){this.type=s;this.number=e;return this}setBoolean(e){this.type=i;this.bool=e;return this}setRegExp(e){this.type=o;this.regExp=e;return this}setIdentifier(e){this.type=u;this.identifier=e;return this}setWrapped(e,t,n){this.type=f;this.prefix=e;this.postfix=t;this.wrappedInnerExpressions=n;return this}setOptions(e){this.type=a;this.options=e;return this}addOptions(e){if(!this.options){this.type=a;this.options=[]}for(const t of e){this.options.push(t)}return this}setItems(e){this.type=c;this.items=e;return this}setArray(e){this.type=l;this.array=e;return this}setTemplateString(e,t,n){this.type=p;this.quasis=e;this.parts=t;this.templateStringKind=n;return this}setTruthy(){this.falsy=false;this.truthy=true;return this}setFalsy(){this.falsy=true;this.truthy=false;return this}setRange(e){this.range=e;return this}setExpression(e){this.expression=e;return this}}e.exports=BasicEvaluatedExpression},13053:(e,t,n)=>{"use strict";const r=n(36386);class CachePlugin{constructor(e){this.cache=e||{};this.FS_ACCURACY=2e3}apply(e){if(Array.isArray(e.compilers)){e.compilers.forEach((e,t)=>{new CachePlugin(this.cache[t]=this.cache[t]||{}).apply(e)})}else{const t=(e,n)=>{e.hooks.thisCompilation.tap("CachePlugin",e=>{e.cache=n;e.hooks.childCompiler.tap("CachePlugin",(e,r,s)=>{let i;if(!n.children){n.children={}}if(!n.children[r]){n.children[r]=[]}if(n.children[r][s]){i=n.children[r][s]}else{n.children[r].push(i={})}t(e,i)})})};t(e,this.cache);e.hooks.watchRun.tap("CachePlugin",()=>{this.watching=true});e.hooks.run.tapAsync("CachePlugin",(e,t)=>{if(!e._lastCompilationFileDependencies){return t()}const n=e.inputFileSystem;const s=e.fileTimestamps=new Map;r.forEach(e._lastCompilationFileDependencies,(e,t)=>{n.stat(e,(n,r)=>{if(n){if(n.code==="ENOENT")return t();return t(n)}if(r.mtime)this.applyMtime(+r.mtime);s.set(e,+r.mtime||Infinity);t()})},e=>{if(e)return t(e);for(const[e,t]of s){s.set(e,t+this.FS_ACCURACY)}t()})});e.hooks.afterCompile.tap("CachePlugin",e=>{e.compiler._lastCompilationFileDependencies=e.fileDependencies;e.compiler._lastCompilationContextDependencies=e.contextDependencies})}}applyMtime(e){if(this.FS_ACCURACY>1&&e%2!==0)this.FS_ACCURACY=1;else if(this.FS_ACCURACY>10&&e%20!==0)this.FS_ACCURACY=10;else if(this.FS_ACCURACY>100&&e%200!==0)this.FS_ACCURACY=100;else if(this.FS_ACCURACY>1e3&&e%2e3!==0)this.FS_ACCURACY=1e3}}e.exports=CachePlugin},21734:(e,t,n)=>{"use strict";const r=n(1891);const s=e=>{return e.slice().sort((e,t)=>{const n=e.identifier();const r=t.identifier();if(nr)return 1;return 0})};const i=e=>{return e.map(e=>{let t=`* ${e.identifier()}`;const n=e.reasons.filter(e=>e.module);if(n.length>0){t+=`\n Used by ${n.length} module(s), i. e.`;t+=`\n ${n[0].module.identifier()}`}return t}).join("\n")};class CaseSensitiveModulesWarning extends r{constructor(e){const t=s(e);const n=i(t);super(`There are multiple modules with names that only differ in casing.\nThis can lead to unexpected behavior when compiling on a filesystem with other case-semantic.\nUse equal casing. Compare these module identifiers:\n${n}`);this.name="CaseSensitiveModulesWarning";this.origin=this.module=t[0];Error.captureStackTrace(this,this.constructor)}}e.exports=CaseSensitiveModulesWarning},54029:(e,t,n)=>{"use strict";const r=n(31669);const s=n(33875);const i=n(34791).intersect;const o=n(43445);const a=n(78865);let c=1e3;const l="Chunk.entry was removed. Use hasRuntime()";const u="Chunk.initial was removed. Use canBeInitial/isOnlyInitial()";const f=(e,t)=>{if(e.id{if(e.id{if(e.identifier()>t.identifier())return 1;if(e.identifier(){e.sort();let t="";for(const n of e){t+=n.identifier()+"#"}return t};const m=e=>Array.from(e);const y=e=>{let t=0;for(const n of e){t+=n.size()}return t};class Chunk{constructor(e){this.id=null;this.ids=null;this.debugId=c++;this.name=e;this.preventIntegration=false;this.entryModule=undefined;this._modules=new s(undefined,d);this.filenameTemplate=undefined;this._groups=new s(undefined,p);this.files=[];this.rendered=false;this.hash=undefined;this.contentHash=Object.create(null);this.renderedHash=undefined;this.chunkReason=undefined;this.extraAsync=false;this.removedModules=undefined}get entry(){throw new Error(l)}set entry(e){throw new Error(l)}get initial(){throw new Error(u)}set initial(e){throw new Error(u)}hasRuntime(){for(const e of this._groups){if(e.isInitial()&&e instanceof a&&e.getRuntimeChunk()===this){return true}}return false}canBeInitial(){for(const e of this._groups){if(e.isInitial())return true}return false}isOnlyInitial(){if(this._groups.size<=0)return false;for(const e of this._groups){if(!e.isInitial())return false}return true}hasEntryModule(){return!!this.entryModule}addModule(e){if(!this._modules.has(e)){this._modules.add(e);return true}return false}removeModule(e){if(this._modules.delete(e)){e.removeChunk(this);return true}return false}setModules(e){this._modules=new s(e,d)}getNumberOfModules(){return this._modules.size}get modulesIterable(){return this._modules}addGroup(e){if(this._groups.has(e))return false;this._groups.add(e);return true}removeGroup(e){if(!this._groups.has(e))return false;this._groups.delete(e);return true}isInGroup(e){return this._groups.has(e)}getNumberOfGroups(){return this._groups.size}get groupsIterable(){return this._groups}compareTo(e){if(this.name&&!e.name)return-1;if(!this.name&&e.name)return 1;if(this.namee.name)return 1;if(this._modules.size>e._modules.size)return-1;if(this._modules.sizei)return 1}}containsModule(e){return this._modules.has(e)}getModules(){return this._modules.getFromCache(m)}getModulesIdent(){return this._modules.getFromUnorderedCache(h)}remove(e){for(const e of Array.from(this._modules)){e.removeChunk(this)}for(const e of this._groups){e.removeChunk(this)}}moveModule(e,t){o.disconnectChunkAndModule(this,e);o.connectChunkAndModule(t,e);e.rewriteChunkInReasons(this,[t])}integrate(e,t){if(!this.canBeIntegrated(e)){return false}if(this.name&&e.name){if(this.hasEntryModule()===e.hasEntryModule()){if(this.name.length!==e.name.length){this.name=this.name.length{const n=new Set(t.groupsIterable);for(const t of n){if(e.isInGroup(t))continue;if(t.isInitial())return false;for(const e of t.parentsIterable){n.add(e)}}return true};const n=this.hasRuntime();const r=e.hasRuntime();if(n!==r){if(n){return t(this,e)}else if(r){return t(e,this)}else{return false}}if(this.hasEntryModule()||e.hasEntryModule()){return false}return true}addMultiplierAndOverhead(e,t){const n=typeof t.chunkOverhead==="number"?t.chunkOverhead:1e4;const r=this.canBeInitial()?t.entryChunkMultiplicator||10:1;return e*r+n}modulesSize(){return this._modules.getFromUnorderedCache(y)}size(e={}){return this.addMultiplierAndOverhead(this.modulesSize(),e)}integratedSize(e,t){if(!this.canBeIntegrated(e)){return false}let n=this.modulesSize();for(const t of e._modules){if(!this._modules.has(t)){n+=t.size()}}return this.addMultiplierAndOverhead(n,t)}sortModules(e){this._modules.sortWith(e||f)}sortItems(){this.sortModules()}getAllAsyncChunks(){const e=new Set;const t=new Set;const n=i(Array.from(this.groupsIterable,e=>new Set(e.chunks)));for(const t of this.groupsIterable){for(const n of t.childrenIterable){e.add(n)}}for(const r of e){for(const e of r.chunks){if(!n.has(e)){t.add(e)}}for(const t of r.childrenIterable){e.add(t)}}return t}getChunkMaps(e){const t=Object.create(null);const n=Object.create(null);const r=Object.create(null);for(const s of this.getAllAsyncChunks()){t[s.id]=e?s.hash:s.renderedHash;for(const e of Object.keys(s.contentHash)){if(!n[e]){n[e]=Object.create(null)}n[e][s.id]=s.contentHash[e]}if(s.name){r[s.id]=s.name}}return{hash:t,contentHash:n,name:r}}getChildIdsByOrders(){const e=new Map;for(const t of this.groupsIterable){if(t.chunks[t.chunks.length-1]===this){for(const n of t.childrenIterable){if(typeof n.options==="object"){for(const t of Object.keys(n.options)){if(t.endsWith("Order")){const r=t.substr(0,t.length-"Order".length);let s=e.get(r);if(s===undefined)e.set(r,s=[]);s.push({order:n.options[t],group:n})}}}}}}const t=Object.create(null);for(const[n,r]of e){r.sort((e,t)=>{const n=t.order-e.order;if(n!==0)return n;if(e.group.compareTo){return e.group.compareTo(t.group)}return 0});t[n]=Array.from(r.reduce((e,t)=>{for(const n of t.group.chunks){e.add(n.id)}return e},new Set))}return t}getChildIdsByOrdersMap(e){const t=Object.create(null);const n=e=>{const n=e.getChildIdsByOrders();for(const r of Object.keys(n)){let s=t[r];if(s===undefined){t[r]=s=Object.create(null)}s[e.id]=n[r]}};if(e){const e=new Set;for(const t of this.groupsIterable){for(const n of t.chunks){e.add(n)}}for(const t of e){n(t)}}for(const e of this.getAllAsyncChunks()){n(e)}return t}getChunkModuleMaps(e){const t=Object.create(null);const n=Object.create(null);for(const r of this.getAllAsyncChunks()){let s;for(const i of r.modulesIterable){if(e(i)){if(s===undefined){s=[];t[r.id]=s}s.push(i.id);n[i.id]=i.renderedHash}}if(s!==undefined){s.sort()}}return{id:t,hash:n}}hasModuleInGraph(e,t){const n=new Set(this.groupsIterable);const r=new Set;for(const s of n){for(const n of s.chunks){if(!r.has(n)){r.add(n);if(!t||t(n)){for(const t of n.modulesIterable){if(e(t)){return true}}}}}for(const e of s.childrenIterable){n.add(e)}}return false}toString(){return`Chunk[${Array.from(this._modules).join()}]`}}Object.defineProperty(Chunk.prototype,"forEachModule",{configurable:false,value:r.deprecate(function(e){this._modules.forEach(e)},"Chunk.forEachModule: Use for(const module of chunk.modulesIterable) instead")});Object.defineProperty(Chunk.prototype,"mapModules",{configurable:false,value:r.deprecate(function(e){return Array.from(this._modules,e)},"Chunk.mapModules: Use Array.from(chunk.modulesIterable, fn) instead")});Object.defineProperty(Chunk.prototype,"chunks",{configurable:false,get(){throw new Error("Chunk.chunks: Use ChunkGroup.getChildren() instead")},set(){throw new Error("Chunk.chunks: Use ChunkGroup.add/removeChild() instead")}});Object.defineProperty(Chunk.prototype,"parents",{configurable:false,get(){throw new Error("Chunk.parents: Use ChunkGroup.getParents() instead")},set(){throw new Error("Chunk.parents: Use ChunkGroup.add/removeParent() instead")}});Object.defineProperty(Chunk.prototype,"blocks",{configurable:false,get(){throw new Error("Chunk.blocks: Use ChunkGroup.getBlocks() instead")},set(){throw new Error("Chunk.blocks: Use ChunkGroup.add/removeBlock() instead")}});Object.defineProperty(Chunk.prototype,"entrypoints",{configurable:false,get(){throw new Error("Chunk.entrypoints: Use Chunks.groupsIterable and filter by instanceof Entrypoint instead")},set(){throw new Error("Chunk.entrypoints: Use Chunks.addGroup instead")}});e.exports=Chunk},60583:(e,t,n)=>{"use strict";const r=n(33875);const s=n(2536);let i=5e3;const o=e=>Array.from(e);const a=(e,t)=>{if(e.id{const n=e.module?e.module.identifier():"";const r=t.module?t.module.identifier():"";if(nr)return 1;return s(e.loc,t.loc)};class ChunkGroup{constructor(e){if(typeof e==="string"){e={name:e}}else if(!e){e={name:undefined}}this.groupDebugId=i++;this.options=e;this._children=new r(undefined,a);this._parents=new r(undefined,a);this._blocks=new r;this.chunks=[];this.origins=[];this._moduleIndices=new Map;this._moduleIndices2=new Map}addOptions(e){for(const t of Object.keys(e)){if(this.options[t]===undefined){this.options[t]=e[t]}else if(this.options[t]!==e[t]){if(t.endsWith("Order")){this.options[t]=Math.max(this.options[t],e[t])}else{throw new Error(`ChunkGroup.addOptions: No option merge strategy for ${t}`)}}}}get name(){return this.options.name}set name(e){this.options.name=e}get debugId(){return Array.from(this.chunks,e=>e.debugId).join("+")}get id(){return Array.from(this.chunks,e=>e.id).join("+")}unshiftChunk(e){const t=this.chunks.indexOf(e);if(t>0){this.chunks.splice(t,1);this.chunks.unshift(e)}else if(t<0){this.chunks.unshift(e);return true}return false}insertChunk(e,t){const n=this.chunks.indexOf(e);const r=this.chunks.indexOf(t);if(r<0){throw new Error("before chunk not found")}if(n>=0&&n>r){this.chunks.splice(n,1);this.chunks.splice(r,0,e)}else if(n<0){this.chunks.splice(r,0,e);return true}return false}pushChunk(e){const t=this.chunks.indexOf(e);if(t>=0){return false}this.chunks.push(e);return true}replaceChunk(e,t){const n=this.chunks.indexOf(e);if(n<0)return false;const r=this.chunks.indexOf(t);if(r<0){this.chunks[n]=t;return true}if(r=0){this.chunks.splice(t,1);return true}return false}isInitial(){return false}addChild(e){if(this._children.has(e)){return false}this._children.add(e);return true}getChildren(){return this._children.getFromCache(o)}getNumberOfChildren(){return this._children.size}get childrenIterable(){return this._children}removeChild(e){if(!this._children.has(e)){return false}this._children.delete(e);e.removeParent(this);return true}addParent(e){if(!this._parents.has(e)){this._parents.add(e);return true}return false}getParents(){return this._parents.getFromCache(o)}setParents(e){this._parents.clear();for(const t of e){this._parents.add(t)}}getNumberOfParents(){return this._parents.size}hasParent(e){return this._parents.has(e)}get parentsIterable(){return this._parents}removeParent(e){if(this._parents.delete(e)){e.removeChunk(this);return true}return false}getBlocks(){return this._blocks.getFromCache(o)}getNumberOfBlocks(){return this._blocks.size}hasBlock(e){return this._blocks.has(e)}get blocksIterable(){return this._blocks}addBlock(e){if(!this._blocks.has(e)){this._blocks.add(e);return true}return false}addOrigin(e,t,n){this.origins.push({module:e,loc:t,request:n})}containsModule(e){for(const t of this.chunks){if(t.containsModule(e))return true}return false}getFiles(){const e=new Set;for(const t of this.chunks){for(const n of t.files){e.add(n)}}return Array.from(e)}remove(e){for(const e of this._parents){e._children.delete(this);for(const t of this._children){t.addParent(e);e.addChild(t)}}for(const e of this._children){e._parents.delete(this)}for(const e of this._blocks){e.chunkGroup=null}for(const e of this.chunks){e.removeGroup(this)}}sortItems(){this.origins.sort(c);this._parents.sort();this._children.sort()}compareTo(e){if(this.chunks.length>e.chunks.length)return-1;if(this.chunks.length{const n=t.order-e.order;if(n!==0)return n;if(e.group.compareTo){return e.group.compareTo(t.group)}return 0});t[n]=r.map(e=>e.group)}return t}setModuleIndex(e,t){this._moduleIndices.set(e,t)}getModuleIndex(e){return this._moduleIndices.get(e)}setModuleIndex2(e,t){this._moduleIndices2.set(e,t)}getModuleIndex2(e){return this._moduleIndices2.get(e)}checkConstraints(){const e=this;for(const t of e._children){if(!t._parents.has(e)){throw new Error(`checkConstraints: child missing parent ${e.debugId} -> ${t.debugId}`)}}for(const t of e._parents){if(!t._children.has(e)){throw new Error(`checkConstraints: parent missing child ${t.debugId} <- ${e.debugId}`)}}}}e.exports=ChunkGroup},48455:(e,t,n)=>{"use strict";const r=n(1891);class ChunkRenderError extends r{constructor(e,t,n){super();this.name="ChunkRenderError";this.error=n;this.message=n.message;this.details=n.stack;this.file=t;this.chunk=e;Error.captureStackTrace(this,this.constructor)}}e.exports=ChunkRenderError},51863:(e,t,n)=>{"use strict";const{Tapable:r,SyncWaterfallHook:s,SyncHook:i}=n(41242);e.exports=class ChunkTemplate extends r{constructor(e){super();this.outputOptions=e||{};this.hooks={renderManifest:new s(["result","options"]),modules:new s(["source","chunk","moduleTemplate","dependencyTemplates"]),render:new s(["source","chunk","moduleTemplate","dependencyTemplates"]),renderWithEntry:new s(["source","chunk"]),hash:new i(["hash"]),hashForChunk:new i(["hash","chunk"])}}getRenderManifest(e){const t=[];this.hooks.renderManifest.call(t,e);return t}updateHash(e){e.update("ChunkTemplate");e.update("2");this.hooks.hash.call(e)}updateHashForChunk(e,t,n,r){this.updateHash(e);this.hooks.hashForChunk.call(e,t)}}},30512:(e,t,n)=>{"use strict";const r=n(1891);class CommentCompilationWarning extends r{constructor(e,t,n){super(e);this.name="CommentCompilationWarning";this.module=t;this.loc=n;Error.captureStackTrace(this,this.constructor)}}e.exports=CommentCompilationWarning},20603:(e,t,n)=>{"use strict";const r=n(85622);const s=n(77466);class CommonJsStuffPlugin{apply(e){e.hooks.compilation.tap("CommonJsStuffPlugin",(e,{normalModuleFactory:t})=>{const i=(e,t)=>{e.hooks.expression.for("require.main.require").tap("CommonJsStuffPlugin",s.expressionIsUnsupported(e,"require.main.require is not supported by webpack."));e.hooks.expression.for("module.parent.require").tap("CommonJsStuffPlugin",s.expressionIsUnsupported(e,"module.parent.require is not supported by webpack."));e.hooks.expression.for("require.main").tap("CommonJsStuffPlugin",s.toConstantDependencyWithWebpackRequire(e,"__webpack_require__.c[__webpack_require__.s]"));e.hooks.expression.for("module.loaded").tap("CommonJsStuffPlugin",t=>{e.state.module.buildMeta.moduleConcatenationBailout="module.loaded";return s.toConstantDependency(e,"module.l")(t)});e.hooks.expression.for("module.id").tap("CommonJsStuffPlugin",t=>{e.state.module.buildMeta.moduleConcatenationBailout="module.id";return s.toConstantDependency(e,"module.i")(t)});e.hooks.expression.for("module.exports").tap("CommonJsStuffPlugin",()=>{const t=e.state.module;const n=t.buildMeta&&t.buildMeta.exportsType;if(!n)return true});e.hooks.evaluateIdentifier.for("module.hot").tap("CommonJsStuffPlugin",s.evaluateToIdentifier("module.hot",false));e.hooks.expression.for("module").tap("CommonJsStuffPlugin",()=>{const t=e.state.module;const i=t.buildMeta&&t.buildMeta.exportsType;let o=i?n.ab+"harmony-module.js":n.ab+"module.js";if(t.context){o=r.relative(e.state.module.context,o);if(!/^[A-Z]:/i.test(o)){o=`./${o.replace(/\\/g,"/")}`}}return s.addParsedVariableToModule(e,"module",`require(${JSON.stringify(o)})(module)`)})};t.hooks.parser.for("javascript/auto").tap("CommonJsStuffPlugin",i);t.hooks.parser.for("javascript/dynamic").tap("CommonJsStuffPlugin",i)})}}e.exports=CommonJsStuffPlugin},51382:(e,t,n)=>{"use strict";const r=n(53119);const s=n(47742);class CompatibilityPlugin{apply(e){e.hooks.compilation.tap("CompatibilityPlugin",(e,{normalModuleFactory:t})=>{e.dependencyFactories.set(r,new s);e.dependencyTemplates.set(r,new r.Template);t.hooks.parser.for("javascript/auto").tap("CompatibilityPlugin",(e,t)=>{if(t.browserify!==undefined&&!t.browserify)return;e.hooks.call.for("require").tap("CompatibilityPlugin",t=>{if(t.arguments.length!==2)return;const n=e.evaluateExpression(t.arguments[1]);if(!n.isBoolean())return;if(n.asBool()!==true)return;const s=new r("require",t.callee.range);s.loc=t.loc;if(e.state.current.dependencies.length>1){const t=e.state.current.dependencies[e.state.current.dependencies.length-1];if(t.critical&&t.options&&t.options.request==="."&&t.userRequest==="."&&t.options.recursive)e.state.current.dependencies.pop()}e.state.current.addDependency(s);return true})})})}}e.exports=CompatibilityPlugin},46587:(e,t,n)=>{"use strict";const r=n(36386);const s=n(31669);const{CachedSource:i}=n(50932);const{Tapable:o,SyncHook:a,SyncBailHook:c,SyncWaterfallHook:l,AsyncSeriesHook:u}=n(41242);const f=n(31295);const p=n(8927);const d=n(88533);const h=n(62337);const m=n(60583);const y=n(54029);const g=n(78865);const v=n(20024);const b=n(51863);const w=n(8008);const k=n(3732);const x=n(99753);const S=n(48455);const E=n(45096);const O=n(54796);const C=n(57442);const M=n(33875);const A=n(43445);const I=n(16002);const T=n(2536);const{Logger:R,LogType:j}=n(57225);const F=n(66007);const N=n(56043);const D=n(1891);const P=(e,t)=>{if(typeof e.id!==typeof t.id){return typeof e.idt.id)return 1;return 0};const L=(e,t)=>{if(typeof e.id!==typeof t.id){return typeof e.idt.id)return 1;const n=e.identifier();const r=t.identifier();if(nr)return 1;return 0};const q=(e,t)=>{if(e.indext.index)return 1;const n=e.identifier();const r=t.identifier();if(nr)return 1;return 0};const _=(e,t)=>{if(e.namet.name)return 1;if(e.fullHasht.fullHash)return 1;return 0};const z=(e,t)=>{for(let n=0;n{for(let n=0;n{for(const n of t){e.add(n)}};const U=(e,t)=>{if(e===t)return true;let n=e.source();let r=t.source();if(n===r)return true;if(typeof n==="string"&&typeof r==="string")return false;if(!Buffer.isBuffer(n))n=Buffer.from(n,"utf-8");if(!Buffer.isBuffer(r))r=Buffer.from(r,"utf-8");return n.equals(r)};class Compilation extends o{constructor(e){super();this.hooks={buildModule:new a(["module"]),rebuildModule:new a(["module"]),failedModule:new a(["module","error"]),succeedModule:new a(["module"]),addEntry:new a(["entry","name"]),failedEntry:new a(["entry","name","error"]),succeedEntry:new a(["entry","name","module"]),dependencyReference:new l(["dependencyReference","dependency","module"]),finishModules:new u(["modules"]),finishRebuildingModule:new a(["module"]),unseal:new a([]),seal:new a([]),beforeChunks:new a([]),afterChunks:new a(["chunks"]),optimizeDependenciesBasic:new c(["modules"]),optimizeDependencies:new c(["modules"]),optimizeDependenciesAdvanced:new c(["modules"]),afterOptimizeDependencies:new a(["modules"]),optimize:new a([]),optimizeModulesBasic:new c(["modules"]),optimizeModules:new c(["modules"]),optimizeModulesAdvanced:new c(["modules"]),afterOptimizeModules:new a(["modules"]),optimizeChunksBasic:new c(["chunks","chunkGroups"]),optimizeChunks:new c(["chunks","chunkGroups"]),optimizeChunksAdvanced:new c(["chunks","chunkGroups"]),afterOptimizeChunks:new a(["chunks","chunkGroups"]),optimizeTree:new u(["chunks","modules"]),afterOptimizeTree:new a(["chunks","modules"]),optimizeChunkModulesBasic:new c(["chunks","modules"]),optimizeChunkModules:new c(["chunks","modules"]),optimizeChunkModulesAdvanced:new c(["chunks","modules"]),afterOptimizeChunkModules:new a(["chunks","modules"]),shouldRecord:new c([]),reviveModules:new a(["modules","records"]),optimizeModuleOrder:new a(["modules"]),advancedOptimizeModuleOrder:new a(["modules"]),beforeModuleIds:new a(["modules"]),moduleIds:new a(["modules"]),optimizeModuleIds:new a(["modules"]),afterOptimizeModuleIds:new a(["modules"]),reviveChunks:new a(["chunks","records"]),optimizeChunkOrder:new a(["chunks"]),beforeChunkIds:new a(["chunks"]),optimizeChunkIds:new a(["chunks"]),afterOptimizeChunkIds:new a(["chunks"]),recordModules:new a(["modules","records"]),recordChunks:new a(["chunks","records"]),beforeHash:new a([]),contentHash:new a(["chunk"]),afterHash:new a([]),recordHash:new a(["records"]),record:new a(["compilation","records"]),beforeModuleAssets:new a([]),shouldGenerateChunkAssets:new c([]),beforeChunkAssets:new a([]),additionalChunkAssets:new a(["chunks"]),additionalAssets:new u([]),optimizeChunkAssets:new u(["chunks"]),afterOptimizeChunkAssets:new a(["chunks"]),optimizeAssets:new u(["assets"]),afterOptimizeAssets:new a(["assets"]),needAdditionalSeal:new c([]),afterSeal:new u([]),chunkHash:new a(["chunk","chunkHash"]),moduleAsset:new a(["module","filename"]),chunkAsset:new a(["chunk","filename"]),assetPath:new l(["filename","data"]),needAdditionalPass:new c([]),childCompiler:new a(["childCompiler","compilerName","compilerIndex"]),log:new c(["origin","logEntry"]),normalModuleLoader:new a(["loaderContext","module"]),optimizeExtractedChunksBasic:new c(["chunks"]),optimizeExtractedChunks:new c(["chunks"]),optimizeExtractedChunksAdvanced:new c(["chunks"]),afterOptimizeExtractedChunks:new a(["chunks"])};this._pluginCompat.tap("Compilation",e=>{switch(e.name){case"optimize-tree":case"additional-assets":case"optimize-chunk-assets":case"optimize-assets":case"after-seal":e.async=true;break}});this.name=undefined;this.compiler=e;this.resolverFactory=e.resolverFactory;this.inputFileSystem=e.inputFileSystem;this.requestShortener=e.requestShortener;const t=e.options;this.options=t;this.outputOptions=t&&t.output;this.bail=t&&t.bail;this.profile=t&&t.profile;this.performance=t&&t.performance;this.mainTemplate=new v(this.outputOptions);this.chunkTemplate=new b(this.outputOptions);this.hotUpdateChunkTemplate=new w(this.outputOptions);this.runtimeTemplate=new x(this.outputOptions,this.requestShortener);this.moduleTemplates={javascript:new k(this.runtimeTemplate,"javascript"),webassembly:new k(this.runtimeTemplate,"webassembly")};this.semaphore=new O(t.parallelism||100);this.entries=[];this._preparedEntrypoints=[];this.entrypoints=new Map;this.chunks=[];this.chunkGroups=[];this.namedChunkGroups=new Map;this.namedChunks=new Map;this.modules=[];this._modules=new Map;this.cache=null;this.records=null;this.additionalChunkAssets=[];this.assets={};this.assetsInfo=new Map;this.errors=[];this.warnings=[];this.children=[];this.logging=new Map;this.dependencyFactories=new Map;this.dependencyTemplates=new Map;this.dependencyTemplates.set("hash","");this.childrenCounters={};this.usedChunkIds=null;this.usedModuleIds=null;this.fileTimestamps=undefined;this.contextTimestamps=undefined;this.compilationDependencies=undefined;this._buildingModules=new Map;this._rebuildingModules=new Map;this.emittedAssets=new Set}getStats(){return new E(this)}getLogger(e){if(!e){throw new TypeError("Compilation.getLogger(name) called without a name")}let t;return new R((n,r)=>{if(typeof e==="function"){e=e();if(!e){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}let s;switch(n){case j.warn:case j.error:case j.trace:s=F.cutOffLoaderExecution(new Error("Trace").stack).split("\n").slice(3);break}const i={time:Date.now(),type:n,args:r,trace:s};if(this.hooks.log.call(e,i)===undefined){if(i.type===j.profileEnd){if(typeof console.profileEnd==="function"){console.profileEnd(`[${e}] ${i.args[0]}`)}}if(t===undefined){t=this.logging.get(e);if(t===undefined){t=[];this.logging.set(e,t)}}t.push(i);if(i.type===j.profile){if(typeof console.profile==="function"){console.profile(`[${e}] ${i.args[0]}`)}}}})}addModule(e,t){const n=e.identifier();const r=this._modules.get(n);if(r){return{module:r,issuer:false,build:false,dependencies:false}}const s=(t||"m")+n;if(this.cache&&this.cache[s]){const t=this.cache[s];if(typeof t.updateCacheModule==="function"){t.updateCacheModule(e)}let r=true;if(this.fileTimestamps&&this.contextTimestamps){r=t.needRebuild(this.fileTimestamps,this.contextTimestamps)}if(!r){t.disconnect();this._modules.set(n,t);this.modules.push(t);for(const e of t.errors){this.errors.push(e)}for(const e of t.warnings){this.warnings.push(e)}return{module:t,issuer:true,build:false,dependencies:true}}t.unbuild();e=t}this._modules.set(n,e);if(this.cache){this.cache[s]=e}this.modules.push(e);return{module:e,issuer:true,build:true,dependencies:true}}getModule(e){const t=e.identifier();return this._modules.get(t)}findModule(e){return this._modules.get(e)}waitForBuildingFinished(e,t){let n=this._buildingModules.get(e);if(n){n.push(()=>t())}else{process.nextTick(t)}}buildModule(e,t,n,r,s){let i=this._buildingModules.get(e);if(i){i.push(s);return}this._buildingModules.set(e,i=[s]);const o=t=>{this._buildingModules.delete(e);for(const e of i){e(t)}};this.hooks.buildModule.call(e);e.build(this.options,this,this.resolverFactory.get("normal",e.resolveOptions),this.inputFileSystem,s=>{const i=e.errors;for(let e=0;e{e.set(t,n);return e},new Map);e.dependencies.sort((e,t)=>{const n=T(e.loc,t.loc);if(n)return n;return c.get(e)-c.get(t)});if(s){this.hooks.failedModule.call(e,s);return o(s)}this.hooks.succeedModule.call(e);return o()})}processModuleDependencies(e,t){const n=new Map;const r=e=>{const t=e.getResourceIdentifier();if(t){const r=this.dependencyFactories.get(e.constructor);if(r===undefined){throw new Error(`No module factory available for dependency type: ${e.constructor.name}`)}let s=n.get(r);if(s===undefined){n.set(r,s=new Map)}let i=s.get(t);if(i===undefined)s.set(t,i=[]);i.push(e)}};const s=e=>{if(e.dependencies){B(e.dependencies,r)}if(e.blocks){B(e.blocks,s)}if(e.variables){z(e.variables,r)}};try{s(e)}catch(e){t(e)}const i=[];for(const e of n){for(const t of e[1]){i.push({factory:e[0],dependencies:t[1]})}}this.addModuleDependencies(e,i,this.bail,null,true,t)}addModuleDependencies(e,t,n,s,i,o){const a=this.profile&&Date.now();const c=this.profile&&{};r.forEach(t,(t,r)=>{const o=t.dependencies;const l=t=>{t.origin=e;t.dependencies=o;this.errors.push(t);if(n){r(t)}else{r()}};const u=t=>{t.origin=e;this.warnings.push(t);r()};const f=this.semaphore;f.acquire(()=>{const n=t.factory;n.create({contextInfo:{issuer:e.nameForCondition&&e.nameForCondition(),compiler:this.compiler.name},resolveOptions:e.resolveOptions,context:e.context,dependencies:o},(t,n)=>{let d;const h=()=>{return o.every(e=>e.optional)};const m=e=>{if(h()){return u(e)}else{return l(e)}};if(t){f.release();return m(new p(e,t))}if(!n){f.release();return process.nextTick(r)}if(c){d=Date.now();c.factory=d-a}const y=t=>{for(let r=0;r{if(i&&g.dependencies){this.processModuleDependencies(n,r)}else{return r()}};if(g.issuer){if(c){n.profile=c}n.issuer=e}else{if(this.profile){if(e.profile){const t=Date.now()-a;if(!e.profile.dependencies||t>e.profile.dependencies){e.profile.dependencies=t}}}}if(g.build){this.buildModule(n,h(),e,o,e=>{if(e){f.release();return m(e)}if(c){const e=Date.now();c.building=e-d}f.release();v()})}else{f.release();this.waitForBuildingFinished(n,v)}})})},e=>{if(e){e.stack=e.stack;return o(e)}return process.nextTick(o)})}_addModuleChain(e,t,n,r){const s=this.profile&&Date.now();const i=this.profile&&{};const o=this.bail?e=>{r(e)}:e=>{e.dependencies=[t];this.errors.push(e);r()};if(typeof t!=="object"||t===null||!t.constructor){throw new Error("Parameter 'dependency' must be a Dependency")}const a=t.constructor;const c=this.dependencyFactories.get(a);if(!c){throw new Error(`No dependency factory available for this dependency type: ${t.constructor.name}`)}this.semaphore.acquire(()=>{c.create({contextInfo:{issuer:"",compiler:this.compiler.name},context:e,dependencies:[t]},(e,a)=>{if(e){this.semaphore.release();return o(new f(e))}let c;if(i){c=Date.now();i.factory=c-s}const l=this.addModule(a);a=l.module;n(a);t.module=a;a.addReason(null,t);const u=()=>{if(l.dependencies){this.processModuleDependencies(a,e=>{if(e)return r(e);r(null,a)})}else{return r(null,a)}};if(l.issuer){if(i){a.profile=i}}if(l.build){this.buildModule(a,false,null,null,e=>{if(e){this.semaphore.release();return o(e)}if(i){const e=Date.now();i.building=e-c}this.semaphore.release();u()})}else{this.semaphore.release();this.waitForBuildingFinished(a,u)}})})}addEntry(e,t,n,r){this.hooks.addEntry.call(t,n);const s={name:n,request:null,module:null};if(t instanceof I){s.request=t.request}const i=this._preparedEntrypoints.findIndex(e=>e.name===n);if(i>=0){this._preparedEntrypoints[i]=s}else{this._preparedEntrypoints.push(s)}this._addModuleChain(e,t,e=>{this.entries.push(e)},(e,i)=>{if(e){this.hooks.failedEntry.call(t,n,e);return r(e)}if(i){s.module=i}else{const e=this._preparedEntrypoints.indexOf(s);if(e>=0){this._preparedEntrypoints.splice(e,1)}}this.hooks.succeedEntry.call(t,n,i);return r(null,i)})}prefetch(e,t,n){this._addModuleChain(e,t,e=>{e.prefetched=true},n)}rebuildModule(e,t){let n=this._rebuildingModules.get(e);if(n){n.push(t);return}this._rebuildingModules.set(e,n=[t]);const r=t=>{this._rebuildingModules.delete(e);for(const e of n){e(t)}};this.hooks.rebuildModule.call(e);const s=e.dependencies.slice();const i=e.variables.slice();const o=e.blocks.slice();e.unbuild();this.buildModule(e,false,e,null,t=>{if(t){this.hooks.finishRebuildingModule.call(e);return r(t)}this.processModuleDependencies(e,t=>{if(t)return r(t);this.removeReasonsOfDependencyBlock(e,{dependencies:s,variables:i,blocks:o});this.hooks.finishRebuildingModule.call(e);r()})})}finish(e){const t=this.modules;this.hooks.finishModules.callAsync(t,n=>{if(n)return e(n);for(let e=0;e{if(t){return e(t)}this.hooks.afterOptimizeTree.call(this.chunks,this.modules);while(this.hooks.optimizeChunkModulesBasic.call(this.chunks,this.modules)||this.hooks.optimizeChunkModules.call(this.chunks,this.modules)||this.hooks.optimizeChunkModulesAdvanced.call(this.chunks,this.modules)){}this.hooks.afterOptimizeChunkModules.call(this.chunks,this.modules);const n=this.hooks.shouldRecord.call()!==false;this.hooks.reviveModules.call(this.modules,this.records);this.hooks.optimizeModuleOrder.call(this.modules);this.hooks.advancedOptimizeModuleOrder.call(this.modules);this.hooks.beforeModuleIds.call(this.modules);this.hooks.moduleIds.call(this.modules);this.applyModuleIds();this.hooks.optimizeModuleIds.call(this.modules);this.hooks.afterOptimizeModuleIds.call(this.modules);this.sortItemsWithModuleIds();this.hooks.reviveChunks.call(this.chunks,this.records);this.hooks.optimizeChunkOrder.call(this.chunks);this.hooks.beforeChunkIds.call(this.chunks);this.applyChunkIds();this.hooks.optimizeChunkIds.call(this.chunks);this.hooks.afterOptimizeChunkIds.call(this.chunks);this.sortItemsWithChunkIds();if(n){this.hooks.recordModules.call(this.modules,this.records);this.hooks.recordChunks.call(this.chunks,this.records)}this.hooks.beforeHash.call();this.createHash();this.hooks.afterHash.call();if(n){this.hooks.recordHash.call(this.records)}this.hooks.beforeModuleAssets.call();this.createModuleAssets();if(this.hooks.shouldGenerateChunkAssets.call()!==false){this.hooks.beforeChunkAssets.call();this.createChunkAssets()}this.hooks.additionalChunkAssets.call(this.chunks);this.summarizeDependencies();if(n){this.hooks.record.call(this,this.records)}this.hooks.additionalAssets.callAsync(t=>{if(t){return e(t)}this.hooks.optimizeChunkAssets.callAsync(this.chunks,t=>{if(t){return e(t)}this.hooks.afterOptimizeChunkAssets.call(this.chunks);this.hooks.optimizeAssets.callAsync(this.assets,t=>{if(t){return e(t)}this.hooks.afterOptimizeAssets.call(this.assets);if(this.hooks.needAdditionalSeal.call()){this.unseal();return this.seal(e)}return this.hooks.afterSeal.callAsync(e)})})})})}sortModules(e){e.sort(q)}reportDependencyErrorsAndWarnings(e,t){for(let n=0;n{const r=e.depth;if(typeof r==="number"&&r<=n)return;t.add(e);e.depth=n};const s=e=>{if(e.module){r(e.module)}};const i=e=>{if(e.variables){z(e.variables,s)}if(e.dependencies){B(e.dependencies,s)}if(e.blocks){B(e.blocks,i)}};for(e of t){t.delete(e);n=e.depth;n++;i(e)}}getDependencyReference(e,t){if(typeof t.getReference!=="function")return null;const n=t.getReference();if(!n)return null;return this.hooks.dependencyReference.call(n,t,e)}removeReasonsOfDependencyBlock(e,t){const n=t=>{if(!t.module){return}if(t.module.removeReason(e,t)){for(const e of t.module.chunksIterable){this.patchChunksAfterReasonRemoval(t.module,e)}}};if(t.blocks){B(t.blocks,t=>this.removeReasonsOfDependencyBlock(e,t))}if(t.dependencies){B(t.dependencies,n)}if(t.variables){z(t.variables,n)}}patchChunksAfterReasonRemoval(e,t){if(!e.hasReasons()){this.removeReasonsOfDependencyBlock(e,e)}if(!e.hasReasonForChunk(t)){if(e.removeChunk(t)){this.removeChunkFromDependencies(e,t)}}}removeChunkFromDependencies(e,t){const n=e=>{if(!e.module){return}this.patchChunksAfterReasonRemoval(e.module,t)};const r=e.blocks;for(let t=0;t0){let r=-1;for(const e of n){if(typeof e!=="number"){continue}r=Math.max(r,e)}let s=t=r+1;while(s--){if(!n.has(s)){e.push(s)}}}const s=this.modules;for(let n=0;n0){r.id=e.pop()}else{r.id=t++}}}}applyChunkIds(){const e=new Set;if(this.usedChunkIds){for(const t of this.usedChunkIds){if(typeof t!=="number"){continue}e.add(t)}}const t=this.chunks;for(let n=0;n0){let t=n;while(t--){if(!e.has(t)){r.push(t)}}}for(let e=0;e0){s.id=r.pop()}else{s.id=n++}}if(!s.ids){s.ids=[s.id]}}}sortItemsWithModuleIds(){this.modules.sort(L);const e=this.modules;for(let t=0;te.compareTo(t))}sortItemsWithChunkIds(){for(const e of this.chunkGroups){e.sortItems()}this.chunks.sort(P);for(let e=0;e{const n=`${e.message}`;const r=`${t.message}`;if(n{const n=e.hasRuntime();const r=t.hasRuntime();if(n&&!r)return 1;if(!n&&r)return-1;return P(e,t)});for(let i=0;ie[1].toUpperCase())].call(...t)},"Compilation.applyPlugins is deprecated. Use new API on `.hooks` instead");Object.defineProperty(Compilation.prototype,"moduleTemplate",{configurable:false,get:s.deprecate(function(){return this.moduleTemplates.javascript},"Compilation.moduleTemplate: Use Compilation.moduleTemplates.javascript instead"),set:s.deprecate(function(e){this.moduleTemplates.javascript=e},"Compilation.moduleTemplate: Use Compilation.moduleTemplates.javascript instead.")});e.exports=Compilation},74809:(e,t,n)=>{"use strict";const r=n(15235);const s=n(36386);const i=n(85622);const{Source:o}=n(50932);const a=n(31669);const{Tapable:c,SyncHook:l,SyncBailHook:u,AsyncParallelHook:f,AsyncSeriesHook:p}=n(41242);const d=n(46587);const h=n(45096);const m=n(23275);const y=n(27150);const g=n(45886);const v=n(88724);const b=n(72372);const{makePathsRelative:w}=n(88540);const k=n(71791);const{Logger:x}=n(57225);class Compiler extends c{constructor(e){super();this.hooks={shouldEmit:new u(["compilation"]),done:new p(["stats"]),additionalPass:new p([]),beforeRun:new p(["compiler"]),run:new p(["compiler"]),emit:new p(["compilation"]),assetEmitted:new p(["file","content"]),afterEmit:new p(["compilation"]),thisCompilation:new l(["compilation","params"]),compilation:new l(["compilation","params"]),normalModuleFactory:new l(["normalModuleFactory"]),contextModuleFactory:new l(["contextModulefactory"]),beforeCompile:new p(["params"]),compile:new l(["params"]),make:new f(["compilation"]),afterCompile:new p(["compilation"]),watchRun:new p(["compiler"]),failed:new l(["error"]),invalid:new l(["filename","changeTime"]),watchClose:new l([]),infrastructureLog:new u(["origin","type","args"]),environment:new l([]),afterEnvironment:new l([]),afterPlugins:new l(["compiler"]),afterResolvers:new l(["compiler"]),entryOption:new u(["context","entry"])};this.hooks.infrastructurelog=this.hooks.infrastructureLog;this._pluginCompat.tap("Compiler",e=>{switch(e.name){case"additional-pass":case"before-run":case"run":case"emit":case"after-emit":case"before-compile":case"make":case"after-compile":case"watch-run":e.async=true;break}});this.name=undefined;this.parentCompilation=undefined;this.outputPath="";this.outputFileSystem=null;this.inputFileSystem=null;this.recordsInputPath=null;this.recordsOutputPath=null;this.records={};this.removedFiles=new Set;this.fileTimestamps=new Map;this.contextTimestamps=new Map;this.resolverFactory=new v;this.infrastructureLogger=undefined;this.resolvers={normal:{plugins:a.deprecate((e,t)=>{this.resolverFactory.plugin("resolver normal",n=>{n.plugin(e,t)})},"webpack: Using compiler.resolvers.normal is deprecated.\n"+'Use compiler.resolverFactory.plugin("resolver normal", resolver => {\n resolver.plugin(/* … */);\n}); instead.'),apply:a.deprecate((...e)=>{this.resolverFactory.plugin("resolver normal",t=>{t.apply(...e)})},"webpack: Using compiler.resolvers.normal is deprecated.\n"+'Use compiler.resolverFactory.plugin("resolver normal", resolver => {\n resolver.apply(/* … */);\n}); instead.')},loader:{plugins:a.deprecate((e,t)=>{this.resolverFactory.plugin("resolver loader",n=>{n.plugin(e,t)})},"webpack: Using compiler.resolvers.loader is deprecated.\n"+'Use compiler.resolverFactory.plugin("resolver loader", resolver => {\n resolver.plugin(/* … */);\n}); instead.'),apply:a.deprecate((...e)=>{this.resolverFactory.plugin("resolver loader",t=>{t.apply(...e)})},"webpack: Using compiler.resolvers.loader is deprecated.\n"+'Use compiler.resolverFactory.plugin("resolver loader", resolver => {\n resolver.apply(/* … */);\n}); instead.')},context:{plugins:a.deprecate((e,t)=>{this.resolverFactory.plugin("resolver context",n=>{n.plugin(e,t)})},"webpack: Using compiler.resolvers.context is deprecated.\n"+'Use compiler.resolverFactory.plugin("resolver context", resolver => {\n resolver.plugin(/* … */);\n}); instead.'),apply:a.deprecate((...e)=>{this.resolverFactory.plugin("resolver context",t=>{t.apply(...e)})},"webpack: Using compiler.resolvers.context is deprecated.\n"+'Use compiler.resolverFactory.plugin("resolver context", resolver => {\n resolver.apply(/* … */);\n}); instead.')}};this.options={};this.context=e;this.requestShortener=new b(e);this.running=false;this.watchMode=false;this._assetEmittingSourceCache=new WeakMap;this._assetEmittingWrittenFiles=new Map}getInfrastructureLogger(e){if(!e){throw new TypeError("Compiler.getInfrastructureLogger(name) called without a name")}return new x((t,n)=>{if(typeof e==="function"){e=e();if(!e){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}if(this.hooks.infrastructureLog.call(e,t,n)===undefined){if(this.infrastructureLogger!==undefined){this.infrastructureLogger(e,t,n)}}})}watch(e,t){if(this.running)return t(new k);this.running=true;this.watchMode=true;this.fileTimestamps=new Map;this.contextTimestamps=new Map;this.removedFiles=new Set;return new m(this,e,t)}run(e){if(this.running)return e(new k);const t=(t,n)=>{this.running=false;if(t){this.hooks.failed.call(t)}if(e!==undefined)return e(t,n)};const n=Date.now();this.running=true;const r=(e,s)=>{if(e)return t(e);if(this.hooks.shouldEmit.call(s)===false){const e=new h(s);e.startTime=n;e.endTime=Date.now();this.hooks.done.callAsync(e,n=>{if(n)return t(n);return t(null,e)});return}this.emitAssets(s,e=>{if(e)return t(e);if(s.hooks.needAdditionalPass.call()){s.needAdditionalPass=true;const e=new h(s);e.startTime=n;e.endTime=Date.now();this.hooks.done.callAsync(e,e=>{if(e)return t(e);this.hooks.additionalPass.callAsync(e=>{if(e)return t(e);this.compile(r)})});return}this.emitRecords(e=>{if(e)return t(e);const r=new h(s);r.startTime=n;r.endTime=Date.now();this.hooks.done.callAsync(r,e=>{if(e)return t(e);return t(null,r)})})})};this.hooks.beforeRun.callAsync(this,e=>{if(e)return t(e);this.hooks.run.callAsync(this,e=>{if(e)return t(e);this.readRecords(e=>{if(e)return t(e);this.compile(r)})})})}runAsChild(e){this.compile((t,n)=>{if(t)return e(t);this.parentCompilation.children.push(n);for(const{name:e,source:t,info:r}of n.getAssets()){this.parentCompilation.emitAsset(e,t,r)}const r=Array.from(n.entrypoints.values(),e=>e.chunks).reduce((e,t)=>{return e.concat(t)},[]);return e(null,r,n)})}purgeInputFileSystem(){if(this.inputFileSystem&&this.inputFileSystem.purge){this.inputFileSystem.purge()}}emitAssets(e,t){let n;const r=r=>{if(r)return t(r);s.forEachLimit(e.getAssets(),15,({name:t,source:r},s)=>{let o=t;const a=o.indexOf("?");if(a>=0){o=o.substr(0,a)}const c=i=>{if(i)return s(i);const a=this.outputFileSystem.join(n,o);if(this.options.output.futureEmitAssets){const n=this._assetEmittingWrittenFiles.get(a);let i=this._assetEmittingSourceCache.get(r);if(i===undefined){i={sizeOnlySource:undefined,writtenTo:new Map};this._assetEmittingSourceCache.set(r,i)}if(n!==undefined){const r=i.writtenTo.get(a);if(r===n){e.updateAsset(t,i.sizeOnlySource,{size:i.sizeOnlySource.size()});return s()}}let o;if(typeof r.buffer==="function"){o=r.buffer()}else{const e=r.source();if(Buffer.isBuffer(e)){o=e}else{o=Buffer.from(e,"utf8")}}i.sizeOnlySource=new SizeOnlySource(o.length);e.updateAsset(t,i.sizeOnlySource,{size:o.length});this.outputFileSystem.writeFile(a,o,r=>{if(r)return s(r);e.emittedAssets.add(t);const c=n===undefined?1:n+1;i.writtenTo.set(a,c);this._assetEmittingWrittenFiles.set(a,c);this.hooks.assetEmitted.callAsync(t,o,s)})}else{if(r.existsAt===a){r.emitted=false;return s()}let e=r.source();if(!Buffer.isBuffer(e)){e=Buffer.from(e,"utf8")}r.existsAt=a;r.emitted=true;this.outputFileSystem.writeFile(a,e,n=>{if(n)return s(n);this.hooks.assetEmitted.callAsync(t,e,s)})}};if(o.match(/\/|\\/)){const e=i.dirname(o);this.outputFileSystem.mkdirp(this.outputFileSystem.join(n,e),c)}else{c()}},n=>{if(n)return t(n);this.hooks.afterEmit.callAsync(e,e=>{if(e)return t(e);return t()})})};this.hooks.emit.callAsync(e,s=>{if(s)return t(s);n=e.getPath(this.outputPath);this.outputFileSystem.mkdirp(n,r)})}emitRecords(e){if(!this.recordsOutputPath)return e();const t=this.recordsOutputPath.lastIndexOf("/");const n=this.recordsOutputPath.lastIndexOf("\\");let r=null;if(t>n){r=this.recordsOutputPath.substr(0,t)}else if(t{this.outputFileSystem.writeFile(this.recordsOutputPath,JSON.stringify(this.records,undefined,2),e)};if(!r){return s()}this.outputFileSystem.mkdirp(r,t=>{if(t)return e(t);s()})}readRecords(e){if(!this.recordsInputPath){this.records={};return e()}this.inputFileSystem.stat(this.recordsInputPath,t=>{if(t)return e();this.inputFileSystem.readFile(this.recordsInputPath,(t,n)=>{if(t)return e(t);try{this.records=r(n.toString("utf-8"))}catch(t){t.message="Cannot parse records: "+t.message;return e(t)}return e()})})}createChildCompiler(e,t,n,r,s){const i=new Compiler(this.context);if(Array.isArray(s)){for(const e of s){e.apply(i)}}for(const e in this.hooks){if(!["make","compile","emit","afterEmit","invalid","done","thisCompilation"].includes(e)){if(i.hooks[e]){i.hooks[e].taps=this.hooks[e].taps.slice()}}}i.name=t;i.outputPath=this.outputPath;i.inputFileSystem=this.inputFileSystem;i.outputFileSystem=null;i.resolverFactory=this.resolverFactory;i.fileTimestamps=this.fileTimestamps;i.contextTimestamps=this.contextTimestamps;const o=w(this.context,t);if(!this.records[o]){this.records[o]=[]}if(this.records[o][n]){i.records=this.records[o][n]}else{this.records[o].push(i.records={})}i.options=Object.create(this.options);i.options.output=Object.create(i.options.output);for(const e in r){i.options.output[e]=r[e]}i.parentCompilation=e;e.hooks.childCompiler.call(i,t,n);return i}isChild(){return!!this.parentCompilation}createCompilation(){return new d(this)}newCompilation(e){const t=this.createCompilation();t.fileTimestamps=this.fileTimestamps;t.contextTimestamps=this.contextTimestamps;t.name=this.name;t.records=this.records;t.compilationDependencies=e.compilationDependencies;this.hooks.thisCompilation.call(t,e);this.hooks.compilation.call(t,e);return t}createNormalModuleFactory(){const e=new y(this.options.context,this.resolverFactory,this.options.module||{});this.hooks.normalModuleFactory.call(e);return e}createContextModuleFactory(){const e=new g(this.resolverFactory);this.hooks.contextModuleFactory.call(e);return e}newCompilationParams(){const e={normalModuleFactory:this.createNormalModuleFactory(),contextModuleFactory:this.createContextModuleFactory(),compilationDependencies:new Set};return e}compile(e){const t=this.newCompilationParams();this.hooks.beforeCompile.callAsync(t,n=>{if(n)return e(n);this.hooks.compile.call(t);const r=this.newCompilation(t);this.hooks.make.callAsync(r,t=>{if(t)return e(t);r.finish(t=>{if(t)return e(t);r.seal(t=>{if(t)return e(t);this.hooks.afterCompile.callAsync(r,t=>{if(t)return e(t);return e(null,r)})})})})})}}e.exports=Compiler;class SizeOnlySource extends o{constructor(e){super();this._size=e}_error(){return new Error("Content and Map of this Source is no longer available (only size() is supported)")}size(){return this._size}source(e){throw this._error()}node(){throw this._error()}listMap(){throw this._error()}map(){throw this._error()}listNode(){throw this._error()}updateHash(){throw this._error()}}},71791:(e,t,n)=>{"use strict";const r=n(1891);e.exports=class ConcurrentCompilationError extends r{constructor(){super();this.name="ConcurrentCompilationError";this.message="You ran Webpack twice. Each instance only supports a single concurrent compilation at a time.";Error.captureStackTrace(this,this.constructor)}}},38205:(e,t,n)=>{"use strict";const r=n(53119);const s=n(47742);const i=n(77466);const o=e=>{const t=e.indexOf("?");return t!==-1?e.substr(t):""};const a=(e,t)=>{const n=[t];while(n.length>0){const t=n.pop();switch(t.type){case"Identifier":e.add(t.name);break;case"ArrayPattern":for(const e of t.elements){if(e){n.push(e)}}break;case"AssignmentPattern":n.push(t.left);break;case"ObjectPattern":for(const e of t.properties){n.push(e.value)}break;case"RestElement":n.push(t.argument);break}}};const c=(e,t)=>{const n=new Set;const r=[e];while(r.length>0){const e=r.pop();if(!e)continue;switch(e.type){case"BlockStatement":for(const t of e.body){r.push(t)}break;case"IfStatement":r.push(e.consequent);r.push(e.alternate);break;case"ForStatement":r.push(e.init);r.push(e.body);break;case"ForInStatement":case"ForOfStatement":r.push(e.left);r.push(e.body);break;case"DoWhileStatement":case"WhileStatement":case"LabeledStatement":r.push(e.body);break;case"SwitchStatement":for(const t of e.cases){for(const e of t.consequent){r.push(e)}}break;case"TryStatement":r.push(e.block);if(e.handler){r.push(e.handler.body)}r.push(e.finalizer);break;case"FunctionDeclaration":if(t){a(n,e.id)}break;case"VariableDeclaration":if(e.kind==="var"){for(const t of e.declarations){a(n,t.id)}}break}}return Array.from(n)};class ConstPlugin{apply(e){e.hooks.compilation.tap("ConstPlugin",(e,{normalModuleFactory:t})=>{e.dependencyFactories.set(r,new s);e.dependencyTemplates.set(r,new r.Template);const n=e=>{e.hooks.statementIf.tap("ConstPlugin",t=>{if(e.scope.isAsmJs)return;const n=e.evaluateExpression(t.test);const s=n.asBool();if(typeof s==="boolean"){if(t.test.type!=="Literal"){const i=new r(`${s}`,n.range);i.loc=t.loc;e.state.current.addDependency(i)}const i=s?t.alternate:t.consequent;if(i){let t;if(e.scope.isStrict){t=c(i,false)}else{t=c(i,true)}let n;if(t.length>0){n=`{ var ${t.join(", ")}; }`}else{n="{}"}const s=new r(n,i.range);s.loc=i.loc;e.state.current.addDependency(s)}return s}});e.hooks.expressionConditionalOperator.tap("ConstPlugin",t=>{if(e.scope.isAsmJs)return;const n=e.evaluateExpression(t.test);const s=n.asBool();if(typeof s==="boolean"){if(t.test.type!=="Literal"){const i=new r(` ${s}`,n.range);i.loc=t.loc;e.state.current.addDependency(i)}const i=s?t.alternate:t.consequent;const o=new r("undefined",i.range);o.loc=i.loc;e.state.current.addDependency(o);return s}});e.hooks.expressionLogicalOperator.tap("ConstPlugin",t=>{if(e.scope.isAsmJs)return;if(t.operator==="&&"||t.operator==="||"){const n=e.evaluateExpression(t.left);const s=n.asBool();if(typeof s==="boolean"){const i=t.operator==="&&"&&s||t.operator==="||"&&!s;if(n.isBoolean()||i){const i=new r(` ${s}`,n.range);i.loc=t.loc;e.state.current.addDependency(i)}else{e.walkExpression(t.left)}if(!i){const n=new r("false",t.right.range);n.loc=t.loc;e.state.current.addDependency(n)}return i}}});e.hooks.evaluateIdentifier.for("__resourceQuery").tap("ConstPlugin",t=>{if(e.scope.isAsmJs)return;if(!e.state.module)return;return i.evaluateToString(o(e.state.module.resource))(t)});e.hooks.expression.for("__resourceQuery").tap("ConstPlugin",()=>{if(e.scope.isAsmJs)return;if(!e.state.module)return;e.state.current.addVariable("__resourceQuery",JSON.stringify(o(e.state.module.resource)));return true})};t.hooks.parser.for("javascript/auto").tap("ConstPlugin",n);t.hooks.parser.for("javascript/dynamic").tap("ConstPlugin",n);t.hooks.parser.for("javascript/esm").tap("ConstPlugin",n)})}}e.exports=ConstPlugin},87265:e=>{"use strict";class ContextExclusionPlugin{constructor(e){this.negativeMatcher=e}apply(e){e.hooks.contextModuleFactory.tap("ContextExclusionPlugin",e=>{e.hooks.contextModuleFiles.tap("ContextExclusionPlugin",e=>{return e.filter(e=>!this.negativeMatcher.test(e))})})}}e.exports=ContextExclusionPlugin},90314:(e,t,n)=>{"use strict";const r=n(31669);const{OriginalSource:s,RawSource:i}=n(50932);const o=n(3285);const a=n(63979);const c=n(73720);const l=n(88540).contextify;class ContextModule extends o{constructor(e,t){let n;let r;const s=t.resource.indexOf("?");if(s>=0){n=t.resource.substr(0,s);r=t.resource.substr(s)}else{n=t.resource;r=""}super("javascript/dynamic",n);this.resolveDependencies=e;this.options=Object.assign({},t,{resource:n,resourceQuery:r});if(t.resolveOptions!==undefined){this.resolveOptions=t.resolveOptions}this._contextDependencies=new Set([this.context]);if(typeof t.mode!=="string"){throw new Error("options.mode is a required option")}this._identifier=this._createIdentifier()}updateCacheModule(e){this.resolveDependencies=e.resolveDependencies;this.options=e.options;this.resolveOptions=e.resolveOptions}prettyRegExp(e){return e.substring(1,e.length-1)}_createIdentifier(){let e=this.context;if(this.options.resourceQuery){e+=` ${this.options.resourceQuery}`}if(this.options.mode){e+=` ${this.options.mode}`}if(!this.options.recursive){e+=" nonrecursive"}if(this.options.addon){e+=` ${this.options.addon}`}if(this.options.regExp){e+=` ${this.options.regExp}`}if(this.options.include){e+=` include: ${this.options.include}`}if(this.options.exclude){e+=` exclude: ${this.options.exclude}`}if(this.options.groupOptions){e+=` groupOptions: ${JSON.stringify(this.options.groupOptions)}`}if(this.options.namespaceObject==="strict"){e+=" strict namespace object"}else if(this.options.namespaceObject){e+=" namespace object"}return e}identifier(){return this._identifier}readableIdentifier(e){let t=e.shorten(this.context);if(this.options.resourceQuery){t+=` ${this.options.resourceQuery}`}if(this.options.mode){t+=` ${this.options.mode}`}if(!this.options.recursive){t+=" nonrecursive"}if(this.options.addon){t+=` ${e.shorten(this.options.addon)}`}if(this.options.regExp){t+=` ${this.prettyRegExp(this.options.regExp+"")}`}if(this.options.include){t+=` include: ${this.prettyRegExp(this.options.include+"")}`}if(this.options.exclude){t+=` exclude: ${this.prettyRegExp(this.options.exclude+"")}`}if(this.options.groupOptions){const e=this.options.groupOptions;for(const n of Object.keys(e)){t+=` ${n}: ${e[n]}`}}if(this.options.namespaceObject==="strict"){t+=" strict namespace object"}else if(this.options.namespaceObject){t+=" namespace object"}return t}libIdent(e){let t=l(e.context,this.context);if(this.options.mode){t+=` ${this.options.mode}`}if(this.options.recursive){t+=" recursive"}if(this.options.addon){t+=` ${l(e.context,this.options.addon)}`}if(this.options.regExp){t+=` ${this.prettyRegExp(this.options.regExp+"")}`}if(this.options.include){t+=` include: ${this.prettyRegExp(this.options.include+"")}`}if(this.options.exclude){t+=` exclude: ${this.prettyRegExp(this.options.exclude+"")}`}return t}needRebuild(e,t){const n=t.get(this.context);if(!n){return true}return n>=this.buildInfo.builtTime}build(e,t,n,r,s){this.built=true;this.buildMeta={};this.buildInfo={builtTime:Date.now(),contextDependencies:this._contextDependencies};this.resolveDependencies(r,this.options,(e,t)=>{if(e)return s(e);if(!t){s();return}for(const e of t){e.loc={name:e.userRequest};e.request=this.options.addon+e.request}if(this.options.mode==="sync"||this.options.mode==="eager"){this.dependencies=t}else if(this.options.mode==="lazy-once"){if(t.length>0){const e=new a(Object.assign({},this.options.groupOptions,{name:this.options.chunkName}),this);for(const n of t){e.addDependency(n)}this.addBlock(e)}}else if(this.options.mode==="weak"||this.options.mode==="async-weak"){for(const e of t){e.weak=true}this.dependencies=t}else if(this.options.mode==="lazy"){let e=0;for(const n of t){let t=this.options.chunkName;if(t){if(!/\[(index|request)\]/.test(t)){t+="[index]"}t=t.replace(/\[index\]/g,e++);t=t.replace(/\[request\]/g,c.toPath(n.userRequest))}const r=new a(Object.assign({},this.options.groupOptions,{name:t}),n.module,n.loc,n.userRequest);r.addDependency(n);this.addBlock(r)}}else{s(new Error(`Unsupported mode "${this.options.mode}" in context`));return}s()})}getUserRequestMap(e){return e.filter(e=>e.module).sort((e,t)=>{if(e.userRequest===t.userRequest){return 0}return e.userRequest{e[t.userRequest]=t.module.id;return e},Object.create(null))}getFakeMap(e){if(!this.options.namespaceObject){return 9}let t=false;let n=false;let r=false;const s=e.filter(e=>e.module).sort((e,t)=>{return t.module.id-e.module.id}).reduce((e,s)=>{const i=s.module.buildMeta&&s.module.buildMeta.exportsType;const o=s.module.id;if(!i){e[o]=this.options.namespaceObject==="strict"?1:7;t=true}else if(i==="namespace"){e[o]=9;n=true}else if(i==="named"){e[o]=3;r=true}return e},Object.create(null));if(!n&&t&&!r){return this.options.namespaceObject==="strict"?1:7}if(n&&!t&&!r){return 9}if(!n&&!t&&r){return 3}if(!n&&!t&&!r){return 9}return s}getFakeMapInitStatement(e){return typeof e==="object"?`var fakeMap = ${JSON.stringify(e,null,"\t")};`:""}getReturn(e){if(e===9){return"__webpack_require__(id)"}return`__webpack_require__.t(id, ${e})`}getReturnModuleObjectSource(e,t="fakeMap[id]"){if(typeof e==="number"){return`return ${this.getReturn(e)};`}return`return __webpack_require__.t(id, ${t})`}getSyncSource(e,t){const n=this.getUserRequestMap(e);const r=this.getFakeMap(e);const s=this.getReturnModuleObjectSource(r);return`var map = ${JSON.stringify(n,null,"\t")};\n${this.getFakeMapInitStatement(r)}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\t${s}\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = ${JSON.stringify(t)};`}getWeakSyncSource(e,t){const n=this.getUserRequestMap(e);const r=this.getFakeMap(e);const s=this.getReturnModuleObjectSource(r);return`var map = ${JSON.stringify(n,null,"\t")};\n${this.getFakeMapInitStatement(r)}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\tif(!__webpack_require__.m[id]) {\n\t\tvar e = new Error("Module '" + req + "' ('" + id + "') is not available (weak dependency)");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\t${s}\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nwebpackContext.id = ${JSON.stringify(t)};\nmodule.exports = webpackContext;`}getAsyncWeakSource(e,t){const n=this.getUserRequestMap(e);const r=this.getFakeMap(e);const s=this.getReturnModuleObjectSource(r);return`var map = ${JSON.stringify(n,null,"\t")};\n${this.getFakeMapInitStatement(r)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(function(id) {\n\t\tif(!__webpack_require__.m[id]) {\n\t\t\tvar e = new Error("Module '" + req + "' ('" + id + "') is not available (weak dependency)");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\t${s}\n\t});\n}\nfunction webpackAsyncContextResolve(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tif(!__webpack_require__.o(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(t)};\nmodule.exports = webpackAsyncContext;`}getEagerSource(e,t){const n=this.getUserRequestMap(e);const r=this.getFakeMap(e);const s=r!==9?`function(id) {\n\t\t${this.getReturnModuleObjectSource(r)}\n\t}`:"__webpack_require__";return`var map = ${JSON.stringify(n,null,"\t")};\n${this.getFakeMapInitStatement(r)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${s});\n}\nfunction webpackAsyncContextResolve(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tif(!__webpack_require__.o(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(t)};\nmodule.exports = webpackAsyncContext;`}getLazyOnceSource(e,t,n,r){const s=r.blockPromise({block:e,message:"lazy-once context"});const i=this.getUserRequestMap(t);const o=this.getFakeMap(t);const a=o!==9?`function(id) {\n\t\t${this.getReturnModuleObjectSource(o)};\n\t}`:"__webpack_require__";return`var map = ${JSON.stringify(i,null,"\t")};\n${this.getFakeMapInitStatement(o)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${a});\n}\nfunction webpackAsyncContextResolve(req) {\n\treturn ${s}.then(function() {\n\t\tif(!__webpack_require__.o(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(n)};\nmodule.exports = webpackAsyncContext;`}getLazySource(e,t){let n=false;let r=true;const s=this.getFakeMap(e.map(e=>e.dependencies[0]));const i=typeof s==="object";const o=e.filter(e=>e.dependencies[0].module).map(e=>{const t=e.chunkGroup?e.chunkGroup.chunks:[];if(t.length>0){r=false}if(t.length!==1){n=true}return{dependency:e.dependencies[0],block:e,userRequest:e.dependencies[0].userRequest,chunks:t}}).sort((e,t)=>{if(e.userRequest===t.userRequest)return 0;return e.userRequest{const n=t.chunks;if(r&&!i){e[t.userRequest]=t.dependency.module.id}else{const r=[t.dependency.module.id];if(typeof s==="object"){r.push(s[t.dependency.module.id])}e[t.userRequest]=r.concat(n.map(e=>e.id))}return e},Object.create(null));const a=r&&!i;const c=i?2:1;const l=r?"Promise.resolve()":n?`Promise.all(ids.slice(${c}).map(__webpack_require__.e))`:`__webpack_require__.e(ids[${c}])`;const u=this.getReturnModuleObjectSource(s,a?"invalid":"ids[1]");const f=l==="Promise.resolve()"?`${a?"":""}\nfunction webpackAsyncContext(req) {\n\treturn Promise.resolve().then(function() {\n\t\tif(!__webpack_require__.o(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\n\t\t${a?"var id = map[req];":"var ids = map[req], id = ids[0];"}\n\t\t${u}\n\t});\n}`:`function webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn ${l}.then(function() {\n\t\t${u}\n\t});\n}`;return`var map = ${JSON.stringify(o,null,"\t")};\n${f}\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = ${JSON.stringify(t)};\nmodule.exports = webpackAsyncContext;`}getSourceForEmptyContext(e){return`function webpackEmptyContext(req) {\n\tvar e = new Error("Cannot find module '" + req + "'");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = function() { return []; };\nwebpackEmptyContext.resolve = webpackEmptyContext;\nmodule.exports = webpackEmptyContext;\nwebpackEmptyContext.id = ${JSON.stringify(e)};`}getSourceForEmptyAsyncContext(e){return`function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = ${JSON.stringify(e)};`}getSourceString(e,t){if(e==="lazy"){if(this.blocks&&this.blocks.length>0){return this.getLazySource(this.blocks,this.id)}return this.getSourceForEmptyAsyncContext(this.id)}if(e==="eager"){if(this.dependencies&&this.dependencies.length>0){return this.getEagerSource(this.dependencies,this.id)}return this.getSourceForEmptyAsyncContext(this.id)}if(e==="lazy-once"){const e=this.blocks[0];if(e){return this.getLazyOnceSource(e,e.dependencies,this.id,t)}return this.getSourceForEmptyAsyncContext(this.id)}if(e==="async-weak"){if(this.dependencies&&this.dependencies.length>0){return this.getAsyncWeakSource(this.dependencies,this.id)}return this.getSourceForEmptyAsyncContext(this.id)}if(e==="weak"){if(this.dependencies&&this.dependencies.length>0){return this.getWeakSyncSource(this.dependencies,this.id)}}if(this.dependencies&&this.dependencies.length>0){return this.getSyncSource(this.dependencies,this.id)}return this.getSourceForEmptyContext(this.id)}getSource(e){if(this.useSourceMap){return new s(e,this.identifier())}return new i(e)}source(e,t){return this.getSource(this.getSourceString(this.options.mode,t))}size(){const e=160;return this.dependencies.reduce((e,t)=>{const n=t;return e+5+n.userRequest.length},e)}}Object.defineProperty(ContextModule.prototype,"recursive",{configurable:false,get:r.deprecate(function(){return this.options.recursive},"ContextModule.recursive has been moved to ContextModule.options.recursive"),set:r.deprecate(function(e){this.options.recursive=e},"ContextModule.recursive has been moved to ContextModule.options.recursive")});Object.defineProperty(ContextModule.prototype,"regExp",{configurable:false,get:r.deprecate(function(){return this.options.regExp},"ContextModule.regExp has been moved to ContextModule.options.regExp"),set:r.deprecate(function(e){this.options.regExp=e},"ContextModule.regExp has been moved to ContextModule.options.regExp")});Object.defineProperty(ContextModule.prototype,"addon",{configurable:false,get:r.deprecate(function(){return this.options.addon},"ContextModule.addon has been moved to ContextModule.options.addon"),set:r.deprecate(function(e){this.options.addon=e},"ContextModule.addon has been moved to ContextModule.options.addon")});Object.defineProperty(ContextModule.prototype,"async",{configurable:false,get:r.deprecate(function(){return this.options.mode},"ContextModule.async has been moved to ContextModule.options.mode"),set:r.deprecate(function(e){this.options.mode=e},"ContextModule.async has been moved to ContextModule.options.mode")});Object.defineProperty(ContextModule.prototype,"chunkName",{configurable:false,get:r.deprecate(function(){return this.options.chunkName},"ContextModule.chunkName has been moved to ContextModule.options.chunkName"),set:r.deprecate(function(e){this.options.chunkName=e},"ContextModule.chunkName has been moved to ContextModule.options.chunkName")});e.exports=ContextModule},45886:(e,t,n)=>{"use strict";const r=n(36386);const s=n(85622);const{Tapable:i,AsyncSeriesWaterfallHook:o,SyncWaterfallHook:a}=n(41242);const c=n(90314);const l=n(40847);const u={};e.exports=class ContextModuleFactory extends i{constructor(e){super();this.hooks={beforeResolve:new o(["data"]),afterResolve:new o(["data"]),contextModuleFiles:new a(["files"]),alternatives:new o(["modules"])};this._pluginCompat.tap("ContextModuleFactory",e=>{switch(e.name){case"before-resolve":case"after-resolve":case"alternatives":e.async=true;break}});this.resolverFactory=e}create(e,t){const n=e.context;const s=e.dependencies;const i=e.resolveOptions;const o=s[0];this.hooks.beforeResolve.callAsync(Object.assign({context:n,dependencies:s,resolveOptions:i},o.options),(e,n)=>{if(e)return t(e);if(!n)return t();const s=n.context;const i=n.request;const o=n.resolveOptions;let a,l,f="";const p=i.lastIndexOf("!");if(p>=0){let e=i.substr(0,p+1);let t;for(t=0;t{d.resolve({},s,l,{},(t,n)=>{if(t)return e(t);e(null,n)})},e=>{r.map(a,(e,t)=>{h.resolve({},s,e,{},(e,n)=>{if(e)return t(e);t(null,n)})},e)}],(e,r)=>{if(e)return t(e);this.hooks.afterResolve.callAsync(Object.assign({addon:f+r[1].join("!")+(r[1].length>0?"!":""),resource:r[0],resolveDependencies:this.resolveDependencies.bind(this)},n),(e,n)=>{if(e)return t(e);if(!n)return t();return t(null,new c(n.resolveDependencies,n))})})})}resolveDependencies(e,t,n){const i=this;let o=t.resource;let a=t.resourceQuery;let c=t.recursive;let u=t.regExp;let f=t.include;let p=t.exclude;if(!u||!o)return n(null,[]);const d=(t,n)=>{e.readdir(t,(h,m)=>{if(h)return n(h);m=i.hooks.contextModuleFiles.call(m);if(!m||m.length===0)return n(null,[]);r.map(m.filter(e=>e.indexOf(".")!==0),(n,r)=>{const i=s.join(t,n);if(!p||!i.match(p)){e.stat(i,(e,t)=>{if(e){if(e.code==="ENOENT"){return r()}else{return r(e)}}if(t.isDirectory()){if(!c)return r();d.call(this,i,r)}else if(t.isFile()&&(!f||i.match(f))){const e={context:o,request:"."+i.substr(o.length).replace(/\\/g,"/")};this.hooks.alternatives.callAsync([e],(e,t)=>{if(e)return r(e);t=t.filter(e=>u.test(e.request)).map(e=>{const t=new l(e.request+a,e.request);t.optional=true;return t});r(null,t)})}else{r()}})}else{r()}},(e,t)=>{if(e)return n(e);if(!t)return n(null,[]);n(null,t.filter(Boolean).reduce((e,t)=>e.concat(t),[]))})})};d(o,n)}}},90256:(e,t,n)=>{"use strict";const r=n(85622);const s=n(40847);class ContextReplacementPlugin{constructor(e,t,n,r){this.resourceRegExp=e;if(typeof t==="function"){this.newContentCallback=t}else if(typeof t==="string"&&typeof n==="object"){this.newContentResource=t;this.newContentCreateContextMap=((e,t)=>{t(null,n)})}else if(typeof t==="string"&&typeof n==="function"){this.newContentResource=t;this.newContentCreateContextMap=n}else{if(typeof t!=="string"){r=n;n=t;t=undefined}if(typeof n!=="boolean"){r=n;n=undefined}this.newContentResource=t;this.newContentRecursive=n;this.newContentRegExp=r}}apply(e){const t=this.resourceRegExp;const n=this.newContentCallback;const s=this.newContentResource;const o=this.newContentRecursive;const a=this.newContentRegExp;const c=this.newContentCreateContextMap;e.hooks.contextModuleFactory.tap("ContextReplacementPlugin",e=>{e.hooks.beforeResolve.tap("ContextReplacementPlugin",e=>{if(!e)return;if(t.test(e.request)){if(s!==undefined){e.request=s}if(o!==undefined){e.recursive=o}if(a!==undefined){e.regExp=a}if(typeof n==="function"){n(e)}else{for(const t of e.dependencies){if(t.critical)t.critical=false}}}return e});e.hooks.afterResolve.tap("ContextReplacementPlugin",e=>{if(!e)return;if(t.test(e.resource)){if(s!==undefined){e.resource=r.resolve(e.resource,s)}if(o!==undefined){e.recursive=o}if(a!==undefined){e.regExp=a}if(typeof c==="function"){e.resolveDependencies=i(c)}if(typeof n==="function"){const t=e.resource;n(e);if(e.resource!==t){e.resource=r.resolve(t,e.resource)}}else{for(const t of e.dependencies){if(t.critical)t.critical=false}}}return e})})}}const i=e=>{const t=(t,n,r)=>{e(t,(e,t)=>{if(e)return r(e);const i=Object.keys(t).map(e=>{return new s(t[e]+n.resourceQuery,e)});r(null,i)})};return t};e.exports=ContextReplacementPlugin},88300:(e,t,n)=>{"use strict";const r=n(53119);const s=n(52518);const i=n(77466);const o=n(47742);class RuntimeValue{constructor(e,t){this.fn=e;this.fileDependencies=t||[]}exec(e){if(this.fileDependencies===true){e.state.module.buildInfo.cacheable=false}else{for(const t of this.fileDependencies){e.state.module.buildInfo.fileDependencies.add(t)}}return this.fn({module:e.state.module})}}const a=(e,t)=>{return"Object({"+Object.keys(e).map(n=>{const r=e[n];return JSON.stringify(n)+":"+c(r,t)}).join(",")+"})"};const c=(e,t)=>{if(e===null){return"null"}if(e===undefined){return"undefined"}if(e instanceof RuntimeValue){return c(e.exec(t),t)}if(e instanceof RegExp&&e.toString){return e.toString()}if(typeof e==="function"&&e.toString){return"("+e.toString()+")"}if(typeof e==="object"){return a(e,t)}return e+""};class DefinePlugin{constructor(e){this.definitions=e}static runtimeValue(e,t){return new RuntimeValue(e,t)}apply(e){const t=this.definitions;e.hooks.compilation.tap("DefinePlugin",(e,{normalModuleFactory:n})=>{e.dependencyFactories.set(r,new o);e.dependencyTemplates.set(r,new r.Template);const l=e=>{const n=(e,t)=>{Object.keys(e).forEach(s=>{const i=e[s];if(i&&typeof i==="object"&&!(i instanceof RuntimeValue)&&!(i instanceof RegExp)){n(i,t+s+".");l(t+s,i);return}r(t,s);o(t+s,i)})};const r=(t,n)=>{const r=n.split(".");r.slice(1).forEach((n,s)=>{const o=t+r.slice(0,s+1).join(".");e.hooks.canRename.for(o).tap("DefinePlugin",i.approve)})};const o=(t,n)=>{const r=/^typeof\s+/.test(t);if(r)t=t.replace(/^typeof\s+/,"");let s=false;let o=false;if(!r){e.hooks.canRename.for(t).tap("DefinePlugin",i.approve);e.hooks.evaluateIdentifier.for(t).tap("DefinePlugin",t=>{if(s)return;s=true;const r=e.evaluate(c(n,e));s=false;r.setRange(t.range);return r});e.hooks.expression.for(t).tap("DefinePlugin",t=>{const r=c(n,e);if(/__webpack_require__/.test(r)){return i.toConstantDependencyWithWebpackRequire(e,r)(t)}else{return i.toConstantDependency(e,r)(t)}})}e.hooks.evaluateTypeof.for(t).tap("DefinePlugin",t=>{if(o)return;o=true;const s=r?c(n,e):"typeof ("+c(n,e)+")";const i=e.evaluate(s);o=false;i.setRange(t.range);return i});e.hooks.typeof.for(t).tap("DefinePlugin",t=>{const s=r?c(n,e):"typeof ("+c(n,e)+")";const o=e.evaluate(s);if(!o.isString())return;return i.toConstantDependency(e,JSON.stringify(o.string)).bind(e)(t)})};const l=(t,n)=>{e.hooks.canRename.for(t).tap("DefinePlugin",i.approve);e.hooks.evaluateIdentifier.for(t).tap("DefinePlugin",e=>(new s).setTruthy().setRange(e.range));e.hooks.evaluateTypeof.for(t).tap("DefinePlugin",e=>{return i.evaluateToString("object")(e)});e.hooks.expression.for(t).tap("DefinePlugin",t=>{const r=a(n,e);if(/__webpack_require__/.test(r)){return i.toConstantDependencyWithWebpackRequire(e,r)(t)}else{return i.toConstantDependency(e,r)(t)}});e.hooks.typeof.for(t).tap("DefinePlugin",t=>{return i.toConstantDependency(e,JSON.stringify("object"))(t)})};n(t,"")};n.hooks.parser.for("javascript/auto").tap("DefinePlugin",l);n.hooks.parser.for("javascript/dynamic").tap("DefinePlugin",l);n.hooks.parser.for("javascript/esm").tap("DefinePlugin",l)})}}e.exports=DefinePlugin},12406:(e,t,n)=>{"use strict";const{OriginalSource:r,RawSource:s}=n(50932);const i=n(3285);const o=n(80742);const a=n(69314);const c=n(9853);class DelegatedModule extends i{constructor(e,t,n,r,s){super("javascript/dynamic",null);this.sourceRequest=e;this.request=t.id;this.type=n;this.userRequest=r;this.originalRequest=s;this.delegateData=t;this.delegatedSourceDependency=undefined}libIdent(e){return typeof this.originalRequest==="string"?this.originalRequest:this.originalRequest.libIdent(e)}identifier(){return`delegated ${JSON.stringify(this.request)} from ${this.sourceRequest}`}readableIdentifier(){return`delegated ${this.userRequest} from ${this.sourceRequest}`}needRebuild(){return false}build(e,t,n,r,s){this.built=true;this.buildMeta=Object.assign({},this.delegateData.buildMeta);this.buildInfo={};this.delegatedSourceDependency=new a(this.sourceRequest);this.addDependency(this.delegatedSourceDependency);this.addDependency(new c(this,this.delegateData.exports||true));s()}source(e,t){const n=this.dependencies[0];const i=n.module;let a;if(!i){a=o.moduleCode(this.sourceRequest)}else{a=`module.exports = (${t.moduleExports({module:i,request:n.request})})`;switch(this.type){case"require":a+=`(${JSON.stringify(this.request)})`;break;case"object":a+=`[${JSON.stringify(this.request)}]`;break}a+=";"}if(this.useSourceMap){return new r(a,this.identifier())}else{return new s(a)}}size(){return 42}updateHash(e){e.update(this.type);e.update(JSON.stringify(this.request));super.updateHash(e)}}e.exports=DelegatedModule},22174:(e,t,n)=>{"use strict";const r=n(12406);class DelegatedModuleFactoryPlugin{constructor(e){this.options=e;e.type=e.type||"require";e.extensions=e.extensions||["",".wasm",".mjs",".js",".json"]}apply(e){const t=this.options.scope;if(t){e.hooks.factory.tap("DelegatedModuleFactoryPlugin",e=>(n,s)=>{const i=n.dependencies[0];const o=i.request;if(o&&o.indexOf(t+"/")===0){const e="."+o.substr(t.length);let n;if(e in this.options.content){n=this.options.content[e];return s(null,new r(this.options.source,n,this.options.type,e,o))}for(let t=0;t{if(e.libIdent){const t=e.libIdent(this.options);if(t&&t in this.options.content){const n=this.options.content[t];return new r(this.options.source,n,this.options.type,t,e)}}return e})}}}e.exports=DelegatedModuleFactoryPlugin},24796:(e,t,n)=>{"use strict";const r=n(80297);class DependenciesBlock{constructor(){this.dependencies=[];this.blocks=[];this.variables=[]}addBlock(e){this.blocks.push(e);e.parent=this}addVariable(e,t,n){for(let n of this.variables){if(n.name===e&&n.expression===t){return}}this.variables.push(new r(e,t,n))}addDependency(e){this.dependencies.push(e)}removeDependency(e){const t=this.dependencies.indexOf(e);if(t>=0){this.dependencies.splice(t,1)}}updateHash(e){for(const t of this.dependencies)t.updateHash(e);for(const t of this.blocks)t.updateHash(e);for(const t of this.variables)t.updateHash(e)}disconnect(){for(const e of this.dependencies)e.disconnect();for(const e of this.blocks)e.disconnect();for(const e of this.variables)e.disconnect()}unseal(){for(const e of this.blocks)e.unseal()}hasDependencies(e){if(e){for(const t of this.dependencies){if(e(t))return true}}else{if(this.dependencies.length>0){return true}}for(const t of this.blocks){if(t.hasDependencies(e))return true}for(const t of this.variables){if(t.hasDependencies(e))return true}return false}sortItems(){for(const e of this.blocks)e.sortItems()}}e.exports=DependenciesBlock},80297:(e,t,n)=>{"use strict";const{RawSource:r,ReplaceSource:s}=n(50932);class DependenciesBlockVariable{constructor(e,t,n){this.name=e;this.expression=t;this.dependencies=n||[]}updateHash(e){e.update(this.name);e.update(this.expression);for(const t of this.dependencies){t.updateHash(e)}}expressionSource(e,t){const n=new s(new r(this.expression));for(const r of this.dependencies){const s=e.get(r.constructor);if(!s){throw new Error(`No template for dependency: ${r.constructor.name}`)}s.apply(r,n,t,e)}return n}disconnect(){for(const e of this.dependencies){e.disconnect()}}hasDependencies(e){if(e){return this.dependencies.some(e)}return this.dependencies.length>0}}e.exports=DependenciesBlockVariable},29821:(e,t,n)=>{"use strict";const r=n(31669);const s=n(2536);const i=n(49440);class Dependency{constructor(){this.module=null;this.weak=false;this.optional=false;this.loc=undefined}getResourceIdentifier(){return null}getReference(){if(!this.module)return null;return new i(this.module,true,this.weak)}getExports(){return null}getWarnings(){return null}getErrors(){return null}updateHash(e){e.update((this.module&&this.module.id)+"")}disconnect(){this.module=null}}Dependency.compare=r.deprecate((e,t)=>s(e.loc,t.loc),"Dependency.compare is deprecated and will be removed in the next major version");e.exports=Dependency},5219:(e,t,n)=>{"use strict";const r=n(70562);const s=n(44785);const i=n(80090);class DllEntryPlugin{constructor(e,t,n){this.context=e;this.entries=t;this.name=n}apply(e){e.hooks.compilation.tap("DllEntryPlugin",(e,{normalModuleFactory:t})=>{const n=new i;e.dependencyFactories.set(r,n);e.dependencyFactories.set(s,t)});e.hooks.make.tapAsync("DllEntryPlugin",(e,t)=>{e.addEntry(this.context,new r(this.entries.map((e,t)=>{const n=new s(e);n.loc={name:this.name,index:t};return n}),this.name),this.name,t)})}}e.exports=DllEntryPlugin},69908:(e,t,n)=>{"use strict";const{RawSource:r}=n(50932);const s=n(3285);class DllModule extends s{constructor(e,t,n,r){super("javascript/dynamic",e);this.dependencies=t;this.name=n;this.type=r}identifier(){return`dll ${this.name}`}readableIdentifier(){return`dll ${this.name}`}build(e,t,n,r,s){this.built=true;this.buildMeta={};this.buildInfo={};return s()}source(){return new r("module.exports = __webpack_require__;")}needRebuild(){return false}size(){return 12}updateHash(e){e.update("dll module");e.update(this.name||"");super.updateHash(e)}}e.exports=DllModule},80090:(e,t,n)=>{"use strict";const{Tapable:r}=n(41242);const s=n(69908);class DllModuleFactory extends r{constructor(){super();this.hooks={}}create(e,t){const n=e.dependencies[0];t(null,new s(e.context,n.dependencies,n.name,n.type))}}e.exports=DllModuleFactory},7846:(e,t,n)=>{"use strict";const r=n(5219);const s=n(99843);const i=n(17177);const o=n(33225);const a=n(7303);class DllPlugin{constructor(e){o(a,e,"Dll Plugin");this.options=e}apply(e){e.hooks.entryOption.tap("DllPlugin",(t,n)=>{const s=(e,n)=>{if(Array.isArray(e)){return new r(t,e,n)}throw new Error("DllPlugin: supply an Array as entry")};if(typeof n==="object"&&!Array.isArray(n)){Object.keys(n).forEach(t=>{s(n[t],t).apply(e)})}else{s(n,"main").apply(e)}return true});new i(this.options).apply(e);if(!this.options.entryOnly){new s("DllPlugin").apply(e)}}}e.exports=DllPlugin},35288:(e,t,n)=>{"use strict";const r=n(15235);const s=n(69314);const i=n(22174);const o=n(82185);const a=n(9853);const c=n(47742);const l=n(88540).makePathsRelative;const u=n(1891);const f=n(33225);const p=n(61112);class DllReferencePlugin{constructor(e){f(p,e,"Dll Reference Plugin");this.options=e}apply(e){e.hooks.compilation.tap("DllReferencePlugin",(e,{normalModuleFactory:t})=>{e.dependencyFactories.set(s,t);e.dependencyFactories.set(a,new c)});e.hooks.beforeCompile.tapAsync("DllReferencePlugin",(t,n)=>{if("manifest"in this.options){const s=this.options.manifest;if(typeof s==="string"){t.compilationDependencies.add(s);e.inputFileSystem.readFile(s,(i,o)=>{if(i)return n(i);try{t["dll reference "+s]=r(o.toString("utf-8"))}catch(n){const r=l(e.options.context,s);t["dll reference parse error "+s]=new DllManifestError(r,n.message)}return n()});return}}return n()});e.hooks.compile.tap("DllReferencePlugin",t=>{let n=this.options.name;let r=this.options.sourceType;let s="content"in this.options?this.options.content:undefined;if("manifest"in this.options){let e=this.options.manifest;let i;if(typeof e==="string"){if(t["dll reference parse error "+e]){return}i=t["dll reference "+e]}else{i=e}if(i){if(!n)n=i.name;if(!r)r=i.type;if(!s)s=i.content}}const a={};const c="dll-reference "+n;a[c]=n;const l=t.normalModuleFactory;new o(r||"var",a).apply(l);new i({source:c,type:this.options.type,scope:this.options.scope,context:this.options.context||e.options.context,content:s,extensions:this.options.extensions}).apply(l)});e.hooks.compilation.tap("DllReferencePlugin",(e,t)=>{if("manifest"in this.options){let n=this.options.manifest;if(typeof n==="string"){let r=t["dll reference parse error "+n];if(r){e.errors.push(r)}}}})}}class DllManifestError extends u{constructor(e,t){super();this.name="DllManifestError";this.message=`Dll manifest ${e}\n${t}`;Error.captureStackTrace(this,this.constructor)}}e.exports=DllReferencePlugin},43715:(e,t,n)=>{"use strict";const r=n(72528);const s=n(44785);const i=n(86745);const o=n(22575);const a=n(45693);class DynamicEntryPlugin{constructor(e,t){this.context=e;this.entry=t}apply(e){e.hooks.compilation.tap("DynamicEntryPlugin",(e,{normalModuleFactory:t})=>{const n=new i;e.dependencyFactories.set(r,n);e.dependencyFactories.set(s,t)});e.hooks.make.tapAsync("DynamicEntryPlugin",(e,t)=>{const n=(t,n)=>{const r=DynamicEntryPlugin.createDependency(t,n);return new Promise((t,s)=>{e.addEntry(this.context,r,n,e=>{if(e)return s(e);t()})})};Promise.resolve(this.entry()).then(e=>{if(typeof e==="string"||Array.isArray(e)){n(e,"main").then(()=>t(),t)}else if(typeof e==="object"){Promise.all(Object.keys(e).map(t=>{return n(e[t],t)})).then(()=>t(),t)}})})}}e.exports=DynamicEntryPlugin;DynamicEntryPlugin.createDependency=((e,t)=>{if(Array.isArray(e)){return o.createDependency(e,t)}else{return a.createDependency(e,t)}})},31295:(e,t,n)=>{"use strict";const r=n(1891);class EntryModuleNotFoundError extends r{constructor(e){super("Entry module not found: "+e);this.name="EntryModuleNotFoundError";this.details=e.details;this.error=e;Error.captureStackTrace(this,this.constructor)}}e.exports=EntryModuleNotFoundError},30798:(e,t,n)=>{"use strict";const r=n(45693);const s=n(22575);const i=n(43715);const o=(e,t,n)=>{if(Array.isArray(t)){return new s(e,t,n)}return new r(e,t,n)};e.exports=class EntryOptionPlugin{apply(e){e.hooks.entryOption.tap("EntryOptionPlugin",(t,n)=>{if(typeof n==="string"||Array.isArray(n)){o(t,n,"main").apply(e)}else if(typeof n==="object"){for(const r of Object.keys(n)){o(t,n[r],r).apply(e)}}else if(typeof n==="function"){new i(t,n).apply(e)}return true})}}},78865:(e,t,n)=>{"use strict";const r=n(60583);class Entrypoint extends r{constructor(e){super(e);this.runtimeChunk=undefined}isInitial(){return true}setRuntimeChunk(e){this.runtimeChunk=e}getRuntimeChunk(){return this.runtimeChunk||this.chunks[0]}replaceChunk(e,t){if(this.runtimeChunk===e)this.runtimeChunk=t;return super.replaceChunk(e,t)}}e.exports=Entrypoint},75626:(e,t,n)=>{"use strict";const r=n(1891);const s=n(88300);const i=["8","9"].indexOf(process.versions.node.split(".")[0])>=0&&process.platform==="win32";class EnvironmentPlugin{constructor(...e){if(e.length===1&&Array.isArray(e[0])){this.keys=e[0];this.defaultValues={}}else if(e.length===1&&e[0]&&typeof e[0]==="object"){this.keys=Object.keys(e[0]);this.defaultValues=e[0]}else{this.keys=e;this.defaultValues={}}}apply(e){const t=this.keys.reduce((t,s)=>{if(i)n(12087).cpus();const o=process.env[s]!==undefined?process.env[s]:this.defaultValues[s];if(o===undefined){e.hooks.thisCompilation.tap("EnvironmentPlugin",e=>{const t=new r(`EnvironmentPlugin - ${s} environment variable is undefined.\n\n`+"You can pass an object with default values to suppress this warning.\n"+"See https://webpack.js.org/plugins/environment-plugin for example.");t.name="EnvVariableNotDefinedError";e.warnings.push(t)})}t[`process.env.${s}`]=o===undefined?"undefined":JSON.stringify(o);return t},{});new s(t).apply(e)}}e.exports=EnvironmentPlugin},66007:(e,t)=>{"use strict";const n="LOADER_EXECUTION";const r="WEBPACK_OPTIONS";t.cutOffByFlag=((e,t)=>{e=e.split("\n");for(let n=0;nt.cutOffByFlag(e,n));t.cutOffWebpackOptions=(e=>t.cutOffByFlag(e,r));t.cutOffMultilineMessage=((e,t)=>{e=e.split("\n");t=t.split("\n");return e.reduce((e,n,r)=>n.includes(t[r])?e:e.concat(n),[]).join("\n")});t.cutOffMessage=((e,t)=>{const n=e.indexOf("\n");if(n===-1){return e===t?"":e}else{const r=e.substr(0,n);return r===t?e.substr(n+1):e}});t.cleanUp=((e,n)=>{e=t.cutOffLoaderExecution(e);e=t.cutOffMessage(e,n);return e});t.cleanUpWebpackOptions=((e,n)=>{e=t.cutOffWebpackOptions(e);e=t.cutOffMultilineMessage(e,n);return e})},78332:(e,t,n)=>{"use strict";const r=n(51781);class EvalDevToolModulePlugin{constructor(e){this.sourceUrlComment=e.sourceUrlComment;this.moduleFilenameTemplate=e.moduleFilenameTemplate;this.namespace=e.namespace}apply(e){e.hooks.compilation.tap("EvalDevToolModulePlugin",e=>{new r({sourceUrlComment:this.sourceUrlComment,moduleFilenameTemplate:this.moduleFilenameTemplate,namespace:this.namespace}).apply(e.moduleTemplates.javascript)})}}e.exports=EvalDevToolModulePlugin},51781:(e,t,n)=>{"use strict";const{RawSource:r}=n(50932);const s=n(74491);const i=new WeakMap;class EvalDevToolModuleTemplatePlugin{constructor(e){this.sourceUrlComment=e.sourceUrlComment||"\n//# sourceURL=[url]";this.moduleFilenameTemplate=e.moduleFilenameTemplate||"webpack://[namespace]/[resourcePath]?[loaders]";this.namespace=e.namespace||""}apply(e){e.hooks.module.tap("EvalDevToolModuleTemplatePlugin",(t,n)=>{const o=i.get(t);if(o!==undefined)return o;const a=t.source();const c=s.createFilename(n,{moduleFilenameTemplate:this.moduleFilenameTemplate,namespace:this.namespace},e.runtimeTemplate.requestShortener);const l="\n"+this.sourceUrlComment.replace(/\[url\]/g,encodeURI(c).replace(/%2F/g,"/").replace(/%20/g,"_").replace(/%5E/g,"^").replace(/%5C/g,"\\").replace(/^\//,""));const u=new r(`eval(${JSON.stringify(a+l)});`);i.set(t,u);return u});e.hooks.hash.tap("EvalDevToolModuleTemplatePlugin",e=>{e.update("EvalDevToolModuleTemplatePlugin");e.update("2")})}}e.exports=EvalDevToolModuleTemplatePlugin},79955:(e,t,n)=>{"use strict";const{RawSource:r}=n(50932);const s=n(74491);const{absolutify:i}=n(88540);const o=new WeakMap;class EvalSourceMapDevToolModuleTemplatePlugin{constructor(e,t){this.compilation=e;this.sourceMapComment=t.append||"//# sourceURL=[module]\n//# sourceMappingURL=[url]";this.moduleFilenameTemplate=t.moduleFilenameTemplate||"webpack://[namespace]/[resource-path]?[hash]";this.namespace=t.namespace||"";this.options=t}apply(e){const t=this;const n=this.options;const a=s.matchObject.bind(s,n);e.hooks.module.tap("EvalSourceMapDevToolModuleTemplatePlugin",(c,l)=>{const u=o.get(c);if(u!==undefined){return u}if(!a(l.resource)){return c}let f;let p;if(c.sourceAndMap){const e=c.sourceAndMap(n);f=e.map;p=e.source}else{f=c.map(n);p=c.source()}if(!f){return c}f=Object.keys(f).reduce((e,t)=>{e[t]=f[t];return e},{});const d=this.compilation.compiler.options.context;const h=f.sources.map(e=>{if(e.startsWith("webpack://")){e=i(d,e.slice(10))}const n=t.compilation.findModule(e);return n||e});let m=h.map(n=>{return s.createFilename(n,{moduleFilenameTemplate:t.moduleFilenameTemplate,namespace:t.namespace},e.runtimeTemplate.requestShortener)});m=s.replaceDuplicates(m,(e,t,n)=>{for(let t=0;t{e.update("eval-source-map");e.update("2")})}}e.exports=EvalSourceMapDevToolModuleTemplatePlugin},73802:(e,t,n)=>{"use strict";const r=n(79955);const s=n(51519);class EvalSourceMapDevToolPlugin{constructor(e){if(arguments.length>1){throw new Error("EvalSourceMapDevToolPlugin only takes one argument (pass an options object)")}if(typeof e==="string"){e={append:e}}if(!e)e={};this.options=e}apply(e){const t=this.options;e.hooks.compilation.tap("EvalSourceMapDevToolPlugin",e=>{new s(t).apply(e);new r(e,t).apply(e.moduleTemplates.javascript)})}}e.exports=EvalSourceMapDevToolPlugin},93146:(e,t,n)=>{"use strict";const{ConcatSource:r}=n(50932);const s=e=>{return e.map(e=>`[${JSON.stringify(e)}]`).join("")};class ExportPropertyMainTemplatePlugin{constructor(e){this.property=e}apply(e){const{mainTemplate:t,chunkTemplate:n}=e;const i=(e,t,n)=>{const i=`${s([].concat(this.property))}`;return new r(e,i)};for(const e of[t,n]){e.hooks.renderWithEntry.tap("ExportPropertyMainTemplatePlugin",i)}t.hooks.hash.tap("ExportPropertyMainTemplatePlugin",e=>{e.update("export property");e.update(`${this.property}`)})}}e.exports=ExportPropertyMainTemplatePlugin},41170:(e,t,n)=>{"use strict";const r=n(73720);const s=n(53119);const i=n(77466);const o=n(47742);const a={__webpack_hash__:"__webpack_require__.h",__webpack_chunkname__:"__webpack_require__.cn"};const c={__webpack_hash__:"string",__webpack_chunkname__:"string"};class ExtendedAPIPlugin{apply(e){e.hooks.compilation.tap("ExtendedAPIPlugin",(e,{normalModuleFactory:t})=>{e.dependencyFactories.set(s,new o);e.dependencyTemplates.set(s,new s.Template);const n=e.mainTemplate;n.hooks.requireExtensions.tap("ExtendedAPIPlugin",(e,t,s)=>{const i=[e];i.push("");i.push("// __webpack_hash__");i.push(`${n.requireFn}.h = ${JSON.stringify(s)};`);i.push("");i.push("// __webpack_chunkname__");i.push(`${n.requireFn}.cn = ${JSON.stringify(t.name)};`);return r.asString(i)});n.hooks.globalHash.tap("ExtendedAPIPlugin",()=>true);const l=(e,t)=>{Object.keys(a).forEach(t=>{e.hooks.expression.for(t).tap("ExtendedAPIPlugin",i.toConstantDependencyWithWebpackRequire(e,a[t]));e.hooks.evaluateTypeof.for(t).tap("ExtendedAPIPlugin",i.evaluateToString(c[t]))})};t.hooks.parser.for("javascript/auto").tap("ExtendedAPIPlugin",l);t.hooks.parser.for("javascript/dynamic").tap("ExtendedAPIPlugin",l);t.hooks.parser.for("javascript/esm").tap("ExtendedAPIPlugin",l)})}}e.exports=ExtendedAPIPlugin},31287:(e,t,n)=>{"use strict";const{OriginalSource:r,RawSource:s}=n(50932);const i=n(3285);const o=n(80742);const a=n(73720);class ExternalModule extends i{constructor(e,t,n){super("javascript/dynamic",null);this.request=e;this.externalType=t;this.userRequest=n;this.external=true}libIdent(){return this.userRequest}chunkCondition(e){return e.hasEntryModule()}identifier(){return"external "+JSON.stringify(this.request)}readableIdentifier(){return"external "+JSON.stringify(this.request)}needRebuild(){return false}build(e,t,n,r,s){this.built=true;this.buildMeta={};this.buildInfo={};s()}getSourceForGlobalVariableExternal(e,t){if(!Array.isArray(e)){e=[e]}const n=e.map(e=>`[${JSON.stringify(e)}]`).join("");return`(function() { module.exports = ${t}${n}; }());`}getSourceForCommonJsExternal(e){if(!Array.isArray(e)){return`module.exports = require(${JSON.stringify(e)});`}const t=e[0];const n=e.slice(1).map(e=>`[${JSON.stringify(e)}]`).join("");return`module.exports = require(${JSON.stringify(t)})${n};`}checkExternalVariable(e,t){return`if(typeof ${e} === 'undefined') {${o.moduleCode(t)}}\n`}getSourceForAmdOrUmdExternal(e,t,n){const r=`__WEBPACK_EXTERNAL_MODULE_${a.toIdentifier(`${e}`)}__`;const s=t?this.checkExternalVariable(r,n):"";return`${s}module.exports = ${r};`}getSourceForDefaultCase(e,t){if(!Array.isArray(t)){t=[t]}const n=t[0];const r=e?this.checkExternalVariable(n,t.join(".")):"";const s=t.slice(1).map(e=>`[${JSON.stringify(e)}]`).join("");return`${r}module.exports = ${n}${s};`}getSourceString(e){const t=typeof this.request==="object"&&!Array.isArray(this.request)?this.request[this.externalType]:this.request;switch(this.externalType){case"this":case"window":case"self":return this.getSourceForGlobalVariableExternal(t,this.externalType);case"global":return this.getSourceForGlobalVariableExternal(t,e.outputOptions.globalObject);case"commonjs":case"commonjs2":return this.getSourceForCommonJsExternal(t);case"amd":case"amd-require":case"umd":case"umd2":case"system":return this.getSourceForAmdOrUmdExternal(this.id,this.optional,t);default:return this.getSourceForDefaultCase(this.optional,t)}}getSource(e){if(this.useSourceMap){return new r(e,this.identifier())}return new s(e)}source(e,t){return this.getSource(this.getSourceString(t))}size(){return 42}updateHash(e){e.update(this.externalType);e.update(JSON.stringify(this.request));e.update(JSON.stringify(Boolean(this.optional)));super.updateHash(e)}}e.exports=ExternalModule},82185:(e,t,n)=>{"use strict";const r=n(31287);class ExternalModuleFactoryPlugin{constructor(e,t){this.type=e;this.externals=t}apply(e){const t=this.type;e.hooks.factory.tap("ExternalModuleFactoryPlugin",e=>(n,s)=>{const i=n.context;const o=n.dependencies[0];const a=(s,i,a)=>{if(typeof i==="function"){a=i;i=undefined}if(s===false)return e(n,a);if(s===true)s=o.request;if(i===undefined&&/^[a-z0-9]+ /.test(s)){const e=s.indexOf(" ");i=s.substr(0,e);s=s.substr(e+1)}a(null,new r(s,i||t,o.request));return true};const c=(e,t)=>{if(typeof e==="string"){if(e===o.request){return a(o.request,t)}}else if(Array.isArray(e)){let n=0;const r=()=>{let s;const i=(e,n)=>{if(e)return t(e);if(!n){if(s){s=false;return}return r()}t(null,n)};do{s=true;if(n>=e.length)return t();c(e[n++],i)}while(!s);s=false};r();return}else if(e instanceof RegExp){if(e.test(o.request)){return a(o.request,t)}}else if(typeof e==="function"){e.call(null,i,o.request,(e,n,r)=>{if(e)return t(e);if(n!==undefined){a(n,r,t)}else{t()}});return}else if(typeof e==="object"&&Object.prototype.hasOwnProperty.call(e,o.request)){return a(e[o.request],t)}t()};c(this.externals,(e,t)=>{if(e)return s(e);if(!t)return a(false,s);return s(null,t)})})}}e.exports=ExternalModuleFactoryPlugin},2170:(e,t,n)=>{"use strict";const r=n(82185);class ExternalsPlugin{constructor(e,t){this.type=e;this.externals=t}apply(e){e.hooks.compile.tap("ExternalsPlugin",({normalModuleFactory:e})=>{new r(this.type,this.externals).apply(e)})}}e.exports=ExternalsPlugin},99843:e=>{"use strict";class FlagAllModulesAsUsedPlugin{constructor(e){this.explanation=e}apply(e){e.hooks.compilation.tap("FlagAllModulesAsUsedPlugin",e=>{e.hooks.optimizeDependencies.tap("FlagAllModulesAsUsedPlugin",e=>{for(const t of e){t.used=true;t.usedExports=true;t.addReason(null,null,this.explanation)}})})}}e.exports=FlagAllModulesAsUsedPlugin},41583:(e,t,n)=>{"use strict";const r=n(52141);const s=(e,t)=>{for(const n of t){e.add(n)}};class FlagDependencyExportsPlugin{apply(e){e.hooks.compilation.tap("FlagDependencyExportsPlugin",e=>{e.hooks.finishModules.tap("FlagDependencyExportsPlugin",e=>{const t=new Map;const n=new r;let i;let o;let a;let c;const l=e=>{for(const t of e.dependencies){if(u(t))return true}for(const t of e.variables){for(const e of t.dependencies){if(u(e))return true}}for(const t of e.blocks){if(l(t))return true}return false};const u=e=>{const n=e.getExports&&e.getExports();if(!n)return;o=true;const r=n.exports;if(i.buildMeta.providedExports===true){return true}if(r===true){i.buildMeta.providedExports=true;return true}if(Array.isArray(r)){s(a,r)}const l=n.dependencies;if(l){c=true;for(const e of l){const n=t.get(e);if(n===undefined){t.set(e,new Set([i]))}else{n.add(i)}}}return false};const f=()=>{const e=t.get(i);if(e!==undefined){for(const t of e){n.enqueue(t)}}};const p=(e,r)=>{const s=t.get(i);if(s!==undefined){if(e.size===r.length){let t=0;let n=false;for(const s of e){if(s!==r[t++]){n=true;break}}if(!n)return}for(const e of s){n.enqueue(e)}}};for(const t of e){if(t.buildInfo.temporaryProvidedExports){t.buildMeta.providedExports=null;n.enqueue(t)}else if(!t.buildMeta.providedExports){n.enqueue(t)}}while(n.length>0){i=n.dequeue();if(i.buildMeta.providedExports!==true){o=i.buildMeta&&i.buildMeta.exportsType;a=new Set;c=false;l(i);i.buildInfo.temporaryProvidedExports=c;if(!o){f();i.buildMeta.providedExports=true}else if(i.buildMeta.providedExports===true){f()}else if(!i.buildMeta.providedExports){f();i.buildMeta.providedExports=Array.from(a)}else{p(a,i.buildMeta.providedExports);i.buildMeta.providedExports=Array.from(a)}}}});const t=new WeakMap;e.hooks.rebuildModule.tap("FlagDependencyExportsPlugin",e=>{t.set(e,e.buildMeta.providedExports)});e.hooks.finishRebuildingModule.tap("FlagDependencyExportsPlugin",e=>{e.buildMeta.providedExports=t.get(e)})})}}e.exports=FlagDependencyExportsPlugin},42677:e=>{"use strict";const t=(e,t)=>{for(const n of t){if(!e.includes(n))e.push(n)}return e};const n=(e,t)=>{if(e===true)return true;if(t===true)return false;return t.every(t=>e.indexOf(t)>=0)};class FlagDependencyUsagePlugin{apply(e){e.hooks.compilation.tap("FlagDependencyUsagePlugin",e=>{e.hooks.optimizeDependencies.tap("FlagDependencyUsagePlugin",r=>{const s=(e,n)=>{e.used=true;if(e.usedExports===true)return;if(n===true){e.usedExports=true}else if(Array.isArray(n)){const r=e.usedExports?e.usedExports.length:-1;e.usedExports=t(e.usedExports||[],n);if(e.usedExports.length===r){return}}else if(Array.isArray(e.usedExports)){return}else{e.usedExports=false}if(e.factoryMeta.sideEffectFree){if(e.usedExports===false)return;if(Array.isArray(e.usedExports)&&e.usedExports.length===0)return}a.push([e,e,e.usedExports])};const i=(e,t,n)=>{for(const n of t.dependencies){o(e,n)}for(const n of t.variables){for(const t of n.dependencies){o(e,t)}}for(const r of t.blocks){a.push([e,r,n])}};const o=(t,r)=>{const i=e.getDependencyReference(t,r);if(!i)return;const o=i.module;const a=i.importedNames;const c=o.used;const l=o.usedExports;if(!c||a&&(!l||!n(l,a))){s(o,a)}};for(const e of r){if(!e.used)e.used=false}const a=[];for(const t of e._preparedEntrypoints){if(t.module){s(t.module,true)}}while(a.length){const e=a.pop();i(e[0],e[1],e[2])}})})}}e.exports=FlagDependencyUsagePlugin},5421:(e,t,n)=>{"use strict";const r=n(97667);class FunctionModulePlugin{apply(e){e.hooks.compilation.tap("FunctionModulePlugin",e=>{(new r).apply(e.moduleTemplates.javascript)})}}e.exports=FunctionModulePlugin},97667:(e,t,n)=>{"use strict";const{ConcatSource:r}=n(50932);const s=n(73720);class FunctionModuleTemplatePlugin{apply(e){e.hooks.render.tap("FunctionModuleTemplatePlugin",(e,t)=>{const n=new r;const s=[t.moduleArgument];if(t.type&&t.type.startsWith("javascript")){s.push(t.exportsArgument);if(t.hasDependencies(e=>e.requireWebpackRequire!==false)){s.push("__webpack_require__")}}else if(t.type&&t.type.startsWith("json")){}else{s.push(t.exportsArgument,"__webpack_require__")}n.add("/***/ (function("+s.join(", ")+") {\n\n");if(t.buildInfo.strict)n.add('"use strict";\n');n.add(e);n.add("\n\n/***/ })");return n});e.hooks.package.tap("FunctionModuleTemplatePlugin",(t,n)=>{if(e.runtimeTemplate.outputOptions.pathinfo){const i=new r;const o=n.readableIdentifier(e.runtimeTemplate.requestShortener);const a=o.replace(/\*\//g,"*_/");const c="*".repeat(a.length);i.add("/*!****"+c+"****!*\\\n");i.add(" !*** "+a+" ***!\n");i.add(" \\****"+c+"****/\n");if(Array.isArray(n.buildMeta.providedExports)&&n.buildMeta.providedExports.length===0){i.add(s.toComment("no exports provided")+"\n")}else if(Array.isArray(n.buildMeta.providedExports)){i.add(s.toComment("exports provided: "+n.buildMeta.providedExports.join(", "))+"\n")}else if(n.buildMeta.providedExports){i.add(s.toComment("no static exports found")+"\n")}if(Array.isArray(n.usedExports)&&n.usedExports.length===0){i.add(s.toComment("no exports used")+"\n")}else if(Array.isArray(n.usedExports)){i.add(s.toComment("exports used: "+n.usedExports.join(", "))+"\n")}else if(n.usedExports){i.add(s.toComment("all exports used")+"\n")}if(n.optimizationBailout){for(const t of n.optimizationBailout){let n;if(typeof t==="function"){n=t(e.runtimeTemplate.requestShortener)}else{n=t}i.add(s.toComment(`${n}`)+"\n")}}i.add(t);return i}return t});e.hooks.hash.tap("FunctionModuleTemplatePlugin",e=>{e.update("FunctionModuleTemplatePlugin");e.update("2")})}}e.exports=FunctionModuleTemplatePlugin},16212:e=>{"use strict";class Generator{static byType(e){return new ByTypeGenerator(e)}generate(e,t,n,r){throw new Error("Generator.generate: must be overridden")}}class ByTypeGenerator extends Generator{constructor(e){super();this.map=e}generate(e,t,n,r){const s=this.map[r];if(!s){throw new Error(`Generator.byType: no generator specified for ${r}`)}return s.generate(e,t,n,r)}}e.exports=Generator},43445:(e,t)=>{const n=(e,t)=>{if(e.pushChunk(t)){t.addGroup(e)}};const r=(e,t)=>{if(e.addChild(t)){t.addParent(e)}};const s=(e,t)=>{if(t.addChunk(e)){e.addModule(t)}};const i=(e,t)=>{e.removeModule(t);t.removeChunk(e)};const o=(e,t)=>{if(t.addBlock(e)){e.chunkGroup=t}};t.connectChunkGroupAndChunk=n;t.connectChunkGroupParentAndChild=r;t.connectChunkAndModule=s;t.disconnectChunkAndModule=i;t.connectDependenciesBlockAndChunkGroup=o},4325:(e,t,n)=>{"use strict";const r=n(1891);e.exports=class HarmonyLinkingError extends r{constructor(e){super(e);this.name="HarmonyLinkingError";this.hideStack=true;Error.captureStackTrace(this,this.constructor)}}},90640:(e,t,n)=>{"use strict";const r=n(57442);const s=n(33225);const i=n(45843);class HashedModuleIdsPlugin{constructor(e){if(!e)e={};s(i,e,"Hashed Module Ids Plugin");this.options=Object.assign({context:null,hashFunction:"md4",hashDigest:"base64",hashDigestLength:4},e)}apply(e){const t=this.options;e.hooks.compilation.tap("HashedModuleIdsPlugin",n=>{const s=new Set;n.hooks.beforeModuleIds.tap("HashedModuleIdsPlugin",n=>{for(const i of n){if(i.id===null&&i.libIdent){const n=i.libIdent({context:this.options.context||e.options.context});const o=r(t.hashFunction);o.update(n);const a=o.digest(t.hashDigest);let c=t.hashDigestLength;while(s.has(a.substr(0,c)))c++;i.id=a.substr(0,c);s.add(i.id)}}})})}}e.exports=HashedModuleIdsPlugin},95017:e=>{var t=undefined;var n=undefined;var r=undefined;var s=undefined;var i=undefined;var o=undefined;var a=undefined;var c=undefined;var l=undefined;e.exports=function(){var e=true;var u=t;var f=n;var p={};var d;var h=[];var m=[];function hotCreateRequire(e){var t=r[e];if(!t)return s;var n=function(n){if(t.hot.active){if(r[n]){if(r[n].parents.indexOf(e)===-1){r[n].parents.push(e)}}else{h=[e];d=n}if(t.children.indexOf(n)===-1){t.children.push(n)}}else{console.warn("[HMR] unexpected require("+n+") from disposed module "+e);h=[]}return s(n)};var i=function ObjectFactory(e){return{configurable:true,enumerable:true,get:function(){return s[e]},set:function(t){s[e]=t}}};for(var o in s){if(Object.prototype.hasOwnProperty.call(s,o)&&o!=="e"&&o!=="t"){Object.defineProperty(n,o,i(o))}}n.e=function(e){if(g==="ready")hotSetStatus("prepare");b++;return s.e(e).then(finishChunkLoading,function(e){finishChunkLoading();throw e});function finishChunkLoading(){b--;if(g==="prepare"){if(!w[e]){hotEnsureUpdateChunk(e)}if(b===0&&v===0){hotUpdateDownloaded()}}}};n.t=function(e,t){if(t&1)e=n(e);return s.t(e,t&~1)};return n}function hotCreateModule(e){var t={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:false,_selfDeclined:false,_selfInvalidated:false,_disposeHandlers:[],_main:d!==e,active:true,accept:function(e,n){if(e===undefined)t._selfAccepted=true;else if(typeof e==="function")t._selfAccepted=e;else if(typeof e==="object")for(var r=0;r=0)t._disposeHandlers.splice(n,1)},invalidate:function(){this._selfInvalidated=true;switch(g){case"idle":E={};E[e]=c[e];hotSetStatus("ready");break;case"ready":hotApplyInvalidatedModule(e);break;case"prepare":case"check":case"dispose":case"apply":(C=C||[]).push(e);break;default:break}},check:hotCheck,apply:hotApply,status:function(e){if(!e)return g;y.push(e)},addStatusHandler:function(e){y.push(e)},removeStatusHandler:function(e){var t=y.indexOf(e);if(t>=0)y.splice(t,1)},data:p[e]};d=undefined;return t}var y=[];var g="idle";function hotSetStatus(e){g=e;for(var t=0;t0){var i=s.pop();var a=i.id;var c=i.chain;o=r[a];if(!o||o.hot._selfAccepted&&!o.hot._selfInvalidated)continue;if(o.hot._selfDeclined){return{type:"self-declined",chain:c,moduleId:a}}if(o.hot._main){return{type:"unaccepted",chain:c,moduleId:a}}for(var l=0;l ")}switch(b.type){case"self-declined":if(e.onDeclined)e.onDeclined(b);if(!e.ignoreDeclined)w=new Error("Aborted because of self decline: "+b.moduleId+M);break;case"declined":if(e.onDeclined)e.onDeclined(b);if(!e.ignoreDeclined)w=new Error("Aborted because of declined dependency: "+b.moduleId+" in "+b.parentId+M);break;case"unaccepted":if(e.onUnaccepted)e.onUnaccepted(b);if(!e.ignoreUnaccepted)w=new Error("Aborted because "+l+" is not accepted"+M);break;case"accepted":if(e.onAccepted)e.onAccepted(b);k=true;break;case"disposed":if(e.onDisposed)e.onDisposed(b);S=true;break;default:throw new Error("Unexception type "+b.type)}if(w){hotSetStatus("abort");return Promise.reject(w)}if(k){y[l]=E[l];addAllToSet(m,b.outdatedModules);for(l in b.outdatedDependencies){if(Object.prototype.hasOwnProperty.call(b.outdatedDependencies,l)){if(!f[l])f[l]=[];addAllToSet(f[l],b.outdatedDependencies[l])}}}if(S){addAllToSet(m,[b.moduleId]);y[l]=g}}}var A=[];for(n=0;n0){l=T.pop();o=r[l];if(!o)continue;var R={};var j=o.hot._disposeHandlers;for(i=0;i=0){F.parents.splice(I,1)}}}var N;var D;for(l in f){if(Object.prototype.hasOwnProperty.call(f,l)){o=r[l];if(o){D=f[l];for(i=0;i=0)o.children.splice(I,1)}}}}hotSetStatus("apply");if(O!==undefined){u=O;O=undefined}E=undefined;for(l in y){if(Object.prototype.hasOwnProperty.call(y,l)){c[l]=y[l]}}var P=null;for(l in f){if(Object.prototype.hasOwnProperty.call(f,l)){o=r[l];if(o){D=f[l];var L=[];for(n=0;n{"use strict";const{SyncBailHook:r}=n(41242);const{RawSource:s}=n(50932);const i=n(73720);const o=n(11282);const a=n(46232);const c=n(53119);const l=n(47742);const u=n(77466);e.exports=class HotModuleReplacementPlugin{constructor(e){this.options=e||{};this.multiStep=this.options.multiStep;this.fullBuildTimeout=this.options.fullBuildTimeout||200;this.requestTimeout=this.options.requestTimeout||1e4}apply(e){const t=this.multiStep;const n=this.fullBuildTimeout;const p=this.requestTimeout;const d=e.options.output.hotUpdateChunkFilename;const h=e.options.output.hotUpdateMainFilename;e.hooks.additionalPass.tapAsync("HotModuleReplacementPlugin",e=>{if(t)return setTimeout(e,n);return e()});const m=(e,t)=>{e.hooks.expression.for("__webpack_hash__").tap("HotModuleReplacementPlugin",u.toConstantDependencyWithWebpackRequire(e,"__webpack_require__.h()"));e.hooks.evaluateTypeof.for("__webpack_hash__").tap("HotModuleReplacementPlugin",u.evaluateToString("string"));e.hooks.evaluateIdentifier.for("module.hot").tap({name:"HotModuleReplacementPlugin",before:"NodeStuffPlugin"},t=>{return u.evaluateToIdentifier("module.hot",!!e.state.compilation.hotUpdateChunkTemplate)(t)});if(!e.hooks.hotAcceptCallback){e.hooks.hotAcceptCallback=new r(["expression","requests"])}if(!e.hooks.hotAcceptWithoutCallback){e.hooks.hotAcceptWithoutCallback=new r(["expression","requests"])}e.hooks.call.for("module.hot.accept").tap("HotModuleReplacementPlugin",t=>{if(!e.state.compilation.hotUpdateChunkTemplate){return false}if(t.arguments.length>=1){const n=e.evaluateExpression(t.arguments[0]);let r=[];let s=[];if(n.isString()){r=[n]}else if(n.isArray()){r=n.items.filter(e=>e.isString())}if(r.length>0){r.forEach((n,r)=>{const i=n.string;const a=new o(i,n.range);a.optional=true;a.loc=Object.create(t.loc);a.loc.index=r;e.state.module.addDependency(a);s.push(i)});if(t.arguments.length>1){e.hooks.hotAcceptCallback.call(t.arguments[1],s);e.walkExpression(t.arguments[1]);return true}else{e.hooks.hotAcceptWithoutCallback.call(t,s);return true}}}});e.hooks.call.for("module.hot.decline").tap("HotModuleReplacementPlugin",t=>{if(!e.state.compilation.hotUpdateChunkTemplate){return false}if(t.arguments.length===1){const n=e.evaluateExpression(t.arguments[0]);let r=[];if(n.isString()){r=[n]}else if(n.isArray()){r=n.items.filter(e=>e.isString())}r.forEach((n,r)=>{const s=new a(n.string,n.range);s.optional=true;s.loc=Object.create(t.loc);s.loc.index=r;e.state.module.addDependency(s)})}});e.hooks.expression.for("module.hot").tap("HotModuleReplacementPlugin",u.skipTraversal)};e.hooks.compilation.tap("HotModuleReplacementPlugin",(n,{normalModuleFactory:r})=>{if(n.compiler!==e)return;const u=n.hotUpdateChunkTemplate;if(!u)return;n.dependencyFactories.set(c,new l);n.dependencyTemplates.set(c,new c.Template);n.dependencyFactories.set(o,r);n.dependencyTemplates.set(o,new o.Template);n.dependencyFactories.set(a,r);n.dependencyTemplates.set(a,new a.Template);n.hooks.record.tap("HotModuleReplacementPlugin",(e,t)=>{if(t.hash===e.hash)return;t.hash=e.hash;t.moduleHashs={};for(const n of e.modules){const e=n.identifier();t.moduleHashs[e]=n.hash}t.chunkHashs={};for(const n of e.chunks){t.chunkHashs[n.id]=n.hash}t.chunkModuleIds={};for(const n of e.chunks){t.chunkModuleIds[n.id]=Array.from(n.modulesIterable,e=>e.id)}});let y=false;let g=false;n.hooks.afterHash.tap("HotModuleReplacementPlugin",()=>{let e=n.records;if(!e){y=true;return}if(!e.hash)y=true;const t=e.preHash||"x";const r=e.prepreHash||"x";if(t===n.hash){g=true;n.modifyHash(r);return}e.prepreHash=e.hash||"x";e.preHash=n.hash;n.modifyHash(e.prepreHash)});n.hooks.shouldGenerateChunkAssets.tap("HotModuleReplacementPlugin",()=>{if(t&&!g&&!y)return false});n.hooks.needAdditionalPass.tap("HotModuleReplacementPlugin",()=>{if(t&&!g&&!y)return true});n.hooks.additionalChunkAssets.tap("HotModuleReplacementPlugin",()=>{const e=n.records;if(e.hash===n.hash)return;if(!e.moduleHashs||!e.chunkHashs||!e.chunkModuleIds)return;for(const t of n.modules){const n=t.identifier();let r=t.hash;t.hotUpdate=e.moduleHashs[n]!==r}const t={h:n.hash,c:{}};for(const r of Object.keys(e.chunkHashs)){const s=isNaN(+r)?r:+r;const i=n.chunks.find(e=>`${e.id}`===r);if(i){const r=i.getModules().filter(e=>e.hotUpdate);const o=new Set;for(const e of i.modulesIterable){o.add(e.id)}const a=e.chunkModuleIds[s].filter(e=>!o.has(e));if(r.length>0||a.length>0){const o=u.render(s,r,a,n.hash,n.moduleTemplates.javascript,n.dependencyTemplates);const{path:c,info:l}=n.getPathWithInfo(d,{hash:e.hash,chunk:i});n.additionalChunkAssets.push(c);n.emitAsset(c,o,Object.assign({hotModuleReplacement:true},l));t.c[s]=true;i.files.push(c);n.hooks.chunkAsset.call(i,c)}}else{t.c[s]=false}}const r=new s(JSON.stringify(t));const{path:i,info:o}=n.getPathWithInfo(h,{hash:e.hash});n.emitAsset(i,r,Object.assign({hotModuleReplacement:true},o))});const v=n.mainTemplate;v.hooks.hash.tap("HotModuleReplacementPlugin",e=>{e.update("HotMainTemplateDecorator")});v.hooks.moduleRequire.tap("HotModuleReplacementPlugin",(e,t,n,r)=>{return`hotCreateRequire(${r})`});v.hooks.requireExtensions.tap("HotModuleReplacementPlugin",e=>{const t=[e];t.push("");t.push("// __webpack_hash__");t.push(v.requireFn+".h = function() { return hotCurrentHash; };");return i.asString(t)});const b=e=>{for(const t of e.groupsIterable){if(t.chunks.length>1)return true;if(t.getNumberOfChildren()>0)return true}return false};v.hooks.bootstrap.tap("HotModuleReplacementPlugin",(e,t,n)=>{e=v.hooks.hotBootstrap.call(e,t,n);return i.asString([e,"",f.replace(/\$require\$/g,v.requireFn).replace(/\$hash\$/g,JSON.stringify(n)).replace(/\$requestTimeout\$/g,p).replace(/\/\*foreachInstalledChunks\*\//g,b(t)?"for(var chunkId in installedChunks)":`var chunkId = ${JSON.stringify(t.id)};`)])});v.hooks.globalHash.tap("HotModuleReplacementPlugin",()=>true);v.hooks.currentHash.tap("HotModuleReplacementPlugin",(e,t)=>{if(isFinite(t)){return`hotCurrentHash.substr(0, ${t})`}else{return"hotCurrentHash"}});v.hooks.moduleObj.tap("HotModuleReplacementPlugin",(e,t,n,r)=>{return i.asString([`${e},`,`hot: hotCreateModule(${r}),`,"parents: (hotCurrentParentsTemp = hotCurrentParents, hotCurrentParents = [], hotCurrentParentsTemp),","children: []"])});r.hooks.parser.for("javascript/auto").tap("HotModuleReplacementPlugin",m);r.hooks.parser.for("javascript/dynamic").tap("HotModuleReplacementPlugin",m);n.hooks.normalModuleLoader.tap("HotModuleReplacementPlugin",e=>{e.hot=true})})}};const f=i.getFunctionContent(n(95017))},36346:(e,t,n)=>{"use strict";const r=n(54029);class HotUpdateChunk extends r{constructor(){super();this.removedModules=undefined}}e.exports=HotUpdateChunk},8008:(e,t,n)=>{"use strict";const r=n(73720);const s=n(36346);const{Tapable:i,SyncWaterfallHook:o,SyncHook:a}=n(41242);e.exports=class HotUpdateChunkTemplate extends i{constructor(e){super();this.outputOptions=e||{};this.hooks={modules:new o(["source","modules","removedModules","moduleTemplate","dependencyTemplates"]),render:new o(["source","modules","removedModules","hash","id","moduleTemplate","dependencyTemplates"]),hash:new a(["hash"])}}render(e,t,n,i,o,a){const c=new s;c.id=e;c.setModules(t);c.removedModules=n;const l=r.renderChunkModules(c,e=>typeof e.source==="function",o,a);const u=this.hooks.modules.call(l,t,n,o,a);const f=this.hooks.render.call(u,t,n,i,e,o,a);return f}updateHash(e){e.update("HotUpdateChunkTemplate");e.update("1");this.hooks.hash.call(e)}}},40922:(e,t,n)=>{"use strict";const r=n(33225);const s=n(69667);class IgnorePlugin{constructor(e){if(arguments.length>1||e instanceof RegExp){e={resourceRegExp:arguments[0],contextRegExp:arguments[1]}}r(s,e,"IgnorePlugin");this.options=e;this.checkIgnore=this.checkIgnore.bind(this)}checkIgnore(e){if(!e)return e;if("checkResource"in this.options&&this.options.checkResource&&this.options.checkResource(e.request,e.context)){if("checkContext"in this.options&&this.options.checkContext){if(this.options.checkContext(e.context)){return null}}else{return null}}if("resourceRegExp"in this.options&&this.options.resourceRegExp&&this.options.resourceRegExp.test(e.request)){if("contextRegExp"in this.options&&this.options.contextRegExp){if(this.options.contextRegExp.test(e.context)){return null}}else{return null}}return e}apply(e){e.hooks.normalModuleFactory.tap("IgnorePlugin",e=>{e.hooks.beforeResolve.tap("IgnorePlugin",this.checkIgnore)});e.hooks.contextModuleFactory.tap("IgnorePlugin",e=>{e.hooks.beforeResolve.tap("IgnorePlugin",this.checkIgnore)})}}e.exports=IgnorePlugin},72435:(e,t,n)=>{"use strict";const{RawSource:r,ReplaceSource:s}=n(50932);class JavascriptGenerator{generate(e,t,n){const i=e.originalSource();if(!i){return new r("throw new Error('No source available');")}const o=new s(i);this.sourceBlock(e,e,[],t,o,n);return o}sourceBlock(e,t,n,r,s,i){for(const e of t.dependencies){this.sourceDependency(e,r,s,i)}const o=t.variables.reduce((e,t)=>{const s=this.sourceVariables(t,n,r,i);if(s){e.push(s)}return e},[]);if(o.length>0){const n=this.splitVariablesInUniqueNamedChunks(o);const r=n.map(e=>{return this.variableInjectionFunctionWrapperStartCode(e.map(e=>e.name))});const i=n.map(n=>{return this.variableInjectionFunctionWrapperEndCode(e,n.map(e=>e.expression),t)});const a=r.join("");const c=i.reverse().join("");if(a&&c){const n=t.range?t.range[0]:-10;const r=t.range?t.range[1]:e.originalSource().size()+1;s.insert(n+.5,a);s.insert(r+.5,"\n/* WEBPACK VAR INJECTION */"+c)}}for(const a of t.blocks){this.sourceBlock(e,a,n.concat(o),r,s,i)}}sourceDependency(e,t,n,r){const s=t.get(e.constructor);if(!s){throw new Error("No template for dependency: "+e.constructor.name)}s.apply(e,n,r,t)}sourceVariables(e,t,n,r){const s=e.name;const i=e.expressionSource(n,r);if(t.some(e=>e.name===s&&e.expression.source()===i.source())){return}return{name:s,expression:i}}variableInjectionFunctionWrapperStartCode(e){const t=e.join(", ");return`/* WEBPACK VAR INJECTION */(function(${t}) {`}contextArgument(e,t){if(this===t){return e.exportsArgument}return"this"}variableInjectionFunctionWrapperEndCode(e,t,n){const r=this.contextArgument(e,n);const s=t.map(e=>e.source()).join(", ");return`}.call(${r}, ${s}))`}splitVariablesInUniqueNamedChunks(e){const t=[[]];return e.reduce((e,t)=>{const n=e[e.length-1];const r=n.some(e=>e.name===t.name);if(r){e.push([t])}else{n.push(t)}return e},t)}}e.exports=JavascriptGenerator},29466:(e,t,n)=>{"use strict";const r=n(42515);const s=n(73720);const{ConcatSource:i}=n(50932);const o=n(72435);const a=n(57442);class JavascriptModulesPlugin{apply(e){e.hooks.compilation.tap("JavascriptModulesPlugin",(e,{normalModuleFactory:t})=>{t.hooks.createParser.for("javascript/auto").tap("JavascriptModulesPlugin",e=>{return new r(e,"auto")});t.hooks.createParser.for("javascript/dynamic").tap("JavascriptModulesPlugin",e=>{return new r(e,"script")});t.hooks.createParser.for("javascript/esm").tap("JavascriptModulesPlugin",e=>{return new r(e,"module")});t.hooks.createGenerator.for("javascript/auto").tap("JavascriptModulesPlugin",()=>{return new o});t.hooks.createGenerator.for("javascript/dynamic").tap("JavascriptModulesPlugin",()=>{return new o});t.hooks.createGenerator.for("javascript/esm").tap("JavascriptModulesPlugin",()=>{return new o});e.mainTemplate.hooks.renderManifest.tap("JavascriptModulesPlugin",(t,n)=>{const r=n.chunk;const s=n.hash;const i=n.fullHash;const o=n.outputOptions;const a=n.moduleTemplates;const c=n.dependencyTemplates;const l=r.filenameTemplate||o.filename;const u=e.mainTemplate.useChunkHash(r);t.push({render:()=>e.mainTemplate.render(s,r,a.javascript,c),filenameTemplate:l,pathOptions:{noChunkHash:!u,contentHashType:"javascript",chunk:r},identifier:`chunk${r.id}`,hash:u?r.hash:i});return t});e.mainTemplate.hooks.modules.tap("JavascriptModulesPlugin",(e,t,n,r,i)=>{return s.renderChunkModules(t,e=>typeof e.source==="function",r,i,"/******/ ")});e.chunkTemplate.hooks.renderManifest.tap("JavascriptModulesPlugin",(t,n)=>{const r=n.chunk;const s=n.outputOptions;const i=n.moduleTemplates;const o=n.dependencyTemplates;const a=r.filenameTemplate||s.chunkFilename;t.push({render:()=>this.renderJavascript(e.chunkTemplate,r,i.javascript,o),filenameTemplate:a,pathOptions:{chunk:r,contentHashType:"javascript"},identifier:`chunk${r.id}`,hash:r.hash});return t});e.hooks.contentHash.tap("JavascriptModulesPlugin",t=>{const n=e.outputOptions;const{hashSalt:r,hashDigest:s,hashDigestLength:i,hashFunction:o}=n;const c=a(o);if(r)c.update(r);const l=t.hasRuntime()?e.mainTemplate:e.chunkTemplate;c.update(`${t.id} `);c.update(t.ids?t.ids.join(","):"");l.updateHashForChunk(c,t,e.moduleTemplates.javascript,e.dependencyTemplates);for(const e of t.modulesIterable){if(typeof e.source==="function"){c.update(e.hash)}}const u=c.digest(s);t.contentHash.javascript=u.substr(0,i)})})}renderJavascript(e,t,n,r){const o=s.renderChunkModules(t,e=>typeof e.source==="function",n,r);const a=e.hooks.modules.call(o,t,n,r);let c=e.hooks.render.call(a,t,n,r);if(t.hasEntryModule()){c=e.hooks.renderWithEntry.call(c,t)}t.rendered=true;return new i(c,";")}}e.exports=JavascriptModulesPlugin},30755:(e,t,n)=>{"use strict";const{ConcatSource:r,RawSource:s}=n(50932);const i=e=>{const t=JSON.stringify(e);if(!t){return undefined}return t.replace(/\u2028|\u2029/g,e=>e==="\u2029"?"\\u2029":"\\u2028")};class JsonGenerator{generate(e,t,n){const o=new r;const a=e.buildInfo.jsonData;if(a===undefined){return new s(n.missingModuleStatement({request:e.rawRequest}))}let c;if(Array.isArray(e.buildMeta.providedExports)&&!e.isUsed("default")){const t={};for(const n of e.buildMeta.providedExports){if(n==="default")continue;const r=e.isUsed(n);if(r){t[r]=a[n]}}c=t}else{c=a}const l=JSON.stringify(i(c));const u=`JSON.parse(${l})`;o.add(`${e.moduleArgument}.exports = ${u};`);return o}}e.exports=JsonGenerator},18666:(e,t,n)=>{"use strict";const r=n(25420);const s=n(30755);class JsonModulesPlugin{apply(e){e.hooks.compilation.tap("JsonModulesPlugin",(e,{normalModuleFactory:t})=>{t.hooks.createParser.for("json").tap("JsonModulesPlugin",()=>{return new r});t.hooks.createGenerator.for("json").tap("JsonModulesPlugin",()=>{return new s})})}}e.exports=JsonModulesPlugin},25420:(e,t,n)=>{"use strict";const r=n(15235);const s=n(94765);class JsonParser{constructor(e){this.options=e}parse(e,t){const n=r(e[0]==="\ufeff"?e.slice(1):e);t.module.buildInfo.jsonData=n;t.module.buildMeta.exportsType="named";if(typeof n==="object"&&n){t.module.addDependency(new s(Object.keys(n)))}t.module.addDependency(new s(["default"]));return t}}e.exports=JsonParser},17177:(e,t,n)=>{"use strict";const r=n(85622);const s=n(36386);const i=n(44785);class LibManifestPlugin{constructor(e){this.options=e}apply(e){e.hooks.emit.tapAsync("LibManifestPlugin",(t,n)=>{s.forEach(t.chunks,(n,s)=>{if(!n.isOnlyInitial()){s();return}const o=t.getPath(this.options.path,{hash:t.hash,chunk:n});const a=this.options.name&&t.getPath(this.options.name,{hash:t.hash,chunk:n});const c={name:a,type:this.options.type,content:Array.from(n.modulesIterable,t=>{if(this.options.entryOnly&&!t.reasons.some(e=>e.dependency instanceof i)){return}if(t.libIdent){const n=t.libIdent({context:this.options.context||e.options.context});if(n){return{ident:n,data:{id:t.id,buildMeta:t.buildMeta}}}}}).filter(Boolean).reduce((e,t)=>{e[t.ident]=t.data;return e},Object.create(null))};const l=this.options.format?JSON.stringify(c,null,2):JSON.stringify(c);const u=Buffer.from(l,"utf8");e.outputFileSystem.mkdirp(r.dirname(o),t=>{if(t)return s(t);e.outputFileSystem.writeFile(o,u,s)})},n)})}}e.exports=LibManifestPlugin},6081:(e,t,n)=>{"use strict";const r=n(75474);const s=e=>{return e.map(e=>`[${JSON.stringify(e)}]`).join("")};const i=(e,t,n,r="; ")=>{const i=typeof t==="object"&&!Array.isArray(t)?t[n]:t;const o=Array.isArray(i)?i:[i];return o.map((t,n)=>{const r=e?e+s(o.slice(0,n+1)):o[0]+s(o.slice(1,n+1));if(n===o.length-1)return r;if(n===0&&e===undefined){return`${r} = typeof ${r} === "object" ? ${r} : {}`}return`${r} = ${r} || {}`}).join(r)};class LibraryTemplatePlugin{constructor(e,t,n,r,s){this.name=e;this.target=t;this.umdNamedDefine=n;this.auxiliaryComment=r;this.exportProperty=s}apply(e){e.hooks.thisCompilation.tap("LibraryTemplatePlugin",e=>{if(this.exportProperty){const t=n(93146);new t(this.exportProperty).apply(e)}switch(this.target){case"var":if(!this.name||typeof this.name==="object"&&!Array.isArray(this.name)){throw new Error("library name must be set and not an UMD custom object for non-UMD target")}new r(`var ${i(undefined,this.name,"root")}`,false).apply(e);break;case"assign":new r(i(undefined,this.name,"root"),false).apply(e);break;case"this":case"self":case"window":if(this.name){new r(i(this.target,this.name,"root"),false).apply(e)}else{new r(this.target,true).apply(e)}break;case"global":if(this.name){new r(i(e.runtimeTemplate.outputOptions.globalObject,this.name,"root"),false).apply(e)}else{new r(e.runtimeTemplate.outputOptions.globalObject,true).apply(e)}break;case"commonjs":if(this.name){new r(i("exports",this.name,"commonjs"),false).apply(e)}else{new r("exports",true).apply(e)}break;case"commonjs2":case"commonjs-module":new r("module.exports",false).apply(e);break;case"amd":case"amd-require":{const t=n(60012);if(this.name&&typeof this.name!=="string"){throw new Error("library name must be a string for amd target")}new t({name:this.name,requireAsWrapper:this.target==="amd-require"}).apply(e);break}case"umd":case"umd2":{const t=n(53978);new t(this.name,{optionalAmdExternalAsGlobal:this.target==="umd2",namedDefine:this.umdNamedDefine,auxiliaryComment:this.auxiliaryComment}).apply(e);break}case"jsonp":{const t=n(43760);if(typeof this.name!=="string")throw new Error("library name must be a string for jsonp target");new t(this.name).apply(e);break}case"system":{const t=n(28012);new t({name:this.name}).apply(e);break}default:throw new Error(`${this.target} is not a valid Library target`)}})}}e.exports=LibraryTemplatePlugin},39062:(e,t,n)=>{"use strict";const r=n(74491);const s=n(33225);const i=n(4994);class LoaderOptionsPlugin{constructor(e){s(i,e||{},"Loader Options Plugin");if(typeof e!=="object")e={};if(!e.test){e.test={test:()=>true}}this.options=e}apply(e){const t=this.options;e.hooks.compilation.tap("LoaderOptionsPlugin",e=>{e.hooks.normalModuleLoader.tap("LoaderOptionsPlugin",(e,n)=>{const s=n.resource;if(!s)return;const i=s.indexOf("?");if(r.matchObject(t,i<0?s:s.substr(0,i))){for(const n of Object.keys(t)){if(n==="include"||n==="exclude"||n==="test"){continue}e[n]=t[n]}}})})}}e.exports=LoaderOptionsPlugin},64951:e=>{"use strict";class LoaderTargetPlugin{constructor(e){this.target=e}apply(e){e.hooks.compilation.tap("LoaderTargetPlugin",e=>{e.hooks.normalModuleLoader.tap("LoaderTargetPlugin",e=>{e.target=this.target})})}}e.exports=LoaderTargetPlugin},20024:(e,t,n)=>{"use strict";const{ConcatSource:r,OriginalSource:s,PrefixSource:i,RawSource:o}=n(50932);const{Tapable:a,SyncWaterfallHook:c,SyncHook:l,SyncBailHook:u}=n(41242);const f=n(73720);e.exports=class MainTemplate extends a{constructor(e){super();this.outputOptions=e||{};this.hooks={renderManifest:new c(["result","options"]),modules:new c(["modules","chunk","hash","moduleTemplate","dependencyTemplates"]),moduleObj:new c(["source","chunk","hash","moduleIdExpression"]),requireEnsure:new c(["source","chunk","hash","chunkIdExpression"]),bootstrap:new c(["source","chunk","hash","moduleTemplate","dependencyTemplates"]),localVars:new c(["source","chunk","hash"]),require:new c(["source","chunk","hash"]),requireExtensions:new c(["source","chunk","hash"]),beforeStartup:new c(["source","chunk","hash"]),startup:new c(["source","chunk","hash"]),afterStartup:new c(["source","chunk","hash"]),render:new c(["source","chunk","hash","moduleTemplate","dependencyTemplates"]),renderWithEntry:new c(["source","chunk","hash"]),moduleRequire:new c(["source","chunk","hash","moduleIdExpression"]),addModule:new c(["source","chunk","hash","moduleIdExpression","moduleExpression"]),currentHash:new c(["source","requestedLength"]),assetPath:new c(["path","options","assetInfo"]),hash:new l(["hash"]),hashForChunk:new l(["hash","chunk"]),globalHashPaths:new c(["paths"]),globalHash:new u(["chunk","paths"]),hotBootstrap:new c(["source","chunk","hash"])};this.hooks.startup.tap("MainTemplate",(e,t,n)=>{const r=[];if(t.entryModule){r.push("// Load entry module and return exports");r.push(`return ${this.renderRequireFunctionForModule(n,t,JSON.stringify(t.entryModule.id))}(${this.requireFn}.s = ${JSON.stringify(t.entryModule.id)});`)}return f.asString(r)});this.hooks.render.tap("MainTemplate",(e,t,n,s,a)=>{const c=new r;c.add("/******/ (function(modules) { // webpackBootstrap\n");c.add(new i("/******/",e));c.add("/******/ })\n");c.add("/************************************************************************/\n");c.add("/******/ (");c.add(this.hooks.modules.call(new o(""),t,n,s,a));c.add(")");return c});this.hooks.localVars.tap("MainTemplate",(e,t,n)=>{return f.asString([e,"// The module cache","var installedModules = {};"])});this.hooks.require.tap("MainTemplate",(t,n,r)=>{return f.asString([t,"// Check if module is in cache","if(installedModules[moduleId]) {",f.indent("return installedModules[moduleId].exports;"),"}","// Create a new module (and put it into the cache)","var module = installedModules[moduleId] = {",f.indent(this.hooks.moduleObj.call("",n,r,"moduleId")),"};","",f.asString(e.strictModuleExceptionHandling?["// Execute the module function","var threw = true;","try {",f.indent([`modules[moduleId].call(module.exports, module, module.exports, ${this.renderRequireFunctionForModule(r,n,"moduleId")});`,"threw = false;"]),"} finally {",f.indent(["if(threw) delete installedModules[moduleId];"]),"}"]:["// Execute the module function",`modules[moduleId].call(module.exports, module, module.exports, ${this.renderRequireFunctionForModule(r,n,"moduleId")});`]),"","// Flag the module as loaded","module.l = true;","","// Return the exports of the module","return module.exports;"])});this.hooks.moduleObj.tap("MainTemplate",(e,t,n,r)=>{return f.asString(["i: moduleId,","l: false,","exports: {}"])});this.hooks.requireExtensions.tap("MainTemplate",(e,t,n)=>{const r=[];const s=t.getChunkMaps();if(Object.keys(s.hash).length){r.push("// This file contains only the entry chunk.");r.push("// The chunk loading function for additional chunks");r.push(`${this.requireFn}.e = function requireEnsure(chunkId) {`);r.push(f.indent("var promises = [];"));r.push(f.indent(this.hooks.requireEnsure.call("",t,n,"chunkId")));r.push(f.indent("return Promise.all(promises);"));r.push("};")}else if(t.hasModuleInGraph(e=>e.blocks.some(e=>e.chunkGroup&&e.chunkGroup.chunks.length>0))){r.push("// The chunk loading function for additional chunks");r.push("// Since all referenced chunks are already included");r.push("// in this file, this function is empty here.");r.push(`${this.requireFn}.e = function requireEnsure() {`);r.push(f.indent("return Promise.resolve();"));r.push("};")}r.push("");r.push("// expose the modules object (__webpack_modules__)");r.push(`${this.requireFn}.m = modules;`);r.push("");r.push("// expose the module cache");r.push(`${this.requireFn}.c = installedModules;`);r.push("");r.push("// define getter function for harmony exports");r.push(`${this.requireFn}.d = function(exports, name, getter) {`);r.push(f.indent([`if(!${this.requireFn}.o(exports, name)) {`,f.indent(["Object.defineProperty(exports, name, { enumerable: true, get: getter });"]),"}"]));r.push("};");r.push("");r.push("// define __esModule on exports");r.push(`${this.requireFn}.r = function(exports) {`);r.push(f.indent(["if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {",f.indent(["Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });"]),"}","Object.defineProperty(exports, '__esModule', { value: true });"]));r.push("};");r.push("");r.push("// create a fake namespace object");r.push("// mode & 1: value is a module id, require it");r.push("// mode & 2: merge all properties of value into the ns");r.push("// mode & 4: return value when already ns object");r.push("// mode & 8|1: behave like require");r.push(`${this.requireFn}.t = function(value, mode) {`);r.push(f.indent([`if(mode & 1) value = ${this.requireFn}(value);`,`if(mode & 8) return value;`,"if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;","var ns = Object.create(null);",`${this.requireFn}.r(ns);`,"Object.defineProperty(ns, 'default', { enumerable: true, value: value });","if(mode & 2 && typeof value != 'string') for(var key in value) "+`${this.requireFn}.d(ns, key, function(key) { `+"return value[key]; "+"}.bind(null, key));","return ns;"]));r.push("};");r.push("");r.push("// getDefaultExport function for compatibility with non-harmony modules");r.push(this.requireFn+".n = function(module) {");r.push(f.indent(["var getter = module && module.__esModule ?",f.indent(["function getDefault() { return module['default']; } :","function getModuleExports() { return module; };"]),`${this.requireFn}.d(getter, 'a', getter);`,"return getter;"]));r.push("};");r.push("");r.push("// Object.prototype.hasOwnProperty.call");r.push(`${this.requireFn}.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };`);const i=this.getPublicPath({hash:n});r.push("");r.push("// __webpack_public_path__");r.push(`${this.requireFn}.p = ${JSON.stringify(i)};`);return f.asString(r)});this.requireFn="__webpack_require__"}getRenderManifest(e){const t=[];this.hooks.renderManifest.call(t,e);return t}renderBootstrap(e,t,n,r){const s=[];s.push(this.hooks.bootstrap.call("",t,e,n,r));s.push(this.hooks.localVars.call("",t,e));s.push("");s.push("// The require function");s.push(`function ${this.requireFn}(moduleId) {`);s.push(f.indent(this.hooks.require.call("",t,e)));s.push("}");s.push("");s.push(f.asString(this.hooks.requireExtensions.call("",t,e)));s.push("");s.push(f.asString(this.hooks.beforeStartup.call("",t,e)));const i=f.asString(this.hooks.afterStartup.call("",t,e));if(i){s.push("var startupResult = (function() {")}s.push(f.asString(this.hooks.startup.call("",t,e)));if(i){s.push("})();");s.push(i);s.push("return startupResult;")}return s}render(e,t,n,i){const o=this.renderBootstrap(e,t,n,i);let a=this.hooks.render.call(new s(f.prefix(o," \t")+"\n","webpack/bootstrap"),t,e,n,i);if(t.hasEntryModule()){a=this.hooks.renderWithEntry.call(a,t,e)}if(!a){throw new Error("Compiler error: MainTemplate plugin 'render' should return something")}t.rendered=true;return new r(a,";")}renderRequireFunctionForModule(e,t,n){return this.hooks.moduleRequire.call(this.requireFn,t,e,n)}renderAddModule(e,t,n,r){return this.hooks.addModule.call(`modules[${n}] = ${r};`,t,e,n,r)}renderCurrentHashCode(e,t){t=t||Infinity;return this.hooks.currentHash.call(JSON.stringify(e.substr(0,t)),t)}getPublicPath(e){return this.hooks.assetPath.call(this.outputOptions.publicPath||"",e)}getAssetPath(e,t){return this.hooks.assetPath.call(e,t)}getAssetPathWithInfo(e,t){const n={};const r=this.hooks.assetPath.call(e,t,n);return{path:r,info:n}}updateHash(e){e.update("maintemplate");e.update("3");this.hooks.hash.call(e)}updateHashForChunk(e,t,n,r){this.updateHash(e);this.hooks.hashForChunk.call(e,t);for(const s of this.renderBootstrap("0000",t,n,r)){e.update(s)}}useChunkHash(e){const t=this.hooks.globalHashPaths.call([]);return!this.hooks.globalHash.call(e,t)}}},15761:(e,t,n)=>{e.exports=n(82414)},3285:(e,t,n)=>{"use strict";const r=n(31669);const s=n(24796);const i=n(83689);const o=n(33875);const a=n(73720);const c={};let l=1e3;const u=(e,t)=>{return e.id-t.id};const f=(e,t)=>{return e.debugId-t.debugId};class Module extends s{constructor(e,t=null){super();this.type=e;this.context=t;this.debugId=l++;this.hash=undefined;this.renderedHash=undefined;this.resolveOptions=c;this.factoryMeta={};this.warnings=[];this.errors=[];this.buildMeta=undefined;this.buildInfo=undefined;this.reasons=[];this._chunks=new o(undefined,u);this.id=null;this.index=null;this.index2=null;this.depth=null;this.issuer=null;this.profile=undefined;this.prefetched=false;this.built=false;this.used=null;this.usedExports=null;this.optimizationBailout=[];this._rewriteChunkInReasons=undefined;this.useSourceMap=false;this._source=null}get exportsArgument(){return this.buildInfo&&this.buildInfo.exportsArgument||"exports"}get moduleArgument(){return this.buildInfo&&this.buildInfo.moduleArgument||"module"}disconnect(){this.hash=undefined;this.renderedHash=undefined;this.reasons.length=0;this._rewriteChunkInReasons=undefined;this._chunks.clear();this.id=null;this.index=null;this.index2=null;this.depth=null;this.issuer=null;this.profile=undefined;this.prefetched=false;this.built=false;this.used=null;this.usedExports=null;this.optimizationBailout.length=0;super.disconnect()}unseal(){this.id=null;this.index=null;this.index2=null;this.depth=null;this._chunks.clear();super.unseal()}setChunks(e){this._chunks=new o(e,u)}addChunk(e){if(this._chunks.has(e))return false;this._chunks.add(e);return true}removeChunk(e){if(this._chunks.delete(e)){e.removeModule(this);return true}return false}isInChunk(e){return this._chunks.has(e)}isEntryModule(){for(const e of this._chunks){if(e.entryModule===this)return true}return false}get optional(){return this.reasons.length>0&&this.reasons.every(e=>e.dependency&&e.dependency.optional)}getChunks(){return Array.from(this._chunks)}getNumberOfChunks(){return this._chunks.size}get chunksIterable(){return this._chunks}hasEqualsChunks(e){if(this._chunks.size!==e._chunks.size)return false;this._chunks.sortWith(f);e._chunks.sortWith(f);const t=this._chunks[Symbol.iterator]();const n=e._chunks[Symbol.iterator]();while(true){const e=t.next();const r=n.next();if(e.done)return true;if(e.value!==r.value)return false}}addReason(e,t,n){this.reasons.push(new i(e,t,n))}removeReason(e,t){for(let n=0;n0}rewriteChunkInReasons(e,t){if(this._rewriteChunkInReasons===undefined){this._rewriteChunkInReasons=[]}this._rewriteChunkInReasons.push({oldChunk:e,newChunks:t})}_doRewriteChunkInReasons(e,t){for(let n=0;n{if(e.module===t.module)return 0;if(!e.module)return-1;if(!t.module)return 1;return u(e.module,t.module)});if(Array.isArray(this.usedExports)){this.usedExports.sort()}}unbuild(){this.dependencies.length=0;this.blocks.length=0;this.variables.length=0;this.buildMeta=undefined;this.buildInfo=undefined;this.disconnect()}get arguments(){throw new Error("Module.arguments was removed, there is no replacement.")}set arguments(e){throw new Error("Module.arguments was removed, there is no replacement.")}}Object.defineProperty(Module.prototype,"forEachChunk",{configurable:false,value:r.deprecate(function(e){this._chunks.forEach(e)},"Module.forEachChunk: Use for(const chunk of module.chunksIterable) instead")});Object.defineProperty(Module.prototype,"mapChunks",{configurable:false,value:r.deprecate(function(e){return Array.from(this._chunks,e)},"Module.mapChunks: Use Array.from(module.chunksIterable, fn) instead")});Object.defineProperty(Module.prototype,"entry",{configurable:false,get(){throw new Error("Module.entry was removed. Use Chunk.entryModule")},set(){throw new Error("Module.entry was removed. Use Chunk.entryModule")}});Object.defineProperty(Module.prototype,"meta",{configurable:false,get:r.deprecate(function(){return this.buildMeta},"Module.meta was renamed to Module.buildMeta"),set:r.deprecate(function(e){this.buildMeta=e},"Module.meta was renamed to Module.buildMeta")});Module.prototype.identifier=null;Module.prototype.readableIdentifier=null;Module.prototype.build=null;Module.prototype.source=null;Module.prototype.size=null;Module.prototype.nameForCondition=null;Module.prototype.chunkCondition=null;Module.prototype.updateCacheModule=null;e.exports=Module},17180:(e,t,n)=>{"use strict";const r=n(1891);const{cutOffLoaderExecution:s}=n(66007);class ModuleBuildError extends r{constructor(e,t,{from:n=null}={}){let r="Module build failed";let i=undefined;if(n){r+=` (from ${n}):\n`}else{r+=": "}if(t!==null&&typeof t==="object"){if(typeof t.stack==="string"&&t.stack){const e=s(t.stack);if(!t.hideStack){r+=e}else{i=e;if(typeof t.message==="string"&&t.message){r+=t.message}else{r+=t}}}else if(typeof t.message==="string"&&t.message){r+=t.message}else{r+=t}}else{r=t}super(r);this.name="ModuleBuildError";this.details=i;this.module=e;this.error=t;Error.captureStackTrace(this,this.constructor)}}e.exports=ModuleBuildError},62337:(e,t,n)=>{"use strict";const r=n(1891);class ModuleDependencyError extends r{constructor(e,t,n){super(t.message);this.name="ModuleDependencyError";this.details=t.stack.split("\n").slice(1).join("\n");this.module=e;this.loc=n;this.error=t;this.origin=e.issuer;Error.captureStackTrace(this,this.constructor)}}e.exports=ModuleDependencyError},88533:(e,t,n)=>{"use strict";const r=n(1891);e.exports=class ModuleDependencyWarning extends r{constructor(e,t,n){super(t.message);this.name="ModuleDependencyWarning";this.details=t.stack.split("\n").slice(1).join("\n");this.module=e;this.loc=n;this.error=t;this.origin=e.issuer;Error.captureStackTrace(this,this.constructor)}}},21261:(e,t,n)=>{"use strict";const r=n(1891);const{cleanUp:s}=n(66007);class ModuleError extends r{constructor(e,t,{from:n=null}={}){let r="Module Error";if(n){r+=` (from ${n}):\n`}else{r+=": "}if(t&&typeof t==="object"&&t.message){r+=t.message}else if(t){r+=t}super(r);this.name="ModuleError";this.module=e;this.error=t;this.details=t&&typeof t==="object"&&t.stack?s(t.stack,this.message):undefined;Error.captureStackTrace(this,this.constructor)}}e.exports=ModuleError},74491:(e,t,n)=>{"use strict";const r=n(57442);const s=t;s.ALL_LOADERS_RESOURCE="[all-loaders][resource]";s.REGEXP_ALL_LOADERS_RESOURCE=/\[all-?loaders\]\[resource\]/gi;s.LOADERS_RESOURCE="[loaders][resource]";s.REGEXP_LOADERS_RESOURCE=/\[loaders\]\[resource\]/gi;s.RESOURCE="[resource]";s.REGEXP_RESOURCE=/\[resource\]/gi;s.ABSOLUTE_RESOURCE_PATH="[absolute-resource-path]";s.REGEXP_ABSOLUTE_RESOURCE_PATH=/\[abs(olute)?-?resource-?path\]/gi;s.RESOURCE_PATH="[resource-path]";s.REGEXP_RESOURCE_PATH=/\[resource-?path\]/gi;s.ALL_LOADERS="[all-loaders]";s.REGEXP_ALL_LOADERS=/\[all-?loaders\]/gi;s.LOADERS="[loaders]";s.REGEXP_LOADERS=/\[loaders\]/gi;s.QUERY="[query]";s.REGEXP_QUERY=/\[query\]/gi;s.ID="[id]";s.REGEXP_ID=/\[id\]/gi;s.HASH="[hash]";s.REGEXP_HASH=/\[hash\]/gi;s.NAMESPACE="[namespace]";s.REGEXP_NAMESPACE=/\[namespace\]/gi;const i=(e,t)=>{const n=e.indexOf(t);return n<0?"":e.substr(n)};const o=(e,t)=>{const n=e.lastIndexOf(t);return n<0?"":e.substr(0,n)};const a=e=>{const t=r("md4");t.update(e);const n=t.digest("hex");return n.substr(0,4)};const c=e=>{if(typeof e==="string"){e=new RegExp("^"+e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"))}return e};s.createFilename=((e,t,n)=>{const r=Object.assign({namespace:"",moduleFilenameTemplate:""},typeof t==="object"?t:{moduleFilenameTemplate:t});let c;let l;let u;let f;let p;if(e===undefined)e="";if(typeof e==="string"){p=n.shorten(e);u=p;f="";c=e.split("!").pop();l=a(u)}else{p=e.readableIdentifier(n);u=n.shorten(e.identifier());f=e.id;c=e.identifier().split("!").pop();l=a(u)}const d=p.split("!").pop();const h=o(p,"!");const m=o(u,"!");const y=i(d,"?");const g=d.substr(0,d.length-y.length);if(typeof r.moduleFilenameTemplate==="function"){return r.moduleFilenameTemplate({identifier:u,shortIdentifier:p,resource:d,resourcePath:g,absoluteResourcePath:c,allLoaders:m,query:y,moduleId:f,hash:l,namespace:r.namespace})}return r.moduleFilenameTemplate.replace(s.REGEXP_ALL_LOADERS_RESOURCE,u).replace(s.REGEXP_LOADERS_RESOURCE,p).replace(s.REGEXP_RESOURCE,d).replace(s.REGEXP_RESOURCE_PATH,g).replace(s.REGEXP_ABSOLUTE_RESOURCE_PATH,c).replace(s.REGEXP_ALL_LOADERS,m).replace(s.REGEXP_LOADERS,h).replace(s.REGEXP_QUERY,y).replace(s.REGEXP_ID,f).replace(s.REGEXP_HASH,l).replace(s.REGEXP_NAMESPACE,r.namespace)});s.replaceDuplicates=((e,t,n)=>{const r=Object.create(null);const s=Object.create(null);e.forEach((e,t)=>{r[e]=r[e]||[];r[e].push(t);s[e]=0});if(n){Object.keys(r).forEach(e=>{r[e].sort(n)})}return e.map((e,i)=>{if(r[e].length>1){if(n&&r[e][0]===i)return e;return t(e,i,s[e]++)}else{return e}})});s.matchPart=((e,t)=>{if(!t)return true;t=c(t);if(Array.isArray(t)){return t.map(c).some(t=>t.test(e))}else{return t.test(e)}});s.matchObject=((e,t)=>{if(e.test){if(!s.matchPart(t,e.test)){return false}}if(e.include){if(!s.matchPart(t,e.include)){return false}}if(e.exclude){if(s.matchPart(t,e.exclude)){return false}}return true})},8927:(e,t,n)=>{"use strict";const r=n(1891);class ModuleNotFoundError extends r{constructor(e,t){super("Module not found: "+t);this.name="ModuleNotFoundError";this.details=t.details;this.missing=t.missing;this.module=e;this.error=t;Error.captureStackTrace(this,this.constructor)}}e.exports=ModuleNotFoundError},59788:(e,t,n)=>{"use strict";const r=n(1891);class ModuleParseError extends r{constructor(e,t,n,r){let s="Module parse failed: "+n.message;let i=undefined;if(r.length>=1){s+=`\nFile was processed with these loaders:${r.map(e=>`\n * ${e}`).join("")}`;s+="\nYou may need an additional loader to handle the result of these loaders."}else{s+="\nYou may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders"}if(n.loc&&typeof n.loc==="object"&&typeof n.loc.line==="number"){var o=n.loc.line;if(/[\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007]/.test(t)){s+="\n(Source code omitted for this binary file)"}else{const e=t.split(/\r?\n/);const n=Math.max(0,o-3);const r=e.slice(n,o-1);const i=e[o-1];const a=e.slice(o,o+2);s+=r.map(e=>`\n| ${e}`).join("")+`\n> ${i}`+a.map(e=>`\n| ${e}`).join("")}i=n.loc}else{s+="\n"+n.stack}super(s);this.name="ModuleParseError";this.module=e;this.loc=i;this.error=n;Error.captureStackTrace(this,this.constructor)}}e.exports=ModuleParseError},83689:e=>{"use strict";class ModuleReason{constructor(e,t,n){this.module=e;this.dependency=t;this.explanation=n;this._chunks=null}hasChunk(e){if(this._chunks){if(this._chunks.has(e))return true}else if(this.module&&this.module._chunks.has(e))return true;return false}rewriteChunks(e,t){if(!this._chunks){if(this.module){if(!this.module._chunks.has(e))return;this._chunks=new Set(this.module._chunks)}else{this._chunks=new Set}}if(this._chunks.has(e)){this._chunks.delete(e);for(let e=0;e{"use strict";const{Tapable:r,SyncWaterfallHook:s,SyncHook:i}=n(41242);e.exports=class ModuleTemplate extends r{constructor(e,t){super();this.runtimeTemplate=e;this.type=t;this.hooks={content:new s(["source","module","options","dependencyTemplates"]),module:new s(["source","module","options","dependencyTemplates"]),render:new s(["source","module","options","dependencyTemplates"]),package:new s(["source","module","options","dependencyTemplates"]),hash:new i(["hash"])}}render(e,t,n){try{const r=e.source(t,this.runtimeTemplate,this.type);const s=this.hooks.content.call(r,e,n,t);const i=this.hooks.module.call(s,e,n,t);const o=this.hooks.render.call(i,e,n,t);return this.hooks.package.call(o,e,n,t)}catch(t){t.message=`${e.identifier()}\n${t.message}`;throw t}}updateHash(e){e.update("1");this.hooks.hash.call(e)}}},35704:(e,t,n)=>{"use strict";const r=n(1891);const{cleanUp:s}=n(66007);class ModuleWarning extends r{constructor(e,t,{from:n=null}={}){let r="Module Warning";if(n){r+=` (from ${n}):\n`}else{r+=": "}if(t&&typeof t==="object"&&t.message){r+=t.message}else if(t){r+=t}super(r);this.name="ModuleWarning";this.module=e;this.warning=t;this.details=t&&typeof t==="object"&&t.stack?s(t.stack,this.message):undefined;Error.captureStackTrace(this,this.constructor)}}e.exports=ModuleWarning},66417:(e,t,n)=>{"use strict";const{Tapable:r,SyncHook:s,MultiHook:i}=n(41242);const o=n(36386);const a=n(72724);const c=n(9981);const l=n(71791);e.exports=class MultiCompiler extends r{constructor(e){super();this.hooks={done:new s(["stats"]),invalid:new i(e.map(e=>e.hooks.invalid)),run:new i(e.map(e=>e.hooks.run)),watchClose:new s([]),watchRun:new i(e.map(e=>e.hooks.watchRun)),infrastructureLog:new i(e.map(e=>e.hooks.infrastructureLog))};if(!Array.isArray(e)){e=Object.keys(e).map(t=>{e[t].name=t;return e[t]})}this.compilers=e;let t=0;let n=[];let r=0;for(const e of this.compilers){let s=false;const i=r++;e.hooks.done.tap("MultiCompiler",e=>{if(!s){s=true;t++}n[i]=e;if(t===this.compilers.length){this.hooks.done.call(new c(n))}});e.hooks.invalid.tap("MultiCompiler",()=>{if(s){s=false;t--}})}this.running=false}get outputPath(){let e=this.compilers[0].outputPath;for(const t of this.compilers){while(t.outputPath.indexOf(e)!==0&&/[/\\]/.test(e)){e=e.replace(/[/\\][^/\\]*$/,"")}}if(!e&&this.compilers[0].outputPath[0]==="/")return"/";return e}get inputFileSystem(){throw new Error("Cannot read inputFileSystem of a MultiCompiler")}get outputFileSystem(){throw new Error("Cannot read outputFileSystem of a MultiCompiler")}set inputFileSystem(e){for(const t of this.compilers){t.inputFileSystem=e}}set outputFileSystem(e){for(const t of this.compilers){t.outputFileSystem=e}}getInfrastructureLogger(e){return this.compilers[0].getInfrastructureLogger(e)}validateDependencies(e){const t=new Set;const n=[];const r=e=>{for(const n of t){if(n.target===e){return true}}return false};const s=(e,t)=>{return e.source.name.localeCompare(t.source.name)||e.target.name.localeCompare(t.target.name)};for(const e of this.compilers){if(e.dependencies){for(const r of e.dependencies){const s=this.compilers.find(e=>e.name===r);if(!s){n.push(r)}else{t.add({source:e,target:s})}}}}const i=n.map(e=>`Compiler dependency \`${e}\` not found.`);const o=this.compilers.filter(e=>!r(e));while(o.length>0){const e=o.pop();for(const n of t){if(n.source===e){t.delete(n);const e=n.target;if(!r(e)){o.push(e)}}}}if(t.size>0){const e=Array.from(t).sort(s).map(e=>`${e.source.name} -> ${e.target.name}`);e.unshift("Circular dependency found in compiler dependencies.");i.unshift(e.join("\n"))}if(i.length>0){const t=i.join("\n");e(new Error(t));return false}return true}runWithDependencies(e,t,n){const r=new Set;let s=e;const i=e=>r.has(e);const a=()=>{let e=[];let t=s;s=[];for(const n of t){const t=!n.dependencies||n.dependencies.every(i);if(t){e.push(n)}else{s.push(n)}}return e};const c=e=>{if(s.length===0)return e();o.map(a(),(e,n)=>{t(e,t=>{if(t)return n(t);r.add(e.name);c(n)})},e)};c(n)}watch(e,t){if(this.running)return t(new l);let n=[];let r=this.compilers.map(()=>null);let s=this.compilers.map(()=>false);if(this.validateDependencies(t)){this.running=true;this.runWithDependencies(this.compilers,(i,o)=>{const a=this.compilers.indexOf(i);let l=true;let u=i.watch(Array.isArray(e)?e[a]:e,(e,n)=>{if(e)t(e);if(n){r[a]=n;s[a]="new";if(s.every(Boolean)){const e=r.filter((e,t)=>{return s[t]==="new"});s.fill(true);const n=new c(e);t(null,n)}}if(l&&!e){l=false;o()}});n.push(u)},()=>{})}return new a(n,this)}run(e){if(this.running){return e(new l)}const t=(t,n)=>{this.running=false;if(e!==undefined){return e(t,n)}};const n=this.compilers.map(()=>null);if(this.validateDependencies(e)){this.running=true;this.runWithDependencies(this.compilers,(e,t)=>{const r=this.compilers.indexOf(e);e.run((e,s)=>{if(e){return t(e)}n[r]=s;t()})},e=>{if(e){return t(e)}t(null,new c(n))})}}purgeInputFileSystem(){for(const e of this.compilers){if(e.inputFileSystem&&e.inputFileSystem.purge){e.inputFileSystem.purge()}}}}},22575:(e,t,n)=>{"use strict";const r=n(72528);const s=n(44785);const i=n(86745);class MultiEntryPlugin{constructor(e,t,n){this.context=e;this.entries=t;this.name=n}apply(e){e.hooks.compilation.tap("MultiEntryPlugin",(e,{normalModuleFactory:t})=>{const n=new i;e.dependencyFactories.set(r,n);e.dependencyFactories.set(s,t)});e.hooks.make.tapAsync("MultiEntryPlugin",(e,t)=>{const{context:n,entries:r,name:s}=this;const i=MultiEntryPlugin.createDependency(r,s);e.addEntry(n,i,s,t)})}static createDependency(e,t){return new r(e.map((e,n)=>{const r=new s(e);r.loc={name:t,index:n};return r}),t)}}e.exports=MultiEntryPlugin},43786:(e,t,n)=>{"use strict";const r=n(3285);const s=n(73720);const{RawSource:i}=n(50932);class MultiModule extends r{constructor(e,t,n){super("javascript/dynamic",e);this.dependencies=t;this.name=n;this._identifier=`multi ${this.dependencies.map(e=>e.request).join(" ")}`}identifier(){return this._identifier}readableIdentifier(e){return`multi ${this.dependencies.map(t=>e.shorten(t.request)).join(" ")}`}build(e,t,n,r,s){this.built=true;this.buildMeta={};this.buildInfo={};return s()}needRebuild(){return false}size(){return 16+this.dependencies.length*12}updateHash(e){e.update("multi module");e.update(this.name||"");super.updateHash(e)}source(e,t){const r=[];let o=0;for(const e of this.dependencies){if(e.module){if(o===this.dependencies.length-1){r.push("module.exports = ")}r.push("__webpack_require__(");if(t.outputOptions.pathinfo){r.push(s.toComment(e.request))}r.push(`${JSON.stringify(e.module.id)}`);r.push(")")}else{const t=n(80742).module(e.request);r.push(t)}r.push(";\n");o++}return new i(r.join(""))}}e.exports=MultiModule},86745:(e,t,n)=>{"use strict";const{Tapable:r}=n(41242);const s=n(43786);e.exports=class MultiModuleFactory extends r{constructor(){super();this.hooks={}}create(e,t){const n=e.dependencies[0];t(null,new s(e.context,n.dependencies,n.name))}}},9981:(e,t,n)=>{"use strict";const r=n(45096);const s=(e,t)=>e!==undefined?e:t;class MultiStats{constructor(e){this.stats=e;this.hash=e.map(e=>e.hash).join("")}hasErrors(){return this.stats.map(e=>e.hasErrors()).reduce((e,t)=>e||t,false)}hasWarnings(){return this.stats.map(e=>e.hasWarnings()).reduce((e,t)=>e||t,false)}toJson(e,t){if(typeof e==="boolean"||typeof e==="string"){e=r.presetToOptions(e)}else if(!e){e={}}const s=this.stats.map((n,s)=>{const i=r.getChildOptions(e,s);const o=n.toJson(i,t);o.name=n.compilation&&n.compilation.name;return o});const i=e.version===undefined?s.every(e=>e.version):e.version!==false;const o=e.hash===undefined?s.every(e=>e.hash):e.hash!==false;if(i){for(const e of s){delete e.version}}const a={errors:s.reduce((e,t)=>{return e.concat(t.errors.map(e=>{return`(${t.name}) ${e}`}))},[]),warnings:s.reduce((e,t)=>{return e.concat(t.warnings.map(e=>{return`(${t.name}) ${e}`}))},[])};if(i)a.version=n(71618).i8;if(o)a.hash=this.hash;if(e.children!==false)a.children=s;return a}toString(e){if(typeof e==="boolean"||typeof e==="string"){e=r.presetToOptions(e)}else if(!e){e={}}const t=s(e.colors,false);const n=this.toJson(e,true);return r.jsonToString(n,t)}}e.exports=MultiStats},72724:(e,t,n)=>{"use strict";const r=n(36386);class MultiWatching{constructor(e,t){this.watchings=e;this.compiler=t}invalidate(){for(const e of this.watchings){e.invalidate()}}suspend(){for(const e of this.watchings){e.suspend()}}resume(){for(const e of this.watchings){e.resume()}}close(e){r.forEach(this.watchings,(e,t)=>{e.close(t)},t=>{this.compiler.hooks.watchClose.call();if(typeof e==="function"){this.compiler.running=false;e(t)}})}}e.exports=MultiWatching},76965:e=>{"use strict";class NamedChunksPlugin{static defaultNameResolver(e){return e.name||null}constructor(e){this.nameResolver=e||NamedChunksPlugin.defaultNameResolver}apply(e){e.hooks.compilation.tap("NamedChunksPlugin",e=>{e.hooks.beforeChunkIds.tap("NamedChunksPlugin",e=>{for(const t of e){if(t.id===null){t.id=this.nameResolver(t)}}})})}}e.exports=NamedChunksPlugin},85449:(e,t,n)=>{"use strict";const r=n(57442);const s=n(72372);const i=e=>{const t=r("md4");t.update(e);const n=t.digest("hex");return n.substr(0,4)};class NamedModulesPlugin{constructor(e){this.options=e||{}}apply(e){e.hooks.compilation.tap("NamedModulesPlugin",t=>{t.hooks.beforeModuleIds.tap("NamedModulesPlugin",t=>{const n=new Map;const r=this.options.context||e.options.context;for(const e of t){if(e.id===null&&e.libIdent){e.id=e.libIdent({context:r})}if(e.id!==null){const t=n.get(e.id);if(t!==undefined){t.push(e)}else{n.set(e.id,[e])}}}for(const e of n.values()){if(e.length>1){for(const t of e){const e=new s(r);t.id=`${t.id}?${i(e.shorten(t.identifier()))}`}}}})})}}e.exports=NamedModulesPlugin},19282:e=>{"use strict";class NoEmitOnErrorsPlugin{apply(e){e.hooks.shouldEmit.tap("NoEmitOnErrorsPlugin",e=>{if(e.getStats().hasErrors())return false});e.hooks.compilation.tap("NoEmitOnErrorsPlugin",e=>{e.hooks.shouldRecord.tap("NoEmitOnErrorsPlugin",()=>{if(e.getStats().hasErrors())return false})})}}e.exports=NoEmitOnErrorsPlugin},19625:(e,t,n)=>{"use strict";const r=n(1891);e.exports=class NoModeWarning extends r{constructor(e){super();this.name="NoModeWarning";this.message="configuration\n"+"The 'mode' option has not been set, webpack will fallback to 'production' for this value. "+"Set 'mode' option to 'development' or 'production' to enable defaults for each environment.\n"+"You can also set it to 'none' to disable any default behavior. "+"Learn more: https://webpack.js.org/configuration/mode/";Error.captureStackTrace(this,this.constructor)}}},64164:(e,t,n)=>{"use strict";const r=n(85622);const s=n(77466);const i=n(53119);const o=n(47742);class NodeStuffPlugin{constructor(e){this.options=e}apply(e){const t=this.options;e.hooks.compilation.tap("NodeStuffPlugin",(n,{normalModuleFactory:a})=>{n.dependencyFactories.set(i,new o);n.dependencyTemplates.set(i,new i.Template);const c=(n,i)=>{if(i.node===false)return;let o=t;if(i.node){o=Object.assign({},o,i.node)}const a=(e,t)=>{n.hooks.expression.for(e).tap("NodeStuffPlugin",()=>{n.state.current.addVariable(e,JSON.stringify(t));return true})};const c=(e,t)=>{n.hooks.expression.for(e).tap("NodeStuffPlugin",()=>{n.state.current.addVariable(e,JSON.stringify(t(n.state.module)));return true})};const l=e.context;if(o.__filename){if(o.__filename==="mock"){a("__filename","/index.js")}else{c("__filename",e=>r.relative(l,e.resource))}n.hooks.evaluateIdentifier.for("__filename").tap("NodeStuffPlugin",e=>{if(!n.state.module)return;const t=n.state.module.resource;const r=t.indexOf("?");return s.evaluateToString(r<0?t:t.substr(0,r))(e)})}if(o.__dirname){if(o.__dirname==="mock"){a("__dirname","/")}else{c("__dirname",e=>r.relative(l,e.context))}n.hooks.evaluateIdentifier.for("__dirname").tap("NodeStuffPlugin",e=>{if(!n.state.module)return;return s.evaluateToString(n.state.module.context)(e)})}n.hooks.expression.for("require.extensions").tap("NodeStuffPlugin",s.expressionIsUnsupported(n,"require.extensions is not supported by webpack. Use a loader instead."))};a.hooks.parser.for("javascript/auto").tap("NodeStuffPlugin",c);a.hooks.parser.for("javascript/dynamic").tap("NodeStuffPlugin",c)})}}e.exports=NodeStuffPlugin},99578:(e,t,n)=>{"use strict";const r=n(32282);const{CachedSource:s,LineToLineMappedSource:i,OriginalSource:o,RawSource:a,SourceMapSource:c}=n(50932);const{getContext:l,runLoaders:u}=n(68318);const f=n(1891);const p=n(3285);const d=n(59788);const h=n(17180);const m=n(21261);const y=n(35704);const g=n(57442);const v=n(88540).contextify;const b=e=>{if(Buffer.isBuffer(e)){return e.toString("utf-8")}return e};const w=e=>{if(!Buffer.isBuffer(e)){return Buffer.from(e,"utf-8")}return e};class NonErrorEmittedError extends f{constructor(e){super();this.name="NonErrorEmittedError";this.message="(Emitted value instead of an instance of Error) "+e;Error.captureStackTrace(this,this.constructor)}}class NormalModule extends p{constructor({type:e,request:t,userRequest:n,rawRequest:r,loaders:s,resource:i,matchResource:o,parser:a,generator:c,resolveOptions:u}){super(e,l(i));this.request=t;this.userRequest=n;this.rawRequest=r;this.binary=e.startsWith("webassembly");this.parser=a;this.generator=c;this.resource=i;this.matchResource=o;this.loaders=s;if(u!==undefined)this.resolveOptions=u;this.error=null;this._source=null;this._sourceSize=null;this._buildHash="";this.buildTimestamp=undefined;this._cachedSources=new Map;this.useSourceMap=false;this.lineToLine=false;this._lastSuccessfulBuildMeta={}}identifier(){return this.request}readableIdentifier(e){return e.shorten(this.userRequest)}libIdent(e){return v(e.context,this.userRequest)}nameForCondition(){const e=this.matchResource||this.resource;const t=e.indexOf("?");if(t>=0)return e.substr(0,t);return e}updateCacheModule(e){this.type=e.type;this.request=e.request;this.userRequest=e.userRequest;this.rawRequest=e.rawRequest;this.parser=e.parser;this.generator=e.generator;this.resource=e.resource;this.matchResource=e.matchResource;this.loaders=e.loaders;this.resolveOptions=e.resolveOptions}createSourceForAsset(e,t,n){if(!n){return new a(t)}if(typeof n==="string"){return new o(t,n)}return new c(t,e,n)}createLoaderContext(e,t,n,s){const i=n.runtimeTemplate.requestShortener;const o=()=>{const e=this.getCurrentLoader(a);if(!e)return"(not in loader scope)";return i.shorten(e.loader)};const a={version:2,emitWarning:e=>{if(!(e instanceof Error)){e=new NonErrorEmittedError(e)}this.warnings.push(new y(this,e,{from:o()}))},emitError:e=>{if(!(e instanceof Error)){e=new NonErrorEmittedError(e)}this.errors.push(new m(this,e,{from:o()}))},getLogger:e=>{const t=this.getCurrentLoader(a);return n.getLogger(()=>[t&&t.loader,e,this.identifier()].filter(Boolean).join("|"))},exec:(e,t)=>{const n=new r(t,this);n.paths=r._nodeModulePaths(this.context);n.filename=t;n._compile(e,t);return n.exports},resolve(t,n,r){e.resolve({},t,n,{},r)},getResolve(t){const n=t?e.withOptions(t):e;return(e,t,r)=>{if(r){n.resolve({},e,t,{},r)}else{return new Promise((r,s)=>{n.resolve({},e,t,{},(e,t)=>{if(e)s(e);else r(t)})})}}},emitFile:(e,t,n,r)=>{if(!this.buildInfo.assets){this.buildInfo.assets=Object.create(null);this.buildInfo.assetsInfo=new Map}this.buildInfo.assets[e]=this.createSourceForAsset(e,t,n);this.buildInfo.assetsInfo.set(e,r)},rootContext:t.context,webpack:true,sourceMap:!!this.useSourceMap,mode:t.mode||"production",_module:this,_compilation:n,_compiler:n.compiler,fs:s};n.hooks.normalModuleLoader.call(a,this);if(t.loader){Object.assign(a,t.loader)}return a}getCurrentLoader(e,t=e.loaderIndex){if(this.loaders&&this.loaders.length&&t=0&&this.loaders[t]){return this.loaders[t]}return null}createSource(e,t,n){if(!this.identifier){return new a(e)}const r=this.identifier();if(this.lineToLine&&t){return new i(e,r,b(t))}if(this.useSourceMap&&n){return new c(e,r,n)}if(Buffer.isBuffer(e)){return new a(e)}return new o(e,r)}doBuild(e,t,n,r,s){const i=this.createLoaderContext(n,e,t,r);u({resource:this.resource,loaders:this.loaders,context:i,readResource:r.readFile.bind(r)},(e,n)=>{if(n){this.buildInfo.cacheable=n.cacheable;this.buildInfo.fileDependencies=new Set(n.fileDependencies);this.buildInfo.contextDependencies=new Set(n.contextDependencies)}if(e){if(!(e instanceof Error)){e=new NonErrorEmittedError(e)}const n=this.getCurrentLoader(i);const r=new h(this,e,{from:n&&t.runtimeTemplate.requestShortener.shorten(n.loader)});return s(r)}const r=n.resourceBuffer;const o=n.result[0];const a=n.result.length>=1?n.result[1]:null;const c=n.result.length>=2?n.result[2]:null;if(!Buffer.isBuffer(o)&&typeof o!=="string"){const e=this.getCurrentLoader(i,0);const n=new Error(`Final loader (${e?t.runtimeTemplate.requestShortener.shorten(e.loader):"unknown"}) didn't return a Buffer or String`);const r=new h(this,n);return s(r)}this._source=this.createSource(this.binary?w(o):b(o),r,a);this._sourceSize=null;this._ast=typeof c==="object"&&c!==null&&c.webpackAST!==undefined?c.webpackAST:null;return s()})}markModuleAsErrored(e){this.buildMeta=Object.assign({},this._lastSuccessfulBuildMeta);this.error=e;this.errors.push(this.error);this._source=new a("throw new Error("+JSON.stringify(this.error.message)+");");this._sourceSize=null;this._ast=null}applyNoParseRule(e,t){if(typeof e==="string"){return t.indexOf(e)===0}if(typeof e==="function"){return e(t)}return e.test(t)}shouldPreventParsing(e,t){if(!e){return false}if(!Array.isArray(e)){return this.applyNoParseRule(e,t)}for(let n=0;n{this._cachedSources.clear();if(n){this.markModuleAsErrored(n);this._initBuildHash(t);return s()}const r=e.module&&e.module.noParse;if(this.shouldPreventParsing(r,this.request)){this._initBuildHash(t);return s()}const i=n=>{const r=this._source.source();const i=this.loaders.map(t=>v(e.context,t.loader));const o=new d(this,r,n,i);this.markModuleAsErrored(o);this._initBuildHash(t);return s()};const o=e=>{this._lastSuccessfulBuildMeta=this.buildMeta;this._initBuildHash(t);return s()};try{const n=this.parser.parse(this._ast||this._source.source(),{current:this,module:this,compilation:t,options:e},(e,t)=>{if(e){i(e)}else{o(t)}});if(n!==undefined){o(n)}}catch(e){i(e)}})}getHashDigest(e){let t=e.get("hash");return`${this.hash}-${t}`}source(e,t,n="javascript"){const r=this.getHashDigest(e);const i=this._cachedSources.get(n);if(i!==undefined&&i.hash===r){return i.source}const o=this.generator.generate(this,e,t,n);const a=new s(o);this._cachedSources.set(n,{source:a,hash:r});return a}originalSource(){return this._source}needRebuild(e,t){if(this.error)return true;if(!this.buildInfo.cacheable)return true;for(const t of this.buildInfo.fileDependencies){const n=e.get(t);if(!n)return true;if(n>=this.buildTimestamp)return true}for(const e of this.buildInfo.contextDependencies){const n=t.get(e);if(!n)return true;if(n>=this.buildTimestamp)return true}return false}size(){if(this._sourceSize===null){this._sourceSize=this._source?this._source.size():-1}return this._sourceSize}updateHash(e){e.update(this._buildHash);super.updateHash(e)}}e.exports=NormalModule},27150:(e,t,n)=>{"use strict";const r=n(85622);const s=n(36386);const{Tapable:i,AsyncSeriesWaterfallHook:o,SyncWaterfallHook:a,SyncBailHook:c,SyncHook:l,HookMap:u}=n(41242);const f=n(99578);const p=n(78881);const d=n(59891);const{cachedCleverMerge:h}=n(61233);const m={};const y=/^([^!]+)!=!/;const g=e=>{if(!e.options){return e.loader}if(typeof e.options==="string"){return e.loader+"?"+e.options}if(typeof e.options!=="object"){throw new Error("loader options must be string or object")}if(e.ident){return e.loader+"??"+e.ident}return e.loader+"?"+JSON.stringify(e.options)};const v=e=>{const t=e.indexOf("?");if(t>=0){const n=e.substr(0,t);const r=e.substr(t+1);return{loader:n,options:r}}else{return{loader:e,options:undefined}}};const b=new WeakMap;class NormalModuleFactory extends i{constructor(e,t,n){super();this.hooks={resolver:new a(["resolver"]),factory:new a(["factory"]),beforeResolve:new o(["data"]),afterResolve:new o(["data"]),createModule:new c(["data"]),module:new a(["module","data"]),createParser:new u(()=>new c(["parserOptions"])),parser:new u(()=>new l(["parser","parserOptions"])),createGenerator:new u(()=>new c(["generatorOptions"])),generator:new u(()=>new l(["generator","generatorOptions"]))};this._pluginCompat.tap("NormalModuleFactory",e=>{switch(e.name){case"before-resolve":case"after-resolve":e.async=true;break;case"parser":this.hooks.parser.for("javascript/auto").tap(e.fn.name||"unnamed compat plugin",e.fn);return true}let t;t=/^parser (.+)$/.exec(e.name);if(t){this.hooks.parser.for(t[1]).tap(e.fn.name||"unnamed compat plugin",e.fn.bind(this));return true}t=/^create-parser (.+)$/.exec(e.name);if(t){this.hooks.createParser.for(t[1]).tap(e.fn.name||"unnamed compat plugin",e.fn.bind(this));return true}});this.resolverFactory=t;this.ruleSet=new d(n.defaultRules.concat(n.rules));this.cachePredicate=typeof n.unsafeCache==="function"?n.unsafeCache:Boolean.bind(null,n.unsafeCache);this.context=e||"";this.parserCache=Object.create(null);this.generatorCache=Object.create(null);this.hooks.factory.tap("NormalModuleFactory",()=>(e,t)=>{let n=this.hooks.resolver.call(null);if(!n)return t();n(e,(e,n)=>{if(e)return t(e);if(!n)return t();if(typeof n.source==="function")return t(null,n);this.hooks.afterResolve.callAsync(n,(e,n)=>{if(e)return t(e);if(!n)return t();let r=this.hooks.createModule.call(n);if(!r){if(!n.request){return t(new Error("Empty dependency (no request)"))}r=new f(n)}r=this.hooks.module.call(r,n);return t(null,r)})})});this.hooks.resolver.tap("NormalModuleFactory",()=>(e,t)=>{const n=e.contextInfo;const i=e.context;const o=e.request;const a=this.getResolver("loader");const c=this.getResolver("normal",e.resolveOptions);let l=undefined;let u=o;const f=y.exec(o);if(f){l=f[1];if(/^\.\.?\//.test(l)){l=r.join(i,l)}u=o.substr(f[0].length)}const d=u.startsWith("-!");const m=d||u.startsWith("!");const b=u.startsWith("!!");let w=u.replace(/^-?!+/,"").replace(/!!+/g,"!").split("!");let k=w.pop();w=w.map(v);s.parallel([e=>this.resolveRequestArray(n,i,w,a,e),e=>{if(k===""||k[0]==="?"){return e(null,{resource:k})}c.resolve(n,i,k,{},(t,n,r)=>{if(t)return e(t);e(null,{resourceResolveData:r,resource:n})})}],(r,c)=>{if(r)return t(r);let u=c[0];const f=c[1].resourceResolveData;k=c[1].resource;try{for(const e of u){if(typeof e.options==="string"&&e.options[0]==="?"){const t=e.options.substr(1);e.options=this.ruleSet.findOptionsByIdent(t);e.ident=t}}}catch(e){return t(e)}if(k===false){return t(null,new p("/* (ignored) */",`ignored ${i} ${o}`,`${o} (ignored)`))}const y=(l!==undefined?`${l}!=!`:"")+u.map(g).concat([k]).join("!");let v=l!==undefined?l:k;let w="";const x=v.indexOf("?");if(x>=0){w=v.substr(x);v=v.substr(0,x)}const S=this.ruleSet.exec({resource:v,realResource:l!==undefined?k.replace(/\?.*/,""):v,resourceQuery:w,issuer:n.issuer,compiler:n.compiler});const E={};const O=[];const C=[];const M=[];for(const e of S){if(e.type==="use"){if(e.enforce==="post"&&!b){O.push(e.value)}else if(e.enforce==="pre"&&!d&&!b){M.push(e.value)}else if(!e.enforce&&!m&&!b){C.push(e.value)}}else if(typeof e.value==="object"&&e.value!==null&&typeof E[e.type]==="object"&&E[e.type]!==null){E[e.type]=h(E[e.type],e.value)}else{E[e.type]=e.value}}s.parallel([this.resolveRequestArray.bind(this,n,this.context,O,a),this.resolveRequestArray.bind(this,n,this.context,C,a),this.resolveRequestArray.bind(this,n,this.context,M,a)],(n,r)=>{if(n)return t(n);if(l===undefined){u=r[0].concat(u,r[1],r[2])}else{u=r[0].concat(r[1],u,r[2])}process.nextTick(()=>{const n=E.type;const r=E.resolve;t(null,{context:i,request:u.map(g).concat([k]).join("!"),dependencies:e.dependencies,userRequest:y,rawRequest:o,loaders:u,resource:k,matchResource:l,resourceResolveData:f,settings:E,type:n,parser:this.getParser(n,E.parser),generator:this.getGenerator(n,E.generator),resolveOptions:r})})})})})}create(e,t){const n=e.dependencies;const r=b.get(n[0]);if(r)return t(null,r);const s=e.context||this.context;const i=e.resolveOptions||m;const o=n[0].request;const a=e.contextInfo||{};this.hooks.beforeResolve.callAsync({contextInfo:a,resolveOptions:i,context:s,request:o,dependencies:n},(e,r)=>{if(e)return t(e);if(!r)return t();const s=this.hooks.factory.call(null);if(!s)return t();s(r,(e,r)=>{if(e)return t(e);if(r&&this.cachePredicate(r)){for(const e of n){b.set(e,r)}}t(null,r)})})}resolveRequestArray(e,t,n,r,i){if(n.length===0)return i(null,[]);s.map(n,(n,s)=>{r.resolve(e,t,n.loader,{},(i,o)=>{if(i&&/^[^/]*$/.test(n.loader)&&!/-loader$/.test(n.loader)){return r.resolve(e,t,n.loader+"-loader",{},e=>{if(!e){i.message=i.message+"\n"+"BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.\n"+` You need to specify '${n.loader}-loader' instead of '${n.loader}',\n`+" see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed"}s(i)})}if(i)return s(i);const a=n.options?{options:n.options}:undefined;return s(null,Object.assign({},n,v(o),a))})},i)}getParser(e,t){let n=e;if(t){if(t.ident){n=`${e}|${t.ident}`}else{n=JSON.stringify([e,t])}}if(n in this.parserCache){return this.parserCache[n]}return this.parserCache[n]=this.createParser(e,t)}createParser(e,t={}){const n=this.hooks.createParser.for(e).call(t);if(!n){throw new Error(`No parser registered for ${e}`)}this.hooks.parser.for(e).call(n,t);return n}getGenerator(e,t){let n=e;if(t){if(t.ident){n=`${e}|${t.ident}`}else{n=JSON.stringify([e,t])}}if(n in this.generatorCache){return this.generatorCache[n]}return this.generatorCache[n]=this.createGenerator(e,t)}createGenerator(e,t={}){const n=this.hooks.createGenerator.for(e).call(t);if(!n){throw new Error(`No generator registered for ${e}`)}this.hooks.generator.for(e).call(n,t);return n}getResolver(e,t){return this.resolverFactory.get(e,t||m)}}e.exports=NormalModuleFactory},34057:(e,t,n)=>{"use strict";const r=n(85622);class NormalModuleReplacementPlugin{constructor(e,t){this.resourceRegExp=e;this.newResource=t}apply(e){const t=this.resourceRegExp;const n=this.newResource;e.hooks.normalModuleFactory.tap("NormalModuleReplacementPlugin",e=>{e.hooks.beforeResolve.tap("NormalModuleReplacementPlugin",e=>{if(!e)return;if(t.test(e.request)){if(typeof n==="function"){n(e)}else{e.request=n}}return e});e.hooks.afterResolve.tap("NormalModuleReplacementPlugin",e=>{if(!e)return;if(t.test(e.resource)){if(typeof n==="function"){n(e)}else{e.resource=r.resolve(r.dirname(e.resource),n)}}return e})})}}e.exports=NormalModuleReplacementPlugin},47742:e=>{"use strict";class NullFactory{create(e,t){return t()}}e.exports=NullFactory},71217:e=>{"use strict";class OptionsApply{process(e,t){}}e.exports=OptionsApply},28856:e=>{"use strict";const t=(e,t)=>{let n=t.split(".");for(let t=0;t{let r=t.split(".");for(let t=0;t{"use strict";const r=n(13653);const{Tapable:s,SyncBailHook:i,HookMap:o}=n(41242);const a=n(31669);const c=n(92184);const l=n(52518);const u=n(5011);const f=r.Parser;const p=(e,t)=>{if(!t)return e;if(!e)return t;return[e[0],t[1]]};const d={ranges:true,locations:true,ecmaVersion:11,sourceType:"module",onComment:null};const h=new RegExp(/(^|\W)webpack[A-Z]{1,}[A-Za-z]{1,}:/);const m={options:null,errors:null};class Parser extends s{constructor(e,t="auto"){super();this.hooks={evaluateTypeof:new o(()=>new i(["expression"])),evaluate:new o(()=>new i(["expression"])),evaluateIdentifier:new o(()=>new i(["expression"])),evaluateDefinedIdentifier:new o(()=>new i(["expression"])),evaluateCallExpressionMember:new o(()=>new i(["expression","param"])),statement:new i(["statement"]),statementIf:new i(["statement"]),label:new o(()=>new i(["statement"])),import:new i(["statement","source"]),importSpecifier:new i(["statement","source","exportName","identifierName"]),export:new i(["statement"]),exportImport:new i(["statement","source"]),exportDeclaration:new i(["statement","declaration"]),exportExpression:new i(["statement","declaration"]),exportSpecifier:new i(["statement","identifierName","exportName","index"]),exportImportSpecifier:new i(["statement","source","identifierName","exportName","index"]),varDeclaration:new o(()=>new i(["declaration"])),varDeclarationLet:new o(()=>new i(["declaration"])),varDeclarationConst:new o(()=>new i(["declaration"])),varDeclarationVar:new o(()=>new i(["declaration"])),canRename:new o(()=>new i(["initExpression"])),rename:new o(()=>new i(["initExpression"])),assigned:new o(()=>new i(["expression"])),assign:new o(()=>new i(["expression"])),typeof:new o(()=>new i(["expression"])),importCall:new i(["expression"]),call:new o(()=>new i(["expression"])),callAnyMember:new o(()=>new i(["expression"])),new:new o(()=>new i(["expression"])),expression:new o(()=>new i(["expression"])),expressionAnyMember:new o(()=>new i(["expression"])),expressionConditionalOperator:new i(["expression"]),expressionLogicalOperator:new i(["expression"]),program:new i(["ast","comments"])};const n={evaluateTypeof:/^evaluate typeof (.+)$/,evaluateIdentifier:/^evaluate Identifier (.+)$/,evaluateDefinedIdentifier:/^evaluate defined Identifier (.+)$/,evaluateCallExpressionMember:/^evaluate CallExpression .(.+)$/,evaluate:/^evaluate (.+)$/,label:/^label (.+)$/,varDeclarationLet:/^var-let (.+)$/,varDeclarationConst:/^var-const (.+)$/,varDeclarationVar:/^var-var (.+)$/,varDeclaration:/^var (.+)$/,canRename:/^can-rename (.+)$/,rename:/^rename (.+)$/,typeof:/^typeof (.+)$/,assigned:/^assigned (.+)$/,assign:/^assign (.+)$/,callAnyMember:/^call (.+)\.\*$/,call:/^call (.+)$/,new:/^new (.+)$/,expressionConditionalOperator:/^expression \?:$/,expressionAnyMember:/^expression (.+)\.\*$/,expression:/^expression (.+)$/};this._pluginCompat.tap("Parser",e=>{for(const t of Object.keys(n)){const r=n[t];const s=r.exec(e.name);if(s){if(s[1]){this.hooks[t].tap(s[1],e.fn.name||"unnamed compat plugin",e.fn.bind(this))}else{this.hooks[t].tap(e.fn.name||"unnamed compat plugin",e.fn.bind(this))}return true}}});this.options=e;this.sourceType=t;this.scope=undefined;this.state=undefined;this.comments=undefined;this.initializeEvaluating()}initializeEvaluating(){this.hooks.evaluate.for("Literal").tap("Parser",e=>{switch(typeof e.value){case"number":return(new l).setNumber(e.value).setRange(e.range);case"string":return(new l).setString(e.value).setRange(e.range);case"boolean":return(new l).setBoolean(e.value).setRange(e.range)}if(e.value===null){return(new l).setNull().setRange(e.range)}if(e.value instanceof RegExp){return(new l).setRegExp(e.value).setRange(e.range)}});this.hooks.evaluate.for("LogicalExpression").tap("Parser",e=>{let t;let n;let r;if(e.operator==="&&"){t=this.evaluateExpression(e.left);n=t&&t.asBool();if(n===false)return t.setRange(e.range);if(n!==true)return;r=this.evaluateExpression(e.right);return r.setRange(e.range)}else if(e.operator==="||"){t=this.evaluateExpression(e.left);n=t&&t.asBool();if(n===true)return t.setRange(e.range);if(n!==false)return;r=this.evaluateExpression(e.right);return r.setRange(e.range)}});this.hooks.evaluate.for("BinaryExpression").tap("Parser",e=>{let t;let n;let r;if(e.operator==="+"){t=this.evaluateExpression(e.left);n=this.evaluateExpression(e.right);if(!t||!n)return;r=new l;if(t.isString()){if(n.isString()){r.setString(t.string+n.string)}else if(n.isNumber()){r.setString(t.string+n.number)}else if(n.isWrapped()&&n.prefix&&n.prefix.isString()){r.setWrapped((new l).setString(t.string+n.prefix.string).setRange(p(t.range,n.prefix.range)),n.postfix,n.wrappedInnerExpressions)}else if(n.isWrapped()){r.setWrapped(t,n.postfix,n.wrappedInnerExpressions)}else{r.setWrapped(t,null,[n])}}else if(t.isNumber()){if(n.isString()){r.setString(t.number+n.string)}else if(n.isNumber()){r.setNumber(t.number+n.number)}else{return}}else if(t.isWrapped()){if(t.postfix&&t.postfix.isString()&&n.isString()){r.setWrapped(t.prefix,(new l).setString(t.postfix.string+n.string).setRange(p(t.postfix.range,n.range)),t.wrappedInnerExpressions)}else if(t.postfix&&t.postfix.isString()&&n.isNumber()){r.setWrapped(t.prefix,(new l).setString(t.postfix.string+n.number).setRange(p(t.postfix.range,n.range)),t.wrappedInnerExpressions)}else if(n.isString()){r.setWrapped(t.prefix,n,t.wrappedInnerExpressions)}else if(n.isNumber()){r.setWrapped(t.prefix,(new l).setString(n.number+"").setRange(n.range),t.wrappedInnerExpressions)}else if(n.isWrapped()){r.setWrapped(t.prefix,n.postfix,t.wrappedInnerExpressions&&n.wrappedInnerExpressions&&t.wrappedInnerExpressions.concat(t.postfix?[t.postfix]:[]).concat(n.prefix?[n.prefix]:[]).concat(n.wrappedInnerExpressions))}else{r.setWrapped(t.prefix,null,t.wrappedInnerExpressions&&t.wrappedInnerExpressions.concat(t.postfix?[t.postfix,n]:[n]))}}else{if(n.isString()){r.setWrapped(null,n,[t])}else if(n.isWrapped()){r.setWrapped(null,n.postfix,n.wrappedInnerExpressions&&(n.prefix?[t,n.prefix]:[t]).concat(n.wrappedInnerExpressions))}else{return}}r.setRange(e.range);return r}else if(e.operator==="-"){t=this.evaluateExpression(e.left);n=this.evaluateExpression(e.right);if(!t||!n)return;if(!t.isNumber()||!n.isNumber())return;r=new l;r.setNumber(t.number-n.number);r.setRange(e.range);return r}else if(e.operator==="*"){t=this.evaluateExpression(e.left);n=this.evaluateExpression(e.right);if(!t||!n)return;if(!t.isNumber()||!n.isNumber())return;r=new l;r.setNumber(t.number*n.number);r.setRange(e.range);return r}else if(e.operator==="/"){t=this.evaluateExpression(e.left);n=this.evaluateExpression(e.right);if(!t||!n)return;if(!t.isNumber()||!n.isNumber())return;r=new l;r.setNumber(t.number/n.number);r.setRange(e.range);return r}else if(e.operator==="**"){t=this.evaluateExpression(e.left);n=this.evaluateExpression(e.right);if(!t||!n)return;if(!t.isNumber()||!n.isNumber())return;r=new l;r.setNumber(Math.pow(t.number,n.number));r.setRange(e.range);return r}else if(e.operator==="=="||e.operator==="==="){t=this.evaluateExpression(e.left);n=this.evaluateExpression(e.right);if(!t||!n)return;r=new l;r.setRange(e.range);if(t.isString()&&n.isString()){return r.setBoolean(t.string===n.string)}else if(t.isNumber()&&n.isNumber()){return r.setBoolean(t.number===n.number)}else if(t.isBoolean()&&n.isBoolean()){return r.setBoolean(t.bool===n.bool)}}else if(e.operator==="!="||e.operator==="!=="){t=this.evaluateExpression(e.left);n=this.evaluateExpression(e.right);if(!t||!n)return;r=new l;r.setRange(e.range);if(t.isString()&&n.isString()){return r.setBoolean(t.string!==n.string)}else if(t.isNumber()&&n.isNumber()){return r.setBoolean(t.number!==n.number)}else if(t.isBoolean()&&n.isBoolean()){return r.setBoolean(t.bool!==n.bool)}}else if(e.operator==="&"){t=this.evaluateExpression(e.left);n=this.evaluateExpression(e.right);if(!t||!n)return;if(!t.isNumber()||!n.isNumber())return;r=new l;r.setNumber(t.number&n.number);r.setRange(e.range);return r}else if(e.operator==="|"){t=this.evaluateExpression(e.left);n=this.evaluateExpression(e.right);if(!t||!n)return;if(!t.isNumber()||!n.isNumber())return;r=new l;r.setNumber(t.number|n.number);r.setRange(e.range);return r}else if(e.operator==="^"){t=this.evaluateExpression(e.left);n=this.evaluateExpression(e.right);if(!t||!n)return;if(!t.isNumber()||!n.isNumber())return;r=new l;r.setNumber(t.number^n.number);r.setRange(e.range);return r}else if(e.operator===">>>"){t=this.evaluateExpression(e.left);n=this.evaluateExpression(e.right);if(!t||!n)return;if(!t.isNumber()||!n.isNumber())return;r=new l;r.setNumber(t.number>>>n.number);r.setRange(e.range);return r}else if(e.operator===">>"){t=this.evaluateExpression(e.left);n=this.evaluateExpression(e.right);if(!t||!n)return;if(!t.isNumber()||!n.isNumber())return;r=new l;r.setNumber(t.number>>n.number);r.setRange(e.range);return r}else if(e.operator==="<<"){t=this.evaluateExpression(e.left);n=this.evaluateExpression(e.right);if(!t||!n)return;if(!t.isNumber()||!n.isNumber())return;r=new l;r.setNumber(t.number<{if(e.operator==="typeof"){let t;let n;if(e.argument.type==="Identifier"){n=this.scope.renames.get(e.argument.name)||e.argument.name;if(!this.scope.definitions.has(n)){const r=this.hooks.evaluateTypeof.get(n);if(r!==undefined){t=r.call(e);if(t!==undefined)return t}}}if(e.argument.type==="MemberExpression"){const n=this.getNameForExpression(e.argument);if(n&&n.free){const r=this.hooks.evaluateTypeof.get(n.name);if(r!==undefined){t=r.call(e);if(t!==undefined)return t}}}if(e.argument.type==="FunctionExpression"){return(new l).setString("function").setRange(e.range)}const r=this.evaluateExpression(e.argument);if(r.isString()||r.isWrapped()){return(new l).setString("string").setRange(e.range)}if(r.isNumber()){return(new l).setString("number").setRange(e.range)}if(r.isBoolean()){return(new l).setString("boolean").setRange(e.range)}if(r.isArray()||r.isConstArray()||r.isRegExp()){return(new l).setString("object").setRange(e.range)}}else if(e.operator==="!"){const t=this.evaluateExpression(e.argument);if(!t)return;if(t.isBoolean()){return(new l).setBoolean(!t.bool).setRange(e.range)}if(t.isTruthy()){return(new l).setBoolean(false).setRange(e.range)}if(t.isFalsy()){return(new l).setBoolean(true).setRange(e.range)}if(t.isString()){return(new l).setBoolean(!t.string).setRange(e.range)}if(t.isNumber()){return(new l).setBoolean(!t.number).setRange(e.range)}}else if(e.operator==="~"){const t=this.evaluateExpression(e.argument);if(!t)return;if(!t.isNumber())return;const n=new l;n.setNumber(~t.number);n.setRange(e.range);return n}});this.hooks.evaluateTypeof.for("undefined").tap("Parser",e=>{return(new l).setString("undefined").setRange(e.range)});this.hooks.evaluate.for("Identifier").tap("Parser",e=>{const t=this.scope.renames.get(e.name)||e.name;if(!this.scope.definitions.has(e.name)){const n=this.hooks.evaluateIdentifier.get(t);if(n!==undefined){const t=n.call(e);if(t)return t}return(new l).setIdentifier(t).setRange(e.range)}else{const n=this.hooks.evaluateDefinedIdentifier.get(t);if(n!==undefined){return n.call(e)}}});this.hooks.evaluate.for("ThisExpression").tap("Parser",e=>{const t=this.scope.renames.get("this");if(t){const n=this.hooks.evaluateIdentifier.get(t);if(n!==undefined){const t=n.call(e);if(t)return t}return(new l).setIdentifier(t).setRange(e.range)}});this.hooks.evaluate.for("MemberExpression").tap("Parser",e=>{let t=this.getNameForExpression(e);if(t){if(t.free){const n=this.hooks.evaluateIdentifier.get(t.name);if(n!==undefined){const t=n.call(e);if(t)return t}return(new l).setIdentifier(t.name).setRange(e.range)}else{const n=this.hooks.evaluateDefinedIdentifier.get(t.name);if(n!==undefined){return n.call(e)}}}});this.hooks.evaluate.for("CallExpression").tap("Parser",e=>{if(e.callee.type!=="MemberExpression")return;if(e.callee.property.type!==(e.callee.computed?"Literal":"Identifier"))return;const t=this.evaluateExpression(e.callee.object);if(!t)return;const n=e.callee.property.name||e.callee.property.value;const r=this.hooks.evaluateCallExpressionMember.get(n);if(r!==undefined){return r.call(e,t)}});this.hooks.evaluateCallExpressionMember.for("replace").tap("Parser",(e,t)=>{if(!t.isString())return;if(e.arguments.length!==2)return;let n=this.evaluateExpression(e.arguments[0]);let r=this.evaluateExpression(e.arguments[1]);if(!n.isString()&&!n.isRegExp())return;n=n.regExp||n.string;if(!r.isString())return;r=r.string;return(new l).setString(t.string.replace(n,r)).setRange(e.range)});["substr","substring"].forEach(e=>{this.hooks.evaluateCallExpressionMember.for(e).tap("Parser",(t,n)=>{if(!n.isString())return;let r;let s,i=n.string;switch(t.arguments.length){case 1:r=this.evaluateExpression(t.arguments[0]);if(!r.isNumber())return;s=i[e](r.number);break;case 2:{r=this.evaluateExpression(t.arguments[0]);const n=this.evaluateExpression(t.arguments[1]);if(!r.isNumber())return;if(!n.isNumber())return;s=i[e](r.number,n.number);break}default:return}return(new l).setString(s).setRange(t.range)})});const e=(e,t)=>{const n=[];const r=[];for(let s=0;s0){const e=r[r.length-1];const n=this.evaluateExpression(t.expressions[s-1]);const a=n.asString();if(typeof a==="string"){e.setString(e.string+a+o);e.setRange([e.range[0],i.range[1]]);e.setExpression(undefined);continue}r.push(n)}const a=(new l).setString(o).setRange(i.range).setExpression(i);n.push(a);r.push(a)}return{quasis:n,parts:r}};this.hooks.evaluate.for("TemplateLiteral").tap("Parser",t=>{const{quasis:n,parts:r}=e("cooked",t);if(r.length===1){return r[0].setRange(t.range)}return(new l).setTemplateString(n,r,"cooked").setRange(t.range)});this.hooks.evaluate.for("TaggedTemplateExpression").tap("Parser",t=>{if(this.evaluateExpression(t.tag).identifier!=="String.raw")return;const{quasis:n,parts:r}=e("raw",t.quasi);if(r.length===1){return r[0].setRange(t.range)}return(new l).setTemplateString(n,r,"raw").setRange(t.range)});this.hooks.evaluateCallExpressionMember.for("concat").tap("Parser",(e,t)=>{if(!t.isString()&&!t.isWrapped())return;let n=null;let r=false;for(let t=e.arguments.length-1;t>=0;t--){const s=this.evaluateExpression(e.arguments[t]);if(!s.isString()&&!s.isNumber()){r=true;break}const i=s.isString()?s.string:""+s.number;const o=i+(n?n.string:"");const a=[s.range[0],(n||s).range[1]];n=(new l).setString(o).setRange(a)}if(r){const r=t.isString()?t:t.prefix;return(new l).setWrapped(r,n).setRange(e.range)}else if(t.isWrapped()){const r=n||t.postfix;return(new l).setWrapped(t.prefix,r).setRange(e.range)}else{const r=t.string+(n?n.string:"");return(new l).setString(r).setRange(e.range)}});this.hooks.evaluateCallExpressionMember.for("split").tap("Parser",(e,t)=>{if(!t.isString())return;if(e.arguments.length!==1)return;let n;const r=this.evaluateExpression(e.arguments[0]);if(r.isString()){n=t.string.split(r.string)}else if(r.isRegExp()){n=t.string.split(r.regExp)}else{return}return(new l).setArray(n).setRange(e.range)});this.hooks.evaluate.for("ConditionalExpression").tap("Parser",e=>{const t=this.evaluateExpression(e.test);const n=t.asBool();let r;if(n===undefined){const t=this.evaluateExpression(e.consequent);const n=this.evaluateExpression(e.alternate);if(!t||!n)return;r=new l;if(t.isConditional()){r.setOptions(t.options)}else{r.setOptions([t])}if(n.isConditional()){r.addOptions(n.options)}else{r.addOptions([n])}}else{r=this.evaluateExpression(n?e.consequent:e.alternate)}r.setRange(e.range);return r});this.hooks.evaluate.for("ArrayExpression").tap("Parser",e=>{const t=e.elements.map(e=>{return e!==null&&this.evaluateExpression(e)});if(!t.every(Boolean))return;return(new l).setItems(t).setRange(e.range)})}getRenameIdentifier(e){const t=this.evaluateExpression(e);if(t&&t.isIdentifier()){return t.identifier}}walkClass(e){if(e.superClass)this.walkExpression(e.superClass);if(e.body&&e.body.type==="ClassBody"){const t=this.scope.topLevelScope;this.scope.topLevelScope=false;for(const t of e.body.body){if(t.type==="MethodDefinition"){this.walkMethodDefinition(t)}}this.scope.topLevelScope=t}}walkMethodDefinition(e){if(e.computed&&e.key){this.walkExpression(e.key)}if(e.value){this.walkExpression(e.value)}}prewalkStatements(e){for(let t=0,n=e.length;t{const t=e.body;this.blockPrewalkStatements(t);this.walkStatements(t)})}walkExpressionStatement(e){this.walkExpression(e.expression)}prewalkIfStatement(e){this.prewalkStatement(e.consequent);if(e.alternate){this.prewalkStatement(e.alternate)}}walkIfStatement(e){const t=this.hooks.statementIf.call(e);if(t===undefined){this.walkExpression(e.test);this.walkStatement(e.consequent);if(e.alternate){this.walkStatement(e.alternate)}}else{if(t){this.walkStatement(e.consequent)}else if(e.alternate){this.walkStatement(e.alternate)}}}prewalkLabeledStatement(e){this.prewalkStatement(e.body)}walkLabeledStatement(e){const t=this.hooks.label.get(e.label.name);if(t!==undefined){const n=t.call(e);if(n===true)return}this.walkStatement(e.body)}prewalkWithStatement(e){this.prewalkStatement(e.body)}walkWithStatement(e){this.walkExpression(e.object);this.walkStatement(e.body)}prewalkSwitchStatement(e){this.prewalkSwitchCases(e.cases)}walkSwitchStatement(e){this.walkExpression(e.discriminant);this.walkSwitchCases(e.cases)}walkTerminatingStatement(e){if(e.argument)this.walkExpression(e.argument)}walkReturnStatement(e){this.walkTerminatingStatement(e)}walkThrowStatement(e){this.walkTerminatingStatement(e)}prewalkTryStatement(e){this.prewalkStatement(e.block)}walkTryStatement(e){if(this.scope.inTry){this.walkStatement(e.block)}else{this.scope.inTry=true;this.walkStatement(e.block);this.scope.inTry=false}if(e.handler)this.walkCatchClause(e.handler);if(e.finalizer)this.walkStatement(e.finalizer)}prewalkWhileStatement(e){this.prewalkStatement(e.body)}walkWhileStatement(e){this.walkExpression(e.test);this.walkStatement(e.body)}prewalkDoWhileStatement(e){this.prewalkStatement(e.body)}walkDoWhileStatement(e){this.walkStatement(e.body);this.walkExpression(e.test)}prewalkForStatement(e){if(e.init){if(e.init.type==="VariableDeclaration"){this.prewalkStatement(e.init)}}this.prewalkStatement(e.body)}walkForStatement(e){this.inBlockScope(()=>{if(e.init){if(e.init.type==="VariableDeclaration"){this.blockPrewalkVariableDeclaration(e.init);this.walkStatement(e.init)}else{this.walkExpression(e.init)}}if(e.test){this.walkExpression(e.test)}if(e.update){this.walkExpression(e.update)}const t=e.body;if(t.type==="BlockStatement"){this.blockPrewalkStatements(t.body);this.walkStatements(t.body)}else{this.walkStatement(t)}})}prewalkForInStatement(e){if(e.left.type==="VariableDeclaration"){this.prewalkVariableDeclaration(e.left)}this.prewalkStatement(e.body)}walkForInStatement(e){this.inBlockScope(()=>{if(e.left.type==="VariableDeclaration"){this.blockPrewalkVariableDeclaration(e.left);this.walkVariableDeclaration(e.left)}else{this.walkPattern(e.left)}this.walkExpression(e.right);const t=e.body;if(t.type==="BlockStatement"){this.blockPrewalkStatements(t.body);this.walkStatements(t.body)}else{this.walkStatement(t)}})}prewalkForOfStatement(e){if(e.left.type==="VariableDeclaration"){this.prewalkVariableDeclaration(e.left)}this.prewalkStatement(e.body)}walkForOfStatement(e){this.inBlockScope(()=>{if(e.left.type==="VariableDeclaration"){this.blockPrewalkVariableDeclaration(e.left);this.walkVariableDeclaration(e.left)}else{this.walkPattern(e.left)}this.walkExpression(e.right);const t=e.body;if(t.type==="BlockStatement"){this.blockPrewalkStatements(t.body);this.walkStatements(t.body)}else{this.walkStatement(t)}})}prewalkFunctionDeclaration(e){if(e.id){this.scope.renames.set(e.id.name,null);this.scope.definitions.add(e.id.name)}}walkFunctionDeclaration(e){const t=this.scope.topLevelScope;this.scope.topLevelScope=false;this.inFunctionScope(true,e.params,()=>{for(const t of e.params){this.walkPattern(t)}if(e.body.type==="BlockStatement"){this.detectMode(e.body.body);this.prewalkStatement(e.body);this.walkStatement(e.body)}else{this.walkExpression(e.body)}});this.scope.topLevelScope=t}prewalkImportDeclaration(e){const t=e.source.value;this.hooks.import.call(e,t);for(const n of e.specifiers){const r=n.local.name;this.scope.renames.set(r,null);this.scope.definitions.add(r);switch(n.type){case"ImportDefaultSpecifier":this.hooks.importSpecifier.call(e,t,"default",r);break;case"ImportSpecifier":this.hooks.importSpecifier.call(e,t,n.imported.name,r);break;case"ImportNamespaceSpecifier":this.hooks.importSpecifier.call(e,t,null,r);break}}}enterDeclaration(e,t){switch(e.type){case"VariableDeclaration":for(const n of e.declarations){switch(n.type){case"VariableDeclarator":{this.enterPattern(n.id,t);break}}}break;case"FunctionDeclaration":this.enterPattern(e.id,t);break;case"ClassDeclaration":this.enterPattern(e.id,t);break}}blockPrewalkExportNamedDeclaration(e){if(e.declaration){this.blockPrewalkStatement(e.declaration)}}prewalkExportNamedDeclaration(e){let t;if(e.source){t=e.source.value;this.hooks.exportImport.call(e,t)}else{this.hooks.export.call(e)}if(e.declaration){if(!this.hooks.exportDeclaration.call(e,e.declaration)){this.prewalkStatement(e.declaration);let t=0;this.enterDeclaration(e.declaration,n=>{this.hooks.exportSpecifier.call(e,n,n,t++)})}}if(e.specifiers){for(let n=0;n{let r=t.get(e);if(r===undefined||!r.call(n)){r=this.hooks.varDeclaration.get(e);if(r===undefined||!r.call(n)){this.scope.renames.set(e,null);this.scope.definitions.add(e)}}});break}}}}walkVariableDeclaration(e){for(const t of e.declarations){switch(t.type){case"VariableDeclarator":{const e=t.init&&this.getRenameIdentifier(t.init);if(e&&t.id.type==="Identifier"){const n=this.hooks.canRename.get(e);if(n!==undefined&&n.call(t.init)){const n=this.hooks.rename.get(e);if(n===undefined||!n.call(t.init)){this.scope.renames.set(t.id.name,this.scope.renames.get(e)||e);this.scope.definitions.delete(t.id.name)}break}}this.walkPattern(t.id);if(t.init)this.walkExpression(t.init);break}}}}blockPrewalkClassDeclaration(e){if(e.id){this.scope.renames.set(e.id.name,null);this.scope.definitions.add(e.id.name)}}walkClassDeclaration(e){this.walkClass(e)}prewalkSwitchCases(e){for(let t=0,n=e.length;t{if(e.param!==null){this.enterPattern(e.param,e=>{this.scope.renames.set(e,null);this.scope.definitions.add(e)});this.walkPattern(e.param)}this.prewalkStatement(e.body);this.walkStatement(e.body)})}walkPattern(e){switch(e.type){case"ArrayPattern":this.walkArrayPattern(e);break;case"AssignmentPattern":this.walkAssignmentPattern(e);break;case"MemberExpression":this.walkMemberExpression(e);break;case"ObjectPattern":this.walkObjectPattern(e);break;case"RestElement":this.walkRestElement(e);break}}walkAssignmentPattern(e){this.walkExpression(e.right);this.walkPattern(e.left)}walkObjectPattern(e){for(let t=0,n=e.properties.length;t{for(const t of e.params){this.walkPattern(t)}if(e.body.type==="BlockStatement"){this.detectMode(e.body.body);this.prewalkStatement(e.body);this.walkStatement(e.body)}else{this.walkExpression(e.body)}});this.scope.topLevelScope=t}walkArrowFunctionExpression(e){this.inFunctionScope(false,e.params,()=>{for(const t of e.params){this.walkPattern(t)}if(e.body.type==="BlockStatement"){this.detectMode(e.body.body);this.prewalkStatement(e.body);this.walkStatement(e.body)}else{this.walkExpression(e.body)}})}walkSequenceExpression(e){if(e.expressions)this.walkExpressions(e.expressions)}walkUpdateExpression(e){this.walkExpression(e.argument)}walkUnaryExpression(e){if(e.operator==="typeof"){const t=this.getNameForExpression(e.argument);if(t&&t.free){const n=this.hooks.typeof.get(t.name);if(n!==undefined){const t=n.call(e);if(t===true)return}}}this.walkExpression(e.argument)}walkLeftRightExpression(e){this.walkExpression(e.left);this.walkExpression(e.right)}walkBinaryExpression(e){this.walkLeftRightExpression(e)}walkLogicalExpression(e){const t=this.hooks.expressionLogicalOperator.call(e);if(t===undefined){this.walkLeftRightExpression(e)}else{if(t){this.walkExpression(e.right)}}}walkAssignmentExpression(e){const t=this.getRenameIdentifier(e.right);if(e.left.type==="Identifier"&&t){const n=this.hooks.canRename.get(t);if(n!==undefined&&n.call(e.right)){const n=this.hooks.rename.get(t);if(n===undefined||!n.call(e.right)){this.scope.renames.set(e.left.name,t);this.scope.definitions.delete(e.left.name)}return}}if(e.left.type==="Identifier"){const t=this.hooks.assigned.get(e.left.name);if(t===undefined||!t.call(e)){this.walkExpression(e.right)}this.scope.renames.set(e.left.name,null);const n=this.hooks.assign.get(e.left.name);if(n===undefined||!n.call(e)){this.walkExpression(e.left)}return}this.walkExpression(e.right);this.walkPattern(e.left);this.enterPattern(e.left,(e,t)=>{this.scope.renames.set(e,null)})}walkConditionalExpression(e){const t=this.hooks.expressionConditionalOperator.call(e);if(t===undefined){this.walkExpression(e.test);this.walkExpression(e.consequent);if(e.alternate){this.walkExpression(e.alternate)}}else{if(t){this.walkExpression(e.consequent)}else if(e.alternate){this.walkExpression(e.alternate)}}}walkNewExpression(e){const t=this.evaluateExpression(e.callee);if(t.isIdentifier()){const n=this.hooks.new.get(t.identifier);if(n!==undefined){const t=n.call(e);if(t===true){return}}}this.walkExpression(e.callee);if(e.arguments){this.walkExpressions(e.arguments)}}walkYieldExpression(e){if(e.argument){this.walkExpression(e.argument)}}walkTemplateLiteral(e){if(e.expressions){this.walkExpressions(e.expressions)}}walkTaggedTemplateExpression(e){if(e.tag){this.walkExpression(e.tag)}if(e.quasi&&e.quasi.expressions){this.walkExpressions(e.quasi.expressions)}}walkClassExpression(e){this.walkClass(e)}_walkIIFE(e,t,n){const r=e=>{const t=this.getRenameIdentifier(e);if(t){const n=this.hooks.canRename.get(t);if(n!==undefined&&n.call(e)){const n=this.hooks.rename.get(t);if(n===undefined||!n.call(e)){return t}}}this.walkExpression(e)};const s=e.params;const i=n?r(n):null;const o=t.map(r);const a=this.scope.topLevelScope;this.scope.topLevelScope=false;const c=s.filter((e,t)=>!o[t]);if(e.id){c.push(e.id.name)}this.inFunctionScope(true,c,()=>{if(i){this.scope.renames.set("this",i)}for(let e=0;e0){this._walkIIFE(e.callee.object,e.arguments.slice(1),e.arguments[0])}else if(e.callee.type==="FunctionExpression"){this._walkIIFE(e.callee,e.arguments,null)}else if(e.callee.type==="Import"){let t=this.hooks.importCall.call(e);if(t===true)return;if(e.arguments)this.walkExpressions(e.arguments)}else{const t=this.evaluateExpression(e.callee);if(t.isIdentifier()){const n=this.hooks.call.get(t.identifier);if(n!==undefined){let t=n.call(e);if(t===true)return}let r=t.identifier.replace(/\.[^.]+$/,"");if(r!==t.identifier){const t=this.hooks.callAnyMember.get(r);if(t!==undefined){let n=t.call(e);if(n===true)return}}}if(e.callee)this.walkExpression(e.callee);if(e.arguments)this.walkExpressions(e.arguments)}}walkMemberExpression(e){const t=this.getNameForExpression(e);if(t&&t.free){const n=this.hooks.expression.get(t.name);if(n!==undefined){const t=n.call(e);if(t===true)return}const r=this.hooks.expressionAnyMember.get(t.nameGeneral);if(r!==undefined){const t=r.call(e);if(t===true)return}}this.walkExpression(e.object);if(e.computed===true)this.walkExpression(e.property)}walkThisExpression(e){const t=this.hooks.expression.get("this");if(t!==undefined){t.call(e)}}walkIdentifier(e){if(!this.scope.definitions.has(e.name)){const t=this.hooks.expression.get(this.scope.renames.get(e.name)||e.name);if(t!==undefined){const n=t.call(e);if(n===true)return}}}inScope(e,t){const n=this.scope;this.scope={topLevelScope:n.topLevelScope,inTry:false,inShorthand:false,isStrict:n.isStrict,isAsmJs:n.isAsmJs,definitions:n.definitions.createChild(),renames:n.renames.createChild()};this.scope.renames.set("this",null);this.enterPatterns(e,e=>{this.scope.renames.set(e,null);this.scope.definitions.add(e)});t();this.scope=n}inFunctionScope(e,t,n){const r=this.scope;this.scope={topLevelScope:r.topLevelScope,inTry:false,inShorthand:false,isStrict:r.isStrict,isAsmJs:r.isAsmJs,definitions:r.definitions.createChild(),renames:r.renames.createChild()};if(e){this.scope.renames.set("this",null)}this.enterPatterns(t,e=>{this.scope.renames.set(e,null);this.scope.definitions.add(e)});n();this.scope=r}inBlockScope(e){const t=this.scope;this.scope={topLevelScope:t.topLevelScope,inTry:t.inTry,inShorthand:false,isStrict:t.isStrict,isAsmJs:t.isAsmJs,definitions:t.definitions.createChild(),renames:t.renames.createChild()};e();this.scope=t}detectStrictMode(e){this.detectMode(e)}detectMode(e){const t=e.length>=1&&e[0].type==="ExpressionStatement"&&e[0].expression.type==="Literal";if(t&&e[0].expression.value==="use strict"){this.scope.isStrict=true}if(t&&e[0].expression.value==="use asm"){this.scope.isAsmJs=true}}enterPatterns(e,t){for(const n of e){if(typeof n!=="string"){this.enterPattern(n,t)}else if(n){t(n)}}}enterPattern(e,t){if(!e)return;switch(e.type){case"ArrayPattern":this.enterArrayPattern(e,t);break;case"AssignmentPattern":this.enterAssignmentPattern(e,t);break;case"Identifier":this.enterIdentifier(e,t);break;case"ObjectPattern":this.enterObjectPattern(e,t);break;case"RestElement":this.enterRestElement(e,t);break;case"Property":this.enterPattern(e.value,t);break}}enterIdentifier(e,t){t(e.name,e)}enterObjectPattern(e,t){for(let n=0,r=e.properties.length;nt.range[0]>=e[0]&&t.range[1]<=e[1])}parseCommentOptions(e){const t=this.getComments(e);if(t.length===0){return m}let n={};let r=[];for(const e of t){const{value:t}=e;if(t&&h.test(t)){try{const s=c.runInNewContext(`(function(){return {${t}};})()`);Object.assign(n,s)}catch(t){t.comment=e;r.push(t)}}}return{options:n,errors:r}}getNameForExpression(e){let t=e;const n=[];while(t.type==="MemberExpression"&&t.property.type===(t.computed?"Literal":"Identifier")){n.push(t.computed?t.property.value:t.property.name);t=t.object}let r;if(t.type==="Identifier"){r=!this.scope.definitions.has(t.name);n.push(this.scope.renames.get(t.name)||t.name)}else if(t.type==="ThisExpression"&&this.scope.renames.get("this")){r=true;n.push(this.scope.renames.get("this"))}else if(t.type==="ThisExpression"){r=this.scope.topLevelScope;n.push("this")}else{return null}let s="";for(let e=n.length-1;e>=2;e--){s+=n[e]+"."}if(n.length>1){s+=n[1]}const i=s?s+"."+n[0]:n[0];const o=s;return{name:i,nameGeneral:o,free:r}}static parse(e,t){const n=t?t.sourceType:"module";const r=Object.assign(Object.create(null),d,t);if(n==="auto"){r.sourceType="module"}else if(r.sourceType==="script"){r.allowReturnOutsideFunction=true}let s;let i;let o=false;try{s=f.parse(e,r)}catch(e){i=e;o=true}if(o&&n==="auto"){r.sourceType="script";r.allowReturnOutsideFunction=true;if(Array.isArray(r.onComment)){r.onComment.length=0}try{s=f.parse(e,r);o=false}catch(e){o=true}}if(o){throw i}return s}}Object.defineProperty(Parser.prototype,"getCommentOptions",{configurable:false,value:a.deprecate(function(e){return this.parseCommentOptions(e).options},"Parser.getCommentOptions: Use Parser.parseCommentOptions(range) instead")});e.exports=Parser},77466:(e,t,n)=>{"use strict";const r=n(85622);const s=n(52518);const i=n(53119);const o=n(52038);const a=t;a.addParsedVariableToModule=((e,t,n)=>{if(!e.state.current.addVariable)return false;var r=[];e.parse(n,{current:{addDependency:e=>{e.userRequest=t;r.push(e)}},module:e.state.module});e.state.current.addVariable(t,n,r);return true});a.requireFileAsExpression=((e,t)=>{var n=r.relative(e,t);if(!/^[A-Z]:/i.test(n)){n="./"+n.replace(/\\/g,"/")}return"require("+JSON.stringify(n)+")"});a.toConstantDependency=((e,t)=>{return function constDependency(n){var r=new i(t,n.range,false);r.loc=n.loc;e.state.current.addDependency(r);return true}});a.toConstantDependencyWithWebpackRequire=((e,t)=>{return function constDependencyWithWebpackRequire(n){var r=new i(t,n.range,true);r.loc=n.loc;e.state.current.addDependency(r);return true}});a.evaluateToString=(e=>{return function stringExpression(t){return(new s).setString(e).setRange(t.range)}});a.evaluateToBoolean=(e=>{return function booleanExpression(t){return(new s).setBoolean(e).setRange(t.range)}});a.evaluateToIdentifier=((e,t)=>{return function identifierExpression(n){let r=(new s).setIdentifier(e).setRange(n.range);if(t===true){r=r.setTruthy()}else if(t===false){r=r.setFalsy()}return r}});a.expressionIsUnsupported=((e,t)=>{return function unsupportedExpression(n){var r=new i("(void 0)",n.range,false);r.loc=n.loc;e.state.current.addDependency(r);if(!e.state.module)return;e.state.module.warnings.push(new o(e.state.module,t,n.loc));return true}});a.skipTraversal=function skipTraversal(){return true};a.approve=function approve(){return true}},72158:(e,t,n)=>{"use strict";const r=n(98373);class PrefetchPlugin{constructor(e,t){if(!t){this.request=e}else{this.context=e;this.request=t}}apply(e){e.hooks.compilation.tap("PrefetchPlugin",(e,{normalModuleFactory:t})=>{e.dependencyFactories.set(r,t)});e.hooks.make.tapAsync("PrefetchPlugin",(t,n)=>{t.prefetch(this.context||e.context,new r(this.request),n)})}}e.exports=PrefetchPlugin},57743:(e,t,n)=>{"use strict";const r=n(33225);const s=n(26336);const i=(e,t)=>{let n;let r;const s=(s,i,...o)=>{t.status(`${Math.floor(s*100)}%`,i,...o);if(e){let e=i;e=e.replace(/^\d+\/\d+\s+/,"");if(s===0){n=null;r=Date.now()}else if(e!==n||s===1){const s=Date.now();if(n){const e=s-r;const i=`${e}ms ${n}`;if(e>1e3){t.warn(i)}else if(e>10){t.info(i)}else if(e>0){t.log(i)}else{t.debug(i)}}n=e;r=s}}if(s===1)t.status()};return s};class ProgressPlugin{constructor(e){if(typeof e==="function"){e={handler:e}}e=e||{};r(s,e,"Progress Plugin");e=Object.assign({},ProgressPlugin.defaultOptions,e);this.profile=e.profile;this.handler=e.handler;this.modulesCount=e.modulesCount;this.showEntries=e.entries;this.showModules=e.modules;this.showActiveModules=e.activeModules}apply(e){const{modulesCount:t}=this;const n=this.handler||i(this.profile,e.getInfrastructureLogger("webpack.Progress"));const r=this.showEntries;const s=this.showModules;const o=this.showActiveModules;if(e.compilers){const t=new Array(e.compilers.length);e.compilers.forEach((e,r)=>{new ProgressPlugin((e,s,...i)=>{t[r]=[e,s,...i];n(t.map(e=>e&&e[0]||0).reduce((e,t)=>e+t)/t.length,`[${r}] ${s}`,...i)}).apply(e)})}else{let i=0;let a=0;let c=t;let l=1;let u=0;let f=0;const p=new Set;let d="";const h=()=>{const e=u/Math.max(i,c);const t=f/Math.max(a,l);const h=[.1+Math.max(e,t)*.6,"building"];if(r){h.push(`${f}/${l} entries`)}if(s){h.push(`${u}/${c} modules`)}if(o){h.push(`${p.size} active`);h.push(d)}n(...h)};const m=e=>{c++;if(o){const t=e.identifier();if(t){p.add(t);d=t}}h()};const y=(e,t)=>{l++;h()};const g=e=>{u++;if(o){const t=e.identifier();if(t){p.delete(t);if(d===t){d="";for(const e of p){d=e}}}}h()};const v=(e,t)=>{f++;h()};e.hooks.compilation.tap("ProgressPlugin",e=>{if(e.compiler.isChild())return;i=c;a=l;c=l=0;u=f=0;n(0,"compiling");e.hooks.buildModule.tap("ProgressPlugin",m);e.hooks.failedModule.tap("ProgressPlugin",g);e.hooks.succeedModule.tap("ProgressPlugin",g);e.hooks.addEntry.tap("ProgressPlugin",y);e.hooks.failedEntry.tap("ProgressPlugin",v);e.hooks.succeedEntry.tap("ProgressPlugin",v);const t={finishModules:"finish module graph",seal:"sealing",beforeChunks:"chunk graph",afterChunks:"after chunk graph",optimizeDependenciesBasic:"basic dependencies optimization",optimizeDependencies:"dependencies optimization",optimizeDependenciesAdvanced:"advanced dependencies optimization",afterOptimizeDependencies:"after dependencies optimization",optimize:"optimizing",optimizeModulesBasic:"basic module optimization",optimizeModules:"module optimization",optimizeModulesAdvanced:"advanced module optimization",afterOptimizeModules:"after module optimization",optimizeChunksBasic:"basic chunk optimization",optimizeChunks:"chunk optimization",optimizeChunksAdvanced:"advanced chunk optimization",afterOptimizeChunks:"after chunk optimization",optimizeTree:"module and chunk tree optimization",afterOptimizeTree:"after module and chunk tree optimization",optimizeChunkModulesBasic:"basic chunk modules optimization",optimizeChunkModules:"chunk modules optimization",optimizeChunkModulesAdvanced:"advanced chunk modules optimization",afterOptimizeChunkModules:"after chunk modules optimization",reviveModules:"module reviving",optimizeModuleOrder:"module order optimization",advancedOptimizeModuleOrder:"advanced module order optimization",beforeModuleIds:"before module ids",moduleIds:"module ids",optimizeModuleIds:"module id optimization",afterOptimizeModuleIds:"module id optimization",reviveChunks:"chunk reviving",optimizeChunkOrder:"chunk order optimization",beforeChunkIds:"before chunk ids",optimizeChunkIds:"chunk id optimization",afterOptimizeChunkIds:"after chunk id optimization",recordModules:"record modules",recordChunks:"record chunks",beforeHash:"hashing",afterHash:"after hashing",recordHash:"record hash",beforeModuleAssets:"module assets processing",beforeChunkAssets:"chunk assets processing",additionalChunkAssets:"additional chunk assets processing",record:"recording",additionalAssets:"additional asset processing",optimizeChunkAssets:"chunk asset optimization",afterOptimizeChunkAssets:"after chunk asset optimization",optimizeAssets:"asset optimization",afterOptimizeAssets:"after asset optimization",afterSeal:"after seal"};const r=Object.keys(t).length;Object.keys(t).forEach((s,i)=>{const o=t[s];const a=i/r*.25+.7;e.hooks[s].intercept({name:"ProgressPlugin",context:true,call:()=>{n(a,o)},tap:(e,t)=>{if(e){e.reportProgress=((e,...r)=>{n(a,o,t.name,...r)})}n(a,o,t.name)}})})});e.hooks.emit.intercept({name:"ProgressPlugin",context:true,call:()=>{n(.95,"emitting")},tap:(e,t)=>{if(e){e.reportProgress=((e,...r)=>{n(.95,"emitting",t.name,...r)})}n(.95,"emitting",t.name)}});e.hooks.afterEmit.intercept({name:"ProgressPlugin",context:true,call:()=>{n(.98,"after emitting")},tap:(e,t)=>{if(e){e.reportProgress=((e,...r)=>{n(.98,"after emitting",t.name,...r)})}n(.98,"after emitting",t.name)}});e.hooks.done.tap("ProgressPlugin",()=>{n(1,"")})}}}ProgressPlugin.defaultOptions={profile:false,modulesCount:500,modules:true,activeModules:true,entries:false};e.exports=ProgressPlugin},605:(e,t,n)=>{"use strict";const r=n(77466);const s=n(53119);const i=n(47742);class ProvidePlugin{constructor(e){this.definitions=e}apply(e){const t=this.definitions;e.hooks.compilation.tap("ProvidePlugin",(e,{normalModuleFactory:n})=>{e.dependencyFactories.set(s,new i);e.dependencyTemplates.set(s,new s.Template);const o=(e,n)=>{Object.keys(t).forEach(n=>{var s=[].concat(t[n]);var i=n.split(".");if(i.length>0){i.slice(1).forEach((t,n)=>{const s=i.slice(0,n+1).join(".");e.hooks.canRename.for(s).tap("ProvidePlugin",r.approve)})}e.hooks.expression.for(n).tap("ProvidePlugin",t=>{let i=n;const o=n.includes(".");let a=`require(${JSON.stringify(s[0])})`;if(o){i=`__webpack_provided_${n.replace(/\./g,"_dot_")}`}if(s.length>1){a+=s.slice(1).map(e=>`[${JSON.stringify(e)}]`).join("")}if(!r.addParsedVariableToModule(e,i,a)){return false}if(o){r.toConstantDependency(e,i)(t)}return true})})};n.hooks.parser.for("javascript/auto").tap("ProvidePlugin",o);n.hooks.parser.for("javascript/dynamic").tap("ProvidePlugin",o)})}}e.exports=ProvidePlugin},78881:(e,t,n)=>{"use strict";const r=n(3285);const{OriginalSource:s,RawSource:i}=n(50932);e.exports=class RawModule extends r{constructor(e,t,n){super("javascript/dynamic",null);this.sourceStr=e;this.identifierStr=t||this.sourceStr;this.readableIdentifierStr=n||this.identifierStr;this.built=false}identifier(){return this.identifierStr}size(){return this.sourceStr.length}readableIdentifier(e){return e.shorten(this.readableIdentifierStr)}needRebuild(){return false}build(e,t,n,r,s){this.built=true;this.buildMeta={};this.buildInfo={cacheable:true};s()}source(){if(this.useSourceMap){return new s(this.sourceStr,this.identifier())}else{return new i(this.sourceStr)}}updateHash(e){e.update(this.sourceStr);super.updateHash(e)}}},42080:(e,t,n)=>{"use strict";const r=n(88540);class RecordIdsPlugin{constructor(e){this.options=e||{}}apply(e){const t=this.options.portableIds;e.hooks.compilation.tap("RecordIdsPlugin",n=>{n.hooks.recordModules.tap("RecordIdsPlugin",(s,i)=>{if(!i.modules)i.modules={};if(!i.modules.byIdentifier)i.modules.byIdentifier={};if(!i.modules.usedIds)i.modules.usedIds={};for(const o of s){if(typeof o.id!=="number")continue;const s=t?r.makePathsRelative(e.context,o.identifier(),n.cache):o.identifier();i.modules.byIdentifier[s]=o.id;i.modules.usedIds[o.id]=o.id}});n.hooks.reviveModules.tap("RecordIdsPlugin",(s,i)=>{if(!i.modules)return;if(i.modules.byIdentifier){const o=new Set;for(const a of s){if(a.id!==null)continue;const s=t?r.makePathsRelative(e.context,a.identifier(),n.cache):a.identifier();const c=i.modules.byIdentifier[s];if(c===undefined)continue;if(o.has(c))continue;o.add(c);a.id=c}}if(Array.isArray(i.modules.usedIds)){n.usedModuleIds=new Set(i.modules.usedIds)}});const s=s=>{if(t){return r.makePathsRelative(e.context,s.identifier(),n.cache)}return s.identifier()};const i=e=>{const t=[];for(const n of e.groupsIterable){const r=n.chunks.indexOf(e);if(n.name){t.push(`${r} ${n.name}`)}else{for(const e of n.origins){if(e.module){if(e.request){t.push(`${r} ${s(e.module)} ${e.request}`)}else if(typeof e.loc==="string"){t.push(`${r} ${s(e.module)} ${e.loc}`)}else if(e.loc&&typeof e.loc==="object"&&e.loc.start){t.push(`${r} ${s(e.module)} ${JSON.stringify(e.loc.start)}`)}}}}}return t};n.hooks.recordChunks.tap("RecordIdsPlugin",(e,t)=>{if(!t.chunks)t.chunks={};if(!t.chunks.byName)t.chunks.byName={};if(!t.chunks.bySource)t.chunks.bySource={};const n=new Set;for(const r of e){if(typeof r.id!=="number")continue;const e=r.name;if(e)t.chunks.byName[e]=r.id;const s=i(r);for(const e of s){t.chunks.bySource[e]=r.id}n.add(r.id)}t.chunks.usedIds=Array.from(n).sort()});n.hooks.reviveChunks.tap("RecordIdsPlugin",(e,t)=>{if(!t.chunks)return;const r=new Set;if(t.chunks.byName){for(const n of e){if(n.id!==null)continue;if(!n.name)continue;const e=t.chunks.byName[n.name];if(e===undefined)continue;if(r.has(e))continue;r.add(e);n.id=e}}if(t.chunks.bySource){for(const n of e){const e=i(n);for(const s of e){const e=t.chunks.bySource[s];if(e===undefined)continue;if(r.has(e))continue;r.add(e);n.id=e;break}}}if(Array.isArray(t.chunks.usedIds)){n.usedChunkIds=new Set(t.chunks.usedIds)}})})}}e.exports=RecordIdsPlugin},11605:(e,t,n)=>{"use strict";const r=n(1891);e.exports=class RemovedPluginError extends r{constructor(e){super(e);Error.captureStackTrace(this,this.constructor)}}},72372:(e,t,n)=>{"use strict";const r=n(85622);const s=/\\/g;const i=/[-[\]{}()*+?.,\\^$|#\s]/g;const o=/[/\\]$/;const a=/^!|!$/g;const c=/\/index.js(!|\?|\(query\))/g;const l=/!=!/;const u=e=>{return e.replace(s,"/")};const f=e=>{const t=e.replace(i,"\\$&");return new RegExp(`(^|!)${t}`,"g")};class RequestShortener{constructor(e){e=u(e);if(o.test(e)){e=e.substr(0,e.length-1)}if(e){this.currentDirectoryRegExp=f(e)}const t=r.dirname(e);const n=o.test(t);const s=n?t.substr(0,t.length-1):t;if(s&&s!==e){this.parentDirectoryRegExp=f(`${s}/`)}if(__dirname.length>=2){const e=u(r.join(__dirname,".."));const t=this.currentDirectoryRegExp&&this.currentDirectoryRegExp.test(e);this.buildinsAsModule=t;this.buildinsRegExp=f(e)}this.cache=new Map}shorten(e){if(!e)return e;const t=this.cache.get(e);if(t!==undefined){return t}let n=u(e);if(this.buildinsAsModule&&this.buildinsRegExp){n=n.replace(this.buildinsRegExp,"!(webpack)")}if(this.currentDirectoryRegExp){n=n.replace(this.currentDirectoryRegExp,"!.")}if(this.parentDirectoryRegExp){n=n.replace(this.parentDirectoryRegExp,"!../")}if(!this.buildinsAsModule&&this.buildinsRegExp){n=n.replace(this.buildinsRegExp,"!(webpack)")}n=n.replace(c,"$1");n=n.replace(a,"");n=n.replace(l," = ");this.cache.set(e,n);return n}}e.exports=RequestShortener},80071:(e,t,n)=>{"use strict";const r=n(77466);const s=n(53119);const i=n(47742);e.exports=class RequireJsStuffPlugin{apply(e){e.hooks.compilation.tap("RequireJsStuffPlugin",(e,{normalModuleFactory:t})=>{e.dependencyFactories.set(s,new i);e.dependencyTemplates.set(s,new s.Template);const n=(e,t)=>{if(t.requireJs!==undefined&&!t.requireJs)return;e.hooks.call.for("require.config").tap("RequireJsStuffPlugin",r.toConstantDependency(e,"undefined"));e.hooks.call.for("requirejs.config").tap("RequireJsStuffPlugin",r.toConstantDependency(e,"undefined"));e.hooks.expression.for("require.version").tap("RequireJsStuffPlugin",r.toConstantDependency(e,JSON.stringify("0.0.0")));e.hooks.expression.for("requirejs.onError").tap("RequireJsStuffPlugin",r.toConstantDependencyWithWebpackRequire(e,"__webpack_require__.oe"))};t.hooks.parser.for("javascript/auto").tap("RequireJsStuffPlugin",n);t.hooks.parser.for("javascript/dynamic").tap("RequireJsStuffPlugin",n)})}}},88724:(e,t,n)=>{"use strict";const{Tapable:r,HookMap:s,SyncHook:i,SyncWaterfallHook:o}=n(41242);const a=n(51926).ResolverFactory;const{cachedCleverMerge:c}=n(61233);const l={};e.exports=class ResolverFactory extends r{constructor(){super();this.hooks={resolveOptions:new s(()=>new o(["resolveOptions"])),resolver:new s(()=>new i(["resolver","resolveOptions"]))};this._pluginCompat.tap("ResolverFactory",e=>{let t;t=/^resolve-options (.+)$/.exec(e.name);if(t){this.hooks.resolveOptions.for(t[1]).tap(e.fn.name||"unnamed compat plugin",e.fn);return true}t=/^resolver (.+)$/.exec(e.name);if(t){this.hooks.resolver.for(t[1]).tap(e.fn.name||"unnamed compat plugin",e.fn);return true}});this.cache2=new Map}get(e,t){t=t||l;const n=`${e}|${JSON.stringify(t)}`;const r=this.cache2.get(n);if(r)return r;const s=this._create(e,t);this.cache2.set(n,s);return s}_create(e,t){const n=Object.assign({},t);t=this.hooks.resolveOptions.for(e).call(t);const r=a.createResolver(t);if(!r){throw new Error("No resolver created")}const s=new Map;r.withOptions=(t=>{const r=s.get(t);if(r!==undefined)return r;const i=c(n,t);const o=this.get(e,i);s.set(t,o);return o});this.hooks.resolver.for(e).call(r,t);return r}}},59891:e=>{"use strict";const t=e=>{return t=>{return!e(t)}};const n=e=>{return t=>{for(let n=0;n{return t=>{for(let n=0;n{return RuleSet.normalizeRule(e,t,`${n}-${r}`)})}else if(e){return[RuleSet.normalizeRule(e,t,n)]}else{return[]}}static normalizeRule(e,t,n){if(typeof e==="string"){return{use:[{loader:e}]}}if(!e){throw new Error("Unexcepted null when object was expected as rule")}if(typeof e!=="object"){throw new Error("Unexcepted "+typeof e+" when object was expected as rule ("+e+")")}const r={};let s;let i;let o;const a=t=>{if(s&&s!==t){throw new Error(RuleSet.buildErrorMessage(e,new Error("Rule can only have one result source (provided "+t+" and "+s+")")))}s=t};const c=t=>{if(i&&i!==t){throw new Error(RuleSet.buildErrorMessage(e,new Error("Rule can only have one resource source (provided "+t+" and "+i+")")))}i=t};if(e.test||e.include||e.exclude){c("test + include + exclude");o={test:e.test,include:e.include,exclude:e.exclude};try{r.resource=RuleSet.normalizeCondition(o)}catch(e){throw new Error(RuleSet.buildErrorMessage(o,e))}}if(e.resource){c("resource");try{r.resource=RuleSet.normalizeCondition(e.resource)}catch(t){throw new Error(RuleSet.buildErrorMessage(e.resource,t))}}if(e.realResource){try{r.realResource=RuleSet.normalizeCondition(e.realResource)}catch(t){throw new Error(RuleSet.buildErrorMessage(e.realResource,t))}}if(e.resourceQuery){try{r.resourceQuery=RuleSet.normalizeCondition(e.resourceQuery)}catch(t){throw new Error(RuleSet.buildErrorMessage(e.resourceQuery,t))}}if(e.compiler){try{r.compiler=RuleSet.normalizeCondition(e.compiler)}catch(t){throw new Error(RuleSet.buildErrorMessage(e.compiler,t))}}if(e.issuer){try{r.issuer=RuleSet.normalizeCondition(e.issuer)}catch(t){throw new Error(RuleSet.buildErrorMessage(e.issuer,t))}}if(e.loader&&e.loaders){throw new Error(RuleSet.buildErrorMessage(e,new Error("Provided loader and loaders for rule (use only one of them)")))}const l=e.loaders||e.loader;if(typeof l==="string"&&!e.options&&!e.query){a("loader");r.use=RuleSet.normalizeUse(l.split("!"),n)}else if(typeof l==="string"&&(e.options||e.query)){a("loader + options/query");r.use=RuleSet.normalizeUse({loader:l,options:e.options,query:e.query},n)}else if(l&&(e.options||e.query)){throw new Error(RuleSet.buildErrorMessage(e,new Error("options/query cannot be used with loaders (use options for each array item)")))}else if(l){a("loaders");r.use=RuleSet.normalizeUse(l,n)}else if(e.options||e.query){throw new Error(RuleSet.buildErrorMessage(e,new Error("options/query provided without loader (use loader + options)")))}if(e.use){a("use");r.use=RuleSet.normalizeUse(e.use,n)}if(e.rules){r.rules=RuleSet.normalizeRules(e.rules,t,`${n}-rules`)}if(e.oneOf){r.oneOf=RuleSet.normalizeRules(e.oneOf,t,`${n}-oneOf`)}const u=Object.keys(e).filter(e=>{return!["resource","resourceQuery","compiler","test","include","exclude","issuer","loader","options","query","loaders","use","rules","oneOf"].includes(e)});for(const t of u){r[t]=e[t]}if(Array.isArray(r.use)){for(const e of r.use){if(e.ident){t[e.ident]=e.options}}}return r}static buildErrorMessage(e,t){const n=JSON.stringify(e,(e,t)=>{return t===undefined?"undefined":t},2);return t.message+" in "+n}static normalizeUse(e,t){if(typeof e==="function"){return n=>RuleSet.normalizeUse(e(n),t)}if(Array.isArray(e)){return e.map((e,n)=>RuleSet.normalizeUse(e,`${t}-${n}`)).reduce((e,t)=>e.concat(t),[])}return[RuleSet.normalizeUseItem(e,t)]}static normalizeUseItemString(e){const t=e.indexOf("?");if(t>=0){return{loader:e.substr(0,t),options:e.substr(t+1)}}return{loader:e,options:undefined}}static normalizeUseItem(e,t){if(typeof e==="string"){return RuleSet.normalizeUseItemString(e)}const n={};if(e.options&&e.query){throw new Error("Provided options and query in use")}if(!e.loader){throw new Error("No loader specified")}n.options=e.options||e.query;if(typeof n.options==="object"&&n.options){if(n.options.ident){n.ident=n.options.ident}else{n.ident=t}}const r=Object.keys(e).filter(function(e){return!["options","query"].includes(e)});for(const t of r){n[t]=e[t]}return n}static normalizeCondition(e){if(!e)throw new Error("Expected condition but got falsy value");if(typeof e==="string"){return t=>t.indexOf(e)===0}if(typeof e==="function"){return e}if(e instanceof RegExp){return e.test.bind(e)}if(Array.isArray(e)){const t=e.map(e=>RuleSet.normalizeCondition(e));return n(t)}if(typeof e!=="object"){throw Error("Unexcepted "+typeof e+" when condition was expected ("+e+")")}const s=[];Object.keys(e).forEach(n=>{const i=e[n];switch(n){case"or":case"include":case"test":if(i)s.push(RuleSet.normalizeCondition(i));break;case"and":if(i){const e=i.map(e=>RuleSet.normalizeCondition(e));s.push(r(e))}break;case"not":case"exclude":if(i){const e=RuleSet.normalizeCondition(i);s.push(t(e))}break;default:throw new Error("Unexcepted property "+n+" in condition")}});if(s.length===0){throw new Error("Excepted condition but got "+e)}if(s.length===1){return s[0]}return r(s)}exec(e){const t=[];this._run(e,{rules:this.rules},t);return t}_run(e,t,n){if(t.resource&&!e.resource)return false;if(t.realResource&&!e.realResource)return false;if(t.resourceQuery&&!e.resourceQuery)return false;if(t.compiler&&!e.compiler)return false;if(t.issuer&&!e.issuer)return false;if(t.resource&&!t.resource(e.resource))return false;if(t.realResource&&!t.realResource(e.realResource))return false;if(e.issuer&&t.issuer&&!t.issuer(e.issuer))return false;if(e.resourceQuery&&t.resourceQuery&&!t.resourceQuery(e.resourceQuery)){return false}if(e.compiler&&t.compiler&&!t.compiler(e.compiler)){return false}const r=Object.keys(t).filter(e=>{return!["resource","realResource","resourceQuery","compiler","issuer","rules","oneOf","use","enforce"].includes(e)});for(const e of r){n.push({type:e,value:t[e]})}if(t.use){const r=s=>{if(typeof s==="function"){r(s(e))}else if(Array.isArray(s)){s.forEach(r)}else{n.push({type:"use",value:s,enforce:t.enforce})}};r(t.use)}if(t.rules){for(let r=0;r{"use strict";const r=n(73720);e.exports=class RuntimeTemplate{constructor(e,t){this.outputOptions=e||{};this.requestShortener=t}comment({request:e,chunkName:t,chunkReason:n,message:s,exportName:i}){let o;if(this.outputOptions.pathinfo){o=[s,e,t,n].filter(Boolean).map(e=>this.requestShortener.shorten(e)).join(" | ")}else{o=[s,t,n].filter(Boolean).map(e=>this.requestShortener.shorten(e)).join(" | ")}if(!o)return"";if(this.outputOptions.pathinfo){return r.toComment(o)+" "}else{return r.toNormalComment(o)+" "}}throwMissingModuleErrorFunction({request:e}){const t=`Cannot find module '${e}'`;return`function webpackMissingModule() { var e = new Error(${JSON.stringify(t)}); e.code = 'MODULE_NOT_FOUND'; throw e; }`}missingModule({request:e}){return`!(${this.throwMissingModuleErrorFunction({request:e})}())`}missingModuleStatement({request:e}){return`${this.missingModule({request:e})};\n`}missingModulePromise({request:e}){return`Promise.resolve().then(${this.throwMissingModuleErrorFunction({request:e})})`}moduleId({module:e,request:t}){if(!e){return this.missingModule({request:t})}if(e.id===null){throw new Error(`RuntimeTemplate.moduleId(): Module ${e.identifier()} has no id. This should not happen.`)}return`${this.comment({request:t})}${JSON.stringify(e.id)}`}moduleRaw({module:e,request:t}){if(!e){return this.missingModule({request:t})}return`__webpack_require__(${this.moduleId({module:e,request:t})})`}moduleExports({module:e,request:t}){return this.moduleRaw({module:e,request:t})}moduleNamespace({module:e,request:t,strict:n}){if(!e){return this.missingModule({request:t})}const r=this.moduleId({module:e,request:t});const s=e.buildMeta&&e.buildMeta.exportsType;if(s==="namespace"){const n=this.moduleRaw({module:e,request:t});return n}else if(s==="named"){return`__webpack_require__.t(${r}, 3)`}else if(n){return`__webpack_require__.t(${r}, 1)`}else{return`__webpack_require__.t(${r}, 7)`}}moduleNamespacePromise({block:e,module:t,request:n,message:r,strict:s,weak:i}){if(!t){return this.missingModulePromise({request:n})}if(t.id===null){throw new Error(`RuntimeTemplate.moduleNamespacePromise(): Module ${t.identifier()} has no id. This should not happen.`)}const o=this.blockPromise({block:e,message:r});let a;let c=JSON.stringify(t.id);const l=this.comment({request:n});let u="";if(i){if(c.length>8){u+=`var id = ${c}; `;c="id"}u+=`if(!__webpack_require__.m[${c}]) { var e = new Error("Module '" + ${c} + "' is not available (weak dependency)"); e.code = 'MODULE_NOT_FOUND'; throw e; } `}const f=this.moduleId({module:t,request:n});const p=t.buildMeta&&t.buildMeta.exportsType;if(p==="namespace"){if(u){const e=this.moduleRaw({module:t,request:n});a=`function() { ${u}return ${e}; }`}else{a=`__webpack_require__.bind(null, ${l}${c})`}}else if(p==="named"){if(u){a=`function() { ${u}return __webpack_require__.t(${f}, 3); }`}else{a=`__webpack_require__.t.bind(null, ${l}${c}, 3)`}}else if(s){if(u){a=`function() { ${u}return __webpack_require__.t(${f}, 1); }`}else{a=`__webpack_require__.t.bind(null, ${l}${c}, 1)`}}else{if(u){a=`function() { ${u}return __webpack_require__.t(${f}, 7); }`}else{a=`__webpack_require__.t.bind(null, ${l}${c}, 7)`}}return`${o||"Promise.resolve()"}.then(${a})`}importStatement({update:e,module:t,request:n,importVar:r,originModule:s}){if(!t){return this.missingModuleStatement({request:n})}const i=this.moduleId({module:t,request:n});const o=e?"":"var ";const a=t.buildMeta&&t.buildMeta.exportsType;let c=`/* harmony import */ ${o}${r} = __webpack_require__(${i});\n`;if(!a&&!s.buildMeta.strictHarmonyModule){c+=`/* harmony import */ ${o}${r}_default = /*#__PURE__*/__webpack_require__.n(${r});\n`}if(a==="named"){if(Array.isArray(t.buildMeta.providedExports)){c+=`${o}${r}_namespace = /*#__PURE__*/__webpack_require__.t(${i}, 1);\n`}else{c+=`${o}${r}_namespace = /*#__PURE__*/__webpack_require__.t(${i});\n`}}return c}exportFromImport({module:e,request:t,exportName:n,originModule:s,asiSafe:i,isCall:o,callContext:a,importVar:c}){if(!e){return this.missingModule({request:t})}const l=e.buildMeta&&e.buildMeta.exportsType;if(!l){if(n==="default"){if(!s.buildMeta.strictHarmonyModule){if(o){return`${c}_default()`}else if(i){return`(${c}_default())`}else{return`${c}_default.a`}}else{return c}}else if(s.buildMeta.strictHarmonyModule){if(n){return"/* non-default import from non-esm module */undefined"}else{return`/*#__PURE__*/__webpack_require__.t(${c})`}}}if(l==="named"){if(n==="default"){return c}else if(!n){return`${c}_namespace`}}if(n){const t=e.isUsed(n);if(!t){const e=r.toNormalComment(`unused export ${n}`);return`${e} undefined`}const s=t!==n?r.toNormalComment(n)+" ":"";const l=`${c}[${s}${JSON.stringify(t)}]`;if(o){if(a===false&&i){return`(0,${l})`}else if(a===false){return`Object(${l})`}}return l}else{return c}}blockPromise({block:e,message:t}){if(!e||!e.chunkGroup||e.chunkGroup.chunks.length===0){const e=this.comment({message:t});return`Promise.resolve(${e.trim()})`}const n=e.chunkGroup.chunks.filter(e=>!e.hasRuntime()&&e.id!==null);const r=this.comment({message:t,chunkName:e.chunkName,chunkReason:e.chunkReason});if(n.length===1){const e=JSON.stringify(n[0].id);return`__webpack_require__.e(${r}${e})`}else if(n.length>0){const e=e=>`__webpack_require__.e(${JSON.stringify(e.id)})`;return`Promise.all(${r.trim()}[${n.map(e).join(", ")}])`}else{return`Promise.resolve(${r.trim()})`}}onError(){return"__webpack_require__.oe"}defineEsModuleFlagStatement({exportsArgument:e}){return`__webpack_require__.r(${e});\n`}}},75474:(e,t,n)=>{"use strict";const{ConcatSource:r}=n(50932);class SetVarMainTemplatePlugin{constructor(e,t){this.varExpression=e;this.copyObject=t}apply(e){const{mainTemplate:t,chunkTemplate:n}=e;const s=(e,n,s)=>{const i=t.getAssetPath(this.varExpression,{hash:s,chunk:n});if(this.copyObject){return new r(`(function(e, a) { for(var i in a) e[i] = a[i]; }(${i}, `,e,"))")}else{const t=`${i} =\n`;return new r(t,e)}};for(const e of[t,n]){e.hooks.renderWithEntry.tap("SetVarMainTemplatePlugin",s)}t.hooks.globalHashPaths.tap("SetVarMainTemplatePlugin",e=>{if(this.varExpression)e.push(this.varExpression);return e});t.hooks.hash.tap("SetVarMainTemplatePlugin",e=>{e.update("set var");e.update(`${this.varExpression}`);e.update(`${this.copyObject}`)})}}e.exports=SetVarMainTemplatePlugin},45693:(e,t,n)=>{"use strict";const r=n(44785);class SingleEntryPlugin{constructor(e,t,n){this.context=e;this.entry=t;this.name=n}apply(e){e.hooks.compilation.tap("SingleEntryPlugin",(e,{normalModuleFactory:t})=>{e.dependencyFactories.set(r,t)});e.hooks.make.tapAsync("SingleEntryPlugin",(e,t)=>{const{entry:n,name:r,context:s}=this;const i=SingleEntryPlugin.createDependency(n,r);e.addEntry(s,i,r,t)})}static createDependency(e,t){const n=new r(e);n.loc={name:t};return n}}e.exports=SingleEntryPlugin},93963:(e,t)=>{"use strict";const n=t;n.formatSize=(e=>{if(typeof e!=="number"||Number.isNaN(e)===true){return"unknown size"}if(e<=0){return"0 bytes"}const t=["bytes","KiB","MiB","GiB"];const n=Math.floor(Math.log(e)/Math.log(1024));return`${+(e/Math.pow(1024,n)).toPrecision(3)} ${t[n]}`})},51519:(e,t,n)=>{"use strict";const r=n(74491);class SourceMapDevToolModuleOptionsPlugin{constructor(e){this.options=e}apply(e){const t=this.options;if(t.module!==false){e.hooks.buildModule.tap("SourceMapDevToolModuleOptionsPlugin",e=>{e.useSourceMap=true})}if(t.lineToLine===true){e.hooks.buildModule.tap("SourceMapDevToolModuleOptionsPlugin",e=>{e.lineToLine=true})}else if(t.lineToLine){e.hooks.buildModule.tap("SourceMapDevToolModuleOptionsPlugin",e=>{if(!e.resource)return;let n=e.resource;const s=n.indexOf("?");if(s>=0)n=n.substr(0,s);e.lineToLine=r.matchObject(t.lineToLine,n)})}}}e.exports=SourceMapDevToolModuleOptionsPlugin},79202:(e,t,n)=>{"use strict";const r=n(85622);const{ConcatSource:s,RawSource:i}=n(50932);const o=n(74491);const a=n(51519);const c=n(57442);const{absolutify:l}=n(88540);const u=n(33225);const f=n(7368);const p=e=>{if(!e.includes("/"))return e;return e.substr(e.lastIndexOf("/")+1)};const d=new WeakMap;const h=(e,t,n,r,s)=>{let i,o;if(t.sourceAndMap){const e=t.sourceAndMap(r);o=e.map;i=e.source}else{o=t.map(r);i=t.source()}if(!o||typeof i!=="string")return;const a=s.options.context;const c=o.sources.map(e=>{if(e.startsWith("webpack://")){e=l(a,e.slice(10))}const t=s.findModule(e);return t||e});return{chunk:n,file:e,asset:t,source:i,sourceMap:o,modules:c}};class SourceMapDevToolPlugin{constructor(e){if(arguments.length>1){throw new Error("SourceMapDevToolPlugin only takes one argument (pass an options object)")}if(!e)e={};u(f,e,"SourceMap DevTool Plugin");this.sourceMapFilename=e.filename;this.sourceMappingURLComment=e.append===false?false:e.append||"\n//# sourceMappingURL=[url]";this.moduleFilenameTemplate=e.moduleFilenameTemplate||"webpack://[namespace]/[resourcePath]";this.fallbackModuleFilenameTemplate=e.fallbackModuleFilenameTemplate||"webpack://[namespace]/[resourcePath]?[hash]";this.namespace=e.namespace||"";this.options=e}apply(e){const t=this.sourceMapFilename;const n=this.sourceMappingURLComment;const l=this.moduleFilenameTemplate;const u=this.namespace;const f=this.fallbackModuleFilenameTemplate;const m=e.requestShortener;const y=this.options;y.test=y.test||/\.(m?js|css)($|\?)/i;const g=o.matchObject.bind(undefined,y);e.hooks.compilation.tap("SourceMapDevToolPlugin",e=>{new a(y).apply(e);e.hooks.afterOptimizeChunkAssets.tap({name:"SourceMapDevToolPlugin",context:true},(a,v)=>{const b=new Map;const w=a&&a.reportProgress?a.reportProgress:()=>{};const k=[];for(const e of v){for(const t of e.files){if(g(t)){k.push({file:t,chunk:e})}}}w(0);const x=[];k.forEach(({file:t,chunk:n},r)=>{const s=e.getAsset(t).source;const i=d.get(s);if(i&&i.file===t){for(const r in i.assets){if(r===t){e.updateAsset(r,i.assets[r])}else{e.emitAsset(r,i.assets[r],{development:true})}if(r!==t)n.files.push(r)}return}w(.5*r/k.length,t,"generate SourceMap");const a=h(t,s,n,y,e);if(a){const e=a.modules;for(let t=0;t{const n=typeof e==="string"?e:e.identifier();const r=typeof t==="string"?t:t.identifier();return n.length-r.length});for(let e=0;e{w(.5+.5*a/x.length,o.file,"attach SourceMap");const l=Object.create(null);const u=o.chunk;const f=o.file;const h=o.asset;const m=o.sourceMap;const g=o.source;const v=o.modules;const k=v.map(e=>b.get(e));m.sources=k;if(y.noSources){m.sourcesContent=undefined}m.sourceRoot=y.sourceRoot||"";m.file=f;d.set(h,{file:f,assets:l});let S=n;if(S!==false&&/\.css($|\?)/i.test(f)){S=S.replace(/^\n\/\/(.*)$/,"\n/*$1*/")}const E=JSON.stringify(m);if(t){let n=f;let o="";const a=n.indexOf("?");if(a>=0){o=n.substr(a);n=n.substr(0,a)}const d={chunk:u,filename:y.fileContext?r.relative(y.fileContext,n):n,query:o,basename:p(n),contentHash:c("md4").update(E).digest("hex")};let h=e.getPath(t,d);const m=y.publicPath?y.publicPath+h.replace(/\\/g,"/"):r.relative(r.dirname(f),h).replace(/\\/g,"/");if(S!==false){const t=new s(new i(g),e.getPath(S,Object.assign({url:m},d)));l[f]=t;e.updateAsset(f,t)}const v=new i(E);l[h]=v;e.emitAsset(h,v,{development:true});u.files.push(h)}else{if(S===false){throw new Error("SourceMapDevToolPlugin: append can't be false when no filename is provided")}const t=new s(new i(g),S.replace(/\[map\]/g,()=>E).replace(/\[url\]/g,()=>`data:application/json;charset=utf-8;base64,${Buffer.from(E,"utf-8").toString("base64")}`));l[f]=t;e.updateAsset(f,t)}});w(1)})})}}e.exports=SourceMapDevToolPlugin},45096:(e,t,n)=>{"use strict";const r=n(72372);const s=n(93963);const i=n(67929);const o=n(88540);const a=n(2536);const{LogType:c}=n(57225);const l=(...e)=>{let t=[];t.push(...e);return t.find(e=>e!==undefined)};const u=(e,t)=>{if(typeof e!==typeof t){return typeof et)return 1;return 0};class Stats{constructor(e){this.compilation=e;this.hash=e.hash;this.startTime=undefined;this.endTime=undefined}static filterWarnings(e,t){if(!t){return e}const n=[].concat(t).map(e=>{if(typeof e==="string"){return t=>t.includes(e)}if(e instanceof RegExp){return t=>e.test(t)}if(typeof e==="function"){return e}throw new Error(`Can only filter warnings with Strings or RegExps. (Given: ${e})`)});return e.filter(e=>{return!n.some(t=>t(e))})}formatFilePath(e){const t=/^(\s|\S)*!/;return e.includes("!")?`${e.replace(t,"")} (${e})`:`${e}`}hasWarnings(){return this.compilation.warnings.length>0||this.compilation.children.some(e=>e.getStats().hasWarnings())}hasErrors(){return this.compilation.errors.length>0||this.compilation.children.some(e=>e.getStats().hasErrors())}normalizeFieldKey(e){if(e[0]==="!"){return e.substr(1)}return e}sortOrderRegular(e){if(e[0]==="!"){return false}return true}toJson(e,t){if(typeof e==="boolean"||typeof e==="string"){e=Stats.presetToOptions(e)}else if(!e){e={}}const s=(t,n)=>t!==undefined?t:e.all!==undefined?e.all:n;const f=e=>{if(typeof e==="string"){const t=new RegExp(`[\\\\/]${e.replace(/[-[\]{}()*+?.\\^$|]/g,"\\$&")}([\\\\/]|$|!|\\?)`);return e=>t.test(e)}if(e&&typeof e==="object"&&typeof e.test==="function"){return t=>e.test(t)}if(typeof e==="function"){return e}if(typeof e==="boolean"){return()=>e}};const p=this.compilation;const d=l(e.context,p.compiler.context);const h=p.compiler.context===d?p.requestShortener:new r(d);const m=s(e.performance,true);const y=s(e.hash,true);const g=s(e.env,false);const v=s(e.version,true);const b=s(e.timings,true);const w=s(e.builtAt,true);const k=s(e.assets,true);const x=s(e.entrypoints,true);const S=s(e.chunkGroups,!t);const E=s(e.chunks,!t);const O=s(e.chunkModules,true);const C=s(e.chunkOrigins,!t);const M=s(e.modules,true);const A=s(e.nestedModules,true);const I=s(e.moduleAssets,!t);const T=s(e.depth,!t);const R=s(e.cached,true);const j=s(e.cachedAssets,true);const F=s(e.reasons,!t);const N=s(e.usedExports,!t);const D=s(e.providedExports,!t);const P=s(e.optimizationBailout,!t);const L=s(e.children,true);const q=s(e.source,!t);const _=s(e.moduleTrace,true);const z=s(e.errors,true);const B=s(e.errorDetails,!t);const W=s(e.warnings,true);const U=l(e.warningsFilter,null);const H=s(e.publicPath,!t);const J=s(e.logging,t?"info":true);const G=s(e.loggingTrace,!t);const X=[].concat(l(e.loggingDebug,[])).map(f);const Q=[].concat(l(e.excludeModules,e.exclude,[])).map(f);const V=[].concat(l(e.excludeAssets,[])).map(f);const K=l(e.maxModules,t?15:Infinity);const Y=l(e.modulesSort,"id");const Z=l(e.chunksSort,"id");const $=l(e.assetsSort,"");const ee=s(e.outputPath,!t);if(!R){Q.push((e,t)=>!t.built)}const te=()=>{let e=0;return t=>{if(Q.length>0){const e=h.shorten(t.resource);const n=Q.some(n=>n(e,t));if(n)return false}const n=e{return e=>{if(V.length>0){const t=e.name;const n=V.some(n=>n(t,e));if(n)return false}return j||e.emitted}};const re=(e,t,n)=>{if(t[e]===null&&n[e]===null)return 0;if(t[e]===null)return 1;if(n[e]===null)return-1;if(t[e]===n[e])return 0;if(typeof t[e]!==typeof n[e])return typeof t[e]{const n=t.reduce((e,t,n)=>{e.set(t,n);return e},new Map);return(t,r)=>{if(e){const n=this.normalizeFieldKey(e);const s=this.sortOrderRegular(e);const i=re(n,s?t:r,s?r:t);if(i)return i}return n.get(t)-n.get(r)}};const ie=e=>{let t="";if(typeof e==="string"){e={message:e}}if(e.chunk){t+=`chunk ${e.chunk.name||e.chunk.id}${e.chunk.hasRuntime()?" [entry]":e.chunk.canBeInitial()?" [initial]":""}\n`}if(e.file){t+=`${e.file}\n`}if(e.module&&e.module.readableIdentifier&&typeof e.module.readableIdentifier==="function"){t+=this.formatFilePath(e.module.readableIdentifier(h));if(typeof e.loc==="object"){const n=i(e.loc);if(n)t+=` ${n}`}t+="\n"}t+=e.message;if(B&&e.details){t+=`\n${e.details}`}if(B&&e.missing){t+=e.missing.map(e=>`\n[${e}]`).join("")}if(_&&e.origin){t+=`\n @ ${this.formatFilePath(e.origin.readableIdentifier(h))}`;if(typeof e.originLoc==="object"){const n=i(e.originLoc);if(n)t+=` ${n}`}if(e.dependencies){for(const n of e.dependencies){if(!n.loc)continue;if(typeof n.loc==="string")continue;const e=i(n.loc);if(!e)continue;t+=` ${e}`}}let n=e.origin;while(n.issuer){n=n.issuer;t+=`\n @ ${n.readableIdentifier(h)}`}}return t};const oe={errors:p.errors.map(ie),warnings:Stats.filterWarnings(p.warnings.map(ie),U)};Object.defineProperty(oe,"_showWarnings",{value:W,enumerable:false});Object.defineProperty(oe,"_showErrors",{value:z,enumerable:false});if(v){oe.version=n(71618).i8}if(y)oe.hash=this.hash;if(b&&this.startTime&&this.endTime){oe.time=this.endTime-this.startTime}if(w&&this.endTime){oe.builtAt=this.endTime}if(g&&e._env){oe.env=e._env}if(p.needAdditionalPass){oe.needAdditionalPass=true}if(H){oe.publicPath=this.compilation.mainTemplate.getPublicPath({hash:this.compilation.hash})}if(ee){oe.outputPath=this.compilation.mainTemplate.outputOptions.path}if(k){const e={};const t=p.getAssets().sort((e,t)=>e.name{const s={name:t,size:n.size(),chunks:[],chunkNames:[],info:r,emitted:n.emitted||p.emittedAssets.has(t)};if(m){s.isOverSizeLimit=n.isOverSizeLimit}e[t]=s;return s}).filter(ne());oe.filteredAssets=t.length-oe.assets.length;for(const t of p.chunks){for(const n of t.files){if(e[n]){for(const r of t.ids){e[n].chunks.push(r)}if(t.name){e[n].chunkNames.push(t.name);if(oe.assetsByChunkName[t.name]){oe.assetsByChunkName[t.name]=[].concat(oe.assetsByChunkName[t.name]).concat([n])}else{oe.assetsByChunkName[t.name]=n}}}}}oe.assets.sort(se($,oe.assets))}const ae=e=>{const t={};for(const n of e){const e=n[0];const r=n[1];const s=r.getChildrenByOrders();t[e]={chunks:r.chunks.map(e=>e.id),assets:r.chunks.reduce((e,t)=>e.concat(t.files||[]),[]),children:Object.keys(s).reduce((e,t)=>{const n=s[t];e[t]=n.map(e=>({name:e.name,chunks:e.chunks.map(e=>e.id),assets:e.chunks.reduce((e,t)=>e.concat(t.files||[]),[])}));return e},Object.create(null)),childAssets:Object.keys(s).reduce((e,t)=>{const n=s[t];e[t]=Array.from(n.reduce((e,t)=>{for(const n of t.chunks){for(const t of n.files){e.add(t)}}return e},new Set));return e},Object.create(null))};if(m){t[e].isOverSizeLimit=r.isOverSizeLimit}}return t};if(x){oe.entrypoints=ae(p.entrypoints)}if(S){oe.namedChunkGroups=ae(p.namedChunkGroups)}const ce=e=>{const t=[];let n=e;while(n.issuer){t.push(n=n.issuer)}t.reverse();const r={id:e.id,identifier:e.identifier(),name:e.readableIdentifier(h),index:e.index,index2:e.index2,size:e.size(),cacheable:e.buildInfo.cacheable,built:!!e.built,optional:e.optional,prefetched:e.prefetched,chunks:Array.from(e.chunksIterable,e=>e.id),issuer:e.issuer&&e.issuer.identifier(),issuerId:e.issuer&&e.issuer.id,issuerName:e.issuer&&e.issuer.readableIdentifier(h),issuerPath:e.issuer&&t.map(e=>({id:e.id,identifier:e.identifier(),name:e.readableIdentifier(h),profile:e.profile})),profile:e.profile,failed:!!e.error,errors:e.errors?e.errors.length:0,warnings:e.warnings?e.warnings.length:0};if(I){r.assets=Object.keys(e.buildInfo.assets||{})}if(F){r.reasons=e.reasons.sort((e,t)=>{if(e.module&&!t.module)return-1;if(!e.module&&t.module)return 1;if(e.module&&t.module){const n=u(e.module.id,t.module.id);if(n)return n}if(e.dependency&&!t.dependency)return-1;if(!e.dependency&&t.dependency)return 1;if(e.dependency&&t.dependency){const n=a(e.dependency.loc,t.dependency.loc);if(n)return n;if(e.dependency.typet.dependency.type)return 1}return 0}).map(e=>{const t={moduleId:e.module?e.module.id:null,moduleIdentifier:e.module?e.module.identifier():null,module:e.module?e.module.readableIdentifier(h):null,moduleName:e.module?e.module.readableIdentifier(h):null,type:e.dependency?e.dependency.type:null,explanation:e.explanation,userRequest:e.dependency?e.dependency.userRequest:null};if(e.dependency){const n=i(e.dependency.loc);if(n){t.loc=n}}return t})}if(N){if(e.used===true){r.usedExports=e.usedExports}else if(e.used===false){r.usedExports=false}}if(D){r.providedExports=Array.isArray(e.buildMeta.providedExports)?e.buildMeta.providedExports:null}if(P){r.optimizationBailout=e.optimizationBailout.map(e=>{if(typeof e==="function")return e(h);return e})}if(T){r.depth=e.depth}if(A){if(e.modules){const t=e.modules;r.modules=t.sort(se("depth",t)).filter(te()).map(ce);r.filteredModules=t.length-r.modules.length;r.modules.sort(se(Y,r.modules))}}if(q&&e._source){r.source=e._source.source()}return r};if(E){oe.chunks=p.chunks.map(e=>{const t=new Set;const n=new Set;const r=new Set;const s=e.getChildIdsByOrders();for(const s of e.groupsIterable){for(const e of s.parentsIterable){for(const n of e.chunks){t.add(n.id)}}for(const e of s.childrenIterable){for(const t of e.chunks){n.add(t.id)}}for(const t of s.chunks){if(t!==e)r.add(t.id)}}const o={id:e.id,rendered:e.rendered,initial:e.canBeInitial(),entry:e.hasRuntime(),recorded:e.recorded,reason:e.chunkReason,size:e.modulesSize(),names:e.name?[e.name]:[],files:e.files.slice(),hash:e.renderedHash,siblings:Array.from(r).sort(u),parents:Array.from(t).sort(u),children:Array.from(n).sort(u),childrenByOrder:s};if(O){const t=e.getModules();o.modules=t.slice().sort(se("depth",t)).filter(te()).map(ce);o.filteredModules=e.getNumberOfModules()-o.modules.length;o.modules.sort(se(Y,o.modules))}if(C){o.origins=Array.from(e.groupsIterable,e=>e.origins).reduce((e,t)=>e.concat(t),[]).map(e=>({moduleId:e.module?e.module.id:undefined,module:e.module?e.module.identifier():"",moduleIdentifier:e.module?e.module.identifier():"",moduleName:e.module?e.module.readableIdentifier(h):"",loc:i(e.loc),request:e.request,reasons:e.reasons||[]})).sort((e,t)=>{const n=u(e.moduleId,t.moduleId);if(n)return n;const r=u(e.loc,t.loc);if(r)return r;const s=u(e.request,t.request);if(s)return s;return 0})}return o});oe.chunks.sort(se(Z,oe.chunks))}if(M){oe.modules=p.modules.slice().sort(se("depth",p.modules)).filter(te()).map(ce);oe.filteredModules=p.modules.length-oe.modules.length;oe.modules.sort(se(Y,oe.modules))}if(J){const e=n(31669);oe.logging={};let t;let r=false;switch(J){case"none":t=new Set([]);break;case"error":t=new Set([c.error]);break;case"warn":t=new Set([c.error,c.warn]);break;case"info":t=new Set([c.error,c.warn,c.info]);break;case true:case"log":t=new Set([c.error,c.warn,c.info,c.log,c.group,c.groupEnd,c.groupCollapsed,c.clear]);break;case"verbose":t=new Set([c.error,c.warn,c.info,c.log,c.group,c.groupEnd,c.groupCollapsed,c.profile,c.profileEnd,c.time,c.status,c.clear]);r=true;break}for(const[n,s]of p.logging){const i=X.some(e=>e(n));let a=0;let l=s;if(!i){l=l.filter(e=>{if(!t.has(e.type))return false;if(!r){switch(e.type){case c.groupCollapsed:a++;return a===1;case c.group:if(a>0)a++;return a===0;case c.groupEnd:if(a>0){a--;return false}return true;default:return a===0}}return true})}l=l.map(t=>{let n=undefined;if(t.type===c.time){n=`${t.args[0]}: ${t.args[1]*1e3+t.args[2]/1e6}ms`}else if(t.args&&t.args.length>0){n=e.format(t.args[0],...t.args.slice(1))}return{type:(i||r)&&t.type===c.groupCollapsed?c.group:t.type,message:n,trace:G&&t.trace?t.trace:undefined}});let u=o.makePathsRelative(d,n,p.cache).replace(/\|/g," ");if(u in oe.logging){let e=1;while(`${u}#${e}`in oe.logging){e++}u=`${u}#${e}`}oe.logging[u]={entries:l,filteredEntries:s.length-l.length,debug:i}}}if(L){oe.children=p.children.map((n,r)=>{const s=Stats.getChildOptions(e,r);const i=new Stats(n).toJson(s,t);delete i.hash;delete i.version;if(n.name){i.name=o.makePathsRelative(d,n.name,p.cache)}return i})}return oe}toString(e){if(typeof e==="boolean"||typeof e==="string"){e=Stats.presetToOptions(e)}else if(!e){e={}}const t=l(e.colors,false);const n=this.toJson(e,true);return Stats.jsonToString(n,t)}static jsonToString(e,t){const n=[];const r={bold:"",yellow:"",red:"",green:"",cyan:"",magenta:""};const i=Object.keys(r).reduce((e,s)=>{e[s]=(e=>{if(t){n.push(t===true||t[s]===undefined?r[s]:t[s])}n.push(e);if(t){n.push("")}});return e},{normal:e=>n.push(e)});const o=t=>{let n=[800,400,200,100];if(e.time){n=[e.time/2,e.time/4,e.time/8,e.time/16]}if(tn.push("\n");const l=(e,t,n)=>{return e[t][n].value};const u=(e,t,n)=>{const r=e.length;const s=e[0].length;const o=new Array(s);for(let e=0;eo[n]){o[n]=r.length}}}for(let c=0;c{if(e.isOverSizeLimit){return i.yellow}return t};if(e.hash){i.normal("Hash: ");i.bold(e.hash);a()}if(e.version){i.normal("Version: webpack ");i.bold(e.version);a()}if(typeof e.time==="number"){i.normal("Time: ");i.bold(e.time);i.normal("ms");a()}if(typeof e.builtAt==="number"){const t=new Date(e.builtAt);let n=undefined;try{t.toLocaleTimeString()}catch(e){n="UTC"}i.normal("Built at: ");i.normal(t.toLocaleDateString(undefined,{day:"2-digit",month:"2-digit",year:"numeric",timeZone:n}));i.normal(" ");i.bold(t.toLocaleTimeString(undefined,{timeZone:n}));a()}if(e.env){i.normal("Environment (--env): ");i.bold(JSON.stringify(e.env,null,2));a()}if(e.publicPath){i.normal("PublicPath: ");i.bold(e.publicPath);a()}if(e.assets&&e.assets.length>0){const t=[[{value:"Asset",color:i.bold},{value:"Size",color:i.bold},{value:"Chunks",color:i.bold},{value:"",color:i.bold},{value:"",color:i.bold},{value:"Chunk Names",color:i.bold}]];for(const n of e.assets){t.push([{value:n.name,color:f(n,i.green)},{value:s.formatSize(n.size),color:f(n,i.normal)},{value:n.chunks.join(", "),color:i.bold},{value:[n.emitted&&"[emitted]",n.info.immutable&&"[immutable]",n.info.development&&"[dev]",n.info.hotModuleReplacement&&"[hmr]"].filter(Boolean).join(" "),color:i.green},{value:n.isOverSizeLimit?"[big]":"",color:f(n,i.normal)},{value:n.chunkNames.join(", "),color:i.normal}])}u(t,"rrrlll")}if(e.filteredAssets>0){i.normal(" ");if(e.assets.length>0)i.normal("+ ");i.normal(e.filteredAssets);if(e.assets.length>0)i.normal(" hidden");i.normal(e.filteredAssets!==1?" assets":" asset");a()}const p=(e,t)=>{for(const n of Object.keys(e)){const r=e[n];i.normal(`${t} `);i.bold(n);if(r.isOverSizeLimit){i.normal(" ");i.yellow("[big]")}i.normal(" =");for(const e of r.assets){i.normal(" ");i.green(e)}for(const e of Object.keys(r.childAssets)){const t=r.childAssets[e];if(t&&t.length>0){i.normal(" ");i.magenta(`(${e}:`);for(const e of t){i.normal(" ");i.green(e)}i.magenta(")")}}a()}};if(e.entrypoints){p(e.entrypoints,"Entrypoint")}if(e.namedChunkGroups){let t=e.namedChunkGroups;if(e.entrypoints){t=Object.keys(t).filter(t=>!e.entrypoints[t]).reduce((t,n)=>{t[n]=e.namedChunkGroups[n];return t},{})}p(t,"Chunk Group")}const d={};if(e.modules){for(const t of e.modules){d[`$${t.identifier}`]=t}}else if(e.chunks){for(const t of e.chunks){if(t.modules){for(const e of t.modules){d[`$${e.identifier}`]=e}}}}const h=e=>{i.normal(" ");i.normal(s.formatSize(e.size));if(e.chunks){for(const t of e.chunks){i.normal(" {");i.yellow(t);i.normal("}")}}if(typeof e.depth==="number"){i.normal(` [depth ${e.depth}]`)}if(e.cacheable===false){i.red(" [not cacheable]")}if(e.optional){i.yellow(" [optional]")}if(e.built){i.green(" [built]")}if(e.assets&&e.assets.length){i.magenta(` [${e.assets.length} asset${e.assets.length===1?"":"s"}]`)}if(e.prefetched){i.magenta(" [prefetched]")}if(e.failed)i.red(" [failed]");if(e.warnings){i.yellow(` [${e.warnings} warning${e.warnings===1?"":"s"}]`)}if(e.errors){i.red(` [${e.errors} error${e.errors===1?"":"s"}]`)}};const m=(e,t)=>{if(Array.isArray(e.providedExports)){i.normal(t);if(e.providedExports.length===0){i.cyan("[no exports]")}else{i.cyan(`[exports: ${e.providedExports.join(", ")}]`)}a()}if(e.usedExports!==undefined){if(e.usedExports!==true){i.normal(t);if(e.usedExports===null){i.cyan("[used exports unknown]")}else if(e.usedExports===false){i.cyan("[no exports used]")}else if(Array.isArray(e.usedExports)&&e.usedExports.length===0){i.cyan("[no exports used]")}else if(Array.isArray(e.usedExports)){const t=Array.isArray(e.providedExports)?e.providedExports.length:null;if(t!==null&&t===e.usedExports.length){i.cyan("[all exports used]")}else{i.cyan(`[only some exports used: ${e.usedExports.join(", ")}]`)}}a()}}if(Array.isArray(e.optimizationBailout)){for(const n of e.optimizationBailout){i.normal(t);i.yellow(n);a()}}if(e.reasons){for(const n of e.reasons){i.normal(t);if(n.type){i.normal(n.type);i.normal(" ")}if(n.userRequest){i.cyan(n.userRequest);i.normal(" ")}if(n.moduleId!==null){i.normal("[");i.normal(n.moduleId);i.normal("]")}if(n.module&&n.module!==n.moduleId){i.normal(" ");i.magenta(n.module)}if(n.loc){i.normal(" ");i.normal(n.loc)}if(n.explanation){i.normal(" ");i.cyan(n.explanation)}a()}}if(e.profile){i.normal(t);let n=0;if(e.issuerPath){for(const t of e.issuerPath){i.normal("[");i.normal(t.id);i.normal("] ");if(t.profile){const e=(t.profile.factory||0)+(t.profile.building||0);o(e);n+=e;i.normal(" ")}i.normal("-> ")}}for(const t of Object.keys(e.profile)){i.normal(`${t}:`);const r=e.profile[t];o(r);i.normal(" ");n+=r}i.normal("= ");o(n);a()}if(e.modules){y(e,t+"| ")}};const y=(e,t)=>{if(e.modules){let n=0;for(const t of e.modules){if(typeof t.id==="number"){if(n=10)r+=" ";if(n>=100)r+=" ";if(n>=1e3)r+=" ";for(const s of e.modules){i.normal(t);const e=s.name||s.identifier;if(typeof s.id==="string"||typeof s.id==="number"){if(typeof s.id==="number"){if(s.id<1e3&&n>=1e3)i.normal(" ");if(s.id<100&&n>=100)i.normal(" ");if(s.id<10&&n>=10)i.normal(" ")}else{if(n>=1e3)i.normal(" ");if(n>=100)i.normal(" ");if(n>=10)i.normal(" ")}if(e!==s.id){i.normal("[");i.normal(s.id);i.normal("]");i.normal(" ")}else{i.normal("[");i.bold(s.id);i.normal("]")}}if(e!==s.id){i.bold(e)}h(s);a();m(s,r)}if(e.filteredModules>0){i.normal(t);i.normal(" ");if(e.modules.length>0)i.normal(" + ");i.normal(e.filteredModules);if(e.modules.length>0)i.normal(" hidden");i.normal(e.filteredModules!==1?" modules":" module");a()}}};if(e.chunks){for(const t of e.chunks){i.normal("chunk ");if(t.id<1e3)i.normal(" ");if(t.id<100)i.normal(" ");if(t.id<10)i.normal(" ");i.normal("{");i.yellow(t.id);i.normal("} ");i.green(t.files.join(", "));if(t.names&&t.names.length>0){i.normal(" (");i.normal(t.names.join(", "));i.normal(")")}i.normal(" ");i.normal(s.formatSize(t.size));for(const e of t.parents){i.normal(" <{");i.yellow(e);i.normal("}>")}for(const e of t.siblings){i.normal(" ={");i.yellow(e);i.normal("}=")}for(const e of t.children){i.normal(" >{");i.yellow(e);i.normal("}<")}if(t.childrenByOrder){for(const e of Object.keys(t.childrenByOrder)){const n=t.childrenByOrder[e];i.normal(" ");i.magenta(`(${e}:`);for(const e of n){i.normal(" {");i.yellow(e);i.normal("}")}i.magenta(")")}}if(t.entry){i.yellow(" [entry]")}else if(t.initial){i.yellow(" [initial]")}if(t.rendered){i.green(" [rendered]")}if(t.recorded){i.green(" [recorded]")}if(t.reason){i.yellow(` ${t.reason}`)}a();if(t.origins){for(const e of t.origins){i.normal(" > ");if(e.reasons&&e.reasons.length){i.yellow(e.reasons.join(" "));i.normal(" ")}if(e.request){i.normal(e.request);i.normal(" ")}if(e.module){i.normal("[");i.normal(e.moduleId);i.normal("] ");const t=d[`$${e.module}`];if(t){i.bold(t.name);i.normal(" ")}}if(e.loc){i.normal(e.loc)}a()}}y(t," ")}}y(e,"");if(e.logging){for(const t of Object.keys(e.logging)){const n=e.logging[t];if(n.entries.length>0){a();if(n.debug){i.red("DEBUG ")}i.bold("LOG from "+t);a();let e="";for(const t of n.entries){let n=i.normal;let r=" ";switch(t.type){case c.clear:i.normal(`${e}-------`);a();continue;case c.error:n=i.red;r=" ";break;case c.warn:n=i.yellow;r=" ";break;case c.info:n=i.green;r=" ";break;case c.log:n=i.bold;break;case c.trace:case c.debug:n=i.normal;break;case c.status:n=i.magenta;r=" ";break;case c.profile:n=i.magenta;r="

";break;case c.profileEnd:n=i.magenta;r="

";break;case c.time:n=i.magenta;r=" ";break;case c.group:n=i.cyan;r="<-> ";break;case c.groupCollapsed:n=i.cyan;r="<+> ";break;case c.groupEnd:if(e.length>=2)e=e.slice(0,e.length-2);continue}if(t.message){for(const s of t.message.split("\n")){i.normal(`${e}${r}`);n(s);a()}}if(t.trace){for(const n of t.trace){i.normal(`${e}| ${n}`);a()}}switch(t.type){case c.group:e+=" ";break}}if(n.filteredEntries){i.normal(`+ ${n.filteredEntries} hidden lines`);a()}}}}if(e._showWarnings&&e.warnings){for(const t of e.warnings){a();i.yellow(`WARNING in ${t}`);a()}}if(e._showErrors&&e.errors){for(const t of e.errors){a();i.red(`ERROR in ${t}`);a()}}if(e.children){for(const r of e.children){const e=Stats.jsonToString(r,t);if(e){if(r.name){i.normal("Child ");i.bold(r.name);i.normal(":")}else{i.normal("Child")}a();n.push(" ");n.push(e.replace(/\n/g,"\n "));a()}}}if(e.needAdditionalPass){i.yellow("Compilation needs an additional pass and will compile again.")}while(n[n.length-1]==="\n"){n.pop()}return n.join("")}static presetToOptions(e){const t=typeof e==="string"&&e.toLowerCase()||e||"none";switch(t){case"none":return{all:false};case"verbose":return{entrypoints:true,chunkGroups:true,modules:false,chunks:true,chunkModules:true,chunkOrigins:true,depth:true,env:true,reasons:true,usedExports:true,providedExports:true,optimizationBailout:true,errorDetails:true,publicPath:true,logging:"verbose",exclude:false,maxModules:Infinity};case"detailed":return{entrypoints:true,chunkGroups:true,chunks:true,chunkModules:false,chunkOrigins:true,depth:true,usedExports:true,providedExports:true,optimizationBailout:true,errorDetails:true,publicPath:true,logging:true,exclude:false,maxModules:Infinity};case"minimal":return{all:false,modules:true,maxModules:0,errors:true,warnings:true,logging:"warn"};case"errors-only":return{all:false,errors:true,moduleTrace:true,logging:"error"};case"errors-warnings":return{all:false,errors:true,warnings:true,logging:"warn"};default:return{}}}static getChildOptions(e,t){let n;if(Array.isArray(e.children)){if(t{"use strict";const{ConcatSource:r}=n(50932);const s=n(73720);class SystemMainTemplatePlugin{constructor(e){this.name=e.name}apply(e){const{mainTemplate:t,chunkTemplate:n}=e;const i=(e,n,i)=>{const o=n.getModules().filter(e=>e.external);const a=this.name?`${JSON.stringify(t.getAssetPath(this.name,{hash:i,chunk:n}))}, `:"";const c=JSON.stringify(o.map(e=>typeof e.request==="object"?e.request.amd:e.request));const l="__WEBPACK_DYNAMIC_EXPORT__";const u=o.map(e=>`__WEBPACK_EXTERNAL_MODULE_${s.toIdentifier(`${e.id}`)}__`);const f=u.length>0?`var ${u.join(", ")};`:"";const p=u.length===0?"":s.asString(["setters: [",s.indent(u.map(e=>s.asString(["function(module) {",s.indent(`${e} = module;`),"}"])).join(",\n")),"],"]);return new r(s.asString([`System.register(${a}${c}, function(${l}) {`,s.indent([f,"return {",s.indent([p,"execute: function() {",s.indent(`${l}(`)])])])+"\n",e,"\n"+s.asString([s.indent([s.indent([s.indent([");"]),"}"]),"};"]),"})"]))};for(const e of[t,n]){e.hooks.renderWithEntry.tap("SystemMainTemplatePlugin",i)}t.hooks.globalHashPaths.tap("SystemMainTemplatePlugin",e=>{if(this.name){e.push(this.name)}return e});t.hooks.hash.tap("SystemMainTemplatePlugin",e=>{e.update("exports system");if(this.name){e.update(this.name)}})}}e.exports=SystemMainTemplatePlugin},73720:(e,t,n)=>{const{ConcatSource:r}=n(50932);const s=n(36346);const i="a".charCodeAt(0);const o="A".charCodeAt(0);const a="z".charCodeAt(0)-i+1;const c=/^function\s?\(\)\s?\{\r?\n?|\r?\n?\}$/g;const l=/^\t/gm;const u=/\r?\n/g;const f=/^([^a-zA-Z$_])/;const p=/[^a-zA-Z0-9$]+/g;const d=/\*\//g;const h=/[^a-zA-Z0-9_!§$()=\-^°]+/g;const m=/^-|-$/g;const y=(e,t)=>{const n=e.id+"";const r=t.id+"";if(nr)return 1;return 0};class Template{static getFunctionContent(e){return e.toString().replace(c,"").replace(l,"").replace(u,"\n")}static toIdentifier(e){if(typeof e!=="string")return"";return e.replace(f,"_$1").replace(p,"_")}static toComment(e){if(!e)return"";return`/*! ${e.replace(d,"* /")} */`}static toNormalComment(e){if(!e)return"";return`/* ${e.replace(d,"* /")} */`}static toPath(e){if(typeof e!=="string")return"";return e.replace(h,"-").replace(m,"")}static numberToIdentifer(e){if(er.id)n=r.id}if(n<16+(""+n).length){n=0}const r=e.map(e=>(e.id+"").length+2).reduce((e,t)=>e+t,-1);const s=n===0?t:16+(""+n).length+t;return s{return{id:t.id,source:n.render(t,i,{chunk:e})}});if(l&&l.length>0){for(const e of l){u.push({id:e,source:"false"})}}const f=Template.getModulesArrayBounds(u);if(f){const e=f[0];const t=f[1];if(e!==0){a.add(`Array(${e}).concat(`)}a.add("[\n");const n=new Map;for(const e of u){n.set(e.id,e)}for(let r=e;r<=t;r++){const t=n.get(r);if(r!==e){a.add(",\n")}a.add(`/* ${r} */`);if(t){a.add("\n");a.add(t.source)}}a.add("\n"+o+"]");if(e!==0){a.add(")")}}else{a.add("{\n");u.sort(y).forEach((e,t)=>{if(t!==0){a.add(",\n")}a.add(`\n/***/ ${JSON.stringify(e.id)}:\n`);a.add(e.source)});a.add(`\n\n${o}}`)}return a}}e.exports=Template},82842:e=>{"use strict";const t=/\[hash(?::(\d+))?\]/gi,n=/\[chunkhash(?::(\d+))?\]/gi,r=/\[modulehash(?::(\d+))?\]/gi,s=/\[contenthash(?::(\d+))?\]/gi,i=/\[name\]/gi,o=/\[id\]/gi,a=/\[moduleid\]/gi,c=/\[file\]/gi,l=/\[query\]/gi,u=/\[filebase\]/gi,f=/\[url\]/gi;const p=new RegExp(t.source,"i"),d=new RegExp(n.source,"i"),h=new RegExp(s.source,"i"),m=new RegExp(i.source,"i");const y=(e,t,n)=>{const r=(r,s,...i)=>{if(n)n.immutable=true;const o=s&&parseInt(s,10);if(o&&t){return t(o)}const a=e(r,s,...i);return o?a.slice(0,o):a};return r};const g=(e,t)=>{const n=(n,...r)=>{const s=r[r.length-1];if(e===null||e===undefined){if(!t){throw new Error(`Path variable ${n} not implemented in this context: ${s}`)}return""}else{return`${v(e)}`}};return n};const v=e=>{return typeof e==="string"?e.replace(/\[(\\*[\w:]+\\*)\]/gi,"[\\$1\\]"):e};const b=(e,p,m)=>{const v=p.chunk;const b=v&&v.id;const w=v&&(v.name||v.id);const k=v&&(v.renderedHash||v.hash);const x=v&&v.hashWithLength;const S=p.contentHashType;const E=v&&v.contentHash&&v.contentHash[S]||p.contentHash;const O=v&&v.contentHashWithLength&&v.contentHashWithLength[S]||p.contentHashWithLength;const C=p.module;const M=C&&C.id;const A=C&&(C.renderedHash||C.hash);const I=C&&C.hashWithLength;if(typeof e==="function"){e=e(p)}if(p.noChunkHash&&(d.test(e)||h.test(e))){throw new Error(`Cannot use [chunkhash] or [contenthash] for chunk in '${e}' (use [hash] instead)`)}return e.replace(t,y(g(p.hash),p.hashWithLength,m)).replace(n,y(g(k),x,m)).replace(s,y(g(E),O,m)).replace(r,y(g(A),I,m)).replace(o,g(b)).replace(a,g(M)).replace(i,g(w)).replace(c,g(p.filename)).replace(u,g(p.basename)).replace(l,g(p.query,true)).replace(f,g(p.url)).replace(/\[\\(\\*[\w:]+\\*)\\\]/gi,"[$1]")};class TemplatedPathPlugin{apply(e){e.hooks.compilation.tap("TemplatedPathPlugin",e=>{const t=e.mainTemplate;t.hooks.assetPath.tap("TemplatedPathPlugin",b);t.hooks.globalHash.tap("TemplatedPathPlugin",(e,n)=>{const r=t.outputOptions;const s=r.publicPath||"";const i=r.filename||"";const o=r.chunkFilename||r.filename;if(p.test(s)||d.test(s)||h.test(s)||m.test(s))return true;if(p.test(i))return true;if(p.test(o))return true;if(p.test(n.join("|")))return true});t.hooks.hashForChunk.tap("TemplatedPathPlugin",(e,n)=>{const r=t.outputOptions;const s=r.chunkFilename||r.filename;if(d.test(s)){e.update(JSON.stringify(n.getChunkMaps(true).hash))}if(h.test(s)){e.update(JSON.stringify(n.getChunkMaps(true).contentHash.javascript||{}))}if(m.test(s)){e.update(JSON.stringify(n.getChunkMaps(true).name))}})})}}e.exports=TemplatedPathPlugin},53978:(e,t,n)=>{"use strict";const{ConcatSource:r,OriginalSource:s}=n(50932);const i=n(73720);const o=e=>{return e.map(e=>`[${JSON.stringify(e)}]`).join("")};const a=(e,t,n=", ")=>{const r=Array.isArray(t)?t:[t];return r.map((t,n)=>{const s=e?e+o(r.slice(0,n+1)):r[0]+o(r.slice(1,n+1));if(n===r.length-1)return s;if(n===0&&e===undefined)return`${s} = typeof ${s} === "object" ? ${s} : {}`;return`${s} = ${s} || {}`}).join(n)};class UmdMainTemplatePlugin{constructor(e,t){if(typeof e==="object"&&!Array.isArray(e)){this.name=e.root||e.amd||e.commonjs;this.names=e}else{this.name=e;this.names={commonjs:e,root:e,amd:e}}this.optionalAmdExternalAsGlobal=t.optionalAmdExternalAsGlobal;this.namedDefine=t.namedDefine;this.auxiliaryComment=t.auxiliaryComment}apply(e){const{mainTemplate:t,chunkTemplate:n,runtimeTemplate:c}=e;const l=(e,n,l)=>{let u=n.getModules().filter(e=>e.external&&(e.externalType==="umd"||e.externalType==="umd2"));const f=[];let p=[];if(this.optionalAmdExternalAsGlobal){for(const e of u){if(e.optional){f.push(e)}else{p.push(e)}}u=p.concat(f)}else{p=u}const d=e=>{return t.getAssetPath(e,{hash:l,chunk:n})};const h=e=>{return`[${d(e.map(e=>JSON.stringify(typeof e.request==="object"?e.request.amd:e.request)).join(", "))}]`};const m=e=>{return d(e.map(e=>{let t=e.request;if(typeof t==="object")t=t.root;return`root${o([].concat(t))}`}).join(", "))};const y=e=>{return d(u.map(t=>{let n;let r=t.request;if(typeof r==="object"){r=r[e]}if(r===undefined){throw new Error("Missing external configuration for type:"+e)}if(Array.isArray(r)){n=`require(${JSON.stringify(r[0])})${o(r.slice(1))}`}else{n=`require(${JSON.stringify(r)})`}if(t.optional){n=`(function webpackLoadOptionalExternalModule() { try { return ${n}; } catch(e) {} }())`}return n}).join(", "))};const g=e=>{return e.map(e=>`__WEBPACK_EXTERNAL_MODULE_${i.toIdentifier(`${e.id}`)}__`).join(", ")};const v=e=>{return JSON.stringify(d([].concat(e).pop()))};let b;if(f.length>0){const e=g(p);const t=p.length>0?g(p)+", "+m(f):m(f);b=`function webpackLoadOptionalExternalModuleAmd(${e}) {\n`+`\t\t\treturn factory(${t});\n`+"\t\t}"}else{b="factory"}const w=this.auxiliaryComment;const k=e=>{if(w){if(typeof w==="string")return"\t//"+w+"\n";if(w[e])return"\t//"+w[e]+"\n"}return""};return new r(new s("(function webpackUniversalModuleDefinition(root, factory) {\n"+k("commonjs2")+"\tif(typeof exports === 'object' && typeof module === 'object')\n"+"\t\tmodule.exports = factory("+y("commonjs2")+");\n"+k("amd")+"\telse if(typeof define === 'function' && define.amd)\n"+(p.length>0?this.names.amd&&this.namedDefine===true?"\t\tdefine("+v(this.names.amd)+", "+h(p)+", "+b+");\n":"\t\tdefine("+h(p)+", "+b+");\n":this.names.amd&&this.namedDefine===true?"\t\tdefine("+v(this.names.amd)+", [], "+b+");\n":"\t\tdefine([], "+b+");\n")+(this.names.root||this.names.commonjs?k("commonjs")+"\telse if(typeof exports === 'object')\n"+"\t\texports["+v(this.names.commonjs||this.names.root)+"] = factory("+y("commonjs")+");\n"+k("root")+"\telse\n"+"\t\t"+d(a("root",this.names.root||this.names.commonjs))+" = factory("+m(u)+");\n":"\telse {\n"+(u.length>0?"\t\tvar a = typeof exports === 'object' ? factory("+y("commonjs")+") : factory("+m(u)+");\n":"\t\tvar a = factory();\n")+"\t\tfor(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];\n"+"\t}\n")+`})(${c.outputOptions.globalObject}, function(${g(u)}) {\nreturn `,"webpack/universalModuleDefinition"),e,";\n})")};for(const e of[t,n]){e.hooks.renderWithEntry.tap("UmdMainTemplatePlugin",l)}t.hooks.globalHashPaths.tap("UmdMainTemplatePlugin",e=>{if(this.names.root)e=e.concat(this.names.root);if(this.names.amd)e=e.concat(this.names.amd);if(this.names.commonjs)e=e.concat(this.names.commonjs);return e});t.hooks.hash.tap("UmdMainTemplatePlugin",e=>{e.update("umd");e.update(`${this.names.root}`);e.update(`${this.names.amd}`);e.update(`${this.names.commonjs}`)})}}e.exports=UmdMainTemplatePlugin},52038:(e,t,n)=>{"use strict";const r=n(1891);class UnsupportedFeatureWarning extends r{constructor(e,t,n){super(t);this.name="UnsupportedFeatureWarning";this.module=e;this.loc=n;this.hideStack=true;Error.captureStackTrace(this,this.constructor)}}e.exports=UnsupportedFeatureWarning},17464:(e,t,n)=>{"use strict";const r=n(53119);class UseStrictPlugin{apply(e){e.hooks.compilation.tap("UseStrictPlugin",(e,{normalModuleFactory:t})=>{const n=e=>{e.hooks.program.tap("UseStrictPlugin",t=>{const n=t.body[0];if(n&&n.type==="ExpressionStatement"&&n.expression.type==="Literal"&&n.expression.value==="use strict"){const t=new r("",n.range);t.loc=n.loc;e.state.current.addDependency(t);e.state.module.buildInfo.strict=true}})};t.hooks.parser.for("javascript/auto").tap("UseStrictPlugin",n);t.hooks.parser.for("javascript/dynamic").tap("UseStrictPlugin",n);t.hooks.parser.for("javascript/esm").tap("UseStrictPlugin",n)})}}e.exports=UseStrictPlugin},5495:(e,t,n)=>{"use strict";const r=n(21734);class WarnCaseSensitiveModulesPlugin{apply(e){e.hooks.compilation.tap("WarnCaseSensitiveModulesPlugin",e=>{e.hooks.seal.tap("WarnCaseSensitiveModulesPlugin",()=>{const t=new Map;for(const n of e.modules){const e=n.identifier().toLowerCase();const r=t.get(e);if(r){r.push(n)}else{t.set(e,[n])}}for(const n of t){const t=n[1];if(t.length>1){e.warnings.push(new r(t))}}})})}}e.exports=WarnCaseSensitiveModulesPlugin},65876:(e,t,n)=>{"use strict";const r=n(19625);class WarnNoModeSetPlugin{apply(e){e.hooks.thisCompilation.tap("WarnNoModeSetPlugin",e=>{e.warnings.push(new r)})}}e.exports=WarnNoModeSetPlugin},57128:(e,t,n)=>{"use strict";const r=n(33225);const s=n(97009);class IgnoringWatchFileSystem{constructor(e,t){this.wfs=e;this.paths=t}watch(e,t,n,r,s,i,o){const a=e=>this.paths.some(t=>t instanceof RegExp?t.test(e):e.indexOf(t)===0);const c=e=>!a(e);const l=e.filter(a);const u=t.filter(a);const f=this.wfs.watch(e.filter(c),t.filter(c),n,r,s,(e,t,n,r,s,o,a)=>{if(e)return i(e);for(const e of l){s.set(e,1)}for(const e of u){o.set(e,1)}i(e,t,n,r,s,o,a)},o);return{close:()=>f.close(),pause:()=>f.pause(),getContextTimestamps:()=>{const e=f.getContextTimestamps();for(const t of u){e.set(t,1)}return e},getFileTimestamps:()=>{const e=f.getFileTimestamps();for(const t of l){e.set(t,1)}return e}}}}class WatchIgnorePlugin{constructor(e){r(s,e,"Watch Ignore Plugin");this.paths=e}apply(e){e.hooks.afterEnvironment.tap("WatchIgnorePlugin",()=>{e.watchFileSystem=new IgnoringWatchFileSystem(e.watchFileSystem,this.paths)})}}e.exports=WatchIgnorePlugin},23275:(e,t,n)=>{"use strict";const r=n(45096);class Watching{constructor(e,t,n){this.startTime=null;this.invalid=false;this.handler=n;this.callbacks=[];this.closed=false;this.suspended=false;if(typeof t==="number"){this.watchOptions={aggregateTimeout:t}}else if(t&&typeof t==="object"){this.watchOptions=Object.assign({},t)}else{this.watchOptions={}}this.watchOptions.aggregateTimeout=this.watchOptions.aggregateTimeout||200;this.compiler=e;this.running=true;this.compiler.readRecords(e=>{if(e)return this._done(e);this._go()})}_go(){this.startTime=Date.now();this.running=true;this.invalid=false;this.compiler.hooks.watchRun.callAsync(this.compiler,e=>{if(e)return this._done(e);const t=(e,n)=>{if(e)return this._done(e);if(this.invalid)return this._done();if(this.compiler.hooks.shouldEmit.call(n)===false){return this._done(null,n)}this.compiler.emitAssets(n,e=>{if(e)return this._done(e);if(this.invalid)return this._done();this.compiler.emitRecords(e=>{if(e)return this._done(e);if(n.hooks.needAdditionalPass.call()){n.needAdditionalPass=true;const e=new r(n);e.startTime=this.startTime;e.endTime=Date.now();this.compiler.hooks.done.callAsync(e,e=>{if(e)return this._done(e);this.compiler.hooks.additionalPass.callAsync(e=>{if(e)return this._done(e);this.compiler.compile(t)})});return}return this._done(null,n)})})};this.compiler.compile(t)})}_getStats(e){const t=new r(e);t.startTime=this.startTime;t.endTime=Date.now();return t}_done(e,t){this.running=false;if(this.invalid)return this._go();const n=t?this._getStats(t):null;if(e){this.compiler.hooks.failed.call(e);this.handler(e,n);return}this.compiler.hooks.done.callAsync(n,()=>{this.handler(null,n);if(!this.closed){this.watch(Array.from(t.fileDependencies),Array.from(t.contextDependencies),Array.from(t.missingDependencies))}for(const e of this.callbacks)e();this.callbacks.length=0})}watch(e,t,n){this.pausedWatcher=null;this.watcher=this.compiler.watchFileSystem.watch(e,t,n,this.startTime,this.watchOptions,(e,t,n,r,s,i,o)=>{this.pausedWatcher=this.watcher;this.watcher=null;if(e){return this.handler(e)}this.compiler.fileTimestamps=s;this.compiler.contextTimestamps=i;this.compiler.removedFiles=o;if(!this.suspended){this._invalidate()}},(e,t)=>{this.compiler.hooks.invalid.call(e,t)})}invalidate(e){if(e){this.callbacks.push(e)}if(this.watcher){this.compiler.fileTimestamps=this.watcher.getFileTimestamps();this.compiler.contextTimestamps=this.watcher.getContextTimestamps()}return this._invalidate()}_invalidate(){if(this.watcher){this.pausedWatcher=this.watcher;this.watcher.pause();this.watcher=null}if(this.running){this.invalid=true;return false}else{this._go()}}suspend(){this.suspended=true;this.invalid=false}resume(){if(this.suspended){this.suspended=false;this._invalidate()}}close(e){const t=()=>{this.compiler.hooks.watchClose.call();this.compiler.running=false;this.compiler.watchMode=false;if(e!==undefined)e()};this.closed=true;if(this.watcher){this.watcher.close();this.watcher=null}if(this.pausedWatcher){this.pausedWatcher.close();this.pausedWatcher=null}if(this.running){this.invalid=true;this._done=t}else{t()}}}e.exports=Watching},1891:(e,t,n)=>{"use strict";const r=n(31669).inspect.custom;class WebpackError extends Error{constructor(e){super(e);this.details=undefined;this.missing=undefined;this.origin=undefined;this.dependencies=undefined;this.module=undefined;Error.captureStackTrace(this,this.constructor)}[r](){return this.stack+(this.details?`\n${this.details}`:"")}}e.exports=WebpackError},54721:(e,t,n)=>{"use strict";const r=n(71217);const s=n(29466);const i=n(18666);const o=n(45125);const a=n(64951);const c=n(5421);const l=n(78332);const u=n(79202);const f=n(73802);const p=n(30798);const d=n(42080);const h=n(5896);const m=n(38205);const y=n(20603);const g=n(51382);const v=n(82842);const b=n(5495);const w=n(17464);const k=n(97978);const x=n(51961);const S=n(29689);const E=n(8007);const O=n(97229);const C=n(18402);const M=n(52221);const A=n(6197);const{cachedCleverMerge:I}=n(61233);class WebpackOptionsApply extends r{constructor(){super()}process(e,t){let r;t.outputPath=e.output.path;t.recordsInputPath=e.recordsInputPath||e.recordsPath;t.recordsOutputPath=e.recordsOutputPath||e.recordsPath;t.name=e.name;t.dependencies=e.dependencies;if(typeof e.target==="string"){let s;let i;let o;let l;let u;let f;switch(e.target){case"web":s=n(5742);i=n(15298);l=n(14888);(new s).apply(t);new i({mangleImports:e.optimization.mangleWasmImports}).apply(t);(new c).apply(t);new l(e.node).apply(t);new a(e.target).apply(t);break;case"webworker":{let r=n(46386);i=n(15298);l=n(14888);(new r).apply(t);new i({mangleImports:e.optimization.mangleWasmImports}).apply(t);(new c).apply(t);new l(e.node).apply(t);new a(e.target).apply(t);break}case"node":case"async-node":f=n(12964);o=n(93570);u=n(72746);new f({asyncChunkLoading:e.target==="async-node"}).apply(t);new o({mangleImports:e.optimization.mangleWasmImports}).apply(t);(new c).apply(t);(new u).apply(t);new a("node").apply(t);break;case"node-webkit":s=n(5742);u=n(72746);r=n(2170);(new s).apply(t);(new c).apply(t);(new u).apply(t);new r("commonjs","nw.gui").apply(t);new a(e.target).apply(t);break;case"electron-main":f=n(12964);u=n(72746);r=n(2170);new f({asyncChunkLoading:true}).apply(t);(new c).apply(t);(new u).apply(t);new r("commonjs",["app","auto-updater","browser-window","clipboard","content-tracing","crash-reporter","dialog","electron","global-shortcut","ipc","ipc-main","menu","menu-item","native-image","original-fs","power-monitor","power-save-blocker","protocol","screen","session","shell","tray","web-contents"]).apply(t);new a(e.target).apply(t);break;case"electron-renderer":case"electron-preload":i=n(15298);u=n(72746);r=n(2170);if(e.target==="electron-renderer"){s=n(5742);(new s).apply(t)}else if(e.target==="electron-preload"){f=n(12964);new f({asyncChunkLoading:true}).apply(t)}new i({mangleImports:e.optimization.mangleWasmImports}).apply(t);(new c).apply(t);(new u).apply(t);new r("commonjs",["clipboard","crash-reporter","desktop-capturer","electron","ipc","ipc-renderer","native-image","original-fs","remote","screen","shell","web-frame"]).apply(t);new a(e.target).apply(t);break;default:throw new Error("Unsupported target '"+e.target+"'.")}}else if(e.target!==false){e.target(t)}else{throw new Error("Unsupported target '"+e.target+"'.")}if(e.output.library||e.output.libraryTarget!=="var"){const r=n(6081);new r(e.output.library,e.output.libraryTarget,e.output.umdNamedDefine,e.output.auxiliaryComment||"",e.output.libraryExport).apply(t)}if(e.externals){r=n(2170);new r(e.output.libraryTarget,e.externals).apply(t)}let T;let R;let j;let F;if(e.devtool&&(e.devtool.includes("sourcemap")||e.devtool.includes("source-map"))){const n=e.devtool.includes("hidden");const r=e.devtool.includes("inline");const s=e.devtool.includes("eval");const i=e.devtool.includes("cheap");const o=e.devtool.includes("module");T=e.devtool.includes("nosources");R=e.devtool.includes("@");j=e.devtool.includes("#");F=R&&j?"\n/*\n//@ source"+"MappingURL=[url]\n//# source"+"MappingURL=[url]\n*/":R?"\n/*\n//@ source"+"MappingURL=[url]\n*/":j?"\n//# source"+"MappingURL=[url]":null;const a=s?f:u;new a({filename:r?null:e.output.sourceMapFilename,moduleFilenameTemplate:e.output.devtoolModuleFilenameTemplate,fallbackModuleFilenameTemplate:e.output.devtoolFallbackModuleFilenameTemplate,append:n?false:F,module:o?true:i?false:true,columns:i?false:true,lineToLine:e.output.devtoolLineToLine,noSources:T,namespace:e.output.devtoolNamespace}).apply(t)}else if(e.devtool&&e.devtool.includes("eval")){R=e.devtool.includes("@");j=e.devtool.includes("#");F=R&&j?"\n//@ sourceURL=[url]\n//# sourceURL=[url]":R?"\n//@ sourceURL=[url]":j?"\n//# sourceURL=[url]":null;new l({sourceUrlComment:F,moduleFilenameTemplate:e.output.devtoolModuleFilenameTemplate,namespace:e.output.devtoolNamespace}).apply(t)}(new s).apply(t);(new i).apply(t);new o({mangleImports:e.optimization.mangleWasmImports}).apply(t);(new p).apply(t);t.hooks.entryOption.call(e.context,e.entry);(new g).apply(t);new S(e.module).apply(t);if(e.amd!==false){const r=n(90041);const s=n(80071);new r(e.module,e.amd||{}).apply(t);(new s).apply(t)}new x(e.module).apply(t);(new k).apply(t);if(e.node!==false){const r=n(64164);new r(e.node).apply(t)}(new y).apply(t);(new h).apply(t);(new m).apply(t);(new w).apply(t);(new A).apply(t);(new M).apply(t);new C(e.resolve.modules,e.resolve.extensions,e.resolve.mainFiles).apply(t);new O(e.module).apply(t);new E(e.module).apply(t);if(typeof e.mode!=="string"){const e=n(65876);(new e).apply(t)}const N=n(13605);(new N).apply(t);if(e.optimization.removeAvailableModules){const e=n(62318);(new e).apply(t)}if(e.optimization.removeEmptyChunks){const e=n(35209);(new e).apply(t)}if(e.optimization.mergeDuplicateChunks){const e=n(60133);(new e).apply(t)}if(e.optimization.flagIncludedChunks){const e=n(2986);(new e).apply(t)}if(e.optimization.sideEffects){const e=n(81020);(new e).apply(t)}if(e.optimization.providedExports){const e=n(41583);(new e).apply(t)}if(e.optimization.usedExports){const e=n(42677);(new e).apply(t)}if(e.optimization.concatenateModules){const e=n(44554);(new e).apply(t)}if(e.optimization.splitChunks){const r=n(74081);new r(e.optimization.splitChunks).apply(t)}if(e.optimization.runtimeChunk){const r=n(15094);new r(e.optimization.runtimeChunk).apply(t)}if(e.optimization.noEmitOnErrors){const e=n(19282);(new e).apply(t)}if(e.optimization.checkWasmTypes){const e=n(1339);(new e).apply(t)}let D=e.optimization.moduleIds;if(D===undefined){if(e.optimization.occurrenceOrder){D="size"}if(e.optimization.namedModules){D="named"}if(e.optimization.hashedModuleIds){D="hashed"}if(D===undefined){D="natural"}}if(D){const e=n(85449);const r=n(90640);const s=n(47222);switch(D){case"natural":break;case"named":(new e).apply(t);break;case"hashed":(new r).apply(t);break;case"size":new s({prioritiseInitial:true}).apply(t);break;case"total-size":new s({prioritiseInitial:false}).apply(t);break;default:throw new Error(`webpack bug: moduleIds: ${D} is not implemented`)}}let P=e.optimization.chunkIds;if(P===undefined){if(e.optimization.occurrenceOrder){P="total-size"}if(e.optimization.namedChunks){P="named"}if(P===undefined){P="natural"}}if(P){const e=n(96669);const r=n(76965);const s=n(57615);switch(P){case"natural":(new e).apply(t);break;case"named":new s({prioritiseInitial:false}).apply(t);(new r).apply(t);break;case"size":new s({prioritiseInitial:true}).apply(t);break;case"total-size":new s({prioritiseInitial:false}).apply(t);break;default:throw new Error(`webpack bug: chunkIds: ${P} is not implemented`)}}if(e.optimization.nodeEnv){const r=n(88300);new r({"process.env.NODE_ENV":JSON.stringify(e.optimization.nodeEnv)}).apply(t)}if(e.optimization.minimize){for(const n of e.optimization.minimizer){if(typeof n==="function"){n.call(t,t)}else{n.apply(t)}}}if(e.performance){const r=n(73495);new r(e.performance).apply(t)}(new v).apply(t);new d({portableIds:e.optimization.portableRecords}).apply(t);(new b).apply(t);if(e.cache){const r=n(13053);new r(typeof e.cache==="object"?e.cache:null).apply(t)}t.hooks.afterPlugins.call(t);if(!t.inputFileSystem){throw new Error("No input filesystem provided")}t.resolverFactory.hooks.resolveOptions.for("normal").tap("WebpackOptionsApply",n=>{return Object.assign({fileSystem:t.inputFileSystem},I(e.resolve,n))});t.resolverFactory.hooks.resolveOptions.for("context").tap("WebpackOptionsApply",n=>{return Object.assign({fileSystem:t.inputFileSystem,resolveToContext:true},I(e.resolve,n))});t.resolverFactory.hooks.resolveOptions.for("loader").tap("WebpackOptionsApply",n=>{return Object.assign({fileSystem:t.inputFileSystem},I(e.resolveLoader,n))});t.hooks.afterResolvers.call(t);return e}}e.exports=WebpackOptionsApply},65438:(e,t,n)=>{"use strict";const r=n(85622);const s=n(28856);const i=n(73720);const o=e=>{return e.mode==="production"||!e.mode};const a=e=>{return e.target==="web"||e.target==="webworker"};const c=e=>{if(Array.isArray(e)){return e.join(".")}else if(typeof e==="object"){return c(e.root)}return e||""};class WebpackOptionsDefaulter extends s{constructor(){super();this.set("entry","./src");this.set("devtool","make",e=>e.mode==="development"?"eval":false);this.set("cache","make",e=>e.mode==="development");this.set("context",process.cwd());this.set("target","web");this.set("module","call",e=>Object.assign({},e));this.set("module.unknownContextRequest",".");this.set("module.unknownContextRegExp",false);this.set("module.unknownContextRecursive",true);this.set("module.unknownContextCritical",true);this.set("module.exprContextRequest",".");this.set("module.exprContextRegExp",false);this.set("module.exprContextRecursive",true);this.set("module.exprContextCritical",true);this.set("module.wrappedContextRegExp",/.*/);this.set("module.wrappedContextRecursive",true);this.set("module.wrappedContextCritical",false);this.set("module.strictExportPresence",false);this.set("module.strictThisContextOnImports",false);this.set("module.unsafeCache","make",e=>!!e.cache);this.set("module.rules",[]);this.set("module.defaultRules","make",e=>[{type:"javascript/auto",resolve:{}},{test:/\.mjs$/i,type:"javascript/esm",resolve:{mainFields:e.target==="web"||e.target==="webworker"||e.target==="electron-renderer"?["browser","main"]:["main"]}},{test:/\.json$/i,type:"json"},{test:/\.wasm$/i,type:"webassembly/experimental"}]);this.set("output","call",(e,t)=>{if(typeof e==="string"){return{filename:e}}else if(typeof e!=="object"){return{}}else{return Object.assign({},e)}});this.set("output.filename","[name].js");this.set("output.chunkFilename","make",e=>{const t=e.output.filename;if(typeof t!=="function"){const e=t.includes("[name]");const n=t.includes("[id]");const r=t.includes("[chunkhash]");if(r||e||n)return t;return t.replace(/(^|\/)([^/]*(?:\?|$))/,"$1[id].$2")}return"[id].js"});this.set("output.webassemblyModuleFilename","[modulehash].module.wasm");this.set("output.library","");this.set("output.hotUpdateFunction","make",e=>{return i.toIdentifier("webpackHotUpdate"+i.toIdentifier(e.output.library))});this.set("output.jsonpFunction","make",e=>{return i.toIdentifier("webpackJsonp"+i.toIdentifier(e.output.library))});this.set("output.chunkCallbackName","make",e=>{return i.toIdentifier("webpackChunk"+i.toIdentifier(e.output.library))});this.set("output.globalObject","make",e=>{switch(e.target){case"web":case"electron-renderer":case"node-webkit":return"window";case"webworker":return"self";case"node":case"async-node":case"electron-main":return"global";default:return"self"}});this.set("output.devtoolNamespace","make",e=>{return c(e.output.library)});this.set("output.libraryTarget","var");this.set("output.path",r.join(process.cwd(),"dist"));this.set("output.pathinfo","make",e=>e.mode==="development");this.set("output.sourceMapFilename","[file].map[query]");this.set("output.hotUpdateChunkFilename","[id].[hash].hot-update.js");this.set("output.hotUpdateMainFilename","[hash].hot-update.json");this.set("output.crossOriginLoading",false);this.set("output.jsonpScriptType",false);this.set("output.chunkLoadTimeout",12e4);this.set("output.hashFunction","md4");this.set("output.hashDigest","hex");this.set("output.hashDigestLength",20);this.set("output.devtoolLineToLine",false);this.set("output.strictModuleExceptionHandling",false);this.set("node","call",e=>{if(typeof e==="boolean"){return e}else{return Object.assign({},e)}});this.set("node.console",false);this.set("node.process",true);this.set("node.global",true);this.set("node.Buffer",true);this.set("node.setImmediate",true);this.set("node.__filename","mock");this.set("node.__dirname","mock");this.set("performance","call",(e,t)=>{if(e===false)return false;if(e===undefined&&(!o(t)||!a(t)))return false;return Object.assign({},e)});this.set("performance.maxAssetSize",25e4);this.set("performance.maxEntrypointSize",25e4);this.set("performance.hints","make",e=>o(e)?"warning":false);this.set("optimization","call",e=>Object.assign({},e));this.set("optimization.removeAvailableModules","make",e=>e.mode!=="development");this.set("optimization.removeEmptyChunks",true);this.set("optimization.mergeDuplicateChunks",true);this.set("optimization.flagIncludedChunks","make",e=>o(e));this.set("optimization.occurrenceOrder","make",e=>o(e));this.set("optimization.sideEffects","make",e=>o(e));this.set("optimization.providedExports",true);this.set("optimization.usedExports","make",e=>o(e));this.set("optimization.concatenateModules","make",e=>o(e));this.set("optimization.splitChunks",{});this.set("optimization.splitChunks.hidePathInfo","make",e=>{return o(e)});this.set("optimization.splitChunks.chunks","async");this.set("optimization.splitChunks.minSize","make",e=>{return o(e)?3e4:1e4});this.set("optimization.splitChunks.minChunks",1);this.set("optimization.splitChunks.maxAsyncRequests","make",e=>{return o(e)?5:Infinity});this.set("optimization.splitChunks.automaticNameDelimiter","~");this.set("optimization.splitChunks.automaticNameMaxLength",109);this.set("optimization.splitChunks.maxInitialRequests","make",e=>{return o(e)?3:Infinity});this.set("optimization.splitChunks.name",true);this.set("optimization.splitChunks.cacheGroups",{});this.set("optimization.splitChunks.cacheGroups.default",{automaticNamePrefix:"",reuseExistingChunk:true,minChunks:2,priority:-20});this.set("optimization.splitChunks.cacheGroups.vendors",{automaticNamePrefix:"vendors",test:/[\\/]node_modules[\\/]/,priority:-10});this.set("optimization.runtimeChunk","call",e=>{if(e==="single"){return{name:"runtime"}}if(e===true||e==="multiple"){return{name:e=>`runtime~${e.name}`}}return e});this.set("optimization.noEmitOnErrors","make",e=>o(e));this.set("optimization.checkWasmTypes","make",e=>o(e));this.set("optimization.mangleWasmImports",false);this.set("optimization.namedModules","make",e=>e.mode==="development");this.set("optimization.hashedModuleIds",false);this.set("optimization.namedChunks","make",e=>e.mode==="development");this.set("optimization.portableRecords","make",e=>!!(e.recordsInputPath||e.recordsOutputPath||e.recordsPath));this.set("optimization.minimize","make",e=>o(e));this.set("optimization.minimizer","make",e=>[{apply:t=>{const r=n(45245);const s=n(79202);new r({cache:true,parallel:true,sourceMap:e.devtool&&/source-?map/.test(e.devtool)||e.plugins&&e.plugins.some(e=>e instanceof s)}).apply(t)}}]);this.set("optimization.nodeEnv","make",e=>{return e.mode||"production"});this.set("resolve","call",e=>Object.assign({},e));this.set("resolve.unsafeCache",true);this.set("resolve.modules",["node_modules"]);this.set("resolve.extensions",[".wasm",".mjs",".js",".json"]);this.set("resolve.mainFiles",["index"]);this.set("resolve.aliasFields","make",e=>{if(e.target==="web"||e.target==="webworker"||e.target==="electron-renderer"){return["browser"]}else{return[]}});this.set("resolve.mainFields","make",e=>{if(e.target==="web"||e.target==="webworker"||e.target==="electron-renderer"){return["browser","module","main"]}else{return["module","main"]}});this.set("resolve.cacheWithContext","make",e=>{return Array.isArray(e.resolve.plugins)&&e.resolve.plugins.length>0});this.set("resolveLoader","call",e=>Object.assign({},e));this.set("resolveLoader.unsafeCache",true);this.set("resolveLoader.mainFields",["loader","main"]);this.set("resolveLoader.extensions",[".js",".json"]);this.set("resolveLoader.mainFiles",["index"]);this.set("resolveLoader.roots","make",e=>[e.context]);this.set("resolveLoader.cacheWithContext","make",e=>{return Array.isArray(e.resolveLoader.plugins)&&e.resolveLoader.plugins.length>0});this.set("infrastructureLogging","call",e=>Object.assign({},e));this.set("infrastructureLogging.level","info");this.set("infrastructureLogging.debug",false)}}e.exports=WebpackOptionsDefaulter},398:(e,t,n)=>{"use strict";const r=n(1891);const s=n(37863);const i=(e,t,n)=>{t=t||0;e=e.split("/");e=e.slice(0,e.length-t);if(n){n=n.split("/");e=e.concat(n)}let r=s;for(let t=1;t{if(t){for(let n=0;n ${e.description}`}return n};const a=e=>{while(e.$ref){e=i(e.$ref)}if(e.description){return`\n-> ${e.description}`}return""};const c={type:1,oneOf:1,anyOf:1,allOf:1,additionalProperties:2,enum:1,instanceof:1,required:2,minimum:2,uniqueItems:2,minLength:2,minItems:2,minProperties:2,absolutePath:2};const l=(e,t)=>{const n=e.reduce((e,n)=>Math.max(e,t(n)),0);return e.filter(e=>t(e)===n)};const u=e=>{e=l(e,e=>e.dataPath?e.dataPath.length:0);e=l(e,e=>c[e.keyword]||2);return e};const f=(e,t,n)=>{if(n){return t+e.replace(/\n(?!$)/g,"\n"+t)}else{return e.replace(/\n(?!$)/g,`\n${t}`)}};class WebpackOptionsValidationError extends r{constructor(e){super("Invalid configuration object. "+"Webpack has been initialised using a configuration object that does not match the API schema.\n"+e.map(e=>" - "+f(WebpackOptionsValidationError.formatValidationError(e)," ",false)).join("\n"));this.name="WebpackOptionsValidationError";this.validationErrors=e;Error.captureStackTrace(this,this.constructor)}static formatSchema(e,t){t=t||[];const n=(n,r)=>{if(!r){return WebpackOptionsValidationError.formatSchema(n,t)}if(t.includes(n)){return"(recursive)"}return WebpackOptionsValidationError.formatSchema(n,t.concat(e))};if(e.type==="string"){if(e.minLength===1){return"non-empty string"}if(e.minLength>1){return`string (min length ${e.minLength})`}return"string"}if(e.type==="boolean"){return"boolean"}if(e.type==="number"){return"number"}if(e.type==="object"){if(e.properties){const t=e.required||[];return`object { ${Object.keys(e.properties).map(e=>{if(!t.includes(e))return e+"?";return e}).concat(e.additionalProperties?["…"]:[]).join(", ")} }`}if(e.additionalProperties){return`object { : ${n(e.additionalProperties)} }`}return"object"}if(e.type==="array"){return`[${n(e.items)}]`}switch(e.instanceof){case"Function":return"function";case"RegExp":return"RegExp"}if(e.enum){return e.enum.map(e=>JSON.stringify(e)).join(" | ")}if(e.$ref){return n(i(e.$ref),true)}if(e.allOf){return e.allOf.map(n).join(" & ")}if(e.oneOf){return e.oneOf.map(n).join(" | ")}if(e.anyOf){return e.anyOf.map(n).join(" | ")}return JSON.stringify(e,null,2)}static formatValidationError(e){const t=`configuration${e.dataPath}`;if(e.keyword==="additionalProperties"){const n=`${t} has an unknown property '${e.params.additionalProperty}'. These properties are valid:\n${o(e.parentSchema)}`;if(!e.dataPath){switch(e.params.additionalProperty){case"debug":return`${n}\n`+"The 'debug' property was removed in webpack 2.0.0.\n"+"Loaders should be updated to allow passing this option via loader options in module.rules.\n"+"Until loaders are updated one can use the LoaderOptionsPlugin to switch loaders into debug mode:\n"+"plugins: [\n"+" new webpack.LoaderOptionsPlugin({\n"+" debug: true\n"+" })\n"+"]"}return`${n}\n`+"For typos: please correct them.\n"+"For loader options: webpack >= v2.0.0 no longer allows custom properties in configuration.\n"+" Loaders should be updated to allow passing options via loader options in module.rules.\n"+" Until loaders are updated one can use the LoaderOptionsPlugin to pass these options to the loader:\n"+" plugins: [\n"+" new webpack.LoaderOptionsPlugin({\n"+" // test: /\\.xxx$/, // may apply this only for some modules\n"+" options: {\n"+` ${e.params.additionalProperty}: …\n`+" }\n"+" })\n"+" ]"}return n}else if(e.keyword==="oneOf"||e.keyword==="anyOf"){if(e.children&&e.children.length>0){if(e.schema.length===1){const t=e.children[e.children.length-1];const n=e.children.slice(0,e.children.length-1);return WebpackOptionsValidationError.formatValidationError(Object.assign({},t,{children:n,parentSchema:Object.assign({},e.parentSchema,t.parentSchema)}))}const n=u(e.children);if(n.length===1){return WebpackOptionsValidationError.formatValidationError(n[0])}return`${t} should be one of these:\n${o(e.parentSchema)}\n`+`Details:\n${n.map(e=>" * "+f(WebpackOptionsValidationError.formatValidationError(e)," ",false)).join("\n")}`}return`${t} should be one of these:\n${o(e.parentSchema)}`}else if(e.keyword==="enum"){if(e.parentSchema&&e.parentSchema.enum&&e.parentSchema.enum.length===1){return`${t} should be ${o(e.parentSchema)}`}return`${t} should be one of these:\n${o(e.parentSchema)}`}else if(e.keyword==="allOf"){return`${t} should be:\n${o(e.parentSchema)}`}else if(e.keyword==="type"){switch(e.params.type){case"object":return`${t} should be an object.${a(e.parentSchema)}`;case"string":return`${t} should be a string.${a(e.parentSchema)}`;case"boolean":return`${t} should be a boolean.${a(e.parentSchema)}`;case"number":return`${t} should be a number.${a(e.parentSchema)}`;case"array":return`${t} should be an array:\n${o(e.parentSchema)}`}return`${t} should be ${e.params.type}:\n${o(e.parentSchema)}`}else if(e.keyword==="instanceof"){return`${t} should be an instance of ${o(e.parentSchema)}`}else if(e.keyword==="required"){const n=e.params.missingProperty.replace(/^\./,"");return`${t} misses the property '${n}'.\n${o(e.parentSchema,["properties",n])}`}else if(e.keyword==="minimum"){return`${t} ${e.message}.${a(e.parentSchema)}`}else if(e.keyword==="uniqueItems"){return`${t} should not contain the item '${e.data[e.params.i]}' twice.${a(e.parentSchema)}`}else if(e.keyword==="minLength"||e.keyword==="minItems"||e.keyword==="minProperties"){if(e.params.limit===1){switch(e.keyword){case"minLength":return`${t} should be an non-empty string.${a(e.parentSchema)}`;case"minItems":return`${t} should be an non-empty array.${a(e.parentSchema)}`;case"minProperties":return`${t} should be an non-empty object.${a(e.parentSchema)}`}return`${t} should be not empty.${a(e.parentSchema)}`}else{return`${t} ${e.message}${a(e.parentSchema)}`}}else if(e.keyword==="not"){return`${t} should not be ${o(e.schema)}\n${o(e.parentSchema)}`}else if(e.keyword==="absolutePath"){const n=`${t}: ${e.message}${a(e.parentSchema)}`;if(t==="configuration.output.filename"){return`${n}\n`+"Please use output.path to specify absolute path and output.filename for the file name."}return n}else{return`${t} ${e.message} (${JSON.stringify(e,null,2)}).\n${o(e.parentSchema)}`}}}e.exports=WebpackOptionsValidationError},56043:(e,t,n)=>{"use strict";const r=n(27794);const s=n(43445);const i=(e,t)=>{return t.size-e.size};const o=e=>{const t=new Map;const n=t=>{const n=e.getDependencyReference(s,t);if(!n){return}const r=n.module;if(!r){return}if(n.weak){return}a.add(r)};const r=e=>{c.push(e);o.push(e)};let s;let i;let o;let a;let c;for(const l of e.modules){o=[l];s=l;while(o.length>0){i=o.pop();a=new Set;c=[];if(i.variables){for(const e of i.variables){for(const t of e.dependencies)n(t)}}if(i.dependencies){for(const e of i.dependencies)n(e)}if(i.blocks){for(const e of i.blocks)r(e)}const e={modules:a,blocks:c};t.set(i,e)}}return t};const a=(e,t,n,s,a,c)=>{const l=e.getLogger("webpack.buildChunkGraph.visitModules");const{namedChunkGroups:u}=e;l.time("prepare");const f=o(e);const p=new Map;for(const e of t){p.set(e,{index:0,index2:0})}let d=0;let h=0;const m=new Map;const y=0;const g=1;const v=2;const b=3;const w=(e,t)=>{for(const n of t.chunks){const r=n.entryModule;e.push({action:g,block:r,module:r,chunk:n,chunkGroup:t})}n.set(t,{chunkGroup:t,minAvailableModules:new Set,minAvailableModulesOwned:true,availableModulesToBeMerged:[],skippedItems:[],resultingAvailableModules:undefined,children:undefined});return e};let k=t.reduce(w,[]).reverse();const x=new Map;const S=new Set;let E=[];l.timeEnd("prepare");let O;let C;let M;let A;let I;let T;const R=t=>{let n=m.get(t);if(n===undefined){n=u.get(t.chunkName);if(n&&n.isInitial()){e.errors.push(new r(t.chunkName,O,t.loc));n=M}else{n=e.addChunkInGroup(t.groupOptions||t.chunkName,O,t.loc,t.request);p.set(n,{index:0,index2:0});m.set(t,n);c.add(n)}}else{if(n.addOptions)n.addOptions(t.groupOptions);n.addOrigin(O,t.loc,t.request)}let i=s.get(M);if(!i)s.set(M,i=[]);i.push({block:t,chunkGroup:n});let o=x.get(M);if(o===undefined){o=new Set;x.set(M,o)}o.add(n);E.push({action:v,block:t,module:O,chunk:n.chunks[0],chunkGroup:n})};while(k.length){l.time("visiting");while(k.length){const e=k.pop();O=e.module;A=e.block;C=e.chunk;if(M!==e.chunkGroup){M=e.chunkGroup;const t=n.get(M);I=t.minAvailableModules;T=t.skippedItems}switch(e.action){case y:{if(I.has(O)){T.push(e);break}if(C.addModule(O)){O.addChunk(C)}else{break}}case g:{if(M!==undefined){const e=M.getModuleIndex(O);if(e===undefined){M.setModuleIndex(O,p.get(M).index++)}}if(O.index===null){O.index=d++}k.push({action:b,block:A,module:O,chunk:C,chunkGroup:M})}case v:{const e=f.get(A);const t=[];const n=[];for(const r of e.modules){if(C.containsModule(r)){continue}if(I.has(r)){t.push({action:y,block:r,module:r,chunk:C,chunkGroup:M});continue}n.push({action:y,block:r,module:r,chunk:C,chunkGroup:M})}for(let e=t.length-1;e>=0;e--){T.push(t[e])}for(let e=n.length-1;e>=0;e--){k.push(n[e])}for(const t of e.blocks)R(t);if(e.blocks.length>0&&O!==A){a.add(A)}break}case b:{if(M!==undefined){const e=M.getModuleIndex2(O);if(e===undefined){M.setModuleIndex2(O,p.get(M).index2++)}}if(O.index2===null){O.index2=h++}break}}}l.timeEnd("visiting");while(x.size>0){l.time("calculating available modules");for(const[e,t]of x){const r=n.get(e);let s=r.minAvailableModules;const i=new Set(s);for(const t of e.chunks){for(const e of t.modulesIterable){i.add(e)}}r.resultingAvailableModules=i;if(r.children===undefined){r.children=t}else{for(const e of t){r.children.add(e)}}for(const e of t){let t=n.get(e);if(t===undefined){t={chunkGroup:e,minAvailableModules:undefined,minAvailableModulesOwned:undefined,availableModulesToBeMerged:[],skippedItems:[],resultingAvailableModules:undefined,children:undefined};n.set(e,t)}t.availableModulesToBeMerged.push(i);S.add(t)}}x.clear();l.timeEnd("calculating available modules");if(S.size>0){l.time("merging available modules");for(const e of S){const t=e.availableModulesToBeMerged;let n=e.minAvailableModules;if(t.length>1){t.sort(i)}let r=false;for(const s of t){if(n===undefined){n=s;e.minAvailableModules=n;e.minAvailableModulesOwned=false;r=true}else{if(e.minAvailableModulesOwned){for(const e of n){if(!s.has(e)){n.delete(e);r=true}}}else{for(const t of n){if(!s.has(t)){const i=new Set;const o=n[Symbol.iterator]();let a;while(!(a=o.next()).done){const e=a.value;if(e===t)break;i.add(e)}while(!(a=o.next()).done){const e=a.value;if(s.has(e)){i.add(e)}}n=i;e.minAvailableModulesOwned=true;e.minAvailableModules=i;if(M===e.chunkGroup){I=n}r=true;break}}}}}t.length=0;if(!r)continue;for(const t of e.skippedItems){k.push(t)}e.skippedItems.length=0;if(e.children!==undefined){const t=e.chunkGroup;for(const n of e.children){let e=x.get(t);if(e===undefined){e=new Set;x.set(t,e)}e.add(n)}}}S.clear();l.timeEnd("merging available modules")}}if(k.length===0){const e=k;k=E.reverse();E=e}}};const c=(e,t,n)=>{let r;const i=(e,t)=>{for(const n of e.chunks){for(const e of n.modulesIterable){if(!t.has(e))return false}}return true};const o=t=>{const n=t.chunkGroup;if(e.has(t.block))return true;if(i(n,r)){return false}return true};for(const[e,i]of t){if(i.length===0)continue;const t=n.get(e);r=t.resultingAvailableModules;for(let t=0;t{for(const n of t){if(n.getNumberOfParents()===0){for(const t of n.chunks){const n=e.chunks.indexOf(t);if(n>=0)e.chunks.splice(n,1);t.remove("unconnected")}n.remove("unconnected")}}};const u=(e,t)=>{const n=new Map;const r=new Set;const s=new Map;const i=new Set;a(e,t,s,n,i,r);c(i,n,s);l(e,r)};e.exports=u},2536:e=>{"use strict";e.exports=((e,t)=>{if(typeof e==="string"){if(typeof t==="string"){if(et)return 1;return 0}else if(typeof t==="object"){return 1}else{return 0}}else if(typeof e==="object"){if(typeof t==="string"){return-1}else if(typeof t==="object"){if("start"in e&&"start"in t){const n=e.start;const r=t.start;if(n.liner.line)return 1;if(n.columnr.column)return 1}if("name"in e&&"name"in t){if(e.namet.name)return 1}if("index"in e&&"index"in t){if(e.indext.index)return 1}return 0}else{return 0}}})},63428:(e,t,n)=>{const r=n(35747);const s=n(85622);const i=n(94327);const{Tracer:o}=n(5787);const a=n(33225);const c=n(49049);let l=undefined;try{l=n(57012)}catch(e){console.log("Unable to CPU profile in < node 8.0")}class Profiler{constructor(e){this.session=undefined;this.inspector=e}hasSession(){return this.session!==undefined}startProfiling(){if(this.inspector===undefined){return Promise.resolve()}try{this.session=new l.Session;this.session.connect()}catch(e){this.session=undefined;return Promise.resolve()}return Promise.all([this.sendCommand("Profiler.setSamplingInterval",{interval:100}),this.sendCommand("Profiler.enable"),this.sendCommand("Profiler.start")])}sendCommand(e,t){if(this.hasSession()){return new Promise((n,r)=>{return this.session.post(e,t,(e,t)=>{if(e!==null){r(e)}else{n(t)}})})}else{return Promise.resolve()}}destroy(){if(this.hasSession()){this.session.disconnect()}return Promise.resolve()}stopProfiling(){return this.sendCommand("Profiler.stop")}}const u=e=>{const t=new o({noStream:true});const n=new Profiler(l);if(/\/|\\/.test(e)){const t=s.dirname(e);i.sync(t)}const a=r.createWriteStream(e);let c=0;t.pipe(a);t.instantEvent({name:"TracingStartedInPage",id:++c,cat:["disabled-by-default-devtools.timeline"],args:{data:{sessionId:"-1",page:"0xfff",frames:[{frame:"0xfff",url:"webpack",name:""}]}}});t.instantEvent({name:"TracingStartedInBrowser",id:++c,cat:["disabled-by-default-devtools.timeline"],args:{data:{sessionId:"-1"}}});return{trace:t,counter:c,profiler:n,end:e=>{a.on("finish",()=>{e()});t.push(null)}}};const f="ProfilingPlugin";class ProfilingPlugin{constructor(e){a(c,e||{},"Profiling plugin");e=e||{};this.outputPath=e.outputPath||"events.json"}apply(e){const t=u(this.outputPath);t.profiler.startProfiling();Object.keys(e.hooks).forEach(n=>{e.hooks[n].intercept(m("Compiler",t)(n))});Object.keys(e.resolverFactory.hooks).forEach(n=>{e.resolverFactory.hooks[n].intercept(m("Resolver",t)(n))});e.hooks.compilation.tap(f,(e,{normalModuleFactory:n,contextModuleFactory:r})=>{d(e,t,"Compilation");d(n,t,"Normal Module Factory");d(r,t,"Context Module Factory");h(n,t);p(e,t)});e.hooks.done.tapAsync({name:f,stage:Infinity},(e,n)=>{t.profiler.stopProfiling().then(e=>{if(e===undefined){t.profiler.destroy();t.trace.flush();t.end(n);return}const r=e.profile.startTime;const s=e.profile.endTime;t.trace.completeEvent({name:"TaskQueueManager::ProcessTaskFromWorkQueue",id:++t.counter,cat:["toplevel"],ts:r,args:{src_file:"../../ipc/ipc_moji_bootstrap.cc",src_func:"Accept"}});t.trace.completeEvent({name:"EvaluateScript",id:++t.counter,cat:["devtools.timeline"],ts:r,dur:s-r,args:{data:{url:"webpack",lineNumber:1,columnNumber:1,frame:"0xFFF"}}});t.trace.instantEvent({name:"CpuProfile",id:++t.counter,cat:["disabled-by-default-devtools.timeline"],ts:s,args:{data:{cpuProfile:e.profile}}});t.profiler.destroy();t.trace.flush();t.end(n)})})}}const p=(e,t)=>{const{mainTemplate:n,chunkTemplate:r,hotUpdateChunkTemplate:s,moduleTemplates:i}=e;const{javascript:o,webassembly:a}=i;[{instance:n,name:"MainTemplate"},{instance:r,name:"ChunkTemplate"},{instance:s,name:"HotUpdateChunkTemplate"},{instance:o,name:"JavaScriptModuleTemplate"},{instance:a,name:"WebAssemblyModuleTemplate"}].forEach(e=>{Object.keys(e.instance.hooks).forEach(n=>{e.instance.hooks[n].intercept(m(e.name,t)(n))})})};const d=(e,t,n)=>{if(Reflect.has(e,"hooks")){Object.keys(e.hooks).forEach(r=>{e.hooks[r].intercept(m(n,t)(r))})}};const h=(e,t)=>{const n=["javascript/auto","javascript/dynamic","javascript/esm","json","webassembly/experimental"];n.forEach(n=>{e.hooks.parser.for(n).tap("ProfilingPlugin",(e,n)=>{d(e,t,"Parser")})})};const m=(e,t)=>e=>({register:({name:n,type:r,context:s,fn:i})=>{const o=y(e,t,{name:n,type:r,fn:i});return{name:n,type:r,context:s,fn:o}}});const y=(e,t,{name:n,type:r,fn:s})=>{const i=["blink.user_timing"];switch(r){case"promise":return(...e)=>{const r=++t.counter;t.trace.begin({name:n,id:r,cat:i});const o=s(...e);return o.then(e=>{t.trace.end({name:n,id:r,cat:i});return e})};case"async":return(...e)=>{const r=++t.counter;t.trace.begin({name:n,id:r,cat:i});const o=e.pop();s(...e,(...e)=>{t.trace.end({name:n,id:r,cat:i});o(...e)})};case"sync":return(...e)=>{const r=++t.counter;if(n===f){return s(...e)}t.trace.begin({name:n,id:r,cat:i});let o;try{o=s(...e)}catch(e){t.trace.end({name:n,id:r,cat:i});throw e}t.trace.end({name:n,id:r,cat:i});return o};default:break}};e.exports=ProfilingPlugin;e.exports.Profiler=Profiler},98371:(e,t,n)=>{"use strict";const r=n(40363);class AMDDefineDependency extends r{constructor(e,t,n,r,s){super();this.range=e;this.arrayRange=t;this.functionRange=n;this.objectRange=r;this.namedModule=s;this.localModule=null}get type(){return"amd define"}}AMDDefineDependency.Template=class AMDDefineDependencyTemplate{get definitions(){return{f:["var __WEBPACK_AMD_DEFINE_RESULT__;",`!(__WEBPACK_AMD_DEFINE_RESULT__ = (#).call(exports, __webpack_require__, exports, module),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`],o:["","!(module.exports = #)"],of:["var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;",`!(__WEBPACK_AMD_DEFINE_FACTORY__ = (#),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :\n\t\t\t\t__WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`],af:["var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;",`!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, __WEBPACK_AMD_DEFINE_RESULT__ = (#).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`],ao:["","!(#, module.exports = #)"],aof:["var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;",`!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, __WEBPACK_AMD_DEFINE_FACTORY__ = (#),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`],lf:["var XXX, XXXmodule;","!(XXXmodule = { id: YYY, exports: {}, loaded: false }, XXX = #.call(XXXmodule.exports, __webpack_require__, XXXmodule.exports, XXXmodule), XXXmodule.loaded = true, XXX === undefined && (XXX = XXXmodule.exports))"],lo:["var XXX;","!(XXX = #)"],lof:["var XXX, XXXfactory, XXXmodule;","!(XXXfactory = (#), (XXXmodule = { id: YYY, exports: {}, loaded: false }), XXX = (typeof XXXfactory === 'function' ? (XXXfactory.call(XXXmodule.exports, __webpack_require__, XXXmodule.exports, XXXmodule)) : XXXfactory), (XXXmodule.loaded = true), XXX === undefined && (XXX = XXXmodule.exports))"],laf:["var __WEBPACK_AMD_DEFINE_ARRAY__, XXX;","!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, XXX = ((#).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)))"],lao:["var XXX;","!(#, XXX = #)"],laof:["var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_FACTORY__, XXX;",`!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, __WEBPACK_AMD_DEFINE_FACTORY__ = (#),\n\t\t\t\tXXX = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__))`]}}apply(e,t){const n=this.branch(e);const r=this.definitions[n];const s=r[0];const i=r[1];this.replace(e,t,s,i)}localModuleVar(e){return e.localModule&&e.localModule.used&&e.localModule.variableName()}branch(e){const t=this.localModuleVar(e)?"l":"";const n=e.arrayRange?"a":"";const r=e.objectRange?"o":"";const s=e.functionRange?"f":"";return t+n+r+s}replace(e,t,n,r){const s=this.localModuleVar(e);if(s){r=r.replace(/XXX/g,s.replace(/\$/g,"$$$$"));n=n.replace(/XXX/g,s.replace(/\$/g,"$$$$"))}if(e.namedModule){r=r.replace(/YYY/g,JSON.stringify(e.namedModule))}const i=r.split("#");if(n)t.insert(0,n);let o=e.range[0];if(e.arrayRange){t.replace(o,e.arrayRange[0]-1,i.shift());o=e.arrayRange[1]}if(e.objectRange){t.replace(o,e.objectRange[0]-1,i.shift());o=e.objectRange[1]}else if(e.functionRange){t.replace(o,e.functionRange[0]-1,i.shift());o=e.functionRange[1]}t.replace(o,e.range[1]-1,i.shift());if(i.length>0)throw new Error("Implementation error")}};e.exports=AMDDefineDependency},70745:(e,t,n)=>{"use strict";const r=n(75221);const s=n(16623);const i=n(53119);const o=n(98371);const a=n(67368);const c=n(72279);const l=n(25053);const u=n(6858);const f=e=>{if(e.type!=="CallExpression")return false;if(e.callee.type!=="MemberExpression")return false;if(e.callee.computed)return false;if(e.callee.object.type!=="FunctionExpression")return false;if(e.callee.property.type!=="Identifier")return false;if(e.callee.property.name!=="bind")return false;return true};const p=e=>{if(e.type==="FunctionExpression")return true;if(e.type==="ArrowFunctionExpression")return true;return false};const d=e=>{if(p(e))return true;if(f(e))return true;return false};class AMDDefineDependencyParserPlugin{constructor(e){this.options=e}apply(e){e.hooks.call.for("define").tap("AMDDefineDependencyParserPlugin",this.processCallDefine.bind(this,e))}processArray(e,t,n,r,s){if(n.isArray()){n.items.forEach((n,i)=>{if(n.isString()&&["require","module","exports"].includes(n.string))r[i]=n.string;const o=this.processItem(e,t,n,s);if(o===undefined){this.processContext(e,t,n)}});return true}else if(n.isConstArray()){const s=[];n.array.forEach((n,i)=>{let o;let a;if(n==="require"){r[i]=n;o="__webpack_require__"}else if(["exports","module"].includes(n)){r[i]=n;o=n}else if(a=u.getLocalModule(e.state,n)){o=new c(a,undefined,false);o.loc=t.loc;e.state.current.addDependency(o)}else{o=this.newRequireItemDependency(n);o.loc=t.loc;o.optional=!!e.scope.inTry;e.state.current.addDependency(o)}s.push(o)});const i=this.newRequireArrayDependency(s,n.range);i.loc=t.loc;i.optional=!!e.scope.inTry;e.state.current.addDependency(i);return true}}processItem(e,t,n,r){if(n.isConditional()){n.options.forEach(n=>{const r=this.processItem(e,t,n);if(r===undefined){this.processContext(e,t,n)}});return true}else if(n.isString()){let s,o;if(n.string==="require"){s=new i("__webpack_require__",n.range)}else if(["require","exports","module"].includes(n.string)){s=new i(n.string,n.range)}else if(o=u.getLocalModule(e.state,n.string,r)){s=new c(o,n.range,false)}else{s=this.newRequireItemDependency(n.string,n.range)}s.loc=t.loc;s.optional=!!e.scope.inTry;e.state.current.addDependency(s);return true}}processContext(e,t,n){const r=l.create(s,n.range,n,t,this.options,{},e);if(!r)return;r.loc=t.loc;r.optional=!!e.scope.inTry;e.state.current.addDependency(r);return true}processCallDefine(e,t){let n,r,s,i;switch(t.arguments.length){case 1:if(d(t.arguments[0])){r=t.arguments[0]}else if(t.arguments[0].type==="ObjectExpression"){s=t.arguments[0]}else{s=r=t.arguments[0]}break;case 2:if(t.arguments[0].type==="Literal"){i=t.arguments[0].value;if(d(t.arguments[1])){r=t.arguments[1]}else if(t.arguments[1].type==="ObjectExpression"){s=t.arguments[1]}else{s=r=t.arguments[1]}}else{n=t.arguments[0];if(d(t.arguments[1])){r=t.arguments[1]}else if(t.arguments[1].type==="ObjectExpression"){s=t.arguments[1]}else{s=r=t.arguments[1]}}break;case 3:i=t.arguments[0].value;n=t.arguments[1];if(d(t.arguments[2])){r=t.arguments[2]}else if(t.arguments[2].type==="ObjectExpression"){s=t.arguments[2]}else{s=r=t.arguments[2]}break;default:return}let o=null;let a=0;if(r){if(p(r)){o=r.params}else if(f(r)){o=r.callee.object.params;a=r.arguments.length-1;if(a<0){a=0}}}let c=e.scope.renames.createChild();if(n){const r={};const s=e.evaluateExpression(n);const l=this.processArray(e,t,s,r,i);if(!l)return;if(o){o=o.slice(a).filter((e,t)=>{if(r[t]){c.set(e.name,r[t]);return false}return true})}}else{const e=["require","exports","module"];if(o){o=o.slice(a).filter((t,n)=>{if(e[n]){c.set(t.name,e[n]);return false}return true})}}let l;if(r&&p(r)){l=e.scope.inTry;e.inScope(o,()=>{e.scope.renames=c;e.scope.inTry=l;if(r.body.type==="BlockStatement"){e.walkStatement(r.body)}else{e.walkExpression(r.body)}})}else if(r&&f(r)){l=e.scope.inTry;e.inScope(r.callee.object.params.filter(e=>!["require","module","exports"].includes(e.name)),()=>{e.scope.renames=c;e.scope.inTry=l;if(r.callee.object.body.type==="BlockStatement"){e.walkStatement(r.callee.object.body)}else{e.walkExpression(r.callee.object.body)}});if(r.arguments){e.walkExpressions(r.arguments)}}else if(r||s){e.walkExpression(r||s)}const h=this.newDefineDependency(t.range,n?n.range:null,r?r.range:null,s?s.range:null,i?i:null);h.loc=t.loc;if(i){h.localModule=u.addLocalModule(e.state,i)}e.state.current.addDependency(h);return true}newDefineDependency(e,t,n,r,s){return new o(e,t,n,r,s)}newRequireArrayDependency(e,t){return new a(e,t)}newRequireItemDependency(e,t){return new r(e,t)}}e.exports=AMDDefineDependencyParserPlugin},90041:(e,t,n)=>{"use strict";const r=n(85622);const s=n(36466);const i=n(75221);const o=n(67368);const a=n(16623);const c=n(98371);const l=n(93030);const u=n(72279);const f=n(47742);const p=n(8794);const d=n(70745);const h=n(51547);const m=n(77466);class AMDPlugin{constructor(e,t){this.amdOptions=t;this.options=e}apply(e){const t=this.options;const r=this.amdOptions;e.hooks.compilation.tap("AMDPlugin",(e,{contextModuleFactory:n,normalModuleFactory:h})=>{e.dependencyFactories.set(s,new f);e.dependencyTemplates.set(s,new s.Template);e.dependencyFactories.set(i,h);e.dependencyTemplates.set(i,new i.Template);e.dependencyFactories.set(o,new f);e.dependencyTemplates.set(o,new o.Template);e.dependencyFactories.set(a,n);e.dependencyTemplates.set(a,new a.Template);e.dependencyFactories.set(c,new f);e.dependencyTemplates.set(c,new c.Template);e.dependencyFactories.set(l,new f);e.dependencyTemplates.set(l,new l.Template);e.dependencyFactories.set(u,new f);e.dependencyTemplates.set(u,new u.Template);const y=(e,n)=>{if(n.amd!==undefined&&!n.amd)return;const s=(t,n)=>{e.hooks.expression.for(t).tap("AMDPlugin",r=>{const s=new i(n,r.range);s.userRequest=t;s.loc=r.loc;e.state.current.addDependency(s);return true})};new p(t).apply(e);new d(t).apply(e);s("require.amd","!!webpack amd options");s("define.amd","!!webpack amd options");s("define","!!webpack amd define");e.hooks.expression.for("__webpack_amd_options__").tap("AMDPlugin",()=>e.state.current.addVariable("__webpack_amd_options__",JSON.stringify(r)));e.hooks.evaluateTypeof.for("define.amd").tap("AMDPlugin",m.evaluateToString(typeof r));e.hooks.evaluateTypeof.for("require.amd").tap("AMDPlugin",m.evaluateToString(typeof r));e.hooks.evaluateIdentifier.for("define.amd").tap("AMDPlugin",m.evaluateToIdentifier("define.amd",true));e.hooks.evaluateIdentifier.for("require.amd").tap("AMDPlugin",m.evaluateToIdentifier("require.amd",true));e.hooks.typeof.for("define").tap("AMDPlugin",m.toConstantDependency(e,JSON.stringify("function")));e.hooks.evaluateTypeof.for("define").tap("AMDPlugin",m.evaluateToString("function"));e.hooks.canRename.for("define").tap("AMDPlugin",m.approve);e.hooks.rename.for("define").tap("AMDPlugin",t=>{const n=new i("!!webpack amd define",t.range);n.userRequest="define";n.loc=t.loc;e.state.current.addDependency(n);return false});e.hooks.typeof.for("require").tap("AMDPlugin",m.toConstantDependency(e,JSON.stringify("function")));e.hooks.evaluateTypeof.for("require").tap("AMDPlugin",m.evaluateToString("function"))};h.hooks.parser.for("javascript/auto").tap("AMDPlugin",y);h.hooks.parser.for("javascript/dynamic").tap("AMDPlugin",y)});e.hooks.afterResolvers.tap("AMDPlugin",()=>{e.resolverFactory.hooks.resolver.for("normal").tap("AMDPlugin",e=>{new h("described-resolve",{name:"amdefine",alias:n.ab+"amd-define.js"},"resolve").apply(e);new h("described-resolve",{name:"webpack amd options",alias:n.ab+"amd-options.js"},"resolve").apply(e);new h("described-resolve",{name:"webpack amd define",alias:n.ab+"amd-define.js"},"resolve").apply(e)})})}}e.exports=AMDPlugin},67368:(e,t,n)=>{"use strict";const r=n(29821);class AMDRequireArrayDependency extends r{constructor(e,t){super();this.depsArray=e;this.range=t}get type(){return"amd require array"}}AMDRequireArrayDependency.Template=class AMDRequireArrayDependencyTemplate{apply(e,t,n){const r=this.getContent(e,n);t.replace(e.range[0],e.range[1]-1,r)}getContent(e,t){const n=e.depsArray.map(e=>{return this.contentForDependency(e,t)});return`[${n.join(", ")}]`}contentForDependency(e,t){if(typeof e==="string"){return e}if(e.localModule){return e.localModule.variableName()}else{return t.moduleExports({module:e.module,request:e.request})}}};e.exports=AMDRequireArrayDependency},16623:(e,t,n)=>{"use strict";const r=n(64237);class AMDRequireContextDependency extends r{constructor(e,t,n){super(e);this.range=t;this.valueRange=n}get type(){return"amd require context"}}AMDRequireContextDependency.Template=n(13305);e.exports=AMDRequireContextDependency},33777:(e,t,n)=>{"use strict";const r=n(63979);const s=n(36466);e.exports=class AMDRequireDependenciesBlock extends r{constructor(e,t,n,r,s,i,o){super(null,s,i,o);this.expr=e;this.outerRange=e.range;this.arrayRange=t;this.functionBindThis=false;this.functionRange=n;this.errorCallbackBindThis=false;this.errorCallbackRange=r;this.bindThis=true;if(t&&n&&r){this.range=[t[0],r[1]]}else if(t&&n){this.range=[t[0],n[1]]}else if(t){this.range=t}else if(n){this.range=n}else{this.range=e.range}const a=this.newRequireDependency();a.loc=i;this.addDependency(a)}newRequireDependency(){return new s(this)}}},8794:(e,t,n)=>{"use strict";const r=n(75221);const s=n(67368);const i=n(16623);const o=n(33777);const a=n(93030);const c=n(72279);const l=n(25053);const u=n(6858);const f=n(53119);const p=n(52338);const d=n(52038);class AMDRequireDependenciesBlockParserPlugin{constructor(e){this.options=e}processFunctionArgument(e,t){let n=true;const r=p(t);if(r){e.inScope(r.fn.params.filter(e=>{return!["require","module","exports"].includes(e.name)}),()=>{if(r.fn.body.type==="BlockStatement"){e.walkStatement(r.fn.body)}else{e.walkExpression(r.fn.body)}});e.walkExpressions(r.expressions);if(r.needThis===false){n=false}}else{e.walkExpression(t)}return n}apply(e){e.hooks.call.for("require").tap("AMDRequireDependenciesBlockParserPlugin",this.processCallRequire.bind(this,e))}processArray(e,t,n){if(n.isArray()){for(const r of n.items){const n=this.processItem(e,t,r);if(n===undefined){this.processContext(e,t,r)}}return true}else if(n.isConstArray()){const r=[];for(const s of n.array){let n,i;if(s==="require"){n="__webpack_require__"}else if(["exports","module"].includes(s)){n=s}else if(i=u.getLocalModule(e.state,s)){n=new c(i,undefined,false);n.loc=t.loc;e.state.current.addDependency(n)}else{n=this.newRequireItemDependency(s);n.loc=t.loc;n.optional=!!e.scope.inTry;e.state.current.addDependency(n)}r.push(n)}const s=this.newRequireArrayDependency(r,n.range);s.loc=t.loc;s.optional=!!e.scope.inTry;e.state.current.addDependency(s);return true}}processItem(e,t,n){if(n.isConditional()){for(const r of n.options){const n=this.processItem(e,t,r);if(n===undefined){this.processContext(e,t,r)}}return true}else if(n.isString()){let r,s;if(n.string==="require"){r=new f("__webpack_require__",n.string)}else if(n.string==="module"){r=new f(e.state.module.buildInfo.moduleArgument,n.range)}else if(n.string==="exports"){r=new f(e.state.module.buildInfo.exportsArgument,n.range)}else if(s=u.getLocalModule(e.state,n.string)){r=new c(s,n.range,false)}else{r=this.newRequireItemDependency(n.string,n.range)}r.loc=t.loc;r.optional=!!e.scope.inTry;e.state.current.addDependency(r);return true}}processContext(e,t,n){const r=l.create(i,n.range,n,t,this.options,{},e);if(!r)return;r.loc=t.loc;r.optional=!!e.scope.inTry;e.state.current.addDependency(r);return true}processArrayForRequestString(e){if(e.isArray()){const t=e.items.map(e=>this.processItemForRequestString(e));if(t.every(Boolean))return t.join(" ")}else if(e.isConstArray()){return e.array.join(" ")}}processItemForRequestString(e){if(e.isConditional()){const t=e.options.map(e=>this.processItemForRequestString(e));if(t.every(Boolean))return t.join("|")}else if(e.isString()){return e.string}}processCallRequire(e,t){let n;let r;let s;const i=e.state.current;if(t.arguments.length>=1){n=e.evaluateExpression(t.arguments[0]);r=this.newRequireDependenciesBlock(t,n.range,t.arguments.length>1?t.arguments[1].range:null,t.arguments.length>2?t.arguments[2].range:null,e.state.module,t.loc,this.processArrayForRequestString(n));e.state.current=r}if(t.arguments.length===1){e.inScope([],()=>{s=this.processArray(e,t,n)});e.state.current=i;if(!s)return;e.state.current.addBlock(r);return true}if(t.arguments.length===2||t.arguments.length===3){try{e.inScope([],()=>{s=this.processArray(e,t,n)});if(!s){r=new a("unsupported",t.range);i.addDependency(r);if(e.state.module){e.state.module.errors.push(new d(e.state.module,"Cannot statically analyse 'require(…, …)' in line "+t.loc.start.line,t.loc))}r=null;return true}r.functionBindThis=this.processFunctionArgument(e,t.arguments[1]);if(t.arguments.length===3){r.errorCallbackBindThis=this.processFunctionArgument(e,t.arguments[2])}}finally{e.state.current=i;if(r)e.state.current.addBlock(r)}return true}}newRequireDependenciesBlock(e,t,n,r,s,i,a){return new o(e,t,n,r,s,i,a)}newRequireItemDependency(e,t){return new r(e,t)}newRequireArrayDependency(e,t){return new s(e,t)}}e.exports=AMDRequireDependenciesBlockParserPlugin},36466:(e,t,n)=>{"use strict";const r=n(40363);class AMDRequireDependency extends r{constructor(e){super();this.block=e}}AMDRequireDependency.Template=class AMDRequireDependencyTemplate{apply(e,t,n){const r=e.block;const s=n.blockPromise({block:r,message:"AMD require"});if(r.arrayRange&&!r.functionRange){const e=`${s}.then(function() {`;const i=`;}).catch(${n.onError()})`;t.replace(r.outerRange[0],r.arrayRange[0]-1,e);t.replace(r.arrayRange[1],r.outerRange[1]-1,i);return}if(r.functionRange&&!r.arrayRange){const e=`${s}.then((`;const i=`).bind(exports, __webpack_require__, exports, module)).catch(${n.onError()})`;t.replace(r.outerRange[0],r.functionRange[0]-1,e);t.replace(r.functionRange[1],r.outerRange[1]-1,i);return}if(r.arrayRange&&r.functionRange&&r.errorCallbackRange){const e=`${s}.then(function() { `;const n=`}${r.functionBindThis?".bind(this)":""}).catch(`;const i=`${r.errorCallbackBindThis?".bind(this)":""})`;t.replace(r.outerRange[0],r.arrayRange[0]-1,e);t.insert(r.arrayRange[0]+.9,"var __WEBPACK_AMD_REQUIRE_ARRAY__ = ");t.replace(r.arrayRange[1],r.functionRange[0]-1,"; (");t.insert(r.functionRange[1],").apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);");t.replace(r.functionRange[1],r.errorCallbackRange[0]-1,n);t.replace(r.errorCallbackRange[1],r.outerRange[1]-1,i);return}if(r.arrayRange&&r.functionRange){const e=`${s}.then(function() { `;const i=`}${r.functionBindThis?".bind(this)":""}).catch(${n.onError()})`;t.replace(r.outerRange[0],r.arrayRange[0]-1,e);t.insert(r.arrayRange[0]+.9,"var __WEBPACK_AMD_REQUIRE_ARRAY__ = ");t.replace(r.arrayRange[1],r.functionRange[0]-1,"; (");t.insert(r.functionRange[1],").apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);");t.replace(r.functionRange[1],r.outerRange[1]-1,i)}}};e.exports=AMDRequireDependency},75221:(e,t,n)=>{"use strict";const r=n(16002);const s=n(98448);class AMDRequireItemDependency extends r{constructor(e,t){super(e);this.range=t}get type(){return"amd require"}}AMDRequireItemDependency.Template=s;e.exports=AMDRequireItemDependency},51961:(e,t,n)=>{"use strict";const r=n(53119);const s=n(71872);const i=n(43934);const o=n(31041);const a=n(74013);const c=n(77592);const l=n(13284);const u=n(47742);const f=n(49221);const p=n(41805);const d=n(77466);class CommonJsPlugin{constructor(e){this.options=e}apply(e){const t=this.options;e.hooks.compilation.tap("CommonJsPlugin",(e,{contextModuleFactory:n,normalModuleFactory:h})=>{e.dependencyFactories.set(s,h);e.dependencyTemplates.set(s,new s.Template);e.dependencyFactories.set(i,n);e.dependencyTemplates.set(i,new i.Template);e.dependencyFactories.set(o,h);e.dependencyTemplates.set(o,new o.Template);e.dependencyFactories.set(a,n);e.dependencyTemplates.set(a,new a.Template);e.dependencyFactories.set(c,new u);e.dependencyTemplates.set(c,new c.Template);e.dependencyFactories.set(l,new u);e.dependencyTemplates.set(l,new l.Template);const m=(e,n)=>{if(n.commonjs!==undefined&&!n.commonjs)return;const s=["require","require.resolve","require.resolveWeak"];for(let t of s){e.hooks.typeof.for(t).tap("CommonJsPlugin",d.toConstantDependency(e,JSON.stringify("function")));e.hooks.evaluateTypeof.for(t).tap("CommonJsPlugin",d.evaluateToString("function"));e.hooks.evaluateIdentifier.for(t).tap("CommonJsPlugin",d.evaluateToIdentifier(t,true))}e.hooks.evaluateTypeof.for("module").tap("CommonJsPlugin",d.evaluateToString("object"));e.hooks.assign.for("require").tap("CommonJsPlugin",t=>{const n=new r("var require;",0);n.loc=t.loc;e.state.current.addDependency(n);e.scope.definitions.add("require");return true});e.hooks.canRename.for("require").tap("CommonJsPlugin",()=>true);e.hooks.rename.for("require").tap("CommonJsPlugin",t=>{const n=new r("var require;",0);n.loc=t.loc;e.state.current.addDependency(n);return false});e.hooks.typeof.for("module").tap("CommonJsPlugin",()=>true);e.hooks.evaluateTypeof.for("exports").tap("CommonJsPlugin",d.evaluateToString("object"));new p(t).apply(e);new f(t).apply(e)};h.hooks.parser.for("javascript/auto").tap("CommonJsPlugin",m);h.hooks.parser.for("javascript/dynamic").tap("CommonJsPlugin",m)})}}e.exports=CommonJsPlugin},43934:(e,t,n)=>{"use strict";const r=n(64237);const s=n(13305);class CommonJsRequireContextDependency extends r{constructor(e,t,n){super(e);this.range=t;this.valueRange=n}get type(){return"cjs require context"}}CommonJsRequireContextDependency.Template=s;e.exports=CommonJsRequireContextDependency},71872:(e,t,n)=>{"use strict";const r=n(16002);const s=n(71953);class CommonJsRequireDependency extends r{constructor(e,t){super(e);this.range=t}get type(){return"cjs require"}}CommonJsRequireDependency.Template=s;e.exports=CommonJsRequireDependency},41805:(e,t,n)=>{"use strict";const r=n(71872);const s=n(43934);const i=n(13284);const o=n(72279);const a=n(25053);const c=n(6858);const l=n(77466);class CommonJsRequireDependencyParserPlugin{constructor(e){this.options=e}apply(e){const t=this.options;const n=(t,n)=>{if(n.isString()){const s=new r(n.string,n.range);s.loc=t.loc;s.optional=!!e.scope.inTry;e.state.current.addDependency(s);return true}};const u=(n,r)=>{const i=a.create(s,n.range,r,n,t,{},e);if(!i)return;i.loc=n.loc;i.optional=!!e.scope.inTry;e.state.current.addDependency(i);return true};e.hooks.expression.for("require.cache").tap("CommonJsRequireDependencyParserPlugin",l.toConstantDependencyWithWebpackRequire(e,"__webpack_require__.c"));e.hooks.expression.for("require").tap("CommonJsRequireDependencyParserPlugin",n=>{const r=new s({request:t.unknownContextRequest,recursive:t.unknownContextRecursive,regExp:t.unknownContextRegExp,mode:"sync"},n.range);r.critical=t.unknownContextCritical&&"require function is used in a way in which dependencies cannot be statically extracted";r.loc=n.loc;r.optional=!!e.scope.inTry;e.state.current.addDependency(r);return true});const f=t=>r=>{if(r.arguments.length!==1)return;let s;const a=e.evaluateExpression(r.arguments[0]);if(a.isConditional()){let t=false;const s=e.state.current.dependencies.length;const o=new i(r.callee.range);o.loc=r.loc;e.state.current.addDependency(o);for(const e of a.options){const s=n(r,e);if(s===undefined){t=true}}if(t){e.state.current.dependencies.length=s}else{return true}}if(a.isString()&&(s=c.getLocalModule(e.state,a.string))){const n=new o(s,r.range,t);n.loc=r.loc;e.state.current.addDependency(n);return true}else{const t=n(r,a);if(t===undefined){u(r,a)}else{const t=new i(r.callee.range);t.loc=r.loc;e.state.current.addDependency(t)}return true}};e.hooks.call.for("require").tap("CommonJsRequireDependencyParserPlugin",f(false));e.hooks.new.for("require").tap("CommonJsRequireDependencyParserPlugin",f(true));e.hooks.call.for("module.require").tap("CommonJsRequireDependencyParserPlugin",f(false));e.hooks.new.for("module.require").tap("CommonJsRequireDependencyParserPlugin",f(true))}}e.exports=CommonJsRequireDependencyParserPlugin},53119:(e,t,n)=>{"use strict";const r=n(40363);class ConstDependency extends r{constructor(e,t,n){super();this.expression=e;this.range=t;this.requireWebpackRequire=n}updateHash(e){e.update(this.range+"");e.update(this.expression+"")}}ConstDependency.Template=class ConstDependencyTemplate{apply(e,t){if(typeof e.range==="number"){t.insert(e.range,e.expression);return}t.replace(e.range[0],e.range[1]-1,e.expression)}};e.exports=ConstDependency},64237:(e,t,n)=>{"use strict";const r=n(29821);const s=n(29845);const i=e=>e?e+"":"";class ContextDependency extends r{constructor(e){super();this.options=e;this.userRequest=this.options.request;this.critical=false;this.hadGlobalOrStickyRegExp=false;if(this.options.regExp.global||this.options.regExp.sticky){this.options.regExp=null;this.hadGlobalOrStickyRegExp=true}}getResourceIdentifier(){return`context${this.options.request} ${this.options.recursive} `+`${i(this.options.regExp)} ${i(this.options.include)} ${i(this.options.exclude)} `+`${this.options.mode} ${this.options.chunkName} `+`${JSON.stringify(this.options.groupOptions)}`}getWarnings(){let e=super.getWarnings()||[];if(this.critical){e.push(new s(this.critical))}if(this.hadGlobalOrStickyRegExp){e.push(new s("Contexts can't use RegExps with the 'g' or 'y' flags."))}return e}}Object.defineProperty(ContextDependency.prototype,"async",{configurable:false,get(){throw new Error("ContextDependency.async was removed. Use ContextDependency.options.mode instead.")},set(){throw new Error("ContextDependency.async was removed. Pass options.mode to constructor instead")}});e.exports=ContextDependency},25053:(e,t)=>{"use strict";const n=t;const r=e=>{return e.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&")};const s=e=>{const t=e.lastIndexOf("/");let n=".";if(t>=0){n=e.substr(0,t);e=`.${e.substr(t)}`}return{context:n,prefix:e}};const i=e=>{const t=e.indexOf("?");let n="";if(t>=0){n=e.substr(t);e=e.substr(0,t)}return{postfix:e,query:n}};n.create=((e,t,n,o,a,c,l=null)=>{if(n.isTemplateString()){let u=n.quasis[0].string;let f=n.quasis.length>1?n.quasis[n.quasis.length-1].string:"";const p=n.range;const{context:d,prefix:h}=s(u);const{postfix:m,query:y}=i(f);const g=n.quasis.slice(1,n.quasis.length-1);const v=a.wrappedContextRegExp.source+g.map(e=>r(e.string)+a.wrappedContextRegExp.source).join("");const b=new RegExp(`^${r(h)}${v}${r(m)}$`);const w=new e(Object.assign({request:d+y,recursive:a.wrappedContextRecursive,regExp:b,mode:"sync"},c),t,p);w.loc=o.loc;const k=[];n.parts.forEach((e,t)=>{if(t%2===0){let r=e.range;let s=e.string;if(n.templateStringKind==="cooked"){s=JSON.stringify(s);s=s.slice(1,s.length-1)}if(t===0){s=h;r=[n.range[0],e.range[1]];s=(n.templateStringKind==="cooked"?"`":"String.raw`")+s}else if(t===n.parts.length-1){s=m;r=[e.range[0],n.range[1]];s=s+"`"}else if(e.expression&&e.expression.type==="TemplateElement"&&e.expression.value.raw===s){return}k.push({range:r,value:s})}else{if(l){l.walkExpression(e.expression)}}});w.replaces=k;w.critical=a.wrappedContextCritical&&"a part of the request of a dependency is an expression";return w}else if(n.isWrapped()&&(n.prefix&&n.prefix.isString()||n.postfix&&n.postfix.isString())){let u=n.prefix&&n.prefix.isString()?n.prefix.string:"";let f=n.postfix&&n.postfix.isString()?n.postfix.string:"";const p=n.prefix&&n.prefix.isString()?n.prefix.range:null;const d=n.postfix&&n.postfix.isString()?n.postfix.range:null;const h=n.range;const{context:m,prefix:y}=s(u);const{postfix:g,query:v}=i(f);const b=new RegExp(`^${r(y)}${a.wrappedContextRegExp.source}${r(g)}$`);const w=new e(Object.assign({request:m+v,recursive:a.wrappedContextRecursive,regExp:b,mode:"sync"},c),t,h);w.loc=o.loc;const k=[];if(p){k.push({range:p,value:JSON.stringify(y)})}if(d){k.push({range:d,value:JSON.stringify(g)})}w.replaces=k;w.critical=a.wrappedContextCritical&&"a part of the request of a dependency is an expression";if(l&&n.wrappedInnerExpressions){for(const e of n.wrappedInnerExpressions){if(e.expression)l.walkExpression(e.expression)}}return w}else{const r=new e(Object.assign({request:a.exprContextRequest,recursive:a.exprContextRecursive,regExp:a.exprContextRegExp,mode:"sync"},c),t,n.range);r.loc=o.loc;r.critical=a.exprContextCritical&&"the request of a dependency is an expression";if(l){l.walkExpression(n.expression)}return r}})},52060:e=>{"use strict";class ContextDependencyTemplateAsId{apply(e,t,n){const r=n.moduleExports({module:e.module,request:e.request});if(e.module){if(e.valueRange){if(Array.isArray(e.replaces)){for(let n=0;n{"use strict";class ContextDependencyTemplateAsRequireCall{apply(e,t,n){const r=n.moduleExports({module:e.module,request:e.request});if(e.module){if(e.valueRange){if(Array.isArray(e.replaces)){for(let n=0;n{"use strict";const r=n(16002);class ContextElementDependency extends r{constructor(e,t){super(e);if(t){this.userRequest=t}}get type(){return"context element"}}e.exports=ContextElementDependency},29845:(e,t,n)=>{"use strict";const r=n(1891);class CriticalDependencyWarning extends r{constructor(e){super();this.name="CriticalDependencyWarning";this.message="Critical dependency: "+e;Error.captureStackTrace(this,this.constructor)}}e.exports=CriticalDependencyWarning},9853:(e,t,n)=>{"use strict";const r=n(49440);const s=n(40363);class DelegatedExportsDependency extends s{constructor(e,t){super();this.originModule=e;this.exports=t}get type(){return"delegated exports"}getReference(){return new r(this.originModule,true,false)}getExports(){return{exports:this.exports,dependencies:undefined}}}e.exports=DelegatedExportsDependency},69314:(e,t,n)=>{"use strict";const r=n(16002);class DelegatedSourceDependency extends r{constructor(e){super(e)}get type(){return"delegated source"}}e.exports=DelegatedSourceDependency},49440:e=>{"use strict";class DependencyReference{constructor(e,t,n=false,r=NaN){this.module=e;this.importedNames=t;this.weak=!!n;this.order=r}static sort(e){const t=new WeakMap;let n=0;for(const r of e){t.set(r,n++)}return e.sort((e,n)=>{const r=e.order;const s=n.order;if(isNaN(r)){if(!isNaN(s)){return 1}}else{if(isNaN(s)){return-1}if(r!==s){return r-s}}const i=t.get(e);const o=t.get(n);return i-o})}}e.exports=DependencyReference},70562:(e,t,n)=>{"use strict";const r=n(29821);class DllEntryDependency extends r{constructor(e,t){super();this.dependencies=e;this.name=t}get type(){return"dll entry"}}e.exports=DllEntryDependency},6712:(e,t,n)=>{"use strict";const r=n(40363);const s=n(22357);class HarmonyAcceptDependency extends r{constructor(e,t,n){super();this.range=e;this.dependencies=t;this.hasCallback=n}get type(){return"accepted harmony modules"}}HarmonyAcceptDependency.Template=class HarmonyAcceptDependencyTemplate{apply(e,t,n){const r=e.dependencies.filter(e=>s.Template.isImportEmitted(e,t)).map(e=>e.getImportStatement(true,n)).join("");if(e.hasCallback){t.insert(e.range[0],`function(__WEBPACK_OUTDATED_DEPENDENCIES__) { ${r}(`);t.insert(e.range[1],")(__WEBPACK_OUTDATED_DEPENDENCIES__); }.bind(this)");return}t.insert(e.range[1]-.5,`, function() { ${r} }`)}};e.exports=HarmonyAcceptDependency},63573:(e,t,n)=>{"use strict";const r=n(22357);class HarmonyAcceptImportDependency extends r{constructor(e,t,n){super(e,t,NaN,n);this.weak=true}get type(){return"harmony accept"}}HarmonyAcceptImportDependency.Template=class HarmonyAcceptImportDependencyTemplate extends r.Template{apply(e,t,n){}};e.exports=HarmonyAcceptImportDependency},88440:(e,t,n)=>{"use strict";const r=n(40363);class HarmonyCompatibilityDependency extends r{constructor(e){super();this.originModule=e}get type(){return"harmony export header"}}HarmonyCompatibilityDependency.Template=class HarmonyExportDependencyTemplate{apply(e,t,n){const r=e.originModule.usedExports;if(r!==false&&!Array.isArray(r)){const r=n.defineEsModuleFlagStatement({exportsArgument:e.originModule.exportsArgument});t.insert(-10,r)}}};e.exports=HarmonyCompatibilityDependency},50904:(e,t,n)=>{"use strict";const r=n(88440);const s=n(50793);e.exports=class HarmonyDetectionParserPlugin{apply(e){e.hooks.program.tap("HarmonyDetectionParserPlugin",t=>{const n=e.state.module.type==="javascript/esm";const i=n||t.body.some(e=>e.type==="ImportDeclaration"||e.type==="ExportDefaultDeclaration"||e.type==="ExportNamedDeclaration"||e.type==="ExportAllDeclaration");if(i){const t=e.state.module;const i=new r(t);i.loc={start:{line:-1,column:0},end:{line:-1,column:0},index:-3};t.addDependency(i);const o=new s(t);o.loc={start:{line:-1,column:0},end:{line:-1,column:0},index:-2};t.addDependency(o);e.state.harmonyParserScope=e.state.harmonyParserScope||{};e.scope.isStrict=true;t.buildMeta.exportsType="namespace";t.buildInfo.strict=true;t.buildInfo.exportsArgument="__webpack_exports__";if(n){t.buildMeta.strictHarmonyModule=true;t.buildInfo.moduleArgument="__webpack_module__"}}});const t=()=>{const t=e.state.module;if(t&&t.buildMeta&&t.buildMeta.exportsType){return true}};const n=()=>{const t=e.state.module;if(t&&t.buildMeta&&t.buildMeta.exportsType){return null}};const i=["define","exports"];for(const r of i){e.hooks.evaluateTypeof.for(r).tap("HarmonyDetectionParserPlugin",n);e.hooks.typeof.for(r).tap("HarmonyDetectionParserPlugin",t);e.hooks.evaluate.for(r).tap("HarmonyDetectionParserPlugin",n);e.hooks.expression.for(r).tap("HarmonyDetectionParserPlugin",t);e.hooks.call.for(r).tap("HarmonyDetectionParserPlugin",t)}}}},94860:(e,t,n)=>{"use strict";const r=n(947);const s=n(48285);const i=n(13868);const o=n(1919);const a=n(31817);const c=n(53119);e.exports=class HarmonyExportDependencyParserPlugin{constructor(e){this.strictExportPresence=e.strictExportPresence}apply(e){e.hooks.export.tap("HarmonyExportDependencyParserPlugin",t=>{const n=new i(t.declaration&&t.declaration.range,t.range);n.loc=Object.create(t.loc);n.loc.index=-1;e.state.current.addDependency(n);return true});e.hooks.exportImport.tap("HarmonyExportDependencyParserPlugin",(t,n)=>{e.state.lastHarmonyImportOrder=(e.state.lastHarmonyImportOrder||0)+1;const r=new c("",t.range);r.loc=Object.create(t.loc);r.loc.index=-1;e.state.current.addDependency(r);const i=new s(n,e.state.module,e.state.lastHarmonyImportOrder,e.state.harmonyParserScope);i.loc=Object.create(t.loc);i.loc.index=-1;e.state.current.addDependency(i);return true});e.hooks.exportExpression.tap("HarmonyExportDependencyParserPlugin",(t,n)=>{const s=e.getComments([t.range[0],n.range[0]]);const i=new r(e.state.module,n.range,t.range,s.map(e=>{switch(e.type){case"Block":return`/*${e.value}*/`;case"Line":return`//${e.value}\n`}return""}).join(""));i.loc=Object.create(t.loc);i.loc.index=-1;e.state.current.addDependency(i);return true});e.hooks.exportDeclaration.tap("HarmonyExportDependencyParserPlugin",e=>{});e.hooks.exportSpecifier.tap("HarmonyExportDependencyParserPlugin",(t,n,r,s)=>{const i=e.scope.renames.get(n);let c;const l=e.state.harmonyNamedExports=e.state.harmonyNamedExports||new Set;l.add(r);if(i==="imported var"){const t=e.state.harmonySpecifier.get(n);c=new a(t.source,e.state.module,t.sourceOrder,e.state.harmonyParserScope,t.id,r,l,null,this.strictExportPresence)}else{c=new o(e.state.module,n,r)}c.loc=Object.create(t.loc);c.loc.index=s;e.state.current.addDependency(c);return true});e.hooks.exportImportSpecifier.tap("HarmonyExportDependencyParserPlugin",(t,n,r,s,i)=>{const o=e.state.harmonyNamedExports=e.state.harmonyNamedExports||new Set;let c=null;if(s){o.add(s)}else{c=e.state.harmonyStarExports=e.state.harmonyStarExports||[]}const l=new a(n,e.state.module,e.state.lastHarmonyImportOrder,e.state.harmonyParserScope,r,s,o,c&&c.slice(),this.strictExportPresence);if(c){c.push(l)}l.loc=Object.create(t.loc);l.loc.index=i;e.state.current.addDependency(l);return true})}}},947:(e,t,n)=>{"use strict";const r=n(40363);class HarmonyExportExpressionDependency extends r{constructor(e,t,n,r){super();this.originModule=e;this.range=t;this.rangeStatement=n;this.prefix=r}get type(){return"harmony export expression"}getExports(){return{exports:["default"],dependencies:undefined}}}HarmonyExportExpressionDependency.Template=class HarmonyExportDependencyTemplate{apply(e,t){const n=e.originModule.isUsed("default");const r=this.getContent(e.originModule,n);if(e.range){t.replace(e.rangeStatement[0],e.range[0]-1,r+"("+e.prefix);t.replace(e.range[1],e.rangeStatement[1]-1,");");return}t.replace(e.rangeStatement[0],e.rangeStatement[1]-1,r)}getContent(e,t){const n=e.exportsArgument;if(t){return`/* harmony default export */ ${n}[${JSON.stringify(t)}] = `}return"/* unused harmony default export */ var _unused_webpack_default_export = "}};e.exports=HarmonyExportExpressionDependency},13868:(e,t,n)=>{"use strict";const r=n(40363);class HarmonyExportHeaderDependency extends r{constructor(e,t){super();this.range=e;this.rangeStatement=t}get type(){return"harmony export header"}}HarmonyExportHeaderDependency.Template=class HarmonyExportDependencyTemplate{apply(e,t){const n="";const r=e.range?e.range[0]-1:e.rangeStatement[1]-1;t.replace(e.rangeStatement[0],r,n)}};e.exports=HarmonyExportHeaderDependency},31817:(e,t,n)=>{"use strict";const r=n(49440);const s=n(22357);const i=n(73720);const o=n(4325);const a=new Map;class ExportMode{constructor(e){this.type=e;this.name=null;this.map=a;this.ignored=null;this.module=null;this.userRequest=null}}const c=new ExportMode("empty-star");class HarmonyExportImportedSpecifierDependency extends s{constructor(e,t,n,r,s,i,o,a,c){super(e,t,n,r);this.id=s;this.redirectedId=undefined;this.name=i;this.activeExports=o;this.otherStarExports=a;this.strictExportPresence=c}get type(){return"harmony export imported specifier"}get _id(){return this.redirectedId||this.id}getMode(e){const t=this.name;const n=this._id;const r=this.originModule.isUsed(t);const s=this._module;if(!s){const e=new ExportMode("missing");e.userRequest=this.userRequest;return e}if(!e&&(t?!r:this.originModule.usedExports===false)){const e=new ExportMode("unused");e.name=t||"*";return e}const i=this.originModule.buildMeta.strictHarmonyModule;if(t&&n==="default"&&s.buildMeta){if(!s.buildMeta.exportsType){const e=new ExportMode(i?"reexport-non-harmony-default-strict":"reexport-non-harmony-default");e.name=t;e.module=s;return e}else if(s.buildMeta.exportsType==="named"){const e=new ExportMode("reexport-named-default");e.name=t;e.module=s;return e}}const o=s.buildMeta&&!s.buildMeta.exportsType;if(t){let e;if(n){if(o&&i){e=new ExportMode("rexport-non-harmony-undefined");e.name=t}else{e=new ExportMode("safe-reexport");e.map=new Map([[t,n]])}}else{if(o&&i){e=new ExportMode("reexport-fake-namespace-object");e.name=t}else{e=new ExportMode("reexport-namespace-object");e.name=t}}e.module=s;return e}const a=Array.isArray(this.originModule.usedExports);const l=Array.isArray(s.buildMeta.providedExports);const u=this._discoverActiveExportsFromOtherStartExports();if(a){if(l){const e=new Map(this.originModule.usedExports.filter(e=>{if(e==="default")return false;if(this.activeExports.has(e))return false;if(u.has(e))return false;if(!s.buildMeta.providedExports.includes(e))return false;return true}).map(e=>[e,e]));if(e.size===0){return c}const t=new ExportMode("safe-reexport");t.module=s;t.map=e;return t}const e=new Map(this.originModule.usedExports.filter(e=>{if(e==="default")return false;if(this.activeExports.has(e))return false;if(u.has(e))return false;return true}).map(e=>[e,e]));if(e.size===0){return c}const t=new ExportMode("checked-reexport");t.module=s;t.map=e;return t}if(l){const e=new Map(s.buildMeta.providedExports.filter(e=>{if(e==="default")return false;if(this.activeExports.has(e))return false;if(u.has(e))return false;return true}).map(e=>[e,e]));if(e.size===0){return c}const t=new ExportMode("safe-reexport");t.module=s;t.map=e;return t}const f=new ExportMode("dynamic-reexport");f.module=s;f.ignored=new Set(["default",...this.activeExports,...u]);return f}getReference(){const e=this.getMode(false);switch(e.type){case"missing":case"unused":case"empty-star":return null;case"reexport-non-harmony-default":case"reexport-named-default":return new r(e.module,["default"],false,this.sourceOrder);case"reexport-namespace-object":case"reexport-non-harmony-default-strict":case"reexport-fake-namespace-object":case"rexport-non-harmony-undefined":return new r(e.module,true,false,this.sourceOrder);case"safe-reexport":case"checked-reexport":return new r(e.module,Array.from(e.map.values()),false,this.sourceOrder);case"dynamic-reexport":return new r(e.module,true,false,this.sourceOrder);default:throw new Error(`Unknown mode ${e.type}`)}}_discoverActiveExportsFromOtherStartExports(){if(!this.otherStarExports)return new Set;const e=new Set;for(const t of this.otherStarExports){const n=t._module;if(n&&Array.isArray(n.buildMeta.providedExports)){for(const t of n.buildMeta.providedExports){e.add(t)}}}return e}getExports(){if(this.name){return{exports:[this.name],dependencies:undefined}}const e=this._module;if(!e){return{exports:null,dependencies:undefined}}if(Array.isArray(e.buildMeta.providedExports)){const t=this._discoverActiveExportsFromOtherStartExports();return{exports:e.buildMeta.providedExports.filter(e=>e!=="default"&&!t.has(e)&&!this.activeExports.has(e)),dependencies:[e]}}if(e.buildMeta.providedExports){return{exports:true,dependencies:undefined}}return{exports:null,dependencies:[e]}}getWarnings(){if(this.strictExportPresence||this.originModule.buildMeta.strictHarmonyModule){return[]}return this._getErrors()}getErrors(){if(this.strictExportPresence||this.originModule.buildMeta.strictHarmonyModule){return this._getErrors()}return[]}_getErrors(){const e=this._module;if(!e){return}if(!e.buildMeta||!e.buildMeta.exportsType){if(this.originModule.buildMeta.strictHarmonyModule&&this._id&&this._id!=="default"){return[new o(`Can't reexport the named export '${this._id}' from non EcmaScript module (only default export is available)`)]}return}if(!this._id){return}if(e.isProvided(this._id)!==false){return}const t=this._id!==this.name?` (reexported as '${this.name}')`:"";const n=`"export '${this._id}'${t} was not found in '${this.userRequest}'`;return[new o(n)]}updateHash(e){super.updateHash(e);const t=this.getHashValue(this._module);e.update(t)}getHashValue(e){if(!e){return""}const t=JSON.stringify(e.usedExports);const n=JSON.stringify(e.buildMeta.providedExports);return e.used+t+n}disconnect(){super.disconnect();this.redirectedId=undefined}}e.exports=HarmonyExportImportedSpecifierDependency;HarmonyExportImportedSpecifierDependency.Template=class HarmonyExportImportedSpecifierDependencyTemplate extends s.Template{harmonyInit(e,t,n,r){super.harmonyInit(e,t,n,r);const s=this.getContent(e);t.insert(-1,s)}getHarmonyInitOrder(e){if(e.name){const t=e.originModule.isUsed(e.name);if(!t)return NaN}else{const t=e._module;const n=e._discoverActiveExportsFromOtherStartExports();if(Array.isArray(e.originModule.usedExports)){const r=e.originModule.usedExports.every(r=>{if(r==="default")return true;if(e.activeExports.has(r))return true;if(t.isProvided(r)===false)return true;if(n.has(r))return true;return false});if(r)return NaN}else if(e.originModule.usedExports&&t&&Array.isArray(t.buildMeta.providedExports)){const r=t.buildMeta.providedExports.every(t=>{if(t==="default")return true;if(e.activeExports.has(t))return true;if(n.has(t))return true;return false});if(r)return NaN}}return super.getHarmonyInitOrder(e)}getContent(e){const t=e.getMode(false);const n=e.originModule;const r=e._module;const s=e.getImportVar();switch(t.type){case"missing":return`throw new Error(${JSON.stringify(`Cannot find module '${t.userRequest}'`)});\n`;case"unused":return`${i.toNormalComment(`unused harmony reexport ${t.name}`)}\n`;case"reexport-non-harmony-default":return"/* harmony reexport (default from non-harmony) */ "+this.getReexportStatement(n,n.isUsed(t.name),s,null);case"reexport-named-default":return"/* harmony reexport (default from named exports) */ "+this.getReexportStatement(n,n.isUsed(t.name),s,"");case"reexport-fake-namespace-object":return"/* harmony reexport (fake namespace object from non-harmony) */ "+this.getReexportFakeNamespaceObjectStatement(n,n.isUsed(t.name),s);case"rexport-non-harmony-undefined":return"/* harmony reexport (non default export from non-harmony) */ "+this.getReexportStatement(n,n.isUsed(t.name),"undefined","");case"reexport-non-harmony-default-strict":return"/* harmony reexport (default from non-harmony) */ "+this.getReexportStatement(n,n.isUsed(t.name),s,"");case"reexport-namespace-object":return"/* harmony reexport (module object) */ "+this.getReexportStatement(n,n.isUsed(t.name),s,"");case"empty-star":return"/* empty/unused harmony star reexport */";case"safe-reexport":return Array.from(t.map.entries()).map(e=>{return"/* harmony reexport (safe) */ "+this.getReexportStatement(n,n.isUsed(e[0]),s,r.isUsed(e[1]))+"\n"}).join("");case"checked-reexport":return Array.from(t.map.entries()).map(e=>{return"/* harmony reexport (checked) */ "+this.getConditionalReexportStatement(n,e[0],s,e[1])+"\n"}).join("");case"dynamic-reexport":{const n=t.ignored;let r="/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in "+s+") ";if(n.size>0){r+="if("+JSON.stringify(Array.from(n))+".indexOf(__WEBPACK_IMPORT_KEY__) < 0) "}else{r+="if(__WEBPACK_IMPORT_KEY__ !== 'default') "}const i=e.originModule.exportsArgument;return r+`(function(key) { __webpack_require__.d(${i}, key, function() { return ${s}[key]; }) }(__WEBPACK_IMPORT_KEY__));\n`}default:throw new Error(`Unknown mode ${t.type}`)}}getReexportStatement(e,t,n,r){const s=e.exportsArgument;const i=this.getReturnValue(n,r);return`__webpack_require__.d(${s}, ${JSON.stringify(t)}, function() { return ${i}; });\n`}getReexportFakeNamespaceObjectStatement(e,t,n){const r=e.exportsArgument;return`__webpack_require__.d(${r}, ${JSON.stringify(t)}, function() { return __webpack_require__.t(${n}); });\n`}getConditionalReexportStatement(e,t,n,r){if(r===false){return"/* unused export */\n"}const s=e.exportsArgument;const i=this.getReturnValue(n,r);return`if(__webpack_require__.o(${n}, ${JSON.stringify(r)})) __webpack_require__.d(${s}, ${JSON.stringify(t)}, function() { return ${i}; });\n`}getReturnValue(e,t){if(t===null){return`${e}_default.a`}if(t===""){return e}if(t===false){return"/* unused export */ undefined"}return`${e}[${JSON.stringify(t)}]`}}},1919:(e,t,n)=>{"use strict";const r=n(40363);class HarmonyExportSpecifierDependency extends r{constructor(e,t,n){super();this.originModule=e;this.id=t;this.name=n}get type(){return"harmony export specifier"}getExports(){return{exports:[this.name],dependencies:undefined}}}HarmonyExportSpecifierDependency.Template=class HarmonyExportSpecifierDependencyTemplate{apply(e,t){}getHarmonyInitOrder(e){return 0}harmonyInit(e,t,n){const r=this.getContent(e);t.insert(-1,r)}getContent(e){const t=e.originModule.isUsed(e.name);if(!t){return`/* unused harmony export ${e.name||"namespace"} */\n`}const n=e.originModule.exportsArgument;return`/* harmony export (binding) */ __webpack_require__.d(${n}, ${JSON.stringify(t)}, function() { return ${e.id}; });\n`}};e.exports=HarmonyExportSpecifierDependency},22357:(e,t,n)=>{"use strict";const r=n(49440);const s=n(16002);const i=n(73720);class HarmonyImportDependency extends s{constructor(e,t,n,r){super(e);this.redirectedModule=undefined;this.originModule=t;this.sourceOrder=n;this.parserScope=r}get _module(){return this.redirectedModule||this.module}getReference(){if(!this._module)return null;return new r(this._module,false,this.weak,this.sourceOrder)}getImportVar(){let e=this.parserScope.importVarMap;if(!e)this.parserScope.importVarMap=e=new Map;let t=e.get(this._module);if(t)return t;t=`${i.toIdentifier(`${this.userRequest}`)}__WEBPACK_IMPORTED_MODULE_${e.size}__`;e.set(this._module,t);return t}getImportStatement(e,t){return t.importStatement({update:e,module:this._module,importVar:this.getImportVar(),request:this.request,originModule:this.originModule})}updateHash(e){super.updateHash(e);const t=this._module;e.update((t&&(!t.buildMeta||t.buildMeta.exportsType))+"");e.update((t&&t.id)+"")}disconnect(){super.disconnect();this.redirectedModule=undefined}}e.exports=HarmonyImportDependency;const o=new WeakMap;HarmonyImportDependency.Template=class HarmonyImportDependencyTemplate{apply(e,t,n){}getHarmonyInitOrder(e){return e.sourceOrder}static isImportEmitted(e,t){let n=o.get(t);if(!n)return false;const r=e._module||e.request;return r&&n.emittedImports.get(r)}harmonyInit(e,t,n,r){let s=o.get(t);if(!s){o.set(t,s={emittedImports:new Map})}const i=e._module||e.request;if(i&&s.emittedImports.get(i))return;s.emittedImports.set(i,true);const a=e.getImportStatement(false,n);t.insert(-1,a)}}},77008:(e,t,n)=>{"use strict";const{SyncBailHook:r}=n(41242);const s=n(48285);const i=n(57204);const o=n(63573);const a=n(6712);const c=n(53119);e.exports=class HarmonyImportDependencyParserPlugin{constructor(e){this.strictExportPresence=e.strictExportPresence;this.strictThisContextOnImports=e.strictThisContextOnImports}apply(e){e.hooks.import.tap("HarmonyImportDependencyParserPlugin",(t,n)=>{e.state.lastHarmonyImportOrder=(e.state.lastHarmonyImportOrder||0)+1;const r=new c("",t.range);r.loc=t.loc;e.state.module.addDependency(r);const i=new s(n,e.state.module,e.state.lastHarmonyImportOrder,e.state.harmonyParserScope);i.loc=t.loc;e.state.module.addDependency(i);return true});e.hooks.importSpecifier.tap("HarmonyImportDependencyParserPlugin",(t,n,r,s)=>{e.scope.definitions.delete(s);e.scope.renames.set(s,"imported var");if(!e.state.harmonySpecifier){e.state.harmonySpecifier=new Map}e.state.harmonySpecifier.set(s,{source:n,id:r,sourceOrder:e.state.lastHarmonyImportOrder});return true});e.hooks.expression.for("imported var").tap("HarmonyImportDependencyParserPlugin",t=>{const n=t.name;const r=e.state.harmonySpecifier.get(n);const s=new i(r.source,e.state.module,r.sourceOrder,e.state.harmonyParserScope,r.id,n,t.range,this.strictExportPresence);s.shorthand=e.scope.inShorthand;s.directImport=true;s.loc=t.loc;e.state.module.addDependency(s);return true});e.hooks.expressionAnyMember.for("imported var").tap("HarmonyImportDependencyParserPlugin",t=>{const n=t.object.name;const r=e.state.harmonySpecifier.get(n);if(r.id!==null)return false;const s=new i(r.source,e.state.module,r.sourceOrder,e.state.harmonyParserScope,t.property.name||t.property.value,n,t.range,this.strictExportPresence);s.shorthand=e.scope.inShorthand;s.directImport=false;s.loc=t.loc;e.state.module.addDependency(s);return true});if(this.strictThisContextOnImports){e.hooks.callAnyMember.for("imported var").tap("HarmonyImportDependencyParserPlugin",t=>{if(t.callee.type!=="MemberExpression")return;if(t.callee.object.type!=="Identifier")return;const n=t.callee.object.name;const r=e.state.harmonySpecifier.get(n);if(r.id!==null)return false;const s=new i(r.source,e.state.module,r.sourceOrder,e.state.harmonyParserScope,t.callee.property.name||t.callee.property.value,n,t.callee.range,this.strictExportPresence);s.shorthand=e.scope.inShorthand;s.directImport=false;s.namespaceObjectAsContext=true;s.loc=t.callee.loc;e.state.module.addDependency(s);if(t.arguments)e.walkExpressions(t.arguments);return true})}e.hooks.call.for("imported var").tap("HarmonyImportDependencyParserPlugin",t=>{const n=t.arguments;const r=t;t=t.callee;if(t.type!=="Identifier")return;const s=t.name;const o=e.state.harmonySpecifier.get(s);const a=new i(o.source,e.state.module,o.sourceOrder,e.state.harmonyParserScope,o.id,s,t.range,this.strictExportPresence);a.directImport=true;a.callArgs=n;a.call=r;a.loc=t.loc;e.state.module.addDependency(a);if(n)e.walkExpressions(n);return true});if(!e.hooks.hotAcceptCallback){e.hooks.hotAcceptCallback=new r(["expression","requests"])}if(!e.hooks.hotAcceptWithoutCallback){e.hooks.hotAcceptWithoutCallback=new r(["expression","requests"])}e.hooks.hotAcceptCallback.tap("HarmonyImportDependencyParserPlugin",(t,n)=>{const r=e.state.harmonyParserScope;if(!r){return}const s=n.map(n=>{const s=new o(n,e.state.module,r);s.loc=t.loc;e.state.module.addDependency(s);return s});if(s.length>0){const n=new a(t.range,s,true);n.loc=t.loc;e.state.module.addDependency(n)}});e.hooks.hotAcceptWithoutCallback.tap("HarmonyImportDependencyParserPlugin",(t,n)=>{const r=n.map(n=>{const r=new o(n,e.state.module,e.state.harmonyParserScope);r.loc=t.loc;e.state.module.addDependency(r);return r});if(r.length>0){const n=new a(t.range,r,false);n.loc=t.loc;e.state.module.addDependency(n)}})}}},48285:(e,t,n)=>{"use strict";const r=n(22357);class HarmonyImportSideEffectDependency extends r{constructor(e,t,n,r){super(e,t,n,r)}getReference(){if(this._module&&this._module.factoryMeta.sideEffectFree)return null;return super.getReference()}get type(){return"harmony side effect evaluation"}}HarmonyImportSideEffectDependency.Template=class HarmonyImportSideEffectDependencyTemplate extends r.Template{getHarmonyInitOrder(e){if(e._module&&e._module.factoryMeta.sideEffectFree)return NaN;return super.getHarmonyInitOrder(e)}};e.exports=HarmonyImportSideEffectDependency},57204:(e,t,n)=>{"use strict";const r=n(49440);const s=n(22357);const i=n(4325);class HarmonyImportSpecifierDependency extends s{constructor(e,t,n,r,s,i,o,a){super(e,t,n,r);this.id=s===null?null:`${s}`;this.redirectedId=undefined;this.name=i;this.range=o;this.strictExportPresence=a;this.namespaceObjectAsContext=false;this.callArgs=undefined;this.call=undefined;this.directImport=undefined;this.shorthand=undefined}get type(){return"harmony import specifier"}get _id(){return this.redirectedId||this.id}getReference(){if(!this._module)return null;return new r(this._module,this._id&&!this.namespaceObjectAsContext?[this._id]:true,false,this.sourceOrder)}getWarnings(){if(this.strictExportPresence||this.originModule.buildMeta.strictHarmonyModule){return[]}return this._getErrors()}getErrors(){if(this.strictExportPresence||this.originModule.buildMeta.strictHarmonyModule){return this._getErrors()}return[]}_getErrors(){const e=this._module;if(!e){return}if(!e.buildMeta||!e.buildMeta.exportsType){if(this.originModule.buildMeta.strictHarmonyModule&&this._id&&this._id!=="default"){return[new i(`Can't import the named export '${this._id}' from non EcmaScript module (only default export is available)`)]}return}if(!this._id){return}if(e.isProvided(this._id)!==false){return}const t=this._id!==this.name?` (imported as '${this.name}')`:"";const n=`"export '${this._id}'${t} was not found in '${this.userRequest}'`;return[new i(n)]}getNumberOfIdOccurrences(){return 0}updateHash(e){super.updateHash(e);const t=this._module;e.update((t&&this._id)+"");e.update((t&&this._id&&t.isUsed(this._id))+"");e.update((t&&(!t.buildMeta||t.buildMeta.exportsType))+"");e.update((t&&t.used+JSON.stringify(t.usedExports))+"")}disconnect(){super.disconnect();this.redirectedId=undefined}}HarmonyImportSpecifierDependency.Template=class HarmonyImportSpecifierDependencyTemplate extends s.Template{apply(e,t,n){super.apply(e,t,n);const r=this.getContent(e,n);t.replace(e.range[0],e.range[1]-1,r)}getContent(e,t){const n=t.exportFromImport({module:e._module,request:e.request,exportName:e._id,originModule:e.originModule,asiSafe:e.shorthand,isCall:e.call,callContext:!e.directImport,importVar:e.getImportVar()});return e.shorthand?`${e.name}: ${n}`:n}};e.exports=HarmonyImportSpecifierDependency},50793:(e,t,n)=>{"use strict";const r=n(40363);class HarmonyInitDependency extends r{constructor(e){super();this.originModule=e}get type(){return"harmony init"}}e.exports=HarmonyInitDependency;HarmonyInitDependency.Template=class HarmonyInitDependencyTemplate{apply(e,t,n,r){const s=e.originModule;const i=[];for(const e of s.dependencies){const t=r.get(e.constructor);if(t&&typeof t.harmonyInit==="function"&&typeof t.getHarmonyInitOrder==="function"){const n=t.getHarmonyInitOrder(e);if(!isNaN(n)){i.push({order:n,listOrder:i.length,dependency:e,template:t})}}}i.sort((e,t)=>{const n=e.order-t.order;if(n)return n;return e.listOrder-t.listOrder});for(const e of i){e.template.harmonyInit(e.dependency,t,n,r)}}}},29689:(e,t,n)=>{"use strict";const r=n(88440);const s=n(50793);const i=n(57204);const o=n(48285);const a=n(13868);const c=n(947);const l=n(1919);const u=n(31817);const f=n(6712);const p=n(63573);const d=n(47742);const h=n(50904);const m=n(77008);const y=n(94860);const g=n(17882);class HarmonyModulesPlugin{constructor(e){this.options=e}apply(e){e.hooks.compilation.tap("HarmonyModulesPlugin",(e,{normalModuleFactory:t})=>{e.dependencyFactories.set(r,new d);e.dependencyTemplates.set(r,new r.Template);e.dependencyFactories.set(s,new d);e.dependencyTemplates.set(s,new s.Template);e.dependencyFactories.set(o,t);e.dependencyTemplates.set(o,new o.Template);e.dependencyFactories.set(i,t);e.dependencyTemplates.set(i,new i.Template);e.dependencyFactories.set(a,new d);e.dependencyTemplates.set(a,new a.Template);e.dependencyFactories.set(c,new d);e.dependencyTemplates.set(c,new c.Template);e.dependencyFactories.set(l,new d);e.dependencyTemplates.set(l,new l.Template);e.dependencyFactories.set(u,t);e.dependencyTemplates.set(u,new u.Template);e.dependencyFactories.set(f,new d);e.dependencyTemplates.set(f,new f.Template);e.dependencyFactories.set(p,t);e.dependencyTemplates.set(p,new p.Template);const n=(e,t)=>{if(t.harmony!==undefined&&!t.harmony)return;(new h).apply(e);new m(this.options).apply(e);new y(this.options).apply(e);(new g).apply(e)};t.hooks.parser.for("javascript/auto").tap("HarmonyModulesPlugin",n);t.hooks.parser.for("javascript/esm").tap("HarmonyModulesPlugin",n)})}}e.exports=HarmonyModulesPlugin},17882:(e,t,n)=>{"use strict";const r=n(53119);class HarmonyTopLevelThisParserPlugin{apply(e){e.hooks.expression.for("this").tap("HarmonyTopLevelThisParserPlugin",t=>{if(!e.scope.topLevelScope)return;const n=e.state.module;const s=!!(n.buildMeta&&n.buildMeta.exportsType);if(s){const n=new r("undefined",t.range,false);n.loc=t.loc;e.state.current.addDependency(n)}})}}e.exports=HarmonyTopLevelThisParserPlugin},27193:(e,t,n)=>{"use strict";const r=n(64237);const s=n(13305);class ImportContextDependency extends r{constructor(e,t,n){super(e);this.range=t;this.valueRange=n}get type(){return`import() context ${this.options.mode}`}}ImportContextDependency.Template=s;e.exports=ImportContextDependency},39043:(e,t,n)=>{"use strict";const r=n(63979);const s=n(47148);e.exports=class ImportDependenciesBlock extends r{constructor(e,t,n,r,i,o){super(n,r,i,e);this.range=t;const a=new s(e,o,this);a.loc=i;this.addDependency(a)}}},47148:(e,t,n)=>{"use strict";const r=n(16002);class ImportDependency extends r{constructor(e,t,n){super(e);this.originModule=t;this.block=n}get type(){return"import()"}}ImportDependency.Template=class ImportDependencyTemplate{apply(e,t,n){const r=n.moduleNamespacePromise({block:e.block,module:e.module,request:e.request,strict:e.originModule.buildMeta.strictHarmonyModule,message:"import()"});t.replace(e.block.range[0],e.block.range[1]-1,r)}};e.exports=ImportDependency},78339:(e,t,n)=>{"use strict";const r=n(16002);class ImportEagerDependency extends r{constructor(e,t,n){super(e);this.originModule=t;this.range=n}get type(){return"import() eager"}}ImportEagerDependency.Template=class ImportEagerDependencyTemplate{apply(e,t,n){const r=n.moduleNamespacePromise({module:e.module,request:e.request,strict:e.originModule.buildMeta.strictHarmonyModule,message:"import() eager"});t.replace(e.range[0],e.range[1]-1,r)}};e.exports=ImportEagerDependency},35518:(e,t,n)=>{"use strict";const r=n(27193);const s=n(9763);const i=n(39043);const o=n(78339);const a=n(25053);const c=n(52038);const l=n(30512);class ImportParserPlugin{constructor(e){this.options=e}apply(e){e.hooks.importCall.tap("ImportParserPlugin",t=>{if(t.arguments.length!==1){throw new Error("Incorrect number of arguments provided to 'import(module: string) -> Promise'.")}const n=e.evaluateExpression(t.arguments[0]);let u=null;let f="lazy";let p=null;let d=null;const h={};const{options:m,errors:y}=e.parseCommentOptions(t.range);if(y){for(const t of y){const{comment:n}=t;e.state.module.warnings.push(new l(`Compilation error while processing magic comment(-s): /*${n.value}*/: ${t.message}`,e.state.module,n.loc))}}if(m){if(m.webpackIgnore!==undefined){if(typeof m.webpackIgnore!=="boolean"){e.state.module.warnings.push(new c(e.state.module,`\`webpackIgnore\` expected a boolean, but received: ${m.webpackIgnore}.`,t.loc))}else{if(m.webpackIgnore){return false}}}if(m.webpackChunkName!==undefined){if(typeof m.webpackChunkName!=="string"){e.state.module.warnings.push(new c(e.state.module,`\`webpackChunkName\` expected a string, but received: ${m.webpackChunkName}.`,t.loc))}else{u=m.webpackChunkName}}if(m.webpackMode!==undefined){if(typeof m.webpackMode!=="string"){e.state.module.warnings.push(new c(e.state.module,`\`webpackMode\` expected a string, but received: ${m.webpackMode}.`,t.loc))}else{f=m.webpackMode}}if(m.webpackPrefetch!==undefined){if(m.webpackPrefetch===true){h.prefetchOrder=0}else if(typeof m.webpackPrefetch==="number"){h.prefetchOrder=m.webpackPrefetch}else{e.state.module.warnings.push(new c(e.state.module,`\`webpackPrefetch\` expected true or a number, but received: ${m.webpackPrefetch}.`,t.loc))}}if(m.webpackPreload!==undefined){if(m.webpackPreload===true){h.preloadOrder=0}else if(typeof m.webpackPreload==="number"){h.preloadOrder=m.webpackPreload}else{e.state.module.warnings.push(new c(e.state.module,`\`webpackPreload\` expected true or a number, but received: ${m.webpackPreload}.`,t.loc))}}if(m.webpackInclude!==undefined){if(!m.webpackInclude||m.webpackInclude.constructor.name!=="RegExp"){e.state.module.warnings.push(new c(e.state.module,`\`webpackInclude\` expected a regular expression, but received: ${m.webpackInclude}.`,t.loc))}else{p=new RegExp(m.webpackInclude)}}if(m.webpackExclude!==undefined){if(!m.webpackExclude||m.webpackExclude.constructor.name!=="RegExp"){e.state.module.warnings.push(new c(e.state.module,`\`webpackExclude\` expected a regular expression, but received: ${m.webpackExclude}.`,t.loc))}else{d=new RegExp(m.webpackExclude)}}}if(n.isString()){if(f!=="lazy"&&f!=="eager"&&f!=="weak"){e.state.module.warnings.push(new c(e.state.module,`\`webpackMode\` expected 'lazy', 'eager' or 'weak', but received: ${f}.`,t.loc))}if(f==="eager"){const r=new o(n.string,e.state.module,t.range);e.state.current.addDependency(r)}else if(f==="weak"){const r=new s(n.string,e.state.module,t.range);e.state.current.addDependency(r)}else{const r=new i(n.string,t.range,Object.assign(h,{name:u}),e.state.module,t.loc,e.state.module);e.state.current.addBlock(r)}return true}else{if(f!=="lazy"&&f!=="lazy-once"&&f!=="eager"&&f!=="weak"){e.state.module.warnings.push(new c(e.state.module,`\`webpackMode\` expected 'lazy', 'lazy-once', 'eager' or 'weak', but received: ${f}.`,t.loc));f="lazy"}if(f==="weak"){f="async-weak"}const s=a.create(r,t.range,n,t,this.options,{chunkName:u,groupOptions:h,include:p,exclude:d,mode:f,namespaceObject:e.state.module.buildMeta.strictHarmonyModule?"strict":true},e);if(!s)return;s.loc=t.loc;s.optional=!!e.scope.inTry;e.state.current.addDependency(s);return true}})}}e.exports=ImportParserPlugin},97229:(e,t,n)=>{"use strict";const r=n(47148);const s=n(78339);const i=n(9763);const o=n(27193);const a=n(35518);class ImportPlugin{constructor(e){this.options=e}apply(e){const t=this.options;e.hooks.compilation.tap("ImportPlugin",(e,{contextModuleFactory:n,normalModuleFactory:c})=>{e.dependencyFactories.set(r,c);e.dependencyTemplates.set(r,new r.Template);e.dependencyFactories.set(s,c);e.dependencyTemplates.set(s,new s.Template);e.dependencyFactories.set(i,c);e.dependencyTemplates.set(i,new i.Template);e.dependencyFactories.set(o,n);e.dependencyTemplates.set(o,new o.Template);const l=(e,n)=>{if(n.import!==undefined&&!n.import)return;new a(t).apply(e)};c.hooks.parser.for("javascript/auto").tap("ImportPlugin",l);c.hooks.parser.for("javascript/dynamic").tap("ImportPlugin",l);c.hooks.parser.for("javascript/esm").tap("ImportPlugin",l)})}}e.exports=ImportPlugin},9763:(e,t,n)=>{"use strict";const r=n(16002);class ImportWeakDependency extends r{constructor(e,t,n){super(e);this.originModule=t;this.range=n;this.weak=true}get type(){return"import() weak"}}ImportWeakDependency.Template=class ImportDependencyTemplate{apply(e,t,n){const r=n.moduleNamespacePromise({module:e.module,request:e.request,strict:e.originModule.buildMeta.strictHarmonyModule,message:"import() weak",weak:true});t.replace(e.range[0],e.range[1]-1,r)}};e.exports=ImportWeakDependency},94765:(e,t,n)=>{"use strict";const r=n(40363);class JsonExportsDependency extends r{constructor(e){super();this.exports=e}get type(){return"json exports"}getExports(){return{exports:this.exports,dependencies:undefined}}}e.exports=JsonExportsDependency},67837:(e,t,n)=>{"use strict";const r=n(16002);class LoaderDependency extends r{constructor(e){super(e)}get type(){return"loader"}}e.exports=LoaderDependency},97978:(e,t,n)=>{"use strict";const r=n(67837);const s=n(99578);class LoaderPlugin{apply(e){e.hooks.compilation.tap("LoaderPlugin",(e,{normalModuleFactory:t})=>{e.dependencyFactories.set(r,t)});e.hooks.compilation.tap("LoaderPlugin",e=>{e.hooks.normalModuleLoader.tap("LoaderPlugin",(t,n)=>{t.loadModule=((i,o)=>{const a=new r(i);a.loc={name:i};const c=e.dependencyFactories.get(a.constructor);if(c===undefined){return o(new Error(`No module factory available for dependency type: ${a.constructor.name}`))}e.semaphore.release();e.addModuleDependencies(n,[{factory:c,dependencies:[a]}],true,"lm",true,n=>{e.semaphore.acquire(()=>{if(n){return o(n)}if(!a.module){return o(new Error("Cannot load the module"))}if(a.module instanceof s&&a.module.error){return o(a.module.error)}if(!a.module._source){throw new Error("The module created for a LoaderDependency must have a property _source")}let e,r;const i=a.module._source;if(i.sourceAndMap){const t=i.sourceAndMap();r=t.map;e=t.source}else{r=i.map();e=i.source()}if(a.module.buildInfo.fileDependencies){for(const e of a.module.buildInfo.fileDependencies){t.addDependency(e)}}if(a.module.buildInfo.contextDependencies){for(const e of a.module.buildInfo.contextDependencies){t.addContextDependency(e)}}return o(null,e,r,a.module)})})})})})}}e.exports=LoaderPlugin},22226:e=>{"use strict";class LocalModule{constructor(e,t,n){this.module=e;this.name=t;this.idx=n;this.used=false}flagUsed(){this.used=true}variableName(){return"__WEBPACK_LOCAL_MODULE_"+this.idx+"__"}}e.exports=LocalModule},72279:(e,t,n)=>{"use strict";const r=n(40363);class LocalModuleDependency extends r{constructor(e,t,n){super();e.flagUsed();this.localModule=e;this.range=t;this.callNew=n}}LocalModuleDependency.Template=class LocalModuleDependencyTemplate{apply(e,t){if(!e.range)return;const n=e.callNew?`new (function () { return ${e.localModule.variableName()}; })()`:e.localModule.variableName();t.replace(e.range[0],e.range[1]-1,n)}};e.exports=LocalModuleDependency},6858:(e,t,n)=>{"use strict";const r=n(22226);const s=t;const i=(e,t)=>{if(t.charAt(0)!==".")return t;var n=e.split("/");var r=t.split("/");n.pop();for(let e=0;e{if(!e.localModules){e.localModules=[]}const n=new r(e.module,t,e.localModules.length);e.localModules.push(n);return n});s.getLocalModule=((e,t,n)=>{if(!e.localModules)return null;if(n){t=i(n,t)}for(let n=0;n{"use strict";const r=n(29821);class ModuleDependency extends r{constructor(e){super();this.request=e;this.userRequest=e}getResourceIdentifier(){return`module${this.request}`}}e.exports=ModuleDependency},71953:e=>{"use strict";class ModuleDependencyTemplateAsId{apply(e,t,n){if(!e.range)return;const r=n.moduleId({module:e.module,request:e.request});t.replace(e.range[0],e.range[1]-1,r)}}e.exports=ModuleDependencyTemplateAsId},98448:e=>{"use strict";class ModuleDependencyTemplateAsRequireId{apply(e,t,n){if(!e.range)return;const r=n.moduleExports({module:e.module,request:e.request});t.replace(e.range[0],e.range[1]-1,r)}}e.exports=ModuleDependencyTemplateAsRequireId},11282:(e,t,n)=>{"use strict";const r=n(16002);const s=n(71953);class ModuleHotAcceptDependency extends r{constructor(e,t){super(e);this.range=t;this.weak=true}get type(){return"module.hot.accept"}}ModuleHotAcceptDependency.Template=s;e.exports=ModuleHotAcceptDependency},46232:(e,t,n)=>{"use strict";const r=n(16002);const s=n(71953);class ModuleHotDeclineDependency extends r{constructor(e,t){super(e);this.range=t;this.weak=true}get type(){return"module.hot.decline"}}ModuleHotDeclineDependency.Template=s;e.exports=ModuleHotDeclineDependency},72528:(e,t,n)=>{"use strict";const r=n(29821);class MultiEntryDependency extends r{constructor(e,t){super();this.dependencies=e;this.name=t}get type(){return"multi entry"}}e.exports=MultiEntryDependency},40363:(e,t,n)=>{"use strict";const r=n(29821);class NullDependency extends r{get type(){return"null"}updateHash(){}}NullDependency.Template=class NullDependencyTemplate{apply(){}};e.exports=NullDependency},98373:(e,t,n)=>{"use strict";const r=n(16002);class PrefetchDependency extends r{constructor(e){super(e)}get type(){return"prefetch"}}e.exports=PrefetchDependency},4574:(e,t,n)=>{"use strict";const r=n(64237);const s=n(98448);class RequireContextDependency extends r{constructor(e,t){super(e);this.range=t}get type(){return"require.context"}}RequireContextDependency.Template=s;e.exports=RequireContextDependency},96505:(e,t,n)=>{"use strict";const r=n(4574);e.exports=class RequireContextDependencyParserPlugin{apply(e){e.hooks.call.for("require.context").tap("RequireContextDependencyParserPlugin",t=>{let n=/^\.\/.*$/;let s=true;let i="sync";switch(t.arguments.length){case 4:{const n=e.evaluateExpression(t.arguments[3]);if(!n.isString())return;i=n.string}case 3:{const r=e.evaluateExpression(t.arguments[2]);if(!r.isRegExp())return;n=r.regExp}case 2:{const n=e.evaluateExpression(t.arguments[1]);if(!n.isBoolean())return;s=n.bool}case 1:{const o=e.evaluateExpression(t.arguments[0]);if(!o.isString())return;const a=new r({request:o.string,recursive:s,regExp:n,mode:i},t.range);a.loc=t.loc;a.optional=e.scope.inTry;e.state.current.addDependency(a);return true}}})}}},18402:(e,t,n)=>{"use strict";const r=n(4574);const s=n(40847);const i=n(96505);class RequireContextPlugin{constructor(e,t,n){if(!Array.isArray(e)){throw new Error("modulesDirectories must be an array")}if(!Array.isArray(t)){throw new Error("extensions must be an array")}this.modulesDirectories=e;this.extensions=t;this.mainFiles=n}apply(e){e.hooks.compilation.tap("RequireContextPlugin",(e,{contextModuleFactory:t,normalModuleFactory:n})=>{e.dependencyFactories.set(r,t);e.dependencyTemplates.set(r,new r.Template);e.dependencyFactories.set(s,n);const o=(e,t)=>{if(t.requireContext!==undefined&&!t.requireContext)return;(new i).apply(e)};n.hooks.parser.for("javascript/auto").tap("RequireContextPlugin",o);n.hooks.parser.for("javascript/dynamic").tap("RequireContextPlugin",o);t.hooks.alternatives.tap("RequireContextPlugin",e=>{if(e.length===0)return e;return e.map(e=>{return this.extensions.filter(t=>{const n=e.request.length;return n>t.length&&e.request.substr(n-t.length,n)===t}).map(t=>{const n=e.request.length;return{context:e.context,request:e.request.substr(0,n-t.length)}}).concat(e)}).reduce((e,t)=>e.concat(t),[])});t.hooks.alternatives.tap("RequireContextPlugin",e=>{if(e.length===0)return e;return e.map(e=>{return this.mainFiles.filter(t=>{const n=e.request.length;return n>t.length+1&&e.request.substr(n-t.length-1,n)==="/"+t}).map(t=>{const n=e.request.length;return[{context:e.context,request:e.request.substr(0,n-t.length)},{context:e.context,request:e.request.substr(0,n-t.length-1)}]}).reduce((e,t)=>e.concat(t),[]).concat(e)}).reduce((e,t)=>e.concat(t),[])});t.hooks.alternatives.tap("RequireContextPlugin",e=>{if(e.length===0)return e;return e.map(e=>{for(let t=0;t{"use strict";const r=n(63979);const s=n(18163);e.exports=class RequireEnsureDependenciesBlock extends r{constructor(e,t,n,r,i,o,a){super(r,o,a,null);this.expr=e;const c=t&&t.body&&t.body.range;if(c){this.range=[c[0]+1,c[1]-1]}this.chunkNameRange=i;const l=new s(this);l.loc=a;this.addDependency(l)}}},36422:(e,t,n)=>{"use strict";const r=n(80025);const s=n(68527);const i=n(52338);e.exports=class RequireEnsureDependenciesBlockParserPlugin{apply(e){e.hooks.call.for("require.ensure").tap("RequireEnsureDependenciesBlockParserPlugin",t=>{let n=null;let o=null;let a=null;let c=null;switch(t.arguments.length){case 4:{const r=e.evaluateExpression(t.arguments[3]);if(!r.isString())return;o=r.range;n=r.string}case 3:{a=t.arguments[2];c=i(a);if(!c&&!n){const r=e.evaluateExpression(t.arguments[2]);if(!r.isString())return;o=r.range;n=r.string}}case 2:{const l=e.evaluateExpression(t.arguments[0]);const u=l.isArray()?l.items:[l];const f=t.arguments[1];const p=i(f);if(p){e.walkExpressions(p.expressions)}if(c){e.walkExpressions(c.expressions)}const d=new r(t,p?p.fn:f,c?c.fn:a,n,o,e.state.module,t.loc);const h=e.state.current;e.state.current=d;try{let t=false;e.inScope([],()=>{for(const e of u){if(e.isString()){const t=new s(e.string);t.loc=d.loc;d.addDependency(t)}else{t=true}}});if(t){return}if(p){if(p.fn.body.type==="BlockStatement"){e.walkStatement(p.fn.body)}else{e.walkExpression(p.fn.body)}}h.addBlock(d)}finally{e.state.current=h}if(!p){e.walkExpression(f)}if(c){if(c.fn.body.type==="BlockStatement"){e.walkStatement(c.fn.body)}else{e.walkExpression(c.fn.body)}}else if(a){e.walkExpression(a)}return true}}})}}},18163:(e,t,n)=>{"use strict";const r=n(40363);class RequireEnsureDependency extends r{constructor(e){super();this.block=e}get type(){return"require.ensure"}}RequireEnsureDependency.Template=class RequireEnsureDependencyTemplate{apply(e,t,n){const r=e.block;const s=n.blockPromise({block:r,message:"require.ensure"});const i=r.expr.arguments.length===4||!r.chunkName&&r.expr.arguments.length===3;const o=`${s}.then((`;const a=").bind(null, __webpack_require__)).catch(";const c=`).bind(null, __webpack_require__)).catch(${n.onError()})`;t.replace(r.expr.range[0],r.expr.arguments[1].range[0]-1,o);if(i){t.replace(r.expr.arguments[1].range[1],r.expr.arguments[2].range[0]-1,a);t.replace(r.expr.arguments[2].range[1],r.expr.range[1]-1,")")}else{t.replace(r.expr.arguments[1].range[1],r.expr.range[1]-1,c)}}};e.exports=RequireEnsureDependency},68527:(e,t,n)=>{"use strict";const r=n(16002);const s=n(40363);class RequireEnsureItemDependency extends r{constructor(e){super(e)}get type(){return"require.ensure item"}}RequireEnsureItemDependency.Template=s.Template;e.exports=RequireEnsureItemDependency},52221:(e,t,n)=>{"use strict";const r=n(68527);const s=n(18163);const i=n(47742);const o=n(36422);const a=n(77466);class RequireEnsurePlugin{apply(e){e.hooks.compilation.tap("RequireEnsurePlugin",(e,{normalModuleFactory:t})=>{e.dependencyFactories.set(r,t);e.dependencyTemplates.set(r,new r.Template);e.dependencyFactories.set(s,new i);e.dependencyTemplates.set(s,new s.Template);const n=(e,t)=>{if(t.requireEnsure!==undefined&&!t.requireEnsure)return;(new o).apply(e);e.hooks.evaluateTypeof.for("require.ensure").tap("RequireEnsurePlugin",a.evaluateToString("function"));e.hooks.typeof.for("require.ensure").tap("RequireEnsurePlugin",a.toConstantDependency(e,JSON.stringify("function")))};t.hooks.parser.for("javascript/auto").tap("RequireEnsurePlugin",n);t.hooks.parser.for("javascript/dynamic").tap("RequireEnsurePlugin",n)})}}e.exports=RequireEnsurePlugin},13284:(e,t,n)=>{"use strict";const r=n(40363);class RequireHeaderDependency extends r{constructor(e){super();if(!Array.isArray(e))throw new Error("range must be valid");this.range=e}}RequireHeaderDependency.Template=class RequireHeaderDependencyTemplate{apply(e,t){t.replace(e.range[0],e.range[1]-1,"__webpack_require__")}applyAsTemplateArgument(e,t,n){n.replace(t.range[0],t.range[1]-1,"require")}};e.exports=RequireHeaderDependency},89679:(e,t,n)=>{"use strict";const r=n(49440);const s=n(16002);const i=n(73720);class RequireIncludeDependency extends s{constructor(e,t){super(e);this.range=t}getReference(){if(!this.module)return null;return new r(this.module,[],false)}get type(){return"require.include"}}RequireIncludeDependency.Template=class RequireIncludeDependencyTemplate{apply(e,t,n){const r=n.outputOptions.pathinfo?i.toComment(`require.include ${n.requestShortener.shorten(e.request)}`):"";t.replace(e.range[0],e.range[1]-1,`undefined${r}`)}};e.exports=RequireIncludeDependency},23022:(e,t,n)=>{"use strict";const r=n(89679);e.exports=class RequireIncludeDependencyParserPlugin{apply(e){e.hooks.call.for("require.include").tap("RequireIncludeDependencyParserPlugin",t=>{if(t.arguments.length!==1)return;const n=e.evaluateExpression(t.arguments[0]);if(!n.isString())return;const s=new r(n.string,t.range);s.loc=t.loc;e.state.current.addDependency(s);return true})}}},6197:(e,t,n)=>{"use strict";const r=n(89679);const s=n(23022);const i=n(77466);class RequireIncludePlugin{apply(e){e.hooks.compilation.tap("RequireIncludePlugin",(e,{normalModuleFactory:t})=>{e.dependencyFactories.set(r,t);e.dependencyTemplates.set(r,new r.Template);const n=(e,t)=>{if(t.requireInclude!==undefined&&!t.requireInclude)return;(new s).apply(e);e.hooks.evaluateTypeof.for("require.include").tap("RequireIncludePlugin",i.evaluateToString("function"));e.hooks.typeof.for("require.include").tap("RequireIncludePlugin",i.toConstantDependency(e,JSON.stringify("function")))};t.hooks.parser.for("javascript/auto").tap("RequireIncludePlugin",n);t.hooks.parser.for("javascript/dynamic").tap("RequireIncludePlugin",n)})}}e.exports=RequireIncludePlugin},74013:(e,t,n)=>{"use strict";const r=n(64237);const s=n(52060);class RequireResolveContextDependency extends r{constructor(e,t,n){super(e);this.range=t;this.valueRange=n}get type(){return"amd require context"}}RequireResolveContextDependency.Template=s;e.exports=RequireResolveContextDependency},31041:(e,t,n)=>{"use strict";const r=n(16002);const s=n(71953);class RequireResolveDependency extends r{constructor(e,t){super(e);this.range=t}get type(){return"require.resolve"}}RequireResolveDependency.Template=s;e.exports=RequireResolveDependency},49221:(e,t,n)=>{"use strict";const r=n(31041);const s=n(74013);const i=n(77592);const o=n(25053);class RequireResolveDependencyParserPlugin{constructor(e){this.options=e}apply(e){const t=this.options;const n=(t,n)=>{if(t.arguments.length!==1)return;const r=e.evaluateExpression(t.arguments[0]);if(r.isConditional()){for(const e of r.options){const r=a(t,e,n);if(r===undefined){c(t,e,n)}}const s=new i(t.callee.range);s.loc=t.loc;e.state.current.addDependency(s);return true}else{const s=a(t,r,n);if(s===undefined){c(t,r,n)}const o=new i(t.callee.range);o.loc=t.loc;e.state.current.addDependency(o);return true}};const a=(t,n,s)=>{if(n.isString()){const i=new r(n.string,n.range);i.loc=t.loc;i.optional=!!e.scope.inTry;i.weak=s;e.state.current.addDependency(i);return true}};const c=(n,r,i)=>{const a=o.create(s,r.range,r,n,t,{mode:i?"weak":"sync"},e);if(!a)return;a.loc=n.loc;a.optional=!!e.scope.inTry;e.state.current.addDependency(a);return true};e.hooks.call.for("require.resolve").tap("RequireResolveDependencyParserPlugin",e=>{return n(e,false)});e.hooks.call.for("require.resolveWeak").tap("RequireResolveDependencyParserPlugin",e=>{return n(e,true)})}}e.exports=RequireResolveDependencyParserPlugin},77592:(e,t,n)=>{"use strict";const r=n(40363);class RequireResolveHeaderDependency extends r{constructor(e){super();if(!Array.isArray(e))throw new Error("range must be valid");this.range=e}}RequireResolveHeaderDependency.Template=class RequireResolveHeaderDependencyTemplate{apply(e,t){t.replace(e.range[0],e.range[1]-1,"/*require.resolve*/")}applyAsTemplateArgument(e,t,n){n.replace(t.range[0],t.range[1]-1,"/*require.resolve*/")}};e.exports=RequireResolveHeaderDependency},44785:(e,t,n)=>{"use strict";const r=n(16002);class SingleEntryDependency extends r{constructor(e){super(e)}get type(){return"single entry"}}e.exports=SingleEntryDependency},8007:(e,t,n)=>{"use strict";const r=n(77466);const s=n(1891);class SystemPlugin{constructor(e){this.options=e}apply(e){e.hooks.compilation.tap("SystemPlugin",(e,{normalModuleFactory:t})=>{const s=(e,t)=>{if(t.system!==undefined&&!t.system)return;const s=t.system===undefined;const i=t=>{e.hooks.evaluateTypeof.for(t).tap("SystemPlugin",r.evaluateToString("undefined"));e.hooks.expression.for(t).tap("SystemPlugin",r.expressionIsUnsupported(e,t+" is not supported by webpack."))};e.hooks.typeof.for("System.import").tap("SystemPlugin",r.toConstantDependency(e,JSON.stringify("function")));e.hooks.evaluateTypeof.for("System.import").tap("SystemPlugin",r.evaluateToString("function"));e.hooks.typeof.for("System").tap("SystemPlugin",r.toConstantDependency(e,JSON.stringify("object")));e.hooks.evaluateTypeof.for("System").tap("SystemPlugin",r.evaluateToString("object"));i("System.set");i("System.get");i("System.register");e.hooks.expression.for("System").tap("SystemPlugin",()=>{const t=r.requireFileAsExpression(e.state.module.context,n.ab+"system.js");return r.addParsedVariableToModule(e,"System",t)});e.hooks.call.for("System.import").tap("SystemPlugin",t=>{if(s){e.state.module.warnings.push(new SystemImportDeprecationWarning(e.state.module,t.loc))}return e.hooks.importCall.call(t)})};t.hooks.parser.for("javascript/auto").tap("SystemPlugin",s);t.hooks.parser.for("javascript/dynamic").tap("SystemPlugin",s)})}}class SystemImportDeprecationWarning extends s{constructor(e,t){super("System.import() is deprecated and will be removed soon. Use import() instead.\n"+"For more info visit https://webpack.js.org/guides/code-splitting/");this.name="SystemImportDeprecationWarning";this.module=e;this.loc=t;Error.captureStackTrace(this,this.constructor)}}e.exports=SystemPlugin},93030:(e,t,n)=>{"use strict";const r=n(40363);const s=n(80742).module;class UnsupportedDependency extends r{constructor(e,t){super();this.request=e;this.range=t}}UnsupportedDependency.Template=class UnsupportedDependencyTemplate{apply(e,t,n){t.replace(e.range[0],e.range[1],s(e.request))}};e.exports=UnsupportedDependency},75035:(e,t,n)=>{"use strict";const r=n(49440);const s=n(16002);class WebAssemblyExportImportedDependency extends s{constructor(e,t,n,r){super(t);this.exportName=e;this.name=n;this.valueType=r}getReference(){if(!this.module)return null;return new r(this.module,[this.name],false)}get type(){return"wasm export import"}}e.exports=WebAssemblyExportImportedDependency},40436:(e,t,n)=>{"use strict";const r=n(49440);const s=n(16002);const i=n(48047);class WebAssemblyImportDependency extends s{constructor(e,t,n,r){super(e);this.name=t;this.description=n;this.onlyDirectImport=r}getReference(){if(!this.module)return null;return new r(this.module,[this.name],false)}getErrors(){if(this.onlyDirectImport&&this.module&&!this.module.type.startsWith("webassembly")){return[new i(`Import "${this.name}" from "${this.request}" with ${this.onlyDirectImport} can only be used for direct wasm to wasm dependencies`)]}}get type(){return"wasm import"}}e.exports=WebAssemblyImportDependency},80742:(e,t)=>{"use strict";const n=e=>`var e = new Error(${JSON.stringify(e)}); e.code = 'MODULE_NOT_FOUND';`;t.module=(e=>`!(function webpackMissingModule() { ${t.moduleCode(e)} }())`);t.promise=(e=>{const t=n(`Cannot find module '${e}'`);return`Promise.reject(function webpackMissingModule() { ${t} return e; }())`});t.moduleCode=(e=>{const t=n(`Cannot find module '${e}'`);return`${t} throw e;`})},52338:e=>{e.exports=(e=>{if(e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression"){return{fn:e,expressions:[],needThis:false}}if(e.type==="CallExpression"&&e.callee.type==="MemberExpression"&&e.callee.object.type==="FunctionExpression"&&e.callee.property.type==="Identifier"&&e.callee.property.name==="bind"&&e.arguments.length===1){return{fn:e.callee.object,expressions:[e.arguments[0]],needThis:undefined}}if(e.type==="CallExpression"&&e.callee.type==="FunctionExpression"&&e.callee.body.type==="BlockStatement"&&e.arguments.length===1&&e.arguments[0].type==="ThisExpression"&&e.callee.body.body&&e.callee.body.body.length===1&&e.callee.body.body[0].type==="ReturnStatement"&&e.callee.body.body[0].argument&&e.callee.body.body[0].argument.type==="FunctionExpression"){return{fn:e.callee.body.body[0].argument,expressions:[],needThis:true}}})},67929:e=>{"use strict";const t=e=>{if(e===null)return"";if(typeof e==="string")return e;if(typeof e==="number")return`${e}`;if(typeof e==="object"){if("line"in e&&"column"in e){return`${e.line}:${e.column}`}else if("line"in e){return`${e.line}:?`}else if("index"in e){return`+${e.index}`}else{return""}}return""};const n=e=>{if(e===null)return"";if(typeof e==="string")return e;if(typeof e==="number")return`${e}`;if(typeof e==="object"){if("start"in e&&e.start&&"end"in e&&e.end){if(typeof e.start==="object"&&typeof e.start.line==="number"&&typeof e.end==="object"&&typeof e.end.line==="number"&&typeof e.end.column==="number"&&e.start.line===e.end.line){return`${t(e.start)}-${e.end.column}`}else{return`${t(e.start)}-${t(e.end)}`}}if("start"in e&&e.start){return t(e.start)}if("name"in e&&"index"in e){return`${e.name}[${e.index}]`}if("name"in e){return e.name}return t(e)}return""};e.exports=n},57225:(e,t)=>{"use strict";const n=Object.freeze({error:"error",warn:"warn",info:"info",log:"log",debug:"debug",trace:"trace",group:"group",groupCollapsed:"groupCollapsed",groupEnd:"groupEnd",profile:"profile",profileEnd:"profileEnd",time:"time",clear:"clear",status:"status"});t.LogType=n;const r=Symbol("webpack logger raw log method");const s=Symbol("webpack logger times");class WebpackLogger{constructor(e){this[r]=e}error(...e){this[r](n.error,e)}warn(...e){this[r](n.warn,e)}info(...e){this[r](n.info,e)}log(...e){this[r](n.log,e)}debug(...e){this[r](n.debug,e)}assert(e,...t){if(!e){this[r](n.error,t)}}trace(){this[r](n.trace,["Trace"])}clear(){this[r](n.clear)}status(...e){this[r](n.status,e)}group(...e){this[r](n.group,e)}groupCollapsed(...e){this[r](n.groupCollapsed,e)}groupEnd(...e){this[r](n.groupEnd,e)}profile(e){this[r](n.profile,[e])}profileEnd(e){this[r](n.profileEnd,[e])}time(e){this[s]=this[s]||new Map;this[s].set(e,process.hrtime())}timeLog(e){const t=this[s]&&this[s].get(e);if(!t){throw new Error(`No such label '${e}' for WebpackLogger.timeLog()`)}const i=process.hrtime(t);this[r](n.time,[e,...i])}timeEnd(e){const t=this[s]&&this[s].get(e);if(!t){throw new Error(`No such label '${e}' for WebpackLogger.timeEnd()`)}const i=process.hrtime(t);this[s].delete(e);this[r](n.time,[e,...i])}}t.Logger=WebpackLogger},55636:(e,t,n)=>{"use strict";const{LogType:r}=n(57225);const s=e=>{if(typeof e==="string"){const t=new RegExp(`[\\\\/]${e.replace(/[-[\]{}()*+?.\\^$|]/g,"\\$&")}([\\\\/]|$|!|\\?)`);return e=>t.test(e)}if(e&&typeof e==="object"&&typeof e.test==="function"){return t=>e.test(t)}if(typeof e==="function"){return e}if(typeof e==="boolean"){return()=>e}};const i={none:6,false:6,error:5,warn:4,info:3,log:2,true:2,verbose:1};e.exports=(({level:e="info",debug:t=false,console:n})=>{const o=typeof t==="boolean"?[()=>t]:[].concat(t).map(s);const a=i[`${e}`]||0;const c=(e,t,s)=>{const c=()=>{if(Array.isArray(s)){if(s.length>0&&typeof s[0]==="string"){return[`[${e}] ${s[0]}`,...s.slice(1)]}else{return[`[${e}]`,...s]}}else{return[]}};const l=o.some(t=>t(e));switch(t){case r.debug:if(!l)return;if(typeof n.debug==="function"){n.debug(...c())}else{n.log(...c())}break;case r.log:if(!l&&a>i.log)return;n.log(...c());break;case r.info:if(!l&&a>i.info)return;n.info(...c());break;case r.warn:if(!l&&a>i.warn)return;n.warn(...c());break;case r.error:if(!l&&a>i.error)return;n.error(...c());break;case r.trace:if(!l)return;n.trace();break;case r.groupCollapsed:if(!l&&a>i.log)return;if(!l&&a>i.verbose){if(typeof n.groupCollapsed==="function"){n.groupCollapsed(...c())}else{n.log(...c())}break}case r.group:if(!l&&a>i.log)return;if(typeof n.group==="function"){n.group(...c())}else{n.log(...c())}break;case r.groupEnd:if(!l&&a>i.log)return;if(typeof n.groupEnd==="function"){n.groupEnd()}break;case r.time:{if(!l&&a>i.log)return;const t=s[1]*1e3+s[2]/1e6;const r=`[${e}] ${s[0]}: ${t}ms`;if(typeof n.logTime==="function"){n.logTime(r)}else{n.log(r)}break}case r.profile:if(typeof n.profile==="function"){n.profile(...c())}break;case r.profileEnd:if(typeof n.profileEnd==="function"){n.profileEnd(...c())}break;case r.clear:if(!l&&a>i.log)return;if(typeof n.clear==="function"){n.clear()}break;case r.status:if(!l&&a>i.info)return;if(typeof n.status==="function"){if(s.length===0){n.status()}else{n.status(...c())}}else{if(s.length!==0){n.info(...c())}}break;default:throw new Error(`Unexpected LogType ${t}`)}};return c})},4624:e=>{"use strict";const t=(e,n)=>{const r=e.map(e=>`${e}`.length);const s=n-r.length+1;if(s>0&&e.length===1){if(s>=e[0].length){return e}else if(s>3){return["..."+e[0].slice(-s+3)]}else{return[e[0].slice(-s)]}}if(se+Math.min(t,6),0)){if(e.length>1)return t(e.slice(0,e.length-1),n);return[]}let i=r.reduce((e,t)=>e+t,0);if(i<=s)return e;while(i>s){const e=Math.max(...r);const t=r.filter(t=>t!==e);const n=t.length>0?Math.max(...t):0;const o=e-n;let a=r.length-t.length;let c=i-s;for(let t=0;t{const n=`${e}`;const s=r[t];if(n.length===s){return n}else if(s>5){return"..."+n.slice(-s+3)}else if(s>0){return n.slice(-s)}else{return""}})};e.exports=t},4633:(e,t,n)=>{"use strict";const{ConcatSource:r}=n(50932);class NodeChunkTemplatePlugin{apply(e){e.hooks.render.tap("NodeChunkTemplatePlugin",(e,t)=>{const n=new r;n.add(`exports.ids = ${JSON.stringify(t.ids)};\nexports.modules = `);n.add(e);n.add(";");return n});e.hooks.hash.tap("NodeChunkTemplatePlugin",e=>{e.update("node");e.update("3")})}}e.exports=NodeChunkTemplatePlugin},59862:(e,t,n)=>{"use strict";const r=n(7114);const s=n(67100);const i=n(15193);const o=n(89429);const a=n(55636);const c=n(66039);class NodeEnvironmentPlugin{constructor(e){this.options=e||{}}apply(e){e.infrastructureLogger=a(Object.assign({level:"info",debug:false,console:c},this.options.infrastructureLogging));e.inputFileSystem=new o(new i,6e4);const t=e.inputFileSystem;e.outputFileSystem=new s;e.watchFileSystem=new r(e.inputFileSystem);e.hooks.beforeRun.tap("NodeEnvironmentPlugin",e=>{if(e.inputFileSystem===t)t.purge()})}}e.exports=NodeEnvironmentPlugin},16856:(e,t,n)=>{"use strict";const{ConcatSource:r}=n(50932);class NodeHotUpdateChunkTemplatePlugin{apply(e){e.hooks.render.tap("NodeHotUpdateChunkTemplatePlugin",(e,t,n,s,i)=>{const o=new r;o.add("exports.id = "+JSON.stringify(i)+";\nexports.modules = ");o.add(e);o.add(";");return o});e.hooks.hash.tap("NodeHotUpdateChunkTemplatePlugin",t=>{t.update("NodeHotUpdateChunkTemplatePlugin");t.update("3");t.update(e.outputOptions.hotUpdateFunction+"");t.update(e.outputOptions.library+"")})}}e.exports=NodeHotUpdateChunkTemplatePlugin},21400:e=>{var t=undefined;var n=undefined;var r=undefined;var s=undefined;e.exports=function(){function hotDownloadUpdateChunk(e){var r=require("./"+t);n(r.id,r.modules)}function hotDownloadManifest(){try{var e=require("./"+s)}catch(e){return Promise.resolve()}return Promise.resolve(e)}function hotDisposeChunk(e){delete r[e]}}},39215:(e,t,n)=>{var r=undefined;var s=undefined;var i=undefined;var o=undefined;var a=undefined;e.exports=function(){function hotDownloadUpdateChunk(e){var t=n(85622).join(__dirname,r);n(35747).readFile(t,"utf-8",function(e,r){if(e){if(s.onError)return s.oe(e);throw e}var o={};n(92184).runInThisContext("(function(exports) {"+r+"\n})",{filename:t})(o);i(o.id,o.modules)})}function hotDownloadManifest(){var e=n(85622).join(__dirname,o);return new Promise(function(t,r){n(35747).readFile(e,"utf-8",function(e,n){if(e)return t();try{var s=JSON.parse(n)}catch(e){return r(e)}t(s)})})}function hotDisposeChunk(e){delete a[e]}}},4460:(e,t,n)=>{"use strict";const r=n(73720);e.exports=class NodeMainTemplatePlugin{constructor(e){this.asyncChunkLoading=e}apply(e){const t=e=>{for(const t of e.groupsIterable){if(t.getNumberOfChildren()>0)return true}return false};const s=this.asyncChunkLoading;e.hooks.localVars.tap("NodeMainTemplatePlugin",(e,n)=>{if(t(n)){return r.asString([e,"","// object to store loaded chunks",'// "0" means "already loaded"',"var installedChunks = {",r.indent(n.ids.map(e=>`${JSON.stringify(e)}: 0`).join(",\n")),"};"])}return e});e.hooks.requireExtensions.tap("NodeMainTemplatePlugin",(n,s)=>{if(t(s)){return r.asString([n,"","// uncaught error handler for webpack runtime",`${e.requireFn}.oe = function(err) {`,r.indent(["process.nextTick(function() {",r.indent("throw err; // catch this error by using import().catch()"),"});"]),"};"])}return n});e.hooks.requireEnsure.tap("NodeMainTemplatePlugin",(t,n,i)=>{const o=e.outputOptions.chunkFilename;const a=n.getChunkMaps();const c=["var moreModules = chunk.modules, chunkIds = chunk.ids;","for(var moduleId in moreModules) {",r.indent(e.renderAddModule(i,n,"moduleId","moreModules[moduleId]")),"}"];if(s){return r.asString([t,"","// ReadFile + VM.run chunk loading for javascript","","var installedChunkData = installedChunks[chunkId];",'if(installedChunkData !== 0) { // 0 means "already installed".',r.indent(['// array of [resolve, reject, promise] means "currently loading"',"if(installedChunkData) {",r.indent(["promises.push(installedChunkData[2]);"]),"} else {",r.indent(["// load the chunk and return promise to it","var promise = new Promise(function(resolve, reject) {",r.indent(["installedChunkData = installedChunks[chunkId] = [resolve, reject];","var filename = require('path').join(__dirname, "+e.getAssetPath(JSON.stringify(`/${o}`),{hash:`" + ${e.renderCurrentHashCode(i)} + "`,hashWithLength:t=>`" + ${e.renderCurrentHashCode(i,t)} + "`,chunk:{id:'" + chunkId + "',hash:`" + ${JSON.stringify(a.hash)}[chunkId] + "`,hashWithLength:e=>{const t={};for(const n of Object.keys(a.hash)){if(typeof a.hash[n]==="string"){t[n]=a.hash[n].substr(0,e)}}return`" + ${JSON.stringify(t)}[chunkId] + "`},contentHash:{javascript:`" + ${JSON.stringify(a.contentHash.javascript)}[chunkId] + "`},contentHashWithLength:{javascript:e=>{const t={};const n=a.contentHash.javascript;for(const r of Object.keys(n)){if(typeof n[r]==="string"){t[r]=n[r].substr(0,e)}}return`" + ${JSON.stringify(t)}[chunkId] + "`}},name:`" + (${JSON.stringify(a.name)}[chunkId]||chunkId) + "`},contentHashType:"javascript"})+");","require('fs').readFile(filename, 'utf-8', function(err, content) {",r.indent(["if(err) return reject(err);","var chunk = {};","require('vm').runInThisContext('(function(exports, require, __dirname, __filename) {' + content + '\\n})', filename)"+"(chunk, require, require('path').dirname(filename), filename);"].concat(c).concat(["var callbacks = [];","for(var i = 0; i < chunkIds.length; i++) {",r.indent(["if(installedChunks[chunkIds[i]])",r.indent(["callbacks = callbacks.concat(installedChunks[chunkIds[i]][0]);"]),"installedChunks[chunkIds[i]] = 0;"]),"}","for(i = 0; i < callbacks.length; i++)",r.indent("callbacks[i]();")])),"});"]),"});","promises.push(installedChunkData[2] = promise);"]),"}"]),"}"])}else{const n=e.getAssetPath(JSON.stringify(`./${o}`),{hash:`" + ${e.renderCurrentHashCode(i)} + "`,hashWithLength:t=>`" + ${e.renderCurrentHashCode(i,t)} + "`,chunk:{id:'" + chunkId + "',hash:`" + ${JSON.stringify(a.hash)}[chunkId] + "`,hashWithLength:e=>{const t={};for(const n of Object.keys(a.hash)){if(typeof a.hash[n]==="string"){t[n]=a.hash[n].substr(0,e)}}return`" + ${JSON.stringify(t)}[chunkId] + "`},contentHash:{javascript:`" + ${JSON.stringify(a.contentHash.javascript)}[chunkId] + "`},contentHashWithLength:{javascript:e=>{const t={};const n=a.contentHash.javascript;for(const r of Object.keys(n)){if(typeof n[r]==="string"){t[r]=n[r].substr(0,e)}}return`" + ${JSON.stringify(t)}[chunkId] + "`}},name:`" + (${JSON.stringify(a.name)}[chunkId]||chunkId) + "`},contentHashType:"javascript"});return r.asString([t,"","// require() chunk loading for javascript","",'// "0" is the signal for "already loaded"',"if(installedChunks[chunkId] !== 0) {",r.indent([`var chunk = require(${n});`].concat(c).concat(["for(var i = 0; i < chunkIds.length; i++)",r.indent("installedChunks[chunkIds[i]] = 0;")])),"}"])}});e.hooks.hotBootstrap.tap("NodeMainTemplatePlugin",(t,i,o)=>{const a=e.outputOptions.hotUpdateChunkFilename;const c=e.outputOptions.hotUpdateMainFilename;const l=i.getChunkMaps();const u=e.getAssetPath(JSON.stringify(a),{hash:`" + ${e.renderCurrentHashCode(o)} + "`,hashWithLength:t=>`" + ${e.renderCurrentHashCode(o,t)} + "`,chunk:{id:'" + chunkId + "',hash:`" + ${JSON.stringify(l.hash)}[chunkId] + "`,hashWithLength:e=>{const t={};for(const n of Object.keys(l.hash)){if(typeof l.hash[n]==="string"){t[n]=l.hash[n].substr(0,e)}}return`" + ${JSON.stringify(t)}[chunkId] + "`},name:`" + (${JSON.stringify(l.name)}[chunkId]||chunkId) + "`}});const f=e.getAssetPath(JSON.stringify(c),{hash:`" + ${e.renderCurrentHashCode(o)} + "`,hashWithLength:t=>`" + ${e.renderCurrentHashCode(o,t)} + "`});return r.getFunctionContent(s?n(39215):n(21400)).replace(/\$require\$/g,e.requireFn).replace(/\$hotMainFilename\$/g,f).replace(/\$hotChunkFilename\$/g,u)});e.hooks.hash.tap("NodeMainTemplatePlugin",e=>{e.update("node");e.update("4")})}}},67100:(e,t,n)=>{"use strict";const r=n(35747);const s=n(85622);const i=n(94327);class NodeOutputFileSystem{constructor(){this.mkdirp=i;this.mkdir=r.mkdir.bind(r);this.rmdir=r.rmdir.bind(r);this.unlink=r.unlink.bind(r);this.writeFile=r.writeFile.bind(r);this.join=s.join.bind(s)}}e.exports=NodeOutputFileSystem},14888:(e,t,n)=>{"use strict";const r=n(51547);const s=n(77466);const i=n(39669);e.exports=class NodeSourcePlugin{constructor(e){this.options=e}apply(e){const t=this.options;if(t===false){return}const o=(e,t)=>{if(t===true||t===undefined&&i[e]){if(!i[e]){throw new Error(`No browser version for node.js core module ${e} available`)}return i[e]}else if(t==="mock"){return require.resolve(`node-libs-browser/mock/${e}`)}else if(t==="empty"){return n.ab+"empty.js"}else{return e}};const a=(e,t,n,r,i)=>{i=i||"";e.hooks.expression.for(t).tap("NodeSourcePlugin",()=>{if(e.state.module&&e.state.module.resource===o(n,r))return;const a=s.requireFileAsExpression(e.state.module.context,o(n,r));return s.addParsedVariableToModule(e,t,a+i)})};e.hooks.compilation.tap("NodeSourcePlugin",(e,{normalModuleFactory:r})=>{const i=(e,r)=>{if(r.node===false)return;let i=t;if(r.node){i=Object.assign({},i,r.node)}if(i.global){e.hooks.expression.for("global").tap("NodeSourcePlugin",()=>{const t=s.requireFileAsExpression(e.state.module.context,n.ab+"global.js");return s.addParsedVariableToModule(e,"global",t)})}if(i.process){const t=i.process;a(e,"process","process",t)}if(i.console){const t=i.console;a(e,"console","console",t)}const o=i.Buffer;if(o){a(e,"Buffer","buffer",o,".Buffer")}if(i.setImmediate){const t=i.setImmediate;a(e,"setImmediate","timers",t,".setImmediate");a(e,"clearImmediate","timers",t,".clearImmediate")}};r.hooks.parser.for("javascript/auto").tap("NodeSourcePlugin",i);r.hooks.parser.for("javascript/dynamic").tap("NodeSourcePlugin",i)});e.hooks.afterResolvers.tap("NodeSourcePlugin",e=>{for(const n of Object.keys(i)){if(t[n]!==false){e.resolverFactory.hooks.resolver.for("normal").tap("NodeSourcePlugin",e=>{new r("described-resolve",{name:n,onlyModule:true,alias:o(n,t[n])},"resolve").apply(e)})}}})}}},72746:(e,t,n)=>{"use strict";const r=n(2170);const s=n(32282).builtinModules||Object.keys(process.binding("natives"));class NodeTargetPlugin{apply(e){new r("commonjs",s).apply(e)}}e.exports=NodeTargetPlugin},12964:(e,t,n)=>{"use strict";const r=n(4460);const s=n(4633);const i=n(16856);class NodeTemplatePlugin{constructor(e){e=e||{};this.asyncChunkLoading=e.asyncChunkLoading}apply(e){e.hooks.thisCompilation.tap("NodeTemplatePlugin",e=>{new r(this.asyncChunkLoading).apply(e.mainTemplate);(new s).apply(e.chunkTemplate);(new i).apply(e.hotUpdateChunkTemplate)})}}e.exports=NodeTemplatePlugin},7114:(e,t,n)=>{"use strict";const r=n(51702);const s=n(83958);class NodeWatchFileSystem{constructor(e){this.inputFileSystem=e;this.watcherOptions={aggregateTimeout:0};this.watcher=new r(this.watcherOptions)}watch(e,t,n,i,o,a,c){if(!Array.isArray(e)){throw new Error("Invalid arguments: 'files'")}if(!Array.isArray(t)){throw new Error("Invalid arguments: 'dirs'")}if(!Array.isArray(n)){throw new Error("Invalid arguments: 'missing'")}if(typeof a!=="function"){throw new Error("Invalid arguments: 'callback'")}if(typeof i!=="number"&&i){throw new Error("Invalid arguments: 'startTime'")}if(typeof o!=="object"){throw new Error("Invalid arguments: 'options'")}if(typeof c!=="function"&&c){throw new Error("Invalid arguments: 'callbackUndelayed'")}const l=this.watcher;this.watcher=new r(o);if(c){this.watcher.once("change",c)}const u=e;const f=t;this.watcher.once("aggregated",(r,i)=>{r=r.concat(i);if(this.inputFileSystem&&this.inputFileSystem.purge){this.inputFileSystem.purge(r)}const o=s(this.watcher.getTimes());e=new Set(e);t=new Set(t);n=new Set(n);i=new Set(i.filter(t=>e.has(t)));a(null,r.filter(t=>e.has(t)).sort(),r.filter(e=>t.has(e)).sort(),r.filter(e=>n.has(e)).sort(),o,o,i)});this.watcher.watch(u.concat(n),f.concat(n),i);if(l){l.close()}return{close:()=>{if(this.watcher){this.watcher.close();this.watcher=null}},pause:()=>{if(this.watcher){this.watcher.pause()}},getFileTimestamps:()=>{if(this.watcher){return s(this.watcher.getTimes())}else{return new Map}},getContextTimestamps:()=>{if(this.watcher){return s(this.watcher.getTimes())}else{return new Map}}}}}e.exports=NodeWatchFileSystem},93570:(e,t,n)=>{"use strict";const r=n(73720);const s=n(39056);class ReadFileCompileWasmTemplatePlugin{constructor(e){this.options=e||{}}apply(e){e.hooks.thisCompilation.tap("ReadFileCompileWasmTemplatePlugin",e=>{const t=e=>r.asString(["new Promise(function (resolve, reject) {",r.indent(["var { readFile } = require('fs');","var { join } = require('path');","","try {",r.indent([`readFile(join(__dirname, ${e}), function(err, buffer){`,r.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",r.indent(["arrayBuffer() { return Promise.resolve(buffer); }"]),"});"]),"});"]),"} catch (err) { reject(err); }"]),"})"]);const n=new s(Object.assign({generateLoadBinaryCode:t,supportsStreaming:false},this.options));n.apply(e.mainTemplate)})}}e.exports=ReadFileCompileWasmTemplatePlugin},66039:(e,t,n)=>{"use strict";const r=n(4624);const s=n(31669);const i=process.stderr.isTTY&&process.env.TERM!=="dumb";let o=undefined;let a=false;let c="";let l=0;const u=(e,t,n,r)=>{if(e==="")return e;t=c+t;if(i){return t+n+e.replace(/\n/g,r+"\n"+t+n)+r}else{return t+e.replace(/\n/g,"\n"+t)}};const f=()=>{if(a){process.stderr.write("\r");a=false}};const p=()=>{if(!o)return;const e=process.stderr.columns;const t=e?r(o,e-1):o;const n=t.join(" ");const s=`${n}`;process.stderr.write(`\r${s}`);a=true};const d=(e,t,n)=>{return(...r)=>{if(l>0)return;f();const i=u(s.format(...r),e,t,n);process.stderr.write(i+"\n");p()}};const h=d("<-> ","","");const m=d("<+> ","","");e.exports={log:d(" ","",""),debug:d(" ","",""),trace:d(" ","",""),info:d(" ","",""),warn:d(" ","",""),error:d(" ","",""),logTime:d(" ","",""),group:(...e)=>{h(...e);if(l>0){l++}else{c+=" "}},groupCollapsed:(...e)=>{m(...e);l++},groupEnd:()=>{if(l>0)l--;else if(c.length>=2)c=c.slice(0,c.length-2)},profile:console.profile&&(e=>console.profile(e)),profileEnd:console.profileEnd&&(e=>console.profileEnd(e)),clear:i&&console.clear&&(()=>{f();console.clear();p()}),status:i?(e,...t)=>{t=t.filter(Boolean);if(e===undefined&&t.length===0){f();o=undefined}else if(typeof e==="string"&&e.startsWith("[webpack.Progress] ")){o=[e.slice(19),...t];p()}else if(e==="[webpack.Progress]"){o=[...t];p()}else{o=[e,...t];p()}}:d(" ","","")}},17211:e=>{"use strict";class AggressiveMergingPlugin{constructor(e){if(e!==undefined&&typeof e!=="object"||Array.isArray(e)){throw new Error("Argument should be an options object. To use defaults, pass in nothing.\nFor more info on options, see https://webpack.js.org/plugins/")}this.options=e||{}}apply(e){const t=this.options;const n=t.minSizeReduce||1.5;e.hooks.thisCompilation.tap("AggressiveMergingPlugin",e=>{e.hooks.optimizeChunksAdvanced.tap("AggressiveMergingPlugin",e=>{let t=[];e.forEach((n,r)=>{if(n.canBeInitial())return;for(let s=0;s{return e.improvement!==false});t.sort((e,t)=>{return t.improvement-e.improvement});const r=t[0];if(!r)return;if(r.improvement{"use strict";const r=n(88540);const{intersect:s}=n(34791);const i=n(33225);const o=n(71884);const a=(e,t)=>{return n=>{e.moveModule(n,t)}};const c=e=>{return t=>{return e!==t}};class AggressiveSplittingPlugin{constructor(e){if(!e)e={};i(o,e,"Aggressive Splitting Plugin");this.options=e;if(typeof this.options.minSize!=="number"){this.options.minSize=30*1024}if(typeof this.options.maxSize!=="number"){this.options.maxSize=50*1024}if(typeof this.options.chunkOverhead!=="number"){this.options.chunkOverhead=0}if(typeof this.options.entryChunkMultiplicator!=="number"){this.options.entryChunkMultiplicator=1}}apply(e){e.hooks.thisCompilation.tap("AggressiveSplittingPlugin",t=>{let n=false;let i;let o;let l;t.hooks.optimize.tap("AggressiveSplittingPlugin",()=>{i=[];o=new Set;l=new Map});t.hooks.optimizeChunksAdvanced.tap("AggressiveSplittingPlugin",n=>{const u=new Map;const f=new Map;for(const n of t.modules){const s=r.makePathsRelative(e.context,n.identifier(),t.cache);u.set(s,n);f.set(n,s)}const p=new Set;for(const e of n){p.add(e.id)}const d=t.records&&t.records.aggressiveSplits||[];const h=i?d.concat(i):d;const m=this.options.minSize;const y=this.options.maxSize;const g=e=>{if(e.id!==undefined&&p.has(e.id)){return false}const n=e.modules.map(e=>u.get(e));if(!n.every(Boolean))return false;const r=n.reduce((e,t)=>e+t.size(),0);if(r!==e.size)return false;const i=s(n.map(e=>new Set(e.chunksIterable)));if(i.size===0)return false;if(i.size===1&&Array.from(i)[0].getNumberOfModules()===n.length){const t=Array.from(i)[0];if(o.has(t))return false;o.add(t);l.set(t,e);return true}const c=t.addChunk();c.chunkReason="aggressive splitted";for(const e of i){n.forEach(a(e,c));e.split(c);e.name=null}o.add(c);l.set(c,e);if(e.id!==null&&e.id!==undefined){c.id=e.id}return true};let v=false;for(let e=0;e{const n=t.modulesSize()-e.modulesSize();if(n)return n;const r=e.getNumberOfModules()-t.getNumberOfModules();if(r)return r;const s=Array.from(e.modulesIterable);const i=Array.from(t.modulesIterable);s.sort();i.sort();const o=s[Symbol.iterator]();const a=i[Symbol.iterator]();while(true){const e=o.next();const t=a.next();if(e.done)return 0;const n=e.value.identifier();const r=t.value.identifier();if(n>r)return-1;if(ny&&e.getNumberOfModules()>1){const t=e.getModules().filter(c(e.entryModule)).sort((e,t)=>{e=e.identifier();t=t.identifier();if(e>t)return 1;if(ey&&r>=m){break}r=i;n.push(s)}if(n.length===0)continue;const s={modules:n.map(e=>f.get(e)).sort(),size:r};if(g(s)){i=(i||[]).concat(s);v=true}}}if(v)return true});t.hooks.recordHash.tap("AggressiveSplittingPlugin",e=>{const r=new Set;const s=new Set;for(const e of t.chunks){const t=l.get(e);if(t!==undefined){if(t.hash&&e.hash!==t.hash){s.add(t)}}}if(s.size>0){e.aggressiveSplits=e.aggressiveSplits.filter(e=>!s.has(e));n=true}else{for(const e of t.chunks){const t=l.get(e);if(t!==undefined){t.hash=e.hash;t.id=e.id;r.add(t);e.recorded=true}}const i=t.records&&t.records.aggressiveSplits;if(i){for(const e of i){if(!s.has(e))r.add(e)}}e.aggressiveSplits=Array.from(r);n=false}});t.hooks.needAdditionalSeal.tap("AggressiveSplittingPlugin",()=>{if(n){n=false;return true}})})}}e.exports=AggressiveSplittingPlugin},95702:e=>{"use strict";const t=(e,t)=>{return e.index-t.index};const n=(e,t)=>{return e.index2-t.index2};class ChunkModuleIdRangePlugin{constructor(e){this.options=e}apply(e){const r=this.options;e.hooks.compilation.tap("ChunkModuleIdRangePlugin",e=>{e.hooks.moduleIds.tap("ChunkModuleIdRangePlugin",s=>{const i=e.chunks.find(e=>e.name===r.name);if(!i){throw new Error(`ChunkModuleIdRangePlugin: Chunk with name '${r.name}"' was not found`)}let o;if(r.order){o=Array.from(i.modulesIterable);switch(r.order){case"index":o.sort(t);break;case"index2":o.sort(n);break;default:throw new Error("ChunkModuleIdRangePlugin: unexpected value of order")}}else{o=s.filter(e=>{return e.chunksIterable.has(i)})}let a=r.start||0;for(let e=0;er.end)break}})})}}e.exports=ChunkModuleIdRangePlugin},75980:(e,t,n)=>{"use strict";const r=n(3285);const s=n(73720);const i=n(42515);const o=n(84417);const{ConcatSource:a,ReplaceSource:c}=n(50932);const l=n(49440);const u=n(22357);const f=n(48285);const p=n(57204);const d=n(1919);const h=n(947);const m=n(31817);const y=n(88440);const g=n(57442);const v=e=>{let t="";let n=true;for(const r of e){if(n){n=false}else{t+=", "}t+=r}return t};const b=(e,t,n,r)=>{if(!e.hasNamespaceObject){e.hasNamespaceObject=true;const s=e.exportMap.get(true);const i=[`var ${s} = {};`,`__webpack_require__.r(${s});`];for(const o of e.module.buildMeta.providedExports){const a=k(e,o,t,n,false,r);i.push(`__webpack_require__.d(${s}, ${JSON.stringify(o)}, function() { return ${a}; });`)}e.namespaceObjectSource=i.join("\n")+"\n"}};const w=(e,t,n,r,i)=>{const o=e.isUsed(n);if(!o)return"/* unused reexport */undefined";const a=o!==n?` ${s.toNormalComment(n)}`:"";switch(e.buildMeta.exportsType){case"named":if(n==="default"){return t.name}else if(n===true){t.interopNamespaceObjectUsed=true;return t.interopNamespaceObjectName}else{break}case"namespace":if(n===true){return t.name}else{break}default:if(i){if(n==="default"){return t.name}else if(n===true){t.interopNamespaceObjectUsed=true;return t.interopNamespaceObjectName}else{return"/* non-default import from non-esm module */undefined"}}else{if(n==="default"){t.interopDefaultAccessUsed=true;return r?`${t.interopDefaultAccessName}()`:`${t.interopDefaultAccessName}.a`}else if(n===true){return t.name}else{break}}}const c=`${t.name}[${JSON.stringify(o)}${a}]`;if(r)return`Object(${c})`;return c};const k=(e,t,n,r,i,o,a=new Set)=>{switch(e.type){case"concatenated":{const c=e.exportMap.get(t);if(c){if(t===true){b(e,n,r,o)}else if(!e.module.isUsed(t)){return"/* unused export */ undefined"}if(e.globalExports.has(c)){return c}const s=e.internalNames.get(c);if(!s){throw new Error(`The export "${c}" in "${e.module.readableIdentifier(r)}" has no internal name`)}return s}const l=e.reexportMap.get(t);if(l){if(a.has(l)){throw new Error(`Circular reexports ${Array.from(a,e=>`"${e.module.readableIdentifier(r)}".${e.exportName}`).join(" --\x3e ")} -(circular)-> "${l.module.readableIdentifier(r)}".${l.exportName}`)}a.add(l);const e=n.get(l.module);if(e){return k(e,l.exportName,n,r,i,o,a)}}const u=`Cannot get final name for export "${t}" in "${e.module.readableIdentifier(r)}"`+` (known exports: ${Array.from(e.exportMap.keys()).filter(e=>e!==true).join(" ")}, `+`known reexports: ${Array.from(e.reexportMap.keys()).join(" ")})`;return`${s.toNormalComment(u)} undefined`}case"external":{const n=e.module;return w(n,e,t,i,o)}}};const x=(e,t,n)=>{let r=e;while(r){if(n.has(r))break;n.add(r);for(const e of r.variables){t.add(e.name)}r=r.upper}};const S=(e,t,n,r)=>{let s=e;while(s){if(n.has(s))break;if(r.has(s))break;n.add(s);for(const e of s.variables){t.add(e.name)}s=s.upper}};const E=e=>{let t=e.references;const n=new Set(e.identifiers);for(const r of e.scope.childScopes){for(const e of r.variables){if(e.identifiers.some(e=>n.has(e))){t=t.concat(e.references);break}}}return t};const O=(e,t)=>{if(e===t){return[]}const n=t.range;const r=e=>{if(!e)return undefined;const r=e.range;if(r){if(r[0]<=n[0]&&r[1]>=n[1]){const n=O(e,t);if(n){n.push(e);return n}}}return undefined};var s;if(Array.isArray(e)){for(s=0;s{const t=e._module;if(!t)return[];if(e._id){return[{name:e.name,id:e._id,module:t}]}if(e.name){return[{name:e.name,id:true,module:t}]}return t.buildMeta.providedExports.filter(t=>t!=="default"&&!e.activeExports.has(t)).map(e=>{return{name:e,id:e,module:t}})};class ConcatenatedModule extends r{constructor(e,t,n){super("javascript/esm",null);super.setChunks(e._chunks);this.rootModule=e;this.factoryMeta=e.factoryMeta;this.index=e.index;this.index2=e.index2;this.depth=e.depth;this.used=e.used;this.usedExports=e.usedExports;this.buildInfo={strict:true,cacheable:t.every(e=>e.buildInfo.cacheable),moduleArgument:e.buildInfo.moduleArgument,exportsArgument:e.buildInfo.exportsArgument,fileDependencies:new Set,contextDependencies:new Set,assets:undefined};this.built=t.some(e=>e.built);this.buildMeta=e.buildMeta;this._numberOfConcatenatedModules=t.length;const r=new Set(t);this.reasons=e.reasons.filter(e=>!(e.dependency instanceof u)||!r.has(e.module));this.dependencies=[];this.blocks=[];this.warnings=[];this.errors=[];this._orderedConcatenationList=n||ConcatenatedModule.createConcatenationList(e,r,null);for(const e of this._orderedConcatenationList){if(e.type==="concatenated"){const t=e.module;for(const e of t.dependencies.filter(e=>!(e instanceof u)||!r.has(e._module))){this.dependencies.push(e)}for(const e of t.blocks){this.blocks.push(e)}if(t.buildInfo.fileDependencies){for(const e of t.buildInfo.fileDependencies){this.buildInfo.fileDependencies.add(e)}}if(t.buildInfo.contextDependencies){for(const e of t.buildInfo.contextDependencies){this.buildInfo.contextDependencies.add(e)}}for(const e of t.warnings){this.warnings.push(e)}for(const e of t.errors){this.errors.push(e)}if(t.buildInfo.assets){if(this.buildInfo.assets===undefined){this.buildInfo.assets=Object.create(null)}Object.assign(this.buildInfo.assets,t.buildInfo.assets)}if(t.buildInfo.assetsInfo){if(this.buildInfo.assetsInfo===undefined){this.buildInfo.assetsInfo=new Map}for(const[e,n]of t.buildInfo.assetsInfo){this.buildInfo.assetsInfo.set(e,n)}}}}this._identifier=this._createIdentifier()}get modules(){return this._orderedConcatenationList.filter(e=>e.type==="concatenated").map(e=>e.module)}identifier(){return this._identifier}readableIdentifier(e){return this.rootModule.readableIdentifier(e)+` + ${this._numberOfConcatenatedModules-1} modules`}libIdent(e){return this.rootModule.libIdent(e)}nameForCondition(){return this.rootModule.nameForCondition()}build(e,t,n,r,s){throw new Error("Cannot build this module. It should be already built.")}size(){return this._orderedConcatenationList.reduce((e,t)=>{switch(t.type){case"concatenated":return e+t.module.size();case"external":return e+5}return e},0)}static createConcatenationList(e,t,n){const r=[];const s=new Set;const i=e=>{const t=new WeakMap;const r=e.dependencies.filter(e=>e instanceof u).map(r=>{const s=n.getDependencyReference(e,r);if(s)t.set(s,r);return s}).filter(e=>e);l.sort(r);return r.map(r=>{const s=t.get(r);return()=>n.getDependencyReference(e,s).module})};const o=e=>{const n=e();if(!n)return;if(s.has(n))return;s.add(n);if(t.has(n)){const e=i(n);e.forEach(o);r.push({type:"concatenated",module:n})}else{r.push({type:"external",get module(){return e()}})}};o(()=>e);return r}_createIdentifier(){let e="";for(let t=0;t{switch(e.type){case"concatenated":{const n=new Map;const r=new Map;for(const t of e.module.dependencies){if(t instanceof d){if(!n.has(t.name)){n.set(t.name,t.id)}}else if(t instanceof h){if(!n.has("default")){n.set("default","__WEBPACK_MODULE_DEFAULT_EXPORT__")}}else if(t instanceof m){const e=t.name;const n=t._id;const s=t._module;if(e&&n){if(!r.has(e)){r.set(e,{module:s,exportName:n,dependency:t})}}else if(e){if(!r.has(e)){r.set(e,{module:s,exportName:true,dependency:t})}}else if(s){for(const e of s.buildMeta.providedExports){if(t.activeExports.has(e)||e==="default"){continue}if(!r.has(e)){r.set(e,{module:s,exportName:e,dependency:t})}}}}}return{type:"concatenated",module:e.module,index:t,ast:undefined,internalSource:undefined,source:undefined,globalScope:undefined,moduleScope:undefined,internalNames:new Map,globalExports:new Set,exportMap:n,reexportMap:r,hasNamespaceObject:false,namespaceObjectSource:null}}case"external":return{type:"external",module:e.module,index:t,name:undefined,interopNamespaceObjectUsed:false,interopNamespaceObjectName:undefined,interopDefaultAccessUsed:false,interopDefaultAccessName:undefined};default:throw new Error(`Unsupported concatenation entry type ${e.type}`)}});const s=new Map;for(const e of r){s.set(e.module,e)}const l=new Map(e);l.set(p,new HarmonyImportSpecifierDependencyConcatenatedTemplate(e.get(p),s));l.set(f,new HarmonyImportSideEffectDependencyConcatenatedTemplate(e.get(f),s));l.set(d,new NullTemplate);l.set(h,new HarmonyExportExpressionDependencyConcatenatedTemplate(e.get(h),this.rootModule));l.set(m,new NullTemplate);l.set(y,new NullTemplate);l.set("hash",l.get("hash")+this.identifier());for(const e of r){if(e.type==="concatenated"){const n=e.module;const r=n.source(l,t);const s=r.source();let a;try{a=i.parse(s,{sourceType:"module"})}catch(e){if(e.loc&&typeof e.loc==="object"&&typeof e.loc.line==="number"){const t=e.loc.line;const n=s.split("\n");e.message+="\n| "+n.slice(Math.max(0,t-3),t+2).join("\n| ")}throw e}const u=o.analyze(a,{ecmaVersion:6,sourceType:"module",optimistic:true,ignoreEval:true,impliedStrict:true});const f=u.acquire(a);const p=f.childScopes[0];const d=new c(r);e.ast=a;e.internalSource=r;e.source=d;e.globalScope=f;e.moduleScope=p}}const u=new Set(["__WEBPACK_MODULE_DEFAULT_EXPORT__","abstract","arguments","async","await","boolean","break","byte","case","catch","char","class","const","continue","debugger","default","delete","do","double","else","enum","eval","export","extends","false","final","finally","float","for","function","goto","if","implements","import","in","instanceof","int","interface","let","long","native","new","null","package","private","protected","public","return","short","static","super","switch","synchronized","this","throw","throws","transient","true","try","typeof","var","void","volatile","while","with","yield","module","__dirname","__filename","exports","Array","Date","eval","function","hasOwnProperty","Infinity","isFinite","isNaN","isPrototypeOf","length","Math","NaN","name","Number","Object","prototype","String","toString","undefined","valueOf","alert","all","anchor","anchors","area","assign","blur","button","checkbox","clearInterval","clearTimeout","clientInformation","close","closed","confirm","constructor","crypto","decodeURI","decodeURIComponent","defaultStatus","document","element","elements","embed","embeds","encodeURI","encodeURIComponent","escape","event","fileUpload","focus","form","forms","frame","innerHeight","innerWidth","layer","layers","link","location","mimeTypes","navigate","navigator","frames","frameRate","hidden","history","image","images","offscreenBuffering","open","opener","option","outerHeight","outerWidth","packages","pageXOffset","pageYOffset","parent","parseFloat","parseInt","password","pkcs11","plugin","prompt","propertyIsEnum","radio","reset","screenX","screenY","scroll","secure","select","self","setInterval","setTimeout","status","submit","taint","text","textarea","top","unescape","untaint","window","onblur","onclick","onerror","onfocus","onkeydown","onkeypress","onkeyup","onmouseover","onload","onmouseup","onmousedown","onsubmit"]);const g=new Set;for(const e of r){const t=[];if(e.moduleScope){g.add(e.moduleScope);for(const n of e.moduleScope.childScopes){if(n.type!=="class")continue;if(!n.block.superClass)continue;t.push({range:n.block.superClass.range,variables:n.variables})}}if(e.globalScope){for(const n of e.globalScope.through){const e=n.identifier.name;if(/^__WEBPACK_MODULE_REFERENCE__\d+_([\da-f]+|ns)(_call)?(_strict)?__$/.test(e)){for(const e of t){if(e.range[0]<=n.identifier.range[0]&&e.range[1]>=n.identifier.range[1]){for(const t of e.variables){u.add(t.name)}}}x(n.from,u,g)}else{u.add(e)}}}if(e.type==="concatenated"){const t=new Set;for(const n of e.moduleScope.variables){t.add(n.name)}for(const[,n]of e.exportMap){if(!t.has(n)){e.globalExports.add(n)}}}}for(const e of r){switch(e.type){case"concatenated":{const t=this.findNewName("namespaceObject",u,null,e.module.readableIdentifier(n));u.add(t);e.internalNames.set(t,t);e.exportMap.set(true,t);for(const t of e.moduleScope.variables){const r=t.name;if(u.has(r)){const s=E(t);const i=new Set;const o=new Set;for(const e of s){S(e.from,i,o,g)}const a=this.findNewName(r,u,i,e.module.readableIdentifier(n));u.add(a);e.internalNames.set(r,a);const c=e.source;const l=new Set(s.map(e=>e.identifier).concat(t.identifiers));for(const t of l){const n=t.range;const r=O(e.ast,t);if(r&&r.length>1&&r[1].type==="Property"&&r[1].shorthand){c.insert(n[1],`: ${a}`)}else{c.replace(n[0],n[1]-1,a)}}}else{u.add(r);e.internalNames.set(r,r)}}break}case"external":{const t=this.findNewName("",u,null,e.module.readableIdentifier(n));u.add(t);e.name=t;if(e.module.buildMeta.exportsType==="named"||!e.module.buildMeta.exportsType){const t=this.findNewName("namespaceObject",u,null,e.module.readableIdentifier(n));u.add(t);e.interopNamespaceObjectName=t}if(!e.module.buildMeta.exportsType){const t=this.findNewName("default",u,null,e.module.readableIdentifier(n));u.add(t);e.interopDefaultAccessName=t}break}}}for(const e of r){if(e.type==="concatenated"){for(const t of e.globalScope.through){const i=t.identifier.name;const o=/^__WEBPACK_MODULE_REFERENCE__(\d+)_([\da-f]+|ns)(_call)?(_strict)?__$/.exec(i);if(o){const i=r[+o[1]];let a;if(o[2]==="ns"){a=true}else{const e=o[2];a=Buffer.from(e,"hex").toString("utf-8")}const c=!!o[3];const l=!!o[4];const u=k(i,a,s,n,c,l);const f=t.identifier.range;const p=e.source;p.replace(f[0],f[1]-1,u)}}}}const b=new Map;const w=new Set;for(const e of this.rootModule.dependencies){if(e instanceof d){const t=this.rootModule.isUsed(e.name);if(t){const n=s.get(this.rootModule);if(!b.has(t)){b.set(t,()=>`/* binding */ ${n.internalNames.get(e.id)}`)}}else{w.add(e.name||"namespace")}}else if(e instanceof m){const t=C(e);for(const n of t){const t=s.get(n.module);const r=e.originModule.isUsed(n.name);if(r){if(!b.has(r)){b.set(r,e=>{const r=k(t,n.id,s,e,false,this.rootModule.buildMeta.strictHarmonyModule);return`/* reexport */ ${r}`})}}else{w.add(n.name)}}}}const M=new a;const A=this.rootModule.usedExports;if(A===true||A===null){M.add(`// ESM COMPAT FLAG\n`);M.add(t.defineEsModuleFlagStatement({exportsArgument:this.exportsArgument}))}if(b.size>0){M.add(`\n// EXPORTS\n`);for(const[e,t]of b){M.add(`__webpack_require__.d(${this.exportsArgument}, ${JSON.stringify(e)}, function() { return ${t(n)}; });\n`)}}if(w.size>0){M.add(`\n// UNUSED EXPORTS: ${v(w)}\n`)}for(const e of r){if(e.namespaceObjectSource){M.add(`\n// NAMESPACE OBJECT: ${e.module.readableIdentifier(n)}\n`);M.add(e.namespaceObjectSource)}}for(const e of r){switch(e.type){case"concatenated":M.add(`\n// CONCATENATED MODULE: ${e.module.readableIdentifier(n)}\n`);M.add(e.source);break;case"external":M.add(`\n// EXTERNAL MODULE: ${e.module.readableIdentifier(n)}\n`);M.add(`var ${e.name} = __webpack_require__(${JSON.stringify(e.module.id)});\n`);if(e.interopNamespaceObjectUsed){if(e.module.buildMeta.exportsType==="named"){M.add(`var ${e.interopNamespaceObjectName} = /*#__PURE__*/__webpack_require__.t(${e.name}, 2);\n`)}else if(!e.module.buildMeta.exportsType){M.add(`var ${e.interopNamespaceObjectName} = /*#__PURE__*/__webpack_require__.t(${e.name});\n`)}}if(e.interopDefaultAccessUsed){M.add(`var ${e.interopDefaultAccessName} = /*#__PURE__*/__webpack_require__.n(${e.name});\n`)}break;default:throw new Error(`Unsupported concatenation entry type ${e.type}`)}}return M}findNewName(e,t,n,r){let i=e;if(i==="__WEBPACK_MODULE_DEFAULT_EXPORT__")i="";r=r.replace(/\.+\/|(\/index)?\.([a-zA-Z0-9]{1,4})($|\s|\?)|\s*\+\s*\d+\s*modules/g,"");const o=r.split("/");while(o.length){i=o.pop()+(i?"_"+i:"");const e=s.toIdentifier(i);if(!t.has(e)&&(!n||!n.has(e)))return e}let a=0;let c=s.toIdentifier(`${i}_${a}`);while(t.has(c)||n&&n.has(c)){a++;c=s.toIdentifier(`${i}_${a}`)}return c}updateHash(e){for(const t of this._orderedConcatenationList){switch(t.type){case"concatenated":t.module.updateHash(e);break;case"external":e.update(`${t.module.id}`);break}}super.updateHash(e)}}class HarmonyImportSpecifierDependencyConcatenatedTemplate{constructor(e,t){this.originalTemplate=e;this.modulesMap=t}getHarmonyInitOrder(e){const t=e._module;const n=this.modulesMap.get(t);if(!n){return this.originalTemplate.getHarmonyInitOrder(e)}return NaN}harmonyInit(e,t,n,r){const s=e._module;const i=this.modulesMap.get(s);if(!i){this.originalTemplate.harmonyInit(e,t,n,r);return}}apply(e,t,n,r){const s=e._module;const i=this.modulesMap.get(s);if(!i){this.originalTemplate.apply(e,t,n,r);return}let o;const a=e.call?"_call":"";const c=e.originModule.buildMeta.strictHarmonyModule?"_strict":"";if(e._id===null){o=`__WEBPACK_MODULE_REFERENCE__${i.index}_ns${c}__`}else if(e.namespaceObjectAsContext){o=`__WEBPACK_MODULE_REFERENCE__${i.index}_ns${c}__[${JSON.stringify(e._id)}]`}else{const t=Buffer.from(e._id,"utf-8").toString("hex");o=`__WEBPACK_MODULE_REFERENCE__${i.index}_${t}${a}${c}__`}if(e.shorthand){o=e.name+": "+o}t.replace(e.range[0],e.range[1]-1,o)}}class HarmonyImportSideEffectDependencyConcatenatedTemplate{constructor(e,t){this.originalTemplate=e;this.modulesMap=t}getHarmonyInitOrder(e){const t=e._module;const n=this.modulesMap.get(t);if(!n){return this.originalTemplate.getHarmonyInitOrder(e)}return NaN}harmonyInit(e,t,n,r){const s=e._module;const i=this.modulesMap.get(s);if(!i){this.originalTemplate.harmonyInit(e,t,n,r);return}}apply(e,t,n,r){const s=e._module;const i=this.modulesMap.get(s);if(!i){this.originalTemplate.apply(e,t,n,r);return}}}class HarmonyExportExpressionDependencyConcatenatedTemplate{constructor(e,t){this.originalTemplate=e;this.rootModule=t}apply(e,t,n,r){let s="/* harmony default export */ var __WEBPACK_MODULE_DEFAULT_EXPORT__ = ";if(e.originModule===this.rootModule){const t=e.originModule.isUsed("default");const n=e.originModule.exportsArgument;if(t)s+=`${n}[${JSON.stringify(t)}] = `}if(e.range){t.replace(e.rangeStatement[0],e.range[0]-1,s+"("+e.prefix);t.replace(e.range[1],e.rangeStatement[1]-1,");");return}t.replace(e.rangeStatement[0],e.rangeStatement[1]-1,s+e.prefix)}}class NullTemplate{apply(){}}e.exports=ConcatenatedModule},13605:(e,t,n)=>{"use strict";const r=n(43445);class EnsureChunkConditionsPlugin{apply(e){e.hooks.compilation.tap("EnsureChunkConditionsPlugin",e=>{const t=t=>{let n=false;for(const t of e.modules){if(!t.chunkCondition)continue;const e=new Set;const n=new Set;for(const r of t.chunksIterable){if(!t.chunkCondition(r)){e.add(r);for(const e of r.groupsIterable){n.add(e)}}}if(e.size===0)continue;const s=new Set;e:for(const e of n){for(const n of e.chunks){if(t.chunkCondition(n)){s.add(n);continue e}}if(e.isInitial()){throw new Error("Cannot fullfil chunk condition of "+t.identifier())}for(const t of e.parentsIterable){n.add(t)}}for(const n of e){r.disconnectChunkAndModule(n,t)}for(const e of s){r.connectChunkAndModule(e,t)}}if(n)return true};e.hooks.optimizeChunksBasic.tap("EnsureChunkConditionsPlugin",t);e.hooks.optimizeExtractedChunksBasic.tap("EnsureChunkConditionsPlugin",t)})}}e.exports=EnsureChunkConditionsPlugin},2986:e=>{"use strict";class FlagIncludedChunksPlugin{apply(e){e.hooks.compilation.tap("FlagIncludedChunksPlugin",e=>{e.hooks.optimizeChunkIds.tap("FlagIncludedChunksPlugin",t=>{const n=new WeakMap;const r=e.modules.length;const s=1/Math.pow(1/r,1/31);const i=Array.from({length:31},(e,t)=>Math.pow(s,t)|0);let o=0;for(const t of e.modules){let e=30;while(o%i[e]!==0){e--}n.set(t,1<t.getNumberOfChunks())r=t}e:for(const s of r.chunksIterable){if(e===s)continue;const r=s.getNumberOfModules();if(r===0)continue;if(n>r)continue;const i=a.get(s);if((i&t)!==t)continue;for(const t of e.modulesIterable){if(!s.containsModule(t))continue e}s.ids.push(e.id)}}})})}}e.exports=FlagIncludedChunksPlugin},14666:(e,t,n)=>{"use strict";const r=n(33225);const s=n(27993);const i=n(68340);const o=(e,t,n)=>{const r=e.get(t);if(r===undefined){e.set(t,new Set([n]))}else{r.add(n)}};class LimitChunkCountPlugin{constructor(e){if(!e)e={};r(s,e,"Limit Chunk Count Plugin");this.options=e}apply(e){const t=this.options;e.hooks.compilation.tap("LimitChunkCountPlugin",e=>{e.hooks.optimizeChunksAdvanced.tap("LimitChunkCountPlugin",e=>{const n=t.maxChunks;if(!n)return;if(n<1)return;if(e.length<=n)return;let r=e.length-n;const s=e.slice().sort((e,t)=>e.compareTo(t));const a=new i(e=>e.sizeDiff,(e,t)=>t-e,e=>e.integratedSize,(e,t)=>e-t,e=>e.bIdx-e.aIdx,(e,t)=>e-t,(e,t)=>e.bIdx-t.bIdx);const c=new Map;s.forEach((e,n)=>{for(let r=0;r0){const e=new Set(s.groupsIterable);for(const t of i.groupsIterable){e.add(t)}for(const t of e){for(const e of l){if(e!==s&&e!==i&&e.isInGroup(t)){r--;if(r<=0)break e;l.add(s);l.add(i);continue e}}for(const n of t.parentsIterable){e.add(n)}}}if(s.integrate(i,"limit")){e.splice(e.indexOf(i),1);l.add(s);u=true;r--;if(r<=0)break;for(const e of c.get(i)){if(e.deleted)continue;e.deleted=true;a.delete(e)}for(const e of c.get(s)){if(e.deleted)continue;if(e.a===s){const n=s.integratedSize(e.b,t);if(n===false){e.deleted=true;a.delete(e);continue}const r=a.startUpdate(e);e.integratedSize=n;e.aSize=o;e.sizeDiff=e.bSize+o-n;r()}else if(e.b===s){const n=e.a.integratedSize(s,t);if(n===false){e.deleted=true;a.delete(e);continue}const r=a.startUpdate(e);e.integratedSize=n;e.bSize=o;e.sizeDiff=o+e.aSize-n;r()}}}}if(u)return true})})}}e.exports=LimitChunkCountPlugin},60133:e=>{"use strict";class MergeDuplicateChunksPlugin{apply(e){e.hooks.compilation.tap("MergeDuplicateChunksPlugin",e=>{e.hooks.optimizeChunksBasic.tap("MergeDuplicateChunksPlugin",e=>{const t=new Set;for(const n of e){let r;for(const e of n.modulesIterable){if(r===undefined){for(const s of e.chunksIterable){if(s!==n&&n.getNumberOfModules()===s.getNumberOfModules()&&!t.has(s)){if(r===undefined){r=new Set}r.add(s)}}if(r===undefined)break}else{for(const t of r){if(!t.containsModule(e)){r.delete(t)}}if(r.size===0)break}}if(r!==undefined&&r.size>0){for(const t of r){if(t.hasRuntime()!==n.hasRuntime())continue;if(n.integrate(t,"duplicate")){e.splice(e.indexOf(t),1)}}}t.add(n)}})})}}e.exports=MergeDuplicateChunksPlugin},75400:(e,t,n)=>{"use strict";const r=n(33225);const s=n(8670);class MinChunkSizePlugin{constructor(e){r(s,e,"Min Chunk Size Plugin");this.options=e}apply(e){const t=this.options;const n=t.minChunkSize;e.hooks.compilation.tap("MinChunkSizePlugin",e=>{e.hooks.optimizeChunksAdvanced.tap("MinChunkSizePlugin",e=>{const r={chunkOverhead:1,entryChunkMultiplicator:1};const s=e.reduce((t,n,r)=>{for(let s=0;s{const t=e[0].size(r){const n=e[0].size(t);const r=e[1].size(t);const s=e[0].integratedSize(e[1],t);return[n+r-s,s,e[0],e[1]]}).filter(e=>{return e[1]!==false}).sort((e,t)=>{const n=t[0]-e[0];if(n!==0)return n;return e[1]-t[1]});if(s.length===0)return;const i=s[0];i[2].integrate(i[3],"min-size");e.splice(e.indexOf(i[3]),1);return true})})}}e.exports=MinChunkSizePlugin},81446:(e,t,n)=>{"use strict";const r=n(1891);const s=n(93963);class MinMaxSizeWarning extends r{constructor(e,t,n){let r="Fallback cache group";if(e){r=e.length>1?`Cache groups ${e.sort().join(", ")}`:`Cache group ${e[0]}`}super(`SplitChunksPlugin\n`+`${r}\n`+`Configured minSize (${s.formatSize(t)}) is `+`bigger than maxSize (${s.formatSize(n)}).\n`+"This seem to be a invalid optimiziation.splitChunks configuration.")}}e.exports=MinMaxSizeWarning},44554:(e,t,n)=>{"use strict";const r=n(22357);const s=n(11282);const i=n(46232);const o=n(75980);const a=n(88440);const c=n(5011);const l=e=>{return"ModuleConcatenation bailout: "+e};class ModuleConcatenationPlugin{constructor(e){if(typeof e!=="object")e={};this.options=e}apply(e){e.hooks.compilation.tap("ModuleConcatenationPlugin",(e,{normalModuleFactory:t})=>{const n=(e,t)=>{e.hooks.call.for("eval").tap("ModuleConcatenationPlugin",()=>{e.state.module.buildMeta.moduleConcatenationBailout="eval()"})};t.hooks.parser.for("javascript/auto").tap("ModuleConcatenationPlugin",n);t.hooks.parser.for("javascript/dynamic").tap("ModuleConcatenationPlugin",n);t.hooks.parser.for("javascript/esm").tap("ModuleConcatenationPlugin",n);const c=new Map;const u=(e,t)=>{c.set(e,t);e.optimizationBailout.push(typeof t==="function"?e=>l(t(e)):l(t))};const f=(e,t)=>{const n=c.get(e);if(typeof n==="function")return n(t);return n};e.hooks.optimizeChunkModules.tap("ModuleConcatenationPlugin",(t,n)=>{const c=[];const p=new Set;for(const e of n){if(!e.buildMeta||e.buildMeta.exportsType!=="namespace"||!e.dependencies.some(e=>e instanceof a)){u(e,"Module is not an ECMAScript module");continue}if(e.buildMeta&&e.buildMeta.moduleConcatenationBailout){u(e,`Module uses ${e.buildMeta.moduleConcatenationBailout}`);continue}if(!Array.isArray(e.buildMeta.providedExports)){u(e,"Module exports are unknown");continue}if(e.variables.length>0){u(e,`Module uses injected variables (${e.variables.map(e=>e.name).join(", ")})`);continue}if(e.dependencies.some(e=>e instanceof s||e instanceof i)){u(e,"Module uses Hot Module Replacement");continue}c.push(e);if(e.isEntryModule()){u(e,"Module is an entry point");continue}if(e.getNumberOfChunks()===0){u(e,"Module is not in any chunk");continue}const t=e.reasons.filter(e=>!e.dependency||!(e.dependency instanceof r));if(t.length>0){const n=new Set(t.map(e=>e.module).filter(Boolean));const r=new Set(t.map(e=>e.explanation).filter(Boolean));const s=new Map(Array.from(n).map(e=>[e,new Set(t.filter(t=>t.module===e).map(e=>e.dependency.type).sort())]));u(e,e=>{const t=Array.from(n).map(t=>`${t.readableIdentifier(e)} (referenced with ${Array.from(s.get(t)).join(", ")})`).sort();const i=Array.from(r).sort();if(t.length>0&&i.length===0){return`Module is referenced from these modules with unsupported syntax: ${t.join(", ")}`}else if(t.length===0&&i.length>0){return`Module is referenced by: ${i.join(", ")}`}else if(t.length>0&&i.length>0){return`Module is referenced from these modules with unsupported syntax: ${t.join(", ")} and by: ${i.join(", ")}`}else{return"Module is referenced in a unsupported way"}});continue}p.add(e)}c.sort((e,t)=>{return e.depth-t.depth});const d=[];const h=new Set;for(const t of c){if(h.has(t))continue;const n=new ConcatConfiguration(t);const r=new Map;for(const s of this._getImports(e,t)){const t=this._tryToAdd(e,n,s,p,r);if(t){r.set(s,t);n.addWarning(s,t)}}if(!n.isEmpty()){d.push(n);for(const e of n.getModules()){if(e!==n.rootModule){h.add(e)}}}}d.sort((e,t)=>{return t.modules.size-e.modules.size});const m=new Set;for(const n of d){if(m.has(n.rootModule))continue;const r=n.getModules();const s=n.rootModule;const i=new o(s,Array.from(r),o.createConcatenationList(s,r,e));for(const e of n.getWarningsSorted()){i.optimizationBailout.push(t=>{const n=f(e[0],t);const r=n?` (<- ${n})`:"";if(e[0]===e[1]){return l(`Cannot concat with ${e[0].readableIdentifier(t)}${r}`)}else{return l(`Cannot concat with ${e[0].readableIdentifier(t)} because of ${e[1].readableIdentifier(t)}${r}`)}})}const a=n.rootModule.getChunks();for(const e of r){m.add(e);for(const t of a){t.removeModule(e)}}for(const e of a){e.addModule(i);i.addChunk(e)}for(const e of t){if(e.entryModule===n.rootModule){e.entryModule=i}}e.modules.push(i);for(const e of i.reasons){if(e.dependency.module===n.rootModule)e.dependency.module=i;if(e.dependency.redirectedModule===n.rootModule)e.dependency.redirectedModule=i}for(let e=0;e!m.has(e))})})}_getImports(e,t){return new Set(t.dependencies.map(n=>{if(!(n instanceof r))return null;if(!e)return n.getReference();return e.getDependencyReference(t,n)}).filter(e=>e&&e.module&&(Array.isArray(e.importedNames)||Array.isArray(e.module.buildMeta.providedExports))).map(e=>e.module))}_tryToAdd(e,t,n,r,s){const i=s.get(n);if(i){return i}if(t.has(n)){return null}if(!r.has(n)){s.set(n,n);return n}if(!t.rootModule.hasEqualsChunks(n)){s.set(n,n);return n}const o=t.clone();o.add(n);for(const t of n.reasons){if(t.module.factoryMeta.sideEffectFree&&t.module.used===false)continue;const i=this._tryToAdd(e,o,t.module,r,s);if(i){s.set(n,i);return i}}t.set(o);for(const i of this._getImports(e,n)){const n=this._tryToAdd(e,t,i,r,s);if(n){t.addWarning(i,n)}}return null}}class ConcatConfiguration{constructor(e,t){this.rootModule=e;if(t){this.modules=t.modules.createChild(5);this.warnings=t.warnings.createChild(5)}else{this.modules=new c;this.modules.add(e);this.warnings=new c}}add(e){this.modules.add(e)}has(e){return this.modules.has(e)}isEmpty(){return this.modules.size===1}addWarning(e,t){this.warnings.set(e,t)}getWarningsSorted(){return new Map(this.warnings.asPairArray().sort((e,t)=>{const n=e[0].identifier();const r=t[0].identifier();if(nr)return 1;return 0}))}getModules(){return this.modules.asSet()}clone(){return new ConcatConfiguration(this.rootModule,this)}set(e){this.rootModule=e.rootModule;this.modules=e.modules;this.warnings=e.warnings}}e.exports=ModuleConcatenationPlugin},96669:e=>{"use strict";class NaturalChunkOrderPlugin{apply(e){e.hooks.compilation.tap("NaturalChunkOrderPlugin",e=>{e.hooks.optimizeChunkOrder.tap("NaturalChunkOrderPlugin",e=>{e.sort((e,t)=>{const n=e.modulesIterable[Symbol.iterator]();const r=t.modulesIterable[Symbol.iterator]();while(true){const e=n.next();const t=r.next();if(e.done&&t.done)return 0;if(e.done)return-1;if(t.done)return 1;const s=e.value.id;const i=t.value.id;if(si)return 1}})})})}}e.exports=NaturalChunkOrderPlugin},57615:(e,t,n)=>{"use strict";const r=n(33225);const s=n(88771);class OccurrenceOrderChunkIdsPlugin{constructor(e={}){r(s,e,"Occurrence Order Chunk Ids Plugin");this.options=e}apply(e){const t=this.options.prioritiseInitial;e.hooks.compilation.tap("OccurrenceOrderChunkIdsPlugin",e=>{e.hooks.optimizeChunkOrder.tap("OccurrenceOrderChunkIdsPlugin",e=>{const n=new Map;const r=new Map;let s=0;for(const t of e){let e=0;for(const n of t.groupsIterable){for(const t of n.parentsIterable){if(t.isInitial())e++}}n.set(t,e);r.set(t,s++)}e.sort((e,s)=>{if(t){const t=n.get(e);const r=n.get(s);if(t>r)return-1;if(to)return-1;if(i{"use strict";const r=n(33225);const s=n(81430);class OccurrenceOrderModuleIdsPlugin{constructor(e={}){r(s,e,"Occurrence Order Module Ids Plugin");this.options=e}apply(e){const t=this.options.prioritiseInitial;e.hooks.compilation.tap("OccurrenceOrderModuleIdsPlugin",e=>{e.hooks.optimizeModuleOrder.tap("OccurrenceOrderModuleIdsPlugin",e=>{const n=new Map;const r=new Map;const s=new Map;const i=new Map;for(const t of e){let e=0;let n=0;for(const r of t.chunksIterable){if(r.canBeInitial())e++;if(r.entryModule===t)n++}s.set(t,e);i.set(t,n)}const o=(e,t)=>{if(!t.module){return e}const n=s.get(t.module);if(!n){return e}return e+n};const a=(e,t)=>{if(!t.module){return e}let n=1;if(typeof t.dependency.getNumberOfIdOccurrences==="function"){n=t.dependency.getNumberOfIdOccurrences()}if(n===0){return e}return e+n*t.module.getNumberOfChunks()};if(t){for(const t of e){const e=t.reasons.reduce(o,0)+s.get(t)+i.get(t);n.set(t,e)}}const c=new Map;let l=0;for(const t of e){const e=t.reasons.reduce(a,0)+t.getNumberOfChunks()+i.get(t);r.set(t,e);c.set(t,l++)}e.sort((e,s)=>{if(t){const t=n.get(e);const r=n.get(s);if(t>r)return-1;if(to)return-1;if(i{"use strict";class OccurrenceOrderPlugin{constructor(e){if(e!==undefined&&typeof e!=="boolean"){throw new Error("Argument should be a boolean.\nFor more info on this plugin, see https://webpack.js.org/plugins/")}this.preferEntry=e}apply(e){const t=this.preferEntry;e.hooks.compilation.tap("OccurrenceOrderPlugin",e=>{e.hooks.optimizeModuleOrder.tap("OccurrenceOrderPlugin",e=>{const n=new Map;const r=new Map;const s=new Map;const i=new Map;for(const t of e){let e=0;let n=0;for(const r of t.chunksIterable){if(r.canBeInitial())e++;if(r.entryModule===t)n++}s.set(t,e);i.set(t,n)}const o=(e,t)=>{if(!t.module){return e}return e+s.get(t.module)};const a=(e,t)=>{if(!t.module){return e}let n=1;if(typeof t.dependency.getNumberOfIdOccurrences==="function"){n=t.dependency.getNumberOfIdOccurrences()}if(n===0){return e}return e+n*t.module.getNumberOfChunks()};if(t){for(const t of e){const e=t.reasons.reduce(o,0)+s.get(t)+i.get(t);n.set(t,e)}}const c=new Map;let l=0;for(const t of e){const e=t.reasons.reduce(a,0)+t.getNumberOfChunks()+i.get(t);r.set(t,e);c.set(t,l++)}e.sort((e,s)=>{if(t){const t=n.get(e);const r=n.get(s);if(t>r)return-1;if(to)return-1;if(i{const t=new Map;const n=new Map;let r=0;for(const s of e){let e=0;for(const t of s.groupsIterable){for(const n of t.parentsIterable){if(n.isInitial())e++}}t.set(s,e);n.set(s,r++)}e.sort((e,r)=>{const s=t.get(e);const i=t.get(r);if(s>i)return-1;if(sa)return-1;if(o{"use strict";class RemoveEmptyChunksPlugin{apply(e){e.hooks.compilation.tap("RemoveEmptyChunksPlugin",e=>{const t=e=>{for(let t=e.length-1;t>=0;t--){const n=e[t];if(n.isEmpty()&&!n.hasRuntime()&&!n.hasEntryModule()){n.remove("empty");e.splice(t,1)}}};e.hooks.optimizeChunksBasic.tap("RemoveEmptyChunksPlugin",t);e.hooks.optimizeChunksAdvanced.tap("RemoveEmptyChunksPlugin",t);e.hooks.optimizeExtractedChunksBasic.tap("RemoveEmptyChunksPlugin",t);e.hooks.optimizeExtractedChunksAdvanced.tap("RemoveEmptyChunksPlugin",t)})}}e.exports=RemoveEmptyChunksPlugin},62318:(e,t,n)=>{"use strict";const r=n(52141);const{intersect:s}=n(34791);const i=(e,t)=>{const n=[];const r=new Set(e.parentsIterable);for(const e of r){if(e.containsModule(t)){n.push(e)}else{for(const t of e.parentsIterable){r.add(t)}}}return n};class RemoveParentModulesPlugin{apply(e){e.hooks.compilation.tap("RemoveParentModulesPlugin",e=>{const t=(t,n)=>{const o=new r;const a=new WeakMap;for(const t of e.entrypoints.values()){a.set(t,new Set);for(const e of t.childrenIterable){o.enqueue(e)}}while(o.length>0){const e=o.dequeue();let t=a.get(e);let n=false;for(const r of e.parentsIterable){const s=a.get(r);if(s!==undefined){if(t===undefined){t=new Set(s);for(const e of r.chunks){for(const n of e.modulesIterable){t.add(n)}}a.set(e,t);n=true}else{for(const e of t){if(!r.containsModule(e)&&!s.has(e)){t.delete(e);n=true}}}}}if(n){for(const t of e.childrenIterable){o.enqueue(t)}}}for(const e of t){const t=Array.from(e.groupsIterable,e=>a.get(e));if(t.some(e=>e===undefined))continue;const n=t.length===1?t[0]:s(t);const r=e.getNumberOfModules();const o=new Set;if(r{"use strict";e.exports=class RuntimeChunkPlugin{constructor(e){this.options=Object.assign({name:e=>`runtime~${e.name}`},e)}apply(e){e.hooks.thisCompilation.tap("RuntimeChunkPlugin",e=>{e.hooks.optimizeChunksAdvanced.tap("RuntimeChunkPlugin",()=>{for(const t of e.entrypoints.values()){const n=t.getRuntimeChunk();let r=this.options.name;if(typeof r==="function"){r=r(t)}if(n.getNumberOfModules()>0||!n.preventIntegration||n.name!==r){const n=e.addChunk(r);n.preventIntegration=true;t.unshiftChunk(n);n.addGroup(t);t.setRuntimeChunk(n)}}})})}}},81020:(e,t,n)=>{"use strict";const r=n(39015);const s=n(31817);const i=n(48285);const o=n(57204);const a=(e,t)=>{const n=e.static.get(t);if(n!==undefined){if(n.length===1)return n[0];return undefined}const r=Array.from(e.dynamic).filter(([e,n])=>!n.has(t));if(r.length===1){return{module:r[0][0],exportName:t,checked:true}}return undefined};const c=(e,t,n,r,s)=>{let i=e.static.get(t);if(i!==undefined){for(const e of i){if(e.module===n&&e.exportName===r){e.checked=e.checked&&s;return}}}else{i=[];e.static.set(t,i)}i.push({module:n,exportName:r,checked:s})};const l=(e,t,n)=>{const r=e.dynamic.get(t);if(r!==undefined){for(const e of r){if(!n.has(e))r.delete(e)}}else{e.dynamic.set(t,new Set(n))}};class SideEffectsFlagPlugin{apply(e){e.hooks.normalModuleFactory.tap("SideEffectsFlagPlugin",e=>{e.hooks.module.tap("SideEffectsFlagPlugin",(e,t)=>{const n=t.resourceResolveData;if(n&&n.descriptionFileData&&n.relativePath){const t=n.descriptionFileData.sideEffects;const r=SideEffectsFlagPlugin.moduleHasSideEffects(n.relativePath,t);if(!r){e.factoryMeta.sideEffectFree=true}}return e});e.hooks.module.tap("SideEffectsFlagPlugin",(e,t)=>{if(t.settings.sideEffects===false){e.factoryMeta.sideEffectFree=true}else if(t.settings.sideEffects===true){e.factoryMeta.sideEffectFree=false}})});e.hooks.compilation.tap("SideEffectsFlagPlugin",e=>{e.hooks.optimizeDependencies.tap("SideEffectsFlagPlugin",e=>{const t=new Map;for(const n of e){const e=[];for(const r of n.dependencies){if(r instanceof i){if(r.module&&r.module.factoryMeta.sideEffectFree){e.push(r)}}else if(r instanceof s){if(n.factoryMeta.sideEffectFree){const e=r.getMode(true);if(e.type==="safe-reexport"||e.type==="checked-reexport"||e.type==="dynamic-reexport"||e.type==="reexport-non-harmony-default"||e.type==="reexport-non-harmony-default-strict"||e.type==="reexport-named-default"){let s=t.get(n);if(!s){t.set(n,s={static:new Map,dynamic:new Map})}const i=r._module;switch(e.type){case"safe-reexport":for(const[t,n]of e.map){if(n){c(s,t,i,n,false)}}break;case"checked-reexport":for(const[t,n]of e.map){if(n){c(s,t,i,n,true)}}break;case"dynamic-reexport":l(s,i,e.ignored);break;case"reexport-non-harmony-default":case"reexport-non-harmony-default-strict":case"reexport-named-default":c(s,e.name,i,"default",false);break}}}}}}for(const e of t.values()){const n=e.dynamic;e.dynamic=new Map;for(const r of n){let[n,s]=r;for(;;){const r=t.get(n);if(!r)break;for(const[t,n]of r.static){if(s.has(t))continue;for(const{module:r,exportName:s,checked:i}of n){c(e,t,r,s,i)}}if(r.dynamic.size!==1){break}s=new Set(s);for(const[t,i]of r.dynamic){for(const t of i){if(s.has(t))continue;c(e,t,n,t,true);s.add(t)}n=t}}l(e,n,s)}}for(const e of t.values()){const n=e.static;e.static=new Map;for(const[r,s]of n){for(let n of s){for(;;){const e=t.get(n.module);if(!e)break;const r=a(e,n.exportName);if(!r)break;n=r}c(e,r,n.module,n.exportName,n.checked)}}}for(const e of t){const t=e[0];const n=e[1];let r=undefined;for(let e=0;eSideEffectsFlagPlugin.moduleHasSideEffects(e,t))}}}e.exports=SideEffectsFlagPlugin},74081:(e,t,n)=>{"use strict";const r=n(76417);const s=n(33875);const i=n(43445);const{isSubset:o}=n(34791);const a=n(53746);const c=n(81446);const l=n(88540).contextify;const u=a;const f=e=>{return r.createHash("md4").update(e).digest("hex").slice(0,8)};const p=(e,t)=>{if(e.identifier()>t.identifier())return 1;if(e.identifier(){let t=0;for(const n of e.groupsIterable){t=Math.max(t,n.chunks.length)}return t};const h=e=>{let t=0;for(const n of e){t+=n.size()}return t};const m=(e,t)=>{for(const n of e){if(t.has(n))return true}return false};const y=(e,t)=>{const n=e.cacheGroup.priority-t.cacheGroup.priority;if(n)return n;const r=e.chunks.size-t.chunks.size;if(r)return r;const s=e.size*(e.chunks.size-1);const i=t.size*(t.chunks.size-1);const o=s-i;if(o)return o;const a=e.cacheGroupIndex-t.cacheGroupIndex;if(a)return a;const c=e.modules;const l=t.modules;const u=c.size-l.size;if(u)return u;c.sort();l.sort();const f=c[Symbol.iterator]();const p=l[Symbol.iterator]();while(true){const e=f.next();const t=p.next();if(e.done)return 0;const n=e.value.identifier();const r=t.value.identifier();if(n>r)return-1;if(ne-t;const v=e=>e.canBeInitial();const b=e=>!e.canBeInitial();const w=e=>true;e.exports=class SplitChunksPlugin{constructor(e){this.options=SplitChunksPlugin.normalizeOptions(e)}static normalizeOptions(e={}){return{chunksFilter:SplitChunksPlugin.normalizeChunksFilter(e.chunks||"all"),minSize:e.minSize||0,enforceSizeThreshold:e.enforceSizeThreshold||0,maxSize:e.maxSize||0,minChunks:e.minChunks||1,maxAsyncRequests:e.maxAsyncRequests||1,maxInitialRequests:e.maxInitialRequests||1,hidePathInfo:e.hidePathInfo||false,filename:e.filename||undefined,getCacheGroups:SplitChunksPlugin.normalizeCacheGroups({cacheGroups:e.cacheGroups,name:e.name,automaticNameDelimiter:e.automaticNameDelimiter,automaticNameMaxLength:e.automaticNameMaxLength}),automaticNameDelimiter:e.automaticNameDelimiter,automaticNameMaxLength:e.automaticNameMaxLength||109,fallbackCacheGroup:SplitChunksPlugin.normalizeFallbackCacheGroup(e.fallbackCacheGroup||{},e)}}static normalizeName({name:e,automaticNameDelimiter:t,automaticNamePrefix:n,automaticNameMaxLength:r}){if(e===true){const e=new WeakMap;const s=(s,i,o)=>{let a=e.get(i);if(a===undefined){a={};e.set(i,a)}else if(o in a){return a[o]}const c=i.map(e=>e.name);if(!c.every(Boolean)){a[o]=undefined;return}c.sort();const l=typeof n==="string"?n:o;const u=l?l+t:"";let p=u+c.join(t);if(p.length>r){const e=f(p);const n=r-(t.length+e.length);p=p.slice(0,n)+t+e}a[o]=p;return p};return s}if(typeof e==="string"){const t=()=>{return e};return t}if(typeof e==="function")return e}static normalizeChunksFilter(e){if(e==="initial"){return v}if(e==="async"){return b}if(e==="all"){return w}if(typeof e==="function")return e}static normalizeFallbackCacheGroup({minSize:e=undefined,maxSize:t=undefined,automaticNameDelimiter:n=undefined},{minSize:r=undefined,maxSize:s=undefined,automaticNameDelimiter:i=undefined}){return{minSize:typeof e==="number"?e:r||0,maxSize:typeof t==="number"?t:s||0,automaticNameDelimiter:n||i||"~"}}static normalizeCacheGroups({cacheGroups:e,name:t,automaticNameDelimiter:n,automaticNameMaxLength:r}){if(typeof e==="function"){if(e.length!==1){return t=>e(t,t.getChunks())}return e}if(e&&typeof e==="object"){const s=s=>{let i;for(const o of Object.keys(e)){let a=e[o];if(a===false)continue;if(a instanceof RegExp||typeof a==="string"){a={test:a}}if(typeof a==="function"){let e=a(s);if(e){if(i===undefined)i=[];for(const t of Array.isArray(e)?e:[e]){const e=Object.assign({key:o},t);if(e.name)e.getName=(()=>e.name);if(e.chunks){e.chunksFilter=SplitChunksPlugin.normalizeChunksFilter(e.chunks)}i.push(e)}}}else if(SplitChunksPlugin.checkTest(a.test,s)){if(i===undefined)i=[];i.push({key:o,priority:a.priority,getName:SplitChunksPlugin.normalizeName({name:a.name||t,automaticNameDelimiter:typeof a.automaticNameDelimiter==="string"?a.automaticNameDelimiter:n,automaticNamePrefix:a.automaticNamePrefix,automaticNameMaxLength:a.automaticNameMaxLength||r})||(()=>{}),chunksFilter:SplitChunksPlugin.normalizeChunksFilter(a.chunks),enforce:a.enforce,minSize:a.minSize,enforceSizeThreshold:a.enforceSizeThreshold,maxSize:a.maxSize,minChunks:a.minChunks,maxAsyncRequests:a.maxAsyncRequests,maxInitialRequests:a.maxInitialRequests,filename:a.filename,reuseExistingChunk:a.reuseExistingChunk})}}return i};return s}const s=()=>{};return s}static checkTest(e,t){if(e===undefined)return true;if(typeof e==="function"){if(e.length!==1){return e(t,t.getChunks())}return e(t)}if(typeof e==="boolean")return e;if(typeof e==="string"){if(t.nameForCondition&&t.nameForCondition().startsWith(e)){return true}for(const n of t.chunksIterable){if(n.name&&n.name.startsWith(e)){return true}}return false}if(e instanceof RegExp){if(t.nameForCondition&&e.test(t.nameForCondition())){return true}for(const n of t.chunksIterable){if(n.name&&e.test(n.name)){return true}}return false}return false}apply(e){e.hooks.thisCompilation.tap("SplitChunksPlugin",e=>{let t=false;e.hooks.unseal.tap("SplitChunksPlugin",()=>{t=false});e.hooks.optimizeChunksAdvanced.tap("SplitChunksPlugin",n=>{if(t)return;t=true;const r=new Map;let a=1;for(const e of n){r.set(e,a++)}const v=e=>{return Array.from(e,e=>r.get(e)).sort(g).join()};const b=new Map;for(const t of e.modules){const e=v(t.chunksIterable);if(!b.has(e)){b.set(e,new Set(t.chunksIterable))}}const w=new Map;for(const e of b.values()){const t=e.size;let n=w.get(t);if(n===undefined){n=[];w.set(t,n)}n.push(e)}const k=new Map;const x=e=>{const t=b.get(e);var n=[t];if(t.size>1){for(const[e,r]of w){if(e{let n=S.get(e);if(n===undefined){n=new WeakMap;S.set(e,n)}let r=n.get(t);if(r===undefined){const s=[];for(const n of e){if(t(n))s.push(n)}r={chunks:s,key:v(s)};n.set(t,r)}return r};const O=new Map;const C=(e,t,n,r,i)=>{if(n.length0,_conditionalEnforce:i>0};for(const e of r){if(e.size0){let t;let n;for(const e of O){const r=e[0];const s=e[1];if(n===undefined){n=s;t=r}else if(y(n,s)<0){n=s;t=r}}const r=n;O.delete(t);let s=r.name;let o;let a=false;if(r.cacheGroup.reuseExistingChunk){e:for(const e of r.chunks){if(e.getNumberOfModules()!==r.modules.size)continue;if(e.hasEntryModule())continue;for(const t of r.modules){if(!e.containsModule(t))continue e}if(!o||!o.name){o=e}else if(e.name&&e.name.length{return(!s||e.name!==s)&&e!==o});const l=r.cacheGroup._conditionalEnforce&&r.size>=r.cacheGroup.enforceSizeThreshold;if(c.length===0)continue;const u=new Set(c);if(!l&&(Number.isFinite(r.cacheGroup.maxInitialRequests)||Number.isFinite(r.cacheGroup.maxAsyncRequests))){for(const e of u){const t=e.isOnlyInitial()?r.cacheGroup.maxInitialRequests:e.canBeInitial()?Math.min(r.cacheGroup.maxInitialRequests,r.cacheGroup.maxAsyncRequests):r.cacheGroup.maxAsyncRequests;if(isFinite(t)&&d(e)>=t){u.delete(e)}}}e:for(const e of u){for(const t of r.modules){if(e.containsModule(t))continue e}u.delete(e)}if(u.size=r.cacheGroup.minChunks){const e=Array.from(u);for(const t of r.modules){C(r.cacheGroup,r.cacheGroupIndex,e,v(u),t)}}continue}if(!a){o=e.addChunk(s)}for(const e of u){e.split(o)}o.chunkReason=a?"reused as split chunk":"split chunk";if(r.cacheGroup.key){o.chunkReason+=` (cache group: ${r.cacheGroup.key})`}if(s){o.chunkReason+=` (name: ${s})`;const t=e.entrypoints.get(s);if(t){e.entrypoints.delete(s);t.remove();o.entryModule=undefined}}if(r.cacheGroup.filename){if(!o.isOnlyInitial()){throw new Error("SplitChunksPlugin: You are trying to set a filename for a chunk which is (also) loaded on demand. "+"The runtime can only handle loading of chunks which match the chunkFilename schema. "+"Using a custom filename would fail at runtime. "+`(cache group: ${r.cacheGroup.key})`)}o.filenameTemplate=r.cacheGroup.filename}if(!a){for(const e of r.modules){if(typeof e.chunkCondition==="function"){if(!e.chunkCondition(o))continue}i.connectChunkAndModule(o,e);for(const t of u){t.removeModule(e);e.rewriteChunkInReasons(t,[o])}}}else{for(const e of r.modules){for(const t of u){t.removeModule(e);e.rewriteChunkInReasons(t,[o])}}}if(r.cacheGroup.maxSize>0){const e=M.get(o);M.set(o,{minSize:Math.max(e?e.minSize:0,r.cacheGroup.minSizeForMaxSize),maxSize:Math.min(e?e.maxSize:Infinity,r.cacheGroup.maxSize),automaticNameDelimiter:r.cacheGroup.automaticNameDelimiter,keys:e?e.keys.concat(r.cacheGroup.key):[r.cacheGroup.key]})}for(const[e,t]of O){if(m(t.chunks,u)){const n=t.modules.size;for(const e of r.modules){t.modules.delete(e)}if(t.modules.size!==n){if(t.modules.size===0){O.delete(e);continue}t.size=h(t.modules);if(t.cacheGroup._validateSize&&t.sizer){const t=`${o&&o.join()} ${n} ${r}`;if(!A.has(t)){A.add(t);e.warnings.push(new c(o,n,r))}}const a=u({maxSize:Math.max(n,r),minSize:n,items:t.modulesIterable,getKey(t){const n=l(e.options.context,t.identifier());const r=t.nameForCondition?l(e.options.context,t.nameForCondition()):n.replace(/^.*!|\?[^?!]*$/g,"");const i=r+s+f(n);return i.replace(/[\\/?]/g,"_")},getSize(e){return e.size()}});a.sort((e,t)=>{if(e.keyt.key)return 1;return 0});for(let n=0;n100){c=c.slice(0,100)+s+f(c)}let l;if(n!==a.length-1){l=e.addChunk(c);t.split(l);l.chunkReason=t.chunkReason;for(const e of r.items){if(typeof e.chunkCondition==="function"){if(!e.chunkCondition(l))continue}i.connectChunkAndModule(l,e);t.removeModule(e);e.rewriteChunkInReasons(t,[l])}}else{l=t;t.name=c}}}})})}}},10952:(e,t,n)=>{"use strict";const r=n(1891);const s=n(93963);e.exports=class AssetsOverSizeLimitWarning extends r{constructor(e,t){const n=e.map(e=>`\n ${e.name} (${s.formatSize(e.size)})`).join("");super(`asset size limit: The following asset(s) exceed the recommended size limit (${s.formatSize(t)}).\nThis can impact web performance.\nAssets: ${n}`);this.name="AssetsOverSizeLimitWarning";this.assets=e;Error.captureStackTrace(this,this.constructor)}}},65537:(e,t,n)=>{"use strict";const r=n(1891);const s=n(93963);e.exports=class EntrypointsOverSizeLimitWarning extends r{constructor(e,t){const n=e.map(e=>`\n ${e.name} (${s.formatSize(e.size)})\n${e.files.map(e=>` ${e}`).join("\n")}`).join("");super(`entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (${s.formatSize(t)}). This can impact web performance.\nEntrypoints:${n}\n`);this.name="EntrypointsOverSizeLimitWarning";this.entrypoints=e;Error.captureStackTrace(this,this.constructor)}}},48749:(e,t,n)=>{"use strict";const r=n(1891);e.exports=class NoAsyncChunksWarning extends r{constructor(){super("webpack performance recommendations: \n"+"You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.\n"+"For more info visit https://webpack.js.org/guides/code-splitting/");this.name="NoAsyncChunksWarning";Error.captureStackTrace(this,this.constructor)}}},73495:(e,t,n)=>{"use strict";const r=n(65537);const s=n(10952);const i=n(48749);e.exports=class SizeLimitsPlugin{constructor(e){this.hints=e.hints;this.maxAssetSize=e.maxAssetSize;this.maxEntrypointSize=e.maxEntrypointSize;this.assetFilter=e.assetFilter}apply(e){const t=this.maxEntrypointSize;const n=this.maxAssetSize;const o=this.hints;const a=this.assetFilter||((e,t,n)=>!n.development);e.hooks.afterEmit.tap("SizeLimitsPlugin",e=>{const c=[];const l=t=>t.getFiles().reduce((t,n)=>{const r=e.getAsset(n);if(r&&a(r.name,r.source,r.info)&&r.source){return t+(r.info.size||r.source.size())}return t},0);const u=[];for(const{name:t,source:r,info:s}of e.getAssets()){if(!a(t,r,s)||!r){continue}const e=s.size||r.size();if(e>n){u.push({name:t,size:e});r.isOverSizeLimit=true}}const f=t=>{const n=e.getAsset(t);return n&&a(n.name,n.source,n.info)};const p=[];for(const[n,r]of e.entrypoints){const e=l(r);if(e>t){p.push({name:n,size:e,files:r.getFiles().filter(f)});r.isOverSizeLimit=true}}if(o){if(u.length>0){c.push(new s(u,n))}if(p.length>0){c.push(new r(p,t))}if(c.length>0){const t=e.chunks.filter(e=>!e.canBeInitial()).length>0;if(!t){c.push(new i)}if(o==="error"){e.errors.push(...c)}else{e.warnings.push(...c)}}}})}}},68340:(e,t,n)=>{"use strict";const r=n(33875);class LazyBucketSortedSet{constructor(e,t,...n){this._getKey=e;this._innerArgs=n;this._leaf=n.length<=1;this._keys=new r(undefined,t);this._map=new Map;this._unsortedItems=new Set;this.size=0}add(e){this.size++;this._unsortedItems.add(e)}_addInternal(e,t){let n=this._map.get(e);if(n===undefined){n=this._leaf?new r(undefined,this._innerArgs[0]):new LazyBucketSortedSet(...this._innerArgs);this._keys.add(e);this._map.set(e,n)}n.add(t)}delete(e){this.size--;if(this._unsortedItems.has(e)){this._unsortedItems.delete(e);return}const t=this._getKey(e);const n=this._map.get(t);n.delete(e);if(n.size===0){this._deleteKey(t)}}_deleteKey(e){this._keys.delete(e);this._map.delete(e)}popFirst(){if(this.size===0)return undefined;this.size--;if(this._unsortedItems.size>0){for(const e of this._unsortedItems){const t=this._getKey(e);this._addInternal(t,e)}this._unsortedItems.clear()}this._keys.sort();const e=this._keys.values().next().value;const t=this._map.get(e);if(this._leaf){const n=t;n.sort();const r=n.values().next().value;n.delete(r);if(n.size===0){this._deleteKey(e)}return r}else{const n=t;const r=n.popFirst();if(n.size===0){this._deleteKey(e)}return r}}startUpdate(e){if(this._unsortedItems.has(e)){return t=>{if(t){this._unsortedItems.delete(e);this.size--;return}}}const t=this._getKey(e);if(this._leaf){const n=this._map.get(t);return r=>{if(r){this.size--;n.delete(e);if(n.size===0){this._deleteKey(t)}return}const s=this._getKey(e);if(t===s){n.add(e)}else{n.delete(e);if(n.size===0){this._deleteKey(t)}this._addInternal(s,e)}}}else{const n=this._map.get(t);const r=n.startUpdate(e);return s=>{if(s){this.size--;r(true);if(n.size===0){this._deleteKey(t)}return}const i=this._getKey(e);if(t===i){r()}else{r(true);if(n.size===0){this._deleteKey(t)}this._addInternal(i,e)}}}}_appendIterators(e){if(this._unsortedItems.size>0)e.push(this._unsortedItems[Symbol.iterator]());for(const t of this._keys){const n=this._map.get(t);if(this._leaf){const t=n;const r=t[Symbol.iterator]();e.push(r)}else{const t=n;t._appendIterators(e)}}}[Symbol.iterator](){const e=[];this._appendIterators(e);e.reverse();let t=e.pop();return{next:()=>{const n=t.next();if(n.done){if(e.length===0)return n;t=e.pop();return t.next()}return n}}}}e.exports=LazyBucketSortedSet},52141:e=>{"use strict";class Queue{constructor(e){this.set=new Set(e);this.iterator=this.set[Symbol.iterator]()}get length(){return this.set.size}enqueue(e){this.set.add(e)}dequeue(){const e=this.iterator.next();if(e.done)return undefined;this.set.delete(e.value);return e.value}}e.exports=Queue},54796:e=>{"use strict";class Semaphore{constructor(e){this.available=e;this.waiters=[];this._continue=this._continue.bind(this)}acquire(e){if(this.available>0){this.available--;e()}else{this.waiters.push(e)}}release(){this.available++;if(this.waiters.length>0){process.nextTick(this._continue)}}_continue(){if(this.available>0){if(this.waiters.length>0){this.available--;const e=this.waiters.pop();e()}}}}e.exports=Semaphore},34791:(e,t)=>{"use strict";const n=e=>{if(e.length===0)return new Set;if(e.length===1)return new Set(e[0]);let t=Infinity;let n=-1;for(let r=0;r{if(e.size{"use strict";class SortableSet extends Set{constructor(e,t){super(e);this._sortFn=t;this._lastActiveSortFn=null;this._cache=undefined;this._cacheOrderIndependent=undefined}add(e){this._lastActiveSortFn=null;this._invalidateCache();this._invalidateOrderedCache();super.add(e);return this}delete(e){this._invalidateCache();this._invalidateOrderedCache();return super.delete(e)}clear(){this._invalidateCache();this._invalidateOrderedCache();return super.clear()}sortWith(e){if(this.size<=1||e===this._lastActiveSortFn){return}const t=Array.from(this).sort(e);super.clear();for(let e=0;e{"use strict";const r=n(31669);const s={};const i={};class StackedSetMap{constructor(e){this.stack=e===undefined?[]:e.slice();this.map=new Map;this.stack.push(this.map)}add(e){this.map.set(e,true)}set(e,t){this.map.set(e,t===undefined?i:t)}delete(e){if(this.stack.length>1){this.map.set(e,s)}else{this.map.delete(e)}}has(e){const t=this.map.get(e);if(t!==undefined)return t!==s;if(this.stack.length>1){for(var n=this.stack.length-2;n>=0;n--){const t=this.stack[n].get(e);if(t!==undefined){this.map.set(e,t);return t!==s}}this.map.set(e,s)}return false}get(e){const t=this.map.get(e);if(t!==undefined){return t===s||t===i?undefined:t}if(this.stack.length>1){for(var n=this.stack.length-2;n>=0;n--){const t=this.stack[n].get(e);if(t!==undefined){this.map.set(e,t);return t===s||t===i?undefined:t}}this.map.set(e,s)}return undefined}_compress(){if(this.stack.length===1)return;this.map=new Map;for(const e of this.stack){for(const t of e){if(t[1]===s){this.map.delete(t[0])}else{this.map.set(t[0],t[1])}}}this.stack=[this.map]}asArray(){this._compress();return Array.from(this.map.entries(),e=>e[0])}asSet(){return new Set(this.asArray())}asPairArray(){this._compress();return Array.from(this.map.entries(),e=>e[1]===i?[e[0],undefined]:e)}asMap(){return new Map(this.asPairArray())}get size(){this._compress();return this.map.size}createChild(){return new StackedSetMap(this.stack)}get length(){throw new Error("This is no longer an Array")}set length(e){throw new Error("This is no longer an Array")}}StackedSetMap.prototype.push=r.deprecate(function(e){this.add(e)},"This is no longer an Array: Use add instead.");e.exports=StackedSetMap},61233:(e,t)=>{"use strict";const n=new WeakMap;const r=(e,t)=>{let r=n.get(e);if(r===undefined){r=new WeakMap;n.set(e,r)}const i=r.get(t);if(i!==undefined)return i;const o=s(e,t);r.set(t,o);return o};const s=(e,t)=>{const n=Object.assign({},e);for(const e of Object.keys(t)){if(!(e in n)){n[e]=t[e];continue}const r=t[e];if(!Array.isArray(r)){n[e]=r;continue}const s=n[e];if(Array.isArray(s)){const t=[];for(const e of r){if(e==="..."){for(const e of s){t.push(e)}}else{t.push(e)}}n[e]=t}else{n[e]=r}}return n};t.cachedCleverMerge=r;t.cleverMerge=s},57442:(e,t,n)=>{"use strict";const r=n(21112);const s=1e3;class Hash{update(e,t){throw new r}digest(e){throw new r}}t.Hash=Hash;class BulkUpdateDecorator extends Hash{constructor(e){super();this.hash=e;this.buffer=""}update(e,t){if(t!==undefined||typeof e!=="string"||e.length>s){if(this.buffer.length>0){this.hash.update(this.buffer);this.buffer=""}this.hash.update(e,t)}else{this.buffer+=e;if(this.buffer.length>s){this.hash.update(this.buffer);this.buffer=""}}return this}digest(e){if(this.buffer.length>0){this.hash.update(this.buffer)}var t=this.hash.digest(e);return typeof t==="string"?t:t.toString()}}class DebugHash extends Hash{constructor(){super();this.string=""}update(e,t){if(typeof e!=="string")e=e.toString("utf-8");this.string+=e;return this}digest(e){return this.string.replace(/[^a-z0-9]+/gi,e=>Buffer.from(e).toString("hex"))}}e.exports=(e=>{if(typeof e==="function"){return new BulkUpdateDecorator(new e)}switch(e){case"debug":return new DebugHash;default:return new BulkUpdateDecorator(n(76417).createHash(e))}})},53746:e=>{"use strict";const t=(e,t)=>{const n=Math.min(e.length,t.length);let r=0;for(let s=0;s{const n=Math.min(e.length,t.length);let r="";for(let s=0;se+t.size,0);this.key=undefined}}e.exports=(({maxSize:e,minSize:r,items:s,getSize:i,getKey:o})=>{const a=[];const c=Array.from(s,e=>new Node(e,o(e),i(e)));const l=[];c.sort((e,t)=>{if(e.keyt.key)return 1;return 0});for(const t of c){if(t.size>=e){a.push(new Group([t],[]))}else{l.push(t)}}if(l.length>0){const n=[];for(let e=1;e0){const e=a.reduce((e,t)=>e.size>t.size?t:e);for(const t of s.nodes)e.nodes.push(t);e.nodes.sort((e,t)=>{if(e.keyt.key)return 1;return 0})}else{a.push(s)}}else{const t=[s];while(t.length){const n=t.pop();if(n.sizeo){a.push(n);continue}if(s<=o){let e=s-1;let t=n.similarities[e];for(let r=s;r<=o;r++){const s=n.similarities[r];if(s{if(e.nodes[0].keyt.nodes[0].key)return 1;return 0});for(let e=0;e{return{key:e.key,items:e.nodes.map(e=>e.item),size:e.size}})})},88540:(e,t,n)=>{"use strict";const r=n(85622);const s=(e,t)=>{if(t.startsWith("./")||t.startsWith("../"))return r.join(e,t);return t};const i=e=>{if(/^\/.*\/$/.test(e)){return false}return/^(?:[a-z]:\\|\/)/i.test(e)};const o=e=>e.replace(/\\/g,"/");const a=(e,t)=>{return t.split(/([|! ])/).map(t=>i(t)?o(r.relative(e,t)):t).join("")};t.makePathsRelative=((e,t,n)=>{if(!n)return a(e,t);const r=n.relativePaths||(n.relativePaths=new Map);let s;let i=r.get(e);if(i===undefined){r.set(e,i=new Map)}else{s=i.get(t)}if(s!==undefined){return s}else{const n=a(e,t);i.set(t,n);return n}});t.contextify=((e,t)=>{return t.split("!").map(t=>{const n=t.split("?",2);if(/^[a-zA-Z]:\\/.test(n[0])){n[0]=r.win32.relative(e,n[0]);if(!/^[a-zA-Z]:\\/.test(n[0])){n[0]=n[0].replace(/\\/g,"/")}}if(/^\//.test(n[0])){n[0]=r.posix.relative(e,n[0])}if(!/^(\.\.\/|\/|[a-zA-Z]:\\)/.test(n[0])){n[0]="./"+n[0]}return n.join("?")}).join("!")});const c=(e,t)=>{return t.split("!").map(t=>s(e,t)).join("!")};t.absolutify=c},83958:e=>{e.exports=function objectToMap(e){return new Map(Object.keys(e).map(t=>{const n=[t,e[t]];return n}))}},33003:(e,t,n)=>{"use strict";const r=n(11313);const s=new r({errorDataPath:"configuration",allErrors:true,verbose:true});n(73983)(s,["instanceof"]);n(43205)(s);const i=(e,t)=>{if(Array.isArray(t)){const n=t.map(t=>o(e,t));n.forEach((e,t)=>{const n=e=>{e.dataPath=`[${t}]${e.dataPath}`;if(e.children){e.children.forEach(n)}};e.forEach(n)});return n.reduce((e,t)=>{return e.concat(t)},[])}else{return o(e,t)}};const o=(e,t)=>{const n=s.compile(e);const r=n(t);return r?[]:a(n.errors)};const a=e=>{let t=[];for(const n of e){const e=n.dataPath;let r=[];t=t.filter(t=>{if(t.dataPath.includes(e)){if(t.children){r=r.concat(t.children.slice(0))}t.children=undefined;r.push(t);return false}return true});if(r.length){n.children=r}t.push(n)}return t};e.exports=i},48047:(e,t,n)=>{"use strict";const r=n(1891);e.exports=class UnsupportedWebAssemblyFeatureError extends r{constructor(e){super(e);this.name="UnsupportedWebAssemblyFeatureError";this.hideStack=true;Error.captureStackTrace(this,this.constructor)}}},1339:(e,t,n)=>{"use strict";const r=n(48047);class WasmFinalizeExportsPlugin{apply(e){e.hooks.compilation.tap("WasmFinalizeExportsPlugin",e=>{e.hooks.finishModules.tap("WasmFinalizeExportsPlugin",t=>{for(const n of t){if(n.type.startsWith("webassembly")===true){const t=n.buildMeta.jsIncompatibleExports;if(t===undefined){continue}for(const s of n.reasons){if(s.module.type.startsWith("webassembly")===false){const i=e.getDependencyReference(s.module,s.dependency);if(!i)continue;const o=i.importedNames;if(Array.isArray(o)){o.forEach(i=>{if(Object.prototype.hasOwnProperty.call(t,i)){const o=new r(`Export "${i}" with ${t[i]} can only be used for direct wasm to wasm dependencies`);o.module=n;o.origin=s.module;o.originLoc=s.dependency.loc;o.dependencies=[s.dependency];e.errors.push(o)}})}}}}}})})}}e.exports=WasmFinalizeExportsPlugin},39056:(e,t,n)=>{"use strict";const r=n(73720);const s=n(43599);const i=e=>{const t=e.getAllAsyncChunks();const n=[];for(const e of t){for(const t of e.modulesIterable){if(t.type.startsWith("webassembly")){n.push(t)}}}return n};const o=(e,t)=>{const n=new Map;const i=[];const o=s.getUsedDependencies(e,t);for(const e of o){const t=e.dependency;const s=t.module;const o=t.name;const a=s&&s.isUsed(o);const c=t.description;const l=t.onlyDirectImport;const u=e.module;const f=e.name;if(l){const e=`m${n.size}`;n.set(e,s.id);i.push({module:u,name:f,value:`${e}[${JSON.stringify(a)}]`})}else{const e=c.signature.params.map((e,t)=>"p"+t+e.valtype);const t=`installedModules[${JSON.stringify(s.id)}]`;const n=`${t}.exports[${JSON.stringify(a)}]`;i.push({module:u,name:f,value:r.asString([(s.type.startsWith("webassembly")?`${t} ? ${n} : `:"")+`function(${e}) {`,r.indent([`return ${n}(${e});`]),"}"])})}}let a;if(t){a=["return {",r.indent([i.map(e=>`${JSON.stringify(e.name)}: ${e.value}`).join(",\n")]),"};"]}else{const e=new Map;for(const t of i){let n=e.get(t.module);if(n===undefined){e.set(t.module,n=[])}n.push(t)}a=["return {",r.indent([Array.from(e,([e,t])=>{return r.asString([`${JSON.stringify(e)}: {`,r.indent([t.map(e=>`${JSON.stringify(e.name)}: ${e.value}`).join(",\n")]),"}"])}).join(",\n")]),"};"]}if(n.size===1){const t=Array.from(n.values())[0];const s=`installedWasmModules[${JSON.stringify(t)}]`;const i=Array.from(n.keys())[0];return r.asString([`${JSON.stringify(e.id)}: function() {`,r.indent([`return promiseResolve().then(function() { return ${s}; }).then(function(${i}) {`,r.indent(a),"});"]),"},"])}else if(n.size>0){const t=Array.from(n.values(),e=>`installedWasmModules[${JSON.stringify(e)}]`).join(", ");const s=Array.from(n.keys(),(e,t)=>`${e} = array[${t}]`).join(", ");return r.asString([`${JSON.stringify(e.id)}: function() {`,r.indent([`return promiseResolve().then(function() { return Promise.all([${t}]); }).then(function(array) {`,r.indent([`var ${s};`,...a]),"});"]),"},"])}else{return r.asString([`${JSON.stringify(e.id)}: function() {`,r.indent(a),"},"])}};class WasmMainTemplatePlugin{constructor({generateLoadBinaryCode:e,supportsStreaming:t,mangleImports:n}){this.generateLoadBinaryCode=e;this.supportsStreaming=t;this.mangleImports=n}apply(e){e.hooks.localVars.tap("WasmMainTemplatePlugin",(e,t)=>{const n=i(t);if(n.length===0)return e;const s=n.map(e=>{return o(e,this.mangleImports)});return r.asString([e,"","// object to store loaded and loading wasm modules","var installedWasmModules = {};","","function promiseResolve() { return Promise.resolve(); }","","var wasmImportObjects = {",r.indent(s),"};"])});e.hooks.requireEnsure.tap("WasmMainTemplatePlugin",(t,n,i)=>{const o=e.outputOptions.webassemblyModuleFilename;const a=n.getChunkModuleMaps(e=>e.type.startsWith("webassembly"));if(Object.keys(a.id).length===0)return t;const c=e.getAssetPath(JSON.stringify(o),{hash:`" + ${e.renderCurrentHashCode(i)} + "`,hashWithLength:t=>`" + ${e.renderCurrentHashCode(i,t)} + "`,module:{id:'" + wasmModuleId + "',hash:`" + ${JSON.stringify(a.hash)}[wasmModuleId] + "`,hashWithLength(e){const t=Object.create(null);for(const n of Object.keys(a.hash)){if(typeof a.hash[n]==="string"){t[n]=a.hash[n].substr(0,e)}}return`" + ${JSON.stringify(t)}[wasmModuleId] + "`}}});const l=e=>this.mangleImports?`{ ${JSON.stringify(s.MANGLED_MODULE)}: ${e} }`:e;return r.asString([t,"","// Fetch + compile chunk loading for webassembly","",`var wasmModules = ${JSON.stringify(a.id)}[chunkId] || [];`,"","wasmModules.forEach(function(wasmModuleId) {",r.indent(["var installedWasmModuleData = installedWasmModules[wasmModuleId];","",'// a Promise means "currently loading" or "already loaded".',"if(installedWasmModuleData)",r.indent(["promises.push(installedWasmModuleData);"]),"else {",r.indent([`var importObject = wasmImportObjects[wasmModuleId]();`,`var req = ${this.generateLoadBinaryCode(c)};`,"var promise;",this.supportsStreaming?r.asString(["if(importObject instanceof Promise && typeof WebAssembly.compileStreaming === 'function') {",r.indent(["promise = Promise.all([WebAssembly.compileStreaming(req), importObject]).then(function(items) {",r.indent([`return WebAssembly.instantiate(items[0], ${l("items[1]")});`]),"});"]),"} else if(typeof WebAssembly.instantiateStreaming === 'function') {",r.indent([`promise = WebAssembly.instantiateStreaming(req, ${l("importObject")});`])]):r.asString(["if(importObject instanceof Promise) {",r.indent(["var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });","promise = Promise.all([",r.indent(["bytesPromise.then(function(bytes) { return WebAssembly.compile(bytes); }),","importObject"]),"]).then(function(items) {",r.indent([`return WebAssembly.instantiate(items[0], ${l("items[1]")});`]),"});"])]),"} else {",r.indent(["var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });","promise = bytesPromise.then(function(bytes) {",r.indent([`return WebAssembly.instantiate(bytes, ${l("importObject")});`]),"});"]),"}","promises.push(installedWasmModules[wasmModuleId] = promise.then(function(res) {",r.indent([`return ${e.requireFn}.w[wasmModuleId] = (res.instance || res).exports;`]),"}));"]),"}"]),"});"])});e.hooks.requireExtensions.tap("WasmMainTemplatePlugin",(t,n)=>{if(!n.hasModuleInGraph(e=>e.type.startsWith("webassembly"))){return t}return r.asString([t,"","// object with all WebAssembly.instance exports",`${e.requireFn}.w = {};`])});e.hooks.hash.tap("WasmMainTemplatePlugin",e=>{e.update("WasmMainTemplatePlugin");e.update("2")})}}e.exports=WasmMainTemplatePlugin},53874:(e,t,n)=>{"use strict";const r=n(16212);const s=n(73720);const i=n(43599);const{RawSource:o}=n(50932);const{editWithAST:a,addWithAST:c}=n(87362);const{decode:l}=n(73726);const u=n(51826);const{moduleContextFromModuleAST:f}=n(62556);const p=n(75035);const d=(...e)=>{return e.reduce((e,t)=>{return n=>t(e(n))},e=>e)};const h=e=>t=>{return a(e.ast,t,{Start(e){e.remove()}})};const m=e=>{const t=[];u.traverse(e,{ModuleImport({node:e}){if(u.isGlobalType(e.descr)){t.push(e)}}});return t};const y=e=>{let t=0;u.traverse(e,{ModuleImport({node:e}){if(u.isFuncImportDescr(e.descr)){t++}}});return t};const g=e=>{const t=u.getSectionMetadata(e,"type");if(t===undefined){return u.indexLiteral(0)}return u.indexLiteral(t.vectorOfSize.value)};const v=(e,t)=>{const n=u.getSectionMetadata(e,"func");if(n===undefined){return u.indexLiteral(0+t)}const r=n.vectorOfSize.value;return u.indexLiteral(r+t)};const b=e=>{if(e.valtype[0]==="i"){return u.objectInstruction("const",e.valtype,[u.numberLiteralFromRaw(66)])}else if(e.valtype[0]==="f"){return u.objectInstruction("const",e.valtype,[u.floatLiteral(66,false,false,"66")])}else{throw new Error("unknown type: "+e.valtype)}};const w=e=>t=>{const n=e.additionalInitCode;const r=[];t=a(e.ast,t,{ModuleImport(e){if(u.isGlobalType(e.node.descr)){const t=e.node.descr;t.mutability="var";const n=[b(t),u.instruction("end")];r.push(u.global(t,n));e.remove()}},Global(e){const{node:t}=e;const[s]=t.init;if(s.id==="get_global"){t.globalType.mutability="var";const e=s.args[0];t.init=[b(t.globalType),u.instruction("end")];n.push(u.instruction("get_local",[e]),u.instruction("set_global",[u.indexLiteral(r.length)]))}r.push(t);e.remove()}});return c(e.ast,t,r)};const k=({ast:e,module:t,externalExports:n})=>r=>{return a(e,r,{ModuleExport(e){const r=n.has(e.node.name);if(r){e.remove();return}const s=t.isUsed(e.node.name);if(!s){e.remove();return}e.node.name=s}})};const x=({ast:e,usedDependencyMap:t})=>n=>{return a(e,n,{ModuleImport(e){const n=t.get(e.node.module+":"+e.node.name);if(n!==undefined){e.node.module=n.module;e.node.name=n.name}}})};const S=({ast:e,initFuncId:t,startAtFuncOffset:n,importedGlobals:r,additionalInitCode:s,nextFuncIndex:i,nextTypeIndex:o})=>a=>{const l=r.map(e=>{const t=u.identifier(`${e.module}.${e.name}`);return u.funcParam(e.descr.valtype,t)});const f=r.reduce((e,t,n)=>{const r=[u.indexLiteral(n)];const s=[u.instruction("get_local",r),u.instruction("set_global",r)];return[...e,...s]},[]);if(typeof n==="number"){f.push(u.callInstruction(u.numberLiteralFromRaw(n)))}for(const e of s){f.push(e)}f.push(u.instruction("end"));const p=[];const d=u.signature(l,p);const h=u.func(t,d,f);const m=u.typeInstruction(undefined,d);const y=u.indexInFuncSection(o);const g=u.moduleExport(t.value,u.moduleExportDescr("Func",i));return c(e,a,[h,g,y,m])};const E=(e,t)=>{const n=new Map;for(const r of i.getUsedDependencies(e,t)){const e=r.dependency;const t=e.request;const s=e.name;n.set(t+":"+s,r)}return n};class WebAssemblyGenerator extends r{constructor(e){super();this.options=e}generate(e,t,n,r){let i=e.originalSource().source();const a=u.identifier(Array.isArray(e.usedExports)?s.numberToIdentifer(e.usedExports.length):"__webpack_init__");const c=l(i,{ignoreDataSection:true,ignoreCodeSection:true,ignoreCustomNameSection:true});const b=f(c.body[0]);const O=m(c);const C=y(c);const M=b.getStart();const A=v(c,C);const I=g(c);const T=E(e,this.options.mangleImports);const R=new Set(e.dependencies.filter(e=>e instanceof p).map(e=>{const t=e;return t.exportName}));const j=[];const F=d(k({ast:c,module:e,externalExports:R}),h({ast:c}),w({ast:c,additionalInitCode:j}),x({ast:c,usedDependencyMap:T}),S({ast:c,initFuncId:a,importedGlobals:O,additionalInitCode:j,startAtFuncOffset:M,nextFuncIndex:A,nextTypeIndex:I}));const N=F(i);return new o(N)}}e.exports=WebAssemblyGenerator},42168:(e,t,n)=>{"use strict";const r=n(1891);const s=(e,t)=>{const n=[{head:e,message:e.readableIdentifier(t)}];const r=new Set;const s=new Set;const i=new Set;for(const e of n){const{head:o,message:a}=e;let c=true;const l=new Set;for(const e of o.reasons){const o=e.module;if(o){if(!o.getChunks().some(e=>e.canBeInitial()))continue;c=false;if(l.has(o))continue;l.add(o);const r=o.readableIdentifier(t);const u=e.explanation?` (${e.explanation})`:"";const f=`${r}${u} --\x3e ${a}`;if(i.has(o)){s.add(`... --\x3e ${f}`);continue}i.add(o);n.push({head:o,message:f})}else{c=false;const t=e.explanation?`(${e.explanation}) --\x3e ${a}`:a;r.add(t)}}if(c){r.add(a)}}for(const e of s){r.add(e)}return Array.from(r)};e.exports=class WebAssemblyInInitialChunkError extends r{constructor(e,t){const n=s(e,t);const r=`WebAssembly module is included in initial chunk.\nThis is not allowed, because WebAssembly download and compilation must happen asynchronous.\nAdd an async splitpoint (i. e. import()) somewhere between your entrypoint and the WebAssembly module:\n${n.map(e=>`* ${e}`).join("\n")}`;super(r);this.name="WebAssemblyInInitialChunkError";this.hideStack=true;this.module=e;Error.captureStackTrace(this,this.constructor)}}},87354:(e,t,n)=>{"use strict";const r=n(16212);const s=n(73720);const{RawSource:i}=n(50932);const o=n(40436);const a=n(75035);class WebAssemblyJavascriptGenerator extends r{generate(e,t,n,r){const c=Array.isArray(e.usedExports)?s.numberToIdentifer(e.usedExports.length):"__webpack_init__";let l=false;const u=new Map;const f=[];let p=0;for(const t of e.dependencies){const r=t;if(t.module){let i=u.get(t.module);if(i===undefined){u.set(t.module,i={importVar:`m${p}`,index:p,request:"userRequest"in r?r.userRequest:undefined,names:new Set,reexports:[]});p++}if(t instanceof o){i.names.add(t.name);if(t.description.type==="GlobalType"){const r=t.name;const s=t.module&&t.module.isUsed(r);if(t.module){if(s){f.push(n.exportFromImport({module:t.module,request:t.request,importVar:i.importVar,originModule:e,exportName:t.name,asiSafe:true,isCall:false,callContext:null}))}}}}if(t instanceof a){i.names.add(t.name);const r=e.isUsed(t.exportName);if(r){const o=`${e.exportsArgument}[${JSON.stringify(r)}]`;const a=s.asString([`${o} = ${n.exportFromImport({module:t.module,request:t.request,importVar:i.importVar,originModule:e,exportName:t.name,asiSafe:true,isCall:false,callContext:null})};`,`if(WebAssembly.Global) ${o} = `+`new WebAssembly.Global({ value: ${JSON.stringify(t.valueType)} }, ${o});`]);i.reexports.push(a);l=true}}}}const d=s.asString(Array.from(u,([e,{importVar:t,request:r,reexports:s}])=>{const i=n.importStatement({module:e,request:r,importVar:t,originModule:e});return i+s.join("\n")}));const h=new i(['"use strict";',"// Instantiate WebAssembly module","var wasmExports = __webpack_require__.w[module.i];",!Array.isArray(e.usedExports)?`__webpack_require__.r(${e.exportsArgument});`:"","// export exports from WebAssembly module",Array.isArray(e.usedExports)&&!l?`${e.moduleArgument}.exports = wasmExports;`:"for(var name in wasmExports) "+`if(name != ${JSON.stringify(c)}) `+`${e.exportsArgument}[name] = wasmExports[name];`,"// exec imports from WebAssembly module (for esm order)",d,"","// exec wasm module",`wasmExports[${JSON.stringify(c)}](${f.join(", ")})`].join("\n"));return h}}e.exports=WebAssemblyJavascriptGenerator},45125:(e,t,n)=>{"use strict";const r=n(16212);const s=n(75035);const i=n(40436);const o=n(42168);let a;let c;let l;class WebAssemblyModulesPlugin{constructor(e){this.options=e}apply(e){e.hooks.compilation.tap("WebAssemblyModulesPlugin",(e,{normalModuleFactory:t})=>{e.dependencyFactories.set(i,t);e.dependencyFactories.set(s,t);t.hooks.createParser.for("webassembly/experimental").tap("WebAssemblyModulesPlugin",()=>{if(l===undefined){l=n(65686)}return new l});t.hooks.createGenerator.for("webassembly/experimental").tap("WebAssemblyModulesPlugin",()=>{if(a===undefined){a=n(53874)}if(c===undefined){c=n(87354)}return r.byType({javascript:new c,webassembly:new a(this.options)})});e.chunkTemplate.hooks.renderManifest.tap("WebAssemblyModulesPlugin",(e,t)=>{const n=t.chunk;const r=t.outputOptions;const s=t.moduleTemplates;const i=t.dependencyTemplates;for(const t of n.modulesIterable){if(t.type&&t.type.startsWith("webassembly")){const n=r.webassemblyModuleFilename;e.push({render:()=>this.renderWebAssembly(t,s.webassembly,i),filenameTemplate:n,pathOptions:{module:t},identifier:`webassemblyModule${t.id}`,hash:t.hash})}}return e});e.hooks.afterChunks.tap("WebAssemblyModulesPlugin",()=>{const t=new Set;for(const n of e.chunks){if(n.canBeInitial()){for(const e of n.modulesIterable){if(e.type.startsWith("webassembly")){t.add(e)}}}}for(const n of t){e.errors.push(new o(n,e.requestShortener))}})})}renderWebAssembly(e,t,n){return t.render(e,n,{})}}e.exports=WebAssemblyModulesPlugin},65686:(e,t,n)=>{"use strict";const r=n(51826);const{decode:s}=n(73726);const{moduleContextFromModuleAST:i}=n(62556);const{Tapable:o}=n(41242);const a=n(40436);const c=n(75035);const l=new Set(["i32","f32","f64"]);const u=e=>{for(const t of e.params){if(!l.has(t.valtype)){return`${t.valtype} as parameter`}}for(const t of e.results){if(!l.has(t))return`${t} as result`}return null};const f=e=>{for(const t of e.args){if(!l.has(t)){return`${t} as parameter`}}for(const t of e.result){if(!l.has(t))return`${t} as result`}return null};const p={ignoreCodeSection:true,ignoreDataSection:true,ignoreCustomNameSection:true};class WebAssemblyParser extends o{constructor(e){super();this.hooks={};this.options=e}parse(e,t){t.module.buildMeta.exportsType="namespace";const n=s(e,p);const o=n.body[0];const d=i(o);const h=t.module.buildMeta.providedExports=[];const m=t.module.buildMeta.jsIncompatibleExports=[];const y=[];r.traverse(o,{ModuleExport({node:e}){const n=e.descr;if(n.exportType==="Func"){const t=n.id.value;const r=d.getFunction(t);const s=f(r);if(s){m[e.name]=s}}h.push(e.name);if(e.descr&&e.descr.exportType==="Global"){const n=y[e.descr.id.value];if(n){const r=new c(e.name,n.module,n.name,n.descr.valtype);t.module.addDependency(r)}}},Global({node:e}){const t=e.init[0];let n=null;if(t.id==="get_global"){const e=t.args[0].value;if(e{"use strict";const r=n(73720);const s=n(40436);const i="a";const o=(e,t)=>{const n=[];let o=0;for(const a of e.dependencies){if(a instanceof s){if(a.description.type==="GlobalType"||a.module===null){continue}const e=a.name;if(t){n.push({dependency:a,name:r.numberToIdentifer(o++),module:i})}else{n.push({dependency:a,name:e,module:a.request})}}}return n};t.getUsedDependencies=o;t.MANGLED_MODULE=i},15298:(e,t,n)=>{"use strict";const r=n(39056);class FetchCompileWasmTemplatePlugin{constructor(e){this.options=e||{}}apply(e){e.hooks.thisCompilation.tap("FetchCompileWasmTemplatePlugin",e=>{const t=e.mainTemplate;const n=e=>`fetch(${t.requireFn}.p + ${e})`;const s=new r(Object.assign({generateLoadBinaryCode:n,supportsStreaming:true},this.options));s.apply(t)})}}e.exports=FetchCompileWasmTemplatePlugin},26063:(e,t,n)=>{"use strict";const{ConcatSource:r}=n(50932);const s=e=>{return[e.entryModule].filter(Boolean).map(t=>[t.id].concat(Array.from(e.groupsIterable)[0].chunks.filter(t=>t!==e).map(e=>e.id)))};class JsonpChunkTemplatePlugin{apply(e){e.hooks.render.tap("JsonpChunkTemplatePlugin",(t,n)=>{const i=e.outputOptions.jsonpFunction;const o=e.outputOptions.globalObject;const a=new r;const c=n.getChildIdsByOrders().prefetch;a.add(`(${o}[${JSON.stringify(i)}] = ${o}[${JSON.stringify(i)}] || []).push([${JSON.stringify(n.ids)},`);a.add(t);const l=s(n);if(l.length>0){a.add(`,${JSON.stringify(l)}`)}else if(c&&c.length){a.add(`,0`)}if(c&&c.length){a.add(`,${JSON.stringify(c)}`)}a.add("])");return a});e.hooks.hash.tap("JsonpChunkTemplatePlugin",t=>{t.update("JsonpChunkTemplatePlugin");t.update("4");t.update(`${e.outputOptions.jsonpFunction}`);t.update(`${e.outputOptions.globalObject}`)});e.hooks.hashForChunk.tap("JsonpChunkTemplatePlugin",(e,t)=>{e.update(JSON.stringify(s(t)));e.update(JSON.stringify(t.getChildIdsByOrders().prefetch)||"")})}}e.exports=JsonpChunkTemplatePlugin},43760:(e,t,n)=>{"use strict";const{ConcatSource:r}=n(50932);class JsonpExportMainTemplatePlugin{constructor(e){this.name=e}apply(e){const{mainTemplate:t,chunkTemplate:n}=e;const s=(e,n,s)=>{const i=t.getAssetPath(this.name||"",{hash:s,chunk:n});return new r(`${i}(`,e,");")};for(const e of[t,n]){e.hooks.renderWithEntry.tap("JsonpExportMainTemplatePlugin",s)}t.hooks.globalHashPaths.tap("JsonpExportMainTemplatePlugin",e=>{if(this.name)e.push(this.name);return e});t.hooks.hash.tap("JsonpExportMainTemplatePlugin",e=>{e.update("jsonp export");e.update(`${this.name}`)})}}e.exports=JsonpExportMainTemplatePlugin},60226:(e,t,n)=>{"use strict";const{ConcatSource:r}=n(50932);class JsonpHotUpdateChunkTemplatePlugin{apply(e){e.hooks.render.tap("JsonpHotUpdateChunkTemplatePlugin",(t,n,s,i,o)=>{const a=new r;a.add(`${e.outputOptions.hotUpdateFunction}(${JSON.stringify(o)},`);a.add(t);a.add(")");return a});e.hooks.hash.tap("JsonpHotUpdateChunkTemplatePlugin",t=>{t.update("JsonpHotUpdateChunkTemplatePlugin");t.update("3");t.update(`${e.outputOptions.hotUpdateFunction}`);t.update(`${e.outputOptions.library}`)})}}e.exports=JsonpHotUpdateChunkTemplatePlugin},15902:e=>{var t=undefined;var n=undefined;var r=undefined;var s=undefined;var i=undefined;var o=undefined;e.exports=function(){function webpackHotUpdateCallback(e,r){t(e,r);if(n)n(e,r)}function hotDownloadUpdateChunk(e){var t=document.createElement("script");t.charset="utf-8";t.src=r.p+i;if(o)t.crossOrigin=o;document.head.appendChild(t)}function hotDownloadManifest(e){e=e||1e4;return new Promise(function(t,n){if(typeof XMLHttpRequest==="undefined"){return n(new Error("No browser support"))}try{var i=new XMLHttpRequest;var o=r.p+s;i.open("GET",o,true);i.timeout=e;i.send(null)}catch(e){return n(e)}i.onreadystatechange=function(){if(i.readyState!==4)return;if(i.status===0){n(new Error("Manifest request to "+o+" timed out."))}else if(i.status===404){t()}else if(i.status!==200&&i.status!==304){n(new Error("Manifest request to "+o+" failed."))}else{try{var e=JSON.parse(i.responseText)}catch(e){n(e);return}t(e)}}})}}},53165:(e,t,n)=>{"use strict";const{SyncWaterfallHook:r}=n(41242);const s=n(73720);class JsonpMainTemplatePlugin{apply(e){const t=e=>{for(const t of e.groupsIterable){if(t.getNumberOfChildren()>0)return true}return false};const i=e=>{for(const t of e.groupsIterable){if(t.chunks.length>1)return true;if(t.getNumberOfChildren()>0)return true}return false};const o=e=>{for(const t of e.groupsIterable){if(t.chunks.length>1)return true}return false};const a=e=>{const t=e.getChildIdsByOrdersMap(true).prefetch;return t&&Object.keys(t).length};["jsonpScript","linkPreload","linkPrefetch"].forEach(t=>{if(!e.hooks[t]){e.hooks[t]=new r(["source","chunk","hash"])}});const c=(t,n,r)=>{const s=e.outputOptions.chunkFilename;const i=n.getChunkMaps();return e.getAssetPath(JSON.stringify(s),{hash:`" + ${e.renderCurrentHashCode(t)} + "`,hashWithLength:n=>`" + ${e.renderCurrentHashCode(t,n)} + "`,chunk:{id:`" + ${r} + "`,hash:`" + ${JSON.stringify(i.hash)}[${r}] + "`,hashWithLength(e){const t=Object.create(null);for(const n of Object.keys(i.hash)){if(typeof i.hash[n]==="string"){t[n]=i.hash[n].substr(0,e)}}return`" + ${JSON.stringify(t)}[${r}] + "`},name:`" + (${JSON.stringify(i.name)}[${r}]||${r}) + "`,contentHash:{javascript:`" + ${JSON.stringify(i.contentHash.javascript)}[${r}] + "`},contentHashWithLength:{javascript:e=>{const t={};const n=i.contentHash.javascript;for(const r of Object.keys(n)){if(typeof n[r]==="string"){t[r]=n[r].substr(0,e)}}return`" + ${JSON.stringify(t)}[${r}] + "`}}},contentHashType:"javascript"})};e.hooks.localVars.tap("JsonpMainTemplatePlugin",(n,r,l)=>{const u=[];if(i(r)){u.push("","// object to store loaded and loading chunks","// undefined = chunk not loaded, null = chunk preloaded/prefetched","// Promise = chunk loading, 0 = chunk loaded","var installedChunks = {",s.indent(r.ids.map(e=>`${JSON.stringify(e)}: 0`).join(",\n")),"};","",o(r)?a(r)?"var deferredModules = [], deferredPrefetch = [];":"var deferredModules = [];":"")}if(t(r)){u.push("","// script path function","function jsonpScriptSrc(chunkId) {",s.indent([`return ${e.requireFn}.p + ${c(l,r,"chunkId")}`]),"}")}if(u.length===0)return n;return s.asString([n,...u])});e.hooks.jsonpScript.tap("JsonpMainTemplatePlugin",(t,n,r)=>{const i=e.outputOptions.crossOriginLoading;const o=e.outputOptions.chunkLoadTimeout;const a=e.outputOptions.jsonpScriptType;return s.asString(["var script = document.createElement('script');","var onScriptComplete;",a?`script.type = ${JSON.stringify(a)};`:"","script.charset = 'utf-8';",`script.timeout = ${o/1e3};`,`if (${e.requireFn}.nc) {`,s.indent(`script.setAttribute("nonce", ${e.requireFn}.nc);`),"}","script.src = jsonpScriptSrc(chunkId);",i?s.asString(["if (script.src.indexOf(window.location.origin + '/') !== 0) {",s.indent(`script.crossOrigin = ${JSON.stringify(i)};`),"}"]):"","// create error before stack unwound to get useful stacktrace later","var error = new Error();","onScriptComplete = function (event) {",s.indent(["// avoid mem leaks in IE.","script.onerror = script.onload = null;","clearTimeout(timeout);","var chunk = installedChunks[chunkId];","if(chunk !== 0) {",s.indent(["if(chunk) {",s.indent(["var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","error.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';","error.name = 'ChunkLoadError';","error.type = errorType;","error.request = realSrc;","chunk[1](error);"]),"}","installedChunks[chunkId] = undefined;"]),"}"]),"};","var timeout = setTimeout(function(){",s.indent(["onScriptComplete({ type: 'timeout', target: script });"]),`}, ${o});`,"script.onerror = script.onload = onScriptComplete;"])});e.hooks.linkPreload.tap("JsonpMainTemplatePlugin",(t,n,r)=>{const i=e.outputOptions.crossOriginLoading;const o=e.outputOptions.jsonpScriptType;return s.asString(["var link = document.createElement('link');",o?`link.type = ${JSON.stringify(o)};`:"","link.charset = 'utf-8';",`if (${e.requireFn}.nc) {`,s.indent(`link.setAttribute("nonce", ${e.requireFn}.nc);`),"}",'link.rel = "preload";','link.as = "script";',"link.href = jsonpScriptSrc(chunkId);",i?s.asString(["if (link.href.indexOf(window.location.origin + '/') !== 0) {",s.indent(`link.crossOrigin = ${JSON.stringify(i)};`),"}"]):""])});e.hooks.linkPrefetch.tap("JsonpMainTemplatePlugin",(t,n,r)=>{const i=e.outputOptions.crossOriginLoading;return s.asString(["var link = document.createElement('link');",i?`link.crossOrigin = ${JSON.stringify(i)};`:"",`if (${e.requireFn}.nc) {`,s.indent(`link.setAttribute("nonce", ${e.requireFn}.nc);`),"}",'link.rel = "prefetch";','link.as = "script";',"link.href = jsonpScriptSrc(chunkId);"])});e.hooks.requireEnsure.tap("JsonpMainTemplatePlugin load",(t,n,r)=>{return s.asString([t,"","// JSONP chunk loading for javascript","","var installedChunkData = installedChunks[chunkId];",'if(installedChunkData !== 0) { // 0 means "already installed".',s.indent(["",'// a Promise means "currently loading".',"if(installedChunkData) {",s.indent(["promises.push(installedChunkData[2]);"]),"} else {",s.indent(["// setup Promise in chunk cache","var promise = new Promise(function(resolve, reject) {",s.indent(["installedChunkData = installedChunks[chunkId] = [resolve, reject];"]),"});","promises.push(installedChunkData[2] = promise);","","// start chunk loading",e.hooks.jsonpScript.call("",n,r),"document.head.appendChild(script);"]),"}"]),"}"])});e.hooks.requireEnsure.tap({name:"JsonpMainTemplatePlugin preload",stage:10},(t,n,r)=>{const i=n.getChildIdsByOrdersMap().preload;if(!i||Object.keys(i).length===0)return t;return s.asString([t,"","// chunk preloadng for javascript","",`var chunkPreloadMap = ${JSON.stringify(i,null,"\t")};`,"","var chunkPreloadData = chunkPreloadMap[chunkId];","if(chunkPreloadData) {",s.indent(["chunkPreloadData.forEach(function(chunkId) {",s.indent(["if(installedChunks[chunkId] === undefined) {",s.indent(["installedChunks[chunkId] = null;",e.hooks.linkPreload.call("",n,r),"document.head.appendChild(link);"]),"}"]),"});"]),"}"])});e.hooks.requireExtensions.tap("JsonpMainTemplatePlugin",(n,r)=>{if(!t(r))return n;return s.asString([n,"","// on error function for async loading",`${e.requireFn}.oe = function(err) { console.error(err); throw err; };`])});e.hooks.bootstrap.tap("JsonpMainTemplatePlugin",(t,n,r)=>{if(i(n)){const i=o(n);const c=a(n);return s.asString([t,"","// install a JSONP callback for chunk loading","function webpackJsonpCallback(data) {",s.indent(["var chunkIds = data[0];","var moreModules = data[1];",i?"var executeModules = data[2];":"",c?"var prefetchChunks = data[3] || [];":"",'// add "moreModules" to the modules object,','// then flag all "chunkIds" as loaded and fire callback',"var moduleId, chunkId, i = 0, resolves = [];","for(;i < chunkIds.length; i++) {",s.indent(["chunkId = chunkIds[i];","if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {",s.indent("resolves.push(installedChunks[chunkId][0]);"),"}","installedChunks[chunkId] = 0;"]),"}","for(moduleId in moreModules) {",s.indent(["if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {",s.indent(e.renderAddModule(r,n,"moduleId","moreModules[moduleId]")),"}"]),"}","if(parentJsonpFunction) parentJsonpFunction(data);",c?i?"deferredPrefetch.push.apply(deferredPrefetch, prefetchChunks);":s.asString(["// chunk prefetching for javascript","prefetchChunks.forEach(function(chunkId) {",s.indent(["if(installedChunks[chunkId] === undefined) {",s.indent(["installedChunks[chunkId] = null;",e.hooks.linkPrefetch.call("",n,r),"document.head.appendChild(link);"]),"}"]),"});"]):"","while(resolves.length) {",s.indent("resolves.shift()();"),"}",i?s.asString(["","// add entry modules from loaded chunk to deferred list","deferredModules.push.apply(deferredModules, executeModules || []);","","// run deferred modules when all chunks ready","return checkDeferredModules();"]):""]),"};",i?s.asString(["function checkDeferredModules() {",s.indent(["var result;","for(var i = 0; i < deferredModules.length; i++) {",s.indent(["var deferredModule = deferredModules[i];","var fulfilled = true;","for(var j = 1; j < deferredModule.length; j++) {",s.indent(["var depId = deferredModule[j];","if(installedChunks[depId] !== 0) fulfilled = false;"]),"}","if(fulfilled) {",s.indent(["deferredModules.splice(i--, 1);","result = "+e.requireFn+"("+e.requireFn+".s = deferredModule[0]);"]),"}"]),"}",c?s.asString(["if(deferredModules.length === 0) {",s.indent(["// chunk prefetching for javascript","deferredPrefetch.forEach(function(chunkId) {",s.indent(["if(installedChunks[chunkId] === undefined) {",s.indent(["installedChunks[chunkId] = null;",e.hooks.linkPrefetch.call("",n,r),"document.head.appendChild(link);"]),"}"]),"});","deferredPrefetch.length = 0;"]),"}"]):"","return result;"]),"}"]):""])}return t});e.hooks.beforeStartup.tap("JsonpMainTemplatePlugin",(t,n,r)=>{if(i(n)){var o=e.outputOptions.jsonpFunction;var a=e.outputOptions.globalObject;return s.asString([`var jsonpArray = ${a}[${JSON.stringify(o)}] = ${a}[${JSON.stringify(o)}] || [];`,"var oldJsonpFunction = jsonpArray.push.bind(jsonpArray);","jsonpArray.push = webpackJsonpCallback;","jsonpArray = jsonpArray.slice();","for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);","var parentJsonpFunction = oldJsonpFunction;","",t])}return t});e.hooks.afterStartup.tap("JsonpMainTemplatePlugin",(e,t,n)=>{const r=t.getChildIdsByOrders().prefetch;if(i(t)&&r&&r.length){return s.asString([e,`webpackJsonpCallback([[], {}, 0, ${JSON.stringify(r)}]);`])}return e});e.hooks.startup.tap("JsonpMainTemplatePlugin",(e,t,n)=>{if(o(t)){if(t.hasEntryModule()){const e=[t.entryModule].filter(Boolean).map(e=>[e.id].concat(Array.from(t.groupsIterable)[0].chunks.filter(e=>e!==t).map(e=>e.id)));return s.asString(["// add entry module to deferred list",`deferredModules.push(${e.map(e=>JSON.stringify(e)).join(", ")});`,"// run deferred modules when ready","return checkDeferredModules();"])}else{return s.asString(["// run deferred modules from other chunks","checkDeferredModules();"])}}return e});e.hooks.hotBootstrap.tap("JsonpMainTemplatePlugin",(t,r,i)=>{const o=e.outputOptions.globalObject;const a=e.outputOptions.hotUpdateChunkFilename;const c=e.outputOptions.hotUpdateMainFilename;const l=e.outputOptions.crossOriginLoading;const u=e.outputOptions.hotUpdateFunction;const f=e.getAssetPath(JSON.stringify(a),{hash:`" + ${e.renderCurrentHashCode(i)} + "`,hashWithLength:t=>`" + ${e.renderCurrentHashCode(i,t)} + "`,chunk:{id:'" + chunkId + "'}});const p=e.getAssetPath(JSON.stringify(c),{hash:`" + ${e.renderCurrentHashCode(i)} + "`,hashWithLength:t=>`" + ${e.renderCurrentHashCode(i,t)} + "`});const d=s.getFunctionContent(n(15902)).replace(/\/\/\$semicolon/g,";").replace(/\$require\$/g,e.requireFn).replace(/\$crossOriginLoading\$/g,l?JSON.stringify(l):"null").replace(/\$hotMainFilename\$/g,p).replace(/\$hotChunkFilename\$/g,f).replace(/\$hash\$/g,JSON.stringify(i));return`${t}\nfunction hotDisposeChunk(chunkId) {\n\tdelete installedChunks[chunkId];\n}\nvar parentHotUpdateCallback = ${o}[${JSON.stringify(u)}];\n${o}[${JSON.stringify(u)}] = ${d}`});e.hooks.hash.tap("JsonpMainTemplatePlugin",e=>{e.update("jsonp");e.update("6")})}}e.exports=JsonpMainTemplatePlugin},5742:(e,t,n)=>{"use strict";const r=n(53165);const s=n(26063);const i=n(60226);class JsonpTemplatePlugin{apply(e){e.hooks.thisCompilation.tap("JsonpTemplatePlugin",e=>{(new r).apply(e.mainTemplate);(new s).apply(e.chunkTemplate);(new i).apply(e.hotUpdateChunkTemplate)})}}e.exports=JsonpTemplatePlugin},46243:function(e,t,n){"use strict";const r=n(74809);const s=n(66417);const i=n(59862);const o=n(54721);const a=n(65438);const c=n(33003);const l=n(398);const u=n(37863);const f=n(11605);const p=n(71618).i8;const d=(e,t)=>{const n=c(u,e);if(n.length){throw new l(n)}let f;if(Array.isArray(e)){f=new s(Array.from(e).map(e=>d(e)))}else if(typeof e==="object"){e=(new a).process(e);f=new r(e.context);f.options=e;new i({infrastructureLogging:e.infrastructureLogging}).apply(f);if(e.plugins&&Array.isArray(e.plugins)){for(const t of e.plugins){if(typeof t==="function"){t.call(f,f)}else{t.apply(f)}}}f.hooks.environment.call();f.hooks.afterEnvironment.call();f.options=(new o).process(e,f)}else{throw new Error("Invalid argument: options")}if(t){if(typeof t!=="function"){throw new Error("Invalid argument: callback")}if(e.watch===true||Array.isArray(e)&&e.some(e=>e.watch)){const n=Array.isArray(e)?e.map(e=>e.watchOptions||{}):e.watchOptions||{};return f.watch(n,t)}f.run(t)}return f};t=e.exports=d;t.version=p;d.WebpackOptionsDefaulter=a;d.WebpackOptionsApply=o;d.Compiler=r;d.MultiCompiler=s;d.NodeEnvironmentPlugin=i;d.validate=c.bind(this,u);d.validateSchema=c;d.WebpackOptionsValidationError=l;const h=(e,t)=>{for(const n of Object.keys(t)){Object.defineProperty(e,n,{configurable:false,enumerable:true,get:t[n]})}};h(t,{AutomaticPrefetchPlugin:()=>n(32955),BannerPlugin:()=>n(11696),CachePlugin:()=>n(13053),ContextExclusionPlugin:()=>n(87265),ContextReplacementPlugin:()=>n(90256),DefinePlugin:()=>n(88300),Dependency:()=>n(29821),DllPlugin:()=>n(7846),DllReferencePlugin:()=>n(35288),EnvironmentPlugin:()=>n(75626),EvalDevToolModulePlugin:()=>n(78332),EvalSourceMapDevToolPlugin:()=>n(73802),ExtendedAPIPlugin:()=>n(41170),ExternalsPlugin:()=>n(2170),HashedModuleIdsPlugin:()=>n(90640),HotModuleReplacementPlugin:()=>n(88230),IgnorePlugin:()=>n(40922),LibraryTemplatePlugin:()=>n(6081),LoaderOptionsPlugin:()=>n(39062),LoaderTargetPlugin:()=>n(64951),MemoryOutputFileSystem:()=>n(15761),Module:()=>n(3285),ModuleFilenameHelpers:()=>n(74491),NamedChunksPlugin:()=>n(76965),NamedModulesPlugin:()=>n(85449),NoEmitOnErrorsPlugin:()=>n(19282),NormalModuleReplacementPlugin:()=>n(34057),PrefetchPlugin:()=>n(72158),ProgressPlugin:()=>n(57743),ProvidePlugin:()=>n(605),SetVarMainTemplatePlugin:()=>n(75474),SingleEntryPlugin:()=>n(45693),SourceMapDevToolPlugin:()=>n(79202),Stats:()=>n(45096),Template:()=>n(73720),UmdMainTemplatePlugin:()=>n(53978),WatchIgnorePlugin:()=>n(57128)});h(t.dependencies={},{DependencyReference:()=>n(49440)});h(t.optimize={},{AggressiveMergingPlugin:()=>n(17211),AggressiveSplittingPlugin:()=>n(57721),ChunkModuleIdRangePlugin:()=>n(95702),LimitChunkCountPlugin:()=>n(14666),MinChunkSizePlugin:()=>n(75400),ModuleConcatenationPlugin:()=>n(44554),OccurrenceOrderPlugin:()=>n(53893),OccurrenceModuleOrderPlugin:()=>n(47222),OccurrenceChunkOrderPlugin:()=>n(57615),RuntimeChunkPlugin:()=>n(15094),SideEffectsFlagPlugin:()=>n(81020),SplitChunksPlugin:()=>n(74081)});h(t.web={},{FetchCompileWasmTemplatePlugin:()=>n(15298),JsonpTemplatePlugin:()=>n(5742)});h(t.webworker={},{WebWorkerTemplatePlugin:()=>n(46386)});h(t.node={},{NodeTemplatePlugin:()=>n(12964),ReadFileCompileWasmTemplatePlugin:()=>n(93570)});h(t.debug={},{ProfilingPlugin:()=>n(63428)});h(t.util={},{createHash:()=>n(57442)});const m=(e,t,n)=>{Object.defineProperty(e,t,{configurable:false,enumerable:true,get(){throw new f(n)}})};m(t.optimize,"UglifyJsPlugin","webpack.optimize.UglifyJsPlugin has been removed, please use config.optimization.minimize instead.");m(t.optimize,"CommonsChunkPlugin","webpack.optimize.CommonsChunkPlugin has been removed, please use config.optimization.splitChunks instead.")},70514:(e,t,n)=>{"use strict";const{ConcatSource:r}=n(50932);class WebWorkerChunkTemplatePlugin{apply(e){e.hooks.render.tap("WebWorkerChunkTemplatePlugin",(t,n)=>{const s=e.outputOptions.chunkCallbackName;const i=e.outputOptions.globalObject;const o=new r;o.add(`${i}[${JSON.stringify(s)}](${JSON.stringify(n.ids)},`);o.add(t);o.add(")");return o});e.hooks.hash.tap("WebWorkerChunkTemplatePlugin",t=>{t.update("webworker");t.update("3");t.update(`${e.outputOptions.chunkCallbackName}`);t.update(`${e.outputOptions.globalObject}`)})}}e.exports=WebWorkerChunkTemplatePlugin},40698:(e,t,n)=>{"use strict";const{ConcatSource:r}=n(50932);class WebWorkerHotUpdateChunkTemplatePlugin{apply(e){e.hooks.render.tap("WebWorkerHotUpdateChunkTemplatePlugin",(t,n,s,i,o)=>{const a=e.outputOptions.hotUpdateFunction;const c=e.outputOptions.globalObject;const l=new r;l.add(`${c}[${JSON.stringify(a)}](${JSON.stringify(o)},`);l.add(t);l.add(")");return l});e.hooks.hash.tap("WebWorkerHotUpdateChunkTemplatePlugin",t=>{t.update("WebWorkerHotUpdateChunkTemplatePlugin");t.update("3");t.update(e.outputOptions.hotUpdateFunction+"");t.update(e.outputOptions.globalObject+"")})}}e.exports=WebWorkerHotUpdateChunkTemplatePlugin},98261:e=>{var t=undefined;var n=undefined;var r=undefined;var s=undefined;var i=undefined;var o=undefined;var a=undefined;e.exports=function(){function webpackHotUpdateCallback(e,r){t(e,r);if(n)n(e,r)}function hotDownloadUpdateChunk(e){a(r.p+s)}function hotDownloadManifest(e){e=e||1e4;return new Promise(function(t,n){if(typeof XMLHttpRequest==="undefined"){return n(new Error("No browser support"))}try{var s=new XMLHttpRequest;var o=r.p+i;s.open("GET",o,true);s.timeout=e;s.send(null)}catch(e){return n(e)}s.onreadystatechange=function(){if(s.readyState!==4)return;if(s.status===0){n(new Error("Manifest request to "+o+" timed out."))}else if(s.status===404){t()}else if(s.status!==200&&s.status!==304){n(new Error("Manifest request to "+o+" failed."))}else{try{var e=JSON.parse(s.responseText)}catch(e){n(e);return}t(e)}}})}function hotDisposeChunk(e){delete o[e]}}},33238:(e,t,n)=>{"use strict";const r=n(73720);class WebWorkerMainTemplatePlugin{apply(e){const t=e=>{for(const t of e.groupsIterable){if(t.getNumberOfChildren()>0)return true}return false};e.hooks.localVars.tap("WebWorkerMainTemplatePlugin",(e,n)=>{if(t(n)){return r.asString([e,"","// object to store loaded chunks",'// "1" means "already loaded"',"var installedChunks = {",r.indent(n.ids.map(e=>`${JSON.stringify(e)}: 1`).join(",\n")),"};"])}return e});e.hooks.requireEnsure.tap("WebWorkerMainTemplatePlugin",(t,n,s)=>{const i=e.outputOptions.chunkFilename;const o=n.getChunkMaps();return r.asString(["promises.push(Promise.resolve().then(function() {",r.indent(['// "1" is the signal for "already loaded"',"if(!installedChunks[chunkId]) {",r.indent(["importScripts("+"__webpack_require__.p + "+e.getAssetPath(JSON.stringify(i),{hash:`" + ${e.renderCurrentHashCode(s)} + "`,hashWithLength:t=>`" + ${e.renderCurrentHashCode(s,t)} + "`,chunk:{id:'" + chunkId + "',hash:`" + ${JSON.stringify(o.hash)}[chunkId] + "`,hashWithLength(e){const t=Object.create(null);for(const n of Object.keys(o.hash)){if(typeof o.hash[n]==="string"){t[n]=o.hash[n].substr(0,e)}}return`" + ${JSON.stringify(t)}[chunkId] + "`},contentHash:{javascript:`" + ${JSON.stringify(o.contentHash.javascript)}[chunkId] + "`},contentHashWithLength:{javascript:e=>{const t={};const n=o.contentHash.javascript;for(const r of Object.keys(n)){if(typeof n[r]==="string"){t[r]=n[r].substr(0,e)}}return`" + ${JSON.stringify(t)}[chunkId] + "`}},name:`" + (${JSON.stringify(o.name)}[chunkId]||chunkId) + "`},contentHashType:"javascript"})+");"]),"}"]),"}));"])});e.hooks.bootstrap.tap("WebWorkerMainTemplatePlugin",(n,s,i)=>{if(t(s)){const t=e.outputOptions.chunkCallbackName;const o=e.outputOptions.globalObject;return r.asString([n,`${o}[${JSON.stringify(t)}] = function webpackChunkCallback(chunkIds, moreModules) {`,r.indent(["for(var moduleId in moreModules) {",r.indent(e.renderAddModule(i,s,"moduleId","moreModules[moduleId]")),"}","while(chunkIds.length)",r.indent("installedChunks[chunkIds.pop()] = 1;")]),"};"])}return n});e.hooks.hotBootstrap.tap("WebWorkerMainTemplatePlugin",(t,s,i)=>{const o=e.outputOptions.hotUpdateChunkFilename;const a=e.outputOptions.hotUpdateMainFilename;const c=e.outputOptions.hotUpdateFunction;const l=e.outputOptions.globalObject;const u=e.getAssetPath(JSON.stringify(o),{hash:`" + ${e.renderCurrentHashCode(i)} + "`,hashWithLength:t=>`" + ${e.renderCurrentHashCode(i,t)} + "`,chunk:{id:'" + chunkId + "'}});const f=e.getAssetPath(JSON.stringify(a),{hash:`" + ${e.renderCurrentHashCode(i)} + "`,hashWithLength:t=>`" + ${e.renderCurrentHashCode(i,t)} + "`});return t+"\n"+`var parentHotUpdateCallback = ${l}[${JSON.stringify(c)}];\n`+`${l}[${JSON.stringify(c)}] = `+r.getFunctionContent(n(98261)).replace(/\/\/\$semicolon/g,";").replace(/\$require\$/g,e.requireFn).replace(/\$hotMainFilename\$/g,f).replace(/\$hotChunkFilename\$/g,u).replace(/\$hash\$/g,JSON.stringify(i))});e.hooks.hash.tap("WebWorkerMainTemplatePlugin",e=>{e.update("webworker");e.update("4")})}}e.exports=WebWorkerMainTemplatePlugin},46386:(e,t,n)=>{"use strict";const r=n(33238);const s=n(70514);const i=n(40698);class WebWorkerTemplatePlugin{apply(e){e.hooks.thisCompilation.tap("WebWorkerTemplatePlugin",e=>{(new r).apply(e.mainTemplate);(new s).apply(e.chunkTemplate);(new i).apply(e.hotUpdateChunkTemplate)})}}e.exports=WebWorkerTemplatePlugin},13653:function(e,t){(function(e,n){true?n(t):0})(this,function(e){"use strict";var t={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"};var n="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this";var r={5:n,"5module":n+" export import",6:n+" const class extends export import super"};var s=/^in(stanceof)?$/;var i="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࢽऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿯ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-Ᶎꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭧꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";var o="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";var a=new RegExp("["+i+"]");var c=new RegExp("["+i+o+"]");i=o=null;var l=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,477,28,11,0,9,21,155,22,13,52,76,44,33,24,27,35,30,0,12,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,0,33,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,0,161,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,270,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,754,9486,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42710,42,4148,12,221,3,5761,15,7472,3104,541];var u=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,525,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,4,9,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,232,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,19723,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,792487,239];function isInAstralSet(e,t){var n=65536;for(var r=0;re){return false}n+=t[r+1];if(n>=e){return true}}}function isIdentifierStart(e,t){if(e<65){return e===36}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&a.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,l)}function isIdentifierChar(e,t){if(e<48){return e===36}if(e<58){return true}if(e<65){return false}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&c.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,l)||isInAstralSet(e,u)}var f=function TokenType(e,t){if(t===void 0)t={};this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop||null;this.updateContext=null};function binop(e,t){return new f(e,{beforeExpr:true,binop:t})}var p={beforeExpr:true},d={startsExpr:true};var h={};function kw(e,t){if(t===void 0)t={};t.keyword=e;return h[e]=new f(e,t)}var m={num:new f("num",d),regexp:new f("regexp",d),string:new f("string",d),name:new f("name",d),eof:new f("eof"),bracketL:new f("[",{beforeExpr:true,startsExpr:true}),bracketR:new f("]"),braceL:new f("{",{beforeExpr:true,startsExpr:true}),braceR:new f("}"),parenL:new f("(",{beforeExpr:true,startsExpr:true}),parenR:new f(")"),comma:new f(",",p),semi:new f(";",p),colon:new f(":",p),dot:new f("."),question:new f("?",p),arrow:new f("=>",p),template:new f("template"),invalidTemplate:new f("invalidTemplate"),ellipsis:new f("...",p),backQuote:new f("`",d),dollarBraceL:new f("${",{beforeExpr:true,startsExpr:true}),eq:new f("=",{beforeExpr:true,isAssign:true}),assign:new f("_=",{beforeExpr:true,isAssign:true}),incDec:new f("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new f("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new f("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new f("**",{beforeExpr:true}),_break:kw("break"),_case:kw("case",p),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",p),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",p),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",d),_if:kw("if"),_return:kw("return",p),_switch:kw("switch"),_throw:kw("throw",p),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",d),_super:kw("super",d),_class:kw("class",d),_extends:kw("extends",p),_export:kw("export"),_import:kw("import",d),_null:kw("null",d),_true:kw("true",d),_false:kw("false",d),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var y=/\r\n?|\n|\u2028|\u2029/;var g=new RegExp(y.source,"g");function isNewLine(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}var v=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;var b=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;var w=Object.prototype;var k=w.hasOwnProperty;var x=w.toString;function has(e,t){return k.call(e,t)}var S=Array.isArray||function(e){return x.call(e)==="[object Array]"};function wordsRegexp(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var E=function Position(e,t){this.line=e;this.column=t};E.prototype.offset=function offset(e){return new E(this.line,this.column+e)};var O=function SourceLocation(e,t,n){this.start=t;this.end=n;if(e.sourceFile!==null){this.source=e.sourceFile}};function getLineInfo(e,t){for(var n=1,r=0;;){g.lastIndex=r;var s=g.exec(e);if(s&&s.index=2015){t.ecmaVersion-=2009}if(t.allowReserved==null){t.allowReserved=t.ecmaVersion<5}if(S(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}if(S(t.onComment)){t.onComment=pushComment(t,t.onComment)}return t}function pushComment(e,t){return function(n,r,s,i,o,a){var c={type:n?"Block":"Line",value:r,start:s,end:i};if(e.locations){c.loc=new O(this,o,a)}if(e.ranges){c.range=[s,i]}t.push(c)}}var M=1,A=2,I=M|A,T=4,R=8,j=16,F=32,N=64,D=128;function functionFlags(e,t){return A|(e?T:0)|(t?R:0)}var P=0,L=1,q=2,_=3,z=4,B=5;var W=function Parser(e,n,s){this.options=e=getOptions(e);this.sourceFile=e.sourceFile;this.keywords=wordsRegexp(r[e.ecmaVersion>=6?6:e.sourceType==="module"?"5module":5]);var i="";if(e.allowReserved!==true){for(var o=e.ecmaVersion;;o--){if(i=t[o]){break}}if(e.sourceType==="module"){i+=" await"}}this.reservedWords=wordsRegexp(i);var a=(i?i+" ":"")+t.strict;this.reservedWordsStrict=wordsRegexp(a);this.reservedWordsStrictBind=wordsRegexp(a+" "+t.strictBind);this.input=String(n);this.containsEsc=false;if(s){this.pos=s;this.lineStart=this.input.lastIndexOf("\n",s-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(y).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=m.eof;this.value=null;this.start=this.end=this.pos;this.startLoc=this.endLoc=this.curPosition();this.lastTokEndLoc=this.lastTokStartLoc=null;this.lastTokStart=this.lastTokEnd=this.pos;this.context=this.initialContext();this.exprAllowed=true;this.inModule=e.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports={};if(this.pos===0&&e.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(M);this.regexpState=null};var U={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true}};W.prototype.parse=function parse(){var e=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(e)};U.inFunction.get=function(){return(this.currentVarScope().flags&A)>0};U.inGenerator.get=function(){return(this.currentVarScope().flags&R)>0};U.inAsync.get=function(){return(this.currentVarScope().flags&T)>0};U.allowSuper.get=function(){return(this.currentThisScope().flags&N)>0};U.allowDirectSuper.get=function(){return(this.currentThisScope().flags&D)>0};U.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};W.prototype.inNonArrowFunction=function inNonArrowFunction(){return(this.currentThisScope().flags&A)>0};W.extend=function extend(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];var n=this;for(var r=0;r-1){this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element")}var n=t?e.parenthesizedAssign:e.parenthesizedBind;if(n>-1){this.raiseRecoverable(n,"Parenthesized pattern")}};H.checkExpressionErrors=function(e,t){if(!e){return false}var n=e.shorthandAssign;var r=e.doubleProto;if(!t){return n>=0||r>=0}if(n>=0){this.raise(n,"Shorthand property assignments are valid only in destructuring patterns")}if(r>=0){this.raiseRecoverable(r,"Redefinition of __proto__ property")}};H.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos=6){this.unexpected()}return this.parseFunctionStatement(s,false,!e);case m._class:if(e){this.unexpected()}return this.parseClass(s,true);case m._if:return this.parseIfStatement(s);case m._return:return this.parseReturnStatement(s);case m._switch:return this.parseSwitchStatement(s);case m._throw:return this.parseThrowStatement(s);case m._try:return this.parseTryStatement(s);case m._const:case m._var:i=i||this.value;if(e&&i!=="var"){this.unexpected()}return this.parseVarStatement(s,i);case m._while:return this.parseWhileStatement(s);case m._with:return this.parseWithStatement(s);case m.braceL:return this.parseBlock(true,s);case m.semi:return this.parseEmptyStatement(s);case m._export:case m._import:if(this.options.ecmaVersion>10&&r===m._import){b.lastIndex=this.pos;var o=b.exec(this.input);var a=this.pos+o[0].length,c=this.input.charCodeAt(a);if(c===40){return this.parseExpressionStatement(s,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!t){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return r===m._import?this.parseImport(s):this.parseExport(s,n);default:if(this.isAsyncFunction()){if(e){this.unexpected()}this.next();return this.parseFunctionStatement(s,true,!e)}var l=this.value,u=this.parseExpression();if(r===m.name&&u.type==="Identifier"&&this.eat(m.colon)){return this.parseLabeledStatement(s,l,u,e)}else{return this.parseExpressionStatement(s,u)}}};G.parseBreakContinueStatement=function(e,t){var n=t==="break";this.next();if(this.eat(m.semi)||this.insertSemicolon()){e.label=null}else if(this.type!==m.name){this.unexpected()}else{e.label=this.parseIdent();this.semicolon()}var r=0;for(;r=6){this.eat(m.semi)}else{this.semicolon()}return this.finishNode(e,"DoWhileStatement")};G.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(X);this.enterScope(0);this.expect(m.parenL);if(this.type===m.semi){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}var n=this.isLet();if(this.type===m._var||this.type===m._const||n){var r=this.startNode(),s=n?"let":this.value;this.next();this.parseVar(r,true,s);this.finishNode(r,"VariableDeclaration");if((this.type===m._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&r.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===m._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}return this.parseForIn(e,r)}if(t>-1){this.unexpected(t)}return this.parseFor(e,r)}var i=new DestructuringErrors;var o=this.parseExpression(true,i);if(this.type===m._in||this.options.ecmaVersion>=6&&this.isContextual("of")){if(this.options.ecmaVersion>=9){if(this.type===m._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}this.toAssignable(o,false,i);this.checkLVal(o);return this.parseForIn(e,o)}else{this.checkExpressionErrors(i,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,o)};G.parseFunctionStatement=function(e,t,n){this.next();return this.parseFunction(e,K|(n?0:Y),false,t)};G.parseIfStatement=function(e){this.next();e.test=this.parseParenExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(m._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")};G.parseReturnStatement=function(e){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(m.semi)||this.insertSemicolon()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")};G.parseSwitchStatement=function(e){this.next();e.discriminant=this.parseParenExpression();e.cases=[];this.expect(m.braceL);this.labels.push(Q);this.enterScope(0);var t;for(var n=false;this.type!==m.braceR;){if(this.type===m._case||this.type===m._default){var r=this.type===m._case;if(t){this.finishNode(t,"SwitchCase")}e.cases.push(t=this.startNode());t.consequent=[];this.next();if(r){t.test=this.parseExpression()}else{if(n){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}n=true;t.test=null}this.expect(m.colon)}else{if(!t){this.unexpected()}t.consequent.push(this.parseStatement(null))}}this.exitScope();if(t){this.finishNode(t,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(e,"SwitchStatement")};G.parseThrowStatement=function(e){this.next();if(y.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")};var V=[];G.parseTryStatement=function(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.type===m._catch){var t=this.startNode();this.next();if(this.eat(m.parenL)){t.param=this.parseBindingAtom();var n=t.param.type==="Identifier";this.enterScope(n?F:0);this.checkLVal(t.param,n?z:q);this.expect(m.parenR)}else{if(this.options.ecmaVersion<10){this.unexpected()}t.param=null;this.enterScope(0)}t.body=this.parseBlock(false);this.exitScope();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(m._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,"Missing catch or finally clause")}return this.finishNode(e,"TryStatement")};G.parseVarStatement=function(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")};G.parseWhileStatement=function(e){this.next();e.test=this.parseParenExpression();this.labels.push(X);e.body=this.parseStatement("while");this.labels.pop();return this.finishNode(e,"WhileStatement")};G.parseWithStatement=function(e){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();e.object=this.parseParenExpression();e.body=this.parseStatement("with");return this.finishNode(e,"WithStatement")};G.parseEmptyStatement=function(e){this.next();return this.finishNode(e,"EmptyStatement")};G.parseLabeledStatement=function(e,t,n,r){for(var s=0,i=this.labels;s=0;c--){var l=this.labels[c];if(l.statementStart===e.start){l.statementStart=this.start;l.kind=a}else{break}}this.labels.push({name:t,kind:a,statementStart:this.start});e.body=this.parseStatement(r?r.indexOf("label")===-1?r+"label":r:"label");this.labels.pop();e.label=n;return this.finishNode(e,"LabeledStatement")};G.parseExpressionStatement=function(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")};G.parseBlock=function(e,t){if(e===void 0)e=true;if(t===void 0)t=this.startNode();t.body=[];this.expect(m.braceL);if(e){this.enterScope(0)}while(!this.eat(m.braceR)){var n=this.parseStatement(null);t.body.push(n)}if(e){this.exitScope()}return this.finishNode(t,"BlockStatement")};G.parseFor=function(e,t){e.init=t;this.expect(m.semi);e.test=this.type===m.semi?null:this.parseExpression();this.expect(m.semi);e.update=this.type===m.parenR?null:this.parseExpression();this.expect(m.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,"ForStatement")};G.parseForIn=function(e,t){var n=this.type===m._in;this.next();if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!n||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,(n?"for-in":"for-of")+" loop variable declaration may not have an initializer")}else if(t.type==="AssignmentPattern"){this.raise(t.start,"Invalid left-hand side in for-loop")}e.left=t;e.right=n?this.parseExpression():this.parseMaybeAssign();this.expect(m.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,n?"ForInStatement":"ForOfStatement")};G.parseVar=function(e,t,n){e.declarations=[];e.kind=n;for(;;){var r=this.startNode();this.parseVarId(r,n);if(this.eat(m.eq)){r.init=this.parseMaybeAssign(t)}else if(n==="const"&&!(this.type===m._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if(r.id.type!=="Identifier"&&!(t&&(this.type===m._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{r.init=null}e.declarations.push(this.finishNode(r,"VariableDeclarator"));if(!this.eat(m.comma)){break}}return e};G.parseVarId=function(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,t==="var"?L:q,false)};var K=1,Y=2,Z=4;G.parseFunction=function(e,t,n,r){this.initFunction(e);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r){if(this.type===m.star&&t&Y){this.unexpected()}e.generator=this.eat(m.star)}if(this.options.ecmaVersion>=8){e.async=!!r}if(t&K){e.id=t&Z&&this.type!==m.name?null:this.parseIdent();if(e.id&&!(t&Y)){this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?L:q:_)}}var s=this.yieldPos,i=this.awaitPos,o=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(e.async,e.generator));if(!(t&K)){e.id=this.type===m.name?this.parseIdent():null}this.parseFunctionParams(e);this.parseFunctionBody(e,n,false);this.yieldPos=s;this.awaitPos=i;this.awaitIdentPos=o;return this.finishNode(e,t&K?"FunctionDeclaration":"FunctionExpression")};G.parseFunctionParams=function(e){this.expect(m.parenL);e.params=this.parseBindingList(m.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};G.parseClass=function(e,t){this.next();var n=this.strict;this.strict=true;this.parseClassId(e,t);this.parseClassSuper(e);var r=this.startNode();var s=false;r.body=[];this.expect(m.braceL);while(!this.eat(m.braceR)){var i=this.parseClassElement(e.superClass!==null);if(i){r.body.push(i);if(i.type==="MethodDefinition"&&i.kind==="constructor"){if(s){this.raise(i.start,"Duplicate constructor in the same class")}s=true}}}e.body=this.finishNode(r,"ClassBody");this.strict=n;return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};G.parseClassElement=function(e){var t=this;if(this.eat(m.semi)){return null}var n=this.startNode();var r=function(e,r){if(r===void 0)r=false;var s=t.start,i=t.startLoc;if(!t.eatContextual(e)){return false}if(t.type!==m.parenL&&(!r||!t.canInsertSemicolon())){return true}if(n.key){t.unexpected()}n.computed=false;n.key=t.startNodeAt(s,i);n.key.name=e;t.finishNode(n.key,"Identifier");return false};n.kind="method";n.static=r("static");var s=this.eat(m.star);var i=false;if(!s){if(this.options.ecmaVersion>=8&&r("async",true)){i=true;s=this.options.ecmaVersion>=9&&this.eat(m.star)}else if(r("get")){n.kind="get"}else if(r("set")){n.kind="set"}}if(!n.key){this.parsePropertyName(n)}var o=n.key;var a=false;if(!n.computed&&!n.static&&(o.type==="Identifier"&&o.name==="constructor"||o.type==="Literal"&&o.value==="constructor")){if(n.kind!=="method"){this.raise(o.start,"Constructor can't have get/set modifier")}if(s){this.raise(o.start,"Constructor can't be a generator")}if(i){this.raise(o.start,"Constructor can't be an async method")}n.kind="constructor";a=e}else if(n.static&&o.type==="Identifier"&&o.name==="prototype"){this.raise(o.start,"Classes may not have a static property named prototype")}this.parseClassMethod(n,s,i,a);if(n.kind==="get"&&n.value.params.length!==0){this.raiseRecoverable(n.value.start,"getter should have no params")}if(n.kind==="set"&&n.value.params.length!==1){this.raiseRecoverable(n.value.start,"setter should have exactly one param")}if(n.kind==="set"&&n.value.params[0].type==="RestElement"){this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params")}return n};G.parseClassMethod=function(e,t,n,r){e.value=this.parseMethod(t,n,r);return this.finishNode(e,"MethodDefinition")};G.parseClassId=function(e,t){if(this.type===m.name){e.id=this.parseIdent();if(t){this.checkLVal(e.id,q,false)}}else{if(t===true){this.unexpected()}e.id=null}};G.parseClassSuper=function(e){e.superClass=this.eat(m._extends)?this.parseExprSubscripts():null};G.parseExport=function(e,t){this.next();if(this.eat(m.star)){this.expectContextual("from");if(this.type!==m.string){this.unexpected()}e.source=this.parseExprAtom();this.semicolon();return this.finishNode(e,"ExportAllDeclaration")}if(this.eat(m._default)){this.checkExport(t,"default",this.lastTokStart);var n;if(this.type===m._function||(n=this.isAsyncFunction())){var r=this.startNode();this.next();if(n){this.next()}e.declaration=this.parseFunction(r,K|Z,false,n)}else if(this.type===m._class){var s=this.startNode();e.declaration=this.parseClass(s,"nullableID")}else{e.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){e.declaration=this.parseStatement(null);if(e.declaration.type==="VariableDeclaration"){this.checkVariableExport(t,e.declaration.declarations)}else{this.checkExport(t,e.declaration.id.name,e.declaration.id.start)}e.specifiers=[];e.source=null}else{e.declaration=null;e.specifiers=this.parseExportSpecifiers(t);if(this.eatContextual("from")){if(this.type!==m.string){this.unexpected()}e.source=this.parseExprAtom()}else{for(var i=0,o=e.specifiers;i=6&&e){switch(e.type){case"Identifier":if(this.inAsync&&e.name==="await"){this.raise(e.start,"Cannot use 'await' as identifier inside an async function")}break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";if(n){this.checkPatternErrors(n,true)}for(var r=0,s=e.properties;r=8&&!i&&o.name==="async"&&!this.canInsertSemicolon()&&this.eat(m._function)){return this.parseFunction(this.startNodeAt(r,s),0,false,true)}if(n&&!this.canInsertSemicolon()){if(this.eat(m.arrow)){return this.parseArrowExpression(this.startNodeAt(r,s),[o],false)}if(this.options.ecmaVersion>=8&&o.name==="async"&&this.type===m.name&&!i){o=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(m.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt(r,s),[o],true)}}return o;case m.regexp:var a=this.value;t=this.parseLiteral(a.value);t.regex={pattern:a.pattern,flags:a.flags};return t;case m.num:case m.string:return this.parseLiteral(this.value);case m._null:case m._true:case m._false:t=this.startNode();t.value=this.type===m._null?null:this.type===m._true;t.raw=this.type.keyword;this.next();return this.finishNode(t,"Literal");case m.parenL:var c=this.start,l=this.parseParenAndDistinguishExpression(n);if(e){if(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(l)){e.parenthesizedAssign=c}if(e.parenthesizedBind<0){e.parenthesizedBind=c}}return l;case m.bracketL:t=this.startNode();this.next();t.elements=this.parseExprList(m.bracketR,true,true,e);return this.finishNode(t,"ArrayExpression");case m.braceL:return this.parseObj(false,e);case m._function:t=this.startNode();this.next();return this.parseFunction(t,0);case m._class:return this.parseClass(this.startNode(),false);case m._new:return this.parseNew();case m.backQuote:return this.parseTemplate();case m._import:if(this.options.ecmaVersion>10){return this.parseDynamicImport()}else{return this.unexpected()}default:this.unexpected()}};ee.parseDynamicImport=function(){var e=this.startNode();this.next();if(this.type!==m.parenL){this.unexpected()}return this.finishNode(e,"Import")};ee.parseLiteral=function(e){var t=this.startNode();t.value=e;t.raw=this.input.slice(this.start,this.end);if(t.raw.charCodeAt(t.raw.length-1)===110){t.bigint=t.raw.slice(0,-1)}this.next();return this.finishNode(t,"Literal")};ee.parseParenExpression=function(){this.expect(m.parenL);var e=this.parseExpression();this.expect(m.parenR);return e};ee.parseParenAndDistinguishExpression=function(e){var t=this.start,n=this.startLoc,r,s=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var i=this.start,o=this.startLoc;var a=[],c=true,l=false;var u=new DestructuringErrors,f=this.yieldPos,p=this.awaitPos,d;this.yieldPos=0;this.awaitPos=0;while(this.type!==m.parenR){c?c=false:this.expect(m.comma);if(s&&this.afterTrailingComma(m.parenR,true)){l=true;break}else if(this.type===m.ellipsis){d=this.start;a.push(this.parseParenItem(this.parseRestBinding()));if(this.type===m.comma){this.raise(this.start,"Comma is not permitted after the rest element")}break}else{a.push(this.parseMaybeAssign(false,u,this.parseParenItem))}}var h=this.start,y=this.startLoc;this.expect(m.parenR);if(e&&!this.canInsertSemicolon()&&this.eat(m.arrow)){this.checkPatternErrors(u,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=f;this.awaitPos=p;return this.parseParenArrowList(t,n,a)}if(!a.length||l){this.unexpected(this.lastTokStart)}if(d){this.unexpected(d)}this.checkExpressionErrors(u,true);this.yieldPos=f||this.yieldPos;this.awaitPos=p||this.awaitPos;if(a.length>1){r=this.startNodeAt(i,o);r.expressions=a;this.finishNodeAt(r,"SequenceExpression",h,y)}else{r=a[0]}}else{r=this.parseParenExpression()}if(this.options.preserveParens){var g=this.startNodeAt(t,n);g.expression=r;return this.finishNode(g,"ParenthesizedExpression")}else{return r}};ee.parseParenItem=function(e){return e};ee.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)};var te=[];ee.parseNew=function(){var e=this.startNode();var t=this.parseIdent(true);if(this.options.ecmaVersion>=6&&this.eat(m.dot)){e.meta=t;var n=this.containsEsc;e.property=this.parseIdent(true);if(e.property.name!=="target"||n){this.raiseRecoverable(e.property.start,"The only valid meta property for new is new.target")}if(!this.inNonArrowFunction()){this.raiseRecoverable(e.start,"new.target can only be used in functions")}return this.finishNode(e,"MetaProperty")}var r=this.start,s=this.startLoc;e.callee=this.parseSubscripts(this.parseExprAtom(),r,s,true);if(this.options.ecmaVersion>10&&e.callee.type==="Import"){this.raise(e.callee.start,"Cannot use new with import(...)")}if(this.eat(m.parenL)){e.arguments=this.parseExprList(m.parenR,this.options.ecmaVersion>=8&&e.callee.type!=="Import",false)}else{e.arguments=te}return this.finishNode(e,"NewExpression")};ee.parseTemplateElement=function(e){var t=e.isTagged;var n=this.startNode();if(this.type===m.invalidTemplate){if(!t){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}n.value={raw:this.value,cooked:null}}else{n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();n.tail=this.type===m.backQuote;return this.finishNode(n,"TemplateElement")};ee.parseTemplate=function(e){if(e===void 0)e={};var t=e.isTagged;if(t===void 0)t=false;var n=this.startNode();this.next();n.expressions=[];var r=this.parseTemplateElement({isTagged:t});n.quasis=[r];while(!r.tail){if(this.type===m.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(m.dollarBraceL);n.expressions.push(this.parseExpression());this.expect(m.braceR);n.quasis.push(r=this.parseTemplateElement({isTagged:t}))}this.next();return this.finishNode(n,"TemplateLiteral")};ee.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===m.name||this.type===m.num||this.type===m.string||this.type===m.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===m.star)&&!y.test(this.input.slice(this.lastTokEnd,this.start))};ee.parseObj=function(e,t){var n=this.startNode(),r=true,s={};n.properties=[];this.next();while(!this.eat(m.braceR)){if(!r){this.expect(m.comma);if(this.afterTrailingComma(m.braceR)){break}}else{r=false}var i=this.parseProperty(e,t);if(!e){this.checkPropClash(i,s,t)}n.properties.push(i)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")};ee.parseProperty=function(e,t){var n=this.startNode(),r,s,i,o;if(this.options.ecmaVersion>=9&&this.eat(m.ellipsis)){if(e){n.argument=this.parseIdent(false);if(this.type===m.comma){this.raise(this.start,"Comma is not permitted after the rest element")}return this.finishNode(n,"RestElement")}if(this.type===m.parenL&&t){if(t.parenthesizedAssign<0){t.parenthesizedAssign=this.start}if(t.parenthesizedBind<0){t.parenthesizedBind=this.start}}n.argument=this.parseMaybeAssign(false,t);if(this.type===m.comma&&t&&t.trailingComma<0){t.trailingComma=this.start}return this.finishNode(n,"SpreadElement")}if(this.options.ecmaVersion>=6){n.method=false;n.shorthand=false;if(e||t){i=this.start;o=this.startLoc}if(!e){r=this.eat(m.star)}}var a=this.containsEsc;this.parsePropertyName(n);if(!e&&!a&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(n)){s=true;r=this.options.ecmaVersion>=9&&this.eat(m.star);this.parsePropertyName(n,t)}else{s=false}this.parsePropertyValue(n,e,r,s,i,o,t,a);return this.finishNode(n,"Property")};ee.parsePropertyValue=function(e,t,n,r,s,i,o,a){if((n||r)&&this.type===m.colon){this.unexpected()}if(this.eat(m.colon)){e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,o);e.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===m.parenL){if(t){this.unexpected()}e.kind="init";e.method=true;e.value=this.parseMethod(n,r)}else if(!t&&!a&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&(this.type!==m.comma&&this.type!==m.braceR)){if(n||r){this.unexpected()}e.kind=e.key.name;this.parsePropertyName(e);e.value=this.parseMethod(false);var c=e.kind==="get"?0:1;if(e.value.params.length!==c){var l=e.value.start;if(e.kind==="get"){this.raiseRecoverable(l,"getter should have no params")}else{this.raiseRecoverable(l,"setter should have exactly one param")}}else{if(e.kind==="set"&&e.value.params[0].type==="RestElement"){this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}}}else if(this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"){if(n||r){this.unexpected()}this.checkUnreserved(e.key);if(e.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=s}e.kind="init";if(t){e.value=this.parseMaybeDefault(s,i,e.key)}else if(this.type===m.eq&&o){if(o.shorthandAssign<0){o.shorthandAssign=this.start}e.value=this.parseMaybeDefault(s,i,e.key)}else{e.value=e.key}e.shorthand=true}else{this.unexpected()}};ee.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(m.bracketL)){e.computed=true;e.key=this.parseMaybeAssign();this.expect(m.bracketR);return e.key}else{e.computed=false}}return e.key=this.type===m.num||this.type===m.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};ee.initFunction=function(e){e.id=null;if(this.options.ecmaVersion>=6){e.generator=e.expression=false}if(this.options.ecmaVersion>=8){e.async=false}};ee.parseMethod=function(e,t,n){var r=this.startNode(),s=this.yieldPos,i=this.awaitPos,o=this.awaitIdentPos;this.initFunction(r);if(this.options.ecmaVersion>=6){r.generator=e}if(this.options.ecmaVersion>=8){r.async=!!t}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(t,r.generator)|N|(n?D:0));this.expect(m.parenL);r.params=this.parseBindingList(m.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody(r,false,true);this.yieldPos=s;this.awaitPos=i;this.awaitIdentPos=o;return this.finishNode(r,"FunctionExpression")};ee.parseArrowExpression=function(e,t,n){var r=this.yieldPos,s=this.awaitPos,i=this.awaitIdentPos;this.enterScope(functionFlags(n,false)|j);this.initFunction(e);if(this.options.ecmaVersion>=8){e.async=!!n}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;e.params=this.toAssignableList(t,true);this.parseFunctionBody(e,true,false);this.yieldPos=r;this.awaitPos=s;this.awaitIdentPos=i;return this.finishNode(e,"ArrowFunctionExpression")};ee.parseFunctionBody=function(e,t,n){var r=t&&this.type!==m.braceL;var s=this.strict,i=false;if(r){e.body=this.parseMaybeAssign();e.expression=true;this.checkParams(e,false)}else{var o=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);if(!s||o){i=this.strictDirective(this.end);if(i&&o){this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var a=this.labels;this.labels=[];if(i){this.strict=true}this.checkParams(e,!s&&!i&&!t&&!n&&this.isSimpleParamList(e.params));e.body=this.parseBlock(false);e.expression=false;this.adaptDirectivePrologue(e.body.body);this.labels=a}this.exitScope();if(this.strict&&e.id){this.checkLVal(e.id,B)}this.strict=s};ee.isSimpleParamList=function(e){for(var t=0,n=e;t-1||s.functions.indexOf(e)>-1||s.var.indexOf(e)>-1;s.lexical.push(e);if(this.inModule&&s.flags&M){delete this.undefinedExports[e]}}else if(t===z){var i=this.currentScope();i.lexical.push(e)}else if(t===_){var o=this.currentScope();if(this.treatFunctionsAsVar){r=o.lexical.indexOf(e)>-1}else{r=o.lexical.indexOf(e)>-1||o.var.indexOf(e)>-1}o.functions.push(e)}else{for(var a=this.scopeStack.length-1;a>=0;--a){var c=this.scopeStack[a];if(c.lexical.indexOf(e)>-1&&!(c.flags&F&&c.lexical[0]===e)||!this.treatFunctionsAsVarInScope(c)&&c.functions.indexOf(e)>-1){r=true;break}c.var.push(e);if(this.inModule&&c.flags&M){delete this.undefinedExports[e]}if(c.flags&I){break}}}if(r){this.raiseRecoverable(n,"Identifier '"+e+"' has already been declared")}};re.checkLocalExport=function(e){if(this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1){this.undefinedExports[e.name]=e}};re.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};re.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&I){return t}}};re.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&I&&!(t.flags&j)){return t}}};var ie=function Node(e,t,n){this.type="";this.start=t;this.end=0;if(e.options.locations){this.loc=new O(e,n)}if(e.options.directSourceFile){this.sourceFile=e.options.directSourceFile}if(e.options.ranges){this.range=[t,0]}};var oe=W.prototype;oe.startNode=function(){return new ie(this,this.start,this.startLoc)};oe.startNodeAt=function(e,t){return new ie(this,e,t)};function finishNodeAt(e,t,n,r){e.type=t;e.end=n;if(this.options.locations){e.loc.end=r}if(this.options.ranges){e.range[1]=n}return e}oe.finishNode=function(e,t){return finishNodeAt.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};oe.finishNodeAt=function(e,t,n,r){return finishNodeAt.call(this,e,t,n,r)};var ae=function TokContext(e,t,n,r,s){this.token=e;this.isExpr=!!t;this.preserveSpace=!!n;this.override=r;this.generator=!!s};var ce={b_stat:new ae("{",false),b_expr:new ae("{",true),b_tmpl:new ae("${",false),p_stat:new ae("(",false),p_expr:new ae("(",true),q_tmpl:new ae("`",true,true,function(e){return e.tryReadTemplateToken()}),f_stat:new ae("function",false),f_expr:new ae("function",true),f_expr_gen:new ae("function",true,false,null,true),f_gen:new ae("function",false,false,null,true)};var le=W.prototype;le.initialContext=function(){return[ce.b_stat]};le.braceIsBlock=function(e){var t=this.curContext();if(t===ce.f_expr||t===ce.f_stat){return true}if(e===m.colon&&(t===ce.b_stat||t===ce.b_expr)){return!t.isExpr}if(e===m._return||e===m.name&&this.exprAllowed){return y.test(this.input.slice(this.lastTokEnd,this.start))}if(e===m._else||e===m.semi||e===m.eof||e===m.parenR||e===m.arrow){return true}if(e===m.braceL){return t===ce.b_stat}if(e===m._var||e===m._const||e===m.name){return false}return!this.exprAllowed};le.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function"){return t.generator}}return false};le.updateContext=function(e){var t,n=this.type;if(n.keyword&&e===m.dot){this.exprAllowed=false}else if(t=n.updateContext){t.call(this,e)}else{this.exprAllowed=n.beforeExpr}};m.parenR.updateContext=m.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var e=this.context.pop();if(e===ce.b_stat&&this.curContext().token==="function"){e=this.context.pop()}this.exprAllowed=!e.isExpr};m.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ce.b_stat:ce.b_expr);this.exprAllowed=true};m.dollarBraceL.updateContext=function(){this.context.push(ce.b_tmpl);this.exprAllowed=true};m.parenL.updateContext=function(e){var t=e===m._if||e===m._for||e===m._with||e===m._while;this.context.push(t?ce.p_stat:ce.p_expr);this.exprAllowed=true};m.incDec.updateContext=function(){};m._function.updateContext=m._class.updateContext=function(e){if(e.beforeExpr&&e!==m.semi&&e!==m._else&&!(e===m._return&&y.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===m.colon||e===m.braceL)&&this.curContext()===ce.b_stat)){this.context.push(ce.f_expr)}else{this.context.push(ce.f_stat)}this.exprAllowed=false};m.backQuote.updateContext=function(){if(this.curContext()===ce.q_tmpl){this.context.pop()}else{this.context.push(ce.q_tmpl)}this.exprAllowed=false};m.star.updateContext=function(e){if(e===m._function){var t=this.context.length-1;if(this.context[t]===ce.f_expr){this.context[t]=ce.f_expr_gen}else{this.context[t]=ce.f_gen}}this.exprAllowed=true};m.name.updateContext=function(e){var t=false;if(this.options.ecmaVersion>=6&&e!==m.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){t=true}}this.exprAllowed=t};var ue="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS";var fe=ue+" Extended_Pictographic";var pe=fe;var de={9:ue,10:fe,11:pe};var he="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";var me="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";var ye=me+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var ge=ye+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var ve={9:me,10:ye,11:ge};var be={};function buildUnicodeData(e){var t=be[e]={binary:wordsRegexp(de[e]+" "+he),nonBinary:{General_Category:wordsRegexp(he),Script:wordsRegexp(ve[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script;t.nonBinary.gc=t.nonBinary.General_Category;t.nonBinary.sc=t.nonBinary.Script;t.nonBinary.scx=t.nonBinary.Script_Extensions}buildUnicodeData(9);buildUnicodeData(10);buildUnicodeData(11);var we=W.prototype;var ke=function RegExpValidationState(e){this.parser=e;this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"");this.unicodeProperties=be[e.options.ecmaVersion>=11?11:e.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=[];this.backReferenceNames=[]};ke.prototype.reset=function reset(e,t,n){var r=n.indexOf("u")!==-1;this.start=e|0;this.source=t+"";this.flags=n;this.switchU=r&&this.parser.options.ecmaVersion>=6;this.switchN=r&&this.parser.options.ecmaVersion>=9};ke.prototype.raise=function raise(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)};ke.prototype.at=function at(e){var t=this.source;var n=t.length;if(e>=n){return-1}var r=t.charCodeAt(e);if(!this.switchU||r<=55295||r>=57344||e+1>=n){return r}var s=t.charCodeAt(e+1);return s>=56320&&s<=57343?(r<<10)+s-56613888:r};ke.prototype.nextIndex=function nextIndex(e){var t=this.source;var n=t.length;if(e>=n){return n}var r=t.charCodeAt(e),s;if(!this.switchU||r<=55295||r>=57344||e+1>=n||(s=t.charCodeAt(e+1))<56320||s>57343){return e+1}return e+2};ke.prototype.current=function current(){return this.at(this.pos)};ke.prototype.lookahead=function lookahead(){return this.at(this.nextIndex(this.pos))};ke.prototype.advance=function advance(){this.pos=this.nextIndex(this.pos)};ke.prototype.eat=function eat(e){if(this.current()===e){this.advance();return true}return false};function codePointToString(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}we.validateRegExpFlags=function(e){var t=e.validFlags;var n=e.flags;for(var r=0;r-1){this.raise(e.start,"Duplicate regular expression flag")}}};we.validateRegExpPattern=function(e){this.regexp_pattern(e);if(!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0){e.switchN=true;this.regexp_pattern(e)}};we.regexp_pattern=function(e){e.pos=0;e.lastIntValue=0;e.lastStringValue="";e.lastAssertionIsQuantifiable=false;e.numCapturingParens=0;e.maxBackReference=0;e.groupNames.length=0;e.backReferenceNames.length=0;this.regexp_disjunction(e);if(e.pos!==e.source.length){if(e.eat(41)){e.raise("Unmatched ')'")}if(e.eat(93)||e.eat(125)){e.raise("Lone quantifier brackets")}}if(e.maxBackReference>e.numCapturingParens){e.raise("Invalid escape")}for(var t=0,n=e.backReferenceNames;t=9){n=e.eat(60)}if(e.eat(61)||e.eat(33)){this.regexp_disjunction(e);if(!e.eat(41)){e.raise("Unterminated group")}e.lastAssertionIsQuantifiable=!n;return true}}e.pos=t;return false};we.regexp_eatQuantifier=function(e,t){if(t===void 0)t=false;if(this.regexp_eatQuantifierPrefix(e,t)){e.eat(63);return true}return false};we.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};we.regexp_eatBracedQuantifier=function(e,t){var n=e.pos;if(e.eat(123)){var r=0,s=-1;if(this.regexp_eatDecimalDigits(e)){r=e.lastIntValue;if(e.eat(44)&&this.regexp_eatDecimalDigits(e)){s=e.lastIntValue}if(e.eat(125)){if(s!==-1&&s=9){this.regexp_groupSpecifier(e)}else if(e.current()===63){e.raise("Invalid group")}this.regexp_disjunction(e);if(e.eat(41)){e.numCapturingParens+=1;return true}e.raise("Unterminated group")}return false};we.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};we.regexp_eatInvalidBracedQuantifier=function(e){if(this.regexp_eatBracedQuantifier(e,true)){e.raise("Nothing to repeat")}return false};we.regexp_eatSyntaxCharacter=function(e){var t=e.current();if(isSyntaxCharacter(t)){e.lastIntValue=t;e.advance();return true}return false};function isSyntaxCharacter(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}we.regexp_eatPatternCharacters=function(e){var t=e.pos;var n=0;while((n=e.current())!==-1&&!isSyntaxCharacter(n)){e.advance()}return e.pos!==t};we.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();if(t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124){e.advance();return true}return false};we.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){if(e.groupNames.indexOf(e.lastStringValue)!==-1){e.raise("Duplicate capture group name")}e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}};we.regexp_eatGroupName=function(e){e.lastStringValue="";if(e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62)){return true}e.raise("Invalid capture group name")}return false};we.regexp_eatRegExpIdentifierName=function(e){e.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(e)){e.lastStringValue+=codePointToString(e.lastIntValue);while(this.regexp_eatRegExpIdentifierPart(e)){e.lastStringValue+=codePointToString(e.lastIntValue)}return true}return false};we.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos;var n=e.current();e.advance();if(n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e)){n=e.lastIntValue}if(isRegExpIdentifierStart(n)){e.lastIntValue=n;return true}e.pos=t;return false};function isRegExpIdentifierStart(e){return isIdentifierStart(e,true)||e===36||e===95}we.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos;var n=e.current();e.advance();if(n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e)){n=e.lastIntValue}if(isRegExpIdentifierPart(n)){e.lastIntValue=n;return true}e.pos=t;return false};function isRegExpIdentifierPart(e){return isIdentifierChar(e,true)||e===36||e===95||e===8204||e===8205}we.regexp_eatAtomEscape=function(e){if(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)){return true}if(e.switchU){if(e.current()===99){e.raise("Invalid unicode escape")}e.raise("Invalid escape")}return false};we.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var n=e.lastIntValue;if(e.switchU){if(n>e.maxBackReference){e.maxBackReference=n}return true}if(n<=e.numCapturingParens){return true}e.pos=t}return false};we.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e)){e.backReferenceNames.push(e.lastStringValue);return true}e.raise("Invalid named reference")}return false};we.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};we.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e)){return true}e.pos=t}return false};we.regexp_eatZero=function(e){if(e.current()===48&&!isDecimalDigit(e.lookahead())){e.lastIntValue=0;e.advance();return true}return false};we.regexp_eatControlEscape=function(e){var t=e.current();if(t===116){e.lastIntValue=9;e.advance();return true}if(t===110){e.lastIntValue=10;e.advance();return true}if(t===118){e.lastIntValue=11;e.advance();return true}if(t===102){e.lastIntValue=12;e.advance();return true}if(t===114){e.lastIntValue=13;e.advance();return true}return false};we.regexp_eatControlLetter=function(e){var t=e.current();if(isControlLetter(t)){e.lastIntValue=t%32;e.advance();return true}return false};function isControlLetter(e){return e>=65&&e<=90||e>=97&&e<=122}we.regexp_eatRegExpUnicodeEscapeSequence=function(e){var t=e.pos;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var n=e.lastIntValue;if(e.switchU&&n>=55296&&n<=56319){var r=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var s=e.lastIntValue;if(s>=56320&&s<=57343){e.lastIntValue=(n-55296)*1024+(s-56320)+65536;return true}}e.pos=r;e.lastIntValue=n}return true}if(e.switchU&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&isValidUnicode(e.lastIntValue)){return true}if(e.switchU){e.raise("Invalid unicode escape")}e.pos=t}return false};function isValidUnicode(e){return e>=0&&e<=1114111}we.regexp_eatIdentityEscape=function(e){if(e.switchU){if(this.regexp_eatSyntaxCharacter(e)){return true}if(e.eat(47)){e.lastIntValue=47;return true}return false}var t=e.current();if(t!==99&&(!e.switchN||t!==107)){e.lastIntValue=t;e.advance();return true}return false};we.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48);e.advance()}while((t=e.current())>=48&&t<=57);return true}return false};we.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(isCharacterClassEscape(t)){e.lastIntValue=-1;e.advance();return true}if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){e.lastIntValue=-1;e.advance();if(e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125)){return true}e.raise("Invalid property name")}return false};function isCharacterClassEscape(e){return e===100||e===68||e===115||e===83||e===119||e===87}we.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var n=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(e,n,r);return true}}e.pos=t;if(this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var s=e.lastStringValue;this.regexp_validateUnicodePropertyNameOrValue(e,s);return true}return false};we.regexp_validateUnicodePropertyNameAndValue=function(e,t,n){if(!has(e.unicodeProperties.nonBinary,t)){e.raise("Invalid property name")}if(!e.unicodeProperties.nonBinary[t].test(n)){e.raise("Invalid property value")}};we.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(!e.unicodeProperties.binary.test(t)){e.raise("Invalid property name")}};we.regexp_eatUnicodePropertyName=function(e){var t=0;e.lastStringValue="";while(isUnicodePropertyNameCharacter(t=e.current())){e.lastStringValue+=codePointToString(t);e.advance()}return e.lastStringValue!==""};function isUnicodePropertyNameCharacter(e){return isControlLetter(e)||e===95}we.regexp_eatUnicodePropertyValue=function(e){var t=0;e.lastStringValue="";while(isUnicodePropertyValueCharacter(t=e.current())){e.lastStringValue+=codePointToString(t);e.advance()}return e.lastStringValue!==""};function isUnicodePropertyValueCharacter(e){return isUnicodePropertyNameCharacter(e)||isDecimalDigit(e)}we.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};we.regexp_eatCharacterClass=function(e){if(e.eat(91)){e.eat(94);this.regexp_classRanges(e);if(e.eat(93)){return true}e.raise("Unterminated character class")}return false};we.regexp_classRanges=function(e){while(this.regexp_eatClassAtom(e)){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var n=e.lastIntValue;if(e.switchU&&(t===-1||n===-1)){e.raise("Invalid character class")}if(t!==-1&&n!==-1&&t>n){e.raise("Range out of order in character class")}}}};we.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e)){return true}if(e.switchU){var n=e.current();if(n===99||isOctalDigit(n)){e.raise("Invalid class escape")}e.raise("Invalid escape")}e.pos=t}var r=e.current();if(r!==93){e.lastIntValue=r;e.advance();return true}return false};we.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98)){e.lastIntValue=8;return true}if(e.switchU&&e.eat(45)){e.lastIntValue=45;return true}if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e)){return true}e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};we.regexp_eatClassControlLetter=function(e){var t=e.current();if(isDecimalDigit(t)||t===95){e.lastIntValue=t%32;e.advance();return true}return false};we.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2)){return true}if(e.switchU){e.raise("Invalid escape")}e.pos=t}return false};we.regexp_eatDecimalDigits=function(e){var t=e.pos;var n=0;e.lastIntValue=0;while(isDecimalDigit(n=e.current())){e.lastIntValue=10*e.lastIntValue+(n-48);e.advance()}return e.pos!==t};function isDecimalDigit(e){return e>=48&&e<=57}we.regexp_eatHexDigits=function(e){var t=e.pos;var n=0;e.lastIntValue=0;while(isHexDigit(n=e.current())){e.lastIntValue=16*e.lastIntValue+hexToInt(n);e.advance()}return e.pos!==t};function isHexDigit(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function hexToInt(e){if(e>=65&&e<=70){return 10+(e-65)}if(e>=97&&e<=102){return 10+(e-97)}return e-48}we.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var n=e.lastIntValue;if(t<=3&&this.regexp_eatOctalDigit(e)){e.lastIntValue=t*64+n*8+e.lastIntValue}else{e.lastIntValue=t*8+n}}else{e.lastIntValue=t}return true}return false};we.regexp_eatOctalDigit=function(e){var t=e.current();if(isOctalDigit(t)){e.lastIntValue=t-48;e.advance();return true}e.lastIntValue=0;return false};function isOctalDigit(e){return e>=48&&e<=55}we.regexp_eatFixedHexDigits=function(e,t){var n=e.pos;e.lastIntValue=0;for(var r=0;r=this.input.length){return this.finishToken(m.eof)}if(e.override){return e.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};Se.readToken=function(e){if(isIdentifierStart(e,this.options.ecmaVersion>=6)||e===92){return this.readWord()}return this.getTokenFromCode(e)};Se.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=57344){return e}var t=this.input.charCodeAt(this.pos+1);return(e<<10)+t-56613888};Se.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition();var t=this.pos,n=this.input.indexOf("*/",this.pos+=2);if(n===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=n+2;if(this.options.locations){g.lastIndex=t;var r;while((r=g.exec(this.input))&&r.index8&&e<14||e>=5760&&v.test(String.fromCharCode(e))){++this.pos}else{break e}}}};Se.finishToken=function(e,t){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var n=this.type;this.type=e;this.value=t;this.updateContext(n)};Se.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57){return this.readNumber(true)}var t=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&e===46&&t===46){this.pos+=3;return this.finishToken(m.ellipsis)}else{++this.pos;return this.finishToken(m.dot)}};Se.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(e===61){return this.finishOp(m.assign,2)}return this.finishOp(m.slash,1)};Se.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1);var n=1;var r=e===42?m.star:m.modulo;if(this.options.ecmaVersion>=7&&e===42&&t===42){++n;r=m.starstar;t=this.input.charCodeAt(this.pos+2)}if(t===61){return this.finishOp(m.assign,n+1)}return this.finishOp(r,n)};Se.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){return this.finishOp(e===124?m.logicalOR:m.logicalAND,2)}if(t===61){return this.finishOp(m.assign,2)}return this.finishOp(e===124?m.bitwiseOR:m.bitwiseAND,1)};Se.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);if(e===61){return this.finishOp(m.assign,2)}return this.finishOp(m.bitwiseXOR,1)};Se.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||y.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(m.incDec,2)}if(t===61){return this.finishOp(m.assign,2)}return this.finishOp(m.plusMin,1)};Se.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1);var n=1;if(t===e){n=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+n)===61){return this.finishOp(m.assign,n+1)}return this.finishOp(m.bitShift,n)}if(t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(t===61){n=2}return this.finishOp(m.relational,n)};Se.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===61){return this.finishOp(m.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(e===61&&t===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(m.arrow)}return this.finishOp(e===61?m.eq:m.prefix,1)};Se.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(m.parenL);case 41:++this.pos;return this.finishToken(m.parenR);case 59:++this.pos;return this.finishToken(m.semi);case 44:++this.pos;return this.finishToken(m.comma);case 91:++this.pos;return this.finishToken(m.bracketL);case 93:++this.pos;return this.finishToken(m.bracketR);case 123:++this.pos;return this.finishToken(m.braceL);case 125:++this.pos;return this.finishToken(m.braceR);case 58:++this.pos;return this.finishToken(m.colon);case 63:++this.pos;return this.finishToken(m.question);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(m.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(t===111||t===79){return this.readRadixNumber(8)}if(t===98||t===66){return this.readRadixNumber(2)}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(false);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 126:return this.finishOp(m.prefix,1)}this.raise(this.pos,"Unexpected character '"+codePointToString$1(e)+"'")};Se.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);this.pos+=t;return this.finishToken(e,n)};Se.readRegexp=function(){var e,t,n=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(n,"Unterminated regular expression")}var r=this.input.charAt(this.pos);if(y.test(r)){this.raise(n,"Unterminated regular expression")}if(!e){if(r==="["){t=true}else if(r==="]"&&t){t=false}else if(r==="/"&&!t){break}e=r==="\\"}else{e=false}++this.pos}var s=this.input.slice(n,this.pos);++this.pos;var i=this.pos;var o=this.readWord1();if(this.containsEsc){this.unexpected(i)}var a=this.regexpState||(this.regexpState=new ke(this));a.reset(n,s,o);this.validateRegExpFlags(a);this.validateRegExpPattern(a);var c=null;try{c=new RegExp(s,o)}catch(e){}return this.finishToken(m.regexp,{pattern:s,flags:o,value:c})};Se.readInt=function(e,t){var n=this.pos,r=0;for(var s=0,i=t==null?Infinity:t;s=97){a=o-97+10}else if(o>=65){a=o-65+10}else if(o>=48&&o<=57){a=o-48}else{a=Infinity}if(a>=e){break}++this.pos;r=r*e+a}if(this.pos===n||t!=null&&this.pos-n!==t){return null}return r};Se.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var n=this.readInt(e);if(n==null){this.raise(this.start+2,"Expected number in radix "+e)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){n=typeof BigInt!=="undefined"?BigInt(this.input.slice(t,this.pos)):null;++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(m.num,n)};Se.readNumber=function(e){var t=this.pos;if(!e&&this.readInt(10)===null){this.raise(t,"Invalid number")}var n=this.pos-t>=2&&this.input.charCodeAt(t)===48;if(n&&this.strict){this.raise(t,"Invalid number")}if(n&&/[89]/.test(this.input.slice(t,this.pos))){n=false}var r=this.input.charCodeAt(this.pos);if(!n&&!e&&this.options.ecmaVersion>=11&&r===110){var s=this.input.slice(t,this.pos);var i=typeof BigInt!=="undefined"?BigInt(s):null;++this.pos;if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(m.num,i)}if(r===46&&!n){++this.pos;this.readInt(10);r=this.input.charCodeAt(this.pos)}if((r===69||r===101)&&!n){r=this.input.charCodeAt(++this.pos);if(r===43||r===45){++this.pos}if(this.readInt(10)===null){this.raise(t,"Invalid number")}}if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var o=this.input.slice(t,this.pos);var a=n?parseInt(o,8):parseFloat(o);return this.finishToken(m.num,a)};Se.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){if(this.options.ecmaVersion<6){this.unexpected()}var n=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(t>1114111){this.invalidStringToken(n,"Code point out of bounds")}}else{t=this.readHexChar(4)}return t};function codePointToString$1(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}Se.readString=function(e){var t="",n=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var r=this.input.charCodeAt(this.pos);if(r===e){break}if(r===92){t+=this.input.slice(n,this.pos);t+=this.readEscapedChar(false);n=this.pos}else{if(isNewLine(r,this.options.ecmaVersion>=10)){this.raise(this.start,"Unterminated string constant")}++this.pos}}t+=this.input.slice(n,this.pos++);return this.finishToken(m.string,t)};var Ee={};Se.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(e){if(e===Ee){this.readInvalidTemplateToken()}else{throw e}}this.inTemplateElement=false};Se.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw Ee}else{this.raise(e,t)}};Se.readTmplToken=function(){var e="",t=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var n=this.input.charCodeAt(this.pos);if(n===96||n===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===m.template||this.type===m.invalidTemplate)){if(n===36){this.pos+=2;return this.finishToken(m.dollarBraceL)}else{++this.pos;return this.finishToken(m.backQuote)}}e+=this.input.slice(t,this.pos);return this.finishToken(m.template,e)}if(n===92){e+=this.input.slice(t,this.pos);e+=this.readEscapedChar(true);t=this.pos}else if(isNewLine(n)){e+=this.input.slice(t,this.pos);++this.pos;switch(n){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(n);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}t=this.pos}else{++this.pos}}};Se.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var r=parseInt(n,8);if(r>255){n=n.slice(0,-1);r=parseInt(n,8)}this.pos+=n.length-1;t=this.input.charCodeAt(this.pos);if((n!=="0"||t===56||t===57)&&(this.strict||e)){this.invalidStringToken(this.pos-1-n.length,e?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode(r)}if(isNewLine(t)){return""}return String.fromCharCode(t)}};Se.readHexChar=function(e){var t=this.pos;var n=this.readInt(16,e);if(n===null){this.invalidStringToken(t,"Bad character escape sequence")}return n};Se.readWord1=function(){this.containsEsc=false;var e="",t=true,n=this.pos;var r=this.options.ecmaVersion>=6;while(this.pos{"use strict";const r=n(70181);class Definition{constructor(e,t,n,r,s,i){this.type=e;this.name=t;this.node=n;this.parent=r;this.index=s;this.kind=i}}class ParameterDefinition extends Definition{constructor(e,t,n,s){super(r.Parameter,e,t,null,n,null);this.rest=s}}e.exports={ParameterDefinition:ParameterDefinition,Definition:Definition}},84417:(e,t,n)=>{"use strict";const r=n(42357);const s=n(79589);const i=n(34883);const o=n(41112);const a=n(70181);const c=n(32968).Scope;const l=n(11335).i8;function defaultOptions(){return{optimistic:false,directive:false,nodejsScope:false,impliedStrict:false,sourceType:"script",ecmaVersion:5,childVisitorKeys:null,fallback:"iteration"}}function updateDeeply(e,t){function isHashObject(e){return typeof e==="object"&&e instanceof Object&&!(e instanceof Array)&&!(e instanceof RegExp)}for(const n in t){if(t.hasOwnProperty(n)){const r=t[n];if(isHashObject(r)){if(isHashObject(e[n])){updateDeeply(e[n],r)}else{e[n]=updateDeeply({},r)}}else{e[n]=r}}}return e}function analyze(e,t){const n=updateDeeply(defaultOptions(),t);const o=new s(n);const a=new i(n,o);a.visit(e);r(o.__currentScope===null,"currentScope should be null.");return o}e.exports={version:l,Reference:o,Variable:a,Scope:c,ScopeManager:s,analyze:analyze}},5548:(e,t,n)=>{"use strict";const r=n(18350).Syntax;const s=n(90094);function getLast(e){return e[e.length-1]||null}class PatternVisitor extends s.Visitor{static isPattern(e){const t=e.type;return t===r.Identifier||t===r.ObjectPattern||t===r.ArrayPattern||t===r.SpreadElement||t===r.RestElement||t===r.AssignmentPattern}constructor(e,t,n){super(null,e);this.rootPattern=t;this.callback=n;this.assignments=[];this.rightHandNodes=[];this.restElements=[]}Identifier(e){const t=getLast(this.restElements);this.callback(e,{topLevel:e===this.rootPattern,rest:t!==null&&t!==undefined&&t.argument===e,assignments:this.assignments})}Property(e){if(e.computed){this.rightHandNodes.push(e.key)}this.visit(e.value)}ArrayPattern(e){for(let t=0,n=e.elements.length;t{this.rightHandNodes.push(e)});this.visit(e.callee)}}e.exports=PatternVisitor},41112:e=>{"use strict";const t=1;const n=2;const r=t|n;class Reference{constructor(e,t,n,r,s,i,o){this.identifier=e;this.from=t;this.tainted=false;this.resolved=null;this.flag=n;if(this.isWrite()){this.writeExpr=r;this.partial=i;this.init=o}this.__maybeImplicitGlobal=s}isStatic(){return!this.tainted&&this.resolved&&this.resolved.scope.isStatic()}isWrite(){return!!(this.flag&Reference.WRITE)}isRead(){return!!(this.flag&Reference.READ)}isReadOnly(){return this.flag===Reference.READ}isWriteOnly(){return this.flag===Reference.WRITE}isReadWrite(){return this.flag===Reference.RW}}Reference.READ=t;Reference.WRITE=n;Reference.RW=r;e.exports=Reference},34883:(e,t,n)=>{"use strict";const r=n(18350).Syntax;const s=n(90094);const i=n(41112);const o=n(70181);const a=n(5548);const c=n(94117);const l=n(42357);const u=c.ParameterDefinition;const f=c.Definition;function traverseIdentifierInPattern(e,t,n,r){const s=new a(e,t,r);s.visit(t);if(n!==null&&n!==undefined){s.rightHandNodes.forEach(n.visit,n)}}class Importer extends s.Visitor{constructor(e,t){super(null,t.options);this.declaration=e;this.referencer=t}visitImport(e,t){this.referencer.visitPattern(e,e=>{this.referencer.currentScope().__define(e,new f(o.ImportBinding,e,t,this.declaration,null,null))})}ImportNamespaceSpecifier(e){const t=e.local||e.id;if(t){this.visitImport(t,e)}}ImportDefaultSpecifier(e){const t=e.local||e.id;this.visitImport(t,e)}ImportSpecifier(e){const t=e.local||e.id;if(e.name){this.visitImport(e.name,e)}else{this.visitImport(t,e)}}}class Referencer extends s.Visitor{constructor(e,t){super(null,e);this.options=e;this.scopeManager=t;this.parent=null;this.isInnerMethodDefinition=false}currentScope(){return this.scopeManager.__currentScope}close(e){while(this.currentScope()&&e===this.currentScope().block){this.scopeManager.__currentScope=this.currentScope().__close(this.scopeManager)}}pushInnerMethodDefinition(e){const t=this.isInnerMethodDefinition;this.isInnerMethodDefinition=e;return t}popInnerMethodDefinition(e){this.isInnerMethodDefinition=e}referencingDefaultValue(e,t,n,r){const s=this.currentScope();t.forEach(t=>{s.__referencing(e,i.WRITE,t.right,n,e!==t.left,r)})}visitPattern(e,t,n){if(typeof t==="function"){n=t;t={processRightHandNodes:false}}traverseIdentifierInPattern(this.options,e,t.processRightHandNodes?this:null,n)}visitFunction(e){let t,n;if(e.type===r.FunctionDeclaration){this.currentScope().__define(e.id,new f(o.FunctionName,e.id,e,null,null,null))}if(e.type===r.FunctionExpression&&e.id){this.scopeManager.__nestFunctionExpressionNameScope(e)}this.scopeManager.__nestFunctionScope(e,this.isInnerMethodDefinition);const s=this;function visitPatternCallback(n,r){s.currentScope().__define(n,new u(n,e,t,r.rest));s.referencingDefaultValue(n,r.assignments,null,true)}for(t=0,n=e.params.length;t{this.currentScope().__define(t,new u(t,e,e.params.length,true))})}if(e.body){if(e.body.type===r.BlockStatement){this.visitChildren(e.body)}else{this.visit(e.body)}}this.close(e)}visitClass(e){if(e.type===r.ClassDeclaration){this.currentScope().__define(e.id,new f(o.ClassName,e.id,e,null,null,null))}this.visit(e.superClass);this.scopeManager.__nestClassScope(e);if(e.id){this.currentScope().__define(e.id,new f(o.ClassName,e.id,e))}this.visit(e.body);this.close(e)}visitProperty(e){let t;if(e.computed){this.visit(e.key)}const n=e.type===r.MethodDefinition;if(n){t=this.pushInnerMethodDefinition(true)}this.visit(e.value);if(n){this.popInnerMethodDefinition(t)}}visitForIn(e){if(e.left.type===r.VariableDeclaration&&e.left.kind!=="var"){this.scopeManager.__nestForScope(e)}if(e.left.type===r.VariableDeclaration){this.visit(e.left);this.visitPattern(e.left.declarations[0].id,t=>{this.currentScope().__referencing(t,i.WRITE,e.right,null,true,true)})}else{this.visitPattern(e.left,{processRightHandNodes:true},(t,n)=>{let r=null;if(!this.currentScope().isStrict){r={pattern:t,node:e}}this.referencingDefaultValue(t,n.assignments,r,false);this.currentScope().__referencing(t,i.WRITE,e.right,r,true,false)})}this.visit(e.right);this.visit(e.body);this.close(e)}visitVariableDeclaration(e,t,n,r){const s=n.declarations[r];const o=s.init;this.visitPattern(s.id,{processRightHandNodes:true},(a,c)=>{e.__define(a,new f(t,a,s,n,r,n.kind));this.referencingDefaultValue(a,c.assignments,null,true);if(o){this.currentScope().__referencing(a,i.WRITE,o,null,!c.topLevel,true)}})}AssignmentExpression(e){if(a.isPattern(e.left)){if(e.operator==="="){this.visitPattern(e.left,{processRightHandNodes:true},(t,n)=>{let r=null;if(!this.currentScope().isStrict){r={pattern:t,node:e}}this.referencingDefaultValue(t,n.assignments,r,false);this.currentScope().__referencing(t,i.WRITE,e.right,r,!n.topLevel,false)})}else{this.currentScope().__referencing(e.left,i.RW,e.right)}}else{this.visit(e.left)}this.visit(e.right)}CatchClause(e){this.scopeManager.__nestCatchScope(e);this.visitPattern(e.param,{processRightHandNodes:true},(t,n)=>{this.currentScope().__define(t,new f(o.CatchClause,e.param,e,null,null,null));this.referencingDefaultValue(t,n.assignments,null,true)});this.visit(e.body);this.close(e)}Program(e){this.scopeManager.__nestGlobalScope(e);if(this.scopeManager.__isNodejsScope()){this.currentScope().isStrict=false;this.scopeManager.__nestFunctionScope(e,false)}if(this.scopeManager.__isES6()&&this.scopeManager.isModule()){this.scopeManager.__nestModuleScope(e)}if(this.scopeManager.isStrictModeSupported()&&this.scopeManager.isImpliedStrict()){this.currentScope().isStrict=true}this.visitChildren(e);this.close(e)}Identifier(e){this.currentScope().__referencing(e)}UpdateExpression(e){if(a.isPattern(e.argument)){this.currentScope().__referencing(e.argument,i.RW,null)}else{this.visitChildren(e)}}MemberExpression(e){this.visit(e.object);if(e.computed){this.visit(e.property)}}Property(e){this.visitProperty(e)}MethodDefinition(e){this.visitProperty(e)}BreakStatement(){}ContinueStatement(){}LabeledStatement(e){this.visit(e.body)}ForStatement(e){if(e.init&&e.init.type===r.VariableDeclaration&&e.init.kind!=="var"){this.scopeManager.__nestForScope(e)}this.visitChildren(e);this.close(e)}ClassExpression(e){this.visitClass(e)}ClassDeclaration(e){this.visitClass(e)}CallExpression(e){if(!this.scopeManager.__ignoreEval()&&e.callee.type===r.Identifier&&e.callee.name==="eval"){this.currentScope().variableScope.__detectEval()}this.visitChildren(e)}BlockStatement(e){if(this.scopeManager.__isES6()){this.scopeManager.__nestBlockScope(e)}this.visitChildren(e);this.close(e)}ThisExpression(){this.currentScope().variableScope.__detectThis()}WithStatement(e){this.visit(e.object);this.scopeManager.__nestWithScope(e);this.visit(e.body);this.close(e)}VariableDeclaration(e){const t=e.kind==="var"?this.currentScope().variableScope:this.currentScope();for(let n=0,r=e.declarations.length;n{"use strict";const r=n(32968);const s=n(42357);const i=r.GlobalScope;const o=r.CatchScope;const a=r.WithScope;const c=r.ModuleScope;const l=r.ClassScope;const u=r.SwitchScope;const f=r.FunctionScope;const p=r.ForScope;const d=r.FunctionExpressionNameScope;const h=r.BlockScope;class ScopeManager{constructor(e){this.scopes=[];this.globalScope=null;this.__nodeToScope=new WeakMap;this.__currentScope=null;this.__options=e;this.__declaredVariables=new WeakMap}__useDirective(){return this.__options.directive}__isOptimistic(){return this.__options.optimistic}__ignoreEval(){return this.__options.ignoreEval}__isNodejsScope(){return this.__options.nodejsScope}isModule(){return this.__options.sourceType==="module"}isImpliedStrict(){return this.__options.impliedStrict}isStrictModeSupported(){return this.__options.ecmaVersion>=5}__get(e){return this.__nodeToScope.get(e)}getDeclaredVariables(e){return this.__declaredVariables.get(e)||[]}acquire(e,t){function predicate(e){if(e.type==="function"&&e.functionExpressionScope){return false}return true}const n=this.__get(e);if(!n||n.length===0){return null}if(n.length===1){return n[0]}if(t){for(let e=n.length-1;e>=0;--e){const t=n[e];if(predicate(t)){return t}}}else{for(let e=0,t=n.length;e=6}}e.exports=ScopeManager},32968:(e,t,n)=>{"use strict";const r=n(18350).Syntax;const s=n(41112);const i=n(70181);const o=n(94117).Definition;const a=n(42357);function isStrictScope(e,t,n,s){let i;if(e.upper&&e.upper.isStrict){return true}if(n){return true}if(e.type==="class"||e.type==="module"){return true}if(e.type==="block"||e.type==="switch"){return false}if(e.type==="function"){if(t.type===r.ArrowFunctionExpression&&t.body.type!==r.BlockStatement){return false}if(t.type===r.Program){i=t}else{i=t.body}if(!i){return false}}else if(e.type==="global"){i=t}else{return false}if(s){for(let e=0,t=i.body.length;e0&&r.every(shouldBeStatically)}__staticCloseRef(e){if(!this.__resolve(e)){this.__delegateToUpperScope(e)}}__dynamicCloseRef(e){let t=this;do{t.through.push(e);t=t.upper}while(t)}__globalCloseRef(e){if(this.__shouldStaticallyCloseForGlobal(e)){this.__staticCloseRef(e)}else{this.__dynamicCloseRef(e)}}__close(e){let t;if(this.__shouldStaticallyClose(e)){t=this.__staticCloseRef}else if(this.type!=="global"){t=this.__dynamicCloseRef}else{t=this.__globalCloseRef}for(let e=0,n=this.__left.length;ee.name.range[0]>=n))}}class ForScope extends Scope{constructor(e,t,n){super(e,"for",t,n,false)}}class ClassScope extends Scope{constructor(e,t,n){super(e,"class",t,n,false)}}e.exports={Scope:Scope,GlobalScope:GlobalScope,ModuleScope:ModuleScope,FunctionExpressionNameScope:FunctionExpressionNameScope,CatchScope:CatchScope,WithScope:WithScope,BlockScope:BlockScope,SwitchScope:SwitchScope,FunctionScope:FunctionScope,ForScope:ForScope,ClassScope:ClassScope}},70181:e=>{"use strict";class Variable{constructor(e,t){this.name=e;this.identifiers=[];this.references=[];this.defs=[];this.tainted=false;this.stack=true;this.scope=t}}Variable.CatchClause="CatchClause";Variable.Parameter="Parameter";Variable.FunctionName="FunctionName";Variable.ClassName="ClassName";Variable.Variable="Variable";Variable.ImportBinding="ImportBinding";Variable.ImplicitGlobalVariable="ImplicitGlobalVariable";e.exports=Variable},53493:(e,t,n)=>{"use strict";var r=n(28614).EventEmitter;var s=n(36386);var i=n(91283);var o=n(90552);var a=n(85622);var c=n(37888);var l=1e3;function withoutCase(e){return e.toLowerCase()}function Watcher(e,t,n){r.call(this);this.directoryWatcher=e;this.path=t;this.startTime=n&&+n;this.data=0}Watcher.prototype=Object.create(r.prototype);Watcher.prototype.constructor=Watcher;Watcher.prototype.checkStartTime=function checkStartTime(e,t){if(typeof this.startTime!=="number")return!t;var n=this.startTime;return n<=e};Watcher.prototype.close=function close(){this.emit("closed")};function DirectoryWatcher(e,t){r.call(this);this.options=t;this.path=e;this.files=Object.create(null);this.directories=Object.create(null);var n=typeof t.poll==="number"?t.poll:undefined;this.watcher=i.watch(e,{ignoreInitial:true,persistent:true,followSymlinks:false,depth:0,atomic:false,alwaysStat:true,ignorePermissionErrors:true,ignored:t.ignored,usePolling:t.poll?true:undefined,interval:n,binaryInterval:n,disableGlobbing:true});this.watcher.on("add",this.onFileAdded.bind(this));this.watcher.on("addDir",this.onDirectoryAdded.bind(this));this.watcher.on("change",this.onChange.bind(this));this.watcher.on("unlink",this.onFileUnlinked.bind(this));this.watcher.on("unlinkDir",this.onDirectoryUnlinked.bind(this));this.watcher.on("error",this.onWatcherError.bind(this));this.initialScan=true;this.nestedWatching=false;this.initialScanRemoved=[];this.doInitialScan();this.watchers=Object.create(null);this.parentWatcher=null;this.refs=0}e.exports=DirectoryWatcher;DirectoryWatcher.prototype=Object.create(r.prototype);DirectoryWatcher.prototype.constructor=DirectoryWatcher;DirectoryWatcher.prototype.setFileTime=function setFileTime(e,t,n,r){var s=Date.now();var i=this.files[e];this.files[e]=[n?Math.min(s,t):s,t];if(t)t=t+l;if(!i){if(t){if(this.watchers[withoutCase(e)]){this.watchers[withoutCase(e)].forEach(function(e){if(!n||e.checkStartTime(t,n)){e.emit("change",t,n?"initial":r)}})}}}else if(!n&&t){if(this.watchers[withoutCase(e)]){this.watchers[withoutCase(e)].forEach(function(e){e.emit("change",t,r)})}}else if(!n&&!t){if(this.watchers[withoutCase(e)]){this.watchers[withoutCase(e)].forEach(function(e){e.emit("remove",r)})}}if(this.watchers[withoutCase(this.path)]){this.watchers[withoutCase(this.path)].forEach(function(s){if(!n||s.checkStartTime(t,n)){s.emit("change",e,t,n?"initial":r)}})}};DirectoryWatcher.prototype.setDirectory=function setDirectory(e,t,n,r){if(e===this.path){if(!n&&this.watchers[withoutCase(this.path)]){this.watchers[withoutCase(this.path)].forEach(function(t){t.emit("change",e,t.data,n?"initial":r)})}}else{var s=this.directories[e];if(!s){if(t){if(this.nestedWatching){this.createNestedWatcher(e)}else{this.directories[e]=true}if(!n&&this.watchers[withoutCase(this.path)]){this.watchers[withoutCase(this.path)].forEach(function(t){t.emit("change",e,t.data,n?"initial":r)})}if(this.watchers[withoutCase(e)+"#directory"]){this.watchers[withoutCase(e)+"#directory"].forEach(function(e){e.emit("change",e.data,n?"initial":r)})}}}else{if(!t){if(this.nestedWatching)this.directories[e].close();delete this.directories[e];if(!n&&this.watchers[withoutCase(this.path)]){this.watchers[withoutCase(this.path)].forEach(function(t){t.emit("change",e,t.data,n?"initial":r)})}if(this.watchers[withoutCase(e)+"#directory"]){this.watchers[withoutCase(e)+"#directory"].forEach(function(t){t.emit("change",e,t.data,n?"initial":r)})}}}}};DirectoryWatcher.prototype.createNestedWatcher=function(e){this.directories[e]=c.watchDirectory(e,this.options,1);this.directories[e].on("change",function(e,t,n){if(this.watchers[withoutCase(this.path)]){this.watchers[withoutCase(this.path)].forEach(function(r){if(r.checkStartTime(t,false)){r.emit("change",e,t,n)}})}}.bind(this))};DirectoryWatcher.prototype.setNestedWatching=function(e){if(this.nestedWatching!==!!e){this.nestedWatching=!!e;if(this.nestedWatching){Object.keys(this.directories).forEach(function(e){this.createNestedWatcher(e)},this)}else{Object.keys(this.directories).forEach(function(e){this.directories[e].close();this.directories[e]=true},this)}}};DirectoryWatcher.prototype.watch=function watch(e,t){this.watchers[withoutCase(e)]=this.watchers[withoutCase(e)]||[];this.refs++;var n=new Watcher(this,e,t);n.on("closed",function(){var t=this.watchers[withoutCase(e)].indexOf(n);this.watchers[withoutCase(e)].splice(t,1);if(this.watchers[withoutCase(e)].length===0){delete this.watchers[withoutCase(e)];if(this.path===e)this.setNestedWatching(false)}if(--this.refs<=0)this.close()}.bind(this));this.watchers[withoutCase(e)].push(n);var r;if(e===this.path){this.setNestedWatching(true);r=false;Object.keys(this.files).forEach(function(e){var t=this.files[e];if(!r)r=t;else r=[Math.max(r[0],t[0]),Math.max(r[1],t[1])]},this)}else{r=this.files[e]}process.nextTick(function(){if(r){var s=r[0]===r[1]?r[0]+l:r[0];if(s>=t)n.emit("change",r[1])}else if(this.initialScan&&this.initialScanRemoved.indexOf(e)>=0){n.emit("remove")}}.bind(this));return n};DirectoryWatcher.prototype.onFileAdded=function onFileAdded(e,t){if(e.indexOf(this.path)!==0)return;if(/[\\\/]/.test(e.substr(this.path.length+1)))return;this.setFileTime(e,+t.mtime||+t.ctime||1,false,"add")};DirectoryWatcher.prototype.onDirectoryAdded=function onDirectoryAdded(e){if(e.indexOf(this.path)!==0)return;if(/[\\\/]/.test(e.substr(this.path.length+1)))return;this.setDirectory(e,true,false,"add")};DirectoryWatcher.prototype.onChange=function onChange(e,t){if(e.indexOf(this.path)!==0)return;if(/[\\\/]/.test(e.substr(this.path.length+1)))return;var n=+t.mtime||+t.ctime||1;ensureFsAccuracy(n);this.setFileTime(e,n,false,"change")};DirectoryWatcher.prototype.onFileUnlinked=function onFileUnlinked(e){if(e.indexOf(this.path)!==0)return;if(/[\\\/]/.test(e.substr(this.path.length+1)))return;this.setFileTime(e,null,false,"unlink");if(this.initialScan){this.initialScanRemoved.push(e)}};DirectoryWatcher.prototype.onDirectoryUnlinked=function onDirectoryUnlinked(e){if(e.indexOf(this.path)!==0)return;if(/[\\\/]/.test(e.substr(this.path.length+1)))return;this.setDirectory(e,false,false,"unlink");if(this.initialScan){this.initialScanRemoved.push(e)}};DirectoryWatcher.prototype.onWatcherError=function onWatcherError(e){console.warn("Error from chokidar ("+this.path+"): "+e)};DirectoryWatcher.prototype.doInitialScan=function doInitialScan(){o.readdir(this.path,function(e,t){if(e){this.parentWatcher=c.watchFile(this.path+"#directory",this.options,1);this.parentWatcher.on("change",function(e,t){if(this.watchers[withoutCase(this.path)]){this.watchers[withoutCase(this.path)].forEach(function(n){n.emit("change",this.path,e,t)},this)}}.bind(this));this.initialScan=false;return}s.forEach(t,function(e,t){var n=a.join(this.path,e);o.stat(n,function(e,r){if(!this.initialScan)return;if(e){t();return}if(r.isFile()){if(!this.files[n])this.setFileTime(n,+r.mtime||+r.ctime||1,true)}else if(r.isDirectory()){if(!this.directories[n])this.setDirectory(n,true,true)}t()}.bind(this))}.bind(this),function(){this.initialScan=false;this.initialScanRemoved=null}.bind(this))}.bind(this))};DirectoryWatcher.prototype.getTimes=function(){var e=Object.create(null);var t=0;Object.keys(this.files).forEach(function(n){var r=this.files[n];var s;if(r[1]){s=Math.max(r[0],r[1]+l)}else{s=r[0]}e[n]=s;if(s>t)t=s},this);if(this.nestedWatching){Object.keys(this.directories).forEach(function(n){var r=this.directories[n];var s=r.directoryWatcher.getTimes();Object.keys(s).forEach(function(n){var r=s[n];e[n]=r;if(r>t)t=r})},this);e[this.path]=t}return e};DirectoryWatcher.prototype.close=function(){this.initialScan=false;var e=this.watcher.close();if(e&&e.catch)e.catch(this.onWatcherError.bind(this));if(this.nestedWatching){Object.keys(this.directories).forEach(function(e){this.directories[e].close()},this)}if(this.parentWatcher)this.parentWatcher.close();this.emit("closed")};function ensureFsAccuracy(e){if(!e)return;if(l>1&&e%1!==0)l=1;else if(l>10&&e%10!==0)l=10;else if(l>100&&e%100!==0)l=100}},91283:(e,t,n)=>{var r;try{e.exports=n(47257);return}catch(e){r=e}var s;try{e.exports=n(41473);return}catch(e){s=e}throw new Error("No version of chokidar is available. Tried chokidar@2 and chokidar@3.\n"+"You could try to manually install any chokidar version.\n"+"chokidar@3: "+r+"\n"+"chokidar@2: "+s+"\n")},37888:(e,t,n)=>{"use strict";var r=n(85622);function WatcherManager(){this.directoryWatchers={}}WatcherManager.prototype.getDirectoryWatcher=function(e,t){var r=n(53493);t=t||{};var s=e+" "+JSON.stringify(t);if(!this.directoryWatchers[s]){this.directoryWatchers[s]=new r(e,t);this.directoryWatchers[s].on("closed",function(){delete this.directoryWatchers[s]}.bind(this))}return this.directoryWatchers[s]};WatcherManager.prototype.watchFile=function watchFile(e,t,n){var s=r.dirname(e);return this.getDirectoryWatcher(s,t).watch(e,n)};WatcherManager.prototype.watchDirectory=function watchDirectory(e,t,n){return this.getDirectoryWatcher(e,t).watch(e,n)};e.exports=new WatcherManager},51702:(e,t,n)=>{"use strict";var r=n(37888);var s=n(28614).EventEmitter;function Watchpack(e){s.call(this);if(!e)e={};if(!e.aggregateTimeout)e.aggregateTimeout=200;this.options=e;this.watcherOptions={ignored:e.ignored,poll:e.poll};this.fileWatchers=[];this.dirWatchers=[];this.mtimes=Object.create(null);this.paused=false;this.aggregatedChanges=[];this.aggregatedRemovals=[];this.aggregateTimeout=0;this._onTimeout=this._onTimeout.bind(this)}e.exports=Watchpack;Watchpack.prototype=Object.create(s.prototype);Watchpack.prototype.watch=function watch(e,t,n){this.paused=false;var s=this.fileWatchers;var i=this.dirWatchers;this.fileWatchers=e.map(function(e){return this._fileWatcher(e,r.watchFile(e,this.watcherOptions,n))},this);this.dirWatchers=t.map(function(e){return this._dirWatcher(e,r.watchDirectory(e,this.watcherOptions,n))},this);s.forEach(function(e){e.close()},this);i.forEach(function(e){e.close()},this)};Watchpack.prototype.close=function resume(){this.paused=true;if(this.aggregateTimeout)clearTimeout(this.aggregateTimeout);this.fileWatchers.forEach(function(e){e.close()},this);this.dirWatchers.forEach(function(e){e.close()},this);this.fileWatchers.length=0;this.dirWatchers.length=0};Watchpack.prototype.pause=function pause(){this.paused=true;if(this.aggregateTimeout)clearTimeout(this.aggregateTimeout)};function addWatchersToArray(e,t){e.forEach(function(e){if(t.indexOf(e.directoryWatcher)<0){t.push(e.directoryWatcher);addWatchersToArray(Object.keys(e.directoryWatcher.directories).reduce(function(t,n){if(e.directoryWatcher.directories[n]!==true)t.push(e.directoryWatcher.directories[n]);return t},[]),t)}})}Watchpack.prototype.getTimes=function(){var e=[];addWatchersToArray(this.fileWatchers.concat(this.dirWatchers),e);var t=Object.create(null);e.forEach(function(e){var n=e.getTimes();Object.keys(n).forEach(function(e){t[e]=n[e]})});return t};Watchpack.prototype._fileWatcher=function _fileWatcher(e,t){t.on("change",function(t,n){this._onChange(e,t,e,n)}.bind(this));t.on("remove",function(t){this._onRemove(e,e,t)}.bind(this));return t};Watchpack.prototype._dirWatcher=function _dirWatcher(e,t){t.on("change",function(t,n,r){this._onChange(e,n,t,r)}.bind(this));return t};Watchpack.prototype._onChange=function _onChange(e,t,n){n=n||e;this.mtimes[n]=t;if(this.paused)return;this.emit("change",n,t);if(this.aggregateTimeout)clearTimeout(this.aggregateTimeout);if(this.aggregatedChanges.indexOf(e)<0)this.aggregatedChanges.push(e);this.aggregateTimeout=setTimeout(this._onTimeout,this.options.aggregateTimeout)};Watchpack.prototype._onRemove=function _onRemove(e,t){t=t||e;delete this.mtimes[e];if(this.paused)return;this.emit("remove",e);if(this.aggregateTimeout)clearTimeout(this.aggregateTimeout);if(this.aggregatedRemovals.indexOf(e)<0)this.aggregatedRemovals.push(e);this.aggregateTimeout=setTimeout(this._onTimeout,this.options.aggregateTimeout)};Watchpack.prototype._onTimeout=function _onTimeout(){this.aggregateTimeout=0;var e=this.aggregatedChanges;var t=this.aggregatedRemovals;this.aggregatedChanges=[];this.aggregatedRemovals=[];this.emit("aggregated",e,t)}},43205:e=>{"use strict";const t=(e,t,n)=>({keyword:"absolutePath",params:{absolutePath:t},message:n,parentSchema:e});const n=(e,n,r)=>{const s=e?`The provided value ${JSON.stringify(n)} is not an absolute path!`:`A relative path is expected. However, the provided value ${JSON.stringify(n)} is an absolute path!`;return t(r,n,s)};e.exports=(e=>e.addKeyword("absolutePath",{errors:true,type:"string",compile(e,r){function callback(s){let i=true;const o=s.includes("!");if(o){callback.errors=[t(r,s,`The provided value ${JSON.stringify(s)} contains exclamation mark (!) which is not allowed because it's reserved for loader syntax.`)];i=false}const a=e===/^(?:[A-Za-z]:\\|\\\\|\/)/.test(s);if(!a){callback.errors=[n(e,s,r)];i=false}return i}callback.errors=[];return callback}}))},12962:(e,t,n)=>{"use strict";const r={workerOptions:{},maxCallsPerWorker:Infinity,maxConcurrentWorkers:(n(12087).cpus()||{length:1}).length,maxConcurrentCallsPerWorker:10,maxConcurrentCalls:Infinity,maxCallTime:Infinity,maxRetries:Infinity,forcedKillTime:100,autoStart:false,onChild:function(){}};const s=n(23334),i=n(55).create("TimeoutError"),o=n(55).create("ProcessTerminatedError"),a=n(55).create("MaxConcurrentCallsError");function Farm(e,t){this.options=Object.assign({},r,e);this.path=t;this.activeCalls=0}Farm.prototype.mkhandle=function(e){return function(){let t=Array.prototype.slice.call(arguments);if(this.activeCalls+this.callQueue.length>=this.options.maxConcurrentCalls){let e=new a("Too many concurrent calls (active: "+this.activeCalls+", queued: "+this.callQueue.length+")");if(typeof t[t.length-1]=="function")return process.nextTick(t[t.length-1].bind(null,e));throw e}this.addCall({method:e,callback:t.pop(),args:t,retries:0})}.bind(this)};Farm.prototype.setup=function(e){let t;if(!e){t=this.mkhandle()}else{t={};e.forEach(function(e){t[e]=this.mkhandle(e)}.bind(this))}this.searchStart=-1;this.childId=-1;this.children={};this.activeChildren=0;this.callQueue=[];if(this.options.autoStart){while(this.activeChildren=this.options.maxRetries){this.receive({idx:r,child:e,args:[new o("cancel after "+n.retries+" retries!")]})}else{n.retries++;this.callQueue.unshift(n);t=true}}.bind(this))}this.stopChild(e);t&&this.processQueue()}.bind(this),10)};Farm.prototype.startChild=function(){this.childId++;let e=s(this.path,this.options.workerOptions),t=this.childId,n={send:e.send,child:e.child,calls:[],activeCalls:0,exitCode:null};this.options.onChild(e.child);e.child.on("message",function(e){if(e.owner!=="farm"){return}this.receive(e)}.bind(this));e.child.once("exit",function(e){n.exitCode=e;this.onExit(t)}.bind(this));this.activeChildren++;this.children[t]=n};Farm.prototype.stopChild=function(e){let t=this.children[e];if(t){t.send({owner:"farm",event:"die"});setTimeout(function(){if(t.exitCode===null)t.child.kill("SIGKILL")},this.options.forcedKillTime).unref();delete this.children[e];this.activeChildren--}};Farm.prototype.receive=function(e){let t=e.idx,n=e.child,r=e.args,s=this.children[n],i;if(!s){return console.error("Worker Farm: Received message for unknown child. "+"This is likely as a result of premature child death, "+"the operation will have been re-queued.")}i=s.calls[t];if(!i){return console.error("Worker Farm: Received message for unknown index for existing child. "+"This should not happen!")}if(this.options.maxCallTime!==Infinity)clearTimeout(i.timer);if(r[0]&&r[0].$error=="$error"){let e=r[0];switch(e.type){case"TypeError":r[0]=new TypeError(e.message);break;case"RangeError":r[0]=new RangeError(e.message);break;case"EvalError":r[0]=new EvalError(e.message);break;case"ReferenceError":r[0]=new ReferenceError(e.message);break;case"SyntaxError":r[0]=new SyntaxError(e.message);break;case"URIError":r[0]=new URIError(e.message);break;default:r[0]=new Error(e.message)}r[0].type=e.type;r[0].stack=e.stack;Object.keys(e).forEach(function(t){r[0][t]=e[t]})}process.nextTick(function(){i.callback.apply(null,r)});delete s.calls[t];s.activeCalls--;this.activeCalls--;if(s.calls.length>=this.options.maxCallsPerWorker&&!Object.keys(s.calls).length){this.stopChild(n)}this.processQueue()};Farm.prototype.childTimeout=function(e){let t=this.children[e],n;if(!t)return;for(n in t.calls){this.receive({idx:n,child:e,args:[new i("worker call timed out!")]})}this.stopChild(e)};Farm.prototype.send=function(e,t){let n=this.children[e],r=n.calls.length;n.calls.push(t);n.activeCalls++;this.activeCalls++;n.send({owner:"farm",idx:r,child:e,method:t.method,args:t.args});if(this.options.maxCallTime!==Infinity){t.timer=setTimeout(this.childTimeout.bind(this,e),this.options.maxCallTime)}};Farm.prototype.childKeys=function(){let e=Object.keys(this.children),t;if(this.searchStart>=e.length-1)this.searchStart=0;else this.searchStart++;t=e.splice(0,this.searchStart);return e.concat(t)};Farm.prototype.processQueue=function(){let e,t=0,n;if(!this.callQueue.length)return this.ending&&this.end();if(this.activeChildren{"use strict";const r=n(63129),s=n.ab+"index12.js";function fork(e,t){let s=process.execArgv.filter(function(e){return!/^--(debug|inspect)/.test(e)}),i=Object.assign({execArgv:s,env:process.env,cwd:process.cwd()},t),o=r.fork(n.ab+"index12.js",process.argv,i);o.on("error",function(){});o.send({owner:"farm",module:e});return{send:o.send.bind(o),child:o}}e.exports=fork},53982:(e,t,n)=>{"use strict";const r=n(12962);let s=[];function farm(e,t,n){if(typeof e=="string"){n=t;t=e;e={}}let i=new r(e,t),o=i.setup(n);s.push({farm:i,api:o});return o}function end(e,t){for(let n=0;n{e.exports=function(){return{default:n(46243),BasicEvaluatedExpression:n(52518),NodeTargetPlugin:n(72746),ModuleFilenameHelpers:n(74491),GraphHelpers:n(43445)}}},90601:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},98938:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},25916:e=>{"use strict";e.exports={version:"4.2.1"}},35464:e=>{"use strict";e.exports={i8:"4.3.0"}},11840:e=>{"use strict";e.exports=JSON.parse('{"additionalProperties":false,"definitions":{"file-conditions":{"anyOf":[{"instanceof":"RegExp"},{"type":"string"}]}},"properties":{"test":{"anyOf":[{"$ref":"#/definitions/file-conditions"},{"items":{"anyOf":[{"$ref":"#/definitions/file-conditions"}]},"type":"array"}]},"include":{"anyOf":[{"$ref":"#/definitions/file-conditions"},{"items":{"anyOf":[{"$ref":"#/definitions/file-conditions"}]},"type":"array"}]},"exclude":{"anyOf":[{"$ref":"#/definitions/file-conditions"},{"items":{"anyOf":[{"$ref":"#/definitions/file-conditions"}]},"type":"array"}]},"chunkFilter":{"instanceof":"Function"},"cache":{"anyOf":[{"type":"boolean"},{"type":"string"}]},"cacheKeys":{"instanceof":"Function"},"parallel":{"anyOf":[{"type":"boolean"},{"type":"integer"}]},"sourceMap":{"type":"boolean"},"minify":{"instanceof":"Function"},"terserOptions":{"additionalProperties":true,"type":"object"},"extractComments":{"anyOf":[{"type":"boolean"},{"type":"string"},{"instanceof":"RegExp"},{"instanceof":"Function"},{"additionalProperties":false,"properties":{"condition":{"anyOf":[{"type":"boolean"},{"type":"string"},{"instanceof":"RegExp"},{"instanceof":"Function"}]},"filename":{"anyOf":[{"type":"string"},{"instanceof":"Function"}]},"banner":{"anyOf":[{"type":"boolean"},{"type":"string"},{"instanceof":"Function"}]}},"type":"object"}]},"warningsFilter":{"instanceof":"Function"}},"type":"object"}')},92203:e=>{"use strict";e.exports=JSON.parse('{"name":"terser","description":"JavaScript parser, mangler/compressor and beautifier toolkit for ES6+","homepage":"https://terser.org","author":"Mihai Bazon (http://lisperator.net/)","license":"BSD-2-Clause","version":"4.8.0","engines":{"node":">=6.0.0"},"maintainers":["Fábio Santos "],"repository":"https://github.com/terser/terser","main":"dist/bundle.min.js","types":"tools/terser.d.ts","bin":{"terser":"bin/terser"},"files":["bin","dist","tools","LICENSE","README.md","CHANGELOG.md","PATRONS.md"],"dependencies":{"commander":"^2.20.0","source-map":"~0.6.1","source-map-support":"~0.5.12"},"devDependencies":{"acorn":"^7.1.1","astring":"^1.4.1","eslint":"^6.3.0","eslump":"^2.0.0","mocha":"^7.1.2","mochallel":"^2.0.0","pre-commit":"^1.2.2","rimraf":"^3.0.0","rollup":"2.0.6","rollup-plugin-terser":"5.3.0","semver":"^7.1.3"},"scripts":{"test":"npm run build -- --configTest && node test/run-tests.js","test:compress":"npm run build -- --configTest && node test/compress.js","test:mocha":"npm run build -- --configTest && node test/mocha.js","lint":"eslint lib","lint-fix":"eslint --fix lib","build":"rimraf dist/* && rollup --config --silent","prepare":"npm run build","postversion":"echo \'Remember to update the changelog!\'"},"keywords":["uglify","terser","uglify-es","uglify-js","minify","minifier","javascript","ecmascript","es5","es6","es7","es8","es2015","es2016","es2017","async","await"],"eslintConfig":{"parserOptions":{"sourceType":"module"},"env":{"es6":true},"globals":{"describe":false,"it":false,"require":false,"global":false,"process":false},"rules":{"brace-style":["error","1tbs",{"allowSingleLine":true}],"quotes":["error","double","avoid-escape"],"no-debugger":"error","no-undef":"error","no-unused-vars":["error",{"varsIgnorePattern":"^_$"}],"no-tabs":"error","semi":["error","always"],"no-extra-semi":"error","no-irregular-whitespace":"error","space-before-blocks":["error","always"]}},"pre-commit":["lint-fix","test"]}')},9122:e=>{"use strict";e.exports={i8:"1.4.4"}},11335:e=>{"use strict";e.exports={i8:"4.0.3"}},71618:e=>{"use strict";e.exports={i8:"4.44.1"}},37863:e=>{"use strict";e.exports=JSON.parse('{"definitions":{"ArrayOfStringOrStringArrayValues":{"type":"array","items":{"description":"string or array of strings","anyOf":[{"type":"string","minLength":1},{"type":"array","items":{"description":"A non-empty string","type":"string","minLength":1}}]}},"ArrayOfStringValues":{"type":"array","items":{"description":"A non-empty string","type":"string","minLength":1}},"Entry":{"anyOf":[{"$ref":"#/definitions/EntryDynamic"},{"$ref":"#/definitions/EntryStatic"}]},"EntryDynamic":{"description":"A Function returning an entry object, an entry string, an entry array or a promise to these things.","instanceof":"Function","tsType":"(() => EntryStatic | Promise)"},"EntryItem":{"oneOf":[{"description":"An entry point without name. The string is resolved to a module which is loaded upon startup.","type":"string","minLength":1},{"description":"An entry point without name. All modules are loaded upon startup. The last one is exported.","anyOf":[{"$ref":"#/definitions/NonEmptyArrayOfUniqueStringValues"}]}]},"EntryObject":{"description":"Multiple entry bundles are created. The key is the chunk name. The value can be a string or an array.","type":"object","additionalProperties":{"description":"An entry point with name","oneOf":[{"description":"The string is resolved to a module which is loaded upon startup.","type":"string","minLength":1},{"description":"All modules are loaded upon startup. The last one is exported.","anyOf":[{"$ref":"#/definitions/NonEmptyArrayOfUniqueStringValues"}]}]},"minProperties":1},"EntryStatic":{"oneOf":[{"$ref":"#/definitions/EntryObject"},{"$ref":"#/definitions/EntryItem"}]},"ExternalItem":{"anyOf":[{"description":"An exact matched dependency becomes external. The same string is used as external dependency.","type":"string"},{"description":"If an dependency matches exactly a property of the object, the property value is used as dependency.","type":"object","additionalProperties":{"description":"The dependency used for the external","anyOf":[{"type":"string"},{"type":"object"},{"$ref":"#/definitions/ArrayOfStringValues"},{"type":"boolean"}]}},{"description":"Every matched dependency becomes external.","instanceof":"RegExp","tsType":"RegExp"}]},"Externals":{"anyOf":[{"description":"`function(context, request, callback(err, result))` The function is called on each dependency.","instanceof":"Function","tsType":"((context: string, request: string, callback: (err?: Error, result?: string) => void) => void)"},{"$ref":"#/definitions/ExternalItem"},{"type":"array","items":{"description":"External configuration","anyOf":[{"description":"`function(context, request, callback(err, result))` The function is called on each dependency.","instanceof":"Function","tsType":"((context: string, request: string, callback: (err?: Error, result?: string) => void) => void)"},{"$ref":"#/definitions/ExternalItem"}]}}]},"FilterItemTypes":{"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"((value: string) => boolean)"}]},"FilterTypes":{"anyOf":[{"$ref":"#/definitions/FilterItemTypes"},{"type":"array","items":{"description":"Rule to filter","anyOf":[{"$ref":"#/definitions/FilterItemTypes"}]}}]},"LibraryCustomUmdObject":{"type":"object","additionalProperties":false,"properties":{"amd":{"description":"Name of the exposed AMD library in the UMD","type":"string"},"commonjs":{"description":"Name of the exposed commonjs export in the UMD","type":"string"},"root":{"description":"Name of the property exposed globally by a UMD library","anyOf":[{"type":"string"},{"$ref":"#/definitions/ArrayOfStringValues"}]}}},"ModuleOptions":{"type":"object","additionalProperties":false,"properties":{"defaultRules":{"description":"An array of rules applied by default for modules.","anyOf":[{"$ref":"#/definitions/RuleSetRules"}]},"exprContextCritical":{"description":"Enable warnings for full dynamic dependencies","type":"boolean"},"exprContextRecursive":{"description":"Enable recursive directory lookup for full dynamic dependencies","type":"boolean"},"exprContextRegExp":{"description":"Sets the default regular expression for full dynamic dependencies","anyOf":[{"type":"boolean"},{"instanceof":"RegExp","tsType":"RegExp"}]},"exprContextRequest":{"description":"Set the default request for full dynamic dependencies","type":"string"},"noParse":{"description":"Don\'t parse files matching. It\'s matched against the full resolved request.","anyOf":[{"type":"array","items":{"description":"A regular expression, when matched the module is not parsed","instanceof":"RegExp","tsType":"RegExp"},"minItems":1},{"instanceof":"RegExp","tsType":"RegExp"},{"instanceof":"Function","tsType":"Function"},{"type":"array","items":{"description":"An absolute path, when the module starts with this path it is not parsed","type":"string","absolutePath":true},"minItems":1},{"type":"string","absolutePath":true}]},"rules":{"description":"An array of rules applied for modules.","anyOf":[{"$ref":"#/definitions/RuleSetRules"}]},"strictExportPresence":{"description":"Emit errors instead of warnings when imported names don\'t exist in imported module","type":"boolean"},"strictThisContextOnImports":{"description":"Handle the this context correctly according to the spec for namespace objects","type":"boolean"},"unknownContextCritical":{"description":"Enable warnings when using the require function in a not statically analyse-able way","type":"boolean"},"unknownContextRecursive":{"description":"Enable recursive directory lookup when using the require function in a not statically analyse-able way","type":"boolean"},"unknownContextRegExp":{"description":"Sets the regular expression when using the require function in a not statically analyse-able way","anyOf":[{"type":"boolean"},{"instanceof":"RegExp","tsType":"RegExp"}]},"unknownContextRequest":{"description":"Sets the request when using the require function in a not statically analyse-able way","type":"string"},"unsafeCache":{"description":"Cache the resolving of module requests","anyOf":[{"type":"boolean"},{"instanceof":"Function","tsType":"Function"}]},"wrappedContextCritical":{"description":"Enable warnings for partial dynamic dependencies","type":"boolean"},"wrappedContextRecursive":{"description":"Enable recursive directory lookup for partial dynamic dependencies","type":"boolean"},"wrappedContextRegExp":{"description":"Set the inner regular expression for partial dynamic dependencies","instanceof":"RegExp","tsType":"RegExp"}}},"NodeOptions":{"type":"object","additionalProperties":{"description":"Include a polyfill for the node.js module","enum":[false,true,"mock","empty"]},"properties":{"Buffer":{"description":"Include a polyfill for the \'Buffer\' variable","enum":[false,true,"mock"]},"__dirname":{"description":"Include a polyfill for the \'__dirname\' variable","enum":[false,true,"mock"]},"__filename":{"description":"Include a polyfill for the \'__filename\' variable","enum":[false,true,"mock"]},"console":{"description":"Include a polyfill for the \'console\' variable","enum":[false,true,"mock"]},"global":{"description":"Include a polyfill for the \'global\' variable","type":"boolean"},"process":{"description":"Include a polyfill for the \'process\' variable","enum":[false,true,"mock"]}}},"NonEmptyArrayOfUniqueStringValues":{"description":"A non-empty array of non-empty strings","type":"array","items":{"description":"A non-empty string","type":"string","minLength":1},"minItems":1,"uniqueItems":true},"OptimizationOptions":{"description":"Enables/Disables integrated optimizations","type":"object","additionalProperties":false,"properties":{"checkWasmTypes":{"description":"Check for incompatible wasm types when importing/exporting from/to ESM","type":"boolean"},"chunkIds":{"description":"Define the algorithm to choose chunk ids (named: readable ids for better debugging, size: numeric ids focused on minimal initial download size, total-size: numeric ids focused on minimal total download size, false: no algorithm used, as custom one can be provided via plugin)","enum":["natural","named","size","total-size",false]},"concatenateModules":{"description":"Concatenate modules when possible to generate less modules, more efficient code and enable more optimizations by the minimizer","type":"boolean"},"flagIncludedChunks":{"description":"Also flag chunks as loaded which contain a subset of the modules","type":"boolean"},"hashedModuleIds":{"description":"Use hashed module id instead module identifiers for better long term caching (deprecated, used moduleIds: hashed instead)","type":"boolean"},"mangleWasmImports":{"description":"Reduce size of WASM by changing imports to shorter strings.","type":"boolean"},"mergeDuplicateChunks":{"description":"Merge chunks which contain the same modules","type":"boolean"},"minimize":{"description":"Enable minimizing the output. Uses optimization.minimizer.","type":"boolean"},"minimizer":{"description":"Minimizer(s) to use for minimizing the output","type":"array","items":{"description":"Plugin of type object or instanceof Function","anyOf":[{"$ref":"#/definitions/WebpackPluginInstance"},{"$ref":"#/definitions/WebpackPluginFunction"}]}},"moduleIds":{"description":"Define the algorithm to choose module ids (natural: numeric ids in order of usage, named: readable ids for better debugging, hashed: short hashes as ids for better long term caching, size: numeric ids focused on minimal initial download size, total-size: numeric ids focused on minimal total download size, false: no algorithm used, as custom one can be provided via plugin)","enum":["natural","named","hashed","size","total-size",false]},"namedChunks":{"description":"Use readable chunk identifiers for better debugging (deprecated, used chunkIds: named instead)","type":"boolean"},"namedModules":{"description":"Use readable module identifiers for better debugging (deprecated, used moduleIds: named instead)","type":"boolean"},"noEmitOnErrors":{"description":"Avoid emitting assets when errors occur","type":"boolean"},"nodeEnv":{"description":"Set process.env.NODE_ENV to a specific value","anyOf":[{"enum":[false]},{"type":"string"}]},"occurrenceOrder":{"description":"Figure out a order of modules which results in the smallest initial bundle","type":"boolean"},"portableRecords":{"description":"Generate records with relative paths to be able to move the context folder","type":"boolean"},"providedExports":{"description":"Figure out which exports are provided by modules to generate more efficient code","type":"boolean"},"removeAvailableModules":{"description":"Removes modules from chunks when these modules are already included in all parents","type":"boolean"},"removeEmptyChunks":{"description":"Remove chunks which are empty","type":"boolean"},"runtimeChunk":{"description":"Create an additional chunk which contains only the webpack runtime and chunk hash maps","oneOf":[{"type":"boolean"},{"enum":["single","multiple"]},{"type":"object","additionalProperties":false,"properties":{"name":{"description":"The name or name factory for the runtime chunks","oneOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]}}}]},"sideEffects":{"description":"Skip over modules which are flagged to contain no side effects when exports are not used","type":"boolean"},"splitChunks":{"description":"Optimize duplication and caching by splitting chunks by shared modules and cache group","oneOf":[{"enum":[false]},{"$ref":"#/definitions/OptimizationSplitChunksOptions"}]},"usedExports":{"description":"Figure out which exports are used by modules to mangle export names, omit unused exports and generate more efficient code","type":"boolean"}}},"OptimizationSplitChunksOptions":{"type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks","type":"string","minLength":1},"automaticNameMaxLength":{"description":"Sets the max length for the name of a created chunk","type":"number","minimum":1},"cacheGroups":{"description":"Assign modules to a cache group (modules from different cache groups are tried to keep in separate chunks)","type":"object","additionalProperties":{"description":"Configuration for a cache group","anyOf":[{"enum":[false]},{"instanceof":"Function","tsType":"Function"},{"type":"string"},{"instanceof":"RegExp","tsType":"RegExp"},{"type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks","type":"string","minLength":1},"automaticNameMaxLength":{"description":"Sets the max length for the name of a created chunk","type":"number","minimum":1},"automaticNamePrefix":{"description":"Sets the name prefix for created chunks","type":"string"},"chunks":{"description":"Select chunks for determining cache group content (defaults to \\"initial\\", \\"initial\\" and \\"all\\" requires adding these chunks to the HTML)","oneOf":[{"enum":["initial","async","all"]},{"instanceof":"Function","tsType":"Function"}]},"enforce":{"description":"Ignore minimum size, minimum chunks and maximum requests and always create chunks for this cache group","type":"boolean"},"enforceSizeThreshold":{"description":"Size threshold at which splitting is enforced and other restrictions (maxAsyncRequests, maxInitialRequests) are ignored.","type":"number"},"filename":{"description":"Sets the template for the filename for created chunks (Only works for initial chunks)","type":"string","minLength":1},"maxAsyncRequests":{"description":"Maximum number of requests which are accepted for on-demand loading","type":"number","minimum":1},"maxInitialRequests":{"description":"Maximum number of initial chunks which are accepted for an entry point","type":"number","minimum":1},"maxSize":{"description":"Maximal size hint for the created chunks","type":"number","minimum":0},"minChunks":{"description":"Minimum number of times a module has to be duplicated until it\'s considered for splitting","type":"number","minimum":1},"minSize":{"description":"Minimal size for the created chunk","type":"number","minimum":0},"name":{"description":"Give chunks for this cache group a name (chunks with equal name are merged)","oneOf":[{"type":"boolean"},{"instanceof":"Function","tsType":"Function"},{"type":"string"}]},"priority":{"description":"Priority of this cache group","type":"number"},"reuseExistingChunk":{"description":"Try to reuse existing chunk (with name) when it has matching modules","type":"boolean"},"test":{"description":"Assign modules to a cache group","oneOf":[{"instanceof":"Function","tsType":"Function"},{"type":"string"},{"instanceof":"RegExp","tsType":"RegExp"}]}}}]},"not":{"description":"Using the cacheGroup shorthand syntax with a cache group named \'test\' is a potential config error\\nDid you intent to define a cache group with a test instead?\\ncacheGroups: {\\n : {\\n test: ...\\n }\\n}","type":"object","additionalProperties":true,"properties":{"test":{"description":"The test property is a cache group name, but using the test option of the cache group could be intended instead","anyOf":[{"instanceof":"Function","tsType":"Function"},{"type":"string"},{"instanceof":"RegExp","tsType":"RegExp"}]}},"required":["test"]}},"chunks":{"description":"Select chunks for determining shared modules (defaults to \\"async\\", \\"initial\\" and \\"all\\" requires adding these chunks to the HTML)","oneOf":[{"enum":["initial","async","all"]},{"instanceof":"Function","tsType":"Function"}]},"enforceSizeThreshold":{"description":"Size threshold at which splitting is enforced and other restrictions (maxAsyncRequests, maxInitialRequests) are ignored.","type":"number"},"fallbackCacheGroup":{"description":"Options for modules not selected by any other cache group","type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks","type":"string","minLength":1},"maxSize":{"description":"Maximal size hint for the created chunks","type":"number","minimum":0},"minSize":{"description":"Minimal size for the created chunk","type":"number","minimum":0}}},"filename":{"description":"Sets the template for the filename for created chunks (Only works for initial chunks)","type":"string","minLength":1},"hidePathInfo":{"description":"Prevents exposing path info when creating names for parts splitted by maxSize","type":"boolean"},"maxAsyncRequests":{"description":"Maximum number of requests which are accepted for on-demand loading","type":"number","minimum":1},"maxInitialRequests":{"description":"Maximum number of initial chunks which are accepted for an entry point","type":"number","minimum":1},"maxSize":{"description":"Maximal size hint for the created chunks","type":"number","minimum":0},"minChunks":{"description":"Minimum number of times a module has to be duplicated until it\'s considered for splitting","type":"number","minimum":1},"minSize":{"description":"Minimal size for the created chunks","type":"number","minimum":0},"name":{"description":"Give chunks created a name (chunks with equal name are merged)","oneOf":[{"type":"boolean"},{"instanceof":"Function","tsType":"Function"},{"type":"string"}]}}},"OutputOptions":{"type":"object","additionalProperties":false,"properties":{"auxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"description":"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set comment for `amd` section in UMD","type":"string"},"commonjs":{"description":"Set comment for `commonjs` (exports) section in UMD","type":"string"},"commonjs2":{"description":"Set comment for `commonjs2` (module.exports) section in UMD","type":"string"},"root":{"description":"Set comment for `root` (global variable) section in UMD","type":"string"}}}]},"chunkCallbackName":{"description":"The callback function name used by webpack for loading of chunks in WebWorkers.","type":"string"},"chunkFilename":{"description":"The filename of non-entry chunks as relative path inside the `output.path` directory.","type":"string","absolutePath":false},"chunkLoadTimeout":{"description":"Number of milliseconds before chunk request expires","type":"number"},"crossOriginLoading":{"description":"This option enables cross-origin loading of chunks.","enum":[false,"anonymous","use-credentials"]},"devtoolFallbackModuleFilenameTemplate":{"description":"Similar to `output.devtoolModuleFilenameTemplate`, but used in the case of duplicate module identifiers.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"devtoolLineToLine":{"description":"Enable line to line mapped mode for all/specified modules. Line to line mapped mode uses a simple SourceMap where each line of the generated source is mapped to the same line of the original source. It’s a performance optimization. Only use it if your performance need to be better and you are sure that input lines match which generated lines.","anyOf":[{"description":"`true` enables it for all modules (not recommended)","type":"boolean"},{"description":"An object similar to `module.loaders` enables it for specific files.","type":"object"}]},"devtoolModuleFilenameTemplate":{"description":"Filename template string of function for the sources array in a generated SourceMap.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"devtoolNamespace":{"description":"Module namespace to use when interpolating filename template string for the sources array in a generated SourceMap. Defaults to `output.library` if not set. It\'s useful for avoiding runtime collisions in sourcemaps from multiple webpack projects built as libraries.","type":"string"},"filename":{"description":"Specifies the name of each output file on disk. You must **not** specify an absolute path here! The `output.path` option determines the location on disk the files are written to, filename is used solely for naming the individual files.","anyOf":[{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"Function"}]},"futureEmitAssets":{"description":"Use the future version of asset emitting logic, which allows freeing memory of assets after emitting. It could break plugins which assume that assets are still readable after emitting. Will be the new default in the next major version.","type":"boolean"},"globalObject":{"description":"An expression which is used to address the global object/scope in runtime code","type":"string","minLength":1},"hashDigest":{"description":"Digest type used for the hash","type":"string"},"hashDigestLength":{"description":"Number of chars which are used for the hash","type":"number","minimum":1},"hashFunction":{"description":"Algorithm used for generation the hash (see node.js crypto package)","anyOf":[{"type":"string","minLength":1},{"instanceof":"Function","tsType":"import(\'../lib/util/createHash\').HashConstructor"}]},"hashSalt":{"description":"Any string which is added to the hash to salt it","type":"string","minLength":1},"hotUpdateChunkFilename":{"description":"The filename of the Hot Update Chunks. They are inside the output.path directory.","type":"string","absolutePath":false},"hotUpdateFunction":{"description":"The JSONP function used by webpack for async loading of hot update chunks.","type":"string"},"hotUpdateMainFilename":{"description":"The filename of the Hot Update Main File. It is inside the `output.path` directory.","anyOf":[{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"Function"}]},"jsonpFunction":{"description":"The JSONP function used by webpack for async loading of chunks.","type":"string"},"jsonpScriptType":{"description":"This option enables loading async chunks via a custom script type, such as script type=\\"module\\"","enum":[false,"text/javascript","module"]},"library":{"description":"If set, export the bundle as library. `output.library` is the name.","anyOf":[{"type":"string"},{"type":"array","items":{"description":"A part of the library name","type":"string"}},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"libraryExport":{"description":"Specify which export should be exposed as library","anyOf":[{"type":"string"},{"$ref":"#/definitions/ArrayOfStringValues"}]},"libraryTarget":{"description":"Type of library","enum":["var","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},"path":{"description":"The output directory as **absolute path** (required).","type":"string","absolutePath":true},"pathinfo":{"description":"Include comments with information about the modules.","type":"boolean"},"publicPath":{"description":"The `publicPath` specifies the public URL address of the output files when referenced in a browser.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"sourceMapFilename":{"description":"The filename of the SourceMaps for the JavaScript files. They are inside the `output.path` directory.","type":"string","absolutePath":false},"sourcePrefix":{"description":"Prefixes every line of the source in the bundle with this string.","type":"string"},"strictModuleExceptionHandling":{"description":"Handles exceptions in module loading correctly at a performance cost.","type":"boolean"},"umdNamedDefine":{"description":"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.","type":"boolean"},"webassemblyModuleFilename":{"description":"The filename of WebAssembly modules as relative path inside the `output.path` directory.","type":"string","absolutePath":false}}},"PerformanceOptions":{"type":"object","additionalProperties":false,"properties":{"assetFilter":{"description":"Filter function to select assets that are checked","instanceof":"Function","tsType":"Function"},"hints":{"description":"Sets the format of the hints: warnings, errors or nothing at all","enum":[false,"warning","error"]},"maxAssetSize":{"description":"Filesize limit (in bytes) when exceeded, that webpack will provide performance hints","type":"number"},"maxEntrypointSize":{"description":"Total size of an entry point (in bytes)","type":"number"}}},"ResolveOptions":{"type":"object","additionalProperties":false,"properties":{"alias":{"description":"Redirect module requests","anyOf":[{"type":"object","additionalProperties":{"description":"New request","type":"string"}},{"type":"array","items":{"description":"Alias configuration","type":"object","additionalProperties":false,"properties":{"alias":{"description":"New request","type":"string"},"name":{"description":"Request to be redirected","type":"string"},"onlyModule":{"description":"Redirect only exact matching request","type":"boolean"}}}}]},"aliasFields":{"description":"Fields in the description file (package.json) which are used to redirect requests inside the module","anyOf":[{"$ref":"#/definitions/ArrayOfStringOrStringArrayValues"}]},"cachePredicate":{"description":"Predicate function to decide which requests should be cached","instanceof":"Function","tsType":"Function"},"cacheWithContext":{"description":"Include the context information in the cache identifier when caching","type":"boolean"},"concord":{"description":"Enable concord resolving extras","type":"boolean"},"descriptionFiles":{"description":"Filenames used to find a description file","anyOf":[{"$ref":"#/definitions/ArrayOfStringValues"}]},"enforceExtension":{"description":"Enforce using one of the extensions from the extensions option","type":"boolean"},"enforceModuleExtension":{"description":"Enforce using one of the module extensions from the moduleExtensions option","type":"boolean"},"extensions":{"description":"Extensions added to the request when trying to find the file","anyOf":[{"$ref":"#/definitions/ArrayOfStringValues"}]},"fileSystem":{"description":"Filesystem for the resolver"},"mainFields":{"description":"Field names from the description file (package.json) which are used to find the default entry point","anyOf":[{"$ref":"#/definitions/ArrayOfStringOrStringArrayValues"}]},"mainFiles":{"description":"Filenames used to find the default entry point if there is no description file or main field","anyOf":[{"$ref":"#/definitions/ArrayOfStringValues"}]},"moduleExtensions":{"description":"Extensions added to the module request when trying to find the module","anyOf":[{"$ref":"#/definitions/ArrayOfStringValues"}]},"modules":{"description":"Folder names or directory paths where to find modules","anyOf":[{"$ref":"#/definitions/ArrayOfStringValues"}]},"plugins":{"description":"Plugins for the resolver","type":"array","items":{"description":"Plugin of type object or instanceof Function","anyOf":[{"$ref":"#/definitions/WebpackPluginInstance"},{"$ref":"#/definitions/WebpackPluginFunction"}]}},"resolver":{"description":"Custom resolver"},"roots":{"description":"A list of directories in which requests that are server-relative URLs (starting with \'/\') are resolved. On non-windows system these requests are tried to resolve as absolute path first.","type":"array","items":{"description":"Directory in which requests that are server-relative URLs (starting with \'/\') are resolved.","type":"string"}},"symlinks":{"description":"Enable resolving symlinks to the original location","type":"boolean"},"unsafeCache":{"description":"Enable caching of successfully resolved requests","anyOf":[{"type":"boolean"},{"type":"object","additionalProperties":true}]},"useSyncFileSystemCalls":{"description":"Use synchronous filesystem calls for the resolver","type":"boolean"}}},"RuleSetCondition":{"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1},{"instanceof":"Function","tsType":"((value: string) => boolean)"},{"$ref":"#/definitions/RuleSetConditions"},{"type":"object","additionalProperties":false,"properties":{"and":{"description":"Logical AND","anyOf":[{"$ref":"#/definitions/RuleSetConditions"}]},"exclude":{"description":"Exclude all modules matching any of these conditions","anyOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"include":{"description":"Exclude all modules matching not any of these conditions","anyOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"not":{"description":"Logical NOT","anyOf":[{"$ref":"#/definitions/RuleSetConditions"}]},"or":{"description":"Logical OR","anyOf":[{"$ref":"#/definitions/RuleSetConditions"}]},"test":{"description":"Exclude all modules matching any of these conditions","anyOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]}}}]},"RuleSetConditionAbsolute":{"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":true},{"instanceof":"Function","tsType":"((value: string) => boolean)"},{"$ref":"#/definitions/RuleSetConditionsAbsolute"},{"type":"object","additionalProperties":false,"properties":{"and":{"description":"Logical AND","anyOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"exclude":{"description":"Exclude all modules matching any of these conditions","anyOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"include":{"description":"Exclude all modules matching not any of these conditions","anyOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"not":{"description":"Logical NOT","anyOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"or":{"description":"Logical OR","anyOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"test":{"description":"Exclude all modules matching any of these conditions","anyOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]}}}]},"RuleSetConditionOrConditions":{"description":"One or multiple rule conditions","anyOf":[{"$ref":"#/definitions/RuleSetCondition"},{"$ref":"#/definitions/RuleSetConditions"}]},"RuleSetConditionOrConditionsAbsolute":{"description":"One or multiple rule conditions","anyOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"},{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"RuleSetConditions":{"type":"array","items":{"description":"A rule condition","anyOf":[{"$ref":"#/definitions/RuleSetCondition"}]}},"RuleSetConditionsAbsolute":{"type":"array","items":{"description":"A rule condition","anyOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"}]}},"RuleSetLoader":{"type":"string","minLength":1},"RuleSetQuery":{"anyOf":[{"type":"object"},{"type":"string"}]},"RuleSetRule":{"type":"object","additionalProperties":false,"properties":{"compiler":{"description":"Match the child compiler name","anyOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"enforce":{"description":"Enforce this rule as pre or post step","enum":["pre","post"]},"exclude":{"description":"Shortcut for resource.exclude","anyOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"include":{"description":"Shortcut for resource.include","anyOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"issuer":{"description":"Match the issuer of the module (The module pointing to this module)","anyOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"loader":{"description":"Shortcut for use.loader","anyOf":[{"$ref":"#/definitions/RuleSetLoader"},{"$ref":"#/definitions/RuleSetUse"}]},"loaders":{"description":"Shortcut for use.loader","anyOf":[{"$ref":"#/definitions/RuleSetUse"}]},"oneOf":{"description":"Only execute the first matching rule in this array","anyOf":[{"$ref":"#/definitions/RuleSetRules"}]},"options":{"description":"Shortcut for use.options","anyOf":[{"$ref":"#/definitions/RuleSetQuery"}]},"parser":{"description":"Options for parsing","type":"object","additionalProperties":true},"query":{"description":"Shortcut for use.query","anyOf":[{"$ref":"#/definitions/RuleSetQuery"}]},"realResource":{"description":"Match rules with custom resource name","anyOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"resolve":{"description":"Options for the resolver","type":"object","anyOf":[{"$ref":"#/definitions/ResolveOptions"}]},"resource":{"description":"Match the resource path of the module","anyOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"resourceQuery":{"description":"Match the resource query of the module","anyOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"rules":{"description":"Match and execute these rules when this rule is matched","anyOf":[{"$ref":"#/definitions/RuleSetRules"}]},"sideEffects":{"description":"Flags a module as with or without side effects","type":"boolean"},"test":{"description":"Shortcut for resource.test","anyOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"type":{"description":"Module type to use for the module","enum":["javascript/auto","javascript/dynamic","javascript/esm","json","webassembly/experimental"]},"use":{"description":"Modifiers applied to the module when rule is matched","anyOf":[{"$ref":"#/definitions/RuleSetUse"}]}}},"RuleSetRules":{"type":"array","items":{"description":"A rule","anyOf":[{"$ref":"#/definitions/RuleSetRule"}]}},"RuleSetUse":{"anyOf":[{"$ref":"#/definitions/RuleSetUseItem"},{"instanceof":"Function","tsType":"Function"},{"type":"array","items":{"description":"An use item","anyOf":[{"$ref":"#/definitions/RuleSetUseItem"}]}}]},"RuleSetUseItem":{"anyOf":[{"$ref":"#/definitions/RuleSetLoader"},{"instanceof":"Function","tsType":"Function"},{"type":"object","additionalProperties":false,"properties":{"ident":{"description":"Unique loader identifier","type":"string"},"loader":{"description":"Loader name","anyOf":[{"$ref":"#/definitions/RuleSetLoader"}]},"options":{"description":"Loader options","anyOf":[{"$ref":"#/definitions/RuleSetQuery"}]},"query":{"description":"Loader query","anyOf":[{"$ref":"#/definitions/RuleSetQuery"}]}}}]},"StatsOptions":{"type":"object","additionalProperties":false,"properties":{"all":{"description":"fallback value for stats options when an option is not defined (has precedence over local webpack defaults)","type":"boolean"},"assets":{"description":"add assets information","type":"boolean"},"assetsSort":{"description":"sort the assets by that field","type":"string"},"builtAt":{"description":"add built at time information","type":"boolean"},"cached":{"description":"add also information about cached (not built) modules","type":"boolean"},"cachedAssets":{"description":"Show cached assets (setting this to `false` only shows emitted files)","type":"boolean"},"children":{"description":"add children information","type":"boolean"},"chunkGroups":{"description":"Display all chunk groups with the corresponding bundles","type":"boolean"},"chunkModules":{"description":"add built modules information to chunk information","type":"boolean"},"chunkOrigins":{"description":"add the origins of chunks and chunk merging info","type":"boolean"},"chunks":{"description":"add chunk information","type":"boolean"},"chunksSort":{"description":"sort the chunks by that field","type":"string"},"colors":{"description":"Enables/Disables colorful output","oneOf":[{"description":"`webpack --colors` equivalent","type":"boolean"},{"type":"object","additionalProperties":false,"properties":{"bold":{"description":"Custom color for bold text","type":"string"},"cyan":{"description":"Custom color for cyan text","type":"string"},"green":{"description":"Custom color for green text","type":"string"},"magenta":{"description":"Custom color for magenta text","type":"string"},"red":{"description":"Custom color for red text","type":"string"},"yellow":{"description":"Custom color for yellow text","type":"string"}}}]},"context":{"description":"context directory for request shortening","type":"string","absolutePath":true},"depth":{"description":"add module depth in module graph","type":"boolean"},"entrypoints":{"description":"Display the entry points with the corresponding bundles","type":"boolean"},"env":{"description":"add --env information","type":"boolean"},"errorDetails":{"description":"add details to errors (like resolving log)","type":"boolean"},"errors":{"description":"add errors","type":"boolean"},"exclude":{"description":"Please use excludeModules instead.","anyOf":[{"$ref":"#/definitions/FilterTypes"},{"type":"boolean"}]},"excludeAssets":{"description":"Suppress assets that match the specified filters. Filters can be Strings, RegExps or Functions","anyOf":[{"$ref":"#/definitions/FilterTypes"}]},"excludeModules":{"description":"Suppress modules that match the specified filters. Filters can be Strings, RegExps, Booleans or Functions","anyOf":[{"$ref":"#/definitions/FilterTypes"},{"type":"boolean"}]},"hash":{"description":"add the hash of the compilation","type":"boolean"},"logging":{"description":"add logging output","anyOf":[{"description":"enable/disable logging output (true: shows normal logging output, loglevel: log)","type":"boolean"},{"description":"specify log level of logging output","enum":["none","error","warn","info","log","verbose"]}]},"loggingDebug":{"description":"Include debug logging of specified loggers (i. e. for plugins or loaders). Filters can be Strings, RegExps or Functions","anyOf":[{"$ref":"#/definitions/FilterTypes"},{"description":"Enable/Disable debug logging for all loggers","type":"boolean"}]},"loggingTrace":{"description":"add stack traces to logging output","type":"boolean"},"maxModules":{"description":"Set the maximum number of modules to be shown","type":"number"},"moduleAssets":{"description":"add information about assets inside modules","type":"boolean"},"moduleTrace":{"description":"add dependencies and origin of warnings/errors","type":"boolean"},"modules":{"description":"add built modules information","type":"boolean"},"modulesSort":{"description":"sort the modules by that field","type":"string"},"nestedModules":{"description":"add information about modules nested in other modules (like with module concatenation)","type":"boolean"},"optimizationBailout":{"description":"show reasons why optimization bailed out for modules","type":"boolean"},"outputPath":{"description":"Add output path information","type":"boolean"},"performance":{"description":"add performance hint flags","type":"boolean"},"providedExports":{"description":"show exports provided by modules","type":"boolean"},"publicPath":{"description":"Add public path information","type":"boolean"},"reasons":{"description":"add information about the reasons why modules are included","type":"boolean"},"source":{"description":"add the source code of modules","type":"boolean"},"timings":{"description":"add timing information","type":"boolean"},"usedExports":{"description":"show exports used by modules","type":"boolean"},"version":{"description":"add webpack version information","type":"boolean"},"warnings":{"description":"add warnings","type":"boolean"},"warningsFilter":{"description":"Suppress warnings that match the specified filters. Filters can be Strings, RegExps or Functions","anyOf":[{"$ref":"#/definitions/FilterTypes"}]}}},"WebpackPluginFunction":{"description":"Function acting as plugin","instanceof":"Function","tsType":"(this: import(\'../lib/Compiler\'), compiler: import(\'../lib/Compiler\')) => void"},"WebpackPluginInstance":{"description":"Plugin instance","type":"object","additionalProperties":true,"properties":{"apply":{"description":"The run point of the plugin, required method.","instanceof":"Function","tsType":"(compiler: import(\'../lib/Compiler\')) => void"}},"required":["apply"]}},"type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set the value of `require.amd` and `define.amd`. Or disable AMD support.","anyOf":[{"description":"You can pass `false` to disable AMD support.","enum":[false]},{"description":"You can pass an object to set the value of `require.amd` and `define.amd`.","type":"object"}]},"bail":{"description":"Report the first error as a hard error instead of tolerating it.","type":"boolean"},"cache":{"description":"Cache generated modules and chunks to improve performance for multiple incremental builds.","anyOf":[{"description":"You can pass `false` to disable it.","type":"boolean"},{"description":"You can pass an object to enable it and let webpack use the passed object as cache. This way you can share the cache object between multiple compiler calls.","type":"object"}]},"context":{"description":"The base directory (absolute path!) for resolving the `entry` option. If `output.pathinfo` is set, the included pathinfo is shortened to this directory.","type":"string","absolutePath":true},"dependencies":{"description":"References to other configurations to depend on.","type":"array","items":{"description":"References to another configuration to depend on.","type":"string"}},"devServer":{"description":"Options for the webpack-dev-server","type":"object"},"devtool":{"description":"A developer tool to enhance debugging.","anyOf":[{"type":"string"},{"enum":[false]}]},"entry":{"description":"The entry point(s) of the compilation.","anyOf":[{"$ref":"#/definitions/Entry"}]},"externals":{"description":"Specify dependencies that shouldn\'t be resolved by webpack, but should become dependencies of the resulting bundle. The kind of the dependency depends on `output.libraryTarget`.","anyOf":[{"$ref":"#/definitions/Externals"}]},"infrastructureLogging":{"description":"Options for infrastructure level logging","type":"object","additionalProperties":false,"properties":{"debug":{"description":"Enable debug logging for specific loggers","anyOf":[{"$ref":"#/definitions/FilterTypes"},{"description":"Enable/Disable debug logging for all loggers","type":"boolean"}]},"level":{"description":"Log level","enum":["none","error","warn","info","log","verbose"]}}},"loader":{"description":"Custom values available in the loader context.","type":"object"},"mode":{"description":"Enable production optimizations or development hints.","enum":["development","production","none"]},"module":{"description":"Options affecting the normal modules (`NormalModuleFactory`).","anyOf":[{"$ref":"#/definitions/ModuleOptions"}]},"name":{"description":"Name of the configuration. Used when loading multiple configurations.","type":"string"},"node":{"description":"Include polyfills or mocks for various node stuff.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/NodeOptions"}]},"optimization":{"description":"Enables/Disables integrated optimizations","anyOf":[{"$ref":"#/definitions/OptimizationOptions"}]},"output":{"description":"Options affecting the output of the compilation. `output` options tell webpack how to write the compiled files to disk.","anyOf":[{"$ref":"#/definitions/OutputOptions"}]},"parallelism":{"description":"The number of parallel processed modules in the compilation.","type":"number","minimum":1},"performance":{"description":"Configuration for web performance recommendations.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/PerformanceOptions"}]},"plugins":{"description":"Add additional plugins to the compiler.","type":"array","items":{"description":"Plugin of type object or instanceof Function","anyOf":[{"$ref":"#/definitions/WebpackPluginInstance"},{"$ref":"#/definitions/WebpackPluginFunction"}]}},"profile":{"description":"Capture timing information for each module.","type":"boolean"},"recordsInputPath":{"description":"Store compiler state to a json file.","type":"string","absolutePath":true},"recordsOutputPath":{"description":"Load compiler state from a json file.","type":"string","absolutePath":true},"recordsPath":{"description":"Store/Load compiler state from/to a json file. This will result in persistent ids of modules and chunks. An absolute path is expected. `recordsPath` is used for `recordsInputPath` and `recordsOutputPath` if they left undefined.","type":"string","absolutePath":true},"resolve":{"description":"Options for the resolver","anyOf":[{"$ref":"#/definitions/ResolveOptions"}]},"resolveLoader":{"description":"Options for the resolver when resolving loaders","anyOf":[{"$ref":"#/definitions/ResolveOptions"}]},"serve":{"description":"Options for webpack-serve","type":"object"},"stats":{"description":"Used by the webpack CLI program to pass stats options.","anyOf":[{"$ref":"#/definitions/StatsOptions"},{"type":"boolean"},{"enum":["none","errors-only","minimal","normal","detailed","verbose","errors-warnings"]}]},"target":{"description":"Environment to build for","anyOf":[{"enum":["web","webworker","node","async-node","node-webkit","electron-main","electron-renderer","electron-preload"]},{"instanceof":"Function","tsType":"((compiler: import(\'../lib/Compiler\')) => void)"}]},"watch":{"description":"Enter watch mode, which rebuilds on file change.","type":"boolean"},"watchOptions":{"description":"Options for the watcher","type":"object","additionalProperties":false,"properties":{"aggregateTimeout":{"description":"Delay the rebuilt after the first change. Value is a time in ms.","type":"number"},"ignored":{"description":"Ignore some files from watching"},"poll":{"description":"Enable polling mode for watching","anyOf":[{"description":"`true`: use polling.","type":"boolean"},{"description":"`number`: use polling with specified interval.","type":"number"}]},"stdin":{"description":"Stop watching when stdin stream has ended","type":"boolean"}}}}}')},10171:e=>{"use strict";e.exports=JSON.parse('{"definitions":{"BannerFunction":{"description":"The banner as function, it will be wrapped in a comment","instanceof":"Function","tsType":"(data: { hash: string, chunk: import(\'../../lib/Chunk\'), filename: string, basename: string, query: string}) => string"},"Rule":{"oneOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"Rules":{"oneOf":[{"type":"array","items":{"description":"A rule condition","anyOf":[{"$ref":"#/definitions/Rule"}]}},{"$ref":"#/definitions/Rule"}]}},"title":"BannerPluginArgument","oneOf":[{"title":"BannerPluginOptions","type":"object","additionalProperties":false,"properties":{"banner":{"description":"Specifies the banner","anyOf":[{"$ref":"#/definitions/BannerFunction"},{"type":"string"}]},"entryOnly":{"description":"If true, the banner will only be added to the entry chunks","type":"boolean"},"exclude":{"description":"Exclude all modules matching any of these conditions","anyOf":[{"$ref":"#/definitions/Rules"}]},"include":{"description":"Include all modules matching any of these conditions","anyOf":[{"$ref":"#/definitions/Rules"}]},"raw":{"description":"If true, banner will not be wrapped in a comment","type":"boolean"},"test":{"description":"Include all modules that pass test assertion","anyOf":[{"$ref":"#/definitions/Rules"}]}},"required":["banner"]},{"$ref":"#/definitions/BannerFunction"},{"description":"The banner as string, it will be wrapped in a comment","type":"string","minLength":1}]}')},7303:e=>{"use strict";e.exports=JSON.parse('{"title":"DllPluginOptions","type":"object","additionalProperties":false,"properties":{"context":{"description":"Context of requests in the manifest file (defaults to the webpack context)","type":"string","minLength":1},"entryOnly":{"description":"If true, only entry points will be exposed","type":"boolean"},"format":{"description":"If true, manifest json file (output) will be formatted","type":"boolean"},"name":{"description":"Name of the exposed dll function (external name, use value of \'output.library\')","type":"string","minLength":1},"path":{"description":"Absolute path to the manifest json file (output)","type":"string","minLength":1},"type":{"description":"Type of the dll bundle (external type, use value of \'output.libraryTarget\')","type":"string","minLength":1}},"required":["path"]}')},61112:e=>{"use strict";e.exports=JSON.parse('{"definitions":{"DllReferencePluginOptionsContent":{"description":"The mappings from request to module info","type":"object","additionalProperties":{"description":"Module info","type":"object","additionalProperties":false,"properties":{"buildMeta":{"description":"Meta information about the module","type":"object"},"exports":{"description":"Information about the provided exports of the module","anyOf":[{"description":"Exports unknown/dynamic","enum":[true]},{"description":"List of provided exports of the module","type":"array","items":{"description":"Name of the export","type":"string","minLength":1}}]},"id":{"description":"Module ID","anyOf":[{"type":"number"},{"type":"string","minLength":1}]}},"required":["id"]},"minProperties":1},"DllReferencePluginOptionsManifest":{"description":"An object containing content, name and type","type":"object","additionalProperties":false,"properties":{"content":{"description":"The mappings from request to module info","anyOf":[{"$ref":"#/definitions/DllReferencePluginOptionsContent"}]},"name":{"description":"The name where the dll is exposed (external name)","type":"string","minLength":1},"type":{"description":"The type how the dll is exposed (external type)","anyOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]}},"required":["content"]},"DllReferencePluginOptionsSourceType":{"description":"The type how the dll is exposed (external type)","enum":["var","assign","this","window","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp"]}},"title":"DllReferencePluginOptions","anyOf":[{"type":"object","additionalProperties":false,"properties":{"context":{"description":"(absolute path) context of requests in the manifest (or content property)","type":"string","absolutePath":true},"extensions":{"description":"Extensions used to resolve modules in the dll bundle (only used when using \'scope\')","type":"array","items":{"description":"An extension","type":"string"}},"manifest":{"description":"An object containing content and name or a string to the absolute path of the JSON manifest to be loaded upon compilation","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsManifest"},{"type":"string","absolutePath":true}]},"name":{"description":"The name where the dll is exposed (external name, defaults to manifest.name)","type":"string","minLength":1},"scope":{"description":"Prefix which is used for accessing the content of the dll","type":"string","minLength":1},"sourceType":{"description":"How the dll is exposed (libraryTarget, defaults to manifest.type)","anyOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]},"type":{"description":"The way how the export of the dll bundle is used","enum":["require","object"]}},"required":["manifest"]},{"type":"object","additionalProperties":false,"properties":{"content":{"description":"The mappings from request to module info","anyOf":[{"$ref":"#/definitions/DllReferencePluginOptionsContent"}]},"context":{"description":"(absolute path) context of requests in the manifest (or content property)","type":"string","absolutePath":true},"extensions":{"description":"Extensions used to resolve modules in the dll bundle (only used when using \'scope\')","type":"array","items":{"description":"An extension","type":"string"}},"name":{"description":"The name where the dll is exposed (external name)","type":"string","minLength":1},"scope":{"description":"Prefix which is used for accessing the content of the dll","type":"string","minLength":1},"sourceType":{"description":"How the dll is exposed (libraryTarget)","anyOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]},"type":{"description":"The way how the export of the dll bundle is used","enum":["require","object"]}},"required":["content","name"]}]}')},45843:e=>{"use strict";e.exports=JSON.parse('{"title":"HashedModuleIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"context":{"description":"The context directory for creating names.","type":"string","absolutePath":true},"hashDigest":{"description":"The encoding to use when generating the hash, defaults to \'base64\'. All encodings from Node.JS\' hash.digest are supported.","enum":["hex","latin1","base64"]},"hashDigestLength":{"description":"The prefix length of the hash digest to use, defaults to 4.","type":"number","minimum":1},"hashFunction":{"description":"The hashing algorithm to use, defaults to \'md5\'. All functions from Node.JS\' crypto.createHash are supported.","type":"string","minLength":1}}}')},69667:e=>{"use strict";e.exports=JSON.parse('{"title":"IgnorePluginOptions","oneOf":[{"type":"object","additionalProperties":false,"properties":{"contextRegExp":{"description":"A RegExp to test the context (directory) against","instanceof":"RegExp","tsType":"RegExp"},"resourceRegExp":{"description":"A RegExp to test the request against","instanceof":"RegExp","tsType":"RegExp"}}},{"type":"object","additionalProperties":false,"properties":{"checkContext":{"description":"A filter function for context","instanceof":"Function","tsType":"((context: string) => boolean)"},"checkResource":{"description":"A filter function for resource and context","instanceof":"Function","tsType":"((resource: string, context: string) => boolean)"}}}]}')},4994:e=>{"use strict";e.exports=JSON.parse('{"title":"LoaderOptionsPluginOptions","type":"object","additionalProperties":true,"properties":{"debug":{"description":"Whether loaders should be in debug mode or not. debug will be removed as of webpack 3","type":"boolean"},"minimize":{"description":"Where loaders can be switched to minimize mode","type":"boolean"},"options":{"description":"A configuration object that can be used to configure older loaders","type":"object","additionalProperties":true,"properties":{"context":{"description":"The context that can be used to configure older loaders","type":"string","absolutePath":true}}}}}')},26336:e=>{"use strict";e.exports=JSON.parse('{"definitions":{"HandlerFunction":{"description":"Function that executes for every progress step","instanceof":"Function","tsType":"((percentage: number, msg: string, ...args: string[]) => void)"},"ProgressPluginOptions":{"type":"object","additionalProperties":false,"properties":{"activeModules":{"description":"Show active modules count and one active module in progress message","type":"boolean"},"entries":{"description":"Show entries count in progress message","type":"boolean"},"handler":{"description":"Function that executes for every progress step","anyOf":[{"$ref":"#/definitions/HandlerFunction"}]},"modules":{"description":"Show modules count in progress message","type":"boolean"},"modulesCount":{"description":"Minimum modules count to start with. Only for mode=modules. Default: 500","type":"number"},"profile":{"description":"Collect profile data for progress steps. Default: false","enum":[true,false,null]}}}},"title":"ProgressPluginArgument","oneOf":[{"$ref":"#/definitions/ProgressPluginOptions"},{"$ref":"#/definitions/HandlerFunction"}]}')},7368:e=>{"use strict";e.exports=JSON.parse('{"definitions":{"rule":{"oneOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"rules":{"oneOf":[{"type":"array","items":{"description":"A rule condition","anyOf":[{"$ref":"#/definitions/rule"}]}},{"$ref":"#/definitions/rule"}]}},"title":"SourceMapDevToolPluginOptions","type":"object","additionalProperties":false,"properties":{"append":{"description":"Appends the given value to the original asset. Usually the #sourceMappingURL comment. [url] is replaced with a URL to the source map file. false disables the appending","oneOf":[{"description":"Append no SourceMap comment to the bundle, but still generate SourceMaps","enum":[false,null]},{"type":"string","minLength":1}]},"columns":{"description":"Indicates whether column mappings should be used (defaults to true)","type":"boolean"},"exclude":{"description":"Exclude modules that match the given value from source map generation","anyOf":[{"$ref":"#/definitions/rules"}]},"fallbackModuleFilenameTemplate":{"description":"Generator string or function to create identifiers of modules for the \'sources\' array in the SourceMap used only if \'moduleFilenameTemplate\' would result in a conflict","oneOf":[{"description":"Custom function generating the identifer","instanceof":"Function","tsType":"Function"},{"type":"string","minLength":1}]},"fileContext":{"description":"Path prefix to which the [file] placeholder is relative to","type":"string"},"filename":{"description":"Defines the output filename of the SourceMap (will be inlined if no value is provided)","oneOf":[{"description":"Disable separate SourceMap file and inline SourceMap as DataUrl","enum":[false,null]},{"type":"string","absolutePath":false,"minLength":1}]},"include":{"description":"Include source maps for module paths that match the given value","anyOf":[{"$ref":"#/definitions/rules"}]},"lineToLine":{"description":"(deprecated) try to map original files line to line to generated files","anyOf":[{"type":"boolean"},{"description":"Simplify and speed up source mapping by using line to line source mappings for matched modules","type":"object","additionalProperties":false,"properties":{"exclude":{"description":"Exclude modules that match the given value from source map generation","anyOf":[{"$ref":"#/definitions/rules"}]},"include":{"description":"Include source maps for module paths that match the given value","anyOf":[{"$ref":"#/definitions/rules"}]},"test":{"description":"Include source maps for modules based on their extension (defaults to .js and .css)","anyOf":[{"$ref":"#/definitions/rules"}]}}}]},"module":{"description":"Indicates whether SourceMaps from loaders should be used (defaults to true)","type":"boolean"},"moduleFilenameTemplate":{"description":"Generator string or function to create identifiers of modules for the \'sources\' array in the SourceMap","oneOf":[{"description":"Custom function generating the identifer","instanceof":"Function","tsType":"Function"},{"type":"string","minLength":1}]},"namespace":{"description":"Namespace prefix to allow multiple webpack roots in the devtools","type":"string"},"noSources":{"description":"Omit the \'sourceContents\' array from the SourceMap","type":"boolean"},"publicPath":{"description":"Provide a custom public path for the SourceMapping comment","type":"string"},"sourceRoot":{"description":"Provide a custom value for the \'sourceRoot\' property in the SourceMap","type":"string"},"test":{"description":"Include source maps for modules based on their extension (defaults to .js and .css)","anyOf":[{"$ref":"#/definitions/rules"}]}}}')},97009:e=>{"use strict";e.exports=JSON.parse('{"title":"WatchIgnorePluginOptions","description":"A list of RegExps or absolute paths to directories or files that should be ignored","type":"array","items":{"description":"RegExp or absolute path to directories or files that should be ignored","oneOf":[{"type":"string"},{"instanceof":"RegExp","tsType":"RegExp"}]},"minItems":1}')},49049:e=>{"use strict";e.exports=JSON.parse('{"title":"ProfilingPluginOptions","type":"object","additionalProperties":false,"properties":{"outputPath":{"description":"Path to the output file e.g. `profiling/events.json`. Defaults to `events.json`.","type":"string","absolutePath":false,"minLength":4}}}')},71884:e=>{"use strict";e.exports=JSON.parse('{"title":"AggressiveSplittingPluginOptions","type":"object","additionalProperties":false,"properties":{"chunkOverhead":{"description":"Default: 0","type":"number"},"entryChunkMultiplicator":{"description":"Default: 1","type":"number"},"maxSize":{"description":"Byte, maxsize of per file. Default: 51200","type":"number"},"minSize":{"description":"Byte, split point. Default: 30720","type":"number"}}}')},27993:e=>{"use strict";e.exports=JSON.parse('{"title":"LimitChunkCountPluginOptions","type":"object","additionalProperties":false,"properties":{"maxChunks":{"description":"Limit the maximum number of chunks using a value greater greater than or equal to 1","type":"number","minimum":1},"minChunkSize":{"description":"Set a minimum chunk size","type":"number"}}}')},8670:e=>{"use strict";e.exports=JSON.parse('{"title":"MinChunkSizePluginOptions","type":"object","additionalProperties":false,"properties":{"minChunkSize":{"description":"Minimum number of characters","type":"number"}},"required":["minChunkSize"]}')},88771:e=>{"use strict";e.exports=JSON.parse('{"title":"OccurrenceOrderChunkIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"prioritiseInitial":{"description":"Prioritise initial size over total size","type":"boolean"}}}')},81430:e=>{"use strict";e.exports=JSON.parse('{"title":"OccurrenceOrderModuleIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"prioritiseInitial":{"description":"Prioritise initial size over total size","type":"boolean"}}}')},42357:e=>{"use strict";e.exports=require("assert")},64293:e=>{"use strict";e.exports=require("buffer")},63129:e=>{"use strict";e.exports=require("child_process")},47257:e=>{"use strict";e.exports=require("chokidar")},27619:e=>{"use strict";e.exports=require("constants")},76417:e=>{"use strict";e.exports=require("crypto")},28614:e=>{"use strict";e.exports=require("events")},35747:e=>{"use strict";e.exports=require("fs")},57012:e=>{"use strict";e.exports=require("inspector")},32282:e=>{"use strict";e.exports=require("module")},36801:e=>{"use strict";e.exports=require("next/dist/compiled/cacache")},31185:e=>{"use strict";e.exports=require("next/dist/compiled/debug")},61844:e=>{"use strict";e.exports=require("next/dist/compiled/find-cache-dir")},47543:e=>{"use strict";e.exports=require("next/dist/compiled/is-wsl")},94327:e=>{"use strict";e.exports=require("next/dist/compiled/mkdirp")},36386:e=>{"use strict";e.exports=require("next/dist/compiled/neo-async")},33225:e=>{"use strict";e.exports=require("next/dist/compiled/schema-utils")},96241:e=>{"use strict";e.exports=require("next/dist/compiled/source-map")},54775:e=>{"use strict";e.exports=require("next/dist/compiled/terser")},12087:e=>{"use strict";e.exports=require("os")},85622:e=>{"use strict";e.exports=require("path")},92413:e=>{"use strict";e.exports=require("stream")},78835:e=>{"use strict";e.exports=require("url")},31669:e=>{"use strict";e.exports=require("util")},92184:e=>{"use strict";e.exports=require("vm")}};var t={};function __webpack_require__(n){if(t[n]){return t[n].exports}var r=t[n]={exports:{}};var s=true;try{e[n].call(r.exports,r,r.exports,__webpack_require__);s=false}finally{if(s)delete t[n]}return r.exports}__webpack_require__.ab=__dirname+"/";return __webpack_require__(97136)})(); \ No newline at end of file diff --git a/packages/next/compiled/webpack/bundle5.js b/packages/next/compiled/webpack/bundle5.js new file mode 100644 index 0000000000000..7b838a6c9e822 --- /dev/null +++ b/packages/next/compiled/webpack/bundle5.js @@ -0,0 +1 @@ +module.exports=(()=>{var __webpack_modules__={96096:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.read=read;t.write=write;function read(e,t,n,s,i){var o,r;var a=i*8-s-1;var c=(1<>1;var l=-7;var d=n?i-1:0;var p=n?-1:1;var h=e[t+d];d+=p;o=h&(1<<-l)-1;h>>=-l;l+=a;for(;l>0;o=o*256+e[t+d],d+=p,l-=8){}r=o&(1<<-l)-1;o>>=-l;l+=s;for(;l>0;r=r*256+e[t+d],d+=p,l-=8){}if(o===0){o=1-u}else if(o===c){return r?NaN:(h?-1:1)*Infinity}else{r=r+Math.pow(2,s);o=o-u}return(h?-1:1)*r*Math.pow(2,o-s)}function write(e,t,n,s,i,o){var r,a,c;var u=o*8-i-1;var l=(1<>1;var p=i===23?Math.pow(2,-24)-Math.pow(2,-77):0;var h=s?0:o-1;var f=s?1:-1;var m=t<0||t===0&&1/t<0?1:0;t=Math.abs(t);if(isNaN(t)||t===Infinity){a=isNaN(t)?1:0;r=l}else{r=Math.floor(Math.log(t)/Math.LN2);if(t*(c=Math.pow(2,-r))<1){r--;c*=2}if(r+d>=1){t+=p/c}else{t+=p*Math.pow(2,1-d)}if(t*c>=2){r++;c/=2}if(r+d>=l){a=0;r=l}else if(r+d>=1){a=(t*c-1)*Math.pow(2,i);r=r+d}else{a=t*Math.pow(2,d-1)*Math.pow(2,i);r=0}}for(;i>=8;e[n+h]=a&255,h+=f,a/=256,i-=8){}r=r<0;e[n+h]=r&255,h+=f,r/=256,u-=8){}e[n+h-f]|=m*128}},60667:e=>{e.exports=Long;var t=null;try{t=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(e){}function Long(e,t,n){this.low=e|0;this.high=t|0;this.unsigned=!!n}Long.prototype.__isLong__;Object.defineProperty(Long.prototype,"__isLong__",{value:true});function isLong(e){return(e&&e["__isLong__"])===true}Long.isLong=isLong;var n={};var s={};function fromInt(e,t){var i,o,r;if(t){e>>>=0;if(r=0<=e&&e<256){o=s[e];if(o)return o}i=fromBits(e,(e|0)<0?-1:0,true);if(r)s[e]=i;return i}else{e|=0;if(r=-128<=e&&e<128){o=n[e];if(o)return o}i=fromBits(e,e<0?-1:0,false);if(r)n[e]=i;return i}}Long.fromInt=fromInt;function fromNumber(e,t){if(isNaN(e))return t?p:d;if(t){if(e<0)return p;if(e>=c)return y}else{if(e<=-u)return v;if(e+1>=u)return g}if(e<0)return fromNumber(-e,t).neg();return fromBits(e%a|0,e/a|0,t)}Long.fromNumber=fromNumber;function fromBits(e,t,n){return new Long(e,t,n)}Long.fromBits=fromBits;var i=Math.pow;function fromString(e,t,n){if(e.length===0)throw Error("empty string");if(e==="NaN"||e==="Infinity"||e==="+Infinity"||e==="-Infinity")return d;if(typeof t==="number"){n=t,t=false}else{t=!!t}n=n||10;if(n<2||360)throw Error("interior hyphen");else if(s===0){return fromString(e.substring(1),t,n).neg()}var o=fromNumber(i(n,8));var r=d;for(var a=0;a>>0:this.low};b.toNumber=function toNumber(){if(this.unsigned)return(this.high>>>0)*a+(this.low>>>0);return this.high*a+(this.low>>>0)};b.toString=function toString(e){e=e||10;if(e<2||36>>0,l=u.toString(e);r=c;if(r.isZero())return l+a;else{while(l.length<6)l="0"+l;a=""+l+a}}};b.getHighBits=function getHighBits(){return this.high};b.getHighBitsUnsigned=function getHighBitsUnsigned(){return this.high>>>0};b.getLowBits=function getLowBits(){return this.low};b.getLowBitsUnsigned=function getLowBitsUnsigned(){return this.low>>>0};b.getNumBitsAbs=function getNumBitsAbs(){if(this.isNegative())return this.eq(v)?64:this.neg().getNumBitsAbs();var e=this.high!=0?this.high:this.low;for(var t=31;t>0;t--)if((e&1<=0};b.isOdd=function isOdd(){return(this.low&1)===1};b.isEven=function isEven(){return(this.low&1)===0};b.equals=function equals(e){if(!isLong(e))e=fromValue(e);if(this.unsigned!==e.unsigned&&this.high>>>31===1&&e.high>>>31===1)return false;return this.high===e.high&&this.low===e.low};b.eq=b.equals;b.notEquals=function notEquals(e){return!this.eq(e)};b.neq=b.notEquals;b.ne=b.notEquals;b.lessThan=function lessThan(e){return this.comp(e)<0};b.lt=b.lessThan;b.lessThanOrEqual=function lessThanOrEqual(e){return this.comp(e)<=0};b.lte=b.lessThanOrEqual;b.le=b.lessThanOrEqual;b.greaterThan=function greaterThan(e){return this.comp(e)>0};b.gt=b.greaterThan;b.greaterThanOrEqual=function greaterThanOrEqual(e){return this.comp(e)>=0};b.gte=b.greaterThanOrEqual;b.ge=b.greaterThanOrEqual;b.compare=function compare(e){if(!isLong(e))e=fromValue(e);if(this.eq(e))return 0;var t=this.isNegative(),n=e.isNegative();if(t&&!n)return-1;if(!t&&n)return 1;if(!this.unsigned)return this.sub(e).isNegative()?-1:1;return e.high>>>0>this.high>>>0||e.high===this.high&&e.low>>>0>this.low>>>0?-1:1};b.comp=b.compare;b.negate=function negate(){if(!this.unsigned&&this.eq(v))return v;return this.not().add(h)};b.neg=b.negate;b.add=function add(e){if(!isLong(e))e=fromValue(e);var t=this.high>>>16;var n=this.high&65535;var s=this.low>>>16;var i=this.low&65535;var o=e.high>>>16;var r=e.high&65535;var a=e.low>>>16;var c=e.low&65535;var u=0,l=0,d=0,p=0;p+=i+c;d+=p>>>16;p&=65535;d+=s+a;l+=d>>>16;d&=65535;l+=n+r;u+=l>>>16;l&=65535;u+=t+o;u&=65535;return fromBits(d<<16|p,u<<16|l,this.unsigned)};b.subtract=function subtract(e){if(!isLong(e))e=fromValue(e);return this.add(e.neg())};b.sub=b.subtract;b.multiply=function multiply(e){if(this.isZero())return d;if(!isLong(e))e=fromValue(e);if(t){var n=t["mul"](this.low,this.high,e.low,e.high);return fromBits(n,t["get_high"](),this.unsigned)}if(e.isZero())return d;if(this.eq(v))return e.isOdd()?v:d;if(e.eq(v))return this.isOdd()?v:d;if(this.isNegative()){if(e.isNegative())return this.neg().mul(e.neg());else return this.neg().mul(e).neg()}else if(e.isNegative())return this.mul(e.neg()).neg();if(this.lt(l)&&e.lt(l))return fromNumber(this.toNumber()*e.toNumber(),this.unsigned);var s=this.high>>>16;var i=this.high&65535;var o=this.low>>>16;var r=this.low&65535;var a=e.high>>>16;var c=e.high&65535;var u=e.low>>>16;var p=e.low&65535;var h=0,f=0,m=0,g=0;g+=r*p;m+=g>>>16;g&=65535;m+=o*p;f+=m>>>16;m&=65535;m+=r*u;f+=m>>>16;m&=65535;f+=i*p;h+=f>>>16;f&=65535;f+=o*u;h+=f>>>16;f&=65535;f+=r*c;h+=f>>>16;f&=65535;h+=s*p+i*u+o*c+r*a;h&=65535;return fromBits(m<<16|g,h<<16|f,this.unsigned)};b.mul=b.multiply;b.divide=function divide(e){if(!isLong(e))e=fromValue(e);if(e.isZero())throw Error("division by zero");if(t){if(!this.unsigned&&this.high===-2147483648&&e.low===-1&&e.high===-1){return this}var n=(this.unsigned?t["div_u"]:t["div_s"])(this.low,this.high,e.low,e.high);return fromBits(n,t["get_high"](),this.unsigned)}if(this.isZero())return this.unsigned?p:d;var s,o,r;if(!this.unsigned){if(this.eq(v)){if(e.eq(h)||e.eq(m))return v;else if(e.eq(v))return h;else{var a=this.shr(1);s=a.div(e).shl(1);if(s.eq(d)){return e.isNegative()?h:m}else{o=this.sub(e.mul(s));r=s.add(o.div(e));return r}}}else if(e.eq(v))return this.unsigned?p:d;if(this.isNegative()){if(e.isNegative())return this.neg().div(e.neg());return this.neg().div(e).neg()}else if(e.isNegative())return this.div(e.neg()).neg();r=d}else{if(!e.unsigned)e=e.toUnsigned();if(e.gt(this))return p;if(e.gt(this.shru(1)))return f;r=p}o=this;while(o.gte(e)){s=Math.max(1,Math.floor(o.toNumber()/e.toNumber()));var c=Math.ceil(Math.log(s)/Math.LN2),u=c<=48?1:i(2,c-48),l=fromNumber(s),g=l.mul(e);while(g.isNegative()||g.gt(o)){s-=u;l=fromNumber(s,this.unsigned);g=l.mul(e)}if(l.isZero())l=h;r=r.add(l);o=o.sub(g)}return r};b.div=b.divide;b.modulo=function modulo(e){if(!isLong(e))e=fromValue(e);if(t){var n=(this.unsigned?t["rem_u"]:t["rem_s"])(this.low,this.high,e.low,e.high);return fromBits(n,t["get_high"](),this.unsigned)}return this.sub(this.div(e).mul(e))};b.mod=b.modulo;b.rem=b.modulo;b.not=function not(){return fromBits(~this.low,~this.high,this.unsigned)};b.and=function and(e){if(!isLong(e))e=fromValue(e);return fromBits(this.low&e.low,this.high&e.high,this.unsigned)};b.or=function or(e){if(!isLong(e))e=fromValue(e);return fromBits(this.low|e.low,this.high|e.high,this.unsigned)};b.xor=function xor(e){if(!isLong(e))e=fromValue(e);return fromBits(this.low^e.low,this.high^e.high,this.unsigned)};b.shiftLeft=function shiftLeft(e){if(isLong(e))e=e.toInt();if((e&=63)===0)return this;else if(e<32)return fromBits(this.low<>>32-e,this.unsigned);else return fromBits(0,this.low<>>e|this.high<<32-e,this.high>>e,this.unsigned);else return fromBits(this.high>>e-32,this.high>=0?0:-1,this.unsigned)};b.shr=b.shiftRight;b.shiftRightUnsigned=function shiftRightUnsigned(e){if(isLong(e))e=e.toInt();if((e&=63)===0)return this;if(e<32)return fromBits(this.low>>>e|this.high<<32-e,this.high>>>e,this.unsigned);if(e===32)return fromBits(this.high,0,this.unsigned);return fromBits(this.high>>>e-32,0,this.unsigned)};b.shru=b.shiftRightUnsigned;b.shr_u=b.shiftRightUnsigned;b.rotateLeft=function rotateLeft(e){var t;if(isLong(e))e=e.toInt();if((e&=63)===0)return this;if(e===32)return fromBits(this.high,this.low,this.unsigned);if(e<32){t=32-e;return fromBits(this.low<>>t,this.high<>>t,this.unsigned)}e-=32;t=32-e;return fromBits(this.high<>>t,this.low<>>t,this.unsigned)};b.rotl=b.rotateLeft;b.rotateRight=function rotateRight(e){var t;if(isLong(e))e=e.toInt();if((e&=63)===0)return this;if(e===32)return fromBits(this.high,this.low,this.unsigned);if(e<32){t=32-e;return fromBits(this.high<>>e,this.low<>>e,this.unsigned)}e-=32;t=32-e;return fromBits(this.low<>>e,this.high<>>e,this.unsigned)};b.rotr=b.rotateRight;b.toSigned=function toSigned(){if(!this.unsigned)return this;return fromBits(this.low,this.high,false)};b.toUnsigned=function toUnsigned(){if(this.unsigned)return this;return fromBits(this.low,this.high,true)};b.toBytes=function toBytes(e){return e?this.toBytesLE():this.toBytesBE()};b.toBytesLE=function toBytesLE(){var e=this.high,t=this.low;return[t&255,t>>>8&255,t>>>16&255,t>>>24,e&255,e>>>8&255,e>>>16&255,e>>>24]};b.toBytesBE=function toBytesBE(){var e=this.high,t=this.low;return[e>>>24,e>>>16&255,e>>>8&255,e&255,t>>>24,t>>>16&255,t>>>8&255,t&255]};Long.fromBytes=function fromBytes(e,t,n){return n?Long.fromBytesLE(e,t):Long.fromBytesBE(e,t)};Long.fromBytesLE=function fromBytesLE(e,t){return new Long(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,t)};Long.fromBytesBE=function fromBytesBE(e,t){return new Long(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],t)}},5787:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var s=n(30036);var i=n(92413);function evCommon(){var e=process.hrtime();var t=e[0]*1e6+Math.round(e[1]/1e3);return{ts:t,pid:process.pid,tid:process.pid}}var o=function(e){s.__extends(Tracer,e);function Tracer(t){if(t===void 0){t={}}var n=e.call(this)||this;n.noStream=false;n.events=[];if(typeof t!=="object"){throw new Error("Invalid options passed (must be an object)")}if(t.parent!=null&&typeof t.parent!=="object"){throw new Error("Invalid option (parent) passed (must be an object)")}if(t.fields!=null&&typeof t.fields!=="object"){throw new Error("Invalid option (fields) passed (must be an object)")}if(t.objectMode!=null&&(t.objectMode!==true&&t.objectMode!==false)){throw new Error("Invalid option (objectsMode) passed (must be a boolean)")}n.noStream=t.noStream||false;n.parent=t.parent;if(n.parent){n.fields=Object.assign({},t.parent&&t.parent.fields)}else{n.fields={}}if(t.fields){Object.assign(n.fields,t.fields)}if(!n.fields.cat){n.fields.cat="default"}else if(Array.isArray(n.fields.cat)){n.fields.cat=n.fields.cat.join(",")}if(!n.fields.args){n.fields.args={}}if(n.parent){n._push=n.parent._push.bind(n.parent)}else{n._objectMode=Boolean(t.objectMode);var s={objectMode:n._objectMode};if(n._objectMode){n._push=n.push}else{n._push=n._pushString;s.encoding="utf8"}i.Readable.call(n,s)}return n}Tracer.prototype.flush=function(){if(this.noStream===true){for(var e=0,t=this.events;e{(function clone(e){"use strict";var t,s,i,o,r,a;function deepCopy(e){var t={},n,s;for(n in e){if(e.hasOwnProperty(n)){s=e[n];if(typeof s==="object"&&s!==null){t[n]=deepCopy(s)}else{t[n]=s}}}return t}function upperBound(e,t){var n,s,i,o;s=e.length;i=0;while(s){n=s>>>1;o=i+n;if(t(e[o])){s=n}else{i=o+1;s-=n+1}}return i}t={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};i={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};o={};r={};a={};s={Break:o,Skip:r,Remove:a};function Reference(e,t){this.parent=e;this.key=t}Reference.prototype.replace=function replace(e){this.parent[this.key]=e};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(e,t,n,s){this.node=e;this.path=t;this.wrap=n;this.ref=s}function Controller(){}Controller.prototype.path=function path(){var e,t,n,s,i,o;function addToPath(e,t){if(Array.isArray(t)){for(n=0,s=t.length;n=0){l=h[d];f=a[l];if(!f){continue}if(Array.isArray(f)){p=f.length;while((p-=1)>=0){if(!f[p]){continue}if(isProperty(c,h[d])){i=new Element(f[p],[l,p],"Property",null)}else if(isNode(f[p])){i=new Element(f[p],[l,p],null,null)}else{continue}n.push(i)}}else if(isNode(f)){n.push(new Element(f,l,null,null))}}}}};Controller.prototype.replace=function replace(e,t){var n,s,i,c,u,l,d,p,h,f,m,g,y;function removeElem(e){var t,s,i,o;if(e.ref.remove()){s=e.ref.key;o=e.ref.parent;t=n.length;while(t--){i=n[t];if(i.ref&&i.ref.parent===o){if(i.ref.key=0){y=h[d];f=i[y];if(!f){continue}if(Array.isArray(f)){p=f.length;while((p-=1)>=0){if(!f[p]){continue}if(isProperty(c,h[d])){l=new Element(f[p],[y,p],"Property",new Reference(f,p))}else if(isNode(f[p])){l=new Element(f[p],[y,p],null,new Reference(f,p))}else{continue}n.push(l)}}else if(isNode(f)){n.push(new Element(f,y,null,new Reference(i,y)))}}}return g.root};function traverse(e,t){var n=new Controller;return n.traverse(e,t)}function replace(e,t){var n=new Controller;return n.replace(e,t)}function extendCommentRange(e,t){var n;n=upperBound(t,function search(t){return t.range[0]>e.range[0]});e.extendedRange=[e.range[0],e.range[1]];if(n!==t.length){e.extendedRange[1]=t[n].range[0]}n-=1;if(n>=0){e.extendedRange[0]=t[n].range[1]}return e}function attachComments(e,t,n){var i=[],o,r,a,c;if(!e.range){throw new Error("attachComments needs range information")}if(!n.length){if(t.length){for(a=0,r=t.length;ae.range[0]){break}if(t.extendedRange[1]===e.range[0]){if(!e.leadingComments){e.leadingComments=[]}e.leadingComments.push(t);i.splice(c,1)}else{c+=1}}if(c===i.length){return s.Break}if(i[c].extendedRange[0]>e.range[1]){return s.Skip}}});c=0;traverse(e,{leave:function(e){var t;while(ce.range[1]){return s.Skip}}});return e}e.version=n(35464).i8;e.Syntax=t;e.traverse=traverse;e.replace=replace;e.attachComments=attachComments;e.VisitorKeys=i;e.VisitorOption=s;e.Controller=Controller;e.cloneEnvironment=function(){return clone({})};return e})(t)},86140:e=>{e.exports=function(e,t){if(typeof e!=="string"){throw new TypeError("Expected a string")}var n=String(e);var s="";var i=t?!!t.extended:false;var o=t?!!t.globstar:false;var r=false;var a=t&&typeof t.flags==="string"?t.flags:"";var c;for(var u=0,l=n.length;u1&&(d==="/"||d===undefined)&&(h==="/"||h===undefined);if(f){s+="((?:[^/]*(?:/|$))*)";u++}else{s+="([^/]*)"}}break;default:s+=c}}if(!a||!~a.indexOf("g")){s="^"+s+"$"}return new RegExp(s,a)}},89132:e=>{"use strict";e.exports=clone;function clone(e){if(e===null||typeof e!=="object")return e;if(e instanceof Object)var t={__proto__:e.__proto__};else var t=Object.create(null);Object.getOwnPropertyNames(e).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))});return t}},90552:(e,t,n)=>{var s=n(35747);var i=n(11290);var o=n(54410);var r=n(89132);var a=n(31669);var c;var u;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){c=Symbol.for("graceful-fs.queue");u=Symbol.for("graceful-fs.previous")}else{c="___graceful-fs.queue";u="___graceful-fs.previous"}function noop(){}function publishQueue(e,t){Object.defineProperty(e,c,{get:function(){return t}})}var l=noop;if(a.debuglog)l=a.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))l=function(){var e=a.format.apply(a,arguments);e="GFS4: "+e.split(/\n/).join("\nGFS4: ");console.error(e)};if(!s[c]){var d=global[c]||[];publishQueue(s,d);s.close=function(e){function close(t,n){return e.call(s,t,function(e){if(!e){retry()}if(typeof n==="function")n.apply(this,arguments)})}Object.defineProperty(close,u,{value:e});return close}(s.close);s.closeSync=function(e){function closeSync(t){e.apply(s,arguments);retry()}Object.defineProperty(closeSync,u,{value:e});return closeSync}(s.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",function(){l(s[c]);n(42357).equal(s[c].length,0)})}}if(!global[c]){publishQueue(global,s[c])}e.exports=patch(r(s));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!s.__patched){e.exports=patch(s);s.__patched=true}function patch(e){i(e);e.gracefulify=patch;e.createReadStream=createReadStream;e.createWriteStream=createWriteStream;var t=e.readFile;e.readFile=readFile;function readFile(e,n,s){if(typeof n==="function")s=n,n=null;return go$readFile(e,n,s);function go$readFile(e,n,s){return t(e,n,function(t){if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))enqueue([go$readFile,[e,n,s]]);else{if(typeof s==="function")s.apply(this,arguments);retry()}})}}var n=e.writeFile;e.writeFile=writeFile;function writeFile(e,t,s,i){if(typeof s==="function")i=s,s=null;return go$writeFile(e,t,s,i);function go$writeFile(e,t,s,i){return n(e,t,s,function(n){if(n&&(n.code==="EMFILE"||n.code==="ENFILE"))enqueue([go$writeFile,[e,t,s,i]]);else{if(typeof i==="function")i.apply(this,arguments);retry()}})}}var s=e.appendFile;if(s)e.appendFile=appendFile;function appendFile(e,t,n,i){if(typeof n==="function")i=n,n=null;return go$appendFile(e,t,n,i);function go$appendFile(e,t,n,i){return s(e,t,n,function(s){if(s&&(s.code==="EMFILE"||s.code==="ENFILE"))enqueue([go$appendFile,[e,t,n,i]]);else{if(typeof i==="function")i.apply(this,arguments);retry()}})}}var r=e.readdir;e.readdir=readdir;function readdir(e,t,n){var s=[e];if(typeof t!=="function"){s.push(t)}else{n=t}s.push(go$readdir$cb);return go$readdir(s);function go$readdir$cb(e,t){if(t&&t.sort)t.sort();if(e&&(e.code==="EMFILE"||e.code==="ENFILE"))enqueue([go$readdir,[s]]);else{if(typeof n==="function")n.apply(this,arguments);retry()}}}function go$readdir(t){return r.apply(e,t)}if(process.version.substr(0,4)==="v0.8"){var a=o(e);ReadStream=a.ReadStream;WriteStream=a.WriteStream}var c=e.ReadStream;if(c){ReadStream.prototype=Object.create(c.prototype);ReadStream.prototype.open=ReadStream$open}var u=e.WriteStream;if(u){WriteStream.prototype=Object.create(u.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(e,"ReadStream",{get:function(){return ReadStream},set:function(e){ReadStream=e},enumerable:true,configurable:true});Object.defineProperty(e,"WriteStream",{get:function(){return WriteStream},set:function(e){WriteStream=e},enumerable:true,configurable:true});var l=ReadStream;Object.defineProperty(e,"FileReadStream",{get:function(){return l},set:function(e){l=e},enumerable:true,configurable:true});var d=WriteStream;Object.defineProperty(e,"FileWriteStream",{get:function(){return d},set:function(e){d=e},enumerable:true,configurable:true});function ReadStream(e,t){if(this instanceof ReadStream)return c.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var e=this;open(e.path,e.flags,e.mode,function(t,n){if(t){if(e.autoClose)e.destroy();e.emit("error",t)}else{e.fd=n;e.emit("open",n);e.read()}})}function WriteStream(e,t){if(this instanceof WriteStream)return u.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var e=this;open(e.path,e.flags,e.mode,function(t,n){if(t){e.destroy();e.emit("error",t)}else{e.fd=n;e.emit("open",n)}})}function createReadStream(t,n){return new e.ReadStream(t,n)}function createWriteStream(t,n){return new e.WriteStream(t,n)}var p=e.open;e.open=open;function open(e,t,n,s){if(typeof n==="function")s=n,n=null;return go$open(e,t,n,s);function go$open(e,t,n,s){return p(e,t,n,function(i,o){if(i&&(i.code==="EMFILE"||i.code==="ENFILE"))enqueue([go$open,[e,t,n,s]]);else{if(typeof s==="function")s.apply(this,arguments);retry()}})}}return e}function enqueue(e){l("ENQUEUE",e[0].name,e[1]);s[c].push(e)}function retry(){var e=s[c].shift();if(e){l("RETRY",e[0].name,e[1]);e[0].apply(null,e[1])}}},54410:(e,t,n)=>{var s=n(92413).Stream;e.exports=legacy;function legacy(e){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(t,n){if(!(this instanceof ReadStream))return new ReadStream(t,n);s.call(this);var i=this;this.path=t;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;n=n||{};var o=Object.keys(n);for(var r=0,a=o.length;rthis.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick(function(){i._read()});return}e.open(this.path,this.flags,this.mode,function(e,t){if(e){i.emit("error",e);i.readable=false;return}i.fd=t;i.emit("open",t);i._read()})}function WriteStream(t,n){if(!(this instanceof WriteStream))return new WriteStream(t,n);s.call(this);this.path=t;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;n=n||{};var i=Object.keys(n);for(var o=0,r=i.length;o= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=e.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},11290:(e,t,n)=>{var s=n(27619);var i=process.cwd;var o=null;var r=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!o)o=i.call(process);return o};try{process.cwd()}catch(e){}var a=process.chdir;process.chdir=function(e){o=null;a.call(process,e)};e.exports=patch;function patch(e){if(s.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(e)}if(!e.lutimes){patchLutimes(e)}e.chown=chownFix(e.chown);e.fchown=chownFix(e.fchown);e.lchown=chownFix(e.lchown);e.chmod=chmodFix(e.chmod);e.fchmod=chmodFix(e.fchmod);e.lchmod=chmodFix(e.lchmod);e.chownSync=chownFixSync(e.chownSync);e.fchownSync=chownFixSync(e.fchownSync);e.lchownSync=chownFixSync(e.lchownSync);e.chmodSync=chmodFixSync(e.chmodSync);e.fchmodSync=chmodFixSync(e.fchmodSync);e.lchmodSync=chmodFixSync(e.lchmodSync);e.stat=statFix(e.stat);e.fstat=statFix(e.fstat);e.lstat=statFix(e.lstat);e.statSync=statFixSync(e.statSync);e.fstatSync=statFixSync(e.fstatSync);e.lstatSync=statFixSync(e.lstatSync);if(!e.lchmod){e.lchmod=function(e,t,n){if(n)process.nextTick(n)};e.lchmodSync=function(){}}if(!e.lchown){e.lchown=function(e,t,n,s){if(s)process.nextTick(s)};e.lchownSync=function(){}}if(r==="win32"){e.rename=function(t){return function(n,s,i){var o=Date.now();var r=0;t(n,s,function CB(a){if(a&&(a.code==="EACCES"||a.code==="EPERM")&&Date.now()-o<6e4){setTimeout(function(){e.stat(s,function(e,o){if(e&&e.code==="ENOENT")t(n,s,CB);else i(a)})},r);if(r<100)r+=10;return}if(i)i(a)})}}(e.rename)}e.read=function(t){function read(n,s,i,o,r,a){var c;if(a&&typeof a==="function"){var u=0;c=function(l,d,p){if(l&&l.code==="EAGAIN"&&u<10){u++;return t.call(e,n,s,i,o,r,c)}a.apply(this,arguments)}}return t.call(e,n,s,i,o,r,c)}read.__proto__=t;return read}(e.read);e.readSync=function(t){return function(n,s,i,o,r){var a=0;while(true){try{return t.call(e,n,s,i,o,r)}catch(e){if(e.code==="EAGAIN"&&a<10){a++;continue}throw e}}}}(e.readSync);function patchLchmod(e){e.lchmod=function(t,n,i){e.open(t,s.O_WRONLY|s.O_SYMLINK,n,function(t,s){if(t){if(i)i(t);return}e.fchmod(s,n,function(t){e.close(s,function(e){if(i)i(t||e)})})})};e.lchmodSync=function(t,n){var i=e.openSync(t,s.O_WRONLY|s.O_SYMLINK,n);var o=true;var r;try{r=e.fchmodSync(i,n);o=false}finally{if(o){try{e.closeSync(i)}catch(e){}}else{e.closeSync(i)}}return r}}function patchLutimes(e){if(s.hasOwnProperty("O_SYMLINK")){e.lutimes=function(t,n,i,o){e.open(t,s.O_SYMLINK,function(t,s){if(t){if(o)o(t);return}e.futimes(s,n,i,function(t){e.close(s,function(e){if(o)o(t||e)})})})};e.lutimesSync=function(t,n,i){var o=e.openSync(t,s.O_SYMLINK);var r;var a=true;try{r=e.futimesSync(o,n,i);a=false}finally{if(a){try{e.closeSync(o)}catch(e){}}else{e.closeSync(o)}}return r}}else{e.lutimes=function(e,t,n,s){if(s)process.nextTick(s)};e.lutimesSync=function(){}}}function chmodFix(t){if(!t)return t;return function(n,s,i){return t.call(e,n,s,function(e){if(chownErOk(e))e=null;if(i)i.apply(this,arguments)})}}function chmodFixSync(t){if(!t)return t;return function(n,s){try{return t.call(e,n,s)}catch(e){if(!chownErOk(e))throw e}}}function chownFix(t){if(!t)return t;return function(n,s,i,o){return t.call(e,n,s,i,function(e){if(chownErOk(e))e=null;if(o)o.apply(this,arguments)})}}function chownFixSync(t){if(!t)return t;return function(n,s,i){try{return t.call(e,n,s,i)}catch(e){if(!chownErOk(e))throw e}}}function statFix(t){if(!t)return t;return function(n,s,i){if(typeof s==="function"){i=s;s=null}function callback(e,t){if(t){if(t.uid<0)t.uid+=4294967296;if(t.gid<0)t.gid+=4294967296}if(i)i.apply(this,arguments)}return s?t.call(e,n,s,callback):t.call(e,n,callback)}}function statFixSync(t){if(!t)return t;return function(n,s){var i=s?t.call(e,n,s):t.call(e,n);if(i.uid<0)i.uid+=4294967296;if(i.gid<0)i.gid+=4294967296;return i}}function chownErOk(e){if(!e)return true;if(e.code==="ENOSYS")return true;var t=!process.getuid||process.getuid()!==0;if(t){if(e.code==="EINVAL"||e.code==="EPERM")return true}return false}}},15235:e=>{"use strict";e.exports=parseJson;function parseJson(e,t,n){n=n||20;try{return JSON.parse(e,t)}catch(t){if(typeof e!=="string"){const t=Array.isArray(e)&&e.length===0;const n="Cannot parse "+(t?"an empty array":String(e));throw new TypeError(n)}const s=t.message.match(/^Unexpected token.*position\s+(\d+)/i);const i=s?+s[1]:t.message.match(/^Unexpected end of JSON.*/i)?e.length-1:null;if(i!=null){const s=i<=n?0:i-n;const o=i+n>=e.length?e.length:i+n;t.message+=` while parsing near '${s===0?"":"..."}${e.slice(s,o)}${o===e.length?"":"..."}'`}else{t.message+=` while parsing '${e.slice(0,n*2)}'`}throw t}}},29235:(e,t,n)=>{"use strict";const s=n(1631);const i=e=>{if(!((Number.isInteger(e)||e===Infinity)&&e>0)){throw new TypeError("Expected `concurrency` to be a number from 1 and up")}const t=new s;let n=0;const i=()=>{n--;if(t.size>0){t.dequeue()()}};const o=async(e,t,...s)=>{n++;const o=(async()=>e(...s))();t(o);try{await o}catch{}i()};const r=(s,i,...r)=>{t.enqueue(o.bind(null,s,i,...r));(async()=>{await Promise.resolve();if(n0){t.dequeue()()}})()};const a=(e,...t)=>new Promise(n=>{r(e,n,...t)});Object.defineProperties(a,{activeCount:{get:()=>n},pendingCount:{get:()=>t.size},clearQueue:{value:()=>{t.clear()}}});return a};e.exports=i},68139:(e,t,n)=>{e.exports=n(76417).randomBytes},18143:(e,t,n)=>{"use strict";const s=n(21483).y;const i=n(21483).P;class CodeNode{constructor(e){this.generatedCode=e}clone(){return new CodeNode(this.generatedCode)}getGeneratedCode(){return this.generatedCode}getMappings(e){const t=s(this.generatedCode);const n=Array(t+1).join(";");if(t>0){e.unfinishedGeneratedLine=i(this.generatedCode);if(e.unfinishedGeneratedLine>0){return n+"A"}else{return n}}else{const t=e.unfinishedGeneratedLine;e.unfinishedGeneratedLine+=i(this.generatedCode);if(t===0&&e.unfinishedGeneratedLine>0){return"A"}else{return""}}}addGeneratedCode(e){this.generatedCode+=e}mapGeneratedCode(e){const t=e(this.generatedCode);return new CodeNode(t)}getNormalizedNodes(){return[this]}merge(e){if(e instanceof CodeNode){this.generatedCode+=e.generatedCode;return this}return false}}e.exports=CodeNode},36480:e=>{"use strict";class MappingsContext{constructor(){this.sourcesIndices=new Map;this.sourcesContent=new Map;this.hasSourceContent=false;this.currentOriginalLine=1;this.currentSource=0;this.unfinishedGeneratedLine=false}ensureSource(e,t){let n=this.sourcesIndices.get(e);if(typeof n==="number"){return n}n=this.sourcesIndices.size;this.sourcesIndices.set(e,n);this.sourcesContent.set(e,t);if(typeof t==="string")this.hasSourceContent=true;return n}getArrays(){const e=[];const t=[];for(const n of this.sourcesContent){e.push(n[0]);t.push(n[1])}return{sources:e,sourcesContent:t}}}e.exports=MappingsContext},5893:(e,t,n)=>{"use strict";const s=n(51245);const i=n(21483).y;const o=n(21483).P;const r=";AAAA";class SingleLineNode{constructor(e,t,n,s){this.generatedCode=e;this.originalSource=n;this.source=t;this.line=s||1;this._numberOfLines=i(this.generatedCode);this._endsWithNewLine=e[e.length-1]==="\n"}clone(){return new SingleLineNode(this.generatedCode,this.source,this.originalSource,this.line)}getGeneratedCode(){return this.generatedCode}getMappings(e){if(!this.generatedCode)return"";const t=this._numberOfLines;const n=e.ensureSource(this.source,this.originalSource);let i="A";if(e.unfinishedGeneratedLine)i=","+s.encode(e.unfinishedGeneratedLine);i+=s.encode(n-e.currentSource);i+=s.encode(this.line-e.currentOriginalLine);i+="A";e.currentSource=n;e.currentOriginalLine=this.line;const a=e.unfinishedGeneratedLine=o(this.generatedCode);i+=Array(t).join(r);if(a===0){i+=";"}else{if(t!==0)i+=r}return i}getNormalizedNodes(){return[this]}mapGeneratedCode(e){const t=e(this.generatedCode);return new SingleLineNode(t,this.source,this.originalSource,this.line)}merge(e){if(e instanceof SingleLineNode){return this.mergeSingleLineNode(e)}return false}mergeSingleLineNode(e){if(this.source===e.source&&this.originalSource===e.originalSource){if(this.line===e.line){this.generatedCode+=e.generatedCode;this._numberOfLines+=e._numberOfLines;this._endsWithNewLine=e._endsWithNewLine;return this}else if(this.line+1===e.line&&this._endsWithNewLine&&this._numberOfLines===1&&e._numberOfLines<=1){return new a(this.generatedCode+e.generatedCode,this.source,this.originalSource,this.line)}}return false}}e.exports=SingleLineNode;const a=n(92775)},98497:(e,t,n)=>{"use strict";const s=n(18143);const i=n(92775);const o=n(36480);const r=n(21483).y;class SourceListMap{constructor(e,t,n){if(Array.isArray(e)){this.children=e}else{this.children=[];if(e||t)this.add(e,t,n)}}add(e,t,n){if(typeof e==="string"){if(t){this.children.push(new i(e,t,n))}else if(this.children.length>0&&this.children[this.children.length-1]instanceof s){this.children[this.children.length-1].addGeneratedCode(e)}else{this.children.push(new s(e))}}else if(e.getMappings&&e.getGeneratedCode){this.children.push(e)}else if(e.children){e.children.forEach(function(e){this.children.push(e)},this)}else{throw new Error("Invalid arguments to SourceListMap.protfotype.add: Expected string, Node or SourceListMap")}}preprend(e,t,n){if(typeof e==="string"){if(t){this.children.unshift(new i(e,t,n))}else if(this.children.length>0&&this.children[this.children.length-1].preprendGeneratedCode){this.children[this.children.length-1].preprendGeneratedCode(e)}else{this.children.unshift(new s(e))}}else if(e.getMappings&&e.getGeneratedCode){this.children.unshift(e)}else if(e.children){e.children.slice().reverse().forEach(function(e){this.children.unshift(e)},this)}else{throw new Error("Invalid arguments to SourceListMap.protfotype.prerend: Expected string, Node or SourceListMap")}}mapGeneratedCode(e){const t=[];this.children.forEach(function(e){e.getNormalizedNodes().forEach(function(e){t.push(e)})});const n=[];t.forEach(function(t){t=t.mapGeneratedCode(e);if(n.length===0){n.push(t)}else{const e=n[n.length-1];const s=e.merge(t);if(s){n[n.length-1]=s}else{n.push(t)}}});return new SourceListMap(n)}toString(){return this.children.map(function(e){return e.getGeneratedCode()}).join("")}toStringWithSourceMap(e){const t=new o;const n=this.children.map(function(e){return e.getGeneratedCode()}).join("");const s=this.children.map(function(e){return e.getMappings(t)}).join("");const i=t.getArrays();return{source:n,map:{version:3,file:e&&e.file,sources:i.sources,sourcesContent:t.hasSourceContent?i.sourcesContent:undefined,mappings:s}}}}e.exports=SourceListMap},92775:(e,t,n)=>{"use strict";const s=n(51245);const i=n(21483).y;const o=n(21483).P;const r=";AACA";class SourceNode{constructor(e,t,n,s){this.generatedCode=e;this.originalSource=n;this.source=t;this.startingLine=s||1;this._numberOfLines=i(this.generatedCode);this._endsWithNewLine=e[e.length-1]==="\n"}clone(){return new SourceNode(this.generatedCode,this.source,this.originalSource,this.startingLine)}getGeneratedCode(){return this.generatedCode}addGeneratedCode(e){this.generatedCode+=e;this._numberOfLines+=i(e);this._endsWithNewLine=e[e.length-1]==="\n"}getMappings(e){if(!this.generatedCode)return"";const t=this._numberOfLines;const n=e.ensureSource(this.source,this.originalSource);let i="A";if(e.unfinishedGeneratedLine)i=","+s.encode(e.unfinishedGeneratedLine);i+=s.encode(n-e.currentSource);i+=s.encode(this.startingLine-e.currentOriginalLine);i+="A";e.currentSource=n;e.currentOriginalLine=this.startingLine+t-1;const a=e.unfinishedGeneratedLine=o(this.generatedCode);i+=Array(t).join(r);if(a===0){i+=";"}else{if(t!==0){i+=r}e.currentOriginalLine++}return i}mapGeneratedCode(e){throw new Error("Cannot map generated code on a SourceMap. Normalize to SingleLineNode first.")}getNormalizedNodes(){var e=[];var t=this.startingLine;var n=this.generatedCode;var s=0;var i=n.length;while(s{var n={};var s={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("").forEach(function(e,t){n[e]=t;s[t]=e});var i={};i.encode=function base64_encode(e){if(e in s){return s[e]}throw new TypeError("Must be between 0 and 63: "+e)};i.decode=function base64_decode(e){if(e in n){return n[e]}throw new TypeError("Not a valid base 64 digit: "+e)};var o=5;var r=1<>1;return t?-n:n}t.encode=function base64VLQ_encode(e){var t="";var n;var s=toVLQSigned(e);do{n=s&a;s>>>=o;if(s>0){n|=c}t+=i.encode(n)}while(s>0);return t};t.decode=function base64VLQ_decode(e,t){var n=0;var s=e.length;var r=0;var u=0;var l,d;do{if(n>=s){throw new Error("Expected more digits in base 64 VLQ value.")}d=i.decode(e.charAt(n++));l=!!(d&c);d&=a;r=r+(d<{"use strict";const s=n(51245);const i=n(92775);const o=n(18143);const r=n(98497);e.exports=function fromStringWithSourceMap(e,t){const n=t.sources;const a=t.sourcesContent;const c=t.mappings.split(";");const u=e.split("\n");const l=[];let d=null;let p=1;let h=0;let f;function addCode(e){if(d&&d instanceof o){d.addGeneratedCode(e)}else if(d&&d instanceof i&&!e.trim()){d.addGeneratedCode(e);f++}else{d=new o(e);l.push(d)}}function addSource(e,t,n,s){if(d&&d instanceof i&&d.source===t&&f===s){d.addGeneratedCode(e);f++}else{d=new i(e,t,n,s);f=s+1;l.push(d)}}c.forEach(function(e,t){let n=u[t];if(typeof n==="undefined")return;if(t!==u.length-1)n+="\n";if(!e)return addCode(n);e={value:0,rest:e};let s=false;while(e.rest)s=processMapping(e,n,s)||s;if(!s)addCode(n)});if(c.length{"use strict";t.y=function getNumberOfLines(e){let t=-1;let n=-1;do{t++;n=e.indexOf("\n",n+1)}while(n>=0);return t};t.P=function getUnfinishedLine(e){const t=e.lastIndexOf("\n");if(t===-1)return e.length;else return e.length-t-1}},58546:(e,t,n)=>{t.SourceListMap=n(98497);t.SourceNode=n(92775);t.SingleLineNode=n(5893);t.CodeNode=n(18143);t.MappingsContext=n(36480);t.fromStringWithSourceMap=n(97375)},30036:e=>{var t;var n;var s;var i;var o;var r;var a;var c;var u;var l;var d;var p;var h;var f;var m;var g;var y;var v;var b;var k;var w;var x;(function(t){var n=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],function(e){t(createExporter(n,createExporter(e)))})}else if(true&&typeof e.exports==="object"){t(createExporter(n,createExporter(e.exports)))}else{t(createExporter(n))}function createExporter(e,t){if(e!==n){if(typeof Object.create==="function"){Object.defineProperty(e,"__esModule",{value:true})}else{e.__esModule=true}}return function(n,s){return e[n]=t?t(n,s):s}}})(function(e){var C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(t.hasOwnProperty(n))e[n]=t[n]};t=function(e,t){C(e,t);function __(){this.constructor=e}e.prototype=t===null?Object.create(t):(__.prototype=t.prototype,new __)};n=Object.assign||function(e){for(var t,n=1,s=arguments.length;n=0;a--)if(r=e[a])o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o;return i>3&&o&&Object.defineProperty(t,n,o),o};o=function(e,t){return function(n,s){t(n,s,e)}};r=function(e,t){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(e,t)};a=function(e,t,n,s){function adopt(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,i){function fulfilled(e){try{step(s.next(e))}catch(e){i(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())})};c=function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},s,i,o,r;return r={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function verb(e){return function(t){return step([e,t])}}function step(r){if(s)throw new TypeError("Generator is already executing.");while(n)try{if(s=1,i&&(o=r[0]&2?i["return"]:r[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;if(i=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:n.label++;return{value:r[1],done:false};case 5:n.label++;i=r[1];r=[0];continue;case 7:r=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){n=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]=e.length)e=void 0;return{value:e&&e[s++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};d=function(e,t){var n=typeof Symbol==="function"&&e[Symbol.iterator];if(!n)return e;var s=n.call(e),i,o=[],r;try{while((t===void 0||t-- >0)&&!(i=s.next()).done)o.push(i.value)}catch(e){r={error:e}}finally{try{if(i&&!i.done&&(n=s["return"]))n.call(s)}finally{if(r)throw r.error}}return o};p=function(){for(var e=[],t=0;t1||resume(e,t)})}}function resume(e,t){try{step(s[e](t))}catch(e){settle(o[0][3],e)}}function step(e){e.value instanceof f?Promise.resolve(e.value.v).then(fulfill,reject):settle(o[0][2],e)}function fulfill(e){resume("next",e)}function reject(e){resume("throw",e)}function settle(e,t){if(e(t),o.shift(),o.length)resume(o[0][0],o[0][1])}};g=function(e){var t,n;return t={},verb("next"),verb("throw",function(e){throw e}),verb("return"),t[Symbol.iterator]=function(){return this},t;function verb(s,i){t[s]=e[s]?function(t){return(n=!n)?{value:f(e[s](t)),done:s==="return"}:i?i(t):t}:i}};y=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof l==="function"?l(e):e[Symbol.iterator](),n={},verb("next"),verb("throw"),verb("return"),n[Symbol.asyncIterator]=function(){return this},n);function verb(t){n[t]=e[t]&&function(n){return new Promise(function(s,i){n=e[t](n),settle(s,i,n.done,n.value)})}}function settle(e,t,n,s){Promise.resolve(s).then(function(t){e({value:t,done:n})},t)}};v=function(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e};b=function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(Object.hasOwnProperty.call(e,n))t[n]=e[n];t["default"]=e;return t};k=function(e){return e&&e.__esModule?e:{default:e}};w=function(e,t){if(!t.has(e)){throw new TypeError("attempted to get private field on non-instance")}return t.get(e)};x=function(e,t,n){if(!t.has(e)){throw new TypeError("attempted to set private field on non-instance")}t.set(e,n);return n};e("__extends",t);e("__assign",n);e("__rest",s);e("__decorate",i);e("__param",o);e("__metadata",r);e("__awaiter",a);e("__generator",c);e("__exportStar",u);e("__values",l);e("__read",d);e("__spread",p);e("__spreadArrays",h);e("__await",f);e("__asyncGenerator",m);e("__asyncDelegator",g);e("__asyncValues",y);e("__makeTemplateObject",v);e("__importStar",b);e("__importDefault",k);e("__classPrivateFieldGet",w);e("__classPrivateFieldSet",x)})},74315:(e,t,n)=>{"use strict";const s=n(16475);const i=n(53799);const o=n(76911);const{toConstantDependency:r,evaluateToString:a}=n(93998);const c=n(84519);const u=n(88732);const l={__webpack_require__:{expr:s.require,req:[s.require],type:"function",assign:false},__webpack_public_path__:{expr:s.publicPath,req:[s.publicPath],type:"string",assign:true},__webpack_modules__:{expr:s.moduleFactories,req:[s.moduleFactories],type:"object",assign:false},__webpack_chunk_load__:{expr:s.ensureChunk,req:[s.ensureChunk],type:"function",assign:true},__non_webpack_require__:{expr:"require",req:null,type:undefined,assign:true},__webpack_nonce__:{expr:s.scriptNonce,req:[s.scriptNonce],type:"string",assign:true},__webpack_hash__:{expr:`${s.getFullHash}()`,req:[s.getFullHash],type:"string",assign:false},__webpack_chunkname__:{expr:s.chunkName,req:[s.chunkName],type:"string",assign:false},__webpack_get_script_filename__:{expr:s.getChunkScriptFilename,req:[s.getChunkScriptFilename],type:"function",assign:true},"require.onError":{expr:s.uncaughtErrorHandler,req:[s.uncaughtErrorHandler],type:undefined,assign:true},__system_context__:{expr:s.systemContext,req:[s.systemContext],type:"object",assign:false},__webpack_share_scopes__:{expr:s.shareScopeMap,req:[s.shareScopeMap],type:"object",assign:false},__webpack_init_sharing__:{expr:s.initializeSharing,req:[s.initializeSharing],type:"function",assign:true}};class APIPlugin{apply(e){e.hooks.compilation.tap("APIPlugin",(e,{normalModuleFactory:t})=>{e.dependencyTemplates.set(o,new o.Template);e.hooks.runtimeRequirementInTree.for(s.chunkName).tap("APIPlugin",t=>{e.addRuntimeModule(t,new c(t.name));return true});e.hooks.runtimeRequirementInTree.for(s.getFullHash).tap("APIPlugin",(t,n)=>{e.addRuntimeModule(t,new u);return true});const n=e=>{Object.keys(l).forEach(t=>{const n=l[t];e.hooks.expression.for(t).tap("APIPlugin",r(e,n.expr,n.req));if(n.assign===false){e.hooks.assign.for(t).tap("APIPlugin",e=>{const n=new i(`${t} must not be assigned`);n.loc=e.loc;throw n})}if(n.type){e.hooks.evaluateTypeof.for(t).tap("APIPlugin",a(n.type))}})};t.hooks.parser.for("javascript/auto").tap("APIPlugin",n);t.hooks.parser.for("javascript/dynamic").tap("APIPlugin",n);t.hooks.parser.for("javascript/esm").tap("APIPlugin",n)})}}e.exports=APIPlugin},77198:(e,t,n)=>{"use strict";const s=n(53799);const i=/at ([a-zA-Z0-9_.]*)/;function createMessage(e){return`Abstract method${e?" "+e:""}. Must be overridden.`}function Message(){this.stack=undefined;Error.captureStackTrace(this);const e=this.stack.split("\n")[3].match(i);this.message=e&&e[1]?createMessage(e[1]):createMessage()}class AbstractMethodError extends s{constructor(){super((new Message).message);this.name="AbstractMethodError"}}e.exports=AbstractMethodError},47736:(e,t,n)=>{"use strict";const s=n(71040);const i=n(33032);class AsyncDependenciesBlock extends s{constructor(e,t,n){super();if(typeof e==="string"){e={name:e}}else if(!e){e={name:undefined}}this.groupOptions=e;this.loc=t;this.request=n;this.parent=undefined}get chunkName(){return this.groupOptions.name}set chunkName(e){this.groupOptions.name=e}updateHash(e,t){const{chunkGraph:n}=t;e.update(JSON.stringify(this.groupOptions));const s=n.getBlockChunkGroup(this);e.update(s?s.id:"");super.updateHash(e,t)}serialize(e){const{write:t}=e;t(this.groupOptions);t(this.loc);t(this.request);super.serialize(e)}deserialize(e){const{read:t}=e;this.groupOptions=t();this.loc=t();this.request=t();super.deserialize(e)}}i(AsyncDependenciesBlock,"webpack/lib/AsyncDependenciesBlock");Object.defineProperty(AsyncDependenciesBlock.prototype,"module",{get(){throw new Error("module property was removed from AsyncDependenciesBlock (it's not needed)")},set(){throw new Error("module property was removed from AsyncDependenciesBlock (it's not needed)")}});e.exports=AsyncDependenciesBlock},30111:(e,t,n)=>{"use strict";const s=n(53799);class AsyncDependencyToInitialChunkError extends s{constructor(e,t,n){super(`It's not allowed to load an initial chunk on demand. The chunk name "${e}" is already used by an entrypoint.`);this.name="AsyncDependencyToInitialChunkError";this.module=t;this.loc=n;Error.captureStackTrace(this,this.constructor)}}e.exports=AsyncDependencyToInitialChunkError},17714:(e,t,n)=>{"use strict";const s=n(36386);const i=n(39);const o=n(19563);class AutomaticPrefetchPlugin{apply(e){e.hooks.compilation.tap("AutomaticPrefetchPlugin",(e,{normalModuleFactory:t})=>{e.dependencyFactories.set(o,t)});let t=null;e.hooks.afterCompile.tap("AutomaticPrefetchPlugin",e=>{t=Array.from(e.modules).filter(e=>e instanceof i).map(e=>({context:e.context,request:e.request}))});e.hooks.make.tapAsync("AutomaticPrefetchPlugin",(n,i)=>{if(!t)return i();s.forEach(t,(t,s)=>{n.addModuleChain(t.context||e.context,new o(t.request),s)},i)})}}e.exports=AutomaticPrefetchPlugin},21242:(e,t,n)=>{"use strict";const{validate:s}=n(33225);const{ConcatSource:i}=n(84697);const o=n(85720);const r=n(88821);const a=n(1626);const c=n(33946);const u=e=>{if(!e.includes("\n")){return a.toComment(e)}return`/*!\n * ${e.replace(/\*\//g,"* /").split("\n").join("\n * ").replace(/\s+\n/g,"\n").trimRight()}\n */`};class BannerPlugin{constructor(e){if(typeof e==="string"||typeof e==="function"){e={banner:e}}s(c,e,{name:"Banner Plugin",baseDataPath:"options"});this.options=e;const t=e.banner;if(typeof t==="function"){const e=t;this.banner=this.options.raw?e:t=>u(e(t))}else{const e=this.options.raw?t:u(t);this.banner=(()=>e)}}apply(e){const t=this.options;const n=this.banner;const s=r.matchObject.bind(undefined,t);e.hooks.compilation.tap("BannerPlugin",e=>{e.hooks.processAssets.tap({name:"BannerPlugin",stage:o.PROCESS_ASSETS_STAGE_ADDITIONS},()=>{for(const o of e.chunks){if(t.entryOnly&&!o.canBeInitial()){continue}for(const t of o.files){if(!s(t)){continue}const r={chunk:o,filename:t};const a=e.getPath(n,r);e.updateAsset(t,e=>new i(a,"\n",e))}}})})}}e.exports=BannerPlugin},7592:(e,t,n)=>{"use strict";const{AsyncParallelHook:s,AsyncSeriesBailHook:i,SyncHook:o}=n(6967);const{makeWebpackError:r,makeWebpackErrorCallback:a}=n(11351);const c=(e,t)=>{return n=>{if(--e===0){return t(n)}if(n&&e>0){e=0;return t(n)}}};class Cache{constructor(){this.hooks={get:new i(["identifier","etag","gotHandlers"]),store:new s(["identifier","etag","data"]),storeBuildDependencies:new s(["dependencies"]),beginIdle:new o([]),endIdle:new s([]),shutdown:new s([])}}get(e,t,n){const s=[];this.hooks.get.callAsync(e,t,s,(e,t)=>{if(e){n(r(e,"Cache.hooks.get"));return}if(t===null){t=undefined}if(s.length>1){const e=c(s.length,()=>n(null,t));for(const n of s){n(t,e)}}else if(s.length===1){s[0](t,()=>n(null,t))}else{n(null,t)}})}store(e,t,n,s){this.hooks.store.callAsync(e,t,n,a(s,"Cache.hooks.store"))}storeBuildDependencies(e,t){this.hooks.storeBuildDependencies.callAsync(e,a(t,"Cache.hooks.storeBuildDependencies"))}beginIdle(){this.hooks.beginIdle.call()}endIdle(e){this.hooks.endIdle.callAsync(a(e,"Cache.hooks.endIdle"))}shutdown(e){this.hooks.shutdown.callAsync(a(e,"Cache.hooks.shutdown"))}}Cache.STAGE_MEMORY=-10;Cache.STAGE_DEFAULT=0;Cache.STAGE_DISK=10;Cache.STAGE_NETWORK=20;e.exports=Cache},55392:(e,t,n)=>{"use strict";const s=n(36386);const i=n(94075);const o=n(54980);class MultiItemCache{constructor(e){this._items=e}get(e){const t=n=>{this._items[n].get((s,i)=>{if(s)return e(s);if(i!==undefined)return e(null,i);if(++n>=this._items.length)return e();t(n)})};t(0)}getPromise(){const e=t=>{return this._items[t].getPromise().then(n=>{if(n!==undefined)return n;if(++tt.store(e,n),t)}storePromise(e){return Promise.all(this._items.map(t=>t.storePromise(e))).then(()=>{})}}class ItemCacheFacade{constructor(e,t,n){this._cache=e;this._name=t;this._etag=n}get(e){this._cache.get(this._name,this._etag,e)}getPromise(){return new Promise((e,t)=>{this._cache.get(this._name,this._etag,(n,s)=>{if(n){t(n)}else{e(s)}})})}store(e,t){this._cache.store(this._name,this._etag,e,t)}storePromise(e){return new Promise((t,n)=>{this._cache.store(this._name,this._etag,e,e=>{if(e){n(e)}else{t()}})})}provide(e,t){this.get((n,s)=>{if(n)return t(n);if(s!==undefined)return s;e((e,n)=>{if(e)return t(e);this.store(n,e=>{if(e)return t(e);t(null,n)})})})}async providePromise(e){const t=await this.getPromise();if(t!==undefined)return t;const n=await e();await this.storePromise(n);return n}}class CacheFacade{constructor(e,t){this._cache=e;this._name=t}getChildCache(e){return new CacheFacade(this._cache,`${this._name}|${e}`)}getItemCache(e,t){return new ItemCacheFacade(this._cache,`${this._name}|${e}`,t)}getLazyHashedEtag(e){return i(e)}mergeEtags(e,t){return o(e,t)}get(e,t,n){this._cache.get(`${this._name}|${e}`,t,n)}getPromise(e,t){return new Promise((n,s)=>{this._cache.get(`${this._name}|${e}`,t,(e,t)=>{if(e){s(e)}else{n(t)}})})}store(e,t,n,s){this._cache.store(`${this._name}|${e}`,t,n,s)}storePromise(e,t,n){return new Promise((s,i)=>{this._cache.store(`${this._name}|${e}`,t,n,e=>{if(e){i(e)}else{s()}})})}provide(e,t,n,s){this.get(e,t,(i,o)=>{if(i)return s(i);if(o!==undefined)return o;n((n,i)=>{if(n)return s(n);this.store(e,t,i,e=>{if(e)return s(e);s(null,i)})})})}async providePromise(e,t,n){const s=await this.getPromise(e,t);if(s!==undefined)return s;const i=await n();await this.storePromise(e,t,i);return i}}e.exports=CacheFacade;e.exports.ItemCacheFacade=ItemCacheFacade;e.exports.MultiItemCache=MultiItemCache},77975:(e,t,n)=>{"use strict";const s=n(53799);const i=e=>{return e.slice().sort((e,t)=>{const n=e.identifier();const s=t.identifier();if(ns)return 1;return 0})};const o=(e,t)=>{return e.map(e=>{let n=`* ${e.identifier()}`;const s=Array.from(t.getIncomingConnections(e)).filter(e=>e.originModule);if(s.length>0){n+=`\n Used by ${s.length} module(s), i. e.`;n+=`\n ${s[0].originModule.identifier()}`}return n}).join("\n")};class CaseSensitiveModulesWarning extends s{constructor(e,t){const n=i(e);const s=o(n,t);super(`There are multiple modules with names that only differ in casing.\nThis can lead to unexpected behavior when compiling on a filesystem with other case-semantic.\nUse equal casing. Compare these module identifiers:\n${s}`);this.name="CaseSensitiveModulesWarning";this.module=n[0];Error.captureStackTrace(this,this.constructor)}}e.exports=CaseSensitiveModulesWarning},39385:(e,t,n)=>{"use strict";const s=n(64971);const i=n(13795);const{intersect:o}=n(93347);const r=n(13098);const a=n(40293);const{compareModulesByIdentifier:c,compareChunkGroupsByIndex:u,compareModulesById:l}=n(29579);const{createArrayToSetDeprecationSet:d}=n(64518);const{mergeRuntime:p}=n(17156);const h=d("chunk.files");let f=1e3;class Chunk{constructor(e){this.id=null;this.ids=null;this.debugId=f++;this.name=e;this.idNameHints=new r;this.preventIntegration=false;this.filenameTemplate=undefined;this._groups=new r(undefined,u);this.runtime=undefined;this.files=new h;this.auxiliaryFiles=new Set;this.rendered=false;this.hash=undefined;this.contentHash=Object.create(null);this.renderedHash=undefined;this.chunkReason=undefined;this.extraAsync=false}get entryModule(){const e=Array.from(s.getChunkGraphForChunk(this,"Chunk.entryModule","DEP_WEBPACK_CHUNK_ENTRY_MODULE").getChunkEntryModulesIterable(this));if(e.length===0){return undefined}else if(e.length===1){return e[0]}else{throw new Error("Module.entryModule: Multiple entry modules are not supported by the deprecated API (Use the new ChunkGroup API)")}}hasEntryModule(){return s.getChunkGraphForChunk(this,"Chunk.hasEntryModule","DEP_WEBPACK_CHUNK_HAS_ENTRY_MODULE").getNumberOfEntryModules(this)>0}addModule(e){const t=s.getChunkGraphForChunk(this,"Chunk.addModule","DEP_WEBPACK_CHUNK_ADD_MODULE");if(t.isModuleInChunk(e,this))return false;t.connectChunkAndModule(this,e);return true}removeModule(e){s.getChunkGraphForChunk(this,"Chunk.removeModule","DEP_WEBPACK_CHUNK_REMOVE_MODULE").disconnectChunkAndModule(this,e)}getNumberOfModules(){return s.getChunkGraphForChunk(this,"Chunk.getNumberOfModules","DEP_WEBPACK_CHUNK_GET_NUMBER_OF_MODULES").getNumberOfChunkModules(this)}get modulesIterable(){const e=s.getChunkGraphForChunk(this,"Chunk.modulesIterable","DEP_WEBPACK_CHUNK_MODULES_ITERABLE");return e.getOrderedChunkModulesIterable(this,c)}compareTo(e){const t=s.getChunkGraphForChunk(this,"Chunk.compareTo","DEP_WEBPACK_CHUNK_COMPARE_TO");return t.compareChunks(this,e)}containsModule(e){return s.getChunkGraphForChunk(this,"Chunk.containsModule","DEP_WEBPACK_CHUNK_CONTAINS_MODULE").isModuleInChunk(e,this)}getModules(){return s.getChunkGraphForChunk(this,"Chunk.getModules","DEP_WEBPACK_CHUNK_GET_MODULES").getChunkModules(this)}remove(){const e=s.getChunkGraphForChunk(this,"Chunk.remove","DEP_WEBPACK_CHUNK_REMOVE");e.disconnectChunk(this);this.disconnectFromGroups()}moveModule(e,t){const n=s.getChunkGraphForChunk(this,"Chunk.moveModule","DEP_WEBPACK_CHUNK_MOVE_MODULE");n.disconnectChunkAndModule(this,e);n.connectChunkAndModule(t,e)}integrate(e){const t=s.getChunkGraphForChunk(this,"Chunk.integrate","DEP_WEBPACK_CHUNK_INTEGRATE");if(t.canChunksBeIntegrated(this,e)){t.integrateChunks(this,e);return true}else{return false}}canBeIntegrated(e){const t=s.getChunkGraphForChunk(this,"Chunk.canBeIntegrated","DEP_WEBPACK_CHUNK_CAN_BE_INTEGRATED");return t.canChunksBeIntegrated(this,e)}isEmpty(){const e=s.getChunkGraphForChunk(this,"Chunk.isEmpty","DEP_WEBPACK_CHUNK_IS_EMPTY");return e.getNumberOfChunkModules(this)===0}modulesSize(){const e=s.getChunkGraphForChunk(this,"Chunk.modulesSize","DEP_WEBPACK_CHUNK_MODULES_SIZE");return e.getChunkModulesSize(this)}size(e={}){const t=s.getChunkGraphForChunk(this,"Chunk.size","DEP_WEBPACK_CHUNK_SIZE");return t.getChunkSize(this,e)}integratedSize(e,t){const n=s.getChunkGraphForChunk(this,"Chunk.integratedSize","DEP_WEBPACK_CHUNK_INTEGRATED_SIZE");return n.getIntegratedChunksSize(this,e,t)}getChunkModuleMaps(e){const t=s.getChunkGraphForChunk(this,"Chunk.getChunkModuleMaps","DEP_WEBPACK_CHUNK_GET_CHUNK_MODULE_MAPS");const n=Object.create(null);const i=Object.create(null);for(const s of this.getAllAsyncChunks()){let o;for(const r of t.getOrderedChunkModulesIterable(s,l(t))){if(e(r)){if(o===undefined){o=[];n[s.id]=o}const e=t.getModuleId(r);o.push(e);i[e]=t.getRenderedModuleHash(r,undefined)}}}return{id:n,hash:i}}hasModuleInGraph(e,t){const n=s.getChunkGraphForChunk(this,"Chunk.hasModuleInGraph","DEP_WEBPACK_CHUNK_HAS_MODULE_IN_GRAPH");return n.hasModuleInGraph(this,e,t)}getChunkMaps(e){const t=Object.create(null);const n=Object.create(null);const s=Object.create(null);for(const i of this.getAllAsyncChunks()){t[i.id]=e?i.hash:i.renderedHash;for(const e of Object.keys(i.contentHash)){if(!n[e]){n[e]=Object.create(null)}n[e][i.id]=i.contentHash[e]}if(i.name){s[i.id]=i.name}}return{hash:t,contentHash:n,name:s}}hasRuntime(){for(const e of this._groups){if(e instanceof i&&e.getRuntimeChunk()===this){return true}}return false}canBeInitial(){for(const e of this._groups){if(e.isInitial())return true}return false}isOnlyInitial(){if(this._groups.size<=0)return false;for(const e of this._groups){if(!e.isInitial())return false}return true}getEntryOptions(){for(const e of this._groups){if(e instanceof i){return e.options}}return undefined}addGroup(e){this._groups.add(e)}removeGroup(e){this._groups.delete(e)}isInGroup(e){return this._groups.has(e)}getNumberOfGroups(){return this._groups.size}get groupsIterable(){this._groups.sort();return this._groups}disconnectFromGroups(){for(const e of this._groups){e.removeChunk(this)}}split(e){for(const t of this._groups){t.insertChunk(e,this);e.addGroup(t)}for(const t of this.idNameHints){e.idNameHints.add(t)}e.runtime=p(e.runtime,this.runtime)}updateHash(e,t){e.update(`${this.id} `);e.update(this.ids?this.ids.join(","):"");e.update(`${this.name||""} `);const n=new a;for(const e of t.getChunkModulesIterable(this)){n.add(t.getModuleHash(e,this.runtime))}n.updateHash(e);const s=t.getChunkEntryModulesWithChunkGroupIterable(this);for(const[n,i]of s){e.update("entry");e.update(`${t.getModuleId(n)}`);e.update(i.id)}}getAllAsyncChunks(){const e=new Set;const t=new Set;const n=o(Array.from(this.groupsIterable,e=>new Set(e.chunks)));for(const t of this.groupsIterable){for(const n of t.childrenIterable){e.add(n)}}for(const s of e){for(const e of s.chunks){if(!n.has(e)){t.add(e)}}for(const t of s.childrenIterable){e.add(t)}}return t}getAllInitialChunks(){return o(Array.from(this.groupsIterable,e=>new Set(e.chunks)))}getAllReferencedChunks(){const e=new Set(this.groupsIterable);const t=new Set;for(const n of e){for(const e of n.chunks){t.add(e)}for(const t of n.childrenIterable){e.add(t)}}return t}getAllReferencedAsyncEntrypoints(){const e=new Set(this.groupsIterable);const t=new Set;for(const n of e){for(const e of n.asyncEntrypointsIterable){t.add(e)}for(const t of n.childrenIterable){e.add(t)}}return t}hasAsyncChunks(){const e=new Set;const t=o(Array.from(this.groupsIterable,e=>new Set(e.chunks)));for(const t of this.groupsIterable){for(const n of t.childrenIterable){e.add(n)}}for(const n of e){for(const e of n.chunks){if(!t.has(e)){return true}}for(const t of n.childrenIterable){e.add(t)}}return false}getChildIdsByOrders(e,t){const n=new Map;for(const e of this.groupsIterable){if(e.chunks[e.chunks.length-1]===this){for(const t of e.childrenIterable){for(const e of Object.keys(t.options)){if(e.endsWith("Order")){const s=e.substr(0,e.length-"Order".length);let i=n.get(s);if(i===undefined){i=[];n.set(s,i)}i.push({order:t.options[e],group:t})}}}}}const s=Object.create(null);for(const[i,o]of n){o.sort((t,n)=>{const s=n.order-t.order;if(s!==0)return s;return t.group.compareTo(e,n.group)});const n=new Set;for(const s of o){for(const i of s.group.chunks){if(t&&!t(i,e))continue;n.add(i.id)}}if(n.size>0){s[i]=Array.from(n)}}return s}getChildIdsByOrdersMap(e,t,n){const s=Object.create(null);const i=t=>{const i=t.getChildIdsByOrders(e,n);for(const e of Object.keys(i)){let n=s[e];if(n===undefined){s[e]=n=Object.create(null)}n[t.id]=i[e]}};if(t){const e=new Set;for(const t of this.groupsIterable){for(const n of t.chunks){e.add(n)}}for(const t of e){i(t)}}for(const e of this.getAllAsyncChunks()){i(e)}return s}}e.exports=Chunk},64971:(e,t,n)=>{"use strict";const s=n(31669);const i=n(13098);const{compareModulesById:o,compareIterables:r,compareModulesByIdentifier:a,concatComparators:c,compareSelect:u,compareIds:l}=n(29579);const d=n(6261);const{RuntimeSpecMap:p,RuntimeSpecSet:h,runtimeToString:f,mergeRuntime:m}=n(17156);const g=new Set;const y=r(a);const v=e=>{return Array.from(e)};const b=e=>{const t=new Map;for(const n of e){for(const e of n.getSourceTypes()){let s=t.get(e);if(s===undefined){s=new i;t.set(e,s)}s.add(n)}}for(const[n,s]of t){if(s.size===e.size){t.set(n,e)}}return t};const k=new WeakMap;const w=e=>{let t=k.get(e);if(t!==undefined)return t;t=(t=>{t.sortWith(e);return Array.from(t)});k.set(e,t);return t};const x=e=>{let t=0;for(const n of e){for(const e of n.getSourceTypes()){t+=n.size(e)}}return t};const C=e=>{let t=Object.create(null);for(const n of e){for(const e of n.getSourceTypes()){t[e]=(t[e]||0)+n.size(e)}}return t};const M=(e,t)=>{const n=new Set(t.groupsIterable);for(const t of n){if(e.isInGroup(t))continue;if(t.isInitial())return false;for(const e of t.parentsIterable){n.add(e)}}return true};class ChunkGraphModule{constructor(){this.chunks=new i;this.entryInChunks=undefined;this.runtimeInChunks=undefined;this.hashes=undefined;this.id=null;this.runtimeRequirements=undefined}}class ChunkGraphChunk{constructor(){this.modules=new i;this.entryModules=new Map;this.runtimeModules=new i;this.fullHashModules=undefined;this.runtimeRequirements=undefined;this.runtimeRequirementsInTree=new Set}}class ChunkGraph{constructor(e){this._modules=new WeakMap;this._chunks=new WeakMap;this._blockChunkGroups=new WeakMap;this._runtimeIds=new Map;this.moduleGraph=e;this._getGraphRoots=this._getGraphRoots.bind(this);this._cacheChunkGraphModuleKey1=undefined;this._cacheChunkGraphModuleValue1=undefined;this._cacheChunkGraphModuleKey2=undefined;this._cacheChunkGraphModuleValue2=undefined;this._cacheChunkGraphChunkKey1=undefined;this._cacheChunkGraphChunkValue1=undefined;this._cacheChunkGraphChunkKey2=undefined;this._cacheChunkGraphChunkValue2=undefined}_getChunkGraphModule(e){if(this._cacheChunkGraphModuleKey1===e)return this._cacheChunkGraphModuleValue1;if(this._cacheChunkGraphModuleKey2===e)return this._cacheChunkGraphModuleValue2;let t=this._modules.get(e);if(t===undefined){t=new ChunkGraphModule;this._modules.set(e,t)}this._cacheChunkGraphModuleKey2=this._cacheChunkGraphModuleKey1;this._cacheChunkGraphModuleValue2=this._cacheChunkGraphModuleValue1;this._cacheChunkGraphModuleKey1=e;this._cacheChunkGraphModuleValue1=t;return t}_getChunkGraphChunk(e){if(this._cacheChunkGraphChunkKey1===e)return this._cacheChunkGraphChunkValue1;if(this._cacheChunkGraphChunkKey2===e)return this._cacheChunkGraphChunkValue2;let t=this._chunks.get(e);if(t===undefined){t=new ChunkGraphChunk;this._chunks.set(e,t)}this._cacheChunkGraphChunkKey2=this._cacheChunkGraphChunkKey1;this._cacheChunkGraphChunkValue2=this._cacheChunkGraphChunkValue1;this._cacheChunkGraphChunkKey1=e;this._cacheChunkGraphChunkValue1=t;return t}_getGraphRoots(e){const{moduleGraph:t}=this;return Array.from(d(e,e=>{const n=new Set;for(const s of t.getOutgoingConnections(e)){if(!s.module)continue;n.add(s.module)}return n})).sort(a)}connectChunkAndModule(e,t){const n=this._getChunkGraphModule(t);const s=this._getChunkGraphChunk(e);n.chunks.add(e);s.modules.add(t)}disconnectChunkAndModule(e,t){const n=this._getChunkGraphModule(t);const s=this._getChunkGraphChunk(e);s.modules.delete(t);n.chunks.delete(e)}disconnectChunk(e){const t=this._getChunkGraphChunk(e);for(const n of t.modules){const t=this._getChunkGraphModule(n);t.chunks.delete(e)}t.modules.clear();e.disconnectFromGroups()}attachModules(e,t){const n=this._getChunkGraphChunk(e);for(const e of t){n.modules.add(e)}}attachRuntimeModules(e,t){const n=this._getChunkGraphChunk(e);for(const e of t){n.runtimeModules.add(e)}}attachFullHashModules(e,t){const n=this._getChunkGraphChunk(e);if(n.fullHashModules===undefined)n.fullHashModules=new Set;for(const e of t){n.fullHashModules.add(e)}}replaceModule(e,t){const n=this._getChunkGraphModule(e);const s=this._getChunkGraphModule(t);for(const i of n.chunks){const n=this._getChunkGraphChunk(i);n.modules.delete(e);n.modules.add(t);s.chunks.add(i)}n.chunks.clear();if(n.entryInChunks!==undefined){if(s.entryInChunks===undefined){s.entryInChunks=new Set}for(const i of n.entryInChunks){const n=this._getChunkGraphChunk(i);const o=n.entryModules.get(e);const r=new Map;for(const[s,i]of n.entryModules){if(s===e){r.set(t,o)}else{r.set(s,i)}}n.entryModules=r;s.entryInChunks.add(i)}n.entryInChunks=undefined}if(n.runtimeInChunks!==undefined){if(s.runtimeInChunks===undefined){s.runtimeInChunks=new Set}for(const i of n.runtimeInChunks){const n=this._getChunkGraphChunk(i);n.runtimeModules.delete(e);n.runtimeModules.add(t);s.runtimeInChunks.add(i);if(n.fullHashModules!==undefined&&n.fullHashModules.has(e)){n.fullHashModules.delete(e);n.fullHashModules.add(t)}}n.runtimeInChunks=undefined}}isModuleInChunk(e,t){const n=this._getChunkGraphChunk(t);return n.modules.has(e)}isModuleInChunkGroup(e,t){for(const n of t.chunks){if(this.isModuleInChunk(e,n))return true}return false}isEntryModule(e){const t=this._getChunkGraphModule(e);return t.entryInChunks!==undefined}getModuleChunksIterable(e){const t=this._getChunkGraphModule(e);return t.chunks}getOrderedModuleChunksIterable(e,t){const n=this._getChunkGraphModule(e);n.chunks.sortWith(t);return n.chunks}getModuleChunks(e){const t=this._getChunkGraphModule(e);return t.chunks.getFromCache(v)}getNumberOfModuleChunks(e){const t=this._getChunkGraphModule(e);return t.chunks.size}getModuleRuntimes(e){const t=this._getChunkGraphModule(e);const n=new h;for(const e of t.chunks){n.add(e.runtime)}return n}getNumberOfChunkModules(e){const t=this._getChunkGraphChunk(e);return t.modules.size}getChunkModulesIterable(e){const t=this._getChunkGraphChunk(e);return t.modules}getChunkModulesIterableBySourceType(e,t){const n=this._getChunkGraphChunk(e);const s=n.modules.getFromUnorderedCache(b).get(t);return s}getOrderedChunkModulesIterable(e,t){const n=this._getChunkGraphChunk(e);n.modules.sortWith(t);return n.modules}getOrderedChunkModulesIterableBySourceType(e,t,n){const s=this._getChunkGraphChunk(e);const i=s.modules.getFromUnorderedCache(b).get(t);if(i===undefined)return undefined;i.sortWith(n);return i}getChunkModules(e){const t=this._getChunkGraphChunk(e);return t.modules.getFromUnorderedCache(v)}getOrderedChunkModules(e,t){const n=this._getChunkGraphChunk(e);const s=w(t);return n.modules.getFromUnorderedCache(s)}getChunkModuleIdMap(e,t,n=false){const s=Object.create(null);for(const i of n?e.getAllReferencedChunks():e.getAllAsyncChunks()){let e;for(const n of this.getOrderedChunkModulesIterable(i,o(this))){if(t(n)){if(e===undefined){e=[];s[i.id]=e}const t=this.getModuleId(n);e.push(t)}}}return s}getChunkModuleRenderedHashMap(e,t,n=0,s=false){const i=Object.create(null);for(const r of s?e.getAllReferencedChunks():e.getAllAsyncChunks()){let e;for(const s of this.getOrderedChunkModulesIterable(r,o(this))){if(t(s)){if(e===undefined){e=Object.create(null);i[r.id]=e}const t=this.getModuleId(s);const o=this.getRenderedModuleHash(s,r.runtime);e[t]=n?o.slice(0,n):o}}}return i}getChunkConditionMap(e,t){const n=Object.create(null);for(const s of e.getAllAsyncChunks()){n[s.id]=t(s,this)}for(const s of this.getChunkEntryDependentChunksIterable(e)){n[s.id]=t(s,this)}return n}hasModuleInGraph(e,t,n){const s=new Set(e.groupsIterable);const i=new Set;for(const e of s){for(const s of e.chunks){if(!i.has(s)){i.add(s);if(!n||n(s,this)){for(const e of this.getChunkModulesIterable(s)){if(t(e)){return true}}}}}for(const t of e.childrenIterable){s.add(t)}}return false}compareChunks(e,t){const n=this._getChunkGraphChunk(e);const s=this._getChunkGraphChunk(t);if(n.modules.size>s.modules.size)return-1;if(n.modules.size0||this.getNumberOfEntryModules(t)>0){return false}return true}integrateChunks(e,t){if(e.name&&t.name){if(this.getNumberOfEntryModules(e)>0===this.getNumberOfEntryModules(t)>0){if(e.name.length!==t.name.length){e.name=e.name.length0){e.name=t.name}}else if(t.name){e.name=t.name}for(const n of t.idNameHints){e.idNameHints.add(n)}e.runtime=m(e.runtime,t.runtime);for(const n of this.getChunkModules(t)){this.disconnectChunkAndModule(t,n);this.connectChunkAndModule(e,n)}for(const[n,s]of Array.from(this.getChunkEntryModulesWithChunkGroupIterable(t))){this.disconnectChunkAndEntryModule(t,n);this.connectChunkAndEntryModule(e,n,s)}for(const n of t.groupsIterable){n.replaceChunk(t,e);e.addGroup(n);t.removeGroup(n)}}isEntryModuleInChunk(e,t){const n=this._getChunkGraphChunk(t);return n.entryModules.has(e)}connectChunkAndEntryModule(e,t,n){const s=this._getChunkGraphModule(t);const i=this._getChunkGraphChunk(e);if(s.entryInChunks===undefined){s.entryInChunks=new Set}s.entryInChunks.add(e);i.entryModules.set(t,n)}connectChunkAndRuntimeModule(e,t){const n=this._getChunkGraphModule(t);const s=this._getChunkGraphChunk(e);if(n.runtimeInChunks===undefined){n.runtimeInChunks=new Set}n.runtimeInChunks.add(e);s.runtimeModules.add(t)}addFullHashModuleToChunk(e,t){const n=this._getChunkGraphChunk(e);if(n.fullHashModules===undefined)n.fullHashModules=new Set;n.fullHashModules.add(t)}disconnectChunkAndEntryModule(e,t){const n=this._getChunkGraphModule(t);const s=this._getChunkGraphChunk(e);n.entryInChunks.delete(e);if(n.entryInChunks.size===0){n.entryInChunks=undefined}s.entryModules.delete(t)}disconnectChunkAndRuntimeModule(e,t){const n=this._getChunkGraphModule(t);const s=this._getChunkGraphChunk(e);n.runtimeInChunks.delete(e);if(n.runtimeInChunks.size===0){n.runtimeInChunks=undefined}s.runtimeModules.delete(t)}disconnectEntryModule(e){const t=this._getChunkGraphModule(e);for(const n of t.entryInChunks){const t=this._getChunkGraphChunk(n);t.entryModules.delete(e)}t.entryInChunks=undefined}disconnectEntries(e){const t=this._getChunkGraphChunk(e);for(const n of t.entryModules.keys()){const t=this._getChunkGraphModule(n);t.entryInChunks.delete(e);if(t.entryInChunks.size===0){t.entryInChunks=undefined}}t.entryModules.clear()}getNumberOfEntryModules(e){const t=this._getChunkGraphChunk(e);return t.entryModules.size}getNumberOfRuntimeModules(e){const t=this._getChunkGraphChunk(e);return t.runtimeModules.size}getChunkEntryModulesIterable(e){const t=this._getChunkGraphChunk(e);return t.entryModules.keys()}getChunkEntryDependentChunksIterable(e){const t=this._getChunkGraphChunk(e);const n=new Set;for(const s of t.entryModules.values()){for(const t of s.chunks){if(t!==e){n.add(t)}}}return n}hasChunkEntryDependentChunks(e){const t=this._getChunkGraphChunk(e);for(const n of t.entryModules.values()){for(const t of n.chunks){if(t!==e){return true}}}return false}getChunkRuntimeModulesIterable(e){const t=this._getChunkGraphChunk(e);return t.runtimeModules}getChunkRuntimeModulesInOrder(e){const t=this._getChunkGraphChunk(e);const n=Array.from(t.runtimeModules);n.sort(c(u(e=>e.stage,l),a));return n}getChunkFullHashModulesIterable(e){const t=this._getChunkGraphChunk(e);return t.fullHashModules}getChunkEntryModulesWithChunkGroupIterable(e){const t=this._getChunkGraphChunk(e);return t.entryModules}getBlockChunkGroup(e){return this._blockChunkGroups.get(e)}connectBlockAndChunkGroup(e,t){this._blockChunkGroups.set(e,t);t.addBlock(e)}disconnectChunkGroup(e){for(const t of e.blocksIterable){this._blockChunkGroups.delete(t)}e._blocks.clear()}getModuleId(e){const t=this._getChunkGraphModule(e);return t.id}setModuleId(e,t){const n=this._getChunkGraphModule(e);n.id=t}getRuntimeId(e){return this._runtimeIds.get(e)}setRuntimeId(e,t){this._runtimeIds.set(e,t)}_getModuleHashInfo(e,t){const n=this._getChunkGraphModule(e);const s=n.hashes;if(s&&t===undefined){const t=new Set(s.values());if(t.size!==1){throw new Error(`No unique hash info entry for unspecified runtime for ${e.identifier()} (existing runtimes: ${Array.from(s.keys(),e=>f(e)).join(", ")}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: "global").`)}return t.values().next().value}else{const n=s&&s.get(t);if(!n){throw new Error(`Module ${e.identifier()} has no hash info for runtime ${f(t)} (available runtimes ${s&&Array.from(s.keys(),f).join(", ")})`)}return n}}hasModuleHashes(e,t){const n=this._getChunkGraphModule(e);const s=n.hashes;return s&&s.has(t)}getModuleHash(e,t){return this._getModuleHashInfo(e,t).hash}getRenderedModuleHash(e,t){return this._getModuleHashInfo(e,t).renderedHash}setModuleHashes(e,t,n,s){const i=this._getChunkGraphModule(e);if(i.hashes===undefined){i.hashes=new p}i.hashes.set(t,{hash:n,renderedHash:s})}addModuleRuntimeRequirements(e,t,n){const s=this._getChunkGraphModule(e);const i=s.runtimeRequirements;if(i===undefined){const e=new p;e.set(t,n);s.runtimeRequirements=e;return}i.update(t,e=>{if(e===undefined){return n}else if(e.size>=n.size){for(const t of n)e.add(t);return e}else{for(const t of e)n.add(t);return n}})}addChunkRuntimeRequirements(e,t){const n=this._getChunkGraphChunk(e);const s=n.runtimeRequirements;if(s===undefined){n.runtimeRequirements=t}else if(s.size>=t.size){for(const e of t)s.add(e)}else{for(const e of s)t.add(e);n.runtimeRequirements=t}}addTreeRuntimeRequirements(e,t){const n=this._getChunkGraphChunk(e);const s=n.runtimeRequirementsInTree;for(const e of t)s.add(e)}getModuleRuntimeRequirements(e,t){const n=this._getChunkGraphModule(e);const s=n.runtimeRequirements&&n.runtimeRequirements.get(t);return s===undefined?g:s}getChunkRuntimeRequirements(e){const t=this._getChunkGraphChunk(e);const n=t.runtimeRequirements;return n===undefined?g:n}getTreeRuntimeRequirements(e){const t=this._getChunkGraphChunk(e);return t.runtimeRequirementsInTree}static getChunkGraphForModule(e,t,n){const i=T.get(t);if(i)return i(e);const o=s.deprecate(e=>{const n=S.get(e);if(!n)throw new Error(t+": There was no ChunkGraph assigned to the Module for backward-compat (Use the new API)");return n},t+": Use new ChunkGraph API",n);T.set(t,o);return o(e)}static setChunkGraphForModule(e,t){S.set(e,t)}static getChunkGraphForChunk(e,t,n){const i=P.get(t);if(i)return i(e);const o=s.deprecate(e=>{const n=O.get(e);if(!n)throw new Error(t+"There was no ChunkGraph assigned to the Chunk for backward-compat (Use the new API)");return n},t+": Use new ChunkGraph API",n);P.set(t,o);return o(e)}static setChunkGraphForChunk(e,t){O.set(e,t)}}const S=new WeakMap;const O=new WeakMap;const T=new Map;const P=new Map;e.exports=ChunkGraph},15626:(e,t,n)=>{"use strict";const s=n(31669);const i=n(13098);const{compareLocations:o,compareChunks:r,compareIterables:a}=n(29579);let c=5e3;const u=e=>Array.from(e);const l=(e,t)=>{if(e.id{const n=e.module?e.module.identifier():"";const s=t.module?t.module.identifier():"";if(ns)return 1;return o(e.loc,t.loc)};class ChunkGroup{constructor(e){if(typeof e==="string"){e={name:e}}else if(!e){e={name:undefined}}this.groupDebugId=c++;this.options=e;this._children=new i(undefined,l);this._parents=new i(undefined,l);this._asyncEntrypoints=new i(undefined,l);this._blocks=new i;this.chunks=[];this.origins=[];this._modulePreOrderIndices=new Map;this._modulePostOrderIndices=new Map;this.index=undefined}addOptions(e){for(const t of Object.keys(e)){if(this.options[t]===undefined){this.options[t]=e[t]}else if(this.options[t]!==e[t]){if(t.endsWith("Order")){this.options[t]=Math.max(this.options[t],e[t])}else{throw new Error(`ChunkGroup.addOptions: No option merge strategy for ${t}`)}}}}get name(){return this.options.name}set name(e){this.options.name=e}get debugId(){return Array.from(this.chunks,e=>e.debugId).join("+")}get id(){return Array.from(this.chunks,e=>e.id).join("+")}unshiftChunk(e){const t=this.chunks.indexOf(e);if(t>0){this.chunks.splice(t,1);this.chunks.unshift(e)}else if(t<0){this.chunks.unshift(e);return true}return false}insertChunk(e,t){const n=this.chunks.indexOf(e);const s=this.chunks.indexOf(t);if(s<0){throw new Error("before chunk not found")}if(n>=0&&n>s){this.chunks.splice(n,1);this.chunks.splice(s,0,e)}else if(n<0){this.chunks.splice(s,0,e);return true}return false}pushChunk(e){const t=this.chunks.indexOf(e);if(t>=0){return false}this.chunks.push(e);return true}replaceChunk(e,t){const n=this.chunks.indexOf(e);if(n<0)return false;const s=this.chunks.indexOf(t);if(s<0){this.chunks[n]=t;return true}if(s=0){this.chunks.splice(t,1);return true}return false}isInitial(){return false}addChild(e){const t=this._children.size;this._children.add(e);return t!==this._children.size}getChildren(){return this._children.getFromCache(u)}getNumberOfChildren(){return this._children.size}get childrenIterable(){return this._children}removeChild(e){if(!this._children.has(e)){return false}this._children.delete(e);e.removeParent(this);return true}addParent(e){if(!this._parents.has(e)){this._parents.add(e);return true}return false}getParents(){return this._parents.getFromCache(u)}getNumberOfParents(){return this._parents.size}hasParent(e){return this._parents.has(e)}get parentsIterable(){return this._parents}removeParent(e){if(this._parents.delete(e)){e.removeChild(this);return true}return false}addAsyncEntrypoint(e){const t=this._asyncEntrypoints.size;this._asyncEntrypoints.add(e);return t!==this._asyncEntrypoints.size}get asyncEntrypointsIterable(){return this._asyncEntrypoints}getBlocks(){return this._blocks.getFromCache(u)}getNumberOfBlocks(){return this._blocks.size}hasBlock(e){return this._blocks.has(e)}get blocksIterable(){return this._blocks}addBlock(e){if(!this._blocks.has(e)){this._blocks.add(e);return true}return false}addOrigin(e,t,n){this.origins.push({module:e,loc:t,request:n})}getFiles(){const e=new Set;for(const t of this.chunks){for(const n of t.files){e.add(n)}}return Array.from(e)}remove(){for(const e of this._parents){e._children.delete(this);for(const t of this._children){t.addParent(e);e.addChild(t)}}for(const e of this._children){e._parents.delete(this)}for(const e of this.chunks){e.removeGroup(this)}}sortItems(){this.origins.sort(d)}compareTo(e,t){if(this.chunks.length>t.chunks.length)return-1;if(this.chunks.length{const s=n.order-e.order;if(s!==0)return s;return e.group.compareTo(t,n.group)});s[e]=i.map(e=>e.group)}return s}setModulePreOrderIndex(e,t){this._modulePreOrderIndices.set(e,t)}getModulePreOrderIndex(e){return this._modulePreOrderIndices.get(e)}setModulePostOrderIndex(e,t){this._modulePostOrderIndices.set(e,t)}getModulePostOrderIndex(e){return this._modulePostOrderIndices.get(e)}checkConstraints(){const e=this;for(const t of e._children){if(!t._parents.has(e)){throw new Error(`checkConstraints: child missing parent ${e.debugId} -> ${t.debugId}`)}}for(const t of e._parents){if(!t._children.has(e)){throw new Error(`checkConstraints: parent missing child ${t.debugId} <- ${e.debugId}`)}}}}ChunkGroup.prototype.getModuleIndex=s.deprecate(ChunkGroup.prototype.getModulePreOrderIndex,"ChunkGroup.getModuleIndex was renamed to getModulePreOrderIndex","DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX");ChunkGroup.prototype.getModuleIndex2=s.deprecate(ChunkGroup.prototype.getModulePostOrderIndex,"ChunkGroup.getModuleIndex2 was renamed to getModulePostOrderIndex","DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX_2");e.exports=ChunkGroup},918:(e,t,n)=>{"use strict";const s=n(53799);class ChunkRenderError extends s{constructor(e,t,n){super();this.name="ChunkRenderError";this.error=n;this.message=n.message;this.details=n.stack;this.file=t;this.chunk=e;Error.captureStackTrace(this,this.constructor)}}e.exports=ChunkRenderError},46341:(e,t,n)=>{"use strict";const s=n(31669);const i=n(6157);const o=i(()=>n(89464));class ChunkTemplate{constructor(e,t){this._outputOptions=e||{};this.hooks=Object.freeze({renderManifest:{tap:s.deprecate((e,n)=>{t.hooks.renderManifest.tap(e,(e,t)=>{if(t.chunk.hasRuntime())return e;return n(e,t)})},"ChunkTemplate.hooks.renderManifest is deprecated (use Compilation.hooks.renderManifest instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_MANIFEST")},modules:{tap:s.deprecate((e,n)=>{o().getCompilationHooks(t).renderChunk.tap(e,(e,s)=>n(e,t.moduleTemplates.javascript,s))},"ChunkTemplate.hooks.modules is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)","DEP_WEBPACK_CHUNK_TEMPLATE_MODULES")},render:{tap:s.deprecate((e,n)=>{o().getCompilationHooks(t).renderChunk.tap(e,(e,s)=>n(e,t.moduleTemplates.javascript,s))},"ChunkTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER")},renderWithEntry:{tap:s.deprecate((e,n)=>{o().getCompilationHooks(t).render.tap(e,(e,t)=>{if(t.chunkGraph.getNumberOfEntryModules(t.chunk)===0||t.chunk.hasRuntime()){return e}return n(e,t.chunk)})},"ChunkTemplate.hooks.renderWithEntry is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_WITH_ENTRY")},hash:{tap:s.deprecate((e,n)=>{t.hooks.fullHash.tap(e,n)},"ChunkTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_WEBPACK_CHUNK_TEMPLATE_HASH")},hashForChunk:{tap:s.deprecate((e,n)=>{o().getCompilationHooks(t).chunkHash.tap(e,(e,t,s)=>{if(e.hasRuntime())return;n(t,e,s)})},"ChunkTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)","DEP_WEBPACK_CHUNK_TEMPLATE_HASH_FOR_CHUNK")}})}}Object.defineProperty(ChunkTemplate.prototype,"outputOptions",{get:s.deprecate(function(){return this._outputOptions},"ChunkTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)","DEP_WEBPACK_CHUNK_TEMPLATE_OUTPUT_OPTIONS")});e.exports=ChunkTemplate},2102:(e,t,n)=>{"use strict";const s=n(53799);class CodeGenerationError extends s{constructor(e,t){super();this.name="CodeGenerationError";this.error=t;this.message=t.message;this.details=t.stack;this.module=e;Error.captureStackTrace(this,this.constructor)}}e.exports=CodeGenerationError},71426:(e,t,n)=>{"use strict";const{runtimeToString:s,RuntimeSpecMap:i}=n(17156);class CodeGenerationResults{constructor(){this.map=new Map}get(e,t){const n=this.map.get(e);if(n===undefined){throw new Error(`No code generation entry for ${e.identifier()} (existing entries: ${Array.from(this.map.keys(),e=>e.identifier()).join(", ")})`)}if(t===undefined){const t=new Set(n.values());if(t.size!==1){throw new Error(`No unique code generation entry for unspecified runtime for ${e.identifier()} (existing runtimes: ${Array.from(n.keys(),e=>s(e)).join(", ")}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: "global").`)}return t.values().next().value}else{const i=n.get(t);if(i===undefined){throw new Error(`No code generation entry for runtime ${s(t)} for ${e.identifier()} (existing runtimes: ${Array.from(n.keys(),e=>s(e)).join(", ")})`)}return i}}getSource(e,t,n){return this.get(e,t).sources.get(n)}getRuntimeRequirements(e,t){return this.get(e,t).runtimeRequirements}getData(e,t,n){const s=this.get(e,t).data;return s===undefined?undefined:s.get(n)}add(e,t,n){const s=this.map.get(e);if(s!==undefined){s.set(t,n)}else{const s=new i;s.set(t,n);this.map.set(e,s)}}}e.exports=CodeGenerationResults},98427:(e,t,n)=>{"use strict";const s=n(53799);const i=n(33032);class CommentCompilationWarning extends s{constructor(e,t){super(e);this.name="CommentCompilationWarning";this.loc=t;Error.captureStackTrace(this,this.constructor)}}i(CommentCompilationWarning,"webpack/lib/CommentCompilationWarning");e.exports=CommentCompilationWarning},94258:(e,t,n)=>{"use strict";const s=n(76911);const i=Symbol("nested __webpack_require__");class CompatibilityPlugin{apply(e){e.hooks.compilation.tap("CompatibilityPlugin",(e,{normalModuleFactory:t})=>{e.dependencyTemplates.set(s,new s.Template);t.hooks.parser.for("javascript/auto").tap("CompatibilityPlugin",(e,t)=>{if(t.browserify!==undefined&&!t.browserify)return;e.hooks.call.for("require").tap("CompatibilityPlugin",t=>{if(t.arguments.length!==2)return;const n=e.evaluateExpression(t.arguments[1]);if(!n.isBoolean())return;if(n.asBool()!==true)return;const i=new s("require",t.callee.range);i.loc=t.loc;if(e.state.current.dependencies.length>0){const t=e.state.current.dependencies[e.state.current.dependencies.length-1];if(t.critical&&t.options&&t.options.request==="."&&t.userRequest==="."&&t.options.recursive)e.state.current.dependencies.pop()}e.state.module.addPresentationalDependency(i);return true})});const n=e=>{e.hooks.preStatement.tap("CompatibilityPlugin",t=>{if(t.type==="FunctionDeclaration"&&t.id&&t.id.name==="__webpack_require__"){const n=`__nested_webpack_require_${t.range[0]}__`;const o=new s(n,t.id.range);o.loc=t.id.loc;e.state.module.addPresentationalDependency(o);e.tagVariable(t.id.name,i,n);return true}});e.hooks.pattern.for("__webpack_require__").tap("CompatibilityPlugin",t=>{const n=`__nested_webpack_require_${t.range[0]}__`;const o=new s(n,t.range);o.loc=t.loc;e.state.module.addPresentationalDependency(o);e.tagVariable(t.name,i,n);return true});e.hooks.expression.for(i).tap("CompatibilityPlugin",t=>{const n=e.currentTagData;const i=new s(n,t.range);i.loc=t.loc;e.state.module.addPresentationalDependency(i);return true})};t.hooks.parser.for("javascript/auto").tap("CompatibilityPlugin",n);t.hooks.parser.for("javascript/dynamic").tap("CompatibilityPlugin",n);t.hooks.parser.for("javascript/esm").tap("CompatibilityPlugin",n)})}}e.exports=CompatibilityPlugin},85720:(e,t,n)=>{"use strict";const s=n(36386);const{HookMap:i,SyncHook:o,SyncBailHook:r,SyncWaterfallHook:a,AsyncSeriesHook:c,AsyncSeriesBailHook:u}=n(6967);const l=n(31669);const{CachedSource:d}=n(84697);const{MultiItemCache:p}=n(55392);const h=n(39385);const f=n(64971);const m=n(15626);const g=n(918);const y=n(46341);const v=n(2102);const b=n(71426);const k=n(9163);const w=n(13795);const x=n(59985);const C=n(79453);const{connectChunkGroupAndChunk:M,connectChunkGroupParentAndChild:S}=n(37234);const{makeWebpackError:O}=n(11351);const T=n(12856);const P=n(73208);const $=n(67409);const F=n(29656);const j=n(99988);const _=n(32882);const z=n(36418);const q=n(94560);const W=n(59001);const A=n(62677);const G=n(16475);const B=n(18777);const R=n(31743);const J=n(53799);const V=n(79233);const I=n(22273);const{Logger:D,LogType:K}=n(32597);const X=n(92629);const N=n(30198);const{equals:L}=n(84953);const Q=n(12260);const Y=n(38938);const{cachedCleverMerge:H}=n(60839);const{compareLocations:U,concatComparators:E,compareSelect:Z,compareIds:ee,compareStringsNumeric:te,compareModulesByIdentifier:ne}=n(29579);const se=n(49835);const{arrayToSetDeprecation:ie,soonFrozenObjectDeprecation:oe,createFakeHook:re}=n(64518);const{getRuntimeKey:ae}=n(17156);const{isSourceEqual:ce}=n(41245);const ue=Object.freeze({});const le="esm";const de=l.deprecate(e=>{return n(39).getCompilationHooks(e).loader},"Compilation.hooks.normalModuleLoader was moved to NormalModule.getCompilationHooks(compilation).loader","DEP_WEBPACK_COMPILATION_NORMAL_MODULE_LOADER_HOOK");const pe=Z(e=>e.id,ee);const he=E(Z(e=>e.name,ee),Z(e=>e.fullHash,ee));const fe=Z(e=>`${e.message}`,te);const me=Z(e=>e.module&&e.module.identifier()||"",te);const ge=Z(e=>e.loc,U);const ye=E(me,ge,fe);class Compilation{constructor(e){const t=()=>de(this);const n=new c(["assets"]);let s=new Set;const d=e=>{let t=undefined;for(const n of Object.keys(e)){if(s.has(n))continue;if(t===undefined){t=Object.create(null)}t[n]=e[n];s.add(n)}return t};n.intercept({name:"Compilation",call:()=>{s=new Set(Object.keys(this.assets))},register:e=>{const{type:t,name:n}=e;const{fn:s,additionalAssets:i,...o}=e;const r=i===true?s:i;let a=undefined;switch(t){case"sync":if(r){this.hooks.processAdditionalAssets.tap(n,e=>{if(a===this.assets)r(e)})}return{...o,type:"async",fn:(e,t)=>{try{s(e)}catch(e){return t(e)}a=this.assets;const n=d(e);if(n!==undefined){this.hooks.processAdditionalAssets.callAsync(n,t);return}t()}};case"async":if(r){this.hooks.processAdditionalAssets.tapAsync(n,(e,t)=>{if(a===this.assets)return r(e,t);t()})}return{...o,fn:(e,t)=>{s(e,n=>{if(n)return t(n);a=this.assets;const s=d(e);if(s!==undefined){this.hooks.processAdditionalAssets.callAsync(s,t);return}t()})}};case"promise":if(r){this.hooks.processAdditionalAssets.tapPromise(n,e=>{if(a===this.assets)return r(e);return Promise.resolve()})}return{...o,fn:e=>{const t=s(e);if(!t||!t.then)return t;return t.then(()=>{a=this.assets;const t=d(e);if(t!==undefined){return this.hooks.processAdditionalAssets.promise(t)}})}}}}});const p=new o(["assets"]);const h=(e,t,s,i)=>{const o=t=>`Can't automatically convert plugin using Compilation.hooks.${e} to Compilation.hooks.processAssets because ${t}.\nBREAKING CHANGE: Asset processing hooks in Compilation has been merged into a single Compilation.hooks.processAssets hook.`;const r=e=>{if(typeof e==="string")e={name:e};if(e.stage){throw new Error(o("it's using the 'stage' option"))}return{...e,stage:t}};return re({name:e,intercept(e){throw new Error(o("it's using 'intercept'"))},tap:(e,t)=>{n.tap(r(e),()=>t(...s()))},tapAsync:(e,t)=>{n.tapAsync(r(e),(e,n)=>t(...s(),n))},tapPromise:(e,t)=>{n.tapPromise(r(e),()=>t(...s()))}},`${e} is deprecated (use Compilation.hook.processAssets instead and use one of Compilation.PROCESS_ASSETS_STAGE_* as stage option)`,i)};this.hooks=Object.freeze({buildModule:new o(["module"]),rebuildModule:new o(["module"]),failedModule:new o(["module","error"]),succeedModule:new o(["module"]),stillValidModule:new o(["module"]),addEntry:new o(["entry","options"]),failedEntry:new o(["entry","options","error"]),succeedEntry:new o(["entry","options","module"]),dependencyReferencedExports:new a(["referencedExports","dependency","runtime"]),finishModules:new c(["modules"]),finishRebuildingModule:new c(["module"]),unseal:new o([]),seal:new o([]),beforeChunks:new o([]),afterChunks:new o(["chunks"]),optimizeDependencies:new r(["modules"]),afterOptimizeDependencies:new o(["modules"]),optimize:new o([]),optimizeModules:new r(["modules"]),afterOptimizeModules:new o(["modules"]),optimizeChunks:new r(["chunks","chunkGroups"]),afterOptimizeChunks:new o(["chunks","chunkGroups"]),optimizeTree:new c(["chunks","modules"]),afterOptimizeTree:new o(["chunks","modules"]),optimizeChunkModules:new u(["chunks","modules"]),afterOptimizeChunkModules:new o(["chunks","modules"]),shouldRecord:new r([]),additionalChunkRuntimeRequirements:new o(["chunk","runtimeRequirements"]),runtimeRequirementInChunk:new i(()=>new r(["chunk","runtimeRequirements"])),additionalModuleRuntimeRequirements:new o(["module","runtimeRequirements"]),runtimeRequirementInModule:new i(()=>new r(["module","runtimeRequirements"])),additionalTreeRuntimeRequirements:new o(["chunk","runtimeRequirements"]),runtimeRequirementInTree:new i(()=>new r(["chunk","runtimeRequirements"])),runtimeModule:new o(["module","chunk"]),reviveModules:new o(["modules","records"]),beforeModuleIds:new o(["modules"]),moduleIds:new o(["modules"]),optimizeModuleIds:new o(["modules"]),afterOptimizeModuleIds:new o(["modules"]),reviveChunks:new o(["chunks","records"]),beforeChunkIds:new o(["chunks"]),chunkIds:new o(["chunks"]),optimizeChunkIds:new o(["chunks"]),afterOptimizeChunkIds:new o(["chunks"]),recordModules:new o(["modules","records"]),recordChunks:new o(["chunks","records"]),optimizeCodeGeneration:new o(["modules"]),beforeModuleHash:new o([]),afterModuleHash:new o([]),beforeCodeGeneration:new o([]),afterCodeGeneration:new o([]),beforeRuntimeRequirements:new o([]),afterRuntimeRequirements:new o([]),beforeHash:new o([]),contentHash:new o(["chunk"]),afterHash:new o([]),recordHash:new o(["records"]),record:new o(["compilation","records"]),beforeModuleAssets:new o([]),shouldGenerateChunkAssets:new r([]),beforeChunkAssets:new o([]),additionalChunkAssets:h("additionalChunkAssets",Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL,()=>[this.chunks],"DEP_WEBPACK_COMPILATION_ADDITIONAL_CHUNK_ASSETS"),additionalAssets:h("additionalAssets",Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL,()=>[]),optimizeChunkAssets:h("optimizeChunkAssets",Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE,()=>[this.chunks],"DEP_WEBPACK_COMPILATION_OPTIMIZE_CHUNK_ASSETS"),afterOptimizeChunkAssets:h("afterOptimizeChunkAssets",Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE+1,()=>[this.chunks],"DEP_WEBPACK_COMPILATION_AFTER_OPTIMIZE_CHUNK_ASSETS"),optimizeAssets:n,afterOptimizeAssets:p,processAssets:n,afterProcessAssets:p,processAdditionalAssets:new c(["assets"]),needAdditionalSeal:new r([]),afterSeal:new c([]),renderManifest:new a(["result","options"]),fullHash:new o(["hash"]),chunkHash:new o(["chunk","chunkHash","ChunkHashContext"]),moduleAsset:new o(["module","filename"]),chunkAsset:new o(["chunk","filename"]),assetPath:new a(["path","options","assetInfo"]),needAdditionalPass:new r([]),childCompiler:new o(["childCompiler","compilerName","compilerIndex"]),log:new r(["origin","logEntry"]),processWarnings:new a(["warnings"]),processErrors:new a(["errors"]),statsPreset:new i(()=>new o(["options","context"])),statsNormalize:new o(["options","context"]),statsFactory:new o(["statsFactory","options"]),statsPrinter:new o(["statsPrinter","options"]),get normalModuleLoader(){return t()}});this.name=undefined;this.startTime=undefined;this.endTime=undefined;this.compiler=e;this.resolverFactory=e.resolverFactory;this.inputFileSystem=e.inputFileSystem;this.fileSystemInfo=new C(this.inputFileSystem,{managedPaths:e.managedPaths,immutablePaths:e.immutablePaths,logger:this.getLogger("webpack.FileSystemInfo")});if(e.fileTimestamps){this.fileSystemInfo.addFileTimestamps(e.fileTimestamps)}if(e.contextTimestamps){this.fileSystemInfo.addContextTimestamps(e.contextTimestamps)}this.requestShortener=e.requestShortener;this.compilerPath=e.compilerPath;this.logger=this.getLogger("webpack.Compilation");const f=e.options;this.options=f;this.outputOptions=f&&f.output;this.bail=f&&f.bail||false;this.profile=f&&f.profile||false;this.mainTemplate=new T(this.outputOptions,this);this.chunkTemplate=new y(this.outputOptions,this);this.runtimeTemplate=new B(this.outputOptions,this.requestShortener);this.moduleTemplates={javascript:new A(this.runtimeTemplate,this)};Object.defineProperties(this.moduleTemplates,{asset:{enumerable:false,configurable:false,get(){throw new J("Compilation.moduleTemplates.asset has been removed")}},webassembly:{enumerable:false,configurable:false,get(){throw new J("Compilation.moduleTemplates.webassembly has been removed")}}});this.moduleGraph=new j;this.chunkGraph=undefined;this.codeGenerationResults=undefined;this.factorizeQueue=new Q({name:"factorize",parallelism:f.parallelism||100,processor:this._factorizeModule.bind(this)});this.addModuleQueue=new Q({name:"addModule",parallelism:f.parallelism||100,getKey:e=>e.identifier(),processor:this._addModule.bind(this)});this.buildQueue=new Q({name:"build",parallelism:f.parallelism||100,processor:this._buildModule.bind(this)});this.rebuildQueue=new Q({name:"rebuild",parallelism:f.parallelism||100,processor:this._rebuildModule.bind(this)});this.processDependenciesQueue=new Q({name:"processDependencies",parallelism:f.parallelism||100,processor:this._processModuleDependencies.bind(this)});this.creatingModuleDuringBuild=new WeakMap;this.entries=new Map;this.globalEntry={dependencies:[],includeDependencies:[],options:{name:undefined}};this.entrypoints=new Map;this.asyncEntrypoints=[];this.chunks=new Set;ie(this.chunks,"Compilation.chunks");this.chunkGroups=[];this.namedChunkGroups=new Map;this.namedChunks=new Map;this.modules=new Set;ie(this.modules,"Compilation.modules");this._modules=new Map;this.records=null;this.additionalChunkAssets=[];this.assets={};this.assetsInfo=new Map;this._assetsRelatedIn=new Map;this.errors=[];this.warnings=[];this.children=[];this.logging=new Map;this.dependencyFactories=new Map;this.dependencyTemplates=new k;this.childrenCounters={};this.usedChunkIds=null;this.usedModuleIds=null;this.needAdditionalPass=false;this.builtModules=new WeakSet;this.codeGeneratedModules=new WeakSet;this._rebuildingModules=new Map;this.emittedAssets=new Set;this.comparedForEmitAssets=new Set;this.fileDependencies=new Y;this.contextDependencies=new Y;this.missingDependencies=new Y;this.buildDependencies=new Y;this.compilationDependencies={add:l.deprecate(e=>this.fileDependencies.add(e),"Compilation.compilationDependencies is deprecated (used Compilation.fileDependencies instead)","DEP_WEBPACK_COMPILATION_COMPILATION_DEPENDENCIES")};this._modulesCache=this.getCache("Compilation/modules");this._assetsCache=this.getCache("Compilation/assets");this._codeGenerationCache=this.getCache("Compilation/codeGeneration")}getStats(){return new R(this)}createStatsOptions(e,t={}){if(typeof e==="boolean"||typeof e==="string"){e={preset:e}}if(typeof e==="object"&&e!==null){const n={};for(const t in e){n[t]=e[t]}if(n.preset!==undefined){this.hooks.statsPreset.for(n.preset).call(n,t)}this.hooks.statsNormalize.call(n,t);return n}else{const e={};this.hooks.statsNormalize.call(e,t);return e}}createStatsFactory(e){const t=new X;this.hooks.statsFactory.call(t,e);return t}createStatsPrinter(e){const t=new N;this.hooks.statsPrinter.call(t,e);return t}getCache(e){return this.compiler.getCache(e)}getLogger(e){if(!e){throw new TypeError("Compilation.getLogger(name) called without a name")}let t;return new D((n,s)=>{if(typeof e==="function"){e=e();if(!e){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}let i;switch(n){case K.warn:case K.error:case K.trace:i=x.cutOffLoaderExecution(new Error("Trace").stack).split("\n").slice(3);break}const o={time:Date.now(),type:n,args:s,trace:i};if(this.hooks.log.call(e,o)===undefined){if(o.type===K.profileEnd){if(typeof console.profileEnd==="function"){console.profileEnd(`[${e}] ${o.args[0]}`)}}if(t===undefined){t=this.logging.get(e);if(t===undefined){t=[];this.logging.set(e,t)}}t.push(o);if(o.type===K.profile){if(typeof console.profile==="function"){console.profile(`[${e}] ${o.args[0]}`)}}}},t=>{if(typeof e==="function"){if(typeof t==="function"){return this.getLogger(()=>{if(typeof e==="function"){e=e();if(!e){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}if(typeof t==="function"){t=t();if(!t){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${e}/${t}`})}else{return this.getLogger(()=>{if(typeof e==="function"){e=e();if(!e){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}return`${e}/${t}`})}}else{if(typeof t==="function"){return this.getLogger(()=>{if(typeof t==="function"){t=t();if(!t){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${e}/${t}`})}else{return this.getLogger(`${e}/${t}`)}}})}addModule(e,t){this.addModuleQueue.add(e,t)}_addModule(e,t){const n=e.identifier();const s=this._modules.get(n);if(s){return t(null,s)}const i=this.profile?this.moduleGraph.getProfile(e):undefined;if(i!==undefined){i.markRestoringStart()}this._modulesCache.get(n,null,(s,o)=>{if(s)return t(new q(e,s));if(i!==undefined){i.markRestoringEnd();i.markIntegrationStart()}if(o){o.updateCacheModule(e);e=o}this._modules.set(n,e);this.modules.add(e);j.setModuleGraphForModule(e,this.moduleGraph);if(i!==undefined){i.markIntegrationEnd()}t(null,e)})}getModule(e){const t=e.identifier();return this._modules.get(t)}findModule(e){return this._modules.get(e)}buildModule(e,t){this.buildQueue.add(e,t)}_buildModule(e,t){const n=this.profile?this.moduleGraph.getProfile(e):undefined;if(n!==undefined){n.markBuildingStart()}e.needBuild({fileSystemInfo:this.fileSystemInfo},(s,i)=>{if(s)return t(s);if(!i){if(n!==undefined){n.markBuildingEnd()}this.hooks.stillValidModule.call(e);return t()}this.hooks.buildModule.call(e);this.builtModules.add(e);e.build(this.options,this,this.resolverFactory.get("normal",e.resolveOptions),this.inputFileSystem,s=>{if(n!==undefined){n.markBuildingEnd()}if(s){this.hooks.failedModule.call(e,s);return t(s)}if(n!==undefined){n.markStoringStart()}this._modulesCache.store(e.identifier(),null,e,s=>{if(n!==undefined){n.markStoringEnd()}if(s){this.hooks.failedModule.call(e,s);return t(new W(e,s))}this.hooks.succeedModule.call(e);return t()})})})}processModuleDependencies(e,t){this.processDependenciesQueue.add(e,t)}processModuleDependenciesNonRecursive(e){const t=n=>{if(n.dependencies){for(const t of n.dependencies){this.moduleGraph.setParents(t,n,e)}}if(n.blocks){for(const e of n.blocks)t(e)}};t(e)}_processModuleDependencies(e,t){const n=new Map;const i=[];let o=e;let r;let a;let c;let u;let l;const d=t=>{this.moduleGraph.setParents(t,o,e);const s=t.getResourceIdentifier();if(s){const o=t.category;const d=o===le?s:`${o}${s}`;const p=t.constructor;let h;let f;if(r===p){h=a;if(u===d){l.push(t);return}}else{f=this.dependencyFactories.get(t.constructor);if(f===undefined){throw new Error(`No module factory available for dependency type: ${t.constructor.name}`)}h=n.get(f);if(h===undefined){n.set(f,h=new Map)}r=p;a=h;c=f}let m=h.get(d);if(m===undefined){h.set(d,m=[]);i.push({factory:c,dependencies:m,originModule:e})}m.push(t);u=d;l=m}};const p=e=>{if(e.dependencies){o=e;for(const t of e.dependencies)d(t)}if(e.blocks){for(const t of e.blocks)p(t)}};try{p(e)}catch(e){return t(e)}if(i.length===0){t();return}this.processDependenciesQueue.increaseParallelism();s.forEach(i,(e,t)=>{this.handleModuleCreation(e,e=>{if(e&&this.bail){e.stack=e.stack;return t(e)}t()})},e=>{this.processDependenciesQueue.decreaseParallelism();return t(e)})}handleModuleCreation({factory:e,dependencies:t,originModule:n,context:s,recursive:i=true},o){const r=this.moduleGraph;const a=this.profile?new z:undefined;this.factorizeModule({currentProfile:a,factory:e,dependencies:t,originModule:n,context:s},(e,s)=>{if(e){if(t.every(e=>e.optional)){this.warnings.push(e)}else{this.errors.push(e)}return o(e)}if(!s){return o()}if(a!==undefined){r.setProfile(s,a)}this.addModule(s,(e,c)=>{if(e){if(!e.module){e.module=c}this.errors.push(e);return o(e)}for(let e=0;e{if(u!==undefined){u.delete(c)}if(e){if(!e.module){e.module=c}this.errors.push(e);return o(e)}if(!i){this.processModuleDependenciesNonRecursive(c);o(null,c);return}if(this.processDependenciesQueue.isProcessing(c)){return o()}this.processModuleDependencies(c,e=>{if(e){return o(e)}o(null,c)})})})})}factorizeModule(e,t){this.factorizeQueue.add(e,t)}_factorizeModule({currentProfile:e,factory:t,dependencies:n,originModule:s,context:i},o){if(e!==undefined){e.markFactoryStart()}t.create({contextInfo:{issuer:s?s.nameForCondition():"",compiler:this.compiler.name},resolveOptions:s?s.resolveOptions:undefined,context:i?i:s?s.context:this.compiler.context,dependencies:n},(t,i)=>{if(i){if(i.module===undefined&&i instanceof P){i={module:i}}const{fileDependencies:e,contextDependencies:t,missingDependencies:n}=i;if(e){this.fileDependencies.addAll(e)}if(t){this.contextDependencies.addAll(t)}if(n){this.missingDependencies.addAll(n)}}if(t){const e=new _(s,t,n.map(e=>e.loc).filter(Boolean)[0]);return o(e)}if(!i){return o()}const r=i.module;if(!r){return o()}if(e!==undefined){e.markFactoryEnd()}o(null,r)})}addModuleChain(e,t,n){if(typeof t!=="object"||t===null||!t.constructor){return n(new J("Parameter 'dependency' must be a Dependency"))}const s=t.constructor;const i=this.dependencyFactories.get(s);if(!i){return n(new J(`No dependency factory available for this dependency type: ${t.constructor.name}`))}this.handleModuleCreation({factory:i,dependencies:[t],originModule:null,context:e},e=>{if(e&&this.bail){n(e);this.buildQueue.stop();this.rebuildQueue.stop();this.processDependenciesQueue.stop();this.factorizeQueue.stop()}else{n()}})}addEntry(e,t,n,s){const i=typeof n==="object"?n:{name:n};this._addEntryItem(e,t,"dependencies",i,s)}addInclude(e,t,n,s){this._addEntryItem(e,t,"includeDependencies",n,s)}_addEntryItem(e,t,n,s,i){const{name:o}=s;let r=o!==undefined?this.entries.get(o):this.globalEntry;if(r===undefined){r={dependencies:[],includeDependencies:[],options:{name:undefined,...s}};r[n].push(t);this.entries.set(o,r)}else{r[n].push(t);for(const e of Object.keys(s)){if(s[e]===undefined)continue;if(r.options[e]===s[e])continue;if(Array.isArray(r.options[e])&&Array.isArray(s[e])&&L(r.options[e],s[e])){continue}if(r.options[e]===undefined){r.options[e]=s[e]}else{return i(new J(`Conflicting entry option ${e} = ${r.options[e]} vs ${s[e]}`))}}}this.hooks.addEntry.call(t,s);this.addModuleChain(e,t,(e,n)=>{if(e){this.hooks.failedEntry.call(t,s,e);return i(e)}this.hooks.succeedEntry.call(t,s,n);return i(null,n)})}rebuildModule(e,t){this.rebuildQueue.add(e,t)}_rebuildModule(e,t){this.hooks.rebuildModule.call(e);const n=e.dependencies.slice();const s=e.blocks.slice();e.invalidateBuild();this.buildQueue.invalidate(e);this.buildModule(e,i=>{if(i){return this.hooks.finishRebuildingModule.callAsync(e,e=>{if(e){t(O(e,"Compilation.hooks.finishRebuildingModule"));return}t(i)})}this.processModuleDependencies(e,i=>{if(i)return t(i);this.removeReasonsOfDependencyBlock(e,{dependencies:n,blocks:s});this.hooks.finishRebuildingModule.callAsync(e,n=>{if(n){t(O(n,"Compilation.hooks.finishRebuildingModule"));return}t(null,e)})})})}finish(e){this.logger.time("finish modules");const{modules:t}=this;this.hooks.finishModules.callAsync(t,n=>{this.logger.timeEnd("finish modules");if(n)return e(n);this.logger.time("report dependency errors and warnings");for(const e of t){this.reportDependencyErrorsAndWarnings(e,[e]);const t=e.getErrors();if(t!==undefined){for(const n of t){if(!n.module){n.module=e}this.errors.push(n)}}const n=e.getWarnings();if(n!==undefined){for(const t of n){if(!t.module){t.module=e}this.warnings.push(t)}}}this.logger.timeEnd("report dependency errors and warnings");e()})}unseal(){this.hooks.unseal.call();this.chunks.clear();this.chunkGroups.length=0;this.namedChunks.clear();this.namedChunkGroups.clear();this.entrypoints.clear();this.additionalChunkAssets.length=0;this.assets={};this.assetsInfo.clear();this.moduleGraph.removeAllModuleAttributes()}seal(e){const t=new f(this.moduleGraph);this.chunkGraph=t;for(const e of this.modules){f.setChunkGraphForModule(e,t)}this.hooks.seal.call();this.logger.time("optimize dependencies");while(this.hooks.optimizeDependencies.call(this.modules)){}this.hooks.afterOptimizeDependencies.call(this.modules);this.logger.timeEnd("optimize dependencies");this.logger.time("create chunks");this.hooks.beforeChunks.call();const n=new Map;for(const[e,{dependencies:s,includeDependencies:i,options:o}]of this.entries){const r=this.addChunk(e);if(o.filename){r.filenameTemplate=o.filename}const a=new w(o);if(!o.dependOn&&!o.runtime){a.setRuntimeChunk(r)}a.setEntrypointChunk(r);this.namedChunkGroups.set(e,a);this.entrypoints.set(e,a);this.chunkGroups.push(a);M(a,r);for(const i of[...this.globalEntry.dependencies,...s]){a.addOrigin(null,{name:e},i.request);const s=this.moduleGraph.getModule(i);if(s){t.connectChunkAndEntryModule(r,s,a);this.assignDepth(s);const e=n.get(a);if(e===undefined){n.set(a,[s])}else{e.push(s)}}}const c=e=>e.map(e=>this.moduleGraph.getModule(e)).filter(Boolean).sort(ne);const u=[...c(this.globalEntry.includeDependencies),...c(i)];for(const e of u){this.assignDepth(e);const t=n.get(a);if(t===undefined){n.set(a,[e])}else{t.push(e)}}}const s=new Set;e:for(const[e,{options:{dependOn:t,runtime:n}}]of this.entries){if(t&&n){const t=new J(`Entrypoint '${e}' has 'dependOn' and 'runtime' specified. This is not valid.\nEntrypoints that depend on other entrypoints do not have their own runtime.\nThey will use the runtime(s) from referenced entrypoints instead.\nRemove the 'runtime' option from the entrypoint.`);const n=this.entrypoints.get(e);t.chunk=n.getEntrypointChunk();this.errors.push(t)}if(t){const n=this.entrypoints.get(e);const s=n.getEntrypointChunk().getAllReferencedChunks();const i=[];for(const o of t){const t=this.entrypoints.get(o);if(!t){throw new Error(`Entry ${e} depends on ${o}, but this entry was not found`)}if(s.has(t.getEntrypointChunk())){const t=new J(`Entrypoints '${e}' and '${o}' use 'dependOn' to depend on each other in a circular way.`);const s=n.getEntrypointChunk();t.chunk=s;this.errors.push(t);n.setRuntimeChunk(s);continue e}i.push(t)}for(const e of i){S(e,n)}}else if(n){const t=this.entrypoints.get(e);let i=this.namedChunks.get(n);if(i){if(!s.has(i)){const s=new J(`Entrypoint '${e}' has a 'runtime' option which points to another entrypoint named '${n}'.\nIt's not valid to use other entrypoints as runtime chunk.\nDid you mean to use 'dependOn: ${JSON.stringify(n)}' instead to allow using entrypoint '${e}' within the runtime of entrypoint '${n}'? For this '${n}' must always be loaded when '${e}' is used.\nOr do you want to use the entrypoints '${e}' and '${n}' independently on the same page with a shared runtime? In this case give them both the same value for the 'runtime' option. It must be a name not already used by an entrypoint.`);const i=t.getEntrypointChunk();s.chunk=i;this.errors.push(s);t.setRuntimeChunk(i);continue}}else{i=this.addChunk(n);i.preventIntegration=true;s.add(i)}t.unshiftChunk(i);i.addGroup(t);t.setRuntimeChunk(i)}}V(this,n);this.hooks.afterChunks.call(this.chunks);this.logger.timeEnd("create chunks");this.logger.time("optimize");this.hooks.optimize.call();while(this.hooks.optimizeModules.call(this.modules)){}this.hooks.afterOptimizeModules.call(this.modules);while(this.hooks.optimizeChunks.call(this.chunks,this.chunkGroups)){}this.hooks.afterOptimizeChunks.call(this.chunks,this.chunkGroups);this.hooks.optimizeTree.callAsync(this.chunks,this.modules,t=>{if(t){return e(O(t,"Compilation.hooks.optimizeTree"))}this.hooks.afterOptimizeTree.call(this.chunks,this.modules);this.hooks.optimizeChunkModules.callAsync(this.chunks,this.modules,t=>{if(t){return e(O(t,"Compilation.hooks.optimizeChunkModules"))}this.hooks.afterOptimizeChunkModules.call(this.chunks,this.modules);const n=this.hooks.shouldRecord.call()!==false;this.hooks.reviveModules.call(this.modules,this.records);this.hooks.beforeModuleIds.call(this.modules);this.hooks.moduleIds.call(this.modules);this.hooks.optimizeModuleIds.call(this.modules);this.hooks.afterOptimizeModuleIds.call(this.modules);this.hooks.reviveChunks.call(this.chunks,this.records);this.hooks.beforeChunkIds.call(this.chunks);this.hooks.chunkIds.call(this.chunks);this.hooks.optimizeChunkIds.call(this.chunks);this.hooks.afterOptimizeChunkIds.call(this.chunks);this.assignRuntimeIds();this.sortItemsWithChunkIds();if(n){this.hooks.recordModules.call(this.modules,this.records);this.hooks.recordChunks.call(this.chunks,this.records)}this.hooks.optimizeCodeGeneration.call(this.modules);this.logger.timeEnd("optimize");this.logger.time("module hashing");this.hooks.beforeModuleHash.call();this.createModuleHashes();this.hooks.afterModuleHash.call();this.logger.timeEnd("module hashing");this.logger.time("code generation");this.hooks.beforeCodeGeneration.call();this.codeGeneration(t=>{if(t){return e(t)}this.hooks.afterCodeGeneration.call();this.logger.timeEnd("code generation");this.logger.time("runtime requirements");this.hooks.beforeRuntimeRequirements.call();this.processRuntimeRequirements();this.hooks.afterRuntimeRequirements.call();this.logger.timeEnd("runtime requirements");this.logger.time("hashing");this.hooks.beforeHash.call();this.createHash();this.hooks.afterHash.call();this.logger.timeEnd("hashing");if(n){this.logger.time("record hash");this.hooks.recordHash.call(this.records);this.logger.timeEnd("record hash")}this.logger.time("module assets");this.clearAssets();this.hooks.beforeModuleAssets.call();this.createModuleAssets();this.logger.timeEnd("module assets");const s=()=>{this.logger.time("process assets");this.hooks.processAssets.callAsync(this.assets,t=>{if(t){return e(O(t,"Compilation.hooks.processAssets"))}this.hooks.afterProcessAssets.call(this.assets);this.logger.timeEnd("process assets");this.assets=oe(this.assets,"Compilation.assets","DEP_WEBPACK_COMPILATION_ASSETS",`BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.\n\tDo changes to assets earlier, e. g. in Compilation.hooks.processAssets.\n\tMake sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.`);this.summarizeDependencies();if(n){this.hooks.record.call(this,this.records)}if(this.hooks.needAdditionalSeal.call()){this.unseal();return this.seal(e)}return this.hooks.afterSeal.callAsync(t=>{if(t){return e(O(t,"Compilation.hooks.afterSeal"))}this.fileSystemInfo.logStatistics();e()})})};this.logger.time("create chunk assets");if(this.hooks.shouldGenerateChunkAssets.call()!==false){this.hooks.beforeChunkAssets.call();this.createChunkAssets(t=>{this.logger.timeEnd("create chunk assets");if(t){return e(t)}s()})}else{this.logger.timeEnd("create chunk assets");s()}})})})}reportDependencyErrorsAndWarnings(e,t){for(let n=0;n1){const n=new Map;for(const s of t){const t=i.getModuleHash(e,s);const o=n.get(t);if(o===undefined){const i={module:e,hash:t,runtime:s,runtimes:[s]};l.push(i);n.set(t,i)}else{o.runtimes.push(s)}}}}s.eachLimit(l,this.options.parallelism,({module:e,hash:s,runtime:l,runtimes:d},h)=>{const f=new p(d.map(t=>this._codeGenerationCache.getItemCache(`${e.identifier()}|${ae(t)}`,`${s}|${r.getHash()}`)));f.get((s,p)=>{if(s)return h(s);let m;if(!p){n++;try{this.codeGeneratedModules.add(e);m=e.codeGeneration({chunkGraph:i,moduleGraph:o,dependencyTemplates:r,runtimeTemplate:a,runtime:l})}catch(s){u.push(new v(e,s));m=p={sources:new Map,runtimeRequirements:null}}}else{t++;m=p}for(const t of d){c.add(e,t,m)}if(!p){f.store(m,h)}else{h()}})},s=>{if(s)return e(s);if(u.length>0){u.sort(Z(e=>e.module,ne));for(const e of u){this.errors.push(e)}}this.logger.log(`${Math.round(100*n/(n+t))}% code generated (${n} generated, ${t} from cache)`);e()})}processRuntimeRequirements(){const{chunkGraph:e}=this;const t=this.hooks.additionalModuleRuntimeRequirements;const n=this.hooks.runtimeRequirementInModule;for(const s of this.modules){if(e.getNumberOfModuleChunks(s)>0){for(const i of e.getModuleRuntimes(s)){let o;const r=this.codeGenerationResults.getRuntimeRequirements(s,i);if(r&&r.size>0){o=new Set(r)}else if(t.isUsed()){o=new Set}else{continue}t.call(s,o);for(const e of o){const t=n.get(e);if(t!==undefined)t.call(s,o)}e.addModuleRuntimeRequirements(s,i,o)}}}for(const t of this.chunks){const n=new Set;for(const s of e.getChunkModulesIterable(t)){const i=e.getModuleRuntimeRequirements(s,t.runtime);for(const e of i)n.add(e)}this.hooks.additionalChunkRuntimeRequirements.call(t,n);for(const e of n){this.hooks.runtimeRequirementInChunk.for(e).call(t,n)}e.addChunkRuntimeRequirements(t,n)}const s=new Set;for(const e of this.entrypoints.values()){const t=e.getRuntimeChunk();if(t)s.add(t)}for(const e of this.asyncEntrypoints){const t=e.getRuntimeChunk();if(t)s.add(t)}for(const t of s){const n=new Set;for(const s of t.getAllReferencedChunks()){const t=e.getChunkRuntimeRequirements(s);for(const e of t)n.add(e)}this.hooks.additionalTreeRuntimeRequirements.call(t,n);for(const e of n){this.hooks.runtimeRequirementInTree.for(e).call(t,n)}e.addTreeRuntimeRequirements(t,n)}}addRuntimeModule(e,t){j.setModuleGraphForModule(t,this.moduleGraph);this.modules.add(t);this._modules.set(t.identifier(),t);this.chunkGraph.connectChunkAndModule(e,t);this.chunkGraph.connectChunkAndRuntimeModule(e,t);if(t.fullHash){this.chunkGraph.addFullHashModuleToChunk(e,t)}t.attach(this,e);const n=this.moduleGraph.getExportsInfo(t);n.setHasProvideInfo();if(typeof e.runtime==="string"){n.setUsedForSideEffectsOnly(e.runtime)}else if(e.runtime===undefined){n.setUsedForSideEffectsOnly(undefined)}else{for(const t of e.runtime){n.setUsedForSideEffectsOnly(t)}}this.chunkGraph.addModuleRuntimeRequirements(t,e.runtime,new Set([G.requireScope]));this.chunkGraph.setModuleId(t,"");this.hooks.runtimeModule.call(t,e)}addChunkInGroup(e,t,n,s){if(typeof e==="string"){e={name:e}}const i=e.name;if(i){const o=this.namedChunkGroups.get(i);if(o!==undefined){o.addOptions(e);if(t){o.addOrigin(t,n,s)}return o}}const o=new m(e);if(t)o.addOrigin(t,n,s);const r=this.addChunk(i);M(o,r);this.chunkGroups.push(o);if(i){this.namedChunkGroups.set(i,o)}return o}addAsyncEntrypoint(e,t,n,s){const i=e.name;if(i){const e=this.namedChunkGroups.get(i);if(e instanceof w){if(e!==undefined){if(t){e.addOrigin(t,n,s)}return e}}else if(e){throw new Error(`Cannot add an async entrypoint with the name '${i}', because there is already an chunk group with this name`)}}const o=this.addChunk(i);if(e.filename){o.filenameTemplate=e.filename}const r=new w(e,false);r.setRuntimeChunk(o);r.setEntrypointChunk(o);if(i){this.namedChunkGroups.set(i,r)}this.chunkGroups.push(r);this.asyncEntrypoints.push(r);M(r,o);if(t){r.addOrigin(t,n,s)}return r}addChunk(e){if(e){const t=this.namedChunks.get(e);if(t!==undefined){return t}}const t=new h(e);this.chunks.add(t);f.setChunkGraphForChunk(t,this.chunkGraph);if(e){this.namedChunks.set(e,t)}return t}assignDepth(e){const t=this.moduleGraph;const n=new Set([e]);let s;t.setDepth(e,0);const i=e=>{if(!t.setDepthIfLower(e,s))return;n.add(e)};for(e of n){n.delete(e);s=t.getDepth(e)+1;for(const n of t.getOutgoingConnections(e)){const e=n.module;if(e){i(e)}}}}getDependencyReferencedExports(e,t){const n=e.getReferencedExports(this.moduleGraph,t);return this.hooks.dependencyReferencedExports.call(n,e,t)}removeReasonsOfDependencyBlock(e,t){const n=this.chunkGraph;const s=t=>{if(!t.module){return}if(t.module.removeReason(e,t)){for(const e of n.getModuleChunksIterable(t.module)){this.patchChunksAfterReasonRemoval(t.module,e)}}};if(t.blocks){for(const n of t.blocks){this.removeReasonsOfDependencyBlock(e,n)}}if(t.dependencies){for(const e of t.dependencies)s(e)}}patchChunksAfterReasonRemoval(e,t){if(!e.hasReasons(this.moduleGraph,t.runtime)){this.removeReasonsOfDependencyBlock(e,e)}if(!e.hasReasonForChunk(t,this.moduleGraph,this.chunkGraph)){if(this.chunkGraph.isModuleInChunk(e,t)){this.chunkGraph.disconnectChunkAndModule(t,e);this.removeChunkFromDependencies(e,t)}}}removeChunkFromDependencies(e,t){const n=e=>{if(!e.module){return}this.patchChunksAfterReasonRemoval(e.module,t)};const s=e.blocks;for(let t=0;t{const n=t.options.runtime||t.name;const s=t.getRuntimeChunk();e.setRuntimeId(n,s.id)};for(const e of this.entrypoints.values()){t(e)}for(const e of this.asyncEntrypoints){t(e)}}sortItemsWithChunkIds(){for(const e of this.chunkGroups){e.sortItems()}this.errors.sort(ye);this.warnings.sort(ye);this.children.sort(he)}summarizeDependencies(){for(let e=0;e0){this.logger.time("hashing: hash child compilations");for(const e of this.children){r.update(e.hash)}this.logger.timeEnd("hashing: hash child compilations")}if(this.warnings.length>0){this.logger.time("hashing: hash warnings");for(const e of this.warnings){r.update(`${e.message}`)}this.logger.timeEnd("hashing: hash warnings")}if(this.errors.length>0){this.logger.time("hashing: hash errors");for(const e of this.errors){r.update(`${e.message}`)}this.logger.timeEnd("hashing: hash errors")}this.logger.time("hashing: sort chunks");const a=Array.from(this.chunks);const c=[];const u=[];for(const e of a){if(e.hasRuntime()){c.push({chunk:e,referencedChunks:new Set(Array.from(e.getAllReferencedAsyncEntrypoints()).map(e=>e.chunks[e.chunks.length-1]))})}else{u.push(e)}}u.sort(pe);c.sort((e,t)=>{const n=e.referencedChunks.has(t.chunk);const s=t.referencedChunks.has(e.chunk);if(n&&s){const n=new J(`Circular dependency between chunks with runtime (${e.chunk.name||e.chunk.id} and ${t.chunk.name||t.chunk.id}).\nThis prevents using hashes of each other and should be avoided.`);n.chunk=e.chunk;this.warnings.push(n);return pe(e.chunk,t.chunk)}if(n)return 1;if(s)return-1;return pe(e.chunk,t.chunk)});this.logger.timeEnd("hashing: sort chunks");const l=new Set;const d=a=>{this.logger.time("hashing: hash runtime modules");for(const n of e.getChunkModulesIterable(a)){if(!e.hasModuleHashes(n,a.runtime)){const r=se(s);n.updateHash(r,{chunkGraph:e,runtime:a.runtime,runtimeTemplate:t});const c=r.digest(i);e.setModuleHashes(n,a.runtime,c,c.substr(0,o))}}this.logger.timeAggregate("hashing: hash runtime modules");const c=se(s);this.logger.time("hashing: hash chunks");try{if(n.hashSalt){c.update(n.hashSalt)}a.updateHash(c,e);this.hooks.chunkHash.call(a,c,{chunkGraph:e,moduleGraph:this.moduleGraph,runtimeTemplate:this.runtimeTemplate});const t=c.digest(i);r.update(t);a.hash=t;a.renderedHash=a.hash.substr(0,o);const s=e.getChunkFullHashModulesIterable(a);if(s){l.add(a)}else{this.hooks.contentHash.call(a)}}catch(e){this.errors.push(new g(a,"",e))}this.logger.timeAggregate("hashing: hash chunks")};u.forEach(d);for(const{chunk:e}of c)d(e);this.logger.timeAggregateEnd("hashing: hash runtime modules");this.logger.timeAggregateEnd("hashing: hash chunks");this.logger.time("hashing: hash digest");this.hooks.fullHash.call(r);this.fullHash=r.digest(i);this.hash=this.fullHash.substr(0,o);this.logger.timeEnd("hashing: hash digest");this.logger.time("hashing: process full hash modules");for(const n of l){for(const r of e.getChunkFullHashModulesIterable(n)){const a=se(s);r.updateHash(a,{chunkGraph:e,runtime:n.runtime,runtimeTemplate:t});const c=a.digest(i);e.setModuleHashes(r,n.runtime,c,c.substr(0,o))}const r=se(s);r.update(n.hash);r.update(this.hash);const a=r.digest(i);n.hash=a;n.renderedHash=n.hash.substr(0,o);this.hooks.contentHash.call(n)}this.logger.timeEnd("hashing: process full hash modules")}emitAsset(e,t,n={}){if(this.assets[e]){if(!ce(this.assets[e],t)){this.errors.push(new J(`Conflict: Multiple assets emit different content to the same filename ${e}`));this.assets[e]=t;this._setAssetInfo(e,n);return}const s=this.assetsInfo.get(e);const i=Object.assign({},s,n);this._setAssetInfo(e,i,s);return}this.assets[e]=t;this._setAssetInfo(e,n,undefined)}_setAssetInfo(e,t,n=this.assetsInfo.get(e)){if(t===undefined){this.assetsInfo.delete(e)}else{this.assetsInfo.set(e,t)}const s=n&&n.related;const i=t&&t.related;if(s){for(const t of Object.keys(s)){const n=n=>{const s=this._assetsRelatedIn.get(n);if(s===undefined)return;const i=s.get(t);if(i===undefined)return;i.delete(e);if(i.size!==0)return;s.delete(t);if(s.size===0)this._assetsRelatedIn.delete(n)};const i=s[t];if(Array.isArray(i)){i.forEach(n)}else if(i){n(i)}}}if(i){for(const t of Object.keys(i)){const n=n=>{let s=this._assetsRelatedIn.get(n);if(s===undefined){this._assetsRelatedIn.set(n,s=new Map)}let i=s.get(t);if(i===undefined){s.set(t,i=new Set)}i.add(e)};const s=i[t];if(Array.isArray(s)){s.forEach(n)}else if(s){n(s)}}}}updateAsset(e,t,n=undefined){if(!this.assets[e]){throw new Error(`Called Compilation.updateAsset for not existing filename ${e}`)}if(typeof t==="function"){this.assets[e]=t(this.assets[e])}else{this.assets[e]=t}if(n!==undefined){const t=this.assetsInfo.get(e)||ue;if(typeof n==="function"){this._setAssetInfo(e,n(t),t)}else{this._setAssetInfo(e,H(t,n),t)}}}renameAsset(e,t){const n=this.assets[e];if(!n){throw new Error(`Called Compilation.renameAsset for not existing filename ${e}`)}if(this.assets[t]){if(!ce(this.assets[e],n)){this.errors.push(new J(`Conflict: Called Compilation.renameAsset for already existing filename ${t} with different content`))}}const s=this.assetsInfo.get(e);const i=this._assetsRelatedIn.get(e);if(i){for(const[n,s]of i){for(const i of s){const s=this.assetsInfo.get(i);if(!s)continue;const o=s.related;if(!o)continue;const r=o[n];let a;if(Array.isArray(r)){a=r.map(n=>n===e?t:n)}else if(r===e){a=t}else continue;this.assetsInfo.set(i,{...s,related:{...o,[n]:a}})}}}this._setAssetInfo(e,undefined,s);this._setAssetInfo(t,s);delete this.assets[e];this.assets[t]=n;for(const n of this.chunks){{const s=n.files.size;n.files.delete(e);if(s!==n.files.size){n.files.add(t)}}{const s=n.auxiliaryFiles.size;n.auxiliaryFiles.delete(e);if(s!==n.auxiliaryFiles.size){n.auxiliaryFiles.add(t)}}}}deleteAsset(e){if(!this.assets[e]){return}delete this.assets[e];const t=this.assetsInfo.get(e);this._setAssetInfo(e,undefined,t);const n=t&&t.related;if(n){for(const e of Object.keys(n)){const t=e=>{if(!this._assetsRelatedIn.has(e)){this.deleteAsset(e)}};const s=n[e];if(Array.isArray(s)){s.forEach(t)}else if(s){t(s)}}}for(const t of this.chunks){t.files.delete(e);t.auxiliaryFiles.delete(e)}}getAssets(){const e=[];for(const t of Object.keys(this.assets)){if(Object.prototype.hasOwnProperty.call(this.assets,t)){e.push({name:t,source:this.assets[t],info:this.assetsInfo.get(t)||ue})}}return e}getAsset(e){if(!Object.prototype.hasOwnProperty.call(this.assets,e))return undefined;return{name:e,source:this.assets[e],info:this.assetsInfo.get(e)||ue}}clearAssets(){for(const e of this.chunks){e.files.clear();e.auxiliaryFiles.clear()}}createModuleAssets(){const{chunkGraph:e}=this;for(const t of this.modules){if(t.buildInfo.assets){const n=t.buildInfo.assetsInfo;for(const s of Object.keys(t.buildInfo.assets)){const i=this.getPath(s,{chunkGraph:this.chunkGraph,module:t});for(const n of e.getModuleChunksIterable(t)){n.auxiliaryFiles.add(i)}this.emitAsset(i,t.buildInfo.assets[s],n?n.get(s):undefined);this.hooks.moduleAsset.call(t,i)}}}}getRenderManifest(e){return this.hooks.renderManifest.call([],e)}createChunkAssets(e){const t=this.outputOptions;const n=new WeakMap;const i=new Map;s.forEach(this.chunks,(e,o)=>{let r;try{r=this.getRenderManifest({chunk:e,hash:this.hash,fullHash:this.fullHash,outputOptions:t,codeGenerationResults:this.codeGenerationResults,moduleTemplates:this.moduleTemplates,dependencyTemplates:this.dependencyTemplates,chunkGraph:this.chunkGraph,moduleGraph:this.moduleGraph,runtimeTemplate:this.runtimeTemplate})}catch(t){this.errors.push(new g(e,"",t));return o()}s.forEach(r,(t,s)=>{const o=t.identifier;const r=t.hash;const a=this._assetsCache.getItemCache(o,r);a.get((o,c)=>{let u;let l;let p;let h=true;const f=t=>{const n=l||(typeof l==="string"?l:typeof u==="string"?u:"");this.errors.push(new g(e,n,t));h=false;return s()};try{if("filename"in t){l=t.filename;p=t.info}else{u=t.filenameTemplate;const e=this.getPathWithInfo(u,t.pathOptions);l=e.path;p=t.info?{...e.info,...t.info}:e.info}if(o){return f(o)}let m=c;const g=i.get(l);if(g!==undefined){if(g.hash!==r){h=false;return s(new J(`Conflict: Multiple chunks emit assets to the same filename ${l}`+` (chunks ${g.chunk.id} and ${e.id})`))}else{m=g.source}}else if(!m){m=t.render();if(!(m instanceof d)){const e=n.get(m);if(e){m=e}else{const e=new d(m);n.set(m,e);m=e}}}this.emitAsset(l,m,p);if(t.auxiliary){e.auxiliaryFiles.add(l)}else{e.files.add(l)}this.hooks.chunkAsset.call(e,l);i.set(l,{hash:r,source:m,chunk:e});if(m!==c){a.store(m,e=>{if(e)return f(e);h=false;return s()})}else{h=false;s()}}catch(o){if(!h)throw o;f(o)}})},o)},e)}getPath(e,t={}){if(!t.hash){t={hash:this.hash,...t}}return this.getAssetPath(e,t)}getPathWithInfo(e,t={}){if(!t.hash){t={hash:this.hash,...t}}return this.getAssetPathWithInfo(e,t)}getAssetPath(e,t){return this.hooks.assetPath.call(typeof e==="function"?e(t):e,t,undefined)}getAssetPathWithInfo(e,t){const n={};const s=this.hooks.assetPath.call(typeof e==="function"?e(t,n):e,t,n);return{path:s,info:n}}getWarnings(){return this.hooks.processWarnings.call(this.warnings)}getErrors(){return this.hooks.processErrors.call(this.errors)}createChildCompiler(e,t,n){const s=this.childrenCounters[e]||0;this.childrenCounters[e]=s+1;return this.compiler.createChildCompiler(this,e,s,t,n)}checkConstraints(){const e=this.chunkGraph;const t=new Set;for(const n of this.modules){if(n.type==="runtime")continue;const s=e.getModuleId(n);if(s===null)continue;if(t.has(s)){throw new Error(`checkConstraints: duplicate module id ${s}`)}t.add(s)}for(const t of this.chunks){for(const n of e.getChunkModulesIterable(t)){if(!this.modules.has(n)){throw new Error("checkConstraints: module in chunk but not in compilation "+` ${t.debugId} ${n.debugId}`)}}for(const n of e.getChunkEntryModulesIterable(t)){if(!this.modules.has(n)){throw new Error("checkConstraints: entry module in chunk but not in compilation "+` ${t.debugId} ${n.debugId}`)}}}for(const e of this.chunkGroups){e.checkConstraints()}}}const ve=Compilation.prototype;Object.defineProperty(ve,"modifyHash",{writable:false,enumerable:false,configurable:false,value:()=>{throw new Error("Compilation.modifyHash was removed in favor of Compilation.hooks.fullHash")}});Object.defineProperty(ve,"cache",{enumerable:false,configurable:false,get:l.deprecate(function(){return this.compiler.cache},"Compilation.cache was removed in favor of Compilation.getCache()","DEP_WEBPACK_COMPILATION_CACHE"),set:l.deprecate(e=>{},"Compilation.cache was removed in favor of Compilation.getCache()","DEP_WEBPACK_COMPILATION_CACHE")});Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL=-2e3;Compilation.PROCESS_ASSETS_STAGE_PRE_PROCESS=-1e3;Compilation.PROCESS_ASSETS_STAGE_DERIVED=-200;Compilation.PROCESS_ASSETS_STAGE_ADDITIONS=-100;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE=100;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_COUNT=200;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_COMPATIBILITY=300;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE=400;Compilation.PROCESS_ASSETS_STAGE_DEV_TOOLING=500;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_INLINE=700;Compilation.PROCESS_ASSETS_STAGE_SUMMARIZE=1e3;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_HASH=2500;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_TRANSFER=3e3;Compilation.PROCESS_ASSETS_STAGE_ANALYSE=4e3;Compilation.PROCESS_ASSETS_STAGE_REPORT=5e3;e.exports=Compilation},70845:(e,t,n)=>{"use strict";const s=n(15235);const i=n(36386);const{SyncHook:o,SyncBailHook:r,AsyncParallelHook:a,AsyncSeriesHook:c}=n(6967);const{SizeOnlySource:u}=n(84697);const l=n(91919);const d=n(7592);const p=n(55392);const h=n(85720);const f=n(95735);const m=n(62471);const g=n(68860);const y=n(73406);const v=n(30217);const b=n(31743);const k=n(84275);const w=n(53799);const{Logger:x}=n(32597);const{join:C,dirname:M,mkdirp:S}=n(17139);const{makePathsRelative:O}=n(82186);const{isSourceEqual:T}=n(41245);const P=e=>{for(let t=1;te[t])return false}return true};const $=(e,t)=>{const n={};for(const s of t.sort()){n[s]=e[s]}return n};const F=(e,t)=>{if(!t)return false;if(Array.isArray(t)){return t.some(t=>e.includes(t))}else{return e.includes(t)}};class Compiler{constructor(e){this.hooks=Object.freeze({initialize:new o([]),shouldEmit:new r(["compilation"]),done:new c(["stats"]),afterDone:new o(["stats"]),additionalPass:new c([]),beforeRun:new c(["compiler"]),run:new c(["compiler"]),emit:new c(["compilation"]),assetEmitted:new c(["file","info"]),afterEmit:new c(["compilation"]),thisCompilation:new o(["compilation","params"]),compilation:new o(["compilation","params"]),normalModuleFactory:new o(["normalModuleFactory"]),contextModuleFactory:new o(["contextModuleFactory"]),beforeCompile:new c(["params"]),compile:new o(["params"]),make:new a(["compilation"]),finishMake:new c(["compilation"]),afterCompile:new c(["compilation"]),watchRun:new c(["compiler"]),failed:new o(["error"]),invalid:new o(["filename","changeTime"]),watchClose:new o([]),infrastructureLog:new r(["origin","type","args"]),environment:new o([]),afterEnvironment:new o([]),afterPlugins:new o(["compiler"]),afterResolvers:new o(["compiler"]),entryOption:new r(["context","entry"])});this.webpack=l;this.name=undefined;this.parentCompilation=undefined;this.root=this;this.outputPath="";this.watching=undefined;this.outputFileSystem=null;this.intermediateFileSystem=null;this.inputFileSystem=null;this.watchFileSystem=null;this.recordsInputPath=null;this.recordsOutputPath=null;this.records={};this.managedPaths=new Set;this.immutablePaths=new Set;this.modifiedFiles=undefined;this.removedFiles=undefined;this.fileTimestamps=undefined;this.contextTimestamps=undefined;this.resolverFactory=new v;this.infrastructureLogger=undefined;this.options={};this.context=e;this.requestShortener=new y(e,this.root);this.cache=new d;this.compilerPath="";this.running=false;this.idle=false;this.watchMode=false;this._assetEmittingSourceCache=new WeakMap;this._assetEmittingWrittenFiles=new Map}getCache(e){return new p(this.cache,`${this.compilerPath}${e}`)}getInfrastructureLogger(e){if(!e){throw new TypeError("Compiler.getInfrastructureLogger(name) called without a name")}return new x((t,n)=>{if(typeof e==="function"){e=e();if(!e){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}if(this.hooks.infrastructureLog.call(e,t,n)===undefined){if(this.infrastructureLogger!==undefined){this.infrastructureLogger(e,t,n)}}},t=>{if(typeof e==="function"){if(typeof t==="function"){return this.getInfrastructureLogger(()=>{if(typeof e==="function"){e=e();if(!e){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}if(typeof t==="function"){t=t();if(!t){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${e}/${t}`})}else{return this.getInfrastructureLogger(()=>{if(typeof e==="function"){e=e();if(!e){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}return`${e}/${t}`})}}else{if(typeof t==="function"){return this.getInfrastructureLogger(()=>{if(typeof t==="function"){t=t();if(!t){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${e}/${t}`})}else{return this.getInfrastructureLogger(`${e}/${t}`)}}})}watch(e,t){if(this.running){return t(new f)}this.running=true;this.watchMode=true;this.watching=new k(this,e,t);return this.watching}run(e){if(this.running){return e(new f)}let t;const n=(n,s)=>{if(t)t.time("beginIdle");this.idle=true;this.cache.beginIdle();this.idle=true;if(t)t.timeEnd("beginIdle");this.running=false;if(n){this.hooks.failed.call(n)}if(e!==undefined)e(n,s);this.hooks.afterDone.call(s)};const s=Date.now();this.running=true;const i=(e,o)=>{if(e)return n(e);if(this.hooks.shouldEmit.call(o)===false){o.startTime=s;o.endTime=Date.now();const e=new b(o);this.hooks.done.callAsync(e,t=>{if(t)return n(t);return n(null,e)});return}process.nextTick(()=>{t=o.getLogger("webpack.Compiler");t.time("emitAssets");this.emitAssets(o,e=>{t.timeEnd("emitAssets");if(e)return n(e);if(o.hooks.needAdditionalPass.call()){o.needAdditionalPass=true;o.startTime=s;o.endTime=Date.now();t.time("done hook");const e=new b(o);this.hooks.done.callAsync(e,e=>{t.timeEnd("done hook");if(e)return n(e);this.hooks.additionalPass.callAsync(e=>{if(e)return n(e);this.compile(i)})});return}t.time("emitRecords");this.emitRecords(e=>{t.timeEnd("emitRecords");if(e)return n(e);o.startTime=s;o.endTime=Date.now();t.time("done hook");const i=new b(o);this.hooks.done.callAsync(i,e=>{t.timeEnd("done hook");if(e)return n(e);this.cache.storeBuildDependencies(o.buildDependencies,e=>{if(e)return n(e);return n(null,i)})})})})})};const o=()=>{this.hooks.beforeRun.callAsync(this,e=>{if(e)return n(e);this.hooks.run.callAsync(this,e=>{if(e)return n(e);this.readRecords(e=>{if(e)return n(e);this.compile(i)})})})};if(this.idle){this.cache.endIdle(e=>{if(e)return n(e);this.idle=false;o()})}else{o()}}runAsChild(e){const t=Date.now();this.compile((n,s)=>{if(n)return e(n);this.parentCompilation.children.push(s);for(const{name:e,source:t,info:n}of s.getAssets()){this.parentCompilation.emitAsset(e,t,n)}const i=[];for(const e of s.entrypoints.values()){i.push(...e.chunks)}s.startTime=t;s.endTime=Date.now();return e(null,i,s)})}purgeInputFileSystem(){if(this.inputFileSystem&&this.inputFileSystem.purge){this.inputFileSystem.purge()}}emitAssets(e,t){let n;const s=s=>{if(s)return t(s);const o=e.getAssets();e.assets={...e.assets};const r=new Map;i.forEachLimit(o,15,({name:t,source:s,info:i},o)=>{let a=t;let c=i.immutable;const l=a.indexOf("?");if(l>=0){a=a.substr(0,l);c=c&&(F(a,i.contenthash)||F(a,i.chunkhash)||F(a,i.modulehash)||F(a,i.fullhash))}const d=i=>{if(i)return o(i);const l=C(this.outputFileSystem,n,a);const d=this._assetEmittingWrittenFiles.get(l);let p=this._assetEmittingSourceCache.get(s);if(p===undefined){p={sizeOnlySource:undefined,writtenTo:new Map};this._assetEmittingSourceCache.set(s,p)}let h;const f=()=>{const e=l.toLowerCase();h=r.get(e);if(h!==undefined){const{path:e,source:n}=h;if(T(n,s)){if(h.size!==undefined){v(h.size)}else{if(!h.waiting)h.waiting=[];h.waiting.push({file:t,cacheEntry:p})}g()}else{const n=new w(`Prevent writing to file that only differs in casing or query string from already written file.\nThis will lead to a race-condition and corrupted files on case-insensitive file systems.\n${l}\n${e}`);n.file=t;o(n)}return true}else{r.set(e,h={path:l,source:s,size:undefined,waiting:undefined});return false}};const m=()=>{if(typeof s.buffer==="function"){return s.buffer()}else{const e=s.source();if(Buffer.isBuffer(e)){return e}else{return Buffer.from(e,"utf8")}}};const g=()=>{if(d===undefined){const e=1;this._assetEmittingWrittenFiles.set(l,e);p.writtenTo.set(l,e)}else{p.writtenTo.set(l,d)}o()};const y=i=>{this.outputFileSystem.writeFile(l,i,r=>{if(r)return o(r);e.emittedAssets.add(t);const a=d===undefined?1:d+1;p.writtenTo.set(l,a);this._assetEmittingWrittenFiles.set(l,a);this.hooks.assetEmitted.callAsync(t,{content:i,source:s,outputPath:n,compilation:e,targetPath:l},o)})};const v=e=>{b(t,p,e);h.size=e;if(h.waiting!==undefined){for(const{file:t,cacheEntry:n}of h.waiting){b(t,n,e)}}};const b=(t,n,s)=>{if(!n.sizeOnlySource){n.sizeOnlySource=new u(s)}e.updateAsset(t,n.sizeOnlySource,{size:s})};const k=n=>{if(c){v(n.size);return g()}const s=m();v(s.length);if(s.length===n.size){e.comparedForEmitAssets.add(t);return this.outputFileSystem.readFile(l,(e,t)=>{if(e||!s.equals(t)){return y(s)}else{return g()}})}return y(s)};const x=()=>{const e=m();v(e.length);return y(e)};if(d!==undefined){const n=p.writtenTo.get(l);if(n===d){e.updateAsset(t,p.sizeOnlySource,{size:p.sizeOnlySource.size()});return o()}if(!c){if(f())return;return x()}}if(f())return;if(this.options.output.compareBeforeEmit){this.outputFileSystem.stat(l,(e,t)=>{const n=!e&&t.isFile();if(n){k(t)}else{x()}})}else{x()}};if(a.match(/\/|\\/)){const e=this.outputFileSystem;const t=M(e,C(e,n,a));S(e,t,d)}else{d()}},n=>{if(n)return t(n);this.hooks.afterEmit.callAsync(e,e=>{if(e)return t(e);return t()})})};this.hooks.emit.callAsync(e,i=>{if(i)return t(i);n=e.getPath(this.outputPath,{});S(this.outputFileSystem,n,s)})}emitRecords(e){if(!this.recordsOutputPath)return e();const t=()=>{this.outputFileSystem.writeFile(this.recordsOutputPath,JSON.stringify(this.records,(e,t)=>{if(typeof t==="object"&&t!==null&&!Array.isArray(t)){const e=Object.keys(t);if(!P(e)){return $(t,e)}}return t},2),e)};const n=M(this.outputFileSystem,this.recordsOutputPath);if(!n){return t()}S(this.outputFileSystem,n,n=>{if(n)return e(n);t()})}readRecords(e){if(!this.recordsInputPath){this.records={};return e()}this.inputFileSystem.stat(this.recordsInputPath,t=>{if(t)return e();this.inputFileSystem.readFile(this.recordsInputPath,(t,n)=>{if(t)return e(t);try{this.records=s(n.toString("utf-8"))}catch(t){t.message="Cannot parse records: "+t.message;return e(t)}return e()})})}createChildCompiler(e,t,n,s,i){const o=new Compiler(this.context);o.name=t;o.outputPath=this.outputPath;o.inputFileSystem=this.inputFileSystem;o.outputFileSystem=null;o.resolverFactory=this.resolverFactory;o.modifiedFiles=this.modifiedFiles;o.removedFiles=this.removedFiles;o.fileTimestamps=this.fileTimestamps;o.contextTimestamps=this.contextTimestamps;o.cache=this.cache;o.compilerPath=`${this.compilerPath}${t}|${n}|`;const r=O(this.context,t,this.root);if(!this.records[r]){this.records[r]=[]}if(this.records[r][n]){o.records=this.records[r][n]}else{this.records[r].push(o.records={})}o.options={...this.options,output:{...this.options.output,...s}};o.parentCompilation=e;o.root=this.root;if(Array.isArray(i)){for(const e of i){e.apply(o)}}for(const e in this.hooks){if(!["make","compile","emit","afterEmit","invalid","done","thisCompilation"].includes(e)){if(o.hooks[e]){o.hooks[e].taps=this.hooks[e].taps.slice()}}}e.hooks.childCompiler.call(o,t,n);return o}isChild(){return!!this.parentCompilation}createCompilation(){return new h(this)}newCompilation(e){const t=this.createCompilation();t.name=this.name;t.records=this.records;this.hooks.thisCompilation.call(t,e);this.hooks.compilation.call(t,e);return t}createNormalModuleFactory(){const e=new g({context:this.options.context,fs:this.inputFileSystem,resolverFactory:this.resolverFactory,options:this.options.module||{},associatedObjectForCache:this.root});this.hooks.normalModuleFactory.call(e);return e}createContextModuleFactory(){const e=new m(this.resolverFactory);this.hooks.contextModuleFactory.call(e);return e}newCompilationParams(){const e={normalModuleFactory:this.createNormalModuleFactory(),contextModuleFactory:this.createContextModuleFactory()};return e}compile(e){const t=this.newCompilationParams();this.hooks.beforeCompile.callAsync(t,n=>{if(n)return e(n);this.hooks.compile.call(t);const s=this.newCompilation(t);const i=s.getLogger("webpack.Compiler");i.time("make hook");this.hooks.make.callAsync(s,t=>{i.timeEnd("make hook");if(t)return e(t);i.time("finish make hook");this.hooks.finishMake.callAsync(s,t=>{i.timeEnd("finish make hook");if(t)return e(t);process.nextTick(()=>{i.time("finish compilation");s.finish(t=>{i.timeEnd("finish compilation");if(t)return e(t);i.time("seal compilation");s.seal(t=>{i.timeEnd("seal compilation");if(t)return e(t);i.time("afterCompile hook");this.hooks.afterCompile.callAsync(s,t=>{i.timeEnd("afterCompile hook");if(t)return e(t);return e(null,s)})})})})})})})}close(e){this.cache.shutdown(e)}}e.exports=Compiler},98229:e=>{"use strict";const t=/^__WEBPACK_MODULE_REFERENCE__(\d+)_([\da-f]+|ns)(_call)?(_directImport)?(?:_asiSafe(\d))?__$/;const n="__WEBPACK_DEFAULT_EXPORT__";const s="__WEBPACK_NAMESPACE_OBJECT__";class ConcatenationScope{constructor(e,t){this._currentModule=t;if(Array.isArray(e)){const t=new Map;for(const n of e){t.set(n.module,n)}e=t}this._modulesMap=e}isModuleInScope(e){return this._modulesMap.has(e)}registerExport(e,t){if(!this._currentModule.exportMap){this._currentModule.exportMap=new Map}if(!this._currentModule.exportMap.has(e)){this._currentModule.exportMap.set(e,t)}}registerRawExport(e,t){if(!this._currentModule.rawExportMap){this._currentModule.rawExportMap=new Map}if(!this._currentModule.rawExportMap.has(e)){this._currentModule.rawExportMap.set(e,t)}}registerNamespaceExport(e){this._currentModule.namespaceExportSymbol=e}createModuleReference(e,{ids:t=undefined,call:n=false,directImport:s=false,asiSafe:i=false}){const o=this._modulesMap.get(e);const r=n?"_call":"";const a=s?"_directImport":"";const c=i?"_asiSafe1":i===false?"_asiSafe0":"";const u=t?Buffer.from(JSON.stringify(t),"utf-8").toString("hex"):"ns";return`__WEBPACK_MODULE_REFERENCE__${o.index}_${u}${r}${a}${c}__._`}static isModuleReference(e){return t.test(e)}static matchModuleReference(e){const n=t.exec(e);if(!n)return null;const s=+n[1];const i=n[5];return{index:s,ids:n[2]==="ns"?[]:JSON.parse(Buffer.from(n[2],"hex").toString("utf-8")),call:!!n[3],directImport:!!n[4],asiSafe:i?i==="1":undefined}}}ConcatenationScope.DEFAULT_EXPORT=n;ConcatenationScope.NAMESPACE_OBJECT_EXPORT=s;e.exports=ConcatenationScope},95735:(e,t,n)=>{"use strict";const s=n(53799);e.exports=class ConcurrentCompilationError extends s{constructor(){super();this.name="ConcurrentCompilationError";this.message="You ran Webpack twice. Each instance only supports a single concurrent compilation at a time.";Error.captureStackTrace(this,this.constructor)}}},61333:(e,t,n)=>{"use strict";const{ConcatSource:s,PrefixSource:i}=n(84697);const o=n(55870);const r=n(1626);const{mergeRuntime:a}=n(17156);const c=(e,t)=>{if(typeof t==="string"){return r.asString([`if (${e}) {`,r.indent(t),"}",""])}else{return new s(`if (${e}) {\n`,new i("\t",t),"}\n")}};class ConditionalInitFragment extends o{constructor(e,t,n,s,i=true,o){super(e,t,n,s,o);this.runtimeCondition=i}getContent(e){if(this.runtimeCondition===false||!this.content)return"";if(this.runtimeCondition===true)return this.content;const t=e.runtimeTemplate.runtimeConditionExpression({chunkGraph:e.chunkGraph,runtimeRequirements:e.runtimeRequirements,runtime:e.runtime,runtimeCondition:this.runtimeCondition});if(t==="true")return this.content;return c(t,this.content)}getEndContent(e){if(this.runtimeCondition===false||!this.endContent)return"";if(this.runtimeCondition===true)return this.endContent;const t=e.runtimeTemplate.runtimeConditionExpression({chunkGraph:e.chunkGraph,runtimeRequirements:e.runtimeRequirements,runtime:e.runtime,runtimeCondition:this.runtimeCondition});if(t==="true")return this.endContent;return c(t,this.endContent)}merge(e){if(this.runtimeCondition===true)return this;if(e.runtimeCondition===true)return e;if(this.runtimeCondition===false)return e;if(e.runtimeCondition===false)return this;const t=a(this.runtimeCondition,e.runtimeCondition);return new ConditionalInitFragment(this.content,this.stage,this.position,this.key,t,this.endContent)}}e.exports=ConditionalInitFragment},11146:(e,t,n)=>{"use strict";const s=n(57403);const i=n(76911);const{evaluateToString:o}=n(93998);const{parseResource:r}=n(82186);const a=(e,t)=>{const n=[t];while(n.length>0){const t=n.pop();switch(t.type){case"Identifier":e.add(t.name);break;case"ArrayPattern":for(const e of t.elements){if(e){n.push(e)}}break;case"AssignmentPattern":n.push(t.left);break;case"ObjectPattern":for(const e of t.properties){n.push(e.value)}break;case"RestElement":n.push(t.argument);break}}};const c=(e,t)=>{const n=new Set;const s=[e];while(s.length>0){const e=s.pop();if(!e)continue;switch(e.type){case"BlockStatement":for(const t of e.body){s.push(t)}break;case"IfStatement":s.push(e.consequent);s.push(e.alternate);break;case"ForStatement":s.push(e.init);s.push(e.body);break;case"ForInStatement":case"ForOfStatement":s.push(e.left);s.push(e.body);break;case"DoWhileStatement":case"WhileStatement":case"LabeledStatement":s.push(e.body);break;case"SwitchStatement":for(const t of e.cases){for(const e of t.consequent){s.push(e)}}break;case"TryStatement":s.push(e.block);if(e.handler){s.push(e.handler.body)}s.push(e.finalizer);break;case"FunctionDeclaration":if(t){a(n,e.id)}break;case"VariableDeclaration":if(e.kind==="var"){for(const t of e.declarations){a(n,t.id)}}break}}return Array.from(n)};class ConstPlugin{apply(e){const t=r.bindCache(e.root);e.hooks.compilation.tap("ConstPlugin",(e,{normalModuleFactory:n})=>{e.dependencyTemplates.set(i,new i.Template);e.dependencyTemplates.set(s,new s.Template);const r=e=>{e.hooks.statementIf.tap("ConstPlugin",t=>{if(e.scope.isAsmJs)return;const n=e.evaluateExpression(t.test);const s=n.asBool();if(typeof s==="boolean"){if(!n.couldHaveSideEffects()){const o=new i(`${s}`,n.range);o.loc=t.loc;e.state.module.addPresentationalDependency(o)}else{e.walkExpression(t.test)}const o=s?t.alternate:t.consequent;if(o){let t;if(e.scope.isStrict){t=c(o,false)}else{t=c(o,true)}let n;if(t.length>0){n=`{ var ${t.join(", ")}; }`}else{n="{}"}const s=new i(n,o.range);s.loc=o.loc;e.state.module.addPresentationalDependency(s)}return s}});e.hooks.expressionConditionalOperator.tap("ConstPlugin",t=>{if(e.scope.isAsmJs)return;const n=e.evaluateExpression(t.test);const s=n.asBool();if(typeof s==="boolean"){if(!n.couldHaveSideEffects()){const o=new i(` ${s}`,n.range);o.loc=t.loc;e.state.module.addPresentationalDependency(o)}else{e.walkExpression(t.test)}const o=s?t.alternate:t.consequent;const r=new i("0",o.range);r.loc=o.loc;e.state.module.addPresentationalDependency(r);return s}});e.hooks.expressionLogicalOperator.tap("ConstPlugin",t=>{if(e.scope.isAsmJs)return;if(t.operator==="&&"||t.operator==="||"){const n=e.evaluateExpression(t.left);const s=n.asBool();if(typeof s==="boolean"){const o=t.operator==="&&"&&s||t.operator==="||"&&!s;if(!n.couldHaveSideEffects()&&(n.isBoolean()||o)){const o=new i(` ${s}`,n.range);o.loc=t.loc;e.state.module.addPresentationalDependency(o)}else{e.walkExpression(t.left)}if(!o){const n=new i("0",t.right.range);n.loc=t.loc;e.state.module.addPresentationalDependency(n)}return o}}else if(t.operator==="??"){const n=e.evaluateExpression(t.left);const s=n&&n.asNullish();if(typeof s==="boolean"){if(!n.couldHaveSideEffects()&&s){const s=new i(" null",n.range);s.loc=t.loc;e.state.module.addPresentationalDependency(s)}else{const n=new i("0",t.right.range);n.loc=t.loc;e.state.module.addPresentationalDependency(n);e.walkExpression(t.left)}return s}}});e.hooks.optionalChaining.tap("ConstPlugin",t=>{const n=[];let s=t.expression;while(s.type==="MemberExpression"||s.type==="CallExpression"){if(s.type==="MemberExpression"){if(s.optional){n.push(s.object)}s=s.object}else{if(s.optional){n.push(s.callee)}s=s.callee}}while(n.length){const s=n.pop();const o=e.evaluateExpression(s);if(o&&o.asNullish()){const n=new i(" undefined",t.range);n.loc=t.loc;e.state.module.addPresentationalDependency(n);return true}}});e.hooks.evaluateIdentifier.for("__resourceQuery").tap("ConstPlugin",n=>{if(e.scope.isAsmJs)return;if(!e.state.module)return;return o(t(e.state.module.resource).query)(n)});e.hooks.expression.for("__resourceQuery").tap("ConstPlugin",n=>{if(e.scope.isAsmJs)return;if(!e.state.module)return;const i=new s(JSON.stringify(t(e.state.module.resource).query),n.range,"__resourceQuery");i.loc=n.loc;e.state.module.addPresentationalDependency(i);return true});e.hooks.evaluateIdentifier.for("__resourceFragment").tap("ConstPlugin",n=>{if(e.scope.isAsmJs)return;if(!e.state.module)return;return o(t(e.state.module.resource).fragment)(n)});e.hooks.expression.for("__resourceFragment").tap("ConstPlugin",n=>{if(e.scope.isAsmJs)return;if(!e.state.module)return;const i=new s(JSON.stringify(t(e.state.module.resource).fragment),n.range,"__resourceFragment");i.loc=n.loc;e.state.module.addPresentationalDependency(i);return true})};n.hooks.parser.for("javascript/auto").tap("ConstPlugin",r);n.hooks.parser.for("javascript/dynamic").tap("ConstPlugin",r);n.hooks.parser.for("javascript/esm").tap("ConstPlugin",r)})}}e.exports=ConstPlugin},21411:e=>{"use strict";class ContextExclusionPlugin{constructor(e){this.negativeMatcher=e}apply(e){e.hooks.contextModuleFactory.tap("ContextExclusionPlugin",e=>{e.hooks.contextModuleFiles.tap("ContextExclusionPlugin",e=>{return e.filter(e=>!this.negativeMatcher.test(e))})})}}e.exports=ContextExclusionPlugin},76729:(e,t,n)=>{"use strict";const{OriginalSource:s,RawSource:i}=n(84697);const o=n(47736);const{makeWebpackError:r}=n(11351);const a=n(73208);const c=n(16475);const u=n(1626);const l=n(53799);const{compareLocations:d,concatComparators:p,compareSelect:h,keepOriginalOrder:f}=n(29579);const{compareModulesById:m}=n(29579);const{contextify:g,parseResource:y}=n(82186);const v=n(33032);const b={timestamp:true};const k=new Set(["javascript"]);class ContextModule extends a{constructor(e,t){const n=y(t?t.resource:"");const s=n.path;const i=t&&t.resourceQuery||n.query;const o=t&&t.resourceFragment||n.fragment;super("javascript/dynamic",s);this.resolveDependencies=e;this.options={...t,resource:s,resourceQuery:i,resourceFragment:o};if(t&&t.resolveOptions!==undefined){this.resolveOptions=t.resolveOptions}if(t&&typeof t.mode!=="string"){throw new Error("options.mode is a required option")}this._identifier=this._createIdentifier();this._forceBuild=true}getSourceTypes(){return k}updateCacheModule(e){const t=e;this.resolveDependencies=t.resolveDependencies;this.options=t.options;this.resolveOptions=t.resolveOptions}prettyRegExp(e){return e.substring(1,e.length-1)}_createIdentifier(){let e=this.context;if(this.options.resourceQuery){e+=`|${this.options.resourceQuery}`}if(this.options.resourceFragment){e+=`|${this.options.resourceFragment}`}if(this.options.mode){e+=`|${this.options.mode}`}if(!this.options.recursive){e+="|nonrecursive"}if(this.options.addon){e+=`|${this.options.addon}`}if(this.options.regExp){e+=`|${this.options.regExp}`}if(this.options.include){e+=`|include: ${this.options.include}`}if(this.options.exclude){e+=`|exclude: ${this.options.exclude}`}if(this.options.referencedExports){e+=`|referencedExports: ${JSON.stringify(this.options.referencedExports)}`}if(this.options.chunkName){e+=`|chunkName: ${this.options.chunkName}`}if(this.options.groupOptions){e+=`|groupOptions: ${JSON.stringify(this.options.groupOptions)}`}if(this.options.namespaceObject==="strict"){e+="|strict namespace object"}else if(this.options.namespaceObject){e+="|namespace object"}return e}identifier(){return this._identifier}readableIdentifier(e){let t=e.shorten(this.context)+"/";if(this.options.resourceQuery){t+=` ${this.options.resourceQuery}`}if(this.options.mode){t+=` ${this.options.mode}`}if(!this.options.recursive){t+=" nonrecursive"}if(this.options.addon){t+=` ${e.shorten(this.options.addon)}`}if(this.options.regExp){t+=` ${this.prettyRegExp(this.options.regExp+"")}`}if(this.options.include){t+=` include: ${this.prettyRegExp(this.options.include+"")}`}if(this.options.exclude){t+=` exclude: ${this.prettyRegExp(this.options.exclude+"")}`}if(this.options.referencedExports){t+=` referencedExports: ${this.options.referencedExports.map(e=>e.join(".")).join(", ")}`}if(this.options.chunkName){t+=` chunkName: ${this.options.chunkName}`}if(this.options.groupOptions){const e=this.options.groupOptions;for(const n of Object.keys(e)){t+=` ${n}: ${e[n]}`}}if(this.options.namespaceObject==="strict"){t+=" strict namespace object"}else if(this.options.namespaceObject){t+=" namespace object"}return t}libIdent(e){let t=g(e.context,this.context,e.associatedObjectForCache);if(this.options.mode){t+=` ${this.options.mode}`}if(this.options.recursive){t+=" recursive"}if(this.options.addon){t+=` ${g(e.context,this.options.addon,e.associatedObjectForCache)}`}if(this.options.regExp){t+=` ${this.prettyRegExp(this.options.regExp+"")}`}if(this.options.include){t+=` include: ${this.prettyRegExp(this.options.include+"")}`}if(this.options.exclude){t+=` exclude: ${this.prettyRegExp(this.options.exclude+"")}`}if(this.options.referencedExports){t+=` referencedExports: ${this.options.referencedExports.map(e=>e.join(".")).join(", ")}`}return t}invalidateBuild(){this._forceBuild=true}needBuild({fileSystemInfo:e},t){if(this._forceBuild)return t(null,true);if(!this.buildInfo.snapshot)return t(null,true);e.checkSnapshotValid(this.buildInfo.snapshot,(e,n)=>{t(e,!n)})}build(e,t,n,s,i){this._forceBuild=false;this.buildMeta={exportsType:"default",defaultObject:"redirect-warn"};this.buildInfo={snapshot:undefined};this.dependencies.length=0;this.blocks.length=0;const a=Date.now();this.resolveDependencies(s,this.options,(e,n)=>{if(e){return i(r(e,"ContextModule.resolveDependencies"))}if(!n){i();return}for(const e of n){e.loc={name:e.userRequest};e.request=this.options.addon+e.request}n.sort(p(h(e=>e.loc,d),f(this.dependencies)));if(this.options.mode==="sync"||this.options.mode==="eager"){this.dependencies=n}else if(this.options.mode==="lazy-once"){if(n.length>0){const e=new o({...this.options.groupOptions,name:this.options.chunkName});for(const t of n){e.addDependency(t)}this.addBlock(e)}}else if(this.options.mode==="weak"||this.options.mode==="async-weak"){for(const e of n){e.weak=true}this.dependencies=n}else if(this.options.mode==="lazy"){let e=0;for(const t of n){let n=this.options.chunkName;if(n){if(!/\[(index|request)\]/.test(n)){n+="[index]"}n=n.replace(/\[index\]/g,`${e++}`);n=n.replace(/\[request\]/g,u.toPath(t.userRequest))}const s=new o({...this.options.groupOptions,name:n},t.loc,t.userRequest);s.addDependency(t);this.addBlock(s)}}else{i(new l(`Unsupported mode "${this.options.mode}" in context`));return}t.fileSystemInfo.createSnapshot(a,null,[this.context],null,b,(e,t)=>{if(e)return i(e);this.buildInfo.snapshot=t;i()})})}addCacheDependencies(e,t,n,s){t.add(this.context)}getUserRequestMap(e,t){const n=t.moduleGraph;const s=e.filter(e=>n.getModule(e)).sort((e,t)=>{if(e.userRequest===t.userRequest){return 0}return e.userRequestn.getModule(e)).filter(Boolean).sort(i);const r=Object.create(null);for(const e of o){const i=e.getExportsType(n,this.options.namespaceObject==="strict");const o=t.getModuleId(e);switch(i){case"namespace":r[o]=9;s|=1;break;case"dynamic":r[o]=7;s|=2;break;case"default-only":r[o]=1;s|=4;break;case"default-with-named":r[o]=3;s|=8;break;default:throw new Error(`Unexpected exports type ${i}`)}}if(s===1){return 9}if(s===2){return 7}if(s===4){return 1}if(s===8){return 3}if(s===0){return 9}return r}getFakeMapInitStatement(e){return typeof e==="object"?`var fakeMap = ${JSON.stringify(e,null,"\t")};`:""}getReturn(e,t){if(e===9){return"__webpack_require__(id)"}return`${c.createFakeNamespaceObject}(id, ${e}${t?" | 16":""})`}getReturnModuleObjectSource(e,t,n="fakeMap[id]"){if(typeof e==="number"){return`return ${this.getReturn(e)};`}return`return ${c.createFakeNamespaceObject}(id, ${n}${t?" | 16":""})`}getSyncSource(e,t,n){const s=this.getUserRequestMap(e,n);const i=this.getFakeMap(e,n);const o=this.getReturnModuleObjectSource(i);return`var map = ${JSON.stringify(s,null,"\t")};\n${this.getFakeMapInitStatement(i)}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\t${o}\n}\nfunction webpackContextResolve(req) {\n\tif(!${c.hasOwnProperty}(map, req)) {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = ${JSON.stringify(t)};`}getWeakSyncSource(e,t,n){const s=this.getUserRequestMap(e,n);const i=this.getFakeMap(e,n);const o=this.getReturnModuleObjectSource(i);return`var map = ${JSON.stringify(s,null,"\t")};\n${this.getFakeMapInitStatement(i)}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\tif(!${c.moduleFactories}[id]) {\n\t\tvar e = new Error("Module '" + req + "' ('" + id + "') is not available (weak dependency)");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\t${o}\n}\nfunction webpackContextResolve(req) {\n\tif(!${c.hasOwnProperty}(map, req)) {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nwebpackContext.id = ${JSON.stringify(t)};\nmodule.exports = webpackContext;`}getAsyncWeakSource(e,t,{chunkGraph:n,runtimeTemplate:s}){const i=s.supportsArrowFunction();const o=this.getUserRequestMap(e,n);const r=this.getFakeMap(e,n);const a=this.getReturnModuleObjectSource(r,true);return`var map = ${JSON.stringify(o,null,"\t")};\n${this.getFakeMapInitStatement(r)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${i?"id =>":"function(id)"} {\n\t\tif(!${c.moduleFactories}[id]) {\n\t\t\tvar e = new Error("Module '" + req + "' ('" + id + "') is not available (weak dependency)");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\t${a}\n\t});\n}\nfunction webpackAsyncContextResolve(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${i?"() =>":"function()"} {\n\t\tif(!${c.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${s.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(t)};\nmodule.exports = webpackAsyncContext;`}getEagerSource(e,t,{chunkGraph:n,runtimeTemplate:s}){const i=s.supportsArrowFunction();const o=this.getUserRequestMap(e,n);const r=this.getFakeMap(e,n);const a=r!==9?`${i?"id =>":"function(id)"} {\n\t\t${this.getReturnModuleObjectSource(r)}\n\t}`:"__webpack_require__";return`var map = ${JSON.stringify(o,null,"\t")};\n${this.getFakeMapInitStatement(r)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${a});\n}\nfunction webpackAsyncContextResolve(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${i?"() =>":"function()"} {\n\t\tif(!${c.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${s.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(t)};\nmodule.exports = webpackAsyncContext;`}getLazyOnceSource(e,t,n,{runtimeTemplate:s,chunkGraph:i}){const o=s.blockPromise({chunkGraph:i,block:e,message:"lazy-once context",runtimeRequirements:new Set});const r=s.supportsArrowFunction();const a=this.getUserRequestMap(t,i);const u=this.getFakeMap(t,i);const l=u!==9?`${r?"id =>":"function(id)"} {\n\t\t${this.getReturnModuleObjectSource(u,true)};\n\t}`:"__webpack_require__";return`var map = ${JSON.stringify(a,null,"\t")};\n${this.getFakeMapInitStatement(u)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${l});\n}\nfunction webpackAsyncContextResolve(req) {\n\treturn ${o}.then(${r?"() =>":"function()"} {\n\t\tif(!${c.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${s.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(n)};\nmodule.exports = webpackAsyncContext;`}getLazySource(e,t,{chunkGraph:n,runtimeTemplate:s}){const i=n.moduleGraph;const o=s.supportsArrowFunction();let r=false;let a=true;const u=this.getFakeMap(e.map(e=>e.dependencies[0]),n);const l=typeof u==="object";const d=e.map(e=>{const t=e.dependencies[0];return{dependency:t,module:i.getModule(t),block:e,userRequest:t.userRequest,chunks:undefined}}).filter(e=>e.module);for(const e of d){const t=n.getBlockChunkGroup(e.block);const s=t&&t.chunks||[];e.chunks=s;if(s.length>0){a=false}if(s.length!==1){r=true}}const p=a&&!l;const h=d.sort((e,t)=>{if(e.userRequest===t.userRequest)return 0;return e.userRequeste.id))}}const m=l?2:1;const g=a?"Promise.resolve()":r?`Promise.all(ids.slice(${m}).map(${c.ensureChunk}))`:`${c.ensureChunk}(ids[${m}])`;const y=this.getReturnModuleObjectSource(u,true,p?"invalid":"ids[1]");const v=g==="Promise.resolve()"?`\nfunction webpackAsyncContext(req) {\n\treturn Promise.resolve().then(${o?"() =>":"function()"} {\n\t\tif(!${c.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\n\t\t${p?"var id = map[req];":"var ids = map[req], id = ids[0];"}\n\t\t${y}\n\t});\n}`:`function webpackAsyncContext(req) {\n\tif(!${c.hasOwnProperty}(map, req)) {\n\t\treturn Promise.resolve().then(${o?"() =>":"function()"} {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn ${g}.then(${o?"() =>":"function()"} {\n\t\t${y}\n\t});\n}`;return`var map = ${JSON.stringify(f,null,"\t")};\n${v}\nwebpackAsyncContext.keys = ${s.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.id = ${JSON.stringify(t)};\nmodule.exports = webpackAsyncContext;`}getSourceForEmptyContext(e,t){return`function webpackEmptyContext(req) {\n\tvar e = new Error("Cannot find module '" + req + "'");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = ${t.returningFunction("[]")};\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = ${JSON.stringify(e)};\nmodule.exports = webpackEmptyContext;`}getSourceForEmptyAsyncContext(e,t){const n=t.supportsArrowFunction();return`function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${n?"() =>":"function()"} {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = ${t.returningFunction("[]")};\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = ${JSON.stringify(e)};\nmodule.exports = webpackEmptyAsyncContext;`}getSourceString(e,{runtimeTemplate:t,chunkGraph:n}){const s=n.getModuleId(this);if(e==="lazy"){if(this.blocks&&this.blocks.length>0){return this.getLazySource(this.blocks,s,{runtimeTemplate:t,chunkGraph:n})}return this.getSourceForEmptyAsyncContext(s,t)}if(e==="eager"){if(this.dependencies&&this.dependencies.length>0){return this.getEagerSource(this.dependencies,s,{chunkGraph:n,runtimeTemplate:t})}return this.getSourceForEmptyAsyncContext(s,t)}if(e==="lazy-once"){const e=this.blocks[0];if(e){return this.getLazyOnceSource(e,e.dependencies,s,{runtimeTemplate:t,chunkGraph:n})}return this.getSourceForEmptyAsyncContext(s,t)}if(e==="async-weak"){if(this.dependencies&&this.dependencies.length>0){return this.getAsyncWeakSource(this.dependencies,s,{chunkGraph:n,runtimeTemplate:t})}return this.getSourceForEmptyAsyncContext(s,t)}if(e==="weak"){if(this.dependencies&&this.dependencies.length>0){return this.getWeakSyncSource(this.dependencies,s,n)}}if(this.dependencies&&this.dependencies.length>0){return this.getSyncSource(this.dependencies,s,n)}return this.getSourceForEmptyContext(s,t)}getSource(e){if(this.useSourceMap||this.useSimpleSourceMap){return new s(e,this.identifier())}return new i(e)}codeGeneration(e){const{chunkGraph:t}=e;const n=new Map;n.set("javascript",this.getSource(this.getSourceString(this.options.mode,e)));const s=new Set;const i=this.dependencies.concat(this.blocks.map(e=>e.dependencies[0]));s.add(c.module);s.add(c.hasOwnProperty);if(i.length>0){const e=this.options.mode;s.add(c.require);if(e==="weak"){s.add(c.moduleFactories)}else if(e==="async-weak"){s.add(c.moduleFactories);s.add(c.ensureChunk)}else if(e==="lazy"||e==="lazy-once"){s.add(c.ensureChunk)}if(this.getFakeMap(i,t)!==9){s.add(c.createFakeNamespaceObject)}}return{sources:n,runtimeRequirements:s}}size(e){let t=160;for(const e of this.dependencies){const n=e;t+=5+n.userRequest.length}return t}serialize(e){const{write:t}=e;t(this._identifier);t(this._forceBuild);super.serialize(e)}deserialize(e){const{read:t}=e;this._identifier=t();this._forceBuild=t();super.deserialize(e)}}v(ContextModule,"webpack/lib/ContextModule");e.exports=ContextModule},62471:(e,t,n)=>{"use strict";const s=n(36386);const{AsyncSeriesWaterfallHook:i,SyncWaterfallHook:o}=n(6967);const r=n(76729);const a=n(51010);const c=n(58477);const{cachedSetProperty:u}=n(60839);const{createFakeHook:l}=n(64518);const{join:d}=n(17139);const p={};e.exports=class ContextModuleFactory extends a{constructor(e){super();const t=new i(["modules","options"]);this.hooks=Object.freeze({beforeResolve:new i(["data"]),afterResolve:new i(["data"]),contextModuleFiles:new o(["files"]),alternatives:l({name:"alternatives",intercept:e=>{throw new Error("Intercepting fake hook ContextModuleFactory.hooks.alternatives is not possible, use ContextModuleFactory.hooks.alternativeRequests instead")},tap:(e,n)=>{t.tap(e,n)},tapAsync:(e,n)=>{t.tapAsync(e,(e,t,s)=>n(e,s))},tapPromise:(e,n)=>{t.tapPromise(e,n)}},"ContextModuleFactory.hooks.alternatives has deprecated in favor of ContextModuleFactory.hooks.alternativeRequests with an additional options argument.","DEP_WEBPACK_CONTEXT_MODULE_FACTORY_ALTERNATIVES"),alternativeRequests:t});this.resolverFactory=e}create(e,t){const n=e.context;const i=e.dependencies;const o=e.resolveOptions;const a=i[0];const c=new Set;const l=new Set;const d=new Set;this.hooks.beforeResolve.callAsync({context:n,dependencies:i,resolveOptions:o,fileDependencies:c,missingDependencies:l,contextDependencies:d,...a.options},(e,n)=>{if(e){return t(e,{fileDependencies:c,missingDependencies:l,contextDependencies:d})}if(!n){return t(null,{fileDependencies:c,missingDependencies:l,contextDependencies:d})}const o=n.context;const a=n.request;const h=n.resolveOptions;let f,m,g="";const y=a.lastIndexOf("!");if(y>=0){let e=a.substr(0,y+1);let t;for(t=0;t0?u(h||p,"dependencyType",i[0].category):h);const b=this.resolverFactory.get("loader");s.parallel([e=>{v.resolve({},o,m,{fileDependencies:c,missingDependencies:l,contextDependencies:d},(t,n)=>{if(t)return e(t);e(null,n)})},e=>{s.map(f,(e,t)=>{b.resolve({},o,e,{fileDependencies:c,missingDependencies:l,contextDependencies:d},(e,n)=>{if(e)return t(e);t(null,n)})},e)}],(e,s)=>{if(e){return t(e,{fileDependencies:c,missingDependencies:l,contextDependencies:d})}this.hooks.afterResolve.callAsync({addon:g+s[1].join("!")+(s[1].length>0?"!":""),resource:s[0],resolveDependencies:this.resolveDependencies.bind(this),...n},(e,n)=>{if(e){return t(e,{fileDependencies:c,missingDependencies:l,contextDependencies:d})}if(!n){return t(null,{fileDependencies:c,missingDependencies:l,contextDependencies:d})}return t(null,{module:new r(n.resolveDependencies,n),fileDependencies:c,missingDependencies:l,contextDependencies:d})})})})}resolveDependencies(e,t,n){const i=this;const{resource:o,resourceQuery:r,resourceFragment:a,recursive:u,regExp:l,include:p,exclude:h,referencedExports:f,category:m}=t;if(!l||!o)return n(null,[]);const g=(t,n,s)=>{e.realpath(t,(e,i)=>{if(e)return s(e);if(n.has(i))return s(null,[]);let o;y(t,(e,t)=>{if(o===undefined){o=new Set(n);o.add(i)}g(e,o,t)},s)})};const y=(n,g,y)=>{e.readdir(n,(v,b)=>{if(v)return y(v);b=b.map(e=>e.normalize("NFC"));b=i.hooks.contextModuleFiles.call(b);if(!b||b.length===0)return y(null,[]);s.map(b.filter(e=>e.indexOf(".")!==0),(s,i)=>{const y=d(e,n,s);if(!h||!y.match(h)){e.stat(y,(e,n)=>{if(e){if(e.code==="ENOENT"){return i()}else{return i(e)}}if(n.isDirectory()){if(!u)return i();g(y,i)}else if(n.isFile()&&(!p||y.match(p))){const e={context:o,request:"."+y.substr(o.length).replace(/\\/g,"/")};this.hooks.alternativeRequests.callAsync([e],t,(e,t)=>{if(e)return i(e);t=t.filter(e=>l.test(e.request)).map(e=>{const t=new c(e.request+r+a,e.request,m,f);t.optional=true;return t});i(null,t)})}else{i()}})}else{i()}},(e,t)=>{if(e)return y(e);if(!t)return y(null,[]);const n=[];for(const e of t){if(e)n.push(...e)}y(null,n)})})};if(typeof e.realpath==="function"){g(o,new Set,n)}else{const e=(t,n)=>y(t,e,n);y(o,e,n)}}}},12206:(e,t,n)=>{"use strict";const s=n(58477);const{join:i}=n(17139);class ContextReplacementPlugin{constructor(e,t,n,s){this.resourceRegExp=e;if(typeof t==="function"){this.newContentCallback=t}else if(typeof t==="string"&&typeof n==="object"){this.newContentResource=t;this.newContentCreateContextMap=((e,t)=>{t(null,n)})}else if(typeof t==="string"&&typeof n==="function"){this.newContentResource=t;this.newContentCreateContextMap=n}else{if(typeof t!=="string"){s=n;n=t;t=undefined}if(typeof n!=="boolean"){s=n;n=undefined}this.newContentResource=t;this.newContentRecursive=n;this.newContentRegExp=s}}apply(e){const t=this.resourceRegExp;const n=this.newContentCallback;const s=this.newContentResource;const r=this.newContentRecursive;const a=this.newContentRegExp;const c=this.newContentCreateContextMap;e.hooks.contextModuleFactory.tap("ContextReplacementPlugin",u=>{u.hooks.beforeResolve.tap("ContextReplacementPlugin",e=>{if(!e)return;if(t.test(e.request)){if(s!==undefined){e.request=s}if(r!==undefined){e.recursive=r}if(a!==undefined){e.regExp=a}if(typeof n==="function"){n(e)}else{for(const t of e.dependencies){if(t.critical)t.critical=false}}}return e});u.hooks.afterResolve.tap("ContextReplacementPlugin",u=>{if(!u)return;if(t.test(u.resource)){if(s!==undefined){if(s.startsWith("/")||s.length>1&&s[1]===":"){u.resource=s}else{u.resource=i(e.inputFileSystem,u.resource,s)}}if(r!==undefined){u.recursive=r}if(a!==undefined){u.regExp=a}if(typeof c==="function"){u.resolveDependencies=o(c)}if(typeof n==="function"){const t=u.resource;n(u);if(u.resource!==t&&!u.resource.startsWith("/")&&(u.resource.length<=1||u.resource[1]!==":")){u.resource=i(e.inputFileSystem,t,u.resource)}}else{for(const e of u.dependencies){if(e.critical)e.critical=false}}}return u})})}}const o=e=>{const t=(t,n,i)=>{e(t,(e,t)=>{if(e)return i(e);const o=Object.keys(t).map(e=>{return new s(t[e]+n.resourceQuery+n.resourceFragment,e,n.category,n.referencedExports)});i(null,o)})};return t};e.exports=ContextReplacementPlugin},79065:(e,t,n)=>{"use strict";const s=n(16475);const i=n(76911);const o=n(950);const{approve:r,evaluateToString:a,toConstantDependency:c}=n(93998);class RuntimeValue{constructor(e,t){this.fn=e;this.fileDependencies=t||[]}exec(e){const t=e.state.module.buildInfo;if(this.fileDependencies===true){t.cacheable=false}else{for(const e of this.fileDependencies){t.fileDependencies.add(e)}}return this.fn({module:e.state.module})}}const u=(e,t,n,s)=>{let i;let o=Array.isArray(e);if(o){i=`[${e.map(e=>l(e,t,n,null)).join(",")}]`}else{i=`{${Object.keys(e).map(s=>{const i=e[s];return JSON.stringify(s)+":"+l(i,t,n,null)}).join(",")}}`}switch(s){case null:return i;case true:return o?i:`(${i})`;case false:return o?`;${i}`:`;(${i})`;default:return`Object(${i})`}};const l=(e,t,n,s)=>{if(e===null){return"null"}if(e===undefined){return"undefined"}if(Object.is(e,-0)){return"-0"}if(e instanceof RuntimeValue){return l(e.exec(t),t,n,s)}if(e instanceof RegExp&&e.toString){return e.toString()}if(typeof e==="function"&&e.toString){return"("+e.toString()+")"}if(typeof e==="object"){return u(e,t,n,s)}if(typeof e==="bigint"){return n.supportsBigIntLiteral()?`${e}n`:`BigInt("${e}")`}return e+""};class DefinePlugin{constructor(e){this.definitions=e}static runtimeValue(e,t){return new RuntimeValue(e,t)}apply(e){const t=this.definitions;e.hooks.compilation.tap("DefinePlugin",(e,{normalModuleFactory:n})=>{e.dependencyTemplates.set(i,new i.Template);const{runtimeTemplate:d}=e;const p=e=>{const n=(e,t)=>{Object.keys(e).forEach(s=>{const o=e[s];if(o&&typeof o==="object"&&!(o instanceof RuntimeValue)&&!(o instanceof RegExp)){n(o,t+s+".");h(t+s,o);return}i(t,s);p(t+s,o)})};const i=(t,n)=>{const s=n.split(".");s.slice(1).forEach((n,i)=>{const o=t+s.slice(0,i+1).join(".");e.hooks.canRename.for(o).tap("DefinePlugin",r)})};const p=(t,n)=>{const i=/^typeof\s+/.test(t);if(i)t=t.replace(/^typeof\s+/,"");let o=false;let a=false;if(!i){e.hooks.canRename.for(t).tap("DefinePlugin",r);e.hooks.evaluateIdentifier.for(t).tap("DefinePlugin",t=>{if(o)return;o=true;const s=e.evaluate(l(n,e,d,null));o=false;s.setRange(t.range);return s});e.hooks.expression.for(t).tap("DefinePlugin",t=>{const i=l(n,e,d,!e.isAsiPosition(t.range[0]));if(/__webpack_require__\s*(!?\.)/.test(i)){return c(e,i,[s.require])(t)}else if(/__webpack_require__/.test(i)){return c(e,i,[s.requireScope])(t)}else{return c(e,i)(t)}})}e.hooks.evaluateTypeof.for(t).tap("DefinePlugin",t=>{if(a)return;a=true;const s=i?l(n,e,d,null):"typeof ("+l(n,e,d,null)+")";const o=e.evaluate(s);a=false;o.setRange(t.range);return o});e.hooks.typeof.for(t).tap("DefinePlugin",t=>{const s=i?l(n,e,d,null):"typeof ("+l(n,e,d,null)+")";const o=e.evaluate(s);if(!o.isString())return;return c(e,JSON.stringify(o.string)).bind(e)(t)})};const h=(t,n)=>{e.hooks.canRename.for(t).tap("DefinePlugin",r);e.hooks.evaluateIdentifier.for(t).tap("DefinePlugin",e=>(new o).setTruthy().setSideEffects(false).setRange(e.range));e.hooks.evaluateTypeof.for(t).tap("DefinePlugin",a("object"));e.hooks.expression.for(t).tap("DefinePlugin",t=>{const i=u(n,e,d,!e.isAsiPosition(t.range[0]));if(/__webpack_require__\s*(!?\.)/.test(i)){return c(e,i,[s.require])(t)}else if(/__webpack_require__/.test(i)){return c(e,i,[s.requireScope])(t)}else{return c(e,i)(t)}});e.hooks.typeof.for(t).tap("DefinePlugin",c(e,JSON.stringify("object")))};n(t,"")};n.hooks.parser.for("javascript/auto").tap("DefinePlugin",p);n.hooks.parser.for("javascript/dynamic").tap("DefinePlugin",p);n.hooks.parser.for("javascript/esm").tap("DefinePlugin",p)})}}e.exports=DefinePlugin},28623:(e,t,n)=>{"use strict";const{OriginalSource:s,RawSource:i}=n(84697);const o=n(73208);const r=n(16475);const a=n(22914);const c=n(91418);const u=n(33032);const l=new Set(["javascript"]);const d=new Set([r.module,r.require]);class DelegatedModule extends o{constructor(e,t,n,s,i){super("javascript/dynamic",null);this.sourceRequest=e;this.request=t.id;this.delegationType=n;this.userRequest=s;this.originalRequest=i;this.delegateData=t;this.delegatedSourceDependency=undefined}getSourceTypes(){return l}libIdent(e){return typeof this.originalRequest==="string"?this.originalRequest:this.originalRequest.libIdent(e)}identifier(){return`delegated ${JSON.stringify(this.request)} from ${this.sourceRequest}`}readableIdentifier(e){return`delegated ${this.userRequest} from ${this.sourceRequest}`}needBuild(e,t){return t(null,!this.buildMeta)}build(e,t,n,s,i){this.buildMeta={...this.delegateData.buildMeta};this.buildInfo={};this.dependencies.length=0;this.delegatedSourceDependency=new a(this.sourceRequest);this.addDependency(this.delegatedSourceDependency);this.addDependency(new c(this.delegateData.exports||true,false));i()}codeGeneration({runtimeTemplate:e,moduleGraph:t,chunkGraph:n}){const o=this.dependencies[0];const r=t.getModule(o);let a;if(!r){a=e.throwMissingModuleErrorBlock({request:this.sourceRequest})}else{a=`module.exports = (${e.moduleExports({module:r,chunkGraph:n,request:o.request,runtimeRequirements:new Set})})`;switch(this.delegationType){case"require":a+=`(${JSON.stringify(this.request)})`;break;case"object":a+=`[${JSON.stringify(this.request)}]`;break}a+=";"}const c=new Map;if(this.useSourceMap||this.useSimpleSourceMap){c.set("javascript",new s(a,this.identifier()))}else{c.set("javascript",new i(a))}return{sources:c,runtimeRequirements:d}}size(e){return 42}updateHash(e,t){e.update(this.delegationType);e.update(JSON.stringify(this.request));super.updateHash(e,t)}serialize(e){const{write:t}=e;t(this.sourceRequest);t(this.delegateData);t(this.delegationType);t(this.userRequest);t(this.originalRequest);super.serialize(e)}static deserialize(e){const{read:t}=e;const n=new DelegatedModule(t(),t(),t(),t(),t());n.deserialize(e);return n}updateCacheModule(e){super.updateCacheModule(e);const t=e;this.delegationType=t.delegationType;this.userRequest=t.userRequest;this.originalRequest=t.originalRequest;this.delegateData=t.delegateData}}u(DelegatedModule,"webpack/lib/DelegatedModule");e.exports=DelegatedModule},51387:(e,t,n)=>{"use strict";const s=n(28623);class DelegatedModuleFactoryPlugin{constructor(e){this.options=e;e.type=e.type||"require";e.extensions=e.extensions||["",".js",".json",".wasm"]}apply(e){const t=this.options.scope;if(t){e.hooks.factorize.tapAsync("DelegatedModuleFactoryPlugin",(e,n)=>{const[i]=e.dependencies;const{request:o}=i;if(o&&o.startsWith(`${t}/`)){const e="."+o.substr(t.length);let i;if(e in this.options.content){i=this.options.content[e];return n(null,new s(this.options.source,i,this.options.type,e,o))}for(let t=0;t{const t=e.libIdent(this.options);if(t){if(t in this.options.content){const n=this.options.content[t];return new s(this.options.source,n,this.options.type,t,e)}}return e})}}}e.exports=DelegatedModuleFactoryPlugin},80632:(e,t,n)=>{"use strict";const s=n(51387);const i=n(22914);class DelegatedPlugin{constructor(e){this.options=e}apply(e){e.hooks.compilation.tap("DelegatedPlugin",(e,{normalModuleFactory:t})=>{e.dependencyFactories.set(i,t)});e.hooks.compile.tap("DelegatedPlugin",({normalModuleFactory:t})=>{new s({associatedObjectForCache:e.root,...this.options}).apply(t)})}}e.exports=DelegatedPlugin},71040:(e,t,n)=>{"use strict";const s=n(33032);class DependenciesBlock{constructor(){this.dependencies=[];this.blocks=[]}addBlock(e){this.blocks.push(e);e.parent=this}addDependency(e){this.dependencies.push(e)}removeDependency(e){const t=this.dependencies.indexOf(e);if(t>=0){this.dependencies.splice(t,1)}}clearDependenciesAndBlocks(){this.dependencies.length=0;this.blocks.length=0}updateHash(e,t){for(const n of this.dependencies){n.updateHash(e,t)}for(const n of this.blocks){n.updateHash(e,t)}}serialize({write:e}){e(this.dependencies);e(this.blocks)}deserialize({read:e}){this.dependencies=e();this.blocks=e();for(const e of this.blocks){e.parent=this}}}s(DependenciesBlock,"webpack/lib/DependenciesBlock");e.exports=DependenciesBlock},54912:e=>{"use strict";class Dependency{constructor(){this.weak=false;this.optional=false;this.loc=undefined}get type(){return"unknown"}get category(){return"unknown"}getResourceIdentifier(){return null}getReference(e){throw new Error("Dependency.getReference was removed in favor of Dependency.getReferencedExports, ModuleGraph.getModule and ModuleGraph.getConnection().active")}getReferencedExports(e,t){return Dependency.EXPORTS_OBJECT_REFERENCED}getCondition(e){return null}getExports(e){return undefined}getWarnings(e){return null}getErrors(e){return null}updateHash(e,t){const{chunkGraph:n}=t;const s=n.moduleGraph.getModule(this);if(s){e.update(n.getModuleId(s)+"")}}getNumberOfIdOccurrences(){return 1}getModuleEvaluationSideEffectsState(e){return true}serialize({write:e}){e(this.weak);e(this.optional);e(this.loc)}deserialize({read:e}){this.weak=e();this.optional=e();this.loc=e()}}Dependency.NO_EXPORTS_REFERENCED=[];Dependency.EXPORTS_OBJECT_REFERENCED=[[]];Object.defineProperty(Dependency.prototype,"module",{get(){throw new Error("module property was removed from Dependency (use compilation.moduleGraph.getModule(dependency) instead)")},set(){throw new Error("module property was removed from Dependency (use compilation.moduleGraph.updateModule(dependency, module) instead)")}});Object.defineProperty(Dependency.prototype,"disconnect",{get(){throw new Error("disconnect was removed from Dependency (Dependency no longer carries graph specific information)")}});e.exports=Dependency},5160:(e,t,n)=>{"use strict";class DependencyTemplate{apply(e,t,s){const i=n(77198);throw new i}}e.exports=DependencyTemplate},9163:(e,t,n)=>{"use strict";const s=n(49835);class DependencyTemplates{constructor(){this._map=new Map;this._hash="31d6cfe0d16ae931b73c59d7e0c089c0"}get(e){return this._map.get(e)}set(e,t){this._map.set(e,t)}updateHash(e){const t=s("md4");t.update(this._hash);t.update(e);this._hash=t.digest("hex")}getHash(){return this._hash}clone(){const e=new DependencyTemplates;e._map=new Map(this._map);e._hash=this._hash;return e}}e.exports=DependencyTemplates},62790:(e,t,n)=>{"use strict";const s=n(68703);const i=n(95666);const o=n(3979);class DllEntryPlugin{constructor(e,t,n){this.context=e;this.entries=t;this.options=n}apply(e){e.hooks.compilation.tap("DllEntryPlugin",(e,{normalModuleFactory:t})=>{const n=new s;e.dependencyFactories.set(i,n);e.dependencyFactories.set(o,t)});e.hooks.make.tapAsync("DllEntryPlugin",(e,t)=>{e.addEntry(this.context,new i(this.entries.map((e,t)=>{const n=new o(e);n.loc={name:this.options.name,index:t};return n}),this.options.name),this.options,t)})}}e.exports=DllEntryPlugin},28280:(e,t,n)=>{"use strict";const{RawSource:s}=n(84697);const i=n(73208);const o=n(16475);const r=n(33032);const a=new Set(["javascript"]);const c=new Set([o.require,o.module]);class DllModule extends i{constructor(e,t,n){super("javascript/dynamic",e);this.dependencies=t;this.name=n}getSourceTypes(){return a}identifier(){return`dll ${this.name}`}readableIdentifier(e){return`dll ${this.name}`}build(e,t,n,s,i){this.buildMeta={};this.buildInfo={};return i()}codeGeneration(e){const t=new Map;t.set("javascript",new s("module.exports = __webpack_require__;"));return{sources:t,runtimeRequirements:c}}needBuild(e,t){return t(null,!this.buildMeta)}size(e){return 12}updateHash(e,t){e.update("dll module");e.update(this.name||"");super.updateHash(e,t)}serialize(e){e.write(this.name);super.serialize(e)}deserialize(e){this.name=e.read();super.deserialize(e)}updateCacheModule(e){super.updateCacheModule(e);this.dependencies=e.dependencies}}r(DllModule,"webpack/lib/DllModule");e.exports=DllModule},68703:(e,t,n)=>{"use strict";const s=n(28280);const i=n(51010);class DllModuleFactory extends i{constructor(){super();this.hooks=Object.freeze({})}create(e,t){const n=e.dependencies[0];t(null,{module:new s(e.context,n.dependencies,n.name)})}}e.exports=DllModuleFactory},40038:(e,t,n)=>{"use strict";const s=n(62790);const i=n(58727);const o=n(93837);const{validate:r}=n(33225);const a=n(7754);class DllPlugin{constructor(e){r(a,e,{name:"Dll Plugin",baseDataPath:"options"});this.options={...e,entryOnly:e.entryOnly!==false}}apply(e){e.hooks.entryOption.tap("DllPlugin",(t,n)=>{if(typeof n!=="function"){for(const i of Object.keys(n)){const o={name:i,filename:n.filename};new s(t,n[i].import,o).apply(e)}}else{throw new Error("DllPlugin doesn't support dynamic entry (function) yet")}return true});new o(this.options).apply(e);if(!this.options.entryOnly){new i("DllPlugin").apply(e)}}}e.exports=DllPlugin},90999:(e,t,n)=>{"use strict";const s=n(15235);const i=n(51387);const o=n(62153);const r=n(53799);const a=n(22914);const c=n(82186).makePathsRelative;const{validate:u}=n(33225);const l=n(15766);class DllReferencePlugin{constructor(e){u(l,e,{name:"Dll Reference Plugin",baseDataPath:"options"});this.options=e;this._compilationData=new WeakMap}apply(e){e.hooks.compilation.tap("DllReferencePlugin",(e,{normalModuleFactory:t})=>{e.dependencyFactories.set(a,t)});e.hooks.beforeCompile.tapAsync("DllReferencePlugin",(t,n)=>{if("manifest"in this.options){const i=this.options.manifest;if(typeof i==="string"){e.inputFileSystem.readFile(i,(o,r)=>{if(o)return n(o);const a={path:i,data:undefined,error:undefined};try{a.data=s(r.toString("utf-8"))}catch(t){const n=c(e.options.context,i,e.root);a.error=new DllManifestError(n,t.message)}this._compilationData.set(t,a);return n()});return}}return n()});e.hooks.compile.tap("DllReferencePlugin",t=>{let n=this.options.name;let s=this.options.sourceType;let r="content"in this.options?this.options.content:undefined;if("manifest"in this.options){let e=this.options.manifest;let i;if(typeof e==="string"){const e=this._compilationData.get(t);if(e.error){return}i=e.data}else{i=e}if(i){if(!n)n=i.name;if(!s)s=i.type;if(!r)r=i.content}}const a={};const c="dll-reference "+n;a[c]=n;const u=t.normalModuleFactory;new o(s||"var",a).apply(u);new i({source:c,type:this.options.type,scope:this.options.scope,context:this.options.context||e.options.context,content:r,extensions:this.options.extensions,associatedObjectForCache:e.root}).apply(u)});e.hooks.compilation.tap("DllReferencePlugin",(e,t)=>{if("manifest"in this.options){let n=this.options.manifest;if(typeof n==="string"){const s=this._compilationData.get(t);if(s.error){e.errors.push(s.error)}e.fileDependencies.add(n)}}})}}class DllManifestError extends r{constructor(e,t){super();this.name="DllManifestError";this.message=`Dll manifest ${e}\n${t}`;Error.captureStackTrace(this,this.constructor)}}e.exports=DllReferencePlugin},96475:(e,t,n)=>{"use strict";const s=n(9909);const i=n(96953);const o=n(3979);class DynamicEntryPlugin{constructor(e,t){this.context=e;this.entry=t}apply(e){e.hooks.compilation.tap("DynamicEntryPlugin",(e,{normalModuleFactory:t})=>{e.dependencyFactories.set(o,t)});e.hooks.make.tapPromise("DynamicEntryPlugin",(t,n)=>Promise.resolve(this.entry()).then(n=>{const o=[];for(const r of Object.keys(n)){const a=n[r];const c=s.entryDescriptionToOptions(e,r,a);for(const e of a.import){o.push(new Promise((n,s)=>{t.addEntry(this.context,i.createDependency(e,c),c,e=>{if(e)return s(e);n()})}))}}return Promise.all(o)}).then(e=>{}))}}e.exports=DynamicEntryPlugin},9909:(e,t,n)=>{"use strict";class EntryOptionPlugin{apply(e){e.hooks.entryOption.tap("EntryOptionPlugin",(t,n)=>{EntryOptionPlugin.applyEntryOption(e,t,n);return true})}static applyEntryOption(e,t,s){if(typeof s==="function"){const i=n(96475);new i(t,s).apply(e)}else{const i=n(96953);for(const n of Object.keys(s)){const o=s[n];const r=EntryOptionPlugin.entryDescriptionToOptions(e,n,o);for(const n of o.import){new i(t,n,r).apply(e)}}}}static entryDescriptionToOptions(e,t,s){const i={name:t,filename:s.filename,runtime:s.runtime,dependOn:s.dependOn,chunkLoading:s.chunkLoading,wasmLoading:s.wasmLoading,library:s.library};if(s.chunkLoading){const t=n(61291);t.checkEnabled(e,s.chunkLoading)}if(s.wasmLoading){const t=n(78613);t.checkEnabled(e,s.wasmLoading)}if(s.library){const t=n(91452);t.checkEnabled(e,s.library.type)}return i}}e.exports=EntryOptionPlugin},96953:(e,t,n)=>{"use strict";const s=n(3979);class EntryPlugin{constructor(e,t,n){this.context=e;this.entry=t;this.options=n||""}apply(e){e.hooks.compilation.tap("EntryPlugin",(e,{normalModuleFactory:t})=>{e.dependencyFactories.set(s,t)});e.hooks.make.tapAsync("EntryPlugin",(e,t)=>{const{entry:n,options:s,context:i}=this;const o=EntryPlugin.createDependency(n,s);e.addEntry(i,o,s,e=>{t(e)})})}static createDependency(e,t){const n=new s(e);n.loc={name:typeof t==="object"?t.name:t};return n}}e.exports=EntryPlugin},13795:(e,t,n)=>{"use strict";const s=n(15626);class Entrypoint extends s{constructor(e,t=true){if(typeof e==="string"){e={name:e}}super({name:e.name});this.options=e;this._runtimeChunk=undefined;this._entrypointChunk=undefined;this._initial=t}isInitial(){return this._initial}setRuntimeChunk(e){this._runtimeChunk=e}getRuntimeChunk(){if(this._runtimeChunk)return this._runtimeChunk;for(const e of this.parentsIterable){if(e instanceof Entrypoint)return e.getRuntimeChunk()}return null}setEntrypointChunk(e){this._entrypointChunk=e}getEntrypointChunk(){return this._entrypointChunk}replaceChunk(e,t){if(this._runtimeChunk===e)this._runtimeChunk=t;if(this._entrypointChunk===e)this._entrypointChunk=t;return super.replaceChunk(e,t)}}e.exports=Entrypoint},22070:(e,t,n)=>{"use strict";const s=n(79065);const i=n(53799);class EnvironmentPlugin{constructor(...e){if(e.length===1&&Array.isArray(e[0])){this.keys=e[0];this.defaultValues={}}else if(e.length===1&&e[0]&&typeof e[0]==="object"){this.keys=Object.keys(e[0]);this.defaultValues=e[0]}else{this.keys=e;this.defaultValues={}}}apply(e){const t={};for(const n of this.keys){const s=process.env[n]!==undefined?process.env[n]:this.defaultValues[n];if(s===undefined){e.hooks.thisCompilation.tap("EnvironmentPlugin",e=>{const t=new i(`EnvironmentPlugin - ${n} environment variable is undefined.\n\n`+"You can pass an object with default values to suppress this warning.\n"+"See https://webpack.js.org/plugins/environment-plugin for example.");t.name="EnvVariableNotDefinedError";e.errors.push(t)})}t[`process.env.${n}`]=s===undefined?"undefined":JSON.stringify(s)}new s(t).apply(e)}}e.exports=EnvironmentPlugin},59985:(e,t)=>{"use strict";const n="LOADER_EXECUTION";const s="WEBPACK_OPTIONS";t.cutOffByFlag=((e,t)=>{e=e.split("\n");for(let n=0;nt.cutOffByFlag(e,n));t.cutOffWebpackOptions=(e=>t.cutOffByFlag(e,s));t.cutOffMultilineMessage=((e,t)=>{e=e.split("\n");t=t.split("\n");const n=[];e.forEach((e,s)=>{if(!e.includes(t[s]))n.push(e)});return n.join("\n")});t.cutOffMessage=((e,t)=>{const n=e.indexOf("\n");if(n===-1){return e===t?"":e}else{const s=e.substr(0,n);return s===t?e.substr(n+1):e}});t.cleanUp=((e,n)=>{e=t.cutOffLoaderExecution(e);e=t.cutOffMessage(e,n);return e});t.cleanUpWebpackOptions=((e,n)=>{e=t.cutOffWebpackOptions(e);e=t.cutOffMultilineMessage(e,n);return e})},65218:(e,t,n)=>{"use strict";const{ConcatSource:s,RawSource:i}=n(84697);const o=n(88821);const r=n(89464);const a=new WeakMap;const c=new i(`/*\n * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").\n * This devtool is not neither made for production nor for readable output files.\n * It uses "eval()" calls to create a separate source file in the browser devtools.\n * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)\n * or disable the default devtool with "devtool: false".\n * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).\n */\n`);class EvalDevToolModulePlugin{constructor(e){this.namespace=e.namespace||"";this.sourceUrlComment=e.sourceUrlComment||"\n//# sourceURL=[url]";this.moduleFilenameTemplate=e.moduleFilenameTemplate||"webpack://[namespace]/[resourcePath]?[loaders]"}apply(e){e.hooks.compilation.tap("EvalDevToolModulePlugin",e=>{const t=r.getCompilationHooks(e);t.renderModuleContent.tap("EvalDevToolModulePlugin",(e,t,{runtimeTemplate:n,chunkGraph:s})=>{const r=a.get(e);if(r!==undefined)return r;const c=e.source();const u=o.createFilename(t,{moduleFilenameTemplate:this.moduleFilenameTemplate,namespace:this.namespace},{requestShortener:n.requestShortener,chunkGraph:s});const l="\n"+this.sourceUrlComment.replace(/\[url\]/g,encodeURI(u).replace(/%2F/g,"/").replace(/%20/g,"_").replace(/%5E/g,"^").replace(/%5C/g,"\\").replace(/^\//,""));const d=new i(`eval(${JSON.stringify(c+l)});`);a.set(e,d);return d});t.render.tap("EvalDevToolModulePlugin",e=>new s(c,e));t.chunkHash.tap("EvalDevToolModulePlugin",(e,t)=>{t.update("EvalDevToolModulePlugin");t.update("2")})})}}e.exports=EvalDevToolModulePlugin},14790:(e,t,n)=>{"use strict";const{ConcatSource:s,RawSource:i}=n(84697);const o=n(88821);const r=n(39);const a=n(97513);const c=n(89464);const u=n(97198);const{absolutify:l}=n(82186);const d=new WeakMap;const p=new i(`/*\n * ATTENTION: An "eval-source-map" devtool has been used.\n * This devtool is not neither made for production nor for readable output files.\n * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.\n * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)\n * or disable the default devtool with "devtool: false".\n * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).\n */\n`);class EvalSourceMapDevToolPlugin{constructor(e){let t;if(typeof e==="string"){t={append:e}}else{t=e}this.sourceMapComment=t.append||"//# sourceURL=[module]\n//# sourceMappingURL=[url]";this.moduleFilenameTemplate=t.moduleFilenameTemplate||"webpack://[namespace]/[resource-path]?[hash]";this.namespace=t.namespace||"";this.options=t}apply(e){const t=this.options;e.hooks.compilation.tap("EvalSourceMapDevToolPlugin",n=>{const h=c.getCompilationHooks(n);new a(t).apply(n);const f=o.matchObject.bind(o,t);h.renderModuleContent.tap("EvalSourceMapDevToolPlugin",(s,a,{runtimeTemplate:c,chunkGraph:p})=>{const h=d.get(s);if(h!==undefined){return h}if(a instanceof r){const e=a;if(!f(e.resource)){return s}}else if(a instanceof u){const e=a;if(e.rootModule instanceof r){const t=e.rootModule;if(!f(t.resource)){return s}}else{return s}}else{return s}let m;let g;if(s.sourceAndMap){const e=s.sourceAndMap(t);m=e.map;g=e.source}else{m=s.map(t);g=s.source()}if(!m){return s}m={...m};const y=e.options.context;const v=e.root;const b=m.sources.map(e=>{if(!e.startsWith("webpack://"))return e;e=l(y,e.slice(10),v);const t=n.findModule(e);return t||e});let k=b.map(e=>{return o.createFilename(e,{moduleFilenameTemplate:this.moduleFilenameTemplate,namespace:this.namespace},{requestShortener:c.requestShortener,chunkGraph:p})});k=o.replaceDuplicates(k,(e,t,n)=>{for(let t=0;tnew s(p,e));h.chunkHash.tap("EvalSourceMapDevToolPlugin",(e,t)=>{t.update("EvalSourceMapDevToolPlugin");t.update("2")})})}}e.exports=EvalSourceMapDevToolPlugin},63686:(e,t,n)=>{"use strict";const{equals:s}=n(84953);const i=n(13098);const o=n(33032);const{forEachRuntime:r}=n(17156);const a=Object.freeze({Unused:0,OnlyPropertiesUsed:1,NoInfo:2,Unknown:3,Used:4});const c=()=>true;const u=Symbol("circular target");class RestoreProvidedData{constructor(e,t,n,s){this.exports=e;this.otherProvided=t;this.otherCanMangleProvide=n;this.otherTerminalBinding=s}serialize({write:e}){e(this.exports);e(this.otherProvided);e(this.otherCanMangleProvide);e(this.otherTerminalBinding)}static deserialize({read:e}){return new RestoreProvidedData(e(),e(),e(),e())}}o(RestoreProvidedData,"webpack/lib/ModuleGraph","RestoreProvidedData");class ExportsInfo{constructor(){this._exports=new Map;this._otherExportsInfo=new ExportInfo(null);this._sideEffectsOnlyInfo=new ExportInfo("*side effects only*");this._exportsAreOrdered=false;this._redirectTo=undefined}get ownedExports(){return this._exports.values()}get orderedOwnedExports(){if(!this._exportsAreOrdered){this._sortExports()}return this._exports.values()}get exports(){if(this._redirectTo!==undefined){const e=new Map(this._redirectTo._exports);for(const[t,n]of this._exports){e.set(t,n)}return e.values()}return this._exports.values()}get orderedExports(){if(!this._exportsAreOrdered){this._sortExports()}if(this._redirectTo!==undefined){const e=new Map(Array.from(this._redirectTo.orderedExports,e=>[e.name,e]));for(const[t,n]of this._exports){e.set(t,n)}this._sortExportsMap(e);return e.values()}return this._exports.values()}get otherExportsInfo(){if(this._redirectTo!==undefined)return this._redirectTo.otherExportsInfo;return this._otherExportsInfo}_sortExportsMap(e){if(e.size>1){const t=Array.from(e.values());if(t.length!==2||t[0].name>t[1].name){t.sort((e,t)=>{return e.name0){const t=this.getReadOnlyExportInfo(e[0]);if(!t.exportsInfo)return undefined;return t.exportsInfo.getNestedExportsInfo(e.slice(1))}return this}setUnknownExportsProvided(e,t,n,s){let i=false;if(t){for(const e of t){this.getExportInfo(e)}}for(const o of this._exports.values()){if(t&&t.has(o.name))continue;if(o.provided!==true&&o.provided!==null){o.provided=null;i=true}if(!e&&o.canMangleProvide!==false){o.canMangleProvide=false;i=true}if(n){o.setTarget(n,s,[o.name])}}if(this._redirectTo!==undefined){if(this._redirectTo.setUnknownExportsProvided(e,t,n,s)){i=true}}else{if(this._otherExportsInfo.provided!==true&&this._otherExportsInfo.provided!==null){this._otherExportsInfo.provided=null;i=true}if(!e&&this._otherExportsInfo.canMangleProvide!==false){this._otherExportsInfo.canMangleProvide=false;i=true}if(n){this._otherExportsInfo.setTarget(n,s,undefined)}}return i}setUsedInUnknownWay(e){let t=false;for(const n of this._exports.values()){if(n.setUsedInUnknownWay(e)){t=true}}if(this._redirectTo!==undefined){if(this._redirectTo.setUsedInUnknownWay(e)){t=true}}else{if(this._otherExportsInfo.setUsedConditionally(e=>ee===a.Unused,a.Used,e)}isUsed(e){if(this._redirectTo!==undefined){if(this._redirectTo.isUsed(e)){return true}}else{if(this._otherExportsInfo.getUsed(e)!==a.Unused){return true}}for(const t of this._exports.values()){if(t.getUsed(e)!==a.Unused){return true}}return false}isModuleUsed(e){if(this.isUsed(e))return true;if(this._sideEffectsOnlyInfo.getUsed(e)!==a.Unused)return true;return false}getUsedExports(e){if(!this._redirectTo!==undefined){switch(this._otherExportsInfo.getUsed(e)){case a.NoInfo:return null;case a.Unknown:return true;case a.OnlyPropertiesUsed:case a.Used:return true}}const t=[];if(!this._exportsAreOrdered)this._sortExports();for(const n of this._exports.values()){switch(n.getUsed(e)){case a.NoInfo:return null;case a.Unknown:return true;case a.OnlyPropertiesUsed:case a.Used:t.push(n.name)}}if(this._redirectTo!==undefined){const n=this._redirectTo.getUsedExports(e);if(n===null)return null;if(n===true)return true;if(n!==false){for(const e of n){t.push(e)}}}if(t.length===0){switch(this._sideEffectsOnlyInfo.getUsed(e)){case a.NoInfo:return null;case a.Unused:return false}}return new i(t)}getProvidedExports(){if(!this._redirectTo!==undefined){switch(this._otherExportsInfo.provided){case undefined:return null;case null:return true;case true:return true}}const e=[];if(!this._exportsAreOrdered)this._sortExports();for(const t of this._exports.values()){switch(t.provided){case undefined:return null;case null:return true;case true:e.push(t.name)}}if(this._redirectTo!==undefined){const t=this._redirectTo.getProvidedExports();if(t===null)return null;if(t===true)return true;for(const n of t){if(!e.includes(n)){e.push(n)}}}return e}getRelevantExports(e){const t=[];for(const n of this._exports.values()){const s=n.getUsed(e);if(s===a.Unused)continue;if(n.provided===false)continue;t.push(n)}if(this._redirectTo!==undefined){for(const n of this._redirectTo.getRelevantExports(e)){if(!this._exports.has(n.name))t.push(n)}}if(this._otherExportsInfo.provided!==false&&this._otherExportsInfo.getUsed(e)!==a.Unused){t.push(this._otherExportsInfo)}return t}isExportProvided(e){if(Array.isArray(e)){const t=this.getReadOnlyExportInfo(e[0]);if(t.exportsInfo&&e.length>1){return t.exportsInfo.isExportProvided(e.slice(1))}return t.provided}const t=this.getReadOnlyExportInfo(e);return t.provided}getUsageKey(e){const t=[];if(this._redirectTo!==undefined){t.push(this._redirectTo.getUsageKey(e))}else{t.push(this._otherExportsInfo.getUsed(e))}t.push(this._sideEffectsOnlyInfo.getUsed(e));for(const n of this.orderedOwnedExports){t.push(n.getUsed(e))}return t.join("|")}isEquallyUsed(e,t){if(this._redirectTo!==undefined){if(!this._redirectTo.isEquallyUsed(e,t))return false}else{if(this._otherExportsInfo.getUsed(e)!==this._otherExportsInfo.getUsed(t)){return false}}if(this._sideEffectsOnlyInfo.getUsed(e)!==this._sideEffectsOnlyInfo.getUsed(t)){return false}for(const n of this.ownedExports){if(n.getUsed(e)!==n.getUsed(t))return false}return true}getUsed(e,t){if(Array.isArray(e)){if(e.length===0)return this.otherExportsInfo.getUsed(t);let n=this.getReadOnlyExportInfo(e[0]);if(n.exportsInfo&&e.length>1){return n.exportsInfo.getUsed(e.slice(1),t)}return n.getUsed(t)}let n=this.getReadOnlyExportInfo(e);return n.getUsed(t)}getUsedName(e,t){if(Array.isArray(e)){if(e.length===0){if(!this.isUsed(t))return false;return e}let n=this.getReadOnlyExportInfo(e[0]);const s=n.getUsedName(e[0],t);if(s===false)return false;const i=s===e[0]&&e.length===1?e:[s];if(e.length===1){return i}if(n.exportsInfo&&n.getUsed(t)===a.OnlyPropertiesUsed){const s=n.exportsInfo.getUsedName(e.slice(1),t);if(!s)return false;return i.concat(s)}else{return i.concat(e.slice(1))}}else{let n=this.getReadOnlyExportInfo(e);const s=n.getUsedName(e,t);return s}}updateHash(e,t){for(const n of this.orderedExports){if(n.hasInfo(this._otherExportsInfo,t)){n.updateHash(e,t)}}this._sideEffectsOnlyInfo.updateHash(e,t);this._otherExportsInfo.updateHash(e,t);if(this._redirectTo!==undefined){this._redirectTo.updateHash(e,t)}}getRestoreProvidedData(){const e=this._otherExportsInfo.provided;const t=this._otherExportsInfo.canMangleProvide;const n=this._otherExportsInfo.terminalBinding;const s=[];for(const i of this._exports.values()){if(i.provided!==e||i.canMangleProvide!==t||i.terminalBinding!==n||i.exportsInfoOwned){s.push({name:i.name,provided:i.provided,canMangleProvide:i.canMangleProvide,terminalBinding:i.terminalBinding,exportsInfo:i.exportsInfoOwned?i.exportsInfo.getRestoreProvidedData():undefined})}}return new RestoreProvidedData(s,e,t,n)}restoreProvided({otherProvided:e,otherCanMangleProvide:t,otherTerminalBinding:n,exports:s}){for(const s of this._exports.values()){s.provided=e;s.canMangleProvide=t;s.terminalBinding=n}this._otherExportsInfo.provided=e;this._otherExportsInfo.canMangleProvide=t;this._otherExportsInfo.terminalBinding=n;for(const e of s){const t=this.getExportInfo(e.name);t.provided=e.provided;t.canMangleProvide=e.canMangleProvide;t.terminalBinding=e.terminalBinding;if(e.exportsInfo){const n=t.createNestedExportsInfo();n.restoreProvided(e.exportsInfo)}}}}class ExportInfo{constructor(e,t){this.name=e;this._usedName=t?t._usedName:null;this._globalUsed=t?t._globalUsed:undefined;this._usedInRuntime=t&&t._usedInRuntime?new Map(t._usedInRuntime):undefined;this._hasUseInRuntimeInfo=t?t._hasUseInRuntimeInfo:false;this.provided=t?t.provided:undefined;this.terminalBinding=t?t.terminalBinding:false;this.canMangleProvide=t?t.canMangleProvide:undefined;this.canMangleUse=t?t.canMangleUse:undefined;this.exportsInfoOwned=false;this.exportsInfo=undefined;this._target=undefined;if(t&&t._target){this._target=new Map;for(const[n,s]of t._target){this._target.set(n,s?{connection:s.connection,export:[e]}:null)}}}get used(){throw new Error("REMOVED")}get usedName(){throw new Error("REMOVED")}set used(e){throw new Error("REMOVED")}set usedName(e){throw new Error("REMOVED")}get canMangle(){switch(this.canMangleProvide){case undefined:return this.canMangleUse===false?false:undefined;case false:return false;case true:switch(this.canMangleUse){case undefined:return undefined;case false:return false;case true:return true}}throw new Error(`Unexpected flags for canMangle ${this.canMangleProvide} ${this.canMangleUse}`)}setUsedInUnknownWay(e){let t=false;if(this.setUsedConditionally(e=>ethis._usedInRuntime.set(e,t));return true}}else{let s=false;r(n,n=>{let i=this._usedInRuntime.get(n);if(i===undefined)i=a.Unused;if(t!==i&&e(i)){if(t===a.Unused){this._usedInRuntime.delete(n)}else{this._usedInRuntime.set(n,t)}s=true}});if(s){if(this._usedInRuntime.size===0)this._usedInRuntime=undefined;return true}}return false}setUsed(e,t){if(t===undefined){if(this._globalUsed!==e){this._globalUsed=e;return true}}else if(this._usedInRuntime===undefined){if(e!==a.Unused){this._usedInRuntime=new Map;r(t,t=>this._usedInRuntime.set(t,e));return true}}else{let n=false;r(t,t=>{let s=this._usedInRuntime.get(t);if(s===undefined)s=a.Unused;if(e!==s){if(e===a.Unused){this._usedInRuntime.delete(t)}else{this._usedInRuntime.set(t,e)}n=true}});if(n){if(this._usedInRuntime.size===0)this._usedInRuntime=undefined;return true}}return false}setTarget(e,t,n){if(n)n=[...n];if(!this._target){this._target=new Map;this._target.set(e,t?{connection:t,export:n}:null);return true}const i=this._target.get(e);if(!i){if(i===null&&!t)return false;this._target.set(e,t?{connection:t,export:n}:null);return true}if(!t){this._target.set(e,null);return true}if(i.connection!==t||(n?!i.export||!s(i.export,n):i.export)){i.connection=t;i.export=n;return true}return false}getUsed(e){if(!this._hasUseInRuntimeInfo)return a.NoInfo;if(this._globalUsed!==undefined)return this._globalUsed;if(this._usedInRuntime===undefined){return a.Unused}else if(typeof e==="string"){const t=this._usedInRuntime.get(e);return t===undefined?a.Unused:t}else if(e===undefined){let e=a.Unused;for(const t of this._usedInRuntime.values()){if(t===a.Used){return a.Used}if(e!this._usedInRuntime.has(e))){return false}}}}if(this._usedName!==null)return this._usedName;return this.name||e}hasUsedName(){return this._usedName!==null}setUsedName(e){this._usedName=e}getTerminalBinding(e,t=c){if(this.terminalBinding)return this;const n=this.getTarget(e,t);if(!n)return undefined;const s=e.getExportsInfo(n.module);if(!n.export)return s;return s.getReadOnlyExportInfoRecursive(n.export)}isReexport(){return!this.terminalBinding&&this._target&&this._target.size>0}findTarget(e,t){return this._findTarget(e,t,new Set)}_findTarget(e,t,n){if(!this._target||this._target.size===0)return undefined;let s=this._target.values().next().value;if(!s)return undefined;let i={module:s.connection.module,export:s.export};for(;;){if(t(i.module))return i;const s=e.getExportsInfo(i.module);const o=s.getExportInfo(i.export[0]);if(n.has(o))return null;const r=o._findTarget(e,t,n);if(!r)return false;if(i.export.length===1){i=r}else{i={module:r.module,export:r.export?r.export.concat(i.export.slice(1)):i.export.slice(1)}}}}getTarget(e,t=c){const n=this._getTarget(e,t,undefined);if(n===u)return undefined;return n}_getTarget(e,t,n){const i=(n,s)=>{if(!n)return null;if(!n.export){return{module:n.connection.module,connection:n.connection,export:undefined}}let i={module:n.connection.module,connection:n.connection,export:n.export};if(!t(i))return i;let o=false;for(;;){const n=e.getExportsInfo(i.module);const r=n.getExportInfo(i.export[0]);if(!r)return i;if(s.has(r))return u;const a=r._getTarget(e,t,s);if(a===u)return u;if(!a)return i;if(i.export.length===1){i=a;if(!i.export)return i}else{i={module:a.module,connection:a.connection,export:a.export?a.export.concat(i.export.slice(1)):i.export.slice(1)}}if(!t(i))return i;if(!o){s=new Set(s);o=true}s.add(r)}};if(!this._target||this._target.size===0)return undefined;if(n&&n.has(this))return u;const o=new Set(n);o.add(this);const r=this._target.values();const a=i(r.next().value,o);if(a===u)return u;if(a===null)return undefined;if(this._target.size===1){return a}let c=r.next();while(!c.done){const e=i(c.value,o);if(e===u)return u;if(e===null)return undefined;if(e.module!==a.module)return undefined;if(!e.export!==!a.export)return undefined;if(a.export&&!s(e.export,a.export))return undefined;c=r.next()}return a}moveTarget(e,t){const n=this._getTarget(e,t,undefined);if(n===u)return undefined;if(!n)return undefined;this._target.clear();this._target.set(undefined,{connection:n.connection,export:n.export});return n}createNestedExportsInfo(){if(this.exportsInfoOwned)return this.exportsInfo;this.exportsInfoOwned=true;const e=this.exportsInfo;this.exportsInfo=new ExportsInfo;this.exportsInfo.setHasProvideInfo();if(e){this.exportsInfo.setRedirectNamedTo(e)}return this.exportsInfo}getNestedExportsInfo(){return this.exportsInfo}hasInfo(e,t){return this._usedName&&this._usedName!==this.name||this.provided||this.terminalBinding||this.getUsed(t)!==e.getUsed(t)}updateHash(e,t){e.update(`${this._usedName||this.name}`);e.update(`${this.getUsed(t)}`);e.update(`${this.provided}`);e.update(`${this.terminalBinding}`)}getUsedInfo(){if(this._globalUsed!==undefined){switch(this._globalUsed){case a.Unused:return"unused";case a.NoInfo:return"no usage info";case a.Unknown:return"maybe used (runtime-defined)";case a.Used:return"used";case a.OnlyPropertiesUsed:return"only properties used"}}else if(this._usedInRuntime!==undefined){const e=new Map;for(const[t,n]of this._usedInRuntime){const s=e.get(n);if(s!==undefined)s.push(t);else e.set(n,[t])}const t=Array.from(e,([e,t])=>{switch(e){case a.NoInfo:return`no usage info in ${t.join(", ")}`;case a.Unknown:return`maybe used in ${t.join(", ")} (runtime-defined)`;case a.Used:return`used in ${t.join(", ")}`;case a.OnlyPropertiesUsed:return`only properties used in ${t.join(", ")}`}});if(t.length>0){return t.join("; ")}}return this._hasUseInRuntimeInfo?"unused":"no usage info"}getProvidedInfo(){switch(this.provided){case undefined:return"no provided info";case null:return"maybe provided (runtime-defined)";case true:return"provided";case false:return"not provided"}}getRenameInfo(){if(this._usedName!==null&&this._usedName!==this.name){return`renamed to ${JSON.stringify(this._usedName).slice(1,-1)}`}switch(this.canMangleProvide){case undefined:switch(this.canMangleUse){case undefined:return"missing provision and use info prevents renaming";case false:return"usage prevents renaming (no provision info)";case true:return"missing provision info prevents renaming"}break;case true:switch(this.canMangleUse){case undefined:return"missing usage info prevents renaming";case false:return"usage prevents renaming";case true:return"could be renamed"}break;case false:switch(this.canMangleUse){case undefined:return"provision prevents renaming (no use info)";case false:return"usage and provision prevents renaming";case true:return"provision prevents renaming"}break}throw new Error(`Unexpected flags for getRenameInfo ${this.canMangleProvide} ${this.canMangleUse}`)}}e.exports=ExportsInfo;e.exports.ExportInfo=ExportInfo;e.exports.UsageState=a},7145:(e,t,n)=>{"use strict";const s=n(76911);const i=n(78988);class ExportsInfoApiPlugin{apply(e){e.hooks.compilation.tap("ExportsInfoApiPlugin",(e,{normalModuleFactory:t})=>{e.dependencyTemplates.set(i,new i.Template);const n=e=>{e.hooks.expressionMemberChain.for("__webpack_exports_info__").tap("ExportsInfoApiPlugin",(t,n)=>{const s=n.length>=2?new i(t.range,n.slice(0,-1),n[n.length-1]):new i(t.range,null,n[0]);s.loc=t.loc;e.state.module.addDependency(s);return true});e.hooks.expression.for("__webpack_exports_info__").tap("ExportsInfoApiPlugin",t=>{const n=new s("true",t.range);n.loc=t.loc;e.state.module.addPresentationalDependency(n);return true})};t.hooks.parser.for("javascript/auto").tap("ExportsInfoApiPlugin",n);t.hooks.parser.for("javascript/dynamic").tap("ExportsInfoApiPlugin",n);t.hooks.parser.for("javascript/esm").tap("ExportsInfoApiPlugin",n)})}}e.exports=ExportsInfoApiPlugin},73071:(e,t,n)=>{"use strict";const{OriginalSource:s,RawSource:i}=n(84697);const o=n(98229);const r=n(73208);const a=n(16475);const c=n(1626);const u=n(91418);const l=n(11850);const d=n(33032);const p=n(54190);const h=(e,t)=>{if(!Array.isArray(e)){e=[e]}const n=e.map(e=>`[${JSON.stringify(e)}]`).join("");return{iife:t==="this",expression:`${t}${n}`}};const f=e=>{if(!Array.isArray(e)){return{expression:`require(${JSON.stringify(e)});`}}const t=e[0];return{expression:`require(${JSON.stringify(t)})${p(e,1)};`}};const m=(e,t)=>{const n=t.outputOptions.importFunctionName;if(!t.supportsDynamicImport()&&n==="import"){throw new Error("The target environment doesn't support 'import()' so it's not possible to use external type 'import'")}if(!Array.isArray(e)){return{expression:`${n}(${JSON.stringify(e)});`}}if(e.length===1){return{expression:`${n}(${JSON.stringify(e[0])});`}}const s=e[0];return{expression:`${n}(${JSON.stringify(s)}).then(${t.returningFunction(`module${p(e,1)}`,"module")});`}};const g=(e,t)=>{if(typeof e==="string"){e=l(e)}const n=e[0];const s=e[1];return{init:"var error = new Error();",expression:`new Promise(${t.basicFunction("resolve, reject",[`if(typeof ${s} !== "undefined") return resolve();`,`${a.loadScript}(${JSON.stringify(n)}, ${t.basicFunction("event",[`if(typeof ${s} !== "undefined") return resolve();`,"var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","error.message = 'Loading script failed.\\n(' + errorType + ': ' + realSrc + ')';","error.name = 'ScriptExternalLoadError';","error.type = errorType;","error.request = realSrc;","reject(error);"])}, ${JSON.stringify(s)});`])}).then(${t.returningFunction(`${s}${p(e,2)}`)})`}};const y=(e,t,n)=>{return`if(typeof ${e} === 'undefined') { ${n.throwMissingModuleErrorBlock({request:t})} }\n`};const v=(e,t,n,s)=>{const i=`__WEBPACK_EXTERNAL_MODULE_${c.toIdentifier(`${e}`)}__`;return{init:t?y(i,Array.isArray(n)?n.join("."):n,s):undefined,expression:i}};const b=(e,t,n)=>{if(!Array.isArray(t)){t=[t]}const s=t[0];const i=p(t,1);return{init:e?y(s,t.join("."),n):undefined,expression:`${s}${i}`}};const k=new Set(["javascript"]);const w=new Set([a.module]);const x=new Set([a.module,a.loadScript]);const C=new Set([]);class ExternalModule extends r{constructor(e,t,n){super("javascript/dynamic",null);this.request=e;this.externalType=t;this.userRequest=n}getSourceTypes(){return k}libIdent(e){return this.userRequest}chunkCondition(e,{chunkGraph:t}){return t.getNumberOfEntryModules(e)>0}identifier(){return"external "+JSON.stringify(this.request)}readableIdentifier(e){return"external "+JSON.stringify(this.request)}needBuild(e,t){return t(null,!this.buildMeta)}build(e,t,n,s,i){this.buildMeta={async:false,exportsType:undefined};this.buildInfo={strict:this.externalType!=="this"};this.buildMeta.exportsType="dynamic";let o=false;this.clearDependenciesAndBlocks();switch(this.externalType){case"system":if(!Array.isArray(this.request)||this.request.length===1){this.buildMeta.exportsType="namespace";o=true}break;case"promise":this.buildMeta.async=true;break;case"import":this.buildMeta.async=true;if(!Array.isArray(this.request)||this.request.length===1){this.buildMeta.exportsType="namespace";o=false}break;case"script":this.buildMeta.async=true;break}this.addDependency(new u(true,o));i()}getConcatenationBailoutReason({moduleGraph:e}){switch(this.externalType){case"amd":case"amd-require":case"umd":case"umd2":case"system":case"jsonp":return`${this.externalType} externals can't be concatenated`}return undefined}getSourceData(e,t,n){const s=typeof this.request==="object"&&!Array.isArray(this.request)?this.request[this.externalType]:this.request;switch(this.externalType){case"this":case"window":case"self":return h(s,this.externalType);case"global":return h(s,e.outputOptions.globalObject);case"commonjs":case"commonjs2":case"commonjs-module":return f(s);case"amd":case"amd-require":case"umd":case"umd2":case"system":case"jsonp":return v(n.getModuleId(this),this.isOptional(t),s,e);case"import":return m(s,e);case"script":return g(s,e);case"module":if(!e.supportsEcmaScriptModuleSyntax()){throw new Error("The target environment doesn't support EcmaScriptModule syntax so it's not possible to use external type 'module'")}throw new Error("Module external type is not implemented yet");case"var":case"promise":case"const":case"let":case"assign":default:return b(this.isOptional(t),s,e)}}codeGeneration({runtimeTemplate:e,moduleGraph:t,chunkGraph:n,concatenationScope:r}){const a=this.getSourceData(e,t,n);let c=a.expression;if(a.iife)c=`(function() { return ${c}; }())`;if(r){c=`${e.supportsConst()?"const":"var"} ${o.NAMESPACE_OBJECT_EXPORT} = ${c};`;r.registerNamespaceExport(o.NAMESPACE_OBJECT_EXPORT)}else{c=`module.exports = ${c};`}if(a.init)c=`${a.init}\n${c}`;const u=new Map;if(this.useSourceMap||this.useSimpleSourceMap){u.set("javascript",new s(c,this.identifier()))}else{u.set("javascript",new i(c))}return{sources:u,runtimeRequirements:r?C:this.externalType==="script"?x:w}}size(e){return 42}updateHash(e,t){const{chunkGraph:n}=t;e.update(this.externalType);e.update(JSON.stringify(this.request));e.update(JSON.stringify(Boolean(this.isOptional(n.moduleGraph))));super.updateHash(e,t)}serialize(e){const{write:t}=e;t(this.request);t(this.externalType);t(this.userRequest);super.serialize(e)}deserialize(e){const{read:t}=e;this.request=t();this.externalType=t();this.userRequest=t();super.deserialize(e)}}d(ExternalModule,"webpack/lib/ExternalModule");e.exports=ExternalModule},62153:(e,t,n)=>{"use strict";const s=n(31669);const i=n(73071);const o=/^[a-z0-9]+ /;const r=s.deprecate((e,t,n,s)=>{e.call(null,t,n,s)},"The externals-function should be defined like ({context, request}, cb) => { ... }","DEP_WEBPACK_EXTERNALS_FUNCTION_PARAMETERS");class ExternalModuleFactoryPlugin{constructor(e,t){this.type=e;this.externals=t}apply(e){const t=this.type;e.hooks.factorize.tapAsync("ExternalModuleFactoryPlugin",(e,n)=>{const s=e.context;const a=e.dependencies[0];const c=(e,n,s)=>{if(e===false){return s()}let r;if(e===true){r=a.request}else{r=e}if(n===undefined){if(typeof r==="string"&&o.test(r)){const e=r.indexOf(" ");n=r.substr(0,e);r=r.substr(e+1)}else if(Array.isArray(r)&&r.length>0&&o.test(r[0])){const e=r[0];const t=e.indexOf(" ");n=e.substr(0,t);r=[e.substr(t+1),...r.slice(1)]}}s(null,new i(r,n||t,a.request))};const u=(e,t)=>{if(typeof e==="string"){if(e===a.request){return c(a.request,undefined,t)}}else if(Array.isArray(e)){let n=0;const s=()=>{let i;const o=(e,n)=>{if(e)return t(e);if(!n){if(i){i=false;return}return s()}t(null,n)};do{i=true;if(n>=e.length)return t();u(e[n++],o)}while(!i);i=false};s();return}else if(e instanceof RegExp){if(e.test(a.request)){return c(a.request,undefined,t)}}else if(typeof e==="function"){const n=(e,n,s)=>{if(e)return t(e);if(n!==undefined){c(n,s,t)}else{t()}};if(e.length===3){r(e,s,a.request,n)}else{e({context:s,request:a.request},n)}return}else if(typeof e==="object"&&Object.prototype.hasOwnProperty.call(e,a.request)){return c(e[a.request],undefined,t)}t()};u(this.externals,n)})}}e.exports=ExternalModuleFactoryPlugin},6652:(e,t,n)=>{"use strict";const s=n(62153);class ExternalsPlugin{constructor(e,t){this.type=e;this.externals=t}apply(e){e.hooks.compile.tap("ExternalsPlugin",({normalModuleFactory:e})=>{new s(this.type,this.externals).apply(e)})}}e.exports=ExternalsPlugin},79453:(e,t,n)=>{"use strict";const{create:s}=n(9256);const i=n(36386);const o=n(12260);const r=n(49835);const{join:a,dirname:c,relative:u}=n(17139);const l=n(33032);const d=s({resolveToContext:true,exportsFields:[]});const p=s({extensions:[".js",".json",".node"],conditionNames:["require"]});let h=2e3;const f=new Set;const m=0;const g=1;const y=2;const v=3;const b=4;const k=5;const w=6;const x=Symbol("invalid");const C=(new Set).keys().next();class Snapshot{constructor(){this._flags=0;this.startTime=undefined;this.fileTimestamps=undefined;this.fileHashes=undefined;this.fileTshs=undefined;this.contextTimestamps=undefined;this.contextHashes=undefined;this.contextTshs=undefined;this.missingExistence=undefined;this.managedItemInfo=undefined;this.managedFiles=undefined;this.managedContexts=undefined;this.managedMissing=undefined;this.children=undefined}hasStartTime(){return(this._flags&1)!==0}setStartTime(e){this._flags=this._flags|1;this.startTime=e}setMergedStartTime(e,t){if(e){if(t.hasStartTime()){this.setStartTime(Math.min(e,t.startTime))}else{this.setStartTime(e)}}else{if(t.hasStartTime())this.setStartTime(t.startTime)}}hasFileTimestamps(){return(this._flags&2)!==0}setFileTimestamps(e){this._flags=this._flags|2;this.fileTimestamps=e}hasFileHashes(){return(this._flags&4)!==0}setFileHashes(e){this._flags=this._flags|4;this.fileHashes=e}hasFileTshs(){return(this._flags&8)!==0}setFileTshs(e){this._flags=this._flags|8;this.fileTshs=e}hasContextTimestamps(){return(this._flags&16)!==0}setContextTimestamps(e){this._flags=this._flags|16;this.contextTimestamps=e}hasContextHashes(){return(this._flags&32)!==0}setContextHashes(e){this._flags=this._flags|32;this.contextHashes=e}hasContextTshs(){return(this._flags&64)!==0}setContextTshs(e){this._flags=this._flags|64;this.contextTshs=e}hasMissingExistence(){return(this._flags&128)!==0}setMissingExistence(e){this._flags=this._flags|128;this.missingExistence=e}hasManagedItemInfo(){return(this._flags&256)!==0}setManagedItemInfo(e){this._flags=this._flags|256;this.managedItemInfo=e}hasManagedFiles(){return(this._flags&512)!==0}setManagedFiles(e){this._flags=this._flags|512;this.managedFiles=e}hasManagedContexts(){return(this._flags&1024)!==0}setManagedContexts(e){this._flags=this._flags|1024;this.managedContexts=e}hasManagedMissing(){return(this._flags&2048)!==0}setManagedMissing(e){this._flags=this._flags|2048;this.managedMissing=e}hasChildren(){return(this._flags&4096)!==0}setChildren(e){this._flags=this._flags|4096;this.children=e}addChild(e){if(!this.hasChildren()){this.setChildren(new Set)}this.children.add(e)}serialize({write:e}){e(this._flags);if(this.hasStartTime())e(this.startTime);if(this.hasFileTimestamps())e(this.fileTimestamps);if(this.hasFileHashes())e(this.fileHashes);if(this.hasFileTshs())e(this.fileTshs);if(this.hasContextTimestamps())e(this.contextTimestamps);if(this.hasContextHashes())e(this.contextHashes);if(this.hasContextTshs())e(this.contextTshs);if(this.hasMissingExistence())e(this.missingExistence);if(this.hasManagedItemInfo())e(this.managedItemInfo);if(this.hasManagedFiles())e(this.managedFiles);if(this.hasManagedContexts())e(this.managedContexts);if(this.hasManagedMissing())e(this.managedMissing);if(this.hasChildren())e(this.children)}deserialize({read:e}){this._flags=e();if(this.hasStartTime())this.startTime=e();if(this.hasFileTimestamps())this.fileTimestamps=e();if(this.hasFileHashes())this.fileHashes=e();if(this.hasFileTshs())this.fileTshs=e();if(this.hasContextTimestamps())this.contextTimestamps=e();if(this.hasContextHashes())this.contextHashes=e();if(this.hasContextTshs())this.contextTshs=e();if(this.hasMissingExistence())this.missingExistence=e();if(this.hasManagedItemInfo())this.managedItemInfo=e();if(this.hasManagedFiles())this.managedFiles=e();if(this.hasManagedContexts())this.managedContexts=e();if(this.hasManagedMissing())this.managedMissing=e();if(this.hasChildren())this.children=e()}_createIterable(e){let t=this;return{[Symbol.iterator](){let n=0;let s;let i=e(t);const o=[];return{next(){for(;;){switch(n){case 0:if(i.length>0){const e=i.pop();if(e!==undefined){s=e.keys();n=1}else{break}}else{n=2;break}case 1:{const e=s.next();if(!e.done)return e;n=0;break}case 2:{const s=t.children;if(s!==undefined){for(const e of s){o.push(e)}}if(o.length>0){t=o.pop();i=e(t);n=0;break}else{n=3}}case 3:return C}}}}}}}getFileIterable(){return this._createIterable(e=>[e.fileTimestamps,e.fileHashes,e.fileTshs,e.managedFiles])}getContextIterable(){return this._createIterable(e=>[e.contextTimestamps,e.contextHashes,e.contextTshs,e.managedContexts])}getMissingIterable(){return this._createIterable(e=>[e.missingExistence,e.managedMissing])}}l(Snapshot,"webpack/lib/FileSystemInfo","Snapshot");const M=3;class SnapshotOptimization{constructor(e,t,n,s=false){this._has=e;this._get=t;this._set=n;this._isSet=s;this._map=new Map;this._statItemsShared=0;this._statItemsUnshared=0;this._statSharedSnapshots=0;this._statReusedSharedSnapshots=0}getStatisticMessage(){const e=this._statItemsShared+this._statItemsUnshared;if(e===0)return undefined;return`${this._statItemsShared&&Math.round(this._statItemsShared*100/e)}% (${this._statItemsShared}/${e}) entries shared via ${this._statSharedSnapshots} shared snapshots (${this._statReusedSharedSnapshots+this._statSharedSnapshots} times referenced)`}storeUnsharedSnapshot(e,t){if(t===undefined)return;const n={snapshot:e,shared:0,snapshotContent:undefined,children:undefined};for(const e of t){this._map.set(e,n)}}optimize(e,t,n){const s=new Set;const i=new Set;const o=e=>{if(e.children!==undefined){e.children.forEach(o)}e.shared++;r(e)};const r=t=>{for(const n of t.snapshotContent){const s=this._map.get(n);if(s.shared0){if(t&&(!u.startTime||u.startTime>t)){continue}const s=new Set;const a=c.snapshotContent;const l=this._get(u);for(const t of a){if(!e.has(t)){if(!l.has(t)){i.add(c);continue e}s.add(t);continue}}if(s.size===0){n.add(u);o(c);this._statReusedSharedSnapshots++}else{const e=a.size-s.size;if(e{if(h>1&&e%2!==0)h=1;else if(h>10&&e%20!==0)h=10;else if(h>100&&e%200!==0)h=100;else if(h>1e3&&e%2e3!==0)h=1e3};const O=(e,t)=>{if(!t||t.size===0)return e;if(!e||e.size===0)return t;const n=new Map(e);for(const[e,s]of t){n.set(e,s)}return n};const T=(e,t)=>{if(!t||t.size===0)return e;if(!e||e.size===0)return t;const n=new Set(e);for(const e of t){n.add(e)}return n};const P=(e,t)=>{let n=e.length;let s=1;let i=true;e:while(n=n+13&&t.charCodeAt(n+1)===110&&t.charCodeAt(n+2)===111&&t.charCodeAt(n+3)===100&&t.charCodeAt(n+4)===101&&t.charCodeAt(n+5)===95&&t.charCodeAt(n+6)===109&&t.charCodeAt(n+7)===111&&t.charCodeAt(n+8)===100&&t.charCodeAt(n+9)===117&&t.charCodeAt(n+10)===108&&t.charCodeAt(n+11)===101&&t.charCodeAt(n+12)===115){if(t.length===n+13){return t}const e=t.charCodeAt(n+13);if(e===47||e===92){return P(t.slice(0,n+14),t)}}return t.slice(0,n)};const $=e=>{return Boolean(e)};class FileSystemInfo{constructor(e,{managedPaths:t=[],immutablePaths:n=[],logger:s}={}){this.fs=e;this.logger=s;this._remainingLogs=s?40:0;this._loggedPaths=s?new Set:undefined;this._snapshotCache=new WeakMap;this._fileTimestampsOptimization=new SnapshotOptimization(e=>e.hasFileTimestamps(),e=>e.fileTimestamps,(e,t)=>e.setFileTimestamps(t));this._fileHashesOptimization=new SnapshotOptimization(e=>e.hasFileHashes(),e=>e.fileHashes,(e,t)=>e.setFileHashes(t));this._fileTshsOptimization=new SnapshotOptimization(e=>e.hasFileTshs(),e=>e.fileTshs,(e,t)=>e.setFileTshs(t));this._contextTimestampsOptimization=new SnapshotOptimization(e=>e.hasContextTimestamps(),e=>e.contextTimestamps,(e,t)=>e.setContextTimestamps(t));this._contextHashesOptimization=new SnapshotOptimization(e=>e.hasContextHashes(),e=>e.contextHashes,(e,t)=>e.setContextHashes(t));this._contextTshsOptimization=new SnapshotOptimization(e=>e.hasContextTshs(),e=>e.contextTshs,(e,t)=>e.setContextTshs(t));this._missingExistenceOptimization=new SnapshotOptimization(e=>e.hasMissingExistence(),e=>e.missingExistence,(e,t)=>e.setMissingExistence(t));this._managedItemInfoOptimization=new SnapshotOptimization(e=>e.hasManagedItemInfo(),e=>e.managedItemInfo,(e,t)=>e.setManagedItemInfo(t));this._managedFilesOptimization=new SnapshotOptimization(e=>e.hasManagedFiles(),e=>e.managedFiles,(e,t)=>e.setManagedFiles(t),true);this._managedContextsOptimization=new SnapshotOptimization(e=>e.hasManagedContexts(),e=>e.managedContexts,(e,t)=>e.setManagedContexts(t),true);this._managedMissingOptimization=new SnapshotOptimization(e=>e.hasManagedMissing(),e=>e.managedMissing,(e,t)=>e.setManagedMissing(t),true);this._fileTimestamps=new Map;this._fileHashes=new Map;this._fileTshs=new Map;this._contextTimestamps=new Map;this._contextHashes=new Map;this._contextTshs=new Map;this._managedItems=new Map;this.fileTimestampQueue=new o({name:"file timestamp",parallelism:30,processor:this._readFileTimestamp.bind(this)});this.fileHashQueue=new o({name:"file hash",parallelism:10,processor:this._readFileHash.bind(this)});this.contextTimestampQueue=new o({name:"context timestamp",parallelism:2,processor:this._readContextTimestamp.bind(this)});this.contextHashQueue=new o({name:"context hash",parallelism:2,processor:this._readContextHash.bind(this)});this.managedItemQueue=new o({name:"managed item info",parallelism:10,processor:this._getManagedItemInfo.bind(this)});this.managedItemDirectoryQueue=new o({name:"managed item directory info",parallelism:10,processor:this._getManagedItemDirectoryInfo.bind(this)});this.managedPaths=Array.from(t);this.managedPathsWithSlash=this.managedPaths.map(t=>a(e,t,"_").slice(0,-1));this.immutablePaths=Array.from(n);this.immutablePathsWithSlash=this.immutablePaths.map(t=>a(e,t,"_").slice(0,-1));this._cachedDeprecatedFileTimestamps=undefined;this._cachedDeprecatedContextTimestamps=undefined;this._statCreatedSnapshots=0;this._statTestedSnapshotsCached=0;this._statTestedSnapshotsNotCached=0;this._statTestedChildrenCached=0;this._statTestedChildrenNotCached=0;this._statTestedEntries=0}logStatistics(){const e=(e,t)=>{if(t){this.logger.log(`${e}: ${t}`)}};this.logger.log(`${this._statCreatedSnapshots} new snapshots created`);this.logger.log(`${this._statTestedSnapshotsNotCached&&Math.round(this._statTestedSnapshotsNotCached*100/(this._statTestedSnapshotsCached+this._statTestedSnapshotsNotCached))}% root snapshot uncached (${this._statTestedSnapshotsNotCached} / ${this._statTestedSnapshotsCached+this._statTestedSnapshotsNotCached})`);this.logger.log(`${this._statTestedChildrenNotCached&&Math.round(this._statTestedChildrenNotCached*100/(this._statTestedChildrenCached+this._statTestedChildrenNotCached))}% children snapshot uncached (${this._statTestedChildrenNotCached} / ${this._statTestedChildrenCached+this._statTestedChildrenNotCached})`);this.logger.log(`${this._statTestedEntries} entries tested`);this.logger.log(`File info in cache: ${this._fileTimestamps.size} timestamps ${this._fileHashes.size} hashes ${this._fileTshs.size} timestamp hash combinations`);e(`File timestamp snapshot optimization`,this._fileTimestampsOptimization.getStatisticMessage());e(`File hash snapshot optimization`,this._fileHashesOptimization.getStatisticMessage());e(`File timestamp hash combination snapshot optimization`,this._fileTshsOptimization.getStatisticMessage());this.logger.log(`Directory info in cache: ${this._contextTimestamps.size} timestamps ${this._contextHashes.size} hashes ${this._contextTshs.size} timestamp hash combinations`);e(`Directory timestamp snapshot optimization`,this._contextTimestampsOptimization.getStatisticMessage());e(`Directory hash snapshot optimization`,this._contextHashesOptimization.getStatisticMessage());e(`Directory timestamp hash combination snapshot optimization`,this._contextTshsOptimization.getStatisticMessage());e(`Missing items snapshot optimization`,this._missingExistenceOptimization.getStatisticMessage());this.logger.log(`Managed items info in cache: ${this._managedItems.size} items`);e(`Managed items snapshot optimization`,this._managedItemInfoOptimization.getStatisticMessage());e(`Managed files snapshot optimization`,this._managedFilesOptimization.getStatisticMessage());e(`Managed contexts snapshot optimization`,this._managedContextsOptimization.getStatisticMessage());e(`Managed missing snapshot optimization`,this._managedMissingOptimization.getStatisticMessage())}_log(e,t,...n){const s=e+t;if(this._loggedPaths.has(s))return;this._loggedPaths.add(s);this.logger.debug(`${e} invalidated because ${t}`,...n);if(--this._remainingLogs===0){this.logger.debug("Logging limit has been reached and no further logging will be emitted by FileSystemInfo")}}addFileTimestamps(e){for(const[t,n]of e){this._fileTimestamps.set(t,n)}this._cachedDeprecatedFileTimestamps=undefined}addContextTimestamps(e){for(const[t,n]of e){this._contextTimestamps.set(t,n)}this._cachedDeprecatedContextTimestamps=undefined}getFileTimestamp(e,t){const n=this._fileTimestamps.get(e);if(n!==undefined)return t(null,n);this.fileTimestampQueue.add(e,t)}getContextTimestamp(e,t){const n=this._contextTimestamps.get(e);if(n!==undefined)return t(null,n);this.contextTimestampQueue.add(e,t)}getFileHash(e,t){const n=this._fileHashes.get(e);if(n!==undefined)return t(null,n);this.fileHashQueue.add(e,t)}getContextHash(e,t){const n=this._contextHashes.get(e);if(n!==undefined)return t(null,n);this.contextHashQueue.add(e,t)}resolveBuildDependencies(e,t,n){const s=new Set;const o=new Set;const r=new Set;const l=new Set;const h=new Set;const f=new Set;const x=new Map;const C=i.queue(({type:e,context:t,path:n,expected:i},r)=>{const M=e=>{const n=`d\n${t}\n${e}`;if(x.has(n)){return r()}d(t,e,{fileDependencies:l,contextDependencies:h,missingDependencies:f},(s,i)=>{if(s){if(s.code==="ENOENT"||s.code==="UNDECLARED_DEPENDENCY"){return r()}s.message+=`\nwhile resolving '${e}' in ${t} to a directory`;return r(s)}x.set(n,i);C.push({type:v,path:i});r()})};const S=e=>{const n=`f\n${t}\n${e}`;if(x.has(n)){return r()}p(t,e,{fileDependencies:l,contextDependencies:h,missingDependencies:f},(s,o)=>{if(i){if(o===i){x.set(n,o)}}else{if(s){if(s.code==="ENOENT"||s.code==="UNDECLARED_DEPENDENCY"){return r()}s.message+=`\nwhile resolving '${e}' in ${t} as file`;return r(s)}x.set(n,o);C.push({type:b,path:o})}r()})};switch(e){case m:{const e=/[\\/]$/.test(n);if(e){M(n.slice(0,n.length-1))}else{S(n)}break}case g:{M(n);break}case y:{S(n);break}case b:{if(s.has(n)){r();break}this.fs.realpath(n,(e,t)=>{if(e)return r(e);if(t!==n){l.add(n)}if(!s.has(t)){s.add(t);C.push({type:w,path:t})}r()});break}case v:{if(o.has(n)){r();break}this.fs.realpath(n,(e,t)=>{if(e)return r(e);if(t!==n){l.add(n)}if(!o.has(t)){o.add(t);C.push({type:k,path:t})}r()});break}case w:{const e=require.cache[n];if(e&&Array.isArray(e.children)){e:for(const t of e.children){let s=t.filename;if(s){C.push({type:b,path:s});if(s.endsWith(".js"))s=s.slice(0,-3);const i=c(this.fs,n);for(const t of e.paths){if(s.startsWith(t)){const e=s.slice(t.length+1);C.push({type:y,context:i,path:e,expected:s});continue e}}let o=u(this.fs,i,s);o=o.replace(/\\/g,"/");if(!o.startsWith("../"))o=`./${o}`;C.push({type:y,context:i,path:o,expected:t.filename})}}}else{const e=c(this.fs,n);C.push({type:v,path:e})}process.nextTick(r);break}case k:{const e=/(^.+[\\/]node_modules[\\/](?:@[^\\/]+[\\/])?[^\\/]+)/.exec(n);const t=e?e[1]:n;const s=a(this.fs,t,"package.json");this.fs.readFile(s,(e,n)=>{if(e){if(e.code==="ENOENT"){f.add(s);const e=c(this.fs,t);if(e!==t){C.push({type:k,path:e})}r();return}return r(e)}l.add(s);let i;try{i=JSON.parse(n.toString("utf-8"))}catch(e){return r(e)}const o=i.dependencies;if(typeof o==="object"&&o){for(const e of Object.keys(o)){C.push({type:g,context:t,path:e})}}r()});break}}},50);C.drain=(()=>{n(null,{files:s,directories:o,missing:r,resolveResults:x,resolveDependencies:{files:l,directories:h,missing:f}})});C.error=(e=>{n(e);n=(()=>{})});let M=false;for(const n of t){C.push({type:m,context:e,path:n});M=true}if(!M){C.drain()}}checkResolveResultsValid(e,t){i.eachLimit(e,20,([e,t],n)=>{const[s,i,o]=e.split("\n");switch(s){case"d":d(i,o,{},(e,s)=>{if(e)return n(e);if(s!==t)return n(x);n()});break;case"f":p(i,o,{},(e,s)=>{if(e)return n(e);if(s!==t)return n(x);n()});break;default:n(new Error("Unexpected type in resolve result key"));break}},e=>{if(e===x){return t(null,false)}if(e){return t(e)}return t(null,true)})}createSnapshot(e,t,n,s,i,o){const r=new Map;const a=new Map;const c=new Map;const u=new Map;const l=new Map;const d=new Map;const p=new Map;const h=new Map;const f=new Set;const m=new Set;const g=new Set;const y=new Set;let v;let b;let k;let w;let x;let C;let M;let S;const O=new Set;const T=i&&i.hash?i.timestamp?3:2:1;let F=1;const j=()=>{if(--F===0){const t=new Snapshot;if(e)t.setStartTime(e);if(r.size!==0){t.setFileTimestamps(r);this._fileTimestampsOptimization.storeUnsharedSnapshot(t,v)}if(a.size!==0){t.setFileHashes(a);this._fileHashesOptimization.storeUnsharedSnapshot(t,b)}if(c.size!==0){t.setFileTshs(c);this._fileTshsOptimization.storeUnsharedSnapshot(t,k)}if(u.size!==0){t.setContextTimestamps(u);this._contextTimestampsOptimization.storeUnsharedSnapshot(t,w)}if(l.size!==0){t.setContextHashes(l);this._contextHashesOptimization.storeUnsharedSnapshot(t,x)}if(d.size!==0){t.setContextTshs(d);this._contextTshsOptimization.storeUnsharedSnapshot(t,C)}if(p.size!==0){t.setMissingExistence(p);this._missingExistenceOptimization.storeUnsharedSnapshot(t,M)}if(h.size!==0){t.setManagedItemInfo(h);this._managedItemInfoOptimization.storeUnsharedSnapshot(t,S)}const n=this._managedFilesOptimization.optimize(f,undefined,y);if(f.size!==0){t.setManagedFiles(f);this._managedFilesOptimization.storeUnsharedSnapshot(t,n)}const s=this._managedContextsOptimization.optimize(m,undefined,y);if(m.size!==0){t.setManagedContexts(m);this._managedContextsOptimization.storeUnsharedSnapshot(t,s)}const i=this._managedMissingOptimization.optimize(g,undefined,y);if(g.size!==0){t.setManagedMissing(g);this._managedMissingOptimization.storeUnsharedSnapshot(t,i)}if(y.size!==0){t.setChildren(y)}this._snapshotCache.set(t,true);this._statCreatedSnapshots++;o(null,t)}};const _=()=>{if(F>0){F=-1e8;o(null,null)}};const z=(e,t)=>{for(const n of this.immutablePathsWithSlash){if(e.startsWith(n)){t.add(e);return true}}for(const n of this.managedPathsWithSlash){if(e.startsWith(n)){const s=P(n,e);if(s){O.add(s);t.add(e);return true}}}return false};const q=(e,t)=>{const n=new Set;for(const s of e){if(!z(s,t))n.add(s)}return n};if(t){const n=q(t,f);switch(T){case 3:k=this._fileTshsOptimization.optimize(n,undefined,y);for(const e of n){const t=this._fileTshs.get(e);if(t!==undefined){c.set(e,t)}else{F++;this._getFileTimestampAndHash(e,(t,n)=>{if(t){if(this.logger){this.logger.debug(`Error snapshotting file timestamp hash combination of ${e}: ${t}`)}_()}else{c.set(e,n);j()}})}}break;case 2:b=this._fileHashesOptimization.optimize(n,undefined,y);for(const e of n){const t=this._fileHashes.get(e);if(t!==undefined){a.set(e,t)}else{F++;this.fileHashQueue.add(e,(t,n)=>{if(t){if(this.logger){this.logger.debug(`Error snapshotting file hash of ${e}: ${t}`)}_()}else{a.set(e,n);j()}})}}break;case 1:v=this._fileTimestampsOptimization.optimize(n,e,y);for(const e of n){const t=this._fileTimestamps.get(e);if(t!==undefined){if(t!=="ignore"){r.set(e,t)}}else{F++;this.fileTimestampQueue.add(e,(t,n)=>{if(t){if(this.logger){this.logger.debug(`Error snapshotting file timestamp of ${e}: ${t}`)}_()}else{r.set(e,n);j()}})}}break}}if(n){const t=q(n,m);switch(T){case 3:C=this._contextTshsOptimization.optimize(t,undefined,y);for(const e of t){const t=this._contextTshs.get(e);if(t!==undefined){d.set(e,t)}else{F++;this._getContextTimestampAndHash(e,(t,n)=>{if(t){if(this.logger){this.logger.debug(`Error snapshotting context timestamp hash combination of ${e}: ${t}`)}_()}else{d.set(e,n);j()}})}}break;case 2:x=this._contextHashesOptimization.optimize(t,undefined,y);for(const e of t){const t=this._contextHashes.get(e);if(t!==undefined){l.set(e,t)}else{F++;this.contextHashQueue.add(e,(t,n)=>{if(t){if(this.logger){this.logger.debug(`Error snapshotting context hash of ${e}: ${t}`)}_()}else{l.set(e,n);j()}})}}break;case 1:w=this._contextTimestampsOptimization.optimize(t,e,y);for(const e of t){const t=this._contextTimestamps.get(e);if(t!==undefined){if(t!=="ignore"){u.set(e,t)}}else{F++;this.contextTimestampQueue.add(e,(t,n)=>{if(t){if(this.logger){this.logger.debug(`Error snapshotting context timestamp of ${e}: ${t}`)}_()}else{u.set(e,n);j()}})}}break}}if(s){const t=q(s,g);M=this._missingExistenceOptimization.optimize(t,e,y);for(const e of t){const t=this._fileTimestamps.get(e);if(t!==undefined){if(t!=="ignore"){p.set(e,$(t))}}else{F++;this.fileTimestampQueue.add(e,(t,n)=>{if(t){if(this.logger){this.logger.debug(`Error snapshotting missing timestamp of ${e}: ${t}`)}_()}else{p.set(e,$(n));j()}})}}}S=this._managedItemInfoOptimization.optimize(O,undefined,y);for(const e of O){const t=this._managedItems.get(e);if(t!==undefined){h.set(e,t)}else{F++;this.managedItemQueue.add(e,(t,n)=>{if(t){if(this.logger){this.logger.debug(`Error snapshotting managed item ${e}: ${t}`)}_()}else{h.set(e,n);j()}})}}j()}mergeSnapshots(e,t){const n=new Snapshot;if(e.hasStartTime()&&t.hasStartTime())n.setStartTime(Math.min(e.startTime,t.startTime));else if(t.hasStartTime())n.startTime=t.startTime;else if(e.hasStartTime())n.startTime=e.startTime;if(e.hasFileTimestamps()||t.hasFileTimestamps()){n.setFileTimestamps(O(e.fileTimestamps,t.fileTimestamps))}if(e.hasFileHashes()||t.hasFileHashes()){n.setFileHashes(O(e.fileHashes,t.fileHashes))}if(e.hasFileTshs()||t.hasFileTshs()){n.setFileTshs(O(e.fileTshs,t.fileTshs))}if(e.hasContextTimestamps()||t.hasContextTimestamps()){n.setContextTimestamps(O(e.contextTimestamps,t.contextTimestamps))}if(e.hasContextHashes()||t.hasContextHashes()){n.setContextHashes(O(e.contextHashes,t.contextHashes))}if(e.hasContextTshs()||t.hasContextTshs()){n.setContextTshs(O(e.contextTshs,t.contextTshs))}if(e.hasMissingExistence()||t.hasMissingExistence()){n.setMissingExistence(O(e.missingExistence,t.missingExistence))}if(e.hasManagedItemInfo()||t.hasManagedItemInfo()){n.setManagedItemInfo(O(e.managedItemInfo,t.managedItemInfo))}if(e.hasManagedFiles()||t.hasManagedFiles()){n.setManagedFiles(T(e.managedFiles,t.managedFiles))}if(e.hasManagedContexts()||t.hasManagedContexts()){n.setManagedContexts(T(e.managedContexts,t.managedContexts))}if(e.hasManagedMissing()||t.hasManagedMissing()){n.setManagedMissing(T(e.managedMissing,t.managedMissing))}if(e.hasChildren()||t.hasChildren()){n.setChildren(T(e.children,t.children))}if(this._snapshotCache.get(e)===true&&this._snapshotCache.get(t)===true){this._snapshotCache.set(n,true)}return n}checkSnapshotValid(e,t){const n=this._snapshotCache.get(e);if(n!==undefined){this._statTestedSnapshotsCached++;if(typeof n==="boolean"){t(null,n)}else{n.push(t)}return}this._statTestedSnapshotsNotCached++;this._checkSnapshotValidNoCache(e,t)}_checkSnapshotValidNoCache(e,t){let n=undefined;if(e.hasStartTime()){n=e.startTime}let s=1;const i=()=>{if(--s===0){this._snapshotCache.set(e,true);t(null,true)}};const o=()=>{if(s>0){s=-1e8;this._snapshotCache.set(e,false);t(null,false)}};const r=(e,t)=>{if(this._remainingLogs>0){this._log(e,`error occurred: %s`,t)}o()};const a=(e,t,n)=>{if(t!==n){if(this._remainingLogs>0){this._log(e,`hashes differ (%s != %s)`,t,n)}return false}return true};const c=(e,t,n)=>{if(!t!==!n){if(this._remainingLogs>0){this._log(e,t?"it didn't exist before":"it does no longer exist")}return false}return true};const u=(e,t,s,i=true)=>{if(t===s)return true;if(!t!==!s){if(i&&this._remainingLogs>0){this._log(e,t?"it didn't exist before":"it does no longer exist")}return false}if(t){if(typeof n==="number"&&t.safeTime>n){if(i&&this._remainingLogs>0){this._log(e,`it may have changed (%d) after the start time of the snapshot (%d)`,t.safeTime,n)}return false}if(s.timestamp!==undefined&&t.timestamp!==s.timestamp){if(i&&this._remainingLogs>0){this._log(e,`timestamps differ (%d != %d)`,t.timestamp,s.timestamp)}return false}if(s.timestampHash!==undefined&&t.timestampHash!==s.timestampHash){if(i&&this._remainingLogs>0){this._log(e,`timestamps hashes differ (%s != %s)`,t.timestampHash,s.timestampHash)}return false}}return true};if(e.hasChildren()){const t=(e,t)=>{if(e||!t)return o();else i()};for(const n of e.children){const e=this._snapshotCache.get(n);if(e!==undefined){this._statTestedChildrenCached++;if(typeof e==="boolean"){if(e===false){o();return}}else{s++;e.push(t)}}else{this._statTestedChildrenNotCached++;s++;this._checkSnapshotValidNoCache(n,t)}}}if(e.hasFileTimestamps()){const{fileTimestamps:t}=e;this._statTestedEntries+=t.size;for(const[e,n]of t){const t=this._fileTimestamps.get(e);if(t!==undefined){if(t!=="ignore"&&!u(e,t,n)){o();return}}else{s++;this.fileTimestampQueue.add(e,(t,s)=>{if(t)return r(e,t);if(!u(e,s,n)){o()}else{i()}})}}}const l=(e,t)=>{const n=this._fileHashes.get(e);if(n!==undefined){if(n!=="ignore"&&!a(e,n,t)){o();return}}else{s++;this.fileHashQueue.add(e,(n,s)=>{if(n)return r(e,n);if(!a(e,s,t)){o()}else{i()}})}};if(e.hasFileHashes()){const{fileHashes:t}=e;this._statTestedEntries+=t.size;for(const[e,n]of t){l(e,n)}}if(e.hasFileTshs()){const{fileTshs:t}=e;this._statTestedEntries+=t.size;for(const[e,n]of t){if(typeof n==="string"){l(e,n)}else{const t=this._fileTimestamps.get(e);if(t!==undefined){if(t==="ignore"||!u(e,t,n,false)){l(e,n.hash)}}else{s++;this.fileTimestampQueue.add(e,(t,s)=>{if(t)return r(e,t);if(!u(e,s,n,false)){l(e,n.hash)}i()})}}}}if(e.hasContextTimestamps()){const{contextTimestamps:t}=e;this._statTestedEntries+=t.size;for(const[e,n]of t){const t=this._contextTimestamps.get(e);if(t!==undefined){if(t!=="ignore"&&!u(e,t,n)){o();return}}else{s++;this.contextTimestampQueue.add(e,(t,s)=>{if(t)return r(e,t);if(!u(e,s,n)){o()}else{i()}})}}}const d=(e,t)=>{const n=this._contextHashes.get(e);if(n!==undefined){if(n!=="ignore"&&!a(e,n,t)){o();return}}else{s++;this.contextHashQueue.add(e,(n,s)=>{if(n)return r(e,n);if(!a(e,s,t)){o()}else{i()}})}};if(e.hasContextHashes()){const{contextHashes:t}=e;this._statTestedEntries+=t.size;for(const[e,n]of t){d(e,n)}}if(e.hasContextTshs()){const{contextTshs:t}=e;this._statTestedEntries+=t.size;for(const[e,n]of t){if(typeof n==="string"){d(e,n)}else{const t=this._contextTimestamps.get(e);if(t!==undefined){if(t==="ignore"||!u(e,t,n,false)){d(e,n.hash)}}else{s++;this.contextTimestampQueue.add(e,(t,s)=>{if(t)return r(e,t);if(!u(e,s,n,false)){d(e,n.hash)}i()})}}}}if(e.hasMissingExistence()){const{missingExistence:t}=e;this._statTestedEntries+=t.size;for(const[e,n]of t){const t=this._fileTimestamps.get(e);if(t!==undefined){if(t!=="ignore"&&!c(e,$(t),n)){o();return}}else{s++;this.fileTimestampQueue.add(e,(t,s)=>{if(t)return r(e,t);if(!c(e,$(s),n)){o()}else{i()}})}}}if(e.hasManagedItemInfo()){const{managedItemInfo:t}=e;this._statTestedEntries+=t.size;for(const[e,n]of t){const t=this._managedItems.get(e);if(t!==undefined){if(!a(e,t,n)){o();return}}else{s++;this.managedItemQueue.add(e,(t,s)=>{if(t)return r(e,t);if(!a(e,s,n)){o()}else{i()}})}}}i();if(s>0){const n=[t];t=((e,t)=>{for(const s of n)s(e,t)});this._snapshotCache.set(e,n)}}_readFileTimestamp(e,t){this.fs.stat(e,(n,s)=>{if(n){if(n.code==="ENOENT"){this._fileTimestamps.set(e,null);this._cachedDeprecatedFileTimestamps=undefined;return t(null,null)}return t(n)}let i;if(s.isDirectory()){i={safeTime:0,timestamp:undefined}}else{const e=+s.mtime;if(e)S(e);i={safeTime:e?e+h:Infinity,timestamp:e}}this._fileTimestamps.set(e,i);this._cachedDeprecatedFileTimestamps=undefined;t(null,i)})}_readFileHash(e,t){this.fs.readFile(e,(n,s)=>{if(n){if(n.code==="EISDIR"){this._fileHashes.set(e,"directory");return t(null,"directory")}if(n.code==="ENOENT"){this._fileHashes.set(e,null);return t(null,null)}return t(n)}const i=r("md4");i.update(s);const o=i.digest("hex");this._fileHashes.set(e,o);t(null,o)})}_getFileTimestampAndHash(e,t){const n=n=>{const s=this._fileTimestamps.get(e);if(s!==undefined){if(s!=="ignore"){const i={...s,hash:n};this._fileTshs.set(e,i);return t(null,i)}else{this._fileTshs.set(e,n);return t(null,n)}}else{this.fileTimestampQueue.add(e,(s,i)=>{if(s){return t(s)}const o={...i,hash:n};this._fileTshs.set(e,o);return t(null,o)})}};const s=this._fileHashes.get(e);if(s!==undefined){n(s)}else{this.fileHashQueue.add(e,(e,s)=>{if(e){return t(e)}n(s)})}}_readContextTimestamp(e,t){this.fs.readdir(e,(n,s)=>{if(n){if(n.code==="ENOENT"){this._contextTimestamps.set(e,null);this._cachedDeprecatedContextTimestamps=undefined;return t(null,null)}return t(n)}s=s.map(e=>e.normalize("NFC")).filter(e=>!/^\./.test(e)).sort();i.map(s,(t,n)=>{const s=a(this.fs,e,t);this.fs.stat(s,(t,i)=>{if(t)return n(t);for(const t of this.immutablePathsWithSlash){if(e.startsWith(t)){return n(null,null)}}for(const t of this.managedPathsWithSlash){if(e.startsWith(t)){const e=P(t,s);if(e){return this.managedItemQueue.add(e,(e,t)=>{if(e)return n(e);return n(null,{safeTime:0,timestampHash:t})})}}}if(i.isFile()){return this.getFileTimestamp(s,n)}if(i.isDirectory()){this.contextTimestampQueue.increaseParallelism();this.getContextTimestamp(s,(e,t)=>{this.contextTimestampQueue.decreaseParallelism();n(e,t)});return}n(null,null)})},(n,i)=>{if(n)return t(n);const o=r("md4");for(const e of s)o.update(e);let a=0;for(const e of i){if(!e){o.update("n");continue}if(e.timestamp){o.update("f");o.update(`${e.timestamp}`)}else if(e.timestampHash){o.update("d");o.update(`${e.timestampHash}`)}if(e.safeTime){a=Math.max(a,e.safeTime)}}const c=o.digest("hex");const u={safeTime:a,timestampHash:c};this._contextTimestamps.set(e,u);this._cachedDeprecatedContextTimestamps=undefined;t(null,u)})})}_readContextHash(e,t){this.fs.readdir(e,(n,s)=>{if(n){if(n.code==="ENOENT"){this._contextHashes.set(e,null);return t(null,null)}return t(n)}s=s.map(e=>e.normalize("NFC")).filter(e=>!/^\./.test(e)).sort();i.map(s,(t,n)=>{const s=a(this.fs,e,t);this.fs.stat(s,(t,i)=>{if(t)return n(t);for(const t of this.immutablePathsWithSlash){if(e.startsWith(t)){return n(null,"")}}for(const t of this.managedPathsWithSlash){if(e.startsWith(t)){const e=P(t,s);if(e){return this.managedItemQueue.add(e,(e,t)=>{if(e)return n(e);n(null,t||"")})}}}if(i.isFile()){return this.getFileHash(s,(e,t)=>{n(e,t||"")})}if(i.isDirectory()){this.contextHashQueue.increaseParallelism();this.getContextHash(s,(e,t)=>{this.contextHashQueue.decreaseParallelism();n(e,t||"")});return}n(null,"")})},(n,i)=>{if(n)return t(n);const o=r("md4");for(const e of s)o.update(e);for(const e of i)o.update(e);const a=o.digest("hex");this._contextHashes.set(e,a);t(null,a)})})}_getContextTimestampAndHash(e,t){const n=n=>{const s=this._contextTimestamps.get(e);if(s!==undefined){if(s!=="ignore"){const i={...s,hash:n};this._contextTshs.set(e,i);return t(null,i)}else{this._contextTshs.set(e,n);return t(null,n)}}else{this.contextTimestampQueue.add(e,(s,i)=>{if(s){return t(s)}const o={...i,hash:n};this._contextTshs.set(e,o);return t(null,o)})}};const s=this._contextHashes.get(e);if(s!==undefined){n(s)}else{this.contextHashQueue.add(e,(e,s)=>{if(e){return t(e)}n(s)})}}_getManagedItemDirectoryInfo(e,t){this.fs.readdir(e,(n,s)=>{if(n){if(n.code==="ENOENT"||n.code==="ENOTDIR"){return t(null,f)}return t(n)}const i=new Set(s.map(t=>a(this.fs,e,t)));t(null,i)})}_getManagedItemInfo(e,t){const n=c(this.fs,e);this.managedItemDirectoryQueue.add(n,(n,s)=>{if(n){return t(n)}if(!s.has(e)){this._managedItems.set(e,"missing");return t(null,"missing")}if(e.endsWith("node_modules")&&(e.endsWith("/node_modules")||e.endsWith("\\node_modules"))){this._managedItems.set(e,"exists");return t(null,"exists")}const i=a(this.fs,e,"package.json");this.fs.readFile(i,(n,s)=>{if(n){if(n.code==="ENOENT"||n.code==="ENOTDIR"){this.fs.readdir(e,(n,s)=>{if(!n&&s.length===1&&s[0]==="node_modules"){this._managedItems.set(e,"nested");return t(null,"nested")}const i=`Managed item ${e} isn't a directory or doesn't contain a package.json`;this.logger.warn(i);return t(new Error(i))});return}return t(n)}let i;try{i=JSON.parse(s.toString("utf-8"))}catch(e){return t(e)}const o=`${i.name||""}@${i.version||""}`;this._managedItems.set(e,o);t(null,o)})})}getDeprecatedFileTimestamps(){if(this._cachedDeprecatedFileTimestamps!==undefined)return this._cachedDeprecatedFileTimestamps;const e=new Map;for(const[t,n]of this._fileTimestamps){if(n)e.set(t,typeof n==="object"?n.safeTime:null)}return this._cachedDeprecatedFileTimestamps=e}getDeprecatedContextTimestamps(){if(this._cachedDeprecatedContextTimestamps!==undefined)return this._cachedDeprecatedContextTimestamps;const e=new Map;for(const[t,n]of this._contextTimestamps){if(n)e.set(t,typeof n==="object"?n.safeTime:null)}return this._cachedDeprecatedContextTimestamps=e}}e.exports=FileSystemInfo;e.exports.Snapshot=Snapshot},58727:(e,t,n)=>{"use strict";const{getEntryRuntime:s,mergeRuntimeOwned:i}=n(17156);class FlagAllModulesAsUsedPlugin{constructor(e){this.explanation=e}apply(e){e.hooks.compilation.tap("FlagAllModulesAsUsedPlugin",e=>{const t=e.moduleGraph;e.hooks.optimizeDependencies.tap("FlagAllModulesAsUsedPlugin",n=>{let o=undefined;for(const[t,{options:n}]of e.entries){o=i(o,s(e,t,n))}for(const e of n){const n=t.getExportsInfo(e);n.setUsedInUnknownWay(o);t.addExtraReason(e,this.explanation);if(e.factoryMeta===undefined){e.factoryMeta={}}e.factoryMeta.sideEffectFree=false}})})}}e.exports=FlagAllModulesAsUsedPlugin},84506:(e,t,n)=>{"use strict";const s=n(36386);const i=n(65930);class FlagDependencyExportsPlugin{apply(e){e.hooks.compilation.tap("FlagDependencyExportsPlugin",e=>{const t=e.moduleGraph;const n=e.getCache("FlagDependencyExportsPlugin");e.hooks.finishModules.tapAsync("FlagDependencyExportsPlugin",(o,r)=>{const a=e.getLogger("webpack.FlagDependencyExportsPlugin");let c=0;let u=0;let l=0;let d=0;const p=new i;a.time("restore cached provided exports");s.each(o,(e,s)=>{if(e.buildInfo.cacheable!==true||typeof e.buildInfo.hash!=="string"){u++;p.enqueue(e);t.getExportsInfo(e).setHasProvideInfo();return s()}n.get(e.identifier(),e.buildInfo.hash,(n,i)=>{if(n)return s(n);if(i!==undefined){c++;t.getExportsInfo(e).restoreProvided(i)}else{l++;p.enqueue(e);t.getExportsInfo(e).setHasProvideInfo()}s()})},e=>{a.timeEnd("restore cached provided exports");if(e)return r(e);const i=new Set;const o=new Map;let h;let f;let m=true;let g=false;const y=e=>{for(const t of e.dependencies){v(t)}for(const t of e.blocks){y(t)}};const v=e=>{const n=e.getExports(t);if(!n)return;const s=n.exports;const i=n.canMangle;const r=n.from;const a=n.terminalBinding||false;const c=n.dependencies;if(s===true){if(f.setUnknownExportsProvided(i,n.excludeExports,r&&e,r)){g=true}}else if(Array.isArray(s)){const n=(s,c)=>{for(const u of c){let c;let l=i;let d=a;let p=undefined;let f=r;let m=undefined;if(typeof u==="string"){c=u}else{c=u.name;if(u.canMangle!==undefined)l=u.canMangle;if(u.export!==undefined)m=u.export;if(u.exports!==undefined)p=u.exports;if(u.from!==undefined)f=u.from;if(u.terminalBinding!==undefined)d=u.terminalBinding}const y=s.getExportInfo(c);if(y.provided===false){y.provided=true;g=true}if(y.canMangleProvide!==false&&l===false){y.canMangleProvide=false;g=true}if(d&&!y.terminalBinding){y.terminalBinding=true;g=true}if(p){const e=y.createNestedExportsInfo();n(e,p)}if(f&&y.setTarget(e,f,m===undefined?[c]:m)){g=true}const v=y.getTarget(t);let b=undefined;if(v){const e=t.getExportsInfo(v.module);b=e.getNestedExportsInfo(v.export);const n=o.get(v.module);if(n===undefined){o.set(v.module,new Set([h]))}else{n.add(h)}}if(y.exportsInfoOwned){if(y.exportsInfo.setRedirectNamedTo(b)){g=true}}else if(y.exportsInfo!==b){y.exportsInfo=b;g=true}}};n(f,s)}if(c){m=false;for(const e of c){const t=o.get(e);if(t===undefined){o.set(e,new Set([h]))}else{t.add(h)}}}};const b=()=>{const e=o.get(h);if(e!==undefined){for(const t of e){p.enqueue(t)}}};a.time("figure out provided exports");while(p.length>0){h=p.dequeue();d++;f=t.getExportsInfo(h);if(!h.buildMeta||!h.buildMeta.exportsType){if(f.otherExportsInfo.provided!==null){f.setUnknownExportsProvided();i.add(h);b()}}else{m=true;g=false;y(h);if(m){i.add(h)}if(g){b()}}}a.timeEnd("figure out provided exports");a.log(`${Math.round(100-100*c/(c+l+u))}% of exports of modules have been determined (${l} not cached, ${u} flagged uncacheable, ${c} from cache, ${d-l-u} additional calculations due to dependencies)`);a.time("store provided exports into cache");s.each(i,(e,s)=>{if(e.buildInfo.cacheable!==true||typeof e.buildInfo.hash!=="string"){return s()}n.store(e.identifier(),e.buildInfo.hash,t.getExportsInfo(e).getRestoreProvidedData(),s)},e=>{a.timeEnd("store provided exports into cache");r(e)})})});const o=new WeakMap;e.hooks.rebuildModule.tap("FlagDependencyExportsPlugin",e=>{o.set(e,t.getExportsInfo(e).getRestoreProvidedData())});e.hooks.finishRebuildingModule.tap("FlagDependencyExportsPlugin",e=>{t.getExportsInfo(e).restoreProvided(o.get(e))})})}}e.exports=FlagDependencyExportsPlugin},58812:(e,t,n)=>{"use strict";const s=n(54912);const{UsageState:i}=n(63686);const o=n(40639);const{STAGE_DEFAULT:r}=n(80057);const a=n(38415);const{getEntryRuntime:c,mergeRuntimeOwned:u}=n(17156);const{NO_EXPORTS_REFERENCED:l,EXPORTS_OBJECT_REFERENCED:d}=s;class FlagDependencyUsagePlugin{constructor(e){this.global=e}apply(e){e.hooks.compilation.tap("FlagDependencyUsagePlugin",e=>{const t=e.moduleGraph;e.hooks.optimizeDependencies.tap({name:"FlagDependencyUsagePlugin",stage:r},n=>{const s=e.getLogger("webpack.FlagDependencyUsagePlugin");const r=new Map;const p=new a;const h=(e,n,s,o)=>{const a=t.getExportsInfo(e);if(n.length>0){if(!e.buildMeta||!e.buildMeta.exportsType){if(a.setUsedWithoutInfo(s)){p.enqueue(e,s)}return}for(const t of n){let n;let o=true;if(Array.isArray(t)){n=t}else{n=t.name;o=t.canMangle!==false}if(n.length===0){if(a.setUsedInUnknownWay(s)){p.enqueue(e,s)}}else{let t=a;for(let c=0;ce===i.Unused,i.OnlyPropertiesUsed,s)){const n=t===a?e:r.get(t);if(n){p.enqueue(n,s)}}t=n;continue}}if(u.setUsedConditionally(e=>e!==i.Used,i.Used,s)){const n=t===a?e:r.get(t);if(n){p.enqueue(n,s)}}break}}}}else{if(!o&&e.factoryMeta!==undefined&&e.factoryMeta.sideEffectFree){return}if(a.setUsedForSideEffectsOnly(s)){p.enqueue(e,s)}}};const f=(n,s)=>{const i=new Map;const r=[n];for(const n of r){for(const e of n.blocks){if(!this.global&&e.groupOptions&&e.groupOptions.entryOptions){f(e,e.groupOptions.entryOptions.runtime)}else{r.push(e)}}for(const r of n.dependencies){const n=t.getConnection(r);if(!n||!n.module){continue}const a=n.getActiveState(s);if(a===false)continue;const{module:c}=n;if(a===o.TRANSITIVE_ONLY){f(c,s);continue}const u=i.get(c);if(u===d){continue}const p=e.getDependencyReferencedExports(r,s);if(u===undefined||u===l||p===d){i.set(c,p)}else if(u!==undefined&&p===l){continue}else{let e;if(Array.isArray(u)){e=new Map;for(const t of u){if(Array.isArray(t)){e.set(t.join("\n"),t)}else{e.set(t.name.join("\n"),t)}}i.set(c,e)}else{e=u}for(const t of p){if(Array.isArray(t)){const n=t.join("\n");const s=e.get(n);if(s===undefined){e.set(n,t)}}else{const n=t.name.join("\n");const s=e.get(n);if(s===undefined||Array.isArray(s)){e.set(n,t)}else{e.set(n,{name:t.name,canMangle:t.canMangle&&s.canMangle})}}}}}}for(const[e,t]of i){if(Array.isArray(t)){h(e,t,s,false)}else{h(e,Array.from(t.values()),s,false)}}};s.time("initialize exports usage");for(const e of n){const n=t.getExportsInfo(e);r.set(n,e);n.setHasUseInfo()}s.timeEnd("initialize exports usage");s.time("trace exports usage in graph");const m=(e,n)=>{const s=t.getModule(e);if(s){h(s,l,n,true)}};let g=undefined;for(const[t,{dependencies:n,includeDependencies:s,options:i}]of e.entries){const o=this.global?undefined:c(e,t,i);for(const e of n){m(e,o)}for(const e of s){m(e,o)}g=u(g,o)}for(const t of e.globalEntry.dependencies){m(t,g)}for(const t of e.globalEntry.includeDependencies){m(t,g)}while(p.length){const[e,t]=p.dequeue();f(e,t)}s.timeEnd("trace exports usage in graph")})})}}e.exports=FlagDependencyUsagePlugin},79139:(e,t,n)=>{"use strict";const s=n(38988);class FlagUsingEvalPlugin{apply(e){e.hooks.compilation.tap("FlagUsingEvalPlugin",(e,{normalModuleFactory:t})=>{const n=e=>{e.hooks.call.for("eval").tap("FlagUsingEvalPlugin",()=>{e.state.module.buildInfo.moduleConcatenationBailout="eval()";e.state.module.buildInfo.usingEval=true;s.bailout(e.state)})};t.hooks.parser.for("javascript/auto").tap("FlagUsingEvalPlugin",n);t.hooks.parser.for("javascript/dynamic").tap("FlagUsingEvalPlugin",n);t.hooks.parser.for("javascript/esm").tap("FlagUsingEvalPlugin",n)})}}e.exports=FlagUsingEvalPlugin},93401:(e,t,n)=>{"use strict";class Generator{static byType(e){return new ByTypeGenerator(e)}getTypes(e){const t=n(77198);throw new t}getSize(e,t){const s=n(77198);throw new s}generate(e,{dependencyTemplates:t,runtimeTemplate:s,moduleGraph:i,type:o}){const r=n(77198);throw new r}getConcatenationBailoutReason(e,t){return`Module Concatenation is not implemented for ${this.constructor.name}`}updateHash(e,{module:t,runtime:n}){}}class ByTypeGenerator extends Generator{constructor(e){super();this.map=e;this._types=new Set(Object.keys(e))}getTypes(e){return this._types}getSize(e,t){const n=t||"javascript";const s=this.map[n];return s?s.getSize(e,n):0}generate(e,t){const n=t.type;const s=this.map[n];if(!s){throw new Error(`Generator.byType: no generator specified for ${n}`)}return s.generate(e,t)}}e.exports=Generator},37234:(e,t)=>{"use strict";const n=(e,t)=>{if(e.pushChunk(t)){t.addGroup(e)}};const s=(e,t)=>{if(e.addChild(t)){t.addParent(e)}};t.connectChunkGroupAndChunk=n;t.connectChunkGroupParentAndChild=s},97511:(e,t,n)=>{"use strict";const s=n(53799);e.exports=class HarmonyLinkingError extends s{constructor(e){super(e);this.name="HarmonyLinkingError";this.hideStack=true;Error.captureStackTrace(this,this.constructor)}}},11351:(e,t,n)=>{"use strict";const s=n(53799);class HookWebpackError extends s{constructor(e,t){super(e.message);this.name="HookWebpackError";this.hook=t;this.error=e;this.hideStack=true;this.details=`caused by plugins in ${t}\n${e.stack}`;Error.captureStackTrace(this,this.constructor);this.stack+=`\n-- inner error --\n${e.stack}`}}e.exports=HookWebpackError;const i=(e,t)=>{if(e instanceof s)return e;return new HookWebpackError(e,t)};e.exports.makeWebpackError=i;const o=(e,t)=>{return(n,i)=>{if(n){if(n instanceof s){e(n);return}e(new HookWebpackError(n,t));return}e(null,i)}};e.exports.makeWebpackErrorCallback=o;const r=(e,t)=>{let n;try{n=e()}catch(e){if(e instanceof s){throw e}throw new HookWebpackError(e,t)}return n};e.exports.tryRunOrWebpackError=r},6404:(e,t,n)=>{"use strict";const{SyncBailHook:s}=n(6967);const{RawSource:i}=n(84697);const o=n(64971);const r=n(85720);const a=n(9597);const c=n(39);const u=n(16475);const l=n(53799);const d=n(76911);const p=n(51274);const h=n(53141);const f=n(47511);const m=n(86301);const g=n(27899);const y=n(29050);const{evaluateToIdentifier:v}=n(93998);const{find:b,isSubset:k}=n(93347);const w=n(76455);const{compareModulesById:x}=n(29579);const{getRuntimeKey:C,keyToRuntime:M,forEachRuntime:S,mergeRuntimeOwned:O,subtractRuntime:T}=n(17156);const P=new WeakMap;class HotModuleReplacementPlugin{static getParserHooks(e){if(!(e instanceof y)){throw new TypeError("The 'parser' argument must be an instance of JavascriptParser")}let t=P.get(e);if(t===undefined){t={hotAcceptCallback:new s(["expression","requests"]),hotAcceptWithoutCallback:new s(["expression","requests"])};P.set(e,t)}return t}constructor(e){this.options=e||{}}apply(e){const t=[u.module];const n=(e,n)=>{const{hotAcceptCallback:s,hotAcceptWithoutCallback:i}=HotModuleReplacementPlugin.getParserHooks(e);return o=>{const r=e.state.module;const a=new d(`${r.moduleArgument}.hot.accept`,o.callee.range,t);a.loc=o.loc;r.addPresentationalDependency(a);r.buildInfo.moduleConcatenationBailout="Hot Module Replacement";if(o.arguments.length>=1){const t=e.evaluateExpression(o.arguments[0]);let a=[];let c=[];if(t.isString()){a=[t]}else if(t.isArray()){a=t.items.filter(e=>e.isString())}if(a.length>0){a.forEach((e,t)=>{const s=e.string;const i=new n(s,e.range);i.optional=true;i.loc=Object.create(o.loc);i.loc.index=t;r.addDependency(i);c.push(s)});if(o.arguments.length>1){s.call(o.arguments[1],c);e.walkExpression(o.arguments[1]);return true}else{i.call(o,c);return true}}}e.walkExpressions(o.arguments);return true}};const s=(e,n)=>s=>{const i=e.state.module;const o=new d(`${i.moduleArgument}.hot.decline`,s.callee.range,t);o.loc=s.loc;i.addPresentationalDependency(o);i.buildInfo.moduleConcatenationBailout="Hot Module Replacement";if(s.arguments.length===1){const t=e.evaluateExpression(s.arguments[0]);let o=[];if(t.isString()){o=[t]}else if(t.isArray()){o=t.items.filter(e=>e.isString())}o.forEach((e,t)=>{const o=new n(e.string,e.range);o.optional=true;o.loc=Object.create(s.loc);o.loc.index=t;i.addDependency(o)})}return true};const y=e=>n=>{const s=e.state.module;const i=new d(`${s.moduleArgument}.hot`,n.range,t);i.loc=n.loc;s.addPresentationalDependency(i);s.buildInfo.moduleConcatenationBailout="Hot Module Replacement";return true};const P=e=>{e.hooks.evaluateIdentifier.for("module.hot").tap({name:"HotModuleReplacementPlugin",before:"NodeStuffPlugin"},e=>{return v("module.hot","module",()=>["hot"],true)(e)});e.hooks.call.for("module.hot.accept").tap("HotModuleReplacementPlugin",n(e,f));e.hooks.call.for("module.hot.decline").tap("HotModuleReplacementPlugin",s(e,m));e.hooks.expression.for("module.hot").tap("HotModuleReplacementPlugin",y(e))};const $=e=>{e.hooks.evaluateIdentifier.for("import.meta.webpackHot").tap("HotModuleReplacementPlugin",e=>{return v("import.meta.webpackHot","import.meta",()=>["webpackHot"],true)(e)});e.hooks.call.for("import.meta.webpackHot.accept").tap("HotModuleReplacementPlugin",n(e,p));e.hooks.call.for("import.meta.webpackHot.decline").tap("HotModuleReplacementPlugin",s(e,h));e.hooks.expression.for("import.meta.webpackHot").tap("HotModuleReplacementPlugin",y(e))};e.hooks.compilation.tap("HotModuleReplacementPlugin",(t,{normalModuleFactory:n})=>{if(t.compiler!==e)return;t.dependencyFactories.set(f,n);t.dependencyTemplates.set(f,new f.Template);t.dependencyFactories.set(m,n);t.dependencyTemplates.set(m,new m.Template);t.dependencyFactories.set(p,n);t.dependencyTemplates.set(p,new p.Template);t.dependencyFactories.set(h,n);t.dependencyTemplates.set(h,new h.Template);let s=0;const d={};const y={};t.hooks.record.tap("HotModuleReplacementPlugin",(e,t)=>{if(t.hash===e.hash)return;const n=e.chunkGraph;t.hash=e.hash;t.hotIndex=s;t.fullHashChunkModuleHashes=d;t.chunkModuleHashes=y;t.chunkHashs={};t.chunkRuntime={};for(const n of e.chunks){t.chunkHashs[n.id]=n.hash;t.chunkRuntime[n.id]=C(n.runtime)}t.chunkModuleIds={};for(const s of e.chunks){t.chunkModuleIds[s.id]=Array.from(n.getOrderedChunkModulesIterable(s,x(n)),e=>n.getModuleId(e))}});const v=new w;const F=new w;t.hooks.fullHash.tap("HotModuleReplacementPlugin",e=>{const n=t.chunkGraph;const i=t.records;for(const e of t.chunks){const t=new Set;const s=n.getChunkFullHashModulesIterable(e);if(s!==undefined){for(const n of s){F.add(n,e);t.add(n)}}const o=n.getChunkModulesIterable(e);if(o!==undefined){if(i.chunkModuleHashes&&i.fullHashChunkModuleHashes){for(const s of o){const o=`${e.id}|${s.identifier()}`;const r=n.getModuleHash(s,e.runtime);if(t.has(s)){if(i.fullHashChunkModuleHashes[o]!==r){v.add(s,e)}d[o]=r}else{if(i.chunkModuleHashes[o]!==r){v.add(s,e)}y[o]=r}}}else{for(const s of o){const i=`${e.id}|${s.identifier()}`;const o=n.getModuleHash(s,e.runtime);if(t.has(s)){d[i]=o}else{y[i]=o}}}}}s=i.hotIndex||0;if(v.size>0)s++;e.update(`${s}`)});t.hooks.processAssets.tap({name:"HotModuleReplacementPlugin",stage:r.PROCESS_ASSETS_STAGE_ADDITIONAL},()=>{const e=t.chunkGraph;const n=t.records;if(n.hash===t.hash)return;if(!n.chunkModuleHashes||!n.chunkHashs||!n.chunkModuleIds){return}for(const[t,s]of F){const i=`${s.id}|${t.identifier()}`;const o=e.getModuleHash(t,s.runtime);if(n.chunkModuleHashes[i]!==o){v.add(t,s)}y[i]=o}const s=new Map;let r;for(const e of Object.keys(n.chunkRuntime)){const t=M(n.chunkRuntime[e]);r=O(r,t)}S(r,e=>{const{path:i,info:o}=t.getPathWithInfo(t.outputOptions.hotUpdateMainFilename,{hash:n.hash,runtime:e});s.set(e,{updatedChunkIds:new Set,removedChunkIds:new Set,removedModules:new Set,filename:i,assetInfo:o})});if(s.size===0)return;const c=new Map;for(const n of t.modules){const t=e.getModuleId(n);c.set(t,n)}const u=new Set;for(const i of Object.keys(n.chunkHashs)){const r=M(n.chunkRuntime[i]);const l=[];for(const e of n.chunkModuleIds[i]){const t=c.get(e);if(t===undefined){u.add(e)}else{l.push(t)}}let d;let p;let h;let f;let m;let g;const y=b(t.chunks,e=>`${e.id}`===i);if(y){d=y.id;m=y.runtime;p=e.getChunkModules(y).filter(e=>v.has(e,y));h=Array.from(e.getChunkRuntimeModulesIterable(y)).filter(e=>v.has(e,y));const t=e.getChunkFullHashModulesIterable(y);f=t&&Array.from(t).filter(e=>v.has(e,y));g=T(r,m)}else{d=`${+i}`===i?+i:i;g=r;m=r}if(g){S(g,e=>{s.get(e).removedChunkIds.add(d)});for(const t of l){const o=`${i}|${t.identifier()}`;const a=n.chunkModuleHashes[o];const c=e.getModuleRuntimes(t);if(r===m&&c.has(m)){const n=e.getModuleHash(t,m);if(n!==a){if(t.type==="runtime"){h=h||[];h.push(t)}else{p=p||[];p.push(t)}}}else{S(g,e=>{for(const t of c){if(typeof t==="string"){if(t===e)return}else if(t!==undefined){if(t.has(e))return}}s.get(e).removedModules.add(t)})}}}if(p&&p.length>0||h&&h.length>0){const i=new a;o.setChunkGraphForChunk(i,e);i.id=d;i.runtime=m;if(y){for(const e of y.groupsIterable)i.addGroup(e)}e.attachModules(i,p||[]);e.attachRuntimeModules(i,h||[]);if(f){e.attachFullHashModules(i,f)}const r=t.getRenderManifest({chunk:i,hash:n.hash,fullHash:n.hash,outputOptions:t.outputOptions,moduleTemplates:t.moduleTemplates,dependencyTemplates:t.dependencyTemplates,codeGenerationResults:t.codeGenerationResults,runtimeTemplate:t.runtimeTemplate,moduleGraph:t.moduleGraph,chunkGraph:e});for(const e of r){let n;let s;if("filename"in e){n=e.filename;s=e.info}else{({path:n,info:s}=t.getPathWithInfo(e.filenameTemplate,e.pathOptions))}const i=e.render();t.additionalChunkAssets.push(n);t.emitAsset(n,i,{hotModuleReplacement:true,...s});if(y){y.files.add(n);t.hooks.chunkAsset.call(y,n)}}S(m,e=>{s.get(e).updatedChunkIds.add(d)})}}const d=Array.from(u);const p=new Map;for(const{removedChunkIds:e,removedModules:n,updatedChunkIds:i,filename:o,assetInfo:r}of s.values()){const s=p.get(o);if(s&&(!k(s.removedChunkIds,e)||!k(s.removedModules,n)||!k(s.updatedChunkIds,i))){t.warnings.push(new l(`HotModuleReplacementPlugin\nThe configured output.hotUpdateMainFilename doesn't lead to unique filenames per runtime and HMR update differs between runtimes.\nThis might lead to incorrect runtime behavior of the applied update.\nTo fix this, make sure to include [runtime] in the output.hotUpdateMainFilename option, or use the default config.`));for(const t of e)s.removedChunkIds.add(t);for(const e of n)s.removedModules.add(e);for(const e of i)s.updatedChunkIds.add(e);continue}p.set(o,{removedChunkIds:e,removedModules:n,updatedChunkIds:i,assetInfo:r})}for(const[n,{removedChunkIds:s,removedModules:o,updatedChunkIds:r,assetInfo:a}]of p){const c={c:Array.from(r),r:Array.from(s),m:o.size===0?d:d.concat(Array.from(o,t=>e.getModuleId(t)))};const u=new i(JSON.stringify(c));t.emitAsset(n,u,{hotModuleReplacement:true,...a})}});t.hooks.additionalTreeRuntimeRequirements.tap("HotModuleReplacementPlugin",(e,n)=>{n.add(u.hmrDownloadManifest);n.add(u.hmrDownloadUpdateHandlers);n.add(u.interceptModuleExecution);n.add(u.moduleCache);t.addRuntimeModule(e,new g)});n.hooks.parser.for("javascript/auto").tap("HotModuleReplacementPlugin",e=>{P(e);$(e)});n.hooks.parser.for("javascript/dynamic").tap("HotModuleReplacementPlugin",e=>{P(e)});n.hooks.parser.for("javascript/esm").tap("HotModuleReplacementPlugin",e=>{$(e)});c.getCompilationHooks(t).loader.tap("HotModuleReplacementPlugin",e=>{e.hot=true})})}}e.exports=HotModuleReplacementPlugin},9597:(e,t,n)=>{"use strict";const s=n(39385);class HotUpdateChunk extends s{constructor(){super()}}e.exports=HotUpdateChunk},84808:(e,t,n)=>{"use strict";const{validate:s}=n(33225);const i=n(51856);class IgnorePlugin{constructor(e){s(i,e,{name:"Ignore Plugin",baseDataPath:"options"});this.options=e;this.checkIgnore=this.checkIgnore.bind(this)}checkIgnore(e){if("checkResource"in this.options&&this.options.checkResource&&this.options.checkResource(e.request,e.context)){return false}if("resourceRegExp"in this.options&&this.options.resourceRegExp&&this.options.resourceRegExp.test(e.request)){if("contextRegExp"in this.options&&this.options.contextRegExp){if(this.options.contextRegExp.test(e.context)){return false}}else{return false}}}apply(e){e.hooks.normalModuleFactory.tap("IgnorePlugin",e=>{e.hooks.beforeResolve.tap("IgnorePlugin",this.checkIgnore)});e.hooks.contextModuleFactory.tap("IgnorePlugin",e=>{e.hooks.beforeResolve.tap("IgnorePlugin",this.checkIgnore)})}}e.exports=IgnorePlugin},7373:e=>{"use strict";class IgnoreWarningsPlugin{constructor(e){this._ignoreWarnings=e}apply(e){e.hooks.compilation.tap("IgnoreWarningsPlugin",e=>{e.hooks.processWarnings.tap("IgnoreWarningsPlugin",t=>{return t.filter(t=>{return!this._ignoreWarnings.some(n=>n(t,e))})})})}}e.exports=IgnoreWarningsPlugin},55870:(e,t,n)=>{"use strict";const{ConcatSource:s}=n(84697);const i=(e,t)=>[e,t];const o=([e,t],[n,s])=>{const i=e.stage-n.stage;if(i!==0)return i;const o=e.position-n.position;if(o!==0)return o;return t-s};class InitFragment{constructor(e,t,n,s,i){this.content=e;this.stage=t;this.position=n;this.key=s;this.endContent=i}getContent(e){return this.content}getEndContent(e){return this.endContent}static addToSource(e,t,n){if(t.length>0){const r=t.map(i).sort(o);const a=new Map;for(const[e]of r){if(typeof e.merge==="function"){const t=a.get(e.key);if(t!==undefined){a.set(e.key||Symbol(),e.merge(t));continue}}a.set(e.key||Symbol(),e)}const c=new s;const u=[];for(const e of a.values()){c.add(e.getContent(n));const t=e.getEndContent(n);if(t){u.push(t)}}c.add(e);for(const e of u.reverse()){c.add(e)}return c}else{return e}}}InitFragment.prototype.merge=undefined;InitFragment.STAGE_CONSTANTS=10;InitFragment.STAGE_ASYNC_BOUNDARY=20;InitFragment.STAGE_HARMONY_EXPORTS=30;InitFragment.STAGE_HARMONY_IMPORTS=40;InitFragment.STAGE_PROVIDES=50;InitFragment.STAGE_ASYNC_DEPENDENCIES=60;InitFragment.STAGE_ASYNC_HARMONY_IMPORTS=70;e.exports=InitFragment},93837:(e,t,n)=>{"use strict";const s=n(36386);const i=n(3979);const{compareModulesById:o}=n(29579);const{dirname:r,mkdirp:a}=n(17139);const c=(e,t)=>{for(const n of e){if(t(n))return true}return false};class LibManifestPlugin{constructor(e){this.options=e}apply(e){e.hooks.emit.tapAsync("LibManifestPlugin",(t,n)=>{const u=t.moduleGraph;s.forEach(Array.from(t.chunks),(n,s)=>{if(!n.canBeInitial()){s();return}const l=t.chunkGraph;const d=t.getPath(this.options.path,{chunk:n});const p=this.options.name&&t.getPath(this.options.name,{chunk:n});const h=Object.create(null);for(const t of l.getOrderedChunkModulesIterable(n,o(l))){if(this.options.entryOnly&&!c(u.getIncomingConnections(t),e=>e.dependency instanceof i)){continue}const n=t.libIdent({context:this.options.context||e.options.context,associatedObjectForCache:e.root});if(n){const e=u.getExportsInfo(t);const s=e.getProvidedExports();const i={id:l.getModuleId(t),buildMeta:t.buildMeta,exports:Array.isArray(s)?s:undefined};h[n]=i}}const f={name:p,type:this.options.type,content:h};const m=this.options.format?JSON.stringify(f,null,2):JSON.stringify(f);const g=Buffer.from(m,"utf8");a(e.intermediateFileSystem,r(e.intermediateFileSystem,d),t=>{if(t)return s(t);e.intermediateFileSystem.writeFile(d,g,s)})},n)})}}e.exports=LibManifestPlugin},14157:(e,t,n)=>{"use strict";const s=n(91452);class LibraryTemplatePlugin{constructor(e,t,n,s,i){this.library={type:t||"var",name:e,umdNamedDefine:n,auxiliaryComment:s,export:i}}apply(e){const{output:t}=e.options;t.library=this.library;new s(this.library.type).apply(e)}}e.exports=LibraryTemplatePlugin},22078:(e,t,n)=>{"use strict";const s=n(88821);const i=n(39);const{validate:o}=n(33225);const r=n(56086);class LoaderOptionsPlugin{constructor(e={}){o(r,e,{name:"Loader Options Plugin",baseDataPath:"options"});if(typeof e!=="object")e={};if(!e.test){e.test={test:()=>true}}this.options=e}apply(e){const t=this.options;e.hooks.compilation.tap("LoaderOptionsPlugin",e=>{i.getCompilationHooks(e).loader.tap("LoaderOptionsPlugin",(e,n)=>{const i=n.resource;if(!i)return;const o=i.indexOf("?");if(s.matchObject(t,o<0?i:i.substr(0,o))){for(const n of Object.keys(t)){if(n==="include"||n==="exclude"||n==="test"){continue}e[n]=t[n]}}})})}}e.exports=LoaderOptionsPlugin},86738:(e,t,n)=>{"use strict";const s=n(39);class LoaderTargetPlugin{constructor(e){this.target=e}apply(e){e.hooks.compilation.tap("LoaderTargetPlugin",e=>{s.getCompilationHooks(e).loader.tap("LoaderTargetPlugin",e=>{e.target=this.target})})}}e.exports=LoaderTargetPlugin},12856:(e,t,n)=>{"use strict";const{SyncWaterfallHook:s}=n(6967);const i=n(31669);const o=n(16475);const r=n(6157);const a=r(()=>n(89464));const c=r(()=>n(4607));const u=r(()=>n(19942));class MainTemplate{constructor(e,t){this._outputOptions=e||{};this.hooks=Object.freeze({renderManifest:{tap:i.deprecate((e,n)=>{t.hooks.renderManifest.tap(e,(e,t)=>{if(!t.chunk.hasRuntime())return e;return n(e,t)})},"MainTemplate.hooks.renderManifest is deprecated (use Compilation.hooks.renderManifest instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_MANIFEST")},modules:{tap:()=>{throw new Error("MainTemplate.hooks.modules has been removed (there is no replacement, please create an issue to request that)")}},moduleObj:{tap:()=>{throw new Error("MainTemplate.hooks.moduleObj has been removed (there is no replacement, please create an issue to request that)")}},require:{tap:i.deprecate((e,n)=>{a().getCompilationHooks(t).renderRequire.tap(e,n)},"MainTemplate.hooks.require is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderRequire instead)","DEP_WEBPACK_MAIN_TEMPLATE_REQUIRE")},beforeStartup:{tap:()=>{throw new Error("MainTemplate.hooks.beforeStartup has been removed (use RuntimeGlobals.startupOnlyBefore instead)")}},startup:{tap:()=>{throw new Error("MainTemplate.hooks.startup has been removed (use RuntimeGlobals.startup instead)")}},afterStartup:{tap:()=>{throw new Error("MainTemplate.hooks.afterStartup has been removed (use RuntimeGlobals.startupOnlyAfter instead)")}},render:{tap:i.deprecate((e,n)=>{a().getCompilationHooks(t).render.tap(e,(e,s)=>{if(s.chunkGraph.getNumberOfEntryModules(s.chunk)===0||!s.chunk.hasRuntime()){return e}return n(e,s.chunk,t.hash,t.moduleTemplates.javascript,t.dependencyTemplates)})},"MainTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER")},renderWithEntry:{tap:i.deprecate((e,n)=>{a().getCompilationHooks(t).render.tap(e,(e,s)=>{if(s.chunkGraph.getNumberOfEntryModules(s.chunk)===0||!s.chunk.hasRuntime()){return e}return n(e,s.chunk,t.hash)})},"MainTemplate.hooks.renderWithEntry is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_WITH_ENTRY")},assetPath:{tap:i.deprecate((e,n)=>{t.hooks.assetPath.tap(e,n)},"MainTemplate.hooks.assetPath is deprecated (use Compilation.hooks.assetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_ASSET_PATH"),call:i.deprecate((e,n)=>{return t.getAssetPath(e,n)},"MainTemplate.hooks.assetPath is deprecated (use Compilation.hooks.assetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_ASSET_PATH")},hash:{tap:i.deprecate((e,n)=>{t.hooks.fullHash.tap(e,n)},"MainTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_WEBPACK_MAIN_TEMPLATE_HASH")},hashForChunk:{tap:i.deprecate((e,n)=>{a().getCompilationHooks(t).chunkHash.tap(e,(e,t)=>{if(!e.hasRuntime())return;return n(t,e)})},"MainTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},globalHashPaths:{tap:i.deprecate(()=>{},"MainTemplate.hooks.globalHashPaths has been removed (it's no longer needed)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},globalHash:{tap:i.deprecate(()=>{},"MainTemplate.hooks.globalHash has been removed (it's no longer needed)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},hotBootstrap:{tap:()=>{throw new Error("MainTemplate.hooks.hotBootstrap has been removed (use your own RuntimeModule instead)")}},bootstrap:new s(["source","chunk","hash","moduleTemplate","dependencyTemplates"]),localVars:new s(["source","chunk","hash"]),requireExtensions:new s(["source","chunk","hash"]),requireEnsure:new s(["source","chunk","hash","chunkIdExpression"]),get jsonpScript(){const e=u().getCompilationHooks(t);return e.createScript},get linkPrefetch(){const e=c().getCompilationHooks(t);return e.linkPrefetch},get linkPreload(){const e=c().getCompilationHooks(t);return e.linkPreload}});this.renderCurrentHashCode=i.deprecate((e,t)=>{if(t){return`${o.getFullHash} ? ${o.getFullHash}().slice(0, ${t}) : ${e.slice(0,t)}`}return`${o.getFullHash} ? ${o.getFullHash}() : ${e}`},"MainTemplate.renderCurrentHashCode is deprecated (use RuntimeGlobals.getFullHash runtime function instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_CURRENT_HASH_CODE");this.getPublicPath=i.deprecate(e=>{return t.getAssetPath(t.outputOptions.publicPath,e)},"MainTemplate.getPublicPath is deprecated (use Compilation.getAssetPath(compilation.outputOptions.publicPath, options) instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_PUBLIC_PATH");this.getAssetPath=i.deprecate((e,n)=>{return t.getAssetPath(e,n)},"MainTemplate.getAssetPath is deprecated (use Compilation.getAssetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH");this.getAssetPathWithInfo=i.deprecate((e,n)=>{return t.getAssetPathWithInfo(e,n)},"MainTemplate.getAssetPathWithInfo is deprecated (use Compilation.getAssetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH_WITH_INFO")}}Object.defineProperty(MainTemplate.prototype,"requireFn",{get:i.deprecate(()=>"__webpack_require__",'MainTemplate.requireFn is deprecated (use "__webpack_require__")',"DEP_WEBPACK_MAIN_TEMPLATE_REQUIRE_FN")});Object.defineProperty(MainTemplate.prototype,"outputOptions",{get:i.deprecate(function(){return this._outputOptions},"MainTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)","DEP_WEBPACK_MAIN_TEMPLATE_OUTPUT_OPTIONS")});e.exports=MainTemplate},73208:(e,t,n)=>{"use strict";const s=n(31669);const i=n(64971);const o=n(71040);const r=n(99988);const a=n(16475);const{compareChunksById:c}=n(29579);const u=n(33032);const l={};let d=1e3;const p=new Set(["unknown"]);const h=new Set(["javascript"]);const f=s.deprecate((e,t)=>{return e.needRebuild(t.fileSystemInfo.getDeprecatedFileTimestamps(),t.fileSystemInfo.getDeprecatedContextTimestamps())},"Module.needRebuild is deprecated in favor of Module.needBuild","DEP_WEBPACK_MODULE_NEED_REBUILD");class Module extends o{constructor(e,t=null){super();this.type=e;this.context=t;this.needId=true;this.debugId=d++;this.resolveOptions=l;this.factoryMeta=undefined;this.useSourceMap=false;this.useSimpleSourceMap=false;this._warnings=undefined;this._errors=undefined;this.buildMeta=undefined;this.buildInfo=undefined;this.presentationalDependencies=undefined}get id(){return i.getChunkGraphForModule(this,"Module.id","DEP_WEBPACK_MODULE_ID").getModuleId(this)}set id(e){if(e===""){this.needId=false;return}i.getChunkGraphForModule(this,"Module.id","DEP_WEBPACK_MODULE_ID").setModuleId(this,e)}get hash(){return i.getChunkGraphForModule(this,"Module.hash","DEP_WEBPACK_MODULE_HASH").getModuleHash(this,undefined)}get renderedHash(){return i.getChunkGraphForModule(this,"Module.renderedHash","DEP_WEBPACK_MODULE_RENDERED_HASH").getRenderedModuleHash(this,undefined)}get profile(){return r.getModuleGraphForModule(this,"Module.profile","DEP_WEBPACK_MODULE_PROFILE").getProfile(this)}set profile(e){r.getModuleGraphForModule(this,"Module.profile","DEP_WEBPACK_MODULE_PROFILE").setProfile(this,e)}get index(){return r.getModuleGraphForModule(this,"Module.index","DEP_WEBPACK_MODULE_INDEX").getPreOrderIndex(this)}set index(e){r.getModuleGraphForModule(this,"Module.index","DEP_WEBPACK_MODULE_INDEX").setPreOrderIndex(this,e)}get index2(){return r.getModuleGraphForModule(this,"Module.index2","DEP_WEBPACK_MODULE_INDEX2").getPostOrderIndex(this)}set index2(e){r.getModuleGraphForModule(this,"Module.index2","DEP_WEBPACK_MODULE_INDEX2").setPostOrderIndex(this,e)}get depth(){return r.getModuleGraphForModule(this,"Module.depth","DEP_WEBPACK_MODULE_DEPTH").getDepth(this)}set depth(e){r.getModuleGraphForModule(this,"Module.depth","DEP_WEBPACK_MODULE_DEPTH").setDepth(this,e)}get issuer(){return r.getModuleGraphForModule(this,"Module.issuer","DEP_WEBPACK_MODULE_ISSUER").getIssuer(this)}set issuer(e){r.getModuleGraphForModule(this,"Module.issuer","DEP_WEBPACK_MODULE_ISSUER").setIssuer(this,e)}get usedExports(){return r.getModuleGraphForModule(this,"Module.usedExports","DEP_WEBPACK_MODULE_USED_EXPORTS").getUsedExports(this,undefined)}get optimizationBailout(){return r.getModuleGraphForModule(this,"Module.optimizationBailout","DEP_WEBPACK_MODULE_OPTIMIZATION_BAILOUT").getOptimizationBailout(this)}get optional(){return this.isOptional(r.getModuleGraphForModule(this,"Module.optional","DEP_WEBPACK_MODULE_OPTIONAL"))}addChunk(e){const t=i.getChunkGraphForModule(this,"Module.addChunk","DEP_WEBPACK_MODULE_ADD_CHUNK");if(t.isModuleInChunk(this,e))return false;t.connectChunkAndModule(e,this);return true}removeChunk(e){return i.getChunkGraphForModule(this,"Module.removeChunk","DEP_WEBPACK_MODULE_REMOVE_CHUNK").disconnectChunkAndModule(e,this)}isInChunk(e){return i.getChunkGraphForModule(this,"Module.isInChunk","DEP_WEBPACK_MODULE_IS_IN_CHUNK").isModuleInChunk(this,e)}isEntryModule(){return i.getChunkGraphForModule(this,"Module.isEntryModule","DEP_WEBPACK_MODULE_IS_ENTRY_MODULE").isEntryModule(this)}getChunks(){return i.getChunkGraphForModule(this,"Module.getChunks","DEP_WEBPACK_MODULE_GET_CHUNKS").getModuleChunks(this)}getNumberOfChunks(){return i.getChunkGraphForModule(this,"Module.getNumberOfChunks","DEP_WEBPACK_MODULE_GET_NUMBER_OF_CHUNKS").getNumberOfModuleChunks(this)}get chunksIterable(){return i.getChunkGraphForModule(this,"Module.chunksIterable","DEP_WEBPACK_MODULE_CHUNKS_ITERABLE").getOrderedModuleChunksIterable(this,c)}isProvided(e){return r.getModuleGraphForModule(this,"Module.usedExports","DEP_WEBPACK_MODULE_USED_EXPORTS").isExportProvided(this,e)}get exportsArgument(){return this.buildInfo&&this.buildInfo.exportsArgument||"exports"}get moduleArgument(){return this.buildInfo&&this.buildInfo.moduleArgument||"module"}getExportsType(e,t){switch(this.buildMeta&&this.buildMeta.exportsType){case"flagged":return t?"default-with-named":"namespace";case"namespace":return"namespace";case"default":switch(this.buildMeta.defaultObject){case"redirect":return"default-with-named";case"redirect-warn":return t?"default-only":"default-with-named";default:return"default-only"}case"dynamic":{if(t)return"default-with-named";const n=()=>{switch(this.buildMeta.defaultObject){case"redirect":case"redirect-warn":return"default-with-named";default:return"default-only"}};const s=e.getReadOnlyExportInfo(this,"__esModule");if(s.provided===false){return n()}const i=s.getTarget(e);if(!i||!i.export||i.export.length!==1||i.export[0]!=="__esModule"){return"dynamic"}switch(i.module.buildMeta&&i.module.buildMeta.exportsType){case"flagged":case"namespace":return"namespace";case"default":return n();default:return"dynamic"}}default:return t?"default-with-named":"dynamic"}}addPresentationalDependency(e){if(this.presentationalDependencies===undefined){this.presentationalDependencies=[]}this.presentationalDependencies.push(e)}clearDependenciesAndBlocks(){if(this.presentationalDependencies!==undefined){this.presentationalDependencies.length=0}super.clearDependenciesAndBlocks()}addWarning(e){if(this._warnings===undefined){this._warnings=[]}this._warnings.push(e)}getWarnings(){return this._warnings}getNumberOfWarnings(){return this._warnings!==undefined?this._warnings.length:0}addError(e){if(this._errors===undefined){this._errors=[]}this._errors.push(e)}getErrors(){return this._errors}getNumberOfErrors(){return this._errors!==undefined?this._errors.length:0}clearWarningsAndErrors(){if(this._warnings!==undefined){this._warnings.length=0}if(this._errors!==undefined){this._errors.length=0}}isOptional(e){let t=false;for(const n of e.getIncomingConnections(this)){if(!n.dependency||!n.dependency.optional||!n.isTargetActive(undefined)){return false}t=true}return t}isAccessibleInChunk(e,t,n){for(const n of t.groupsIterable){if(!this.isAccessibleInChunkGroup(e,n))return false}return true}isAccessibleInChunkGroup(e,t,n){const s=new Set([t]);e:for(const i of s){for(const t of i.chunks){if(t!==n&&e.isModuleInChunk(this,t))continue e}if(t.isInitial())return false;for(const e of t.parentsIterable)s.add(e)}return true}hasReasonForChunk(e,t,n){for(const s of t.getIncomingConnections(this)){if(!s.isTargetActive(e.runtime))continue;const t=s.originModule;for(const s of n.getModuleChunksIterable(t)){if(!this.isAccessibleInChunk(n,s,e))return true}}return false}hasReasons(e,t){for(const n of e.getIncomingConnections(this)){if(n.isTargetActive(t))return true}return false}toString(){return`Module[${this.debugId}: ${this.identifier()}]`}needBuild(e,t){t(null,!this.buildMeta||this.needRebuild===Module.prototype.needRebuild||f(this,e))}needRebuild(e,t){return true}updateHash(e,t={chunkGraph:i.getChunkGraphForModule(this,"Module.updateHash","DEP_WEBPACK_MODULE_UPDATE_HASH"),runtime:undefined}){const{chunkGraph:n,runtime:s}=t;e.update(`${n.getModuleId(this)}`);const o=n.moduleGraph.getExportsInfo(this);o.updateHash(e,s);if(this.presentationalDependencies!==undefined){for(const n of this.presentationalDependencies){n.updateHash(e,t)}}super.updateHash(e,t)}invalidateBuild(){}identifier(){const e=n(77198);throw new e}readableIdentifier(e){const t=n(77198);throw new t}build(e,t,s,i,o){const r=n(77198);throw new r}getSourceTypes(){if(this.source===Module.prototype.source){return p}else{return h}}source(e,t,s="javascript"){if(this.codeGeneration===Module.prototype.codeGeneration){const e=n(77198);throw new e}const o=i.getChunkGraphForModule(this,"Module.source() is deprecated. Use Compilation.codeGenerationResults.getSource(module, runtime, type) instead","DEP_WEBPACK_MODULE_SOURCE");const r={dependencyTemplates:e,runtimeTemplate:t,moduleGraph:o.moduleGraph,chunkGraph:o,runtime:undefined};const a=this.codeGeneration(r).sources;return s?a.get(s):a.get(this.getSourceTypes().values().next().value)}size(e){const t=n(77198);throw new t}libIdent(e){return null}nameForCondition(){return null}getConcatenationBailoutReason(e){return`Module Concatenation is not implemented for ${this.constructor.name}`}getSideEffectsConnectionState(e){return true}codeGeneration(e){const t=new Map;for(const n of this.getSourceTypes()){if(n!=="unknown"){t.set(n,this.source(e.dependencyTemplates,e.runtimeTemplate,n))}}return{sources:t,runtimeRequirements:new Set([a.module,a.exports,a.require])}}chunkCondition(e,t){return true}updateCacheModule(e){this.type=e.type;this.context=e.context;this.factoryMeta=e.factoryMeta;this.resolveOptions=e.resolveOptions}originalSource(){return null}addCacheDependencies(e,t,n,s){}serialize(e){const{write:t}=e;t(this.type);t(this.context);t(this.resolveOptions);t(this.factoryMeta);t(this.useSourceMap);t(this.useSimpleSourceMap);t(this._warnings!==undefined&&this._warnings.length===0?undefined:this._warnings);t(this._errors!==undefined&&this._errors.length===0?undefined:this._errors);t(this.buildMeta);t(this.buildInfo);t(this.presentationalDependencies);super.serialize(e)}deserialize(e){const{read:t}=e;this.type=t();this.context=t();this.resolveOptions=t();this.factoryMeta=t();this.useSourceMap=t();this.useSimpleSourceMap=t();this._warnings=t();this._errors=t();this.buildMeta=t();this.buildInfo=t();this.presentationalDependencies=t();super.deserialize(e)}}u(Module,"webpack/lib/Module");Object.defineProperty(Module.prototype,"hasEqualsChunks",{get(){throw new Error("Module.hasEqualsChunks was renamed (use hasEqualChunks instead)")}});Object.defineProperty(Module.prototype,"isUsed",{get(){throw new Error("Module.isUsed was renamed (use getUsedName, isExportUsed or isModuleUsed instead)")}});Object.defineProperty(Module.prototype,"errors",{get:s.deprecate(function(){if(this._errors===undefined){this._errors=[]}return this._errors},"Module.errors was removed (use getErrors instead)","DEP_WEBPACK_MODULE_ERRORS")});Object.defineProperty(Module.prototype,"warnings",{get:s.deprecate(function(){if(this._warnings===undefined){this._warnings=[]}return this._warnings},"Module.warnings was removed (use getWarnings instead)","DEP_WEBPACK_MODULE_WARNINGS")});Object.defineProperty(Module.prototype,"used",{get(){throw new Error("Module.used was refactored (use ModuleGraph.getUsedExports instead)")},set(e){throw new Error("Module.used was refactored (use ModuleGraph.setUsedExports instead)")}});e.exports=Module},21305:(e,t,n)=>{"use strict";const{cutOffLoaderExecution:s}=n(59985);const i=n(53799);const o=n(33032);class ModuleBuildError extends i{constructor(e,{from:t=null}={}){let n="Module build failed";let i=undefined;if(t){n+=` (from ${t}):\n`}else{n+=": "}if(e!==null&&typeof e==="object"){if(typeof e.stack==="string"&&e.stack){const t=s(e.stack);if(!e.hideStack){n+=t}else{i=t;if(typeof e.message==="string"&&e.message){n+=e.message}else{n+=e}}}else if(typeof e.message==="string"&&e.message){n+=e.message}else{n+=String(e)}}else{n+=String(e)}super(n);this.name="ModuleBuildError";this.details=i;this.error=e;Error.captureStackTrace(this,this.constructor)}serialize(e){const{write:t}=e;t(this.error);super.serialize(e)}deserialize(e){const{read:t}=e;this.error=t();super.deserialize(e)}}o(ModuleBuildError,"webpack/lib/ModuleBuildError");e.exports=ModuleBuildError},67409:(e,t,n)=>{"use strict";const s=n(53799);class ModuleDependencyError extends s{constructor(e,t,n){super(t.message);this.name="ModuleDependencyError";this.details=t.stack.split("\n").slice(1).join("\n");this.module=e;this.loc=n;this.error=t;Error.captureStackTrace(this,this.constructor)}}e.exports=ModuleDependencyError},29656:(e,t,n)=>{"use strict";const s=n(53799);e.exports=class ModuleDependencyWarning extends s{constructor(e,t,n){super(t.message);this.name="ModuleDependencyWarning";this.details=t.stack.split("\n").slice(1).join("\n");this.module=e;this.loc=n;this.error=t;Error.captureStackTrace(this,this.constructor)}}},23744:(e,t,n)=>{"use strict";const{cleanUp:s}=n(59985);const i=n(53799);const o=n(33032);class ModuleError extends i{constructor(e,{from:t=null}={}){let n="Module Error";if(t){n+=` (from ${t}):\n`}else{n+=": "}if(e&&typeof e==="object"&&e.message){n+=e.message}else if(e){n+=e}super(n);this.name="ModuleError";this.error=e;this.details=e&&typeof e==="object"&&e.stack?s(e.stack,this.message):undefined;Error.captureStackTrace(this,this.constructor)}serialize(e){const{write:t}=e;t(this.error);super.serialize(e)}deserialize(e){const{read:t}=e;this.error=t();super.deserialize(e)}}o(ModuleError,"webpack/lib/ModuleError");e.exports=ModuleError},51010:(e,t,n)=>{"use strict";class ModuleFactory{create(e,t){const s=n(77198);throw new s}}e.exports=ModuleFactory},88821:(e,t,n)=>{"use strict";const s=n(49835);const i=n(6157);const o=t;o.ALL_LOADERS_RESOURCE="[all-loaders][resource]";o.REGEXP_ALL_LOADERS_RESOURCE=/\[all-?loaders\]\[resource\]/gi;o.LOADERS_RESOURCE="[loaders][resource]";o.REGEXP_LOADERS_RESOURCE=/\[loaders\]\[resource\]/gi;o.RESOURCE="[resource]";o.REGEXP_RESOURCE=/\[resource\]/gi;o.ABSOLUTE_RESOURCE_PATH="[absolute-resource-path]";o.REGEXP_ABSOLUTE_RESOURCE_PATH=/\[abs(olute)?-?resource-?path\]/gi;o.RESOURCE_PATH="[resource-path]";o.REGEXP_RESOURCE_PATH=/\[resource-?path\]/gi;o.ALL_LOADERS="[all-loaders]";o.REGEXP_ALL_LOADERS=/\[all-?loaders\]/gi;o.LOADERS="[loaders]";o.REGEXP_LOADERS=/\[loaders\]/gi;o.QUERY="[query]";o.REGEXP_QUERY=/\[query\]/gi;o.ID="[id]";o.REGEXP_ID=/\[id\]/gi;o.HASH="[hash]";o.REGEXP_HASH=/\[hash\]/gi;o.NAMESPACE="[namespace]";o.REGEXP_NAMESPACE=/\[namespace\]/gi;const r=(e,t)=>{return()=>{const n=e();const s=n.indexOf(t);return s<0?"":n.substr(s)}};const a=(e,t)=>{return()=>{const n=e();const s=n.lastIndexOf(t);return s<0?"":n.substr(0,s)}};const c=e=>{return()=>{const t=s("md4");t.update(e());const n=t.digest("hex");return n.substr(0,4)}};const u=e=>{if(typeof e==="string"){e=new RegExp("^"+e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"))}return e};const l=e=>{const t={};for(const n of Object.keys(e)){const s=e[n];Object.defineProperty(t,n,{get:()=>s(),set:e=>{Object.defineProperty(t,n,{value:e,enumerable:true,writable:true})},enumerable:true,configurable:true})}return t};const d=/\[\\*([\w-]+)\\*\]/gi;o.createFilename=((e,t,{requestShortener:n,chunkGraph:s})=>{const u={namespace:"",moduleFilenameTemplate:"",...typeof t==="object"?t:{moduleFilenameTemplate:t}};let p;let h;let f;let m;let g;if(e===undefined)e="";if(typeof e==="string"){g=i(()=>n.shorten(e));f=g;m=(()=>"");p=(()=>e.split("!").pop());h=c(f)}else{g=i(()=>e.readableIdentifier(n));f=i(()=>n.shorten(e.identifier()));m=(()=>s.getModuleId(e));p=(()=>e.identifier().split("!").pop());h=c(f)}const y=i(()=>g().split("!").pop());const v=a(g,"!");const b=a(f,"!");const k=r(y,"?");const w=()=>{const e=k().length;return e===0?y():y().slice(0,-e)};if(typeof u.moduleFilenameTemplate==="function"){return u.moduleFilenameTemplate(l({identifier:f,shortIdentifier:g,resource:y,resourcePath:i(w),absoluteResourcePath:i(p),allLoaders:i(b),query:i(k),moduleId:i(m),hash:i(h),namespace:()=>u.namespace}))}const x=new Map([["identifier",f],["short-identifier",g],["resource",y],["resource-path",w],["resourcepath",w],["absolute-resource-path",p],["abs-resource-path",p],["absoluteresource-path",p],["absresource-path",p],["absolute-resourcepath",p],["abs-resourcepath",p],["absoluteresourcepath",p],["absresourcepath",p],["all-loaders",b],["allloaders",b],["loaders",v],["query",k],["id",m],["hash",h],["namespace",()=>u.namespace]]);return u.moduleFilenameTemplate.replace(o.REGEXP_ALL_LOADERS_RESOURCE,"[identifier]").replace(o.REGEXP_LOADERS_RESOURCE,"[short-identifier]").replace(d,(e,t)=>{if(t.length+2===e.length){const e=x.get(t.toLowerCase());if(e!==undefined){return e()}}else if(e.startsWith("[\\")&&e.endsWith("\\]")){return`[${e.slice(2,-2)}]`}return e})});o.replaceDuplicates=((e,t,n)=>{const s=Object.create(null);const i=Object.create(null);e.forEach((e,t)=>{s[e]=s[e]||[];s[e].push(t);i[e]=0});if(n){Object.keys(s).forEach(e=>{s[e].sort(n)})}return e.map((e,o)=>{if(s[e].length>1){if(n&&s[e][0]===o)return e;return t(e,o,i[e]++)}else{return e}})});o.matchPart=((e,t)=>{if(!t)return true;t=u(t);if(Array.isArray(t)){return t.map(u).some(t=>t.test(e))}else{return t.test(e)}});o.matchObject=((e,t)=>{if(e.test){if(!o.matchPart(t,e.test)){return false}}if(e.include){if(!o.matchPart(t,e.include)){return false}}if(e.exclude){if(o.matchPart(t,e.exclude)){return false}}return true})},99988:(e,t,n)=>{"use strict";const s=n(31669);const i=n(63686);const o=n(40639);const r=[];class ModuleGraphModule{constructor(){this.incomingConnections=new Set;this.outgoingConnections=undefined;this.issuer=undefined;this.optimizationBailout=[];this.exports=new i;this.preOrderIndex=null;this.postOrderIndex=null;this.depth=null;this.profile=undefined;this.async=false}}class ModuleGraphDependency{constructor(){this.connection=undefined;this.parentModule=undefined;this.parentBlock=undefined}}class ModuleGraph{constructor(){this._dependencyMap=new Map;this._moduleMap=new Map;this._originMap=new Map;this._metaMap=new Map;this._cacheModuleGraphModuleKey1=undefined;this._cacheModuleGraphModuleValue1=undefined;this._cacheModuleGraphModuleKey2=undefined;this._cacheModuleGraphModuleValue2=undefined;this._cacheModuleGraphDependencyKey=undefined;this._cacheModuleGraphDependencyValue=undefined}_getModuleGraphModule(e){if(this._cacheModuleGraphModuleKey1===e)return this._cacheModuleGraphModuleValue1;if(this._cacheModuleGraphModuleKey2===e)return this._cacheModuleGraphModuleValue2;let t=this._moduleMap.get(e);if(t===undefined){t=new ModuleGraphModule;this._moduleMap.set(e,t)}this._cacheModuleGraphModuleKey2=this._cacheModuleGraphModuleKey1;this._cacheModuleGraphModuleValue2=this._cacheModuleGraphModuleValue1;this._cacheModuleGraphModuleKey1=e;this._cacheModuleGraphModuleValue1=t;return t}_getModuleGraphDependency(e){if(this._cacheModuleGraphDependencyKey===e)return this._cacheModuleGraphDependencyValue;let t=this._dependencyMap.get(e);if(t===undefined){t=new ModuleGraphDependency;this._dependencyMap.set(e,t)}this._cacheModuleGraphDependencyKey=e;this._cacheModuleGraphDependencyValue=t;return t}setParents(e,t,n){const s=this._getModuleGraphDependency(e);s.parentBlock=t;s.parentModule=n}getParentModule(e){const t=this._getModuleGraphDependency(e);return t.parentModule}getParentBlock(e){const t=this._getModuleGraphDependency(e);return t.parentBlock}setResolvedModule(e,t,n){const s=new o(e,t,n,undefined,t.weak,t.getCondition(this));const i=this._getModuleGraphDependency(t);i.connection=s;const r=this._getModuleGraphModule(n).incomingConnections;r.add(s);const a=this._getModuleGraphModule(e);if(a.outgoingConnections===undefined){a.outgoingConnections=new Set}a.outgoingConnections.add(s)}updateModule(e,t){const n=this._getModuleGraphDependency(e);if(n.connection.module===t)return;const{connection:s}=n;const i=s.clone();i.module=t;n.connection=i;s.setActive(false);const o=this._getModuleGraphModule(s.originModule);o.outgoingConnections.add(i);const r=this._getModuleGraphModule(t);r.incomingConnections.add(i)}removeConnection(e){const t=this._getModuleGraphDependency(e);const{connection:n}=t;const s=this._getModuleGraphModule(n.module);s.incomingConnections.delete(n);const i=this._getModuleGraphModule(n.originModule);i.outgoingConnections.delete(n);t.connection=undefined}addExplanation(e,t){const{connection:n}=this._getModuleGraphDependency(e);n.addExplanation(t)}cloneModuleAttributes(e,t){const n=this._getModuleGraphModule(e);const s=this._getModuleGraphModule(t);s.postOrderIndex=n.postOrderIndex;s.preOrderIndex=n.preOrderIndex;s.depth=n.depth;s.exports=n.exports;s.async=n.async}removeModuleAttributes(e){const t=this._getModuleGraphModule(e);t.postOrderIndex=null;t.preOrderIndex=null;t.depth=null;t.async=false}removeAllModuleAttributes(){for(const e of this._moduleMap.values()){e.postOrderIndex=null;e.preOrderIndex=null;e.depth=null;e.async=false}}moveModuleConnections(e,t,n){if(e===t)return;const s=this._getModuleGraphModule(e);const i=this._getModuleGraphModule(t);const o=s.outgoingConnections;if(o!==undefined){if(i.outgoingConnections===undefined){i.outgoingConnections=new Set}const e=i.outgoingConnections;for(const s of o){if(n(s)){s.originModule=t;e.add(s);o.delete(s)}}}const r=s.incomingConnections;const a=i.incomingConnections;for(const e of r){if(n(e)){e.module=t;a.add(e);r.delete(e)}}}copyOutgoingModuleConnections(e,t,n){if(e===t)return;const s=this._getModuleGraphModule(e);const i=this._getModuleGraphModule(t);const o=s.outgoingConnections;if(o!==undefined){if(i.outgoingConnections===undefined){i.outgoingConnections=new Set}const e=i.outgoingConnections;for(const s of o){if(n(s)){const n=s.clone();n.originModule=t;e.add(n);if(n.module!==undefined){const e=this._getModuleGraphModule(n.module);if(e.incomingConnections===undefined){e.incomingConnections=new Set}e.incomingConnections.add(n)}}}}}addExtraReason(e,t){const n=this._getModuleGraphModule(e).incomingConnections;n.add(new o(null,null,e,t))}getResolvedModule(e){const{connection:t}=this._getModuleGraphDependency(e);return t!==undefined?t.resolvedModule:null}getConnection(e){const{connection:t}=this._getModuleGraphDependency(e);return t}getModule(e){const{connection:t}=this._getModuleGraphDependency(e);return t!==undefined?t.module:null}getOrigin(e){const{connection:t}=this._getModuleGraphDependency(e);return t!==undefined?t.originModule:null}getResolvedOrigin(e){const{connection:t}=this._getModuleGraphDependency(e);return t!==undefined?t.resolvedOriginModule:null}getIncomingConnections(e){const t=this._getModuleGraphModule(e).incomingConnections;return t}getOutgoingConnections(e){const t=this._getModuleGraphModule(e).outgoingConnections;return t===undefined?r:t}getProfile(e){const t=this._getModuleGraphModule(e);return t.profile}setProfile(e,t){const n=this._getModuleGraphModule(e);n.profile=t}getIssuer(e){const t=this._getModuleGraphModule(e);return t.issuer}setIssuer(e,t){const n=this._getModuleGraphModule(e);n.issuer=t}setIssuerIfUnset(e,t){const n=this._getModuleGraphModule(e);if(n.issuer===undefined)n.issuer=t}getOptimizationBailout(e){const t=this._getModuleGraphModule(e);return t.optimizationBailout}getProvidedExports(e){const t=this._getModuleGraphModule(e);return t.exports.getProvidedExports()}isExportProvided(e,t){const n=this._getModuleGraphModule(e);const s=n.exports.isExportProvided(t);return s===undefined?null:s}getExportsInfo(e){const t=this._getModuleGraphModule(e);return t.exports}getExportInfo(e,t){const n=this._getModuleGraphModule(e);return n.exports.getExportInfo(t)}getReadOnlyExportInfo(e,t){const n=this._getModuleGraphModule(e);return n.exports.getReadOnlyExportInfo(t)}getUsedExports(e,t){const n=this._getModuleGraphModule(e);return n.exports.getUsedExports(t)}getPreOrderIndex(e){const t=this._getModuleGraphModule(e);return t.preOrderIndex}getPostOrderIndex(e){const t=this._getModuleGraphModule(e);return t.postOrderIndex}setPreOrderIndex(e,t){const n=this._getModuleGraphModule(e);n.preOrderIndex=t}setPreOrderIndexIfUnset(e,t){const n=this._getModuleGraphModule(e);if(n.preOrderIndex===null){n.preOrderIndex=t;return true}return false}setPostOrderIndex(e,t){const n=this._getModuleGraphModule(e);n.postOrderIndex=t}setPostOrderIndexIfUnset(e,t){const n=this._getModuleGraphModule(e);if(n.postOrderIndex===null){n.postOrderIndex=t;return true}return false}getDepth(e){const t=this._getModuleGraphModule(e);return t.depth}setDepth(e,t){const n=this._getModuleGraphModule(e);n.depth=t}setDepthIfLower(e,t){const n=this._getModuleGraphModule(e);if(n.depth===null||n.depth>t){n.depth=t;return true}return false}isAsync(e){const t=this._getModuleGraphModule(e);return t.async}setAsync(e){const t=this._getModuleGraphModule(e);t.async=true}getMeta(e){let t=this._metaMap.get(e);if(t===undefined){t=Object.create(null);this._metaMap.set(e,t)}return t}static getModuleGraphForModule(e,t,n){const i=c.get(t);if(i)return i(e);const o=s.deprecate(e=>{const n=a.get(e);if(!n)throw new Error(t+"There was no ModuleGraph assigned to the Module for backward-compat (Use the new API)");return n},t+": Use new ModuleGraph API",n);c.set(t,o);return o(e)}static setModuleGraphForModule(e,t){a.set(e,t)}}const a=new WeakMap;const c=new Map;e.exports=ModuleGraph;e.exports.ModuleGraphConnection=o},40639:e=>{"use strict";const t=Symbol("transitive only");const n=Symbol("circular connection");const s=(e,n)=>{if(e===true||n===true)return true;if(e===false)return n;if(n===false)return e;if(e===t)return n;if(n===t)return e;return e};const i=(e,t)=>{if(e===false||t===false)return false;if(e===true)return t;if(t===true)return e;if(e===n)return t;if(t===n)return e;return e};class ModuleGraphConnection{constructor(e,t,n,s,i=false,o=undefined){this.originModule=e;this.resolvedOriginModule=e;this.dependency=t;this.resolvedModule=n;this.module=n;this.weak=i;this.conditional=!!o;this._active=true;this.condition=o;this.explanations=undefined;if(s){this.explanations=new Set;this.explanations.add(s)}}clone(){const e=new ModuleGraphConnection(this.resolvedOriginModule,this.dependency,this.resolvedModule,undefined,this.weak,this.condition);e.originModule=this.originModule;e.module=this.module;e.conditional=this.conditional;e._active=this._active;if(this.explanations)e.explanations=new Set(this.explanations);return e}addCondition(e){if(this.conditional){const t=this.condition;this.condition=((n,s)=>i(t(n,s),e(n,s)))}else if(this._active){this.conditional=true;this.condition=e}}addExplanation(e){if(this.explanations===undefined){this.explanations=new Set}this.explanations.add(e)}get explanation(){if(this.explanations===undefined)return"";return Array.from(this.explanations).join(" ")}get active(){throw new Error("Use getActiveState instead")}isActive(e){if(!this.conditional)return this._active;return this.condition(this,e)!==false}isTargetActive(e){if(!this.conditional)return this._active;return this.condition(this,e)===true}getActiveState(e){if(!this.conditional)return this._active;return this.condition(this,e)}setActive(e){this.conditional=false;this._active=e}set active(e){throw new Error("Use setActive instead")}}e.exports=ModuleGraphConnection;e.exports.addConnectionStates=s;e.exports.TRANSITIVE_ONLY=t;e.exports.CIRCULAR_CONNECTION=n},3454:(e,t,n)=>{"use strict";const{ConcatSource:s,RawSource:i,CachedSource:o}=n(84697);const{UsageState:r}=n(63686);const a=n(1626);const c=n(89464);const u=e=>{let t="";let n=true;for(const s of e){if(n){n=false}else{t+=", "}t+=s}return t};const l=(e,t,n,s,i,o=new Set)=>{const c=n.otherExportsInfo;let u=0;const d=[];for(const e of n.orderedExports){if(!o.has(e)){o.add(e);d.push(e)}else{u++}}let p=false;if(!o.has(c)){o.add(c);p=true}else{u++}for(const n of d){const r=n.getTarget(s);e.add(a.toComment(`${t}export ${JSON.stringify(n.name).slice(1,-1)} [${n.getProvidedInfo()}] [${n.getUsedInfo()}] [${n.getRenameInfo()}]${r?` -> ${r.module.readableIdentifier(i)}${r.export?` .${r.export.map(e=>JSON.stringify(e).slice(1,-1)).join(".")}`:""}`:""}`)+"\n");if(n.exportsInfo){l(e,t+" ",n.exportsInfo,s,i,o)}}if(u){e.add(a.toComment(`${t}... (${u} already listed exports)`)+"\n")}if(p){const n=c.getTarget(s);if(n||c.provided!==false||c.getUsed(undefined)!==r.Unused){const s=d.length>0||u>0?"other exports":"exports";e.add(a.toComment(`${t}${s} [${c.getProvidedInfo()}] [${c.getUsedInfo()}]${n?` -> ${n.module.readableIdentifier(i)}`:""}`)+"\n")}}};const d=new WeakMap;class ModuleInfoHeaderPlugin{constructor(e=true){this._verbose=e}apply(e){const{_verbose:t}=this;e.hooks.compilation.tap("ModuleInfoHeaderPlugin",e=>{const n=c.getCompilationHooks(e);n.renderModulePackage.tap("ModuleInfoHeaderPlugin",(e,n,{chunk:r,chunkGraph:c,moduleGraph:p,runtimeTemplate:h})=>{const{requestShortener:f}=h;let m;let g=d.get(f);if(g===undefined){d.set(f,g=new WeakMap);g.set(n,m={header:undefined,full:new WeakMap})}else{m=g.get(n);if(m===undefined){g.set(n,m={header:undefined,full:new WeakMap})}else if(!t){const t=m.full.get(e);if(t!==undefined)return t}}const y=new s;let v=m.header;if(v===undefined){const e=n.readableIdentifier(f);const t=e.replace(/\*\//g,"*_/");const s="*".repeat(t.length);const o=`/*!****${s}****!*\\\n !*** ${t} ***!\n \\****${s}****/\n`;v=new i(o);m.header=v}y.add(v);if(t){const t=n.buildMeta.exportsType;y.add(a.toComment(t?`${t} exports`:"unknown exports (runtime-defined)")+"\n");if(t){const e=p.getExportsInfo(n);l(y,"",e,p,f)}y.add(a.toComment(`runtime requirements: ${u(c.getModuleRuntimeRequirements(n,r.runtime))}`)+"\n");const s=p.getOptimizationBailout(n);if(s){for(const e of s){let t;if(typeof e==="function"){t=e(f)}else{t=e}y.add(a.toComment(`${t}`)+"\n")}}y.add(e);return y}else{y.add(e);const t=new o(y);m.full.set(e,t);return t}});n.chunkHash.tap("ModuleInfoHeaderPlugin",(e,t)=>{t.update("ModuleInfoHeaderPlugin");t.update("1")})})}}e.exports=ModuleInfoHeaderPlugin},32882:(e,t,n)=>{"use strict";const s=n(53799);const i={assert:"assert/",buffer:"buffer/",console:"console-browserify",constants:"constants-browserify",crypto:"crypto-browserify",domain:"domain-browser",events:"events/",http:"stream-http",https:"https-browserify",os:"os-browserify/browser",path:"path-browserify",punycode:"punycode/",process:"process/browser",querystring:"querystring-es3",stream:"stream-browserify",_stream_duplex:"readable-stream/duplex",_stream_passthrough:"readable-stream/passthrough",_stream_readable:"readable-stream/readable",_stream_transform:"readable-stream/transform",_stream_writable:"readable-stream/writable",string_decoder:"string_decoder/",sys:"util/",timers:"timers-browserify",tty:"tty-browserify",url:"url/",util:"util/",vm:"vm-browserify",zlib:"browserify-zlib"};class ModuleNotFoundError extends s{constructor(e,t,n){let s=`Module not found: ${t.toString()}`;const o=t.message.match(/Can't resolve '([^']+)'/);if(o){const e=o[1];const t=i[e];if(t){const n=t.indexOf("/");const i=n>0?t.slice(0,n):t;s+="\n\n"+"BREAKING CHANGE: "+"webpack < 5 used to include polyfills for node.js core modules by default.\n"+"This is no longer the case. Verify if you need this module and configure a polyfill for it.\n\n";s+="If you want to include a polyfill, you need to:\n"+`\t- add a fallback 'resolve.fallback: { "${e}": require.resolve("${t}") }'\n`+`\t- install '${i}'\n`;s+="If you don't want to include a polyfill, you can use an empty module like this:\n"+`\tresolve.fallback: { "${e}": false }`}}super(s);this.name="ModuleNotFoundError";this.details=t.details;this.module=e;this.error=t;this.loc=n;Error.captureStackTrace(this,this.constructor)}}e.exports=ModuleNotFoundError},58443:(e,t,n)=>{"use strict";const s=n(53799);const i=n(33032);const o=Buffer.from([0,97,115,109]);class ModuleParseError extends s{constructor(e,t,n,s){let i="Module parse failed: "+(t&&t.message);let r=undefined;if((Buffer.isBuffer(e)&&e.slice(0,4).equals(o)||typeof e==="string"&&/^\0asm/.test(e))&&!s.startsWith("webassembly")){i+="\nThe module seem to be a WebAssembly module, but module is not flagged as WebAssembly module for webpack.";i+="\nBREAKING CHANGE: Since webpack 5 WebAssembly is not enabled by default and flagged as experimental feature.";i+="\nYou need to enable one of the WebAssembly experiments via 'experiments.asyncWebAssembly: true' (based on async modules) or 'experiments.syncWebAssembly: true' (like webpack 4, deprecated).";i+="\nFor files that transpile to WebAssembly, make sure to set the module type in the 'module.rules' section of the config (e. g. 'type: \"webassembly/async\"')."}else if(!n){i+="\nYou may need an appropriate loader to handle this file type."}else if(n.length>=1){i+=`\nFile was processed with these loaders:${n.map(e=>`\n * ${e}`).join("")}`;i+="\nYou may need an additional loader to handle the result of these loaders."}else{i+="\nYou may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders"}if(t&&t.loc&&typeof t.loc==="object"&&typeof t.loc.line==="number"){var a=t.loc.line;if(Buffer.isBuffer(e)||/[\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007]/.test(e)){i+="\n(Source code omitted for this binary file)"}else{const t=e.split(/\r?\n/);const n=Math.max(0,a-3);const s=t.slice(n,a-1);const o=t[a-1];const r=t.slice(a,a+2);i+=s.map(e=>`\n| ${e}`).join("")+`\n> ${o}`+r.map(e=>`\n| ${e}`).join("")}r={start:t.loc}}else if(t&&t.stack){i+="\n"+t.stack}super(i);this.name="ModuleParseError";this.loc=r;this.error=t;Error.captureStackTrace(this,this.constructor)}serialize(e){const{write:t}=e;t(this.error);super.serialize(e)}deserialize(e){const{read:t}=e;this.error=t();super.deserialize(e)}}i(ModuleParseError,"webpack/lib/ModuleParseError");e.exports=ModuleParseError},36418:e=>{"use strict";class ModuleProfile{constructor(){this.startTime=Date.now();this.factory=0;this.restoring=0;this.integration=0;this.building=0;this.storing=0;this.additionalFactories=0;this.additionalIntegration=0}markFactoryStart(){this.factoryStartTime=Date.now()}markFactoryEnd(){this.factoryEndTime=Date.now();this.factory=this.factoryEndTime-this.factoryStartTime}markRestoringStart(){this.restoringStartTime=Date.now()}markRestoringEnd(){this.restoringEndTime=Date.now();this.restoring=this.restoringEndTime-this.restoringStartTime}markIntegrationStart(){this.integrationStartTime=Date.now()}markIntegrationEnd(){this.integrationEndTime=Date.now();this.integration=this.integrationEndTime-this.integrationStartTime}markBuildingStart(){this.buildingStartTime=Date.now()}markBuildingEnd(){this.buildingEndTime=Date.now();this.building=this.buildingEndTime-this.buildingStartTime}markStoringStart(){this.storingStartTime=Date.now()}markStoringEnd(){this.storingEndTime=Date.now();this.storing=this.storingEndTime-this.storingStartTime}mergeInto(e){if(this.factory>e.additionalFactories)e.additionalFactories=this.factory;if(this.integration>e.additionalIntegration)e.additionalIntegration=this.integration}}e.exports=ModuleProfile},94560:(e,t,n)=>{"use strict";const s=n(53799);class ModuleRestoreError extends s{constructor(e,t){let n="Module restore failed: ";let s=undefined;if(t!==null&&typeof t==="object"){if(typeof t.stack==="string"&&t.stack){const e=t.stack;n+=e}else if(typeof t.message==="string"&&t.message){n+=t.message}else{n+=t}}else{n+=String(t)}super(n);this.name="ModuleRestoreError";this.details=s;this.module=e;this.error=t;Error.captureStackTrace(this,this.constructor)}}e.exports=ModuleRestoreError},59001:(e,t,n)=>{"use strict";const s=n(53799);class ModuleStoreError extends s{constructor(e,t){let n="Module storing failed: ";let s=undefined;if(t!==null&&typeof t==="object"){if(typeof t.stack==="string"&&t.stack){const e=t.stack;n+=e}else if(typeof t.message==="string"&&t.message){n+=t.message}else{n+=t}}else{n+=String(t)}super(n);this.name="ModuleStoreError";this.details=s;this.module=e;this.error=t;Error.captureStackTrace(this,this.constructor)}}e.exports=ModuleStoreError},62677:(e,t,n)=>{"use strict";const s=n(31669);const i=n(6157);const o=i(()=>n(89464));class ModuleTemplate{constructor(e,t){this._runtimeTemplate=e;this.type="javascript";this.hooks=Object.freeze({content:{tap:s.deprecate((e,n)=>{o().getCompilationHooks(t).renderModuleContent.tap(e,(e,t,s)=>n(e,t,s,s.dependencyTemplates))},"ModuleTemplate.hooks.content is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContent instead)","DEP_MODULE_TEMPLATE_CONTENT")},module:{tap:s.deprecate((e,n)=>{o().getCompilationHooks(t).renderModuleContent.tap(e,(e,t,s)=>n(e,t,s,s.dependencyTemplates))},"ModuleTemplate.hooks.module is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContent instead)","DEP_MODULE_TEMPLATE_MODULE")},render:{tap:s.deprecate((e,n)=>{o().getCompilationHooks(t).renderModuleContainer.tap(e,(e,t,s)=>n(e,t,s,s.dependencyTemplates))},"ModuleTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContainer instead)","DEP_MODULE_TEMPLATE_RENDER")},package:{tap:s.deprecate((e,n)=>{o().getCompilationHooks(t).renderModulePackage.tap(e,(e,t,s)=>n(e,t,s,s.dependencyTemplates))},"ModuleTemplate.hooks.package is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModulePackage instead)","DEP_MODULE_TEMPLATE_PACKAGE")},hash:{tap:s.deprecate((e,n)=>{t.hooks.fullHash.tap(e,n)},"ModuleTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_MODULE_TEMPLATE_HASH")}})}}Object.defineProperty(ModuleTemplate.prototype,"runtimeTemplate",{get:s.deprecate(function(){return this._runtimeTemplate},"ModuleTemplate.runtimeTemplate is deprecated (use Compilation.runtimeTemplate instead)","DEP_WEBPACK_CHUNK_TEMPLATE_OUTPUT_OPTIONS")});e.exports=ModuleTemplate},11234:(e,t,n)=>{"use strict";const{cleanUp:s}=n(59985);const i=n(53799);const o=n(33032);class ModuleWarning extends i{constructor(e,{from:t=null}={}){let n="Module Warning";if(t){n+=` (from ${t}):\n`}else{n+=": "}if(e&&typeof e==="object"&&e.message){n+=e.message}else if(e){n+=String(e)}super(n);this.name="ModuleWarning";this.warning=e;this.details=e&&typeof e==="object"&&e.stack?s(e.stack,this.message):undefined;Error.captureStackTrace(this,this.constructor)}serialize(e){const{write:t}=e;t(this.warning);super.serialize(e)}deserialize(e){const{read:t}=e;this.warning=t();super.deserialize(e)}}o(ModuleWarning,"webpack/lib/ModuleWarning");e.exports=ModuleWarning},33370:(e,t,n)=>{"use strict";const s=n(36386);const{SyncHook:i,MultiHook:o}=n(6967);const r=n(95735);const a=n(24170);const c=n(81128);const u=0;const l=1;const d=2;e.exports=class MultiCompiler{constructor(e){if(!Array.isArray(e)){e=Object.keys(e).map(t=>{e[t].name=t;return e[t]})}this.hooks=Object.freeze({done:new i(["stats"]),invalid:new o(e.map(e=>e.hooks.invalid)),run:new o(e.map(e=>e.hooks.run)),watchClose:new i([]),watchRun:new o(e.map(e=>e.hooks.watchRun)),infrastructureLog:new o(e.map(e=>e.hooks.infrastructureLog))});this.compilers=e;this.dependencies=new WeakMap;this.running=false;const t=this.compilers.map(()=>null);let n=0;for(let e=0;e{if(!o){o=true;n++}t[i]=e;if(n===this.compilers.length){this.hooks.done.call(new a(t))}});s.hooks.invalid.tap("MultiCompiler",()=>{if(o){o=false;n--}})}}get options(){return this.compilers.map(e=>e.options)}get outputPath(){let e=this.compilers[0].outputPath;for(const t of this.compilers){while(t.outputPath.indexOf(e)!==0&&/[/\\]/.test(e)){e=e.replace(/[/\\][^/\\]*$/,"")}}if(!e&&this.compilers[0].outputPath[0]==="/")return"/";return e}get inputFileSystem(){throw new Error("Cannot read inputFileSystem of a MultiCompiler")}get outputFileSystem(){throw new Error("Cannot read outputFileSystem of a MultiCompiler")}get watchFileSystem(){throw new Error("Cannot read watchFileSystem of a MultiCompiler")}get intermediateFileSystem(){throw new Error("Cannot read outputFileSystem of a MultiCompiler")}set inputFileSystem(e){for(const t of this.compilers){t.inputFileSystem=e}}set outputFileSystem(e){for(const t of this.compilers){t.outputFileSystem=e}}set watchFileSystem(e){for(const t of this.compilers){t.watchFileSystem=e}}set intermediateFileSystem(e){for(const t of this.compilers){t.intermediateFileSystem=e}}getInfrastructureLogger(e){return this.compilers[0].getInfrastructureLogger(e)}setDependencies(e,t){this.dependencies.set(e,t)}validateDependencies(e){const t=new Set;const n=[];const s=e=>{for(const n of t){if(n.target===e){return true}}return false};const i=(e,t)=>{return e.source.name.localeCompare(t.source.name)||e.target.name.localeCompare(t.target.name)};for(const e of this.compilers){const s=this.dependencies.get(e);if(s){for(const i of s){const s=this.compilers.find(e=>e.name===i);if(!s){n.push(i)}else{t.add({source:e,target:s})}}}}const o=n.map(e=>`Compiler dependency \`${e}\` not found.`);const r=this.compilers.filter(e=>!s(e));while(r.length>0){const e=r.pop();for(const n of t){if(n.source===e){t.delete(n);const e=n.target;if(!s(e)){r.push(e)}}}}if(t.size>0){const e=Array.from(t).sort(i).map(e=>`${e.source.name} -> ${e.target.name}`);e.unshift("Circular dependency found in compiler dependencies.");o.unshift(e.join("\n"))}if(o.length>0){const t=o.join("\n");e(new Error(t));return false}return true}runWithDependencies(e,t,n){const i=new Set;let o=e;const r=e=>i.has(e);const a=()=>{let e=[];let t=o;o=[];for(const n of t){const t=this.dependencies.get(n);const s=!t||t.every(r);if(s){e.push(n)}else{o.push(n)}}return e};const c=e=>{if(o.length===0)return e();s.map(a(),(e,n)=>{t(e,t=>{if(t)return n(t);i.add(e.name);c(n)})},e)};c(n)}watch(e,t){if(this.running){return t(new r)}const n=[];const s=this.compilers.map(()=>null);const i=this.compilers.map(()=>u);if(this.validateDependencies(t)){this.running=true;this.runWithDependencies(this.compilers,(o,r)=>{const c=this.compilers.indexOf(o);let p=true;let h=o.watch(Array.isArray(e)?e[c]:e,(e,n)=>{if(e)t(e);if(n){s[c]=n;i[c]=d;if(i.every(e=>e!==u)){const e=s.filter((e,t)=>{return i[t]===d});i.fill(l);const n=new a(e);t(null,n)}}if(p&&!e){p=false;r()}});n.push(h)},()=>{})}return new c(n,this)}run(e){if(this.running){return e(new r)}const t=(t,n)=>{this.running=false;if(e!==undefined){return e(t,n)}};const n=this.compilers.map(()=>null);if(this.validateDependencies(e)){this.running=true;this.runWithDependencies(this.compilers,(e,t)=>{const s=this.compilers.indexOf(e);e.run((e,i)=>{if(e){return t(e)}n[s]=i;t()})},e=>{if(e){return t(e)}t(null,new a(n))})}}purgeInputFileSystem(){for(const e of this.compilers){if(e.inputFileSystem&&e.inputFileSystem.purge){e.inputFileSystem.purge()}}}close(e){s.each(this.compilers,(e,t)=>{e.close(t)},e)}}},24170:(e,t,n)=>{"use strict";const s=n(82186);const i=(e,t)=>{const n=e.replace(/\n([^\n])/g,"\n"+t+"$1");return t+n};class MultiStats{constructor(e){this.stats=e}get hash(){return this.stats.map(e=>e.hash).join("")}hasErrors(){return this.stats.some(e=>e.hasErrors())}hasWarnings(){return this.stats.some(e=>e.hasWarnings())}_createChildOptions(e,t){if(!e){e={}}const{children:n,...s}=e;const i=this.stats.map((n,i)=>{const o=Array.isArray(e.children)?e.children[i]:e.children;return n.compilation.createStatsOptions({...s,...o&&typeof o==="object"?o:{preset:o}},t)});return{version:i.every(e=>e.version),hash:i.every(e=>e.hash),errorsCount:i.every(e=>e.errorsCount),warningsCount:i.every(e=>e.warningsCount),errors:i.every(e=>e.errors),warnings:i.every(e=>e.warnings),children:i}}toJson(e){e=this._createChildOptions(e,{forToString:false});const t={};t.children=this.stats.map((t,n)=>{const i=t.toJson(e.children[n]);const o=t.compilation.name;const r=o&&s.makePathsRelative(e.context,o,t.compilation.compiler.root);i.name=r;return i});if(e.version){t.version=t.children[0].version}if(e.hash){t.hash=t.children.map(e=>e.hash).join("")}const n=(e,t)=>{return{...t,compilerPath:t.compilerPath?`${e.name}.${t.compilerPath}`:e.name}};if(e.errors){t.errors=[];for(const e of t.children){for(const s of e.errors){t.errors.push(n(e,s))}}}if(e.warnings){t.warnings=[];for(const e of t.children){for(const s of e.warnings){t.warnings.push(n(e,s))}}}if(e.errorsCount){t.errorsCount=0;for(const e of t.children){t.errorsCount+=e.errorsCount}}if(e.warningsCount){t.warningsCount=0;for(const e of t.children){t.warningsCount+=e.warningsCount}}return t}toString(e){e=this._createChildOptions(e,{forToString:true});const t=this.stats.map((t,n)=>{const o=t.toString(e.children[n]);const r=t.compilation.name;const a=r&&s.makePathsRelative(e.context,r,t.compilation.compiler.root).replace(/\|/g," ");if(!o)return o;return a?`${a}:\n${i(o," ")}`:o});return t.filter(Boolean).join("\n\n")}}e.exports=MultiStats},81128:(e,t,n)=>{"use strict";const s=n(36386);class MultiWatching{constructor(e,t){this.watchings=e;this.compiler=t}invalidate(e){if(e){s.each(this.watchings,(e,t)=>e.invalidate(t),e)}else{for(const e of this.watchings){e.invalidate()}}}suspend(){for(const e of this.watchings){e.suspend()}}resume(){for(const e of this.watchings){e.resume()}}close(e){s.forEach(this.watchings,(e,t)=>{e.close(t)},t=>{this.compiler.hooks.watchClose.call();if(typeof e==="function"){this.compiler.running=false;e(t)}})}}e.exports=MultiWatching},50169:e=>{"use strict";class NoEmitOnErrorsPlugin{apply(e){e.hooks.shouldEmit.tap("NoEmitOnErrorsPlugin",e=>{if(e.getStats().hasErrors())return false});e.hooks.compilation.tap("NoEmitOnErrorsPlugin",e=>{e.hooks.shouldRecord.tap("NoEmitOnErrorsPlugin",()=>{if(e.getStats().hasErrors())return false})})}}e.exports=NoEmitOnErrorsPlugin},80832:(e,t,n)=>{"use strict";const s=n(53799);e.exports=class NoModeWarning extends s{constructor(e){super();this.name="NoModeWarning";this.message="configuration\n"+"The 'mode' option has not been set, webpack will fallback to 'production' for this value. "+"Set 'mode' option to 'development' or 'production' to enable defaults for each environment.\n"+"You can also set it to 'none' to disable any default behavior. "+"Learn more: https://webpack.js.org/configuration/mode/";Error.captureStackTrace(this,this.constructor)}}},95287:(e,t,n)=>{"use strict";const s=n(16475);const i=n(57403);const o=n(76911);const{evaluateToString:r,expressionIsUnsupported:a}=n(93998);const{relative:c}=n(17139);const{parseResource:u}=n(82186);class NodeStuffPlugin{constructor(e){this.options=e}apply(e){const t=this.options;e.hooks.compilation.tap("NodeStuffPlugin",(n,{normalModuleFactory:l})=>{const d=(n,l)=>{if(l.node===false)return;let d=t;if(l.node){d={...d,...l.node}}if(d.global){n.hooks.expression.for("global").tap("NodeStuffPlugin",e=>{const t=new o(s.global,e.range,[s.global]);t.loc=e.loc;n.state.module.addPresentationalDependency(t)})}const p=(e,t)=>{n.hooks.expression.for(e).tap("NodeStuffPlugin",s=>{const o=new i(JSON.stringify(t(n.state.module)),s.range,e);o.loc=s.loc;n.state.module.addPresentationalDependency(o);return true})};const h=(e,t)=>p(e,()=>t);const f=e.context;if(d.__filename){if(d.__filename==="mock"){h("__filename","/index.js")}else if(d.__filename===true){p("__filename",t=>c(e.inputFileSystem,f,t.resource))}n.hooks.evaluateIdentifier.for("__filename").tap("NodeStuffPlugin",e=>{if(!n.state.module)return;const t=u(n.state.module.resource);return r(t.path)(e)})}if(d.__dirname){if(d.__dirname==="mock"){h("__dirname","/")}else if(d.__dirname===true){p("__dirname",t=>c(e.inputFileSystem,f,t.context))}n.hooks.evaluateIdentifier.for("__dirname").tap("NodeStuffPlugin",e=>{if(!n.state.module)return;return r(n.state.module.context)(e)})}n.hooks.expression.for("require.extensions").tap("NodeStuffPlugin",a(n,"require.extensions is not supported by webpack. Use a loader instead."))};l.hooks.parser.for("javascript/auto").tap("NodeStuffPlugin",d);l.hooks.parser.for("javascript/dynamic").tap("NodeStuffPlugin",d)})}}e.exports=NodeStuffPlugin},39:(e,t,n)=>{"use strict";const s=n(15235);const{getContext:i,runLoaders:o}=n(8255);const r=n(71191);const{validate:a}=n(33225);const{HookMap:c,SyncHook:u,AsyncSeriesBailHook:l}=n(6967);const{CachedSource:d,OriginalSource:p,RawSource:h,SourceMapSource:f}=n(84697);const m=n(85720);const g=n(73208);const y=n(21305);const v=n(23744);const b=n(40639);const k=n(58443);const w=n(11234);const x=n(16475);const C=n(68099);const M=n(53799);const S=n(16734);const O=n(38938);const{getScheme:T}=n(54500);const{compareLocations:P,concatComparators:$,compareSelect:F,keepOriginalOrder:j}=n(29579);const _=n(49835);const{contextify:z}=n(82186);const q=n(33032);const W=(e,t,n)=>{if(t.startsWith("webpack://"))return t;return`webpack://${z(e,t,n)}`};const A=(e,t,n)=>{if(!Array.isArray(t.sources))return t;const{sourceRoot:s}=t;const i=!s?e=>e:s.endsWith("/")?e=>e.startsWith("/")?`${s.slice(0,-1)}${e}`:`${s}${e}`:e=>e.startsWith("/")?`${s}${e}`:`${s}/${e}`;const o=t.sources.map(t=>W(e,i(t),n));return{...t,file:"x",sourceRoot:undefined,sources:o}};const G=e=>{if(Buffer.isBuffer(e)){return e.toString("utf-8")}return e};const B=e=>{if(!Buffer.isBuffer(e)){return Buffer.from(e,"utf-8")}return e};class NonErrorEmittedError extends M{constructor(e){super();this.name="NonErrorEmittedError";this.message="(Emitted value instead of an instance of Error) "+e;Error.captureStackTrace(this,this.constructor)}}q(NonErrorEmittedError,"webpack/lib/NormalModule","NonErrorEmittedError");const R=new WeakMap;class NormalModule extends g{static getCompilationHooks(e){if(!(e instanceof m)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let t=R.get(e);if(t===undefined){t={loader:new u(["loaderContext","module"]),beforeLoaders:new u(["loaders","module","loaderContext"]),readResourceForScheme:new c(()=>new l(["resource","module"]))};R.set(e,t)}return t}constructor({type:e,request:t,userRequest:n,rawRequest:s,loaders:o,resource:r,matchResource:a,parser:c,generator:u,resolveOptions:l}){super(e,i(r));this.request=t;this.userRequest=n;this.rawRequest=s;this.binary=/^(asset|webassembly)\b/.test(e);this.parser=c;this.generator=u;this.resource=r;this.matchResource=a;this.loaders=o;if(l!==undefined){this.resolveOptions=l}this.error=null;this._source=null;this._sourceSizes=undefined;this._lastSuccessfulBuildMeta={};this._forceBuild=true;this._isEvaluatingSideEffects=false;this._addedSideEffectsBailout=new WeakSet}identifier(){return this.request}readableIdentifier(e){return e.shorten(this.userRequest)}libIdent(e){return z(e.context,this.userRequest,e.associatedObjectForCache)}nameForCondition(){const e=this.matchResource||this.resource;const t=e.indexOf("?");if(t>=0)return e.substr(0,t);return e}updateCacheModule(e){super.updateCacheModule(e);const t=e;this.binary=t.binary;this.request=t.request;this.userRequest=t.userRequest;this.rawRequest=t.rawRequest;this.parser=t.parser;this.generator=t.generator;this.resource=t.resource;this.matchResource=t.matchResource;this.loaders=t.loaders}createSourceForAsset(e,t,n,s,i){if(s){if(typeof s==="string"&&(this.useSourceMap||this.useSimpleSourceMap)){return new p(n,W(e,s,i))}if(this.useSourceMap){return new f(n,t,A(e,s,i))}}return new h(n)}createLoaderContext(e,t,n,i){const{requestShortener:o}=n.runtimeTemplate;const c=()=>{const e=this.getCurrentLoader(l);if(!e)return"(not in loader scope)";return o.shorten(e.loader)};const u=()=>{return{fileDependencies:{add:e=>l.addDependency(e)},contextDependencies:{add:e=>l.addContextDependency(e)},missingDependencies:{add:e=>l.addMissingDependency(e)}}};const l={version:2,getOptions:e=>{const t=this.getCurrentLoader(l);let{options:n}=t;if(typeof n==="string"){if(n.substr(0,1)==="{"&&n.substr(-1)==="}"){try{n=s(n)}catch(e){throw new Error(`Cannot parse string options: ${e.message}`)}}else{n=r.parse(n,"&","=",{maxKeys:0})}}if(n===null||n===undefined){n={}}if(e){let t="Loader";let s="options";let i;if(e.title&&(i=/^(.+) (.+)$/.exec(e.title))){[,t,s]=i}a(e,n,{name:t,baseDataPath:s})}return n},emitWarning:e=>{if(!(e instanceof Error)){e=new NonErrorEmittedError(e)}this.addWarning(new w(e,{from:c()}))},emitError:e=>{if(!(e instanceof Error)){e=new NonErrorEmittedError(e)}this.addError(new v(e,{from:c()}))},getLogger:e=>{const t=this.getCurrentLoader(l);return n.getLogger(()=>[t&&t.loader,e,this.identifier()].filter(Boolean).join("|"))},resolve(t,n,s){e.resolve({},t,n,u(),s)},getResolve(t){const n=t?e.withOptions(t):e;return(e,t,s)=>{if(s){n.resolve({},e,t,u(),s)}else{return new Promise((s,i)=>{n.resolve({},e,t,u(),(e,t)=>{if(e)i(e);else s(t)})})}}},emitFile:(e,s,i,o)=>{if(!this.buildInfo.assets){this.buildInfo.assets=Object.create(null);this.buildInfo.assetsInfo=new Map}this.buildInfo.assets[e]=this.createSourceForAsset(t.context,e,s,i,n.compiler.root);this.buildInfo.assetsInfo.set(e,o)},addBuildDependency:e=>{if(this.buildInfo.buildDependencies===undefined){this.buildInfo.buildDependencies=new O}this.buildInfo.buildDependencies.add(e)},rootContext:t.context,webpack:true,sourceMap:!!this.useSourceMap,mode:t.mode||"production",_module:this,_compilation:n,_compiler:n.compiler,fs:i};Object.assign(l,t.loader);NormalModule.getCompilationHooks(n).loader.call(l,this);return l}getCurrentLoader(e,t=e.loaderIndex){if(this.loaders&&this.loaders.length&&t=0&&this.loaders[t]){return this.loaders[t]}return null}createSource(e,t,n,s){if(Buffer.isBuffer(t)){return new h(t)}if(!this.identifier){return new h(t)}const i=this.identifier();if(this.useSourceMap&&n){return new f(t,W(e,i,s),A(e,n,s))}if(this.useSourceMap||this.useSimpleSourceMap){return new p(t,W(e,i,s))}return new h(t)}doBuild(e,t,n,s,i){const r=this.createLoaderContext(n,e,t,s);const a=(n,s)=>{if(n){if(!(n instanceof Error)){n=new NonErrorEmittedError(n)}const e=this.getCurrentLoader(r);const s=new y(n,{from:e&&t.runtimeTemplate.requestShortener.shorten(e.loader)});return i(s)}const o=s[0];const a=s.length>=1?s[1]:null;const c=s.length>=2?s[2]:null;if(!Buffer.isBuffer(o)&&typeof o!=="string"){const e=this.getCurrentLoader(r,0);const n=new Error(`Final loader (${e?t.runtimeTemplate.requestShortener.shorten(e.loader):"unknown"}) didn't return a Buffer or String`);const s=new y(n);return i(s)}this._source=this.createSource(e.context,this.binary?B(o):G(o),a,t.compiler.root);if(this._sourceSizes!==undefined)this._sourceSizes.clear();this._ast=typeof c==="object"&&c!==null&&c.webpackAST!==undefined?c.webpackAST:null;return i()};const c=NormalModule.getCompilationHooks(t);c.beforeLoaders.call(this.loaders,this,r);o({resource:this.resource,loaders:this.loaders,context:r,readResource:(e,t)=>{const n=T(e);if(n){c.readResourceForScheme.for(n).callAsync(e,this,(s,i)=>{if(s)return t(s);if(typeof i!=="string"&&!i){return t(new C(n,e))}return t(null,i)})}else{s.readFile(e,t)}}},(e,t)=>{if(!t){a(e||new Error("No result from loader-runner processing"),null)}this.buildInfo.fileDependencies=new O;this.buildInfo.fileDependencies.addAll(t.fileDependencies);this.buildInfo.contextDependencies=new O;this.buildInfo.contextDependencies.addAll(t.contextDependencies);this.buildInfo.missingDependencies=new O;this.buildInfo.missingDependencies.addAll(t.missingDependencies);if(this.loaders.length>0&&this.buildInfo.buildDependencies===undefined){this.buildInfo.buildDependencies=new O}for(const e of this.loaders){this.buildInfo.buildDependencies.add(e.loader)}this.buildInfo.cacheable=t.cacheable;a(e,t.result)})}markModuleAsErrored(e){this.buildMeta={...this._lastSuccessfulBuildMeta};this.error=e;this.addError(e)}applyNoParseRule(e,t){if(typeof e==="string"){return t.startsWith(e)}if(typeof e==="function"){return e(t)}return e.test(t)}shouldPreventParsing(e,t){if(!e){return false}if(!Array.isArray(e)){return this.applyNoParseRule(e,t)}for(let n=0;n{if(n){this.markModuleAsErrored(n);this._initBuildHash(t);return i()}const s=n=>{const s=this._source.source();const o=this.loaders.map(n=>z(e.context,n.loader,t.compiler.root));const r=new k(s,n,o,this.type);this.markModuleAsErrored(r);this._initBuildHash(t);return i()};const r=e=>{this.dependencies.sort($(F(e=>e.loc,P),j(this.dependencies)));this._initBuildHash(t);this._lastSuccessfulBuildMeta=this.buildMeta;return a()};const a=()=>{const e=t.options.snapshot.module;if(!this.buildInfo.cacheable||!e){return i()}t.fileSystemInfo.createSnapshot(o,this.buildInfo.fileDependencies,this.buildInfo.contextDependencies,this.buildInfo.missingDependencies,e,(e,t)=>{if(e){this.markModuleAsErrored(e);return}this.buildInfo.fileDependencies=undefined;this.buildInfo.contextDependencies=undefined;this.buildInfo.missingDependencies=undefined;this.buildInfo.snapshot=t;return i()})};const c=e.module&&e.module.noParse;if(this.shouldPreventParsing(c,this.request)){this.buildInfo.parsed=false;this._initBuildHash(t);return a()}let u;try{u=this.parser.parse(this._ast||this._source.source(),{current:this,module:this,compilation:t,options:e})}catch(e){s(e);return}r(u)})}getConcatenationBailoutReason(e){return this.generator.getConcatenationBailoutReason(this,e)}getSideEffectsConnectionState(e){if(this.factoryMeta!==undefined){if(this.factoryMeta.sideEffectFree)return false;if(this.factoryMeta.sideEffectFree===false)return true}if(this.buildMeta!==undefined&&this.buildMeta.sideEffectFree){if(this._isEvaluatingSideEffects)return b.CIRCULAR_CONNECTION;this._isEvaluatingSideEffects=true;let t=false;for(const n of this.dependencies){const s=n.getModuleEvaluationSideEffectsState(e);if(s===true){if(!this._addedSideEffectsBailout.has(e)){this._addedSideEffectsBailout.add(e);e.getOptimizationBailout(this).push(()=>`Dependency (${n.type}) with side effects at ${S(n.loc)}`)}this._isEvaluatingSideEffects=false;return true}else if(s!==b.CIRCULAR_CONNECTION){t=b.addConnectionStates(t,s)}}this._isEvaluatingSideEffects=false;return t}else{return true}}getSourceTypes(){return this.generator.getTypes(this)}codeGeneration({dependencyTemplates:e,runtimeTemplate:t,moduleGraph:n,chunkGraph:s,runtime:i,concatenationScope:o}){const r=new Set;if(!this.buildInfo.parsed){r.add(x.module);r.add(x.exports);r.add(x.thisAsExports)}const a=new Map;for(const c of this.generator.getTypes(this)){const u=this.error?new h("throw new Error("+JSON.stringify(this.error.message)+");"):this.generator.generate(this,{dependencyTemplates:e,runtimeTemplate:t,moduleGraph:n,chunkGraph:s,runtimeRequirements:r,runtime:i,concatenationScope:o,type:c});if(u){a.set(c,new d(u))}}const c={sources:a,runtimeRequirements:r};return c}originalSource(){return this._source}invalidateBuild(){this._forceBuild=true}needBuild({fileSystemInfo:e},t){if(this._forceBuild)return t(null,true);if(this.error)return t(null,true);if(!this.buildInfo.cacheable)return t(null,true);if(!this.buildInfo.snapshot)return t(null,true);e.checkSnapshotValid(this.buildInfo.snapshot,(e,n)=>{t(e,!n)})}size(e){const t=this._sourceSizes===undefined?undefined:this._sourceSizes.get(e);if(t!==undefined){return t}const n=Math.max(1,this.generator.getSize(this,e));if(this._sourceSizes===undefined){this._sourceSizes=new Map}this._sourceSizes.set(e,n);return n}addCacheDependencies(e,t,n,s){const{snapshot:i,buildDependencies:o}=this.buildInfo;if(i){e.addAll(i.getFileIterable());t.addAll(i.getContextIterable());n.addAll(i.getMissingIterable())}else{const{fileDependencies:s,contextDependencies:i,missingDependencies:o}=this.buildInfo;if(s!==undefined)e.addAll(s);if(i!==undefined)t.addAll(i);if(o!==undefined)n.addAll(o)}if(o!==undefined){s.addAll(o)}}updateHash(e,t){e.update(this.buildInfo.hash);this.generator.updateHash(e,{module:this,...t});super.updateHash(e,t)}serialize(e){const{write:t}=e;t(this._source);t(this._sourceSizes);t(this.error);t(this._lastSuccessfulBuildMeta);t(this._forceBuild);super.serialize(e)}static deserialize(e){const t=new NormalModule({type:"",resource:"",request:null,userRequest:null,rawRequest:null,loaders:null,matchResource:null,parser:null,generator:null,resolveOptions:null});t.deserialize(e);return t}deserialize(e){const{read:t}=e;this._source=t();this._sourceSizes=t();this.error=t();this._lastSuccessfulBuildMeta=t();this._forceBuild=t();super.deserialize(e)}}q(NormalModule,"webpack/lib/NormalModule");e.exports=NormalModule},68860:(e,t,n)=>{"use strict";const s=n(36386);const{AsyncSeriesBailHook:i,SyncWaterfallHook:o,SyncBailHook:r,SyncHook:a,HookMap:c}=n(6967);const u=n(73208);const l=n(51010);const d=n(39);const p=n(84929);const h=n(30318);const f=n(94215);const m=n(19749);const g=n(83349);const y=n(84977);const v=n(38938);const{getScheme:b}=n(54500);const{cachedCleverMerge:k,cachedSetProperty:w}=n(60839);const{join:x}=n(17139);const{parseResource:C}=n(82186);const M={};const S=/^([^!]+)!=!/;const O=e=>{if(!e.options){return e.loader}if(typeof e.options==="string"){return e.loader+"?"+e.options}if(typeof e.options!=="object"){throw new Error("loader options must be string or object")}if(e.ident){return e.loader+"??"+e.ident}return e.loader+"?"+JSON.stringify(e.options)};const T=(e,t)=>{let n="";for(const t of e){n+=O(t)+"!"}return n+t};const P=e=>{const t=e.indexOf("?");if(t>=0){const n=e.substr(0,t);const s=e.substr(t+1);return{loader:n,options:s}}else{return{loader:e,options:undefined}}};const $=(e,t)=>{return n=>{if(--e===0){return t(n)}if(n&&e>0){e=NaN;return t(n)}}};const F=e=>`NormalModuleFactory.${e} is no longer a waterfall hook, but a bailing hook instead. `+"Do not return the passed object, but modify it instead. "+"Returning false will ignore the request and results in no module created.";const j=new WeakMap;const _=new g([new f("test","resource"),new f("mimetype"),new f("dependency"),new f("include","resource"),new f("exclude","resource",true),new f("resource"),new f("resourceQuery"),new f("resourceFragment"),new f("realResource"),new f("issuer"),new f("compiler"),new m,new h("type"),new h("sideEffects"),new h("parser"),new h("resolve"),new h("generator"),new y]);class NormalModuleFactory extends l{constructor({context:e,fs:t,resolverFactory:n,options:s,associatedObjectForCache:l}){super();this.hooks=Object.freeze({resolve:new i(["resolveData"]),resolveForScheme:new c(()=>new i(["resourceData","resolveData"])),factorize:new i(["resolveData"]),beforeResolve:new i(["resolveData"]),afterResolve:new i(["resolveData"]),createModule:new i(["createData","resolveData"]),module:new o(["module","createData","resolveData"]),createParser:new c(()=>new r(["parserOptions"])),parser:new c(()=>new a(["parser","parserOptions"])),createGenerator:new c(()=>new r(["generatorOptions"])),generator:new c(()=>new a(["generator","generatorOptions"]))});this.resolverFactory=n;this.ruleSet=_.compile([{rules:s.defaultRules},{rules:s.rules}]);this.unsafeCache=!!s.unsafeCache;this.cachePredicate=typeof s.unsafeCache==="function"?s.unsafeCache:()=>true;this.context=e||"";this.fs=t;this.parserCache=new Map;this.generatorCache=new Map;const h=C.bindCache(l);this.hooks.factorize.tapAsync({name:"NormalModuleFactory",stage:100},(e,t)=>{this.hooks.resolve.callAsync(e,(n,s)=>{if(n)return t(n);if(s===false)return t();if(s instanceof u)return t(null,s);if(typeof s==="object")throw new Error(F("resolve")+" Returning a Module object will result in this module used as result.");this.hooks.afterResolve.callAsync(e,(n,s)=>{if(n)return t(n);if(typeof s==="object")throw new Error(F("afterResolve"));if(s===false)return t();const i=e.createData;this.hooks.createModule.callAsync(i,e,(n,s)=>{if(!s){if(!e.request){return t(new Error("Empty dependency (no request)"))}s=new d(i)}s=this.hooks.module.call(s,i,e);return t(null,s)})})})});this.hooks.resolve.tapAsync({name:"NormalModuleFactory",stage:100},(e,t)=>{const{contextInfo:n,context:s,dependencies:i,request:o,resolveOptions:r,fileDependencies:a,missingDependencies:c,contextDependencies:u}=e;const l=i.length>0&&i[0].category||"";const d=this.getResolver("loader");let f=undefined;let m=o;const g=S.exec(o);if(g){let e=g[1];if(e.charCodeAt(0)===46){const t=e.charCodeAt(1);if(t===47||t===46&&e.charCodeAt(2)===47){e=x(this.fs,s,e)}}f={resource:e,...h(e)};m=o.substr(g[0].length)}const y=m.charCodeAt(0);const v=m.charCodeAt(1);const C=y===45&&v===33;const O=C||y===33;const F=y===33&&v===33;const j=m.slice(C||F?2:O?1:0).split(/!+/);const _=j.pop();const z=j.map(P);const q={fileDependencies:a,missingDependencies:c,contextDependencies:u};let W;const A=b(_);let G;const B=$(2,s=>{if(s)return t(s);try{for(const e of G){if(typeof e.options==="string"&&e.options[0]==="?"){const t=e.options.substr(1);if(t==="[[missing ident]]"){throw new Error("No ident is provided by referenced loader. "+"When using a function for Rule.use in config you need to "+"provide an 'ident' property for referenced loader options.")}e.options=this.ruleSet.references.get(t);if(e.options===undefined){throw new Error("Invalid ident is provided by referenced loader")}e.ident=t}}}catch(e){return t(e)}if(!W){return t(null,new p("/* (ignored) */",`ignored|${o}`,`${o} (ignored)`))}const i=(f!==undefined?`${f.resource}!=!`:"")+T(G,W.resource);const r=f||W;const a=this.ruleSet.exec({resource:r.path,realResource:W.path,resourceQuery:r.query,resourceFragment:r.fragment,mimetype:f?"":W.data.mimetype||"",dependency:l,descriptionData:f?undefined:W.data.descriptionFileData,issuer:n.issuer,compiler:n.compiler});const c={};const u=[];const h=[];const m=[];for(const e of a){if(e.type==="use"){if(!O&&!F){h.push(e.value)}}else if(e.type==="use-post"){if(!F){u.push(e.value)}}else if(e.type==="use-pre"){if(!C&&!F){m.push(e.value)}}else if(typeof e.value==="object"&&e.value!==null&&typeof c[e.type]==="object"&&c[e.type]!==null){c[e.type]=k(c[e.type],e.value)}else{c[e.type]=e.value}}let g,y,v;const b=$(3,n=>{if(n){return t(n)}const s=g;if(f===undefined){for(const e of G)s.push(e);for(const e of y)s.push(e)}else{for(const e of y)s.push(e);for(const e of G)s.push(e)}for(const e of v)s.push(e);const r=c.type;const a=c.resolve;Object.assign(e.createData,{request:T(s,W.resource),userRequest:i,rawRequest:o,loaders:s,resource:W.resource,matchResource:f?f.resource:undefined,resourceResolveData:W.data,settings:c,type:r,parser:this.getParser(r,c.parser),generator:this.getGenerator(r,c.generator),resolveOptions:a});t()});this.resolveRequestArray(n,this.context,u,d,q,(e,t)=>{g=t;b(e)});this.resolveRequestArray(n,this.context,h,d,q,(e,t)=>{y=t;b(e)});this.resolveRequestArray(n,this.context,m,d,q,(e,t)=>{v=t;b(e)})});this.resolveRequestArray(n,s,z,d,q,(e,t)=>{if(e)return B(e);G=t;B()});if(A){W={resource:_,data:{},path:undefined,query:undefined,fragment:undefined};this.hooks.resolveForScheme.for(A).callAsync(W,e,e=>{if(e)return B(e);B()})}else if(/^($|\?|#)/.test(_)){W={resource:_,data:{},...h(_)};B()}else{const e=this.getResolver("normal",l?w(r||M,"dependencyType",l):r);this.resolveResource(n,s,_,e,q,(e,t,n)=>{if(e)return B(e);if(t!==false){W={resource:t,data:n,...h(t)}}B()})}})}create(e,t){const n=e.dependencies;if(this.unsafeCache){const e=j.get(n[0]);if(e)return t(null,e)}const s=e.context||this.context;const i=e.resolveOptions||M;const o=n[0];const r=o.request;const a=e.contextInfo;const c=new v;const u=new v;const l=new v;const d={contextInfo:a,resolveOptions:i,context:s,request:r,dependencies:n,fileDependencies:c,missingDependencies:u,contextDependencies:l,createData:{},cacheable:true};this.hooks.beforeResolve.callAsync(d,(e,s)=>{if(e){return t(e,{fileDependencies:c,missingDependencies:u,contextDependencies:l})}if(s===false){return t(null,{fileDependencies:c,missingDependencies:u,contextDependencies:l})}if(typeof s==="object")throw new Error(F("beforeResolve"));this.hooks.factorize.callAsync(d,(e,s)=>{if(e){return t(e,{fileDependencies:c,missingDependencies:u,contextDependencies:l})}const i={module:s,fileDependencies:c,missingDependencies:u,contextDependencies:l};if(this.unsafeCache&&d.cacheable&&s&&this.cachePredicate(s)){for(const e of n){j.set(e,i)}}t(null,i)})})}resolveResource(e,t,n,s,i,o){s.resolve(e,t,n,i,(r,a,c)=>{if(r){if(s.options.fullySpecified){s.withOptions({fullySpecified:false}).resolve(e,t,n,i,(e,t)=>{if(!e&&t){const e=C(t).path.replace(/^.*[\\/]/,"");r.message+=`\nDid you mean '${e}'?\nBREAKING CHANGE: The request '${n}' failed to resolve only because it was resolved as fully specified\n(probably because the origin is a '*.mjs' file or a '*.js' file where the package.json contains '"type": "module"').\nThe extension in the request is mandatory for it to be fully specified.\nAdd the extension to the request.`}o(r)});return}}o(r,a,c)})}resolveRequestArray(e,t,n,i,o,r){if(n.length===0)return r(null,n);s.map(n,(n,s)=>{i.resolve(e,t,n.loader,o,(r,a)=>{if(r&&/^[^/]*$/.test(n.loader)&&!/-loader$/.test(n.loader)){return i.resolve(e,t,n.loader+"-loader",o,e=>{if(!e){r.message=r.message+"\n"+"BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.\n"+` You need to specify '${n.loader}-loader' instead of '${n.loader}',\n`+" see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed"}s(r)})}if(r)return s(r);const c=P(a);const u={loader:c.loader,options:n.options===undefined?c.options:n.options,ident:n.options===undefined?undefined:n.ident};return s(null,u)})},r)}getParser(e,t=M){let n=this.parserCache.get(e);if(n===undefined){n=new WeakMap;this.parserCache.set(e,n)}let s=n.get(t);if(s===undefined){s=this.createParser(e,t);n.set(t,s)}return s}createParser(e,t={}){const n=this.hooks.createParser.for(e).call(t);if(!n){throw new Error(`No parser registered for ${e}`)}this.hooks.parser.for(e).call(n,t);return n}getGenerator(e,t=M){let n=this.generatorCache.get(e);if(n===undefined){n=new WeakMap;this.generatorCache.set(e,n)}let s=n.get(t);if(s===undefined){s=this.createGenerator(e,t);n.set(t,s)}return s}createGenerator(e,t={}){const n=this.hooks.createGenerator.for(e).call(t);if(!n){throw new Error(`No generator registered for ${e}`)}this.hooks.generator.for(e).call(n,t);return n}getResolver(e,t){return this.resolverFactory.get(e,t)}}e.exports=NormalModuleFactory},30633:(e,t,n)=>{"use strict";const{join:s,dirname:i}=n(17139);class NormalModuleReplacementPlugin{constructor(e,t){this.resourceRegExp=e;this.newResource=t}apply(e){const t=this.resourceRegExp;const n=this.newResource;e.hooks.normalModuleFactory.tap("NormalModuleReplacementPlugin",o=>{o.hooks.beforeResolve.tap("NormalModuleReplacementPlugin",e=>{if(t.test(e.request)){if(typeof n==="function"){n(e)}else{e.request=n}}});o.hooks.afterResolve.tap("NormalModuleReplacementPlugin",o=>{const r=o.createData;if(t.test(r.resource)){if(typeof n==="function"){n(o)}else{const t=e.inputFileSystem;if(n.startsWith("/")||n.length>1&&n[1]===":"){r.resource=n}else{r.resource=s(t,i(t,r.resource),n)}}}})})}}e.exports=NormalModuleReplacementPlugin},80057:(e,t)=>{"use strict";t.STAGE_BASIC=-10;t.STAGE_DEFAULT=0;t.STAGE_ADVANCED=10},81426:e=>{"use strict";class OptionsApply{process(e,t){}}e.exports=OptionsApply},11715:(e,t,n)=>{"use strict";class Parser{parse(e,t){const s=n(77198);throw new s}}e.exports=Parser},73850:(e,t,n)=>{"use strict";const s=n(19563);class PrefetchPlugin{constructor(e,t){if(t){this.context=e;this.request=t}else{this.context=null;this.request=e}}apply(e){e.hooks.compilation.tap("PrefetchPlugin",(e,{normalModuleFactory:t})=>{e.dependencyFactories.set(s,t)});e.hooks.make.tapAsync("PrefetchPlugin",(t,n)=>{t.addModuleChain(this.context||e.context,new s(this.request),e=>{n(e)})})}}e.exports=PrefetchPlugin},13216:(e,t,n)=>{"use strict";const{validate:s}=n(33225);const i=n(98777);const o=n(70845);const r=n(33370);const a=n(39);const{contextify:c}=n(82186);const u=(e,t,n)=>{return e+t+n-Math.max(e,t,n)-Math.min(e,t,n)};const l=(e,t)=>{const n=[];const s=(s,i,...o)=>{if(e){if(s===0){n.length=0}const e=[i,...o];const r=e.map(e=>e.replace(/\d+\/\d+ /g,""));const a=Date.now();const c=Math.max(r.length,n.length);for(let e=c;e>=0;e--){const s=e0){s=n[e-1].value+" > "+s}const r=`${" | ".repeat(e)}${o} ms ${s}`;const a=o;{if(a>1e4){t.error(r)}else if(a>1e3){t.warn(r)}else if(a>10){t.info(r)}else if(a>5){t.log(r)}else{t.debug(r)}}}if(s===undefined){n.length=e}else{i.value=s;i.time=a;n.length=e+1}}}else{n[e]={value:s,time:a}}}}t.status(`${Math.floor(s*100)}%`,i,...o);if(s===1||!i&&o.length===0)t.status()};return s};const d=new WeakMap;class ProgressPlugin{static getReporter(e){return d.get(e)}constructor(e){if(typeof e==="function"){e={handler:e}}e=e||{};s(i,e,{name:"Progress Plugin",baseDataPath:"options"});e={...ProgressPlugin.defaultOptions,...e};this.profile=e.profile;this.handler=e.handler;this.modulesCount=e.modulesCount;this.dependenciesCount=e.dependenciesCount;this.showEntries=e.entries;this.showModules=e.modules;this.showDependencies=e.dependencies;this.showActiveModules=e.activeModules;this.percentBy=e.percentBy}apply(e){const t=this.handler||l(this.profile,e.getInfrastructureLogger("webpack.Progress"));if(e instanceof r){this._applyOnMultiCompiler(e,t)}else if(e instanceof o){this._applyOnCompiler(e,t)}}_applyOnMultiCompiler(e,t){const n=e.compilers.map(()=>[0]);e.compilers.forEach((e,s)=>{new ProgressPlugin((e,i,...o)=>{n[s]=[e,i,...o];let r=0;for(const[e]of n)r+=e;t(r/n.length,`[${s}] ${i}`,...o)}).apply(e)})}_applyOnCompiler(e,t){const n=this.showEntries;const s=this.showModules;const i=this.showDependencies;const o=this.showActiveModules;let r="";let a="";let l=0;let p=0;let h=0;let f=0;let m=0;let g=1;let y=0;let v=0;let b=0;const k=new Set;let w=0;const x=()=>{if(w+500{const d=[];const x=y/Math.max(l||this.modulesCount,f);const C=b/Math.max(h||this.dependenciesCount,g);const M=v/Math.max(p,m);let S;switch(this.percentBy){case"entries":S=C;break;case"dependencies":S=M;break;case"modules":S=x;break;default:S=u(x,C,M)}const O=.1+S*.55;if(a){d.push(`import loader ${c(e.context,a,e.root)}`)}else{const e=[];if(n){e.push(`${b}/${g} entries`)}if(i){e.push(`${v}/${m} dependencies`)}if(s){e.push(`${y}/${f} modules`)}if(o){e.push(`${k.size} active`)}if(e.length>0){d.push(e.join(" "))}if(o){d.push(r)}}t(O,"building",...d);w=Date.now()};const M=()=>{m++;if(m%100===0)x()};const S=()=>{v++;if(v%100===0)x()};const O=()=>{f++;if(f%100===0)x()};const T=e=>{const t=e.identifier();if(t){k.add(t);r=t;C()}};const P=(e,t)=>{g++;if(g%10===0)x()};const $=e=>{y++;if(o){const t=e.identifier();if(t){k.delete(t);if(r===t){r="";for(const e of k){r=e}C();return}}}if(y%100===0)x()};const F=(e,t)=>{b++;C()};const j=e.getCache("ProgressPlugin").getItemCache("counts",null);let _;e.hooks.beforeCompile.tap("ProgressPlugin",()=>{if(!_){_=j.getPromise().then(e=>{if(e){l=l||e.modulesCount;p=p||e.dependenciesCount}return e},e=>{})}});e.hooks.afterCompile.tapPromise("ProgressPlugin",e=>{if(e.compiler.isChild())return Promise.resolve();return _.then(async e=>{if(!e||e.modulesCount!==f||e.dependenciesCount!==m){await j.storePromise({modulesCount:f,dependenciesCount:m})}})});e.hooks.compilation.tap("ProgressPlugin",n=>{if(n.compiler.isChild())return;l=f;h=g;p=m;f=m=g=0;y=v=b=0;n.factorizeQueue.hooks.added.tap("ProgressPlugin",M);n.factorizeQueue.hooks.result.tap("ProgressPlugin",S);n.addModuleQueue.hooks.added.tap("ProgressPlugin",O);n.processDependenciesQueue.hooks.result.tap("ProgressPlugin",$);if(o){n.hooks.buildModule.tap("ProgressPlugin",T)}n.hooks.addEntry.tap("ProgressPlugin",P);n.hooks.failedEntry.tap("ProgressPlugin",F);n.hooks.succeedEntry.tap("ProgressPlugin",F);if(false){}const s={finishModules:"finish module graph",seal:"plugins",optimizeDependencies:"dependencies optimization",afterOptimizeDependencies:"after dependencies optimization",beforeChunks:"chunk graph",afterChunks:"after chunk graph",optimize:"optimizing",optimizeModules:"module optimization",afterOptimizeModules:"after module optimization",optimizeChunks:"chunk optimization",afterOptimizeChunks:"after chunk optimization",optimizeTree:"module and chunk tree optimization",afterOptimizeTree:"after module and chunk tree optimization",optimizeChunkModules:"chunk modules optimization",afterOptimizeChunkModules:"after chunk modules optimization",reviveModules:"module reviving",beforeModuleIds:"before module ids",moduleIds:"module ids",optimizeModuleIds:"module id optimization",afterOptimizeModuleIds:"module id optimization",reviveChunks:"chunk reviving",beforeChunkIds:"before chunk ids",chunkIds:"chunk ids",optimizeChunkIds:"chunk id optimization",afterOptimizeChunkIds:"after chunk id optimization",recordModules:"record modules",recordChunks:"record chunks",beforeModuleHash:"module hashing",beforeCodeGeneration:"code generation",beforeRuntimeRequirements:"runtime requirements",beforeHash:"hashing",afterHash:"after hashing",recordHash:"record hash",beforeModuleAssets:"module assets processing",beforeChunkAssets:"chunk assets processing",processAssets:"asset processing",afterProcessAssets:"after asset optimization",record:"recording",afterSeal:"after seal"};const i=Object.keys(s).length;Object.keys(s).forEach((o,r)=>{const a=s[o];const c=r/i*.25+.7;n.hooks[o].intercept({name:"ProgressPlugin",call(){t(c,"sealing",a)},done(){d.set(e,undefined);t(c,"sealing",a)},result(){t(c,"sealing",a)},error(){t(c,"sealing",a)},tap(e){d.set(n.compiler,(n,...s)=>{t(c,"sealing",a,e.name,...s)});t(c,"sealing",a,e.name)}})})});e.hooks.make.intercept({name:"ProgressPlugin",call(){t(.1,"building")},done(){t(.65,"building")}});const z=(n,s,i,o)=>{n.intercept({name:"ProgressPlugin",call(){t(s,i,o)},done(){d.set(e,undefined);t(s,i,o)},result(){t(s,i,o)},error(){t(s,i,o)},tap(n){d.set(e,(e,...r)=>{t(s,i,o,n.name,...r)});t(s,i,o,n.name)}})};e.cache.hooks.endIdle.intercept({name:"ProgressPlugin",call(){t(0,"")}});z(e.cache.hooks.endIdle,.01,"cache","end idle");e.hooks.initialize.intercept({name:"ProgressPlugin",call(){t(0,"")}});z(e.hooks.initialize,.01,"setup","initialize");z(e.hooks.beforeRun,.02,"setup","before run");z(e.hooks.run,.03,"setup","run");z(e.hooks.watchRun,.03,"setup","watch run");z(e.hooks.normalModuleFactory,.04,"setup","normal module factory");z(e.hooks.contextModuleFactory,.05,"setup","context module factory");z(e.hooks.beforeCompile,.06,"setup","before compile");z(e.hooks.compile,.07,"setup","compile");z(e.hooks.thisCompilation,.08,"setup","compilation");z(e.hooks.compilation,.09,"setup","compilation");z(e.hooks.finishMake,.69,"building","finish");z(e.hooks.emit,.95,"emitting","emit");z(e.hooks.afterEmit,.98,"emitting","after emit");z(e.hooks.done,.99,"done","plugins");e.hooks.done.intercept({name:"ProgressPlugin",done(){t(.99,"")}});z(e.cache.hooks.storeBuildDependencies,.99,"cache","store build dependencies");z(e.cache.hooks.shutdown,.99,"cache","shutdown");z(e.cache.hooks.beginIdle,.99,"cache","begin idle");z(e.hooks.watchClose,.99,"end","closing watch compilation");e.cache.hooks.beginIdle.intercept({name:"ProgressPlugin",done(){t(1,"")}});e.cache.hooks.shutdown.intercept({name:"ProgressPlugin",done(){t(1,"")}})}}ProgressPlugin.defaultOptions={profile:false,modulesCount:5e3,dependenciesCount:1e4,modules:true,dependencies:true,activeModules:false,entries:true};e.exports=ProgressPlugin},38309:(e,t,n)=>{"use strict";const s=n(76911);const i=n(95770);const{approve:o}=n(93998);class ProvidePlugin{constructor(e){this.definitions=e}apply(e){const t=this.definitions;e.hooks.compilation.tap("ProvidePlugin",(e,{normalModuleFactory:n})=>{e.dependencyTemplates.set(s,new s.Template);e.dependencyFactories.set(i,n);e.dependencyTemplates.set(i,new i.Template);const r=(e,n)=>{Object.keys(t).forEach(n=>{const s=[].concat(t[n]);const r=n.split(".");if(r.length>0){r.slice(1).forEach((t,n)=>{const s=r.slice(0,n+1).join(".");e.hooks.canRename.for(s).tap("ProvidePlugin",o)})}e.hooks.expression.for(n).tap("ProvidePlugin",t=>{const o=n.includes(".")?`__webpack_provided_${n.replace(/\./g,"_dot_")}`:n;const r=new i(s[0],o,s.slice(1),t.range);r.loc=t.loc;e.state.module.addDependency(r);return true});e.hooks.call.for(n).tap("ProvidePlugin",t=>{const o=n.includes(".")?`__webpack_provided_${n.replace(/\./g,"_dot_")}`:n;const r=new i(s[0],o,s.slice(1),t.callee.range);r.loc=t.callee.loc;e.state.module.addDependency(r);e.walkExpressions(t.arguments);return true})})};n.hooks.parser.for("javascript/auto").tap("ProvidePlugin",r);n.hooks.parser.for("javascript/dynamic").tap("ProvidePlugin",r);n.hooks.parser.for("javascript/esm").tap("ProvidePlugin",r)})}}e.exports=ProvidePlugin},84929:(e,t,n)=>{"use strict";const{OriginalSource:s,RawSource:i}=n(84697);const o=n(73208);const r=n(33032);const a=new Set(["javascript"]);class RawModule extends o{constructor(e,t,n){super("javascript/dynamic",null);this.sourceStr=e;this.identifierStr=t||this.sourceStr;this.readableIdentifierStr=n||this.identifierStr}getSourceTypes(){return a}identifier(){return this.identifierStr}size(e){return Math.max(1,this.sourceStr.length)}readableIdentifier(e){return e.shorten(this.readableIdentifierStr)}needBuild(e,t){return t(null,!this.buildMeta)}build(e,t,n,s,i){this.buildMeta={};this.buildInfo={cacheable:true};i()}codeGeneration(e){const t=new Map;if(this.useSourceMap||this.useSimpleSourceMap){t.set("javascript",new s(this.sourceStr,this.identifier()))}else{t.set("javascript",new i(this.sourceStr))}return{sources:t,runtimeRequirements:null}}updateHash(e,t){e.update(this.sourceStr);super.updateHash(e,t)}serialize(e){const{write:t}=e;t(this.sourceStr);t(this.identifierStr);t(this.readableIdentifierStr);super.serialize(e)}deserialize(e){const{read:t}=e;this.sourceStr=t();this.identifierStr=t();this.readableIdentifierStr=t();super.deserialize(e)}}r(RawModule,"webpack/lib/RawModule");e.exports=RawModule},11094:(e,t,n)=>{"use strict";const{compareNumbers:s}=n(29579);const i=n(82186);class RecordIdsPlugin{constructor(e){this.options=e||{}}apply(e){const t=this.options.portableIds;const n=i.makePathsRelative.bindContextCache(e.context,e.root);const o=e=>{if(t){return n(e.identifier())}return e.identifier()};e.hooks.compilation.tap("RecordIdsPlugin",e=>{e.hooks.recordModules.tap("RecordIdsPlugin",(t,n)=>{const i=e.chunkGraph;if(!n.modules)n.modules={};if(!n.modules.byIdentifier)n.modules.byIdentifier={};const r=new Set;for(const e of t){const t=i.getModuleId(e);if(typeof t!=="number")continue;const s=o(e);n.modules.byIdentifier[s]=t;r.add(t)}n.modules.usedIds=Array.from(r).sort(s)});e.hooks.reviveModules.tap("RecordIdsPlugin",(t,n)=>{if(!n.modules)return;if(n.modules.byIdentifier){const s=e.chunkGraph;const i=new Set;for(const e of t){const t=s.getModuleId(e);if(t!==null)continue;const r=o(e);const a=n.modules.byIdentifier[r];if(a===undefined)continue;if(i.has(a))continue;i.add(a);s.setModuleId(e,a)}}if(Array.isArray(n.modules.usedIds)){e.usedModuleIds=new Set(n.modules.usedIds)}});const t=e=>{const t=[];for(const n of e.groupsIterable){const s=n.chunks.indexOf(e);if(n.name){t.push(`${s} ${n.name}`)}else{for(const e of n.origins){if(e.module){if(e.request){t.push(`${s} ${o(e.module)} ${e.request}`)}else if(typeof e.loc==="string"){t.push(`${s} ${o(e.module)} ${e.loc}`)}else if(e.loc&&typeof e.loc==="object"&&"start"in e.loc){t.push(`${s} ${o(e.module)} ${JSON.stringify(e.loc.start)}`)}}}}}return t};e.hooks.recordChunks.tap("RecordIdsPlugin",(e,n)=>{if(!n.chunks)n.chunks={};if(!n.chunks.byName)n.chunks.byName={};if(!n.chunks.bySource)n.chunks.bySource={};const i=new Set;for(const s of e){if(typeof s.id!=="number")continue;const e=s.name;if(e)n.chunks.byName[e]=s.id;const o=t(s);for(const e of o){n.chunks.bySource[e]=s.id}i.add(s.id)}n.chunks.usedIds=Array.from(i).sort(s)});e.hooks.reviveChunks.tap("RecordIdsPlugin",(n,s)=>{if(!s.chunks)return;const i=new Set;if(s.chunks.byName){for(const e of n){if(e.id!==null)continue;if(!e.name)continue;const t=s.chunks.byName[e.name];if(t===undefined)continue;if(i.has(t))continue;i.add(t);e.id=t;e.ids=[t]}}if(s.chunks.bySource){for(const e of n){const n=t(e);for(const t of n){const n=s.chunks.bySource[t];if(n===undefined)continue;if(i.has(n))continue;i.add(n);e.id=n;e.ids=[n];break}}}if(Array.isArray(s.chunks.usedIds)){e.usedChunkIds=new Set(s.chunks.usedIds)}})})}}e.exports=RecordIdsPlugin},73406:(e,t,n)=>{"use strict";const{contextify:s}=n(82186);class RequestShortener{constructor(e,t){this.contextify=s.bindContextCache(e,t)}shorten(e){if(!e){return e}return this.contextify(e)}}e.exports=RequestShortener},88846:(e,t,n)=>{"use strict";const s=n(16475);const i=n(76911);const{toConstantDependency:o}=n(93998);e.exports=class RequireJsStuffPlugin{apply(e){e.hooks.compilation.tap("RequireJsStuffPlugin",(e,{normalModuleFactory:t})=>{e.dependencyTemplates.set(i,new i.Template);const n=(e,t)=>{if(t.requireJs===undefined||!t.requireJs){return}e.hooks.call.for("require.config").tap("RequireJsStuffPlugin",o(e,"undefined"));e.hooks.call.for("requirejs.config").tap("RequireJsStuffPlugin",o(e,"undefined"));e.hooks.expression.for("require.version").tap("RequireJsStuffPlugin",o(e,JSON.stringify("0.0.0")));e.hooks.expression.for("requirejs.onError").tap("RequireJsStuffPlugin",o(e,s.uncaughtErrorHandler,[s.uncaughtErrorHandler]))};t.hooks.parser.for("javascript/auto").tap("RequireJsStuffPlugin",n);t.hooks.parser.for("javascript/dynamic").tap("RequireJsStuffPlugin",n)})}}},30217:(e,t,n)=>{"use strict";const s=n(9256).ResolverFactory;const{HookMap:i,SyncHook:o,SyncWaterfallHook:r}=n(6967);const{cleverMerge:a,cachedCleverMerge:c,removeOperations:u}=n(60839);const l={};const d=e=>{const{dependencyType:t,byDependency:n,plugins:s,...i}=e;const o={...i,plugins:s&&s.filter(e=>e!=="...")};if(!o.fileSystem){throw new Error("fileSystem is missing in resolveOptions, but it's required for enhanced-resolve")}const r=o;if(!e.byDependency){return r}const c=t in n?`${t}`:"default";const l=n[c];if(!l)return r;return u(a(r,l))};e.exports=class ResolverFactory{constructor(){this.hooks=Object.freeze({resolveOptions:new i(()=>new r(["resolveOptions"])),resolver:new i(()=>new o(["resolver","resolveOptions","userResolveOptions"]))});this.cache=new Map}get(e,t=l){let n=this.cache.get(e);if(!n){n={direct:new WeakMap,stringified:new Map};this.cache.set(e,n)}const s=n.direct.get(t);if(s){return s}const i=JSON.stringify(t);const o=n.stringified.get(i);if(o){n.direct.set(t,o);return o}const r=this._create(e,t);n.direct.set(t,r);n.stringified.set(i,r);return r}_create(e,t){const n={...t};const i=d(this.hooks.resolveOptions.for(e).call(t));const o=s.createResolver(i);if(!o){throw new Error("No resolver created")}const r=new WeakMap;o.withOptions=(t=>{const s=r.get(t);if(s!==undefined)return s;const i=c(n,t);const o=this.get(e,i);r.set(t,o);return o});this.hooks.resolver.for(e).call(o,i,n);return o}}},16475:(e,t)=>{"use strict";t.require="__webpack_require__";t.requireScope="__webpack_require__.*";t.exports="__webpack_exports__";t.thisAsExports="top-level-this-exports";t.returnExportsFromRuntime="return-exports-from-runtime";t.module="module";t.moduleId="module.id";t.moduleLoaded="module.loaded";t.publicPath="__webpack_require__.p";t.entryModuleId="__webpack_require__.s";t.moduleCache="__webpack_require__.c";t.moduleFactories="__webpack_require__.m";t.moduleFactoriesAddOnly="__webpack_require__.m (add only)";t.ensureChunk="__webpack_require__.e";t.ensureChunkHandlers="__webpack_require__.f";t.ensureChunkIncludeEntries="__webpack_require__.f (include entries)";t.prefetchChunk="__webpack_require__.E";t.prefetchChunkHandlers="__webpack_require__.F";t.preloadChunk="__webpack_require__.G";t.preloadChunkHandlers="__webpack_require__.H";t.definePropertyGetters="__webpack_require__.d";t.makeNamespaceObject="__webpack_require__.r";t.createFakeNamespaceObject="__webpack_require__.t";t.compatGetDefaultExport="__webpack_require__.n";t.harmonyModuleDecorator="__webpack_require__.hmd";t.nodeModuleDecorator="__webpack_require__.nmd";t.getFullHash="__webpack_require__.h";t.wasmInstances="__webpack_require__.w";t.instantiateWasm="__webpack_require__.v";t.uncaughtErrorHandler="__webpack_require__.oe";t.scriptNonce="__webpack_require__.nc";t.loadScript="__webpack_require__.l";t.chunkName="__webpack_require__.cn";t.runtimeId="__webpack_require__.j";t.getChunkScriptFilename="__webpack_require__.u";t.getChunkUpdateScriptFilename="__webpack_require__.hu";t.startup="__webpack_require__.x";t.startupNoDefault="__webpack_require__.x (no default handler)";t.startupOnlyAfter="__webpack_require__.x (only after)";t.startupOnlyBefore="__webpack_require__.x (only before)";t.startupEntrypoint="__webpack_require__.X";t.externalInstallChunk="__webpack_require__.C";t.interceptModuleExecution="__webpack_require__.i";t.global="__webpack_require__.g";t.shareScopeMap="__webpack_require__.S";t.initializeSharing="__webpack_require__.I";t.currentRemoteGetScope="__webpack_require__.R";t.getUpdateManifestFilename="__webpack_require__.hmrF";t.hmrDownloadManifest="__webpack_require__.hmrM";t.hmrDownloadUpdateHandlers="__webpack_require__.hmrC";t.hmrModuleData="__webpack_require__.hmrD";t.hmrInvalidateModuleHandlers="__webpack_require__.hmrI";t.amdDefine="__webpack_require__.amdD";t.amdOptions="__webpack_require__.amdO";t.system="__webpack_require__.System";t.hasOwnProperty="__webpack_require__.o";t.systemContext="__webpack_require__.y";t.baseURI="__webpack_require__.b"},16963:(e,t,n)=>{"use strict";const{RawSource:s}=n(84697);const i=n(84697).OriginalSource;const o=n(73208);const r=new Set(["runtime"]);class RuntimeModule extends o{constructor(e,t=0){super("runtime");this.name=e;this.stage=t;this.buildMeta={};this.buildInfo={};this.compilation=undefined;this.chunk=undefined;this.fullHash=false;this._cachedGeneratedCode=undefined}attach(e,t){this.compilation=e;this.chunk=t}identifier(){return`webpack/runtime/${this.name}`}readableIdentifier(e){return`webpack/runtime/${this.name}`}needBuild(e,t){return t(null,false)}build(e,t,n,s,i){i()}updateHash(e,t){e.update(this.name);e.update(`${this.stage}`);try{if(this.fullHash){e.update(this.generate())}else{e.update(this.getGeneratedCode())}}catch(t){e.update(t.message)}super.updateHash(e,t)}getSourceTypes(){return r}codeGeneration(e){const t=new Map;const n=this.getGeneratedCode();if(n){t.set("runtime",this.useSourceMap||this.useSimpleSourceMap?new i(n,this.identifier()):new s(n))}return{sources:t,runtimeRequirements:null}}size(e){try{const e=this.getGeneratedCode();return e?e.length:0}catch(e){return 0}}generate(){const e=n(77198);throw new e}getGeneratedCode(){if(this._cachedGeneratedCode){return this._cachedGeneratedCode}return this._cachedGeneratedCode=this.generate()}shouldIsolate(){return true}}RuntimeModule.STAGE_NORMAL=0;RuntimeModule.STAGE_BASIC=5;RuntimeModule.STAGE_ATTACH=10;RuntimeModule.STAGE_TRIGGER=20;e.exports=RuntimeModule},2307:(e,t,n)=>{"use strict";const s=n(16475);const i=n(24187);const o=n(89464);const r=n(66532);const a=n(44793);const c=n(88234);const u=n(94669);const l=n(75481);const d=n(71519);const p=n(34277);const h=n(10029);const f=n(23255);const m=n(8011);const g=n(19942);const y=n(65714);const v=n(56030);const b=n(97115);const k=n(80655);const w=n(96066);const x=n(40293);const C=[s.chunkName,s.runtimeId,s.compatGetDefaultExport,s.createFakeNamespaceObject,s.definePropertyGetters,s.ensureChunk,s.entryModuleId,s.getFullHash,s.global,s.makeNamespaceObject,s.moduleCache,s.moduleFactories,s.moduleFactoriesAddOnly,s.interceptModuleExecution,s.publicPath,s.scriptNonce,s.uncaughtErrorHandler,s.wasmInstances,s.instantiateWasm,s.shareScopeMap,s.initializeSharing,s.loadScript];const M={[s.moduleLoaded]:[s.module],[s.moduleId]:[s.module]};const S={[s.definePropertyGetters]:[s.hasOwnProperty],[s.compatGetDefaultExport]:[s.definePropertyGetters],[s.createFakeNamespaceObject]:[s.definePropertyGetters,s.makeNamespaceObject,s.require],[s.initializeSharing]:[s.shareScopeMap],[s.shareScopeMap]:[s.hasOwnProperty]};class RuntimePlugin{apply(e){e.hooks.compilation.tap("RuntimePlugin",e=>{e.dependencyTemplates.set(i,new i.Template);for(const t of C){e.hooks.runtimeRequirementInModule.for(t).tap("RuntimePlugin",(e,t)=>{t.add(s.requireScope)});e.hooks.runtimeRequirementInTree.for(t).tap("RuntimePlugin",(e,t)=>{t.add(s.requireScope)})}for(const t of Object.keys(S)){const n=S[t];e.hooks.runtimeRequirementInTree.for(t).tap("RuntimePlugin",(e,t)=>{for(const e of n)t.add(e)})}for(const t of Object.keys(M)){const n=M[t];e.hooks.runtimeRequirementInModule.for(t).tap("RuntimePlugin",(e,t)=>{for(const e of n)t.add(e)})}e.hooks.runtimeRequirementInTree.for(s.definePropertyGetters).tap("RuntimePlugin",t=>{e.addRuntimeModule(t,new l);return true});e.hooks.runtimeRequirementInTree.for(s.makeNamespaceObject).tap("RuntimePlugin",t=>{e.addRuntimeModule(t,new y);return true});e.hooks.runtimeRequirementInTree.for(s.createFakeNamespaceObject).tap("RuntimePlugin",t=>{e.addRuntimeModule(t,new u);return true});e.hooks.runtimeRequirementInTree.for(s.hasOwnProperty).tap("RuntimePlugin",t=>{e.addRuntimeModule(t,new m);return true});e.hooks.runtimeRequirementInTree.for(s.compatGetDefaultExport).tap("RuntimePlugin",t=>{e.addRuntimeModule(t,new a);return true});e.hooks.runtimeRequirementInTree.for(s.runtimeId).tap("RuntimePlugin",t=>{e.addRuntimeModule(t,new b);return true});e.hooks.runtimeRequirementInTree.for(s.publicPath).tap("RuntimePlugin",(t,n)=>{const{outputOptions:i}=e;const{publicPath:o,scriptType:a}=i;if(o==="auto"){const i=new r;if(a!=="module")n.add(s.global);e.addRuntimeModule(t,i)}else{const n=new v;if(typeof o!=="string"||/\[(full)?hash\]/.test(o)){n.fullHash=true}e.addRuntimeModule(t,n)}return true});e.hooks.runtimeRequirementInTree.for(s.global).tap("RuntimePlugin",t=>{e.addRuntimeModule(t,new f);return true});e.hooks.runtimeRequirementInTree.for(s.systemContext).tap("RuntimePlugin",t=>{if(e.outputOptions.library.type==="system"){e.addRuntimeModule(t,new k)}return true});e.hooks.runtimeRequirementInTree.for(s.getChunkScriptFilename).tap("RuntimePlugin",(t,n)=>{if(typeof e.outputOptions.chunkFilename==="string"&&/\[(full)?hash(:\d+)?\]/.test(e.outputOptions.chunkFilename)){n.add(s.getFullHash)}e.addRuntimeModule(t,new p("javascript","javascript",s.getChunkScriptFilename,t=>t.filenameTemplate||(t.canBeInitial()?e.outputOptions.filename:e.outputOptions.chunkFilename),false));return true});e.hooks.runtimeRequirementInTree.for(s.getChunkUpdateScriptFilename).tap("RuntimePlugin",(t,n)=>{if(/\[(full)?hash(:\d+)?\]/.test(e.outputOptions.hotUpdateChunkFilename))n.add(s.getFullHash);e.addRuntimeModule(t,new p("javascript","javascript update",s.getChunkUpdateScriptFilename,t=>e.outputOptions.hotUpdateChunkFilename,true));return true});e.hooks.runtimeRequirementInTree.for(s.getUpdateManifestFilename).tap("RuntimePlugin",(t,n)=>{if(/\[(full)?hash(:\d+)?\]/.test(e.outputOptions.hotUpdateMainFilename)){n.add(s.getFullHash)}e.addRuntimeModule(t,new h("update manifest",s.getUpdateManifestFilename,e.outputOptions.hotUpdateMainFilename));return true});e.hooks.runtimeRequirementInTree.for(s.ensureChunk).tap("RuntimePlugin",(t,n)=>{const i=t.hasAsyncChunks();if(i){n.add(s.ensureChunkHandlers)}e.addRuntimeModule(t,new d(n));return true});e.hooks.runtimeRequirementInTree.for(s.ensureChunkIncludeEntries).tap("RuntimePlugin",(e,t)=>{t.add(s.ensureChunkHandlers)});e.hooks.runtimeRequirementInTree.for(s.shareScopeMap).tap("RuntimePlugin",(t,n)=>{e.addRuntimeModule(t,new w);return true});e.hooks.runtimeRequirementInTree.for(s.loadScript).tap("RuntimePlugin",(t,n)=>{e.addRuntimeModule(t,new g);return true});e.hooks.additionalTreeRuntimeRequirements.tap("RuntimePlugin",(t,n)=>{const{mainTemplate:s}=e;if(s.hooks.bootstrap.isUsed()||s.hooks.localVars.isUsed()||s.hooks.requireEnsure.isUsed()||s.hooks.requireExtensions.isUsed()){e.addRuntimeModule(t,new c)}});o.getCompilationHooks(e).chunkHash.tap("RuntimePlugin",(e,t,{chunkGraph:n})=>{const s=new x;for(const t of n.getChunkRuntimeModulesIterable(e)){s.add(n.getModuleHash(t,e.runtime))}s.updateHash(t)})})}}e.exports=RuntimePlugin},18777:(e,t,n)=>{"use strict";const s=n(55870);const i=n(16475);const o=n(1626);const{equals:r}=n(84953);const a=n(29404);const c=n(54190);const{forEachRuntime:u,subtractRuntime:l}=n(17156);const d=(e,t)=>{return`Module ${e.identifier()} has no id assigned.\nThis should not happen.\nIt's in these chunks: ${Array.from(t.getModuleChunksIterable(e),e=>e.name||e.id||e.debugId).join(", ")||"none"} (If module is in no chunk this indicates a bug in some chunk/module optimization logic)\nModule has these incoming connections: ${Array.from(t.moduleGraph.getIncomingConnections(e),e=>`\n - ${e.originModule&&e.originModule.identifier()} ${e.dependency&&e.dependency.type} ${e.explanations&&Array.from(e.explanations).join(", ")||""}`).join("")}`};class RuntimeTemplate{constructor(e,t){this.outputOptions=e||{};this.requestShortener=t}isIIFE(){return this.outputOptions.iife}isModule(){return this.outputOptions.module}supportsConst(){return this.outputOptions.environment.const}supportsArrowFunction(){return this.outputOptions.environment.arrowFunction}supportsForOf(){return this.outputOptions.environment.forOf}supportsDestructuring(){return this.outputOptions.environment.destructuring}supportsBigIntLiteral(){return this.outputOptions.environment.bigIntLiteral}supportsDynamicImport(){return this.outputOptions.environment.dynamicImport}supportsEcmaScriptModuleSyntax(){return this.outputOptions.environment.module}supportTemplateLiteral(){return false}returningFunction(e,t=""){return this.supportsArrowFunction()?`(${t}) => ${e}`:`function(${t}) { return ${e}; }`}basicFunction(e,t){return this.supportsArrowFunction()?`(${e}) => {\n${o.indent(t)}\n}`:`function(${e}) {\n${o.indent(t)}\n}`}emptyFunction(){return this.supportsArrowFunction()?"x => {}":"function() {}"}destructureArray(e,t){return this.supportsDestructuring()?`var [${e.join(", ")}] = ${t};`:o.asString(e.map((e,n)=>`var ${e} = ${t}[${n}];`))}iife(e,t){return`(${this.basicFunction(e,t)})()`}forEach(e,t,n){return this.supportsForOf()?`for(const ${e} of ${t}) {\n${o.indent(n)}\n}`:`${t}.forEach(function(${e}) {\n${o.indent(n)}\n});`}comment({request:e,chunkName:t,chunkReason:n,message:s,exportName:i}){let r;if(this.outputOptions.pathinfo){r=[s,e,t,n].filter(Boolean).map(e=>this.requestShortener.shorten(e)).join(" | ")}else{r=[s,t,n].filter(Boolean).map(e=>this.requestShortener.shorten(e)).join(" | ")}if(!r)return"";if(this.outputOptions.pathinfo){return o.toComment(r)+" "}else{return o.toNormalComment(r)+" "}}throwMissingModuleErrorBlock({request:e}){const t=`Cannot find module '${e}'`;return`var e = new Error(${JSON.stringify(t)}); e.code = 'MODULE_NOT_FOUND'; throw e;`}throwMissingModuleErrorFunction({request:e}){return`function webpackMissingModule() { ${this.throwMissingModuleErrorBlock({request:e})} }`}missingModule({request:e}){return`Object(${this.throwMissingModuleErrorFunction({request:e})}())`}missingModuleStatement({request:e}){return`${this.missingModule({request:e})};\n`}missingModulePromise({request:e}){return`Promise.resolve().then(${this.throwMissingModuleErrorFunction({request:e})})`}weakError({module:e,chunkGraph:t,request:n,idExpr:s,type:i}){const r=t.getModuleId(e);const a=r===null?JSON.stringify("Module is not available (weak dependency)"):s?`"Module '" + ${s} + "' is not available (weak dependency)"`:JSON.stringify(`Module '${r}' is not available (weak dependency)`);const c=n?o.toNormalComment(n)+" ":"";const u=`var e = new Error(${a}); `+c+"e.code = 'MODULE_NOT_FOUND'; throw e;";switch(i){case"statements":return u;case"promise":return`Promise.resolve().then(${this.basicFunction("",u)})`;case"expression":return this.iife("",u)}}moduleId({module:e,chunkGraph:t,request:n,weak:s}){if(!e){return this.missingModule({request:n})}const i=t.getModuleId(e);if(i===null){if(s){return"null /* weak dependency, without id */"}throw new Error(`RuntimeTemplate.moduleId(): ${d(e,t)}`)}return`${this.comment({request:n})}${JSON.stringify(i)}`}moduleRaw({module:e,chunkGraph:t,request:n,weak:s,runtimeRequirements:o}){if(!e){return this.missingModule({request:n})}const r=t.getModuleId(e);if(r===null){if(s){return this.weakError({module:e,chunkGraph:t,request:n,type:"expression"})}throw new Error(`RuntimeTemplate.moduleId(): ${d(e,t)}`)}o.add(i.require);return`__webpack_require__(${this.moduleId({module:e,chunkGraph:t,request:n,weak:s})})`}moduleExports({module:e,chunkGraph:t,request:n,weak:s,runtimeRequirements:i}){return this.moduleRaw({module:e,chunkGraph:t,request:n,weak:s,runtimeRequirements:i})}moduleNamespace({module:e,chunkGraph:t,request:n,strict:s,weak:o,runtimeRequirements:r}){if(!e){return this.missingModule({request:n})}if(t.getModuleId(e)===null){if(o){return this.weakError({module:e,chunkGraph:t,request:n,type:"expression"})}throw new Error(`RuntimeTemplate.moduleNamespace(): ${d(e,t)}`)}const a=this.moduleId({module:e,chunkGraph:t,request:n,weak:o});const c=e.getExportsType(t.moduleGraph,s);switch(c){case"namespace":return this.moduleRaw({module:e,chunkGraph:t,request:n,weak:o,runtimeRequirements:r});case"default-with-named":r.add(i.createFakeNamespaceObject);return`${i.createFakeNamespaceObject}(${a}, 3)`;case"default-only":r.add(i.createFakeNamespaceObject);return`${i.createFakeNamespaceObject}(${a}, 1)`;case"dynamic":r.add(i.createFakeNamespaceObject);return`${i.createFakeNamespaceObject}(${a}, 7)`}}moduleNamespacePromise({chunkGraph:e,block:t,module:n,request:s,message:o,strict:r,weak:a,runtimeRequirements:c}){if(!n){return this.missingModulePromise({request:s})}const u=e.getModuleId(n);if(u===null){if(a){return this.weakError({module:n,chunkGraph:e,request:s,type:"promise"})}throw new Error(`RuntimeTemplate.moduleNamespacePromise(): ${d(n,e)}`)}const l=this.blockPromise({chunkGraph:e,block:t,message:o,runtimeRequirements:c});let p;let h=JSON.stringify(e.getModuleId(n));const f=this.comment({request:s});let m="";if(a){if(h.length>8){m+=`var id = ${h}; `;h="id"}c.add(i.moduleFactories);m+=`if(!${i.moduleFactories}[${h}]) { ${this.weakError({module:n,chunkGraph:e,request:s,idExpr:h,type:"statements"})} } `}const g=this.moduleId({module:n,chunkGraph:e,request:s,weak:a});const y=n.getExportsType(e.moduleGraph,r);let v=16;switch(y){case"namespace":if(m){const t=this.moduleRaw({module:n,chunkGraph:e,request:s,weak:a,runtimeRequirements:c});p=`.then(${this.basicFunction("",`${m}return ${t};`)})`}else{c.add(i.require);p=`.then(__webpack_require__.bind(__webpack_require__, ${f}${h}))`}break;case"dynamic":v|=4;case"default-with-named":v|=2;case"default-only":c.add(i.createFakeNamespaceObject);if(e.moduleGraph.isAsync(n)){if(m){const t=this.moduleRaw({module:n,chunkGraph:e,request:s,weak:a,runtimeRequirements:c});p=`.then(${this.basicFunction("",`${m}return ${t};`)})`}else{c.add(i.require);p=`.then(__webpack_require__.bind(__webpack_require__, ${f}${h}))`}p+=`.then(${this.returningFunction(`${i.createFakeNamespaceObject}(m, ${v})`,"m")})`}else{v|=1;if(m){const e=`${i.createFakeNamespaceObject}(${g}, ${v})`;p=`.then(${this.basicFunction("",`${m}return ${e};`)})`}else{p=`.then(${i.createFakeNamespaceObject}.bind(__webpack_require__, ${f}${h}, ${v}))`}}break}return`${l||"Promise.resolve()"}${p}`}runtimeConditionExpression({chunkGraph:e,runtimeCondition:t,runtime:n,runtimeRequirements:s}){if(t===undefined)return"true";if(typeof t==="boolean")return`${t}`;const o=new Set;u(t,t=>o.add(`${e.getRuntimeId(t)}`));const r=new Set;u(l(n,t),t=>r.add(`${e.getRuntimeId(t)}`));s.add(i.runtimeId);return a.fromLists(Array.from(o),Array.from(r))(i.runtimeId)}importStatement({update:e,module:t,chunkGraph:n,request:s,importVar:o,originModule:r,weak:a,runtimeRequirements:c}){if(!t){return[this.missingModuleStatement({request:s}),""]}if(n.getModuleId(t)===null){if(a){return[this.weakError({module:t,chunkGraph:n,request:s,type:"statements"}),""]}throw new Error(`RuntimeTemplate.importStatement(): ${d(t,n)}`)}const u=this.moduleId({module:t,chunkGraph:n,request:s,weak:a});const l=e?"":"var ";const p=t.getExportsType(n.moduleGraph,r.buildMeta.strictHarmonyModule);c.add(i.require);const h=`/* harmony import */ ${l}${o} = __webpack_require__(${u});\n`;if(p==="dynamic"){c.add(i.compatGetDefaultExport);return[h,`/* harmony import */ ${l}${o}_default = /*#__PURE__*/${i.compatGetDefaultExport}(${o});\n`]}return[h,""]}exportFromImport({moduleGraph:e,module:t,request:n,exportName:a,originModule:u,asiSafe:l,isCall:d,callContext:p,defaultInterop:h,importVar:f,initFragments:m,runtime:g,runtimeRequirements:y}){if(!t){return this.missingModule({request:n})}if(!Array.isArray(a)){a=a?[a]:[]}const v=t.getExportsType(e,u.buildMeta.strictHarmonyModule);if(h){if(a.length>0&&a[0]==="default"){switch(v){case"dynamic":if(d){return`${f}_default()${c(a,1)}`}else{return l?`(${f}_default()${c(a,1)})`:l===false?`;(${f}_default()${c(a,1)})`:`${f}_default.a${c(a,1)}`}case"default-only":case"default-with-named":a=a.slice(1);break}}else if(a.length>0){if(v==="default-only"){return"/* non-default import from non-esm module */undefined"+c(a,1)}else if(v!=="namespace"&&a[0]==="__esModule"){return"/* __esModule */true"}}else if(v==="default-only"||v==="default-with-named"){y.add(i.createFakeNamespaceObject);m.push(new s(`var ${f}_namespace_cache;\n`,s.STAGE_CONSTANTS,-1,`${f}_namespace_cache`));return`/*#__PURE__*/ ${l?"":l===false?";":"Object"}(${f}_namespace_cache || (${f}_namespace_cache = ${i.createFakeNamespaceObject}(${f}${v==="default-only"?"":", 2"})))`}}if(a.length>0){const n=e.getExportsInfo(t);const s=n.getUsedName(a,g);if(!s){const e=o.toNormalComment(`unused export ${c(a)}`);return`${e} undefined`}const i=r(s,a)?"":o.toNormalComment(c(a))+" ";const u=`${f}${i}${c(s)}`;if(d&&p===false){return l?`(0,${u})`:l===false?`;(0,${u})`:`Object(${u})`}return u}else{return f}}blockPromise({block:e,message:t,chunkGraph:n,runtimeRequirements:s}){if(!e){const e=this.comment({message:t});return`Promise.resolve(${e.trim()})`}const o=n.getBlockChunkGroup(e);if(!o||o.chunks.length===0){const e=this.comment({message:t});return`Promise.resolve(${e.trim()})`}const r=o.chunks.filter(e=>!e.hasRuntime()&&e.id!==null);const a=this.comment({message:t,chunkName:e.chunkName});if(r.length===1){const e=JSON.stringify(r[0].id);s.add(i.ensureChunk);return`${i.ensureChunk}(${a}${e})`}else if(r.length>0){s.add(i.ensureChunk);const e=e=>`${i.ensureChunk}(${JSON.stringify(e.id)})`;return`Promise.all(${a.trim()}[${r.map(e).join(", ")}])`}else{return`Promise.resolve(${a.trim()})`}}asyncModuleFactory({block:e,chunkGraph:t,runtimeRequirements:n,request:s}){const i=e.dependencies[0];const o=t.moduleGraph.getModule(i);const r=this.blockPromise({block:e,message:"",chunkGraph:t,runtimeRequirements:n});const a=this.returningFunction(this.moduleRaw({module:o,chunkGraph:t,request:s,runtimeRequirements:n}));return this.returningFunction(r.startsWith("Promise.resolve(")?`${a}`:`${r}.then(${this.returningFunction(a)})`)}syncModuleFactory({dependency:e,chunkGraph:t,runtimeRequirements:n,request:s}){const i=t.moduleGraph.getModule(e);const o=this.returningFunction(this.moduleRaw({module:i,chunkGraph:t,request:s,runtimeRequirements:n}));return this.returningFunction(o)}defineEsModuleFlagStatement({exportsArgument:e,runtimeRequirements:t}){t.add(i.makeNamespaceObject);t.add(i.exports);return`${i.makeNamespaceObject}(${e});\n`}}e.exports=RuntimeTemplate},63560:e=>{"use strict";class SelfModuleFactory{constructor(e){this.moduleGraph=e}create(e,t){const n=this.moduleGraph.getParentModule(e.dependencies[0]);t(null,{module:n})}}e.exports=SelfModuleFactory},71070:(e,t)=>{"use strict";t.formatSize=(e=>{if(typeof e!=="number"||Number.isNaN(e)===true){return"unknown size"}if(e<=0){return"0 bytes"}const t=["bytes","KiB","MiB","GiB"];const n=Math.floor(Math.log(e)/Math.log(1024));return`${+(e/Math.pow(1024,n)).toPrecision(3)} ${t[n]}`})},97513:(e,t,n)=>{"use strict";const s=n(89464);class SourceMapDevToolModuleOptionsPlugin{constructor(e){this.options=e}apply(e){const t=this.options;if(t.module!==false){e.hooks.buildModule.tap("SourceMapDevToolModuleOptionsPlugin",e=>{e.useSourceMap=true});e.hooks.runtimeModule.tap("SourceMapDevToolModuleOptionsPlugin",e=>{e.useSourceMap=true})}else{e.hooks.buildModule.tap("SourceMapDevToolModuleOptionsPlugin",e=>{e.useSimpleSourceMap=true});e.hooks.runtimeModule.tap("SourceMapDevToolModuleOptionsPlugin",e=>{e.useSimpleSourceMap=true})}s.getCompilationHooks(e).useSourceMap.tap("SourceMapDevToolModuleOptionsPlugin",()=>true)}}e.exports=SourceMapDevToolModuleOptionsPlugin},63872:(e,t,n)=>{"use strict";const s=n(36386);const{validate:i}=n(33225);const{ConcatSource:o,RawSource:r}=n(84697);const a=n(85720);const c=n(88821);const u=n(13216);const l=n(97513);const d=n(49835);const{relative:p,dirname:h}=n(17139);const{absolutify:f}=n(82186);const m=n(95228);const g=e=>{return e.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&")};const y=(e,t,n,s,i,o)=>{let r;let a;if(t.sourceAndMap){const e=t.sourceAndMap(s);a=e.map;r=e.source}else{a=t.map(s);r=t.source()}if(!a||typeof r!=="string")return;const c=i.options.context;const u=i.compiler.root;const l=f.bindContextCache(c,u);const d=a.sources.map(e=>{if(!e.startsWith("webpack://"))return e;e=l(e.slice(10));const t=i.findModule(e);return t||e});return{file:e,asset:t,source:r,assetInfo:n,sourceMap:a,modules:d,cacheItem:o}};class SourceMapDevToolPlugin{constructor(e={}){i(m,e,{name:"SourceMap DevTool Plugin",baseDataPath:"options"});this.sourceMapFilename=e.filename;this.sourceMappingURLComment=e.append===false?false:e.append||"\n//# source"+"MappingURL=[url]";this.moduleFilenameTemplate=e.moduleFilenameTemplate||"webpack://[namespace]/[resourcePath]";this.fallbackModuleFilenameTemplate=e.fallbackModuleFilenameTemplate||"webpack://[namespace]/[resourcePath]?[hash]";this.namespace=e.namespace||"";this.options=e}apply(e){const t=e.outputFileSystem;const n=this.sourceMapFilename;const i=this.sourceMappingURLComment;const f=this.moduleFilenameTemplate;const m=this.namespace;const v=this.fallbackModuleFilenameTemplate;const b=e.requestShortener;const k=this.options;k.test=k.test||/\.(m?js|css)($|\?)/i;const w=c.matchObject.bind(undefined,k);e.hooks.compilation.tap("SourceMapDevToolPlugin",e=>{new l(k).apply(e);e.hooks.processAssets.tapAsync({name:"SourceMapDevToolPlugin",stage:a.PROCESS_ASSETS_STAGE_DEV_TOOLING,additionalAssets:true},(a,l)=>{const x=e.chunkGraph;const C=e.getCache("SourceMapDevToolPlugin");const M=new Map;const S=u.getReporter(e.compiler)||(()=>{});const O=new Map;for(const t of e.chunks){for(const e of t.files){O.set(e,t)}for(const e of t.auxiliaryFiles){O.set(e,t)}}const T=[];for(const e of Object.keys(a)){if(w(e)){T.push(e)}}S(0);const P=[];let $=0;s.each(T,(t,n)=>{const s=e.getAsset(t);if(s.info.related&&s.info.related.sourceMap){$++;return n()}const i=C.getItemCache(t,C.getLazyHashedEtag(s.source));i.get((o,r)=>{if(o){return n(o)}if(r){const{assets:s,assetsInfo:i}=r;for(const n of Object.keys(s)){if(n===t){e.updateAsset(n,s[n],i[n])}else{e.emitAsset(n,s[n],i[n])}if(n!==t){const e=O.get(t);if(e!==undefined)e.auxiliaryFiles.add(n)}}S(.5*++$/T.length,t,"restored cached SourceMap");return n()}S(.5*$/T.length,t,"generate SourceMap");const a=y(t,s.source,s.info,{module:k.module,columns:k.columns},e,i);if(a){const e=a.modules;for(let t=0;t{if(a){return l(a)}S(.5,"resolve sources");const u=new Set(M.values());const f=new Set;const y=Array.from(M.keys()).sort((e,t)=>{const n=typeof e==="string"?e:e.identifier();const s=typeof t==="string"?t:t.identifier();return n.length-s.length});for(let e=0;e{const c=Object.create(null);const u=Object.create(null);const l=s.file;const f=O.get(l);const m=s.sourceMap;const y=s.source;const v=s.modules;S(.5+.5*w/P.length,l,"attach SourceMap");const b=v.map(e=>M.get(e));m.sources=b;if(k.noSources){m.sourcesContent=undefined}m.sourceRoot=k.sourceRoot||"";m.file=l;const x=n&&/\[contenthash(:\w+)?\]/.test(n);if(x&&s.assetInfo.contenthash){const e=s.assetInfo.contenthash;let t;if(Array.isArray(e)){t=e.map(g).join("|")}else{t=g(e)}m.file=m.file.replace(new RegExp(t,"g"),e=>"x".repeat(e.length))}let C=i;if(C!==false&&/\.css($|\?)/i.test(l)){C=C.replace(/^\n\/\/(.*)$/,"\n/*$1*/")}const T=JSON.stringify(m);if(n){let s=l;const i=x&&d("md4").update(T).digest("hex");const a={chunk:f,filename:k.fileContext?p(t,`/${k.fileContext}`,`/${s}`):s,contentHash:i};const{path:m,info:g}=e.getPathWithInfo(n,a);const v=k.publicPath?k.publicPath+m:p(t,h(t,`/${l}`),`/${m}`);let b=new r(y);if(C!==false){b=new o(b,e.getPath(C,Object.assign({url:v},a)))}const w={related:{sourceMap:m}};c[l]=b;u[l]=w;e.updateAsset(l,b,w);const M=new r(T);const S={...g,development:true};c[m]=M;u[m]=S;e.emitAsset(m,M,S);if(f!==undefined)f.auxiliaryFiles.add(m)}else{if(C===false){throw new Error("SourceMapDevToolPlugin: append can't be false when no filename is provided")}const t=new o(new r(y),C.replace(/\[map\]/g,()=>T).replace(/\[url\]/g,()=>`data:application/json;charset=utf-8;base64,${Buffer.from(T,"utf-8").toString("base64")}`));c[l]=t;u[l]=undefined;e.updateAsset(l,t)}s.cacheItem.store({assets:c,assetsInfo:u},e=>{S(.5+.5*++w/P.length,s.file,"attached SourceMap");if(e){return a(e)}a()})},e=>{S(1);l(e)})})})})}}e.exports=SourceMapDevToolPlugin},31743:e=>{"use strict";class Stats{constructor(e){this.compilation=e}get hash(){return this.compilation.hash}get startTime(){return this.compilation.startTime}get endTime(){return this.compilation.endTime}hasWarnings(){return this.compilation.warnings.length>0||this.compilation.children.some(e=>e.getStats().hasWarnings())}hasErrors(){return this.compilation.errors.length>0||this.compilation.children.some(e=>e.getStats().hasErrors())}toJson(e){e=this.compilation.createStatsOptions(e,{forToString:false});const t=this.compilation.createStatsFactory(e);return t.create("compilation",this.compilation,{compilation:this.compilation})}toString(e){e=this.compilation.createStatsOptions(e,{forToString:true});const t=this.compilation.createStatsFactory(e);const n=this.compilation.createStatsPrinter(e);const s=t.create("compilation",this.compilation,{compilation:this.compilation});const i=n.print("compilation",s);return i===undefined?"":i}}e.exports=Stats},1626:(e,t,n)=>{"use strict";const{ConcatSource:s,PrefixSource:i}=n(84697);const o="a".charCodeAt(0);const r="A".charCodeAt(0);const a="z".charCodeAt(0)-o+1;const c=a*2+2;const u=c+10;const l=/^function\s?\(\)\s?\{\r?\n?|\r?\n?\}$/g;const d=/^\t/gm;const p=/\r?\n/g;const h=/^([^a-zA-Z$_])/;const f=/[^a-zA-Z0-9$]+/g;const m=/\*\//g;const g=/[^a-zA-Z0-9_!§$()=\-^°]+/g;const y=/^-|-$/g;class Template{static getFunctionContent(e){return e.toString().replace(l,"").replace(d,"").replace(p,"\n")}static toIdentifier(e){if(typeof e!=="string")return"";return e.replace(h,"_$1").replace(f,"_")}static toComment(e){if(!e)return"";return`/*! ${e.replace(m,"* /")} */`}static toNormalComment(e){if(!e)return"";return`/* ${e.replace(m,"* /")} */`}static toPath(e){if(typeof e!=="string")return"";return e.replace(g,"-").replace(y,"")}static numberToIdentifier(e){if(e>=c){return Template.numberToIdentifier(e%c)+Template.numberToIdentifierContinuation(Math.floor(e/c))}if(e=u){return Template.numberToIdentifierContinuation(e%u)+Template.numberToIdentifierContinuation(Math.floor(e/u))}if(ee)n=e}if(n<16+(""+n).length){n=0}let s=-1;for(const t of e){s+=`${t.id}`.length+2}const i=n===0?t:16+`${n}`.length+t;return i{return{id:o.getModuleId(e),source:n(e)||"false"}});const c=Template.getModulesArrayBounds(a);if(c){const e=c[0];const t=c[1];if(e!==0){r.add(`Array(${e}).concat(`)}r.add("[\n");const n=new Map;for(const e of a){n.set(e.id,e)}for(let s=e;s<=t;s++){const t=n.get(s);if(s!==e){r.add(",\n")}r.add(`/* ${s} */`);if(t){r.add("\n");r.add(t.source)}}r.add("\n"+i+"]");if(e!==0){r.add(")")}}else{r.add("{\n");for(let e=0;e {\n");n.add(new i("\t",o));n.add("\n})();\n\n")}else{n.add("!function() {\n");n.add(new i("\t",o));n.add("\n}();\n\n")}}}}return n}static renderChunkRuntimeModules(e,t){return new i("/******/ ",new s("function(__webpack_require__) { // webpackRuntimeModules\n",'\t"use strict";\n\n',new i("\t",this.renderRuntimeModules(e,t)),"}\n"))}}e.exports=Template;e.exports.NUMBER_OF_IDENTIFIER_START_CHARS=c;e.exports.NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS=u},80734:(e,t,n)=>{"use strict";const{basename:s,extname:i}=n(85622);const o=n(31669);const r=n(39385);const a=n(73208);const{parseResource:c}=n(82186);const u=/\[\\*([\w:]+)\\*\]/gi;const l=e=>{if(typeof e!=="string")return e;if(/^"\s\+*.*\+\s*"$/.test(e)){const t=/^"\s\+*\s*(.*)\s*\+\s*"$/.exec(e);return`" + (${t[1]} + "").replace(/(^[.-]|[^a-zA-Z0-9_-])+/g, "_") + "`}return e.replace(/(^[.-]|[^a-zA-Z0-9_-])+/g,"_")};const d=(e,t,n,s)=>{const i=(i,o,r)=>{let a;const c=o&&parseInt(o,10);if(c&&t){a=t(c)}else{const t=e(i,o,r);a=c?t.slice(0,c):t}if(n){n.immutable=true;if(Array.isArray(n[s])){n[s]=[...n[s],a]}else if(n[s]){n[s]=[n[s],a]}else{n[s]=a}}return a};return i};const p=(e,t)=>{const n=(n,s,i)=>{if(typeof e==="function"){e=e()}if(e===null||e===undefined){if(!t){throw new Error(`Path variable ${n} not implemented in this context: ${i}`)}return""}else{return`${e}`}};return n};const h=new Map;const f=(()=>()=>{})();const m=(e,t,n)=>{let s=h.get(t);if(s===undefined){s=o.deprecate(f,t,n);h.set(t,s)}return(...t)=>{s();return e(...t)}};const g=(e,t,n)=>{const o=t.chunkGraph;const h=new Map;if(t.filename){if(typeof t.filename==="string"){const{path:e,query:n,fragment:o}=c(t.filename);const r=i(e);const a=s(e);const u=a.slice(0,a.length-r.length);const l=e.slice(0,e.length-a.length);h.set("file",p(e));h.set("query",p(n,true));h.set("fragment",p(o,true));h.set("path",p(l,true));h.set("base",p(a));h.set("name",p(u));h.set("ext",p(r,true));h.set("filebase",m(p(a),"[filebase] is now [base]","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_FILENAME"))}}if(t.hash){const e=d(p(t.hash),t.hashWithLength,n,"fullhash");h.set("fullhash",e);h.set("hash",m(e,"[hash] is now [fullhash] (also consider using [chunkhash] or [contenthash], see documentation for details)","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_HASH"))}if(t.chunk){const e=t.chunk;const s=t.contentHashType;const i=p(e.id);const o=p(e.name||e.id);const a=d(p(e instanceof r?e.renderedHash:e.hash),"hashWithLength"in e?e.hashWithLength:undefined,n,"chunkhash");const c=d(p(t.contentHash||s&&e.contentHash&&e.contentHash[s]),t.contentHashWithLength||("contentHashWithLength"in e&&e.contentHashWithLength?e.contentHashWithLength[s]:undefined),n,"contenthash");h.set("id",i);h.set("name",o);h.set("chunkhash",a);h.set("contenthash",c)}if(t.module){const e=t.module;const s=p(()=>l(e instanceof a?o.getModuleId(e):e.id));const i=d(p(()=>e instanceof a?o.getRenderedModuleHash(e,t.runtime):e.hash),"hashWithLength"in e?e.hashWithLength:undefined,n,"modulehash");const r=d(p(t.contentHash),undefined,n,"contenthash");h.set("id",s);h.set("modulehash",i);h.set("contenthash",r);h.set("hash",t.contentHash?r:i);h.set("moduleid",m(s,"[moduleid] is now [id]","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_MODULE_ID"))}if(t.url){h.set("url",p(t.url))}if(typeof t.runtime==="string"){h.set("runtime",p(()=>l(t.runtime)))}else{h.set("runtime",p("_"))}if(typeof e==="function"){e=e(t,n)}e=e.replace(u,(t,n)=>{if(n.length+2===t.length){const s=/^(\w+)(?::(\w+))?$/.exec(n);if(!s)return t;const[,i,o]=s;const r=h.get(i);if(r!==undefined){return r(t,o,e)}}else if(t.startsWith("[\\")&&t.endsWith("\\]")){return`[${t.slice(2,-2)}]`}return t});return e};const y="TemplatedPathPlugin";class TemplatedPathPlugin{apply(e){e.hooks.compilation.tap(y,e=>{e.hooks.assetPath.tap(y,g)})}}e.exports=TemplatedPathPlugin},68099:(e,t,n)=>{"use strict";const s=n(53799);const i=n(33032);class UnhandledSchemeError extends s{constructor(e,t){super(`Reading from "${t}" is not handled by plugins (Unhandled scheme).`+'\nWebpack supports "data:" and "file:" URIs by default.'+`\nYou may need an additional plugin to handle "${e}:" URIs.`);this.file=t;this.name="UnhandledSchemeError"}}i(UnhandledSchemeError,"webpack/lib/UnhandledSchemeError","UnhandledSchemeError");e.exports=UnhandledSchemeError},42495:(e,t,n)=>{"use strict";const s=n(53799);const i=n(33032);class UnsupportedFeatureWarning extends s{constructor(e,t){super(e);this.name="UnsupportedFeatureWarning";this.loc=t;this.hideStack=true;Error.captureStackTrace(this,this.constructor)}}i(UnsupportedFeatureWarning,"webpack/lib/UnsupportedFeatureWarning");e.exports=UnsupportedFeatureWarning},36803:(e,t,n)=>{"use strict";const s=n(76911);class UseStrictPlugin{apply(e){e.hooks.compilation.tap("UseStrictPlugin",(e,{normalModuleFactory:t})=>{const n=e=>{e.hooks.program.tap("UseStrictPlugin",t=>{const n=t.body[0];if(n&&n.type==="ExpressionStatement"&&n.expression.type==="Literal"&&n.expression.value==="use strict"){const t=new s("",n.range);t.loc=n.loc;e.state.module.addPresentationalDependency(t);e.state.module.buildInfo.strict=true}})};t.hooks.parser.for("javascript/auto").tap("UseStrictPlugin",n);t.hooks.parser.for("javascript/dynamic").tap("UseStrictPlugin",n);t.hooks.parser.for("javascript/esm").tap("UseStrictPlugin",n)})}}e.exports=UseStrictPlugin},56504:(e,t,n)=>{"use strict";const s=n(77975);class WarnCaseSensitiveModulesPlugin{apply(e){e.hooks.compilation.tap("WarnCaseSensitiveModulesPlugin",e=>{e.hooks.seal.tap("WarnCaseSensitiveModulesPlugin",()=>{const t=new Map;for(const n of e.modules){const e=n.identifier().toLowerCase();const s=t.get(e);if(s){s.push(n)}else{t.set(e,[n])}}for(const n of t){const t=n[1];if(t.length>1){e.warnings.push(new s(t,e.moduleGraph))}}})})}}e.exports=WarnCaseSensitiveModulesPlugin},95687:(e,t,n)=>{"use strict";const s=n(53799);class WarnDeprecatedOptionPlugin{constructor(e,t,n){this.option=e;this.value=t;this.suggestion=n}apply(e){e.hooks.thisCompilation.tap("WarnDeprecatedOptionPlugin",e=>{e.warnings.push(new DeprecatedOptionWarning(this.option,this.value,this.suggestion))})}}class DeprecatedOptionWarning extends s{constructor(e,t,n){super();this.name="DeprecatedOptionWarning";this.message="configuration\n"+`The value '${t}' for option '${e}' is deprecated. `+`Use '${n}' instead.`;Error.captureStackTrace(this,this.constructor)}}e.exports=WarnDeprecatedOptionPlugin},25295:(e,t,n)=>{"use strict";const s=n(80832);class WarnNoModeSetPlugin{apply(e){e.hooks.thisCompilation.tap("WarnNoModeSetPlugin",e=>{e.warnings.push(new s)})}}e.exports=WarnNoModeSetPlugin},65193:(e,t,n)=>{"use strict";const{validate:s}=n(33225);const i=n(66489);const o="ignore";class IgnoringWatchFileSystem{constructor(e,t){this.wfs=e;this.paths=t}watch(e,t,n,s,i,r,a){e=Array.from(e);t=Array.from(t);const c=e=>this.paths.some(t=>t instanceof RegExp?t.test(e):e.indexOf(t)===0);const u=e=>!c(e);const l=e.filter(c);const d=t.filter(c);const p=this.wfs.watch(e.filter(u),t.filter(u),n,s,i,(e,t,n,s,i)=>{if(e)return r(e);for(const e of l){t.set(e,o)}for(const e of d){n.set(e,o)}r(e,t,n,s,i)},a);return{close:()=>p.close(),pause:()=>p.pause(),getContextTimeInfoEntries:()=>{const e=p.getContextInfoEntries();for(const t of d){e.set(t,o)}return e},getFileTimeInfoEntries:()=>{const e=p.getFileTimeInfoEntries();for(const t of l){e.set(t,o)}return e}}}}class WatchIgnorePlugin{constructor(e){s(i,e,{name:"Watch Ignore Plugin",baseDataPath:"options"});this.paths=e.paths}apply(e){e.hooks.afterEnvironment.tap("WatchIgnorePlugin",()=>{e.watchFileSystem=new IgnoringWatchFileSystem(e.watchFileSystem,this.paths)})}}e.exports=WatchIgnorePlugin},84275:(e,t,n)=>{"use strict";const s=n(31743);class Watching{constructor(e,t,n){this.startTime=null;this.invalid=false;this.handler=n;this.callbacks=[];this._closeCallbacks=undefined;this.closed=false;this.suspended=false;if(typeof t==="number"){this.watchOptions={aggregateTimeout:t}}else if(t&&typeof t==="object"){this.watchOptions={...t}}else{this.watchOptions={}}if(typeof this.watchOptions.aggregateTimeout!=="number"){this.watchOptions.aggregateTimeout=200}this.compiler=e;this.running=true;this.watcher=undefined;this.pausedWatcher=undefined;this._done=this._done.bind(this);this.compiler.readRecords(e=>{if(e)return this._done(e);this._go()})}_go(){this.startTime=Date.now();this.running=true;this.invalid=false;const e=()=>{this.compiler.hooks.watchRun.callAsync(this.compiler,e=>{if(e)return this._done(e);const t=(e,n)=>{if(e)return this._done(e,n);if(this.invalid)return this._done();if(this.compiler.hooks.shouldEmit.call(n)===false){return this._done(null,n)}process.nextTick(()=>{const e=n.getLogger("webpack.Compiler");e.time("emitAssets");this.compiler.emitAssets(n,i=>{e.timeEnd("emitAssets");if(i)return this._done(i,n);if(this.invalid)return this._done(null,n);e.time("emitRecords");this.compiler.emitRecords(i=>{e.timeEnd("emitRecords");if(i)return this._done(i,n);if(n.hooks.needAdditionalPass.call()){n.needAdditionalPass=true;n.startTime=this.startTime;n.endTime=Date.now();e.time("done hook");const i=new s(n);this.compiler.hooks.done.callAsync(i,s=>{e.timeEnd("done hook");if(s)return this._done(s,n);this.compiler.hooks.additionalPass.callAsync(e=>{if(e)return this._done(e,n);this.compiler.compile(t)})});return}return this._done(null,n)})})})};this.compiler.compile(t)})};if(this.compiler.idle){this.compiler.cache.endIdle(t=>{if(t)return this._done(t);this.compiler.idle=false;e()})}else{e()}}_getStats(e){const t=new s(e);return t}_done(e,t){this.running=false;const n=t&&t.getLogger("webpack.Watching");let i=null;const o=e=>{this.compiler.hooks.failed.call(e);this.compiler.cache.beginIdle();this.compiler.idle=true;this.handler(e,i);for(const e of this.callbacks)e();this.callbacks.length=0};if(this.invalid){if(t){n.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(t.buildDependencies,e=>{n.timeEnd("storeBuildDependencies");if(e)return o(e);this._go()})}else{this._go()}return}if(t){t.startTime=this.startTime;t.endTime=Date.now();i=new s(t)}if(e)return o(e);n.time("done hook");this.compiler.hooks.done.callAsync(i,e=>{n.timeEnd("done hook");if(e)return o(e);this.handler(null,i);n.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(t.buildDependencies,e=>{n.timeEnd("storeBuildDependencies");if(e)return o(e);n.time("beginIdle");this.compiler.cache.beginIdle();this.compiler.idle=true;n.timeEnd("beginIdle");process.nextTick(()=>{if(!this.closed){this.watch(t.fileDependencies,t.contextDependencies,t.missingDependencies)}});for(const e of this.callbacks)e();this.callbacks.length=0;this.compiler.hooks.afterDone.call(i)})})}watch(e,t,n){this.pausedWatcher=null;this.watcher=this.compiler.watchFileSystem.watch(e,t,n,this.startTime,this.watchOptions,(e,t,n,s,i)=>{this.pausedWatcher=this.watcher;this.watcher=null;if(e){this.compiler.modifiedFiles=undefined;this.compiler.removedFiles=undefined;this.compiler.fileTimestamps=undefined;this.compiler.contextTimestamps=undefined;return this.handler(e)}this.compiler.fileTimestamps=t;this.compiler.contextTimestamps=n;this.compiler.removedFiles=i;this.compiler.modifiedFiles=s;if(!this.suspended){this._invalidate()}},(e,t)=>{this.compiler.hooks.invalid.call(e,t)})}invalidate(e){if(e){this.callbacks.push(e)}if(this.watcher){this.compiler.modifiedFiles=this.watcher.aggregatedChanges;this.compiler.removedFiles=this.watcher.aggregatedRemovals;this.compiler.fileTimestamps=this.watcher.getFileTimeInfoEntries();this.compiler.contextTimestamps=this.watcher.getContextTimeInfoEntries()}this.compiler.hooks.invalid.call(null,Date.now());this._invalidate()}_invalidate(){if(this.watcher){this.pausedWatcher=this.watcher;this.watcher.pause();this.watcher=null}if(this.running){this.invalid=true}else{this._go()}}suspend(){this.suspended=true;this.invalid=false}resume(){if(this.suspended){this.suspended=false;this._invalidate()}}close(e){if(this._closeCallbacks){if(e){this._closeCallbacks.push(e)}return}const t=(e,t)=>{this.running=false;this.compiler.running=false;this.compiler.watching=undefined;this.compiler.watchMode=false;this.compiler.modifiedFiles=undefined;this.compiler.removedFiles=undefined;this.compiler.fileTimestamps=undefined;this.compiler.contextTimestamps=undefined;const n=()=>{this.compiler.cache.shutdown(e=>{this.compiler.hooks.watchClose.call();const t=this._closeCallbacks;this._closeCallbacks=undefined;for(const n of t)n(e)})};if(t){const e=t.getLogger("webpack.Watching");e.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(t.buildDependencies,t=>{e.timeEnd("storeBuildDependencies");n()})}else{n()}};this.closed=true;if(this.watcher){this.watcher.close();this.watcher=null}if(this.pausedWatcher){this.pausedWatcher.close();this.pausedWatcher=null}this._closeCallbacks=[];if(e){this._closeCallbacks.push(e)}if(this.running){this.invalid=true;this._done=t}else{t()}}}e.exports=Watching},53799:(e,t,n)=>{"use strict";const s=n(31669).inspect.custom;const i=n(33032);class WebpackError extends Error{constructor(e){super(e);this.details=undefined;this.module=undefined;this.loc=undefined;this.hideStack=undefined;this.chunk=undefined;this.file=undefined;Error.captureStackTrace(this,this.constructor)}[s](){return this.stack+(this.details?`\n${this.details}`:"")}serialize({write:e}){e(this.name);e(this.message);e(this.stack);e(this.details);e(this.loc);e(this.hideStack)}deserialize({read:e}){this.name=e();this.message=e();this.stack=e();this.details=e();this.loc=e();this.hideStack=e()}}i(WebpackError,"webpack/lib/WebpackError");e.exports=WebpackError},88422:(e,t,n)=>{"use strict";const s=n(81426);const i=n(16109);const o=n(89464);const r=n(86770);const a=n(33895);const c=n(9909);const u=n(11094);const l=n(2307);const d=n(74315);const p=n(94258);const h=n(11146);const f=n(7145);const m=n(80734);const g=n(36803);const y=n(56504);const v=n(64820);const b=n(57637);const k=n(97347);const w=n(32406);const x=n(39029);const C=n(17228);const M=n(41293);const S=n(24721);const O=n(2928);const T=n(8434);const P=n(37378);const $=n(97981);const F=n(14412);const j=n(59498);const _=n(79139);const z=n(71760);const q=n(55442);const W=n(58692);const{cleverMerge:A}=n(60839);class WebpackOptionsApply extends s{constructor(){super()}process(e,t){t.outputPath=e.output.path;t.recordsInputPath=e.recordsInputPath||null;t.recordsOutputPath=e.recordsOutputPath||null;t.name=e.name;if(e.externalsPresets.node){const e=n(17916);(new e).apply(t)}if(e.externalsPresets.electronMain){const e=n(32277);new e("main").apply(t)}if(e.externalsPresets.electronPreload){const e=n(32277);new e("preload").apply(t)}if(e.externalsPresets.electronRenderer){const e=n(32277);new e("renderer").apply(t)}if(e.externalsPresets.electron&&!e.externalsPresets.electronMain&&!e.externalsPresets.electronPreload&&!e.externalsPresets.electronRenderer){const e=n(32277);(new e).apply(t)}if(e.externalsPresets.nwjs){const e=n(6652);new e("commonjs","nw.gui").apply(t)}if(e.externalsPresets.webAsync){const e=n(6652);new e("import",/^(https?:\/\/|std:)/).apply(t)}else if(e.externalsPresets.web){const e=n(6652);new e("module",/^(https?:\/\/|std:)/).apply(t)}(new a).apply(t);if(typeof e.output.chunkFormat==="string"){switch(e.output.chunkFormat){case"array-push":{const e=n(18535);(new e).apply(t);break}case"commonjs":{const e=n(84508);(new e).apply(t);break}case"module":throw new Error("EcmaScript Module Chunk Format is not implemented yet");default:throw new Error("Unsupported chunk format '"+e.output.chunkFormat+"'.")}}if(e.output.enabledChunkLoadingTypes.length>0){for(const s of e.output.enabledChunkLoadingTypes){const e=n(61291);new e(s).apply(t)}}if(e.output.enabledWasmLoadingTypes.length>0){for(const s of e.output.enabledWasmLoadingTypes){const e=n(78613);new e(s).apply(t)}}if(e.output.enabledLibraryTypes.length>0){for(const s of e.output.enabledLibraryTypes){const e=n(91452);new e(s).apply(t)}}if(e.externals){const s=n(6652);new s(e.externalsType,e.externals).apply(t)}if(e.output.pathinfo){const s=n(3454);new s(e.output.pathinfo!==true).apply(t)}if(e.devtool){if(e.devtool.includes("source-map")){const s=e.devtool.includes("hidden");const i=e.devtool.includes("inline");const o=e.devtool.includes("eval");const r=e.devtool.includes("cheap");const a=e.devtool.includes("module");const c=e.devtool.includes("nosources");const u=o?n(14790):n(63872);new u({filename:i?null:e.output.sourceMapFilename,moduleFilenameTemplate:e.output.devtoolModuleFilenameTemplate,fallbackModuleFilenameTemplate:e.output.devtoolFallbackModuleFilenameTemplate,append:s?false:undefined,module:a?true:r?false:true,columns:r?false:true,noSources:c,namespace:e.output.devtoolNamespace}).apply(t)}else if(e.devtool.includes("eval")){const s=n(65218);new s({moduleFilenameTemplate:e.output.devtoolModuleFilenameTemplate,namespace:e.output.devtoolNamespace}).apply(t)}}(new o).apply(t);(new r).apply(t);(new i).apply(t);if(!e.experiments.outputModule){if(e.output.module){throw new Error("'output.module: true' is only allowed when 'experiments.outputModule' is enabled")}if(e.output.enabledLibraryTypes.includes("module")){throw new Error("library type \"module\" is only allowed when 'experiments.outputModule' is enabled")}if(e.externalsType==="module"){throw new Error("'externalsType: \"module\"' is only allowed when 'experiments.outputModule' is enabled")}}if(e.experiments.syncWebAssembly){const s=n(53639);new s({mangleImports:e.optimization.mangleWasmImports}).apply(t)}if(e.experiments.asyncWebAssembly){const s=n(7538);new s({mangleImports:e.optimization.mangleWasmImports}).apply(t)}(new c).apply(t);t.hooks.entryOption.call(e.context,e.entry);(new l).apply(t);(new j).apply(t);(new v).apply(t);(new b).apply(t);(new p).apply(t);new x({module:e.module,topLevelAwait:e.experiments.topLevelAwait}).apply(t);if(e.amd!==false){const s=n(50067);const i=n(88846);new s(e.module,e.amd||{}).apply(t);(new i).apply(t)}new w(e.module).apply(t);(new S).apply(t);if(e.node!==false){const s=n(95287);new s(e.node).apply(t)}(new d).apply(t);(new f).apply(t);(new h).apply(t);(new g).apply(t);(new P).apply(t);(new T).apply(t);(new O).apply(t);new M(e.module).apply(t);new $(e.module).apply(t);(new C).apply(t);(new F).apply(t);if(e.output.workerChunkLoading){const s=n(82509);new s(e.output.workerChunkLoading).apply(t)}(new z).apply(t);(new q).apply(t);(new W).apply(t);(new _).apply(t);if(typeof e.mode!=="string"){const e=n(25295);(new e).apply(t)}const s=n(96260);(new s).apply(t);if(e.optimization.removeAvailableModules){const e=n(7081);(new e).apply(t)}if(e.optimization.removeEmptyChunks){const e=n(84760);(new e).apply(t)}if(e.optimization.mergeDuplicateChunks){const e=n(85067);(new e).apply(t)}if(e.optimization.flagIncludedChunks){const e=n(50089);(new e).apply(t)}if(e.optimization.sideEffects){const s=n(84800);new s(e.optimization.sideEffects===true).apply(t)}if(e.optimization.providedExports){const e=n(84506);(new e).apply(t)}if(e.optimization.usedExports){const s=n(58812);new s(e.optimization.usedExports==="global").apply(t)}if(e.optimization.innerGraph){const e=n(28758);(new e).apply(t)}if(e.optimization.mangleExports){const s=n(27868);new s(e.optimization.mangleExports!=="size").apply(t)}if(e.optimization.concatenateModules){const e=n(74844);(new e).apply(t)}if(e.optimization.splitChunks){const s=n(21478);new s(e.optimization.splitChunks).apply(t)}if(e.optimization.runtimeChunk){const s=n(2837);new s(e.optimization.runtimeChunk).apply(t)}if(!e.optimization.emitOnErrors){const e=n(50169);(new e).apply(t)}if(e.optimization.realContentHash){const s=n(46043);new s({hashFunction:e.output.hashFunction,hashDigest:e.output.hashDigest}).apply(t)}if(e.optimization.checkWasmTypes){const e=n(19810);(new e).apply(t)}const G=e.optimization.moduleIds;if(G){switch(G){case"natural":{const e=n(83366);(new e).apply(t);break}case"named":{const e=n(24339);(new e).apply(t);break}case"hashed":{const e=n(95687);const s=n(21825);new e("optimization.moduleIds","hashed","deterministic").apply(t);(new s).apply(t);break}case"deterministic":{const e=n(76692);(new e).apply(t);break}case"size":{const e=n(35371);new e({prioritiseInitial:true}).apply(t);break}default:throw new Error(`webpack bug: moduleIds: ${G} is not implemented`)}}const B=e.optimization.chunkIds;if(B){switch(B){case"natural":{const e=n(86221);(new e).apply(t);break}case"named":{const e=n(6454);(new e).apply(t);break}case"deterministic":{const e=n(8747);(new e).apply(t);break}case"size":{const e=n(51020);new e({prioritiseInitial:true}).apply(t);break}case"total-size":{const e=n(51020);new e({prioritiseInitial:false}).apply(t);break}default:throw new Error(`webpack bug: chunkIds: ${B} is not implemented`)}}if(e.optimization.nodeEnv){const s=n(79065);new s({"process.env.NODE_ENV":JSON.stringify(e.optimization.nodeEnv)}).apply(t)}if(e.optimization.minimize){for(const n of e.optimization.minimizer){if(typeof n==="function"){n.call(t,t)}else if(n!=="..."){n.apply(t)}}}if(e.performance){const s=n(32557);new s(e.performance).apply(t)}(new m).apply(t);new u({portableIds:e.optimization.portableRecords}).apply(t);(new y).apply(t);const R=n(47942);new R(e.snapshot.managedPaths,e.snapshot.immutablePaths).apply(t);if(e.cache&&typeof e.cache==="object"){const s=e.cache;switch(s.type){case"memory":{const e=n(52539);(new e).apply(t);break}case"filesystem":{const i=n(28034);for(const e in s.buildDependencies){const n=s.buildDependencies[e];new i(n).apply(t)}const o=n(52539);(new o).apply(t);switch(s.store){case"pack":{const i=n(71985);const o=n(86180);new i(new o({compiler:t,fs:t.intermediateFileSystem,context:e.context,cacheLocation:s.cacheLocation,version:s.version,logger:t.getInfrastructureLogger("webpack.cache.PackFileCacheStrategy"),snapshot:e.snapshot}),s.idleTimeout,s.idleTimeoutForInitialStore).apply(t);break}default:throw new Error("Unhandled value for cache.store")}break}default:throw new Error(`Unknown cache type ${s.type}`)}}(new k).apply(t);if(e.ignoreWarnings&&e.ignoreWarnings.length>0){const s=n(7373);new s(e.ignoreWarnings).apply(t)}t.hooks.afterPlugins.call(t);if(!t.inputFileSystem){throw new Error("No input filesystem provided")}t.resolverFactory.hooks.resolveOptions.for("normal").tap("WebpackOptionsApply",n=>{n=A(e.resolve,n);n.fileSystem=t.inputFileSystem;return n});t.resolverFactory.hooks.resolveOptions.for("context").tap("WebpackOptionsApply",n=>{n=A(e.resolve,n);n.fileSystem=t.inputFileSystem;n.resolveToContext=true;return n});t.resolverFactory.hooks.resolveOptions.for("loader").tap("WebpackOptionsApply",n=>{n=A(e.resolveLoader,n);n.fileSystem=t.inputFileSystem;return n});t.hooks.afterResolvers.call(t);return e}}e.exports=WebpackOptionsApply},14452:(e,t,n)=>{"use strict";const{applyWebpackOptionsDefaults:s}=n(92988);const{getNormalizedWebpackOptions:i}=n(26693);class WebpackOptionsDefaulter{process(e){e=i(e);s(e);return e}}e.exports=WebpackOptionsDefaulter},98421:(e,t,n)=>{"use strict";const s=n(78585);const i=n(85622);const{RawSource:o}=n(84697);const r=n(93401);const a=n(16475);const c=n(49835);const{makePathsRelative:u}=n(82186);const l=new Set(["javascript"]);const d=new Set(["javascript","asset"]);class AssetGenerator extends r{constructor(e,t,n){super();this.compilation=e;this.dataUrlOptions=t;this.filename=n}generate(e,{runtime:t,chunkGraph:n,runtimeTemplate:r,runtimeRequirements:l,type:d}){switch(d){case"asset":return e.originalSource();default:{l.add(a.module);const d=e.originalSource();if(e.buildInfo.dataUrl){let t;if(typeof this.dataUrlOptions==="function"){t=this.dataUrlOptions.call(null,d.source(),{filename:e.matchResource||e.resource,module:e})}else{const n=this.dataUrlOptions.encoding;const o=i.extname(e.nameForCondition());const r=this.dataUrlOptions.mimetype||s.lookup(o);if(!r){throw new Error("DataUrl can't be generated automatically, "+`because there is no mimetype for "${o}" in mimetype database. `+'Either pass a mimetype via "generator.mimetype" or '+'use type: "asset/resource" to create a resource file instead of a DataUrl')}let a;switch(n){case"base64":{a=d.buffer().toString("base64");break}case false:{const e=d.source();if(typeof e==="string"){a=encodeURI(e)}else{a=encodeURI(e.toString("utf-8"))}break}default:throw new Error(`Unsupported encoding '${n}'`)}t=`data:${r}${n?`;${n}`:""},${a}`}return new o(`${a.module}.exports = ${JSON.stringify(t)};`)}else{const s=this.filename||r.outputOptions.assetModuleFilename;const i=c(r.outputOptions.hashFunction);if(r.outputOptions.hashSalt){i.update(r.outputOptions.hashSalt)}i.update(d.buffer());const p=i.digest(r.outputOptions.hashDigest);const h=p.slice(0,r.outputOptions.hashDigestLength);e.buildInfo.fullContentHash=p;const f=u(this.compilation.compiler.context,e.matchResource||e.resource,this.compilation.compiler.root).replace(/^\.\//,"");const{path:m,info:g}=this.compilation.getAssetPathWithInfo(s,{module:e,runtime:t,filename:f,chunkGraph:n,contentHash:h});e.buildInfo.filename=m;e.buildInfo.assetInfo={sourceFilename:f,...g};l.add(a.publicPath);return new o(`${a.module}.exports = ${a.publicPath} + ${JSON.stringify(m)};`)}}}}getTypes(e){if(e.buildInfo.dataUrl){return l}else{return d}}getSize(e,t){switch(t){case"asset":{const t=e.originalSource();if(!t){return 0}return t.size()}default:if(e.buildInfo.dataUrl){const t=e.originalSource();if(!t){return 0}return t.size()*1.34+36}else{return 42}}}updateHash(e,{module:t}){e.update(t.buildInfo.dataUrl?"data-url":"resource")}}e.exports=AssetGenerator},16109:(e,t,n)=>{"use strict";const{validate:s}=n(33225);const{compareModulesByIdentifier:i}=n(29579);const o=n(6157);const r=o(()=>n(5643));const a={asset:r,"asset/resource":o(()=>{const e=r();return{...e,properties:{...e.properties,dataUrl:false}}}),"asset/inline":o(()=>{const e=r();return{...e,properties:{...e.properties,filename:false}}})};const c=o(()=>n(21459));const u=o(()=>n(98421));const l=o(()=>n(91112));const d=o(()=>n(18749));const p="asset";const h="AssetModulesPlugin";class AssetModulesPlugin{apply(e){e.hooks.compilation.tap(h,(e,{normalModuleFactory:t})=>{t.hooks.createParser.for("asset").tap(h,e=>{s(c(),e,{name:"Asset Modules Plugin",baseDataPath:"parser"});let t=e.dataUrlCondition;if(!t||typeof t==="object"){t={maxSize:8096,...t}}const n=l();return new n(t)});t.hooks.createParser.for("asset/inline").tap(h,e=>{const t=l();return new t(true)});t.hooks.createParser.for("asset/resource").tap(h,e=>{const t=l();return new t(false)});t.hooks.createParser.for("asset/source").tap(h,e=>{const t=l();return new t(false)});for(const n of["asset","asset/inline","asset/resource"]){t.hooks.createGenerator.for(n).tap(h,t=>{s(a[n](),t,{name:"Asset Modules Plugin",baseDataPath:"generator"});let i=undefined;if(n!=="asset/resource"){i=t.dataUrl;if(!i||typeof i==="object"){i={encoding:"base64",mimetype:undefined,...i}}}let o=undefined;if(n!=="asset/inline"){o=t.filename}const r=u();return new r(e,i,o)})}t.hooks.createGenerator.for("asset/source").tap(h,()=>{const e=d();return new e});e.hooks.renderManifest.tap(h,(t,n)=>{const{chunkGraph:s}=e;const{chunk:o,codeGenerationResults:r}=n;const a=s.getOrderedChunkModulesIterableBySourceType(o,"asset",i);if(a){for(const e of a){t.push({render:()=>r.getSource(e,o.runtime,p),filename:e.buildInfo.filename,info:e.buildInfo.assetInfo,auxiliary:true,identifier:`assetModule${s.getModuleId(e)}`,hash:e.buildInfo.fullContentHash})}}return t})})}}e.exports=AssetModulesPlugin},91112:(e,t,n)=>{"use strict";const s=n(11715);class AssetParser extends s{constructor(e){super();this.dataUrlCondition=e}parse(e,t){if(typeof e==="object"&&!Buffer.isBuffer(e)){throw new Error("AssetParser doesn't accept preparsed AST")}t.module.buildInfo.strict=true;t.module.buildMeta.exportsType="default";if(typeof this.dataUrlCondition==="function"){t.module.buildInfo.dataUrl=this.dataUrlCondition(e,{filename:t.module.matchResource||t.module.resource,module:t.module})}else if(typeof this.dataUrlCondition==="boolean"){t.module.buildInfo.dataUrl=this.dataUrlCondition}else if(this.dataUrlCondition&&typeof this.dataUrlCondition==="object"){t.module.buildInfo.dataUrl=Buffer.byteLength(e)<=this.dataUrlCondition.maxSize}else{throw new Error("Unexpected dataUrlCondition type")}return t}}e.exports=AssetParser},18749:(e,t,n)=>{"use strict";const{RawSource:s}=n(84697);const i=n(93401);const o=n(16475);const r=new Set(["javascript"]);class AssetSourceGenerator extends i{generate(e,{chunkGraph:t,runtimeTemplate:n,runtimeRequirements:i}){i.add(o.module);const r=e.originalSource();if(!r){return new s("")}const a=r.source();let c;if(typeof a==="string"){c=a}else{c=a.toString("utf-8")}return new s(`${o.module}.exports = ${JSON.stringify(c)};`)}getTypes(e){return r}getSize(e,t){const n=e.originalSource();if(!n){return 0}return n.size()+12}}e.exports=AssetSourceGenerator},41153:(e,t,n)=>{"use strict";const s=n(55870);const i=n(16475);class AwaitDependenciesInitFragment extends s{constructor(e){super(undefined,s.STAGE_ASYNC_DEPENDENCIES,0,"await-dependencies");this.promises=e}merge(e){const t=new Set(this.promises);for(const n of e.promises){t.add(n)}return new AwaitDependenciesInitFragment(t)}getContent({runtimeRequirements:e}){e.add(i.module);const t=this.promises;if(t.size===0){return""}if(t.size===1){for(const e of t){return`${e} = await Promise.resolve(${e});\n`}}const n=Array.from(t).join(", ");return`([${n}] = await Promise.all([${n}]));\n`}}e.exports=AwaitDependenciesInitFragment},59498:(e,t,n)=>{"use strict";const s=n(57154);class InferAsyncModulesPlugin{apply(e){e.hooks.compilation.tap("InferAsyncModulesPlugin",e=>{const{moduleGraph:t}=e;e.hooks.finishModules.tap("InferAsyncModulesPlugin",e=>{const n=new Set;for(const t of e){if(t.buildMeta&&t.buildMeta.async){n.add(t)}}for(const e of n){t.setAsync(e);const i=t.getIncomingConnections(e);for(const e of i){const t=e.dependency;if(t instanceof s&&e.isTargetActive(undefined)){n.add(e.originModule)}}}})})}}e.exports=InferAsyncModulesPlugin},79233:(e,t,n)=>{"use strict";const s=n(30111);const{connectChunkGroupParentAndChild:i}=n(37234);const o=n(40639);const{getEntryRuntime:r,mergeRuntime:a}=n(17156);const c=new Set;c.plus=c;const u=(e,t)=>{return t.size+t.plus.size-e.size-e.plus.size};const l=(e,t)=>{let n=e[0].getActiveState(t);if(n===true)return true;for(let s=1;s{const{moduleGraph:t}=e;const n=new Map;const s=new Set;for(const i of e.modules){let e;for(const n of t.getOutgoingConnections(i)){const t=n.dependency;if(!t)continue;const s=n.module;if(!s)continue;if(n.weak)continue;const i=n.getActiveState(undefined);if(i===false)continue;if(e===undefined){e=new WeakMap}e.set(n.dependency,n)}s.clear();s.add(i);for(const t of s){let i;if(e!==undefined&&t.dependencies){for(const s of t.dependencies){const o=e.get(s);if(o!==undefined){const{module:e}=o;if(i===undefined){i=new Map;n.set(t,i)}const s=i.get(e);if(s!==undefined){s.push(o)}else{i.set(e,[o])}}}}if(t.blocks){for(const e of t.blocks){s.add(e)}}}}return n};const p=(e,t,n,i,o,p,h)=>{const{moduleGraph:f,chunkGraph:m}=t;e.time("visitModules: prepare");const g=d(t);let y=0;let v=0;let b=0;let k=0;let w=0;let x=0;let C=0;let M=0;let S=0;let O=0;let T=0;let P=0;let $=0;let F=0;let j=0;let _=0;const z=new Map;const q=new Map;const W=new Map;const A=0;const G=1;const B=2;const R=3;const J=4;const V=5;let I=[];const D=new Map;const K=new Set;for(const[e,s]of n){const n=r(t,e.name,e.options);const o={chunkGroup:e,runtime:n,minAvailableModules:undefined,minAvailableModulesOwned:false,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0};e.index=F++;if(e.getNumberOfParents()>0){const e=new Set;for(const t of s){e.add(t)}o.skippedItems=e;K.add(o)}else{o.minAvailableModules=c;const t=e.getEntrypointChunk();for(const n of s){I.push({action:G,block:n,module:n,chunk:t,chunkGroup:e,chunkGroupInfo:o})}}i.set(e,o);if(e.name){q.set(e.name,o)}}for(const e of K){const{chunkGroup:t}=e;e.availableSources=new Set;for(const n of t.parentsIterable){const t=i.get(n);e.availableSources.add(t);if(t.availableChildren===undefined){t.availableChildren=new Set}t.availableChildren.add(e)}}I.reverse();const X=new Set;const N=new Set;let L=[];e.timeEnd("visitModules: prepare");const Q=[];const Y=[];const H=[];let U;let E;let Z;let ee;let te;const ne=e=>{let n=z.get(e);let r;let a;const u=e.groupOptions&&e.groupOptions.entryOptions;if(n===undefined){const l=e.groupOptions&&e.groupOptions.name||e.chunkName;if(u){n=W.get(l);if(!n){a=t.addAsyncEntrypoint(u,U,e.loc,e.request);a.index=F++;n={chunkGroup:a,runtime:a.options.runtime||a.name,minAvailableModules:c,minAvailableModulesOwned:false,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0};i.set(a,n);m.connectBlockAndChunkGroup(e,a);if(l){W.set(l,n)}}else{a=n.chunkGroup;a.addOrigin(U,e.loc,e.request);m.connectBlockAndChunkGroup(e,a)}L.push({action:J,block:e,module:U,chunk:a.chunks[0],chunkGroup:a,chunkGroupInfo:n})}else{n=q.get(l);if(!n){r=t.addChunkInGroup(e.groupOptions||e.chunkName,U,e.loc,e.request);r.index=F++;n={chunkGroup:r,runtime:te.runtime,minAvailableModules:undefined,minAvailableModulesOwned:undefined,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0};h.add(r);i.set(r,n);if(l){q.set(l,n)}}else{r=n.chunkGroup;if(r.isInitial()){t.errors.push(new s(l,U,e.loc));r=Z}r.addOptions(e.groupOptions);r.addOrigin(U,e.loc,e.request)}o.set(e,[])}z.set(e,n)}else if(u){a=n.chunkGroup}else{r=n.chunkGroup}if(r!==undefined){o.get(e).push({originChunkGroupInfo:te,chunkGroup:r});let t=D.get(te);if(t===undefined){t=new Set;D.set(te,t)}t.add(n);L.push({action:R,block:e,module:U,chunk:r.chunks[0],chunkGroup:r,chunkGroupInfo:n})}else{te.chunkGroup.addAsyncEntrypoint(a)}};const se=e=>{v++;const t=g.get(e);if(t!==undefined){const{minAvailableModules:e,runtime:n}=te;for(const s of t){const[t,i]=s;if(m.isModuleInChunk(t,E)){continue}const o=l(i,n);if(o!==true){Q.push(s);if(o===false)continue}if(o===true&&(e.has(t)||e.plus.has(t))){Y.push(t);continue}H.push({action:o===true?G:R,block:t,module:t,chunk:E,chunkGroup:Z,chunkGroupInfo:te})}if(Q.length>0){let{skippedModuleConnections:e}=te;if(e===undefined){te.skippedModuleConnections=e=new Set}for(let t=Q.length-1;t>=0;t--){e.add(Q[t])}Q.length=0}if(Y.length>0){let{skippedItems:e}=te;if(e===undefined){te.skippedItems=e=new Set}for(let t=Y.length-1;t>=0;t--){e.add(Y[t])}Y.length=0}if(H.length>0){for(let e=H.length-1;e>=0;e--){I.push(H[e])}H.length=0}}for(const t of e.blocks){ne(t)}if(e.blocks.length>0&&U!==e){p.add(e)}};const ie=e=>{v++;const t=g.get(e);if(t!==undefined){for(const[e,n]of t){const t=l(n,undefined);H.push({action:t===true?A:R,block:e,module:e,chunk:E,chunkGroup:Z,chunkGroupInfo:te})}if(H.length>0){for(let e=H.length-1;e>=0;e--){I.push(H[e])}H.length=0}}for(const t of e.blocks){ne(t)}if(e.blocks.length>0&&U!==e){p.add(e)}};const oe=()=>{while(I.length){y++;const e=I.pop();U=e.module;ee=e.block;E=e.chunk;Z=e.chunkGroup;te=e.chunkGroupInfo;switch(e.action){case A:m.connectChunkAndEntryModule(E,U,Z);case G:{if(m.isModuleInChunk(U,E)){break}m.connectChunkAndModule(E,U)}case B:{const t=Z.getModulePreOrderIndex(U);if(t===undefined){Z.setModulePreOrderIndex(U,te.preOrderIndex++)}if(f.setPreOrderIndexIfUnset(U,j)){j++}e.action=V;I.push(e)}case R:{se(ee);break}case J:{ie(ee);break}case V:{const e=Z.getModulePostOrderIndex(U);if(e===undefined){Z.setModulePostOrderIndex(U,te.postOrderIndex++)}if(f.setPostOrderIndexIfUnset(U,_)){_++}break}}}};const re=e=>{if(e.resultingAvailableModules)return e.resultingAvailableModules;const t=e.minAvailableModules;let n;if(t.size>t.plus.size){n=new Set;for(const e of t.plus)t.add(e);t.plus=c;n.plus=t;e.minAvailableModulesOwned=false}else{n=new Set(t);n.plus=t.plus}for(const t of e.chunkGroup.chunks){for(const e of m.getChunkModulesIterable(t)){n.add(e)}}return e.resultingAvailableModules=n};const ae=()=>{for(const[e,t]of D){if(e.children===undefined){e.children=t}else{for(const n of t){e.children.add(n)}}const n=re(e);const s=e.runtime;for(const e of t){e.availableModulesToBeMerged.push(n);N.add(e);const t=e.runtime;const i=a(t,s);if(t!==i){e.runtime=i;X.add(e)}}b+=t.size}D.clear()};const ce=()=>{k+=N.size;for(const e of N){const t=e.availableModulesToBeMerged;let n=e.minAvailableModules;w+=t.length;if(t.length>1){t.sort(u)}let s=false;e:for(const i of t){if(n===undefined){n=i;e.minAvailableModules=n;e.minAvailableModulesOwned=false;s=true}else{if(e.minAvailableModulesOwned){if(n.plus===i.plus){for(const e of n){if(!i.has(e)){n.delete(e);s=true}}}else{for(const e of n){if(!i.has(e)&&!i.plus.has(e)){n.delete(e);s=true}}for(const e of n.plus){if(!i.has(e)&&!i.plus.has(e)){const t=n.plus[Symbol.iterator]();let o;while(!(o=t.next()).done){const t=o.value;if(t===e)break;n.add(t)}while(!(o=t.next()).done){const t=o.value;if(i.has(t)||i.plus.has(e)){n.add(t)}}n.plus=c;s=true;continue e}}}}else if(n.plus===i.plus){if(i.size{e:for(const e of K){for(const t of e.availableSources){if(!t.minAvailableModules)continue e}const t=new Set;t.plus=c;const n=e=>{if(e.size>t.plus.size){for(const e of t.plus)t.add(e);t.plus=e}else{for(const n of e)t.add(n)}};for(const t of e.availableSources){const e=re(t);n(e);n(e.plus)}e.minAvailableModules=t;e.minAvailableModulesOwned=false;e.resultingAvailableModules=undefined;X.add(e)}K.clear()};const le=()=>{P+=X.size;for(const e of X){if(e.skippedItems!==undefined){const{minAvailableModules:t}=e;for(const n of e.skippedItems){if(!t.has(n)&&!t.plus.has(n)){I.push({action:G,block:n,module:n,chunk:e.chunkGroup.chunks[0],chunkGroup:e.chunkGroup,chunkGroupInfo:e});e.skippedItems.delete(n)}}}if(e.skippedModuleConnections!==undefined){const{minAvailableModules:t,runtime:n}=e;for(const s of e.skippedModuleConnections){const[i,o]=s;const r=l(o,n);if(r===false)continue;if(r===true){e.skippedModuleConnections.delete(s)}if(r===true&&(t.has(i)||t.plus.has(i))){e.skippedItems.add(i);continue}I.push({action:r===true?G:R,block:i,module:i,chunk:e.chunkGroup.chunks[0],chunkGroup:e.chunkGroup,chunkGroupInfo:e})}}if(e.children!==undefined){$+=e.children.size;for(const t of e.children){let n=D.get(e);if(n===undefined){n=new Set;D.set(e,n)}n.add(t)}}if(e.availableChildren!==undefined){for(const t of e.availableChildren){K.add(t)}}}X.clear()};while(I.length||D.size){e.time("visitModules: visiting");oe();e.timeEnd("visitModules: visiting");if(K.size>0){e.time("visitModules: combine available modules");ue();e.timeEnd("visitModules: combine available modules")}if(D.size>0){e.time("visitModules: calculating available modules");ae();e.timeEnd("visitModules: calculating available modules");if(N.size>0){e.time("visitModules: merging available modules");ce();e.timeEnd("visitModules: merging available modules")}}if(X.size>0){e.time("visitModules: check modules for revisit");le();e.timeEnd("visitModules: check modules for revisit")}if(I.length===0){const e=I;I=L.reverse();L=e}}e.log(`${y} queue items processed (${v} blocks)`);e.log(`${b} chunk groups connected`);e.log(`${k} chunk groups processed for merging (${w} module sets, ${x} forked, ${C} + ${M} modules forked, ${S} + ${O} modules merged into fork, ${T} resulting modules)`);e.log(`${P} chunk group info updated (${$} already connected chunk groups reconnected)`)};const h=(e,t,n,s)=>{const{chunkGraph:o}=e;const r=(e,t)=>{for(const n of e.chunks){for(const e of o.getChunkModulesIterable(n)){if(!t.has(e)&&!t.plus.has(e))return false}}return true};for(const[e,s]of n){if(!t.has(e)&&s.every(({chunkGroup:e,originChunkGroupInfo:t})=>r(e,t.resultingAvailableModules))){continue}for(let t=0;t{const{chunkGraph:n}=e;for(const s of t){if(s.getNumberOfParents()===0){for(const t of s.chunks){e.chunks.delete(t);n.disconnectChunk(t)}n.disconnectChunkGroup(s);s.remove()}}};const m=(e,t)=>{const n=e.getLogger("webpack.buildChunkGraph");const s=new Map;const i=new Set;const o=new Map;const r=new Set;n.time("visitModules");p(n,e,t,o,s,r,i);n.timeEnd("visitModules");n.time("connectChunkGroups");h(e,r,s,o);n.timeEnd("connectChunkGroups");for(const[e,t]of o){for(const n of e.chunks)n.runtime=a(n.runtime,t.runtime)}n.time("cleanup");f(e,i);n.timeEnd("cleanup")};e.exports=m},28034:e=>{"use strict";class AddBuildDependenciesPlugin{constructor(e){this.buildDependencies=new Set(e)}apply(e){e.hooks.compilation.tap("AddBuildDependenciesPlugin",e=>{e.buildDependencies.addAll(this.buildDependencies)})}}e.exports=AddBuildDependenciesPlugin},47942:e=>{"use strict";class AddManagedPathsPlugin{constructor(e,t){this.managedPaths=new Set(e);this.immutablePaths=new Set(t)}apply(e){for(const t of this.managedPaths){e.managedPaths.add(t)}for(const t of this.immutablePaths){e.immutablePaths.add(t)}}}e.exports=AddManagedPathsPlugin},71985:(e,t,n)=>{"use strict";const s=n(7592);const i=n(13216);const o=Symbol();class IdleFileCachePlugin{constructor(e,t,n){this.strategy=e;this.idleTimeout=t;this.idleTimeoutForInitialStore=n}apply(e){const t=this.strategy;const n=this.idleTimeout;const r=Math.min(n,this.idleTimeoutForInitialStore);const a=Promise.resolve();const c=new Map;e.cache.hooks.store.tap({name:"IdleFileCachePlugin",stage:s.STAGE_DISK},(e,n,s)=>{c.set(e,()=>t.store(e,n,s))});e.cache.hooks.get.tapPromise({name:"IdleFileCachePlugin",stage:s.STAGE_DISK},(e,n,s)=>{return t.restore(e,n).then(i=>{if(i===undefined){s.push((s,i)=>{if(s!==undefined){c.set(e,()=>t.store(e,n,s))}i()})}else{return i}})});e.cache.hooks.storeBuildDependencies.tap({name:"IdleFileCachePlugin",stage:s.STAGE_DISK},e=>{c.set(o,()=>t.storeBuildDependencies(e))});e.cache.hooks.shutdown.tapPromise({name:"IdleFileCachePlugin",stage:s.STAGE_DISK},()=>{if(h){clearTimeout(h);h=undefined}l=false;const n=i.getReporter(e);const s=Array.from(c.values());if(n)n(0,"process pending cache items");const o=s.map(e=>e());c.clear();o.push(u);const r=Promise.all(o);u=r.then(()=>t.afterAllStored());if(n){u=u.then(()=>{n(1,`stored`)})}return u});let u=a;let l=false;let d=true;const p=()=>{if(l){if(c.size>0){const e=[u];const t=Date.now()+100;let n=100;for(const[s,i]of c){c.delete(s);e.push(i());if(n--<=0||Date.now()>t)break}u=Promise.all(e);u.then(()=>{setTimeout(p,0).unref()});return}u=u.then(()=>t.afterAllStored());d=false}};let h=undefined;e.cache.hooks.beginIdle.tap({name:"IdleFileCachePlugin",stage:s.STAGE_DISK},()=>{h=setTimeout(()=>{h=undefined;l=true;a.then(p)},d?r:n);h.unref()});e.cache.hooks.endIdle.tap({name:"IdleFileCachePlugin",stage:s.STAGE_DISK},()=>{if(h){clearTimeout(h);h=undefined}l=false})}}e.exports=IdleFileCachePlugin},52539:(e,t,n)=>{"use strict";const s=n(7592);class MemoryCachePlugin{apply(e){const t=new Map;e.cache.hooks.store.tap({name:"MemoryCachePlugin",stage:s.STAGE_MEMORY},(e,n,s)=>{t.set(e,{etag:n,data:s})});e.cache.hooks.get.tap({name:"MemoryCachePlugin",stage:s.STAGE_MEMORY},(e,n,s)=>{const i=t.get(e);if(i===null){return null}else if(i!==undefined){return i.etag===n?i.data:null}s.push((s,i)=>{if(s===undefined){t.set(e,null)}else{t.set(e,{etag:n,data:s})}return i()})})}}e.exports=MemoryCachePlugin},86180:(e,t,n)=>{"use strict";const s=n(79453);const i=n(13216);const{formatSize:o}=n(71070);const r=n(38938);const a=n(33032);const c=n(6157);const{createFileSerializer:u}=n(8282);class PackContainer{constructor(e,t,n,s,i,o){this.data=e;this.version=t;this.buildSnapshot=n;this.buildDependencies=s;this.resolveResults=i;this.resolveBuildDependenciesSnapshot=o}serialize({write:e,writeLazy:t}){e(this.version);e(this.buildSnapshot);e(this.buildDependencies);e(this.resolveResults);e(this.resolveBuildDependenciesSnapshot);t(this.data)}deserialize({read:e}){this.version=e();this.buildSnapshot=e();this.buildDependencies=e();this.resolveResults=e();this.resolveBuildDependenciesSnapshot=e();this.data=e()}}a(PackContainer,"webpack/lib/cache/PackFileCacheStrategy","PackContainer");const l=1024*1024;const d=10;const p=1e3*60*60*24*60;const h=5e4;class PackItemInfo{constructor(e,t,n){this.identifier=e;this.etag=t;this.location=-1;this.lastAccess=Date.now();this.freshValue=n}}class Pack{constructor(e){this.itemInfo=new Map;this.requests=[];this.freshContent=new Map;this.content=[];this.invalid=false;this.logger=e}get(e,t){const n=this.itemInfo.get(e);this.requests.push(e);if(n===undefined){return undefined}if(n.etag!==t)return null;n.lastAccess=Date.now();const s=n.location;if(s===-1){return n.freshValue}else{if(!this.content[s]){return undefined}return this.content[s].get(e)}}set(e,t,n){if(!this.invalid){this.invalid=true;this.logger.log(`Pack got invalid because of write to: ${e}`)}const s=this.itemInfo.get(e);if(s===undefined){const s=new PackItemInfo(e,t,n);this.itemInfo.set(e,s);this.requests.push(e);this.freshContent.set(e,s)}else{const i=s.location;if(i>=0){this.requests.push(e);this.freshContent.set(e,s);const t=this.content[i];t.delete(e);if(t.items.size===0){this.content[i]=undefined;this.logger.debug("Pack %d got empty and is removed",i)}}s.freshValue=n;s.lastAccess=Date.now();s.etag=t;s.location=-1}}_findLocation(){let e;for(e=0;ep){this.itemInfo.delete(r);e.delete(r);t.delete(r);s++;i=r}else{a.location=n}}if(s>0){this.logger.log("Garbage Collected %d old items at pack %d e. g. %s",s,n,i)}}_persistFreshContent(){if(this.freshContent.size>0){const e=Math.ceil(this.freshContent.size/h);const t=Math.ceil(this.freshContent.size/e);this.logger.log(`${this.freshContent.size} fresh items in cache`);const n=Array.from({length:e},()=>{const e=this._findLocation();this.content[e]=null;return{items:new Set,map:new Map,loc:e}});let s=0;let i=n[0];let o=0;for(const e of this.requests){const r=this.freshContent.get(e);if(r===undefined)continue;i.items.add(e);i.map.set(e,r.freshValue);r.location=i.loc;r.freshValue=undefined;this.freshContent.delete(e);if(++s>t){s=0;i=n[++o]}}for(const e of n){this.content[e.loc]=new PackContent(e.items,new Set(e.items),new PackContentItems(e.map))}}}_optimizeSmallContent(){const e=[];let t=0;const n=[];let s=0;for(let i=0;il)continue;if(o.used.size>0){e.push(i);t+=r}else{n.push(i);s+=r}}let i;if(e.length>=d||t>l){i=e}else if(n.length>=d||s>l){i=n}else return;const o=[];for(const e of i){o.push(this.content[e]);this.content[e]=undefined}const r=new Set;const a=new Set;const u=[];for(const e of o){for(const t of e.items){r.add(t)}for(const t of e.used){a.add(t)}u.push(async t=>{await e.unpack();for(const[n,s]of e.content){t.set(n,s)}})}const p=this._findLocation();this._gcAndUpdateLocation(r,a,p);if(r.size>0){this.content[p]=new PackContent(r,a,c(async()=>{const e=new Map;await Promise.all(u.map(t=>t(e)));return new PackContentItems(e)}));this.logger.log("Merged %d small files with %d cache items into pack %d",o.length,r.size,p)}}_optimizeUnusedContent(){for(let e=0;e0&&s0){this.content[s]=new PackContent(n,new Set(n),async()=>{await t.unpack();const e=new Map;for(const s of n){e.set(s,t.content.get(s))}return new PackContentItems(e)})}const i=new Set(t.items);const o=new Set;for(const e of n){i.delete(e)}const r=this._findLocation();this._gcAndUpdateLocation(i,o,r);if(i.size>0){this.content[r]=new PackContent(i,o,async()=>{await t.unpack();const e=new Map;for(const n of i){e.set(n,t.content.get(n))}return new PackContentItems(e)})}this.logger.log("Split pack %d into pack %d with %d used items and pack %d with %d unused items",e,s,n.size,r,i.size);return}}}serialize({write:e,writeSeparate:t}){this._persistFreshContent();this._optimizeSmallContent();this._optimizeUnusedContent();for(const t of this.itemInfo.keys()){e(t)}e(null);for(const t of this.itemInfo.values()){e(t.etag)}for(const t of this.itemInfo.values()){e(t.lastAccess)}for(let n=0;n{const t=new PackItemInfo(e,undefined,undefined);this.itemInfo.set(e,t);return t});for(const t of s){t.etag=e()}for(const t of s){t.lastAccess=e()}}this.content.length=0;let n=e();while(n!==null){if(n===undefined){this.content.push(n)}else{const s=this.content.length;const i=e();this.content.push(new PackContent(n,new Set,i,t,`${this.content.length}`));for(const e of n){this.itemInfo.get(e).location=s}}n=e()}}}a(Pack,"webpack/lib/cache/PackFileCacheStrategy","Pack");class PackContentItems{constructor(e){this.map=e}serialize({write:e,snapshot:t,rollback:n,logger:s}){const i=t();try{e(true);e(this.map)}catch(o){n(i);e(false);for(const[i,o]of this.map){const r=t();try{e(i);e(o)}catch(e){n(r);s.warn(`Skipped not serializable cache item '${i}': ${e.message}`);s.debug(e.stack)}}e(null)}}deserialize({read:e}){if(e()){this.map=e()}else{const t=new Map;let n=e();while(n!==null){t.set(n,e());n=e()}this.map=t}}}a(PackContentItems,"webpack/lib/cache/PackFileCacheStrategy","PackContentItems");class PackContent{constructor(e,t,n,s,i){this.items=e;this.lazy=typeof n==="function"?n:undefined;this.content=typeof n==="function"?undefined:n.map;this.outdated=false;this.used=t;this.logger=s;this.lazyName=i}get(e){this.used.add(e);if(this.content){return this.content.get(e)}const{lazyName:t}=this;let n;if(t){this.lazyName=undefined;n=`restore cache content ${t} (${o(this.getSize())})`;this.logger.log(`starting to restore cache content ${t} (${o(this.getSize())}) because of request to: ${e}`);this.logger.time(n)}const s=this.lazy();if(s instanceof Promise){return s.then(t=>{const s=t.map;if(n){this.logger.timeEnd(n)}this.content=s;return s.get(e)})}else{const t=s.map;if(n){this.logger.timeEnd(n)}this.content=t;return t.get(e)}}unpack(){if(this.content)return;if(this.lazy){const{lazyName:e}=this;let t;if(e){this.lazyName=undefined;t=`unpack cache content ${e} (${o(this.getSize())})`;this.logger.time(t)}const n=this.lazy();if(n instanceof Promise){return n.then(e=>{if(t){this.logger.timeEnd(t)}this.content=e.map})}else{if(t){this.logger.timeEnd(t)}this.content=n.map}}}getSize(){if(!this.lazy)return-1;const e=this.lazy.options;if(!e)return-1;const t=e.size;if(typeof t!=="number")return-1;return t}delete(e){this.items.delete(e);this.used.delete(e);this.outdated=true}getLazyContentItems(){if(!this.outdated&&this.lazy)return this.lazy;if(!this.outdated&&this.content){const e=new Map(this.content);return this.lazy=c(()=>new PackContentItems(e))}this.outdated=false;if(this.content){return this.lazy=c(()=>{const e=new Map;for(const t of this.items){e.set(t,this.content.get(t))}return new PackContentItems(e)})}const e=this.lazy;return this.lazy=(()=>{const t=e();if(t instanceof Promise){return t.then(e=>{const t=e.map;const n=new Map;for(const e of this.items){n.set(e,t.get(e))}return new PackContentItems(n)})}else{const e=t.map;const n=new Map;for(const t of this.items){n.set(t,e.get(t))}return new PackContentItems(n)}})}}class PackFileCacheStrategy{constructor({compiler:e,fs:t,context:n,cacheLocation:i,version:o,logger:a,snapshot:c}){this.fileSerializer=u(t);this.fileSystemInfo=new s(t,{managedPaths:c.managedPaths,immutablePaths:c.immutablePaths,logger:a.getChildLogger("webpack.FileSystemInfo")});this.compiler=e;this.context=n;this.cacheLocation=i;this.version=o;this.logger=a;this.snapshot=c;this.buildDependencies=new Set;this.newBuildDependencies=new r;this.resolveBuildDependenciesSnapshot=undefined;this.resolveResults=undefined;this.buildSnapshot=undefined;this.packPromise=this._openPack()}_openPack(){const{logger:e,cacheLocation:t,version:n}=this;let s;let i;let o;let r;let a;e.time("restore cache container");return this.fileSerializer.deserialize(null,{filename:`${t}/index.pack`,extension:".pack",logger:e}).catch(n=>{if(n.code!=="ENOENT"){e.warn(`Restoring pack failed from ${t}.pack: ${n}`);e.debug(n.stack)}else{e.debug(`No pack exists at ${t}.pack: ${n}`)}return undefined}).then(c=>{e.timeEnd("restore cache container");if(!c)return undefined;if(!(c instanceof PackContainer)){e.warn(`Restored pack from ${t}.pack, but contained content is unexpected.`,c);return undefined}if(c.version!==n){e.log(`Restored pack from ${t}.pack, but version doesn't match.`);return undefined}e.time("check build dependencies");return Promise.all([new Promise((n,i)=>{this.fileSystemInfo.checkSnapshotValid(c.buildSnapshot,(i,o)=>{if(i){e.log(`Restored pack from ${t}.pack, but checking snapshot of build dependencies errored: ${i}.`);e.debug(i.stack);return n(false)}if(!o){e.log(`Restored pack from ${t}.pack, but build dependencies have changed.`);return n(false)}s=c.buildSnapshot;return n(true)})}),new Promise((n,s)=>{this.fileSystemInfo.checkSnapshotValid(c.resolveBuildDependenciesSnapshot,(s,u)=>{if(s){e.log(`Restored pack from ${t}.pack, but checking snapshot of resolving of build dependencies errored: ${s}.`);e.debug(s.stack);return n(false)}if(u){r=c.resolveBuildDependenciesSnapshot;i=c.buildDependencies;a=c.resolveResults;return n(true)}e.log("resolving of build dependencies is invalid, will re-resolve build dependencies");this.fileSystemInfo.checkResolveResultsValid(c.resolveResults,(s,i)=>{if(s){e.log(`Restored pack from ${t}.pack, but resolving of build dependencies errored: ${s}.`);e.debug(s.stack);return n(false)}if(i){o=c.buildDependencies;a=c.resolveResults;return n(true)}e.log(`Restored pack from ${t}.pack, but build dependencies resolve to different locations.`);return n(false)})})})]).catch(t=>{e.timeEnd("check build dependencies");throw t}).then(([t,n])=>{e.timeEnd("check build dependencies");if(t&&n){e.time("restore cache content metadata");const t=c.data();e.timeEnd("restore cache content metadata");return t}return undefined})}).then(t=>{if(t){this.buildSnapshot=s;if(i)this.buildDependencies=i;if(o)this.newBuildDependencies.addAll(o);this.resolveResults=a;this.resolveBuildDependenciesSnapshot=r;return t}return new Pack(e)}).catch(n=>{this.logger.warn(`Restoring pack from ${t}.pack failed: ${n}`);this.logger.debug(n.stack);return new Pack(e)})}store(e,t,n){return this.packPromise.then(s=>{s.set(e,t===null?null:t.toString(),n)})}restore(e,t){return this.packPromise.then(n=>n.get(e,t===null?null:t.toString())).catch(t=>{if(t&&t.code!=="ENOENT"){this.logger.warn(`Restoring failed for ${e} from pack: ${t}`);this.logger.debug(t.stack)}})}storeBuildDependencies(e){this.newBuildDependencies.addAll(e)}afterAllStored(){const e=i.getReporter(this.compiler);return this.packPromise.then(t=>{if(!t.invalid)return;this.logger.log(`Storing pack...`);let n;const s=new Set;for(const e of this.newBuildDependencies){if(!this.buildDependencies.has(e)){s.add(e)}}if(s.size>0||!this.buildSnapshot){if(e)e(.5,"resolve build dependencies");this.logger.debug(`Capturing build dependencies... (${Array.from(s).join(", ")})`);n=new Promise((t,n)=>{this.logger.time("resolve build dependencies");this.fileSystemInfo.resolveBuildDependencies(this.context,s,(s,i)=>{this.logger.timeEnd("resolve build dependencies");if(s)return n(s);this.logger.time("snapshot build dependencies");const{files:o,directories:r,missing:a,resolveResults:c,resolveDependencies:u}=i;if(this.resolveResults){for(const[e,t]of c){this.resolveResults.set(e,t)}}else{this.resolveResults=c}if(e){e(.6,"snapshot build dependencies","resolving")}this.fileSystemInfo.createSnapshot(undefined,u.files,u.directories,u.missing,this.snapshot.resolveBuildDependencies,(s,i)=>{if(s){this.logger.timeEnd("snapshot build dependencies");return n(s)}if(!i){this.logger.timeEnd("snapshot build dependencies");return n(new Error("Unable to snapshot resolve dependencies"))}if(this.resolveBuildDependenciesSnapshot){this.resolveBuildDependenciesSnapshot=this.fileSystemInfo.mergeSnapshots(this.resolveBuildDependenciesSnapshot,i)}else{this.resolveBuildDependenciesSnapshot=i}if(e){e(.7,"snapshot build dependencies","modules")}this.fileSystemInfo.createSnapshot(undefined,o,r,a,this.snapshot.buildDependencies,(e,s)=>{this.logger.timeEnd("snapshot build dependencies");if(e)return n(e);if(!s){return n(new Error("Unable to snapshot build dependencies"))}this.logger.debug("Captured build dependencies");if(this.buildSnapshot){this.buildSnapshot=this.fileSystemInfo.mergeSnapshots(this.buildSnapshot,s)}else{this.buildSnapshot=s}t()})})})})}else{n=Promise.resolve()}return n.then(()=>{if(e)e(.8,"serialize pack");this.logger.time(`store pack`);const n=new PackContainer(t,this.version,this.buildSnapshot,this.buildDependencies,this.resolveResults,this.resolveBuildDependenciesSnapshot);return this.fileSerializer.serialize(n,{filename:`${this.cacheLocation}/index.pack`,extension:".pack",logger:this.logger}).then(()=>{for(const e of s){this.buildDependencies.add(e)}this.newBuildDependencies.clear();this.logger.timeEnd(`store pack`);this.logger.log(`Stored pack`)}).catch(e=>{this.logger.timeEnd(`store pack`);this.logger.warn(`Caching failed for pack: ${e}`);this.logger.debug(e.stack)})})}).catch(e=>{this.logger.warn(`Caching failed for pack: ${e}`);this.logger.debug(e.stack)})}}e.exports=PackFileCacheStrategy},97347:(e,t,n)=>{"use strict";const s=n(38938);const i=n(33032);class CacheEntry{constructor(e,t){this.result=e;this.snapshot=t}serialize({write:e}){e(this.result);e(this.snapshot)}deserialize({read:e}){this.result=e();this.snapshot=e()}}i(CacheEntry,"webpack/lib/cache/ResolverCachePlugin");const o=(e,t)=>{if("addAll"in e){e.addAll(t)}else{for(const n of t){e.add(n)}}};const r=(e,t)=>{let n="";for(const s in e){if(t&&s==="context")continue;const i=e[s];if(typeof i==="object"&&i!==null){n+=`|${s}=[${r(i,false)}|]`}else{n+=`|${s}=|${i}`}}return n};class ResolverCachePlugin{apply(e){const t=e.getCache("ResolverCachePlugin");let n;let i;let a=0;let c=0;let u=0;let l=0;e.hooks.thisCompilation.tap("ResolverCachePlugin",e=>{i=e.options.snapshot.resolve;n=e.fileSystemInfo;e.hooks.finishModules.tap("ResolverCachePlugin",()=>{if(a+c>0){const t=e.getLogger("webpack.ResolverCachePlugin");t.log(`${Math.round(100*a/(a+c))}% really resolved (${a} real resolves with ${u} cached but invalid, ${c} cached valid, ${l} concurrent)`);a=0;c=0;u=0;l=0}})});const d=(e,t,r,c,u)=>{a++;const l={_ResolverCachePluginCacheMiss:true,...c};const d={...r,stack:new Set,missingDependencies:new s,fileDependencies:new s,contextDependencies:new s};const p=e=>{if(r[e]){o(r[e],d[e])}};const h=Date.now();t.doResolve(t.hooks.resolve,l,"Cache miss",d,(t,s)=>{p("fileDependencies");p("contextDependencies");p("missingDependencies");if(t)return u(t);const o=d.fileDependencies;const r=d.contextDependencies;const a=d.missingDependencies;n.createSnapshot(h,o,r,a,i,(t,n)=>{if(t)return u(t);if(!n){if(s)return u(null,s);return u()}e.store(new CacheEntry(s,n),e=>{if(e)return u(e);if(s)return u(null,s);u()})})})};e.resolverFactory.hooks.resolver.intercept({factory(e,s){const i=new Map;s.tap("ResolverCachePlugin",(s,a,l)=>{if(a.cache!==true)return;const p=r(l,false);const h=a.cacheWithContext!==undefined?a.cacheWithContext:false;s.hooks.resolve.tapAsync({name:"ResolverCachePlugin",stage:-100},(a,l,f)=>{if(a._ResolverCachePluginCacheMiss||!n){return f()}const m=`${e}${p}${r(a,!h)}`;const g=i.get(m);if(g){g.push(f);return}const y=t.getItemCache(m,null);let v;const b=(e,t)=>{if(v===undefined){f(e,t);v=false}else{for(const n of v){n(e,t)}i.delete(m);v=false}};const k=(e,t)=>{if(e)return b(e);if(t){const{snapshot:e,result:i}=t;n.checkSnapshotValid(e,(t,n)=>{if(t||!n){u++;return d(y,s,l,a,b)}c++;if(l.missingDependencies){o(l.missingDependencies,e.getMissingIterable())}if(l.fileDependencies){o(l.fileDependencies,e.getFileIterable())}if(l.contextDependencies){o(l.contextDependencies,e.getContextIterable())}b(null,i)})}else{d(y,s,l,a,b)}};y.get(k);if(v===undefined){v=[f];i.set(m,v)}})});return s}})}}e.exports=ResolverCachePlugin},94075:(e,t,n)=>{"use strict";const s=n(49835);class LazyHashedEtag{constructor(e){this._obj=e;this._hash=undefined}toString(){if(this._hash===undefined){const e=s("md4");this._obj.updateHash(e);this._hash=e.digest("base64")}return this._hash}}const i=new WeakMap;const o=e=>{const t=i.get(e);if(t!==undefined)return t;const n=new LazyHashedEtag(e);i.set(e,n);return n};e.exports=o},54980:e=>{"use strict";class MergedEtag{constructor(e,t){this.a=e;this.b=t}toString(){return`${this.a.toString()}|${this.b.toString()}`}}const t=new WeakMap;const n=new WeakMap;const s=(e,s)=>{if(typeof e==="string"){if(typeof s==="string"){return`${e}|${s}`}else{const t=s;s=e;e=t}}else{if(typeof s!=="string"){let n=t.get(e);if(n===undefined){t.set(e,n=new WeakMap)}const i=n.get(s);if(i===undefined){const t=new MergedEtag(e,s);n.set(s,t);return t}else{return i}}}let i=n.get(e);if(i===undefined){n.set(e,i=new Map)}const o=i.get(s);if(o===undefined){const t=new MergedEtag(e,s);i.set(s,t);return t}else{return o}};e.exports=s},13462:(e,t,n)=>{"use strict";const s=n(85622);const i=n(1863);const o=(e=i)=>{const t={};const n=e=>{return e.replace(/\./g,"-").replace(/\[\]/g,"").replace(/(\p{Uppercase_Letter}+|\p{Lowercase_Letter}|\d)(\p{Uppercase_Letter}+)/gu,"$1-$2").replace(/-?[^\p{Uppercase_Letter}\p{Lowercase_Letter}\d]+/gu,"-").toLowerCase()};const s=t=>{const n=t.split("/");let s=e;for(let e=1;e{for(const{schema:t}of e){if(t.cli&&t.cli.helper)continue;if(t.description)return t.description}};const r=e=>{if(e.enum){return{type:"enum",values:e.enum}}switch(e.type){case"number":return{type:"number"};case"string":return{type:e.absolutePath?"path":"string"};case"boolean":return{type:"boolean"}}if(e.instanceof==="RegExp"){return{type:"RegExp"}}return undefined};const a=e=>{const s=e[0].path;const i=n(`${s}.reset`);const r=o(e);t[i]={configs:[{type:"reset",multiple:false,description:`Clear all items provided in configuration. ${r}`,path:s}],description:undefined,simpleType:undefined,multiple:undefined}};const c=(e,s)=>{const i=r(e[0].schema);if(!i)return 0;const a=n(e[0].path);const c={...i,multiple:s,description:o(e),path:e[0].path};if(!t[a]){t[a]={configs:[],description:undefined,simpleType:undefined,multiple:undefined}}if(t[a].configs.some(e=>JSON.stringify(e)===JSON.stringify(c))){return 0}if(t[a].configs.some(e=>e.type===c.type&&e.multiple!==s)){if(s){throw new Error(`Conflicting schema for ${e[0].path} with ${c.type} type (array type must be before single item type)`)}return 0}t[a].configs.push(c);return 1};const u=(e,t="",n=[],i=null)=>{while(e.$ref){e=s(e.$ref)}const o=n.filter(({schema:t})=>t===e);if(o.length>=2||o.some(({path:e})=>e===t)){return 0}if(e.cli&&e.cli.exclude)return 0;const r=[{schema:e,path:t},...n];let l=0;l+=c(r,!!i);if(e.type==="object"){if(e.properties){for(const n of Object.keys(e.properties)){l+=u(e.properties[n],t?`${t}.${n}`:n,r,i)}}return l}if(e.type==="array"){if(i){return 0}if(Array.isArray(e.items)){let n=0;for(const s of e.items){l+=u(s,`${t}.${n}`,r,t)}return l}l+=u(e.items,`${t}[]`,r,t);if(l>0){a(r);l++}return l}const d=e.oneOf||e.anyOf||e.allOf;if(d){const e=d;for(let n=0;n{if(!e)return t;if(!t)return e;if(e.includes(t))return e;return`${e} ${t}`},undefined);n.simpleType=n.configs.reduce((e,t)=>{let n="string";switch(t.type){case"number":n="number";break;case"reset":case"boolean":n="boolean";break;case"enum":if(t.values.every(e=>typeof e==="boolean"))n="boolean";if(t.values.every(e=>typeof e==="number"))n="number";break}if(e===undefined)return n;return e===n?e:"string"},undefined);n.multiple=n.configs.some(e=>e.multiple)}return t};const r=new WeakMap;const a=(e,t,n=0)=>{if(!t)return{value:e};const s=t.split(".");let i=s.pop();let o=e;let a=0;for(const e of s){const t=e.endsWith("[]");const i=t?e.slice(0,-2):e;let c=o[i];if(t){if(c===undefined){c={};o[i]=[...Array.from({length:n}),c];r.set(o[i],n+1)}else if(!Array.isArray(c)){return{problem:{type:"unexpected-non-array-in-path",path:s.slice(0,a).join(".")}}}else{let e=r.get(c)||0;while(e<=n){c.push(undefined);e++}r.set(c,e);const t=c.length-e+n;if(c[t]===undefined){c[t]={}}else if(c[t]===null||typeof c[t]!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:s.slice(0,a).join(".")}}}c=c[t]}}else{if(c===undefined){c=o[i]={}}else if(c===null||typeof c!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:s.slice(0,a).join(".")}}}}o=c;a++}let c=o[i];if(i.endsWith("[]")){const e=i.slice(0,-2);const s=o[e];if(s===undefined){o[e]=[...Array.from({length:n}),undefined];r.set(o[e],n+1);return{object:o[e],property:n,value:undefined}}else if(!Array.isArray(s)){o[e]=[s,...Array.from({length:n}),undefined];r.set(o[e],n+1);return{object:o[e],property:n+1,value:undefined}}else{let e=r.get(s)||0;while(e<=n){s.push(undefined);e++}r.set(s,e);const i=s.length-e+n;if(s[i]===undefined){s[i]={}}else if(s[i]===null||typeof s[i]!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:t}}}return{object:s,property:i,value:s[i]}}}return{object:o,property:i,value:c}};const c=(e,t,n,s)=>{const{problem:i,object:o,property:r}=a(e,t,s);if(i)return i;o[r]=n;return null};const u=(e,t,n,s)=>{if(s!==undefined&&!e.multiple){return{type:"multiple-values-unexpected",path:e.path}}const i=d(e,n);if(i===undefined){return{type:"invalid-value",path:e.path,expected:l(e)}}const o=c(t,e.path,i,s);if(o)return o;return null};const l=e=>{switch(e.type){default:return e.type;case"boolean":return"true | false";case"RegExp":return"regular expression (example: /ab?c*/)";case"enum":return e.values.map(e=>`${e}`).join(" | ");case"reset":return"true (will reset the previous value to an empty array)"}};const d=(e,t)=>{switch(e.type){case"string":if(typeof t==="string"){return t}break;case"path":if(typeof t==="string"){return s.resolve(t)}break;case"number":if(typeof t==="number")return t;if(typeof t==="string"&&/^[+-]?\d*(\.\d*)[eE]\d+$/){const e=+t;if(!isNaN(e))return e}break;case"boolean":if(typeof t==="boolean")return t;if(t==="true")return true;if(t==="false")return false;break;case"RegExp":if(t instanceof RegExp)return t;if(typeof t==="string"){const e=/^\/(.*)\/([yugi]*)$/.exec(t);if(e&&!/[^\\]\//.test(e[1]))return new RegExp(e[1],e[2])}break;case"enum":if(e.values.includes(t))return t;for(const n of e.values){if(`${n}`===t)return n}break;case"reset":if(t===true)return[];break}};const p=(e,t,n)=>{const s=[];for(const i of Object.keys(n)){const o=e[i];if(!o){s.push({type:"unknown-argument",path:"",argument:i});continue}const r=(e,n)=>{const r=[];for(const s of o.configs){const o=u(s,t,e,n);if(!o){return}r.push({...o,argument:i,value:e,index:n})}s.push(...r)};let a=n[i];if(Array.isArray(a)){for(let e=0;e{"use strict";const s=n(3561);const i=n(85622);const o=/^(?:((?:[A-Z]:)?[/\\].*?))?(?::(.+?))?$/i;const r=(e,t)=>{if(!e){return{}}if(i.isAbsolute(e)){const[,t,n]=o.exec(e)||[];return{configPath:t,env:n}}const n=s.findConfig(t);if(n&&Object.keys(n).includes(e)){return{env:e}}return{query:e}};const a=(e,t)=>{const{configPath:n,env:i,query:o}=r(e,t);const a=o?o:n?s.loadConfig({config:n,env:i}):s.loadConfig({path:t,env:i});if(!a)return null;return s(a)};const c=e=>{const t=t=>{return e.every(e=>{const[n,s]=e.split(" ");if(!n)return false;const i=t[n];if(!i)return false;const[o,r]=s==="TP"?[Infinity,Infinity]:s.split(".");if(typeof i==="number"){return+o>=i}return i[0]===+o?+r>=i[1]:+o>i[0]})};const n=e.some(e=>/^node /.test(e));const s=e.some(e=>/^(?!node)/.test(e));const i=!s?false:n?null:true;const o=!n?false:s?null:true;const r=t({chrome:63,and_chr:63,edge:79,firefox:67,and_ff:67,opera:50,op_mob:46,safari:[11,1],ios_saf:[11,3],samsung:[8,2],android:63,and_qq:[10,4],node:[13,14]});return{const:t({chrome:49,and_chr:49,edge:12,firefox:36,and_ff:36,opera:36,op_mob:36,safari:[10,0],ios_saf:[10,0],samsung:[5,0],android:37,and_qq:[10,4],and_uc:[12,12],kaios:[2,5],node:[6,0]}),arrowFunction:t({chrome:45,and_chr:45,edge:12,firefox:39,and_ff:39,opera:32,op_mob:32,safari:10,ios_saf:10,samsung:[5,0],android:45,and_qq:[10,4],baidu:[7,12],and_uc:[12,12],kaios:[2,5],node:[6,0]}),forOf:t({chrome:38,and_chr:38,edge:12,firefox:51,and_ff:51,opera:25,op_mob:25,safari:7,ios_saf:7,samsung:[3,0],android:38,node:[0,12]}),destructuring:t({chrome:49,and_chr:49,edge:14,firefox:41,and_ff:41,opera:36,op_mob:36,safari:8,ios_saf:8,samsung:[5,0],android:49,node:[6,0]}),bigIntLiteral:t({chrome:67,and_chr:67,edge:79,firefox:68,and_ff:68,opera:54,op_mob:48,safari:14,ios_saf:14,samsung:[9,2],android:67,node:[10,4]}),module:t({chrome:61,and_chr:61,edge:16,firefox:60,and_ff:60,opera:48,op_mob:45,safari:[10,1],ios_saf:[10,3],samsung:[8,0],android:61,and_qq:[10,4],node:[13,14]}),dynamicImport:r,dynamicImportInWorker:r&&!n,globalThis:t({chrome:71,and_chr:71,edge:79,firefox:65,and_ff:65,opera:58,op_mob:50,safari:[12,1],ios_saf:[12,2],samsung:[10,1],android:71,node:[12,0]}),browser:i,electron:false,node:o,nwjs:false,web:i,webworker:false,document:i,fetchWasm:i,global:o,importScripts:false,importScriptsInWorker:true,nodeBuiltins:o,require:o}};e.exports={resolve:c,load:a}},92988:(e,t,n)=>{"use strict";const s=n(85622);const i=n(1626);const{cleverMerge:o}=n(60839);const{getTargetsProperties:r,getTargetProperties:a,getDefaultTarget:c}=n(52801);const u=/[\\/]node_modules[\\/]/i;const l=(e,t,n)=>{if(e[t]===undefined){e[t]=n}};const d=(e,t,n)=>{if(e[t]===undefined){e[t]=n()}};const p=(e,t,n)=>{const s=e[t];if(s===undefined){e[t]=n()}else if(Array.isArray(s)){let i=undefined;for(let o=0;o0?s.slice(0,o-1):[];e[t]=i}const r=n();if(r!==undefined){for(const e of r){i.push(e)}}}else if(i!==undefined){i.push(r)}}}};const h=e=>{d(e,"context",()=>process.cwd())};const f=e=>{d(e,"context",()=>process.cwd());d(e,"target",()=>{return c(e.context)});const{mode:t,name:s,target:i}=e;let u=i===false?false:typeof i==="string"?a(i,e.context):r(i,e.context);const p=t==="development";const h=t==="production"||!t;if(typeof e.entry!=="function"){for(const t of Object.keys(e.entry)){d(e.entry[t],"import",()=>["./src"])}}d(e,"devtool",()=>p?"eval":false);l(e,"watch",false);l(e,"profile",false);l(e,"parallelism",100);l(e,"recordsInputPath",false);l(e,"recordsOutputPath",false);d(e,"cache",()=>p?{type:"memory"}:false);g(e.cache,{name:s||"default",mode:t||"production"});const f=!!e.cache;y(e.snapshot,{production:h});m(e.experiments);v(e.module,{cache:f,syncWebAssembly:e.experiments.syncWebAssembly,asyncWebAssembly:e.experiments.asyncWebAssembly});b(e.output,{context:e.context,targetProperties:u,outputModule:e.experiments.outputModule,development:p,entry:e.entry});k(e.externalsPresets,{targetProperties:u});w(e.loader,{targetProperties:u});d(e,"externalsType",()=>{const t=n(1863).definitions.ExternalsType.enum;return e.output.library&&t.includes(e.output.library.type)?e.output.library.type:e.output.module?"module":"var"});x(e.node,{targetProperties:u});d(e,"performance",()=>h&&u&&(u.browser||u.browser===null)?{}:false);C(e.performance,{production:h});M(e.optimization,{development:p,production:h,records:!!(e.recordsInputPath||e.recordsOutputPath)});e.resolve=o(S({cache:f,context:e.context,targetProperties:u,mode:e.mode}),e.resolve);e.resolveLoader=o(O({cache:f}),e.resolveLoader);T(e.infrastructureLogging)};const m=e=>{l(e,"topLevelAwait",false);l(e,"syncWebAssembly",false);l(e,"asyncWebAssembly",false);l(e,"outputModule",false)};const g=(e,{name:t,mode:i})=>{if(e===false)return;switch(e.type){case"filesystem":d(e,"name",()=>t+"-"+i);l(e,"version","");d(e,"cacheDirectory",()=>{const e=n(9358);const t=process.cwd();const i=e.sync(t);if(!i){return s.resolve(t,".cache/webpack")}else if(process.versions.pnp==="1"){return s.resolve(i,".pnp/.cache/webpack")}else if(process.versions.pnp==="3"){return s.resolve(i,".yarn/.cache/webpack")}else{return s.resolve(i,"node_modules/.cache/webpack")}});d(e,"cacheLocation",()=>s.resolve(e.cacheDirectory,e.name));l(e,"hashAlgorithm","md4");l(e,"store","pack");l(e,"idleTimeout",6e4);l(e,"idleTimeoutForInitialStore",0);l(e.buildDependencies,"defaultWebpack",[s.resolve(__dirname,"..")+s.sep]);break}};const y=(e,{production:t})=>{p(e,"managedPaths",()=>{if(process.versions.pnp==="3"){const e=/^(.+?)[\\/]cache[\\/]watchpack-npm-[^\\/]+\.zip[\\/]node_modules[\\/]/.exec(72617);if(e){return[s.resolve(e[1],"unplugged")]}}else{const e=/^(.+?[\\/]node_modules)[\\/]/.exec(72617);if(e){return[e[1]]}}return[]});p(e,"immutablePaths",()=>{if(process.versions.pnp==="1"){const e=/^(.+?[\\/]v4)[\\/]npm-watchpack-[^\\/]+-[\da-f]{40}[\\/]node_modules[\\/]/.exec(72617);if(e){return[e[1]]}}else if(process.versions.pnp==="3"){const e=/^(.+?)[\\/]watchpack-npm-[^\\/]+\.zip[\\/]node_modules[\\/]/.exec(72617);if(e){return[e[1]]}}return[]});d(e,"resolveBuildDependencies",()=>({timestamp:true,hash:true}));d(e,"buildDependencies",()=>({timestamp:true,hash:true}));d(e,"module",()=>t?{timestamp:true,hash:true}:{timestamp:true});d(e,"resolve",()=>t?{timestamp:true,hash:true}:{timestamp:true})};const v=(e,{cache:t,syncWebAssembly:n,asyncWebAssembly:s})=>{l(e,"unknownContextRequest",".");l(e,"unknownContextRegExp",false);l(e,"unknownContextRecursive",true);l(e,"unknownContextCritical",true);l(e,"exprContextRequest",".");l(e,"exprContextRegExp",false);l(e,"exprContextRecursive",true);l(e,"exprContextCritical",true);l(e,"wrappedContextRegExp",/.*/);l(e,"wrappedContextRecursive",true);l(e,"wrappedContextCritical",false);l(e,"strictExportPresence",false);l(e,"strictThisContextOnImports",false);if(t){l(e,"unsafeCache",e=>{const t=e.nameForCondition();return t&&u.test(t)})}else{l(e,"unsafeCache",false)}p(e,"defaultRules",()=>{const e={type:"javascript/esm",resolve:{byDependency:{esm:{fullySpecified:true}}}};const t={type:"javascript/dynamic"};const i=[{type:"javascript/auto"},{mimetype:"application/node",type:"javascript/auto"},{test:/\.json$/i,type:"json"},{mimetype:"application/json",type:"json"},{test:/\.mjs$/i,...e},{test:/\.js$/i,descriptionData:{type:"module"},...e},{test:/\.cjs$/i,...t},{test:/\.js$/i,descriptionData:{type:"commonjs"},...t},{mimetype:{or:["text/javascript","application/javascript"]},...e},{dependency:"url",type:"asset/resource"}];if(s){const e={type:"webassembly/async",rules:[{descriptionData:{type:"module"},resolve:{fullySpecified:true}}]};i.push({test:/\.wasm$/i,...e});i.push({mimetype:"application/wasm",...e})}else if(n){const e={type:"webassembly/sync",rules:[{descriptionData:{type:"module"},resolve:{fullySpecified:true}}]};i.push({test:/\.wasm$/i,...e});i.push({mimetype:"application/wasm",...e})}return i})};const b=(e,{context:t,targetProperties:n,outputModule:o,development:r,entry:a})=>{const c=e=>{const t=typeof e==="object"&&e&&!Array.isArray(e)&&"type"in e?e.name:e;if(Array.isArray(t)){return t.join(".")}else if(typeof t==="object"){return c(t.root)}else if(typeof t==="string"){return t}return""};d(e,"uniqueName",()=>{const n=c(e.library);if(n)return n;try{const e=require(`${t}/package.json`);return e.name||""}catch(e){return""}});l(e,"filename","[name].js");d(e,"module",()=>!!o);d(e,"iife",()=>!e.module);l(e,"importFunctionName","import");l(e,"importMetaName","import.meta");d(e,"chunkFilename",()=>{const t=e.filename;if(typeof t!=="function"){const e=t.includes("[name]");const n=t.includes("[id]");const s=t.includes("[chunkhash]");const i=t.includes("[contenthash]");if(s||i||e||n)return t;return t.replace(/(^|\/)([^/]*(?:\?|$))/,"$1[id].$2")}return"[id].js"});l(e,"assetModuleFilename","[hash][ext][query]");l(e,"webassemblyModuleFilename","[hash].module.wasm");l(e,"compareBeforeEmit",true);l(e,"charset",true);d(e,"hotUpdateGlobal",()=>i.toIdentifier("webpackHotUpdate"+i.toIdentifier(e.uniqueName)));d(e,"chunkLoadingGlobal",()=>i.toIdentifier("webpackChunk"+i.toIdentifier(e.uniqueName)));d(e,"globalObject",()=>{if(n){if(n.global)return"global";if(n.globalThis)return"globalThis"}return"self"});d(e,"chunkFormat",()=>{if(n){if(n.document)return"array-push";if(n.require)return"commonjs";if(n.nodeBuiltins)return"commonjs";if(n.importScripts)return"array-push";if(n.dynamicImport&&e.module)return"module"}return false});d(e,"chunkLoading",()=>{if(n){if(n.document)return"jsonp";if(n.require)return"require";if(n.nodeBuiltins)return"async-node";if(n.importScripts)return"import-scripts";if(n.dynamicImport&&e.module)return"import";if(n.require===null||n.nodeBuiltins===null||n.document===null||n.importScripts===null){return"universal"}}return false});d(e,"workerChunkLoading",()=>{if(n){if(n.require)return"require";if(n.nodeBuiltins)return"async-node";if(n.importScriptsInWorker)return"import-scripts";if(n.dynamicImportInWorker&&e.module)return"import";if(n.require===null||n.nodeBuiltins===null||n.importScriptsInWorker===null){return"universal"}}return false});d(e,"wasmLoading",()=>{if(n){if(n.nodeBuiltins)return"async-node";if(n.fetchWasm)return"fetch";if(n.nodeBuiltins===null||n.fetchWasm===null){return"universal"}}return false});d(e,"workerWasmLoading",()=>e.wasmLoading);d(e,"devtoolNamespace",()=>e.uniqueName);if(e.library){d(e.library,"type",()=>e.module?"module":"var")}d(e,"path",()=>s.join(process.cwd(),"dist"));d(e,"pathinfo",()=>r);l(e,"sourceMapFilename","[file].map[query]");l(e,"hotUpdateChunkFilename","[id].[fullhash].hot-update.js");l(e,"hotUpdateMainFilename","[runtime].[fullhash].hot-update.json");l(e,"crossOriginLoading",false);d(e,"scriptType",()=>e.module?"module":false);l(e,"publicPath",n&&(n.document||n.importScripts)||e.scriptType==="module"?"auto":"");l(e,"chunkLoadTimeout",12e4);l(e,"hashFunction","md4");l(e,"hashDigest","hex");l(e,"hashDigestLength",20);l(e,"strictModuleExceptionHandling",false);const u=e=>e||e===undefined;d(e.environment,"arrowFunction",()=>n&&u(n.arrowFunction));d(e.environment,"const",()=>n&&u(n.const));d(e.environment,"destructuring",()=>n&&u(n.destructuring));d(e.environment,"forOf",()=>n&&u(n.forOf));d(e.environment,"bigIntLiteral",()=>n&&n.bigIntLiteral);d(e.environment,"dynamicImport",()=>n&&n.dynamicImport);d(e.environment,"module",()=>n&&n.module);p(e,"enabledLibraryTypes",()=>{const t=[];if(e.library){t.push(e.library.type)}for(const e of Object.keys(a)){const n=a[e];if(n.library){t.push(n.library.type)}}return t});p(e,"enabledChunkLoadingTypes",()=>{const t=new Set;if(e.chunkLoading){t.add(e.chunkLoading)}if(e.workerChunkLoading){t.add(e.workerChunkLoading)}for(const e of Object.keys(a)){const n=a[e];if(n.chunkLoading){t.add(n.chunkLoading)}}return Array.from(t)});p(e,"enabledWasmLoadingTypes",()=>{const t=new Set;if(e.wasmLoading){t.add(e.wasmLoading)}if(e.workerWasmLoading){t.add(e.workerWasmLoading)}for(const e of Object.keys(a)){const n=a[e];if(n.wasmLoading){t.add(n.wasmLoading)}}return Array.from(t)})};const k=(e,{targetProperties:t})=>{l(e,"web",t&&t.web);l(e,"node",t&&t.node);l(e,"nwjs",t&&t.nwjs);l(e,"electron",t&&t.electron);l(e,"electronMain",t&&t.electron&&t.electronMain);l(e,"electronPreload",t&&t.electron&&t.electronPreload);l(e,"electronRenderer",t&&t.electron&&t.electronRenderer)};const w=(e,{targetProperties:t})=>{d(e,"target",()=>{if(t){if(t.electron){if(t.electronMain)return"electron-main";if(t.electronPreload)return"electron-preload";if(t.electronRenderer)return"electron-renderer";return"electron"}if(t.nwjs)return"nwjs";if(t.node)return"node";if(t.web)return"web"}})};const x=(e,{targetProperties:t})=>{if(e===false)return;d(e,"global",()=>{if(t&&t.global)return false;return true});d(e,"__filename",()=>{if(t&&t.node)return"eval-only";return"mock"});d(e,"__dirname",()=>{if(t&&t.node)return"eval-only";return"mock"})};const C=(e,{production:t})=>{if(e===false)return;l(e,"maxAssetSize",25e4);l(e,"maxEntrypointSize",25e4);d(e,"hints",()=>t?"warning":false)};const M=(e,{production:t,development:s,records:i})=>{l(e,"removeAvailableModules",false);l(e,"removeEmptyChunks",true);l(e,"mergeDuplicateChunks",true);l(e,"flagIncludedChunks",t);d(e,"moduleIds",()=>{if(t)return"deterministic";if(s)return"named";return"natural"});d(e,"chunkIds",()=>{if(t)return"deterministic";if(s)return"named";return"natural"});d(e,"sideEffects",()=>t?true:"flag");l(e,"providedExports",true);l(e,"usedExports",t);l(e,"innerGraph",t);l(e,"mangleExports",t);l(e,"concatenateModules",t);l(e,"runtimeChunk",false);l(e,"emitOnErrors",!t);l(e,"checkWasmTypes",t);l(e,"mangleWasmImports",false);l(e,"portableRecords",i);l(e,"realContentHash",t);l(e,"minimize",t);p(e,"minimizer",()=>[{apply:e=>{const t=n(54882);new t({terserOptions:{compress:{passes:2}}}).apply(e)}}]);d(e,"nodeEnv",()=>{if(t)return"production";if(s)return"development";return false});const{splitChunks:o}=e;if(o){p(o,"defaultSizeTypes",()=>["javascript","unknown"]);l(o,"hidePathInfo",t);l(o,"chunks","async");l(o,"usedExports",true);l(o,"minChunks",1);d(o,"minSize",()=>t?2e4:1e4);d(o,"minRemainingSize",()=>s?0:undefined);d(o,"enforceSizeThreshold",()=>t?5e4:3e4);d(o,"maxAsyncRequests",()=>t?30:Infinity);d(o,"maxInitialRequests",()=>t?30:Infinity);l(o,"automaticNameDelimiter","-");const{cacheGroups:e}=o;d(e,"default",()=>({idHint:"",reuseExistingChunk:true,minChunks:2,priority:-20}));d(e,"defaultVendors",()=>({idHint:"vendors",reuseExistingChunk:true,test:u,priority:-10}))}};const S=({cache:e,context:t,targetProperties:n,mode:s})=>{const i=["webpack"];i.push(s==="development"?"development":"production");if(n){if(n.webworker)i.push("worker");if(n.node)i.push("node");if(n.web)i.push("browser");if(n.electron)i.push("electron");if(n.nwjs)i.push("nwjs")}const o=[".js",".json",".wasm"];const r=n;const a=r&&r.web&&(!r.node||r.electron&&r.electronRenderer);const c=()=>({aliasFields:a?["browser"]:[],mainFields:a?["browser","module","..."]:["module","..."],conditionNames:["require","module","..."],extensions:[...o]});const u=()=>({aliasFields:a?["browser"]:[],mainFields:a?["browser","module","..."]:["module","..."],conditionNames:["import","module","..."],extensions:[...o]});const l={cache:e,modules:["node_modules"],conditionNames:i,mainFiles:["index"],extensions:[],aliasFields:[],exportsFields:["exports"],roots:[t],mainFields:["main"],byDependency:{wasm:u(),esm:u(),url:{preferRelative:true},worker:{...u(),preferRelative:true},commonjs:c(),amd:c(),loader:c(),unknown:c(),undefined:c()}};return l};const O=({cache:e})=>{const t={cache:e,conditionNames:["loader","require","node"],exportsFields:["exports"],mainFields:["loader","main"],extensions:[".js"],mainFiles:["index"]};return t};const T=e=>{l(e,"level","info");l(e,"debug",false)};t.applyWebpackOptionsBaseDefaults=h;t.applyWebpackOptionsDefaults=f},26693:(e,t,n)=>{"use strict";const s=n(31669);const i=s.deprecate((e,t)=>{if(t!==undefined&&!e===!t){throw new Error("Conflicting use of 'optimization.noEmitOnErrors' and 'optimization.emitOnErrors'. Remove deprecated 'optimization.noEmitOnErrors' from config.")}return!e},"optimization.noEmitOnErrors is deprecated in favor of optimization.emitOnErrors","DEP_WEBPACK_CONFIGURATION_OPTIMIZATION_NO_EMIT_ON_ERRORS");const o=(e,t)=>e===undefined?t({}):t(e);const r=(e,t)=>e===undefined?undefined:t(e);const a=(e,t)=>Array.isArray(e)?t(e):t([]);const c=(e,t)=>Array.isArray(e)?t(e):undefined;const u=(e,t)=>e===undefined?{}:Object.keys(e).reduce((n,s)=>(n[s]=t(e[s]),n),{});const l=e=>{return{amd:e.amd,bail:e.bail,cache:r(e.cache,e=>{if(e===false)return false;if(e===true){return{type:"memory"}}switch(e.type){case"filesystem":return{type:"filesystem",buildDependencies:o(e.buildDependencies,e=>({...e})),cacheDirectory:e.cacheDirectory,cacheLocation:e.cacheLocation,hashAlgorithm:e.hashAlgorithm,idleTimeout:e.idleTimeout,idleTimeoutForInitialStore:e.idleTimeoutForInitialStore,name:e.name,store:e.store,version:e.version};case undefined:case"memory":return{type:"memory"};default:throw new Error(`Not implemented cache.type ${e.type}`)}}),context:e.context,dependencies:e.dependencies,devServer:r(e.devServer,e=>({...e})),devtool:e.devtool,entry:e.entry===undefined?{main:{}}:typeof e.entry==="function"?(e=>()=>Promise.resolve().then(e).then(d))(e.entry):d(e.entry),experiments:o(e.experiments,e=>({...e})),externals:e.externals,externalsPresets:o(e.externalsPresets,e=>({...e})),externalsType:e.externalsType,ignoreWarnings:e.ignoreWarnings?e.ignoreWarnings.map(e=>{if(typeof e==="function")return e;const t=e instanceof RegExp?{message:e}:e;return(e,{requestShortener:n})=>{if(!t.message&&!t.module&&!t.file)return false;if(t.message&&!t.message.test(e.message)){return false}if(t.module&&(!e.module||!t.module.test(e.module.readableIdentifier(n)))){return false}if(t.file&&(!e.file||!t.file.test(e.file))){return false}return true}}):undefined,infrastructureLogging:o(e.infrastructureLogging,e=>({...e})),loader:o(e.loader,e=>({...e})),mode:e.mode,module:o(e.module,e=>({...e,rules:a(e.rules,e=>[...e])})),name:e.name,node:o(e.node,e=>e&&{...e}),optimization:o(e.optimization,e=>{return{...e,runtimeChunk:p(e.runtimeChunk),splitChunks:o(e.splitChunks,e=>e&&{...e,defaultSizeTypes:e.defaultSizeTypes?[...e.defaultSizeTypes]:["..."],cacheGroups:o(e.cacheGroups,e=>({...e}))}),emitOnErrors:e.noEmitOnErrors!==undefined?i(e.noEmitOnErrors,e.emitOnErrors):e.emitOnErrors}}),output:o(e.output,e=>{const{library:t}=e;const n=t;const s=typeof t==="object"&&t&&!Array.isArray(t)&&"type"in t?t:n||e.libraryTarget?{name:n}:undefined;const i={assetModuleFilename:e.assetModuleFilename,charset:e.charset,chunkFilename:e.chunkFilename,chunkFormat:e.chunkFormat,chunkLoading:e.chunkLoading,chunkLoadingGlobal:e.chunkLoadingGlobal,chunkLoadTimeout:e.chunkLoadTimeout,compareBeforeEmit:e.compareBeforeEmit,crossOriginLoading:e.crossOriginLoading,devtoolFallbackModuleFilenameTemplate:e.devtoolFallbackModuleFilenameTemplate,devtoolModuleFilenameTemplate:e.devtoolModuleFilenameTemplate,devtoolNamespace:e.devtoolNamespace,environment:o(e.environment,e=>({...e})),enabledChunkLoadingTypes:e.enabledChunkLoadingTypes?[...e.enabledChunkLoadingTypes]:["..."],enabledLibraryTypes:e.enabledLibraryTypes?[...e.enabledLibraryTypes]:["..."],enabledWasmLoadingTypes:e.enabledWasmLoadingTypes?[...e.enabledWasmLoadingTypes]:["..."],filename:e.filename,globalObject:e.globalObject,hashDigest:e.hashDigest,hashDigestLength:e.hashDigestLength,hashFunction:e.hashFunction,hashSalt:e.hashSalt,hotUpdateChunkFilename:e.hotUpdateChunkFilename,hotUpdateGlobal:e.hotUpdateGlobal,hotUpdateMainFilename:e.hotUpdateMainFilename,iife:e.iife,importFunctionName:e.importFunctionName,importMetaName:e.importMetaName,scriptType:e.scriptType,library:s&&{type:e.libraryTarget!==undefined?e.libraryTarget:s.type,auxiliaryComment:e.auxiliaryComment!==undefined?e.auxiliaryComment:s.auxiliaryComment,export:e.libraryExport!==undefined?e.libraryExport:s.export,name:s.name,umdNamedDefine:e.umdNamedDefine!==undefined?e.umdNamedDefine:s.umdNamedDefine},module:e.module,path:e.path,pathinfo:e.pathinfo,publicPath:e.publicPath,sourceMapFilename:e.sourceMapFilename,sourcePrefix:e.sourcePrefix,strictModuleExceptionHandling:e.strictModuleExceptionHandling,uniqueName:e.uniqueName,wasmLoading:e.wasmLoading,webassemblyModuleFilename:e.webassemblyModuleFilename,workerChunkLoading:e.workerChunkLoading,workerWasmLoading:e.workerWasmLoading};return i}),parallelism:e.parallelism,performance:r(e.performance,e=>{if(e===false)return false;return{...e}}),plugins:a(e.plugins,e=>[...e]),profile:e.profile,recordsInputPath:e.recordsInputPath!==undefined?e.recordsInputPath:e.recordsPath,recordsOutputPath:e.recordsOutputPath!==undefined?e.recordsOutputPath:e.recordsPath,resolve:o(e.resolve,e=>({...e,byDependency:u(e.byDependency,e=>({...e}))})),resolveLoader:o(e.resolveLoader,e=>({...e})),snapshot:o(e.snapshot,e=>({resolveBuildDependencies:r(e.resolveBuildDependencies,e=>({timestamp:e.timestamp,hash:e.hash})),buildDependencies:r(e.buildDependencies,e=>({timestamp:e.timestamp,hash:e.hash})),resolve:r(e.resolve,e=>({timestamp:e.timestamp,hash:e.hash})),module:r(e.module,e=>({timestamp:e.timestamp,hash:e.hash})),immutablePaths:c(e.immutablePaths,e=>[...e]),managedPaths:c(e.managedPaths,e=>[...e])})),stats:o(e.stats,e=>{if(e===false){return{preset:"none"}}if(e===true){return{preset:"normal"}}if(typeof e==="string"){return{preset:e}}return{...e}}),target:e.target,watch:e.watch,watchOptions:o(e.watchOptions,e=>({...e}))}};const d=e=>{if(typeof e==="string"){return{main:{import:[e]}}}if(Array.isArray(e)){return{main:{import:e}}}const t={};for(const n of Object.keys(e)){const s=e[n];if(typeof s==="string"){t[n]={import:[s]}}else if(Array.isArray(s)){t[n]={import:s}}else{t[n]={import:s.import&&(Array.isArray(s.import)?s.import:[s.import]),filename:s.filename,runtime:s.runtime,chunkLoading:s.chunkLoading,wasmLoading:s.wasmLoading,dependOn:s.dependOn&&(Array.isArray(s.dependOn)?s.dependOn:[s.dependOn]),library:s.library}}}return t};const p=e=>{if(e===undefined)return undefined;if(e===false)return false;if(e==="single"){return{name:()=>"runtime"}}if(e===true||e==="multiple"){return{name:e=>`runtime~${e.name}`}}const{name:t}=e;return{name:typeof t==="function"?t:()=>t}};t.getNormalizedWebpackOptions=l},52801:(e,t,n)=>{"use strict";const s=n(43950);const i=e=>{const t=s.load(null,e);return t?"browserslist":"web"};const o=(e,t)=>{if(!e)return()=>undefined;e=+e;t=t?+t:0;return(n,s=0)=>{return e>n||e===n&&t>=s}};const r=[["browserslist / browserslist:env / browserslist:query / browserslist:path-to-config / browserslist:path-to-config:env","Resolve features from browserslist. Will resolve browserslist config automatically. Only browser or node queries are supported (electron is not supported). Examples: 'browserslist:modern' to use 'modern' environment from browserslist config",/^browserslist(?::(.+))?$/,(e,t)=>{const n=s.load(e?e.trim():null,t);if(!n){throw new Error(`No browserslist config found to handle the 'browserslist' target.\nSee https://github.com/browserslist/browserslist#queries for possible ways to provide a config.\nThe recommended way is to add a 'browserslist' key to your package.json and list supported browsers (resp. node.js versions).\nYou can also more options via the 'target' option: 'browserslist' / 'browserslist:env' / 'browserslist:query' / 'browserslist:path-to-config' / 'browserslist:path-to-config:env'`)}return s.resolve(n)}],["web","Web browser.",/^web$/,()=>{return{web:true,browser:true,webworker:null,node:false,electron:false,nwjs:false,document:true,importScriptsInWorker:true,fetchWasm:true,nodeBuiltins:false,importScripts:false,require:false,global:false}}],["webworker","Web Worker, SharedWorker or Service Worker.",/^webworker$/,()=>{return{web:true,browser:true,webworker:true,node:false,electron:false,nwjs:false,importScripts:true,importScriptsInWorker:true,fetchWasm:true,nodeBuiltins:false,require:false,document:false,global:false}}],["[async-]node[X[.Y]]","Node.js in version X.Y. The 'async-' prefix will load chunks asynchronously via 'fs' and 'vm' instead of 'require()'. Examples: node14.5, async-node10.",/^(async-)?node(\d+(?:\.(\d+))?)?$/,(e,t,n)=>{const s=o(t,n);return{node:true,electron:false,nwjs:false,web:false,webworker:false,browser:false,require:!e,nodeBuiltins:true,global:true,document:false,fetchWasm:false,importScripts:false,importScriptsInWorker:false,globalThis:s(12),const:s(6),arrowFunction:s(6),forOf:s(5),destructuring:s(6),bigIntLiteral:s(10,4),dynamicImport:s(12,17),dynamicImportInWorker:t?false:undefined,module:s(12,17)}}],["electron[X[.Y]]-main/preload/renderer","Electron in version X.Y. Script is running in main, preload resp. renderer context.",/^electron(\d+(?:\.(\d+))?)?-(main|preload|renderer)$/,(e,t,n)=>{const s=o(e,t);return{node:true,electron:true,web:n!=="main",webworker:false,browser:false,nwjs:false,electronMain:n==="main",electronPreload:n==="preload",electronRenderer:n==="renderer",global:true,nodeBuiltins:true,require:true,document:n==="renderer",fetchWasm:n==="renderer",importScripts:false,importScriptsInWorker:false,globalThis:s(5),const:s(1,1),arrowFunction:s(1,1),forOf:s(0,36),destructuring:s(1,1),bigIntLiteral:s(4),dynamicImport:s(11),dynamicImportInWorker:e?false:undefined,module:s(11)}}],["nwjs[X[.Y]] / node-webkit[X[.Y]]","NW.js in version X.Y.",/^(?:nwjs|node-webkit)(\d+(?:\.(\d+))?)?$/,(e,t)=>{const n=o(e,t);return{node:true,web:true,nwjs:true,webworker:null,browser:false,electron:false,global:true,nodeBuiltins:true,document:false,importScriptsInWorker:false,fetchWasm:false,importScripts:false,require:false,globalThis:n(0,43),const:n(0,15),arrowFunction:n(0,15),forOf:n(0,13),destructuring:n(0,15),bigIntLiteral:n(0,32),dynamicImport:n(0,43),dynamicImportInWorker:e?false:undefined,module:n(0,43)}}],["esX","EcmaScript in this version. Examples: es2020, es5.",/^es(\d+)$/,e=>{let t=+e;if(t<1e3)t=t+2009;return{const:t>=2015,arrowFunction:t>=2015,forOf:t>=2015,destructuring:t>=2015,module:t>=2015,globalThis:t>=2020,bigIntLiteral:t>=2020,dynamicImport:t>=2020,dynamicImportInWorker:t>=2020}}]];const a=(e,t)=>{for(const[,,n,s]of r){const i=n.exec(e);if(i){const[,...e]=i;const n=s(...e,t);if(n)return n}}throw new Error(`Unknown target '${e}'. The following targets are supported:\n${r.map(([e,t])=>`* ${e}: ${t}`).join("\n")}`)};const c=e=>{const t=new Set;for(const n of e){for(const e of Object.keys(n)){t.add(e)}}const n={};for(const s of t){let t=false;let i=false;for(const n of e){const e=n[s];switch(e){case true:t=true;break;case false:i=true;break}}if(t||i)n[s]=i&&t?null:t?true:false}return n};const u=(e,t)=>{return c(e.map(e=>a(e,t)))};t.getDefaultTarget=i;t.getTargetProperties=a;t.getTargetsProperties=u},64813:(e,t,n)=>{"use strict";const s=n(54912);const i=n(33032);class ContainerEntryDependency extends s{constructor(e,t,n){super();this.name=e;this.exposes=t;this.shareScope=n}getResourceIdentifier(){return`container-entry-${this.name}`}get type(){return"container entry"}get category(){return"esm"}}i(ContainerEntryDependency,"webpack/lib/container/ContainerEntryDependency");e.exports=ContainerEntryDependency},80580:(e,t,n)=>{"use strict";const{OriginalSource:s,RawSource:i}=n(84697);const o=n(47736);const r=n(73208);const a=n(16475);const c=n(1626);const u=n(33032);const l=n(72374);const d=new Set(["javascript"]);class ContainerEntryModule extends r{constructor(e,t,n){super("javascript/dynamic",null);this._name=e;this._exposes=t;this._shareScope=n}getSourceTypes(){return d}identifier(){return`container entry (${this._shareScope}) ${JSON.stringify(this._exposes)}`}readableIdentifier(e){return`container entry`}libIdent(e){return`webpack/container/entry/${this._name}`}needBuild(e,t){return t(null,!this.buildMeta)}build(e,t,n,s,i){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();for(const[e,t]of this._exposes){const n=new o(undefined,{name:e},t.import[t.import.length-1]);let s=0;for(const i of t.import){const t=new l(e,i);t.loc={name:e,index:s++};n.addDependency(t)}this.addBlock(n)}i()}codeGeneration({moduleGraph:e,chunkGraph:t,runtimeTemplate:n}){const o=new Map;const r=new Set([a.definePropertyGetters,a.hasOwnProperty,a.exports]);const u=[];for(const s of this.blocks){const{dependencies:i}=s;const o=i.map(t=>{const n=t;return{name:n.exposedName,module:e.getModule(n),request:n.userRequest}});let a;if(o.some(e=>!e.module)){a=n.throwMissingModuleErrorBlock({request:o.map(e=>e.request).join(", ")})}else{a=`return ${n.blockPromise({block:s,message:"",chunkGraph:t,runtimeRequirements:r})}.then(${n.returningFunction(n.returningFunction(`(${o.map(({module:e,request:s})=>n.moduleRaw({module:e,chunkGraph:t,request:s,weak:false,runtimeRequirements:r})).join(", ")})`))});`}u.push(`${JSON.stringify(o[0].name)}: ${n.basicFunction("",a)}`)}const l=c.asString([`var moduleMap = {`,c.indent(u.join(",\n")),"};",`var get = ${n.basicFunction("module, getScope",[`${a.currentRemoteGetScope} = getScope;`,"getScope = (",c.indent([`${a.hasOwnProperty}(moduleMap, module)`,c.indent(["? moduleMap[module]()",`: Promise.resolve().then(${n.basicFunction("","throw new Error('Module \"' + module + '\" does not exist in container.');")})`])]),");",`${a.currentRemoteGetScope} = undefined;`,"return getScope;"])};`,`var init = ${n.basicFunction("shareScope, initScope",[`if (!${a.shareScopeMap}) return;`,`var oldScope = ${a.shareScopeMap}[${JSON.stringify(this._shareScope)}];`,`var name = ${JSON.stringify(this._shareScope)}`,`if(oldScope && oldScope !== shareScope) throw new Error("Container initialization failed as it has already been initialized with a different share scope");`,`${a.shareScopeMap}[name] = shareScope;`,`return ${a.initializeSharing}(name, initScope);`])};`,"","// This exports getters to disallow modifications",`${a.definePropertyGetters}(exports, {`,c.indent([`get: ${n.returningFunction("get")},`,`init: ${n.returningFunction("init")}`]),"});"]);o.set("javascript",this.useSourceMap||this.useSimpleSourceMap?new s(l,"webpack/container-entry"):new i(l));return{sources:o,runtimeRequirements:r}}size(e){return 42}serialize(e){const{write:t}=e;t(this._name);t(this._exposes);t(this._shareScope);super.serialize(e)}static deserialize(e){const{read:t}=e;const n=new ContainerEntryModule(t(),t(),t());n.deserialize(e);return n}}u(ContainerEntryModule,"webpack/lib/container/ContainerEntryModule");e.exports=ContainerEntryModule},76398:(e,t,n)=>{"use strict";const s=n(51010);const i=n(80580);e.exports=class ContainerEntryModuleFactory extends s{create({dependencies:[e]},t){const n=e;t(null,{module:new i(n.name,n.exposes,n.shareScope)})}}},72374:(e,t,n)=>{"use strict";const s=n(80321);const i=n(33032);class ContainerExposedDependency extends s{constructor(e,t){super(t);this.exposedName=e}get type(){return"container exposed"}get category(){return"esm"}getResourceIdentifier(){return`exposed dependency ${this.exposedName}=${this.request}`}serialize(e){e.write(this.exposedName);super.serialize(e)}deserialize(e){this.exposedName=e.read();super.deserialize(e)}}i(ContainerExposedDependency,"webpack/lib/container/ContainerExposedDependency");e.exports=ContainerExposedDependency},9244:(e,t,n)=>{"use strict";const{validate:s}=n(33225);const i=n(18374);const o=n(64813);const r=n(76398);const a=n(72374);const{parseOptions:c}=n(3083);const u="ContainerPlugin";class ContainerPlugin{constructor(e){s(i,e,{name:"Container Plugin"});this._options={name:e.name,shareScope:e.shareScope||"default",library:e.library||{type:"var",name:e.name},filename:e.filename||undefined,exposes:c(e.exposes,e=>({import:Array.isArray(e)?e:[e]}),e=>({import:Array.isArray(e.import)?e.import:[e.import]}))}}apply(e){const{name:t,exposes:n,shareScope:s,filename:i,library:c}=this._options;e.options.output.enabledLibraryTypes.push(c.type);e.hooks.make.tapAsync(u,(e,r)=>{const a=new o(t,n,s);a.loc={name:t};e.addEntry(e.options.context,a,{name:t,filename:i,library:c},e=>{if(e)return r(e);r()})});e.hooks.thisCompilation.tap(u,(e,{normalModuleFactory:t})=>{e.dependencyFactories.set(o,new r);e.dependencyFactories.set(a,t)})}}e.exports=ContainerPlugin},95757:(e,t,n)=>{"use strict";const{validate:s}=n(33225);const i=n(31339);const o=n(6652);const r=n(16475);const a=n(57764);const c=n(29593);const u=n(4112);const l=n(62916);const d=n(88288);const p=n(14389);const{parseOptions:h}=n(3083);const f="/".charCodeAt(0);class ContainerReferencePlugin{constructor(e){s(i,e,{name:"Container Reference Plugin"});this._remoteType=e.remoteType;this._remotes=h(e.remotes,t=>({external:Array.isArray(t)?t:[t],shareScope:e.shareScope||"default"}),t=>({external:Array.isArray(t.external)?t.external:[t.external],shareScope:t.shareScope||e.shareScope||"default"}))}apply(e){const{_remotes:t,_remoteType:n}=this;const s={};for(const[e,n]of t){let t=0;for(const i of n.external){if(i.startsWith("internal "))continue;s[`webpack/container/reference/${e}${t?`/fallback-${t}`:""}`]=i;t++}}new o(n,s).apply(e);e.hooks.compilation.tap("ContainerReferencePlugin",(e,{normalModuleFactory:n})=>{e.dependencyFactories.set(p,n);e.dependencyFactories.set(c,n);e.dependencyFactories.set(a,new u);n.hooks.factorize.tap("ContainerReferencePlugin",e=>{if(!e.request.includes("!")){for(const[n,s]of t){if(e.request.startsWith(`${n}`)&&(e.request.length===n.length||e.request.charCodeAt(n.length)===f)){return new l(e.request,s.external.map((e,t)=>e.startsWith("internal ")?e.slice(9):`webpack/container/reference/${n}${t?`/fallback-${t}`:""}`),`.${e.request.slice(n.length)}`,s.shareScope)}}}});e.hooks.runtimeRequirementInTree.for(r.ensureChunkHandlers).tap("ContainerReferencePlugin",(t,n)=>{n.add(r.module);n.add(r.moduleFactoriesAddOnly);n.add(r.hasOwnProperty);n.add(r.initializeSharing);n.add(r.shareScopeMap);e.addRuntimeModule(t,new d)})})}}e.exports=ContainerReferencePlugin},57764:(e,t,n)=>{"use strict";const s=n(54912);const i=n(33032);class FallbackDependency extends s{constructor(e){super();this.requests=e}getResourceIdentifier(){return`fallback ${this.requests.join(" ")}`}get type(){return"fallback"}get category(){return"esm"}serialize(e){const{write:t}=e;t(this.requests);super.serialize(e)}static deserialize(e){const{read:t}=e;const n=new FallbackDependency(t());n.deserialize(e);return n}}i(FallbackDependency,"webpack/lib/container/FallbackDependency");e.exports=FallbackDependency},29593:(e,t,n)=>{"use strict";const s=n(80321);const i=n(33032);class FallbackItemDependency extends s{constructor(e){super(e)}get type(){return"fallback item"}get category(){return"esm"}}i(FallbackItemDependency,"webpack/lib/container/FallbackItemDependency");e.exports=FallbackItemDependency},82886:(e,t,n)=>{"use strict";const{RawSource:s}=n(84697);const i=n(73208);const o=n(16475);const r=n(1626);const a=n(33032);const c=n(29593);const u=new Set(["javascript"]);const l=new Set([o.module]);class FallbackModule extends i{constructor(e){super("fallback-module");this.requests=e;this._identifier=`fallback ${this.requests.join(" ")}`}identifier(){return this._identifier}readableIdentifier(e){return this._identifier}libIdent(e){return`webpack/container/fallback/${this.requests[0]}/and ${this.requests.length-1} more`}chunkCondition(e,{chunkGraph:t}){return t.getNumberOfEntryModules(e)>0}needBuild(e,t){t(null,!this.buildInfo)}build(e,t,n,s,i){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();for(const e of this.requests)this.addDependency(new c(e));i()}size(e){return this.requests.length*5+42}getSourceTypes(){return u}codeGeneration({runtimeTemplate:e,moduleGraph:t,chunkGraph:n}){const i=this.dependencies.map(e=>n.getModuleId(t.getModule(e)));const o=r.asString([`var ids = ${JSON.stringify(i)};`,"var error, result, i = 0;",`var loop = ${e.basicFunction("next",["while(i < ids.length) {",r.indent(["try { next = __webpack_require__(ids[i++]); } catch(e) { return handleError(e); }","if(next) return next.then ? next.then(handleResult, handleError) : handleResult(next);"]),"}","if(error) throw error;"])}`,`var handleResult = ${e.basicFunction("result",["if(result) return result;","return loop();"])};`,`var handleError = ${e.basicFunction("e",["error = e;","return loop();"])};`,"module.exports = loop();"]);const a=new Map;a.set("javascript",new s(o));return{sources:a,runtimeRequirements:l}}serialize(e){const{write:t}=e;t(this.requests);super.serialize(e)}static deserialize(e){const{read:t}=e;const n=new FallbackModule(t());n.deserialize(e);return n}}a(FallbackModule,"webpack/lib/container/FallbackModule");e.exports=FallbackModule},4112:(e,t,n)=>{"use strict";const s=n(51010);const i=n(82886);e.exports=class FallbackModuleFactory extends s{create({dependencies:[e]},t){const n=e;t(null,{module:new i(n.requests)})}}},30569:(e,t,n)=>{"use strict";const{validate:s}=n(33225);const i=n(2320);const o=n(26335);const r=n(9244);const a=n(95757);class ModuleFederationPlugin{constructor(e){s(i,e,{name:"Module Federation Plugin"});this._options=e}apply(e){const{_options:t}=this;const n=t.library||{type:"var",name:t.name};const s=t.remoteType||(t.library&&i.definitions.ExternalsType.enum.includes(t.library.type)?t.library.type:"script");if(n&&!e.options.output.enabledLibraryTypes.includes(n.type)){e.options.output.enabledLibraryTypes.push(n.type)}e.hooks.afterPlugins.tap("ModuleFederationPlugin",()=>{if(t.exposes&&(Array.isArray(t.exposes)?t.exposes.length>0:Object.keys(t.exposes).length>0)){new r({name:t.name,library:n,filename:t.filename,exposes:t.exposes}).apply(e)}if(t.remotes&&(Array.isArray(t.remotes)?t.remotes.length>0:Object.keys(t.remotes).length>0)){new a({remoteType:s,remotes:t.remotes}).apply(e)}if(t.shared){new o({shared:t.shared,shareScope:t.shareScope}).apply(e)}})}}e.exports=ModuleFederationPlugin},62916:(e,t,n)=>{"use strict";const{RawSource:s}=n(84697);const i=n(73208);const o=n(16475);const r=n(33032);const a=n(57764);const c=n(14389);const u=new Set(["remote","share-init"]);const l=new Set([o.module]);class RemoteModule extends i{constructor(e,t,n,s){super("remote-module");this.request=e;this.externalRequests=t;this.internalRequest=n;this.shareScope=s;this._identifier=`remote (${s}) ${this.externalRequests.join(" ")} ${this.internalRequest}`}identifier(){return this._identifier}readableIdentifier(e){return`remote ${this.request}`}libIdent(e){return`webpack/container/remote/${this.request}`}needBuild(e,t){t(null,!this.buildInfo)}build(e,t,n,s,i){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();if(this.externalRequests.length===1){this.addDependency(new c(this.externalRequests[0]))}else{this.addDependency(new a(this.externalRequests))}i()}size(e){return 6}getSourceTypes(){return u}nameForCondition(){return this.request}codeGeneration({runtimeTemplate:e,moduleGraph:t,chunkGraph:n}){const i=t.getModule(this.dependencies[0]);const o=i&&n.getModuleId(i);const r=new Map;r.set("remote",new s(""));const a=new Map;a.set("share-init",[{shareScope:this.shareScope,initStage:20,init:o===undefined?"":`initExternal(${JSON.stringify(o)});`}]);return{sources:r,data:a,runtimeRequirements:l}}serialize(e){const{write:t}=e;t(this.request);t(this.externalRequests);t(this.internalRequest);t(this.shareScope);super.serialize(e)}static deserialize(e){const{read:t}=e;const n=new RemoteModule(t(),t(),t(),t());n.deserialize(e);return n}}r(RemoteModule,"webpack/lib/container/RemoteModule");e.exports=RemoteModule},88288:(e,t,n)=>{"use strict";const s=n(16475);const i=n(16963);const o=n(1626);class RemoteRuntimeModule extends i{constructor(){super("remotes loading")}generate(){const{runtimeTemplate:e,chunkGraph:t,moduleGraph:n}=this.compilation;const i={};const r={};for(const e of this.chunk.getAllAsyncChunks()){const s=t.getChunkModulesIterableBySourceType(e,"remote");if(!s)continue;const o=i[e.id]=[];for(const e of s){const s=e;const i=s.internalRequest;const a=t.getModuleId(s);const c=s.shareScope;const u=s.dependencies[0];const l=n.getModule(u);const d=l&&t.getModuleId(l);o.push(a);r[a]=[c,i,d]}}return o.asString([`var chunkMapping = ${JSON.stringify(i,null,"\t")};`,`var idToExternalAndNameMapping = ${JSON.stringify(r,null,"\t")};`,`${s.ensureChunkHandlers}.remotes = ${e.basicFunction("chunkId, promises",[`if(${s.hasOwnProperty}(chunkMapping, chunkId)) {`,o.indent([`chunkMapping[chunkId].forEach(${e.basicFunction("id",[`var getScope = ${s.currentRemoteGetScope};`,"if(!getScope) getScope = [];","var data = idToExternalAndNameMapping[id];","if(getScope.indexOf(data) >= 0) return;","getScope.push(data);",`if(data.p) return promises.push(data.p);`,`var onError = ${e.basicFunction("error",['if(!error) error = new Error("Container missing");','if(typeof error.message === "string")',o.indent(`error.message += '\\nwhile loading "' + data[1] + '" from ' + data[2];`),`__webpack_modules__[id] = ${e.basicFunction("",["throw error;"])}`,"data.p = 0;"])};`,`var handleFunction = ${e.basicFunction("fn, arg1, arg2, d, next, first",["try {",o.indent(["var promise = fn(arg1, arg2);","if(promise && promise.then) {",o.indent([`var p = promise.then(${e.returningFunction("next(result, d)","result")}, onError);`,`if(first) promises.push(data.p = p); else return p;`]),"} else {",o.indent(["return next(promise, d, first);"]),"}"]),"} catch(error) {",o.indent(["onError(error);"]),"}"])}`,`var onExternal = ${e.returningFunction(`external ? handleFunction(${s.initializeSharing}, data[0], 0, external, onInitialized, first) : onError()`,"external, _, first")};`,`var onInitialized = ${e.returningFunction(`handleFunction(external.get, data[1], getScope, 0, onFactory, first)`,"_, external, first")};`,`var onFactory = ${e.basicFunction("factory",["data.p = 1;",`__webpack_modules__[id] = ${e.basicFunction("module",["module.exports = factory();"])}`])};`,"handleFunction(__webpack_require__, data[2], 0, 0, onExternal, 1);"])});`]),"}"])}`])}}e.exports=RemoteRuntimeModule},14389:(e,t,n)=>{"use strict";const s=n(80321);const i=n(33032);class RemoteToExternalDependency extends s{constructor(e){super(e)}get type(){return"remote to external"}get category(){return"esm"}}i(RemoteToExternalDependency,"webpack/lib/container/RemoteToExternalDependency");e.exports=RemoteToExternalDependency},3083:(e,t)=>{"use strict";const n=(e,t,n,s)=>{const i=e=>{for(const n of e){if(typeof n==="string"){s(n,t(n,n))}else if(n&&typeof n==="object"){o(n)}else{throw new Error("Unexpected options format")}}};const o=e=>{for(const[i,o]of Object.entries(e)){if(typeof o==="string"||Array.isArray(o)){s(i,t(o,i))}else{s(i,n(o,i))}}};if(!e){return}else if(Array.isArray(e)){i(e)}else if(typeof e==="object"){o(e)}else{throw new Error("Unexpected options format")}};const s=(e,t,s)=>{const i=[];n(e,t,s,(e,t)=>{i.push([e,t])});return i};const i=(e,t)=>{const s={};n(t,e=>e,e=>e,(t,n)=>{s[t.startsWith("./")?`${e}${t.slice(1)}`:`${e}/${t}`]=n});return s};t.parseOptions=s;t.scope=i},2757:(e,t,n)=>{"use strict";const{Tracer:s}=n(5787);const{validate:i}=n(33225);const o=n(26281);const{dirname:r,mkdirpSync:a}=n(17139);let c=undefined;try{c=n(57012)}catch(e){console.log("Unable to CPU profile in < node 8.0")}class Profiler{constructor(e){this.session=undefined;this.inspector=e}hasSession(){return this.session!==undefined}startProfiling(){if(this.inspector===undefined){return Promise.resolve()}try{this.session=new c.Session;this.session.connect()}catch(e){this.session=undefined;return Promise.resolve()}return Promise.all([this.sendCommand("Profiler.setSamplingInterval",{interval:100}),this.sendCommand("Profiler.enable"),this.sendCommand("Profiler.start")])}sendCommand(e,t){if(this.hasSession()){return new Promise((n,s)=>{return this.session.post(e,t,(e,t)=>{if(e!==null){s(e)}else{n(t)}})})}else{return Promise.resolve()}}destroy(){if(this.hasSession()){this.session.disconnect()}return Promise.resolve()}stopProfiling(){return this.sendCommand("Profiler.stop")}}const u=(e,t)=>{const n=new s({noStream:true});const i=new Profiler(c);if(/\/|\\/.test(t)){const n=r(e,t);a(e,n)}const o=e.createWriteStream(t);let u=0;n.pipe(o);n.instantEvent({name:"TracingStartedInPage",id:++u,cat:["disabled-by-default-devtools.timeline"],args:{data:{sessionId:"-1",page:"0xfff",frames:[{frame:"0xfff",url:"webpack",name:""}]}}});n.instantEvent({name:"TracingStartedInBrowser",id:++u,cat:["disabled-by-default-devtools.timeline"],args:{data:{sessionId:"-1"}}});return{trace:n,counter:u,profiler:i,end:e=>{o.on("close",()=>{e()});n.push(null)}}};const l="ProfilingPlugin";class ProfilingPlugin{constructor(e={}){i(o,e,{name:"Profiling Plugin",baseDataPath:"options"});this.outputPath=e.outputPath||"events.json"}apply(e){const t=u(e.intermediateFileSystem,this.outputPath);t.profiler.startProfiling();Object.keys(e.hooks).forEach(n=>{e.hooks[n].intercept(f("Compiler",t)(n))});Object.keys(e.resolverFactory.hooks).forEach(n=>{e.resolverFactory.hooks[n].intercept(f("Resolver",t)(n))});e.hooks.compilation.tap(l,(e,{normalModuleFactory:n,contextModuleFactory:s})=>{d(e,t,"Compilation");d(n,t,"Normal Module Factory");d(s,t,"Context Module Factory");p(n,t);h(e,t)});e.hooks.done.tapAsync({name:l,stage:Infinity},(e,n)=>{t.profiler.stopProfiling().then(e=>{if(e===undefined){t.profiler.destroy();t.trace.flush();t.end(n);return}const s=e.profile.startTime;const i=e.profile.endTime;t.trace.completeEvent({name:"TaskQueueManager::ProcessTaskFromWorkQueue",id:++t.counter,cat:["toplevel"],ts:s,args:{src_file:"../../ipc/ipc_moji_bootstrap.cc",src_func:"Accept"}});t.trace.completeEvent({name:"EvaluateScript",id:++t.counter,cat:["devtools.timeline"],ts:s,dur:i-s,args:{data:{url:"webpack",lineNumber:1,columnNumber:1,frame:"0xFFF"}}});t.trace.instantEvent({name:"CpuProfile",id:++t.counter,cat:["disabled-by-default-devtools.timeline"],ts:i,args:{data:{cpuProfile:e.profile}}});t.profiler.destroy();t.trace.flush();t.end(n)})})}}const d=(e,t,n)=>{if(Reflect.has(e,"hooks")){Object.keys(e.hooks).forEach(s=>{const i=e.hooks[s];if(!i._fakeHook){i.intercept(f(n,t)(s))}})}};const p=(e,t)=>{const n=["javascript/auto","javascript/dynamic","javascript/esm","json","webassembly/async","webassembly/sync"];n.forEach(n=>{e.hooks.parser.for(n).tap("ProfilingPlugin",(e,n)=>{d(e,t,"Parser")})})};const h=(e,t)=>{d({hooks:n(89464).getCompilationHooks(e)},t,"JavascriptModulesPlugin")};const f=(e,t)=>e=>({register:({name:n,type:s,context:i,fn:o})=>{const r=m(e,t,{name:n,type:s,fn:o});return{name:n,type:s,context:i,fn:r}}});const m=(e,t,{name:n,type:s,fn:i})=>{const o=["blink.user_timing"];switch(s){case"promise":return(...e)=>{const s=++t.counter;t.trace.begin({name:n,id:s,cat:o});const r=i(...e);return r.then(e=>{t.trace.end({name:n,id:s,cat:o});return e})};case"async":return(...e)=>{const s=++t.counter;t.trace.begin({name:n,id:s,cat:o});const r=e.pop();i(...e,(...e)=>{t.trace.end({name:n,id:s,cat:o});r(...e)})};case"sync":return(...e)=>{const s=++t.counter;if(n===l){return i(...e)}t.trace.begin({name:n,id:s,cat:o});let r;try{r=i(...e)}catch(e){t.trace.end({name:n,id:s,cat:o});throw e}t.trace.end({name:n,id:s,cat:o});return r};default:break}};e.exports=ProfilingPlugin;e.exports.Profiler=Profiler},96816:(e,t,n)=>{"use strict";const s=n(16475);const i=n(33032);const o=n(31830);const r={f:{definition:"var __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_RESULT__ = (#).call(exports, __webpack_require__, exports, module),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[s.require,s.exports,s.module]},o:{definition:"",content:"!(module.exports = #)",requests:[s.module]},of:{definition:"var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_FACTORY__ = (#),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :\n\t\t__WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[s.require,s.exports,s.module]},af:{definition:"var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, __WEBPACK_AMD_DEFINE_RESULT__ = (#).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[s.exports,s.module]},ao:{definition:"",content:"!(#, module.exports = #)",requests:[s.module]},aof:{definition:"var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, __WEBPACK_AMD_DEFINE_FACTORY__ = (#),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[s.exports,s.module]},lf:{definition:"var XXX, XXXmodule;",content:"!(XXXmodule = { id: YYY, exports: {}, loaded: false }, XXX = #.call(XXXmodule.exports, __webpack_require__, XXXmodule.exports, XXXmodule), XXXmodule.loaded = true, XXX === undefined && (XXX = XXXmodule.exports))",requests:[s.require,s.module]},lo:{definition:"var XXX;",content:"!(XXX = #)",requests:[]},lof:{definition:"var XXX, XXXfactory, XXXmodule;",content:"!(XXXfactory = (#), (typeof XXXfactory === 'function' ? (XXXmodule = { id: YYY, exports: {}, loaded: false }), (XXX = XXXfactory.call(XXXmodule.exports, __webpack_require__, XXXmodule.exports, XXXmodule)), (XXXmodule.loaded = true), XXX === undefined && (XXX = XXXmodule.exports) : XXX = XXXfactory))",requests:[s.require,s.module]},laf:{definition:"var __WEBPACK_AMD_DEFINE_ARRAY__, XXX, XXXexports;",content:"!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, XXX = (#).apply(XXXexports = {}, __WEBPACK_AMD_DEFINE_ARRAY__), XXX === undefined && (XXX = XXXexports))",requests:[]},lao:{definition:"var XXX;",content:"!(#, XXX = #)",requests:[]},laof:{definition:"var XXXarray, XXXfactory, XXXexports, XXX;",content:`!(XXXarray = #, XXXfactory = (#),\n\t\t(typeof XXXfactory === 'function' ?\n\t\t\t((XXX = XXXfactory.apply(XXXexports = {}, XXXarray)), XXX === undefined && (XXX = XXXexports)) :\n\t\t\t(XXX = XXXfactory)\n\t\t))`,requests:[]}};class AMDDefineDependency extends o{constructor(e,t,n,s,i){super();this.range=e;this.arrayRange=t;this.functionRange=n;this.objectRange=s;this.namedModule=i;this.localModule=null}get type(){return"amd define"}serialize(e){const{write:t}=e;t(this.range);t(this.arrayRange);t(this.functionRange);t(this.objectRange);t(this.namedModule);t(this.localModule);super.serialize(e)}deserialize(e){const{read:t}=e;this.range=t();this.arrayRange=t();this.functionRange=t();this.objectRange=t();this.namedModule=t();this.localModule=t();super.deserialize(e)}}i(AMDDefineDependency,"webpack/lib/dependencies/AMDDefineDependency");AMDDefineDependency.Template=class AMDDefineDependencyTemplate extends o.Template{apply(e,t,{runtimeRequirements:n}){const s=e;const i=this.branch(s);const{definition:o,content:a,requests:c}=r[i];for(const e of c){n.add(e)}this.replace(s,t,o,a)}localModuleVar(e){return e.localModule&&e.localModule.used&&e.localModule.variableName()}branch(e){const t=this.localModuleVar(e)?"l":"";const n=e.arrayRange?"a":"";const s=e.objectRange?"o":"";const i=e.functionRange?"f":"";return t+n+s+i}replace(e,t,n,s){const i=this.localModuleVar(e);if(i){s=s.replace(/XXX/g,i.replace(/\$/g,"$$$$"));n=n.replace(/XXX/g,i.replace(/\$/g,"$$$$"))}if(e.namedModule){s=s.replace(/YYY/g,JSON.stringify(e.namedModule))}const o=s.split("#");if(n)t.insert(0,n);let r=e.range[0];if(e.arrayRange){t.replace(r,e.arrayRange[0]-1,o.shift());r=e.arrayRange[1]}if(e.objectRange){t.replace(r,e.objectRange[0]-1,o.shift());r=e.objectRange[1]}else if(e.functionRange){t.replace(r,e.functionRange[0]-1,o.shift());r=e.functionRange[1]}t.replace(r,e.range[1]-1,o.shift());if(o.length>0)throw new Error("Implementation error")}};e.exports=AMDDefineDependency},48519:(e,t,n)=>{"use strict";const s=n(16475);const i=n(96816);const o=n(33516);const r=n(96123);const a=n(71806);const c=n(76911);const u=n(99630);const l=n(32006);const d=n(52805);const{addLocalModule:p,getLocalModule:h}=n(75827);const f=e=>{if(e.type!=="CallExpression")return false;if(e.callee.type!=="MemberExpression")return false;if(e.callee.computed)return false;if(e.callee.object.type!=="FunctionExpression")return false;if(e.callee.property.type!=="Identifier")return false;if(e.callee.property.name!=="bind")return false;return true};const m=e=>{if(e.type==="FunctionExpression")return true;if(e.type==="ArrowFunctionExpression")return true;return false};const g=e=>{if(m(e))return true;if(f(e))return true;return false};class AMDDefineDependencyParserPlugin{constructor(e){this.options=e}apply(e){e.hooks.call.for("define").tap("AMDDefineDependencyParserPlugin",this.processCallDefine.bind(this,e))}processArray(e,t,n,s,i){if(n.isArray()){n.items.forEach((n,o)=>{if(n.isString()&&["require","module","exports"].includes(n.string))s[o]=n.string;const r=this.processItem(e,t,n,i);if(r===undefined){this.processContext(e,t,n)}});return true}else if(n.isConstArray()){const i=[];n.array.forEach((n,o)=>{let r;let a;if(n==="require"){s[o]=n;r="__webpack_require__"}else if(["exports","module"].includes(n)){s[o]=n;r=n}else if(a=h(e.state,n)){a.flagUsed();r=new d(a,undefined,false);r.loc=t.loc;e.state.module.addPresentationalDependency(r)}else{r=this.newRequireItemDependency(n);r.loc=t.loc;r.optional=!!e.scope.inTry;e.state.current.addDependency(r)}i.push(r)});const o=this.newRequireArrayDependency(i,n.range);o.loc=t.loc;o.optional=!!e.scope.inTry;e.state.module.addPresentationalDependency(o);return true}}processItem(e,t,n,i){if(n.isConditional()){n.options.forEach(n=>{const s=this.processItem(e,t,n);if(s===undefined){this.processContext(e,t,n)}});return true}else if(n.isString()){let o,r;if(n.string==="require"){o=new c("__webpack_require__",n.range,[s.require])}else if(n.string==="exports"){o=new c("exports",n.range,[s.exports])}else if(n.string==="module"){o=new c("module",n.range,[s.module])}else if(r=h(e.state,n.string,i)){r.flagUsed();o=new d(r,n.range,false)}else{o=this.newRequireItemDependency(n.string,n.range);o.optional=!!e.scope.inTry;e.state.current.addDependency(o);return true}o.loc=t.loc;e.state.module.addPresentationalDependency(o);return true}}processContext(e,t,n){const s=u.create(r,n.range,n,t,this.options,{category:"amd"},e);if(!s)return;s.loc=t.loc;s.optional=!!e.scope.inTry;e.state.current.addDependency(s);return true}processCallDefine(e,t){let n,s,i,o;switch(t.arguments.length){case 1:if(g(t.arguments[0])){s=t.arguments[0]}else if(t.arguments[0].type==="ObjectExpression"){i=t.arguments[0]}else{i=s=t.arguments[0]}break;case 2:if(t.arguments[0].type==="Literal"){o=t.arguments[0].value;if(g(t.arguments[1])){s=t.arguments[1]}else if(t.arguments[1].type==="ObjectExpression"){i=t.arguments[1]}else{i=s=t.arguments[1]}}else{n=t.arguments[0];if(g(t.arguments[1])){s=t.arguments[1]}else if(t.arguments[1].type==="ObjectExpression"){i=t.arguments[1]}else{i=s=t.arguments[1]}}break;case 3:o=t.arguments[0].value;n=t.arguments[1];if(g(t.arguments[2])){s=t.arguments[2]}else if(t.arguments[2].type==="ObjectExpression"){i=t.arguments[2]}else{i=s=t.arguments[2]}break;default:return}l.bailout(e.state);let r=null;let a=0;if(s){if(m(s)){r=s.params}else if(f(s)){r=s.callee.object.params;a=s.arguments.length-1;if(a<0){a=0}}}let c=new Map;if(n){const s={};const i=e.evaluateExpression(n);const u=this.processArray(e,t,i,s,o);if(!u)return;if(r){r=r.slice(a).filter((t,n)=>{if(s[n]){c.set(t.name,e.getVariableInfo(s[n]));return false}return true})}}else{const t=["require","exports","module"];if(r){r=r.slice(a).filter((n,s)=>{if(t[s]){c.set(n.name,e.getVariableInfo(t[s]));return false}return true})}}let u;if(s&&m(s)){u=e.scope.inTry;e.inScope(r,()=>{for(const[t,n]of c){e.setVariable(t,n)}e.scope.inTry=u;if(s.body.type==="BlockStatement"){e.walkStatement(s.body)}else{e.walkExpression(s.body)}})}else if(s&&f(s)){u=e.scope.inTry;e.inScope(s.callee.object.params.filter(e=>!["require","module","exports"].includes(e.name)),()=>{for(const[t,n]of c){e.setVariable(t,n)}e.scope.inTry=u;if(s.callee.object.body.type==="BlockStatement"){e.walkStatement(s.callee.object.body)}else{e.walkExpression(s.callee.object.body)}});if(s.arguments){e.walkExpressions(s.arguments)}}else if(s||i){e.walkExpression(s||i)}const d=this.newDefineDependency(t.range,n?n.range:null,s?s.range:null,i?i.range:null,o?o:null);d.loc=t.loc;if(o){d.localModule=p(e.state,o)}e.state.module.addPresentationalDependency(d);return true}newDefineDependency(e,t,n,s,o){return new i(e,t,n,s,o)}newRequireArrayDependency(e,t){return new o(e,t)}newRequireItemDependency(e,t){return new a(e,t)}}e.exports=AMDDefineDependencyParserPlugin},50067:(e,t,n)=>{"use strict";const s=n(16475);const{approve:i,evaluateToIdentifier:o,evaluateToString:r,toConstantDependency:a}=n(93998);const c=n(96816);const u=n(48519);const l=n(33516);const d=n(96123);const p=n(66866);const h=n(43911);const f=n(71806);const{AMDDefineRuntimeModule:m,AMDOptionsRuntimeModule:g}=n(45242);const y=n(76911);const v=n(52805);const b=n(51669);class AMDPlugin{constructor(e,t){this.options=e;this.amdOptions=t}apply(e){const t=this.options;const n=this.amdOptions;e.hooks.compilation.tap("AMDPlugin",(e,{contextModuleFactory:k,normalModuleFactory:w})=>{e.dependencyTemplates.set(h,new h.Template);e.dependencyFactories.set(f,w);e.dependencyTemplates.set(f,new f.Template);e.dependencyTemplates.set(l,new l.Template);e.dependencyFactories.set(d,k);e.dependencyTemplates.set(d,new d.Template);e.dependencyTemplates.set(c,new c.Template);e.dependencyTemplates.set(b,new b.Template);e.dependencyTemplates.set(v,new v.Template);e.hooks.runtimeRequirementInModule.for(s.amdDefine).tap("AMDPlugin",(e,t)=>{t.add(s.require)});e.hooks.runtimeRequirementInModule.for(s.amdOptions).tap("AMDPlugin",(e,t)=>{t.add(s.requireScope)});e.hooks.runtimeRequirementInTree.for(s.amdDefine).tap("AMDPlugin",(t,n)=>{e.addRuntimeModule(t,new m)});e.hooks.runtimeRequirementInTree.for(s.amdOptions).tap("AMDPlugin",(t,s)=>{e.addRuntimeModule(t,new g(n))});const x=(e,n)=>{if(n.amd!==undefined&&!n.amd)return;const c=(t,n,i)=>{e.hooks.expression.for(t).tap("AMDPlugin",a(e,s.amdOptions,[s.amdOptions]));e.hooks.evaluateIdentifier.for(t).tap("AMDPlugin",o(t,n,i,true));e.hooks.evaluateTypeof.for(t).tap("AMDPlugin",r("object"));e.hooks.typeof.for(t).tap("AMDPlugin",a(e,JSON.stringify("object")))};new p(t).apply(e);new u(t).apply(e);c("define.amd","define",()=>"amd");c("require.amd","require",()=>["amd"]);c("__webpack_amd_options__","__webpack_amd_options__",()=>[]);e.hooks.expression.for("define").tap("AMDPlugin",t=>{const n=new y(s.amdDefine,t.range,[s.amdDefine]);n.loc=t.loc;e.state.module.addPresentationalDependency(n);return true});e.hooks.typeof.for("define").tap("AMDPlugin",a(e,JSON.stringify("function")));e.hooks.evaluateTypeof.for("define").tap("AMDPlugin",r("function"));e.hooks.canRename.for("define").tap("AMDPlugin",i);e.hooks.rename.for("define").tap("AMDPlugin",t=>{const n=new y(s.amdDefine,t.range,[s.amdDefine]);n.loc=t.loc;e.state.module.addPresentationalDependency(n);return false});e.hooks.typeof.for("require").tap("AMDPlugin",a(e,JSON.stringify("function")));e.hooks.evaluateTypeof.for("require").tap("AMDPlugin",r("function"))};w.hooks.parser.for("javascript/auto").tap("AMDPlugin",x);w.hooks.parser.for("javascript/dynamic").tap("AMDPlugin",x)})}}e.exports=AMDPlugin},33516:(e,t,n)=>{"use strict";const s=n(5160);const i=n(33032);const o=n(31830);class AMDRequireArrayDependency extends o{constructor(e,t){super();this.depsArray=e;this.range=t}get type(){return"amd require array"}get category(){return"amd"}serialize(e){const{write:t}=e;t(this.depsArray);t(this.range);super.serialize(e)}deserialize(e){const{read:t}=e;this.depsArray=t();this.range=t();super.deserialize(e)}}i(AMDRequireArrayDependency,"webpack/lib/dependencies/AMDRequireArrayDependency");AMDRequireArrayDependency.Template=class AMDRequireArrayDependencyTemplate extends s{apply(e,t,n){const s=e;const i=this.getContent(s,n);t.replace(s.range[0],s.range[1]-1,i)}getContent(e,t){const n=e.depsArray.map(e=>{return this.contentForDependency(e,t)});return`[${n.join(", ")}]`}contentForDependency(e,{runtimeTemplate:t,moduleGraph:n,chunkGraph:s,runtimeRequirements:i}){if(typeof e==="string"){return e}if(e.localModule){return e.localModule.variableName()}else{return t.moduleExports({module:n.getModule(e),chunkGraph:s,request:e.request,runtimeRequirements:i})}}};e.exports=AMDRequireArrayDependency},96123:(e,t,n)=>{"use strict";const s=n(33032);const i=n(88101);class AMDRequireContextDependency extends i{constructor(e,t,n){super(e);this.range=t;this.valueRange=n}get type(){return"amd require context"}get category(){return"amd"}serialize(e){const{write:t}=e;t(this.range);t(this.valueRange);super.serialize(e)}deserialize(e){const{read:t}=e;this.range=t();this.valueRange=t();super.deserialize(e)}}s(AMDRequireContextDependency,"webpack/lib/dependencies/AMDRequireContextDependency");AMDRequireContextDependency.Template=n(75815);e.exports=AMDRequireContextDependency},76932:(e,t,n)=>{"use strict";const s=n(47736);const i=n(33032);class AMDRequireDependenciesBlock extends s{constructor(e,t){super(null,e,t)}}i(AMDRequireDependenciesBlock,"webpack/lib/dependencies/AMDRequireDependenciesBlock");e.exports=AMDRequireDependenciesBlock},66866:(e,t,n)=>{"use strict";const s=n(16475);const i=n(42495);const o=n(33516);const r=n(96123);const a=n(76932);const c=n(43911);const u=n(71806);const l=n(76911);const d=n(99630);const p=n(52805);const{getLocalModule:h}=n(75827);const f=n(51669);const m=n(50396);class AMDRequireDependenciesBlockParserPlugin{constructor(e){this.options=e}processFunctionArgument(e,t){let n=true;const s=m(t);if(s){e.inScope(s.fn.params.filter(e=>{return!["require","module","exports"].includes(e.name)}),()=>{if(s.fn.body.type==="BlockStatement"){e.walkStatement(s.fn.body)}else{e.walkExpression(s.fn.body)}});e.walkExpressions(s.expressions);if(s.needThis===false){n=false}}else{e.walkExpression(t)}return n}apply(e){e.hooks.call.for("require").tap("AMDRequireDependenciesBlockParserPlugin",this.processCallRequire.bind(this,e))}processArray(e,t,n){if(n.isArray()){for(const s of n.items){const n=this.processItem(e,t,s);if(n===undefined){this.processContext(e,t,s)}}return true}else if(n.isConstArray()){const s=[];for(const i of n.array){let n,o;if(i==="require"){n="__webpack_require__"}else if(["exports","module"].includes(i)){n=i}else if(o=h(e.state,i)){o.flagUsed();n=new p(o,undefined,false);n.loc=t.loc;e.state.module.addPresentationalDependency(n)}else{n=this.newRequireItemDependency(i);n.loc=t.loc;n.optional=!!e.scope.inTry;e.state.current.addDependency(n)}s.push(n)}const i=this.newRequireArrayDependency(s,n.range);i.loc=t.loc;i.optional=!!e.scope.inTry;e.state.module.addPresentationalDependency(i);return true}}processItem(e,t,n){if(n.isConditional()){for(const s of n.options){const n=this.processItem(e,t,s);if(n===undefined){this.processContext(e,t,s)}}return true}else if(n.isString()){let i,o;if(n.string==="require"){i=new l("__webpack_require__",n.string,[s.require])}else if(n.string==="module"){i=new l(e.state.module.buildInfo.moduleArgument,n.range,[s.module])}else if(n.string==="exports"){i=new l(e.state.module.buildInfo.exportsArgument,n.range,[s.exports])}else if(o=h(e.state,n.string)){o.flagUsed();i=new p(o,n.range,false)}else{i=this.newRequireItemDependency(n.string,n.range);i.loc=t.loc;i.optional=!!e.scope.inTry;e.state.current.addDependency(i);return true}i.loc=t.loc;e.state.module.addPresentationalDependency(i);return true}}processContext(e,t,n){const s=d.create(r,n.range,n,t,this.options,{category:"amd"},e);if(!s)return;s.loc=t.loc;s.optional=!!e.scope.inTry;e.state.current.addDependency(s);return true}processArrayForRequestString(e){if(e.isArray()){const t=e.items.map(e=>this.processItemForRequestString(e));if(t.every(Boolean))return t.join(" ")}else if(e.isConstArray()){return e.array.join(" ")}}processItemForRequestString(e){if(e.isConditional()){const t=e.options.map(e=>this.processItemForRequestString(e));if(t.every(Boolean))return t.join("|")}else if(e.isString()){return e.string}}processCallRequire(e,t){let n;let s;let o;let r;const a=e.state.current;if(t.arguments.length>=1){n=e.evaluateExpression(t.arguments[0]);s=this.newRequireDependenciesBlock(t.loc,this.processArrayForRequestString(n));o=this.newRequireDependency(t.range,n.range,t.arguments.length>1?t.arguments[1].range:null,t.arguments.length>2?t.arguments[2].range:null);o.loc=t.loc;s.addDependency(o);e.state.current=s}if(t.arguments.length===1){e.inScope([],()=>{r=this.processArray(e,t,n)});e.state.current=a;if(!r)return;e.state.current.addBlock(s);return true}if(t.arguments.length===2||t.arguments.length===3){try{e.inScope([],()=>{r=this.processArray(e,t,n)});if(!r){const n=new f("unsupported",t.range);a.addPresentationalDependency(n);if(e.state.module){e.state.module.addError(new i("Cannot statically analyse 'require(…, …)' in line "+t.loc.start.line,t.loc))}s=null;return true}o.functionBindThis=this.processFunctionArgument(e,t.arguments[1]);if(t.arguments.length===3){o.errorCallbackBindThis=this.processFunctionArgument(e,t.arguments[2])}}finally{e.state.current=a;if(s)e.state.current.addBlock(s)}return true}}newRequireDependenciesBlock(e,t){return new a(e,t)}newRequireDependency(e,t,n,s){return new c(e,t,n,s)}newRequireItemDependency(e,t){return new u(e,t)}newRequireArrayDependency(e,t){return new o(e,t)}}e.exports=AMDRequireDependenciesBlockParserPlugin},43911:(e,t,n)=>{"use strict";const s=n(16475);const i=n(33032);const o=n(31830);class AMDRequireDependency extends o{constructor(e,t,n,s){super();this.outerRange=e;this.arrayRange=t;this.functionRange=n;this.errorCallbackRange=s;this.functionBindThis=false;this.errorCallbackBindThis=false}get category(){return"amd"}serialize(e){const{write:t}=e;t(this.outerRange);t(this.arrayRange);t(this.functionRange);t(this.errorCallbackRange);t(this.functionBindThis);t(this.errorCallbackBindThis);super.serialize(e)}deserialize(e){const{read:t}=e;this.outerRange=t();this.arrayRange=t();this.functionRange=t();this.errorCallbackRange=t();this.functionBindThis=t();this.errorCallbackBindThis=t();super.deserialize(e)}}i(AMDRequireDependency,"webpack/lib/dependencies/AMDRequireDependency");AMDRequireDependency.Template=class AMDRequireDependencyTemplate extends o.Template{apply(e,t,{runtimeTemplate:n,moduleGraph:i,chunkGraph:o,runtimeRequirements:r}){const a=e;const c=i.getParentBlock(a);const u=n.blockPromise({chunkGraph:o,block:c,message:"AMD require",runtimeRequirements:r});if(a.arrayRange&&!a.functionRange){const e=`${u}.then(function() {`;const n=`;}).catch(${s.uncaughtErrorHandler})`;r.add(s.uncaughtErrorHandler);t.replace(a.outerRange[0],a.arrayRange[0]-1,e);t.replace(a.arrayRange[1],a.outerRange[1]-1,n);return}if(a.functionRange&&!a.arrayRange){const e=`${u}.then((`;const n=`).bind(exports, __webpack_require__, exports, module)).catch(${s.uncaughtErrorHandler})`;r.add(s.uncaughtErrorHandler);t.replace(a.outerRange[0],a.functionRange[0]-1,e);t.replace(a.functionRange[1],a.outerRange[1]-1,n);return}if(a.arrayRange&&a.functionRange&&a.errorCallbackRange){const e=`${u}.then(function() { `;const n=`}${a.functionBindThis?".bind(this)":""}).catch(`;const s=`${a.errorCallbackBindThis?".bind(this)":""})`;t.replace(a.outerRange[0],a.arrayRange[0]-1,e);t.insert(a.arrayRange[0]+.9,"var __WEBPACK_AMD_REQUIRE_ARRAY__ = ");t.replace(a.arrayRange[1],a.functionRange[0]-1,"; (");t.insert(a.functionRange[1],").apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);");t.replace(a.functionRange[1],a.errorCallbackRange[0]-1,n);t.replace(a.errorCallbackRange[1],a.outerRange[1]-1,s);return}if(a.arrayRange&&a.functionRange){const e=`${u}.then(function() { `;const n=`}${a.functionBindThis?".bind(this)":""}).catch(${s.uncaughtErrorHandler})`;r.add(s.uncaughtErrorHandler);t.replace(a.outerRange[0],a.arrayRange[0]-1,e);t.insert(a.arrayRange[0]+.9,"var __WEBPACK_AMD_REQUIRE_ARRAY__ = ");t.replace(a.arrayRange[1],a.functionRange[0]-1,"; (");t.insert(a.functionRange[1],").apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);");t.replace(a.functionRange[1],a.outerRange[1]-1,n)}}};e.exports=AMDRequireDependency},71806:(e,t,n)=>{"use strict";const s=n(33032);const i=n(80321);const o=n(36873);class AMDRequireItemDependency extends i{constructor(e,t){super(e);this.range=t}get type(){return"amd require"}get category(){return"amd"}}s(AMDRequireItemDependency,"webpack/lib/dependencies/AMDRequireItemDependency");AMDRequireItemDependency.Template=o;e.exports=AMDRequireItemDependency},45242:(e,t,n)=>{"use strict";const s=n(16475);const i=n(16963);const o=n(1626);class AMDDefineRuntimeModule extends i{constructor(){super("amd define")}generate(){return o.asString([`${s.amdDefine} = function () {`,o.indent("throw new Error('define cannot be used indirect');"),"};"])}}class AMDOptionsRuntimeModule extends i{constructor(e){super("amd options");this.options=e}generate(){return o.asString([`${s.amdOptions} = ${JSON.stringify(this.options)};`])}}t.AMDDefineRuntimeModule=AMDDefineRuntimeModule;t.AMDOptionsRuntimeModule=AMDOptionsRuntimeModule},57403:(e,t,n)=>{"use strict";const s=n(5160);const i=n(55870);const o=n(33032);const r=n(31830);class CachedConstDependency extends r{constructor(e,t,n){super();this.expression=e;this.range=t;this.identifier=n}updateHash(e,t){e.update(this.identifier+"");e.update(this.range+"");e.update(this.expression+"")}serialize(e){const{write:t}=e;t(this.expression);t(this.range);t(this.identifier);super.serialize(e)}deserialize(e){const{read:t}=e;this.expression=t();this.range=t();this.identifier=t();super.deserialize(e)}}o(CachedConstDependency,"webpack/lib/dependencies/CachedConstDependency");CachedConstDependency.Template=class CachedConstDependencyTemplate extends s{apply(e,t,{runtimeTemplate:n,dependencyTemplates:s,initFragments:o}){const r=e;o.push(new i(`var ${r.identifier} = ${r.expression};\n`,i.STAGE_CONSTANTS,0,`const ${r.identifier}`));if(typeof r.range==="number"){t.insert(r.range,r.identifier);return}t.replace(r.range[0],r.range[1]-1,r.identifier)}};e.exports=CachedConstDependency},59643:(e,t,n)=>{"use strict";const s=n(16475);t.handleDependencyBase=((e,t,n)=>{let i=undefined;let o;switch(e){case"exports":n.add(s.exports);i=t.exportsArgument;o="expression";break;case"module.exports":n.add(s.module);i=`${t.moduleArgument}.exports`;o="expression";break;case"this":n.add(s.thisAsExports);i="this";o="expression";break;case"Object.defineProperty(exports)":n.add(s.exports);i=t.exportsArgument;o="Object.defineProperty";break;case"Object.defineProperty(module.exports)":n.add(s.module);i=`${t.moduleArgument}.exports`;o="Object.defineProperty";break;case"Object.defineProperty(this)":n.add(s.thisAsExports);i="this";o="Object.defineProperty";break;default:throw new Error(`Unsupported base ${e}`)}return[o,i]})},62892:(e,t,n)=>{"use strict";const s=n(54912);const{UsageState:i}=n(63686);const o=n(1626);const{equals:r}=n(84953);const a=n(33032);const c=n(54190);const{handleDependencyBase:u}=n(59643);const l=n(80321);const d=n(55207);const p=Symbol("CommonJsExportRequireDependency.ids");const h={};class CommonJsExportRequireDependency extends l{constructor(e,t,n,s,i,o,r){super(i);this.range=e;this.valueRange=t;this.base=n;this.names=s;this.ids=o;this.resultUsed=r;this.asiSafe=undefined}get type(){return"cjs export require"}getIds(e){return e.getMeta(this)[p]||this.ids}setIds(e,t){e.getMeta(this)[p]=t}getReferencedExports(e,t){const n=this.getIds(e);const o=()=>{if(n.length===0){return s.EXPORTS_OBJECT_REFERENCED}else{return[{name:n,canMangle:false}]}};if(this.resultUsed)return o();let r=e.getExportsInfo(e.getParentModule(this));for(const e of this.names){const n=r.getReadOnlyExportInfo(e);const a=n.getUsed(t);if(a===i.Unused)return s.NO_EXPORTS_REFERENCED;if(a!==i.OnlyPropertiesUsed)return o();r=n.exportsInfo;if(!r)return o()}if(r.otherExportsInfo.getUsed(t)!==i.Unused){return o()}const a=[];for(const e of r.orderedExports){d(t,a,n.concat(e.name),e,false)}return a.map(e=>({name:e,canMangle:false}))}getExports(e){const t=this.getIds(e);if(this.names.length===1){const n=this.names[0];const s=e.getConnection(this);if(!s)return;return{exports:[{name:n,from:s,export:t.length===0?null:t,canMangle:!(n in h)&&false}],dependencies:[s.module]}}else if(this.names.length>0){const e=this.names[0];return{exports:[{name:e,canMangle:!(e in h)&&false}],dependencies:undefined}}else{const n=e.getConnection(this);if(!n)return;const s=this.getStarReexports(e,undefined,n.module);if(s){return{exports:Array.from(s.exports,e=>{return{name:e,from:n,export:t.concat(e),canMangle:!(e in h)&&false}}),dependencies:[n.module]}}else{return{exports:true,from:t.length===0?n:undefined,canMangle:false,dependencies:[n.module]}}}}getStarReexports(e,t,n=e.getModule(this)){let s=e.getExportsInfo(n);const o=this.getIds(e);if(o.length>0)s=s.getNestedExportsInfo(o);let r=e.getExportsInfo(e.getParentModule(this));if(this.names.length>0)r=r.getNestedExportsInfo(this.names);const a=s&&s.otherExportsInfo.provided===false;const c=r&&r.otherExportsInfo.getUsed(t)===i.Unused;if(!a&&!c){return}const u=n.getExportsType(e,false)==="namespace";const l=new Set;const d=new Set;if(c){for(const e of r.orderedExports){const n=e.name;if(e.getUsed(t)===i.Unused)continue;if(n==="__esModule"&&u){l.add(n)}else if(s){const e=s.getReadOnlyExportInfo(n);if(e.provided===false)continue;l.add(n);if(e.provided===true)continue;d.add(n)}else{l.add(n);d.add(n)}}}else if(a){for(const e of s.orderedExports){const n=e.name;if(e.provided===false)continue;if(r){const e=r.getReadOnlyExportInfo(n);if(e.getUsed(t)===i.Unused)continue}l.add(n);if(e.provided===true)continue;d.add(n)}if(u){l.add("__esModule");d.delete("__esModule")}}return{exports:l,checked:d}}serialize(e){const{write:t}=e;t(this.asiSafe);t(this.range);t(this.valueRange);t(this.base);t(this.names);t(this.ids);t(this.resultUsed);super.serialize(e)}deserialize(e){const{read:t}=e;this.asiSafe=t();this.range=t();this.valueRange=t();this.base=t();this.names=t();this.ids=t();this.resultUsed=t();super.deserialize(e)}}a(CommonJsExportRequireDependency,"webpack/lib/dependencies/CommonJsExportRequireDependency");CommonJsExportRequireDependency.Template=class CommonJsExportRequireDependencyTemplate extends l.Template{apply(e,t,{module:n,runtimeTemplate:s,chunkGraph:i,moduleGraph:a,runtimeRequirements:l,runtime:d}){const p=e;const h=a.getExportsInfo(n).getUsedName(p.names,d);const[f,m]=u(p.base,n,l);const g=a.getModule(p);let y=s.moduleExports({module:g,chunkGraph:i,request:p.request,weak:p.weak,runtimeRequirements:l});const v=p.getIds(a);const b=a.getExportsInfo(g).getUsedName(v,d);if(b){const e=r(b,v)?"":o.toNormalComment(c(v))+" ";y+=`${e}${c(b)}`}switch(f){case"expression":t.replace(p.range[0],p.range[1]-1,h?`${m}${c(h)} = ${y}`:`/* unused reexport */ ${y}`);return;case"Object.defineProperty":throw new Error("TODO");default:throw new Error("Unexpected type")}}};e.exports=CommonJsExportRequireDependency},45598:(e,t,n)=>{"use strict";const s=n(55870);const i=n(33032);const o=n(54190);const{handleDependencyBase:r}=n(59643);const a=n(31830);const c={};class CommonJsExportsDependency extends a{constructor(e,t,n,s){super();this.range=e;this.valueRange=t;this.base=n;this.names=s}get type(){return"cjs exports"}getExports(e){const t=this.names[0];return{exports:[{name:t,canMangle:!(t in c)}],dependencies:undefined}}serialize(e){const{write:t}=e;t(this.range);t(this.valueRange);t(this.base);t(this.names);super.serialize(e)}deserialize(e){const{read:t}=e;this.range=t();this.valueRange=t();this.base=t();this.names=t();super.deserialize(e)}}i(CommonJsExportsDependency,"webpack/lib/dependencies/CommonJsExportsDependency");CommonJsExportsDependency.Template=class CommonJsExportsDependencyTemplate extends a.Template{apply(e,t,{module:n,moduleGraph:i,initFragments:a,runtimeRequirements:c,runtime:u}){const l=e;const d=i.getExportsInfo(n).getUsedName(l.names,u);const[p,h]=r(l.base,n,c);switch(p){case"expression":if(!d){a.push(new s("var __webpack_unused_export__;\n",s.STAGE_CONSTANTS,0,"__webpack_unused_export__"));t.replace(l.range[0],l.range[1]-1,"__webpack_unused_export__");return}t.replace(l.range[0],l.range[1]-1,`${h}${o(d)}`);return;case"Object.defineProperty":if(!d){a.push(new s("var __webpack_unused_export__;\n",s.STAGE_CONSTANTS,0,"__webpack_unused_export__"));t.replace(l.range[0],l.valueRange[0]-1,"__webpack_unused_export__ = (");t.replace(l.valueRange[1],l.range[1]-1,")");return}t.replace(l.range[0],l.valueRange[0]-1,`Object.defineProperty(${h}${o(d.slice(0,-1))}, ${JSON.stringify(d[d.length-1])}, (`);t.replace(l.valueRange[1],l.range[1]-1,"))");return}}};e.exports=CommonJsExportsDependency},97107:(e,t,n)=>{"use strict";const s=n(16475);const i=n(16734);const{evaluateToString:o}=n(93998);const r=n(54190);const a=n(62892);const c=n(45598);const u=n(52225);const l=n(32006);const d=n(39211);const p=n(88488);const h=e=>{if(e.type!=="ObjectExpression")return;for(const t of e.properties){if(t.computed)continue;const e=t.key;if(e.type!=="Identifier"||e.name!=="value")continue;return t.value}};const f=e=>{switch(e.type){case"Literal":return!!e.value;case"UnaryExpression":if(e.operator==="!")return m(e.argument)}return false};const m=e=>{switch(e.type){case"Literal":return!e.value;case"UnaryExpression":if(e.operator==="!")return f(e.argument)}return false};const g=(e,t)=>{const n=[];while(t.type==="MemberExpression"){if(t.object.type==="Super")return;if(!t.property)return;const e=t.property;if(t.computed){if(e.type!=="Literal")return;n.push(`${e.value}`)}else{if(e.type!=="Identifier")return;n.push(e.name)}t=t.object}if(t.type!=="CallExpression"||t.arguments.length!==1)return;const s=t.callee;if(s.type!=="Identifier"||e.getVariableInfo(s.name)!=="require"){return}const i=t.arguments[0];if(i.type==="SpreadElement")return;const o=e.evaluateExpression(i);return{argument:o,ids:n.reverse()}};class CommonJsExportsParserPlugin{constructor(e){this.moduleGraph=e}apply(e){const t=()=>{l.enable(e.state)};const n=(t,n,s)=>{if(!l.isEnabled(e.state))return;if(n.length>0&&n[0]==="__esModule"){if(s&&f(s)&&t){l.setFlagged(e.state)}else{l.setDynamic(e.state)}}};const m=t=>{l.bailout(e.state);if(t)y(t)};const y=t=>{this.moduleGraph.getOptimizationBailout(e.state.module).push(`CommonJS bailout: ${t}`)};e.hooks.evaluateTypeof.for("module").tap("CommonJsExportsParserPlugin",o("object"));e.hooks.evaluateTypeof.for("exports").tap("CommonJsPlugin",o("object"));const v=(s,i,o)=>{if(d.isEnabled(e.state))return;const r=g(e,s.right);if(r&&r.argument.isString()&&(o.length===0||o[0]!=="__esModule")){t();if(o.length===0)l.setDynamic(e.state);const n=new a(s.range,null,i,o,r.argument.string,r.ids,!e.isStatementLevelExpression(s));n.loc=s.loc;n.optional=!!e.scope.inTry;e.state.module.addDependency(n);return true}if(o.length===0)return;t();const u=o;n(e.statementPath.length===1&&e.isStatementLevelExpression(s),u,s.right);const p=new c(s.left.range,null,i,u);p.loc=s.loc;e.state.module.addDependency(p);e.walkExpression(s.right);return true};e.hooks.assignMemberChain.for("exports").tap("CommonJsExportsParserPlugin",(e,t)=>{return v(e,"exports",t)});e.hooks.assignMemberChain.for("this").tap("CommonJsExportsParserPlugin",(t,n)=>{if(!e.scope.topLevelScope)return;return v(t,"this",n)});e.hooks.assignMemberChain.for("module").tap("CommonJsExportsParserPlugin",(e,t)=>{if(t[0]!=="exports")return;return v(e,"module.exports",t.slice(1))});e.hooks.call.for("Object.defineProperty").tap("CommonJsExportsParserPlugin",s=>{const i=s;if(!e.isStatementLevelExpression(i))return;if(i.arguments.length!==3)return;if(i.arguments[0].type==="SpreadElement")return;if(i.arguments[1].type==="SpreadElement")return;if(i.arguments[2].type==="SpreadElement")return;const o=e.evaluateExpression(i.arguments[0]);if(!o||!o.isIdentifier())return;if(o.identifier!=="exports"&&o.identifier!=="module.exports"&&(o.identifier!=="this"||!e.scope.topLevelScope)){return}const r=e.evaluateExpression(i.arguments[1]);if(!r)return;const a=r.asString();if(typeof a!=="string")return;t();const u=i.arguments[2];n(e.statementPath.length===1,[a],h(u));const l=new c(i.range,i.arguments[2].range,`Object.defineProperty(${o.identifier})`,[a]);l.loc=i.loc;e.state.module.addDependency(l);e.walkExpression(i.arguments[2]);return true});const b=(t,n,s,o=undefined)=>{if(d.isEnabled(e.state))return;if(s.length===0){m(`${n} is used directly at ${i(t.loc)}`)}if(o&&s.length===1){y(`${n}${r(s)}(...) prevents optimization as ${n} is passed as call context at ${i(t.loc)}`)}const a=new u(t.range,n,s,!!o);a.loc=t.loc;e.state.module.addDependency(a);if(o){e.walkExpressions(o.arguments)}return true};e.hooks.callMemberChain.for("exports").tap("CommonJsExportsParserPlugin",(e,t)=>{return b(e.callee,"exports",t,e)});e.hooks.expressionMemberChain.for("exports").tap("CommonJsExportsParserPlugin",(e,t)=>{return b(e,"exports",t)});e.hooks.expression.for("exports").tap("CommonJsExportsParserPlugin",e=>{return b(e,"exports",[])});e.hooks.callMemberChain.for("module").tap("CommonJsExportsParserPlugin",(e,t)=>{if(t[0]!=="exports")return;return b(e.callee,"module.exports",t.slice(1),e)});e.hooks.expressionMemberChain.for("module").tap("CommonJsExportsParserPlugin",(e,t)=>{if(t[0]!=="exports")return;return b(e,"module.exports",t.slice(1))});e.hooks.expression.for("module.exports").tap("CommonJsExportsParserPlugin",e=>{return b(e,"module.exports",[])});e.hooks.callMemberChain.for("this").tap("CommonJsExportsParserPlugin",(t,n)=>{if(!e.scope.topLevelScope)return;return b(t.callee,"this",n,t)});e.hooks.expressionMemberChain.for("this").tap("CommonJsExportsParserPlugin",(t,n)=>{if(!e.scope.topLevelScope)return;return b(t,"this",n)});e.hooks.expression.for("this").tap("CommonJsExportsParserPlugin",t=>{if(!e.scope.topLevelScope)return;return b(t,"this",[])});e.hooks.expression.for("module").tap("CommonJsPlugin",t=>{m();const n=d.isEnabled(e.state);const i=new p(n?s.harmonyModuleDecorator:s.nodeModuleDecorator,!n);i.loc=t.loc;e.state.module.addDependency(i);return true})}}e.exports=CommonJsExportsParserPlugin},59440:(e,t,n)=>{"use strict";const s=n(1626);const{equals:i}=n(84953);const o=n(33032);const r=n(54190);const a=n(80321);class CommonJsFullRequireDependency extends a{constructor(e,t,n){super(e);this.range=t;this.names=n;this.call=false;this.asiSafe=undefined}getReferencedExports(e,t){if(this.call){const t=e.getModule(this);if(!t||t.getExportsType(e,false)!=="namespace"){return[this.names.slice(0,-1)]}}return[this.names]}serialize(e){const{write:t}=e;t(this.names);t(this.call);t(this.asiSafe);super.serialize(e)}deserialize(e){const{read:t}=e;this.names=t();this.call=t();this.asiSafe=t();super.deserialize(e)}get type(){return"cjs full require"}get category(){return"commonjs"}}CommonJsFullRequireDependency.Template=class CommonJsFullRequireDependencyTemplate extends a.Template{apply(e,t,{module:n,runtimeTemplate:o,moduleGraph:a,chunkGraph:c,runtimeRequirements:u,runtime:l,initFragments:d}){const p=e;if(!p.range)return;const h=a.getModule(p);let f=o.moduleExports({module:h,chunkGraph:c,request:p.request,weak:p.weak,runtimeRequirements:u});const m=p.names;const g=a.getExportsInfo(h).getUsedName(m,l);if(g){const e=i(g,m)?"":s.toNormalComment(r(m))+" ";f+=`${e}${r(g)}`}t.replace(p.range[0],p.range[1]-1,f)}};o(CommonJsFullRequireDependency,"webpack/lib/dependencies/CommonJsFullRequireDependency");e.exports=CommonJsFullRequireDependency},36013:(e,t,n)=>{"use strict";const s=n(16475);const{evaluateToIdentifier:i,evaluateToString:o,expressionIsUnsupported:r,toConstantDependency:a}=n(93998);const c=n(59440);const u=n(23962);const l=n(21264);const d=n(76911);const p=n(99630);const h=n(52805);const{getLocalModule:f}=n(75827);const m=n(89183);const g=n(55627);const y=n(68582);const v=n(9880);class CommonJsImportsParserPlugin{constructor(e){this.options=e}apply(e){const t=this.options;const n=(t,n)=>{e.hooks.typeof.for(t).tap("CommonJsPlugin",a(e,JSON.stringify("function")));e.hooks.evaluateTypeof.for(t).tap("CommonJsPlugin",o("function"));e.hooks.evaluateIdentifier.for(t).tap("CommonJsPlugin",i(t,"require",n,true))};n("require",()=>[]);n("require.resolve",()=>["resolve"]);n("require.resolveWeak",()=>["resolveWeak"]);e.hooks.assign.for("require").tap("CommonJsPlugin",t=>{const n=new d("var require;",0);n.loc=t.loc;e.state.module.addPresentationalDependency(n);return true});e.hooks.expression.for("require.main.require").tap("CommonJsPlugin",r(e,"require.main.require is not supported by webpack."));e.hooks.call.for("require.main.require").tap("CommonJsPlugin",r(e,"require.main.require is not supported by webpack."));e.hooks.expression.for("module.parent.require").tap("CommonJsPlugin",r(e,"module.parent.require is not supported by webpack."));e.hooks.call.for("module.parent.require").tap("CommonJsPlugin",r(e,"module.parent.require is not supported by webpack."));e.hooks.canRename.for("require").tap("CommonJsPlugin",()=>true);e.hooks.rename.for("require").tap("CommonJsPlugin",t=>{const n=new d("undefined",t.range);n.loc=t.loc;e.state.module.addPresentationalDependency(n);return false});e.hooks.expression.for("require.cache").tap("CommonJsImportsParserPlugin",a(e,s.moduleCache,[s.moduleCache,s.moduleId,s.moduleLoaded]));e.hooks.expression.for("require").tap("CommonJsImportsParserPlugin",n=>{const s=new u({request:t.unknownContextRequest,recursive:t.unknownContextRecursive,regExp:t.unknownContextRegExp,mode:"sync"},n.range);s.critical=t.unknownContextCritical&&"require function is used in a way in which dependencies cannot be statically extracted";s.loc=n.loc;s.optional=!!e.scope.inTry;e.state.current.addDependency(s);return true});const b=(t,n)=>{if(n.isString()){const s=new l(n.string,n.range);s.loc=t.loc;s.optional=!!e.scope.inTry;e.state.current.addDependency(s);return true}};const k=(n,s)=>{const i=p.create(u,n.range,s,n,t,{category:"commonjs"},e);if(!i)return;i.loc=n.loc;i.optional=!!e.scope.inTry;e.state.current.addDependency(i);return true};const w=t=>n=>{if(n.arguments.length!==1)return;let s;const i=e.evaluateExpression(n.arguments[0]);if(i.isConditional()){let t=false;for(const e of i.options){const s=b(n,e);if(s===undefined){t=true}}if(!t){const t=new m(n.callee.range);t.loc=n.loc;e.state.module.addPresentationalDependency(t);return true}}if(i.isString()&&(s=f(e.state,i.string))){s.flagUsed();const i=new h(s,n.range,t);i.loc=n.loc;e.state.module.addPresentationalDependency(i);return true}else{const t=b(n,i);if(t===undefined){k(n,i)}else{const t=new m(n.callee.range);t.loc=n.loc;e.state.module.addPresentationalDependency(t)}return true}};e.hooks.call.for("require").tap("CommonJsImportsParserPlugin",w(false));e.hooks.new.for("require").tap("CommonJsImportsParserPlugin",w(true));e.hooks.call.for("module.require").tap("CommonJsImportsParserPlugin",w(false));e.hooks.new.for("module.require").tap("CommonJsImportsParserPlugin",w(true));const x=(t,n,s,i)=>{if(s.arguments.length!==1)return;const o=e.evaluateExpression(s.arguments[0]);if(o.isString()&&!f(e.state,o.string)){const n=new c(o.string,t.range,i);n.asiSafe=!e.isAsiPosition(t.range[0]);n.optional=!!e.scope.inTry;n.loc=t.loc;e.state.module.addDependency(n);return true}};const C=(t,n,s,i)=>{if(s.arguments.length!==1)return;const o=e.evaluateExpression(s.arguments[0]);if(o.isString()&&!f(e.state,o.string)){const n=new c(o.string,t.callee.range,i);n.call=true;n.asiSafe=!e.isAsiPosition(t.range[0]);n.optional=!!e.scope.inTry;n.loc=t.callee.loc;e.state.module.addDependency(n);e.walkExpressions(t.arguments);return true}};e.hooks.memberChainOfCallMemberChain.for("require").tap("CommonJsImportsParserPlugin",x);e.hooks.memberChainOfCallMemberChain.for("module.require").tap("CommonJsImportsParserPlugin",x);e.hooks.callMemberChainOfCallMemberChain.for("require").tap("CommonJsImportsParserPlugin",C);e.hooks.callMemberChainOfCallMemberChain.for("module.require").tap("CommonJsImportsParserPlugin",C);const M=(t,n)=>{if(t.arguments.length!==1)return;const s=e.evaluateExpression(t.arguments[0]);if(s.isConditional()){for(const e of s.options){const s=S(t,e,n);if(s===undefined){O(t,e,n)}}const i=new v(t.callee.range);i.loc=t.loc;e.state.module.addPresentationalDependency(i);return true}else{const i=S(t,s,n);if(i===undefined){O(t,s,n)}const o=new v(t.callee.range);o.loc=t.loc;e.state.module.addPresentationalDependency(o);return true}};const S=(t,n,s)=>{if(n.isString()){const i=new y(n.string,n.range);i.loc=t.loc;i.optional=!!e.scope.inTry;i.weak=s;e.state.current.addDependency(i);return true}};const O=(n,s,i)=>{const o=p.create(g,s.range,s,n,t,{category:"commonjs",mode:i?"weak":"sync"},e);if(!o)return;o.loc=n.loc;o.optional=!!e.scope.inTry;e.state.current.addDependency(o);return true};e.hooks.call.for("require.resolve").tap("RequireResolveDependencyParserPlugin",e=>{return M(e,false)});e.hooks.call.for("require.resolveWeak").tap("RequireResolveDependencyParserPlugin",e=>{return M(e,true)})}}e.exports=CommonJsImportsParserPlugin},32406:(e,t,n)=>{"use strict";const s=n(16475);const i=n(16963);const o=n(63560);const r=n(1626);const a=n(45598);const c=n(59440);const u=n(23962);const l=n(21264);const d=n(52225);const p=n(88488);const h=n(89183);const f=n(55627);const m=n(68582);const g=n(9880);const y=n(24187);const v=n(97107);const b=n(36013);const{evaluateToIdentifier:k,toConstantDependency:w}=n(93998);const x=n(62892);class CommonJsPlugin{constructor(e){this.options=e}apply(e){const t=this.options;e.hooks.compilation.tap("CommonJsPlugin",(e,{contextModuleFactory:n,normalModuleFactory:i})=>{e.dependencyFactories.set(l,i);e.dependencyTemplates.set(l,new l.Template);e.dependencyFactories.set(c,i);e.dependencyTemplates.set(c,new c.Template);e.dependencyFactories.set(u,n);e.dependencyTemplates.set(u,new u.Template);e.dependencyFactories.set(m,i);e.dependencyTemplates.set(m,new m.Template);e.dependencyFactories.set(f,n);e.dependencyTemplates.set(f,new f.Template);e.dependencyTemplates.set(g,new g.Template);e.dependencyTemplates.set(h,new h.Template);e.dependencyTemplates.set(a,new a.Template);e.dependencyFactories.set(x,i);e.dependencyTemplates.set(x,new x.Template);const r=new o(e.moduleGraph);e.dependencyFactories.set(d,r);e.dependencyTemplates.set(d,new d.Template);e.dependencyFactories.set(p,r);e.dependencyTemplates.set(p,new p.Template);e.hooks.runtimeRequirementInModule.for(s.harmonyModuleDecorator).tap("CommonJsPlugin",(e,t)=>{t.add(s.module);t.add(s.requireScope)});e.hooks.runtimeRequirementInModule.for(s.nodeModuleDecorator).tap("CommonJsPlugin",(e,t)=>{t.add(s.module);t.add(s.requireScope)});e.hooks.runtimeRequirementInTree.for(s.harmonyModuleDecorator).tap("CommonJsPlugin",(t,n)=>{e.addRuntimeModule(t,new HarmonyModuleDecoratorRuntimeModule)});e.hooks.runtimeRequirementInTree.for(s.nodeModuleDecorator).tap("CommonJsPlugin",(t,n)=>{e.addRuntimeModule(t,new NodeModuleDecoratorRuntimeModule)});const C=(n,i)=>{if(i.commonjs!==undefined&&!i.commonjs)return;n.hooks.typeof.for("module").tap("CommonJsPlugin",w(n,JSON.stringify("object")));n.hooks.expression.for("require.main").tap("CommonJsPlugin",w(n,`${s.moduleCache}[${s.entryModuleId}]`,[s.moduleCache,s.entryModuleId]));n.hooks.expression.for("module.loaded").tap("CommonJsPlugin",e=>{n.state.module.buildInfo.moduleConcatenationBailout="module.loaded";const t=new y([s.moduleLoaded]);t.loc=e.loc;n.state.module.addPresentationalDependency(t);return true});n.hooks.expression.for("module.id").tap("CommonJsPlugin",e=>{n.state.module.buildInfo.moduleConcatenationBailout="module.id";const t=new y([s.moduleId]);t.loc=e.loc;n.state.module.addPresentationalDependency(t);return true});n.hooks.evaluateIdentifier.for("module.hot").tap("CommonJsPlugin",k("module.hot","module",()=>["hot"],null));new b(t).apply(n);new v(e.moduleGraph).apply(n)};i.hooks.parser.for("javascript/auto").tap("CommonJsPlugin",C);i.hooks.parser.for("javascript/dynamic").tap("CommonJsPlugin",C)})}}class HarmonyModuleDecoratorRuntimeModule extends i{constructor(){super("harmony module decorator")}generate(){const{runtimeTemplate:e}=this.compilation;return r.asString([`${s.harmonyModuleDecorator} = ${e.basicFunction("module",["module = Object.create(module);","if (!module.children) module.children = [];","Object.defineProperty(module, 'exports', {",r.indent(["enumerable: true,",`set: ${e.basicFunction("",["throw new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);"])}`]),"});","return module;"])};`])}}class NodeModuleDecoratorRuntimeModule extends i{constructor(){super("node module decorator")}generate(){const{runtimeTemplate:e}=this.compilation;return r.asString([`${s.nodeModuleDecorator} = ${e.basicFunction("module",["module.paths = [];","if (!module.children) module.children = [];","return module;"])};`])}}e.exports=CommonJsPlugin},23962:(e,t,n)=>{"use strict";const s=n(33032);const i=n(88101);const o=n(75815);class CommonJsRequireContextDependency extends i{constructor(e,t,n){super(e);this.range=t;this.valueRange=n}get type(){return"cjs require context"}serialize(e){const{write:t}=e;t(this.range);t(this.valueRange);super.serialize(e)}deserialize(e){const{read:t}=e;this.range=t();this.valueRange=t();super.deserialize(e)}}s(CommonJsRequireContextDependency,"webpack/lib/dependencies/CommonJsRequireContextDependency");CommonJsRequireContextDependency.Template=o;e.exports=CommonJsRequireContextDependency},21264:(e,t,n)=>{"use strict";const s=n(33032);const i=n(80321);const o=n(80825);class CommonJsRequireDependency extends i{constructor(e,t){super(e);this.range=t}get type(){return"cjs require"}get category(){return"commonjs"}}CommonJsRequireDependency.Template=o;s(CommonJsRequireDependency,"webpack/lib/dependencies/CommonJsRequireDependency");e.exports=CommonJsRequireDependency},52225:(e,t,n)=>{"use strict";const s=n(16475);const{equals:i}=n(84953);const o=n(33032);const r=n(54190);const a=n(31830);class CommonJsSelfReferenceDependency extends a{constructor(e,t,n,s){super();this.range=e;this.base=t;this.names=n;this.call=s}get type(){return"cjs self exports reference"}get category(){return"self"}getResourceIdentifier(){return`self`}getReferencedExports(e,t){return[this.call?this.names.slice(0,-1):this.names]}serialize(e){const{write:t}=e;t(this.range);t(this.base);t(this.names);t(this.call);super.serialize(e)}deserialize(e){const{read:t}=e;this.range=t();this.base=t();this.names=t();this.call=t();super.deserialize(e)}}o(CommonJsSelfReferenceDependency,"webpack/lib/dependencies/CommonJsSelfReferenceDependency");CommonJsSelfReferenceDependency.Template=class CommonJsSelfReferenceDependencyTemplate extends a.Template{apply(e,t,{module:n,moduleGraph:o,runtime:a,runtimeRequirements:c}){const u=e;let l;if(u.names.length===0){l=u.names}else{l=o.getExportsInfo(n).getUsedName(u.names,a)}if(!l){throw new Error("Self-reference dependency has unused export name: This should not happen")}let d=undefined;switch(u.base){case"exports":c.add(s.exports);d=n.exportsArgument;break;case"module.exports":c.add(s.module);d=`${n.moduleArgument}.exports`;break;case"this":c.add(s.thisAsExports);d="this";break;default:throw new Error(`Unsupported base ${u.base}`)}if(d===u.base&&i(l,u.names)){return}t.replace(u.range[0],u.range[1]-1,`${d}${r(l)}`)}};e.exports=CommonJsSelfReferenceDependency},76911:(e,t,n)=>{"use strict";const s=n(33032);const i=n(31830);class ConstDependency extends i{constructor(e,t,n){super();this.expression=e;this.range=t;this.runtimeRequirements=n?new Set(n):null}updateHash(e,t){e.update(this.range+"");e.update(this.expression+"");if(this.runtimeRequirements)e.update(Array.from(this.runtimeRequirements).join()+"")}getModuleEvaluationSideEffectsState(e){return false}serialize(e){const{write:t}=e;t(this.expression);t(this.range);t(this.runtimeRequirements);super.serialize(e)}deserialize(e){const{read:t}=e;this.expression=t();this.range=t();this.runtimeRequirements=t();super.deserialize(e)}}s(ConstDependency,"webpack/lib/dependencies/ConstDependency");ConstDependency.Template=class ConstDependencyTemplate extends i.Template{apply(e,t,n){const s=e;if(s.runtimeRequirements){for(const e of s.runtimeRequirements){n.runtimeRequirements.add(e)}}if(typeof s.range==="number"){t.insert(s.range,s.expression);return}t.replace(s.range[0],s.range[1]-1,s.expression)}};e.exports=ConstDependency},88101:(e,t,n)=>{"use strict";const s=n(54912);const i=n(5160);const o=n(33032);const r=n(6157);const a=r(()=>n(15427));const c=e=>e?e+"":"";class ContextDependency extends s{constructor(e){super();this.options=e;this.userRequest=this.options&&this.options.request;this.critical=false;this.hadGlobalOrStickyRegExp=false;if(this.options&&(this.options.regExp.global||this.options.regExp.sticky)){this.options={...this.options,regExp:null};this.hadGlobalOrStickyRegExp=true}this.request=undefined;this.range=undefined;this.valueRange=undefined;this.replaces=undefined}get category(){return"commonjs"}getResourceIdentifier(){return`context${this.options.request} ${this.options.recursive} `+`${c(this.options.regExp)} ${c(this.options.include)} ${c(this.options.exclude)} `+`${this.options.mode} ${this.options.chunkName} `+`${JSON.stringify(this.options.groupOptions)}`}getWarnings(e){let t=super.getWarnings(e);if(this.critical){if(!t)t=[];const e=a();t.push(new e(this.critical))}if(this.hadGlobalOrStickyRegExp){if(!t)t=[];const e=a();t.push(new e("Contexts can't use RegExps with the 'g' or 'y' flags."))}return t}serialize(e){const{write:t}=e;t(this.options);t(this.userRequest);t(this.critical);t(this.hadGlobalOrStickyRegExp);t(this.request);t(this.range);t(this.valueRange);t(this.prepend);t(this.replaces);super.serialize(e)}deserialize(e){const{read:t}=e;this.options=t();this.userRequest=t();this.critical=t();this.hadGlobalOrStickyRegExp=t();this.request=t();this.range=t();this.valueRange=t();this.prepend=t();this.replaces=t();super.deserialize(e)}}o(ContextDependency,"webpack/lib/dependencies/ContextDependency");ContextDependency.Template=i;e.exports=ContextDependency},99630:(e,t,n)=>{"use strict";const{parseResource:s}=n(82186);const i=e=>{return e.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&")};const o=e=>{const t=e.lastIndexOf("/");let n=".";if(t>=0){n=e.substr(0,t);e=`.${e.substr(t)}`}return{context:n,prefix:e}};t.create=((e,t,n,r,a,c,u)=>{if(n.isTemplateString()){let l=n.quasis[0].string;let d=n.quasis.length>1?n.quasis[n.quasis.length-1].string:"";const p=n.range;const{context:h,prefix:f}=o(l);const{path:m,query:g,fragment:y}=s(d,u);const v=n.quasis.slice(1,n.quasis.length-1);const b=a.wrappedContextRegExp.source+v.map(e=>i(e.string)+a.wrappedContextRegExp.source).join("");const k=new RegExp(`^${i(f)}${b}${i(m)}$`);const w=new e({request:h+g+y,recursive:a.wrappedContextRecursive,regExp:k,mode:"sync",...c},t,p);w.loc=r.loc;const x=[];n.parts.forEach((e,t)=>{if(t%2===0){let s=e.range;let i=e.string;if(n.templateStringKind==="cooked"){i=JSON.stringify(i);i=i.slice(1,i.length-1)}if(t===0){i=f;s=[n.range[0],e.range[1]];i=(n.templateStringKind==="cooked"?"`":"String.raw`")+i}else if(t===n.parts.length-1){i=m;s=[e.range[0],n.range[1]];i=i+"`"}else if(e.expression&&e.expression.type==="TemplateElement"&&e.expression.value.raw===i){return}x.push({range:s,value:i})}else{u.walkExpression(e.expression)}});w.replaces=x;w.critical=a.wrappedContextCritical&&"a part of the request of a dependency is an expression";return w}else if(n.isWrapped()&&(n.prefix&&n.prefix.isString()||n.postfix&&n.postfix.isString())){let l=n.prefix&&n.prefix.isString()?n.prefix.string:"";let d=n.postfix&&n.postfix.isString()?n.postfix.string:"";const p=n.prefix&&n.prefix.isString()?n.prefix.range:null;const h=n.postfix&&n.postfix.isString()?n.postfix.range:null;const f=n.range;const{context:m,prefix:g}=o(l);const{path:y,query:v,fragment:b}=s(d,u);const k=new RegExp(`^${i(g)}${a.wrappedContextRegExp.source}${i(y)}$`);const w=new e({request:m+v+b,recursive:a.wrappedContextRecursive,regExp:k,mode:"sync",...c},t,f);w.loc=r.loc;const x=[];if(p){x.push({range:p,value:JSON.stringify(g)})}if(h){x.push({range:h,value:JSON.stringify(y)})}w.replaces=x;w.critical=a.wrappedContextCritical&&"a part of the request of a dependency is an expression";if(u&&n.wrappedInnerExpressions){for(const e of n.wrappedInnerExpressions){if(e.expression)u.walkExpression(e.expression)}}return w}else{const s=new e({request:a.exprContextRequest,recursive:a.exprContextRecursive,regExp:a.exprContextRegExp,mode:"sync",...c},t,n.range);s.loc=r.loc;s.critical=a.exprContextCritical&&"the request of a dependency is an expression";u.walkExpression(n.expression);return s}})},76081:(e,t,n)=>{"use strict";const s=n(88101);class ContextDependencyTemplateAsId extends s.Template{apply(e,t,{runtimeTemplate:n,moduleGraph:s,chunkGraph:i,runtimeRequirements:o}){const r=e;const a=n.moduleExports({module:s.getModule(r),chunkGraph:i,request:r.request,weak:r.weak,runtimeRequirements:o});if(s.getModule(r)){if(r.valueRange){if(Array.isArray(r.replaces)){for(let e=0;e{"use strict";const s=n(88101);class ContextDependencyTemplateAsRequireCall extends s.Template{apply(e,t,{runtimeTemplate:n,moduleGraph:s,chunkGraph:i,runtimeRequirements:o}){const r=e;const a=n.moduleExports({module:s.getModule(r),chunkGraph:i,request:r.request,runtimeRequirements:o});if(s.getModule(r)){if(r.valueRange){if(Array.isArray(r.replaces)){for(let e=0;e{"use strict";const s=n(54912);const i=n(33032);const o=n(80321);class ContextElementDependency extends o{constructor(e,t,n,s){super(e);this.referencedExports=s;this._category=n;if(t){this.userRequest=t}}get type(){return"context element"}get category(){return this._category}getReferencedExports(e,t){return this.referencedExports?this.referencedExports.map(e=>({name:e,canMangle:false})):s.EXPORTS_OBJECT_REFERENCED}serialize(e){e.write(this.referencedExports);super.serialize(e)}deserialize(e){this.referencedExports=e.read();super.deserialize(e)}}i(ContextElementDependency,"webpack/lib/dependencies/ContextElementDependency");e.exports=ContextElementDependency},15427:(e,t,n)=>{"use strict";const s=n(53799);const i=n(33032);class CriticalDependencyWarning extends s{constructor(e){super();this.name="CriticalDependencyWarning";this.message="Critical dependency: "+e;Error.captureStackTrace(this,this.constructor)}}i(CriticalDependencyWarning,"webpack/lib/dependencies/CriticalDependencyWarning");e.exports=CriticalDependencyWarning},22914:(e,t,n)=>{"use strict";const s=n(33032);const i=n(80321);class DelegatedSourceDependency extends i{constructor(e){super(e)}get type(){return"delegated source"}get category(){return"esm"}}s(DelegatedSourceDependency,"webpack/lib/dependencies/DelegatedSourceDependency");e.exports=DelegatedSourceDependency},95666:(e,t,n)=>{"use strict";const s=n(54912);const i=n(33032);class DllEntryDependency extends s{constructor(e,t){super();this.dependencies=e;this.name=t}get type(){return"dll entry"}serialize(e){const{write:t}=e;t(this.dependencies);t(this.name);super.serialize(e)}deserialize(e){const{read:t}=e;this.dependencies=t();this.name=t();super.deserialize(e)}}i(DllEntryDependency,"webpack/lib/dependencies/DllEntryDependency");e.exports=DllEntryDependency},32006:(e,t)=>{"use strict";const n=new WeakMap;t.bailout=(e=>{const t=n.get(e);n.set(e,false);if(t===true){e.module.buildMeta.exportsType=undefined;e.module.buildMeta.defaultObject=false}});t.enable=(e=>{const t=n.get(e);if(t===false)return;n.set(e,true);if(t!==true){e.module.buildMeta.exportsType="default";e.module.buildMeta.defaultObject="redirect"}});t.setFlagged=(e=>{const t=n.get(e);if(t!==true)return;const s=e.module.buildMeta;if(s.exportsType==="dynamic")return;s.exportsType="flagged"});t.setDynamic=(e=>{const t=n.get(e);if(t!==true)return;e.module.buildMeta.exportsType="dynamic"});t.isEnabled=(e=>{const t=n.get(e);return t===true})},3979:(e,t,n)=>{"use strict";const s=n(33032);const i=n(80321);class EntryDependency extends i{constructor(e){super(e)}get type(){return"entry"}get category(){return"esm"}}s(EntryDependency,"webpack/lib/dependencies/EntryDependency");e.exports=EntryDependency},78988:(e,t,n)=>{"use strict";const{UsageState:s}=n(63686);const i=n(33032);const o=n(31830);const r=(e,t,n,i,o)=>{if(!n){switch(i){case"usedExports":{const n=e.getExportsInfo(t).getUsedExports(o);if(typeof n==="boolean"||n===undefined||n===null){return n}return Array.from(n).sort()}}}switch(i){case"used":return e.getExportsInfo(t).getUsed(n,o)!==s.Unused;case"useInfo":{const i=e.getExportsInfo(t).getUsed(n,o);switch(i){case s.Used:case s.OnlyPropertiesUsed:return true;case s.Unused:return false;case s.NoInfo:return undefined;case s.Unknown:return null;default:throw new Error(`Unexpected UsageState ${i}`)}}case"provideInfo":return e.getExportsInfo(t).isExportProvided(n)}return undefined};class ExportsInfoDependency extends o{constructor(e,t,n){super();this.range=e;this.exportName=t;this.property=n}updateHash(e,t){const{chunkGraph:n,runtime:s}=t;const{moduleGraph:i}=n;const o=i.getParentModule(this);const a=r(i,o,this.exportName,this.property,s);e.update(a===undefined?"undefined":JSON.stringify(a))}serialize(e){const{write:t}=e;t(this.range);t(this.exportName);t(this.property);super.serialize(e)}static deserialize(e){const t=new ExportsInfoDependency(e.read(),e.read(),e.read());t.deserialize(e);return t}}i(ExportsInfoDependency,"webpack/lib/dependencies/ExportsInfoDependency");ExportsInfoDependency.Template=class ExportsInfoDependencyTemplate extends o.Template{apply(e,t,{module:n,moduleGraph:s,runtime:i}){const o=e;const a=r(s,n,o.exportName,o.property,i);t.replace(o.range[0],o.range[1]-1,a===undefined?"undefined":JSON.stringify(a))}};e.exports=ExportsInfoDependency},23624:(e,t,n)=>{"use strict";const s=n(1626);const i=n(33032);const o=n(57154);const r=n(31830);class HarmonyAcceptDependency extends r{constructor(e,t,n){super();this.range=e;this.dependencies=t;this.hasCallback=n}get type(){return"accepted harmony modules"}serialize(e){const{write:t}=e;t(this.range);t(this.dependencies);t(this.hasCallback);super.serialize(e)}deserialize(e){const{read:t}=e;this.range=t();this.dependencies=t();this.hasCallback=t();super.deserialize(e)}}i(HarmonyAcceptDependency,"webpack/lib/dependencies/HarmonyAcceptDependency");HarmonyAcceptDependency.Template=class HarmonyAcceptDependencyTemplate extends r.Template{apply(e,t,n){const i=e;const{module:r,runtime:a,runtimeRequirements:c,runtimeTemplate:u,moduleGraph:l,chunkGraph:d}=n;const p=i.dependencies.map(e=>{const t=l.getModule(e);return{dependency:e,runtimeCondition:t?o.Template.getImportEmittedRuntime(r,t):false}}).filter(({runtimeCondition:e})=>e!==false).map(({dependency:e,runtimeCondition:t})=>{const i=u.runtimeConditionExpression({chunkGraph:d,runtime:a,runtimeCondition:t,runtimeRequirements:c});const o=e.getImportStatement(true,n);const r=o[0]+o[1];if(i!=="true"){return`if (${i}) {\n${s.indent(r)}\n}\n`}return r}).join("");if(i.hasCallback){if(u.supportsArrowFunction()){t.insert(i.range[0],`__WEBPACK_OUTDATED_DEPENDENCIES__ => { ${p}(`);t.insert(i.range[1],")(__WEBPACK_OUTDATED_DEPENDENCIES__); }")}else{t.insert(i.range[0],`function(__WEBPACK_OUTDATED_DEPENDENCIES__) { ${p}(`);t.insert(i.range[1],")(__WEBPACK_OUTDATED_DEPENDENCIES__); }.bind(this)")}return}const h=u.supportsArrowFunction();t.insert(i.range[1]-.5,`, ${h?"() =>":"function()"} { ${p} }`)}};e.exports=HarmonyAcceptDependency},99843:(e,t,n)=>{"use strict";const s=n(33032);const i=n(57154);class HarmonyAcceptImportDependency extends i{constructor(e){super(e,NaN);this.weak=true}get type(){return"harmony accept"}}s(HarmonyAcceptImportDependency,"webpack/lib/dependencies/HarmonyAcceptImportDependency");HarmonyAcceptImportDependency.Template=class HarmonyAcceptImportDependencyTemplate extends i.Template{};e.exports=HarmonyAcceptImportDependency},72906:(e,t,n)=>{"use strict";const{UsageState:s}=n(63686);const i=n(55870);const o=n(16475);const r=n(33032);const a=n(31830);class HarmonyCompatibilityDependency extends a{get type(){return"harmony export header"}}r(HarmonyCompatibilityDependency,"webpack/lib/dependencies/HarmonyCompatibilityDependency");HarmonyCompatibilityDependency.Template=class HarmonyExportDependencyTemplate extends a.Template{apply(e,t,{module:n,runtimeTemplate:r,moduleGraph:a,initFragments:c,runtimeRequirements:u,runtime:l,concatenationScope:d}){if(d)return;const p=a.getExportsInfo(n);if(p.getReadOnlyExportInfo("__esModule").getUsed(l)!==s.Unused){const e=r.defineEsModuleFlagStatement({exportsArgument:n.exportsArgument,runtimeRequirements:u});c.push(new i(e,i.STAGE_HARMONY_EXPORTS,0,"harmony compatibility"))}if(a.isAsync(n)){u.add(o.module);const e=p.isUsed(l);if(e)u.add(o.exports);c.push(new i(`${n.moduleArgument}.exports = (async () => {\n`,i.STAGE_ASYNC_BOUNDARY,0,undefined,e?`\nreturn ${n.exportsArgument};\n})();`:"\n})();"))}}};e.exports=HarmonyCompatibilityDependency},17223:(e,t,n)=>{"use strict";const s=n(32006);const i=n(72906);const o=n(39211);e.exports=class HarmonyDetectionParserPlugin{constructor(e){const{topLevelAwait:t=false}=e||{};this.topLevelAwait=t}apply(e){e.hooks.program.tap("HarmonyDetectionParserPlugin",t=>{const n=e.state.module.type==="javascript/esm";const r=n||t.body.some(e=>e.type==="ImportDeclaration"||e.type==="ExportDefaultDeclaration"||e.type==="ExportNamedDeclaration"||e.type==="ExportAllDeclaration");if(r){const t=e.state.module;const r=new i;r.loc={start:{line:-1,column:0},end:{line:-1,column:0},index:-3};t.addPresentationalDependency(r);s.bailout(e.state);o.enable(e.state,n);e.scope.isStrict=true}});e.hooks.topLevelAwait.tap("HarmonyDetectionParserPlugin",()=>{const t=e.state.module;if(!this.topLevelAwait){throw new Error("The top-level-await experiment is not enabled (set experiments.topLevelAwait: true to enabled it)")}if(!o.isEnabled(e.state)){throw new Error("Top-level-await is only supported in EcmaScript Modules")}t.buildMeta.async=true});const t=()=>{if(o.isEnabled(e.state)){return true}};const n=()=>{if(o.isEnabled(e.state)){return null}};const r=["define","exports"];for(const s of r){e.hooks.evaluateTypeof.for(s).tap("HarmonyDetectionParserPlugin",n);e.hooks.typeof.for(s).tap("HarmonyDetectionParserPlugin",t);e.hooks.evaluate.for(s).tap("HarmonyDetectionParserPlugin",n);e.hooks.expression.for(s).tap("HarmonyDetectionParserPlugin",t);e.hooks.call.for(s).tap("HarmonyDetectionParserPlugin",t)}}}},93466:(e,t,n)=>{"use strict";const s=n(38988);const i=n(76911);const o=n(51340);const r=n(38873);const a=n(67157);const c=n(48567);const{harmonySpecifierTag:u}=n(20862);const l=n(73132);e.exports=class HarmonyExportDependencyParserPlugin{constructor(e){const{module:t}=e;this.strictExportPresence=t.strictExportPresence}apply(e){e.hooks.export.tap("HarmonyExportDependencyParserPlugin",t=>{const n=new r(t.declaration&&t.declaration.range,t.range);n.loc=Object.create(t.loc);n.loc.index=-1;e.state.module.addPresentationalDependency(n);return true});e.hooks.exportImport.tap("HarmonyExportDependencyParserPlugin",(t,n)=>{e.state.lastHarmonyImportOrder=(e.state.lastHarmonyImportOrder||0)+1;const s=new i("",t.range);s.loc=Object.create(t.loc);s.loc.index=-1;e.state.module.addPresentationalDependency(s);const o=new l(n,e.state.lastHarmonyImportOrder);o.loc=Object.create(t.loc);o.loc.index=-1;e.state.current.addDependency(o);return true});e.hooks.exportExpression.tap("HarmonyExportDependencyParserPlugin",(t,n)=>{const i=n.type==="FunctionDeclaration";const r=e.getComments([t.range[0],n.range[0]]);const a=new o(n.range,t.range,r.map(e=>{switch(e.type){case"Block":return`/*${e.value}*/`;case"Line":return`//${e.value}\n`}return""}).join(""),n.type.endsWith("Declaration")&&n.id?n.id.name:i?{id:n.id?n.id.name:undefined,range:[n.range[0],n.params.length>0?n.params[0].range[0]:n.body.range[0]],prefix:`${n.async?"async ":""}function${n.generator?"*":""} `,suffix:`(${n.params.length>0?"":") "}`}:undefined);a.loc=Object.create(t.loc);a.loc.index=-1;e.state.current.addDependency(a);s.addVariableUsage(e,n.type.endsWith("Declaration")&&n.id?n.id.name:"*default*","default");return true});e.hooks.exportSpecifier.tap("HarmonyExportDependencyParserPlugin",(t,n,i,o)=>{const r=e.getTagData(n,u);let l;const d=e.state.harmonyNamedExports=e.state.harmonyNamedExports||new Set;d.add(i);s.addVariableUsage(e,n,i);if(r){l=new a(r.source,r.sourceOrder,r.ids,i,d,null,this.strictExportPresence)}else{l=new c(n,i)}l.loc=Object.create(t.loc);l.loc.index=o;e.state.current.addDependency(l);return true});e.hooks.exportImportSpecifier.tap("HarmonyExportDependencyParserPlugin",(t,n,s,i,o)=>{const r=e.state.harmonyNamedExports=e.state.harmonyNamedExports||new Set;let c=null;if(i){r.add(i)}else{c=e.state.harmonyStarExports=e.state.harmonyStarExports||[]}const u=new a(n,e.state.lastHarmonyImportOrder,s?[s]:[],i,r,c&&c.slice(),this.strictExportPresence);if(c){c.push(u)}u.loc=Object.create(t.loc);u.loc.index=o;e.state.current.addDependency(u);return true})}}},51340:(e,t,n)=>{"use strict";const s=n(98229);const i=n(16475);const o=n(33032);const r=n(89500);const a=n(31830);class HarmonyExportExpressionDependency extends a{constructor(e,t,n,s){super();this.range=e;this.rangeStatement=t;this.prefix=n;this.declarationId=s}get type(){return"harmony export expression"}getExports(e){return{exports:["default"],terminalBinding:true,dependencies:undefined}}getModuleEvaluationSideEffectsState(e){return false}serialize(e){const{write:t}=e;t(this.range);t(this.rangeStatement);t(this.prefix);t(this.declarationId);super.serialize(e)}deserialize(e){const{read:t}=e;this.range=t();this.rangeStatement=t();this.prefix=t();this.declarationId=t();super.deserialize(e)}}o(HarmonyExportExpressionDependency,"webpack/lib/dependencies/HarmonyExportExpressionDependency");HarmonyExportExpressionDependency.Template=class HarmonyExportDependencyTemplate extends a.Template{apply(e,t,{module:n,moduleGraph:o,runtimeTemplate:a,runtimeRequirements:c,initFragments:u,runtime:l,concatenationScope:d}){const p=e;const{declarationId:h}=p;const f=n.exportsArgument;if(h){let e;if(typeof h==="string"){e=h}else{e=s.DEFAULT_EXPORT;t.replace(h.range[0],h.range[1]-1,`${h.prefix}${e}${h.suffix}`)}if(d){d.registerExport("default",e)}else{const t=o.getExportsInfo(n).getUsedName("default",l);if(t){const n=new Map;n.set(t,`/* export default binding */ ${e}`);u.push(new r(f,n))}}t.replace(p.rangeStatement[0],p.range[0]-1,`/* harmony default export */ ${p.prefix}`)}else{let e;const h=s.DEFAULT_EXPORT;if(a.supportsConst()){e=`/* harmony default export */ const ${h} = `;if(d){d.registerExport("default",h)}else{const t=o.getExportsInfo(n).getUsedName("default",l);if(t){c.add(i.exports);const e=new Map;e.set(t,h);u.push(new r(f,e))}else{e=`/* unused harmony default export */ var ${h} = `}}}else if(d){e=`/* harmony default export */ var ${h} = `;d.registerExport("default",h)}else{const t=o.getExportsInfo(n).getUsedName("default",l);if(t){c.add(i.exports);e=`/* harmony default export */ ${f}[${JSON.stringify(t)}] = `}else{e=`/* unused harmony default export */ var ${h} = `}}if(p.range){t.replace(p.rangeStatement[0],p.range[0]-1,e+"("+p.prefix);t.replace(p.range[1],p.rangeStatement[1]-.5,");");return}t.replace(p.rangeStatement[0],p.rangeStatement[1]-1,e)}}};e.exports=HarmonyExportExpressionDependency},38873:(e,t,n)=>{"use strict";const s=n(33032);const i=n(31830);class HarmonyExportHeaderDependency extends i{constructor(e,t){super();this.range=e;this.rangeStatement=t}get type(){return"harmony export header"}serialize(e){const{write:t}=e;t(this.range);t(this.rangeStatement);super.serialize(e)}deserialize(e){const{read:t}=e;this.range=t();this.rangeStatement=t();super.deserialize(e)}}s(HarmonyExportHeaderDependency,"webpack/lib/dependencies/HarmonyExportHeaderDependency");HarmonyExportHeaderDependency.Template=class HarmonyExportDependencyTemplate extends i.Template{apply(e,t,n){const s=e;const i="";const o=s.range?s.range[0]-1:s.rangeStatement[1]-1;t.replace(s.rangeStatement[0],o,i)}};e.exports=HarmonyExportHeaderDependency},67157:(e,t,n)=>{"use strict";const s=n(54912);const{UsageState:i}=n(63686);const o=n(97511);const r=n(55870);const a=n(16475);const c=n(1626);const u=n(33032);const l=n(54190);const d=n(89500);const p=n(57154);const h=n(55207);const f=Symbol("HarmonyExportImportedSpecifierDependency.ids");class NormalReexportItem{constructor(e,t,n,s){this.name=e;this.ids=t;this.exportInfo=n;this.checked=s}}class ExportMode{constructor(e){this.type=e;this.items=null;this.name=null;this.partialNamespaceExportInfo=null;this.ignored=null;this.userRequest=null;this.fakeType=0}}class HarmonyExportImportedSpecifierDependency extends p{constructor(e,t,n,s,i,o,r){super(e,t);this.ids=n;this.name=s;this.activeExports=i;this.otherStarExports=o;this.strictExportPresence=r}get id(){throw new Error("id was renamed to ids and type changed to string[]")}getId(){throw new Error("id was renamed to ids and type changed to string[]")}setId(){throw new Error("id was renamed to ids and type changed to string[]")}get type(){return"harmony export imported specifier"}getIds(e){return e.getMeta(this)[f]||this.ids}setIds(e,t){e.getMeta(this)[f]=t}getMode(e,t){const n=this.name;const s=this.getIds(e);const o=e.getParentModule(this);const r=e.getModule(this);const a=e.getExportsInfo(o);if(!r){const e=new ExportMode("missing");e.userRequest=this.userRequest;return e}if(n?a.getUsed(n,t)===i.Unused:a.isUsed(t)===false){const e=new ExportMode("unused");e.name=n||"*";return e}const c=r.getExportsType(e,o.buildMeta.strictHarmonyModule);if(n&&s.length>0&&s[0]==="default"){switch(c){case"dynamic":{const e=new ExportMode("reexport-dynamic-default");e.name=n;return e}case"default-only":case"default-with-named":{const e=a.getReadOnlyExportInfo(n);const t=new ExportMode("reexport-named-default");t.name=n;t.partialNamespaceExportInfo=e;return t}}}if(n){let e;const t=a.getReadOnlyExportInfo(n);if(s.length>0){switch(c){case"default-only":e=new ExportMode("reexport-undefined");e.name=n;break;default:e=new ExportMode("normal-reexport");e.items=[new NormalReexportItem(n,s,t,false)];break}}else{switch(c){case"default-only":e=new ExportMode("reexport-fake-namespace-object");e.name=n;e.partialNamespaceExportInfo=t;e.fakeType=0;break;case"default-with-named":e=new ExportMode("reexport-fake-namespace-object");e.name=n;e.partialNamespaceExportInfo=t;e.fakeType=2;break;case"dynamic":default:e=new ExportMode("reexport-namespace-object");e.name=n;e.partialNamespaceExportInfo=t}}return e}const{ignoredExports:u,exports:l,checked:d}=this.getStarReexports(e,t,a,r);if(!l){const e=new ExportMode("dynamic-reexport");e.ignored=u;return e}if(l.size===0){const e=new ExportMode("empty-star");return e}const p=new ExportMode("normal-reexport");p.items=Array.from(l,e=>new NormalReexportItem(e,[e],a.getReadOnlyExportInfo(e),d.has(e)));return p}getStarReexports(e,t,n=e.getExportsInfo(e.getParentModule(this)),s=e.getModule(this)){const o=e.getExportsInfo(s);const r=o.otherExportsInfo.provided===false;const a=n.otherExportsInfo.getUsed(t)===i.Unused;const c=new Set(["default",...this.activeExports,...this._discoverActiveExportsFromOtherStarExports(e).keys()]);if(!r&&!a){return{ignoredExports:c}}const u=new Set;const l=new Set;if(a){for(const e of n.orderedExports){const n=e.name;if(c.has(n))continue;if(e.getUsed(t)===i.Unused)continue;const s=o.getReadOnlyExportInfo(n);if(s.provided===false)continue;u.add(n);if(s.provided===true)continue;l.add(n)}}else if(r){for(const e of o.orderedExports){const s=e.name;if(c.has(s))continue;if(e.provided===false)continue;const o=n.getReadOnlyExportInfo(s);if(o.getUsed(t)===i.Unused)continue;u.add(s);if(e.provided===true)continue;l.add(s)}}return{ignoredExports:c,exports:u,checked:l}}getCondition(e){return(t,n)=>{const s=this.getMode(e,n);return s.type!=="unused"&&s.type!=="empty-star"}}getModuleEvaluationSideEffectsState(e){return false}getReferencedExports(e,t){const n=this.getMode(e,t);switch(n.type){case"missing":case"unused":case"empty-star":case"reexport-undefined":return s.NO_EXPORTS_REFERENCED;case"reexport-dynamic-default":return s.EXPORTS_OBJECT_REFERENCED;case"reexport-named-default":{if(!n.partialNamespaceExportInfo)return s.EXPORTS_OBJECT_REFERENCED;const e=[];h(t,e,[],n.partialNamespaceExportInfo);return e}case"reexport-namespace-object":case"reexport-fake-namespace-object":{if(!n.partialNamespaceExportInfo)return s.EXPORTS_OBJECT_REFERENCED;const e=[];h(t,e,[],n.partialNamespaceExportInfo,n.type==="reexport-fake-namespace-object");return e}case"dynamic-reexport":return s.EXPORTS_OBJECT_REFERENCED;case"normal-reexport":{const e=[];for(const{ids:s,exportInfo:i}of n.items){h(t,e,s,i,false)}return e}default:throw new Error(`Unknown mode ${n.type}`)}}_discoverActiveExportsFromOtherStarExports(e){if(!this.otherStarExports){return new Map}const t=new Map;for(const n of this.otherStarExports){const s=e.getModule(n);if(s){const i=e.getExportsInfo(s);for(const e of i.exports){if(e.provided===true&&!t.has(e.name)){t.set(e.name,n)}}}}return t}getExports(e){const t=this.getMode(e,undefined);switch(t.type){case"missing":return undefined;case"dynamic-reexport":{const n=e.getConnection(this);return{exports:true,from:n,canMangle:false,excludeExports:t.ignored,dependencies:[n.module]}}case"empty-star":return{exports:[],dependencies:[e.getModule(this)]};case"normal-reexport":{const n=e.getConnection(this);return{exports:Array.from(t.items,e=>({name:e.name,from:n,export:e.ids})),dependencies:[n.module]}}case"reexport-dynamic-default":{{const n=e.getConnection(this);return{exports:[{name:t.name,from:n,export:["default"]}],dependencies:[n.module]}}}case"reexport-undefined":return{exports:[t.name],dependencies:[e.getModule(this)]};case"reexport-fake-namespace-object":{const n=e.getConnection(this);return{exports:[{name:t.name,from:n,export:null,exports:[{name:"default",canMangle:false,from:n,export:null}]}],dependencies:[n.module]}}case"reexport-namespace-object":{const n=e.getConnection(this);return{exports:[{name:t.name,from:n,export:null}],dependencies:[n.module]}}case"reexport-named-default":{const n=e.getConnection(this);return{exports:[{name:t.name,from:n,export:["default"]}],dependencies:[n.module]}}default:throw new Error(`Unknown mode ${t.type}`)}}getWarnings(e){if(this.strictExportPresence||e.getParentModule(this).buildMeta.strictHarmonyModule){return null}return this._getErrors(e)}getErrors(e){if(this.strictExportPresence||e.getParentModule(this).buildMeta.strictHarmonyModule){return this._getErrors(e)}return null}_getErrors(e){const t=this.getIds(e);let n=this.getLinkingErrors(e,t,`(reexported as '${this.name}')`);if(t.length===0&&this.name===null){const t=this._discoverActiveExportsFromOtherStarExports(e);if(t.size>0){const s=e.getModule(this);if(s){const i=e.getExportsInfo(s);const r=new Map;for(const n of i.orderedExports){if(n.provided!==true)continue;if(n.name==="default")continue;if(this.activeExports.has(n.name))continue;const i=t.get(n.name);if(!i)continue;const o=n.getTerminalBinding(e);if(!o)continue;const a=e.getModule(i);if(a===s)continue;const c=e.getExportInfo(a,n.name);const u=c.getTerminalBinding(e);if(!u)continue;if(o===u)continue;const l=r.get(i.request);if(l===undefined){r.set(i.request,[n.name])}else{l.push(n.name)}}for(const[e,t]of r){if(!n)n=[];n.push(new o(`The requested module '${this.request}' contains conflicting star exports for the ${t.length>1?"names":"name"} ${t.map(e=>`'${e}'`).join(", ")} with the previous requested module '${e}'`))}}}}return n}updateHash(e,t){const{chunkGraph:n,runtime:s}=t;super.updateHash(e,t);const i=this.getMode(n.moduleGraph,s);e.update(i.type);if(i.items){for(const t of i.items){e.update(t.name);e.update(t.ids.join());if(t.checked)e.update("checked")}}if(i.ignored){e.update("ignored");for(const t of i.ignored){e.update(t)}}e.update(i.name||"")}serialize(e){const{write:t}=e;t(this.ids);t(this.name);t(this.activeExports);t(this.otherStarExports);t(this.strictExportPresence);super.serialize(e)}deserialize(e){const{read:t}=e;this.ids=t();this.name=t();this.activeExports=t();this.otherStarExports=t();this.strictExportPresence=t();super.deserialize(e)}}u(HarmonyExportImportedSpecifierDependency,"webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency");e.exports=HarmonyExportImportedSpecifierDependency;HarmonyExportImportedSpecifierDependency.Template=class HarmonyExportImportedSpecifierDependencyTemplate extends p.Template{apply(e,t,n){const{moduleGraph:s,runtime:i,concatenationScope:o}=n;const r=e;const a=r.getMode(s,i);if(o){switch(a.type){case"reexport-undefined":o.registerRawExport(a.name,"/* reexport non-default export from non-harmony */ undefined")}return}if(a.type!=="unused"&&a.type!=="empty-star"){super.apply(e,t,n);this._addExportFragments(n.initFragments,r,a,n.module,s,i,n.runtimeTemplate,n.runtimeRequirements)}}_addExportFragments(e,t,n,s,i,o,u,l){const d=i.getModule(t);const p=t.getImportVar(i);switch(n.type){case"missing":case"empty-star":e.push(new r("/* empty/unused harmony star reexport */\n",r.STAGE_HARMONY_EXPORTS,1));break;case"unused":e.push(new r(`${c.toNormalComment(`unused harmony reexport ${n.name}`)}\n`,r.STAGE_HARMONY_EXPORTS,1));break;case"reexport-dynamic-default":e.push(this.getReexportFragment(s,"reexport default from dynamic",i.getExportsInfo(s).getUsedName(n.name,o),p,null,l));break;case"reexport-fake-namespace-object":e.push(...this.getReexportFakeNamespaceObjectFragments(s,i.getExportsInfo(s).getUsedName(n.name,o),p,n.fakeType,l));break;case"reexport-undefined":e.push(this.getReexportFragment(s,"reexport non-default export from non-harmony",i.getExportsInfo(s).getUsedName(n.name,o),"undefined","",l));break;case"reexport-named-default":e.push(this.getReexportFragment(s,"reexport default export from named module",i.getExportsInfo(s).getUsedName(n.name,o),p,"",l));break;case"reexport-namespace-object":e.push(this.getReexportFragment(s,"reexport module object",i.getExportsInfo(s).getUsedName(n.name,o),p,"",l));break;case"normal-reexport":for(const{name:a,ids:c,checked:u}of n.items){if(u){e.push(new r("/* harmony reexport (checked) */ "+this.getConditionalReexportStatement(s,a,p,c,l),r.STAGE_HARMONY_IMPORTS,t.sourceOrder))}else{e.push(this.getReexportFragment(s,"reexport safe",i.getExportsInfo(s).getUsedName(a,o),p,i.getExportsInfo(d).getUsedName(c,o),l))}}break;case"dynamic-reexport":{const i=n.ignored;const o=u.supportsConst()&&u.supportsArrowFunction();let c="/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};\n"+`/* harmony reexport (unknown) */ for(${o?"const":"var"} __WEBPACK_IMPORT_KEY__ in ${p}) `;if(i.size>1){c+="if("+JSON.stringify(Array.from(i))+".indexOf(__WEBPACK_IMPORT_KEY__) < 0) "}else if(i.size===1){c+=`if(__WEBPACK_IMPORT_KEY__ !== ${JSON.stringify(i.values().next().value)}) `}c+=`__WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = `;if(o){c+=`() => ${p}[__WEBPACK_IMPORT_KEY__]`}else{c+=`function(key) { return ${p}[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)`}l.add(a.exports);l.add(a.definePropertyGetters);const d=s.exportsArgument;e.push(new r(`${c}\n/* harmony reexport (unknown) */ ${a.definePropertyGetters}(${d}, __WEBPACK_REEXPORT_OBJECT__);\n`,r.STAGE_HARMONY_IMPORTS,t.sourceOrder));break}default:throw new Error(`Unknown mode ${n.type}`)}}getReexportFragment(e,t,n,s,i,o){const r=this.getReturnValue(s,i);o.add(a.exports);o.add(a.definePropertyGetters);const c=new Map;c.set(n,`/* ${t} */ ${r}`);return new d(e.exportsArgument,c)}getReexportFakeNamespaceObjectFragments(e,t,n,s,i){i.add(a.exports);i.add(a.definePropertyGetters);i.add(a.createFakeNamespaceObject);const o=new Map;o.set(t,`/* reexport fake namespace object from non-harmony */ ${n}_namespace_cache || (${n}_namespace_cache = ${a.createFakeNamespaceObject}(${n}${s?`, ${s}`:""}))`);return[new r(`var ${n}_namespace_cache;\n`,r.STAGE_CONSTANTS,-1,`${n}_namespace_cache`),new d(e.exportsArgument,o)]}getConditionalReexportStatement(e,t,n,s,i){if(s===false){return"/* unused export */\n"}const o=e.exportsArgument;const r=this.getReturnValue(n,s);i.add(a.exports);i.add(a.definePropertyGetters);i.add(a.hasOwnProperty);return`if(${a.hasOwnProperty}(${n}, ${JSON.stringify(s[0])})) ${a.definePropertyGetters}(${o}, { ${JSON.stringify(t)}: function() { return ${r}; } });\n`}getReturnValue(e,t){if(t===null){return`${e}_default.a`}if(t===""){return e}if(t===false){return"/* unused export */ undefined"}return`${e}${l(t)}`}}},89500:(e,t,n)=>{"use strict";const s=n(55870);const i=n(16475);const o=e=>{let t="";let n=true;for(const s of e){if(n){n=false}else{t+=", "}t+=s}return t};const r=new Map;const a=new Set;class HarmonyExportInitFragment extends s{constructor(e,t=r,n=a){super(undefined,s.STAGE_HARMONY_EXPORTS,1,"harmony-exports");this.exportsArgument=e;this.exportMap=t;this.unusedExports=n}merge(e){let t;if(this.exportMap.size===0){t=e.exportMap}else if(e.exportMap.size===0){t=this.exportMap}else{t=new Map(e.exportMap);for(const[e,n]of this.exportMap){if(!t.has(e))t.set(e,n)}}let n;if(this.unusedExports.size===0){n=e.unusedExports}else if(e.unusedExports.size===0){n=this.unusedExports}else{n=new Set(e.unusedExports);for(const e of this.unusedExports){n.add(e)}}return new HarmonyExportInitFragment(this.exportsArgument,t,n)}getContent({runtimeTemplate:e,runtimeRequirements:t}){t.add(i.exports);t.add(i.definePropertyGetters);const n=this.unusedExports.size>1?`/* unused harmony exports ${o(this.unusedExports)} */\n`:this.unusedExports.size>0?`/* unused harmony export ${this.unusedExports.values().next().value} */\n`:"";const s=[];for(const[t,n]of this.exportMap){s.push(`\n/* harmony export */ ${JSON.stringify(t)}: ${e.returningFunction(n)}`)}const r=this.exportMap.size>0?`/* harmony export */ ${i.definePropertyGetters}(${this.exportsArgument}, {${s.join(",")}\n/* harmony export */ });\n`:"";return`${r}${n}`}}e.exports=HarmonyExportInitFragment},48567:(e,t,n)=>{"use strict";const s=n(33032);const i=n(89500);const o=n(31830);class HarmonyExportSpecifierDependency extends o{constructor(e,t){super();this.id=e;this.name=t}get type(){return"harmony export specifier"}getExports(e){return{exports:[this.name],terminalBinding:true,dependencies:undefined}}getModuleEvaluationSideEffectsState(e){return false}serialize(e){const{write:t}=e;t(this.id);t(this.name);super.serialize(e)}deserialize(e){const{read:t}=e;this.id=t();this.name=t();super.deserialize(e)}}s(HarmonyExportSpecifierDependency,"webpack/lib/dependencies/HarmonyExportSpecifierDependency");HarmonyExportSpecifierDependency.Template=class HarmonyExportSpecifierDependencyTemplate extends o.Template{apply(e,t,{module:n,moduleGraph:s,initFragments:o,runtime:r,concatenationScope:a}){const c=e;if(a){a.registerExport(c.name,c.id);return}const u=s.getExportsInfo(n).getUsedName(c.name,r);if(!u){const e=new Set;e.add(c.name||"namespace");o.push(new i(n.exportsArgument,undefined,e));return}const l=new Map;l.set(u,`/* binding */ ${c.id}`);o.push(new i(n.exportsArgument,l,undefined))}};e.exports=HarmonyExportSpecifierDependency},39211:(e,t)=>{"use strict";const n=new WeakMap;t.enable=((e,t)=>{const s=n.get(e);if(s===false)return;n.set(e,true);if(s!==true){e.module.buildMeta.exportsType="namespace";e.module.buildInfo.strict=true;e.module.buildInfo.exportsArgument="__webpack_exports__";if(t){e.module.buildMeta.strictHarmonyModule=true;e.module.buildInfo.moduleArgument="__webpack_module__"}}});t.isEnabled=(e=>{const t=n.get(e);return t===true})},57154:(e,t,n)=>{"use strict";const s=n(61333);const i=n(54912);const o=n(97511);const r=n(55870);const a=n(1626);const c=n(41153);const{filterRuntime:u,mergeRuntime:l}=n(17156);const d=n(80321);class HarmonyImportDependency extends d{constructor(e,t){super(e);this.sourceOrder=t}get category(){return"esm"}getReferencedExports(e,t){return i.NO_EXPORTS_REFERENCED}getImportVar(e){const t=e.getParentModule(this);const n=e.getMeta(t);let s=n.importVarMap;if(!s)n.importVarMap=s=new Map;let i=s.get(e.getModule(this));if(i)return i;i=`${a.toIdentifier(`${this.userRequest}`)}__WEBPACK_IMPORTED_MODULE_${s.size}__`;s.set(e.getModule(this),i);return i}getImportStatement(e,{runtimeTemplate:t,module:n,moduleGraph:s,chunkGraph:i,runtimeRequirements:o}){return t.importStatement({update:e,module:s.getModule(this),chunkGraph:i,importVar:this.getImportVar(s),request:this.request,originModule:n,runtimeRequirements:o})}getLinkingErrors(e,t,n){const s=e.getModule(this);if(!s||s.getNumberOfErrors()>0){return}const i=e.getParentModule(this);const r=s.getExportsType(e,i.buildMeta.strictHarmonyModule);if(r==="namespace"||r==="default-with-named"){if(t.length===0){return}if((r!=="default-with-named"||t[0]!=="default")&&e.isExportProvided(s,t)===false){let i=0;let r=e.getExportsInfo(s);while(i`'${e}'`).join(".")} ${n} was not found in '${this.userRequest}'${s}`)]}r=s.getNestedExportsInfo()}return[new o(`export ${t.map(e=>`'${e}'`).join(".")} ${n} was not found in '${this.userRequest}'`)]}}switch(r){case"default-only":if(t.length>0&&t[0]!=="default"){return[new o(`Can't import the named export ${t.map(e=>`'${e}'`).join(".")} ${n} from default-exporting module (only default export is available)`)]}break;case"default-with-named":if(t.length>0&&t[0]!=="default"&&s.buildMeta.defaultObject==="redirect-warn"){return[new o(`Should not import the named export ${t.map(e=>`'${e}'`).join(".")} ${n} from default-exporting module (only default export is available soon)`)]}break}}updateHash(e,t){const{chunkGraph:n,runtime:s,runtimeTemplate:i}=t;const{moduleGraph:o}=n;super.updateHash(e,t);e.update(`${this.sourceOrder}`);const r=o.getConnection(this);if(r){const t=r.module;if(t){const n=o.getParentModule(this);e.update(t.getExportsType(o,n.buildMeta&&n.buildMeta.strictHarmonyModule));if(o.isAsync(t))e.update("async")}if(i){const t=new Set;e.update(i.runtimeConditionExpression({chunkGraph:n,runtimeCondition:u(s,e=>{return r.isTargetActive(e)}),runtime:s,runtimeRequirements:t}));for(const n of t)e.update(n)}}}serialize(e){const{write:t}=e;t(this.sourceOrder);super.serialize(e)}deserialize(e){const{read:t}=e;this.sourceOrder=t();super.deserialize(e)}}e.exports=HarmonyImportDependency;const p=new WeakMap;HarmonyImportDependency.Template=class HarmonyImportDependencyTemplate extends d.Template{apply(e,t,n){const i=e;const{module:o,chunkGraph:a,moduleGraph:d,runtime:h}=n;const f=d.getConnection(i);if(f&&!f.isTargetActive(h))return;const m=f&&f.module;if(f&&f.weak&&m&&a.getModuleId(m)===null){return}const g=m?m.identifier():i.request;const y=`harmony import ${g}`;const v=i.weak?false:f?u(h,e=>f.isTargetActive(e)):true;if(o&&m){let e=p.get(o);if(e===undefined){e=new WeakMap;p.set(o,e)}let t=v;const n=e.get(m)||false;if(n!==false&&t!==true){if(t===false||n===true){t=n}else{t=l(n,t)}}e.set(m,t)}const b=i.getImportStatement(false,n);if(n.moduleGraph.isAsync(m)){n.initFragments.push(new s(b[0],r.STAGE_HARMONY_IMPORTS,i.sourceOrder,y,v));n.initFragments.push(new c(new Set([i.getImportVar(n.moduleGraph)])));n.initFragments.push(new s(b[1],r.STAGE_ASYNC_HARMONY_IMPORTS,i.sourceOrder,y+" compat",v))}else{n.initFragments.push(new s(b[0]+b[1],r.STAGE_HARMONY_IMPORTS,i.sourceOrder,y,v))}}static getImportEmittedRuntime(e,t){const n=p.get(e);if(n===undefined)return false;return n.get(t)||false}}},20862:(e,t,n)=>{"use strict";const s=n(6404);const i=n(38988);const o=n(76911);const r=n(23624);const a=n(99843);const c=n(39211);const u=n(73132);const l=n(14077);const d=Symbol("harmony import");e.exports=class HarmonyImportDependencyParserPlugin{constructor(e){const{module:t}=e;this.strictExportPresence=t.strictExportPresence;this.strictThisContextOnImports=t.strictThisContextOnImports}apply(e){e.hooks.isPure.for("Identifier").tap("HarmonyImportDependencyParserPlugin",t=>{const n=t;if(e.isVariableDefined(n.name)||e.getTagData(n.name,d)){return true}});e.hooks.import.tap("HarmonyImportDependencyParserPlugin",(t,n)=>{e.state.lastHarmonyImportOrder=(e.state.lastHarmonyImportOrder||0)+1;const s=new o(e.isAsiPosition(t.range[0])?";":"",t.range);s.loc=t.loc;e.state.module.addPresentationalDependency(s);e.unsetAsiPosition(t.range[1]);const i=new u(n,e.state.lastHarmonyImportOrder);i.loc=t.loc;e.state.module.addDependency(i);return true});e.hooks.importSpecifier.tap("HarmonyImportDependencyParserPlugin",(t,n,s,i)=>{const o=s===null?[]:[s];e.tagVariable(i,d,{name:i,source:n,ids:o,sourceOrder:e.state.lastHarmonyImportOrder});return true});e.hooks.expression.for(d).tap("HarmonyImportDependencyParserPlugin",t=>{const n=e.currentTagData;const s=new l(n.source,n.sourceOrder,n.ids,n.name,t.range,this.strictExportPresence);s.shorthand=e.scope.inShorthand;s.directImport=true;s.asiSafe=!e.isAsiPosition(t.range[0]);s.loc=t.loc;e.state.module.addDependency(s);i.onUsage(e.state,e=>s.usedByExports=e);return true});e.hooks.expressionMemberChain.for(d).tap("HarmonyImportDependencyParserPlugin",(t,n)=>{const s=e.currentTagData;const o=s.ids.concat(n);const r=new l(s.source,s.sourceOrder,o,s.name,t.range,this.strictExportPresence);r.asiSafe=!e.isAsiPosition(t.range[0]);r.loc=t.loc;e.state.module.addDependency(r);i.onUsage(e.state,e=>r.usedByExports=e);return true});e.hooks.callMemberChain.for(d).tap("HarmonyImportDependencyParserPlugin",(t,n)=>{const{arguments:s,callee:o}=t;const r=e.currentTagData;const a=r.ids.concat(n);const c=new l(r.source,r.sourceOrder,a,r.name,o.range,this.strictExportPresence);c.directImport=n.length===0;c.call=true;c.asiSafe=!e.isAsiPosition(o.range[0]);c.namespaceObjectAsContext=n.length>0&&this.strictThisContextOnImports;c.loc=o.loc;e.state.module.addDependency(c);if(s)e.walkExpressions(s);i.onUsage(e.state,e=>c.usedByExports=e);return true});const{hotAcceptCallback:t,hotAcceptWithoutCallback:n}=s.getParserHooks(e);t.tap("HarmonyImportDependencyParserPlugin",(t,n)=>{if(!c.isEnabled(e.state)){return}const s=n.map(n=>{const s=new a(n);s.loc=t.loc;e.state.module.addDependency(s);return s});if(s.length>0){const n=new r(t.range,s,true);n.loc=t.loc;e.state.module.addDependency(n)}});n.tap("HarmonyImportDependencyParserPlugin",(t,n)=>{if(!c.isEnabled(e.state)){return}const s=n.map(n=>{const s=new a(n);s.loc=t.loc;e.state.module.addDependency(s);return s});if(s.length>0){const n=new r(t.range,s,false);n.loc=t.loc;e.state.module.addDependency(n)}})}};e.exports.harmonySpecifierTag=d},73132:(e,t,n)=>{"use strict";const s=n(33032);const i=n(57154);class HarmonyImportSideEffectDependency extends i{constructor(e,t){super(e,t)}get type(){return"harmony side effect evaluation"}getCondition(e){return t=>{const n=t.resolvedModule;if(!n)return true;return n.getSideEffectsConnectionState(e)}}getModuleEvaluationSideEffectsState(e){const t=e.getModule(this);if(!t)return true;return t.getSideEffectsConnectionState(e)}}s(HarmonyImportSideEffectDependency,"webpack/lib/dependencies/HarmonyImportSideEffectDependency");HarmonyImportSideEffectDependency.Template=class HarmonyImportSideEffectDependencyTemplate extends i.Template{apply(e,t,n){const{moduleGraph:s,concatenationScope:i}=n;if(i){const t=s.getModule(e);if(i.isModuleInScope(t)){return}}super.apply(e,t,n)}};e.exports=HarmonyImportSideEffectDependency},14077:(e,t,n)=>{"use strict";const s=n(54912);const{UsageState:i}=n(63686);const o=n(33032);const r=n(54190);const a=n(57154);const c=Symbol("HarmonyImportSpecifierDependency.ids");class HarmonyImportSpecifierDependency extends a{constructor(e,t,n,s,i,o){super(e,t);this.ids=n;this.name=s;this.range=i;this.strictExportPresence=o;this.namespaceObjectAsContext=false;this.call=undefined;this.directImport=undefined;this.shorthand=undefined;this.asiSafe=undefined;this.usedByExports=undefined}get id(){throw new Error("id was renamed to ids and type changed to string[]")}getId(){throw new Error("id was renamed to ids and type changed to string[]")}setId(){throw new Error("id was renamed to ids and type changed to string[]")}get type(){return"harmony import specifier"}getIds(e){return e.getMeta(this)[c]||this.ids}setIds(e,t){e.getMeta(this)[c]=t}getCondition(e){return(t,n)=>this.checkUsedByExports(e,n)}getModuleEvaluationSideEffectsState(e){return false}checkUsedByExports(e,t){if(this.usedByExports===false)return false;if(this.usedByExports!==true&&this.usedByExports!==undefined){const n=e.getParentModule(this);const s=e.getExportsInfo(n);let o=false;for(const e of this.usedByExports){if(s.getUsed(e,t)!==i.Unused)o=true}if(!o)return false}return true}getReferencedExports(e,t){let n=this.getIds(e);if(n.length>0&&n[0]==="default"){const t=e.getParentModule(this);const i=e.getModule(this);switch(i.getExportsType(e,t.buildMeta.strictHarmonyModule)){case"default-only":case"default-with-named":if(n.length===1)return s.EXPORTS_OBJECT_REFERENCED;n=n.slice(1);break;case"dynamic":return s.EXPORTS_OBJECT_REFERENCED}}if(this.namespaceObjectAsContext){if(n.length===1)return s.EXPORTS_OBJECT_REFERENCED;n=n.slice(0,-1)}return[n]}getWarnings(e){if(this.strictExportPresence||e.getParentModule(this).buildMeta.strictHarmonyModule){return null}return this._getErrors(e)}getErrors(e){if(this.strictExportPresence||e.getParentModule(this).buildMeta.strictHarmonyModule){return this._getErrors(e)}return null}_getErrors(e){const t=this.getIds(e);return this.getLinkingErrors(e,t,`(imported as '${this.name}')`)}getNumberOfIdOccurrences(){return 0}updateHash(e,t){const{chunkGraph:n,runtime:s}=t;super.updateHash(e,t);const i=n.moduleGraph;const o=i.getModule(this);const r=this.getIds(i);e.update(r.join());if(o){const t=i.getExportsInfo(o);e.update(`${t.getUsedName(r,s)}`)}}serialize(e){const{write:t}=e;t(this.ids);t(this.name);t(this.range);t(this.strictExportPresence);t(this.namespaceObjectAsContext);t(this.call);t(this.directImport);t(this.shorthand);t(this.asiSafe);t(this.usedByExports);super.serialize(e)}deserialize(e){const{read:t}=e;this.ids=t();this.name=t();this.range=t();this.strictExportPresence=t();this.namespaceObjectAsContext=t();this.call=t();this.directImport=t();this.shorthand=t();this.asiSafe=t();this.usedByExports=t();super.deserialize(e)}}o(HarmonyImportSpecifierDependency,"webpack/lib/dependencies/HarmonyImportSpecifierDependency");HarmonyImportSpecifierDependency.Template=class HarmonyImportSpecifierDependencyTemplate extends a.Template{apply(e,t,n){const s=e;const{moduleGraph:i,module:o,runtime:a,concatenationScope:c}=n;const u=i.getConnection(s);if(u&&!u.isTargetActive(a))return;const l=s.getIds(i);let d;if(u&&c&&c.isModuleInScope(u.module)){if(l.length===0){d=c.createModuleReference(u.module,{asiSafe:s.asiSafe})}else if(s.namespaceObjectAsContext&&l.length===1){d=c.createModuleReference(u.module,{asiSafe:s.asiSafe})+r(l)}else{d=c.createModuleReference(u.module,{ids:l,call:s.call,directImport:s.directImport,asiSafe:s.asiSafe})}}else{super.apply(e,t,n);const{runtimeTemplate:r,initFragments:c,runtimeRequirements:u}=n;d=r.exportFromImport({moduleGraph:i,module:i.getModule(s),request:s.request,exportName:l,originModule:o,asiSafe:s.shorthand?true:s.asiSafe,isCall:s.call,callContext:!s.directImport,defaultInterop:true,importVar:s.getImportVar(i),initFragments:c,runtime:a,runtimeRequirements:u})}if(s.shorthand){t.insert(s.range[1],`: ${d}`)}else{t.replace(s.range[0],s.range[1]-1,d)}}};e.exports=HarmonyImportSpecifierDependency},39029:(e,t,n)=>{"use strict";const s=n(23624);const i=n(99843);const o=n(72906);const r=n(51340);const a=n(38873);const c=n(67157);const u=n(48567);const l=n(73132);const d=n(14077);const p=n(17223);const h=n(93466);const f=n(20862);const m=n(63232);class HarmonyModulesPlugin{constructor(e){this.options=e}apply(e){e.hooks.compilation.tap("HarmonyModulesPlugin",(e,{normalModuleFactory:t})=>{e.dependencyTemplates.set(o,new o.Template);e.dependencyFactories.set(l,t);e.dependencyTemplates.set(l,new l.Template);e.dependencyFactories.set(d,t);e.dependencyTemplates.set(d,new d.Template);e.dependencyTemplates.set(a,new a.Template);e.dependencyTemplates.set(r,new r.Template);e.dependencyTemplates.set(u,new u.Template);e.dependencyFactories.set(c,t);e.dependencyTemplates.set(c,new c.Template);e.dependencyTemplates.set(s,new s.Template);e.dependencyFactories.set(i,t);e.dependencyTemplates.set(i,new i.Template);const n=(e,t)=>{if(t.harmony!==undefined&&!t.harmony)return;new p(this.options).apply(e);new f(this.options).apply(e);new h(this.options).apply(e);(new m).apply(e)};t.hooks.parser.for("javascript/auto").tap("HarmonyModulesPlugin",n);t.hooks.parser.for("javascript/esm").tap("HarmonyModulesPlugin",n)})}}e.exports=HarmonyModulesPlugin},63232:(e,t,n)=>{"use strict";const s=n(76911);const i=n(39211);class HarmonyTopLevelThisParserPlugin{apply(e){e.hooks.expression.for("this").tap("HarmonyTopLevelThisParserPlugin",t=>{if(!e.scope.topLevelScope)return;if(i.isEnabled(e.state)){const n=new s("undefined",t.range,null);n.loc=t.loc;e.state.module.addPresentationalDependency(n);return this}})}}e.exports=HarmonyTopLevelThisParserPlugin},1902:(e,t,n)=>{"use strict";const s=n(33032);const i=n(88101);const o=n(75815);class ImportContextDependency extends i{constructor(e,t,n){super(e);this.range=t;this.valueRange=n}get type(){return`import() context ${this.options.mode}`}get category(){return"esm"}serialize(e){const{write:t}=e;t(this.range);t(this.valueRange);super.serialize(e)}deserialize(e){const{read:t}=e;this.range=t();this.valueRange=t();super.deserialize(e)}}s(ImportContextDependency,"webpack/lib/dependencies/ImportContextDependency");ImportContextDependency.Template=o;e.exports=ImportContextDependency},89376:(e,t,n)=>{"use strict";const s=n(54912);const i=n(33032);const o=n(80321);class ImportDependency extends o{constructor(e,t,n){super(e);this.range=t;this.referencedExports=n}get type(){return"import()"}get category(){return"esm"}getReferencedExports(e,t){return this.referencedExports?this.referencedExports.map(e=>({name:e,canMangle:false})):s.EXPORTS_OBJECT_REFERENCED}serialize(e){e.write(this.range);e.write(this.referencedExports);super.serialize(e)}deserialize(e){this.range=e.read();this.referencedExports=e.read();super.deserialize(e)}}i(ImportDependency,"webpack/lib/dependencies/ImportDependency");ImportDependency.Template=class ImportDependencyTemplate extends o.Template{apply(e,t,{runtimeTemplate:n,module:s,moduleGraph:i,chunkGraph:o,runtimeRequirements:r}){const a=e;const c=i.getParentBlock(a);const u=n.moduleNamespacePromise({chunkGraph:o,block:c,module:i.getModule(a),request:a.request,strict:s.buildMeta.strictHarmonyModule,message:"import()",runtimeRequirements:r});t.replace(a.range[0],a.range[1]-1,u)}};e.exports=ImportDependency},50718:(e,t,n)=>{"use strict";const s=n(33032);const i=n(89376);class ImportEagerDependency extends i{constructor(e,t,n){super(e,t,n)}get type(){return"import() eager"}get category(){return"esm"}}s(ImportEagerDependency,"webpack/lib/dependencies/ImportEagerDependency");ImportEagerDependency.Template=class ImportEagerDependencyTemplate extends i.Template{apply(e,t,{runtimeTemplate:n,module:s,moduleGraph:i,chunkGraph:o,runtimeRequirements:r}){const a=e;const c=n.moduleNamespacePromise({chunkGraph:o,module:i.getModule(a),request:a.request,strict:s.buildMeta.strictHarmonyModule,message:"import() eager",runtimeRequirements:r});t.replace(a.range[0],a.range[1]-1,c)}};e.exports=ImportEagerDependency},51274:(e,t,n)=>{"use strict";const s=n(33032);const i=n(80321);const o=n(80825);class ImportMetaHotAcceptDependency extends i{constructor(e,t){super(e);this.range=t;this.weak=true}get type(){return"import.meta.webpackHot.accept"}get category(){return"esm"}}s(ImportMetaHotAcceptDependency,"webpack/lib/dependencies/ImportMetaHotAcceptDependency");ImportMetaHotAcceptDependency.Template=o;e.exports=ImportMetaHotAcceptDependency},53141:(e,t,n)=>{"use strict";const s=n(33032);const i=n(80321);const o=n(80825);class ImportMetaHotDeclineDependency extends i{constructor(e,t){super(e);this.range=t;this.weak=true}get type(){return"import.meta.webpackHot.decline"}get category(){return"esm"}}s(ImportMetaHotDeclineDependency,"webpack/lib/dependencies/ImportMetaHotDeclineDependency");ImportMetaHotDeclineDependency.Template=o;e.exports=ImportMetaHotDeclineDependency},17228:(e,t,n)=>{"use strict";const{pathToFileURL:s}=n(78835);const i=n(29656);const o=n(1626);const r=n(950);const{evaluateToIdentifier:a,toConstantDependency:c,evaluateToString:u,evaluateToNumber:l}=n(93998);const d=n(6157);const p=n(54190);const h=n(76911);const f=d(()=>n(15427));class ImportMetaPlugin{apply(e){e.hooks.compilation.tap("ImportMetaPlugin",(e,{normalModuleFactory:t})=>{const d=e=>{return s(e.resource).toString()};const m=(e,t)=>{e.hooks.typeof.for("import.meta").tap("ImportMetaPlugin",c(e,JSON.stringify("object")));e.hooks.expression.for("import.meta").tap("ImportMetaPlugin",t=>{const n=f();e.state.module.addWarning(new i(e.state.module,new n("Accessing import.meta directly is unsupported (only property access is supported)"),t.loc));const s=new h(`${e.isAsiPosition(t.range[0])?";":""}({})`,t.range);s.loc=t.loc;e.state.module.addPresentationalDependency(s);return true});e.hooks.evaluateTypeof.for("import.meta").tap("ImportMetaPlugin",u("object"));e.hooks.evaluateIdentifier.for("import.meta").tap("ImportMetaPlugin",a("import.meta","import.meta",()=>[],true));e.hooks.typeof.for("import.meta.url").tap("ImportMetaPlugin",c(e,JSON.stringify("string")));e.hooks.expression.for("import.meta.url").tap("ImportMetaPlugin",t=>{const n=new h(JSON.stringify(d(e.state.module)),t.range);n.loc=t.loc;e.state.module.addPresentationalDependency(n);return true});e.hooks.evaluateTypeof.for("import.meta.url").tap("ImportMetaPlugin",u("string"));e.hooks.evaluateIdentifier.for("import.meta.url").tap("ImportMetaPlugin",t=>{return(new r).setString(d(e.state.module)).setRange(t.range)});const s=parseInt(n(87168).i8,10);e.hooks.typeof.for("import.meta.webpack").tap("ImportMetaPlugin",c(e,JSON.stringify("number")));e.hooks.expression.for("import.meta.webpack").tap("ImportMetaPlugin",c(e,JSON.stringify(s)));e.hooks.evaluateTypeof.for("import.meta.webpack").tap("ImportMetaPlugin",u("number"));e.hooks.evaluateIdentifier.for("import.meta.webpack").tap("ImportMetaPlugin",l(s));e.hooks.unhandledExpressionMemberChain.for("import.meta").tap("ImportMetaPlugin",(t,n)=>{const s=new h(`${o.toNormalComment("unsupported import.meta."+n.join("."))} undefined${p(n,1)}`,t.range);s.loc=t.loc;e.state.module.addPresentationalDependency(s);return true});e.hooks.evaluate.for("MemberExpression").tap("ImportMetaPlugin",e=>{const t=e;if(t.object.type==="MetaProperty"&&t.property.type===(t.computed?"Literal":"Identifier")){return(new r).setUndefined().setRange(t.range)}})};t.hooks.parser.for("javascript/auto").tap("ImportMetaPlugin",m);t.hooks.parser.for("javascript/esm").tap("ImportMetaPlugin",m)})}}e.exports=ImportMetaPlugin},88130:(e,t,n)=>{"use strict";const s=n(47736);const i=n(98427);const o=n(42495);const r=n(99630);const a=n(1902);const c=n(89376);const u=n(50718);const l=n(82483);class ImportParserPlugin{constructor(e){this.options=e}apply(e){e.hooks.importCall.tap("ImportParserPlugin",t=>{const n=e.evaluateExpression(t.source);let d=null;let p="lazy";let h=null;let f=null;let m=null;const g={};const{options:y,errors:v}=e.parseCommentOptions(t.range);if(v){for(const t of v){const{comment:n}=t;e.state.module.addWarning(new i(`Compilation error while processing magic comment(-s): /*${n.value}*/: ${t.message}`,n.loc))}}if(y){if(y.webpackIgnore!==undefined){if(typeof y.webpackIgnore!=="boolean"){e.state.module.addWarning(new o(`\`webpackIgnore\` expected a boolean, but received: ${y.webpackIgnore}.`,t.loc))}else{if(y.webpackIgnore){return false}}}if(y.webpackChunkName!==undefined){if(typeof y.webpackChunkName!=="string"){e.state.module.addWarning(new o(`\`webpackChunkName\` expected a string, but received: ${y.webpackChunkName}.`,t.loc))}else{d=y.webpackChunkName}}if(y.webpackMode!==undefined){if(typeof y.webpackMode!=="string"){e.state.module.addWarning(new o(`\`webpackMode\` expected a string, but received: ${y.webpackMode}.`,t.loc))}else{p=y.webpackMode}}if(y.webpackPrefetch!==undefined){if(y.webpackPrefetch===true){g.prefetchOrder=0}else if(typeof y.webpackPrefetch==="number"){g.prefetchOrder=y.webpackPrefetch}else{e.state.module.addWarning(new o(`\`webpackPrefetch\` expected true or a number, but received: ${y.webpackPrefetch}.`,t.loc))}}if(y.webpackPreload!==undefined){if(y.webpackPreload===true){g.preloadOrder=0}else if(typeof y.webpackPreload==="number"){g.preloadOrder=y.webpackPreload}else{e.state.module.addWarning(new o(`\`webpackPreload\` expected true or a number, but received: ${y.webpackPreload}.`,t.loc))}}if(y.webpackInclude!==undefined){if(!y.webpackInclude||y.webpackInclude.constructor.name!=="RegExp"){e.state.module.addWarning(new o(`\`webpackInclude\` expected a regular expression, but received: ${y.webpackInclude}.`,t.loc))}else{h=new RegExp(y.webpackInclude)}}if(y.webpackExclude!==undefined){if(!y.webpackExclude||y.webpackExclude.constructor.name!=="RegExp"){e.state.module.addWarning(new o(`\`webpackExclude\` expected a regular expression, but received: ${y.webpackExclude}.`,t.loc))}else{f=new RegExp(y.webpackExclude)}}if(y.webpackExports!==undefined){if(!(typeof y.webpackExports==="string"||Array.isArray(y.webpackExports)&&y.webpackExports.every(e=>typeof e==="string"))){e.state.module.addWarning(new o(`\`webpackExports\` expected a string or an array of strings, but received: ${y.webpackExports}.`,t.loc))}else{if(typeof y.webpackExports==="string"){m=[[y.webpackExports]]}else{m=Array.from(y.webpackExports,e=>[e])}}}}if(n.isString()){if(p!=="lazy"&&p!=="eager"&&p!=="weak"){e.state.module.addWarning(new o(`\`webpackMode\` expected 'lazy', 'eager' or 'weak', but received: ${p}.`,t.loc))}if(p==="eager"){const s=new u(n.string,t.range,m);e.state.current.addDependency(s)}else if(p==="weak"){const s=new l(n.string,t.range,m);e.state.current.addDependency(s)}else{const i=new s({...g,name:d},t.loc,n.string);const o=new c(n.string,t.range,m);o.loc=t.loc;i.addDependency(o);e.state.current.addBlock(i)}return true}else{if(p!=="lazy"&&p!=="lazy-once"&&p!=="eager"&&p!=="weak"){e.state.module.addWarning(new o(`\`webpackMode\` expected 'lazy', 'lazy-once', 'eager' or 'weak', but received: ${p}.`,t.loc));p="lazy"}if(p==="weak"){p="async-weak"}const s=r.create(a,t.range,n,t,this.options,{chunkName:d,groupOptions:g,include:h,exclude:f,mode:p,namespaceObject:e.state.module.buildMeta.strictHarmonyModule?"strict":true,category:"esm",referencedExports:m},e);if(!s)return;s.loc=t.loc;s.optional=!!e.scope.inTry;e.state.current.addDependency(s);return true}})}}e.exports=ImportParserPlugin},41293:(e,t,n)=>{"use strict";const s=n(1902);const i=n(89376);const o=n(50718);const r=n(88130);const a=n(82483);class ImportPlugin{constructor(e){this.options=e}apply(e){const t=this.options;e.hooks.compilation.tap("ImportPlugin",(e,{contextModuleFactory:n,normalModuleFactory:c})=>{e.dependencyFactories.set(i,c);e.dependencyTemplates.set(i,new i.Template);e.dependencyFactories.set(o,c);e.dependencyTemplates.set(o,new o.Template);e.dependencyFactories.set(a,c);e.dependencyTemplates.set(a,new a.Template);e.dependencyFactories.set(s,n);e.dependencyTemplates.set(s,new s.Template);const u=(e,n)=>{if(n.import!==undefined&&!n.import)return;new r(t).apply(e)};c.hooks.parser.for("javascript/auto").tap("ImportPlugin",u);c.hooks.parser.for("javascript/dynamic").tap("ImportPlugin",u);c.hooks.parser.for("javascript/esm").tap("ImportPlugin",u)})}}e.exports=ImportPlugin},82483:(e,t,n)=>{"use strict";const s=n(33032);const i=n(89376);class ImportWeakDependency extends i{constructor(e,t,n){super(e,t,n);this.weak=true}get type(){return"import() weak"}}s(ImportWeakDependency,"webpack/lib/dependencies/ImportWeakDependency");ImportWeakDependency.Template=class ImportDependencyTemplate extends i.Template{apply(e,t,{runtimeTemplate:n,module:s,moduleGraph:i,chunkGraph:o,runtimeRequirements:r}){const a=e;const c=n.moduleNamespacePromise({chunkGraph:o,module:i.getModule(a),request:a.request,strict:s.buildMeta.strictHarmonyModule,message:"import() weak",weak:true,runtimeRequirements:r});t.replace(a.range[0],a.range[1]-1,c)}};e.exports=ImportWeakDependency},750:(e,t,n)=>{"use strict";const s=n(33032);const i=n(31830);const o=e=>{if(e&&typeof e==="object"){if(Array.isArray(e)){return e.map((e,t)=>{return{name:`${t}`,canMangle:true,exports:o(e)}})}else{const t=[];for(const n of Object.keys(e)){t.push({name:n,canMangle:true,exports:o(e[n])})}return t}}return undefined};class JsonExportsDependency extends i{constructor(e){super();this.exports=e}get type(){return"json exports"}getExports(e){return{exports:this.exports,dependencies:undefined}}updateHash(e,t){e.update(this.exports?JSON.stringify(this.exports):"undefined");super.updateHash(e,t)}serialize(e){const{write:t}=e;t(this.exports);super.serialize(e)}deserialize(e){const{read:t}=e;this.exports=t();super.deserialize(e)}}s(JsonExportsDependency,"webpack/lib/dependencies/JsonExportsDependency");e.exports=JsonExportsDependency;e.exports.getExportsFromData=o},71693:(e,t,n)=>{"use strict";const s=n(80321);class LoaderDependency extends s{constructor(e){super(e)}get type(){return"loader"}get category(){return"loader"}}e.exports=LoaderDependency},24721:(e,t,n)=>{"use strict";const s=n(39);const i=n(38938);const o=n(71693);class LoaderPlugin{apply(e){e.hooks.compilation.tap("LoaderPlugin",(e,{normalModuleFactory:t})=>{e.dependencyFactories.set(o,t)});e.hooks.compilation.tap("LoaderPlugin",e=>{const t=e.moduleGraph;s.getCompilationHooks(e).loader.tap("LoaderPlugin",n=>{n.loadModule=((s,r)=>{const a=new o(s);a.loc={name:s};const c=e.dependencyFactories.get(a.constructor);if(c===undefined){return r(new Error(`No module factory available for dependency type: ${a.constructor.name}`))}e.buildQueue.increaseParallelism();e.handleModuleCreation({factory:c,dependencies:[a],originModule:n._module,context:n.context,recursive:false},s=>{e.buildQueue.decreaseParallelism();if(s){return r(s)}const o=t.getModule(a);if(!o){return r(new Error("Cannot load the module"))}const c=o.originalSource();if(!c){throw new Error("The module created for a LoaderDependency must have an original source")}let u,l;if(c.sourceAndMap){const e=c.sourceAndMap();l=e.map;u=e.source}else{l=c.map();u=c.source()}const d=new i;const p=new i;const h=new i;const f=new i;o.addCacheDependencies(d,p,h,f);for(const e of d){n.addDependency(e)}for(const e of p){n.addContextDependency(e)}for(const e of h){n.addMissingDependency(e)}for(const e of f){n.addBuildDependency(e)}return r(null,u,l,o)})})})})}}e.exports=LoaderPlugin},5826:(e,t,n)=>{"use strict";const s=n(33032);class LocalModule{constructor(e,t){this.name=e;this.idx=t;this.used=false}flagUsed(){this.used=true}variableName(){return"__WEBPACK_LOCAL_MODULE_"+this.idx+"__"}serialize(e){const{write:t}=e;t(this.name);t(this.idx);t(this.used)}deserialize(e){const{read:t}=e;this.name=t();this.idx=t();this.used=t()}}s(LocalModule,"webpack/lib/dependencies/LocalModule");e.exports=LocalModule},52805:(e,t,n)=>{"use strict";const s=n(33032);const i=n(31830);class LocalModuleDependency extends i{constructor(e,t,n){super();this.localModule=e;this.range=t;this.callNew=n}serialize(e){const{write:t}=e;t(this.localModule);t(this.range);t(this.callNew);super.serialize(e)}deserialize(e){const{read:t}=e;this.localModule=t();this.range=t();this.callNew=t();super.deserialize(e)}}s(LocalModuleDependency,"webpack/lib/dependencies/LocalModuleDependency");LocalModuleDependency.Template=class LocalModuleDependencyTemplate extends i.Template{apply(e,t,n){const s=e;if(!s.range)return;const i=s.callNew?`new (function () { return ${s.localModule.variableName()}; })()`:s.localModule.variableName();t.replace(s.range[0],s.range[1]-1,i)}};e.exports=LocalModuleDependency},75827:(e,t,n)=>{"use strict";const s=n(5826);const i=(e,t)=>{if(t.charAt(0)!==".")return t;var n=e.split("/");var s=t.split("/");n.pop();for(let e=0;e{if(!e.localModules){e.localModules=[]}const n=new s(t,e.localModules.length);e.localModules.push(n);return n});t.getLocalModule=((e,t,n)=>{if(!e.localModules)return null;if(n){t=i(n,t)}for(let n=0;n{"use strict";const s=n(54912);const i=n(55870);const o=n(16475);const r=n(33032);const a=n(31830);class ModuleDecoratorDependency extends a{constructor(e,t){super();this.decorator=e;this.allowExportsAccess=t}get type(){return"module decorator"}get category(){return"self"}getResourceIdentifier(){return`self`}getReferencedExports(e,t){return this.allowExportsAccess?s.EXPORTS_OBJECT_REFERENCED:s.NO_EXPORTS_REFERENCED}updateHash(e,t){super.updateHash(e,t);e.update(this.decorator);e.update(`${this.allowExportsAccess}`)}serialize(e){const{write:t}=e;t(this.decorator);t(this.allowExportsAccess);super.serialize(e)}deserialize(e){const{read:t}=e;this.decorator=t();this.allowExportsAccess=t();super.deserialize(e)}}r(ModuleDecoratorDependency,"webpack/lib/dependencies/ModuleDecoratorDependency");ModuleDecoratorDependency.Template=class ModuleDecoratorDependencyTemplate extends a.Template{apply(e,t,{module:n,chunkGraph:s,initFragments:r,runtimeRequirements:a}){const c=e;a.add(o.moduleLoaded);a.add(o.moduleId);a.add(o.module);a.add(c.decorator);r.push(new i(`/* module decorator */ ${n.moduleArgument} = ${c.decorator}(${n.moduleArgument});\n`,i.STAGE_PROVIDES,0,`module decorator ${s.getModuleId(n)}`))}};e.exports=ModuleDecoratorDependency},80321:(e,t,n)=>{"use strict";const s=n(54912);const i=n(5160);class ModuleDependency extends s{constructor(e){super();this.request=e;this.userRequest=e;this.range=undefined}getResourceIdentifier(){return`module${this.request}`}serialize(e){const{write:t}=e;t(this.request);t(this.userRequest);t(this.range);super.serialize(e)}deserialize(e){const{read:t}=e;this.request=t();this.userRequest=t();this.range=t();super.deserialize(e)}}ModuleDependency.Template=i;e.exports=ModuleDependency},80825:(e,t,n)=>{"use strict";const s=n(80321);class ModuleDependencyTemplateAsId extends s.Template{apply(e,t,{runtimeTemplate:n,moduleGraph:s,chunkGraph:i}){const o=e;if(!o.range)return;const r=n.moduleId({module:s.getModule(o),chunkGraph:i,request:o.request,weak:o.weak});t.replace(o.range[0],o.range[1]-1,r)}}e.exports=ModuleDependencyTemplateAsId},36873:(e,t,n)=>{"use strict";const s=n(80321);class ModuleDependencyTemplateAsRequireId extends s.Template{apply(e,t,{runtimeTemplate:n,moduleGraph:s,chunkGraph:i,runtimeRequirements:o}){const r=e;if(!r.range)return;const a=n.moduleExports({module:s.getModule(r),chunkGraph:i,request:r.request,weak:r.weak,runtimeRequirements:o});t.replace(r.range[0],r.range[1]-1,a)}}e.exports=ModuleDependencyTemplateAsRequireId},47511:(e,t,n)=>{"use strict";const s=n(33032);const i=n(80321);const o=n(80825);class ModuleHotAcceptDependency extends i{constructor(e,t){super(e);this.range=t;this.weak=true}get type(){return"module.hot.accept"}get category(){return"commonjs"}}s(ModuleHotAcceptDependency,"webpack/lib/dependencies/ModuleHotAcceptDependency");ModuleHotAcceptDependency.Template=o;e.exports=ModuleHotAcceptDependency},86301:(e,t,n)=>{"use strict";const s=n(33032);const i=n(80321);const o=n(80825);class ModuleHotDeclineDependency extends i{constructor(e,t){super(e);this.range=t;this.weak=true}get type(){return"module.hot.decline"}get category(){return"commonjs"}}s(ModuleHotDeclineDependency,"webpack/lib/dependencies/ModuleHotDeclineDependency");ModuleHotDeclineDependency.Template=o;e.exports=ModuleHotDeclineDependency},31830:(e,t,n)=>{"use strict";const s=n(54912);const i=n(5160);class NullDependency extends s{get type(){return"null"}updateHash(e,t){}serialize({write:e}){e(this.loc)}deserialize({read:e}){this.loc=e()}}NullDependency.Template=class NullDependencyTemplate extends i{apply(e,t,n){}};e.exports=NullDependency},19563:(e,t,n)=>{"use strict";const s=n(80321);class PrefetchDependency extends s{constructor(e){super(e)}get type(){return"prefetch"}get category(){return"esm"}}e.exports=PrefetchDependency},95770:(e,t,n)=>{"use strict";const s=n(55870);const i=n(33032);const o=n(80321);const r=e=>e!==null&&e.length>0?e.map(e=>`[${JSON.stringify(e)}]`).join(""):"";class ProvidedDependency extends o{constructor(e,t,n,s){super(e);this.identifier=t;this.path=n;this.range=s}get type(){return"provided"}get category(){return"esm"}updateHash(e,t){super.updateHash(e,t);e.update(this.identifier);e.update(this.path?this.path.join(","):"null")}serialize(e){const{write:t}=e;t(this.identifier);t(this.path);super.serialize(e)}deserialize(e){const{read:t}=e;this.identifier=t();this.path=t();super.deserialize(e)}}i(ProvidedDependency,"webpack/lib/dependencies/ProvidedDependency");class ProvidedDependencyTemplate extends o.Template{apply(e,t,{runtimeTemplate:n,moduleGraph:i,chunkGraph:o,initFragments:a,runtimeRequirements:c}){const u=e;a.push(new s(`/* provided dependency */ var ${u.identifier} = ${n.moduleExports({module:i.getModule(u),chunkGraph:o,request:u.request,runtimeRequirements:c})}${r(u.path)};\n`,s.STAGE_PROVIDES,1,`provided ${u.identifier}`));t.replace(u.range[0],u.range[1]-1,u.identifier)}}ProvidedDependency.Template=ProvidedDependencyTemplate;e.exports=ProvidedDependency},55799:(e,t,n)=>{"use strict";const{UsageState:s}=n(63686);const i=n(33032);const{filterRuntime:o}=n(17156);const r=n(31830);class PureExpressionDependency extends r{constructor(e){super();this.range=e;this.usedByExports=false}updateHash(e,t){e.update(this.range+"")}getModuleEvaluationSideEffectsState(e){return false}serialize(e){const{write:t}=e;t(this.range);t(this.usedByExports);super.serialize(e)}deserialize(e){const{read:t}=e;this.range=t();this.usedByExports=t();super.deserialize(e)}}i(PureExpressionDependency,"webpack/lib/dependencies/PureExpressionDependency");PureExpressionDependency.Template=class PureExpressionDependencyTemplate extends r.Template{apply(e,t,{chunkGraph:n,moduleGraph:i,runtime:r,runtimeTemplate:a,runtimeRequirements:c}){const u=e;const l=u.usedByExports;if(l!==false){const e=i.getParentModule(u);const d=i.getExportsInfo(e);const p=o(r,e=>{for(const t of l){if(d.getUsed(t,e)!==s.Unused){return true}}return false});if(p===true)return;if(p!==false){const e=a.runtimeConditionExpression({chunkGraph:n,runtime:r,runtimeCondition:p,runtimeRequirements:c});t.insert(u.range[0],`(/* runtime-dependent pure expression or super */ ${e} ? (`);t.insert(u.range[1],") : null)");return}}t.insert(u.range[0],`(/* unused pure expression or super */ null && (`);t.insert(u.range[1],"))")}};e.exports=PureExpressionDependency},46917:(e,t,n)=>{"use strict";const s=n(33032);const i=n(88101);const o=n(36873);class RequireContextDependency extends i{constructor(e,t){super(e);this.range=t}get type(){return"require.context"}serialize(e){const{write:t}=e;t(this.range);super.serialize(e)}deserialize(e){const{read:t}=e;this.range=t();super.deserialize(e)}}s(RequireContextDependency,"webpack/lib/dependencies/RequireContextDependency");RequireContextDependency.Template=o;e.exports=RequireContextDependency},18851:(e,t,n)=>{"use strict";const s=n(46917);e.exports=class RequireContextDependencyParserPlugin{apply(e){e.hooks.call.for("require.context").tap("RequireContextDependencyParserPlugin",t=>{let n=/^\.\/.*$/;let i=true;let o="sync";switch(t.arguments.length){case 4:{const n=e.evaluateExpression(t.arguments[3]);if(!n.isString())return;o=n.string}case 3:{const s=e.evaluateExpression(t.arguments[2]);if(!s.isRegExp())return;n=s.regExp}case 2:{const n=e.evaluateExpression(t.arguments[1]);if(!n.isBoolean())return;i=n.bool}case 1:{const r=e.evaluateExpression(t.arguments[0]);if(!r.isString())return;const a=new s({request:r.string,recursive:i,regExp:n,mode:o,category:"commonjs"},t.range);a.loc=t.loc;a.optional=!!e.scope.inTry;e.state.current.addDependency(a);return true}}})}}},2928:(e,t,n)=>{"use strict";const{cachedSetProperty:s}=n(60839);const i=n(58477);const o=n(46917);const r=n(18851);const a={};class RequireContextPlugin{apply(e){e.hooks.compilation.tap("RequireContextPlugin",(t,{contextModuleFactory:n,normalModuleFactory:c})=>{t.dependencyFactories.set(o,n);t.dependencyTemplates.set(o,new o.Template);t.dependencyFactories.set(i,c);const u=(e,t)=>{if(t.requireContext!==undefined&&!t.requireContext)return;(new r).apply(e)};c.hooks.parser.for("javascript/auto").tap("RequireContextPlugin",u);c.hooks.parser.for("javascript/dynamic").tap("RequireContextPlugin",u);n.hooks.alternativeRequests.tap("RequireContextPlugin",(t,n)=>{if(t.length===0)return t;const i=e.resolverFactory.get("normal",s(n.resolveOptions||a,"dependencyType",n.category)).options;let o;if(!i.fullySpecified){o=[];for(const e of t){const{request:t,context:n}=e;for(const e of i.extensions){if(t.endsWith(e)){o.push({context:n,request:t.slice(0,-e.length)})}}if(!i.enforceExtension){o.push(e)}}t=o;o=[];for(const e of t){const{request:t,context:n}=e;for(const e of i.mainFiles){if(t.endsWith(`/${e}`)){o.push({context:n,request:t.slice(0,-e.length)});o.push({context:n,request:t.slice(0,-e.length-1)})}}o.push(e)}t=o}o=[];for(const e of t){let t=false;for(const n of i.modules){if(Array.isArray(n)){for(const s of n){if(e.request.startsWith(`./${s}/`)){o.push({context:e.context,request:e.request.slice(s.length+3)});t=true}}}else{const t=n.replace(/\\/g,"/");const s=e.context.replace(/\\/g,"/")+e.request.slice(1);if(s.startsWith(t)){o.push({context:e.context,request:s.slice(t.length+1)})}}}if(!t){o.push(e)}}return o})})}}e.exports=RequireContextPlugin},27153:(e,t,n)=>{"use strict";const s=n(47736);const i=n(33032);class RequireEnsureDependenciesBlock extends s{constructor(e,t){super(e,t,null)}}i(RequireEnsureDependenciesBlock,"webpack/lib/dependencies/RequireEnsureDependenciesBlock");e.exports=RequireEnsureDependenciesBlock},7235:(e,t,n)=>{"use strict";const s=n(27153);const i=n(27223);const o=n(50329);const r=n(50396);e.exports=class RequireEnsureDependenciesBlockParserPlugin{apply(e){e.hooks.call.for("require.ensure").tap("RequireEnsureDependenciesBlockParserPlugin",t=>{let n=null;let a=null;let c=null;switch(t.arguments.length){case 4:{const s=e.evaluateExpression(t.arguments[3]);if(!s.isString())return;n=s.string}case 3:{a=t.arguments[2];c=r(a);if(!c&&!n){const s=e.evaluateExpression(t.arguments[2]);if(!s.isString())return;n=s.string}}case 2:{const u=e.evaluateExpression(t.arguments[0]);const l=u.isArray()?u.items:[u];const d=t.arguments[1];const p=r(d);if(p){e.walkExpressions(p.expressions)}if(c){e.walkExpressions(c.expressions)}const h=new s(n,t.loc);const f=t.arguments.length===4||!n&&t.arguments.length===3;const m=new i(t.range,t.arguments[1].range,f&&t.arguments[2].range);m.loc=t.loc;h.addDependency(m);const g=e.state.current;e.state.current=h;try{let n=false;e.inScope([],()=>{for(const e of l){if(e.isString()){const n=new o(e.string);n.loc=e.loc||t.loc;h.addDependency(n)}else{n=true}}});if(n){return}if(p){if(p.fn.body.type==="BlockStatement"){e.walkStatement(p.fn.body)}else{e.walkExpression(p.fn.body)}}g.addBlock(h)}finally{e.state.current=g}if(!p){e.walkExpression(d)}if(c){if(c.fn.body.type==="BlockStatement"){e.walkStatement(c.fn.body)}else{e.walkExpression(c.fn.body)}}else if(a){e.walkExpression(a)}return true}}})}}},27223:(e,t,n)=>{"use strict";const s=n(16475);const i=n(33032);const o=n(31830);class RequireEnsureDependency extends o{constructor(e,t,n){super();this.range=e;this.contentRange=t;this.errorHandlerRange=n}get type(){return"require.ensure"}serialize(e){const{write:t}=e;t(this.range);t(this.contentRange);t(this.errorHandlerRange);super.serialize(e)}deserialize(e){const{read:t}=e;this.range=t();this.contentRange=t();this.errorHandlerRange=t();super.deserialize(e)}}i(RequireEnsureDependency,"webpack/lib/dependencies/RequireEnsureDependency");RequireEnsureDependency.Template=class RequireEnsureDependencyTemplate extends o.Template{apply(e,t,{runtimeTemplate:n,moduleGraph:i,chunkGraph:o,runtimeRequirements:r}){const a=e;const c=i.getParentBlock(a);const u=n.blockPromise({chunkGraph:o,block:c,message:"require.ensure",runtimeRequirements:r});const l=a.range;const d=a.contentRange;const p=a.errorHandlerRange;t.replace(l[0],d[0]-1,`${u}.then((`);if(p){t.replace(d[1],p[0]-1,").bind(null, __webpack_require__)).catch(");t.replace(p[1],l[1]-1,")")}else{t.replace(d[1],l[1]-1,`).bind(null, __webpack_require__)).catch(${s.uncaughtErrorHandler})`)}}};e.exports=RequireEnsureDependency},50329:(e,t,n)=>{"use strict";const s=n(33032);const i=n(80321);const o=n(31830);class RequireEnsureItemDependency extends i{constructor(e){super(e)}get type(){return"require.ensure item"}get category(){return"commonjs"}}s(RequireEnsureItemDependency,"webpack/lib/dependencies/RequireEnsureItemDependency");RequireEnsureItemDependency.Template=o.Template;e.exports=RequireEnsureItemDependency},8434:(e,t,n)=>{"use strict";const s=n(27223);const i=n(50329);const o=n(7235);const{evaluateToString:r,toConstantDependency:a}=n(93998);class RequireEnsurePlugin{apply(e){e.hooks.compilation.tap("RequireEnsurePlugin",(e,{normalModuleFactory:t})=>{e.dependencyFactories.set(i,t);e.dependencyTemplates.set(i,new i.Template);e.dependencyTemplates.set(s,new s.Template);const n=(e,t)=>{if(t.requireEnsure!==undefined&&!t.requireEnsure)return;(new o).apply(e);e.hooks.evaluateTypeof.for("require.ensure").tap("RequireEnsurePlugin",r("function"));e.hooks.typeof.for("require.ensure").tap("RequireEnsurePlugin",a(e,JSON.stringify("function")))};t.hooks.parser.for("javascript/auto").tap("RequireEnsurePlugin",n);t.hooks.parser.for("javascript/dynamic").tap("RequireEnsurePlugin",n)})}}e.exports=RequireEnsurePlugin},89183:(e,t,n)=>{"use strict";const s=n(16475);const i=n(33032);const o=n(31830);class RequireHeaderDependency extends o{constructor(e){super();if(!Array.isArray(e))throw new Error("range must be valid");this.range=e}serialize(e){const{write:t}=e;t(this.range);super.serialize(e)}static deserialize(e){const t=new RequireHeaderDependency(e.read());t.deserialize(e);return t}}i(RequireHeaderDependency,"webpack/lib/dependencies/RequireHeaderDependency");RequireHeaderDependency.Template=class RequireHeaderDependencyTemplate extends o.Template{apply(e,t,{runtimeRequirements:n}){const i=e;n.add(s.require);t.replace(i.range[0],i.range[1]-1,"__webpack_require__")}};e.exports=RequireHeaderDependency},71284:(e,t,n)=>{"use strict";const s=n(54912);const i=n(1626);const o=n(33032);const r=n(80321);class RequireIncludeDependency extends r{constructor(e,t){super(e);this.range=t}getReferencedExports(e,t){return s.NO_EXPORTS_REFERENCED}get type(){return"require.include"}get category(){return"commonjs"}}o(RequireIncludeDependency,"webpack/lib/dependencies/RequireIncludeDependency");RequireIncludeDependency.Template=class RequireIncludeDependencyTemplate extends r.Template{apply(e,t,{runtimeTemplate:n}){const s=e;const o=n.outputOptions.pathinfo?i.toComment(`require.include ${n.requestShortener.shorten(s.request)}`):"";t.replace(s.range[0],s.range[1]-1,`undefined${o}`)}};e.exports=RequireIncludeDependency},35768:(e,t,n)=>{"use strict";const s=n(53799);const{evaluateToString:i,toConstantDependency:o}=n(93998);const r=n(33032);const a=n(71284);e.exports=class RequireIncludeDependencyParserPlugin{constructor(e){this.warn=e}apply(e){const{warn:t}=this;e.hooks.call.for("require.include").tap("RequireIncludeDependencyParserPlugin",n=>{if(n.arguments.length!==1)return;const s=e.evaluateExpression(n.arguments[0]);if(!s.isString())return;if(t){e.state.module.addWarning(new RequireIncludeDeprecationWarning(n.loc))}const i=new a(s.string,n.range);i.loc=n.loc;e.state.current.addDependency(i);return true});e.hooks.evaluateTypeof.for("require.include").tap("RequireIncludePlugin",n=>{if(t){e.state.module.addWarning(new RequireIncludeDeprecationWarning(n.loc))}return i("function")(n)});e.hooks.typeof.for("require.include").tap("RequireIncludePlugin",n=>{if(t){e.state.module.addWarning(new RequireIncludeDeprecationWarning(n.loc))}return o(e,JSON.stringify("function"))(n)})}};class RequireIncludeDeprecationWarning extends s{constructor(e){super("require.include() is deprecated and will be removed soon.");this.name="RequireIncludeDeprecationWarning";this.loc=e;Error.captureStackTrace(this,this.constructor)}}r(RequireIncludeDeprecationWarning,"webpack/lib/dependencies/RequireIncludeDependencyParserPlugin","RequireIncludeDeprecationWarning")},37378:(e,t,n)=>{"use strict";const s=n(71284);const i=n(35768);class RequireIncludePlugin{apply(e){e.hooks.compilation.tap("RequireIncludePlugin",(e,{normalModuleFactory:t})=>{e.dependencyFactories.set(s,t);e.dependencyTemplates.set(s,new s.Template);const n=(e,t)=>{if(t.requireInclude===false)return;const n=t.requireInclude===undefined;new i(n).apply(e)};t.hooks.parser.for("javascript/auto").tap("RequireIncludePlugin",n);t.hooks.parser.for("javascript/dynamic").tap("RequireIncludePlugin",n)})}}e.exports=RequireIncludePlugin},55627:(e,t,n)=>{"use strict";const s=n(33032);const i=n(88101);const o=n(76081);class RequireResolveContextDependency extends i{constructor(e,t,n){super(e);this.range=t;this.valueRange=n}get type(){return"amd require context"}serialize(e){const{write:t}=e;t(this.range);t(this.valueRange);super.serialize(e)}deserialize(e){const{read:t}=e;this.range=t();this.valueRange=t();super.deserialize(e)}}s(RequireResolveContextDependency,"webpack/lib/dependencies/RequireResolveContextDependency");RequireResolveContextDependency.Template=o;e.exports=RequireResolveContextDependency},68582:(e,t,n)=>{"use strict";const s=n(54912);const i=n(33032);const o=n(80321);const r=n(80825);class RequireResolveDependency extends o{constructor(e,t){super(e);this.range=t}get type(){return"require.resolve"}get category(){return"commonjs"}getReferencedExports(e,t){return s.NO_EXPORTS_REFERENCED}}i(RequireResolveDependency,"webpack/lib/dependencies/RequireResolveDependency");RequireResolveDependency.Template=r;e.exports=RequireResolveDependency},9880:(e,t,n)=>{"use strict";const s=n(33032);const i=n(31830);class RequireResolveHeaderDependency extends i{constructor(e){super();if(!Array.isArray(e))throw new Error("range must be valid");this.range=e}serialize(e){const{write:t}=e;t(this.range);super.serialize(e)}static deserialize(e){const t=new RequireResolveHeaderDependency(e.read());t.deserialize(e);return t}}s(RequireResolveHeaderDependency,"webpack/lib/dependencies/RequireResolveHeaderDependency");RequireResolveHeaderDependency.Template=class RequireResolveHeaderDependencyTemplate extends i.Template{apply(e,t,n){const s=e;t.replace(s.range[0],s.range[1]-1,"/*require.resolve*/")}applyAsTemplateArgument(e,t,n){n.replace(t.range[0],t.range[1]-1,"/*require.resolve*/")}};e.exports=RequireResolveHeaderDependency},24187:(e,t,n)=>{"use strict";const s=n(33032);const i=n(31830);class RuntimeRequirementsDependency extends i{constructor(e){super();this.runtimeRequirements=new Set(e)}updateHash(e,t){e.update(Array.from(this.runtimeRequirements).join()+"")}serialize(e){const{write:t}=e;t(this.runtimeRequirements);super.serialize(e)}deserialize(e){const{read:t}=e;this.runtimeRequirements=t();super.deserialize(e)}}s(RuntimeRequirementsDependency,"webpack/lib/dependencies/RuntimeRequirementsDependency");RuntimeRequirementsDependency.Template=class RuntimeRequirementsDependencyTemplate extends i.Template{apply(e,t,{runtimeRequirements:n}){const s=e;for(const e of s.runtimeRequirements){n.add(e)}}};e.exports=RuntimeRequirementsDependency},91418:(e,t,n)=>{"use strict";const s=n(33032);const i=n(31830);class StaticExportsDependency extends i{constructor(e,t){super();this.exports=e;this.canMangle=t}get type(){return"static exports"}getExports(e){return{exports:this.exports,canMangle:this.canMangle,dependencies:undefined}}updateHash(e,t){e.update(JSON.stringify(this.exports));if(this.canMangle)e.update("canMangle");super.updateHash(e,t)}serialize(e){const{write:t}=e;t(this.exports);t(this.canMangle);super.serialize(e)}deserialize(e){const{read:t}=e;this.exports=t();this.canMangle=t();super.deserialize(e)}}s(StaticExportsDependency,"webpack/lib/dependencies/StaticExportsDependency");e.exports=StaticExportsDependency},97981:(e,t,n)=>{"use strict";const s=n(16475);const i=n(53799);const{evaluateToString:o,expressionIsUnsupported:r,toConstantDependency:a}=n(93998);const c=n(33032);const u=n(76911);const l=n(85439);class SystemPlugin{constructor(e){this.options=e}apply(e){e.hooks.compilation.tap("SystemPlugin",(e,{normalModuleFactory:t})=>{e.hooks.runtimeRequirementInModule.for(s.system).tap("SystemPlugin",(e,t)=>{t.add(s.requireScope)});e.hooks.runtimeRequirementInTree.for(s.system).tap("SystemPlugin",(t,n)=>{e.addRuntimeModule(t,new l)});const n=(e,t)=>{if(t.system===undefined||!t.system){return}const n=t=>{e.hooks.evaluateTypeof.for(t).tap("SystemPlugin",o("undefined"));e.hooks.expression.for(t).tap("SystemPlugin",r(e,t+" is not supported by webpack."))};e.hooks.typeof.for("System.import").tap("SystemPlugin",a(e,JSON.stringify("function")));e.hooks.evaluateTypeof.for("System.import").tap("SystemPlugin",o("function"));e.hooks.typeof.for("System").tap("SystemPlugin",a(e,JSON.stringify("object")));e.hooks.evaluateTypeof.for("System").tap("SystemPlugin",o("object"));n("System.set");n("System.get");n("System.register");e.hooks.expression.for("System").tap("SystemPlugin",t=>{const n=new u(s.system,t.range,[s.system]);n.loc=t.loc;e.state.module.addPresentationalDependency(n);return true});e.hooks.call.for("System.import").tap("SystemPlugin",t=>{e.state.module.addWarning(new SystemImportDeprecationWarning(t.loc));return e.hooks.importCall.call({type:"ImportExpression",source:t.arguments[0],loc:t.loc,range:t.range})})};t.hooks.parser.for("javascript/auto").tap("SystemPlugin",n);t.hooks.parser.for("javascript/dynamic").tap("SystemPlugin",n)})}}class SystemImportDeprecationWarning extends i{constructor(e){super("System.import() is deprecated and will be removed soon. Use import() instead.\n"+"For more info visit https://webpack.js.org/guides/code-splitting/");this.name="SystemImportDeprecationWarning";this.loc=e;Error.captureStackTrace(this,this.constructor)}}c(SystemImportDeprecationWarning,"webpack/lib/dependencies/SystemPlugin","SystemImportDeprecationWarning");e.exports=SystemPlugin;e.exports.SystemImportDeprecationWarning=SystemImportDeprecationWarning},85439:(e,t,n)=>{"use strict";const s=n(16475);const i=n(16963);const o=n(1626);class SystemRuntimeModule extends i{constructor(){super("system")}generate(){return o.asString([`${s.system} = {`,o.indent(["import: function () {",o.indent("throw new Error('System.import cannot be used indirectly');"),"}"]),"};"])}}e.exports=SystemRuntimeModule},58612:(e,t,n)=>{"use strict";const s=n(16475);const i=n(33032);const o=n(80321);class URLDependency extends o{constructor(e,t){super(e);this.range=t}get type(){return"new URL()"}get category(){return"url"}}URLDependency.Template=class URLDependencyTemplate extends o.Template{apply(e,t,n){const{chunkGraph:i,moduleGraph:o,runtimeRequirements:r,runtimeTemplate:a}=n;const c=e;r.add(s.baseURI);r.add(s.require);t.replace(c.range[0],c.range[1]-1,`/* asset import */ ${a.moduleRaw({chunkGraph:i,module:o.getModule(c),request:c.request,runtimeRequirements:r,weak:false})}, ${s.baseURI}`)}};i(URLDependency,"webpack/lib/dependencies/URLDependency");e.exports=URLDependency},14412:(e,t,n)=>{"use strict";const{approve:s}=n(93998);const i=n(58612);class URLPlugin{apply(e){e.hooks.compilation.tap("URLPlugin",(e,{normalModuleFactory:t})=>{e.dependencyFactories.set(i,t);e.dependencyTemplates.set(i,new i.Template);const n=(e,t)=>{if(t.url===false)return;e.hooks.canRename.for("URL").tap("URLPlugin",s);e.hooks.new.for("URL").tap("URLPlugin",t=>{const n=t;if(n.arguments.length!==2)return;const[s,o]=n.arguments;if(o.type!=="MemberExpression"||s.type==="SpreadElement")return;const r=e.extractMemberExpressionChain(o);if(r.members.length!==1||r.object.type!=="MetaProperty"||r.object.property.name!=="meta"||r.members[0]!=="url")return;const a=e.evaluateExpression(s).asString();if(!a)return;const c=new i(a,[s.range[0],o.range[1]]);c.loc=n.loc;e.state.module.addDependency(c);return true})};t.hooks.parser.for("javascript/auto").tap("URLPlugin",n);t.hooks.parser.for("javascript/esm").tap("URLPlugin",n)})}}e.exports=URLPlugin},51669:(e,t,n)=>{"use strict";const s=n(33032);const i=n(31830);class UnsupportedDependency extends i{constructor(e,t){super();this.request=e;this.range=t}serialize(e){const{write:t}=e;t(this.request);t(this.range);super.serialize(e)}deserialize(e){const{read:t}=e;this.request=t();this.range=t();super.deserialize(e)}}s(UnsupportedDependency,"webpack/lib/dependencies/UnsupportedDependency");UnsupportedDependency.Template=class UnsupportedDependencyTemplate extends i.Template{apply(e,t,{runtimeTemplate:n}){const s=e;t.replace(s.range[0],s.range[1],n.missingModule({request:s.request}))}};e.exports=UnsupportedDependency},52204:(e,t,n)=>{"use strict";const s=n(33032);const i=n(80321);class WebAssemblyExportImportedDependency extends i{constructor(e,t,n,s){super(t);this.exportName=e;this.name=n;this.valueType=s}getReferencedExports(e,t){return[[this.name]]}get type(){return"wasm export import"}get category(){return"wasm"}serialize(e){const{write:t}=e;t(this.exportName);t(this.name);t(this.valueType);super.serialize(e)}deserialize(e){const{read:t}=e;this.exportName=t();this.name=t();this.valueType=t();super.deserialize(e)}}s(WebAssemblyExportImportedDependency,"webpack/lib/dependencies/WebAssemblyExportImportedDependency");e.exports=WebAssemblyExportImportedDependency},5239:(e,t,n)=>{"use strict";const s=n(33032);const i=n(78455);const o=n(80321);class WebAssemblyImportDependency extends o{constructor(e,t,n,s){super(e);this.name=t;this.description=n;this.onlyDirectImport=s}get type(){return"wasm import"}get category(){return"wasm"}getReferencedExports(e,t){return[[this.name]]}getErrors(e){const t=e.getModule(this);if(this.onlyDirectImport&&t&&!t.type.startsWith("webassembly")){return[new i(`Import "${this.name}" from "${this.request}" with ${this.onlyDirectImport} can only be used for direct wasm to wasm dependencies`)]}}serialize(e){const{write:t}=e;t(this.name);t(this.description);t(this.onlyDirectImport);super.serialize(e)}deserialize(e){const{read:t}=e;this.name=t();this.description=t();this.onlyDirectImport=t();super.deserialize(e)}}s(WebAssemblyImportDependency,"webpack/lib/dependencies/WebAssemblyImportDependency");e.exports=WebAssemblyImportDependency},1466:(e,t,n)=>{"use strict";const s=n(54912);const i=n(16475);const o=n(33032);const r=n(80321);class WorkerDependency extends r{constructor(e,t){super(e);this.range=t}getReferencedExports(e,t){return s.NO_EXPORTS_REFERENCED}get type(){return"new Worker()"}get category(){return"worker"}}WorkerDependency.Template=class WorkerDependencyTemplate extends r.Template{apply(e,t,n){const{chunkGraph:s,moduleGraph:o,runtimeRequirements:r}=n;const a=e;const c=o.getParentBlock(e);const u=s.getBlockChunkGroup(c);const l=u.getEntrypointChunk();r.add(i.publicPath);r.add(i.baseURI);r.add(i.getChunkScriptFilename);t.replace(a.range[0],a.range[1]-1,`/* worker import */ ${i.publicPath} + ${i.getChunkScriptFilename}(${JSON.stringify(l.id)}), ${i.baseURI}`)}};o(WorkerDependency,"webpack/lib/dependencies/WorkerDependency");e.exports=WorkerDependency},82509:(e,t,n)=>{"use strict";const{pathToFileURL:s}=n(78835);const i=n(47736);const o=n(98427);const r=n(42495);const a=n(16734);const c=n(61291);const{equals:u}=n(84953);const{contextify:l}=n(82186);const{harmonySpecifierTag:d}=n(20862);const p=n(1466);const h=e=>{return s(e.resource).toString()};const f=["Worker","SharedWorker","navigator.serviceWorker.register()","Worker from worker_threads"];class WorkerPlugin{constructor(e){this._chunkLoading=e}apply(e){if(this._chunkLoading){new c(this._chunkLoading).apply(e)}const t=l.bindContextCache(e.context,e.root);e.hooks.thisCompilation.tap("WorkerPlugin",(e,{normalModuleFactory:n})=>{e.dependencyFactories.set(p,n);e.dependencyTemplates.set(p,new p.Template);const s=(e,t)=>{if(t.type!=="NewExpression"||t.callee.type==="Super"||t.arguments.length!==2)return;const[n,s]=t.arguments;if(n.type==="SpreadElement")return;if(s.type==="SpreadElement")return;const i=e.evaluateExpression(t.callee);if(!i.isIdentifier()||i.identifier!=="URL")return;const o=e.evaluateExpression(s);if(!o.isString()||!o.string.startsWith("file://")||o.string!==h(e.state.module)){return}const r=e.evaluateExpression(n);return[r,[n.range[0],s.range[1]]]};const c=(e,t)=>{if(t.type!=="ObjectExpression")return;const n={};for(const s of t.properties){if(s.type==="Property"){if(!s.method&&!s.computed&&!s.shorthand&&s.key.type==="Identifier"&&!s.value.type.endsWith("Pattern")){const t=e.evaluateExpression(s.value);if(t.isCompileTimeValue())n[s.key.name]=t.asCompileTimeValue()}}}return n};const l=(e,n)=>{if(n.worker===false)return;const l=!Array.isArray(n.worker)?["..."]:n.worker;const h=n=>{if(n.arguments.length===0||n.arguments.length>2)return;const[u,l]=n.arguments;if(u.type==="SpreadElement")return;if(l&&l.type==="SpreadElement")return;const d=s(e,u);if(!d)return;const[h,f]=d;if(h.isString()){const s=l&&c(e,l);const{options:u,errors:d}=e.parseCommentOptions(n.range);if(d){for(const t of d){const{comment:n}=t;e.state.module.addWarning(new o(`Compilation error while processing magic comment(-s): /*${n.value}*/: ${t.message}`,n.loc))}}let m={};if(u){if(u.webpackIgnore!==undefined){if(typeof u.webpackIgnore!=="boolean"){e.state.module.addWarning(new r(`\`webpackIgnore\` expected a boolean, but received: ${u.webpackIgnore}.`,n.loc))}else{if(u.webpackIgnore){return false}}}if(u.webpackEntryOptions!==undefined){if(typeof u.webpackEntryOptions!=="object"||u.webpackEntryOptions===null){e.state.module.addWarning(new r(`\`webpackEntryOptions\` expected a object, but received: ${u.webpackEntryOptions}.`,n.loc))}else{Object.assign(m,u.webpackEntryOptions)}}if(u.webpackChunkName!==undefined){if(typeof u.webpackChunkName!=="string"){e.state.module.addWarning(new r(`\`webpackChunkName\` expected a string, but received: ${u.webpackChunkName}.`,n.loc))}else{m.name=u.webpackChunkName}}}if(!Object.prototype.hasOwnProperty.call(m,"name")&&s&&s.name){m.name=s.name}if(!m.runtime){m.runtime=`${t(e.state.module.identifier())}|${a(n.loc)}`}const g=new i({name:m.name,entryOptions:{chunkLoading:this._chunkLoading,...m}});g.loc=n.loc;const y=new p(h.string,f);y.loc=n.loc;g.addDependency(y);e.state.module.addBlock(g);e.walkExpression(n.callee);if(l)e.walkExpression(l);return true}};const m=t=>{if(t.endsWith("()")){e.hooks.call.for(t.slice(0,-2)).tap("WorkerPlugin",h)}else{const n=/^(.+?)(\(\))?\s+from\s+(.+)$/.exec(t);if(n){const t=n[1].split(".");const s=n[2];const i=n[3];(s?e.hooks.call:e.hooks.new).for(d).tap("WorkerPlugin",n=>{const s=e.currentTagData;if(!s||s.source!==i||!u(s.ids,t)){return}return h(n)})}else{e.hooks.new.for(t).tap("WorkerPlugin",h)}}};for(const e of l){if(e==="..."){f.forEach(m)}else m(e)}};n.hooks.parser.for("javascript/auto").tap("WorkerPlugin",l);n.hooks.parser.for("javascript/esm").tap("WorkerPlugin",l)})}}e.exports=WorkerPlugin},50396:e=>{"use strict";e.exports=(e=>{if(e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression"){return{fn:e,expressions:[],needThis:false}}if(e.type==="CallExpression"&&e.callee.type==="MemberExpression"&&e.callee.object.type==="FunctionExpression"&&e.callee.property.type==="Identifier"&&e.callee.property.name==="bind"&&e.arguments.length===1){return{fn:e.callee.object,expressions:[e.arguments[0]],needThis:undefined}}if(e.type==="CallExpression"&&e.callee.type==="FunctionExpression"&&e.callee.body.type==="BlockStatement"&&e.arguments.length===1&&e.arguments[0].type==="ThisExpression"&&e.callee.body.body&&e.callee.body.body.length===1&&e.callee.body.body[0].type==="ReturnStatement"&&e.callee.body.body[0].argument&&e.callee.body.body[0].argument.type==="FunctionExpression"){return{fn:e.callee.body.body[0].argument,expressions:[],needThis:true}}})},55207:(e,t,n)=>{"use strict";const{UsageState:s}=n(63686);const i=(e,t,n,o,r=false,a=new Set)=>{if(!o){t.push(n);return}const c=o.getUsed(e);if(c===s.Unused)return;if(a.has(o)){t.push(n);return}a.add(o);if(c!==s.OnlyPropertiesUsed||!o.exportsInfo||o.exportsInfo.otherExportsInfo.getUsed(e)!==s.Unused){a.delete(o);t.push(n);return}const u=o.exportsInfo;for(const s of u.orderedExports){i(e,t,r&&s.name==="default"?n:n.concat(s.name),s,false,a)}a.delete(o)};e.exports=i},32277:(e,t,n)=>{"use strict";const s=n(6652);class ElectronTargetPlugin{constructor(e){this._context=e}apply(e){new s("commonjs",["clipboard","crash-reporter","electron","ipc","native-image","original-fs","screen","shell"]).apply(e);switch(this._context){case"main":new s("commonjs",["app","auto-updater","browser-window","content-tracing","dialog","global-shortcut","ipc-main","menu","menu-item","power-monitor","power-save-blocker","protocol","session","tray","web-contents"]).apply(e);break;case"preload":case"renderer":new s("commonjs",["desktop-capturer","ipc-renderer","remote","web-frame"]).apply(e);break}}}e.exports=ElectronTargetPlugin},22273:(e,t,n)=>{"use strict";const s=n(53799);class BuildCycleError extends s{constructor(e){super("There is a circular build dependency, which makes it impossible to create this module");this.name="BuildCycleError";this.module=e;Error.captureStackTrace(this,this.constructor)}}e.exports=BuildCycleError},16734:e=>{"use strict";const t=e=>{if(e&&typeof e==="object"){if("line"in e&&"column"in e){return`${e.line}:${e.column}`}else if("line"in e){return`${e.line}:?`}}return""};const n=e=>{if(e&&typeof e==="object"){if("start"in e&&e.start&&"end"in e&&e.end){if(typeof e.start==="object"&&typeof e.start.line==="number"&&typeof e.end==="object"&&typeof e.end.line==="number"&&typeof e.end.column==="number"&&e.start.line===e.end.line){return`${t(e.start)}-${e.end.column}`}else if(typeof e.start==="object"&&typeof e.start.line==="number"&&typeof e.start.column!=="number"&&typeof e.end==="object"&&typeof e.end.line==="number"&&typeof e.end.column!=="number"){return`${e.start.line}-${e.end.line}`}else{return`${t(e.start)}-${t(e.end)}`}}if("start"in e&&e.start){return t(e.start)}if("name"in e&&"index"in e){return`${e.name}[${e.index}]`}if("name"in e){return e.name}}return""};e.exports=n},45426:e=>{"use strict";var t=undefined;var n=undefined;var s=undefined;var i=undefined;var o=undefined;var r=undefined;var a=undefined;e.exports=function(){var e={};var c=n;var u;var l=[];var d=[];var p="idle";var h;var f;var m;s=e;t.push(function(e){var t=e.module;var n=createRequire(e.require,e.id);t.hot=createModuleHotObject(e.id,t);t.parents=l;t.children=[];l=[];e.require=n});o={};r={};function createRequire(e,t){var n=c[t];if(!n)return e;var s=function(s){if(n.hot.active){if(c[s]){var i=c[s].parents;if(i.indexOf(t)===-1){i.push(t)}}else{l=[t];u=s}if(n.children.indexOf(s)===-1){n.children.push(s)}}else{console.warn("[HMR] unexpected require("+s+") from disposed module "+t);l=[]}return e(s)};var i=function(t){return{configurable:true,enumerable:true,get:function(){return e[t]},set:function(n){e[t]=n}}};for(var o in e){if(Object.prototype.hasOwnProperty.call(e,o)&&o!=="e"){Object.defineProperty(s,o,i(o))}}s.e=function(t){return trackBlockingPromise(e.e(t))};return s}function createModuleHotObject(t,n){var s={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:false,_selfDeclined:false,_selfInvalidated:false,_disposeHandlers:[],_main:u!==t,_requireSelf:function(){l=n.parents.slice();u=t;a(t)},active:true,accept:function(e,t){if(e===undefined)s._selfAccepted=true;else if(typeof e==="function")s._selfAccepted=e;else if(typeof e==="object"&&e!==null)for(var n=0;n=0)s._disposeHandlers.splice(t,1)},invalidate:function(){this._selfInvalidated=true;switch(p){case"idle":f=[];Object.keys(r).forEach(function(e){r[e](t,f)});setStatus("ready");break;case"ready":Object.keys(r).forEach(function(e){r[e](t,f)});break;case"prepare":case"check":case"dispose":case"apply":(m=m||[]).push(t);break;default:break}},check:hotCheck,apply:hotApply,status:function(e){if(!e)return p;d.push(e)},addStatusHandler:function(e){d.push(e)},removeStatusHandler:function(e){var t=d.indexOf(e);if(t>=0)d.splice(t,1)},data:e[t]};u=undefined;return s}function setStatus(e){p=e;for(var t=0;t0){setStatus("abort");return Promise.resolve().then(function(){throw n[0]})}setStatus("dispose");t.forEach(function(e){if(e.dispose)e.dispose()});setStatus("apply");var s;var i=function(e){if(!s)s=e};var o=[];t.forEach(function(e){if(e.apply){var t=e.apply(i);if(t){for(var n=0;n{"use strict";const s=n(16475);const i=n(16963);const o=n(1626);class HotModuleReplacementRuntimeModule extends i{constructor(){super("hot module replacement",i.STAGE_BASIC)}generate(){return o.getFunctionContent(n(45426)).replace(/\$getFullHash\$/g,s.getFullHash).replace(/\$interceptModuleExecution\$/g,s.interceptModuleExecution).replace(/\$moduleCache\$/g,s.moduleCache).replace(/\$hmrModuleData\$/g,s.hmrModuleData).replace(/\$hmrDownloadManifest\$/g,s.hmrDownloadManifest).replace(/\$hmrInvalidateModuleHandlers\$/g,s.hmrInvalidateModuleHandlers).replace(/\$hmrDownloadUpdateHandlers\$/g,s.hmrDownloadUpdateHandlers)}}e.exports=HotModuleReplacementRuntimeModule},27266:e=>{"use strict";var t=undefined;var n=undefined;var s=undefined;var i=undefined;var o=undefined;var r=undefined;var a=undefined;var c=undefined;var u=undefined;var l=undefined;e.exports=function(){var e;var d;var p;var h;function applyHandler(n){if(o)delete o.$key$Hmr;e=undefined;function getAffectedModuleEffects(e){var t=[e];var n={};var i=t.map(function(e){return{chain:[e],id:e}});while(i.length>0){var o=i.pop();var r=o.id;var a=o.chain;var c=s[r];if(!c||c.hot._selfAccepted&&!c.hot._selfInvalidated)continue;if(c.hot._selfDeclined){return{type:"self-declined",chain:a,moduleId:r}}if(c.hot._main){return{type:"unaccepted",chain:a,moduleId:r}}for(var u=0;u ")}switch(v.type){case"self-declined":if(n.onDeclined)n.onDeclined(v);if(!n.ignoreDeclined)b=new Error("Aborted because of self decline: "+v.moduleId+x);break;case"declined":if(n.onDeclined)n.onDeclined(v);if(!n.ignoreDeclined)b=new Error("Aborted because of declined dependency: "+v.moduleId+" in "+v.parentId+x);break;case"unaccepted":if(n.onUnaccepted)n.onUnaccepted(v);if(!n.ignoreUnaccepted)b=new Error("Aborted because "+g+" is not accepted"+x);break;case"accepted":if(n.onAccepted)n.onAccepted(v);k=true;break;case"disposed":if(n.onDisposed)n.onDisposed(v);w=true;break;default:throw new Error("Unexception type "+v.type)}if(b){return{error:b}}if(k){f[g]=y;addAllToSet(u,v.outdatedModules);for(g in v.outdatedDependencies){if(r(v.outdatedDependencies,g)){if(!c[g])c[g]=[];addAllToSet(c[g],v.outdatedDependencies[g])}}}if(w){addAllToSet(u,[v.moduleId]);f[g]=m}}}d=undefined;var C=[];for(var M=0;M0){var i=n.pop();var o=s[i];if(!o)continue;var l={};var d=o.hot._disposeHandlers;for(M=0;M=0){h.parents.splice(e,1)}}}var f;for(var m in c){if(r(c,m)){o=s[m];if(o){O=c[m];for(M=0;M=0)o.children.splice(e,1)}}}}},apply:function(e){for(var t in f){if(r(f,t)){i[t]=f[t]}}for(var o=0;o{"use strict";const{find:s}=n(93347);const{compareModulesByPreOrderIndexOrIdentifier:i,compareModulesByPostOrderIndexOrIdentifier:o}=n(29579);class ChunkModuleIdRangePlugin{constructor(e){this.options=e}apply(e){const t=this.options;e.hooks.compilation.tap("ChunkModuleIdRangePlugin",e=>{const n=e.moduleGraph;e.hooks.moduleIds.tap("ChunkModuleIdRangePlugin",r=>{const a=e.chunkGraph;const c=s(e.chunks,e=>e.name===t.name);if(!c){throw new Error(`ChunkModuleIdRangePlugin: Chunk with name '${t.name}"' was not found`)}let u;if(t.order){let e;switch(t.order){case"index":case"preOrderIndex":e=i(n);break;case"index2":case"postOrderIndex":e=o(n);break;default:throw new Error("ChunkModuleIdRangePlugin: unexpected value of order")}u=a.getOrderedChunkModules(c,e)}else{u=Array.from(r).filter(e=>{return a.isModuleInChunk(e,c)}).sort(i(n))}let l=t.start||0;for(let e=0;et.end)break}})})}}e.exports=ChunkModuleIdRangePlugin},8747:(e,t,n)=>{"use strict";const{compareChunksNatural:s}=n(29579);const{getFullChunkName:i,getUsedChunkIds:o,assignDeterministicIds:r}=n(63290);class DeterministicChunkIdsPlugin{constructor(e){this.options=e||{}}apply(e){e.hooks.compilation.tap("DeterministicChunkIdsPlugin",t=>{t.hooks.chunkIds.tap("DeterministicChunkIdsPlugin",n=>{const a=t.chunkGraph;const c=this.options.context?this.options.context:e.context;const u=this.options.maxLength||3;const l=s(a);const d=o(t);r(Array.from(n).filter(e=>{return e.id===null}),t=>i(t,a,c,e.root),l,(e,t)=>{const n=d.size;d.add(`${t}`);if(n===d.size)return false;e.id=t;e.ids=[t];return true},[Math.pow(10,u)],10,d.size)})})}}e.exports=DeterministicChunkIdsPlugin},76692:(e,t,n)=>{"use strict";const{compareModulesByPreOrderIndexOrIdentifier:s}=n(29579);const{getUsedModuleIds:i,getFullModuleName:o,assignDeterministicIds:r}=n(63290);class DeterministicModuleIdsPlugin{constructor(e){this.options=e||{}}apply(e){e.hooks.compilation.tap("DeterministicModuleIdsPlugin",t=>{t.hooks.moduleIds.tap("DeterministicModuleIdsPlugin",n=>{const a=t.chunkGraph;const c=this.options.context?this.options.context:e.context;const u=this.options.maxLength||3;const l=i(t);r(Array.from(n).filter(e=>{if(!e.needId)return false;if(a.getNumberOfModuleChunks(e)===0)return false;return a.getModuleId(e)===null}),t=>o(t,c,e.root),s(t.moduleGraph),(e,t)=>{const n=l.size;l.add(`${t}`);if(n===l.size)return false;a.setModuleId(e,t);return true},[Math.pow(10,u)],10,l.size)})})}}e.exports=DeterministicModuleIdsPlugin},21825:(e,t,n)=>{"use strict";e=n.nmd(e);const{validate:s}=n(33225);const i=n(72864);const{compareModulesByPreOrderIndexOrIdentifier:o}=n(29579);const r=n(49835);const{getUsedModuleIds:a,getFullModuleName:c}=n(63290);class HashedModuleIdsPlugin{constructor(e={}){s(i,e,{name:"Hashed Module Ids Plugin",baseDataPath:"options"});this.options={context:null,hashFunction:"md4",hashDigest:"base64",hashDigestLength:4,...e}}apply(t){const n=this.options;t.hooks.compilation.tap("HashedModuleIdsPlugin",s=>{s.hooks.moduleIds.tap("HashedModuleIdsPlugin",i=>{const u=s.chunkGraph;const l=this.options.context?this.options.context:t.context;const d=a(s);const p=Array.from(i).filter(t=>{if(!t.needId)return false;if(u.getNumberOfModuleChunks(t)===0)return false;return u.getModuleId(e)===null}).sort(o(s.moduleGraph));for(const e of p){const s=c(e,l,t.root);const i=r(n.hashFunction);i.update(s||"");const o=i.digest(n.hashDigest);let a=n.hashDigestLength;while(d.has(o.substr(0,a)))a++;const p=o.substr(0,a);u.setModuleId(e,p);d.add(p)}})})}}e.exports=HashedModuleIdsPlugin},63290:(e,t,n)=>{"use strict";const s=n(49835);const{makePathsRelative:i}=n(82186);const o=n(70002);const r=(e,t)=>{const n=s("md4");n.update(e);const i=n.digest("hex");return i.substr(0,t)};const a=e=>{if(e.length>21)return e;const t=e.charCodeAt(0);if(t<49){if(t!==45)return e}else if(t>57){return e}if(e===+e+""){return`_${e}`}return e};const c=e=>{return e.replace(/^(\.\.?\/)+/,"").replace(/(^[.-]|[^a-zA-Z0-9_-])+/g,"_")};t.requestToId=c;const u=(e,t)=>{if(e.length<100)return e;return e.slice(0,100-6-t.length)+t+r(e,6)};const l=(e,t,n)=>{return a(e.libIdent({context:t,associatedObjectForCache:n})||"")};t.getShortModuleName=l;const d=(e,t,n,s)=>{const i=p(t,n,s);return`${e}?${r(i,4)}`};t.getLongModuleName=d;const p=(e,t,n)=>{return i(t,e.identifier(),n)};t.getFullModuleName=p;const h=(e,t,n,s,i)=>{const o=t.getChunkRootModules(e);const r=o.map(e=>c(l(e,n,i)));e.idNameHints.sort();const a=Array.from(e.idNameHints).concat(r).filter(Boolean).join(s);return u(a,s)};t.getShortChunkName=h;const f=(e,t,n,s,i)=>{const o=t.getChunkRootModules(e);const r=o.map(e=>c(l(e,n,i)));const a=o.map(e=>c(d("",e,n,i)));e.idNameHints.sort();const p=Array.from(e.idNameHints).concat(r,a).filter(Boolean).join(s);return u(p,s)};t.getLongChunkName=f;const m=(e,t,n,s)=>{if(e.name)return e.name;const o=t.getChunkRootModules(e);const r=o.map(e=>i(n,e.identifier(),s));return r.join()};t.getFullChunkName=m;const g=(e,t,n)=>{let s=e.get(t);if(s===undefined){s=[];e.set(t,s)}s.push(n)};const y=e=>{const t=e.chunkGraph;const n=new Set;if(e.usedModuleIds){for(const t of e.usedModuleIds){n.add(t+"")}}for(const s of e.modules){const e=t.getModuleId(s);if(e!==null){n.add(e+"")}}return n};t.getUsedModuleIds=y;const v=e=>{const t=new Set;if(e.usedChunkIds){for(const n of e.usedChunkIds){t.add(n+"")}}for(const n of e.chunks){const e=n.id;if(e!==null){t.add(e+"")}}return t};t.getUsedChunkIds=v;const b=(e,t,n,s,i,o)=>{const r=new Map;for(const n of e){const e=t(n);g(r,e,n)}const a=new Map;for(const[e,t]of r){if(t.length>1||!e){for(const s of t){const t=n(s,e);g(a,t,s)}}else{g(a,e,t[0])}}const c=[];for(const[e,t]of a){if(!e){for(const e of t){c.push(e)}}else if(t.length===1&&!i.has(e)){o(t[0],e);i.add(e)}else{t.sort(s);let n=0;for(const s of t){while(a.has(e+n)&&i.has(e+n))n++;o(s,e+n);i.add(e+n);n++}}}c.sort(s);return c};t.assignNames=b;const k=(e,t,n,s,i=[10],r=10,a=0)=>{e.sort(n);const c=Math.min(Math.ceil(e.length*20)+a,Number.MAX_SAFE_INTEGER);let u=0;let l=i[u];while(l{const n=t.chunkGraph;const s=y(t);let i=0;let o;if(s.size>0){o=(e=>{if(n.getModuleId(e)===null){while(s.has(i+""))i++;n.setModuleId(e,i++)}})}else{o=(e=>{if(n.getModuleId(e)===null){n.setModuleId(e,i++)}})}for(const t of e){o(t)}};t.assignAscendingModuleIds=w;const x=(e,t)=>{const n=v(t);let s=0;if(n.size>0){for(const t of e){if(t.id===null){while(n.has(s+""))s++;t.id=s;t.ids=[s];s++}}}else{for(const t of e){if(t.id===null){t.id=s;t.ids=[s];s++}}}};t.assignAscendingChunkIds=x},6454:(e,t,n)=>{"use strict";const{compareChunksNatural:s}=n(29579);const{getShortChunkName:i,getLongChunkName:o,assignNames:r,getUsedChunkIds:a,assignAscendingChunkIds:c}=n(63290);class NamedChunkIdsPlugin{constructor(e){this.delimiter=e&&e.delimiter||"-";this.context=e&&e.context}apply(e){e.hooks.compilation.tap("NamedChunkIdsPlugin",t=>{t.hooks.chunkIds.tap("NamedChunkIdsPlugin",n=>{const u=t.chunkGraph;const l=this.context?this.context:e.context;const d=this.delimiter;const p=r(Array.from(n).filter(e=>{if(e.name){e.id=e.name;e.ids=[e.name]}return e.id===null}),t=>i(t,u,l,d,e.root),t=>o(t,u,l,d,e.root),s(u),a(t),(e,t)=>{e.id=t;e.ids=[t]});if(p.length>0){c(p,t)}})})}}e.exports=NamedChunkIdsPlugin},24339:(e,t,n)=>{"use strict";const{compareModulesByIdentifier:s}=n(29579);const{getShortModuleName:i,getLongModuleName:o,assignNames:r,getUsedModuleIds:a,assignAscendingModuleIds:c}=n(63290);class NamedModuleIdsPlugin{constructor(e){this.options=e||{}}apply(e){const{root:t}=e;e.hooks.compilation.tap("NamedModuleIdsPlugin",n=>{n.hooks.moduleIds.tap("NamedModuleIdsPlugin",u=>{const l=n.chunkGraph;const d=this.options.context?this.options.context:e.context;const p=r(Array.from(u).filter(e=>{if(!e.needId)return false;if(l.getNumberOfModuleChunks(e)===0)return false;return l.getModuleId(e)===null}),e=>i(e,d,t),(e,n)=>o(n,e,d,t),s,a(n),(e,t)=>l.setModuleId(e,t));if(p.length>0){c(p,n)}})})}}e.exports=NamedModuleIdsPlugin},86221:(e,t,n)=>{"use strict";const{compareChunksNatural:s}=n(29579);const{assignAscendingChunkIds:i}=n(63290);class NaturalChunkIdsPlugin{apply(e){e.hooks.compilation.tap("NaturalChunkIdsPlugin",e=>{e.hooks.chunkIds.tap("NaturalChunkIdsPlugin",t=>{const n=e.chunkGraph;const o=s(n);const r=Array.from(t).sort(o);i(r,e)})})}}e.exports=NaturalChunkIdsPlugin},83366:(e,t,n)=>{"use strict";const{compareModulesByPreOrderIndexOrIdentifier:s}=n(29579);const{assignAscendingModuleIds:i}=n(63290);class NaturalModuleIdsPlugin{apply(e){e.hooks.compilation.tap("NaturalModuleIdsPlugin",e=>{e.hooks.moduleIds.tap("NaturalModuleIdsPlugin",t=>{const n=e.chunkGraph;const o=Array.from(t).filter(e=>e.needId&&n.getNumberOfModuleChunks(e)>0&&n.getModuleId(e)===null).sort(s(e.moduleGraph));i(o,e)})})}}e.exports=NaturalModuleIdsPlugin},51020:(e,t,n)=>{"use strict";const{validate:s}=n(33225);const i=n(7435);const{compareChunksNatural:o}=n(29579);const{assignAscendingChunkIds:r}=n(63290);class OccurrenceChunkIdsPlugin{constructor(e={}){s(i,e,{name:"Occurrence Order Chunk Ids Plugin",baseDataPath:"options"});this.options=e}apply(e){const t=this.options.prioritiseInitial;e.hooks.compilation.tap("OccurrenceChunkIdsPlugin",e=>{e.hooks.chunkIds.tap("OccurrenceChunkIdsPlugin",n=>{const s=e.chunkGraph;const i=new Map;const a=o(s);for(const e of n){let t=0;for(const n of e.groupsIterable){for(const e of n.parentsIterable){if(e.isInitial())t++}}i.set(e,t)}const c=Array.from(n).sort((e,n)=>{if(t){const t=i.get(e);const s=i.get(n);if(t>s)return-1;if(to)return-1;if(s{"use strict";const{validate:s}=n(33225);const i=n(88570);const{compareModulesByPreOrderIndexOrIdentifier:o}=n(29579);const{assignAscendingModuleIds:r}=n(63290);class OccurrenceModuleIdsPlugin{constructor(e={}){s(i,e,{name:"Occurrence Order Module Ids Plugin",baseDataPath:"options"});this.options=e}apply(e){const t=this.options.prioritiseInitial;e.hooks.compilation.tap("OccurrenceModuleIdsPlugin",e=>{const n=e.moduleGraph;e.hooks.moduleIds.tap("OccurrenceModuleIdsPlugin",s=>{const i=e.chunkGraph;const a=Array.from(s).filter(e=>e.needId&&i.getNumberOfModuleChunks(e)>0&&i.getModuleId(e)===null);const c=new Map;const u=new Map;const l=new Map;const d=new Map;for(const e of a){let t=0;let n=0;for(const s of i.getModuleChunksIterable(e)){if(s.canBeInitial())t++;if(i.isEntryModuleInChunk(e,s))n++}l.set(e,t);d.set(e,n)}const p=e=>{let t=0;for(const n of e){if(!n.isTargetActive(undefined))continue;if(!n.originModule)continue;t+=l.get(n.originModule)}return t};const h=e=>{let t=0;for(const n of e){if(!n.isTargetActive(undefined))continue;if(!n.originModule)continue;if(!n.dependency)continue;const e=n.dependency.getNumberOfIdOccurrences();if(e===0)continue;t+=e*i.getNumberOfModuleChunks(n.originModule)}return t};if(t){for(const e of a){const t=p(n.getIncomingConnections(e))+l.get(e)+d.get(e);c.set(e,t)}}for(const e of s){const t=h(n.getIncomingConnections(e))+i.getNumberOfModuleChunks(e)+d.get(e);u.set(e,t)}const f=o(e.moduleGraph);a.sort((e,n)=>{if(t){const t=c.get(e);const s=c.get(n);if(t>s)return-1;if(ti)return-1;if(s{"use strict";const s=n(31669);const i=n(6157);const o=e=>{const t=i(e);const n=(...e)=>{return t()(...e)};return n};const r=(e,t)=>{const n=Object.getOwnPropertyDescriptors(t);for(const t of Object.keys(n)){const s=n[t];if(s.get){const n=s.get;Object.defineProperty(e,t,{configurable:false,enumerable:true,get:i(n)})}else if(typeof s.value==="object"){Object.defineProperty(e,t,{configurable:false,enumerable:true,writable:false,value:r({},s.value)})}else{throw new Error("Exposed values must be either a getter or an nested object")}}return Object.freeze(e)};const a=o(()=>n(36243));e.exports=r(a,{get webpack(){return n(36243)},get validate(){const e=n(12047);const t=n(1863);return n=>e(t,n)},get validateSchema(){const e=n(12047);return e},get version(){return n(87168).i8},get cli(){return n(13462)},get AutomaticPrefetchPlugin(){return n(17714)},get BannerPlugin(){return n(21242)},get Cache(){return n(7592)},get Chunk(){return n(39385)},get ChunkGraph(){return n(64971)},get Compilation(){return n(85720)},get Compiler(){return n(70845)},get ConcatenationScope(){return n(98229)},get ContextExclusionPlugin(){return n(21411)},get ContextReplacementPlugin(){return n(12206)},get DefinePlugin(){return n(79065)},get DelegatedPlugin(){return n(80632)},get Dependency(){return n(54912)},get DllPlugin(){return n(40038)},get DllReferencePlugin(){return n(90999)},get DynamicEntryPlugin(){return n(96475)},get EntryOptionPlugin(){return n(9909)},get EntryPlugin(){return n(96953)},get EnvironmentPlugin(){return n(22070)},get EvalDevToolModulePlugin(){return n(65218)},get EvalSourceMapDevToolPlugin(){return n(14790)},get ExternalModule(){return n(73071)},get ExternalsPlugin(){return n(6652)},get Generator(){return n(93401)},get HotUpdateChunk(){return n(9597)},get HotModuleReplacementPlugin(){return n(6404)},get IgnorePlugin(){return n(84808)},get JavascriptModulesPlugin(){return s.deprecate(()=>n(89464),"webpack.JavascriptModulesPlugin has moved to webpack.javascript.JavascriptModulesPlugin","DEP_WEBPACK_JAVASCRIPT_MODULES_PLUGIN")()},get LibManifestPlugin(){return n(93837)},get LibraryTemplatePlugin(){return s.deprecate(()=>n(14157),"webpack.LibraryTemplatePlugin is deprecated and has been replaced by compilation.outputOptions.library or compilation.addEntry + passing a library option","DEP_WEBPACK_LIBRARY_TEMPLATE_PLUGIN")()},get LoaderOptionsPlugin(){return n(22078)},get LoaderTargetPlugin(){return n(86738)},get Module(){return n(73208)},get ModuleFilenameHelpers(){return n(88821)},get ModuleGraph(){return n(99988)},get ModuleGraphConnection(){return n(40639)},get NoEmitOnErrorsPlugin(){return n(50169)},get NormalModule(){return n(39)},get NormalModuleReplacementPlugin(){return n(30633)},get MultiCompiler(){return n(33370)},get Parser(){return n(11715)},get PrefetchPlugin(){return n(73850)},get ProgressPlugin(){return n(13216)},get ProvidePlugin(){return n(38309)},get RuntimeGlobals(){return n(16475)},get RuntimeModule(){return n(16963)},get SingleEntryPlugin(){return s.deprecate(()=>n(96953),"SingleEntryPlugin was renamed to EntryPlugin","DEP_WEBPACK_SINGLE_ENTRY_PLUGIN")()},get SourceMapDevToolPlugin(){return n(63872)},get Stats(){return n(31743)},get Template(){return n(1626)},get UsageState(){return n(63686).UsageState},get WatchIgnorePlugin(){return n(65193)},get WebpackError(){return n(53799)},get WebpackOptionsApply(){return n(88422)},get WebpackOptionsDefaulter(){return s.deprecate(()=>n(14452),"webpack.WebpackOptionsDefaulter is deprecated and has been replaced by webpack.config.getNormalizedWebpackOptions and webpack.config.applyWebpackOptionsDefaults","DEP_WEBPACK_OPTIONS_DEFAULTER")()},get WebpackOptionsValidationError(){return n(33225).ValidationError},get ValidationError(){return n(33225).ValidationError},cache:{get MemoryCachePlugin(){return n(52539)}},config:{get getNormalizedWebpackOptions(){return n(26693).getNormalizedWebpackOptions},get applyWebpackOptionsDefaults(){return n(92988).applyWebpackOptionsDefaults}},ids:{get ChunkModuleIdRangePlugin(){return n(64618)},get NaturalModuleIdsPlugin(){return n(83366)},get OccurrenceModuleIdsPlugin(){return n(35371)},get NamedModuleIdsPlugin(){return n(24339)},get DeterministicChunkIdsPlugin(){return n(8747)},get DeterministicModuleIdsPlugin(){return n(76692)},get NamedChunkIdsPlugin(){return n(6454)},get OccurrenceChunkIdsPlugin(){return n(51020)},get HashedModuleIdsPlugin(){return n(21825)}},javascript:{get EnableChunkLoadingPlugin(){return n(61291)},get JavascriptModulesPlugin(){return n(89464)},get JavascriptParser(){return n(29050)}},optimize:{get AggressiveMergingPlugin(){return n(64395)},get AggressiveSplittingPlugin(){return s.deprecate(()=>n(15543),"AggressiveSplittingPlugin is deprecated in favor of SplitChunksPlugin","DEP_WEBPACK_AGGRESSIVE_SPLITTING_PLUGIN")()},get LimitChunkCountPlugin(){return n(83608)},get MinChunkSizePlugin(){return n(53912)},get ModuleConcatenationPlugin(){return n(74844)},get RealContentHashPlugin(){return n(46043)},get RuntimeChunkPlugin(){return n(2837)},get SideEffectsFlagPlugin(){return n(84800)},get SplitChunksPlugin(){return n(21478)}},runtime:{get GetChunkFilenameRuntimeModule(){return n(34277)},get LoadScriptRuntimeModule(){return n(19942)}},prefetch:{get ChunkPrefetchPreloadPlugin(){return n(33895)}},web:{get FetchCompileAsyncWasmPlugin(){return n(8437)},get FetchCompileWasmPlugin(){return n(35537)},get JsonpChunkLoadingRuntimeModule(){return n(84154)},get JsonpTemplatePlugin(){return n(4607)}},webworker:{get WebWorkerTemplatePlugin(){return n(68693)}},node:{get NodeEnvironmentPlugin(){return n(7553)},get NodeSourcePlugin(){return n(7103)},get NodeTargetPlugin(){return n(17916)},get NodeTemplatePlugin(){return n(61052)},get ReadFileCompileWasmPlugin(){return n(98939)}},electron:{get ElectronTargetPlugin(){return n(32277)}},wasm:{get AsyncWebAssemblyModulesPlugin(){return n(7538)}},library:{get AbstractLibraryPlugin(){return n(26030)},get EnableLibraryPlugin(){return n(91452)}},container:{get ContainerPlugin(){return n(9244)},get ContainerReferencePlugin(){return n(95757)},get ModuleFederationPlugin(){return n(30569)},get scope(){return n(3083).scope}},sharing:{get ConsumeSharedPlugin(){return n(15046)},get ProvideSharedPlugin(){return n(31225)},get SharePlugin(){return n(26335)},get scope(){return n(3083).scope}},debug:{get ProfilingPlugin(){return n(2757)}},util:{get createHash(){return n(49835)},get comparators(){return n(29579)},get serialization(){return n(8282)},get cleverMerge(){return n(60839).cachedCleverMerge}},get sources(){return n(84697)},experiments:{schemes:{get HttpUriPlugin(){return n(42110)},get HttpsUriPlugin(){return n(47026)}}}})},18535:(e,t,n)=>{"use strict";const{ConcatSource:s}=n(84697);const i=n(9597);const o=n(1626);const{getEntryInfo:r}=n(54953);const{chunkHasJs:a,getCompilationHooks:c}=n(89464);class ArrayPushCallbackChunkFormatPlugin{apply(e){e.hooks.thisCompilation.tap("ArrayPushCallbackChunkFormatPlugin",e=>{const t=c(e);t.renderChunk.tap("ArrayPushCallbackChunkFormatPlugin",(e,t)=>{const{chunk:n,chunkGraph:c,runtimeTemplate:u}=t;const l=n instanceof i?n:null;const d=u.outputOptions.globalObject;const p=new s;const h=c.getChunkRuntimeModulesInOrder(n);const f=h.length>0&&o.renderChunkRuntimeModules(h,t);if(l){const t=u.outputOptions.hotUpdateGlobal;p.add(`${d}[${JSON.stringify(t)}](`);p.add(`${JSON.stringify(n.id)},`);p.add(e);if(f){p.add(",\n");p.add(f)}p.add(")")}else{const t=u.outputOptions.chunkLoadingGlobal;p.add(`(${d}[${JSON.stringify(t)}] = ${d}[${JSON.stringify(t)}] || []).push([`);p.add(`${JSON.stringify(n.ids)},`);p.add(e);const s=r(c,n,e=>a(e,c));const i=s.length>0&&`,${JSON.stringify(s)}`;if(f||i){p.add(",\n");p.add(f||"0")}if(i){p.add(i)}p.add("])")}return p});t.chunkHash.tap("ArrayPushCallbackChunkFormatPlugin",(e,t,{chunkGraph:n,runtimeTemplate:s})=>{if(e.hasRuntime())return;t.update("ArrayPushCallbackChunkFormatPlugin");t.update("1");t.update(JSON.stringify(r(n,e,e=>a(e,n))));t.update(`${s.outputOptions.chunkLoadingGlobal}`);t.update(`${s.outputOptions.hotUpdateGlobal}`);t.update(`${s.outputOptions.globalObject}`)})})}}e.exports=ArrayPushCallbackChunkFormatPlugin},950:e=>{"use strict";const t=0;const n=1;const s=2;const i=3;const o=4;const r=5;const a=6;const c=7;const u=8;const l=9;const d=10;const p=11;const h=12;const f=13;class BasicEvaluatedExpression{constructor(){this.type=t;this.range=undefined;this.falsy=false;this.truthy=false;this.nullish=undefined;this.sideEffects=true;this.bool=undefined;this.number=undefined;this.bigint=undefined;this.regExp=undefined;this.string=undefined;this.quasis=undefined;this.parts=undefined;this.array=undefined;this.items=undefined;this.options=undefined;this.prefix=undefined;this.postfix=undefined;this.wrappedInnerExpressions=undefined;this.identifier=undefined;this.rootInfo=undefined;this.getMembers=undefined;this.expression=undefined}isUnknown(){return this.type===t}isNull(){return this.type===s}isUndefined(){return this.type===n}isString(){return this.type===i}isNumber(){return this.type===o}isBigInt(){return this.type===f}isBoolean(){return this.type===r}isRegExp(){return this.type===a}isConditional(){return this.type===c}isArray(){return this.type===u}isConstArray(){return this.type===l}isIdentifier(){return this.type===d}isWrapped(){return this.type===p}isTemplateString(){return this.type===h}isPrimitiveType(){switch(this.type){case n:case s:case i:case o:case r:case f:case p:case h:return true;case a:case u:case l:return false;default:return undefined}}isCompileTimeValue(){switch(this.type){case n:case s:case i:case o:case r:case a:case l:case f:return true;default:return false}}asCompileTimeValue(){switch(this.type){case n:return undefined;case s:return null;case i:return this.string;case o:return this.number;case r:return this.bool;case a:return this.regExp;case l:return this.array;case f:return this.bigint;default:throw new Error("asCompileTimeValue must only be called for compile-time values")}}isTruthy(){return this.truthy}isFalsy(){return this.falsy}isNullish(){return this.nullish}couldHaveSideEffects(){return this.sideEffects}asBool(){if(this.truthy)return true;if(this.falsy||this.nullish)return false;if(this.isBoolean())return this.bool;if(this.isNull())return false;if(this.isUndefined())return false;if(this.isString())return this.string!=="";if(this.isNumber())return this.number!==0;if(this.isBigInt())return this.bigint!==BigInt(0);if(this.isRegExp())return true;if(this.isArray())return true;if(this.isConstArray())return true;if(this.isWrapped()){return this.prefix&&this.prefix.asBool()||this.postfix&&this.postfix.asBool()?true:undefined}if(this.isTemplateString()){const e=this.asString();if(typeof e==="string")return e!==""}return undefined}asNullish(){const e=this.isNullish();if(e===true||this.isNull()||this.isUndefined())return true;if(e===false)return false;if(this.isTruthy())return false;if(this.isBoolean())return false;if(this.isString())return false;if(this.isNumber())return false;if(this.isBigInt())return false;if(this.isRegExp())return false;if(this.isArray())return false;if(this.isConstArray())return false;if(this.isTemplateString())return false;if(this.isRegExp())return false;return undefined}asString(){if(this.isBoolean())return`${this.bool}`;if(this.isNull())return"null";if(this.isUndefined())return"undefined";if(this.isString())return this.string;if(this.isNumber())return`${this.number}`;if(this.isBigInt())return`${this.bigint}`;if(this.isRegExp())return`${this.regExp}`;if(this.isArray()){let e=[];for(const t of this.items){const n=t.asString();if(n===undefined)return undefined;e.push(n)}return`${e}`}if(this.isConstArray())return`${this.array}`;if(this.isTemplateString()){let e="";for(const t of this.parts){const n=t.asString();if(n===undefined)return undefined;e+=n}return e}return undefined}setString(e){this.type=i;this.string=e;this.sideEffects=false;return this}setUndefined(){this.type=n;this.sideEffects=false;return this}setNull(){this.type=s;this.sideEffects=false;return this}setNumber(e){this.type=o;this.number=e;this.sideEffects=false;return this}setBigInt(e){this.type=f;this.bigint=e;this.sideEffects=false;return this}setBoolean(e){this.type=r;this.bool=e;this.sideEffects=false;return this}setRegExp(e){this.type=a;this.regExp=e;this.sideEffects=false;return this}setIdentifier(e,t,n){this.type=d;this.identifier=e;this.rootInfo=t;this.getMembers=n;this.sideEffects=true;return this}setWrapped(e,t,n){this.type=p;this.prefix=e;this.postfix=t;this.wrappedInnerExpressions=n;this.sideEffects=true;return this}setOptions(e){this.type=c;this.options=e;this.sideEffects=true;return this}addOptions(e){if(!this.options){this.type=c;this.options=[];this.sideEffects=true}for(const t of e){this.options.push(t)}return this}setItems(e){this.type=u;this.items=e;this.sideEffects=e.some(e=>e.couldHaveSideEffects());return this}setArray(e){this.type=l;this.array=e;this.sideEffects=false;return this}setTemplateString(e,t,n){this.type=h;this.quasis=e;this.parts=t;this.templateStringKind=n;this.sideEffects=t.some(e=>e.sideEffects);return this}setTruthy(){this.falsy=false;this.truthy=true;this.nullish=false;return this}setFalsy(){this.falsy=true;this.truthy=false;return this}setNullish(e){this.nullish=e;return this}setRange(e){this.range=e;return this}setSideEffects(e=true){this.sideEffects=e;return this}setExpression(e){this.expression=e;return this}}BasicEvaluatedExpression.isValidRegExpFlags=(e=>{const t=e.length;if(t===0)return true;if(t>4)return false;let n=0;for(let s=0;s{"use strict";const{ConcatSource:s}=n(84697);const i=n(16475);const o=n(1626);const{getEntryInfo:r}=n(54953);const{getChunkFilenameTemplate:a,chunkHasJs:c,getCompilationHooks:u}=n(89464);class CommonJsChunkFormatPlugin{apply(e){e.hooks.thisCompilation.tap("CommonJsChunkFormatPlugin",e=>{const t=u(e);t.renderChunk.tap("CommonJsChunkFormatPlugin",(t,n)=>{const{chunk:r,chunkGraph:c,runtimeTemplate:u}=n;const l=new s;l.add(`exports.id = ${JSON.stringify(r.id)};\n`);l.add(`exports.ids = ${JSON.stringify(r.ids)};\n`);l.add(`exports.modules = `);l.add(t);l.add(";\n");const d=c.getChunkRuntimeModulesInOrder(r);if(d.length>0){l.add("exports.runtime =\n");l.add(o.renderChunkRuntimeModules(d,n))}const p=Array.from(c.getChunkEntryModulesWithChunkGroupIterable(r));if(p.length>0){const t=p[0][1].getRuntimeChunk();const n=e.getPath(a(r,e.outputOptions),{chunk:r,contentHashType:"javascript"}).split("/");const o=e.getPath(a(t,e.outputOptions),{chunk:t,contentHashType:"javascript"}).split("/");n.pop();while(n.length>0&&o.length>0&&n[0]===o[0]){n.shift();o.shift()}const d=(n.length>0?"../".repeat(n.length):"./")+o.join("/");const h=new s;h.add(`(${u.supportsArrowFunction()?"() => ":"function() "}{\n`);h.add("var exports = {};\n");h.add(l);h.add(";\n\n// load runtime\n");h.add(`var __webpack_require__ = require(${JSON.stringify(d)});\n`);h.add(`${i.externalInstallChunk}(exports);\n`);for(let e=0;ee!==r&&e!==t).map(e=>e.id))}, ${JSON.stringify(c.getModuleId(n))});\n`)}h.add("})()");return h}return l});t.chunkHash.tap("CommonJsChunkFormatPlugin",(e,t,{chunkGraph:n})=>{if(e.hasRuntime())return;t.update("CommonJsChunkFormatPlugin");t.update("1");t.update(JSON.stringify(r(n,e,e=>c(e,n))))})})}}e.exports=CommonJsChunkFormatPlugin},61291:(e,t,n)=>{"use strict";const s=new WeakMap;const i=e=>{let t=s.get(e);if(t===undefined){t=new Set;s.set(e,t)}return t};class EnableChunkLoadingPlugin{constructor(e){this.type=e}static setEnabled(e,t){i(e).add(t)}static checkEnabled(e,t){if(!i(e).has(t)){throw new Error(`Library type "${t}" is not enabled. `+"EnableChunkLoadingPlugin need to be used to enable this type of chunk loading. "+'This usually happens through the "output.enabledChunkLoadingTypes" option. '+'If you are using a function as entry which sets "chunkLoading", you need to add all potential library types to "output.enabledChunkLoadingTypes". '+Array.from(i(e)).join(", "))}}apply(e){const{type:t}=this;const s=i(e);if(s.has(t))return;s.add(t);if(typeof t==="string"){switch(t){case"jsonp":{const t=n(83121);(new t).apply(e);break}case"import-scripts":{const t=n(54182);(new t).apply(e);break}case"require":{const t=n(1313);new t({asyncChunkLoading:false}).apply(e);break}case"async-node":{const t=n(1313);new t({asyncChunkLoading:true}).apply(e);break}case"import":throw new Error("Chunk Loading via import() is not implemented yet");case"universal":throw new Error("Universal Chunk Loading is not implemented yet");default:throw new Error(`Unsupported chunk loading type ${t}.\nPlugins which provide custom chunk loading types must call EnableChunkLoadingPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}e.exports=EnableChunkLoadingPlugin},77106:(e,t,n)=>{"use strict";const s=n(31669);const{RawSource:i,ReplaceSource:o}=n(84697);const r=n(93401);const a=n(55870);const c=n(72906);const u=s.deprecate((e,t,n)=>e.getInitFragments(t,n),"DependencyTemplate.getInitFragment is deprecated (use apply(dep, source, { initFragments }) instead)","DEP_WEBPACK_JAVASCRIPT_GENERATOR_GET_INIT_FRAGMENTS");const l=new Set(["javascript"]);class JavascriptGenerator extends r{getTypes(e){return l}getSize(e,t){const n=e.originalSource();if(!n){return 39}return n.size()}getConcatenationBailoutReason(e,t){if(!e.buildMeta||e.buildMeta.exportsType!=="namespace"||e.presentationalDependencies===undefined||!e.presentationalDependencies.some(e=>e instanceof c)){return"Module is not an ECMAScript module"}if(e.buildInfo&&e.buildInfo.moduleConcatenationBailout){return`Module uses ${e.buildInfo.moduleConcatenationBailout}`}}generate(e,t){const n=e.originalSource();if(!n){return new i("throw new Error('No source available');")}const s=new o(n);const r=[];this.sourceModule(e,r,s,t);return a.addToSource(s,r,t)}sourceModule(e,t,n,s){for(const i of e.dependencies){this.sourceDependency(e,i,t,n,s)}if(e.presentationalDependencies!==undefined){for(const i of e.presentationalDependencies){this.sourceDependency(e,i,t,n,s)}}for(const i of e.blocks){this.sourceBlock(e,i,t,n,s)}}sourceBlock(e,t,n,s,i){for(const o of t.dependencies){this.sourceDependency(e,o,n,s,i)}for(const o of t.blocks){this.sourceBlock(e,o,n,s,i)}}sourceDependency(e,t,n,s,i){const o=t.constructor;const r=i.dependencyTemplates.get(o);if(!r){throw new Error("No template for dependency: "+t.constructor.name)}const a={runtimeTemplate:i.runtimeTemplate,dependencyTemplates:i.dependencyTemplates,moduleGraph:i.moduleGraph,chunkGraph:i.chunkGraph,module:e,runtime:i.runtime,runtimeRequirements:i.runtimeRequirements,concatenationScope:i.concatenationScope,initFragments:n};r.apply(t,s,a);if("getInitFragments"in r){const e=u(r,t,a);if(e){for(const t of e){n.push(t)}}}}}e.exports=JavascriptGenerator},89464:(e,t,n)=>{"use strict";const{SyncWaterfallHook:s,SyncHook:i,SyncBailHook:o}=n(6967);const{ConcatSource:r,OriginalSource:a,PrefixSource:c,RawSource:u,CachedSource:l}=n(84697);const d=n(85720);const{tryRunOrWebpackError:p}=n(11351);const h=n(9597);const f=n(16475);const m=n(1626);const g=n(40293);const{compareModulesByIdentifier:y}=n(29579);const v=n(49835);const{intersectRuntime:b}=n(17156);const k=n(77106);const w=n(29050);const x=(e,t)=>{for(const n of e){if(t(n))return true}return false};const C=(e,t)=>{if(t.getNumberOfEntryModules(e)>0)return true;return t.getChunkModulesIterableBySourceType(e,"javascript")?true:false};const M=new WeakMap;class JavascriptModulesPlugin{static getCompilationHooks(e){if(!(e instanceof d)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let t=M.get(e);if(t===undefined){t={renderModuleContent:new s(["source","module","renderContext"]),renderModuleContainer:new s(["source","module","renderContext"]),renderModulePackage:new s(["source","module","renderContext"]),render:new s(["source","renderContext"]),renderChunk:new s(["source","renderContext"]),renderMain:new s(["source","renderContext"]),renderRequire:new s(["code","renderContext"]),chunkHash:new i(["chunk","hash","context"]),useSourceMap:new o(["chunk","renderContext"])};M.set(e,t)}return t}constructor(e={}){this.options=e;this._moduleFactoryCache=new WeakMap}apply(e){e.hooks.compilation.tap("JavascriptModulesPlugin",(e,{normalModuleFactory:t})=>{const n=JavascriptModulesPlugin.getCompilationHooks(e);t.hooks.createParser.for("javascript/auto").tap("JavascriptModulesPlugin",e=>{return new w("auto")});t.hooks.createParser.for("javascript/dynamic").tap("JavascriptModulesPlugin",e=>{return new w("script")});t.hooks.createParser.for("javascript/esm").tap("JavascriptModulesPlugin",e=>{return new w("module")});t.hooks.createGenerator.for("javascript/auto").tap("JavascriptModulesPlugin",()=>{return new k});t.hooks.createGenerator.for("javascript/dynamic").tap("JavascriptModulesPlugin",()=>{return new k});t.hooks.createGenerator.for("javascript/esm").tap("JavascriptModulesPlugin",()=>{return new k});e.hooks.renderManifest.tap("JavascriptModulesPlugin",(t,s)=>{const{hash:i,chunk:o,chunkGraph:r,moduleGraph:a,runtimeTemplate:c,dependencyTemplates:u,outputOptions:l,codeGenerationResults:d}=s;const p=o instanceof h?o:null;let f;const m=JavascriptModulesPlugin.getChunkFilenameTemplate(o,l);if(p){f=(()=>this.renderChunk({chunk:o,dependencyTemplates:u,runtimeTemplate:c,moduleGraph:a,chunkGraph:r,codeGenerationResults:d},n))}else if(o.hasRuntime()){f=(()=>this.renderMain({hash:i,chunk:o,dependencyTemplates:u,runtimeTemplate:c,moduleGraph:a,chunkGraph:r,codeGenerationResults:d},n,e))}else{if(!C(o,r)){return t}f=(()=>this.renderChunk({chunk:o,dependencyTemplates:u,runtimeTemplate:c,moduleGraph:a,chunkGraph:r,codeGenerationResults:d},n))}t.push({render:f,filenameTemplate:m,pathOptions:{hash:i,runtime:o.runtime,chunk:o,contentHashType:"javascript"},info:{javascriptModule:e.runtimeTemplate.isModule()},identifier:p?`hotupdatechunk${o.id}`:`chunk${o.id}`,hash:o.contentHash.javascript});return t});e.hooks.chunkHash.tap("JavascriptModulesPlugin",(e,t,s)=>{n.chunkHash.call(e,t,s);if(e.hasRuntime()){this.updateHashWithBootstrap(t,{hash:"0000",chunk:e,chunkGraph:s.chunkGraph,moduleGraph:s.moduleGraph,runtimeTemplate:s.runtimeTemplate},n)}});e.hooks.contentHash.tap("JavascriptModulesPlugin",t=>{const{chunkGraph:s,moduleGraph:i,runtimeTemplate:o,outputOptions:{hashSalt:r,hashDigest:a,hashDigestLength:c,hashFunction:u}}=e;const l=v(u);if(r)l.update(r);if(t.hasRuntime()){this.updateHashWithBootstrap(l,{hash:"0000",chunk:t,chunkGraph:e.chunkGraph,moduleGraph:e.moduleGraph,runtimeTemplate:e.runtimeTemplate},n)}else{l.update(`${t.id} `);l.update(t.ids?t.ids.join(","):"")}n.chunkHash.call(t,l,{chunkGraph:s,moduleGraph:i,runtimeTemplate:o});const d=s.getChunkModulesIterableBySourceType(t,"javascript");if(d){const e=new g;for(const n of d){e.add(s.getModuleHash(n,t.runtime))}e.updateHash(l)}const p=s.getChunkModulesIterableBySourceType(t,"runtime");if(p){const e=new g;for(const n of p){e.add(s.getModuleHash(n,t.runtime))}e.updateHash(l)}const h=l.digest(a);t.contentHash.javascript=h.substr(0,c)})})}static getChunkFilenameTemplate(e,t){if(e.filenameTemplate){return e.filenameTemplate}else if(e instanceof h){return t.hotUpdateChunkFilename}else if(e.canBeInitial()){return t.filename}else{return t.chunkFilename}}renderModule(e,t,n,s){const{chunk:i,chunkGraph:o,runtimeTemplate:a,codeGenerationResults:c}=t;try{const u=c.getSource(e,i.runtime,"javascript");if(!u)return null;const d=p(()=>n.renderModuleContent.call(u,e,t),"JavascriptModulesPlugin.getCompilationHooks().renderModuleContent");let h;if(s){const c=o.getModuleRuntimeRequirements(e,i.runtime);const u=c.has(f.module);const m=c.has(f.exports);const g=c.has(f.require)||c.has(f.requireScope);const y=c.has(f.thisAsExports);const v=e.buildInfo.strict&&s!=="strict";const b=this._moduleFactoryCache.get(d);let k;if(b&&b.needModule===u&&b.needExports===m&&b.needRequire===g&&b.needThisAsExports===y&&b.needStrict===v){k=b.source}else{const t=new r;const n=[];if(m||g||u)n.push(u?e.moduleArgument:"__unused_webpack_"+e.moduleArgument);if(m||g)n.push(m?e.exportsArgument:"__unused_webpack_"+e.exportsArgument);if(g)n.push("__webpack_require__");if(!y&&a.supportsArrowFunction()){t.add("/***/ (("+n.join(", ")+") => {\n\n")}else{t.add("/***/ (function("+n.join(", ")+") {\n\n")}if(v){t.add('"use strict";\n')}t.add(d);t.add("\n\n/***/ })");k=new l(t);this._moduleFactoryCache.set(d,{source:k,needModule:u,needExports:m,needRequire:g,needThisAsExports:y,needStrict:v})}h=p(()=>n.renderModuleContainer.call(k,e,t),"JavascriptModulesPlugin.getCompilationHooks().renderModuleContainer")}else{h=d}return p(()=>n.renderModulePackage.call(h,e,t),"JavascriptModulesPlugin.getCompilationHooks().renderModulePackage")}catch(t){t.module=e;throw t}}renderChunk(e,t){const{chunk:n,chunkGraph:s}=e;const i=s.getOrderedChunkModulesIterableBySourceType(n,"javascript",y);const o=m.renderChunkModules(e,i?Array.from(i):[],n=>this.renderModule(n,e,t,true))||new u("{}");let a=p(()=>t.renderChunk.call(o,e),"JavascriptModulesPlugin.getCompilationHooks().renderChunk");a=p(()=>t.render.call(a,e),"JavascriptModulesPlugin.getCompilationHooks().render");n.rendered=true;return new r(a,";")}renderMain(e,t,n){const{chunk:s,chunkGraph:i,runtimeTemplate:o}=e;const l=i.getTreeRuntimeRequirements(s);const d=o.isIIFE();const h=this.renderBootstrap(e,t);const g=t.useSourceMap.call(s,e);const v=Array.from(i.getOrderedChunkModulesIterableBySourceType(s,"javascript",y)||[]);const b=v.every(e=>e.buildInfo.strict);let k;if(h.allowInlineStartup){k=new Set(i.getChunkEntryModulesIterable(s))}let w=new r;let x;if(d){if(o.supportsArrowFunction()){w.add("/******/ (() => { // webpackBootstrap\n")}else{w.add("/******/ (function() { // webpackBootstrap\n")}x="/******/ \t"}else{x="/******/ "}if(b){w.add(x+'"use strict";\n')}const C=m.renderChunkModules(e,k?v.filter(e=>!k.has(e)):v,n=>this.renderModule(n,e,t,b?"strict":true),x);if(C||l.has(f.moduleFactories)||l.has(f.moduleFactoriesAddOnly)){w.add(x+"var __webpack_modules__ = (");w.add(C||"{}");w.add(");\n");w.add("/************************************************************************/\n")}if(h.header.length>0){const e=m.asString(h.header)+"\n";w.add(new c(x,g?new a(e,"webpack/bootstrap"):new u(e)));w.add("/************************************************************************/\n")}const M=e.chunkGraph.getChunkRuntimeModulesInOrder(s);if(M.length>0){w.add(new c(x,m.renderRuntimeModules(M,e)));w.add("/************************************************************************/\n");for(const e of M){n.codeGeneratedModules.add(e)}}if(k){if(h.beforeStartup.length>0){const e=m.asString(h.beforeStartup)+"\n";w.add(new c(x,g?new a(e,"webpack/before-startup"):new u(e)))}for(const n of k){const s=this.renderModule(n,e,t,false);if(s){const e=!b&&n.buildInfo.strict;const t=e||k.size>1||C;if(t){if(o.supportsArrowFunction()){w.add("(() => {\n");if(e)w.add('"use strict";\n');w.add(s);w.add("\n})();\n\n")}else{w.add("!function() {\n");if(e)w.add('"use strict";\n');w.add(s);w.add("\n}();\n")}}else{w.add(s);w.add("\n")}}}if(h.afterStartup.length>0){const e=m.asString(h.afterStartup)+"\n";w.add(new c(x,g?new a(e,"webpack/after-startup"):new u(e)))}}else{const e=m.asString([...h.beforeStartup,...h.startup,...h.afterStartup])+"\n";w.add(new c(x,g?new a(e,"webpack/startup"):new u(e)))}if(d){w.add("/******/ })()\n")}let S=p(()=>t.renderMain.call(w,e),"JavascriptModulesPlugin.getCompilationHooks().renderMain");if(!S){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderMain plugins should return something")}S=p(()=>t.render.call(S,e),"JavascriptModulesPlugin.getCompilationHooks().render");if(!S){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().render plugins should return something")}s.rendered=true;return d?new r(S,";"):S}updateHashWithBootstrap(e,t,n){const s=this.renderBootstrap(t,n);for(const t of Object.keys(s)){e.update(t);if(Array.isArray(s[t])){for(const n of s[t]){e.update(n)}}else{e.update(JSON.stringify(s[t]))}}}renderBootstrap(e,t){const{chunkGraph:n,moduleGraph:s,chunk:i,runtimeTemplate:o}=e;const r=n.getTreeRuntimeRequirements(i);const a=r.has(f.require);const c=r.has(f.moduleCache);const u=r.has(f.moduleFactories);const l=r.has(f.module);const d=r.has(f.exports);const p=r.has(f.requireScope);const h=r.has(f.interceptModuleExecution);const g=r.has(f.returnExportsFromRuntime);const y=a||h||g||l||d;const v={header:[],beforeStartup:[],startup:[],afterStartup:[],allowInlineStartup:true};let{header:k,startup:w,beforeStartup:C,afterStartup:M}=v;if(v.allowInlineStartup&&u){w.push("// module factories are used so entry inlining is disabled");v.allowInlineStartup=false}if(v.allowInlineStartup&&c){w.push("// module cache are used so entry inlining is disabled");v.allowInlineStartup=false}if(v.allowInlineStartup&&h){w.push("// module execution is intercepted so entry inlining is disabled");v.allowInlineStartup=false}if(v.allowInlineStartup&&g){w.push("// module exports must be returned from runtime so entry inlining is disabled");v.allowInlineStartup=false}if(y||c){k.push("// The module cache");k.push("var __webpack_module_cache__ = {};");k.push("")}if(y){k.push("// The require function");k.push(`function __webpack_require__(moduleId) {`);k.push(m.indent(this.renderRequire(e,t)));k.push("}");k.push("")}else if(r.has(f.requireScope)){k.push("// The require scope");k.push("var __webpack_require__ = {};");k.push("")}if(u||r.has(f.moduleFactoriesAddOnly)){k.push("// expose the modules object (__webpack_modules__)");k.push(`${f.moduleFactories} = __webpack_modules__;`);k.push("")}if(c){k.push("// expose the module cache");k.push(`${f.moduleCache} = __webpack_module_cache__;`);k.push("")}if(h){k.push("// expose the module execution interceptor");k.push(`${f.interceptModuleExecution} = [];`);k.push("")}if(!r.has(f.startupNoDefault)){if(n.getNumberOfEntryModules(i)>0){const e=[];const t=n.getTreeRuntimeRequirements(i);e.push(g?"// Load entry module and return exports":"// Load entry module");let r=n.getNumberOfEntryModules(i);for(const o of n.getChunkEntryModulesIterable(i)){if(v.allowInlineStartup&&x(s.getIncomingConnections(o),e=>e.originModule&&e.isTargetActive(i.runtime)&&x(n.getModuleRuntimes(e.originModule),e=>b(e,i.runtime)!==undefined))){e.push("// This entry module is referenced by other modules so it can't be inlined");v.allowInlineStartup=false}const a=--r===0&&g?"return ":"";const c=n.getModuleId(o);const u=n.getModuleRuntimeRequirements(o,i.runtime);let l=JSON.stringify(c);if(t.has(f.entryModuleId)){l=`${f.entryModuleId} = ${l}`}if(y){e.push(`${a}__webpack_require__(${l});`);if(v.allowInlineStartup){if(u.has(f.module)){v.allowInlineStartup=false;e.push("// This entry module used 'module' so it can't be inlined")}else if(u.has(f.exports)){e.push("// This entry module used 'exports' so it can't be inlined");v.allowInlineStartup=false}}}else if(p){e.push(`__webpack_modules__[${l}](0, 0, __webpack_require__);`)}else{e.push(`__webpack_modules__[${l}]();`)}}if(t.has(f.startup)||(g||t.has(f.startupOnlyBefore))&&t.has(f.startupOnlyAfter)){v.allowInlineStartup=false;k.push("// the startup function");k.push(`${f.startup} = ${o.basicFunction("",e)};`);k.push("");w.push("// run startup");w.push(`return ${f.startup}();`)}else if(t.has(f.startupOnlyBefore)){k.push("// the startup function");k.push(`${f.startup} = ${o.emptyFunction()};`);C.push("// run runtime startup");C.push(`${f.startup}();`);w.push("// startup");w.push(m.asString(e))}else if(t.has(f.startupOnlyAfter)){k.push("// the startup function");k.push(`${f.startup} = ${o.emptyFunction()};`);w.push("// startup");w.push(m.asString(e));M.push("// run runtime startup");M.push(`return ${f.startup}();`)}else{w.push("// startup");w.push(m.asString(e))}}else if(r.has(f.startup)||r.has(f.startupOnlyBefore)||r.has(f.startupOnlyAfter)){k.push("// the startup function","// It's empty as no entry modules are in this chunk",`${f.startup} = ${o.emptyFunction()}`,"")}}else if(r.has(f.startup)||r.has(f.startupOnlyBefore)||r.has(f.startupOnlyAfter)){v.allowInlineStartup=false;k.push("// the startup function","// It's empty as some runtime module handles the default behavior",`${f.startup} = ${o.emptyFunction()}`);w.push("// run startup");w.push(`return ${f.startup}();`)}return v}renderRequire(e,t){const{chunk:n,chunkGraph:s,runtimeTemplate:{outputOptions:i}}=e;const o=s.getTreeRuntimeRequirements(n);const r=o.has(f.interceptModuleExecution)?m.asString(["var execOptions = { id: moduleId, module: module, factory: __webpack_modules__[moduleId], require: __webpack_require__ };",`${f.interceptModuleExecution}.forEach(function(handler) { handler(execOptions); });`,"module = execOptions.module;","execOptions.factory.call(module.exports, module, module.exports, execOptions.require);"]):o.has(f.thisAsExports)?m.asString(["__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);"]):m.asString(["__webpack_modules__[moduleId](module, module.exports, __webpack_require__);"]);const a=o.has(f.moduleId);const c=o.has(f.moduleLoaded);const u=m.asString(["// Check if module is in cache","if(__webpack_module_cache__[moduleId]) {",m.indent("return __webpack_module_cache__[moduleId].exports;"),"}","// Create a new module (and put it into the cache)","var module = __webpack_module_cache__[moduleId] = {",m.indent([a?"id: moduleId,":"// no module.id needed",c?"loaded: false,":"// no module.loaded needed","exports: {}"]),"};","",i.strictModuleExceptionHandling?m.asString(["// Execute the module function","var threw = true;","try {",m.indent([r,"threw = false;"]),"} finally {",m.indent(["if(threw) delete __webpack_module_cache__[moduleId];"]),"}"]):m.asString(["// Execute the module function",r]),c?m.asString(["","// Flag the module as loaded","module.loaded = true;",""]):"","// Return the exports of the module","return module.exports;"]);return p(()=>t.renderRequire.call(u,e),"JavascriptModulesPlugin.getCompilationHooks().renderRequire")}}e.exports=JavascriptModulesPlugin;e.exports.chunkHasJs=C},29050:(e,t,n)=>{"use strict";const{Parser:s}=n(1610);const{SyncBailHook:i,HookMap:o}=n(6967);const r=n(92184);const a=n(11715);const c=n(58845);const u=n(6157);const l=n(950);const d=[];const p=1;const h=2;const f=3;const m=s;class VariableInfo{constructor(e,t,n){this.declaredScope=e;this.freeName=t;this.tagInfo=n}}const g=(e,t)=>{if(!t)return e;if(!e)return t;return[e[0],t[1]]};const y=(e,t)=>{let n=e;for(let e=t.length-1;e>=0;e--){n=n+"."+t[e]}return n};const v=e=>{switch(e.type){case"Identifier":return e.name;case"ThisExpression":return"this";case"MetaProperty":return`${e.meta.name}.${e.property.name}`;default:return undefined}};const b={ranges:true,locations:true,ecmaVersion:"latest",sourceType:"module",allowAwaitOutsideFunction:true,onComment:null};const k=new RegExp(/(^|\W)webpack[A-Z]{1,}[A-Za-z]{1,}:/);const w={options:null,errors:null};class JavascriptParser extends a{constructor(e="auto"){super();this.hooks=Object.freeze({evaluateTypeof:new o(()=>new i(["expression"])),evaluate:new o(()=>new i(["expression"])),evaluateIdentifier:new o(()=>new i(["expression"])),evaluateDefinedIdentifier:new o(()=>new i(["expression"])),evaluateCallExpressionMember:new o(()=>new i(["expression","param"])),isPure:new o(()=>new i(["expression","commentsStartPosition"])),preStatement:new i(["statement"]),blockPreStatement:new i(["declaration"]),statement:new i(["statement"]),statementIf:new i(["statement"]),classExtendsExpression:new i(["expression","statement"]),classBodyElement:new i(["element","statement"]),label:new o(()=>new i(["statement"])),import:new i(["statement","source"]),importSpecifier:new i(["statement","source","exportName","identifierName"]),export:new i(["statement"]),exportImport:new i(["statement","source"]),exportDeclaration:new i(["statement","declaration"]),exportExpression:new i(["statement","declaration"]),exportSpecifier:new i(["statement","identifierName","exportName","index"]),exportImportSpecifier:new i(["statement","source","identifierName","exportName","index"]),preDeclarator:new i(["declarator","statement"]),declarator:new i(["declarator","statement"]),varDeclaration:new o(()=>new i(["declaration"])),varDeclarationLet:new o(()=>new i(["declaration"])),varDeclarationConst:new o(()=>new i(["declaration"])),varDeclarationVar:new o(()=>new i(["declaration"])),pattern:new o(()=>new i(["pattern"])),canRename:new o(()=>new i(["initExpression"])),rename:new o(()=>new i(["initExpression"])),assign:new o(()=>new i(["expression"])),assignMemberChain:new o(()=>new i(["expression","members"])),typeof:new o(()=>new i(["expression"])),importCall:new i(["expression"]),topLevelAwait:new i(["expression"]),call:new o(()=>new i(["expression"])),callMemberChain:new o(()=>new i(["expression","members"])),memberChainOfCallMemberChain:new o(()=>new i(["expression","calleeMembers","callExpression","members"])),callMemberChainOfCallMemberChain:new o(()=>new i(["expression","calleeMembers","innerCallExpression","members"])),optionalChaining:new i(["optionalChaining"]),new:new o(()=>new i(["expression"])),expression:new o(()=>new i(["expression"])),expressionMemberChain:new o(()=>new i(["expression","members"])),unhandledExpressionMemberChain:new o(()=>new i(["expression","members"])),expressionConditionalOperator:new i(["expression"]),expressionLogicalOperator:new i(["expression"]),program:new i(["ast","comments"]),finish:new i(["ast","comments"])});this.sourceType=e;this.scope=undefined;this.state=undefined;this.comments=undefined;this.semicolons=undefined;this.statementPath=undefined;this.prevStatement=undefined;this.currentTagData=undefined;this._initializeEvaluating()}_initializeEvaluating(){this.hooks.evaluate.for("Literal").tap("JavascriptParser",e=>{const t=e;switch(typeof t.value){case"number":return(new l).setNumber(t.value).setRange(t.range);case"bigint":return(new l).setBigInt(t.value).setRange(t.range);case"string":return(new l).setString(t.value).setRange(t.range);case"boolean":return(new l).setBoolean(t.value).setRange(t.range)}if(t.value===null){return(new l).setNull().setRange(t.range)}if(t.value instanceof RegExp){return(new l).setRegExp(t.value).setRange(t.range)}});this.hooks.evaluate.for("NewExpression").tap("JavascriptParser",e=>{const t=e;const n=t.callee;if(n.type!=="Identifier"||n.name!=="RegExp"||t.arguments.length>2||this.getVariableInfo("RegExp")!=="RegExp")return;let s,i;const o=t.arguments[0];if(o){if(o.type==="SpreadElement")return;const e=this.evaluateExpression(o);if(!e)return;s=e.asString();if(!s)return}else{return(new l).setRegExp(new RegExp("")).setRange(t.range)}const r=t.arguments[1];if(r){if(r.type==="SpreadElement")return;const e=this.evaluateExpression(r);if(!e)return;if(!e.isUndefined()){i=e.asString();if(i===undefined||!l.isValidRegExpFlags(i))return}}return(new l).setRegExp(i?new RegExp(s,i):new RegExp(s)).setRange(t.range)});this.hooks.evaluate.for("LogicalExpression").tap("JavascriptParser",e=>{const t=e;const n=this.evaluateExpression(t.left);if(!n)return;if(t.operator==="&&"){const e=n.asBool();if(e===false)return n.setRange(t.range);if(e!==true)return}else if(t.operator==="||"){const e=n.asBool();if(e===true)return n.setRange(t.range);if(e!==false)return}else if(t.operator==="??"){const e=n.asNullish();if(e===false)return n.setRange(t.range);if(e!==true)return}else return;const s=this.evaluateExpression(t.right);if(!s)return;if(n.couldHaveSideEffects())s.setSideEffects();return s.setRange(t.range)});const e=(e,t,n)=>{switch(typeof e){case"boolean":return(new l).setBoolean(e).setSideEffects(n).setRange(t.range);case"number":return(new l).setNumber(e).setSideEffects(n).setRange(t.range);case"bigint":return(new l).setBigInt(e).setSideEffects(n).setRange(t.range);case"string":return(new l).setString(e).setSideEffects(n).setRange(t.range)}};this.hooks.evaluate.for("BinaryExpression").tap("JavascriptParser",t=>{const n=t;const s=t=>{const s=this.evaluateExpression(n.left);if(!s||!s.isCompileTimeValue())return;const i=this.evaluateExpression(n.right);if(!i||!i.isCompileTimeValue())return;const o=t(s.asCompileTimeValue(),i.asCompileTimeValue());return e(o,n,s.couldHaveSideEffects()||i.couldHaveSideEffects())};const i=(e,t)=>e===true&&t===false||e===false&&t===true;const o=(e,t,n,s)=>{const i=e=>{let t="";for(const n of e){const e=n.asString();if(e!==undefined)t+=e;else break}return t};const o=e=>{let t="";for(let n=e.length-1;n>=0;n--){const s=e[n].asString();if(s!==undefined)t=s+t;else break}return t};const r=i(e.parts);const a=i(t.parts);const c=o(e.parts);const u=o(t.parts);const l=Math.min(r.length,a.length);const d=Math.min(c.length,u.length);if(r.slice(0,l)!==a.slice(0,l)||c.slice(-d)!==u.slice(-d)){return n.setBoolean(!s).setSideEffects(e.couldHaveSideEffects()||t.couldHaveSideEffects())}};const r=e=>{const t=this.evaluateExpression(n.left);if(!t)return;const s=this.evaluateExpression(n.right);if(!s)return;const r=new l;r.setRange(n.range);const a=t.isCompileTimeValue();const c=s.isCompileTimeValue();if(a&&c){return r.setBoolean(e===(t.asCompileTimeValue()===s.asCompileTimeValue())).setSideEffects(t.couldHaveSideEffects()||s.couldHaveSideEffects())}if(t.isArray()&&s.isArray()){return r.setBoolean(!e).setSideEffects(t.couldHaveSideEffects()||s.couldHaveSideEffects())}if(t.isTemplateString()&&s.isTemplateString()){return o(t,s,r,e)}const u=t.isPrimitiveType();const d=s.isPrimitiveType();if(u===false&&(a||d===true)||d===false&&(c||u===true)||i(t.asBool(),s.asBool())||i(t.asNullish(),s.asNullish())){return r.setBoolean(!e).setSideEffects(t.couldHaveSideEffects()||s.couldHaveSideEffects())}};const a=e=>{const t=this.evaluateExpression(n.left);if(!t)return;const s=this.evaluateExpression(n.right);if(!s)return;const i=new l;i.setRange(n.range);const r=t.isCompileTimeValue();const a=s.isCompileTimeValue();if(r&&a){return i.setBoolean(e===(t.asCompileTimeValue()==s.asCompileTimeValue())).setSideEffects(t.couldHaveSideEffects()||s.couldHaveSideEffects())}if(t.isArray()&&s.isArray()){return i.setBoolean(!e).setSideEffects(t.couldHaveSideEffects()||s.couldHaveSideEffects())}if(t.isTemplateString()&&s.isTemplateString()){return o(t,s,i,e)}};if(n.operator==="+"){const e=this.evaluateExpression(n.left);if(!e)return;const t=this.evaluateExpression(n.right);if(!t)return;const s=new l;if(e.isString()){if(t.isString()){s.setString(e.string+t.string)}else if(t.isNumber()){s.setString(e.string+t.number)}else if(t.isWrapped()&&t.prefix&&t.prefix.isString()){s.setWrapped((new l).setString(e.string+t.prefix.string).setRange(g(e.range,t.prefix.range)),t.postfix,t.wrappedInnerExpressions)}else if(t.isWrapped()){s.setWrapped(e,t.postfix,t.wrappedInnerExpressions)}else{s.setWrapped(e,null,[t])}}else if(e.isNumber()){if(t.isString()){s.setString(e.number+t.string)}else if(t.isNumber()){s.setNumber(e.number+t.number)}else{return}}else if(e.isBigInt()){if(t.isBigInt()){s.setBigInt(e.bigint+t.bigint)}}else if(e.isWrapped()){if(e.postfix&&e.postfix.isString()&&t.isString()){s.setWrapped(e.prefix,(new l).setString(e.postfix.string+t.string).setRange(g(e.postfix.range,t.range)),e.wrappedInnerExpressions)}else if(e.postfix&&e.postfix.isString()&&t.isNumber()){s.setWrapped(e.prefix,(new l).setString(e.postfix.string+t.number).setRange(g(e.postfix.range,t.range)),e.wrappedInnerExpressions)}else if(t.isString()){s.setWrapped(e.prefix,t,e.wrappedInnerExpressions)}else if(t.isNumber()){s.setWrapped(e.prefix,(new l).setString(t.number+"").setRange(t.range),e.wrappedInnerExpressions)}else if(t.isWrapped()){s.setWrapped(e.prefix,t.postfix,e.wrappedInnerExpressions&&t.wrappedInnerExpressions&&e.wrappedInnerExpressions.concat(e.postfix?[e.postfix]:[]).concat(t.prefix?[t.prefix]:[]).concat(t.wrappedInnerExpressions))}else{s.setWrapped(e.prefix,null,e.wrappedInnerExpressions&&e.wrappedInnerExpressions.concat(e.postfix?[e.postfix,t]:[t]))}}else{if(t.isString()){s.setWrapped(null,t,[e])}else if(t.isWrapped()){s.setWrapped(null,t.postfix,t.wrappedInnerExpressions&&(t.prefix?[e,t.prefix]:[e]).concat(t.wrappedInnerExpressions))}else{return}}if(e.couldHaveSideEffects()||t.couldHaveSideEffects())s.setSideEffects();s.setRange(n.range);return s}else if(n.operator==="-"){return s((e,t)=>e-t)}else if(n.operator==="*"){return s((e,t)=>e*t)}else if(n.operator==="/"){return s((e,t)=>e/t)}else if(n.operator==="**"){return s((e,t)=>e**t)}else if(n.operator==="==="){return r(true)}else if(n.operator==="=="){return a(true)}else if(n.operator==="!=="){return r(false)}else if(n.operator==="!="){return a(false)}else if(n.operator==="&"){return s((e,t)=>e&t)}else if(n.operator==="|"){return s((e,t)=>e|t)}else if(n.operator==="^"){return s((e,t)=>e^t)}else if(n.operator===">>>"){return s((e,t)=>e>>>t)}else if(n.operator===">>"){return s((e,t)=>e>>t)}else if(n.operator==="<<"){return s((e,t)=>e<e"){return s((e,t)=>e>t)}else if(n.operator==="<="){return s((e,t)=>e<=t)}else if(n.operator===">="){return s((e,t)=>e>=t)}});this.hooks.evaluate.for("UnaryExpression").tap("JavascriptParser",t=>{const n=t;const s=t=>{const s=this.evaluateExpression(n.argument);if(!s||!s.isCompileTimeValue())return;const i=t(s.asCompileTimeValue());return e(i,n,s.couldHaveSideEffects())};if(n.operator==="typeof"){switch(n.argument.type){case"Identifier":{const e=this.callHooksForName(this.hooks.evaluateTypeof,n.argument.name,n);if(e!==undefined)return e;break}case"MetaProperty":{const e=this.callHooksForName(this.hooks.evaluateTypeof,"import.meta",n);if(e!==undefined)return e;break}case"MemberExpression":{const e=this.callHooksForExpression(this.hooks.evaluateTypeof,n.argument,n);if(e!==undefined)return e;break}case"ChainExpression":{const e=this.callHooksForExpression(this.hooks.evaluateTypeof,n.argument.expression,n);if(e!==undefined)return e;break}case"FunctionExpression":{return(new l).setString("function").setRange(n.range)}}const e=this.evaluateExpression(n.argument);if(e.isUnknown())return;if(e.isString()){return(new l).setString("string").setRange(n.range)}if(e.isWrapped()){return(new l).setString("string").setSideEffects().setRange(n.range)}if(e.isUndefined()){return(new l).setString("undefined").setRange(n.range)}if(e.isNumber()){return(new l).setString("number").setRange(n.range)}if(e.isBigInt()){return(new l).setString("bigint").setRange(n.range)}if(e.isBoolean()){return(new l).setString("boolean").setRange(n.range)}if(e.isConstArray()||e.isRegExp()||e.isNull()){return(new l).setString("object").setRange(n.range)}if(e.isArray()){return(new l).setString("object").setSideEffects(e.couldHaveSideEffects()).setRange(n.range)}}else if(n.operator==="!"){const e=this.evaluateExpression(n.argument);if(!e)return;const t=e.asBool();if(typeof t!=="boolean")return;return(new l).setBoolean(!t).setSideEffects(e.couldHaveSideEffects()).setRange(n.range)}else if(n.operator==="~"){return s(e=>~e)}else if(n.operator==="+"){return s(e=>+e)}else if(n.operator==="-"){return s(e=>-e)}});this.hooks.evaluateTypeof.for("undefined").tap("JavascriptParser",e=>{return(new l).setString("undefined").setRange(e.range)});const t=(e,t)=>{let n=undefined;let s=undefined;this.hooks.evaluate.for(e).tap("JavascriptParser",e=>{const i=e;const o=t(e);if(o!==undefined){return this.callHooksForInfoWithFallback(this.hooks.evaluateIdentifier,o.name,e=>{n=i;s=o},e=>{const t=this.hooks.evaluateDefinedIdentifier.get(e);if(t!==undefined){return t.call(i)}},i)}});this.hooks.evaluate.for(e).tap({name:"JavascriptParser",stage:100},e=>{const i=n===e?s:t(e);if(i!==undefined){return(new l).setIdentifier(i.name,i.rootInfo,i.getMembers).setRange(e.range)}})};t("Identifier",e=>{const t=this.getVariableInfo(e.name);if(typeof t==="string"||t instanceof VariableInfo&&typeof t.freeName==="string"){return{name:t,rootInfo:t,getMembers:()=>[]}}});t("ThisExpression",e=>{const t=this.getVariableInfo("this");if(typeof t==="string"||t instanceof VariableInfo&&typeof t.freeName==="string"){return{name:t,rootInfo:t,getMembers:()=>[]}}});this.hooks.evaluate.for("MetaProperty").tap("JavascriptParser",e=>{const t=e;return this.callHooksForName(this.hooks.evaluateIdentifier,v(e),t)});t("MemberExpression",e=>this.getMemberExpressionInfo(e,h));this.hooks.evaluate.for("CallExpression").tap("JavascriptParser",e=>{const t=e;if(t.callee.type!=="MemberExpression"||t.callee.property.type!==(t.callee.computed?"Literal":"Identifier")){return}const n=this.evaluateExpression(t.callee.object);if(!n)return;const s=t.callee.property.type==="Literal"?`${t.callee.property.value}`:t.callee.property.name;const i=this.hooks.evaluateCallExpressionMember.get(s);if(i!==undefined){return i.call(t,n)}});this.hooks.evaluateCallExpressionMember.for("indexOf").tap("JavascriptParser",(e,t)=>{if(!t.isString())return;if(e.arguments.length===0)return;const[n,s]=e.arguments;if(n.type==="SpreadElement")return;const i=this.evaluateExpression(n);if(!i.isString())return;const o=i.string;let r;if(s){if(s.type==="SpreadElement")return;const e=this.evaluateExpression(s);if(!e.isNumber())return;r=t.string.indexOf(o,e.number)}else{r=t.string.indexOf(o)}return(new l).setNumber(r).setSideEffects(t.couldHaveSideEffects()).setRange(e.range)});this.hooks.evaluateCallExpressionMember.for("replace").tap("JavascriptParser",(e,t)=>{if(!t.isString())return;if(e.arguments.length!==2)return;if(e.arguments[0].type==="SpreadElement")return;if(e.arguments[1].type==="SpreadElement")return;let n=this.evaluateExpression(e.arguments[0]);let s=this.evaluateExpression(e.arguments[1]);if(!n.isString()&&!n.isRegExp())return;const i=n.regExp||n.string;if(!s.isString())return;const o=s.string;return(new l).setString(t.string.replace(i,o)).setSideEffects(t.couldHaveSideEffects()).setRange(e.range)});["substr","substring","slice"].forEach(e=>{this.hooks.evaluateCallExpressionMember.for(e).tap("JavascriptParser",(t,n)=>{if(!n.isString())return;let s;let i,o=n.string;switch(t.arguments.length){case 1:if(t.arguments[0].type==="SpreadElement")return;s=this.evaluateExpression(t.arguments[0]);if(!s.isNumber())return;i=o[e](s.number);break;case 2:{if(t.arguments[0].type==="SpreadElement")return;if(t.arguments[1].type==="SpreadElement")return;s=this.evaluateExpression(t.arguments[0]);const n=this.evaluateExpression(t.arguments[1]);if(!s.isNumber())return;if(!n.isNumber())return;i=o[e](s.number,n.number);break}default:return}return(new l).setString(i).setSideEffects(n.couldHaveSideEffects()).setRange(t.range)})});const n=(e,t)=>{const n=[];const s=[];for(let i=0;i0){const e=s[s.length-1];const n=this.evaluateExpression(t.expressions[i-1]);const a=n.asString();if(typeof a==="string"&&!n.couldHaveSideEffects()){e.setString(e.string+a+r);e.setRange([e.range[0],o.range[1]]);e.setExpression(undefined);continue}s.push(n)}const a=(new l).setString(r).setRange(o.range).setExpression(o);n.push(a);s.push(a)}return{quasis:n,parts:s}};this.hooks.evaluate.for("TemplateLiteral").tap("JavascriptParser",e=>{const t=e;const{quasis:s,parts:i}=n("cooked",t);if(i.length===1){return i[0].setRange(t.range)}return(new l).setTemplateString(s,i,"cooked").setRange(t.range)});this.hooks.evaluate.for("TaggedTemplateExpression").tap("JavascriptParser",e=>{const t=e;const s=this.evaluateExpression(t.tag);if(s.isIdentifier()&&s.identifier!=="String.raw")return;const{quasis:i,parts:o}=n("raw",t.quasi);return(new l).setTemplateString(i,o,"raw").setRange(t.range)});this.hooks.evaluateCallExpressionMember.for("concat").tap("JavascriptParser",(e,t)=>{if(!t.isString()&&!t.isWrapped())return;let n=null;let s=false;const i=[];for(let t=e.arguments.length-1;t>=0;t--){const o=e.arguments[t];if(o.type==="SpreadElement")return;const r=this.evaluateExpression(o);if(s||!r.isString()&&!r.isNumber()){s=true;i.push(r);continue}const a=r.isString()?r.string:""+r.number;const c=a+(n?n.string:"");const u=[r.range[0],(n||r).range[1]];n=(new l).setString(c).setSideEffects(n&&n.couldHaveSideEffects()||r.couldHaveSideEffects()).setRange(u)}if(s){const s=t.isString()?t:t.prefix;const o=t.isWrapped()&&t.wrappedInnerExpressions?t.wrappedInnerExpressions.concat(i.reverse()):i.reverse();return(new l).setWrapped(s,n,o).setRange(e.range)}else if(t.isWrapped()){const s=n||t.postfix;const o=t.wrappedInnerExpressions?t.wrappedInnerExpressions.concat(i.reverse()):i.reverse();return(new l).setWrapped(t.prefix,s,o).setRange(e.range)}else{const s=t.string+(n?n.string:"");return(new l).setString(s).setSideEffects(n&&n.couldHaveSideEffects()||t.couldHaveSideEffects()).setRange(e.range)}});this.hooks.evaluateCallExpressionMember.for("split").tap("JavascriptParser",(e,t)=>{if(!t.isString())return;if(e.arguments.length!==1)return;if(e.arguments[0].type==="SpreadElement")return;let n;const s=this.evaluateExpression(e.arguments[0]);if(s.isString()){n=t.string.split(s.string)}else if(s.isRegExp()){n=t.string.split(s.regExp)}else{return}return(new l).setArray(n).setSideEffects(t.couldHaveSideEffects()).setRange(e.range)});this.hooks.evaluate.for("ConditionalExpression").tap("JavascriptParser",e=>{const t=e;const n=this.evaluateExpression(t.test);const s=n.asBool();let i;if(s===undefined){const e=this.evaluateExpression(t.consequent);const n=this.evaluateExpression(t.alternate);if(!e||!n)return;i=new l;if(e.isConditional()){i.setOptions(e.options)}else{i.setOptions([e])}if(n.isConditional()){i.addOptions(n.options)}else{i.addOptions([n])}}else{i=this.evaluateExpression(s?t.consequent:t.alternate);if(n.couldHaveSideEffects())i.setSideEffects()}i.setRange(t.range);return i});this.hooks.evaluate.for("ArrayExpression").tap("JavascriptParser",e=>{const t=e;const n=t.elements.map(e=>{return e!==null&&e.type!=="SpreadElement"&&this.evaluateExpression(e)});if(!n.every(Boolean))return;return(new l).setItems(n).setRange(t.range)});this.hooks.evaluate.for("ChainExpression").tap("JavascriptParser",e=>{const t=e;const n=[];let s=t.expression;while(s.type==="MemberExpression"||s.type==="CallExpression"){if(s.type==="MemberExpression"){if(s.optional){n.push(s.object)}s=s.object}else{if(s.optional){n.push(s.callee)}s=s.callee}}while(n.length>0){const t=n.pop();const s=this.evaluateExpression(t);if(s&&s.asNullish()){return s.setRange(e.range)}}return this.evaluateExpression(t.expression)})}getRenameIdentifier(e){const t=this.evaluateExpression(e);if(t&&t.isIdentifier()){return t.identifier}}walkClass(e){if(e.superClass){if(!this.hooks.classExtendsExpression.call(e.superClass,e)){this.walkExpression(e.superClass)}}if(e.body&&e.body.type==="ClassBody"){const t=this.scope.topLevelScope;for(const n of e.body.body){if(!this.hooks.classBodyElement.call(n,e)){if(n.type==="MethodDefinition"){this.scope.topLevelScope=false;this.walkMethodDefinition(n);this.scope.topLevelScope=t}}}}}walkMethodDefinition(e){if(e.computed&&e.key){this.walkExpression(e.key)}if(e.value){this.walkExpression(e.value)}}preWalkStatements(e){for(let t=0,n=e.length;t{const t=e.body;const n=this.prevStatement;this.blockPreWalkStatements(t);this.prevStatement=n;this.walkStatements(t)})}walkExpressionStatement(e){this.walkExpression(e.expression)}preWalkIfStatement(e){this.preWalkStatement(e.consequent);if(e.alternate){this.preWalkStatement(e.alternate)}}walkIfStatement(e){const t=this.hooks.statementIf.call(e);if(t===undefined){this.walkExpression(e.test);this.walkNestedStatement(e.consequent);if(e.alternate){this.walkNestedStatement(e.alternate)}}else{if(t){this.walkNestedStatement(e.consequent)}else if(e.alternate){this.walkNestedStatement(e.alternate)}}}preWalkLabeledStatement(e){this.preWalkStatement(e.body)}walkLabeledStatement(e){const t=this.hooks.label.get(e.label.name);if(t!==undefined){const n=t.call(e);if(n===true)return}this.walkNestedStatement(e.body)}preWalkWithStatement(e){this.preWalkStatement(e.body)}walkWithStatement(e){this.walkExpression(e.object);this.walkNestedStatement(e.body)}preWalkSwitchStatement(e){this.preWalkSwitchCases(e.cases)}walkSwitchStatement(e){this.walkExpression(e.discriminant);this.walkSwitchCases(e.cases)}walkTerminatingStatement(e){if(e.argument)this.walkExpression(e.argument)}walkReturnStatement(e){this.walkTerminatingStatement(e)}walkThrowStatement(e){this.walkTerminatingStatement(e)}preWalkTryStatement(e){this.preWalkStatement(e.block);if(e.handler)this.preWalkCatchClause(e.handler);if(e.finializer)this.preWalkStatement(e.finializer)}walkTryStatement(e){if(this.scope.inTry){this.walkStatement(e.block)}else{this.scope.inTry=true;this.walkStatement(e.block);this.scope.inTry=false}if(e.handler)this.walkCatchClause(e.handler);if(e.finalizer)this.walkStatement(e.finalizer)}preWalkWhileStatement(e){this.preWalkStatement(e.body)}walkWhileStatement(e){this.walkExpression(e.test);this.walkNestedStatement(e.body)}preWalkDoWhileStatement(e){this.preWalkStatement(e.body)}walkDoWhileStatement(e){this.walkNestedStatement(e.body);this.walkExpression(e.test)}preWalkForStatement(e){if(e.init){if(e.init.type==="VariableDeclaration"){this.preWalkStatement(e.init)}}this.preWalkStatement(e.body)}walkForStatement(e){this.inBlockScope(()=>{if(e.init){if(e.init.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(e.init);this.prevStatement=undefined;this.walkStatement(e.init)}else{this.walkExpression(e.init)}}if(e.test){this.walkExpression(e.test)}if(e.update){this.walkExpression(e.update)}const t=e.body;if(t.type==="BlockStatement"){const e=this.prevStatement;this.blockPreWalkStatements(t.body);this.prevStatement=e;this.walkStatements(t.body)}else{this.walkNestedStatement(t)}})}preWalkForInStatement(e){if(e.left.type==="VariableDeclaration"){this.preWalkVariableDeclaration(e.left)}this.preWalkStatement(e.body)}walkForInStatement(e){this.inBlockScope(()=>{if(e.left.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(e.left);this.walkVariableDeclaration(e.left)}else{this.walkPattern(e.left)}this.walkExpression(e.right);const t=e.body;if(t.type==="BlockStatement"){const e=this.prevStatement;this.blockPreWalkStatements(t.body);this.prevStatement=e;this.walkStatements(t.body)}else{this.walkNestedStatement(t)}})}preWalkForOfStatement(e){if(e.await&&this.scope.topLevelScope===true){this.hooks.topLevelAwait.call(e)}if(e.left.type==="VariableDeclaration"){this.preWalkVariableDeclaration(e.left)}this.preWalkStatement(e.body)}walkForOfStatement(e){this.inBlockScope(()=>{if(e.left.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(e.left);this.walkVariableDeclaration(e.left)}else{this.walkPattern(e.left)}this.walkExpression(e.right);const t=e.body;if(t.type==="BlockStatement"){const e=this.prevStatement;this.blockPreWalkStatements(t.body);this.prevStatement=e;this.walkStatements(t.body)}else{this.walkNestedStatement(t)}})}preWalkFunctionDeclaration(e){if(e.id){this.defineVariable(e.id.name)}}walkFunctionDeclaration(e){const t=this.scope.topLevelScope;this.scope.topLevelScope=false;this.inFunctionScope(true,e.params,()=>{for(const t of e.params){this.walkPattern(t)}if(e.body.type==="BlockStatement"){this.detectMode(e.body.body);const t=this.prevStatement;this.preWalkStatement(e.body);this.prevStatement=t;this.walkStatement(e.body)}else{this.walkExpression(e.body)}});this.scope.topLevelScope=t}blockPreWalkImportDeclaration(e){const t=e.source.value;this.hooks.import.call(e,t);for(const n of e.specifiers){const s=n.local.name;switch(n.type){case"ImportDefaultSpecifier":if(!this.hooks.importSpecifier.call(e,t,"default",s)){this.defineVariable(s)}break;case"ImportSpecifier":if(!this.hooks.importSpecifier.call(e,t,n.imported.name,s)){this.defineVariable(s)}break;case"ImportNamespaceSpecifier":if(!this.hooks.importSpecifier.call(e,t,null,s)){this.defineVariable(s)}break;default:this.defineVariable(s)}}}enterDeclaration(e,t){switch(e.type){case"VariableDeclaration":for(const n of e.declarations){switch(n.type){case"VariableDeclarator":{this.enterPattern(n.id,t);break}}}break;case"FunctionDeclaration":this.enterPattern(e.id,t);break;case"ClassDeclaration":this.enterPattern(e.id,t);break}}blockPreWalkExportNamedDeclaration(e){let t;if(e.source){t=e.source.value;this.hooks.exportImport.call(e,t)}else{this.hooks.export.call(e)}if(e.declaration){if(!this.hooks.exportDeclaration.call(e,e.declaration)){const t=this.prevStatement;this.preWalkStatement(e.declaration);this.prevStatement=t;this.blockPreWalkStatement(e.declaration);let n=0;this.enterDeclaration(e.declaration,t=>{this.hooks.exportSpecifier.call(e,t,t,n++)})}}if(e.specifiers){for(let n=0;n{let s=t.get(e);if(s===undefined||!s.call(n)){s=this.hooks.varDeclaration.get(e);if(s===undefined||!s.call(n)){this.defineVariable(e)}}})}break}}}}walkVariableDeclaration(e){for(const t of e.declarations){switch(t.type){case"VariableDeclarator":{const n=t.init&&this.getRenameIdentifier(t.init);if(n&&t.id.type==="Identifier"){const e=this.hooks.canRename.get(n);if(e!==undefined&&e.call(t.init)){const e=this.hooks.rename.get(n);if(e===undefined||!e.call(t.init)){this.setVariable(t.id.name,n)}break}}if(!this.hooks.declarator.call(t,e)){this.walkPattern(t.id);if(t.init)this.walkExpression(t.init)}break}}}}blockPreWalkClassDeclaration(e){if(e.id){this.defineVariable(e.id.name)}}walkClassDeclaration(e){this.walkClass(e)}preWalkSwitchCases(e){for(let t=0,n=e.length;t{const t=e.length;for(let n=0;n0){const e=this.prevStatement;this.blockPreWalkStatements(t.consequent);this.prevStatement=e}}for(let n=0;n0){this.walkStatements(t.consequent)}}})}preWalkCatchClause(e){this.preWalkStatement(e.body)}walkCatchClause(e){this.inBlockScope(()=>{if(e.param!==null){this.enterPattern(e.param,e=>{this.defineVariable(e)});this.walkPattern(e.param)}const t=this.prevStatement;this.blockPreWalkStatement(e.body);this.prevStatement=t;this.walkStatement(e.body)})}walkPattern(e){switch(e.type){case"ArrayPattern":this.walkArrayPattern(e);break;case"AssignmentPattern":this.walkAssignmentPattern(e);break;case"MemberExpression":this.walkMemberExpression(e);break;case"ObjectPattern":this.walkObjectPattern(e);break;case"RestElement":this.walkRestElement(e);break}}walkAssignmentPattern(e){this.walkExpression(e.right);this.walkPattern(e.left)}walkObjectPattern(e){for(let t=0,n=e.properties.length;t{for(const t of e.params){this.walkPattern(t)}if(e.body.type==="BlockStatement"){this.detectMode(e.body.body);const t=this.prevStatement;this.preWalkStatement(e.body);this.prevStatement=t;this.walkStatement(e.body)}else{this.walkExpression(e.body)}});this.scope.topLevelScope=t}walkArrowFunctionExpression(e){const t=this.scope.topLevelScope;this.scope.topLevelScope=t?"arrow":false;this.inFunctionScope(false,e.params,()=>{for(const t of e.params){this.walkPattern(t)}if(e.body.type==="BlockStatement"){this.detectMode(e.body.body);const t=this.prevStatement;this.preWalkStatement(e.body);this.prevStatement=t;this.walkStatement(e.body)}else{this.walkExpression(e.body)}});this.scope.topLevelScope=t}walkSequenceExpression(e){if(!e.expressions)return;const t=this.statementPath[this.statementPath.length-1];if(t===e||t.type==="ExpressionStatement"&&t.expression===e){const t=this.statementPath.pop();for(const t of e.expressions){this.statementPath.push(t);this.walkExpression(t);this.statementPath.pop()}this.statementPath.push(t)}else{this.walkExpressions(e.expressions)}}walkUpdateExpression(e){this.walkExpression(e.argument)}walkUnaryExpression(e){if(e.operator==="typeof"){const t=this.callHooksForExpression(this.hooks.typeof,e.argument,e);if(t===true)return;if(e.argument.type==="ChainExpression"){const t=this.callHooksForExpression(this.hooks.typeof,e.argument.expression,e);if(t===true)return}}this.walkExpression(e.argument)}walkLeftRightExpression(e){this.walkExpression(e.left);this.walkExpression(e.right)}walkBinaryExpression(e){this.walkLeftRightExpression(e)}walkLogicalExpression(e){const t=this.hooks.expressionLogicalOperator.call(e);if(t===undefined){this.walkLeftRightExpression(e)}else{if(t){this.walkExpression(e.right)}}}walkAssignmentExpression(e){if(e.left.type==="Identifier"){const t=this.getRenameIdentifier(e.right);if(t){if(this.callHooksForInfo(this.hooks.canRename,t,e.right)){if(!this.callHooksForInfo(this.hooks.rename,t,e.right)){this.setVariable(e.left.name,this.getVariableInfo(t))}return}}this.walkExpression(e.right);this.enterPattern(e.left,(t,n)=>{if(!this.callHooksForName(this.hooks.assign,t,e)){this.walkExpression(e.left)}});return}if(e.left.type.endsWith("Pattern")){this.walkExpression(e.right);this.enterPattern(e.left,(t,n)=>{if(!this.callHooksForName(this.hooks.assign,t,e)){this.defineVariable(t)}});this.walkPattern(e.left)}else if(e.left.type==="MemberExpression"){const t=this.getMemberExpressionInfo(e.left,h);if(t){if(this.callHooksForInfo(this.hooks.assignMemberChain,t.rootInfo,e,t.getMembers())){return}}this.walkExpression(e.right);this.walkExpression(e.left)}else{this.walkExpression(e.right);this.walkExpression(e.left)}}walkConditionalExpression(e){const t=this.hooks.expressionConditionalOperator.call(e);if(t===undefined){this.walkExpression(e.test);this.walkExpression(e.consequent);if(e.alternate){this.walkExpression(e.alternate)}}else{if(t){this.walkExpression(e.consequent)}else if(e.alternate){this.walkExpression(e.alternate)}}}walkNewExpression(e){const t=this.callHooksForExpression(this.hooks.new,e.callee,e);if(t===true)return;this.walkExpression(e.callee);if(e.arguments){this.walkExpressions(e.arguments)}}walkYieldExpression(e){if(e.argument){this.walkExpression(e.argument)}}walkTemplateLiteral(e){if(e.expressions){this.walkExpressions(e.expressions)}}walkTaggedTemplateExpression(e){if(e.tag){this.walkExpression(e.tag)}if(e.quasi&&e.quasi.expressions){this.walkExpressions(e.quasi.expressions)}}walkClassExpression(e){this.walkClass(e)}walkChainExpression(e){const t=this.hooks.optionalChaining.call(e);if(t===undefined){if(e.expression.type==="CallExpression"){this.walkCallExpression(e.expression)}else{this.walkMemberExpression(e.expression)}}}_walkIIFE(e,t,n){const s=e=>{const t=this.getRenameIdentifier(e);if(t){if(this.callHooksForInfo(this.hooks.canRename,t,e)){if(!this.callHooksForInfo(this.hooks.rename,t,e)){return this.getVariableInfo(t)}}}this.walkExpression(e)};const{params:i,type:o}=e;const r=o==="ArrowFunctionExpression";const a=n?s(n):null;const c=t.map(s);const u=this.scope.topLevelScope;this.scope.topLevelScope=u&&r?"arrow":false;const l=i.filter((e,t)=>!c[t]);if(e.id){l.push(e.id.name)}this.inFunctionScope(true,l,()=>{if(a&&!r){this.setVariable("this",a)}for(let e=0;e0){this._walkIIFE(e.callee.object,e.arguments.slice(1),e.arguments[0])}else if(e.callee.type.endsWith("FunctionExpression")){this._walkIIFE(e.callee,e.arguments,null)}else{if(e.callee.type==="MemberExpression"){const t=this.getMemberExpressionInfo(e.callee,p);if(t&&t.type==="call"){const n=this.callHooksForInfo(this.hooks.callMemberChainOfCallMemberChain,t.rootInfo,e,t.getCalleeMembers(),t.call,t.getMembers());if(n===true)return}}const t=this.evaluateExpression(e.callee);if(t.isIdentifier()){const n=this.callHooksForInfo(this.hooks.callMemberChain,t.rootInfo,e,t.getMembers());if(n===true)return;const s=this.callHooksForInfo(this.hooks.call,t.identifier,e);if(s===true)return}if(e.callee){if(e.callee.type==="MemberExpression"){this.walkExpression(e.callee.object);if(e.callee.computed===true)this.walkExpression(e.callee.property)}else{this.walkExpression(e.callee)}}if(e.arguments)this.walkExpressions(e.arguments)}}walkMemberExpression(e){const t=this.getMemberExpressionInfo(e,f);if(t){switch(t.type){case"expression":{const n=this.callHooksForInfo(this.hooks.expression,t.name,e);if(n===true)return;const s=t.getMembers();const i=this.callHooksForInfo(this.hooks.expressionMemberChain,t.rootInfo,e,s);if(i===true)return;this.walkMemberExpressionWithExpressionName(e,t.name,t.rootInfo,s.slice(),()=>this.callHooksForInfo(this.hooks.unhandledExpressionMemberChain,t.rootInfo,e,s));return}case"call":{const n=this.callHooksForInfo(this.hooks.memberChainOfCallMemberChain,t.rootInfo,e,t.getCalleeMembers(),t.call,t.getMembers());if(n===true)return;this.walkExpression(t.call);return}}}this.walkExpression(e.object);if(e.computed===true)this.walkExpression(e.property)}walkMemberExpressionWithExpressionName(e,t,n,s,i){if(e.object.type==="MemberExpression"){const o=e.property.name||`${e.property.value}`;t=t.slice(0,-o.length-1);s.pop();const r=this.callHooksForInfo(this.hooks.expression,t,e.object);if(r===true)return;this.walkMemberExpressionWithExpressionName(e.object,t,n,s,i)}else if(!i||!i()){this.walkExpression(e.object)}if(e.computed===true)this.walkExpression(e.property)}walkThisExpression(e){this.callHooksForName(this.hooks.expression,"this",e)}walkIdentifier(e){this.callHooksForName(this.hooks.expression,e.name,e)}walkMetaProperty(e){this.hooks.expression.for(v(e)).call(e)}callHooksForExpression(e,t,...n){return this.callHooksForExpressionWithFallback(e,t,undefined,undefined,...n)}callHooksForExpressionWithFallback(e,t,n,s,...i){const o=this.getMemberExpressionInfo(t,h);if(o!==undefined){const t=o.getMembers();return this.callHooksForInfoWithFallback(e,t.length===0?o.rootInfo:o.name,n&&(e=>n(e,o.rootInfo,o.getMembers)),s&&(()=>s(o.name)),...i)}}callHooksForName(e,t,...n){return this.callHooksForNameWithFallback(e,t,undefined,undefined,...n)}callHooksForInfo(e,t,...n){return this.callHooksForInfoWithFallback(e,t,undefined,undefined,...n)}callHooksForInfoWithFallback(e,t,n,s,...i){let o;if(typeof t==="string"){o=t}else{if(!(t instanceof VariableInfo)){if(s!==undefined){return s()}return}let n=t.tagInfo;while(n!==undefined){const t=e.get(n.tag);if(t!==undefined){this.currentTagData=n.data;const e=t.call(...i);this.currentTagData=undefined;if(e!==undefined)return e}n=n.next}if(t.freeName===true){if(s!==undefined){return s()}return}o=t.freeName}const r=e.get(o);if(r!==undefined){const e=r.call(...i);if(e!==undefined)return e}if(n!==undefined){return n(o)}}callHooksForNameWithFallback(e,t,n,s,...i){return this.callHooksForInfoWithFallback(e,this.getVariableInfo(t),n,s,...i)}inScope(e,t){const n=this.scope;this.scope={topLevelScope:n.topLevelScope,inTry:false,inShorthand:false,isStrict:n.isStrict,isAsmJs:n.isAsmJs,definitions:n.definitions.createChild()};this.undefineVariable("this");this.enterPatterns(e,(e,t)=>{this.defineVariable(e)});t();this.scope=n}inFunctionScope(e,t,n){const s=this.scope;this.scope={topLevelScope:s.topLevelScope,inTry:false,inShorthand:false,isStrict:s.isStrict,isAsmJs:s.isAsmJs,definitions:s.definitions.createChild()};if(e){this.undefineVariable("this")}this.enterPatterns(t,(e,t)=>{this.defineVariable(e)});n();this.scope=s}inBlockScope(e){const t=this.scope;this.scope={topLevelScope:t.topLevelScope,inTry:t.inTry,inShorthand:false,isStrict:t.isStrict,isAsmJs:t.isAsmJs,definitions:t.definitions.createChild()};e();this.scope=t}detectMode(e){const t=e.length>=1&&e[0].type==="ExpressionStatement"&&e[0].expression.type==="Literal";if(t&&e[0].expression.value==="use strict"){this.scope.isStrict=true}if(t&&e[0].expression.value==="use asm"){this.scope.isAsmJs=true}}enterPatterns(e,t){for(const n of e){if(typeof n!=="string"){this.enterPattern(n,t)}else if(n){t(n)}}}enterPattern(e,t){if(!e)return;switch(e.type){case"ArrayPattern":this.enterArrayPattern(e,t);break;case"AssignmentPattern":this.enterAssignmentPattern(e,t);break;case"Identifier":this.enterIdentifier(e,t);break;case"ObjectPattern":this.enterObjectPattern(e,t);break;case"RestElement":this.enterRestElement(e,t);break;case"Property":if(e.shorthand&&e.value.type==="Identifier"){this.scope.inShorthand=e.value.name;this.enterIdentifier(e.value,t);this.scope.inShorthand=false}else{this.enterPattern(e.value,t)}break}}enterIdentifier(e,t){if(!this.callHooksForName(this.hooks.pattern,e.name,e)){t(e.name,e)}}enterObjectPattern(e,t){for(let n=0,s=e.properties.length;ni.add(e)})}const o=this.scope;const r=this.state;const a=this.comments;const u=this.semicolons;const l=this.statementPath;const d=this.prevStatement;this.scope={topLevelScope:true,inTry:false,inShorthand:false,isStrict:false,isAsmJs:false,definitions:new c};this.state=t;this.comments=s;this.semicolons=i;this.statementPath=[];this.prevStatement=undefined;if(this.hooks.program.call(n,s)===undefined){this.detectMode(n.body);this.preWalkStatements(n.body);this.prevStatement=undefined;this.blockPreWalkStatements(n.body);this.prevStatement=undefined;this.walkStatements(n.body)}this.hooks.finish.call(n,s);this.scope=o;this.state=r;this.comments=a;this.semicolons=u;this.statementPath=l;this.prevStatement=d;return t}evaluate(e){const t=JavascriptParser._parse("("+e+")",{sourceType:this.sourceType,locations:false});if(t.body.length!==1||t.body[0].type!=="ExpressionStatement"){throw new Error("evaluate: Source is not a expression")}return this.evaluateExpression(t.body[0].expression)}isPure(e,t){if(!e)return true;const n=this.hooks.isPure.for(e.type).call(e,t);if(typeof n==="boolean")return n;switch(e.type){case"ClassDeclaration":case"ClassExpression":if(e.body.type!=="ClassBody")return false;if(e.superClass&&!this.isPure(e.superClass,e.range[0])){return false}return e.body.body.every(e=>{switch(e.type){case"ClassProperty":if(e.static)return this.isPure(e.value,e.range[0]);break}return true});case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"Literal":return true;case"VariableDeclaration":return e.declarations.every(e=>this.isPure(e.init,e.range[0]));case"ConditionalExpression":return this.isPure(e.test,t)&&this.isPure(e.consequent,e.test.range[1])&&this.isPure(e.alternate,e.consequent.range[1]);case"SequenceExpression":return e.expressions.every(e=>{const n=this.isPure(e,t);t=e.range[1];return n});case"CallExpression":{const n=e.range[0]-t>12&&this.getComments([t,e.range[0]]).some(e=>e.type==="Block"&&/^\s*(#|@)__PURE__\s*$/.test(e.value));if(!n)return false;t=e.callee.range[1];return e.arguments.every(e=>{if(e.type==="SpreadElement")return false;const n=this.isPure(e,t);t=e.range[1];return n})}}const s=this.evaluateExpression(e);return!s.couldHaveSideEffects()}getComments(e){return this.comments.filter(t=>t.range[0]>=e[0]&&t.range[1]<=e[1])}isAsiPosition(e){const t=this.statementPath[this.statementPath.length-1];if(t===undefined)throw new Error("Not in statement");return t.range[1]===e&&this.semicolons.has(e)||t.range[0]===e&&this.prevStatement!==undefined&&this.semicolons.has(this.prevStatement.range[1])}unsetAsiPosition(e){this.semicolons.delete(e)}isStatementLevelExpression(e){const t=this.statementPath[this.statementPath.length-1];return e===t||t.type==="ExpressionStatement"&&t.expression===e}getTagData(e,t){const n=this.scope.definitions.get(e);if(n instanceof VariableInfo){let e=n.tagInfo;while(e!==undefined){if(e.tag===t)return e.data;e=e.next}}}tagVariable(e,t,n){const s=this.scope.definitions.get(e);let i;if(s===undefined){i=new VariableInfo(this.scope,e,{tag:t,data:n,next:undefined})}else if(s instanceof VariableInfo){i=new VariableInfo(s.declaredScope,s.freeName,{tag:t,data:n,next:s.tagInfo})}else{i=new VariableInfo(s,true,{tag:t,data:n,next:undefined})}this.scope.definitions.set(e,i)}defineVariable(e){const t=this.scope.definitions.get(e);if(t instanceof VariableInfo&&t.declaredScope===this.scope)return;this.scope.definitions.set(e,this.scope)}undefineVariable(e){this.scope.definitions.delete(e)}isVariableDefined(e){const t=this.scope.definitions.get(e);if(t===undefined)return false;if(t instanceof VariableInfo){return t.freeName===true}return true}getVariableInfo(e){const t=this.scope.definitions.get(e);if(t===undefined){return e}else{return t}}setVariable(e,t){if(typeof t==="string"){if(t===e){this.scope.definitions.delete(e)}else{this.scope.definitions.set(e,new VariableInfo(this.scope,t,undefined))}}else{this.scope.definitions.set(e,t)}}parseCommentOptions(e){const t=this.getComments(e);if(t.length===0){return w}let n={};let s=[];for(const e of t){const{value:t}=e;if(t&&k.test(t)){try{const i=r.runInNewContext(`(function(){return {${t}};})()`);Object.assign(n,i)}catch(t){t.comment=e;s.push(t)}}}return{options:n,errors:s}}extractMemberExpressionChain(e){let t=e;const n=[];while(t.type==="MemberExpression"){if(t.computed){if(t.property.type!=="Literal")break;n.push(`${t.property.value}`)}else{if(t.property.type!=="Identifier")break;n.push(t.property.name)}t=t.object}return{members:n,object:t}}getFreeInfoFromVariable(e){const t=this.getVariableInfo(e);let n;if(t instanceof VariableInfo){n=t.freeName;if(typeof n!=="string")return undefined}else if(typeof t!=="string"){return undefined}else{n=t}return{info:t,name:n}}getMemberExpressionInfo(e,t){const{object:n,members:s}=this.extractMemberExpressionChain(e);switch(n.type){case"CallExpression":{if((t&p)===0)return undefined;let e=n.callee;let i=d;if(e.type==="MemberExpression"){({object:e,members:i}=this.extractMemberExpressionChain(e))}const o=v(e);if(!o)return undefined;const r=this.getFreeInfoFromVariable(o);if(!r)return undefined;const{info:a,name:c}=r;const l=y(c,i);return{type:"call",call:n,calleeName:l,rootInfo:a,getCalleeMembers:u(()=>i.reverse()),name:y(`${l}()`,s),getMembers:u(()=>s.reverse())}}case"Identifier":case"MetaProperty":case"ThisExpression":{if((t&h)===0)return undefined;const e=v(n);if(!e)return undefined;const i=this.getFreeInfoFromVariable(e);if(!i)return undefined;const{info:o,name:r}=i;return{type:"expression",name:y(r,s),rootInfo:o,getMembers:u(()=>s.reverse())}}}}getNameForExpression(e){return this.getMemberExpressionInfo(e,h)}static _parse(e,t){const n=t?t.sourceType:"module";const s={...b,allowReturnOutsideFunction:n==="script",...t,sourceType:n==="auto"?"module":n};let i;let o;let r=false;try{i=m.parse(e,s)}catch(e){o=e;r=true}if(r&&n==="auto"){s.sourceType="script";if(!("allowReturnOutsideFunction"in t)){s.allowReturnOutsideFunction=true}if(Array.isArray(s.onComment)){s.onComment.length=0}try{i=m.parse(e,s);r=false}catch(e){}}if(r){throw o}return i}}e.exports=JavascriptParser;e.exports.ALLOWED_MEMBER_TYPES_ALL=f;e.exports.ALLOWED_MEMBER_TYPES_EXPRESSION=h;e.exports.ALLOWED_MEMBER_TYPES_CALL_EXPRESSION=p},93998:(e,t,n)=>{"use strict";const s=n(42495);const i=n(76911);const o=n(950);t.toConstantDependency=((e,t,n)=>{return function constDependency(s){const o=new i(t,s.range,n);o.loc=s.loc;e.state.module.addPresentationalDependency(o);return true}});t.evaluateToString=(e=>{return function stringExpression(t){return(new o).setString(e).setRange(t.range)}});t.evaluateToNumber=(e=>{return function stringExpression(t){return(new o).setNumber(e).setRange(t.range)}});t.evaluateToBoolean=(e=>{return function booleanExpression(t){return(new o).setBoolean(e).setRange(t.range)}});t.evaluateToIdentifier=((e,t,n,s)=>{return function identifierExpression(i){let r=(new o).setIdentifier(e,t,n).setSideEffects(false).setRange(i.range);switch(s){case true:r.setTruthy();r.setNullish(false);break;case null:r.setFalsy();r.setNullish(true);break;case false:r.setFalsy();break}return r}});t.expressionIsUnsupported=((e,t)=>{return function unsupportedExpression(n){const o=new i("(void 0)",n.range,null);o.loc=n.loc;e.state.module.addPresentationalDependency(o);if(!e.state.module)return;e.state.module.addWarning(new s(t,n.loc));return true}});t.skipTraversal=(()=>true);t.approve=(()=>true)},70393:(e,t,n)=>{"use strict";const{RawSource:s}=n(84697);const i=n(98229);const{UsageState:o}=n(63686);const r=n(93401);const a=n(16475);const c=e=>{const t=JSON.stringify(e);if(!t){return undefined}return t.replace(/\u2028|\u2029/g,e=>e==="\u2029"?"\\u2029":"\\u2028")};const u=(e,t,n)=>{if(t.otherExportsInfo.getUsed(n)!==o.Unused)return e;const s=Array.isArray(e)?[]:{};for(const n of t.exports){if(n.name in s)return e}for(const i of Object.keys(e)){const r=t.getReadOnlyExportInfo(i);const a=r.getUsed(n);if(a===o.Unused)continue;let c;if(a===o.OnlyPropertiesUsed&&r.exportsInfo){c=u(e[i],r.exportsInfo,n)}else{c=e[i]}const l=r.getUsedName(i,n);s[l]=c}if(Array.isArray(s)){let e=0;for(let t=0;t20&&typeof f==="object"?`JSON.parse(${JSON.stringify(m)})`:m;let y;if(d){y=`${n.supportsConst()?"const":"var"} ${i.NAMESPACE_OBJECT_EXPORT} = ${g};`;d.registerNamespaceExport(i.NAMESPACE_OBJECT_EXPORT)}else{r.add(a.module);y=`${e.moduleArgument}.exports = ${g};`}return new s(y)}}e.exports=JsonGenerator},86770:(e,t,n)=>{"use strict";const{validate:s}=n(33225);const i=n(6157);const o=n(70393);const r=n(41090);const a=i(()=>n(15685));class JsonModulesPlugin{apply(e){e.hooks.compilation.tap("JsonModulesPlugin",(e,{normalModuleFactory:t})=>{t.hooks.createParser.for("json").tap("JsonModulesPlugin",e=>{s(a(),e,{name:"Json Modules Plugin",baseDataPath:"parser"});return new r(e)});t.hooks.createGenerator.for("json").tap("JsonModulesPlugin",()=>{return new o})})}}e.exports=JsonModulesPlugin},41090:(e,t,n)=>{"use strict";const s=n(15235);const i=n(11715);const o=n(750);class JsonParser extends i{constructor(e){super();this.options=e||{}}parse(e,t){if(Buffer.isBuffer(e)){e=e.toString("utf-8")}const n=typeof this.options.parse==="function"?this.options.parse:s;const i=typeof e==="object"?e:n(e[0]==="\ufeff"?e.slice(1):e);t.module.buildInfo.jsonData=i;t.module.buildInfo.strict=true;t.module.buildMeta.exportsType="default";t.module.buildMeta.defaultObject=typeof i==="object"?"redirect-warn":false;t.module.addDependency(new o(o.getExportsFromData(i)));return t}}e.exports=JsonParser},26030:(e,t,n)=>{"use strict";const s=n(16475);const i=n(89464);class AbstractLibraryPlugin{constructor({pluginName:e,type:t}){this._pluginName=e;this._type=t;this._parseCache=new WeakMap}apply(e){const{_pluginName:t}=this;e.hooks.thisCompilation.tap(t,e=>{e.hooks.finishModules.tap(t,()=>{for(const[t,{dependencies:n,options:{library:s}}]of e.entries){const i=this._parseOptionsCached(s!==undefined?s:e.outputOptions.library);if(i!==false){const s=n[n.length-1];if(s){const n=e.moduleGraph.getModule(s);if(n){this.finishEntryModule(n,t,{options:i,compilation:e})}}}}});const n=t=>{if(e.chunkGraph.getNumberOfEntryModules(t)===0)return false;const n=t.getEntryOptions();const s=n&&n.library;return this._parseOptionsCached(s!==undefined?s:e.outputOptions.library)};e.hooks.additionalChunkRuntimeRequirements.tap(t,(t,s)=>{const i=n(t);if(i!==false){this.runtimeRequirements(t,s,{options:i,compilation:e})}});const s=i.getCompilationHooks(e);s.render.tap(t,(t,s)=>{const i=n(s.chunk);if(i===false)return t;return this.render(t,s,{options:i,compilation:e})});s.chunkHash.tap(t,(t,s,i)=>{const o=n(t);if(o===false)return;this.chunkHash(t,s,i,{options:o,compilation:e})})})}_parseOptionsCached(e){if(!e)return false;if(e.type!==this._type)return false;const t=this._parseCache.get(e);if(t!==undefined)return t;const n=this.parseOptions(e);this._parseCache.set(e,n);return n}parseOptions(e){const t=n(77198);throw new t}finishEntryModule(e,t,n){}runtimeRequirements(e,t,n){t.add(s.returnExportsFromRuntime)}render(e,t,n){return e}chunkHash(e,t,n,s){const i=this._parseOptionsCached(s.compilation.outputOptions.library);t.update(this._pluginName);t.update(JSON.stringify(i))}}e.exports=AbstractLibraryPlugin},67416:(e,t,n)=>{"use strict";const{ConcatSource:s}=n(84697);const i=n(73071);const o=n(1626);const r=n(26030);class AmdLibraryPlugin extends r{constructor(e){super({pluginName:"AmdLibraryPlugin",type:e.type});this.requireAsWrapper=e.requireAsWrapper}parseOptions(e){const{name:t}=e;if(this.requireAsWrapper){if(t){throw new Error("AMD library name must be unset")}}else{if(t&&typeof t!=="string"){throw new Error("AMD library name must be a simple string or unset")}}return{name:t}}render(e,{chunkGraph:t,chunk:n,runtimeTemplate:r},{options:a,compilation:c}){const u=r.supportsArrowFunction();const l=t.getChunkModules(n).filter(e=>e instanceof i);const d=l;const p=JSON.stringify(d.map(e=>typeof e.request==="object"&&!Array.isArray(e.request)?e.request.amd:e.request));const h=d.map(e=>`__WEBPACK_EXTERNAL_MODULE_${o.toIdentifier(`${t.getModuleId(e)}`)}__`).join(", ");const f=u?`(${h}) => `:`function(${h}) { return `;const m=u?"":"}";if(this.requireAsWrapper){return new s(`require(${p}, ${f}`,e,`${m});`)}else if(a.name){const t=c.getPath(a.name,{chunk:n});return new s(`define(${JSON.stringify(t)}, ${p}, ${f}`,e,`${m});`)}else if(h){return new s(`define(${p}, ${f}`,e,`${m});`)}else{return new s(`define(${f}`,e,`${m});`)}}chunkHash(e,t,n,{options:s,compilation:i}){t.update("AmdLibraryPlugin");if(this.requireAsWrapper){t.update("requireAsWrapper")}else if(s.name){t.update("named");const n=i.getPath(s.name,{chunk:e});t.update(n)}}}e.exports=AmdLibraryPlugin},40080:(e,t,n)=>{"use strict";const{ConcatSource:s}=n(84697);const i=n(54190);const o=n(26030);const r=(e,t,n=false)=>{const s=e[0];if(e.length===1&&!n)return s;let o=t>0?s:`(${s} = typeof ${s} === "undefined" ? {} : ${s})`;let r=1;let a;if(t>r){a=e.slice(1,t);r=t;o+=i(a)}else{a=[]}const c=n?e.length:e.length-1;for(;ra.getPath(e,{chunk:i}));const d=new s;if(this.declare){const e=l[0];d.add(`${this.declare} ${e};`)}if(!o.name&&this.unnamed==="copy"){d.add(`(function(e, a) { for(var i in a) e[i] = a[i]; if(a.__esModule) Object.defineProperty(e, "__esModule", { value: true }); }(${r(l,c.length,true)},\n`);d.add(e);d.add("\n))")}else{d.add(`${r(l,c.length,false)} =\n`);d.add(e)}return d}chunkHash(e,t,n,{options:s,compilation:i}){t.update("AssignLibraryPlugin");const o=this.prefix==="global"?[i.outputOptions.globalObject]:this.prefix;const r=s.name?o.concat(s.name):o;const a=r.map(t=>i.getPath(t,{chunk:e}));if(!s.name&&this.unnamed==="copy"){t.update("copy")}if(this.declare){t.update(this.declare)}t.update(a.join("."))}}e.exports=AssignLibraryPlugin},91452:(e,t,n)=>{"use strict";const s=new WeakMap;const i=e=>{let t=s.get(e);if(t===undefined){t=new Set;s.set(e,t)}return t};class EnableLibraryPlugin{constructor(e){this.type=e}static setEnabled(e,t){i(e).add(t)}static checkEnabled(e,t){if(!i(e).has(t)){throw new Error(`Library type "${t}" is not enabled. `+"EnableLibraryPlugin need to be used to enable this type of library. "+'This usually happens through the "output.enabledLibraryTypes" option. '+'If you are using a function as entry which sets "library", you need to add all potential library types to "output.enabledLibraryTypes". '+Array.from(i(e)).join(", "))}}apply(e){const{type:t}=this;const s=i(e);if(s.has(t))return;s.add(t);if(typeof t==="string"){const s=n(5487);new s({type:t,nsObjectUsed:t!=="module"}).apply(e);switch(t){case"var":{const s=n(40080);new s({type:t,prefix:[],declare:"var",unnamed:"error"}).apply(e);break}case"assign":{const s=n(40080);new s({type:t,prefix:[],declare:false,unnamed:"error"}).apply(e);break}case"this":{const s=n(40080);new s({type:t,prefix:["this"],declare:false,unnamed:"copy"}).apply(e);break}case"window":{const s=n(40080);new s({type:t,prefix:["window"],declare:false,unnamed:"copy"}).apply(e);break}case"self":{const s=n(40080);new s({type:t,prefix:["self"],declare:false,unnamed:"copy"}).apply(e);break}case"global":{const s=n(40080);new s({type:t,prefix:"global",declare:false,unnamed:"copy"}).apply(e);break}case"commonjs":{const s=n(40080);new s({type:t,prefix:["exports"],declare:false,unnamed:"copy"}).apply(e);break}case"commonjs2":case"commonjs-module":{const s=n(40080);new s({type:t,prefix:["module","exports"],declare:false,unnamed:"assign"}).apply(e);break}case"amd":case"amd-require":{const s=n(67416);new s({type:t,requireAsWrapper:t==="amd-require"}).apply(e);break}case"umd":case"umd2":{const s=n(54442);new s({type:t,optionalAmdExternalAsGlobal:t==="umd2"}).apply(e);break}case"system":{const s=n(11707);new s({type:t}).apply(e);break}case"jsonp":{const s=n(84415);new s({type:t}).apply(e);break}case"module":break;default:throw new Error(`Unsupported library type ${t}.\nPlugins which provide custom library types must call EnableLibraryPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}e.exports=EnableLibraryPlugin},5487:(e,t,n)=>{"use strict";const{ConcatSource:s}=n(84697);const{UsageState:i}=n(63686);const o=n(54190);const{getEntryRuntime:r}=n(17156);const a=n(26030);class ExportPropertyLibraryPlugin extends a{constructor({type:e,nsObjectUsed:t}){super({pluginName:"ExportPropertyLibraryPlugin",type:e});this.nsObjectUsed=t}parseOptions(e){return{export:e.export}}finishEntryModule(e,t,{options:n,compilation:s,compilation:{moduleGraph:o}}){const a=r(s,t);if(n.export){const t=o.getExportInfo(e,Array.isArray(n.export)?n.export[0]:n.export);t.setUsed(i.Used,a);t.canMangleUse=false}else{const t=o.getExportsInfo(e);if(this.nsObjectUsed){t.setUsedInUnknownWay(a)}else{t.setAllKnownExportsUsed(a)}}o.addExtraReason(e,"used as library export")}render(e,t,{options:n}){if(!n.export)return e;const i=o(Array.isArray(n.export)?n.export:[n.export]);return new s(e,i)}}e.exports=ExportPropertyLibraryPlugin},84415:(e,t,n)=>{"use strict";const{ConcatSource:s}=n(84697);const i=n(26030);class JsonpLibraryPlugin extends i{constructor(e){super({pluginName:"JsonpLibraryPlugin",type:e.type})}parseOptions(e){const{name:t}=e;if(typeof t!=="string"){throw new Error("Jsonp library name must be a simple string")}return{name:t}}render(e,{chunk:t},{options:n,compilation:i}){const o=i.getPath(n.name,{chunk:t});return new s(`${o}(`,e,")")}chunkHash(e,t,n,{options:s,compilation:i}){t.update("JsonpLibraryPlugin");t.update(i.getPath(s.name,{chunk:e}))}}e.exports=JsonpLibraryPlugin},11707:(e,t,n)=>{"use strict";const{ConcatSource:s}=n(84697);const{UsageState:i}=n(63686);const o=n(73071);const r=n(1626);const a=n(54190);const c=n(26030);class SystemLibraryPlugin extends c{constructor(e){super({pluginName:"SystemLibraryPlugin",type:e.type})}parseOptions(e){const{name:t}=e;if(t&&typeof t!=="string"){throw new Error("System.js library name must be a simple string or unset")}return{name:t}}render(e,{chunkGraph:t,moduleGraph:n,chunk:c},{options:u,compilation:l}){const d=t.getChunkModules(c).filter(e=>e instanceof o);const p=d;const h=u.name?`${JSON.stringify(l.getPath(u.name,{chunk:c}))}, `:"";const f=JSON.stringify(p.map(e=>typeof e.request==="object"&&!Array.isArray(e.request)?e.request.amd:e.request));const m="__WEBPACK_DYNAMIC_EXPORT__";const g=p.map(e=>`__WEBPACK_EXTERNAL_MODULE_${r.toIdentifier(`${t.getModuleId(e)}`)}__`);const y=g.map(e=>`var ${e} = {};`).join("\n");const v=[];const b=g.length===0?"":r.asString(["setters: [",r.indent(p.map((e,t)=>{const s=g[t];const o=n.getExportsInfo(e);const u=o.otherExportsInfo.getUsed(c.runtime)===i.Unused;const l=[];const d=[];for(const e of o.orderedExports){const t=e.getUsedName(undefined,c.runtime);if(t){if(u||t!==e.name){l.push(`${s}${a([t])} = module${a([e.name])};`);d.push(e.name)}}else{d.push(e.name)}}if(!u){if(!Array.isArray(e.request)||e.request.length===1){v.push(`Object.defineProperty(${s}, "__esModule", { value: true });`)}if(d.length>0){const e=`${s}handledNames`;v.push(`var ${e} = ${JSON.stringify(d)};`);l.push(r.asString(["Object.keys(module).forEach(function(key) {",r.indent([`if(${e}.indexOf(key) >= 0)`,r.indent(`${s}[key] = module[key];`)]),"});"]))}else{l.push(r.asString(["Object.keys(module).forEach(function(key) {",r.indent([`${s}[key] = module[key];`]),"});"]))}}if(l.length===0)return"function() {}";return r.asString(["function(module) {",r.indent(l),"}"])}).join(",\n")),"],"]);return new s(r.asString([`System.register(${h}${f}, function(${m}, __system_context__) {`,r.indent([y,r.asString(v),"return {",r.indent([b,"execute: function() {",r.indent(`${m}(`)])]),""]),e,r.asString(["",r.indent([r.indent([r.indent([");"]),"}"]),"};"]),"})"]))}chunkHash(e,t,n,{options:s,compilation:i}){t.update("SystemLibraryPlugin");if(s.name){t.update(i.getPath(s.name,{chunk:e}))}}}e.exports=SystemLibraryPlugin},54442:(e,t,n)=>{"use strict";const{ConcatSource:s,OriginalSource:i}=n(84697);const o=n(73071);const r=n(1626);const a=n(26030);const c=e=>{return e.map(e=>`[${JSON.stringify(e)}]`).join("")};const u=(e,t,n=", ")=>{const s=Array.isArray(t)?t:[t];return s.map((t,n)=>{const i=e?e+c(s.slice(0,n+1)):s[0]+c(s.slice(1,n+1));if(n===s.length-1)return i;if(n===0&&e===undefined)return`${i} = typeof ${i} === "object" ? ${i} : {}`;return`${i} = ${i} || {}`}).join(n)};class UmdLibraryPlugin extends a{constructor(e){super({pluginName:"UmdLibraryPlugin",type:e.type});this.optionalAmdExternalAsGlobal=e.optionalAmdExternalAsGlobal}parseOptions(e){let t;let n;if(typeof e.name==="object"&&!Array.isArray(e.name)){t=e.name.root||e.name.amd||e.name.commonjs;n=e.name}else{t=e.name;const s=Array.isArray(t)?t[0]:t;n={commonjs:s,root:e.name,amd:s}}return{name:t,names:n,auxiliaryComment:e.auxiliaryComment,namedDefine:e.umdNamedDefine}}render(e,{chunkGraph:t,runtimeTemplate:n,chunk:a,moduleGraph:l},{options:d,compilation:p}){const h=t.getChunkModules(a).filter(e=>e instanceof o&&(e.externalType==="umd"||e.externalType==="umd2"));let f=h;const m=[];let g=[];if(this.optionalAmdExternalAsGlobal){for(const e of f){if(e.isOptional(l)){m.push(e)}else{g.push(e)}}f=g.concat(m)}else{g=f}const y=e=>{return p.getPath(e,{chunk:a})};const v=e=>{return`[${y(e.map(e=>JSON.stringify(typeof e.request==="object"?e.request.amd:e.request)).join(", "))}]`};const b=e=>{return y(e.map(e=>{let t=e.request;if(typeof t==="object")t=t.root;return`root${c([].concat(t))}`}).join(", "))};const k=e=>{return y(f.map(t=>{let n;let s=t.request;if(typeof s==="object"){s=s[e]}if(s===undefined){throw new Error("Missing external configuration for type:"+e)}if(Array.isArray(s)){n=`require(${JSON.stringify(s[0])})${c(s.slice(1))}`}else{n=`require(${JSON.stringify(s)})`}if(t.isOptional(l)){n=`(function webpackLoadOptionalExternalModule() { try { return ${n}; } catch(e) {} }())`}return n}).join(", "))};const w=e=>{return e.map(e=>`__WEBPACK_EXTERNAL_MODULE_${r.toIdentifier(`${t.getModuleId(e)}`)}__`).join(", ")};const x=e=>{return JSON.stringify(y([].concat(e).pop()))};let C;if(m.length>0){const e=w(g);const t=g.length>0?w(g)+", "+b(m):b(m);C=`function webpackLoadOptionalExternalModuleAmd(${e}) {\n`+`\t\t\treturn factory(${t});\n`+"\t\t}"}else{C="factory"}const{auxiliaryComment:M,namedDefine:S,names:O}=d;const T=e=>{if(M){if(typeof M==="string")return"\t//"+M+"\n";if(M[e])return"\t//"+M[e]+"\n"}return""};return new s(new i("(function webpackUniversalModuleDefinition(root, factory) {\n"+T("commonjs2")+"\tif(typeof exports === 'object' && typeof module === 'object')\n"+"\t\tmodule.exports = factory("+k("commonjs2")+");\n"+T("amd")+"\telse if(typeof define === 'function' && define.amd)\n"+(g.length>0?O.amd&&S===true?"\t\tdefine("+x(O.amd)+", "+v(g)+", "+C+");\n":"\t\tdefine("+v(g)+", "+C+");\n":O.amd&&S===true?"\t\tdefine("+x(O.amd)+", [], "+C+");\n":"\t\tdefine([], "+C+");\n")+(O.root||O.commonjs?T("commonjs")+"\telse if(typeof exports === 'object')\n"+"\t\texports["+x(O.commonjs||O.root)+"] = factory("+k("commonjs")+");\n"+T("root")+"\telse\n"+"\t\t"+y(u("root",O.root||O.commonjs))+" = factory("+b(f)+");\n":"\telse {\n"+(f.length>0?"\t\tvar a = typeof exports === 'object' ? factory("+k("commonjs")+") : factory("+b(f)+");\n":"\t\tvar a = factory();\n")+"\t\tfor(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];\n"+"\t}\n")+`})(${n.outputOptions.globalObject}, function(${w(f)}) {\nreturn `,"webpack/universalModuleDefinition"),e,";\n})")}}e.exports=UmdLibraryPlugin},32597:(e,t)=>{"use strict";const n=Object.freeze({error:"error",warn:"warn",info:"info",log:"log",debug:"debug",trace:"trace",group:"group",groupCollapsed:"groupCollapsed",groupEnd:"groupEnd",profile:"profile",profileEnd:"profileEnd",time:"time",clear:"clear",status:"status"});t.LogType=n;const s=Symbol("webpack logger raw log method");const i=Symbol("webpack logger times");const o=Symbol("webpack logger aggregated times");class WebpackLogger{constructor(e,t){this[s]=e;this.getChildLogger=t}error(...e){this[s](n.error,e)}warn(...e){this[s](n.warn,e)}info(...e){this[s](n.info,e)}log(...e){this[s](n.log,e)}debug(...e){this[s](n.debug,e)}assert(e,...t){if(!e){this[s](n.error,t)}}trace(){this[s](n.trace,["Trace"])}clear(){this[s](n.clear)}status(...e){this[s](n.status,e)}group(...e){this[s](n.group,e)}groupCollapsed(...e){this[s](n.groupCollapsed,e)}groupEnd(...e){this[s](n.groupEnd,e)}profile(e){this[s](n.profile,[e])}profileEnd(e){this[s](n.profileEnd,[e])}time(e){this[i]=this[i]||new Map;this[i].set(e,process.hrtime())}timeLog(e){const t=this[i]&&this[i].get(e);if(!t){throw new Error(`No such label '${e}' for WebpackLogger.timeLog()`)}const o=process.hrtime(t);this[s](n.time,[e,...o])}timeEnd(e){const t=this[i]&&this[i].get(e);if(!t){throw new Error(`No such label '${e}' for WebpackLogger.timeEnd()`)}const o=process.hrtime(t);this[i].delete(e);this[s](n.time,[e,...o])}timeAggregate(e){const t=this[i]&&this[i].get(e);if(!t){throw new Error(`No such label '${e}' for WebpackLogger.timeAggregate()`)}const n=process.hrtime(t);this[i].delete(e);this[o]=this[o]||new Map;const s=this[o].get(e);if(s!==undefined){if(n[1]+s[1]>1e9){n[0]+=s[0]+1;n[1]=n[1]-1e9+s[1]}else{n[0]+=s[0];n[1]+=s[1]}}this[o].set(e,n)}timeAggregateEnd(e){if(this[o]===undefined)return;const t=this[o].get(e);if(t===undefined)return;this[s](n.time,[e,...t])}}t.Logger=WebpackLogger},54963:(e,t,n)=>{"use strict";const{LogType:s}=n(32597);const i=e=>{if(typeof e==="string"){const t=new RegExp(`[\\\\/]${e.replace(/[-[\]{}()*+?.\\^$|]/g,"\\$&")}([\\\\/]|$|!|\\?)`);return e=>t.test(e)}if(e&&typeof e==="object"&&typeof e.test==="function"){return t=>e.test(t)}if(typeof e==="function"){return e}if(typeof e==="boolean"){return()=>e}};const o={none:6,false:6,error:5,warn:4,info:3,log:2,true:2,verbose:1};e.exports=(({level:e="info",debug:t=false,console:n})=>{const r=typeof t==="boolean"?[()=>t]:[].concat(t).map(i);const a=o[`${e}`]||0;const c=(e,t,i)=>{const c=()=>{if(Array.isArray(i)){if(i.length>0&&typeof i[0]==="string"){return[`[${e}] ${i[0]}`,...i.slice(1)]}else{return[`[${e}]`,...i]}}else{return[]}};const u=r.some(t=>t(e));switch(t){case s.debug:if(!u)return;if(typeof n.debug==="function"){n.debug(...c())}else{n.log(...c())}break;case s.log:if(!u&&a>o.log)return;n.log(...c());break;case s.info:if(!u&&a>o.info)return;n.info(...c());break;case s.warn:if(!u&&a>o.warn)return;n.warn(...c());break;case s.error:if(!u&&a>o.error)return;n.error(...c());break;case s.trace:if(!u)return;n.trace();break;case s.groupCollapsed:if(!u&&a>o.log)return;if(!u&&a>o.verbose){if(typeof n.groupCollapsed==="function"){n.groupCollapsed(...c())}else{n.log(...c())}break}case s.group:if(!u&&a>o.log)return;if(typeof n.group==="function"){n.group(...c())}else{n.log(...c())}break;case s.groupEnd:if(!u&&a>o.log)return;if(typeof n.groupEnd==="function"){n.groupEnd()}break;case s.time:{if(!u&&a>o.log)return;const t=i[1]*1e3+i[2]/1e6;const s=`[${e}] ${i[0]}: ${t} ms`;if(typeof n.logTime==="function"){n.logTime(s)}else{n.log(s)}break}case s.profile:if(typeof n.profile==="function"){n.profile(...c())}break;case s.profileEnd:if(typeof n.profileEnd==="function"){n.profileEnd(...c())}break;case s.clear:if(!u&&a>o.log)return;if(typeof n.clear==="function"){n.clear()}break;case s.status:if(!u&&a>o.info)return;if(typeof n.status==="function"){if(i.length===0){n.status()}else{n.status(...c())}}else{if(i.length!==0){n.info(...c())}}break;default:throw new Error(`Unexpected LogType ${t}`)}};return c})},62090:e=>{"use strict";const t=e=>{let t=0;for(const n of e)t+=n;return t};const n=(e,s)=>{const i=e.map(e=>`${e}`.length);const o=s-i.length+1;if(o>0&&e.length===1){if(o>=e[0].length){return e}else if(o>3){return["..."+e[0].slice(-o+3)]}else{return[e[0].slice(-o)]}}if(oMath.min(e,6)))){if(e.length>1)return n(e.slice(0,e.length-1),s);return[]}let r=t(i);if(r<=o)return e;while(r>o){const e=Math.max(...i);const t=i.filter(t=>t!==e);const n=t.length>0?Math.max(...t):0;const s=e-n;let a=i.length-t.length;let c=r-o;for(let t=0;t{const n=`${e}`;const s=i[t];if(n.length===s){return n}else if(s>5){return"..."+n.slice(-s+3)}else if(s>0){return n.slice(-s)}else{return""}})};e.exports=n},1313:(e,t,n)=>{"use strict";const s=n(16475);const i=n(22339);class CommonJsChunkLoadingPlugin{constructor(e){e=e||{};this._asyncChunkLoading=e.asyncChunkLoading}apply(e){const t=this._asyncChunkLoading?n(73369):n(94172);const o=this._asyncChunkLoading?"async-node":"require";new i({chunkLoading:o,asyncChunkLoading:this._asyncChunkLoading}).apply(e);e.hooks.thisCompilation.tap("CommonJsChunkLoadingPlugin",e=>{const n=e.outputOptions.chunkLoading;const i=e=>{const t=e.getEntryOptions();const s=t&&t.chunkLoading||n;return s===o};const r=new WeakSet;const a=(n,o)=>{if(r.has(n))return;r.add(n);if(!i(n))return;o.add(s.moduleFactoriesAddOnly);o.add(s.hasOwnProperty);e.addRuntimeModule(n,new t(o))};e.hooks.additionalTreeRuntimeRequirements.tap("CommonJsChunkLoadingPlugin",(t,n)=>{if(!i(t))return;if(Array.from(t.getAllReferencedChunks()).some(n=>n!==t&&e.chunkGraph.getNumberOfEntryModules(n)>0)){n.add(s.startupEntrypoint);n.add(s.externalInstallChunk)}});e.hooks.runtimeRequirementInTree.for(s.ensureChunkHandlers).tap("CommonJsChunkLoadingPlugin",a);e.hooks.runtimeRequirementInTree.for(s.hmrDownloadUpdateHandlers).tap("CommonJsChunkLoadingPlugin",a);e.hooks.runtimeRequirementInTree.for(s.hmrDownloadManifest).tap("CommonJsChunkLoadingPlugin",a);e.hooks.runtimeRequirementInTree.for(s.baseURI).tap("CommonJsChunkLoadingPlugin",a);e.hooks.runtimeRequirementInTree.for(s.ensureChunkHandlers).tap("CommonJsChunkLoadingPlugin",(e,t)=>{if(!i(e))return;t.add(s.getChunkScriptFilename)});e.hooks.runtimeRequirementInTree.for(s.hmrDownloadUpdateHandlers).tap("CommonJsChunkLoadingPlugin",(e,t)=>{if(!i(e))return;t.add(s.getChunkUpdateScriptFilename);t.add(s.moduleCache);t.add(s.hmrModuleData);t.add(s.moduleFactoriesAddOnly)});e.hooks.runtimeRequirementInTree.for(s.hmrDownloadManifest).tap("CommonJsChunkLoadingPlugin",(e,t)=>{if(!i(e))return;t.add(s.getUpdateManifestFilename)})})}}e.exports=CommonJsChunkLoadingPlugin},7553:(e,t,n)=>{"use strict";const s=n(52788);const i=n(90552);const o=n(54963);const r=n(98810);const a=n(91786);class NodeEnvironmentPlugin{constructor(e){this.options=e||{}}apply(e){e.infrastructureLogger=o(Object.assign({level:"info",debug:false,console:a},this.options.infrastructureLogging));e.inputFileSystem=new s(i,6e4);const t=e.inputFileSystem;e.outputFileSystem=i;e.intermediateFileSystem=i;e.watchFileSystem=new r(e.inputFileSystem);e.hooks.beforeRun.tap("NodeEnvironmentPlugin",e=>{if(e.inputFileSystem===t){t.purge()}})}}e.exports=NodeEnvironmentPlugin},7103:e=>{"use strict";class NodeSourcePlugin{apply(e){}}e.exports=NodeSourcePlugin},17916:(e,t,n)=>{"use strict";const s=n(6652);const i=["assert","async_hooks","buffer","child_process","cluster","console","constants","crypto","dgram","dns","dns/promises","domain","events","fs","fs/promises","http","http2","https","inspector","module","net","os","path","perf_hooks","process","punycode","querystring","readline","repl","stream","stream/promises","string_decoder","sys","timers","timers/promises","tls","trace_events","tty","url","util","v8","vm","wasi","worker_threads","zlib"];class NodeTargetPlugin{apply(e){new s("commonjs",i).apply(e)}}e.exports=NodeTargetPlugin},61052:(e,t,n)=>{"use strict";const s=n(84508);const i=n(61291);class NodeTemplatePlugin{constructor(e){this._options=e||{}}apply(e){const t=this._options.asyncChunkLoading?"async-node":"require";e.options.output.chunkLoading=t;(new s).apply(e);new i(t).apply(e)}}e.exports=NodeTemplatePlugin},98810:(e,t,n)=>{"use strict";const s=n(72617);class NodeWatchFileSystem{constructor(e){this.inputFileSystem=e;this.watcherOptions={aggregateTimeout:0};this.watcher=new s(this.watcherOptions)}watch(e,t,n,i,o,r,a){if(!e||typeof e[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'files'")}if(!t||typeof t[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'directories'")}if(!n||typeof n[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'missing'")}if(typeof r!=="function"){throw new Error("Invalid arguments: 'callback'")}if(typeof i!=="number"&&i){throw new Error("Invalid arguments: 'startTime'")}if(typeof o!=="object"){throw new Error("Invalid arguments: 'options'")}if(typeof a!=="function"&&a){throw new Error("Invalid arguments: 'callbackUndelayed'")}const c=this.watcher;this.watcher=new s(o);if(a){this.watcher.once("change",a)}this.watcher.once("aggregated",(e,t)=>{if(this.inputFileSystem&&this.inputFileSystem.purge){for(const t of e){this.inputFileSystem.purge(t)}for(const e of t){this.inputFileSystem.purge(e)}}const n=this.watcher.getTimeInfoEntries();r(null,n,n,e,t)});this.watcher.watch({files:e,directories:t,missing:n,startTime:i});if(c){c.close()}return{close:()=>{if(this.watcher){this.watcher.close();this.watcher=null}},pause:()=>{if(this.watcher){this.watcher.pause()}},getFileTimeInfoEntries:()=>{if(this.watcher){return this.watcher.getTimeInfoEntries()}else{return new Map}},getContextTimeInfoEntries:()=>{if(this.watcher){return this.watcher.getTimeInfoEntries()}else{return new Map}}}}}e.exports=NodeWatchFileSystem},73369:(e,t,n)=>{"use strict";const s=n(16475);const i=n(16963);const o=n(1626);const{chunkHasJs:r,getChunkFilenameTemplate:a}=n(89464);const c=n(29404);const{getUndoPath:u}=n(82186);class ReadFileChunkLoadingRuntimeModule extends i{constructor(e){super("readFile chunk loading",i.STAGE_ATTACH);this.runtimeRequirements=e}generate(){const{chunk:e}=this;const{chunkGraph:t,runtimeTemplate:i}=this.compilation;const l=s.ensureChunkHandlers;const d=this.runtimeRequirements.has(s.baseURI);const p=this.runtimeRequirements.has(s.externalInstallChunk);const h=this.runtimeRequirements.has(s.ensureChunkHandlers);const f=this.runtimeRequirements.has(s.hmrDownloadUpdateHandlers);const m=this.runtimeRequirements.has(s.hmrDownloadManifest);const g=c(t.getChunkConditionMap(e,r));const y=this.compilation.getPath(a(e,this.compilation.outputOptions),{chunk:e,contentHashType:"javascript"});const v=u(y,false);return o.asString([d?o.asString([`${s.baseURI} = require("url").pathToFileURL(${v?`__dirname + ${JSON.stringify("/"+v)}`:"__filename"});`]):"// no baseURI","","// object to store loaded chunks",'// "0" means "already loaded", Promise means loading',"var installedChunks = {",o.indent(e.ids.map(e=>`${JSON.stringify(e)}: 0`).join(",\n")),"};","",h||p?`var installChunk = ${i.basicFunction("chunk",["var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;","for(var moduleId in moreModules) {",o.indent([`if(${s.hasOwnProperty}(moreModules, moduleId)) {`,o.indent([`${s.moduleFactories}[moduleId] = moreModules[moduleId];`]),"}"]),"}",`if(runtime) runtime(__webpack_require__);`,"var callbacks = [];","for(var i = 0; i < chunkIds.length; i++) {",o.indent(["if(installedChunks[chunkIds[i]])",o.indent(["callbacks = callbacks.concat(installedChunks[chunkIds[i]][0]);"]),"installedChunks[chunkIds[i]] = 0;"]),"}","for(i = 0; i < callbacks.length; i++)",o.indent("callbacks[i]();")])};`:"// no chunk install function needed","",h?o.asString(["// ReadFile + VM.run chunk loading for javascript",`${l}.readFileVm = function(chunkId, promises) {`,g!==false?o.indent(["","var installedChunkData = installedChunks[chunkId];",'if(installedChunkData !== 0) { // 0 means "already installed".',o.indent(['// array of [resolve, reject, promise] means "currently loading"',"if(installedChunkData) {",o.indent(["promises.push(installedChunkData[2]);"]),"} else {",o.indent([g===true?"if(true) { // all chunks have JS":`if(${g("chunkId")}) {`,o.indent(["// load the chunk and return promise to it","var promise = new Promise(function(resolve, reject) {",o.indent(["installedChunkData = installedChunks[chunkId] = [resolve, reject];",`var filename = require('path').join(__dirname, ${JSON.stringify(v)} + ${s.getChunkScriptFilename}(chunkId));`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",o.indent(["if(err) return reject(err);","var chunk = {};","require('vm').runInThisContext('(function(exports, require, __dirname, __filename) {' + content + '\\n})', filename)"+"(chunk, require, require('path').dirname(filename), filename);","installChunk(chunk);"]),"});"]),"});","promises.push(installedChunkData[2] = promise);"]),"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):o.indent(["installedChunks[chunkId] = 0;"]),"};"]):"// no chunk loading","",p?o.asString(["module.exports = __webpack_require__;",`${s.externalInstallChunk} = installChunk;`]):"// no external install chunk","",f?o.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",o.indent(["return new Promise(function(resolve, reject) {",o.indent([`var filename = require('path').join(__dirname, ${JSON.stringify(v)} + ${s.getChunkUpdateScriptFilename}(chunkId));`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",o.indent(["if(err) return reject(err);","var update = {};","require('vm').runInThisContext('(function(exports, require, __dirname, __filename) {' + content + '\\n})', filename)"+"(update, require, require('path').dirname(filename), filename);","var updatedModules = update.modules;","var runtime = update.runtime;","for(var moduleId in updatedModules) {",o.indent([`if(${s.hasOwnProperty}(updatedModules, moduleId)) {`,o.indent([`currentUpdate[moduleId] = updatedModules[moduleId];`,"if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","resolve();"]),"});"]),"});"]),"}","",o.getFunctionContent(n(27266)).replace(/\$key\$/g,"readFileVm").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,s.moduleCache).replace(/\$moduleFactories\$/g,s.moduleFactories).replace(/\$ensureChunkHandlers\$/g,s.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,s.hasOwnProperty).replace(/\$hmrModuleData\$/g,s.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,s.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,s.hmrInvalidateModuleHandlers)]):"// no HMR","",m?o.asString([`${s.hmrDownloadManifest} = function() {`,o.indent(["return new Promise(function(resolve, reject) {",o.indent([`var filename = require('path').join(__dirname, ${JSON.stringify(v)} + ${s.getUpdateManifestFilename}());`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",o.indent(["if(err) {",o.indent(['if(err.code === "ENOENT") return resolve();',"return reject(err);"]),"}","try { resolve(JSON.parse(content)); }","catch(e) { reject(e); }"]),"});"]),"});"]),"}"]):"// no HMR manifest"])}}e.exports=ReadFileChunkLoadingRuntimeModule},73163:(e,t,n)=>{"use strict";const s=n(16475);const i=n(1626);const o=n(77085);class ReadFileCompileAsyncWasmPlugin{apply(e){e.hooks.thisCompilation.tap("ReadFileCompileAsyncWasmPlugin",e=>{const t=e.outputOptions.wasmLoading;const n=e=>{const n=e.getEntryOptions();const s=n&&n.wasmLoading||t;return s==="async-node"};const r=e=>i.asString(["new Promise(function (resolve, reject) {",i.indent(["var { readFile } = require('fs');","var { join } = require('path');","","try {",i.indent([`readFile(join(__dirname, ${e}), function(err, buffer){`,i.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",i.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"} catch (err) { reject(err); }"]),"})"]);e.hooks.runtimeRequirementInTree.for(s.instantiateWasm).tap("ReadFileCompileAsyncWasmPlugin",(t,i)=>{if(!n(t))return;const a=e.chunkGraph;if(!a.hasModuleInGraph(t,e=>e.type==="webassembly/async")){return}i.add(s.publicPath);e.addRuntimeModule(t,new o({generateLoadBinaryCode:r,supportsStreaming:false}))})})}}e.exports=ReadFileCompileAsyncWasmPlugin},98939:(e,t,n)=>{"use strict";const s=n(16475);const i=n(1626);const o=n(87394);class ReadFileCompileWasmPlugin{constructor(e){this.options=e||{}}apply(e){e.hooks.thisCompilation.tap("ReadFileCompileWasmPlugin",e=>{const t=e.outputOptions.wasmLoading;const n=e=>{const n=e.getEntryOptions();const s=n&&n.wasmLoading||t;return s==="async-node"};const r=e=>i.asString(["new Promise(function (resolve, reject) {",i.indent(["var { readFile } = require('fs');","var { join } = require('path');","","try {",i.indent([`readFile(join(__dirname, ${e}), function(err, buffer){`,i.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",i.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"} catch (err) { reject(err); }"]),"})"]);e.hooks.runtimeRequirementInTree.for(s.ensureChunkHandlers).tap("ReadFileCompileWasmPlugin",(t,i)=>{if(!n(t))return;const a=e.chunkGraph;if(!a.hasModuleInGraph(t,e=>e.type==="webassembly/sync")){return}i.add(s.moduleCache);e.addRuntimeModule(t,new o({generateLoadBinaryCode:r,supportsStreaming:false,mangleImports:this.options.mangleImports}))})})}}e.exports=ReadFileCompileWasmPlugin},94172:(e,t,n)=>{"use strict";const s=n(16475);const i=n(16963);const o=n(1626);const{chunkHasJs:r,getChunkFilenameTemplate:a}=n(89464);const c=n(29404);const{getUndoPath:u}=n(82186);class RequireChunkLoadingRuntimeModule extends i{constructor(e){super("require chunk loading",i.STAGE_ATTACH);this.runtimeRequirements=e}generate(){const{chunk:e}=this;const{chunkGraph:t,runtimeTemplate:i}=this.compilation;const l=s.ensureChunkHandlers;const d=this.runtimeRequirements.has(s.baseURI);const p=this.runtimeRequirements.has(s.externalInstallChunk);const h=this.runtimeRequirements.has(s.ensureChunkHandlers);const f=this.runtimeRequirements.has(s.hmrDownloadUpdateHandlers);const m=this.runtimeRequirements.has(s.hmrDownloadManifest);const g=c(t.getChunkConditionMap(e,r));const y=this.compilation.getPath(a(e,this.compilation.outputOptions),{chunk:e,contentHashType:"javascript"});const v=u(y,true);return o.asString([d?o.asString([`${s.baseURI} = require("url").pathToFileURL(${v!=="./"?`__dirname + ${JSON.stringify("/"+v)}`:"__filename"});`]):"// no baseURI","","// object to store loaded chunks",'// "1" means "loaded", otherwise not loaded yet',"var installedChunks = {",o.indent(e.ids.map(e=>`${JSON.stringify(e)}: 1`).join(",\n")),"};","",h||p?`var installChunk = ${i.basicFunction("chunk",["var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;","for(var moduleId in moreModules) {",o.indent([`if(${s.hasOwnProperty}(moreModules, moduleId)) {`,o.indent([`${s.moduleFactories}[moduleId] = moreModules[moduleId];`]),"}"]),"}",`if(runtime) runtime(__webpack_require__);`,"for(var i = 0; i < chunkIds.length; i++)",o.indent("installedChunks[chunkIds[i]] = 1;")])};`:"// no chunk install function needed","",h?o.asString(["// require() chunk loading for javascript",`${l}.require = function(chunkId, promises) {`,g!==false?o.indent(["",'// "1" is the signal for "already loaded"',"if(!installedChunks[chunkId]) {",o.indent([g===true?"if(true) { // all chunks have JS":`if(${g("chunkId")}) {`,o.indent([`installChunk(require(${JSON.stringify(v)} + ${s.getChunkScriptFilename}(chunkId)));`]),"} else installedChunks[chunkId] = 1;",""]),"}"]):"installedChunks[chunkId] = 1;","};"]):"// no chunk loading","",p?o.asString(["module.exports = __webpack_require__;",`${s.externalInstallChunk} = installChunk;`]):"// no external install chunk","",f?o.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",o.indent([`var update = require(${JSON.stringify(v)} + ${s.getChunkUpdateScriptFilename}(chunkId));`,"var updatedModules = update.modules;","var runtime = update.runtime;","for(var moduleId in updatedModules) {",o.indent([`if(${s.hasOwnProperty}(updatedModules, moduleId)) {`,o.indent([`currentUpdate[moduleId] = updatedModules[moduleId];`,"if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);"]),"}","",o.getFunctionContent(n(27266)).replace(/\$key\$/g,"require").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,s.moduleCache).replace(/\$moduleFactories\$/g,s.moduleFactories).replace(/\$ensureChunkHandlers\$/g,s.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,s.hasOwnProperty).replace(/\$hmrModuleData\$/g,s.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,s.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,s.hmrInvalidateModuleHandlers)]):"// no HMR","",m?o.asString([`${s.hmrDownloadManifest} = function() {`,o.indent(["return Promise.resolve().then(function() {",o.indent([`return require(${JSON.stringify(v)} + ${s.getUpdateManifestFilename}());`]),'}).catch(function(err) { if(err.code !== "MODULE_NOT_FOUND") throw err; });']),"}"]):"// no HMR manifest"])}}e.exports=RequireChunkLoadingRuntimeModule},91786:(e,t,n)=>{"use strict";const s=n(31669);const i=n(62090);const o=process.stderr.isTTY&&process.env.TERM!=="dumb";let r=undefined;let a=false;let c="";let u=0;const l=(e,t,n,s)=>{if(e==="")return e;t=c+t;if(o){return t+n+e.replace(/\n/g,s+"\n"+t+n)+s}else{return t+e.replace(/\n/g,"\n"+t)}};const d=()=>{if(a){process.stderr.write("\r");a=false}};const p=()=>{if(!r)return;const e=process.stderr.columns;const t=e?i(r,e-1):r;const n=t.join(" ");const s=`${n}`;process.stderr.write(`\r${s}`);a=true};const h=(e,t,n)=>{return(...i)=>{if(u>0)return;d();const o=l(s.format(...i),e,t,n);process.stderr.write(o+"\n");p()}};const f=h("<-> ","","");const m=h("<+> ","","");e.exports={log:h(" ","",""),debug:h(" ","",""),trace:h(" ","",""),info:h(" ","",""),warn:h(" ","",""),error:h(" ","",""),logTime:h(" ","",""),group:(...e)=>{f(...e);if(u>0){u++}else{c+=" "}},groupCollapsed:(...e)=>{m(...e);u++},groupEnd:()=>{if(u>0)u--;else if(c.length>=2)c=c.slice(0,c.length-2)},profile:console.profile&&(e=>console.profile(e)),profileEnd:console.profileEnd&&(e=>console.profileEnd(e)),clear:o&&console.clear&&(()=>{d();console.clear();p()}),status:o?(e,...t)=>{t=t.filter(Boolean);if(e===undefined&&t.length===0){d();r=undefined}else if(typeof e==="string"&&e.startsWith("[webpack.Progress] ")){r=[e.slice(19),...t];p()}else if(e==="[webpack.Progress]"){r=[...t];p()}else{r=[e,...t];p()}}:h(" ","","")}},64395:(e,t,n)=>{"use strict";const{STAGE_ADVANCED:s}=n(80057);class AggressiveMergingPlugin{constructor(e){if(e!==undefined&&typeof e!=="object"||Array.isArray(e)){throw new Error("Argument should be an options object. To use defaults, pass in nothing.\nFor more info on options, see https://webpack.js.org/plugins/")}this.options=e||{}}apply(e){const t=this.options;const n=t.minSizeReduce||1.5;e.hooks.thisCompilation.tap("AggressiveMergingPlugin",e=>{e.hooks.optimizeChunks.tap({name:"AggressiveMergingPlugin",stage:s},t=>{const s=e.chunkGraph;let i=[];for(const e of t){if(e.canBeInitial())continue;for(const n of t){if(n.canBeInitial())continue;if(n===e)break;if(!s.canChunksBeIntegrated(e,n)){continue}const t=s.getChunkSize(n,{chunkOverhead:0});const o=s.getChunkSize(e,{chunkOverhead:0});const r=s.getIntegratedChunksSize(n,e,{chunkOverhead:0});const a=(t+o)/r;i.push({a:e,b:n,improvement:a})}}i.sort((e,t)=>{return t.improvement-e.improvement});const o=i[0];if(!o)return;if(o.improvement{"use strict";const{validate:s}=n(33225);const i=n(3572);const{STAGE_ADVANCED:o}=n(80057);const{intersect:r}=n(93347);const{compareModulesByIdentifier:a,compareChunks:c}=n(29579);const u=n(82186);const l=(e,t,n)=>{return s=>{e.disconnectChunkAndModule(t,s);e.connectChunkAndModule(n,s)}};const d=(e,t)=>{return n=>{return!e.isEntryModuleInChunk(n,t)}};const p=new WeakSet;class AggressiveSplittingPlugin{constructor(e={}){s(i,e,{name:"Aggressive Splitting Plugin",baseDataPath:"options"});this.options=e;if(typeof this.options.minSize!=="number"){this.options.minSize=30*1024}if(typeof this.options.maxSize!=="number"){this.options.maxSize=50*1024}if(typeof this.options.chunkOverhead!=="number"){this.options.chunkOverhead=0}if(typeof this.options.entryChunkMultiplicator!=="number"){this.options.entryChunkMultiplicator=1}}static wasChunkRecorded(e){return p.has(e)}apply(e){e.hooks.thisCompilation.tap("AggressiveSplittingPlugin",t=>{let n=false;let s;let i;let h;t.hooks.optimize.tap("AggressiveSplittingPlugin",()=>{s=[];i=new Set;h=new Map});t.hooks.optimizeChunks.tap({name:"AggressiveSplittingPlugin",stage:o},n=>{const o=t.chunkGraph;const p=new Map;const f=new Map;const m=u.makePathsRelative.bindContextCache(e.context,e.root);for(const e of t.modules){const t=m(e.identifier());p.set(t,e);f.set(e,t)}const g=new Set;for(const e of n){g.add(e.id)}const y=t.records&&t.records.aggressiveSplits||[];const v=s?y.concat(s):y;const b=this.options.minSize;const k=this.options.maxSize;const w=e=>{if(e.id!==undefined&&g.has(e.id)){return false}const n=e.modules.map(e=>p.get(e));if(!n.every(Boolean))return false;let s=0;for(const e of n)s+=e.size();if(s!==e.size)return false;const a=r(n.map(e=>new Set(o.getModuleChunksIterable(e))));if(a.size===0)return false;if(a.size===1&&o.getNumberOfChunkModules(Array.from(a)[0])===n.length){const t=Array.from(a)[0];if(i.has(t))return false;i.add(t);h.set(t,e);return true}const c=t.addChunk();c.chunkReason="aggressive splitted";for(const e of a){n.forEach(l(o,e,c));e.split(c);e.name=null}i.add(c);h.set(c,e);if(e.id!==null&&e.id!==undefined){c.id=e.id;c.ids=[e.id]}return true};let x=false;for(let e=0;e{const n=o.getChunkModulesSize(t)-o.getChunkModulesSize(e);if(n)return n;const s=o.getNumberOfChunkModules(e)-o.getNumberOfChunkModules(t);if(s)return s;return C(e,t)});for(const e of M){if(i.has(e))continue;const t=o.getChunkModulesSize(e);if(t>k&&o.getNumberOfChunkModules(e)>1){const t=o.getOrderedChunkModules(e,a).filter(d(o,e));const n=[];let i=0;for(let e=0;ek&&i>=b){break}i=o;n.push(s)}if(n.length===0)continue;const r={modules:n.map(e=>f.get(e)).sort(),size:i};if(w(r)){s=(s||[]).concat(r);x=true}}}if(x)return true});t.hooks.recordHash.tap("AggressiveSplittingPlugin",e=>{const s=new Set;const i=new Set;for(const e of t.chunks){const t=h.get(e);if(t!==undefined){if(t.hash&&e.hash!==t.hash){i.add(t)}}}if(i.size>0){e.aggressiveSplits=e.aggressiveSplits.filter(e=>!i.has(e));n=true}else{for(const e of t.chunks){const t=h.get(e);if(t!==undefined){t.hash=e.hash;t.id=e.id;s.add(t);p.add(e)}}const o=t.records&&t.records.aggressiveSplits;if(o){for(const e of o){if(!i.has(e))s.add(e)}}e.aggressiveSplits=Array.from(s);n=false}});t.hooks.needAdditionalSeal.tap("AggressiveSplittingPlugin",()=>{if(n){n=false;return true}})})}}e.exports=AggressiveSplittingPlugin},97198:(e,t,n)=>{"use strict";const s=n(98991);const{CachedSource:i,ConcatSource:o,ReplaceSource:r}=n(84697);const a=n(98229);const{UsageState:c}=n(63686);const u=n(73208);const l=n(16475);const d=n(1626);const p=n(57154);const h=n(29050);const{equals:f}=n(84953);const m=n(38938);const{concatComparators:g,keepOriginalOrder:y}=n(29579);const v=n(49835);const b=n(82186).contextify;const k=n(33032);const w=n(54190);const{filterRuntime:x,intersectRuntime:C,mergeRuntimeCondition:M,mergeRuntimeConditionNonFalse:S,runtimeConditionToString:O,subtractRuntimeCondition:T}=n(17156);const P=[a.DEFAULT_EXPORT,a.NAMESPACE_OBJECT_EXPORT,"abstract,arguments,async,await,boolean,break,byte,case,catch,char,class,const,continue","debugger,default,delete,do,double,else,enum,eval,export,extends,false,final,finally,float","for,function,goto,if,implements,import,in,instanceof,int,interface,let,long,native,new,null","package,private,protected,public,return,short,static,super,switch,synchronized,this,throw","throws,transient,true,try,typeof,var,void,volatile,while,with,yield","module,__dirname,__filename,exports","Array,Date,eval,function,hasOwnProperty,Infinity,isFinite,isNaN,isPrototypeOf,length,Math","NaN,name,Number,Object,prototype,String,toString,undefined,valueOf","alert,all,anchor,anchors,area,assign,blur,button,checkbox,clearInterval,clearTimeout","clientInformation,close,closed,confirm,constructor,crypto,decodeURI,decodeURIComponent","defaultStatus,document,element,elements,embed,embeds,encodeURI,encodeURIComponent,escape","event,fileUpload,focus,form,forms,frame,innerHeight,innerWidth,layer,layers,link,location","mimeTypes,navigate,navigator,frames,frameRate,hidden,history,image,images,offscreenBuffering","open,opener,option,outerHeight,outerWidth,packages,pageXOffset,pageYOffset,parent,parseFloat","parseInt,password,pkcs11,plugin,prompt,propertyIsEnum,radio,reset,screenX,screenY,scroll","secure,select,self,setInterval,setTimeout,status,submit,taint,text,textarea,top,unescape","untaint,window","onblur,onclick,onerror,onfocus,onkeydown,onkeypress,onkeyup,onmouseover,onload,onmouseup,onmousedown,onsubmit"].join(",").split(",");const $=(e,t)=>{const n=e.sourceOrder;const s=t.sourceOrder;if(isNaN(n)){if(!isNaN(s)){return 1}}else{if(isNaN(s)){return-1}if(n!==s){return n{let t="";let n=true;for(const s of e){if(n){n=false}else{t+=", "}t+=s}return t};const j=(e,t,n,s,i,o,r,a,c,u,l,p=new Set)=>{const h=t.module.getExportsType(e,u);if(n.length===0){switch(h){case"default-only":t.interopNamespaceObject2Used=true;return{info:t,rawName:t.interopNamespaceObject2Name,ids:n,exportName:n};case"default-with-named":t.interopNamespaceObjectUsed=true;return{info:t,rawName:t.interopNamespaceObjectName,ids:n,exportName:n};case"namespace":case"dynamic":break;default:throw new Error(`Unexpected exportsType ${h}`)}}else{switch(h){case"namespace":break;case"default-with-named":switch(n[0]){case"default":n=n.slice(1);break;case"__esModule":return{info:t,rawName:"/* __esModule */true",ids:n.slice(1),exportName:n}}break;case"default-only":{const e=n[0];if(e==="__esModule"){return{info:t,rawName:"/* __esModule */true",ids:n.slice(1),exportName:n}}n=n.slice(1);if(e!=="default"){return{info:t,rawName:"/* non-default import from default-exporting module */undefined",ids:n,exportName:n}}break}case"dynamic":switch(n[0]){case"default":{n=n.slice(1);t.interopDefaultAccessUsed=true;const e=c?`${t.interopDefaultAccessName}()`:l?`(${t.interopDefaultAccessName}())`:l===false?`;(${t.interopDefaultAccessName}())`:`${t.interopDefaultAccessName}.a`;return{info:t,rawName:e,ids:n,exportName:n}}case"__esModule":return{info:t,rawName:"/* __esModule */true",ids:n.slice(1),exportName:n}}break;default:throw new Error(`Unexpected exportsType ${h}`)}}if(n.length===0){switch(t.type){case"concatenated":a.add(t);return{info:t,rawName:t.namespaceObjectName,ids:n,exportName:n};case"external":return{info:t,rawName:t.name,ids:n,exportName:n}}}const m=e.getExportsInfo(t.module);const g=m.getExportInfo(n[0]);if(p.has(g)){return{info:t,rawName:"/* circular reexport */ Object(function x() { x() }())",ids:[],exportName:n}}p.add(g);switch(t.type){case"concatenated":{const u=n[0];if(g.provided===false){a.add(t);return{info:t,rawName:t.namespaceObjectName,ids:n,exportName:n}}const d=t.exportMap&&t.exportMap.get(u);if(d){const e=m.getUsedName(n,i);if(!e){return{info:t,rawName:"/* unused export */ undefined",ids:n.slice(1),exportName:n}}return{info:t,name:d,ids:e.slice(1),exportName:n}}const h=t.rawExportMap&&t.rawExportMap.get(u);if(h){return{info:t,rawName:h,ids:n.slice(1),exportName:n}}const f=g.findTarget(e,e=>s.has(e));if(f===false){throw new Error(`Target module of reexport from '${t.module.readableIdentifier(o)}' is not part of the concatenation (export '${u}')\nModules in the concatenation:\n${Array.from(s,([e,t])=>` * ${t.type} ${e.readableIdentifier(o)}`).join("\n")}`)}if(f){const u=s.get(f.module);return j(e,u,f.export?[...f.export,...n.slice(1)]:n.slice(1),s,i,o,r,a,c,t.module.buildMeta.strictHarmonyModule,l,p)}if(t.namespaceExportSymbol){const e=m.getUsedName(n,i);return{info:t,rawName:t.namespaceObjectName,ids:e,exportName:n}}throw new Error(`Cannot get final name for export '${n.join(".")}' of ${t.module.readableIdentifier(o)}`)}case"external":{const e=m.getUsedName(n,i);if(!e){return{info:t,rawName:"/* unused export */ undefined",ids:n.slice(1),exportName:n}}const s=f(e,n)?"":d.toNormalComment(`${n.join(".")}`);return{info:t,rawName:t.name+s,ids:e,exportName:n}}}};const _=(e,t,n,s,i,o,r,a,c,u,l,d)=>{const p=j(e,t,n,s,i,o,r,a,c,l,d);{const{ids:e,comment:t}=p;let n;let s;if("rawName"in p){n=`${p.rawName}${t||""}${w(e)}`;s=e.length>0}else{const{info:i,name:r}=p;const a=i.internalNames.get(r);if(!a){throw new Error(`The export "${r}" in "${i.module.readableIdentifier(o)}" has no internal name (existing names: ${Array.from(i.internalNames,([e,t])=>`${e}: ${t}`).join(", ")||"none"})`)}n=`${a}${t||""}${w(e)}`;s=e.length>1}if(s&&c&&u===false){return d?`(0,${n})`:d===false?`;(0,${n})`:`Object(${n})`}return n}};const z=(e,t,n,s)=>{let i=e;while(i){if(n.has(i))break;if(s.has(i))break;n.add(i);for(const e of i.variables){t.add(e.name)}i=i.upper}};const q=e=>{let t=e.references;const n=new Set(e.identifiers);for(const s of e.scope.childScopes){for(const e of s.variables){if(e.identifiers.some(e=>n.has(e))){t=t.concat(e.references);break}}}return t};const W=(e,t)=>{if(e===t){return[]}const n=t.range;const s=e=>{if(!e)return undefined;const s=e.range;if(s){if(s[0]<=n[0]&&s[1]>=n[1]){const n=W(e,t);if(n){n.push(e);return n}}}return undefined};if(Array.isArray(e)){for(let t=0;t!(e instanceof p)||!this._modules.has(t.moduleGraph.getModule(e)))){this.dependencies.push(n)}for(const t of e.blocks){this.blocks.push(t)}const n=e.getWarnings();if(n!==undefined){for(const e of n){this.addWarning(e)}}const s=e.getErrors();if(s!==undefined){for(const e of s){this.addError(e)}}if(e.buildInfo.assets){if(this.buildInfo.assets===undefined){this.buildInfo.assets=Object.create(null)}Object.assign(this.buildInfo.assets,e.buildInfo.assets)}if(e.buildInfo.assetsInfo){if(this.buildInfo.assetsInfo===undefined){this.buildInfo.assetsInfo=new Map}for(const[t,n]of e.buildInfo.assetsInfo){this.buildInfo.assetsInfo.set(t,n)}}}i()}size(e){let t=0;for(const n of this._modules){t+=n.size(e)}return t}_createConcatenationList(e,t,n,s){const i=[];const o=new Map;const r=t=>{let i=Array.from(s.getOutgoingConnections(t));if(t===e){for(const e of s.getOutgoingConnections(this))i.push(e)}const o=i.filter(e=>{if(!(e.dependency instanceof p))return false;return e&&e.resolvedOriginModule===t&&e.module&&e.isTargetActive(n)}).map(e=>({connection:e,sourceOrder:e.dependency.sourceOrder}));o.sort(g($,y(o)));const r=new Map;for(const{connection:e}of o){const t=x(n,t=>e.isTargetActive(t));if(t===false)continue;const s=e.module;const i=r.get(s);if(i===undefined){r.set(s,{connection:e,runtimeCondition:t});continue}i.runtimeCondition=S(i.runtimeCondition,t,n)}return r.values()};const a=(e,s)=>{const c=e.module;if(!c)return;const u=o.get(c);if(u===true){return}if(t.has(c)){o.set(c,true);if(s!==true){throw new Error(`Cannot runtime-conditional concatenate a module (${c.identifier()} in ${this.rootModule.identifier()}, ${O(s)}). This should not happen.`)}const t=r(c);for(const{connection:e,runtimeCondition:n}of t)a(e,n);i.push({type:"concatenated",module:e.module,runtimeCondition:s})}else{if(u!==undefined){const t=T(s,u,n);if(t===false)return;s=t;o.set(e.module,S(u,s,n))}else{o.set(e.module,s)}if(i.length>0){const t=i[i.length-1];if(t.type==="external"&&t.module===e.module){t.runtimeCondition=M(t.runtimeCondition,s,n);return}}i.push({type:"external",get module(){return e.module},runtimeCondition:s})}};o.set(e,true);const c=r(e);for(const{connection:e,runtimeCondition:t}of c)a(e,t);i.push({type:"concatenated",module:e,runtimeCondition:true});return i}static _createIdentifier(e,t,n){const s=b.bindContextCache(e.context,n);let i=[];for(const e of t){i.push(s(e.identifier()))}i.sort();const o=v("md4");o.update(i.join(" "));return e.identifier()+"|"+o.digest("hex")}addCacheDependencies(e,t,n,s){for(const i of this._modules){i.addCacheDependencies(e,t,n,s)}}codeGeneration({dependencyTemplates:e,runtimeTemplate:t,moduleGraph:n,chunkGraph:s,runtime:r}){const u=new Set;const d=C(r,this._runtime);const p=t.requestShortener;const[h,f]=this._getModulesWithInfo(n,d);const m=new Set;for(const i of f.values()){this._analyseModule(f,i,e,t,n,s,d)}const g=new Set(P);const y=new Map;const v=(e,t)=>{const n=`${e}-${t}`;let s=y.get(n);if(s===undefined){s={usedNames:new Set,alreadyCheckedScopes:new Set};y.set(n,s)}return s};const b=new Set;for(const e of h){if(e.type==="concatenated"){if(e.moduleScope){b.add(e.moduleScope)}const s=new WeakMap;const i=e=>{const t=s.get(e);if(t!==undefined)return t;const n=[];for(const t of e.childScopes){if(t.type!=="class")continue;const e=t.block;if((e.type==="ClassDeclaration"||e.type==="ClassExpression")&&e.superClass){n.push({range:e.superClass.range,variables:t.variables})}}s.set(e,n);return n};if(e.globalScope){for(const s of e.globalScope.through){const o=s.identifier.name;if(a.isModuleReference(o)){const r=a.matchModuleReference(o);if(!r)continue;const c=h[r.index];if(c.type==="reference")throw new Error("Module reference can't point to a reference");const u=j(n,c,r.ids,f,d,p,t,m,false,e.module.buildMeta.strictHarmonyModule,true);if(!u.ids)continue;const{usedNames:l,alreadyCheckedScopes:g}=v(u.info.module.identifier(),"name"in u?u.name:"");for(const e of i(s.from)){if(e.range[0]<=s.identifier.range[0]&&e.range[1]>=s.identifier.range[1]){for(const t of e.variables){l.add(t.name)}}}z(s.from,l,g,b)}else{g.add(o)}}}}}for(const e of f.values()){const{usedNames:t}=v(e.module.identifier(),"");switch(e.type){case"concatenated":{for(const t of e.moduleScope.variables){const n=t.name;const{usedNames:s,alreadyCheckedScopes:i}=v(e.module.identifier(),n);if(g.has(n)||s.has(n)){const o=q(t);for(const e of o){z(e.from,s,i,b)}const r=this.findNewName(n,g,s,e.module.readableIdentifier(p));g.add(r);e.internalNames.set(n,r);const a=e.source;const c=new Set(o.map(e=>e.identifier).concat(t.identifiers));for(const t of c){const n=t.range;const s=W(e.ast,t);if(s&&s.length>1&&s[1].type==="Property"&&s[1].shorthand){a.insert(n[1],`: ${r}`)}else{a.replace(n[0],n[1]-1,r)}}}else{g.add(n);e.internalNames.set(n,n)}}let n;if(e.namespaceExportSymbol){n=e.internalNames.get(e.namespaceExportSymbol)}else{n=this.findNewName("namespaceObject",g,t,e.module.readableIdentifier(p));g.add(n)}e.namespaceObjectName=n;break}case"external":{const n=this.findNewName("",g,t,e.module.readableIdentifier(p));g.add(n);e.name=n;break}}if(e.module.buildMeta.exportsType!=="namespace"){const n=this.findNewName("namespaceObject",g,t,e.module.readableIdentifier(p));g.add(n);e.interopNamespaceObjectName=n}if(e.module.buildMeta.exportsType==="default"&&e.module.buildMeta.defaultObject!=="redirect"){const n=this.findNewName("namespaceObject2",g,t,e.module.readableIdentifier(p));g.add(n);e.interopNamespaceObject2Name=n}if(e.module.buildMeta.exportsType==="dynamic"||!e.module.buildMeta.exportsType){const n=this.findNewName("default",g,t,e.module.readableIdentifier(p));g.add(n);e.interopDefaultAccessName=n}}for(const e of f.values()){if(e.type==="concatenated"){for(const s of e.globalScope.through){const i=s.identifier.name;const o=a.matchModuleReference(i);if(o){const i=h[o.index];if(i.type==="reference")throw new Error("Module reference can't point to a reference");const r=_(n,i,o.ids,f,d,p,t,m,o.call,!o.directImport,e.module.buildMeta.strictHarmonyModule,o.asiSafe);const a=s.identifier.range;const c=e.source;c.replace(a[0],a[1]+1,r)}}}}const k=new Map;const w=new Set;const x=f.get(this.rootModule);const M=x.module.buildMeta.strictHarmonyModule;const S=n.getExportsInfo(x.module);for(const e of S.orderedExports){const s=e.name;if(e.provided===false)continue;const i=e.getUsedName(undefined,d);if(!i){w.add(s);continue}k.set(i,o=>{try{const r=_(n,x,[s],f,d,o,t,m,false,false,M,true);return`/* ${e.isReexport()?"reexport":"binding"} */ ${r}`}catch(e){e.message+=`\nwhile generating the root export '${s}' (used name: '${i}')`;throw e}})}const O=new o;if(n.getExportsInfo(this).otherExportsInfo.getUsed(d)!==c.Unused){O.add(`// ESM COMPAT FLAG\n`);O.add(t.defineEsModuleFlagStatement({exportsArgument:this.exportsArgument,runtimeRequirements:u}))}if(k.size>0){u.add(l.exports);u.add(l.definePropertyGetters);const e=[];for(const[n,s]of k){e.push(`\n ${JSON.stringify(n)}: ${t.returningFunction(s(p))}`)}O.add(`\n// EXPORTS\n`);O.add(`${l.definePropertyGetters}(${this.exportsArgument}, {${e.join(",")}\n});\n`)}if(w.size>0){O.add(`\n// UNUSED EXPORTS: ${F(w)}\n`)}const T=new Map;for(const e of m){if(e.namespaceExportSymbol)continue;const s=[];const i=n.getExportsInfo(e.module);for(const o of i.orderedExports){if(o.provided===false)continue;const i=o.getUsedName(undefined,d);if(i){const r=_(n,e,[o.name],f,d,p,t,m,false,undefined,e.module.buildMeta.strictHarmonyModule,true);s.push(`\n ${JSON.stringify(i)}: ${t.returningFunction(r)}`)}}const o=e.namespaceObjectName;const r=s.length>0?`${l.definePropertyGetters}(${o}, {${s.join(",")}\n});\n`:"";if(s.length>0)u.add(l.definePropertyGetters);T.set(e,`\n// NAMESPACE OBJECT: ${e.module.readableIdentifier(p)}\nvar ${o} = {};\n${l.makeNamespaceObject}(${o});\n${r}`);u.add(l.makeNamespaceObject)}for(const e of h){if(e.type==="concatenated"){const t=T.get(e);if(!t)continue;O.add(t)}}for(const e of h){let n;let i=false;const o=e.type==="reference"?e.target:e;switch(o.type){case"concatenated":{O.add(`\n;// CONCATENATED MODULE: ${o.module.readableIdentifier(p)}\n`);O.add(o.source);if(o.runtimeRequirements){for(const e of o.runtimeRequirements){u.add(e)}}n=o.namespaceObjectName;break}case"external":{O.add(`\n// EXTERNAL MODULE: ${o.module.readableIdentifier(p)}\n`);u.add(l.require);const{runtimeCondition:r}=e;const a=t.runtimeConditionExpression({chunkGraph:s,runtimeCondition:r,runtime:d,runtimeRequirements:u});if(a!=="true"){i=true;O.add(`if (${a}) {\n`)}O.add(`var ${o.name} = __webpack_require__(${JSON.stringify(s.getModuleId(o.module))});`);n=o.name;break}default:throw new Error(`Unsupported concatenation entry type ${o.type}`)}if(o.interopNamespaceObjectUsed){u.add(l.createFakeNamespaceObject);O.add(`\nvar ${o.interopNamespaceObjectName} = /*#__PURE__*/${l.createFakeNamespaceObject}(${n}, 2);`)}if(o.interopNamespaceObject2Used){u.add(l.createFakeNamespaceObject);O.add(`\nvar ${o.interopNamespaceObject2Name} = /*#__PURE__*/${l.createFakeNamespaceObject}(${n});`)}if(o.interopDefaultAccessUsed){u.add(l.compatGetDefaultExport);O.add(`\nvar ${o.interopDefaultAccessName} = /*#__PURE__*/${l.compatGetDefaultExport}(${n});`)}if(i){O.add("\n}")}}const $={sources:new Map([["javascript",new i(O)]]),runtimeRequirements:u};return $}_analyseModule(e,t,n,i,o,c,u){if(t.type==="concatenated"){const l=t.module;try{const d=new a(e,t);const p=l.codeGeneration({dependencyTemplates:n,runtimeTemplate:i,moduleGraph:o,chunkGraph:c,runtime:u,concatenationScope:d});const f=p.sources.get("javascript");const m=f.source().toString();let g;try{g=h._parse(m,{sourceType:"module"})}catch(e){if(e.loc&&typeof e.loc==="object"&&typeof e.loc.line==="number"){const t=e.loc.line;const n=m.split("\n");e.message+="\n| "+n.slice(Math.max(0,t-3),t+2).join("\n| ")}throw e}const y=s.analyze(g,{ecmaVersion:6,sourceType:"module",optimistic:true,ignoreEval:true,impliedStrict:true});const v=y.acquire(g);const b=v.childScopes[0];const k=new r(f);t.runtimeRequirements=p.runtimeRequirements;t.ast=g;t.internalSource=f;t.source=k;t.globalScope=v;t.moduleScope=b}catch(e){e.message+=`\nwhile analysing module ${l.identifier()} for concatenation`;throw e}}}_getHashDigest(e,t,n){const s=e.getModuleHash(this,n);const i=t.getHash();return`${s}-${i}`}_getModulesWithInfo(e,t){const n=this._createConcatenationList(this.rootModule,this._modules,t,e);const s=new Map;const i=n.map((e,t)=>{let n=s.get(e.module);if(n===undefined){switch(e.type){case"concatenated":n={type:"concatenated",module:e.module,index:t,ast:undefined,internalSource:undefined,runtimeRequirements:undefined,source:undefined,globalScope:undefined,moduleScope:undefined,internalNames:new Map,exportMap:undefined,rawExportMap:undefined,namespaceExportSymbol:undefined,namespaceObjectName:undefined,interopNamespaceObjectUsed:false,interopNamespaceObjectName:undefined,interopNamespaceObject2Used:false,interopNamespaceObject2Name:undefined,interopDefaultAccessUsed:false,interopDefaultAccessName:undefined};break;case"external":n={type:"external",module:e.module,runtimeCondition:e.runtimeCondition,index:t,name:undefined,interopNamespaceObjectUsed:false,interopNamespaceObjectName:undefined,interopNamespaceObject2Used:false,interopNamespaceObject2Name:undefined,interopDefaultAccessUsed:false,interopDefaultAccessName:undefined};break;default:throw new Error(`Unsupported concatenation entry type ${e.type}`)}s.set(n.module,n);return n}else{const t={type:"reference",runtimeCondition:e.runtimeCondition,target:n};return t}});return[i,s]}findNewName(e,t,n,s){let i=e;if(i===a.DEFAULT_EXPORT){i=""}if(i===a.NAMESPACE_OBJECT_EXPORT){i="namespaceObject"}s=s.replace(/\.+\/|(\/index)?\.([a-zA-Z0-9]{1,4})($|\s|\?)|\s*\+\s*\d+\s*modules/g,"");const o=s.split("/");while(o.length){i=o.pop()+(i?"_"+i:"");const e=d.toIdentifier(i);if(!t.has(e)&&(!n||!n.has(e)))return e}let r=0;let c=d.toIdentifier(`${i}_${r}`);while(t.has(c)||n&&n.has(c)){r++;c=d.toIdentifier(`${i}_${r}`)}return c}updateHash(e,t){const{chunkGraph:n,runtime:s}=t;for(const i of this._createConcatenationList(this.rootModule,this._modules,C(s,this._runtime),n.moduleGraph)){switch(i.type){case"concatenated":i.module.updateHash(e,t);break;case"external":e.update(`${n.getModuleId(i.module)}`);break}}super.updateHash(e,t)}static deserialize(e){const t=new ConcatenatedModule({identifier:undefined,rootModule:undefined,modules:undefined,runtime:undefined});t.deserialize(e);return t}}k(ConcatenatedModule,"webpack/lib/optimize/ConcatenatedModule");e.exports=ConcatenatedModule},96260:(e,t,n)=>{"use strict";const{STAGE_BASIC:s}=n(80057);class EnsureChunkConditionsPlugin{apply(e){e.hooks.compilation.tap("EnsureChunkConditionsPlugin",e=>{const t=t=>{const n=e.chunkGraph;const s=new Set;const i=new Set;for(const t of e.modules){for(const o of n.getModuleChunksIterable(t)){if(!t.chunkCondition(o,e)){s.add(o);for(const e of o.groupsIterable){i.add(e)}}}if(s.size===0)continue;const o=new Set;e:for(const n of i){for(const s of n.chunks){if(t.chunkCondition(s,e)){o.add(s);continue e}}if(n.isInitial()){throw new Error("Cannot fullfil chunk condition of "+t.identifier())}for(const e of n.parentsIterable){i.add(e)}}for(const e of s){n.disconnectChunkAndModule(e,t)}for(const e of o){n.connectChunkAndModule(e,t)}s.clear();i.clear()}};e.hooks.optimizeChunks.tap({name:"EnsureChunkConditionsPlugin",stage:s},t)})}}e.exports=EnsureChunkConditionsPlugin},50089:e=>{"use strict";class FlagIncludedChunksPlugin{apply(e){e.hooks.compilation.tap("FlagIncludedChunksPlugin",e=>{e.hooks.optimizeChunkIds.tap("FlagIncludedChunksPlugin",t=>{const n=e.chunkGraph;const s=new WeakMap;const i=e.modules.size;const o=1/Math.pow(1/i,1/31);const r=Array.from({length:31},(e,t)=>Math.pow(o,t)|0);let a=0;for(const t of e.modules){let e=30;while(a%r[e]!==0){e--}s.set(t,1<n.getNumberOfModuleChunks(t))i=t}e:for(const o of n.getModuleChunksIterable(i)){if(e===o)continue;const i=n.getNumberOfChunkModules(o);if(i===0)continue;if(s>i)continue;const r=c.get(o);if((r&t)!==t)continue;for(const t of n.getChunkModulesIterable(e)){if(!n.isModuleInChunk(t,o))continue e}o.ids.push(e.id)}}})})}}e.exports=FlagIncludedChunksPlugin},38988:(e,t)=>{"use strict";const n=new WeakMap;const s=Symbol("top level symbol");function getState(e){return n.get(e)}t.bailout=(e=>{n.set(e,false)});t.enable=(e=>{const t=n.get(e);if(t===false){return}n.set(e,{innerGraph:new Map,currentTopLevelSymbol:undefined,usageCallbackMap:new Map})});t.isEnabled=(e=>{const t=n.get(e);return!!t});t.addUsage=((e,t,n)=>{const s=getState(e);if(s){const{innerGraph:e}=s;const i=e.get(t);if(n===true){e.set(t,true)}else if(i===undefined){e.set(t,new Set([n]))}else if(i!==true){i.add(n)}}});t.addVariableUsage=((e,n,i)=>{const o=e.getTagData(n,s);if(o){t.addUsage(e.state,o,i)}});t.inferDependencyUsage=(e=>{const t=getState(e);if(!t){return}const{innerGraph:n,usageCallbackMap:s}=t;const i=new Map;const o=new Set(n.keys());while(o.size>0){for(const e of o){let t=new Set;let s=true;const r=n.get(e);let a=i.get(e);if(a===undefined){a=new Set;i.set(e,a)}if(r!==true&&r!==undefined){for(const e of r){a.add(e)}for(const i of r){if(typeof i==="string"){t.add(i)}else{const o=n.get(i);if(o===true){t=true;break}if(o!==undefined){for(const n of o){if(n===e)continue;if(a.has(n))continue;t.add(n);if(typeof n!=="string"){s=false}}}}}if(t===true){n.set(e,true)}else if(t.size===0){n.set(e,undefined)}else{n.set(e,t)}}if(s){o.delete(e)}}}for(const[e,t]of s){const s=n.get(e);for(const e of t){e(s===undefined?false:s)}}});t.onUsage=((e,t)=>{const n=getState(e);if(n){const{usageCallbackMap:e,currentTopLevelSymbol:s}=n;if(s){let n=e.get(s);if(n===undefined){n=new Set;e.set(s,n)}n.add(t)}else{t(true)}}else{t(undefined)}});t.setTopLevelSymbol=((e,t)=>{const n=getState(e);if(n){n.currentTopLevelSymbol=t}});t.getTopLevelSymbol=(e=>{const t=getState(e);if(t){return t.currentTopLevelSymbol}});t.tagTopLevelSymbol=((e,t)=>{const n=getState(e.state);if(!n)return;e.defineVariable(t);const i=e.getTagData(t,s);if(i){return i}const o=new TopLevelSymbol(t);e.tagVariable(t,s,o);return o});class TopLevelSymbol{constructor(e){this.name=e}}t.TopLevelSymbol=TopLevelSymbol;t.topLevelSymbolTag=s},28758:(e,t,n)=>{"use strict";const s=n(55799);const i=n(38988);const{topLevelSymbolTag:o}=i;class InnerGraphPlugin{apply(e){e.hooks.compilation.tap("InnerGraphPlugin",(e,{normalModuleFactory:t})=>{const n=e.getLogger("webpack.InnerGraphPlugin");e.dependencyTemplates.set(s,new s.Template);const r=(e,t)=>{const r=t=>{i.onUsage(e.state,n=>{switch(n){case undefined:case true:return;default:{const i=new s(t.range);i.loc=t.loc;i.usedByExports=n;e.state.module.addDependency(i);break}}})};e.hooks.program.tap("InnerGraphPlugin",()=>{i.enable(e.state)});e.hooks.finish.tap("InnerGraphPlugin",()=>{if(!i.isEnabled(e.state))return;n.time("infer dependency usage");i.inferDependencyUsage(e.state);n.timeAggregate("infer dependency usage")});const a=new WeakMap;const c=new WeakMap;const u=new WeakMap;const l=new WeakMap;const d=new WeakSet;e.hooks.preStatement.tap("InnerGraphPlugin",t=>{if(!i.isEnabled(e.state))return;if(e.scope.topLevelScope===true){if(t.type==="FunctionDeclaration"){const n=t.id?t.id.name:"*default*";const s=i.tagTopLevelSymbol(e,n);a.set(t,s);return true}}});e.hooks.blockPreStatement.tap("InnerGraphPlugin",t=>{if(!i.isEnabled(e.state))return;if(e.scope.topLevelScope===true){if(t.type==="ClassDeclaration"){const n=t.id?t.id.name:"*default*";const s=i.tagTopLevelSymbol(e,n);u.set(t,s);return true}if(t.type==="ExportDefaultDeclaration"){const n="*default*";const s=i.tagTopLevelSymbol(e,n);const o=t.declaration;if(o.type==="ClassExpression"||o.type==="ClassDeclaration"){u.set(o,s)}else if(e.isPure(o,t.range[0])){a.set(t,s);if(!o.type.endsWith("FunctionExpression")&&!o.type.endsWith("Declaration")&&o.type!=="Literal"){c.set(t,o)}}}}});e.hooks.preDeclarator.tap("InnerGraphPlugin",(t,n)=>{if(!i.isEnabled(e.state))return;if(e.scope.topLevelScope===true&&t.init&&t.id.type==="Identifier"){const n=t.id.name;if(t.init.type==="ClassExpression"){const s=i.tagTopLevelSymbol(e,n);u.set(t.init,s)}else if(e.isPure(t.init,t.id.range[1])){const s=i.tagTopLevelSymbol(e,n);l.set(t,s);if(!t.init.type.endsWith("FunctionExpression")&&t.init.type!=="Literal"){d.add(t)}return true}}});e.hooks.statement.tap("InnerGraphPlugin",t=>{if(!i.isEnabled(e.state))return;if(e.scope.topLevelScope===true){i.setTopLevelSymbol(e.state,undefined);const n=a.get(t);if(n){i.setTopLevelSymbol(e.state,n);const o=c.get(t);if(o){i.onUsage(e.state,n=>{switch(n){case undefined:case true:return;default:{const i=new s(o.range);i.loc=t.loc;i.usedByExports=n;e.state.module.addDependency(i);break}}})}}}});e.hooks.classExtendsExpression.tap("InnerGraphPlugin",(t,n)=>{if(!i.isEnabled(e.state))return;if(e.scope.topLevelScope===true){const s=u.get(n);if(s&&e.isPure(t,n.id?n.id.range[1]:n.range[0])){i.setTopLevelSymbol(e.state,s);r(t)}}});e.hooks.classBodyElement.tap("InnerGraphPlugin",(t,n)=>{if(!i.isEnabled(e.state))return;if(e.scope.topLevelScope===true){const s=u.get(n);if(s){if(t.type==="MethodDefinition"){i.setTopLevelSymbol(e.state,s)}else if(t.type==="ClassProperty"&&!t.static){i.setTopLevelSymbol(e.state,s)}else{i.setTopLevelSymbol(e.state,undefined)}}}});e.hooks.declarator.tap("InnerGraphPlugin",(t,n)=>{if(!i.isEnabled(e.state))return;const o=l.get(t);if(o){i.setTopLevelSymbol(e.state,o);if(d.has(t)){if(t.init.type==="ClassExpression"){if(t.init.superClass){r(t.init.superClass)}}else{i.onUsage(e.state,n=>{switch(n){case undefined:case true:return;default:{const i=new s(t.init.range);i.loc=t.loc;i.usedByExports=n;e.state.module.addDependency(i);break}}})}}e.walkExpression(t.init);i.setTopLevelSymbol(e.state,undefined);return true}});e.hooks.expression.for(o).tap("InnerGraphPlugin",()=>{const t=e.currentTagData;const n=i.getTopLevelSymbol(e.state);i.addUsage(e.state,t,n||true)});e.hooks.assign.for(o).tap("InnerGraphPlugin",t=>{if(!i.isEnabled(e.state))return;if(t.operator==="=")return true})};t.hooks.parser.for("javascript/auto").tap("InnerGraphPlugin",r);t.hooks.parser.for("javascript/esm").tap("InnerGraphPlugin",r);e.hooks.finishModules.tap("InnerGraphPlugin",()=>{n.timeAggregateEnd("infer dependency usage")})})}}e.exports=InnerGraphPlugin},83608:(e,t,n)=>{"use strict";const{validate:s}=n(33225);const i=n(58898);const{STAGE_ADVANCED:o}=n(80057);const r=n(48424);const{compareChunks:a}=n(29579);const c=(e,t,n)=>{const s=e.get(t);if(s===undefined){e.set(t,new Set([n]))}else{s.add(n)}};class LimitChunkCountPlugin{constructor(e){s(i,e,{name:"Limit Chunk Count Plugin",baseDataPath:"options"});this.options=e}apply(e){const t=this.options;e.hooks.compilation.tap("LimitChunkCountPlugin",e=>{e.hooks.optimizeChunks.tap({name:"LimitChunkCountPlugin",stage:o},n=>{const s=e.chunkGraph;const i=t.maxChunks;if(!i)return;if(i<1)return;if(e.chunks.size<=i)return;let o=e.chunks.size-i;const u=a(s);const l=Array.from(n).sort(u);const d=new r(e=>e.sizeDiff,(e,t)=>t-e,e=>e.integratedSize,(e,t)=>e-t,e=>e.bIdx-e.aIdx,(e,t)=>e-t,(e,t)=>e.bIdx-t.bIdx);const p=new Map;l.forEach((e,n)=>{for(let i=0;i0){const e=new Set(i.groupsIterable);for(const t of r.groupsIterable){e.add(t)}for(const t of e){for(const e of h){if(e!==i&&e!==r&&e.isInGroup(t)){o--;if(o<=0)break e;h.add(i);h.add(r);continue e}}for(const n of t.parentsIterable){e.add(n)}}}if(i.integrate(r,"limit")){e.chunks.delete(r);h.add(i);f=true;o--;if(o<=0)break;for(const e of p.get(i)){if(e.deleted)continue;e.deleted=true;d.delete(e)}for(const e of p.get(r)){if(e.deleted)continue;if(e.a===r){if(!s.canChunksBeIntegrated(i,e.b)){e.deleted=true;d.delete(e);continue}const n=i.integratedSize(e.b,t);const o=d.startUpdate(e);e.a=i;e.integratedSize=n;e.aSize=a;e.sizeDiff=e.bSize+a-n;o()}else if(e.b===r){if(!s.canChunksBeIntegrated(e.a,i)){e.deleted=true;d.delete(e);continue}const n=e.a.integratedSize(i,t);const o=d.startUpdate(e);e.b=i;e.integratedSize=n;e.bSize=a;e.sizeDiff=a+e.aSize-n;o()}}p.set(i,p.get(r));p.delete(r)}}if(f)return true})})}}e.exports=LimitChunkCountPlugin},27868:(e,t,n)=>{"use strict";const{UsageState:s}=n(63686);const{numberToIdentifier:i,NUMBER_OF_IDENTIFIER_START_CHARS:o,NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS:r}=n(1626);const{assignDeterministicIds:a}=n(63290);const{compareSelect:c,compareStringsNumeric:u}=n(29579);const l=e=>{if(e.otherExportsInfo.getUsed(undefined)!==s.Unused)return false;let t=false;for(const n of e.exports){if(n.canMangle===true){t=true}}return t};const d=c(e=>e.name,u);const p=(e,t)=>{if(!l(t))return;const n=new Set;const c=[];for(const i of t.ownedExports){const t=i.name;if(!i.hasUsedName()){if(i.canMangle!==true||t.length===1&&/^[a-zA-Z0-9_$]/.test(t)||e&&t.length===2&&/^[a-zA-Z_$][a-zA-Z0-9_$]|^[1-9][0-9]/.test(t)||i.provided!==true){i.setUsedName(t);n.add(t)}else{c.push(i)}}if(i.exportsInfoOwned){const t=i.getUsed(undefined);if(t===s.OnlyPropertiesUsed||t===s.Unused){p(e,i.exportsInfo)}}}if(e){a(c,e=>e.name,d,(e,t)=>{const s=i(t);const o=n.size;n.add(s);if(o===n.size)return false;e.setUsedName(s);return true},[o,o*r],r,n.size)}else{const e=[];const t=[];for(const n of c){if(n.getUsed(undefined)===s.Unused){t.push(n)}else{e.push(n)}}e.sort(d);t.sort(d);let o=0;for(const s of[e,t]){for(const e of s){let t;do{t=i(o++)}while(n.has(t));e.setUsedName(t)}}}};class MangleExportsPlugin{constructor(e){this._deterministic=e}apply(e){const{_deterministic:t}=this;e.hooks.compilation.tap("MangleExportsPlugin",e=>{const n=e.moduleGraph;e.hooks.optimizeCodeGeneration.tap("MangleExportsPlugin",e=>{for(const s of e){const e=n.getExportsInfo(s);p(t,e)}})})}}e.exports=MangleExportsPlugin},85067:(e,t,n)=>{"use strict";const{STAGE_BASIC:s}=n(80057);const{runtimeEqual:i}=n(17156);class MergeDuplicateChunksPlugin{apply(e){e.hooks.compilation.tap("MergeDuplicateChunksPlugin",e=>{e.hooks.optimizeChunks.tap({name:"MergeDuplicateChunksPlugin",stage:s},t=>{const{chunkGraph:n,moduleGraph:s}=e;const o=new Set;for(const r of t){let t;for(const e of n.getChunkModulesIterable(r)){if(t===undefined){for(const s of n.getModuleChunksIterable(e)){if(s!==r&&n.getNumberOfChunkModules(r)===n.getNumberOfChunkModules(s)&&!o.has(s)){if(t===undefined){t=new Set}t.add(s)}}if(t===undefined)break}else{for(const s of t){if(!n.isModuleInChunk(e,s)){t.delete(s)}}if(t.size===0)break}}if(t!==undefined&&t.size>0){e:for(const o of t){if(o.hasRuntime()!==r.hasRuntime())continue;if(n.getNumberOfEntryModules(r)>0)continue;if(n.getNumberOfEntryModules(o)>0)continue;if(!i(r.runtime,o.runtime)){for(const e of n.getChunkModulesIterable(r)){const t=s.getExportsInfo(e);if(!t.isEquallyUsed(r.runtime,o.runtime)){continue e}}}if(n.canChunksBeIntegrated(r,o)){n.integrateChunks(r,o);e.chunks.delete(o)}}}o.add(r)}})})}}e.exports=MergeDuplicateChunksPlugin},53912:(e,t,n)=>{"use strict";const{validate:s}=n(33225);const i=n(66480);const{STAGE_ADVANCED:o}=n(80057);class MinChunkSizePlugin{constructor(e){s(i,e,{name:"Min Chunk Size Plugin",baseDataPath:"options"});this.options=e}apply(e){const t=this.options;const n=t.minChunkSize;e.hooks.compilation.tap("MinChunkSizePlugin",e=>{e.hooks.optimizeChunks.tap({name:"MinChunkSizePlugin",stage:o},s=>{const i=e.chunkGraph;const o={chunkOverhead:1,entryChunkMultiplicator:1};const r=new Map;const a=[];const c=[];const u=[];for(const e of s){if(i.getChunkSize(e,o){const n=r.get(e[0]);const s=r.get(e[1]);const o=i.getIntegratedChunksSize(e[0],e[1],t);const a=[n+s-o,o,e[0],e[1]];return a}).sort((e,t)=>{const n=t[0]-e[0];if(n!==0)return n;return e[1]-t[1]});if(l.length===0)return;const d=l[0];i.integrateChunks(d[2],d[3]);e.chunks.delete(d[3]);return true})})}}e.exports=MinChunkSizePlugin},85305:(e,t,n)=>{"use strict";const s=n(71070);const i=n(53799);class MinMaxSizeWarning extends i{constructor(e,t,n){let i="Fallback cache group";if(e){i=e.length>1?`Cache groups ${e.sort().join(", ")}`:`Cache group ${e[0]}`}super(`SplitChunksPlugin\n`+`${i}\n`+`Configured minSize (${s.formatSize(t)}) is `+`bigger than maxSize (${s.formatSize(n)}).\n`+"This seem to be a invalid optimization.splitChunks configuration.")}}e.exports=MinMaxSizeWarning},74844:(e,t,n)=>{"use strict";const s=n(36386);const i=n(64971);const o=n(99988);const r=n(94560);const a=n(59001);const{STAGE_DEFAULT:c}=n(80057);const u=n(57154);const l=n(58845);const{compareModulesByIdentifier:d}=n(29579);const{intersectRuntime:p,mergeRuntimeOwned:h,filterRuntime:f,runtimeToString:m,mergeRuntime:g}=n(17156);const y=n(97198);const v=e=>{return"ModuleConcatenation bailout: "+e};class ModuleConcatenationPlugin{constructor(e){if(typeof e!=="object")e={};this.options=e}apply(e){e.hooks.compilation.tap("ModuleConcatenationPlugin",(t,{normalModuleFactory:n})=>{const l=t.moduleGraph;const d=new Map;const p=t.getCache("ModuleConcatenationPlugin");const m=(e,t)=>{g(e,t);l.getOptimizationBailout(e).push(typeof t==="function"?e=>v(t(e)):v(t))};const g=(e,t)=>{d.set(e,t)};const b=(e,t)=>{const n=d.get(e);if(typeof n==="function")return n(t);return n};const k=(e,t)=>n=>{if(typeof t==="function"){return v(`Cannot concat with ${e.readableIdentifier(n)}: ${t(n)}`)}const s=b(e,n);const i=s?`: ${s}`:"";if(e===t){return v(`Cannot concat with ${e.readableIdentifier(n)}${i}`)}else{return v(`Cannot concat with ${e.readableIdentifier(n)} because of ${t.readableIdentifier(n)}${i}`)}};t.hooks.optimizeChunkModules.tapAsync({name:"ModuleConcatenationPlugin",stage:c},(n,c,l)=>{const d=t.getLogger("ModuleConcatenationPlugin");const{chunkGraph:v,moduleGraph:b}=t;const w=[];const x=new Set;const C={chunkGraph:v,moduleGraph:b};d.time("select relevant modules");for(const e of c){let t=true;let n=true;const s=e.getConcatenationBailoutReason(C);if(s){m(e,s);continue}if(b.isAsync(e)){m(e,`Module is async`);continue}if(!e.buildInfo.strict){m(e,`Module is not in strict mode`);continue}if(v.getNumberOfModuleChunks(e)===0){m(e,"Module is not in any chunk");continue}const i=b.getExportsInfo(e);const o=i.getRelevantExports(undefined);const r=o.filter(e=>{return e.isReexport()&&!e.getTarget(b)});if(r.length>0){m(e,`Reexports in this module do not have a static target (${Array.from(r,e=>`${e.name||"other exports"}: ${e.getUsedInfo()}`).join(", ")})`);continue}const a=o.filter(e=>{return e.provided!==true});if(a.length>0){m(e,`List of module exports is dynamic (${Array.from(a,e=>`${e.name||"other exports"}: ${e.getProvidedInfo()} and ${e.getUsedInfo()}`).join(", ")})`);t=false}if(v.isEntryModule(e)){g(e,"Module is an entry point");n=false}if(t)w.push(e);if(n)x.add(e)}d.timeEnd("select relevant modules");d.debug(`${w.length} potential root modules, ${x.size} potential inner modules`);d.time("sort relevant modules");w.sort((e,t)=>{return b.getDepth(e)-b.getDepth(t)});d.timeEnd("sort relevant modules");d.time("find modules to concatenate");const M=[];const S=new Set;for(const e of w){if(S.has(e))continue;let n=undefined;for(const t of v.getModuleRuntimes(e)){n=h(n,t)}const s=b.getExportsInfo(e);const i=f(n,e=>s.isModuleUsed(e));const o=i===true?n:i===false?undefined:i;const r=new ConcatConfiguration(e,o);const a=new Map;const c=new Set;for(const n of this._getImports(t,e,o)){c.add(n)}for(const e of c){const s=r.snapshot();const i=new Set;const u=this._tryToAdd(t,r,e,n,o,x,i,a,v);if(u){a.set(e,u);r.addWarning(e,u);r.rollback(s)}else{for(const e of i){c.add(e)}}}if(!r.isEmpty()){M.push(r);for(const e of r.getModules()){if(e!==r.rootModule){S.add(e)}}}else{const t=b.getOptimizationBailout(e);for(const e of r.getWarningsSorted()){t.push(k(e[0],e[1]))}}}d.timeEnd("find modules to concatenate");d.debug(`${M.length} concat configurations`);d.time(`sort concat configurations`);M.sort((e,t)=>{return t.modules.size-e.modules.size});d.timeEnd(`sort concat configurations`);const O=new Set;d.time("create concatenated modules");s.each(M,(n,s)=>{const c=n.rootModule;if(O.has(c))return s();const l=n.getModules();for(const e of l){O.add(e)}let d=y.create(c,l,n.runtime,e.root);const h=p.getItemCache(d.identifier(),null);const f=()=>{h.get((e,t)=>{if(e){return s(new r(d,e))}if(t){t.updateCacheModule(d);d=t}m()})};const m=()=>{d.build(e.options,t,null,null,e=>{if(e){if(!e.module){e.module=d}return s(e)}g()})};const g=()=>{i.setChunkGraphForModule(d,v);o.setModuleGraphForModule(d,b);for(const e of n.getWarningsSorted()){b.getOptimizationBailout(d).push(k(e[0],e[1]))}b.cloneModuleAttributes(c,d);for(const e of l){if(t.builtModules.has(e)){t.builtModules.add(d)}if(e!==c){b.copyOutgoingModuleConnections(e,d,t=>{return t.originModule===e&&!(t.dependency instanceof u&&l.has(t.module))});for(const t of v.getModuleChunksIterable(c)){v.disconnectChunkAndModule(t,e)}}}t.modules.delete(c);v.replaceModule(c,d);b.moveModuleConnections(c,d,e=>{const t=e.module===c?e.originModule:e.module;const n=e.dependency instanceof u&&l.has(t);return!n});t.modules.add(d);h.store(d,e=>{if(e){return s(new a(d,e))}s()})};f()},e=>{d.timeEnd("create concatenated modules");process.nextTick(()=>l(e))})})})}_getImports(e,t,n){const s=e.moduleGraph;const i=new Set;for(const o of t.dependencies){if(!(o instanceof u))continue;const r=s.getConnection(o);if(!r||!r.module||!r.isTargetActive(n)){continue}const a=e.getDependencyReferencedExports(o,undefined);if(a.every(e=>Array.isArray(e)?e.length>0:e.name.length>0)||Array.isArray(s.getProvidedExports(t))){i.add(r.module)}}return i}_tryToAdd(e,t,n,s,i,o,r,a,c){const l=a.get(n);if(l){return l}if(t.has(n)){return null}if(!o.has(n)){a.set(n,n);return n}const y=Array.from(c.getModuleChunksIterable(t.rootModule)).filter(e=>!c.isModuleInChunk(n,e)).map(e=>e.name||"unnamed chunk(s)");if(y.length>0){const e=Array.from(new Set(y)).sort();const t=Array.from(new Set(Array.from(c.getModuleChunksIterable(n)).map(e=>e.name||"unnamed chunk(s)"))).sort();const s=s=>`Module ${n.readableIdentifier(s)} is not in the same chunk(s) (expected in chunk(s) ${e.join(", ")}, module is in chunk(s) ${t.join(", ")})`;a.set(n,s);return s}t.add(n);const v=e.moduleGraph;const b=Array.from(v.getIncomingConnections(n)).filter(e=>{if(!e.isActive(s))return false;if(!e.originModule)return true;if(c.getNumberOfModuleChunks(e.originModule)===0)return false;let t=undefined;for(const n of c.getModuleRuntimes(e.originModule)){t=h(t,n)}return p(s,t)});const k=b.filter(e=>!e.originModule||!e.dependency||!(e.dependency instanceof u));if(k.length>0){const e=e=>{const t=new Set(k.map(e=>e.originModule).filter(Boolean));const s=new Set(k.map(e=>e.explanation).filter(Boolean));const i=new Map(Array.from(t).map(e=>[e,new Set(k.filter(t=>t.originModule===e).map(e=>e.dependency.type).sort())]));const o=Array.from(t).map(t=>`${t.readableIdentifier(e)} (referenced with ${Array.from(i.get(t)).join(", ")})`).sort();const r=Array.from(s).sort();if(o.length>0&&r.length===0){return`Module ${n.readableIdentifier(e)} is referenced from these modules with unsupported syntax: ${o.join(", ")}`}else if(o.length===0&&r.length>0){return`Module ${n.readableIdentifier(e)} is referenced by: ${r.join(", ")}`}else if(o.length>0&&r.length>0){return`Module ${n.readableIdentifier(e)} is referenced from these modules with unsupported syntax: ${o.join(", ")} and by: ${r.join(", ")}`}else{return`Module ${n.readableIdentifier(e)} is referenced in a unsupported way`}};a.set(n,e);return e}const w=b.filter(e=>{for(const n of c.getModuleChunksIterable(t.rootModule)){if(!c.isModuleInChunk(e.originModule,n)){return true}}return false});if(w.length>0){const e=e=>{const t=new Set(w.map(e=>e.originModule));const s=Array.from(t).map(t=>t.readableIdentifier(e)).sort();return`Module ${n.readableIdentifier(e)} is referenced from different chunks by these modules: ${s.join(", ")}`};a.set(n,e);return e}if(s!==undefined&&typeof s!=="string"){const e=new Map;for(const t of b){const n=f(s,e=>{return t.isTargetActive(e)});if(n===false)continue;const i=e.get(t.originModule)||false;if(i===true)continue;if(i!==false&&n!==true){e.set(t.originModule,g(i,n))}else{e.set(t.originModule,n)}}const t=Array.from(e).filter(([,e])=>typeof e!=="boolean");if(t.length>0){const e=e=>{return`Module ${n.readableIdentifier(e)} is runtime-dependent referenced by these modules: ${Array.from(t,([t,n])=>`${t.readableIdentifier(e)} (expected runtime ${m(s)}, module is only referenced in ${m(n)})`).join(", ")}`};a.set(n,e);return e}}const x=Array.from(new Set(b.map(e=>e.originModule))).sort(d);for(const u of x){const l=this._tryToAdd(e,t,u,s,i,o,r,a,c);if(l){a.set(n,l);return l}}for(const t of this._getImports(e,n,s)){r.add(t)}return null}}class ConcatConfiguration{constructor(e,t){this.rootModule=e;this.runtime=t;this.modules=new l;this.modules.set(e,true);this.warnings=new l}add(e){this.modules.set(e,true)}has(e){return this.modules.has(e)}isEmpty(){return this.modules.size===1}addWarning(e,t){this.warnings.set(e,t)}getWarningsSorted(){return new Map(this.warnings.asPairArray().sort((e,t)=>{const n=e[0].identifier();const s=t[0].identifier();if(ns)return 1;return 0}))}getModules(){return this.modules.asSet()}snapshot(){const e=this.modules;this.modules=this.modules.createChild();return e}rollback(e){this.modules=e}}e.exports=ModuleConcatenationPlugin},46043:(e,t,n)=>{"use strict";const{SyncBailHook:s}=n(6967);const{RawSource:i,CachedSource:o,CompatSource:r}=n(84697);const a=n(85720);const c=n(53799);const{compareSelect:u,compareStrings:l}=n(29579);const d=n(49835);const p=new Set;const h=(e,t)=>{if(Array.isArray(e)){for(const n of e){t.add(n)}}else if(e){t.add(e)}};const f=e=>{return e.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&")};const m=new WeakMap;const g=e=>{if(e instanceof o){return e}const t=m.get(e);if(t!==undefined)return t;const n=new o(r.from(e));m.set(e,n);return n};const y=new WeakMap;class RealContentHashPlugin{static getCompilationHooks(e){if(!(e instanceof a)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let t=y.get(e);if(t===undefined){t={updateHash:new s(["content","oldHash"])};y.set(e,t)}return t}constructor({hashFunction:e,hashDigest:t}){this._hashFunction=e;this._hashDigest=t}apply(e){e.hooks.compilation.tap("RealContentHashPlugin",e=>{const t=e.getCache("RealContentHashPlugin|analyse");const n=e.getCache("RealContentHashPlugin|generate");const s=RealContentHashPlugin.getCompilationHooks(e);e.hooks.processAssets.tapPromise({name:"RealContentHashPlugin",stage:a.PROCESS_ASSETS_STAGE_OPTIMIZE_HASH},async()=>{const o=e.getAssets();const r=[];const a=new Map;for(const{source:e,info:t,name:n}of o){const s=g(e);const i=s.source();const o=new Set;h(t.contenthash,o);const c={name:n,info:t,source:s,newSource:undefined,newSourceWithoutOwn:undefined,content:i,ownHashes:undefined,contentComputePromise:undefined,contentComputeWithoutOwnPromise:undefined,referencedHashes:undefined,hashes:o};r.push(c);for(const e of o){const t=a.get(e);if(t===undefined){a.set(e,[c])}else{t.push(c)}}}if(a.size===0)return;const m=new RegExp(Array.from(a.keys(),f).join("|"),"g");await Promise.all(r.map(async e=>{const{name:n,source:s,content:i,hashes:o}=e;if(Buffer.isBuffer(i)){e.referencedHashes=p;e.ownHashes=p;return}const r=t.mergeEtags(t.getLazyHashedEtag(s),Array.from(o).join("|"));[e.referencedHashes,e.ownHashes]=await t.providePromise(n,r,()=>{const e=new Set;let t=new Set;const n=i.match(m);if(n){for(const s of n){if(o.has(s)){t.add(s);continue}e.add(s)}}return[e,t]})}));const y=t=>{const n=a.get(t);if(!n){const n=r.filter(e=>e.referencedHashes.has(t));const s=new c(`RealContentHashPlugin\nSome kind of unexpected caching problem occurred.\nAn asset was cached with a reference to another asset (${t}) that's not in the compilation anymore.\nEither the asset was incorrectly cached, or the referenced asset should also be restored from cache.\nReferenced by:\n${n.map(e=>{const n=new RegExp(`.{0,20}${f(t)}.{0,20}`).exec(e.content);return` - ${e.name}: ...${n?n[0]:"???"}...`}).join("\n")}`);e.errors.push(s);return undefined}const s=new Set;for(const{referencedHashes:e,ownHashes:i}of n){if(!i.has(t)){for(const e of i){s.add(e)}}for(const t of e){s.add(t)}}return s};const v=e=>{const t=a.get(e);return`${e} (${Array.from(t,e=>e.name)})`};const b=new Set;for(const e of a.keys()){const t=(e,n)=>{const s=y(e);if(!s)return;n.add(e);for(const e of s){if(b.has(e))continue;if(n.has(e)){throw new Error(`Circular hash dependency ${Array.from(n,v).join(" -> ")} -> ${v(e)}`)}t(e,n)}b.add(e);n.delete(e)};if(b.has(e))continue;t(e,new Set)}const k=new Map;const w=e=>n.mergeEtags(n.getLazyHashedEtag(e.source),Array.from(e.referencedHashes,e=>k.get(e)).join("|"));const x=e=>{if(e.contentComputePromise)return e.contentComputePromise;return e.contentComputePromise=(async()=>{if(e.ownHashes.size>0||Array.from(e.referencedHashes).some(e=>k.get(e)!==e)){const t=e.name;const s=w(e);e.newSource=await n.providePromise(t,s,()=>{const t=e.content.replace(m,e=>k.get(e));return new i(t)})}})()};const C=e=>{if(e.contentComputeWithoutOwnPromise)return e.contentComputeWithoutOwnPromise;return e.contentComputeWithoutOwnPromise=(async()=>{if(e.ownHashes.size>0||Array.from(e.referencedHashes).some(e=>k.get(e)!==e)){const t=e.name+"|without-own";const s=w(e);e.newSourceWithoutOwn=await n.providePromise(t,s,()=>{const t=e.content.replace(m,t=>{if(e.ownHashes.has(t)){return""}return k.get(t)});return new i(t)})}})()};const M=u(e=>e.name,l);for(const e of b){const t=a.get(e);t.sort(M);const n=d(this._hashFunction);await Promise.all(t.map(t=>t.ownHashes.has(e)?C(t):x(t)));const i=t.map(t=>{if(t.ownHashes.has(e)){return t.newSourceWithoutOwn?t.newSourceWithoutOwn.buffer():t.source.buffer()}else{return t.newSource?t.newSource.buffer():t.source.buffer()}});let o=s.updateHash.call(i,e);if(!o){for(const e of i){n.update(e)}const t=n.digest(this._hashDigest);o=t.slice(0,e.length)}k.set(e,o)}await Promise.all(r.map(async t=>{await x(t);const n=t.name.replace(m,e=>k.get(e));const s={};const i=t.info.contenthash;s.contenthash=Array.isArray(i)?i.map(e=>k.get(e)):k.get(i);if(t.newSource!==undefined){e.updateAsset(t.name,t.newSource,s)}else{e.updateAsset(t.name,t.source,s)}if(t.name!==n){e.renameAsset(t.name,n)}}))})})}}e.exports=RealContentHashPlugin},84760:(e,t,n)=>{"use strict";const{STAGE_BASIC:s,STAGE_ADVANCED:i}=n(80057);class RemoveEmptyChunksPlugin{apply(e){e.hooks.compilation.tap("RemoveEmptyChunksPlugin",e=>{const t=t=>{const n=e.chunkGraph;for(const s of t){if(n.getNumberOfChunkModules(s)===0&&!s.hasRuntime()&&n.getNumberOfEntryModules(s)===0){e.chunkGraph.disconnectChunk(s);e.chunks.delete(s)}}};e.hooks.optimizeChunks.tap({name:"RemoveEmptyChunksPlugin",stage:s},t);e.hooks.optimizeChunks.tap({name:"RemoveEmptyChunksPlugin",stage:i},t)})}}e.exports=RemoveEmptyChunksPlugin},7081:(e,t,n)=>{"use strict";const{STAGE_BASIC:s}=n(80057);const i=n(65930);const{intersect:o}=n(93347);class RemoveParentModulesPlugin{apply(e){e.hooks.compilation.tap("RemoveParentModulesPlugin",e=>{const t=(t,n)=>{const s=e.chunkGraph;const r=new i;const a=new WeakMap;for(const t of e.entrypoints.values()){a.set(t,new Set);for(const e of t.childrenIterable){r.enqueue(e)}}for(const t of e.asyncEntrypoints){a.set(t,new Set);for(const e of t.childrenIterable){r.enqueue(e)}}while(r.length>0){const e=r.dequeue();let t=a.get(e);let n=false;for(const i of e.parentsIterable){const o=a.get(i);if(o!==undefined){if(t===undefined){t=new Set(o);for(const e of i.chunks){for(const n of s.getChunkModulesIterable(e)){t.add(n)}}a.set(e,t);n=true}else{for(const e of t){if(!s.isModuleInChunkGroup(e,i)&&!o.has(e)){t.delete(e);n=true}}}}}if(n){for(const t of e.childrenIterable){r.enqueue(t)}}}for(const e of t){const t=Array.from(e.groupsIterable,e=>a.get(e));if(t.some(e=>e===undefined))continue;const n=t.length===1?t[0]:o(t);const i=s.getNumberOfChunkModules(e);const r=new Set;if(i{"use strict";class RuntimeChunkPlugin{constructor(e){this.options={name:e=>`runtime~${e.name}`,...e}}apply(e){e.hooks.thisCompilation.tap("RuntimeChunkPlugin",e=>{e.hooks.addEntry.tap("RuntimeChunkPlugin",(t,{name:n})=>{if(n===undefined)return;const s=e.entries.get(n);if(!s.options.runtime&&!s.options.dependOn){let e=this.options.name;if(typeof e==="function"){e=e({name:n})}s.options.runtime=e}})})}}e.exports=RuntimeChunkPlugin},84800:(e,t,n)=>{"use strict";const s=n(86140);const{STAGE_DEFAULT:i}=n(80057);const o=n(67157);const r=n(14077);const a=n(16734);const c=new WeakMap;const u=(e,t)=>{const n=t.get(e);if(n!==undefined)return n;if(!e.includes("/")){e=`**/${e}`}const i=s(e,{globstar:true,extended:true});const o=i.source;const r=new RegExp("^(\\./)?"+o.slice(1));t.set(e,r);return r};class SideEffectsFlagPlugin{constructor(e=true){this._analyseSource=e}apply(e){let t=c.get(e.root);if(t===undefined){t=new Map;c.set(e.root,t)}e.hooks.compilation.tap("SideEffectsFlagPlugin",(e,{normalModuleFactory:n})=>{const s=e.moduleGraph;n.hooks.module.tap("SideEffectsFlagPlugin",(e,n)=>{const s=n.resourceResolveData;if(s&&s.descriptionFileData&&s.relativePath){const n=s.descriptionFileData.sideEffects;if(n!==undefined){if(e.factoryMeta===undefined){e.factoryMeta={}}const i=SideEffectsFlagPlugin.moduleHasSideEffects(s.relativePath,n,t);e.factoryMeta.sideEffectFree=!i}}return e});n.hooks.module.tap("SideEffectsFlagPlugin",(e,t)=>{if(typeof t.settings.sideEffects==="boolean"){if(e.factoryMeta===undefined){e.factoryMeta={}}e.factoryMeta.sideEffectFree=!t.settings.sideEffects}return e});if(this._analyseSource){const e=e=>{let t;e.hooks.program.tap("SideEffectsFlagPlugin",()=>{t=undefined});e.hooks.statement.tap({name:"SideEffectsFlagPlugin",stage:-100},n=>{if(t)return;if(e.scope.topLevelScope!==true)return;switch(n.type){case"ExpressionStatement":if(!e.isPure(n.expression,n.range[0])){t=n}break;case"IfStatement":case"WhileStatement":case"DoWhileStatement":if(!e.isPure(n.test,n.range[0])){t=n}break;case"ForStatement":if(!e.isPure(n.init,n.range[0])||!e.isPure(n.test,n.init?n.init.range[1]:n.range[0])||!e.isPure(n.update,n.test?n.test.range[1]:n.init?n.init.range[1]:n.range[0])){t=n}break;case"SwitchStatement":if(!e.isPure(n.discriminant,n.range[0])){t=n}break;case"VariableDeclaration":case"ClassDeclaration":case"FunctionDeclaration":if(!e.isPure(n,n.range[0])){t=n}break;case"ExportNamedDeclaration":case"ExportDefaultDeclaration":if(!e.isPure(n.declaration,n.range[0])){t=n}break;case"LabeledStatement":case"BlockStatement":break;case"EmptyStatement":break;case"ExportAllDeclaration":case"ImportDeclaration":break;default:t=n;break}});e.hooks.finish.tap("SideEffectsFlagPlugin",()=>{if(t===undefined){e.state.module.buildMeta.sideEffectFree=true}else{const{loc:n,type:i}=t;s.getOptimizationBailout(e.state.module).push(()=>`Statement (${i}) with side effects in source code at ${a(n)}`)}})};for(const t of["javascript/auto","javascript/esm","javascript/dynamic"]){n.hooks.parser.for(t).tap("SideEffectsFlagPlugin",e)}}e.hooks.optimizeDependencies.tap({name:"SideEffectsFlagPlugin",stage:i},t=>{const n=e.getLogger("webpack.SideEffectsFlagPlugin");n.time("update dependencies");for(const e of t){if(e.getSideEffectsConnectionState(s)===false){const t=s.getExportsInfo(e);for(const n of s.getIncomingConnections(e)){const e=n.dependency;let i;if((i=e instanceof o)||e instanceof r&&!e.namespaceObjectAsContext){if(i&&e.name){const t=s.getExportInfo(n.originModule,e.name);t.moveTarget(s,({module:e})=>e.getSideEffectsConnectionState(s)===false)}const o=e.getIds(s);if(o.length>0){const n=t.getExportInfo(o[0]);const i=n.getTarget(s,({module:e})=>e.getSideEffectsConnectionState(s)===false);if(!i)continue;s.updateModule(e,i.module);s.addExplanation(e,"(skipped side-effect-free modules)");e.setIds(s,i.export?[...i.export,...o.slice(1)]:o.slice(1))}}}}}n.timeEnd("update dependencies")})})}static moduleHasSideEffects(e,t,n){switch(typeof t){case"undefined":return true;case"boolean":return t;case"string":return u(t,n).test(e);case"object":return t.some(t=>SideEffectsFlagPlugin.moduleHasSideEffects(e,t,n))}}}e.exports=SideEffectsFlagPlugin},21478:(e,t,n)=>{"use strict";const s=n(39385);const{STAGE_ADVANCED:i}=n(80057);const o=n(53799);const{requestToId:r}=n(63290);const{isSubset:a}=n(93347);const c=n(13098);const{compareModulesByIdentifier:u,compareIterables:l}=n(29579);const d=n(49835);const p=n(59836);const h=n(82186).contextify;const f=n(6157);const m=n(85305);const g=()=>{};const y=p;const v=new WeakMap;const b=(e,t)=>{const n=d(t.hashFunction).update(e).digest(t.hashDigest);return n.slice(0,8)};const k=e=>{let t=0;for(const n of e.groupsIterable){t=Math.max(t,n.chunks.length)}return t};const w=(e,t)=>{const n=Object.create(null);for(const s of Object.keys(e)){n[s]=t(e[s],s)}return n};const x=(e,t)=>{for(const n of e){if(t.has(n))return true}return false};const C=l(u);const M=(e,t)=>{const n=e.cacheGroup.priority-t.cacheGroup.priority;if(n)return n;const s=e.chunks.size-t.chunks.size;if(s)return s;const i=q(e.sizes)*(e.chunks.size-1);const o=q(t.sizes)*(t.chunks.size-1);const r=i-o;if(r)return r;const a=e.cacheGroupIndex-t.cacheGroupIndex;if(a)return a;const c=e.modules;const u=t.modules;const l=c.size-u.size;if(l)return l;c.sort();u.sort();return C(c,u)};const S=e=>e.canBeInitial();const O=e=>!e.canBeInitial();const T=e=>true;const P=(e,t)=>{if(typeof e==="number"){const n={};for(const s of t)n[s]=e;return n}else if(typeof e==="object"&&e!==null){return{...e}}else{return{}}};const $=(...e)=>{let t={};for(let n=e.length-1;n>=0;n--){t=Object.assign(t,e[n])}return t};const F=e=>{for(const t of Object.keys(e)){if(e[t]>0)return true}return false};const j=(e,t,n)=>{const s=new Set(Object.keys(e));const i=new Set(Object.keys(t));const o={};for(const r of s){if(i.has(r)){o[r]=n(e[r],t[r])}else{o[r]=e[r]}}for(const e of i){if(!s.has(e)){o[e]=t[e]}}return o};const _=(e,t)=>{for(const n of Object.keys(t)){const s=e[n];if(s===undefined||s===0)continue;if(s{let n;for(const s of Object.keys(t)){const i=e[s];if(i===undefined||i===0)continue;if(i{let t=0;for(const n of Object.keys(e)){t+=e[n]}return t};const W=e=>{if(typeof e==="string"){return()=>e}if(typeof e==="function"){return e}};const A=e=>{if(e==="initial"){return S}if(e==="async"){return O}if(e==="all"){return T}if(typeof e==="function"){return e}};const G=(e,t)=>{if(typeof e==="function"){return e}if(typeof e==="object"&&e!==null){const n=[];for(const s of Object.keys(e)){const i=e[s];if(i===false){continue}if(typeof i==="string"||i instanceof RegExp){const e=J({},s,t);n.push((t,n,s)=>{if(B(i,t,n)){s.push(e)}})}else if(typeof i==="function"){const e=new WeakMap;n.push((n,o,r)=>{const a=i(n);if(a){const n=Array.isArray(a)?a:[a];for(const i of n){const n=e.get(i);if(n!==undefined){r.push(n)}else{const n=J(i,s,t);e.set(i,n);r.push(n)}}}})}else{const e=J(i,s,t);n.push((t,n,s)=>{if(B(i.test,t,n)&&R(i.type,t)){s.push(e)}})}}const s=(e,t)=>{let s=[];for(const i of n){i(e,t,s)}return s};return s}return()=>null};const B=(e,t,n)=>{if(e===undefined)return true;if(typeof e==="function"){return e(t,n)}if(typeof e==="boolean")return e;if(typeof e==="string"){const n=t.nameForCondition();return n&&n.startsWith(e)}if(e instanceof RegExp){const n=t.nameForCondition();return n&&e.test(n)}return false};const R=(e,t)=>{if(e===undefined)return true;if(typeof e==="function"){return e(t.type)}if(typeof e==="string"){const n=t.type;return e===n}if(e instanceof RegExp){const n=t.type;return e.test(n)}return false};const J=(e,t,n)=>{const s=P(e.minSize,n);const i=P(e.maxSize,n);return{key:t,priority:e.priority,getName:W(e.name),chunksFilter:A(e.chunks),enforce:e.enforce,minSize:s,minRemainingSize:$(P(e.minRemainingSize,n),s),enforceSizeThreshold:P(e.enforceSizeThreshold,n),maxAsyncSize:$(P(e.maxAsyncSize,n),i),maxInitialSize:$(P(e.maxInitialSize,n),i),minChunks:e.minChunks,maxAsyncRequests:e.maxAsyncRequests,maxInitialRequests:e.maxInitialRequests,filename:e.filename,idHint:e.idHint,automaticNameDelimiter:e.automaticNameDelimiter,reuseExistingChunk:e.reuseExistingChunk,usedExports:e.usedExports}};e.exports=class SplitChunksPlugin{constructor(e={}){const t=e.defaultSizeTypes||["javascript","unknown"];const n=e.fallbackCacheGroup||{};const s=P(e.minSize,t);const i=P(e.maxSize,t);this.options={chunksFilter:A(e.chunks||"all"),defaultSizeTypes:t,minSize:s,minRemainingSize:$(P(e.minRemainingSize,t),s),enforceSizeThreshold:P(e.enforceSizeThreshold,t),maxAsyncSize:$(P(e.maxAsyncSize,t),i),maxInitialSize:$(P(e.maxInitialSize,t),i),minChunks:e.minChunks||1,maxAsyncRequests:e.maxAsyncRequests||1,maxInitialRequests:e.maxInitialRequests||1,hidePathInfo:e.hidePathInfo||false,filename:e.filename||undefined,getCacheGroups:G(e.cacheGroups,t),getName:e.name?W(e.name):g,automaticNameDelimiter:e.automaticNameDelimiter,usedExports:e.usedExports,fallbackCacheGroup:{minSize:$(P(n.minSize,t),s),maxAsyncSize:$(P(n.maxAsyncSize,t),P(n.maxSize,t),P(e.maxAsyncSize,t),P(e.maxSize,t)),maxInitialSize:$(P(n.maxInitialSize,t),P(n.maxSize,t),P(e.maxInitialSize,t),P(e.maxSize,t)),automaticNameDelimiter:n.automaticNameDelimiter||e.automaticNameDelimiter||"~"}};this._cacheGroupCache=new WeakMap}_getCacheGroup(e){const t=this._cacheGroupCache.get(e);if(t!==undefined)return t;const n=$(e.minSize,e.enforce?undefined:this.options.minSize);const s=$(e.minRemainingSize,e.enforce?undefined:this.options.minRemainingSize);const i=$(e.enforceSizeThreshold,e.enforce?undefined:this.options.enforceSizeThreshold);const o={key:e.key,priority:e.priority||0,chunksFilter:e.chunksFilter||this.options.chunksFilter,minSize:n,minRemainingSize:s,enforceSizeThreshold:i,maxAsyncSize:$(e.maxAsyncSize,e.enforce?undefined:this.options.maxAsyncSize),maxInitialSize:$(e.maxInitialSize,e.enforce?undefined:this.options.maxInitialSize),minChunks:e.minChunks!==undefined?e.minChunks:e.enforce?1:this.options.minChunks,maxAsyncRequests:e.maxAsyncRequests!==undefined?e.maxAsyncRequests:e.enforce?Infinity:this.options.maxAsyncRequests,maxInitialRequests:e.maxInitialRequests!==undefined?e.maxInitialRequests:e.enforce?Infinity:this.options.maxInitialRequests,getName:e.getName!==undefined?e.getName:this.options.getName,usedExports:e.usedExports!==undefined?e.usedExports:this.options.usedExports,filename:e.filename!==undefined?e.filename:this.options.filename,automaticNameDelimiter:e.automaticNameDelimiter!==undefined?e.automaticNameDelimiter:this.options.automaticNameDelimiter,idHint:e.idHint!==undefined?e.idHint:e.key,reuseExistingChunk:e.reuseExistingChunk||false,_validateSize:F(n),_validateRemainingSize:F(s),_minSizeForMaxSize:$(e.minSize,this.options.minSize),_conditionalEnforce:F(i)};this._cacheGroupCache.set(e,o);return o}apply(e){const t=h.bindContextCache(e.context,e.root);e.hooks.thisCompilation.tap("SplitChunksPlugin",e=>{const n=e.getLogger("webpack.SplitChunksPlugin");let l=false;e.hooks.unseal.tap("SplitChunksPlugin",()=>{l=false});e.hooks.optimizeChunks.tap({name:"SplitChunksPlugin",stage:i},i=>{if(l)return;l=true;n.time("prepare");const d=e.chunkGraph;const p=e.moduleGraph;const h=new Map;const g=BigInt("0");const C=BigInt("1");let S=C;for(const e of i){h.set(e,S);S=S<{const t=e[Symbol.iterator]();let n=t.next();if(n.done)return g;const s=n.value;n=t.next();if(n.done)return s;let i=h.get(s)|h.get(n.value);while(!(n=t.next()).done){i=i|h.get(n.value)}return i};const T=e=>{if(typeof e==="bigint")return e.toString(16);return h.get(e).toString(16)};const P=f(()=>{const t=new Map;const n=new Set;for(const s of e.modules){const e=d.getModuleChunksIterable(s);const i=O(e);if(typeof i==="bigint"){if(!t.has(i)){t.set(i,new Set(e))}}else{n.add(i)}}return{chunkSetsInGraph:t,singleChunkSets:n}});const $=e=>{const t=p.getExportsInfo(e);const n=new Map;for(const s of d.getModuleChunksIterable(e)){const e=t.getUsageKey(s.runtime);const i=n.get(e);if(i!==undefined){i.push(s)}else{n.set(e,[s])}}return n.values()};const F=new Map;const q=f(()=>{const t=new Map;const n=new Set;for(const s of e.modules){const e=Array.from($(s));F.set(s,e);for(const s of e){if(s.length===1){n.add(s[0])}else{const e=O(s);if(!t.has(e)){t.set(e,new Set(s))}}}}return{chunkSetsInGraph:t,singleChunkSets:n}});const W=e=>{const t=new Map;for(const n of e){const e=n.size;let s=t.get(e);if(s===undefined){s=[];t.set(e,s)}s.push(n)}return t};const A=f(()=>W(P().chunkSetsInGraph.values()));const G=f(()=>W(q().chunkSetsInGraph.values()));const B=(e,t,n)=>{const i=new Map;return o=>{const r=i.get(o);if(r!==undefined)return r;if(o instanceof s){const e=[o];i.set(o,e);return e}const c=e.get(o);const u=[c];for(const[e,t]of n){if(e{const{chunkSetsInGraph:e,singleChunkSets:t}=P();return B(e,t,A())});const J=e=>R()(e);const V=f(()=>{const{chunkSetsInGraph:e,singleChunkSets:t}=q();return B(e,t,G())});const I=e=>V()(e);const D=new WeakMap;const K=(e,t)=>{let n=D.get(e);if(n===undefined){n=new WeakMap;D.set(e,n)}let i=n.get(t);if(i===undefined){const o=[];if(e instanceof s){if(t(e))o.push(e)}else{for(const n of e){if(t(n))o.push(n)}}i={chunks:o,key:O(o)};n.set(t,i)}return i};const X=new Map;const N=new Set;const L=new Map;const Q=(t,n,s,i,r)=>{if(s.length{const e=d.getModuleChunksIterable(t);const n=O(e);return J(n)});const i=f(()=>{q();const e=new Set;const n=F.get(t);for(const t of n){const n=O(t);for(const t of I(n))e.add(t)}return e});let o=0;for(const r of e){const e=this._getCacheGroup(r);const a=e.usedExports?i():n();for(const n of a){const i=n instanceof s?1:n.size;if(i{for(const n of e.modules){const s=n.getSourceTypes();if(t.some(e=>s.has(e))){e.modules.delete(n);for(const t of s){e.sizes[t]-=n.size(t)}}}};const U=e=>{if(!e.cacheGroup._validateSize)return false;const t=z(e.sizes,e.cacheGroup.minSize);if(t===undefined)return false;H(e,t);return e.modules.size===0};for(const[e,t]of L){if(U(t)){L.delete(e)}}const E=new Map;while(L.size>0){let t;let n;for(const e of L){const s=e[0];const i=e[1];if(n===undefined||M(n,i)<0){n=i;t=s}}const s=n;L.delete(t);let i=s.name;let o;let r=false;let a=false;if(i){const t=e.namedChunks.get(i);if(t!==undefined){o=t;const e=s.chunks.size;s.chunks.delete(o);r=s.chunks.size!==e}}else if(s.cacheGroup.reuseExistingChunk){e:for(const e of s.chunks){if(d.getNumberOfChunkModules(e)!==s.modules.size){continue}if(d.getNumberOfEntryModules(e)>0){continue}for(const t of s.modules){if(!d.isModuleInChunk(t,e)){continue e}}if(!o||!o.name){o=e}else if(e.name&&e.name.length=t){u.delete(e)}}}e:for(const e of u){for(const t of s.modules){if(d.isModuleInChunk(t,e))continue e}u.delete(e)}if(u.size=s.cacheGroup.minChunks){const e=Array.from(u);for(const t of s.modules){Q(s.cacheGroup,s.cacheGroupIndex,e,O(u),t)}}continue}if(!c&&s.cacheGroup._validateRemainingSize&&u.size===1){const[e]=u;let n=Object.create(null);for(const t of d.getChunkModulesIterable(e)){if(!s.modules.has(t)){for(const e of t.getSourceTypes()){n[e]=(n[e]||0)+t.size(e)}}}const i=z(n,s.cacheGroup.minRemainingSize);if(i!==undefined){const e=s.modules.size;H(s,i);if(s.modules.size>0&&s.modules.size!==e){L.set(t,s)}continue}}if(o===undefined){o=e.addChunk(i)}for(const e of u){e.split(o)}o.chunkReason=(o.chunkReason?o.chunkReason+", ":"")+(a?"reused as split chunk":"split chunk");if(s.cacheGroup.key){o.chunkReason+=` (cache group: ${s.cacheGroup.key})`}if(i){o.chunkReason+=` (name: ${i})`}if(s.cacheGroup.filename){o.filenameTemplate=s.cacheGroup.filename}if(s.cacheGroup.idHint){o.idNameHints.add(s.cacheGroup.idHint)}if(!a){for(const t of s.modules){if(!t.chunkCondition(o,e))continue;d.connectChunkAndModule(o,t);for(const e of u){d.disconnectChunkAndModule(e,t)}}}else{for(const e of s.modules){for(const t of u){d.disconnectChunkAndModule(t,e)}}}if(Object.keys(s.cacheGroup.maxAsyncSize).length>0||Object.keys(s.cacheGroup.maxInitialSize).length>0){const e=E.get(o);E.set(o,{minSize:e?j(e.minSize,s.cacheGroup._minSizeForMaxSize,Math.max):s.cacheGroup.minSize,maxAsyncSize:e?j(e.maxAsyncSize,s.cacheGroup.maxAsyncSize,Math.min):s.cacheGroup.maxAsyncSize,maxInitialSize:e?j(e.maxInitialSize,s.cacheGroup.maxInitialSize,Math.min):s.cacheGroup.maxInitialSize,automaticNameDelimiter:s.cacheGroup.automaticNameDelimiter,keys:e?e.keys.concat(s.cacheGroup.key):[s.cacheGroup.key]})}for(const[e,t]of L){if(x(t.chunks,u)){let n=false;for(const e of s.modules){if(t.modules.has(e)){t.modules.delete(e);for(const n of e.getSourceTypes()){t.sizes[n]-=e.size(n)}n=true}}if(n){if(t.modules.size===0){L.delete(e);continue}if(U(t)){L.delete(e);continue}}}}}n.timeEnd("queue");n.time("maxSize");const Z=new Set;const{outputOptions:ee}=e;for(const n of Array.from(e.chunks)){const s=E.get(n);const{minSize:i,maxAsyncSize:o,maxInitialSize:a,automaticNameDelimiter:c}=s||this.options.fallbackCacheGroup;let u;if(n.isOnlyInitial()){u=a}else if(n.canBeInitial()){u=j(o,a,Math.min)}else{u=o}if(Object.keys(u).length===0){continue}for(const t of Object.keys(u)){const n=u[t];const o=i[t];if(typeof o==="number"&&o>n){const t=s&&s.keys;const i=`${t&&t.join()} ${o} ${n}`;if(!Z.has(i)){Z.add(i);e.warnings.push(new m(t,o,n))}}}const l=y({minSize:i,maxSize:w(u,(e,t)=>{const n=i[t];return typeof n==="number"?Math.max(e,n):e}),items:d.getChunkModulesIterable(n),getKey(e){const n=v.get(e);if(n!==undefined)return n;const s=t(e.identifier());const i=e.nameForCondition&&e.nameForCondition();const o=i?t(i):s.replace(/^.*!|\?[^?!]*$/g,"");const a=o+c+b(s,ee);const u=r(a);v.set(e,u);return u},getSize(e){const t=Object.create(null);for(const n of e.getSourceTypes()){t[n]=e.size(n)}return t}});if(l.length<=1){continue}for(let t=0;t100){o=o.slice(0,100)+c+b(o,ee)}if(t!==l.length-1){const t=e.addChunk(o);n.split(t);t.chunkReason=n.chunkReason;for(const i of s.items){if(!i.chunkCondition(t,e)){continue}d.connectChunkAndModule(t,i);d.disconnectChunkAndModule(n,i)}}else{n.name=o}}}n.timeEnd("maxSize")})})}}},52149:(e,t,n)=>{"use strict";const{formatSize:s}=n(71070);const i=n(53799);e.exports=class AssetsOverSizeLimitWarning extends i{constructor(e,t){const n=e.map(e=>`\n ${e.name} (${s(e.size)})`).join("");super(`asset size limit: The following asset(s) exceed the recommended size limit (${s(t)}).\nThis can impact web performance.\nAssets: ${n}`);this.name="AssetsOverSizeLimitWarning";this.assets=e;Error.captureStackTrace(this,this.constructor)}}},84229:(e,t,n)=>{"use strict";const{formatSize:s}=n(71070);const i=n(53799);e.exports=class EntrypointsOverSizeLimitWarning extends i{constructor(e,t){const n=e.map(e=>`\n ${e.name} (${s(e.size)})\n${e.files.map(e=>` ${e}`).join("\n")}`).join("");super(`entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (${s(t)}). This can impact web performance.\nEntrypoints:${n}\n`);this.name="EntrypointsOverSizeLimitWarning";this.entrypoints=e;Error.captureStackTrace(this,this.constructor)}}},17791:(e,t,n)=>{"use strict";const s=n(53799);e.exports=class NoAsyncChunksWarning extends s{constructor(){super("webpack performance recommendations: \n"+"You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.\n"+"For more info visit https://webpack.js.org/guides/code-splitting/");this.name="NoAsyncChunksWarning";Error.captureStackTrace(this,this.constructor)}}},32557:(e,t,n)=>{"use strict";const{find:s}=n(93347);const i=n(52149);const o=n(84229);const r=n(17791);const a=new WeakSet;const c=(e,t,n)=>!n.development;e.exports=class SizeLimitsPlugin{constructor(e){this.hints=e.hints;this.maxAssetSize=e.maxAssetSize;this.maxEntrypointSize=e.maxEntrypointSize;this.assetFilter=e.assetFilter}static isOverSizeLimit(e){return a.has(e)}apply(e){const t=this.maxEntrypointSize;const n=this.maxAssetSize;const u=this.hints;const l=this.assetFilter||c;e.hooks.afterEmit.tap("SizeLimitsPlugin",e=>{const c=[];const d=t=>{let n=0;for(const s of t.getFiles()){const t=e.getAsset(s);if(t&&l(t.name,t.source,t.info)&&t.source){n+=t.info.size||t.source.size()}}return n};const p=[];for(const{name:t,source:s,info:i}of e.getAssets()){if(!l(t,s,i)||!s){continue}const e=i.size||s.size();if(e>n){p.push({name:t,size:e});a.add(s)}}const h=t=>{const n=e.getAsset(t);return n&&l(n.name,n.source,n.info)};const f=[];for(const[n,s]of e.entrypoints){const e=d(s);if(e>t){f.push({name:n,size:e,files:s.getFiles().filter(h)});a.add(s)}}if(u){if(p.length>0){c.push(new i(p,n))}if(f.length>0){c.push(new o(f,t))}if(c.length>0){const t=s(e.chunks,e=>!e.canBeInitial());if(!t){c.push(new r)}if(u==="error"){e.errors.push(...c)}else{e.warnings.push(...c)}}}})}}},95175:(e,t,n)=>{"use strict";const s=n(16963);const i=n(1626);class ChunkPrefetchFunctionRuntimeModule extends s{constructor(e,t,n){super(`chunk ${e} function`);this.childType=e;this.runtimeFunction=t;this.runtimeHandlers=n}generate(){const{runtimeFunction:e,runtimeHandlers:t}=this;const{runtimeTemplate:n}=this.compilation;return i.asString([`${t} = {};`,`${e} = ${n.basicFunction("chunkId",[`Object.keys(${t}).map(${n.basicFunction("key",`${t}[key](chunkId);`)});`])}`])}}e.exports=ChunkPrefetchFunctionRuntimeModule},33895:(e,t,n)=>{"use strict";const s=n(16475);const i=n(95175);const o=n(15294);const r=n(98441);class ChunkPrefetchPreloadPlugin{apply(e){e.hooks.compilation.tap("ChunkPrefetchPreloadPlugin",e=>{e.hooks.additionalChunkRuntimeRequirements.tap("ChunkPrefetchPreloadPlugin",(t,n)=>{const{chunkGraph:i}=e;if(i.getNumberOfEntryModules(t)===0)return;const r=t.getChildIdsByOrders(i);if(r.prefetch){n.add(s.prefetchChunk);n.add(s.startupOnlyAfter);e.addRuntimeModule(t,new o("prefetch",s.prefetchChunk,r.prefetch))}});e.hooks.additionalTreeRuntimeRequirements.tap("ChunkPrefetchPreloadPlugin",(t,n)=>{const{chunkGraph:i}=e;const o=t.getChildIdsByOrdersMap(i,false);if(o.prefetch){n.add(s.prefetchChunk);e.addRuntimeModule(t,new r("prefetch",s.prefetchChunk,o.prefetch,true))}if(o.preload){n.add(s.preloadChunk);e.addRuntimeModule(t,new r("preload",s.preloadChunk,o.preload,false))}});e.hooks.runtimeRequirementInTree.for(s.prefetchChunk).tap("ChunkPrefetchPreloadPlugin",(t,n)=>{e.addRuntimeModule(t,new i("prefetch",s.prefetchChunk,s.prefetchChunkHandlers));n.add(s.prefetchChunkHandlers)});e.hooks.runtimeRequirementInTree.for(s.preloadChunk).tap("ChunkPrefetchPreloadPlugin",(t,n)=>{e.addRuntimeModule(t,new i("preload",s.preloadChunk,s.preloadChunkHandlers));n.add(s.preloadChunkHandlers)})})}}e.exports=ChunkPrefetchPreloadPlugin},15294:(e,t,n)=>{"use strict";const s=n(16475);const i=n(16963);const o=n(1626);class ChunkPrefetchStartupRuntimeModule extends i{constructor(e,t,n){super(`startup ${e}`,i.STAGE_TRIGGER);this.childType=e;this.runtimeFunction=t;this.startupChunks=n}generate(){const{runtimeFunction:e,startupChunks:t}=this;const{runtimeTemplate:n}=this.compilation;return o.asString([`var startup = ${s.startup};`,`${s.startup} = ${n.basicFunction("",["var result = startup();",o.asString(t.length<3?t.map(t=>`${e}(${JSON.stringify(t)});`):`${JSON.stringify(t)}.map(${e});`),"return result;"])};`])}}e.exports=ChunkPrefetchStartupRuntimeModule},98441:(e,t,n)=>{"use strict";const s=n(16475);const i=n(16963);const o=n(1626);class ChunkPrefetchTriggerRuntimeModule extends i{constructor(e,t,n,s){super(`chunk ${e} trigger`,i.STAGE_TRIGGER);this.childType=e;this.runtimeFunction=t;this.chunkMap=n;this.afterChunkLoad=s}generate(){const{childType:e,runtimeFunction:t,chunkMap:n,afterChunkLoad:i}=this;const{runtimeTemplate:r}=this.compilation;const a=["var chunks = chunkToChildrenMap[chunkId];","for (var i = 0; Array.isArray(chunks) && i < chunks.length; i++) {",o.indent(`${t}(chunks[i]);`),"}"];return o.asString([n?o.asString([`var chunkToChildrenMap = ${JSON.stringify(n,null,"\t")};`,`${s.ensureChunkHandlers}.${e} = ${i?r.basicFunction("chunkId, promises",[`Promise.all(promises).then(${r.basicFunction("",a)});`]):r.basicFunction("chunkId",a)};`]):`// no chunks to automatically ${e} specified in graph`])}}e.exports=ChunkPrefetchTriggerRuntimeModule},30318:e=>{"use strict";class BasicEffectRulePlugin{constructor(e,t){this.ruleProperty=e;this.effectType=t||e}apply(e){e.hooks.rule.tap("BasicEffectRulePlugin",(e,t,n,s,i)=>{if(n.has(this.ruleProperty)){n.delete(this.ruleProperty);const e=t[this.ruleProperty];s.effects.push({type:this.effectType,value:e})}})}}e.exports=BasicEffectRulePlugin},94215:e=>{"use strict";class BasicMatcherRulePlugin{constructor(e,t,n){this.ruleProperty=e;this.dataProperty=t||e;this.invert=n||false}apply(e){e.hooks.rule.tap("BasicMatcherRulePlugin",(t,n,s,i)=>{if(s.has(this.ruleProperty)){s.delete(this.ruleProperty);const o=n[this.ruleProperty];const r=e.compileCondition(`${t}.${this.ruleProperty}`,o);const a=r.fn;i.conditions.push({property:this.dataProperty,matchWhenEmpty:this.invert?!r.matchWhenEmpty:r.matchWhenEmpty,fn:this.invert?e=>!a(e):a})}})}}e.exports=BasicMatcherRulePlugin},19749:e=>{"use strict";const t="descriptionData";class DescriptionDataMatcherRulePlugin{apply(e){e.hooks.rule.tap("DescriptionDataMatcherRulePlugin",(n,s,i,o)=>{if(i.has(t)){i.delete(t);const r=s[t];for(const s of Object.keys(r)){const i=s.split(".");const a=e.compileCondition(`${n}.${t}.${s}`,r[s]);o.conditions.push({property:["descriptionData",...i],matchWhenEmpty:a.matchWhenEmpty,fn:a.fn})}}})}}e.exports=DescriptionDataMatcherRulePlugin},83349:(e,t,n)=>{"use strict";const{SyncHook:s}=n(6967);class RuleSetCompiler{constructor(e){this.hooks=Object.freeze({rule:new s(["path","rule","unhandledProperties","compiledRule","references"])});if(e){for(const t of e){t.apply(this)}}}compile(e){const t=new Map;const n=this.compileRules("ruleSet",e,t);const s=(e,t,n)=>{for(const n of t.conditions){const t=n.property;if(Array.isArray(t)){let s=e;for(const e of t){if(s&&typeof s==="object"&&Object.prototype.hasOwnProperty.call(s,e)){s=s[e]}else{s=undefined;break}}if(s!==undefined){if(!n.fn(s))return false;continue}}else if(t in e){const s=e[t];if(s!==undefined){if(!n.fn(s))return false;continue}}if(!n.matchWhenEmpty){return false}}for(const s of t.effects){if(typeof s==="function"){const t=s(e);for(const e of t){n.push(e)}}else{n.push(s)}}if(t.rules){for(const i of t.rules){s(e,i,n)}}if(t.oneOf){for(const i of t.oneOf){if(s(e,i,n)){break}}}return true};return{references:t,exec:e=>{const t=[];for(const i of n){s(e,i,t)}return t}}}compileRules(e,t,n){return t.map((t,s)=>this.compileRule(`${e}[${s}]`,t,n))}compileRule(e,t,n){const s=new Set(Object.keys(t).filter(e=>t[e]!==undefined));const i={conditions:[],effects:[],rules:undefined,oneOf:undefined};this.hooks.rule.call(e,t,s,i,n);if(s.has("rules")){s.delete("rules");const o=t.rules;if(!Array.isArray(o))throw this.error(e,o,"Rule.rules must be an array of rules");i.rules=this.compileRules(`${e}.rules`,o,n)}if(s.has("oneOf")){s.delete("oneOf");const o=t.oneOf;if(!Array.isArray(o))throw this.error(e,o,"Rule.oneOf must be an array of rules");i.oneOf=this.compileRules(`${e}.oneOf`,o,n)}if(s.size>0){throw this.error(e,t,`Properties ${Array.from(s).join(", ")} are unknown`)}return i}compileCondition(e,t){if(!t){throw this.error(e,t,"Expected condition but got falsy value")}if(typeof t==="string"){return{matchWhenEmpty:t.length===0,fn:e=>e.startsWith(t)}}if(typeof t==="function"){try{return{matchWhenEmpty:t(""),fn:t}}catch(n){throw this.error(e,t,"Evaluation of condition function threw error")}}if(t instanceof RegExp){return{matchWhenEmpty:t.test(""),fn:e=>t.test(e)}}if(Array.isArray(t)){const n=t.map((t,n)=>this.compileCondition(`${e}[${n}]`,t));return this.combineConditionsOr(n)}if(typeof t!=="object"){throw this.error(e,t,`Unexpected ${typeof t} when condition was expected`)}const n=[];for(const s of Object.keys(t)){const i=t[s];switch(s){case"or":if(i){if(!Array.isArray(i)){throw this.error(`${e}.or`,t.and,"Expected array of conditions")}n.push(this.compileCondition(`${e}.or`,i))}break;case"and":if(i){if(!Array.isArray(i)){throw this.error(`${e}.and`,t.and,"Expected array of conditions")}let s=0;for(const t of i){n.push(this.compileCondition(`${e}.and[${s}]`,t));s++}}break;case"not":if(i){const t=this.compileCondition(`${e}.not`,i);const s=t.fn;n.push({matchWhenEmpty:!t.matchWhenEmpty,fn:e=>!s(e)})}break;default:throw this.error(`${e}.${s}`,t[s],`Unexpected property ${s} in condition`)}}if(n.length===0){throw this.error(e,t,"Expected condition, but got empty thing")}return this.combineConditionsAnd(n)}combineConditionsOr(e){if(e.length===0){return{matchWhenEmpty:false,fn:()=>false}}else if(e.length===1){return e[0]}else{return{matchWhenEmpty:e.some(e=>e.matchWhenEmpty),fn:t=>e.some(e=>e.fn(t))}}}combineConditionsAnd(e){if(e.length===0){return{matchWhenEmpty:false,fn:()=>false}}else if(e.length===1){return e[0]}else{return{matchWhenEmpty:e.every(e=>e.matchWhenEmpty),fn:t=>e.every(e=>e.fn(t))}}}error(e,t,n){return new Error(`Compiling RuleSet failed: ${n} (at ${e}: ${t})`)}}e.exports=RuleSetCompiler},84977:(e,t,n)=>{"use strict";const s=n(31669);class UseEffectRulePlugin{apply(e){e.hooks.rule.tap("UseEffectRulePlugin",(t,n,i,o,r)=>{const a=(s,o)=>{if(i.has(s)){throw e.error(`${t}.${s}`,n[s],`A Rule must not have a '${s}' property when it has a '${o}' property`)}};if(i.has("use")){i.delete("use");i.delete("enforce");a("loader","use");a("options","use");const e=n.use;const c=n.enforce;const u=c?`use-${c}`:"use";const l=(e,t,n)=>{if(typeof n==="function"){return t=>p(e,n(t))}else{return d(e,t,n)}};const d=(e,t,n)=>{if(typeof n==="string"){return{type:u,value:{loader:n,options:undefined,ident:undefined}}}else{const i=n.loader;const o=n.options;let a=n.ident;if(o&&typeof o==="object"){if(!a)a=t;r.set(a,o)}if(typeof o==="string"){s.deprecate(()=>{},`Using a string as loader options is deprecated (${e}.options)`,"DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING")()}return{type:c?`use-${c}`:"use",value:{loader:i,options:o,ident:a}}}};const p=(e,t)=>{if(Array.isArray(t)){return t.map((t,n)=>d(`${e}[${n}]`,"[[missing ident]]",t))}return[d(e,"[[missing ident]]",t)]};const h=(e,t)=>{if(Array.isArray(t)){return t.map((t,n)=>{const s=`${e}[${n}]`;return l(s,s,t)})}return[l(e,e,t)]};if(typeof e==="function"){o.effects.push(n=>p(`${t}.use`,e(n)))}else{for(const n of h(`${t}.use`,e)){o.effects.push(n)}}}if(i.has("loader")){i.delete("loader");i.delete("options");i.delete("enforce");const a=n.loader;const c=n.options;const u=n.enforce;if(a.includes("!")){throw e.error(`${t}.loader`,a,"Exclamation mark separated loader lists has been removed in favor of the 'use' property with arrays")}if(a.includes("?")){throw e.error(`${t}.loader`,a,"Query arguments on 'loader' has been removed in favor of the 'options' property")}if(typeof c==="string"){s.deprecate(()=>{},`Using a string as loader options is deprecated (${t}.options)`,"DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING")()}const l=c&&typeof c==="object"?t:undefined;r.set(l,c);o.effects.push({type:u?`use-${u}`:"use",value:{loader:a,options:c,ident:l}})}})}useItemToEffects(e,t){}}e.exports=UseEffectRulePlugin},66532:(e,t,n)=>{"use strict";const s=n(16475);const i=n(16963);const o=n(1626);const r=n(89464);const{getUndoPath:a}=n(82186);class AutoPublicPathRuntimeModule extends i{constructor(){super("publicPath",i.STAGE_BASIC)}generate(){const{compilation:e}=this;const{scriptType:t,importMetaName:n}=e.outputOptions;const i=e.getPath(r.getChunkFilenameTemplate(this.chunk,e.outputOptions),{chunk:this.chunk,contentHashType:"javascript"});const c=a(i,false);return o.asString(["var scriptUrl;",t==="module"?`if (typeof ${n}.url === "string") scriptUrl = ${n}.url`:o.asString([`if (${s.global}.importScripts) scriptUrl = ${s.global}.location + "";`,`var document = ${s.global}.document;`,"if (!scriptUrl && document) {",o.indent([`if (document.currentScript)`,o.indent(`scriptUrl = document.currentScript.src`),"if (!scriptUrl) {",o.indent(['var scripts = document.getElementsByTagName("script");',"if(scripts.length) scriptUrl = scripts[scripts.length - 1].src"]),"}"]),"}"]),"// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration",'// or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.','if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");','scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\\?.*$/, "").replace(/\\/[^\\/]+$/, "/");',!c?`${s.publicPath} = scriptUrl;`:`${s.publicPath} = scriptUrl + ${JSON.stringify(c)};`])}}e.exports=AutoPublicPathRuntimeModule},84519:(e,t,n)=>{"use strict";const s=n(16475);const i=n(16963);class ChunkNameRuntimeModule extends i{constructor(e){super("chunkName");this.chunkName=e}generate(){return`${s.chunkName} = ${JSON.stringify(this.chunkName)};`}}e.exports=ChunkNameRuntimeModule},44793:(e,t,n)=>{"use strict";const s=n(16475);const i=n(1626);const o=n(82444);class CompatGetDefaultExportRuntimeModule extends o{constructor(){super("compat get default export")}generate(){const{runtimeTemplate:e}=this.compilation;const t=s.compatGetDefaultExport;return i.asString(["// getDefaultExport function for compatibility with non-harmony modules",`${t} = ${e.basicFunction("module",["var getter = module && module.__esModule ?",i.indent([`${e.returningFunction("module['default']")} :`,`${e.returningFunction("module")};`]),`${s.definePropertyGetters}(getter, { a: getter });`,"return getter;"])};`])}}e.exports=CompatGetDefaultExportRuntimeModule},88234:(e,t,n)=>{"use strict";const s=n(16475);const i=n(16963);class CompatRuntimeModule extends i{constructor(){super("compat",i.STAGE_ATTACH);this.fullHash=true}generate(){const{chunk:e,compilation:t}=this;const{chunkGraph:n,runtimeTemplate:i,mainTemplate:o,moduleTemplates:r,dependencyTemplates:a}=t;const c=o.hooks.bootstrap.call("",e,t.hash||"XXXX",r.javascript,a);const u=o.hooks.localVars.call("",e,t.hash||"XXXX");const l=o.hooks.requireExtensions.call("",e,t.hash||"XXXX");const d=n.getTreeRuntimeRequirements(e);let p="";if(d.has(s.ensureChunk)){const n=o.hooks.requireEnsure.call("",e,t.hash||"XXXX","chunkId");if(n){p=`${s.ensureChunkHandlers}.compat = ${i.basicFunction("chunkId, promises",n)};`}}return[c,u,p,l].filter(Boolean).join("\n")}shouldIsolate(){return false}}e.exports=CompatRuntimeModule},94669:(e,t,n)=>{"use strict";const s=n(16475);const i=n(1626);const o=n(82444);class CreateFakeNamespaceObjectRuntimeModule extends o{constructor(){super("create fake namespace object")}generate(){const{runtimeTemplate:e}=this.compilation;const t=e.supportsArrowFunction()&&e.supportsConst();const n=s.createFakeNamespaceObject;return i.asString([`var getProto = Object.getPrototypeOf ? ${e.returningFunction("Object.getPrototypeOf(obj)","obj")} : ${e.returningFunction("obj.__proto__","obj")};`,"var leafPrototypes;","// create a fake namespace object","// mode & 1: value is a module id, require it","// mode & 2: merge all properties of value into the ns","// mode & 4: return value when already ns object","// mode & 16: return value when it's Promise-like","// mode & 8|1: behave like require",`${n} = function(value, mode) {`,i.indent([`if(mode & 1) value = this(value);`,`if(mode & 8) return value;`,"if(typeof value === 'object' && value) {",i.indent(["if((mode & 4) && value.__esModule) return value;","if((mode & 16) && typeof value.then === 'function') return value;"]),"}","var ns = Object.create(null);",`${s.makeNamespaceObject}(ns);`,"var def = {};","leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];","for(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {",i.indent([t?`Object.getOwnPropertyNames(current).forEach(key => def[key] = () => value[key]);`:`Object.getOwnPropertyNames(current).forEach(function(key) { def[key] = function() { return value[key]; }; });`]),"}",t?"def['default'] = () => value;":"def['default'] = function() { return value; };",`${s.definePropertyGetters}(ns, def);`,"return ns;"]),"};"])}}e.exports=CreateFakeNamespaceObjectRuntimeModule},75481:(e,t,n)=>{"use strict";const s=n(16475);const i=n(1626);const o=n(82444);class DefinePropertyGettersRuntimeModule extends o{constructor(){super("define property getters")}generate(){const{runtimeTemplate:e}=this.compilation;const t=s.definePropertyGetters;return i.asString(["// define getter functions for harmony exports",`${t} = ${e.basicFunction("exports, definition",[`for(var key in definition) {`,i.indent([`if(${s.hasOwnProperty}(definition, key) && !${s.hasOwnProperty}(exports, key)) {`,i.indent(["Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });"]),"}"]),"}"])};`])}}e.exports=DefinePropertyGettersRuntimeModule},71519:(e,t,n)=>{"use strict";const s=n(16475);const i=n(16963);const o=n(1626);class EnsureChunkRuntimeModule extends i{constructor(e){super("ensure chunk");this.runtimeRequirements=e}generate(){const{runtimeTemplate:e}=this.compilation;if(this.runtimeRequirements.has(s.ensureChunkHandlers)){const t=s.ensureChunkHandlers;return o.asString([`${t} = {};`,"// This file contains only the entry chunk.","// The chunk loading function for additional chunks",`${s.ensureChunk} = ${e.basicFunction("chunkId",[`return Promise.all(Object.keys(${t}).reduce(${e.basicFunction("promises, key",[`${t}[key](chunkId, promises);`,"return promises;"])}, []));`])};`])}else{return o.asString(["// The chunk loading function for additional chunks","// Since all referenced chunks are already included","// in this file, this function is empty here.",`${s.ensureChunk} = ${e.returningFunction("Promise.resolve()")};`])}}}e.exports=EnsureChunkRuntimeModule},34277:(e,t,n)=>{"use strict";const s=n(16475);const i=n(16963);const o=n(1626);class GetChunkFilenameRuntimeModule extends i{constructor(e,t,n,s,i){super(`get ${t} chunk filename`);this.contentType=e;this.global=n;this.getFilenameForChunk=s;this.allChunks=i}generate(){const{global:e,chunk:t,contentType:n,getFilenameForChunk:i,allChunks:r,compilation:a}=this;const{runtimeTemplate:c}=a;const u=new Map;let l=0;let d;const p=e=>{const t=i(e);if(t){let n=u.get(t);if(n===undefined){u.set(t,n=new Set)}n.add(e);if(typeof t==="string"){if(n.size{const i=t=>{const n=`${t}`;if(n.length>=5&&n===`${e.id}`){return'" + chunkId + "'}const s=JSON.stringify(n);return s.slice(1,s.length-1)};const o=e=>t=>i(`${e}`.slice(0,t));const r=typeof t==="function"?JSON.stringify(t({chunk:e,contentHashType:n})):JSON.stringify(t);const c=a.getPath(r,{hash:`" + ${s.getFullHash}() + "`,hashWithLength:e=>`" + ${s.getFullHash}().slice(0, ${e}) + "`,chunk:{id:i(e.id),hash:i(e.renderedHash),hashWithLength:o(e.renderedHash),name:i(e.name||e.id),contentHash:{[n]:i(e.contentHash[n])},contentHashWithLength:{[n]:o(e.contentHash[n])}},contentHashType:n});let u=f.get(c);if(u===undefined){f.set(c,u=new Set)}u.add(e.id)};for(const[e,t]of u){if(e!==d){for(const n of t)g(n,e)}else{for(const e of t)m.add(e)}}const y=e=>{const t={};let n=false;let s;let i=0;for(const o of m){const r=e(o);if(r===o.id){n=true}else{t[o.id]=r;s=o.id;i++}}if(i===0)return"chunkId";if(i===1){return n?`(chunkId === ${JSON.stringify(s)} ? ${JSON.stringify(t[s])} : chunkId)`:JSON.stringify(t[s])}return n?`(${JSON.stringify(t)}[chunkId] || chunkId)`:`${JSON.stringify(t)}[chunkId]`};const v=e=>{return`" + ${y(e)} + "`};const b=e=>t=>{return`" + ${y(n=>`${e(n)}`.slice(0,t))} + "`};const k=d&&a.getPath(JSON.stringify(d),{hash:`" + ${s.getFullHash}() + "`,hashWithLength:e=>`" + ${s.getFullHash}().slice(0, ${e}) + "`,chunk:{id:`" + chunkId + "`,hash:v(e=>e.renderedHash),hashWithLength:b(e=>e.renderedHash),name:v(e=>e.name||e.id),contentHash:{[n]:v(e=>e.contentHash[n])},contentHashWithLength:{[n]:b(e=>e.contentHash[n])}},contentHashType:n});return o.asString([`// This function allow to reference ${h.join(" and ")}`,`${e} = ${c.basicFunction("chunkId",f.size>0?["// return url for filenames not based on template",o.asString(Array.from(f,([e,t])=>{const n=t.size===1?`chunkId === ${JSON.stringify(t.values().next().value)}`:`{${Array.from(t,e=>`${JSON.stringify(e)}:1`).join(",")}}[chunkId]`;return`if (${n}) return ${e};`})),"// return url for filenames based on template",`return ${k};`]:["// return url for filenames based on template",`return ${k};`])};`])}}e.exports=GetChunkFilenameRuntimeModule},88732:(e,t,n)=>{"use strict";const s=n(16475);const i=n(16963);class GetFullHashRuntimeModule extends i{constructor(){super("getFullHash");this.fullHash=true}generate(){const{runtimeTemplate:e}=this.compilation;return`${s.getFullHash} = ${e.returningFunction(JSON.stringify(this.compilation.hash||"XXXX"))}`}}e.exports=GetFullHashRuntimeModule},10029:(e,t,n)=>{"use strict";const s=n(16475);const i=n(16963);const o=n(1626);class GetMainFilenameRuntimeModule extends i{constructor(e,t,n){super(`get ${e} filename`);this.global=t;this.filename=n}generate(){const{global:e,filename:t,compilation:n,chunk:i}=this;const{runtimeTemplate:r}=n;const a=n.getPath(JSON.stringify(t),{hash:`" + ${s.getFullHash}() + "`,hashWithLength:e=>`" + ${s.getFullHash}().slice(0, ${e}) + "`,chunk:i,runtime:i.runtime});return o.asString([`${e} = ${r.returningFunction(a)};`])}}e.exports=GetMainFilenameRuntimeModule},23255:(e,t,n)=>{"use strict";const s=n(16475);const i=n(16963);const o=n(1626);class GlobalRuntimeModule extends i{constructor(){super("global")}generate(){return o.asString([`${s.global} = (function() {`,o.indent(["if (typeof globalThis === 'object') return globalThis;","try {",o.indent("return this || new Function('return this')();"),"} catch (e) {",o.indent("if (typeof window === 'object') return window;"),"}"]),"})();"])}}e.exports=GlobalRuntimeModule},8011:(e,t,n)=>{"use strict";const s=n(16475);const i=n(16963);const o=n(1626);class HasOwnPropertyRuntimeModule extends i{constructor(){super("hasOwnProperty shorthand")}generate(){const{runtimeTemplate:e}=this.compilation;return o.asString([`${s.hasOwnProperty} = ${e.returningFunction("Object.prototype.hasOwnProperty.call(obj, prop)","obj, prop")}`])}}e.exports=HasOwnPropertyRuntimeModule},82444:(e,t,n)=>{"use strict";const s=n(16963);class HelperRuntimeModule extends s{constructor(e){super(e)}}e.exports=HelperRuntimeModule},19942:(e,t,n)=>{"use strict";const{SyncWaterfallHook:s}=n(6967);const i=n(85720);const o=n(16475);const r=n(1626);const a=n(82444);const c=new WeakMap;class LoadScriptRuntimeModule extends a{static getCompilationHooks(e){if(!(e instanceof i)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let t=c.get(e);if(t===undefined){t={createScript:new s(["source","chunk"])};c.set(e,t)}return t}constructor(){super("load script")}generate(){const{compilation:e}=this;const{runtimeTemplate:t,outputOptions:n}=e;const{scriptType:s,chunkLoadTimeout:i,crossOriginLoading:a,uniqueName:c,charset:u}=n;const l=o.loadScript;const{createScript:d}=LoadScriptRuntimeModule.getCompilationHooks(e);const p=r.asString(["script = document.createElement('script');",s?`script.type = ${JSON.stringify(s)};`:"",u?"script.charset = 'utf-8';":"",`script.timeout = ${i/1e3};`,`if (${o.scriptNonce}) {`,r.indent(`script.setAttribute("nonce", ${o.scriptNonce});`),"}",c?'script.setAttribute("data-webpack", dataWebpackPrefix + key);':"",`script.src = url;`,a?r.asString(["if (script.src.indexOf(window.location.origin + '/') !== 0) {",r.indent(`script.crossOrigin = ${JSON.stringify(a)};`),"}"]):""]);return r.asString(["var inProgress = {};",c?`var dataWebpackPrefix = ${JSON.stringify(c+":")};`:"// data-webpack is not used as build has no uniqueName","// loadScript function to load a script via script tag",`${l} = ${t.basicFunction("url, done, key",["if(inProgress[url]) { inProgress[url].push(done); return; }","var script, needAttach;","if(key !== undefined) {",r.indent(['var scripts = document.getElementsByTagName("script");',"for(var i = 0; i < scripts.length; i++) {",r.indent(["var s = scripts[i];",`if(s.getAttribute("src") == url${c?' || s.getAttribute("data-webpack") == dataWebpackPrefix + key':""}) { script = s; break; }`]),"}"]),"}","if(!script) {",r.indent(["needAttach = true;",d.call(p,this.chunk)]),"}","inProgress[url] = [done];","var onScriptComplete = "+t.basicFunction("prev, event",r.asString(["// avoid mem leaks in IE.","script.onerror = script.onload = null;","clearTimeout(timeout);","var doneFns = inProgress[url];","delete inProgress[url];","script.parentNode && script.parentNode.removeChild(script);",`doneFns && doneFns.forEach(${t.returningFunction("fn(event)","fn")});`,"if(prev) return prev(event);"])),";",`var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), ${i});`,"script.onerror = onScriptComplete.bind(null, script.onerror);","script.onload = onScriptComplete.bind(null, script.onload);","needAttach && document.head.appendChild(script);"])};`])}}e.exports=LoadScriptRuntimeModule},65714:(e,t,n)=>{"use strict";const s=n(16475);const i=n(1626);const o=n(82444);class MakeNamespaceObjectRuntimeModule extends o{constructor(){super("make namespace object")}generate(){const{runtimeTemplate:e}=this.compilation;const t=s.makeNamespaceObject;return i.asString(["// define __esModule on exports",`${t} = ${e.basicFunction("exports",["if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {",i.indent(["Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });"]),"}","Object.defineProperty(exports, '__esModule', { value: true });"])};`])}}e.exports=MakeNamespaceObjectRuntimeModule},56030:(e,t,n)=>{"use strict";const s=n(16475);const i=n(16963);class PublicPathRuntimeModule extends i{constructor(){super("publicPath",i.STAGE_BASIC)}generate(){const{compilation:e}=this;const{publicPath:t}=e.outputOptions;return`${s.publicPath} = ${JSON.stringify(this.compilation.getPath(t||"",{hash:this.compilation.hash||"XXXX"}))};`}}e.exports=PublicPathRuntimeModule},97115:(e,t,n)=>{"use strict";const s=n(16475);const i=n(16963);class RuntimeIdRuntimeModule extends i{constructor(){super("runtimeId")}generate(){const{chunk:e,compilation:t}=this;const{chunkGraph:n}=t;const i=e.runtime;if(typeof i!=="string")throw new Error("RuntimeIdRuntimeModule must be in a single runtime");const o=n.getRuntimeId(i);return`${s.runtimeId} = ${JSON.stringify(o)};`}}e.exports=RuntimeIdRuntimeModule},22339:(e,t,n)=>{"use strict";const s=n(16475);const i=n(38157);const o=n(97672);class StartupChunkDependenciesPlugin{constructor(e){this.chunkLoading=e.chunkLoading;this.asyncChunkLoading=typeof e.asyncChunkLoading==="boolean"?e.asyncChunkLoading:true}apply(e){e.hooks.thisCompilation.tap("StartupChunkDependenciesPlugin",e=>{const t=e.outputOptions.chunkLoading;const n=e=>{const n=e.getEntryOptions();const s=n&&n.chunkLoading||t;return s===this.chunkLoading};e.hooks.additionalTreeRuntimeRequirements.tap("StartupChunkDependenciesPlugin",(t,o)=>{if(!n(t))return;if(e.chunkGraph.hasChunkEntryDependentChunks(t)){o.add(s.startup);o.add(s.ensureChunk);o.add(s.ensureChunkIncludeEntries);e.addRuntimeModule(t,new i(this.asyncChunkLoading))}});e.hooks.runtimeRequirementInTree.for(s.startupEntrypoint).tap("StartupChunkDependenciesPlugin",(t,i)=>{if(!n(t))return;i.add(s.ensureChunk);i.add(s.ensureChunkIncludeEntries);e.addRuntimeModule(t,new o(this.asyncChunkLoading))})})}}e.exports=StartupChunkDependenciesPlugin},38157:(e,t,n)=>{"use strict";const s=n(16475);const i=n(16963);const o=n(1626);class StartupChunkDependenciesRuntimeModule extends i{constructor(e){super("startup chunk dependencies");this.asyncChunkLoading=e}generate(){const{chunk:e,compilation:t}=this;const{chunkGraph:n,runtimeTemplate:i}=t;const r=Array.from(n.getChunkEntryDependentChunksIterable(e)).map(e=>{return e.id});return o.asString([`var next = ${s.startup};`,`${s.startup} = ${i.basicFunction("",!this.asyncChunkLoading?r.map(e=>`${s.ensureChunk}(${JSON.stringify(e)});`).concat("return next();"):r.length===1?`return ${s.ensureChunk}(${JSON.stringify(r[0])}).then(next);`:r.length>2?[`return Promise.all(${JSON.stringify(r)}.map(${s.ensureChunk}, __webpack_require__)).then(next);`]:["return Promise.all([",o.indent(r.map(e=>`${s.ensureChunk}(${JSON.stringify(e)})`).join(",\n")),"]).then(next);"])};`])}}e.exports=StartupChunkDependenciesRuntimeModule},97672:(e,t,n)=>{"use strict";const s=n(16475);const i=n(16963);class StartupEntrypointRuntimeModule extends i{constructor(e){super("startup entrypoint");this.asyncChunkLoading=e}generate(){const{compilation:e}=this;const{runtimeTemplate:t}=e;return`${s.startupEntrypoint} = ${t.basicFunction("chunkIds, moduleId",this.asyncChunkLoading?`return Promise.all(chunkIds.map(${s.ensureChunk}, __webpack_require__)).then(${t.returningFunction("__webpack_require__(moduleId)")})`:[`chunkIds.map(${s.ensureChunk}, __webpack_require__)`,"return __webpack_require__(moduleId)"])}`}}e.exports=StartupEntrypointRuntimeModule},80655:(e,t,n)=>{"use strict";const s=n(16475);const i=n(16963);class SystemContextRuntimeModule extends i{constructor(){super("__system_context__")}generate(){return`${s.systemContext} = __system_context__;`}}e.exports=SystemContextRuntimeModule},64820:(e,t,n)=>{"use strict";const s=n(39);const{getMimetype:i,decodeDataURI:o}=n(19430);class DataUriPlugin{apply(e){e.hooks.compilation.tap("DataUriPlugin",(e,{normalModuleFactory:t})=>{t.hooks.resolveForScheme.for("data").tap("DataUriPlugin",e=>{e.data.mimetype=i(e.resource)});s.getCompilationHooks(e).readResourceForScheme.for("data").tap("DataUriPlugin",e=>o(e))})}}e.exports=DataUriPlugin},57637:(e,t,n)=>{"use strict";const{URL:s,fileURLToPath:i}=n(78835);class FileUriPlugin{apply(e){e.hooks.compilation.tap("FileUriPlugin",(e,{normalModuleFactory:t})=>{t.hooks.resolveForScheme.for("file").tap("FileUriPlugin",e=>{const t=new s(e.resource);const n=i(t);const o=t.search;const r=t.hash;e.path=n;e.query=o;e.fragment=r;e.resource=n+o+r;return true})})}}e.exports=FileUriPlugin},42110:(e,t,n)=>{"use strict";const{URL:s}=n(78835);const i=n(39);class HttpUriPlugin{apply(e){e.hooks.compilation.tap("HttpUriPlugin",(e,{normalModuleFactory:t})=>{t.hooks.resolveForScheme.for("http").tap("HttpUriPlugin",e=>{const t=new s(e.resource);e.path=t.origin+t.pathname;e.query=t.search;e.fragment=t.hash;return true});i.getCompilationHooks(e).readResourceForScheme.for("http").tapAsync("HttpUriPlugin",(e,t,i)=>{return n(98605).get(new s(e),e=>{if(e.statusCode!==200){e.destroy();return i(new Error(`http request status code = ${e.statusCode}`))}const t=[];e.on("data",e=>{t.push(e)});e.on("end",()=>{if(!e.complete){return i(new Error("http request was terminated"))}i(null,Buffer.concat(t))})})})})}}e.exports=HttpUriPlugin},47026:(e,t,n)=>{"use strict";const{URL:s}=n(78835);const i=n(39);class HttpsUriPlugin{apply(e){e.hooks.compilation.tap("HttpsUriPlugin",(e,{normalModuleFactory:t})=>{t.hooks.resolveForScheme.for("https").tap("HttpsUriPlugin",e=>{const t=new s(e.resource);e.path=t.origin+t.pathname;e.query=t.search;e.fragment=t.hash;return true});i.getCompilationHooks(e).readResourceForScheme.for("https").tapAsync("HttpsUriPlugin",(e,t,i)=>{return n(57211).get(new s(e),e=>{if(e.statusCode!==200){e.destroy();return i(new Error(`https request status code = ${e.statusCode}`))}const t=[];e.on("data",e=>{t.push(e)});e.on("end",()=>{if(!e.complete){return i(new Error("https request was terminated"))}i(null,Buffer.concat(t))})})})})}}e.exports=HttpsUriPlugin},41721:e=>{"use strict";class ArraySerializer{serialize(e,{write:t}){t(e.length);for(const n of e)t(n)}deserialize({read:e}){const t=e();const n=[];for(let s=0;s{"use strict";const s=n(6157);const i=n(83137);const o=11;const r=12;const a=13;const c=14;const u=16;const l=17;const d=18;const p=19;const h=20;const f=21;const m=22;const g=23;const y=24;const v=30;const b=31;const k=96;const w=64;const x=32;const C=128;const M=224;const S=31;const O=127;const T=1;const P=1;const $=4;const F=8;const j=Symbol("MEASURE_START_OPERATION");const _=Symbol("MEASURE_END_OPERATION");const z=e=>{if(e===(e|0)){if(e<=127&&e>=-128)return 0;if(e<=2147483647&&e>=-2147483648)return 1}return 2};class BinaryMiddleware extends i{static optimizeSerializedData(e){const t=[];const n=[];const s=()=>{if(n.length>0){if(n.length===1){t.push(n[0])}else{t.push(Buffer.concat(n))}n.length=0}};for(const i of e){if(Buffer.isBuffer(i)){n.push(i)}else{s();t.push(i)}}s();return t}serialize(e,t){return this._serialize(e,t)}_serialize(e,t){let n=null;let s=null;let M=0;const S=[];let O=0;const q=(e,t=false)=>{if(n!==null){if(n.length-M>=e)return;W()}if(s&&s.length>=e){n=s;s=null}else{n=Buffer.allocUnsafe(t?e:Math.max(e,O,1024))}};const W=()=>{if(n!==null){S.push(n.slice(0,M));if(!s||s.length{n.writeUInt8(e,M++)};const G=e=>{n.writeUInt32LE(e,M);M+=4};const B=[];const R=()=>{B.push(S.length,M)};const J=()=>{const e=B.pop();const t=B.pop();let n=M-e;for(let e=t;e{for(let s=0;sthis._serialize(e,t))}}if(typeof e==="function"){W();S.push(e)}else{const t=[];for(const n of e){let e;if(typeof n==="function"){t.push(0)}else if(n.length===0){}else if(t.length>0&&(e=t[t.length-1])!==0){const s=4294967295-e;if(s>=n.length){t[t.length-1]+=n.length}else{t.push(n.length-s);t[t.length-2]=4294967295}}else{t.push(n.length)}}q(5+t.length*4);A(o);G(t.length);for(const e of t){G(e)}for(const t of e){W();S.push(t)}}break}case"string":{const e=Buffer.byteLength(O);if(e>=128||e!==O.length){q(e+T+$);A(v);G(e);n.write(O,M)}else{q(e+T);A(C|e);n.write(O,M,"latin1")}M+=e;break}case"number":{const t=z(O);if(t===0&&O>=0&&O<=10){q(P);A(O);break}let i=1;for(;i<32&&s+i0){n.writeInt8(e[s],M);M+=P;i--;s++}break;case 1:q(T+$*i);A(w|i-1);while(i>0){n.writeInt32LE(e[s],M);M+=$;i--;s++}break;case 2:q(T+F*i);A(x|i-1);while(i>0){n.writeDoubleLE(e[s],M);M+=F;i--;s++}break}s--;break}case"boolean":{let t=O===true?1:0;const n=[];let i=1;let o;for(o=1;o<4294967295&&s+o{if(_>=T.length){_=0;n++;T=n{return j&&e+_<=T.length};const W=e=>{if(!j){throw new Error(T===null?"Unexpected end of stream":"Unexpected lazy element in stream")}const t=T.length-_;if(t{if(!j){throw new Error(T===null?"Unexpected end of stream":"Unexpected lazy element in stream")}const t=T.length-_;if(t{if(!j){throw new Error(T===null?"Unexpected end of stream":"Unexpected lazy element in stream")}const e=T.readUInt8(_);_+=P;z();return e};const B=()=>{return W($).readUInt32LE(0)};const R=(e,t)=>{let n=1;while(t!==0){V.push((e&n)!==0);n=n<<1;t--}};const J=Array.from({length:256}).map((J,I)=>{switch(I){case o:return()=>{const o=B();const r=Array.from({length:o}).map(()=>B());const a=[];for(let t of r){if(t===0){if(typeof T!=="function"){throw new Error("Unexpected non-lazy element in stream")}a.push(T);n++;T=n0)}}V.push(i.createLazy(s(()=>this._deserialize(a,t)),this,undefined,a))};case b:return()=>{const e=B();V.push(W(e))};case r:return()=>V.push(true);case a:return()=>V.push(false);case d:return()=>V.push(null,null,null);case l:return()=>V.push(null,null);case u:return()=>V.push(null);case g:return()=>V.push(null,true);case y:return()=>V.push(null,false);case f:return()=>{if(j){V.push(null,T.readInt8(_));_+=P;z()}else{V.push(null,W(P).readInt8(0))}};case m:return()=>{V.push(null);if(q($)){V.push(T.readInt32LE(_));_+=$;z()}else{V.push(W($).readInt32LE(0))}};case p:return()=>{const e=G()+4;for(let t=0;t{const e=B()+260;for(let t=0;t{const e=G();if((e&240)===0){R(e,3)}else if((e&224)===0){R(e,4)}else if((e&192)===0){R(e,5)}else if((e&128)===0){R(e,6)}else if(e!==255){let t=(e&127)+7;while(t>8){R(G(),8);t-=8}R(G(),t)}else{let e=B();while(e>8){R(G(),8);e-=8}R(G(),e)}};case v:return()=>{const e=B();if(q(e)){V.push(T.toString(undefined,_,_+e));_+=e;z()}else{V.push(W(e).toString())}};case C:return()=>V.push("");case C|1:return()=>{if(j){V.push(T.toString("latin1",_,_+1));_++;z()}else{V.push(W(1).toString("latin1"))}};case k:return()=>{if(j){V.push(T.readInt8(_));_++;z()}else{V.push(W(1).readInt8(0))}};default:if(I<=10){return()=>V.push(I)}else if((I&C)===C){const e=I&O;return()=>{if(q(e)){V.push(T.toString("latin1",_,_+e));_+=e;z()}else{V.push(W(e).toString("latin1"))}}}else if((I&M)===x){const e=(I&S)+1;return()=>{const t=F*e;if(q(t)){for(let t=0;t{const t=$*e;if(q(t)){for(let t=0;t{const t=P*e;if(q(t)){for(let t=0;t{throw new Error(`Unexpected header byte 0x${I.toString(16)}`)}}}});const V=[];while(T!==null){if(typeof T==="function"){V.push(i.deserializeLazy(T,e=>this._deserialize(e,t)));n++;T=n{"use strict";class DateObjectSerializer{serialize(e,{write:t}){t(e.getTime())}deserialize({read:e}){return new Date(e())}}e.exports=DateObjectSerializer},79479:e=>{"use strict";class ErrorObjectSerializer{constructor(e){this.Type=e}serialize(e,{write:t}){t(e.message);t(e.stack)}deserialize({read:e}){const t=new this.Type;t.message=e();t.stack=e();return t}}e.exports=ErrorObjectSerializer},65321:(e,t,n)=>{"use strict";const{constants:s}=n(64293);const i=n(49835);const{dirname:o,join:r,mkdirp:a}=n(17139);const c=n(6157);const u=n(83137);const l=23294071;const d=e=>{const t=i("md4");for(const n of e)t.update(n);return t.digest("hex")};const p=Buffer.prototype.writeBigUInt64LE?(e,t,n)=>{e.writeBigUInt64LE(BigInt(t),n)}:(e,t,n)=>{const s=t%4294967296;const i=(t-s)/4294967296;e.writeUInt32LE(s,n);e.writeUInt32LE(i,n+4)};const h=Buffer.prototype.readBigUInt64LE?(e,t)=>{return Number(e.readBigUInt64LE(t))}:(e,t)=>{const n=e.readUInt32LE(t);const s=e.readUInt32LE(t+4);return s*4294967296+n};const f=async(e,t,n,s)=>{const i=[];const o=new WeakMap;let r=undefined;for(const n of await t){if(typeof n==="function"){if(!u.isLazy(n))throw new Error("Unexpected function");if(!u.isLazy(n,e)){throw new Error("Unexpected lazy value with non-this target (can't pass through lazy values)")}r=undefined;const t=u.getLazySerializedValue(n);if(t){if(typeof t==="function"){throw new Error("Unexpected lazy value with non-this target (can't pass through lazy values)")}else{i.push(t)}}else{const t=n();if(t){const r=u.getLazyOptions(n);i.push(f(e,t,r&&r.name||true,s).then(e=>{n.options.size=e.size;o.set(e,n);return e}))}else{throw new Error("Unexpected falsy value returned by lazy value function")}}}else if(n){if(r){r.push(n)}else{r=[n];i.push(r)}}else{throw new Error("Unexpected falsy value in items array")}}const a=[];const c=(await Promise.all(i)).map(e=>{if(Array.isArray(e)||Buffer.isBuffer(e))return e;a.push(e.backgroundJob);const t=e.name;const n=Buffer.from(t);const s=Buffer.allocUnsafe(8+n.length);p(s,e.size,0);n.copy(s,8,0);const i=o.get(e);u.setLazySerializedValue(i,s);return s});const h=[];for(const e of c){if(Array.isArray(e)){let t=0;for(const n of e)t+=n.length;while(t>2147483647){h.push(2147483647);t-=2147483647}h.push(t)}else if(e){h.push(-e.length)}else{throw new Error("Unexpected falsy value in resolved data "+e)}}const m=Buffer.allocUnsafe(8+h.length*4);m.writeUInt32LE(l,0);m.writeUInt32LE(h.length,4);for(let e=0;e{const s=await n(t);if(s.length===0)throw new Error("Empty file "+t);let i=0;let o=s[0];let r=o.length;let a=0;if(r===0)throw new Error("Empty file "+t);const d=()=>{i++;o=s[i];r=o.length;a=0};const p=e=>{if(a===r){d()}while(r-an){c.push(s[e].slice(0,n));s[e]=s[e].slice(n);n=0;break}else{c.push(s[e]);i=e;n-=t}}if(n>0)throw new Error("Unexpected end of data");o=Buffer.concat(c,e);r=e;a=0}};const f=()=>{p(4);const e=o.readUInt32LE(a);a+=4;return e};const g=()=>{p(4);const e=o.readInt32LE(a);a+=4;return e};const y=e=>{p(e);if(a===0&&r===e){const t=o;if(i+1m(e,r,n)),e,{name:r,size:i},s))}else{if(a===r){d()}else if(a!==0){if(t<=r-a){w.push(o.slice(a,a+t));a+=t;t=0}else{w.push(o.slice(a));t-=r-a;a=r}}else{if(t>=r){w.push(o);t-=r;a=r}else{w.push(o.slice(0,t));a+=t;t=0}}while(t>0){d();if(t>=r){w.push(o);t-=r;a=r}else{w.push(o.slice(0,t));a+=t;t=0}}}}return w};class FileMiddleware extends u{constructor(e){super();this.fs=e}serialize(e,t){const{filename:n,extension:s=""}=t;return new Promise((t,i)=>{a(this.fs,o(this.fs,n),o=>{if(o)return i(o);const a=new Set;const c=async(e,t)=>{const i=e?r(this.fs,n,`../${e}${s}`):n;await new Promise((e,n)=>{const s=this.fs.createWriteStream(i+"_");for(const e of t)s.write(e);s.end();s.on("error",e=>n(e));s.on("finish",()=>e())});if(e)a.add(i)};t(f(this,e,false,c).then(async({backgroundJob:e})=>{await e;await new Promise(e=>this.fs.rename(n,n+".old",t=>{e()}));await Promise.all(Array.from(a,e=>new Promise((t,n)=>{this.fs.rename(e+"_",e,e=>{if(e)return n(e);t()})})));await new Promise(e=>{this.fs.rename(n+"_",n,t=>{if(t)return i(t);e()})});return true}))})})}deserialize(e,t){const{filename:n,extension:i=""}=t;const o=e=>new Promise((t,o)=>{const a=e?r(this.fs,n,`../${e}${i}`):n;this.fs.stat(a,(e,n)=>{if(e){o(e);return}let i=n.size;let r;let c;const u=[];this.fs.open(a,"r",(e,n)=>{if(e){o(e);return}const a=()=>{if(r===undefined){r=Buffer.allocUnsafeSlow(Math.min(s.MAX_LENGTH,i));c=0}let e=r;let l=c;let d=r.length-c;if(l>2147483647){e=r.slice(l);l=0}if(d>2147483647){d=2147483647}this.fs.read(n,e,l,d,null,(e,s)=>{if(e){this.fs.close(n,()=>{o(e)});return}c+=s;i-=s;if(c===r.length){u.push(r);r=undefined;if(i===0){this.fs.close(n,e=>{if(e){o(e);return}t(u)});return}}a()})};a()})})});return m(this,false,o)}}e.exports=FileMiddleware},86791:e=>{"use strict";class MapObjectSerializer{serialize(e,{write:t}){t(e.size);for(const n of e.keys()){t(n)}for(const n of e.values()){t(n)}}deserialize({read:e}){let t=e();const n=new Map;const s=[];for(let n=0;n{"use strict";class NullPrototypeObjectSerializer{serialize(e,{write:t}){const n=Object.keys(e);for(const e of n){t(e)}t(null);for(const s of n){t(e[s])}}deserialize({read:e}){const t=Object.create(null);const n=[];let s=e();while(s!==null){n.push(s);s=e()}for(const s of n){t[s]=e()}return t}}e.exports=NullPrototypeObjectSerializer},34795:(e,t,n)=>{"use strict";const s=n(49835);const i=n(41721);const o=n(93475);const r=n(79479);const a=n(86791);const c=n(21048);const u=n(33040);const l=n(57328);const d=n(83137);const p=n(79240);const h=(e,t)=>{let n=0;for(const s of e){if(n++>=t){e.delete(s)}}};const f=(e,t)=>{let n=0;for(const s of e.keys()){if(n++>=t){e.delete(s)}}};const m=e=>{const t=s("md4");t.update(e);return t.digest("latin1")};const g=null;const y=null;const v=true;const b=false;const k=2;const w=new Map;const x=new Map;const C=new Set;const M={};const S=new Map;S.set(Object,new u);S.set(Array,new i);S.set(null,new c);S.set(Map,new a);S.set(Set,new p);S.set(Date,new o);S.set(RegExp,new l);S.set(Error,new r(Error));S.set(EvalError,new r(EvalError));S.set(RangeError,new r(RangeError));S.set(ReferenceError,new r(ReferenceError));S.set(SyntaxError,new r(SyntaxError));S.set(TypeError,new r(TypeError));if(t.constructor!==Object){const e=t.constructor;const n=e.constructor;for(const[e,t]of Array.from(S)){if(e){const s=new n(`return ${e.name};`)();S.set(s,t)}}}{let e=1;for(const[t,n]of S){w.set(t,{request:"",name:e++,serializer:n})}}for(const{request:e,name:t,serializer:n}of w.values()){x.set(`${e}/${t}`,n)}const O=new Map;class ObjectMiddleware extends d{constructor(e){super();this.extendContext=e}static registerLoader(e,t){O.set(e,t)}static register(e,t,n,s){const i=t+"/"+n;if(w.has(e)){throw new Error(`ObjectMiddleware.register: serializer for ${e.name} is already registered`)}if(x.has(i)){throw new Error(`ObjectMiddleware.register: serializer for ${i} is already registered`)}w.set(e,{request:t,name:n,serializer:s});x.set(i,s)}static registerNotSerializable(e){if(w.has(e)){throw new Error(`ObjectMiddleware.registerNotSerializable: serializer for ${e.name} is already registered`)}w.set(e,M)}static getSerializerFor(e){let t=e.constructor;if(!t){if(Object.getPrototypeOf(e)===null){t=null}else{throw new Error("Serialization of objects with prototype without valid constructor property not possible")}}const n=w.get(t);if(!n)throw new Error(`No serializer registered for ${t.name}`);if(n===M)throw M;return n}static getDeserializerFor(e,t){const n=e+"/"+t;const s=x.get(n);if(s===undefined){throw new Error(`No deserializer registered for ${n}`)}return s}serialize(e,t){const n=[k];let s=0;const i=new Map;const o=e=>{i.set(e,s++)};const r=new Map;const a=e=>{const t=e.length;const n=r.get(t);if(n===undefined){r.set(t,e);return e}if(Buffer.isBuffer(n)){if(t<32){if(e.equals(n)){return n}r.set(t,[n,e]);return e}else{const s=m(n);const i=new Map;i.set(s,n);r.set(t,i);const o=m(e);if(s===o){return n}return e}}else if(Array.isArray(n)){if(n.length<16){for(const t of n){if(e.equals(t)){return t}}n.push(e);return e}else{const s=new Map;const i=m(e);let o;for(const e of n){const t=m(e);s.set(t,e);if(o===undefined&&t===i)o=e}r.set(t,s);if(o===undefined){s.set(i,e);return e}else{return o}}}else{const t=m(e);const s=n.get(t);if(s!==undefined){return s}n.set(t,e);return e}};let c=0;const u=new Map;const l=new Set;const p=e=>{const t=Array.from(l);t.push(e);return t.map(e=>{if(typeof e==="string"){if(e.length>100){return`String ${JSON.stringify(e.slice(0,100)).slice(0,-1)}..."`}return`String ${JSON.stringify(e)}`}try{const{request:t,name:n}=ObjectMiddleware.getSerializerFor(e);if(t){return`${t}${n?`.${n}`:""}`}}catch(e){}if(typeof e==="object"&&e!==null){if(e.constructor){if(e.constructor===Object)return`Object { ${Object.keys(e).join(", ")} }`;if(e.constructor===Map)return`Map { ${e.size} items }`;if(e.constructor===Array)return`Array { ${e.length} items }`;if(e.constructor===Set)return`Set { ${e.size} items }`;if(e.constructor===RegExp)return e.toString();return`${e.constructor.name}`}return`Object [null prototype] { ${Object.keys(e).join(", ")} }`}try{return`${e}`}catch(e){return`(${e.message})`}}).join(" -> ")};let w;const x={write(e,t){try{C(e)}catch(t){if(w===undefined)w=new WeakSet;if(!w.has(t)){t.message+=`\nwhile serializing ${p(e)}`;w.add(t)}throw t}},snapshot(){return{length:n.length,cycleStackSize:l.size,referenceableSize:i.size,currentPos:s,objectTypeLookupSize:u.size,currentPosTypeLookup:c}},rollback(e){n.length=e.length;h(l,e.cycleStackSize);f(i,e.referenceableSize);s=e.currentPos;f(u,e.objectTypeLookupSize);c=e.currentPosTypeLookup},...t};this.extendContext(x);const C=e=>{const r=i.get(e);if(r!==undefined){n.push(g,r-s);return}if(Buffer.isBuffer(e)){const t=a(e);if(t!==e){const o=i.get(t);if(o!==undefined){i.set(e,o);n.push(g,o-s);return}e=t}o(e);n.push(e)}else if(typeof e==="object"&&e!==null){if(l.has(e)){throw new Error(`Circular references can't be serialized`)}const{request:t,name:s,serializer:i}=ObjectMiddleware.getSerializerFor(e);const r=`${t}/${s}`;const a=u.get(r);if(a===undefined){u.set(r,c++);n.push(g,t,s)}else{n.push(g,c-a)}l.add(e);try{i.serialize(e,x)}finally{l.delete(e)}n.push(g,v);o(e)}else if(typeof e==="string"){if(e.length>1){o(e)}if(e.length>102400&&t.logger){t.logger.warn(`Serializing big strings (${Math.round(e.length/1024)}kiB) impacts deserialization performance (consider using Buffer instead and decode when needed)`)}n.push(e)}else if(e===g){n.push(g,y)}else if(typeof e==="function"){if(!d.isLazy(e))throw new Error("Unexpected function "+e);const s=d.getLazySerializedValue(e);if(s!==undefined){if(typeof s==="function"){n.push(s)}else{throw new Error("Not implemented")}}else if(d.isLazy(e,this)){throw new Error("Not implemented")}else{n.push(d.serializeLazy(e,e=>this.serialize([e],t)))}}else if(e===undefined){n.push(g,b)}else{n.push(e)}};try{for(const t of e){C(t)}}catch(e){if(e===M)return null;throw e}return n}deserialize(e,t){let n=0;const s=()=>{if(n>=e.length)throw new Error("Unexpected end of stream");return e[n++]};if(s()!==k)throw new Error("Version mismatch, serializer changed");let i=0;let o=[];const r=e=>{o.push(e);i++};let a=0;let c=[];const u=[];const l={read(){return p()},...t};this.extendContext(l);const p=()=>{const e=s();if(e===g){const e=s();if(e===y){return g}else if(e===b){return undefined}else if(e===v){throw new Error(`Unexpected end of object at position ${n-1}`)}else if(typeof e==="number"&&e<0){return o[i+e]}else{const t=e;let i;if(typeof t==="number"){i=c[a-t]}else{if(typeof t!=="string"){throw new Error(`Unexpected type (${typeof t}) of request `+`at position ${n-1}`)}const e=s();if(t&&!C.has(t)){let e=false;for(const[n,s]of O){if(n.test(t)){if(s(t)){e=true;break}}}if(!e){require(t)}C.add(t)}i=ObjectMiddleware.getDeserializerFor(t,e);c.push(i);a++}try{const e=i.deserialize(l);const t=s();if(t!==g){throw new Error("Expected end of object")}const n=s();if(n!==v){throw new Error("Expected end of object")}r(e);return e}catch(e){let t;for(const e of w){if(e[1].serializer===i){t=e;break}}const n=!t?"unknown":!t[1].request?t[0].name:t[1].name?`${t[1].request} ${t[1].name}`:t[1].request;e.message+=`\n(during deserialization of ${n})`;throw e}}}else if(typeof e==="string"){if(e.length>1){r(e)}return e}else if(Buffer.isBuffer(e)){r(e);return e}else if(typeof e==="function"){return d.deserializeLazy(e,e=>this.deserialize(e,t)[0])}else{return e}};while(n{"use strict";const t=new WeakMap;class ObjectStructure{constructor(e){this.keys=e;this.children=new Map}getKeys(){return this.keys}key(e){const t=this.children.get(e);if(t!==undefined)return t;const n=new ObjectStructure(this.keys.concat(e));this.children.set(e,n);return n}}const n=(e,n)=>{let s=t.get(n);if(s===undefined){s=new ObjectStructure([]);t.set(n,s)}let i=s;for(const t of e){i=i.key(t)}return i.getKeys()};class PlainObjectSerializer{serialize(e,{write:t}){const s=Object.keys(e);if(s.length>1){t(n(s,t));for(const n of s){t(e[n])}}else if(s.length===1){const n=s[0];t(n);t(e[n])}else{t(null)}}deserialize({read:e}){const t=e();const n={};if(Array.isArray(t)){for(const s of t){n[s]=e()}}else if(t!==null){n[t]=e()}return n}}e.exports=PlainObjectSerializer},57328:e=>{"use strict";class RegExpObjectSerializer{serialize(e,{write:t}){t(e.source);t(e.flags)}deserialize({read:e}){return new RegExp(e(),e())}}e.exports=RegExpObjectSerializer},53080:e=>{"use strict";class Serializer{constructor(e,t){this.serializeMiddlewares=e.slice();this.deserializeMiddlewares=e.slice().reverse();this.context=t}serialize(e,t){const n={...t,...this.context};let s=e;for(const e of this.serializeMiddlewares){if(s instanceof Promise){s=s.then(n=>n&&e.serialize(n,t))}else if(s){try{s=e.serialize(s,n)}catch(e){s=Promise.reject(e)}}else break}return s}deserialize(e,t){const n={...t,...this.context};let s=e;for(const e of this.deserializeMiddlewares){if(s instanceof Promise){s=s.then(n=>e.deserialize(n,t))}else{s=e.deserialize(s,n)}}return s}}e.exports=Serializer},83137:(e,t,n)=>{"use strict";const s=n(6157);const i=Symbol("lazy serialization target");const o=Symbol("lazy serialization data");class SerializerMiddleware{serialize(e,t){const s=n(77198);throw new s}deserialize(e,t){const s=n(77198);throw new s}static createLazy(e,t,n={},s){if(SerializerMiddleware.isLazy(e,t))return e;const r=typeof e==="function"?e:()=>e;r[i]=t;r.options=n;r[o]=s;return r}static isLazy(e,t){if(typeof e!=="function")return false;const n=e[i];return t?n===t:!!n}static getLazyOptions(e){if(typeof e!=="function")return undefined;return e.options}static getLazySerializedValue(e){if(typeof e!=="function")return undefined;return e[o]}static setLazySerializedValue(e,t){e[o]=t}static serializeLazy(e,t){const n=s(()=>{const n=e();if(n instanceof Promise)return n.then(e=>e&&t(e));if(n)return t(n);return null});n[i]=e[i];n.options=e.options;e[o]=n;return n}static deserializeLazy(e,t){const n=s(()=>{const n=e();if(n instanceof Promise)return n.then(e=>t(e));return t(n)});n[i]=e[i];n.options=e.options;n[o]=e;return n}}e.exports=SerializerMiddleware},79240:e=>{"use strict";class SetObjectSerializer{serialize(e,{write:t}){t(e.size);for(const n of e){t(n)}}deserialize({read:e}){let t=e();const n=new Set;for(let s=0;s{"use strict";const s=n(83137);class SingleItemMiddleware extends s{serialize(e,t){return[e]}deserialize(e,t){return e[0]}}e.exports=SingleItemMiddleware},58831:(e,t,n)=>{"use strict";const s=n(80321);const i=n(33032);class ConsumeSharedFallbackDependency extends s{constructor(e){super(e)}get type(){return"consume shared fallback"}get category(){return"esm"}}i(ConsumeSharedFallbackDependency,"webpack/lib/sharing/ConsumeSharedFallbackDependency");e.exports=ConsumeSharedFallbackDependency},62286:(e,t,n)=>{"use strict";const{RawSource:s}=n(84697);const i=n(47736);const o=n(73208);const r=n(16475);const a=n(33032);const{rangeToString:c,stringifyHoley:u}=n(19702);const l=n(58831);const d=new Set(["consume-shared"]);class ConsumeSharedModule extends o{constructor(e,t){super("consume-shared-module",e);this.options=t}identifier(){const{shareKey:e,shareScope:t,importResolved:n,requiredVersion:s,strictVersion:i,singleton:o,eager:r}=this.options;return`consume-shared-module|${t}|${e}|${s&&c(s)}|${i}|${n}|${o}|${r}`}readableIdentifier(e){const{shareKey:t,shareScope:n,importResolved:s,requiredVersion:i,strictVersion:o,singleton:r,eager:a}=this.options;return`consume shared module (${n}) ${t}@${i?c(i):"*"}${o?" (strict)":""}${r?" (singleton)":""}${s?` (fallback: ${e.shorten(s)})`:""}${a?" (eager)":""}`}libIdent(e){const{shareKey:t,shareScope:n,import:s}=this.options;return`webpack/sharing/consume/${n}/${t}${s?`/${s}`:""}`}needBuild(e,t){t(null,!this.buildInfo)}build(e,t,n,s,o){this.buildMeta={};this.buildInfo={};if(this.options.import){const e=new l(this.options.import);if(this.options.eager){this.addDependency(e)}else{const t=new i({});t.addDependency(e);this.addBlock(t)}}o()}getSourceTypes(){return d}size(e){return 42}updateHash(e,t){e.update(JSON.stringify(this.options));super.updateHash(e,t)}codeGeneration({chunkGraph:e,moduleGraph:t,runtimeTemplate:n}){const i=new Set([r.shareScopeMap]);const{shareScope:o,shareKey:a,strictVersion:c,requiredVersion:l,import:d,singleton:p,eager:h}=this.options;let f;if(d){if(h){const t=this.dependencies[0];f=n.syncModuleFactory({dependency:t,chunkGraph:e,runtimeRequirements:i,request:this.options.import})}else{const t=this.blocks[0];f=n.asyncModuleFactory({block:t,chunkGraph:e,runtimeRequirements:i,request:this.options.import})}}let m="load";const g=[JSON.stringify(o),JSON.stringify(a)];if(l){if(c){m+="Strict"}if(p){m+="Singleton"}g.push(u(l));m+="VersionCheck"}if(f){m+="Fallback";g.push(f)}const y=n.returningFunction(`${m}(${g.join(", ")})`);const v=new Map;v.set("consume-shared",new s(y));return{runtimeRequirements:i,sources:v}}serialize(e){const{write:t}=e;t(this.options);super.serialize(e)}deserialize(e){const{read:t}=e;this.options=t();super.deserialize(e)}}a(ConsumeSharedModule,"webpack/lib/sharing/ConsumeSharedModule");e.exports=ConsumeSharedModule},15046:(e,t,n)=>{"use strict";const{validate:s}=n(33225);const i=n(9515);const o=n(32882);const r=n(16475);const a=n(53799);const{parseOptions:c}=n(3083);const u=n(38938);const{parseRange:l}=n(19702);const d=n(58831);const p=n(62286);const h=n(10394);const f=n(40017);const{resolveMatchedConfigs:m}=n(3591);const{isRequiredVersion:g,getDescriptionFile:y,getRequiredVersionFromDescriptionFile:v}=n(84379);const b={dependencyType:"esm"};const k="ConsumeSharedPlugin";class ConsumeSharedPlugin{constructor(e){if(typeof e!=="string"){s(i,e,{name:"Consumes Shared Plugin"})}this._consumes=c(e.consumes,(t,n)=>{if(Array.isArray(t))throw new Error("Unexpected array in options");let s=t===n||!g(t)?{import:n,shareScope:e.shareScope||"default",shareKey:n,requiredVersion:undefined,packageName:undefined,strictVersion:false,singleton:false,eager:false}:{import:n,shareScope:e.shareScope||"default",shareKey:n,requiredVersion:l(t),strictVersion:true,packageName:undefined,singleton:false,eager:false};return s},(t,n)=>({import:t.import===false?undefined:t.import||n,shareScope:t.shareScope||e.shareScope||"default",shareKey:t.shareKey||n,requiredVersion:typeof t.requiredVersion==="string"?l(t.requiredVersion):t.requiredVersion,strictVersion:typeof t.strictVersion==="boolean"?t.strictVersion:t.import!==false&&!t.singleton,packageName:t.packageName,singleton:!!t.singleton,eager:!!t.eager}))}apply(e){e.hooks.thisCompilation.tap(k,(t,{normalModuleFactory:n})=>{t.dependencyFactories.set(d,n);let s,i,c;const g=m(t,this._consumes).then(({resolved:e,unresolved:t,prefixed:n})=>{i=e;s=t;c=n});const w=t.resolverFactory.get("normal",b);const x=(n,s,i)=>{const r=e=>{const n=new a(`No required version specified and unable to automatically determine one. ${e}`);n.file=`shared module ${s}`;t.warnings.push(n)};const c=i.import&&/^(\.\.?(\/|$)|\/|[A-Za-z]:|\\\\)/.test(i.import);return Promise.all([new Promise(r=>{if(!i.import)return r();const a={fileDependencies:new u,contextDependencies:new u,missingDependencies:new u};w.resolve({},c?e.context:n,i.import,a,(e,n)=>{t.contextDependencies.addAll(a.contextDependencies);t.fileDependencies.addAll(a.fileDependencies);t.missingDependencies.addAll(a.missingDependencies);if(e){t.errors.push(new o(null,e,{name:`resolving fallback for shared module ${s}`}));return r()}r(n)})}),new Promise(e=>{if(i.requiredVersion!==undefined)return e(i.requiredVersion);let o=i.packageName;if(o===undefined){if(/^(\/|[A-Za-z]:|\\\\)/.test(s)){return e()}const t=/^((?:@[^\\/]+[\\/])?[^\\/]+)/.exec(s);if(!t){r("Unable to extract the package name from request.");return e()}o=t[0]}y(t.inputFileSystem,n,["package.json"],(t,s)=>{if(t){r(`Unable to read description file: ${t}`);return e()}const{data:i,path:a}=s;if(!i){r(`Unable to find description file in ${n}.`);return e()}const c=v(i,o);if(typeof c!=="string"){r(`Unable to find required version for "${o}" in description file (${a}). It need to be in dependencies, devDependencies or peerDependencies.`);return e()}e(l(c))})})]).then(([t,s])=>{return new p(c?e.context:n,{...i,importResolved:t,import:t?i.import:undefined,requiredVersion:s})})};n.hooks.factorize.tapPromise(k,({context:e,request:t,dependencies:n})=>g.then(()=>{if(n[0]instanceof d||n[0]instanceof f){return}const i=s.get(t);if(i!==undefined){return x(e,t,i)}for(const[n,s]of c){if(t.startsWith(n)){const i=t.slice(n.length);return x(e,t,{...s,import:s.import?s.import+i:undefined,shareKey:s.shareKey+i})}}}));n.hooks.createModule.tapPromise(k,({resource:e},{context:t,dependencies:n})=>{if(n[0]instanceof d||n[0]instanceof f){return Promise.resolve()}const s=i.get(e);if(s!==undefined){return x(t,e,s)}return Promise.resolve()});t.hooks.additionalTreeRuntimeRequirements.tap(k,(e,n)=>{n.add(r.module);n.add(r.moduleFactoriesAddOnly);n.add(r.shareScopeMap);n.add(r.initializeSharing);n.add(r.hasOwnProperty);t.addRuntimeModule(e,new h(n))})})}}e.exports=ConsumeSharedPlugin},10394:(e,t,n)=>{"use strict";const s=n(16475);const i=n(16963);const o=n(1626);const{parseVersionRuntimeCode:r,versionLtRuntimeCode:a,rangeToStringRuntimeCode:c,satisfyRuntimeCode:u}=n(19702);class ConsumeSharedRuntimeModule extends i{constructor(e){super("consumes",i.STAGE_ATTACH);this._runtimeRequirements=e}generate(){const{runtimeTemplate:e,chunkGraph:t,codeGenerationResults:n}=this.compilation;const i={};const l=new Map;const d=[];const p=(e,s,i)=>{for(const o of e){const e=o;const r=t.getModuleId(e);i.push(r);l.set(r,n.getSource(e,s.runtime,"consume-shared"))}};for(const e of this.chunk.getAllAsyncChunks()){const n=t.getChunkModulesIterableBySourceType(e,"consume-shared");if(!n)continue;p(n,e,i[e.id]=[])}for(const e of this.chunk.getAllInitialChunks()){const n=t.getChunkModulesIterableBySourceType(e,"consume-shared");if(!n)continue;p(n,e,d)}if(l.size===0)return null;return o.asString([r(e),a(e),c(e),u(e),`var ensureExistence = ${e.basicFunction("scopeName, key",[`var scope = ${s.shareScopeMap}[scopeName];`,`if(!scope || !${s.hasOwnProperty}(scope, key)) throw new Error("Shared module " + key + " doesn't exist in shared scope " + scopeName);`,"return scope;"])};`,`var findVersion = ${e.basicFunction("scope, key",["var versions = scope[key];",`var key = Object.keys(versions).reduce(${e.basicFunction("a, b",["return !a || versionLt(a, b) ? b : a;"])}, 0);`,"return key && versions[key]"])};`,`var findSingletonVersionKey = ${e.basicFunction("scope, key",["var versions = scope[key];",`return Object.keys(versions).reduce(${e.basicFunction("a, b",["return !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;"])}, 0);`])};`,`var getInvalidSingletonVersionMessage = ${e.basicFunction("key, version, requiredVersion",[`return "Unsatisfied version " + version + " of shared singleton module " + key + " (required " + rangeToString(requiredVersion) + ")"`])};`,`var getSingletonVersion = ${e.basicFunction("scope, scopeName, key, requiredVersion",["var version = findSingletonVersionKey(scope, key);","if (!satisfy(requiredVersion, version)) "+'typeof console !== "undefined" && console.warn && console.warn(getInvalidSingletonVersionMessage(key, version, requiredVersion));',"return get(scope[key][version]);"])};`,`var getStrictSingletonVersion = ${e.basicFunction("scope, scopeName, key, requiredVersion",["var version = findSingletonVersionKey(scope, key);","if (!satisfy(requiredVersion, version)) "+"throw new Error(getInvalidSingletonVersionMessage(key, version, requiredVersion));","return get(scope[key][version]);"])};`,`var findValidVersion = ${e.basicFunction("scope, key, requiredVersion",["var versions = scope[key];",`var key = Object.keys(versions).reduce(${e.basicFunction("a, b",["if (!satisfy(requiredVersion, b)) return a;","return !a || versionLt(a, b) ? b : a;"])}, 0);`,"return key && versions[key]"])};`,`var getInvalidVersionMessage = ${e.basicFunction("scope, scopeName, key, requiredVersion",["var versions = scope[key];",'return "No satisfying version (" + rangeToString(requiredVersion) + ") of shared module " + key + " found in shared scope " + scopeName + ".\\n" +',`\t"Available versions: " + Object.keys(versions).map(${e.basicFunction("key",['return key + " from " + versions[key].from;'])}).join(", ");`])};`,`var getValidVersion = ${e.basicFunction("scope, scopeName, key, requiredVersion",["var entry = findValidVersion(scope, key, requiredVersion);","if(entry) return get(entry);","throw new Error(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));"])};`,`var warnInvalidVersion = ${e.basicFunction("scope, scopeName, key, requiredVersion",['typeof console !== "undefined" && console.warn && console.warn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));'])};`,`var get = ${e.basicFunction("entry",["entry.loaded = 1;","return entry.get()"])};`,`var init = ${e.returningFunction(o.asString(["function(scopeName, a, b, c) {",o.indent([`var promise = ${s.initializeSharing}(scopeName);`,`if (promise && promise.then) return promise.then(fn.bind(fn, scopeName, ${s.shareScopeMap}[scopeName], a, b, c));`,`return fn(scopeName, ${s.shareScopeMap}[scopeName], a, b, c);`]),"}"]),"fn")};`,"",`var load = /*#__PURE__*/ init(${e.basicFunction("scopeName, scope, key",["ensureExistence(scopeName, key);","return get(findVersion(scope, key));"])});`,`var loadFallback = /*#__PURE__*/ init(${e.basicFunction("scopeName, scope, key, fallback",[`return scope && ${s.hasOwnProperty}(scope, key) ? get(findVersion(scope, key)) : fallback();`])});`,`var loadVersionCheck = /*#__PURE__*/ init(${e.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));"])});`,`var loadSingletonVersionCheck = /*#__PURE__*/ init(${e.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return getSingletonVersion(scope, scopeName, key, version);"])});`,`var loadStrictVersionCheck = /*#__PURE__*/ init(${e.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return getValidVersion(scope, scopeName, key, version);"])});`,`var loadStrictSingletonVersionCheck = /*#__PURE__*/ init(${e.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return getStrictSingletonVersion(scope, scopeName, key, version);"])});`,`var loadVersionCheckFallback = /*#__PURE__*/ init(${e.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${s.hasOwnProperty}(scope, key)) return fallback();`,"return get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));"])});`,`var loadSingletonVersionCheckFallback = /*#__PURE__*/ init(${e.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${s.hasOwnProperty}(scope, key)) return fallback();`,"return getSingletonVersion(scope, scopeName, key, version);"])});`,`var loadStrictVersionCheckFallback = /*#__PURE__*/ init(${e.basicFunction("scopeName, scope, key, version, fallback",[`var entry = scope && ${s.hasOwnProperty}(scope, key) && findValidVersion(scope, key, version);`,`return entry ? get(entry) : fallback();`])});`,`var loadStrictSingletonVersionCheckFallback = /*#__PURE__*/ init(${e.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${s.hasOwnProperty}(scope, key)) return fallback();`,"return getStrictSingletonVersion(scope, scopeName, key, version);"])});`,"var installedModules = {};","var moduleToHandlerMapping = {",o.indent(Array.from(l,([e,t])=>`${JSON.stringify(e)}: ${t.source()}`).join(",\n")),"};",d.length>0?o.asString([`var initialConsumes = ${JSON.stringify(d)};`,`initialConsumes.forEach(${e.basicFunction("id",[`__webpack_modules__[id] = ${e.basicFunction("module",["// Handle case when module is used sync","installedModules[id] = 0;","delete __webpack_module_cache__[id];","var factory = moduleToHandlerMapping[id]();",'if(typeof factory !== "function") throw new Error("Shared module is not available for eager consumption: " + id);',`module.exports = factory();`])}`])});`]):"// no consumes in initial chunks",this._runtimeRequirements.has(s.ensureChunkHandlers)?o.asString([`var chunkMapping = ${JSON.stringify(i,null,"\t")};`,`${s.ensureChunkHandlers}.consumes = ${e.basicFunction("chunkId, promises",[`if(${s.hasOwnProperty}(chunkMapping, chunkId)) {`,o.indent([`chunkMapping[chunkId].forEach(${e.basicFunction("id",[`if(${s.hasOwnProperty}(installedModules, id)) return promises.push(installedModules[id]);`,`var onFactory = ${e.basicFunction("factory",["installedModules[id] = 0;",`__webpack_modules__[id] = ${e.basicFunction("module",["delete __webpack_module_cache__[id];","module.exports = factory();"])}`])};`,`var onError = ${e.basicFunction("error",["delete installedModules[id];",`__webpack_modules__[id] = ${e.basicFunction("module",["delete __webpack_module_cache__[id];","throw error;"])}`])};`,"try {",o.indent(["var promise = moduleToHandlerMapping[id]();","if(promise.then) {",o.indent(`promises.push(installedModules[id] = promise.then(onFactory).catch(onError));`),"} else onFactory(promise);"]),"} catch(e) { onError(e); }"])});`]),"}"])}`]):"// no chunk loading of consumes"])}}e.exports=ConsumeSharedRuntimeModule},40017:(e,t,n)=>{"use strict";const s=n(80321);const i=n(33032);class ProvideForSharedDependency extends s{constructor(e){super(e)}get type(){return"provide module for shared"}get category(){return"esm"}}i(ProvideForSharedDependency,"webpack/lib/sharing/ProvideForSharedDependency");e.exports=ProvideForSharedDependency},1798:(e,t,n)=>{"use strict";const s=n(54912);const i=n(33032);class ProvideSharedDependency extends s{constructor(e,t,n,s,i){super();this.shareScope=e;this.name=t;this.version=n;this.request=s;this.eager=i}get type(){return"provide shared module"}getResourceIdentifier(){return`provide module (${this.shareScope}) ${this.request} as ${this.name} @ ${this.version}${this.eager?" (eager)":""}`}serialize(e){e.write(this.shareScope);e.write(this.name);e.write(this.request);e.write(this.version);e.write(this.eager);super.serialize(e)}static deserialize(e){const{read:t}=e;const n=new ProvideSharedDependency(t(),t(),t(),t(),t());this.shareScope=e.read();n.deserialize(e);return n}}i(ProvideSharedDependency,"webpack/lib/sharing/ProvideSharedDependency");e.exports=ProvideSharedDependency},50821:(e,t,n)=>{"use strict";const s=n(47736);const i=n(73208);const o=n(16475);const r=n(33032);const a=n(40017);const c=new Set(["share-init"]);class ProvideSharedModule extends i{constructor(e,t,n,s,i){super("provide-module");this._shareScope=e;this._name=t;this._version=n;this._request=s;this._eager=i}identifier(){return`provide module (${this._shareScope}) ${this._name}@${this._version} = ${this._request}`}readableIdentifier(e){return`provide shared module (${this._shareScope}) ${this._name}@${this._version} = ${e.shorten(this._request)}`}libIdent(e){return`webpack/sharing/provide/${this._shareScope}/${this._name}`}needBuild(e,t){t(null,!this.buildInfo)}build(e,t,n,i,o){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();const r=new a(this._request);if(this._eager){this.addDependency(r)}else{const e=new s({});e.addDependency(r);this.addBlock(e)}o()}size(e){return 42}getSourceTypes(){return c}codeGeneration({runtimeTemplate:e,moduleGraph:t,chunkGraph:n}){const s=new Set([o.initializeSharing]);const i=`register(${JSON.stringify(this._name)}, ${JSON.stringify(this._version||"0")}, ${this._eager?e.syncModuleFactory({dependency:this.dependencies[0],chunkGraph:n,request:this._request,runtimeRequirements:s}):e.asyncModuleFactory({block:this.blocks[0],chunkGraph:n,request:this._request,runtimeRequirements:s})});`;const r=new Map;const a=new Map;a.set("share-init",[{shareScope:this._shareScope,initStage:10,init:i}]);return{sources:r,data:a,runtimeRequirements:s}}serialize(e){const{write:t}=e;t(this._shareScope);t(this._name);t(this._version);t(this._request);t(this._eager);super.serialize(e)}static deserialize(e){const{read:t}=e;const n=new ProvideSharedModule(t(),t(),t(),t(),t());n.deserialize(e);return n}}r(ProvideSharedModule,"webpack/lib/sharing/ProvideSharedModule");e.exports=ProvideSharedModule},39344:(e,t,n)=>{"use strict";const s=n(51010);const i=n(50821);class ProvideSharedModuleFactory extends s{create(e,t){const n=e.dependencies[0];t(null,{module:new i(n.shareScope,n.name,n.version,n.request,n.eager)})}}e.exports=ProvideSharedModuleFactory},31225:(e,t,n)=>{"use strict";const{validate:s}=n(33225);const i=n(12287);const o=n(53799);const{parseOptions:r}=n(3083);const a=n(40017);const c=n(1798);const u=n(39344);class ProvideSharedPlugin{constructor(e){s(i,e,{name:"Provide Shared Plugin"});this._provides=r(e.provides,t=>{if(Array.isArray(t))throw new Error("Unexpected array of provides");const n={shareKey:t,version:undefined,shareScope:e.shareScope||"default",eager:false};return n},t=>({shareKey:t.shareKey,version:t.version,shareScope:t.shareScope||e.shareScope||"default",eager:!!t.eager}));this._provides.sort(([e],[t])=>{if(e{const s=new Map;const i=new Map;const r=new Map;for(const[e,t]of this._provides){if(/^(\/|[A-Za-z]:\\|\\\\|\.\.?(\/|$))/.test(e)){s.set(e,{config:t,version:t.version})}else if(/^(\/|[A-Za-z]:\\|\\\\)/.test(e)){s.set(e,{config:t,version:t.version})}else if(e.endsWith("/")){r.set(e,t)}else{i.set(e,t)}}t.set(e,s);const a=(t,n,i,r)=>{let a=n.version;if(a===undefined){let n="";if(!r){n=`No resolve data provided from resolver.`}else{const e=r.descriptionFileData;if(!e){n="No description file (usually package.json) found. Add description file with name and version, or manually specify version in shared config."}else if(!e.version){n="No version in description file (usually package.json). Add version to description file, or manually specify version in shared config."}else{a=e.version}}if(!a){const s=new o(`No version specified and unable to automatically determine one. ${n}`);s.file=`shared module ${t} -> ${i}`;e.warnings.push(s)}}s.set(i,{config:n,version:a})};n.hooks.module.tap("ProvideSharedPlugin",(e,{resource:t,resourceResolveData:n},o)=>{if(s.has(t)){return e}const{request:c}=o;{const e=i.get(c);if(e!==undefined){a(c,e,t,n);o.cacheable=false}}for(const[e,s]of r){if(c.startsWith(e)){const i=c.slice(e.length);a(t,{...s,shareKey:s.shareKey+i},t,n);o.cacheable=false}}return e})});e.hooks.finishMake.tapPromise("ProvideSharedPlugin",n=>{const s=t.get(n);if(!s)return Promise.resolve();return Promise.all(Array.from(s,([t,{config:s,version:i}])=>new Promise((o,r)=>{n.addInclude(e.context,new c(s.shareScope,s.shareKey,i||false,t,s.eager),{name:undefined},e=>{if(e)return r(e);o()})}))).then(()=>{})});e.hooks.compilation.tap("ProvideSharedPlugin",(e,{normalModuleFactory:t})=>{e.dependencyFactories.set(a,t);e.dependencyFactories.set(c,new u)})}}e.exports=ProvideSharedPlugin},26335:(e,t,n)=>{"use strict";const{parseOptions:s}=n(3083);const i=n(15046);const o=n(31225);const{isRequiredVersion:r}=n(84379);class SharePlugin{constructor(e){const t=s(e.shared,(e,t)=>{if(typeof e!=="string")throw new Error("Unexpected array in shared");const n=e===t||!r(e)?{import:e}:{import:t,requiredVersion:e};return n},e=>e);const n=t.map(([e,t])=>({[e]:{import:t.import,shareKey:t.shareKey||e,shareScope:t.shareScope,requiredVersion:t.requiredVersion,strictVersion:t.strictVersion,singleton:t.singleton,packageName:t.packageName,eager:t.eager}}));const i=t.filter(([,e])=>e.import!==false).map(([e,t])=>({[t.import||e]:{shareKey:t.shareKey||e,shareScope:t.shareScope,version:t.version,eager:t.eager}}));this._shareScope=e.shareScope;this._consumes=n;this._provides=i}apply(e){new i({shareScope:this._shareScope,consumes:this._consumes}).apply(e);new o({shareScope:this._shareScope,provides:this._provides}).apply(e)}}e.exports=SharePlugin},96066:(e,t,n)=>{"use strict";const s=n(16475);const i=n(16963);const o=n(1626);const{compareModulesByIdentifier:r,compareStrings:a}=n(29579);class ShareRuntimeModule extends i{constructor(){super("sharing")}generate(){const{runtimeTemplate:e,chunkGraph:t,codeGenerationResults:n,outputOptions:{uniqueName:i}}=this.compilation;const c=new Map;for(const e of this.chunk.getAllReferencedChunks()){const s=t.getOrderedChunkModulesIterableBySourceType(e,"share-init",r);if(!s)continue;for(const t of s){const s=n.getData(t,e.runtime,"share-init");if(!s)continue;for(const e of s){const{shareScope:t,initStage:n,init:s}=e;let i=c.get(t);if(i===undefined){c.set(t,i=new Map)}let o=i.get(n||0);if(o===undefined){i.set(n||0,o=new Set)}o.add(s)}}}return o.asString([`${s.shareScopeMap} = {};`,"var initPromises = {};","var initTokens = {};",`${s.initializeSharing} = ${e.basicFunction("name, initScope",["if(!initScope) initScope = [];","// handling circular init calls","var initToken = initTokens[name];","if(!initToken) initToken = initTokens[name] = {};","if(initScope.indexOf(initToken) >= 0) return;","initScope.push(initToken);","// only runs once","if(initPromises[name]) return initPromises[name];","// creates a new share scope if needed",`if(!${s.hasOwnProperty}(${s.shareScopeMap}, name)) ${s.shareScopeMap}[name] = {};`,"// runs all init snippets from all modules reachable",`var scope = ${s.shareScopeMap}[name];`,`var warn = ${e.returningFunction('typeof console !== "undefined" && console.warn && console.warn(msg);',"msg")};`,`var uniqueName = ${JSON.stringify(i||undefined)};`,`var register = ${e.basicFunction("name, version, factory",["var versions = scope[name] = scope[name] || {};","var activeVersion = versions[version];","if(!activeVersion || !activeVersion.loaded && uniqueName > activeVersion.from) versions[version] = { get: factory, from: uniqueName };"])};`,`var initExternal = ${e.basicFunction("id",[`var handleError = ${e.returningFunction('warn("Initialization of sharing external failed: " + err)',"err")};`,"try {",o.indent(["var module = __webpack_require__(id);","if(!module) return;",`var initFn = ${e.returningFunction(`module && module.init && module.init(${s.shareScopeMap}[name], initScope)`,"module")}`,"if(module.then) return promises.push(module.then(initFn, handleError));","var initResult = initFn(module);","if(initResult && initResult.then) return promises.push(initResult.catch(handleError));"]),"} catch(err) { handleError(err); }"])}`,"var promises = [];","switch(name) {",...Array.from(c).sort(([e],[t])=>a(e,t)).map(([e,t])=>o.indent([`case ${JSON.stringify(e)}: {`,o.indent(Array.from(t).sort(([e],[t])=>e-t).map(([,e])=>o.asString(Array.from(e)))),"}","break;"])),"}","if(!promises.length) return initPromises[name] = 1;",`return initPromises[name] = Promise.all(promises).then(${e.returningFunction("initPromises[name] = 1")});`])};`])}}e.exports=ShareRuntimeModule},3591:(e,t,n)=>{"use strict";const s=n(32882);const i=n(38938);const o={dependencyType:"esm"};t.resolveMatchedConfigs=((e,t)=>{const n=new Map;const r=new Map;const a=new Map;const c={fileDependencies:new i,contextDependencies:new i,missingDependencies:new i};const u=e.resolverFactory.get("normal",o);const l=e.compiler.context;return Promise.all(t.map(([t,i])=>{if(/^\.\.?(\/|$)/.test(t)){return new Promise(o=>{u.resolve({},l,t,c,(r,a)=>{if(r||a===false){r=r||new Error(`Can't resolve ${t}`);e.errors.push(new s(null,r,{name:`shared module ${t}`}));return o()}n.set(a,i);o()})})}else if(/^(\/|[A-Za-z]:\\|\\\\)/.test(t)){n.set(t,i)}else if(t.endsWith("/")){a.set(t,i)}else{r.set(t,i)}})).then(()=>{e.contextDependencies.addAll(c.contextDependencies);e.fileDependencies.addAll(c.fileDependencies);e.missingDependencies.addAll(c.missingDependencies);return{resolved:n,unresolved:r,prefixed:a}})})},84379:(e,t,n)=>{"use strict";const{join:s,dirname:i,readJson:o}=n(17139);t.isRequiredVersion=(e=>{return/^([\d^=v<>~]|[*xX]$)/.test(e)});const r=(e,t,n,a)=>{let c=0;const u=()=>{if(c>=n.length){const s=i(e,t);if(!s||s===t)return a();return r(e,s,n,a)}const l=s(e,t,n[c]);o(e,l,(e,t)=>{if(e){if("code"in e&&e.code==="ENOENT"){c++;return u()}return a(e)}if(!t||typeof t!=="object"||Array.isArray(t)){return a(new Error(`Description file ${l} is not an object`))}a(null,{data:t,path:l})})};u()};t.getDescriptionFile=r;t.getRequiredVersionFromDescriptionFile=((e,t)=>{if(e.optionalDependencies&&typeof e.optionalDependencies==="object"&&t in e.optionalDependencies){return e.optionalDependencies[t]}if(e.dependencies&&typeof e.dependencies==="object"&&t in e.dependencies){return e.dependencies[t]}if(e.peerDependencies&&typeof e.peerDependencies==="object"&&t in e.peerDependencies){return e.peerDependencies[t]}if(e.devDependencies&&typeof e.devDependencies==="object"&&t in e.devDependencies){return e.devDependencies[t]}})},71760:(e,t,n)=>{"use strict";const s=n(31669);const i=n(80321);const o=n(16734);const{LogType:r}=n(32597);const a=n(15543);const c=n(97198);const u=n(32557);const{compareLocations:l,compareChunksById:d,compareNumbers:p,compareIds:h,concatComparators:f,compareSelect:m,compareModulesByIdentifier:g}=n(29579);const{makePathsRelative:y,parseResource:v}=n(82186);const b=(e,t)=>{const n=new Set;for(const s of e){for(const e of t(s)){n.add(e)}}return Array.from(n)};const k=(e,t,n)=>{return b(e,t).sort(n)};const w=(e,t)=>{const n=Object.create(null);for(const s of Object.keys(e)){n[s]=t(e[s],s)}return n};const x=e=>{let t=0;for(const n of e)t++;return t};const C=(e,t)=>{let n=t(e,"").length;for(const s of e.children){n+=C(s,(e,n)=>t(e,`.children[].compilation${n}`))}return n};const M={_:(e,t,n,{requestShortener:s})=>{if(typeof t==="string"){e.message=t}else{if(t.chunk){e.chunkName=t.chunk.name;e.chunkEntry=t.chunk.hasRuntime();e.chunkInitial=t.chunk.canBeInitial()}if(t.file){e.file=t.file}if(t.module){e.moduleIdentifier=t.module.identifier();e.moduleName=t.module.readableIdentifier(s)}if(t.loc){e.loc=o(t.loc)}e.message=t.message}},ids:(e,t,{compilation:{chunkGraph:n}})=>{if(typeof t!=="string"){if(t.chunk){e.chunkId=t.chunk.id}if(t.module){e.moduleId=n.getModuleId(t.module)}}},moduleTrace:(e,t,n,s,i)=>{if(typeof t!=="string"&&t.module){const{type:s,compilation:{moduleGraph:o}}=n;const r=new Set;const a=[];let c=t.module;while(c){if(r.has(c))break;r.add(c);const e=o.getIssuer(c);if(!e)break;a.push({origin:e,module:c});c=e}e.moduleTrace=i.create(`${s}.moduleTrace`,a,n)}},errorDetails:(e,t)=>{if(typeof t!=="string"){e.details=t.details}},errorStack:(e,t)=>{if(typeof t!=="string"){e.stack=t.stack}}};const S={compilation:{_:(e,t,n)=>{if(!n.makePathsRelative){n.makePathsRelative=y.bindContextCache(t.compiler.context,t.compiler.root)}if(!n.cachedGetErrors){const e=new WeakMap;n.cachedGetErrors=(t=>{return e.get(t)||(n=>(e.set(t,n),n))(t.getErrors())})}if(!n.cachedGetWarnings){const e=new WeakMap;n.cachedGetWarnings=(t=>{return e.get(t)||(n=>(e.set(t,n),n))(t.getWarnings())})}if(t.name){e.name=t.name}if(t.needAdditionalPass){e.needAdditionalPass=true}},hash:(e,t)=>{e.hash=t.hash},version:e=>{e.version=n(87168).i8},env:(e,t,n,{_env:s})=>{e.env=s},timings:(e,t)=>{e.time=t.endTime-t.startTime},builtAt:(e,t)=>{e.builtAt=t.endTime},publicPath:(e,t)=>{e.publicPath=t.getPath(t.outputOptions.publicPath)},outputPath:(e,t)=>{e.outputPath=t.outputOptions.path},assets:(e,t,n,s,i)=>{const{type:o}=n;const r=new Map;const a=new Map;for(const e of t.chunks){for(const t of e.files){let n=r.get(t);if(n===undefined){n=[];r.set(t,n)}n.push(e)}for(const t of e.auxiliaryFiles){let n=a.get(t);if(n===undefined){n=[];a.set(t,n)}n.push(e)}}const c=new Map;const u=new Set;for(const e of t.getAssets()){const t={...e,type:"asset",related:undefined};u.add(t);c.set(e.name,t)}for(const e of c.values()){const t=e.info.related;if(!t)continue;for(const n of Object.keys(t)){const s=t[n];const i=Array.isArray(s)?s:[s];for(const t of i){const s=c.get(t);if(!s)continue;u.delete(s);s.type=n;e.related=e.related||[];e.related.push(s)}}}e.assetsByChunkName={};for(const[t,n]of r){for(const s of n){const n=s.name;if(!n)continue;if(!Object.prototype.hasOwnProperty.call(e.assetsByChunkName,n)){e.assetsByChunkName[n]=[]}e.assetsByChunkName[n].push(t)}}const l=i.create(`${o}.assets`,Array.from(u),{...n,compilationFileToChunks:r,compilationAuxiliaryFileToChunks:a});const d=q(l,s.assetsSpace);e.assets=d.children;e.filteredAssets=d.filteredChildren},chunks:(e,t,n,s,i)=>{const{type:o}=n;e.chunks=i.create(`${o}.chunks`,Array.from(t.chunks),n)},modules:(e,t,n,s,i)=>{const{type:o}=n;const r=Array.from(t.modules);const a=i.create(`${o}.modules`,r,n);const c=q(a,s.modulesSpace);e.modules=c.children;e.filteredModules=c.filteredChildren},entrypoints:(e,t,n,{entrypoints:s,chunkGroups:i,chunkGroupAuxiliary:o,chunkGroupChildren:r},a)=>{const{type:c}=n;const u=Array.from(t.entrypoints,([e,t])=>({name:e,chunkGroup:t}));if(s==="auto"&&!i){if(u.length>5)return;if(!r&&u.every(({chunkGroup:e})=>{if(e.chunks.length!==1)return false;const t=e.chunks[0];return t.files.size===1&&(!o||t.auxiliaryFiles.size===0)})){return}}e.entrypoints=a.create(`${c}.entrypoints`,u,n)},chunkGroups:(e,t,n,s,i)=>{const{type:o}=n;const r=Array.from(t.namedChunkGroups,([e,t])=>({name:e,chunkGroup:t}));e.namedChunkGroups=i.create(`${o}.namedChunkGroups`,r,n)},errors:(e,t,n,s,i)=>{const{type:o,cachedGetErrors:r}=n;e.errors=i.create(`${o}.errors`,r(t),n)},errorsCount:(e,t,{cachedGetErrors:n})=>{e.errorsCount=C(t,e=>n(e))},warnings:(e,t,n,s,i)=>{const{type:o,cachedGetWarnings:r}=n;e.warnings=i.create(`${o}.warnings`,r(t),n)},warningsCount:(e,t,n,{warningsFilter:s},i)=>{const{type:o,cachedGetWarnings:r}=n;e.warningsCount=C(t,(e,t)=>{if(!s&&s.length===0)return r(e);return i.create(`${o}${t}.warnings`,r(e),n).filter(e=>{const t=Object.keys(e).map(t=>`${e[t]}`).join("\n");return!s.some(n=>n(e,t))})})},logging:(e,t,s,i,o)=>{const a=n(31669);const{loggingDebug:c,loggingTrace:u,context:l}=i;e.logging={};let d;let p=false;switch(i.logging){case"none":d=new Set([]);break;case"error":d=new Set([r.error]);break;case"warn":d=new Set([r.error,r.warn]);break;case"info":d=new Set([r.error,r.warn,r.info]);break;case"log":d=new Set([r.error,r.warn,r.info,r.log,r.group,r.groupEnd,r.groupCollapsed,r.clear]);break;case"verbose":d=new Set([r.error,r.warn,r.info,r.log,r.group,r.groupEnd,r.groupCollapsed,r.profile,r.profileEnd,r.time,r.status,r.clear]);p=true;break}const h=y.bindContextCache(l,t.compiler.root);let f=0;for(const[n,s]of t.logging){const t=c.some(e=>e(n));const i=[];const o=[];let l=o;let m=0;for(const e of s){let n=e.type;if(!t&&!d.has(n))continue;if(n===r.groupCollapsed&&(t||p))n=r.group;if(f===0){m++}if(n===r.groupEnd){i.pop();if(i.length>0){l=i[i.length-1].children}else{l=o}if(f>0)f--;continue}let s=undefined;if(e.type===r.time){s=`${e.args[0]}: ${e.args[1]*1e3+e.args[2]/1e6} ms`}else if(e.args&&e.args.length>0){s=a.format(e.args[0],...e.args.slice(1))}const c={...e,type:n,message:s,trace:u?e.trace:undefined,children:n===r.group||n===r.groupCollapsed?[]:undefined};l.push(c);if(c.children){i.push(c);l=c.children;if(f>0){f++}else if(n===r.groupCollapsed){f=1}}}let g=h(n).replace(/\|/g," ");if(g in e.logging){let t=1;while(`${g}#${t}`in e.logging){t++}g=`${g}#${t}`}e.logging[g]={entries:o,filteredEntries:s.length-m,debug:t}}},children:(e,t,n,s,i)=>{const{type:o}=n;e.children=i.create(`${o}.children`,t.children,n)}},asset:{_:(e,t,n,s,i)=>{const{compilation:o}=n;e.type=t.type;e.name=t.name;e.size=t.source.size();e.emitted=o.emittedAssets.has(t.name);e.comparedForEmit=o.comparedForEmitAssets.has(t.name);const r=!e.emitted&&!e.comparedForEmit;e.cached=r;e.info=t.info;if(!r||s.cachedAssets){Object.assign(e,i.create(`${n.type}$visible`,t,n))}}},asset$visible:{_:(e,t,{compilation:n,compilationFileToChunks:s,compilationAuxiliaryFileToChunks:i})=>{const o=s.get(t.name)||[];const r=i.get(t.name)||[];e.chunkNames=k(o,e=>e.name?[e.name]:[],h);e.chunkIdHints=k(o,e=>Array.from(e.idNameHints),h);e.auxiliaryChunkNames=k(r,e=>e.name?[e.name]:[],h);e.auxiliaryChunkIdHints=k(r,e=>Array.from(e.idNameHints),h);e.filteredRelated=t.related?t.related.length:undefined},relatedAssets:(e,t,n,s,i)=>{const{type:o}=n;e.related=i.create(`${o.slice(0,-8)}.related`,t.related,n);e.filteredRelated=t.related?t.related.length-e.related.length:undefined},ids:(e,t,{compilationFileToChunks:n,compilationAuxiliaryFileToChunks:s})=>{const i=n.get(t.name)||[];const o=s.get(t.name)||[];e.chunks=k(i,e=>e.ids,h);e.auxiliaryChunks=k(o,e=>e.ids,h)},performance:(e,t)=>{e.isOverSizeLimit=u.isOverSizeLimit(t.source)}},chunkGroup:{_:(e,{name:t,chunkGroup:n},{compilation:s,compilation:{moduleGraph:i,chunkGraph:o}},{ids:r,chunkGroupAuxiliary:a,chunkGroupChildren:c,chunkGroupMaxAssets:u})=>{const l=c&&n.getChildrenByOrders(i,o);const d=e=>{const t=s.getAsset(e);return{name:e,size:t?t.info.size:-1}};const p=(e,{size:t})=>e+t;const f=b(n.chunks,e=>e.files).map(d);const m=k(n.chunks,e=>e.auxiliaryFiles,h).map(d);const g=f.reduce(p,0);const y=m.reduce(p,0);Object.assign(e,{name:t,chunks:r?n.chunks.map(e=>e.id):undefined,assets:f.length<=u?f:undefined,filteredAssets:f.length<=u?0:f.length,assetsSize:g,auxiliaryAssets:a&&m.length<=u?m:undefined,filteredAuxiliaryAssets:a&&m.length<=u?0:m.length,auxiliaryAssetsSize:y,children:l?w(l,e=>e.map(e=>{const t=b(e.chunks,e=>e.files).map(d);const n=k(e.chunks,e=>e.auxiliaryFiles,h).map(d);return{name:e.name,chunks:r?e.chunks.map(e=>e.id):undefined,assets:t.length<=u?t:undefined,filteredAssets:t.length<=u?0:t.length,auxiliaryAssets:a&&n.length<=u?n:undefined,filteredAuxiliaryAssets:a&&n.length<=u?0:n.length}})):undefined,childAssets:l?w(l,e=>{const t=new Set;for(const n of e){for(const e of n.chunks){for(const n of e.files){t.add(n)}}}return Array.from(t)}):undefined})},performance:(e,{chunkGroup:t})=>{e.isOverSizeLimit=u.isOverSizeLimit(t)}},module:{_:(e,t,n,s,i)=>{const{compilation:o,type:r}=n;const a=o.builtModules.has(t);const c=o.codeGeneratedModules.has(t);const u={};for(const e of t.getSourceTypes()){u[e]=t.size(e)}Object.assign(e,{type:"module",moduleType:t.type,size:t.size(),sizes:u,built:a,codeGenerated:c,cached:!a&&!c});if(a||c||s.cachedModules){Object.assign(e,i.create(`${r}$visible`,t,n))}}},module$visible:{_:(e,t,n,{requestShortener:s},i)=>{const{compilation:o,type:r,rootModules:a}=n;const{moduleGraph:c}=o;const u=[];const l=c.getIssuer(t);let d=l;while(d){u.push(d);d=c.getIssuer(d)}u.reverse();const p=c.getProfile(t);const h=t.getErrors();const f=h!==undefined?x(h):0;const m=t.getWarnings();const g=m!==undefined?x(m):0;const y={};for(const e of t.getSourceTypes()){y[e]=t.size(e)}Object.assign(e,{identifier:t.identifier(),name:t.readableIdentifier(s),nameForCondition:t.nameForCondition(),index:c.getPreOrderIndex(t),preOrderIndex:c.getPreOrderIndex(t),index2:c.getPostOrderIndex(t),postOrderIndex:c.getPostOrderIndex(t),cacheable:t.buildInfo.cacheable,optional:t.isOptional(c),orphan:!r.endsWith("module.modules[].module$visible")&&o.chunkGraph.getNumberOfModuleChunks(t)===0,dependent:a?!a.has(t):undefined,issuer:l&&l.identifier(),issuerName:l&&l.readableIdentifier(s),issuerPath:l&&i.create(`${r.slice(0,-8)}.issuerPath`,u,n),failed:f>0,errors:f,warnings:g});if(p){e.profile=i.create(`${r.slice(0,-8)}.profile`,p,n)}},ids:(e,t,{compilation:{chunkGraph:n,moduleGraph:s}})=>{e.id=n.getModuleId(t);const i=s.getIssuer(t);e.issuerId=i&&n.getModuleId(i);e.chunks=Array.from(n.getOrderedModuleChunksIterable(t,d),e=>e.id)},moduleAssets:(e,t)=>{e.assets=t.buildInfo.assets?Object.keys(t.buildInfo.assets):[]},reasons:(e,t,n,s,i)=>{const{type:o,compilation:{moduleGraph:r}}=n;e.reasons=i.create(`${o.slice(0,-8)}.reasons`,Array.from(r.getIncomingConnections(t)),n)},usedExports:(e,t,{runtime:n,compilation:{moduleGraph:s}})=>{const i=s.getUsedExports(t,n);if(i===null){e.usedExports=null}else if(typeof i==="boolean"){e.usedExports=i}else{e.usedExports=Array.from(i)}},providedExports:(e,t,{compilation:{moduleGraph:n}})=>{const s=n.getProvidedExports(t);e.providedExports=Array.isArray(s)?s:null},optimizationBailout:(e,t,{compilation:{moduleGraph:n}},{requestShortener:s})=>{e.optimizationBailout=n.getOptimizationBailout(t).map(e=>{if(typeof e==="function")return e(s);return e})},depth:(e,t,{compilation:{moduleGraph:n}})=>{e.depth=n.getDepth(t)},nestedModules:(e,t,n,s,i)=>{const{type:o}=n;if(t instanceof c){const r=t.modules;const a=i.create(`${o.slice(0,-8)}.modules`,r,n);const c=q(a,s.nestedModulesSpace);e.modules=c.children;e.filteredModules=c.filteredChildren}},source:(e,t)=>{const n=t.originalSource();if(n){e.source=n.source()}}},profile:{_:(e,t)=>{Object.assign(e,{total:t.factory+t.restoring+t.integration+t.building+t.storing,resolving:t.factory,restoring:t.restoring,building:t.building,integration:t.integration,storing:t.storing,additionalResolving:t.additionalFactories,additionalIntegration:t.additionalIntegration,factory:t.factory,dependencies:t.additionalFactories})}},moduleIssuer:{_:(e,t,n,{requestShortener:s},i)=>{const{compilation:o,type:r}=n;const{moduleGraph:a}=o;const c=a.getProfile(t);Object.assign(e,{identifier:t.identifier(),name:t.readableIdentifier(s)});if(c){e.profile=i.create(`${r}.profile`,c,n)}},ids:(e,t,{compilation:{chunkGraph:n}})=>{e.id=n.getModuleId(t)}},moduleReason:{_:(e,t,{runtime:n},{requestShortener:s})=>{const r=t.dependency;const a=r&&r instanceof i?r:undefined;Object.assign(e,{moduleIdentifier:t.originModule?t.originModule.identifier():null,module:t.originModule?t.originModule.readableIdentifier(s):null,moduleName:t.originModule?t.originModule.readableIdentifier(s):null,resolvedModuleIdentifier:t.resolvedOriginModule?t.resolvedOriginModule.identifier():null,resolvedModule:t.resolvedOriginModule?t.resolvedOriginModule.readableIdentifier(s):null,type:t.dependency?t.dependency.type:null,active:t.isActive(n),explanation:t.explanation,userRequest:a&&a.userRequest||null});if(t.dependency){const n=o(t.dependency.loc);if(n){e.loc=n}}},ids:(e,t,{compilation:{chunkGraph:n}})=>{e.moduleId=t.originModule?n.getModuleId(t.originModule):null;e.resolvedModuleId=t.resolvedOriginModule?n.getModuleId(t.resolvedOriginModule):null}},chunk:{_:(e,t,{makePathsRelative:n,compilation:{chunkGraph:s}})=>{const i=t.getChildIdsByOrders(s);Object.assign(e,{rendered:t.rendered,initial:t.canBeInitial(),entry:t.hasRuntime(),recorded:a.wasChunkRecorded(t),reason:t.chunkReason,size:s.getChunkModulesSize(t),sizes:s.getChunkModulesSizes(t),names:t.name?[t.name]:[],idHints:Array.from(t.idNameHints),runtime:t.runtime===undefined?undefined:typeof t.runtime==="string"?[n(t.runtime)]:Array.from(t.runtime.sort(),n),files:Array.from(t.files),auxiliaryFiles:Array.from(t.auxiliaryFiles).sort(h),hash:t.renderedHash,childrenByOrder:i})},ids:(e,t)=>{e.id=t.id},chunkRelations:(e,t,{compilation:{chunkGraph:n}})=>{const s=new Set;const i=new Set;const o=new Set;for(const e of t.groupsIterable){for(const t of e.parentsIterable){for(const e of t.chunks){s.add(e.id)}}for(const t of e.childrenIterable){for(const e of t.chunks){i.add(e.id)}}for(const n of e.chunks){if(n!==t)o.add(n.id)}}e.siblings=Array.from(o).sort(h);e.parents=Array.from(s).sort(h);e.children=Array.from(i).sort(h)},chunkModules:(e,t,n,s,i)=>{const{type:o,compilation:{chunkGraph:r}}=n;const a=r.getChunkModules(t);const c=i.create(`${o}.modules`,a,{...n,runtime:t.runtime,rootModules:new Set(r.getChunkRootModules(t))});const u=q(c,s.chunkModulesSpace);e.modules=u.children;e.filteredModules=u.filteredChildren},chunkOrigins:(e,t,n,s,i)=>{const{type:r,compilation:{chunkGraph:a}}=n;const c=new Set;const u=[];for(const e of t.groupsIterable){u.push(...e.origins)}const l=u.filter(e=>{const t=[e.module?a.getModuleId(e.module):undefined,o(e.loc),e.request].join();if(c.has(t))return false;c.add(t);return true});e.origins=i.create(`${r}.origins`,l,n)}},chunkOrigin:{_:(e,t,n,{requestShortener:s})=>{Object.assign(e,{module:t.module?t.module.identifier():"",moduleIdentifier:t.module?t.module.identifier():"",moduleName:t.module?t.module.readableIdentifier(s):"",loc:o(t.loc),request:t.request})},ids:(e,t,{compilation:{chunkGraph:n}})=>{e.moduleId=t.module?n.getModuleId(t.module):undefined}},error:M,warning:M,moduleTraceItem:{_:(e,{origin:t,module:n},s,{requestShortener:i},o)=>{const{type:r,compilation:{moduleGraph:a}}=s;e.originIdentifier=t.identifier();e.originName=t.readableIdentifier(i);e.moduleIdentifier=n.identifier();e.moduleName=n.readableIdentifier(i);const c=Array.from(a.getIncomingConnections(n)).filter(e=>e.resolvedOriginModule===t&&e.dependency).map(e=>e.dependency);e.dependencies=o.create(`${r}.dependencies`,Array.from(new Set(c)),s)},ids:(e,{origin:t,module:n},{compilation:{chunkGraph:s}})=>{e.originId=s.getModuleId(t);e.moduleId=s.getModuleId(n)}},moduleTraceDependency:{_:(e,t)=>{e.loc=o(t.loc)}}};const O={"module.reasons":{"!orphanModules":(e,{compilation:{chunkGraph:t}})=>{if(e.originModule&&t.getNumberOfModuleChunks(e.originModule)===0){return false}}}};const T={"compilation.warnings":{warningsFilter:s.deprecate((e,t,{warningsFilter:n})=>{const s=Object.keys(e).map(t=>`${e[t]}`).join("\n");return!n.some(t=>t(e,s))},"config.stats.warningsFilter is deprecated in favor of config.ignoreWarnings","DEP_WEBPACK_STATS_WARNINGS_FILTER")}};const P={_:(e,{compilation:{moduleGraph:t}})=>{e.push(m(e=>t.getDepth(e),p),m(e=>t.getPreOrderIndex(e),p),m(e=>e.identifier(),h))}};const $={"compilation.chunks":{_:e=>{e.push(m(e=>e.id,h))}},"compilation.modules":P,"chunk.rootModules":P,"chunk.modules":P,"module.modules":P,"module.reasons":{_:(e,{compilation:{chunkGraph:t}})=>{e.push(m(e=>e.originModule,g));e.push(m(e=>e.resolvedOriginModule,g));e.push(m(e=>e.dependency,f(m(e=>e.loc,l),m(e=>e.type,h))))}},"chunk.origins":{_:(e,{compilation:{chunkGraph:t}})=>{e.push(m(e=>e.module?t.getModuleId(e.module):undefined,h),m(e=>o(e.loc),h),m(e=>e.request,h))}}};const F=e=>{return!e.children?1:e.filteredChildren?2+j(e.children):1+j(e.children)};const j=e=>{let t=0;for(const n of e){t+=F(n)}return t};const _=e=>{let t=0;for(const n of e){if(!n.children&&!n.filteredChildren){t++}else{if(n.children)t+=_(n.children);if(n.filteredChildren)t+=n.filteredChildren}}return t};const z=e=>{const t=[];for(const n of e){if(n.children){let e=n.filteredChildren||0;e+=_(n.children);t.push({...n,children:undefined,filteredChildren:e})}else{t.push(n)}}return t};const q=(e,t)=>{let n=undefined;let s=undefined;const i=e.filter(e=>e.children||e.filteredChildren);const o=i.map(e=>F(e));const r=e.filter(e=>!e.children&&!e.filteredChildren);let a=o.reduce((e,t)=>e+t,0);if(a+r.length<=t){n=i.concat(r)}else if(i.length>0&&i.length+Math.min(1,r.length)t){const e=r.length+a+(s?1:0)-t;const n=Math.max(...o);if(n0&&i.length+Math.min(1,r.length)<=t){n=i.length?z(i):undefined;s=r.length}else{s=_(e)}return{children:n,filteredChildren:s}};const W=(e,t)=>{let n=0;for(const t of e){n+=t.size}return{size:n}};const A=(e,t)=>{let n=0;const s={};for(const t of e){n+=t.size;for(const e of Object.keys(t.sizes)){s[e]=(s[e]||0)+t.sizes[e]}}return{size:n,sizes:s}};const G={_:(e,t,n)=>{const s=(t,n)=>{e.push({getKeys:e=>{return e[t]?["1"]:undefined},getOptions:()=>{return{groupChildren:!n,force:n}},createGroup:(e,s,i)=>{return n?{type:"assets by status",[t]:!!e,filteredChildren:i.length,...W(s,i)}:{type:"assets by status",[t]:!!e,children:s,...W(s,i)}}})};const{groupAssetsByEmitStatus:i,groupAssetsByPath:o,groupAssetsByExtension:r}=n;if(i){s("emitted");s("comparedForEmit");s("isOverSizeLimit")}if(i||!n.cachedAssets){s("cached",!n.cachedAssets)}if(o||r){e.push({getKeys:e=>{const t=r&&/(\.[^.]+)(?:\?.*|$)/.exec(e.name);const n=t?t[1]:"";const s=o&&/(.+)[/\\][^/\\]+(?:\?.*|$)/.exec(e.name);const i=s?s[1].split(/[/\\]/):[];const a=[];if(o){a.push(".");if(n)a.push(i.length?`${i.join("/")}/*${n}`:`*${n}`);while(i.length>0){a.push(i.join("/")+"/");i.pop()}}else{if(n)a.push(`*${n}`)}return a},createGroup:(e,t,n)=>{return{type:o?"assets by path":"assets by extension",name:e,children:t,...W(t,n)}}})}},groupAssetsByInfo:(e,t,n)=>{const s=t=>{e.push({getKeys:e=>{return e.info&&e.info[t]?["1"]:undefined},createGroup:(e,n,s)=>{return{type:"assets by info",info:{[t]:!!e},children:n,...W(n,s)}}})};s("immutable");s("development");s("hotModuleReplacement")},groupAssetsByChunk:(e,t,n)=>{const s=t=>{e.push({getKeys:e=>{return e[t]},createGroup:(e,n,s)=>{return{type:"assets by chunk",[t]:[e],children:n,...W(n,s)}}})};s("chunkNames");s("auxiliaryChunkNames");s("chunkIdHints");s("auxiliaryChunkIdHints")},excludeAssets:(e,t,{excludeAssets:n})=>{e.push({getKeys:e=>{const t=e.name;const s=n.some(n=>n(t,e));if(s)return["excluded"]},getOptions:()=>({groupChildren:false,force:true}),createGroup:(e,t,n)=>({type:"hidden assets",filteredChildren:n.length,...W(t,n)})})}};const B=e=>({_:(e,t,n)=>{const s=(t,n,s)=>{e.push({getKeys:e=>{return e[t]?["1"]:undefined},getOptions:()=>{return{groupChildren:!s,force:s}},createGroup:(e,i,o)=>{return{type:n,[t]:!!e,...s?{filteredChildren:o.length}:{children:i},...A(i,o)}}})};const{groupModulesByCacheStatus:i,groupModulesByAttributes:o,groupModulesByType:r,groupModulesByPath:a,groupModulesByExtension:c}=n;if(o){s("errors","modules with errors");s("warnings","modules with warnings");s("assets","modules with assets");s("optional","optional modules")}if(i){s("cacheable","cacheable modules");s("built","built modules");s("codeGenerated","code generated modules")}if(i||!n.cachedModules){s("cached","cached modules",!n.cachedModules)}if(o||!n.orphanModules){s("orphan","orphan modules",!n.orphanModules)}if(o||!n.dependentModules){s("dependent","dependent modules",!n.dependentModules)}if(r||!n.runtimeModules){e.push({getKeys:e=>{if(!e.moduleType)return;if(r){return[e.moduleType.split("/",1)[0]]}else if(e.moduleType==="runtime"){return["runtime"]}},getOptions:e=>{const t=e==="runtime"&&!n.runtimeModules;return{groupChildren:!t,force:t}},createGroup:(e,t,s)=>{const i=e==="runtime"&&!n.runtimeModules;return{type:`${e} modules`,moduleType:e,...i?{filteredChildren:s.length}:{children:t},...A(t,s)}}})}if(a||c){e.push({getKeys:e=>{if(!e.name)return;const t=v(e.name.split("!").pop()).path;const n=c&&/(\.[^.]+)(?:\?.*|$)/.exec(t);const s=n?n[1]:"";const i=a&&/(.+)[/\\][^/\\]+(?:\?.*|$)/.exec(t);const o=i?i[1].split(/[/\\]/):[];const r=[];if(a){if(s)r.push(o.length?`${o.join("/")}/*${s}`:`*${s}`);while(o.length>0){r.push(o.join("/")+"/");o.pop()}}else{if(s)r.push(`*${s}`)}return r},createGroup:(e,t,n)=>{return{type:a?"modules by path":"modules by extension",name:e,children:t,...A(t,n)}}})}},excludeModules:(t,n,{excludeModules:s})=>{t.push({getKeys:t=>{const n=t.name;if(n){const i=s.some(s=>s(n,t,e));if(i)return["1"]}},getOptions:()=>({groupChildren:false,force:true}),createGroup:(e,t,n)=>({type:"hidden modules",filteredChildren:t.length,...A(t,n)})})}});const R={"compilation.assets":G,"asset.related":G,"compilation.modules":B("module"),"chunk.modules":B("chunk"),"chunk.rootModules":B("root-of-chunk"),"module.modules":B("nested")};const J=e=>{if(e[0]==="!"){return e.substr(1)}return e};const V=e=>{if(e[0]==="!"){return false}return true};const I=e=>{if(!e){const e=(e,t)=>0;return e}const t=J(e);let n=m(e=>e[t],h);const s=V(e);if(!s){const e=n;n=((t,n)=>e(n,t))}return n};const D={assetsSort:(e,t,{assetsSort:n})=>{e.push(I(n))},_:e=>{e.push(m(e=>e.name,h))}};const K={"compilation.chunks":{chunksSort:(e,t,{chunksSort:n})=>{e.push(I(n))}},"compilation.modules":{modulesSort:(e,t,{modulesSort:n})=>{e.push(I(n))}},"chunk.modules":{chunkModulesSort:(e,t,{chunkModulesSort:n})=>{e.push(I(n))}},"module.modules":{nestedModulesSort:(e,t,{nestedModulesSort:n})=>{e.push(I(n))}},"compilation.assets":D,"asset.related":D};const X=(e,t,n)=>{for(const s of Object.keys(e)){const i=e[s];for(const e of Object.keys(i)){if(e!=="_"){if(e.startsWith("!")){if(t[e.slice(1)])continue}else{const n=t[e];if(n===false||n===undefined||Array.isArray(n)&&n.length===0)continue}}n(s,i[e])}}};const N={"compilation.children[]":"compilation","compilation.modules[]":"module","compilation.entrypoints[]":"chunkGroup","compilation.namedChunkGroups[]":"chunkGroup","compilation.errors[]":"error","compilation.warnings[]":"warning","chunk.modules[]":"module","chunk.rootModules[]":"module","chunk.origins[]":"chunkOrigin","compilation.chunks[]":"chunk","compilation.assets[]":"asset","asset.related[]":"asset","module.issuerPath[]":"moduleIssuer","module.reasons[]":"moduleReason","module.modules[]":"module","module.children[]":"module","moduleTrace[]":"moduleTraceItem","moduleTraceItem.dependencies[]":"moduleTraceDependency"};const L=e=>{const t=Object.create(null);for(const n of e){t[n.name]=n}return t};const Q={"compilation.entrypoints":L,"compilation.namedChunkGroups":L};class DefaultStatsFactoryPlugin{apply(e){e.hooks.compilation.tap("DefaultStatsFactoryPlugin",e=>{e.hooks.statsFactory.tap("DefaultStatsFactoryPlugin",(t,n,s)=>{X(S,n,(e,s)=>{t.hooks.extract.for(e).tap("DefaultStatsFactoryPlugin",(e,i,o)=>s(e,i,o,n,t))});X(O,n,(e,s)=>{t.hooks.filter.for(e).tap("DefaultStatsFactoryPlugin",(e,t,i,o)=>s(e,t,n,i,o))});X(T,n,(e,s)=>{t.hooks.filterResults.for(e).tap("DefaultStatsFactoryPlugin",(e,t,i,o)=>s(e,t,n,i,o))});X($,n,(e,s)=>{t.hooks.sort.for(e).tap("DefaultStatsFactoryPlugin",(e,t)=>s(e,t,n))});X(K,n,(e,s)=>{t.hooks.sortResults.for(e).tap("DefaultStatsFactoryPlugin",(e,t)=>s(e,t,n))});X(R,n,(e,s)=>{t.hooks.groupResults.for(e).tap("DefaultStatsFactoryPlugin",(e,t)=>s(e,t,n))});for(const e of Object.keys(N)){const n=N[e];t.hooks.getItemName.for(e).tap("DefaultStatsFactoryPlugin",()=>n)}for(const e of Object.keys(Q)){const n=Q[e];t.hooks.merge.for(e).tap("DefaultStatsFactoryPlugin",n)}if(n.children){if(Array.isArray(n.children)){t.hooks.getItemFactory.for("compilation.children[].compilation").tap("DefaultStatsFactoryPlugin",(t,{_index:i})=>{if(i{return i})}}})})}}e.exports=DefaultStatsFactoryPlugin},55442:(e,t,n)=>{"use strict";const s=n(73406);const i=(e,t)=>{for(const n of Object.keys(t)){if(typeof e[n]==="undefined"){e[n]=t[n]}}};const o={verbose:{hash:true,builtAt:true,relatedAssets:true,entrypoints:true,chunkGroups:true,ids:true,modules:false,chunks:true,chunkRelations:true,chunkModules:true,dependentModules:true,chunkOrigins:true,depth:true,env:true,reasons:true,usedExports:true,providedExports:true,optimizationBailout:true,errorDetails:true,errorStack:true,publicPath:true,logging:"verbose",orphanModules:true,runtimeModules:true,exclude:false,modulesSpace:Infinity,assetsSpace:Infinity,children:true},detailed:{hash:true,builtAt:true,relatedAssets:true,entrypoints:true,chunkGroups:true,ids:true,chunks:true,chunkRelations:true,chunkModules:false,chunkOrigins:true,depth:true,usedExports:true,providedExports:true,optimizationBailout:true,errorDetails:true,publicPath:true,logging:true,runtimeModules:true,exclude:false,modulesSpace:Infinity,assetsSpace:Infinity},minimal:{all:false,version:true,timings:true,modules:true,modulesSpace:0,assets:true,assetsSpace:0,errors:true,errorsCount:true,warnings:true,warningsCount:true,logging:"warn"},"errors-only":{all:false,errors:true,errorsCount:true,moduleTrace:true,logging:"error"},"errors-warnings":{all:false,errors:true,errorsCount:true,warnings:true,warningsCount:true,logging:"warn"},summary:{all:false,version:true,errorsCount:true,warningsCount:true},none:{all:false}};const r=({all:e})=>e!==false;const a=({all:e})=>e===true;const c=({all:e},{forToString:t})=>t?e!==false:e===true;const u=({all:e},{forToString:t})=>t?e===true:e!==false;const l={context:(e,t,n)=>n.compiler.context,requestShortener:(e,t,n)=>n.compiler.context===e.context?n.requestShortener:new s(e.context,n.compiler.root),performance:r,hash:u,env:a,version:r,timings:r,builtAt:u,assets:r,entrypoints:({all:e},{forToString:t})=>{if(e===false)return false;if(e===true)return true;if(t)return"auto";return true},chunkGroups:u,chunkGroupAuxiliary:u,chunkGroupChildren:u,chunkGroupMaxAssets:(e,{forToString:t})=>t?5:Infinity,chunks:u,chunkRelations:u,chunkModules:({all:e,modules:t})=>{if(e===false)return false;if(e===true)return true;if(t)return false;return true},dependentModules:u,chunkOrigins:u,ids:u,modules:({all:e,chunks:t,chunkModules:n},{forToString:s})=>{if(e===false)return false;if(e===true)return true;if(s&&t&&n)return false;return true},nestedModules:u,groupModulesByType:c,groupModulesByCacheStatus:c,groupModulesByAttributes:c,groupModulesByPath:c,groupModulesByExtension:c,modulesSpace:(e,{forToString:t})=>t?15:Infinity,chunkModulesSpace:(e,{forToString:t})=>t?10:Infinity,nestedModulesSpace:(e,{forToString:t})=>t?10:Infinity,relatedAssets:u,groupAssetsByEmitStatus:c,groupAssetsByInfo:c,groupAssetsByPath:c,groupAssetsByExtension:c,groupAssetsByChunk:c,assetsSpace:(e,{forToString:t})=>t?15:Infinity,orphanModules:u,runtimeModules:({all:e,runtime:t},{forToString:n})=>t!==undefined?t:n?e===true:e!==false,cachedModules:({all:e,cached:t},{forToString:n})=>t!==undefined?t:n?e===true:e!==false,moduleAssets:u,depth:u,cachedAssets:u,reasons:u,usedExports:u,providedExports:u,optimizationBailout:u,children:u,source:a,moduleTrace:r,errors:r,errorsCount:r,errorDetails:u,errorStack:u,warnings:r,warningsCount:r,publicPath:u,logging:({all:e},{forToString:t})=>t&&e!==false?"info":false,loggingDebug:()=>[],loggingTrace:u,excludeModules:()=>[],excludeAssets:()=>[],modulesSort:()=>"depth",chunkModulesSort:()=>"name",nestedModulesSort:()=>false,chunksSort:()=>false,assetsSort:()=>"!size",outputPath:u,colors:()=>false};const d=e=>{if(typeof e==="string"){const t=new RegExp(`[\\\\/]${e.replace(/[-[\]{}()*+?.\\^$|]/g,"\\$&")}([\\\\/]|$|!|\\?)`);return e=>t.test(e)}if(e&&typeof e==="object"&&typeof e.test==="function"){return t=>e.test(t)}if(typeof e==="function"){return e}if(typeof e==="boolean"){return()=>e}};const p={excludeModules:e=>{if(!Array.isArray(e)){e=e?[e]:[]}return e.map(d)},excludeAssets:e=>{if(!Array.isArray(e)){e=e?[e]:[]}return e.map(d)},warningsFilter:e=>{if(!Array.isArray(e)){e=e?[e]:[]}return e.map(e=>{if(typeof e==="string"){return(t,n)=>n.includes(e)}if(e instanceof RegExp){return(t,n)=>e.test(n)}if(typeof e==="function"){return e}throw new Error(`Can only filter warnings with Strings or RegExps. (Given: ${e})`)})},logging:e=>{if(e===true)e="log";return e},loggingDebug:e=>{if(!Array.isArray(e)){e=e?[e]:[]}return e.map(d)}};class DefaultStatsPresetPlugin{apply(e){e.hooks.compilation.tap("DefaultStatsPresetPlugin",e=>{for(const t of Object.keys(o)){const n=o[t];e.hooks.statsPreset.for(t).tap("DefaultStatsPresetPlugin",(e,t)=>{i(e,n)})}e.hooks.statsNormalize.tap("DefaultStatsPresetPlugin",(t,n)=>{for(const s of Object.keys(l)){if(t[s]===undefined)t[s]=l[s](t,n,e)}for(const e of Object.keys(p)){t[e]=p[e](t[e])}})})}}e.exports=DefaultStatsPresetPlugin},58692:(e,t,n)=>{"use strict";const s=(e,t,n)=>e===1?t:n;const i=(e,{formatSize:t=(e=>`${e}`)})=>{const n=Object.keys(e);if(n.length>1){return n.map(n=>`${t(e[n])} (${n})`).join(" ")}else if(n.length===1){return t(e[n[0]])}};const o=(e,t)=>e.split("\n").map(t).join("\n");const r=e=>e>=10?`${e}`:`0${e}`;const a=e=>{return typeof e==="number"||e};const c={"compilation.summary!":(e,{type:t,bold:n,green:i,red:o,yellow:r,formatDateTime:a,formatTime:c,compilation:{name:u,hash:l,version:d,time:p,builtAt:h,errorsCount:f,warningsCount:m}})=>{const g=t==="compilation.summary!";const y=m>0?r(`${m} ${s(m,"warning","warnings")}`):"";const v=f>0?o(`${f} ${s(f,"error","errors")}`):"";const b=g&&p?` in ${c(p)}`:"";const k=l?` (${l})`:"";const w=g&&h?`${a(h)}: `:"";const x=g&&d?`webpack ${d}`:"";const C=g&&u?n(u):u?`Child ${n(u)}`:g?"":"Child";const M=C&&x?`${C} (${x})`:x||C||"webpack";let S;if(v&&y){S=`compiled with ${v} and ${y}`}else if(v){S=`compiled with ${v}`}else if(y){S=`compiled with ${y}`}else if(f===0&&m===0){S=`compiled ${i("successfully")}`}else{S=`compiled`}if(w||x||v||y||b||k)return`${w}${M} ${S}${b}${k}`},"compilation.env":(e,{bold:t})=>e?`Environment (--env): ${t(JSON.stringify(e,null,2))}`:undefined,"compilation.publicPath":(e,{bold:t})=>`PublicPath: ${t(e||"(none)")}`,"compilation.entrypoints":(e,t,n)=>Array.isArray(e)?undefined:n.print(t.type,Object.values(e),{...t,chunkGroupKind:"Entrypoint"}),"compilation.namedChunkGroups":(e,t,n)=>{if(!Array.isArray(e)){const{compilation:{entrypoints:s}}=t;let i=Object.values(e);if(s){i=i.filter(e=>!Object.prototype.hasOwnProperty.call(s,e.name))}return n.print(t.type,i,{...t,chunkGroupKind:"Chunk Group"})}},"compilation.assetsByChunkName":()=>"","compilation.filteredModules":e=>e>0?`${e} ${s(e,"module","modules")}`:undefined,"compilation.filteredAssets":(e,{compilation:{assets:t}})=>e>0?`${e} ${s(e,"asset","assets")}`:undefined,"compilation.logging":(e,t,n)=>Array.isArray(e)?undefined:n.print(t.type,Object.entries(e).map(([e,t])=>({...t,name:e})),t),"compilation.warningsInChildren!":(e,{yellow:t,compilation:n})=>{if(!n.children&&n.warningsCount>0&&n.warnings){const e=n.warningsCount-n.warnings.length;if(e>0){return t(`${e} ${s(e,"WARNING","WARNINGS")} in child compilations`)}}},"compilation.errorsInChildren!":(e,{red:t,compilation:n})=>{if(!n.children&&n.errorsCount>0&&n.errors){const e=n.errorsCount-n.errors.length;if(e>0){return t(`${e} ${s(e,"ERROR","ERRORS")} in child compilations`)}}},"asset.type":e=>e,"asset.name":(e,{formatFilename:t,asset:{isOverSizeLimit:n}})=>t(e,n),"asset.size":(e,{asset:{isOverSizeLimit:t},yellow:n,green:s,formatSize:i})=>t?n(i(e)):i(e),"asset.emitted":(e,{green:t,formatFlag:n})=>e?t(n("emitted")):undefined,"asset.comparedForEmit":(e,{yellow:t,formatFlag:n})=>e?t(n("compared for emit")):undefined,"asset.cached":(e,{green:t,formatFlag:n})=>e?t(n("cached")):undefined,"asset.isOverSizeLimit":(e,{yellow:t,formatFlag:n})=>e?t(n("big")):undefined,"asset.info.immutable":(e,{green:t,formatFlag:n})=>e?t(n("immutable")):undefined,"asset.info.javascriptModule":(e,{formatFlag:t})=>e?t("javascript module"):undefined,"asset.info.sourceFilename":(e,{formatFlag:t})=>e?t(e===true?"from source file":`from: ${e}`):undefined,"asset.info.development":(e,{green:t,formatFlag:n})=>e?t(n("dev")):undefined,"asset.info.hotModuleReplacement":(e,{green:t,formatFlag:n})=>e?t(n("hmr")):undefined,"asset.separator!":()=>"\n","asset.filteredRelated":(e,{asset:{related:t}})=>e>0?`${e} related ${s(e,"asset","assets")}`:undefined,"asset.filteredChildren":e=>e>0?`${e} ${s(e,"asset","assets")}`:undefined,assetChunk:(e,{formatChunkId:t})=>t(e),assetChunkName:e=>e,assetChunkIdHint:e=>e,"module.type":e=>e!=="module"?e:undefined,"module.id":(e,{formatModuleId:t})=>a(e)?t(e):undefined,"module.name":(e,{bold:t})=>{const[,n,s]=/^(.*!)?([^!]*)$/.exec(e);return(n||"")+t(s)},"module.identifier":e=>undefined,"module.sizes":i,"module.chunks[]":(e,{formatChunkId:t})=>t(e),"module.depth":(e,{formatFlag:t})=>e!==null?t(`depth ${e}`):undefined,"module.cacheable":(e,{formatFlag:t,red:n})=>e===false?n(t("not cacheable")):undefined,"module.orphan":(e,{formatFlag:t,yellow:n})=>e?n(t("orphan")):undefined,"module.runtime":(e,{formatFlag:t,yellow:n})=>e?n(t("runtime")):undefined,"module.optional":(e,{formatFlag:t,yellow:n})=>e?n(t("optional")):undefined,"module.dependent":(e,{formatFlag:t,cyan:n})=>e?n(t("dependent")):undefined,"module.built":(e,{formatFlag:t,yellow:n})=>e?n(t("built")):undefined,"module.codeGenerated":(e,{formatFlag:t,yellow:n})=>e?n(t("code generated")):undefined,"module.cached":(e,{formatFlag:t,green:n})=>e?n(t("cached")):undefined,"module.assets":(e,{formatFlag:t,magenta:n})=>e&&e.length?n(t(`${e.length} ${s(e.length,"asset","assets")}`)):undefined,"module.warnings":(e,{formatFlag:t,yellow:n})=>e===true?n(t("warnings")):e?n(t(`${e} ${s(e,"warning","warnings")}`)):undefined,"module.errors":(e,{formatFlag:t,red:n})=>e===true?n(t("errors")):e?n(t(`${e} ${s(e,"error","errors")}`)):undefined,"module.providedExports":(e,{formatFlag:t,cyan:n})=>{if(Array.isArray(e)){if(e.length===0)return n(t("no exports"));return n(t(`exports: ${e.join(", ")}`))}},"module.usedExports":(e,{formatFlag:t,cyan:n,module:s})=>{if(e!==true){if(e===null)return n(t("used exports unknown"));if(e===false)return n(t("module unused"));if(Array.isArray(e)){if(e.length===0)return n(t("no exports used"));const i=Array.isArray(s.providedExports)?s.providedExports.length:null;if(i!==null&&i===s.usedExports.length){return n(t("all exports used"))}else{return n(t(`only some exports used: ${e.join(", ")}`))}}}},"module.optimizationBailout[]":(e,{yellow:t})=>t(e),"module.issuerPath":(e,{module:t})=>t.profile?undefined:"","module.profile":e=>undefined,"module.filteredModules":e=>e>0?`${e} nested ${s(e,"module","modules")}`:undefined,"module.filteredChildren":e=>e>0?`${e} ${s(e,"module","modules")}`:undefined,"module.separator!":()=>"\n","moduleIssuer.id":(e,{formatModuleId:t})=>t(e),"moduleIssuer.profile.total":(e,{formatTime:t})=>t(e),"moduleReason.type":e=>e,"moduleReason.userRequest":(e,{cyan:t})=>t(e),"moduleReason.moduleId":(e,{formatModuleId:t})=>a(e)?t(e):undefined,"moduleReason.module":(e,{magenta:t})=>t(e),"moduleReason.loc":e=>e,"moduleReason.explanation":(e,{cyan:t})=>t(e),"moduleReason.active":(e,{formatFlag:t})=>e?undefined:t("inactive"),"moduleReason.resolvedModule":(e,{magenta:t})=>t(e),"module.profile.total":(e,{formatTime:t})=>t(e),"module.profile.resolving":(e,{formatTime:t})=>`resolving: ${t(e)}`,"module.profile.restoring":(e,{formatTime:t})=>`restoring: ${t(e)}`,"module.profile.integration":(e,{formatTime:t})=>`integration: ${t(e)}`,"module.profile.building":(e,{formatTime:t})=>`building: ${t(e)}`,"module.profile.storing":(e,{formatTime:t})=>`storing: ${t(e)}`,"module.profile.additionalResolving":(e,{formatTime:t})=>e?`additional resolving: ${t(e)}`:undefined,"module.profile.additionalIntegration":(e,{formatTime:t})=>e?`additional integration: ${t(e)}`:undefined,"chunkGroup.kind!":(e,{chunkGroupKind:t})=>t,"chunkGroup.separator!":()=>"\n","chunkGroup.name":(e,{bold:t})=>t(e),"chunkGroup.isOverSizeLimit":(e,{formatFlag:t,yellow:n})=>e?n(t("big")):undefined,"chunkGroup.assetsSize":(e,{formatSize:t})=>e?t(e):undefined,"chunkGroup.auxiliaryAssetsSize":(e,{formatSize:t})=>e?`(${t(e)})`:undefined,"chunkGroup.filteredAssets":e=>e>0?`${e} ${s(e,"asset","assets")}`:undefined,"chunkGroup.filteredAuxiliaryAssets":e=>e>0?`${e} auxiliary ${s(e,"asset","assets")}`:undefined,"chunkGroup.is!":()=>"=","chunkGroupAsset.name":(e,{green:t})=>t(e),"chunkGroupAsset.size":(e,{formatSize:t,chunkGroup:n})=>n.assets.length>1||n.auxiliaryAssets&&n.auxiliaryAssets.length>0?t(e):undefined,"chunkGroup.children":(e,t,n)=>Array.isArray(e)?undefined:n.print(t.type,Object.keys(e).map(t=>({type:t,children:e[t]})),t),"chunkGroupChildGroup.type":e=>`${e}:`,"chunkGroupChild.assets[]":(e,{formatFilename:t})=>t(e),"chunkGroupChild.chunks[]":(e,{formatChunkId:t})=>t(e),"chunkGroupChild.name":e=>e?`(name: ${e})`:undefined,"chunk.id":(e,{formatChunkId:t})=>t(e),"chunk.files[]":(e,{formatFilename:t})=>t(e),"chunk.names[]":e=>e,"chunk.idHints[]":e=>e,"chunk.runtime[]":e=>e,"chunk.sizes":(e,t)=>i(e,t),"chunk.parents[]":(e,t)=>t.formatChunkId(e,"parent"),"chunk.siblings[]":(e,t)=>t.formatChunkId(e,"sibling"),"chunk.children[]":(e,t)=>t.formatChunkId(e,"child"),"chunk.childrenByOrder":(e,t,n)=>Array.isArray(e)?undefined:n.print(t.type,Object.keys(e).map(t=>({type:t,children:e[t]})),t),"chunk.childrenByOrder[].type":e=>`${e}:`,"chunk.childrenByOrder[].children[]":(e,{formatChunkId:t})=>a(e)?t(e):undefined,"chunk.entry":(e,{formatFlag:t,yellow:n})=>e?n(t("entry")):undefined,"chunk.initial":(e,{formatFlag:t,yellow:n})=>e?n(t("initial")):undefined,"chunk.rendered":(e,{formatFlag:t,green:n})=>e?n(t("rendered")):undefined,"chunk.recorded":(e,{formatFlag:t,green:n})=>e?n(t("recorded")):undefined,"chunk.reason":(e,{yellow:t})=>e?t(e):undefined,"chunk.filteredModules":e=>e>0?`${e} chunk ${s(e,"module","modules")}`:undefined,"chunk.separator!":()=>"\n","chunkOrigin.request":e=>e,"chunkOrigin.moduleId":(e,{formatModuleId:t})=>a(e)?t(e):undefined,"chunkOrigin.moduleName":(e,{bold:t})=>t(e),"chunkOrigin.loc":e=>e,"error.compilerPath":(e,{bold:t})=>e?t(`(${e})`):undefined,"error.chunkId":(e,{formatChunkId:t})=>a(e)?t(e):undefined,"error.chunkEntry":(e,{formatFlag:t})=>e?t("entry"):undefined,"error.chunkInitial":(e,{formatFlag:t})=>e?t("initial"):undefined,"error.file":(e,{bold:t})=>t(e),"error.moduleName":(e,{bold:t})=>{return e.includes("!")?`${t(e.replace(/^(\s|\S)*!/,""))} (${e})`:`${t(e)}`},"error.loc":(e,{green:t})=>t(e),"error.message":(e,{bold:t})=>t(e),"error.details":e=>e,"error.stack":e=>e,"error.moduleTrace":e=>undefined,"error.separator!":()=>"\n","loggingEntry(error).loggingEntry.message":(e,{red:t})=>o(e,e=>` ${t(e)}`),"loggingEntry(warn).loggingEntry.message":(e,{yellow:t})=>o(e,e=>` ${t(e)}`),"loggingEntry(info).loggingEntry.message":(e,{green:t})=>o(e,e=>` ${t(e)}`),"loggingEntry(log).loggingEntry.message":(e,{bold:t})=>o(e,e=>` ${t(e)}`),"loggingEntry(debug).loggingEntry.message":e=>o(e,e=>` ${e}`),"loggingEntry(trace).loggingEntry.message":e=>o(e,e=>` ${e}`),"loggingEntry(status).loggingEntry.message":(e,{magenta:t})=>o(e,e=>` ${t(e)}`),"loggingEntry(profile).loggingEntry.message":(e,{magenta:t})=>o(e,e=>`

${t(e)}`),"loggingEntry(profileEnd).loggingEntry.message":(e,{magenta:t})=>o(e,e=>`

${t(e)}`),"loggingEntry(time).loggingEntry.message":(e,{magenta:t})=>o(e,e=>` ${t(e)}`),"loggingEntry(group).loggingEntry.message":(e,{cyan:t})=>o(e,e=>`<-> ${t(e)}`),"loggingEntry(groupCollapsed).loggingEntry.message":(e,{cyan:t})=>o(e,e=>`<+> ${t(e)}`),"loggingEntry(clear).loggingEntry":()=>" -------","loggingEntry(groupCollapsed).loggingEntry.children":()=>"","loggingEntry.trace[]":e=>e?o(e,e=>`| ${e}`):undefined,"moduleTraceItem.originName":e=>e,loggingGroup:e=>e.entries.length===0?"":undefined,"loggingGroup.debug":(e,{red:t})=>e?t("DEBUG"):undefined,"loggingGroup.name":(e,{bold:t})=>t(`LOG from ${e}`),"loggingGroup.separator!":()=>"\n","loggingGroup.filteredEntries":e=>e>0?`+ ${e} hidden lines`:undefined,"moduleTraceDependency.loc":e=>e};const u={"compilation.assets[]":"asset","compilation.modules[]":"module","compilation.chunks[]":"chunk","compilation.entrypoints[]":"chunkGroup","compilation.namedChunkGroups[]":"chunkGroup","compilation.errors[]":"error","compilation.warnings[]":"error","compilation.logging[]":"loggingGroup","compilation.children[]":"compilation","asset.related[]":"asset","asset.children[]":"asset","asset.chunks[]":"assetChunk","asset.auxiliaryChunks[]":"assetChunk","asset.chunkNames[]":"assetChunkName","asset.chunkIdHints[]":"assetChunkIdHint","asset.auxiliaryChunkNames[]":"assetChunkName","asset.auxiliaryChunkIdHints[]":"assetChunkIdHint","chunkGroup.assets[]":"chunkGroupAsset","chunkGroup.auxiliaryAssets[]":"chunkGroupAsset","chunkGroupChild.assets[]":"chunkGroupAsset","chunkGroupChild.auxiliaryAssets[]":"chunkGroupAsset","chunkGroup.children[]":"chunkGroupChildGroup","chunkGroupChildGroup.children[]":"chunkGroupChild","module.modules[]":"module","module.children[]":"module","module.reasons[]":"moduleReason","module.issuerPath[]":"moduleIssuer","chunk.origins[]":"chunkOrigin","chunk.modules[]":"module","loggingGroup.entries[]":e=>`loggingEntry(${e.type}).loggingEntry`,"loggingEntry.children[]":e=>`loggingEntry(${e.type}).loggingEntry`,"error.moduleTrace[]":"moduleTraceItem","moduleTraceItem.dependencies[]":"moduleTraceDependency"};const l=["compilerPath","chunkId","chunkEntry","chunkInitial","file","separator!","moduleName","loc","separator!","message","separator!","details","separator!","stack","separator!","missing","separator!","moduleTrace"];const d={compilation:["name","hash","version","time","builtAt","env","publicPath","assets","filteredAssets","entrypoints","namedChunkGroups","chunks","modules","filteredModules","children","logging","warnings","warningsInChildren!","errors","errorsInChildren!","summary!","needAdditionalPass"],asset:["type","name","size","chunks","auxiliaryChunks","emitted","comparedForEmit","cached","info","isOverSizeLimit","chunkNames","auxiliaryChunkNames","chunkIdHints","auxiliaryChunkIdHints","related","filteredRelated","children","filteredChildren"],"asset.info":["immutable","sourceFilename","javascriptModule","development","hotModuleReplacement"],chunkGroup:["kind!","name","isOverSizeLimit","assetsSize","auxiliaryAssetsSize","is!","assets","filteredAssets","auxiliaryAssets","filteredAuxiliaryAssets","separator!","children"],chunkGroupAsset:["name","size"],chunkGroupChildGroup:["type","children"],chunkGroupChild:["assets","chunks","name"],module:["type","name","identifier","id","sizes","chunks","depth","cacheable","orphan","runtime","optional","dependent","built","codeGenerated","cached","assets","failed","warnings","errors","children","filteredChildren","providedExports","usedExports","optimizationBailout","reasons","issuerPath","profile","modules","filteredModules"],moduleReason:["active","type","userRequest","moduleId","module","resolvedModule","loc","explanation"],"module.profile":["total","separator!","resolving","restoring","integration","building","storing","additionalResolving","additionalIntegration"],chunk:["id","runtime","files","names","idHints","sizes","parents","siblings","children","childrenByOrder","entry","initial","rendered","recorded","reason","separator!","origins","separator!","modules","separator!","filteredModules"],chunkOrigin:["request","moduleId","moduleName","loc"],error:l,warning:l,"chunk.childrenByOrder[]":["type","children"],loggingGroup:["debug","name","separator!","entries","separator!","filteredEntries"],loggingEntry:["message","trace","children"]};const p=e=>e.filter(Boolean).join(" ");const h=e=>e.length>0?`(${e.filter(Boolean).join(" ")})`:undefined;const f=e=>e.filter(Boolean).join("\n\n");const m=e=>e.filter(Boolean).join(", ");const g=e=>e.length>0?`(${e.filter(Boolean).join(", ")})`:undefined;const y=e=>t=>t.length>0?`(${e}: ${t.filter(Boolean).join(", ")})`:undefined;const v={"chunk.parents":p,"chunk.siblings":p,"chunk.children":p,"chunk.names":g,"chunk.idHints":y("id hint"),"chunk.runtime":y("runtime"),"chunk.files":m,"chunk.childrenByOrder":p,"chunk.childrenByOrder[].children":p,"chunkGroup.assets":p,"chunkGroup.auxiliaryAssets":h,"chunkGroupChildGroup.children":m,"chunkGroupChild.assets":p,"chunkGroupChild.auxiliaryAssets":h,"asset.chunks":m,"asset.auxiliaryChunks":g,"asset.chunkNames":y("name"),"asset.auxiliaryChunkNames":y("auxiliary name"),"asset.chunkIdHints":y("id hint"),"asset.auxiliaryChunkIdHints":y("auxiliary id hint"),"module.chunks":p,"module.issuerPath":e=>e.filter(Boolean).map(e=>`${e} ->`).join(" "),"compilation.errors":f,"compilation.warnings":f,"compilation.logging":f,"compilation.children":e=>w(f(e)," "),"moduleTraceItem.dependencies":p,"loggingEntry.children":e=>w(e.filter(Boolean).join("\n")," ",false)};const b=e=>e.map(e=>e.content).filter(Boolean).join(" ");const k=e=>{const t=[];let n=0;for(const s of e){if(s.element==="separator!"){switch(n){case 0:case 1:n+=2;break;case 4:t.push(")");n=3;break}}if(!s.content)continue;switch(n){case 0:n=1;break;case 1:t.push(" ");break;case 2:t.push("(");n=4;break;case 3:t.push(" (");n=4;break;case 4:t.push(", ");break}t.push(s.content)}if(n===4)t.push(")");return t.join("")};const w=(e,t,n)=>{const s=e.replace(/\n([^\n])/g,"\n"+t+"$1");if(n)return s;const i=e[0]==="\n"?"":t;return i+s};const x=(e,t)=>{let n=true;let s=true;return e.map(e=>{if(!e||!e.content)return;let i=w(e.content,s?"":t,!n);if(n){i=i.replace(/^\n+/,"")}if(!i)return;s=false;const o=n||i.startsWith("\n");n=i.endsWith("\n");return o?i:" "+i}).filter(Boolean).join("").trim()};const C=e=>(t,{red:n,yellow:s})=>`${e?n("ERROR"):s("WARNING")} in ${x(t,"")}`;const M={compilation:e=>{const t=[];let n=false;for(const s of e){if(!s.content)continue;const e=s.element==="warnings"||s.element==="errors"||s.element==="logging";if(t.length!==0){t.push(e||n?"\n\n":"\n")}t.push(s.content);n=e}if(n)t.push("\n");return t.join("")},asset:e=>x(e.map(e=>{if((e.element==="related"||e.element==="children")&&e.content){return{...e,content:`\n${e.content}\n`}}return e})," "),"asset.info":b,module:(e,{module:t})=>{let n=false;return x(e.map(e=>{switch(e.element){case"id":if(t.id===t.name){if(n)return false;if(e.content)n=true}break;case"name":if(n)return false;if(e.content)n=true;break;case"providedExports":case"usedExports":case"optimizationBailout":case"reasons":case"issuerPath":case"profile":case"children":case"modules":if(e.content){return{...e,content:`\n${e.content}\n`}}break}return e})," ")},chunk:e=>{let t=false;return"chunk "+x(e.filter(e=>{switch(e.element){case"entry":if(e.content)t=true;break;case"initial":if(t)return false;break}return true})," ")},"chunk.childrenByOrder[]":e=>`(${b(e)})`,chunkGroup:e=>x(e," "),chunkGroupAsset:b,chunkGroupChildGroup:b,chunkGroupChild:b,moduleReason:(e,{moduleReason:t})=>{let n=false;return b(e.filter(e=>{switch(e.element){case"moduleId":if(t.moduleId===t.module&&e.content)n=true;break;case"module":if(n)return false;break;case"resolvedModule":return t.module!==t.resolvedModule&&e.content}return true}))},"module.profile":k,moduleIssuer:b,chunkOrigin:e=>"> "+b(e),"errors[].error":C(true),"warnings[].error":C(false),loggingGroup:e=>x(e,"").trimRight(),moduleTraceItem:e=>" @ "+b(e),moduleTraceDependency:b};const S={bold:"",yellow:"",red:"",green:"",cyan:"",magenta:""};const O={formatChunkId:(e,{yellow:t},n)=>{switch(n){case"parent":return`<{${t(e)}}>`;case"sibling":return`={${t(e)}}=`;case"child":return`>{${t(e)}}<`;default:return`{${t(e)}}`}},formatModuleId:e=>`[${e}]`,formatFilename:(e,{green:t,yellow:n},s)=>(s?n:t)(e),formatFlag:e=>`[${e}]`,formatSize:n(71070).formatSize,formatDateTime:(e,{bold:t})=>{const n=new Date(e);const s=r;const i=`${n.getFullYear()}-${s(n.getMonth()+1)}-${s(n.getDate())}`;const o=`${s(n.getHours())}:${s(n.getMinutes())}:${s(n.getSeconds())}`;return`${i} ${t(o)}`},formatTime:(e,{timeReference:t,bold:n,green:s,yellow:i,red:o},r)=>{const a=" ms";if(t&&e!==t){const r=[t/2,t/4,t/8,t/16];if(e{return w(e,"| ")}};const P=(e,t)=>{const n=e.slice();const s=new Set(e);const i=new Set;e.length=0;for(const n of t){if(n.endsWith("!")||s.has(n)){e.push(n);i.add(n)}}for(const t of n){if(!i.has(t)){e.push(t)}}return e};class DefaultStatsPrinterPlugin{apply(e){e.hooks.compilation.tap("DefaultStatsPrinterPlugin",e=>{e.hooks.statsPrinter.tap("DefaultStatsPrinterPlugin",(e,t,n)=>{e.hooks.print.for("compilation").tap("DefaultStatsPrinterPlugin",(e,n)=>{for(const e of Object.keys(S)){let s;if(t.colors){if(typeof t.colors==="object"&&typeof t.colors[e]==="string"){s=t.colors[e]}else{s=S[e]}}if(s){n[e]=(e=>`${s}${e}`)}else{n[e]=(e=>e)}}for(const e of Object.keys(O)){n[e]=((t,...s)=>O[e](t,n,...s))}n.timeReference=e.time});for(const t of Object.keys(c)){e.hooks.print.for(t).tap("DefaultStatsPrinterPlugin",(n,s)=>c[t](n,s,e))}for(const t of Object.keys(d)){const n=d[t];e.hooks.sortElements.for(t).tap("DefaultStatsPrinterPlugin",(e,t)=>{P(e,n)})}for(const t of Object.keys(u)){const n=u[t];e.hooks.getItemName.for(t).tap("DefaultStatsPrinterPlugin",typeof n==="string"?()=>n:n)}for(const t of Object.keys(v)){const n=v[t];e.hooks.printItems.for(t).tap("DefaultStatsPrinterPlugin",n)}for(const t of Object.keys(M)){const n=M[t];e.hooks.printElements.for(t).tap("DefaultStatsPrinterPlugin",n)}for(const t of Object.keys(T)){const n=T[t];e.hooks.result.for(t).tap("DefaultStatsPrinterPlugin",n)}})})}}e.exports=DefaultStatsPrinterPlugin},92629:(e,t,n)=>{"use strict";const{HookMap:s,SyncBailHook:i,SyncWaterfallHook:o}=n(6967);const{concatComparators:r,keepOriginalOrder:a}=n(29579);const c=n(15652);class StatsFactory{constructor(){this.hooks=Object.freeze({extract:new s(()=>new i(["object","data","context"])),filter:new s(()=>new i(["item","context","index","unfilteredIndex"])),sort:new s(()=>new i(["comparators","context"])),filterSorted:new s(()=>new i(["item","context","index","unfilteredIndex"])),groupResults:new s(()=>new i(["groupConfigs","context"])),sortResults:new s(()=>new i(["comparators","context"])),filterResults:new s(()=>new i(["item","context","index","unfilteredIndex"])),merge:new s(()=>new i(["items","context"])),result:new s(()=>new o(["result","context"])),getItemName:new s(()=>new i(["item","context"])),getItemFactory:new s(()=>new i(["item","context"]))});const e=this.hooks;this._caches={};for(const t of Object.keys(e)){this._caches[t]=new Map}this._inCreate=false}_getAllLevelHooks(e,t,n){const s=t.get(n);if(s!==undefined){return s}const i=[];const o=n.split(".");for(let t=0;t{for(const n of r){const s=i(n,e,t,a);if(s!==undefined){if(s)a++;return s}}a++;return true})}create(e,t,n){if(this._inCreate){return this._create(e,t,n)}else{try{this._inCreate=true;return this._create(e,t,n)}finally{for(const e of Object.keys(this._caches))this._caches[e].clear();this._inCreate=false}}}_create(e,t,n){const s={...n,type:e,[e]:t};if(Array.isArray(t)){const n=this._forEachLevelFilter(this.hooks.filter,this._caches.filter,e,t,(e,t,n,i)=>e.call(t,s,n,i),true);const i=[];this._forEachLevel(this.hooks.sort,this._caches.sort,e,e=>e.call(i,s));if(i.length>0){n.sort(r(...i,a(n)))}const o=this._forEachLevelFilter(this.hooks.filterSorted,this._caches.filterSorted,e,n,(e,t,n,i)=>e.call(t,s,n,i),false);let u=o.map((t,n)=>{const i={...s,_index:n};const o=this._forEachLevel(this.hooks.getItemName,this._caches.getItemName,`${e}[]`,e=>e.call(t,i));if(o)i[o]=t;const r=o?`${e}[].${o}`:`${e}[]`;const a=this._forEachLevel(this.hooks.getItemFactory,this._caches.getItemFactory,r,e=>e.call(t,i))||this;return a.create(r,t,i)});const l=[];this._forEachLevel(this.hooks.sortResults,this._caches.sortResults,e,e=>e.call(l,s));if(l.length>0){u.sort(r(...l,a(u)))}const d=[];this._forEachLevel(this.hooks.groupResults,this._caches.groupResults,e,e=>e.call(d,s));if(d.length>0){u=c(u,d)}const p=this._forEachLevelFilter(this.hooks.filterResults,this._caches.filterResults,e,u,(e,t,n,i)=>e.call(t,s,n,i),false);let h=this._forEachLevel(this.hooks.merge,this._caches.merge,e,e=>e.call(p,s));if(h===undefined)h=p;return this._forEachLevelWaterfall(this.hooks.result,this._caches.result,e,h,(e,t)=>e.call(t,s))}else{const n={};this._forEachLevel(this.hooks.extract,this._caches.extract,e,e=>e.call(n,t,s));return this._forEachLevelWaterfall(this.hooks.result,this._caches.result,e,n,(e,t)=>e.call(t,s))}}}e.exports=StatsFactory},30198:(e,t,n)=>{"use strict";const{HookMap:s,SyncWaterfallHook:i,SyncBailHook:o}=n(6967);class StatsPrinter{constructor(){this.hooks=Object.freeze({sortElements:new s(()=>new o(["elements","context"])),printElements:new s(()=>new o(["printedElements","context"])),sortItems:new s(()=>new o(["items","context"])),getItemName:new s(()=>new o(["item","context"])),printItems:new s(()=>new o(["printedItems","context"])),print:new s(()=>new o(["object","context"])),result:new s(()=>new i(["result","context"]))});this._levelHookCache=new Map;this._inPrint=false}_getAllLevelHooks(e,t){let n=this._levelHookCache.get(e);if(n===undefined){n=new Map;this._levelHookCache.set(e,n)}const s=n.get(t);if(s!==undefined){return s}const i=[];const o=t.split(".");for(let t=0;te.call(t,s));if(i===undefined){if(Array.isArray(t)){const n=t.slice();this._forEachLevel(this.hooks.sortItems,e,e=>e.call(n,s));const o=n.map((t,n)=>{const i={...s,_index:n};const o=this._forEachLevel(this.hooks.getItemName,`${e}[]`,e=>e.call(t,i));if(o)i[o]=t;return this.print(o?`${e}[].${o}`:`${e}[]`,t,i)});i=this._forEachLevel(this.hooks.printItems,e,e=>e.call(o,s));if(i===undefined){const e=o.filter(Boolean);if(e.length>0)i=e.join("\n")}}else if(t!==null&&typeof t==="object"){const n=Object.keys(t).filter(e=>t[e]!==undefined);this._forEachLevel(this.hooks.sortElements,e,e=>e.call(n,s));const o=n.map(n=>{const i=this.print(`${e}.${n}`,t[n],{...s,_parent:t,_element:n,[n]:t[n]});return{element:n,content:i}});i=this._forEachLevel(this.hooks.printElements,e,e=>e.call(o,s));if(i===undefined){const e=o.map(e=>e.content).filter(Boolean);if(e.length>0)i=e.join("\n")}}}return this._forEachLevelWaterfall(this.hooks.result,e,i,(e,t)=>e.call(t,s))}}e.exports=StatsPrinter},84953:(e,t)=>{"use strict";t.equals=((e,t)=>{if(e.length!==t.length)return false;for(let n=0;n{"use strict";const{SyncHook:s,AsyncSeriesHook:i}=n(6967);const o=0;const r=1;const a=2;let c=0;class AsyncQueueEntry{constructor(e,t){this.item=e;this.state=o;this.callback=t;this.callbacks=undefined;this.result=undefined;this.error=undefined}}class AsyncQueue{constructor({name:e,parallelism:t,processor:n,getKey:o}){this._name=e;this._parallelism=t;this._processor=n;this._getKey=o||(e=>e);this._entries=new Map;this._queued=[];this._activeTasks=0;this._willEnsureProcessing=false;this._stopped=false;this.hooks={beforeAdd:new i(["item"]),added:new s(["item"]),beforeStart:new i(["item"]),started:new s(["item"]),result:new s(["item","error","result"])};this._ensureProcessing=this._ensureProcessing.bind(this)}add(e,t){if(this._stopped)return t(new Error("Queue was stopped"));this.hooks.beforeAdd.callAsync(e,n=>{if(n){t(n);return}const s=this._getKey(e);const i=this._entries.get(s);if(i!==undefined){if(i.state===a){process.nextTick(()=>t(i.error,i.result))}else if(i.callbacks===undefined){i.callbacks=[t]}else{i.callbacks.push(t)}return}const o=new AsyncQueueEntry(e,t);if(this._stopped){this.hooks.added.call(e);this._activeTasks++;process.nextTick(()=>this._handleResult(o,new Error("Queue was stopped")))}else{this._entries.set(s,o);this._queued.push(o);if(this._willEnsureProcessing===false){this._willEnsureProcessing=true;setImmediate(this._ensureProcessing)}this.hooks.added.call(e)}})}invalidate(e){const t=this._getKey(e);const n=this._entries.get(t);this._entries.delete(t);if(n.state===o){const e=this._queued.indexOf(n);if(e>=0){this._queued.splice(e,1)}}}stop(){this._stopped=true;const e=this._queued;this._queued=[];for(const t of e){this._entries.delete(this._getKey(t.item));this._activeTasks++;this._handleResult(t,new Error("Queue was stopped"))}}increaseParallelism(){this._parallelism++;if(this._willEnsureProcessing===false&&this._queued.length>0){this._willEnsureProcessing=true;setImmediate(this._ensureProcessing)}}decreaseParallelism(){this._parallelism--}isProcessing(e){const t=this._getKey(e);const n=this._entries.get(t);return n!==undefined&&n.state===r}isQueued(e){const t=this._getKey(e);const n=this._entries.get(t);return n!==undefined&&n.state===o}isDone(e){const t=this._getKey(e);const n=this._entries.get(t);return n!==undefined&&n.state===a}_ensureProcessing(){while(this._activeTasks0){const e=this._queued.pop();this._activeTasks++;e.state=r;this._startProcessing(e)}this._willEnsureProcessing=false}_startProcessing(e){this.hooks.beforeStart.callAsync(e.item,t=>{if(t){this._handleResult(e,t);return}let n=false;try{this._processor(e.item,(t,s)=>{n=true;this._handleResult(e,t,s)})}catch(t){if(n)throw t;this._handleResult(e,t,null)}this.hooks.started.call(e.item)})}_handleResult(e,t,n){this.hooks.result.callAsync(e.item,t,n,s=>{const i=s||t;const o=e.callback;const r=e.callbacks;e.state=a;e.callback=undefined;e.callbacks=undefined;e.result=n;e.error=i;this._activeTasks--;if(this._willEnsureProcessing===false&&this._queued.length>0){this._willEnsureProcessing=true;setImmediate(this._ensureProcessing)}if(c++>3){process.nextTick(()=>{o(i,n);if(r!==undefined){for(const e of r){e(i,n)}}})}else{o(i,n);if(r!==undefined){for(const e of r){e(i,n)}}}c--})}}e.exports=AsyncQueue},19430:e=>{"use strict";const t=/^data:([^;,]+)?((?:;(?:[^;,]+))*?)(;base64)?,(.*)$/i;const n=e=>{const n=t.exec(e);if(!n)return null;const s=n[3];const i=n[4];return s?Buffer.from(i,"base64"):Buffer.from(decodeURIComponent(i),"ascii")};const s=e=>{const n=t.exec(e);if(!n)return"";return n[1]||"text/plain"};e.exports={decodeDataURI:n,getMimetype:s}},36692:(e,t,n)=>{"use strict";class Hash{update(e,t){const s=n(77198);throw new s}digest(e){const t=n(77198);throw new t}}e.exports=Hash},48424:(e,t,n)=>{"use strict";const s=n(13098);class LazyBucketSortedSet{constructor(e,t,...n){this._getKey=e;this._innerArgs=n;this._leaf=n.length<=1;this._keys=new s(undefined,t);this._map=new Map;this._unsortedItems=new Set;this.size=0}add(e){this.size++;this._unsortedItems.add(e)}_addInternal(e,t){let n=this._map.get(e);if(n===undefined){n=this._leaf?new s(undefined,this._innerArgs[0]):new LazyBucketSortedSet(...this._innerArgs);this._keys.add(e);this._map.set(e,n)}n.add(t)}delete(e){this.size--;if(this._unsortedItems.has(e)){this._unsortedItems.delete(e);return}const t=this._getKey(e);const n=this._map.get(t);n.delete(e);if(n.size===0){this._deleteKey(t)}}_deleteKey(e){this._keys.delete(e);this._map.delete(e)}popFirst(){if(this.size===0)return undefined;this.size--;if(this._unsortedItems.size>0){for(const e of this._unsortedItems){const t=this._getKey(e);this._addInternal(t,e)}this._unsortedItems.clear()}this._keys.sort();const e=this._keys.values().next().value;const t=this._map.get(e);if(this._leaf){const n=t;n.sort();const s=n.values().next().value;n.delete(s);if(n.size===0){this._deleteKey(e)}return s}else{const n=t;const s=n.popFirst();if(n.size===0){this._deleteKey(e)}return s}}startUpdate(e){if(this._unsortedItems.has(e)){return t=>{if(t){this._unsortedItems.delete(e);this.size--;return}}}const t=this._getKey(e);if(this._leaf){const n=this._map.get(t);return s=>{if(s){this.size--;n.delete(e);if(n.size===0){this._deleteKey(t)}return}const i=this._getKey(e);if(t===i){n.add(e)}else{n.delete(e);if(n.size===0){this._deleteKey(t)}this._addInternal(i,e)}}}else{const n=this._map.get(t);const s=n.startUpdate(e);return i=>{if(i){this.size--;s(true);if(n.size===0){this._deleteKey(t)}return}const o=this._getKey(e);if(t===o){s()}else{s(true);if(n.size===0){this._deleteKey(t)}this._addInternal(o,e)}}}}_appendIterators(e){if(this._unsortedItems.size>0)e.push(this._unsortedItems[Symbol.iterator]());for(const t of this._keys){const n=this._map.get(t);if(this._leaf){const t=n;const s=t[Symbol.iterator]();e.push(s)}else{const t=n;t._appendIterators(e)}}}[Symbol.iterator](){const e=[];this._appendIterators(e);e.reverse();let t=e.pop();return{next:()=>{const n=t.next();if(n.done){if(e.length===0)return n;t=e.pop();return t.next()}return n}}}}e.exports=LazyBucketSortedSet},38938:(e,t,n)=>{"use strict";const s=n(33032);const i=(e,t)=>{for(const n of t){for(const t of n){e.add(t)}}};const o=(e,t)=>{for(const n of t){if(n instanceof LazySet){if(n._set.size>0)e.add(n._set);if(n._needMerge){for(const t of n._toMerge){e.add(t)}o(e,n._toDeepMerge)}}else{e.add(n)}}};class LazySet{constructor(e){this._set=new Set(e);this._toMerge=new Set;this._toDeepMerge=[];this._needMerge=false;this._deopt=false}_flatten(){o(this._toMerge,this._toDeepMerge);this._toDeepMerge.length=0}_merge(){this._flatten();i(this._set,this._toMerge);this._toMerge.clear();this._needMerge=false}get size(){if(this._needMerge)this._merge();return this._set.size}add(e){this._set.add(e);return this}addAll(e){if(this._deopt){const t=this._set;for(const n of e){t.add(n)}}else{this._toDeepMerge.push(e);this._needMerge=true;if(this._toDeepMerge.length>1e5){this._flatten();if(this._toMerge.size>1e5)this._merge()}}return this}clear(){this._set.clear();this._toMerge.clear();this._toDeepMerge.length=0;this._needMerge=false;this._deopt=false}delete(e){if(this._needMerge)this._merge();return this._set.delete(e)}entries(){this._deopt=true;if(this._needMerge)this._merge();return this._set.entries()}forEach(e,t){this._deopt=true;if(this._needMerge)this._merge();this._set.forEach(e,t)}has(e){if(this._needMerge)this._merge();return this._set.has(e)}keys(){this._deopt=true;if(this._needMerge)this._merge();return this._set.keys()}values(){this._deopt=true;if(this._needMerge)this._merge();return this._set.values()}[Symbol.iterator](){this._deopt=true;if(this._needMerge)this._merge();return this._set[Symbol.iterator]()}get[Symbol.toStringTag](){return"LazySet"}serialize({write:e}){if(this._needMerge)this._merge();e(this._set.size);for(const t of this._set)e(t)}static deserialize({read:e}){const t=e();const n=[];for(let s=0;s{"use strict";class Queue{constructor(e){this._set=new Set(e);this._iterator=this._set[Symbol.iterator]()}get length(){return this._set.size}enqueue(e){this._set.add(e)}dequeue(){const e=this._iterator.next();if(e.done)return undefined;this._set.delete(e.value);return e.value}}e.exports=Queue},93347:(e,t)=>{"use strict";const n=e=>{if(e.length===0)return new Set;if(e.length===1)return new Set(e[0]);let t=Infinity;let n=-1;for(let s=0;s{if(e.size{for(const n of e){if(t(n))return n}};t.intersect=n;t.isSubset=s;t.find=i},13098:e=>{"use strict";const t=Symbol("not sorted");class SortableSet extends Set{constructor(e,n){super(e);this._sortFn=n;this._lastActiveSortFn=t;this._cache=undefined;this._cacheOrderIndependent=undefined}add(e){this._lastActiveSortFn=t;this._invalidateCache();this._invalidateOrderedCache();super.add(e);return this}delete(e){this._invalidateCache();this._invalidateOrderedCache();return super.delete(e)}clear(){this._invalidateCache();this._invalidateOrderedCache();return super.clear()}sortWith(e){if(this.size<=1||e===this._lastActiveSortFn){return}const t=Array.from(this).sort(e);super.clear();for(let e=0;e{"use strict";const t=Symbol("tombstone");const n=Symbol("undefined");const s=e=>{const s=e[0];const i=e[1];if(i===n||i===t){return[s,undefined]}else{return e}};class StackedMap{constructor(e){this.map=new Map;this.stack=e===undefined?[]:e.slice();this.stack.push(this.map)}set(e,t){this.map.set(e,t===undefined?n:t)}delete(e){if(this.stack.length>1){this.map.set(e,t)}else{this.map.delete(e)}}has(e){const n=this.map.get(e);if(n!==undefined){return n!==t}if(this.stack.length>1){for(let n=this.stack.length-2;n>=0;n--){const s=this.stack[n].get(e);if(s!==undefined){this.map.set(e,s);return s!==t}}this.map.set(e,t)}return false}get(e){const s=this.map.get(e);if(s!==undefined){return s===t||s===n?undefined:s}if(this.stack.length>1){for(let s=this.stack.length-2;s>=0;s--){const i=this.stack[s].get(e);if(i!==undefined){this.map.set(e,i);return i===t||i===n?undefined:i}}this.map.set(e,t)}return undefined}_compress(){if(this.stack.length===1)return;this.map=new Map;for(const e of this.stack){for(const n of e){if(n[1]===t){this.map.delete(n[0])}else{this.map.set(n[0],n[1])}}}this.stack=[this.map]}asArray(){this._compress();return Array.from(this.map.keys())}asSet(){this._compress();return new Set(this.map.keys())}asPairArray(){this._compress();return Array.from(this.map.entries(),s)}asMap(){return new Map(this.asPairArray())}get size(){this._compress();return this.map.size}createChild(){return new StackedMap(this.stack)}}e.exports=StackedMap},40293:e=>{"use strict";class StringXor{constructor(){this._value=undefined;this._buffer=undefined}add(e){let t=this._buffer;let n;if(t===undefined){t=this._buffer=Buffer.from(e,"latin1");this._value=Buffer.from(t);return}else if(t.length!==e.length){n=this._value;t=this._buffer=Buffer.from(e,"latin1");if(n.length{"use strict";const s=n(76455);class TupleQueue{constructor(e){this._set=new s(e);this._iterator=this._set[Symbol.iterator]()}get length(){return this._set.size}enqueue(...e){this._set.add(...e)}dequeue(){const e=this._iterator.next();if(e.done){if(this._set.size>0){this._iterator=this._set[Symbol.iterator]();const e=this._iterator.next().value;this._set.delete(...e);return e}return undefined}this._set.delete(...e.value);return e.value}}e.exports=TupleQueue},76455:e=>{"use strict";class TupleSet{constructor(e){this._map=new Map;this.size=0;if(e){for(const t of e){this.add(...t)}}}add(...e){let t=this._map;for(let n=0;n{const o=i.next();if(o.done){if(e.length===0)return false;t.pop();return s(e.pop())}const[r,a]=o.value;e.push(i);t.push(r);if(a instanceof Set){n=a[Symbol.iterator]();return true}else{return s(a[Symbol.iterator]())}};s(this._map[Symbol.iterator]());return{next(){while(n){const i=n.next();if(i.done){t.pop();if(!s(e.pop())){n=undefined}}else{return{done:false,value:t.concat(i.value)}}}return{done:true,value:undefined}}}}}e.exports=TupleSet},54500:(e,t)=>{"use strict";const n="\\".charCodeAt(0);const s="/".charCodeAt(0);const i="a".charCodeAt(0);const o="z".charCodeAt(0);const r="A".charCodeAt(0);const a="Z".charCodeAt(0);const c="0".charCodeAt(0);const u="9".charCodeAt(0);const l="+".charCodeAt(0);const d="-".charCodeAt(0);const p=":".charCodeAt(0);const h="#".charCodeAt(0);const f="?".charCodeAt(0);function getScheme(e){const t=e.charCodeAt(0);if((to)&&(ta)){return undefined}let m=1;let g=e.charCodeAt(m);while(g>=i&&g<=o||g>=r&&g<=a||g>=c&&g<=u||g===l||g===d){if(++m===e.length)return undefined;g=e.charCodeAt(m)}if(g!==p)return undefined;if(m===1){const t=m+1{"use strict";const n=new WeakMap;const s=new WeakMap;const i=Symbol("DELETE");const o=(e,t)=>{let s=n.get(e);if(s===undefined){s=new WeakMap;n.set(e,s)}const i=s.get(t);if(i!==undefined)return i;const o=y(e,t,true);s.set(t,o);return o};const r=(e,t,n)=>{let i=s.get(e);if(i===undefined){i=new Map;s.set(e,i)}let o=i.get(t);if(o===undefined){o=new Map;i.set(t,o)}let r=o.get(n);if(r)return r;r={...e,[t]:n};o.set(n,r);return r};const a=new WeakMap;const c=e=>{const t=a.get(e);if(t!==undefined)return t;const n=u(e);a.set(e,n);return n};const u=e=>{const t=new Map;const n=e=>{const n=t.get(e);if(n!==undefined)return n;const s={base:undefined,byProperty:undefined,byValues:undefined};t.set(e,s);return s};for(const t of Object.keys(e)){if(t.startsWith("by")){const s=t;const i=e[s];for(const e of Object.keys(i)){const t=i[e];for(const o of Object.keys(t)){const r=n(o);if(r.byProperty===undefined){r.byProperty=s;r.byValues=new Map}else if(r.byProperty!==s){throw new Error(`${s} and ${r.byProperty} for a single property is not supported`)}r.byValues.set(e,t[o]);if(e==="default"){for(const e of Object.keys(i)){if(!r.byValues.has(e))r.byValues.set(e,undefined)}}}}}else{const s=n(t);s.base=e[t]}}return t};const l=e=>{const t={};for(const n of e.values()){if(n.byProperty!==undefined){const e=t[n.byProperty]=t[n.byProperty]||{};for(const t of n.byValues.keys()){e[t]=e[t]||{}}}}for(const[n,s]of e){if(s.base!==undefined){t[n]=s.base}if(s.byProperty!==undefined){const e=t[s.byProperty]=t[s.byProperty]||{};for(const t of Object.keys(e)){const i=b(s.byValues,t);if(i!==undefined)e[t][n]=i}}}return t};const d=0;const p=1;const h=2;const f=3;const m=4;const g=e=>{if(e===undefined){return d}else if(e===i){return m}else if(Array.isArray(e)){if(e.lastIndexOf("...")!==-1)return h;return p}else if(typeof e==="object"&&e!==null&&(!e.constructor||e.constructor===Object)){return f}return p};const y=(e,t,n=false)=>{if(t===undefined)return e;if(e===undefined)return t;const s=n?c(e):u(e);const i=n?c(t):u(t);const o=new Map;for(const[e,t]of s){const s=i.get(e);const r=s!==undefined?v(t,s,n):t;o.set(e,r)}for(const[e,t]of i){if(!s.has(e)){o.set(e,t)}}return l(o)};const v=(e,t,n)=>{switch(g(t.base)){case p:case m:return t;case d:if(!e.byProperty){return{base:e.base,byProperty:t.byProperty,byValues:t.byValues}}else if(e.byProperty!==t.byProperty){throw new Error(`${e.byProperty} and ${t.byProperty} for a single property is not supported`)}else{const s=new Map(e.byValues);for(const[i,o]of t.byValues){const t=b(e.byValues,i);s.set(i,k(t,o,n))}return{base:e.base,byProperty:e.byProperty,byValues:s}}default:{if(!e.byProperty){return{base:k(e.base,t.base,n),byProperty:t.byProperty,byValues:t.byValues}}let s;const i=new Map(e.byValues);for(const[e,s]of i){i.set(e,k(s,t.base,n))}if(Array.from(e.byValues.values()).every(e=>{const t=g(e);return t===p||t===m})){s=k(e.base,t.base,n)}else{s=e.base;if(!i.has("default"))i.set("default",t.base)}if(!t.byProperty){return{base:s,byProperty:e.byProperty,byValues:i}}else if(e.byProperty!==t.byProperty){throw new Error(`${e.byProperty} and ${t.byProperty} for a single property is not supported`)}const o=new Map(i);for(const[e,s]of t.byValues){const t=b(i,e);o.set(e,k(t,s,n))}return{base:s,byProperty:e.byProperty,byValues:o}}}};const b=(e,t)=>{if(t!=="default"&&e.has(t)){return e.get(t)}return e.get("default")};const k=(e,t,n)=>{const s=g(t);const i=g(e);switch(s){case m:case p:return t;case f:{return i!==f?t:n?o(e,t):y(e,t)}case d:return e;case h:switch(i!==p?i:Array.isArray(e)?h:f){case d:return t;case m:return t.filter(e=>e!=="...");case h:{const n=[];for(const s of t){if(s==="..."){for(const t of e){n.push(t)}}else{n.push(s)}}return n}case f:return t.map(t=>t==="..."?e:t);default:throw new Error("Not implemented")}default:throw new Error("Not implemented")}};const w=e=>{const t={};for(const n of Object.keys(e)){const s=e[n];const i=g(s);switch(i){case d:case m:break;case f:t[n]=w(s);break;case h:t[n]=s.filter(e=>e!=="...");break;default:t[n]=s;break}}return t};t.cachedSetProperty=r;t.cachedCleverMerge=o;t.cleverMerge=y;t.removeOperations=w;t.DELETE=i},29579:(e,t,n)=>{"use strict";const{compareRuntime:s}=n(17156);const i=e=>{const t=new WeakMap;return n=>{const s=t.get(n);if(s!==undefined)return s;const i=(t,s)=>{return e(n,t,s)};t.set(n,i);return i}};t.compareChunksById=((e,t)=>{return p(e.id,t.id)});t.compareModulesByIdentifier=((e,t)=>{return p(e.identifier(),t.identifier())});const o=(e,t,n)=>{return p(e.getModuleId(t),e.getModuleId(n))};t.compareModulesById=i(o);const r=(e,t)=>{if(typeof e!==typeof t){return typeof et)return 1;return 0};t.compareNumbers=r;const a=(e,t)=>{const n=e.split(/(\d+)/);const s=t.split(/(\d+)/);const i=Math.min(n.length,s.length);for(let e=0;ei.length){if(t.slice(0,i.length)>i)return 1;return-1}else if(i.length>t.length){if(i.slice(0,t.length)>t)return-1;return 1}else{if(ti)return 1}}else{const e=+t;const n=+i;if(en)return 1}}if(s.lengthn.length)return-1;return 0};t.compareStringsNumeric=a;const c=(e,t,n)=>{const s=r(e.getPostOrderIndex(t),e.getPostOrderIndex(n));if(s!==0)return s;return p(t.identifier(),n.identifier())};t.compareModulesByPostOrderIndexOrIdentifier=i(c);const u=(e,t,n)=>{const s=r(e.getPreOrderIndex(t),e.getPreOrderIndex(n));if(s!==0)return s;return p(t.identifier(),n.identifier())};t.compareModulesByPreOrderIndexOrIdentifier=i(u);const l=(e,t,n)=>{const s=p(e.getModuleId(t),e.getModuleId(n));if(s!==0)return s;return p(t.identifier(),n.identifier())};t.compareModulesByIdOrIdentifier=i(l);const d=(e,t,n)=>{return e.compareChunks(t,n)};t.compareChunks=i(d);const p=(e,t)=>{if(typeof e!==typeof t){return typeof et)return 1;return 0};t.compareIds=p;const h=(e,t)=>{if(et)return 1;return 0};t.compareStrings=h;const f=(e,t)=>{return e.index{if(n.length>0){const[s,...i]=n;return g(e,g(t,s,...i))}const s=m.get(e,t);if(s!==undefined)return s;const i=(n,s)=>{const i=e(n,s);if(i!==0)return i;return t(n,s)};m.set(e,t,i);return i};t.concatComparators=g;const y=new TwoKeyWeakMap;const v=(e,t)=>{const n=y.get(e,t);if(n!==undefined)return n;const s=(n,s)=>{const i=e(n);const o=e(s);if(i!==undefined&&i!==null){if(o!==undefined&&o!==null){return t(i,o)}return-1}else{if(o!==undefined&&o!==null){return 1}return 0}};y.set(e,t,s);return s};t.compareSelect=v;const b=new WeakMap;const k=e=>{const t=b.get(e);if(t!==undefined)return t;const n=(t,n)=>{const s=t[Symbol.iterator]();const i=n[Symbol.iterator]();while(true){const t=s.next();const n=i.next();if(t.done){return n.done?0:-1}else if(n.done){return 1}const o=e(t.value,n.value);if(o!==0)return o}};b.set(e,n);return n};t.compareIterables=k;t.keepOriginalOrder=(e=>{const t=new Map;let n=0;for(const s of e){t.set(s,n++)}return(e,n)=>r(t.get(e),t.get(n))});t.compareChunksNatural=(e=>{const n=t.compareModulesById(e);const i=k(n);return g(v(e=>e.name,p),v(e=>e.runtime,s),v(t=>e.getOrderedChunkModulesIterable(t,n),i))});t.compareLocations=((e,t)=>{let n=typeof e==="object"&&e!==null;let s=typeof t==="object"&&t!==null;if(!n||!s){if(n)return 1;if(s)return-1;return 0}if("start"in e&&"start"in t){const n=e.start;const s=t.start;if(n.lines.line)return 1;if(n.columns.column)return 1}if("name"in e&&"name"in t){if(e.namet.name)return 1}if("index"in e&&"index"in t){if(e.indext.index)return 1}return 0})},29404:e=>{"use strict";const t=e=>{return e.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&")};const n=e=>{if(`${+e}`===e){return e}return JSON.stringify(e)};const s=e=>{const t=Object.keys(e).filter(t=>e[t]);const n=Object.keys(e).filter(t=>!e[t]);if(t.length===0)return false;if(n.length===0)return true;return i(t,n)};const i=(e,t)=>{if(e.length===0)return()=>"false";if(t.length===0)return()=>"true";if(e.length===1)return t=>`${n(e[0])} == ${t}`;if(t.length===1)return e=>`${n(t[0])} != ${e}`;const s=c(e);const i=c(t);if(s.length<=i.length){return e=>`/^${s}$/.test(${e})`}else{return e=>`!/^${i}$/.test(${e})`}};const o=(e,t,n)=>{const s=new Map;for(const n of e){const e=t(n);if(e){let t=s.get(e);if(t===undefined){t=[];s.set(e,t)}t.push(n)}}const i=[];for(const t of s.values()){if(n(t)){for(const n of t){e.delete(n)}i.push(t)}}return i};const r=e=>{let t=e[0];for(let n=1;n{let t=e[0];for(let n=1;n=0;e--,n--){if(s[e]!==t[n]){t=t.slice(n+1);break}}}return t};const c=e=>{if(e.length===1){return t(e[0])}const n=[];let s=0;for(const t of e){if(t.length===1){s++}}if(s===e.length){return`[${t(e.sort().join(""))}]`}const i=new Set(e.sort());if(s>2){let e="";for(const t of i){if(t.length===1){e+=t;i.delete(t)}}n.push(`[${t(e)}]`)}if(n.length===0&&i.size===2){const n=r(e);const s=a(e.map(e=>e.slice(n.length)));if(n.length>0||s.length>0){return`${t(n)}${c(e.map(e=>e.slice(n.length,-s.length||undefined)))}${t(s)}`}}if(n.length===0&&i.size===2){const e=i[Symbol.iterator]();const n=e.next().value;const s=e.next().value;if(n.length>0&&s.length>0&&n.slice(-1)===s.slice(-1)){return`${c([n.slice(0,-1),s.slice(0,-1)])}${t(n.slice(-1))}`}}const u=o(i,e=>e.length>=1?e[0]:false,e=>{if(e.length>=3)return true;if(e.length<=1)return false;return e[0][1]===e[1][1]});for(const e of u){const s=r(e);n.push(`${t(s)}${c(e.map(e=>e.slice(s.length)))}`)}const l=o(i,e=>e.length>=1?e.slice(-1):false,e=>{if(e.length>=3)return true;if(e.length<=1)return false;return e[0].slice(-2)===e[1].slice(-2)});for(const e of l){const s=a(e);n.push(`${c(e.map(e=>e.slice(0,-s.length)))}${t(s)}`)}const d=n.concat(Array.from(i,t));if(d.length===1)return d[0];return`(${d.join("|")})`};s.fromLists=i;s.itemsToRegexp=c;e.exports=s},49835:(e,t,n)=>{"use strict";const s=n(36692);const i=1e3;const o=new Map;class BulkUpdateDecorator extends s{constructor(e,t){super();this.hashKey=t;if(typeof e==="function"){this.hashFactory=e;this.hash=undefined}else{this.hashFactory=undefined;this.hash=e}this.buffer=""}update(e,t){if(t!==undefined||typeof e!=="string"||e.length>i){if(this.hash===undefined)this.hash=this.hashFactory();if(this.buffer.length>0){this.hash.update(this.buffer);this.buffer=""}this.hash.update(e,t)}else{this.buffer+=e;if(this.buffer.length>i){if(this.hash===undefined)this.hash=this.hashFactory();this.hash.update(this.buffer);this.buffer=""}}return this}digest(e){let t;if(this.hash===undefined){t=`${this.hashKey}-${e}-${this.buffer}`;const n=o.get(t);if(n!==undefined)return n;this.hash=this.hashFactory()}if(this.buffer.length>0){this.hash.update(this.buffer)}const n=this.hash.digest(e);const s=typeof n==="string"?n:n.toString();if(t!==undefined){o.set(t,s)}return s}}class DebugHash extends s{constructor(){super();this.string=""}update(e,t){if(typeof e!=="string")e=e.toString("utf-8");if(e.startsWith("debug-digest-")){e=Buffer.from(e.slice("debug-digest-".length),"hex").toString()}this.string+=`[${e}](${(new Error).stack.split("\n",3)[2]})\n`;return this}digest(e){return"debug-digest-"+Buffer.from(this.string).toString("hex")}}let r=undefined;e.exports=(e=>{if(typeof e==="function"){return new BulkUpdateDecorator(()=>new e)}switch(e){case"debug":return new DebugHash;default:if(r===undefined)r=n(76417);return new BulkUpdateDecorator(()=>r.createHash(e),e)}})},64518:(e,t,n)=>{"use strict";const s=n(31669);const i=new Map;const o=(e,t)=>{const n=i.get(e);if(n!==undefined)return n;const o=s.deprecate(()=>{},e,"DEP_WEBPACK_DEPRECATION_"+t);i.set(e,o);return o};const r=["concat","entry","filter","find","findIndex","includes","indexOf","join","lastIndexOf","map","reduce","reduceRight","slice","some"];const a=["copyWithin","entries","fill","keys","pop","reverse","shift","splice","sort","unshift"];t.arrayToSetDeprecation=((e,t)=>{for(const n of r){if(e[n])continue;const s=o(`${t} was changed from Array to Set (using Array method '${n}' is deprecated)`,"ARRAY_TO_SET");e[n]=function(){s();const e=Array.from(this);return Array.prototype[n].apply(e,arguments)}}const n=o(`${t} was changed from Array to Set (using Array method 'push' is deprecated)`,"ARRAY_TO_SET_PUSH");const s=o(`${t} was changed from Array to Set (using Array property 'length' is deprecated)`,"ARRAY_TO_SET_LENGTH");const i=o(`${t} was changed from Array to Set (indexing Array is deprecated)`,"ARRAY_TO_SET_INDEXER");e.push=function(){n();for(const e of Array.from(arguments)){this.add(e)}return this.size};for(const n of a){if(e[n])continue;e[n]=(()=>{throw new Error(`${t} was changed from Array to Set (using Array method '${n}' is not possible)`)})}const c=e=>{const t=function(){i();let t=0;for(const n of this){if(t++===e)return n}return undefined};return t};const u=n=>{Object.defineProperty(e,n,{get:c(n),set(e){throw new Error(`${t} was changed from Array to Set (indexing Array with write is not possible)`)}})};u(0);let l=1;Object.defineProperty(e,"length",{get(){s();const e=this.size;for(l;l{class SetDeprecatedArray extends Set{}t.arrayToSetDeprecation(SetDeprecatedArray.prototype,e);return SetDeprecatedArray});t.soonFrozenObjectDeprecation=((e,t,n,i="")=>{const o=`${t} will be frozen in future, all modifications are deprecated.${i&&`\n${i}`}`;return new Proxy(e,{set:s.deprecate((e,t,n,s)=>Reflect.set(e,t,n,s),o,n),defineProperty:s.deprecate((e,t,n)=>Reflect.defineProperty(e,t,n),o,n),deleteProperty:s.deprecate((e,t)=>Reflect.deleteProperty(e,t),o,n),setPrototypeOf:s.deprecate((e,t)=>Reflect.setPrototypeOf(e,t),o,n)})});const c=(e,t,n)=>{const i={};const o=Object.getOwnPropertyDescriptors(e);for(const e of Object.keys(o)){const r=o[e];if(typeof r.value==="function"){Object.defineProperty(i,e,{...r,value:s.deprecate(r.value,t,n)})}else if(r.get||r.set){Object.defineProperty(i,e,{...r,get:r.get&&s.deprecate(r.get,t,n),set:r.set&&s.deprecate(r.set,t,n)})}else{let o=r.value;Object.defineProperty(i,e,{configurable:r.configurable,enumerable:r.enumerable,get:s.deprecate(()=>o,t,n),set:r.writable?s.deprecate(e=>o=e,t,n):undefined})}}return i};t.deprecateAllProperties=c;t.createFakeHook=((e,t,n)=>{if(t&&n){e=c(e,t,n)}return Object.freeze(Object.assign(e,{_fakeHook:true}))})},59836:e=>{"use strict";const t=(e,t)=>{const n=Math.min(e.length,t.length);let s=0;for(let i=0;i{const s=Math.min(e.length,t.length);let i=0;while(i{for(const n of Object.keys(t)){e[n]=(e[n]||0)+t[n]}};const i=e=>{const t=Object.create(null);for(const n of e){s(t,n.size)}return t};const o=(e,t)=>{for(const n of Object.keys(e)){const s=t[n];if(typeof s==="number"){if(e[n]>s)return true}}return false};const r=(e,t)=>{for(const n of Object.keys(e)){const s=t[n];if(typeof s==="number"){if(e[n]{const n=new Set;for(const s of Object.keys(e)){const i=t[s];if(typeof i==="number"){if(e[s]{let n=0;for(const s of Object.keys(e)){if(t.has(s))n++}return n};const u=(e,t)=>{let n=0;for(const s of Object.keys(e)){if(t.has(s))n+=e[s]}return n};class Node{constructor(e,t,n){this.item=e;this.key=t;this.size=n}}class Group{constructor(e,t,n){this.nodes=e;this.similarities=t;this.size=n||i(e);this.key=undefined}popNodes(e){const n=[];const s=[];const o=[];let r;for(let i=0;i0){s.push(r===this.nodes[i-1]?this.similarities[i-1]:t(r.key,a.key))}n.push(a);r=a}}this.nodes=n;this.similarities=s;this.size=i(n);return o}}const l=e=>{const n=[];let s=undefined;for(const i of e){if(s!==undefined){n.push(t(s.key,i.key))}s=i}return n};e.exports=(({maxSize:e,minSize:t,items:i,getSize:d,getKey:p})=>{const h=[];const f=Array.from(i,e=>new Node(e,p(e),d(e)));const m=[];f.sort((e,t)=>{if(e.keyt.key)return 1;return 0});for(const n of f){if(o(n.size,e)&&!r(n.size,t)){h.push(new Group([n],[]))}else{m.push(n)}}if(m.length>0){const n=new Group(m,l(m));const i=a(n.size,t);if(i.size>0){const e=n.popNodes(e=>c(e.size,i)>0);const t=h.filter(e=>c(e.size,i)>0);if(t.length>0){const n=t.reduce((e,t)=>{const n=c(e,i);const s=c(t,i);if(n!==s)return nu(t.size,i))return t;return e});for(const t of e)n.nodes.push(t);n.nodes.sort((e,t)=>{if(e.keyt.key)return 1;return 0})}else{h.push(new Group(e,null))}}if(n.nodes.length>0){const i=[n];while(i.length){const n=i.pop();if(!o(n.size,e)){h.push(n);continue}let a=1;let c=Object.create(null);s(c,n.nodes[0].size);while(r(c,t)){s(c,n.nodes[a].size);a++}let u=n.nodes.length-2;let l=Object.create(null);s(l,n.nodes[n.nodes.length-1].size);while(r(l,t)){s(l,n.nodes[u].size);u--}if(a-1>u){h.push(n);continue}if(a<=u){let e=a-1;let t=n.similarities[e];for(let s=a;s<=u;s++){const i=n.similarities[s];if(i{if(e.nodes[0].keyt.nodes[0].key)return 1;return 0});const g=new Set;for(let e=0;e{return{key:e.key,items:e.nodes.map(e=>e.item),size:e.size}})})},11850:e=>{"use strict";e.exports=function extractUrlAndGlobal(e){const t=e.indexOf("@");return[e.substring(t+1),e.substring(0,t)]}},6261:e=>{"use strict";const t=0;const n=1;const s=2;const i=3;const o=4;class Node{constructor(e){this.item=e;this.dependencies=new Set;this.marker=t;this.cycle=undefined;this.incoming=0}}class Cycle{constructor(){this.nodes=new Set}}e.exports=((e,r)=>{const a=new Map;for(const t of e){const e=new Node(t);a.set(t,e)}if(a.size<=1)return e;for(const e of a.values()){for(const t of r(e.item)){const n=a.get(t);if(n!==undefined){e.dependencies.add(n)}}}const c=new Set;const u=new Set;for(const e of a.values()){if(e.marker===t){e.marker=n;const r=[{node:e,openEdges:Array.from(e.dependencies)}];while(r.length>0){const e=r[r.length-1];if(e.openEdges.length>0){const a=e.openEdges.pop();switch(a.marker){case t:r.push({node:a,openEdges:Array.from(a.dependencies)});a.marker=n;break;case n:{let e=a.cycle;if(!e){e=new Cycle;e.nodes.add(a);a.cycle=e}for(let t=r.length-1;r[t].node!==a;t--){const n=r[t].node;if(n.cycle){if(n.cycle!==e){for(const t of n.cycle.nodes){t.cycle=e;e.nodes.add(t)}}}else{n.cycle=e;e.nodes.add(n)}}break}case o:a.marker=s;c.delete(a);break;case i:u.delete(a.cycle);a.marker=s;break}}else{r.pop();e.node.marker=s}}const a=e.cycle;if(a){for(const e of a.nodes){e.marker=i}u.add(a)}else{e.marker=o;c.add(e)}}}for(const e of u){let t=0;const n=new Set;const s=e.nodes;for(const e of s){for(const i of e.dependencies){if(s.has(i)){i.incoming++;if(i.incomingt){n.clear();t=i.incoming}n.add(i)}}}for(const e of n){c.add(e)}}if(c.size>0){return Array.from(c,e=>e.item)}else{throw new Error("Implementation of findGraphRoots is broken")}})},17139:(e,t,n)=>{"use strict";const s=n(85622);const i=(e,t,n)=>{if(e&&e.relative){return e.relative(t,n)}else if(t.startsWith("/")){return s.posix.relative(t,n)}else if(t.length>1&&t[1]===":"){return s.win32.relative(t,n)}else{throw new Error(`${t} is neither a posix nor a windows path, and there is no 'relative' method defined in the file system`)}};t.relative=i;const o=(e,t,n)=>{if(e&&e.join){return e.join(t,n)}else if(t.startsWith("/")){return s.posix.join(t,n)}else if(t.length>1&&t[1]===":"){return s.win32.join(t,n)}else{throw new Error(`${t} is neither a posix nor a windows path, and there is no 'join' method defined in the file system`)}};t.join=o;const r=(e,t)=>{if(e&&e.dirname){return e.dirname(t)}else if(t.startsWith("/")){return s.posix.dirname(t)}else if(t.length>1&&t[1]===":"){return s.win32.dirname(t)}else{throw new Error(`${t} is neither a posix nor a windows path, and there is no 'dirname' method defined in the file system`)}};t.dirname=r;const a=(e,t,n)=>{e.mkdir(t,s=>{if(s){if(s.code==="ENOENT"){const i=r(e,t);if(i===t){n(s);return}a(e,i,s=>{if(s){n(s);return}e.mkdir(t,e=>{if(e){if(e.code==="EEXIST"){n();return}n(e);return}n()})});return}else if(s.code==="EEXIST"){n();return}n(s);return}n()})};t.mkdirp=a;const c=(e,t)=>{try{e.mkdirSync(t)}catch(n){if(n){if(n.code==="ENOENT"){const s=r(e,t);if(s===t){throw n}c(e,s);e.mkdirSync(t);return}else if(n.code==="EEXIST"){return}throw n}}};t.mkdirpSync=c;const u=(e,t,n)=>{if("readJson"in e)return e.readJson(t,n);e.readFile(t,(e,t)=>{if(e)return n(e);let s;try{s=JSON.parse(t.toString("utf-8"))}catch(e){return n(e)}return n(null,s)})};t.readJson=u},82186:(e,t,n)=>{"use strict";const s=n(85622);const i=/^[a-zA-Z]:[\\/]/;const o=/([|!])/;const r=/\\/g;const a=(e,t)=>{if(t[0]==="/"){if(t.length>1&&t[t.length-1]==="/"){return t}const n=t.indexOf("?");let i=n===-1?t:t.slice(0,n);i=s.posix.relative(e,i);if(!i.startsWith("../")){i="./"+i}return n===-1?i:i+t.slice(n)}if(i.test(t)){const n=t.indexOf("?");let o=n===-1?t:t.slice(0,n);o=s.win32.relative(e,o);if(!i.test(o)){o=o.replace(r,"/");if(!o.startsWith("../")){o="./"+o}}return n===-1?o:o+t.slice(n)}return t};const c=(e,t)=>{if(t.startsWith("./")||t.startsWith("../"))return s.join(e,t);return t};const u=e=>{const t=new WeakMap;const n=(n,s,i)=>{if(!i)return e(n,s);let o=t.get(i);if(o===undefined){o=new Map;t.set(i,o)}let r;let a=o.get(n);if(a===undefined){o.set(n,a=new Map)}else{r=a.get(s)}if(r!==undefined){return r}else{const t=e(n,s);a.set(s,t);return t}};n.bindCache=(n=>{let s;if(n){s=t.get(n);if(s===undefined){s=new Map;t.set(n,s)}}else{s=new Map}const i=(t,n)=>{let i;let o=s.get(t);if(o===undefined){s.set(t,o=new Map)}else{i=o.get(n)}if(i!==undefined){return i}else{const s=e(t,n);o.set(n,s);return s}};return i});n.bindContextCache=((n,s)=>{let i;if(s){let e=t.get(s);if(e===undefined){e=new Map;t.set(s,e)}i=e.get(n);if(i===undefined){e.set(n,i=new Map)}}else{i=new Map}const o=t=>{const s=i.get(t);if(s!==undefined){return s}else{const s=e(n,t);i.set(t,s);return s}};return o});return n};const l=(e,t)=>{return t.split(o).map(t=>a(e,t)).join("")};t.makePathsRelative=u(l);const d=(e,t)=>{return t.split("!").map(t=>a(e,t)).join("!")};const p=u(d);t.contextify=p;const h=(e,t)=>{return t.split("!").map(t=>c(e,t)).join("!")};const f=u(h);t.absolutify=f;const m=/^((?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;const g=e=>{const t=m.exec(e);return{resource:e,path:t[1].replace(/\0(.)/g,"$1"),query:t[2]?t[2].replace(/\0(.)/g,"$1"):"",fragment:t[3]||""}};t.parseResource=(e=>{const t=new WeakMap;const n=e=>{const n=t.get(e);if(n!==undefined)return n;const s=new Map;t.set(e,s);return s};const s=(t,s)=>{if(!s)return e(t);const i=n(s);const o=i.get(t);if(o!==undefined)return o;const r=e(t);i.set(t,r);return r};s.bindCache=(t=>{const s=n(t);return t=>{const n=s.get(t);if(n!==undefined)return n;const i=e(t);s.set(t,i);return i}});return s})(g);t.getUndoPath=((e,t)=>{let n=-1;for(const t of e.split(/[/\\]+/)){if(t!=="."){n+=t===".."?-1:1}}return n>0?"../".repeat(n):t?"./":""})},53023:(e,t,n)=>{"use strict";e.exports={AsyncDependenciesBlock:()=>n(47736),CommentCompilationWarning:()=>n(98427),ContextModule:()=>n(76729),"cache/PackFileCacheStrategy":()=>n(86180),"cache/ResolverCachePlugin":()=>n(97347),"container/ContainerEntryDependency":()=>n(64813),"container/ContainerEntryModule":()=>n(80580),"container/ContainerExposedDependency":()=>n(72374),"container/FallbackDependency":()=>n(57764),"container/FallbackItemDependency":()=>n(29593),"container/FallbackModule":()=>n(82886),"container/RemoteModule":()=>n(62916),"container/RemoteToExternalDependency":()=>n(14389),"dependencies/AMDDefineDependency":()=>n(96816),"dependencies/AMDRequireArrayDependency":()=>n(33516),"dependencies/AMDRequireContextDependency":()=>n(96123),"dependencies/AMDRequireDependenciesBlock":()=>n(76932),"dependencies/AMDRequireDependency":()=>n(43911),"dependencies/AMDRequireItemDependency":()=>n(71806),"dependencies/CachedConstDependency":()=>n(57403),"dependencies/CommonJsRequireContextDependency":()=>n(23962),"dependencies/CommonJsExportRequireDependency":()=>n(62892),"dependencies/CommonJsExportsDependency":()=>n(45598),"dependencies/CommonJsFullRequireDependency":()=>n(59440),"dependencies/CommonJsRequireDependency":()=>n(21264),"dependencies/CommonJsSelfReferenceDependency":()=>n(52225),"dependencies/ConstDependency":()=>n(76911),"dependencies/ContextDependency":()=>n(88101),"dependencies/ContextElementDependency":()=>n(58477),"dependencies/CriticalDependencyWarning":()=>n(15427),"dependencies/DelegatedSourceDependency":()=>n(22914),"dependencies/DllEntryDependency":()=>n(95666),"dependencies/EntryDependency":()=>n(3979),"dependencies/ExportsInfoDependency":()=>n(78988),"dependencies/HarmonyAcceptDependency":()=>n(23624),"dependencies/HarmonyAcceptImportDependency":()=>n(99843),"dependencies/HarmonyCompatibilityDependency":()=>n(72906),"dependencies/HarmonyExportExpressionDependency":()=>n(51340),"dependencies/HarmonyExportHeaderDependency":()=>n(38873),"dependencies/HarmonyExportImportedSpecifierDependency":()=>n(67157),"dependencies/HarmonyExportSpecifierDependency":()=>n(48567),"dependencies/HarmonyImportSideEffectDependency":()=>n(73132),"dependencies/HarmonyImportSpecifierDependency":()=>n(14077),"dependencies/ImportContextDependency":()=>n(1902),"dependencies/ImportDependency":()=>n(89376),"dependencies/ImportEagerDependency":()=>n(50718),"dependencies/ImportWeakDependency":()=>n(82483),"dependencies/JsonExportsDependency":()=>n(750),"dependencies/LocalModule":()=>n(5826),"dependencies/LocalModuleDependency":()=>n(52805),"dependencies/ModuleDecoratorDependency":()=>n(88488),"dependencies/ModuleHotAcceptDependency":()=>n(47511),"dependencies/ModuleHotDeclineDependency":()=>n(86301),"dependencies/ImportMetaHotAcceptDependency":()=>n(51274),"dependencies/ImportMetaHotDeclineDependency":()=>n(53141),"dependencies/ProvidedDependency":()=>n(95770),"dependencies/PureExpressionDependency":()=>n(55799),"dependencies/RequireContextDependency":()=>n(46917),"dependencies/RequireEnsureDependenciesBlock":()=>n(27153),"dependencies/RequireEnsureDependency":()=>n(27223),"dependencies/RequireEnsureItemDependency":()=>n(50329),"dependencies/RequireHeaderDependency":()=>n(89183),"dependencies/RequireIncludeDependency":()=>n(71284),"dependencies/RequireIncludeDependencyParserPlugin":()=>n(35768),"dependencies/RequireResolveContextDependency":()=>n(55627),"dependencies/RequireResolveDependency":()=>n(68582),"dependencies/RequireResolveHeaderDependency":()=>n(9880),"dependencies/RuntimeRequirementsDependency":()=>n(24187),"dependencies/StaticExportsDependency":()=>n(91418),"dependencies/SystemPlugin":()=>n(97981),"dependencies/UnsupportedDependency":()=>n(51669),"dependencies/URLDependency":()=>n(58612),"dependencies/WebAssemblyExportImportedDependency":()=>n(52204),"dependencies/WebAssemblyImportDependency":()=>n(5239),"dependencies/WorkerDependency":()=>n(1466),"optimize/ConcatenatedModule":()=>n(97198),DelegatedModule:()=>n(28623),DependenciesBlock:()=>n(71040),DllModule:()=>n(28280),ExternalModule:()=>n(73071),FileSystemInfo:()=>n(79453),Module:()=>n(73208),ModuleBuildError:()=>n(21305),ModuleError:()=>n(23744),ModuleGraph:()=>n(99988),ModuleParseError:()=>n(58443),ModuleWarning:()=>n(11234),NormalModule:()=>n(39),RawModule:()=>n(84929),"sharing/ConsumeSharedModule":()=>n(62286),"sharing/ConsumeSharedFallbackDependency":()=>n(58831),"sharing/ProvideSharedModule":()=>n(50821),"sharing/ProvideSharedDependency":()=>n(1798),"sharing/ProvideForSharedDependency":()=>n(40017),UnsupportedFeatureWarning:()=>n(42495),"util/LazySet":()=>n(38938),UnhandledSchemeError:()=>n(68099),WebpackError:()=>n(53799),"util/registerExternalSerializer":()=>{}}},33032:(e,t,n)=>{"use strict";const{register:s}=n(8282);class ClassSerializer{constructor(e){this.Constructor=e;this.hash=null}serialize(e,t){e.serialize(t)}deserialize(e){if(typeof this.Constructor.deserialize==="function"){return this.Constructor.deserialize(e)}const t=new this.Constructor;t.deserialize(e);return t}}e.exports=((e,t,n=null)=>{s(e,t,n,new ClassSerializer(e))})},6157:e=>{"use strict";const t=e=>{let t=false;let n=undefined;return()=>{if(t){return n}else{n=e();t=true;e=undefined;return n}}};e.exports=t},70002:e=>{"use strict";const t=2147483648;const n=t-1;const s=4;const i=[0,0,0,0,0];const o=[3,7,17,19];e.exports=((e,r)=>{i.fill(0);for(let t=0;t>1}}if(r<=n){let e=0;for(let t=0;t{"use strict";const t=/^[_a-zA-Z$][_a-zA-Z$0-9]*$/;const n=(e,n=0)=>{let s="";for(let i=n;i{"use strict";const{register:s}=n(8282);const i=n(1610).Position;const o=n(1610).SourceLocation;const{ValidationError:r}=n(33225);const{CachedSource:a,ConcatSource:c,OriginalSource:u,PrefixSource:l,RawSource:d,ReplaceSource:p,SourceMapSource:h}=n(84697);const f="webpack/lib/util/registerExternalSerializer";s(a,f,"webpack-sources/CachedSource",new class CachedSourceSerializer{serialize(e,{write:t,writeLazy:n}){if(n){n(e.originalLazy())}else{t(e.original())}t(e.getCachedData())}deserialize({read:e}){const t=e();const n=e();return new a(t,n)}});s(d,f,"webpack-sources/RawSource",new class RawSourceSerializer{serialize(e,{write:t}){t(e.buffer());t(!e.isBuffer())}deserialize({read:e}){const t=e();const n=e();return new d(t,n)}});s(c,f,"webpack-sources/ConcatSource",new class ConcatSourceSerializer{serialize(e,{write:t}){t(e.getChildren())}deserialize({read:e}){const t=new c;t.addAllSkipOptimizing(e());return t}});s(l,f,"webpack-sources/PrefixSource",new class PrefixSourceSerializer{serialize(e,{write:t}){t(e.getPrefix());t(e.original())}deserialize({read:e}){return new l(e(),e())}});s(p,f,"webpack-sources/ReplaceSource",new class ReplaceSourceSerializer{serialize(e,{write:t}){t(e.original());t(e.getName());const n=e.getReplacements();t(n.length);for(const e of n){t(e.start);t(e.end)}for(const e of n){t(e.content);t(e.name)}}deserialize({read:e}){const t=new p(e(),e());const n=e();const s=[];for(let t=0;t{"use strict";const s=n(13098);t.getEntryRuntime=((e,t,n)=>{let s;let i;if(n){({dependOn:s,runtime:i}=n)}else{const n=e.entries.get(t);if(!n)return t;({dependOn:s,runtime:i}=n.options)}if(s){let n=undefined;const i=new Set(s);for(const t of i){const s=e.entries.get(t);if(!s)continue;const{dependOn:o,runtime:r}=s.options;if(o){for(const e of o){i.add(e)}}else{n=l(n,r||t)}}return n||t}else{return i||t}});t.forEachRuntime=((e,t)=>{if(e===undefined){t(undefined)}else if(typeof e==="string"){t(e)}else{for(const n of e){t(n)}}});const i=e=>{e.sort();return Array.from(e).join("\n")};const o=e=>{if(e===undefined)return"*";if(typeof e==="string")return e;return e.getFromUnorderedCache(i)};t.getRuntimeKey=o;const r=e=>{if(e==="*")return undefined;const t=e.split("\n");if(t.length===1)return t[0];return new s(t)};t.keyToRuntime=r;const a=e=>{e.sort();return Array.from(e).join("+")};const c=e=>{if(e===undefined)return"*";if(typeof e==="string")return e;return e.getFromUnorderedCache(a)};t.runtimeToString=c;t.runtimeConditionToString=(e=>{if(e===true)return"true";if(e===false)return"false";return c(e)});t.runtimeEqual=((e,t)=>{if(e===t){return true}else if(e===undefined||t===undefined||typeof e==="string"||typeof t==="string"){return false}else if(e.size!==t.size){return false}else{e.sort();t.sort();const n=e[Symbol.iterator]();const s=t[Symbol.iterator]();for(;;){const e=n.next();if(e.done)return true;const t=s.next();if(e.value!==t.value)return false}}});t.compareRuntime=((e,t)=>{if(e===t){return 0}else if(e===undefined){return-1}else if(t===undefined){return 1}else{const n=o(e);const s=o(t);if(ns)return 1;return 0}});const u=(e,t)=>{if(e===undefined){return t}else if(t===undefined){return e}else if(e===t){return e}else if(typeof e==="string"){if(typeof t==="string"){const n=new s;n.add(e);n.add(t);return n}else if(t.has(e)){return t}else{const n=new s(t);n.add(e);return n}}else{if(typeof t==="string"){if(e.has(t))return e;const n=new s(e);n.add(t);return n}else{const n=new s(e);for(const e of t)n.add(e);if(n.size===e.size)return e;return n}}};t.mergeRuntime=u;t.mergeRuntimeCondition=((e,t,n)=>{if(e===false)return t;if(t===false)return e;if(e===true||t===true)return true;const s=u(e,t);if(s===undefined)return undefined;if(typeof s==="string"){if(typeof n==="string"&&s===n)return true;return s}if(typeof n==="string"||n===undefined)return s;if(s.size===n.size)return true;return s});t.mergeRuntimeConditionNonFalse=((e,t,n)=>{if(e===true||t===true)return true;const s=u(e,t);if(s===undefined)return undefined;if(typeof s==="string"){if(typeof n==="string"&&s===n)return true;return s}if(typeof n==="string"||n===undefined)return s;if(s.size===n.size)return true;return s});const l=(e,t)=>{if(t===undefined){return e}else if(e===t){return e}else if(e===undefined){if(typeof t==="string"){const e=new s;e.add(t);return e}else{return new s(t)}}else if(typeof e==="string"){if(typeof t==="string"){const n=new s;n.add(e);n.add(t);return n}else{const n=new s(t);n.add(e);return n}}else{if(typeof t==="string"){e.add(t);return e}else{for(const n of t)e.add(n);return e}}};t.mergeRuntimeOwned=l;t.intersectRuntime=((e,t)=>{if(e===undefined){return t}else if(t===undefined){return e}else if(e===t){return e}else if(typeof e==="string"){if(typeof t==="string"){return undefined}else if(t.has(e)){return e}else{return undefined}}else{if(typeof t==="string"){if(e.has(t))return t;return undefined}else{const n=new s;for(const s of t){if(e.has(s))n.add(s)}if(n.size===0)return undefined;if(n.size===1)for(const e of n)return e;return n}}});const d=(e,t)=>{if(e===undefined){return undefined}else if(t===undefined){return e}else if(e===t){return undefined}else if(typeof e==="string"){if(typeof t==="string"){return undefined}else if(t.has(e)){return undefined}else{return e}}else{if(typeof t==="string"){if(!e.has(t))return e;if(e.size===2){for(const n of e){if(n!==t)return n}}const n=new s(e);n.delete(t)}else{const n=new s;for(const s of e){if(!t.has(s))n.add(s)}if(n.size===0)return undefined;if(n.size===1)for(const e of n)return e;return n}}};t.subtractRuntime=d;t.subtractRuntimeCondition=((e,t,n)=>{if(t===true)return false;if(t===false)return e;if(e===false)return false;const s=d(e===true?n:e,t);return s===undefined?false:s});t.filterRuntime=((e,t)=>{if(e===undefined)return t(undefined);if(typeof e==="string")return t(e);let n=false;let s=true;let i=undefined;for(const o of e){const e=t(o);if(e){n=true;i=l(i,o)}else{s=false}}if(!n)return false;if(s)return true;return i});class RuntimeSpecMap{constructor(e){this._map=new Map(e?e._map:undefined)}get(e){const t=o(e);return this._map.get(t)}has(e){const t=o(e);return this._map.has(t)}set(e,t){this._map.set(o(e),t)}delete(e){this._map.delete(o(e))}update(e,t){const n=o(e);const s=this._map.get(n);const i=t(s);if(i!==s)this._map.set(n,i)}keys(){return Array.from(this._map.keys(),r)}values(){return this._map.values()}}t.RuntimeSpecMap=RuntimeSpecMap;class RuntimeSpecSet{constructor(e){this._map=new Map;if(e){for(const t of e){this.add(t)}}}add(e){this._map.set(o(e),e)}has(e){return this._map.has(o(e))}[Symbol.iterator](){return this._map.values()}get size(){return this._map.size}}t.RuntimeSpecSet=RuntimeSpecSet},19702:function(e,t){"use strict";const n=e=>{var t=function(e){return e.split(".").map(function(e){return+e==e?+e:e})};var n=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e);var s=n[1]?t(n[1]):[];if(n[2]){s.length++;s.push.apply(s,t(n[2]))}if(n[3]){s.push([]);s.push.apply(s,t(n[3]))}return s};t.parseVersion=n;const s=(e,t)=>{e=n(e);t=n(t);var s=0;for(;;){if(s>=e.length)return s=t.length)return o=="u";var r=t[s];var a=(typeof r)[0];if(o==a){if(o!="o"&&o!="u"&&i!=r){return i{const t=e=>{return e.split(".").map(e=>`${+e}`===e?+e:e)};const n=e=>{const n=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e);const s=n[1]?[0,...t(n[1])]:[0];if(n[2]){s.length++;s.push.apply(s,t(n[2]))}let i=s[s.length-1];while(s.length&&(i===undefined||/^[*xX]$/.test(i))){s.pop();i=s[s.length-1]}return s};const s=e=>{if(e.length===1){return[0]}else if(e.length===2){return[1,...e.slice(1)]}else if(e.length===3){return[2,...e.slice(1)]}else{return[e.length,...e.slice(1)]}};const i=e=>{return[-e[0]-1,...e.slice(1)]};const o=e=>{const t=/^(\^|~|<=|<|>=|>|=|v|!)/.exec(e);const o=t?t[0]:"";const r=n(e.slice(o.length));switch(o){case"^":if(r.length>1&&r[1]===0){if(r.length>2&&r[2]===0){return[3,...r.slice(1)]}return[2,...r.slice(1)]}return[1,...r.slice(1)];case"~":return[2,...r.slice(1)];case">=":return r;case"=":case"v":case"":return s(r);case"<":return i(r);case">":{const e=s(r);return[,e,0,r,2]}case"<=":return[,s(r),i(r),1];case"!":{const e=s(r);return[,e,0]}default:throw new Error("Unexpected start value")}};const r=(e,t)=>{if(e.length===1)return e[0];const n=[];for(const t of e.slice().reverse()){if(0 in t){n.push(t)}else{n.push(...t.slice(1))}}return[,...n,...e.slice(1).map(()=>t)]};const a=e=>{const t=e.split(" - ");if(t.length===1){const t=e.trim().split(/\s+/g).map(o);return r(t,2)}const a=n(t[0]);const c=n(t[1]);return[,s(c),i(c),1,a,2]};const c=e=>{const t=e.split(/\s*\|\|\s*/).map(a);return r(t,1)};return c(e)});const i=e=>{if(e.length===1){return"*"}else if(0 in e){var t="";var n=e[0];t+=n==0?">=":n==-1?"<":n==1?"^":n==2?"~":n>0?"=":"!=";var s=1;for(var o=1;o0?".":"")+(s=2,r)}return t}else{var c=[];for(var o=1;o{if(0 in e){t=n(t);var s=e[0];var i=s<0;if(i)s=-s-1;for(var r=0,a=1,c=true;;a++,r++){var u=a=t.length||(l=t[r],(d=(typeof l)[0])=="o")){if(!c)return true;if(u=="u")return a>s&&!i;return u==""!=i}if(d=="u"){if(!c||u!="u"){return false}}else if(c){if(u==d){if(a<=s){if(l!=e[a]){return false}}else{if(i?l>e[a]:l{switch(typeof e){case"undefined":return"";case"object":if(Array.isArray(e)){let t="[";for(let n=0;n`var parseVersion = ${e.basicFunction("str",["// see webpack/lib/util/semver.js for original code",`var p=${e.supportsArrowFunction()?"p=>":"function(p)"}{return p.split(".").map((${e.supportsArrowFunction()?"p=>":"function(p)"}{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;`])}`);t.versionLtRuntimeCode=(e=>`var versionLt = ${e.basicFunction("a, b",["// see webpack/lib/util/semver.js for original code",'a=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r=b.length)return"u"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return"o"==n&&"n"==f||("s"==f||"u"==n);if("o"!=n&&"u"!=n&&e!=t)return e`var rangeToString = ${e.basicFunction("range",["// see webpack/lib/util/semver.js for original code",'if(1===range.length)return"*";if(0 in range){var r="",n=range[0];r+=0==n?">=":-1==n?"<":1==n?"^":2==n?"~":n>0?"=":"!=";for(var e=1,a=1;a0?".":"")+(e=2,t)}return r}var g=[];for(a=1;a`var satisfy = ${e.basicFunction("range, version",["// see webpack/lib/util/semver.js for original code",'if(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i=version.length||"o"==(s=(typeof(f=version[n]))[0]))return!a||("u"==g?i>e&&!r:""==g!=r);if("u"==s){if(!a||"u"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f{"use strict";const s=n(97059);const i=n(65321);const o=n(34795);const r=n(53080);const a=n(83137);const c=n(65112);const u=n(53023);const{register:l,registerLoader:d,registerNotSerializable:p}=o;const h=new s;t.register=l;t.registerLoader=d;t.registerNotSerializable=p;t.NOT_SERIALIZABLE=o.NOT_SERIALIZABLE;t.MEASURE_START_OPERATION=s.MEASURE_START_OPERATION;t.MEASURE_END_OPERATION=s.MEASURE_END_OPERATION;t.buffersSerializer=new r([new c,new o(e=>{if(e.write){e.writeLazy=(t=>{e.write(a.createLazy(t,h))})}}),h]);t.createFileSerializer=(e=>{const t=new i(e);return new r([new c,new o(e=>{if(e.write){e.writeLazy=(t=>{e.write(a.createLazy(t,h))});e.writeSeparate=((n,s)=>{e.write(a.createLazy(n,t,s))})}}),h,t])});n(26611);d(/^webpack\/lib\//,e=>{const t=u[e.slice("webpack/lib/".length)];if(t){t()}else{console.warn(`${e} not found in internalSerializables`)}return true})},15652:e=>{"use strict";const t=(e,t)=>{const n=new Set;const s=new Map;for(const i of e){const e=new Set;for(let n=0;n{const n=e.size;const r=new Map;for(const t of e){for(const e of t.groups){if(i.has(e))continue;const n=r.get(e);if(n===undefined){r.set(e,new Set([t]))}else{n.add(t)}}}const a=new Set;const c=[];for(;;){let u=undefined;let l=-1;let d=undefined;let p=undefined;for(const[t,i]of r){if(i.size===0)continue;const[o,r]=s.get(t);const c=o.getOptions&&o.getOptions(r,Array.from(i,({item:e})=>e));const h=c&&c.force;if(!h){if(p&&p.force)continue;if(a.has(t))continue;if(i.size<=1||n-i.size<=1){continue}}const f=c&&c.targetGroupCount||4;let m=h?i.size:Math.min(i.size,n*2/f+e.size-i.size);if(m>l||h&&(!p||!p.force)){u=t;l=m;d=i;p=c}}if(u===undefined){break}const h=new Set(d);const f=p;const m=!f||f.groupChildren!==false;for(const t of h){e.delete(t);for(const e of t.groups){const n=r.get(e);if(n!==undefined)n.delete(t);if(m){a.add(e)}}}r.delete(u);const g=u.indexOf(":");const y=u.slice(0,g);const v=u.slice(g+1);const b=t[+y];const k=Array.from(h,({item:e})=>e);i.add(u);const w=m?o(h):k;i.delete(u);c.push(b.createGroup(v,w,k))}for(const{item:t}of e){c.push(t)}return c};return o(n)};e.exports=t},41245:(e,t)=>{"use strict";const n=new WeakMap;const s=(e,t)=>{let n=typeof e.buffer==="function"?e.buffer():e.source();let s=typeof t.buffer==="function"?t.buffer():t.source();if(n===s)return true;if(typeof n==="string"&&typeof s==="string")return false;if(!Buffer.isBuffer(n))n=Buffer.from(n,"utf-8");if(!Buffer.isBuffer(s))s=Buffer.from(s,"utf-8");return n.equals(s)};const i=(e,t)=>{if(e===t)return true;const i=n.get(e);if(i!==undefined){const e=i.get(t);if(e!==undefined)return e}const o=s(e,t);if(i!==undefined){i.set(t,o)}else{const s=new WeakMap;s.set(t,o);n.set(e,s)}const r=n.get(t);if(r!==undefined){r.set(e,o)}else{const s=new WeakMap;s.set(e,o);n.set(t,s)}return o};t.isSourceEqual=i},12047:(e,t,n)=>{"use strict";const{validate:s}=n(33225);const i={rules:"module.rules",loaders:"module.rules or module.rules.*.use",query:"module.rules.*.options (BREAKING CHANGE since webpack 5)",noParse:"module.noParse",filename:"output.filename or module.rules.*.generator.filename",file:"output.filename",chunkFilename:"output.chunkFilename",chunkfilename:"output.chunkFilename",ecmaVersion:"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)",ecmaversion:"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)",ecma:"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)",path:"output.path",pathinfo:"output.pathinfo",pathInfo:"output.pathinfo",jsonpFunction:"output.chunkLoadingGlobal (BREAKING CHANGE since webpack 5)",chunkCallbackName:"output.chunkLoadingGlobal (BREAKING CHANGE since webpack 5)",jsonpScriptType:"output.scriptType (BREAKING CHANGE since webpack 5)",hotUpdateFunction:"output.hotUpdateGlobal (BREAKING CHANGE since webpack 5)",splitChunks:"optimization.splitChunks",immutablePaths:"snapshot.immutablePaths",managedPaths:"snapshot.managedPaths",maxModules:"stats.modulesSpace (BREAKING CHANGE since webpack 5)",hashedModuleIds:'optimization.moduleIds: "hashed" (BREAKING CHANGE since webpack 5)',namedChunks:'optimization.chunkIds: "named" (BREAKING CHANGE since webpack 5)',namedModules:'optimization.moduleIds: "named" (BREAKING CHANGE since webpack 5)',occurrenceOrder:'optimization.chunkIds: "size" and optimization.moduleIds: "size" (BREAKING CHANGE since webpack 5)',automaticNamePrefix:"optimization.splitChunks.[cacheGroups.*].idHint (BREAKING CHANGE since webpack 5)",noEmitOnErrors:"optimization.emitOnErrors (BREAKING CHANGE since webpack 5: logic is inverted to avoid negative flags)",Buffer:"to use the ProvidePlugin to process the Buffer variable to modules as polyfill\n"+"BREAKING CHANGE: webpack 5 no longer provided Node.js polyfills by default.\n"+"Note: if you are using 'node.Buffer: false', you can just remove that as this is the default behavior now.\n"+"To provide a polyfill to modules use:\n"+'new ProvidePlugin({ Buffer: ["buffer", "Buffer"] }) and npm install buffer.',process:"to use the ProvidePlugin to process the process variable to modules as polyfill\n"+"BREAKING CHANGE: webpack 5 no longer provided Node.js polyfills by default.\n"+"Note: if you are using 'node.process: false', you can just remove that as this is the default behavior now.\n"+"To provide a polyfill to modules use:\n"+'new ProvidePlugin({ process: "process" }) and npm install buffer.'};const o={concord:"BREAKING CHANGE: resolve.concord has been removed and is no longer avaiable.",devtoolLineToLine:"BREAKING CHANGE: output.devtoolLineToLine has been removed and is no longer avaiable."};const r=(e,t,n)=>{s(e,t,n||{name:"Webpack",postFormatter:(e,t)=>{const n=t.children;if(n&&n.some(e=>e.keyword==="absolutePath"&&e.dataPath===".output.filename")){return`${e}\nPlease use output.path to specify absolute path and output.filename for the file name.`}if(n&&n.some(e=>e.keyword==="pattern"&&e.dataPath===".devtool")){return`${e}\n`+"BREAKING CHANGE since webpack 5: The devtool option is more strict.\n"+"Please strictly follow the order of the keywords in the pattern."}if(t.keyword==="additionalProperties"){const n=t.params;if(Object.prototype.hasOwnProperty.call(i,n.additionalProperty)){return`${e}\nDid you mean ${i[n.additionalProperty]}?`}if(Object.prototype.hasOwnProperty.call(o,n.additionalProperty)){return`${e}\n${o[n.additionalProperty]}?`}if(!t.dataPath){if(n.additionalProperty==="debug"){return`${e}\n`+"The 'debug' property was removed in webpack 2.0.0.\n"+"Loaders should be updated to allow passing this option via loader options in module.rules.\n"+"Until loaders are updated one can use the LoaderOptionsPlugin to switch loaders into debug mode:\n"+"plugins: [\n"+" new webpack.LoaderOptionsPlugin({\n"+" debug: true\n"+" })\n"+"]"}if(n.additionalProperty){return`${e}\n`+"For typos: please correct them.\n"+"For loader options: webpack >= v2.0.0 no longer allows custom properties in configuration.\n"+" Loaders should be updated to allow passing options via loader options in module.rules.\n"+" Until loaders are updated one can use the LoaderOptionsPlugin to pass these options to the loader:\n"+" plugins: [\n"+" new webpack.LoaderOptionsPlugin({\n"+" // test: /\\.xxx$/, // may apply this only for some modules\n"+" options: {\n"+` ${n.additionalProperty}: …\n`+" }\n"+" })\n"+" ]"}}}return e}})};e.exports=r},77085:(e,t,n)=>{"use strict";const s=n(16475);const i=n(16963);const o=n(1626);class AsyncWasmChunkLoadingRuntimeModule extends i{constructor({generateLoadBinaryCode:e,supportsStreaming:t}){super("wasm chunk loading",i.STAGE_ATTACH);this.generateLoadBinaryCode=e;this.supportsStreaming=t}generate(){const{compilation:e,chunk:t}=this;const{outputOptions:n,runtimeTemplate:i}=e;const r=s.instantiateWasm;const a=e.getPath(JSON.stringify(n.webassemblyModuleFilename),{hash:`" + ${s.getFullHash}() + "`,hashWithLength:e=>`" + ${s.getFullHash}}().slice(0, ${e}) + "`,module:{id:'" + wasmModuleId + "',hash:`" + wasmModuleHash + "`,hashWithLength(e){return`" + wasmModuleHash.slice(0, ${e}) + "`}},runtime:t.runtime});return`${r} = ${i.basicFunction("exports, wasmModuleId, wasmModuleHash, importsObj",[`var req = ${this.generateLoadBinaryCode(a)};`,this.supportsStreaming?o.asString(["if (typeof WebAssembly.instantiateStreaming === 'function') {",o.indent(["return WebAssembly.instantiateStreaming(req, importsObj)",o.indent([`.then(${i.returningFunction("Object.assign(exports, res.instance.exports)","res")});`])]),"}"]):"// no support for streaming compilation","return req",o.indent([`.then(${i.returningFunction("x.arrayBuffer()","x")})`,`.then(${i.returningFunction("WebAssembly.instantiate(bytes, importsObj)","bytes")})`,`.then(${i.returningFunction("Object.assign(exports, res.instance.exports)","res")});`])])};`}}e.exports=AsyncWasmChunkLoadingRuntimeModule},58461:(e,t,n)=>{"use strict";const s=n(93401);const i=new Set(["webassembly"]);class AsyncWebAssemblyGenerator extends s{constructor(e){super();this.options=e}getTypes(e){return i}getSize(e,t){const n=e.originalSource();if(!n){return 0}return n.size()}generate(e,t){return e.originalSource()}}e.exports=AsyncWebAssemblyGenerator},95614:(e,t,n)=>{"use strict";const{RawSource:s}=n(84697);const i=n(93401);const o=n(55870);const r=n(16475);const a=n(1626);const c=n(5239);const u=new Set(["webassembly"]);class AsyncWebAssemblyJavascriptGenerator extends i{constructor(e){super();this.filenameTemplate=e}getTypes(e){return u}getSize(e,t){return 40+e.dependencies.length*10}generate(e,t){const{runtimeTemplate:n,chunkGraph:i,moduleGraph:u,runtimeRequirements:l,runtime:d}=t;l.add(r.module);l.add(r.moduleId);l.add(r.exports);l.add(r.instantiateWasm);const p=[];const h=new Map;const f=new Map;for(const t of e.dependencies){if(t instanceof c){const e=u.getModule(t);if(!h.has(e)){h.set(e,{request:t.request,importVar:`WEBPACK_IMPORTED_MODULE_${h.size}`})}let n=f.get(t.request);if(n===undefined){n=[];f.set(t.request,n)}n.push(t)}}const m=[];const g=Array.from(h,([t,{request:s,importVar:o}])=>{if(u.isAsync(t)){m.push(o)}return n.importStatement({update:false,module:t,chunkGraph:i,request:s,originModule:e,importVar:o,runtimeRequirements:l})});const y=g.map(([e])=>e).join("");const v=g.map(([e,t])=>t).join("");const b=Array.from(f,([t,s])=>{const i=s.map(s=>{const i=u.getModule(s);const o=h.get(i).importVar;return`${JSON.stringify(s.name)}: ${n.exportFromImport({moduleGraph:u,module:i,request:t,exportName:s.name,originModule:e,asiSafe:true,isCall:false,callContext:false,defaultInterop:true,importVar:o,initFragments:p,runtime:d,runtimeRequirements:l})}`});return a.asString([`${JSON.stringify(t)}: {`,a.indent(i.join(",\n")),"}"])});const k=b.length>0?a.asString(["{",a.indent(b.join(",\n")),"}"]):undefined;const w=`${r.instantiateWasm}(${e.exportsArgument}, ${e.moduleArgument}.id, ${JSON.stringify(i.getRenderedModuleHash(e,d))}`+(k?`, ${k})`:`)`);const x=new s(`${y}${m.length>1?a.asString([`${e.moduleArgument}.exports = Promise.all([${m.join(", ")}]).then(${n.basicFunction(`[${m.join(", ")}]`,`${v}return ${w};`)})`]):m.length===1?a.asString([`${e.moduleArgument}.exports = Promise.resolve(${m[0]}).then(${n.basicFunction(m[0],`${v}return ${w};`)})`]):`${v}${e.moduleArgument}.exports = ${w}`}`);return o.addToSource(x,p,t)}}e.exports=AsyncWebAssemblyJavascriptGenerator},7538:(e,t,n)=>{"use strict";const{SyncWaterfallHook:s}=n(6967);const i=n(85720);const o=n(93401);const{tryRunOrWebpackError:r}=n(11351);const a=n(5239);const{compareModulesByIdentifier:c}=n(29579);const u=n(6157);const l=u(()=>n(58461));const d=u(()=>n(95614));const p=u(()=>n(96305));const h=new WeakMap;class AsyncWebAssemblyModulesPlugin{static getCompilationHooks(e){if(!(e instanceof i)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let t=h.get(e);if(t===undefined){t={renderModuleContent:new s(["source","module","renderContext"])};h.set(e,t)}return t}constructor(e){this.options=e}apply(e){e.hooks.compilation.tap("AsyncWebAssemblyModulesPlugin",(e,{normalModuleFactory:t})=>{const n=AsyncWebAssemblyModulesPlugin.getCompilationHooks(e);e.dependencyFactories.set(a,t);t.hooks.createParser.for("webassembly/async").tap("AsyncWebAssemblyModulesPlugin",()=>{const e=p();return new e});t.hooks.createGenerator.for("webassembly/async").tap("AsyncWebAssemblyModulesPlugin",()=>{const t=d();const n=l();return o.byType({javascript:new t(e.outputOptions.webassemblyModuleFilename),webassembly:new n(this.options)})});e.hooks.renderManifest.tap("WebAssemblyModulesPlugin",(t,s)=>{const{moduleGraph:i,chunkGraph:o,runtimeTemplate:r}=e;const{chunk:a,outputOptions:u,dependencyTemplates:l,codeGenerationResults:d}=s;for(const e of o.getOrderedChunkModulesIterable(a,c)){if(e.type==="webassembly/async"){const s=u.webassemblyModuleFilename;t.push({render:()=>this.renderModule(e,{chunk:a,dependencyTemplates:l,runtimeTemplate:r,moduleGraph:i,chunkGraph:o,codeGenerationResults:d},n),filenameTemplate:s,pathOptions:{module:e,runtime:a.runtime,chunkGraph:o},auxiliary:true,identifier:`webassemblyAsyncModule${o.getModuleId(e)}`,hash:o.getModuleHash(e,a.runtime)})}}return t})})}renderModule(e,t,n){const{codeGenerationResults:s,chunk:i}=t;try{const o=s.getSource(e,i.runtime,"webassembly");return r(()=>n.renderModuleContent.call(o,e,t),"AsyncWebAssemblyModulesPlugin.getCompilationHooks().renderModuleContent")}catch(t){t.module=e;throw t}}}e.exports=AsyncWebAssemblyModulesPlugin},96305:(e,t,n)=>{"use strict";const s=n(3240);const{decode:i}=n(56954);const o=n(11715);const r=n(91418);const a=n(5239);const c={ignoreCodeSection:true,ignoreDataSection:true,ignoreCustomNameSection:true};class WebAssemblyParser extends o{constructor(e){super();this.hooks=Object.freeze({});this.options=e}parse(e,t){if(!Buffer.isBuffer(e)){throw new Error("WebAssemblyParser input must be a Buffer")}t.module.buildInfo.strict=true;t.module.buildMeta.exportsType="namespace";t.module.buildMeta.async=true;const n=i(e,c);const o=n.body[0];const u=[];s.traverse(o,{ModuleExport({node:e}){u.push(e.name)},ModuleImport({node:e}){const n=new a(e.module,e.name,e.descr,false);t.module.addDependency(n)}});t.module.addDependency(new r(u,false));return t}}e.exports=WebAssemblyParser},78455:(e,t,n)=>{"use strict";const s=n(53799);e.exports=class UnsupportedWebAssemblyFeatureError extends s{constructor(e){super(e);this.name="UnsupportedWebAssemblyFeatureError";this.hideStack=true;Error.captureStackTrace(this,this.constructor)}}},87394:(e,t,n)=>{"use strict";const s=n(16475);const i=n(16963);const o=n(1626);const{compareModulesByIdentifier:r}=n(29579);const a=n(18650);const c=(e,t,n)=>{const s=n.getAllAsyncChunks();const i=[];for(const e of s){for(const n of t.getOrderedChunkModulesIterable(e,r)){if(n.type.startsWith("webassembly")){i.push(n)}}}return i};const u=(e,t,n,i,r)=>{const c=e.moduleGraph;const u=new Map;const l=[];const d=a.getUsedDependencies(c,t,n);for(const t of d){const n=t.dependency;const a=c.getModule(n);const d=n.name;const p=a&&c.getExportsInfo(a).getUsedName(d,r);const h=n.description;const f=n.onlyDirectImport;const m=t.module;const g=t.name;if(f){const t=`m${u.size}`;u.set(t,e.getModuleId(a));l.push({module:m,name:g,value:`${t}[${JSON.stringify(p)}]`})}else{const t=h.signature.params.map((e,t)=>"p"+t+e.valtype);const n=`${s.moduleCache}[${JSON.stringify(e.getModuleId(a))}]`;const r=`${n}.exports`;const c=`wasmImportedFuncCache${i.length}`;i.push(`var ${c};`);l.push({module:m,name:g,value:o.asString([(a.type.startsWith("webassembly")?`${n} ? ${r}[${JSON.stringify(p)}] : `:"")+`function(${t}) {`,o.indent([`if(${c} === undefined) ${c} = ${r};`,`return ${c}[${JSON.stringify(p)}](${t});`]),"}"])})}}let p;if(n){p=["return {",o.indent([l.map(e=>`${JSON.stringify(e.name)}: ${e.value}`).join(",\n")]),"};"]}else{const e=new Map;for(const t of l){let n=e.get(t.module);if(n===undefined){e.set(t.module,n=[])}n.push(t)}p=["return {",o.indent([Array.from(e,([e,t])=>{return o.asString([`${JSON.stringify(e)}: {`,o.indent([t.map(e=>`${JSON.stringify(e.name)}: ${e.value}`).join(",\n")]),"}"])}).join(",\n")]),"};"]}const h=JSON.stringify(e.getModuleId(t));if(u.size===1){const e=Array.from(u.values())[0];const t=`installedWasmModules[${JSON.stringify(e)}]`;const n=Array.from(u.keys())[0];return o.asString([`${h}: function() {`,o.indent([`return promiseResolve().then(function() { return ${t}; }).then(function(${n}) {`,o.indent(p),"});"]),"},"])}else if(u.size>0){const e=Array.from(u.values(),e=>`installedWasmModules[${JSON.stringify(e)}]`).join(", ");const t=Array.from(u.keys(),(e,t)=>`${e} = array[${t}]`).join(", ");return o.asString([`${h}: function() {`,o.indent([`return promiseResolve().then(function() { return Promise.all([${e}]); }).then(function(array) {`,o.indent([`var ${t};`,...p]),"});"]),"},"])}else{return o.asString([`${h}: function() {`,o.indent(p),"},"])}};class WasmChunkLoadingRuntimeModule extends i{constructor({generateLoadBinaryCode:e,supportsStreaming:t,mangleImports:n}){super("wasm chunk loading",i.STAGE_ATTACH);this.generateLoadBinaryCode=e;this.supportsStreaming=t;this.mangleImports=n}generate(){const{compilation:e,chunk:t,mangleImports:n}=this;const{chunkGraph:i,moduleGraph:r,outputOptions:l}=e;const d=s.ensureChunkHandlers;const p=c(r,i,t);const h=[];const f=p.map(e=>{return u(i,e,this.mangleImports,h,t.runtime)});const m=i.getChunkModuleIdMap(t,e=>e.type.startsWith("webassembly"));const g=e=>n?`{ ${JSON.stringify(a.MANGLED_MODULE)}: ${e} }`:e;const y=e.getPath(JSON.stringify(l.webassemblyModuleFilename),{hash:`" + ${s.getFullHash}() + "`,hashWithLength:e=>`" + ${s.getFullHash}}().slice(0, ${e}) + "`,module:{id:'" + wasmModuleId + "',hash:`" + ${JSON.stringify(i.getChunkModuleRenderedHashMap(t,e=>e.type.startsWith("webassembly")))}[chunkId][wasmModuleId] + "`,hashWithLength(e){return`" + ${JSON.stringify(i.getChunkModuleRenderedHashMap(t,e=>e.type.startsWith("webassembly"),e))}[chunkId][wasmModuleId] + "`}},runtime:t.runtime});return o.asString(["// object to store loaded and loading wasm modules","var installedWasmModules = {};","","function promiseResolve() { return Promise.resolve(); }","",o.asString(h),"var wasmImportObjects = {",o.indent(f),"};","",`var wasmModuleMap = ${JSON.stringify(m,undefined,"\t")};`,"","// object with all WebAssembly.instance exports",`${s.wasmInstances} = {};`,"","// Fetch + compile chunk loading for webassembly",`${d}.wasm = function(chunkId, promises) {`,o.indent(["",`var wasmModules = wasmModuleMap[chunkId] || [];`,"","wasmModules.forEach(function(wasmModuleId, idx) {",o.indent(["var installedWasmModuleData = installedWasmModules[wasmModuleId];","",'// a Promise means "currently loading" or "already loaded".',"if(installedWasmModuleData)",o.indent(["promises.push(installedWasmModuleData);"]),"else {",o.indent([`var importObject = wasmImportObjects[wasmModuleId]();`,`var req = ${this.generateLoadBinaryCode(y)};`,"var promise;",this.supportsStreaming?o.asString(["if(importObject instanceof Promise && typeof WebAssembly.compileStreaming === 'function') {",o.indent(["promise = Promise.all([WebAssembly.compileStreaming(req), importObject]).then(function(items) {",o.indent([`return WebAssembly.instantiate(items[0], ${g("items[1]")});`]),"});"]),"} else if(typeof WebAssembly.instantiateStreaming === 'function') {",o.indent([`promise = WebAssembly.instantiateStreaming(req, ${g("importObject")});`])]):o.asString(["if(importObject instanceof Promise) {",o.indent(["var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });","promise = Promise.all([",o.indent(["bytesPromise.then(function(bytes) { return WebAssembly.compile(bytes); }),","importObject"]),"]).then(function(items) {",o.indent([`return WebAssembly.instantiate(items[0], ${g("items[1]")});`]),"});"])]),"} else {",o.indent(["var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });","promise = bytesPromise.then(function(bytes) {",o.indent([`return WebAssembly.instantiate(bytes, ${g("importObject")});`]),"});"]),"}","promises.push(installedWasmModules[wasmModuleId] = promise.then(function(res) {",o.indent([`return ${s.wasmInstances}[wasmModuleId] = (res.instance || res).exports;`]),"}));"]),"}"]),"});"]),"};"])}}e.exports=WasmChunkLoadingRuntimeModule},19810:(e,t,n)=>{"use strict";const s=n(16734);const i=n(78455);class WasmFinalizeExportsPlugin{apply(e){e.hooks.compilation.tap("WasmFinalizeExportsPlugin",e=>{e.hooks.finishModules.tap("WasmFinalizeExportsPlugin",t=>{for(const n of t){if(n.type.startsWith("webassembly")===true){const t=n.buildMeta.jsIncompatibleExports;if(t===undefined){continue}for(const o of e.moduleGraph.getIncomingConnections(n)){if(o.isTargetActive(undefined)&&o.originModule.type.startsWith("webassembly")===false){const r=e.getDependencyReferencedExports(o.dependency,undefined);for(const a of r){const r=Array.isArray(a)?a:a.name;if(r.length===0)continue;const c=r[0];if(typeof c==="object")continue;if(Object.prototype.hasOwnProperty.call(t,c)){const r=new i(`Export "${c}" with ${t[c]} can only be used for direct wasm to wasm dependencies\n`+`It's used from ${o.originModule.readableIdentifier(e.requestShortener)} at ${s(o.dependency.loc)}.`);r.module=n;e.errors.push(r)}}}}}}})})}}e.exports=WasmFinalizeExportsPlugin},47012:(e,t,n)=>{"use strict";const{RawSource:s}=n(84697);const i=n(93401);const o=n(18650);const r=n(3240);const{moduleContextFromModuleAST:a}=n(42378);const{editWithAST:c,addWithAST:u}=n(99012);const{decode:l}=n(56954);const d=n(52204);const p=(...e)=>{return e.reduce((e,t)=>{return n=>t(e(n))},e=>e)};const h=e=>t=>{return c(e.ast,t,{Start(e){e.remove()}})};const f=e=>{const t=[];r.traverse(e,{ModuleImport({node:e}){if(r.isGlobalType(e.descr)){t.push(e)}}});return t};const m=e=>{let t=0;r.traverse(e,{ModuleImport({node:e}){if(r.isFuncImportDescr(e.descr)){t++}}});return t};const g=e=>{const t=r.getSectionMetadata(e,"type");if(t===undefined){return r.indexLiteral(0)}return r.indexLiteral(t.vectorOfSize.value)};const y=(e,t)=>{const n=r.getSectionMetadata(e,"func");if(n===undefined){return r.indexLiteral(0+t)}const s=n.vectorOfSize.value;return r.indexLiteral(s+t)};const v=e=>{if(e.valtype[0]==="i"){return r.objectInstruction("const",e.valtype,[r.numberLiteralFromRaw(66)])}else if(e.valtype[0]==="f"){return r.objectInstruction("const",e.valtype,[r.floatLiteral(66,false,false,"66")])}else{throw new Error("unknown type: "+e.valtype)}};const b=e=>t=>{const n=e.additionalInitCode;const s=[];t=c(e.ast,t,{ModuleImport(e){if(r.isGlobalType(e.node.descr)){const t=e.node.descr;t.mutability="var";const n=[v(t),r.instruction("end")];s.push(r.global(t,n));e.remove()}},Global(e){const{node:t}=e;const[i]=t.init;if(i.id==="get_global"){t.globalType.mutability="var";const e=i.args[0];t.init=[v(t.globalType),r.instruction("end")];n.push(r.instruction("get_local",[e]),r.instruction("set_global",[r.indexLiteral(s.length)]))}s.push(t);e.remove()}});return u(e.ast,t,s)};const k=({ast:e,moduleGraph:t,module:n,externalExports:s,runtime:i})=>o=>{return c(e,o,{ModuleExport(e){const o=s.has(e.node.name);if(o){e.remove();return}const r=t.getExportsInfo(n).getUsedName(e.node.name,i);if(!r){e.remove();return}e.node.name=r}})};const w=({ast:e,usedDependencyMap:t})=>n=>{return c(e,n,{ModuleImport(e){const n=t.get(e.node.module+":"+e.node.name);if(n!==undefined){e.node.module=n.module;e.node.name=n.name}}})};const x=({ast:e,initFuncId:t,startAtFuncOffset:n,importedGlobals:s,additionalInitCode:i,nextFuncIndex:o,nextTypeIndex:a})=>c=>{const l=s.map(e=>{const t=r.identifier(`${e.module}.${e.name}`);return r.funcParam(e.descr.valtype,t)});const d=[];s.forEach((e,t)=>{const n=[r.indexLiteral(t)];const s=[r.instruction("get_local",n),r.instruction("set_global",n)];d.push(...s)});if(typeof n==="number"){d.push(r.callInstruction(r.numberLiteralFromRaw(n)))}for(const e of i){d.push(e)}d.push(r.instruction("end"));const p=[];const h=r.signature(l,p);const f=r.func(t,h,d);const m=r.typeInstruction(undefined,h);const g=r.indexInFuncSection(a);const y=r.moduleExport(t.value,r.moduleExportDescr("Func",o));return u(e,c,[f,y,g,m])};const C=(e,t,n)=>{const s=new Map;for(const i of o.getUsedDependencies(e,t,n)){const e=i.dependency;const t=e.request;const n=e.name;s.set(t+":"+n,i)}return s};const M=new Set(["webassembly"]);class WebAssemblyGenerator extends i{constructor(e){super();this.options=e}getTypes(e){return M}getSize(e,t){const n=e.originalSource();if(!n){return 0}return n.size()}generate(e,{moduleGraph:t,runtime:n}){const i=e.originalSource().source();const o=r.identifier("");const c=l(i,{ignoreDataSection:true,ignoreCodeSection:true,ignoreCustomNameSection:true});const u=a(c.body[0]);const v=f(c);const M=m(c);const S=u.getStart();const O=y(c,M);const T=g(c);const P=C(t,e,this.options.mangleImports);const $=new Set(e.dependencies.filter(e=>e instanceof d).map(e=>{const t=e;return t.exportName}));const F=[];const j=p(k({ast:c,moduleGraph:t,module:e,externalExports:$,runtime:n}),h({ast:c}),b({ast:c,additionalInitCode:F}),w({ast:c,usedDependencyMap:P}),x({ast:c,initFuncId:o,importedGlobals:v,additionalInitCode:F,startAtFuncOffset:S,nextFuncIndex:O,nextTypeIndex:T}));const _=j(i);const z=Buffer.from(_);return new s(z)}}e.exports=WebAssemblyGenerator},47342:(e,t,n)=>{"use strict";const s=n(53799);const i=(e,t,n,s)=>{const i=[{head:e,message:e.readableIdentifier(s)}];const o=new Set;const r=new Set;const a=new Set;for(const e of i){const{head:c,message:u}=e;let l=true;const d=new Set;for(const e of t.getIncomingConnections(c)){const t=e.originModule;if(t){if(!n.getModuleChunks(t).some(e=>e.canBeInitial()))continue;l=false;if(d.has(t))continue;d.add(t);const o=t.readableIdentifier(s);const c=e.explanation?` (${e.explanation})`:"";const p=`${o}${c} --\x3e ${u}`;if(a.has(t)){r.add(`... --\x3e ${p}`);continue}a.add(t);i.push({head:t,message:p})}else{l=false;const t=e.explanation?`(${e.explanation}) --\x3e ${u}`:u;o.add(t)}}if(l){o.add(u)}}for(const e of r){o.add(e)}return Array.from(o)};e.exports=class WebAssemblyInInitialChunkError extends s{constructor(e,t,n,s){const o=i(e,t,n,s);const r=`WebAssembly module is included in initial chunk.\nThis is not allowed, because WebAssembly download and compilation must happen asynchronous.\nAdd an async split point (i. e. import()) somewhere between your entrypoint and the WebAssembly module:\n${o.map(e=>`* ${e}`).join("\n")}`;super(r);this.name="WebAssemblyInInitialChunkError";this.hideStack=true;this.module=e;Error.captureStackTrace(this,this.constructor)}}},46545:(e,t,n)=>{"use strict";const{RawSource:s}=n(84697);const{UsageState:i}=n(63686);const o=n(93401);const r=n(55870);const a=n(16475);const c=n(1626);const u=n(80321);const l=n(52204);const d=n(5239);const p=new Set(["webassembly"]);class WebAssemblyJavascriptGenerator extends o{getTypes(e){return p}getSize(e,t){return 95+e.dependencies.length*5}generate(e,t){const{runtimeTemplate:n,moduleGraph:o,chunkGraph:p,runtimeRequirements:h,runtime:f}=t;const m=[];const g=o.getExportsInfo(e);let y=false;const v=new Map;const b=[];let k=0;for(const t of e.dependencies){const s=t&&t instanceof u?t:undefined;if(o.getModule(t)){let i=v.get(o.getModule(t));if(i===undefined){v.set(o.getModule(t),i={importVar:`m${k}`,index:k,request:s&&s.userRequest||undefined,names:new Set,reexports:[]});k++}if(t instanceof d){i.names.add(t.name);if(t.description.type==="GlobalType"){const s=t.name;const r=o.getModule(t);if(r){const a=o.getExportsInfo(r).getUsedName(s,f);if(a){b.push(n.exportFromImport({moduleGraph:o,module:r,request:t.request,importVar:i.importVar,originModule:e,exportName:t.name,asiSafe:true,isCall:false,callContext:null,defaultInterop:true,initFragments:m,runtime:f,runtimeRequirements:h}))}}}}if(t instanceof l){i.names.add(t.name);const s=o.getExportsInfo(e).getUsedName(t.exportName,f);if(s){h.add(a.exports);const r=`${e.exportsArgument}[${JSON.stringify(s)}]`;const u=c.asString([`${r} = ${n.exportFromImport({moduleGraph:o,module:o.getModule(t),request:t.request,importVar:i.importVar,originModule:e,exportName:t.name,asiSafe:true,isCall:false,callContext:null,defaultInterop:true,initFragments:m,runtime:f,runtimeRequirements:h})};`,`if(WebAssembly.Global) ${r} = `+`new WebAssembly.Global({ value: ${JSON.stringify(t.valueType)} }, ${r});`]);i.reexports.push(u);y=true}}}}const w=c.asString(Array.from(v,([e,{importVar:t,request:s,reexports:i}])=>{const o=n.importStatement({module:e,chunkGraph:p,request:s,importVar:t,originModule:e,runtimeRequirements:h});return o[0]+o[1]+i.join("\n")}));const x=g.otherExportsInfo.getUsed(f)===i.Unused&&!y;h.add(a.module);h.add(a.moduleId);h.add(a.wasmInstances);if(g.otherExportsInfo.getUsed(f)!==i.Unused){h.add(a.makeNamespaceObject);h.add(a.exports)}if(!x){h.add(a.exports)}const C=new s(['"use strict";',"// Instantiate WebAssembly module",`var wasmExports = ${a.wasmInstances}[${e.moduleArgument}.id];`,g.otherExportsInfo.getUsed(f)!==i.Unused?`${a.makeNamespaceObject}(${e.exportsArgument});`:"","// export exports from WebAssembly module",x?`${e.moduleArgument}.exports = wasmExports;`:"for(var name in wasmExports) "+`if(name) `+`${e.exportsArgument}[name] = wasmExports[name];`,"// exec imports from WebAssembly module (for esm order)",w,"","// exec wasm module",`wasmExports[""](${b.join(", ")})`].join("\n"));return r.addToSource(C,m,t)}}e.exports=WebAssemblyJavascriptGenerator},53639:(e,t,n)=>{"use strict";const s=n(93401);const i=n(52204);const o=n(5239);const{compareModulesByIdentifier:r}=n(29579);const a=n(6157);const c=n(47342);const u=a(()=>n(47012));const l=a(()=>n(46545));const d=a(()=>n(57059));class WebAssemblyModulesPlugin{constructor(e){this.options=e}apply(e){e.hooks.compilation.tap("WebAssemblyModulesPlugin",(e,{normalModuleFactory:t})=>{e.dependencyFactories.set(o,t);e.dependencyFactories.set(i,t);t.hooks.createParser.for("webassembly/sync").tap("WebAssemblyModulesPlugin",()=>{const e=d();return new e});t.hooks.createGenerator.for("webassembly/sync").tap("WebAssemblyModulesPlugin",()=>{const e=l();const t=u();return s.byType({javascript:new e,webassembly:new t(this.options)})});e.hooks.renderManifest.tap("WebAssemblyModulesPlugin",(t,n)=>{const{chunkGraph:s}=e;const{chunk:i,outputOptions:o,codeGenerationResults:a}=n;for(const e of s.getOrderedChunkModulesIterable(i,r)){if(e.type==="webassembly/sync"){const n=o.webassemblyModuleFilename;t.push({render:()=>a.getSource(e,i.runtime,"webassembly"),filenameTemplate:n,pathOptions:{module:e,runtime:i.runtime,chunkGraph:s},auxiliary:true,identifier:`webassemblyModule${s.getModuleId(e)}`,hash:s.getModuleHash(e,i.runtime)})}}return t});e.hooks.afterChunks.tap("WebAssemblyModulesPlugin",()=>{const t=e.chunkGraph;const n=new Set;for(const s of e.chunks){if(s.canBeInitial()){for(const e of t.getChunkModulesIterable(s)){if(e.type==="webassembly/sync"){n.add(e)}}}}for(const t of n){e.errors.push(new c(t,e.moduleGraph,e.chunkGraph,e.requestShortener))}})})}}e.exports=WebAssemblyModulesPlugin},57059:(e,t,n)=>{"use strict";const s=n(3240);const{moduleContextFromModuleAST:i}=n(42378);const{decode:o}=n(56954);const r=n(11715);const a=n(91418);const c=n(52204);const u=n(5239);const l=new Set(["i32","f32","f64"]);const d=e=>{for(const t of e.params){if(!l.has(t.valtype)){return`${t.valtype} as parameter`}}for(const t of e.results){if(!l.has(t))return`${t} as result`}return null};const p=e=>{for(const t of e.args){if(!l.has(t)){return`${t} as parameter`}}for(const t of e.result){if(!l.has(t))return`${t} as result`}return null};const h={ignoreCodeSection:true,ignoreDataSection:true,ignoreCustomNameSection:true};class WebAssemblyParser extends r{constructor(e){super();this.hooks=Object.freeze({});this.options=e}parse(e,t){if(!Buffer.isBuffer(e)){throw new Error("WebAssemblyParser input must be a Buffer")}t.module.buildInfo.strict=true;t.module.buildMeta.exportsType="namespace";const n=o(e,h);const r=n.body[0];const f=i(r);const m=[];let g=t.module.buildMeta.jsIncompatibleExports=undefined;const y=[];s.traverse(r,{ModuleExport({node:e}){const n=e.descr;if(n.exportType==="Func"){const s=n.id.value;const i=f.getFunction(s);const o=p(i);if(o){if(g===undefined){g=t.module.buildMeta.jsIncompatibleExports={}}g[e.name]=o}}m.push(e.name);if(e.descr&&e.descr.exportType==="Global"){const n=y[e.descr.id.value];if(n){const s=new c(e.name,n.module,n.name,n.descr.valtype);t.module.addDependency(s)}}},Global({node:e}){const t=e.init[0];let n=null;if(t.id==="get_global"){const e=t.args[0].value;if(e{"use strict";const s=n(1626);const i=n(5239);const o="a";const r=(e,t,n)=>{const r=[];let a=0;for(const c of t.dependencies){if(c instanceof i){if(c.description.type==="GlobalType"||e.getModule(c)===null){continue}const t=c.name;if(n){r.push({dependency:c,name:s.numberToIdentifier(a++),module:o})}else{r.push({dependency:c,name:t,module:c.request})}}}return r};t.getUsedDependencies=r;t.MANGLED_MODULE=o},78613:(e,t,n)=>{"use strict";const s=new WeakMap;const i=e=>{let t=s.get(e);if(t===undefined){t=new Set;s.set(e,t)}return t};class EnableWasmLoadingPlugin{constructor(e){this.type=e}static setEnabled(e,t){i(e).add(t)}static checkEnabled(e,t){if(!i(e).has(t)){throw new Error(`Library type "${t}" is not enabled. `+"EnableWasmLoadingPlugin need to be used to enable this type of wasm loading. "+'This usually happens through the "output.enabledWasmLoadingTypes" option. '+'If you are using a function as entry which sets "wasmLoading", you need to add all potential library types to "output.enabledWasmLoadingTypes". '+Array.from(i(e)).join(", "))}}apply(e){const{type:t}=this;const s=i(e);if(s.has(t))return;s.add(t);if(typeof t==="string"){switch(t){case"fetch":{const t=n(35537);const s=n(8437);new t({mangleImports:e.options.optimization.mangleWasmImports}).apply(e);(new s).apply(e);break}case"async-node":{const t=n(98939);const s=n(73163);new t({mangleImports:e.options.optimization.mangleWasmImports}).apply(e);(new s).apply(e);break}case"universal":throw new Error("Universal WebAssembly Loading is not implemented yet");default:throw new Error(`Unsupported wasm loading type ${t}.\nPlugins which provide custom wasm loading types must call EnableWasmLoadingPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}e.exports=EnableWasmLoadingPlugin},8437:(e,t,n)=>{"use strict";const s=n(16475);const i=n(77085);class FetchCompileAsyncWasmPlugin{apply(e){e.hooks.thisCompilation.tap("FetchCompileAsyncWasmPlugin",e=>{const t=e.outputOptions.wasmLoading;const n=e=>{const n=e.getEntryOptions();const s=n&&n.wasmLoading||t;return s==="fetch"};const o=e=>`fetch(${s.publicPath} + ${e})`;e.hooks.runtimeRequirementInTree.for(s.instantiateWasm).tap("FetchCompileAsyncWasmPlugin",(t,r)=>{if(!n(t))return;const a=e.chunkGraph;if(!a.hasModuleInGraph(t,e=>e.type==="webassembly/async")){return}r.add(s.publicPath);e.addRuntimeModule(t,new i({generateLoadBinaryCode:o,supportsStreaming:true}))})})}}e.exports=FetchCompileAsyncWasmPlugin},35537:(e,t,n)=>{"use strict";const s=n(16475);const i=n(87394);class FetchCompileWasmPlugin{constructor(e){this.options=e||{}}apply(e){e.hooks.thisCompilation.tap("FetchCompileWasmPlugin",e=>{const t=e.outputOptions.wasmLoading;const n=e=>{const n=e.getEntryOptions();const s=n&&n.wasmLoading||t;return s==="fetch"};const o=e=>`fetch(${s.publicPath} + ${e})`;e.hooks.runtimeRequirementInTree.for(s.ensureChunkHandlers).tap("FetchCompileWasmPlugin",(t,r)=>{if(!n(t))return;const a=e.chunkGraph;if(!a.hasModuleInGraph(t,e=>e.type==="webassembly/sync")){return}r.add(s.moduleCache);r.add(s.publicPath);e.addRuntimeModule(t,new i({generateLoadBinaryCode:o,supportsStreaming:true,mangleImports:this.options.mangleImports}))})})}}e.exports=FetchCompileWasmPlugin},83121:(e,t,n)=>{"use strict";const s=n(16475);const i=n(84154);const{needEntryDeferringCode:o}=n(54953);class JsonpChunkLoadingPlugin{apply(e){e.hooks.thisCompilation.tap("JsonpChunkLoadingPlugin",e=>{const t=e.outputOptions.chunkLoading;const n=e=>{const n=e.getEntryOptions();const s=n&&n.chunkLoading||t;return s==="jsonp"};const r=new WeakSet;const a=(t,o)=>{if(r.has(t))return;r.add(t);if(!n(t))return;o.add(s.moduleFactoriesAddOnly);o.add(s.hasOwnProperty);e.addRuntimeModule(t,new i(o))};s.ensureChunkHandlers;s.hmrDownloadUpdateHandlers;e.hooks.runtimeRequirementInTree.for(s.ensureChunkHandlers).tap("JsonpChunkLoadingPlugin",a);e.hooks.runtimeRequirementInTree.for(s.hmrDownloadUpdateHandlers).tap("JsonpChunkLoadingPlugin",a);e.hooks.runtimeRequirementInTree.for(s.hmrDownloadManifest).tap("JsonpChunkLoadingPlugin",a);e.hooks.runtimeRequirementInTree.for(s.baseURI).tap("JsonpChunkLoadingPlugin",a);e.hooks.runtimeRequirementInTree.for(s.ensureChunkHandlers).tap("JsonpChunkLoadingPlugin",(e,t)=>{if(!n(e))return;t.add(s.publicPath);t.add(s.loadScript);t.add(s.getChunkScriptFilename)});e.hooks.runtimeRequirementInTree.for(s.hmrDownloadUpdateHandlers).tap("JsonpChunkLoadingPlugin",(e,t)=>{if(!n(e))return;t.add(s.publicPath);t.add(s.loadScript);t.add(s.getChunkUpdateScriptFilename);t.add(s.moduleCache);t.add(s.hmrModuleData);t.add(s.moduleFactoriesAddOnly)});e.hooks.runtimeRequirementInTree.for(s.hmrDownloadManifest).tap("JsonpChunkLoadingPlugin",(e,t)=>{if(!n(e))return;t.add(s.publicPath);t.add(s.getUpdateManifestFilename)});e.hooks.additionalTreeRuntimeRequirements.tap("JsonpChunkLoadingPlugin",(t,i)=>{if(!n(t))return;const r=o(e,t);if(r){i.add(s.startup);i.add(s.startupNoDefault);i.add(s.require);a(t,i)}})})}}e.exports=JsonpChunkLoadingPlugin},84154:(e,t,n)=>{"use strict";const{SyncWaterfallHook:s}=n(6967);const i=n(85720);const o=n(16475);const r=n(16963);const a=n(1626);const c=n(89464).chunkHasJs;const u=n(29404);const{getEntryInfo:l,needEntryDeferringCode:d}=n(54953);const p=new WeakMap;class JsonpChunkLoadingRuntimeModule extends r{static getCompilationHooks(e){if(!(e instanceof i)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let t=p.get(e);if(t===undefined){t={linkPreload:new s(["source","chunk"]),linkPrefetch:new s(["source","chunk"])};p.set(e,t)}return t}constructor(e){super("jsonp chunk loading",r.STAGE_ATTACH);this._runtimeRequirements=e}generate(){const{compilation:e,chunk:t}=this;const{runtimeTemplate:s,chunkGraph:i,outputOptions:{globalObject:r,chunkLoadingGlobal:p,hotUpdateGlobal:h,crossOriginLoading:f,scriptType:m}}=e;const{linkPreload:g,linkPrefetch:y}=JsonpChunkLoadingRuntimeModule.getCompilationHooks(e);const v=o.ensureChunkHandlers;const b=this._runtimeRequirements.has(o.baseURI);const k=this._runtimeRequirements.has(o.ensureChunkHandlers);const w=d(e,t);const x=this._runtimeRequirements.has(o.hmrDownloadUpdateHandlers);const C=this._runtimeRequirements.has(o.hmrDownloadManifest);const M=this._runtimeRequirements.has(o.prefetchChunkHandlers);const S=this._runtimeRequirements.has(o.preloadChunkHandlers);const O=l(i,t,e=>c(e,i));const T=`${r}[${JSON.stringify(p)}]`;const P=u(i.getChunkConditionMap(t,c));return a.asString([b?a.asString([`${o.baseURI} = document.baseURI || self.location.href;`]):"// no baseURI","","// object to store loaded and loading chunks","// undefined = chunk not loaded, null = chunk preloaded/prefetched","// Promise = chunk loading, 0 = chunk loaded","var installedChunks = {",a.indent(t.ids.map(e=>`${JSON.stringify(e)}: 0`).join(",\n")),"};","",w?a.asString(["var deferredModules = [",a.indent(O.map(e=>JSON.stringify(e)).join(",\n")),"];"]):"",k?a.asString([`${v}.j = ${s.basicFunction("chunkId, promises",P!==false?a.indent(["// JSONP chunk loading for javascript",`var installedChunkData = ${o.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`,'if(installedChunkData !== 0) { // 0 means "already installed".',a.indent(["",'// a Promise means "currently loading".',"if(installedChunkData) {",a.indent(["promises.push(installedChunkData[2]);"]),"} else {",a.indent([P===true?"if(true) { // all chunks have JS":`if(${P("chunkId")}) {`,a.indent(["// setup Promise in chunk cache",`var promise = new Promise(${s.basicFunction("resolve, reject",[`installedChunkData = installedChunks[chunkId] = [resolve, reject];`])});`,"promises.push(installedChunkData[2] = promise);","","// start chunk loading",`var url = ${o.publicPath} + ${o.getChunkScriptFilename}(chunkId);`,"// create error before stack unwound to get useful stacktrace later","var error = new Error();",`var loadingEnded = ${s.basicFunction("event",[`if(${o.hasOwnProperty}(installedChunks, chunkId)) {`,a.indent(["installedChunkData = installedChunks[chunkId];","if(installedChunkData !== 0) installedChunks[chunkId] = undefined;","if(installedChunkData) {",a.indent(["var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","error.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';","error.name = 'ChunkLoadError';","error.type = errorType;","error.request = realSrc;","installedChunkData[1](error);"]),"}"]),"}"])};`,`${o.loadScript}(url, loadingEnded, "chunk-" + chunkId);`]),"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):a.indent(["installedChunks[chunkId] = 0;"]))};`]):"// no chunk on demand loading","",M&&P!==false?`${o.prefetchChunkHandlers}.j = ${s.basicFunction("chunkId",[`if((!${o.hasOwnProperty}(installedChunks, chunkId) || installedChunks[chunkId] === undefined) && ${P===true?"true":P("chunkId")}) {`,a.indent(["installedChunks[chunkId] = null;",y.call(a.asString(["var link = document.createElement('link');",f?`link.crossOrigin = ${JSON.stringify(f)};`:"",`if (${o.scriptNonce}) {`,a.indent(`link.setAttribute("nonce", ${o.scriptNonce});`),"}",'link.rel = "prefetch";','link.as = "script";',`link.href = ${o.publicPath} + ${o.getChunkScriptFilename}(chunkId);`]),t),"document.head.appendChild(link);"]),"}"])};`:"// no prefetching","",S&&P!==false?`${o.preloadChunkHandlers}.j = ${s.basicFunction("chunkId",[`if((!${o.hasOwnProperty}(installedChunks, chunkId) || installedChunks[chunkId] === undefined) && ${P===true?"true":P("chunkId")}) {`,a.indent(["installedChunks[chunkId] = null;",g.call(a.asString(["var link = document.createElement('link');",m?`link.type = ${JSON.stringify(m)};`:"","link.charset = 'utf-8';",`if (${o.scriptNonce}) {`,a.indent(`link.setAttribute("nonce", ${o.scriptNonce});`),"}",'link.rel = "preload";','link.as = "script";',`link.href = ${o.publicPath} + ${o.getChunkScriptFilename}(chunkId);`,f?a.asString(["if (link.href.indexOf(window.location.origin + '/') !== 0) {",a.indent(`link.crossOrigin = ${JSON.stringify(f)};`),"}"]):""]),t),"document.head.appendChild(link);"]),"}"])};`:"// no preloaded","",x?a.asString(["var currentUpdatedModulesList;","var waitingUpdateResolves = {};","function loadUpdateChunk(chunkId) {",a.indent([`return new Promise(${s.basicFunction("resolve, reject",["waitingUpdateResolves[chunkId] = resolve;","// start update chunk loading",`var url = ${o.publicPath} + ${o.getChunkUpdateScriptFilename}(chunkId);`,"// create error before stack unwound to get useful stacktrace later","var error = new Error();",`var loadingEnded = ${s.basicFunction("event",["if(waitingUpdateResolves[chunkId]) {",a.indent(["waitingUpdateResolves[chunkId] = undefined","var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","error.message = 'Loading hot update chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';","error.name = 'ChunkLoadError';","error.type = errorType;","error.request = realSrc;","reject(error);"]),"}"])};`,`${o.loadScript}(url, loadingEnded);`])});`]),"}","",`${r}[${JSON.stringify(h)}] = ${s.basicFunction("chunkId, moreModules, runtime",["for(var moduleId in moreModules) {",a.indent([`if(${o.hasOwnProperty}(moreModules, moduleId)) {`,a.indent(["currentUpdate[moduleId] = moreModules[moduleId];","if(currentUpdatedModulesList) currentUpdatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","if(waitingUpdateResolves[chunkId]) {",a.indent(["waitingUpdateResolves[chunkId]();","waitingUpdateResolves[chunkId] = undefined;"]),"}"])};`,"",a.getFunctionContent(n(27266)).replace(/\$key\$/g,"jsonp").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,o.moduleCache).replace(/\$moduleFactories\$/g,o.moduleFactories).replace(/\$ensureChunkHandlers\$/g,o.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,o.hasOwnProperty).replace(/\$hmrModuleData\$/g,o.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,o.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,o.hmrInvalidateModuleHandlers)]):"// no HMR","",C?a.asString([`${o.hmrDownloadManifest} = ${s.basicFunction("",['if (typeof fetch === "undefined") throw new Error("No browser support: need fetch API");',`return fetch(${o.publicPath} + ${o.getUpdateManifestFilename}()).then(${s.basicFunction("response",["if(response.status === 404) return; // no update available",'if(!response.ok) throw new Error("Failed to fetch update manifest " + response.statusText);',"return response.json();"])});`])};`]):"// no HMR manifest","",w?a.asString([`var checkDeferredModules = ${s.emptyFunction()};`]):"// no deferred startup","",w||k?a.asString(["// install a JSONP callback for chunk loading",`var webpackJsonpCallback = ${s.basicFunction("parentChunkLoadingFunction, data",[s.destructureArray(["chunkIds","moreModules","runtime",...w?["executeModules"]:[]],"data"),'// add "moreModules" to the modules object,','// then flag all "chunkIds" as loaded and fire callback',"var moduleId, chunkId, i = 0, resolves = [];","for(;i < chunkIds.length; i++) {",a.indent(["chunkId = chunkIds[i];",`if(${o.hasOwnProperty}(installedChunks, chunkId) && installedChunks[chunkId]) {`,a.indent("resolves.push(installedChunks[chunkId][0]);"),"}","installedChunks[chunkId] = 0;"]),"}","for(moduleId in moreModules) {",a.indent([`if(${o.hasOwnProperty}(moreModules, moduleId)) {`,a.indent(`${o.moduleFactories}[moduleId] = moreModules[moduleId];`),"}"]),"}","if(runtime) runtime(__webpack_require__);","if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);","while(resolves.length) {",a.indent("resolves.shift()();"),"}",w?a.asString(["","// add entry modules from loaded chunk to deferred list","if(executeModules) deferredModules.push.apply(deferredModules, executeModules);","","// run deferred modules when all chunks ready","return checkDeferredModules();"]):""])}`,"",`var chunkLoadingGlobal = ${T} = ${T} || [];`,"chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));","chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));"]):"// no jsonp function","",w?a.asString(["function checkDeferredModulesImpl() {",a.indent(["var result;","for(var i = 0; i < deferredModules.length; i++) {",a.indent(["var deferredModule = deferredModules[i];","var fulfilled = true;","for(var j = 1; j < deferredModule.length; j++) {",a.indent(["var depId = deferredModule[j];","if(installedChunks[depId] !== 0) fulfilled = false;"]),"}","if(fulfilled) {",a.indent(["deferredModules.splice(i--, 1);","result = "+"__webpack_require__("+`${o.entryModuleId} = deferredModule[0]);`]),"}"]),"}","if(deferredModules.length === 0) {",a.indent([`${o.startup}();`,`${o.startup} = ${s.emptyFunction()};`]),"}","return result;"]),"}",`var startup = ${o.startup};`,`${o.startup} = ${s.basicFunction("",["// reset startup function so it can be called again when more startup code is added",`${o.startup} = startup || (${s.emptyFunction()});`,"return (checkDeferredModules = checkDeferredModulesImpl)();"])};`]):"// no deferred startup"])}}e.exports=JsonpChunkLoadingRuntimeModule},54953:(e,t)=>{"use strict";const n=e=>{const t=new Set([e]);const n=new Set;for(const e of t){for(const t of e.chunks){n.add(t)}for(const n of e.parentsIterable){t.add(n)}}return n};t.getEntryInfo=((e,t,s)=>{return Array.from(e.getChunkEntryModulesWithChunkGroupIterable(t)).map(([i,o])=>{const r=[e.getModuleId(i)];for(const e of n(o)){if(!s(e)&&!e.hasRuntime())continue;const n=e.id;if(n===t.id)continue;r.push(n)}return r})});t.needEntryDeferringCode=((e,t)=>{for(const n of e.entrypoints.values()){if(n.getRuntimeChunk()===t){if(n.chunks.length>1||n.chunks[0]!==t)return true}}for(const n of e.asyncEntrypoints){if(n.getRuntimeChunk()===t){if(n.chunks.length>1||n.chunks[0]!==t)return true}}return false})},4607:(e,t,n)=>{"use strict";const s=n(18535);const i=n(61291);const o=n(84154);class JsonpTemplatePlugin{static getCompilationHooks(e){return o.getCompilationHooks(e)}apply(e){e.options.output.chunkLoading="jsonp";(new s).apply(e);new i("jsonp").apply(e)}}e.exports=JsonpTemplatePlugin},36243:(e,t,n)=>{"use strict";const s=n(31669);const i=n(1863);const o=n(70845);const r=n(33370);const a=n(88422);const{applyWebpackOptionsDefaults:c,applyWebpackOptionsBaseDefaults:u}=n(92988);const{getNormalizedWebpackOptions:l}=n(26693);const d=n(7553);const p=n(12047);const h=e=>{const t=e.map(e=>f(e));const n=new r(t);for(const e of t){if(e.options.dependencies){n.setDependencies(e,e.options.dependencies)}}return n};const f=e=>{const t=l(e);u(t);const n=new o(t.context);n.options=t;new d({infrastructureLogging:t.infrastructureLogging}).apply(n);if(Array.isArray(t.plugins)){for(const e of t.plugins){if(typeof e==="function"){e.call(n,n)}else{e.apply(n)}}}c(t);n.hooks.environment.call();n.hooks.afterEnvironment.call();(new a).process(t,n);n.hooks.initialize.call();return n};const m=(e,t)=>{const n=()=>{p(i,e);let t;let n=false;let s;if(Array.isArray(e)){t=h(e);n=e.some(e=>e.watch);s=e.map(e=>e.watchOptions||{})}else{t=f(e);n=e.watch;s=e.watchOptions||{}}return{compiler:t,watch:n,watchOptions:s}};if(t){try{const{compiler:e,watch:s,watchOptions:i}=n();if(s){e.watch(i,t)}else{e.run((n,s)=>{e.close(e=>{t(n||e,s)})})}return e}catch(e){process.nextTick(()=>t(e));return null}}else{const{compiler:e,watch:t}=n();if(t){s.deprecate(()=>{},"A 'callback' argument need to be provided to the 'webpack(options, callback)' function when the 'watch' option is set. There is no way to handle the 'watch' option without a callback.","DEP_WEBPACK_WATCH_WITHOUT_CALLBACK")()}return e}};e.exports=m},54182:(e,t,n)=>{"use strict";const s=n(16475);const i=n(22339);const o=n(96952);class ImportScriptsChunkLoadingPlugin{apply(e){new i({chunkLoading:"import-scripts",asyncChunkLoading:true}).apply(e);e.hooks.thisCompilation.tap("ImportScriptsChunkLoadingPlugin",e=>{const t=e.outputOptions.chunkLoading;const n=e=>{const n=e.getEntryOptions();const s=n&&n.chunkLoading||t;return s==="import-scripts"};const i=new WeakSet;const r=(t,r)=>{if(i.has(t))return;i.add(t);if(!n(t))return;r.add(s.moduleFactoriesAddOnly);r.add(s.hasOwnProperty);e.addRuntimeModule(t,new o(r))};e.hooks.runtimeRequirementInTree.for(s.ensureChunkHandlers).tap("ImportScriptsChunkLoadingPlugin",r);e.hooks.runtimeRequirementInTree.for(s.hmrDownloadUpdateHandlers).tap("ImportScriptsChunkLoadingPlugin",r);e.hooks.runtimeRequirementInTree.for(s.hmrDownloadManifest).tap("ImportScriptsChunkLoadingPlugin",r);e.hooks.runtimeRequirementInTree.for(s.baseURI).tap("ImportScriptsChunkLoadingPlugin",r);e.hooks.runtimeRequirementInTree.for(s.ensureChunkHandlers).tap("ImportScriptsChunkLoadingPlugin",(e,t)=>{if(!n(e))return;t.add(s.publicPath);t.add(s.getChunkScriptFilename)});e.hooks.runtimeRequirementInTree.for(s.hmrDownloadUpdateHandlers).tap("ImportScriptsChunkLoadingPlugin",(e,t)=>{if(!n(e))return;t.add(s.publicPath);t.add(s.getChunkUpdateScriptFilename);t.add(s.moduleCache);t.add(s.hmrModuleData);t.add(s.moduleFactoriesAddOnly)});e.hooks.runtimeRequirementInTree.for(s.hmrDownloadManifest).tap("ImportScriptsChunkLoadingPlugin",(e,t)=>{if(!n(e))return;t.add(s.publicPath);t.add(s.getUpdateManifestFilename)})})}}e.exports=ImportScriptsChunkLoadingPlugin},96952:(e,t,n)=>{"use strict";const s=n(16475);const i=n(16963);const o=n(1626);const{getChunkFilenameTemplate:r}=n(89464);const{getUndoPath:a}=n(82186);class ImportScriptsChunkLoadingRuntimeModule extends i{constructor(e){super("importScripts chunk loading",i.STAGE_ATTACH);this.runtimeRequirements=e}generate(){const{chunk:e,compilation:{runtimeTemplate:t,outputOptions:{globalObject:i,chunkLoadingGlobal:c,hotUpdateGlobal:u}}}=this;const l=s.ensureChunkHandlers;const d=this.runtimeRequirements.has(s.baseURI);const p=this.runtimeRequirements.has(s.ensureChunkHandlers);const h=this.runtimeRequirements.has(s.hmrDownloadUpdateHandlers);const f=this.runtimeRequirements.has(s.hmrDownloadManifest);const m=`${i}[${JSON.stringify(c)}]`;const g=this.compilation.getPath(r(e,this.compilation.outputOptions),{chunk:e,contentHashType:"javascript"});const y=a(g,false);return o.asString([d?o.asString([`${s.baseURI} = self.location + ${JSON.stringify(y?"/../"+y:"")};`]):"// no baseURI","","// object to store loaded chunks",'// "1" means "already loaded"',"var installedChunks = {",o.indent(e.ids.map(e=>`${JSON.stringify(e)}: 1`).join(",\n")),"};","",p?o.asString(["// importScripts chunk loading",`var chunkLoadingCallback = ${t.basicFunction("data",[t.destructureArray(["chunkIds","moreModules","runtime"],"data"),"for(var moduleId in moreModules) {",o.indent([`if(${s.hasOwnProperty}(moreModules, moduleId)) {`,o.indent(`${s.moduleFactories}[moduleId] = moreModules[moduleId];`),"}"]),"}","if(runtime) runtime(__webpack_require__);","while(chunkIds.length)",o.indent("installedChunks[chunkIds.pop()] = 1;"),"parentChunkLoadingFunction(data);"])};`,`${l}.i = ${t.basicFunction("chunkId, promises",['// "1" is the signal for "already loaded"',"if(!installedChunks[chunkId]) {",o.indent([`importScripts(${JSON.stringify(y)} + ${s.getChunkScriptFilename}(chunkId));`]),"}"])};`,"",`var chunkLoadingGlobal = ${m} = ${m} || [];`,"var parentChunkLoadingFunction = chunkLoadingGlobal.push.bind(chunkLoadingGlobal);","chunkLoadingGlobal.push = chunkLoadingCallback;"]):"// no chunk loading","",h?o.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",o.indent(["var success = false;",`${i}[${JSON.stringify(u)}] = ${t.basicFunction("_, moreModules, runtime",["for(var moduleId in moreModules) {",o.indent([`if(${s.hasOwnProperty}(moreModules, moduleId)) {`,o.indent(["currentUpdate[moduleId] = moreModules[moduleId];","if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","success = true;"])};`,"// start update chunk loading",`importScripts(${JSON.stringify(y)} + ${s.getChunkUpdateScriptFilename}(chunkId));`,'if(!success) throw new Error("Loading update chunk failed for unknown reason");']),"}","",o.getFunctionContent(n(27266)).replace(/\$key\$/g,"importScrips").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,s.moduleCache).replace(/\$moduleFactories\$/g,s.moduleFactories).replace(/\$ensureChunkHandlers\$/g,s.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,s.hasOwnProperty).replace(/\$hmrModuleData\$/g,s.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,s.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,s.hmrInvalidateModuleHandlers)]):"// no HMR","",f?o.asString([`${s.hmrDownloadManifest} = ${t.basicFunction("",['if (typeof fetch === "undefined") throw new Error("No browser support: need fetch API");',`return fetch(${s.publicPath} + ${s.getUpdateManifestFilename}()).then(${t.basicFunction("response",["if(response.status === 404) return; // no update available",'if(!response.ok) throw new Error("Failed to fetch update manifest " + response.statusText);',"return response.json();"])});`])};`]):"// no HMR manifest"])}}e.exports=ImportScriptsChunkLoadingRuntimeModule},68693:(e,t,n)=>{"use strict";const s=n(18535);const i=n(61291);class WebWorkerTemplatePlugin{apply(e){e.options.output.chunkLoading="import-scripts";(new s).apply(e);new i("import-scripts").apply(e)}}e.exports=WebWorkerTemplatePlugin},87232:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.cloneNode=cloneNode;function cloneNode(e){return Object.assign({},e)}},3240:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var s={numberLiteralFromRaw:true,withLoc:true,withRaw:true,funcParam:true,indexLiteral:true,memIndexLiteral:true,instruction:true,objectInstruction:true,traverse:true,signatures:true,cloneNode:true};Object.defineProperty(t,"numberLiteralFromRaw",{enumerable:true,get:function get(){return o.numberLiteralFromRaw}});Object.defineProperty(t,"withLoc",{enumerable:true,get:function get(){return o.withLoc}});Object.defineProperty(t,"withRaw",{enumerable:true,get:function get(){return o.withRaw}});Object.defineProperty(t,"funcParam",{enumerable:true,get:function get(){return o.funcParam}});Object.defineProperty(t,"indexLiteral",{enumerable:true,get:function get(){return o.indexLiteral}});Object.defineProperty(t,"memIndexLiteral",{enumerable:true,get:function get(){return o.memIndexLiteral}});Object.defineProperty(t,"instruction",{enumerable:true,get:function get(){return o.instruction}});Object.defineProperty(t,"objectInstruction",{enumerable:true,get:function get(){return o.objectInstruction}});Object.defineProperty(t,"traverse",{enumerable:true,get:function get(){return r.traverse}});Object.defineProperty(t,"signatures",{enumerable:true,get:function get(){return a.signatures}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function get(){return u.cloneNode}});var i=n(27768);Object.keys(i).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(s,e))return;Object.defineProperty(t,e,{enumerable:true,get:function get(){return i[e]}})});var o=n(28318);var r=n(58346);var a=n(85692);var c=n(43245);Object.keys(c).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(s,e))return;Object.defineProperty(t,e,{enumerable:true,get:function get(){return c[e]}})});var u=n(87232)},28318:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.numberLiteralFromRaw=numberLiteralFromRaw;t.instruction=instruction;t.objectInstruction=objectInstruction;t.withLoc=withLoc;t.withRaw=withRaw;t.funcParam=funcParam;t.indexLiteral=indexLiteral;t.memIndexLiteral=memIndexLiteral;var s=n(3448);var i=n(27768);function numberLiteralFromRaw(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"i32";var n=e;if(typeof e==="string"){e=e.replace(/_/g,"")}if(typeof e==="number"){return(0,i.numberLiteral)(e,String(n))}else{switch(t){case"i32":{return(0,i.numberLiteral)((0,s.parse32I)(e),String(n))}case"u32":{return(0,i.numberLiteral)((0,s.parseU32)(e),String(n))}case"i64":{return(0,i.longNumberLiteral)((0,s.parse64I)(e),String(n))}case"f32":{return(0,i.floatLiteral)((0,s.parse32F)(e),(0,s.isNanLiteral)(e),(0,s.isInfLiteral)(e),String(n))}default:{return(0,i.floatLiteral)((0,s.parse64F)(e),(0,s.isNanLiteral)(e),(0,s.isInfLiteral)(e),String(n))}}}}function instruction(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return(0,i.instr)(e,undefined,t,n)}function objectInstruction(e,t){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:[];var s=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{};return(0,i.instr)(e,t,n,s)}function withLoc(e,t,n){var s={start:n,end:t};e.loc=s;return e}function withRaw(e,t){e.raw=t;return e}function funcParam(e,t){return{id:t,valtype:e}}function indexLiteral(e){var t=numberLiteralFromRaw(e,"u32");return t}function memIndexLiteral(e){var t=numberLiteralFromRaw(e,"u32");return t}},82902:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createPath=createPath;function _extends(){_extends=Object.assign||function(e){for(var t=1;t2&&arguments[2]!==undefined?arguments[2]:0;if(!s){throw new Error("inList"+" error: "+("insert can only be used for nodes that are within lists"||0))}if(!(i!=null)){throw new Error("parentPath != null"+" error: "+("Can not remove root node"||0))}var a=i.node[o];var c=a.findIndex(function(e){return e===n});a.splice(c+r,0,t)}function remove(e){var t=e.node,n=e.parentKey,s=e.parentPath;if(!(s!=null)){throw new Error("parentPath != null"+" error: "+("Can not remove root node"||0))}var i=s.node;var o=i[n];if(Array.isArray(o)){i[n]=o.filter(function(e){return e!==t})}else{delete i[n]}t._deleted=true}function stop(e){e.shouldStop=true}function replaceWith(e,t){var n=e.parentPath.node;var s=n[e.parentKey];if(Array.isArray(s)){var i=s.findIndex(function(t){return t===e.node});s.splice(i,1,t)}else{n[e.parentKey]=t}e.node._deleted=true;e.node=t}function bindNodeOperations(e,t){var n=Object.keys(e);var s={};n.forEach(function(n){s[n]=e[n].bind(null,t)});return s}function createPathOperations(e){return bindNodeOperations({findParent:findParent,replaceWith:replaceWith,remove:remove,insertBefore:insertBefore,insertAfter:insertAfter,stop:stop},e)}function createPath(e){var t=_extends({},e);Object.assign(t,createPathOperations(t));return t}},27768:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.module=_module;t.moduleMetadata=moduleMetadata;t.moduleNameMetadata=moduleNameMetadata;t.functionNameMetadata=functionNameMetadata;t.localNameMetadata=localNameMetadata;t.binaryModule=binaryModule;t.quoteModule=quoteModule;t.sectionMetadata=sectionMetadata;t.producersSectionMetadata=producersSectionMetadata;t.producerMetadata=producerMetadata;t.producerMetadataVersionedName=producerMetadataVersionedName;t.loopInstruction=loopInstruction;t.instr=instr;t.ifInstruction=ifInstruction;t.stringLiteral=stringLiteral;t.numberLiteral=numberLiteral;t.longNumberLiteral=longNumberLiteral;t.floatLiteral=floatLiteral;t.elem=elem;t.indexInFuncSection=indexInFuncSection;t.valtypeLiteral=valtypeLiteral;t.typeInstruction=typeInstruction;t.start=start;t.globalType=globalType;t.leadingComment=leadingComment;t.blockComment=blockComment;t.data=data;t.global=global;t.table=table;t.memory=memory;t.funcImportDescr=funcImportDescr;t.moduleImport=moduleImport;t.moduleExportDescr=moduleExportDescr;t.moduleExport=moduleExport;t.limit=limit;t.signature=signature;t.program=program;t.identifier=identifier;t.blockInstruction=blockInstruction;t.callInstruction=callInstruction;t.callIndirectInstruction=callIndirectInstruction;t.byteArray=byteArray;t.func=func;t.internalBrUnless=internalBrUnless;t.internalGoto=internalGoto;t.internalCallExtern=internalCallExtern;t.internalEndAndReturn=internalEndAndReturn;t.assertInternalCallExtern=t.assertInternalGoto=t.assertInternalBrUnless=t.assertFunc=t.assertByteArray=t.assertCallIndirectInstruction=t.assertCallInstruction=t.assertBlockInstruction=t.assertIdentifier=t.assertProgram=t.assertSignature=t.assertLimit=t.assertModuleExport=t.assertModuleExportDescr=t.assertModuleImport=t.assertFuncImportDescr=t.assertMemory=t.assertTable=t.assertGlobal=t.assertData=t.assertBlockComment=t.assertLeadingComment=t.assertGlobalType=t.assertStart=t.assertTypeInstruction=t.assertValtypeLiteral=t.assertIndexInFuncSection=t.assertElem=t.assertFloatLiteral=t.assertLongNumberLiteral=t.assertNumberLiteral=t.assertStringLiteral=t.assertIfInstruction=t.assertInstr=t.assertLoopInstruction=t.assertProducerMetadataVersionedName=t.assertProducerMetadata=t.assertProducersSectionMetadata=t.assertSectionMetadata=t.assertQuoteModule=t.assertBinaryModule=t.assertLocalNameMetadata=t.assertFunctionNameMetadata=t.assertModuleNameMetadata=t.assertModuleMetadata=t.assertModule=t.isIntrinsic=t.isImportDescr=t.isNumericLiteral=t.isExpression=t.isInstruction=t.isBlock=t.isNode=t.isInternalEndAndReturn=t.isInternalCallExtern=t.isInternalGoto=t.isInternalBrUnless=t.isFunc=t.isByteArray=t.isCallIndirectInstruction=t.isCallInstruction=t.isBlockInstruction=t.isIdentifier=t.isProgram=t.isSignature=t.isLimit=t.isModuleExport=t.isModuleExportDescr=t.isModuleImport=t.isFuncImportDescr=t.isMemory=t.isTable=t.isGlobal=t.isData=t.isBlockComment=t.isLeadingComment=t.isGlobalType=t.isStart=t.isTypeInstruction=t.isValtypeLiteral=t.isIndexInFuncSection=t.isElem=t.isFloatLiteral=t.isLongNumberLiteral=t.isNumberLiteral=t.isStringLiteral=t.isIfInstruction=t.isInstr=t.isLoopInstruction=t.isProducerMetadataVersionedName=t.isProducerMetadata=t.isProducersSectionMetadata=t.isSectionMetadata=t.isQuoteModule=t.isBinaryModule=t.isLocalNameMetadata=t.isFunctionNameMetadata=t.isModuleNameMetadata=t.isModuleMetadata=t.isModule=void 0;t.nodeAndUnionTypes=t.unionTypesMap=t.assertInternalEndAndReturn=void 0;function _typeof(e){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(e){return typeof e}}else{_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}function isTypeOf(e){return function(t){return t.type===e}}function assertTypeOf(e){return function(t){return function(){if(!(t.type===e)){throw new Error("n.type === t"+" error: "+(undefined||"unknown"))}}()}}function _module(e,t,n){if(e!==null&&e!==undefined){if(!(typeof e==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(e)||0))}}if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof fields === "object" && typeof fields.length !== "undefined"'+" error: "+(undefined||"unknown"))}var s={type:"Module",id:e,fields:t};if(typeof n!=="undefined"){s.metadata=n}return s}function moduleMetadata(e,t,n,s){if(!(_typeof(e)==="object"&&typeof e.length!=="undefined")){throw new Error('typeof sections === "object" && typeof sections.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(t!==null&&t!==undefined){if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof functionNames === "object" && typeof functionNames.length !== "undefined"'+" error: "+(undefined||"unknown"))}}if(n!==null&&n!==undefined){if(!(_typeof(n)==="object"&&typeof n.length!=="undefined")){throw new Error('typeof localNames === "object" && typeof localNames.length !== "undefined"'+" error: "+(undefined||"unknown"))}}if(s!==null&&s!==undefined){if(!(_typeof(s)==="object"&&typeof s.length!=="undefined")){throw new Error('typeof producers === "object" && typeof producers.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var i={type:"ModuleMetadata",sections:e};if(typeof t!=="undefined"&&t.length>0){i.functionNames=t}if(typeof n!=="undefined"&&n.length>0){i.localNames=n}if(typeof s!=="undefined"&&s.length>0){i.producers=s}return i}function moduleNameMetadata(e){if(!(typeof e==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(e)||0))}var t={type:"ModuleNameMetadata",value:e};return t}function functionNameMetadata(e,t){if(!(typeof e==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(e)||0))}if(!(typeof t==="number")){throw new Error('typeof index === "number"'+" error: "+("Argument index must be of type number, given: "+_typeof(t)||0))}var n={type:"FunctionNameMetadata",value:e,index:t};return n}function localNameMetadata(e,t,n){if(!(typeof e==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(e)||0))}if(!(typeof t==="number")){throw new Error('typeof localIndex === "number"'+" error: "+("Argument localIndex must be of type number, given: "+_typeof(t)||0))}if(!(typeof n==="number")){throw new Error('typeof functionIndex === "number"'+" error: "+("Argument functionIndex must be of type number, given: "+_typeof(n)||0))}var s={type:"LocalNameMetadata",value:e,localIndex:t,functionIndex:n};return s}function binaryModule(e,t){if(e!==null&&e!==undefined){if(!(typeof e==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(e)||0))}}if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof blob === "object" && typeof blob.length !== "undefined"'+" error: "+(undefined||"unknown"))}var n={type:"BinaryModule",id:e,blob:t};return n}function quoteModule(e,t){if(e!==null&&e!==undefined){if(!(typeof e==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(e)||0))}}if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof string === "object" && typeof string.length !== "undefined"'+" error: "+(undefined||"unknown"))}var n={type:"QuoteModule",id:e,string:t};return n}function sectionMetadata(e,t,n,s){if(!(typeof t==="number")){throw new Error('typeof startOffset === "number"'+" error: "+("Argument startOffset must be of type number, given: "+_typeof(t)||0))}var i={type:"SectionMetadata",section:e,startOffset:t,size:n,vectorOfSize:s};return i}function producersSectionMetadata(e){if(!(_typeof(e)==="object"&&typeof e.length!=="undefined")){throw new Error('typeof producers === "object" && typeof producers.length !== "undefined"'+" error: "+(undefined||"unknown"))}var t={type:"ProducersSectionMetadata",producers:e};return t}function producerMetadata(e,t,n){if(!(_typeof(e)==="object"&&typeof e.length!=="undefined")){throw new Error('typeof language === "object" && typeof language.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof processedBy === "object" && typeof processedBy.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(n)==="object"&&typeof n.length!=="undefined")){throw new Error('typeof sdk === "object" && typeof sdk.length !== "undefined"'+" error: "+(undefined||"unknown"))}var s={type:"ProducerMetadata",language:e,processedBy:t,sdk:n};return s}function producerMetadataVersionedName(e,t){if(!(typeof e==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(e)||0))}if(!(typeof t==="string")){throw new Error('typeof version === "string"'+" error: "+("Argument version must be of type string, given: "+_typeof(t)||0))}var n={type:"ProducerMetadataVersionedName",name:e,version:t};return n}function loopInstruction(e,t,n){if(!(_typeof(n)==="object"&&typeof n.length!=="undefined")){throw new Error('typeof instr === "object" && typeof instr.length !== "undefined"'+" error: "+(undefined||"unknown"))}var s={type:"LoopInstruction",id:"loop",label:e,resulttype:t,instr:n};return s}function instr(e,t,n,s){if(!(typeof e==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(e)||0))}if(!(_typeof(n)==="object"&&typeof n.length!=="undefined")){throw new Error('typeof args === "object" && typeof args.length !== "undefined"'+" error: "+(undefined||"unknown"))}var i={type:"Instr",id:e,args:n};if(typeof t!=="undefined"){i.object=t}if(typeof s!=="undefined"&&Object.keys(s).length!==0){i.namedArgs=s}return i}function ifInstruction(e,t,n,s,i){if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof test === "object" && typeof test.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(s)==="object"&&typeof s.length!=="undefined")){throw new Error('typeof consequent === "object" && typeof consequent.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(i)==="object"&&typeof i.length!=="undefined")){throw new Error('typeof alternate === "object" && typeof alternate.length !== "undefined"'+" error: "+(undefined||"unknown"))}var o={type:"IfInstruction",id:"if",testLabel:e,test:t,result:n,consequent:s,alternate:i};return o}function stringLiteral(e){if(!(typeof e==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(e)||0))}var t={type:"StringLiteral",value:e};return t}function numberLiteral(e,t){if(!(typeof e==="number")){throw new Error('typeof value === "number"'+" error: "+("Argument value must be of type number, given: "+_typeof(e)||0))}if(!(typeof t==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(t)||0))}var n={type:"NumberLiteral",value:e,raw:t};return n}function longNumberLiteral(e,t){if(!(typeof t==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(t)||0))}var n={type:"LongNumberLiteral",value:e,raw:t};return n}function floatLiteral(e,t,n,s){if(!(typeof e==="number")){throw new Error('typeof value === "number"'+" error: "+("Argument value must be of type number, given: "+_typeof(e)||0))}if(t!==null&&t!==undefined){if(!(typeof t==="boolean")){throw new Error('typeof nan === "boolean"'+" error: "+("Argument nan must be of type boolean, given: "+_typeof(t)||0))}}if(n!==null&&n!==undefined){if(!(typeof n==="boolean")){throw new Error('typeof inf === "boolean"'+" error: "+("Argument inf must be of type boolean, given: "+_typeof(n)||0))}}if(!(typeof s==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(s)||0))}var i={type:"FloatLiteral",value:e,raw:s};if(t===true){i.nan=true}if(n===true){i.inf=true}return i}function elem(e,t,n){if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof offset === "object" && typeof offset.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(n)==="object"&&typeof n.length!=="undefined")){throw new Error('typeof funcs === "object" && typeof funcs.length !== "undefined"'+" error: "+(undefined||"unknown"))}var s={type:"Elem",table:e,offset:t,funcs:n};return s}function indexInFuncSection(e){var t={type:"IndexInFuncSection",index:e};return t}function valtypeLiteral(e){var t={type:"ValtypeLiteral",name:e};return t}function typeInstruction(e,t){var n={type:"TypeInstruction",id:e,functype:t};return n}function start(e){var t={type:"Start",index:e};return t}function globalType(e,t){var n={type:"GlobalType",valtype:e,mutability:t};return n}function leadingComment(e){if(!(typeof e==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(e)||0))}var t={type:"LeadingComment",value:e};return t}function blockComment(e){if(!(typeof e==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(e)||0))}var t={type:"BlockComment",value:e};return t}function data(e,t,n){var s={type:"Data",memoryIndex:e,offset:t,init:n};return s}function global(e,t,n){if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof init === "object" && typeof init.length !== "undefined"'+" error: "+(undefined||"unknown"))}var s={type:"Global",globalType:e,init:t,name:n};return s}function table(e,t,n,s){if(!(t.type==="Limit")){throw new Error('limits.type === "Limit"'+" error: "+("Argument limits must be of type Limit, given: "+t.type||0))}if(s!==null&&s!==undefined){if(!(_typeof(s)==="object"&&typeof s.length!=="undefined")){throw new Error('typeof elements === "object" && typeof elements.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var i={type:"Table",elementType:e,limits:t,name:n};if(typeof s!=="undefined"&&s.length>0){i.elements=s}return i}function memory(e,t){var n={type:"Memory",limits:e,id:t};return n}function funcImportDescr(e,t){var n={type:"FuncImportDescr",id:e,signature:t};return n}function moduleImport(e,t,n){if(!(typeof e==="string")){throw new Error('typeof module === "string"'+" error: "+("Argument module must be of type string, given: "+_typeof(e)||0))}if(!(typeof t==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(t)||0))}var s={type:"ModuleImport",module:e,name:t,descr:n};return s}function moduleExportDescr(e,t){var n={type:"ModuleExportDescr",exportType:e,id:t};return n}function moduleExport(e,t){if(!(typeof e==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(e)||0))}var n={type:"ModuleExport",name:e,descr:t};return n}function limit(e,t){if(!(typeof e==="number")){throw new Error('typeof min === "number"'+" error: "+("Argument min must be of type number, given: "+_typeof(e)||0))}if(t!==null&&t!==undefined){if(!(typeof t==="number")){throw new Error('typeof max === "number"'+" error: "+("Argument max must be of type number, given: "+_typeof(t)||0))}}var n={type:"Limit",min:e};if(typeof t!=="undefined"){n.max=t}return n}function signature(e,t){if(!(_typeof(e)==="object"&&typeof e.length!=="undefined")){throw new Error('typeof params === "object" && typeof params.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof results === "object" && typeof results.length !== "undefined"'+" error: "+(undefined||"unknown"))}var n={type:"Signature",params:e,results:t};return n}function program(e){if(!(_typeof(e)==="object"&&typeof e.length!=="undefined")){throw new Error('typeof body === "object" && typeof body.length !== "undefined"'+" error: "+(undefined||"unknown"))}var t={type:"Program",body:e};return t}function identifier(e,t){if(!(typeof e==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(e)||0))}if(t!==null&&t!==undefined){if(!(typeof t==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(t)||0))}}var n={type:"Identifier",value:e};if(typeof t!=="undefined"){n.raw=t}return n}function blockInstruction(e,t,n){if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof instr === "object" && typeof instr.length !== "undefined"'+" error: "+(undefined||"unknown"))}var s={type:"BlockInstruction",id:"block",label:e,instr:t,result:n};return s}function callInstruction(e,t,n){if(t!==null&&t!==undefined){if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof instrArgs === "object" && typeof instrArgs.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var s={type:"CallInstruction",id:"call",index:e};if(typeof t!=="undefined"&&t.length>0){s.instrArgs=t}if(typeof n!=="undefined"){s.numeric=n}return s}function callIndirectInstruction(e,t){if(t!==null&&t!==undefined){if(!(_typeof(t)==="object"&&typeof t.length!=="undefined")){throw new Error('typeof intrs === "object" && typeof intrs.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var n={type:"CallIndirectInstruction",id:"call_indirect",signature:e};if(typeof t!=="undefined"&&t.length>0){n.intrs=t}return n}function byteArray(e){if(!(_typeof(e)==="object"&&typeof e.length!=="undefined")){throw new Error('typeof values === "object" && typeof values.length !== "undefined"'+" error: "+(undefined||"unknown"))}var t={type:"ByteArray",values:e};return t}function func(e,t,n,s,i){if(!(_typeof(n)==="object"&&typeof n.length!=="undefined")){throw new Error('typeof body === "object" && typeof body.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(s!==null&&s!==undefined){if(!(typeof s==="boolean")){throw new Error('typeof isExternal === "boolean"'+" error: "+("Argument isExternal must be of type boolean, given: "+_typeof(s)||0))}}var o={type:"Func",name:e,signature:t,body:n};if(s===true){o.isExternal=true}if(typeof i!=="undefined"){o.metadata=i}return o}function internalBrUnless(e){if(!(typeof e==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(e)||0))}var t={type:"InternalBrUnless",target:e};return t}function internalGoto(e){if(!(typeof e==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(e)||0))}var t={type:"InternalGoto",target:e};return t}function internalCallExtern(e){if(!(typeof e==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(e)||0))}var t={type:"InternalCallExtern",target:e};return t}function internalEndAndReturn(){var e={type:"InternalEndAndReturn"};return e}var n=isTypeOf("Module");t.isModule=n;var s=isTypeOf("ModuleMetadata");t.isModuleMetadata=s;var i=isTypeOf("ModuleNameMetadata");t.isModuleNameMetadata=i;var o=isTypeOf("FunctionNameMetadata");t.isFunctionNameMetadata=o;var r=isTypeOf("LocalNameMetadata");t.isLocalNameMetadata=r;var a=isTypeOf("BinaryModule");t.isBinaryModule=a;var c=isTypeOf("QuoteModule");t.isQuoteModule=c;var u=isTypeOf("SectionMetadata");t.isSectionMetadata=u;var l=isTypeOf("ProducersSectionMetadata");t.isProducersSectionMetadata=l;var d=isTypeOf("ProducerMetadata");t.isProducerMetadata=d;var p=isTypeOf("ProducerMetadataVersionedName");t.isProducerMetadataVersionedName=p;var h=isTypeOf("LoopInstruction");t.isLoopInstruction=h;var f=isTypeOf("Instr");t.isInstr=f;var m=isTypeOf("IfInstruction");t.isIfInstruction=m;var g=isTypeOf("StringLiteral");t.isStringLiteral=g;var y=isTypeOf("NumberLiteral");t.isNumberLiteral=y;var v=isTypeOf("LongNumberLiteral");t.isLongNumberLiteral=v;var b=isTypeOf("FloatLiteral");t.isFloatLiteral=b;var k=isTypeOf("Elem");t.isElem=k;var w=isTypeOf("IndexInFuncSection");t.isIndexInFuncSection=w;var x=isTypeOf("ValtypeLiteral");t.isValtypeLiteral=x;var C=isTypeOf("TypeInstruction");t.isTypeInstruction=C;var M=isTypeOf("Start");t.isStart=M;var S=isTypeOf("GlobalType");t.isGlobalType=S;var O=isTypeOf("LeadingComment");t.isLeadingComment=O;var T=isTypeOf("BlockComment");t.isBlockComment=T;var P=isTypeOf("Data");t.isData=P;var $=isTypeOf("Global");t.isGlobal=$;var F=isTypeOf("Table");t.isTable=F;var j=isTypeOf("Memory");t.isMemory=j;var _=isTypeOf("FuncImportDescr");t.isFuncImportDescr=_;var z=isTypeOf("ModuleImport");t.isModuleImport=z;var q=isTypeOf("ModuleExportDescr");t.isModuleExportDescr=q;var W=isTypeOf("ModuleExport");t.isModuleExport=W;var A=isTypeOf("Limit");t.isLimit=A;var G=isTypeOf("Signature");t.isSignature=G;var B=isTypeOf("Program");t.isProgram=B;var R=isTypeOf("Identifier");t.isIdentifier=R;var J=isTypeOf("BlockInstruction");t.isBlockInstruction=J;var V=isTypeOf("CallInstruction");t.isCallInstruction=V;var I=isTypeOf("CallIndirectInstruction");t.isCallIndirectInstruction=I;var D=isTypeOf("ByteArray");t.isByteArray=D;var K=isTypeOf("Func");t.isFunc=K;var X=isTypeOf("InternalBrUnless");t.isInternalBrUnless=X;var N=isTypeOf("InternalGoto");t.isInternalGoto=N;var L=isTypeOf("InternalCallExtern");t.isInternalCallExtern=L;var Q=isTypeOf("InternalEndAndReturn");t.isInternalEndAndReturn=Q;var Y=function isNode(e){return n(e)||s(e)||i(e)||o(e)||r(e)||a(e)||c(e)||u(e)||l(e)||d(e)||p(e)||h(e)||f(e)||m(e)||g(e)||y(e)||v(e)||b(e)||k(e)||w(e)||x(e)||C(e)||M(e)||S(e)||O(e)||T(e)||P(e)||$(e)||F(e)||j(e)||_(e)||z(e)||q(e)||W(e)||A(e)||G(e)||B(e)||R(e)||J(e)||V(e)||I(e)||D(e)||K(e)||X(e)||N(e)||L(e)||Q(e)};t.isNode=Y;var H=function isBlock(e){return h(e)||J(e)||K(e)};t.isBlock=H;var U=function isInstruction(e){return h(e)||f(e)||m(e)||C(e)||J(e)||V(e)||I(e)};t.isInstruction=U;var E=function isExpression(e){return f(e)||g(e)||y(e)||v(e)||b(e)||x(e)||R(e)};t.isExpression=E;var Z=function isNumericLiteral(e){return y(e)||v(e)||b(e)};t.isNumericLiteral=Z;var ee=function isImportDescr(e){return S(e)||F(e)||j(e)||_(e)};t.isImportDescr=ee;var te=function isIntrinsic(e){return X(e)||N(e)||L(e)||Q(e)};t.isIntrinsic=te;var ne=assertTypeOf("Module");t.assertModule=ne;var se=assertTypeOf("ModuleMetadata");t.assertModuleMetadata=se;var ie=assertTypeOf("ModuleNameMetadata");t.assertModuleNameMetadata=ie;var oe=assertTypeOf("FunctionNameMetadata");t.assertFunctionNameMetadata=oe;var re=assertTypeOf("LocalNameMetadata");t.assertLocalNameMetadata=re;var ae=assertTypeOf("BinaryModule");t.assertBinaryModule=ae;var ce=assertTypeOf("QuoteModule");t.assertQuoteModule=ce;var ue=assertTypeOf("SectionMetadata");t.assertSectionMetadata=ue;var le=assertTypeOf("ProducersSectionMetadata");t.assertProducersSectionMetadata=le;var de=assertTypeOf("ProducerMetadata");t.assertProducerMetadata=de;var pe=assertTypeOf("ProducerMetadataVersionedName");t.assertProducerMetadataVersionedName=pe;var he=assertTypeOf("LoopInstruction");t.assertLoopInstruction=he;var fe=assertTypeOf("Instr");t.assertInstr=fe;var me=assertTypeOf("IfInstruction");t.assertIfInstruction=me;var ge=assertTypeOf("StringLiteral");t.assertStringLiteral=ge;var ye=assertTypeOf("NumberLiteral");t.assertNumberLiteral=ye;var ve=assertTypeOf("LongNumberLiteral");t.assertLongNumberLiteral=ve;var be=assertTypeOf("FloatLiteral");t.assertFloatLiteral=be;var ke=assertTypeOf("Elem");t.assertElem=ke;var we=assertTypeOf("IndexInFuncSection");t.assertIndexInFuncSection=we;var xe=assertTypeOf("ValtypeLiteral");t.assertValtypeLiteral=xe;var Ce=assertTypeOf("TypeInstruction");t.assertTypeInstruction=Ce;var Me=assertTypeOf("Start");t.assertStart=Me;var Se=assertTypeOf("GlobalType");t.assertGlobalType=Se;var Oe=assertTypeOf("LeadingComment");t.assertLeadingComment=Oe;var Te=assertTypeOf("BlockComment");t.assertBlockComment=Te;var Pe=assertTypeOf("Data");t.assertData=Pe;var $e=assertTypeOf("Global");t.assertGlobal=$e;var Fe=assertTypeOf("Table");t.assertTable=Fe;var je=assertTypeOf("Memory");t.assertMemory=je;var _e=assertTypeOf("FuncImportDescr");t.assertFuncImportDescr=_e;var ze=assertTypeOf("ModuleImport");t.assertModuleImport=ze;var qe=assertTypeOf("ModuleExportDescr");t.assertModuleExportDescr=qe;var We=assertTypeOf("ModuleExport");t.assertModuleExport=We;var Ae=assertTypeOf("Limit");t.assertLimit=Ae;var Ge=assertTypeOf("Signature");t.assertSignature=Ge;var Be=assertTypeOf("Program");t.assertProgram=Be;var Re=assertTypeOf("Identifier");t.assertIdentifier=Re;var Je=assertTypeOf("BlockInstruction");t.assertBlockInstruction=Je;var Ve=assertTypeOf("CallInstruction");t.assertCallInstruction=Ve;var Ie=assertTypeOf("CallIndirectInstruction");t.assertCallIndirectInstruction=Ie;var De=assertTypeOf("ByteArray");t.assertByteArray=De;var Ke=assertTypeOf("Func");t.assertFunc=Ke;var Xe=assertTypeOf("InternalBrUnless");t.assertInternalBrUnless=Xe;var Ne=assertTypeOf("InternalGoto");t.assertInternalGoto=Ne;var Le=assertTypeOf("InternalCallExtern");t.assertInternalCallExtern=Le;var Qe=assertTypeOf("InternalEndAndReturn");t.assertInternalEndAndReturn=Qe;var Ye={Module:["Node"],ModuleMetadata:["Node"],ModuleNameMetadata:["Node"],FunctionNameMetadata:["Node"],LocalNameMetadata:["Node"],BinaryModule:["Node"],QuoteModule:["Node"],SectionMetadata:["Node"],ProducersSectionMetadata:["Node"],ProducerMetadata:["Node"],ProducerMetadataVersionedName:["Node"],LoopInstruction:["Node","Block","Instruction"],Instr:["Node","Expression","Instruction"],IfInstruction:["Node","Instruction"],StringLiteral:["Node","Expression"],NumberLiteral:["Node","NumericLiteral","Expression"],LongNumberLiteral:["Node","NumericLiteral","Expression"],FloatLiteral:["Node","NumericLiteral","Expression"],Elem:["Node"],IndexInFuncSection:["Node"],ValtypeLiteral:["Node","Expression"],TypeInstruction:["Node","Instruction"],Start:["Node"],GlobalType:["Node","ImportDescr"],LeadingComment:["Node"],BlockComment:["Node"],Data:["Node"],Global:["Node"],Table:["Node","ImportDescr"],Memory:["Node","ImportDescr"],FuncImportDescr:["Node","ImportDescr"],ModuleImport:["Node"],ModuleExportDescr:["Node"],ModuleExport:["Node"],Limit:["Node"],Signature:["Node"],Program:["Node"],Identifier:["Node","Expression"],BlockInstruction:["Node","Block","Instruction"],CallInstruction:["Node","Instruction"],CallIndirectInstruction:["Node","Instruction"],ByteArray:["Node"],Func:["Node","Block"],InternalBrUnless:["Node","Intrinsic"],InternalGoto:["Node","Intrinsic"],InternalCallExtern:["Node","Intrinsic"],InternalEndAndReturn:["Node","Intrinsic"]};t.unionTypesMap=Ye;var He=["Module","ModuleMetadata","ModuleNameMetadata","FunctionNameMetadata","LocalNameMetadata","BinaryModule","QuoteModule","SectionMetadata","ProducersSectionMetadata","ProducerMetadata","ProducerMetadataVersionedName","LoopInstruction","Instr","IfInstruction","StringLiteral","NumberLiteral","LongNumberLiteral","FloatLiteral","Elem","IndexInFuncSection","ValtypeLiteral","TypeInstruction","Start","GlobalType","LeadingComment","BlockComment","Data","Global","Table","Memory","FuncImportDescr","ModuleImport","ModuleExportDescr","ModuleExport","Limit","Signature","Program","Identifier","BlockInstruction","CallInstruction","CallIndirectInstruction","ByteArray","Func","InternalBrUnless","InternalGoto","InternalCallExtern","InternalEndAndReturn","Node","Block","Instruction","Expression","NumericLiteral","ImportDescr","Intrinsic"];t.nodeAndUnionTypes=He},85692:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.signatures=void 0;function sign(e,t){return[e,t]}var n="u32";var s="i32";var i="i64";var o="f32";var r="f64";var a=function vector(e){var t=[e];t.vector=true;return t};var c={unreachable:sign([],[]),nop:sign([],[]),br:sign([n],[]),br_if:sign([n],[]),br_table:sign(a(n),[]),return:sign([],[]),call:sign([n],[]),call_indirect:sign([n],[])};var u={drop:sign([],[]),select:sign([],[])};var l={get_local:sign([n],[]),set_local:sign([n],[]),tee_local:sign([n],[]),get_global:sign([n],[]),set_global:sign([n],[])};var d={"i32.load":sign([n,n],[s]),"i64.load":sign([n,n],[]),"f32.load":sign([n,n],[]),"f64.load":sign([n,n],[]),"i32.load8_s":sign([n,n],[s]),"i32.load8_u":sign([n,n],[s]),"i32.load16_s":sign([n,n],[s]),"i32.load16_u":sign([n,n],[s]),"i64.load8_s":sign([n,n],[i]),"i64.load8_u":sign([n,n],[i]),"i64.load16_s":sign([n,n],[i]),"i64.load16_u":sign([n,n],[i]),"i64.load32_s":sign([n,n],[i]),"i64.load32_u":sign([n,n],[i]),"i32.store":sign([n,n],[]),"i64.store":sign([n,n],[]),"f32.store":sign([n,n],[]),"f64.store":sign([n,n],[]),"i32.store8":sign([n,n],[]),"i32.store16":sign([n,n],[]),"i64.store8":sign([n,n],[]),"i64.store16":sign([n,n],[]),"i64.store32":sign([n,n],[]),current_memory:sign([],[]),grow_memory:sign([],[])};var p={"i32.const":sign([s],[s]),"i64.const":sign([i],[i]),"f32.const":sign([o],[o]),"f64.const":sign([r],[r]),"i32.eqz":sign([s],[s]),"i32.eq":sign([s,s],[s]),"i32.ne":sign([s,s],[s]),"i32.lt_s":sign([s,s],[s]),"i32.lt_u":sign([s,s],[s]),"i32.gt_s":sign([s,s],[s]),"i32.gt_u":sign([s,s],[s]),"i32.le_s":sign([s,s],[s]),"i32.le_u":sign([s,s],[s]),"i32.ge_s":sign([s,s],[s]),"i32.ge_u":sign([s,s],[s]),"i64.eqz":sign([i],[i]),"i64.eq":sign([i,i],[s]),"i64.ne":sign([i,i],[s]),"i64.lt_s":sign([i,i],[s]),"i64.lt_u":sign([i,i],[s]),"i64.gt_s":sign([i,i],[s]),"i64.gt_u":sign([i,i],[s]),"i64.le_s":sign([i,i],[s]),"i64.le_u":sign([i,i],[s]),"i64.ge_s":sign([i,i],[s]),"i64.ge_u":sign([i,i],[s]),"f32.eq":sign([o,o],[s]),"f32.ne":sign([o,o],[s]),"f32.lt":sign([o,o],[s]),"f32.gt":sign([o,o],[s]),"f32.le":sign([o,o],[s]),"f32.ge":sign([o,o],[s]),"f64.eq":sign([r,r],[s]),"f64.ne":sign([r,r],[s]),"f64.lt":sign([r,r],[s]),"f64.gt":sign([r,r],[s]),"f64.le":sign([r,r],[s]),"f64.ge":sign([r,r],[s]),"i32.clz":sign([s],[s]),"i32.ctz":sign([s],[s]),"i32.popcnt":sign([s],[s]),"i32.add":sign([s,s],[s]),"i32.sub":sign([s,s],[s]),"i32.mul":sign([s,s],[s]),"i32.div_s":sign([s,s],[s]),"i32.div_u":sign([s,s],[s]),"i32.rem_s":sign([s,s],[s]),"i32.rem_u":sign([s,s],[s]),"i32.and":sign([s,s],[s]),"i32.or":sign([s,s],[s]),"i32.xor":sign([s,s],[s]),"i32.shl":sign([s,s],[s]),"i32.shr_s":sign([s,s],[s]),"i32.shr_u":sign([s,s],[s]),"i32.rotl":sign([s,s],[s]),"i32.rotr":sign([s,s],[s]),"i64.clz":sign([i],[i]),"i64.ctz":sign([i],[i]),"i64.popcnt":sign([i],[i]),"i64.add":sign([i,i],[i]),"i64.sub":sign([i,i],[i]),"i64.mul":sign([i,i],[i]),"i64.div_s":sign([i,i],[i]),"i64.div_u":sign([i,i],[i]),"i64.rem_s":sign([i,i],[i]),"i64.rem_u":sign([i,i],[i]),"i64.and":sign([i,i],[i]),"i64.or":sign([i,i],[i]),"i64.xor":sign([i,i],[i]),"i64.shl":sign([i,i],[i]),"i64.shr_s":sign([i,i],[i]),"i64.shr_u":sign([i,i],[i]),"i64.rotl":sign([i,i],[i]),"i64.rotr":sign([i,i],[i]),"f32.abs":sign([o],[o]),"f32.neg":sign([o],[o]),"f32.ceil":sign([o],[o]),"f32.floor":sign([o],[o]),"f32.trunc":sign([o],[o]),"f32.nearest":sign([o],[o]),"f32.sqrt":sign([o],[o]),"f32.add":sign([o,o],[o]),"f32.sub":sign([o,o],[o]),"f32.mul":sign([o,o],[o]),"f32.div":sign([o,o],[o]),"f32.min":sign([o,o],[o]),"f32.max":sign([o,o],[o]),"f32.copysign":sign([o,o],[o]),"f64.abs":sign([r],[r]),"f64.neg":sign([r],[r]),"f64.ceil":sign([r],[r]),"f64.floor":sign([r],[r]),"f64.trunc":sign([r],[r]),"f64.nearest":sign([r],[r]),"f64.sqrt":sign([r],[r]),"f64.add":sign([r,r],[r]),"f64.sub":sign([r,r],[r]),"f64.mul":sign([r,r],[r]),"f64.div":sign([r,r],[r]),"f64.min":sign([r,r],[r]),"f64.max":sign([r,r],[r]),"f64.copysign":sign([r,r],[r]),"i32.wrap/i64":sign([i],[s]),"i32.trunc_s/f32":sign([o],[s]),"i32.trunc_u/f32":sign([o],[s]),"i32.trunc_s/f64":sign([o],[s]),"i32.trunc_u/f64":sign([r],[s]),"i64.extend_s/i32":sign([s],[i]),"i64.extend_u/i32":sign([s],[i]),"i64.trunc_s/f32":sign([o],[i]),"i64.trunc_u/f32":sign([o],[i]),"i64.trunc_s/f64":sign([r],[i]),"i64.trunc_u/f64":sign([r],[i]),"f32.convert_s/i32":sign([s],[o]),"f32.convert_u/i32":sign([s],[o]),"f32.convert_s/i64":sign([i],[o]),"f32.convert_u/i64":sign([i],[o]),"f32.demote/f64":sign([r],[o]),"f64.convert_s/i32":sign([s],[r]),"f64.convert_u/i32":sign([s],[r]),"f64.convert_s/i64":sign([i],[r]),"f64.convert_u/i64":sign([i],[r]),"f64.promote/f32":sign([o],[r]),"i32.reinterpret/f32":sign([o],[s]),"i64.reinterpret/f64":sign([r],[i]),"f32.reinterpret/i32":sign([s],[o]),"f64.reinterpret/i64":sign([i],[r])};var h=Object.assign({},c,u,l,d,p);t.signatures=h},58346:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.traverse=traverse;var s=n(82902);var i=n(27768);function walk(e,t){var n=false;function innerWalk(e,t){if(n){return}var i=e.node;if(i===undefined){console.warn("traversing with an empty context");return}if(i._deleted===true){return}var o=(0,s.createPath)(e);t(i.type,o);if(o.shouldStop){n=true;return}Object.keys(i).forEach(function(e){var n=i[e];if(n===null||n===undefined){return}var s=Array.isArray(n)?n:[n];s.forEach(function(s){if(typeof s.type==="string"){var i={node:s,parentKey:e,parentPath:o,shouldStop:false,inList:Array.isArray(n)};innerWalk(i,t)}})})}innerWalk(e,t)}var o=function noop(){};function traverse(e,t){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:o;var s=arguments.length>3&&arguments[3]!==undefined?arguments[3]:o;Object.keys(t).forEach(function(e){if(!i.nodeAndUnionTypes.includes(e)){throw new Error("Unexpected visitor ".concat(e))}});var r={node:e,inList:false,shouldStop:false,parentPath:null,parentKey:null};walk(r,function(e,o){if(typeof t[e]==="function"){n(e,o);t[e](o);s(e,o)}var r=i.unionTypesMap[e];if(!r){throw new Error("Unexpected node type ".concat(e))}r.forEach(function(e){if(typeof t[e]==="function"){n(e,o);t[e](o);s(e,o)}})})}},43245:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isAnonymous=isAnonymous;t.getSectionMetadata=getSectionMetadata;t.getSectionMetadatas=getSectionMetadatas;t.sortSectionMetadata=sortSectionMetadata;t.orderedInsertNode=orderedInsertNode;t.assertHasLoc=assertHasLoc;t.getEndOfSection=getEndOfSection;t.shiftLoc=shiftLoc;t.shiftSection=shiftSection;t.signatureForOpcode=signatureForOpcode;t.getUniqueNameGenerator=getUniqueNameGenerator;t.getStartByteOffset=getStartByteOffset;t.getEndByteOffset=getEndByteOffset;t.getFunctionBeginingByteOffset=getFunctionBeginingByteOffset;t.getEndBlockByteOffset=getEndBlockByteOffset;t.getStartBlockByteOffset=getStartBlockByteOffset;var s=n(85692);var i=n(58346);var o=_interopRequireWildcard(n(54942));function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n)){var s=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};if(s.get||s.set){Object.defineProperty(t,n,s)}else{t[n]=e[n]}}}}t.default=e;return t}}function _sliceIterator(e,t){var n=[];var s=true;var i=false;var o=undefined;try{for(var r=e[Symbol.iterator](),a;!(s=(a=r.next()).done);s=true){n.push(a.value);if(t&&n.length===t)break}}catch(e){i=true;o=e}finally{try{if(!s&&r["return"]!=null)r["return"]()}finally{if(i)throw o}}return n}function _slicedToArray(e,t){if(Array.isArray(e)){return e}else if(Symbol.iterator in Object(e)){return _sliceIterator(e,t)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}function _typeof(e){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(e){return typeof e}}else{_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}function isAnonymous(e){return e.raw===""}function getSectionMetadata(e,t){var n;(0,i.traverse)(e,{SectionMetadata:function(e){function SectionMetadata(t){return e.apply(this,arguments)}SectionMetadata.toString=function(){return e.toString()};return SectionMetadata}(function(e){var s=e.node;if(s.section===t){n=s}})});return n}function getSectionMetadatas(e,t){var n=[];(0,i.traverse)(e,{SectionMetadata:function(e){function SectionMetadata(t){return e.apply(this,arguments)}SectionMetadata.toString=function(){return e.toString()};return SectionMetadata}(function(e){var s=e.node;if(s.section===t){n.push(s)}})});return n}function sortSectionMetadata(e){if(e.metadata==null){console.warn("sortSectionMetadata: no metadata to sort");return}e.metadata.sections.sort(function(e,t){var n=o.default.sections[e.section];var s=o.default.sections[t.section];if(typeof n!=="number"||typeof s!=="number"){throw new Error("Section id not found")}return n-s})}function orderedInsertNode(e,t){assertHasLoc(t);var n=false;if(t.type==="ModuleExport"){e.fields.push(t);return}e.fields=e.fields.reduce(function(e,s){var i=Infinity;if(s.loc!=null){i=s.loc.end.column}if(n===false&&t.loc.start.column0&&arguments[0]!==undefined?arguments[0]:"temp";if(!(t in e)){e[t]=0}else{e[t]=e[t]+1}return t+"_"+e[t]}}function getStartByteOffset(e){if(typeof e.loc==="undefined"||typeof e.loc.start==="undefined"){throw new Error("Can not get byte offset without loc informations, node: "+String(e.id))}return e.loc.start.column}function getEndByteOffset(e){if(typeof e.loc==="undefined"||typeof e.loc.end==="undefined"){throw new Error("Can not get byte offset without loc informations, node: "+e.type)}return e.loc.end.column}function getFunctionBeginingByteOffset(e){if(!(e.body.length>0)){throw new Error("n.body.length > 0"+" error: "+(undefined||"unknown"))}var t=_slicedToArray(e.body,1),n=t[0];return getStartByteOffset(n)}function getEndBlockByteOffset(e){if(!(e.instr.length>0||e.body.length>0)){throw new Error("n.instr.length > 0 || n.body.length > 0"+" error: "+(undefined||"unknown"))}var t;if(e.instr){t=e.instr[e.instr.length-1]}if(e.body){t=e.body[e.body.length-1]}if(!(_typeof(t)==="object")){throw new Error('typeof lastInstruction === "object"'+" error: "+(undefined||"unknown"))}return getStartByteOffset(t)}function getStartBlockByteOffset(e){if(!(e.instr.length>0||e.body.length>0)){throw new Error("n.instr.length > 0 || n.body.length > 0"+" error: "+(undefined||"unknown"))}var t;if(e.instr){var n=_slicedToArray(e.instr,1);t=n[0]}if(e.body){var s=_slicedToArray(e.body,1);t=s[0]}if(!(_typeof(t)==="object")){throw new Error('typeof fistInstruction === "object"'+" error: "+(undefined||"unknown"))}return getStartByteOffset(t)}},70196:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=parse;function parse(e){e=e.toUpperCase();var t=e.indexOf("P");var n,s;if(t!==-1){n=e.substring(0,t);s=parseInt(e.substring(t+1))}else{n=e;s=0}var i=n.indexOf(".");if(i!==-1){var o=parseInt(n.substring(0,i),16);var r=Math.sign(o);o=r*o;var a=n.length-i-1;var c=parseInt(n.substring(i+1),16);var u=a>0?c/Math.pow(16,a):0;if(r===0){if(u===0){n=r}else{if(Object.is(r,-0)){n=-u}else{n=u}}}else{n=r*(o+u)}}else{n=parseInt(n,16)}return n*(t!==-1?Math.pow(2,s):1)}},78498:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.LinkError=t.CompileError=t.RuntimeError=void 0;function _typeof(e){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(e){return typeof e}}else{_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}function _classCallCheck(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,t){if(t&&(_typeof(t)==="object"||typeof t==="function")){return t}if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function _inherits(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function")}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var n=function(e){_inherits(RuntimeError,e);function RuntimeError(){_classCallCheck(this,RuntimeError);return _possibleConstructorReturn(this,(RuntimeError.__proto__||Object.getPrototypeOf(RuntimeError)).apply(this,arguments))}return RuntimeError}(Error);t.RuntimeError=n;var s=function(e){_inherits(CompileError,e);function CompileError(){_classCallCheck(this,CompileError);return _possibleConstructorReturn(this,(CompileError.__proto__||Object.getPrototypeOf(CompileError)).apply(this,arguments))}return CompileError}(Error);t.CompileError=s;var i=function(e){_inherits(LinkError,e);function LinkError(){_classCallCheck(this,LinkError);return _possibleConstructorReturn(this,(LinkError.__proto__||Object.getPrototypeOf(LinkError)).apply(this,arguments))}return LinkError}(Error);t.LinkError=i},7148:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.overrideBytesInBuffer=overrideBytesInBuffer;t.makeBuffer=makeBuffer;t.fromHexdump=fromHexdump;function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameFromAst=codeFrameFromAst;t.codeFrameFromSource=codeFrameFromSource;var s=n(44812);function _typeof(e){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(e){return typeof e}}else{_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}var i=5;function repeat(e,t){return Array(t).fill(e).join("")}function codeFrameFromAst(e,t){return codeFrameFromSource((0,s.print)(e),t)}function codeFrameFromSource(e,t){var n=t.start,s=t.end;var o=1;if(_typeof(s)==="object"){o=s.column-n.column+1}return e.split("\n").reduce(function(e,t,s){if(Math.abs(n.line-s){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeTransition=makeTransition;t.FSM=void 0;function _sliceIterator(e,t){var n=[];var s=true;var i=false;var o=undefined;try{for(var r=e[Symbol.iterator](),a;!(s=(a=r.next()).done);s=true){n.push(a.value);if(t&&n.length===t)break}}catch(e){i=true;o=e}finally{try{if(!s&&r["return"]!=null)r["return"]()}finally{if(i)throw o}}return n}function _slicedToArray(e,t){if(Array.isArray(e)){return e}else if(Symbol.iterator in Object(e)){return _sliceIterator(e,t)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}function _classCallCheck(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(e,t){for(var n=0;n2&&arguments[2]!==undefined?arguments[2]:{},s=n.n,i=s===void 0?1:s,o=n.allowedSeparator;return function(n){if(o){if(n.input[n.ptr]===o){if(e.test(n.input.substring(n.ptr-1,n.ptr))){return[n.currentState,1]}else{return[n.terminatingState,0]}}}if(e.test(n.input.substring(n.ptr,n.ptr+i))){return[t,i]}return false}}function combineTransitions(e){return function(){var t=false;var n=e[this.currentState]||[];for(var s=0;s2&&arguments[2]!==undefined?arguments[2]:n;_classCallCheck(this,FSM);this.initialState=t;this.terminatingState=s;if(s===n||!e[s]){e[s]=[]}this.transitionFunction=combineTransitions.call(this,e)}_createClass(FSM,[{key:"run",value:function run(e){this.input=e;this.ptr=0;this.currentState=this.initialState;var t="";var n,s;while(this.currentState!==this.terminatingState&&this.ptr{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.moduleContextFromModuleAST=moduleContextFromModuleAST;t.ModuleContext=void 0;var s=n(3240);function _classCallCheck(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(e,t){for(var n=0;ne&&e>=0}},{key:"getLabel",value:function getLabel(e){return this.labels[e]}},{key:"popLabel",value:function popLabel(){this.labels.shift()}},{key:"hasLocal",value:function hasLocal(e){return typeof this.getLocal(e)!=="undefined"}},{key:"getLocal",value:function getLocal(e){return this.locals[e]}},{key:"addLocal",value:function addLocal(e){this.locals.push(e)}},{key:"addType",value:function addType(e){if(!(e.functype.type==="Signature")){throw new Error('type.functype.type === "Signature"'+" error: "+(undefined||"unknown"))}this.types.push(e.functype)}},{key:"hasType",value:function hasType(e){return this.types[e]!==undefined}},{key:"getType",value:function getType(e){return this.types[e]}},{key:"hasGlobal",value:function hasGlobal(e){return this.globals.length>e&&e>=0}},{key:"getGlobal",value:function getGlobal(e){return this.globals[e].type}},{key:"getGlobalOffsetByIdentifier",value:function getGlobalOffsetByIdentifier(e){if(!(typeof e==="string")){throw new Error('typeof name === "string"'+" error: "+(undefined||"unknown"))}return this.globalsOffsetByIdentifier[e]}},{key:"defineGlobal",value:function defineGlobal(e){var t=e.globalType.valtype;var n=e.globalType.mutability;this.globals.push({type:t,mutability:n});if(typeof e.name!=="undefined"){this.globalsOffsetByIdentifier[e.name.value]=this.globals.length-1}}},{key:"importGlobal",value:function importGlobal(e,t){this.globals.push({type:e,mutability:t})}},{key:"isMutableGlobal",value:function isMutableGlobal(e){return this.globals[e].mutability==="var"}},{key:"isImmutableGlobal",value:function isImmutableGlobal(e){return this.globals[e].mutability==="const"}},{key:"hasMemory",value:function hasMemory(e){return this.mems.length>e&&e>=0}},{key:"addMemory",value:function addMemory(e,t){this.mems.push({min:e,max:t})}},{key:"getMemory",value:function getMemory(e){return this.mems[e]}}]);return ModuleContext}();t.ModuleContext=i},54942:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"getSectionForNode",{enumerable:true,get:function get(){return s.getSectionForNode}});t.default=void 0;var s=n(50273);var i="illegal";var o=[0,97,115,109];var r=[1,0,0,0];function invertMap(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:function(e){return e};var n={};var s=Object.keys(e);for(var i=0,o=s.length;i2&&arguments[2]!==undefined?arguments[2]:0;return{name:e,object:t,numberOfArgs:n}}function createSymbol(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;return{name:e,numberOfArgs:t}}var a={func:96,result:64};var c={0:"Func",1:"Table",2:"Mem",3:"Global"};var u=invertMap(c);var l={127:"i32",126:"i64",125:"f32",124:"f64",123:"v128"};var d=invertMap(l);var p={112:"anyfunc"};var h=Object.assign({},l,{64:null,127:"i32",126:"i64",125:"f32",124:"f64"});var f={0:"const",1:"var"};var m=invertMap(f);var g={0:"func",1:"table",2:"mem",3:"global"};var y={custom:0,type:1,import:2,func:3,table:4,memory:5,global:6,export:7,start:8,element:9,code:10,data:11};var v={0:createSymbol("unreachable"),1:createSymbol("nop"),2:createSymbol("block"),3:createSymbol("loop"),4:createSymbol("if"),5:createSymbol("else"),6:i,7:i,8:i,9:i,10:i,11:createSymbol("end"),12:createSymbol("br",1),13:createSymbol("br_if",1),14:createSymbol("br_table"),15:createSymbol("return"),16:createSymbol("call",1),17:createSymbol("call_indirect",2),18:i,19:i,20:i,21:i,22:i,23:i,24:i,25:i,26:createSymbol("drop"),27:createSymbol("select"),28:i,29:i,30:i,31:i,32:createSymbol("get_local",1),33:createSymbol("set_local",1),34:createSymbol("tee_local",1),35:createSymbol("get_global",1),36:createSymbol("set_global",1),37:i,38:i,39:i,40:createSymbolObject("load","u32",1),41:createSymbolObject("load","u64",1),42:createSymbolObject("load","f32",1),43:createSymbolObject("load","f64",1),44:createSymbolObject("load8_s","u32",1),45:createSymbolObject("load8_u","u32",1),46:createSymbolObject("load16_s","u32",1),47:createSymbolObject("load16_u","u32",1),48:createSymbolObject("load8_s","u64",1),49:createSymbolObject("load8_u","u64",1),50:createSymbolObject("load16_s","u64",1),51:createSymbolObject("load16_u","u64",1),52:createSymbolObject("load32_s","u64",1),53:createSymbolObject("load32_u","u64",1),54:createSymbolObject("store","u32",1),55:createSymbolObject("store","u64",1),56:createSymbolObject("store","f32",1),57:createSymbolObject("store","f64",1),58:createSymbolObject("store8","u32",1),59:createSymbolObject("store16","u32",1),60:createSymbolObject("store8","u64",1),61:createSymbolObject("store16","u64",1),62:createSymbolObject("store32","u64",1),63:createSymbolObject("current_memory"),64:createSymbolObject("grow_memory"),65:createSymbolObject("const","i32",1),66:createSymbolObject("const","i64",1),67:createSymbolObject("const","f32",1),68:createSymbolObject("const","f64",1),69:createSymbolObject("eqz","i32"),70:createSymbolObject("eq","i32"),71:createSymbolObject("ne","i32"),72:createSymbolObject("lt_s","i32"),73:createSymbolObject("lt_u","i32"),74:createSymbolObject("gt_s","i32"),75:createSymbolObject("gt_u","i32"),76:createSymbolObject("le_s","i32"),77:createSymbolObject("le_u","i32"),78:createSymbolObject("ge_s","i32"),79:createSymbolObject("ge_u","i32"),80:createSymbolObject("eqz","i64"),81:createSymbolObject("eq","i64"),82:createSymbolObject("ne","i64"),83:createSymbolObject("lt_s","i64"),84:createSymbolObject("lt_u","i64"),85:createSymbolObject("gt_s","i64"),86:createSymbolObject("gt_u","i64"),87:createSymbolObject("le_s","i64"),88:createSymbolObject("le_u","i64"),89:createSymbolObject("ge_s","i64"),90:createSymbolObject("ge_u","i64"),91:createSymbolObject("eq","f32"),92:createSymbolObject("ne","f32"),93:createSymbolObject("lt","f32"),94:createSymbolObject("gt","f32"),95:createSymbolObject("le","f32"),96:createSymbolObject("ge","f32"),97:createSymbolObject("eq","f64"),98:createSymbolObject("ne","f64"),99:createSymbolObject("lt","f64"),100:createSymbolObject("gt","f64"),101:createSymbolObject("le","f64"),102:createSymbolObject("ge","f64"),103:createSymbolObject("clz","i32"),104:createSymbolObject("ctz","i32"),105:createSymbolObject("popcnt","i32"),106:createSymbolObject("add","i32"),107:createSymbolObject("sub","i32"),108:createSymbolObject("mul","i32"),109:createSymbolObject("div_s","i32"),110:createSymbolObject("div_u","i32"),111:createSymbolObject("rem_s","i32"),112:createSymbolObject("rem_u","i32"),113:createSymbolObject("and","i32"),114:createSymbolObject("or","i32"),115:createSymbolObject("xor","i32"),116:createSymbolObject("shl","i32"),117:createSymbolObject("shr_s","i32"),118:createSymbolObject("shr_u","i32"),119:createSymbolObject("rotl","i32"),120:createSymbolObject("rotr","i32"),121:createSymbolObject("clz","i64"),122:createSymbolObject("ctz","i64"),123:createSymbolObject("popcnt","i64"),124:createSymbolObject("add","i64"),125:createSymbolObject("sub","i64"),126:createSymbolObject("mul","i64"),127:createSymbolObject("div_s","i64"),128:createSymbolObject("div_u","i64"),129:createSymbolObject("rem_s","i64"),130:createSymbolObject("rem_u","i64"),131:createSymbolObject("and","i64"),132:createSymbolObject("or","i64"),133:createSymbolObject("xor","i64"),134:createSymbolObject("shl","i64"),135:createSymbolObject("shr_s","i64"),136:createSymbolObject("shr_u","i64"),137:createSymbolObject("rotl","i64"),138:createSymbolObject("rotr","i64"),139:createSymbolObject("abs","f32"),140:createSymbolObject("neg","f32"),141:createSymbolObject("ceil","f32"),142:createSymbolObject("floor","f32"),143:createSymbolObject("trunc","f32"),144:createSymbolObject("nearest","f32"),145:createSymbolObject("sqrt","f32"),146:createSymbolObject("add","f32"),147:createSymbolObject("sub","f32"),148:createSymbolObject("mul","f32"),149:createSymbolObject("div","f32"),150:createSymbolObject("min","f32"),151:createSymbolObject("max","f32"),152:createSymbolObject("copysign","f32"),153:createSymbolObject("abs","f64"),154:createSymbolObject("neg","f64"),155:createSymbolObject("ceil","f64"),156:createSymbolObject("floor","f64"),157:createSymbolObject("trunc","f64"),158:createSymbolObject("nearest","f64"),159:createSymbolObject("sqrt","f64"),160:createSymbolObject("add","f64"),161:createSymbolObject("sub","f64"),162:createSymbolObject("mul","f64"),163:createSymbolObject("div","f64"),164:createSymbolObject("min","f64"),165:createSymbolObject("max","f64"),166:createSymbolObject("copysign","f64"),167:createSymbolObject("wrap/i64","i32"),168:createSymbolObject("trunc_s/f32","i32"),169:createSymbolObject("trunc_u/f32","i32"),170:createSymbolObject("trunc_s/f64","i32"),171:createSymbolObject("trunc_u/f64","i32"),172:createSymbolObject("extend_s/i32","i64"),173:createSymbolObject("extend_u/i32","i64"),174:createSymbolObject("trunc_s/f32","i64"),175:createSymbolObject("trunc_u/f32","i64"),176:createSymbolObject("trunc_s/f64","i64"),177:createSymbolObject("trunc_u/f64","i64"),178:createSymbolObject("convert_s/i32","f32"),179:createSymbolObject("convert_u/i32","f32"),180:createSymbolObject("convert_s/i64","f32"),181:createSymbolObject("convert_u/i64","f32"),182:createSymbolObject("demote/f64","f32"),183:createSymbolObject("convert_s/i32","f64"),184:createSymbolObject("convert_u/i32","f64"),185:createSymbolObject("convert_s/i64","f64"),186:createSymbolObject("convert_u/i64","f64"),187:createSymbolObject("promote/f32","f64"),188:createSymbolObject("reinterpret/f32","i32"),189:createSymbolObject("reinterpret/f64","i64"),190:createSymbolObject("reinterpret/i32","f32"),191:createSymbolObject("reinterpret/i64","f64")};var b=invertMap(v,function(e){if(typeof e.object==="string"){return"".concat(e.object,".").concat(e.name)}return e.name});var k={symbolsByByte:v,sections:y,magicModuleHeader:o,moduleVersion:r,types:a,valtypes:l,exportTypes:c,blockTypes:h,tableTypes:p,globalTypes:f,importTypes:g,valtypesByString:d,globalTypesByString:m,exportTypesByName:u,symbolsByName:b};t.default=k},50273:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getSectionForNode=getSectionForNode;function getSectionForNode(e){switch(e.type){case"ModuleImport":return"import";case"CallInstruction":case"CallIndirectInstruction":case"Func":case"Instr":return"code";case"ModuleExport":return"export";case"Start":return"start";case"TypeInstruction":return"type";case"IndexInFuncSection":return"func";case"Global":return"global";default:return}}},97056:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createEmptySection=createEmptySection;var s=n(95720);var i=n(7148);var o=_interopRequireDefault(n(54942));var r=_interopRequireWildcard(n(3240));function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n)){var s=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};if(s.get||s.set){Object.defineProperty(t,n,s)}else{t[n]=e[n]}}}}t.default=e;return t}}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _typeof(e){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(e){return typeof e}}else{_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}function findLastSection(e,t){var n=o.default.sections[t];var s=e.body[0].metadata.sections;var i;var r=0;for(var a=0,c=s.length;ar&&n{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"resizeSectionByteSize",{enumerable:true,get:function get(){return s.resizeSectionByteSize}});Object.defineProperty(t,"resizeSectionVecSize",{enumerable:true,get:function get(){return s.resizeSectionVecSize}});Object.defineProperty(t,"createEmptySection",{enumerable:true,get:function get(){return i.createEmptySection}});Object.defineProperty(t,"removeSections",{enumerable:true,get:function get(){return o.removeSections}});var s=n(24433);var i=n(97056);var o=n(31618)},31618:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.removeSections=removeSections;var s=n(3240);var i=n(7148);function removeSections(e,t,n){var o=(0,s.getSectionMetadatas)(e,n);if(o.length===0){throw new Error("Section metadata not found")}return o.reverse().reduce(function(t,o){var r=o.startOffset-1;var a=n==="start"?o.size.loc.end.column+1:o.startOffset+o.size.value+1;var c=-(a-r);var u=false;(0,s.traverse)(e,{SectionMetadata:function SectionMetadata(t){if(t.node.section===n){u=true;return t.remove()}if(u===true){(0,s.shiftSection)(e,t.node,c)}}});var l=[];return(0,i.overrideBytesInBuffer)(t,r,a,l)},t)}},24433:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resizeSectionByteSize=resizeSectionByteSize;t.resizeSectionVecSize=resizeSectionVecSize;var s=n(95720);var i=n(3240);var o=n(7148);function resizeSectionByteSize(e,t,n,r){var a=(0,i.getSectionMetadata)(e,n);if(typeof a==="undefined"){throw new Error("Section metadata not found")}if(typeof a.size.loc==="undefined"){throw new Error("SectionMetadata "+n+" has no loc")}var c=a.size.loc.start.column;var u=a.size.loc.end.column;var l=a.size.value+r;var d=(0,s.encodeU32)(l);a.size.value=l;var p=u-c;var h=d.length;if(h!==p){var f=h-p;a.size.loc.end.column=c+h;r+=f;a.vectorOfSize.loc.start.column+=f;a.vectorOfSize.loc.end.column+=f}var m=false;(0,i.traverse)(e,{SectionMetadata:function SectionMetadata(t){if(t.node.section===n){m=true;return}if(m===true){(0,i.shiftSection)(e,t.node,r)}}});return(0,o.overrideBytesInBuffer)(t,c,u,d)}function resizeSectionVecSize(e,t,n,r){var a=(0,i.getSectionMetadata)(e,n);if(typeof a==="undefined"){throw new Error("Section metadata not found")}if(typeof a.vectorOfSize.loc==="undefined"){throw new Error("SectionMetadata "+n+" has no loc")}if(a.vectorOfSize.value===-1){return t}var c=a.vectorOfSize.loc.start.column;var u=a.vectorOfSize.loc.end.column;var l=a.vectorOfSize.value+r;var d=(0,s.encodeU32)(l);a.vectorOfSize.value=l;a.vectorOfSize.loc.end.column=c+d.length;return(0,o.overrideBytesInBuffer)(t,c,u,d)}},95947:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.encodeF32=encodeF32;t.encodeF64=encodeF64;t.decodeF32=decodeF32;t.decodeF64=decodeF64;t.DOUBLE_PRECISION_MANTISSA=t.SINGLE_PRECISION_MANTISSA=t.NUMBER_OF_BYTE_F64=t.NUMBER_OF_BYTE_F32=void 0;var s=n(96096);var i=4;t.NUMBER_OF_BYTE_F32=i;var o=8;t.NUMBER_OF_BYTE_F64=o;var r=23;t.SINGLE_PRECISION_MANTISSA=r;var a=52;t.DOUBLE_PRECISION_MANTISSA=a;function encodeF32(e){var t=[];(0,s.write)(t,e,0,true,r,i);return t}function encodeF64(e){var t=[];(0,s.write)(t,e,0,true,a,o);return t}function decodeF32(e){var t=Buffer.from(e);return(0,s.read)(t,0,true,r,i)}function decodeF64(e){var t=Buffer.from(e);return(0,s.read)(t,0,true,a,o)}},38257:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.extract=extract;t.inject=inject;t.getSign=getSign;t.highOrder=highOrder;function extract(e,t,n,s){if(n<0||n>32){throw new Error("Bad value for bitLength.")}if(s===undefined){s=0}else if(s!==0&&s!==1){throw new Error("Bad value for defaultBit.")}var i=s*255;var o=0;var r=t+n;var a=Math.floor(t/8);var c=t%8;var u=Math.floor(r/8);var l=r%8;if(l!==0){o=get(u)&(1<a){u--;o=o<<8|get(u)}o>>>=c;return o;function get(t){var n=e[t];return n===undefined?i:n}}function inject(e,t,n,s){if(n<0||n>32){throw new Error("Bad value for bitLength.")}var i=Math.floor((t+n-1)/8);if(t<0||i>=e.length){throw new Error("Index out of range.")}var o=Math.floor(t/8);var r=t%8;while(n>0){if(s&1){e[o]|=1<>=1;n--;r=(r+1)%8;if(r===0){o++}}}function getSign(e){return e[e.length-1]>>>7}function highOrder(e,t){var n=t.length;var s=(e^1)*255;while(n>0&&t[n-1]===s){n--}if(n===0){return-1}var i=t[n-1];var o=n*8-1;for(var r=7;r>0;r--){if((i>>r&1)===e){break}o--}return o}},69393:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.alloc=alloc;t.free=free;t.resize=resize;t.readInt=readInt;t.readUInt=readUInt;t.writeInt64=writeInt64;t.writeUInt64=writeUInt64;var n=[];var s=20;var i=-0x8000000000000000;var o=0x7ffffffffffffc00;var r=0xfffffffffffff800;var a=4294967296;var c=0x10000000000000000;function lowestBit(e){return e&-e}function isLossyToAdd(e,t){if(t===0){return false}var n=lowestBit(t);var s=e+n;if(s===e){return true}if(s-n!==e){return true}return false}function alloc(e){var t=n[e];if(t){n[e]=undefined}else{t=new Buffer(e)}t.fill(0);return t}function free(e){var t=e.length;if(t=0;o--){s=s*256+e[o]}}else{for(var r=t-1;r>=0;r--){var a=e[r];s*=256;if(isLossyToAdd(s,a)){i=true}s+=a}}return{value:s,lossy:i}}function readUInt(e){var t=e.length;var n=0;var s=false;if(t<7){for(var i=t-1;i>=0;i--){n=n*256+e[i]}}else{for(var o=t-1;o>=0;o--){var r=e[o];n*=256;if(isLossyToAdd(n,r)){s=true}n+=r}}return{value:n,lossy:s}}function writeInt64(e,t){if(eo){throw new Error("Value out of range.")}if(e<0){e+=c}writeUInt64(e,t)}function writeUInt64(e,t){if(e<0||e>r){throw new Error("Value out of range.")}var n=e%a;var s=Math.floor(e/a);t.writeUInt32LE(n,0);t.writeUInt32LE(s,4)}},76726:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.decodeInt64=decodeInt64;t.decodeUInt64=decodeUInt64;t.decodeInt32=decodeInt32;t.decodeUInt32=decodeUInt32;t.encodeU32=encodeU32;t.encodeI32=encodeI32;t.encodeI64=encodeI64;t.MAX_NUMBER_OF_BYTE_U64=t.MAX_NUMBER_OF_BYTE_U32=void 0;var s=_interopRequireDefault(n(70978));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=5;t.MAX_NUMBER_OF_BYTE_U32=i;var o=10;t.MAX_NUMBER_OF_BYTE_U64=o;function decodeInt64(e,t){return s.default.decodeInt64(e,t)}function decodeUInt64(e,t){return s.default.decodeUInt64(e,t)}function decodeInt32(e,t){return s.default.decodeInt32(e,t)}function decodeUInt32(e,t){return s.default.decodeUInt32(e,t)}function encodeU32(e){return s.default.encodeUInt32(e)}function encodeI32(e){return s.default.encodeInt32(e)}function encodeI64(e){return s.default.encodeInt64(e)}},70978:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var s=_interopRequireDefault(n(60667));var i=_interopRequireWildcard(n(38257));var o=_interopRequireWildcard(n(69393));function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n)){var s=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};if(s.get||s.set){Object.defineProperty(t,n,s)}else{t[n]=e[n]}}}}t.default=e;return t}}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var r=-2147483648;var a=2147483647;var c=4294967295;function signedBitCount(e){return i.highOrder(i.getSign(e)^1,e)+2}function unsignedBitCount(e){var t=i.highOrder(1,e)+1;return t?t:1}function encodeBufferCommon(e,t){var n;var s;if(t){n=i.getSign(e);s=signedBitCount(e)}else{n=0;s=unsignedBitCount(e)}var r=Math.ceil(s/7);var a=o.alloc(r);for(var c=0;c=128){n++}n++;if(t+n>e.length){}return n}function decodeBufferCommon(e,t,n){t=t===undefined?0:t;var s=encodedLength(e,t);var r=s*7;var a=Math.ceil(r/8);var c=o.alloc(a);var u=0;while(s>0){i.inject(c,u,7,e[t]);u+=7;t++;s--}var l;var d;if(n){var p=c[a-1];var h=u%8;if(h!==0){var f=32-h;p=c[a-1]=p<>f&255}l=p>>7;d=l*255}else{l=0;d=0}while(a>1&&c[a-1]===d&&(!n||c[a-2]>>7===l)){a--}c=o.resize(c,a);return{value:c,nextIndex:t}}function encodeIntBuffer(e){return encodeBufferCommon(e,true)}function decodeIntBuffer(e,t){return decodeBufferCommon(e,t,true)}function encodeInt32(e){var t=o.alloc(4);t.writeInt32LE(e,0);var n=encodeIntBuffer(t);o.free(t);return n}function decodeInt32(e,t){var n=decodeIntBuffer(e,t);var s=o.readInt(n.value);var i=s.value;o.free(n.value);if(ia){throw new Error("integer too large")}return{value:i,nextIndex:n.nextIndex}}function encodeInt64(e){var t=o.alloc(8);o.writeInt64(e,t);var n=encodeIntBuffer(t);o.free(t);return n}function decodeInt64(e,t){var n=decodeIntBuffer(e,t);var i=s.default.fromBytesLE(n.value,false);o.free(n.value);return{value:i,nextIndex:n.nextIndex,lossy:false}}function encodeUIntBuffer(e){return encodeBufferCommon(e,false)}function decodeUIntBuffer(e,t){return decodeBufferCommon(e,t,false)}function encodeUInt32(e){var t=o.alloc(4);t.writeUInt32LE(e,0);var n=encodeUIntBuffer(t);o.free(t);return n}function decodeUInt32(e,t){var n=decodeUIntBuffer(e,t);var s=o.readUInt(n.value);var i=s.value;o.free(n.value);if(i>c){throw new Error("integer too large")}return{value:i,nextIndex:n.nextIndex}}function encodeUInt64(e){var t=o.alloc(8);o.writeUInt64(e,t);var n=encodeUIntBuffer(t);o.free(t);return n}function decodeUInt64(e,t){var n=decodeUIntBuffer(e,t);var i=s.default.fromBytesLE(n.value,true);o.free(n.value);return{value:i,nextIndex:n.nextIndex,lossy:false}}var u={decodeInt32:decodeInt32,decodeInt64:decodeInt64,decodeIntBuffer:decodeIntBuffer,decodeUInt32:decodeUInt32,decodeUInt64:decodeUInt64,decodeUIntBuffer:decodeUIntBuffer,encodeInt32:encodeInt32,encodeInt64:encodeInt64,encodeIntBuffer:encodeIntBuffer,encodeUInt32:encodeUInt32,encodeUInt64:encodeUInt64,encodeUIntBuffer:encodeUIntBuffer};t.default=u},7950:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.decode=decode;function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=65536){throw new Error("invalid UTF-8 encoding")}else{return t}}function decode(e){return _decode(e).map(function(e){return String.fromCharCode(e)}).join("")}function _decode(e){if(e.length===0){return[]}{var t=_toArray(e),n=t[0],s=t.slice(1);if(n<128){return[code(0,n)].concat(_toConsumableArray(_decode(s)))}if(n<192){throw new Error("invalid UTF-8 encoding")}}{var i=_toArray(e),o=i[0],r=i[1],a=i.slice(2);if(o<224){return[code(128,((o&31)<<6)+con(r))].concat(_toConsumableArray(_decode(a)))}}{var c=_toArray(e),u=c[0],l=c[1],d=c[2],p=c.slice(3);if(u<240){return[code(2048,((u&15)<<12)+(con(l)<<6)+con(d))].concat(_toConsumableArray(_decode(p)))}}{var h=_toArray(e),f=h[0],m=h[1],g=h[2],y=h[3],v=h.slice(4);if(f<248){return[code(65536,(((f&7)<<18)+con(m)<<12)+(con(g)<<6)+con(y))].concat(_toConsumableArray(_decode(v)))}}throw new Error("invalid UTF-8 encoding")}},93275:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.encode=encode;function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t>>6,con(n)].concat(_toConsumableArray(_encode(s)))}if(n<65536){return[224|n>>>12,con(n>>>6),con(n)].concat(_toConsumableArray(_encode(s)))}if(n<1114112){return[240|n>>>18,con(n>>>12),con(n>>>6),con(n)].concat(_toConsumableArray(_encode(s)))}throw new Error("utf8")}},29057:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"decode",{enumerable:true,get:function get(){return s.decode}});Object.defineProperty(t,"encode",{enumerable:true,get:function get(){return i.encode}});var s=n(7950);var i=n(93275)},66935:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.applyOperations=applyOperations;var s=n(95720);var i=n(39975);var o=n(3240);var r=n(65956);var a=n(7148);var c=n(54942);function _sliceIterator(e,t){var n=[];var s=true;var i=false;var o=undefined;try{for(var r=e[Symbol.iterator](),a;!(s=(a=r.next()).done);s=true){n.push(a.value);if(t&&n.length===t)break}}catch(e){i=true;o=e}finally{try{if(!s&&r["return"]!=null)r["return"]()}finally{if(i)throw o}}return n}function _slicedToArray(e,t){if(Array.isArray(e)){return e}else if(Symbol.iterator in Object(e)){return _sliceIterator(e,t)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}function shiftLocNodeByDelta(e,t){(0,o.assertHasLoc)(e);e.loc.start.column+=t;e.loc.end.column+=t}function applyUpdate(e,t,n){var r=_slicedToArray(n,2),u=r[0],l=r[1];var d=0;(0,o.assertHasLoc)(u);var p=(0,c.getSectionForNode)(l);var h=(0,s.encodeNode)(l);t=(0,a.overrideBytesInBuffer)(t,u.loc.start.column,u.loc.end.column,h);if(p==="code"){(0,o.traverse)(e,{Func:function Func(e){var n=e.node;var r=n.body.find(function(e){return e===l})!==undefined;if(r===true){(0,o.assertHasLoc)(n);var c=(0,s.encodeNode)(u).length;var d=h.length-c;if(d!==0){var p=n.metadata.bodySize+d;var f=(0,i.encodeU32)(p);var m=n.loc.start.column;var g=m+1;t=(0,a.overrideBytesInBuffer)(t,m,g,f)}}}})}var f=h.length-(u.loc.end.column-u.loc.start.column);l.loc={start:{line:-1,column:-1},end:{line:-1,column:-1}};l.loc.start.column=u.loc.start.column;l.loc.end.column=u.loc.start.column+h.length;return{uint8Buffer:t,deltaBytes:f,deltaElements:d}}function applyDelete(e,t,n){var s=-1;(0,o.assertHasLoc)(n);var i=(0,c.getSectionForNode)(n);if(i==="start"){var u=(0,o.getSectionMetadata)(e,"start");t=(0,r.removeSections)(e,t,"start");var l=-(u.size.value+1);return{uint8Buffer:t,deltaBytes:l,deltaElements:s}}var d=[];t=(0,a.overrideBytesInBuffer)(t,n.loc.start.column,n.loc.end.column,d);var p=-(n.loc.end.column-n.loc.start.column);return{uint8Buffer:t,deltaBytes:p,deltaElements:s}}function applyAdd(e,t,n){var i=+1;var u=(0,c.getSectionForNode)(n);var l=(0,o.getSectionMetadata)(e,u);if(typeof l==="undefined"){var d=(0,r.createEmptySection)(e,t,u);t=d.uint8Buffer;l=d.sectionMetadata}if((0,o.isFunc)(n)){var p=n.body;if(p.length===0||p[p.length-1].id!=="end"){throw new Error("expressions must be ended")}}if((0,o.isGlobal)(n)){var p=n.init;if(p.length===0||p[p.length-1].id!=="end"){throw new Error("expressions must be ended")}}var h=(0,s.encodeNode)(n);var f=(0,o.getEndOfSection)(l);var m=f;var g=h.length;t=(0,a.overrideBytesInBuffer)(t,f,m,h);n.loc={start:{line:-1,column:f},end:{line:-1,column:f+g}};if(n.type==="Func"){var y=h[0];n.metadata={bodySize:y}}if(n.type!=="IndexInFuncSection"){(0,o.orderedInsertNode)(e.body[0],n)}return{uint8Buffer:t,deltaBytes:g,deltaElements:i}}function applyOperations(e,t,n){n.forEach(function(s){var i;var o;switch(s.kind){case"update":i=applyUpdate(e,t,[s.oldNode,s.node]);o=(0,c.getSectionForNode)(s.node);break;case"delete":i=applyDelete(e,t,s.node);o=(0,c.getSectionForNode)(s.node);break;case"add":i=applyAdd(e,t,s.node);o=(0,c.getSectionForNode)(s.node);break;default:throw new Error("Unknown operation")}if(i.deltaElements!==0&&o!=="start"){var a=i.uint8Buffer.length;i.uint8Buffer=(0,r.resizeSectionVecSize)(e,i.uint8Buffer,o,i.deltaElements);i.deltaBytes+=i.uint8Buffer.length-a}if(i.deltaBytes!==0&&o!=="start"){var u=i.uint8Buffer.length;i.uint8Buffer=(0,r.resizeSectionByteSize)(e,i.uint8Buffer,o,i.deltaBytes);i.deltaBytes+=i.uint8Buffer.length-u}if(i.deltaBytes!==0){n.forEach(function(e){switch(e.kind){case"update":shiftLocNodeByDelta(e.oldNode,i.deltaBytes);break;case"delete":shiftLocNodeByDelta(e.node,i.deltaBytes);break}})}t=i.uint8Buffer});return t}},99012:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.edit=edit;t.editWithAST=editWithAST;t.add=add;t.addWithAST=addWithAST;var s=n(56954);var i=n(3240);var o=n(87232);var r=n(40432);var a=_interopRequireWildcard(n(54942));var c=n(66935);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n)){var s=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};if(s.get||s.set){Object.defineProperty(t,n,s)}else{t[n]=e[n]}}}}t.default=e;return t}}function hashNode(e){return JSON.stringify(e)}function preprocess(e){var t=(0,r.shrinkPaddedLEB128)(new Uint8Array(e));return t.buffer}function sortBySectionOrder(e){var t=new Map;var n=true;var s=false;var i=undefined;try{for(var o=e[Symbol.iterator](),r;!(n=(r=o.next()).done);n=true){var c=r.value;t.set(c,t.size)}}catch(e){s=true;i=e}finally{try{if(!n&&o.return!=null){o.return()}}finally{if(s){throw i}}}e.sort(function(e,n){var s=(0,a.getSectionForNode)(e);var i=(0,a.getSectionForNode)(n);var o=a.default.sections[s];var r=a.default.sections[i];if(typeof o!=="number"||typeof r!=="number"){throw new Error("Section id not found")}if(o===r){return t.get(e)-t.get(n)}return o-r})}function edit(e,t){e=preprocess(e);var n=(0,s.decode)(e);return editWithAST(n,e,t)}function editWithAST(e,t,n){var s=[];var r=new Uint8Array(t);var a;function before(e,t){a=(0,o.cloneNode)(t.node)}function after(e,t){if(t.node._deleted===true){s.push({kind:"delete",node:t.node})}else if(hashNode(a)!==hashNode(t.node)){s.push({kind:"update",oldNode:a,node:t.node})}}(0,i.traverse)(e,n,before,after);r=(0,c.applyOperations)(e,r,s);return r.buffer}function add(e,t){e=preprocess(e);var n=(0,s.decode)(e);return addWithAST(n,e,t)}function addWithAST(e,t,n){sortBySectionOrder(n);var s=new Uint8Array(t);var i=n.map(function(e){return{kind:"add",node:e}});s=(0,c.applyOperations)(e,s,i);return s.buffer}},39975:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.encodeVersion=encodeVersion;t.encodeHeader=encodeHeader;t.encodeU32=encodeU32;t.encodeI32=encodeI32;t.encodeI64=encodeI64;t.encodeVec=encodeVec;t.encodeValtype=encodeValtype;t.encodeMutability=encodeMutability;t.encodeUTF8Vec=encodeUTF8Vec;t.encodeLimits=encodeLimits;t.encodeModuleImport=encodeModuleImport;t.encodeSectionMetadata=encodeSectionMetadata;t.encodeCallInstruction=encodeCallInstruction;t.encodeCallIndirectInstruction=encodeCallIndirectInstruction;t.encodeModuleExport=encodeModuleExport;t.encodeTypeInstruction=encodeTypeInstruction;t.encodeInstr=encodeInstr;t.encodeStringLiteral=encodeStringLiteral;t.encodeGlobal=encodeGlobal;t.encodeFuncBody=encodeFuncBody;t.encodeIndexInFuncSection=encodeIndexInFuncSection;t.encodeElem=encodeElem;var s=_interopRequireWildcard(n(76726));var i=_interopRequireWildcard(n(95947));var o=_interopRequireWildcard(n(29057));var r=_interopRequireDefault(n(54942));var a=n(95720);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n)){var s=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};if(s.get||s.set){Object.defineProperty(t,n,s)}else{t[n]=e[n]}}}}t.default=e;return t}}function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.encodeNode=encodeNode;t.encodeU32=void 0;var s=_interopRequireWildcard(n(39975));function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n)){var s=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};if(s.get||s.set){Object.defineProperty(t,n,s)}else{t[n]=e[n]}}}}t.default=e;return t}}function encodeNode(e){switch(e.type){case"ModuleImport":return s.encodeModuleImport(e);case"SectionMetadata":return s.encodeSectionMetadata(e);case"CallInstruction":return s.encodeCallInstruction(e);case"CallIndirectInstruction":return s.encodeCallIndirectInstruction(e);case"TypeInstruction":return s.encodeTypeInstruction(e);case"Instr":return s.encodeInstr(e);case"ModuleExport":return s.encodeModuleExport(e);case"Global":return s.encodeGlobal(e);case"Func":return s.encodeFuncBody(e);case"IndexInFuncSection":return s.encodeIndexInFuncSection(e);case"StringLiteral":return s.encodeStringLiteral(e);case"Elem":return s.encodeElem(e);default:throw new Error("Unsupported encoding for node of type: "+JSON.stringify(e.type))}}var i=s.encodeU32;t.encodeU32=i},40432:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shrinkPaddedLEB128=shrinkPaddedLEB128;var s=n(56954);var i=n(17980);function _typeof(e){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(e){return typeof e}}else{_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}function _classCallCheck(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(e,t){if(t&&(_typeof(t)==="object"||typeof t==="function")){return t}if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function _inherits(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function")}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var o=function(e){_inherits(OptimizerError,e);function OptimizerError(e,t){var n;_classCallCheck(this,OptimizerError);n=_possibleConstructorReturn(this,(OptimizerError.__proto__||Object.getPrototypeOf(OptimizerError)).call(this,"Error while optimizing: "+e+": "+t.message));n.stack=t.stack;return n}return OptimizerError}(Error);var r={ignoreCodeSection:true,ignoreDataSection:true};function shrinkPaddedLEB128(e){try{var t=(0,s.decode)(e.buffer,r);return(0,i.shrinkPaddedLEB128)(t,e)}catch(e){throw new o("shrinkPaddedLEB128",e)}}},17980:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shrinkPaddedLEB128=shrinkPaddedLEB128;var s=n(3240);var i=n(39975);var o=n(7148);function shiftFollowingSections(e,t,n){var i=t.section;var o=false;(0,s.traverse)(e,{SectionMetadata:function SectionMetadata(t){if(t.node.section===i){o=true;return}if(o===true){(0,s.shiftSection)(e,t.node,n)}}})}function shrinkPaddedLEB128(e,t){(0,s.traverse)(e,{SectionMetadata:function SectionMetadata(n){var s=n.node;{var r=(0,i.encodeU32)(s.size.value);var a=r.length;var c=s.size.loc.start.column;var u=s.size.loc.end.column;var l=u-c;if(a!==l){var d=l-a;t=(0,o.overrideBytesInBuffer)(t,c,u,r);shiftFollowingSections(e,s,-d)}}}});return t}},88328:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.decode=decode;var s=n(78498);var i=_interopRequireWildcard(n(95947));var o=_interopRequireWildcard(n(29057));var r=_interopRequireWildcard(n(3240));var a=n(76726);var c=_interopRequireDefault(n(54942));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n)){var s=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};if(s.get||s.set){Object.defineProperty(t,n,s)}else{t[n]=e[n]}}}}t.default=e;return t}}function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=n.length}function eatBytes(e){l=l+e}function readBytesAtOffset(e,t){var s=[];for(var i=0;i>7?-1:1;var s=0;for(var o=0;o>7?-1:1;var s=0;for(var o=0;on.length){throw new Error("unexpected end")}var e=readBytes(4);if(byteArrayEq(c.default.magicModuleHeader,e)===false){throw new s.CompileError("magic header not detected")}dump(e,"wasm magic header");eatBytes(4)}function parseVersion(){if(isEOF()===true||l+4>n.length){throw new Error("unexpected end")}var e=readBytes(4);if(byteArrayEq(c.default.moduleVersion,e)===false){throw new s.CompileError("unknown binary version")}dump(e,"wasm version");eatBytes(4)}function parseVec(e){var t=readU32();var n=t.value;eatBytes(t.nextIndex);dump([n],"number");if(n===0){return[]}var i=[];for(var o=0;o=40&&i<=64){if(o.name==="grow_memory"||o.name==="current_memory"){var H=readU32();var U=H.value;eatBytes(H.nextIndex);if(U!==0){throw new Error("zero flag expected")}dump([U],"index")}else{var E=readU32();var Z=E.value;eatBytes(E.nextIndex);dump([Z],"align");var ee=readU32();var te=ee.value;eatBytes(ee.nextIndex);dump([te],"offset")}}else if(i>=65&&i<=68){if(o.object==="i32"){var ne=read32();var se=ne.value;eatBytes(ne.nextIndex);dump([se],"i32 value");l.push(r.numberLiteralFromRaw(se))}if(o.object==="u32"){var ie=readU32();var oe=ie.value;eatBytes(ie.nextIndex);dump([oe],"u32 value");l.push(r.numberLiteralFromRaw(oe))}if(o.object==="i64"){var re=read64();var ae=re.value;eatBytes(re.nextIndex);dump([Number(ae.toString())],"i64 value");var ce=ae.high,ue=ae.low;var le={type:"LongNumberLiteral",value:{high:ce,low:ue}};l.push(le)}if(o.object==="u64"){var de=readU64();var pe=de.value;eatBytes(de.nextIndex);dump([Number(pe.toString())],"u64 value");var he=pe.high,fe=pe.low;var me={type:"LongNumberLiteral",value:{high:he,low:fe}};l.push(me)}if(o.object==="f32"){var ge=readF32();var ye=ge.value;eatBytes(ge.nextIndex);dump([ye],"f32 value");l.push(r.floatLiteral(ye,ge.nan,ge.inf,String(ye)))}if(o.object==="f64"){var ve=readF64();var be=ve.value;eatBytes(ve.nextIndex);dump([be],"f64 value");l.push(r.floatLiteral(be,ve.nan,ve.inf,String(be)))}}else{for(var ke=0;ke=e||e===c.default.sections.custom){e=n+1}else{if(n!==c.default.sections.custom)throw new s.CompileError("Unexpected section: "+toHex(n))}var i=e;var o=l;var a=getPosition();var u=readU32();var d=u.value;eatBytes(u.nextIndex);var p=function(){var e=getPosition();return r.withLoc(r.numberLiteralFromRaw(d),e,a)}();switch(n){case c.default.sections.type:{dumpSep("section Type");dump([n],"section code");dump([d],"section size");var h=getPosition();var f=readU32();var m=f.value;eatBytes(f.nextIndex);var g=r.sectionMetadata("type",o,p,function(){var e=getPosition();return r.withLoc(r.numberLiteralFromRaw(m),e,h)}());var y=parseTypeSection(m);return{nodes:y,metadata:g,nextSectionIndex:i}}case c.default.sections.table:{dumpSep("section Table");dump([n],"section code");dump([d],"section size");var v=getPosition();var b=readU32();var k=b.value;eatBytes(b.nextIndex);dump([k],"num tables");var w=r.sectionMetadata("table",o,p,function(){var e=getPosition();return r.withLoc(r.numberLiteralFromRaw(k),e,v)}());var x=parseTableSection(k);return{nodes:x,metadata:w,nextSectionIndex:i}}case c.default.sections.import:{dumpSep("section Import");dump([n],"section code");dump([d],"section size");var C=getPosition();var M=readU32();var S=M.value;eatBytes(M.nextIndex);dump([S],"number of imports");var O=r.sectionMetadata("import",o,p,function(){var e=getPosition();return r.withLoc(r.numberLiteralFromRaw(S),e,C)}());var T=parseImportSection(S);return{nodes:T,metadata:O,nextSectionIndex:i}}case c.default.sections.func:{dumpSep("section Function");dump([n],"section code");dump([d],"section size");var P=getPosition();var $=readU32();var F=$.value;eatBytes($.nextIndex);var j=r.sectionMetadata("func",o,p,function(){var e=getPosition();return r.withLoc(r.numberLiteralFromRaw(F),e,P)}());parseFuncSection(F);var _=[];return{nodes:_,metadata:j,nextSectionIndex:i}}case c.default.sections.export:{dumpSep("section Export");dump([n],"section code");dump([d],"section size");var z=getPosition();var q=readU32();var W=q.value;eatBytes(q.nextIndex);var A=r.sectionMetadata("export",o,p,function(){var e=getPosition();return r.withLoc(r.numberLiteralFromRaw(W),e,z)}());parseExportSection(W);var G=[];return{nodes:G,metadata:A,nextSectionIndex:i}}case c.default.sections.code:{dumpSep("section Code");dump([n],"section code");dump([d],"section size");var B=getPosition();var R=readU32();var J=R.value;eatBytes(R.nextIndex);var V=r.sectionMetadata("code",o,p,function(){var e=getPosition();return r.withLoc(r.numberLiteralFromRaw(J),e,B)}());if(t.ignoreCodeSection===true){var I=d-R.nextIndex;eatBytes(I)}else{parseCodeSection(J)}var D=[];return{nodes:D,metadata:V,nextSectionIndex:i}}case c.default.sections.start:{dumpSep("section Start");dump([n],"section code");dump([d],"section size");var K=r.sectionMetadata("start",o,p);var X=[parseStartSection()];return{nodes:X,metadata:K,nextSectionIndex:i}}case c.default.sections.element:{dumpSep("section Element");dump([n],"section code");dump([d],"section size");var N=getPosition();var L=readU32();var Q=L.value;eatBytes(L.nextIndex);var Y=r.sectionMetadata("element",o,p,function(){var e=getPosition();return r.withLoc(r.numberLiteralFromRaw(Q),e,N)}());var H=parseElemSection(Q);return{nodes:H,metadata:Y,nextSectionIndex:i}}case c.default.sections.global:{dumpSep("section Global");dump([n],"section code");dump([d],"section size");var U=getPosition();var E=readU32();var Z=E.value;eatBytes(E.nextIndex);var ee=r.sectionMetadata("global",o,p,function(){var e=getPosition();return r.withLoc(r.numberLiteralFromRaw(Z),e,U)}());var te=parseGlobalSection(Z);return{nodes:te,metadata:ee,nextSectionIndex:i}}case c.default.sections.memory:{dumpSep("section Memory");dump([n],"section code");dump([d],"section size");var ne=getPosition();var se=readU32();var ie=se.value;eatBytes(se.nextIndex);var oe=r.sectionMetadata("memory",o,p,function(){var e=getPosition();return r.withLoc(r.numberLiteralFromRaw(ie),e,ne)}());var re=parseMemorySection(ie);return{nodes:re,metadata:oe,nextSectionIndex:i}}case c.default.sections.data:{dumpSep("section Data");dump([n],"section code");dump([d],"section size");var ae=r.sectionMetadata("data",o,p);var ce=getPosition();var ue=readU32();var le=ue.value;eatBytes(ue.nextIndex);ae.vectorOfSize=function(){var e=getPosition();return r.withLoc(r.numberLiteralFromRaw(le),e,ce)}();if(t.ignoreDataSection===true){var de=d-ue.nextIndex;eatBytes(de);dumpSep("ignore data ("+d+" bytes)");return{nodes:[],metadata:ae,nextSectionIndex:i}}else{var pe=parseDataSection(le);return{nodes:pe,metadata:ae,nextSectionIndex:i}}}case c.default.sections.custom:{dumpSep("section Custom");dump([n],"section code");dump([d],"section size");var he=[r.sectionMetadata("custom",o,p)];var fe=readUTF8String();eatBytes(fe.nextIndex);dump([],"section name (".concat(fe.value,")"));var me=d-fe.nextIndex;if(fe.value==="name"){var ge=l;try{he.push.apply(he,_toConsumableArray(parseNameSection(me)))}catch(e){console.warn('Failed to decode custom "name" section @'.concat(l,"; ignoring (").concat(e.message,")."));eatBytes(l-(ge+me))}}else if(fe.value==="producers"){var ye=l;try{he.push(parseProducersSection())}catch(e){console.warn('Failed to decode custom "producers" section @'.concat(l,"; ignoring (").concat(e.message,")."));eatBytes(l-(ye+me))}}else{eatBytes(me);dumpSep("ignore custom "+JSON.stringify(fe.value)+" section ("+me+" bytes)")}return{nodes:[],metadata:he,nextSectionIndex:i}}}throw new s.CompileError("Unexpected section: "+toHex(n))}parseModuleHeader();parseVersion();var p=[];var h=0;var f={sections:[],functionNames:[],localNames:[],producers:[]};while(l{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.decode=decode;var s=_interopRequireWildcard(n(88328));var i=_interopRequireWildcard(n(3240));function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n)){var s=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};if(s.get||s.set){Object.defineProperty(t,n,s)}else{t[n]=e[n]}}}}t.default=e;return t}}var o={dump:false,ignoreCodeSection:false,ignoreDataSection:false,ignoreCustomNameSection:false};function restoreFunctionNames(e){var t=[];i.traverse(e,{FunctionNameMetadata:function FunctionNameMetadata(e){var n=e.node;t.push({name:n.value,index:n.index})}});if(t.length===0){return}i.traverse(e,{Func:function(e){function Func(t){return e.apply(this,arguments)}Func.toString=function(){return e.toString()};return Func}(function(e){var n=e.node;var s=n.name;var i=s.value;var o=Number(i.replace("func_",""));var r=t.find(function(e){return e.index===o});if(r){var a=s.value;s.value=r.name;s.numeric=a;delete s.raw}}),ModuleExport:function(e){function ModuleExport(t){return e.apply(this,arguments)}ModuleExport.toString=function(){return e.toString()};return ModuleExport}(function(e){var n=e.node;if(n.descr.exportType==="Func"){var s=n.descr.id;var o=s.value;var r=t.find(function(e){return e.index===o});if(r){n.descr.id=i.identifier(r.name)}}}),ModuleImport:function(e){function ModuleImport(t){return e.apply(this,arguments)}ModuleImport.toString=function(){return e.toString()};return ModuleImport}(function(e){var n=e.node;if(n.descr.type==="FuncImportDescr"){var s=n.descr.id;var o=Number(s.replace("func_",""));var r=t.find(function(e){return e.index===o});if(r){n.descr.id=i.identifier(r.name)}}}),CallInstruction:function(e){function CallInstruction(t){return e.apply(this,arguments)}CallInstruction.toString=function(){return e.toString()};return CallInstruction}(function(e){var n=e.node;var s=n.index.value;var o=t.find(function(e){return e.index===s});if(o){var r=n.index;n.index=i.identifier(o.name);n.numeric=r;delete n.raw}})})}function restoreLocalNames(e){var t=[];i.traverse(e,{LocalNameMetadata:function LocalNameMetadata(e){var n=e.node;t.push({name:n.value,localIndex:n.localIndex,functionIndex:n.functionIndex})}});if(t.length===0){return}i.traverse(e,{Func:function(e){function Func(t){return e.apply(this,arguments)}Func.toString=function(){return e.toString()};return Func}(function(e){var n=e.node;var s=n.signature;if(s.type!=="Signature"){return}var i=n.name;var o=i.value;var r=Number(o.replace("func_",""));s.params.forEach(function(e,n){var s=t.find(function(e){return e.localIndex===n&&e.functionIndex===r});if(s&&s.name!==""){e.id=s.name}})})})}function restoreModuleName(e){i.traverse(e,{ModuleNameMetadata:function(e){function ModuleNameMetadata(t){return e.apply(this,arguments)}ModuleNameMetadata.toString=function(){return e.toString()};return ModuleNameMetadata}(function(t){i.traverse(e,{Module:function(e){function Module(t){return e.apply(this,arguments)}Module.toString=function(){return e.toString()};return Module}(function(e){var n=e.node;var s=t.node.value;if(s===""){s=null}n.id=s})})})})}function decode(e,t){var n=Object.assign({},o,t);var i=s.decode(e,n);if(n.ignoreCustomNameSection===false){restoreFunctionNames(i);restoreLocalNames(i);restoreModuleName(i)}return i}},94752:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parse=parse;var s=n(52949);var i=_interopRequireWildcard(n(3240));var o=n(77579);var r=n(58161);var a=n(7926);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n)){var s=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};if(s.get||s.set){Object.defineProperty(t,n,s)}else{t[n]=e[n]}}}}t.default=e;return t}}function _typeof(e){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(e){return typeof e}}else{_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0){return i.table(r,n,e,o)}else{return i.table(r,n,e)}}function parseImport(){if(l.type!==a.tokens.string){throw new Error("Expected a string, "+l.type+" given.")}var e=l.value;eatToken();if(l.type!==a.tokens.string){throw new Error("Expected a string, "+l.type+" given.")}var n=l.value;eatToken();eatTokenOfType(a.tokens.openParen);var o;if(isKeyword(l,a.keywords.func)){eatToken();var r=[];var u=[];var d;var p=i.identifier(c("func"));if(l.type===a.tokens.identifier){p=identifierFromToken(l);eatToken()}while(l.type===a.tokens.openParen){eatToken();if(lookaheadAndCheck(a.keywords.type)===true){eatToken();d=parseTypeReference()}else if(lookaheadAndCheck(a.keywords.param)===true){eatToken();r.push.apply(r,_toConsumableArray(parseFuncParam()))}else if(lookaheadAndCheck(a.keywords.result)===true){eatToken();u.push.apply(u,_toConsumableArray(parseFuncResult()))}else{throw function(){return new Error("\n"+(0,s.codeFrameFromSource)(t,l.loc)+"\n"+"Unexpected token in import of type"+", given "+tokenToString(l))}()}eatTokenOfType(a.tokens.closeParen)}if(typeof p==="undefined"){throw new Error("Imported function must have a name")}o=i.funcImportDescr(p,d!==undefined?d:i.signature(r,u))}else if(isKeyword(l,a.keywords.global)){eatToken();if(l.type===a.tokens.openParen){eatToken();eatTokenOfType(a.tokens.keyword);var h=l.value;eatToken();o=i.globalType(h,"var");eatTokenOfType(a.tokens.closeParen)}else{var f=l.value;eatTokenOfType(a.tokens.valtype);o=i.globalType(f,"const")}}else if(isKeyword(l,a.keywords.memory)===true){eatToken();o=parseMemory()}else if(isKeyword(l,a.keywords.table)===true){eatToken();o=parseTable()}else{throw new Error("Unsupported import type: "+tokenToString(l))}eatTokenOfType(a.tokens.closeParen);return i.moduleImport(e,n,o)}function parseBlock(){var e=i.identifier(c("block"));var n=null;var o=[];if(l.type===a.tokens.identifier){e=identifierFromToken(l);eatToken()}else{e=i.withRaw(e,"")}while(l.type===a.tokens.openParen){eatToken();if(lookaheadAndCheck(a.keywords.result)===true){eatToken();n=l.value;eatToken()}else if(lookaheadAndCheck(a.tokens.name)===true||lookaheadAndCheck(a.tokens.valtype)===true||l.type==="keyword"){o.push(parseFuncInstr())}else{throw function(){return new Error("\n"+(0,s.codeFrameFromSource)(t,l.loc)+"\n"+"Unexpected token in block body of type"+", given "+tokenToString(l))}()}maybeIgnoreComment();eatTokenOfType(a.tokens.closeParen)}return i.blockInstruction(e,o,n)}function parseIf(){var e=null;var n=i.identifier(c("if"));var o=[];var r=[];var u=[];if(l.type===a.tokens.identifier){n=identifierFromToken(l);eatToken()}else{n=i.withRaw(n,"")}while(l.type===a.tokens.openParen){eatToken();if(isKeyword(l,a.keywords.result)===true){eatToken();e=l.value;eatTokenOfType(a.tokens.valtype);eatTokenOfType(a.tokens.closeParen);continue}if(isKeyword(l,a.keywords.then)===true){eatToken();while(l.type===a.tokens.openParen){eatToken();if(lookaheadAndCheck(a.tokens.name)===true||lookaheadAndCheck(a.tokens.valtype)===true||l.type==="keyword"){r.push(parseFuncInstr())}else{throw function(){return new Error("\n"+(0,s.codeFrameFromSource)(t,l.loc)+"\n"+"Unexpected token in consequent body of type"+", given "+tokenToString(l))}()}eatTokenOfType(a.tokens.closeParen)}eatTokenOfType(a.tokens.closeParen);continue}if(isKeyword(l,a.keywords.else)){eatToken();while(l.type===a.tokens.openParen){eatToken();if(lookaheadAndCheck(a.tokens.name)===true||lookaheadAndCheck(a.tokens.valtype)===true||l.type==="keyword"){u.push(parseFuncInstr())}else{throw function(){return new Error("\n"+(0,s.codeFrameFromSource)(t,l.loc)+"\n"+"Unexpected token in alternate body of type"+", given "+tokenToString(l))}()}eatTokenOfType(a.tokens.closeParen)}eatTokenOfType(a.tokens.closeParen);continue}if(lookaheadAndCheck(a.tokens.name)===true||lookaheadAndCheck(a.tokens.valtype)===true||l.type==="keyword"){o.push(parseFuncInstr());eatTokenOfType(a.tokens.closeParen);continue}throw function(){return new Error("\n"+(0,s.codeFrameFromSource)(t,l.loc)+"\n"+"Unexpected token in if body"+", given "+tokenToString(l))}()}return i.ifInstruction(n,o,e,r,u)}function parseLoop(){var e=i.identifier(c("loop"));var n;var o=[];if(l.type===a.tokens.identifier){e=identifierFromToken(l);eatToken()}else{e=i.withRaw(e,"")}while(l.type===a.tokens.openParen){eatToken();if(lookaheadAndCheck(a.keywords.result)===true){eatToken();n=l.value;eatToken()}else if(lookaheadAndCheck(a.tokens.name)===true||lookaheadAndCheck(a.tokens.valtype)===true||l.type==="keyword"){o.push(parseFuncInstr())}else{throw function(){return new Error("\n"+(0,s.codeFrameFromSource)(t,l.loc)+"\n"+"Unexpected token in loop body"+", given "+tokenToString(l))}()}eatTokenOfType(a.tokens.closeParen)}return i.loopInstruction(e,n,o)}function parseCallIndirect(){var e;var t=[];var n=[];var s=[];while(l.type!==a.tokens.closeParen){if(lookaheadAndCheck(a.tokens.openParen,a.keywords.type)){eatToken();eatToken();e=parseTypeReference()}else if(lookaheadAndCheck(a.tokens.openParen,a.keywords.param)){eatToken();eatToken();if(l.type!==a.tokens.closeParen){t.push.apply(t,_toConsumableArray(parseFuncParam()))}}else if(lookaheadAndCheck(a.tokens.openParen,a.keywords.result)){eatToken();eatToken();if(l.type!==a.tokens.closeParen){n.push.apply(n,_toConsumableArray(parseFuncResult()))}}else{eatTokenOfType(a.tokens.openParen);s.push(parseFuncInstr())}eatTokenOfType(a.tokens.closeParen)}return i.callIndirectInstruction(e!==undefined?e:i.signature(t,n),s)}function parseExport(){if(l.type!==a.tokens.string){throw new Error("Expected string after export, got: "+l.type)}var e=l.value;eatToken();var t=parseModuleExportDescr();return i.moduleExport(e,t)}function parseModuleExportDescr(){var e=getStartLoc();var t="";var n;eatTokenOfType(a.tokens.openParen);while(l.type!==a.tokens.closeParen){if(isKeyword(l,a.keywords.func)){t="Func";eatToken();n=parseExportIndex(l)}else if(isKeyword(l,a.keywords.table)){t="Table";eatToken();n=parseExportIndex(l)}else if(isKeyword(l,a.keywords.global)){t="Global";eatToken();n=parseExportIndex(l)}else if(isKeyword(l,a.keywords.memory)){t="Memory";eatToken();n=parseExportIndex(l)}eatToken()}if(t===""){throw new Error("Unknown export type")}if(n===undefined){throw new Error("Exported function must have a name")}var s=i.moduleExportDescr(t,n);var o=getEndLoc();eatTokenOfType(a.tokens.closeParen);return i.withLoc(s,o,e)}function parseModule(){var t=null;var s=false;var o=false;var r=[];if(l.type===a.tokens.identifier){t=l.value;eatToken()}if(hasPlugin("wast")&&l.type===a.tokens.name&&l.value==="binary"){eatToken();s=true}if(hasPlugin("wast")&&l.type===a.tokens.name&&l.value==="quote"){eatToken();o=true}if(s===true){var c=[];while(l.type===a.tokens.string){c.push(l.value);eatToken();maybeIgnoreComment()}eatTokenOfType(a.tokens.closeParen);return i.binaryModule(t,c)}if(o===true){var d=[];while(l.type===a.tokens.string){d.push(l.value);eatToken()}eatTokenOfType(a.tokens.closeParen);return i.quoteModule(t,d)}while(l.type!==a.tokens.closeParen){r.push(walk());if(u.registredExportedElements.length>0){u.registredExportedElements.forEach(function(e){r.push(i.moduleExport(e.name,i.moduleExportDescr(e.exportType,e.id)))});u.registredExportedElements=[]}l=e[n]}eatTokenOfType(a.tokens.closeParen);return i.module(t,r)}function parseFuncInstrArguments(e){var n=[];var o={};var r=0;while(l.type===a.tokens.name||isKeyword(l,a.keywords.offset)){var c=l.value;eatToken();eatTokenOfType(a.tokens.equal);var u=void 0;if(l.type===a.tokens.number){u=i.numberLiteralFromRaw(l.value)}else{throw new Error("Unexpected type for argument: "+l.type)}o[c]=u;eatToken()}var d=e.vector?Infinity:e.length;while(l.type!==a.tokens.closeParen&&(l.type===a.tokens.openParen||r0){return i.callInstruction(f,m)}else{return i.callInstruction(f)}}else if(isKeyword(l,a.keywords.if)){eatToken();return parseIf()}else if(isKeyword(l,a.keywords.module)&&hasPlugin("wast")){eatToken();var g=parseModule();return g}else{throw function(){return new Error("\n"+(0,s.codeFrameFromSource)(t,l.loc)+"\n"+"Unexpected instruction in function body"+", given "+tokenToString(l))}()}}function parseFunc(){var e=i.identifier(c("func"));var n;var o=[];var r=[];var u=[];if(l.type===a.tokens.identifier){e=identifierFromToken(l);eatToken()}else{e=i.withRaw(e,"")}maybeIgnoreComment();while(l.type===a.tokens.openParen||l.type===a.tokens.name||l.type===a.tokens.valtype){if(l.type===a.tokens.name||l.type===a.tokens.valtype){o.push(parseFuncInstr());continue}eatToken();if(lookaheadAndCheck(a.keywords.param)===true){eatToken();r.push.apply(r,_toConsumableArray(parseFuncParam()))}else if(lookaheadAndCheck(a.keywords.result)===true){eatToken();u.push.apply(u,_toConsumableArray(parseFuncResult()))}else if(lookaheadAndCheck(a.keywords.export)===true){eatToken();parseFuncExport(e)}else if(lookaheadAndCheck(a.keywords.type)===true){eatToken();n=parseTypeReference()}else if(lookaheadAndCheck(a.tokens.name)===true||lookaheadAndCheck(a.tokens.valtype)===true||l.type==="keyword"){o.push(parseFuncInstr())}else{throw function(){return new Error("\n"+(0,s.codeFrameFromSource)(t,l.loc)+"\n"+"Unexpected token in func body"+", given "+tokenToString(l))}()}eatTokenOfType(a.tokens.closeParen)}return i.func(e,n!==undefined?n:i.signature(r,u),o)}function parseFuncExport(e){if(l.type!==a.tokens.string){throw function(){return new Error("\n"+(0,s.codeFrameFromSource)(t,l.loc)+"\n"+"Function export expected a string"+", given "+tokenToString(l))}()}var n=l.value;eatToken();var o=i.identifier(e.value);u.registredExportedElements.push({exportType:"Func",name:n,id:o})}function parseType(){var e;var t=[];var n=[];if(l.type===a.tokens.identifier){e=identifierFromToken(l);eatToken()}if(lookaheadAndCheck(a.tokens.openParen,a.keywords.func)){eatToken();eatToken();if(l.type===a.tokens.closeParen){eatToken();return i.typeInstruction(e,i.signature([],[]))}if(lookaheadAndCheck(a.tokens.openParen,a.keywords.param)){eatToken();eatToken();t=parseFuncParam();eatTokenOfType(a.tokens.closeParen)}if(lookaheadAndCheck(a.tokens.openParen,a.keywords.result)){eatToken();eatToken();n=parseFuncResult();eatTokenOfType(a.tokens.closeParen)}eatTokenOfType(a.tokens.closeParen)}return i.typeInstruction(e,i.signature(t,n))}function parseFuncResult(){var e=[];while(l.type!==a.tokens.closeParen){if(l.type!==a.tokens.valtype){throw function(){return new Error("\n"+(0,s.codeFrameFromSource)(t,l.loc)+"\n"+"Unexpected token in func result"+", given "+tokenToString(l))}()}var n=l.value;eatToken();e.push(n)}return e}function parseTypeReference(){var e;if(l.type===a.tokens.identifier){e=identifierFromToken(l);eatToken()}else if(l.type===a.tokens.number){e=i.numberLiteralFromRaw(l.value);eatToken()}return e}function parseGlobal(){var e=i.identifier(c("global"));var n;var o=null;maybeIgnoreComment();if(l.type===a.tokens.identifier){e=identifierFromToken(l);eatToken()}else{e=i.withRaw(e,"")}if(lookaheadAndCheck(a.tokens.openParen,a.keywords.export)){eatToken();eatToken();var r=l.value;eatTokenOfType(a.tokens.string);u.registredExportedElements.push({exportType:"Global",name:r,id:e});eatTokenOfType(a.tokens.closeParen)}if(lookaheadAndCheck(a.tokens.openParen,a.keywords.import)){eatToken();eatToken();var d=l.value;eatTokenOfType(a.tokens.string);var p=l.value;eatTokenOfType(a.tokens.string);o={module:d,name:p,descr:undefined};eatTokenOfType(a.tokens.closeParen)}if(l.type===a.tokens.valtype){n=i.globalType(l.value,"const");eatToken()}else if(l.type===a.tokens.openParen){eatToken();if(isKeyword(l,a.keywords.mut)===false){throw function(){return new Error("\n"+(0,s.codeFrameFromSource)(t,l.loc)+"\n"+"Unsupported global type, expected mut"+", given "+tokenToString(l))}()}eatToken();n=i.globalType(l.value,"var");eatToken();eatTokenOfType(a.tokens.closeParen)}if(n===undefined){throw function(){return new Error("\n"+(0,s.codeFrameFromSource)(t,l.loc)+"\n"+"Could not determine global type"+", given "+tokenToString(l))}()}maybeIgnoreComment();var h=[];if(o!=null){o.descr=n;h.push(i.moduleImport(o.module,o.name,o.descr))}while(l.type===a.tokens.openParen){eatToken();h.push(parseFuncInstr());eatTokenOfType(a.tokens.closeParen)}return i.global(n,h,e)}function parseFuncParam(){var e=[];var t;var n;if(l.type===a.tokens.identifier){t=l.value;eatToken()}if(l.type===a.tokens.valtype){n=l.value;eatToken();e.push({id:t,valtype:n});if(t===undefined){while(l.type===a.tokens.valtype){n=l.value;eatToken();e.push({id:undefined,valtype:n})}}}else{}return e}function parseElem(){var e=i.indexLiteral(0);var n=[];var o=[];if(l.type===a.tokens.identifier){e=identifierFromToken(l);eatToken()}if(l.type===a.tokens.number){e=i.indexLiteral(l.value);eatToken()}while(l.type!==a.tokens.closeParen){if(lookaheadAndCheck(a.tokens.openParen,a.keywords.offset)){eatToken();eatToken();while(l.type!==a.tokens.closeParen){eatTokenOfType(a.tokens.openParen);n.push(parseFuncInstr());eatTokenOfType(a.tokens.closeParen)}eatTokenOfType(a.tokens.closeParen)}else if(l.type===a.tokens.identifier){o.push(i.identifier(l.value));eatToken()}else if(l.type===a.tokens.number){o.push(i.indexLiteral(l.value));eatToken()}else if(l.type===a.tokens.openParen){eatToken();n.push(parseFuncInstr());eatTokenOfType(a.tokens.closeParen)}else{throw function(){return new Error("\n"+(0,s.codeFrameFromSource)(t,l.loc)+"\n"+"Unsupported token in elem"+", given "+tokenToString(l))}()}}return i.elem(e,n,o)}function parseStart(){if(l.type===a.tokens.identifier){var e=identifierFromToken(l);eatToken();return i.start(e)}if(l.type===a.tokens.number){var t=i.indexLiteral(l.value);eatToken();return i.start(t)}throw new Error("Unknown start, token: "+tokenToString(l))}if(l.type===a.tokens.openParen){eatToken();var d=getStartLoc();if(isKeyword(l,a.keywords.export)){eatToken();var p=parseExport();var h=getEndLoc();return i.withLoc(p,h,d)}if(isKeyword(l,a.keywords.loop)){eatToken();var f=parseLoop();var m=getEndLoc();return i.withLoc(f,m,d)}if(isKeyword(l,a.keywords.func)){eatToken();var g=parseFunc();var y=getEndLoc();maybeIgnoreComment();eatTokenOfType(a.tokens.closeParen);return i.withLoc(g,y,d)}if(isKeyword(l,a.keywords.module)){eatToken();var v=parseModule();var b=getEndLoc();return i.withLoc(v,b,d)}if(isKeyword(l,a.keywords.import)){eatToken();var k=parseImport();var w=getEndLoc();eatTokenOfType(a.tokens.closeParen);return i.withLoc(k,w,d)}if(isKeyword(l,a.keywords.block)){eatToken();var x=parseBlock();var C=getEndLoc();eatTokenOfType(a.tokens.closeParen);return i.withLoc(x,C,d)}if(isKeyword(l,a.keywords.memory)){eatToken();var M=parseMemory();var S=getEndLoc();eatTokenOfType(a.tokens.closeParen);return i.withLoc(M,S,d)}if(isKeyword(l,a.keywords.data)){eatToken();var O=parseData();var T=getEndLoc();eatTokenOfType(a.tokens.closeParen);return i.withLoc(O,T,d)}if(isKeyword(l,a.keywords.table)){eatToken();var P=parseTable();var $=getEndLoc();eatTokenOfType(a.tokens.closeParen);return i.withLoc(P,$,d)}if(isKeyword(l,a.keywords.global)){eatToken();var F=parseGlobal();var j=getEndLoc();eatTokenOfType(a.tokens.closeParen);return i.withLoc(F,j,d)}if(isKeyword(l,a.keywords.type)){eatToken();var _=parseType();var z=getEndLoc();eatTokenOfType(a.tokens.closeParen);return i.withLoc(_,z,d)}if(isKeyword(l,a.keywords.start)){eatToken();var q=parseStart();var W=getEndLoc();eatTokenOfType(a.tokens.closeParen);return i.withLoc(q,W,d)}if(isKeyword(l,a.keywords.elem)){eatToken();var A=parseElem();var G=getEndLoc();eatTokenOfType(a.tokens.closeParen);return i.withLoc(A,G,d)}var B=parseFuncInstr();var R=getEndLoc();maybeIgnoreComment();if(_typeof(B)==="object"){if(typeof l!=="undefined"){eatTokenOfType(a.tokens.closeParen)}return i.withLoc(B,R,d)}}if(l.type===a.tokens.comment){var J=getStartLoc();var V=l.opts.type==="leading"?i.leadingComment:i.blockComment;var I=V(l.value);eatToken();var D=getEndLoc();return i.withLoc(I,D,J)}throw function(){return new Error("\n"+(0,s.codeFrameFromSource)(t,l.loc)+"\n"+"Unknown token"+", given "+tokenToString(l))}()}var l=[];while(n{"use strict";Object.defineProperty(t,"__esModule",{value:true});var s={parse:true};t.parse=parse;var i=_interopRequireWildcard(n(94752));var o=n(7926);var r=n(77579);Object.keys(r).forEach(function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(s,e))return;Object.defineProperty(t,e,{enumerable:true,get:function get(){return r[e]}})});function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var n in e){if(Object.prototype.hasOwnProperty.call(e,n)){var s=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};if(s.get||s.set){Object.defineProperty(t,n,s)}else{t[n]=e[n]}}}}t.default=e;return t}}function parse(e){var t=(0,o.tokenize)(e);var n=i.parse(t,e);return n}},77579:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parse32F=parse32F;t.parse64F=parse64F;t.parse32I=parse32I;t.parseU32=parseU32;t.parse64I=parse64I;t.isInfLiteral=isInfLiteral;t.isNanLiteral=isNanLiteral;var s=_interopRequireDefault(n(60667));var i=_interopRequireDefault(n(70196));var o=n(78498);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function parse32F(e){if(isHexLiteral(e)){return(0,i.default)(e)}if(isInfLiteral(e)){return e[0]==="-"?-1:1}if(isNanLiteral(e)){return(e[0]==="-"?-1:1)*(e.includes(":")?parseInt(e.substring(e.indexOf(":")+1),16):4194304)}return parseFloat(e)}function parse64F(e){if(isHexLiteral(e)){return(0,i.default)(e)}if(isInfLiteral(e)){return e[0]==="-"?-1:1}if(isNanLiteral(e)){return(e[0]==="-"?-1:1)*(e.includes(":")?parseInt(e.substring(e.indexOf(":")+1),16):0x8000000000000)}if(isHexLiteral(e)){return(0,i.default)(e)}return parseFloat(e)}function parse32I(e){var t=0;if(isHexLiteral(e)){t=~~parseInt(e,16)}else if(isDecimalExponentLiteral(e)){throw new Error("This number literal format is yet to be implemented.")}else{t=parseInt(e,10)}return t}function parseU32(e){var t=parse32I(e);if(t<0){throw new o.CompileError("Illegal value for u32: "+e)}return t}function parse64I(e){var t;if(isHexLiteral(e)){t=s.default.fromString(e,false,16)}else if(isDecimalExponentLiteral(e)){throw new Error("This number literal format is yet to be implemented.")}else{t=s.default.fromString(e)}return{high:t.high,low:t.low}}var r=/^\+?-?nan/;var a=/^\+?-?inf/;function isInfLiteral(e){return a.test(e.toLowerCase())}function isNanLiteral(e){return r.test(e.toLowerCase())}function isDecimalExponentLiteral(e){return!isHexLiteral(e)&&e.toUpperCase().includes("E")}function isHexLiteral(e){return e.substring(0,2).toUpperCase()==="0X"||e.substring(0,3).toUpperCase()==="-0X"}},58161:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parseString=parseString;var n=[0,7,8,9,10,11,12,13,26,27,127];function decodeControlCharacter(e){switch(e){case"t":return 9;case"n":return 10;case"r":return 13;case'"':return 34;case"′":return 39;case"\\":return 92}return-1}var s=92;var i=34;function parseString(e){var t=[];var o=0;while(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.tokenize=tokenize;t.tokens=t.keywords=void 0;var s=n(98677);var i=n(52949);function getCodeFrame(e,t,n){var s={start:{line:t,column:n}};return"\n"+(0,i.codeFrameFromSource)(e,s)+"\n"}var o=/\s/;var r=/\(|\)/;var a=/[a-z0-9_/]/i;var c=/[a-z0-9!#$%&*+./:<=>?@\\[\]^_`|~-]/i;var u=["i32","i64","f32","f64"];var l=/[0-9|.|_]/;var d=/nan|inf/;function isNewLine(e){return e.charCodeAt(0)===10||e.charCodeAt(0)===13}function Token(e,t,n,s){var i=arguments.length>4&&arguments[4]!==undefined?arguments[4]:{};var o={type:e,value:t,loc:{start:n,end:s}};if(Object.keys(i).length>0){o["opts"]=i}return o}var p={openParen:"openParen",closeParen:"closeParen",number:"number",string:"string",name:"name",identifier:"identifier",valtype:"valtype",dot:"dot",comment:"comment",equal:"equal",keyword:"keyword"};var h={module:"module",func:"func",param:"param",result:"result",export:"export",loop:"loop",block:"block",if:"if",then:"then",else:"else",call:"call",call_indirect:"call_indirect",import:"import",memory:"memory",table:"table",global:"global",anyfunc:"anyfunc",mut:"mut",data:"data",type:"type",elem:"elem",start:"start",offset:"offset"};t.keywords=h;var f="_";var m=new s.FSM({START:[(0,s.makeTransition)(/-|\+/,"AFTER_SIGN"),(0,s.makeTransition)(/nan:0x/,"NAN_HEX",{n:6}),(0,s.makeTransition)(/nan|inf/,"STOP",{n:3}),(0,s.makeTransition)(/0x/,"HEX",{n:2}),(0,s.makeTransition)(/[0-9]/,"DEC"),(0,s.makeTransition)(/\./,"DEC_FRAC")],AFTER_SIGN:[(0,s.makeTransition)(/nan:0x/,"NAN_HEX",{n:6}),(0,s.makeTransition)(/nan|inf/,"STOP",{n:3}),(0,s.makeTransition)(/0x/,"HEX",{n:2}),(0,s.makeTransition)(/[0-9]/,"DEC"),(0,s.makeTransition)(/\./,"DEC_FRAC")],DEC_FRAC:[(0,s.makeTransition)(/[0-9]/,"DEC_FRAC",{allowedSeparator:f}),(0,s.makeTransition)(/e|E/,"DEC_SIGNED_EXP")],DEC:[(0,s.makeTransition)(/[0-9]/,"DEC",{allowedSeparator:f}),(0,s.makeTransition)(/\./,"DEC_FRAC"),(0,s.makeTransition)(/e|E/,"DEC_SIGNED_EXP")],DEC_SIGNED_EXP:[(0,s.makeTransition)(/\+|-/,"DEC_EXP"),(0,s.makeTransition)(/[0-9]/,"DEC_EXP")],DEC_EXP:[(0,s.makeTransition)(/[0-9]/,"DEC_EXP",{allowedSeparator:f})],HEX:[(0,s.makeTransition)(/[0-9|A-F|a-f]/,"HEX",{allowedSeparator:f}),(0,s.makeTransition)(/\./,"HEX_FRAC"),(0,s.makeTransition)(/p|P/,"HEX_SIGNED_EXP")],HEX_FRAC:[(0,s.makeTransition)(/[0-9|A-F|a-f]/,"HEX_FRAC",{allowedSeparator:f}),(0,s.makeTransition)(/p|P|/,"HEX_SIGNED_EXP")],HEX_SIGNED_EXP:[(0,s.makeTransition)(/[0-9|+|-]/,"HEX_EXP")],HEX_EXP:[(0,s.makeTransition)(/[0-9]/,"HEX_EXP",{allowedSeparator:f})],NAN_HEX:[(0,s.makeTransition)(/[0-9|A-F|a-f]/,"NAN_HEX",{allowedSeparator:f})],STOP:[]},"START","STOP");function tokenize(e){var t=0;var n=e[t];var s=1;var i=1;var f=[];function pushToken(e){return function(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var o=n.startColumn||s-String(t).length;delete n.startColumn;var r=n.endColumn||o+String(t).length-1;delete n.endColumn;var a={line:i,column:o};var c={line:i,column:r};f.push(Token(e,t,a,c,n))}}var g=pushToken(p.closeParen);var y=pushToken(p.openParen);var v=pushToken(p.number);var b=pushToken(p.valtype);var k=pushToken(p.name);var w=pushToken(p.identifier);var x=pushToken(p.keyword);var C=pushToken(p.dot);var M=pushToken(p.string);var S=pushToken(p.comment);var O=pushToken(p.equal);function lookahead(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:1;var s=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1;return e.substring(t+s,t+s+n).toLowerCase()}function eatCharacter(){var i=arguments.length>0&&arguments[0]!==undefined?arguments[0]:1;s+=i;t+=i;n=e[t]}while(t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.print=print;var s=n(3240);var i=_interopRequireDefault(n(60667));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _typeof(e){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(e){return typeof e}}else{_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}function _sliceIterator(e,t){var n=[];var s=true;var i=false;var o=undefined;try{for(var r=e[Symbol.iterator](),a;!(s=(a=r.next()).done);s=true){n.push(a.value);if(t&&n.length===t)break}}catch(e){i=true;o=e}finally{try{if(!s&&r["return"]!=null)r["return"]()}finally{if(i)throw o}}return n}function _slicedToArray(e,t){if(Array.isArray(e)){return e}else if(Symbol.iterator in Object(e)){return _sliceIterator(e,t)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}var o=false;var r=" ";var a=function quote(e){return'"'.concat(e,'"')};function indent(e){return Array(e).fill(r+r).join("")}function print(e){if(e.type==="Program"){return printProgram(e,0)}else{throw new Error("Unsupported node in print of type: "+String(e.type))}}function printProgram(e,t){return e.body.reduce(function(e,n){if(n.type==="Module"){e+=printModule(n,t+1)}if(n.type==="Func"){e+=printFunc(n,t+1)}if(n.type==="BlockComment"){e+=printBlockComment(n)}if(n.type==="LeadingComment"){e+=printLeadingComment(n)}if(o===false){e+="\n"}return e},"")}function printTypeInstruction(e){var t="";t+="(";t+="type";t+=r;if(e.id!=null){t+=printIndex(e.id);t+=r}t+="(";t+="func";e.functype.params.forEach(function(e){t+=r;t+="(";t+="param";t+=r;t+=printFuncParam(e);t+=")"});e.functype.results.forEach(function(e){t+=r;t+="(";t+="result";t+=r;t+=e;t+=")"});t+=")";t+=")";return t}function printModule(e,t){var n="(";n+="module";if(typeof e.id==="string"){n+=r;n+=e.id}if(o===false){n+="\n"}else{n+=r}e.fields.forEach(function(e){if(o===false){n+=indent(t)}switch(e.type){case"Func":{n+=printFunc(e,t+1);break}case"TypeInstruction":{n+=printTypeInstruction(e);break}case"Table":{n+=printTable(e);break}case"Global":{n+=printGlobal(e,t+1);break}case"ModuleExport":{n+=printModuleExport(e);break}case"ModuleImport":{n+=printModuleImport(e);break}case"Memory":{n+=printMemory(e);break}case"BlockComment":{n+=printBlockComment(e);break}case"LeadingComment":{n+=printLeadingComment(e);break}case"Start":{n+=printStart(e);break}case"Elem":{n+=printElem(e,t);break}case"Data":{n+=printData(e,t);break}default:throw new Error("Unsupported node in printModule: "+String(e.type))}if(o===false){n+="\n"}});n+=")";return n}function printData(e,t){var n="";n+="(";n+="data";n+=r;n+=printIndex(e.memoryIndex);n+=r;n+=printInstruction(e.offset,t);n+=r;n+='"';e.init.values.forEach(function(e){if(e<=31||e==34||e==92||e>=127){n+="\\";n+=("00"+e.toString(16)).substr(-2)}else if(e>255){throw new Error("Unsupported byte in data segment: "+e)}else{n+=String.fromCharCode(e)}});n+='"';n+=")";return n}function printElem(e,t){var n="";n+="(";n+="elem";n+=r;n+=printIndex(e.table);var s=_slicedToArray(e.offset,1),i=s[0];n+=r;n+="(";n+="offset";n+=r;n+=printInstruction(i,t);n+=")";e.funcs.forEach(function(e){n+=r;n+=printIndex(e)});n+=")";return n}function printStart(e){var t="";t+="(";t+="start";t+=r;t+=printIndex(e.index);t+=")";return t}function printLeadingComment(e){if(o===true){return""}var t="";t+=";;";t+=e.value;t+="\n";return t}function printBlockComment(e){if(o===true){return""}var t="";t+="(;";t+=e.value;t+=";)";t+="\n";return t}function printSignature(e){var t="";e.params.forEach(function(e){t+=r;t+="(";t+="param";t+=r;t+=printFuncParam(e);t+=")"});e.results.forEach(function(e){t+=r;t+="(";t+="result";t+=r;t+=e;t+=")"});return t}function printModuleImportDescr(e){var t="";if(e.type==="FuncImportDescr"){t+="(";t+="func";if((0,s.isAnonymous)(e.id)===false){t+=r;t+=printIdentifier(e.id)}t+=printSignature(e.signature);t+=")"}if(e.type==="GlobalType"){t+="(";t+="global";t+=r;t+=printGlobalType(e);t+=")"}if(e.type==="Table"){t+=printTable(e)}return t}function printModuleImport(e){var t="";t+="(";t+="import";t+=r;t+=a(e.module);t+=r;t+=a(e.name);t+=r;t+=printModuleImportDescr(e.descr);t+=")";return t}function printGlobalType(e){var t="";if(e.mutability==="var"){t+="(";t+="mut";t+=r;t+=e.valtype;t+=")"}else{t+=e.valtype}return t}function printGlobal(e,t){var n="";n+="(";n+="global";n+=r;if(e.name!=null&&(0,s.isAnonymous)(e.name)===false){n+=printIdentifier(e.name);n+=r}n+=printGlobalType(e.globalType);n+=r;e.init.forEach(function(e){n+=printInstruction(e,t+1)});n+=")";return n}function printTable(e){var t="";t+="(";t+="table";t+=r;if(e.name!=null&&(0,s.isAnonymous)(e.name)===false){t+=printIdentifier(e.name);t+=r}t+=printLimit(e.limits);t+=r;t+=e.elementType;t+=")";return t}function printFuncParam(e){var t="";if(typeof e.id==="string"){t+="$"+e.id;t+=r}t+=e.valtype;return t}function printFunc(e,t){var n="";n+="(";n+="func";if(e.name!=null){if(e.name.type==="Identifier"&&(0,s.isAnonymous)(e.name)===false){n+=r;n+=printIdentifier(e.name)}}if(e.signature.type==="Signature"){n+=printSignature(e.signature)}else{var i=e.signature;n+=r;n+="(";n+="type";n+=r;n+=printIndex(i);n+=")"}if(e.body.length>0){if(e.body.length===1&&e.body[0].id==="end"){n+=")";return n}if(o===false){n+="\n"}e.body.forEach(function(e){if(e.id!=="end"){n+=indent(t);n+=printInstruction(e,t);if(o===false){n+="\n"}}});n+=indent(t-1)+")"}else{n+=")"}return n}function printInstruction(e,t){switch(e.type){case"Instr":return printGenericInstruction(e,t+1);case"BlockInstruction":return printBlockInstruction(e,t+1);case"IfInstruction":return printIfInstruction(e,t+1);case"CallInstruction":return printCallInstruction(e,t+1);case"CallIndirectInstruction":return printCallIndirectIntruction(e,t+1);case"LoopInstruction":return printLoopInstruction(e,t+1);default:throw new Error("Unsupported instruction: "+JSON.stringify(e.type))}}function printCallIndirectIntruction(e,t){var n="";n+="(";n+="call_indirect";if(e.signature.type==="Signature"){n+=printSignature(e.signature)}else if(e.signature.type==="Identifier"){n+=r;n+="(";n+="type";n+=r;n+=printIdentifier(e.signature);n+=")"}else{throw new Error("CallIndirectInstruction: unsupported signature "+JSON.stringify(e.signature.type))}n+=r;if(e.intrs!=null){e.intrs.forEach(function(s,i){n+=printInstruction(s,t+1);if(i!==e.intrs.length-1){n+=r}})}n+=")";return n}function printLoopInstruction(e,t){var n="";n+="(";n+="loop";if(e.label!=null&&(0,s.isAnonymous)(e.label)===false){n+=r;n+=printIdentifier(e.label)}if(typeof e.resulttype==="string"){n+=r;n+="(";n+="result";n+=r;n+=e.resulttype;n+=")"}if(e.instr.length>0){e.instr.forEach(function(e){if(o===false){n+="\n"}n+=indent(t);n+=printInstruction(e,t+1)});if(o===false){n+="\n";n+=indent(t-1)}}n+=")";return n}function printCallInstruction(e,t){var n="";n+="(";n+="call";n+=r;n+=printIndex(e.index);if(_typeof(e.instrArgs)==="object"){e.instrArgs.forEach(function(e){n+=r;n+=printFuncInstructionArg(e,t+1)})}n+=")";return n}function printIfInstruction(e,t){var n="";n+="(";n+="if";if(e.testLabel!=null&&(0,s.isAnonymous)(e.testLabel)===false){n+=r;n+=printIdentifier(e.testLabel)}if(typeof e.result==="string"){n+=r;n+="(";n+="result";n+=r;n+=e.result;n+=")"}if(e.test.length>0){n+=r;e.test.forEach(function(e){n+=printInstruction(e,t+1)})}if(e.consequent.length>0){if(o===false){n+="\n"}n+=indent(t);n+="(";n+="then";t++;e.consequent.forEach(function(e){if(o===false){n+="\n"}n+=indent(t);n+=printInstruction(e,t+1)});t--;if(o===false){n+="\n";n+=indent(t)}n+=")"}else{if(o===false){n+="\n";n+=indent(t)}n+="(";n+="then";n+=")"}if(e.alternate.length>0){if(o===false){n+="\n"}n+=indent(t);n+="(";n+="else";t++;e.alternate.forEach(function(e){if(o===false){n+="\n"}n+=indent(t);n+=printInstruction(e,t+1)});t--;if(o===false){n+="\n";n+=indent(t)}n+=")"}else{if(o===false){n+="\n";n+=indent(t)}n+="(";n+="else";n+=")"}if(o===false){n+="\n";n+=indent(t-1)}n+=")";return n}function printBlockInstruction(e,t){var n="";n+="(";n+="block";if(e.label!=null&&(0,s.isAnonymous)(e.label)===false){n+=r;n+=printIdentifier(e.label)}if(typeof e.result==="string"){n+=r;n+="(";n+="result";n+=r;n+=e.result;n+=")"}if(e.instr.length>0){e.instr.forEach(function(e){if(o===false){n+="\n"}n+=indent(t);n+=printInstruction(e,t+1)});if(o===false){n+="\n"}n+=indent(t-1);n+=")"}else{n+=")"}return n}function printGenericInstruction(e,t){var n="";n+="(";if(typeof e.object==="string"){n+=e.object;n+="."}n+=e.id;e.args.forEach(function(e){n+=r;n+=printFuncInstructionArg(e,t+1)});n+=")";return n}function printLongNumberLiteral(e){if(typeof e.raw==="string"){return e.raw}var t=e.value,n=t.low,s=t.high;var o=new i.default(n,s);return o.toString()}function printFloatLiteral(e){if(typeof e.raw==="string"){return e.raw}return String(e.value)}function printFuncInstructionArg(e,t){var n="";if(e.type==="NumberLiteral"){n+=printNumberLiteral(e)}if(e.type==="LongNumberLiteral"){n+=printLongNumberLiteral(e)}if(e.type==="Identifier"&&(0,s.isAnonymous)(e)===false){n+=printIdentifier(e)}if(e.type==="ValtypeLiteral"){n+=e.name}if(e.type==="FloatLiteral"){n+=printFloatLiteral(e)}if((0,s.isInstruction)(e)){n+=printInstruction(e,t+1)}return n}function printNumberLiteral(e){if(typeof e.raw==="string"){return e.raw}return String(e.value)}function printModuleExport(e){var t="";t+="(";t+="export";t+=r;t+=a(e.name);if(e.descr.exportType==="Func"){t+=r;t+="(";t+="func";t+=r;t+=printIndex(e.descr.id);t+=")"}else if(e.descr.exportType==="Global"){t+=r;t+="(";t+="global";t+=r;t+=printIndex(e.descr.id);t+=")"}else if(e.descr.exportType==="Memory"||e.descr.exportType==="Mem"){t+=r;t+="(";t+="memory";t+=r;t+=printIndex(e.descr.id);t+=")"}else if(e.descr.exportType==="Table"){t+=r;t+="(";t+="table";t+=r;t+=printIndex(e.descr.id);t+=")"}else{throw new Error("printModuleExport: unknown type: "+e.descr.exportType)}t+=")";return t}function printIdentifier(e){return"$"+e.value}function printIndex(e){if(e.type==="Identifier"){return printIdentifier(e)}else if(e.type==="NumberLiteral"){return printNumberLiteral(e)}else{throw new Error("Unsupported index: "+e.type)}}function printMemory(e){var t="";t+="(";t+="memory";if(e.id!=null){t+=r;t+=printIndex(e.id);t+=r}t+=printLimit(e.limits);t+=")";return t}function printLimit(e){var t="";t+=e.min+"";if(e.max!=null){t+=r;t+=String(e.max)}return t}},1610:function(e,t){(function(e,n){true?n(t):0})(this,function(e){"use strict";var t={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"};var n="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this";var s={5:n,"5module":n+" export import",6:n+" const class extends export import super"};var i=/^in(stanceof)?$/;var o="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";var r="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";var a=new RegExp("["+o+"]");var c=new RegExp("["+o+r+"]");o=r=null;var u=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];var l=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){var n=65536;for(var s=0;se){return false}n+=t[s+1];if(n>=e){return true}}}function isIdentifierStart(e,t){if(e<65){return e===36}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&a.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,u)}function isIdentifierChar(e,t){if(e<48){return e===36}if(e<58){return true}if(e<65){return false}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&c.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,u)||isInAstralSet(e,l)}var d=function TokenType(e,t){if(t===void 0)t={};this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop||null;this.updateContext=null};function binop(e,t){return new d(e,{beforeExpr:true,binop:t})}var p={beforeExpr:true},h={startsExpr:true};var f={};function kw(e,t){if(t===void 0)t={};t.keyword=e;return f[e]=new d(e,t)}var m={num:new d("num",h),regexp:new d("regexp",h),string:new d("string",h),name:new d("name",h),eof:new d("eof"),bracketL:new d("[",{beforeExpr:true,startsExpr:true}),bracketR:new d("]"),braceL:new d("{",{beforeExpr:true,startsExpr:true}),braceR:new d("}"),parenL:new d("(",{beforeExpr:true,startsExpr:true}),parenR:new d(")"),comma:new d(",",p),semi:new d(";",p),colon:new d(":",p),dot:new d("."),question:new d("?",p),questionDot:new d("?."),arrow:new d("=>",p),template:new d("template"),invalidTemplate:new d("invalidTemplate"),ellipsis:new d("...",p),backQuote:new d("`",h),dollarBraceL:new d("${",{beforeExpr:true,startsExpr:true}),eq:new d("=",{beforeExpr:true,isAssign:true}),assign:new d("_=",{beforeExpr:true,isAssign:true}),incDec:new d("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new d("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new d("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new d("**",{beforeExpr:true}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",p),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",p),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",p),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",h),_if:kw("if"),_return:kw("return",p),_switch:kw("switch"),_throw:kw("throw",p),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",h),_super:kw("super",h),_class:kw("class",h),_extends:kw("extends",p),_export:kw("export"),_import:kw("import",h),_null:kw("null",h),_true:kw("true",h),_false:kw("false",h),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var g=/\r\n?|\n|\u2028|\u2029/;var y=new RegExp(g.source,"g");function isNewLine(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}var v=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;var b=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;var k=Object.prototype;var w=k.hasOwnProperty;var x=k.toString;function has(e,t){return w.call(e,t)}var C=Array.isArray||function(e){return x.call(e)==="[object Array]"};function wordsRegexp(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var M=function Position(e,t){this.line=e;this.column=t};M.prototype.offset=function offset(e){return new M(this.line,this.column+e)};var S=function SourceLocation(e,t,n){this.start=t;this.end=n;if(e.sourceFile!==null){this.source=e.sourceFile}};function getLineInfo(e,t){for(var n=1,s=0;;){y.lastIndex=s;var i=y.exec(e);if(i&&i.index=2015){t.ecmaVersion-=2009}if(t.allowReserved==null){t.allowReserved=t.ecmaVersion<5}if(C(t.onToken)){var s=t.onToken;t.onToken=function(e){return s.push(e)}}if(C(t.onComment)){t.onComment=pushComment(t,t.onComment)}return t}function pushComment(e,t){return function(n,s,i,o,r,a){var c={type:n?"Block":"Line",value:s,start:i,end:o};if(e.locations){c.loc=new S(this,r,a)}if(e.ranges){c.range=[i,o]}t.push(c)}}var P=1,$=2,F=P|$,j=4,_=8,z=16,q=32,W=64,A=128;function functionFlags(e,t){return $|(e?j:0)|(t?_:0)}var G=0,B=1,R=2,J=3,V=4,I=5;var D=function Parser(e,n,i){this.options=e=getOptions(e);this.sourceFile=e.sourceFile;this.keywords=wordsRegexp(s[e.ecmaVersion>=6?6:e.sourceType==="module"?"5module":5]);var o="";if(e.allowReserved!==true){o=t[e.ecmaVersion>=6?6:e.ecmaVersion===5?5:3];if(e.sourceType==="module"){o+=" await"}}this.reservedWords=wordsRegexp(o);var r=(o?o+" ":"")+t.strict;this.reservedWordsStrict=wordsRegexp(r);this.reservedWordsStrictBind=wordsRegexp(r+" "+t.strictBind);this.input=String(n);this.containsEsc=false;if(i){this.pos=i;this.lineStart=this.input.lastIndexOf("\n",i-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(g).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=m.eof;this.value=null;this.start=this.end=this.pos;this.startLoc=this.endLoc=this.curPosition();this.lastTokEndLoc=this.lastTokStartLoc=null;this.lastTokStart=this.lastTokEnd=this.pos;this.context=this.initialContext();this.exprAllowed=true;this.inModule=e.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports={};if(this.pos===0&&e.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(P);this.regexpState=null};var K={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true},inNonArrowFunction:{configurable:true}};D.prototype.parse=function parse(){var e=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(e)};K.inFunction.get=function(){return(this.currentVarScope().flags&$)>0};K.inGenerator.get=function(){return(this.currentVarScope().flags&_)>0};K.inAsync.get=function(){return(this.currentVarScope().flags&j)>0};K.allowSuper.get=function(){return(this.currentThisScope().flags&W)>0};K.allowDirectSuper.get=function(){return(this.currentThisScope().flags&A)>0};K.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};K.inNonArrowFunction.get=function(){return(this.currentThisScope().flags&$)>0};D.extend=function extend(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];var n=this;for(var s=0;s=,?^&]/.test(i)||i==="!"&&this.input.charAt(s+1)==="=")}e+=t[0].length;b.lastIndex=e;e+=b.exec(this.input)[0].length;if(this.input[e]===";"){e++}}};X.eat=function(e){if(this.type===e){this.next();return true}else{return false}};X.isContextual=function(e){return this.type===m.name&&this.value===e&&!this.containsEsc};X.eatContextual=function(e){if(!this.isContextual(e)){return false}this.next();return true};X.expectContextual=function(e){if(!this.eatContextual(e)){this.unexpected()}};X.canInsertSemicolon=function(){return this.type===m.eof||this.type===m.braceR||g.test(this.input.slice(this.lastTokEnd,this.start))};X.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};X.semicolon=function(){if(!this.eat(m.semi)&&!this.insertSemicolon()){this.unexpected()}};X.afterTrailingComma=function(e,t){if(this.type===e){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!t){this.next()}return true}};X.expect=function(e){this.eat(e)||this.unexpected()};X.unexpected=function(e){this.raise(e!=null?e:this.start,"Unexpected token")};function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}X.checkPatternErrors=function(e,t){if(!e){return}if(e.trailingComma>-1){this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element")}var n=t?e.parenthesizedAssign:e.parenthesizedBind;if(n>-1){this.raiseRecoverable(n,"Parenthesized pattern")}};X.checkExpressionErrors=function(e,t){if(!e){return false}var n=e.shorthandAssign;var s=e.doubleProto;if(!t){return n>=0||s>=0}if(n>=0){this.raise(n,"Shorthand property assignments are valid only in destructuring patterns")}if(s>=0){this.raiseRecoverable(s,"Redefinition of __proto__ property")}};X.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos=6){this.unexpected()}return this.parseFunctionStatement(i,false,!e);case m._class:if(e){this.unexpected()}return this.parseClass(i,true);case m._if:return this.parseIfStatement(i);case m._return:return this.parseReturnStatement(i);case m._switch:return this.parseSwitchStatement(i);case m._throw:return this.parseThrowStatement(i);case m._try:return this.parseTryStatement(i);case m._const:case m._var:o=o||this.value;if(e&&o!=="var"){this.unexpected()}return this.parseVarStatement(i,o);case m._while:return this.parseWhileStatement(i);case m._with:return this.parseWithStatement(i);case m.braceL:return this.parseBlock(true,i);case m.semi:return this.parseEmptyStatement(i);case m._export:case m._import:if(this.options.ecmaVersion>10&&s===m._import){b.lastIndex=this.pos;var r=b.exec(this.input);var a=this.pos+r[0].length,c=this.input.charCodeAt(a);if(c===40||c===46){return this.parseExpressionStatement(i,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!t){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return s===m._import?this.parseImport(i):this.parseExport(i,n);default:if(this.isAsyncFunction()){if(e){this.unexpected()}this.next();return this.parseFunctionStatement(i,true,!e)}var u=this.value,l=this.parseExpression();if(s===m.name&&l.type==="Identifier"&&this.eat(m.colon)){return this.parseLabeledStatement(i,u,l,e)}else{return this.parseExpressionStatement(i,l)}}};L.parseBreakContinueStatement=function(e,t){var n=t==="break";this.next();if(this.eat(m.semi)||this.insertSemicolon()){e.label=null}else if(this.type!==m.name){this.unexpected()}else{e.label=this.parseIdent();this.semicolon()}var s=0;for(;s=6){this.eat(m.semi)}else{this.semicolon()}return this.finishNode(e,"DoWhileStatement")};L.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(Q);this.enterScope(0);this.expect(m.parenL);if(this.type===m.semi){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}var n=this.isLet();if(this.type===m._var||this.type===m._const||n){var s=this.startNode(),i=n?"let":this.value;this.next();this.parseVar(s,true,i);this.finishNode(s,"VariableDeclaration");if((this.type===m._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&s.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===m._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}return this.parseForIn(e,s)}if(t>-1){this.unexpected(t)}return this.parseFor(e,s)}var o=new DestructuringErrors;var r=this.parseExpression(true,o);if(this.type===m._in||this.options.ecmaVersion>=6&&this.isContextual("of")){if(this.options.ecmaVersion>=9){if(this.type===m._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}this.toAssignable(r,false,o);this.checkLValPattern(r);return this.parseForIn(e,r)}else{this.checkExpressionErrors(o,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,r)};L.parseFunctionStatement=function(e,t,n){this.next();return this.parseFunction(e,U|(n?0:E),false,t)};L.parseIfStatement=function(e){this.next();e.test=this.parseParenExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(m._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")};L.parseReturnStatement=function(e){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(m.semi)||this.insertSemicolon()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")};L.parseSwitchStatement=function(e){this.next();e.discriminant=this.parseParenExpression();e.cases=[];this.expect(m.braceL);this.labels.push(Y);this.enterScope(0);var t;for(var n=false;this.type!==m.braceR;){if(this.type===m._case||this.type===m._default){var s=this.type===m._case;if(t){this.finishNode(t,"SwitchCase")}e.cases.push(t=this.startNode());t.consequent=[];this.next();if(s){t.test=this.parseExpression()}else{if(n){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}n=true;t.test=null}this.expect(m.colon)}else{if(!t){this.unexpected()}t.consequent.push(this.parseStatement(null))}}this.exitScope();if(t){this.finishNode(t,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(e,"SwitchStatement")};L.parseThrowStatement=function(e){this.next();if(g.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")};var H=[];L.parseTryStatement=function(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.type===m._catch){var t=this.startNode();this.next();if(this.eat(m.parenL)){t.param=this.parseBindingAtom();var n=t.param.type==="Identifier";this.enterScope(n?q:0);this.checkLValPattern(t.param,n?V:R);this.expect(m.parenR)}else{if(this.options.ecmaVersion<10){this.unexpected()}t.param=null;this.enterScope(0)}t.body=this.parseBlock(false);this.exitScope();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(m._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,"Missing catch or finally clause")}return this.finishNode(e,"TryStatement")};L.parseVarStatement=function(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")};L.parseWhileStatement=function(e){this.next();e.test=this.parseParenExpression();this.labels.push(Q);e.body=this.parseStatement("while");this.labels.pop();return this.finishNode(e,"WhileStatement")};L.parseWithStatement=function(e){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();e.object=this.parseParenExpression();e.body=this.parseStatement("with");return this.finishNode(e,"WithStatement")};L.parseEmptyStatement=function(e){this.next();return this.finishNode(e,"EmptyStatement")};L.parseLabeledStatement=function(e,t,n,s){for(var i=0,o=this.labels;i=0;c--){var u=this.labels[c];if(u.statementStart===e.start){u.statementStart=this.start;u.kind=a}else{break}}this.labels.push({name:t,kind:a,statementStart:this.start});e.body=this.parseStatement(s?s.indexOf("label")===-1?s+"label":s:"label");this.labels.pop();e.label=n;return this.finishNode(e,"LabeledStatement")};L.parseExpressionStatement=function(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")};L.parseBlock=function(e,t,n){if(e===void 0)e=true;if(t===void 0)t=this.startNode();t.body=[];this.expect(m.braceL);if(e){this.enterScope(0)}while(this.type!==m.braceR){var s=this.parseStatement(null);t.body.push(s)}if(n){this.strict=false}this.next();if(e){this.exitScope()}return this.finishNode(t,"BlockStatement")};L.parseFor=function(e,t){e.init=t;this.expect(m.semi);e.test=this.type===m.semi?null:this.parseExpression();this.expect(m.semi);e.update=this.type===m.parenR?null:this.parseExpression();this.expect(m.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,"ForStatement")};L.parseForIn=function(e,t){var n=this.type===m._in;this.next();if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!n||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,(n?"for-in":"for-of")+" loop variable declaration may not have an initializer")}e.left=t;e.right=n?this.parseExpression():this.parseMaybeAssign();this.expect(m.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,n?"ForInStatement":"ForOfStatement")};L.parseVar=function(e,t,n){e.declarations=[];e.kind=n;for(;;){var s=this.startNode();this.parseVarId(s,n);if(this.eat(m.eq)){s.init=this.parseMaybeAssign(t)}else if(n==="const"&&!(this.type===m._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if(s.id.type!=="Identifier"&&!(t&&(this.type===m._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{s.init=null}e.declarations.push(this.finishNode(s,"VariableDeclarator"));if(!this.eat(m.comma)){break}}return e};L.parseVarId=function(e,t){e.id=this.parseBindingAtom();this.checkLValPattern(e.id,t==="var"?B:R,false)};var U=1,E=2,Z=4;L.parseFunction=function(e,t,n,s){this.initFunction(e);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!s){if(this.type===m.star&&t&E){this.unexpected()}e.generator=this.eat(m.star)}if(this.options.ecmaVersion>=8){e.async=!!s}if(t&U){e.id=t&Z&&this.type!==m.name?null:this.parseIdent();if(e.id&&!(t&E)){this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?B:R:J)}}var i=this.yieldPos,o=this.awaitPos,r=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(e.async,e.generator));if(!(t&U)){e.id=this.type===m.name?this.parseIdent():null}this.parseFunctionParams(e);this.parseFunctionBody(e,n,false);this.yieldPos=i;this.awaitPos=o;this.awaitIdentPos=r;return this.finishNode(e,t&U?"FunctionDeclaration":"FunctionExpression")};L.parseFunctionParams=function(e){this.expect(m.parenL);e.params=this.parseBindingList(m.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};L.parseClass=function(e,t){this.next();var n=this.strict;this.strict=true;this.parseClassId(e,t);this.parseClassSuper(e);var s=this.startNode();var i=false;s.body=[];this.expect(m.braceL);while(this.type!==m.braceR){var o=this.parseClassElement(e.superClass!==null);if(o){s.body.push(o);if(o.type==="MethodDefinition"&&o.kind==="constructor"){if(i){this.raise(o.start,"Duplicate constructor in the same class")}i=true}}}this.strict=n;this.next();e.body=this.finishNode(s,"ClassBody");return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};L.parseClassElement=function(e){var t=this;if(this.eat(m.semi)){return null}var n=this.startNode();var s=function(e,s){if(s===void 0)s=false;var i=t.start,o=t.startLoc;if(!t.eatContextual(e)){return false}if(t.type!==m.parenL&&(!s||!t.canInsertSemicolon())){return true}if(n.key){t.unexpected()}n.computed=false;n.key=t.startNodeAt(i,o);n.key.name=e;t.finishNode(n.key,"Identifier");return false};n.kind="method";n.static=s("static");var i=this.eat(m.star);var o=false;if(!i){if(this.options.ecmaVersion>=8&&s("async",true)){o=true;i=this.options.ecmaVersion>=9&&this.eat(m.star)}else if(s("get")){n.kind="get"}else if(s("set")){n.kind="set"}}if(!n.key){this.parsePropertyName(n)}var r=n.key;var a=false;if(!n.computed&&!n.static&&(r.type==="Identifier"&&r.name==="constructor"||r.type==="Literal"&&r.value==="constructor")){if(n.kind!=="method"){this.raise(r.start,"Constructor can't have get/set modifier")}if(i){this.raise(r.start,"Constructor can't be a generator")}if(o){this.raise(r.start,"Constructor can't be an async method")}n.kind="constructor";a=e}else if(n.static&&r.type==="Identifier"&&r.name==="prototype"){this.raise(r.start,"Classes may not have a static property named prototype")}this.parseClassMethod(n,i,o,a);if(n.kind==="get"&&n.value.params.length!==0){this.raiseRecoverable(n.value.start,"getter should have no params")}if(n.kind==="set"&&n.value.params.length!==1){this.raiseRecoverable(n.value.start,"setter should have exactly one param")}if(n.kind==="set"&&n.value.params[0].type==="RestElement"){this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params")}return n};L.parseClassMethod=function(e,t,n,s){e.value=this.parseMethod(t,n,s);return this.finishNode(e,"MethodDefinition")};L.parseClassId=function(e,t){if(this.type===m.name){e.id=this.parseIdent();if(t){this.checkLValSimple(e.id,R,false)}}else{if(t===true){this.unexpected()}e.id=null}};L.parseClassSuper=function(e){e.superClass=this.eat(m._extends)?this.parseExprSubscripts():null};L.parseExport=function(e,t){this.next();if(this.eat(m.star)){if(this.options.ecmaVersion>=11){if(this.eatContextual("as")){e.exported=this.parseIdent(true);this.checkExport(t,e.exported.name,this.lastTokStart)}else{e.exported=null}}this.expectContextual("from");if(this.type!==m.string){this.unexpected()}e.source=this.parseExprAtom();this.semicolon();return this.finishNode(e,"ExportAllDeclaration")}if(this.eat(m._default)){this.checkExport(t,"default",this.lastTokStart);var n;if(this.type===m._function||(n=this.isAsyncFunction())){var s=this.startNode();this.next();if(n){this.next()}e.declaration=this.parseFunction(s,U|Z,false,n)}else if(this.type===m._class){var i=this.startNode();e.declaration=this.parseClass(i,"nullableID")}else{e.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){e.declaration=this.parseStatement(null);if(e.declaration.type==="VariableDeclaration"){this.checkVariableExport(t,e.declaration.declarations)}else{this.checkExport(t,e.declaration.id.name,e.declaration.id.start)}e.specifiers=[];e.source=null}else{e.declaration=null;e.specifiers=this.parseExportSpecifiers(t);if(this.eatContextual("from")){if(this.type!==m.string){this.unexpected()}e.source=this.parseExprAtom()}else{for(var o=0,r=e.specifiers;o=6&&e){switch(e.type){case"Identifier":if(this.inAsync&&e.name==="await"){this.raise(e.start,"Cannot use 'await' as identifier inside an async function")}break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";if(n){this.checkPatternErrors(n,true)}for(var s=0,i=e.properties;s=8&&!o&&r.name==="async"&&!this.canInsertSemicolon()&&this.eat(m._function)){return this.parseFunction(this.startNodeAt(s,i),0,false,true)}if(n&&!this.canInsertSemicolon()){if(this.eat(m.arrow)){return this.parseArrowExpression(this.startNodeAt(s,i),[r],false)}if(this.options.ecmaVersion>=8&&r.name==="async"&&this.type===m.name&&!o){r=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(m.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt(s,i),[r],true)}}return r;case m.regexp:var a=this.value;t=this.parseLiteral(a.value);t.regex={pattern:a.pattern,flags:a.flags};return t;case m.num:case m.string:return this.parseLiteral(this.value);case m._null:case m._true:case m._false:t=this.startNode();t.value=this.type===m._null?null:this.type===m._true;t.raw=this.type.keyword;this.next();return this.finishNode(t,"Literal");case m.parenL:var c=this.start,u=this.parseParenAndDistinguishExpression(n);if(e){if(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(u)){e.parenthesizedAssign=c}if(e.parenthesizedBind<0){e.parenthesizedBind=c}}return u;case m.bracketL:t=this.startNode();this.next();t.elements=this.parseExprList(m.bracketR,true,true,e);return this.finishNode(t,"ArrayExpression");case m.braceL:return this.parseObj(false,e);case m._function:t=this.startNode();this.next();return this.parseFunction(t,0);case m._class:return this.parseClass(this.startNode(),false);case m._new:return this.parseNew();case m.backQuote:return this.parseTemplate();case m._import:if(this.options.ecmaVersion>=11){return this.parseExprImport()}else{return this.unexpected()}default:this.unexpected()}};te.parseExprImport=function(){var e=this.startNode();if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword import")}var t=this.parseIdent(true);switch(this.type){case m.parenL:return this.parseDynamicImport(e);case m.dot:e.meta=t;return this.parseImportMeta(e);default:this.unexpected()}};te.parseDynamicImport=function(e){this.next();e.source=this.parseMaybeAssign();if(!this.eat(m.parenR)){var t=this.start;if(this.eat(m.comma)&&this.eat(m.parenR)){this.raiseRecoverable(t,"Trailing comma is not allowed in import()")}else{this.unexpected(t)}}return this.finishNode(e,"ImportExpression")};te.parseImportMeta=function(e){this.next();var t=this.containsEsc;e.property=this.parseIdent(true);if(e.property.name!=="meta"){this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'")}if(t){this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters")}if(this.options.sourceType!=="module"){this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module")}return this.finishNode(e,"MetaProperty")};te.parseLiteral=function(e){var t=this.startNode();t.value=e;t.raw=this.input.slice(this.start,this.end);if(t.raw.charCodeAt(t.raw.length-1)===110){t.bigint=t.raw.slice(0,-1).replace(/_/g,"")}this.next();return this.finishNode(t,"Literal")};te.parseParenExpression=function(){this.expect(m.parenL);var e=this.parseExpression();this.expect(m.parenR);return e};te.parseParenAndDistinguishExpression=function(e){var t=this.start,n=this.startLoc,s,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o=this.start,r=this.startLoc;var a=[],c=true,u=false;var l=new DestructuringErrors,d=this.yieldPos,p=this.awaitPos,h;this.yieldPos=0;this.awaitPos=0;while(this.type!==m.parenR){c?c=false:this.expect(m.comma);if(i&&this.afterTrailingComma(m.parenR,true)){u=true;break}else if(this.type===m.ellipsis){h=this.start;a.push(this.parseParenItem(this.parseRestBinding()));if(this.type===m.comma){this.raise(this.start,"Comma is not permitted after the rest element")}break}else{a.push(this.parseMaybeAssign(false,l,this.parseParenItem))}}var f=this.start,g=this.startLoc;this.expect(m.parenR);if(e&&!this.canInsertSemicolon()&&this.eat(m.arrow)){this.checkPatternErrors(l,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=d;this.awaitPos=p;return this.parseParenArrowList(t,n,a)}if(!a.length||u){this.unexpected(this.lastTokStart)}if(h){this.unexpected(h)}this.checkExpressionErrors(l,true);this.yieldPos=d||this.yieldPos;this.awaitPos=p||this.awaitPos;if(a.length>1){s=this.startNodeAt(o,r);s.expressions=a;this.finishNodeAt(s,"SequenceExpression",f,g)}else{s=a[0]}}else{s=this.parseParenExpression()}if(this.options.preserveParens){var y=this.startNodeAt(t,n);y.expression=s;return this.finishNode(y,"ParenthesizedExpression")}else{return s}};te.parseParenItem=function(e){return e};te.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)};var ne=[];te.parseNew=function(){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword new")}var e=this.startNode();var t=this.parseIdent(true);if(this.options.ecmaVersion>=6&&this.eat(m.dot)){e.meta=t;var n=this.containsEsc;e.property=this.parseIdent(true);if(e.property.name!=="target"){this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'")}if(n){this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters")}if(!this.inNonArrowFunction){this.raiseRecoverable(e.start,"'new.target' can only be used in functions")}return this.finishNode(e,"MetaProperty")}var s=this.start,i=this.startLoc,o=this.type===m._import;e.callee=this.parseSubscripts(this.parseExprAtom(),s,i,true);if(o&&e.callee.type==="ImportExpression"){this.raise(s,"Cannot use new with import()")}if(this.eat(m.parenL)){e.arguments=this.parseExprList(m.parenR,this.options.ecmaVersion>=8,false)}else{e.arguments=ne}return this.finishNode(e,"NewExpression")};te.parseTemplateElement=function(e){var t=e.isTagged;var n=this.startNode();if(this.type===m.invalidTemplate){if(!t){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}n.value={raw:this.value,cooked:null}}else{n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();n.tail=this.type===m.backQuote;return this.finishNode(n,"TemplateElement")};te.parseTemplate=function(e){if(e===void 0)e={};var t=e.isTagged;if(t===void 0)t=false;var n=this.startNode();this.next();n.expressions=[];var s=this.parseTemplateElement({isTagged:t});n.quasis=[s];while(!s.tail){if(this.type===m.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(m.dollarBraceL);n.expressions.push(this.parseExpression());this.expect(m.braceR);n.quasis.push(s=this.parseTemplateElement({isTagged:t}))}this.next();return this.finishNode(n,"TemplateLiteral")};te.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===m.name||this.type===m.num||this.type===m.string||this.type===m.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===m.star)&&!g.test(this.input.slice(this.lastTokEnd,this.start))};te.parseObj=function(e,t){var n=this.startNode(),s=true,i={};n.properties=[];this.next();while(!this.eat(m.braceR)){if(!s){this.expect(m.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(m.braceR)){break}}else{s=false}var o=this.parseProperty(e,t);if(!e){this.checkPropClash(o,i,t)}n.properties.push(o)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")};te.parseProperty=function(e,t){var n=this.startNode(),s,i,o,r;if(this.options.ecmaVersion>=9&&this.eat(m.ellipsis)){if(e){n.argument=this.parseIdent(false);if(this.type===m.comma){this.raise(this.start,"Comma is not permitted after the rest element")}return this.finishNode(n,"RestElement")}if(this.type===m.parenL&&t){if(t.parenthesizedAssign<0){t.parenthesizedAssign=this.start}if(t.parenthesizedBind<0){t.parenthesizedBind=this.start}}n.argument=this.parseMaybeAssign(false,t);if(this.type===m.comma&&t&&t.trailingComma<0){t.trailingComma=this.start}return this.finishNode(n,"SpreadElement")}if(this.options.ecmaVersion>=6){n.method=false;n.shorthand=false;if(e||t){o=this.start;r=this.startLoc}if(!e){s=this.eat(m.star)}}var a=this.containsEsc;this.parsePropertyName(n);if(!e&&!a&&this.options.ecmaVersion>=8&&!s&&this.isAsyncProp(n)){i=true;s=this.options.ecmaVersion>=9&&this.eat(m.star);this.parsePropertyName(n,t)}else{i=false}this.parsePropertyValue(n,e,s,i,o,r,t,a);return this.finishNode(n,"Property")};te.parsePropertyValue=function(e,t,n,s,i,o,r,a){if((n||s)&&this.type===m.colon){this.unexpected()}if(this.eat(m.colon)){e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,r);e.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===m.parenL){if(t){this.unexpected()}e.kind="init";e.method=true;e.value=this.parseMethod(n,s)}else if(!t&&!a&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&(this.type!==m.comma&&this.type!==m.braceR&&this.type!==m.eq)){if(n||s){this.unexpected()}e.kind=e.key.name;this.parsePropertyName(e);e.value=this.parseMethod(false);var c=e.kind==="get"?0:1;if(e.value.params.length!==c){var u=e.value.start;if(e.kind==="get"){this.raiseRecoverable(u,"getter should have no params")}else{this.raiseRecoverable(u,"setter should have exactly one param")}}else{if(e.kind==="set"&&e.value.params[0].type==="RestElement"){this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}}}else if(this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"){if(n||s){this.unexpected()}this.checkUnreserved(e.key);if(e.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=i}e.kind="init";if(t){e.value=this.parseMaybeDefault(i,o,this.copyNode(e.key))}else if(this.type===m.eq&&r){if(r.shorthandAssign<0){r.shorthandAssign=this.start}e.value=this.parseMaybeDefault(i,o,this.copyNode(e.key))}else{e.value=this.copyNode(e.key)}e.shorthand=true}else{this.unexpected()}};te.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(m.bracketL)){e.computed=true;e.key=this.parseMaybeAssign();this.expect(m.bracketR);return e.key}else{e.computed=false}}return e.key=this.type===m.num||this.type===m.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};te.initFunction=function(e){e.id=null;if(this.options.ecmaVersion>=6){e.generator=e.expression=false}if(this.options.ecmaVersion>=8){e.async=false}};te.parseMethod=function(e,t,n){var s=this.startNode(),i=this.yieldPos,o=this.awaitPos,r=this.awaitIdentPos;this.initFunction(s);if(this.options.ecmaVersion>=6){s.generator=e}if(this.options.ecmaVersion>=8){s.async=!!t}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(t,s.generator)|W|(n?A:0));this.expect(m.parenL);s.params=this.parseBindingList(m.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody(s,false,true);this.yieldPos=i;this.awaitPos=o;this.awaitIdentPos=r;return this.finishNode(s,"FunctionExpression")};te.parseArrowExpression=function(e,t,n){var s=this.yieldPos,i=this.awaitPos,o=this.awaitIdentPos;this.enterScope(functionFlags(n,false)|z);this.initFunction(e);if(this.options.ecmaVersion>=8){e.async=!!n}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;e.params=this.toAssignableList(t,true);this.parseFunctionBody(e,true,false);this.yieldPos=s;this.awaitPos=i;this.awaitIdentPos=o;return this.finishNode(e,"ArrowFunctionExpression")};te.parseFunctionBody=function(e,t,n){var s=t&&this.type!==m.braceL;var i=this.strict,o=false;if(s){e.body=this.parseMaybeAssign();e.expression=true;this.checkParams(e,false)}else{var r=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);if(!i||r){o=this.strictDirective(this.end);if(o&&r){this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var a=this.labels;this.labels=[];if(o){this.strict=true}this.checkParams(e,!i&&!o&&!t&&!n&&this.isSimpleParamList(e.params));if(this.strict&&e.id){this.checkLValSimple(e.id,I)}e.body=this.parseBlock(false,undefined,o&&!i);e.expression=false;this.adaptDirectivePrologue(e.body.body);this.labels=a}this.exitScope()};te.isSimpleParamList=function(e){for(var t=0,n=e;t-1||i.functions.indexOf(e)>-1||i.var.indexOf(e)>-1;i.lexical.push(e);if(this.inModule&&i.flags&P){delete this.undefinedExports[e]}}else if(t===V){var o=this.currentScope();o.lexical.push(e)}else if(t===J){var r=this.currentScope();if(this.treatFunctionsAsVar){s=r.lexical.indexOf(e)>-1}else{s=r.lexical.indexOf(e)>-1||r.var.indexOf(e)>-1}r.functions.push(e)}else{for(var a=this.scopeStack.length-1;a>=0;--a){var c=this.scopeStack[a];if(c.lexical.indexOf(e)>-1&&!(c.flags&q&&c.lexical[0]===e)||!this.treatFunctionsAsVarInScope(c)&&c.functions.indexOf(e)>-1){s=true;break}c.var.push(e);if(this.inModule&&c.flags&P){delete this.undefinedExports[e]}if(c.flags&F){break}}}if(s){this.raiseRecoverable(n,"Identifier '"+e+"' has already been declared")}};ie.checkLocalExport=function(e){if(this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1){this.undefinedExports[e.name]=e}};ie.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};ie.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&F){return t}}};ie.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&F&&!(t.flags&z)){return t}}};var re=function Node(e,t,n){this.type="";this.start=t;this.end=0;if(e.options.locations){this.loc=new S(e,n)}if(e.options.directSourceFile){this.sourceFile=e.options.directSourceFile}if(e.options.ranges){this.range=[t,0]}};var ae=D.prototype;ae.startNode=function(){return new re(this,this.start,this.startLoc)};ae.startNodeAt=function(e,t){return new re(this,e,t)};function finishNodeAt(e,t,n,s){e.type=t;e.end=n;if(this.options.locations){e.loc.end=s}if(this.options.ranges){e.range[1]=n}return e}ae.finishNode=function(e,t){return finishNodeAt.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};ae.finishNodeAt=function(e,t,n,s){return finishNodeAt.call(this,e,t,n,s)};ae.copyNode=function(e){var t=new re(this,e.start,this.startLoc);for(var n in e){t[n]=e[n]}return t};var ce=function TokContext(e,t,n,s,i){this.token=e;this.isExpr=!!t;this.preserveSpace=!!n;this.override=s;this.generator=!!i};var ue={b_stat:new ce("{",false),b_expr:new ce("{",true),b_tmpl:new ce("${",false),p_stat:new ce("(",false),p_expr:new ce("(",true),q_tmpl:new ce("`",true,true,function(e){return e.tryReadTemplateToken()}),f_stat:new ce("function",false),f_expr:new ce("function",true),f_expr_gen:new ce("function",true,false,null,true),f_gen:new ce("function",false,false,null,true)};var le=D.prototype;le.initialContext=function(){return[ue.b_stat]};le.braceIsBlock=function(e){var t=this.curContext();if(t===ue.f_expr||t===ue.f_stat){return true}if(e===m.colon&&(t===ue.b_stat||t===ue.b_expr)){return!t.isExpr}if(e===m._return||e===m.name&&this.exprAllowed){return g.test(this.input.slice(this.lastTokEnd,this.start))}if(e===m._else||e===m.semi||e===m.eof||e===m.parenR||e===m.arrow){return true}if(e===m.braceL){return t===ue.b_stat}if(e===m._var||e===m._const||e===m.name){return false}return!this.exprAllowed};le.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function"){return t.generator}}return false};le.updateContext=function(e){var t,n=this.type;if(n.keyword&&e===m.dot){this.exprAllowed=false}else if(t=n.updateContext){t.call(this,e)}else{this.exprAllowed=n.beforeExpr}};m.parenR.updateContext=m.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var e=this.context.pop();if(e===ue.b_stat&&this.curContext().token==="function"){e=this.context.pop()}this.exprAllowed=!e.isExpr};m.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ue.b_stat:ue.b_expr);this.exprAllowed=true};m.dollarBraceL.updateContext=function(){this.context.push(ue.b_tmpl);this.exprAllowed=true};m.parenL.updateContext=function(e){var t=e===m._if||e===m._for||e===m._with||e===m._while;this.context.push(t?ue.p_stat:ue.p_expr);this.exprAllowed=true};m.incDec.updateContext=function(){};m._function.updateContext=m._class.updateContext=function(e){if(e.beforeExpr&&e!==m._else&&!(e===m.semi&&this.curContext()!==ue.p_stat)&&!(e===m._return&&g.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===m.colon||e===m.braceL)&&this.curContext()===ue.b_stat)){this.context.push(ue.f_expr)}else{this.context.push(ue.f_stat)}this.exprAllowed=false};m.backQuote.updateContext=function(){if(this.curContext()===ue.q_tmpl){this.context.pop()}else{this.context.push(ue.q_tmpl)}this.exprAllowed=false};m.star.updateContext=function(e){if(e===m._function){var t=this.context.length-1;if(this.context[t]===ue.f_expr){this.context[t]=ue.f_expr_gen}else{this.context[t]=ue.f_gen}}this.exprAllowed=true};m.name.updateContext=function(e){var t=false;if(this.options.ecmaVersion>=6&&e!==m.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){t=true}}this.exprAllowed=t};var de="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS";var pe=de+" Extended_Pictographic";var he=pe;var fe=he+" EBase EComp EMod EPres ExtPict";var me={9:de,10:pe,11:he,12:fe};var ge="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";var ye="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";var ve=ye+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var be=ve+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var ke=be+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi";var we={9:ye,10:ve,11:be,12:ke};var xe={};function buildUnicodeData(e){var t=xe[e]={binary:wordsRegexp(me[e]+" "+ge),nonBinary:{General_Category:wordsRegexp(ge),Script:wordsRegexp(we[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script;t.nonBinary.gc=t.nonBinary.General_Category;t.nonBinary.sc=t.nonBinary.Script;t.nonBinary.scx=t.nonBinary.Script_Extensions}buildUnicodeData(9);buildUnicodeData(10);buildUnicodeData(11);buildUnicodeData(12);var Ce=D.prototype;var Me=function RegExpValidationState(e){this.parser=e;this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"");this.unicodeProperties=xe[e.options.ecmaVersion>=12?12:e.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=[];this.backReferenceNames=[]};Me.prototype.reset=function reset(e,t,n){var s=n.indexOf("u")!==-1;this.start=e|0;this.source=t+"";this.flags=n;this.switchU=s&&this.parser.options.ecmaVersion>=6;this.switchN=s&&this.parser.options.ecmaVersion>=9};Me.prototype.raise=function raise(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)};Me.prototype.at=function at(e,t){if(t===void 0)t=false;var n=this.source;var s=n.length;if(e>=s){return-1}var i=n.charCodeAt(e);if(!(t||this.switchU)||i<=55295||i>=57344||e+1>=s){return i}var o=n.charCodeAt(e+1);return o>=56320&&o<=57343?(i<<10)+o-56613888:i};Me.prototype.nextIndex=function nextIndex(e,t){if(t===void 0)t=false;var n=this.source;var s=n.length;if(e>=s){return s}var i=n.charCodeAt(e),o;if(!(t||this.switchU)||i<=55295||i>=57344||e+1>=s||(o=n.charCodeAt(e+1))<56320||o>57343){return e+1}return e+2};Me.prototype.current=function current(e){if(e===void 0)e=false;return this.at(this.pos,e)};Me.prototype.lookahead=function lookahead(e){if(e===void 0)e=false;return this.at(this.nextIndex(this.pos,e),e)};Me.prototype.advance=function advance(e){if(e===void 0)e=false;this.pos=this.nextIndex(this.pos,e)};Me.prototype.eat=function eat(e,t){if(t===void 0)t=false;if(this.current(t)===e){this.advance(t);return true}return false};function codePointToString(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}Ce.validateRegExpFlags=function(e){var t=e.validFlags;var n=e.flags;for(var s=0;s-1){this.raise(e.start,"Duplicate regular expression flag")}}};Ce.validateRegExpPattern=function(e){this.regexp_pattern(e);if(!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0){e.switchN=true;this.regexp_pattern(e)}};Ce.regexp_pattern=function(e){e.pos=0;e.lastIntValue=0;e.lastStringValue="";e.lastAssertionIsQuantifiable=false;e.numCapturingParens=0;e.maxBackReference=0;e.groupNames.length=0;e.backReferenceNames.length=0;this.regexp_disjunction(e);if(e.pos!==e.source.length){if(e.eat(41)){e.raise("Unmatched ')'")}if(e.eat(93)||e.eat(125)){e.raise("Lone quantifier brackets")}}if(e.maxBackReference>e.numCapturingParens){e.raise("Invalid escape")}for(var t=0,n=e.backReferenceNames;t=9){n=e.eat(60)}if(e.eat(61)||e.eat(33)){this.regexp_disjunction(e);if(!e.eat(41)){e.raise("Unterminated group")}e.lastAssertionIsQuantifiable=!n;return true}}e.pos=t;return false};Ce.regexp_eatQuantifier=function(e,t){if(t===void 0)t=false;if(this.regexp_eatQuantifierPrefix(e,t)){e.eat(63);return true}return false};Ce.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};Ce.regexp_eatBracedQuantifier=function(e,t){var n=e.pos;if(e.eat(123)){var s=0,i=-1;if(this.regexp_eatDecimalDigits(e)){s=e.lastIntValue;if(e.eat(44)&&this.regexp_eatDecimalDigits(e)){i=e.lastIntValue}if(e.eat(125)){if(i!==-1&&i=9){this.regexp_groupSpecifier(e)}else if(e.current()===63){e.raise("Invalid group")}this.regexp_disjunction(e);if(e.eat(41)){e.numCapturingParens+=1;return true}e.raise("Unterminated group")}return false};Ce.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};Ce.regexp_eatInvalidBracedQuantifier=function(e){if(this.regexp_eatBracedQuantifier(e,true)){e.raise("Nothing to repeat")}return false};Ce.regexp_eatSyntaxCharacter=function(e){var t=e.current();if(isSyntaxCharacter(t)){e.lastIntValue=t;e.advance();return true}return false};function isSyntaxCharacter(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}Ce.regexp_eatPatternCharacters=function(e){var t=e.pos;var n=0;while((n=e.current())!==-1&&!isSyntaxCharacter(n)){e.advance()}return e.pos!==t};Ce.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();if(t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124){e.advance();return true}return false};Ce.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){if(e.groupNames.indexOf(e.lastStringValue)!==-1){e.raise("Duplicate capture group name")}e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}};Ce.regexp_eatGroupName=function(e){e.lastStringValue="";if(e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62)){return true}e.raise("Invalid capture group name")}return false};Ce.regexp_eatRegExpIdentifierName=function(e){e.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(e)){e.lastStringValue+=codePointToString(e.lastIntValue);while(this.regexp_eatRegExpIdentifierPart(e)){e.lastStringValue+=codePointToString(e.lastIntValue)}return true}return false};Ce.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos;var n=this.options.ecmaVersion>=11;var s=e.current(n);e.advance(n);if(s===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)){s=e.lastIntValue}if(isRegExpIdentifierStart(s)){e.lastIntValue=s;return true}e.pos=t;return false};function isRegExpIdentifierStart(e){return isIdentifierStart(e,true)||e===36||e===95}Ce.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos;var n=this.options.ecmaVersion>=11;var s=e.current(n);e.advance(n);if(s===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)){s=e.lastIntValue}if(isRegExpIdentifierPart(s)){e.lastIntValue=s;return true}e.pos=t;return false};function isRegExpIdentifierPart(e){return isIdentifierChar(e,true)||e===36||e===95||e===8204||e===8205}Ce.regexp_eatAtomEscape=function(e){if(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)){return true}if(e.switchU){if(e.current()===99){e.raise("Invalid unicode escape")}e.raise("Invalid escape")}return false};Ce.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var n=e.lastIntValue;if(e.switchU){if(n>e.maxBackReference){e.maxBackReference=n}return true}if(n<=e.numCapturingParens){return true}e.pos=t}return false};Ce.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e)){e.backReferenceNames.push(e.lastStringValue);return true}e.raise("Invalid named reference")}return false};Ce.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,false)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};Ce.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e)){return true}e.pos=t}return false};Ce.regexp_eatZero=function(e){if(e.current()===48&&!isDecimalDigit(e.lookahead())){e.lastIntValue=0;e.advance();return true}return false};Ce.regexp_eatControlEscape=function(e){var t=e.current();if(t===116){e.lastIntValue=9;e.advance();return true}if(t===110){e.lastIntValue=10;e.advance();return true}if(t===118){e.lastIntValue=11;e.advance();return true}if(t===102){e.lastIntValue=12;e.advance();return true}if(t===114){e.lastIntValue=13;e.advance();return true}return false};Ce.regexp_eatControlLetter=function(e){var t=e.current();if(isControlLetter(t)){e.lastIntValue=t%32;e.advance();return true}return false};function isControlLetter(e){return e>=65&&e<=90||e>=97&&e<=122}Ce.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){if(t===void 0)t=false;var n=e.pos;var s=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(s&&i>=55296&&i<=56319){var o=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var r=e.lastIntValue;if(r>=56320&&r<=57343){e.lastIntValue=(i-55296)*1024+(r-56320)+65536;return true}}e.pos=o;e.lastIntValue=i}return true}if(s&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&isValidUnicode(e.lastIntValue)){return true}if(s){e.raise("Invalid unicode escape")}e.pos=n}return false};function isValidUnicode(e){return e>=0&&e<=1114111}Ce.regexp_eatIdentityEscape=function(e){if(e.switchU){if(this.regexp_eatSyntaxCharacter(e)){return true}if(e.eat(47)){e.lastIntValue=47;return true}return false}var t=e.current();if(t!==99&&(!e.switchN||t!==107)){e.lastIntValue=t;e.advance();return true}return false};Ce.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48);e.advance()}while((t=e.current())>=48&&t<=57);return true}return false};Ce.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(isCharacterClassEscape(t)){e.lastIntValue=-1;e.advance();return true}if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){e.lastIntValue=-1;e.advance();if(e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125)){return true}e.raise("Invalid property name")}return false};function isCharacterClassEscape(e){return e===100||e===68||e===115||e===83||e===119||e===87}Ce.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var n=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var s=e.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(e,n,s);return true}}e.pos=t;if(this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;this.regexp_validateUnicodePropertyNameOrValue(e,i);return true}return false};Ce.regexp_validateUnicodePropertyNameAndValue=function(e,t,n){if(!has(e.unicodeProperties.nonBinary,t)){e.raise("Invalid property name")}if(!e.unicodeProperties.nonBinary[t].test(n)){e.raise("Invalid property value")}};Ce.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(!e.unicodeProperties.binary.test(t)){e.raise("Invalid property name")}};Ce.regexp_eatUnicodePropertyName=function(e){var t=0;e.lastStringValue="";while(isUnicodePropertyNameCharacter(t=e.current())){e.lastStringValue+=codePointToString(t);e.advance()}return e.lastStringValue!==""};function isUnicodePropertyNameCharacter(e){return isControlLetter(e)||e===95}Ce.regexp_eatUnicodePropertyValue=function(e){var t=0;e.lastStringValue="";while(isUnicodePropertyValueCharacter(t=e.current())){e.lastStringValue+=codePointToString(t);e.advance()}return e.lastStringValue!==""};function isUnicodePropertyValueCharacter(e){return isUnicodePropertyNameCharacter(e)||isDecimalDigit(e)}Ce.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};Ce.regexp_eatCharacterClass=function(e){if(e.eat(91)){e.eat(94);this.regexp_classRanges(e);if(e.eat(93)){return true}e.raise("Unterminated character class")}return false};Ce.regexp_classRanges=function(e){while(this.regexp_eatClassAtom(e)){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var n=e.lastIntValue;if(e.switchU&&(t===-1||n===-1)){e.raise("Invalid character class")}if(t!==-1&&n!==-1&&t>n){e.raise("Range out of order in character class")}}}};Ce.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e)){return true}if(e.switchU){var n=e.current();if(n===99||isOctalDigit(n)){e.raise("Invalid class escape")}e.raise("Invalid escape")}e.pos=t}var s=e.current();if(s!==93){e.lastIntValue=s;e.advance();return true}return false};Ce.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98)){e.lastIntValue=8;return true}if(e.switchU&&e.eat(45)){e.lastIntValue=45;return true}if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e)){return true}e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};Ce.regexp_eatClassControlLetter=function(e){var t=e.current();if(isDecimalDigit(t)||t===95){e.lastIntValue=t%32;e.advance();return true}return false};Ce.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2)){return true}if(e.switchU){e.raise("Invalid escape")}e.pos=t}return false};Ce.regexp_eatDecimalDigits=function(e){var t=e.pos;var n=0;e.lastIntValue=0;while(isDecimalDigit(n=e.current())){e.lastIntValue=10*e.lastIntValue+(n-48);e.advance()}return e.pos!==t};function isDecimalDigit(e){return e>=48&&e<=57}Ce.regexp_eatHexDigits=function(e){var t=e.pos;var n=0;e.lastIntValue=0;while(isHexDigit(n=e.current())){e.lastIntValue=16*e.lastIntValue+hexToInt(n);e.advance()}return e.pos!==t};function isHexDigit(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function hexToInt(e){if(e>=65&&e<=70){return 10+(e-65)}if(e>=97&&e<=102){return 10+(e-97)}return e-48}Ce.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var n=e.lastIntValue;if(t<=3&&this.regexp_eatOctalDigit(e)){e.lastIntValue=t*64+n*8+e.lastIntValue}else{e.lastIntValue=t*8+n}}else{e.lastIntValue=t}return true}return false};Ce.regexp_eatOctalDigit=function(e){var t=e.current();if(isOctalDigit(t)){e.lastIntValue=t-48;e.advance();return true}e.lastIntValue=0;return false};function isOctalDigit(e){return e>=48&&e<=55}Ce.regexp_eatFixedHexDigits=function(e,t){var n=e.pos;e.lastIntValue=0;for(var s=0;s=this.input.length){return this.finishToken(m.eof)}if(e.override){return e.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};Oe.readToken=function(e){if(isIdentifierStart(e,this.options.ecmaVersion>=6)||e===92){return this.readWord()}return this.getTokenFromCode(e)};Oe.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=57344){return e}var t=this.input.charCodeAt(this.pos+1);return(e<<10)+t-56613888};Oe.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition();var t=this.pos,n=this.input.indexOf("*/",this.pos+=2);if(n===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=n+2;if(this.options.locations){y.lastIndex=t;var s;while((s=y.exec(this.input))&&s.index8&&e<14||e>=5760&&v.test(String.fromCharCode(e))){++this.pos}else{break e}}}};Oe.finishToken=function(e,t){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var n=this.type;this.type=e;this.value=t;this.updateContext(n)};Oe.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57){return this.readNumber(true)}var t=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&e===46&&t===46){this.pos+=3;return this.finishToken(m.ellipsis)}else{++this.pos;return this.finishToken(m.dot)}};Oe.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(e===61){return this.finishOp(m.assign,2)}return this.finishOp(m.slash,1)};Oe.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1);var n=1;var s=e===42?m.star:m.modulo;if(this.options.ecmaVersion>=7&&e===42&&t===42){++n;s=m.starstar;t=this.input.charCodeAt(this.pos+2)}if(t===61){return this.finishOp(m.assign,n+1)}return this.finishOp(s,n)};Oe.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var n=this.input.charCodeAt(this.pos+2);if(n===61){return this.finishOp(m.assign,3)}}return this.finishOp(e===124?m.logicalOR:m.logicalAND,2)}if(t===61){return this.finishOp(m.assign,2)}return this.finishOp(e===124?m.bitwiseOR:m.bitwiseAND,1)};Oe.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);if(e===61){return this.finishOp(m.assign,2)}return this.finishOp(m.bitwiseXOR,1)};Oe.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||g.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(m.incDec,2)}if(t===61){return this.finishOp(m.assign,2)}return this.finishOp(m.plusMin,1)};Oe.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1);var n=1;if(t===e){n=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+n)===61){return this.finishOp(m.assign,n+1)}return this.finishOp(m.bitShift,n)}if(t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(t===61){n=2}return this.finishOp(m.relational,n)};Oe.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===61){return this.finishOp(m.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(e===61&&t===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(m.arrow)}return this.finishOp(e===61?m.eq:m.prefix,1)};Oe.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var n=this.input.charCodeAt(this.pos+2);if(n<48||n>57){return this.finishOp(m.questionDot,2)}}if(t===63){if(e>=12){var s=this.input.charCodeAt(this.pos+2);if(s===61){return this.finishOp(m.assign,3)}}return this.finishOp(m.coalesce,2)}}return this.finishOp(m.question,1)};Oe.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(m.parenL);case 41:++this.pos;return this.finishToken(m.parenR);case 59:++this.pos;return this.finishToken(m.semi);case 44:++this.pos;return this.finishToken(m.comma);case 91:++this.pos;return this.finishToken(m.bracketL);case 93:++this.pos;return this.finishToken(m.bracketR);case 123:++this.pos;return this.finishToken(m.braceL);case 125:++this.pos;return this.finishToken(m.braceR);case 58:++this.pos;return this.finishToken(m.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(m.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(t===111||t===79){return this.readRadixNumber(8)}if(t===98||t===66){return this.readRadixNumber(2)}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(false);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(m.prefix,1)}this.raise(this.pos,"Unexpected character '"+codePointToString$1(e)+"'")};Oe.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);this.pos+=t;return this.finishToken(e,n)};Oe.readRegexp=function(){var e,t,n=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(n,"Unterminated regular expression")}var s=this.input.charAt(this.pos);if(g.test(s)){this.raise(n,"Unterminated regular expression")}if(!e){if(s==="["){t=true}else if(s==="]"&&t){t=false}else if(s==="/"&&!t){break}e=s==="\\"}else{e=false}++this.pos}var i=this.input.slice(n,this.pos);++this.pos;var o=this.pos;var r=this.readWord1();if(this.containsEsc){this.unexpected(o)}var a=this.regexpState||(this.regexpState=new Me(this));a.reset(n,i,r);this.validateRegExpFlags(a);this.validateRegExpPattern(a);var c=null;try{c=new RegExp(i,r)}catch(e){}return this.finishToken(m.regexp,{pattern:i,flags:r,value:c})};Oe.readInt=function(e,t,n){var s=this.options.ecmaVersion>=12&&t===undefined;var i=n&&this.input.charCodeAt(this.pos)===48;var o=this.pos,r=0,a=0;for(var c=0,u=t==null?Infinity:t;c=97){d=l-97+10}else if(l>=65){d=l-65+10}else if(l>=48&&l<=57){d=l-48}else{d=Infinity}if(d>=e){break}a=l;r=r*e+d}if(s&&a===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===o||t!=null&&this.pos-o!==t){return null}return r};function stringToNumber(e,t){if(t){return parseInt(e,8)}return parseFloat(e.replace(/_/g,""))}function stringToBigInt(e){if(typeof BigInt!=="function"){return null}return BigInt(e.replace(/_/g,""))}Oe.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var n=this.readInt(e);if(n==null){this.raise(this.start+2,"Expected number in radix "+e)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){n=stringToBigInt(this.input.slice(t,this.pos));++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(m.num,n)};Oe.readNumber=function(e){var t=this.pos;if(!e&&this.readInt(10,undefined,true)===null){this.raise(t,"Invalid number")}var n=this.pos-t>=2&&this.input.charCodeAt(t)===48;if(n&&this.strict){this.raise(t,"Invalid number")}var s=this.input.charCodeAt(this.pos);if(!n&&!e&&this.options.ecmaVersion>=11&&s===110){var i=stringToBigInt(this.input.slice(t,this.pos));++this.pos;if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(m.num,i)}if(n&&/[89]/.test(this.input.slice(t,this.pos))){n=false}if(s===46&&!n){++this.pos;this.readInt(10);s=this.input.charCodeAt(this.pos)}if((s===69||s===101)&&!n){s=this.input.charCodeAt(++this.pos);if(s===43||s===45){++this.pos}if(this.readInt(10)===null){this.raise(t,"Invalid number")}}if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var o=stringToNumber(this.input.slice(t,this.pos),n);return this.finishToken(m.num,o)};Oe.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){if(this.options.ecmaVersion<6){this.unexpected()}var n=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(t>1114111){this.invalidStringToken(n,"Code point out of bounds")}}else{t=this.readHexChar(4)}return t};function codePointToString$1(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}Oe.readString=function(e){var t="",n=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var s=this.input.charCodeAt(this.pos);if(s===e){break}if(s===92){t+=this.input.slice(n,this.pos);t+=this.readEscapedChar(false);n=this.pos}else{if(isNewLine(s,this.options.ecmaVersion>=10)){this.raise(this.start,"Unterminated string constant")}++this.pos}}t+=this.input.slice(n,this.pos++);return this.finishToken(m.string,t)};var Te={};Oe.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(e){if(e===Te){this.readInvalidTemplateToken()}else{throw e}}this.inTemplateElement=false};Oe.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw Te}else{this.raise(e,t)}};Oe.readTmplToken=function(){var e="",t=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var n=this.input.charCodeAt(this.pos);if(n===96||n===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===m.template||this.type===m.invalidTemplate)){if(n===36){this.pos+=2;return this.finishToken(m.dollarBraceL)}else{++this.pos;return this.finishToken(m.backQuote)}}e+=this.input.slice(t,this.pos);return this.finishToken(m.template,e)}if(n===92){e+=this.input.slice(t,this.pos);e+=this.readEscapedChar(true);t=this.pos}else if(isNewLine(n)){e+=this.input.slice(t,this.pos);++this.pos;switch(n){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(n);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}t=this.pos}else{++this.pos}}};Oe.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var s=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var i=parseInt(s,8);if(i>255){s=s.slice(0,-1);i=parseInt(s,8)}this.pos+=s.length-1;t=this.input.charCodeAt(this.pos);if((s!=="0"||t===56||t===57)&&(this.strict||e)){this.invalidStringToken(this.pos-1-s.length,e?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode(i)}if(isNewLine(t)){return""}return String.fromCharCode(t)}};Oe.readHexChar=function(e){var t=this.pos;var n=this.readInt(16,e);if(n===null){this.invalidStringToken(t,"Bad character escape sequence")}return n};Oe.readWord1=function(){this.containsEsc=false;var e="",t=true,n=this.pos;var s=this.options.ecmaVersion>=6;while(this.pos{"use strict";const s=n(25424);const i=n(47956);e.exports=class AliasFieldPlugin{constructor(e,t,n){this.source=e;this.field=t;this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("AliasFieldPlugin",(n,o,r)=>{if(!n.descriptionFileData)return r();const a=i(e,n);if(!a)return r();const c=s.getField(n.descriptionFileData,this.field);if(c===null||typeof c!=="object"){if(o.log)o.log("Field '"+this.field+"' doesn't contain a valid alias configuration");return r()}const u=c[a];const l=c[a.replace(/^\.\//,"")];const d=typeof u!=="undefined"?u:l;if(d===a)return r();if(d===undefined)return r();if(d===false){const e={...n,path:false};return r(null,e)}const p={...n,path:n.descriptionFileRoot,request:d,fullySpecified:false};e.doResolve(t,p,"aliased from description file "+n.descriptionFilePath+" with mapping '"+a+"' to '"+d+"'",o,(e,t)=>{if(e)return r(e);if(t===undefined)return r(null,null);r(null,t)})})}}},63676:(e,t,n)=>{"use strict";const s=n(78565);e.exports=class AliasPlugin{constructor(e,t,n){this.source=e;this.options=Array.isArray(t)?t:[t];this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("AliasPlugin",(n,i,o)=>{const r=n.request||n.path;if(!r)return o();s(this.options,(o,a)=>{let c=false;if(r===o.name||!o.onlyModule&&r.startsWith(o.name+"/")){const u=r.substr(o.name.length);const l=(s,a)=>{if(s===false){const e={...n,path:false};return a(null,e)}if(r!==s&&!r.startsWith(s+"/")){c=true;const r=s+u;const l={...n,request:r,fullySpecified:false};return e.doResolve(t,l,"aliased with mapping '"+o.name+"': '"+s+"' to '"+r+"'",i,(e,t)=>{if(e)return a(e);if(t)return a(null,t);return a()})}return a()};const d=(e,t)=>{if(e)return a(e);if(t)return a(null,t);if(c)return a(null,null);return a()};if(Array.isArray(o.alias)){return s(o.alias,l,d)}else{return l(o.alias,d)}}return a()},o)})}}},92088:e=>{"use strict";e.exports=class AppendPlugin{constructor(e,t,n){this.source=e;this.appending=t;this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("AppendPlugin",(n,s,i)=>{const o={...n,path:n.path+this.appending,relativePath:n.relativePath&&n.relativePath+this.appending};e.doResolve(t,o,this.appending,s,i)})}}},52788:(e,t,n)=>{"use strict";const s=n(61765).nextTick;const i=e=>{let t=e.length-1;while(t>=0){const n=e.charCodeAt(t);if(n===47||n===92)break;t--}if(t<0)return"";return e.slice(0,t)};const o=(e,t,n)=>{if(e.length===1){e[0](t,n);e.length=0;return}let s;for(const i of e){try{i(t,n)}catch(e){if(!s)s=e}}e.length=0;if(s)throw s};class OperationMergerBackend{constructor(e,t,n){this._provider=e;this._syncProvider=t;this._providerContext=n;this._activeAsyncOperations=new Map;this.provide=this._provider?(t,n,s)=>{if(typeof n==="function"){s=n;n=undefined}if(n){return this._provider.call(this._providerContext,t,n,s)}if(typeof t!=="string"){s(new TypeError("path must be a string"));return}let i=this._activeAsyncOperations.get(t);if(i){i.push(s);return}this._activeAsyncOperations.set(t,i=[s]);e(t,(e,n)=>{this._activeAsyncOperations.delete(t);o(i,e,n)})}:null;this.provideSync=this._syncProvider?(e,t)=>{return this._syncProvider.call(this._providerContext,e,t)}:null}purge(){}purgeParent(){}}const r=0;const a=1;const c=2;class CacheBackend{constructor(e,t,n,s){this._duration=e;this._provider=t;this._syncProvider=n;this._providerContext=s;this._activeAsyncOperations=new Map;this._data=new Map;this._levels=[];for(let e=0;e<10;e++)this._levels.push(new Set);for(let t=5e3;t{this._activeAsyncOperations.delete(e);this._storeResult(e,t,n);this._enterAsyncMode();o(r,t,n)})}provideSync(e,t){if(typeof e!=="string"){throw new TypeError("path must be a string")}if(t){return this._syncProvider.call(this._providerContext,e,t)}if(this._mode===a){this._runDecays()}let n=this._data.get(e);if(n!==undefined){if(n.err)throw n.err;return n.result}const s=this._activeAsyncOperations.get(e);this._activeAsyncOperations.delete(e);let i;try{i=this._syncProvider.call(this._providerContext,e)}catch(t){this._storeResult(e,t,undefined);this._enterSyncModeWhenIdle();if(s)o(s,t,undefined);throw t}this._storeResult(e,undefined,i);this._enterSyncModeWhenIdle();if(s)o(s,undefined,i);return i}purge(e){if(!e){if(this._mode!==r){this._data.clear();for(const e of this._levels){e.clear()}this._enterIdleMode()}}else if(typeof e==="string"){for(let[t,n]of this._data){if(t.startsWith(e)){this._data.delete(t);n.level.delete(t)}}if(this._data.size===0){this._enterIdleMode()}}else{for(let[t,n]of this._data){for(const s of e){if(t.startsWith(s)){this._data.delete(t);n.level.delete(t);break}}}if(this._data.size===0){this._enterIdleMode()}}}purgeParent(e){if(!e){this.purge()}else if(typeof e==="string"){this.purge(i(e))}else{const t=new Set;for(const n of e){t.add(i(n))}this.purge(t)}}_storeResult(e,t,n){if(this._data.has(e))return;const s=this._levels[this._currentLevel];this._data.set(e,{err:t,result:n,level:s});s.add(e)}_decayLevel(){const e=(this._currentLevel+1)%this._levels.length;const t=this._levels[e];this._currentLevel=e;for(let e of t){this._data.delete(e)}t.clear();if(this._data.size===0){this._enterIdleMode()}else{this._nextDecay+=this._tickInterval}}_runDecays(){while(this._nextDecay<=Date.now()&&this._mode!==r){this._decayLevel()}}_enterAsyncMode(){let e=0;switch(this._mode){case c:return;case r:this._nextDecay=Date.now()+this._tickInterval;e=this._tickInterval;break;case a:this._runDecays();if(this._mode===r)return;e=Math.max(0,this._nextDecay-Date.now());break}this._mode=c;const t=setTimeout(()=>{this._mode=a;this._runDecays()},e);if(t.unref)t.unref();this._timeout=t}_enterSyncModeWhenIdle(){if(this._mode===r){this._mode=a;this._nextDecay=Date.now()+this._tickInterval}}_enterIdleMode(){this._mode=r;this._nextDecay=undefined;if(this._timeout)clearTimeout(this._timeout)}}const u=(e,t,n,s)=>{if(e>0){return new CacheBackend(e,t,n,s)}return new OperationMergerBackend(t,n,s)};e.exports=class CachedInputFileSystem{constructor(e,t){this.fileSystem=e;this._lstatBackend=u(t,this.fileSystem.lstat,this.fileSystem.lstatSync,this.fileSystem);const n=this._lstatBackend.provide;this.lstat=n;const s=this._lstatBackend.provideSync;this.lstatSync=s;this._statBackend=u(t,this.fileSystem.stat,this.fileSystem.statSync,this.fileSystem);const i=this._statBackend.provide;this.stat=i;const o=this._statBackend.provideSync;this.statSync=o;this._readdirBackend=u(t,this.fileSystem.readdir,this.fileSystem.readdirSync,this.fileSystem);const r=this._readdirBackend.provide;this.readdir=r;const a=this._readdirBackend.provideSync;this.readdirSync=a;this._readFileBackend=u(t,this.fileSystem.readFile,this.fileSystem.readFileSync,this.fileSystem);const c=this._readFileBackend.provide;this.readFile=c;const l=this._readFileBackend.provideSync;this.readFileSync=l;this._readJsonBackend=u(t,this.fileSystem.readJson||this.readFile&&((e,t)=>{this.readFile(e,(e,n)=>{if(e)return t(e);if(!n||n.length===0)return t(new Error("No file content"));let s;try{s=JSON.parse(n.toString("utf-8"))}catch(e){return t(e)}t(null,s)})}),this.fileSystem.readJsonSync||this.readFileSync&&(e=>{const t=this.readFileSync(e);const n=JSON.parse(t.toString("utf-8"));return n}),this.fileSystem);const d=this._readJsonBackend.provide;this.readJson=d;const p=this._readJsonBackend.provideSync;this.readJsonSync=p;this._readlinkBackend=u(t,this.fileSystem.readlink,this.fileSystem.readlinkSync,this.fileSystem);const h=this._readlinkBackend.provide;this.readlink=h;const f=this._readlinkBackend.provideSync;this.readlinkSync=f}purge(e){this._statBackend.purge(e);this._lstatBackend.purge(e);this._readdirBackend.purgeParent(e);this._readFileBackend.purge(e);this._readlinkBackend.purge(e);this._readJsonBackend.purge(e)}}},22254:(e,t,n)=>{"use strict";const s=n(82918).basename;e.exports=class CloneBasenamePlugin{constructor(e,t){this.source=e;this.target=t}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("CloneBasenamePlugin",(n,i,o)=>{const r=s(n.path);const a=e.join(n.path,r);const c={...n,path:a,relativePath:n.relativePath&&e.join(n.relativePath,r)};e.doResolve(t,c,"using path: "+a,i,o)})}}},6953:e=>{"use strict";e.exports=class ConditionalPlugin{constructor(e,t,n,s,i){this.source=e;this.test=t;this.message=n;this.allowAlternatives=s;this.target=i}apply(e){const t=e.ensureHook(this.target);const{test:n,message:s,allowAlternatives:i}=this;const o=Object.keys(n);e.getHook(this.source).tapAsync("ConditionalPlugin",(r,a,c)=>{for(const e of o){if(r[e]!==n[e])return c()}e.doResolve(t,r,s,a,i?c:(e,t)=>{if(e)return c(e);if(t===undefined)return c(null,null);c(null,t)})})}}},44112:(e,t,n)=>{"use strict";const s=n(25424);e.exports=class DescriptionFilePlugin{constructor(e,t,n,s){this.source=e;this.filenames=t;this.pathIsFile=n;this.target=s}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("DescriptionFilePlugin",(n,i,o)=>{const r=n.path;if(!r)return o();const a=this.pathIsFile?s.cdUp(r):r;if(!a)return o();s.loadDescriptionFile(e,a,this.filenames,n.descriptionFilePath?{path:n.descriptionFilePath,content:n.descriptionFileData,directory:n.descriptionFileRoot}:undefined,i,(s,c)=>{if(s)return o(s);if(!c){if(i.log)i.log(`No description file found in ${a} or above`);return o()}const u="."+r.substr(c.directory.length).replace(/\\/g,"/");const l={...n,descriptionFilePath:c.path,descriptionFileData:c.content,descriptionFileRoot:c.directory,relativePath:u};e.doResolve(t,l,"using description file: "+c.path+" (relative path: "+u+")",i,(e,t)=>{if(e)return o(e);if(t===undefined)return o(null,null);o(null,t)})})})}}},25424:(e,t,n)=>{"use strict";const s=n(78565);function loadDescriptionFile(e,t,n,i,o,r){(function findDescriptionFile(){if(i&&i.directory===t){return r(null,i)}s(n,(n,s)=>{const i=e.join(t,n);if(e.fileSystem.readJson){e.fileSystem.readJson(i,(e,t)=>{if(e){if(typeof e.code!=="undefined"){if(o.missingDependencies){o.missingDependencies.add(i)}return s()}if(o.fileDependencies){o.fileDependencies.add(i)}return onJson(e)}if(o.fileDependencies){o.fileDependencies.add(i)}onJson(null,t)})}else{e.fileSystem.readFile(i,(e,t)=>{if(e){if(o.missingDependencies){o.missingDependencies.add(i)}return s()}if(o.fileDependencies){o.fileDependencies.add(i)}let n;if(t){try{n=JSON.parse(t.toString())}catch(e){return onJson(e)}}else{return onJson(new Error("No content in file"))}onJson(null,n)})}function onJson(e,n){if(e){if(o.log)o.log(i+" (directory description file): "+e);else e.message=i+" (directory description file): "+e;return s(e)}s(null,{content:n,directory:t,path:i})}},(e,n)=>{if(e)return r(e);if(n){return r(null,n)}else{const e=cdUp(t);if(!e){return r()}else{t=e;return findDescriptionFile()}}})})()}function getField(e,t){if(!e)return undefined;if(Array.isArray(t)){let n=e;for(let e=0;e{"use strict";e.exports=class DirectoryExistsPlugin{constructor(e,t){this.source=e;this.target=t}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("DirectoryExistsPlugin",(n,s,i)=>{const o=e.fileSystem;const r=n.path;if(!r)return i();o.stat(r,(o,a)=>{if(o||!a){if(s.missingDependencies)s.missingDependencies.add(r);if(s.log)s.log(r+" doesn't exist");return i()}if(!a.isDirectory()){if(s.missingDependencies)s.missingDependencies.add(r);if(s.log)s.log(r+" is not a directory");return i()}if(s.fileDependencies)s.fileDependencies.add(r);e.doResolve(t,n,`existing directory ${r}`,s,i)})})}}},83849:(e,t,n)=>{"use strict";const s=n(85622);const i=n(25424);const o=n(78565);const{processExportsField:r}=n(55863);const{parseIdentifier:a}=n(71053);const{checkExportsFieldTarget:c}=n(67079);e.exports=class ExportsFieldPlugin{constructor(e,t,n,s){this.source=e;this.target=s;this.conditionNames=t;this.fieldName=n;this.fieldProcessorCache=new WeakMap}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("ExportsFieldPlugin",(n,u,l)=>{if(!n.descriptionFilePath)return l();if(n.relativePath!=="."||n.request===undefined)return l();const d=n.query||n.fragment?(n.request==="."?"./":n.request)+n.query+n.fragment:n.request;const p=i.getField(n.descriptionFileData,this.fieldName);if(!p)return l();if(n.directory){return l(new Error(`Resolving to directories is not possible with the exports field (request was ${d}/)`))}let h;try{let e=this.fieldProcessorCache.get(n.descriptionFileData);if(e===undefined){e=r(p);this.fieldProcessorCache.set(n.descriptionFileData,e)}h=e(d,this.conditionNames)}catch(e){if(u.log){u.log(`Exports field in ${n.descriptionFilePath} can't be processed: ${e}`)}return l(e)}if(h.length===0){return l(new Error(`Package path ${d} is not exported from package ${n.descriptionFileRoot} (see exports field in ${n.descriptionFilePath})`))}o(h,(i,o)=>{const r=a(i);if(!r)return o();const[l,d,p]=r;const h=c(l);if(h){return o(h)}const f={...n,request:undefined,path:s.join(n.descriptionFileRoot,l),relativePath:l,query:d,fragment:p};e.doResolve(t,f,"using exports field: "+i,u,o)},(e,t)=>l(e,t||null))})}}},50295:e=>{"use strict";e.exports=class FileExistsPlugin{constructor(e,t){this.source=e;this.target=t}apply(e){const t=e.ensureHook(this.target);const n=e.fileSystem;e.getHook(this.source).tapAsync("FileExistsPlugin",(s,i,o)=>{const r=s.path;if(!r)return o();n.stat(r,(n,a)=>{if(n||!a){if(i.missingDependencies)i.missingDependencies.add(r);if(i.log)i.log(r+" doesn't exist");return o()}if(!a.isFile()){if(i.missingDependencies)i.missingDependencies.add(r);if(i.log)i.log(r+" is not a file");return o()}if(i.fileDependencies)i.fileDependencies.add(r);e.doResolve(t,s,"existing file: "+r,i,o)})})}}},7317:(e,t,n)=>{"use strict";const s=n(85622);const i=n(25424);const o=n(78565);const{processImportsField:r}=n(55863);const{parseIdentifier:a}=n(71053);const c=".".charCodeAt(0);e.exports=class ImportsFieldPlugin{constructor(e,t,n,s,i){this.source=e;this.targetFile=s;this.targetPackage=i;this.conditionNames=t;this.fieldName=n;this.fieldProcessorCache=new WeakMap}apply(e){const t=e.ensureHook(this.targetFile);const n=e.ensureHook(this.targetPackage);e.getHook(this.source).tapAsync("ImportsFieldPlugin",(u,l,d)=>{if(!u.descriptionFilePath)return d();if(u.relativePath!=="."||u.request===undefined)return d();const p=u.request+u.query+u.fragment;const h=i.getField(u.descriptionFileData,this.fieldName);if(!h)return d();if(u.directory){return d(new Error(`Resolving to directories is not possible with the imports field (request was ${p}/)`))}let f;try{let e=this.fieldProcessorCache.get(u.descriptionFileData);if(e===undefined){e=r(h);this.fieldProcessorCache.set(u.descriptionFileData,e)}f=e(p,this.conditionNames)}catch(e){if(l.log){l.log(`Imports field in ${u.descriptionFilePath} can't be processed: ${e}`)}return d(e)}if(f.length===0){return d(new Error(`Package import ${p} is not imported from package ${u.descriptionFileRoot} (see imports field in ${u.descriptionFilePath})`))}o(f,(i,o)=>{const r=a(i);if(!r)return o();const[d,p,h]=r;switch(d.charCodeAt(0)){case c:{const n={...u,request:undefined,path:s.join(u.descriptionFileRoot,d),relativePath:d,query:p,fragment:h};e.doResolve(t,n,"using imports field: "+i,l,o);break}default:{const t={...u,request:d,relativePath:d,fullySpecified:true,query:p,fragment:h};e.doResolve(n,t,"using imports field: "+i,l,o)}}},(e,t)=>d(e,t||null))})}}},35949:e=>{"use strict";const t="@".charCodeAt(0);e.exports=class JoinRequestPartPlugin{constructor(e,t){this.source=e;this.target=t}apply(e){const n=e.ensureHook(this.target);e.getHook(this.source).tapAsync("JoinRequestPartPlugin",(s,i,o)=>{const r=s.request||"";let a=r.indexOf("/",3);if(a>=0&&r.charCodeAt(2)===t){a=r.indexOf("/",a+1)}let c,u,l;if(a<0){c=r;u=".";l=false}else{c=r.slice(0,a);u="."+r.slice(a);l=s.fullySpecified}const d={...s,path:e.join(s.path,c),relativePath:s.relativePath&&e.join(s.relativePath,c),request:u,fullySpecified:l};e.doResolve(n,d,null,i,o)})}}},5190:e=>{"use strict";e.exports=class JoinRequestPlugin{constructor(e,t){this.source=e;this.target=t}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("JoinRequestPlugin",(n,s,i)=>{const o={...n,path:e.join(n.path,n.request),relativePath:n.relativePath&&e.join(n.relativePath,n.request),request:undefined};e.doResolve(t,o,null,s,i)})}}},5049:e=>{"use strict";e.exports=class LogInfoPlugin{constructor(e){this.source=e}apply(e){const t=this.source;e.getHook(this.source).tapAsync("LogInfoPlugin",(e,n,s)=>{if(!n.log)return s();const i=n.log;const o="["+t+"] ";if(e.path)i(o+"Resolving in directory: "+e.path);if(e.request)i(o+"Resolving request: "+e.request);if(e.module)i(o+"Request is an module request.");if(e.directory)i(o+"Request is a directory request.");if(e.query)i(o+"Resolving request query: "+e.query);if(e.fragment)i(o+"Resolving request fragment: "+e.fragment);if(e.descriptionFilePath)i(o+"Has description data from "+e.descriptionFilePath);if(e.relativePath)i(o+"Relative path from description file is: "+e.relativePath);s()})}}},47450:(e,t,n)=>{"use strict";const s=n(85622);const i=n(25424);const o=Symbol("alreadyTriedMainField");e.exports=class MainFieldPlugin{constructor(e,t,n){this.source=e;this.options=t;this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("MainFieldPlugin",(n,r,a)=>{if(n.path!==n.descriptionFileRoot||n[o]===n.descriptionFilePath||!n.descriptionFilePath)return a();const c=s.basename(n.descriptionFilePath);let u=i.getField(n.descriptionFileData,this.options.name);if(!u||typeof u!=="string"||u==="."||u==="./"){return a()}if(this.options.forceRelative&&!/^\.\.?\//.test(u))u="./"+u;const l={...n,request:u,module:false,directory:u.endsWith("/"),[o]:n.descriptionFilePath};return e.doResolve(t,l,"use "+u+" from "+this.options.name+" in "+c,r,a)})}}},48506:(e,t,n)=>{"use strict";const s=n(78565);const i=n(82918);e.exports=class ModulesInHierachicDirectoriesPlugin{constructor(e,t,n){this.source=e;this.directories=[].concat(t);this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("ModulesInHierachicDirectoriesPlugin",(n,o,r)=>{const a=e.fileSystem;const c=i(n.path).paths.map(t=>{return this.directories.map(n=>e.join(t,n))}).reduce((e,t)=>{e.push.apply(e,t);return e},[]);s(c,(s,i)=>{a.stat(s,(r,a)=>{if(!r&&a&&a.isDirectory()){const r={...n,path:s,request:"./"+n.request,module:false};const a="looking for modules in "+s;return e.doResolve(t,r,a,o,i)}if(o.log)o.log(s+" doesn't exist or is not a directory");if(o.missingDependencies)o.missingDependencies.add(s);return i()})},r)})}}},88138:e=>{"use strict";e.exports=class ModulesInRootPlugin{constructor(e,t,n){this.source=e;this.path=t;this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("ModulesInRootPlugin",(n,s,i)=>{const o={...n,path:this.path,request:"./"+n.request,module:false};e.doResolve(t,o,"looking for modules in "+this.path,s,i)})}}},40777:e=>{"use strict";e.exports=class NextPlugin{constructor(e,t){this.source=e;this.target=t}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("NextPlugin",(n,s,i)=>{e.doResolve(t,n,null,s,i)})}}},97849:e=>{"use strict";e.exports=class ParsePlugin{constructor(e,t,n){this.source=e;this.requestOptions=t;this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("ParsePlugin",(n,s,i)=>{const o=e.parse(n.request);const r={...n,...o,...this.requestOptions};if(n.query&&!o.query){r.query=n.query}if(n.fragment&&!o.fragment){r.fragment=n.fragment}if(o&&s.log){if(o.module)s.log("Parsed request is a module");if(o.directory)s.log("Parsed request is a directory")}if(r.request&&!r.query&&r.fragment){const n=r.fragment.endsWith("/");const o={...r,directory:n,request:r.request+(r.directory?"/":"")+(n?r.fragment.slice(0,-1):r.fragment),fragment:""};e.doResolve(t,o,null,s,(n,o)=>{if(n)return i(n);if(o)return i(null,o);e.doResolve(t,r,null,s,i)});return}e.doResolve(t,r,null,s,i)})}}},44222:e=>{"use strict";e.exports=class PnpPlugin{constructor(e,t,n){this.source=e;this.pnpApi=t;this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("PnpPlugin",(n,s,i)=>{const o=n.request;if(!o)return i();const r=`${n.path}/`;const a=/^(@[^/]+\/)?[^/]+/.exec(o);if(!a)return i();const c=a[0];const u=`.${o.slice(c.length)}`;let l;let d;try{l=this.pnpApi.resolveToUnqualified(c,r,{considerBuiltins:false});if(s.fileDependencies){d=this.pnpApi.resolveToUnqualified("pnpapi",r,{considerBuiltins:false})}}catch(e){if(e.code==="MODULE_NOT_FOUND"&&e.pnpCode==="UNDECLARED_DEPENDENCY"){if(s.log){s.log(`request is not managed by the pnpapi`);for(const t of e.message.split("\n").filter(Boolean))s.log(` ${t}`)}return i()}return i(e)}if(l===c)return i();if(d&&s.fileDependencies){s.fileDependencies.add(d)}const p={...n,path:l,request:u,ignoreSymlinks:true,fullySpecified:n.fullySpecified&&u!=="."};e.doResolve(t,p,`resolved by pnp to ${l}`,s,(e,t)=>{if(e)return i(e);if(t)return i(null,t);return i(null,null)})})}}},55516:(e,t,n)=>{"use strict";const{AsyncSeriesBailHook:s,AsyncSeriesHook:i,SyncHook:o}=n(6967);const r=n(81218);const{parseIdentifier:a}=n(71053);const{normalize:c,cachedJoin:u,getType:l,PathType:d}=n(67079);function toCamelCase(e){return e.replace(/-([a-z])/g,e=>e.substr(1).toUpperCase())}class Resolver{static createStackEntry(e,t){return e.name+": ("+t.path+") "+(t.request||"")+(t.query||"")+(t.fragment||"")+(t.directory?" directory":"")+(t.module?" module":"")}constructor(e,t){this.fileSystem=e;this.options=t;this.hooks={resolveStep:new o(["hook","request"],"resolveStep"),noResolve:new o(["request","error"],"noResolve"),resolve:new s(["request","resolveContext"],"resolve"),result:new i(["result","resolveContext"],"result")}}ensureHook(e){if(typeof e!=="string"){return e}e=toCamelCase(e);if(/^before/.test(e)){return this.ensureHook(e[6].toLowerCase()+e.substr(7)).withOptions({stage:-10})}if(/^after/.test(e)){return this.ensureHook(e[5].toLowerCase()+e.substr(6)).withOptions({stage:10})}const t=this.hooks[e];if(!t){return this.hooks[e]=new s(["request","resolveContext"],e)}return t}getHook(e){if(typeof e!=="string"){return e}e=toCamelCase(e);if(/^before/.test(e)){return this.getHook(e[6].toLowerCase()+e.substr(7)).withOptions({stage:-10})}if(/^after/.test(e)){return this.getHook(e[5].toLowerCase()+e.substr(6)).withOptions({stage:10})}const t=this.hooks[e];if(!t){throw new Error(`Hook ${e} doesn't exist`)}return t}resolveSync(e,t,n){let s=undefined;let i=undefined;let o=false;this.resolve(e,t,n,{},(e,t)=>{s=e;i=t;o=true});if(!o){throw new Error("Cannot 'resolveSync' because the fileSystem is not sync. Use 'resolve'!")}if(s)throw s;if(i===undefined)throw new Error("No result");return i}resolve(e,t,n,s,i){if(!e||typeof e!=="object")return i(new Error("context argument is not an object"));if(typeof t!=="string")return i(new Error("path argument is not a string"));if(typeof n!=="string")return i(new Error("path argument is not a string"));if(!s)return i(new Error("resolveContext argument is not set"));const o={context:e,path:t,request:n};const r=`resolve '${n}' in '${t}'`;const a=e=>{return i(null,e.path===false?false:`${e.path.replace(/#/g,"\0#")}${e.query?e.query.replace(/#/g,"\0#"):""}${e.fragment||""}`,e)};const c=e=>{const t=new Error("Can't "+r);t.details=e.join("\n");this.hooks.noResolve.call(o,t);return i(t)};if(s.log){const e=s.log;const t=[];return this.doResolve(this.hooks.resolve,o,r,{log:n=>{e(n);t.push(n)},fileDependencies:s.fileDependencies,contextDependencies:s.contextDependencies,missingDependencies:s.missingDependencies,stack:s.stack},(e,n)=>{if(e)return i(e);if(n)return a(n);return c(t)})}else{return this.doResolve(this.hooks.resolve,o,r,{log:undefined,fileDependencies:s.fileDependencies,contextDependencies:s.contextDependencies,missingDependencies:s.missingDependencies,stack:s.stack},(e,t)=>{if(e)return i(e);if(t)return a(t);const n=[];return this.doResolve(this.hooks.resolve,o,r,{log:e=>n.push(e),stack:s.stack},(e,t)=>{if(e)return i(e);return c(n)})})}}doResolve(e,t,n,s,i){const o=Resolver.createStackEntry(e,t);let a;if(s.stack){a=new Set(s.stack);if(s.stack.has(o)){const e=new Error("Recursion in resolving\nStack:\n "+Array.from(a).join("\n "));e.recursion=true;if(s.log)s.log("abort resolving because of recursion");return i(e)}a.add(o)}else{a=new Set([o])}this.hooks.resolveStep.call(e,t);if(e.isUsed()){const o=r({log:s.log,fileDependencies:s.fileDependencies,contextDependencies:s.contextDependencies,missingDependencies:s.missingDependencies,stack:a},n);return e.callAsync(t,o,(e,t)=>{if(e)return i(e);if(t)return i(null,t);i()})}else{i()}}parse(e){const t={request:"",query:"",fragment:"",module:false,directory:false,file:false,internal:false};const n=a(e);if(!n)return t;[t.request,t.query,t.fragment]=n;if(t.request.length>0){t.internal=this.isPrivate(e);t.module=this.isModule(t.request);t.directory=this.isDirectory(t.request);if(t.directory){t.request=t.request.substr(0,t.request.length-1)}}return t}isModule(e){return l(e)===d.Normal}isPrivate(e){return l(e)===d.Internal}isDirectory(e){return e.endsWith("/")}join(e,t){return u(e,t)}normalize(e){return c(e)}}e.exports=Resolver},47716:(e,t,n)=>{"use strict";const s=n(61765).versions;const i=n(55516);const{getType:o,PathType:r}=n(67079);const a=n(87474);const c=n(14819);const u=n(63676);const l=n(92088);const d=n(6953);const p=n(44112);const h=n(60895);const f=n(83849);const m=n(50295);const g=n(7317);const y=n(35949);const v=n(5190);const b=n(47450);const k=n(48506);const w=n(88138);const x=n(40777);const C=n(97849);const M=n(44222);const S=n(36400);const O=n(13965);const T=n(66737);const P=n(52232);const $=n(58885);const F=n(99324);const j=n(41606);const _=n(96972);function processPnpApiOption(e){if(e===undefined&&s.pnp){return n(75055)}return e||null}function normalizeAlias(e){return typeof e==="object"&&!Array.isArray(e)&&e!==null?Object.keys(e).map(t=>{const n={name:t,onlyModule:false,alias:e[t]};if(/\$$/.test(t)){n.onlyModule=true;n.name=t.substr(0,t.length-1)}return n}):e||[]}function createOptions(e){const t=new Set(e.mainFields||["main"]);const n=[];for(const e of t){if(typeof e==="string"){n.push({name:[e],forceRelative:true})}else if(Array.isArray(e)){n.push({name:e,forceRelative:true})}else{n.push({name:Array.isArray(e.name)?e.name:[e.name],forceRelative:e.forceRelative})}}return{alias:normalizeAlias(e.alias),fallback:normalizeAlias(e.fallback),aliasFields:new Set(e.aliasFields),cachePredicate:e.cachePredicate||function(){return true},cacheWithContext:typeof e.cacheWithContext!=="undefined"?e.cacheWithContext:true,exportsFields:new Set(e.exportsFields||["exports"]),importsFields:new Set(e.importsFields||["imports"]),conditionNames:new Set(e.conditionNames),descriptionFiles:Array.from(new Set(e.descriptionFiles||["package.json"])),enforceExtension:e.enforceExtension||false,extensions:new Set(e.extensions||[".js",".json",".node"]),fileSystem:e.useSyncFileSystemCalls?new a(e.fileSystem):e.fileSystem,unsafeCache:e.unsafeCache&&typeof e.unsafeCache!=="object"?{}:e.unsafeCache||false,symlinks:typeof e.symlinks!=="undefined"?e.symlinks:true,resolver:e.resolver,modules:mergeFilteredToArray(Array.isArray(e.modules)?e.modules:e.modules?[e.modules]:["node_modules"],e=>{const t=o(e);return t===r.Normal||t===r.Relative}),mainFields:n,mainFiles:new Set(e.mainFiles||["index"]),plugins:e.plugins||[],pnpApi:processPnpApiOption(e.pnpApi),roots:new Set(e.roots||undefined),fullySpecified:e.fullySpecified||false,resolveToContext:e.resolveToContext||false,preferRelative:e.preferRelative||false,restrictions:new Set(e.restrictions)}}t.createResolver=function(e){const t=createOptions(e);const{alias:n,fallback:s,aliasFields:o,cachePredicate:r,cacheWithContext:a,conditionNames:z,descriptionFiles:q,enforceExtension:W,exportsFields:A,importsFields:G,extensions:B,fileSystem:R,fullySpecified:J,mainFields:V,mainFiles:I,modules:D,plugins:K,pnpApi:X,resolveToContext:N,preferRelative:L,symlinks:Q,unsafeCache:Y,resolver:H,restrictions:U,roots:E}=t;const Z=K.slice();const ee=H?H:new i(R,t);ee.ensureHook("resolve");ee.ensureHook("internalResolve");ee.ensureHook("newInteralResolve");ee.ensureHook("parsedResolve");ee.ensureHook("describedResolve");ee.ensureHook("internal");ee.ensureHook("rawModule");ee.ensureHook("module");ee.ensureHook("resolveAsModule");ee.ensureHook("undescribedResolveInPackage");ee.ensureHook("resolveInPackage");ee.ensureHook("resolveInExistingDirectory");ee.ensureHook("relative");ee.ensureHook("describedRelative");ee.ensureHook("directory");ee.ensureHook("undescribedExistingDirectory");ee.ensureHook("existingDirectory");ee.ensureHook("undescribedRawFile");ee.ensureHook("rawFile");ee.ensureHook("file");ee.ensureHook("finalFile");ee.ensureHook("existingFile");ee.ensureHook("resolved");for(const{source:e,resolveOptions:t}of[{source:"resolve",resolveOptions:{fullySpecified:J}},{source:"internal-resolve",resolveOptions:{fullySpecified:false}}]){if(Y){Z.push(new j(e,r,Y,a,`new-${e}`));Z.push(new C(`new-${e}`,t,"parsed-resolve"))}else{Z.push(new C(e,t,"parsed-resolve"))}}Z.push(new p("parsed-resolve",q,false,"described-resolve"));Z.push(new x("after-parsed-resolve","described-resolve"));Z.push(new x("described-resolve","normal-resolve"));if(s.length>0){Z.push(new u("described-resolve",s,"internal-resolve"))}if(n.length>0)Z.push(new u("normal-resolve",n,"internal-resolve"));o.forEach(e=>{Z.push(new c("normal-resolve",e,"internal-resolve"))});if(L){Z.push(new v("after-normal-resolve","relative"))}Z.push(new d("after-normal-resolve",{module:true},"resolve as module",false,"raw-module"));Z.push(new d("after-normal-resolve",{internal:true},"resolve as internal import",false,"internal"));if(E.size>0){Z.push(new T("after-normal-resolve",E,"relative"))}if(!L){Z.push(new v("after-normal-resolve","relative"))}G.forEach(e=>{Z.push(new g("internal",z,e,"relative","internal-resolve"))});A.forEach(e=>{Z.push(new P("raw-module",e,"resolve-as-module"))});D.forEach(e=>{if(Array.isArray(e)){Z.push(new k("raw-module",e,"module"));if(e.includes("node_modules")&&X){Z.push(new M("raw-module",X,"undescribed-resolve-in-package"))}}else{Z.push(new w("raw-module",e,"module"))}});Z.push(new y("module","resolve-as-module"));if(!N){Z.push(new d("resolve-as-module",{directory:false,request:"."},"single file module",true,"undescribed-raw-file"))}Z.push(new h("resolve-as-module","undescribed-resolve-in-package"));Z.push(new p("undescribed-resolve-in-package",q,false,"resolve-in-package"));Z.push(new x("after-undescribed-resolve-in-package","resolve-in-package"));A.forEach(e=>{Z.push(new f("resolve-in-package",z,e,"relative"))});Z.push(new x("resolve-in-package","resolve-in-existing-directory"));Z.push(new v("resolve-in-existing-directory","relative"));Z.push(new p("relative",q,true,"described-relative"));Z.push(new x("after-relative","described-relative"));if(N){Z.push(new x("described-relative","directory"))}else{Z.push(new d("described-relative",{directory:false},null,true,"raw-file"));Z.push(new d("described-relative",{fullySpecified:false},"as directory",true,"directory"))}Z.push(new h("directory","undescribed-existing-directory"));if(N){Z.push(new x("undescribed-existing-directory","resolved"))}else{Z.push(new p("undescribed-existing-directory",q,false,"existing-directory"));I.forEach(e=>{Z.push(new _("undescribed-existing-directory",e,"undescribed-raw-file"))});V.forEach(e=>{Z.push(new b("existing-directory",e,"resolve-in-existing-directory"))});I.forEach(e=>{Z.push(new _("existing-directory",e,"undescribed-raw-file"))});Z.push(new p("undescribed-raw-file",q,true,"raw-file"));Z.push(new x("after-undescribed-raw-file","raw-file"));Z.push(new d("raw-file",{fullySpecified:true},null,false,"file"));if(!W){Z.push(new F("raw-file","no extension","file"))}B.forEach(e=>{Z.push(new l("raw-file",e,"file"))});if(n.length>0)Z.push(new u("file",n,"internal-resolve"));o.forEach(e=>{Z.push(new c("file",e,"internal-resolve"))});Z.push(new x("file","final-file"));Z.push(new m("final-file","existing-file"));if(Q)Z.push(new $("existing-file","existing-file"));Z.push(new x("existing-file","resolved"))}if(U.size>0){Z.push(new S(ee.hooks.resolved,U))}Z.push(new O(ee.hooks.resolved));for(const e of Z){if(typeof e==="function"){e.call(ee,ee)}else{e.apply(ee)}}return ee};function mergeFilteredToArray(e,t){const n=[];const s=new Set(e);for(const e of s){if(t(e)){const t=n.length>0?n[n.length-1]:undefined;if(Array.isArray(t)){t.push(e)}else{n.push([e])}}else{n.push(e)}}return n}},36400:e=>{"use strict";const t="/".charCodeAt(0);const n="\\".charCodeAt(0);const s=(e,s)=>{if(!e.startsWith(s))return false;if(e.length===s.length)return true;const i=e.charCodeAt(s.length);return i===t||i===n};e.exports=class RestrictionsPlugin{constructor(e,t){this.source=e;this.restrictions=t}apply(e){e.getHook(this.source).tapAsync("RestrictionsPlugin",(e,t,n)=>{if(typeof e.path==="string"){const i=e.path;for(const e of this.restrictions){if(typeof e==="string"){if(!s(i,e)){if(t.log){t.log(`${i} is not inside of the restriction ${e}`)}return n(null,null)}}else if(!e.test(i)){if(t.log){t.log(`${i} doesn't match the restriction ${e}`)}return n(null,null)}}}n()})}}},13965:e=>{"use strict";e.exports=class ResultPlugin{constructor(e){this.source=e}apply(e){this.source.tapAsync("ResultPlugin",(t,n,s)=>{const i={...t};if(n.log)n.log("reporting result "+i.path);e.hooks.result.callAsync(i,n,e=>{if(e)return s(e);s(null,i)})})}}},66737:(e,t,n)=>{"use strict";const s=n(78565);class RootsPlugin{constructor(e,t,n){this.roots=Array.from(t);this.source=e;this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("RootsPlugin",(n,i,o)=>{const r=n.request;if(!r)return o();if(!r.startsWith("/"))return o();s(this.roots,(s,o)=>{const a=e.join(s,r.slice(1));const c={...n,path:a,relativePath:n.relativePath&&a};e.doResolve(t,c,`root path ${s}`,i,o)},o)})}}e.exports=RootsPlugin},52232:(e,t,n)=>{"use strict";const s=n(25424);const i="/".charCodeAt(0);e.exports=class SelfReferencePlugin{constructor(e,t,n){this.source=e;this.target=n;this.fieldName=t}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("SelfReferencePlugin",(n,o,r)=>{if(!n.descriptionFilePath)return r();const a=n.request;if(!a)return r();const c=s.getField(n.descriptionFileData,this.fieldName);if(!c)return r();const u=s.getField(n.descriptionFileData,"name");if(typeof u!=="string")return r();if(a.startsWith(u)&&(a.length===u.length||a.charCodeAt(u.length)===i)){const s=`.${a.slice(u.length)}`;const i={...n,request:s,path:n.descriptionFileRoot,relativePath:"."};e.doResolve(t,i,"self reference",o,r)}else{return r()}})}}},58885:(e,t,n)=>{"use strict";const s=n(78565);const i=n(82918);const{getType:o,PathType:r}=n(67079);e.exports=class SymlinkPlugin{constructor(e,t){this.source=e;this.target=t}apply(e){const t=e.ensureHook(this.target);const n=e.fileSystem;e.getHook(this.source).tapAsync("SymlinkPlugin",(a,c,u)=>{if(a.ignoreSymlinks)return u();const l=i(a.path);const d=l.seqments;const p=l.paths;let h=false;let f=-1;s(p,(e,t)=>{f++;if(c.fileDependencies)c.fileDependencies.add(e);n.readlink(e,(e,n)=>{if(!e&&n){d[f]=n;h=true;const e=o(n.toString());if(e===r.AbsoluteWin||e===r.AbsolutePosix){return t(null,f)}}t()})},(n,s)=>{if(!h)return u();const i=typeof s==="number"?d.slice(0,s+1):d.slice();const o=i.reduceRight((t,n)=>{return e.join(t,n)});const r={...a,path:o};e.doResolve(t,r,"resolved symlink to "+o,c,u)})})}}},87474:e=>{"use strict";function SyncAsyncFileSystemDecorator(e){this.fs=e;this.lstat=undefined;this.lstatSync=undefined;const t=e.lstatSync;if(t){this.lstat=((n,s,i)=>{let o;try{o=t.call(e,n)}catch(e){return(i||s)(e)}(i||s)(null,o)});this.lstatSync=((n,s)=>t.call(e,n,s))}this.stat=((t,n,s)=>{let i;try{i=e.statSync(t,n)}catch(e){return(s||n)(e)}(s||n)(null,i)});this.statSync=((t,n)=>e.statSync(t,n));this.readdir=((t,n,s)=>{let i;try{i=e.readdirSync(t)}catch(e){return(s||n)(e)}(s||n)(null,i)});this.readdirSync=((t,n)=>e.readdirSync(t,n));this.readFile=((t,n,s)=>{let i;try{i=e.readFileSync(t)}catch(e){return(s||n)(e)}(s||n)(null,i)});this.readFileSync=((t,n)=>e.readFileSync(t,n));this.readlink=((t,n,s)=>{let i;try{i=e.readlinkSync(t)}catch(e){return(s||n)(e)}(s||n)(null,i)});this.readlinkSync=((t,n)=>e.readlinkSync(t,n));this.readJson=undefined;this.readJsonSync=undefined;const n=e.readJsonSync;if(n){this.readJson=((t,s,i)=>{let o;try{o=n.call(e,t)}catch(e){return(i||s)(e)}(i||s)(null,o)});this.readJsonSync=((t,s)=>n.call(e,t,s))}}e.exports=SyncAsyncFileSystemDecorator},99324:e=>{"use strict";e.exports=class TryNextPlugin{constructor(e,t,n){this.source=e;this.message=t;this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("TryNextPlugin",(n,s,i)=>{e.doResolve(t,n,this.message,s,i)})}}},41606:e=>{"use strict";function getCacheId(e,t){return JSON.stringify({context:t?e.context:"",path:e.path,query:e.query,fragment:e.fragment,request:e.request})}e.exports=class UnsafeCachePlugin{constructor(e,t,n,s,i){this.source=e;this.filterPredicate=t;this.withContext=s;this.cache=n;this.target=i}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("UnsafeCachePlugin",(n,s,i)=>{if(!this.filterPredicate(n))return i();const o=getCacheId(n,this.withContext);const r=this.cache[o];if(r){return i(null,r)}e.doResolve(t,n,null,s,(e,t)=>{if(e)return i(e);if(t)return i(null,this.cache[o]=t);i()})})}}},96972:e=>{"use strict";e.exports=class UseFilePlugin{constructor(e,t,n){this.source=e;this.filename=t;this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("UseFilePlugin",(n,s,i)=>{const o=e.join(n.path,this.filename);const r={...n,path:o,relativePath:n.relativePath&&e.join(n.relativePath,this.filename)};e.doResolve(t,r,"using path: "+o,s,i)})}}},81218:e=>{"use strict";e.exports=function createInnerContext(e,t,n){let s=false;let i=undefined;if(e.log){if(t){i=(n=>{if(!s){e.log(t);s=true}e.log(" "+n)})}else{i=e.log}}const o={log:i,fileDependencies:e.fileDependencies,contextDependencies:e.contextDependencies,missingDependencies:e.missingDependencies,stack:e.stack};return o}},78565:e=>{"use strict";e.exports=function forEachBail(e,t,n){if(e.length===0)return n();let s=0;const i=()=>{let o=undefined;t(e[s++],(t,r)=>{if(t||r!==undefined||s>=e.length){return n(t,r)}if(o===false)while(i());o=true});if(!o)o=false;return o};while(i());}},47956:e=>{"use strict";e.exports=function getInnerRequest(e,t){if(typeof t.__innerRequest==="string"&&t.__innerRequest_request===t.request&&t.__innerRequest_relativePath===t.relativePath)return t.__innerRequest;let n;if(t.request){n=t.request;if(/^\.\.?\//.test(n)&&t.relativePath){n=e.join(t.relativePath,n)}}else{n=t.relativePath}t.__innerRequest_request=t.request;t.__innerRequest_relativePath=t.relativePath;return t.__innerRequest=n}},82918:e=>{"use strict";e.exports=function getPaths(e){const t=e.split(/(.*?[\\/]+)/);const n=[e];const s=[t[t.length-1]];let i=t[t.length-1];e=e.substr(0,e.length-i.length-1);for(let o=t.length-2;o>2;o-=2){n.push(e);i=t[o];e=e.substr(0,e.length-i.length)||"/";s.push(i.substr(0,i.length-1))}i=t[1];s.push(i);n.push(i);return{paths:n,seqments:s}};e.exports.basename=function basename(e){const t=e.lastIndexOf("/"),n=e.lastIndexOf("\\");const s=t<0?n:n<0?t:t{"use strict";const s=n(90552);const i=n(52788);const o=n(47716);const r=new i(s,4e3);const a={environments:["node+es3+es5+process+native"]};const c=o.createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],fileSystem:r});function resolve(e,t,n,s,i){if(typeof e==="string"){i=s;s=n;n=t;t=e;e=a}if(typeof i!=="function"){i=s}c.resolve(e,t,n,s,i)}const u=o.createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],useSyncFileSystemCalls:true,fileSystem:r});function resolveSync(e,t,n){if(typeof e==="string"){n=t;t=e;e=a}return u.resolveSync(e,t,n)}function create(e){e={fileSystem:r,...e};const t=o.createResolver(e);return function(e,n,s,i,o){if(typeof e==="string"){o=i;i=s;s=n;n=e;e=a}if(typeof o!=="function"){o=i}t.resolve(e,n,s,i,o)}}function createSync(e){e={useSyncFileSystemCalls:true,fileSystem:r,...e};const t=o.createResolver(e);return function(e,n,s){if(typeof e==="string"){s=n;n=e;e=a}return t.resolveSync(e,n,s)}}const l=(e,t)=>{const n=Object.getOwnPropertyDescriptors(t);Object.defineProperties(e,n);return Object.freeze(e)};e.exports=l(resolve,{get sync(){return resolveSync},create:l(create,{get sync(){return createSync}}),ResolverFactory:o,CachedInputFileSystem:i,get CloneBasenamePlugin(){return n(22254)},get LogInfoPlugin(){return n(5049)},get forEachBail(){return n(78565)}})},55863:e=>{"use strict";const t="/".charCodeAt(0);const n=".".charCodeAt(0);const s="#".charCodeAt(0);e.exports.processExportsField=function processExportsField(e){return createFieldProcessor(buildExportsFieldPathTree(e),assertExportsFieldRequest,assertExportTarget)};e.exports.processImportsField=function processImportsField(e){return createFieldProcessor(buildImportsFieldPathTree(e),assertImportsFieldRequest,assertImportTarget)};function createFieldProcessor(e,t,n){return function fieldProcessor(s,i){t(s);const o=findMatch(s,e);if(o===null)return[];let r=null;const[a,c]=o;if(isConditionalMapping(a)){r=conditionalMapping(a,i);if(r===null)return[]}else{r=a}const u=c!==s.length?s.slice(c):undefined;return directMapping(u,r,i,n)}}function assertExportsFieldRequest(e){if(e.charCodeAt(0)!==n){throw new Error('Request should be relative path and start with "."')}if(e.length===1)return;if(e.charCodeAt(1)!==t){throw new Error('Request should be relative path and start with "./"')}if(e.charCodeAt(e.length-1)===t){throw new Error("Only requesting file allowed")}}function assertImportsFieldRequest(e){if(e.charCodeAt(0)!==s){throw new Error('Request should start with "#"')}if(e.length===1){throw new Error("Request should have at least 2 characters")}if(e.charCodeAt(1)===t){throw new Error('Request should not start with "#/"')}if(e.charCodeAt(e.length-1)===t){throw new Error("Only requesting file allowed")}}function assertExportTarget(e,s){if(e.charCodeAt(0)===t||e.charCodeAt(0)===n&&e.charCodeAt(1)!==t){throw new Error(`Export should be relative path and start with "./", got ${JSON.stringify(e)}.`)}const i=e.charCodeAt(e.length-1)===t;if(i!==s){throw new Error(s?`Expecting folder to folder mapping. ${JSON.stringify(e)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(e)} should not end with "/"`)}}function assertImportTarget(e,n){const s=e.charCodeAt(e.length-1)===t;if(s!==n){throw new Error(n?`Expecting folder to folder mapping. ${JSON.stringify(e)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(e)} should not end with "/"`)}}function findMatch(e,t){if(e.length===1){const e=t.files.get("*root*");return e?[e,1]:null}if(t.children===null&&t.folder===null){const n=t.files.get(e);return n?[n,e.length]:null}let n=t;let s=0;let i=e.indexOf("/",2);let o=null;while(i!==-1){const t=e.slice(s,i);const r=n.folder;if(r){if(o){o[0]=r;o[1]=s}else{o=[r,s||2]}}if(n.children===null)return o;const a=n.children.get(t);if(!a){const e=n.folder;return e?[e,s]:null}n=a;s=i+1;i=e.indexOf("/",s)}const r=n.files.get(s>0?e.slice(s):e);if(r){return[r,e.length]}const a=n.folder;if(a){return[a,s||2]}return o}function isConditionalMapping(e){return e!==null&&typeof e==="object"&&!Array.isArray(e)}function directMapping(e,t,n,s){if(t===null)return[];const i=e!==undefined;if(typeof t==="string"){s(t,i);return i?[`${t}${e}`]:[t]}const o=[];for(const r of t){if(typeof r==="string"){s(r,i);o.push(i?`${r}${e}`:r);continue}const t=conditionalMapping(r,n);if(!t)continue;const a=directMapping(e,t,n,s);for(const e of a){o.push(e)}}return o}function conditionalMapping(e,t){let n=[[e,Object.keys(e),0]];e:while(n.length>0){const[e,s,i]=n[n.length-1];const o=s.length-1;for(let r=i;r0?t.slice(i):t,n)}else{s.folder=n}}function buildExportsFieldPathTree(e){const s=createNode();if(typeof e==="string"){s.files.set("*root*",e);return s}else if(Array.isArray(e)){s.files.set("*root*",e.slice());return s}const i=Object.keys(e);for(let o=0;o{"use strict";const t=/^(#?(?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;function parseIdentifier(e){const n=t.exec(e);if(!n)return null;return[n[1].replace(/\0(.)/g,"$1"),n[2]?n[2].replace(/\0(.)/g,"$1"):"",n[3]||""]}e.exports.parseIdentifier=parseIdentifier},67079:(e,t,n)=>{"use strict";const s=n(85622);const i="#".charCodeAt(0);const o="/".charCodeAt(0);const r="\\".charCodeAt(0);const a="A".charCodeAt(0);const c="Z".charCodeAt(0);const u="a".charCodeAt(0);const l="z".charCodeAt(0);const d=".".charCodeAt(0);const p=":".charCodeAt(0);const h=s.posix.normalize;const f=s.win32.normalize;const m=Object.freeze({Empty:0,Normal:1,Relative:2,AbsoluteWin:3,AbsolutePosix:4,Internal:5});t.PathType=m;const g=e=>{switch(e.length){case 0:return m.Empty;case 1:{const t=e.charCodeAt(0);switch(t){case d:return m.Relative;case o:return m.AbsolutePosix;case i:return m.Internal}return m.Normal}case 2:{const t=e.charCodeAt(0);switch(t){case d:{const t=e.charCodeAt(1);switch(t){case d:case o:return m.Relative}return m.Normal}case o:return m.AbsolutePosix;case i:return m.Internal}const n=e.charCodeAt(1);if(n===p){if(t>=a&&t<=c||t>=u&&t<=l){return m.AbsoluteWin}}return m.Normal}}const t=e.charCodeAt(0);switch(t){case d:{const t=e.charCodeAt(1);switch(t){case o:return m.Relative;case d:{const t=e.charCodeAt(2);if(t===o)return m.Relative;return m.Normal}}return m.Normal}case o:return m.AbsolutePosix;case i:return m.Internal}const n=e.charCodeAt(1);if(n===p){const n=e.charCodeAt(2);if((n===r||n===o)&&(t>=a&&t<=c||t>=u&&t<=l)){return m.AbsoluteWin}}return m.Normal};t.getType=g;const y=e=>{switch(g(e)){case m.Empty:return e;case m.AbsoluteWin:return f(e);case m.Relative:{const t=h(e);return g(t)===m.Relative?t:`./${t}`}}return h(e)};t.normalize=y;const v=(e,t)=>{if(!t)return y(e);const n=g(t);switch(n){case m.AbsolutePosix:return h(t);case m.AbsoluteWin:return f(t)}switch(g(e)){case m.Normal:case m.Relative:case m.AbsolutePosix:return h(`${e}/${t}`);case m.AbsoluteWin:return f(`${e}\\${t}`)}switch(n){case m.Empty:return e;case m.Relative:{const t=h(e);return g(t)===m.Relative?t:`./${t}`}}return h(e)};t.join=v;const b=new Map;const k=(e,t)=>{let n;let s=b.get(e);if(s===undefined){b.set(e,s=new Map)}else{n=s.get(t);if(n!==undefined)return n}n=v(e,t);s.set(t,n);return n};t.cachedJoin=k;const w=e=>{let t=2;let n=e.indexOf("/",2);let s=0;while(n!==-1){const i=e.slice(t,n);switch(i){case"..":{s--;if(s<0)return new Error(`Trying to access out of package scope. Requesting ${e}`);break}default:s++;break}t=n+1;n=e.indexOf("/",t)}};t.checkExportsFieldTarget=w},23145:(e,t,n)=>{"use strict";const s=n(50420);class Definition{constructor(e,t,n,s,i,o){this.type=e;this.name=t;this.node=n;this.parent=s;this.index=i;this.kind=o}}class ParameterDefinition extends Definition{constructor(e,t,n,i){super(s.Parameter,e,t,null,n,null);this.rest=i}}e.exports={ParameterDefinition:ParameterDefinition,Definition:Definition}},98991:(e,t,n)=>{"use strict";const s=n(42357);const i=n(85591);const o=n(60364);const r=n(56605);const a=n(50420);const c=n(18483).Scope;const u=n(21386).i8;function defaultOptions(){return{optimistic:false,directive:false,nodejsScope:false,impliedStrict:false,sourceType:"script",ecmaVersion:5,childVisitorKeys:null,fallback:"iteration"}}function updateDeeply(e,t){function isHashObject(e){return typeof e==="object"&&e instanceof Object&&!(e instanceof Array)&&!(e instanceof RegExp)}for(const n in t){if(Object.prototype.hasOwnProperty.call(t,n)){const s=t[n];if(isHashObject(s)){if(isHashObject(e[n])){updateDeeply(e[n],s)}else{e[n]=updateDeeply({},s)}}else{e[n]=s}}}return e}function analyze(e,t){const n=updateDeeply(defaultOptions(),t);const r=new i(n);const a=new o(n,r);a.visit(e);s(r.__currentScope===null,"currentScope should be null.");return r}e.exports={version:u,Reference:r,Variable:a,Scope:c,ScopeManager:i,analyze:analyze}},51483:(e,t,n)=>{"use strict";const s=n(18350).Syntax;const i=n(32886);function getLast(e){return e[e.length-1]||null}class PatternVisitor extends i.Visitor{static isPattern(e){const t=e.type;return t===s.Identifier||t===s.ObjectPattern||t===s.ArrayPattern||t===s.SpreadElement||t===s.RestElement||t===s.AssignmentPattern}constructor(e,t,n){super(null,e);this.rootPattern=t;this.callback=n;this.assignments=[];this.rightHandNodes=[];this.restElements=[]}Identifier(e){const t=getLast(this.restElements);this.callback(e,{topLevel:e===this.rootPattern,rest:t!==null&&t!==undefined&&t.argument===e,assignments:this.assignments})}Property(e){if(e.computed){this.rightHandNodes.push(e.key)}this.visit(e.value)}ArrayPattern(e){for(let t=0,n=e.elements.length;t{this.rightHandNodes.push(e)});this.visit(e.callee)}}e.exports=PatternVisitor},56605:e=>{"use strict";const t=1;const n=2;const s=t|n;class Reference{constructor(e,t,n,s,i,o,r){this.identifier=e;this.from=t;this.tainted=false;this.resolved=null;this.flag=n;if(this.isWrite()){this.writeExpr=s;this.partial=o;this.init=r}this.__maybeImplicitGlobal=i}isStatic(){return!this.tainted&&this.resolved&&this.resolved.scope.isStatic()}isWrite(){return!!(this.flag&Reference.WRITE)}isRead(){return!!(this.flag&Reference.READ)}isReadOnly(){return this.flag===Reference.READ}isWriteOnly(){return this.flag===Reference.WRITE}isReadWrite(){return this.flag===Reference.RW}}Reference.READ=t;Reference.WRITE=n;Reference.RW=s;e.exports=Reference},60364:(e,t,n)=>{"use strict";const s=n(18350).Syntax;const i=n(32886);const o=n(56605);const r=n(50420);const a=n(51483);const c=n(23145);const u=n(42357);const l=c.ParameterDefinition;const d=c.Definition;function traverseIdentifierInPattern(e,t,n,s){const i=new a(e,t,s);i.visit(t);if(n!==null&&n!==undefined){i.rightHandNodes.forEach(n.visit,n)}}class Importer extends i.Visitor{constructor(e,t){super(null,t.options);this.declaration=e;this.referencer=t}visitImport(e,t){this.referencer.visitPattern(e,e=>{this.referencer.currentScope().__define(e,new d(r.ImportBinding,e,t,this.declaration,null,null))})}ImportNamespaceSpecifier(e){const t=e.local||e.id;if(t){this.visitImport(t,e)}}ImportDefaultSpecifier(e){const t=e.local||e.id;this.visitImport(t,e)}ImportSpecifier(e){const t=e.local||e.id;if(e.name){this.visitImport(e.name,e)}else{this.visitImport(t,e)}}}class Referencer extends i.Visitor{constructor(e,t){super(null,e);this.options=e;this.scopeManager=t;this.parent=null;this.isInnerMethodDefinition=false}currentScope(){return this.scopeManager.__currentScope}close(e){while(this.currentScope()&&e===this.currentScope().block){this.scopeManager.__currentScope=this.currentScope().__close(this.scopeManager)}}pushInnerMethodDefinition(e){const t=this.isInnerMethodDefinition;this.isInnerMethodDefinition=e;return t}popInnerMethodDefinition(e){this.isInnerMethodDefinition=e}referencingDefaultValue(e,t,n,s){const i=this.currentScope();t.forEach(t=>{i.__referencing(e,o.WRITE,t.right,n,e!==t.left,s)})}visitPattern(e,t,n){let s=t;let i=n;if(typeof t==="function"){i=t;s={processRightHandNodes:false}}traverseIdentifierInPattern(this.options,e,s.processRightHandNodes?this:null,i)}visitFunction(e){let t,n;if(e.type===s.FunctionDeclaration){this.currentScope().__define(e.id,new d(r.FunctionName,e.id,e,null,null,null))}if(e.type===s.FunctionExpression&&e.id){this.scopeManager.__nestFunctionExpressionNameScope(e)}this.scopeManager.__nestFunctionScope(e,this.isInnerMethodDefinition);const i=this;function visitPatternCallback(n,s){i.currentScope().__define(n,new l(n,e,t,s.rest));i.referencingDefaultValue(n,s.assignments,null,true)}for(t=0,n=e.params.length;t{this.currentScope().__define(t,new l(t,e,e.params.length,true))})}if(e.body){if(e.body.type===s.BlockStatement){this.visitChildren(e.body)}else{this.visit(e.body)}}this.close(e)}visitClass(e){if(e.type===s.ClassDeclaration){this.currentScope().__define(e.id,new d(r.ClassName,e.id,e,null,null,null))}this.visit(e.superClass);this.scopeManager.__nestClassScope(e);if(e.id){this.currentScope().__define(e.id,new d(r.ClassName,e.id,e))}this.visit(e.body);this.close(e)}visitProperty(e){let t;if(e.computed){this.visit(e.key)}const n=e.type===s.MethodDefinition;if(n){t=this.pushInnerMethodDefinition(true)}this.visit(e.value);if(n){this.popInnerMethodDefinition(t)}}visitForIn(e){if(e.left.type===s.VariableDeclaration&&e.left.kind!=="var"){this.scopeManager.__nestForScope(e)}if(e.left.type===s.VariableDeclaration){this.visit(e.left);this.visitPattern(e.left.declarations[0].id,t=>{this.currentScope().__referencing(t,o.WRITE,e.right,null,true,true)})}else{this.visitPattern(e.left,{processRightHandNodes:true},(t,n)=>{let s=null;if(!this.currentScope().isStrict){s={pattern:t,node:e}}this.referencingDefaultValue(t,n.assignments,s,false);this.currentScope().__referencing(t,o.WRITE,e.right,s,true,false)})}this.visit(e.right);this.visit(e.body);this.close(e)}visitVariableDeclaration(e,t,n,s){const i=n.declarations[s];const r=i.init;this.visitPattern(i.id,{processRightHandNodes:true},(a,c)=>{e.__define(a,new d(t,a,i,n,s,n.kind));this.referencingDefaultValue(a,c.assignments,null,true);if(r){this.currentScope().__referencing(a,o.WRITE,r,null,!c.topLevel,true)}})}AssignmentExpression(e){if(a.isPattern(e.left)){if(e.operator==="="){this.visitPattern(e.left,{processRightHandNodes:true},(t,n)=>{let s=null;if(!this.currentScope().isStrict){s={pattern:t,node:e}}this.referencingDefaultValue(t,n.assignments,s,false);this.currentScope().__referencing(t,o.WRITE,e.right,s,!n.topLevel,false)})}else{this.currentScope().__referencing(e.left,o.RW,e.right)}}else{this.visit(e.left)}this.visit(e.right)}CatchClause(e){this.scopeManager.__nestCatchScope(e);this.visitPattern(e.param,{processRightHandNodes:true},(t,n)=>{this.currentScope().__define(t,new d(r.CatchClause,e.param,e,null,null,null));this.referencingDefaultValue(t,n.assignments,null,true)});this.visit(e.body);this.close(e)}Program(e){this.scopeManager.__nestGlobalScope(e);if(this.scopeManager.__isNodejsScope()){this.currentScope().isStrict=false;this.scopeManager.__nestFunctionScope(e,false)}if(this.scopeManager.__isES6()&&this.scopeManager.isModule()){this.scopeManager.__nestModuleScope(e)}if(this.scopeManager.isStrictModeSupported()&&this.scopeManager.isImpliedStrict()){this.currentScope().isStrict=true}this.visitChildren(e);this.close(e)}Identifier(e){this.currentScope().__referencing(e)}UpdateExpression(e){if(a.isPattern(e.argument)){this.currentScope().__referencing(e.argument,o.RW,null)}else{this.visitChildren(e)}}MemberExpression(e){this.visit(e.object);if(e.computed){this.visit(e.property)}}Property(e){this.visitProperty(e)}MethodDefinition(e){this.visitProperty(e)}BreakStatement(){}ContinueStatement(){}LabeledStatement(e){this.visit(e.body)}ForStatement(e){if(e.init&&e.init.type===s.VariableDeclaration&&e.init.kind!=="var"){this.scopeManager.__nestForScope(e)}this.visitChildren(e);this.close(e)}ClassExpression(e){this.visitClass(e)}ClassDeclaration(e){this.visitClass(e)}CallExpression(e){if(!this.scopeManager.__ignoreEval()&&e.callee.type===s.Identifier&&e.callee.name==="eval"){this.currentScope().variableScope.__detectEval()}this.visitChildren(e)}BlockStatement(e){if(this.scopeManager.__isES6()){this.scopeManager.__nestBlockScope(e)}this.visitChildren(e);this.close(e)}ThisExpression(){this.currentScope().variableScope.__detectThis()}WithStatement(e){this.visit(e.object);this.scopeManager.__nestWithScope(e);this.visit(e.body);this.close(e)}VariableDeclaration(e){const t=e.kind==="var"?this.currentScope().variableScope:this.currentScope();for(let n=0,s=e.declarations.length;n{"use strict";const s=n(18483);const i=n(42357);const o=s.GlobalScope;const r=s.CatchScope;const a=s.WithScope;const c=s.ModuleScope;const u=s.ClassScope;const l=s.SwitchScope;const d=s.FunctionScope;const p=s.ForScope;const h=s.FunctionExpressionNameScope;const f=s.BlockScope;class ScopeManager{constructor(e){this.scopes=[];this.globalScope=null;this.__nodeToScope=new WeakMap;this.__currentScope=null;this.__options=e;this.__declaredVariables=new WeakMap}__useDirective(){return this.__options.directive}__isOptimistic(){return this.__options.optimistic}__ignoreEval(){return this.__options.ignoreEval}__isNodejsScope(){return this.__options.nodejsScope}isModule(){return this.__options.sourceType==="module"}isImpliedStrict(){return this.__options.impliedStrict}isStrictModeSupported(){return this.__options.ecmaVersion>=5}__get(e){return this.__nodeToScope.get(e)}getDeclaredVariables(e){return this.__declaredVariables.get(e)||[]}acquire(e,t){function predicate(e){if(e.type==="function"&&e.functionExpressionScope){return false}return true}const n=this.__get(e);if(!n||n.length===0){return null}if(n.length===1){return n[0]}if(t){for(let e=n.length-1;e>=0;--e){const t=n[e];if(predicate(t)){return t}}}else{for(let e=0,t=n.length;e=6}}e.exports=ScopeManager},18483:(e,t,n)=>{"use strict";const s=n(18350).Syntax;const i=n(56605);const o=n(50420);const r=n(23145).Definition;const a=n(42357);function isStrictScope(e,t,n,i){let o;if(e.upper&&e.upper.isStrict){return true}if(n){return true}if(e.type==="class"||e.type==="module"){return true}if(e.type==="block"||e.type==="switch"){return false}if(e.type==="function"){if(t.type===s.ArrowFunctionExpression&&t.body.type!==s.BlockStatement){return false}if(t.type===s.Program){o=t}else{o=t.body}if(!o){return false}}else if(e.type==="global"){o=t}else{return false}if(i){for(let e=0,t=o.body.length;e0&&s.every(shouldBeStatically)}__staticCloseRef(e){if(!this.__resolve(e)){this.__delegateToUpperScope(e)}}__dynamicCloseRef(e){let t=this;do{t.through.push(e);t=t.upper}while(t)}__globalCloseRef(e){if(this.__shouldStaticallyCloseForGlobal(e)){this.__staticCloseRef(e)}else{this.__dynamicCloseRef(e)}}__close(e){let t;if(this.__shouldStaticallyClose(e)){t=this.__staticCloseRef}else if(this.type!=="global"){t=this.__dynamicCloseRef}else{t=this.__globalCloseRef}for(let e=0,n=this.__left.length;ee.name.range[0]>=n))}}class ForScope extends Scope{constructor(e,t,n){super(e,"for",t,n,false)}}class ClassScope extends Scope{constructor(e,t,n){super(e,"class",t,n,false)}}e.exports={Scope:Scope,GlobalScope:GlobalScope,ModuleScope:ModuleScope,FunctionExpressionNameScope:FunctionExpressionNameScope,CatchScope:CatchScope,WithScope:WithScope,BlockScope:BlockScope,SwitchScope:SwitchScope,FunctionScope:FunctionScope,ForScope:ForScope,ClassScope:ClassScope}},50420:e=>{"use strict";class Variable{constructor(e,t){this.name=e;this.identifiers=[];this.references=[];this.defs=[];this.tainted=false;this.stack=true;this.scope=t}}Variable.CatchClause="CatchClause";Variable.Parameter="Parameter";Variable.FunctionName="FunctionName";Variable.ClassName="ClassName";Variable.Variable="Variable";Variable.ImportBinding="ImportBinding";Variable.ImplicitGlobalVariable="ImplicitGlobalVariable";e.exports=Variable},32886:(e,t,n)=>{(function(){"use strict";var e=n(65202);function isNode(e){if(e==null){return false}return typeof e==="object"&&typeof e.type==="string"}function isProperty(t,n){return(t===e.Syntax.ObjectExpression||t===e.Syntax.ObjectPattern)&&n==="properties"}function Visitor(t,n){n=n||{};this.__visitor=t||this;this.__childVisitorKeys=n.childVisitorKeys?Object.assign({},e.VisitorKeys,n.childVisitorKeys):e.VisitorKeys;if(n.fallback==="iteration"){this.__fallback=Object.keys}else if(typeof n.fallback==="function"){this.__fallback=n.fallback}}Visitor.prototype.visitChildren=function(t){var n,s,i,o,r,a,c;if(t==null){return}n=t.type||e.Syntax.Property;s=this.__childVisitorKeys[n];if(!s){if(this.__fallback){s=this.__fallback(t)}else{throw new Error("Unknown node type "+n+".")}}for(i=0,o=s.length;i{(function clone(e){"use strict";var t,n,s,i,o,r;function deepCopy(e){var t={},n,s;for(n in e){if(e.hasOwnProperty(n)){s=e[n];if(typeof s==="object"&&s!==null){t[n]=deepCopy(s)}else{t[n]=s}}}return t}function upperBound(e,t){var n,s,i,o;s=e.length;i=0;while(s){n=s>>>1;o=i+n;if(t(e[o])){s=n}else{i=o+1;s-=n+1}}return i}t={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};s={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};i={};o={};r={};n={Break:i,Skip:o,Remove:r};function Reference(e,t){this.parent=e;this.key=t}Reference.prototype.replace=function replace(e){this.parent[this.key]=e};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(e,t,n,s){this.node=e;this.path=t;this.wrap=n;this.ref=s}function Controller(){}Controller.prototype.path=function path(){var e,t,n,s,i,o;function addToPath(e,t){if(Array.isArray(t)){for(n=0,s=t.length;n=0;--n){if(e[n].node===t){return true}}return false}Controller.prototype.traverse=function traverse(e,t){var n,s,r,a,c,u,l,d,p,h,f,m;this.__initialize(e,t);m={};n=this.__worklist;s=this.__leavelist;n.push(new Element(e,null,null,null));s.push(new Element(null,null,null,null));while(n.length){r=n.pop();if(r===m){r=s.pop();u=this.__execute(t.leave,r);if(this.__state===i||u===i){return}continue}if(r.node){u=this.__execute(t.enter,r);if(this.__state===i||u===i){return}n.push(m);s.push(r);if(this.__state===o||u===o){continue}a=r.node;c=a.type||r.wrap;h=this.__keys[c];if(!h){if(this.__fallback){h=this.__fallback(a)}else{throw new Error("Unknown node type "+c+".")}}d=h.length;while((d-=1)>=0){l=h[d];f=a[l];if(!f){continue}if(Array.isArray(f)){p=f.length;while((p-=1)>=0){if(!f[p]){continue}if(candidateExistsInLeaveList(s,f[p])){continue}if(isProperty(c,h[d])){r=new Element(f[p],[l,p],"Property",null)}else if(isNode(f[p])){r=new Element(f[p],[l,p],null,null)}else{continue}n.push(r)}}else if(isNode(f)){if(candidateExistsInLeaveList(s,f)){continue}n.push(new Element(f,l,null,null))}}}}};Controller.prototype.replace=function replace(e,t){var n,s,a,c,u,l,d,p,h,f,m,g,y;function removeElem(e){var t,s,i,o;if(e.ref.remove()){s=e.ref.key;o=e.ref.parent;t=n.length;while(t--){i=n[t];if(i.ref&&i.ref.parent===o){if(i.ref.key=0){y=h[d];f=a[y];if(!f){continue}if(Array.isArray(f)){p=f.length;while((p-=1)>=0){if(!f[p]){continue}if(isProperty(c,h[d])){l=new Element(f[p],[y,p],"Property",new Reference(f,p))}else if(isNode(f[p])){l=new Element(f[p],[y,p],null,new Reference(f,p))}else{continue}n.push(l)}}else if(isNode(f)){n.push(new Element(f,y,null,new Reference(a,y)))}}}return g.root};function traverse(e,t){var n=new Controller;return n.traverse(e,t)}function replace(e,t){var n=new Controller;return n.replace(e,t)}function extendCommentRange(e,t){var n;n=upperBound(t,function search(t){return t.range[0]>e.range[0]});e.extendedRange=[e.range[0],e.range[1]];if(n!==t.length){e.extendedRange[1]=t[n].range[0]}n-=1;if(n>=0){e.extendedRange[0]=t[n].range[1]}return e}function attachComments(e,t,s){var i=[],o,r,a,c;if(!e.range){throw new Error("attachComments needs range information")}if(!s.length){if(t.length){for(a=0,r=t.length;ae.range[0]){break}if(t.extendedRange[1]===e.range[0]){if(!e.leadingComments){e.leadingComments=[]}e.leadingComments.push(t);i.splice(c,1)}else{c+=1}}if(c===i.length){return n.Break}if(i[c].extendedRange[0]>e.range[1]){return n.Skip}}});c=0;traverse(e,{leave:function(e){var t;while(ce.range[1]){return n.Skip}}});return e}e.Syntax=t;e.traverse=traverse;e.replace=replace;e.attachComments=attachComments;e.VisitorKeys=s;e.VisitorOption=n;e.Controller=Controller;e.cloneEnvironment=function(){return clone({})};return e})(t)},39102:e=>{"use strict";class LoadingLoaderError extends Error{constructor(e){super(e);this.name="LoaderRunnerError";Error.captureStackTrace(this,this.constructor)}}e.exports=LoadingLoaderError},8255:(e,t,n)=>{var s=n(35747);var i=s.readFile.bind(s);var o=n(44690);function utf8BufferToString(e){var t=e.toString("utf-8");if(t.charCodeAt(0)===65279){return t.substr(1)}else{return t}}const r=/^((?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;function parsePathQueryFragment(e){var t=r.exec(e);return{path:t[1].replace(/\0(.)/g,"$1"),query:t[2]?t[2].replace(/\0(.)/g,"$1"):"",fragment:t[3]||""}}function dirname(e){if(e==="/")return"/";var t=e.lastIndexOf("/");var n=e.lastIndexOf("\\");var s=e.indexOf("/");var i=e.indexOf("\\");var o=t>n?t:n;var r=t>n?s:i;if(o<0)return e;if(o===r)return e.substr(0,o+1);return e.substr(0,o)}function createLoaderObject(e){var t={path:null,query:null,fragment:null,options:null,ident:null,normal:null,pitch:null,raw:null,data:null,pitchExecuted:false,normalExecuted:false};Object.defineProperty(t,"request",{enumerable:true,get:function(){return t.path.replace(/#/g,"\0#")+t.query.replace(/#/g,"\0#")+t.fragment},set:function(e){if(typeof e==="string"){var n=parsePathQueryFragment(e);t.path=n.path;t.query=n.query;t.fragment=n.fragment;t.options=undefined;t.ident=undefined}else{if(!e.loader)throw new Error("request should be a string or object with loader and options ("+JSON.stringify(e)+")");t.path=e.loader;t.fragment=e.fragment||"";t.type=e.type;t.options=e.options;t.ident=e.ident;if(t.options===null)t.query="";else if(t.options===undefined)t.query="";else if(typeof t.options==="string")t.query="?"+t.options;else if(t.ident)t.query="??"+t.ident;else if(typeof t.options==="object"&&t.options.ident)t.query="??"+t.options.ident;else t.query="?"+JSON.stringify(t.options)}}});t.request=e;if(Object.preventExtensions){Object.preventExtensions(t)}return t}function runSyncOrAsync(e,t,n,s){var i=true;var o=false;var r=false;var a=false;t.async=function async(){if(o){if(a)return;throw new Error("async(): The callback was already called.")}i=false;return c};var c=t.callback=function(){if(o){if(a)return;throw new Error("callback(): The callback was already called.")}o=true;i=false;try{s.apply(null,arguments)}catch(e){r=true;throw e}};try{var u=function LOADER_EXECUTION(){return e.apply(t,n)}();if(i){o=true;if(u===undefined)return s();if(u&&typeof u==="object"&&typeof u.then==="function"){return u.then(function(e){s(null,e)},s)}return s(null,u)}}catch(e){if(r)throw e;if(o){if(typeof e==="object"&&e.stack)console.error(e.stack);else console.error(e);return}o=true;a=true;s(e)}}function convertArgs(e,t){if(!t&&Buffer.isBuffer(e[0]))e[0]=utf8BufferToString(e[0]);else if(t&&typeof e[0]==="string")e[0]=Buffer.from(e[0],"utf-8")}function iteratePitchingLoaders(e,t,n){if(t.loaderIndex>=t.loaders.length)return processResource(e,t,n);var s=t.loaders[t.loaderIndex];if(s.pitchExecuted){t.loaderIndex++;return iteratePitchingLoaders(e,t,n)}o(s,function(i){if(i){t.cacheable(false);return n(i)}var o=s.pitch;s.pitchExecuted=true;if(!o)return iteratePitchingLoaders(e,t,n);runSyncOrAsync(o,t,[t.remainingRequest,t.previousRequest,s.data={}],function(s){if(s)return n(s);var i=Array.prototype.slice.call(arguments,1);var o=i.some(function(e){return e!==undefined});if(o){t.loaderIndex--;iterateNormalLoaders(e,t,i,n)}else{iteratePitchingLoaders(e,t,n)}})})}function processResource(e,t,n){t.loaderIndex=t.loaders.length-1;var s=t.resourcePath;if(s){t.addDependency(s);e.readResource(s,function(s,i){if(s)return n(s);e.resourceBuffer=i;iterateNormalLoaders(e,t,[i],n)})}else{iterateNormalLoaders(e,t,[null],n)}}function iterateNormalLoaders(e,t,n,s){if(t.loaderIndex<0)return s(null,n);var i=t.loaders[t.loaderIndex];if(i.normalExecuted){t.loaderIndex--;return iterateNormalLoaders(e,t,n,s)}var o=i.normal;i.normalExecuted=true;if(!o){return iterateNormalLoaders(e,t,n,s)}convertArgs(n,i.raw);runSyncOrAsync(o,t,n,function(n){if(n)return s(n);var i=Array.prototype.slice.call(arguments,1);iterateNormalLoaders(e,t,i,s)})}t.getContext=function getContext(e){var t=parsePathQueryFragment(e).path;return dirname(t)};t.runLoaders=function runLoaders(e,t){var n=e.resource||"";var s=e.loaders||[];var o=e.context||{};var r=e.readResource||i;var a=n&&parsePathQueryFragment(n);var c=a?a.path:undefined;var u=a?a.query:undefined;var l=a?a.fragment:undefined;var d=c?dirname(c):null;var p=true;var h=[];var f=[];var m=[];s=s.map(createLoaderObject);o.context=d;o.loaderIndex=0;o.loaders=s;o.resourcePath=c;o.resourceQuery=u;o.resourceFragment=l;o.async=null;o.callback=null;o.cacheable=function cacheable(e){if(e===false){p=false}};o.dependency=o.addDependency=function addDependency(e){h.push(e)};o.addContextDependency=function addContextDependency(e){f.push(e)};o.addMissingDependency=function addMissingDependency(e){m.push(e)};o.getDependencies=function getDependencies(){return h.slice()};o.getContextDependencies=function getContextDependencies(){return f.slice()};o.getMissingDependencies=function getMissingDependencies(){return m.slice()};o.clearDependencies=function clearDependencies(){h.length=0;f.length=0;m.length=0;p=true};Object.defineProperty(o,"resource",{enumerable:true,get:function(){if(o.resourcePath===undefined)return undefined;return o.resourcePath.replace(/#/g,"\0#")+o.resourceQuery.replace(/#/g,"\0#")+o.resourceFragment},set:function(e){var t=e&&parsePathQueryFragment(e);o.resourcePath=t?t.path:undefined;o.resourceQuery=t?t.query:undefined;o.resourceFragment=t?t.fragment:undefined}});Object.defineProperty(o,"request",{enumerable:true,get:function(){return o.loaders.map(function(e){return e.request}).concat(o.resource||"").join("!")}});Object.defineProperty(o,"remainingRequest",{enumerable:true,get:function(){if(o.loaderIndex>=o.loaders.length-1&&!o.resource)return"";return o.loaders.slice(o.loaderIndex+1).map(function(e){return e.request}).concat(o.resource||"").join("!")}});Object.defineProperty(o,"currentRequest",{enumerable:true,get:function(){return o.loaders.slice(o.loaderIndex).map(function(e){return e.request}).concat(o.resource||"").join("!")}});Object.defineProperty(o,"previousRequest",{enumerable:true,get:function(){return o.loaders.slice(0,o.loaderIndex).map(function(e){return e.request}).join("!")}});Object.defineProperty(o,"query",{enumerable:true,get:function(){var e=o.loaders[o.loaderIndex];return e.options&&typeof e.options==="object"?e.options:e.query}});Object.defineProperty(o,"data",{enumerable:true,get:function(){return o.loaders[o.loaderIndex].data}});if(Object.preventExtensions){Object.preventExtensions(o)}var g={resourceBuffer:null,readResource:r};iteratePitchingLoaders(g,o,function(e,n){if(e){return t(e,{cacheable:p,fileDependencies:h,contextDependencies:f,missingDependencies:m})}t(null,{result:n,resourceBuffer:g.resourceBuffer,cacheable:p,fileDependencies:h,contextDependencies:f,missingDependencies:m})})}},44690:(module,__unused_webpack_exports,__webpack_require__)=>{var LoaderLoadingError=__webpack_require__(39102);var url;module.exports=function loadLoader(loader,callback){if(loader.type==="module"){try{if(url===undefined)url=__webpack_require__(78835);var loaderUrl=url.pathToFileURL(loader.path);var modulePromise=eval("import("+JSON.stringify(loaderUrl.toString())+")");modulePromise.then(function(e){handleResult(loader,e,callback)},callback);return}catch(e){callback(e)}}else{try{var module=require(loader.path)}catch(e){if(e instanceof Error&&e.code==="EMFILE"){var retry=loadLoader.bind(null,loader,callback);if(typeof setImmediate==="function"){return setImmediate(retry)}else{return process.nextTick(retry)}}return callback(e)}return handleResult(loader,module,callback)}};function handleResult(e,t,n){if(typeof t!=="function"&&typeof t!=="object"){return n(new LoaderLoadingError("Module '"+e.path+"' is not a loader (export function or es6 module)"))}e.normal=typeof t==="function"?t:t.default;e.pitch=t.pitch;e.raw=t.raw;if(typeof e.normal!=="function"&&typeof e.pitch!=="function"){return n(new LoaderLoadingError("Module '"+e.path+"' is not a loader (must have normal or pitch function)"))}n()}},50569:(e,t,n)=>{e.exports=n(53243)},78585:(e,t,n)=>{"use strict";var s=n(50569);var i=n(85622).extname;var o=/^\s*([^;\s]*)(?:;|\s|$)/;var r=/^text\//i;t.charset=charset;t.charsets={lookup:charset};t.contentType=contentType;t.extension=extension;t.extensions=Object.create(null);t.lookup=lookup;t.types=Object.create(null);populateMaps(t.extensions,t.types);function charset(e){if(!e||typeof e!=="string"){return false}var t=o.exec(e);var n=t&&s[t[1].toLowerCase()];if(n&&n.charset){return n.charset}if(t&&r.test(t[1])){return"UTF-8"}return false}function contentType(e){if(!e||typeof e!=="string"){return false}var n=e.indexOf("/")===-1?t.lookup(e):e;if(!n){return false}if(n.indexOf("charset")===-1){var s=t.charset(n);if(s)n+="; charset="+s.toLowerCase()}return n}function extension(e){if(!e||typeof e!=="string"){return false}var n=o.exec(e);var s=n&&t.extensions[n[1].toLowerCase()];if(!s||!s.length){return false}return s[0]}function lookup(e){if(!e||typeof e!=="string"){return false}var n=i("x."+e).toLowerCase().substr(1);if(!n){return false}return t.types[n]||false}function populateMaps(e,t){var n=["nginx","apache",undefined,"iana"];Object.keys(s).forEach(function forEachMimeType(i){var o=s[i];var r=o.extensions;if(!r||!r.length){return}e[i]=r;for(var a=0;al||u===l&&t[c].substr(0,12)==="application/")){continue}}t[c]=i}})}},9358:(e,t,n)=>{"use strict";const s=n(85622);const i=n(14442);const o=async e=>{const t=await i("package.json",{cwd:e});return t&&s.dirname(t)};e.exports=o;e.exports.sync=(e=>{const t=i.sync("package.json",{cwd:e});return t&&s.dirname(t)})},41292:(e,t,n)=>{"use strict";var s=n(68139);var i=16;var o=generateUID();var r=new RegExp('(\\\\)?"@__(F|R|D|M|S|A|U|I|B)-'+o+'-(\\d+)__@"',"g");var a=/\{\s*\[native code\]\s*\}/g;var c=/function.*?\(/;var u=/.*?=>.*?/;var l=/[<>\/\u2028\u2029]/g;var d=["*","async"];var p={"<":"\\u003C",">":"\\u003E","/":"\\u002F","\u2028":"\\u2028","\u2029":"\\u2029"};function escapeUnsafeChars(e){return p[e]}function generateUID(){var e=s(i);var t="";for(var n=0;n0});var i=s.filter(function(e){return d.indexOf(e)===-1});if(i.length>0){return(s.indexOf("async")>-1?"async ":"")+"function"+(s.join("").indexOf("*")>-1?"*":"")+t.substr(n)}return t}if(t.ignoreFunction&&typeof e==="function"){e=undefined}if(e===undefined){return String(e)}var v;if(t.isJSON&&!t.space){v=JSON.stringify(e)}else{v=JSON.stringify(e,t.isJSON?null:replacer,t.space)}if(typeof v!=="string"){return String(v)}if(t.unsafe!==true){v=v.replace(l,escapeUnsafeChars)}if(n.length===0&&s.length===0&&i.length===0&&p.length===0&&h.length===0&&f.length===0&&m.length===0&&g.length===0&&y.length===0){return v}return v.replace(r,function(e,o,r,a){if(o){return e}if(r==="D"){return'new Date("'+i[a].toISOString()+'")'}if(r==="R"){return"new RegExp("+serialize(s[a].source)+', "'+s[a].flags+'")'}if(r==="M"){return"new Map("+serialize(Array.from(p[a].entries()),t)+")"}if(r==="S"){return"new Set("+serialize(Array.from(h[a].values()),t)+")"}if(r==="A"){return"Array.prototype.slice.call("+serialize(Object.assign({length:f[a].length},f[a]),t)+")"}if(r==="U"){return"undefined"}if(r==="I"){return g[a]}if(r==="B"){return'BigInt("'+y[a]+'")'}var c=n[a];return serializeFunc(c)})}},76297:(e,t,n)=>{"use strict";const s=n(72258);const i=n(177);class AsyncParallelBailHookCodeFactory extends i{content({onError:e,onResult:t,onDone:n}){let s="";s+=`var _results = new Array(${this.options.taps.length});\n`;s+="var _checkDone = function() {\n";s+="for(var i = 0; i < _results.length; i++) {\n";s+="var item = _results[i];\n";s+="if(item === undefined) return false;\n";s+="if(item.result !== undefined) {\n";s+=t("item.result");s+="return true;\n";s+="}\n";s+="if(item.error) {\n";s+=e("item.error");s+="return true;\n";s+="}\n";s+="}\n";s+="return false;\n";s+="}\n";s+=this.callTapsParallel({onError:(e,t,n,s)=>{let i="";i+=`if(${e} < _results.length && ((_results.length = ${e+1}), (_results[${e}] = { error: ${t} }), _checkDone())) {\n`;i+=s(true);i+="} else {\n";i+=n();i+="}\n";return i},onResult:(e,t,n,s)=>{let i="";i+=`if(${e} < _results.length && (${t} !== undefined && (_results.length = ${e+1}), (_results[${e}] = { result: ${t} }), _checkDone())) {\n`;i+=s(true);i+="} else {\n";i+=n();i+="}\n";return i},onTap:(e,t,n,s)=>{let i="";if(e>0){i+=`if(${e} >= _results.length) {\n`;i+=n();i+="} else {\n"}i+=t();if(e>0)i+="}\n";return i},onDone:n});return s}}const o=new AsyncParallelBailHookCodeFactory;const r=function(e){o.setup(this,e);return o.create(e)};function AsyncParallelBailHook(e=[],t=undefined){const n=new s(e,t);n.constructor=AsyncParallelBailHook;n.compile=r;n._call=undefined;n.call=undefined;return n}AsyncParallelBailHook.prototype=null;e.exports=AsyncParallelBailHook},45874:(e,t,n)=>{"use strict";const s=n(72258);const i=n(177);class AsyncParallelHookCodeFactory extends i{content({onError:e,onDone:t}){return this.callTapsParallel({onError:(t,n,s,i)=>e(n)+i(true),onDone:t})}}const o=new AsyncParallelHookCodeFactory;const r=function(e){o.setup(this,e);return o.create(e)};function AsyncParallelHook(e=[],t=undefined){const n=new s(e,t);n.constructor=AsyncParallelHook;n.compile=r;n._call=undefined;n.call=undefined;return n}AsyncParallelHook.prototype=null;e.exports=AsyncParallelHook},13633:(e,t,n)=>{"use strict";const s=n(72258);const i=n(177);class AsyncSeriesBailHookCodeFactory extends i{content({onError:e,onResult:t,resultReturns:n,onDone:s}){return this.callTapsSeries({onError:(t,n,s,i)=>e(n)+i(true),onResult:(e,n,s)=>`if(${n} !== undefined) {\n${t(n)}\n} else {\n${s()}}\n`,resultReturns:n,onDone:s})}}const o=new AsyncSeriesBailHookCodeFactory;const r=function(e){o.setup(this,e);return o.create(e)};function AsyncSeriesBailHook(e=[],t=undefined){const n=new s(e,t);n.constructor=AsyncSeriesBailHook;n.compile=r;n._call=undefined;n.call=undefined;return n}AsyncSeriesBailHook.prototype=null;e.exports=AsyncSeriesBailHook},40436:(e,t,n)=>{"use strict";const s=n(72258);const i=n(177);class AsyncSeriesHookCodeFactory extends i{content({onError:e,onDone:t}){return this.callTapsSeries({onError:(t,n,s,i)=>e(n)+i(true),onDone:t})}}const o=new AsyncSeriesHookCodeFactory;const r=function(e){o.setup(this,e);return o.create(e)};function AsyncSeriesHook(e=[],t=undefined){const n=new s(e,t);n.constructor=AsyncSeriesHook;n.compile=r;n._call=undefined;n.call=undefined;return n}AsyncSeriesHook.prototype=null;e.exports=AsyncSeriesHook},34656:(e,t,n)=>{"use strict";const s=n(72258);const i=n(177);class AsyncSeriesLoopHookCodeFactory extends i{content({onError:e,onDone:t}){return this.callTapsLooping({onError:(t,n,s,i)=>e(n)+i(true),onDone:t})}}const o=new AsyncSeriesLoopHookCodeFactory;const r=function(e){o.setup(this,e);return o.create(e)};function AsyncSeriesLoopHook(e=[],t=undefined){const n=new s(e,t);n.constructor=AsyncSeriesLoopHook;n.compile=r;n._call=undefined;n.call=undefined;return n}AsyncSeriesLoopHook.prototype=null;e.exports=AsyncSeriesLoopHook},47794:(e,t,n)=>{"use strict";const s=n(72258);const i=n(177);class AsyncSeriesWaterfallHookCodeFactory extends i{content({onError:e,onResult:t,onDone:n}){return this.callTapsSeries({onError:(t,n,s,i)=>e(n)+i(true),onResult:(e,t,n)=>{let s="";s+=`if(${t} !== undefined) {\n`;s+=`${this._args[0]} = ${t};\n`;s+=`}\n`;s+=n();return s},onDone:()=>t(this._args[0])})}}const o=new AsyncSeriesWaterfallHookCodeFactory;const r=function(e){o.setup(this,e);return o.create(e)};function AsyncSeriesWaterfallHook(e=[],t=undefined){if(e.length<1)throw new Error("Waterfall hooks must have at least one argument");const n=new s(e,t);n.constructor=AsyncSeriesWaterfallHook;n.compile=r;n._call=undefined;n.call=undefined;return n}AsyncSeriesWaterfallHook.prototype=null;e.exports=AsyncSeriesWaterfallHook},72258:(e,t,n)=>{"use strict";const s=n(31669);const i=s.deprecate(()=>{},"Hook.context is deprecated and will be removed");const o=function(...e){this.call=this._createCall("sync");return this.call(...e)};const r=function(...e){this.callAsync=this._createCall("async");return this.callAsync(...e)};const a=function(...e){this.promise=this._createCall("promise");return this.promise(...e)};class Hook{constructor(e=[],t=undefined){this._args=e;this.name=t;this.taps=[];this.interceptors=[];this._call=o;this.call=o;this._callAsync=r;this.callAsync=r;this._promise=a;this.promise=a;this._x=undefined;this.compile=this.compile;this.tap=this.tap;this.tapAsync=this.tapAsync;this.tapPromise=this.tapPromise}compile(e){throw new Error("Abstract: should be overridden")}_createCall(e){return this.compile({taps:this.taps,interceptors:this.interceptors,args:this._args,type:e})}_tap(e,t,n){if(typeof t==="string"){t={name:t.trim()}}else if(typeof t!=="object"||t===null){throw new Error("Invalid tap options")}if(typeof t.name!=="string"||t.name===""){throw new Error("Missing name for tap")}if(typeof t.context!=="undefined"){i()}t=Object.assign({type:e,fn:n},t);t=this._runRegisterInterceptors(t);this._insert(t)}tap(e,t){this._tap("sync",e,t)}tapAsync(e,t){this._tap("async",e,t)}tapPromise(e,t){this._tap("promise",e,t)}_runRegisterInterceptors(e){for(const t of this.interceptors){if(t.register){const n=t.register(e);if(n!==undefined){e=n}}}return e}withOptions(e){const t=t=>Object.assign({},e,typeof t==="string"?{name:t}:t);return{name:this.name,tap:(e,n)=>this.tap(t(e),n),tapAsync:(e,n)=>this.tapAsync(t(e),n),tapPromise:(e,n)=>this.tapPromise(t(e),n),intercept:e=>this.intercept(e),isUsed:()=>this.isUsed(),withOptions:e=>this.withOptions(t(e))}}isUsed(){return this.taps.length>0||this.interceptors.length>0}intercept(e){this._resetCompilation();this.interceptors.push(Object.assign({},e));if(e.register){for(let t=0;t0){s--;const e=this.taps[s];this.taps[s+1]=e;const i=e.stage||0;if(t){if(t.has(e.name)){t.delete(e.name);continue}if(t.size>0){continue}}if(i>n){continue}s++;break}this.taps[s]=e}}Object.setPrototypeOf(Hook.prototype,null);e.exports=Hook},177:e=>{"use strict";class HookCodeFactory{constructor(e){this.config=e;this.options=undefined;this._args=undefined}create(e){this.init(e);let t;switch(this.options.type){case"sync":t=new Function(this.args(),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:e=>`throw ${e};\n`,onResult:e=>`return ${e};\n`,resultReturns:true,onDone:()=>"",rethrowIfPossible:true}));break;case"async":t=new Function(this.args({after:"_callback"}),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:e=>`_callback(${e});\n`,onResult:e=>`_callback(null, ${e});\n`,onDone:()=>"_callback();\n"}));break;case"promise":let e=false;const n=this.contentWithInterceptors({onError:t=>{e=true;return`_error(${t});\n`},onResult:e=>`_resolve(${e});\n`,onDone:()=>"_resolve();\n"});let s="";s+='"use strict";\n';s+=this.header();s+="return new Promise((function(_resolve, _reject) {\n";if(e){s+="var _sync = true;\n";s+="function _error(_err) {\n";s+="if(_sync)\n";s+="_resolve(Promise.resolve().then((function() { throw _err; })));\n";s+="else\n";s+="_reject(_err);\n";s+="};\n"}s+=n;if(e){s+="_sync = false;\n"}s+="}));\n";t=new Function(this.args(),s);break}this.deinit();return t}setup(e,t){e._x=t.taps.map(e=>e.fn)}init(e){this.options=e;this._args=e.args.slice()}deinit(){this.options=undefined;this._args=undefined}contentWithInterceptors(e){if(this.options.interceptors.length>0){const t=e.onError;const n=e.onResult;const s=e.onDone;let i="";for(let e=0;e{let n="";for(let t=0;t{let t="";for(let n=0;n{let e="";for(let t=0;t0){e+="var _taps = this.taps;\n";e+="var _interceptors = this.interceptors;\n"}return e}needContext(){for(const e of this.options.taps)if(e.context)return true;return false}callTap(e,{onError:t,onResult:n,onDone:s,rethrowIfPossible:i}){let o="";let r=false;for(let t=0;te.type!=="sync");const a=n||i;let c="";let u=s;let l=0;for(let n=this.options.taps.length-1;n>=0;n--){const i=n;const d=u!==s&&(this.options.taps[i].type!=="sync"||l++>20);if(d){l=0;c+=`function _next${i}() {\n`;c+=u();c+=`}\n`;u=(()=>`${a?"return ":""}_next${i}();\n`)}const p=u;const h=e=>{if(e)return"";return s()};const f=this.callTap(i,{onError:t=>e(i,t,p,h),onResult:t&&(e=>{return t(i,e,p,h)}),onDone:!t&&p,rethrowIfPossible:o&&(r<0||if)}c+=u();return c}callTapsLooping({onError:e,onDone:t,rethrowIfPossible:n}){if(this.options.taps.length===0)return t();const s=this.options.taps.every(e=>e.type==="sync");let i="";if(!s){i+="var _looper = (function() {\n";i+="var _loopAsync = false;\n"}i+="var _loop;\n";i+="do {\n";i+="_loop = false;\n";for(let e=0;e{let o="";o+=`if(${t} !== undefined) {\n`;o+="_loop = true;\n";if(!s)o+="if(_loopAsync) _looper();\n";o+=i(true);o+=`} else {\n`;o+=n();o+=`}\n`;return o},onDone:t&&(()=>{let e="";e+="if(!_loop) {\n";e+=t();e+="}\n";return e}),rethrowIfPossible:n&&s});i+="} while(_loop);\n";if(!s){i+="_loopAsync = true;\n";i+="});\n";i+="_looper();\n"}return i}callTapsParallel({onError:e,onResult:t,onDone:n,rethrowIfPossible:s,onTap:i=((e,t)=>t())}){if(this.options.taps.length<=1){return this.callTapsSeries({onError:e,onResult:t,onDone:n,rethrowIfPossible:s})}let o="";o+="do {\n";o+=`var _counter = ${this.options.taps.length};\n`;if(n){o+="var _done = (function() {\n";o+=n();o+="});\n"}for(let r=0;r{if(n)return"if(--_counter === 0) _done();\n";else return"--_counter;"};const c=e=>{if(e||!n)return"_counter = 0;\n";else return"_counter = 0;\n_done();\n"};o+="if(_counter <= 0) break;\n";o+=i(r,()=>this.callTap(r,{onError:t=>{let n="";n+="if(_counter > 0) {\n";n+=e(r,t,a,c);n+="}\n";return n},onResult:t&&(e=>{let n="";n+="if(_counter > 0) {\n";n+=t(r,e,a,c);n+="}\n";return n}),onDone:!t&&(()=>{return a()}),rethrowIfPossible:s}),a,c)}o+="} while(false);\n";return o}args({before:e,after:t}={}){let n=this._args;if(e)n=[e].concat(n);if(t)n=n.concat(t);if(n.length===0){return""}else{return n.join(", ")}}getTapFn(e){return`_x[${e}]`}getTap(e){return`_taps[${e}]`}getInterceptor(e){return`_interceptors[${e}]`}}e.exports=HookCodeFactory},5504:(e,t,n)=>{"use strict";const s=n(31669);const i=(e,t)=>t;class HookMap{constructor(e,t=undefined){this._map=new Map;this.name=t;this._factory=e;this._interceptors=[]}get(e){return this._map.get(e)}for(e){const t=this.get(e);if(t!==undefined){return t}let n=this._factory(e);const s=this._interceptors;for(let t=0;t{"use strict";const s=n(72258);class MultiHook{constructor(e,t=undefined){this.hooks=e;this.name=t}tap(e,t){for(const n of this.hooks){n.tap(e,t)}}tapAsync(e,t){for(const n of this.hooks){n.tapAsync(e,t)}}tapPromise(e,t){for(const n of this.hooks){n.tapPromise(e,t)}}isUsed(){for(const e of this.hooks){if(e.isUsed())return true}return false}intercept(e){for(const t of this.hooks){t.intercept(e)}}withOptions(e){return new MultiHook(this.hooks.map(t=>t.withOptions(e)),this.name)}}e.exports=MultiHook},79106:(e,t,n)=>{"use strict";const s=n(72258);const i=n(177);class SyncBailHookCodeFactory extends i{content({onError:e,onResult:t,resultReturns:n,onDone:s,rethrowIfPossible:i}){return this.callTapsSeries({onError:(t,n)=>e(n),onResult:(e,n,s)=>`if(${n} !== undefined) {\n${t(n)};\n} else {\n${s()}}\n`,resultReturns:n,onDone:s,rethrowIfPossible:i})}}const o=new SyncBailHookCodeFactory;const r=()=>{throw new Error("tapAsync is not supported on a SyncBailHook")};const a=()=>{throw new Error("tapPromise is not supported on a SyncBailHook")};const c=function(e){o.setup(this,e);return o.create(e)};function SyncBailHook(e=[],t=undefined){const n=new s(e,t);n.constructor=SyncBailHook;n.tapAsync=r;n.tapPromise=a;n.compile=c;return n}SyncBailHook.prototype=null;e.exports=SyncBailHook},10533:(e,t,n)=>{"use strict";const s=n(72258);const i=n(177);class SyncHookCodeFactory extends i{content({onError:e,onDone:t,rethrowIfPossible:n}){return this.callTapsSeries({onError:(t,n)=>e(n),onDone:t,rethrowIfPossible:n})}}const o=new SyncHookCodeFactory;const r=()=>{throw new Error("tapAsync is not supported on a SyncHook")};const a=()=>{throw new Error("tapPromise is not supported on a SyncHook")};const c=function(e){o.setup(this,e);return o.create(e)};function SyncHook(e=[],t=undefined){const n=new s(e,t);n.constructor=SyncHook;n.tapAsync=r;n.tapPromise=a;n.compile=c;return n}SyncHook.prototype=null;e.exports=SyncHook},95854:(e,t,n)=>{"use strict";const s=n(72258);const i=n(177);class SyncLoopHookCodeFactory extends i{content({onError:e,onDone:t,rethrowIfPossible:n}){return this.callTapsLooping({onError:(t,n)=>e(n),onDone:t,rethrowIfPossible:n})}}const o=new SyncLoopHookCodeFactory;const r=()=>{throw new Error("tapAsync is not supported on a SyncLoopHook")};const a=()=>{throw new Error("tapPromise is not supported on a SyncLoopHook")};const c=function(e){o.setup(this,e);return o.create(e)};function SyncLoopHook(e=[],t=undefined){const n=new s(e,t);n.constructor=SyncLoopHook;n.tapAsync=r;n.tapPromise=a;n.compile=c;return n}SyncLoopHook.prototype=null;e.exports=SyncLoopHook},60176:(e,t,n)=>{"use strict";const s=n(72258);const i=n(177);class SyncWaterfallHookCodeFactory extends i{content({onError:e,onResult:t,resultReturns:n,rethrowIfPossible:s}){return this.callTapsSeries({onError:(t,n)=>e(n),onResult:(e,t,n)=>{let s="";s+=`if(${t} !== undefined) {\n`;s+=`${this._args[0]} = ${t};\n`;s+=`}\n`;s+=n();return s},onDone:()=>t(this._args[0]),doneReturns:n,rethrowIfPossible:s})}}const o=new SyncWaterfallHookCodeFactory;const r=()=>{throw new Error("tapAsync is not supported on a SyncWaterfallHook")};const a=()=>{throw new Error("tapPromise is not supported on a SyncWaterfallHook")};const c=function(e){o.setup(this,e);return o.create(e)};function SyncWaterfallHook(e=[],t=undefined){if(e.length<1)throw new Error("Waterfall hooks must have at least one argument");const n=new s(e,t);n.constructor=SyncWaterfallHook;n.tapAsync=r;n.tapPromise=a;n.compile=c;return n}SyncWaterfallHook.prototype=null;e.exports=SyncWaterfallHook},6967:(e,t,n)=>{"use strict";t.__esModule=true;t.SyncHook=n(10533);t.SyncBailHook=n(79106);t.SyncWaterfallHook=n(60176);t.SyncLoopHook=n(95854);t.AsyncParallelHook=n(45874);t.AsyncParallelBailHook=n(76297);t.AsyncSeriesHook=n(40436);t.AsyncSeriesBailHook=n(13633);t.AsyncSeriesLoopHook=n(34656);t.AsyncSeriesWaterfallHook=n(47794);t.HookMap=n(5504);t.MultiHook=n(1081)},54882:(e,t,n)=>{"use strict";const s=n(9538);e.exports=s.default},9538:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var s=_interopRequireWildcard(n(85622));var i=_interopRequireWildcard(n(12087));var o=n(96241);var r=n(33225);var a=_interopRequireDefault(n(41292));var c=_interopRequireWildcard(n(77861));var u=_interopRequireDefault(n(29235));var l=_interopRequireDefault(n(59733));var d=_interopRequireWildcard(n(8128));var p=n(22689);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var n={};var s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e){if(Object.prototype.hasOwnProperty.call(e,i)){var o=s?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set)){Object.defineProperty(n,i,o)}else{n[i]=e[i]}}}n.default=e;if(t){t.set(e,n)}return n}class TerserPlugin{constructor(e={}){(0,r.validate)(d,e,{name:"Terser Plugin",baseDataPath:"options"});const{minify:t,terserOptions:n={},test:s=/\.[cm]?js(\?.*)?$/i,extractComments:i=true,parallel:o=true,include:a,exclude:c}=e;this.options={test:s,extractComments:i,parallel:o,include:a,exclude:c,minify:t,terserOptions:n}}static isSourceMap(e){return Boolean(e&&e.version&&e.sources&&Array.isArray(e.sources)&&typeof e.mappings==="string")}static buildError(e,t,n,s){if(e.line){const i=s&&s.originalPositionFor({line:e.line,column:e.col});if(i&&i.source&&n){return new Error(`${t} from Terser\n${e.message} [${n.shorten(i.source)}:${i.line},${i.column}][${t}:${e.line},${e.col}]${e.stack?`\n${e.stack.split("\n").slice(1).join("\n")}`:""}`)}return new Error(`${t} from Terser\n${e.message} [${t}:${e.line},${e.col}]${e.stack?`\n${e.stack.split("\n").slice(1).join("\n")}`:""}`)}if(e.stack){return new Error(`${t} from Terser\n${e.stack}`)}return new Error(`${t} from Terser\n${e.message}`)}static getAvailableNumberOfCores(e){const t=i.cpus()||{length:1};return e===true?t.length-1:Math.min(Number(e)||0,t.length-1)}async optimize(e,t,i,r){const c=t.getCache("TerserWebpackPlugin");let d=0;const h=await Promise.all(Object.keys(i).filter(n=>{const{info:s}=t.getAsset(n);if(s.minimized){return false}if(!e.webpack.ModuleFilenameHelpers.matchObject.bind(undefined,this.options)(n)){return false}return true}).map(async e=>{const{info:n,source:s}=t.getAsset(e);const i=c.getLazyHashedEtag(s);const o=c.getItemCache(e,i);const r=await o.getPromise();if(!r){d+=1}return{name:e,info:n,inputSource:s,output:r,cacheItem:o}}));let f;let m;let g;if(r.availableNumberOfCores>0){g=Math.min(d,r.availableNumberOfCores);f=(()=>{if(m){return m}m=new l.default(n.ab+"minify.js",{numWorkers:g,enableWorkerThreads:true});const e=m.getStdout();if(e){e.on("data",e=>{return process.stdout.write(e)})}const t=m.getStderr();if(t){t.on("data",e=>{return process.stderr.write(e)})}return m})}const y=(0,u.default)(f&&d>0?g:Infinity);const{SourceMapSource:v,ConcatSource:b,RawSource:k}=e.webpack.sources;const w=new Map;const x=[];for(const e of h){x.push(y(async()=>{const{name:n,inputSource:i,info:r,cacheItem:c}=e;let{output:u}=e;if(!u){let e;let l;const{source:d,map:h}=i.sourceAndMap();e=d;if(h){if(TerserPlugin.isSourceMap(h)){l=h}else{l=h;t.warnings.push(new Error(`${n} contains invalid source map`))}}if(Buffer.isBuffer(e)){e=e.toString()}const m={name:n,input:e,inputSourceMap:l,minify:this.options.minify,minifyOptions:{...this.options.terserOptions},extractComments:this.options.extractComments};if(typeof m.minifyOptions.module==="undefined"){if(typeof r.javascriptModule!=="undefined"){m.minifyOptions.module=r.javascriptModule}else if(/\.mjs(\?.*)?$/i.test(n)){m.minifyOptions.module=true}else if(/\.cjs(\?.*)?$/i.test(n)){m.minifyOptions.module=false}}try{u=await(f?f().transform((0,a.default)(m)):(0,p.minify)(m))}catch(e){const s=l&&TerserPlugin.isSourceMap(l);t.errors.push(TerserPlugin.buildError(e,n,s?t.requestShortener:undefined,s?new o.SourceMapConsumer(l):undefined));return}let g;if(this.options.extractComments.banner!==false&&u.extractedComments&&u.extractedComments.length>0&&u.code.startsWith("#!")){const e=u.code.indexOf("\n");g=u.code.substring(0,e);u.code=u.code.substring(e+1)}if(u.map){u.source=new v(u.code,n,u.map,e,l,true)}else{u.source=new k(u.code)}if(u.extractedComments&&u.extractedComments.length>0){const e=this.options.extractComments.filename||"[file].LICENSE.txt[query]";let i="";let o=n;const r=o.indexOf("?");if(r>=0){i=o.substr(r);o=o.substr(0,r)}const a=o.lastIndexOf("/");const c=a===-1?o:o.substr(a+1);const l={filename:o,basename:c,query:i};u.commentsFilename=t.getPath(e,l);let d;if(this.options.extractComments.banner!==false){d=this.options.extractComments.banner||`For license information please see ${s.relative(s.dirname(n),u.commentsFilename).replace(/\\/g,"/")}`;if(typeof d==="function"){d=d(u.commentsFilename)}if(d){u.source=new b(g?`${g}\n`:"",`/*! ${d} */\n`,u.source)}}const p=u.extractedComments.sort().join("\n\n");u.extractedCommentsSource=new k(`${p}\n`)}await c.storePromise({source:u.source,commentsFilename:u.commentsFilename,extractedCommentsSource:u.extractedCommentsSource})}const l={minimized:true};const{source:d,extractedCommentsSource:h}=u;if(h){const{commentsFilename:e}=u;l.related={license:e};w.set(n,{extractedCommentsSource:h,commentsFilename:e})}t.updateAsset(n,d,l)}))}await Promise.all(x);if(m){await m.end()}await Array.from(w).sort().reduce(async(e,[n,s])=>{const i=await e;const{commentsFilename:o,extractedCommentsSource:r}=s;if(i&&i.commentsFilename===o){const{from:e,source:s}=i;const a=`${e}|${n}`;const u=`${o}|${a}`;const l=[s,r].map(e=>c.getLazyHashedEtag(e)).reduce((e,t)=>c.mergeEtags(e,t));let d=await c.getPromise(u,l);if(!d){d=new b(Array.from(new Set([...s.source().split("\n\n"),...r.source().split("\n\n")])).join("\n\n"));await c.storePromise(u,l,d)}t.updateAsset(o,d);return{commentsFilename:o,from:a,source:d}}const a=t.getAsset(o);if(a){return{commentsFilename:o,from:o,source:a.source}}t.emitAsset(o,r);return{commentsFilename:o,from:n,source:r}},Promise.resolve())}static getEcmaVersion(e){if(e.arrowFunction||e.const||e.destructuring||e.forOf||e.module){return 2015}if(e.bigIntLiteral||e.dynamicImport){return 2020}return 5}apply(e){const{output:t}=e.options;if(typeof this.options.terserOptions.ecma==="undefined"){this.options.terserOptions.ecma=TerserPlugin.getEcmaVersion(t.environment||{})}const n=this.constructor.name;const s=TerserPlugin.getAvailableNumberOfCores(this.options.parallel);e.hooks.compilation.tap(n,t=>{const i=e.webpack.javascript.JavascriptModulesPlugin.getCompilationHooks(t);const o=(0,a.default)({terser:c.version,terserOptions:this.options.terserOptions});i.chunkHash.tap(n,(e,t)=>{t.update("TerserPlugin");t.update(o)});t.hooks.processAssets.tapPromise({name:n,stage:e.webpack.Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE},n=>this.optimize(e,t,n,{availableNumberOfCores:s}));t.hooks.statsPrinter.tap(n,e=>{e.hooks.print.for("asset.info.minimized").tap("terser-webpack-plugin",(e,{green:t,formatFlag:n})=>e?t(n("minimized")):undefined)})})}}var h=TerserPlugin;t.default=h},22689:(e,t,n)=>{"use strict";e=n.nmd(e);const{minify:s}=n(54775);function buildTerserOptions(e={}){return{...e,mangle:e.mangle==null?true:typeof e.mangle==="boolean"?e.mangle:{...e.mangle},sourceMap:undefined,...e.format?{format:{beautify:false,...e.format}}:{output:{beautify:false,...e.output}}}}function isObject(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")}function buildComments(e,t,n){const s={};let i;if(t.format){({comments:i}=t.format)}else if(t.output){({comments:i}=t.output)}s.preserve=typeof i!=="undefined"?i:false;if(typeof e==="boolean"&&e){s.extract="some"}else if(typeof e==="string"||e instanceof RegExp){s.extract=e}else if(typeof e==="function"){s.extract=e}else if(e&&isObject(e)){s.extract=typeof e.condition==="boolean"&&e.condition?"some":typeof e.condition!=="undefined"?e.condition:"some"}else{s.preserve=typeof i!=="undefined"?i:"some";s.extract=false}["preserve","extract"].forEach(e=>{let t;let n;switch(typeof s[e]){case"boolean":s[e]=s[e]?()=>true:()=>false;break;case"function":break;case"string":if(s[e]==="all"){s[e]=(()=>true);break}if(s[e]==="some"){s[e]=((e,t)=>{return(t.type==="comment2"||t.type==="comment1")&&/@preserve|@lic|@cc_on|^\**!/i.test(t.value)});break}t=s[e];s[e]=((e,n)=>{return new RegExp(t).test(n.value)});break;default:n=s[e];s[e]=((e,t)=>n.test(t.value))}});return(e,t)=>{if(s.extract(e,t)){const e=t.type==="comment2"?`/*${t.value}*/`:`//${t.value}`;if(!n.includes(e)){n.push(e)}}return s.preserve(e,t)}}async function minify(e){const{name:t,input:n,inputSourceMap:i,minify:o,minifyOptions:r}=e;if(o){return o({[t]:n},i,r)}const a=buildTerserOptions(r);if(i){a.sourceMap={asObject:true}}const c=[];const{extractComments:u}=e;if(a.output){a.output.comments=buildComments(u,a,c)}else if(a.format){a.format.comments=buildComments(u,a,c)}const l=await s({[t]:n},a);return{...l,extractedComments:c}}function transform(n){const s=new Function("exports","require","module","__filename","__dirname",`'use strict'\nreturn ${n}`)(t,require,e,__filename,__dirname);return minify(s)}e.exports.minify=minify;e.exports.transform=transform},17454:(e,t,n)=>{"use strict";const s=n(28614).EventEmitter;const i=n(90552);const o=n(85622);const r=n(73758);const a=Object.freeze({});let c=1e3;const u=n(12087).platform()==="darwin";const l=process.env.WATCHPACK_POLLING;const d=`${+l}`===l?+l:!!l&&l!=="false";function withoutCase(e){return e.toLowerCase()}function needCalls(e,t){return function(){if(--e===0){return t()}}}class Watcher extends s{constructor(e,t,n){super();this.directoryWatcher=e;this.path=t;this.startTime=n&&+n;this._cachedTimeInfoEntries=undefined}checkStartTime(e,t){const n=this.startTime;if(typeof n!=="number")return!t;return n<=e}close(){this.emit("closed")}}class DirectoryWatcher extends s{constructor(e,t,n){super();if(d){n.poll=d}this.watcherManager=e;this.options=n;this.path=t;this.files=new Map;this.filesWithoutCase=new Map;this.directories=new Map;this.lastWatchEvent=0;this.initialScan=true;this.ignored=n.ignored;this.nestedWatching=false;this.polledWatching=typeof n.poll==="number"?n.poll:n.poll?5007:false;this.timeout=undefined;this.initialScanRemoved=new Set;this.initialScanFinished=undefined;this.watchers=new Map;this.parentWatcher=null;this.refs=0;this._activeEvents=new Map;this.closed=false;this.scanning=false;this.scanAgain=false;this.scanAgainInitial=false;this.createWatcher();this.doScan(true)}checkIgnore(e){if(!this.ignored)return false;e=e.replace(/\\/g,"/");return this.ignored.test(e)}createWatcher(){try{if(this.polledWatching){this.watcher={close:()=>{if(this.timeout){clearTimeout(this.timeout);this.timeout=undefined}}}}else{if(u){this.watchInParentDirectory()}this.watcher=r.watch(this.path);this.watcher.on("change",this.onWatchEvent.bind(this));this.watcher.on("error",this.onWatcherError.bind(this))}}catch(e){this.onWatcherError(e)}}forEachWatcher(e,t){const n=this.watchers.get(withoutCase(e));if(n!==undefined){for(const e of n){t(e)}}}setMissing(e,t,n){this._cachedTimeInfoEntries=undefined;if(this.initialScan){this.initialScanRemoved.add(e)}const s=this.directories.get(e);if(s){if(this.nestedWatching)s.close();this.directories.delete(e);this.forEachWatcher(e,e=>e.emit("remove",n));if(!t){this.forEachWatcher(this.path,s=>s.emit("change",e,null,n,t))}}const i=this.files.get(e);if(i){this.files.delete(e);const s=withoutCase(e);const i=this.filesWithoutCase.get(s)-1;if(i<=0){this.filesWithoutCase.delete(s);this.forEachWatcher(e,e=>e.emit("remove",n))}else{this.filesWithoutCase.set(s,i)}if(!t){this.forEachWatcher(this.path,s=>s.emit("change",e,null,n,t))}}}setFileTime(e,t,n,s,i){const o=Date.now();if(this.checkIgnore(e))return;const r=this.files.get(e);let a,u;if(n){a=Math.min(o,t)+c;u=c}else{a=o;u=0;if(r&&r.timestamp===t&&t+c{if(!n||e.checkStartTime(a,n)){e.emit("change",t,i)}})}else if(!n){this.forEachWatcher(e,e=>e.emit("change",t,i))}this.forEachWatcher(this.path,t=>{if(!n||t.checkStartTime(a,n)){t.emit("change",e,a,i,n)}})}setDirectory(e,t,n,s){if(this.checkIgnore(e))return;if(e===this.path){if(!n){this.forEachWatcher(this.path,i=>i.emit("change",e,t,s,n))}}else{const i=this.directories.get(e);if(!i){const i=Date.now();this._cachedTimeInfoEntries=undefined;if(this.nestedWatching){this.createNestedWatcher(e)}else{this.directories.set(e,true)}let o;if(n){o=Math.min(i,t)+c}else{o=i}this.forEachWatcher(e,e=>{if(!n||e.checkStartTime(o,false)){e.emit("change",t,s)}});this.forEachWatcher(this.path,t=>{if(!n||t.checkStartTime(o,n)){t.emit("change",e,o,s,n)}})}}}createNestedWatcher(e){const t=this.watcherManager.watchDirectory(e,1);t.on("change",(e,t,n,s)=>{this._cachedTimeInfoEntries=undefined;this.forEachWatcher(this.path,i=>{if(!s||i.checkStartTime(t,s)){i.emit("change",e,t,n,s)}})});this.directories.set(e,t)}setNestedWatching(e){if(this.nestedWatching!==!!e){this.nestedWatching=!!e;this._cachedTimeInfoEntries=undefined;if(this.nestedWatching){for(const e of this.directories.keys()){this.createNestedWatcher(e)}}else{for(const[e,t]of this.directories){t.close();this.directories.set(e,true)}}}}watch(e,t){const n=withoutCase(e);let s=this.watchers.get(n);if(s===undefined){s=new Set;this.watchers.set(n,s)}this.refs++;const i=new Watcher(this,e,t);i.on("closed",()=>{if(--this.refs<=0){this.close();return}s.delete(i);if(s.size===0){this.watchers.delete(n);if(this.path===e)this.setNestedWatching(false)}});s.add(i);let o;if(e===this.path){this.setNestedWatching(true);o=this.lastWatchEvent;for(const e of this.files.values()){fixupEntryAccuracy(e);o=Math.max(o,e.safeTime)}}else{const t=this.files.get(e);if(t){fixupEntryAccuracy(t);o=t.safeTime}else{o=0}}if(o){if(o>=t){process.nextTick(()=>{if(this.closed)return;if(e===this.path){i.emit("change",e,o,"watch (outdated on attach)",true)}else{i.emit("change",o,"watch (outdated on attach)",true)}})}}else if(this.initialScan){if(this.initialScanRemoved.has(e)){process.nextTick(()=>{if(this.closed)return;i.emit("remove")})}}else if(!this.directories.has(e)&&i.checkStartTime(this.initialScanFinished,false)){process.nextTick(()=>{if(this.closed)return;i.emit("initial-missing","watch (missing on attach)")})}return i}onWatchEvent(e,t){if(this.closed)return;if(!t){this.doScan(false);return}const n=o.join(this.path,t);if(this.checkIgnore(n))return;if(this._activeEvents.get(t)===undefined){this._activeEvents.set(t,false);const s=()=>{if(this.closed)return;this._activeEvents.set(t,false);i.lstat(n,(r,a)=>{if(this.closed)return;if(this._activeEvents.get(t)===true){process.nextTick(s);return}this._activeEvents.delete(t);if(r){if(r.code!=="ENOENT"&&r.code!=="EPERM"&&r.code!=="EBUSY"){this.onStatsError(r)}else{if(t===o.basename(this.path)){if(!i.existsSync(this.path)){this.onDirectoryRemoved("stat failed")}}}}this.lastWatchEvent=Date.now();this._cachedTimeInfoEntries=undefined;if(!a){this.setMissing(n,false,e)}else if(a.isDirectory()){this.setDirectory(n,+a.birthtime||1,false,e)}else if(a.isFile()||a.isSymbolicLink()){if(a.mtime){ensureFsAccuracy(a.mtime)}this.setFileTime(n,+a.mtime||+a.ctime||1,false,false,e)}})};process.nextTick(s)}else{this._activeEvents.set(t,true)}}onWatcherError(e){if(this.closed)return;if(e){if(e.code!=="EPERM"&&e.code!=="ENOENT"){console.error("Watchpack Error (watcher): "+e)}this.onDirectoryRemoved("watch error")}}onStatsError(e){if(e){console.error("Watchpack Error (stats): "+e)}}onScanError(e){if(e){console.error("Watchpack Error (initial scan): "+e)}this.onScanFinished()}onScanFinished(){if(this.polledWatching){this.timeout=setTimeout(()=>{if(this.closed)return;this.doScan(false)},this.polledWatching)}}onDirectoryRemoved(e){if(this.watcher){this.watcher.close();this.watcher=null}this.watchInParentDirectory();const t=`directory-removed (${e})`;for(const e of this.directories.keys()){this.setMissing(e,null,t)}for(const e of this.files.keys()){this.setMissing(e,null,t)}}watchInParentDirectory(){if(!this.parentWatcher){const e=o.dirname(this.path);if(o.dirname(e)===e)return;this.parentWatcher=this.watcherManager.watchFile(this.path,1);this.parentWatcher.on("change",(e,t)=>{if(this.closed)return;if((!u||this.polledWatching)&&this.parentWatcher){this.parentWatcher.close();this.parentWatcher=null}if(!this.watcher){this.createWatcher();this.doScan(false);this.forEachWatcher(this.path,n=>n.emit("change",this.path,e,t,false))}});this.parentWatcher.on("remove",()=>{this.onDirectoryRemoved("parent directory removed")})}}doScan(e){if(this.scanning){if(this.scanAgain){if(!e)this.scanAgainInitial=false}else{this.scanAgain=true;this.scanAgainInitial=e}return}this.scanning=true;if(this.timeout){clearTimeout(this.timeout);this.timeout=undefined}process.nextTick(()=>{if(this.closed)return;i.readdir(this.path,(t,n)=>{if(this.closed)return;if(t){if(t.code==="ENOENT"||t.code==="EPERM"){this.onDirectoryRemoved("scan readdir failed")}else{this.onScanError(t)}this.initialScan=false;this.initialScanFinished=Date.now();if(e){for(const e of this.watchers.values()){for(const t of e){if(t.checkStartTime(this.initialScanFinished,false)){t.emit("initial-missing","scan (parent directory missing in initial scan)")}}}}if(this.scanAgain){this.scanAgain=false;this.doScan(this.scanAgainInitial)}else{this.scanning=false}return}const s=new Set(n.map(e=>o.join(this.path,e.normalize("NFC"))));for(const t of this.files.keys()){if(!s.has(t)){this.setMissing(t,e,"scan (missing)")}}for(const t of this.directories.keys()){if(!s.has(t)){this.setMissing(t,e,"scan (missing)")}}if(this.scanAgain){this.scanAgain=false;this.doScan(e);return}const r=needCalls(s.size+1,()=>{if(this.closed)return;this.initialScan=false;this.initialScanRemoved=null;this.initialScanFinished=Date.now();if(e){const e=new Map(this.watchers);e.delete(withoutCase(this.path));for(const t of s){e.delete(withoutCase(t))}for(const t of e.values()){for(const e of t){if(e.checkStartTime(this.initialScanFinished,false)){e.emit("initial-missing","scan (missing in initial scan)")}}}}if(this.scanAgain){this.scanAgain=false;this.doScan(this.scanAgainInitial)}else{this.scanning=false;this.onScanFinished()}});for(const t of s){i.lstat(t,(n,s)=>{if(this.closed)return;if(n){if(n.code==="ENOENT"||n.code==="EPERM"||n.code==="EBUSY"){this.setMissing(t,e,"scan ("+n.code+")")}else{this.onScanError(n)}r();return}if(s.isFile()||s.isSymbolicLink()){if(s.mtime){ensureFsAccuracy(s.mtime)}this.setFileTime(t,+s.mtime||+s.ctime||1,e,true,"scan (file)")}else if(s.isDirectory()){if(!e||!this.directories.has(t))this.setDirectory(t,+s.birthtime||1,e,"scan (dir)")}r()})}r()})})}getTimes(){const e=Object.create(null);let t=this.lastWatchEvent;for(const[n,s]of this.files){fixupEntryAccuracy(s);t=Math.max(t,s.safeTime);e[n]=Math.max(s.safeTime,s.timestamp)}if(this.nestedWatching){for(const n of this.directories.values()){const s=n.directoryWatcher.getTimes();for(const n of Object.keys(s)){const i=s[n];t=Math.max(t,i);e[n]=i}}e[this.path]=t}if(!this.initialScan){for(const t of this.watchers.values()){for(const n of t){const t=n.path;if(!Object.prototype.hasOwnProperty.call(e,t)){e[t]=null}}}}return e}getTimeInfoEntries(){if(this._cachedTimeInfoEntries!==undefined)return this._cachedTimeInfoEntries;const e=new Map;let t=this.lastWatchEvent;for(const[n,s]of this.files){fixupEntryAccuracy(s);t=Math.max(t,s.safeTime);e.set(n,s)}if(this.nestedWatching){for(const n of this.directories.values()){const s=n.directoryWatcher.getTimeInfoEntries();for(const[n,i]of s){if(i){t=Math.max(t,i.safeTime)}e.set(n,i)}}e.set(this.path,{safeTime:t})}else{for(const t of this.directories.keys()){e.set(t,a)}e.set(this.path,a)}if(!this.initialScan){for(const t of this.watchers.values()){for(const n of t){const t=n.path;if(!e.has(t)){e.set(t,null)}}}this._cachedTimeInfoEntries=e}return e}close(){this.closed=true;this.initialScan=false;if(this.watcher){this.watcher.close();this.watcher=null}if(this.nestedWatching){for(const e of this.directories.values()){e.close()}this.directories.clear()}if(this.parentWatcher){this.parentWatcher.close();this.parentWatcher=null}this.emit("closed")}}e.exports=DirectoryWatcher;e.exports.EXISTANCE_ONLY_TIME_ENTRY=a;function fixupEntryAccuracy(e){if(e.accuracy>c){e.safeTime=e.safeTime-e.accuracy+c;e.accuracy=c}}function ensureFsAccuracy(e){if(!e)return;if(c>1&&e%1!==0)c=1;else if(c>10&&e%10!==0)c=10;else if(c>100&&e%100!==0)c=100}},98034:(e,t,n)=>{"use strict";const s=n(35747);const i=n(85622);const o=new Set(process.platform==="win32"?["EINVAL","ENOENT","UNKNOWN"]:["EINVAL"]);class LinkResolver{constructor(){this.cache=new Map}resolve(e){const t=this.cache.get(e);if(t!==undefined){return t}const n=i.dirname(e);if(n===e){const t=Object.freeze([e]);this.cache.set(e,t);return t}const r=this.resolve(n);let a=e;if(r[0]!==n){const t=i.basename(e);a=i.resolve(r[0],t)}try{const t=s.readlinkSync(a);const n=i.resolve(r[0],t);const c=this.resolve(n);let u;if(c.length>1&&r.length>1){const e=new Set(c);e.add(a);for(let t=1;t1){u=r.slice();u[0]=c[0];u.push(a);Object.freeze(u)}else if(c.length>1){u=c.slice();u.push(a);Object.freeze(u)}else{u=Object.freeze([c[0],a])}this.cache.set(e,u);return u}catch(t){if(!o.has(t.code)){throw t}const n=r.slice();n[0]=a;Object.freeze(n);this.cache.set(e,n);return n}}}e.exports=LinkResolver},3401:(e,t,n)=>{"use strict";const s=n(85622);const i=n(17454);class WatcherManager{constructor(e){this.options=e;this.directoryWatchers=new Map}getDirectoryWatcher(e){const t=this.directoryWatchers.get(e);if(t===undefined){const t=new i(this,e,this.options);this.directoryWatchers.set(e,t);t.on("closed",()=>{this.directoryWatchers.delete(e)});return t}return t}watchFile(e,t){const n=s.dirname(e);if(n===e)return null;return this.getDirectoryWatcher(n).watch(e,t)}watchDirectory(e,t){return this.getDirectoryWatcher(e).watch(e,t)}}const o=new WeakMap;e.exports=(e=>{const t=o.get(e);if(t!==undefined)return t;const n=new WatcherManager(e);o.set(e,n);return n});e.exports.WatcherManager=WatcherManager},24884:(e,t,n)=>{"use strict";const s=n(85622);e.exports=((e,t)=>{const n=new Map;for(const[t,s]of e){n.set(t,{filePath:t,parent:undefined,children:undefined,entries:1,active:true,value:s})}let i=n.size;for(const e of n.values()){const t=s.dirname(e.filePath);if(t!==e.filePath){let s=n.get(t);if(s===undefined){s={filePath:t,parent:undefined,children:[e],entries:e.entries,active:false,value:undefined};n.set(t,s);e.parent=s}else{e.parent=s;if(s.children===undefined){s.children=[e]}else{s.children.push(e)}do{s.entries+=e.entries;s=s.parent}while(s)}}}while(i>t){const e=i-t;let s=undefined;let o=Infinity;for(const i of n.values()){if(i.entries<=1||!i.children||!i.parent)continue;if(i.children.length===0)continue;if(i.children.length===1&&!i.value)continue;const n=i.entries-1>=e?i.entries-1-e:e-i.entries+1+t*.3;if(n{"use strict";const s=n(35747);const i=n(85622);const{EventEmitter:o}=n(28614);const r=n(24884);const a=n(12087).platform()==="darwin";const c=n(12087).platform()==="win32";const u=a||c;const l=+process.env.WATCHPACK_WATCHER_LIMIT||(a?2e3:1e4);const d=!!process.env.WATCHPACK_RECURSIVE_WATCHER_LOGGING;let p=false;let h=0;const f=new Map;const m=new Map;const g=new Map;const y=new Map;class DirectWatcher{constructor(e){this.filePath=e;this.watchers=new Set;this.watcher=undefined;try{const t=s.watch(e);this.watcher=t;t.on("change",(e,t)=>{for(const n of this.watchers){n.emit("change",e,t)}});t.on("error",e=>{for(const t of this.watchers){t.emit("error",e)}})}catch(e){process.nextTick(()=>{for(const t of this.watchers){t.emit("error",e)}})}h++}add(e){y.set(e,this);this.watchers.add(e)}remove(e){this.watchers.delete(e);if(this.watchers.size===0){g.delete(this.filePath);h--;if(this.watcher)this.watcher.close()}}getWatchers(){return this.watchers}}class RecursiveWatcher{constructor(e){this.rootPath=e;this.mapWatcherToPath=new Map;this.mapPathToWatchers=new Map;this.watcher=undefined;try{const t=s.watch(e,{recursive:true});this.watcher=t;t.on("change",(e,t)=>{if(!t){if(d){process.stderr.write(`[watchpack] dispatch ${e} event in recursive watcher (${this.rootPath}) to all watchers\n`)}for(const t of this.mapWatcherToPath.keys()){t.emit("change",e)}}else{const n=i.dirname(t);const s=this.mapPathToWatchers.get(n);if(d){process.stderr.write(`[watchpack] dispatch ${e} event in recursive watcher (${this.rootPath}) for '${t}' to ${s?s.size:0} watchers\n`)}if(s===undefined)return;for(const n of s){n.emit("change",e,i.basename(t))}}});t.on("error",e=>{for(const t of this.mapWatcherToPath.keys()){t.emit("error",e)}})}catch(e){process.nextTick(()=>{for(const t of this.mapWatcherToPath.keys()){t.emit("error",e)}})}h++;if(d){process.stderr.write(`[watchpack] created recursive watcher at ${e}\n`)}}add(e,t){y.set(t,this);const n=e.slice(this.rootPath.length+1)||".";this.mapWatcherToPath.set(t,n);const s=this.mapPathToWatchers.get(n);if(s===undefined){const e=new Set;e.add(t);this.mapPathToWatchers.set(n,e)}else{s.add(t)}}remove(e){const t=this.mapWatcherToPath.get(e);if(!t)return;this.mapWatcherToPath.delete(e);const n=this.mapPathToWatchers.get(t);n.delete(e);if(n.size===0){this.mapPathToWatchers.delete(t)}if(this.mapWatcherToPath.size===0){m.delete(this.rootPath);h--;if(this.watcher)this.watcher.close();if(d){process.stderr.write(`[watchpack] closed recursive watcher at ${this.rootPath}\n`)}}}getWatchers(){return this.mapWatcherToPath}}class Watcher extends o{close(){if(f.has(this)){f.delete(this);return}const e=y.get(this);e.remove(this);y.delete(this)}}const v=e=>{const t=g.get(e);if(t!==undefined)return t;const n=new DirectWatcher(e);g.set(e,n);return n};const b=e=>{const t=m.get(e);if(t!==undefined)return t;const n=new RecursiveWatcher(e);m.set(e,n);return n};const k=()=>{const e=new Map;const t=(t,n)=>{const s=e.get(n);if(s===undefined){e.set(n,t)}else if(Array.isArray(s)){s.push(t)}else{e.set(n,[s,t])}};for(const[e,n]of f){t(e,n)}f.clear();if(!u||l-h>=e.size){for(const[t,n]of e){const e=v(t);if(Array.isArray(n)){for(const t of n)e.add(t)}else{e.add(n)}}return}for(const e of m.values()){for(const[n,s]of e.getWatchers()){t(n,i.join(e.rootPath,s))}}for(const e of g.values()){for(const n of e.getWatchers()){t(n,e.filePath)}}const n=r(e,l*.9);for(const[e,t]of n){if(t.size===1){for(const[e,n]of t){const t=v(n);const s=y.get(e);if(s===t)continue;t.add(e);if(s!==undefined)s.remove(e)}}else{const n=new Set(t.values());if(n.size>1){const n=b(e);for(const[e,s]of t){const t=y.get(e);if(t===n)continue;n.add(s,e);if(t!==undefined)t.remove(e)}}else{for(const e of n){const n=v(e);for(const e of t.keys()){const t=y.get(e);if(t===n)continue;n.add(e);if(t!==undefined)t.remove(e)}}}}}};t.watch=(e=>{const t=new Watcher;const n=g.get(e);if(n!==undefined){n.add(t);return t}let s=e;for(;;){const n=m.get(s);if(n!==undefined){n.add(e,t);return t}const o=i.dirname(s);if(o===s)break;s=o}f.set(t,e);if(!p)k();return t});t.batch=(e=>{p=true;try{e()}finally{p=false;k()}});t.getNumberOfWatchers=(()=>{return h})},72617:(e,t,n)=>{"use strict";const s=n(3401);const i=n(98034);const o=n(28614).EventEmitter;const r=n(86140);const a=n(73758);let c;const u=[];const l={};function addWatchersToSet(e,t){for(const n of e){if(n!==true&&!t.has(n.directoryWatcher)){t.add(n.directoryWatcher);addWatchersToSet(n.directoryWatcher.directories.values(),t)}}}const d=e=>{const t=r(e,{globstar:true,extended:true}).source;const n=t.slice(0,t.length-1)+"(?:$|\\/)";return n};const p=e=>{if(Array.isArray(e)){return new RegExp(e.map(e=>d(e)).join("|"))}else if(typeof e==="string"){return new RegExp(d(e))}else if(e instanceof RegExp){return e}else if(e){throw new Error(`Invalid option for 'ignored': ${e}`)}else{return undefined}};const h=e=>{return{followSymlinks:!!e.followSymlinks,ignored:p(e.ignored),poll:e.poll}};const f=new WeakMap;const m=e=>{const t=f.get(e);if(t!==undefined)return t;const n=h(e);f.set(e,n);return n};class Watchpack extends o{constructor(e){super();if(!e)e=l;this.options=e;this.aggregateTimeout=typeof e.aggregateTimeout==="number"?e.aggregateTimeout:200;this.watcherOptions=m(e);this.watcherManager=s(this.watcherOptions);this.fileWatchers=new Map;this.directoryWatchers=new Map;this.startTime=undefined;this.paused=false;this.aggregatedChanges=new Set;this.aggregatedRemovals=new Set;this.aggregateTimer=undefined;this._onTimeout=this._onTimeout.bind(this)}watch(e,t,n){let s,o,r,c;if(!t){({files:s=u,directories:o=u,missing:r=u,startTime:c}=e)}else{s=e;o=t;r=u;c=n}this.paused=false;const l=this.fileWatchers;const d=this.directoryWatchers;const p=this.watcherOptions.ignored;const h=p?e=>!p.test(e.replace(/\\/g,"/")):()=>true;const f=(e,t,n)=>{const s=e.get(t);if(s===undefined){e.set(t,[n])}else{s.push(n)}};const m=new Map;const g=new Map;const y=new Set;if(this.watcherOptions.followSymlinks){const e=new i;for(const t of s){if(h(t)){for(const n of e.resolve(t)){if(t===n||h(n)){f(m,n,t)}}}}for(const t of r){if(h(t)){for(const n of e.resolve(t)){if(t===n||h(n)){y.add(t);f(m,n,t)}}}}for(const t of o){if(h(t)){let n=true;for(const s of e.resolve(t)){if(h(s)){f(n?g:m,s,t)}n=false}}}}else{for(const e of s){if(h(e)){f(m,e,e)}}for(const e of r){if(h(e)){y.add(e);f(m,e,e)}}for(const e of o){if(h(e)){f(g,e,e)}}}const v=new Map;const b=new Map;const k=(e,t,n)=>{e.on("initial-missing",e=>{for(const t of n){if(!y.has(t))this._onRemove(t,t,e)}});e.on("change",(e,t)=>{for(const s of n){this._onChange(s,e,s,t)}});e.on("remove",e=>{for(const t of n){this._onRemove(t,t,e)}});v.set(t,e)};const w=(e,t,n)=>{e.on("initial-missing",e=>{for(const t of n){this._onRemove(t,t,e)}});e.on("change",(e,t,s)=>{for(const i of n){this._onChange(i,t,e,s)}});e.on("remove",e=>{for(const t of n){this._onRemove(t,t,e)}});b.set(t,e)};const x=[];const C=[];for(const[e,t]of l){if(!m.has(e)){t.close()}else{x.push(t)}}for(const[e,t]of d){if(!g.has(e)){t.close()}else{C.push(t)}}a.batch(()=>{for(const[e,t]of m){const n=this.watcherManager.watchFile(e,c);if(n){k(n,e,t)}}for(const[e,t]of g){const n=this.watcherManager.watchDirectory(e,c);if(n){w(n,e,t)}}});for(const e of x)e.close();for(const e of C)e.close();this.fileWatchers=v;this.directoryWatchers=b;this.startTime=c}close(){this.paused=true;if(this.aggregateTimer)clearTimeout(this.aggregateTimer);for(const e of this.fileWatchers.values())e.close();for(const e of this.directoryWatchers.values())e.close();this.fileWatchers.clear();this.directoryWatchers.clear()}pause(){this.paused=true;if(this.aggregateTimer)clearTimeout(this.aggregateTimer)}getTimes(){const e=new Set;addWatchersToSet(this.fileWatchers.values(),e);addWatchersToSet(this.directoryWatchers.values(),e);const t=Object.create(null);for(const n of e){const e=n.getTimes();for(const n of Object.keys(e))t[n]=e[n]}return t}getTimeInfoEntries(){if(c===undefined){c=n(17454).EXISTANCE_ONLY_TIME_ENTRY}const e=new Set;addWatchersToSet(this.fileWatchers.values(),e);addWatchersToSet(this.directoryWatchers.values(),e);const t=new Map;for(const n of e){const e=n.getTimeInfoEntries();for(const[n,s]of e){if(t.has(n)){if(s===c)continue;const e=t.get(n);if(e===s)continue;if(e!==c){t.set(n,Object.assign({},e,s));continue}}t.set(n,s)}}return t}_onChange(e,t,n,s){n=n||e;if(this.paused)return;this.emit("change",n,t,s);if(this.aggregateTimer)clearTimeout(this.aggregateTimer);this.aggregatedRemovals.delete(e);this.aggregatedChanges.add(e);this.aggregateTimer=setTimeout(this._onTimeout,this.aggregateTimeout)}_onRemove(e,t,n){t=t||e;if(this.paused)return;this.emit("remove",t,n);if(this.aggregateTimer)clearTimeout(this.aggregateTimer);this.aggregatedChanges.delete(e);this.aggregatedRemovals.add(e);this.aggregateTimer=setTimeout(this._onTimeout,this.aggregateTimeout)}_onTimeout(){this.aggregateTimer=undefined;const e=this.aggregatedChanges;const t=this.aggregatedRemovals;this.aggregatedChanges=new Set;this.aggregatedRemovals=new Set;this.emit("aggregated",e,t)}}e.exports=Watchpack},26387:(e,t,n)=>{"use strict";const s=n(4625);const i=e=>{if(typeof e!=="object"||!e)return e;const t=Object.assign({},e);if(e.mappings){t.mappings=Buffer.from(e.mappings,"utf-8")}if(e.sourcesContent){t.sourcesContent=e.sourcesContent.map(e=>e&&Buffer.from(e,"utf-8"))}return t};const o=e=>{if(typeof e!=="object"||!e)return e;const t=Object.assign({},e);if(e.mappings){t.mappings=e.mappings.toString("utf-8")}if(e.sourcesContent){t.sourcesContent=e.sourcesContent.map(e=>e&&e.toString("utf-8"))}return t};class CachedSource extends s{constructor(e,t){super();this._source=e;this._cachedSourceType=t?t.source:undefined;this._cachedSource=undefined;this._cachedBuffer=t?t.buffer:undefined;this._cachedSize=t?t.size:undefined;this._cachedMaps=t?t.maps:new Map;this._cachedHashUpdate=t?t.hash:undefined}getCachedData(){if(this._cachedSource){this.buffer()}const e=new Map;for(const t of this._cachedMaps){if(t[1].bufferedMap===undefined){t[1].bufferedMap=i(t[1].map)}e.set(t[0],{map:undefined,bufferedMap:t[1].bufferedMap})}return{buffer:this._cachedBuffer,source:this._cachedSourceType!==undefined?this._cachedSourceType:typeof this._cachedSource==="string"?true:Buffer.isBuffer(this._cachedSource)?false:undefined,size:this._cachedSize,maps:e,hash:this._cachedHashUpdate}}originalLazy(){return this._source}original(){if(typeof this._source==="function")this._source=this._source();return this._source}source(){if(this._cachedSource!==undefined)return this._cachedSource;if(this._cachedBuffer&&this._cachedSourceType!==undefined){return this._cachedSource=this._cachedSourceType?this._cachedBuffer.toString("utf-8"):this._cachedBuffer}else{return this._cachedSource=this.original().source()}}buffer(){if(typeof this._cachedBuffer!=="undefined")return this._cachedBuffer;if(typeof this._cachedSource!=="undefined"){if(Buffer.isBuffer(this._cachedSource)){return this._cachedBuffer=this._cachedSource}return this._cachedBuffer=Buffer.from(this._cachedSource,"utf-8")}if(typeof this.original().buffer==="function"){return this._cachedBuffer=this.original().buffer()}const e=this.source();if(Buffer.isBuffer(e)){return this._cachedBuffer=e}return this._cachedBuffer=Buffer.from(e,"utf-8")}size(){if(typeof this._cachedSize!=="undefined")return this._cachedSize;if(typeof this._cachedSource!=="undefined"){return this._cachedSize=Buffer.byteLength(this._cachedSource)}if(typeof this._cachedBuffer!=="undefined"){return this._cachedSize=this._cachedBuffer.length}return this._cachedSize=this.original().size()}sourceAndMap(e){const t=e?JSON.stringify(e):"{}";let n=this._cachedMaps.get(t);if(n&&n.map===undefined){n.map=o(n.bufferedMap)}if(typeof this._cachedSource!=="undefined"){if(n===undefined){const n=this.original().map(e);this._cachedMaps.set(t,{map:n,bufferedMap:undefined});return{source:this._cachedSource,map:n}}else{return{source:this._cachedSource,map:n.map}}}else if(n!==undefined){return{source:this._cachedSource=this.original().source(),map:n.map}}else{const n=this.original().sourceAndMap(e);this._cachedSource=n.source;this._cachedMaps.set(t,{map:n.map,bufferedMap:undefined});return n}}map(e){const t=e?JSON.stringify(e):"{}";let n=this._cachedMaps.get(t);if(n!==undefined){if(n.map===undefined){n.map=o(n.bufferedMap)}return n.map}const s=this.original().map(e);this._cachedMaps.set(t,{map:s,bufferedMap:undefined});return s}updateHash(e){if(this._cachedHashUpdate!==undefined){for(const t of this._cachedHashUpdate)e.update(t);return}const t=[];let n=undefined;const s={update:e=>{if(typeof e==="string"&&e.length<10240){if(n===undefined){n=e}else{n+=e;if(n>102400){t.push(Buffer.from(n));n=undefined}}}else{if(n!==undefined){t.push(Buffer.from(n));n=undefined}t.push(e)}}};this.original().updateHash(s);if(n!==undefined){t.push(Buffer.from(n))}for(const n of t)e.update(n);this._cachedHashUpdate=t}}e.exports=CachedSource},15633:(e,t,n)=>{"use strict";const s=n(4625);class CompatSource extends s{static from(e){return e instanceof s?e:new CompatSource(e)}constructor(e){super();this._sourceLike=e}source(){return this._sourceLike.source()}buffer(){if(typeof this._sourceLike.buffer==="function"){return this._sourceLike.buffer()}return super.buffer()}size(){if(typeof this._sourceLike.size==="function"){return this._sourceLike.size()}return super.size()}map(e){if(typeof this._sourceLike.map==="function"){return this._sourceLike.map(e)}return super.map(e)}sourceAndMap(e){if(typeof this._sourceLike.sourceAndMap==="function"){return this._sourceLike.sourceAndMap(e)}return super.sourceAndMap(e)}updateHash(e){if(typeof this._sourceLike.updateHash==="function"){return this._sourceLike.updateHash(e)}if(typeof this._sourceLike.map==="function"){throw new Error("A Source-like object with a 'map' method must also provide an 'updateHash' method")}e.update(this.buffer())}}e.exports=CompatSource},64906:(e,t,n)=>{"use strict";const s=n(4625);const i=n(1144);const{SourceNode:o,SourceMapConsumer:r}=n(96241);const{SourceListMap:a,fromStringWithSourceMap:c}=n(58546);const{getSourceAndMap:u,getMap:l}=n(32207);const d=new WeakSet;class ConcatSource extends s{constructor(){super();this._children=[];for(let e=0;e{if(n===undefined){n=e}else if(Array.isArray(n)){n.push(e)}else{n=[typeof n==="string"?n:n.source(),e]}};const o=e=>{if(n===undefined){n=e}else if(Array.isArray(n)){n.push(e.source())}else{n=[typeof n==="string"?n:n.source(),e.source()]}};const r=()=>{if(Array.isArray(n)){const t=new i(n.join(""));d.add(t);e.push(t)}else if(typeof n==="string"){const t=new i(n);d.add(t);e.push(t)}else{e.push(n)}};for(const i of this._children){if(typeof i==="string"){if(t===undefined){t=i}else{t+=i}}else{if(t!==undefined){s(t);t=undefined}if(d.has(i)){o(i)}else{if(n!==undefined){r();n=undefined}e.push(i)}}}if(t!==undefined){s(t)}if(n!==undefined){r()}this._children=e;this._isOptimized=true}}e.exports=ConcatSource},51634:(e,t,n)=>{"use strict";const s=n(4625);const{SourceNode:i}=n(96241);const{SourceListMap:o}=n(58546);const{getSourceAndMap:r,getMap:a}=n(32207);const c=/(?!$)[^\n\r;{}]*[\n\r;{}]*/g;function _splitCode(e){return e.match(c)||[]}class OriginalSource extends s{constructor(e,t){super();const n=Buffer.isBuffer(e);this._value=n?undefined:e;this._valueAsBuffer=n?e:undefined;this._name=t}getName(){return this._name}source(){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return this._value}buffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}return this._valueAsBuffer}map(e){return a(this,e)}sourceAndMap(e){return r(this,e)}node(e){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}const t=this._value;const n=this._name;const s=t.split("\n");const o=new i(null,null,null,s.map(function(t,o){let r=0;if(e&&e.columns===false){const e=t+(o!==s.length-1?"\n":"");return new i(o+1,0,n,e)}return new i(null,null,null,_splitCode(t+(o!==s.length-1?"\n":"")).map(function(e){if(/^\s*$/.test(e)){r+=e.length;return e}const t=new i(o+1,r,n,e);r+=e.length;return t}))}));o.setSourceContent(n,t);return o}listMap(e){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return new o(this._value,this._name,this._value)}updateHash(e){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}e.update("OriginalSource");e.update(this._valueAsBuffer);e.update(this._name||"")}}e.exports=OriginalSource},40739:(e,t,n)=>{"use strict";const s=n(4625);const i=n(1144);const{SourceNode:o}=n(96241);const{getSourceAndMap:r,getMap:a}=n(32207);const c=/\n(?=.|\s)/g;class PrefixSource extends s{constructor(e,t){super();this._source=typeof t==="string"||Buffer.isBuffer(t)?new i(t,true):t;this._prefix=e}getPrefix(){return this._prefix}original(){return this._source}source(){const e=this._source.source();const t=this._prefix;return t+e.replace(c,"\n"+t)}map(e){return a(this,e)}sourceAndMap(e){return r(this,e)}node(e){const t=this._source.node(e);const n=this._prefix;const s=[];const i=new o;t.walkSourceContents(function(e,t){i.setSourceContent(e,t)});let r=true;t.walk(function(e,t){const i=e.split(/(\n)/);for(let e=0;e{"use strict";const s=n(4625);const{SourceNode:i}=n(96241);const{SourceListMap:o}=n(58546);class RawSource extends s{constructor(e,t=false){super();const n=Buffer.isBuffer(e);if(!n&&typeof e!=="string"){throw new TypeError("argument 'value' must be either string of Buffer")}this._valueIsBuffer=!t&&n;this._value=t&&n?undefined:e;this._valueAsBuffer=n?e:undefined}isBuffer(){return this._valueIsBuffer}source(){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return this._value}buffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}return this._valueAsBuffer}map(e){return null}node(e){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return new i(null,null,null,this._value)}listMap(e){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return new o(this._value)}updateHash(e){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}e.update("RawSource");e.update(this._valueAsBuffer)}}e.exports=RawSource},27160:(e,t,n)=>{"use strict";const s=n(4625);const{SourceNode:i}=n(96241);const{getSourceAndMap:o,getMap:r,getNode:a,getListMap:c}=n(32207);class Replacement{constructor(e,t,n,s,i){this.start=e;this.end=t;this.content=n;this.insertIndex=s;this.name=i}}class ReplaceSource extends s{constructor(e,t){super();this._source=e;this._name=t;this._replacements=[];this._isSorted=true}getName(){return this._name}getReplacements(){const e=Array.from(this._replacements);e.sort((e,t)=>{return e.insertIndex-t.insertIndex});return e}replace(e,t,n,s){if(typeof n!=="string")throw new Error("insertion must be a string, but is a "+typeof n);this._replacements.push(new Replacement(e,t,n,this._replacements.length,s));this._isSorted=false}insert(e,t,n){if(typeof t!=="string")throw new Error("insertion must be a string, but is a "+typeof t+": "+t);this._replacements.push(new Replacement(e,e-1,t,this._replacements.length,n));this._isSorted=false}source(){return this._replaceString(this._source.source())}map(e){if(this._replacements.length===0){return this._source.map(e)}return r(this,e)}sourceAndMap(e){if(this._replacements.length===0){return this._source.sourceAndMap(e)}return o(this,e)}original(){return this._source}_sortReplacements(){if(this._isSorted)return;this._replacements.sort(function(e,t){const n=t.end-e.end;if(n!==0)return n;const s=t.start-e.start;if(s!==0)return s;return t.insertIndex-e.insertIndex});this._isSorted=true}_replaceString(e){if(typeof e!=="string")throw new Error("str must be a string, but is a "+typeof e+": "+e);this._sortReplacements();const t=[e];this._replacements.forEach(function(e){const n=t.pop();const s=this._splitString(n,Math.floor(e.end+1));const i=this._splitString(s[0],Math.floor(e.start));t.push(s[1],e.content,i[0])},this);let n="";for(let e=t.length-1;e>=0;--e){n+=t[e]}return n}node(e){const t=a(this._source,e);if(this._replacements.length===0){return t}this._sortReplacements();const n=new ReplacementEnumerator(this._replacements);const s=[];let o=0;const r=Object.create(null);const c=Object.create(null);const u=new i;t.walkSourceContents(function(e,t){u.setSourceContent(e,t);r["$"+e]=t});const l=this._replaceInStringNode.bind(this,s,n,function getOriginalSource(e){const t="$"+e.source;let n=c[t];if(!n){const e=r[t];if(!e)return null;n=e.split("\n").map(function(e){return e+"\n"});c[t]=n}if(e.line>n.length)return null;const s=n[e.line-1];return s.substr(e.column)});t.walk(function(e,t){o=l(e,o,t)});const d=n.footer();if(d){s.push(d)}u.add(s);return u}listMap(e){let t=c(this._source,e);this._sortReplacements();let n=0;const s=this._replacements;let i=s.length-1;let o=0;t=t.mapGeneratedCode(function(e){const t=n+e.length;if(o>e.length){o-=e.length;e=""}else{if(o>0){e=e.substr(o);n+=o;o=0}let r="";while(i>=0&&s[i].start=0){r+=s[i].content;i--}if(r){t.add(r)}return t}_splitString(e,t){return t<=0?["",e]:[e.substr(0,t),e.substr(t)]}_replaceInStringNode(e,t,n,s,o,r){let a=undefined;do{let c=t.position-o;if(c<0){c=0}if(c>=s.length||t.done){if(t.emit){const t=new i(r.line,r.column,r.source,s,r.name);e.push(t)}return o+s.length}const u=r.column;let l;if(c>0){l=s.slice(0,c);if(a===undefined){a=n(r)}if(a&&a.length>=c&&a.startsWith(l)){r.column+=c;a=a.substr(c)}}const d=t.next();if(!d){if(c>0){const t=new i(r.line,u,r.source,l,r.name);e.push(t)}if(t.value){e.push(new i(r.line,r.column,r.source,t.value,r.name||t.name))}}s=s.substr(c);o+=c}while(true)}updateHash(e){this._sortReplacements();e.update("ReplaceSource");this._source.updateHash(e);e.update(this._name||"");for(const t of this._replacements){e.update(`${t.start}`);e.update(`${t.end}`);e.update(`${t.content}`);e.update(`${t.insertIndex}`);e.update(`${t.name}`)}}}class ReplacementEnumerator{constructor(e){this.replacements=e||[];this.index=this.replacements.length;this.done=false;this.emit=false;this.next()}next(){if(this.done)return true;if(this.emit){const e=this.replacements[this.index];const t=Math.floor(e.end+1);this.position=t;this.value=e.content;this.name=e.name}else{this.index--;if(this.index<0){this.done=true}else{const e=this.replacements[this.index];const t=Math.floor(e.start);this.position=t}}if(this.position<0)this.position=0;this.emit=!this.emit;return this.emit}footer(){if(!this.done&&!this.emit)this.next();if(this.done){return[]}else{let e="";for(let t=this.index;t>=0;t--){const n=this.replacements[t];e+=n.content}return e}}}e.exports=ReplaceSource},85087:(e,t,n)=>{"use strict";const s=n(4625);class SizeOnlySource extends s{constructor(e){super();this._size=e}_error(){return new Error("Content and Map of this Source is not available (only size() is supported)")}size(){return this._size}source(){throw this._error()}buffer(){throw this._error()}map(e){throw this._error()}updateHash(){throw this._error()}}e.exports=SizeOnlySource},4625:e=>{"use strict";class Source{source(){throw new Error("Abstract")}buffer(){const e=this.source();if(Buffer.isBuffer(e))return e;return Buffer.from(e,"utf-8")}size(){return this.buffer().length}map(e){return null}sourceAndMap(e){return{source:this.source(),map:this.map(e)}}updateHash(e){throw new Error("Abstract")}}e.exports=Source},91773:(e,t,n)=>{"use strict";const s=n(4625);const{SourceNode:i,SourceMapConsumer:o}=n(96241);const{SourceListMap:r,fromStringWithSourceMap:a}=n(58546);const{getSourceAndMap:c,getMap:u}=n(32207);const l=n(86640);class SourceMapSource extends s{constructor(e,t,n,s,i,o){super();const r=Buffer.isBuffer(e);this._valueAsString=r?undefined:e;this._valueAsBuffer=r?e:undefined;this._name=t;this._hasSourceMap=!!n;const a=Buffer.isBuffer(n);const c=typeof n==="string";this._sourceMapAsObject=a||c?undefined:n;this._sourceMapAsString=c?n:undefined;this._sourceMapAsBuffer=a?n:undefined;this._hasOriginalSource=!!s;const u=Buffer.isBuffer(s);this._originalSourceAsString=u?undefined:s;this._originalSourceAsBuffer=u?s:undefined;this._hasInnerSourceMap=!!i;const l=Buffer.isBuffer(i);const d=typeof i==="string";this._innerSourceMapAsObject=l||d?undefined:i;this._innerSourceMapAsString=d?i:undefined;this._innerSourceMapAsBuffer=l?i:undefined;this._removeOriginalSource=o}_ensureValueBuffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._valueAsString,"utf-8")}}_ensureValueString(){if(this._valueAsString===undefined){this._valueAsString=this._valueAsBuffer.toString("utf-8")}}_ensureOriginalSourceBuffer(){if(this._originalSourceAsBuffer===undefined&&this._hasOriginalSource){this._originalSourceAsBuffer=Buffer.from(this._originalSourceAsString,"utf-8")}}_ensureOriginalSourceString(){if(this._originalSourceAsString===undefined&&this._hasOriginalSource){this._originalSourceAsString=this._originalSourceAsBuffer.toString("utf-8")}}_ensureInnerSourceMapObject(){if(this._innerSourceMapAsObject===undefined&&this._hasInnerSourceMap){this._ensureInnerSourceMapString();this._innerSourceMapAsObject=JSON.parse(this._innerSourceMapAsString)}}_ensureInnerSourceMapBuffer(){if(this._innerSourceMapAsBuffer===undefined&&this._hasInnerSourceMap){this._ensureInnerSourceMapString();this._innerSourceMapAsBuffer=Buffer.from(this._innerSourceMapAsString,"utf-8")}}_ensureInnerSourceMapString(){if(this._innerSourceMapAsString===undefined&&this._hasInnerSourceMap){if(this._innerSourceMapAsBuffer!==undefined){this._innerSourceMapAsString=this._innerSourceMapAsBuffer.toString("utf-8")}else{this._innerSourceMapAsString=JSON.stringify(this._innerSourceMapAsObject)}}}_ensureSourceMapObject(){if(this._sourceMapAsObject===undefined){this._ensureSourceMapString();this._sourceMapAsObject=JSON.parse(this._sourceMapAsString)}}_ensureSourceMapBuffer(){if(this._sourceMapAsBuffer===undefined){this._ensureSourceMapString();this._sourceMapAsBuffer=Buffer.from(this._sourceMapAsString,"utf-8")}}_ensureSourceMapString(){if(this._sourceMapAsString===undefined){if(this._sourceMapAsBuffer!==undefined){this._sourceMapAsString=this._sourceMapAsBuffer.toString("utf-8")}else{this._sourceMapAsString=JSON.stringify(this._sourceMapAsObject)}}}getArgsAsBuffers(){this._ensureValueBuffer();this._ensureSourceMapBuffer();this._ensureOriginalSourceBuffer();this._ensureInnerSourceMapBuffer();return[this._valueAsBuffer,this._name,this._sourceMapAsBuffer,this._originalSourceAsBuffer,this._innerSourceMapAsBuffer,this._removeOriginalSource]}source(){this._ensureValueString();return this._valueAsString}map(e){if(!this._hasInnerSourceMap){this._ensureSourceMapObject();return this._sourceMapAsObject}return u(this,e)}sourceAndMap(e){if(!this._hasInnerSourceMap){this._ensureValueString();this._ensureSourceMapObject();return{source:this._valueAsString,map:this._sourceMapAsObject}}return c(this,e)}node(e){this._ensureValueString();this._ensureSourceMapObject();this._ensureOriginalSourceString();let t=i.fromStringWithSourceMap(this._valueAsString,new o(this._sourceMapAsObject));t.setSourceContent(this._name,this._originalSourceAsString);if(this._hasInnerSourceMap){this._ensureInnerSourceMapObject();t=l(t,new o(this._innerSourceMapAsObject),this._name,this._removeOriginalSource)}return t}listMap(e){this._ensureValueString();this._ensureSourceMapObject();e=e||{};if(e.module===false)return new r(this._valueAsString,this._name,this._valueAsString);return a(this._valueAsString,this._sourceMapAsObject)}updateHash(e){this._ensureValueBuffer();this._ensureSourceMapBuffer();this._ensureOriginalSourceBuffer();this._ensureInnerSourceMapBuffer();e.update("SourceMapSource");e.update(this._valueAsBuffer);e.update(this._sourceMapAsBuffer);if(this._hasOriginalSource){e.update(this._originalSourceAsBuffer)}if(this._hasInnerSourceMap){e.update(this._innerSourceMapAsBuffer)}e.update(this._removeOriginalSource?"true":"false")}}e.exports=SourceMapSource},86640:(e,t,n)=>{"use strict";const s=n(96241).SourceNode;const i=n(96241).SourceMapConsumer;const o=function(e,t,n,o){const r=new s;const a=[];const c={};const u={};const l={};const d={};t.eachMapping(function(e){(u[e.generatedLine]=u[e.generatedLine]||[]).push(e)},null,i.GENERATED_ORDER);const p=(e,t)=>{const n=u[e];let s=0;let i=n.length;while(s>1;if(n[e].generatedColumn<=t){s=e+1}else{i=e}}if(s===0)return undefined;return n[s-1]};e.walkSourceContents(function(e,t){c["$"+e]=t});const h=c["$"+n];const f=h?h.split("\n"):undefined;e.walk(function(e,i){if(i.source===n&&i.line&&u[i.line]){let n=p(i.line,i.column);if(n){let o=false;let c;let u;let p;const h=n.source;if(f&&h&&(c=f[n.generatedLine-1])&&((p=d[h])||(u=t.sourceContentFor(h,true)))){if(!p){p=d[h]=u.split("\n")}const e=p[n.originalLine-1];if(e){const t=i.column-n.generatedColumn;if(t>0){const s=c.slice(n.generatedColumn,i.column);const o=e.slice(n.originalColumn,n.originalColumn+t);if(s===o){n=Object.assign({},n,{originalColumn:n.originalColumn+t,generatedColumn:i.column,name:undefined})}}if(!n.name&&i.name){o=e.slice(n.originalColumn,n.originalColumn+i.name.length)===i.name}}}let m=n.source;if(m&&m!=="."){a.push(new s(n.originalLine,n.originalColumn,m,e,o?i.name:n.name));if(!("$"+m in l)){l["$"+m]=true;const e=t.sourceContentFor(m,true);if(e){r.setSourceContent(m,e)}}return}}}if(o&&i.source===n||!i.source){a.push(e);return}const h=i.source;a.push(new s(i.line,i.column,h,e,i.name));if("$"+h in c){if(!("$"+h in l)){r.setSourceContent(h,c["$"+h]);delete c["$"+h]}}});r.add(a);return r};e.exports=o},32207:(e,t,n)=>{"use strict";const{SourceNode:s,SourceMapConsumer:i}=n(96241);const{SourceListMap:o,fromStringWithSourceMap:r}=n(58546);t.getSourceAndMap=((e,t)=>{let n;let s;if(t&&t.columns===false){const i=e.listMap(t).toStringWithSourceMap({file:"x"});n=i.source;s=i.map}else{const i=e.node(t).toStringWithSourceMap({file:"x"});n=i.code;s=i.map.toJSON()}if(!s||!s.sources||s.sources.length===0)s=null;return{source:n,map:s}});t.getMap=((e,t)=>{let n;if(t&&t.columns===false){n=e.listMap(t).toStringWithSourceMap({file:"x"}).map}else{n=e.node(t).toStringWithSourceMap({file:"x"}).map.toJSON()}if(!n||!n.sources||n.sources.length===0)return null;return n});t.getNode=((e,t)=>{if(typeof e.node==="function"){return e.node(t)}else{const n=e.sourceAndMap(t);if(n.map){return s.fromStringWithSourceMap(n.source,new i(n.map))}else{return new s(null,null,null,n.source)}}});t.getListMap=((e,t)=>{if(typeof e.listMap==="function"){return e.listMap(t)}else{const n=e.sourceAndMap(t);if(n.map){return r(n.source,n.map)}else{return new o(n.source)}}})},84697:(e,t,n)=>{const s=(e,n)=>{let s;Object.defineProperty(t,e,{get:()=>{if(n!==undefined){s=n();n=undefined}return s},configurable:true})};s("Source",()=>n(4625));s("RawSource",()=>n(1144));s("OriginalSource",()=>n(51634));s("SourceMapSource",()=>n(91773));s("CachedSource",()=>n(26387));s("ConcatSource",()=>n(64906));s("ReplaceSource",()=>n(27160));s("PrefixSource",()=>n(40739));s("SizeOnlySource",()=>n(85087));s("CompatSource",()=>n(15633))},1631:e=>{class Node{constructor(e){this.value=e;this.next=undefined}}class Queue{constructor(){this.clear()}enqueue(e){const t=new Node(e);if(this._head){this._tail.next=t;this._tail=t}else{this._head=t;this._tail=t}this._size++}dequeue(){const e=this._head;if(!e){return}this._head=this._head.next;this._size--;return e.value}clear(){this._head=undefined;this._tail=undefined;this._size=0}get size(){return this._size}*[Symbol.iterator](){let e=this._head;while(e){yield e.value;e=e.next}}}e.exports=Queue},19275:(e,t,n)=>{e.exports=function(){return{default:n(91919),BasicEvaluatedExpression:n(950),ModuleFilenameHelpers:n(88821),NodeTargetPlugin:n(17916),StringXor:n(40293)}}},75055:module=>{module.exports=eval("require")("pnpapi")},35464:e=>{"use strict";e.exports={i8:"4.3.0"}},77861:e=>{"use strict";e.exports=JSON.parse('{"name":"terser","description":"JavaScript parser, mangler/compressor and beautifier toolkit for ES6+","homepage":"https://terser.org","author":"Mihai Bazon (http://lisperator.net/)","license":"BSD-2-Clause","version":"5.5.1","engines":{"node":">=10"},"maintainers":["Fábio Santos "],"repository":"https://github.com/terser/terser","main":"dist/bundle.min.js","type":"module","module":"./main.js","exports":{".":[{"import":"./main.js","require":"./dist/bundle.min.js"},"./dist/bundle.min.js"],"./package":"./package.json","./package.json":"./package.json"},"types":"tools/terser.d.ts","bin":{"terser":"bin/terser"},"files":["bin","dist","lib","tools","LICENSE","README.md","CHANGELOG.md","PATRONS.md","main.js"],"dependencies":{"commander":"^2.20.0","source-map":"~0.7.2","source-map-support":"~0.5.19"},"devDependencies":{"@ls-lint/ls-lint":"^1.9.2","acorn":"^7.4.0","astring":"^1.4.1","eslint":"^7.0.0","eslump":"^2.0.0","esm":"^3.2.25","mocha":"^8.0.0","pre-commit":"^1.2.2","rimraf":"^3.0.0","rollup":"2.0.6","semver":"^7.1.3"},"scripts":{"test":"node test/compress.js && mocha test/mocha","test:compress":"node test/compress.js","test:mocha":"mocha test/mocha","lint":"eslint lib","lint-fix":"eslint --fix lib","ls-lint":"ls-lint","build":"rimraf dist/bundle* && rollup --config --silent","prepare":"npm run build","postversion":"echo \'Remember to update the changelog!\'"},"keywords":["uglify","terser","uglify-es","uglify-js","minify","minifier","javascript","ecmascript","es5","es6","es7","es8","es2015","es2016","es2017","async","await"],"eslintConfig":{"parserOptions":{"sourceType":"module","ecmaVersion":"2020"},"env":{"node":true,"browser":true,"es2020":true},"globals":{"describe":false,"it":false,"require":false,"global":false,"process":false},"rules":{"brace-style":["error","1tbs",{"allowSingleLine":true}],"quotes":["error","double","avoid-escape"],"no-debugger":"error","no-undef":"error","no-unused-vars":["error",{"varsIgnorePattern":"^_$"}],"no-tabs":"error","semi":["error","always"],"no-extra-semi":"error","no-irregular-whitespace":"error","space-before-blocks":["error","always"]}},"pre-commit":["build","lint-fix","ls-lint","test"]}')},21386:e=>{"use strict";e.exports={i8:"5.1.1"}},12029:e=>{"use strict";e.exports={version:"4.3.0"}},53243:e=>{"use strict";e.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["ecma","es"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/mrb-publish+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana"},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana"},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["keynote"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana"},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana"},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana"},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana"},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana"},"image/avcs":{"source":"iana"},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shex":{"extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana"},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')},8128:e=>{"use strict";e.exports=JSON.parse('{"definitions":{"Rule":{"description":"Filtering rule as regex or string.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"Rules":{"description":"Filtering rules.","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/Rule"}]}},{"$ref":"#/definitions/Rule"}]}},"title":"TerserPluginOptions","type":"object","additionalProperties":false,"properties":{"test":{"description":"Include all modules that pass test assertion.","oneOf":[{"$ref":"#/definitions/Rules"}]},"include":{"description":"Include all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"exclude":{"description":"Exclude all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"terserOptions":{"description":"Options for `terser`.","additionalProperties":true,"type":"object"},"extractComments":{"description":"Whether comments shall be extracted to a separate file.","anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"RegExp"},{"instanceof":"Function"},{"additionalProperties":false,"properties":{"condition":{"anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"RegExp"},{"instanceof":"Function"}]},"filename":{"anyOf":[{"type":"string","minLength":1},{"instanceof":"Function"}]},"banner":{"anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"Function"}]}},"type":"object"}]},"parallel":{"description":"Use multi-process parallel running to improve the build speed.","anyOf":[{"type":"boolean"},{"type":"integer"}]},"minify":{"description":"Allows you to override default minify function.","instanceof":"Function"}}}')},87168:e=>{"use strict";e.exports={i8:"5.11.1"}},1863:e=>{"use strict";e.exports=JSON.parse('{"definitions":{"Amd":{"description":"Set the value of `require.amd` and `define.amd`. Or disable AMD support.","anyOf":[{"description":"You can pass `false` to disable AMD support.","enum":[false]},{"description":"You can pass an object to set the value of `require.amd` and `define.amd`.","type":"object"}]},"AssetModuleFilename":{"description":"The filename of asset modules as relative path inside the `output.path` directory.","anyOf":[{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"Bail":{"description":"Report the first error as a hard error instead of tolerating it.","type":"boolean"},"CacheOptions":{"description":"Cache generated modules and chunks to improve performance for multiple incremental builds.","anyOf":[{"description":"Enable in memory caching.","enum":[true]},{"$ref":"#/definitions/CacheOptionsNormalized"}]},"CacheOptionsNormalized":{"description":"Cache generated modules and chunks to improve performance for multiple incremental builds.","anyOf":[{"description":"Disable caching.","enum":[false]},{"$ref":"#/definitions/MemoryCacheOptions"},{"$ref":"#/definitions/FileCacheOptions"}]},"Charset":{"description":"Add charset attribute for script tag.","type":"boolean"},"ChunkFilename":{"description":"The filename of non-initial chunks as relative path inside the `output.path` directory.","anyOf":[{"type":"string","absolutePath":false,"minLength":1},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"ChunkFormat":{"description":"The format of chunks (formats included by default are \'array-push\' (web/WebWorker), \'commonjs\' (node.js), but others might be added by plugins).","anyOf":[{"enum":["array-push","commonjs",false]},{"type":"string"}]},"ChunkLoadTimeout":{"description":"Number of milliseconds before chunk request expires.","type":"number"},"ChunkLoading":{"description":"The method of loading chunks (methods included by default are \'jsonp\' (web), \'importScripts\' (WebWorker), \'require\' (sync node.js), \'async-node\' (async node.js), but others might be added by plugins).","anyOf":[{"enum":[false]},{"$ref":"#/definitions/ChunkLoadingType"}]},"ChunkLoadingGlobal":{"description":"The global variable used by webpack for loading of chunks.","type":"string"},"ChunkLoadingType":{"description":"The method of loading chunks (methods included by default are \'jsonp\' (web), \'importScripts\' (WebWorker), \'require\' (sync node.js), \'async-node\' (async node.js), but others might be added by plugins).","anyOf":[{"enum":["jsonp","import-scripts","require","async-node"]},{"type":"string"}]},"CompareBeforeEmit":{"description":"Check if to be emitted file already exists and have the same content before writing to output filesystem.","type":"boolean"},"Context":{"description":"The base directory (absolute path!) for resolving the `entry` option. If `output.pathinfo` is set, the included pathinfo is shortened to this directory.","type":"string","absolutePath":true},"CrossOriginLoading":{"description":"This option enables cross-origin loading of chunks.","enum":[false,"anonymous","use-credentials"]},"Dependencies":{"description":"References to other configurations to depend on.","type":"array","items":{"description":"References to another configuration to depend on.","type":"string"}},"DevServer":{"description":"Options for the webpack-dev-server.","type":"object"},"DevTool":{"description":"A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map).","anyOf":[{"enum":[false,"eval"]},{"type":"string","pattern":"^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$"}]},"DevtoolFallbackModuleFilenameTemplate":{"description":"Similar to `output.devtoolModuleFilenameTemplate`, but used in the case of duplicate module identifiers.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"DevtoolModuleFilenameTemplate":{"description":"Filename template string of function for the sources array in a generated SourceMap.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"DevtoolNamespace":{"description":"Module namespace to use when interpolating filename template string for the sources array in a generated SourceMap. Defaults to `output.library` if not set. It\'s useful for avoiding runtime collisions in sourcemaps from multiple webpack projects built as libraries.","type":"string"},"EnabledChunkLoadingTypes":{"description":"List of chunk loading types enabled for use by entry points.","type":"array","items":{"$ref":"#/definitions/ChunkLoadingType"}},"EnabledLibraryTypes":{"description":"List of library types enabled for use by entry points.","type":"array","items":{"$ref":"#/definitions/LibraryType"}},"EnabledWasmLoadingTypes":{"description":"List of wasm loading types enabled for use by entry points.","type":"array","items":{"$ref":"#/definitions/WasmLoadingType"}},"Entry":{"description":"The entry point(s) of the compilation.","anyOf":[{"$ref":"#/definitions/EntryDynamic"},{"$ref":"#/definitions/EntryStatic"}]},"EntryDescription":{"description":"An object with entry point description.","type":"object","additionalProperties":false,"properties":{"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"dependOn":{"description":"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.","anyOf":[{"description":"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.","type":"array","items":{"description":"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},{"description":"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.","type":"string","minLength":1}]},"filename":{"$ref":"#/definitions/Filename"},"import":{"$ref":"#/definitions/EntryItem"},"library":{"$ref":"#/definitions/LibraryOptions"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"}},"required":["import"]},"EntryDescriptionNormalized":{"description":"An object with entry point description.","type":"object","additionalProperties":false,"properties":{"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"dependOn":{"description":"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.","type":"array","items":{"description":"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},"filename":{"$ref":"#/definitions/Filename"},"import":{"description":"Module(s) that are loaded upon startup. The last one is exported.","type":"array","items":{"description":"Module that is loaded upon startup. Only the last one is exported.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},"library":{"$ref":"#/definitions/LibraryOptions"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"EntryDynamic":{"description":"A Function returning an entry object, an entry string, an entry array or a promise to these things.","instanceof":"Function","tsType":"(() => EntryStatic | Promise)"},"EntryDynamicNormalized":{"description":"A Function returning a Promise resolving to a normalized entry.","instanceof":"Function","tsType":"(() => Promise)"},"EntryItem":{"description":"Module(s) that are loaded upon startup.","anyOf":[{"description":"All modules are loaded upon startup. The last one is exported.","type":"array","items":{"description":"A module that is loaded upon startup. Only the last one is exported.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},{"description":"The string is resolved to a module which is loaded upon startup.","type":"string","minLength":1}]},"EntryNormalized":{"description":"The entry point(s) of the compilation.","anyOf":[{"$ref":"#/definitions/EntryDynamicNormalized"},{"$ref":"#/definitions/EntryStaticNormalized"}]},"EntryObject":{"description":"Multiple entry bundles are created. The key is the entry name. The value can be a string, an array or an entry description object.","type":"object","additionalProperties":{"description":"An entry point with name.","anyOf":[{"$ref":"#/definitions/EntryItem"},{"$ref":"#/definitions/EntryDescription"}]}},"EntryRuntime":{"description":"The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.","type":"string","minLength":1},"EntryStatic":{"description":"A static entry description.","anyOf":[{"$ref":"#/definitions/EntryObject"},{"$ref":"#/definitions/EntryUnnamed"}]},"EntryStaticNormalized":{"description":"Multiple entry bundles are created. The key is the entry name. The value is an entry description object.","type":"object","additionalProperties":{"description":"An object with entry point description.","oneOf":[{"$ref":"#/definitions/EntryDescriptionNormalized"}]}},"EntryUnnamed":{"description":"An entry point without name.","oneOf":[{"$ref":"#/definitions/EntryItem"}]},"Environment":{"description":"The abilities of the environment where the webpack generated code should run.","type":"object","additionalProperties":false,"properties":{"arrowFunction":{"description":"The environment supports arrow functions (\'() => { ... }\').","type":"boolean"},"bigIntLiteral":{"description":"The environment supports BigInt as literal (123n).","type":"boolean"},"const":{"description":"The environment supports const and let for variable declarations.","type":"boolean"},"destructuring":{"description":"The environment supports destructuring (\'{ a, b } = obj\').","type":"boolean"},"dynamicImport":{"description":"The environment supports an async import() function to import EcmaScript modules.","type":"boolean"},"forOf":{"description":"The environment supports \'for of\' iteration (\'for (const x of array) { ... }\').","type":"boolean"},"module":{"description":"The environment supports EcmaScript Module syntax to import EcmaScript modules (import ... from \'...\').","type":"boolean"}}},"Experiments":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","additionalProperties":false,"properties":{"asset":{"description":"Allow module type \'asset\' to generate assets.","type":"boolean"},"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"outputModule":{"description":"Allow output javascript files as module source type.","type":"boolean"},"syncWebAssembly":{"description":"Support WebAssembly as synchronous EcmaScript Module (outdated).","type":"boolean"},"topLevelAwait":{"description":"Allow using top-level-await in EcmaScript Modules.","type":"boolean"}}},"ExternalItem":{"description":"Specify dependency that shouldn\'t be resolved by webpack, but should become dependencies of the resulting bundle. The kind of the dependency depends on `output.libraryTarget`.","anyOf":[{"description":"Every matched dependency becomes external.","instanceof":"RegExp","tsType":"RegExp"},{"description":"An exact matched dependency becomes external. The same string is used as external dependency.","type":"string"},{"description":"If an dependency matches exactly a property of the object, the property value is used as dependency.","type":"object","additionalProperties":{"description":"The dependency used for the external.","anyOf":[{"type":"array","items":{"description":"A part of the target of the external.","type":"string","minLength":1}},{"description":"`true`: The dependency name is used as target of the external.","type":"boolean"},{"description":"The target of the external.","type":"string"},{"type":"object"}]}},{"description":"The function is called on each dependency (`function(context, request, callback(err, result))`).","instanceof":"Function","tsType":"((data: { context: string, request: string }, callback: (err?: Error, result?: string) => void) => void)"}]},"Externals":{"description":"Specify dependencies that shouldn\'t be resolved by webpack, but should become dependencies of the resulting bundle. The kind of the dependency depends on `output.libraryTarget`.","anyOf":[{"type":"array","items":{"$ref":"#/definitions/ExternalItem"}},{"$ref":"#/definitions/ExternalItem"}]},"ExternalsPresets":{"description":"Enable presets of externals for specific targets.","type":"object","additionalProperties":false,"properties":{"electron":{"description":"Treat common electron built-in modules in main and preload context like \'electron\', \'ipc\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"electronMain":{"description":"Treat electron built-in modules in the main context like \'app\', \'ipc-main\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"electronPreload":{"description":"Treat electron built-in modules in the preload context like \'web-frame\', \'ipc-renderer\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"electronRenderer":{"description":"Treat electron built-in modules in the renderer context like \'web-frame\', \'ipc-renderer\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"node":{"description":"Treat node.js built-in modules like fs, path or vm as external and load them via require() when used.","type":"boolean"},"nwjs":{"description":"Treat NW.js legacy nw.gui module as external and load it via require() when used.","type":"boolean"},"web":{"description":"Treat references to \'http(s)://...\' and \'std:...\' as external and load them via import when used (Note that this changes execution order as externals are executed before any other code in the chunk).","type":"boolean"},"webAsync":{"description":"Treat references to \'http(s)://...\' and \'std:...\' as external and load them via async import() when used (Note that this external type is an async module, which has various effects on the execution).","type":"boolean"}}},"ExternalsType":{"description":"Specifies the default type of externals (\'amd*\', \'umd*\', \'system\' and \'jsonp\' depend on output.libraryTarget set to the same value).","enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system","promise","import","script"]},"FileCacheOptions":{"description":"Options object for persistent file-based caching.","type":"object","additionalProperties":false,"properties":{"buildDependencies":{"description":"Dependencies the build depends on (in multiple categories, default categories: \'defaultWebpack\').","type":"object","additionalProperties":{"description":"List of dependencies the build depends on.","type":"array","items":{"description":"Request to a dependency (resolved as directory relative to the context directory).","type":"string","minLength":1}}},"cacheDirectory":{"description":"Base directory for the cache (defaults to node_modules/.cache/webpack).","type":"string","absolutePath":true},"cacheLocation":{"description":"Locations for the cache (defaults to cacheDirectory / name).","type":"string","absolutePath":true},"hashAlgorithm":{"description":"Algorithm used for generation the hash (see node.js crypto package).","type":"string"},"idleTimeout":{"description":"Time in ms after which idle period the cache storing should happen (only for store: \'pack\' or \'idle\').","type":"number","minimum":0},"idleTimeoutForInitialStore":{"description":"Time in ms after which idle period the initial cache storing should happen (only for store: \'pack\' or \'idle\').","type":"number","minimum":0},"immutablePaths":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","type":"array","items":{"description":"A path to a immutable directory (usually a package manager cache directory).","type":"string","absolutePath":true,"minLength":1}},"managedPaths":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","type":"array","items":{"description":"A path to a managed directory (usually a node_modules directory).","type":"string","absolutePath":true,"minLength":1}},"name":{"description":"Name for the cache. Different names will lead to different coexisting caches.","type":"string"},"store":{"description":"When to store data to the filesystem. (pack: Store data when compiler is idle in a single file).","enum":["pack"]},"type":{"description":"Filesystem caching.","enum":["filesystem"]},"version":{"description":"Version of the cache data. Different versions won\'t allow to reuse the cache and override existing content. Update the version when config changed in a way which doesn\'t allow to reuse cache. This will invalidate the cache.","type":"string"}},"required":["type"]},"Filename":{"description":"Specifies the name of each output file on disk. You must **not** specify an absolute path here! The `output.path` option determines the location on disk the files are written to, filename is used solely for naming the individual files.","anyOf":[{"type":"string","absolutePath":false,"minLength":1},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"FilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((value: string) => boolean)"}]},"FilterTypes":{"description":"Filtering values.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/FilterItemTypes"}]}},{"$ref":"#/definitions/FilterItemTypes"}]},"GlobalObject":{"description":"An expression which is used to address the global object/scope in runtime code.","type":"string","minLength":1},"HashDigest":{"description":"Digest type used for the hash.","type":"string"},"HashDigestLength":{"description":"Number of chars which are used for the hash.","type":"number","minimum":1},"HashFunction":{"description":"Algorithm used for generation the hash (see node.js crypto package).","anyOf":[{"type":"string","minLength":1},{"instanceof":"Function","tsType":"typeof import(\'../lib/util/Hash\')"}]},"HashSalt":{"description":"Any string which is added to the hash to salt it.","type":"string","minLength":1},"HotUpdateChunkFilename":{"description":"The filename of the Hot Update Chunks. They are inside the output.path directory.","type":"string","absolutePath":false},"HotUpdateGlobal":{"description":"The global variable used by webpack for loading of hot update chunks.","type":"string"},"HotUpdateMainFilename":{"description":"The filename of the Hot Update Main File. It is inside the `output.path` directory.","type":"string","absolutePath":false},"IgnoreWarnings":{"description":"Ignore specific warnings.","type":"array","items":{"description":"Ignore specific warnings.","anyOf":[{"description":"A RegExp to select the warning message.","instanceof":"RegExp","tsType":"RegExp"},{"type":"object","additionalProperties":false,"properties":{"file":{"description":"A RegExp to select the origin file for the warning.","instanceof":"RegExp","tsType":"RegExp"},"message":{"description":"A RegExp to select the warning message.","instanceof":"RegExp","tsType":"RegExp"},"module":{"description":"A RegExp to select the origin module for the warning.","instanceof":"RegExp","tsType":"RegExp"}}},{"description":"A custom function to select warnings based on the raw warning instance.","instanceof":"Function","tsType":"((warning: import(\'../lib/WebpackError\'), compilation: import(\'../lib/Compilation\')) => boolean)"}]}},"IgnoreWarningsNormalized":{"description":"Ignore specific warnings.","type":"array","items":{"description":"A function to select warnings based on the raw warning instance.","instanceof":"Function","tsType":"((warning: import(\'../lib/WebpackError\'), compilation: import(\'../lib/Compilation\')) => boolean)"}},"Iife":{"description":"Wrap javascript code into IIFE\'s to avoid leaking into global scope.","type":"boolean"},"ImportFunctionName":{"description":"The name of the native import() function (can be exchanged for a polyfill).","type":"string"},"ImportMetaName":{"description":"The name of the native import.meta object (can be exchanged for a polyfill).","type":"string"},"InfrastructureLogging":{"description":"Options for infrastructure level logging.","type":"object","additionalProperties":false,"properties":{"debug":{"description":"Enable debug logging for specific loggers.","anyOf":[{"description":"Enable/Disable debug logging for all loggers.","type":"boolean"},{"$ref":"#/definitions/FilterTypes"}]},"level":{"description":"Log level.","enum":["none","error","warn","info","log","verbose"]}}},"Library":{"description":"Make the output files a library, exporting the exports of the entry point.","anyOf":[{"$ref":"#/definitions/LibraryName"},{"$ref":"#/definitions/LibraryOptions"}]},"LibraryCustomUmdCommentObject":{"description":"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set comment for `amd` section in UMD.","type":"string"},"commonjs":{"description":"Set comment for `commonjs` (exports) section in UMD.","type":"string"},"commonjs2":{"description":"Set comment for `commonjs2` (module.exports) section in UMD.","type":"string"},"root":{"description":"Set comment for `root` (global variable) section in UMD.","type":"string"}}},"LibraryCustomUmdObject":{"description":"Description object for all UMD variants of the library name.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Name of the exposed AMD library in the UMD.","type":"string","minLength":1},"commonjs":{"description":"Name of the exposed commonjs export in the UMD.","type":"string","minLength":1},"root":{"description":"Name of the property exposed globally by a UMD library.","anyOf":[{"type":"array","items":{"description":"Part of the name of the property exposed globally by a UMD library.","type":"string","minLength":1}},{"type":"string","minLength":1}]}}},"LibraryExport":{"description":"Specify which export should be exposed as library.","anyOf":[{"type":"array","items":{"description":"Part of the export that should be exposed as library.","type":"string","minLength":1}},{"type":"string","minLength":1}]},"LibraryName":{"description":"The name of the library (some types allow unnamed libraries too).","anyOf":[{"type":"array","items":{"description":"A part of the library name.","type":"string","minLength":1}},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"auxiliaryComment":{"$ref":"#/definitions/AuxiliaryComment"},"export":{"$ref":"#/definitions/LibraryExport"},"name":{"$ref":"#/definitions/LibraryName"},"type":{"$ref":"#/definitions/LibraryType"},"umdNamedDefine":{"$ref":"#/definitions/UmdNamedDefine"}},"required":["type"]},"LibraryType":{"description":"Type of library (types included by default are \'var\', \'module\', \'assign\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},{"type":"string"}]},"Loader":{"description":"Custom values available in the loader context.","type":"object"},"MemoryCacheOptions":{"description":"Options object for in-memory caching.","type":"object","additionalProperties":false,"properties":{"type":{"description":"In memory caching.","enum":["memory"]}},"required":["type"]},"Mode":{"description":"Enable production optimizations or development hints.","enum":["development","production","none"]},"ModuleOptions":{"description":"Options affecting the normal modules (`NormalModuleFactory`).","type":"object","additionalProperties":false,"properties":{"defaultRules":{"description":"An array of rules applied by default for modules.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"exprContextCritical":{"description":"Enable warnings for full dynamic dependencies.","type":"boolean"},"exprContextRecursive":{"description":"Enable recursive directory lookup for full dynamic dependencies.","type":"boolean"},"exprContextRegExp":{"description":"Sets the default regular expression for full dynamic dependencies.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"exprContextRequest":{"description":"Set the default request for full dynamic dependencies.","type":"string"},"noParse":{"description":"Don\'t parse files matching. It\'s matched against the full resolved request.","anyOf":[{"type":"array","items":{"description":"Don\'t parse files matching. It\'s matched against the full resolved request.","anyOf":[{"description":"A regular expression, when matched the module is not parsed.","instanceof":"RegExp","tsType":"RegExp"},{"description":"An absolute path, when the module starts with this path it is not parsed.","type":"string","absolutePath":true},{"instanceof":"Function","tsType":"Function"}]},"minItems":1},{"description":"A regular expression, when matched the module is not parsed.","instanceof":"RegExp","tsType":"RegExp"},{"description":"An absolute path, when the module starts with this path it is not parsed.","type":"string","absolutePath":true},{"instanceof":"Function","tsType":"Function"}]},"rules":{"description":"An array of rules applied for modules.","oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"strictExportPresence":{"description":"Emit errors instead of warnings when imported names don\'t exist in imported module.","type":"boolean"},"strictThisContextOnImports":{"description":"Handle the this context correctly according to the spec for namespace objects.","type":"boolean"},"unknownContextCritical":{"description":"Enable warnings when using the require function in a not statically analyse-able way.","type":"boolean"},"unknownContextRecursive":{"description":"Enable recursive directory lookup when using the require function in a not statically analyse-able way.","type":"boolean"},"unknownContextRegExp":{"description":"Sets the regular expression when using the require function in a not statically analyse-able way.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"unknownContextRequest":{"description":"Sets the request when using the require function in a not statically analyse-able way.","type":"string"},"unsafeCache":{"description":"Cache the resolving of module requests.","anyOf":[{"type":"boolean"},{"instanceof":"Function","tsType":"Function"}]},"wrappedContextCritical":{"description":"Enable warnings for partial dynamic dependencies.","type":"boolean"},"wrappedContextRecursive":{"description":"Enable recursive directory lookup for partial dynamic dependencies.","type":"boolean"},"wrappedContextRegExp":{"description":"Set the inner regular expression for partial dynamic dependencies.","instanceof":"RegExp","tsType":"RegExp"}}},"Name":{"description":"Name of the configuration. Used when loading multiple configurations.","type":"string"},"Node":{"description":"Include polyfills or mocks for various node stuff.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/NodeOptions"}]},"NodeOptions":{"description":"Options object for node compatibility features.","type":"object","additionalProperties":false,"properties":{"__dirname":{"description":"Include a polyfill for the \'__dirname\' variable.","enum":[false,true,"mock","eval-only"]},"__filename":{"description":"Include a polyfill for the \'__filename\' variable.","enum":[false,true,"mock","eval-only"]},"global":{"description":"Include a polyfill for the \'global\' variable.","type":"boolean"}}},"Optimization":{"description":"Enables/Disables integrated optimizations.","type":"object","additionalProperties":false,"properties":{"checkWasmTypes":{"description":"Check for incompatible wasm types when importing/exporting from/to ESM.","type":"boolean"},"chunkIds":{"description":"Define the algorithm to choose chunk ids (named: readable ids for better debugging, deterministic: numeric hash ids for better long term caching, size: numeric ids focused on minimal initial download size, total-size: numeric ids focused on minimal total download size, false: no algorithm used, as custom one can be provided via plugin).","enum":["natural","named","deterministic","size","total-size",false]},"concatenateModules":{"description":"Concatenate modules when possible to generate less modules, more efficient code and enable more optimizations by the minimizer.","type":"boolean"},"emitOnErrors":{"description":"Emit assets even when errors occur. Critical errors are emitted into the generated code and will cause errors at runtime.","type":"boolean"},"flagIncludedChunks":{"description":"Also flag chunks as loaded which contain a subset of the modules.","type":"boolean"},"innerGraph":{"description":"Creates a module-internal dependency graph for top level symbols, exports and imports, to improve unused exports detection.","type":"boolean"},"mangleExports":{"description":"Rename exports when possible to generate shorter code (depends on optimization.usedExports and optimization.providedExports, true/\\"deterministic\\": generate short deterministic names optimized for caching, \\"size\\": generate the shortest possible names).","anyOf":[{"enum":["size","deterministic"]},{"type":"boolean"}]},"mangleWasmImports":{"description":"Reduce size of WASM by changing imports to shorter strings.","type":"boolean"},"mergeDuplicateChunks":{"description":"Merge chunks which contain the same modules.","type":"boolean"},"minimize":{"description":"Enable minimizing the output. Uses optimization.minimizer.","type":"boolean"},"minimizer":{"description":"Minimizer(s) to use for minimizing the output.","type":"array","cli":{"exclude":true},"items":{"description":"Plugin of type object or instanceof Function.","anyOf":[{"enum":["..."]},{"$ref":"#/definitions/WebpackPluginInstance"},{"$ref":"#/definitions/WebpackPluginFunction"}]}},"moduleIds":{"description":"Define the algorithm to choose module ids (natural: numeric ids in order of usage, named: readable ids for better debugging, hashed: (deprecated) short hashes as ids for better long term caching, deterministic: numeric hash ids for better long term caching, size: numeric ids focused on minimal initial download size, false: no algorithm used, as custom one can be provided via plugin).","enum":["natural","named","hashed","deterministic","size",false]},"noEmitOnErrors":{"description":"Avoid emitting assets when errors occur (deprecated: use \'emitOnErrors\' instead).","type":"boolean","cli":{"exclude":true}},"nodeEnv":{"description":"Set process.env.NODE_ENV to a specific value.","anyOf":[{"enum":[false]},{"type":"string"}]},"portableRecords":{"description":"Generate records with relative paths to be able to move the context folder.","type":"boolean"},"providedExports":{"description":"Figure out which exports are provided by modules to generate more efficient code.","type":"boolean"},"realContentHash":{"description":"Use real [contenthash] based on final content of the assets.","type":"boolean"},"removeAvailableModules":{"description":"Removes modules from chunks when these modules are already included in all parents.","type":"boolean"},"removeEmptyChunks":{"description":"Remove chunks which are empty.","type":"boolean"},"runtimeChunk":{"$ref":"#/definitions/OptimizationRuntimeChunk"},"sideEffects":{"description":"Skip over modules which contain no side effects when exports are not used (false: disabled, \'flag\': only use manually placed side effects flag, true: also analyse source code for side effects).","anyOf":[{"enum":["flag"]},{"type":"boolean"}]},"splitChunks":{"description":"Optimize duplication and caching by splitting chunks by shared modules and cache group.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/OptimizationSplitChunksOptions"}]},"usedExports":{"description":"Figure out which exports are used by modules to mangle export names, omit unused exports and generate more efficient code (true: analyse used exports for each runtime, \\"global\\": analyse exports globally for all runtimes combined).","anyOf":[{"enum":["global"]},{"type":"boolean"}]}}},"OptimizationRuntimeChunk":{"description":"Create an additional chunk which contains only the webpack runtime and chunk hash maps.","anyOf":[{"enum":["single","multiple"]},{"type":"boolean"},{"type":"object","additionalProperties":false,"properties":{"name":{"description":"The name or name factory for the runtime chunks.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]}}}]},"OptimizationRuntimeChunkNormalized":{"description":"Create an additional chunk which contains only the webpack runtime and chunk hash maps.","anyOf":[{"enum":[false]},{"type":"object","additionalProperties":false,"properties":{"name":{"description":"The name factory for the runtime chunks.","instanceof":"Function","tsType":"Function"}}}]},"OptimizationSplitChunksCacheGroup":{"description":"Options object for describing behavior of a cache group selecting modules that should be cached together.","type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks.","type":"string","minLength":1},"chunks":{"description":"Select chunks for determining cache group content (defaults to \\"initial\\", \\"initial\\" and \\"all\\" requires adding these chunks to the HTML).","anyOf":[{"enum":["initial","async","all"]},{"instanceof":"Function","tsType":"((chunk: import(\'../lib/Chunk\')) => boolean)"}]},"enforce":{"description":"Ignore minimum size, minimum chunks and maximum requests and always create chunks for this cache group.","type":"boolean"},"enforceSizeThreshold":{"description":"Size threshold at which splitting is enforced and other restrictions (minRemainingSize, maxAsyncRequests, maxInitialRequests) are ignored.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"filename":{"description":"Sets the template for the filename for created chunks.","anyOf":[{"type":"string","absolutePath":false,"minLength":1},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"idHint":{"description":"Sets the hint for chunk id.","type":"string"},"maxAsyncRequests":{"description":"Maximum number of requests which are accepted for on-demand loading.","type":"number","minimum":1},"maxAsyncSize":{"description":"Maximal size hint for the on-demand chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxInitialRequests":{"description":"Maximum number of initial chunks which are accepted for an entry point.","type":"number","minimum":1},"maxInitialSize":{"description":"Maximal size hint for the initial chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxSize":{"description":"Maximal size hint for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minChunks":{"description":"Minimum number of times a module has to be duplicated until it\'s considered for splitting.","type":"number","minimum":1},"minRemainingSize":{"description":"Minimal size for the chunks the stay after moving the modules to a new chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSize":{"description":"Minimal size for the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"name":{"description":"Give chunks for this cache group a name (chunks with equal name are merged).","anyOf":[{"enum":[false]},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"priority":{"description":"Priority of this cache group.","type":"number"},"reuseExistingChunk":{"description":"Try to reuse existing chunk (with name) when it has matching modules.","type":"boolean"},"test":{"description":"Assign modules to a cache group by module name.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"type":{"description":"Assign modules to a cache group by module type.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"usedExports":{"description":"Compare used exports when checking common modules. Modules will only be put in the same chunk when exports are equal.","type":"boolean"}}},"OptimizationSplitChunksGetCacheGroups":{"description":"A function returning cache groups.","instanceof":"Function","tsType":"((module: import(\'../lib/Module\')) => OptimizationSplitChunksCacheGroup | OptimizationSplitChunksCacheGroup[] | void)"},"OptimizationSplitChunksOptions":{"description":"Options object for splitting chunks into smaller chunks.","type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks.","type":"string","minLength":1},"cacheGroups":{"description":"Assign modules to a cache group (modules from different cache groups are tried to keep in separate chunks, default categories: \'default\', \'defaultVendors\').","type":"object","additionalProperties":{"description":"Configuration for a cache group.","anyOf":[{"enum":[false]},{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"},{"$ref":"#/definitions/OptimizationSplitChunksCacheGroup"}]},"not":{"description":"Using the cacheGroup shorthand syntax with a cache group named \'test\' is a potential config error\\nDid you intent to define a cache group with a test instead?\\ncacheGroups: {\\n : {\\n test: ...\\n }\\n}.","type":"object","additionalProperties":true,"properties":{"test":{"description":"The test property is a cache group name, but using the test option of the cache group could be intended instead.","anyOf":[{"instanceof":"Function","tsType":"Function"},{"type":"string"},{"instanceof":"RegExp","tsType":"RegExp"}]}},"required":["test"]}},"chunks":{"description":"Select chunks for determining shared modules (defaults to \\"async\\", \\"initial\\" and \\"all\\" requires adding these chunks to the HTML).","anyOf":[{"enum":["initial","async","all"]},{"instanceof":"Function","tsType":"((chunk: import(\'../lib/Chunk\')) => boolean)"}]},"defaultSizeTypes":{"description":"Sets the size types which are used when a number is used for sizes.","type":"array","items":{"description":"Size type, like \'javascript\', \'webassembly\'.","type":"string"},"minLength":1},"enforceSizeThreshold":{"description":"Size threshold at which splitting is enforced and other restrictions (minRemainingSize, maxAsyncRequests, maxInitialRequests) are ignored.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"fallbackCacheGroup":{"description":"Options for modules not selected by any other cache group.","type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks.","type":"string","minLength":1},"maxAsyncSize":{"description":"Maximal size hint for the on-demand chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxInitialSize":{"description":"Maximal size hint for the initial chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxSize":{"description":"Maximal size hint for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSize":{"description":"Minimal size for the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]}}},"filename":{"description":"Sets the template for the filename for created chunks.","anyOf":[{"type":"string","absolutePath":false,"minLength":1},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"hidePathInfo":{"description":"Prevents exposing path info when creating names for parts splitted by maxSize.","type":"boolean"},"maxAsyncRequests":{"description":"Maximum number of requests which are accepted for on-demand loading.","type":"number","minimum":1},"maxAsyncSize":{"description":"Maximal size hint for the on-demand chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxInitialRequests":{"description":"Maximum number of initial chunks which are accepted for an entry point.","type":"number","minimum":1},"maxInitialSize":{"description":"Maximal size hint for the initial chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxSize":{"description":"Maximal size hint for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minChunks":{"description":"Minimum number of times a module has to be duplicated until it\'s considered for splitting.","type":"number","minimum":1},"minRemainingSize":{"description":"Minimal size for the chunks the stay after moving the modules to a new chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSize":{"description":"Minimal size for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"name":{"description":"Give chunks created a name (chunks with equal name are merged).","anyOf":[{"enum":[false]},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"usedExports":{"description":"Compare used exports when checking common modules. Modules will only be put in the same chunk when exports are equal.","type":"boolean"}}},"OptimizationSplitChunksSizes":{"description":"Size description for limits.","anyOf":[{"description":"Size of the javascript part of the chunk.","type":"number","minimum":0},{"description":"Specify size limits per size type.","type":"object","additionalProperties":{"description":"Size of the part of the chunk with the type of the key.","type":"number"}}]},"Output":{"description":"Options affecting the output of the compilation. `output` options tell webpack how to write the compiled files to disk.","type":"object","additionalProperties":false,"properties":{"assetModuleFilename":{"$ref":"#/definitions/AssetModuleFilename"},"auxiliaryComment":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/AuxiliaryComment"}]},"charset":{"$ref":"#/definitions/Charset"},"chunkFilename":{"$ref":"#/definitions/ChunkFilename"},"chunkFormat":{"$ref":"#/definitions/ChunkFormat"},"chunkLoadTimeout":{"$ref":"#/definitions/ChunkLoadTimeout"},"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"chunkLoadingGlobal":{"$ref":"#/definitions/ChunkLoadingGlobal"},"compareBeforeEmit":{"$ref":"#/definitions/CompareBeforeEmit"},"crossOriginLoading":{"$ref":"#/definitions/CrossOriginLoading"},"devtoolFallbackModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolFallbackModuleFilenameTemplate"},"devtoolModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolModuleFilenameTemplate"},"devtoolNamespace":{"$ref":"#/definitions/DevtoolNamespace"},"enabledChunkLoadingTypes":{"$ref":"#/definitions/EnabledChunkLoadingTypes"},"enabledLibraryTypes":{"$ref":"#/definitions/EnabledLibraryTypes"},"enabledWasmLoadingTypes":{"$ref":"#/definitions/EnabledWasmLoadingTypes"},"environment":{"$ref":"#/definitions/Environment"},"filename":{"$ref":"#/definitions/Filename"},"globalObject":{"$ref":"#/definitions/GlobalObject"},"hashDigest":{"$ref":"#/definitions/HashDigest"},"hashDigestLength":{"$ref":"#/definitions/HashDigestLength"},"hashFunction":{"$ref":"#/definitions/HashFunction"},"hashSalt":{"$ref":"#/definitions/HashSalt"},"hotUpdateChunkFilename":{"$ref":"#/definitions/HotUpdateChunkFilename"},"hotUpdateGlobal":{"$ref":"#/definitions/HotUpdateGlobal"},"hotUpdateMainFilename":{"$ref":"#/definitions/HotUpdateMainFilename"},"iife":{"$ref":"#/definitions/Iife"},"importFunctionName":{"$ref":"#/definitions/ImportFunctionName"},"importMetaName":{"$ref":"#/definitions/ImportMetaName"},"library":{"$ref":"#/definitions/Library"},"libraryExport":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/LibraryExport"}]},"libraryTarget":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/LibraryType"}]},"module":{"$ref":"#/definitions/OutputModule"},"path":{"$ref":"#/definitions/Path"},"pathinfo":{"$ref":"#/definitions/Pathinfo"},"publicPath":{"$ref":"#/definitions/PublicPath"},"scriptType":{"$ref":"#/definitions/ScriptType"},"sourceMapFilename":{"$ref":"#/definitions/SourceMapFilename"},"sourcePrefix":{"$ref":"#/definitions/SourcePrefix"},"strictModuleExceptionHandling":{"$ref":"#/definitions/StrictModuleExceptionHandling"},"umdNamedDefine":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/UmdNamedDefine"}]},"uniqueName":{"$ref":"#/definitions/UniqueName"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"},"webassemblyModuleFilename":{"$ref":"#/definitions/WebassemblyModuleFilename"},"workerChunkLoading":{"$ref":"#/definitions/ChunkLoading"},"workerWasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"OutputModule":{"description":"Output javascript files as module source type.","type":"boolean"},"OutputNormalized":{"description":"Normalized options affecting the output of the compilation. `output` options tell webpack how to write the compiled files to disk.","type":"object","additionalProperties":false,"properties":{"assetModuleFilename":{"$ref":"#/definitions/AssetModuleFilename"},"charset":{"$ref":"#/definitions/Charset"},"chunkFilename":{"$ref":"#/definitions/ChunkFilename"},"chunkFormat":{"$ref":"#/definitions/ChunkFormat"},"chunkLoadTimeout":{"$ref":"#/definitions/ChunkLoadTimeout"},"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"chunkLoadingGlobal":{"$ref":"#/definitions/ChunkLoadingGlobal"},"compareBeforeEmit":{"$ref":"#/definitions/CompareBeforeEmit"},"crossOriginLoading":{"$ref":"#/definitions/CrossOriginLoading"},"devtoolFallbackModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolFallbackModuleFilenameTemplate"},"devtoolModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolModuleFilenameTemplate"},"devtoolNamespace":{"$ref":"#/definitions/DevtoolNamespace"},"enabledChunkLoadingTypes":{"$ref":"#/definitions/EnabledChunkLoadingTypes"},"enabledLibraryTypes":{"$ref":"#/definitions/EnabledLibraryTypes"},"enabledWasmLoadingTypes":{"$ref":"#/definitions/EnabledWasmLoadingTypes"},"environment":{"$ref":"#/definitions/Environment"},"filename":{"$ref":"#/definitions/Filename"},"globalObject":{"$ref":"#/definitions/GlobalObject"},"hashDigest":{"$ref":"#/definitions/HashDigest"},"hashDigestLength":{"$ref":"#/definitions/HashDigestLength"},"hashFunction":{"$ref":"#/definitions/HashFunction"},"hashSalt":{"$ref":"#/definitions/HashSalt"},"hotUpdateChunkFilename":{"$ref":"#/definitions/HotUpdateChunkFilename"},"hotUpdateGlobal":{"$ref":"#/definitions/HotUpdateGlobal"},"hotUpdateMainFilename":{"$ref":"#/definitions/HotUpdateMainFilename"},"iife":{"$ref":"#/definitions/Iife"},"importFunctionName":{"$ref":"#/definitions/ImportFunctionName"},"importMetaName":{"$ref":"#/definitions/ImportMetaName"},"library":{"$ref":"#/definitions/LibraryOptions"},"module":{"$ref":"#/definitions/OutputModule"},"path":{"$ref":"#/definitions/Path"},"pathinfo":{"$ref":"#/definitions/Pathinfo"},"publicPath":{"$ref":"#/definitions/PublicPath"},"scriptType":{"$ref":"#/definitions/ScriptType"},"sourceMapFilename":{"$ref":"#/definitions/SourceMapFilename"},"sourcePrefix":{"$ref":"#/definitions/SourcePrefix"},"strictModuleExceptionHandling":{"$ref":"#/definitions/StrictModuleExceptionHandling"},"uniqueName":{"$ref":"#/definitions/UniqueName"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"},"webassemblyModuleFilename":{"$ref":"#/definitions/WebassemblyModuleFilename"},"workerChunkLoading":{"$ref":"#/definitions/ChunkLoading"},"workerWasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"Parallelism":{"description":"The number of parallel processed modules in the compilation.","type":"number","minimum":1},"Path":{"description":"The output directory as **absolute path** (required).","type":"string","absolutePath":true},"Pathinfo":{"description":"Include comments with information about the modules.","anyOf":[{"enum":["verbose"]},{"type":"boolean"}]},"Performance":{"description":"Configuration for web performance recommendations.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/PerformanceOptions"}]},"PerformanceOptions":{"description":"Configuration object for web performance recommendations.","type":"object","additionalProperties":false,"properties":{"assetFilter":{"description":"Filter function to select assets that are checked.","instanceof":"Function","tsType":"Function"},"hints":{"description":"Sets the format of the hints: warnings, errors or nothing at all.","enum":[false,"warning","error"]},"maxAssetSize":{"description":"File size limit (in bytes) when exceeded, that webpack will provide performance hints.","type":"number"},"maxEntrypointSize":{"description":"Total size of an entry point (in bytes).","type":"number"}}},"Plugins":{"description":"Add additional plugins to the compiler.","type":"array","items":{"description":"Plugin of type object or instanceof Function.","anyOf":[{"$ref":"#/definitions/WebpackPluginInstance"},{"$ref":"#/definitions/WebpackPluginFunction"}]}},"Profile":{"description":"Capture timing information for each module.","type":"boolean"},"PublicPath":{"description":"The `publicPath` specifies the public URL address of the output files when referenced in a browser.","anyOf":[{"enum":["auto"]},{"type":"string"},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"RecordsInputPath":{"description":"Store compiler state to a json file.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"RecordsOutputPath":{"description":"Load compiler state from a json file.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"RecordsPath":{"description":"Store/Load compiler state from/to a json file. This will result in persistent ids of modules and chunks. An absolute path is expected. `recordsPath` is used for `recordsInputPath` and `recordsOutputPath` if they left undefined.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"Resolve":{"description":"Options for the resolver.","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]},"ResolveAlias":{"description":"Redirect module requests.","anyOf":[{"type":"array","items":{"description":"Alias configuration.","type":"object","additionalProperties":false,"properties":{"alias":{"description":"New request.","anyOf":[{"description":"Multiple alternative requests.","type":"array","items":{"description":"One choice of request.","type":"string","minLength":1}},{"description":"Ignore request (replace with empty module).","enum":[false]},{"description":"New request.","type":"string","minLength":1}]},"name":{"description":"Request to be redirected.","type":"string"},"onlyModule":{"description":"Redirect only exact matching request.","type":"boolean"}},"required":["alias","name"]}},{"type":"object","additionalProperties":{"description":"New request.","anyOf":[{"description":"Multiple alternative requests.","type":"array","items":{"description":"One choice of request.","type":"string","minLength":1}},{"description":"Ignore request (replace with empty module).","enum":[false]},{"description":"New request.","type":"string","minLength":1}]}}]},"ResolveLoader":{"description":"Options for the resolver when resolving loaders.","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]},"ResolveOptions":{"description":"Options object for resolving requests.","type":"object","additionalProperties":false,"properties":{"alias":{"$ref":"#/definitions/ResolveAlias"},"aliasFields":{"description":"Fields in the description file (usually package.json) which are used to redirect requests inside the module.","type":"array","items":{"description":"Field in the description file (usually package.json) which are used to redirect requests inside the module.","anyOf":[{"type":"array","items":{"description":"Part of the field path in the description file (usually package.json) which are used to redirect requests inside the module.","type":"string","minLength":1}},{"type":"string","minLength":1}]}},"byDependency":{"description":"Extra resolve options per dependency category. Typical categories are \\"commonjs\\", \\"amd\\", \\"esm\\".","type":"object","additionalProperties":{"description":"Options object for resolving requests.","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]}},"cache":{"description":"Enable caching of successfully resolved requests (cache entries are revalidated).","type":"boolean"},"cachePredicate":{"description":"Predicate function to decide which requests should be cached.","instanceof":"Function","tsType":"((request: import(\'enhanced-resolve\').ResolveRequest) => boolean)"},"cacheWithContext":{"description":"Include the context information in the cache identifier when caching.","type":"boolean"},"conditionNames":{"description":"Condition names for exports field entry point.","type":"array","items":{"description":"Condition names for exports field entry point.","type":"string"}},"descriptionFiles":{"description":"Filenames used to find a description file (like a package.json).","type":"array","items":{"description":"Filename used to find a description file (like a package.json).","type":"string","minLength":1}},"enforceExtension":{"description":"Enforce the resolver to use one of the extensions from the extensions option (User must specify requests without extension).","type":"boolean"},"exportsFields":{"description":"Field names from the description file (usually package.json) which are used to provide entry points of a package.","type":"array","items":{"description":"Field name from the description file (usually package.json) which is used to provide entry points of a package.","type":"string"}},"extensions":{"description":"Extensions added to the request when trying to find the file.","type":"array","items":{"description":"Extension added to the request when trying to find the file.","type":"string","minLength":1}},"fallback":{"description":"Redirect module requests when normal resolving fails.","oneOf":[{"$ref":"#/definitions/ResolveAlias"}]},"fileSystem":{"description":"Filesystem for the resolver.","tsType":"(import(\'../lib/util/fs\').InputFileSystem)"},"fullySpecified":{"description":"Treats the request specified by the user as fully specified, meaning no extensions are added and the mainFiles in directories are not resolved (This doesn\'t affect requests from mainFields, aliasFields or aliases).","type":"boolean"},"importsFields":{"description":"Field names from the description file (usually package.json) which are used to provide internal request of a package (requests starting with # are considered as internal).","type":"array","items":{"description":"Field name from the description file (usually package.json) which is used to provide internal request of a package (requests starting with # are considered as internal).","type":"string"}},"mainFields":{"description":"Field names from the description file (package.json) which are used to find the default entry point.","type":"array","items":{"description":"Field name from the description file (package.json) which are used to find the default entry point.","anyOf":[{"type":"array","items":{"description":"Part of the field path from the description file (package.json) which are used to find the default entry point.","type":"string","minLength":1}},{"type":"string","minLength":1}]}},"mainFiles":{"description":"Filenames used to find the default entry point if there is no description file or main field.","type":"array","items":{"description":"Filename used to find the default entry point if there is no description file or main field.","type":"string","minLength":1}},"modules":{"description":"Folder names or directory paths where to find modules.","type":"array","items":{"description":"Folder name or directory path where to find modules.","type":"string","minLength":1}},"plugins":{"description":"Plugins for the resolver.","type":"array","cli":{"exclude":true},"items":{"description":"Plugin of type object or instanceof Function.","anyOf":[{"enum":["..."]},{"$ref":"#/definitions/ResolvePluginInstance"}]}},"preferRelative":{"description":"Prefer to resolve module requests as relative request and fallback to resolving as module.","type":"boolean"},"resolver":{"description":"Custom resolver.","tsType":"(import(\'enhanced-resolve\').Resolver)"},"restrictions":{"description":"A list of resolve restrictions. Resolve results must fulfill all of these restrictions to resolve successfully. Other resolve paths are taken when restrictions are not met.","type":"array","items":{"description":"Resolve restriction. Resolve result must fulfill this restriction.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":true,"minLength":1}]}},"roots":{"description":"A list of directories in which requests that are server-relative URLs (starting with \'/\') are resolved. On non-windows system these requests are tried to resolve as absolute path first.","type":"array","items":{"description":"Directory in which requests that are server-relative URLs (starting with \'/\') are resolved.","type":"string"}},"symlinks":{"description":"Enable resolving symlinks to the original location.","type":"boolean"},"unsafeCache":{"description":"Enable caching of successfully resolved requests (cache entries are not revalidated).","anyOf":[{"type":"boolean"},{"type":"object","additionalProperties":true}]},"useSyncFileSystemCalls":{"description":"Use synchronous filesystem calls for the resolver.","type":"boolean"}}},"ResolvePluginInstance":{"description":"Plugin instance.","type":"object","additionalProperties":true,"properties":{"apply":{"description":"The run point of the plugin, required method.","instanceof":"Function","tsType":"(resolver: import(\'enhanced-resolve\').Resolver) => void"}},"required":["apply"]},"RuleSetCondition":{"description":"A condition matcher.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1},{"type":"object","additionalProperties":false,"properties":{"and":{"description":"Logical AND.","oneOf":[{"$ref":"#/definitions/RuleSetConditions"}]},"not":{"description":"Logical NOT.","oneOf":[{"$ref":"#/definitions/RuleSetConditions"}]},"or":{"description":"Logical OR.","oneOf":[{"$ref":"#/definitions/RuleSetConditions"}]}}},{"instanceof":"Function","tsType":"((value: string) => boolean)"},{"$ref":"#/definitions/RuleSetConditions"}]},"RuleSetConditionAbsolute":{"description":"A condition matcher matching an absolute path.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":true},{"type":"object","additionalProperties":false,"properties":{"and":{"description":"Logical AND.","oneOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"not":{"description":"Logical NOT.","oneOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"or":{"description":"Logical OR.","oneOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]}}},{"instanceof":"Function","tsType":"((value: string) => boolean)"},{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"RuleSetConditionOrConditions":{"description":"One or multiple rule conditions.","cli":{"helper":true},"anyOf":[{"$ref":"#/definitions/RuleSetCondition"},{"$ref":"#/definitions/RuleSetConditions"}]},"RuleSetConditionOrConditionsAbsolute":{"description":"One or multiple rule conditions matching an absolute path.","cli":{"helper":true},"anyOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"},{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"RuleSetConditions":{"description":"A list of rule conditions.","type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/RuleSetCondition"}]}},"RuleSetConditionsAbsolute":{"description":"A list of rule conditions matching an absolute path.","type":"array","items":{"description":"A rule condition matching an absolute path.","oneOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"}]}},"RuleSetLoader":{"description":"A loader request.","type":"string","minLength":1},"RuleSetLoaderOptions":{"description":"Options passed to a loader.","anyOf":[{"type":"string"},{"type":"object"}]},"RuleSetRule":{"description":"A rule description with conditions and effects for modules.","type":"object","additionalProperties":false,"properties":{"compiler":{"description":"Match the child compiler name.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"dependency":{"description":"Match dependency type.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"descriptionData":{"description":"Match values of properties in the description file (usually package.json).","type":"object","additionalProperties":{"$ref":"#/definitions/RuleSetConditionOrConditions"}},"enforce":{"description":"Enforce this rule as pre or post step.","enum":["pre","post"]},"exclude":{"description":"Shortcut for resource.exclude.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"generator":{"description":"The options for the module generator.","type":"object"},"include":{"description":"Shortcut for resource.include.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"issuer":{"description":"Match the issuer of the module (The module pointing to this module).","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"loader":{"description":"Shortcut for use.loader.","oneOf":[{"$ref":"#/definitions/RuleSetLoader"}]},"mimetype":{"description":"Match module mimetype when load from Data URI.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"oneOf":{"description":"Only execute the first matching rule in this array.","type":"array","items":{"description":"A rule.","oneOf":[{"$ref":"#/definitions/RuleSetRule"}]}},"options":{"description":"Shortcut for use.options.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/RuleSetLoaderOptions"}]},"parser":{"description":"Options for parsing.","type":"object","additionalProperties":true},"realResource":{"description":"Match the real resource path of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"resolve":{"description":"Options for the resolver.","type":"object","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]},"resource":{"description":"Match the resource path of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"resourceFragment":{"description":"Match the resource fragment of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"resourceQuery":{"description":"Match the resource query of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"rules":{"description":"Match and execute these rules when this rule is matched.","type":"array","items":{"description":"A rule.","oneOf":[{"$ref":"#/definitions/RuleSetRule"}]}},"sideEffects":{"description":"Flags a module as with or without side effects.","type":"boolean"},"test":{"description":"Shortcut for resource.test.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"type":{"description":"Module type to use for the module.","type":"string"},"use":{"description":"Modifiers applied to the module when rule is matched.","oneOf":[{"$ref":"#/definitions/RuleSetUse"}]}}},"RuleSetRules":{"description":"A list of rules.","type":"array","items":{"description":"A rule.","anyOf":[{"cli":{"exclude":true},"enum":["..."]},{"$ref":"#/definitions/RuleSetRule"}]}},"RuleSetUse":{"description":"A list of descriptions of loaders applied.","anyOf":[{"type":"array","items":{"description":"An use item.","oneOf":[{"$ref":"#/definitions/RuleSetUseItem"}]}},{"instanceof":"Function","tsType":"((data: { resource: string, realResource: string, resourceQuery: string, issuer: string, compiler: string }) => RuleSetUseItem[])"},{"$ref":"#/definitions/RuleSetUseItem"}]},"RuleSetUseItem":{"description":"A description of an applied loader.","anyOf":[{"type":"object","additionalProperties":false,"properties":{"ident":{"description":"Unique loader options identifier.","type":"string"},"loader":{"description":"Loader name.","oneOf":[{"$ref":"#/definitions/RuleSetLoader"}]},"options":{"description":"Loader options.","oneOf":[{"$ref":"#/definitions/RuleSetLoaderOptions"}]}}},{"instanceof":"Function","tsType":"((data: object) => RuleSetUseItem|RuleSetUseItem[])"},{"$ref":"#/definitions/RuleSetLoader"}]},"ScriptType":{"description":"This option enables loading async chunks via a custom script type, such as script type=\\"module\\".","enum":[false,"text/javascript","module"]},"SnapshotOptions":{"description":"Options affecting how file system snapshots are created and validated.","type":"object","additionalProperties":false,"properties":{"buildDependencies":{"description":"Options for snapshotting build dependencies to determine if the whole cache need to be invalidated.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}},"immutablePaths":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","type":"array","items":{"description":"A path to a immutable directory (usually a package manager cache directory).","type":"string","absolutePath":true,"minLength":1}},"managedPaths":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","type":"array","items":{"description":"A path to a managed directory (usually a node_modules directory).","type":"string","absolutePath":true,"minLength":1}},"module":{"description":"Options for snapshotting dependencies of modules to determine if they need to be built again.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}},"resolve":{"description":"Options for snapshotting dependencies of request resolving to determine if requests need to be re-resolved.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}},"resolveBuildDependencies":{"description":"Options for snapshotting the resolving of build dependencies to determine if the build dependencies need to be re-resolved.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}}}},"SourceMapFilename":{"description":"The filename of the SourceMaps for the JavaScript files. They are inside the `output.path` directory.","type":"string","absolutePath":false},"SourcePrefix":{"description":"Prefixes every line of the source in the bundle with this string.","type":"string"},"StatsOptions":{"description":"Stats options object.","type":"object","additionalProperties":false,"properties":{"all":{"description":"Fallback value for stats options when an option is not defined (has precedence over local webpack defaults).","type":"boolean"},"assets":{"description":"Add assets information.","type":"boolean"},"assetsSort":{"description":"Sort the assets by that field.","type":"string"},"assetsSpace":{"description":"Space to display assets (groups will be collapsed to fit this space).","type":"number"},"builtAt":{"description":"Add built at time information.","type":"boolean"},"cached":{"description":"Add information about cached (not built) modules (deprecated: use \'cachedModules\' instead).","type":"boolean"},"cachedAssets":{"description":"Show cached assets (setting this to `false` only shows emitted files).","type":"boolean"},"cachedModules":{"description":"Add information about cached (not built) modules.","type":"boolean"},"children":{"description":"Add children information.","type":"boolean"},"chunkGroupAuxiliary":{"description":"Display auxiliary assets in chunk groups.","type":"boolean"},"chunkGroupChildren":{"description":"Display children of chunk groups.","type":"boolean"},"chunkGroupMaxAssets":{"description":"Limit of assets displayed in chunk groups.","type":"number"},"chunkGroups":{"description":"Display all chunk groups with the corresponding bundles.","type":"boolean"},"chunkModules":{"description":"Add built modules information to chunk information.","type":"boolean"},"chunkOrigins":{"description":"Add the origins of chunks and chunk merging info.","type":"boolean"},"chunkRelations":{"description":"Add information about parent, children and sibling chunks to chunk information.","type":"boolean"},"chunks":{"description":"Add chunk information.","type":"boolean"},"chunksSort":{"description":"Sort the chunks by that field.","type":"string"},"colors":{"description":"Enables/Disables colorful output.","anyOf":[{"description":"Enables/Disables colorful output.","type":"boolean"},{"type":"object","additionalProperties":false,"properties":{"bold":{"description":"Custom color for bold text.","type":"string"},"cyan":{"description":"Custom color for cyan text.","type":"string"},"green":{"description":"Custom color for green text.","type":"string"},"magenta":{"description":"Custom color for magenta text.","type":"string"},"red":{"description":"Custom color for red text.","type":"string"},"yellow":{"description":"Custom color for yellow text.","type":"string"}}}]},"context":{"description":"Context directory for request shortening.","type":"string","absolutePath":true},"dependentModules":{"description":"Show chunk modules that are dependencies of other modules of the chunk.","type":"boolean"},"depth":{"description":"Add module depth in module graph.","type":"boolean"},"entrypoints":{"description":"Display the entry points with the corresponding bundles.","anyOf":[{"enum":["auto"]},{"type":"boolean"}]},"env":{"description":"Add --env information.","type":"boolean"},"errorDetails":{"description":"Add details to errors (like resolving log).","type":"boolean"},"errorStack":{"description":"Add internal stack trace to errors.","type":"boolean"},"errors":{"description":"Add errors.","type":"boolean"},"errorsCount":{"description":"Add errors count.","type":"boolean"},"exclude":{"description":"Please use excludeModules instead.","cli":{"exclude":true},"anyOf":[{"type":"boolean"},{"$ref":"#/definitions/FilterTypes"}]},"excludeAssets":{"description":"Suppress assets that match the specified filters. Filters can be Strings, RegExps or Functions.","oneOf":[{"$ref":"#/definitions/FilterTypes"}]},"excludeModules":{"description":"Suppress modules that match the specified filters. Filters can be Strings, RegExps, Booleans or Functions.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/FilterTypes"}]},"groupAssetsByChunk":{"description":"Group assets by how their are related to chunks.","type":"boolean"},"groupAssetsByEmitStatus":{"description":"Group assets by their status (emitted, compared for emit or cached).","type":"boolean"},"groupAssetsByExtension":{"description":"Group assets by their extension.","type":"boolean"},"groupAssetsByInfo":{"description":"Group assets by their asset info (immutable, development, hotModuleReplacement, etc).","type":"boolean"},"groupAssetsByPath":{"description":"Group assets by their path.","type":"boolean"},"groupModulesByAttributes":{"description":"Group modules by their attributes (errors, warnings, assets, optional, orphan, or dependent).","type":"boolean"},"groupModulesByCacheStatus":{"description":"Group modules by their status (cached or built and cacheable).","type":"boolean"},"groupModulesByExtension":{"description":"Group modules by their extension.","type":"boolean"},"groupModulesByPath":{"description":"Group modules by their path.","type":"boolean"},"hash":{"description":"Add the hash of the compilation.","type":"boolean"},"ids":{"description":"Add ids.","type":"boolean"},"logging":{"description":"Add logging output.","anyOf":[{"description":"Specify log level of logging output.","enum":["none","error","warn","info","log","verbose"]},{"description":"Enable/disable logging output (`true`: shows normal logging output, loglevel: log).","type":"boolean"}]},"loggingDebug":{"description":"Include debug logging of specified loggers (i. e. for plugins or loaders). Filters can be Strings, RegExps or Functions.","anyOf":[{"description":"Enable/Disable debug logging for all loggers.","type":"boolean"},{"$ref":"#/definitions/FilterTypes"}]},"loggingTrace":{"description":"Add stack traces to logging output.","type":"boolean"},"moduleAssets":{"description":"Add information about assets inside modules.","type":"boolean"},"moduleTrace":{"description":"Add dependencies and origin of warnings/errors.","type":"boolean"},"modules":{"description":"Add built modules information.","type":"boolean"},"modulesSort":{"description":"Sort the modules by that field.","type":"string"},"modulesSpace":{"description":"Space to display modules (groups will be collapsed to fit this space, values is in number of modules/groups).","type":"number"},"nestedModules":{"description":"Add information about modules nested in other modules (like with module concatenation).","type":"boolean"},"optimizationBailout":{"description":"Show reasons why optimization bailed out for modules.","type":"boolean"},"orphanModules":{"description":"Add information about orphan modules.","type":"boolean"},"outputPath":{"description":"Add output path information.","type":"boolean"},"performance":{"description":"Add performance hint flags.","type":"boolean"},"preset":{"description":"Preset for the default values.","anyOf":[{"type":"boolean"},{"type":"string"}]},"providedExports":{"description":"Show exports provided by modules.","type":"boolean"},"publicPath":{"description":"Add public path information.","type":"boolean"},"reasons":{"description":"Add information about the reasons why modules are included.","type":"boolean"},"relatedAssets":{"description":"Add information about assets that are related to other assets (like SourceMaps for assets).","type":"boolean"},"runtime":{"description":"Add information about runtime modules (deprecated: use \'runtimeModules\' instead).","type":"boolean"},"runtimeModules":{"description":"Add information about runtime modules.","type":"boolean"},"source":{"description":"Add the source code of modules.","type":"boolean"},"timings":{"description":"Add timing information.","type":"boolean"},"usedExports":{"description":"Show exports used by modules.","type":"boolean"},"version":{"description":"Add webpack version information.","type":"boolean"},"warnings":{"description":"Add warnings.","type":"boolean"},"warningsCount":{"description":"Add warnings count.","type":"boolean"},"warningsFilter":{"description":"Suppress listing warnings that match the specified filters (they will still be counted). Filters can be Strings, RegExps or Functions.","oneOf":[{"$ref":"#/definitions/FilterTypes"}]}}},"StatsValue":{"description":"Stats options object or preset name.","anyOf":[{"enum":["none","summary","errors-only","errors-warnings","minimal","normal","detailed","verbose"]},{"type":"boolean"},{"$ref":"#/definitions/StatsOptions"}]},"StrictModuleExceptionHandling":{"description":"Handles exceptions in module loading correctly at a performance cost.","type":"boolean"},"Target":{"description":"Environment to build for. An array of environments to build for all of them when possible.","anyOf":[{"type":"array","items":{"description":"Environment to build for.","type":"string","minLength":1},"minItems":1},{"enum":[false]},{"type":"string","minLength":1}]},"UmdNamedDefine":{"description":"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.","type":"boolean"},"UniqueName":{"description":"A unique name of the webpack build to avoid multiple webpack runtimes to conflict when using globals.","type":"string","minLength":1},"WasmLoading":{"description":"The method of loading WebAssembly Modules (methods included by default are \'fetch\' (web/WebWorker), \'async-node\' (node.js), but others might be added by plugins).","anyOf":[{"enum":[false]},{"$ref":"#/definitions/WasmLoadingType"}]},"WasmLoadingType":{"description":"The method of loading WebAssembly Modules (methods included by default are \'fetch\' (web/WebWorker), \'async-node\' (node.js), but others might be added by plugins).","anyOf":[{"enum":["fetch-streaming","fetch","async-node"]},{"type":"string"}]},"Watch":{"description":"Enter watch mode, which rebuilds on file change.","type":"boolean"},"WatchOptions":{"description":"Options for the watcher.","type":"object","additionalProperties":false,"properties":{"aggregateTimeout":{"description":"Delay the rebuilt after the first change. Value is a time in ms.","type":"number"},"followSymlinks":{"description":"Resolve symlinks and watch symlink and real file. This is usually not needed as webpack already resolves symlinks (\'resolve.symlinks\').","type":"boolean"},"ignored":{"description":"Ignore some files from watching (glob pattern or regexp).","anyOf":[{"type":"array","items":{"description":"A glob pattern for files that should be ignored from watching.","type":"string","minLength":1}},{"instanceof":"RegExp","tsType":"RegExp"},{"description":"A single glob pattern for files that should be ignored from watching.","type":"string","minLength":1}]},"poll":{"description":"Enable polling mode for watching.","anyOf":[{"description":"`number`: use polling with specified interval.","type":"number"},{"description":"`true`: use polling.","type":"boolean"}]},"stdin":{"description":"Stop watching when stdin stream has ended.","type":"boolean"}}},"WebassemblyModuleFilename":{"description":"The filename of WebAssembly modules as relative path inside the `output.path` directory.","type":"string","absolutePath":false},"WebpackOptionsNormalized":{"description":"Normalized webpack options object.","type":"object","additionalProperties":false,"properties":{"amd":{"$ref":"#/definitions/Amd"},"bail":{"$ref":"#/definitions/Bail"},"cache":{"$ref":"#/definitions/CacheOptionsNormalized"},"context":{"$ref":"#/definitions/Context"},"dependencies":{"$ref":"#/definitions/Dependencies"},"devServer":{"$ref":"#/definitions/DevServer"},"devtool":{"$ref":"#/definitions/DevTool"},"entry":{"$ref":"#/definitions/EntryNormalized"},"experiments":{"$ref":"#/definitions/Experiments"},"externals":{"$ref":"#/definitions/Externals"},"externalsPresets":{"$ref":"#/definitions/ExternalsPresets"},"externalsType":{"$ref":"#/definitions/ExternalsType"},"ignoreWarnings":{"$ref":"#/definitions/IgnoreWarningsNormalized"},"infrastructureLogging":{"$ref":"#/definitions/InfrastructureLogging"},"loader":{"$ref":"#/definitions/Loader"},"mode":{"$ref":"#/definitions/Mode"},"module":{"$ref":"#/definitions/ModuleOptions"},"name":{"$ref":"#/definitions/Name"},"node":{"$ref":"#/definitions/Node"},"optimization":{"$ref":"#/definitions/Optimization"},"output":{"$ref":"#/definitions/OutputNormalized"},"parallelism":{"$ref":"#/definitions/Parallelism"},"performance":{"$ref":"#/definitions/Performance"},"plugins":{"$ref":"#/definitions/Plugins"},"profile":{"$ref":"#/definitions/Profile"},"recordsInputPath":{"$ref":"#/definitions/RecordsInputPath"},"recordsOutputPath":{"$ref":"#/definitions/RecordsOutputPath"},"resolve":{"$ref":"#/definitions/Resolve"},"resolveLoader":{"$ref":"#/definitions/ResolveLoader"},"snapshot":{"$ref":"#/definitions/SnapshotOptions"},"stats":{"$ref":"#/definitions/StatsValue"},"target":{"$ref":"#/definitions/Target"},"watch":{"$ref":"#/definitions/Watch"},"watchOptions":{"$ref":"#/definitions/WatchOptions"}},"required":["cache","snapshot","entry","experiments","externals","externalsPresets","infrastructureLogging","module","node","optimization","output","plugins","resolve","resolveLoader","stats","watchOptions"]},"WebpackPluginFunction":{"description":"Function acting as plugin.","instanceof":"Function","tsType":"(this: import(\'../lib/Compiler\'), compiler: import(\'../lib/Compiler\')) => void"},"WebpackPluginInstance":{"description":"Plugin instance.","type":"object","additionalProperties":true,"properties":{"apply":{"description":"The run point of the plugin, required method.","instanceof":"Function","tsType":"(compiler: import(\'../lib/Compiler\')) => void"}},"required":["apply"]}},"description":"Options object as provided by the user.","type":"object","additionalProperties":false,"properties":{"amd":{"$ref":"#/definitions/Amd"},"bail":{"$ref":"#/definitions/Bail"},"cache":{"$ref":"#/definitions/CacheOptions"},"context":{"$ref":"#/definitions/Context"},"dependencies":{"$ref":"#/definitions/Dependencies"},"devServer":{"$ref":"#/definitions/DevServer"},"devtool":{"$ref":"#/definitions/DevTool"},"entry":{"$ref":"#/definitions/Entry"},"experiments":{"$ref":"#/definitions/Experiments"},"externals":{"$ref":"#/definitions/Externals"},"externalsPresets":{"$ref":"#/definitions/ExternalsPresets"},"externalsType":{"$ref":"#/definitions/ExternalsType"},"ignoreWarnings":{"$ref":"#/definitions/IgnoreWarnings"},"infrastructureLogging":{"$ref":"#/definitions/InfrastructureLogging"},"loader":{"$ref":"#/definitions/Loader"},"mode":{"$ref":"#/definitions/Mode"},"module":{"$ref":"#/definitions/ModuleOptions"},"name":{"$ref":"#/definitions/Name"},"node":{"$ref":"#/definitions/Node"},"optimization":{"$ref":"#/definitions/Optimization"},"output":{"$ref":"#/definitions/Output"},"parallelism":{"$ref":"#/definitions/Parallelism"},"performance":{"$ref":"#/definitions/Performance"},"plugins":{"$ref":"#/definitions/Plugins"},"profile":{"$ref":"#/definitions/Profile"},"recordsInputPath":{"$ref":"#/definitions/RecordsInputPath"},"recordsOutputPath":{"$ref":"#/definitions/RecordsOutputPath"},"recordsPath":{"$ref":"#/definitions/RecordsPath"},"resolve":{"$ref":"#/definitions/Resolve"},"resolveLoader":{"$ref":"#/definitions/ResolveLoader"},"snapshot":{"$ref":"#/definitions/SnapshotOptions"},"stats":{"$ref":"#/definitions/StatsValue"},"target":{"$ref":"#/definitions/Target"},"watch":{"$ref":"#/definitions/Watch"},"watchOptions":{"$ref":"#/definitions/WatchOptions"}}}')},5643:e=>{"use strict";e.exports=JSON.parse('{"definitions":{"DataUrlFunction":{"description":"Function that executes for module and should return an DataUrl string.","instanceof":"Function","tsType":"((source: string | Buffer, context: { filename: string, module: import(\'../../lib/Module\') }) => string)"},"DataUrlOptions":{"description":"Options object for data url generation.","type":"object","additionalProperties":false,"properties":{"encoding":{"description":"Asset encoding (defaults to base64).","enum":[false,"base64"]},"mimetype":{"description":"Asset mimetype (getting from file extension by default).","type":"string"}}}},"title":"AssetModulesPluginGeneratorOptions","type":"object","additionalProperties":false,"properties":{"dataUrl":{"description":"The options for data url generator.","anyOf":[{"$ref":"#/definitions/DataUrlOptions"},{"$ref":"#/definitions/DataUrlFunction"}]},"filename":{"description":"Template for asset filename.","anyOf":[{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((pathData: import(\\"../../lib/Compilation\\").PathData, assetInfo?: import(\\"../../lib/Compilation\\").AssetInfo) => string)"}]}}}')},21459:e=>{"use strict";e.exports=JSON.parse('{"definitions":{"DataUrlFunction":{"description":"Function that executes for module and should return whenever asset should be inlined as DataUrl.","instanceof":"Function","tsType":"((source: string | Buffer, context: { filename: string, module: import(\'../../lib/Module\') }) => boolean)"},"DataUrlOptions":{"description":"Options object for DataUrl condition.","type":"object","additionalProperties":false,"properties":{"maxSize":{"description":"Maximum size of asset that should be inline as modules. Default: 8kb.","type":"number"}}}},"title":"AssetModulesPluginParserOptions","type":"object","additionalProperties":false,"properties":{"dataUrlCondition":{"description":"The condition for inlining the asset as DataUrl.","anyOf":[{"$ref":"#/definitions/DataUrlOptions"},{"$ref":"#/definitions/DataUrlFunction"}]}}}')},33946:e=>{"use strict";e.exports=JSON.parse('{"definitions":{"BannerFunction":{"description":"The banner as function, it will be wrapped in a comment.","instanceof":"Function","tsType":"(data: { hash: string, chunk: import(\'../../lib/Chunk\'), filename: string }) => string"},"Rule":{"description":"Filtering rule as regex or string.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"Rules":{"description":"Filtering rules.","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/Rule"}]}},{"$ref":"#/definitions/Rule"}]}},"title":"BannerPluginArgument","anyOf":[{"description":"The banner as string, it will be wrapped in a comment.","type":"string","minLength":1},{"title":"BannerPluginOptions","type":"object","additionalProperties":false,"properties":{"banner":{"description":"Specifies the banner.","anyOf":[{"type":"string"},{"$ref":"#/definitions/BannerFunction"}]},"entryOnly":{"description":"If true, the banner will only be added to the entry chunks.","type":"boolean"},"exclude":{"description":"Exclude all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"include":{"description":"Include all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"raw":{"description":"If true, banner will not be wrapped in a comment.","type":"boolean"},"test":{"description":"Include all modules that pass test assertion.","oneOf":[{"$ref":"#/definitions/Rules"}]}},"required":["banner"]},{"$ref":"#/definitions/BannerFunction"}]}')},7754:e=>{"use strict";e.exports=JSON.parse('{"title":"DllPluginOptions","type":"object","additionalProperties":false,"properties":{"context":{"description":"Context of requests in the manifest file (defaults to the webpack context).","type":"string","minLength":1},"entryOnly":{"description":"If true, only entry points will be exposed (default: true).","type":"boolean"},"format":{"description":"If true, manifest json file (output) will be formatted.","type":"boolean"},"name":{"description":"Name of the exposed dll function (external name, use value of \'output.library\').","type":"string","minLength":1},"path":{"description":"Absolute path to the manifest json file (output).","type":"string","minLength":1},"type":{"description":"Type of the dll bundle (external type, use value of \'output.libraryTarget\').","type":"string","minLength":1}},"required":["path"]}')},15766:e=>{"use strict";e.exports=JSON.parse('{"definitions":{"DllReferencePluginOptionsContent":{"description":"The mappings from request to module info.","type":"object","additionalProperties":{"description":"Module info.","type":"object","additionalProperties":false,"properties":{"buildMeta":{"description":"Meta information about the module.","type":"object"},"exports":{"description":"Information about the provided exports of the module.","anyOf":[{"description":"List of provided exports of the module.","type":"array","items":{"description":"Name of the export.","type":"string","minLength":1}},{"description":"Exports unknown/dynamic.","enum":[true]}]},"id":{"description":"Module ID.","anyOf":[{"type":"number"},{"type":"string","minLength":1}]}},"required":["id"]},"minProperties":1},"DllReferencePluginOptionsManifest":{"description":"An object containing content, name and type.","type":"object","additionalProperties":false,"properties":{"content":{"description":"The mappings from request to module info.","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsContent"}]},"name":{"description":"The name where the dll is exposed (external name).","type":"string","minLength":1},"type":{"description":"The type how the dll is exposed (external type).","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]}},"required":["content"]},"DllReferencePluginOptionsSourceType":{"description":"The type how the dll is exposed (external type).","enum":["var","assign","this","window","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]}},"title":"DllReferencePluginOptions","anyOf":[{"type":"object","additionalProperties":false,"properties":{"context":{"description":"Context of requests in the manifest (or content property) as absolute path.","type":"string","absolutePath":true},"extensions":{"description":"Extensions used to resolve modules in the dll bundle (only used when using \'scope\').","type":"array","items":{"description":"An extension.","type":"string"}},"manifest":{"description":"An object containing content and name or a string to the absolute path of the JSON manifest to be loaded upon compilation.","anyOf":[{"type":"string","absolutePath":true},{"$ref":"#/definitions/DllReferencePluginOptionsManifest"}]},"name":{"description":"The name where the dll is exposed (external name, defaults to manifest.name).","type":"string","minLength":1},"scope":{"description":"Prefix which is used for accessing the content of the dll.","type":"string","minLength":1},"sourceType":{"description":"How the dll is exposed (libraryTarget, defaults to manifest.type).","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]},"type":{"description":"The way how the export of the dll bundle is used.","enum":["require","object"]}},"required":["manifest"]},{"type":"object","additionalProperties":false,"properties":{"content":{"description":"The mappings from request to module info.","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsContent"}]},"context":{"description":"Context of requests in the manifest (or content property) as absolute path.","type":"string","absolutePath":true},"extensions":{"description":"Extensions used to resolve modules in the dll bundle (only used when using \'scope\').","type":"array","items":{"description":"An extension.","type":"string"}},"name":{"description":"The name where the dll is exposed (external name).","type":"string","minLength":1},"scope":{"description":"Prefix which is used for accessing the content of the dll.","type":"string","minLength":1},"sourceType":{"description":"How the dll is exposed (libraryTarget).","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]},"type":{"description":"The way how the export of the dll bundle is used.","enum":["require","object"]}},"required":["content","name"]}]}')},72864:e=>{"use strict";e.exports=JSON.parse('{"title":"HashedModuleIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"context":{"description":"The context directory for creating names.","type":"string","absolutePath":true},"hashDigest":{"description":"The encoding to use when generating the hash, defaults to \'base64\'. All encodings from Node.JS\' hash.digest are supported.","enum":["hex","latin1","base64"]},"hashDigestLength":{"description":"The prefix length of the hash digest to use, defaults to 4.","type":"number","minimum":1},"hashFunction":{"description":"The hashing algorithm to use, defaults to \'md4\'. All functions from Node.JS\' crypto.createHash are supported.","type":"string","minLength":1}}}')},51856:e=>{"use strict";e.exports=JSON.parse('{"title":"IgnorePluginOptions","anyOf":[{"type":"object","additionalProperties":false,"properties":{"contextRegExp":{"description":"A RegExp to test the context (directory) against.","instanceof":"RegExp","tsType":"RegExp"},"resourceRegExp":{"description":"A RegExp to test the request against.","instanceof":"RegExp","tsType":"RegExp"}}},{"type":"object","additionalProperties":false,"properties":{"checkResource":{"description":"A filter function for resource and context.","instanceof":"Function","tsType":"((resource: string, context: string) => boolean)"}}}]}')},15685:e=>{"use strict";e.exports=JSON.parse('{"title":"JsonModulesPluginParserOptions","type":"object","additionalProperties":false,"properties":{"parse":{"description":"Function that executes for a module source string and should return json-compatible data.","instanceof":"Function","tsType":"((input: string) => any)"}}}')},56086:e=>{"use strict";e.exports=JSON.parse('{"title":"LoaderOptionsPluginOptions","type":"object","additionalProperties":true,"properties":{"debug":{"description":"Whether loaders should be in debug mode or not. debug will be removed as of webpack 3.","type":"boolean"},"minimize":{"description":"Where loaders can be switched to minimize mode.","type":"boolean"},"options":{"description":"A configuration object that can be used to configure older loaders.","type":"object","additionalProperties":true,"properties":{"context":{"description":"The context that can be used to configure older loaders.","type":"string","absolutePath":true}}}}}')},98777:e=>{"use strict";e.exports=JSON.parse('{"definitions":{"HandlerFunction":{"description":"Function that executes for every progress step.","instanceof":"Function","tsType":"((percentage: number, msg: string, ...args: string[]) => void)"},"ProgressPluginOptions":{"description":"Options object for the ProgressPlugin.","type":"object","additionalProperties":false,"properties":{"activeModules":{"description":"Show active modules count and one active module in progress message.","type":"boolean"},"dependencies":{"description":"Show dependencies count in progress message.","type":"boolean"},"dependenciesCount":{"description":"Minimum dependencies count to start with. For better progress calculation. Default: 10000.","type":"number"},"entries":{"description":"Show entries count in progress message.","type":"boolean"},"handler":{"description":"Function that executes for every progress step.","oneOf":[{"$ref":"#/definitions/HandlerFunction"}]},"modules":{"description":"Show modules count in progress message.","type":"boolean"},"modulesCount":{"description":"Minimum modules count to start with. For better progress calculation. Default: 5000.","type":"number"},"percentBy":{"description":"Collect percent algorithm. By default it calculates by a median from modules, entries and dependencies percent.","enum":["entries","modules","dependencies",null]},"profile":{"description":"Collect profile data for progress steps. Default: false.","enum":[true,false,null]}}}},"title":"ProgressPluginArgument","anyOf":[{"$ref":"#/definitions/ProgressPluginOptions"},{"$ref":"#/definitions/HandlerFunction"}]}')},95228:e=>{"use strict";e.exports=JSON.parse('{"definitions":{"rule":{"description":"Include source maps for modules based on their extension (defaults to .js and .css).","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"rules":{"description":"Include source maps for modules based on their extension (defaults to .js and .css).","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/rule"}]}},{"$ref":"#/definitions/rule"}]}},"title":"SourceMapDevToolPluginOptions","type":"object","additionalProperties":false,"properties":{"append":{"description":"Appends the given value to the original asset. Usually the #sourceMappingURL comment. [url] is replaced with a URL to the source map file. false disables the appending.","anyOf":[{"description":"Append no SourceMap comment to the bundle, but still generate SourceMaps.","enum":[false,null]},{"type":"string","minLength":1}]},"columns":{"description":"Indicates whether column mappings should be used (defaults to true).","type":"boolean"},"exclude":{"description":"Exclude modules that match the given value from source map generation.","oneOf":[{"$ref":"#/definitions/rules"}]},"fallbackModuleFilenameTemplate":{"description":"Generator string or function to create identifiers of modules for the \'sources\' array in the SourceMap used only if \'moduleFilenameTemplate\' would result in a conflict.","anyOf":[{"type":"string","minLength":1},{"description":"Custom function generating the identifier.","instanceof":"Function","tsType":"Function"}]},"fileContext":{"description":"Path prefix to which the [file] placeholder is relative to.","type":"string"},"filename":{"description":"Defines the output filename of the SourceMap (will be inlined if no value is provided).","anyOf":[{"description":"Disable separate SourceMap file and inline SourceMap as DataUrl.","enum":[false,null]},{"type":"string","absolutePath":false,"minLength":1}]},"include":{"description":"Include source maps for module paths that match the given value.","oneOf":[{"$ref":"#/definitions/rules"}]},"module":{"description":"Indicates whether SourceMaps from loaders should be used (defaults to true).","type":"boolean"},"moduleFilenameTemplate":{"description":"Generator string or function to create identifiers of modules for the \'sources\' array in the SourceMap.","anyOf":[{"type":"string","minLength":1},{"description":"Custom function generating the identifier.","instanceof":"Function","tsType":"Function"}]},"namespace":{"description":"Namespace prefix to allow multiple webpack roots in the devtools.","type":"string"},"noSources":{"description":"Omit the \'sourceContents\' array from the SourceMap.","type":"boolean"},"publicPath":{"description":"Provide a custom public path for the SourceMapping comment.","type":"string"},"sourceRoot":{"description":"Provide a custom value for the \'sourceRoot\' property in the SourceMap.","type":"string"},"test":{"$ref":"#/definitions/rules"}}}')},66489:e=>{"use strict";e.exports=JSON.parse('{"title":"WatchIgnorePluginOptions","type":"object","additionalProperties":false,"properties":{"paths":{"description":"A list of RegExps or absolute paths to directories or files that should be ignored.","type":"array","items":{"description":"RegExp or absolute path to directories or files that should be ignored.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"}]},"minItems":1}},"required":["paths"]}')},18374:e=>{"use strict";e.exports=JSON.parse('{"definitions":{"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"Exposes":{"description":"Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.","anyOf":[{"type":"array","items":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesObject"}]}},{"$ref":"#/definitions/ExposesObject"}]},"ExposesConfig":{"description":"Advanced configuration for modules that should be exposed by this container.","type":"object","additionalProperties":false,"properties":{"import":{"description":"Request to a module that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]}},"required":["import"]},"ExposesItem":{"description":"Module that should be exposed by this container.","type":"string","minLength":1},"ExposesItems":{"description":"Modules that should be exposed by this container.","type":"array","items":{"$ref":"#/definitions/ExposesItem"}},"ExposesObject":{"description":"Modules that should be exposed by this container. Property names are used as public paths.","type":"object","additionalProperties":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesConfig"},{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]}},"LibraryCustomUmdCommentObject":{"description":"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set comment for `amd` section in UMD.","type":"string"},"commonjs":{"description":"Set comment for `commonjs` (exports) section in UMD.","type":"string"},"commonjs2":{"description":"Set comment for `commonjs2` (module.exports) section in UMD.","type":"string"},"root":{"description":"Set comment for `root` (global variable) section in UMD.","type":"string"}}},"LibraryCustomUmdObject":{"description":"Description object for all UMD variants of the library name.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Name of the exposed AMD library in the UMD.","type":"string","minLength":1},"commonjs":{"description":"Name of the exposed commonjs export in the UMD.","type":"string","minLength":1},"root":{"description":"Name of the property exposed globally by a UMD library.","anyOf":[{"type":"array","items":{"description":"Part of the name of the property exposed globally by a UMD library.","type":"string","minLength":1}},{"type":"string","minLength":1}]}}},"LibraryExport":{"description":"Specify which export should be exposed as library.","anyOf":[{"type":"array","items":{"description":"Part of the export that should be exposed as library.","type":"string","minLength":1}},{"type":"string","minLength":1}]},"LibraryName":{"description":"The name of the library (some types allow unnamed libraries too).","anyOf":[{"type":"array","items":{"description":"A part of the library name.","type":"string","minLength":1}},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"auxiliaryComment":{"$ref":"#/definitions/AuxiliaryComment"},"export":{"$ref":"#/definitions/LibraryExport"},"name":{"$ref":"#/definitions/LibraryName"},"type":{"$ref":"#/definitions/LibraryType"},"umdNamedDefine":{"$ref":"#/definitions/UmdNamedDefine"}},"required":["type"]},"LibraryType":{"description":"Type of library (types included by default are \'var\', \'module\', \'assign\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},{"type":"string"}]},"UmdNamedDefine":{"description":"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.","type":"boolean"}},"title":"ContainerPluginOptions","type":"object","additionalProperties":false,"properties":{"exposes":{"$ref":"#/definitions/Exposes"},"filename":{"description":"The filename for this container relative path inside the `output.path` directory.","type":"string","absolutePath":false,"minLength":1},"library":{"$ref":"#/definitions/LibraryOptions"},"name":{"description":"The name for this container.","type":"string","minLength":1},"shareScope":{"description":"The name of the share scope which is shared with the host (defaults to \'default\').","type":"string","minLength":1}},"required":["name","exposes"]}')},31339:e=>{"use strict";e.exports=JSON.parse('{"definitions":{"ExternalsType":{"description":"Specifies the default type of externals (\'amd*\', \'umd*\', \'system\' and \'jsonp\' depend on output.libraryTarget set to the same value).","enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system","promise","import","script"]},"Remotes":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime. When provided, property name is used as request scope, otherwise request scope is automatically inferred from container location.","anyOf":[{"type":"array","items":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesObject"}]}},{"$ref":"#/definitions/RemotesObject"}]},"RemotesConfig":{"description":"Advanced configuration for container locations from which modules should be resolved and loaded at runtime.","type":"object","additionalProperties":false,"properties":{"external":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]},"shareScope":{"description":"The name of the share scope shared with this remote.","type":"string","minLength":1}},"required":["external"]},"RemotesItem":{"description":"Container location from which modules should be resolved and loaded at runtime.","type":"string","minLength":1},"RemotesItems":{"description":"Container locations from which modules should be resolved and loaded at runtime.","type":"array","items":{"$ref":"#/definitions/RemotesItem"}},"RemotesObject":{"description":"Container locations from which modules should be resolved and loaded at runtime. Property names are used as request scopes.","type":"object","additionalProperties":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesConfig"},{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]}}},"title":"ContainerReferencePluginOptions","type":"object","additionalProperties":false,"properties":{"remoteType":{"description":"The external type of the remote containers.","oneOf":[{"$ref":"#/definitions/ExternalsType"}]},"remotes":{"$ref":"#/definitions/Remotes"},"shareScope":{"description":"The name of the share scope shared with all remotes (defaults to \'default\').","type":"string","minLength":1}},"required":["remoteType","remotes"]}')},2320:e=>{"use strict";e.exports=JSON.parse('{"definitions":{"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"Exposes":{"description":"Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.","anyOf":[{"type":"array","items":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesObject"}]}},{"$ref":"#/definitions/ExposesObject"}]},"ExposesConfig":{"description":"Advanced configuration for modules that should be exposed by this container.","type":"object","additionalProperties":false,"properties":{"import":{"description":"Request to a module that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]}},"required":["import"]},"ExposesItem":{"description":"Module that should be exposed by this container.","type":"string","minLength":1},"ExposesItems":{"description":"Modules that should be exposed by this container.","type":"array","items":{"$ref":"#/definitions/ExposesItem"}},"ExposesObject":{"description":"Modules that should be exposed by this container. Property names are used as public paths.","type":"object","additionalProperties":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesConfig"},{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]}},"ExternalsType":{"description":"Specifies the default type of externals (\'amd*\', \'umd*\', \'system\' and \'jsonp\' depend on output.libraryTarget set to the same value).","enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system","promise","import","script"]},"LibraryCustomUmdCommentObject":{"description":"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set comment for `amd` section in UMD.","type":"string"},"commonjs":{"description":"Set comment for `commonjs` (exports) section in UMD.","type":"string"},"commonjs2":{"description":"Set comment for `commonjs2` (module.exports) section in UMD.","type":"string"},"root":{"description":"Set comment for `root` (global variable) section in UMD.","type":"string"}}},"LibraryCustomUmdObject":{"description":"Description object for all UMD variants of the library name.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Name of the exposed AMD library in the UMD.","type":"string","minLength":1},"commonjs":{"description":"Name of the exposed commonjs export in the UMD.","type":"string","minLength":1},"root":{"description":"Name of the property exposed globally by a UMD library.","anyOf":[{"type":"array","items":{"description":"Part of the name of the property exposed globally by a UMD library.","type":"string","minLength":1}},{"type":"string","minLength":1}]}}},"LibraryExport":{"description":"Specify which export should be exposed as library.","anyOf":[{"type":"array","items":{"description":"Part of the export that should be exposed as library.","type":"string","minLength":1}},{"type":"string","minLength":1}]},"LibraryName":{"description":"The name of the library (some types allow unnamed libraries too).","anyOf":[{"type":"array","items":{"description":"A part of the library name.","type":"string","minLength":1}},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"auxiliaryComment":{"$ref":"#/definitions/AuxiliaryComment"},"export":{"$ref":"#/definitions/LibraryExport"},"name":{"$ref":"#/definitions/LibraryName"},"type":{"$ref":"#/definitions/LibraryType"},"umdNamedDefine":{"$ref":"#/definitions/UmdNamedDefine"}},"required":["type"]},"LibraryType":{"description":"Type of library (types included by default are \'var\', \'module\', \'assign\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},{"type":"string"}]},"Remotes":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime. When provided, property name is used as request scope, otherwise request scope is automatically inferred from container location.","anyOf":[{"type":"array","items":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesObject"}]}},{"$ref":"#/definitions/RemotesObject"}]},"RemotesConfig":{"description":"Advanced configuration for container locations from which modules should be resolved and loaded at runtime.","type":"object","additionalProperties":false,"properties":{"external":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]},"shareScope":{"description":"The name of the share scope shared with this remote.","type":"string","minLength":1}},"required":["external"]},"RemotesItem":{"description":"Container location from which modules should be resolved and loaded at runtime.","type":"string","minLength":1},"RemotesItems":{"description":"Container locations from which modules should be resolved and loaded at runtime.","type":"array","items":{"$ref":"#/definitions/RemotesItem"}},"RemotesObject":{"description":"Container locations from which modules should be resolved and loaded at runtime. Property names are used as request scopes.","type":"object","additionalProperties":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesConfig"},{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]}},"Shared":{"description":"Modules that should be shared in the share scope. When provided, property names are used to match requested modules in this compilation.","anyOf":[{"type":"array","items":{"description":"Modules that should be shared in the share scope.","anyOf":[{"$ref":"#/definitions/SharedItem"},{"$ref":"#/definitions/SharedObject"}]}},{"$ref":"#/definitions/SharedObject"}]},"SharedConfig":{"description":"Advanced configuration for modules that should be shared in the share scope.","type":"object","additionalProperties":false,"properties":{"eager":{"description":"Include the provided and fallback module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.","type":"boolean"},"import":{"description":"Provided module that should be provided to share scope. Also acts as fallback module if no shared module is found in share scope or version isn\'t valid. Defaults to the property name.","anyOf":[{"description":"No provided or fallback module.","enum":[false]},{"$ref":"#/definitions/SharedItem"}]},"packageName":{"description":"Package name to determine required version from description file. This is only needed when package name can\'t be automatically determined from request.","type":"string","minLength":1},"requiredVersion":{"description":"Version requirement from module in share scope.","anyOf":[{"description":"No version requirement check.","enum":[false]},{"description":"Version as string. Can be prefixed with \'^\' or \'~\' for minimum matches. Each part of the version should be separated by a dot \'.\'.","type":"string"}]},"shareKey":{"description":"Module is looked up under this key from the share scope.","type":"string","minLength":1},"shareScope":{"description":"Share scope name.","type":"string","minLength":1},"singleton":{"description":"Allow only a single version of the shared module in share scope (disabled by default).","type":"boolean"},"strictVersion":{"description":"Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).","type":"boolean"},"version":{"description":"Version of the provided module. Will replace lower matching versions, but not higher.","anyOf":[{"description":"Don\'t provide a version.","enum":[false]},{"description":"Version as string. Each part of the version should be separated by a dot \'.\'.","type":"string"}]}}},"SharedItem":{"description":"A module that should be shared in the share scope.","type":"string","minLength":1},"SharedObject":{"description":"Modules that should be shared in the share scope. Property names are used to match requested modules in this compilation. Relative requests are resolved, module requests are matched unresolved, absolute paths will match resolved requests. A trailing slash will match all requests with this prefix. In this case shareKey must also have a trailing slash.","type":"object","additionalProperties":{"description":"Modules that should be shared in the share scope.","anyOf":[{"$ref":"#/definitions/SharedConfig"},{"$ref":"#/definitions/SharedItem"}]}},"UmdNamedDefine":{"description":"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.","type":"boolean"}},"title":"ModuleFederationPluginOptions","type":"object","additionalProperties":false,"properties":{"exposes":{"$ref":"#/definitions/Exposes"},"filename":{"description":"The filename of the container as relative path inside the `output.path` directory.","type":"string","absolutePath":false},"library":{"$ref":"#/definitions/LibraryOptions"},"name":{"description":"The name of the container.","type":"string"},"remoteType":{"description":"The external type of the remote containers.","oneOf":[{"$ref":"#/definitions/ExternalsType"}]},"remotes":{"$ref":"#/definitions/Remotes"},"shareScope":{"description":"Share scope name used for all shared modules (defaults to \'default\').","type":"string","minLength":1},"shared":{"$ref":"#/definitions/Shared"}}}')},26281:e=>{"use strict";e.exports=JSON.parse('{"title":"ProfilingPluginOptions","type":"object","additionalProperties":false,"properties":{"outputPath":{"description":"Path to the output file e.g. `path.resolve(__dirname, \'profiling/events.json\')`. Defaults to `events.json`.","type":"string","absolutePath":true}}}')},7435:e=>{"use strict";e.exports=JSON.parse('{"title":"OccurrenceChunkIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"prioritiseInitial":{"description":"Prioritise initial size over total size.","type":"boolean"}}}')},88570:e=>{"use strict";e.exports=JSON.parse('{"title":"OccurrenceModuleIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"prioritiseInitial":{"description":"Prioritise initial size over total size.","type":"boolean"}}}')},3572:e=>{"use strict";e.exports=JSON.parse('{"title":"AggressiveSplittingPluginOptions","type":"object","additionalProperties":false,"properties":{"chunkOverhead":{"description":"Extra cost for each chunk (Default: 9.8kiB).","type":"number"},"entryChunkMultiplicator":{"description":"Extra cost multiplicator for entry chunks (Default: 10).","type":"number"},"maxSize":{"description":"Byte, max size of per file (Default: 50kiB).","type":"number"},"minSize":{"description":"Byte, split point. (Default: 30kiB).","type":"number"}}}')},58898:e=>{"use strict";e.exports=JSON.parse('{"title":"LimitChunkCountPluginOptions","type":"object","additionalProperties":false,"properties":{"chunkOverhead":{"description":"Constant overhead for a chunk.","type":"number"},"entryChunkMultiplicator":{"description":"Multiplicator for initial chunks.","type":"number"},"maxChunks":{"description":"Limit the maximum number of chunks using a value greater greater than or equal to 1.","type":"number","minimum":1}},"required":["maxChunks"]}')},66480:e=>{"use strict";e.exports=JSON.parse('{"title":"MinChunkSizePluginOptions","type":"object","additionalProperties":false,"properties":{"chunkOverhead":{"description":"Constant overhead for a chunk.","type":"number"},"entryChunkMultiplicator":{"description":"Multiplicator for initial chunks.","type":"number"},"minChunkSize":{"description":"Minimum number of characters.","type":"number"}},"required":["minChunkSize"]}')},9515:e=>{"use strict";e.exports=JSON.parse('{"definitions":{"Consumes":{"description":"Modules that should be consumed from share scope. When provided, property names are used to match requested modules in this compilation.","anyOf":[{"type":"array","items":{"description":"Modules that should be consumed from share scope.","anyOf":[{"$ref":"#/definitions/ConsumesItem"},{"$ref":"#/definitions/ConsumesObject"}]}},{"$ref":"#/definitions/ConsumesObject"}]},"ConsumesConfig":{"description":"Advanced configuration for modules that should be consumed from share scope.","type":"object","additionalProperties":false,"properties":{"eager":{"description":"Include the fallback module directly instead behind an async request. This allows to use fallback module in initial load too. All possible shared modules need to be eager too.","type":"boolean"},"import":{"description":"Fallback module if no shared module is found in share scope. Defaults to the property name.","anyOf":[{"description":"No fallback module.","enum":[false]},{"$ref":"#/definitions/ConsumesItem"}]},"packageName":{"description":"Package name to determine required version from description file. This is only needed when package name can\'t be automatically determined from request.","type":"string","minLength":1},"requiredVersion":{"description":"Version requirement from module in share scope.","anyOf":[{"description":"No version requirement check.","enum":[false]},{"description":"Version as string. Can be prefixed with \'^\' or \'~\' for minimum matches. Each part of the version should be separated by a dot \'.\'.","type":"string"}]},"shareKey":{"description":"Module is looked up under this key from the share scope.","type":"string","minLength":1},"shareScope":{"description":"Share scope name.","type":"string","minLength":1},"singleton":{"description":"Allow only a single version of the shared module in share scope (disabled by default).","type":"boolean"},"strictVersion":{"description":"Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).","type":"boolean"}}},"ConsumesItem":{"description":"A module that should be consumed from share scope.","type":"string","minLength":1},"ConsumesObject":{"description":"Modules that should be consumed from share scope. Property names are used to match requested modules in this compilation. Relative requests are resolved, module requests are matched unresolved, absolute paths will match resolved requests. A trailing slash will match all requests with this prefix. In this case shareKey must also have a trailing slash.","type":"object","additionalProperties":{"description":"Modules that should be consumed from share scope.","anyOf":[{"$ref":"#/definitions/ConsumesConfig"},{"$ref":"#/definitions/ConsumesItem"}]}}},"title":"ConsumeSharedPluginOptions","description":"Options for consuming shared modules.","type":"object","additionalProperties":false,"properties":{"consumes":{"$ref":"#/definitions/Consumes"},"shareScope":{"description":"Share scope name used for all consumed modules (defaults to \'default\').","type":"string","minLength":1}},"required":["consumes"]}')},12287:e=>{"use strict";e.exports=JSON.parse('{"definitions":{"Provides":{"description":"Modules that should be provided as shared modules to the share scope. When provided, property name is used to match modules, otherwise this is automatically inferred from share key.","anyOf":[{"type":"array","items":{"description":"Modules that should be provided as shared modules to the share scope.","anyOf":[{"$ref":"#/definitions/ProvidesItem"},{"$ref":"#/definitions/ProvidesObject"}]}},{"$ref":"#/definitions/ProvidesObject"}]},"ProvidesConfig":{"description":"Advanced configuration for modules that should be provided as shared modules to the share scope.","type":"object","additionalProperties":false,"properties":{"eager":{"description":"Include the provided module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.","type":"boolean"},"shareKey":{"description":"Key in the share scope under which the shared modules should be stored.","type":"string","minLength":1},"shareScope":{"description":"Share scope name.","type":"string","minLength":1},"version":{"description":"Version of the provided module. Will replace lower matching versions, but not higher.","anyOf":[{"description":"Don\'t provide a version.","enum":[false]},{"description":"Version as string. Each part of the version should be separated by a dot \'.\'.","type":"string"}]}}},"ProvidesItem":{"description":"Request to a module that should be provided as shared module to the share scope (will be resolved when relative).","type":"string","minLength":1},"ProvidesObject":{"description":"Modules that should be provided as shared modules to the share scope. Property names are used as share keys.","type":"object","additionalProperties":{"description":"Modules that should be provided as shared modules to the share scope.","anyOf":[{"$ref":"#/definitions/ProvidesConfig"},{"$ref":"#/definitions/ProvidesItem"}]}}},"title":"ProvideSharedPluginOptions","type":"object","additionalProperties":false,"properties":{"provides":{"$ref":"#/definitions/Provides"},"shareScope":{"description":"Share scope name used for all provided modules (defaults to \'default\').","type":"string","minLength":1}},"required":["provides"]}')},42357:e=>{"use strict";e.exports=require("assert")},3561:e=>{"use strict";e.exports=require("browserslist")},64293:e=>{"use strict";e.exports=require("buffer")},27619:e=>{"use strict";e.exports=require("constants")},76417:e=>{"use strict";e.exports=require("crypto")},28614:e=>{"use strict";e.exports=require("events")},35747:e=>{"use strict";e.exports=require("fs")},98605:e=>{"use strict";e.exports=require("http")},57211:e=>{"use strict";e.exports=require("https")},57012:e=>{"use strict";e.exports=require("inspector")},59733:e=>{"use strict";e.exports=require("jest-worker")},14442:e=>{"use strict";e.exports=require("next/dist/compiled/find-up")},36386:e=>{"use strict";e.exports=require("next/dist/compiled/neo-async")},33225:e=>{"use strict";e.exports=require("next/dist/compiled/schema-utils")},96241:e=>{"use strict";e.exports=require("next/dist/compiled/source-map")},54775:e=>{"use strict";e.exports=require("next/dist/compiled/terser")},12087:e=>{"use strict";e.exports=require("os")},85622:e=>{"use strict";e.exports=require("path")},61765:e=>{"use strict";e.exports=require("process")},71191:e=>{"use strict";e.exports=require("querystring")},92413:e=>{"use strict";e.exports=require("stream")},78835:e=>{"use strict";e.exports=require("url")},31669:e=>{"use strict";e.exports=require("util")},92184:e=>{"use strict";e.exports=require("vm")}};var __webpack_module_cache__={};function __webpack_require__(e){if(__webpack_module_cache__[e]){return __webpack_module_cache__[e].exports}var t=__webpack_module_cache__[e]={id:e,loaded:false,exports:{}};var n=true;try{__webpack_modules__[e].call(t.exports,t,t.exports,__webpack_require__);n=false}finally{if(n)delete __webpack_module_cache__[e]}t.loaded=true;return t.exports}(()=>{__webpack_require__.nmd=(e=>{e.paths=[];if(!e.children)e.children=[];return e})})();__webpack_require__.ab=__dirname+"/";return __webpack_require__(19275)})(); \ No newline at end of file diff --git a/packages/next/compiled/webpack/constants.json b/packages/next/compiled/webpack/constants.json new file mode 100644 index 0000000000000..9a69b858db37d --- /dev/null +++ b/packages/next/compiled/webpack/constants.json @@ -0,0 +1,209 @@ +{ + "O_RDONLY": 0, + "O_WRONLY": 1, + "O_RDWR": 2, + "S_IFMT": 61440, + "S_IFREG": 32768, + "S_IFDIR": 16384, + "S_IFCHR": 8192, + "S_IFBLK": 24576, + "S_IFIFO": 4096, + "S_IFLNK": 40960, + "S_IFSOCK": 49152, + "O_CREAT": 512, + "O_EXCL": 2048, + "O_NOCTTY": 131072, + "O_TRUNC": 1024, + "O_APPEND": 8, + "O_DIRECTORY": 1048576, + "O_NOFOLLOW": 256, + "O_SYNC": 128, + "O_SYMLINK": 2097152, + "O_NONBLOCK": 4, + "S_IRWXU": 448, + "S_IRUSR": 256, + "S_IWUSR": 128, + "S_IXUSR": 64, + "S_IRWXG": 56, + "S_IRGRP": 32, + "S_IWGRP": 16, + "S_IXGRP": 8, + "S_IRWXO": 7, + "S_IROTH": 4, + "S_IWOTH": 2, + "S_IXOTH": 1, + "E2BIG": 7, + "EACCES": 13, + "EADDRINUSE": 48, + "EADDRNOTAVAIL": 49, + "EAFNOSUPPORT": 47, + "EAGAIN": 35, + "EALREADY": 37, + "EBADF": 9, + "EBADMSG": 94, + "EBUSY": 16, + "ECANCELED": 89, + "ECHILD": 10, + "ECONNABORTED": 53, + "ECONNREFUSED": 61, + "ECONNRESET": 54, + "EDEADLK": 11, + "EDESTADDRREQ": 39, + "EDOM": 33, + "EDQUOT": 69, + "EEXIST": 17, + "EFAULT": 14, + "EFBIG": 27, + "EHOSTUNREACH": 65, + "EIDRM": 90, + "EILSEQ": 92, + "EINPROGRESS": 36, + "EINTR": 4, + "EINVAL": 22, + "EIO": 5, + "EISCONN": 56, + "EISDIR": 21, + "ELOOP": 62, + "EMFILE": 24, + "EMLINK": 31, + "EMSGSIZE": 40, + "EMULTIHOP": 95, + "ENAMETOOLONG": 63, + "ENETDOWN": 50, + "ENETRESET": 52, + "ENETUNREACH": 51, + "ENFILE": 23, + "ENOBUFS": 55, + "ENODATA": 96, + "ENODEV": 19, + "ENOENT": 2, + "ENOEXEC": 8, + "ENOLCK": 77, + "ENOLINK": 97, + "ENOMEM": 12, + "ENOMSG": 91, + "ENOPROTOOPT": 42, + "ENOSPC": 28, + "ENOSR": 98, + "ENOSTR": 99, + "ENOSYS": 78, + "ENOTCONN": 57, + "ENOTDIR": 20, + "ENOTEMPTY": 66, + "ENOTSOCK": 38, + "ENOTSUP": 45, + "ENOTTY": 25, + "ENXIO": 6, + "EOPNOTSUPP": 102, + "EOVERFLOW": 84, + "EPERM": 1, + "EPIPE": 32, + "EPROTO": 100, + "EPROTONOSUPPORT": 43, + "EPROTOTYPE": 41, + "ERANGE": 34, + "EROFS": 30, + "ESPIPE": 29, + "ESRCH": 3, + "ESTALE": 70, + "ETIME": 101, + "ETIMEDOUT": 60, + "ETXTBSY": 26, + "EWOULDBLOCK": 35, + "EXDEV": 18, + "SIGHUP": 1, + "SIGINT": 2, + "SIGQUIT": 3, + "SIGILL": 4, + "SIGTRAP": 5, + "SIGABRT": 6, + "SIGIOT": 6, + "SIGBUS": 10, + "SIGFPE": 8, + "SIGKILL": 9, + "SIGUSR1": 30, + "SIGSEGV": 11, + "SIGUSR2": 31, + "SIGPIPE": 13, + "SIGALRM": 14, + "SIGTERM": 15, + "SIGCHLD": 20, + "SIGCONT": 19, + "SIGSTOP": 17, + "SIGTSTP": 18, + "SIGTTIN": 21, + "SIGTTOU": 22, + "SIGURG": 16, + "SIGXCPU": 24, + "SIGXFSZ": 25, + "SIGVTALRM": 26, + "SIGPROF": 27, + "SIGWINCH": 28, + "SIGIO": 23, + "SIGSYS": 12, + "SSL_OP_ALL": 2147486719, + "SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION": 262144, + "SSL_OP_CIPHER_SERVER_PREFERENCE": 4194304, + "SSL_OP_CISCO_ANYCONNECT": 32768, + "SSL_OP_COOKIE_EXCHANGE": 8192, + "SSL_OP_CRYPTOPRO_TLSEXT_BUG": 2147483648, + "SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS": 2048, + "SSL_OP_EPHEMERAL_RSA": 0, + "SSL_OP_LEGACY_SERVER_CONNECT": 4, + "SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER": 32, + "SSL_OP_MICROSOFT_SESS_ID_BUG": 1, + "SSL_OP_MSIE_SSLV2_RSA_PADDING": 0, + "SSL_OP_NETSCAPE_CA_DN_BUG": 536870912, + "SSL_OP_NETSCAPE_CHALLENGE_BUG": 2, + "SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG": 1073741824, + "SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG": 8, + "SSL_OP_NO_COMPRESSION": 131072, + "SSL_OP_NO_QUERY_MTU": 4096, + "SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION": 65536, + "SSL_OP_NO_SSLv2": 16777216, + "SSL_OP_NO_SSLv3": 33554432, + "SSL_OP_NO_TICKET": 16384, + "SSL_OP_NO_TLSv1": 67108864, + "SSL_OP_NO_TLSv1_1": 268435456, + "SSL_OP_NO_TLSv1_2": 134217728, + "SSL_OP_PKCS1_CHECK_1": 0, + "SSL_OP_PKCS1_CHECK_2": 0, + "SSL_OP_SINGLE_DH_USE": 1048576, + "SSL_OP_SINGLE_ECDH_USE": 524288, + "SSL_OP_SSLEAY_080_CLIENT_DH_BUG": 128, + "SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG": 0, + "SSL_OP_TLS_BLOCK_PADDING_BUG": 512, + "SSL_OP_TLS_D5_BUG": 256, + "SSL_OP_TLS_ROLLBACK_BUG": 8388608, + "ENGINE_METHOD_DSA": 2, + "ENGINE_METHOD_DH": 4, + "ENGINE_METHOD_RAND": 8, + "ENGINE_METHOD_ECDH": 16, + "ENGINE_METHOD_ECDSA": 32, + "ENGINE_METHOD_CIPHERS": 64, + "ENGINE_METHOD_DIGESTS": 128, + "ENGINE_METHOD_STORE": 256, + "ENGINE_METHOD_PKEY_METHS": 512, + "ENGINE_METHOD_PKEY_ASN1_METHS": 1024, + "ENGINE_METHOD_ALL": 65535, + "ENGINE_METHOD_NONE": 0, + "DH_CHECK_P_NOT_SAFE_PRIME": 2, + "DH_CHECK_P_NOT_PRIME": 1, + "DH_UNABLE_TO_CHECK_GENERATOR": 4, + "DH_NOT_SUITABLE_GENERATOR": 8, + "NPN_ENABLED": 1, + "RSA_PKCS1_PADDING": 1, + "RSA_SSLV23_PADDING": 2, + "RSA_NO_PADDING": 3, + "RSA_PKCS1_OAEP_PADDING": 4, + "RSA_X931_PADDING": 5, + "RSA_PKCS1_PSS_PADDING": 6, + "POINT_CONVERSION_COMPRESSED": 2, + "POINT_CONVERSION_UNCOMPRESSED": 4, + "POINT_CONVERSION_HYBRID": 6, + "F_OK": 0, + "R_OK": 4, + "W_OK": 2, + "X_OK": 1, + "UV_UDP_REUSEADDR": 4 +} diff --git a/packages/next/compiled/webpack/duplex.js b/packages/next/compiled/webpack/duplex.js new file mode 100644 index 0000000000000..46924cbfdf538 --- /dev/null +++ b/packages/next/compiled/webpack/duplex.js @@ -0,0 +1 @@ +module.exports = require('./readable').Duplex diff --git a/packages/next/compiled/webpack/empty.js b/packages/next/compiled/webpack/empty.js new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/packages/next/compiled/webpack/events.js b/packages/next/compiled/webpack/events.js new file mode 100644 index 0000000000000..6dbc6ebbf2c2b --- /dev/null +++ b/packages/next/compiled/webpack/events.js @@ -0,0 +1,448 @@ +// Copyright Joyent, Inc. and other Node contributors. +// +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to permit +// persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included +// in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN +// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +// USE OR OTHER DEALINGS IN THE SOFTWARE. + +'use strict'; + +var R = typeof Reflect === 'object' ? Reflect : null +var ReflectApply = R && typeof R.apply === 'function' + ? R.apply + : function ReflectApply(target, receiver, args) { + return Function.prototype.apply.call(target, receiver, args); + } + +var ReflectOwnKeys +if (R && typeof R.ownKeys === 'function') { + ReflectOwnKeys = R.ownKeys +} else if (Object.getOwnPropertySymbols) { + ReflectOwnKeys = function ReflectOwnKeys(target) { + return Object.getOwnPropertyNames(target) + .concat(Object.getOwnPropertySymbols(target)); + }; +} else { + ReflectOwnKeys = function ReflectOwnKeys(target) { + return Object.getOwnPropertyNames(target); + }; +} + +function ProcessEmitWarning(warning) { + if (console && console.warn) console.warn(warning); +} + +var NumberIsNaN = Number.isNaN || function NumberIsNaN(value) { + return value !== value; +} + +function EventEmitter() { + EventEmitter.init.call(this); +} +module.exports = EventEmitter; + +// Backwards-compat with node 0.10.x +EventEmitter.EventEmitter = EventEmitter; + +EventEmitter.prototype._events = undefined; +EventEmitter.prototype._eventsCount = 0; +EventEmitter.prototype._maxListeners = undefined; + +// By default EventEmitters will print a warning if more than 10 listeners are +// added to it. This is a useful default which helps finding memory leaks. +var defaultMaxListeners = 10; + +Object.defineProperty(EventEmitter, 'defaultMaxListeners', { + enumerable: true, + get: function() { + return defaultMaxListeners; + }, + set: function(arg) { + if (typeof arg !== 'number' || arg < 0 || NumberIsNaN(arg)) { + throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + arg + '.'); + } + defaultMaxListeners = arg; + } +}); + +EventEmitter.init = function() { + + if (this._events === undefined || + this._events === Object.getPrototypeOf(this)._events) { + this._events = Object.create(null); + this._eventsCount = 0; + } + + this._maxListeners = this._maxListeners || undefined; +}; + +// Obviously not all Emitters should be limited to 10. This function allows +// that to be increased. Set to zero for unlimited. +EventEmitter.prototype.setMaxListeners = function setMaxListeners(n) { + if (typeof n !== 'number' || n < 0 || NumberIsNaN(n)) { + throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + n + '.'); + } + this._maxListeners = n; + return this; +}; + +function $getMaxListeners(that) { + if (that._maxListeners === undefined) + return EventEmitter.defaultMaxListeners; + return that._maxListeners; +} + +EventEmitter.prototype.getMaxListeners = function getMaxListeners() { + return $getMaxListeners(this); +}; + +EventEmitter.prototype.emit = function emit(type) { + var args = []; + for (var i = 1; i < arguments.length; i++) args.push(arguments[i]); + var doError = (type === 'error'); + + var events = this._events; + if (events !== undefined) + doError = (doError && events.error === undefined); + else if (!doError) + return false; + + // If there is no 'error' event listener then throw. + if (doError) { + var er; + if (args.length > 0) + er = args[0]; + if (er instanceof Error) { + // Note: The comments on the `throw` lines are intentional, they show + // up in Node's output if this results in an unhandled exception. + throw er; // Unhandled 'error' event + } + // At least give some kind of context to the user + var err = new Error('Unhandled error.' + (er ? ' (' + er.message + ')' : '')); + err.context = er; + throw err; // Unhandled 'error' event + } + + var handler = events[type]; + + if (handler === undefined) + return false; + + if (typeof handler === 'function') { + ReflectApply(handler, this, args); + } else { + var len = handler.length; + var listeners = arrayClone(handler, len); + for (var i = 0; i < len; ++i) + ReflectApply(listeners[i], this, args); + } + + return true; +}; + +function _addListener(target, type, listener, prepend) { + var m; + var events; + var existing; + + if (typeof listener !== 'function') { + throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof listener); + } + + events = target._events; + if (events === undefined) { + events = target._events = Object.create(null); + target._eventsCount = 0; + } else { + // To avoid recursion in the case that type === "newListener"! Before + // adding it to the listeners, first emit "newListener". + if (events.newListener !== undefined) { + target.emit('newListener', type, + listener.listener ? listener.listener : listener); + + // Re-assign `events` because a newListener handler could have caused the + // this._events to be assigned to a new object + events = target._events; + } + existing = events[type]; + } + + if (existing === undefined) { + // Optimize the case of one listener. Don't need the extra array object. + existing = events[type] = listener; + ++target._eventsCount; + } else { + if (typeof existing === 'function') { + // Adding the second element, need to change to array. + existing = events[type] = + prepend ? [listener, existing] : [existing, listener]; + // If we've already got an array, just append. + } else if (prepend) { + existing.unshift(listener); + } else { + existing.push(listener); + } + + // Check for listener leak + m = $getMaxListeners(target); + if (m > 0 && existing.length > m && !existing.warned) { + existing.warned = true; + // No error code for this since it is a Warning + // eslint-disable-next-line no-restricted-syntax + var w = new Error('Possible EventEmitter memory leak detected. ' + + existing.length + ' ' + String(type) + ' listeners ' + + 'added. Use emitter.setMaxListeners() to ' + + 'increase limit'); + w.name = 'MaxListenersExceededWarning'; + w.emitter = target; + w.type = type; + w.count = existing.length; + ProcessEmitWarning(w); + } + } + + return target; +} + +EventEmitter.prototype.addListener = function addListener(type, listener) { + return _addListener(this, type, listener, false); +}; + +EventEmitter.prototype.on = EventEmitter.prototype.addListener; + +EventEmitter.prototype.prependListener = + function prependListener(type, listener) { + return _addListener(this, type, listener, true); + }; + +function onceWrapper() { + var args = []; + for (var i = 0; i < arguments.length; i++) args.push(arguments[i]); + if (!this.fired) { + this.target.removeListener(this.type, this.wrapFn); + this.fired = true; + ReflectApply(this.listener, this.target, args); + } +} + +function _onceWrap(target, type, listener) { + var state = { fired: false, wrapFn: undefined, target: target, type: type, listener: listener }; + var wrapped = onceWrapper.bind(state); + wrapped.listener = listener; + state.wrapFn = wrapped; + return wrapped; +} + +EventEmitter.prototype.once = function once(type, listener) { + if (typeof listener !== 'function') { + throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof listener); + } + this.on(type, _onceWrap(this, type, listener)); + return this; +}; + +EventEmitter.prototype.prependOnceListener = + function prependOnceListener(type, listener) { + if (typeof listener !== 'function') { + throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof listener); + } + this.prependListener(type, _onceWrap(this, type, listener)); + return this; + }; + +// Emits a 'removeListener' event if and only if the listener was removed. +EventEmitter.prototype.removeListener = + function removeListener(type, listener) { + var list, events, position, i, originalListener; + + if (typeof listener !== 'function') { + throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof listener); + } + + events = this._events; + if (events === undefined) + return this; + + list = events[type]; + if (list === undefined) + return this; + + if (list === listener || list.listener === listener) { + if (--this._eventsCount === 0) + this._events = Object.create(null); + else { + delete events[type]; + if (events.removeListener) + this.emit('removeListener', type, list.listener || listener); + } + } else if (typeof list !== 'function') { + position = -1; + + for (i = list.length - 1; i >= 0; i--) { + if (list[i] === listener || list[i].listener === listener) { + originalListener = list[i].listener; + position = i; + break; + } + } + + if (position < 0) + return this; + + if (position === 0) + list.shift(); + else { + spliceOne(list, position); + } + + if (list.length === 1) + events[type] = list[0]; + + if (events.removeListener !== undefined) + this.emit('removeListener', type, originalListener || listener); + } + + return this; + }; + +EventEmitter.prototype.off = EventEmitter.prototype.removeListener; + +EventEmitter.prototype.removeAllListeners = + function removeAllListeners(type) { + var listeners, events, i; + + events = this._events; + if (events === undefined) + return this; + + // not listening for removeListener, no need to emit + if (events.removeListener === undefined) { + if (arguments.length === 0) { + this._events = Object.create(null); + this._eventsCount = 0; + } else if (events[type] !== undefined) { + if (--this._eventsCount === 0) + this._events = Object.create(null); + else + delete events[type]; + } + return this; + } + + // emit removeListener for all listeners on all events + if (arguments.length === 0) { + var keys = Object.keys(events); + var key; + for (i = 0; i < keys.length; ++i) { + key = keys[i]; + if (key === 'removeListener') continue; + this.removeAllListeners(key); + } + this.removeAllListeners('removeListener'); + this._events = Object.create(null); + this._eventsCount = 0; + return this; + } + + listeners = events[type]; + + if (typeof listeners === 'function') { + this.removeListener(type, listeners); + } else if (listeners !== undefined) { + // LIFO order + for (i = listeners.length - 1; i >= 0; i--) { + this.removeListener(type, listeners[i]); + } + } + + return this; + }; + +function _listeners(target, type, unwrap) { + var events = target._events; + + if (events === undefined) + return []; + + var evlistener = events[type]; + if (evlistener === undefined) + return []; + + if (typeof evlistener === 'function') + return unwrap ? [evlistener.listener || evlistener] : [evlistener]; + + return unwrap ? + unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length); +} + +EventEmitter.prototype.listeners = function listeners(type) { + return _listeners(this, type, true); +}; + +EventEmitter.prototype.rawListeners = function rawListeners(type) { + return _listeners(this, type, false); +}; + +EventEmitter.listenerCount = function(emitter, type) { + if (typeof emitter.listenerCount === 'function') { + return emitter.listenerCount(type); + } else { + return listenerCount.call(emitter, type); + } +}; + +EventEmitter.prototype.listenerCount = listenerCount; +function listenerCount(type) { + var events = this._events; + + if (events !== undefined) { + var evlistener = events[type]; + + if (typeof evlistener === 'function') { + return 1; + } else if (evlistener !== undefined) { + return evlistener.length; + } + } + + return 0; +} + +EventEmitter.prototype.eventNames = function eventNames() { + return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : []; +}; + +function arrayClone(arr, n) { + var copy = new Array(n); + for (var i = 0; i < n; ++i) + copy[i] = arr[i]; + return copy; +} + +function spliceOne(list, index) { + for (; index + 1 < list.length; index++) + list[index] = list[index + 1]; + list.pop(); +} + +function unwrapListeners(arr) { + var ret = new Array(arr.length); + for (var i = 0; i < ret.length; ++i) { + ret[i] = arr[i].listener || arr[i]; + } + return ret; +} diff --git a/packages/next/compiled/webpack/global.js b/packages/next/compiled/webpack/global.js new file mode 100644 index 0000000000000..2e7bf0b6a3e39 --- /dev/null +++ b/packages/next/compiled/webpack/global.js @@ -0,0 +1,20 @@ +var g; + +// This works in non-strict mode +g = (function() { + return this; +})(); + +try { + // This works if eval is allowed (see CSP) + g = g || new Function("return this")(); +} catch (e) { + // This works if the window reference is available + if (typeof window === "object") g = window; +} + +// g can still be undefined, but nothing to do about it... +// We return undefined, instead of nothing here, so it's +// easier to handle this case. if(!global) { ...} + +module.exports = g; diff --git a/packages/next/compiled/webpack/harmony-module.js b/packages/next/compiled/webpack/harmony-module.js new file mode 100644 index 0000000000000..c161465863cd5 --- /dev/null +++ b/packages/next/compiled/webpack/harmony-module.js @@ -0,0 +1,24 @@ +module.exports = function(originalModule) { + if (!originalModule.webpackPolyfill) { + var module = Object.create(originalModule); + // module.parent = undefined by default + if (!module.children) module.children = []; + Object.defineProperty(module, "loaded", { + enumerable: true, + get: function() { + return module.l; + } + }); + Object.defineProperty(module, "id", { + enumerable: true, + get: function() { + return module.i; + } + }); + Object.defineProperty(module, "exports", { + enumerable: true + }); + module.webpackPolyfill = 1; + } + return module; +}; diff --git a/packages/next/compiled/webpack/index.js b/packages/next/compiled/webpack/index.js new file mode 100644 index 0000000000000..13249104d9f02 --- /dev/null +++ b/packages/next/compiled/webpack/index.js @@ -0,0 +1,1789 @@ +/*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh + * @license MIT + */ +/* eslint-disable no-proto */ + +'use strict' + +var base64 = require('base64-js') +var ieee754 = require('ieee754') +var isArray = require('isarray') + +exports.Buffer = Buffer +exports.SlowBuffer = SlowBuffer +exports.INSPECT_MAX_BYTES = 50 + +/** + * If `Buffer.TYPED_ARRAY_SUPPORT`: + * === true Use Uint8Array implementation (fastest) + * === false Use Object implementation (most compatible, even IE6) + * + * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+, + * Opera 11.6+, iOS 4.2+. + * + * Due to various browser bugs, sometimes the Object implementation will be used even + * when the browser supports typed arrays. + * + * Note: + * + * - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances, + * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438. + * + * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function. + * + * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of + * incorrect length in some situations. + + * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they + * get the Object implementation, which is slower but behaves correctly. + */ +Buffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined + ? global.TYPED_ARRAY_SUPPORT + : typedArraySupport() + +/* + * Export kMaxLength after typed array support is determined. + */ +exports.kMaxLength = kMaxLength() + +function typedArraySupport () { + try { + var arr = new Uint8Array(1) + arr.__proto__ = {__proto__: Uint8Array.prototype, foo: function () { return 42 }} + return arr.foo() === 42 && // typed array instances can be augmented + typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray` + arr.subarray(1, 1).byteLength === 0 // ie10 has broken `subarray` + } catch (e) { + return false + } +} + +function kMaxLength () { + return Buffer.TYPED_ARRAY_SUPPORT + ? 0x7fffffff + : 0x3fffffff +} + +function createBuffer (that, length) { + if (kMaxLength() < length) { + throw new RangeError('Invalid typed array length') + } + if (Buffer.TYPED_ARRAY_SUPPORT) { + // Return an augmented `Uint8Array` instance, for best performance + that = new Uint8Array(length) + that.__proto__ = Buffer.prototype + } else { + // Fallback: Return an object instance of the Buffer class + if (that === null) { + that = new Buffer(length) + } + that.length = length + } + + return that +} + +/** + * The Buffer constructor returns instances of `Uint8Array` that have their + * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of + * `Uint8Array`, so the returned instances will have all the node `Buffer` methods + * and the `Uint8Array` methods. Square bracket notation works as expected -- it + * returns a single octet. + * + * The `Uint8Array` prototype remains unmodified. + */ + +function Buffer (arg, encodingOrOffset, length) { + if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) { + return new Buffer(arg, encodingOrOffset, length) + } + + // Common case. + if (typeof arg === 'number') { + if (typeof encodingOrOffset === 'string') { + throw new Error( + 'If encoding is specified then the first argument must be a string' + ) + } + return allocUnsafe(this, arg) + } + return from(this, arg, encodingOrOffset, length) +} + +Buffer.poolSize = 8192 // not used by this implementation + +// TODO: Legacy, not needed anymore. Remove in next major version. +Buffer._augment = function (arr) { + arr.__proto__ = Buffer.prototype + return arr +} + +function from (that, value, encodingOrOffset, length) { + if (typeof value === 'number') { + throw new TypeError('"value" argument must not be a number') + } + + if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) { + return fromArrayBuffer(that, value, encodingOrOffset, length) + } + + if (typeof value === 'string') { + return fromString(that, value, encodingOrOffset) + } + + return fromObject(that, value) +} + +/** + * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError + * if value is a number. + * Buffer.from(str[, encoding]) + * Buffer.from(array) + * Buffer.from(buffer) + * Buffer.from(arrayBuffer[, byteOffset[, length]]) + **/ +Buffer.from = function (value, encodingOrOffset, length) { + return from(null, value, encodingOrOffset, length) +} + +if (Buffer.TYPED_ARRAY_SUPPORT) { + Buffer.prototype.__proto__ = Uint8Array.prototype + Buffer.__proto__ = Uint8Array + if (typeof Symbol !== 'undefined' && Symbol.species && + Buffer[Symbol.species] === Buffer) { + // Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97 + Object.defineProperty(Buffer, Symbol.species, { + value: null, + configurable: true + }) + } +} + +function assertSize (size) { + if (typeof size !== 'number') { + throw new TypeError('"size" argument must be a number') + } else if (size < 0) { + throw new RangeError('"size" argument must not be negative') + } +} + +function alloc (that, size, fill, encoding) { + assertSize(size) + if (size <= 0) { + return createBuffer(that, size) + } + if (fill !== undefined) { + // Only pay attention to encoding if it's a string. This + // prevents accidentally sending in a number that would + // be interpretted as a start offset. + return typeof encoding === 'string' + ? createBuffer(that, size).fill(fill, encoding) + : createBuffer(that, size).fill(fill) + } + return createBuffer(that, size) +} + +/** + * Creates a new filled Buffer instance. + * alloc(size[, fill[, encoding]]) + **/ +Buffer.alloc = function (size, fill, encoding) { + return alloc(null, size, fill, encoding) +} + +function allocUnsafe (that, size) { + assertSize(size) + that = createBuffer(that, size < 0 ? 0 : checked(size) | 0) + if (!Buffer.TYPED_ARRAY_SUPPORT) { + for (var i = 0; i < size; ++i) { + that[i] = 0 + } + } + return that +} + +/** + * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance. + * */ +Buffer.allocUnsafe = function (size) { + return allocUnsafe(null, size) +} +/** + * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance. + */ +Buffer.allocUnsafeSlow = function (size) { + return allocUnsafe(null, size) +} + +function fromString (that, string, encoding) { + if (typeof encoding !== 'string' || encoding === '') { + encoding = 'utf8' + } + + if (!Buffer.isEncoding(encoding)) { + throw new TypeError('"encoding" must be a valid string encoding') + } + + var length = byteLength(string, encoding) | 0 + that = createBuffer(that, length) + + var actual = that.write(string, encoding) + + if (actual !== length) { + // Writing a hex string, for example, that contains invalid characters will + // cause everything after the first invalid character to be ignored. (e.g. + // 'abxxcd' will be treated as 'ab') + that = that.slice(0, actual) + } + + return that +} + +function fromArrayLike (that, array) { + var length = array.length < 0 ? 0 : checked(array.length) | 0 + that = createBuffer(that, length) + for (var i = 0; i < length; i += 1) { + that[i] = array[i] & 255 + } + return that +} + +function fromArrayBuffer (that, array, byteOffset, length) { + array.byteLength // this throws if `array` is not a valid ArrayBuffer + + if (byteOffset < 0 || array.byteLength < byteOffset) { + throw new RangeError('\'offset\' is out of bounds') + } + + if (array.byteLength < byteOffset + (length || 0)) { + throw new RangeError('\'length\' is out of bounds') + } + + if (byteOffset === undefined && length === undefined) { + array = new Uint8Array(array) + } else if (length === undefined) { + array = new Uint8Array(array, byteOffset) + } else { + array = new Uint8Array(array, byteOffset, length) + } + + if (Buffer.TYPED_ARRAY_SUPPORT) { + // Return an augmented `Uint8Array` instance, for best performance + that = array + that.__proto__ = Buffer.prototype + } else { + // Fallback: Return an object instance of the Buffer class + that = fromArrayLike(that, array) + } + return that +} + +function fromObject (that, obj) { + if (Buffer.isBuffer(obj)) { + var len = checked(obj.length) | 0 + that = createBuffer(that, len) + + if (that.length === 0) { + return that + } + + obj.copy(that, 0, 0, len) + return that + } + + if (obj) { + if ((typeof ArrayBuffer !== 'undefined' && + obj.buffer instanceof ArrayBuffer) || 'length' in obj) { + if (typeof obj.length !== 'number' || isnan(obj.length)) { + return createBuffer(that, 0) + } + return fromArrayLike(that, obj) + } + + if (obj.type === 'Buffer' && isArray(obj.data)) { + return fromArrayLike(that, obj.data) + } + } + + throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.') +} + +function checked (length) { + // Note: cannot use `length < kMaxLength()` here because that fails when + // length is NaN (which is otherwise coerced to zero.) + if (length >= kMaxLength()) { + throw new RangeError('Attempt to allocate Buffer larger than maximum ' + + 'size: 0x' + kMaxLength().toString(16) + ' bytes') + } + return length | 0 +} + +function SlowBuffer (length) { + if (+length != length) { // eslint-disable-line eqeqeq + length = 0 + } + return Buffer.alloc(+length) +} + +Buffer.isBuffer = function isBuffer (b) { + return !!(b != null && b._isBuffer) +} + +Buffer.compare = function compare (a, b) { + if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) { + throw new TypeError('Arguments must be Buffers') + } + + if (a === b) return 0 + + var x = a.length + var y = b.length + + for (var i = 0, len = Math.min(x, y); i < len; ++i) { + if (a[i] !== b[i]) { + x = a[i] + y = b[i] + break + } + } + + if (x < y) return -1 + if (y < x) return 1 + return 0 +} + +Buffer.isEncoding = function isEncoding (encoding) { + switch (String(encoding).toLowerCase()) { + case 'hex': + case 'utf8': + case 'utf-8': + case 'ascii': + case 'latin1': + case 'binary': + case 'base64': + case 'ucs2': + case 'ucs-2': + case 'utf16le': + case 'utf-16le': + return true + default: + return false + } +} + +Buffer.concat = function concat (list, length) { + if (!isArray(list)) { + throw new TypeError('"list" argument must be an Array of Buffers') + } + + if (list.length === 0) { + return Buffer.alloc(0) + } + + var i + if (length === undefined) { + length = 0 + for (i = 0; i < list.length; ++i) { + length += list[i].length + } + } + + var buffer = Buffer.allocUnsafe(length) + var pos = 0 + for (i = 0; i < list.length; ++i) { + var buf = list[i] + if (!Buffer.isBuffer(buf)) { + throw new TypeError('"list" argument must be an Array of Buffers') + } + buf.copy(buffer, pos) + pos += buf.length + } + return buffer +} + +function byteLength (string, encoding) { + if (Buffer.isBuffer(string)) { + return string.length + } + if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' && + (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) { + return string.byteLength + } + if (typeof string !== 'string') { + string = '' + string + } + + var len = string.length + if (len === 0) return 0 + + // Use a for loop to avoid recursion + var loweredCase = false + for (;;) { + switch (encoding) { + case 'ascii': + case 'latin1': + case 'binary': + return len + case 'utf8': + case 'utf-8': + case undefined: + return utf8ToBytes(string).length + case 'ucs2': + case 'ucs-2': + case 'utf16le': + case 'utf-16le': + return len * 2 + case 'hex': + return len >>> 1 + case 'base64': + return base64ToBytes(string).length + default: + if (loweredCase) return utf8ToBytes(string).length // assume utf8 + encoding = ('' + encoding).toLowerCase() + loweredCase = true + } + } +} +Buffer.byteLength = byteLength + +function slowToString (encoding, start, end) { + var loweredCase = false + + // No need to verify that "this.length <= MAX_UINT32" since it's a read-only + // property of a typed array. + + // This behaves neither like String nor Uint8Array in that we set start/end + // to their upper/lower bounds if the value passed is out of range. + // undefined is handled specially as per ECMA-262 6th Edition, + // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization. + if (start === undefined || start < 0) { + start = 0 + } + // Return early if start > this.length. Done here to prevent potential uint32 + // coercion fail below. + if (start > this.length) { + return '' + } + + if (end === undefined || end > this.length) { + end = this.length + } + + if (end <= 0) { + return '' + } + + // Force coersion to uint32. This will also coerce falsey/NaN values to 0. + end >>>= 0 + start >>>= 0 + + if (end <= start) { + return '' + } + + if (!encoding) encoding = 'utf8' + + while (true) { + switch (encoding) { + case 'hex': + return hexSlice(this, start, end) + + case 'utf8': + case 'utf-8': + return utf8Slice(this, start, end) + + case 'ascii': + return asciiSlice(this, start, end) + + case 'latin1': + case 'binary': + return latin1Slice(this, start, end) + + case 'base64': + return base64Slice(this, start, end) + + case 'ucs2': + case 'ucs-2': + case 'utf16le': + case 'utf-16le': + return utf16leSlice(this, start, end) + + default: + if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding) + encoding = (encoding + '').toLowerCase() + loweredCase = true + } + } +} + +// The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect +// Buffer instances. +Buffer.prototype._isBuffer = true + +function swap (b, n, m) { + var i = b[n] + b[n] = b[m] + b[m] = i +} + +Buffer.prototype.swap16 = function swap16 () { + var len = this.length + if (len % 2 !== 0) { + throw new RangeError('Buffer size must be a multiple of 16-bits') + } + for (var i = 0; i < len; i += 2) { + swap(this, i, i + 1) + } + return this +} + +Buffer.prototype.swap32 = function swap32 () { + var len = this.length + if (len % 4 !== 0) { + throw new RangeError('Buffer size must be a multiple of 32-bits') + } + for (var i = 0; i < len; i += 4) { + swap(this, i, i + 3) + swap(this, i + 1, i + 2) + } + return this +} + +Buffer.prototype.swap64 = function swap64 () { + var len = this.length + if (len % 8 !== 0) { + throw new RangeError('Buffer size must be a multiple of 64-bits') + } + for (var i = 0; i < len; i += 8) { + swap(this, i, i + 7) + swap(this, i + 1, i + 6) + swap(this, i + 2, i + 5) + swap(this, i + 3, i + 4) + } + return this +} + +Buffer.prototype.toString = function toString () { + var length = this.length | 0 + if (length === 0) return '' + if (arguments.length === 0) return utf8Slice(this, 0, length) + return slowToString.apply(this, arguments) +} + +Buffer.prototype.equals = function equals (b) { + if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer') + if (this === b) return true + return Buffer.compare(this, b) === 0 +} + +Buffer.prototype.inspect = function inspect () { + var str = '' + var max = exports.INSPECT_MAX_BYTES + if (this.length > 0) { + str = this.toString('hex', 0, max).match(/.{2}/g).join(' ') + if (this.length > max) str += ' ... ' + } + return '' +} + +Buffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) { + if (!Buffer.isBuffer(target)) { + throw new TypeError('Argument must be a Buffer') + } + + if (start === undefined) { + start = 0 + } + if (end === undefined) { + end = target ? target.length : 0 + } + if (thisStart === undefined) { + thisStart = 0 + } + if (thisEnd === undefined) { + thisEnd = this.length + } + + if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) { + throw new RangeError('out of range index') + } + + if (thisStart >= thisEnd && start >= end) { + return 0 + } + if (thisStart >= thisEnd) { + return -1 + } + if (start >= end) { + return 1 + } + + start >>>= 0 + end >>>= 0 + thisStart >>>= 0 + thisEnd >>>= 0 + + if (this === target) return 0 + + var x = thisEnd - thisStart + var y = end - start + var len = Math.min(x, y) + + var thisCopy = this.slice(thisStart, thisEnd) + var targetCopy = target.slice(start, end) + + for (var i = 0; i < len; ++i) { + if (thisCopy[i] !== targetCopy[i]) { + x = thisCopy[i] + y = targetCopy[i] + break + } + } + + if (x < y) return -1 + if (y < x) return 1 + return 0 +} + +// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`, +// OR the last index of `val` in `buffer` at offset <= `byteOffset`. +// +// Arguments: +// - buffer - a Buffer to search +// - val - a string, Buffer, or number +// - byteOffset - an index into `buffer`; will be clamped to an int32 +// - encoding - an optional encoding, relevant is val is a string +// - dir - true for indexOf, false for lastIndexOf +function bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) { + // Empty buffer means no match + if (buffer.length === 0) return -1 + + // Normalize byteOffset + if (typeof byteOffset === 'string') { + encoding = byteOffset + byteOffset = 0 + } else if (byteOffset > 0x7fffffff) { + byteOffset = 0x7fffffff + } else if (byteOffset < -0x80000000) { + byteOffset = -0x80000000 + } + byteOffset = +byteOffset // Coerce to Number. + if (isNaN(byteOffset)) { + // byteOffset: it it's undefined, null, NaN, "foo", etc, search whole buffer + byteOffset = dir ? 0 : (buffer.length - 1) + } + + // Normalize byteOffset: negative offsets start from the end of the buffer + if (byteOffset < 0) byteOffset = buffer.length + byteOffset + if (byteOffset >= buffer.length) { + if (dir) return -1 + else byteOffset = buffer.length - 1 + } else if (byteOffset < 0) { + if (dir) byteOffset = 0 + else return -1 + } + + // Normalize val + if (typeof val === 'string') { + val = Buffer.from(val, encoding) + } + + // Finally, search either indexOf (if dir is true) or lastIndexOf + if (Buffer.isBuffer(val)) { + // Special case: looking for empty string/buffer always fails + if (val.length === 0) { + return -1 + } + return arrayIndexOf(buffer, val, byteOffset, encoding, dir) + } else if (typeof val === 'number') { + val = val & 0xFF // Search for a byte value [0-255] + if (Buffer.TYPED_ARRAY_SUPPORT && + typeof Uint8Array.prototype.indexOf === 'function') { + if (dir) { + return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset) + } else { + return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset) + } + } + return arrayIndexOf(buffer, [ val ], byteOffset, encoding, dir) + } + + throw new TypeError('val must be string, number or Buffer') +} + +function arrayIndexOf (arr, val, byteOffset, encoding, dir) { + var indexSize = 1 + var arrLength = arr.length + var valLength = val.length + + if (encoding !== undefined) { + encoding = String(encoding).toLowerCase() + if (encoding === 'ucs2' || encoding === 'ucs-2' || + encoding === 'utf16le' || encoding === 'utf-16le') { + if (arr.length < 2 || val.length < 2) { + return -1 + } + indexSize = 2 + arrLength /= 2 + valLength /= 2 + byteOffset /= 2 + } + } + + function read (buf, i) { + if (indexSize === 1) { + return buf[i] + } else { + return buf.readUInt16BE(i * indexSize) + } + } + + var i + if (dir) { + var foundIndex = -1 + for (i = byteOffset; i < arrLength; i++) { + if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) { + if (foundIndex === -1) foundIndex = i + if (i - foundIndex + 1 === valLength) return foundIndex * indexSize + } else { + if (foundIndex !== -1) i -= i - foundIndex + foundIndex = -1 + } + } + } else { + if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength + for (i = byteOffset; i >= 0; i--) { + var found = true + for (var j = 0; j < valLength; j++) { + if (read(arr, i + j) !== read(val, j)) { + found = false + break + } + } + if (found) return i + } + } + + return -1 +} + +Buffer.prototype.includes = function includes (val, byteOffset, encoding) { + return this.indexOf(val, byteOffset, encoding) !== -1 +} + +Buffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) { + return bidirectionalIndexOf(this, val, byteOffset, encoding, true) +} + +Buffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) { + return bidirectionalIndexOf(this, val, byteOffset, encoding, false) +} + +function hexWrite (buf, string, offset, length) { + offset = Number(offset) || 0 + var remaining = buf.length - offset + if (!length) { + length = remaining + } else { + length = Number(length) + if (length > remaining) { + length = remaining + } + } + + // must be an even number of digits + var strLen = string.length + if (strLen % 2 !== 0) throw new TypeError('Invalid hex string') + + if (length > strLen / 2) { + length = strLen / 2 + } + for (var i = 0; i < length; ++i) { + var parsed = parseInt(string.substr(i * 2, 2), 16) + if (isNaN(parsed)) return i + buf[offset + i] = parsed + } + return i +} + +function utf8Write (buf, string, offset, length) { + return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length) +} + +function asciiWrite (buf, string, offset, length) { + return blitBuffer(asciiToBytes(string), buf, offset, length) +} + +function latin1Write (buf, string, offset, length) { + return asciiWrite(buf, string, offset, length) +} + +function base64Write (buf, string, offset, length) { + return blitBuffer(base64ToBytes(string), buf, offset, length) +} + +function ucs2Write (buf, string, offset, length) { + return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length) +} + +Buffer.prototype.write = function write (string, offset, length, encoding) { + // Buffer#write(string) + if (offset === undefined) { + encoding = 'utf8' + length = this.length + offset = 0 + // Buffer#write(string, encoding) + } else if (length === undefined && typeof offset === 'string') { + encoding = offset + length = this.length + offset = 0 + // Buffer#write(string, offset[, length][, encoding]) + } else if (isFinite(offset)) { + offset = offset | 0 + if (isFinite(length)) { + length = length | 0 + if (encoding === undefined) encoding = 'utf8' + } else { + encoding = length + length = undefined + } + // legacy write(string, encoding, offset, length) - remove in v0.13 + } else { + throw new Error( + 'Buffer.write(string, encoding, offset[, length]) is no longer supported' + ) + } + + var remaining = this.length - offset + if (length === undefined || length > remaining) length = remaining + + if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) { + throw new RangeError('Attempt to write outside buffer bounds') + } + + if (!encoding) encoding = 'utf8' + + var loweredCase = false + for (;;) { + switch (encoding) { + case 'hex': + return hexWrite(this, string, offset, length) + + case 'utf8': + case 'utf-8': + return utf8Write(this, string, offset, length) + + case 'ascii': + return asciiWrite(this, string, offset, length) + + case 'latin1': + case 'binary': + return latin1Write(this, string, offset, length) + + case 'base64': + // Warning: maxLength not taken into account in base64Write + return base64Write(this, string, offset, length) + + case 'ucs2': + case 'ucs-2': + case 'utf16le': + case 'utf-16le': + return ucs2Write(this, string, offset, length) + + default: + if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding) + encoding = ('' + encoding).toLowerCase() + loweredCase = true + } + } +} + +Buffer.prototype.toJSON = function toJSON () { + return { + type: 'Buffer', + data: Array.prototype.slice.call(this._arr || this, 0) + } +} + +function base64Slice (buf, start, end) { + if (start === 0 && end === buf.length) { + return base64.fromByteArray(buf) + } else { + return base64.fromByteArray(buf.slice(start, end)) + } +} + +function utf8Slice (buf, start, end) { + end = Math.min(buf.length, end) + var res = [] + + var i = start + while (i < end) { + var firstByte = buf[i] + var codePoint = null + var bytesPerSequence = (firstByte > 0xEF) ? 4 + : (firstByte > 0xDF) ? 3 + : (firstByte > 0xBF) ? 2 + : 1 + + if (i + bytesPerSequence <= end) { + var secondByte, thirdByte, fourthByte, tempCodePoint + + switch (bytesPerSequence) { + case 1: + if (firstByte < 0x80) { + codePoint = firstByte + } + break + case 2: + secondByte = buf[i + 1] + if ((secondByte & 0xC0) === 0x80) { + tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F) + if (tempCodePoint > 0x7F) { + codePoint = tempCodePoint + } + } + break + case 3: + secondByte = buf[i + 1] + thirdByte = buf[i + 2] + if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) { + tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F) + if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) { + codePoint = tempCodePoint + } + } + break + case 4: + secondByte = buf[i + 1] + thirdByte = buf[i + 2] + fourthByte = buf[i + 3] + if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) { + tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F) + if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) { + codePoint = tempCodePoint + } + } + } + } + + if (codePoint === null) { + // we did not generate a valid codePoint so insert a + // replacement char (U+FFFD) and advance only 1 byte + codePoint = 0xFFFD + bytesPerSequence = 1 + } else if (codePoint > 0xFFFF) { + // encode to utf16 (surrogate pair dance) + codePoint -= 0x10000 + res.push(codePoint >>> 10 & 0x3FF | 0xD800) + codePoint = 0xDC00 | codePoint & 0x3FF + } + + res.push(codePoint) + i += bytesPerSequence + } + + return decodeCodePointsArray(res) +} + +// Based on http://stackoverflow.com/a/22747272/680742, the browser with +// the lowest limit is Chrome, with 0x10000 args. +// We go 1 magnitude less, for safety +var MAX_ARGUMENTS_LENGTH = 0x1000 + +function decodeCodePointsArray (codePoints) { + var len = codePoints.length + if (len <= MAX_ARGUMENTS_LENGTH) { + return String.fromCharCode.apply(String, codePoints) // avoid extra slice() + } + + // Decode in chunks to avoid "call stack size exceeded". + var res = '' + var i = 0 + while (i < len) { + res += String.fromCharCode.apply( + String, + codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH) + ) + } + return res +} + +function asciiSlice (buf, start, end) { + var ret = '' + end = Math.min(buf.length, end) + + for (var i = start; i < end; ++i) { + ret += String.fromCharCode(buf[i] & 0x7F) + } + return ret +} + +function latin1Slice (buf, start, end) { + var ret = '' + end = Math.min(buf.length, end) + + for (var i = start; i < end; ++i) { + ret += String.fromCharCode(buf[i]) + } + return ret +} + +function hexSlice (buf, start, end) { + var len = buf.length + + if (!start || start < 0) start = 0 + if (!end || end < 0 || end > len) end = len + + var out = '' + for (var i = start; i < end; ++i) { + out += toHex(buf[i]) + } + return out +} + +function utf16leSlice (buf, start, end) { + var bytes = buf.slice(start, end) + var res = '' + for (var i = 0; i < bytes.length; i += 2) { + res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256) + } + return res +} + +Buffer.prototype.slice = function slice (start, end) { + var len = this.length + start = ~~start + end = end === undefined ? len : ~~end + + if (start < 0) { + start += len + if (start < 0) start = 0 + } else if (start > len) { + start = len + } + + if (end < 0) { + end += len + if (end < 0) end = 0 + } else if (end > len) { + end = len + } + + if (end < start) end = start + + var newBuf + if (Buffer.TYPED_ARRAY_SUPPORT) { + newBuf = this.subarray(start, end) + newBuf.__proto__ = Buffer.prototype + } else { + var sliceLen = end - start + newBuf = new Buffer(sliceLen, undefined) + for (var i = 0; i < sliceLen; ++i) { + newBuf[i] = this[i + start] + } + } + + return newBuf +} + +/* + * Need to make sure that buffer isn't trying to write out of bounds. + */ +function checkOffset (offset, ext, length) { + if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint') + if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length') +} + +Buffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) { + offset = offset | 0 + byteLength = byteLength | 0 + if (!noAssert) checkOffset(offset, byteLength, this.length) + + var val = this[offset] + var mul = 1 + var i = 0 + while (++i < byteLength && (mul *= 0x100)) { + val += this[offset + i] * mul + } + + return val +} + +Buffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) { + offset = offset | 0 + byteLength = byteLength | 0 + if (!noAssert) { + checkOffset(offset, byteLength, this.length) + } + + var val = this[offset + --byteLength] + var mul = 1 + while (byteLength > 0 && (mul *= 0x100)) { + val += this[offset + --byteLength] * mul + } + + return val +} + +Buffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) { + if (!noAssert) checkOffset(offset, 1, this.length) + return this[offset] +} + +Buffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) { + if (!noAssert) checkOffset(offset, 2, this.length) + return this[offset] | (this[offset + 1] << 8) +} + +Buffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) { + if (!noAssert) checkOffset(offset, 2, this.length) + return (this[offset] << 8) | this[offset + 1] +} + +Buffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) { + if (!noAssert) checkOffset(offset, 4, this.length) + + return ((this[offset]) | + (this[offset + 1] << 8) | + (this[offset + 2] << 16)) + + (this[offset + 3] * 0x1000000) +} + +Buffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) { + if (!noAssert) checkOffset(offset, 4, this.length) + + return (this[offset] * 0x1000000) + + ((this[offset + 1] << 16) | + (this[offset + 2] << 8) | + this[offset + 3]) +} + +Buffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) { + offset = offset | 0 + byteLength = byteLength | 0 + if (!noAssert) checkOffset(offset, byteLength, this.length) + + var val = this[offset] + var mul = 1 + var i = 0 + while (++i < byteLength && (mul *= 0x100)) { + val += this[offset + i] * mul + } + mul *= 0x80 + + if (val >= mul) val -= Math.pow(2, 8 * byteLength) + + return val +} + +Buffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) { + offset = offset | 0 + byteLength = byteLength | 0 + if (!noAssert) checkOffset(offset, byteLength, this.length) + + var i = byteLength + var mul = 1 + var val = this[offset + --i] + while (i > 0 && (mul *= 0x100)) { + val += this[offset + --i] * mul + } + mul *= 0x80 + + if (val >= mul) val -= Math.pow(2, 8 * byteLength) + + return val +} + +Buffer.prototype.readInt8 = function readInt8 (offset, noAssert) { + if (!noAssert) checkOffset(offset, 1, this.length) + if (!(this[offset] & 0x80)) return (this[offset]) + return ((0xff - this[offset] + 1) * -1) +} + +Buffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) { + if (!noAssert) checkOffset(offset, 2, this.length) + var val = this[offset] | (this[offset + 1] << 8) + return (val & 0x8000) ? val | 0xFFFF0000 : val +} + +Buffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) { + if (!noAssert) checkOffset(offset, 2, this.length) + var val = this[offset + 1] | (this[offset] << 8) + return (val & 0x8000) ? val | 0xFFFF0000 : val +} + +Buffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) { + if (!noAssert) checkOffset(offset, 4, this.length) + + return (this[offset]) | + (this[offset + 1] << 8) | + (this[offset + 2] << 16) | + (this[offset + 3] << 24) +} + +Buffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) { + if (!noAssert) checkOffset(offset, 4, this.length) + + return (this[offset] << 24) | + (this[offset + 1] << 16) | + (this[offset + 2] << 8) | + (this[offset + 3]) +} + +Buffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) { + if (!noAssert) checkOffset(offset, 4, this.length) + return ieee754.read(this, offset, true, 23, 4) +} + +Buffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) { + if (!noAssert) checkOffset(offset, 4, this.length) + return ieee754.read(this, offset, false, 23, 4) +} + +Buffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) { + if (!noAssert) checkOffset(offset, 8, this.length) + return ieee754.read(this, offset, true, 52, 8) +} + +Buffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) { + if (!noAssert) checkOffset(offset, 8, this.length) + return ieee754.read(this, offset, false, 52, 8) +} + +function checkInt (buf, value, offset, ext, max, min) { + if (!Buffer.isBuffer(buf)) throw new TypeError('"buffer" argument must be a Buffer instance') + if (value > max || value < min) throw new RangeError('"value" argument is out of bounds') + if (offset + ext > buf.length) throw new RangeError('Index out of range') +} + +Buffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) { + value = +value + offset = offset | 0 + byteLength = byteLength | 0 + if (!noAssert) { + var maxBytes = Math.pow(2, 8 * byteLength) - 1 + checkInt(this, value, offset, byteLength, maxBytes, 0) + } + + var mul = 1 + var i = 0 + this[offset] = value & 0xFF + while (++i < byteLength && (mul *= 0x100)) { + this[offset + i] = (value / mul) & 0xFF + } + + return offset + byteLength +} + +Buffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) { + value = +value + offset = offset | 0 + byteLength = byteLength | 0 + if (!noAssert) { + var maxBytes = Math.pow(2, 8 * byteLength) - 1 + checkInt(this, value, offset, byteLength, maxBytes, 0) + } + + var i = byteLength - 1 + var mul = 1 + this[offset + i] = value & 0xFF + while (--i >= 0 && (mul *= 0x100)) { + this[offset + i] = (value / mul) & 0xFF + } + + return offset + byteLength +} + +Buffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) { + value = +value + offset = offset | 0 + if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0) + if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value) + this[offset] = (value & 0xff) + return offset + 1 +} + +function objectWriteUInt16 (buf, value, offset, littleEndian) { + if (value < 0) value = 0xffff + value + 1 + for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) { + buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>> + (littleEndian ? i : 1 - i) * 8 + } +} + +Buffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) { + value = +value + offset = offset | 0 + if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0) + if (Buffer.TYPED_ARRAY_SUPPORT) { + this[offset] = (value & 0xff) + this[offset + 1] = (value >>> 8) + } else { + objectWriteUInt16(this, value, offset, true) + } + return offset + 2 +} + +Buffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) { + value = +value + offset = offset | 0 + if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0) + if (Buffer.TYPED_ARRAY_SUPPORT) { + this[offset] = (value >>> 8) + this[offset + 1] = (value & 0xff) + } else { + objectWriteUInt16(this, value, offset, false) + } + return offset + 2 +} + +function objectWriteUInt32 (buf, value, offset, littleEndian) { + if (value < 0) value = 0xffffffff + value + 1 + for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) { + buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff + } +} + +Buffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) { + value = +value + offset = offset | 0 + if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0) + if (Buffer.TYPED_ARRAY_SUPPORT) { + this[offset + 3] = (value >>> 24) + this[offset + 2] = (value >>> 16) + this[offset + 1] = (value >>> 8) + this[offset] = (value & 0xff) + } else { + objectWriteUInt32(this, value, offset, true) + } + return offset + 4 +} + +Buffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) { + value = +value + offset = offset | 0 + if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0) + if (Buffer.TYPED_ARRAY_SUPPORT) { + this[offset] = (value >>> 24) + this[offset + 1] = (value >>> 16) + this[offset + 2] = (value >>> 8) + this[offset + 3] = (value & 0xff) + } else { + objectWriteUInt32(this, value, offset, false) + } + return offset + 4 +} + +Buffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) { + value = +value + offset = offset | 0 + if (!noAssert) { + var limit = Math.pow(2, 8 * byteLength - 1) + + checkInt(this, value, offset, byteLength, limit - 1, -limit) + } + + var i = 0 + var mul = 1 + var sub = 0 + this[offset] = value & 0xFF + while (++i < byteLength && (mul *= 0x100)) { + if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) { + sub = 1 + } + this[offset + i] = ((value / mul) >> 0) - sub & 0xFF + } + + return offset + byteLength +} + +Buffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) { + value = +value + offset = offset | 0 + if (!noAssert) { + var limit = Math.pow(2, 8 * byteLength - 1) + + checkInt(this, value, offset, byteLength, limit - 1, -limit) + } + + var i = byteLength - 1 + var mul = 1 + var sub = 0 + this[offset + i] = value & 0xFF + while (--i >= 0 && (mul *= 0x100)) { + if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) { + sub = 1 + } + this[offset + i] = ((value / mul) >> 0) - sub & 0xFF + } + + return offset + byteLength +} + +Buffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) { + value = +value + offset = offset | 0 + if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80) + if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value) + if (value < 0) value = 0xff + value + 1 + this[offset] = (value & 0xff) + return offset + 1 +} + +Buffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) { + value = +value + offset = offset | 0 + if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000) + if (Buffer.TYPED_ARRAY_SUPPORT) { + this[offset] = (value & 0xff) + this[offset + 1] = (value >>> 8) + } else { + objectWriteUInt16(this, value, offset, true) + } + return offset + 2 +} + +Buffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) { + value = +value + offset = offset | 0 + if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000) + if (Buffer.TYPED_ARRAY_SUPPORT) { + this[offset] = (value >>> 8) + this[offset + 1] = (value & 0xff) + } else { + objectWriteUInt16(this, value, offset, false) + } + return offset + 2 +} + +Buffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) { + value = +value + offset = offset | 0 + if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000) + if (Buffer.TYPED_ARRAY_SUPPORT) { + this[offset] = (value & 0xff) + this[offset + 1] = (value >>> 8) + this[offset + 2] = (value >>> 16) + this[offset + 3] = (value >>> 24) + } else { + objectWriteUInt32(this, value, offset, true) + } + return offset + 4 +} + +Buffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) { + value = +value + offset = offset | 0 + if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000) + if (value < 0) value = 0xffffffff + value + 1 + if (Buffer.TYPED_ARRAY_SUPPORT) { + this[offset] = (value >>> 24) + this[offset + 1] = (value >>> 16) + this[offset + 2] = (value >>> 8) + this[offset + 3] = (value & 0xff) + } else { + objectWriteUInt32(this, value, offset, false) + } + return offset + 4 +} + +function checkIEEE754 (buf, value, offset, ext, max, min) { + if (offset + ext > buf.length) throw new RangeError('Index out of range') + if (offset < 0) throw new RangeError('Index out of range') +} + +function writeFloat (buf, value, offset, littleEndian, noAssert) { + if (!noAssert) { + checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38) + } + ieee754.write(buf, value, offset, littleEndian, 23, 4) + return offset + 4 +} + +Buffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) { + return writeFloat(this, value, offset, true, noAssert) +} + +Buffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) { + return writeFloat(this, value, offset, false, noAssert) +} + +function writeDouble (buf, value, offset, littleEndian, noAssert) { + if (!noAssert) { + checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308) + } + ieee754.write(buf, value, offset, littleEndian, 52, 8) + return offset + 8 +} + +Buffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) { + return writeDouble(this, value, offset, true, noAssert) +} + +Buffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) { + return writeDouble(this, value, offset, false, noAssert) +} + +// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length) +Buffer.prototype.copy = function copy (target, targetStart, start, end) { + if (!start) start = 0 + if (!end && end !== 0) end = this.length + if (targetStart >= target.length) targetStart = target.length + if (!targetStart) targetStart = 0 + if (end > 0 && end < start) end = start + + // Copy 0 bytes; we're done + if (end === start) return 0 + if (target.length === 0 || this.length === 0) return 0 + + // Fatal error conditions + if (targetStart < 0) { + throw new RangeError('targetStart out of bounds') + } + if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds') + if (end < 0) throw new RangeError('sourceEnd out of bounds') + + // Are we oob? + if (end > this.length) end = this.length + if (target.length - targetStart < end - start) { + end = target.length - targetStart + start + } + + var len = end - start + var i + + if (this === target && start < targetStart && targetStart < end) { + // descending copy from end + for (i = len - 1; i >= 0; --i) { + target[i + targetStart] = this[i + start] + } + } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) { + // ascending copy from start + for (i = 0; i < len; ++i) { + target[i + targetStart] = this[i + start] + } + } else { + Uint8Array.prototype.set.call( + target, + this.subarray(start, start + len), + targetStart + ) + } + + return len +} + +// Usage: +// buffer.fill(number[, offset[, end]]) +// buffer.fill(buffer[, offset[, end]]) +// buffer.fill(string[, offset[, end]][, encoding]) +Buffer.prototype.fill = function fill (val, start, end, encoding) { + // Handle string cases: + if (typeof val === 'string') { + if (typeof start === 'string') { + encoding = start + start = 0 + end = this.length + } else if (typeof end === 'string') { + encoding = end + end = this.length + } + if (val.length === 1) { + var code = val.charCodeAt(0) + if (code < 256) { + val = code + } + } + if (encoding !== undefined && typeof encoding !== 'string') { + throw new TypeError('encoding must be a string') + } + if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) { + throw new TypeError('Unknown encoding: ' + encoding) + } + } else if (typeof val === 'number') { + val = val & 255 + } + + // Invalid ranges are not set to a default, so can range check early. + if (start < 0 || this.length < start || this.length < end) { + throw new RangeError('Out of range index') + } + + if (end <= start) { + return this + } + + start = start >>> 0 + end = end === undefined ? this.length : end >>> 0 + + if (!val) val = 0 + + var i + if (typeof val === 'number') { + for (i = start; i < end; ++i) { + this[i] = val + } + } else { + var bytes = Buffer.isBuffer(val) + ? val + : utf8ToBytes(new Buffer(val, encoding).toString()) + var len = bytes.length + for (i = 0; i < end - start; ++i) { + this[i + start] = bytes[i % len] + } + } + + return this +} + +// HELPER FUNCTIONS +// ================ + +var INVALID_BASE64_RE = /[^+\/0-9A-Za-z-_]/g + +function base64clean (str) { + // Node strips out invalid characters like \n and \t from the string, base64-js does not + str = stringtrim(str).replace(INVALID_BASE64_RE, '') + // Node converts strings with length < 2 to '' + if (str.length < 2) return '' + // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not + while (str.length % 4 !== 0) { + str = str + '=' + } + return str +} + +function stringtrim (str) { + if (str.trim) return str.trim() + return str.replace(/^\s+|\s+$/g, '') +} + +function toHex (n) { + if (n < 16) return '0' + n.toString(16) + return n.toString(16) +} + +function utf8ToBytes (string, units) { + units = units || Infinity + var codePoint + var length = string.length + var leadSurrogate = null + var bytes = [] + + for (var i = 0; i < length; ++i) { + codePoint = string.charCodeAt(i) + + // is surrogate component + if (codePoint > 0xD7FF && codePoint < 0xE000) { + // last char was a lead + if (!leadSurrogate) { + // no lead yet + if (codePoint > 0xDBFF) { + // unexpected trail + if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) + continue + } else if (i + 1 === length) { + // unpaired lead + if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) + continue + } + + // valid lead + leadSurrogate = codePoint + + continue + } + + // 2 leads in a row + if (codePoint < 0xDC00) { + if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) + leadSurrogate = codePoint + continue + } + + // valid surrogate pair + codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000 + } else if (leadSurrogate) { + // valid bmp char, but last char was a lead + if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) + } + + leadSurrogate = null + + // encode utf8 + if (codePoint < 0x80) { + if ((units -= 1) < 0) break + bytes.push(codePoint) + } else if (codePoint < 0x800) { + if ((units -= 2) < 0) break + bytes.push( + codePoint >> 0x6 | 0xC0, + codePoint & 0x3F | 0x80 + ) + } else if (codePoint < 0x10000) { + if ((units -= 3) < 0) break + bytes.push( + codePoint >> 0xC | 0xE0, + codePoint >> 0x6 & 0x3F | 0x80, + codePoint & 0x3F | 0x80 + ) + } else if (codePoint < 0x110000) { + if ((units -= 4) < 0) break + bytes.push( + codePoint >> 0x12 | 0xF0, + codePoint >> 0xC & 0x3F | 0x80, + codePoint >> 0x6 & 0x3F | 0x80, + codePoint & 0x3F | 0x80 + ) + } else { + throw new Error('Invalid code point') + } + } + + return bytes +} + +function asciiToBytes (str) { + var byteArray = [] + for (var i = 0; i < str.length; ++i) { + // Node's code seems to be doing this and not & 0x7F.. + byteArray.push(str.charCodeAt(i) & 0xFF) + } + return byteArray +} + +function utf16leToBytes (str, units) { + var c, hi, lo + var byteArray = [] + for (var i = 0; i < str.length; ++i) { + if ((units -= 2) < 0) break + + c = str.charCodeAt(i) + hi = c >> 8 + lo = c % 256 + byteArray.push(lo) + byteArray.push(hi) + } + + return byteArray +} + +function base64ToBytes (str) { + return base64.toByteArray(base64clean(str)) +} + +function blitBuffer (src, dst, offset, length) { + for (var i = 0; i < length; ++i) { + if ((i + offset >= dst.length) || (i >= src.length)) break + dst[i + offset] = src[i] + } + return i +} + +function isnan (val) { + return val !== val // eslint-disable-line no-self-compare +} diff --git a/packages/next/compiled/webpack/index1.js b/packages/next/compiled/webpack/index1.js new file mode 100644 index 0000000000000..775f0d7878d71 --- /dev/null +++ b/packages/next/compiled/webpack/index1.js @@ -0,0 +1,87 @@ +/*global window, global*/ +var util = require("util") +var assert = require("assert") +function now() { return new Date().getTime() } + +var slice = Array.prototype.slice +var console +var times = {} + +if (typeof global !== "undefined" && global.console) { + console = global.console +} else if (typeof window !== "undefined" && window.console) { + console = window.console +} else { + console = {} +} + +var functions = [ + [log, "log"], + [info, "info"], + [warn, "warn"], + [error, "error"], + [time, "time"], + [timeEnd, "timeEnd"], + [trace, "trace"], + [dir, "dir"], + [consoleAssert, "assert"] +] + +for (var i = 0; i < functions.length; i++) { + var tuple = functions[i] + var f = tuple[0] + var name = tuple[1] + + if (!console[name]) { + console[name] = f + } +} + +module.exports = console + +function log() {} + +function info() { + console.log.apply(console, arguments) +} + +function warn() { + console.log.apply(console, arguments) +} + +function error() { + console.warn.apply(console, arguments) +} + +function time(label) { + times[label] = now() +} + +function timeEnd(label) { + var time = times[label] + if (!time) { + throw new Error("No such label: " + label) + } + + delete times[label] + var duration = now() - time + console.log(label + ": " + duration + "ms") +} + +function trace() { + var err = new Error() + err.name = "Trace" + err.message = util.format.apply(null, arguments) + console.error(err.stack) +} + +function dir(object) { + console.log(util.inspect(object) + "\n") +} + +function consoleAssert(expression) { + if (!expression) { + var arr = slice.call(arguments, 1) + assert.ok(false, util.format.apply(null, arr)) + } +} diff --git a/packages/next/compiled/webpack/index10.js b/packages/next/compiled/webpack/index10.js new file mode 100644 index 0000000000000..4292de776394e --- /dev/null +++ b/packages/next/compiled/webpack/index10.js @@ -0,0 +1,149 @@ +var indexOf = function (xs, item) { + if (xs.indexOf) return xs.indexOf(item); + else for (var i = 0; i < xs.length; i++) { + if (xs[i] === item) return i; + } + return -1; +}; +var Object_keys = function (obj) { + if (Object.keys) return Object.keys(obj) + else { + var res = []; + for (var key in obj) res.push(key) + return res; + } +}; + +var forEach = function (xs, fn) { + if (xs.forEach) return xs.forEach(fn) + else for (var i = 0; i < xs.length; i++) { + fn(xs[i], i, xs); + } +}; + +var defineProp = (function() { + try { + Object.defineProperty({}, '_', {}); + return function(obj, name, value) { + Object.defineProperty(obj, name, { + writable: true, + enumerable: false, + configurable: true, + value: value + }) + }; + } catch(e) { + return function(obj, name, value) { + obj[name] = value; + }; + } +}()); + +var globals = ['Array', 'Boolean', 'Date', 'Error', 'EvalError', 'Function', +'Infinity', 'JSON', 'Math', 'NaN', 'Number', 'Object', 'RangeError', +'ReferenceError', 'RegExp', 'String', 'SyntaxError', 'TypeError', 'URIError', +'decodeURI', 'decodeURIComponent', 'encodeURI', 'encodeURIComponent', 'escape', +'eval', 'isFinite', 'isNaN', 'parseFloat', 'parseInt', 'undefined', 'unescape']; + +function Context() {} +Context.prototype = {}; + +var Script = exports.Script = function NodeScript (code) { + if (!(this instanceof Script)) return new Script(code); + this.code = code; +}; + +Script.prototype.runInContext = function (context) { + if (!(context instanceof Context)) { + throw new TypeError("needs a 'context' argument."); + } + + var iframe = document.createElement('iframe'); + if (!iframe.style) iframe.style = {}; + iframe.style.display = 'none'; + + document.body.appendChild(iframe); + + var win = iframe.contentWindow; + var wEval = win.eval, wExecScript = win.execScript; + + if (!wEval && wExecScript) { + // win.eval() magically appears when this is called in IE: + wExecScript.call(win, 'null'); + wEval = win.eval; + } + + forEach(Object_keys(context), function (key) { + win[key] = context[key]; + }); + forEach(globals, function (key) { + if (context[key]) { + win[key] = context[key]; + } + }); + + var winKeys = Object_keys(win); + + var res = wEval.call(win, this.code); + + forEach(Object_keys(win), function (key) { + // Avoid copying circular objects like `top` and `window` by only + // updating existing context properties or new properties in the `win` + // that was only introduced after the eval. + if (key in context || indexOf(winKeys, key) === -1) { + context[key] = win[key]; + } + }); + + forEach(globals, function (key) { + if (!(key in context)) { + defineProp(context, key, win[key]); + } + }); + + document.body.removeChild(iframe); + + return res; +}; + +Script.prototype.runInThisContext = function () { + return eval(this.code); // maybe... +}; + +Script.prototype.runInNewContext = function (context) { + var ctx = Script.createContext(context); + var res = this.runInContext(ctx); + + if (context) { + forEach(Object_keys(ctx), function (key) { + context[key] = ctx[key]; + }); + } + + return res; +}; + +forEach(Object_keys(Script.prototype), function (name) { + exports[name] = Script[name] = function (code) { + var s = Script(code); + return s[name].apply(s, [].slice.call(arguments, 1)); + }; +}); + +exports.isContext = function (context) { + return context instanceof Context; +}; + +exports.createScript = function (code) { + return exports.Script(code); +}; + +exports.createContext = Script.createContext = function (context) { + var copy = new Context(); + if(typeof context === 'object') { + forEach(Object_keys(context), function (key) { + copy[key] = context[key]; + }); + } + return copy; +}; diff --git a/packages/next/compiled/webpack/index11.js b/packages/next/compiled/webpack/index11.js new file mode 100644 index 0000000000000..15013f03c61ff --- /dev/null +++ b/packages/next/compiled/webpack/index11.js @@ -0,0 +1,609 @@ +'use strict'; + +var Buffer = require('buffer').Buffer; +var Transform = require('stream').Transform; +var binding = require('./binding'); +var util = require('util'); +var assert = require('assert').ok; +var kMaxLength = require('buffer').kMaxLength; +var kRangeErrorMessage = 'Cannot create final Buffer. It would be larger ' + 'than 0x' + kMaxLength.toString(16) + ' bytes'; + +// zlib doesn't provide these, so kludge them in following the same +// const naming scheme zlib uses. +binding.Z_MIN_WINDOWBITS = 8; +binding.Z_MAX_WINDOWBITS = 15; +binding.Z_DEFAULT_WINDOWBITS = 15; + +// fewer than 64 bytes per chunk is stupid. +// technically it could work with as few as 8, but even 64 bytes +// is absurdly low. Usually a MB or more is best. +binding.Z_MIN_CHUNK = 64; +binding.Z_MAX_CHUNK = Infinity; +binding.Z_DEFAULT_CHUNK = 16 * 1024; + +binding.Z_MIN_MEMLEVEL = 1; +binding.Z_MAX_MEMLEVEL = 9; +binding.Z_DEFAULT_MEMLEVEL = 8; + +binding.Z_MIN_LEVEL = -1; +binding.Z_MAX_LEVEL = 9; +binding.Z_DEFAULT_LEVEL = binding.Z_DEFAULT_COMPRESSION; + +// expose all the zlib constants +var bkeys = Object.keys(binding); +for (var bk = 0; bk < bkeys.length; bk++) { + var bkey = bkeys[bk]; + if (bkey.match(/^Z/)) { + Object.defineProperty(exports, bkey, { + enumerable: true, value: binding[bkey], writable: false + }); + } +} + +// translation table for return codes. +var codes = { + Z_OK: binding.Z_OK, + Z_STREAM_END: binding.Z_STREAM_END, + Z_NEED_DICT: binding.Z_NEED_DICT, + Z_ERRNO: binding.Z_ERRNO, + Z_STREAM_ERROR: binding.Z_STREAM_ERROR, + Z_DATA_ERROR: binding.Z_DATA_ERROR, + Z_MEM_ERROR: binding.Z_MEM_ERROR, + Z_BUF_ERROR: binding.Z_BUF_ERROR, + Z_VERSION_ERROR: binding.Z_VERSION_ERROR +}; + +var ckeys = Object.keys(codes); +for (var ck = 0; ck < ckeys.length; ck++) { + var ckey = ckeys[ck]; + codes[codes[ckey]] = ckey; +} + +Object.defineProperty(exports, 'codes', { + enumerable: true, value: Object.freeze(codes), writable: false +}); + +exports.Deflate = Deflate; +exports.Inflate = Inflate; +exports.Gzip = Gzip; +exports.Gunzip = Gunzip; +exports.DeflateRaw = DeflateRaw; +exports.InflateRaw = InflateRaw; +exports.Unzip = Unzip; + +exports.createDeflate = function (o) { + return new Deflate(o); +}; + +exports.createInflate = function (o) { + return new Inflate(o); +}; + +exports.createDeflateRaw = function (o) { + return new DeflateRaw(o); +}; + +exports.createInflateRaw = function (o) { + return new InflateRaw(o); +}; + +exports.createGzip = function (o) { + return new Gzip(o); +}; + +exports.createGunzip = function (o) { + return new Gunzip(o); +}; + +exports.createUnzip = function (o) { + return new Unzip(o); +}; + +// Convenience methods. +// compress/decompress a string or buffer in one step. +exports.deflate = function (buffer, opts, callback) { + if (typeof opts === 'function') { + callback = opts; + opts = {}; + } + return zlibBuffer(new Deflate(opts), buffer, callback); +}; + +exports.deflateSync = function (buffer, opts) { + return zlibBufferSync(new Deflate(opts), buffer); +}; + +exports.gzip = function (buffer, opts, callback) { + if (typeof opts === 'function') { + callback = opts; + opts = {}; + } + return zlibBuffer(new Gzip(opts), buffer, callback); +}; + +exports.gzipSync = function (buffer, opts) { + return zlibBufferSync(new Gzip(opts), buffer); +}; + +exports.deflateRaw = function (buffer, opts, callback) { + if (typeof opts === 'function') { + callback = opts; + opts = {}; + } + return zlibBuffer(new DeflateRaw(opts), buffer, callback); +}; + +exports.deflateRawSync = function (buffer, opts) { + return zlibBufferSync(new DeflateRaw(opts), buffer); +}; + +exports.unzip = function (buffer, opts, callback) { + if (typeof opts === 'function') { + callback = opts; + opts = {}; + } + return zlibBuffer(new Unzip(opts), buffer, callback); +}; + +exports.unzipSync = function (buffer, opts) { + return zlibBufferSync(new Unzip(opts), buffer); +}; + +exports.inflate = function (buffer, opts, callback) { + if (typeof opts === 'function') { + callback = opts; + opts = {}; + } + return zlibBuffer(new Inflate(opts), buffer, callback); +}; + +exports.inflateSync = function (buffer, opts) { + return zlibBufferSync(new Inflate(opts), buffer); +}; + +exports.gunzip = function (buffer, opts, callback) { + if (typeof opts === 'function') { + callback = opts; + opts = {}; + } + return zlibBuffer(new Gunzip(opts), buffer, callback); +}; + +exports.gunzipSync = function (buffer, opts) { + return zlibBufferSync(new Gunzip(opts), buffer); +}; + +exports.inflateRaw = function (buffer, opts, callback) { + if (typeof opts === 'function') { + callback = opts; + opts = {}; + } + return zlibBuffer(new InflateRaw(opts), buffer, callback); +}; + +exports.inflateRawSync = function (buffer, opts) { + return zlibBufferSync(new InflateRaw(opts), buffer); +}; + +function zlibBuffer(engine, buffer, callback) { + var buffers = []; + var nread = 0; + + engine.on('error', onError); + engine.on('end', onEnd); + + engine.end(buffer); + flow(); + + function flow() { + var chunk; + while (null !== (chunk = engine.read())) { + buffers.push(chunk); + nread += chunk.length; + } + engine.once('readable', flow); + } + + function onError(err) { + engine.removeListener('end', onEnd); + engine.removeListener('readable', flow); + callback(err); + } + + function onEnd() { + var buf; + var err = null; + + if (nread >= kMaxLength) { + err = new RangeError(kRangeErrorMessage); + } else { + buf = Buffer.concat(buffers, nread); + } + + buffers = []; + engine.close(); + callback(err, buf); + } +} + +function zlibBufferSync(engine, buffer) { + if (typeof buffer === 'string') buffer = Buffer.from(buffer); + + if (!Buffer.isBuffer(buffer)) throw new TypeError('Not a string or buffer'); + + var flushFlag = engine._finishFlushFlag; + + return engine._processChunk(buffer, flushFlag); +} + +// generic zlib +// minimal 2-byte header +function Deflate(opts) { + if (!(this instanceof Deflate)) return new Deflate(opts); + Zlib.call(this, opts, binding.DEFLATE); +} + +function Inflate(opts) { + if (!(this instanceof Inflate)) return new Inflate(opts); + Zlib.call(this, opts, binding.INFLATE); +} + +// gzip - bigger header, same deflate compression +function Gzip(opts) { + if (!(this instanceof Gzip)) return new Gzip(opts); + Zlib.call(this, opts, binding.GZIP); +} + +function Gunzip(opts) { + if (!(this instanceof Gunzip)) return new Gunzip(opts); + Zlib.call(this, opts, binding.GUNZIP); +} + +// raw - no header +function DeflateRaw(opts) { + if (!(this instanceof DeflateRaw)) return new DeflateRaw(opts); + Zlib.call(this, opts, binding.DEFLATERAW); +} + +function InflateRaw(opts) { + if (!(this instanceof InflateRaw)) return new InflateRaw(opts); + Zlib.call(this, opts, binding.INFLATERAW); +} + +// auto-detect header. +function Unzip(opts) { + if (!(this instanceof Unzip)) return new Unzip(opts); + Zlib.call(this, opts, binding.UNZIP); +} + +function isValidFlushFlag(flag) { + return flag === binding.Z_NO_FLUSH || flag === binding.Z_PARTIAL_FLUSH || flag === binding.Z_SYNC_FLUSH || flag === binding.Z_FULL_FLUSH || flag === binding.Z_FINISH || flag === binding.Z_BLOCK; +} + +// the Zlib class they all inherit from +// This thing manages the queue of requests, and returns +// true or false if there is anything in the queue when +// you call the .write() method. + +function Zlib(opts, mode) { + var _this = this; + + this._opts = opts = opts || {}; + this._chunkSize = opts.chunkSize || exports.Z_DEFAULT_CHUNK; + + Transform.call(this, opts); + + if (opts.flush && !isValidFlushFlag(opts.flush)) { + throw new Error('Invalid flush flag: ' + opts.flush); + } + if (opts.finishFlush && !isValidFlushFlag(opts.finishFlush)) { + throw new Error('Invalid flush flag: ' + opts.finishFlush); + } + + this._flushFlag = opts.flush || binding.Z_NO_FLUSH; + this._finishFlushFlag = typeof opts.finishFlush !== 'undefined' ? opts.finishFlush : binding.Z_FINISH; + + if (opts.chunkSize) { + if (opts.chunkSize < exports.Z_MIN_CHUNK || opts.chunkSize > exports.Z_MAX_CHUNK) { + throw new Error('Invalid chunk size: ' + opts.chunkSize); + } + } + + if (opts.windowBits) { + if (opts.windowBits < exports.Z_MIN_WINDOWBITS || opts.windowBits > exports.Z_MAX_WINDOWBITS) { + throw new Error('Invalid windowBits: ' + opts.windowBits); + } + } + + if (opts.level) { + if (opts.level < exports.Z_MIN_LEVEL || opts.level > exports.Z_MAX_LEVEL) { + throw new Error('Invalid compression level: ' + opts.level); + } + } + + if (opts.memLevel) { + if (opts.memLevel < exports.Z_MIN_MEMLEVEL || opts.memLevel > exports.Z_MAX_MEMLEVEL) { + throw new Error('Invalid memLevel: ' + opts.memLevel); + } + } + + if (opts.strategy) { + if (opts.strategy != exports.Z_FILTERED && opts.strategy != exports.Z_HUFFMAN_ONLY && opts.strategy != exports.Z_RLE && opts.strategy != exports.Z_FIXED && opts.strategy != exports.Z_DEFAULT_STRATEGY) { + throw new Error('Invalid strategy: ' + opts.strategy); + } + } + + if (opts.dictionary) { + if (!Buffer.isBuffer(opts.dictionary)) { + throw new Error('Invalid dictionary: it should be a Buffer instance'); + } + } + + this._handle = new binding.Zlib(mode); + + var self = this; + this._hadError = false; + this._handle.onerror = function (message, errno) { + // there is no way to cleanly recover. + // continuing only obscures problems. + _close(self); + self._hadError = true; + + var error = new Error(message); + error.errno = errno; + error.code = exports.codes[errno]; + self.emit('error', error); + }; + + var level = exports.Z_DEFAULT_COMPRESSION; + if (typeof opts.level === 'number') level = opts.level; + + var strategy = exports.Z_DEFAULT_STRATEGY; + if (typeof opts.strategy === 'number') strategy = opts.strategy; + + this._handle.init(opts.windowBits || exports.Z_DEFAULT_WINDOWBITS, level, opts.memLevel || exports.Z_DEFAULT_MEMLEVEL, strategy, opts.dictionary); + + this._buffer = Buffer.allocUnsafe(this._chunkSize); + this._offset = 0; + this._level = level; + this._strategy = strategy; + + this.once('end', this.close); + + Object.defineProperty(this, '_closed', { + get: function () { + return !_this._handle; + }, + configurable: true, + enumerable: true + }); +} + +util.inherits(Zlib, Transform); + +Zlib.prototype.params = function (level, strategy, callback) { + if (level < exports.Z_MIN_LEVEL || level > exports.Z_MAX_LEVEL) { + throw new RangeError('Invalid compression level: ' + level); + } + if (strategy != exports.Z_FILTERED && strategy != exports.Z_HUFFMAN_ONLY && strategy != exports.Z_RLE && strategy != exports.Z_FIXED && strategy != exports.Z_DEFAULT_STRATEGY) { + throw new TypeError('Invalid strategy: ' + strategy); + } + + if (this._level !== level || this._strategy !== strategy) { + var self = this; + this.flush(binding.Z_SYNC_FLUSH, function () { + assert(self._handle, 'zlib binding closed'); + self._handle.params(level, strategy); + if (!self._hadError) { + self._level = level; + self._strategy = strategy; + if (callback) callback(); + } + }); + } else { + process.nextTick(callback); + } +}; + +Zlib.prototype.reset = function () { + assert(this._handle, 'zlib binding closed'); + return this._handle.reset(); +}; + +// This is the _flush function called by the transform class, +// internally, when the last chunk has been written. +Zlib.prototype._flush = function (callback) { + this._transform(Buffer.alloc(0), '', callback); +}; + +Zlib.prototype.flush = function (kind, callback) { + var _this2 = this; + + var ws = this._writableState; + + if (typeof kind === 'function' || kind === undefined && !callback) { + callback = kind; + kind = binding.Z_FULL_FLUSH; + } + + if (ws.ended) { + if (callback) process.nextTick(callback); + } else if (ws.ending) { + if (callback) this.once('end', callback); + } else if (ws.needDrain) { + if (callback) { + this.once('drain', function () { + return _this2.flush(kind, callback); + }); + } + } else { + this._flushFlag = kind; + this.write(Buffer.alloc(0), '', callback); + } +}; + +Zlib.prototype.close = function (callback) { + _close(this, callback); + process.nextTick(emitCloseNT, this); +}; + +function _close(engine, callback) { + if (callback) process.nextTick(callback); + + // Caller may invoke .close after a zlib error (which will null _handle). + if (!engine._handle) return; + + engine._handle.close(); + engine._handle = null; +} + +function emitCloseNT(self) { + self.emit('close'); +} + +Zlib.prototype._transform = function (chunk, encoding, cb) { + var flushFlag; + var ws = this._writableState; + var ending = ws.ending || ws.ended; + var last = ending && (!chunk || ws.length === chunk.length); + + if (chunk !== null && !Buffer.isBuffer(chunk)) return cb(new Error('invalid input')); + + if (!this._handle) return cb(new Error('zlib binding closed')); + + // If it's the last chunk, or a final flush, we use the Z_FINISH flush flag + // (or whatever flag was provided using opts.finishFlush). + // If it's explicitly flushing at some other time, then we use + // Z_FULL_FLUSH. Otherwise, use Z_NO_FLUSH for maximum compression + // goodness. + if (last) flushFlag = this._finishFlushFlag;else { + flushFlag = this._flushFlag; + // once we've flushed the last of the queue, stop flushing and + // go back to the normal behavior. + if (chunk.length >= ws.length) { + this._flushFlag = this._opts.flush || binding.Z_NO_FLUSH; + } + } + + this._processChunk(chunk, flushFlag, cb); +}; + +Zlib.prototype._processChunk = function (chunk, flushFlag, cb) { + var availInBefore = chunk && chunk.length; + var availOutBefore = this._chunkSize - this._offset; + var inOff = 0; + + var self = this; + + var async = typeof cb === 'function'; + + if (!async) { + var buffers = []; + var nread = 0; + + var error; + this.on('error', function (er) { + error = er; + }); + + assert(this._handle, 'zlib binding closed'); + do { + var res = this._handle.writeSync(flushFlag, chunk, // in + inOff, // in_off + availInBefore, // in_len + this._buffer, // out + this._offset, //out_off + availOutBefore); // out_len + } while (!this._hadError && callback(res[0], res[1])); + + if (this._hadError) { + throw error; + } + + if (nread >= kMaxLength) { + _close(this); + throw new RangeError(kRangeErrorMessage); + } + + var buf = Buffer.concat(buffers, nread); + _close(this); + + return buf; + } + + assert(this._handle, 'zlib binding closed'); + var req = this._handle.write(flushFlag, chunk, // in + inOff, // in_off + availInBefore, // in_len + this._buffer, // out + this._offset, //out_off + availOutBefore); // out_len + + req.buffer = chunk; + req.callback = callback; + + function callback(availInAfter, availOutAfter) { + // When the callback is used in an async write, the callback's + // context is the `req` object that was created. The req object + // is === this._handle, and that's why it's important to null + // out the values after they are done being used. `this._handle` + // can stay in memory longer than the callback and buffer are needed. + if (this) { + this.buffer = null; + this.callback = null; + } + + if (self._hadError) return; + + var have = availOutBefore - availOutAfter; + assert(have >= 0, 'have should not go down'); + + if (have > 0) { + var out = self._buffer.slice(self._offset, self._offset + have); + self._offset += have; + // serve some output to the consumer. + if (async) { + self.push(out); + } else { + buffers.push(out); + nread += out.length; + } + } + + // exhausted the output buffer, or used all the input create a new one. + if (availOutAfter === 0 || self._offset >= self._chunkSize) { + availOutBefore = self._chunkSize; + self._offset = 0; + self._buffer = Buffer.allocUnsafe(self._chunkSize); + } + + if (availOutAfter === 0) { + // Not actually done. Need to reprocess. + // Also, update the availInBefore to the availInAfter value, + // so that if we have to hit it a third (fourth, etc.) time, + // it'll have the correct byte counts. + inOff += availInBefore - availInAfter; + availInBefore = availInAfter; + + if (!async) return true; + + var newReq = self._handle.write(flushFlag, chunk, inOff, availInBefore, self._buffer, self._offset, self._chunkSize); + newReq.callback = callback; // this same function + newReq.buffer = chunk; + return; + } + + if (!async) return false; + + // finished with the chunk. + cb(); + } +}; + +util.inherits(Deflate, Zlib); +util.inherits(Inflate, Zlib); +util.inherits(Gzip, Zlib); +util.inherits(Gunzip, Zlib); +util.inherits(DeflateRaw, Zlib); +util.inherits(InflateRaw, Zlib); +util.inherits(Unzip, Zlib); \ No newline at end of file diff --git a/packages/next/compiled/webpack/index12.js b/packages/next/compiled/webpack/index12.js new file mode 100644 index 0000000000000..78f63371392af --- /dev/null +++ b/packages/next/compiled/webpack/index12.js @@ -0,0 +1,56 @@ +'use strict' + +let $module + +/* + let contextProto = this.context; + while (contextProto = Object.getPrototypeOf(contextProto)) { + completionGroups.push(Object.getOwnPropertyNames(contextProto)); + } +*/ + + +function handle (data) { + let idx = data.idx + , child = data.child + , method = data.method + , args = data.args + , callback = function () { + let _args = Array.prototype.slice.call(arguments) + if (_args[0] instanceof Error) { + let e = _args[0] + _args[0] = { + '$error' : '$error' + , 'type' : e.constructor.name + , 'message' : e.message + , 'stack' : e.stack + } + Object.keys(e).forEach(function(key) { + _args[0][key] = e[key] + }) + } + process.send({ owner: 'farm', idx: idx, child: child, args: _args }) + } + , exec + + if (method == null && typeof $module == 'function') + exec = $module + else if (typeof $module[method] == 'function') + exec = $module[method] + + if (!exec) + return console.error('NO SUCH METHOD:', method) + + exec.apply(null, args.concat([ callback ])) +} + + +process.on('message', function (data) { + if (data.owner !== 'farm') { + return; + } + + if (!$module) return $module = require(data.module) + if (data.event == 'die') return process.exit(0) + handle(data) +}) diff --git a/packages/next/compiled/webpack/index2.js b/packages/next/compiled/webpack/index2.js new file mode 100644 index 0000000000000..b6d4d24e1e335 --- /dev/null +++ b/packages/next/compiled/webpack/index2.js @@ -0,0 +1,97 @@ +'use strict' + +exports.randomBytes = exports.rng = exports.pseudoRandomBytes = exports.prng = require('randombytes') +exports.createHash = exports.Hash = require('create-hash') +exports.createHmac = exports.Hmac = require('create-hmac') + +var algos = require('browserify-sign/algos') +var algoKeys = Object.keys(algos) +var hashes = ['sha1', 'sha224', 'sha256', 'sha384', 'sha512', 'md5', 'rmd160'].concat(algoKeys) +exports.getHashes = function () { + return hashes +} + +var p = require('pbkdf2') +exports.pbkdf2 = p.pbkdf2 +exports.pbkdf2Sync = p.pbkdf2Sync + +var aes = require('browserify-cipher') + +exports.Cipher = aes.Cipher +exports.createCipher = aes.createCipher +exports.Cipheriv = aes.Cipheriv +exports.createCipheriv = aes.createCipheriv +exports.Decipher = aes.Decipher +exports.createDecipher = aes.createDecipher +exports.Decipheriv = aes.Decipheriv +exports.createDecipheriv = aes.createDecipheriv +exports.getCiphers = aes.getCiphers +exports.listCiphers = aes.listCiphers + +var dh = require('diffie-hellman') + +exports.DiffieHellmanGroup = dh.DiffieHellmanGroup +exports.createDiffieHellmanGroup = dh.createDiffieHellmanGroup +exports.getDiffieHellman = dh.getDiffieHellman +exports.createDiffieHellman = dh.createDiffieHellman +exports.DiffieHellman = dh.DiffieHellman + +var sign = require('browserify-sign') + +exports.createSign = sign.createSign +exports.Sign = sign.Sign +exports.createVerify = sign.createVerify +exports.Verify = sign.Verify + +exports.createECDH = require('create-ecdh') + +var publicEncrypt = require('public-encrypt') + +exports.publicEncrypt = publicEncrypt.publicEncrypt +exports.privateEncrypt = publicEncrypt.privateEncrypt +exports.publicDecrypt = publicEncrypt.publicDecrypt +exports.privateDecrypt = publicEncrypt.privateDecrypt + +// the least I can do is make error messages for the rest of the node.js/crypto api. +// ;[ +// 'createCredentials' +// ].forEach(function (name) { +// exports[name] = function () { +// throw new Error([ +// 'sorry, ' + name + ' is not implemented yet', +// 'we accept pull requests', +// 'https://github.com/crypto-browserify/crypto-browserify' +// ].join('\n')) +// } +// }) + +var rf = require('randomfill') + +exports.randomFill = rf.randomFill +exports.randomFillSync = rf.randomFillSync + +exports.createCredentials = function () { + throw new Error([ + 'sorry, createCredentials is not implemented yet', + 'we accept pull requests', + 'https://github.com/crypto-browserify/crypto-browserify' + ].join('\n')) +} + +exports.constants = { + 'DH_CHECK_P_NOT_SAFE_PRIME': 2, + 'DH_CHECK_P_NOT_PRIME': 1, + 'DH_UNABLE_TO_CHECK_GENERATOR': 4, + 'DH_NOT_SUITABLE_GENERATOR': 8, + 'NPN_ENABLED': 1, + 'ALPN_ENABLED': 1, + 'RSA_PKCS1_PADDING': 1, + 'RSA_SSLV23_PADDING': 2, + 'RSA_NO_PADDING': 3, + 'RSA_PKCS1_OAEP_PADDING': 4, + 'RSA_X931_PADDING': 5, + 'RSA_PKCS1_PSS_PADDING': 6, + 'POINT_CONVERSION_COMPRESSED': 2, + 'POINT_CONVERSION_UNCOMPRESSED': 4, + 'POINT_CONVERSION_HYBRID': 6 +} diff --git a/packages/next/compiled/webpack/index3.js b/packages/next/compiled/webpack/index3.js new file mode 100644 index 0000000000000..e06b3a17560c6 --- /dev/null +++ b/packages/next/compiled/webpack/index3.js @@ -0,0 +1,70 @@ +// This file should be ES5 compatible +/* eslint prefer-spread:0, no-var:0, prefer-reflect:0, no-magic-numbers:0 */ +'use strict' + +module.exports = (function () { + // Import Events + var events = require('events') + + // Export Domain + var domain = {} + domain.createDomain = domain.create = function () { + var d = new events.EventEmitter() + + function emitError (e) { + d.emit('error', e) + } + + d.add = function (emitter) { + emitter.on('error', emitError) + } + d.remove = function (emitter) { + emitter.removeListener('error', emitError) + } + d.bind = function (fn) { + return function () { + var args = Array.prototype.slice.call(arguments) + try { + fn.apply(null, args) + } + catch (err) { + emitError(err) + } + } + } + d.intercept = function (fn) { + return function (err) { + if ( err ) { + emitError(err) + } + else { + var args = Array.prototype.slice.call(arguments, 1) + try { + fn.apply(null, args) + } + catch (err) { + emitError(err) + } + } + } + } + d.run = function (fn) { + try { + fn() + } + catch (err) { + emitError(err) + } + return this + } + d.dispose = function () { + this.removeAllListeners() + return this + } + d.enter = d.exit = function () { + return this + } + return d + } + return domain +}).call(this) diff --git a/packages/next/compiled/webpack/index4.js b/packages/next/compiled/webpack/index4.js new file mode 100644 index 0000000000000..84bfe5118df76 --- /dev/null +++ b/packages/next/compiled/webpack/index4.js @@ -0,0 +1,85 @@ +var ClientRequest = require('./lib/request') +var response = require('./lib/response') +var extend = require('xtend') +var statusCodes = require('builtin-status-codes') +var url = require('url') + +var http = exports + +http.request = function (opts, cb) { + if (typeof opts === 'string') + opts = url.parse(opts) + else + opts = extend(opts) + + // Normally, the page is loaded from http or https, so not specifying a protocol + // will result in a (valid) protocol-relative url. However, this won't work if + // the protocol is something else, like 'file:' + var defaultProtocol = global.location.protocol.search(/^https?:$/) === -1 ? 'http:' : '' + + var protocol = opts.protocol || defaultProtocol + var host = opts.hostname || opts.host + var port = opts.port + var path = opts.path || '/' + + // Necessary for IPv6 addresses + if (host && host.indexOf(':') !== -1) + host = '[' + host + ']' + + // This may be a relative url. The browser should always be able to interpret it correctly. + opts.url = (host ? (protocol + '//' + host) : '') + (port ? ':' + port : '') + path + opts.method = (opts.method || 'GET').toUpperCase() + opts.headers = opts.headers || {} + + // Also valid opts.auth, opts.mode + + var req = new ClientRequest(opts) + if (cb) + req.on('response', cb) + return req +} + +http.get = function get (opts, cb) { + var req = http.request(opts, cb) + req.end() + return req +} + +http.ClientRequest = ClientRequest +http.IncomingMessage = response.IncomingMessage + +http.Agent = function () {} +http.Agent.defaultMaxSockets = 4 + +http.globalAgent = new http.Agent() + +http.STATUS_CODES = statusCodes + +http.METHODS = [ + 'CHECKOUT', + 'CONNECT', + 'COPY', + 'DELETE', + 'GET', + 'HEAD', + 'LOCK', + 'M-SEARCH', + 'MERGE', + 'MKACTIVITY', + 'MKCOL', + 'MOVE', + 'NOTIFY', + 'OPTIONS', + 'PATCH', + 'POST', + 'PROPFIND', + 'PROPPATCH', + 'PURGE', + 'PUT', + 'REPORT', + 'SEARCH', + 'SUBSCRIBE', + 'TRACE', + 'UNLOCK', + 'UNSUBSCRIBE' +] \ No newline at end of file diff --git a/packages/next/compiled/webpack/index5.js b/packages/next/compiled/webpack/index5.js new file mode 100644 index 0000000000000..cd203027b2c4c --- /dev/null +++ b/packages/next/compiled/webpack/index5.js @@ -0,0 +1,31 @@ +var http = require('http') +var url = require('url') + +var https = module.exports + +for (var key in http) { + if (http.hasOwnProperty(key)) https[key] = http[key] +} + +https.request = function (params, cb) { + params = validateParams(params) + return http.request.call(this, params, cb) +} + +https.get = function (params, cb) { + params = validateParams(params) + return http.get.call(this, params, cb) +} + +function validateParams (params) { + if (typeof params === 'string') { + params = url.parse(params) + } + if (!params.protocol) { + params.protocol = 'https:' + } + if (params.protocol !== 'https:') { + throw new Error('Protocol "' + params.protocol + '" not supported. Expected "https:"') + } + return params +} diff --git a/packages/next/compiled/webpack/index6.js b/packages/next/compiled/webpack/index6.js new file mode 100644 index 0000000000000..208658a21d329 --- /dev/null +++ b/packages/next/compiled/webpack/index6.js @@ -0,0 +1,302 @@ +// .dirname, .basename, and .extname methods are extracted from Node.js v8.11.1, +// backported and transplited with Babel, with backwards-compat fixes + +// Copyright Joyent, Inc. and other Node contributors. +// +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to permit +// persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included +// in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN +// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +// USE OR OTHER DEALINGS IN THE SOFTWARE. + +// resolves . and .. elements in a path array with directory names there +// must be no slashes, empty elements, or device names (c:\) in the array +// (so also no leading and trailing slashes - it does not distinguish +// relative and absolute paths) +function normalizeArray(parts, allowAboveRoot) { + // if the path tries to go above the root, `up` ends up > 0 + var up = 0; + for (var i = parts.length - 1; i >= 0; i--) { + var last = parts[i]; + if (last === '.') { + parts.splice(i, 1); + } else if (last === '..') { + parts.splice(i, 1); + up++; + } else if (up) { + parts.splice(i, 1); + up--; + } + } + + // if the path is allowed to go above the root, restore leading ..s + if (allowAboveRoot) { + for (; up--; up) { + parts.unshift('..'); + } + } + + return parts; +} + +// path.resolve([from ...], to) +// posix version +exports.resolve = function() { + var resolvedPath = '', + resolvedAbsolute = false; + + for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) { + var path = (i >= 0) ? arguments[i] : process.cwd(); + + // Skip empty and invalid entries + if (typeof path !== 'string') { + throw new TypeError('Arguments to path.resolve must be strings'); + } else if (!path) { + continue; + } + + resolvedPath = path + '/' + resolvedPath; + resolvedAbsolute = path.charAt(0) === '/'; + } + + // At this point the path should be resolved to a full absolute path, but + // handle relative paths to be safe (might happen when process.cwd() fails) + + // Normalize the path + resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function(p) { + return !!p; + }), !resolvedAbsolute).join('/'); + + return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.'; +}; + +// path.normalize(path) +// posix version +exports.normalize = function(path) { + var isAbsolute = exports.isAbsolute(path), + trailingSlash = substr(path, -1) === '/'; + + // Normalize the path + path = normalizeArray(filter(path.split('/'), function(p) { + return !!p; + }), !isAbsolute).join('/'); + + if (!path && !isAbsolute) { + path = '.'; + } + if (path && trailingSlash) { + path += '/'; + } + + return (isAbsolute ? '/' : '') + path; +}; + +// posix version +exports.isAbsolute = function(path) { + return path.charAt(0) === '/'; +}; + +// posix version +exports.join = function() { + var paths = Array.prototype.slice.call(arguments, 0); + return exports.normalize(filter(paths, function(p, index) { + if (typeof p !== 'string') { + throw new TypeError('Arguments to path.join must be strings'); + } + return p; + }).join('/')); +}; + + +// path.relative(from, to) +// posix version +exports.relative = function(from, to) { + from = exports.resolve(from).substr(1); + to = exports.resolve(to).substr(1); + + function trim(arr) { + var start = 0; + for (; start < arr.length; start++) { + if (arr[start] !== '') break; + } + + var end = arr.length - 1; + for (; end >= 0; end--) { + if (arr[end] !== '') break; + } + + if (start > end) return []; + return arr.slice(start, end - start + 1); + } + + var fromParts = trim(from.split('/')); + var toParts = trim(to.split('/')); + + var length = Math.min(fromParts.length, toParts.length); + var samePartsLength = length; + for (var i = 0; i < length; i++) { + if (fromParts[i] !== toParts[i]) { + samePartsLength = i; + break; + } + } + + var outputParts = []; + for (var i = samePartsLength; i < fromParts.length; i++) { + outputParts.push('..'); + } + + outputParts = outputParts.concat(toParts.slice(samePartsLength)); + + return outputParts.join('/'); +}; + +exports.sep = '/'; +exports.delimiter = ':'; + +exports.dirname = function (path) { + if (typeof path !== 'string') path = path + ''; + if (path.length === 0) return '.'; + var code = path.charCodeAt(0); + var hasRoot = code === 47 /*/*/; + var end = -1; + var matchedSlash = true; + for (var i = path.length - 1; i >= 1; --i) { + code = path.charCodeAt(i); + if (code === 47 /*/*/) { + if (!matchedSlash) { + end = i; + break; + } + } else { + // We saw the first non-path separator + matchedSlash = false; + } + } + + if (end === -1) return hasRoot ? '/' : '.'; + if (hasRoot && end === 1) { + // return '//'; + // Backwards-compat fix: + return '/'; + } + return path.slice(0, end); +}; + +function basename(path) { + if (typeof path !== 'string') path = path + ''; + + var start = 0; + var end = -1; + var matchedSlash = true; + var i; + + for (i = path.length - 1; i >= 0; --i) { + if (path.charCodeAt(i) === 47 /*/*/) { + // If we reached a path separator that was not part of a set of path + // separators at the end of the string, stop now + if (!matchedSlash) { + start = i + 1; + break; + } + } else if (end === -1) { + // We saw the first non-path separator, mark this as the end of our + // path component + matchedSlash = false; + end = i + 1; + } + } + + if (end === -1) return ''; + return path.slice(start, end); +} + +// Uses a mixed approach for backwards-compatibility, as ext behavior changed +// in new Node.js versions, so only basename() above is backported here +exports.basename = function (path, ext) { + var f = basename(path); + if (ext && f.substr(-1 * ext.length) === ext) { + f = f.substr(0, f.length - ext.length); + } + return f; +}; + +exports.extname = function (path) { + if (typeof path !== 'string') path = path + ''; + var startDot = -1; + var startPart = 0; + var end = -1; + var matchedSlash = true; + // Track the state of characters (if any) we see before our first dot and + // after any path separator we find + var preDotState = 0; + for (var i = path.length - 1; i >= 0; --i) { + var code = path.charCodeAt(i); + if (code === 47 /*/*/) { + // If we reached a path separator that was not part of a set of path + // separators at the end of the string, stop now + if (!matchedSlash) { + startPart = i + 1; + break; + } + continue; + } + if (end === -1) { + // We saw the first non-path separator, mark this as the end of our + // extension + matchedSlash = false; + end = i + 1; + } + if (code === 46 /*.*/) { + // If this is our first dot, mark it as the start of our extension + if (startDot === -1) + startDot = i; + else if (preDotState !== 1) + preDotState = 1; + } else if (startDot !== -1) { + // We saw a non-dot and non-path separator before our dot, so we should + // have a good chance at having a non-empty extension + preDotState = -1; + } + } + + if (startDot === -1 || end === -1 || + // We saw a non-dot character immediately before the dot + preDotState === 0 || + // The (right-most) trimmed path component is exactly '..' + preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) { + return ''; + } + return path.slice(startDot, end); +}; + +function filter (xs, f) { + if (xs.filter) return xs.filter(f); + var res = []; + for (var i = 0; i < xs.length; i++) { + if (f(xs[i], i, xs)) res.push(xs[i]); + } + return res; +} + +// String.prototype.substr - negative index don't work in IE8 +var substr = 'ab'.substr(-1) === 'b' + ? function (str, start, len) { return str.substr(start, len) } + : function (str, start, len) { + if (start < 0) start = str.length + start; + return str.substr(start, len); + } +; diff --git a/packages/next/compiled/webpack/index7.js b/packages/next/compiled/webpack/index7.js new file mode 100644 index 0000000000000..99826ea8a702d --- /dev/null +++ b/packages/next/compiled/webpack/index7.js @@ -0,0 +1,4 @@ +'use strict'; + +exports.decode = exports.parse = require('./decode'); +exports.encode = exports.stringify = require('./encode'); diff --git a/packages/next/compiled/webpack/index8.js b/packages/next/compiled/webpack/index8.js new file mode 100644 index 0000000000000..8d6a13ab9721a --- /dev/null +++ b/packages/next/compiled/webpack/index8.js @@ -0,0 +1,127 @@ +// Copyright Joyent, Inc. and other Node contributors. +// +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to permit +// persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included +// in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN +// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +// USE OR OTHER DEALINGS IN THE SOFTWARE. + +module.exports = Stream; + +var EE = require('events').EventEmitter; +var inherits = require('inherits'); + +inherits(Stream, EE); +Stream.Readable = require('readable-stream/readable.js'); +Stream.Writable = require('readable-stream/writable.js'); +Stream.Duplex = require('readable-stream/duplex.js'); +Stream.Transform = require('readable-stream/transform.js'); +Stream.PassThrough = require('readable-stream/passthrough.js'); + +// Backwards-compat with node 0.4.x +Stream.Stream = Stream; + + + +// old-style streams. Note that the pipe method (the only relevant +// part of this class) is overridden in the Readable class. + +function Stream() { + EE.call(this); +} + +Stream.prototype.pipe = function(dest, options) { + var source = this; + + function ondata(chunk) { + if (dest.writable) { + if (false === dest.write(chunk) && source.pause) { + source.pause(); + } + } + } + + source.on('data', ondata); + + function ondrain() { + if (source.readable && source.resume) { + source.resume(); + } + } + + dest.on('drain', ondrain); + + // If the 'end' option is not supplied, dest.end() will be called when + // source gets the 'end' or 'close' events. Only dest.end() once. + if (!dest._isStdio && (!options || options.end !== false)) { + source.on('end', onend); + source.on('close', onclose); + } + + var didOnEnd = false; + function onend() { + if (didOnEnd) return; + didOnEnd = true; + + dest.end(); + } + + + function onclose() { + if (didOnEnd) return; + didOnEnd = true; + + if (typeof dest.destroy === 'function') dest.destroy(); + } + + // don't leave dangling pipes when there are errors. + function onerror(er) { + cleanup(); + if (EE.listenerCount(this, 'error') === 0) { + throw er; // Unhandled stream error in pipe. + } + } + + source.on('error', onerror); + dest.on('error', onerror); + + // remove all the event listeners that were added. + function cleanup() { + source.removeListener('data', ondata); + dest.removeListener('drain', ondrain); + + source.removeListener('end', onend); + source.removeListener('close', onclose); + + source.removeListener('error', onerror); + dest.removeListener('error', onerror); + + source.removeListener('end', cleanup); + source.removeListener('close', cleanup); + + dest.removeListener('close', cleanup); + } + + source.on('end', cleanup); + source.on('close', cleanup); + + dest.on('close', cleanup); + + dest.emit('pipe', source); + + // Allow for unix-like usage: A.pipe(B).pipe(C) + return dest; +}; diff --git a/packages/next/compiled/webpack/index9.js b/packages/next/compiled/webpack/index9.js new file mode 100644 index 0000000000000..2b5f04c163836 --- /dev/null +++ b/packages/next/compiled/webpack/index9.js @@ -0,0 +1,11 @@ +exports.isatty = function () { return false; }; + +function ReadStream() { + throw new Error('tty.ReadStream is not implemented'); +} +exports.ReadStream = ReadStream; + +function WriteStream() { + throw new Error('tty.ReadStream is not implemented'); +} +exports.WriteStream = WriteStream; diff --git a/packages/next/compiled/webpack/main.js b/packages/next/compiled/webpack/main.js new file mode 100644 index 0000000000000..4214e74bc7f67 --- /dev/null +++ b/packages/next/compiled/webpack/main.js @@ -0,0 +1,63 @@ +var scope = (typeof global !== "undefined" && global) || + (typeof self !== "undefined" && self) || + window; +var apply = Function.prototype.apply; + +// DOM APIs, for completeness + +exports.setTimeout = function() { + return new Timeout(apply.call(setTimeout, scope, arguments), clearTimeout); +}; +exports.setInterval = function() { + return new Timeout(apply.call(setInterval, scope, arguments), clearInterval); +}; +exports.clearTimeout = +exports.clearInterval = function(timeout) { + if (timeout) { + timeout.close(); + } +}; + +function Timeout(id, clearFn) { + this._id = id; + this._clearFn = clearFn; +} +Timeout.prototype.unref = Timeout.prototype.ref = function() {}; +Timeout.prototype.close = function() { + this._clearFn.call(scope, this._id); +}; + +// Does not start the time, just sets up the members needed. +exports.enroll = function(item, msecs) { + clearTimeout(item._idleTimeoutId); + item._idleTimeout = msecs; +}; + +exports.unenroll = function(item) { + clearTimeout(item._idleTimeoutId); + item._idleTimeout = -1; +}; + +exports._unrefActive = exports.active = function(item) { + clearTimeout(item._idleTimeoutId); + + var msecs = item._idleTimeout; + if (msecs >= 0) { + item._idleTimeoutId = setTimeout(function onTimeout() { + if (item._onTimeout) + item._onTimeout(); + }, msecs); + } +}; + +// setimmediate attaches itself to the global object +require("setimmediate"); +// On some exotic environments, it's not clear which object `setimmediate` was +// able to install onto. Search each possibility in the same order as the +// `setimmediate` library. +exports.setImmediate = (typeof self !== "undefined" && self.setImmediate) || + (typeof global !== "undefined" && global.setImmediate) || + (this && this.setImmediate); +exports.clearImmediate = (typeof self !== "undefined" && self.clearImmediate) || + (typeof global !== "undefined" && global.clearImmediate) || + (this && this.clearImmediate); diff --git a/packages/next/compiled/webpack/minify.js b/packages/next/compiled/webpack/minify.js new file mode 100644 index 0000000000000..156ec1e744627 --- /dev/null +++ b/packages/next/compiled/webpack/minify.js @@ -0,0 +1,273 @@ +"use strict"; + +const { + minify: terserMinify +} = require('terser'); +/** @typedef {import("source-map").RawSourceMap} RawSourceMap */ + +/** @typedef {import("./index.js").ExtractCommentsOptions} ExtractCommentsOptions */ + +/** @typedef {import("./index.js").CustomMinifyFunction} CustomMinifyFunction */ + +/** @typedef {import("./index.js").MinifyOptions} MinifyOptions */ + +/** @typedef {import("terser").MinifyOptions} TerserMinifyOptions */ + +/** @typedef {import("terser").MinifyOutput} MinifyOutput */ + +/** @typedef {import("terser").FormatOptions} FormatOptions */ + +/** @typedef {import("terser").MangleOptions} MangleOptions */ + +/** @typedef {import("./index.js").ExtractCommentsFunction} ExtractCommentsFunction */ + +/** @typedef {import("./index.js").ExtractCommentsCondition} ExtractCommentsCondition */ + +/** + * @typedef {Object} InternalMinifyOptions + * @property {string} name + * @property {string} input + * @property {RawSourceMap} inputSourceMap + * @property {ExtractCommentsOptions} extractComments + * @property {CustomMinifyFunction} minify + * @property {MinifyOptions} minifyOptions + */ + +/** + * @typedef {Array} ExtractedComments + */ + +/** + * @typedef {Promise} InternalMinifyResult + */ + +/** + * @typedef {TerserMinifyOptions & { sourceMap: undefined } & ({ output: FormatOptions & { beautify: boolean } } | { format: FormatOptions & { beautify: boolean } })} NormalizedTerserMinifyOptions + */ + +/** + * @param {TerserMinifyOptions} [terserOptions={}] + * @returns {NormalizedTerserMinifyOptions} + */ + + +function buildTerserOptions(terserOptions = {}) { + return { ...terserOptions, + mangle: terserOptions.mangle == null ? true : typeof terserOptions.mangle === 'boolean' ? terserOptions.mangle : { ...terserOptions.mangle + }, + // Ignoring sourceMap from options + // eslint-disable-next-line no-undefined + sourceMap: undefined, + // the `output` option is deprecated + ...(terserOptions.format ? { + format: { + beautify: false, + ...terserOptions.format + } + } : { + output: { + beautify: false, + ...terserOptions.output + } + }) + }; +} +/** + * @param {any} value + * @returns {boolean} + */ + + +function isObject(value) { + const type = typeof value; + return value != null && (type === 'object' || type === 'function'); +} +/** + * @param {ExtractCommentsOptions} extractComments + * @param {NormalizedTerserMinifyOptions} terserOptions + * @param {ExtractedComments} extractedComments + * @returns {ExtractCommentsFunction} + */ + + +function buildComments(extractComments, terserOptions, extractedComments) { + /** @type {{ [index: string]: ExtractCommentsCondition }} */ + const condition = {}; + let comments; + + if (terserOptions.format) { + ({ + comments + } = terserOptions.format); + } else if (terserOptions.output) { + ({ + comments + } = terserOptions.output); + } + + condition.preserve = typeof comments !== 'undefined' ? comments : false; + + if (typeof extractComments === 'boolean' && extractComments) { + condition.extract = 'some'; + } else if (typeof extractComments === 'string' || extractComments instanceof RegExp) { + condition.extract = extractComments; + } else if (typeof extractComments === 'function') { + condition.extract = extractComments; + } else if (extractComments && isObject(extractComments)) { + condition.extract = typeof extractComments.condition === 'boolean' && extractComments.condition ? 'some' : typeof extractComments.condition !== 'undefined' ? extractComments.condition : 'some'; + } else { + // No extract + // Preserve using "commentsOpts" or "some" + condition.preserve = typeof comments !== 'undefined' ? comments : 'some'; + condition.extract = false; + } // Ensure that both conditions are functions + + + ['preserve', 'extract'].forEach(key => { + /** @type {undefined | string} */ + let regexStr; + /** @type {undefined | RegExp} */ + + let regex; + + switch (typeof condition[key]) { + case 'boolean': + condition[key] = condition[key] ? () => true : () => false; + break; + + case 'function': + break; + + case 'string': + if (condition[key] === 'all') { + condition[key] = () => true; + + break; + } + + if (condition[key] === 'some') { + condition[key] = + /** @type {ExtractCommentsFunction} */ + (astNode, comment) => { + return (comment.type === 'comment2' || comment.type === 'comment1') && /@preserve|@lic|@cc_on|^\**!/i.test(comment.value); + }; + + break; + } + + regexStr = + /** @type {string} */ + condition[key]; + + condition[key] = + /** @type {ExtractCommentsFunction} */ + (astNode, comment) => { + return new RegExp( + /** @type {string} */ + regexStr).test(comment.value); + }; + + break; + + default: + regex = + /** @type {RegExp} */ + condition[key]; + + condition[key] = + /** @type {ExtractCommentsFunction} */ + (astNode, comment) => + /** @type {RegExp} */ + regex.test(comment.value); + + } + }); // Redefine the comments function to extract and preserve + // comments according to the two conditions + + return (astNode, comment) => { + if ( + /** @type {{ extract: ExtractCommentsFunction }} */ + condition.extract(astNode, comment)) { + const commentText = comment.type === 'comment2' ? `/*${comment.value}*/` : `//${comment.value}`; // Don't include duplicate comments + + if (!extractedComments.includes(commentText)) { + extractedComments.push(commentText); + } + } + + return ( + /** @type {{ preserve: ExtractCommentsFunction }} */ + condition.preserve(astNode, comment) + ); + }; +} +/** + * @param {InternalMinifyOptions} options + * @returns {InternalMinifyResult} + */ + + +async function minify(options) { + const { + name, + input, + inputSourceMap, + minify: minifyFn, + minifyOptions + } = options; + + if (minifyFn) { + return minifyFn({ + [name]: input + }, inputSourceMap, minifyOptions); + } // Copy terser options + + + const terserOptions = buildTerserOptions(minifyOptions); // Let terser generate a SourceMap + + if (inputSourceMap) { + // @ts-ignore + terserOptions.sourceMap = { + asObject: true + }; + } + /** @type {ExtractedComments} */ + + + const extractedComments = []; + const { + extractComments + } = options; + + if (terserOptions.output) { + terserOptions.output.comments = buildComments(extractComments, terserOptions, extractedComments); + } else if (terserOptions.format) { + terserOptions.format.comments = buildComments(extractComments, terserOptions, extractedComments); + } + + const result = await terserMinify({ + [name]: input + }, terserOptions); + return { ...result, + extractedComments + }; +} +/** + * @param {string} options + * @returns {InternalMinifyResult} + */ + + +function transform(options) { + // 'use strict' => this === undefined (Clean Scope) + // Safer for possible security issues, albeit not critical at all here + // eslint-disable-next-line no-param-reassign + const evaluatedOptions = + /** @type {InternalMinifyOptions} */ + // eslint-disable-next-line no-new-func + new Function('exports', 'require', 'module', '__filename', '__dirname', `'use strict'\nreturn ${options}`)(exports, require, module, __filename, __dirname); + return minify(evaluatedOptions); +} + +module.exports.minify = minify; +module.exports.transform = transform; \ No newline at end of file diff --git a/packages/next/compiled/webpack/module.js b/packages/next/compiled/webpack/module.js new file mode 100644 index 0000000000000..c92808b604e87 --- /dev/null +++ b/packages/next/compiled/webpack/module.js @@ -0,0 +1,22 @@ +module.exports = function(module) { + if (!module.webpackPolyfill) { + module.deprecate = function() {}; + module.paths = []; + // module.parent = undefined by default + if (!module.children) module.children = []; + Object.defineProperty(module, "loaded", { + enumerable: true, + get: function() { + return module.l; + } + }); + Object.defineProperty(module, "id", { + enumerable: true, + get: function() { + return module.i; + } + }); + module.webpackPolyfill = 1; + } + return module; +}; diff --git a/packages/next/compiled/webpack/package.json b/packages/next/compiled/webpack/package.json new file mode 100644 index 0000000000000..1b1fa93b730e8 --- /dev/null +++ b/packages/next/compiled/webpack/package.json @@ -0,0 +1 @@ +{"name":"webpack","main":"bundle4.js","author":"Tobias Koppers @sokra","license":"MIT"} diff --git a/packages/next/compiled/webpack/passthrough.js b/packages/next/compiled/webpack/passthrough.js new file mode 100644 index 0000000000000..ffd791d7ff275 --- /dev/null +++ b/packages/next/compiled/webpack/passthrough.js @@ -0,0 +1 @@ +module.exports = require('./readable').PassThrough diff --git a/packages/next/compiled/webpack/punycode.js b/packages/next/compiled/webpack/punycode.js new file mode 100644 index 0000000000000..2c87f6cc48573 --- /dev/null +++ b/packages/next/compiled/webpack/punycode.js @@ -0,0 +1,533 @@ +/*! https://mths.be/punycode v1.4.1 by @mathias */ +;(function(root) { + + /** Detect free variables */ + var freeExports = typeof exports == 'object' && exports && + !exports.nodeType && exports; + var freeModule = typeof module == 'object' && module && + !module.nodeType && module; + var freeGlobal = typeof global == 'object' && global; + if ( + freeGlobal.global === freeGlobal || + freeGlobal.window === freeGlobal || + freeGlobal.self === freeGlobal + ) { + root = freeGlobal; + } + + /** + * The `punycode` object. + * @name punycode + * @type Object + */ + var punycode, + + /** Highest positive signed 32-bit float value */ + maxInt = 2147483647, // aka. 0x7FFFFFFF or 2^31-1 + + /** Bootstring parameters */ + base = 36, + tMin = 1, + tMax = 26, + skew = 38, + damp = 700, + initialBias = 72, + initialN = 128, // 0x80 + delimiter = '-', // '\x2D' + + /** Regular expressions */ + regexPunycode = /^xn--/, + regexNonASCII = /[^\x20-\x7E]/, // unprintable ASCII chars + non-ASCII chars + regexSeparators = /[\x2E\u3002\uFF0E\uFF61]/g, // RFC 3490 separators + + /** Error messages */ + errors = { + 'overflow': 'Overflow: input needs wider integers to process', + 'not-basic': 'Illegal input >= 0x80 (not a basic code point)', + 'invalid-input': 'Invalid input' + }, + + /** Convenience shortcuts */ + baseMinusTMin = base - tMin, + floor = Math.floor, + stringFromCharCode = String.fromCharCode, + + /** Temporary variable */ + key; + + /*--------------------------------------------------------------------------*/ + + /** + * A generic error utility function. + * @private + * @param {String} type The error type. + * @returns {Error} Throws a `RangeError` with the applicable error message. + */ + function error(type) { + throw new RangeError(errors[type]); + } + + /** + * A generic `Array#map` utility function. + * @private + * @param {Array} array The array to iterate over. + * @param {Function} callback The function that gets called for every array + * item. + * @returns {Array} A new array of values returned by the callback function. + */ + function map(array, fn) { + var length = array.length; + var result = []; + while (length--) { + result[length] = fn(array[length]); + } + return result; + } + + /** + * A simple `Array#map`-like wrapper to work with domain name strings or email + * addresses. + * @private + * @param {String} domain The domain name or email address. + * @param {Function} callback The function that gets called for every + * character. + * @returns {Array} A new string of characters returned by the callback + * function. + */ + function mapDomain(string, fn) { + var parts = string.split('@'); + var result = ''; + if (parts.length > 1) { + // In email addresses, only the domain name should be punycoded. Leave + // the local part (i.e. everything up to `@`) intact. + result = parts[0] + '@'; + string = parts[1]; + } + // Avoid `split(regex)` for IE8 compatibility. See #17. + string = string.replace(regexSeparators, '\x2E'); + var labels = string.split('.'); + var encoded = map(labels, fn).join('.'); + return result + encoded; + } + + /** + * Creates an array containing the numeric code points of each Unicode + * character in the string. While JavaScript uses UCS-2 internally, + * this function will convert a pair of surrogate halves (each of which + * UCS-2 exposes as separate characters) into a single code point, + * matching UTF-16. + * @see `punycode.ucs2.encode` + * @see + * @memberOf punycode.ucs2 + * @name decode + * @param {String} string The Unicode input string (UCS-2). + * @returns {Array} The new array of code points. + */ + function ucs2decode(string) { + var output = [], + counter = 0, + length = string.length, + value, + extra; + while (counter < length) { + value = string.charCodeAt(counter++); + if (value >= 0xD800 && value <= 0xDBFF && counter < length) { + // high surrogate, and there is a next character + extra = string.charCodeAt(counter++); + if ((extra & 0xFC00) == 0xDC00) { // low surrogate + output.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000); + } else { + // unmatched surrogate; only append this code unit, in case the next + // code unit is the high surrogate of a surrogate pair + output.push(value); + counter--; + } + } else { + output.push(value); + } + } + return output; + } + + /** + * Creates a string based on an array of numeric code points. + * @see `punycode.ucs2.decode` + * @memberOf punycode.ucs2 + * @name encode + * @param {Array} codePoints The array of numeric code points. + * @returns {String} The new Unicode string (UCS-2). + */ + function ucs2encode(array) { + return map(array, function(value) { + var output = ''; + if (value > 0xFFFF) { + value -= 0x10000; + output += stringFromCharCode(value >>> 10 & 0x3FF | 0xD800); + value = 0xDC00 | value & 0x3FF; + } + output += stringFromCharCode(value); + return output; + }).join(''); + } + + /** + * Converts a basic code point into a digit/integer. + * @see `digitToBasic()` + * @private + * @param {Number} codePoint The basic numeric code point value. + * @returns {Number} The numeric value of a basic code point (for use in + * representing integers) in the range `0` to `base - 1`, or `base` if + * the code point does not represent a value. + */ + function basicToDigit(codePoint) { + if (codePoint - 48 < 10) { + return codePoint - 22; + } + if (codePoint - 65 < 26) { + return codePoint - 65; + } + if (codePoint - 97 < 26) { + return codePoint - 97; + } + return base; + } + + /** + * Converts a digit/integer into a basic code point. + * @see `basicToDigit()` + * @private + * @param {Number} digit The numeric value of a basic code point. + * @returns {Number} The basic code point whose value (when used for + * representing integers) is `digit`, which needs to be in the range + * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is + * used; else, the lowercase form is used. The behavior is undefined + * if `flag` is non-zero and `digit` has no uppercase form. + */ + function digitToBasic(digit, flag) { + // 0..25 map to ASCII a..z or A..Z + // 26..35 map to ASCII 0..9 + return digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5); + } + + /** + * Bias adaptation function as per section 3.4 of RFC 3492. + * https://tools.ietf.org/html/rfc3492#section-3.4 + * @private + */ + function adapt(delta, numPoints, firstTime) { + var k = 0; + delta = firstTime ? floor(delta / damp) : delta >> 1; + delta += floor(delta / numPoints); + for (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) { + delta = floor(delta / baseMinusTMin); + } + return floor(k + (baseMinusTMin + 1) * delta / (delta + skew)); + } + + /** + * Converts a Punycode string of ASCII-only symbols to a string of Unicode + * symbols. + * @memberOf punycode + * @param {String} input The Punycode string of ASCII-only symbols. + * @returns {String} The resulting string of Unicode symbols. + */ + function decode(input) { + // Don't use UCS-2 + var output = [], + inputLength = input.length, + out, + i = 0, + n = initialN, + bias = initialBias, + basic, + j, + index, + oldi, + w, + k, + digit, + t, + /** Cached calculation results */ + baseMinusT; + + // Handle the basic code points: let `basic` be the number of input code + // points before the last delimiter, or `0` if there is none, then copy + // the first basic code points to the output. + + basic = input.lastIndexOf(delimiter); + if (basic < 0) { + basic = 0; + } + + for (j = 0; j < basic; ++j) { + // if it's not a basic code point + if (input.charCodeAt(j) >= 0x80) { + error('not-basic'); + } + output.push(input.charCodeAt(j)); + } + + // Main decoding loop: start just after the last delimiter if any basic code + // points were copied; start at the beginning otherwise. + + for (index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) { + + // `index` is the index of the next character to be consumed. + // Decode a generalized variable-length integer into `delta`, + // which gets added to `i`. The overflow checking is easier + // if we increase `i` as we go, then subtract off its starting + // value at the end to obtain `delta`. + for (oldi = i, w = 1, k = base; /* no condition */; k += base) { + + if (index >= inputLength) { + error('invalid-input'); + } + + digit = basicToDigit(input.charCodeAt(index++)); + + if (digit >= base || digit > floor((maxInt - i) / w)) { + error('overflow'); + } + + i += digit * w; + t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias); + + if (digit < t) { + break; + } + + baseMinusT = base - t; + if (w > floor(maxInt / baseMinusT)) { + error('overflow'); + } + + w *= baseMinusT; + + } + + out = output.length + 1; + bias = adapt(i - oldi, out, oldi == 0); + + // `i` was supposed to wrap around from `out` to `0`, + // incrementing `n` each time, so we'll fix that now: + if (floor(i / out) > maxInt - n) { + error('overflow'); + } + + n += floor(i / out); + i %= out; + + // Insert `n` at position `i` of the output + output.splice(i++, 0, n); + + } + + return ucs2encode(output); + } + + /** + * Converts a string of Unicode symbols (e.g. a domain name label) to a + * Punycode string of ASCII-only symbols. + * @memberOf punycode + * @param {String} input The string of Unicode symbols. + * @returns {String} The resulting Punycode string of ASCII-only symbols. + */ + function encode(input) { + var n, + delta, + handledCPCount, + basicLength, + bias, + j, + m, + q, + k, + t, + currentValue, + output = [], + /** `inputLength` will hold the number of code points in `input`. */ + inputLength, + /** Cached calculation results */ + handledCPCountPlusOne, + baseMinusT, + qMinusT; + + // Convert the input in UCS-2 to Unicode + input = ucs2decode(input); + + // Cache the length + inputLength = input.length; + + // Initialize the state + n = initialN; + delta = 0; + bias = initialBias; + + // Handle the basic code points + for (j = 0; j < inputLength; ++j) { + currentValue = input[j]; + if (currentValue < 0x80) { + output.push(stringFromCharCode(currentValue)); + } + } + + handledCPCount = basicLength = output.length; + + // `handledCPCount` is the number of code points that have been handled; + // `basicLength` is the number of basic code points. + + // Finish the basic string - if it is not empty - with a delimiter + if (basicLength) { + output.push(delimiter); + } + + // Main encoding loop: + while (handledCPCount < inputLength) { + + // All non-basic code points < n have been handled already. Find the next + // larger one: + for (m = maxInt, j = 0; j < inputLength; ++j) { + currentValue = input[j]; + if (currentValue >= n && currentValue < m) { + m = currentValue; + } + } + + // Increase `delta` enough to advance the decoder's state to , + // but guard against overflow + handledCPCountPlusOne = handledCPCount + 1; + if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) { + error('overflow'); + } + + delta += (m - n) * handledCPCountPlusOne; + n = m; + + for (j = 0; j < inputLength; ++j) { + currentValue = input[j]; + + if (currentValue < n && ++delta > maxInt) { + error('overflow'); + } + + if (currentValue == n) { + // Represent delta as a generalized variable-length integer + for (q = delta, k = base; /* no condition */; k += base) { + t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias); + if (q < t) { + break; + } + qMinusT = q - t; + baseMinusT = base - t; + output.push( + stringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0)) + ); + q = floor(qMinusT / baseMinusT); + } + + output.push(stringFromCharCode(digitToBasic(q, 0))); + bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength); + delta = 0; + ++handledCPCount; + } + } + + ++delta; + ++n; + + } + return output.join(''); + } + + /** + * Converts a Punycode string representing a domain name or an email address + * to Unicode. Only the Punycoded parts of the input will be converted, i.e. + * it doesn't matter if you call it on a string that has already been + * converted to Unicode. + * @memberOf punycode + * @param {String} input The Punycoded domain name or email address to + * convert to Unicode. + * @returns {String} The Unicode representation of the given Punycode + * string. + */ + function toUnicode(input) { + return mapDomain(input, function(string) { + return regexPunycode.test(string) + ? decode(string.slice(4).toLowerCase()) + : string; + }); + } + + /** + * Converts a Unicode string representing a domain name or an email address to + * Punycode. Only the non-ASCII parts of the domain name will be converted, + * i.e. it doesn't matter if you call it with a domain that's already in + * ASCII. + * @memberOf punycode + * @param {String} input The domain name or email address to convert, as a + * Unicode string. + * @returns {String} The Punycode representation of the given domain name or + * email address. + */ + function toASCII(input) { + return mapDomain(input, function(string) { + return regexNonASCII.test(string) + ? 'xn--' + encode(string) + : string; + }); + } + + /*--------------------------------------------------------------------------*/ + + /** Define the public API */ + punycode = { + /** + * A string representing the current Punycode.js version number. + * @memberOf punycode + * @type String + */ + 'version': '1.4.1', + /** + * An object of methods to convert from JavaScript's internal character + * representation (UCS-2) to Unicode code points, and back. + * @see + * @memberOf punycode + * @type Object + */ + 'ucs2': { + 'decode': ucs2decode, + 'encode': ucs2encode + }, + 'decode': decode, + 'encode': encode, + 'toASCII': toASCII, + 'toUnicode': toUnicode + }; + + /** Expose `punycode` */ + // Some AMD build optimizers, like r.js, check for specific condition patterns + // like the following: + if ( + typeof define == 'function' && + typeof define.amd == 'object' && + define.amd + ) { + define('punycode', function() { + return punycode; + }); + } else if (freeExports && freeModule) { + if (module.exports == freeExports) { + // in Node.js, io.js, or RingoJS v0.8.0+ + freeModule.exports = punycode; + } else { + // in Narwhal or RingoJS v0.7.0- + for (key in punycode) { + punycode.hasOwnProperty(key) && (freeExports[key] = punycode[key]); + } + } + } else { + // in Rhino or a web browser + root.punycode = punycode; + } + +}(this)); diff --git a/packages/next/compiled/webpack/readable.js b/packages/next/compiled/webpack/readable.js new file mode 100644 index 0000000000000..ec89ec5330649 --- /dev/null +++ b/packages/next/compiled/webpack/readable.js @@ -0,0 +1,19 @@ +var Stream = require('stream'); +if (process.env.READABLE_STREAM === 'disable' && Stream) { + module.exports = Stream; + exports = module.exports = Stream.Readable; + exports.Readable = Stream.Readable; + exports.Writable = Stream.Writable; + exports.Duplex = Stream.Duplex; + exports.Transform = Stream.Transform; + exports.PassThrough = Stream.PassThrough; + exports.Stream = Stream; +} else { + exports = module.exports = require('./lib/_stream_readable.js'); + exports.Stream = Stream || exports; + exports.Readable = exports; + exports.Writable = require('./lib/_stream_writable.js'); + exports.Duplex = require('./lib/_stream_duplex.js'); + exports.Transform = require('./lib/_stream_transform.js'); + exports.PassThrough = require('./lib/_stream_passthrough.js'); +} diff --git a/packages/next/compiled/webpack/string_decoder.js b/packages/next/compiled/webpack/string_decoder.js new file mode 100644 index 0000000000000..2e89e63f7933e --- /dev/null +++ b/packages/next/compiled/webpack/string_decoder.js @@ -0,0 +1,296 @@ +// Copyright Joyent, Inc. and other Node contributors. +// +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to permit +// persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included +// in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN +// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +// USE OR OTHER DEALINGS IN THE SOFTWARE. + +'use strict'; + +/**/ + +var Buffer = require('safe-buffer').Buffer; +/**/ + +var isEncoding = Buffer.isEncoding || function (encoding) { + encoding = '' + encoding; + switch (encoding && encoding.toLowerCase()) { + case 'hex':case 'utf8':case 'utf-8':case 'ascii':case 'binary':case 'base64':case 'ucs2':case 'ucs-2':case 'utf16le':case 'utf-16le':case 'raw': + return true; + default: + return false; + } +}; + +function _normalizeEncoding(enc) { + if (!enc) return 'utf8'; + var retried; + while (true) { + switch (enc) { + case 'utf8': + case 'utf-8': + return 'utf8'; + case 'ucs2': + case 'ucs-2': + case 'utf16le': + case 'utf-16le': + return 'utf16le'; + case 'latin1': + case 'binary': + return 'latin1'; + case 'base64': + case 'ascii': + case 'hex': + return enc; + default: + if (retried) return; // undefined + enc = ('' + enc).toLowerCase(); + retried = true; + } + } +}; + +// Do not cache `Buffer.isEncoding` when checking encoding names as some +// modules monkey-patch it to support additional encodings +function normalizeEncoding(enc) { + var nenc = _normalizeEncoding(enc); + if (typeof nenc !== 'string' && (Buffer.isEncoding === isEncoding || !isEncoding(enc))) throw new Error('Unknown encoding: ' + enc); + return nenc || enc; +} + +// StringDecoder provides an interface for efficiently splitting a series of +// buffers into a series of JS strings without breaking apart multi-byte +// characters. +exports.StringDecoder = StringDecoder; +function StringDecoder(encoding) { + this.encoding = normalizeEncoding(encoding); + var nb; + switch (this.encoding) { + case 'utf16le': + this.text = utf16Text; + this.end = utf16End; + nb = 4; + break; + case 'utf8': + this.fillLast = utf8FillLast; + nb = 4; + break; + case 'base64': + this.text = base64Text; + this.end = base64End; + nb = 3; + break; + default: + this.write = simpleWrite; + this.end = simpleEnd; + return; + } + this.lastNeed = 0; + this.lastTotal = 0; + this.lastChar = Buffer.allocUnsafe(nb); +} + +StringDecoder.prototype.write = function (buf) { + if (buf.length === 0) return ''; + var r; + var i; + if (this.lastNeed) { + r = this.fillLast(buf); + if (r === undefined) return ''; + i = this.lastNeed; + this.lastNeed = 0; + } else { + i = 0; + } + if (i < buf.length) return r ? r + this.text(buf, i) : this.text(buf, i); + return r || ''; +}; + +StringDecoder.prototype.end = utf8End; + +// Returns only complete characters in a Buffer +StringDecoder.prototype.text = utf8Text; + +// Attempts to complete a partial non-UTF-8 character using bytes from a Buffer +StringDecoder.prototype.fillLast = function (buf) { + if (this.lastNeed <= buf.length) { + buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed); + return this.lastChar.toString(this.encoding, 0, this.lastTotal); + } + buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, buf.length); + this.lastNeed -= buf.length; +}; + +// Checks the type of a UTF-8 byte, whether it's ASCII, a leading byte, or a +// continuation byte. If an invalid byte is detected, -2 is returned. +function utf8CheckByte(byte) { + if (byte <= 0x7F) return 0;else if (byte >> 5 === 0x06) return 2;else if (byte >> 4 === 0x0E) return 3;else if (byte >> 3 === 0x1E) return 4; + return byte >> 6 === 0x02 ? -1 : -2; +} + +// Checks at most 3 bytes at the end of a Buffer in order to detect an +// incomplete multi-byte UTF-8 character. The total number of bytes (2, 3, or 4) +// needed to complete the UTF-8 character (if applicable) are returned. +function utf8CheckIncomplete(self, buf, i) { + var j = buf.length - 1; + if (j < i) return 0; + var nb = utf8CheckByte(buf[j]); + if (nb >= 0) { + if (nb > 0) self.lastNeed = nb - 1; + return nb; + } + if (--j < i || nb === -2) return 0; + nb = utf8CheckByte(buf[j]); + if (nb >= 0) { + if (nb > 0) self.lastNeed = nb - 2; + return nb; + } + if (--j < i || nb === -2) return 0; + nb = utf8CheckByte(buf[j]); + if (nb >= 0) { + if (nb > 0) { + if (nb === 2) nb = 0;else self.lastNeed = nb - 3; + } + return nb; + } + return 0; +} + +// Validates as many continuation bytes for a multi-byte UTF-8 character as +// needed or are available. If we see a non-continuation byte where we expect +// one, we "replace" the validated continuation bytes we've seen so far with +// a single UTF-8 replacement character ('\ufffd'), to match v8's UTF-8 decoding +// behavior. The continuation byte check is included three times in the case +// where all of the continuation bytes for a character exist in the same buffer. +// It is also done this way as a slight performance increase instead of using a +// loop. +function utf8CheckExtraBytes(self, buf, p) { + if ((buf[0] & 0xC0) !== 0x80) { + self.lastNeed = 0; + return '\ufffd'; + } + if (self.lastNeed > 1 && buf.length > 1) { + if ((buf[1] & 0xC0) !== 0x80) { + self.lastNeed = 1; + return '\ufffd'; + } + if (self.lastNeed > 2 && buf.length > 2) { + if ((buf[2] & 0xC0) !== 0x80) { + self.lastNeed = 2; + return '\ufffd'; + } + } + } +} + +// Attempts to complete a multi-byte UTF-8 character using bytes from a Buffer. +function utf8FillLast(buf) { + var p = this.lastTotal - this.lastNeed; + var r = utf8CheckExtraBytes(this, buf, p); + if (r !== undefined) return r; + if (this.lastNeed <= buf.length) { + buf.copy(this.lastChar, p, 0, this.lastNeed); + return this.lastChar.toString(this.encoding, 0, this.lastTotal); + } + buf.copy(this.lastChar, p, 0, buf.length); + this.lastNeed -= buf.length; +} + +// Returns all complete UTF-8 characters in a Buffer. If the Buffer ended on a +// partial character, the character's bytes are buffered until the required +// number of bytes are available. +function utf8Text(buf, i) { + var total = utf8CheckIncomplete(this, buf, i); + if (!this.lastNeed) return buf.toString('utf8', i); + this.lastTotal = total; + var end = buf.length - (total - this.lastNeed); + buf.copy(this.lastChar, 0, end); + return buf.toString('utf8', i, end); +} + +// For UTF-8, a replacement character is added when ending on a partial +// character. +function utf8End(buf) { + var r = buf && buf.length ? this.write(buf) : ''; + if (this.lastNeed) return r + '\ufffd'; + return r; +} + +// UTF-16LE typically needs two bytes per character, but even if we have an even +// number of bytes available, we need to check if we end on a leading/high +// surrogate. In that case, we need to wait for the next two bytes in order to +// decode the last character properly. +function utf16Text(buf, i) { + if ((buf.length - i) % 2 === 0) { + var r = buf.toString('utf16le', i); + if (r) { + var c = r.charCodeAt(r.length - 1); + if (c >= 0xD800 && c <= 0xDBFF) { + this.lastNeed = 2; + this.lastTotal = 4; + this.lastChar[0] = buf[buf.length - 2]; + this.lastChar[1] = buf[buf.length - 1]; + return r.slice(0, -1); + } + } + return r; + } + this.lastNeed = 1; + this.lastTotal = 2; + this.lastChar[0] = buf[buf.length - 1]; + return buf.toString('utf16le', i, buf.length - 1); +} + +// For UTF-16LE we do not explicitly append special replacement characters if we +// end on a partial character, we simply let v8 handle that. +function utf16End(buf) { + var r = buf && buf.length ? this.write(buf) : ''; + if (this.lastNeed) { + var end = this.lastTotal - this.lastNeed; + return r + this.lastChar.toString('utf16le', 0, end); + } + return r; +} + +function base64Text(buf, i) { + var n = (buf.length - i) % 3; + if (n === 0) return buf.toString('base64', i); + this.lastNeed = 3 - n; + this.lastTotal = 3; + if (n === 1) { + this.lastChar[0] = buf[buf.length - 1]; + } else { + this.lastChar[0] = buf[buf.length - 2]; + this.lastChar[1] = buf[buf.length - 1]; + } + return buf.toString('base64', i, buf.length - n); +} + +function base64End(buf) { + var r = buf && buf.length ? this.write(buf) : ''; + if (this.lastNeed) return r + this.lastChar.toString('base64', 0, 3 - this.lastNeed); + return r; +} + +// Pass bytes on through for single-byte encodings (e.g. ascii, latin1, hex) +function simpleWrite(buf) { + return buf.toString(this.encoding); +} + +function simpleEnd(buf) { + return buf && buf.length ? this.write(buf) : ''; +} \ No newline at end of file diff --git a/packages/next/compiled/webpack/system.js b/packages/next/compiled/webpack/system.js new file mode 100644 index 0000000000000..9ba70a3841693 --- /dev/null +++ b/packages/next/compiled/webpack/system.js @@ -0,0 +1,7 @@ +// Provide a "System" global. +module.exports = { + // Make sure import is only used as "System.import" + import: function() { + throw new Error("System.import cannot be used indirectly"); + } +}; diff --git a/packages/next/compiled/webpack/transform.js b/packages/next/compiled/webpack/transform.js new file mode 100644 index 0000000000000..b1baba26da03d --- /dev/null +++ b/packages/next/compiled/webpack/transform.js @@ -0,0 +1 @@ +module.exports = require('./readable').Transform diff --git a/packages/next/compiled/webpack/url.js b/packages/next/compiled/webpack/url.js new file mode 100644 index 0000000000000..23ac6f5dbd860 --- /dev/null +++ b/packages/next/compiled/webpack/url.js @@ -0,0 +1,732 @@ +// Copyright Joyent, Inc. and other Node contributors. +// +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to permit +// persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included +// in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN +// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +// USE OR OTHER DEALINGS IN THE SOFTWARE. + +'use strict'; + +var punycode = require('punycode'); +var util = require('./util'); + +exports.parse = urlParse; +exports.resolve = urlResolve; +exports.resolveObject = urlResolveObject; +exports.format = urlFormat; + +exports.Url = Url; + +function Url() { + this.protocol = null; + this.slashes = null; + this.auth = null; + this.host = null; + this.port = null; + this.hostname = null; + this.hash = null; + this.search = null; + this.query = null; + this.pathname = null; + this.path = null; + this.href = null; +} + +// Reference: RFC 3986, RFC 1808, RFC 2396 + +// define these here so at least they only have to be +// compiled once on the first module load. +var protocolPattern = /^([a-z0-9.+-]+:)/i, + portPattern = /:[0-9]*$/, + + // Special case for a simple path URL + simplePathPattern = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, + + // RFC 2396: characters reserved for delimiting URLs. + // We actually just auto-escape these. + delims = ['<', '>', '"', '`', ' ', '\r', '\n', '\t'], + + // RFC 2396: characters not allowed for various reasons. + unwise = ['{', '}', '|', '\\', '^', '`'].concat(delims), + + // Allowed by RFCs, but cause of XSS attacks. Always escape these. + autoEscape = ['\''].concat(unwise), + // Characters that are never ever allowed in a hostname. + // Note that any invalid chars are also handled, but these + // are the ones that are *expected* to be seen, so we fast-path + // them. + nonHostChars = ['%', '/', '?', ';', '#'].concat(autoEscape), + hostEndingChars = ['/', '?', '#'], + hostnameMaxLen = 255, + hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/, + hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, + // protocols that can allow "unsafe" and "unwise" chars. + unsafeProtocol = { + 'javascript': true, + 'javascript:': true + }, + // protocols that never have a hostname. + hostlessProtocol = { + 'javascript': true, + 'javascript:': true + }, + // protocols that always contain a // bit. + slashedProtocol = { + 'http': true, + 'https': true, + 'ftp': true, + 'gopher': true, + 'file': true, + 'http:': true, + 'https:': true, + 'ftp:': true, + 'gopher:': true, + 'file:': true + }, + querystring = require('querystring'); + +function urlParse(url, parseQueryString, slashesDenoteHost) { + if (url && util.isObject(url) && url instanceof Url) return url; + + var u = new Url; + u.parse(url, parseQueryString, slashesDenoteHost); + return u; +} + +Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) { + if (!util.isString(url)) { + throw new TypeError("Parameter 'url' must be a string, not " + typeof url); + } + + // Copy chrome, IE, opera backslash-handling behavior. + // Back slashes before the query string get converted to forward slashes + // See: https://code.google.com/p/chromium/issues/detail?id=25916 + var queryIndex = url.indexOf('?'), + splitter = + (queryIndex !== -1 && queryIndex < url.indexOf('#')) ? '?' : '#', + uSplit = url.split(splitter), + slashRegex = /\\/g; + uSplit[0] = uSplit[0].replace(slashRegex, '/'); + url = uSplit.join(splitter); + + var rest = url; + + // trim before proceeding. + // This is to support parse stuff like " http://foo.com \n" + rest = rest.trim(); + + if (!slashesDenoteHost && url.split('#').length === 1) { + // Try fast path regexp + var simplePath = simplePathPattern.exec(rest); + if (simplePath) { + this.path = rest; + this.href = rest; + this.pathname = simplePath[1]; + if (simplePath[2]) { + this.search = simplePath[2]; + if (parseQueryString) { + this.query = querystring.parse(this.search.substr(1)); + } else { + this.query = this.search.substr(1); + } + } else if (parseQueryString) { + this.search = ''; + this.query = {}; + } + return this; + } + } + + var proto = protocolPattern.exec(rest); + if (proto) { + proto = proto[0]; + var lowerProto = proto.toLowerCase(); + this.protocol = lowerProto; + rest = rest.substr(proto.length); + } + + // figure out if it's got a host + // user@server is *always* interpreted as a hostname, and url + // resolution will treat //foo/bar as host=foo,path=bar because that's + // how the browser resolves relative URLs. + if (slashesDenoteHost || proto || rest.match(/^\/\/[^@\/]+@[^@\/]+/)) { + var slashes = rest.substr(0, 2) === '//'; + if (slashes && !(proto && hostlessProtocol[proto])) { + rest = rest.substr(2); + this.slashes = true; + } + } + + if (!hostlessProtocol[proto] && + (slashes || (proto && !slashedProtocol[proto]))) { + + // there's a hostname. + // the first instance of /, ?, ;, or # ends the host. + // + // If there is an @ in the hostname, then non-host chars *are* allowed + // to the left of the last @ sign, unless some host-ending character + // comes *before* the @-sign. + // URLs are obnoxious. + // + // ex: + // http://a@b@c/ => user:a@b host:c + // http://a@b?@c => user:a host:c path:/?@c + + // v0.12 TODO(isaacs): This is not quite how Chrome does things. + // Review our test case against browsers more comprehensively. + + // find the first instance of any hostEndingChars + var hostEnd = -1; + for (var i = 0; i < hostEndingChars.length; i++) { + var hec = rest.indexOf(hostEndingChars[i]); + if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) + hostEnd = hec; + } + + // at this point, either we have an explicit point where the + // auth portion cannot go past, or the last @ char is the decider. + var auth, atSign; + if (hostEnd === -1) { + // atSign can be anywhere. + atSign = rest.lastIndexOf('@'); + } else { + // atSign must be in auth portion. + // http://a@b/c@d => host:b auth:a path:/c@d + atSign = rest.lastIndexOf('@', hostEnd); + } + + // Now we have a portion which is definitely the auth. + // Pull that off. + if (atSign !== -1) { + auth = rest.slice(0, atSign); + rest = rest.slice(atSign + 1); + this.auth = decodeURIComponent(auth); + } + + // the host is the remaining to the left of the first non-host char + hostEnd = -1; + for (var i = 0; i < nonHostChars.length; i++) { + var hec = rest.indexOf(nonHostChars[i]); + if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) + hostEnd = hec; + } + // if we still have not hit it, then the entire thing is a host. + if (hostEnd === -1) + hostEnd = rest.length; + + this.host = rest.slice(0, hostEnd); + rest = rest.slice(hostEnd); + + // pull out port. + this.parseHost(); + + // we've indicated that there is a hostname, + // so even if it's empty, it has to be present. + this.hostname = this.hostname || ''; + + // if hostname begins with [ and ends with ] + // assume that it's an IPv6 address. + var ipv6Hostname = this.hostname[0] === '[' && + this.hostname[this.hostname.length - 1] === ']'; + + // validate a little. + if (!ipv6Hostname) { + var hostparts = this.hostname.split(/\./); + for (var i = 0, l = hostparts.length; i < l; i++) { + var part = hostparts[i]; + if (!part) continue; + if (!part.match(hostnamePartPattern)) { + var newpart = ''; + for (var j = 0, k = part.length; j < k; j++) { + if (part.charCodeAt(j) > 127) { + // we replace non-ASCII char with a temporary placeholder + // we need this to make sure size of hostname is not + // broken by replacing non-ASCII by nothing + newpart += 'x'; + } else { + newpart += part[j]; + } + } + // we test again with ASCII char only + if (!newpart.match(hostnamePartPattern)) { + var validParts = hostparts.slice(0, i); + var notHost = hostparts.slice(i + 1); + var bit = part.match(hostnamePartStart); + if (bit) { + validParts.push(bit[1]); + notHost.unshift(bit[2]); + } + if (notHost.length) { + rest = '/' + notHost.join('.') + rest; + } + this.hostname = validParts.join('.'); + break; + } + } + } + } + + if (this.hostname.length > hostnameMaxLen) { + this.hostname = ''; + } else { + // hostnames are always lower case. + this.hostname = this.hostname.toLowerCase(); + } + + if (!ipv6Hostname) { + // IDNA Support: Returns a punycoded representation of "domain". + // It only converts parts of the domain name that + // have non-ASCII characters, i.e. it doesn't matter if + // you call it with a domain that already is ASCII-only. + this.hostname = punycode.toASCII(this.hostname); + } + + var p = this.port ? ':' + this.port : ''; + var h = this.hostname || ''; + this.host = h + p; + this.href += this.host; + + // strip [ and ] from the hostname + // the host field still retains them, though + if (ipv6Hostname) { + this.hostname = this.hostname.substr(1, this.hostname.length - 2); + if (rest[0] !== '/') { + rest = '/' + rest; + } + } + } + + // now rest is set to the post-host stuff. + // chop off any delim chars. + if (!unsafeProtocol[lowerProto]) { + + // First, make 100% sure that any "autoEscape" chars get + // escaped, even if encodeURIComponent doesn't think they + // need to be. + for (var i = 0, l = autoEscape.length; i < l; i++) { + var ae = autoEscape[i]; + if (rest.indexOf(ae) === -1) + continue; + var esc = encodeURIComponent(ae); + if (esc === ae) { + esc = escape(ae); + } + rest = rest.split(ae).join(esc); + } + } + + + // chop off from the tail first. + var hash = rest.indexOf('#'); + if (hash !== -1) { + // got a fragment string. + this.hash = rest.substr(hash); + rest = rest.slice(0, hash); + } + var qm = rest.indexOf('?'); + if (qm !== -1) { + this.search = rest.substr(qm); + this.query = rest.substr(qm + 1); + if (parseQueryString) { + this.query = querystring.parse(this.query); + } + rest = rest.slice(0, qm); + } else if (parseQueryString) { + // no query string, but parseQueryString still requested + this.search = ''; + this.query = {}; + } + if (rest) this.pathname = rest; + if (slashedProtocol[lowerProto] && + this.hostname && !this.pathname) { + this.pathname = '/'; + } + + //to support http.request + if (this.pathname || this.search) { + var p = this.pathname || ''; + var s = this.search || ''; + this.path = p + s; + } + + // finally, reconstruct the href based on what has been validated. + this.href = this.format(); + return this; +}; + +// format a parsed object into a url string +function urlFormat(obj) { + // ensure it's an object, and not a string url. + // If it's an obj, this is a no-op. + // this way, you can call url_format() on strings + // to clean up potentially wonky urls. + if (util.isString(obj)) obj = urlParse(obj); + if (!(obj instanceof Url)) return Url.prototype.format.call(obj); + return obj.format(); +} + +Url.prototype.format = function() { + var auth = this.auth || ''; + if (auth) { + auth = encodeURIComponent(auth); + auth = auth.replace(/%3A/i, ':'); + auth += '@'; + } + + var protocol = this.protocol || '', + pathname = this.pathname || '', + hash = this.hash || '', + host = false, + query = ''; + + if (this.host) { + host = auth + this.host; + } else if (this.hostname) { + host = auth + (this.hostname.indexOf(':') === -1 ? + this.hostname : + '[' + this.hostname + ']'); + if (this.port) { + host += ':' + this.port; + } + } + + if (this.query && + util.isObject(this.query) && + Object.keys(this.query).length) { + query = querystring.stringify(this.query); + } + + var search = this.search || (query && ('?' + query)) || ''; + + if (protocol && protocol.substr(-1) !== ':') protocol += ':'; + + // only the slashedProtocols get the //. Not mailto:, xmpp:, etc. + // unless they had them to begin with. + if (this.slashes || + (!protocol || slashedProtocol[protocol]) && host !== false) { + host = '//' + (host || ''); + if (pathname && pathname.charAt(0) !== '/') pathname = '/' + pathname; + } else if (!host) { + host = ''; + } + + if (hash && hash.charAt(0) !== '#') hash = '#' + hash; + if (search && search.charAt(0) !== '?') search = '?' + search; + + pathname = pathname.replace(/[?#]/g, function(match) { + return encodeURIComponent(match); + }); + search = search.replace('#', '%23'); + + return protocol + host + pathname + search + hash; +}; + +function urlResolve(source, relative) { + return urlParse(source, false, true).resolve(relative); +} + +Url.prototype.resolve = function(relative) { + return this.resolveObject(urlParse(relative, false, true)).format(); +}; + +function urlResolveObject(source, relative) { + if (!source) return relative; + return urlParse(source, false, true).resolveObject(relative); +} + +Url.prototype.resolveObject = function(relative) { + if (util.isString(relative)) { + var rel = new Url(); + rel.parse(relative, false, true); + relative = rel; + } + + var result = new Url(); + var tkeys = Object.keys(this); + for (var tk = 0; tk < tkeys.length; tk++) { + var tkey = tkeys[tk]; + result[tkey] = this[tkey]; + } + + // hash is always overridden, no matter what. + // even href="" will remove it. + result.hash = relative.hash; + + // if the relative url is empty, then there's nothing left to do here. + if (relative.href === '') { + result.href = result.format(); + return result; + } + + // hrefs like //foo/bar always cut to the protocol. + if (relative.slashes && !relative.protocol) { + // take everything except the protocol from relative + var rkeys = Object.keys(relative); + for (var rk = 0; rk < rkeys.length; rk++) { + var rkey = rkeys[rk]; + if (rkey !== 'protocol') + result[rkey] = relative[rkey]; + } + + //urlParse appends trailing / to urls like http://www.example.com + if (slashedProtocol[result.protocol] && + result.hostname && !result.pathname) { + result.path = result.pathname = '/'; + } + + result.href = result.format(); + return result; + } + + if (relative.protocol && relative.protocol !== result.protocol) { + // if it's a known url protocol, then changing + // the protocol does weird things + // first, if it's not file:, then we MUST have a host, + // and if there was a path + // to begin with, then we MUST have a path. + // if it is file:, then the host is dropped, + // because that's known to be hostless. + // anything else is assumed to be absolute. + if (!slashedProtocol[relative.protocol]) { + var keys = Object.keys(relative); + for (var v = 0; v < keys.length; v++) { + var k = keys[v]; + result[k] = relative[k]; + } + result.href = result.format(); + return result; + } + + result.protocol = relative.protocol; + if (!relative.host && !hostlessProtocol[relative.protocol]) { + var relPath = (relative.pathname || '').split('/'); + while (relPath.length && !(relative.host = relPath.shift())); + if (!relative.host) relative.host = ''; + if (!relative.hostname) relative.hostname = ''; + if (relPath[0] !== '') relPath.unshift(''); + if (relPath.length < 2) relPath.unshift(''); + result.pathname = relPath.join('/'); + } else { + result.pathname = relative.pathname; + } + result.search = relative.search; + result.query = relative.query; + result.host = relative.host || ''; + result.auth = relative.auth; + result.hostname = relative.hostname || relative.host; + result.port = relative.port; + // to support http.request + if (result.pathname || result.search) { + var p = result.pathname || ''; + var s = result.search || ''; + result.path = p + s; + } + result.slashes = result.slashes || relative.slashes; + result.href = result.format(); + return result; + } + + var isSourceAbs = (result.pathname && result.pathname.charAt(0) === '/'), + isRelAbs = ( + relative.host || + relative.pathname && relative.pathname.charAt(0) === '/' + ), + mustEndAbs = (isRelAbs || isSourceAbs || + (result.host && relative.pathname)), + removeAllDots = mustEndAbs, + srcPath = result.pathname && result.pathname.split('/') || [], + relPath = relative.pathname && relative.pathname.split('/') || [], + psychotic = result.protocol && !slashedProtocol[result.protocol]; + + // if the url is a non-slashed url, then relative + // links like ../.. should be able + // to crawl up to the hostname, as well. This is strange. + // result.protocol has already been set by now. + // Later on, put the first path part into the host field. + if (psychotic) { + result.hostname = ''; + result.port = null; + if (result.host) { + if (srcPath[0] === '') srcPath[0] = result.host; + else srcPath.unshift(result.host); + } + result.host = ''; + if (relative.protocol) { + relative.hostname = null; + relative.port = null; + if (relative.host) { + if (relPath[0] === '') relPath[0] = relative.host; + else relPath.unshift(relative.host); + } + relative.host = null; + } + mustEndAbs = mustEndAbs && (relPath[0] === '' || srcPath[0] === ''); + } + + if (isRelAbs) { + // it's absolute. + result.host = (relative.host || relative.host === '') ? + relative.host : result.host; + result.hostname = (relative.hostname || relative.hostname === '') ? + relative.hostname : result.hostname; + result.search = relative.search; + result.query = relative.query; + srcPath = relPath; + // fall through to the dot-handling below. + } else if (relPath.length) { + // it's relative + // throw away the existing file, and take the new path instead. + if (!srcPath) srcPath = []; + srcPath.pop(); + srcPath = srcPath.concat(relPath); + result.search = relative.search; + result.query = relative.query; + } else if (!util.isNullOrUndefined(relative.search)) { + // just pull out the search. + // like href='?foo'. + // Put this after the other two cases because it simplifies the booleans + if (psychotic) { + result.hostname = result.host = srcPath.shift(); + //occationaly the auth can get stuck only in host + //this especially happens in cases like + //url.resolveObject('mailto:local1@domain1', 'local2@domain2') + var authInHost = result.host && result.host.indexOf('@') > 0 ? + result.host.split('@') : false; + if (authInHost) { + result.auth = authInHost.shift(); + result.host = result.hostname = authInHost.shift(); + } + } + result.search = relative.search; + result.query = relative.query; + //to support http.request + if (!util.isNull(result.pathname) || !util.isNull(result.search)) { + result.path = (result.pathname ? result.pathname : '') + + (result.search ? result.search : ''); + } + result.href = result.format(); + return result; + } + + if (!srcPath.length) { + // no path at all. easy. + // we've already handled the other stuff above. + result.pathname = null; + //to support http.request + if (result.search) { + result.path = '/' + result.search; + } else { + result.path = null; + } + result.href = result.format(); + return result; + } + + // if a url ENDs in . or .., then it must get a trailing slash. + // however, if it ends in anything else non-slashy, + // then it must NOT get a trailing slash. + var last = srcPath.slice(-1)[0]; + var hasTrailingSlash = ( + (result.host || relative.host || srcPath.length > 1) && + (last === '.' || last === '..') || last === ''); + + // strip single dots, resolve double dots to parent dir + // if the path tries to go above the root, `up` ends up > 0 + var up = 0; + for (var i = srcPath.length; i >= 0; i--) { + last = srcPath[i]; + if (last === '.') { + srcPath.splice(i, 1); + } else if (last === '..') { + srcPath.splice(i, 1); + up++; + } else if (up) { + srcPath.splice(i, 1); + up--; + } + } + + // if the path is allowed to go above the root, restore leading ..s + if (!mustEndAbs && !removeAllDots) { + for (; up--; up) { + srcPath.unshift('..'); + } + } + + if (mustEndAbs && srcPath[0] !== '' && + (!srcPath[0] || srcPath[0].charAt(0) !== '/')) { + srcPath.unshift(''); + } + + if (hasTrailingSlash && (srcPath.join('/').substr(-1) !== '/')) { + srcPath.push(''); + } + + var isAbsolute = srcPath[0] === '' || + (srcPath[0] && srcPath[0].charAt(0) === '/'); + + // put the host back + if (psychotic) { + result.hostname = result.host = isAbsolute ? '' : + srcPath.length ? srcPath.shift() : ''; + //occationaly the auth can get stuck only in host + //this especially happens in cases like + //url.resolveObject('mailto:local1@domain1', 'local2@domain2') + var authInHost = result.host && result.host.indexOf('@') > 0 ? + result.host.split('@') : false; + if (authInHost) { + result.auth = authInHost.shift(); + result.host = result.hostname = authInHost.shift(); + } + } + + mustEndAbs = mustEndAbs || (result.host && srcPath.length); + + if (mustEndAbs && !isAbsolute) { + srcPath.unshift(''); + } + + if (!srcPath.length) { + result.pathname = null; + result.path = null; + } else { + result.pathname = srcPath.join('/'); + } + + //to support request.http + if (!util.isNull(result.pathname) || !util.isNull(result.search)) { + result.path = (result.pathname ? result.pathname : '') + + (result.search ? result.search : ''); + } + result.auth = relative.auth || result.auth; + result.slashes = result.slashes || relative.slashes; + result.href = result.format(); + return result; +}; + +Url.prototype.parseHost = function() { + var host = this.host; + var port = portPattern.exec(host); + if (port) { + port = port[0]; + if (port !== ':') { + this.port = port.substr(1); + } + host = host.substr(0, host.length - port.length); + } + if (host) this.hostname = host; +}; diff --git a/packages/next/compiled/webpack/util.js b/packages/next/compiled/webpack/util.js new file mode 100644 index 0000000000000..4f25671a29c91 --- /dev/null +++ b/packages/next/compiled/webpack/util.js @@ -0,0 +1,703 @@ +// Copyright Joyent, Inc. and other Node contributors. +// +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to permit +// persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included +// in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN +// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +// USE OR OTHER DEALINGS IN THE SOFTWARE. + +var getOwnPropertyDescriptors = Object.getOwnPropertyDescriptors || + function getOwnPropertyDescriptors(obj) { + var keys = Object.keys(obj); + var descriptors = {}; + for (var i = 0; i < keys.length; i++) { + descriptors[keys[i]] = Object.getOwnPropertyDescriptor(obj, keys[i]); + } + return descriptors; + }; + +var formatRegExp = /%[sdj%]/g; +exports.format = function(f) { + if (!isString(f)) { + var objects = []; + for (var i = 0; i < arguments.length; i++) { + objects.push(inspect(arguments[i])); + } + return objects.join(' '); + } + + var i = 1; + var args = arguments; + var len = args.length; + var str = String(f).replace(formatRegExp, function(x) { + if (x === '%%') return '%'; + if (i >= len) return x; + switch (x) { + case '%s': return String(args[i++]); + case '%d': return Number(args[i++]); + case '%j': + try { + return JSON.stringify(args[i++]); + } catch (_) { + return '[Circular]'; + } + default: + return x; + } + }); + for (var x = args[i]; i < len; x = args[++i]) { + if (isNull(x) || !isObject(x)) { + str += ' ' + x; + } else { + str += ' ' + inspect(x); + } + } + return str; +}; + + +// Mark that a method should not be used. +// Returns a modified function which warns once by default. +// If --no-deprecation is set, then it is a no-op. +exports.deprecate = function(fn, msg) { + if (typeof process !== 'undefined' && process.noDeprecation === true) { + return fn; + } + + // Allow for deprecating things in the process of starting up. + if (typeof process === 'undefined') { + return function() { + return exports.deprecate(fn, msg).apply(this, arguments); + }; + } + + var warned = false; + function deprecated() { + if (!warned) { + if (process.throwDeprecation) { + throw new Error(msg); + } else if (process.traceDeprecation) { + console.trace(msg); + } else { + console.error(msg); + } + warned = true; + } + return fn.apply(this, arguments); + } + + return deprecated; +}; + + +var debugs = {}; +var debugEnviron; +exports.debuglog = function(set) { + if (isUndefined(debugEnviron)) + debugEnviron = process.env.NODE_DEBUG || ''; + set = set.toUpperCase(); + if (!debugs[set]) { + if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) { + var pid = process.pid; + debugs[set] = function() { + var msg = exports.format.apply(exports, arguments); + console.error('%s %d: %s', set, pid, msg); + }; + } else { + debugs[set] = function() {}; + } + } + return debugs[set]; +}; + + +/** + * Echos the value of a value. Trys to print the value out + * in the best way possible given the different types. + * + * @param {Object} obj The object to print out. + * @param {Object} opts Optional options object that alters the output. + */ +/* legacy: obj, showHidden, depth, colors*/ +function inspect(obj, opts) { + // default options + var ctx = { + seen: [], + stylize: stylizeNoColor + }; + // legacy... + if (arguments.length >= 3) ctx.depth = arguments[2]; + if (arguments.length >= 4) ctx.colors = arguments[3]; + if (isBoolean(opts)) { + // legacy... + ctx.showHidden = opts; + } else if (opts) { + // got an "options" object + exports._extend(ctx, opts); + } + // set default options + if (isUndefined(ctx.showHidden)) ctx.showHidden = false; + if (isUndefined(ctx.depth)) ctx.depth = 2; + if (isUndefined(ctx.colors)) ctx.colors = false; + if (isUndefined(ctx.customInspect)) ctx.customInspect = true; + if (ctx.colors) ctx.stylize = stylizeWithColor; + return formatValue(ctx, obj, ctx.depth); +} +exports.inspect = inspect; + + +// http://en.wikipedia.org/wiki/ANSI_escape_code#graphics +inspect.colors = { + 'bold' : [1, 22], + 'italic' : [3, 23], + 'underline' : [4, 24], + 'inverse' : [7, 27], + 'white' : [37, 39], + 'grey' : [90, 39], + 'black' : [30, 39], + 'blue' : [34, 39], + 'cyan' : [36, 39], + 'green' : [32, 39], + 'magenta' : [35, 39], + 'red' : [31, 39], + 'yellow' : [33, 39] +}; + +// Don't use 'blue' not visible on cmd.exe +inspect.styles = { + 'special': 'cyan', + 'number': 'yellow', + 'boolean': 'yellow', + 'undefined': 'grey', + 'null': 'bold', + 'string': 'green', + 'date': 'magenta', + // "name": intentionally not styling + 'regexp': 'red' +}; + + +function stylizeWithColor(str, styleType) { + var style = inspect.styles[styleType]; + + if (style) { + return '\u001b[' + inspect.colors[style][0] + 'm' + str + + '\u001b[' + inspect.colors[style][1] + 'm'; + } else { + return str; + } +} + + +function stylizeNoColor(str, styleType) { + return str; +} + + +function arrayToHash(array) { + var hash = {}; + + array.forEach(function(val, idx) { + hash[val] = true; + }); + + return hash; +} + + +function formatValue(ctx, value, recurseTimes) { + // Provide a hook for user-specified inspect functions. + // Check that value is an object with an inspect function on it + if (ctx.customInspect && + value && + isFunction(value.inspect) && + // Filter out the util module, it's inspect function is special + value.inspect !== exports.inspect && + // Also filter out any prototype objects using the circular check. + !(value.constructor && value.constructor.prototype === value)) { + var ret = value.inspect(recurseTimes, ctx); + if (!isString(ret)) { + ret = formatValue(ctx, ret, recurseTimes); + } + return ret; + } + + // Primitive types cannot have properties + var primitive = formatPrimitive(ctx, value); + if (primitive) { + return primitive; + } + + // Look up the keys of the object. + var keys = Object.keys(value); + var visibleKeys = arrayToHash(keys); + + if (ctx.showHidden) { + keys = Object.getOwnPropertyNames(value); + } + + // IE doesn't make error fields non-enumerable + // http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx + if (isError(value) + && (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) { + return formatError(value); + } + + // Some type of object without properties can be shortcutted. + if (keys.length === 0) { + if (isFunction(value)) { + var name = value.name ? ': ' + value.name : ''; + return ctx.stylize('[Function' + name + ']', 'special'); + } + if (isRegExp(value)) { + return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp'); + } + if (isDate(value)) { + return ctx.stylize(Date.prototype.toString.call(value), 'date'); + } + if (isError(value)) { + return formatError(value); + } + } + + var base = '', array = false, braces = ['{', '}']; + + // Make Array say that they are Array + if (isArray(value)) { + array = true; + braces = ['[', ']']; + } + + // Make functions say that they are functions + if (isFunction(value)) { + var n = value.name ? ': ' + value.name : ''; + base = ' [Function' + n + ']'; + } + + // Make RegExps say that they are RegExps + if (isRegExp(value)) { + base = ' ' + RegExp.prototype.toString.call(value); + } + + // Make dates with properties first say the date + if (isDate(value)) { + base = ' ' + Date.prototype.toUTCString.call(value); + } + + // Make error with message first say the error + if (isError(value)) { + base = ' ' + formatError(value); + } + + if (keys.length === 0 && (!array || value.length == 0)) { + return braces[0] + base + braces[1]; + } + + if (recurseTimes < 0) { + if (isRegExp(value)) { + return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp'); + } else { + return ctx.stylize('[Object]', 'special'); + } + } + + ctx.seen.push(value); + + var output; + if (array) { + output = formatArray(ctx, value, recurseTimes, visibleKeys, keys); + } else { + output = keys.map(function(key) { + return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array); + }); + } + + ctx.seen.pop(); + + return reduceToSingleString(output, base, braces); +} + + +function formatPrimitive(ctx, value) { + if (isUndefined(value)) + return ctx.stylize('undefined', 'undefined'); + if (isString(value)) { + var simple = '\'' + JSON.stringify(value).replace(/^"|"$/g, '') + .replace(/'/g, "\\'") + .replace(/\\"/g, '"') + '\''; + return ctx.stylize(simple, 'string'); + } + if (isNumber(value)) + return ctx.stylize('' + value, 'number'); + if (isBoolean(value)) + return ctx.stylize('' + value, 'boolean'); + // For some reason typeof null is "object", so special case here. + if (isNull(value)) + return ctx.stylize('null', 'null'); +} + + +function formatError(value) { + return '[' + Error.prototype.toString.call(value) + ']'; +} + + +function formatArray(ctx, value, recurseTimes, visibleKeys, keys) { + var output = []; + for (var i = 0, l = value.length; i < l; ++i) { + if (hasOwnProperty(value, String(i))) { + output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, + String(i), true)); + } else { + output.push(''); + } + } + keys.forEach(function(key) { + if (!key.match(/^\d+$/)) { + output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, + key, true)); + } + }); + return output; +} + + +function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) { + var name, str, desc; + desc = Object.getOwnPropertyDescriptor(value, key) || { value: value[key] }; + if (desc.get) { + if (desc.set) { + str = ctx.stylize('[Getter/Setter]', 'special'); + } else { + str = ctx.stylize('[Getter]', 'special'); + } + } else { + if (desc.set) { + str = ctx.stylize('[Setter]', 'special'); + } + } + if (!hasOwnProperty(visibleKeys, key)) { + name = '[' + key + ']'; + } + if (!str) { + if (ctx.seen.indexOf(desc.value) < 0) { + if (isNull(recurseTimes)) { + str = formatValue(ctx, desc.value, null); + } else { + str = formatValue(ctx, desc.value, recurseTimes - 1); + } + if (str.indexOf('\n') > -1) { + if (array) { + str = str.split('\n').map(function(line) { + return ' ' + line; + }).join('\n').substr(2); + } else { + str = '\n' + str.split('\n').map(function(line) { + return ' ' + line; + }).join('\n'); + } + } + } else { + str = ctx.stylize('[Circular]', 'special'); + } + } + if (isUndefined(name)) { + if (array && key.match(/^\d+$/)) { + return str; + } + name = JSON.stringify('' + key); + if (name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) { + name = name.substr(1, name.length - 2); + name = ctx.stylize(name, 'name'); + } else { + name = name.replace(/'/g, "\\'") + .replace(/\\"/g, '"') + .replace(/(^"|"$)/g, "'"); + name = ctx.stylize(name, 'string'); + } + } + + return name + ': ' + str; +} + + +function reduceToSingleString(output, base, braces) { + var numLinesEst = 0; + var length = output.reduce(function(prev, cur) { + numLinesEst++; + if (cur.indexOf('\n') >= 0) numLinesEst++; + return prev + cur.replace(/\u001b\[\d\d?m/g, '').length + 1; + }, 0); + + if (length > 60) { + return braces[0] + + (base === '' ? '' : base + '\n ') + + ' ' + + output.join(',\n ') + + ' ' + + braces[1]; + } + + return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1]; +} + + +// NOTE: These type checking functions intentionally don't use `instanceof` +// because it is fragile and can be easily faked with `Object.create()`. +function isArray(ar) { + return Array.isArray(ar); +} +exports.isArray = isArray; + +function isBoolean(arg) { + return typeof arg === 'boolean'; +} +exports.isBoolean = isBoolean; + +function isNull(arg) { + return arg === null; +} +exports.isNull = isNull; + +function isNullOrUndefined(arg) { + return arg == null; +} +exports.isNullOrUndefined = isNullOrUndefined; + +function isNumber(arg) { + return typeof arg === 'number'; +} +exports.isNumber = isNumber; + +function isString(arg) { + return typeof arg === 'string'; +} +exports.isString = isString; + +function isSymbol(arg) { + return typeof arg === 'symbol'; +} +exports.isSymbol = isSymbol; + +function isUndefined(arg) { + return arg === void 0; +} +exports.isUndefined = isUndefined; + +function isRegExp(re) { + return isObject(re) && objectToString(re) === '[object RegExp]'; +} +exports.isRegExp = isRegExp; + +function isObject(arg) { + return typeof arg === 'object' && arg !== null; +} +exports.isObject = isObject; + +function isDate(d) { + return isObject(d) && objectToString(d) === '[object Date]'; +} +exports.isDate = isDate; + +function isError(e) { + return isObject(e) && + (objectToString(e) === '[object Error]' || e instanceof Error); +} +exports.isError = isError; + +function isFunction(arg) { + return typeof arg === 'function'; +} +exports.isFunction = isFunction; + +function isPrimitive(arg) { + return arg === null || + typeof arg === 'boolean' || + typeof arg === 'number' || + typeof arg === 'string' || + typeof arg === 'symbol' || // ES6 symbol + typeof arg === 'undefined'; +} +exports.isPrimitive = isPrimitive; + +exports.isBuffer = require('./support/isBuffer'); + +function objectToString(o) { + return Object.prototype.toString.call(o); +} + + +function pad(n) { + return n < 10 ? '0' + n.toString(10) : n.toString(10); +} + + +var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', + 'Oct', 'Nov', 'Dec']; + +// 26 Feb 16:19:34 +function timestamp() { + var d = new Date(); + var time = [pad(d.getHours()), + pad(d.getMinutes()), + pad(d.getSeconds())].join(':'); + return [d.getDate(), months[d.getMonth()], time].join(' '); +} + + +// log is just a thin wrapper to console.log that prepends a timestamp +exports.log = function() { + console.log('%s - %s', timestamp(), exports.format.apply(exports, arguments)); +}; + + +/** + * Inherit the prototype methods from one constructor into another. + * + * The Function.prototype.inherits from lang.js rewritten as a standalone + * function (not on Function.prototype). NOTE: If this file is to be loaded + * during bootstrapping this function needs to be rewritten using some native + * functions as prototype setup using normal JavaScript does not work as + * expected during bootstrapping (see mirror.js in r114903). + * + * @param {function} ctor Constructor function which needs to inherit the + * prototype. + * @param {function} superCtor Constructor function to inherit prototype from. + */ +exports.inherits = require('inherits'); + +exports._extend = function(origin, add) { + // Don't do anything if add isn't an object + if (!add || !isObject(add)) return origin; + + var keys = Object.keys(add); + var i = keys.length; + while (i--) { + origin[keys[i]] = add[keys[i]]; + } + return origin; +}; + +function hasOwnProperty(obj, prop) { + return Object.prototype.hasOwnProperty.call(obj, prop); +} + +var kCustomPromisifiedSymbol = typeof Symbol !== 'undefined' ? Symbol('util.promisify.custom') : undefined; + +exports.promisify = function promisify(original) { + if (typeof original !== 'function') + throw new TypeError('The "original" argument must be of type Function'); + + if (kCustomPromisifiedSymbol && original[kCustomPromisifiedSymbol]) { + var fn = original[kCustomPromisifiedSymbol]; + if (typeof fn !== 'function') { + throw new TypeError('The "util.promisify.custom" argument must be of type Function'); + } + Object.defineProperty(fn, kCustomPromisifiedSymbol, { + value: fn, enumerable: false, writable: false, configurable: true + }); + return fn; + } + + function fn() { + var promiseResolve, promiseReject; + var promise = new Promise(function (resolve, reject) { + promiseResolve = resolve; + promiseReject = reject; + }); + + var args = []; + for (var i = 0; i < arguments.length; i++) { + args.push(arguments[i]); + } + args.push(function (err, value) { + if (err) { + promiseReject(err); + } else { + promiseResolve(value); + } + }); + + try { + original.apply(this, args); + } catch (err) { + promiseReject(err); + } + + return promise; + } + + Object.setPrototypeOf(fn, Object.getPrototypeOf(original)); + + if (kCustomPromisifiedSymbol) Object.defineProperty(fn, kCustomPromisifiedSymbol, { + value: fn, enumerable: false, writable: false, configurable: true + }); + return Object.defineProperties( + fn, + getOwnPropertyDescriptors(original) + ); +} + +exports.promisify.custom = kCustomPromisifiedSymbol + +function callbackifyOnRejected(reason, cb) { + // `!reason` guard inspired by bluebird (Ref: https://goo.gl/t5IS6M). + // Because `null` is a special error value in callbacks which means "no error + // occurred", we error-wrap so the callback consumer can distinguish between + // "the promise rejected with null" or "the promise fulfilled with undefined". + if (!reason) { + var newReason = new Error('Promise was rejected with a falsy value'); + newReason.reason = reason; + reason = newReason; + } + return cb(reason); +} + +function callbackify(original) { + if (typeof original !== 'function') { + throw new TypeError('The "original" argument must be of type Function'); + } + + // We DO NOT return the promise as it gives the user a false sense that + // the promise is actually somehow related to the callback's execution + // and that the callback throwing will reject the promise. + function callbackified() { + var args = []; + for (var i = 0; i < arguments.length; i++) { + args.push(arguments[i]); + } + + var maybeCb = args.pop(); + if (typeof maybeCb !== 'function') { + throw new TypeError('The last argument must be of type Function'); + } + var self = this; + var cb = function() { + return maybeCb.apply(self, arguments); + }; + // In true node style we process the callback on `nextTick` with all the + // implications (stack, `uncaughtException`, `async_hooks`) + original.apply(this, args) + .then(function(ret) { process.nextTick(cb, null, ret) }, + function(rej) { process.nextTick(callbackifyOnRejected, rej, cb) }); + } + + Object.setPrototypeOf(callbackified, Object.getPrototypeOf(original)); + Object.defineProperties(callbackified, + getOwnPropertyDescriptors(original)); + return callbackified; +} +exports.callbackify = callbackify; diff --git a/packages/next/compiled/webpack/webpack.js b/packages/next/compiled/webpack/webpack.js new file mode 100644 index 0000000000000..c746f7b8ab978 --- /dev/null +++ b/packages/next/compiled/webpack/webpack.js @@ -0,0 +1,26 @@ +exports.__esModule = true + +exports.isWebpack5 = false + +exports.default = undefined + +let initialized = false +let initFns = [] +exports.init = function (useWebpack5) { + if (useWebpack5) { + exports.isWebpack5 = true + Object.assign(exports, require('./bundle5')()) + initialized = true + for (const cb of initFns) cb() + } else { + exports.isWebpack5 = false + Object.assign(exports, require('./bundle4')()) + initialized = true + for (const cb of initFns) cb() + } +} + +exports.onWebpackInit = function (cb) { + if (initialized) cb() + initFns.push(cb) +} diff --git a/packages/next/compiled/webpack/worker.js b/packages/next/compiled/webpack/worker.js new file mode 100644 index 0000000000000..f29508c249b98 --- /dev/null +++ b/packages/next/compiled/webpack/worker.js @@ -0,0 +1,17 @@ +"use strict"; + +var _minify = _interopRequireDefault(require("./minify")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +module.exports = (options, callback) => { + try { + // 'use strict' => this === undefined (Clean Scope) + // Safer for possible security issues, albeit not critical at all here + // eslint-disable-next-line no-new-func, no-param-reassign + options = new Function('exports', 'require', 'module', '__filename', '__dirname', `'use strict'\nreturn ${options}`)(exports, require, module, __filename, __dirname); + callback(null, (0, _minify.default)(options)); + } catch (errors) { + callback(errors); + } +}; \ No newline at end of file diff --git a/packages/next/compiled/webpack/writable.js b/packages/next/compiled/webpack/writable.js new file mode 100644 index 0000000000000..3211a6f80d1ab --- /dev/null +++ b/packages/next/compiled/webpack/writable.js @@ -0,0 +1,8 @@ +var Stream = require("stream") +var Writable = require("./lib/_stream_writable.js") + +if (process.env.READABLE_STREAM === 'disable') { + module.exports = Stream && Stream.Writable || Writable +} else { + module.exports = Writable +} diff --git a/packages/next/package.json b/packages/next/package.json index 580d461fad359..8cc113c820ba8 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -60,6 +60,10 @@ ] }, "dependencies": { + "node-sass": "^4.0.0 || ^5.0.0", + "sass": "^1.3.0", + "fibers": ">= 3.1.0", + "klona": "^2.0.4", "@ampproject/toolbox-optimizer": "2.7.1-alpha.0", "@babel/runtime": "7.12.5", "@hapi/accept": "5.0.1", @@ -77,7 +81,6 @@ "chalk": "2.4.2", "chokidar": "3.4.3", "crypto-browserify": "3.12.0", - "css-loader": "4.3.0", "cssnano-simple": "1.2.1", "etag": "1.8.1", "find-cache-dir": "3.3.1", @@ -96,15 +99,12 @@ "react-is": "16.13.1", "react-refresh": "0.8.3", "resolve-url-loader": "3.1.2", - "sass-loader": "10.0.5", "schema-utils": "2.7.1", "stream-browserify": "3.0.0", - "style-loader": "1.2.1", "styled-jsx": "3.3.2", "use-subscription": "1.5.1", "vm-browserify": "1.1.2", "watchpack": "2.0.0-beta.13", - "webpack": "4.44.1", "webpack-sources": "1.4.3" }, "peerDependencies": { @@ -180,6 +180,7 @@ "conf": "5.0.0", "content-type": "1.0.4", "cookie": "0.4.1", + "css-loader": "4.3.0", "debug": "4.1.1", "devalue": "2.0.1", "escape-string-regexp": "2.0.0", @@ -207,18 +208,22 @@ "postcss-scss": "3.0.4", "recast": "0.18.5", "resolve": "1.11.0", + "sass-loader": "10.0.5", "semver": "7.3.2", "send": "0.17.1", "source-map": "0.6.1", "string-hash": "1.1.3", "strip-ansi": "6.0.0", + "style-loader": "1.2.1", "taskr": "1.1.0", "terser": "5.5.1", "text-table": "0.2.0", "thread-loader": "2.1.3", "typescript": "3.8.3", "unistore": "3.4.1", - "web-vitals": "0.2.4" + "web-vitals": "0.2.4", + "webpack": "4.44.1", + "webpack5": "npm:webpack@5.11.1" }, "engines": { "node": ">=10.13.0" diff --git a/packages/next/server/hot-middleware.ts b/packages/next/server/hot-middleware.ts index e6fbc497476a9..e62c3e65b46c8 100644 --- a/packages/next/server/hot-middleware.ts +++ b/packages/next/server/hot-middleware.ts @@ -21,7 +21,7 @@ // CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, // TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE // SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -import webpack from 'webpack' +import webpack from 'next/dist/compiled/webpack/webpack' import http from 'http' export class WebpackHotMiddleware { diff --git a/packages/next/server/hot-reloader.ts b/packages/next/server/hot-reloader.ts index 70169cecd5e22..30f66e5bf04e2 100644 --- a/packages/next/server/hot-reloader.ts +++ b/packages/next/server/hot-reloader.ts @@ -4,7 +4,7 @@ import { IncomingMessage, ServerResponse } from 'http' import { WebpackHotMiddleware } from './hot-middleware' import { join, relative as relativePath } from 'path' import { UrlObject } from 'url' -import webpack from 'webpack' +import webpack from 'next/dist/compiled/webpack/webpack' import { createEntrypoints, createPagesMapping } from '../build/entries' import { watchCompilers } from '../build/output' import getBaseWebpackConfig from '../build/webpack-config' @@ -308,6 +308,7 @@ export default class HotReloader { pagesDir: this.pagesDir, rewrites: this.rewrites, entrypoints: { ...entrypoints.client, ...additionalClientEntrypoints }, + webpack5: false, }), getBaseWebpackConfig(this.dir, { dev: true, @@ -317,6 +318,7 @@ export default class HotReloader { pagesDir: this.pagesDir, rewrites: this.rewrites, entrypoints: entrypoints.server, + webpack5: false, }), ]) } diff --git a/packages/next/server/on-demand-entry-handler.ts b/packages/next/server/on-demand-entry-handler.ts index d3f3bfdced30b..2cc0f18d29756 100644 --- a/packages/next/server/on-demand-entry-handler.ts +++ b/packages/next/server/on-demand-entry-handler.ts @@ -2,7 +2,9 @@ import { EventEmitter } from 'events' import { IncomingMessage, ServerResponse } from 'http' import { join, posix } from 'path' import { parse } from 'url' -import webpack from 'webpack' +import webpack from 'next/dist/compiled/webpack/webpack' +// eslint-disable-next-line import/no-extraneous-dependencies +import type { compilation, MultiCompiler } from 'webpack' import * as Log from '../build/output/log' import { normalizePagePath, @@ -28,7 +30,7 @@ export let entries: { export default function onDemandEntryHandler( watcher: any, - multiCompiler: webpack.MultiCompiler, + multiCompiler: MultiCompiler, { pagesDir, pageExtensions, @@ -50,7 +52,7 @@ export default function onDemandEntryHandler( for (const compiler of compilers) { compiler.hooks.make.tap( 'NextJsOnDemandEntries', - (_compilation: webpack.compilation.Compilation) => { + (_compilation: compilation.Compilation) => { invalidator.startBuilding() } ) diff --git a/packages/next/taskfile.js b/packages/next/taskfile.js index 0712a9be2211d..8a4de0c115699 100644 --- a/packages/next/taskfile.js +++ b/packages/next/taskfile.js @@ -23,20 +23,25 @@ const externals = { chalk: 'chalk', 'node-fetch': 'node-fetch', + // css-loader + postcss: 'postcss', + + // sass-loader + // (also responsible for these dependencies in package.json) + 'node-sass': 'node-sass', + sass: 'sass', + fibers: 'fibers', + klona: 'klona', + // Webpack indirect and direct dependencies: - webpack: 'webpack', - 'webpack-sources': 'webpack-sources', - 'webpack/lib/node/NodeOutputFileSystem': + // 'webpack-sources': 'webpack-sources', + /*'webpack/lib/node/NodeOutputFileSystem': 'webpack/lib/node/NodeOutputFileSystem', - // dependents: terser-webpack-plugin 'webpack/lib/cache/getLazyHashedEtag': 'webpack/lib/cache/getLazyHashedEtag', - 'webpack/lib/RequestShortener': 'webpack/lib/RequestShortener', + 'webpack/lib/RequestShortener': 'webpack/lib/RequestShortener',*/ + chokidar: 'chokidar', - // dependents: thread-loader - 'loader-runner': 'loader-runner', - // dependents: thread-loader, babel-loader 'loader-utils': 'loader-utils', - // dependents: terser-webpack-plugin 'jest-worker': 'jest-worker', } // eslint-disable-next-line camelcase @@ -149,6 +154,13 @@ export async function ncc_ci_info(task, opts) { .ncc({ packageName: 'ci-info', externals }) .target('compiled/ci-info') } +externals['comment-json'] = 'next/dist/compiled/comment-json' +export async function ncc_comment_json(task, opts) { + await task + .source(opts.src || relative(__dirname, require.resolve('comment-json'))) + .ncc({ packageName: 'comment-json', externals }) + .target('compiled/comment-json') +} // eslint-disable-next-line camelcase externals['compression'] = 'next/dist/compiled/compression' export async function ncc_compression(task, opts) { @@ -424,6 +436,13 @@ export async function ncc_schema_utils(task, opts) { }) .target('compiled/schema-utils') } +externals['semver'] = 'next/dist/compiled/semver' +export async function ncc_semver(task, opts) { + await task + .source(opts.src || relative(__dirname, require.resolve('semver'))) + .ncc({ packageName: 'semver', externals }) + .target('compiled/semver') +} // eslint-disable-next-line camelcase externals['send'] = 'next/dist/compiled/send' export async function ncc_send(task, opts) { @@ -499,20 +518,46 @@ export async function ncc_web_vitals(task, opts) { .target('compiled/web-vitals') } -externals['comment-json'] = 'next/dist/compiled/comment-json' -export async function ncc_comment_json(task, opts) { +// eslint-disable-next-line camelcase +export async function ncc_webpack_bundle4(task, opts) { + const bundleExternals = { ...externals } + for (const pkg of Object.keys(babelBundlePackages)) + delete bundleExternals[pkg] await task - .source(opts.src || relative(__dirname, require.resolve('comment-json'))) - .ncc({ packageName: 'comment-json', externals }) - .target('compiled/comment-json') + .source(opts.src || 'bundles/webpack/bundle4.js') + .ncc({ + packageName: 'webpack', + bundleName: 'webpack', + externals: bundleExternals, + }) + .target('compiled/webpack') } -externals['semver'] = 'next/dist/compiled/semver' -export async function ncc_semver(task, opts) { +// eslint-disable-next-line camelcase +export async function ncc_webpack_bundle5(task, opts) { + const bundleExternals = { ...externals } + for (const pkg of Object.keys(webpackBundlePackages)) + delete bundleExternals[pkg] await task - .source(opts.src || relative(__dirname, require.resolve('semver'))) - .ncc({ packageName: 'semver', externals }) - .target('compiled/semver') + .source(opts.src || 'bundles/webpack/bundle5.js') + .ncc({ + packageName: 'webpack5', + bundleName: 'webpack', + externals: bundleExternals, + }) + .target('compiled/webpack') +} + +const webpackBundlePackages = { + webpack: 'next/dist/compiled/webpack/webpack', +} + +Object.assign(externals, webpackBundlePackages) + +export async function ncc_webpack_bundle_packages(task, opts) { + await task + .source(opts.src || 'bundles/webpack/packages/*') + .target('compiled/webpack/') } externals['path-to-regexp'] = 'next/dist/compiled/path-to-regexp' @@ -546,6 +591,7 @@ export async function ncc(task) { 'ncc_cacache', 'ncc_cache_loader', 'ncc_ci_info', + 'ncc_comment_json', 'ncc_compression', 'ncc_conf', 'ncc_content_type', @@ -578,6 +624,7 @@ export async function ncc(task) { 'ncc_recast', 'ncc_resolve', 'ncc_schema_utils', + 'ncc_semver', 'ncc_send', 'ncc_source_map', 'ncc_string_hash', @@ -587,8 +634,9 @@ export async function ncc(task) { 'ncc_thread_loader', 'ncc_unistore', 'ncc_web_vitals', - 'ncc_comment_json', - 'ncc_semver', + 'ncc_webpack_bundle4', + 'ncc_webpack_bundle5', + 'ncc_webpack_bundle_packages', ]) } diff --git a/packages/next/types/misc.d.ts b/packages/next/types/misc.d.ts index aa1832b69dadf..5bdb014d1a20e 100644 --- a/packages/next/types/misc.d.ts +++ b/packages/next/types/misc.d.ts @@ -8,9 +8,7 @@ declare module 'cssnano-simple' { export = cssnanoSimple } declare module 'styled-jsx/server' -declare module 'webpack/lib/GraphHelpers' -declare module 'webpack/lib/DynamicEntryPlugin' -declare module 'webpack/lib/Entrypoint' +declare module 'unfetch' declare module 'next/dist/compiled/amphtml-validator' { import m from 'amphtml-validator' diff --git a/packages/next/types/webpack.d.ts b/packages/next/types/webpack.d.ts index eac5cc0ffbb5d..1097bea27338f 100644 --- a/packages/next/types/webpack.d.ts +++ b/packages/next/types/webpack.d.ts @@ -26,6 +26,16 @@ declare module 'mini-css-extract-plugin' declare module 'loader-utils' +declare module 'next/dist/compiled/webpack/webpack' { + import webpack from 'webpack' + export let isWebpack5: boolean + export function init(useWebpack5: boolean): void + export let BasicEvaluatedExpression: any + export let GraphHelpers: any + export function onWebpackInit(cb: () => void): void + export default webpack +} + declare module 'webpack' { import { RawSourceMap } from 'source-map' import { ConcatSource } from 'webpack-sources' diff --git a/yarn.lock b/yarn.lock index 75aca1fbdc1a4..5fa4b60b7827f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2714,11 +2714,27 @@ dependencies: dotenv "*" +"@types/eslint-scope@^3.7.0": + version "3.7.0" + resolved "https://registry.yarnpkg.com/@types/eslint-scope/-/eslint-scope-3.7.0.tgz#4792816e31119ebd506902a482caec4951fabd86" + integrity sha512-O/ql2+rrCUe2W2rs7wMR+GqPRcgB6UiqN5RhrR5xruFlY7l9YLMn0ZkDzjoHLeiFkR8MCQZVudUuuvQ2BLC9Qw== + dependencies: + "@types/eslint" "*" + "@types/estree" "*" + "@types/eslint-visitor-keys@^1.0.0": version "1.0.0" resolved "https://registry.yarnpkg.com/@types/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#1ee30d79544ca84d68d4b3cdb0af4f205663dd2d" -"@types/estree@*": +"@types/eslint@*": + version "7.2.6" + resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-7.2.6.tgz#5e9aff555a975596c03a98b59ecd103decc70c3c" + integrity sha512-I+1sYH+NPQ3/tVqCeUSBwTE/0heyvtXqpIopUUArlBm0Kpocb8FbMa3AZ/ASKIFpN3rnEx932TTXDbt9OXsNDw== + dependencies: + "@types/estree" "*" + "@types/json-schema" "*" + +"@types/estree@*", "@types/estree@^0.0.45": version "0.0.45" resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.45.tgz#e9387572998e5ecdac221950dab3e8c3b16af884" integrity sha512-jnqIUKDUqJbDIUxm0Uj7bnlMnRm1T/eZ9N+AVMqhPgzrba2GhGG5o/jCTwmdPK709nEZsGoMzXEDUjcXHa3W0g== @@ -2815,7 +2831,7 @@ dependencies: "@types/jest-diff" "*" -"@types/json-schema@^7.0.3", "@types/json-schema@^7.0.5", "@types/json-schema@^7.0.6": +"@types/json-schema@*", "@types/json-schema@^7.0.3", "@types/json-schema@^7.0.5", "@types/json-schema@^7.0.6": version "7.0.6" resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.6.tgz#f4c7ec43e81b319a9815115031709f26987891f0" integrity sha512-3c+yGKvVP5Y9TYBEibGNR+kLtijnj7mYrXRg+WpFb2X9xm04g/DXYkfg4hmzJQosc9snFNUPkbYIhu+KAm6jJw== @@ -3152,38 +3168,86 @@ "@webassemblyjs/helper-wasm-bytecode" "1.9.0" "@webassemblyjs/wast-parser" "1.9.0" +"@webassemblyjs/ast@1.9.1": + version "1.9.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.9.1.tgz#76c6937716d68bf1484c15139f5ed30b9abc8bb4" + integrity sha512-uMu1nCWn2Wxyy126LlGqRVlhdTOsO/bsBRI4dNq3+6SiSuRKRQX6ejjKgh82LoGAPSq72lDUiQ4FWVaf0PecYw== + dependencies: + "@webassemblyjs/helper-module-context" "1.9.1" + "@webassemblyjs/helper-wasm-bytecode" "1.9.1" + "@webassemblyjs/wast-parser" "1.9.1" + "@webassemblyjs/floating-point-hex-parser@1.9.0": version "1.9.0" resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.9.0.tgz#3c3d3b271bddfc84deb00f71344438311d52ffb4" +"@webassemblyjs/floating-point-hex-parser@1.9.1": + version "1.9.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.9.1.tgz#9eb0ff90a1cdeef51f36ba533ed9f06b5cdadd09" + integrity sha512-5VEKu024RySmLKTTBl9q1eO/2K5jk9ZS+2HXDBLA9s9p5IjkaXxWiDb/+b7wSQp6FRdLaH1IVGIfOex58Na2pg== + "@webassemblyjs/helper-api-error@1.9.0": version "1.9.0" resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.9.0.tgz#203f676e333b96c9da2eeab3ccef33c45928b6a2" +"@webassemblyjs/helper-api-error@1.9.1": + version "1.9.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.9.1.tgz#ad89015c4246cd7f5ed0556700237f8b9c2c752f" + integrity sha512-y1lGmfm38djrScwpeL37rRR9f1D6sM8RhMpvM7CYLzOlHVboouZokXK/G88BpzW0NQBSvCCOnW5BFhten4FPfA== + "@webassemblyjs/helper-buffer@1.9.0": version "1.9.0" resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.9.0.tgz#a1442d269c5feb23fcbc9ef759dac3547f29de00" +"@webassemblyjs/helper-buffer@1.9.1": + version "1.9.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.9.1.tgz#186e67ac25f9546ea7939759413987f157524133" + integrity sha512-uS6VSgieHbk/m4GSkMU5cqe/5TekdCzQso4revCIEQ3vpGZgqSSExi4jWpTWwDpAHOIAb1Jfrs0gUB9AA4n71w== + "@webassemblyjs/helper-code-frame@1.9.0": version "1.9.0" resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.9.0.tgz#647f8892cd2043a82ac0c8c5e75c36f1d9159f27" dependencies: "@webassemblyjs/wast-printer" "1.9.0" +"@webassemblyjs/helper-code-frame@1.9.1": + version "1.9.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.9.1.tgz#aab177b7cc87a318a8f8664ad68e2c3828ebc42b" + integrity sha512-ZQ2ZT6Evk4DPIfD+92AraGYaFIqGm4U20e7FpXwl7WUo2Pn1mZ1v8VGH8i+Y++IQpxPbQo/UyG0Khs7eInskzA== + dependencies: + "@webassemblyjs/wast-printer" "1.9.1" + "@webassemblyjs/helper-fsm@1.9.0": version "1.9.0" resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-fsm/-/helper-fsm-1.9.0.tgz#c05256b71244214671f4b08ec108ad63b70eddb8" +"@webassemblyjs/helper-fsm@1.9.1": + version "1.9.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-fsm/-/helper-fsm-1.9.1.tgz#527e91628e84d13d3573884b3dc4c53a81dcb911" + integrity sha512-J32HGpveEqqcKFS0YbgicB0zAlpfIxJa5MjxDxhu3i5ltPcVfY5EPvKQ1suRguFPehxiUs+/hfkwPEXom/l0lw== + "@webassemblyjs/helper-module-context@1.9.0": version "1.9.0" resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-module-context/-/helper-module-context-1.9.0.tgz#25d8884b76839871a08a6c6f806c3979ef712f07" dependencies: "@webassemblyjs/ast" "1.9.0" +"@webassemblyjs/helper-module-context@1.9.1": + version "1.9.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-module-context/-/helper-module-context-1.9.1.tgz#778670b3d471f7cf093d1e7c0dde431b54310e16" + integrity sha512-IEH2cMmEQKt7fqelLWB5e/cMdZXf2rST1JIrzWmf4XBt3QTxGdnnLvV4DYoN8pJjOx0VYXsWg+yF16MmJtolZg== + dependencies: + "@webassemblyjs/ast" "1.9.1" + "@webassemblyjs/helper-wasm-bytecode@1.9.0": version "1.9.0" resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.9.0.tgz#4fed8beac9b8c14f8c58b70d124d549dd1fe5790" +"@webassemblyjs/helper-wasm-bytecode@1.9.1": + version "1.9.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.9.1.tgz#563f59bcf409ccf469edde168b9426961ffbf6df" + integrity sha512-i2rGTBqFUcSXxyjt2K4vm/3kkHwyzG6o427iCjcIKjOqpWH8SEem+xe82jUk1iydJO250/CvE5o7hzNAMZf0dQ== + "@webassemblyjs/helper-wasm-section@1.9.0": version "1.9.0" resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.9.0.tgz#5a4138d5a6292ba18b04c5ae49717e4167965346" @@ -3193,22 +3257,51 @@ "@webassemblyjs/helper-wasm-bytecode" "1.9.0" "@webassemblyjs/wasm-gen" "1.9.0" +"@webassemblyjs/helper-wasm-section@1.9.1": + version "1.9.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.9.1.tgz#f7988f94c12b01b99a16120cb01dc099b00e4798" + integrity sha512-FetqzjtXZr2d57IECK+aId3D0IcGweeM0CbAnJHkYJkcRTHP+YcMb7Wmc0j21h5UWBpwYGb9dSkK/93SRCTrGg== + dependencies: + "@webassemblyjs/ast" "1.9.1" + "@webassemblyjs/helper-buffer" "1.9.1" + "@webassemblyjs/helper-wasm-bytecode" "1.9.1" + "@webassemblyjs/wasm-gen" "1.9.1" + "@webassemblyjs/ieee754@1.9.0": version "1.9.0" resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.9.0.tgz#15c7a0fbaae83fb26143bbacf6d6df1702ad39e4" dependencies: "@xtuc/ieee754" "^1.2.0" +"@webassemblyjs/ieee754@1.9.1": + version "1.9.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.9.1.tgz#3b715871ca7d75784717cf9ceca9d7b81374b8af" + integrity sha512-EvTG9M78zP1MmkBpUjGQHZc26DzPGZSLIPxYHCjQsBMo60Qy2W34qf8z0exRDtxBbRIoiKa5dFyWer/7r1aaSQ== + dependencies: + "@xtuc/ieee754" "^1.2.0" + "@webassemblyjs/leb128@1.9.0": version "1.9.0" resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.9.0.tgz#f19ca0b76a6dc55623a09cffa769e838fa1e1c95" dependencies: "@xtuc/long" "4.2.2" +"@webassemblyjs/leb128@1.9.1": + version "1.9.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.9.1.tgz#b2ecaa39f9e8277cc9c707c1ca8b2aa7b27d0b72" + integrity sha512-Oc04ub0vFfLnF+2/+ki3AE+anmW4sv9uNBqb+79fgTaPv6xJsOT0dhphNfL3FrME84CbX/D1T9XT8tjFo0IIiw== + dependencies: + "@xtuc/long" "4.2.2" + "@webassemblyjs/utf8@1.9.0": version "1.9.0" resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.9.0.tgz#04d33b636f78e6a6813227e82402f7637b6229ab" +"@webassemblyjs/utf8@1.9.1": + version "1.9.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.9.1.tgz#d02d9daab85cda3211e43caf31dca74c260a73b0" + integrity sha512-llkYtppagjCodFjo0alWOUhAkfOiQPQDIc5oA6C9sFAXz7vC9QhZf/f8ijQIX+A9ToM3c9Pq85X0EX7nx9gVhg== + "@webassemblyjs/wasm-edit@1.9.0": version "1.9.0" resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.9.0.tgz#3fe6d79d3f0f922183aa86002c42dd256cfee9cf" @@ -3222,6 +3315,20 @@ "@webassemblyjs/wasm-parser" "1.9.0" "@webassemblyjs/wast-printer" "1.9.0" +"@webassemblyjs/wasm-edit@1.9.1": + version "1.9.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.9.1.tgz#e27a6bdbf78e5c72fa812a2fc3cbaad7c3e37578" + integrity sha512-S2IaD6+x9B2Xi8BCT0eGsrXXd8UxAh2LVJpg1ZMtHXnrDcsTtIX2bDjHi40Hio6Lc62dWHmKdvksI+MClCYbbw== + dependencies: + "@webassemblyjs/ast" "1.9.1" + "@webassemblyjs/helper-buffer" "1.9.1" + "@webassemblyjs/helper-wasm-bytecode" "1.9.1" + "@webassemblyjs/helper-wasm-section" "1.9.1" + "@webassemblyjs/wasm-gen" "1.9.1" + "@webassemblyjs/wasm-opt" "1.9.1" + "@webassemblyjs/wasm-parser" "1.9.1" + "@webassemblyjs/wast-printer" "1.9.1" + "@webassemblyjs/wasm-gen@1.9.0": version "1.9.0" resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.9.0.tgz#50bc70ec68ded8e2763b01a1418bf43491a7a49c" @@ -3232,6 +3339,17 @@ "@webassemblyjs/leb128" "1.9.0" "@webassemblyjs/utf8" "1.9.0" +"@webassemblyjs/wasm-gen@1.9.1": + version "1.9.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.9.1.tgz#56a0787d1fa7994fdc7bea59004e5bec7189c5fc" + integrity sha512-bqWI0S4lBQsEN5FTZ35vYzfKUJvtjNnBobB1agCALH30xNk1LToZ7Z8eiaR/Z5iVECTlBndoRQV3F6mbEqE/fg== + dependencies: + "@webassemblyjs/ast" "1.9.1" + "@webassemblyjs/helper-wasm-bytecode" "1.9.1" + "@webassemblyjs/ieee754" "1.9.1" + "@webassemblyjs/leb128" "1.9.1" + "@webassemblyjs/utf8" "1.9.1" + "@webassemblyjs/wasm-opt@1.9.0": version "1.9.0" resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.9.0.tgz#2211181e5b31326443cc8112eb9f0b9028721a61" @@ -3241,6 +3359,16 @@ "@webassemblyjs/wasm-gen" "1.9.0" "@webassemblyjs/wasm-parser" "1.9.0" +"@webassemblyjs/wasm-opt@1.9.1": + version "1.9.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.9.1.tgz#fbdf8943a825e6dcc4cd69c3e092289fa4aec96c" + integrity sha512-gSf7I7YWVXZ5c6XqTEqkZjVs8K1kc1k57vsB6KBQscSagDNbAdxt6MwuJoMjsE1yWY1tsuL+pga268A6u+Fdkg== + dependencies: + "@webassemblyjs/ast" "1.9.1" + "@webassemblyjs/helper-buffer" "1.9.1" + "@webassemblyjs/wasm-gen" "1.9.1" + "@webassemblyjs/wasm-parser" "1.9.1" + "@webassemblyjs/wasm-parser@1.9.0": version "1.9.0" resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.9.0.tgz#9d48e44826df4a6598294aa6c87469d642fff65e" @@ -3252,6 +3380,18 @@ "@webassemblyjs/leb128" "1.9.0" "@webassemblyjs/utf8" "1.9.0" +"@webassemblyjs/wasm-parser@1.9.1": + version "1.9.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.9.1.tgz#5e8352a246d3f605312c8e414f7990de55aaedfa" + integrity sha512-ImM4N2T1MEIond0MyE3rXvStVxEmivQrDKf/ggfh5pP6EHu3lL/YTAoSrR7shrbKNPpeKpGesW1LIK/L4kqduw== + dependencies: + "@webassemblyjs/ast" "1.9.1" + "@webassemblyjs/helper-api-error" "1.9.1" + "@webassemblyjs/helper-wasm-bytecode" "1.9.1" + "@webassemblyjs/ieee754" "1.9.1" + "@webassemblyjs/leb128" "1.9.1" + "@webassemblyjs/utf8" "1.9.1" + "@webassemblyjs/wast-parser@1.9.0": version "1.9.0" resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-parser/-/wast-parser-1.9.0.tgz#3031115d79ac5bd261556cecc3fa90a3ef451914" @@ -3263,6 +3403,18 @@ "@webassemblyjs/helper-fsm" "1.9.0" "@xtuc/long" "4.2.2" +"@webassemblyjs/wast-parser@1.9.1": + version "1.9.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-parser/-/wast-parser-1.9.1.tgz#e25ef13585c060073c1db0d6bd94340fdeee7596" + integrity sha512-2xVxejXSvj3ls/o2TR/zI6p28qsGupjHhnHL6URULQRcXmryn3w7G83jQMcT7PHqUfyle65fZtWLukfdLdE7qw== + dependencies: + "@webassemblyjs/ast" "1.9.1" + "@webassemblyjs/floating-point-hex-parser" "1.9.1" + "@webassemblyjs/helper-api-error" "1.9.1" + "@webassemblyjs/helper-code-frame" "1.9.1" + "@webassemblyjs/helper-fsm" "1.9.1" + "@xtuc/long" "4.2.2" + "@webassemblyjs/wast-printer@1.9.0": version "1.9.0" resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.9.0.tgz#4935d54c85fef637b00ce9f52377451d00d47899" @@ -3271,6 +3423,15 @@ "@webassemblyjs/wast-parser" "1.9.0" "@xtuc/long" "4.2.2" +"@webassemblyjs/wast-printer@1.9.1": + version "1.9.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.9.1.tgz#b9f38e93652037d4f3f9c91584635af4191ed7c1" + integrity sha512-tDV8V15wm7mmbAH6XvQRU1X+oPGmeOzYsd6h7hlRLz6QpV4Ec/KKxM8OpLtFmQPLCreGxTp+HuxtH4pRIZyL9w== + dependencies: + "@webassemblyjs/ast" "1.9.1" + "@webassemblyjs/wast-parser" "1.9.1" + "@xtuc/long" "4.2.2" + "@xtuc/ieee754@^1.2.0": version "1.2.0" resolved "https://registry.yarnpkg.com/@xtuc/ieee754/-/ieee754-1.2.0.tgz#eef014a3145ae477a1cbc00cd1e552336dceb790" @@ -4640,7 +4801,7 @@ child-process-promise@^2.1.3: node-version "^1.0.0" promise-polyfill "^6.0.1" -chokidar@3.4.3, chokidar@^3.4.1: +chokidar@3.4.3, "chokidar@>=2.0.0 <4.0.0", chokidar@^3.4.1: version "3.4.3" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.4.3.tgz#c1df38231448e45ca4ac588e6c79573ba6a57d5b" integrity sha512-DtM3g7juCXQxFVSNPNByEC2+NImtBuxQQvWlHunpJIS5Ocr0lG306cC7FCi7cEA0fzmybPUIl4txBIobk1gGOQ== @@ -6235,6 +6396,14 @@ enhanced-resolve@^4.3.0: memory-fs "^0.5.0" tapable "^1.0.0" +enhanced-resolve@^5.3.1: + version "5.4.1" + resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.4.1.tgz#c89b0c34f17f931902ef2913a125d4b825b49b6f" + integrity sha512-4GbyIMzYktTFoRSmkbgZ1LU+RXwf4AQ8Z+rSuuh1dC8plp0PPeaWvx6+G4hh4KnUJ48VoxKbNyA1QQQIUpXjYA== + dependencies: + graceful-fs "^4.2.4" + tapable "^2.2.0" + entities@^1.1.1, entities@~1.1.1: version "1.1.2" resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.2.tgz#bdfa735299664dfafd34529ed4f8522a275fea56" @@ -6429,6 +6598,14 @@ eslint-scope@^5.0.0: esrecurse "^4.1.0" estraverse "^4.1.1" +eslint-scope@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c" + integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== + dependencies: + esrecurse "^4.3.0" + estraverse "^4.1.1" + eslint-utils@^1.4.3: version "1.4.3" resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-1.4.3.tgz#74fec7c54d0776b6f67e0251040b5806564e981f" @@ -6511,10 +6688,22 @@ esrecurse@^4.1.0: dependencies: estraverse "^4.1.0" +esrecurse@^4.3.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921" + integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag== + dependencies: + estraverse "^5.2.0" + estraverse@^4.0.0, estraverse@^4.1.0, estraverse@^4.1.1, estraverse@^4.2.0: version "4.3.0" resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" +estraverse@^5.2.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.2.0.tgz#307df42547e6cc7324d3cf03c155d5cdb8c53880" + integrity sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ== + estree-walker@^0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.6.1.tgz#53049143f40c6eb918b23671d1fe3219f3a1b362" @@ -6566,6 +6755,11 @@ events@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/events/-/events-3.0.0.tgz#9a0a0dfaf62893d92b875b8f2698ca4114973e88" +events@^3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/events/-/events-3.2.0.tgz#93b87c18f8efcd4202a461aec4dfc0556b639379" + integrity sha512-/46HWwbfCX2xTawVfkKLGxMifJYQBWMwY1mjywRtb4c9x8l5NP3KoJtnIOiL1hfdRkIuYhETxQlo62IF8tcnlg== + evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz#7fcbdb198dc71959432efe13842684e0525acb02" @@ -6882,6 +7076,13 @@ fd-slicer@~1.1.0: dependencies: pend "~1.2.0" +"fibers@>= 3.1.0": + version "5.0.0" + resolved "https://registry.yarnpkg.com/fibers/-/fibers-5.0.0.tgz#3a60e0695b3ee5f6db94e62726716fa7a59acc41" + integrity sha512-UpGv/YAZp7mhKHxDvC1tColrroGRX90sSvh8RMZV9leo+e5+EkRVgCEZPlmXeo3BUNQTZxUaVdLskq1Q2FyCPg== + dependencies: + detect-libc "^1.0.3" + figgy-pudding@^3.4.1, figgy-pudding@^3.5.1: version "3.5.1" resolved "https://registry.yarnpkg.com/figgy-pudding/-/figgy-pudding-3.5.1.tgz#862470112901c727a0e495a80744bd5baa1d6790" @@ -7027,6 +7228,14 @@ find-up@^3.0.0: dependencies: locate-path "^3.0.0" +find-up@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" + integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== + dependencies: + locate-path "^6.0.0" + path-exists "^4.0.0" + firebase@7.14.5: version "7.14.5" resolved "https://registry.yarnpkg.com/firebase/-/firebase-7.14.5.tgz#cf1be9c7f0603c6c2f45f65c7d817f6b22114a4b" @@ -9332,7 +9541,7 @@ jest-worker@24.9.0, jest-worker@^24.6.0, jest-worker@^24.9.0: merge-stream "^2.0.0" supports-color "^6.1.0" -jest-worker@^26.0.0, jest-worker@^26.2.1: +jest-worker@^26.0.0, jest-worker@^26.2.1, jest-worker@^26.6.1: version "26.6.2" resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-26.6.2.tgz#7f72cbc4d643c365e27b9fd775f9d0eaa9c7a8ed" integrity sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ== @@ -9831,6 +10040,11 @@ loader-runner@^2.3.1, loader-runner@^2.4.0: version "2.4.0" resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.4.0.tgz#ed47066bfe534d7e84c4c7b9998c2a75607d9357" +loader-runner@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-4.1.0.tgz#f70bc0c29edbabdf2043e7ee73ccc3fe1c96b42d" + integrity sha512-oR4lB4WvwFoC70ocraKhn5nkKSs23t57h9udUgw8o0iH8hMXeEoRuUgfcvgUwAJ1ZpRqBvcou4N2SMvM1DwMrA== + loader-utils@1.2.3: version "1.2.3" resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.2.3.tgz#1ff5dc6911c9f0a062531a4c04b609406108c2c7" @@ -9875,6 +10089,13 @@ locate-path@^5.0.0: dependencies: p-locate "^4.1.0" +locate-path@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286" + integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw== + dependencies: + p-locate "^5.0.0" + lodash._reinterpolate@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d" @@ -10492,12 +10713,24 @@ mime-db@1.43.0, "mime-db@>= 1.43.0 < 2": version "1.43.0" resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.43.0.tgz#0a12e0502650e473d735535050e7c8f4eb4fae58" +mime-db@1.44.0: + version "1.44.0" + resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.44.0.tgz#fa11c5eb0aca1334b4233cb4d52f10c5a6272f92" + integrity sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg== + mime-types@^2.1.12, mime-types@~2.1.19, mime-types@~2.1.24: version "2.1.26" resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.26.tgz#9c921fc09b7e149a65dfdc0da4d20997200b0a06" dependencies: mime-db "1.43.0" +mime-types@^2.1.27: + version "2.1.27" + resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.27.tgz#47949f98e279ea53119f5722e0f34e529bec009f" + integrity sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w== + dependencies: + mime-db "1.44.0" + mime@1.6.0, mime@^1.4.1: version "1.6.0" resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" @@ -10954,7 +11187,7 @@ node-releases@^1.1.66: resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.66.tgz#609bd0dc069381015cd982300bae51ab4f1b1814" integrity sha512-JHEQ1iWPGK+38VLB2H9ef2otU4l8s3yAMt9Xf934r6+ojCYDMHPMqvCc9TnzfeFSP1QEOeU6YZEd3+De0LTCgg== -node-sass@5.0.0: +node-sass@5.0.0, "node-sass@^4.0.0 || ^5.0.0": version "5.0.0" resolved "https://registry.yarnpkg.com/node-sass/-/node-sass-5.0.0.tgz#4e8f39fbef3bac8d2dc72ebe3b539711883a78d2" integrity sha512-opNgmlu83ZCF792U281Ry7tak9IbVC+AKnXGovcQ8LG8wFaJv6cLnRlc6DIHlmNxWEexB5bZxi9SZ9JyUuOYjw== @@ -11441,7 +11674,7 @@ p-is-promise@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/p-is-promise/-/p-is-promise-2.1.0.tgz#918cebaea248a62cf7ffab8e3bca8c5f882fc42e" -p-limit@3.1.0: +p-limit@3.1.0, p-limit@^3.0.2: version "3.1.0" resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== @@ -11478,6 +11711,13 @@ p-locate@^4.1.0: dependencies: p-limit "^2.2.0" +p-locate@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-5.0.0.tgz#83c8315c6785005e3bd021839411c9e110e6d834" + integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw== + dependencies: + p-limit "^3.0.2" + p-map-series@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/p-map-series/-/p-map-series-1.0.0.tgz#bf98fe575705658a9e1351befb85ae4c1f07bdca" @@ -11925,6 +12165,13 @@ pkg-dir@^4.1.0: dependencies: find-up "^4.0.0" +pkg-dir@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-5.0.0.tgz#a02d6aebe6ba133a928f74aec20bafdfe6b8e760" + integrity sha512-NPE8TDbzl/3YQYY7CSS228s3g2ollTFnc+Qi3tqmqJp9Vg2ovUpixcJEo2HJScN2Ez+kEaal6y70c0ehqJBJeA== + dependencies: + find-up "^5.0.0" + pkg-up@^3.0.1: version "3.1.0" resolved "https://registry.yarnpkg.com/pkg-up/-/pkg-up-3.1.0.tgz#100ec235cc150e4fd42519412596a28512a0def5" @@ -13953,6 +14200,13 @@ sass-loader@6.0.6: lodash.tail "^4.1.1" pify "^3.0.0" +sass@^1.3.0: + version "1.30.0" + resolved "https://registry.yarnpkg.com/sass/-/sass-1.30.0.tgz#60bbbbaf76ba10117e61c6c24f00161c3d60610e" + integrity sha512-26EUhOXRLaUY7+mWuRFqGeGGNmhB1vblpTENO1Z7mAzzIZeVxZr9EZoaY1kyGLFWdSOZxRMAufiN2mkbO6dAlw== + dependencies: + chokidar ">=2.0.0 <4.0.0" + sax@^1.2.4, sax@~1.2.4: version "1.2.4" resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" @@ -14119,6 +14373,13 @@ serialize-javascript@^4.0.0: dependencies: randombytes "^2.1.0" +serialize-javascript@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-5.0.1.tgz#7886ec848049a462467a97d3d918ebb2aaf934f4" + integrity sha512-SaaNal9imEO737H2c05Og0/8LUXG7EnsZyMa8MzkmuHoELfT6txuj0cMqRj6zfPKnmQ1yasR4PCJc8x+M4JSPA== + dependencies: + randombytes "^2.1.0" + serve-static@1.14.1: version "1.14.1" resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.14.1.tgz#666e636dc4f010f7ef29970a88a674320898b2f9" @@ -14362,7 +14623,7 @@ sort-keys@^2.0.0: dependencies: is-plain-obj "^1.0.0" -source-list-map@^2.0.0: +source-list-map@^2.0.0, source-list-map@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-2.0.1.tgz#3993bd873bfc48479cca9ea3a547835c7c154b34" @@ -14959,7 +15220,21 @@ tapable@^1.0.0, tapable@^1.1.3: resolved "https://registry.yarnpkg.com/tapable/-/tapable-1.1.3.tgz#a1fccc06b58db61fd7a45da2da44f5f3a3e67ba2" integrity sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA== -tar-fs@^2.0.0, tar-fs@^2.1.1: +tapable@^2.1.1, tapable@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.0.tgz#5c373d281d9c672848213d0e037d1c4165ab426b" + integrity sha512-FBk4IesMV1rBxX2tfiK8RAmogtWn53puLOQlvO8XuwlgxcYbP4mVPS9Ph4aeamSyyVjOl24aYWAuc8U5kCVwMw== + +tar-fs@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-2.0.0.tgz#677700fc0c8b337a78bee3623fdc235f21d7afad" + dependencies: + chownr "^1.1.1" + mkdirp "^0.5.1" + pump "^3.0.0" + tar-stream "^2.0.0" + +tar-fs@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-2.1.1.tgz#489a15ab85f1f0befabb370b7de4f9eb5cbe8784" integrity sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng== @@ -14980,6 +15255,17 @@ tar-stream@2.1.3: inherits "^2.0.3" readable-stream "^3.1.1" +tar-stream@^2.0.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-2.2.0.tgz#acad84c284136b060dc3faa64474aa9aebd77287" + integrity sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ== + dependencies: + bl "^4.0.3" + end-of-stream "^1.4.1" + fs-constants "^1.0.0" + inherits "^2.0.3" + readable-stream "^3.1.1" + tar-stream@^2.1.4: version "2.1.4" resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-2.1.4.tgz#c4fb1a11eb0da29b893a5b25476397ba2d053bfa" @@ -15081,7 +15367,19 @@ terser-webpack-plugin@^1.4.3: webpack-sources "^1.4.0" worker-farm "^1.7.0" -terser@5.5.1, terser@^5.0.0: +terser-webpack-plugin@^5.0.3: + version "5.0.3" + resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-5.0.3.tgz#ec60542db2421f45735c719d2e17dabfbb2e3e42" + integrity sha512-zFdGk8Lh9ZJGPxxPE6jwysOlATWB8GMW8HcfGULWA/nPal+3VdATflQvSBSLQJRCmYZnfFJl6vkRTiwJGNgPiQ== + dependencies: + jest-worker "^26.6.1" + p-limit "^3.0.2" + schema-utils "^3.0.0" + serialize-javascript "^5.0.1" + source-map "^0.6.1" + terser "^5.3.8" + +terser@5.5.1, terser@^5.0.0, terser@^5.3.8: version "5.5.1" resolved "https://registry.yarnpkg.com/terser/-/terser-5.5.1.tgz#540caa25139d6f496fdea056e414284886fb2289" integrity sha512-6VGWZNVP2KTUcltUQJ25TtNjx/XgdDsBDKGt8nN0MpydU36LmbPPcMBd2kmtZNNGVVDLg44k7GKeHHj+4zPIBQ== @@ -15853,6 +16151,14 @@ watchpack@^1.7.4: chokidar "^3.4.1" watchpack-chokidar2 "^2.0.0" +watchpack@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.1.0.tgz#e63194736bf3aa22026f7b191cd57907b0f9f696" + integrity sha512-UjgD1mqjkG99+3lgG36at4wPnUXNvis2v1utwTgQ43C22c4LD71LsYMExdWXh4HZ+RmW+B0t1Vrg2GpXAkTOQw== + dependencies: + glob-to-regexp "^0.4.1" + graceful-fs "^4.1.2" + wcwidth@^1.0.0, wcwidth@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8" @@ -15903,6 +16209,44 @@ webpack-sources@1.4.3, webpack-sources@^1.1.0, webpack-sources@^1.4.0, webpack-s source-list-map "^2.0.0" source-map "~0.6.1" +webpack-sources@^2.1.1: + version "2.2.0" + resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-2.2.0.tgz#058926f39e3d443193b6c31547229806ffd02bac" + integrity sha512-bQsA24JLwcnWGArOKUxYKhX3Mz/nK1Xf6hxullKERyktjNMC4x8koOeaDNTA2fEJ09BdWLbM/iTW0ithREUP0w== + dependencies: + source-list-map "^2.0.1" + source-map "^0.6.1" + +"webpack5@npm:webpack@5.11.1": + version "5.11.1" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.11.1.tgz#39b2b9daeb5c6c620e03b7556ec674eaed4016b4" + integrity sha512-tNUIdAmYJv+nupRs/U/gqmADm6fgrf5xE+rSlSsf2PgsGO7j2WG7ccU6AWNlOJlHFl+HnmXlBmHIkiLf+XA9mQ== + dependencies: + "@types/eslint-scope" "^3.7.0" + "@types/estree" "^0.0.45" + "@webassemblyjs/ast" "1.9.1" + "@webassemblyjs/helper-module-context" "1.9.1" + "@webassemblyjs/wasm-edit" "1.9.1" + "@webassemblyjs/wasm-parser" "1.9.1" + acorn "^8.0.4" + browserslist "^4.14.5" + chrome-trace-event "^1.0.2" + enhanced-resolve "^5.3.1" + eslint-scope "^5.1.1" + events "^3.2.0" + glob-to-regexp "^0.4.1" + graceful-fs "^4.2.4" + json-parse-better-errors "^1.0.2" + loader-runner "^4.1.0" + mime-types "^2.1.27" + neo-async "^2.6.2" + pkg-dir "^5.0.0" + schema-utils "^3.0.0" + tapable "^2.1.1" + terser-webpack-plugin "^5.0.3" + watchpack "^2.0.0" + webpack-sources "^2.1.1" + webpack@4.44.1: version "4.44.1" resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.44.1.tgz#17e69fff9f321b8f117d1fda714edfc0b939cc21"